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

905 lines
4.0 MiB

This file contains invisible Unicode characters!

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

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

(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("6MrE"),m=n.n(S)},"+QRC":function(M,N,n){"use strict";var v=n("E9nw"),p={"text/plain":"Text","text/html":"Url",default:"Text"},S="Copy to clipboard: #{key}, Enter";function m(f){var d=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return f.replace(/#{\s*key\s*}/g,d)}function g(f,d){var c,o,i,t,a,e,l=!1;d||(d={}),c=d.debug||!1;try{i=v(),t=document.createRange(),a=document.getSelection(),e=document.createElement("span"),e.textContent=f,e.ariaHidden="true",e.style.all="unset",e.style.position="fixed",e.style.top=0,e.style.clip="rect(0, 0, 0, 0)",e.style.whiteSpace="pre",e.style.webkitUserSelect="text",e.style.MozUserSelect="text",e.style.msUserSelect="text",e.style.userSelect="text",e.addEventListener("copy",function(s){if(s.stopPropagation(),d.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=p[d.format]||p.default;window.clipboardData.setData(u,f)}else s.clipboardData.clearData(),s.clipboardData.setData(d.format,f);d.onCopy&&(s.preventDefault(),d.onCopy(s.clipboardData))}),document.body.appendChild(e),t.selectNodeContents(e),a.addRange(t);var r=document.execCommand("copy");if(!r)throw new Error("copy command was unsuccessful");l=!0}catch(s){c&&console.error("unable to copy using execCommand: ",s),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(d.format||"text",f),d.onCopy&&d.onCopy(window.clipboardData),l=!0}catch(u){c&&console.error("unable to copy using clipboardData: ",u),c&&console.error("falling back to prompt"),o=m("message"in d?d.message:S),window.prompt(o,f)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(t):a.removeAllRanges()),e&&document.body.removeChild(e),i()}return l}M.exports=g},"+TT/":function(M,N,n){var v=n("bYtY"),p=n("mFDi"),S=n("OELB"),m=S.parsePercent,g=n("7aKB"),f=v.each,d=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function o(y,w,b,x,O){var T=0,E=0;x==null&&(x=Infinity),O==null&&(O=Infinity);var C=0;w.eachChild(function(_,L){var P=_.position,k=_.getBoundingRect(),F=w.childAt(L+1),j=F&&F.getBoundingRect(),z,R;if(y==="horizontal"){var U=k.width+(j?-j.x+k.x:0);z=T+U,z>x||_.newline?(T=0,z=U,E+=C+b,C=k.height):C=Math.max(C,k.height)}else{var B=k.height+(j?-j.y+k.y:0);R=E+B,R>O||_.newline?(T+=C+b,E=0,R=B,C=k.width):C=Math.max(C,k.width)}if(_.newline)return;P[0]=T,P[1]=E,y==="horizontal"?T=z+b:E=R+b})}var i=o,t=v.curry(o,"vertical"),a=v.curry(o,"horizontal");function e(y,w,b){var x=w.width,O=w.height,T=m(y.x,x),E=m(y.y,O),C=m(y.x2,x),_=m(y.y2,O);return(isNaN(T)||isNaN(parseFloat(y.x)))&&(T=0),(isNaN(C)||isNaN(parseFloat(y.x2)))&&(C=x),(isNaN(E)||isNaN(parseFloat(y.y)))&&(E=0),(isNaN(_)||isNaN(parseFloat(y.y2)))&&(_=O),b=g.normalizeCssArray(b||0),{width:Math.max(C-T-b[1]-b[3],0),height:Math.max(_-E-b[0]-b[2],0)}}function l(y,w,b){b=g.normalizeCssArray(b||0);var x=w.width,O=w.height,T=m(y.left,x),E=m(y.top,O),C=m(y.right,x),_=m(y.bottom,O),L=m(y.width,x),P=m(y.height,O),k=b[2]+b[0],F=b[1]+b[3],j=y.aspect;isNaN(L)&&(L=x-C-F-T),isNaN(P)&&(P=O-_-k-E),j!=null&&(isNaN(L)&&isNaN(P)&&(j>x/O?L=x*.8:P=O*.8),isNaN(L)&&(L=j*P),isNaN(P)&&(P=L/j)),isNaN(T)&&(T=x-C-L-F),isNaN(E)&&(E=O-_-P-k);switch(y.left||y.right){case"center":T=x/2-L/2-b[3];break;case"right":T=x-L-F;break}switch(y.top||y.bottom){case"middle":case"center":E=O/2-P/2-b[0];break;case"bottom":E=O-P-k;break}T=T||0,E=E||0,isNaN(L)&&(L=x-F-T-(C||0)),isNaN(P)&&(P=O-k-E-(_||0));var z=new p(T+b[3],E+b[0],L,P);return z.margin=b,z}function r(y,w,b,x,O){var T=!O||!O.hv||O.hv[0],E=!O||!O.hv||O.hv[1],C=O&&O.boundingMode||"all";if(!T&&!E)return;var _;if(C==="raw")_=y.type==="group"?new p(0,0,+w.width||0,+w.height||0):y.getBoundingRect();else if(_=y.getBoundingRect(),y.needLocalTransform()){var L=y.getLocalTransform();_=_.clone(),_.applyTransform(L)}w=l(v.defaults({width:_.width,height:_.height},w),b,x);var P=y.position,k=T?w.x-_.x:0,F=E?w.y-_.y:0;y.attr("position",C==="raw"?[k,F]:[P[0]+k,P[1]+F])}function s(y,w){return y[c[w][0]]!=null||y[c[w][1]]!=null&&y[c[w][2]]!=null}function u(y,w,b){!v.isObject(b)&&(b={});var x=b.ignoreSize;!v.isArray(x)&&(x=[x,x]);var O=E(c[0],0),T=E(c[1],1);L(c[0],y,O),L(c[1],y,T);function E(P,k){var F={},j=0,z={},R=0,U=2;if(f(P,function(K){z[K]=y[K]}),f(P,function(K){C(w,K)&&(F[K]=z[K]=w[K]),_(F,K)&&j++,_(z,K)&&R++}),x[k])return _(w,P[1])?z[P[2]]=null:_(w,P[2])&&(z[P[1]]=null),z;if(R===U||!j)return z;if(j>=U)return F;for(var B=0;B<P.length;B++){var H=P[B];if(!C(F,H)&&C(y,H)){F[H]=y[H];break}}return F}function C(P,k){return P.hasOwnProperty(k)}function _(P,k){return P[k]!=null&&P[k]!=="auto"}function L(P,k,F){f(P,function(j){k[j]=F[j]})}}function h(y){return A({},y)}function A(y,w){return w&&y&&f(d,function(b){w.hasOwnProperty(b)&&(y[b]=w[b])}),y}N.LOCATION_PARAMS=d,N.HV_NAMES=c,N.box=i,N.vbox=t,N.hbox=a,N.getAvailableSize=e,N.getLayoutRect=l,N.positionElement=r,N.sizeCalculable=s,N.mergeLayoutParam=u,N.getLayoutParams=h,N.copyLayoutParams=A},"+Zaj":function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("ugBc")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="CalendarOutlined";var i=m.forwardRef(o);N.default=i},"+d4F":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("y3Yb"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},"+eQT":function(M,N,n){"use strict";var v=n("wd/R"),p=n.n(v),S=n("Kwbf"),m={getNow:function(){return p()()},getWeekDay:function(lr){var Mr=lr.clone().locale("en_US");return Mr.weekday()+Mr.localeData().firstDayOfWeek()},getYear:function(lr){return lr.year()},getMonth:function(lr){return lr.month()},getDate:function(lr){return lr.date()},getHour:function(lr){return lr.hour()},getMinute:function(lr){return lr.minute()},getSecond:function(lr){return lr.second()},addYear:function(lr,Mr){var Ir=lr.clone();return Ir.add(Mr,"year")},addMonth:function(lr,Mr){var Ir=lr.clone();return Ir.add(Mr,"month")},addDate:function(lr,Mr){var Ir=lr.clone();return Ir.add(Mr,"day")},setYear:function(lr,Mr){var Ir=lr.clone();return Ir.year(Mr)},setMonth:function(lr,Mr){var Ir=lr.clone();return Ir.month(Mr)},setDate:function(lr,Mr){var Ir=lr.clone();return Ir.date(Mr)},setHour:function(lr,Mr){var Ir=lr.clone();return Ir.hour(Mr)},setMinute:function(lr,Mr){var Ir=lr.clone();return Ir.minute(Mr)},setSecond:function(lr,Mr){var Ir=lr.clone();return Ir.second(Mr)},isAfter:function(lr,Mr){return lr.isAfter(Mr)},isValidate:function(lr){return lr.isValid()},locale:{getWeekFirstDay:function(lr){var Mr=p()().locale(lr);return Mr.localeData().firstDayOfWeek()},getWeek:function(lr,Mr){var Ir=Mr.clone(),_n=Ir.locale(lr);return _n.week()},getShortWeekDays:function(lr){var Mr=p()().locale(lr);return Mr.localeData().weekdaysMin()},getShortMonths:function(lr){var Mr=p()().locale(lr);return Mr.localeData().monthsShort()},format:function(lr,Mr,Ir){var _n=Mr.clone(),Vr=_n.locale(lr);return Vr.format(Ir)},parse:function(lr,Mr,Ir){for(var _n=[],Vr=0;Vr<Ir.length;Vr+=1){var _r=Ir[Vr],Mn=Mr;if(_r.includes("wo")||_r.includes("Wo")){_r=_r.replace(/wo/g,"w").replace(/Wo/g,"W");var Br=_r.match(/[-YyMmDdHhSsWwGg]+/g),Sn=Mn.match(/[-\d]+/g);Br&&Sn?(_r=Br.join(""),Mn=Sn.join("")):_n.push(_r.replace(/o/g,""))}var jn=p()(Mn,_r,lr,!0);if(jn.isValid())return jn}for(var Hn=0;Hn<_n.length;Hn+=1){var Bn=p()(Mr,_n[Hn],lr,!1);if(Bn.isValid())return Object(S.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Bn}return null}}},g=m,f=n("pVnL"),d=n.n(f),c=n("q1tI"),o=n.n(c),i=n("2/Rp");function t(tt){return c.createElement(i.a,d()({size:"small",type:"primary"},tt))}var a=n("mr32");function e(tt){return c.createElement(a.a,d()({color:"blue"},tt))}var l=n("lSNA"),r=n.n(l),s=n("lwsE"),u=n.n(s),h=n("W8MJ"),A=n.n(h),y=n("7W2i"),w=n.n(y),b=n("LQ03"),x=n.n(b),O=n("TSYQ"),T=n.n(O),E=n("r/2G"),C=n.n(E),_=n("XzQk"),L=n.n(_),P=n("kbBi"),k=n.n(P),F=n("1OyB"),j=n("vuIU"),z=n("Ji7U"),R=n("LK+K"),U=n("rePB"),B=n("VTBJ"),H=n("ODXe"),K=n("6cGi"),V=n("U8pU"),W=n("4IlW"),G=c.createContext({}),re=G,ye={visibility:"hidden"};function $(tt){var lr=tt.prefixCls,Mr=tt.prevIcon,Ir=Mr===void 0?"\u2039":Mr,_n=tt.nextIcon,Vr=_n===void 0?"\u203A":_n,_r=tt.superPrevIcon,Mn=_r===void 0?"\xAB":_r,Br=tt.superNextIcon,Sn=Br===void 0?"\xBB":Br,jn=tt.onSuperPrev,Hn=tt.onSuperNext,Bn=tt.onPrev,ri=tt.onNext,Yn=tt.children,ii=c.useContext(re),ai=ii.hideNextBtn,Pi=ii.hidePrevBtn;return c.createElement("div",{className:lr},jn&&c.createElement("button",{type:"button",onClick:jn,tabIndex:-1,className:"".concat(lr,"-super-prev-btn"),style:Pi?ye:{}},Mn),Bn&&c.createElement("button",{type:"button",onClick:Bn,tabIndex:-1,className:"".concat(lr,"-prev-btn"),style:Pi?ye:{}},Ir),c.createElement("div",{className:"".concat(lr,"-view")},Yn),ri&&c.createElement("button",{type:"button",onClick:ri,tabIndex:-1,className:"".concat(lr,"-next-btn"),style:ai?ye:{}},Vr),Hn&&c.createElement("button",{type:"button",onClick:Hn,tabIndex:-1,className:"".concat(lr,"-super-next-btn"),style:ai?ye:{}},Sn))}var ve=$;function Ce(tt){var lr=c.useContext(re),Mr=lr.hideHeader;if(Mr)return null;var Ir=tt.prefixCls,_n=tt.generateConfig,Vr=tt.locale,_r=tt.value,Mn=tt.format,Br="".concat(Ir,"-header");return c.createElement(ve,{prefixCls:Br},_r?_n.locale.format(Vr.locale,_r,Mn):"\xA0")}var Se=Ce,Ke=n("YrtM"),ue=n("KQm4"),Le=new Map;function ee(tt,lr,Mr){if(Le.get(tt)&&cancelAnimationFrame(Le.get(tt)),Mr<=0){Le.set(tt,requestAnimationFrame(function(){tt.scrollTop=lr}));return}var Ir=lr-tt.scrollTop,_n=Ir/Mr*10;Le.set(tt,requestAnimationFrame(function(){tt.scrollTop+=_n,tt.scrollTop!==lr&&ee(tt,lr,Mr-10)}))}function le(tt,lr){var Mr=lr.onLeftRight,Ir=lr.onCtrlLeftRight,_n=lr.onUpDown,Vr=lr.onPageUpDown,_r=lr.onEnter,Mn=tt.which,Br=tt.ctrlKey,Sn=tt.metaKey;switch(Mn){case W.a.LEFT:if(Br||Sn){if(Ir)return Ir(-1),!0}else if(Mr)return Mr(-1),!0;break;case W.a.RIGHT:if(Br||Sn){if(Ir)return Ir(1),!0}else if(Mr)return Mr(1),!0;break;case W.a.UP:if(_n)return _n(-1),!0;break;case W.a.DOWN:if(_n)return _n(1),!0;break;case W.a.PAGE_UP:if(Vr)return Vr(-1),!0;break;case W.a.PAGE_DOWN:if(Vr)return Vr(1),!0;break;case W.a.ENTER:if(_r)return _r(),!0;break}return!1}function et(tt,lr,Mr,Ir){var _n=tt;if(!_n)switch(lr){case"time":_n=Ir?"hh:mm:ss a":"HH:mm:ss";break;case"week":_n="gggg-wo";break;case"month":_n="YYYY-MM";break;case"quarter":_n="YYYY-[Q]Q";break;case"year":_n="YYYY";break;default:_n=Mr?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return _n}function Re(tt,lr){var Mr=tt==="time"?8:10;return Math.max(Mr,lr.length)+2}var Ae=null,oe=new Set;function ce(tt){return!Ae&&typeof window!="undefined"&&window.addEventListener&&(Ae=function(Mr){Object(ue.a)(oe).forEach(function(Ir){Ir(Mr)})},window.addEventListener("mousedown",Ae)),oe.add(tt),function(){oe.delete(tt),oe.size===0&&(window.removeEventListener("mousedown",Ae),Ae=null)}}var be=function(lr){return lr==="month"||lr==="date"?"year":lr},Te=function(lr){return lr==="date"?"month":lr},Be=function(lr){return lr==="month"||lr==="date"?"quarter":lr},De=function(lr){return lr==="date"?"week":lr},ae={year:be,month:Te,quarter:Be,week:De,time:null,date:null};function fe(tt,lr){return tt.some(function(Mr){return Mr&&Mr.contains(lr)})}function Oe(tt){var lr=tt.prefixCls,Mr=tt.units,Ir=tt.onSelect,_n=tt.value,Vr=tt.active,_r=tt.hideDisabledOptions,Mn="".concat(lr,"-cell"),Br=c.useContext(re),Sn=Br.open,jn=c.useRef(null),Hn=c.useRef(new Map);return c.useLayoutEffect(function(){var Bn=Hn.current.get(_n);Bn&&Sn!==!1&&ee(jn.current,Bn.offsetTop,120)},[_n]),c.useLayoutEffect(function(){if(Sn){var Bn=Hn.current.get(_n);Bn&&ee(jn.current,Bn.offsetTop,0)}},[Sn]),c.createElement("ul",{className:T()("".concat(lr,"-column"),Object(U.a)({},"".concat(lr,"-column-active"),Vr)),ref:jn,style:{position:"relative"}},Mr.map(function(Bn){var ri;return _r&&Bn.disabled?null:c.createElement("li",{key:Bn.value,ref:function(ii){Hn.current.set(Bn.value,ii)},className:T()(Mn,(ri={},Object(U.a)(ri,"".concat(Mn,"-disabled"),Bn.disabled),Object(U.a)(ri,"".concat(Mn,"-selected"),_n===Bn.value),ri)),onClick:function(){if(Bn.disabled)return;Ir(Bn.value)}},c.createElement("div",{className:"".concat(Mn,"-inner")},Bn.label))}))}var Je=Oe;function Et(tt,lr){for(var Mr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ir=String(tt);Ir.length<lr;)Ir="".concat(Mr).concat(tt);return Ir}var Ze=function(){for(var lr=arguments.length,Mr=new Array(lr),Ir=0;Ir<lr;Ir++)Mr[Ir]=arguments[Ir];return Mr};function Ne(tt){return tt==null?[]:Array.isArray(tt)?tt:[tt]}function It(tt){var lr={};return Object.keys(tt).forEach(function(Mr){(Mr.substr(0,5)==="data-"||Mr.substr(0,5)==="aria-"||Mr==="role"||Mr==="name")&&Mr.substr(0,7)!=="data-__"&&(lr[Mr]=tt[Mr])}),lr}function Xe(tt,lr){return tt?tt[lr]:null}function Ot(tt,lr,Mr){var Ir=[Xe(tt,0),Xe(tt,1)];return Ir[Mr]=typeof lr=="function"?lr(Ir[Mr]):lr,!Ir[0]&&!Ir[1]?null:Ir}function Bt(tt,lr,Mr,Ir,_n){var Vr=tt.setHour(lr,Mr);return Vr=tt.setMinute(Vr,Ir),Vr=tt.setSecond(Vr,_n),Vr}function kt(tt,lr,Mr,Ir,_n,Vr){var _r=Math.floor(tt/Ir)*Ir;if(_r<tt)return[_r,60-_n,60-Vr];var Mn=Math.floor(lr/_n)*_n;if(Mn<lr)return[_r,Mn,60-Vr];var Br=Math.floor(Mr/Vr)*Vr;return[_r,Mn,Br]}function _t(tt,lr){if(tt.length!==lr.length)return!0;for(var Mr=0;Mr<tt.length;Mr+=1)if(tt[Mr].disabled!==lr[Mr].disabled)return!0;return!1}function Ft(tt,lr,Mr,Ir){for(var _n=[],Vr=tt;Vr<=lr;Vr+=Mr)_n.push({label:Et(Vr,2),value:Vr,disabled:(Ir||[]).includes(Vr)});return _n}function ke(tt){var lr=tt.generateConfig,Mr=tt.prefixCls,Ir=tt.operationRef,_n=tt.activeColumnIndex,Vr=tt.value,_r=tt.showHour,Mn=tt.showMinute,Br=tt.showSecond,Sn=tt.use12Hours,jn=tt.hourStep,Hn=jn===void 0?1:jn,Bn=tt.minuteStep,ri=Bn===void 0?1:Bn,Yn=tt.secondStep,ii=Yn===void 0?1:Yn,ai=tt.disabledHours,Pi=tt.disabledMinutes,yi=tt.disabledSeconds,Ki=tt.hideDisabledOptions,va=tt.onSelect,ea=[],Ji="".concat(Mr,"-content"),sa="".concat(Mr,"-time-panel"),fa,xo=Vr?lr.getHour(Vr):-1,Qa=Vr?lr.getMinute(Vr):-1,Wi=Vr?lr.getSecond(Vr):-1,qi=function(za,Ca,Po,Qo){var so=Vr||lr.getNow(),Os=Math.max(0,Ca),ho=Math.max(0,Po),bo=Math.max(0,Qo);return so=Bt(lr,so,!Sn||!za?Os:Os+12,ho,bo),so},ca=Ft(0,23,Hn,ai&&ai()),ma=Object(Ke.a)(function(){return ca},ca,_t);Sn&&(fa=xo>=12,xo%=12);var Pa=c.useMemo(function(){if(!Sn)return[!1,!1];var Ba=[!0,!0];return ma.forEach(function(za){var Ca=za.disabled,Po=za.value;if(Ca)return;Po>=12?Ba[1]=!1:Ba[0]=!1}),Ba},[Sn,ma]),La=Object(H.a)(Pa,2),Za=La[0],eo=La[1],ko=c.useMemo(function(){return Sn?ma.filter(fa?function(Ba){return Ba.value>=12}:function(Ba){return Ba.value<12}).map(function(Ba){var za=Ba.value%12,Ca=za===0?"12":Et(za,2);return Object(B.a)(Object(B.a)({},Ba),{},{label:Ca,value:za})}):ma},[Sn,ma]),jo=Ft(0,59,ri,Pi&&Pi(xo)),cs=Ft(0,59,ii,yi&&yi(xo,Qa));Ir.current={onUpDown:function(za){var Ca=ea[_n];if(Ca)for(var Po=Ca.units.findIndex(function(ho){return ho.value===Ca.value}),Qo=Ca.units.length,so=1;so<Qo;so+=1){var Os=Ca.units[(Po+za*so+Qo)%Qo];if(Os.disabled!==!0){Ca.onSelect(Os.value);break}}}};function Mo(Ba,za,Ca,Po,Qo){Ba!==!1&&ea.push({node:c.cloneElement(za,{prefixCls:sa,value:Ca,active:_n===ea.length,onSelect:Qo,units:Po,hideDisabledOptions:Ki}),onSelect:Qo,value:Ca,units:Po})}Mo(_r,c.createElement(Je,{key:"hour"}),xo,ko,function(Ba){va(qi(fa,Ba,Qa,Wi),"mouse")}),Mo(Mn,c.createElement(Je,{key:"minute"}),Qa,jo,function(Ba){va(qi(fa,xo,Ba,Wi),"mouse")}),Mo(Br,c.createElement(Je,{key:"second"}),Wi,cs,function(Ba){va(qi(fa,xo,Qa,Ba),"mouse")});var Lo=-1;return typeof fa=="boolean"&&(Lo=fa?1:0),Mo(Sn===!0,c.createElement(Je,{key:"12hours"}),Lo,[{label:"AM",value:0,disabled:Za},{label:"PM",value:1,disabled:eo}],function(Ba){va(qi(!!Ba,xo,Qa,Wi),"mouse")}),c.createElement("div",{className:Ji},ea.map(function(Ba){var za=Ba.node;return za}))}var te=ke,Q=function(lr){return lr.filter(function(Mr){return Mr!==!1}).length};function qe(tt){var lr=tt.generateConfig,Mr=tt.format,Ir=Mr===void 0?"HH:mm:ss":Mr,_n=tt.prefixCls,Vr=tt.active,_r=tt.operationRef,Mn=tt.showHour,Br=tt.showMinute,Sn=tt.showSecond,jn=tt.use12Hours,Hn=jn===void 0?!1:jn,Bn=tt.onSelect,ri=tt.value,Yn="".concat(_n,"-time-panel"),ii=c.useRef(),ai=c.useState(-1),Pi=Object(H.a)(ai,2),yi=Pi[0],Ki=Pi[1],va=Q([Mn,Br,Sn,Hn]);return _r.current={onKeyDown:function(Ji){return le(Ji,{onLeftRight:function(fa){Ki((yi+fa+va)%va)},onUpDown:function(fa){yi===-1?Ki(0):ii.current&&ii.current.onUpDown(fa)},onEnter:function(){Bn(ri||lr.getNow(),"key"),Ki(-1)}})},onBlur:function(){Ki(-1)}},c.createElement("div",{className:T()(Yn,Object(U.a)({},"".concat(Yn,"-active"),Vr))},c.createElement(Se,Object.assign({},tt,{format:Ir,prefixCls:_n})),c.createElement(te,Object.assign({},tt,{prefixCls:_n,activeColumnIndex:yi,operationRef:ii})))}var je=qe,q=7;function wt(tt,lr){return!tt&&!lr?!0:!tt||!lr?!1:void 0}function Vt(tt,lr,Mr){var Ir=wt(lr,Mr);if(typeof Ir=="boolean")return Ir;var _n=Math.floor(tt.getYear(lr)/10),Vr=Math.floor(tt.getYear(Mr)/10);return _n===Vr}function lt(tt,lr,Mr){var Ir=wt(lr,Mr);return typeof Ir=="boolean"?Ir:tt.getYear(lr)===tt.getYear(Mr)}function or(tt,lr){var Mr=Math.floor(tt.getMonth(lr)/3);return Mr+1}function vr(tt,lr,Mr){var Ir=wt(lr,Mr);return typeof Ir=="boolean"?Ir:lt(tt,lr,Mr)&&or(tt,lr)===or(tt,Mr)}function An(tt,lr,Mr){var Ir=wt(lr,Mr);return typeof Ir=="boolean"?Ir:lt(tt,lr,Mr)&&tt.getMonth(lr)===tt.getMonth(Mr)}function hr(tt,lr,Mr){var Ir=wt(lr,Mr);return typeof Ir=="boolean"?Ir:tt.getYear(lr)===tt.getYear(Mr)&&tt.getMonth(lr)===tt.getMonth(Mr)&&tt.getDate(lr)===tt.getDate(Mr)}function xr(tt,lr,Mr){var Ir=wt(lr,Mr);return typeof Ir=="boolean"?Ir:tt.getHour(lr)===tt.getHour(Mr)&&tt.getMinute(lr)===tt.getMinute(Mr)&&tt.getSecond(lr)===tt.getSecond(Mr)}function nr(tt,lr,Mr,Ir){var _n=wt(Mr,Ir);return typeof _n=="boolean"?_n:tt.locale.getWeek(lr,Mr)===tt.locale.getWeek(lr,Ir)}function Yt(tt,lr,Mr){return hr(tt,lr,Mr)&&xr(tt,lr,Mr)}function gt(tt,lr,Mr,Ir){return!lr||!Mr||!Ir?!1:!hr(tt,lr,Ir)&&!hr(tt,Mr,Ir)&&tt.isAfter(Ir,lr)&&tt.isAfter(Mr,Ir)}function zr(tt,lr,Mr){var Ir=lr.locale.getWeekFirstDay(tt),_n=lr.setDate(Mr,1),Vr=lr.getWeekDay(_n),_r=lr.addDate(_n,Ir-Vr);return lr.getMonth(_r)===lr.getMonth(Mr)&&lr.getDate(_r)>1&&(_r=lr.addDate(_r,-7)),_r}function pn(tt,lr,Mr){var Ir=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(lr){case"year":return Mr.addYear(tt,Ir*10);case"quarter":case"month":return Mr.addYear(tt,Ir);default:return Mr.addMonth(tt,Ir)}}var Nn=c.createContext({}),Vn=Nn;function xi(tt){var lr=tt.cellPrefixCls,Mr=tt.generateConfig,Ir=tt.rangedValue,_n=tt.hoverRangedValue,Vr=tt.isInView,_r=tt.isSameCell,Mn=tt.offsetCell,Br=tt.today,Sn=tt.value;function jn(Hn){var Bn,ri=Mn(Hn,-1),Yn=Mn(Hn,1),ii=Xe(Ir,0),ai=Xe(Ir,1),Pi=Xe(_n,0),yi=Xe(_n,1),Ki=gt(Mr,Pi,yi,Hn);function va(Qa){return _r(ii,Qa)}function ea(Qa){return _r(ai,Qa)}var Ji=_r(Pi,Hn),sa=_r(yi,Hn),fa=(Ki||sa)&&(!Vr(ri)||ea(ri)),xo=(Ki||Ji)&&(!Vr(Yn)||va(Yn));return Bn={},Object(U.a)(Bn,"".concat(lr,"-in-view"),Vr(Hn)),Object(U.a)(Bn,"".concat(lr,"-in-range"),gt(Mr,ii,ai,Hn)),Object(U.a)(Bn,"".concat(lr,"-range-start"),va(Hn)),Object(U.a)(Bn,"".concat(lr,"-range-end"),ea(Hn)),Object(U.a)(Bn,"".concat(lr,"-range-start-single"),va(Hn)&&!ai),Object(U.a)(Bn,"".concat(lr,"-range-end-single"),ea(Hn)&&!ii),Object(U.a)(Bn,"".concat(lr,"-range-start-near-hover"),va(Hn)&&(_r(ri,Pi)||gt(Mr,Pi,yi,ri))),Object(U.a)(Bn,"".concat(lr,"-range-end-near-hover"),ea(Hn)&&(_r(Yn,yi)||gt(Mr,Pi,yi,Yn))),Object(U.a)(Bn,"".concat(lr,"-range-hover"),Ki),Object(U.a)(Bn,"".concat(lr,"-range-hover-start"),Ji),Object(U.a)(Bn,"".concat(lr,"-range-hover-end"),sa),Object(U.a)(Bn,"".concat(lr,"-range-hover-edge-start"),fa),Object(U.a)(Bn,"".concat(lr,"-range-hover-edge-end"),xo),Object(U.a)(Bn,"".concat(lr,"-range-hover-edge-start-near-range"),fa&&_r(ri,ai)),Object(U.a)(Bn,"".concat(lr,"-range-hover-edge-end-near-range"),xo&&_r(Yn,ii)),Object(U.a)(Bn,"".concat(lr,"-today"),_r(Br,Hn)),Object(U.a)(Bn,"".concat(lr,"-selected"),_r(Sn,Hn)),Bn}return jn}function bn(tt){for(var lr=tt.prefixCls,Mr=tt.disabledDate,Ir=tt.onSelect,_n=tt.rowNum,Vr=tt.colNum,_r=tt.prefixColumn,Mn=tt.rowClassName,Br=tt.baseDate,Sn=tt.getCellClassName,jn=tt.getCellText,Hn=tt.getCellNode,Bn=tt.getCellDate,ri=tt.titleCell,Yn=tt.headerCells,ii=c.useContext(re),ai=ii.onDateMouseEnter,Pi=ii.onDateMouseLeave,yi="".concat(lr,"-cell"),Ki=[],va=0;va<_n;va+=1){for(var ea=[],Ji=void 0,sa=function(Qa){var Wi=va*Vr+Qa,qi=Bn(Br,Wi),ca=Mr&&Mr(qi);Qa===0&&(Ji=qi,_r&&ea.push(_r(Ji))),ea.push(c.createElement("td",{key:Qa,title:ri&&ri(qi),className:T()(yi,Object(B.a)(Object(U.a)({},"".concat(yi,"-disabled"),ca),Sn(qi))),onClick:function(){ca||Ir(qi)},onMouseEnter:function(){!ca&&ai&&ai(qi)},onMouseLeave:function(){!ca&&Pi&&Pi(qi)}},Hn?Hn(qi):c.createElement("div",{className:"".concat(yi,"-inner")},jn(qi))))},fa=0;fa<Vr;fa+=1)sa(fa);Ki.push(c.createElement("tr",{key:va,className:Mn&&Mn(Ji)},ea))}return c.createElement("div",{className:"".concat(lr,"-body")},c.createElement("table",{className:"".concat(lr,"-content")},Yn&&c.createElement("thead",null,c.createElement("tr",null,Yn)),c.createElement("tbody",null,Ki)))}function Pn(tt){var lr=tt.prefixCls,Mr=tt.generateConfig,Ir=tt.prefixColumn,_n=tt.locale,Vr=tt.rowCount,_r=tt.viewDate,Mn=tt.value,Br=tt.dateRender,Sn=c.useContext(Vn),jn=Sn.rangedValue,Hn=Sn.hoverRangedValue,Bn=zr(_n.locale,Mr,_r),ri="".concat(lr,"-cell"),Yn=Mr.locale.getWeekFirstDay(_n.locale),ii=Mr.getNow(),ai=[],Pi=_n.shortWeekDays||(Mr.locale.getShortWeekDays?Mr.locale.getShortWeekDays(_n.locale):[]);Ir&&ai.push(c.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var yi=0;yi<q;yi+=1)ai.push(c.createElement("th",{key:yi},Pi[(yi+Yn)%q]));var Ki=xi({cellPrefixCls:ri,today:ii,value:Mn,generateConfig:Mr,rangedValue:Ir?null:jn,hoverRangedValue:Ir?null:Hn,isSameCell:function(Ji,sa){return hr(Mr,Ji,sa)},isInView:function(Ji){return An(Mr,Ji,_r)},offsetCell:function(Ji,sa){return Mr.addDate(Ji,sa)}}),va=Br?function(ea){return Br(ea,ii)}:void 0;return c.createElement(bn,Object.assign({},tt,{rowNum:Vr,colNum:q,baseDate:Bn,getCellNode:va,getCellText:Mr.getDate,getCellClassName:Ki,getCellDate:Mr.addDate,titleCell:function(Ji){return Mr.locale.format(_n.locale,Ji,"YYYY-MM-DD")},headerCells:ai}))}var jt=Pn;function At(tt){var lr=tt.prefixCls,Mr=tt.generateConfig,Ir=tt.locale,_n=tt.viewDate,Vr=tt.onNextMonth,_r=tt.onPrevMonth,Mn=tt.onNextYear,Br=tt.onPrevYear,Sn=tt.onYearClick,jn=tt.onMonthClick,Hn=c.useContext(re),Bn=Hn.hideHeader;if(Bn)return null;var ri="".concat(lr,"-header"),Yn=Ir.shortMonths||(Mr.locale.getShortMonths?Mr.locale.getShortMonths(Ir.locale):[]),ii=Mr.getMonth(_n),ai=c.createElement("button",{type:"button",key:"year",onClick:Sn,tabIndex:-1,className:"".concat(lr,"-year-btn")},Mr.locale.format(Ir.locale,_n,Ir.yearFormat)),Pi=c.createElement("button",{type:"button",key:"month",onClick:jn,tabIndex:-1,className:"".concat(lr,"-month-btn")},Ir.monthFormat?Mr.locale.format(Ir.locale,_n,Ir.monthFormat):Yn[ii]),yi=Ir.monthBeforeYear?[Pi,ai]:[ai,Pi];return c.createElement(ve,Object.assign({},tt,{prefixCls:ri,onSuperPrev:Br,onPrev:_r,onNext:Vr,onSuperNext:Mn}),yi)}var xe=At,we=6;function Ee(tt){var lr=tt.prefixCls,Mr=tt.panelName,Ir=Mr===void 0?"date":Mr,_n=tt.keyboardConfig,Vr=tt.active,_r=tt.operationRef,Mn=tt.generateConfig,Br=tt.value,Sn=tt.viewDate,jn=tt.onViewDateChange,Hn=tt.onPanelChange,Bn=tt.onSelect,ri="".concat(lr,"-").concat(Ir,"-panel");_r.current={onKeyDown:function(Pi){return le(Pi,Object(B.a)({onLeftRight:function(Ki){Bn(Mn.addDate(Br||Sn,Ki),"key")},onCtrlLeftRight:function(Ki){Bn(Mn.addYear(Br||Sn,Ki),"key")},onUpDown:function(Ki){Bn(Mn.addDate(Br||Sn,Ki*q),"key")},onPageUpDown:function(Ki){Bn(Mn.addMonth(Br||Sn,Ki),"key")}},_n))}};var Yn=function(Pi){var yi=Mn.addYear(Sn,Pi);jn(yi),Hn(null,yi)},ii=function(Pi){var yi=Mn.addMonth(Sn,Pi);jn(yi),Hn(null,yi)};return c.createElement("div",{className:T()(ri,Object(U.a)({},"".concat(ri,"-active"),Vr))},c.createElement(xe,Object.assign({},tt,{prefixCls:lr,value:Br,viewDate:Sn,onPrevYear:function(){Yn(-1)},onNextYear:function(){Yn(1)},onPrevMonth:function(){ii(-1)},onNextMonth:function(){ii(1)},onMonthClick:function(){Hn("month",Sn)},onYearClick:function(){Hn("year",Sn)}})),c.createElement(jt,Object.assign({},tt,{onSelect:function(Pi){return Bn(Pi,"mouse")},prefixCls:lr,value:Br,viewDate:Sn,rowCount:we})))}var Ge=Ee;function nt(tt,lr,Mr){if(!Mr)return lr;var Ir=lr;return Ir=tt.setHour(Ir,tt.getHour(Mr)),Ir=tt.setMinute(Ir,tt.getMinute(Mr)),Ir=tt.setSecond(Ir,tt.getSecond(Mr)),Ir}var st=Ze("date","time");function Mt(tt){var lr=tt.prefixCls,Mr=tt.operationRef,Ir=tt.generateConfig,_n=tt.value,Vr=tt.defaultValue,_r=tt.disabledTime,Mn=tt.showTime,Br=tt.onSelect,Sn="".concat(lr,"-datetime-panel"),jn=c.useState(null),Hn=Object(H.a)(jn,2),Bn=Hn[0],ri=Hn[1],Yn=c.useRef({}),ii=c.useRef({}),ai=Object(V.a)(Mn)==="object"?Object(B.a)({},Mn):{};function Pi(ea){var Ji=st.indexOf(Bn)+ea,sa=st[Ji]||null;return sa}var yi=function(Ji){ii.current.onBlur&&ii.current.onBlur(Ji),ri(null)};Mr.current={onKeyDown:function(Ji){if(Ji.which===W.a.TAB){var sa=Pi(Ji.shiftKey?-1:1);return ri(sa),sa&&Ji.preventDefault(),!0}if(Bn){var fa=Bn==="date"?Yn:ii;return fa.current&&fa.current.onKeyDown&&fa.current.onKeyDown(Ji),!0}return[W.a.LEFT,W.a.RIGHT,W.a.UP,W.a.DOWN].includes(Ji.which)?(ri("date"),!0):!1},onBlur:yi,onClose:yi};var Ki=function(Ji,sa){var fa=Ji;sa==="date"&&!_n&&ai.defaultValue?(fa=Ir.setHour(fa,Ir.getHour(ai.defaultValue)),fa=Ir.setMinute(fa,Ir.getMinute(ai.defaultValue)),fa=Ir.setSecond(fa,Ir.getSecond(ai.defaultValue))):sa==="time"&&!_n&&Vr&&(fa=Ir.setYear(fa,Ir.getYear(Vr)),fa=Ir.setMonth(fa,Ir.getMonth(Vr)),fa=Ir.setDate(fa,Ir.getDate(Vr))),Br&&Br(fa,"mouse")},va=_r?_r(_n||null):{};return c.createElement("div",{className:T()(Sn,Object(U.a)({},"".concat(Sn,"-active"),Bn))},c.createElement(Ge,Object.assign({},tt,{operationRef:Yn,active:Bn==="date",onSelect:function(Ji){Ki(nt(Ir,Ji,Mn&&Object(V.a)(Mn)==="object"?Mn.defaultValue:null),"date")}})),c.createElement(je,Object.assign({},tt,{format:void 0},ai,va,{defaultValue:void 0,operationRef:ii,active:Bn==="time",onSelect:function(Ji){Ki(Ji,"time")}})))}var wr=Mt;function Pr(tt){var lr=tt.prefixCls,Mr=tt.generateConfig,Ir=tt.locale,_n=tt.value,Vr="".concat(lr,"-cell"),_r=function(jn){return c.createElement("td",{key:"week",className:T()(Vr,"".concat(Vr,"-week"))},Mr.locale.getWeek(Ir.locale,jn))},Mn="".concat(lr,"-week-panel-row"),Br=function(jn){return T()(Mn,Object(U.a)({},"".concat(Mn,"-selected"),nr(Mr,Ir.locale,_n,jn)))};return c.createElement(Ge,Object.assign({},tt,{panelName:"week",prefixColumn:_r,rowClassName:Br,keyboardConfig:{onLeftRight:null}}))}var qr=Pr;function xt(tt){var lr=tt.prefixCls,Mr=tt.generateConfig,Ir=tt.locale,_n=tt.viewDate,Vr=tt.onNextYear,_r=tt.onPrevYear,Mn=tt.onYearClick,Br=c.useContext(re),Sn=Br.hideHeader;if(Sn)return null;var jn="".concat(lr,"-header");return c.createElement(ve,Object.assign({},tt,{prefixCls:jn,onSuperPrev:_r,onSuperNext:Vr}),c.createElement("button",{type:"button",onClick:Mn,className:"".concat(lr,"-year-btn")},Mr.locale.format(Ir.locale,_n,Ir.yearFormat)))}var rt=xt,it=3,$t=4;function Dt(tt){var lr=tt.prefixCls,Mr=tt.locale,Ir=tt.value,_n=tt.viewDate,Vr=tt.generateConfig,_r=tt.monthCellRender,Mn=c.useContext(Vn),Br=Mn.rangedValue,Sn=Mn.hoverRangedValue,jn="".concat(lr,"-cell"),Hn=xi({cellPrefixCls:jn,value:Ir,generateConfig:Vr,rangedValue:Br,hoverRangedValue:Sn,isSameCell:function(ai,Pi){return An(Vr,ai,Pi)},isInView:function(){return!0},offsetCell:function(ai,Pi){return Vr.addMonth(ai,Pi)}}),Bn=Mr.shortMonths||(Vr.locale.getShortMonths?Vr.locale.getShortMonths(Mr.locale):[]),ri=Vr.setMonth(_n,0),Yn=_r?function(ii){return _r(ii,Mr)}:void 0;return c.createElement(bn,Object.assign({},tt,{rowNum:$t,colNum:it,baseDate:ri,getCellNode:Yn,getCellText:function(ai){return Mr.monthFormat?Vr.locale.format(Mr.locale,ai,Mr.monthFormat):Bn[Vr.getMonth(ai)]},getCellClassName:Hn,getCellDate:Vr.addMonth,titleCell:function(ai){return Vr.locale.format(Mr.locale,ai,"YYYY-MM")}}))}var St=Dt;function Ut(tt){var lr=tt.prefixCls,Mr=tt.operationRef,Ir=tt.onViewDateChange,_n=tt.generateConfig,Vr=tt.value,_r=tt.viewDate,Mn=tt.onPanelChange,Br=tt.onSelect,Sn="".concat(lr,"-month-panel");Mr.current={onKeyDown:function(Bn){return le(Bn,{onLeftRight:function(Yn){Br(_n.addMonth(Vr||_r,Yn),"key")},onCtrlLeftRight:function(Yn){Br(_n.addYear(Vr||_r,Yn),"key")},onUpDown:function(Yn){Br(_n.addMonth(Vr||_r,Yn*it),"key")},onEnter:function(){Mn("date",Vr||_r)}})}};var jn=function(Bn){var ri=_n.addYear(_r,Bn);Ir(ri),Mn(null,ri)};return c.createElement("div",{className:Sn},c.createElement(rt,Object.assign({},tt,{prefixCls:lr,onPrevYear:function(){jn(-1)},onNextYear:function(){jn(1)},onYearClick:function(){Mn("year",_r)}})),c.createElement(St,Object.assign({},tt,{prefixCls:lr,onSelect:function(Bn){Br(Bn,"mouse"),Mn("date",Bn)}})))}var vt=Ut;function Pt(tt){var lr=tt.prefixCls,Mr=tt.generateConfig,Ir=tt.locale,_n=tt.viewDate,Vr=tt.onNextYear,_r=tt.onPrevYear,Mn=tt.onYearClick,Br=c.useContext(re),Sn=Br.hideHeader;if(Sn)return null;var jn="".concat(lr,"-header");return c.createElement(ve,Object.assign({},tt,{prefixCls:jn,onSuperPrev:_r,onSuperNext:Vr}),c.createElement("button",{type:"button",onClick:Mn,className:"".concat(lr,"-year-btn")},Mr.locale.format(Ir.locale,_n,Ir.yearFormat)))}var br=Pt,ur=4,fr=1;function Jr(tt){var lr=tt.prefixCls,Mr=tt.locale,Ir=tt.value,_n=tt.viewDate,Vr=tt.generateConfig,_r=c.useContext(Vn),Mn=_r.rangedValue,Br=_r.hoverRangedValue,Sn="".concat(lr,"-cell"),jn=xi({cellPrefixCls:Sn,value:Ir,generateConfig:Vr,rangedValue:Mn,hoverRangedValue:Br,isSameCell:function(ri,Yn){return vr(Vr,ri,Yn)},isInView:function(){return!0},offsetCell:function(ri,Yn){return Vr.addMonth(ri,Yn*3)}}),Hn=Vr.setDate(Vr.setMonth(_n,0),1);return c.createElement(bn,Object.assign({},tt,{rowNum:fr,colNum:ur,baseDate:Hn,getCellText:function(ri){return Vr.locale.format(Mr.locale,ri,Mr.quarterFormat||"[Q]Q")},getCellClassName:jn,getCellDate:function(ri,Yn){return Vr.addMonth(ri,Yn*3)},titleCell:function(ri){return Vr.locale.format(Mr.locale,ri,"YYYY-[Q]Q")}}))}var Zr=Jr;function Fn(tt){var lr=tt.prefixCls,Mr=tt.operationRef,Ir=tt.onViewDateChange,_n=tt.generateConfig,Vr=tt.value,_r=tt.viewDate,Mn=tt.onPanelChange,Br=tt.onSelect,Sn="".concat(lr,"-quarter-panel");Mr.current={onKeyDown:function(Bn){return le(Bn,{onLeftRight:function(Yn){Br(_n.addMonth(Vr||_r,Yn*3),"key")},onCtrlLeftRight:function(Yn){Br(_n.addYear(Vr||_r,Yn),"key")},onUpDown:function(Yn){Br(_n.addYear(Vr||_r,Yn),"key")}})}};var jn=function(Bn){var ri=_n.addYear(_r,Bn);Ir(ri),Mn(null,ri)};return c.createElement("div",{className:Sn},c.createElement(br,Object.assign({},tt,{prefixCls:lr,onPrevYear:function(){jn(-1)},onNextYear:function(){jn(1)},onYearClick:function(){Mn("year",_r)}})),c.createElement(Zr,Object.assign({},tt,{prefixCls:lr,onSelect:function(Bn){Br(Bn,"mouse")}})))}var Rn=Fn;function ei(tt){var lr=tt.prefixCls,Mr=tt.generateConfig,Ir=tt.viewDate,_n=tt.onPrevDecade,Vr=tt.onNextDecade,_r=tt.onDecadeClick,Mn=c.useContext(re),Br=Mn.hideHeader;if(Br)return null;var Sn="".concat(lr,"-header"),jn=Mr.getYear(Ir),Hn=Math.floor(jn/Ie)*Ie,Bn=Hn+Ie-1;return c.createElement(ve,Object.assign({},tt,{prefixCls:Sn,onSuperPrev:_n,onSuperNext:Vr}),c.createElement("button",{type:"button",onClick:_r,className:"".concat(lr,"-decade-btn")},Hn,"-",Bn))}var di=ei,gi=3,Ii=4;function Ye(tt){var lr=tt.prefixCls,Mr=tt.value,Ir=tt.viewDate,_n=tt.locale,Vr=tt.generateConfig,_r=c.useContext(Vn),Mn=_r.rangedValue,Br=_r.hoverRangedValue,Sn="".concat(lr,"-cell"),jn=Vr.getYear(Ir),Hn=Math.floor(jn/Ie)*Ie,Bn=Hn+Ie-1,ri=Vr.setYear(Ir,Hn-Math.ceil((gi*Ii-Ie)/2)),Yn=function(Pi){var yi=Vr.getYear(Pi);return Hn<=yi&&yi<=Bn},ii=xi({cellPrefixCls:Sn,value:Mr,generateConfig:Vr,rangedValue:Mn,hoverRangedValue:Br,isSameCell:function(Pi,yi){return lt(Vr,Pi,yi)},isInView:Yn,offsetCell:function(Pi,yi){return Vr.addYear(Pi,yi)}});return c.createElement(bn,Object.assign({},tt,{rowNum:Ii,colNum:gi,baseDate:ri,getCellText:Vr.getYear,getCellClassName:ii,getCellDate:Vr.addYear,titleCell:function(Pi){return Vr.locale.format(_n.locale,Pi,"YYYY")}}))}var ge=Ye,Ie=10;function Fe(tt){var lr=tt.prefixCls,Mr=tt.operationRef,Ir=tt.onViewDateChange,_n=tt.generateConfig,Vr=tt.value,_r=tt.viewDate,Mn=tt.sourceMode,Br=tt.onSelect,Sn=tt.onPanelChange,jn="".concat(lr,"-year-panel");Mr.current={onKeyDown:function(ri){return le(ri,{onLeftRight:function(ii){Br(_n.addYear(Vr||_r,ii),"key")},onCtrlLeftRight:function(ii){Br(_n.addYear(Vr||_r,ii*Ie),"key")},onUpDown:function(ii){Br(_n.addYear(Vr||_r,ii*gi),"key")},onEnter:function(){Sn(Mn==="date"?"date":"month",Vr||_r)}})}};var Hn=function(ri){var Yn=_n.addYear(_r,ri*10);Ir(Yn),Sn(null,Yn)};return c.createElement("div",{className:jn},c.createElement(di,Object.assign({},tt,{prefixCls:lr,onPrevDecade:function(){Hn(-1)},onNextDecade:function(){Hn(1)},onDecadeClick:function(){Sn("decade",_r)}})),c.createElement(ge,Object.assign({},tt,{prefixCls:lr,onSelect:function(ri){Sn(Mn==="date"?"date":"month",ri),Br(ri,"mouse")}})))}var Ve=Fe;function We(tt){var lr=tt.prefixCls,Mr=tt.generateConfig,Ir=tt.viewDate,_n=tt.onPrevDecades,Vr=tt.onNextDecades,_r=c.useContext(re),Mn=_r.hideHeader;if(Mn)return null;var Br="".concat(lr,"-header"),Sn=Mr.getYear(Ir),jn=Math.floor(Sn/Gr)*Gr,Hn=jn+Gr-1;return c.createElement(ve,Object.assign({},tt,{prefixCls:Br,onSuperPrev:_n,onSuperNext:Vr}),jn,"-",Hn)}var Qe=We,yt=3,ot=4;function Zt(tt){var lr=Lr-1,Mr=tt.prefixCls,Ir=tt.viewDate,_n=tt.generateConfig,Vr=tt.disabledDate,_r="".concat(Mr,"-cell"),Mn=_n.getYear(Ir),Br=Math.floor(Mn/Lr)*Lr,Sn=Math.floor(Mn/Gr)*Gr,jn=Sn+Gr-1,Hn=_n.setYear(Ir,Sn-Math.ceil((yt*ot*Lr-Gr)/2)),Bn=function(Yn){var ii,ai=Vr&&Vr(Yn),Pi=_n.getYear(Yn),yi=Pi+lr;return ii={},Object(U.a)(ii,"".concat(_r,"-disabled"),ai),Object(U.a)(ii,"".concat(_r,"-in-view"),Sn<=Pi&&yi<=jn),Object(U.a)(ii,"".concat(_r,"-selected"),Pi===Br),ii};return c.createElement(bn,Object.assign({},tt,{rowNum:ot,colNum:yt,baseDate:Hn,getCellText:function(Yn){var ii=_n.getYear(Yn);return"".concat(ii,"-").concat(ii+lr)},getCellClassName:Bn,getCellDate:function(Yn,ii){return _n.addYear(Yn,ii*Lr)}}))}var Rr=Zt,Lr=10,Gr=Lr*10;function er(tt){var lr=tt.prefixCls,Mr=tt.onViewDateChange,Ir=tt.generateConfig,_n=tt.viewDate,Vr=tt.operationRef,_r=tt.onSelect,Mn=tt.onPanelChange,Br="".concat(lr,"-decade-panel");Vr.current={onKeyDown:function(Bn){return le(Bn,{onLeftRight:function(Yn){_r(Ir.addYear(_n,Yn*Lr),"key")},onCtrlLeftRight:function(Yn){_r(Ir.addYear(_n,Yn*Gr),"key")},onUpDown:function(Yn){_r(Ir.addYear(_n,Yn*Lr*yt),"key")},onEnter:function(){Mn("year",_n)}})}};var Sn=function(Bn){var ri=Ir.addYear(_n,Bn*Gr);Mr(ri),Mn(null,ri)},jn=function(Bn){_r(Bn,"mouse"),Mn("year",Bn)};return c.createElement("div",{className:Br},c.createElement(Qe,Object.assign({},tt,{prefixCls:lr,onPrevDecades:function(){Sn(-1)},onNextDecades:function(){Sn(1)}})),c.createElement(Rr,Object.assign({},tt,{prefixCls:lr,onSelect:jn})))}var On=er;function yr(tt,lr,Mr){return Mr?c.createElement("div",{className:"".concat(tt,"-footer-extra")},Mr(lr)):null}function gn(tt){var lr=tt.prefixCls,Mr=tt.rangeList,Ir=Mr===void 0?[]:Mr,_n=tt.components,Vr=_n===void 0?{}:_n,_r=tt.needConfirmButton,Mn=tt.onNow,Br=tt.onOk,Sn=tt.okDisabled,jn=tt.showNow,Hn=tt.locale,Bn,ri;if(Ir.length){var Yn=Vr.rangeItem||"span";Bn=c.createElement(c.Fragment,null,Ir.map(function(ai){var Pi=ai.label,yi=ai.onClick,Ki=ai.onMouseEnter,va=ai.onMouseLeave;return c.createElement("li",{key:Pi,className:"".concat(lr,"-preset")},c.createElement(Yn,{onClick:yi,onMouseEnter:Ki,onMouseLeave:va},Pi))}))}if(_r){var ii=Vr.button||"button";Mn&&!Bn&&jn!==!1&&(Bn=c.createElement("li",{className:"".concat(lr,"-now")},c.createElement("a",{className:"".concat(lr,"-now-btn"),onClick:Mn},Hn.now))),ri=_r&&c.createElement("li",{className:"".concat(lr,"-ok")},c.createElement(ii,{disabled:Sn,onClick:Br},Hn.ok))}return!Bn&&!ri?null:c.createElement("ul",{className:"".concat(lr,"-ranges")},Bn,ri)}function tn(tt){var lr,Mr=tt.prefixCls,Ir=Mr===void 0?"rc-picker":Mr,_n=tt.className,Vr=tt.style,_r=tt.locale,Mn=tt.generateConfig,Br=tt.value,Sn=tt.defaultValue,jn=tt.pickerValue,Hn=tt.defaultPickerValue,Bn=tt.disabledDate,ri=tt.mode,Yn=tt.picker,ii=Yn===void 0?"date":Yn,ai=tt.tabIndex,Pi=ai===void 0?0:ai,yi=tt.showNow,Ki=tt.showTime,va=tt.showToday,ea=tt.renderExtraFooter,Ji=tt.hideHeader,sa=tt.onSelect,fa=tt.onChange,xo=tt.onPanelChange,Qa=tt.onMouseDown,Wi=tt.onPickerValueChange,qi=tt.onOk,ca=tt.components,ma=tt.direction,Pa=tt.hourStep,La=Pa===void 0?1:Pa,Za=tt.minuteStep,eo=Za===void 0?1:Za,ko=tt.secondStep,jo=ko===void 0?1:ko,cs=ii==="date"&&!!Ki||ii==="time",Mo=24%La===0,Lo=60%eo===0,Ba=60%jo===0,za=c.useContext(re),Ca=za.operationRef,Po=za.panelRef,Qo=za.onSelect,so=za.hideRanges,Os=za.defaultOpenValue,ho=c.useContext(Vn),bo=ho.inRange,ds=ho.panelPosition,Ho=ho.rangedValue,zo=ho.hoverRangedValue,rn=c.useRef({}),es=c.useRef(!0),Js=Object(K.a)(null,{value:Br,defaultValue:Sn,postState:function(Qn){return!Qn&&Os&&ii==="time"?Os:Qn}}),Es=Object(H.a)(Js,2),gs=Es[0],Ko=Es[1],hs=Object(K.a)(null,{value:jn,defaultValue:Hn||gs,postState:function(Qn){return Qn||Mn.getNow()}}),bs=Object(H.a)(hs,2),ws=bs[0],qo=bs[1],us=function(Qn){qo(Qn),Wi&&Wi(Qn)},_s=function(Qn){var Ei=ae[ii];return Ei?Ei(Qn):Qn},As=Object(K.a)(function(){return ii==="time"?"time":_s("date")},{value:ri}),Ao=Object(H.a)(As,2),to=Ao[0],Jo=Ao[1];c.useEffect(function(){Jo(ii)},[ii]);var ts=c.useState(function(){return to}),Ha=Object(H.a)(ts,2),Ct=Ha[0],Wt=Ha[1],cn=function(Qn,Ei){var Fi=_s(Qn||to);Wt(to),Jo(Fi),xo&&(to!==Fi||Yt(Mn,ws,ws))&&xo(Ei,Fi)},zn=function(Qn,Ei){var Fi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(to===ii||Fi)&&(Ko(Qn),sa&&sa(Qn),Qo&&Qo(Qn,Ei),fa&&!Yt(Mn,Qn,gs)&&fa(Qn))},ht=function(Qn){return rn.current&&rn.current.onKeyDown?([W.a.LEFT,W.a.RIGHT,W.a.UP,W.a.DOWN,W.a.PAGE_UP,W.a.PAGE_DOWN,W.a.ENTER].includes(Qn.which)&&Qn.preventDefault(),rn.current.onKeyDown(Qn)):(Object(S.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Z=function(Qn){rn.current&&rn.current.onBlur&&rn.current.onBlur(Qn)};Ca&&ds!=="right"&&(Ca.current={onKeyDown:ht,onClose:function(){rn.current&&rn.current.onClose&&rn.current.onClose()}}),c.useEffect(function(){Br&&!es.current&&qo(Br)},[Br]),c.useEffect(function(){es.current=!1},[]);var se,pe=Object(B.a)(Object(B.a)({},tt),{},{operationRef:rn,prefixCls:Ir,viewDate:ws,value:gs,onViewDateChange:us,sourceMode:Ct,onPanelChange:cn,disabledDate:to!=="decade"?Bn:void 0});delete pe.onChange,delete pe.onSelect;switch(to){case"decade":se=c.createElement(On,Object.assign({},pe,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"year":se=c.createElement(Ve,Object.assign({},pe,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"month":se=c.createElement(vt,Object.assign({},pe,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"quarter":se=c.createElement(Rn,Object.assign({},pe,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"week":se=c.createElement(qr,Object.assign({},pe,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"time":delete pe.showTime,se=c.createElement(je,Object.assign({},pe,Object(V.a)(Ki)==="object"?Ki:null,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;default:Ki?se=c.createElement(wr,Object.assign({},pe,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}})):se=c.createElement(Ge,Object.assign({},pe,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}))}var Ue,ft,zt=function(){var Qn=Mn.getNow(),Ei=kt(Mn.getHour(Qn),Mn.getMinute(Qn),Mn.getSecond(Qn),Mo?La:1,Lo?eo:1,Ba?jo:1),Fi=Bt(Mn,Qn,Ei[0],Ei[1],Ei[2]);zn(Fi,"submit")};so||(Ue=yr(Ir,to,ea),ft=gn({prefixCls:Ir,components:ca,needConfirmButton:cs,okDisabled:!gs||Bn&&Bn(gs),locale:_r,showNow:yi,onNow:cs&&zt,onOk:function(){gs&&(zn(gs,"submit",!0),qi&&qi(gs))}}));var Dr;if(va&&to==="date"&&ii==="date"&&!Ki){var Xr=Mn.getNow(),dn="".concat(Ir,"-today-btn"),Kn=Bn&&Bn(Xr);Dr=c.createElement("a",{className:T()(dn,Kn&&"".concat(dn,"-disabled")),"aria-disabled":Kn,onClick:function(){Kn||zn(Xr,"mouse",!0)}},_r.today)}return c.createElement(re.Provider,{value:Object(B.a)(Object(B.a)({},za),{},{hideHeader:"hideHeader"in tt?Ji:za.hideHeader,hidePrevBtn:bo&&ds==="right",hideNextBtn:bo&&ds==="left"})},c.createElement("div",{tabIndex:Pi,className:T()("".concat(Ir,"-panel"),_n,(lr={},Object(U.a)(lr,"".concat(Ir,"-panel-has-range"),Ho&&Ho[0]&&Ho[1]),Object(U.a)(lr,"".concat(Ir,"-panel-has-range-hover"),zo&&zo[0]&&zo[1]),Object(U.a)(lr,"".concat(Ir,"-panel-rtl"),ma==="rtl"),lr)),style:Vr,onKeyDown:ht,onBlur:Z,onMouseDown:Qa,ref:Po},se,Ue||ft||Dr?c.createElement("div",{className:"".concat(Ir,"-footer")},Ue,ft,Dr):null))}var Fr=tn,Xn=n("JX7q"),hi=n("i8i4"),_i=n.n(hi),Ur=n("l4aY"),sn=n("m+aA"),Cn=n("c+Xe"),Nt=n("zT1h"),dt=n("QC+M");function bt(tt,lr,Mr){return Mr?tt[0]===lr[0]:tt[0]===lr[0]&&tt[1]===lr[1]}function Tt(tt,lr,Mr){var Ir=tt[lr]||{};return Object(B.a)(Object(B.a)({},Ir),Mr)}function Lt(tt,lr,Mr,Ir){for(var _n=Mr.points,Vr=Object.keys(tt),_r=0;_r<Vr.length;_r+=1){var Mn=Vr[_r];if(bt(tt[Mn].points,_n,Ir))return"".concat(lr,"-placement-").concat(Mn)}return""}var pt=n("Ff2n"),Gt=n("xEkU"),qt=n.n(Gt),rr=n("9mu1"),mr=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function wn(tt,lr){var Mr={};return Mr[tt.toLowerCase()]=lr.toLowerCase(),Mr["Webkit".concat(tt)]="webkit".concat(lr),Mr["Moz".concat(tt)]="moz".concat(lr),Mr["ms".concat(tt)]="MS".concat(lr),Mr["O".concat(tt)]="o".concat(lr.toLowerCase()),Mr}function fn(tt,lr){var Mr={animationend:wn("Animation","AnimationEnd"),transitionend:wn("Transition","TransitionEnd")};return tt&&("AnimationEvent"in lr||delete Mr.animationend.animation,"TransitionEvent"in lr||delete Mr.transitionend.transition),Mr}var Wn=fn(mr,typeof window!="undefined"?window:{}),Yr={};if(mr){var Sr=document.createElement("div");Yr=Sr.style}var ln={};function Tn(tt){if(ln[tt])return ln[tt];var lr=Wn[tt];if(lr)for(var Mr=Object.keys(lr),Ir=Mr.length,_n=0;_n<Ir;_n+=1){var Vr=Mr[_n];if(Object.prototype.hasOwnProperty.call(lr,Vr)&&Vr in Yr)return ln[tt]=lr[Vr],ln[tt]}return""}var In=Tn("animationend"),Un=Tn("transitionend"),ti=!!(In&&Un);function li(tt,lr){if(!tt)return null;if(Object(V.a)(tt)==="object"){var Mr=lr.replace(/-\w/g,function(Ir){return Ir[1].toUpperCase()});return tt[Mr]}return"".concat(tt,"-").concat(lr)}var si="none",ki="appear",zi="enter",Ri="leave";function Yi(tt){var lr=tt,Mr=!!c.forwardRef;Object(V.a)(tt)==="object"&&(lr=tt.transitionSupport,Mr="forwardRef"in tt?tt.forwardRef:Mr);function Ir(Vr){return!!(Vr.motionName&&lr)}var _n=function(Vr){Object(z.a)(Mn,Vr);var _r=Object(R.a)(Mn);function Mn(){var Br;return Object(F.a)(this,Mn),Br=_r.apply(this,arguments),Br.$cacheEle=null,Br.node=null,Br.raf=null,Br.destroyed=!1,Br.deadlineId=null,Br.state={status:si,statusActive:!1,newStatus:!1,statusStyle:null},Br.onDomUpdate=function(){var Sn=Br.state,jn=Sn.status,Hn=Sn.newStatus,Bn=Br.props,ri=Bn.onAppearStart,Yn=Bn.onEnterStart,ii=Bn.onLeaveStart,ai=Bn.onAppearActive,Pi=Bn.onEnterActive,yi=Bn.onLeaveActive,Ki=Bn.motionAppear,va=Bn.motionEnter,ea=Bn.motionLeave;if(!Ir(Br.props))return;var Ji=Br.getElement();Br.$cacheEle!==Ji&&(Br.removeEventListener(Br.$cacheEle),Br.addEventListener(Ji),Br.$cacheEle=Ji),Hn&&jn===ki&&Ki?Br.updateStatus(ri,null,null,function(){Br.updateActiveStatus(ai,ki)}):Hn&&jn===zi&&va?Br.updateStatus(Yn,null,null,function(){Br.updateActiveStatus(Pi,zi)}):Hn&&jn===Ri&&ea&&Br.updateStatus(ii,null,null,function(){Br.updateActiveStatus(yi,Ri)})},Br.onMotionEnd=function(Sn){if(Sn&&!Sn.deadline&&Sn.target!==Br.getElement())return;var jn=Br.state,Hn=jn.status,Bn=jn.statusActive,ri=Br.props,Yn=ri.onAppearEnd,ii=ri.onEnterEnd,ai=ri.onLeaveEnd;Hn===ki&&Bn?Br.updateStatus(Yn,{status:si},Sn):Hn===zi&&Bn?Br.updateStatus(ii,{status:si},Sn):Hn===Ri&&Bn&&Br.updateStatus(ai,{status:si},Sn)},Br.setNodeRef=function(Sn){var jn=Br.props.internalRef;Br.node=Sn,Object(Cn.b)(jn,Sn)},Br.getElement=function(){try{return Object(sn.a)(Br.node||Object(Xn.a)(Br))}catch(Sn){return Br.$cacheEle}},Br.addEventListener=function(Sn){if(!Sn)return;Sn.addEventListener(Un,Br.onMotionEnd),Sn.addEventListener(In,Br.onMotionEnd)},Br.removeEventListener=function(Sn){if(!Sn)return;Sn.removeEventListener(Un,Br.onMotionEnd),Sn.removeEventListener(In,Br.onMotionEnd)},Br.updateStatus=function(Sn,jn,Hn,Bn){var ri=Sn?Sn(Br.getElement(),Hn):null;if(ri===!1||Br.destroyed)return;var Yn;Bn&&(Yn=function(){Br.nextFrame(Bn)}),Br.setState(Object(B.a)({statusStyle:Object(V.a)(ri)==="object"?ri:null,newStatus:!1},jn),Yn)},Br.updateActiveStatus=function(Sn,jn){Br.nextFrame(function(){var Hn=Br.state.status;if(Hn!==jn)return;var Bn=Br.props.motionDeadline;Br.updateStatus(Sn,{statusActive:!0}),Bn>0&&(Br.deadlineId=setTimeout(function(){Br.onMotionEnd({deadline:!0})},Bn))})},Br.nextFrame=function(Sn){Br.cancelNextFrame(),Br.raf=qt()(Sn)},Br.cancelNextFrame=function(){Br.raf&&(qt.a.cancel(Br.raf),Br.raf=null)},Br}return Object(j.a)(Mn,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var Sn,jn=this.state,Hn=jn.status,Bn=jn.statusActive,ri=jn.statusStyle,Yn=this.props,ii=Yn.children,ai=Yn.motionName,Pi=Yn.visible,yi=Yn.removeOnLeave,Ki=Yn.leavedClassName,va=Yn.eventProps;return ii?Hn===si||!Ir(this.props)?Pi?ii(Object(B.a)({},va),this.setNodeRef):yi?null:ii(Object(B.a)(Object(B.a)({},va),{},{className:Ki}),this.setNodeRef):ii(Object(B.a)(Object(B.a)({},va),{},{className:T()(li(ai,Hn),(Sn={},Object(U.a)(Sn,li(ai,"".concat(Hn,"-active")),Bn),Object(U.a)(Sn,ai,typeof ai=="string"),Sn)),style:ri}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(Sn,jn){var Hn=jn.prevProps,Bn=jn.status;if(!Ir(Sn))return{};var ri=Sn.visible,Yn=Sn.motionAppear,ii=Sn.motionEnter,ai=Sn.motionLeave,Pi=Sn.motionLeaveImmediately,yi={prevProps:Sn};return(Bn===ki&&!Yn||Bn===zi&&!ii||Bn===Ri&&!ai)&&(yi.status=si,yi.statusActive=!1,yi.newStatus=!1),!Hn&&ri&&Yn&&(yi.status=ki,yi.statusActive=!1,yi.newStatus=!0),Hn&&!Hn.visible&&ri&&ii&&(yi.status=zi,yi.statusActive=!1,yi.newStatus=!0),(Hn&&Hn.visible&&!ri&&ai||!Hn&&Pi&&!ri&&ai)&&(yi.status=Ri,yi.statusActive=!1,yi.newStatus=!0),yi}}]),Mn}(c.Component);return _n.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},Mr?c.forwardRef(function(Vr,_r){return c.createElement(_n,Object.assign({internalRef:_r},Vr))}):_n}var Zn=Yi(ti),hn="add",mi="keep",Hi="remove",Li="removed";function Bi(tt){var lr;return tt&&Object(V.a)(tt)==="object"&&"key"in tt?lr=tt:lr={key:tt},Object(B.a)(Object(B.a)({},lr),{},{key:String(lr.key)})}function Ar(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return tt.map(Bi)}function ar(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Mr=[],Ir=0,_n=lr.length,Vr=Ar(tt),_r=Ar(lr);Vr.forEach(function(Sn){for(var jn=!1,Hn=Ir;Hn<_n;Hn+=1){var Bn=_r[Hn];if(Bn.key===Sn.key){Ir<Hn&&(Mr=Mr.concat(_r.slice(Ir,Hn).map(function(ri){return Object(B.a)(Object(B.a)({},ri),{},{status:hn})})),Ir=Hn),Mr.push(Object(B.a)(Object(B.a)({},Bn),{},{status:mi})),Ir+=1,jn=!0;break}}jn||Mr.push(Object(B.a)(Object(B.a)({},Sn),{},{status:Hi}))}),Ir<_n&&(Mr=Mr.concat(_r.slice(Ir).map(function(Sn){return Object(B.a)(Object(B.a)({},Sn),{},{status:hn})})));var Mn={};Mr.forEach(function(Sn){var jn=Sn.key;Mn[jn]=(Mn[jn]||0)+1});var Br=Object.keys(Mn).filter(function(Sn){return Mn[Sn]>1});return Br.forEach(function(Sn){Mr=Mr.filter(function(jn){var Hn=jn.key,Bn=jn.status;return Hn!==Sn||Bn!==Hi}),Mr.forEach(function(jn){jn.key===Sn&&(jn.status=mi)})}),Mr}var on=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Qt(tt){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zn,Mr=function(Ir){Object(z.a)(Vr,Ir);var _n=Object(R.a)(Vr);function Vr(){var _r;return Object(F.a)(this,Vr),_r=_n.apply(this,arguments),_r.state={keyEntities:[]},_r.removeKey=function(Mn){_r.setState(function(Br){var Sn=Br.keyEntities;return{keyEntities:Sn.map(function(jn){return jn.key!==Mn?jn:Object(B.a)(Object(B.a)({},jn),{},{status:Li})})}})},_r}return Object(j.a)(Vr,[{key:"render",value:function(){var Mn=this,Br=this.state.keyEntities,Sn=this.props,jn=Sn.component,Hn=Sn.children,Bn=Object(pt.a)(Sn,["component","children"]),ri=jn||c.Fragment,Yn={};return on.forEach(function(ii){Yn[ii]=Bn[ii],delete Bn[ii]}),delete Bn.keys,c.createElement(ri,Object.assign({},Bn),Br.map(function(ii){var ai=ii.status,Pi=Object(pt.a)(ii,["status"]),yi=ai===hn||ai===mi;return c.createElement(lr,Object.assign({},Yn,{key:Pi.key,visible:yi,eventProps:Pi,onLeaveEnd:function(){Yn.onLeaveEnd&&Yn.onLeaveEnd.apply(Yn,arguments),Mn.removeKey(Pi.key)}}),Hn)}))}}],[{key:"getDerivedStateFromProps",value:function(Mn,Br){var Sn=Mn.keys,jn=Br.keyEntities,Hn=Ar(Sn);if(!tt)return{keyEntities:Hn.map(function(Yn){return Object(B.a)(Object(B.a)({},Yn),{},{status:mi})})};var Bn=ar(jn,Hn),ri=jn.length;return{keyEntities:Bn.filter(function(Yn){for(var ii=null,ai=0;ai<ri;ai+=1){var Pi=jn[ai];if(Pi.key===Yn.key){ii=Pi;break}}return!(ii&&ii.status===Li&&Yn.status===Hi)})}}}]),Vr}(c.Component);return Mr.defaultProps={component:"div"},Mr}var gr=Qt(ti),Or=Zn,Kr=function(lr,Mr){var Ir=lr.prefixCls,_n=lr.className,Vr=lr.style,_r=lr.children,Mn=lr.onMouseEnter,Br=lr.onMouseLeave,Sn=lr.onMouseDown,jn=lr.onTouchStart,Hn=_r;return c.Children.count(_r)>1&&(Hn=c.createElement("div",{className:"".concat(Ir,"-content")},_r)),c.createElement("div",{ref:Mr,className:_n,onMouseEnter:Mn,onMouseLeave:Br,onMouseDown:Sn,onTouchStart:jn,style:Vr},Hn)},mn=c.forwardRef(Kr);mn.displayName="PopupInner";var mt=mn;function dr(tt){var lr=tt.prefixCls,Mr=tt.motion,Ir=tt.animation,_n=tt.transitionName;return Mr||(Ir?{motionName:"".concat(lr,"-").concat(Ir)}:_n?{motionName:_n}:null)}function pr(tt){return tt&&tt.motionName}var kr=function(tt){Object(z.a)(Mr,tt);var lr=Object(R.a)(Mr);function Mr(){var Ir;return Object(F.a)(this,Mr),Ir=lr.apply(this,arguments),Ir.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Ir.popupRef=o.a.createRef(),Ir.alignRef=o.a.createRef(),Ir.nextFrameState=null,Ir.nextFrameId=null,Ir.onAlign=function(_n,Vr){var _r=Ir.state.status,Mn=Ir.props,Br=Mn.getClassNameFromAlign,Sn=Mn.onAlign,jn=Br(Vr);_r==="align"?Ir.setState({alignClassName:jn,status:"aligned"},function(){Ir.alignRef.current.forceAlign()}):_r==="aligned"?(Ir.setState({alignClassName:jn,status:"afterAlign"}),Sn(_n,Vr)):Ir.setState({alignClassName:jn})},Ir.onMotionEnd=function(){var _n=Ir.props.visible;Ir.setState({status:_n?"AfterMotion":"stable",inMotion:!1})},Ir.setStateOnNextFrame=function(_n){Ir.cancelFrameState(),Ir.nextFrameState=Object(B.a)(Object(B.a)({},Ir.nextFrameState),_n),Ir.nextFrameId=qt()(function(){var Vr=Object(B.a)({},Ir.nextFrameState);Ir.nextFrameState=null,Ir.setState(Vr)})},Ir.getMotion=function(){return Object(B.a)({},dr(Ir.props))},Ir.getAlignTarget=function(){var _n=Ir.props,Vr=_n.point,_r=_n.getRootDomNode;return Vr||_r},Ir.cancelFrameState=function(){qt.a.cancel(Ir.nextFrameId)},Ir.renderPopupElement=function(){var _n=Ir.state,Vr=_n.status,_r=_n.targetHeight,Mn=_n.targetWidth,Br=_n.alignClassName,Sn=Ir.props,jn=Sn.prefixCls,Hn=Sn.className,Bn=Sn.style,ri=Sn.stretch,Yn=Sn.visible,ii=Sn.align,ai=Sn.destroyPopupOnHide,Pi=Sn.onMouseEnter,yi=Sn.onMouseLeave,Ki=Sn.onMouseDown,va=Sn.onTouchStart,ea=Sn.children,Ji=T()(jn,Hn,Br),sa="".concat(jn,"-hidden"),fa={};ri&&(ri.indexOf("height")!==-1?fa.height=_r:ri.indexOf("minHeight")!==-1&&(fa.minHeight=_r),ri.indexOf("width")!==-1?fa.width=Mn:ri.indexOf("minWidth")!==-1&&(fa.minWidth=Mn));var xo=Object(B.a)(Object(B.a)(Object(B.a)(Object(B.a)({},fa),Ir.getZIndexStyle()),Bn),{},{opacity:Vr==="stable"||!Yn?void 0:0,pointerEvents:Vr==="stable"||!Yn?void 0:"none"}),Qa=Ir.getMotion(),Wi=Yn;Yn&&Vr!=="beforeMotion"&&Vr!=="motion"&&Vr!=="stable"&&(Qa.motionAppear=!1,Qa.motionEnter=!1,Qa.motionLeave=!1),(Vr==="afterAlign"||Vr==="beforeMotion")&&(Wi=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(ma){var Pa=Qa==null?void 0:Qa[ma];Qa[ma]=function(){for(var La=arguments.length,Za=new Array(La),eo=0;eo<La;eo++)Za[eo]=arguments[eo];Pa==null||Pa.apply(void 0,Za),Ir.setState({inMotion:!0})}});var qi=!Yn||Vr!=="align"&&Vr!=="aligned"&&Vr!=="stable",ca=!0;return Vr==="stable"&&(ca=Yn),ai&&!ca?null:o.a.createElement(Or,Object.assign({visible:Wi},Qa,{removeOnLeave:!1,onEnterEnd:Ir.onMotionEnd,onLeaveEnd:Ir.onMotionEnd,leavedClassName:sa}),function(ma,Pa){var La=ma.style,Za=ma.className;return o.a.createElement(rr.a,{target:Ir.getAlignTarget(),key:"popup",ref:Ir.alignRef,monitorWindowResize:!0,disabled:qi,align:ii,onAlign:Ir.onAlign},o.a.createElement(mt,{prefixCls:jn,className:T()(Ji,Za),ref:Object(Cn.a)(Pa,Ir.popupRef),onMouseEnter:Pi,onMouseLeave:yi,onMouseDown:Ki,onTouchStart:va,style:Object(B.a)(Object(B.a)({},xo),La)},ea))})},Ir.renderMaskElement=function(){var _n=Ir.props,Vr=_n.mask,_r=_n.maskMotion,Mn=_n.maskTransitionName,Br=_n.maskAnimation,Sn=_n.prefixCls,jn=_n.visible;if(!Vr)return null;var Hn={};return _r&&_r.motionName&&(Hn=Object(B.a)({motionAppear:!0},dr({motion:_r,prefixCls:Sn,transitionName:Mn,animation:Br}))),o.a.createElement(Or,Object.assign({},Hn,{visible:jn,removeOnLeave:!0}),function(Bn){var ri=Bn.className;return o.a.createElement("div",{style:Ir.getZIndexStyle(),key:"mask",className:T()("".concat(Sn,"-mask"),ri)})})},Ir}return Object(j.a)(Mr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var _n=this.state.status,Vr=this.props,_r=Vr.getRootDomNode,Mn=Vr.visible,Br=Vr.stretch;if(this.cancelFrameState(),Mn&&_n!=="stable")switch(_n){case null:{this.setStateOnNextFrame({status:Br?"measure":"align"});break}case"afterAlign":{this.setStateOnNextFrame({status:pr(this.getMotion())?"beforeMotion":"stable"});break}case"AfterMotion":{this.setStateOnNextFrame({status:"stable"});break}default:{var Sn=["measure","align",null,"beforeMotion","motion"],jn=Sn.indexOf(_n),Hn=Sn[jn+1];jn!==-1&&Hn&&this.setStateOnNextFrame({status:Hn})}}if(_n==="measure"){var Bn=_r();Bn&&this.setStateOnNextFrame({targetHeight:Bn.offsetHeight,targetWidth:Bn.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var _n=this.props.zIndex;return{zIndex:_n}}},{key:"render",value:function(){return o.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(_n,Vr){var _r=_n.visible,Mn=Object(pt.a)(_n,["visible"]),Br=Vr.prevVisible,Sn=Vr.status,jn=Vr.inMotion,Hn={prevVisible:_r,status:Sn},Bn=dr(Mn);return Br===null&&_r===!1?(Hn.status="stable",Hn.inMotion=!1):_r!==Br&&(Hn.inMotion=!1,_r||pr(Bn)&&jn?Hn.status=null:Hn.status="stable",_r&&(Hn.alignClassName=null)),Hn}}]),Mr}(c.Component),nn=kr,un=c.createContext(null),en=un;function Ln(){}function xn(){return""}function Gn(){return window.document}var ui=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Jn(tt){var lr=function(Mr){Object(z.a)(_n,Mr);var Ir=Object(R.a)(_n);function _n(Vr){var _r;Object(F.a)(this,_n),_r=Ir.call(this,Vr),_r.popupRef=o.a.createRef(),_r.triggerRef=o.a.createRef(),_r.onMouseEnter=function(Br){var Sn=_r.props.mouseEnterDelay;_r.fireEvents("onMouseEnter",Br),_r.delaySetPopupVisible(!0,Sn,Sn?null:Br)},_r.onMouseMove=function(Br){_r.fireEvents("onMouseMove",Br),_r.setPoint(Br)},_r.onMouseLeave=function(Br){_r.fireEvents("onMouseLeave",Br),_r.delaySetPopupVisible(!1,_r.props.mouseLeaveDelay)},_r.onPopupMouseEnter=function(){_r.clearDelayTimer()},_r.onPopupMouseLeave=function(Br){if(Br.relatedTarget&&!Br.relatedTarget.setTimeout&&_r.popupRef.current&&_r.popupRef.current.popupRef.current&&Object(Ur.a)(_r.popupRef.current.popupRef.current,Br.relatedTarget))return;_r.delaySetPopupVisible(!1,_r.props.mouseLeaveDelay)},_r.onFocus=function(Br){_r.fireEvents("onFocus",Br),_r.clearDelayTimer(),_r.isFocusToShow()&&(_r.focusTime=Date.now(),_r.delaySetPopupVisible(!0,_r.props.focusDelay))},_r.onMouseDown=function(Br){_r.fireEvents("onMouseDown",Br),_r.preClickTime=Date.now()},_r.onTouchStart=function(Br){_r.fireEvents("onTouchStart",Br),_r.preTouchTime=Date.now()},_r.onBlur=function(Br){_r.fireEvents("onBlur",Br),_r.clearDelayTimer(),_r.isBlurToHide()&&_r.delaySetPopupVisible(!1,_r.props.blurDelay)},_r.onContextMenu=function(Br){Br.preventDefault(),_r.fireEvents("onContextMenu",Br),_r.setPopupVisible(!0,Br)},_r.onContextMenuClose=function(){_r.isContextMenuToShow()&&_r.close()},_r.onClick=function(Br){if(_r.fireEvents("onClick",Br),_r.focusTime){var Sn;if(_r.preClickTime&&_r.preTouchTime?Sn=Math.min(_r.preClickTime,_r.preTouchTime):_r.preClickTime?Sn=_r.preClickTime:_r.preTouchTime&&(Sn=_r.preTouchTime),Math.abs(Sn-_r.focusTime)<20)return;_r.focusTime=0}_r.preClickTime=0,_r.preTouchTime=0,_r.isClickToShow()&&(_r.isClickToHide()||_r.isBlurToHide())&&Br&&Br.preventDefault&&Br.preventDefault();var jn=!_r.state.popupVisible;(_r.isClickToHide()&&!jn||jn&&_r.isClickToShow())&&_r.setPopupVisible(!_r.state.popupVisible,Br)},_r.onPopupMouseDown=function(){if(_r.hasPopupMouseDown=!0,clearTimeout(_r.mouseDownTimeout),_r.mouseDownTimeout=window.setTimeout(function(){_r.hasPopupMouseDown=!1},0),_r.context){var Br;(Br=_r.context).onPopupMouseDown.apply(Br,arguments)}},_r.onDocumentClick=function(Br){if(_r.props.mask&&!_r.props.maskClosable)return;var Sn=Br.target,jn=_r.getRootDomNode(),Hn=_r.getPopupDomNode();!Object(Ur.a)(jn,Sn)&&!Object(Ur.a)(Hn,Sn)&&!_r.hasPopupMouseDown&&_r.close()},_r.getRootDomNode=function(){var Br=_r.props.getTriggerDOMNode;if(Br)return Br(_r.triggerRef.current);try{var Sn=Object(sn.a)(_r.triggerRef.current);if(Sn)return Sn}catch(jn){}return _i.a.findDOMNode(Object(Xn.a)(_r))},_r.getPopupClassNameFromAlign=function(Br){var Sn=[],jn=_r.props,Hn=jn.popupPlacement,Bn=jn.builtinPlacements,ri=jn.prefixCls,Yn=jn.alignPoint,ii=jn.getPopupClassNameFromAlign;return Hn&&Bn&&Sn.push(Lt(Bn,ri,Br,Yn)),ii&&Sn.push(ii(Br)),Sn.join(" ")},_r.getComponent=function(){var Br=_r.props,Sn=Br.prefixCls,jn=Br.destroyPopupOnHide,Hn=Br.popupClassName,Bn=Br.onPopupAlign,ri=Br.popupMotion,Yn=Br.popupAnimation,ii=Br.popupTransitionName,ai=Br.popupStyle,Pi=Br.mask,yi=Br.maskAnimation,Ki=Br.maskTransitionName,va=Br.maskMotion,ea=Br.zIndex,Ji=Br.popup,sa=Br.stretch,fa=Br.alignPoint,xo=_r.state,Qa=xo.popupVisible,Wi=xo.point,qi=_r.getPopupAlign(),ca={};return _r.isMouseEnterToShow()&&(ca.onMouseEnter=_r.onPopupMouseEnter),_r.isMouseLeaveToHide()&&(ca.onMouseLeave=_r.onPopupMouseLeave),ca.onMouseDown=_r.onPopupMouseDown,ca.onTouchStart=_r.onPopupMouseDown,o.a.createElement(nn,Object.assign({prefixCls:Sn,destroyPopupOnHide:jn,visible:Qa,point:fa&&Wi,className:Hn,align:qi,onAlign:Bn,animation:Yn,getClassNameFromAlign:_r.getPopupClassNameFromAlign},ca,{stretch:sa,getRootDomNode:_r.getRootDomNode,style:ai,mask:Pi,zIndex:ea,transitionName:ii,maskAnimation:yi,maskTransitionName:Ki,maskMotion:va,ref:_r.popupRef,motion:ri}),typeof Ji=="function"?Ji():Ji)},_r.getContainer=function(){var Br=Object(Xn.a)(_r),Sn=Br.props,jn=document.createElement("div");jn.style.position="absolute",jn.style.top="0",jn.style.left="0",jn.style.width="100%";var Hn=Sn.getPopupContainer?Sn.getPopupContainer(_r.getRootDomNode()):Sn.getDocument().body;return Hn.appendChild(jn),jn},_r.setPoint=function(Br){var Sn=_r.props.alignPoint;if(!Sn||!Br)return;_r.setState({point:{pageX:Br.pageX,pageY:Br.pageY}})},_r.handlePortalUpdate=function(){_r.state.prevPopupVisible!==_r.state.popupVisible&&_r.props.afterPopupVisibleChange(_r.state.popupVisible)};var Mn;return"popupVisible"in Vr?Mn=!!Vr.popupVisible:Mn=!!Vr.defaultPopupVisible,_r.state={prevPopupVisible:Mn,popupVisible:Mn},ui.forEach(function(Br){_r["fire".concat(Br)]=function(Sn){_r.fireEvents(Br,Sn)}}),_r}return Object(j.a)(_n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var _r=this.props,Mn=this.state;if(Mn.popupVisible){var Br;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Br=_r.getDocument(),this.clickOutsideHandler=Object(Nt.a)(Br,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Br=Br||_r.getDocument(),this.touchOutsideHandler=Object(Nt.a)(Br,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Br=Br||_r.getDocument(),this.contextMenuOutsideHandler1=Object(Nt.a)(Br,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Nt.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var _r=this.props,Mn=_r.popupPlacement,Br=_r.popupAlign,Sn=_r.builtinPlacements;return Mn&&Sn?Tt(Sn,Mn,Br):Br}},{key:"setPopupVisible",value:function(_r,Mn){var Br=this.props.alignPoint,Sn=this.state.popupVisible;this.clearDelayTimer(),Sn!==_r&&("popupVisible"in this.props||this.setState({popupVisible:_r,prevPopupVisible:Sn}),this.props.onPopupVisibleChange(_r)),Br&&Mn&&this.setPoint(Mn)}},{key:"delaySetPopupVisible",value:function(_r,Mn,Br){var Sn=this,jn=Mn*1e3;if(this.clearDelayTimer(),jn){var Hn=Br?{pageX:Br.pageX,pageY:Br.pageY}:null;this.delayTimer=window.setTimeout(function(){Sn.setPopupVisible(_r,Hn),Sn.clearDelayTimer()},jn)}else this.setPopupVisible(_r,Br)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(_r){var Mn=this.props.children.props,Br=this.props;return Mn[_r]&&Br[_r]?this["fire".concat(_r)]:Mn[_r]||Br[_r]}},{key:"isClickToShow",value:function(){var _r=this.props,Mn=_r.action,Br=_r.showAction;return Mn.indexOf("click")!==-1||Br.indexOf("click")!==-1}},{key:"isContextMenuToShow",value:function(){var _r=this.props,Mn=_r.action,Br=_r.showAction;return Mn.indexOf("contextMenu")!==-1||Br.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var _r=this.props,Mn=_r.action,Br=_r.hideAction;return Mn.indexOf("click")!==-1||Br.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var _r=this.props,Mn=_r.action,Br=_r.showAction;return Mn.indexOf("hover")!==-1||Br.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var _r=this.props,Mn=_r.action,Br=_r.hideAction;return Mn.indexOf("hover")!==-1||Br.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var _r=this.props,Mn=_r.action,Br=_r.showAction;return Mn.indexOf("focus")!==-1||Br.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var _r=this.props,Mn=_r.action,Br=_r.hideAction;return Mn.indexOf("focus")!==-1||Br.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(_r,Mn){var Br=this.props.children.props[_r];Br&&Br(Mn);var Sn=this.props[_r];Sn&&Sn(Mn)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var _r=this.state.popupVisible,Mn=this.props,Br=Mn.children,Sn=Mn.forceRender,jn=Mn.alignPoint,Hn=Mn.className,Bn=Mn.autoDestroy,ri=o.a.Children.only(Br),Yn={key:"trigger"};this.isContextMenuToShow()?Yn.onContextMenu=this.onContextMenu:Yn.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Yn.onClick=this.onClick,Yn.onMouseDown=this.onMouseDown,Yn.onTouchStart=this.onTouchStart):(Yn.onClick=this.createTwoChains("onClick"),Yn.onMouseDown=this.createTwoChains("onMouseDown"),Yn.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Yn.onMouseEnter=this.onMouseEnter,jn&&(Yn.onMouseMove=this.onMouseMove)):Yn.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Yn.onMouseLeave=this.onMouseLeave:Yn.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Yn.onFocus=this.onFocus,Yn.onBlur=this.onBlur):(Yn.onFocus=this.createTwoChains("onFocus"),Yn.onBlur=this.createTwoChains("onBlur"));var ii=T()(ri&&ri.props&&ri.props.className,Hn);ii&&(Yn.className=ii);var ai=Object(B.a)({},Yn);Object(Cn.c)(ri)&&(ai.ref=Object(Cn.a)(this.triggerRef,ri.ref));var Pi=o.a.cloneElement(ri,ai),yi;return(_r||this.popupRef.current||Sn)&&(yi=o.a.createElement(tt,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!_r&&Bn&&(yi=null),o.a.createElement(en.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},Pi,yi)}}],[{key:"getDerivedStateFromProps",value:function(_r,Mn){var Br=_r.popupVisible,Sn={};return Br!==void 0&&Mn.popupVisible!==Br&&(Sn.popupVisible=Br,Sn.prevPopupVisible=Mn.popupVisible),Sn}}]),_n}(o.a.Component);return lr.contextType=en,lr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:xn,getDocument:Gn,onPopupVisibleChange:Ln,afterPopupVisibleChange:Ln,onPopupAlign:Ln,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},lr}var pi=Jn(dt.a),wi={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 Ni(tt){var lr,Mr=tt.prefixCls,Ir=tt.popupElement,_n=tt.popupStyle,Vr=tt.visible,_r=tt.dropdownClassName,Mn=tt.dropdownAlign,Br=tt.transitionName,Sn=tt.getPopupContainer,jn=tt.children,Hn=tt.range,Bn=tt.popupPlacement,ri=tt.direction,Yn="".concat(Mr,"-dropdown"),ii=function(){return Bn!==void 0?Bn:ri==="rtl"?"bottomRight":"bottomLeft"};return c.createElement(pi,{showAction:[],hideAction:[],popupPlacement:ii(),builtinPlacements:wi,prefixCls:Yn,popupTransitionName:Br,popup:Ir,popupAlign:Mn,popupVisible:Vr,popupClassName:T()(_r,(lr={},Object(U.a)(lr,"".concat(Yn,"-range"),Hn),Object(U.a)(lr,"".concat(Yn,"-rtl"),ri==="rtl"),lr)),popupStyle:_n,getPopupContainer:Sn},jn)}var Si=Ni;function vi(tt){var lr=tt.open,Mr=tt.value,Ir=tt.isClickOutside,_n=tt.triggerOpen,Vr=tt.forwardKeyDown,_r=tt.blurToCancel,Mn=tt.onSubmit,Br=tt.onCancel,Sn=tt.onFocus,jn=tt.onBlur,Hn=Object(c.useState)(!1),Bn=Object(H.a)(Hn,2),ri=Bn[0],Yn=Bn[1],ii=Object(c.useState)(!1),ai=Object(H.a)(ii,2),Pi=ai[0],yi=ai[1],Ki=Object(c.useRef)(!1),va=Object(c.useRef)(!1),ea={onMouseDown:function(){Yn(!0),_n(!0)},onKeyDown:function(sa){switch(sa.which){case W.a.ENTER:{lr?Mn()!==!1&&Yn(!0):_n(!0),sa.preventDefault();return}case W.a.TAB:{ri&&lr&&!sa.shiftKey?(Yn(!1),sa.preventDefault()):!ri&&lr&&(!Vr(sa)&&sa.shiftKey&&(Yn(!0),sa.preventDefault()));return}case W.a.ESC:{Yn(!0),Br();return}}!lr&&![W.a.SHIFT].includes(sa.which)?_n(!0):ri||Vr(sa)},onFocus:function(sa){Yn(!0),yi(!0),Sn&&Sn(sa)},onBlur:function(sa){if(Ki.current||!Ir(document.activeElement)){Ki.current=!1;return}_r?setTimeout(function(){Ir(document.activeElement)&&Br()},0):lr&&(_n(!1),va.current&&Mn()),yi(!1),jn&&jn(sa)}};return Object(c.useEffect)(function(){va.current=!1},[lr]),Object(c.useEffect)(function(){va.current=!0},[Mr]),Object(c.useEffect)(function(){return ce(function(Ji){var sa=Ji.target;lr&&(Ir(sa)?Pi||_n(!1):(Ki.current=!0,requestAnimationFrame(function(){Ki.current=!1})))})}),[ea,{focused:Pi,typing:ri}]}function Ai(tt){var lr=tt.valueTexts,Mr=tt.onTextChange,Ir=c.useState(""),_n=Object(H.a)(Ir,2),Vr=_n[0],_r=_n[1],Mn=c.useRef([]);Mn.current=lr;function Br(jn){_r(jn),Mr(jn)}function Sn(){_r(Mn.current[0])}return c.useEffect(function(){lr.every(function(jn){return jn!==Vr})&&Sn()},[lr.join("||")]),[Vr,Br,Sn]}var Ci=n("Gytx"),Ui=n.n(Ci);function $i(tt,lr){var Mr=lr.formatList,Ir=lr.generateConfig,_n=lr.locale;return Object(Ke.a)(function(){if(!tt)return[[""],""];for(var Vr="",_r=[],Mn=0;Mn<Mr.length;Mn+=1){var Br=Mr[Mn],Sn=Ir.locale.format(_n.locale,tt,Br);_r.push(Sn),Mn===0&&(Vr=Sn)}return[_r,Vr]},[tt,Mr],function(Vr,_r){return Vr[0]!==_r[0]||!Ui()(Vr[1],_r[1])})}function Di(tt,lr){var Mr=lr.formatList,Ir=lr.generateConfig,_n=lr.locale,Vr=Object(c.useState)(null),_r=Object(H.a)(Vr,2),Mn=_r[0],Br=_r[1],Sn=Object(c.useRef)(null);function jn(ai){var Pi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Sn.current),Pi){Br(ai);return}Sn.current=requestAnimationFrame(function(){Br(ai)})}var Hn=$i(Mn,{formatList:Mr,generateConfig:Ir,locale:_n}),Bn=Object(H.a)(Hn,2),ri=Bn[1];function Yn(ai){jn(ai)}function ii(){var ai=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;jn(null,ai)}return Object(c.useEffect)(function(){ii(!0)},[tt]),Object(c.useEffect)(function(){return function(){return cancelAnimationFrame(Sn.current)}},[]),[ri,Yn,ii]}function ua(tt){var lr,Mr=tt.prefixCls,Ir=Mr===void 0?"rc-picker":Mr,_n=tt.id,Vr=tt.tabIndex,_r=tt.style,Mn=tt.className,Br=tt.dropdownClassName,Sn=tt.dropdownAlign,jn=tt.popupStyle,Hn=tt.transitionName,Bn=tt.generateConfig,ri=tt.locale,Yn=tt.inputReadOnly,ii=tt.allowClear,ai=tt.autoFocus,Pi=tt.showTime,yi=tt.picker,Ki=yi===void 0?"date":yi,va=tt.format,ea=tt.use12Hours,Ji=tt.value,sa=tt.defaultValue,fa=tt.open,xo=tt.defaultOpen,Qa=tt.defaultOpenValue,Wi=tt.suffixIcon,qi=tt.clearIcon,ca=tt.disabled,ma=tt.disabledDate,Pa=tt.placeholder,La=tt.getPopupContainer,Za=tt.pickerRef,eo=tt.panelRender,ko=tt.onChange,jo=tt.onOpenChange,cs=tt.onFocus,Mo=tt.onBlur,Lo=tt.onMouseDown,Ba=tt.onMouseUp,za=tt.onMouseEnter,Ca=tt.onMouseLeave,Po=tt.onContextMenu,Qo=tt.onClick,so=tt.direction,Os=tt.autoComplete,ho=Os===void 0?"off":Os,bo=c.useRef(null),ds=Ki==="date"&&!!Pi||Ki==="time",Ho=Ne(et(va,Ki,Pi,ea)),zo=c.useRef(null),rn=c.useRef(null),es=Object(K.a)(null,{value:Ji,defaultValue:sa}),Js=Object(H.a)(es,2),Es=Js[0],gs=Js[1],Ko=c.useState(Es),hs=Object(H.a)(Ko,2),bs=hs[0],ws=hs[1],qo=c.useRef(null),us=Object(K.a)(!1,{value:fa,defaultValue:xo,postState:function(Ka){return ca?!1:Ka},onChange:function(Ka){jo&&jo(Ka),!Ka&&qo.current&&qo.current.onClose&&qo.current.onClose()}}),_s=Object(H.a)(us,2),As=_s[0],Ao=_s[1],to=$i(bs,{formatList:Ho,generateConfig:Bn,locale:ri}),Jo=Object(H.a)(to,2),ts=Jo[0],Ha=Jo[1],Ct=Ai({valueTexts:ts,onTextChange:function(Ka){var is=Bn.locale.parse(ri.locale,Ka,Ho);is&&(!ma||!ma(is))&&ws(is)}}),Wt=Object(H.a)(Ct,3),cn=Wt[0],zn=Wt[1],ht=Wt[2],Z=function(Ka){ws(Ka),gs(Ka),ko&&!Yt(Bn,Es,Ka)&&ko(Ka,Ka?Bn.locale.format(ri.locale,Ka,Ho[0]):"")},se=function(Ka){if(ca&&Ka)return;Ao(Ka)},pe=function(Ka){return As&&qo.current&&qo.current.onKeyDown?qo.current.onKeyDown(Ka):(Object(S.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ue=function(){Ba&&Ba.apply(void 0,arguments),bo.current&&(bo.current.focus(),se(!0))},ft=vi({blurToCancel:ds,open:As,value:cn,triggerOpen:se,forwardKeyDown:pe,isClickOutside:function(Ka){return!fe([zo.current,rn.current],Ka)},onSubmit:function(){return ma&&ma(bs)?!1:(Z(bs),se(!1),ht(),!0)},onCancel:function(){se(!1),ws(Es),ht()},onFocus:cs,onBlur:Mo}),zt=Object(H.a)(ft,2),Dr=zt[0],Xr=zt[1],dn=Xr.focused,Kn=Xr.typing;c.useEffect(function(){As||(ws(Es),!ts.length||ts[0]===""?zn(""):Ha!==cn&&ht())},[As,ts]),c.useEffect(function(){As||ht()},[Ki]),c.useEffect(function(){ws(Es)},[Es]),Za&&(Za.current={focus:function(){bo.current&&bo.current.focus()},blur:function(){bo.current&&bo.current.blur()}});var $n=Object(B.a)(Object(B.a)({},tt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),Qn=c.createElement(Fr,Object.assign({},$n,{generateConfig:Bn,className:T()(Object(U.a)({},"".concat(Ir,"-panel-focused"),!Kn)),value:bs,locale:ri,tabIndex:-1,onChange:ws,direction:so}));eo&&(Qn=eo(Qn));var Ei=c.createElement("div",{className:"".concat(Ir,"-panel-container"),onMouseDown:function(Ka){Ka.preventDefault()}},Qn),Fi;Wi&&(Fi=c.createElement("span",{className:"".concat(Ir,"-suffix")},Wi));var Aa;ii&&Es&&!ca&&(Aa=c.createElement("span",{onMouseDown:function(Ka){Ka.preventDefault(),Ka.stopPropagation()},onMouseUp:function(Ka){Ka.preventDefault(),Ka.stopPropagation(),Z(null),se(!1)},className:"".concat(Ir,"-clear")},qi||c.createElement("span",{className:"".concat(Ir,"-clear-btn")})));var Oa=function(Ka,is){(is==="submit"||is!=="key"&&!ds)&&(Z(Ka),se(!1))},fo=so==="rtl"?"bottomRight":"bottomLeft",wo=Di(cn,{formatList:Ho,generateConfig:Bn,locale:ri}),lo=Object(H.a)(wo,3),Yo=lo[0],Vo=lo[1],No=lo[2];return c.createElement(re.Provider,{value:{operationRef:qo,hideHeader:Ki==="time",panelRef:zo,onSelect:Oa,open:As,defaultOpenValue:Qa,onDateMouseEnter:Vo,onDateMouseLeave:No}},c.createElement(Si,{visible:As,popupElement:Ei,popupStyle:jn,prefixCls:Ir,dropdownClassName:Br,dropdownAlign:Sn,getPopupContainer:La,transitionName:Hn,popupPlacement:fo,direction:so},c.createElement("div",{className:T()(Ir,Mn,(lr={},Object(U.a)(lr,"".concat(Ir,"-disabled"),ca),Object(U.a)(lr,"".concat(Ir,"-focused"),dn),Object(U.a)(lr,"".concat(Ir,"-rtl"),so==="rtl"),lr)),style:_r,onMouseDown:Lo,onMouseUp:Ue,onMouseEnter:za,onMouseLeave:Ca,onContextMenu:Po,onClick:Qo},c.createElement("div",{className:T()("".concat(Ir,"-input"),Object(U.a)({},"".concat(Ir,"-input-placeholder"),!!Yo)),ref:rn},c.createElement("input",Object.assign({id:_n,tabIndex:Vr,disabled:ca,readOnly:Yn||!Kn,value:Yo||cn,onChange:function(Ka){zn(Ka.target.value)},autoFocus:ai,placeholder:Pa,ref:bo,title:cn},Dr,{size:Re(Ki,Ho[0])},It(tt),{autoComplete:ho})),Fi,Aa))))}var aa=function(tt){Object(z.a)(Mr,tt);var lr=Object(R.a)(Mr);function Mr(){var Ir;return Object(F.a)(this,Mr),Ir=lr.apply(this,arguments),Ir.pickerRef=c.createRef(),Ir.focus=function(){Ir.pickerRef.current&&Ir.pickerRef.current.focus()},Ir.blur=function(){Ir.pickerRef.current&&Ir.pickerRef.current.blur()},Ir}return Object(j.a)(Mr,[{key:"render",value:function(){return c.createElement(ua,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Mr}(c.Component),Xi=aa;function Vi(tt,lr,Mr){var Ir=tt.picker,_n=tt.locale,Vr=tt.selectedValue,_r=tt.disabledDate,Mn=tt.disabled,Br=tt.generateConfig,Sn=Xe(Vr,0),jn=Xe(Vr,1);function Hn(ai){var Pi=Br.getYear(ai),yi=Br.locale.getWeek(_n.locale,ai);return Pi*100+yi}function Bn(ai){var Pi=Br.getYear(ai),yi=Br.getMonth(ai);return Pi*100+yi}function ri(ai){var Pi=Br.getYear(ai),yi=or(Br,ai);return Pi*10+yi}var Yn=c.useCallback(function(ai){if(_r&&_r(ai))return!0;if(Mn[1]&&jn)return!hr(Br,ai,jn)&&Br.isAfter(ai,jn);if(lr&&jn)switch(Ir){case"quarter":return ri(ai)>ri(jn);case"month":return Bn(ai)>Bn(jn);case"week":return Hn(ai)>Hn(jn);default:return!hr(Br,ai,jn)&&Br.isAfter(ai,jn)}return!1},[_r,Mn[1],jn,lr]),ii=c.useCallback(function(ai){if(_r&&_r(ai))return!0;if(Mn[0]&&Sn)return!hr(Br,ai,jn)&&Br.isAfter(Sn,ai);if(Mr&&Sn)switch(Ir){case"quarter":return ri(ai)<ri(Sn);case"month":return Bn(ai)<Bn(Sn);case"week":return Hn(ai)<Hn(Sn);default:return!hr(Br,ai,Sn)&&Br.isAfter(Sn,ai)}return!1},[_r,Mn[0],Sn,Mr]);return[Yn,ii]}function ta(tt,lr,Mr,Ir){var _n=pn(tt,Mr,Ir,1);function Vr(_r){return _r(tt,lr)?"same":_r(_n,lr)?"closing":"far"}switch(Mr){case"year":return Vr(function(_r,Mn){return Vt(Ir,_r,Mn)});case"quarter":case"month":return Vr(function(_r,Mn){return lt(Ir,_r,Mn)});default:return Vr(function(_r,Mn){return An(Ir,_r,Mn)})}}function Gi(tt,lr,Mr,Ir){var _n=Xe(tt,0),Vr=Xe(tt,1);if(lr===0)return _n;if(_n&&Vr){var _r=ta(_n,Vr,Mr,Ir);switch(_r){case"same":return _n;case"closing":return _n;default:return pn(Vr,Mr,Ir,-1)}}return _n}function ga(tt){var lr=tt.values,Mr=tt.picker,Ir=tt.defaultDates,_n=tt.generateConfig,Vr=c.useState(function(){return[Xe(Ir,0),Xe(Ir,1)]}),_r=Object(H.a)(Vr,2),Mn=_r[0],Br=_r[1],Sn=c.useState(null),jn=Object(H.a)(Sn,2),Hn=jn[0],Bn=jn[1],ri=Xe(lr,0),Yn=Xe(lr,1);function ii(Pi){return Mn[Pi]?Mn[Pi]:Xe(Hn,Pi)||Gi(lr,Pi,Mr,_n)||ri||Yn||_n.getNow()}function ai(Pi,yi){if(Pi){var Ki=Ot(Hn,Pi,yi);Br(Ot(Mn,null,yi)||[null,null]);var va=(yi+1)%2;Xe(lr,va)||(Ki=Ot(Ki,Pi,va)),Bn(Ki)}else(ri||Yn)&&Bn(null)}return[ii,ai]}function ra(tt,lr){return tt&&tt[0]&&tt[1]&&lr.isAfter(tt[0],tt[1])?[tt[1],tt[0]]:tt}function pa(tt,lr,Mr,Ir){return tt||Ir&&Ir[lr]?!0:!!Mr[(lr+1)%2]}function _a(tt){var lr,Mr,Ir,_n=tt.prefixCls,Vr=_n===void 0?"rc-picker":_n,_r=tt.id,Mn=tt.style,Br=tt.className,Sn=tt.popupStyle,jn=tt.dropdownClassName,Hn=tt.transitionName,Bn=tt.dropdownAlign,ri=tt.getPopupContainer,Yn=tt.generateConfig,ii=tt.locale,ai=tt.placeholder,Pi=tt.autoFocus,yi=tt.disabled,Ki=tt.format,va=tt.picker,ea=va===void 0?"date":va,Ji=tt.showTime,sa=tt.use12Hours,fa=tt.separator,xo=fa===void 0?"~":fa,Qa=tt.value,Wi=tt.defaultValue,qi=tt.defaultPickerValue,ca=tt.open,ma=tt.defaultOpen,Pa=tt.disabledDate,La=tt.disabledTime,Za=tt.dateRender,eo=tt.panelRender,ko=tt.ranges,jo=tt.allowEmpty,cs=tt.allowClear,Mo=tt.suffixIcon,Lo=tt.clearIcon,Ba=tt.pickerRef,za=tt.inputReadOnly,Ca=tt.mode,Po=tt.renderExtraFooter,Qo=tt.onChange,so=tt.onOpenChange,Os=tt.onPanelChange,ho=tt.onCalendarChange,bo=tt.onFocus,ds=tt.onBlur,Ho=tt.onOk,zo=tt.components,rn=tt.order,es=tt.direction,Js=tt.activePickerIndex,Es=tt.autoComplete,gs=Es===void 0?"off":Es,Ko=ea==="date"&&!!Ji||ea==="time",hs=Object(c.useRef)({}),bs=Object(c.useRef)(null),ws=Object(c.useRef)(null),qo=Object(c.useRef)(null),us=Object(c.useRef)(null),_s=Object(c.useRef)(null),As=Object(c.useRef)(null),Ao=Object(c.useRef)(null),to=Ne(et(Ki,ea,Ji,sa)),Jo=Object(K.a)(0,{value:Js}),ts=Object(H.a)(Jo,2),Ha=ts[0],Ct=ts[1],Wt=Object(c.useRef)(null),cn=c.useMemo(function(){return Array.isArray(yi)?yi:[yi||!1,yi||!1]},[yi]),zn=Object(K.a)(null,{value:Qa,defaultValue:Wi,postState:function(Na){return ea==="time"&&!rn?Na:ra(Na,Yn)}}),ht=Object(H.a)(zn,2),Z=ht[0],se=ht[1],pe=ga({values:Z,picker:ea,defaultDates:qi,generateConfig:Yn}),Ue=Object(H.a)(pe,2),ft=Ue[0],zt=Ue[1],Dr=Object(K.a)(Z,{postState:function(Na){var ro=Na;if(cn[0]&&cn[1])return ro;for(var Io=0;Io<2;Io+=1)cn[Io]&&!Xe(ro,Io)&&!Xe(jo,Io)&&(ro=Ot(ro,Yn.getNow(),Io));return ro}}),Xr=Object(H.a)(Dr,2),dn=Xr[0],Kn=Xr[1],$n=Object(K.a)([ea,ea],{value:Ca}),Qn=Object(H.a)($n,2),Ei=Qn[0],Fi=Qn[1];Object(c.useEffect)(function(){Fi([ea,ea])},[ea]);var Aa=function(Na,ro){Fi(Na),Os&&Os(ro,Na)},Oa=Vi({picker:ea,selectedValue:dn,locale:ii,disabled:cn,disabledDate:Pa,generateConfig:Yn},hs.current[1],hs.current[0]),fo=Object(H.a)(Oa,2),wo=fo[0],lo=fo[1],Yo=Object(K.a)(!1,{value:ca,defaultValue:ma,postState:function(Na){return cn[Ha]?!1:Na},onChange:function(Na){so&&so(Na),!Na&&Wt.current&&Wt.current.onClose&&Wt.current.onClose()}}),Vo=Object(H.a)(Yo,2),No=Vo[0],ao=Vo[1],Ka=No&&Ha===0,is=No&&Ha===1,Is=Object(c.useState)(0),Xo=Object(H.a)(Is,2),la=Xo[0],Vs=Xo[1];Object(c.useEffect)(function(){!No&&bs.current&&Vs(bs.current.offsetWidth)},[No]);var Hs=c.useRef();function fs(Bo,Na){if(Bo)clearTimeout(Hs.current),hs.current[Na]=!0,Ct(Na),ao(Bo),No||zt(null,Na);else if(Ha===Na){ao(Bo);var ro=hs.current;Hs.current=setTimeout(function(){ro===hs.current&&(hs.current={})})}}function as(Bo){fs(!0,Bo),setTimeout(function(){var Na=[As,Ao][Bo];Na.current&&Na.current.focus()},0)}function Ss(Bo,Na){var ro=Bo,Io=Xe(ro,0),Bs=Xe(ro,1);Io&&Bs&&Yn.isAfter(Io,Bs)&&(ea==="week"&&!nr(Yn,ii.locale,Io,Bs)||ea==="quarter"&&!vr(Yn,Io,Bs)||ea!=="week"&&ea!=="quarter"&&ea!=="time"&&!hr(Yn,Io,Bs)?(Na===0?(ro=[Io,null],Bs=null):(Io=null,ro=[null,Bs]),hs.current=Object(U.a)({},Na,!0)):(ea!=="time"||rn!==!1)&&(ro=ra(ro,Yn))),Kn(ro);var Ol=ro&&ro[0]?Yn.locale.format(ii.locale,ro[0],to[0]):"",_l=ro&&ro[1]?Yn.locale.format(ii.locale,ro[1],to[0]):"";if(ho){var ml={range:Na===0?"start":"end"};ho(ro,[Ol,_l],ml)}var vl=pa(Io,0,cn,jo),Il=pa(Bs,1,cn,jo),Ll=ro===null||vl&&Il;Ll&&(se(ro),Qo&&(!Yt(Yn,Xe(Z,0),Io)||!Yt(Yn,Xe(Z,1),Bs))&&Qo(ro,[Ol,_l]));var Ks=null;Na===0&&!cn[1]?Ks=1:Na===1&&!cn[0]&&(Ks=0),Ks!==null&&Ks!==Ha&&(!hs.current[Ks]||!Xe(ro,Ks))&&Xe(ro,Na)?as(Ks):fs(!1,Na)}var xl=function(Na){return No&&Wt.current&&Wt.current.onKeyDown?Wt.current.onKeyDown(Na):(Object(S.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Al={formatList:to,generateConfig:Yn,locale:ii},zs=$i(Xe(dn,0),Al),Zo=Object(H.a)(zs,2),vs=Zo[0],nl=Zo[1],ks=$i(Xe(dn,1),Al),po=Object(H.a)(ks,2),Wa=po[0],Eo=po[1],Go=function(Na,ro){var Io=Yn.locale.parse(ii.locale,Na,to),Bs=ro===0?wo:lo;Io&&!Bs(Io)&&(Kn(Ot(dn,Io,ro)),zt(Io,ro))},$o=Ai({valueTexts:vs,onTextChange:function(Na){return Go(Na,0)}}),To=Object(H.a)($o,3),rs=To[0],os=To[1],Fs=To[2],ol=Ai({valueTexts:Wa,onTextChange:function(Na){return Go(Na,1)}}),Zs=Object(H.a)(ol,3),dl=Zs[0],hl=Zs[1],sl=Zs[2],yl=Object(c.useState)(null),Ns=Object(H.a)(yl,2),ys=Ns[0],Ds=Ns[1],xs=Object(c.useState)(null),Gs=Object(H.a)(xs,2),ll=Gs[0],El=Gs[1],jl=Di(rs,{formatList:to,generateConfig:Yn,locale:ii}),$s=Object(H.a)(jl,3),Nl=$s[0],Pl=$s[1],yu=$s[2],cu=Di(dl,{formatList:to,generateConfig:Yn,locale:ii}),eu=Object(H.a)(cu,3),tu=eu[0],Vl=eu[1],Ys=eu[2],il=function(Na){El(Ot(dn,Na,Ha)),Ha===0?Pl(Na):Vl(Na)},fl=function(){El(Ot(dn,null,Ha)),Ha===0?yu():Ys()},kl=function(Na,ro){return{blurToCancel:Ko,forwardKeyDown:xl,onBlur:ds,isClickOutside:function(Bs){return!fe([ws.current,qo.current,us.current],Bs)},onFocus:function(Bs){Ct(Na),bo&&bo(Bs)},triggerOpen:function(Bs){fs(Bs,Na)},onSubmit:function(){Ss(dn,Na),ro()},onCancel:function(){fs(!1,Na),Kn(Z),ro()}}},du=vi(Object(B.a)(Object(B.a)({},kl(0,Fs)),{},{open:Ka,value:rs})),ru=Object(H.a)(du,2),nu=ru[0],Qs=ru[1],iu=Qs.focused,au=Qs.typing,bu=vi(Object(B.a)(Object(B.a)({},kl(1,sl)),{},{open:is,value:dl})),bl=Object(H.a)(bu,2),Fl=bl[0],Hl=bl[1],Xl=Hl.focused,Cl=Hl.typing,Cu=function(Na){!No&&!As.current.contains(Na.target)&&!Ao.current.contains(Na.target)&&(cn[0]?cn[1]||as(1):as(0))},Tu=function(Na){No&&(iu||Xl)&&!As.current.contains(Na.target)&&!Ao.current.contains(Na.target)&&Na.preventDefault()},Tl=Z&&Z[0]?Yn.locale.format(ii.locale,Z[0],"YYYYMMDDHHmmss"):"",ou=Z&&Z[1]?Yn.locale.format(ii.locale,Z[1],"YYYYMMDDHHmmss"):"";Object(c.useEffect)(function(){No||(Kn(Z),!vs.length||vs[0]===""?os(""):nl!==rs&&Fs(),!Wa.length||Wa[0]===""?hl(""):Eo!==dl&&sl())},[No,vs,Wa]),Object(c.useEffect)(function(){Kn(Z)},[Tl,ou]),Ba&&(Ba.current={focus:function(){As.current&&As.current.focus()},blur:function(){As.current&&As.current.blur(),Ao.current&&Ao.current.blur()}});var hu=Object.keys(ko||{}),su=hu.map(function(Bo){var Na=ko[Bo],ro=typeof Na=="function"?Na():Na;return{label:Bo,onClick:function(){Ss(ro,null),fs(!1,Ha)},onMouseEnter:function(){Ds(ro)},onMouseLeave:function(){Ds(null)}}});function Rs(){var Bo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Na=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ro=null;No&&ll&&ll[0]&&ll[1]&&Yn.isAfter(ll[1],ll[0])&&(ro=ll);var Io=Ji;if(Ji&&Object(V.a)(Ji)==="object"&&Ji.defaultValue){var Bs=Ji.defaultValue;Io=Object(B.a)(Object(B.a)({},Ji),{},{defaultValue:Xe(Bs,Ha)||void 0})}var Ol=null;return Za&&(Ol=function(ml,vl){return Za(ml,vl,{range:Ha?"end":"start"})}),c.createElement(Vn.Provider,{value:{inRange:!0,panelPosition:Bo,rangedValue:ys||dn,hoverRangedValue:ro}},c.createElement(Fr,Object.assign({},tt,Na,{dateRender:Ol,showTime:Io,mode:Ei[Ha],generateConfig:Yn,style:void 0,direction:es,disabledDate:Ha===0?wo:lo,disabledTime:function(ml){return La?La(ml,Ha===0?"start":"end"):!1},className:T()(Object(U.a)({},"".concat(Vr,"-panel-focused"),Ha===0?!au:!Cl)),value:Xe(dn,Ha),locale:ii,tabIndex:-1,onPanelChange:function(ml,vl){Aa(Ot(Ei,vl,Ha),Ot(dn,ml,Ha));var Il=ml;Bo==="right"&&Ei[Ha]===vl&&(Il=pn(Il,vl,Yn,-1)),zt(Il,Ha)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var el=0,Bl=0;Ha&&qo.current&&_s.current&&ws.current&&(el=qo.current.offsetWidth+_s.current.offsetWidth,ws.current.offsetWidth&&el>ws.current.offsetWidth&&(Bl=el));var wu=es==="rtl"?{right:el}:{left:el};function fu(){var Bo,Na=yr(Vr,Ei[Ha],Po),ro=gn({prefixCls:Vr,components:zo,needConfirmButton:Ko,okDisabled:!Xe(dn,Ha)||Pa&&Pa(dn[Ha]),locale:ii,rangeList:su,onOk:function(){Xe(dn,Ha)&&(Ss(dn,Ha),Ho&&Ho(dn))}});if(ea!=="time"&&!Ji){var Io=ft(Ha),Bs=pn(Io,ea,Yn),Ol=Ei[Ha],_l=Ol===ea,ml=Rs(_l?"left":!1,{pickerValue:Io,onPickerValueChange:function(Ks){zt(Ks,Ha)}}),vl=Rs("right",{pickerValue:Bs,onPickerValueChange:function(Ks){zt(pn(Ks,ea,Yn,-1),Ha)}});es==="rtl"?Bo=c.createElement(c.Fragment,null,vl,_l&&ml):Bo=c.createElement(c.Fragment,null,ml,_l&&vl)}else Bo=Rs();var Il=c.createElement(c.Fragment,null,c.createElement("div",{className:"".concat(Vr,"-panels")},Bo),(Na||ro)&&c.createElement("div",{className:"".concat(Vr,"-footer")},Na,ro));return eo&&(Il=eo(Il)),c.createElement("div",{className:"".concat(Vr,"-panel-container"),style:{marginLeft:Bl},ref:ws,onMouseDown:function(Ks){Ks.preventDefault()}},Il)}var Gl=c.createElement("div",{className:T()("".concat(Vr,"-range-wrapper"),"".concat(Vr,"-").concat(ea,"-range-wrapper")),style:{minWidth:la}},c.createElement("div",{className:"".concat(Vr,"-range-arrow"),style:wu}),fu()),Kl;Mo&&(Kl=c.createElement("span",{className:"".concat(Vr,"-suffix")},Mo));var lu;cs&&(Xe(Z,0)&&!cn[0]||Xe(Z,1)&&!cn[1])&&(lu=c.createElement("span",{onMouseDown:function(Na){Na.preventDefault(),Na.stopPropagation()},onMouseUp:function(Na){Na.preventDefault(),Na.stopPropagation();var ro=Z;cn[0]||(ro=Ot(ro,null,0)),cn[1]||(ro=Ot(ro,null,1)),Ss(ro,null),fs(!1,Ha)},className:"".concat(Vr,"-clear")},Lo||c.createElement("span",{className:"".concat(Vr,"-clear-btn")})));var pu={size:Re(ea,to[0])},mu=0,pl=0;qo.current&&us.current&&_s.current&&(Ha===0?pl=qo.current.offsetWidth:(mu=el,pl=us.current.offsetWidth));var wl=es==="rtl"?{right:mu}:{left:mu},Dl=function(Na,ro){var Io=Ot(dn,Na,Ha);ro==="submit"||ro!=="key"&&!Ko?(Ss(Io,Ha),Ha===0?yu():Ys()):Kn(Io)};return c.createElement(re.Provider,{value:{operationRef:Wt,hideHeader:ea==="time",onDateMouseEnter:il,onDateMouseLeave:fl,hideRanges:!0,onSelect:Dl,open:No}},c.createElement(Si,{visible:No,popupElement:Gl,popupStyle:Sn,prefixCls:Vr,dropdownClassName:jn,dropdownAlign:Bn,getPopupContainer:ri,transitionName:Hn,range:!0,direction:es},c.createElement("div",Object.assign({ref:bs,className:T()(Vr,"".concat(Vr,"-range"),Br,(lr={},Object(U.a)(lr,"".concat(Vr,"-disabled"),cn[0]&&cn[1]),Object(U.a)(lr,"".concat(Vr,"-focused"),Ha===0?iu:Xl),Object(U.a)(lr,"".concat(Vr,"-rtl"),es==="rtl"),lr)),style:Mn,onClick:Cu,onMouseDown:Tu},It(tt)),c.createElement("div",{className:T()("".concat(Vr,"-input"),(Mr={},Object(U.a)(Mr,"".concat(Vr,"-input-active"),Ha===0),Object(U.a)(Mr,"".concat(Vr,"-input-placeholder"),!!Nl),Mr)),ref:qo},c.createElement("input",Object.assign({id:_r,disabled:cn[0],readOnly:za||!au,value:Nl||rs,onChange:function(Na){os(Na.target.value)},autoFocus:Pi,placeholder:Xe(ai,0)||"",ref:As},nu,pu,{autoComplete:gs}))),c.createElement("div",{className:"".concat(Vr,"-range-separator"),ref:_s},xo),c.createElement("div",{className:T()("".concat(Vr,"-input"),(Ir={},Object(U.a)(Ir,"".concat(Vr,"-input-active"),Ha===1),Object(U.a)(Ir,"".concat(Vr,"-input-placeholder"),!!tu),Ir)),ref:us},c.createElement("input",Object.assign({disabled:cn[1],readOnly:za||!Cl,value:tu||dl,onChange:function(Na){hl(Na.target.value)},placeholder:Xe(ai,1)||"",ref:Ao},Fl,pu,{autoComplete:gs}))),c.createElement("div",{className:"".concat(Vr,"-active-bar"),style:Object(B.a)(Object(B.a)({},wl),{},{width:pl,position:"absolute"})}),Kl,lu)))}var Da=function(tt){Object(z.a)(Mr,tt);var lr=Object(R.a)(Mr);function Mr(){var Ir;return Object(F.a)(this,Mr),Ir=lr.apply(this,arguments),Ir.pickerRef=c.createRef(),Ir.focus=function(){Ir.pickerRef.current&&Ir.pickerRef.current.focus()},Ir.blur=function(){Ir.pickerRef.current&&Ir.pickerRef.current.blur()},Ir}return Object(j.a)(Mr,[{key:"render",value:function(){return c.createElement(_a,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Mr}(c.Component),Ra=Da,vo=Xi,ja=n("61s2");function Ya(tt,lr,Mr){return Mr!==void 0?Mr:tt==="year"&&lr.lang.yearPlaceholder?lr.lang.yearPlaceholder:tt==="quarter"&&lr.lang.quarterPlaceholder?lr.lang.quarterPlaceholder:tt==="month"&&lr.lang.monthPlaceholder?lr.lang.monthPlaceholder:tt==="week"&&lr.lang.weekPlaceholder?lr.lang.weekPlaceholder:tt==="time"&&lr.timePickerLocale.placeholder?lr.timePickerLocale.placeholder:lr.lang.placeholder}function Ia(tt,lr,Mr){return Mr!==void 0?Mr:tt==="year"&&lr.lang.yearPlaceholder?lr.lang.rangeYearPlaceholder:tt==="month"&&lr.lang.monthPlaceholder?lr.lang.rangeMonthPlaceholder:tt==="week"&&lr.lang.weekPlaceholder?lr.lang.rangeWeekPlaceholder:tt==="time"&&lr.timePickerLocale.placeholder?lr.timePickerLocale.rangePlaceholder:lr.lang.rangePlaceholder}var Va=n("uaoM"),co=n("H84U"),Ta=n("YMnH"),yo=n("3Nzz"),uo=function(tt,lr){var Mr={};for(var Ir in tt)Object.prototype.hasOwnProperty.call(tt,Ir)&&lr.indexOf(Ir)<0&&(Mr[Ir]=tt[Ir]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _n=0,Ir=Object.getOwnPropertySymbols(tt);_n<Ir.length;_n++)lr.indexOf(Ir[_n])<0&&Object.prototype.propertyIsEnumerable.call(tt,Ir[_n])&&(Mr[Ir[_n]]=tt[Ir[_n]]);return Mr};function Xa(tt){function lr(Br,Sn){var jn=function(Hn){w()(ri,Hn);var Bn=x()(ri);function ri(Yn){var ii;return u()(this,ri),ii=Bn.call(this,Yn),ii.pickerRef=c.createRef(),ii.focus=function(){ii.pickerRef.current&&ii.pickerRef.current.focus()},ii.blur=function(){ii.pickerRef.current&&ii.pickerRef.current.blur()},ii.getDefaultLocale=function(){var ai=ii.props.locale,Pi=d()(d()({},ja.a),ai);return Pi.lang=d()(d()({},Pi.lang),(ai||{}).lang),Pi},ii.renderPicker=function(ai){var Pi=ii.context,yi=Pi.getPrefixCls,Ki=Pi.direction,va=Pi.getPopupContainer,ea=ii.props,Ji=ea.prefixCls,sa=ea.getPopupContainer,fa=ea.className,xo=ea.size,Qa=ea.bordered,Wi=Qa===void 0?!0:Qa,qi=ea.placeholder,ca=uo(ea,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),ma=ii.props,Pa=ma.format,La=ma.showTime,Za=yi("picker",Ji),eo={showToday:!0},ko={};Br&&(ko.picker=Br);var jo=Br||ii.props.picker;return ko=d()(d()(d()({},ko),La?_o(d()({format:Pa,picker:jo},La)):{}),jo==="time"?_o(d()(d()({format:Pa},ii.props),{picker:jo})):{}),c.createElement(yo.b.Consumer,null,function(cs){var Mo,Lo=xo||cs;return c.createElement(vo,d()({ref:ii.pickerRef,placeholder:Ya(jo,ai,qi),suffixIcon:jo==="time"?c.createElement(L.a,null):c.createElement(C.a,null),clearIcon:c.createElement(k.a,null),allowClear:!0,transitionName:"slide-up"},eo,ca,ko,{locale:ai.lang,className:T()(fa,(Mo={},r()(Mo,"".concat(Za,"-").concat(Lo),Lo),r()(Mo,"".concat(Za,"-borderless"),!Wi),Mo)),prefixCls:Za,getPopupContainer:sa||va,generateConfig:tt,prevIcon:c.createElement("span",{className:"".concat(Za,"-prev-icon")}),nextIcon:c.createElement("span",{className:"".concat(Za,"-next-icon")}),superPrevIcon:c.createElement("span",{className:"".concat(Za,"-super-prev-icon")}),superNextIcon:c.createElement("span",{className:"".concat(Za,"-super-next-icon")}),components:Ro,direction:Ki}))})},Object(Va.a)(Br!=="quarter",Sn,"DatePicker.".concat(Sn," is legacy usage. Please use DatePicker[picker='").concat(Br,"'] directly.")),ii}return A()(ri,[{key:"render",value:function(){return c.createElement(Ta.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),ri}(c.Component);return jn.contextType=co.b,Sn&&(jn.displayName=Sn),jn}var Mr=lr(),Ir=lr("week","WeekPicker"),_n=lr("month","MonthPicker"),Vr=lr("year","YearPicker"),_r=lr("time","TimePicker"),Mn=lr("quarter","QuarterPicker");return{DatePicker:Mr,WeekPicker:Ir,MonthPicker:_n,YearPicker:Vr,TimePicker:_r,QuarterPicker:Mn}}var Oo=n("8ISB"),oa=n.n(Oo),qa=function(tt,lr){var Mr={};for(var Ir in tt)Object.prototype.hasOwnProperty.call(tt,Ir)&&lr.indexOf(Ir)<0&&(Mr[Ir]=tt[Ir]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _n=0,Ir=Object.getOwnPropertySymbols(tt);_n<Ir.length;_n++)lr.indexOf(Ir[_n])<0&&Object.prototype.propertyIsEnumerable.call(tt,Ir[_n])&&(Mr[Ir[_n]]=tt[Ir[_n]]);return Mr};function oo(tt){var lr=function(Mr){w()(_n,Mr);var Ir=x()(_n);function _n(){var Vr;return u()(this,_n),Vr=Ir.apply(this,arguments),Vr.pickerRef=c.createRef(),Vr.focus=function(){Vr.pickerRef.current&&Vr.pickerRef.current.focus()},Vr.blur=function(){Vr.pickerRef.current&&Vr.pickerRef.current.blur()},Vr.getDefaultLocale=function(){var _r=Vr.props.locale,Mn=d()(d()({},ja.a),_r);return Mn.lang=d()(d()({},Mn.lang),(_r||{}).lang),Mn},Vr.renderPicker=function(_r){var Mn=Vr.context,Br=Mn.getPrefixCls,Sn=Mn.direction,jn=Mn.getPopupContainer,Hn=Vr.props,Bn=Hn.prefixCls,ri=Hn.getPopupContainer,Yn=Hn.className,ii=Hn.size,ai=Hn.bordered,Pi=ai===void 0?!0:ai,yi=Hn.placeholder,Ki=qa(Hn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),va=Vr.props,ea=va.format,Ji=va.showTime,sa=va.picker,fa=Br("picker",Bn),xo={};return xo=d()(d()(d()({},xo),Ji?_o(d()({format:ea,picker:sa},Ji)):{}),sa==="time"?_o(d()(d()({format:ea},Vr.props),{picker:sa})):{}),c.createElement(yo.b.Consumer,null,function(Qa){var Wi,qi=ii||Qa;return c.createElement(Ra,d()({separator:c.createElement("span",{"aria-label":"to",className:"".concat(fa,"-separator")},c.createElement(oa.a,null)),ref:Vr.pickerRef,placeholder:Ia(sa,_r,yi),suffixIcon:sa==="time"?c.createElement(L.a,null):c.createElement(C.a,null),clearIcon:c.createElement(k.a,null),allowClear:!0,transitionName:"slide-up"},Ki,xo,{className:T()(Yn,(Wi={},r()(Wi,"".concat(fa,"-").concat(qi),qi),r()(Wi,"".concat(fa,"-borderless"),!Pi),Wi)),locale:_r.lang,prefixCls:fa,getPopupContainer:ri||jn,generateConfig:tt,prevIcon:c.createElement("span",{className:"".concat(fa,"-prev-icon")}),nextIcon:c.createElement("span",{className:"".concat(fa,"-next-icon")}),superPrevIcon:c.createElement("span",{className:"".concat(fa,"-super-prev-icon")}),superNextIcon:c.createElement("span",{className:"".concat(fa,"-super-next-icon")}),components:Ro,direction:Sn}))})},Vr}return A()(_n,[{key:"render",value:function(){return c.createElement(Ta.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),_n}(c.Component);return lr.contextType=co.b,lr}var Ro={button:t,rangeItem:e};function Ga(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}function _o(tt){var lr=tt.format,Mr=tt.picker,Ir=tt.showHour,_n=tt.showMinute,Vr=tt.showSecond,_r=tt.use12Hours,Mn=Ga(lr)[0],Br=d()({},tt);return Mn&&(!Mn.includes("s")&&Vr===void 0&&(Br.showSecond=!1),!Mn.includes("m")&&_n===void 0&&(Br.showMinute=!1),!Mn.includes("H")&&!Mn.includes("h")&&Ir===void 0&&(Br.showHour=!1),(Mn.includes("a")||Mn.includes("A"))&&_r===void 0&&(Br.use12Hours=!0)),Mr==="time"?Br:{showTime:Br}}function go(tt){var lr=Xa(tt),Mr=lr.DatePicker,Ir=lr.WeekPicker,_n=lr.MonthPicker,Vr=lr.YearPicker,_r=lr.TimePicker,Mn=lr.QuarterPicker,Br=oo(tt),Sn=Mr;return Sn.WeekPicker=Ir,Sn.MonthPicker=_n,Sn.YearPicker=Vr,Sn.RangePicker=Br,Sn.TimePicker=_r,Sn.QuarterPicker=Mn,Sn}var Ja=go,Fa=Ja(g),ha=N.a=Fa},"+lIL":function(M,N,n){var v=n("ProS");n("/ry/"),n("3OrL");var p=n("L5E0"),S=n("7Phj");v.registerVisual(p),v.registerLayout(S)},"+nKL":function(M,N,n){"use strict";var v=n("wx14"),p=n("rePB"),S=n("VTBJ"),m=n("ODXe"),g=n("Ff2n"),f=n("q1tI"),d=n("TSYQ"),c=n.n(d),o=n("t23M"),i=f.forwardRef(function($,ve){var Ce=$.height,Se=$.offset,Ke=$.children,ue=$.prefixCls,Le=$.onInnerResize,ee={},le={display:"flex",flexDirection:"column"};return Se!==void 0&&(ee={height:Ce,position:"relative",overflow:"hidden"},le=Object(S.a)(Object(S.a)({},le),{},{transform:"translateY(".concat(Se,"px)"),position:"absolute",left:0,right:0,top:0})),f.createElement("div",{style:ee},f.createElement(o.a,{onResize:function(Re){var Ae=Re.offsetHeight;Ae&&Le&&Le()}},f.createElement("div",{style:le,className:c()(Object(p.a)({},"".concat(ue,"-holder-inner"),ue)),ref:ve},Ke)))});i.displayName="Filler";var t=i,a=n("1OyB"),e=n("vuIU"),l=n("Ji7U"),r=n("LK+K"),s=n("wgJM"),u=20;function h($){return"touches"in $?$.touches[0].pageY:$.pageY}var A=function($){Object(l.a)(Ce,$);var ve=Object(r.a)(Ce);function Ce(){var Se;Object(a.a)(this,Ce);for(var Ke=arguments.length,ue=new Array(Ke),Le=0;Le<Ke;Le++)ue[Le]=arguments[Le];return Se=ve.call.apply(ve,[this].concat(ue)),Se.moveRaf=null,Se.scrollbarRef=f.createRef(),Se.thumbRef=f.createRef(),Se.visibleTimeout=null,Se.state={dragging:!1,pageY:null,startTop:null,visible:!1},Se.delayHidden=function(){clearTimeout(Se.visibleTimeout),Se.setState({visible:!0}),Se.visibleTimeout=setTimeout(function(){Se.setState({visible:!1})},2e3)},Se.onScrollbarTouchStart=function(ee){ee.preventDefault()},Se.onContainerMouseDown=function(ee){ee.stopPropagation(),ee.preventDefault()},Se.patchEvents=function(){window.addEventListener("mousemove",Se.onMouseMove),window.addEventListener("mouseup",Se.onMouseUp),Se.thumbRef.current.addEventListener("touchmove",Se.onMouseMove),Se.thumbRef.current.addEventListener("touchend",Se.onMouseUp)},Se.removeEvents=function(){var ee;window.removeEventListener("mousemove",Se.onMouseMove),window.removeEventListener("mouseup",Se.onMouseUp),(ee=Se.scrollbarRef.current)===null||ee===void 0||ee.removeEventListener("touchstart",Se.onScrollbarTouchStart),Se.thumbRef.current&&(Se.thumbRef.current.removeEventListener("touchstart",Se.onMouseDown),Se.thumbRef.current.removeEventListener("touchmove",Se.onMouseMove),Se.thumbRef.current.removeEventListener("touchend",Se.onMouseUp)),s.a.cancel(Se.moveRaf)},Se.onMouseDown=function(ee){var le=Se.props.onStartMove;Se.setState({dragging:!0,pageY:h(ee),startTop:Se.getTop()}),le(),Se.patchEvents(),ee.stopPropagation(),ee.preventDefault()},Se.onMouseMove=function(ee){var le=Se.state,et=le.dragging,Re=le.pageY,Ae=le.startTop,oe=Se.props.onScroll;if(s.a.cancel(Se.moveRaf),et){var ce=h(ee)-Re,be=Ae+ce,Te=Se.getEnableScrollRange(),Be=Se.getEnableHeightRange(),De=Be?be/Be:0,ae=Math.ceil(De*Te);Se.moveRaf=Object(s.a)(function(){oe(ae)})}},Se.onMouseUp=function(){var ee=Se.props.onStopMove;Se.setState({dragging:!1}),ee(),Se.removeEvents()},Se.getSpinHeight=function(){var ee=Se.props,le=ee.height,et=ee.count,Re=le/et*10;return Re=Math.max(Re,u),Re=Math.min(Re,le/2),Math.floor(Re)},Se.getEnableScrollRange=function(){var ee=Se.props,le=ee.scrollHeight,et=ee.height;return le-et||0},Se.getEnableHeightRange=function(){var ee=Se.props.height,le=Se.getSpinHeight();return ee-le||0},Se.getTop=function(){var ee=Se.props.scrollTop,le=Se.getEnableScrollRange(),et=Se.getEnableHeightRange();if(ee===0||le===0)return 0;var Re=ee/le;return Re*et},Se.showScroll=function(){var ee=Se.props,le=ee.height,et=ee.scrollHeight;return et>le},Se}return Object(e.a)(Ce,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(Ke){Ke.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ke=this.state,ue=Ke.dragging,Le=Ke.visible,ee=this.props.prefixCls,le=this.getSpinHeight(),et=this.getTop(),Re=this.showScroll(),Ae=Re&&Le;return f.createElement("div",{ref:this.scrollbarRef,className:c()("".concat(ee,"-scrollbar"),Object(p.a)({},"".concat(ee,"-scrollbar-show"),Re)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:Ae?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},f.createElement("div",{ref:this.thumbRef,className:c()("".concat(ee,"-scrollbar-thumb"),Object(p.a)({},"".concat(ee,"-scrollbar-thumb-moving"),ue)),style:{width:"100%",height:le,top:et,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Ce}(f.Component);function y($){var ve=$.children,Ce=$.setRef,Se=f.useCallback(function(Ke){Ce(Ke)},[]);return f.cloneElement(ve,{ref:Se})}function w($,ve,Ce,Se,Ke,ue){var Le=ue.getKey;return $.slice(ve,Ce+1).map(function(ee,le){var et=ve+le,Re=Ke(ee,et,{}),Ae=Le(ee);return f.createElement(y,{key:Ae,setRef:function(ce){return Se(ee,ce)}},Re)})}var b=n("m+aA"),x=function(){function $(){Object(a.a)(this,$),this.maps=void 0,this.maps=Object.create(null)}return Object(e.a)($,[{key:"set",value:function(Ce,Se){this.maps[Ce]=Se}},{key:"get",value:function(Ce){return this.maps[Ce]}}]),$}(),O=x;function T($,ve,Ce){var Se=f.useState(0),Ke=Object(m.a)(Se,2),ue=Ke[0],Le=Ke[1],ee=Object(f.useRef)(new Map),le=Object(f.useRef)(new O),et=Object(f.useRef)();function Re(){s.a.cancel(et.current)}function Ae(){Re(),et.current=Object(s.a)(function(){ee.current.forEach(function(ce,be){if(ce&&ce.offsetParent){var Te=Object(b.a)(ce),Be=Te.offsetHeight;le.current.get(be)!==Be&&le.current.set(be,Te.offsetHeight)}}),Le(function(ce){return ce+1})})}function oe(ce,be){var Te=$(ce),Be=ee.current.get(Te);be?(ee.current.set(Te,be),Ae()):ee.current.delete(Te),!Be!==!be&&(be?ve==null||ve(ce):Ce==null||Ce(ce))}return Object(f.useEffect)(function(){return Re},[]),[oe,Ae,le.current,ue]}var E=n("U8pU");function C($,ve,Ce,Se,Ke,ue,Le,ee){var le=f.useRef();return function(et){if(et==null){ee();return}if(s.a.cancel(le.current),typeof et=="number")Le(et);else if(et&&Object(E.a)(et)==="object"){var Re,Ae=et.align;"index"in et?Re=et.index:Re=ve.findIndex(function(Te){return Ke(Te)===et.key});var oe=et.offset,ce=oe===void 0?0:oe,be=function Te(Be,De){if(Be<0||!$.current)return;var ae=$.current.clientHeight,fe=!1,Oe=De;if(ae){for(var Je=De||Ae,Et=0,Ze=0,Ne=0,It=Math.min(ve.length,Re),Xe=0;Xe<=It;Xe+=1){var Ot=Ke(ve[Xe]);Ze=Et;var Bt=Ce.get(Ot);Ne=Ze+(Bt===void 0?Se:Bt),Et=Ne,Xe===Re&&Bt===void 0&&(fe=!0)}var kt=null;switch(Je){case"top":kt=Ze-ce;break;case"bottom":kt=Ne-ae+ce;break;default:{var _t=$.current.scrollTop,Ft=_t+ae;Ze<_t?Oe="top":Ne>Ft&&(Oe="bottom")}}kt!==null&&kt!==$.current.scrollTop&&Le(kt)}le.current=Object(s.a)(function(){fe&&ue(),Te(Be-1,Oe)})};be(3)}}}function _($,ve,Ce,Se){var Ke=Ce-$,ue=ve-Ce,Le=Math.min(Ke,ue)*2;if(Se<=Le){var ee=Math.floor(Se/2);return Se%2?Ce+ee+1:Ce-ee}return Ke>ue?Ce-(Se-ue):Ce+(Se-Ke)}function L($,ve,Ce){var Se=$.length,Ke=ve.length,ue,Le;if(Se===0&&Ke===0)return null;Se<Ke?(ue=$,Le=ve):(ue=ve,Le=$);var ee={__EMPTY_ITEM__:!0};function le(be){return be!==void 0?Ce(be):ee}for(var et=null,Re=Math.abs(Se-Ke)!==1,Ae=0;Ae<Le.length;Ae+=1){var oe=le(ue[Ae]),ce=le(Le[Ae]);if(oe!==ce){et=Ae,Re=Re||oe!==le(Le[Ae+1]);break}}return et===null?null:{index:et,multiple:Re}}function P($,ve,Ce){var Se=f.useState($),Ke=Object(m.a)(Se,2),ue=Ke[0],Le=Ke[1],ee=f.useState(null),le=Object(m.a)(ee,2),et=le[0],Re=le[1];return f.useEffect(function(){var Ae=L(ue||[],$||[],ve);(Ae==null?void 0:Ae.index)!==void 0&&(Ce==null||Ce(Ae.index),Re($[Ae.index])),Le($)},[$]),[et]}var k=(typeof navigator=="undefined"?"undefined":Object(E.a)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),F=k,j=function($,ve){var Ce=Object(f.useRef)(!1),Se=Object(f.useRef)(null);function Ke(){clearTimeout(Se.current),Ce.current=!0,Se.current=setTimeout(function(){Ce.current=!1},50)}var ue=Object(f.useRef)({top:$,bottom:ve});return ue.current.top=$,ue.current.bottom=ve,function(Le){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,le=Le<0&&ue.current.top||Le>0&&ue.current.bottom;return ee&&le?(clearTimeout(Se.current),Ce.current=!1):(!le||Ce.current)&&Ke(),!Ce.current&&le}};function z($,ve,Ce,Se){var Ke=Object(f.useRef)(0),ue=Object(f.useRef)(null),Le=Object(f.useRef)(null),ee=Object(f.useRef)(!1),le=j(ve,Ce);function et(Ae){if(!$)return;s.a.cancel(ue.current);var oe=Ae.deltaY;if(Ke.current+=oe,Le.current=oe,le(oe))return;F||Ae.preventDefault(),ue.current=Object(s.a)(function(){var ce=ee.current?10:1;Se(Ke.current*ce),Ke.current=0})}function Re(Ae){if(!$)return;ee.current=Ae.detail===Le.current}return[et,Re]}var R=n("TNol"),U=14/15;function B($,ve,Ce){var Se=Object(f.useRef)(!1),Ke=Object(f.useRef)(0),ue=Object(f.useRef)(null),Le=Object(f.useRef)(null),ee,le=function(oe){if(Se.current){var ce=Math.ceil(oe.touches[0].pageY),be=Ke.current-ce;Ke.current=ce,Ce(be)&&oe.preventDefault(),clearInterval(Le.current),Le.current=setInterval(function(){be*=U,(!Ce(be,!0)||Math.abs(be)<=.1)&&clearInterval(Le.current)},16)}},et=function(){Se.current=!1,ee()},Re=function(oe){ee(),oe.touches.length===1&&!Se.current&&(Se.current=!0,Ke.current=Math.ceil(oe.touches[0].pageY),ue.current=oe.target,ue.current.addEventListener("touchmove",le),ue.current.addEventListener("touchend",et))};ee=function(){ue.current&&(ue.current.removeEventListener("touchmove",le),ue.current.removeEventListener("touchend",et))},Object(R.a)(function(){return $&&ve.current.addEventListener("touchstart",Re),function(){var Ae;(Ae=ve.current)===null||Ae===void 0||Ae.removeEventListener("touchstart",Re),ee(),clearInterval(Le.current)}},[$])}var H=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"],K=[],V={overflowY:"auto",overflowAnchor:"none"};function W($,ve){var Ce=$.prefixCls,Se=Ce===void 0?"rc-virtual-list":Ce,Ke=$.className,ue=$.height,Le=$.itemHeight,ee=$.fullHeight,le=ee===void 0?!0:ee,et=$.style,Re=$.data,Ae=$.children,oe=$.itemKey,ce=$.virtual,be=$.component,Te=be===void 0?"div":be,Be=$.onScroll,De=$.onVisibleChange,ae=Object(g.a)($,H),fe=!!(ce!==!1&&ue&&Le),Oe=fe&&Re&&Le*Re.length>ue,Je=Object(f.useState)(0),Et=Object(m.a)(Je,2),Ze=Et[0],Ne=Et[1],It=Object(f.useState)(!1),Xe=Object(m.a)(It,2),Ot=Xe[0],Bt=Xe[1],kt=c()(Se,Ke),_t=Re||K,Ft=Object(f.useRef)(),ke=Object(f.useRef)(),te=Object(f.useRef)(),Q=f.useCallback(function(xt){return typeof oe=="function"?oe(xt):xt==null?void 0:xt[oe]},[oe]),qe={getKey:Q};function je(xt){Ne(function(rt){var it;typeof xt=="function"?it=xt(rt):it=xt;var $t=Pn(it);return Ft.current.scrollTop=$t,$t})}var q=Object(f.useRef)({start:0,end:_t.length}),wt=Object(f.useRef)(),Vt=P(_t,Q),lt=Object(m.a)(Vt,1),or=lt[0];wt.current=or;var vr=T(Q,null,null),An=Object(m.a)(vr,4),hr=An[0],xr=An[1],nr=An[2],Yt=An[3],gt=f.useMemo(function(){if(!fe)return{scrollHeight:void 0,start:0,end:_t.length-1,offset:void 0};if(!Oe){var xt;return{scrollHeight:((xt=ke.current)===null||xt===void 0?void 0:xt.offsetHeight)||0,start:0,end:_t.length-1,offset:void 0}}for(var rt=0,it,$t,Dt,St=_t.length,Ut=0;Ut<St;Ut+=1){var vt=_t[Ut],Pt=Q(vt),br=nr.get(Pt),ur=rt+(br===void 0?Le:br);ur>=Ze&&it===void 0&&(it=Ut,$t=rt),ur>Ze+ue&&Dt===void 0&&(Dt=Ut),rt=ur}return it===void 0&&(it=0,$t=0,Dt=Math.ceil(ue/Le)),Dt===void 0&&(Dt=_t.length-1),Dt=Math.min(Dt+1,_t.length),{scrollHeight:rt,start:it,end:Dt,offset:$t}},[Oe,fe,Ze,_t,Yt,ue]),zr=gt.scrollHeight,pn=gt.start,Nn=gt.end,Vn=gt.offset;q.current.start=pn,q.current.end=Nn;var xi=zr-ue,bn=Object(f.useRef)(xi);bn.current=xi;function Pn(xt){var rt=xt;return Number.isNaN(bn.current)||(rt=Math.min(rt,bn.current)),rt=Math.max(rt,0),rt}var jt=Ze<=0,At=Ze>=xi,xe=j(jt,At);function we(xt){var rt=xt;je(rt)}function Ee(xt){var rt=xt.currentTarget.scrollTop;rt!==Ze&&je(rt),Be==null||Be(xt)}var Ge=z(fe,jt,At,function(xt){je(function(rt){var it=rt+xt;return it})}),nt=Object(m.a)(Ge,2),st=nt[0],Mt=nt[1];B(fe,Ft,function(xt,rt){return xe(xt,rt)?!1:(st({preventDefault:function(){},deltaY:xt}),!0)}),Object(R.a)(function(){function xt(rt){fe&&rt.preventDefault()}return Ft.current.addEventListener("wheel",st),Ft.current.addEventListener("DOMMouseScroll",Mt),Ft.current.addEventListener("MozMousePixelScroll",xt),function(){Ft.current&&(Ft.current.removeEventListener("wheel",st),Ft.current.removeEventListener("DOMMouseScroll",Mt),Ft.current.removeEventListener("MozMousePixelScroll",xt))}},[fe]);var wr=C(Ft,_t,nr,Le,Q,xr,je,function(){var xt;(xt=te.current)===null||xt===void 0||xt.delayHidden()});f.useImperativeHandle(ve,function(){return{scrollTo:wr}}),Object(R.a)(function(){if(De){var xt=_t.slice(pn,Nn+1);De(xt,_t)}},[pn,Nn,_t]);var Pr=w(_t,pn,Nn,hr,Ae,qe),qr=null;return ue&&(qr=Object(S.a)(Object(p.a)({},le?"height":"maxHeight",ue),V),fe&&(qr.overflowY="hidden",Ot&&(qr.pointerEvents="none"))),f.createElement("div",Object(v.a)({style:Object(S.a)(Object(S.a)({},et),{},{position:"relative"}),className:kt},ae),f.createElement(Te,{className:"".concat(Se,"-holder"),style:qr,ref:Ft,onScroll:Ee},f.createElement(t,{prefixCls:Se,height:zr,offset:Vn,onInnerResize:xr,ref:ke},Pr)),fe&&f.createElement(A,{ref:te,prefixCls:Se,scrollTop:Ze,height:ue,scrollHeight:zr,count:_t.length,onScroll:we,onStartMove:function(){Bt(!0)},onStopMove:function(){Bt(!1)}}))}var G=f.forwardRef(W);G.displayName="List";var re=G,ye=N.a=re},"+rIm":function(M,N,n){var v=n("bYtY"),p=v.retrieve,S=v.defaults,m=v.extend,g=v.each,f=n("7aKB"),d=n("IwbS"),c=n("Qxkt"),o=n("OELB"),i=o.isRadianAroundZero,t=o.remRadian,a=n("oVpE"),e=a.createSymbol,l=n("Fofx"),r=n("QBsz"),s=r.applyTransform,u=n("aX7z"),h=u.shouldShowAllLabels,A=Math.PI,y=function(R,U){this.opt=U,this.axisModel=R,S(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new d.Group;var B=new d.Group({position:U.position.slice(),rotation:U.rotation});B.updateTransform(),this._transform=B.transform,this._dumbGroup=B};y.prototype={constructor:y,hasBuilder:function(R){return!!w[R]},add:function(R){w[R].call(this)},getGroup:function(){return this.group}};var w={axisLine:function(){var R=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var B=this.axisModel.axis.getExtent(),H=this._transform,K=[B[0],0],V=[B[1],0];H&&(s(K,K,H),s(V,V,H));var W=m({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new d.Line({anid:"line",subPixelOptimize:!0,shape:{x1:K[0],y1:K[1],x2:V[0],y2:V[1]},style:W,strokeContainThreshold:R.strokeContainThreshold||5,silent:!0,z2:1}));var G=U.get("axisLine.symbol"),re=U.get("axisLine.symbolSize"),ye=U.get("axisLine.symbolOffset")||0;if(typeof ye=="number"&&(ye=[ye,ye]),G!=null){typeof G=="string"&&(G=[G,G]),(typeof re=="string"||typeof re=="number")&&(re=[re,re]);var $=re[0],ve=re[1];g([{rotate:R.rotation+Math.PI/2,offset:ye[0],r:0},{rotate:R.rotation-Math.PI/2,offset:ye[1],r:Math.sqrt((K[0]-V[0])*(K[0]-V[0])+(K[1]-V[1])*(K[1]-V[1]))}],function(Ce,Se){if(G[Se]!=="none"&&G[Se]!=null){var Ke=e(G[Se],-$/2,-ve/2,$,ve,W.stroke,!0),ue=Ce.r+Ce.offset,Le=[K[0]+ue*Math.cos(R.rotation),K[1]-ue*Math.sin(R.rotation)];Ke.attr({rotation:Ce.rotate,position:Le,silent:!0,z2:11}),this.group.add(Ke)}},this)}},axisTickLabel:function(){var R=this.axisModel,U=this.opt,B=k(this,R,U),H=j(this,R,U);E(R,H,B),F(this,R,U)},axisName:function(){var R=this.opt,U=this.axisModel,B=p(R.axisName,U.get("name"));if(!B)return;var H=U.get("nameLocation"),K=R.nameDirection,V=U.getModel("nameTextStyle"),W=U.get("nameGap")||0,G=this.axisModel.axis.getExtent(),re=G[0]>G[1]?-1:1,ye=[H==="start"?G[0]-re*W:H==="end"?G[1]+re*W:(G[0]+G[1])/2,L(H)?R.labelOffset+K*W:0],$,ve=U.get("nameRotate");ve!=null&&(ve=ve*A/180);var Ce;L(H)?$=x(R.rotation,ve!=null?ve:R.rotation,K):($=O(R,H,ve||0,G),Ce=R.axisNameAvailableWidth,Ce!=null&&(Ce=Math.abs(Ce/Math.sin($.rotation)),!isFinite(Ce)&&(Ce=null)));var Se=V.getFont(),Ke=U.get("nameTruncate",!0)||{},ue=Ke.ellipsis,Le=p(R.nameTruncateMaxWidth,Ke.maxWidth,Ce),ee=ue!=null&&Le!=null?f.truncateText(B,Le,Se,ue,{minChar:2,placeholder:Ke.placeholder}):B,le=U.get("tooltip",!0),et=U.mainType,Re={componentType:et,name:B,$vars:["name"]};Re[et+"Index"]=U.componentIndex;var Ae=new d.Text({anid:"name",__fullText:B,__truncatedText:ee,position:ye,rotation:$.rotation,silent:T(U),z2:1,tooltip:le&&le.show?m({content:B,formatter:function(){return B},formatterParams:Re},le):null});d.setTextStyle(Ae.style,V,{text:ee,textFont:Se,textFill:V.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:V.get("align")||$.textAlign,textVerticalAlign:V.get("verticalAlign")||$.textVerticalAlign}),U.get("triggerEvent")&&(Ae.eventData=b(U),Ae.eventData.targetType="axisName",Ae.eventData.name=B),this._dumbGroup.add(Ae),Ae.updateTransform(),this.group.add(Ae),Ae.decomposeTransform()}},b=y.makeAxisEventDataBase=function(R){var U={componentType:R.mainType,componentIndex:R.componentIndex};return U[R.mainType+"Index"]=R.componentIndex,U},x=y.innerTextLayout=function(R,U,B){var H=t(U-R),K,V;return i(H)?(V=B>0?"top":"bottom",K="center"):i(H-A)?(V=B>0?"bottom":"top",K="center"):(V="middle",H>0&&H<A?K=B>0?"right":"left":K=B>0?"left":"right"),{rotation:H,textAlign:K,textVerticalAlign:V}};function O(R,U,B,H){var K=t(B-R.rotation),V,W,G=H[0]>H[1],re=U==="start"&&!G||U!=="start"&&G;return i(K-A/2)?(W=re?"bottom":"top",V="center"):i(K-A*1.5)?(W=re?"top":"bottom",V="center"):(W="middle",K<A*1.5&&K>A/2?V=re?"left":"right":V=re?"right":"left"),{rotation:K,textAlign:V,textVerticalAlign:W}}var T=y.isLabelSilent=function(R){var U=R.get("tooltip");return R.get("silent")||!(R.get("triggerEvent")||U&&U.show)};function E(R,U,B){if(h(R.axis))return;var H=R.get("axisLabel.showMinLabel"),K=R.get("axisLabel.showMaxLabel");U=U||[],B=B||[];var V=U[0],W=U[1],G=U[U.length-1],re=U[U.length-2],ye=B[0],$=B[1],ve=B[B.length-1],Ce=B[B.length-2];H===!1?(C(V),C(ye)):_(V,W)&&(H?(C(W),C($)):(C(V),C(ye))),K===!1?(C(G),C(ve)):_(re,G)&&(K?(C(re),C(Ce)):(C(G),C(ve)))}function C(R){R&&(R.ignore=!0)}function _(R,U,B){var H=R&&R.getBoundingRect().clone(),K=U&&U.getBoundingRect().clone();if(!H||!K)return;var V=l.identity([]);return l.rotate(V,V,-R.rotation),H.applyTransform(l.mul([],V,R.getLocalTransform())),K.applyTransform(l.mul([],V,U.getLocalTransform())),H.intersect(K)}function L(R){return R==="middle"||R==="center"}function P(R,U,B,H,K){for(var V=[],W=[],G=[],re=0;re<R.length;re++){var ye=R[re].coord;W[0]=ye,W[1]=0,G[0]=ye,G[1]=B,U&&(s(W,W,U),s(G,G,U));var $=new d.Line({anid:K+"_"+R[re].tickValue,subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:G[0],y2:G[1]},style:H,z2:2,silent:!0});V.push($)}return V}function k(R,U,B){var H=U.axis,K=U.getModel("axisTick");if(!K.get("show")||H.scale.isBlank())return;for(var V=K.getModel("lineStyle"),W=B.tickDirection*K.get("length"),G=H.getTicksCoords(),re=P(G,R._transform,W,S(V.getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")}),"ticks"),ye=0;ye<re.length;ye++)R.group.add(re[ye]);return re}function F(R,U,B){var H=U.axis,K=U.getModel("minorTick");if(!K.get("show")||H.scale.isBlank())return;var V=H.getMinorTicksCoords();if(!V.length)return;for(var W=K.getModel("lineStyle"),G=B.tickDirection*K.get("length"),re=S(W.getLineStyle(),S(U.getModel("axisTick").getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")})),ye=0;ye<V.length;ye++)for(var $=P(V[ye],R._transform,G,re,"minorticks_"+ye),ve=0;ve<$.length;ve++)R.group.add($[ve])}function j(R,U,B){var H=U.axis,K=p(B.axisLabelShow,U.get("axisLabel.show"));if(!K||H.scale.isBlank())return;var V=U.getModel("axisLabel"),W=V.get("margin"),G=H.getViewLabels(),re=(p(B.labelRotate,V.get("rotate"))||0)*A/180,ye=x(B.rotation,re,B.labelDirection),$=U.getCategories&&U.getCategories(!0),ve=[],Ce=T(U),Se=U.get("triggerEvent");return g(G,function(Ke,ue){var Le=Ke.tickValue,ee=Ke.formattedLabel,le=Ke.rawLabel,et=V;$&&$[Le]&&$[Le].textStyle&&(et=new c($[Le].textStyle,V,U.ecModel));var Re=et.getTextColor()||U.get("axisLine.lineStyle.color"),Ae=H.dataToCoord(Le),oe=[Ae,B.labelOffset+B.labelDirection*W],ce=new d.Text({anid:"label_"+Le,position:oe,rotation:ye.rotation,silent:Ce,z2:10});d.setTextStyle(ce.style,et,{text:ee,textAlign:et.getShallow("align",!0)||ye.textAlign,textVerticalAlign:et.getShallow("verticalAlign",!0)||et.getShallow("baseline",!0)||ye.textVerticalAlign,textFill:typeof Re=="function"?Re(H.type==="category"?le:H.type==="value"?Le+"":Le,ue):Re}),Se&&(ce.eventData=b(U),ce.eventData.targetType="axisLabel",ce.eventData.value=le),R._dumbGroup.add(ce),ce.updateTransform(),ve.push(ce),R.group.add(ce),ce.decomposeTransform()}),ve}var z=y;M.exports=z},"+wW9":function(M,N,n){var v=n("bYtY"),p=v.each,S=v.isArray,m=v.isObject,g=n("JuEJ"),f=n("4NO4"),d=f.normalizeToArray;function c(l,r){r=r.split(",");for(var s=l,u=0;u<r.length&&!(s=s&&s[r[u]],s==null);u++);return s}function o(l,r,s,u){r=r.split(",");for(var h=l,A,y=0;y<r.length-1;y++)A=r[y],h[A]==null&&(h[A]={}),h=h[A];(u||h[r[y]]==null)&&(h[r[y]]=s)}function i(l){p(t,function(r){r[0]in l&&!(r[1]in l)&&(l[r[1]]=l[r[0]])})}var t=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],a=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function e(l,r){g(l,r),l.series=d(l.series),p(l.series,function(s){if(!m(s))return;var u=s.type;if(u==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(u==="pie"||u==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(u==="gauge"){var h=c(s,"pointer.color");h!=null&&o(s,"itemStyle.color",h)}i(s)}),l.dataRange&&(l.visualMap=l.dataRange),p(a,function(s){var u=l[s];u&&(S(u)||(u=[u]),p(u,function(h){i(h)}))})}M.exports=e},"/IIm":function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("H6uX"),g=n("IwbS"),f=n("pP6R"),d=n("gPAo"),c=S.curry,o=S.each,i=S.map,t=Math.min,a=Math.max,e=Math.pow,l=1e4,r=6,s=6,u="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},A={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},w=0;function b(ae){m.call(this),this._zr=ae,this.group=new g.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},o(oe,function(fe,Oe){this._handlers[Oe]=S.bind(fe,this)},this)}b.prototype={constructor:b,enableBrush:function(ae){return this._brushType&&O(this),ae.brushType&&x(this,ae),this},setPanels:function(ae){if(ae&&ae.length){var fe=this._panels={};S.each(ae,function(Oe){fe[Oe.panelId]=S.clone(Oe)})}else this._panels=null;return this},mount:function(ae){ae=ae||{},this._enableGlobalPan=ae.enableGlobalPan;var fe=this.group;return this._zr.add(fe),fe.attr({position:ae.position||[0,0],rotation:ae.rotation||0,scale:ae.scale||[1,1]}),this._transform=fe.getLocalTransform(),this},eachCover:function(ae,fe){o(this._covers,ae,fe)},updateCovers:function(ae){ae=S.map(ae,function(Bt){return S.merge(S.clone(y),Bt,!0)});var fe="\0-brush-index-",Oe=this._covers,Je=this._covers=[],Et=this,Ze=this._creatingCover;return new d(Oe,ae,It,Ne).add(Xe).update(Xe).remove(Ot).execute(),this;function Ne(Bt,kt){return(Bt.id!=null?Bt.id:fe+kt)+"-"+Bt.brushType}function It(Bt,kt){return Ne(Bt.__brushOption,kt)}function Xe(Bt,kt){var _t=ae[Bt];if(kt!=null&&Oe[kt]===Ze)Je[Bt]=Oe[kt];else{var Ft=Je[Bt]=kt!=null?(Oe[kt].__brushOption=_t,Oe[kt]):_(Et,C(Et,_t));k(Et,Ft)}}function Ot(Bt){Oe[Bt]!==Ze&&Et.group.remove(Oe[Bt])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},S.mixin(b,m);function x(ae,fe){var Oe=ae._zr;ae._enableGlobalPan||f.take(Oe,u,ae._uid),T(Oe,ae._handlers),ae._brushType=fe.brushType,ae._brushOption=S.merge(S.clone(y),fe,!0)}function O(ae){var fe=ae._zr;f.release(fe,u,ae._uid),E(fe,ae._handlers),ae._brushType=ae._brushOption=null}function T(ae,fe){o(fe,function(Oe,Je){ae.on(Je,Oe)})}function E(ae,fe){o(fe,function(Oe,Je){ae.off(Je,Oe)})}function C(ae,fe){var Oe=Te[fe.brushType].createCover(ae,fe);return Oe.__brushOption=fe,P(Oe,fe),ae.group.add(Oe),Oe}function _(ae,fe){var Oe=F(fe);return Oe.endCreating&&(Oe.endCreating(ae,fe),P(fe,fe.__brushOption)),fe}function L(ae,fe){var Oe=fe.__brushOption;F(fe).updateCoverShape(ae,fe,Oe.range,Oe)}function P(ae,fe){var Oe=fe.z;Oe==null&&(Oe=l),ae.traverse(function(Je){Je.z=Oe,Je.z2=Oe})}function k(ae,fe){F(fe).updateCommon(ae,fe),L(ae,fe)}function F(ae){return Te[ae.__brushOption.brushType]}function j(ae,fe,Oe){var Je=ae._panels;if(!Je)return!0;var Et,Ze=ae._transform;return o(Je,function(Ne){Ne.isTargetByCursor(fe,Oe,Ze)&&(Et=Ne)}),Et}function z(ae,fe){var Oe=ae._panels;if(!Oe)return!0;var Je=fe.__brushOption.panelId;return Je!=null?Oe[Je]:!0}function R(ae){var fe=ae._covers,Oe=fe.length;return o(fe,function(Je){ae.group.remove(Je)},ae),fe.length=0,!!Oe}function U(ae,fe){var Oe=i(ae._covers,function(Je){var Et=Je.__brushOption,Ze=S.clone(Et.range);return{brushType:Et.brushType,panelId:Et.panelId,range:Ze}});ae.trigger("brush",Oe,{isEnd:!!fe.isEnd,removeOnClick:!!fe.removeOnClick})}function B(ae){var fe=ae._track;if(!fe.length)return!1;var Oe=fe[fe.length-1],Je=fe[0],Et=Oe[0]-Je[0],Ze=Oe[1]-Je[1],Ne=e(Et*Et+Ze*Ze,.5);return Ne>r}function H(ae){var fe=ae.length-1;return fe<0&&(fe=0),[ae[0],ae[fe]]}function K(ae,fe,Oe,Je){var Et=new g.Group;return Et.add(new g.Rect({name:"main",style:re(Oe),silent:!0,draggable:!0,cursor:"move",drift:c(ae,fe,Et,"nswe"),ondragend:c(U,fe,{isEnd:!0})})),o(Je,function(Ze){Et.add(new g.Rect({name:Ze,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:c(ae,fe,Et,Ze),ondragend:c(U,fe,{isEnd:!0})}))}),Et}function V(ae,fe,Oe,Je){var Et=Je.brushStyle.lineWidth||0,Ze=a(Et,s),Ne=Oe[0][0],It=Oe[1][0],Xe=Ne-Et/2,Ot=It-Et/2,Bt=Oe[0][1],kt=Oe[1][1],_t=Bt-Ze+Et/2,Ft=kt-Ze+Et/2,ke=Bt-Ne,te=kt-It,Q=ke+Et,qe=te+Et;G(ae,fe,"main",Ne,It,ke,te),Je.transformable&&(G(ae,fe,"w",Xe,Ot,Ze,qe),G(ae,fe,"e",_t,Ot,Ze,qe),G(ae,fe,"n",Xe,Ot,Q,Ze),G(ae,fe,"s",Xe,Ft,Q,Ze),G(ae,fe,"nw",Xe,Ot,Ze,Ze),G(ae,fe,"ne",_t,Ot,Ze,Ze),G(ae,fe,"sw",Xe,Ft,Ze,Ze),G(ae,fe,"se",_t,Ft,Ze,Ze))}function W(ae,fe){var Oe=fe.__brushOption,Je=Oe.transformable,Et=fe.childAt(0);Et.useStyle(re(Oe)),Et.attr({silent:!Je,cursor:Je?"move":"default"}),o(["w","e","n","s","se","sw","ne","nw"],function(Ze){var Ne=fe.childOfName(Ze),It=ve(ae,Ze);Ne&&Ne.attr({silent:!Je,invisible:!Je,cursor:Je?A[It]+"-resize":null})})}function G(ae,fe,Oe,Je,Et,Ze,Ne){var It=fe.childOfName(Oe);It&&It.setShape(Le(ue(ae,fe,[[Je,Et],[Je+Ze,Et+Ne]])))}function re(ae){return S.defaults({strokeNoScale:!0},ae.brushStyle)}function ye(ae,fe,Oe,Je){var Et=[t(ae,Oe),t(fe,Je)],Ze=[a(ae,Oe),a(fe,Je)];return[[Et[0],Ze[0]],[Et[1],Ze[1]]]}function $(ae){return g.getTransform(ae.group)}function ve(ae,fe){if(fe.length>1){fe=fe.split("");var Oe=[ve(ae,fe[0]),ve(ae,fe[1])];return(Oe[0]==="e"||Oe[0]==="w")&&Oe.reverse(),Oe.join("")}else{var Je={w:"left",e:"right",n:"top",s:"bottom"},Et={left:"w",right:"e",top:"n",bottom:"s"},Oe=g.transformDirection(Je[fe],$(ae));return Et[Oe]}}function Ce(ae,fe,Oe,Je,Et,Ze,Ne,It){var Xe=Je.__brushOption,Ot=ae(Xe.range),Bt=Ke(Oe,Ze,Ne);o(Et.split(""),function(kt){var _t=h[kt];Ot[_t[0]][_t[1]]+=Bt[_t[0]]}),Xe.range=fe(ye(Ot[0][0],Ot[1][0],Ot[0][1],Ot[1][1])),k(Oe,Je),U(Oe,{isEnd:!1})}function Se(ae,fe,Oe,Je,Et){var Ze=fe.__brushOption.range,Ne=Ke(ae,Oe,Je);o(Ze,function(It){It[0]+=Ne[0],It[1]+=Ne[1]}),k(ae,fe),U(ae,{isEnd:!1})}function Ke(ae,fe,Oe){var Je=ae.group,Et=Je.transformCoordToLocal(fe,Oe),Ze=Je.transformCoordToLocal(0,0);return[Et[0]-Ze[0],Et[1]-Ze[1]]}function ue(ae,fe,Oe){var Je=z(ae,fe);return Je&&Je!==!0?Je.clipPath(Oe,ae._transform):S.clone(Oe)}function Le(ae){var fe=t(ae[0][0],ae[1][0]),Oe=t(ae[0][1],ae[1][1]),Je=a(ae[0][0],ae[1][0]),Et=a(ae[0][1],ae[1][1]);return{x:fe,y:Oe,width:Je-fe,height:Et-Oe}}function ee(ae,fe,Oe){if(!ae._brushType||be(ae,fe))return;var Je=ae._zr,Et=ae._covers,Ze=j(ae,fe,Oe);if(!ae._dragging)for(var Ne=0;Ne<Et.length;Ne++){var It=Et[Ne].__brushOption;if(Ze&&(Ze===!0||It.panelId===Ze.panelId)&&Te[It.brushType].contain(Et[Ne],Oe[0],Oe[1]))return}Ze&&Je.setCursorStyle("crosshair")}function le(ae){var fe=ae.event;fe.preventDefault&&fe.preventDefault()}function et(ae,fe,Oe){return ae.childOfName("main").contain(fe,Oe)}function Re(ae,fe,Oe,Je){var Et=ae._creatingCover,Ze=ae._creatingPanel,Ne=ae._brushOption,It;if(ae._track.push(Oe.slice()),B(ae)||Et){if(Ze&&!Et){Ne.brushMode==="single"&&R(ae);var Xe=S.clone(Ne);Xe.brushType=Ae(Xe.brushType,Ze),Xe.panelId=Ze===!0?null:Ze.panelId,Et=ae._creatingCover=C(ae,Xe),ae._covers.push(Et)}if(Et){var Ot=Te[Ae(ae._brushType,Ze)],Bt=Et.__brushOption;Bt.range=Ot.getCreatingRange(ue(ae,Et,ae._track)),Je&&(_(ae,Et),Ot.updateCommon(ae,Et)),L(ae,Et),It={isEnd:Je}}}else Je&&Ne.brushMode==="single"&&Ne.removeOnClick&&(j(ae,fe,Oe)&&R(ae)&&(It={isEnd:Je,removeOnClick:!0}));return It}function Ae(ae,fe){return ae==="auto"?fe.defaultBrushType:ae}var oe={mousedown:function(ae){if(this._dragging)ce(this,ae);else if(!ae.target||!ae.target.draggable){le(ae);var fe=this.group.transformCoordToLocal(ae.offsetX,ae.offsetY);this._creatingCover=null;var Oe=this._creatingPanel=j(this,ae,fe);Oe&&(this._dragging=!0,this._track=[fe.slice()])}},mousemove:function(ae){var fe=ae.offsetX,Oe=ae.offsetY,Je=this.group.transformCoordToLocal(fe,Oe);if(ee(this,ae,Je),this._dragging){le(ae);var Et=Re(this,ae,Je,!1);Et&&U(this,Et)}},mouseup:function(ae){ce(this,ae)}};function ce(ae,fe){if(ae._dragging){le(fe);var Oe=fe.offsetX,Je=fe.offsetY,Et=ae.group.transformCoordToLocal(Oe,Je),Ze=Re(ae,fe,Et,!0);ae._dragging=!1,ae._track=[],ae._creatingCover=null,Ze&&U(ae,Ze)}}function be(ae,fe,Oe){var Je=ae._zr;return fe<0||fe>Je.getWidth()||Oe<0||Oe>Je.getHeight()}var Te={lineX:Be(0),lineY:Be(1),rect:{createCover:function(ae,fe){return K(c(Ce,function(Oe){return Oe},function(Oe){return Oe}),ae,fe,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(ae){var fe=H(ae);return ye(fe[1][0],fe[1][1],fe[0][0],fe[0][1])},updateCoverShape:function(ae,fe,Oe,Je){V(ae,fe,Oe,Je)},updateCommon:W,contain:et},polygon:{createCover:function(ae,fe){var Oe=new g.Group;return Oe.add(new g.Polyline({name:"main",style:re(fe),silent:!0})),Oe},getCreatingRange:function(ae){return ae},endCreating:function(ae,fe){fe.remove(fe.childAt(0)),fe.add(new g.Polygon({name:"main",draggable:!0,drift:c(Se,ae,fe),ondragend:c(U,ae,{isEnd:!0})}))},updateCoverShape:function(ae,fe,Oe,Je){fe.childAt(0).setShape({points:ue(ae,fe,Oe)})},updateCommon:W,contain:et}};function Be(ae){return{createCover:function(fe,Oe){return K(c(Ce,function(Je){var Et=[Je,[0,100]];return ae&&Et.reverse(),Et},function(Je){return Je[ae]}),fe,Oe,[["w","e"],["n","s"]][ae])},getCreatingRange:function(fe){var Oe=H(fe),Je=t(Oe[0][ae],Oe[1][ae]),Et=a(Oe[0][ae],Oe[1][ae]);return[Je,Et]},updateCoverShape:function(fe,Oe,Je,Et){var Ze,Ne=z(fe,Oe);if(Ne!==!0&&Ne.getLinearBrushOtherExtent)Ze=Ne.getLinearBrushOtherExtent(ae,fe._transform);else{var It=fe._zr;Ze=[0,[It.getWidth(),It.getHeight()][1-ae]]}var Xe=[Je,Ze];ae&&Xe.reverse(),V(fe,Oe,Xe,Et)},updateCommon:W,contain:et}}var De=b;M.exports=De},"/MfK":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="DeleteOutlined";var d=N.a=p.forwardRef(f)},"/POA":function(M,N,n){!function(v,p){if(!0)M.exports=p();else var S,m}(window,function(){return function(v){var p={};function S(m){if(p[m])return p[m].exports;var g=p[m]={i:m,l:!1,exports:{}};return v[m].call(g.exports,g,g.exports,S),g.l=!0,g.exports}return S.m=v,S.c=p,S.d=function(m,g,f){S.o(m,g)||Object.defineProperty(m,g,{enumerable:!0,get:f})},S.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},S.t=function(m,g){if(1&g&&(m=S(m)),8&g)return m;if(4&g&&typeof m=="object"&&m&&m.__esModule)return m;var f=Object.create(null);if(S.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:m}),2&g&&typeof m!="string")for(var d in m)S.d(f,d,function(c){return m[c]}.bind(null,d));return f},S.n=function(m){var g=m&&m.__esModule?function(){return m.default}:function(){return m};return S.d(g,"a",g),g},S.o=function(m,g){return Object.prototype.hasOwnProperty.call(m,g)},S.p="",S(S.s=34)}([function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.forwardEvent=p.EventEmitter=void 0;var m=function(){function g(){this._listeners=[],this._disposed=!1}return Object.defineProperty(g.prototype,"event",{get:function(){var d=this;return this._event||(this._event=function(c){return d._listeners.push(c),{dispose:function(){if(!d._disposed){for(var i=0;i<d._listeners.length;i++)if(d._listeners[i]===c)return void d._listeners.splice(i,1)}}}}),this._event},enumerable:!1,configurable:!0}),g.prototype.fire=function(f,d){for(var c=[],o=0;o<this._listeners.length;o++)c.push(this._listeners[o]);for(o=0;o<c.length;o++)c[o].call(void 0,f,d)},g.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},g}();p.EventEmitter=m,p.forwardEvent=function(g,f){return g(function(d){return f.fire(d)})}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.IUnicodeService=p.IOptionsService=p.ILogService=p.IInstantiationService=p.IDirtyRowService=p.ICharsetService=p.ICoreService=p.ICoreMouseService=p.IBufferService=void 0;var m=S(14);p.IBufferService=m.createDecorator("BufferService"),p.ICoreMouseService=m.createDecorator("CoreMouseService"),p.ICoreService=m.createDecorator("CoreService"),p.ICharsetService=m.createDecorator("CharsetService"),p.IDirtyRowService=m.createDecorator("DirtyRowService"),p.IInstantiationService=m.createDecorator("InstantiationService"),p.ILogService=m.createDecorator("LogService"),p.IOptionsService=m.createDecorator("OptionsService"),p.IUnicodeService=m.createDecorator("UnicodeService")},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.getDisposeArrayDisposable=p.disposeArray=p.Disposable=void 0;var m=function(){function f(){this._disposables=[],this._isDisposed=!1}return f.prototype.dispose=function(){this._isDisposed=!0;for(var d=0,c=this._disposables;d<c.length;d++)c[d].dispose();this._disposables.length=0},f.prototype.register=function(d){return this._disposables.push(d),d},f.prototype.unregister=function(d){var c=this._disposables.indexOf(d);c!==-1&&this._disposables.splice(c,1)},f}();function g(f){for(var d=0,c=f;d<c.length;d++)c[d].dispose();f.length=0}p.Disposable=m,p.disposeArray=g,p.getDisposeArrayDisposable=function(f){return{dispose:function(){return g(f)}}}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.WHITESPACE_CELL_CODE=p.WHITESPACE_CELL_WIDTH=p.WHITESPACE_CELL_CHAR=p.NULL_CELL_CODE=p.NULL_CELL_WIDTH=p.NULL_CELL_CHAR=p.CHAR_DATA_CODE_INDEX=p.CHAR_DATA_WIDTH_INDEX=p.CHAR_DATA_CHAR_INDEX=p.CHAR_DATA_ATTR_INDEX=p.DEFAULT_ATTR=p.DEFAULT_COLOR=void 0,p.DEFAULT_COLOR=256,p.DEFAULT_ATTR=256|p.DEFAULT_COLOR<<9,p.CHAR_DATA_ATTR_INDEX=0,p.CHAR_DATA_CHAR_INDEX=1,p.CHAR_DATA_WIDTH_INDEX=2,p.CHAR_DATA_CODE_INDEX=3,p.NULL_CELL_CHAR="",p.NULL_CELL_WIDTH=1,p.NULL_CELL_CODE=0,p.WHITESPACE_CELL_CHAR=" ",p.WHITESPACE_CELL_WIDTH=1,p.WHITESPACE_CELL_CODE=32},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(t,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,l){e.__proto__=l}||function(e,l){for(var r in l)l.hasOwnProperty(r)&&(e[r]=l[r])})(t,a)},function(i,t){function a(){this.constructor=i}m(i,t),i.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)});Object.defineProperty(p,"__esModule",{value:!0}),p.CellData=void 0;var f=S(8),d=S(3),c=S(6),o=function(i){function t(){var a=i!==null&&i.apply(this,arguments)||this;return a.content=0,a.fg=0,a.bg=0,a.extended=new c.ExtendedAttrs,a.combinedData="",a}return g(t,i),t.fromCharData=function(a){var e=new t;return e.setFromCharData(a),e},t.prototype.isCombined=function(){return 2097152&this.content},t.prototype.getWidth=function(){return this.content>>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?f.stringFromCodePoint(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(a){this.fg=a[d.CHAR_DATA_ATTR_INDEX],this.bg=0;var e=!1;if(a[d.CHAR_DATA_CHAR_INDEX].length>2)e=!0;else if(a[d.CHAR_DATA_CHAR_INDEX].length===2){var l=a[d.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var r=a[d.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(l-55296)+r-56320+65536|a[d.CHAR_DATA_WIDTH_INDEX]<<22:e=!0}else e=!0}else this.content=a[d.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|a[d.CHAR_DATA_WIDTH_INDEX]<<22;e&&(this.combinedData=a[d.CHAR_DATA_CHAR_INDEX],this.content=2097152|a[d.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(c.AttributeData);p.CellData=o},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.ISoundService=p.ISelectionService=p.IRenderService=p.IMouseService=p.ICoreBrowserService=p.ICharSizeService=void 0;var m=S(14);p.ICharSizeService=m.createDecorator("CharSizeService"),p.ICoreBrowserService=m.createDecorator("CoreBrowserService"),p.IMouseService=m.createDecorator("MouseService"),p.IRenderService=m.createDecorator("RenderService"),p.ISelectionService=m.createDecorator("SelectionService"),p.ISoundService=m.createDecorator("SoundService")},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.ExtendedAttrs=p.AttributeData=void 0;var m=function(){function f(){this.fg=0,this.bg=0,this.extended=new g}return f.toColorRGB=function(d){return[d>>>16&255,d>>>8&255,255&d]},f.fromColorRGB=function(d){return(255&d[0])<<16|(255&d[1])<<8|255&d[2]},f.prototype.clone=function(){var d=new f;return d.fg=this.fg,d.bg=this.bg,d.extended=this.extended.clone(),d},f.prototype.isInverse=function(){return 67108864&this.fg},f.prototype.isBold=function(){return 134217728&this.fg},f.prototype.isUnderline=function(){return 268435456&this.fg},f.prototype.isBlink=function(){return 536870912&this.fg},f.prototype.isInvisible=function(){return 1073741824&this.fg},f.prototype.isItalic=function(){return 67108864&this.bg},f.prototype.isDim=function(){return 134217728&this.bg},f.prototype.getFgColorMode=function(){return 50331648&this.fg},f.prototype.getBgColorMode=function(){return 50331648&this.bg},f.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},f.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},f.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},f.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},f.prototype.isFgDefault=function(){return(50331648&this.fg)==0},f.prototype.isBgDefault=function(){return(50331648&this.bg)==0},f.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},f.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},f.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},f.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},f.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},f.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},f.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},f.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},f.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},f.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},f.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},f}();p.AttributeData=m;var g=function(){function f(d,c){d===void 0&&(d=0),c===void 0&&(c=-1),this.underlineStyle=d,this.underlineColor=c}return f.prototype.clone=function(){return new f(this.underlineStyle,this.underlineColor)},f.prototype.isEmpty=function(){return this.underlineStyle===0},f}();p.ExtendedAttrs=g},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.addDisposableDomListener=void 0,p.addDisposableDomListener=function(m,g,f,d){m.addEventListener(g,f,d);var c=!1;return{dispose:function(){c||(c=!0,m.removeEventListener(g,f,d))}}}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.Utf8ToUtf32=p.StringToUtf32=p.utf32ToString=p.stringFromCodePoint=void 0,p.stringFromCodePoint=function(f){return f>65535?(f-=65536,String.fromCharCode(55296+(f>>10))+String.fromCharCode(f%1024+56320)):String.fromCharCode(f)},p.utf32ToString=function(f,d,c){d===void 0&&(d=0),c===void 0&&(c=f.length);for(var o="",i=d;i<c;++i){var t=f[i];t>65535?(t-=65536,o+=String.fromCharCode(55296+(t>>10))+String.fromCharCode(t%1024+56320)):o+=String.fromCharCode(t)}return o};var m=function(){function f(){this._interim=0}return f.prototype.clear=function(){this._interim=0},f.prototype.decode=function(d,c){var o=d.length;if(!o)return 0;var i=0,t=0;this._interim&&(56320<=(l=d.charCodeAt(t++))&&l<=57343?c[i++]=1024*(this._interim-55296)+l-56320+65536:(c[i++]=this._interim,c[i++]=l),this._interim=0);for(var a=t;a<o;++a){var e=d.charCodeAt(a);if(55296<=e&&e<=56319){if(++a>=o)return this._interim=e,i;var l;56320<=(l=d.charCodeAt(a))&&l<=57343?c[i++]=1024*(e-55296)+l-56320+65536:(c[i++]=e,c[i++]=l)}else c[i++]=e}return i},f}();p.StringToUtf32=m;var g=function(){function f(){this.interim=new Uint8Array(3)}return f.prototype.clear=function(){this.interim.fill(0)},f.prototype.decode=function(d,c){var o=d.length;if(!o)return 0;var i,t,a,e,l=0,r=0,s=0;if(this.interim[0]){var u=!1,h=this.interim[0];h&=(224&h)==192?31:(240&h)==224?15:7;for(var A=0,y=void 0;(y=63&this.interim[++A])&&A<4;)h<<=6,h|=y;for(var w=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,b=w-A;s<b;){if(s>=o)return 0;if((192&(y=d[s++]))!=128){s--,u=!0;break}this.interim[A++]=y,h<<=6,h|=63&y}u||(w===2?h<128?s--:c[l++]=h:w===3?h<2048||h>=55296&&h<=57343||(c[l++]=h):h<65536||h>1114111||(c[l++]=h)),this.interim.fill(0)}for(var x=o-4,O=s;O<o;){for(;!(!(O<x)||128&(i=d[O])||128&(t=d[O+1])||128&(a=d[O+2])||128&(e=d[O+3]));)c[l++]=i,c[l++]=t,c[l++]=a,c[l++]=e,O+=4;if((i=d[O++])<128)c[l++]=i;else if((224&i)==192){if(O>=o)return this.interim[0]=i,l;if((192&(t=d[O++]))!=128){O--;continue}if((r=(31&i)<<6|63&t)<128){O--;continue}c[l++]=r}else if((240&i)==224){if(O>=o)return this.interim[0]=i,l;if((192&(t=d[O++]))!=128){O--;continue}if(O>=o)return this.interim[0]=i,this.interim[1]=t,l;if((192&(a=d[O++]))!=128){O--;continue}if((r=(15&i)<<12|(63&t)<<6|63&a)<2048||r>=55296&&r<=57343)continue;c[l++]=r}else if((248&i)==240){if(O>=o)return this.interim[0]=i,l;if((192&(t=d[O++]))!=128){O--;continue}if(O>=o)return this.interim[0]=i,this.interim[1]=t,l;if((192&(a=d[O++]))!=128){O--;continue}if(O>=o)return this.interim[0]=i,this.interim[1]=t,this.interim[2]=a,l;if((192&(e=d[O++]))!=128){O--;continue}if((r=(7&i)<<18|(63&t)<<12|(63&a)<<6|63&e)<65536||r>1114111)continue;c[l++]=r}}return l},f}();p.Utf8ToUtf32=g},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CHAR_ATLAS_CELL_SPACING=p.DIM_OPACITY=p.INVERTED_DEFAULT_COLOR=void 0,p.INVERTED_DEFAULT_COLOR=257,p.DIM_OPACITY=.5,p.CHAR_ATLAS_CELL_SPACING=1},function(v,p,S){"use strict";var m,g,f,d;function c(i){var t=i.toString(16);return t.length<2?"0"+t:t}function o(i,t){return i<t?(t+.05)/(i+.05):(i+.05)/(t+.05)}Object.defineProperty(p,"__esModule",{value:!0}),p.contrastRatio=p.toPaddedHex=p.rgba=p.rgb=p.css=p.color=p.channels=void 0,function(i){i.toCss=function(t,a,e,l){return l!==void 0?"#"+c(t)+c(a)+c(e)+c(l):"#"+c(t)+c(a)+c(e)},i.toRgba=function(t,a,e,l){return l===void 0&&(l=255),(t<<24|a<<16|e<<8|l)>>>0}}(m=p.channels||(p.channels={})),(g=p.color||(p.color={})).blend=function(i,t){var a=(255&t.rgba)/255;if(a===1)return{css:t.css,rgba:t.rgba};var e=t.rgba>>24&255,l=t.rgba>>16&255,r=t.rgba>>8&255,s=i.rgba>>24&255,u=i.rgba>>16&255,h=i.rgba>>8&255,A=s+Math.round((e-s)*a),y=u+Math.round((l-u)*a),w=h+Math.round((r-h)*a);return{css:m.toCss(A,y,w),rgba:m.toRgba(A,y,w)}},g.isOpaque=function(i){return(255&i.rgba)==255},g.ensureContrastRatio=function(i,t,a){var e=d.ensureContrastRatio(i.rgba,t.rgba,a);if(e)return d.toColor(e>>24&255,e>>16&255,e>>8&255)},g.opaque=function(i){var t=(255|i.rgba)>>>0,a=d.toChannels(t),e=a[0],l=a[1],r=a[2];return{css:m.toCss(e,l,r),rgba:t}},g.opacity=function(i,t){var a=Math.round(255*t),e=d.toChannels(i.rgba),l=e[0],r=e[1],s=e[2];return{css:m.toCss(l,r,s,a),rgba:m.toRgba(l,r,s,a)}},(p.css||(p.css={})).toColor=function(i){switch(i.length){case 7:return{css:i,rgba:(parseInt(i.slice(1),16)<<8|255)>>>0};case 9:return{css:i,rgba:parseInt(i.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(i){function t(a,e,l){var r=a/255,s=e/255,u=l/255;return .2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))}i.relativeLuminance=function(a){return t(a>>16&255,a>>8&255,255&a)},i.relativeLuminance2=t}(f=p.rgb||(p.rgb={})),function(i){function t(e,l,r){for(var s=e>>24&255,u=e>>16&255,h=e>>8&255,A=l>>24&255,y=l>>16&255,w=l>>8&255,b=o(f.relativeLuminance2(A,w,y),f.relativeLuminance2(s,u,h));b<r&&(A>0||y>0||w>0);)A-=Math.max(0,Math.ceil(.1*A)),y-=Math.max(0,Math.ceil(.1*y)),w-=Math.max(0,Math.ceil(.1*w)),b=o(f.relativeLuminance2(A,w,y),f.relativeLuminance2(s,u,h));return(A<<24|y<<16|w<<8|255)>>>0}function a(e,l,r){for(var s=e>>24&255,u=e>>16&255,h=e>>8&255,A=l>>24&255,y=l>>16&255,w=l>>8&255,b=o(f.relativeLuminance2(A,w,y),f.relativeLuminance2(s,u,h));b<r&&(A<255||y<255||w<255);)A=Math.min(255,A+Math.ceil(.1*(255-A))),y=Math.min(255,y+Math.ceil(.1*(255-y))),w=Math.min(255,w+Math.ceil(.1*(255-w))),b=o(f.relativeLuminance2(A,w,y),f.relativeLuminance2(s,u,h));return(A<<24|y<<16|w<<8|255)>>>0}i.ensureContrastRatio=function(e,l,r){var s=f.relativeLuminance(e>>8),u=f.relativeLuminance(l>>8);if(o(s,u)<r)return u<s?t(e,l,r):a(e,l,r)},i.reduceLuminance=t,i.increaseLuminance=a,i.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},i.toColor=function(e,l,r){return{css:m.toCss(e,l,r),rgba:m.toRgba(e,l,r)}}}(d=p.rgba||(p.rgba={})),p.toPaddedHex=c,p.contrastRatio=o},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.isLinux=p.isWindows=p.isIphone=p.isIpad=p.isMac=p.isSafari=p.isFirefox=void 0;var m=typeof navigator=="undefined",g=m?"node":navigator.userAgent,f=m?"node":navigator.platform;function d(c,o){return c.indexOf(o)>=0}p.isFirefox=!!~g.indexOf("Firefox"),p.isSafari=/^((?!chrome|android).)*safari/i.test(g),p.isMac=d(["Macintosh","MacIntel","MacPPC","Mac68K"],f),p.isIpad=f==="iPad",p.isIphone=f==="iPhone",p.isWindows=d(["Windows","Win16","Win32","WinCE"],f),p.isLinux=f.indexOf("Linux")>=0},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.C1=p.C0=void 0,function(m){m.NUL="\0",m.SOH="",m.STX="",m.ETX="",m.EOT="",m.ENQ="",m.ACK="",m.BEL="\x07",m.BS="\b",m.HT=" ",m.LF=`
`,m.VT="\v",m.FF="\f",m.CR="\r",m.SO="",m.SI="",m.DLE="",m.DC1="",m.DC2="",m.DC3="",m.DC4="",m.NAK="",m.SYN="",m.ETB="",m.CAN="",m.EM="",m.SUB="",m.ESC="",m.FS="",m.GS="",m.RS="",m.US="",m.SP=" ",m.DEL="\x7F"}(p.C0||(p.C0={})),function(m){m.PAD="\x80",m.HOP="\x81",m.BPH="\x82",m.NBH="\x83",m.IND="\x84",m.NEL="\x85",m.SSA="\x86",m.ESA="\x87",m.HTS="\x88",m.HTJ="\x89",m.VTS="\x8A",m.PLD="\x8B",m.PLU="\x8C",m.RI="\x8D",m.SS2="\x8E",m.SS3="\x8F",m.DCS="\x90",m.PU1="\x91",m.PU2="\x92",m.STS="\x93",m.CCH="\x94",m.MW="\x95",m.SPA="\x96",m.EPA="\x97",m.SOS="\x98",m.SGCI="\x99",m.SCI="\x9A",m.CSI="\x9B",m.ST="\x9C",m.OSC="\x9D",m.PM="\x9E",m.APC="\x9F"}(p.C1||(p.C1={}))},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.BaseRenderLayer=void 0;var m=S(3),g=S(9),f=S(25),d=S(6),c=S(28),o=S(10),i=S(17),t=function(){function a(e,l,r,s,u,h,A,y){this._container=e,this._alpha=s,this._colors=u,this._rendererId=h,this._bufferService=A,this._optionsService=y,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=r.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return a.prototype.dispose=function(){var e;i.removeElementFromParent(this._canvas),(e=this._charAtlas)===null||e===void 0||e.dispose()},a.prototype._initCanvas=function(){this._ctx=c.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},a.prototype.onOptionsChanged=function(){},a.prototype.onBlur=function(){},a.prototype.onFocus=function(){},a.prototype.onCursorMove=function(){},a.prototype.onGridChanged=function(e,l){},a.prototype.onSelectionChanged=function(e,l,r){r===void 0&&(r=!1)},a.prototype.setColors=function(e){this._refreshCharAtlas(e)},a.prototype._setTransparency=function(e){if(e!==this._alpha){var l=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},a.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=f.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},a.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},a.prototype._fillCells=function(e,l,r,s){this._ctx.fillRect(e*this._scaledCellWidth,l*this._scaledCellHeight,r*this._scaledCellWidth,s*this._scaledCellHeight)},a.prototype._fillBottomLineAtCells=function(e,l,r){r===void 0&&(r=1),this._ctx.fillRect(e*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,r*this._scaledCellWidth,window.devicePixelRatio)},a.prototype._fillLeftLineAtCell=function(e,l,r){this._ctx.fillRect(e*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*r,this._scaledCellHeight)},a.prototype._strokeRectAtCell=function(e,l,r,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,r*this._scaledCellWidth-window.devicePixelRatio,s*this._scaledCellHeight-window.devicePixelRatio)},a.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},a.prototype._clearCells=function(e,l,r,s){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,l*this._scaledCellHeight,r*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,l*this._scaledCellHeight,r*this._scaledCellWidth,s*this._scaledCellHeight))},a.prototype._fillCharTrueColor=function(e,l,r){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(r),this._ctx.fillText(e.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},a.prototype._drawChars=function(e,l,r){var s,u,h=this._getContrastColor(e);h||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,l,r,h):(e.isInverse()?(s=e.isBgDefault()?g.INVERTED_DEFAULT_COLOR:e.getBgColor(),u=e.isFgDefault()?g.INVERTED_DEFAULT_COLOR:e.getFgColor()):(u=e.isBgDefault()?m.DEFAULT_COLOR:e.getBgColor(),s=e.isFgDefault()?m.DEFAULT_COLOR:e.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||m.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||m.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=u,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,l,r))},a.prototype._drawUncachedChars=function(e,l,r,s){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(s)this._ctx.fillStyle=s.css;else if(e.isBgDefault())this._ctx.fillStyle=o.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+d.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var u=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}else if(s)this._ctx.fillStyle=s.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+d.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var h=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&h<8&&(h+=8),this._ctx.fillStyle=this._colors.ansi[h].css}this._clipRow(r),e.isDim()&&(this._ctx.globalAlpha=g.DIM_OPACITY),this._ctx.fillText(e.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,r*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},a.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},a.prototype._getFont=function(e,l){return(l?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},a.prototype._getContrastColor=function(e){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(e.bg,e.fg);if(l!==void 0)return l||void 0;var r=e.getFgColor(),s=e.getFgColorMode(),u=e.getBgColor(),h=e.getBgColorMode(),A=!!e.isInverse(),y=!!e.isInverse();if(A){var w=r;r=u,u=w;var b=s;s=h,h=b}var x=this._resolveBackgroundRgba(h,u,A),O=this._resolveForegroundRgba(s,r,A,y),T=o.rgba.ensureContrastRatio(x,O,this._optionsService.options.minimumContrastRatio);if(T){var E={css:o.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};return this._colors.contrastCache.setColor(e.bg,e.fg,E),E}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},a.prototype._resolveBackgroundRgba=function(e,l,r){switch(e){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return r?this._colors.foreground.rgba:this._colors.background.rgba}},a.prototype._resolveForegroundRgba=function(e,l,r,s){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return r?this._colors.background.rgba:this._colors.foreground.rgba}},a}();p.BaseRenderLayer=t},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.createDecorator=p.getServiceDependencies=p.serviceRegistry=void 0;function m(g,f,d){f.di$target===f?f.di$dependencies.push({id:g,index:d}):(f.di$dependencies=[{id:g,index:d}],f.di$target=f)}p.serviceRegistry=new Map,p.getServiceDependencies=function(g){return g.di$dependencies||[]},p.createDecorator=function(g){if(p.serviceRegistry.has(g))return p.serviceRegistry.get(g);var f=function d(c,o,i){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(d,c,i)};return f.toString=function(){return g},p.serviceRegistry.set(g,f),f}},function(v,p,S){"use strict";function m(g,f,d,c){if(d===void 0&&(d=0),c===void 0&&(c=g.length),d>=g.length)return g;d=(g.length+d)%g.length,c=c>=g.length?g.length:(g.length+c)%g.length;for(var o=d;o<c;++o)g[o]=f;return g}Object.defineProperty(p,"__esModule",{value:!0}),p.concat=p.fillFallback=p.fill=void 0,p.fill=function(g,f,d,c){return g.fill?g.fill(f,d,c):m(g,f,d,c)},p.fillFallback=m,p.concat=function(g,f){var d=new g.constructor(g.length+f.length);return d.set(g),d.set(f,g.length),d}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.BufferLine=p.DEFAULT_ATTR_DATA=void 0;var m=S(8),g=S(3),f=S(4),d=S(6);p.DEFAULT_ATTR_DATA=Object.freeze(new d.AttributeData);var c=function(){function o(i,t,a){a===void 0&&(a=!1),this.isWrapped=a,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*i);for(var e=t||f.CellData.fromCharData([0,g.NULL_CELL_CHAR,g.NULL_CELL_WIDTH,g.NULL_CELL_CODE]),l=0;l<i;++l)this.setCell(l,e);this.length=i}return o.prototype.get=function(i){var t=this._data[3*i+0],a=2097151&t;return[this._data[3*i+1],2097152&t?this._combined[i]:a?m.stringFromCodePoint(a):"",t>>22,2097152&t?this._combined[i].charCodeAt(this._combined[i].length-1):a]},o.prototype.set=function(i,t){this._data[3*i+1]=t[g.CHAR_DATA_ATTR_INDEX],t[g.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[i]=t[1],this._data[3*i+0]=2097152|i|t[g.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*i+0]=t[g.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[g.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(i){return this._data[3*i+0]>>22},o.prototype.hasWidth=function(i){return 12582912&this._data[3*i+0]},o.prototype.getFg=function(i){return this._data[3*i+1]},o.prototype.getBg=function(i){return this._data[3*i+2]},o.prototype.hasContent=function(i){return 4194303&this._data[3*i+0]},o.prototype.getCodePoint=function(i){var t=this._data[3*i+0];return 2097152&t?this._combined[i].charCodeAt(this._combined[i].length-1):2097151&t},o.prototype.isCombined=function(i){return 2097152&this._data[3*i+0]},o.prototype.getString=function(i){var t=this._data[3*i+0];return 2097152&t?this._combined[i]:2097151&t?m.stringFromCodePoint(2097151&t):""},o.prototype.loadCell=function(i,t){var a=3*i;return t.content=this._data[a+0],t.fg=this._data[a+1],t.bg=this._data[a+2],2097152&t.content&&(t.combinedData=this._combined[i]),268435456&t.bg&&(t.extended=this._extendedAttrs[i]),t},o.prototype.setCell=function(i,t){2097152&t.content&&(this._combined[i]=t.combinedData),268435456&t.bg&&(this._extendedAttrs[i]=t.extended),this._data[3*i+0]=t.content,this._data[3*i+1]=t.fg,this._data[3*i+2]=t.bg},o.prototype.setCellFromCodePoint=function(i,t,a,e,l,r){268435456&l&&(this._extendedAttrs[i]=r),this._data[3*i+0]=t|a<<22,this._data[3*i+1]=e,this._data[3*i+2]=l},o.prototype.addCodepointToCell=function(i,t){var a=this._data[3*i+0];2097152&a?this._combined[i]+=m.stringFromCodePoint(t):(2097151&a?(this._combined[i]=m.stringFromCodePoint(2097151&a)+m.stringFromCodePoint(t),a&=-2097152,a|=2097152):a=t|1<<22,this._data[3*i+0]=a)},o.prototype.insertCells=function(i,t,a,e){if((i%=this.length)&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i-1,0,1,(e==null?void 0:e.fg)||0,(e==null?void 0:e.bg)||0,(e==null?void 0:e.extended)||new d.ExtendedAttrs),t<this.length-i){for(var l=new f.CellData,r=this.length-i-t-1;r>=0;--r)this.setCell(i+t+r,this.loadCell(i+r,l));for(r=0;r<t;++r)this.setCell(i+r,a)}else for(r=i;r<this.length;++r)this.setCell(r,a);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(e==null?void 0:e.fg)||0,(e==null?void 0:e.bg)||0,(e==null?void 0:e.extended)||new d.ExtendedAttrs)},o.prototype.deleteCells=function(i,t,a,e){if(i%=this.length,t<this.length-i){for(var l=new f.CellData,r=0;r<this.length-i-t;++r)this.setCell(i+r,this.loadCell(i+t+r,l));for(r=this.length-t;r<this.length;++r)this.setCell(r,a)}else for(r=i;r<this.length;++r)this.setCell(r,a);i&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i-1,0,1,(e==null?void 0:e.fg)||0,(e==null?void 0:e.bg)||0,(e==null?void 0:e.extended)||new d.ExtendedAttrs),this.getWidth(i)!==0||this.hasContent(i)||this.setCellFromCodePoint(i,0,1,(e==null?void 0:e.fg)||0,(e==null?void 0:e.bg)||0,(e==null?void 0:e.extended)||new d.ExtendedAttrs)},o.prototype.replaceCells=function(i,t,a,e){for(i&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i-1,0,1,(e==null?void 0:e.fg)||0,(e==null?void 0:e.bg)||0,(e==null?void 0:e.extended)||new d.ExtendedAttrs),t<this.length&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t,0,1,(e==null?void 0:e.fg)||0,(e==null?void 0:e.bg)||0,(e==null?void 0:e.extended)||new d.ExtendedAttrs);i<t&&i<this.length;)this.setCell(i++,a)},o.prototype.resize=function(i,t){if(i!==this.length){if(i>this.length){var a=new Uint32Array(3*i);this.length&&(3*i<this._data.length?a.set(this._data.subarray(0,3*i)):a.set(this._data)),this._data=a;for(var e=this.length;e<i;++e)this.setCell(e,t)}else if(i){(a=new Uint32Array(3*i)).set(this._data.subarray(0,3*i)),this._data=a;var l=Object.keys(this._combined);for(e=0;e<l.length;e++){var r=parseInt(l[e],10);r>=i&&delete this._combined[r]}}else this._data=new Uint32Array(0),this._combined={};this.length=i}},o.prototype.fill=function(i){this._combined={},this._extendedAttrs={};for(var t=0;t<this.length;++t)this.setCell(t,i)},o.prototype.copyFrom=function(i){for(var t in this.length!==i.length?this._data=new Uint32Array(i._data):this._data.set(i._data),this.length=i.length,this._combined={},i._combined)this._combined[t]=i._combined[t];for(var t in this._extendedAttrs={},i._extendedAttrs)this._extendedAttrs[t]=i._extendedAttrs[t];this.isWrapped=i.isWrapped},o.prototype.clone=function(){var i=new o(0);for(var t in i._data=new Uint32Array(this._data),i.length=this.length,this._combined)i._combined[t]=this._combined[t];for(var t in this._extendedAttrs)i._extendedAttrs[t]=this._extendedAttrs[t];return i.isWrapped=this.isWrapped,i},o.prototype.getTrimmedLength=function(){for(var i=this.length-1;i>=0;--i)if(4194303&this._data[3*i+0])return i+(this._data[3*i+0]>>22);return 0},o.prototype.copyCellsFrom=function(i,t,a,e,l){var r=i._data;if(l)for(var s=e-1;s>=0;s--)for(var u=0;u<3;u++)this._data[3*(a+s)+u]=r[3*(t+s)+u];else for(s=0;s<e;s++)for(u=0;u<3;u++)this._data[3*(a+s)+u]=r[3*(t+s)+u];var h=Object.keys(i._combined);for(u=0;u<h.length;u++){var A=parseInt(h[u],10);A>=t&&(this._combined[A-t+a]=i._combined[A])}},o.prototype.translateToString=function(i,t,a){i===void 0&&(i=!1),t===void 0&&(t=0),a===void 0&&(a=this.length),i&&(a=Math.min(a,this.getTrimmedLength()));for(var e="";t<a;){var l=this._data[3*t+0],r=2097151&l;e+=2097152&l?this._combined[t]:r?m.stringFromCodePoint(r):g.WHITESPACE_CELL_CHAR,t+=l>>22||1}return e},o}();p.BufferLine=c},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.removeElementFromParent=void 0,p.removeElementFromParent=function(){for(var m,g=[],f=0;f<arguments.length;f++)g[f]=arguments[f];for(var d=0,c=g;d<c.length;d++){var o=c[d];(m=o==null?void 0:o.parentElement)===null||m===void 0||m.removeChild(o)}}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.tooMuchOutput=p.promptLabel=void 0,p.promptLabel="Terminal input",p.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(T,E){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,_){C.__proto__=_}||function(C,_){for(var L in _)_.hasOwnProperty(L)&&(C[L]=_[L])})(T,E)},function(O,T){function E(){this.constructor=O}m(O,T),O.prototype=T===null?Object.create(T):(E.prototype=T.prototype,new E)});Object.defineProperty(p,"__esModule",{value:!0}),p.InputHandler=p.WindowsOptionsReportType=void 0;var f,d=S(12),c=S(20),o=S(39),i=S(2),t=S(15),a=S(8),e=S(16),l=S(0),r=S(3),s=S(4),u=S(6),h=S(22),A=S(24),y={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function w(O,T){if(O>24)return T.setWinLines||!1;switch(O){case 1:return!!T.restoreWin;case 2:return!!T.minimizeWin;case 3:return!!T.setWinPosition;case 4:return!!T.setWinSizePixels;case 5:return!!T.raiseWin;case 6:return!!T.lowerWin;case 7:return!!T.refreshWin;case 8:return!!T.setWinSizeChars;case 9:return!!T.maximizeWin;case 10:return!!T.fullscreenWin;case 11:return!!T.getWinState;case 13:return!!T.getWinPosition;case 14:return!!T.getWinSizePixels;case 15:return!!T.getScreenSizePixels;case 16:return!!T.getCellSizePixels;case 18:return!!T.getWinSizeChars;case 19:return!!T.getScreenSizeChars;case 20:return!!T.getIconTitle;case 21:return!!T.getWinTitle;case 22:return!!T.pushTitle;case 23:return!!T.popTitle;case 24:return!!T.setWinLines}return!1}!function(O){O[O.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",O[O.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(f=p.WindowsOptionsReportType||(p.WindowsOptionsReportType={}));var b=function(){function O(T,E,C,_){this._bufferService=T,this._coreService=E,this._logService=C,this._optionsService=_,this._data=new Uint32Array(0)}return O.prototype.hook=function(T){this._data=new Uint32Array(0)},O.prototype.put=function(T,E,C){this._data=t.concat(this._data,T.subarray(E,C))},O.prototype.unhook=function(T){if(T){var E=a.utf32ToString(this._data);switch(this._data=new Uint32Array(0),E){case'"q':return this._coreService.triggerDataEvent(d.C0.ESC+'P1$r0"q'+d.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(d.C0.ESC+'P1$r61;1"p'+d.C0.ESC+"\\");case"r":var C=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(d.C0.ESC+"P1$r"+C+d.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(d.C0.ESC+"P1$r0m"+d.C0.ESC+"\\");case" q":var _={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return _-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(d.C0.ESC+"P1$r"+_+" q"+d.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",E),this._coreService.triggerDataEvent(d.C0.ESC+"P0$r"+d.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},O}(),x=function(O){function T(E,C,_,L,P,k,F,j,z){z===void 0&&(z=new o.EscapeSequenceParser);var R=O.call(this)||this;R._bufferService=E,R._charsetService=C,R._coreService=_,R._dirtyRowService=L,R._logService=P,R._optionsService=k,R._coreMouseService=F,R._unicodeService=j,R._parser=z,R._parseBuffer=new Uint32Array(4096),R._stringDecoder=new a.StringToUtf32,R._utf8Decoder=new a.Utf8ToUtf32,R._workCell=new s.CellData,R._windowTitle="",R._iconName="",R._windowTitleStack=[],R._iconNameStack=[],R._curAttrData=e.DEFAULT_ATTR_DATA.clone(),R._eraseAttrDataInternal=e.DEFAULT_ATTR_DATA.clone(),R._onRequestBell=new l.EventEmitter,R._onRequestRefreshRows=new l.EventEmitter,R._onRequestReset=new l.EventEmitter,R._onRequestScroll=new l.EventEmitter,R._onRequestSyncScrollBar=new l.EventEmitter,R._onRequestWindowsOptionsReport=new l.EventEmitter,R._onA11yChar=new l.EventEmitter,R._onA11yTab=new l.EventEmitter,R._onCursorMove=new l.EventEmitter,R._onLineFeed=new l.EventEmitter,R._onScroll=new l.EventEmitter,R._onTitleChange=new l.EventEmitter,R.register(R._parser),R._parser.setCsiHandlerFallback(function(K,V){R._logService.debug("Unknown CSI code: ",{identifier:R._parser.identToString(K),params:V.toArray()})}),R._parser.setEscHandlerFallback(function(K){R._logService.debug("Unknown ESC code: ",{identifier:R._parser.identToString(K)})}),R._parser.setExecuteHandlerFallback(function(K){R._logService.debug("Unknown EXECUTE code: ",{code:K})}),R._parser.setOscHandlerFallback(function(K,V,W){R._logService.debug("Unknown OSC code: ",{identifier:K,action:V,data:W})}),R._parser.setDcsHandlerFallback(function(K,V,W){V==="HOOK"&&(W=W.toArray()),R._logService.debug("Unknown DCS code: ",{identifier:R._parser.identToString(K),action:V,payload:W})}),R._parser.setPrintHandler(function(K,V,W){return R.print(K,V,W)}),R._parser.setCsiHandler({final:"@"},function(K){return R.insertChars(K)}),R._parser.setCsiHandler({intermediates:" ",final:"@"},function(K){return R.scrollLeft(K)}),R._parser.setCsiHandler({final:"A"},function(K){return R.cursorUp(K)}),R._parser.setCsiHandler({intermediates:" ",final:"A"},function(K){return R.scrollRight(K)}),R._parser.setCsiHandler({final:"B"},function(K){return R.cursorDown(K)}),R._parser.setCsiHandler({final:"C"},function(K){return R.cursorForward(K)}),R._parser.setCsiHandler({final:"D"},function(K){return R.cursorBackward(K)}),R._parser.setCsiHandler({final:"E"},function(K){return R.cursorNextLine(K)}),R._parser.setCsiHandler({final:"F"},function(K){return R.cursorPrecedingLine(K)}),R._parser.setCsiHandler({final:"G"},function(K){return R.cursorCharAbsolute(K)}),R._parser.setCsiHandler({final:"H"},function(K){return R.cursorPosition(K)}),R._parser.setCsiHandler({final:"I"},function(K){return R.cursorForwardTab(K)}),R._parser.setCsiHandler({final:"J"},function(K){return R.eraseInDisplay(K)}),R._parser.setCsiHandler({prefix:"?",final:"J"},function(K){return R.eraseInDisplay(K)}),R._parser.setCsiHandler({final:"K"},function(K){return R.eraseInLine(K)}),R._parser.setCsiHandler({prefix:"?",final:"K"},function(K){return R.eraseInLine(K)}),R._parser.setCsiHandler({final:"L"},function(K){return R.insertLines(K)}),R._parser.setCsiHandler({final:"M"},function(K){return R.deleteLines(K)}),R._parser.setCsiHandler({final:"P"},function(K){return R.deleteChars(K)}),R._parser.setCsiHandler({final:"S"},function(K){return R.scrollUp(K)}),R._parser.setCsiHandler({final:"T"},function(K){return R.scrollDown(K)}),R._parser.setCsiHandler({final:"X"},function(K){return R.eraseChars(K)}),R._parser.setCsiHandler({final:"Z"},function(K){return R.cursorBackwardTab(K)}),R._parser.setCsiHandler({final:"`"},function(K){return R.charPosAbsolute(K)}),R._parser.setCsiHandler({final:"a"},function(K){return R.hPositionRelative(K)}),R._parser.setCsiHandler({final:"b"},function(K){return R.repeatPrecedingCharacter(K)}),R._parser.setCsiHandler({final:"c"},function(K){return R.sendDeviceAttributesPrimary(K)}),R._parser.setCsiHandler({prefix:">",final:"c"},function(K){return R.sendDeviceAttributesSecondary(K)}),R._parser.setCsiHandler({final:"d"},function(K){return R.linePosAbsolute(K)}),R._parser.setCsiHandler({final:"e"},function(K){return R.vPositionRelative(K)}),R._parser.setCsiHandler({final:"f"},function(K){return R.hVPosition(K)}),R._parser.setCsiHandler({final:"g"},function(K){return R.tabClear(K)}),R._parser.setCsiHandler({final:"h"},function(K){return R.setMode(K)}),R._parser.setCsiHandler({prefix:"?",final:"h"},function(K){return R.setModePrivate(K)}),R._parser.setCsiHandler({final:"l"},function(K){return R.resetMode(K)}),R._parser.setCsiHandler({prefix:"?",final:"l"},function(K){return R.resetModePrivate(K)}),R._parser.setCsiHandler({final:"m"},function(K){return R.charAttributes(K)}),R._parser.setCsiHandler({final:"n"},function(K){return R.deviceStatus(K)}),R._parser.setCsiHandler({prefix:"?",final:"n"},function(K){return R.deviceStatusPrivate(K)}),R._parser.setCsiHandler({intermediates:"!",final:"p"},function(K){return R.softReset(K)}),R._parser.setCsiHandler({intermediates:" ",final:"q"},function(K){return R.setCursorStyle(K)}),R._parser.setCsiHandler({final:"r"},function(K){return R.setScrollRegion(K)}),R._parser.setCsiHandler({final:"s"},function(K){return R.saveCursor(K)}),R._parser.setCsiHandler({final:"t"},function(K){return R.windowOptions(K)}),R._parser.setCsiHandler({final:"u"},function(K){return R.restoreCursor(K)}),R._parser.setCsiHandler({intermediates:"'",final:"}"},function(K){return R.insertColumns(K)}),R._parser.setCsiHandler({intermediates:"'",final:"~"},function(K){return R.deleteColumns(K)}),R._parser.setExecuteHandler(d.C0.BEL,function(){return R.bell()}),R._parser.setExecuteHandler(d.C0.LF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(d.C0.VT,function(){return R.lineFeed()}),R._parser.setExecuteHandler(d.C0.FF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(d.C0.CR,function(){return R.carriageReturn()}),R._parser.setExecuteHandler(d.C0.BS,function(){return R.backspace()}),R._parser.setExecuteHandler(d.C0.HT,function(){return R.tab()}),R._parser.setExecuteHandler(d.C0.SO,function(){return R.shiftOut()}),R._parser.setExecuteHandler(d.C0.SI,function(){return R.shiftIn()}),R._parser.setExecuteHandler(d.C1.IND,function(){return R.index()}),R._parser.setExecuteHandler(d.C1.NEL,function(){return R.nextLine()}),R._parser.setExecuteHandler(d.C1.HTS,function(){return R.tabSet()}),R._parser.setOscHandler(0,new h.OscHandler(function(K){R.setTitle(K),R.setIconName(K)})),R._parser.setOscHandler(1,new h.OscHandler(function(K){return R.setIconName(K)})),R._parser.setOscHandler(2,new h.OscHandler(function(K){return R.setTitle(K)})),R._parser.setEscHandler({final:"7"},function(){return R.saveCursor()}),R._parser.setEscHandler({final:"8"},function(){return R.restoreCursor()}),R._parser.setEscHandler({final:"D"},function(){return R.index()}),R._parser.setEscHandler({final:"E"},function(){return R.nextLine()}),R._parser.setEscHandler({final:"H"},function(){return R.tabSet()}),R._parser.setEscHandler({final:"M"},function(){return R.reverseIndex()}),R._parser.setEscHandler({final:"="},function(){return R.keypadApplicationMode()}),R._parser.setEscHandler({final:">"},function(){return R.keypadNumericMode()}),R._parser.setEscHandler({final:"c"},function(){return R.fullReset()}),R._parser.setEscHandler({final:"n"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"o"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"|"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"}"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"~"},function(){return R.setgLevel(1)}),R._parser.setEscHandler({intermediates:"%",final:"@"},function(){return R.selectDefaultCharset()}),R._parser.setEscHandler({intermediates:"%",final:"G"},function(){return R.selectDefaultCharset()});var U=function(V){B._parser.setEscHandler({intermediates:"(",final:V},function(){return R.selectCharset("("+V)}),B._parser.setEscHandler({intermediates:")",final:V},function(){return R.selectCharset(")"+V)}),B._parser.setEscHandler({intermediates:"*",final:V},function(){return R.selectCharset("*"+V)}),B._parser.setEscHandler({intermediates:"+",final:V},function(){return R.selectCharset("+"+V)}),B._parser.setEscHandler({intermediates:"-",final:V},function(){return R.selectCharset("-"+V)}),B._parser.setEscHandler({intermediates:".",final:V},function(){return R.selectCharset("."+V)}),B._parser.setEscHandler({intermediates:"/",final:V},function(){return R.selectCharset("/"+V)})},B=this;for(var H in c.CHARSETS)U(H);return R._parser.setEscHandler({intermediates:"#",final:"8"},function(){return R.screenAlignmentPattern()}),R._parser.setErrorHandler(function(K){return R._logService.error("Parsing error: ",K),K}),R._parser.setDcsHandler({intermediates:"$",final:"q"},new b(R._bufferService,R._coreService,R._logService,R._optionsService)),R}return g(T,O),Object.defineProperty(T.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),T.prototype.dispose=function(){O.prototype.dispose.call(this)},T.prototype.parse=function(E){var C=this._bufferService.buffer,_=C.x,L=C.y;if(this._logService.debug("parsing data",E),this._parseBuffer.length<E.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(E.length,131072))),this._dirtyRowService.clearRange(),E.length>131072)for(var P=0;P<E.length;P+=131072){var k=P+131072<E.length?P+131072:E.length,F=typeof E=="string"?this._stringDecoder.decode(E.substring(P,k),this._parseBuffer):this._utf8Decoder.decode(E.subarray(P,k),this._parseBuffer);this._parser.parse(this._parseBuffer,F)}else F=typeof E=="string"?this._stringDecoder.decode(E,this._parseBuffer):this._utf8Decoder.decode(E,this._parseBuffer),this._parser.parse(this._parseBuffer,F);(C=this._bufferService.buffer).x===_&&C.y===L||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},T.prototype.print=function(E,C,_){var L,P,k=this._bufferService.buffer,F=this._charsetService.charset,j=this._optionsService.options.screenReaderMode,z=this._bufferService.cols,R=this._coreService.decPrivateModes.wraparound,U=this._coreService.modes.insertMode,B=this._curAttrData,H=k.lines.get(k.ybase+k.y);this._dirtyRowService.markDirty(k.y),k.x&&_-C>0&&H.getWidth(k.x-1)===2&&H.setCellFromCodePoint(k.x-1,0,1,B.fg,B.bg,B.extended);for(var K=C;K<_;++K){if(L=E[K],P=this._unicodeService.wcwidth(L),L<127&&F){var V=F[String.fromCharCode(L)];V&&(L=V.charCodeAt(0))}if(j&&this._onA11yChar.fire(a.stringFromCodePoint(L)),P||!k.x){if(k.x+P-1>=z){if(R){for(;k.x<z;)H.setCellFromCodePoint(k.x++,0,1,B.fg,B.bg,B.extended);k.x=0,k.y++,k.y===k.scrollBottom+1?(k.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(k.y>=this._bufferService.rows&&(k.y=this._bufferService.rows-1),k.lines.get(k.ybase+k.y).isWrapped=!0),H=k.lines.get(k.ybase+k.y)}else if(k.x=z-1,P===2)continue}if(U&&(H.insertCells(k.x,P,k.getNullCell(B),B),H.getWidth(z-1)===2&&H.setCellFromCodePoint(z-1,r.NULL_CELL_CODE,r.NULL_CELL_WIDTH,B.fg,B.bg,B.extended)),H.setCellFromCodePoint(k.x++,L,P,B.fg,B.bg,B.extended),P>0)for(;--P;)H.setCellFromCodePoint(k.x++,0,0,B.fg,B.bg,B.extended)}else H.getWidth(k.x-1)?H.addCodepointToCell(k.x-1,L):H.addCodepointToCell(k.x-2,L)}_-C>0&&(H.loadCell(k.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),k.x<z&&_-C>0&&H.getWidth(k.x)===0&&!H.hasContent(k.x)&&H.setCellFromCodePoint(k.x,0,1,B.fg,B.bg,B.extended),this._dirtyRowService.markDirty(k.y)},T.prototype.addCsiHandler=function(E,C){var _=this;return E.final!=="t"||E.prefix||E.intermediates?this._parser.addCsiHandler(E,C):this._parser.addCsiHandler(E,function(L){return!w(L.params[0],_._optionsService.options.windowOptions)||C(L)})},T.prototype.addDcsHandler=function(E,C){return this._parser.addDcsHandler(E,new A.DcsHandler(C))},T.prototype.addEscHandler=function(E,C){return this._parser.addEscHandler(E,C)},T.prototype.addOscHandler=function(E,C){return this._parser.addOscHandler(E,new h.OscHandler(C))},T.prototype.bell=function(){this._onRequestBell.fire()},T.prototype.lineFeed=function(){var E=this._bufferService.buffer;this._dirtyRowService.markDirty(E.y),this._optionsService.options.convertEol&&(E.x=0),E.y++,E.y===E.scrollBottom+1?(E.y--,this._onRequestScroll.fire(this._eraseAttrData())):E.y>=this._bufferService.rows&&(E.y=this._bufferService.rows-1),E.x>=this._bufferService.cols&&E.x--,this._dirtyRowService.markDirty(E.y),this._onLineFeed.fire()},T.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},T.prototype.backspace=function(){var E,C=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(C.x>0&&C.x--);if(this._restrictCursor(this._bufferService.cols),C.x>0)C.x--;else if(C.x===0&&C.y>C.scrollTop&&C.y<=C.scrollBottom&&((E=C.lines.get(C.ybase+C.y))===null||E===void 0?void 0:E.isWrapped)){C.lines.get(C.ybase+C.y).isWrapped=!1,C.y--,C.x=this._bufferService.cols-1;var _=C.lines.get(C.ybase+C.y);_.hasWidth(C.x)&&!_.hasContent(C.x)&&C.x--}this._restrictCursor()},T.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var E=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-E)}},T.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},T.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},T.prototype._restrictCursor=function(E){E===void 0&&(E=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(E,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._setCursor=function(E,C){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=E,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+C):(this._bufferService.buffer.x=E,this._bufferService.buffer.y=C),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._moveCursor=function(E,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+E,this._bufferService.buffer.y+C)},T.prototype.cursorUp=function(E){var C=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;C>=0?this._moveCursor(0,-Math.min(C,E.params[0]||1)):this._moveCursor(0,-(E.params[0]||1))},T.prototype.cursorDown=function(E){var C=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;C>=0?this._moveCursor(0,Math.min(C,E.params[0]||1)):this._moveCursor(0,E.params[0]||1)},T.prototype.cursorForward=function(E){this._moveCursor(E.params[0]||1,0)},T.prototype.cursorBackward=function(E){this._moveCursor(-(E.params[0]||1),0)},T.prototype.cursorNextLine=function(E){this.cursorDown(E),this._bufferService.buffer.x=0},T.prototype.cursorPrecedingLine=function(E){this.cursorUp(E),this._bufferService.buffer.x=0},T.prototype.cursorCharAbsolute=function(E){this._setCursor((E.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.cursorPosition=function(E){this._setCursor(E.length>=2?(E.params[1]||1)-1:0,(E.params[0]||1)-1)},T.prototype.charPosAbsolute=function(E){this._setCursor((E.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.hPositionRelative=function(E){this._moveCursor(E.params[0]||1,0)},T.prototype.linePosAbsolute=function(E){this._setCursor(this._bufferService.buffer.x,(E.params[0]||1)-1)},T.prototype.vPositionRelative=function(E){this._moveCursor(0,E.params[0]||1)},T.prototype.hVPosition=function(E){this.cursorPosition(E)},T.prototype.tabClear=function(E){var C=E.params[0];C===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:C===3&&(this._bufferService.buffer.tabs={})},T.prototype.cursorForwardTab=function(E){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=E.params[0]||1;C--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},T.prototype.cursorBackwardTab=function(E){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=E.params[0]||1,_=this._bufferService.buffer;C--;)_.x=_.prevStop()},T.prototype._eraseInBufferLine=function(E,C,_,L){L===void 0&&(L=!1);var P=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+E);P.replaceCells(C,_,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L&&(P.isWrapped=!1)},T.prototype._resetBufferLine=function(E){var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+E);C.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),C.isWrapped=!1},T.prototype.eraseInDisplay=function(E){var C;switch(this._restrictCursor(),E.params[0]){case 0:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);C<this._bufferService.rows;C++)this._resetBufferLine(C);this._dirtyRowService.markDirty(C);break;case 1:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(C+1).isWrapped=!1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 2:for(C=this._bufferService.rows,this._dirtyRowService.markDirty(C-1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 3:var _=this._bufferService.buffer.lines.length-this._bufferService.rows;_>0&&(this._bufferService.buffer.lines.trimStart(_),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-_,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-_,0),this._onScroll.fire(0))}},T.prototype.eraseInLine=function(E){switch(this._restrictCursor(),E.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype.insertLines=function(E){this._restrictCursor();var C=E.params[0]||1,_=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var L=_.ybase+_.y,P=this._bufferService.rows-1-_.scrollBottom,k=this._bufferService.rows-1+_.ybase-P+1;C--;)_.lines.splice(k-1,1),_.lines.splice(L,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.y,_.scrollBottom),_.x=0}},T.prototype.deleteLines=function(E){this._restrictCursor();var C=E.params[0]||1,_=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){var L,P=_.ybase+_.y;for(L=this._bufferService.rows-1-_.scrollBottom,L=this._bufferService.rows-1+_.ybase-L;C--;)_.lines.splice(P,1),_.lines.splice(L,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.y,_.scrollBottom),_.x=0}},T.prototype.insertChars=function(E){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.insertCells(this._bufferService.buffer.x,E.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.deleteChars=function(E){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.deleteCells(this._bufferService.buffer.x,E.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.scrollUp=function(E){for(var C=E.params[0]||1,_=this._bufferService.buffer;C--;)_.lines.splice(_.ybase+_.scrollTop,1),_.lines.splice(_.ybase+_.scrollBottom,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)},T.prototype.scrollDown=function(E){for(var C=E.params[0]||1,_=this._bufferService.buffer;C--;)_.lines.splice(_.ybase+_.scrollBottom,1),_.lines.splice(_.ybase+_.scrollTop,0,_.getBlankLine(e.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)},T.prototype.scrollLeft=function(E){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=E.params[0]||1,L=C.scrollTop;L<=C.scrollBottom;++L){var P=C.lines.get(C.ybase+L);P.deleteCells(0,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),P.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.prototype.scrollRight=function(E){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=E.params[0]||1,L=C.scrollTop;L<=C.scrollBottom;++L){var P=C.lines.get(C.ybase+L);P.insertCells(0,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),P.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.prototype.insertColumns=function(E){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=E.params[0]||1,L=C.scrollTop;L<=C.scrollBottom;++L){var P=this._bufferService.buffer.lines.get(C.ybase+L);P.insertCells(C.x,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),P.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.prototype.deleteColumns=function(E){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=E.params[0]||1,L=C.scrollTop;L<=C.scrollBottom;++L){var P=C.lines.get(C.ybase+L);P.deleteCells(C.x,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),P.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.prototype.eraseChars=function(E){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(E.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.repeatPrecedingCharacter=function(E){if(this._parser.precedingCodepoint){for(var C=E.params[0]||1,_=new Uint32Array(C),L=0;L<C;++L)_[L]=this._parser.precedingCodepoint;this.print(_,0,_.length)}},T.prototype.sendDeviceAttributesPrimary=function(E){E.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(d.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(d.C0.ESC+"[?6c"))},T.prototype.sendDeviceAttributesSecondary=function(E){E.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(d.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(d.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(E.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(d.C0.ESC+"[>83;40003;0c"))},T.prototype._is=function(E){return(this._optionsService.options.termName+"").indexOf(E)===0},T.prototype.setMode=function(E){for(var C=0;C<E.length;C++)switch(E.params[C]){case 4:this._coreService.modes.insertMode=!0}},T.prototype.setModePrivate=function(E){for(var C=0;C<E.length;C++)switch(E.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,c.DEFAULT_CHARSET),this._charsetService.setgCharset(1,c.DEFAULT_CHARSET),this._charsetService.setgCharset(2,c.DEFAULT_CHARSET),this._charsetService.setgCharset(3,c.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},T.prototype.resetMode=function(E){for(var C=0;C<E.length;C++)switch(E.params[C]){case 4:this._coreService.modes.insertMode=!1}},T.prototype.resetModePrivate=function(E){for(var C=0;C<E.length;C++)switch(E.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),E.params[C]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},T.prototype._updateAttrColor=function(E,C,_,L,P){return C===2?(E|=50331648,E&=-16777216,E|=u.AttributeData.fromColorRGB([_,L,P])):C===5&&(E&=-50331904,E|=33554432|255&_),E},T.prototype._extractColor=function(E,C,_){var L=[0,0,-1,0,0,0],P=0,k=0;do{if(L[k+P]=E.params[C+k],E.hasSubParams(C+k)){var F=E.getSubParams(C+k),j=0;do L[1]===5&&(P=1),L[k+j+1+P]=F[j];while(++j<F.length&&j+k+1+P<L.length);break}if(L[1]===5&&k+P>=2||L[1]===2&&k+P>=5)break;L[1]&&(P=1)}while(++k+C<E.length&&k+P<L.length);for(j=2;j<L.length;++j)L[j]===-1&&(L[j]=0);switch(L[0]){case 38:_.fg=this._updateAttrColor(_.fg,L[1],L[3],L[4],L[5]);break;case 48:_.bg=this._updateAttrColor(_.bg,L[1],L[3],L[4],L[5]);break;case 58:_.extended=_.extended.clone(),_.extended.underlineColor=this._updateAttrColor(_.extended.underlineColor,L[1],L[3],L[4],L[5])}return k},T.prototype._processUnderline=function(E,C){C.extended=C.extended.clone(),(!~E||E>5)&&(E=1),C.extended.underlineStyle=E,C.fg|=268435456,E===0&&(C.fg&=-268435457),C.updateExtended()},T.prototype.charAttributes=function(E){if(E.length===1&&E.params[0]===0)return this._curAttrData.fg=e.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=e.DEFAULT_ATTR_DATA.bg);for(var C,_=E.length,L=this._curAttrData,P=0;P<_;P++)(C=E.params[P])>=30&&C<=37?(L.fg&=-50331904,L.fg|=16777216|C-30):C>=40&&C<=47?(L.bg&=-50331904,L.bg|=16777216|C-40):C>=90&&C<=97?(L.fg&=-50331904,L.fg|=16777224|C-90):C>=100&&C<=107?(L.bg&=-50331904,L.bg|=16777224|C-100):C===0?(L.fg=e.DEFAULT_ATTR_DATA.fg,L.bg=e.DEFAULT_ATTR_DATA.bg):C===1?L.fg|=134217728:C===3?L.bg|=67108864:C===4?(L.fg|=268435456,this._processUnderline(E.hasSubParams(P)?E.getSubParams(P)[0]:1,L)):C===5?L.fg|=536870912:C===7?L.fg|=67108864:C===8?L.fg|=1073741824:C===2?L.bg|=134217728:C===21?this._processUnderline(2,L):C===22?(L.fg&=-134217729,L.bg&=-134217729):C===23?L.bg&=-67108865:C===24?L.fg&=-268435457:C===25?L.fg&=-536870913:C===27?L.fg&=-67108865:C===28?L.fg&=-1073741825:C===39?(L.fg&=-67108864,L.fg|=16777215&e.DEFAULT_ATTR_DATA.fg):C===49?(L.bg&=-67108864,L.bg|=16777215&e.DEFAULT_ATTR_DATA.bg):C===38||C===48||C===58?P+=this._extractColor(E,P,L):C===59?(L.extended=L.extended.clone(),L.extended.underlineColor=-1,L.updateExtended()):C===100?(L.fg&=-67108864,L.fg|=16777215&e.DEFAULT_ATTR_DATA.fg,L.bg&=-67108864,L.bg|=16777215&e.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",C)},T.prototype.deviceStatus=function(E){switch(E.params[0]){case 5:this._coreService.triggerDataEvent(d.C0.ESC+"[0n");break;case 6:var C=this._bufferService.buffer.y+1,_=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(d.C0.ESC+"["+C+";"+_+"R")}},T.prototype.deviceStatusPrivate=function(E){switch(E.params[0]){case 6:var C=this._bufferService.buffer.y+1,_=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(d.C0.ESC+"[?"+C+";"+_+"R")}},T.prototype.softReset=function(E){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=e.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},T.prototype.setCursorStyle=function(E){var C=E.params[0]||1;switch(C){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var _=C%2==1;this._optionsService.options.cursorBlink=_},T.prototype.setScrollRegion=function(E){var C,_=E.params[0]||1;(E.length<2||(C=E.params[1])>this._bufferService.rows||C===0)&&(C=this._bufferService.rows),C>_&&(this._bufferService.buffer.scrollTop=_-1,this._bufferService.buffer.scrollBottom=C-1,this._setCursor(0,0))},T.prototype.windowOptions=function(E){if(w(E.params[0],this._optionsService.options.windowOptions)){var C=E.length>1?E.params[1]:0;switch(E.params[0]){case 14:C!==2&&this._onRequestWindowsOptionsReport.fire(f.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(f.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(d.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:C!==0&&C!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),C!==0&&C!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:C!==0&&C!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),C!==0&&C!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},T.prototype.saveCursor=function(E){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},T.prototype.restoreCursor=function(E){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},T.prototype.setTitle=function(E){this._windowTitle=E,this._onTitleChange.fire(E)},T.prototype.setIconName=function(E){this._iconName=E},T.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},T.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},T.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},T.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,c.DEFAULT_CHARSET)},T.prototype.selectCharset=function(E){E.length===2?E[0]!=="/"&&this._charsetService.setgCharset(y[E[0]],c.CHARSETS[E[1]]||c.DEFAULT_CHARSET):this.selectDefaultCharset()},T.prototype.index=function(){this._restrictCursor();var E=this._bufferService.buffer;this._bufferService.buffer.y++,E.y===E.scrollBottom+1?(E.y--,this._onRequestScroll.fire(this._eraseAttrData())):E.y>=this._bufferService.rows&&(E.y=this._bufferService.rows-1),this._restrictCursor()},T.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},T.prototype.reverseIndex=function(){this._restrictCursor();var E=this._bufferService.buffer;if(E.y===E.scrollTop){var C=E.scrollBottom-E.scrollTop;E.lines.shiftElements(E.ybase+E.y,C,1),E.lines.set(E.ybase+E.y,E.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(E.scrollTop,E.scrollBottom)}else E.y--,this._restrictCursor()},T.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},T.prototype.reset=function(){this._curAttrData=e.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=e.DEFAULT_ATTR_DATA.clone()},T.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},T.prototype.setgLevel=function(E){this._charsetService.setgLevel(E)},T.prototype.screenAlignmentPattern=function(){var E=new s.CellData;E.content=1<<22|"E".charCodeAt(0),E.fg=this._curAttrData.fg,E.bg=this._curAttrData.bg;var C=this._bufferService.buffer;this._setCursor(0,0);for(var _=0;_<this._bufferService.rows;++_){var L=C.ybase+C.y+_,P=C.lines.get(L);P&&(P.fill(E),P.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},T}(i.Disposable);p.InputHandler=x},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.DEFAULT_CHARSET=p.CHARSETS=void 0,p.CHARSETS={},p.DEFAULT_CHARSET=p.CHARSETS.B,p.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},p.CHARSETS.A={"#":"\xA3"},p.CHARSETS.B=void 0,p.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},p.CHARSETS.C=p.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},p.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},p.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},p.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},p.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},p.CHARSETS.E=p.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},p.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},p.CHARSETS.H=p.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},p.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.Params=void 0;var m=function(){function g(f,d){if(f===void 0&&(f=32),d===void 0&&(d=32),this.maxLength=f,this.maxSubParamsLength=d,d>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(f),this.length=0,this._subParams=new Int32Array(d),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(f),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return g.fromArray=function(f){var d=new g;if(!f.length)return d;for(var c=f[0]instanceof Array?1:0;c<f.length;++c){var o=f[c];if(o instanceof Array)for(var i=0;i<o.length;++i)d.addSubParam(o[i]);else d.addParam(o)}return d},g.prototype.clone=function(){var f=new g(this.maxLength,this.maxSubParamsLength);return f.params.set(this.params),f.length=this.length,f._subParams.set(this._subParams),f._subParamsLength=this._subParamsLength,f._subParamsIdx.set(this._subParamsIdx),f._rejectDigits=this._rejectDigits,f._rejectSubDigits=this._rejectSubDigits,f._digitIsSub=this._digitIsSub,f},g.prototype.toArray=function(){for(var f=[],d=0;d<this.length;++d){f.push(this.params[d]);var c=this._subParamsIdx[d]>>8,o=255&this._subParamsIdx[d];o-c>0&&f.push(Array.prototype.slice.call(this._subParams,c,o))}return f},g.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},g.prototype.addParam=function(f){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(f<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=f>2147483647?2147483647:f}},g.prototype.addSubParam=function(f){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(f<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=f>2147483647?2147483647:f,this._subParamsIdx[this.length-1]++}},g.prototype.hasSubParams=function(f){return(255&this._subParamsIdx[f])-(this._subParamsIdx[f]>>8)>0},g.prototype.getSubParams=function(f){var d=this._subParamsIdx[f]>>8,c=255&this._subParamsIdx[f];return c-d>0?this._subParams.subarray(d,c):null},g.prototype.getSubParamsAll=function(){for(var f={},d=0;d<this.length;++d){var c=this._subParamsIdx[d]>>8,o=255&this._subParamsIdx[d];o-c>0&&(f[d]=this._subParams.slice(c,o))}return f},g.prototype.addDigit=function(f){var d;if(!(this._rejectDigits||!(d=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var c=this._digitIsSub?this._subParams:this.params,o=c[d-1];c[d-1]=~o?Math.min(10*o+f,2147483647):f}},g}();p.Params=m},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.OscHandler=p.OscParser=void 0;var m=S(23),g=S(8),f=function(){function c(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return c.prototype.addHandler=function(o,i){this._handlers[o]===void 0&&(this._handlers[o]=[]);var t=this._handlers[o];return t.push(i),{dispose:function(){var e=t.indexOf(i);e!==-1&&t.splice(e,1)}}},c.prototype.setHandler=function(o,i){this._handlers[o]=[i]},c.prototype.clearHandler=function(o){this._handlers[o]&&delete this._handlers[o]},c.prototype.setHandlerFallback=function(o){this._handlerFb=o},c.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},c.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},c.prototype._start=function(){var o=this._handlers[this._id];if(o)for(var i=o.length-1;i>=0;i--)o[i].start();else this._handlerFb(this._id,"START")},c.prototype._put=function(o,i,t){var a=this._handlers[this._id];if(a)for(var e=a.length-1;e>=0;e--)a[e].put(o,i,t);else this._handlerFb(this._id,"PUT",g.utf32ToString(o,i,t))},c.prototype._end=function(o){var i=this._handlers[this._id];if(i){for(var t=i.length-1;t>=0&&i[t].end(o)===!1;t--);for(t--;t>=0;t--)i[t].end(!1)}else this._handlerFb(this._id,"END",o)},c.prototype.start=function(){this.reset(),this._id=-1,this._state=1},c.prototype.put=function(o,i,t){if(this._state!==3){if(this._state===1)for(;i<t;){var a=o[i++];if(a===59){this._state=2,this._start();break}if(a<48||57<a)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+a-48}this._state===2&&t-i>0&&this._put(o,i,t)}},c.prototype.end=function(o){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(o)),this._id=-1,this._state=0)},c}();p.OscParser=f;var d=function(){function c(o){this._handler=o,this._data="",this._hitLimit=!1}return c.prototype.start=function(){this._data="",this._hitLimit=!1},c.prototype.put=function(o,i,t){this._hitLimit||(this._data+=g.utf32ToString(o,i,t),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},c.prototype.end=function(o){var i;return this._hitLimit?i=!1:o&&(i=this._handler(this._data)),this._data="",this._hitLimit=!1,i},c}();p.OscHandler=d},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.PAYLOAD_LIMIT=void 0,p.PAYLOAD_LIMIT=1e7},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.DcsHandler=p.DcsParser=void 0;var m=S(8),g=S(21),f=S(23),d=[],c=function(){function i(){this._handlers=Object.create(null),this._active=d,this._ident=0,this._handlerFb=function(){}}return i.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},i.prototype.addHandler=function(t,a){this._handlers[t]===void 0&&(this._handlers[t]=[]);var e=this._handlers[t];return e.push(a),{dispose:function(){var r=e.indexOf(a);r!==-1&&e.splice(r,1)}}},i.prototype.setHandler=function(t,a){this._handlers[t]=[a]},i.prototype.clearHandler=function(t){this._handlers[t]&&delete this._handlers[t]},i.prototype.setHandlerFallback=function(t){this._handlerFb=t},i.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=d,this._ident=0},i.prototype.hook=function(t,a){if(this.reset(),this._ident=t,this._active=this._handlers[t]||d,this._active.length)for(var e=this._active.length-1;e>=0;e--)this._active[e].hook(a);else this._handlerFb(this._ident,"HOOK",a)},i.prototype.put=function(t,a,e){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(t,a,e);else this._handlerFb(this._ident,"PUT",m.utf32ToString(t,a,e))},i.prototype.unhook=function(t){if(this._active.length){for(var a=this._active.length-1;a>=0&&this._active[a].unhook(t)===!1;a--);for(a--;a>=0;a--)this._active[a].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",t);this._active=d,this._ident=0},i}();p.DcsParser=c;var o=function(){function i(t){this._handler=t,this._data="",this._hitLimit=!1}return i.prototype.hook=function(t){this._params=t.clone(),this._data="",this._hitLimit=!1},i.prototype.put=function(t,a,e){this._hitLimit||(this._data+=m.utf32ToString(t,a,e),this._data.length>f.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},i.prototype.unhook=function(t){var a;return this._hitLimit?a=!1:t&&(a=this._handler(this._data,this._params||new g.Params)),this._params=void 0,this._data="",this._hitLimit=!1,a},i}();p.DcsHandler=o},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.removeTerminalFromCache=p.acquireCharAtlas=void 0;var m=S(26),g=S(43),f=[];p.acquireCharAtlas=function(d,c,o,i,t){for(var a=m.generateConfig(i,t,d,o),e=0;e<f.length;e++){var l=(r=f[e]).ownedBy.indexOf(c);if(l>=0){if(m.configEquals(r.config,a))return r.atlas;r.ownedBy.length===1?(r.atlas.dispose(),f.splice(e,1)):r.ownedBy.splice(l,1);break}}for(e=0;e<f.length;e++){var r=f[e];if(m.configEquals(r.config,a))return r.ownedBy.push(c),r.atlas}var s={atlas:new g.DynamicCharAtlas(document,a),config:a,ownedBy:[c]};return f.push(s),s.atlas},p.removeTerminalFromCache=function(d){for(var c=0;c<f.length;c++){var o=f[c].ownedBy.indexOf(d);if(o!==-1){f[c].ownedBy.length===1?(f[c].atlas.dispose(),f.splice(c,1)):f[c].ownedBy.splice(o,1);break}}}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.is256Color=p.configEquals=p.generateConfig=void 0;var m=S(3);p.generateConfig=function(g,f,d,c){var o={foreground:c.foreground,background:c.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:c.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:g,scaledCharHeight:f,fontFamily:d.fontFamily,fontSize:d.fontSize,fontWeight:d.fontWeight,fontWeightBold:d.fontWeightBold,allowTransparency:d.allowTransparency,colors:o}},p.configEquals=function(g,f){for(var d=0;d<g.colors.ansi.length;d++)if(g.colors.ansi[d].rgba!==f.colors.ansi[d].rgba)return!1;return g.devicePixelRatio===f.devicePixelRatio&&g.fontFamily===f.fontFamily&&g.fontSize===f.fontSize&&g.fontWeight===f.fontWeight&&g.fontWeightBold===f.fontWeightBold&&g.allowTransparency===f.allowTransparency&&g.scaledCharWidth===f.scaledCharWidth&&g.scaledCharHeight===f.scaledCharHeight&&g.colors.foreground===f.colors.foreground&&g.colors.background===f.colors.background},p.is256Color=function(g){return g<m.DEFAULT_COLOR}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.ColorManager=p.DEFAULT_ANSI_COLORS=void 0;var m=S(10),g=S(45),f=m.css.toColor("#ffffff"),d=m.css.toColor("#000000"),c=m.css.toColor("#ffffff"),o=m.css.toColor("#000000"),i={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};p.DEFAULT_ANSI_COLORS=function(){for(var a=[m.css.toColor("#2e3436"),m.css.toColor("#cc0000"),m.css.toColor("#4e9a06"),m.css.toColor("#c4a000"),m.css.toColor("#3465a4"),m.css.toColor("#75507b"),m.css.toColor("#06989a"),m.css.toColor("#d3d7cf"),m.css.toColor("#555753"),m.css.toColor("#ef2929"),m.css.toColor("#8ae234"),m.css.toColor("#fce94f"),m.css.toColor("#729fcf"),m.css.toColor("#ad7fa8"),m.css.toColor("#34e2e2"),m.css.toColor("#eeeeec")],e=[0,95,135,175,215,255],l=0;l<216;l++){var r=e[l/36%6|0],s=e[l/6%6|0],u=e[l%6];a.push({css:m.channels.toCss(r,s,u),rgba:m.channels.toRgba(r,s,u)})}for(l=0;l<24;l++){var h=8+10*l;a.push({css:m.channels.toCss(h,h,h),rgba:m.channels.toRgba(h,h,h)})}return a}();var t=function(){function a(e,l){this.allowTransparency=l;var r=e.createElement("canvas");r.width=1,r.height=1;var s=r.getContext("2d");if(!s)throw new Error("Could not get rendering context");this._ctx=s,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new g.ColorContrastCache,this.colors={foreground:f,background:d,cursor:c,cursorAccent:o,selectionTransparent:i,selectionOpaque:m.color.blend(d,i),ansi:p.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return a.prototype.onOptionsChange=function(e){e==="minimumContrastRatio"&&this._contrastCache.clear()},a.prototype.setTheme=function(e){(e===void 0&&(e={}),this.colors.foreground=this._parseColor(e.foreground,f),this.colors.background=this._parseColor(e.background,d),this.colors.cursor=this._parseColor(e.cursor,c,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,o,!0),this.colors.selectionTransparent=this._parseColor(e.selection,i,!0),this.colors.selectionOpaque=m.color.blend(this.colors.background,this.colors.selectionTransparent),m.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=m.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(e.black,p.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(e.red,p.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(e.green,p.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(e.yellow,p.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(e.blue,p.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(e.magenta,p.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(e.cyan,p.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(e.white,p.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(e.brightBlack,p.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(e.brightRed,p.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(e.brightGreen,p.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(e.brightYellow,p.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(e.brightBlue,p.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(e.brightMagenta,p.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(e.brightCyan,p.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(e.brightWhite,p.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},a.prototype._parseColor=function(e,l,r){if(r===void 0&&(r=this.allowTransparency),e===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=e,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+e+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var s=this._ctx.getImageData(0,0,1,1).data;if(s[3]!==255){if(!r)return console.warn("Color: "+e+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(x){return Number(x)}),h=u[0],A=u[1],y=u[2],w=u[3],b=Math.round(255*w);return{rgba:m.channels.toRgba(h,A,y,b),css:e}}return{css:this._ctx.fillStyle,rgba:m.channels.toRgba(s[0],s[1],s[2],s[3])}},a}();p.ColorManager=t},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.throwIfFalsy=void 0,p.throwIfFalsy=function(m){if(!m)throw new Error("value must not be falsy");return m}},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(a,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,r){l.__proto__=r}||function(l,r){for(var s in r)r.hasOwnProperty(s)&&(l[s]=r[s])})(a,e)},function(t,a){function e(){this.constructor=t}m(t,a),t.prototype=a===null?Object.create(a):(e.prototype=a.prototype,new e)});Object.defineProperty(p,"__esModule",{value:!0}),p.CharacterJoinerRegistry=p.JoinedCellData=void 0;var f=S(6),d=S(3),c=S(4),o=function(t){function a(e,l,r){var s=t.call(this)||this;return s.content=0,s.combinedData="",s.fg=e.fg,s.bg=e.bg,s.combinedData=l,s._width=r,s}return g(a,t),a.prototype.isCombined=function(){return 2097152},a.prototype.getWidth=function(){return this._width},a.prototype.getChars=function(){return this.combinedData},a.prototype.getCode=function(){return 2097151},a.prototype.setFromCharData=function(e){throw new Error("not implemented")},a.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},a}(f.AttributeData);p.JoinedCellData=o;var i=function(){function t(a){this._bufferService=a,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new c.CellData}return t.prototype.registerCharacterJoiner=function(a){var e={id:this._nextCharacterJoinerId++,handler:a};return this._characterJoiners.push(e),e.id},t.prototype.deregisterCharacterJoiner=function(a){for(var e=0;e<this._characterJoiners.length;e++)if(this._characterJoiners[e].id===a)return this._characterJoiners.splice(e,1),!0;return!1},t.prototype.getJoinedCharacters=function(a){if(this._characterJoiners.length===0)return[];var e=this._bufferService.buffer.lines.get(a);if(!e||e.length===0)return[];for(var l=[],r=e.translateToString(!0),s=0,u=0,h=0,A=e.getFg(0),y=e.getBg(0),w=0;w<e.getTrimmedLength();w++)if(e.loadCell(w,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==A||this._workCell.bg!==y){if(w-s>1)for(var b=this._getJoinedRanges(r,h,u,e,s),x=0;x<b.length;x++)l.push(b[x]);s=w,h=u,A=this._workCell.fg,y=this._workCell.bg}u+=this._workCell.getChars().length||d.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(b=this._getJoinedRanges(r,h,u,e,s),x=0;x<b.length;x++)l.push(b[x]);return l},t.prototype._getJoinedRanges=function(a,e,l,r,s){for(var u=a.substring(e,l),h=this._characterJoiners[0].handler(u),A=1;A<this._characterJoiners.length;A++)for(var y=this._characterJoiners[A].handler(u),w=0;w<y.length;w++)t._mergeRanges(h,y[w]);return this._stringRangesToCellRanges(h,r,s),h},t.prototype._stringRangesToCellRanges=function(a,e,l){var r=0,s=!1,u=0,h=a[r];if(h){for(var A=l;A<this._bufferService.cols;A++){var y=e.getWidth(A),w=e.getString(A).length||d.WHITESPACE_CELL_CHAR.length;if(y!==0){if(!s&&h[0]<=u&&(h[0]=A,s=!0),h[1]<=u){if(h[1]=A,!(h=a[++r]))break;h[0]<=u?(h[0]=A,s=!0):s=!1}u+=w}}h&&(h[1]=this._bufferService.cols)}},t._mergeRanges=function(a,e){for(var l=!1,r=0;r<a.length;r++){var s=a[r];if(l){if(e[1]<=s[0])return a[r-1][1]=e[1],a;if(e[1]<=s[1])return a[r-1][1]=Math.max(e[1],s[1]),a.splice(r,1),a;a.splice(r,1),r--}else{if(e[1]<=s[0])return a.splice(r,0,e),a;if(e[1]<=s[1])return s[0]=Math.min(e[0],s[0]),a;e[0]<s[1]&&(s[0]=Math.min(e[0],s[0]),l=!0)}}return l?a[a.length-1][1]=e[1]:a.push(e),a},t}();p.CharacterJoinerRegistry=i},function(v,p,S){"use strict";function m(g,f){var d=f.getBoundingClientRect();return[g.clientX-d.left,g.clientY-d.top]}Object.defineProperty(p,"__esModule",{value:!0}),p.getRawByteCoords=p.getCoords=p.getCoordsRelativeToElement=void 0,p.getCoordsRelativeToElement=m,p.getCoords=function(g,f,d,c,o,i,t,a){if(o){var e=m(g,f);if(e)return e[0]=Math.ceil((e[0]+(a?i/2:0))/i),e[1]=Math.ceil(e[1]/t),e[0]=Math.min(Math.max(e[0],1),d+(a?1:0)),e[1]=Math.min(Math.max(e[1],1),c),e}},p.getRawByteCoords=function(g){if(g)return{x:g[0]+32,y:g[1]+32}}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.RenderDebouncer=void 0;var m=function(){function g(f){this._renderCallback=f}return g.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},g.prototype.refresh=function(f,d,c){var o=this;this._rowCount=c,f=f!==void 0?f:0,d=d!==void 0?d:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,f):f,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,d):d,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return o._innerRefresh()}))},g.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var f=Math.max(this._rowStart,0),d=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(f,d)}},g}();p.RenderDebouncer=m},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(c,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var a in t)t.hasOwnProperty(a)&&(i[a]=t[a])})(c,o)},function(d,c){function o(){this.constructor=d}m(d,c),d.prototype=c===null?Object.create(c):(o.prototype=c.prototype,new o)});Object.defineProperty(p,"__esModule",{value:!0}),p.ScreenDprMonitor=void 0;var f=function(d){function c(){var o=d!==null&&d.apply(this,arguments)||this;return o._currentDevicePixelRatio=window.devicePixelRatio,o}return g(c,d),c.prototype.setListener=function(o){var i=this;this._listener&&this.clearListener(),this._listener=o,this._outerListener=function(){i._listener&&(i._listener(window.devicePixelRatio,i._currentDevicePixelRatio),i._updateDpr())},this._updateDpr()},c.prototype.dispose=function(){d.prototype.dispose.call(this),this.clearListener()},c.prototype._updateDpr=function(){var o;this._outerListener&&((o=this._resolutionMediaMatchList)===null||o===void 0||o.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},c.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},c}(S(2).Disposable);p.ScreenDprMonitor=f},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.clone=void 0,p.clone=function m(g,f){if(f===void 0&&(f=5),typeof g!="object")return g;var d=Array.isArray(g)?[]:{};for(var c in g)d[c]=f<=1?g[c]:g[c]?m(g[c],f-1):g[c];return d}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.Terminal=void 0;var m=S(4),g=S(35),f=S(18),d=S(0),c=S(83),o=function(){function r(s){this._core=new g.Terminal(s),this._addonManager=new c.AddonManager}return r.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(r.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new e(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"buffer",{get:function(){return this._checkProposedApi(),new t(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),r.prototype.blur=function(){this._core.blur()},r.prototype.focus=function(){this._core.focus()},r.prototype.resize=function(s,u){this._verifyIntegers(s,u),this._core.resize(s,u)},r.prototype.open=function(s){this._core.open(s)},r.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},r.prototype.registerLinkMatcher=function(s,u,h){return this._checkProposedApi(),this._core.registerLinkMatcher(s,u,h)},r.prototype.deregisterLinkMatcher=function(s){this._checkProposedApi(),this._core.deregisterLinkMatcher(s)},r.prototype.registerLinkProvider=function(s){return this._checkProposedApi(),this._core.registerLinkProvider(s)},r.prototype.registerCharacterJoiner=function(s){return this._checkProposedApi(),this._core.registerCharacterJoiner(s)},r.prototype.deregisterCharacterJoiner=function(s){this._checkProposedApi(),this._core.deregisterCharacterJoiner(s)},r.prototype.registerMarker=function(s){return this._checkProposedApi(),this._verifyIntegers(s),this._core.addMarker(s)},r.prototype.addMarker=function(s){return this.registerMarker(s)},r.prototype.hasSelection=function(){return this._core.hasSelection()},r.prototype.select=function(s,u,h){this._verifyIntegers(s,u,h),this._core.select(s,u,h)},r.prototype.getSelection=function(){return this._core.getSelection()},r.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},r.prototype.clearSelection=function(){this._core.clearSelection()},r.prototype.selectAll=function(){this._core.selectAll()},r.prototype.selectLines=function(s,u){this._verifyIntegers(s,u),this._core.selectLines(s,u)},r.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},r.prototype.scrollLines=function(s){this._verifyIntegers(s),this._core.scrollLines(s)},r.prototype.scrollPages=function(s){this._verifyIntegers(s),this._core.scrollPages(s)},r.prototype.scrollToTop=function(){this._core.scrollToTop()},r.prototype.scrollToBottom=function(){this._core.scrollToBottom()},r.prototype.scrollToLine=function(s){this._verifyIntegers(s),this._core.scrollToLine(s)},r.prototype.clear=function(){this._core.clear()},r.prototype.write=function(s,u){this._core.write(s,u)},r.prototype.writeUtf8=function(s,u){this._core.write(s,u)},r.prototype.writeln=function(s,u){this._core.write(s),this._core.write(`\r
`,u)},r.prototype.paste=function(s){this._core.paste(s)},r.prototype.getOption=function(s){return this._core.optionsService.getOption(s)},r.prototype.setOption=function(s,u){this._core.optionsService.setOption(s,u)},r.prototype.refresh=function(s,u){this._verifyIntegers(s,u),this._core.refresh(s,u)},r.prototype.reset=function(){this._core.reset()},r.prototype.loadAddon=function(s){return this._addonManager.loadAddon(this,s)},Object.defineProperty(r,"strings",{get:function(){return f},enumerable:!1,configurable:!0}),r.prototype._verifyIntegers=function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];for(var h=0,A=s;h<A.length;h++){var y=A[h];if(y===1/0||isNaN(y)||y%1!=0)throw new Error("This API only accepts integers")}},r}();p.Terminal=o;var i=function(){function r(s,u){this._buffer=s,this.type=u}return r.prototype.init=function(s){return this._buffer=s,this},Object.defineProperty(r.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),r.prototype.getLine=function(s){var u=this._buffer.lines.get(s);if(u)return new a(u)},r.prototype.getNullCell=function(){return new m.CellData},r}(),t=function(){function r(s){var u=this;this._buffers=s,this._onBufferChange=new d.EventEmitter,this._normal=new i(this._buffers.normal,"normal"),this._alternate=new i(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return u._onBufferChange.fire(u.active)})}return Object.defineProperty(r.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),r}(),a=function(){function r(s){this._line=s}return Object.defineProperty(r.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),r.prototype.getCell=function(s,u){if(!(s<0||s>=this._line.length))return u?(this._line.loadCell(s,u),u):this._line.loadCell(s,new m.CellData)},r.prototype.translateToString=function(s,u,h){return this._line.translateToString(s,u,h)},r}(),e=function(){function r(s){this._core=s}return r.prototype.registerCsiHandler=function(s,u){return this._core.addCsiHandler(s,function(h){return u(h.toArray())})},r.prototype.addCsiHandler=function(s,u){return this.registerCsiHandler(s,u)},r.prototype.registerDcsHandler=function(s,u){return this._core.addDcsHandler(s,function(h,A){return u(h,A.toArray())})},r.prototype.addDcsHandler=function(s,u){return this.registerDcsHandler(s,u)},r.prototype.registerEscHandler=function(s,u){return this._core.addEscHandler(s,u)},r.prototype.addEscHandler=function(s,u){return this.registerEscHandler(s,u)},r.prototype.registerOscHandler=function(s,u){return this._core.addOscHandler(s,u)},r.prototype.addOscHandler=function(s,u){return this.registerOscHandler(s,u)},r}(),l=function(){function r(s){this._core=s}return r.prototype.register=function(s){this._core.unicodeService.register(s)},Object.defineProperty(r.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(u){this._core.unicodeService.activeVersion=u},enumerable:!1,configurable:!0}),r}()},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(R,U){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,H){B.__proto__=H}||function(B,H){for(var K in H)H.hasOwnProperty(K)&&(B[K]=H[K])})(R,U)},function(z,R){function U(){this.constructor=z}m(z,R),z.prototype=R===null?Object.create(R):(U.prototype=R.prototype,new U)});Object.defineProperty(p,"__esModule",{value:!0}),p.Terminal=void 0;var f=S(36),d=S(37),c=S(38),o=S(12),i=S(19),t=S(40),a=S(50),e=S(51),l=S(11),r=S(7),s=S(18),u=S(54),h=S(55),A=S(56),y=S(57),w=S(59),b=S(0),x=S(16),O=S(27),T=S(60),E=S(5),C=S(61),_=S(62),L=S(63),P=S(64),k=S(65),F=typeof window!="undefined"?window.document:null,j=function(z){function R(U){U===void 0&&(U={});var B=z.call(this,U)||this;return B.browser=l,B._keyDownHandled=!1,B._onCursorMove=new b.EventEmitter,B._onKey=new b.EventEmitter,B._onRender=new b.EventEmitter,B._onSelectionChange=new b.EventEmitter,B._onTitleChange=new b.EventEmitter,B._onFocus=new b.EventEmitter,B._onBlur=new b.EventEmitter,B._onA11yCharEmitter=new b.EventEmitter,B._onA11yTabEmitter=new b.EventEmitter,B._setup(),B.linkifier=B._instantiationService.createInstance(a.Linkifier),B.linkifier2=B.register(B._instantiationService.createInstance(L.Linkifier2)),B.register(B._inputHandler.onRequestBell(function(){return B.bell()})),B.register(B._inputHandler.onRequestRefreshRows(function(H,K){return B.refresh(H,K)})),B.register(B._inputHandler.onRequestReset(function(){return B.reset()})),B.register(B._inputHandler.onRequestScroll(function(H,K){return B.scroll(H,K||void 0)})),B.register(B._inputHandler.onRequestWindowsOptionsReport(function(H){return B._reportWindowsOptions(H)})),B.register(b.forwardEvent(B._inputHandler.onCursorMove,B._onCursorMove)),B.register(b.forwardEvent(B._inputHandler.onTitleChange,B._onTitleChange)),B.register(b.forwardEvent(B._inputHandler.onA11yChar,B._onA11yCharEmitter)),B.register(b.forwardEvent(B._inputHandler.onA11yTab,B._onA11yTabEmitter)),B.register(B._bufferService.onResize(function(H){return B._afterResize(H.cols,H.rows)})),B}return g(R,z),Object.defineProperty(R.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),R.prototype.dispose=function(){var U,B,H;this._isDisposed||(z.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(H=(B=this.element)===null||B===void 0?void 0:B.parentNode)===null||H===void 0||H.removeChild(this.element))},R.prototype._setup=function(){z.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(R.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),R.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},R.prototype._updateOptions=function(U){var B,H,K,V;switch(z.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(B=this._renderService)===null||B===void 0||B.clear(),(H=this._charSizeService)===null||H===void 0||H.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(K=this.viewport)===null||K===void 0||K.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new A.AccessibilityManager(this,this._renderService)):((V=this._accessibilityManager)===null||V===void 0||V.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},R.prototype._onTextAreaFocus=function(U){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[I"),this.updateCursorStyle(U),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},R.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},R.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},R.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),B=this._bufferService.buffer.y*U,H=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=H+"px",this.textarea.style.top=B+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=U+"px",this.textarea.style.lineHeight=U+"px",this.textarea.style.zIndex="-5"}},R.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(r.addDisposableDomListener(this.element,"copy",function(H){U.hasSelection()&&c.copyHandler(H,U._selectionService)}));var B=function(K){return c.handlePasteEvent(K,U.textarea,U._coreService)};this.register(r.addDisposableDomListener(this.textarea,"paste",B)),this.register(r.addDisposableDomListener(this.element,"paste",B)),l.isFirefox?this.register(r.addDisposableDomListener(this.element,"mousedown",function(H){H.button===2&&c.rightClickHandler(H,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(r.addDisposableDomListener(this.element,"contextmenu",function(H){c.rightClickHandler(H,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),l.isLinux&&this.register(r.addDisposableDomListener(this.element,"auxclick",function(H){H.button===1&&c.moveTextAreaUnderMouseCursor(H,U.textarea,U.screenElement)}))},R.prototype._bindKeys=function(){var U=this;this.register(r.addDisposableDomListener(this.textarea,"keyup",function(B){return U._keyUp(B)},!0)),this.register(r.addDisposableDomListener(this.textarea,"keydown",function(B){return U._keyDown(B)},!0)),this.register(r.addDisposableDomListener(this.textarea,"keypress",function(B){return U._keyPress(B)},!0)),this.register(r.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(r.addDisposableDomListener(this.textarea,"compositionupdate",function(B){return U._compositionHelper.compositionupdate(B)})),this.register(r.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(B){return U._queueLinkification(B.start,B.end)}))},R.prototype.open=function(U){var B=this;if(!U)throw new Error("Terminal requires a parent element.");F.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),U.appendChild(this.element);var H=F.createDocumentFragment();this._viewportElement=F.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),H.appendChild(this._viewportElement),this._viewportScrollArea=F.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=F.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=F.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),H.appendChild(this.screenElement),this.textarea=F.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",s.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(r.addDisposableDomListener(this.textarea,"focus",function(W){return B._onTextAreaFocus(W)})),this.register(r.addDisposableDomListener(this.textarea,"blur",function(){return B._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var K=this._instantiationService.createInstance(P.CoreBrowserService,this.textarea);this._instantiationService.setService(E.ICoreBrowserService,K),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(E.ICharSizeService,this._charSizeService),this._compositionView=F.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(f.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(H),this._theme=this.options.theme||this._theme,this._colorManager=new O.ColorManager(F,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(W){return B._colorManager.onOptionsChange(W)})),this._colorManager.setTheme(this._theme);var V=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(T.RenderService,V,this.rows,this.screenElement)),this._instantiationService.setService(E.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(W){return B._onRender.fire(W)})),this.onResize(function(W){return B._renderService.resize(W.cols,W.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(E.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(_.MouseService),this._instantiationService.setService(E.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(d.Viewport,function(W,G){return B.scrollLines(W,G)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return B.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){B._renderService.onCursorMove(),B._syncTextArea()})),this.register(this.onResize(function(){return B._renderService.onResize(B.cols,B.rows)})),this.register(this.onBlur(function(){return B._renderService.onBlur()})),this.register(this.onFocus(function(){return B._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return B.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(e.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(E.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(W){return B.scrollLines(W.amount,W.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return B._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(W){return B._renderService.onSelectionChanged(W.start,W.end,W.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(W){B.textarea.value=W,B.textarea.focus(),B.textarea.select()})),this.register(this.onScroll(function(){B.viewport.syncScrollArea(),B._selectionService.refresh()})),this.register(r.addDisposableDomListener(this._viewportElement,"scroll",function(){return B._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(h.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return B._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(r.addDisposableDomListener(this.element,"mousedown",function(W){return B._selectionService.onMouseDown(W)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new A.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},R.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(t.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(y.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},R.prototype._setTheme=function(U){var B,H,K;this._theme=U,(B=this._colorManager)===null||B===void 0||B.setTheme(U),(H=this._renderService)===null||H===void 0||H.setColors(this._colorManager.colors),(K=this.viewport)===null||K===void 0||K.onThemeChange(this._colorManager.colors)},R.prototype.bindMouse=function(){var U=this,B=this,H=this.element;function K($){var ve,Ce,Se=B._mouseService.getRawByteCoords($,B.screenElement,B.cols,B.rows);if(!Se)return!1;switch($.overrideType||$.type){case"mousemove":Ce=32,$.buttons===void 0?(ve=3,$.button!==void 0&&(ve=$.button<3?$.button:3)):ve=1&$.buttons?0:4&$.buttons?1:2&$.buttons?2:3;break;case"mouseup":Ce=0,ve=$.button<3?$.button:3;break;case"mousedown":Ce=1,ve=$.button<3?$.button:3;break;case"wheel":$.deltaY!==0&&(Ce=$.deltaY<0?0:1),ve=4;break;default:return!1}return!(Ce===void 0||ve===void 0||ve>4)&&B._coreMouseService.triggerMouseEvent({col:Se.x-33,row:Se.y-33,button:ve,action:Ce,ctrl:$.ctrlKey,alt:$.altKey,shift:$.shiftKey})}var V={mouseup:null,wheel:null,mousedrag:null,mousemove:null},W=function(ve){return K(ve),ve.buttons||(U._document.removeEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.removeEventListener("mousemove",V.mousedrag)),U.cancel(ve)},G=function(ve){return K(ve),ve.preventDefault(),U.cancel(ve)},re=function(ve){ve.buttons&&K(ve)},ye=function(ve){ve.buttons||K(ve)};this.register(this._coreMouseService.onProtocolChange(function($){$?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents($)),U.element.classList.add("enable-mouse-events"),U._selectionService.disable()):(U._logService.debug("Unbinding from mouse events."),U.element.classList.remove("enable-mouse-events"),U._selectionService.enable()),8&$?V.mousemove||(H.addEventListener("mousemove",ye),V.mousemove=ye):(H.removeEventListener("mousemove",V.mousemove),V.mousemove=null),16&$?V.wheel||(H.addEventListener("wheel",G,{passive:!1}),V.wheel=G):(H.removeEventListener("wheel",V.wheel),V.wheel=null),2&$?V.mouseup||(V.mouseup=W):(U._document.removeEventListener("mouseup",V.mouseup),V.mouseup=null),4&$?V.mousedrag||(V.mousedrag=re):(U._document.removeEventListener("mousemove",V.mousedrag),V.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(r.addDisposableDomListener(H,"mousedown",function($){if($.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection($))return K($),V.mouseup&&U._document.addEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.addEventListener("mousemove",V.mousedrag),U.cancel($)})),this.register(r.addDisposableDomListener(H,"wheel",function($){if(!V.wheel){if(!U.buffer.hasScrollback){var ve=U.viewport.getLinesScrolled($);if(ve===0)return;for(var Ce=o.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+($.deltaY<0?"A":"B"),Se="",Ke=0;Ke<Math.abs(ve);Ke++)Se+=Ce;U._coreService.triggerDataEvent(Se,!0)}}},{passive:!0})),this.register(r.addDisposableDomListener(H,"wheel",function($){if(!V.wheel)return U.viewport.onWheel($)?void 0:U.cancel($)},{passive:!1})),this.register(r.addDisposableDomListener(H,"touchstart",function($){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchStart($),U.cancel($)},{passive:!0})),this.register(r.addDisposableDomListener(H,"touchmove",function($){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchMove($)?void 0:U.cancel($)},{passive:!1}))},R.prototype.refresh=function(U,B){var H;(H=this._renderService)===null||H===void 0||H.refreshRows(U,B)},R.prototype._queueLinkification=function(U,B){var H;(H=this.linkifier)===null||H===void 0||H.linkifyRows(U,B)},R.prototype.updateCursorStyle=function(U){this._selectionService&&this._selectionService.shouldColumnSelect(U)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},R.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},R.prototype.scrollLines=function(U,B){z.prototype.scrollLines.call(this,U,B),this.refresh(0,this.rows-1)},R.prototype.paste=function(U){c.paste(U,this.textarea,this._coreService)},R.prototype.attachCustomKeyEventHandler=function(U){this._customKeyEventHandler=U},R.prototype.registerLinkMatcher=function(U,B,H){var K=this.linkifier.registerLinkMatcher(U,B,H);return this.refresh(0,this.rows-1),K},R.prototype.deregisterLinkMatcher=function(U){this.linkifier.deregisterLinkMatcher(U)&&this.refresh(0,this.rows-1)},R.prototype.registerLinkProvider=function(U){return this.linkifier2.registerLinkProvider(U)},R.prototype.registerCharacterJoiner=function(U){var B=this._renderService.registerCharacterJoiner(U);return this.refresh(0,this.rows-1),B},R.prototype.deregisterCharacterJoiner=function(U){this._renderService.deregisterCharacterJoiner(U)&&this.refresh(0,this.rows-1)},Object.defineProperty(R.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),R.prototype.addMarker=function(U){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+U)},R.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},R.prototype.select=function(U,B,H){this._selectionService.setSelection(U,B,H)},R.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},R.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},R.prototype.clearSelection=function(){var U;(U=this._selectionService)===null||U===void 0||U.clearSelection()},R.prototype.selectAll=function(){var U;(U=this._selectionService)===null||U===void 0||U.selectAll()},R.prototype.selectLines=function(U,B){var H;(H=this._selectionService)===null||H===void 0||H.selectLines(U,B)},R.prototype._keyDown=function(U){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(!this._compositionHelper.keydown(U))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var B=w.evaluateKeyboardEvent(U,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(U),B.type===3||B.type===2){var H=this.rows-1;return this.scrollLines(B.type===2?-H:H),this.cancel(U,!0)}return B.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,U)||(B.cancel&&this.cancel(U,!0),!B.key||(B.key!==o.C0.ETX&&B.key!==o.C0.CR||(this.textarea.value=""),this._onKey.fire({key:B.key,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(B.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(U,!0)))},R.prototype._isThirdLevelShift=function(U,B){var H=U.isMac&&!this.options.macOptionIsMeta&&B.altKey&&!B.ctrlKey&&!B.metaKey||U.isWindows&&B.altKey&&B.ctrlKey&&!B.metaKey;return B.type==="keypress"?H:H&&(!B.keyCode||B.keyCode>47)},R.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(B){return B.keyCode===16||B.keyCode===17||B.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},R.prototype._keyPress=function(U){var B;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)B=U.charCode;else if(U.which===null||U.which===void 0)B=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;B=U.which}return!(!B||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(B=String.fromCharCode(B),this._onKey.fire({key:B,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(B,!0),!0)},R.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},R.prototype.resize=function(U,B){U!==this.cols||B!==this.rows?z.prototype.resize.call(this,U,B):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},R.prototype._afterResize=function(U,B){var H,K;(H=this._charSizeService)===null||H===void 0||H.measure(),(K=this.viewport)===null||K===void 0||K.syncScrollArea(!0)},R.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var U=1;U<this.rows;U++)this.buffer.lines.push(this.buffer.getBlankLine(x.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},R.prototype.reset=function(){var U,B;this.options.rows=this.rows,this.options.cols=this.cols;var H=this._customKeyEventHandler;this._setup(),z.prototype.reset.call(this),(U=this._selectionService)===null||U===void 0||U.reset(),this._customKeyEventHandler=H,this.refresh(0,this.rows-1),(B=this.viewport)===null||B===void 0||B.syncScrollArea()},R.prototype._reportWindowsOptions=function(U){if(this._renderService)switch(U){case i.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var B=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),H=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[4;"+H+";"+B+"t");break;case i.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var K=this._renderService.dimensions.scaledCellWidth.toFixed(0),V=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[6;"+V+";"+K+"t")}},R.prototype.cancel=function(U,B){if(this.options.cancelEvents||B)return U.preventDefault(),U.stopPropagation(),!1},R.prototype._visualBell=function(){return!1},R.prototype._soundBell=function(){return this.options.bellStyle==="sound"},R}(k.CoreTerminal);p.Terminal=j},function(v,p,S){"use strict";var m=this&&this.__decorate||function(o,i,t,a){var e,l=arguments.length,r=l<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,i,t,a);else for(var s=o.length-1;s>=0;s--)(e=o[s])&&(r=(l<3?e(r):l>3?e(i,t,r):e(i,t))||r);return l>3&&r&&Object.defineProperty(i,t,r),r},g=this&&this.__param||function(o,i){return function(t,a){i(t,a,o)}};Object.defineProperty(p,"__esModule",{value:!0}),p.CompositionHelper=void 0;var f=S(5),d=S(1),c=function(){function o(i,t,a,e,l,r){this._textarea=i,this._compositionView=t,this._bufferService=a,this._optionsService=e,this._charSizeService=l,this._coreService=r,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(o.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),o.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},o.prototype.compositionupdate=function(i){var t=this;this._compositionView.textContent=i.data,this.updateCompositionElements(),setTimeout(function(){t._compositionPosition.end=t._textarea.value.length},0)},o.prototype.compositionend=function(){this._finalizeComposition(!0)},o.prototype.keydown=function(i){if(this._isComposing||this._isSendingComposition){if(i.keyCode===229)return!1;if(i.keyCode===16||i.keyCode===17||i.keyCode===18)return!1;this._finalizeComposition(!1)}return i.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},o.prototype._finalizeComposition=function(i){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,i){var a={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(t._isSendingComposition){t._isSendingComposition=!1;var l=void 0;l=t._isComposing?t._textarea.value.substring(a.start,a.end):t._textarea.value.substring(a.start),t._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var e=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(e,!0)}},o.prototype._handleAnyTextareaChanges=function(){var i=this,t=this._textarea.value;setTimeout(function(){if(!i._isComposing){var a=i._textarea.value.replace(t,"");a.length>0&&i._coreService.triggerDataEvent(a,!0)}},0)},o.prototype.updateCompositionElements=function(i){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var a=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),e=this._bufferService.buffer.y*a,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=e+"px",this._compositionView.style.height=a+"px",this._compositionView.style.lineHeight=a+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var r=this._compositionView.getBoundingClientRect();this._textarea.style.left=l+"px",this._textarea.style.top=e+"px",this._textarea.style.width=r.width+"px",this._textarea.style.height=r.height+"px",this._textarea.style.lineHeight=r.height+"px"}i||setTimeout(function(){return t.updateCompositionElements(!0)},0)}},o=m([g(2,d.IBufferService),g(3,d.IOptionsService),g(4,f.ICharSizeService),g(5,d.ICoreService)],o)}();p.CompositionHelper=c},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,r)},function(e,l){function r(){this.constructor=e}m(e,l),e.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}),f=this&&this.__decorate||function(e,l,r,s){var u,h=arguments.length,A=h<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,r):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(e,l,r,s);else for(var y=e.length-1;y>=0;y--)(u=e[y])&&(A=(h<3?u(A):h>3?u(l,r,A):u(l,r))||A);return h>3&&A&&Object.defineProperty(l,r,A),A},d=this&&this.__param||function(e,l){return function(r,s){l(r,s,e)}};Object.defineProperty(p,"__esModule",{value:!0}),p.Viewport=void 0;var c=S(2),o=S(7),i=S(5),t=S(1),a=function(e){function l(r,s,u,h,A,y,w){var b=e.call(this)||this;return b._scrollLines=r,b._viewportElement=s,b._scrollArea=u,b._bufferService=h,b._optionsService=A,b._charSizeService=y,b._renderService=w,b.scrollBarWidth=0,b._currentRowHeight=0,b._lastRecordedBufferLength=0,b._lastRecordedViewportHeight=0,b._lastRecordedBufferHeight=0,b._lastTouchY=0,b._lastScrollTop=0,b._wheelPartialScroll=0,b._refreshAnimationFrame=null,b._ignoreNextScrollEvent=!1,b.scrollBarWidth=b._viewportElement.offsetWidth-b._scrollArea.offsetWidth||15,b.register(o.addDisposableDomListener(b._viewportElement,"scroll",b._onScroll.bind(b))),setTimeout(function(){return b.syncScrollArea()},0),b}return g(l,e),l.prototype.onThemeChange=function(r){this._viewportElement.style.backgroundColor=r.background.css},l.prototype._refresh=function(r){var s=this;if(r)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return s._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var r=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==r&&(this._lastRecordedBufferHeight=r,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==s&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=s),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(r){if(r===void 0&&(r=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(r);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===s&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(r)}else this._refresh(r)},l.prototype._onScroll=function(r){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var s=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(s,!0)}},l.prototype._bubbleScroll=function(r,s){var u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&u<this._lastRecordedBufferHeight)||(r.cancelable&&r.preventDefault(),!1)},l.prototype.onWheel=function(r){var s=this._getPixelsScrolled(r);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(r,s))},l.prototype._getPixelsScrolled=function(r){if(r.deltaY===0)return 0;var s=this._applyScrollModifier(r.deltaY,r);return r.deltaMode===WheelEvent.DOM_DELTA_LINE?s*=this._currentRowHeight:r.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._currentRowHeight*this._bufferService.rows),s},l.prototype.getLinesScrolled=function(r){if(r.deltaY===0)return 0;var s=this._applyScrollModifier(r.deltaY,r);return r.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(s/=this._currentRowHeight+0,this._wheelPartialScroll+=s,s=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):r.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._bufferService.rows),s},l.prototype._applyScrollModifier=function(r,s){var u=this._optionsService.options.fastScrollModifier;return u==="alt"&&s.altKey||u==="ctrl"&&s.ctrlKey||u==="shift"&&s.shiftKey?r*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:r*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(r){this._lastTouchY=r.touches[0].pageY},l.prototype.onTouchMove=function(r){var s=this._lastTouchY-r.touches[0].pageY;return this._lastTouchY=r.touches[0].pageY,s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(r,s))},l=f([d(3,t.IBufferService),d(4,t.IOptionsService),d(5,i.ICharSizeService),d(6,i.IRenderService)],l)}(c.Disposable);p.Viewport=a},function(v,p,S){"use strict";function m(c){return c.replace(/\r?\n/g,"\r")}function g(c,o){return o?"[200~"+c+"[201~":c}function f(c,o,i){c=g(c=m(c),i.decPrivateModes.bracketedPasteMode),i.triggerDataEvent(c,!0),o.value=""}function d(c,o,i){var t=i.getBoundingClientRect(),a=c.clientX-t.left-10,e=c.clientY-t.top-10;o.style.width="20px",o.style.height="20px",o.style.left=a+"px",o.style.top=e+"px",o.style.zIndex="1000",o.focus()}Object.defineProperty(p,"__esModule",{value:!0}),p.rightClickHandler=p.moveTextAreaUnderMouseCursor=p.paste=p.handlePasteEvent=p.copyHandler=p.bracketTextForPaste=p.prepareTextForTerminal=void 0,p.prepareTextForTerminal=m,p.bracketTextForPaste=g,p.copyHandler=function(c,o){c.clipboardData&&c.clipboardData.setData("text/plain",o.selectionText),c.preventDefault()},p.handlePasteEvent=function(c,o,i){c.stopPropagation(),c.clipboardData&&f(c.clipboardData.getData("text/plain"),o,i)},p.paste=f,p.moveTextAreaUnderMouseCursor=d,p.rightClickHandler=function(c,o,i,t,a){d(c,o,i),a&&!t.isClickInSelection(c)&&t.selectWordAtCursor(c),o.value=t.selectionText,o.select()}},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,r)},function(e,l){function r(){this.constructor=e}m(e,l),e.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)});Object.defineProperty(p,"__esModule",{value:!0}),p.EscapeSequenceParser=p.VT500_TRANSITION_TABLE=p.TransitionTable=void 0;var f=S(2),d=S(15),c=S(21),o=S(22),i=S(24),t=function(){function e(l){this.table=new Uint8Array(l)}return e.prototype.setDefault=function(l,r){d.fill(this.table,l<<4|r)},e.prototype.add=function(l,r,s,u){this.table[r<<8|l]=s<<4|u},e.prototype.addMany=function(l,r,s,u){for(var h=0;h<l.length;h++)this.table[r<<8|l[h]]=s<<4|u},e}();p.TransitionTable=t,p.VT500_TRANSITION_TABLE=function(){var e=new t(4095),l=Array.apply(null,Array(256)).map(function(y,w){return w}),r=function(w,b){return l.slice(w,b)},s=r(32,127),u=r(0,24);u.push(25),u.push.apply(u,r(28,32));var h,A=r(0,14);for(h in e.setDefault(1,0),e.addMany(s,0,2,0),A)e.addMany([24,26,153,154],h,3,0),e.addMany(r(128,144),h,3,0),e.addMany(r(144,152),h,3,0),e.add(156,h,0,0),e.add(27,h,11,1),e.add(157,h,4,8),e.addMany([152,158,159],h,0,7),e.add(155,h,11,3),e.add(144,h,11,9);return e.addMany(u,0,3,0),e.addMany(u,1,3,1),e.add(127,1,0,1),e.addMany(u,8,0,8),e.addMany(u,3,3,3),e.add(127,3,0,3),e.addMany(u,4,3,4),e.add(127,4,0,4),e.addMany(u,6,3,6),e.addMany(u,5,3,5),e.add(127,5,0,5),e.addMany(u,2,3,2),e.add(127,2,0,2),e.add(93,1,4,8),e.addMany(s,8,5,8),e.add(127,8,5,8),e.addMany([156,27,24,26,7],8,6,0),e.addMany(r(28,32),8,0,8),e.addMany([88,94,95],1,0,7),e.addMany(s,7,0,7),e.addMany(u,7,0,7),e.add(156,7,0,0),e.add(127,7,0,7),e.add(91,1,11,3),e.addMany(r(64,127),3,7,0),e.addMany(r(48,60),3,8,4),e.addMany([60,61,62,63],3,9,4),e.addMany(r(48,60),4,8,4),e.addMany(r(64,127),4,7,0),e.addMany([60,61,62,63],4,0,6),e.addMany(r(32,64),6,0,6),e.add(127,6,0,6),e.addMany(r(64,127),6,0,0),e.addMany(r(32,48),3,9,5),e.addMany(r(32,48),5,9,5),e.addMany(r(48,64),5,0,6),e.addMany(r(64,127),5,7,0),e.addMany(r(32,48),4,9,5),e.addMany(r(32,48),1,9,2),e.addMany(r(32,48),2,9,2),e.addMany(r(48,127),2,10,0),e.addMany(r(48,80),1,10,0),e.addMany(r(81,88),1,10,0),e.addMany([89,90,92],1,10,0),e.addMany(r(96,127),1,10,0),e.add(80,1,11,9),e.addMany(u,9,0,9),e.add(127,9,0,9),e.addMany(r(28,32),9,0,9),e.addMany(r(32,48),9,9,12),e.addMany(r(48,60),9,8,10),e.addMany([60,61,62,63],9,9,10),e.addMany(u,11,0,11),e.addMany(r(32,128),11,0,11),e.addMany(r(28,32),11,0,11),e.addMany(u,10,0,10),e.add(127,10,0,10),e.addMany(r(28,32),10,0,10),e.addMany(r(48,60),10,8,10),e.addMany([60,61,62,63],10,0,11),e.addMany(r(32,48),10,9,12),e.addMany(u,12,0,12),e.add(127,12,0,12),e.addMany(r(28,32),12,0,12),e.addMany(r(32,48),12,9,12),e.addMany(r(48,64),12,0,11),e.addMany(r(64,127),12,12,13),e.addMany(r(64,127),10,12,13),e.addMany(r(64,127),9,12,13),e.addMany(u,13,13,13),e.addMany(s,13,13,13),e.add(127,13,0,13),e.addMany([27,156,24,26],13,14,0),e.add(160,0,2,0),e.add(160,8,5,8),e.add(160,6,0,6),e.add(160,11,0,11),e.add(160,13,13,13),e}();var a=function(e){function l(r){r===void 0&&(r=p.VT500_TRANSITION_TABLE);var s=e.call(this)||this;return s._transitions=r,s.initialState=0,s.currentState=s.initialState,s._params=new c.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(u,h,A){},s._executeHandlerFb=function(u){},s._csiHandlerFb=function(u,h){},s._escHandlerFb=function(u){},s._errorHandlerFb=function(u){return u},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new o.OscParser,s._dcsParser=new i.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return g(l,e),l.prototype._identifier=function(r,s){s===void 0&&(s=[64,126]);var u=0;if(r.prefix){if(r.prefix.length>1)throw new Error("only one byte as prefix supported");if((u=r.prefix.charCodeAt(0))&&60>u||u>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(r.intermediates){if(r.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var h=0;h<r.intermediates.length;++h){var A=r.intermediates.charCodeAt(h);if(32>A||A>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=A}}if(r.final.length!==1)throw new Error("final must be a single byte");var y=r.final.charCodeAt(0);if(s[0]>y||y>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return u<<=8,u|=y},l.prototype.identToString=function(r){for(var s=[];r;)s.push(String.fromCharCode(255&r)),r>>=8;return s.reverse().join("")},l.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},l.prototype.setPrintHandler=function(r){this._printHandler=r},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(r,s){var u=this._identifier(r,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var h=this._escHandlers[u];return h.push(s),{dispose:function(){var y=h.indexOf(s);y!==-1&&h.splice(y,1)}}},l.prototype.setEscHandler=function(r,s){this._escHandlers[this._identifier(r,[48,126])]=[s]},l.prototype.clearEscHandler=function(r){this._escHandlers[this._identifier(r,[48,126])]&&delete this._escHandlers[this._identifier(r,[48,126])]},l.prototype.setEscHandlerFallback=function(r){this._escHandlerFb=r},l.prototype.setExecuteHandler=function(r,s){this._executeHandlers[r.charCodeAt(0)]=s},l.prototype.clearExecuteHandler=function(r){this._executeHandlers[r.charCodeAt(0)]&&delete this._executeHandlers[r.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(r){this._executeHandlerFb=r},l.prototype.addCsiHandler=function(r,s){var u=this._identifier(r);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var h=this._csiHandlers[u];return h.push(s),{dispose:function(){var y=h.indexOf(s);y!==-1&&h.splice(y,1)}}},l.prototype.setCsiHandler=function(r,s){this._csiHandlers[this._identifier(r)]=[s]},l.prototype.clearCsiHandler=function(r){this._csiHandlers[this._identifier(r)]&&delete this._csiHandlers[this._identifier(r)]},l.prototype.setCsiHandlerFallback=function(r){this._csiHandlerFb=r},l.prototype.addDcsHandler=function(r,s){return this._dcsParser.addHandler(this._identifier(r),s)},l.prototype.setDcsHandler=function(r,s){this._dcsParser.setHandler(this._identifier(r),s)},l.prototype.clearDcsHandler=function(r){this._dcsParser.clearHandler(this._identifier(r))},l.prototype.setDcsHandlerFallback=function(r){this._dcsParser.setHandlerFallback(r)},l.prototype.addOscHandler=function(r,s){return this._oscParser.addHandler(r,s)},l.prototype.setOscHandler=function(r,s){this._oscParser.setHandler(r,s)},l.prototype.clearOscHandler=function(r){this._oscParser.clearHandler(r)},l.prototype.setOscHandlerFallback=function(r){this._oscParser.setHandlerFallback(r)},l.prototype.setErrorHandler=function(r){this._errorHandler=r},l.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},l.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},l.prototype.parse=function(r,s){for(var u=0,h=0,A=this.currentState,y=this._oscParser,w=this._dcsParser,b=this._collect,x=this._params,O=this._transitions.table,T=0;T<s;++T){switch((h=O[A<<8|((u=r[T])<160?u:160)])>>4){case 2:for(var E=T+1;;++E){if(E>=s||(u=r[E])<32||u>126&&u<160){this._printHandler(r,T,E),T=E-1;break}if(++E>=s||(u=r[E])<32||u>126&&u<160){this._printHandler(r,T,E),T=E-1;break}if(++E>=s||(u=r[E])<32||u>126&&u<160){this._printHandler(r,T,E),T=E-1;break}if(++E>=s||(u=r[E])<32||u>126&&u<160){this._printHandler(r,T,E),T=E-1;break}}break;case 3:this._executeHandlers[u]?this._executeHandlers[u]():this._executeHandlerFb(u),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:T,code:u,currentState:A,collect:b,params:x,abort:!1}).abort)return;break;case 7:for(var C=this._csiHandlers[b<<8|u],_=C?C.length-1:-1;_>=0&&C[_](x)===!1;_--);_<0&&this._csiHandlerFb(b<<8|u,x),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:x.addParam(0);break;case 58:x.addSubParam(-1);break;default:x.addDigit(u-48)}while(++T<s&&(u=r[T])>47&&u<60);T--;break;case 9:b<<=8,b|=u;break;case 10:for(var L=this._escHandlers[b<<8|u],P=L?L.length-1:-1;P>=0&&L[P]()===!1;P--);P<0&&this._escHandlerFb(b<<8|u),this.precedingCodepoint=0;break;case 11:x.reset(),x.addParam(0),b=0;break;case 12:w.hook(b<<8|u,x);break;case 13:for(var k=T+1;;++k)if(k>=s||(u=r[k])===24||u===26||u===27||u>127&&u<160){w.put(r,T,k),T=k-1;break}break;case 14:w.unhook(u!==24&&u!==26),u===27&&(h|=1),x.reset(),x.addParam(0),b=0,this.precedingCodepoint=0;break;case 4:y.start();break;case 5:for(var F=T+1;;F++)if(F>=s||(u=r[F])<32||u>127&&u<=159){y.put(r,T,F),T=F-1;break}break;case 6:y.end(u!==24&&u!==26),u===27&&(h|=1),x.reset(),x.addParam(0),b=0,this.precedingCodepoint=0}A=15&h}this._collect=b,this.currentState=A},l}(f.Disposable);p.EscapeSequenceParser=a},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(w,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,O){x.__proto__=O}||function(x,O){for(var T in O)O.hasOwnProperty(T)&&(x[T]=O[T])})(w,b)},function(y,w){function b(){this.constructor=y}m(y,w),y.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=this&&this.__decorate||function(y,w,b,x){var O,T=arguments.length,E=T<3?w:x===null?x=Object.getOwnPropertyDescriptor(w,b):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(y,w,b,x);else for(var C=y.length-1;C>=0;C--)(O=y[C])&&(E=(T<3?O(E):T>3?O(w,b,E):O(w,b))||E);return T>3&&E&&Object.defineProperty(w,b,E),E},d=this&&this.__param||function(y,w){return function(b,x){w(b,x,y)}};Object.defineProperty(p,"__esModule",{value:!0}),p.Renderer=void 0;var c=S(41),o=S(47),i=S(48),t=S(49),a=S(29),e=S(2),l=S(5),r=S(1),s=S(25),u=S(0),h=1,A=function(y){function w(b,x,O,T,E,C,_,L,P){var k=y.call(this)||this;k._colors=b,k._screenElement=x,k._bufferService=E,k._charSizeService=C,k._optionsService=_,k._id=h++,k._onRequestRedraw=new u.EventEmitter;var F=k._optionsService.options.allowTransparency;return k._characterJoinerRegistry=new a.CharacterJoinerRegistry(k._bufferService),k._renderLayers=[new c.TextRenderLayer(k._screenElement,0,k._colors,k._characterJoinerRegistry,F,k._id,k._bufferService,_),new o.SelectionRenderLayer(k._screenElement,1,k._colors,k._id,k._bufferService,_),new t.LinkRenderLayer(k._screenElement,2,k._colors,k._id,O,T,k._bufferService,_),new i.CursorRenderLayer(k._screenElement,3,k._colors,k._id,k._onRequestRedraw,k._bufferService,_,L,P)],k.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},k._devicePixelRatio=window.devicePixelRatio,k._updateDimensions(),k.onOptionsChanged(),k}return g(w,y),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){for(var b=0,x=this._renderLayers;b<x.length;b++)x[b].dispose();y.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},w.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},w.prototype.setColors=function(b){this._colors=b;for(var x=0,O=this._renderLayers;x<O.length;x++){var T=O[x];T.setColors(this._colors),T.reset()}},w.prototype.onResize=function(b,x){this._updateDimensions();for(var O=0,T=this._renderLayers;O<T.length;O++)T[O].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},w.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},w.prototype.onBlur=function(){this._runOperation(function(b){return b.onBlur()})},w.prototype.onFocus=function(){this._runOperation(function(b){return b.onFocus()})},w.prototype.onSelectionChanged=function(b,x,O){O===void 0&&(O=!1),this._runOperation(function(T){return T.onSelectionChanged(b,x,O)})},w.prototype.onCursorMove=function(){this._runOperation(function(b){return b.onCursorMove()})},w.prototype.onOptionsChanged=function(){this._runOperation(function(b){return b.onOptionsChanged()})},w.prototype.clear=function(){this._runOperation(function(b){return b.reset()})},w.prototype._runOperation=function(b){for(var x=0,O=this._renderLayers;x<O.length;x++)b(O[x])},w.prototype.renderRows=function(b,x){for(var O=0,T=this._renderLayers;O<T.length;O++)T[O].onGridChanged(b,x)},w.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},w.prototype.registerCharacterJoiner=function(b){return this._characterJoinerRegistry.registerCharacterJoiner(b)},w.prototype.deregisterCharacterJoiner=function(b){return this._characterJoinerRegistry.deregisterCharacterJoiner(b)},w=f([d(4,r.IBufferService),d(5,l.ICharSizeService),d(6,r.IOptionsService),d(7,r.ICoreService),d(8,l.ICoreBrowserService)],w)}(e.Disposable);p.Renderer=A},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,r)},function(e,l){function r(){this.constructor=e}m(e,l),e.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)});Object.defineProperty(p,"__esModule",{value:!0}),p.TextRenderLayer=void 0;var f=S(42),d=S(13),c=S(6),o=S(3),i=S(29),t=S(4),a=function(e){function l(r,s,u,h,A,y,w,b){var x=e.call(this,r,"text",s,A,u,y,w,b)||this;return x._characterWidth=0,x._characterFont="",x._characterOverlapCache={},x._workCell=new t.CellData,x._state=new f.GridCache,x._characterJoinerRegistry=h,x}return g(l,e),l.prototype.resize=function(r){e.prototype.resize.call(this,r);var s=this._getFont(!1,!1);this._characterWidth===r.scaledCharWidth&&this._characterFont===s||(this._characterWidth=r.scaledCharWidth,this._characterFont=s,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},l.prototype.reset=function(){this._state.clear(),this._clearAll()},l.prototype._forEachCell=function(r,s,u,h){for(var A=r;A<=s;A++)for(var y=A+this._bufferService.buffer.ydisp,w=this._bufferService.buffer.lines.get(y),b=u?u.getJoinedCharacters(y):[],x=0;x<this._bufferService.cols;x++){w.loadCell(x,this._workCell);var O=this._workCell,T=!1,E=x;if(O.getWidth()!==0){if(b.length>0&&x===b[0][0]){T=!0;var C=b.shift();O=new i.JoinedCellData(this._workCell,w.translateToString(!0,C[0],C[1]),C[1]-C[0]),E=C[1]-1}!T&&this._isOverlapping(O)&&E<w.length-1&&w.getCodePoint(E+1)===o.NULL_CELL_CODE&&(O.content&=-12582913,O.content|=2<<22),h(O,x,A),x=E}}},l.prototype._drawBackground=function(r,s){var u=this,h=this._ctx,A=this._bufferService.cols,y=0,w=0,b=null;h.save(),this._forEachCell(r,s,null,function(x,O,T){var E=null;x.isInverse()?E=x.isFgDefault()?u._colors.foreground.css:x.isFgRGB()?"rgb("+c.AttributeData.toColorRGB(x.getFgColor()).join(",")+")":u._colors.ansi[x.getFgColor()].css:x.isBgRGB()?E="rgb("+c.AttributeData.toColorRGB(x.getBgColor()).join(",")+")":x.isBgPalette()&&(E=u._colors.ansi[x.getBgColor()].css),b===null&&(y=O,w=T),T!==w?(h.fillStyle=b||"",u._fillCells(y,w,A-y,1),y=O,w=T):b!==E&&(h.fillStyle=b||"",u._fillCells(y,w,O-y,1),y=O,w=T),b=E}),b!==null&&(h.fillStyle=b,this._fillCells(y,w,A-y,1)),h.restore()},l.prototype._drawForeground=function(r,s){var u=this;this._forEachCell(r,s,this._characterJoinerRegistry,function(h,A,y){if(!h.isInvisible()&&(u._drawChars(h,A,y),h.isUnderline())){if(u._ctx.save(),h.isInverse())if(h.isBgDefault())u._ctx.fillStyle=u._colors.background.css;else if(h.isBgRGB())u._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(h.getBgColor()).join(",")+")";else{var w=h.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&w<8&&(w+=8),u._ctx.fillStyle=u._colors.ansi[w].css}else if(h.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(h.isFgRGB())u._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(h.getFgColor()).join(",")+")";else{var b=h.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&b<8&&(b+=8),u._ctx.fillStyle=u._colors.ansi[b].css}u._fillBottomLineAtCells(A,y,h.getWidth()),u._ctx.restore()}})},l.prototype.onGridChanged=function(r,s){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,r,this._bufferService.cols,s-r+1),this._drawBackground(r,s),this._drawForeground(r,s))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(r){if(r.getWidth()!==1)return!1;if(r.getCode()<256)return!1;var s=r.getChars();if(this._characterOverlapCache.hasOwnProperty(s))return this._characterOverlapCache[s];this._ctx.save(),this._ctx.font=this._characterFont;var u=Math.floor(this._ctx.measureText(s).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=u,u},l}(d.BaseRenderLayer);p.TextRenderLayer=a},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.GridCache=void 0;var m=function(){function g(){this.cache=[]}return g.prototype.resize=function(f,d){for(var c=0;c<f;c++){this.cache.length<=c&&this.cache.push([]);for(var o=this.cache[c].length;o<d;o++)this.cache[c].push(void 0);this.cache[c].length=d}this.cache.length=f},g.prototype.clear=function(){for(var f=0;f<this.cache.length;f++)for(var d=0;d<this.cache[f].length;d++)this.cache[f][d]=void 0},g}();p.GridCache=m},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(h,A){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,w){y.__proto__=w}||function(y,w){for(var b in w)w.hasOwnProperty(b)&&(y[b]=w[b])})(h,A)},function(u,h){function A(){this.constructor=u}m(u,h),u.prototype=h===null?Object.create(h):(A.prototype=h.prototype,new A)});Object.defineProperty(p,"__esModule",{value:!0}),p.NoneCharAtlas=p.DynamicCharAtlas=p.getGlyphCacheKey=void 0;var f=S(9),d=S(44),c=S(27),o=S(46),i=S(11),t=S(28),a=S(10),e={css:"rgba(0, 0, 0, 0)",rgba:0};function l(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}p.getGlyphCacheKey=l;var r=function(u){function h(A,y){var w=u.call(this)||this;w._config=y,w._drawToCacheCount=0,w._glyphsWaitingOnBitmap=[],w._bitmapCommitTimeout=null,w._bitmap=null,w._cacheCanvas=A.createElement("canvas"),w._cacheCanvas.width=1024,w._cacheCanvas.height=1024,w._cacheCtx=t.throwIfFalsy(w._cacheCanvas.getContext("2d",{alpha:!0}));var b=A.createElement("canvas");b.width=w._config.scaledCharWidth,b.height=w._config.scaledCharHeight,w._tmpCtx=t.throwIfFalsy(b.getContext("2d",{alpha:w._config.allowTransparency})),w._width=Math.floor(1024/w._config.scaledCharWidth),w._height=Math.floor(1024/w._config.scaledCharHeight);var x=w._width*w._height;return w._cacheMap=new o.LRUMap(x),w._cacheMap.prealloc(x),w}return g(h,u),h.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},h.prototype.beginFrame=function(){this._drawToCacheCount=0},h.prototype.draw=function(A,y,w,b){if(y.code===32)return!0;if(!this._canCache(y))return!1;var x=l(y),O=this._cacheMap.get(x);if(O!=null)return this._drawFromCache(A,O,w,b),!0;if(this._drawToCacheCount<100){var T=void 0;T=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var E=this._drawToCache(y,T);return this._cacheMap.set(x,E),this._drawFromCache(A,E,w,b),!0}return!1},h.prototype._canCache=function(A){return A.code<256},h.prototype._toCoordinateX=function(A){return A%this._width*this._config.scaledCharWidth},h.prototype._toCoordinateY=function(A){return Math.floor(A/this._width)*this._config.scaledCharHeight},h.prototype._drawFromCache=function(A,y,w,b){if(!y.isEmpty){var x=this._toCoordinateX(y.index),O=this._toCoordinateY(y.index);A.drawImage(y.inBitmap?this._bitmap:this._cacheCanvas,x,O,this._config.scaledCharWidth,this._config.scaledCharHeight,w,b,this._config.scaledCharWidth,this._config.scaledCharHeight)}},h.prototype._getColorFromAnsiIndex=function(A){return A<this._config.colors.ansi.length?this._config.colors.ansi[A]:c.DEFAULT_ANSI_COLORS[A]},h.prototype._getBackgroundColor=function(A){return this._config.allowTransparency?e:A.bg===f.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:A.bg<256?this._getColorFromAnsiIndex(A.bg):this._config.colors.background},h.prototype._getForegroundColor=function(A){return A.fg===f.INVERTED_DEFAULT_COLOR?a.color.opaque(this._config.colors.background):A.fg<256?this._getColorFromAnsiIndex(A.fg):this._config.colors.foreground},h.prototype._drawToCache=function(A,y){this._drawToCacheCount++,this._tmpCtx.save();var w=this._getBackgroundColor(A);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=w.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var b=A.bold?this._config.fontWeightBold:this._config.fontWeight,x=A.italic?"italic":"";this._tmpCtx.font=x+" "+b+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(A).css,A.dim&&(this._tmpCtx.globalAlpha=f.DIM_OPACITY),this._tmpCtx.fillText(A.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var O=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),T=!1;this._config.allowTransparency||(T=function(L,P){for(var k=!0,F=P.rgba>>>24,j=P.rgba>>>16&255,z=P.rgba>>>8&255,R=0;R<L.data.length;R+=4)L.data[R]===F&&L.data[R+1]===j&&L.data[R+2]===z?L.data[R+3]=0:k=!1;return k}(O,w));var E=this._toCoordinateX(y),C=this._toCoordinateY(y);this._cacheCtx.putImageData(O,E,C);var _={index:y,isEmpty:T,inBitmap:!1};return this._addGlyphToBitmap(_),_},h.prototype._addGlyphToBitmap=function(A){var y=this;!("createImageBitmap"in window)||i.isFirefox||i.isSafari||(this._glyphsWaitingOnBitmap.push(A),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return y._generateBitmap()},100)))},h.prototype._generateBitmap=function(){var A=this,y=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(w){A._bitmap=w;for(var b=0;b<y.length;b++)y[b].inBitmap=!0}),this._bitmapCommitTimeout=null},h}(d.BaseCharAtlas);p.DynamicCharAtlas=r;var s=function(u){function h(A,y){return u.call(this)||this}return g(h,u),h.prototype.draw=function(A,y,w,b){return!1},h}(d.BaseCharAtlas);p.NoneCharAtlas=s},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.BaseCharAtlas=void 0;var m=function(){function g(){this._didWarmUp=!1}return g.prototype.dispose=function(){},g.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},g.prototype._doWarmUp=function(){},g.prototype.beginFrame=function(){},g}();p.BaseCharAtlas=m},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.ColorContrastCache=void 0;var m=function(){function g(){this._color={},this._rgba={}}return g.prototype.clear=function(){this._color={},this._rgba={}},g.prototype.setCss=function(f,d,c){this._rgba[f]||(this._rgba[f]={}),this._rgba[f][d]=c},g.prototype.getCss=function(f,d){return this._rgba[f]?this._rgba[f][d]:void 0},g.prototype.setColor=function(f,d,c){this._color[f]||(this._color[f]={}),this._color[f][d]=c},g.prototype.getColor=function(f,d){return this._color[f]?this._color[f][d]:void 0},g}();p.ColorContrastCache=m},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.LRUMap=void 0;var m=function(){function g(f){this.capacity=f,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return g.prototype._unlinkNode=function(f){var d=f.prev,c=f.next;f===this._head&&(this._head=c),f===this._tail&&(this._tail=d),d!==null&&(d.next=c),c!==null&&(c.prev=d)},g.prototype._appendNode=function(f){var d=this._tail;d!==null&&(d.next=f),f.prev=d,f.next=null,this._tail=f,this._head===null&&(this._head=f)},g.prototype.prealloc=function(f){for(var d=this._nodePool,c=0;c<f;c++)d.push({prev:null,next:null,key:null,value:null})},g.prototype.get=function(f){var d=this._map[f];return d!==void 0?(this._unlinkNode(d),this._appendNode(d),d.value):null},g.prototype.peekValue=function(f){var d=this._map[f];return d!==void 0?d.value:null},g.prototype.peek=function(){var f=this._head;return f===null?null:f.value},g.prototype.set=function(f,d){var c=this._map[f];if(c!==void 0)c=this._map[f],this._unlinkNode(c),c.value=d;else if(this.size>=this.capacity)c=this._head,this._unlinkNode(c),delete this._map[c.key],c.key=f,c.value=d,this._map[f]=c;else{var o=this._nodePool;o.length>0?((c=o.pop()).key=f,c.value=d):c={prev:null,next:null,key:f,value:d},this._map[f]=c,this.size++}this._appendNode(c)},g}();p.LRUMap=m},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(c,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var a in t)t.hasOwnProperty(a)&&(i[a]=t[a])})(c,o)},function(d,c){function o(){this.constructor=d}m(d,c),d.prototype=c===null?Object.create(c):(o.prototype=c.prototype,new o)});Object.defineProperty(p,"__esModule",{value:!0}),p.SelectionRenderLayer=void 0;var f=function(d){function c(o,i,t,a,e,l){var r=d.call(this,o,"selection",i,!0,t,a,e,l)||this;return r._clearState(),r}return g(c,d),c.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},c.prototype.resize=function(o){d.prototype.resize.call(this,o),this._clearState()},c.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},c.prototype.onSelectionChanged=function(o,i,t){if(this._didStateChange(o,i,t,this._bufferService.buffer.ydisp))if(this._clearAll(),o&&i){var a=o[1]-this._bufferService.buffer.ydisp,e=i[1]-this._bufferService.buffer.ydisp,l=Math.max(a,0),r=Math.min(e,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||r<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,t){var s=o[0],u=i[0]-s,h=r-l+1;this._fillCells(s,l,u,h)}else{s=a===l?o[0]:0;var A=l===r?i[0]:this._bufferService.cols;this._fillCells(s,l,A-s,1);var y=Math.max(r-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,y),l!==r){var w=e===r?i[0]:this._bufferService.cols;this._fillCells(0,r,w,1)}}this._state.start=[o[0],o[1]],this._state.end=[i[0],i[1]],this._state.columnSelectMode=t,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},c.prototype._didStateChange=function(o,i,t,a){return!this._areCoordinatesEqual(o,this._state.start)||!this._areCoordinatesEqual(i,this._state.end)||t!==this._state.columnSelectMode||a!==this._state.ydisp},c.prototype._areCoordinatesEqual=function(o,i){return!(!o||!i)&&o[0]===i[0]&&o[1]===i[1]},c}(S(13).BaseRenderLayer);p.SelectionRenderLayer=f},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(t,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,l){e.__proto__=l}||function(e,l){for(var r in l)l.hasOwnProperty(r)&&(e[r]=l[r])})(t,a)},function(i,t){function a(){this.constructor=i}m(i,t),i.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)});Object.defineProperty(p,"__esModule",{value:!0}),p.CursorRenderLayer=void 0;var f=S(13),d=S(4),c=function(i){function t(a,e,l,r,s,u,h,A,y){var w=i.call(this,a,"cursor",e,!0,l,r,u,h)||this;return w._onRequestRedraw=s,w._coreService=A,w._coreBrowserService=y,w._cell=new d.CellData,w._state={x:0,y:0,isFocused:!1,style:"",width:0},w._cursorRenderers={bar:w._renderBarCursor.bind(w),block:w._renderBlockCursor.bind(w),underline:w._renderUnderlineCursor.bind(w)},w}return g(t,i),t.prototype.resize=function(a){i.prototype.resize.call(this,a),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},t.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var a,e=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new o(this._coreBrowserService.isFocused,function(){e._render(!0)})):((a=this._cursorBlinkStateManager)===null||a===void 0||a.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype.onGridChanged=function(a,e){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(a){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var e=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=e-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(e).loadCell(r,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var s=this._optionsService.options.cursorStyle;return s&&s!=="block"?this._cursorRenderers[s](r,l,this._cell):this._renderBlurCursor(r,l,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=l,this._state.isFocused=!1,this._state.style=s,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===r&&this._state.y===l&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](r,l,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=l,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(a,e,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(a,e,this._optionsService.options.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(a,e,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(a,e,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,a,e),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(a,e,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(a,e),this._ctx.restore()},t.prototype._renderBlurCursor=function(a,e,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(a,e,l.getWidth(),1),this._ctx.restore()},t}(f.BaseRenderLayer);p.CursorRenderLayer=c;var o=function(){function i(t,a){this._renderCallback=a,this.isCursorVisible=!0,t&&this._restartInterval()}return Object.defineProperty(i.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),i.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},i.prototype.restartBlinkAnimation=function(){var t=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0})))},i.prototype._restartInterval=function(t){var a=this;t===void 0&&(t=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(a._animationTimeRestarted){var e=600-(Date.now()-a._animationTimeRestarted);if(a._animationTimeRestarted=void 0,e>0)return void a._restartInterval(e)}a.isCursorVisible=!1,a._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0}),a._blinkInterval=window.setInterval(function(){if(a._animationTimeRestarted){var l=600-(Date.now()-a._animationTimeRestarted);return a._animationTimeRestarted=void 0,void a._restartInterval(l)}a.isCursorVisible=!a.isCursorVisible,a._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0})},600)},t)},i.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},i.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},i}()},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(t,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,l){e.__proto__=l}||function(e,l){for(var r in l)l.hasOwnProperty(r)&&(e[r]=l[r])})(t,a)},function(i,t){function a(){this.constructor=i}m(i,t),i.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)});Object.defineProperty(p,"__esModule",{value:!0}),p.LinkRenderLayer=void 0;var f=S(13),d=S(9),c=S(26),o=function(i){function t(a,e,l,r,s,u,h,A){var y=i.call(this,a,"link",e,!0,l,r,h,A)||this;return s.onShowLinkUnderline(function(w){return y._onShowLinkUnderline(w)}),s.onHideLinkUnderline(function(w){return y._onHideLinkUnderline(w)}),u.onShowLinkUnderline(function(w){return y._onShowLinkUnderline(w)}),u.onHideLinkUnderline(function(w){return y._onHideLinkUnderline(w)}),y}return g(t,i),t.prototype.resize=function(a){i.prototype.resize.call(this,a),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var a=this._state.y2-this._state.y1-1;a>0&&this._clearCells(0,this._state.y1+1,this._state.cols,a),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onShowLinkUnderline=function(a){if(a.fg===d.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:a.fg&&c.is256Color(a.fg)?this._ctx.fillStyle=this._colors.ansi[a.fg].css:this._ctx.fillStyle=this._colors.foreground.css,a.y1===a.y2)this._fillBottomLineAtCells(a.x1,a.y1,a.x2-a.x1);else{this._fillBottomLineAtCells(a.x1,a.y1,a.cols-a.x1);for(var e=a.y1+1;e<a.y2;e++)this._fillBottomLineAtCells(0,e,a.cols);this._fillBottomLineAtCells(0,a.y2,a.x2)}this._state=a},t.prototype._onHideLinkUnderline=function(a){this._clearCurrentLink()},t}(f.BaseRenderLayer);p.LinkRenderLayer=o},function(v,p,S){"use strict";var m=this&&this.__decorate||function(i,t,a,e){var l,r=arguments.length,s=r<3?t:e===null?e=Object.getOwnPropertyDescriptor(t,a):e;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,t,a,e);else for(var u=i.length-1;u>=0;u--)(l=i[u])&&(s=(r<3?l(s):r>3?l(t,a,s):l(t,a))||s);return r>3&&s&&Object.defineProperty(t,a,s),s},g=this&&this.__param||function(i,t){return function(a,e){t(a,e,i)}};Object.defineProperty(p,"__esModule",{value:!0}),p.MouseZone=p.Linkifier=void 0;var f=S(0),d=S(1),c=function(){function i(t,a,e){this._bufferService=t,this._logService=a,this._unicodeService=e,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new f.EventEmitter,this._onHideLinkUnderline=new f.EventEmitter,this._onLinkTooltip=new f.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(i.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),i.prototype.attachToDom=function(t,a){this._element=t,this._mouseZoneManager=a},i.prototype.linkifyRows=function(t,a){var e=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=t,this._rowsToLinkify.end=a):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,t),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,a)),this._mouseZoneManager.clearAll(t,a),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return e._linkifyRows()},i._timeBeforeLatency))},i.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var t=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var a=t.ydisp+this._rowsToLinkify.start;if(!(a>=t.lines.length)){for(var e=t.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),r=this._bufferService.buffer.iterator(!1,a,e,l,l);r.hasNext();)for(var s=r.next(),u=0;u<this._linkMatchers.length;u++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[u]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},i.prototype.registerLinkMatcher=function(t,a,e){if(e===void 0&&(e={}),!a)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:t,handler:a,matchIndex:e.matchIndex,validationCallback:e.validationCallback,hoverTooltipCallback:e.tooltipCallback,hoverLeaveCallback:e.leaveCallback,willLinkActivate:e.willLinkActivate,priority:e.priority||0};return this._addLinkMatcherToList(l),l.id},i.prototype._addLinkMatcherToList=function(t){if(this._linkMatchers.length!==0){for(var a=this._linkMatchers.length-1;a>=0;a--)if(t.priority<=this._linkMatchers[a].priority)return void this._linkMatchers.splice(a+1,0,t);this._linkMatchers.splice(0,0,t)}else this._linkMatchers.push(t)},i.prototype.deregisterLinkMatcher=function(t){for(var a=0;a<this._linkMatchers.length;a++)if(this._linkMatchers[a].id===t)return this._linkMatchers.splice(a,1),!0;return!1},i.prototype._doLinkifyRow=function(t,a,e){for(var l,r=this,s=new RegExp(e.regex.source,(e.regex.flags||"")+"g"),u=-1,h=function(){var w=l[typeof e.matchIndex!="number"?0:e.matchIndex];if(!w)return A._logService.debug("match found without corresponding matchIndex",l,e),"break";if(u=a.indexOf(w,u+1),s.lastIndex=u+w.length,u<0)return"break";var b=A._bufferService.buffer.stringIndexToBufferIndex(t,u);if(b[0]<0)return"break";var x=A._bufferService.buffer.lines.get(b[0]);if(!x)return"break";var O=x.getFg(b[1]),T=O?O>>9&511:void 0;e.validationCallback?e.validationCallback(w,function(E){r._rowsTimeoutId||E&&r._addLink(b[1],b[0]-r._bufferService.buffer.ydisp,w,e,T)}):A._addLink(b[1],b[0]-A._bufferService.buffer.ydisp,w,e,T)},A=this;(l=s.exec(a))!==null&&!(h()==="break"););},i.prototype._addLink=function(t,a,e,l,r){var s=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(e),h=t%this._bufferService.cols,A=a+Math.floor(t/this._bufferService.cols),y=(h+u)%this._bufferService.cols,w=A+Math.floor((h+u)/this._bufferService.cols);y===0&&(y=this._bufferService.cols,w--),this._mouseZoneManager.add(new o(h+1,A+1,y+1,w+1,function(b){if(l.handler)return l.handler(b,e);var x=window.open();x?(x.opener=null,x.location.href=e):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(h,A,y,w,r)),s._element.classList.add("xterm-cursor-pointer")},function(b){s._onLinkTooltip.fire(s._createLinkHoverEvent(h,A,y,w,r)),l.hoverTooltipCallback&&l.hoverTooltipCallback(b,e,{start:{x:h,y:A},end:{x:y,y:w}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(h,A,y,w,r)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(b){return!l.willLinkActivate||l.willLinkActivate(b,e)}))}},i.prototype._createLinkHoverEvent=function(t,a,e,l,r){return{x1:t,y1:a,x2:e,y2:l,cols:this._bufferService.cols,fg:r}},i._timeBeforeLatency=200,i=m([g(0,d.IBufferService),g(1,d.ILogService),g(2,d.IUnicodeService)],i)}();p.Linkifier=c;var o=function(t,a,e,l,r,s,u,h,A){this.x1=t,this.y1=a,this.x2=e,this.y2=l,this.clickCallback=r,this.hoverCallback=s,this.tooltipCallback=u,this.leaveCallback=h,this.willLinkActivate=A};p.MouseZone=o},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(w,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,O){x.__proto__=O}||function(x,O){for(var T in O)O.hasOwnProperty(T)&&(x[T]=O[T])})(w,b)},function(y,w){function b(){this.constructor=y}m(y,w),y.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=this&&this.__decorate||function(y,w,b,x){var O,T=arguments.length,E=T<3?w:x===null?x=Object.getOwnPropertyDescriptor(w,b):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(y,w,b,x);else for(var C=y.length-1;C>=0;C--)(O=y[C])&&(E=(T<3?O(E):T>3?O(w,b,E):O(w,b))||E);return T>3&&E&&Object.defineProperty(w,b,E),E},d=this&&this.__param||function(y,w){return function(b,x){w(b,x,y)}};Object.defineProperty(p,"__esModule",{value:!0}),p.SelectionService=void 0;var c=S(11),o=S(52),i=S(4),t=S(0),a=S(5),e=S(1),l=S(30),r=S(53),s=S(2),u=String.fromCharCode(160),h=new RegExp(u,"g"),A=function(y){function w(b,x,O,T,E,C,_){var L=y.call(this)||this;return L._element=b,L._screenElement=x,L._bufferService=O,L._coreService=T,L._mouseService=E,L._optionsService=C,L._renderService=_,L._dragScrollAmount=0,L._enabled=!0,L._workCell=new i.CellData,L._mouseDownTimeStamp=0,L._onLinuxMouseSelection=L.register(new t.EventEmitter),L._onRedrawRequest=L.register(new t.EventEmitter),L._onSelectionChange=L.register(new t.EventEmitter),L._onRequestScrollLines=L.register(new t.EventEmitter),L._mouseMoveListener=function(P){return L._onMouseMove(P)},L._mouseUpListener=function(P){return L._onMouseUp(P)},L._coreService.onUserInput(function(){L.hasSelection&&L.clearSelection()}),L._trimListener=L._bufferService.buffer.lines.onTrim(function(P){return L._onTrim(P)}),L.register(L._bufferService.buffers.onBufferActivate(function(P){return L._onBufferActivate(P)})),L.enable(),L._model=new o.SelectionModel(L._bufferService),L._activeSelectionMode=0,L}return g(w,y),Object.defineProperty(w.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){this._removeMouseDownListeners()},w.prototype.reset=function(){this.clearSelection()},w.prototype.disable=function(){this.clearSelection(),this._enabled=!1},w.prototype.enable=function(){this._enabled=!0},Object.defineProperty(w.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"hasSelection",{get:function(){var x=this._model.finalSelectionStart,O=this._model.finalSelectionEnd;return!(!x||!O)&&(x[0]!==O[0]||x[1]!==O[1])},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionText",{get:function(){var x=this._model.finalSelectionStart,O=this._model.finalSelectionEnd;if(!x||!O)return"";var T=this._bufferService.buffer,E=[];if(this._activeSelectionMode===3){if(x[0]===O[0])return"";for(var C=x[1];C<=O[1];C++){var _=T.translateBufferLineToString(C,!0,x[0],O[0]);E.push(_)}}else{var L=x[1]===O[1]?O[0]:void 0;for(E.push(T.translateBufferLineToString(x[1],!0,x[0],L)),C=x[1]+1;C<=O[1]-1;C++){var P=T.lines.get(C);_=T.translateBufferLineToString(C,!0),P&&P.isWrapped?E[E.length-1]+=_:E.push(_)}x[1]!==O[1]&&(P=T.lines.get(O[1]),_=T.translateBufferLineToString(O[1],!0,0,O[0]),P&&P.isWrapped?E[E.length-1]+=_:E.push(_))}return E.map(function(k){return k.replace(h," ")}).join(c.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),w.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},w.prototype.refresh=function(b){var x=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return x._refresh()})),c.isLinux&&b)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},w.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},w.prototype.isClickInSelection=function(b){var x=this._getMouseBufferCoords(b),O=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(O&&T&&x)&&this._areCoordsInSelection(x,O,T)},w.prototype._areCoordsInSelection=function(b,x,O){return b[1]>x[1]&&b[1]<O[1]||x[1]===O[1]&&b[1]===x[1]&&b[0]>=x[0]&&b[0]<O[0]||x[1]<O[1]&&b[1]===O[1]&&b[0]<O[0]||x[1]<O[1]&&b[1]===x[1]&&b[0]>=x[0]},w.prototype.selectWordAtCursor=function(b){var x=this._getMouseBufferCoords(b);x&&(this._selectWordAt(x,!1),this._model.selectionEnd=void 0,this.refresh(!0))},w.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},w.prototype.selectLines=function(b,x){this._model.clearSelection(),b=Math.max(b,0),x=Math.min(x,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,b],this._model.selectionEnd=[this._bufferService.cols,x],this.refresh(),this._onSelectionChange.fire()},w.prototype._onTrim=function(b){this._model.onTrim(b)&&this.refresh()},w.prototype._getMouseBufferCoords=function(b){var x=this._mouseService.getCoords(b,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(x)return x[0]--,x[1]--,x[1]+=this._bufferService.buffer.ydisp,x},w.prototype._getMouseEventScrollAmount=function(b){var x=l.getCoordsRelativeToElement(b,this._screenElement)[1],O=this._renderService.dimensions.canvasHeight;return x>=0&&x<=O?0:(x>O&&(x-=O),x=Math.min(Math.max(x,-50),50),(x/=50)/Math.abs(x)+Math.round(14*x))},w.prototype.shouldForceSelection=function(b){return c.isMac?b.altKey&&this._optionsService.options.macOptionClickForcesSelection:b.shiftKey},w.prototype.onMouseDown=function(b){if(this._mouseDownTimeStamp=b.timeStamp,(b.button!==2||!this.hasSelection)&&b.button===0){if(!this._enabled){if(!this.shouldForceSelection(b))return;b.stopPropagation()}b.preventDefault(),this._dragScrollAmount=0,this._enabled&&b.shiftKey?this._onIncrementalClick(b):b.detail===1?this._onSingleClick(b):b.detail===2?this._onDoubleClick(b):b.detail===3&&this._onTripleClick(b),this._addMouseDownListeners(),this.refresh(!0)}},w.prototype._addMouseDownListeners=function(){var b=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return b._dragScroll()},50)},w.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},w.prototype._onIncrementalClick=function(b){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(b))},w.prototype._onSingleClick=function(b){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(b)?3:0,this._model.selectionStart=this._getMouseBufferCoords(b),this._model.selectionStart){this._model.selectionEnd=void 0;var x=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);x&&x.length!==this._model.selectionStart[0]&&x.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},w.prototype._onDoubleClick=function(b){var x=this._getMouseBufferCoords(b);x&&(this._activeSelectionMode=1,this._selectWordAt(x,!0))},w.prototype._onTripleClick=function(b){var x=this._getMouseBufferCoords(b);x&&(this._activeSelectionMode=2,this._selectLineAt(x[1]))},w.prototype.shouldColumnSelect=function(b){return b.altKey&&!(c.isMac&&this._optionsService.options.macOptionClickForcesSelection)},w.prototype._onMouseMove=function(b){if(b.stopImmediatePropagation(),this._model.selectionStart){var x=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(b),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(b),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var O=this._bufferService.buffer;if(this._model.selectionEnd[1]<O.lines.length){var T=O.lines.get(this._model.selectionEnd[1]);T&&T.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}x&&x[0]===this._model.selectionEnd[0]&&x[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},w.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var b=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(b.ydisp+this._bufferService.rows,b.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=b.ydisp),this.refresh()}},w.prototype._onMouseUp=function(b){var x=b.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&x<500&&b.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var O=this._mouseService.getCoords(b,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(O&&O[0]!==void 0&&O[1]!==void 0){var T=r.moveToCellSequence(O[0]-1,O[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(T,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},w.prototype._onBufferActivate=function(b){var x=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=b.activeBuffer.lines.onTrim(function(O){return x._onTrim(O)})},w.prototype._convertViewportColToCharacterIndex=function(b,x){for(var O=x[0],T=0;x[0]>=T;T++){var E=b.loadCell(T,this._workCell).getChars().length;this._workCell.getWidth()===0?O--:E>1&&x[0]!==T&&(O+=E-1)}return O},w.prototype.setSelection=function(b,x,O){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[b,x],this._model.selectionStartLength=O,this.refresh()},w.prototype._getWordAt=function(b,x,O,T){if(O===void 0&&(O=!0),T===void 0&&(T=!0),!(b[0]>=this._bufferService.cols)){var E=this._bufferService.buffer,C=E.lines.get(b[1]);if(C){var _=E.translateBufferLineToString(b[1],!1),L=this._convertViewportColToCharacterIndex(C,b),P=L,k=b[0]-L,F=0,j=0,z=0,R=0;if(_.charAt(L)===" "){for(;L>0&&_.charAt(L-1)===" ";)L--;for(;P<_.length&&_.charAt(P+1)===" ";)P++}else{var U=b[0],B=b[0];C.getWidth(U)===0&&(F++,U--),C.getWidth(B)===2&&(j++,B++);var H=C.getString(B).length;for(H>1&&(R+=H-1,P+=H-1);U>0&&L>0&&!this._isCharWordSeparator(C.loadCell(U-1,this._workCell));){C.loadCell(U-1,this._workCell);var K=this._workCell.getChars().length;this._workCell.getWidth()===0?(F++,U--):K>1&&(z+=K-1,L-=K-1),L--,U--}for(;B<C.length&&P+1<_.length&&!this._isCharWordSeparator(C.loadCell(B+1,this._workCell));){C.loadCell(B+1,this._workCell);var V=this._workCell.getChars().length;this._workCell.getWidth()===2?(j++,B++):V>1&&(R+=V-1,P+=V-1),P++,B++}}P++;var W=L+k-F+z,G=Math.min(this._bufferService.cols,P-L+F+j-z-R);if(x||_.slice(L,P).trim()!==""){if(O&&W===0&&C.getCodePoint(0)!==32){var re=E.lines.get(b[1]-1);if(re&&C.isWrapped&&re.getCodePoint(this._bufferService.cols-1)!==32){var ye=this._getWordAt([this._bufferService.cols-1,b[1]-1],!1,!0,!1);if(ye){var $=this._bufferService.cols-ye.start;W-=$,G+=$}}}if(T&&W+G===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var ve=E.lines.get(b[1]+1);if(ve&&ve.isWrapped&&ve.getCodePoint(0)!==32){var Ce=this._getWordAt([0,b[1]+1],!1,!1,!0);Ce&&(G+=Ce.length)}}return{start:W,length:G}}}}},w.prototype._selectWordAt=function(b,x){var O=this._getWordAt(b,x);if(O){for(;O.start<0;)O.start+=this._bufferService.cols,b[1]--;this._model.selectionStart=[O.start,b[1]],this._model.selectionStartLength=O.length}},w.prototype._selectToWordAt=function(b){var x=this._getWordAt(b,!0);if(x){for(var O=b[1];x.start<0;)x.start+=this._bufferService.cols,O--;if(!this._model.areSelectionValuesReversed())for(;x.start+x.length>this._bufferService.cols;)x.length-=this._bufferService.cols,O++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?x.start:x.start+x.length,O]}},w.prototype._isCharWordSeparator=function(b){return b.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(b.getChars())>=0},w.prototype._selectLineAt=function(b){var x=this._bufferService.buffer.getWrappedRangeForLine(b);this._model.selectionStart=[0,x.first],this._model.selectionEnd=[this._bufferService.cols,x.last],this._model.selectionStartLength=0},w=f([d(2,e.IBufferService),d(3,e.ICoreService),d(4,a.IMouseService),d(5,e.IOptionsService),d(6,a.IRenderService)],w)}(s.Disposable);p.SelectionService=A},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.SelectionModel=void 0;var m=function(){function g(f){this._bufferService=f,this.isSelectAllActive=!1,this.selectionStartLength=0}return g.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(g.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var d=this.selectionStart[0]+this.selectionStartLength;return d>this._bufferService.cols?[d%this._bufferService.cols,this.selectionStart[1]+Math.floor(d/this._bufferService.cols)]:[d,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),g.prototype.areSelectionValuesReversed=function(){var f=this.selectionStart,d=this.selectionEnd;return!(!f||!d)&&(f[1]>d[1]||f[1]===d[1]&&f[0]>d[0])},g.prototype.onTrim=function(f){return this.selectionStart&&(this.selectionStart[1]-=f),this.selectionEnd&&(this.selectionEnd[1]-=f),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},g}();p.SelectionModel=m},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.moveToCellSequence=void 0;var m=S(12);function g(t,a,e,l){var r=t-f(e,t),s=a-f(e,a);return i(Math.abs(r-s)-function(u,h,A){for(var y=0,w=u-f(A,u),b=h-f(A,h),x=0;x<Math.abs(w-b);x++){var O=d(u,h)==="A"?-1:1,T=A.buffer.lines.get(w+O*x);T&&T.isWrapped&&y++}return y}(t,a,e),o(d(t,a),l))}function f(t,a){for(var e=0,l=t.buffer.lines.get(a),r=l&&l.isWrapped;r&&a>=0&&a<t.rows;)e++,r=(l=t.buffer.lines.get(--a))&&l.isWrapped;return e}function d(t,a){return t>a?"A":"B"}function c(t,a,e,l,r,s){for(var u=t,h=a,A="";u!==e||h!==l;)u+=r?1:-1,r&&u>s.cols-1?(A+=s.buffer.translateBufferLineToString(h,!1,t,u),u=0,t=0,h++):!r&&u<0&&(A+=s.buffer.translateBufferLineToString(h,!1,0,t+1),t=u=s.cols-1,h--);return A+s.buffer.translateBufferLineToString(h,!1,t,u)}function o(t,a){var e=a?"O":"[";return m.C0.ESC+e+t}function i(t,a){t=Math.floor(t);for(var e="",l=0;l<t;l++)e+=a;return e}p.moveToCellSequence=function(t,a,e,l){var r,s=e.buffer.x,u=e.buffer.y;if(!e.buffer.hasScrollback)return function(A,y,w,b,x,O){return g(y,b,x,O).length===0?"":i(c(A,y,A,y-f(x,y),!1,x).length,o("D",O))}(s,u,0,a,e,l)+g(u,a,e,l)+function(A,y,w,b,x,O){var T;T=g(y,b,x,O).length>0?b-f(x,b):y;var E=b,C=function(_,L,P,k,F,j){var z;return z=g(P,k,F,j).length>0?k-f(F,k):L,_<P&&z<=k||_>=P&&z<k?"C":"D"}(A,y,w,b,x,O);return i(c(A,T,w,E,C==="C",x).length,o(C,O))}(s,u,t,a,e,l);if(u===a)return r=s>t?"D":"C",i(Math.abs(s-t),o(r,l));r=u>a?"D":"C";var h=Math.abs(u-a);return i(function(A,y){return y.cols-A}(u>a?t:s,e)+(h-1)*e.cols+1+((u>a?s:t)-1),o(r,l))}},function(v,p,S){"use strict";var m=this&&this.__decorate||function(c,o,i,t){var a,e=arguments.length,l=e<3?o:t===null?t=Object.getOwnPropertyDescriptor(o,i):t;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(c,o,i,t);else for(var r=c.length-1;r>=0;r--)(a=c[r])&&(l=(e<3?a(l):e>3?a(o,i,l):a(o,i))||l);return e>3&&l&&Object.defineProperty(o,i,l),l},g=this&&this.__param||function(c,o){return function(i,t){o(i,t,c)}};Object.defineProperty(p,"__esModule",{value:!0}),p.SoundService=void 0;var f=S(1),d=function(){function c(o){this._optionsService=o}return Object.defineProperty(c,"audioContext",{get:function(){if(!c._audioContext){var i=window.AudioContext||window.webkitAudioContext;if(!i)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;c._audioContext=new i}return c._audioContext},enumerable:!1,configurable:!0}),c.prototype.playBellSound=function(){var o=c.audioContext;if(o){var i=o.createBufferSource();o.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(t){i.buffer=t,i.connect(o.destination),i.start(0)})}},c.prototype._base64ToArrayBuffer=function(o){for(var i=window.atob(o),t=i.length,a=new Uint8Array(t),e=0;e<t;e++)a[e]=i.charCodeAt(e);return a.buffer},c.prototype._removeMimeType=function(o){return o.split(",")[1]},c=m([g(0,f.IOptionsService)],c)}();p.SoundService=d},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,r)},function(e,l){function r(){this.constructor=e}m(e,l),e.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}),f=this&&this.__decorate||function(e,l,r,s){var u,h=arguments.length,A=h<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,r):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(e,l,r,s);else for(var y=e.length-1;y>=0;y--)(u=e[y])&&(A=(h<3?u(A):h>3?u(l,r,A):u(l,r))||A);return h>3&&A&&Object.defineProperty(l,r,A),A},d=this&&this.__param||function(e,l){return function(r,s){l(r,s,e)}};Object.defineProperty(p,"__esModule",{value:!0}),p.MouseZoneManager=void 0;var c=S(2),o=S(7),i=S(5),t=S(1),a=function(e){function l(r,s,u,h,A,y){var w=e.call(this)||this;return w._element=r,w._screenElement=s,w._bufferService=u,w._mouseService=h,w._selectionService=A,w._optionsService=y,w._zones=[],w._areZonesActive=!1,w._lastHoverCoords=[void 0,void 0],w._initialSelectionLength=0,w.register(o.addDisposableDomListener(w._element,"mousedown",function(b){return w._onMouseDown(b)})),w._mouseMoveListener=function(b){return w._onMouseMove(b)},w._mouseLeaveListener=function(b){return w._onMouseLeave(b)},w._clickListener=function(b){return w._onClick(b)},w}return g(l,e),l.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(r){this._zones.push(r),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(r,s){if(this._zones.length!==0){r&&s||(r=0,s=this._bufferService.rows-1);for(var u=0;u<this._zones.length;u++){var h=this._zones[u];(h.y1>r&&h.y1<=s+1||h.y2>r&&h.y2<=s+1||h.y1<r&&h.y2>s+1)&&(this._currentZone&&this._currentZone===h&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(u--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(r){this._lastHoverCoords[0]===r.pageX&&this._lastHoverCoords[1]===r.pageY||(this._onHover(r),this._lastHoverCoords=[r.pageX,r.pageY])},l.prototype._onHover=function(r){var s=this,u=this._findZoneEventAt(r);u!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),u&&(this._currentZone=u,u.hoverCallback&&u.hoverCallback(r),this._tooltipTimeout=window.setTimeout(function(){return s._onTooltip(r)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(r){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(r);s&&s.tooltipCallback&&s.tooltipCallback(r)},l.prototype._onMouseDown=function(r){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var s=this._findZoneEventAt(r);(s==null?void 0:s.willLinkActivate(r))&&(r.preventDefault(),r.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(r){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(r){var s=this._findZoneEventAt(r),u=this._getSelectionLength();s&&u===this._initialSelectionLength&&(s.clickCallback(r),r.preventDefault(),r.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var r=this._selectionService.selectionText;return r?r.length:0},l.prototype._findZoneEventAt=function(r){var s=this._mouseService.getCoords(r,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(s)for(var u=s[0],h=s[1],A=0;A<this._zones.length;A++){var y=this._zones[A];if(y.y1===y.y2){if(h===y.y1&&u>=y.x1&&u<y.x2)return y}else if(h===y.y1&&u>=y.x1||h===y.y2&&u<y.x2||h>y.y1&&h<y.y2)return y}},l=f([d(2,t.IBufferService),d(3,i.IMouseService),d(4,i.ISelectionService),d(5,t.IOptionsService)],l)}(c.Disposable);p.MouseZoneManager=a},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(r,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,h){u.__proto__=h}||function(u,h){for(var A in h)h.hasOwnProperty(A)&&(u[A]=h[A])})(r,s)},function(l,r){function s(){this.constructor=l}m(l,r),l.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)});Object.defineProperty(p,"__esModule",{value:!0}),p.AccessibilityManager=void 0;var f=S(18),d=S(11),c=S(31),o=S(7),i=S(2),t=S(32),a=S(17),e=function(l){function r(s,u){var h=l.call(this)||this;h._terminal=s,h._renderService=u,h._liveRegionLineCount=0,h._charsToConsume=[],h._charsToAnnounce="",h._accessibilityTreeRoot=document.createElement("div"),h._accessibilityTreeRoot.classList.add("xterm-accessibility"),h._rowContainer=document.createElement("div"),h._rowContainer.classList.add("xterm-accessibility-tree"),h._rowContainer.setAttribute("role","list"),h._rowElements=[];for(var A=0;A<h._terminal.rows;A++)h._rowElements[A]=h._createAccessibilityTreeNode(),h._rowContainer.appendChild(h._rowElements[A]);if(h._topBoundaryFocusListener=function(y){return h._onBoundaryFocus(y,0)},h._bottomBoundaryFocusListener=function(y){return h._onBoundaryFocus(y,1)},h._rowElements[0].addEventListener("focus",h._topBoundaryFocusListener),h._rowElements[h._rowElements.length-1].addEventListener("focus",h._bottomBoundaryFocusListener),h._refreshRowsDimensions(),h._accessibilityTreeRoot.appendChild(h._rowContainer),h._renderRowsDebouncer=new c.RenderDebouncer(h._renderRows.bind(h)),h._refreshRows(),h._liveRegion=document.createElement("div"),h._liveRegion.classList.add("live-region"),h._liveRegion.setAttribute("aria-live","assertive"),h._accessibilityTreeRoot.appendChild(h._liveRegion),!h._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return h._terminal.element.insertAdjacentElement("afterbegin",h._accessibilityTreeRoot),h.register(h._renderRowsDebouncer),h.register(h._terminal.onResize(function(y){return h._onResize(y.rows)})),h.register(h._terminal.onRender(function(y){return h._refreshRows(y.start,y.end)})),h.register(h._terminal.onScroll(function(){return h._refreshRows()})),h.register(h._terminal.onA11yChar(function(y){return h._onChar(y)})),h.register(h._terminal.onLineFeed(function(){return h._onChar(`
`)})),h.register(h._terminal.onA11yTab(function(y){return h._onTab(y)})),h.register(h._terminal.onKey(function(y){return h._onKey(y.key)})),h.register(h._terminal.onBlur(function(){return h._clearLiveRegion()})),h.register(h._renderService.onDimensionsChange(function(){return h._refreshRowsDimensions()})),h._screenDprMonitor=new t.ScreenDprMonitor,h.register(h._screenDprMonitor),h._screenDprMonitor.setListener(function(){return h._refreshRowsDimensions()}),h.register(o.addDisposableDomListener(window,"resize",function(){return h._refreshRowsDimensions()})),h}return g(r,l),r.prototype.dispose=function(){l.prototype.dispose.call(this),a.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},r.prototype._onBoundaryFocus=function(s,u){var h=s.target,A=this._rowElements[u===0?1:this._rowElements.length-2];if(h.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===A){var y,w;if(u===0?(y=h,w=this._rowElements.pop(),this._rowContainer.removeChild(w)):(y=this._rowElements.shift(),w=h,this._rowContainer.removeChild(y)),y.removeEventListener("focus",this._topBoundaryFocusListener),w.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var b=this._createAccessibilityTreeNode();this._rowElements.unshift(b),this._rowContainer.insertAdjacentElement("afterbegin",b)}else b=this._createAccessibilityTreeNode(),this._rowElements.push(b),this._rowContainer.appendChild(b);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(u===0?-1:1),this._rowElements[u===0?1:this._rowElements.length-2].focus(),s.preventDefault(),s.stopImmediatePropagation()}},r.prototype._onResize=function(s){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var u=this._rowContainer.children.length;u<this._terminal.rows;u++)this._rowElements[u]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[u]);for(;this._rowElements.length>s;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},r.prototype._createAccessibilityTreeNode=function(){var s=document.createElement("div");return s.setAttribute("role","listitem"),s.tabIndex=-1,this._refreshRowDimensions(s),s},r.prototype._onTab=function(s){for(var u=0;u<s;u++)this._onChar(" ")},r.prototype._onChar=function(s){var u=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==s&&(this._charsToAnnounce+=s):this._charsToAnnounce+=s,s===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=f.tooMuchOutput)),d.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},r.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,d.isMac&&a.removeElementFromParent(this._liveRegion)},r.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},r.prototype._refreshRows=function(s,u){this._renderRowsDebouncer.refresh(s,u,this._terminal.rows)},r.prototype._renderRows=function(s,u){for(var h=this._terminal.buffer,A=h.lines.length.toString(),y=s;y<=u;y++){var w=h.translateBufferLineToString(h.ydisp+y,!0),b=(h.ydisp+y+1).toString(),x=this._rowElements[y];x&&(w.length===0?x.innerHTML="&nbsp;":x.textContent=w,x.setAttribute("aria-posinset",b),x.setAttribute("aria-setsize",A))}this._announceCharacters()},r.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var s=0;s<this._terminal.rows;s++)this._refreshRowDimensions(this._rowElements[s])}},r.prototype._refreshRowDimensions=function(s){s.style.height=this._renderService.dimensions.actualCellHeight+"px"},r.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},r}(i.Disposable);p.AccessibilityManager=e},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(A,y){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var x in b)b.hasOwnProperty(x)&&(w[x]=b[x])})(A,y)},function(h,A){function y(){this.constructor=h}m(h,A),h.prototype=A===null?Object.create(A):(y.prototype=A.prototype,new y)}),f=this&&this.__decorate||function(h,A,y,w){var b,x=arguments.length,O=x<3?A:w===null?w=Object.getOwnPropertyDescriptor(A,y):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")O=Reflect.decorate(h,A,y,w);else for(var T=h.length-1;T>=0;T--)(b=h[T])&&(O=(x<3?b(O):x>3?b(A,y,O):b(A,y))||O);return x>3&&O&&Object.defineProperty(A,y,O),O},d=this&&this.__param||function(h,A){return function(y,w){A(y,w,h)}};Object.defineProperty(p,"__esModule",{value:!0}),p.DomRenderer=void 0;var c=S(58),o=S(9),i=S(2),t=S(5),a=S(1),e=S(0),l=S(10),r=S(17),s=1,u=function(h){function A(y,w,b,x,O,T,E,C,_){var L=h.call(this)||this;return L._colors=y,L._element=w,L._screenElement=b,L._viewportElement=x,L._linkifier=O,L._linkifier2=T,L._charSizeService=E,L._optionsService=C,L._bufferService=_,L._terminalClass=s++,L._rowElements=[],L._rowContainer=document.createElement("div"),L._rowContainer.classList.add("xterm-rows"),L._rowContainer.style.lineHeight="normal",L._rowContainer.setAttribute("aria-hidden","true"),L._refreshRowElements(L._bufferService.cols,L._bufferService.rows),L._selectionContainer=document.createElement("div"),L._selectionContainer.classList.add("xterm-selection"),L._selectionContainer.setAttribute("aria-hidden","true"),L.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},L._updateDimensions(),L._injectCss(),L._rowFactory=new c.DomRendererRowFactory(document,L._optionsService,L._colors),L._element.classList.add("xterm-dom-renderer-owner-"+L._terminalClass),L._screenElement.appendChild(L._rowContainer),L._screenElement.appendChild(L._selectionContainer),L._linkifier.onShowLinkUnderline(function(P){return L._onLinkHover(P)}),L._linkifier.onHideLinkUnderline(function(P){return L._onLinkLeave(P)}),L._linkifier2.onShowLinkUnderline(function(P){return L._onLinkHover(P)}),L._linkifier2.onHideLinkUnderline(function(P){return L._onLinkLeave(P)}),L}return g(A,h),Object.defineProperty(A.prototype,"onRequestRedraw",{get:function(){return new e.EventEmitter().event},enumerable:!1,configurable:!0}),A.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),r.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),h.prototype.dispose.call(this)},A.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var y=0,w=this._rowElements;y<w.length;y++){var b=w[y];b.style.width=this.dimensions.canvasWidth+"px",b.style.height=this.dimensions.actualCellHeight+"px",b.style.lineHeight=this.dimensions.actualCellHeight+"px",b.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var x=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=x,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},A.prototype.setColors=function(y){this._colors=y,this._injectCss()},A.prototype._injectCss=function(){var y=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var w=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";w+=this._terminalSelector+" span:not(."+c.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+c.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+c.ITALIC_CLASS+" { font-style: italic;}",w+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",w+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",w+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_BLINK_CLASS+":not(."+c.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_BLINK_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",w+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(b,x){w+=y._terminalSelector+" .xterm-fg-"+x+" { color: "+b.css+"; }"+y._terminalSelector+" .xterm-bg-"+x+" { background-color: "+b.css+"; }"}),w+=this._terminalSelector+" .xterm-fg-"+o.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+o.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=w},A.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},A.prototype._refreshRowElements=function(y,w){for(var b=this._rowElements.length;b<=w;b++){var x=document.createElement("div");this._rowContainer.appendChild(x),this._rowElements.push(x)}for(;this._rowElements.length>w;)this._rowContainer.removeChild(this._rowElements.pop())},A.prototype.onResize=function(y,w){this._refreshRowElements(y,w),this._updateDimensions()},A.prototype.onCharSizeChanged=function(){this._updateDimensions()},A.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},A.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},A.prototype.onSelectionChanged=function(y,w,b){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(y&&w){var x=y[1]-this._bufferService.buffer.ydisp,O=w[1]-this._bufferService.buffer.ydisp,T=Math.max(x,0),E=Math.min(O,this._bufferService.rows-1);if(!(T>=this._bufferService.rows||E<0)){var C=document.createDocumentFragment();if(b)C.appendChild(this._createSelectionElement(T,y[0],w[0],E-T+1));else{var _=x===T?y[0]:0,L=T===E?w[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(T,_,L));var P=E-T-1;if(C.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,P)),T!==E){var k=O===E?w[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(E,0,k))}}this._selectionContainer.appendChild(C)}}},A.prototype._createSelectionElement=function(y,w,b,x){x===void 0&&(x=1);var O=document.createElement("div");return O.style.height=x*this.dimensions.actualCellHeight+"px",O.style.top=y*this.dimensions.actualCellHeight+"px",O.style.left=w*this.dimensions.actualCellWidth+"px",O.style.width=this.dimensions.actualCellWidth*(b-w)+"px",O},A.prototype.onCursorMove=function(){},A.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},A.prototype.clear=function(){for(var y=0,w=this._rowElements;y<w.length;y++)w[y].innerHTML=""},A.prototype.renderRows=function(y,w){for(var b=this._bufferService.buffer.ybase+this._bufferService.buffer.y,x=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),O=this._optionsService.options.cursorBlink,T=y;T<=w;T++){var E=this._rowElements[T];E.innerHTML="";var C=T+this._bufferService.buffer.ydisp,_=this._bufferService.buffer.lines.get(C),L=this._optionsService.options.cursorStyle;E.appendChild(this._rowFactory.createRow(_,C===b,L,x,O,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(A.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),A.prototype.registerCharacterJoiner=function(y){return-1},A.prototype.deregisterCharacterJoiner=function(y){return!1},A.prototype._onLinkHover=function(y){this._setCellUnderline(y.x1,y.x2,y.y1,y.y2,y.cols,!0)},A.prototype._onLinkLeave=function(y){this._setCellUnderline(y.x1,y.x2,y.y1,y.y2,y.cols,!1)},A.prototype._setCellUnderline=function(y,w,b,x,O,T){for(;y!==w||b!==x;){var E=this._rowElements[b];if(!E)return;var C=E.children[y];C&&(C.style.textDecoration=T?"underline":"none"),++y>=O&&(y=0,b++)}},A=f([d(6,t.ICharSizeService),d(7,a.IOptionsService),d(8,a.IBufferService)],A)}(i.Disposable);p.DomRenderer=u},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.DomRendererRowFactory=p.CURSOR_STYLE_UNDERLINE_CLASS=p.CURSOR_STYLE_BAR_CLASS=p.CURSOR_STYLE_BLOCK_CLASS=p.CURSOR_BLINK_CLASS=p.CURSOR_CLASS=p.UNDERLINE_CLASS=p.ITALIC_CLASS=p.DIM_CLASS=p.BOLD_CLASS=void 0;var m=S(9),g=S(3),f=S(4),d=S(10);p.BOLD_CLASS="xterm-bold",p.DIM_CLASS="xterm-dim",p.ITALIC_CLASS="xterm-italic",p.UNDERLINE_CLASS="xterm-underline",p.CURSOR_CLASS="xterm-cursor",p.CURSOR_BLINK_CLASS="xterm-cursor-blink",p.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",p.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",p.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var c=function(){function i(t,a,e){this._document=t,this._optionsService=a,this._colors=e,this._workCell=new f.CellData}return i.prototype.setColors=function(t){this._colors=t},i.prototype.createRow=function(t,a,e,l,r,s,u){for(var h=this._document.createDocumentFragment(),A=0,y=Math.min(t.length,u)-1;y>=0;y--)if(t.loadCell(y,this._workCell).getCode()!==g.NULL_CELL_CODE||a&&y===l){A=y+1;break}for(y=0;y<A;y++){t.loadCell(y,this._workCell);var w=this._workCell.getWidth();if(w!==0){var b=this._document.createElement("span");if(w>1&&(b.style.width=s*w+"px"),a&&y===l)switch(b.classList.add(p.CURSOR_CLASS),r&&b.classList.add(p.CURSOR_BLINK_CLASS),e){case"bar":b.classList.add(p.CURSOR_STYLE_BAR_CLASS);break;case"underline":b.classList.add(p.CURSOR_STYLE_UNDERLINE_CLASS);break;default:b.classList.add(p.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&b.classList.add(p.BOLD_CLASS),this._workCell.isItalic()&&b.classList.add(p.ITALIC_CLASS),this._workCell.isDim()&&b.classList.add(p.DIM_CLASS),this._workCell.isUnderline()&&b.classList.add(p.UNDERLINE_CLASS),this._workCell.isInvisible()?b.textContent=g.WHITESPACE_CELL_CHAR:b.textContent=this._workCell.getChars()||g.WHITESPACE_CELL_CHAR;var x=this._workCell.getFgColor(),O=this._workCell.getFgColorMode(),T=this._workCell.getBgColor(),E=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var _=x;x=T,T=_;var L=O;O=E,E=L}switch(O){case 16777216:case 33554432:this._workCell.isBold()&&x<8&&this._optionsService.options.drawBoldTextInBrightColors&&(x+=8),this._applyMinimumContrast(b,this._colors.background,this._colors.ansi[x])||b.classList.add("xterm-fg-"+x);break;case 50331648:var P=d.rgba.toColor(x>>16&255,x>>8&255,255&x);this._applyMinimumContrast(b,this._colors.background,P)||this._addStyle(b,"color:#"+o(x.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(b,this._colors.background,this._colors.foreground)||C&&b.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(E){case 16777216:case 33554432:b.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(b,"background-color:#"+o(T.toString(16),"0",6));break;case 0:default:C&&b.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}h.appendChild(b)}}return h},i.prototype._applyMinimumContrast=function(t,a,e){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=d.color.ensureContrastRatio(a,e,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(t,"color:"+l.css),!0)},i.prototype._addStyle=function(t,a){t.setAttribute("style",""+(t.getAttribute("style")||"")+a+";")},i}();function o(i,t,a){for(;i.length<a;)i=t+i;return i}p.DomRendererRowFactory=c},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.evaluateKeyboardEvent=void 0;var m=S(12),g={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};p.evaluateKeyboardEvent=function(f,d,c,o){var i={type:0,cancel:!1,key:void 0},t=(f.shiftKey?1:0)|(f.altKey?2:0)|(f.ctrlKey?4:0)|(f.metaKey?8:0);switch(f.keyCode){case 0:f.key==="UIKeyInputUpArrow"?i.key=d?m.C0.ESC+"OA":m.C0.ESC+"[A":f.key==="UIKeyInputLeftArrow"?i.key=d?m.C0.ESC+"OD":m.C0.ESC+"[D":f.key==="UIKeyInputRightArrow"?i.key=d?m.C0.ESC+"OC":m.C0.ESC+"[C":f.key==="UIKeyInputDownArrow"&&(i.key=d?m.C0.ESC+"OB":m.C0.ESC+"[B");break;case 8:if(f.shiftKey){i.key=m.C0.BS;break}if(f.altKey){i.key=m.C0.ESC+m.C0.DEL;break}i.key=m.C0.DEL;break;case 9:if(f.shiftKey){i.key=m.C0.ESC+"[Z";break}i.key=m.C0.HT,i.cancel=!0;break;case 13:i.key=f.altKey?m.C0.ESC+m.C0.CR:m.C0.CR,i.cancel=!0;break;case 27:i.key=m.C0.ESC,f.altKey&&(i.key=m.C0.ESC+m.C0.ESC),i.cancel=!0;break;case 37:if(f.metaKey)break;t?(i.key=m.C0.ESC+"[1;"+(t+1)+"D",i.key===m.C0.ESC+"[1;3D"&&(i.key=m.C0.ESC+(c?"b":"[1;5D"))):i.key=d?m.C0.ESC+"OD":m.C0.ESC+"[D";break;case 39:if(f.metaKey)break;t?(i.key=m.C0.ESC+"[1;"+(t+1)+"C",i.key===m.C0.ESC+"[1;3C"&&(i.key=m.C0.ESC+(c?"f":"[1;5C"))):i.key=d?m.C0.ESC+"OC":m.C0.ESC+"[C";break;case 38:if(f.metaKey)break;t?(i.key=m.C0.ESC+"[1;"+(t+1)+"A",c||i.key!==m.C0.ESC+"[1;3A"||(i.key=m.C0.ESC+"[1;5A")):i.key=d?m.C0.ESC+"OA":m.C0.ESC+"[A";break;case 40:if(f.metaKey)break;t?(i.key=m.C0.ESC+"[1;"+(t+1)+"B",c||i.key!==m.C0.ESC+"[1;3B"||(i.key=m.C0.ESC+"[1;5B")):i.key=d?m.C0.ESC+"OB":m.C0.ESC+"[B";break;case 45:f.shiftKey||f.ctrlKey||(i.key=m.C0.ESC+"[2~");break;case 46:i.key=t?m.C0.ESC+"[3;"+(t+1)+"~":m.C0.ESC+"[3~";break;case 36:i.key=t?m.C0.ESC+"[1;"+(t+1)+"H":d?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:i.key=t?m.C0.ESC+"[1;"+(t+1)+"F":d?m.C0.ESC+"OF":m.C0.ESC+"[F";break;case 33:f.shiftKey?i.type=2:i.key=m.C0.ESC+"[5~";break;case 34:f.shiftKey?i.type=3:i.key=m.C0.ESC+"[6~";break;case 112:i.key=t?m.C0.ESC+"[1;"+(t+1)+"P":m.C0.ESC+"OP";break;case 113:i.key=t?m.C0.ESC+"[1;"+(t+1)+"Q":m.C0.ESC+"OQ";break;case 114:i.key=t?m.C0.ESC+"[1;"+(t+1)+"R":m.C0.ESC+"OR";break;case 115:i.key=t?m.C0.ESC+"[1;"+(t+1)+"S":m.C0.ESC+"OS";break;case 116:i.key=t?m.C0.ESC+"[15;"+(t+1)+"~":m.C0.ESC+"[15~";break;case 117:i.key=t?m.C0.ESC+"[17;"+(t+1)+"~":m.C0.ESC+"[17~";break;case 118:i.key=t?m.C0.ESC+"[18;"+(t+1)+"~":m.C0.ESC+"[18~";break;case 119:i.key=t?m.C0.ESC+"[19;"+(t+1)+"~":m.C0.ESC+"[19~";break;case 120:i.key=t?m.C0.ESC+"[20;"+(t+1)+"~":m.C0.ESC+"[20~";break;case 121:i.key=t?m.C0.ESC+"[21;"+(t+1)+"~":m.C0.ESC+"[21~";break;case 122:i.key=t?m.C0.ESC+"[23;"+(t+1)+"~":m.C0.ESC+"[23~";break;case 123:i.key=t?m.C0.ESC+"[24;"+(t+1)+"~":m.C0.ESC+"[24~";break;default:if(!f.ctrlKey||f.shiftKey||f.altKey||f.metaKey)if(c&&!o||!f.altKey||f.metaKey)c&&!f.altKey&&!f.ctrlKey&&f.metaKey?f.keyCode===65&&(i.type=1):f.key&&!f.ctrlKey&&!f.altKey&&!f.metaKey&&f.keyCode>=48&&f.key.length===1?i.key=f.key:f.key&&f.ctrlKey&&f.key==="_"&&(i.key=m.C0.US);else{var a=g[f.keyCode],e=a&&a[f.shiftKey?1:0];if(e)i.key=m.C0.ESC+e;else if(f.keyCode>=65&&f.keyCode<=90){var l=f.ctrlKey?f.keyCode-64:f.keyCode+32;i.key=m.C0.ESC+String.fromCharCode(l)}}else f.keyCode>=65&&f.keyCode<=90?i.key=String.fromCharCode(f.keyCode-64):f.keyCode===32?i.key=m.C0.NUL:f.keyCode>=51&&f.keyCode<=55?i.key=String.fromCharCode(f.keyCode-51+27):f.keyCode===56?i.key=m.C0.DEL:f.keyCode===219?i.key=m.C0.ESC:f.keyCode===220?i.key=m.C0.FS:f.keyCode===221&&(i.key=m.C0.GS)}return i}},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(u,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,y){A.__proto__=y}||function(A,y){for(var w in y)y.hasOwnProperty(w)&&(A[w]=y[w])})(u,h)},function(s,u){function h(){this.constructor=s}m(s,u),s.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}),f=this&&this.__decorate||function(s,u,h,A){var y,w=arguments.length,b=w<3?u:A===null?A=Object.getOwnPropertyDescriptor(u,h):A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(s,u,h,A);else for(var x=s.length-1;x>=0;x--)(y=s[x])&&(b=(w<3?y(b):w>3?y(u,h,b):y(u,h))||b);return w>3&&b&&Object.defineProperty(u,h,b),b},d=this&&this.__param||function(s,u){return function(h,A){u(h,A,s)}};Object.defineProperty(p,"__esModule",{value:!0}),p.RenderService=void 0;var c=S(31),o=S(0),i=S(2),t=S(32),a=S(7),e=S(1),l=S(5),r=function(s){function u(h,A,y,w,b,x){var O=s.call(this)||this;if(O._renderer=h,O._rowCount=A,O._isPaused=!1,O._needsFullRefresh=!1,O._isNextRenderRedrawOnly=!0,O._needsSelectionRefresh=!1,O._canvasWidth=0,O._canvasHeight=0,O._selectionState={start:void 0,end:void 0,columnSelectMode:!1},O._onDimensionsChange=new o.EventEmitter,O._onRender=new o.EventEmitter,O._onRefreshRequest=new o.EventEmitter,O.register({dispose:function(){return O._renderer.dispose()}}),O._renderDebouncer=new c.RenderDebouncer(function(E,C){return O._renderRows(E,C)}),O.register(O._renderDebouncer),O._screenDprMonitor=new t.ScreenDprMonitor,O._screenDprMonitor.setListener(function(){return O.onDevicePixelRatioChange()}),O.register(O._screenDprMonitor),O.register(x.onResize(function(E){return O._fullRefresh()})),O.register(w.onOptionChange(function(){return O._renderer.onOptionsChanged()})),O.register(b.onCharSizeChange(function(){return O.onCharSizeChanged()})),O._renderer.onRequestRedraw(function(E){return O.refreshRows(E.start,E.end,!0)}),O.register(a.addDisposableDomListener(window,"resize",function(){return O.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var T=new IntersectionObserver(function(E){return O._onIntersectionChange(E[E.length-1])},{threshold:0});T.observe(y),O.register({dispose:function(){return T.disconnect()}})}return O}return g(u,s),Object.defineProperty(u.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),u.prototype._onIntersectionChange=function(h){this._isPaused=h.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},u.prototype.refreshRows=function(h,A,y){y===void 0&&(y=!1),this._isPaused?this._needsFullRefresh=!0:(y||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(h,A,this._rowCount))},u.prototype._renderRows=function(h,A){this._renderer.renderRows(h,A),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:h,end:A}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(h,A){this._rowCount=A,this._fireOnCanvasResize()},u.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},u.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},u.prototype.dispose=function(){s.prototype.dispose.call(this)},u.prototype.setRenderer=function(h){var A=this;this._renderer.dispose(),this._renderer=h,this._renderer.onRequestRedraw(function(y){return A.refreshRows(y.start,y.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},u.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},u.prototype.setColors=function(h){this._renderer.setColors(h),this._fullRefresh()},u.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},u.prototype.onResize=function(h,A){this._renderer.onResize(h,A),this._fullRefresh()},u.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},u.prototype.onBlur=function(){this._renderer.onBlur()},u.prototype.onFocus=function(){this._renderer.onFocus()},u.prototype.onSelectionChanged=function(h,A,y){this._selectionState.start=h,this._selectionState.end=A,this._selectionState.columnSelectMode=y,this._renderer.onSelectionChanged(h,A,y)},u.prototype.onCursorMove=function(){this._renderer.onCursorMove()},u.prototype.clear=function(){this._renderer.clear()},u.prototype.registerCharacterJoiner=function(h){return this._renderer.registerCharacterJoiner(h)},u.prototype.deregisterCharacterJoiner=function(h){return this._renderer.deregisterCharacterJoiner(h)},u=f([d(3,e.IOptionsService),d(4,l.ICharSizeService),d(5,e.IBufferService)],u)}(i.Disposable);p.RenderService=r},function(v,p,S){"use strict";var m=this&&this.__decorate||function(i,t,a,e){var l,r=arguments.length,s=r<3?t:e===null?e=Object.getOwnPropertyDescriptor(t,a):e;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,t,a,e);else for(var u=i.length-1;u>=0;u--)(l=i[u])&&(s=(r<3?l(s):r>3?l(t,a,s):l(t,a))||s);return r>3&&s&&Object.defineProperty(t,a,s),s},g=this&&this.__param||function(i,t){return function(a,e){t(a,e,i)}};Object.defineProperty(p,"__esModule",{value:!0}),p.CharSizeService=void 0;var f=S(1),d=S(0),c=function(){function i(t,a,e){this._optionsService=e,this.width=0,this.height=0,this._onCharSizeChange=new d.EventEmitter,this._measureStrategy=new o(t,a,this._optionsService)}return Object.defineProperty(i.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),i.prototype.measure=function(){var t=this._measureStrategy.measure();t.width===this.width&&t.height===this.height||(this.width=t.width,this.height=t.height,this._onCharSizeChange.fire())},i=m([g(2,f.IOptionsService)],i)}();p.CharSizeService=c;var o=function(){function i(t,a,e){this._document=t,this._parentElement=a,this._optionsService=e,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return i.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._measureElement.getBoundingClientRect();return t.width!==0&&t.height!==0&&(this._result.width=t.width,this._result.height=Math.ceil(t.height)),this._result},i}()},function(v,p,S){"use strict";var m=this&&this.__decorate||function(o,i,t,a){var e,l=arguments.length,r=l<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,i,t,a);else for(var s=o.length-1;s>=0;s--)(e=o[s])&&(r=(l<3?e(r):l>3?e(i,t,r):e(i,t))||r);return l>3&&r&&Object.defineProperty(i,t,r),r},g=this&&this.__param||function(o,i){return function(t,a){i(t,a,o)}};Object.defineProperty(p,"__esModule",{value:!0}),p.MouseService=void 0;var f=S(5),d=S(30),c=function(){function o(i,t){this._renderService=i,this._charSizeService=t}return o.prototype.getCoords=function(i,t,a,e,l){return d.getCoords(i,t,a,e,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},o.prototype.getRawByteCoords=function(i,t,a,e){var l=this.getCoords(i,t,a,e);return d.getRawByteCoords(l)},o=m([g(0,f.IRenderService),g(1,f.ICharSizeService)],o)}();p.MouseService=c},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,r)},function(e,l){function r(){this.constructor=e}m(e,l),e.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}),f=this&&this.__decorate||function(e,l,r,s){var u,h=arguments.length,A=h<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,r):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(e,l,r,s);else for(var y=e.length-1;y>=0;y--)(u=e[y])&&(A=(h<3?u(A):h>3?u(l,r,A):u(l,r))||A);return h>3&&A&&Object.defineProperty(l,r,A),A},d=this&&this.__param||function(e,l){return function(r,s){l(r,s,e)}};Object.defineProperty(p,"__esModule",{value:!0}),p.Linkifier2=void 0;var c=S(1),o=S(0),i=S(2),t=S(7),a=function(e){function l(r){var s=e.call(this)||this;return s._bufferService=r,s._linkProviders=[],s._linkCacheDisposables=[],s._isMouseOut=!0,s._activeLine=-1,s._onShowLinkUnderline=s.register(new o.EventEmitter),s._onHideLinkUnderline=s.register(new o.EventEmitter),s.register(i.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return g(l,e),Object.defineProperty(l.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),l.prototype.registerLinkProvider=function(r){var s=this;return this._linkProviders.push(r),{dispose:function(){var h=s._linkProviders.indexOf(r);h!==-1&&s._linkProviders.splice(h,1)}}},l.prototype.attachToDom=function(r,s,u){var h=this;this._element=r,this._mouseService=s,this._renderService=u,this.register(t.addDisposableDomListener(this._element,"mouseleave",function(){h._isMouseOut=!0,h._clearCurrentLink()})),this.register(t.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(t.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(r){if(this._lastMouseEvent=r,this._element&&this._mouseService){var s=this._positionFromMouseEvent(r,this._element,this._mouseService);if(s){this._isMouseOut=!1;for(var u=r.composedPath(),h=0;h<u.length;h++){var A=u[h];if(A.classList.contains("xterm"))break;if(A.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},l.prototype._onHover=function(r){if(this._activeLine!==r.y)return this._clearCurrentLink(),void this._askForLink(r,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,r)||(this._clearCurrentLink(),this._askForLink(r,!0))},l.prototype._askForLink=function(r,s){var u=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=r.y);var h=!1;this._linkProviders.forEach(function(A,y){var w;s?((w=u._activeProviderReplies)===null||w===void 0?void 0:w.get(y))&&(h=u._checkLinkProviderResult(y,r,h)):A.provideLinks(r.y,function(b){var x,O;if(!u._isMouseOut){var T=b==null?void 0:b.map(function(E){return{link:E}});(x=u._activeProviderReplies)===null||x===void 0||x.set(y,T),h=u._checkLinkProviderResult(y,r,h),((O=u._activeProviderReplies)===null||O===void 0?void 0:O.size)===u._linkProviders.length&&u._removeIntersectingLinks(r.y,u._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(r,s){for(var u=new Set,h=0;h<s.size;h++){var A=s.get(h);if(A)for(var y=0;y<A.length;y++)for(var w=A[y],b=w.link.range.start.y<r?0:w.link.range.start.x,x=w.link.range.end.y>r?this._bufferService.cols:w.link.range.end.x,O=b;O<=x;O++){if(u.has(O)){A.splice(y--,1);break}u.add(O)}}},l.prototype._checkLinkProviderResult=function(r,s,u){var h,A=this;if(!this._activeProviderReplies)return u;for(var y=this._activeProviderReplies.get(r),w=!1,b=0;b<r;b++)this._activeProviderReplies.has(b)&&!this._activeProviderReplies.get(b)||(w=!0);if(!w&&y){var x=y.find(function(T){return A._linkAtPosition(T.link,s)});x&&(u=!0,this._handleNewLink(x))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(b=0;b<this._activeProviderReplies.size;b++){var O=(h=this._activeProviderReplies.get(b))===null||h===void 0?void 0:h.find(function(T){return A._linkAtPosition(T.link,s)});if(O){u=!0,this._handleNewLink(O);break}}return u},l.prototype._onClick=function(r){if(this._element&&this._mouseService&&this._currentLink){var s=this._positionFromMouseEvent(r,this._element,this._mouseService);s&&this._linkAtPosition(this._currentLink.link,s)&&this._currentLink.link.activate(r,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(r,s){this._element&&this._currentLink&&this._lastMouseEvent&&(!r||!s||this._currentLink.link.range.start.y>=r&&this._currentLink.link.range.end.y<=s)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,i.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(r){var s=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(r.link,u)&&(this._currentLink=r,this._currentLink.state={decorations:{underline:r.link.decorations===void 0||r.link.decorations.underline,pointerCursor:r.link.decorations===void 0||r.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,r.link,this._lastMouseEvent),r.link.decorations={},Object.defineProperties(r.link.decorations,{pointerCursor:{get:function(){var A,y;return(y=(A=s._currentLink)===null||A===void 0?void 0:A.state)===null||y===void 0?void 0:y.decorations.pointerCursor},set:function(A){var y,w;((y=s._currentLink)===null||y===void 0?void 0:y.state)&&s._currentLink.state.decorations.pointerCursor!==A&&(s._currentLink.state.decorations.pointerCursor=A,s._currentLink.state.isHovered&&((w=s._element)===null||w===void 0||w.classList.toggle("xterm-cursor-pointer",A)))}},underline:{get:function(){var A,y;return(y=(A=s._currentLink)===null||A===void 0?void 0:A.state)===null||y===void 0?void 0:y.decorations.underline},set:function(A){var y,w,b;((y=s._currentLink)===null||y===void 0?void 0:y.state)&&((b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.underline)!==A&&(s._currentLink.state.decorations.underline=A,s._currentLink.state.isHovered&&s._fireUnderlineEvent(r.link,A))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(h){var A=h.start===0?0:h.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(A,h.end+1+s._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(r,s,u){var h;((h=this._currentLink)===null||h===void 0?void 0:h.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!0),this._currentLink.state.decorations.pointerCursor&&r.classList.add("xterm-cursor-pointer")),s.hover&&s.hover(u,s.text)},l.prototype._fireUnderlineEvent=function(r,s){var u=r.range,h=this._bufferService.buffer.ydisp,A=this._createLinkUnderlineEvent(u.start.x-1,u.start.y-h-1,u.end.x,u.end.y-h-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(A)},l.prototype._linkLeave=function(r,s,u){var h;((h=this._currentLink)===null||h===void 0?void 0:h.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!1),this._currentLink.state.decorations.pointerCursor&&r.classList.remove("xterm-cursor-pointer")),s.leave&&s.leave(u,s.text)},l.prototype._linkAtPosition=function(r,s){var u=r.range.start.y===r.range.end.y,h=r.range.start.y<s.y,A=r.range.end.y>s.y;return(u&&r.range.start.x<=s.x&&r.range.end.x>=s.x||h&&r.range.end.x>=s.x||A&&r.range.start.x<=s.x||h&&A)&&r.range.start.y<=s.y&&r.range.end.y>=s.y},l.prototype._positionFromMouseEvent=function(r,s,u){var h=u.getCoords(r,s,this._bufferService.cols,this._bufferService.rows);if(h)return{x:h[0],y:h[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(r,s,u,h,A){return{x1:r,y1:s,x2:u,y2:h,cols:this._bufferService.cols,fg:A}},l=f([d(0,c.IBufferService)],l)}(i.Disposable);p.Linkifier2=a},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CoreBrowserService=void 0;var m=function(){function g(f){this._textarea=f}return Object.defineProperty(g.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),g}();p.CoreBrowserService=m},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(x,O){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,E){T.__proto__=E}||function(T,E){for(var C in E)E.hasOwnProperty(C)&&(T[C]=E[C])})(x,O)},function(b,x){function O(){this.constructor=b}m(b,x),b.prototype=x===null?Object.create(x):(O.prototype=x.prototype,new O)});Object.defineProperty(p,"__esModule",{value:!0}),p.CoreTerminal=void 0;var f=S(2),d=S(1),c=S(66),o=S(67),i=S(68),t=S(74),a=S(75),e=S(0),l=S(76),r=S(77),s=S(78),u=S(80),h=S(81),A=S(19),y=S(82),w=function(b){function x(O){var T=b.call(this)||this;return T._onBinary=new e.EventEmitter,T._onData=new e.EventEmitter,T._onLineFeed=new e.EventEmitter,T._onResize=new e.EventEmitter,T._onScroll=new e.EventEmitter,T._instantiationService=new c.InstantiationService,T.optionsService=new t.OptionsService(O),T._instantiationService.setService(d.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(i.BufferService)),T._instantiationService.setService(d.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(o.LogService),T._instantiationService.setService(d.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(a.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(d.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(l.CoreMouseService),T._instantiationService.setService(d.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(r.DirtyRowService),T._instantiationService.setService(d.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(s.UnicodeService),T._instantiationService.setService(d.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(u.CharsetService),T._instantiationService.setService(d.ICharsetService,T._charsetService),T._inputHandler=new A.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(e.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(e.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(e.forwardEvent(T._coreService.onData,T._onData)),T.register(e.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(E){return T._updateOptions(E)})),T._writeBuffer=new y.WriteBuffer(function(E){return T._inputHandler.parse(E)}),T}return g(x,b),Object.defineProperty(x.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){var O;this._isDisposed||(b.prototype.dispose.call(this),(O=this._windowsMode)===null||O===void 0||O.dispose(),this._windowsMode=void 0)},x.prototype.write=function(O,T){this._writeBuffer.write(O,T)},x.prototype.writeSync=function(O){this._writeBuffer.writeSync(O)},x.prototype.resize=function(O,T){isNaN(O)||isNaN(T)||(O=Math.max(O,i.MINIMUM_COLS),T=Math.max(T,i.MINIMUM_ROWS),this._bufferService.resize(O,T))},x.prototype.scroll=function(O,T){T===void 0&&(T=!1);var E,C=this._bufferService.buffer;(E=this._cachedBlankLine)&&E.length===this.cols&&E.getFg(0)===O.fg&&E.getBg(0)===O.bg||(E=C.getBlankLine(O,T),this._cachedBlankLine=E),E.isWrapped=T;var _=C.ybase+C.scrollTop,L=C.ybase+C.scrollBottom;if(C.scrollTop===0){var P=C.lines.isFull;L===C.lines.length-1?P?C.lines.recycle().copyFrom(E):C.lines.push(E.clone()):C.lines.splice(L+1,0,E.clone()),P?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var k=L-_+1;C.lines.shiftElements(_+1,k-1,-1),C.lines.set(L,E.clone())}this._bufferService.isUserScrolling||(C.ydisp=C.ybase),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom),this._onScroll.fire(C.ydisp)},x.prototype.scrollLines=function(O,T){var E=this._bufferService.buffer;if(O<0){if(E.ydisp===0)return;this._bufferService.isUserScrolling=!0}else O+E.ydisp>=E.ybase&&(this._bufferService.isUserScrolling=!1);var C=E.ydisp;E.ydisp=Math.max(Math.min(E.ydisp+O,E.ybase),0),C!==E.ydisp&&(T||this._onScroll.fire(E.ydisp))},x.prototype.scrollPages=function(O){this.scrollLines(O*(this.rows-1))},x.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},x.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},x.prototype.scrollToLine=function(O){var T=O-this._bufferService.buffer.ydisp;T!==0&&this.scrollLines(T)},x.prototype.addEscHandler=function(O,T){return this._inputHandler.addEscHandler(O,T)},x.prototype.addDcsHandler=function(O,T){return this._inputHandler.addDcsHandler(O,T)},x.prototype.addCsiHandler=function(O,T){return this._inputHandler.addCsiHandler(O,T)},x.prototype.addOscHandler=function(O,T){return this._inputHandler.addOscHandler(O,T)},x.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},x.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},x.prototype._updateOptions=function(O){var T;switch(O){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)}},x.prototype._enableWindowsMode=function(){var O=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(h.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return h.updateWindowsModeWrappedState(O._bufferService),!1})),this._windowsMode={dispose:function(){for(var C=0,_=T;C<_.length;C++)_[C].dispose()}}}},x}(f.Disposable);p.CoreTerminal=w},function(v,p,S){"use strict";var m=this&&this.__spreadArrays||function(){for(var o=0,i=0,t=arguments.length;i<t;i++)o+=arguments[i].length;var a=Array(o),e=0;for(i=0;i<t;i++)for(var l=arguments[i],r=0,s=l.length;r<s;r++,e++)a[e]=l[r];return a};Object.defineProperty(p,"__esModule",{value:!0}),p.InstantiationService=p.ServiceCollection=void 0;var g=S(1),f=S(14),d=function(){function o(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];this._entries=new Map;for(var a=0,e=i;a<e.length;a++){var l=e[a],r=l[0],s=l[1];this.set(r,s)}}return o.prototype.set=function(i,t){var a=this._entries.get(i);return this._entries.set(i,t),a},o.prototype.forEach=function(i){this._entries.forEach(function(t,a){return i(a,t)})},o.prototype.has=function(i){return this._entries.has(i)},o.prototype.get=function(i){return this._entries.get(i)},o}();p.ServiceCollection=d;var c=function(){function o(){this._services=new d,this._services.set(g.IInstantiationService,this)}return o.prototype.setService=function(i,t){this._services.set(i,t)},o.prototype.getService=function(i){return this._services.get(i)},o.prototype.createInstance=function(i){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];for(var e=f.getServiceDependencies(i).sort(function(y,w){return y.index-w.index}),l=[],r=0,s=e;r<s.length;r++){var u=s[r],h=this._services.get(u.id);if(!h)throw new Error("[createInstance] "+i.name+" depends on UNKNOWN service "+u.id+".");l.push(h)}var A=e.length>0?e[0].index:t.length;if(t.length!==A)throw new Error("[createInstance] First service dependency of "+i.name+" at position "+(A+1)+" conflicts with "+t.length+" static arguments");return new(i.bind.apply(i,m([void 0],m(t,l))))},o}();p.InstantiationService=c},function(v,p,S){"use strict";var m=this&&this.__decorate||function(t,a,e,l){var r,s=arguments.length,u=s<3?a:l===null?l=Object.getOwnPropertyDescriptor(a,e):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(t,a,e,l);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(u=(s<3?r(u):s>3?r(a,e,u):r(a,e))||u);return s>3&&u&&Object.defineProperty(a,e,u),u},g=this&&this.__param||function(t,a){return function(e,l){a(e,l,t)}},f=this&&this.__spreadArrays||function(){for(var t=0,a=0,e=arguments.length;a<e;a++)t+=arguments[a].length;var l=Array(t),r=0;for(a=0;a<e;a++)for(var s=arguments[a],u=0,h=s.length;u<h;u++,r++)l[r]=s[u];return l};Object.defineProperty(p,"__esModule",{value:!0}),p.LogService=p.LogLevel=void 0;var d,c=S(1);!function(t){t[t.DEBUG=0]="DEBUG",t[t.INFO=1]="INFO",t[t.WARN=2]="WARN",t[t.ERROR=3]="ERROR",t[t.OFF=4]="OFF"}(d=p.LogLevel||(p.LogLevel={}));var o={debug:d.DEBUG,info:d.INFO,warn:d.WARN,error:d.ERROR,off:d.OFF},i=function(){function t(a){var e=this;this._optionsService=a,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&e._updateLogLevel()})}return t.prototype._updateLogLevel=function(){this._logLevel=o[this._optionsService.options.logLevel]},t.prototype._evalLazyOptionalParams=function(a){for(var e=0;e<a.length;e++)typeof a[e]=="function"&&(a[e]=a[e]())},t.prototype._log=function(a,e,l){this._evalLazyOptionalParams(l),a.call.apply(a,f([console,"xterm.js: "+e],l))},t.prototype.debug=function(a){for(var e=[],l=1;l<arguments.length;l++)e[l-1]=arguments[l];this._logLevel<=d.DEBUG&&this._log(console.log,a,e)},t.prototype.info=function(a){for(var e=[],l=1;l<arguments.length;l++)e[l-1]=arguments[l];this._logLevel<=d.INFO&&this._log(console.info,a,e)},t.prototype.warn=function(a){for(var e=[],l=1;l<arguments.length;l++)e[l-1]=arguments[l];this._logLevel<=d.WARN&&this._log(console.warn,a,e)},t.prototype.error=function(a){for(var e=[],l=1;l<arguments.length;l++)e[l-1]=arguments[l];this._logLevel<=d.ERROR&&this._log(console.error,a,e)},t=m([g(0,c.IOptionsService)],t)}();p.LogService=i},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,r)},function(e,l){function r(){this.constructor=e}m(e,l),e.prototype=l===null?Object.create(l):(r.prototype=l.prototype,new r)}),f=this&&this.__decorate||function(e,l,r,s){var u,h=arguments.length,A=h<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,r):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(e,l,r,s);else for(var y=e.length-1;y>=0;y--)(u=e[y])&&(A=(h<3?u(A):h>3?u(l,r,A):u(l,r))||A);return h>3&&A&&Object.defineProperty(l,r,A),A},d=this&&this.__param||function(e,l){return function(r,s){l(r,s,e)}};Object.defineProperty(p,"__esModule",{value:!0}),p.BufferService=p.MINIMUM_ROWS=p.MINIMUM_COLS=void 0;var c=S(1),o=S(69),i=S(0),t=S(2);p.MINIMUM_COLS=2,p.MINIMUM_ROWS=1;var a=function(e){function l(r){var s=e.call(this)||this;return s._optionsService=r,s.isUserScrolling=!1,s._onResize=new i.EventEmitter,s.cols=Math.max(r.options.cols,p.MINIMUM_COLS),s.rows=Math.max(r.options.rows,p.MINIMUM_ROWS),s.buffers=new o.BufferSet(r,s),s}return g(l,e),Object.defineProperty(l.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){e.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(r,s){this.cols=r,this.rows=s,this.buffers.resize(r,s),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:r,rows:s})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new o.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=f([d(0,c.IOptionsService)],l)}(t.Disposable);p.BufferService=a},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(i,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,e){a.__proto__=e}||function(a,e){for(var l in e)e.hasOwnProperty(l)&&(a[l]=e[l])})(i,t)},function(o,i){function t(){this.constructor=o}m(o,i),o.prototype=i===null?Object.create(i):(t.prototype=i.prototype,new t)});Object.defineProperty(p,"__esModule",{value:!0}),p.BufferSet=void 0;var f=S(70),d=S(0),c=function(o){function i(t,a){var e=o.call(this)||this;return e._onBufferActivate=e.register(new d.EventEmitter),e._normal=new f.Buffer(!0,t,a),e._normal.fillViewportRows(),e._alt=new f.Buffer(!1,t,a),e._activeBuffer=e._normal,e.setupTabStops(),e}return g(i,o),Object.defineProperty(i.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),i.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},i.prototype.activateAltBuffer=function(t){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(t),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},i.prototype.resize=function(t,a){this._normal.resize(t,a),this._alt.resize(t,a)},i.prototype.setupTabStops=function(t){this._normal.setupTabStops(t),this._alt.setupTabStops(t)},i}(S(2).Disposable);p.BufferSet=c},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.BufferStringIterator=p.Buffer=p.MAX_BUFFER_SIZE=void 0;var m=S(71),g=S(16),f=S(4),d=S(3),c=S(72),o=S(73),i=S(20),t=S(6);p.MAX_BUFFER_SIZE=4294967295;var a=function(){function l(r,s,u){this._hasScrollback=r,this._optionsService=s,this._bufferService=u,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=g.DEFAULT_ATTR_DATA.clone(),this.savedCharset=i.DEFAULT_CHARSET,this.markers=[],this._nullCell=f.CellData.fromCharData([0,d.NULL_CELL_CHAR,d.NULL_CELL_WIDTH,d.NULL_CELL_CODE]),this._whitespaceCell=f.CellData.fromCharData([0,d.WHITESPACE_CELL_CHAR,d.WHITESPACE_CELL_WIDTH,d.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return l.prototype.getNullCell=function(r){return r?(this._nullCell.fg=r.fg,this._nullCell.bg=r.bg,this._nullCell.extended=r.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new t.ExtendedAttrs),this._nullCell},l.prototype.getWhitespaceCell=function(r){return r?(this._whitespaceCell.fg=r.fg,this._whitespaceCell.bg=r.bg,this._whitespaceCell.extended=r.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new t.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(r,s){return new g.BufferLine(this._bufferService.cols,this.getNullCell(r),s)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&s<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(r){if(!this._hasScrollback)return r;var s=r+this._optionsService.options.scrollback;return s>p.MAX_BUFFER_SIZE?p.MAX_BUFFER_SIZE:s},l.prototype.fillViewportRows=function(r){if(this.lines.length===0){r===void 0&&(r=g.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(r))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(r,s){var u=this.getNullCell(g.DEFAULT_ATTR_DATA),h=this._getCorrectBufferLength(s);if(h>this.lines.maxLength&&(this.lines.maxLength=h),this.lines.length>0){if(this._cols<r)for(var A=0;A<this.lines.length;A++)this.lines.get(A).resize(r,u);var y=0;if(this._rows<s)for(var w=this._rows;w<s;w++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new g.BufferLine(r,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+y+1?(this.ybase--,y++,this.ydisp>0&&this.ydisp--):this.lines.push(new g.BufferLine(r,u)));else for(w=this._rows;w>s;w--)this.lines.length>s+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(h<this.lines.maxLength){var b=this.lines.length-h;b>0&&(this.lines.trimStart(b),this.ybase=Math.max(this.ybase-b,0),this.ydisp=Math.max(this.ydisp-b,0),this.savedY=Math.max(this.savedY-b,0)),this.lines.maxLength=h}this.x=Math.min(this.x,r-1),this.y=Math.min(this.y,s-1),y&&(this.y+=y),this.savedX=Math.min(this.savedX,r-1),this.scrollTop=0}if(this.scrollBottom=s-1,this._isReflowEnabled&&(this._reflow(r,s),this._cols>r))for(A=0;A<this.lines.length;A++)this.lines.get(A).resize(r,u);this._cols=r,this._rows=s},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(r,s){this._cols!==r&&(r>this._cols?this._reflowLarger(r,s):this._reflowSmaller(r,s))},l.prototype._reflowLarger=function(r,s){var u=c.reflowLargerGetLinesToRemove(this.lines,this._cols,r,this.ybase+this.y,this.getNullCell(g.DEFAULT_ATTR_DATA));if(u.length>0){var h=c.reflowLargerCreateNewLayout(this.lines,u);c.reflowLargerApplyNewLayout(this.lines,h.layout),this._reflowLargerAdjustViewport(r,s,h.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(r,s,u){for(var h=this.getNullCell(g.DEFAULT_ATTR_DATA),A=u;A-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new g.BufferLine(r,h))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},l.prototype._reflowSmaller=function(r,s){for(var u=this.getNullCell(g.DEFAULT_ATTR_DATA),h=[],A=0,y=this.lines.length-1;y>=0;y--){var w=this.lines.get(y);if(!(!w||!w.isWrapped&&w.getTrimmedLength()<=r)){for(var b=[w];w.isWrapped&&y>0;)w=this.lines.get(--y),b.unshift(w);var x=this.ybase+this.y;if(!(x>=y&&x<y+b.length)){var O=b[b.length-1].getTrimmedLength(),T=c.reflowSmallerGetNewLineLengths(b,this._cols,r),E=T.length-b.length,C=void 0;C=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+E):Math.max(0,this.lines.length-this.lines.maxLength+E);for(var _=[],L=0;L<E;L++){var P=this.getBlankLine(g.DEFAULT_ATTR_DATA,!0);_.push(P)}_.length>0&&(h.push({start:y+b.length+A,newLines:_}),A+=_.length),b.push.apply(b,_);var k=T.length-1,F=T[k];F===0&&(F=T[--k]);for(var j=b.length-E-1,z=O;j>=0;){var R=Math.min(z,F);if(b[k].copyCellsFrom(b[j],z-R,F-R,R,!0),(F-=R)===0&&(F=T[--k]),(z-=R)===0){j--;var U=Math.max(j,0);z=c.getWrappedLineTrimmedLength(b,U,this._cols)}}for(L=0;L<b.length;L++)T[L]<r&&b[L].setCell(T[L],u);for(var B=E-C;B-- >0;)this.ybase===0?this.y<s-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+A)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+E,this.ybase+s-1)}}}if(h.length>0){var H=[],K=[];for(L=0;L<this.lines.length;L++)K.push(this.lines.get(L));var V=this.lines.length,W=V-1,G=0,re=h[G];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+A);var ye=0;for(L=Math.min(this.lines.maxLength-1,V+A-1);L>=0;L--)if(re&&re.start>W+ye){for(var $=re.newLines.length-1;$>=0;$--)this.lines.set(L--,re.newLines[$]);L++,H.push({index:W+1,amount:re.newLines.length}),ye+=re.newLines.length,re=h[++G]}else this.lines.set(L,K[W--]);var ve=0;for(L=H.length-1;L>=0;L--)H[L].index+=ve,this.lines.onInsertEmitter.fire(H[L]),ve+=H[L].amount;var Ce=Math.max(0,V+A-this.lines.maxLength);Ce>0&&this.lines.onTrimEmitter.fire(Ce)}},l.prototype.stringIndexToBufferIndex=function(r,s,u){for(u===void 0&&(u=!1);s;){var h=this.lines.get(r);if(!h)return[-1,-1];for(var A=u?h.getTrimmedLength():h.length,y=0;y<A;++y)if(h.get(y)[d.CHAR_DATA_WIDTH_INDEX]&&(s-=h.get(y)[d.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[r,y];r++}return[r,0]},l.prototype.translateBufferLineToString=function(r,s,u,h){u===void 0&&(u=0);var A=this.lines.get(r);return A?A.translateToString(s,u,h):""},l.prototype.getWrappedRangeForLine=function(r){for(var s=r,u=r;s>0&&this.lines.get(s).isWrapped;)s--;for(;u+1<this.lines.length&&this.lines.get(u+1).isWrapped;)u++;return{first:s,last:u}},l.prototype.setupTabStops=function(r){for(r!=null?this.tabs[r]||(r=this.prevStop(r)):(this.tabs={},r=0);r<this._cols;r+=this._optionsService.options.tabStopWidth)this.tabs[r]=!0},l.prototype.prevStop=function(r){for(r==null&&(r=this.x);!this.tabs[--r]&&r>0;);return r>=this._cols?this._cols-1:r<0?0:r},l.prototype.nextStop=function(r){for(r==null&&(r=this.x);!this.tabs[++r]&&r<this._cols;);return r>=this._cols?this._cols-1:r<0?0:r},l.prototype.addMarker=function(r){var s=this,u=new o.Marker(r);return this.markers.push(u),u.register(this.lines.onTrim(function(h){u.line-=h,u.line<0&&u.dispose()})),u.register(this.lines.onInsert(function(h){u.line>=h.index&&(u.line+=h.amount)})),u.register(this.lines.onDelete(function(h){u.line>=h.index&&u.line<h.index+h.amount&&u.dispose(),u.line>h.index&&(u.line-=h.amount)})),u.register(u.onDispose(function(){return s._removeMarker(u)})),u},l.prototype._removeMarker=function(r){this.markers.splice(this.markers.indexOf(r),1)},l.prototype.iterator=function(r,s,u,h,A){return new e(this,r,s,u,h,A)},l}();p.Buffer=a;var e=function(){function l(r,s,u,h,A,y){u===void 0&&(u=0),h===void 0&&(h=r.lines.length),A===void 0&&(A=0),y===void 0&&(y=0),this._buffer=r,this._trimRight=s,this._startIndex=u,this._endIndex=h,this._startOverscan=A,this._endOverscan=y,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._current<this._endIndex},l.prototype.next=function(){var r=this._buffer.getWrappedRangeForLine(this._current);r.first<this._startIndex-this._startOverscan&&(r.first=this._startIndex-this._startOverscan),r.last>this._endIndex+this._endOverscan&&(r.last=this._endIndex+this._endOverscan),r.first=Math.max(r.first,0),r.last=Math.min(r.last,this._buffer.lines.length);for(var s="",u=r.first;u<=r.last;++u)s+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=r.last+1,{range:r,content:s}},l}();p.BufferStringIterator=e},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CircularList=void 0;var m=S(0),g=function(){function f(d){this._maxLength=d,this.onDeleteEmitter=new m.EventEmitter,this.onInsertEmitter=new m.EventEmitter,this.onTrimEmitter=new m.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(f.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"maxLength",{get:function(){return this._maxLength},set:function(c){if(this._maxLength!==c){for(var o=new Array(c),i=0;i<Math.min(c,this.length);i++)o[i]=this._array[this._getCyclicIndex(i)];this._array=o,this._maxLength=c,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"length",{get:function(){return this._length},set:function(c){if(c>this._length)for(var o=this._length;o<c;o++)this._array[o]=void 0;this._length=c},enumerable:!1,configurable:!0}),f.prototype.get=function(d){return this._array[this._getCyclicIndex(d)]},f.prototype.set=function(d,c){this._array[this._getCyclicIndex(d)]=c},f.prototype.push=function(d){this._array[this._getCyclicIndex(this._length)]=d,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},f.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(f.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),f.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},f.prototype.splice=function(d,c){for(var o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];if(c){for(var t=d;t<this._length-c;t++)this._array[this._getCyclicIndex(t)]=this._array[this._getCyclicIndex(t+c)];this._length-=c}for(t=this._length-1;t>=d;t--)this._array[this._getCyclicIndex(t+o.length)]=this._array[this._getCyclicIndex(t)];for(t=0;t<o.length;t++)this._array[this._getCyclicIndex(d+t)]=o[t];if(this._length+o.length>this._maxLength){var a=this._length+o.length-this._maxLength;this._startIndex+=a,this._length=this._maxLength,this.onTrimEmitter.fire(a)}else this._length+=o.length},f.prototype.trimStart=function(d){d>this._length&&(d=this._length),this._startIndex+=d,this._length-=d,this.onTrimEmitter.fire(d)},f.prototype.shiftElements=function(d,c,o){if(!(c<=0)){if(d<0||d>=this._length)throw new Error("start argument out of range");if(d+o<0)throw new Error("Cannot shift elements in list beyond index 0");if(o>0){for(var i=c-1;i>=0;i--)this.set(d+i+o,this.get(d+i));var t=d+c+o-this._length;if(t>0)for(this._length+=t;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(i=0;i<c;i++)this.set(d+i+o,this.get(d+i))}},f.prototype._getCyclicIndex=function(d){return(this._startIndex+d)%this._maxLength},f}();p.CircularList=g},function(v,p,S){"use strict";function m(g,f,d){if(f===g.length-1)return g[f].getTrimmedLength();var c=!g[f].hasContent(d-1)&&g[f].getWidth(d-1)===1,o=g[f+1].getWidth(0)===2;return c&&o?d-1:d}Object.defineProperty(p,"__esModule",{value:!0}),p.getWrappedLineTrimmedLength=p.reflowSmallerGetNewLineLengths=p.reflowLargerApplyNewLayout=p.reflowLargerCreateNewLayout=p.reflowLargerGetLinesToRemove=void 0,p.reflowLargerGetLinesToRemove=function(g,f,d,c,o){for(var i=[],t=0;t<g.length-1;t++){var a=t,e=g.get(++a);if(e.isWrapped){for(var l=[g.get(t)];a<g.length&&e.isWrapped;)l.push(e),e=g.get(++a);if(c>=t&&c<a)t+=l.length-1;else{for(var r=0,s=m(l,r,f),u=1,h=0;u<l.length;){var A=m(l,u,f),y=A-h,w=d-s,b=Math.min(y,w);l[r].copyCellsFrom(l[u],h,s,b,!1),(s+=b)===d&&(r++,s=0),(h+=b)===A&&(u++,h=0),s===0&&r!==0&&l[r-1].getWidth(d-1)===2&&(l[r].copyCellsFrom(l[r-1],d-1,s++,1,!1),l[r-1].setCell(d-1,o))}l[r].replaceCells(s,d,o);for(var x=0,O=l.length-1;O>0&&(O>r||l[O].getTrimmedLength()===0);O--)x++;x>0&&(i.push(t+l.length-x),i.push(x)),t+=l.length-1}}}return i},p.reflowLargerCreateNewLayout=function(g,f){for(var d=[],c=0,o=f[c],i=0,t=0;t<g.length;t++)if(o===t){var a=f[++c];g.onDeleteEmitter.fire({index:t-i,amount:a}),t+=a-1,i+=a,o=f[++c]}else d.push(t);return{layout:d,countRemoved:i}},p.reflowLargerApplyNewLayout=function(g,f){for(var d=[],c=0;c<f.length;c++)d.push(g.get(f[c]));for(c=0;c<d.length;c++)g.set(c,d[c]);g.length=f.length},p.reflowSmallerGetNewLineLengths=function(g,f,d){for(var c=[],o=g.map(function(s,u){return m(g,u,f)}).reduce(function(s,u){return s+u}),i=0,t=0,a=0;a<o;){if(o-a<d){c.push(o-a);break}i+=d;var e=m(g,t,f);i>e&&(i-=e,t++);var l=g[t].getWidth(i-1)===2;l&&i--;var r=l?d-1:d;c.push(r),a+=r}return c},p.getWrappedLineTrimmedLength=m},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(o,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var e in a)a.hasOwnProperty(e)&&(t[e]=a[e])})(o,i)},function(c,o){function i(){this.constructor=c}m(c,o),c.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)});Object.defineProperty(p,"__esModule",{value:!0}),p.Marker=void 0;var f=S(0),d=function(c){function o(i){var t=c.call(this)||this;return t.line=i,t._id=o._nextId++,t.isDisposed=!1,t._onDispose=new f.EventEmitter,t}return g(o,c),Object.defineProperty(o.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),o.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},o._nextId=1,o}(S(2).Disposable);p.Marker=d},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.OptionsService=p.DEFAULT_OPTIONS=p.DEFAULT_BELL_SOUND=void 0;var m=S(0),g=S(11),f=S(33);p.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",p.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:p.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:g.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var d=["cols","rows"],c=function(){function o(i){this._onOptionChange=new m.EventEmitter,this.options=f.clone(p.DEFAULT_OPTIONS);for(var t=0,a=Object.keys(i);t<a.length;t++){var e=a[t];if(e in this.options){var l=i[e];this.options[e]=l}}}return Object.defineProperty(o.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),o.prototype.setOption=function(i,t){if(!(i in p.DEFAULT_OPTIONS))throw new Error('No option with key "'+i+'"');if(d.indexOf(i)!==-1)throw new Error('Option "'+i+'" can only be set in the constructor');this.options[i]!==t&&(t=this._sanitizeAndValidateOption(i,t),this.options[i]!==t&&(this.options[i]=t,this._onOptionChange.fire(i)))},o.prototype._sanitizeAndValidateOption=function(i,t){switch(i){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":t||(t=p.DEFAULT_OPTIONS[i]);break;case"cursorWidth":t=Math.floor(t);case"lineHeight":case"tabStopWidth":if(t<1)throw new Error(i+" cannot be less than 1, value: "+t);break;case"minimumContrastRatio":t=Math.max(1,Math.min(21,Math.round(10*t)/10));break;case"scrollback":if((t=Math.min(t,4294967295))<0)throw new Error(i+" cannot be less than 0, value: "+t);break;case"fastScrollSensitivity":case"scrollSensitivity":if(t<=0)throw new Error(i+" cannot be less than or equal to 0, value: "+t)}return t},o.prototype.getOption=function(i){if(!(i in p.DEFAULT_OPTIONS))throw new Error('No option with key "'+i+'"');return this.options[i]},o}();p.OptionsService=c},function(v,p,S){"use strict";var m,g=this&&this.__extends||(m=function(s,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,A){h.__proto__=A}||function(h,A){for(var y in A)A.hasOwnProperty(y)&&(h[y]=A[y])})(s,u)},function(r,s){function u(){this.constructor=r}m(r,s),r.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}),f=this&&this.__decorate||function(r,s,u,h){var A,y=arguments.length,w=y<3?s:h===null?h=Object.getOwnPropertyDescriptor(s,u):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(r,s,u,h);else for(var b=r.length-1;b>=0;b--)(A=r[b])&&(w=(y<3?A(w):y>3?A(s,u,w):A(s,u))||w);return y>3&&w&&Object.defineProperty(s,u,w),w},d=this&&this.__param||function(r,s){return function(u,h){s(u,h,r)}};Object.defineProperty(p,"__esModule",{value:!0}),p.CoreService=void 0;var c=S(1),o=S(0),i=S(33),t=S(2),a=Object.freeze({insertMode:!1}),e=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(r){function s(u,h,A,y){var w=r.call(this)||this;return w._bufferService=h,w._logService=A,w._optionsService=y,w.isCursorInitialized=!1,w.isCursorHidden=!1,w._onData=w.register(new o.EventEmitter),w._onUserInput=w.register(new o.EventEmitter),w._onBinary=w.register(new o.EventEmitter),w._scrollToBottom=u,w.register({dispose:function(){return w._scrollToBottom=void 0}}),w.modes=i.clone(a),w.decPrivateModes=i.clone(e),w}return g(s,r),Object.defineProperty(s.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),s.prototype.reset=function(){this.modes=i.clone(a),this.decPrivateModes=i.clone(e)},s.prototype.triggerDataEvent=function(u,h){if(h===void 0&&(h=!1),!this._optionsService.options.disableStdin){var A=this._bufferService.buffer;A.ybase!==A.ydisp&&this._scrollToBottom(),h&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(y){return y.charCodeAt(0)})}),this._onData.fire(u)}},s.prototype.triggerBinaryEvent=function(u){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+u+'"',function(){return u.split("").map(function(h){return h.charCodeAt(0)})}),this._onBinary.fire(u))},s=f([d(1,c.IBufferService),d(2,c.ILogService),d(3,c.IOptionsService)],s)}(t.Disposable);p.CoreService=l},function(v,p,S){"use strict";var m=this&&this.__decorate||function(e,l,r,s){var u,h=arguments.length,A=h<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,r):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(e,l,r,s);else for(var y=e.length-1;y>=0;y--)(u=e[y])&&(A=(h<3?u(A):h>3?u(l,r,A):u(l,r))||A);return h>3&&A&&Object.defineProperty(l,r,A),A},g=this&&this.__param||function(e,l){return function(r,s){l(r,s,e)}};Object.defineProperty(p,"__esModule",{value:!0}),p.CoreMouseService=void 0;var f=S(1),d=S(0),c={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function o(e,l){var r=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return e.button===4?(r|=64,r|=e.action):(r|=3&e.button,4&e.button&&(r|=64),8&e.button&&(r|=128),e.action===32?r|=32:e.action!==0||l||(r|=3)),r}var i=String.fromCharCode,t={DEFAULT:function(l){var r=[o(l,!1)+32,l.col+32,l.row+32];return r[0]>255||r[1]>255||r[2]>255?"":""+i(r[0])+i(r[1])+i(r[2])},SGR:function(l){var r=l.action===0&&l.button!==4?"m":"M";return"[<"+o(l,!0)+";"+l.col+";"+l.row+r}},a=function(){function e(l,r){this._bufferService=l,this._coreService=r,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new d.EventEmitter,this._lastEvent=null;for(var s=0,u=Object.keys(c);s<u.length;s++){var h=u[s];this.addProtocol(h,c[h])}for(var A=0,y=Object.keys(t);A<y.length;A++){var w=y[A];this.addEncoding(w,t[w])}this.reset()}return e.prototype.addProtocol=function(l,r){this._protocols[l]=r},e.prototype.addEncoding=function(l,r){this._encodings[l]=r},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(r){if(!this._protocols[r])throw new Error('unknown protocol "'+r+'"');this._activeProtocol=r,this._onProtocolChange.fire(this._protocols[r].events)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(r){if(!this._encodings[r])throw new Error('unknown encoding "'+r+'"');this._activeEncoding=r},enumerable:!1,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),e.prototype.triggerMouseEvent=function(l){if(l.col<0||l.col>=this._bufferService.cols||l.row<0||l.row>=this._bufferService.rows)return!1;if(l.button===4&&l.action===32)return!1;if(l.button===3&&l.action!==32)return!1;if(l.button!==4&&(l.action===2||l.action===3))return!1;if(l.col++,l.row++,l.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,l))return!1;if(!this._protocols[this._activeProtocol].restrict(l))return!1;var r=this._encodings[this._activeEncoding](l);return r&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(r):this._coreService.triggerDataEvent(r,!0)),this._lastEvent=l,!0},e.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},e.prototype._compareEvents=function(l,r){return l.col===r.col&&l.row===r.row&&l.button===r.button&&l.action===r.action&&l.ctrl===r.ctrl&&l.alt===r.alt&&l.shift===r.shift},e=m([g(0,f.IBufferService),g(1,f.ICoreService)],e)}();p.CoreMouseService=a},function(v,p,S){"use strict";var m=this&&this.__decorate||function(c,o,i,t){var a,e=arguments.length,l=e<3?o:t===null?t=Object.getOwnPropertyDescriptor(o,i):t;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(c,o,i,t);else for(var r=c.length-1;r>=0;r--)(a=c[r])&&(l=(e<3?a(l):e>3?a(o,i,l):a(o,i))||l);return e>3&&l&&Object.defineProperty(o,i,l),l},g=this&&this.__param||function(c,o){return function(i,t){o(i,t,c)}};Object.defineProperty(p,"__esModule",{value:!0}),p.DirtyRowService=void 0;var f=S(1),d=function(){function c(o){this._bufferService=o,this.clearRange()}return Object.defineProperty(c.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),c.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},c.prototype.markDirty=function(o){o<this._start?this._start=o:o>this._end&&(this._end=o)},c.prototype.markRangeDirty=function(o,i){if(o>i){var t=o;o=i,i=t}o<this._start&&(this._start=o),i>this._end&&(this._end=i)},c.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},c=m([g(0,f.IBufferService)],c)}();p.DirtyRowService=d},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.UnicodeService=void 0;var m=S(0),g=S(79),f=function(){function d(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var c=new g.UnicodeV6;this.register(c),this._active=c.version,this._activeProvider=c}return Object.defineProperty(d.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"activeVersion",{get:function(){return this._active},set:function(o){if(!this._providers[o])throw new Error('unknown Unicode version "'+o+'"');this._active=o,this._activeProvider=this._providers[o],this._onChange.fire(o)},enumerable:!1,configurable:!0}),d.prototype.register=function(c){this._providers[c.version]=c},d.prototype.wcwidth=function(c){return this._activeProvider.wcwidth(c)},d.prototype.getStringCellWidth=function(c){for(var o=0,i=c.length,t=0;t<i;++t){var a=c.charCodeAt(t);if(55296<=a&&a<=56319){if(++t>=i)return o+this.wcwidth(a);var e=c.charCodeAt(t);56320<=e&&e<=57343?a=1024*(a-55296)+e-56320+65536:o+=this.wcwidth(e)}o+=this.wcwidth(a)}return o},d}();p.UnicodeService=f},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.UnicodeV6=void 0;var m,g=S(15),f=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],d=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],c=function(){function o(){if(this.version="6",!m){m=new Uint8Array(65536),g.fill(m,1),m[0]=0,g.fill(m,0,1,32),g.fill(m,0,127,160),g.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,g.fill(m,2,11904,42192),m[12351]=1,g.fill(m,2,44032,55204),g.fill(m,2,63744,64256),g.fill(m,2,65040,65050),g.fill(m,2,65072,65136),g.fill(m,2,65280,65377),g.fill(m,2,65504,65511);for(var i=0;i<f.length;++i)g.fill(m,0,f[i][0],f[i][1]+1)}}return o.prototype.wcwidth=function(i){return i<32?0:i<127?1:i<65536?m[i]:function(t,a){var e,l=0,r=a.length-1;if(t<a[0][0]||t>a[r][1])return!1;for(;r>=l;)if(t>a[e=l+r>>1][1])l=e+1;else{if(!(t<a[e][0]))return!0;r=e-1}return!1}(i,d)?0:i>=131072&&i<=196605||i>=196608&&i<=262141?2:1},o}();p.UnicodeV6=c},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CharsetService=void 0;var m=function(){function g(){this.glevel=0,this._charsets=[]}return g.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},g.prototype.setgLevel=function(f){this.glevel=f,this.charset=this._charsets[f]},g.prototype.setgCharset=function(f,d){this._charsets[f]=d,this.glevel===f&&(this.charset=d)},g}();p.CharsetService=m},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.updateWindowsModeWrappedState=void 0;var m=S(3);p.updateWindowsModeWrappedState=function(g){var f=g.buffer.lines.get(g.buffer.ybase+g.buffer.y-1),d=f==null?void 0:f.get(g.cols-1),c=g.buffer.lines.get(g.buffer.ybase+g.buffer.y);c&&d&&(c.isWrapped=d[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&d[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.WriteBuffer=void 0;var m=function(){function g(f){this._action=f,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return g.prototype.writeSync=function(f){if(this._writeBuffer.length){for(var d=this._bufferOffset;d<this._writeBuffer.length;++d){var c=this._writeBuffer[d],o=this._callbacks[d];this._action(c),o&&o()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(f)},g.prototype.write=function(f,d){var c=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return c._innerWrite()})),this._pendingData+=f.length,this._writeBuffer.push(f),this._callbacks.push(d)},g.prototype._innerWrite=function(){for(var f=this,d=Date.now();this._writeBuffer.length>this._bufferOffset;){var c=this._writeBuffer[this._bufferOffset],o=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(c),this._pendingData-=c.length,o&&o(),Date.now()-d>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return f._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},g}();p.WriteBuffer=m},function(v,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.AddonManager=void 0;var m=function(){function g(){this._addons=[]}return g.prototype.dispose=function(){for(var f=this._addons.length-1;f>=0;f--)this._addons[f].instance.dispose()},g.prototype.loadAddon=function(f,d){var c=this,o={instance:d,dispose:d.dispose,isDisposed:!1};this._addons.push(o),d.dispose=function(){return c._wrappedAddonDispose(o)},d.activate(f)},g.prototype._wrappedAddonDispose=function(f){if(!f.isDisposed){for(var d=-1,c=0;c<this._addons.length;c++)if(this._addons[c]===f){d=c;break}if(d===-1)throw new Error("Could not dispose an addon that has not been loaded");f.isDisposed=!0,f.dispose.apply(f.instance),this._addons.splice(d,1)}},g}();p.AddonManager=m}])})},"/SeX":function(M,N,n){var v=n("knOB"),p=n("qZFw"),S=function(g){this.name=g||"",this.cx=0,this.cy=0,this._radiusAxis=new v,this._angleAxis=new p,this._radiusAxis.polar=this._angleAxis.polar=this};S.prototype={type:"polar",axisPointerEnabled:!0,constructor:S,dimensions:["radius","angle"],model:null,containPoint:function(g){var f=this.pointToCoord(g);return this._radiusAxis.contain(f[0])&&this._angleAxis.contain(f[1])},containData:function(g){return this._radiusAxis.containData(g[0])&&this._angleAxis.containData(g[1])},getAxis:function(g){return this["_"+g+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(g){var f=[],d=this._angleAxis,c=this._radiusAxis;return d.scale.type===g&&f.push(d),c.scale.type===g&&f.push(c),f},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(g){var f=this._angleAxis;return g===f?this._radiusAxis:f},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(g){var f=g!=null&&g!=="auto"?this.getAxis(g):this.getBaseAxis();return{baseAxes:[f],otherAxes:[this.getOtherAxis(f)]}},dataToPoint:function(g,f){return this.coordToPoint([this._radiusAxis.dataToRadius(g[0],f),this._angleAxis.dataToAngle(g[1],f)])},pointToData:function(g,f){var d=this.pointToCoord(g);return[this._radiusAxis.radiusToData(d[0],f),this._angleAxis.angleToData(d[1],f)]},pointToCoord:function(g){var f=g[0]-this.cx,d=g[1]-this.cy,c=this.getAngleAxis(),o=c.getExtent(),i=Math.min(o[0],o[1]),t=Math.max(o[0],o[1]);c.inverse?i=t-360:t=i+360;var a=Math.sqrt(f*f+d*d);f/=a,d/=a;for(var e=Math.atan2(-d,f)/Math.PI*180,l=e<i?1:-1;e<i||e>t;)e+=l*360;return[a,e]},coordToPoint:function(g){var f=g[0],d=g[1]/180*Math.PI,c=Math.cos(d)*f+this.cx,o=-Math.sin(d)*f+this.cy;return[c,o]},getArea:function(){var g=this.getAngleAxis(),f=this.getRadiusAxis(),d=f.getExtent().slice();d[0]>d[1]&&d.reverse();var c=g.getExtent(),o=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:d[0],r:d[1],startAngle:-c[0]*o,endAngle:-c[1]*o,clockwise:g.inverse,contain:function(i,t){var a=i-this.cx,e=t-this.cy,l=a*a+e*e,r=this.r,s=this.r0;return l<=r*r&&l>=s*s}}}};var m=S;M.exports=m},"/WM3":function(M,N,n){var v=n("QuXc"),p=n("bYtY"),S=p.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(g,f){var d=g.getData(),c=(g.visualColorAccessPath||"itemStyle.color").split("."),o=g.get(c),i=S(o)&&!(o instanceof v)?o:null;(!o||i)&&(o=g.getColorFromPalette(g.name,null,f.getSeriesCount())),d.setVisual("color",o);var t=(g.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),a=g.get(t);if(d.setVisual("borderColor",a),!f.isSeriesFiltered(g)){i&&d.each(function(l){d.setItemVisual(l,"color",i(g.getDataParams(l)))});var e=function(l,r){var s=l.getItemModel(r),u=s.get(c,!0),h=s.get(t,!0);u!=null&&l.setItemVisual(r,"color",u),h!=null&&l.setItemVisual(r,"borderColor",h)};return{dataEach:d.hasItemOption?e:null}}}};M.exports=m},"/d5a":function(M,N){var n={average:function(S){for(var m=0,g=0,f=0;f<S.length;f++)isNaN(S[f])||(m+=S[f],g++);return g===0?NaN:m/g},sum:function(S){for(var m=0,g=0;g<S.length;g++)m+=S[g]||0;return m},max:function(S){for(var m=-Infinity,g=0;g<S.length;g++)S[g]>m&&(m=S[g]);return isFinite(m)?m:NaN},min:function(S){for(var m=Infinity,g=0;g<S.length;g++)S[g]<m&&(m=S[g]);return isFinite(m)?m:NaN},nearest:function(S){return S[0]}},v=function(S,m){return Math.round(S.length/2)};function p(S){return{seriesType:S,modifyOutputEnd:!0,reset:function(m,g,f){var d=m.getData(),c=m.get("sampling"),o=m.coordinateSystem;if(o.type==="cartesian2d"&&c){var i=o.getBaseAxis(),t=o.getOtherAxis(i),a=i.getExtent(),e=a[1]-a[0],l=Math.round(d.count()/e);if(l>1){var r;typeof c=="string"?r=n[c]:typeof c=="function"&&(r=c),r&&m.setData(d.downSample(d.mapDimension(t.dim),1/l,r,v))}}}}}M.exports=p},"/ezw":function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("cDf5"),f=n.n(g),d=n("q1tI"),c=n("TSYQ"),o=n.n(c),i=function(B){var H=B.prefixCls,K=B.className,V=B.width,W=B.style;return d.createElement("h3",{className:o()(H,K),style:m()({width:V},W)})},t=i,a=n("RIqP"),e=n.n(a),l=function(B){var H=function($){var ve=B.width,Ce=B.rows,Se=Ce===void 0?2:Ce;return Array.isArray(ve)?ve[$]:Se-1===$?ve:void 0},K=B.prefixCls,V=B.className,W=B.style,G=B.rows,re=e()(Array(G)).map(function(ye,$){return d.createElement("li",{key:$,style:{width:H($)}})});return d.createElement("ul",{className:o()(K,V),style:W},re)},r=l,s=n("H84U"),u=function(B){var H,K,V=B.prefixCls,W=B.className,G=B.style,re=B.size,ye=B.shape,$=o()((H={},p()(H,"".concat(V,"-lg"),re==="large"),p()(H,"".concat(V,"-sm"),re==="small"),H)),ve=o()((K={},p()(K,"".concat(V,"-circle"),ye==="circle"),p()(K,"".concat(V,"-square"),ye==="square"),p()(K,"".concat(V,"-round"),ye==="round"),K)),Ce=typeof re=="number"?{width:re,height:re,lineHeight:"".concat(re,"px")}:{};return d.createElement("span",{className:o()(V,W,$,ve),style:m()(m()({},Ce),G)})},h=u,A=n("BGR+"),y=function(B){var H=function(V){var W=V.getPrefixCls,G=B.prefixCls,re=B.className,ye=B.active,$=W("skeleton",G),ve=Object(A.default)(B,["prefixCls"]),Ce=o()($,re,"".concat($,"-element"),p()({},"".concat($,"-active"),ye));return d.createElement("div",{className:Ce},d.createElement(h,m()({prefixCls:"".concat($,"-avatar")},ve)))};return d.createElement(s.a,null,H)};y.defaultProps={size:"default",shape:"circle"};var w=y,b=function(B){var H=function(V){var W=V.getPrefixCls,G=B.prefixCls,re=B.className,ye=B.active,$=W("skeleton",G),ve=Object(A.default)(B,["prefixCls"]),Ce=o()($,re,"".concat($,"-element"),p()({},"".concat($,"-active"),ye));return d.createElement("div",{className:Ce},d.createElement(h,m()({prefixCls:"".concat($,"-button")},ve)))};return d.createElement(s.a,null,H)};b.defaultProps={size:"default"};var x=b,O=function(B){var H=function(V){var W=V.getPrefixCls,G=B.prefixCls,re=B.className,ye=B.active,$=W("skeleton",G),ve=Object(A.default)(B,["prefixCls"]),Ce=o()($,re,"".concat($,"-element"),p()({},"".concat($,"-active"),ye));return d.createElement("div",{className:Ce},d.createElement(h,m()({prefixCls:"".concat($,"-input")},ve)))};return d.createElement(s.a,null,H)};O.defaultProps={size:"default"};var T=O,E="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(B){var H=function(V){var W=V.getPrefixCls,G=B.prefixCls,re=B.className,ye=B.style,$=W("skeleton",G),ve=o()($,re,"".concat($,"-element"));return d.createElement("div",{className:ve},d.createElement("div",{className:o()("".concat($,"-image"),re),style:ye},d.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat($,"-image-svg")},d.createElement("path",{d:E,className:"".concat($,"-image-path")}))))};return d.createElement(s.a,null,H)},_=C;function L(U){return U&&f()(U)==="object"?U:{}}function P(U,B){return U&&!B?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function k(U,B){return!U&&B?{width:"38%"}:U&&B?{width:"50%"}:{}}function F(U,B){var H={};return(!U||!B)&&(H.width="61%"),!U&&B?H.rows=3:H.rows=2,H}var j=function(B){var H=function(V){var W=V.getPrefixCls,G=V.direction,re=B.prefixCls,ye=B.loading,$=B.className,ve=B.children,Ce=B.avatar,Se=B.title,Ke=B.paragraph,ue=B.active,Le=B.round,ee=W("skeleton",re);if(ye||!("loading"in B)){var le,et=!!Ce,Re=!!Se,Ae=!!Ke,oe;if(et){var ce=m()(m()({prefixCls:"".concat(ee,"-avatar")},P(Re,Ae)),L(Ce));oe=d.createElement("div",{className:"".concat(ee,"-header")},d.createElement(h,ce))}var be;if(Re||Ae){var Te;if(Re){var Be=m()(m()({prefixCls:"".concat(ee,"-title")},k(et,Ae)),L(Se));Te=d.createElement(t,Be)}var De;if(Ae){var ae=m()(m()({prefixCls:"".concat(ee,"-paragraph")},F(et,Re)),L(Ke));De=d.createElement(r,ae)}be=d.createElement("div",{className:"".concat(ee,"-content")},Te,De)}var fe=o()(ee,$,(le={},p()(le,"".concat(ee,"-with-avatar"),et),p()(le,"".concat(ee,"-active"),ue),p()(le,"".concat(ee,"-rtl"),G==="rtl"),p()(le,"".concat(ee,"-round"),Le),le));return d.createElement("div",{className:fe},oe,be)}return ve};return d.createElement(s.a,null,H)};j.defaultProps={avatar:!1,title:!0,paragraph:!0},j.Button=x,j.Avatar=w,j.Input=T,j.Image=_;var z=j,R=N.a=z},"/iHx":function(M,N,n){var v=n("6GrX"),p=n("IwbS"),S=["textStyle","color"],m={getTextColor:function(g){var f=this.ecModel;return this.getShallow("color")||(!g&&f?f.get(S):null)},getFont:function(){return p.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(g){return v.getBoundingRect(g,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};M.exports=m},"/kpp":function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("cDf5"),f=n.n(g),d=n("q1tI"),c=n.n(d),o=n("TSYQ"),i=n.n(o),t=n("o/2+"),a=n("H84U"),e=function(s,u){var h={};for(var A in s)Object.prototype.hasOwnProperty.call(s,A)&&u.indexOf(A)<0&&(h[A]=s[A]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,A=Object.getOwnPropertySymbols(s);y<A.length;y++)u.indexOf(A[y])<0&&Object.prototype.propertyIsEnumerable.call(s,A[y])&&(h[A[y]]=s[A[y]]);return h};function l(s){return typeof s=="number"?"".concat(s," ").concat(s," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(s)?"0 0 ".concat(s):s}var r=d.forwardRef(function(s,u){var h=function(y){var w,b=y.getPrefixCls,x=y.direction,O=s.prefixCls,T=s.span,E=s.order,C=s.offset,_=s.push,L=s.pull,P=s.className,k=s.children,F=s.flex,j=s.style,z=e(s,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),R=b("col",O),U={};["xs","sm","md","lg","xl","xxl"].forEach(function(H){var K,V={},W=s[H];typeof W=="number"?V.span=W:f()(W)==="object"&&(V=W||{}),delete z[H],U=m()(m()({},U),(K={},p()(K,"".concat(R,"-").concat(H,"-").concat(V.span),V.span!==void 0),p()(K,"".concat(R,"-").concat(H,"-order-").concat(V.order),V.order||V.order===0),p()(K,"".concat(R,"-").concat(H,"-offset-").concat(V.offset),V.offset||V.offset===0),p()(K,"".concat(R,"-").concat(H,"-push-").concat(V.push),V.push||V.push===0),p()(K,"".concat(R,"-").concat(H,"-pull-").concat(V.pull),V.pull||V.pull===0),p()(K,"".concat(R,"-rtl"),x==="rtl"),K))});var B=i()(R,(w={},p()(w,"".concat(R,"-").concat(T),T!==void 0),p()(w,"".concat(R,"-order-").concat(E),E),p()(w,"".concat(R,"-offset-").concat(C),C),p()(w,"".concat(R,"-push-").concat(_),_),p()(w,"".concat(R,"-pull-").concat(L),L),w),P,U);return d.createElement(t.a.Consumer,null,function(H){var K=H.gutter,V=m()({},j);return K&&(V=m()(m()(m()({},K[0]>0?{paddingLeft:K[0]/2,paddingRight:K[0]/2}:{}),K[1]>0?{paddingTop:K[1]/2,paddingBottom:K[1]/2}:{}),V)),F&&(V.flex=l(F)),d.createElement("div",m()({},z,{style:V,className:B,ref:u}),k)})};return d.createElement(a.a,null,h)});r.displayName="Col",N.a=r},"/ry/":function(M,N,n){var v=n("bYtY"),p=n("T4UG"),S=n("5GhG"),m=S.seriesModelMixin,g=p.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}});v.mixin(g,m,!0);var f=g;M.exports=f},"/stD":function(M,N,n){var v=n("bYtY"),p=n("IUWy"),S=n("Kagy"),m=S.toolbox.brush;function g(c,o,i){this.model=c,this.ecModel=o,this.api=i,this._brushType,this._brushMode}g.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:v.clone(m.title)};var f=g.prototype;f.render=f.updateView=function(c,o,i){var t,a,e;o.eachComponent({mainType:"brush"},function(l){t=l.brushType,a=l.brushOption.brushMode||"single",e|=l.areas.length}),this._brushType=t,this._brushMode=a,v.each(c.get("type",!0),function(l){c.setIconStatus(l,(l==="keep"?a==="multiple":l==="clear"?e:l===t)?"emphasis":"normal")})},f.getIcons=function(){var c=this.model,o=c.get("icon",!0),i={};return v.each(c.get("type",!0),function(t){o[t]&&(i[t]=o[t])}),i},f.onclick=function(c,o,i){var t=this._brushType,a=this._brushMode;i==="clear"?(o.dispatchAction({type:"axisAreaSelect",intervals:[]}),o.dispatchAction({type:"brush",command:"clear",areas:[]})):o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?t:t===i?!1:i,brushMode:i==="keep"?a==="multiple"?"single":"multiple":a}})},p.register("brush",g);var d=g;M.exports=d},"/wGt":function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("PJYZ"),i=n.n(o),t=n("7W2i"),a=n.n(t),e=n("LQ03"),l=n.n(e),r=n("q1tI"),s=n("Ff2n"),u=n("1OyB"),h=n("vuIU"),A=n("Ji7U"),y=n("md7G"),w=n("foSv"),b=n("1W/9"),x=n("rePB"),O=n("JX7q"),T=n("TSYQ"),E=n.n(T),C=n("qx4F"),_=n("4IlW");function L(Te){return Array.isArray(Te)?Te:[Te]}var P={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},k=Object.keys(P).filter(function(Te){if(typeof document=="undefined")return!1;var Be=document.getElementsByTagName("html")[0];return Te in(Be?Be.style:{})})[0],F=P[k];function j(Te,Be,De,ae){Te.addEventListener?Te.addEventListener(Be,De,ae):Te.attachEvent&&Te.attachEvent("on".concat(Be),De)}function z(Te,Be,De,ae){Te.removeEventListener?Te.removeEventListener(Be,De,ae):Te.attachEvent&&Te.detachEvent("on".concat(Be),De)}function R(Te,Be){var De=typeof Te=="function"?Te(Be):Te;return Array.isArray(De)?De.length===2?De:[De[0],De[1]]:[De]}var U=function(Be){return!isNaN(parseFloat(Be))&&isFinite(Be)},B=!(typeof window!="undefined"&&window.document&&window.document.createElement),H=function Te(Be,De,ae,fe){if(!De||De===document||De instanceof Document)return!1;if(De===Be.parentNode)return!0;var Oe=Math.max(Math.abs(ae),Math.abs(fe))===Math.abs(fe),Je=Math.max(Math.abs(ae),Math.abs(fe))===Math.abs(ae),Et=De.scrollHeight-De.clientHeight,Ze=De.scrollWidth-De.clientWidth,Ne=document.defaultView.getComputedStyle(De),It=Ne.overflowY==="auto"||Ne.overflowY==="scroll",Xe=Ne.overflowX==="auto"||Ne.overflowX==="scroll",Ot=Et&&It,Bt=Ze&&Xe;return Oe&&(!Ot||Ot&&(De.scrollTop>=Et&&fe<0||De.scrollTop<=0&&fe>0))||Je&&(!Bt||Bt&&(De.scrollLeft>=Ze&&ae<0||De.scrollLeft<=0&&ae>0))?Te(Be,De.parentNode,ae,fe):!1};function K(Te){var Be=V();return function(){var ae=Object(w.a)(Te),fe;if(Be){var Oe=Object(w.a)(this).constructor;fe=Reflect.construct(ae,arguments,Oe)}else fe=ae.apply(this,arguments);return Object(y.a)(this,fe)}}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(Te){return!1}}var W={},G=function(Te){Object(A.a)(De,Te);var Be=K(De);function De(ae){var fe;return Object(u.a)(this,De),fe=Be.call(this,ae),fe.domFocus=function(){fe.dom&&fe.dom.focus()},fe.removeStartHandler=function(Oe){if(Oe.touches.length>1)return;fe.startPos={x:Oe.touches[0].clientX,y:Oe.touches[0].clientY}},fe.removeMoveHandler=function(Oe){if(Oe.changedTouches.length>1)return;var Je=Oe.currentTarget,Et=Oe.changedTouches[0].clientX-fe.startPos.x,Ze=Oe.changedTouches[0].clientY-fe.startPos.y;(Je===fe.maskDom||Je===fe.handlerDom||Je===fe.contentDom&&H(Je,Oe.target,Et,Ze))&&Oe.cancelable&&Oe.preventDefault()},fe.transitionEnd=function(Oe){var Je=Oe.target;z(Je,F,fe.transitionEnd),Je.style.transition=""},fe.onKeyDown=function(Oe){if(Oe.keyCode===_.a.ESC){var Je=fe.props.onClose;Oe.stopPropagation(),Je&&Je(Oe)}},fe.onWrapperTransitionEnd=function(Oe){var Je=fe.props,Et=Je.open,Ze=Je.afterVisibleChange;Oe.target===fe.contentWrapper&&Oe.propertyName.match(/transform$/)&&(fe.dom.style.transition="",!Et&&fe.getCurrentDrawerSome()&&(document.body.style.overflowX="",fe.maskDom&&(fe.maskDom.style.left="",fe.maskDom.style.width="")),Ze&&Ze(!!Et))},fe.openLevelTransition=function(){var Oe=fe.props,Je=Oe.open,Et=Oe.width,Ze=Oe.height,Ne=fe.getHorizontalBoolAndPlacementName(),It=Ne.isHorizontal,Xe=Ne.placementName,Ot=fe.contentDom?fe.contentDom.getBoundingClientRect()[It?"width":"height"]:0,Bt=(It?Et:Ze)||Ot;fe.setLevelAndScrolling(Je,Xe,Bt)},fe.setLevelTransform=function(Oe,Je,Et,Ze){var Ne=fe.props,It=Ne.placement,Xe=Ne.levelMove,Ot=Ne.duration,Bt=Ne.ease,kt=Ne.showMask;fe.levelDom.forEach(function(_t){_t.style.transition="transform ".concat(Ot," ").concat(Bt),j(_t,F,fe.transitionEnd);var Ft=Oe?Et:0;if(Xe){var ke=R(Xe,{target:_t,open:Oe});Ft=Oe?ke[0]:ke[1]||0}var te=typeof Ft=="number"?"".concat(Ft,"px"):Ft,Q=It==="left"||It==="top"?te:"-".concat(te);Q=kt&&It==="right"&&Ze?"calc(".concat(Q," + ").concat(Ze,"px)"):Q,_t.style.transform=Ft?"".concat(Je,"(").concat(Q,")"):""})},fe.setLevelAndScrolling=function(Oe,Je,Et){var Ze=fe.props.onChange;if(!B){var Ne=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;fe.setLevelTransform(Oe,Je,Et,Ne),fe.toggleScrollingToDrawerAndBody(Ne)}Ze&&Ze(Oe)},fe.toggleScrollingToDrawerAndBody=function(Oe){var Je=fe.props,Et=Je.getOpenCount,Ze=Je.getContainer,Ne=Je.showMask,It=Je.open,Xe=Ze&&Ze(),Ot=Et&&Et();if(Xe&&Xe.parentNode===document.body&&Ne){var Bt=["touchstart"],kt=[document.body,fe.maskDom,fe.handlerDom,fe.contentDom];It&&document.body.style.overflow!=="hidden"?(Oe&&fe.addScrollingEffect(Oe),Ot===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",kt.forEach(function(_t,Ft){if(!_t)return;j(_t,Bt[Ft]||"touchmove",Ft?fe.removeMoveHandler:fe.removeStartHandler,fe.passive)})):fe.getCurrentDrawerSome()&&(Ot||(document.body.style.overflow=""),document.body.style.touchAction="",Oe&&fe.remScrollingEffect(Oe),kt.forEach(function(_t,Ft){if(!_t)return;z(_t,Bt[Ft]||"touchmove",Ft?fe.removeMoveHandler:fe.removeStartHandler,fe.passive)}))}},fe.addScrollingEffect=function(Oe){var Je=fe.props,Et=Je.placement,Ze=Je.duration,Ne=Je.ease,It=Je.getOpenCount,Xe=Je.switchScrollingEffect,Ot=It&&It();Ot===1&&Xe();var Bt="width ".concat(Ze," ").concat(Ne),kt="transform ".concat(Ze," ").concat(Ne);fe.dom.style.transition="none";switch(Et){case"right":fe.dom.style.transform="translateX(-".concat(Oe,"px)");break;case"top":case"bottom":fe.dom.style.width="calc(100% - ".concat(Oe,"px)"),fe.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(fe.timeout),fe.timeout=setTimeout(function(){fe.dom&&(fe.dom.style.transition="".concat(kt,",").concat(Bt),fe.dom.style.width="",fe.dom.style.transform="")})},fe.remScrollingEffect=function(Oe){var Je=fe.props,Et=Je.placement,Ze=Je.duration,Ne=Je.ease,It=Je.getOpenCount,Xe=Je.switchScrollingEffect,Ot=It&&It();Ot||Xe(!0),k&&(document.body.style.overflowX="hidden"),fe.dom.style.transition="none";var Bt,kt="width ".concat(Ze," ").concat(Ne),_t="transform ".concat(Ze," ").concat(Ne);switch(Et){case"left":{fe.dom.style.width="100%",kt="width 0s ".concat(Ne," ").concat(Ze);break}case"right":{fe.dom.style.transform="translateX(".concat(Oe,"px)"),fe.dom.style.width="100%",kt="width 0s ".concat(Ne," ").concat(Ze),fe.maskDom&&(fe.maskDom.style.left="-".concat(Oe,"px"),fe.maskDom.style.width="calc(100% + ".concat(Oe,"px)"));break}case"top":case"bottom":{fe.dom.style.width="calc(100% + ".concat(Oe,"px)"),fe.dom.style.height="100%",fe.dom.style.transform="translateZ(0)",Bt="height 0s ".concat(Ne," ").concat(Ze);break}default:break}clearTimeout(fe.timeout),fe.timeout=setTimeout(function(){fe.dom&&(fe.dom.style.transition="".concat(_t,",").concat(Bt?"".concat(Bt,","):"").concat(kt),fe.dom.style.transform="",fe.dom.style.width="",fe.dom.style.height="")})},fe.getCurrentDrawerSome=function(){return!Object.keys(W).some(function(Oe){return W[Oe]})},fe.getLevelDom=function(Oe){var Je=Oe.level,Et=Oe.getContainer;if(B)return;var Ze=Et&&Et(),Ne=Ze?Ze.parentNode:null;if(fe.levelDom=[],Je==="all"){var It=Ne?Array.prototype.slice.call(Ne.children):[];It.forEach(function(Xe){Xe.nodeName!=="SCRIPT"&&Xe.nodeName!=="STYLE"&&Xe.nodeName!=="LINK"&&Xe!==Ze&&fe.levelDom.push(Xe)})}else Je&&L(Je).forEach(function(Xe){document.querySelectorAll(Xe).forEach(function(Ot){fe.levelDom.push(Ot)})})},fe.getHorizontalBoolAndPlacementName=function(){var Oe=fe.props.placement,Je=Oe==="left"||Oe==="right",Et="translate".concat(Je?"X":"Y");return{isHorizontal:Je,placementName:Et}},fe.state={_self:Object(O.a)(fe)},fe}return Object(h.a)(De,[{key:"componentDidMount",value:function(){var fe=this;if(!B){var Oe=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Oe=!0,null}}))}catch(It){}this.passive=Oe?{passive:!1}:!1}var Je=this.props,Et=Je.open,Ze=Je.getContainer,Ne=Ze&&Ze();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),Et&&(Ne&&Ne.parentNode===document.body&&(W[this.drawerId]=Et),this.openLevelTransition(),this.forceUpdate(function(){fe.domFocus()}))}},{key:"componentDidUpdate",value:function(fe){var Oe=this.props,Je=Oe.open,Et=Oe.getContainer,Ze=Et&&Et();Je!==fe.open&&(Je&&this.domFocus(),Ze&&Ze.parentNode===document.body&&(W[this.drawerId]=!!Je),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var fe=this.props,Oe=fe.getOpenCount,Je=fe.open,Et=fe.switchScrollingEffect,Ze=typeof Oe=="function"&&Oe();delete W[this.drawerId],Je&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Ze||(document.body.style.overflow="",Et(!0))}},{key:"render",value:function(){var fe,Oe=this,Je=this.props,Et=Je.className,Ze=Je.children,Ne=Je.style,It=Je.width,Xe=Je.height,Ot=Je.defaultOpen,Bt=Je.open,kt=Je.prefixCls,_t=Je.placement,Ft=Je.level,ke=Je.levelMove,te=Je.ease,Q=Je.duration,qe=Je.getContainer,je=Je.handler,q=Je.onChange,wt=Je.afterVisibleChange,Vt=Je.showMask,lt=Je.maskClosable,or=Je.maskStyle,vr=Je.onClose,An=Je.onHandleClick,hr=Je.keyboard,xr=Je.getOpenCount,nr=Je.switchScrollingEffect,Yt=Object(s.a)(Je,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),gt=this.dom?Bt:!1,zr=E()(kt,(fe={},Object(x.a)(fe,"".concat(kt,"-").concat(_t),!0),Object(x.a)(fe,"".concat(kt,"-open"),gt),Object(x.a)(fe,Et||"",!!Et),Object(x.a)(fe,"no-mask",!Vt),fe)),pn=this.getHorizontalBoolAndPlacementName(),Nn=pn.placementName,Vn=_t==="left"||_t==="top"?"-100%":"100%",xi=gt?"":"".concat(Nn,"(").concat(Vn,")"),bn=je&&r.cloneElement(je,{onClick:function(jt){je.props.onClick&&je.props.onClick(),An&&An(jt)},ref:function(jt){Oe.handlerDom=jt}});return r.createElement("div",Object.assign({},Yt,{tabIndex:-1,className:zr,style:Ne,ref:function(jt){Oe.dom=jt},onKeyDown:gt&&hr?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),Vt&&r.createElement("div",{className:"".concat(kt,"-mask"),onClick:lt?vr:void 0,style:or,ref:function(jt){Oe.maskDom=jt}}),r.createElement("div",{className:"".concat(kt,"-content-wrapper"),style:{transform:xi,msTransform:xi,width:U(It)?"".concat(It,"px"):It,height:U(Xe)?"".concat(Xe,"px"):Xe},ref:function(jt){Oe.contentWrapper=jt}},r.createElement("div",{className:"".concat(kt,"-content"),ref:function(jt){Oe.contentDom=jt},onTouchStart:gt&&Vt?this.removeStartHandler:void 0,onTouchMove:gt&&Vt?this.removeMoveHandler:void 0},Ze),bn))}}],[{key:"getDerivedStateFromProps",value:function(fe,Oe){var Je=Oe.prevProps,Et=Oe._self,Ze={prevProps:fe};if(Je!==void 0){var Ne=fe.placement,It=fe.level;Ne!==Je.placement&&(Et.contentDom=null),It!==Je.level&&Et.getLevelDom(fe)}return Ze}}]),De}(r.Component);G.defaultProps={switchScrollingEffect:function(){}};var re=G;function ye(Te){var Be=$();return function(){var ae=Object(w.a)(Te),fe;if(Be){var Oe=Object(w.a)(this).constructor;fe=Reflect.construct(ae,arguments,Oe)}else fe=ae.apply(this,arguments);return Object(y.a)(this,fe)}}function $(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Te){return!1}}var ve=function(Te){Object(A.a)(De,Te);var Be=ye(De);function De(ae){var fe;Object(u.a)(this,De),fe=Be.call(this,ae),fe.onHandleClick=function(Je){var Et=fe.props,Ze=Et.onHandleClick,Ne=Et.open;if(Ze&&Ze(Je),typeof Ne=="undefined"){var It=fe.state.open;fe.setState({open:!It})}},fe.onClose=function(Je){var Et=fe.props,Ze=Et.onClose,Ne=Et.open;Ze&&Ze(Je),typeof Ne=="undefined"&&fe.setState({open:!1})};var Oe=typeof ae.open!="undefined"?ae.open:!!ae.defaultOpen;return fe.state={open:Oe},"onMaskClick"in ae&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),fe}return Object(h.a)(De,[{key:"render",value:function(){var fe=this,Oe=this.props,Je=Oe.defaultOpen,Et=Oe.getContainer,Ze=Oe.wrapperClassName,Ne=Oe.forceRender,It=Oe.handler,Xe=Object(s.a)(Oe,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Ot=this.state.open;if(!Et)return r.createElement("div",{className:Ze,ref:function(_t){fe.dom=_t}},r.createElement(re,Object.assign({},Xe,{open:Ot,handler:It,getContainer:function(){return fe.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Bt=!!It||Ne;return r.createElement(b.a,{visible:Ot,forceRender:Bt,getContainer:Et,wrapperClassName:Ze},function(kt){var _t=kt.visible,Ft=kt.afterClose,ke=Object(s.a)(kt,["visible","afterClose"]);return r.createElement(re,Object.assign({},Xe,ke,{open:_t!==void 0?_t:Ot,afterVisibleChange:Ft!==void 0?Ft:Xe.afterVisibleChange,handler:It,onClose:fe.onClose,onHandleClick:fe.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(fe,Oe){var Je=Oe.prevProps,Et={prevProps:fe};return typeof Je!="undefined"&&fe.open!==Je.open&&(Et.open=fe.open),Et}}]),De}(r.Component);ve.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:r.createElement("div",{className:"drawer-handle"},r.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Ce=ve,Se=Ce,Ke=n("V/uB"),ue=n.n(Ke),Le=n("BGR+"),ee=n("H84U"),le=n("CWQg"),et=function(Te,Be){var De={};for(var ae in Te)Object.prototype.hasOwnProperty.call(Te,ae)&&Be.indexOf(ae)<0&&(De[ae]=Te[ae]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,ae=Object.getOwnPropertySymbols(Te);fe<ae.length;fe++)Be.indexOf(ae[fe])<0&&Object.prototype.propertyIsEnumerable.call(Te,ae[fe])&&(De[ae[fe]]=Te[ae[fe]]);return De},Re=r.createContext(null),Ae=Object(le.a)("top","right","bottom","left"),oe={distance:180},ce=function(Te){a()(De,Te);var Be=l()(De);function De(){var ae;return f()(this,De),ae=Be.apply(this,arguments),ae.state={push:!1},ae.push=function(){ae.props.push&&ae.setState({push:!0})},ae.pull=function(){ae.props.push&&ae.setState({push:!1})},ae.onDestroyTransitionEnd=function(){var fe=ae.getDestroyOnClose();if(!fe)return;ae.props.visible||(ae.destroyClose=!0,ae.forceUpdate())},ae.getDestroyOnClose=function(){return ae.props.destroyOnClose&&!ae.props.visible},ae.getPushDistance=function(){var fe=ae.props.push,Oe;return typeof fe=="boolean"?Oe=fe?oe.distance:0:Oe=fe.distance,parseFloat(String(Oe||0))},ae.getPushTransform=function(fe){var Oe=ae.getPushDistance();if(fe==="left"||fe==="right")return"translateX(".concat(fe==="left"?Oe:-Oe,"px)");if(fe==="top"||fe==="bottom")return"translateY(".concat(fe==="top"?Oe:-Oe,"px)")},ae.getRcDrawerStyle=function(){var fe=ae.props,Oe=fe.zIndex,Je=fe.placement,Et=fe.mask,Ze=fe.style,Ne=ae.state.push,It=Et?{}:ae.getOffsetStyle();return m()(m()({zIndex:Oe,transform:Ne?ae.getPushTransform(Je):void 0},It),Ze)},ae.renderBody=function(){var fe=ae.props,Oe=fe.bodyStyle,Je=fe.drawerStyle,Et=fe.prefixCls,Ze=fe.visible;if(ae.destroyClose&&!Ze)return null;ae.destroyClose=!1;var Ne={},It=ae.getDestroyOnClose();return It&&(Ne.opacity=0,Ne.transition="opacity .3s"),r.createElement("div",{className:"".concat(Et,"-wrapper-body"),style:m()(m()({},Ne),Je),onTransitionEnd:ae.onDestroyTransitionEnd},ae.renderHeader(),r.createElement("div",{className:"".concat(Et,"-body"),style:Oe},ae.props.children),ae.renderFooter())},ae.renderProvider=function(fe){return ae.parentDrawer=fe,r.createElement(ee.a,null,function(Oe){var Je=Oe.getPopupContainer,Et=Oe.getPrefixCls,Ze=ae.props,Ne=Ze.prefixCls,It=Ze.placement,Xe=Ze.className,Ot=Ze.mask,Bt=Ze.direction,kt=Ze.visible,_t=et(Ze,["prefixCls","placement","className","mask","direction","visible"]),Ft=Et("select",Ne),ke=E()(Xe,p()({"no-mask":!Ot},"".concat(Ft,"-rtl"),Bt==="rtl")),te=Ot?ae.getOffsetStyle():{};return r.createElement(Re.Provider,{value:i()(ae)},r.createElement(Se,m()({handler:!1},Object(Le.default)(_t,["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:_t.getContainer===void 0&&Je?function(){return Je(document.body)}:_t.getContainer},te,{prefixCls:Ft,open:kt,showMask:Ot,placement:It,style:ae.getRcDrawerStyle(),className:ke}),ae.renderBody()))})},ae}return c()(De,[{key:"componentDidMount",value:function(){var fe=this.props.visible;fe&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(fe){var Oe=this.props.visible;fe.visible!==Oe&&this.parentDrawer&&(Oe?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var fe=this.props,Oe=fe.placement,Je=fe.width,Et=fe.height,Ze=fe.visible,Ne=fe.mask;if(!Ze&&!Ne)return{};var It={};return Oe==="left"||Oe==="right"?It.width=Je:It.height=Et,It}},{key:"renderHeader",value:function(){var fe=this.props,Oe=fe.title,Je=fe.prefixCls,Et=fe.closable,Ze=fe.headerStyle;if(!Oe&&!Et)return null;var Ne=Oe?"".concat(Je,"-header"):"".concat(Je,"-header-no-title");return r.createElement("div",{className:Ne,style:Ze},Oe&&r.createElement("div",{className:"".concat(Je,"-title")},Oe),Et&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var fe=this.props,Oe=fe.footer,Je=fe.footerStyle,Et=fe.prefixCls;if(!Oe)return null;var Ze="".concat(Et,"-footer");return r.createElement("div",{className:Ze,style:Je},Oe)}},{key:"renderCloseIcon",value:function(){var fe=this.props,Oe=fe.closable,Je=fe.closeIcon,Et=Je===void 0?r.createElement(ue.a,null):Je,Ze=fe.prefixCls,Ne=fe.onClose;return Oe&&r.createElement("button",{onClick:Ne,"aria-label":"Close",className:"".concat(Ze,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},Et)}},{key:"render",value:function(){return r.createElement(Re.Consumer,null,this.renderProvider)}}]),De}(r.Component);ce.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:oe};var be=N.a=Object(ee.c)({prefixCls:"drawer"})(ce)},"/y7N":function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("6GrX"),m=n("7aKB"),g=n("Fofx"),f=n("aX7z"),d=n("+rIm");function c(u){var h=u.get("type"),A=u.getModel(h+"Style"),y;return h==="line"?(y=A.getLineStyle(),y.fill=null):h==="shadow"&&(y=A.getAreaStyle(),y.stroke=null),y}function o(u,h,A,y,w){var b=A.get("value"),x=t(b,h.axis,h.ecModel,A.get("seriesDataIndices"),{precision:A.get("label.precision"),formatter:A.get("label.formatter")}),O=A.getModel("label"),T=m.normalizeCssArray(O.get("padding")||0),E=O.getFont(),C=S.getBoundingRect(x,E),_=w.position,L=C.width+T[1]+T[3],P=C.height+T[0]+T[2],k=w.align;k==="right"&&(_[0]-=L),k==="center"&&(_[0]-=L/2);var F=w.verticalAlign;F==="bottom"&&(_[1]-=P),F==="middle"&&(_[1]-=P/2),i(_,L,P,y);var j=O.get("backgroundColor");(!j||j==="auto")&&(j=h.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:L,height:P,r:O.get("borderRadius")},position:_.slice(),style:{text:x,textFont:E,textFill:O.getTextColor(),textPosition:"inside",textPadding:T,fill:j,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 i(u,h,A,y){var w=y.getWidth(),b=y.getHeight();u[0]=Math.min(u[0]+h,w)-h,u[1]=Math.min(u[1]+A,b)-A,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function t(u,h,A,y,w){u=h.scale.parse(u);var b=h.scale.getLabel(u,{precision:w.precision}),x=w.formatter;if(x){var O={value:f.getAxisRawValue(h,u),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};v.each(y,function(T){var E=A.getSeriesByIndex(T.seriesIndex),C=T.dataIndexInside,_=E&&E.getDataParams(C);_&&O.seriesData.push(_)}),v.isString(x)?b=x.replace("{value}",b):v.isFunction(x)&&(b=x(O))}return b}function a(u,h,A){var y=g.create();return g.rotate(y,y,A.rotation),g.translate(y,y,A.position),p.applyTransform([u.dataToCoord(h),(A.labelOffset||0)+(A.labelDirection||1)*(A.labelMargin||0)],y)}function e(u,h,A,y,w,b){var x=d.innerTextLayout(A.rotation,0,A.labelDirection);A.labelMargin=w.get("label.margin"),o(h,y,w,b,{position:a(y.axis,u,A),align:x.textAlign,verticalAlign:x.textVerticalAlign})}function l(u,h,A){return A=A||0,{x1:u[A],y1:u[1-A],x2:h[A],y2:h[1-A]}}function r(u,h,A){return A=A||0,{x:u[A],y:u[1-A],width:h[A],height:h[1-A]}}function s(u,h,A,y,w,b){return{cx:u,cy:h,r0:A,r:y,startAngle:w,endAngle:b,clockwise:!0}}N.buildElStyle=c,N.buildLabelElOption=o,N.getValueLabel=t,N.getTransformedPosition=a,N.buildCartesianSingleLabelElOption=e,N.makeLineShape=l,N.makeRectShape=r,N.makeSectorShape=s},"/zsF":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("bE4E"),m=n.n(S)},"0/Rx":function(M,N){function n(v){return{seriesType:v,reset:function(p,S){var m=S.findComponents({mainType:"legend"});if(!m||!m.length)return;var g=p.getData();g.filterSelf(function(f){for(var d=g.getName(f),c=0;c<m.length;c++)if(!m[c].isSelected(d))return!1;return!0})}}}M.exports=n},"01d+":function(M,N,n){var v=n("bYtY"),p=v.each,S=n("HF/U"),m=S.simpleLayout,g=S.simpleLayoutEdge;function f(d,c){d.eachSeriesByType("graph",function(o){var i=o.get("layout"),t=o.coordinateSystem;if(t&&t.type!=="view"){var a=o.getData(),e=[];p(t.dimensions,function(A){e=e.concat(a.mapDimension(A,!0))});for(var l=0;l<a.count();l++){for(var r=[],s=!1,u=0;u<e.length;u++){var h=a.get(e[u],l);isNaN(h)||(s=!0),r.push(h)}s?a.setItemLayout(l,t.dataToPoint(r)):a.setItemLayout(l,[NaN,NaN])}g(a.graph)}else(!i||i==="none")&&m(o)})}M.exports=f},"06DH":function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("Kagy"),m=n("IUWy"),g=S.toolbox.magicType,f="__ec_magicType_stack__";function d(a){this.model=a}d.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:p.clone(g.title),option:{},seriesIndex:{}};var c=d.prototype;c.getIcons=function(){var a=this.model,e=a.get("icon"),l={};return p.each(a.get("type"),function(r){e[r]&&(l[r]=e[r])}),l};var o={line:function(a,e,l,r){if(a==="bar")return p.merge({id:e,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},r.get("option.line")||{},!0)},bar:function(a,e,l,r){if(a==="line")return p.merge({id:e,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},r.get("option.bar")||{},!0)},stack:function(a,e,l,r){var s=l.get("stack")===f;if(a==="line"||a==="bar")return r.setIconStatus("stack",s?"normal":"emphasis"),p.merge({id:e,stack:s?"":f},r.get("option.stack")||{},!0)}},i=[["line","bar"],["stack"]];c.onclick=function(a,e,l){var r=this.model,s=r.get("seriesIndex."+l);if(!o[l])return;var u={series:[]},h=function(w){var b=w.subType,x=w.id,O=o[l](b,x,w,r);O&&(p.defaults(O,w.option),u.series.push(O));var T=w.coordinateSystem;if(T&&T.type==="cartesian2d"&&(l==="line"||l==="bar")){var E=T.getAxesByScale("ordinal")[0];if(E){var C=E.dim,_=C+"Axis",L=a.queryComponents({mainType:_,index:w.get(name+"Index"),id:w.get(name+"Id")})[0],P=L.componentIndex;u[_]=u[_]||[];for(var k=0;k<=P;k++)u[_][P]=u[_][P]||{};u[_][P].boundaryGap=l==="bar"}}};p.each(i,function(w){p.indexOf(w,l)>=0&&p.each(w,function(b){r.setIconStatus(b,"normal")})}),r.setIconStatus(l,"emphasis"),a.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},h);var A;if(l==="stack"){var y=u.series&&u.series[0]&&u.series[0].stack===f;A=y?p.merge({stack:g.title.tiled},g.title):p.clone(g.title)}e.dispatchAction({type:"changeMagicType",currentType:l,newOption:u,newTitle:A,featureName:"magicType"})},v.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(a,e){e.mergeOption(a.newOption)}),m.register("magicType",d);var t=d;M.exports=t},"06Qe":function(M,N,n){var v=n("ItGF"),p="urn:schemas-microsoft-com:vml",S=typeof window=="undefined"?null:window,m=!1,g=S&&S.document;function f(o){return d(o)}var d;if(g&&!v.canvasSupported)try{!g.namespaces.zrvml&&g.namespaces.add("zrvml",p),d=function(i){return g.createElement("<zrvml:"+i+' class="zrvml">')}}catch(o){d=function(t){return g.createElement("<"+t+' xmlns="'+p+'" class="zrvml">')}}function c(){if(m||!g)return;m=!0;var o=g.styleSheets;o.length<31?g.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):o[0].addRule(".zrvml","behavior:url(#default#VML)")}N.doc=g,N.createNode=f,N.initVML=c},"09Wf":function(M,N,n){"use strict";n.d(N,"b",function(){return p}),n.d(N,"a",function(){return S});var v=n("CWQg"),p=Object(v.a)("success","processing","error","default","warning"),S=Object(v.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(M,N,n){var v=n("T4UG"),p=n("I3/A"),S=n("7aKB"),m=S.encodeHTML,g=n("Qxkt"),f=n("Tghj"),d=f.__DEV__,c=v.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(i,t){for(var a=i.edges||i.links,e=i.data||i.nodes,l=i.levels,r=this.levelModels={},s=0;s<l.length;s++)l[s].depth!=null&&l[s].depth>=0&&(r[l[s].depth]=new g(l[s],this,t));if(e&&a){var u=p(e,a,this,!0,h);return u.data}function h(A,y){A.wrapMethod("getItemModel",function(w,b){return w.customizeGetParent(function(x){var O=this.parentModel,T=O.getData().getItemLayout(b).depth,E=O.levelModels[T];return E||this.parentModel}),w}),y.wrapMethod("getItemModel",function(w,b){return w.customizeGetParent(function(x){var O=this.parentModel,T=O.getGraph().getEdgeByIndex(b),E=T.node1.getLayout().depth,C=O.levelModels[E];return C||this.parentModel}),w})}},setNodePosition:function(i,t){var a=this.option.data[i];a.localX=t[0],a.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(i,t,a){if(a==="edge"){var e=this.getDataParams(i,a),l=e.data,r=l.source+" -- "+l.target;return e.value&&(r+=" : "+e.value),m(r)}else if(a==="node"){var s=this.getGraph().getNodeByIndex(i),u=s.getLayout().value,h=this.getDataParams(i,a).data.name;if(u)var r=h+" : "+u;return m(r)}return c.superCall(this,"formatTooltip",i,t)},optionUpdated:function(){var i=this.option;i.focusNodeAdjacency===!0&&(i.focusNodeAdjacency="allEdges")},getDataParams:function(i,t){var a=c.superCall(this,"getDataParams",i,t);if(a.value==null&&t==="node"){var e=this.getGraph().getNodeByIndex(i),l=e.getLayout().value;a.value=l}return a},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),o=c;M.exports=o},"0HBW":function(M,N,n){var v=n("ProS"),p=n("bYtY");n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX");function S(m,g){g.update="updateView",v.registerAction(g,function(f,d){var c={};return d.eachComponent({mainType:"geo",query:f},function(o){o[m](f.name);var i=o.coordinateSystem;p.each(i.regions,function(t){c[t.name]=o.isSelected(t.name)||!1})}),{selected:c,name:f.name}})}S("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),S("select",{type:"geoSelect",event:"geoselected"}),S("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(M,N,n){var v=n("bYtY"),p=n("+TT/"),S=n("OELB"),m=n("IDmD"),g=864e5;function f(o,i,t){this._model=o}f.prototype={constructor:f,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(o){o=S.parseDate(o);var i=o.getFullYear(),t=o.getMonth()+1;t=t<10?"0"+t:t;var a=o.getDate();a=a<10?"0"+a:a;var e=o.getDay();return e=Math.abs((e+7-this.getFirstDayOfWeek())%7),{y:i,m:t,d:a,day:e,time:o.getTime(),formatedDate:i+"-"+t+"-"+a,date:o}},getNextNDay:function(o,i){return i=i||0,i===0?this.getDateInfo(o):(o=new Date(this.getDateInfo(o).time),o.setDate(o.getDate()+i),this.getDateInfo(o))},update:function(o,i){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 t=this._rangeInfo.weeks||1,a=["width","height"],e=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),r=this._orient==="horizontal"?[t,7]:[7,t];v.each([0,1],function(A){h(e,A)&&(l[a[A]]=e[A]*r[A])});var s={width:i.getWidth(),height:i.getHeight()},u=this._rect=p.getLayoutRect(l,s);v.each([0,1],function(A){h(e,A)||(e[A]=u[a[A]]/r[A])});function h(A,y){return A[y]!=null&&A[y]!=="auto"}this._sw=e[0],this._sh=e[1]},dataToPoint:function(o,i){v.isArray(o)&&(o=o[0]),i==null&&(i=!0);var t=this.getDateInfo(o),a=this._rangeInfo,e=t.formatedDate;if(i&&!(t.time>=a.start.time&&t.time<a.end.time+g))return[NaN,NaN];var l=t.day,r=this._getRangeInfo([a.start.time,e]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]:[this._rect.x+r*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(o){var i=this.pointToDate(o);return i&&i.time},dataToRect:function(o,i){var t=this.dataToPoint(o,i);return{contentShape:{x:t[0]-(this._sw-this._lineWidth)/2,y:t[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:t,tl:[t[0]-this._sw/2,t[1]-this._sh/2],tr:[t[0]+this._sw/2,t[1]-this._sh/2],br:[t[0]+this._sw/2,t[1]+this._sh/2],bl:[t[0]-this._sw/2,t[1]+this._sh/2]}},pointToDate:function(o){var i=Math.floor((o[0]-this._rect.x)/this._sw)+1,t=Math.floor((o[1]-this._rect.y)/this._sh)+1,a=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(t,i-1,a):this._getDateByWeeksAndDay(i,t-1,a)},convertToPixel:v.curry(d,"dataToPoint"),convertFromPixel:v.curry(d,"pointToData"),_initRangeOption:function(){var o=this._model.get("range"),i=o;if(v.isArray(i)&&i.length===1&&(i=i[0]),/^\d{4}$/.test(i)&&(o=[i+"-01-01",i+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(i)){var t=this.getDateInfo(i),a=t.date;a.setMonth(a.getMonth()+1);var e=this.getNextNDay(a,-1);o=[t.formatedDate,e.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(i)&&(o=[i,i]);var l=this._getRangeInfo(o);return l.start.time>l.end.time&&o.reverse(),o},_getRangeInfo:function(o){o=[this.getDateInfo(o[0]),this.getDateInfo(o[1])];var i;o[0].time>o[1].time&&(i=!0,o.reverse());var t=Math.floor(o[1].time/g)-Math.floor(o[0].time/g)+1,a=new Date(o[0].time),e=a.getDate(),l=o[1].date.getDate();a.setDate(e+t-1);var r=a.getDate();if(r!==l)for(var s=a.getTime()-o[1].time>0?1:-1;(r=a.getDate())!==l&&(a.getTime()-o[1].time)*s>0;)t-=s,a.setDate(r-s);var u=Math.floor((t+o[0].day+6)/7),h=i?-u+1:u-1;return i&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:t,weeks:u,nthWeek:h,fweek:o[0].day,lweek:o[1].day}},_getDateByWeeksAndDay:function(o,i,t){var a=this._getRangeInfo(t);if(o>a.weeks||o===0&&i<a.fweek||o===a.weeks&&i>a.lweek)return!1;var e=(o-1)*7-a.fweek+i,l=new Date(a.start.time);return l.setDate(a.start.d+e),this.getDateInfo(l)}},f.dimensions=f.prototype.dimensions,f.getDimensionsInfo=f.prototype.getDimensionsInfo,f.create=function(o,i){var t=[];return o.eachComponent("calendar",function(a){var e=new f(a,o,i);t.push(e),a.coordinateSystem=e}),o.eachSeries(function(a){a.get("coordinateSystem")==="calendar"&&(a.coordinateSystem=t[a.get("calendarIndex")||0])}),t};function d(o,i,t,a){var e=t.calendarModel,l=t.seriesModel,r=e?e.coordinateSystem:l?l.coordinateSystem:null;return r===this?r[o](a):null}m.register("calendar",f);var c=f;M.exports=c},"0JQy":function(M,N){var n="\\ud800-\\udfff",v="\\u0300-\\u036f",p="\\ufe20-\\ufe2f",S="\\u20d0-\\u20ff",m=v+p+S,g="\\ufe0e\\ufe0f",f="["+n+"]",d="["+m+"]",c="\\ud83c[\\udffb-\\udfff]",o="(?:"+d+"|"+c+")",i="[^"+n+"]",t="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",e="\\u200d",l=o+"?",r="["+g+"]?",s="(?:"+e+"(?:"+[i,t,a].join("|")+")"+r+l+")*",u=r+l+s,h="(?:"+[i+d+"?",d,t,a,f].join("|")+")",A=RegExp(c+"(?="+c+")|"+h+u,"g");function y(w){return w.match(A)||[]}M.exports=y},"0NbB":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="CaretDownOutlined";var d=N.a=p.forwardRef(f)},"0V0F":function(M,N,n){var v=n("bYtY"),p=v.createHashMap,S=v.each;function m(f){var d=p();f.eachSeries(function(c){var o=c.get("stack");if(o){var i=d.get(o)||d.set(o,[]),t=c.getData(),a={stackResultDimension:t.getCalculationInfo("stackResultDimension"),stackedOverDimension:t.getCalculationInfo("stackedOverDimension"),stackedDimension:t.getCalculationInfo("stackedDimension"),stackedByDimension:t.getCalculationInfo("stackedByDimension"),isStackedByIndex:t.getCalculationInfo("isStackedByIndex"),data:t,seriesModel:c};if(!a.stackedDimension||!(a.isStackedByIndex||a.stackedByDimension))return;i.length&&t.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}}),d.each(g)}function g(f){S(f,function(d,c){var o=[],i=[NaN,NaN],t=[d.stackResultDimension,d.stackedOverDimension],a=d.data,e=d.isStackedByIndex,l=a.map(t,function(r,s,u){var h=a.get(d.stackedDimension,u);if(isNaN(h))return i;var A,y;e?y=a.getRawIndex(u):A=a.get(d.stackedByDimension,u);for(var w=NaN,b=c-1;b>=0;b--){var x=f[b];if(e||(y=x.data.rawIndexOf(x.stackedByDimension,A)),y>=0){var O=x.data.getByRawIndex(x.stackResultDimension,y);if(h>=0&&O>0||h<=0&&O<0){h+=O,w=O;break}}}return o[0]=h,o[1]=w,o});a.hostModel.setData(l),d.data=l})}M.exports=m},"0XgM":function(M,N,n){},"0fbx":function(M,N,n){},"0o9m":function(M,N,n){var v=n("ProS");n("hNWo"),n("RlCK"),n("XpcN");var p=n("kDyi"),S=n("bLfw");v.registerProcessor(v.PRIORITY.PROCESSOR.SERIES_FILTER,p),S.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(M,N,n){var v=n("ProS");v.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),v.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(M,N){var n=arguments[3],v=arguments[4],p=arguments[5],S=JSON.stringify;M.exports=function(m,g){for(var f,d=Object.keys(p),c=0,o=d.length;c<o;c++){var i=d[c],t=p[i].exports;if(t===m||t&&t.default===m){f=i;break}}if(!f){f=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var a={},c=0,o=d.length;c<o;c++){var i=d[c];a[i]=i}v[f]=["function(require,module,exports){"+m+"(self); }",a]}var e=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[f]=f,v[e]=["function(require,module,exports){var f = require("+S(f)+");(f.default ? f.default : f)(self);}",l];var r={};s(e);function s(b){r[b]=!0;for(var x in v[b][1]){var O=v[b][1][x];r[O]||s(O)}}var u="("+n+")({"+Object.keys(r).map(function(b){return S(b)+":["+v[b][0]+","+S(v[b][1])+"]"}).join(",")+"},{},["+S(e)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,A=new Blob([u],{type:"text/javascript"});if(g&&g.bare)return A;var y=h.createObjectURL(A),w=new Worker(y);return w.objectURL=y,w}},"0s+r":function(M,N,n){var v=n("bYtY"),p=n("QBsz"),S=n("y23F"),m=n("H6uX"),g=n("YH21"),f=n("C0SR"),d="silent";function c(s,u,h){return{type:s,event:h,target:u.target,topTarget:u.topTarget,cancelBubble:!1,offsetX:h.zrX,offsetY:h.zrY,gestureEvent:h.gestureEvent,pinchX:h.pinchX,pinchY:h.pinchY,pinchScale:h.pinchScale,wheelDelta:h.zrDelta,zrByTouch:h.zrByTouch,which:h.which,stop:o}}function o(){g.stop(this.event)}function i(){}i.prototype.dispose=function(){};var t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],a=function(u,h,A,y){m.call(this),this.storage=u,this.painter=h,this.painterRoot=y,A=A||new i,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,S.call(this),this.setHandlerProxy(A)};a.prototype={constructor:a,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(v.each(t,function(h){u.on&&u.on(h,this[h],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var h=u.zrX,A=u.zrY,y=l(this,h,A),w=this._hovered,b=w.target;b&&!b.__zr&&(w=this.findHover(w.x,w.y),b=w.target);var x=this._hovered=y?{x:h,y:A}:this.findHover(h,A),O=x.target,T=this.proxy;T.setCursor&&T.setCursor(O?O.cursor:"default"),b&&O!==b&&this.dispatchToElement(w,"mouseout",u),this.dispatchToElement(x,"mousemove",u),O&&O!==b&&this.dispatchToElement(x,"mouseover",u)},mouseout:function(u){var h=u.zrEventControl,A=u.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),h!=="no_globalout"&&(!A&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,h){var A=this[u];A&&A.call(this,h)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(u){var h=this.proxy;h.setCursor&&h.setCursor(u)},dispatchToElement:function(u,h,A){u=u||{};var y=u.target;if(y&&y.silent)return;for(var w="on"+h,b=c(h,u,A);y&&!(y[w]&&(b.cancelBubble=y[w].call(y,b)),y.trigger(h,b),y=y.parent,b.cancelBubble););b.cancelBubble||(this.trigger(h,b),this.painter&&this.painter.eachOtherLayer(function(x){typeof x[w]=="function"&&x[w].call(x,b),x.trigger&&x.trigger(h,b)}))},findHover:function(u,h,A){for(var y=this.storage.getDisplayList(),w={x:u,y:h},b=y.length-1;b>=0;b--){var x;if(y[b]!==A&&!y[b].ignore&&(x=e(y[b],u,h))&&(!w.topTarget&&(w.topTarget=y[b]),x!==d)){w.target=y[b];break}}return w},processGesture:function(u,h){this._gestureMgr||(this._gestureMgr=new f);var A=this._gestureMgr;h==="start"&&A.clear();var y=A.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(h==="end"&&A.clear(),y){var w=y.type;u.gestureEvent=w,this.dispatchToElement({target:y.target},w,y.event)}}},v.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){a.prototype[s]=function(u){var h=u.zrX,A=u.zrY,y=l(this,h,A),w,b;if((s!=="mouseup"||!y)&&(w=this.findHover(h,A),b=w.target),s==="mousedown")this._downEl=b,this._downPoint=[u.zrX,u.zrY],this._upEl=b;else if(s==="mouseup")this._upEl=b;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||p.dist(this._downPoint,[u.zrX,u.zrY])>4)return;this._downPoint=null}this.dispatchToElement(w,s,u)}});function e(s,u,h){if(s[s.rectHover?"rectContain":"contain"](u,h)){for(var A=s,y;A;){if(A.clipPath&&!A.clipPath.contain(u,h))return!1;A.silent&&(y=!0),A=A.parent}return y?d:!0}return!1}function l(s,u,h){var A=s.painter;return u<0||u>A.getWidth()||h<0||h>A.getHeight()}v.mixin(a,m),v.mixin(a,S);var r=a;M.exports=r},"10cm":function(M,N,n){var v=n("ProS"),p=n("2B6p"),S=p.updateCenterAndZoom;n("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};v.registerAction(m,function(g,f){f.eachComponent({mainType:"series",query:g},function(d){var c=d.coordinateSystem,o=S(c,g);d.setCenter&&d.setCenter(o.center),d.setZoom&&d.setZoom(o.zoom)})})},"14J3":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("1GLa")},"15/o":function(M,N,n){},"19Vz":function(M,N,n){(function(v){v(n("VrN/"))})(function(v){v.defineOption("placeholder","",function(c,o,i){var t=i&&i!=v.Init;if(o&&!t)c.on("blur",g),c.on("change",f),c.on("swapDoc",f),v.on(c.getInputField(),"compositionupdate",c.state.placeholderCompose=function(){m(c)}),f(c);else if(!o&&t){c.off("blur",g),c.off("change",f),c.off("swapDoc",f),v.off(c.getInputField(),"compositionupdate",c.state.placeholderCompose),p(c);var a=c.getWrapperElement();a.className=a.className.replace(" CodeMirror-empty","")}o&&!c.hasFocus()&&g(c)});function p(c){c.state.placeholder&&(c.state.placeholder.parentNode.removeChild(c.state.placeholder),c.state.placeholder=null)}function S(c){p(c);var o=c.state.placeholder=document.createElement("pre");o.style.cssText="height: 0; overflow: visible",o.style.direction=c.getOption("direction"),o.className="CodeMirror-placeholder CodeMirror-line-like";var i=c.getOption("placeholder");typeof i=="string"&&(i=document.createTextNode(i)),o.appendChild(i),c.display.lineSpace.insertBefore(o,c.display.lineSpace.firstChild)}function m(c){setTimeout(function(){var o=!1,i=c.getInputField();i.nodeName=="TEXTAREA"?o=!i.value:c.lineCount()==1&&(o=!/[^\u200b]/.test(i.querySelector(".CodeMirror-line").textContent)),o?S(c):p(c)},20)}function g(c){d(c)&&S(c)}function f(c){var o=c.getWrapperElement(),i=d(c);o.className=o.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?S(c):p(c)}function d(c){return c.lineCount()===1&&c.getLine(0)===""}})},"1GLa":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("FIfw"),m=n.n(S)},"1Jh7":function(M,N,n){var v=n("y+Vt"),p=n("T6xi"),S=v.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(g,f){p.buildPath(g,f,!1)}});M.exports=S},"1LEl":function(M,N,n){var v=n("ProS"),p=n("F9bG"),S=v.extendComponentView({type:"axisPointer",render:function(g,f,d){var c=f.getComponent("tooltip"),o=g.get("triggerOn")||c&&c.get("triggerOn")||"mousemove|click";p.register("axisPointer",d,function(i,t,a){o!=="none"&&(i==="leave"||o.indexOf(i)>=0)&&a({type:"updateAxisPointer",currTrigger:i,x:t&&t.offsetX,y:t&&t.offsetY})})},remove:function(g,f){p.unregister(f.getZr(),"axisPointer"),S.superApply(this._model,"remove",arguments)},dispose:function(g,f){p.unregister("axisPointer",f),S.superApply(this._model,"dispose",arguments)}}),m=S;M.exports=m},"1MYJ":function(M,N,n){var v=n("y+Vt"),p=v.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,g=this.shape.paths,f=0;f<g.length;f++)m=m||g[f].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],g=this.getGlobalScale(),f=0;f<m.length;f++)m[f].path||m[f].createPathProxy(),m[f].path.setScale(g[0],g[1],m[f].segmentIgnoreThreshold)},buildPath:function(m,g){for(var f=g.paths||[],d=0;d<f.length;d++)f[d].buildPath(m,f[d].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],g=0;g<m.length;g++)m[g].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),v.prototype.getBoundingRect.call(this)}});M.exports=p},"1NG9":function(M,N,n){var v=n("y+Vt"),p=n("QBsz"),S=n("iXp4"),m=p.min,g=p.max,f=p.scaleAndAdd,d=p.copy,c=[],o=[],i=[];function t(h){return isNaN(h[0])||isNaN(h[1])}function a(h,A,y,w,b,x,O,T,E,C,_){return C==="none"||!C?l.apply(this,arguments):e.apply(this,arguments)}function e(h,A,y,w,b,x,O,T,E,C,_){for(var L=0,P=y,k=0;k<w;k++){var F=A[P];if(P>=b||P<0)break;if(t(F)){if(_){P+=x;continue}break}if(P===y)h[x>0?"moveTo":"lineTo"](F[0],F[1]);else if(E>0){var j=A[L],z=C==="y"?1:0,R=(F[z]-j[z])*E;d(o,j),o[z]=j[z]+R,d(i,F),i[z]=F[z]-R,h.bezierCurveTo(o[0],o[1],i[0],i[1],F[0],F[1])}else h.lineTo(F[0],F[1]);L=P,P+=x}return k}function l(h,A,y,w,b,x,O,T,E,C,_){for(var L=0,P=y,k=0;k<w;k++){var F=A[P];if(P>=b||P<0)break;if(t(F)){if(_){P+=x;continue}break}if(P===y)h[x>0?"moveTo":"lineTo"](F[0],F[1]),d(o,F);else if(E>0){var j=P+x,z=A[j];if(_)for(;z&&t(A[j]);)j+=x,z=A[j];var R=.5,U=A[L],z=A[j];if(!z||t(z))d(i,F);else{t(z)&&!_&&(z=F),p.sub(c,z,U);var B,H;if(C==="x"||C==="y"){var K=C==="x"?0:1;B=Math.abs(F[K]-U[K]),H=Math.abs(F[K]-z[K])}else B=p.dist(F,U),H=p.dist(F,z);R=H/(H+B),f(i,F,c,-E*(1-R))}m(o,o,T),g(o,o,O),m(i,i,T),g(i,i,O),h.bezierCurveTo(o[0],o[1],i[0],i[1],F[0],F[1]),f(o,F,c,E*R)}else h.lineTo(F[0],F[1]);L=P,P+=x}return k}function r(h,A){var y=[Infinity,Infinity],w=[-Infinity,-Infinity];if(A)for(var b=0;b<h.length;b++){var x=h[b];x[0]<y[0]&&(y[0]=x[0]),x[1]<y[1]&&(y[1]=x[1]),x[0]>w[0]&&(w[0]=x[0]),x[1]>w[1]&&(w[1]=x[1])}return{min:A?y:w,max:A?w:y}}var s=v.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:S(v.prototype.brush),buildPath:function(h,A){var y=A.points,w=0,b=y.length,x=r(y,A.smoothConstraint);if(A.connectNulls){for(;b>0&&t(y[b-1]);b--);for(;w<b&&t(y[w]);w++);}for(;w<b;)w+=a(h,y,w,b,b,1,x.min,x.max,A.smooth,A.smoothMonotone,A.connectNulls)+1}}),u=v.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:S(v.prototype.brush),buildPath:function(h,A){var y=A.points,w=A.stackedOnPoints,b=0,x=y.length,O=A.smoothMonotone,T=r(y,A.smoothConstraint),E=r(w,A.smoothConstraint);if(A.connectNulls){for(;x>0&&t(y[x-1]);x--);for(;b<x&&t(y[b]);b++);}for(;b<x;){var C=a(h,y,b,x,x,1,T.min,T.max,A.smooth,O,A.connectNulls);a(h,w,b+C-1,C,x,-1,E.min,E.max,A.stackedOnSmooth,O,A.connectNulls),b+=C+1,h.closePath()}}});N.Polyline=s,N.Polygon=u},"1RvN":function(M,N){var n=function(){this.head=null,this.tail=null,this._len=0},v=n.prototype;v.insert=function(f){var d=new p(f);return this.insertEntry(d),d},v.insertEntry=function(f){this.head?(this.tail.next=f,f.prev=this.tail,f.next=null,this.tail=f):this.head=this.tail=f,this._len++},v.remove=function(f){var d=f.prev,c=f.next;d?d.next=c:this.head=c,c?c.prev=d:this.tail=d,f.next=f.prev=null,this._len--},v.len=function(){return this._len},v.clear=function(){this.head=this.tail=null,this._len=0};var p=function(d){this.value=d,this.next,this.prev},S=function(d){this._list=new n,this._map={},this._maxSize=d||10,this._lastRemovedEntry=null},m=S.prototype;m.put=function(f,d){var c=this._list,o=this._map,i=null;if(o[f]==null){var t=c.len(),a=this._lastRemovedEntry;if(t>=this._maxSize&&t>0){var e=c.head;c.remove(e),delete o[e.key],i=e.value,this._lastRemovedEntry=e}a?a.value=d:a=new p(d),a.key=f,c.insertEntry(a),o[f]=a}return i},m.get=function(f){var d=this._map[f],c=this._list;if(d!=null)return d!==c.tail&&(c.remove(d),c.insertEntry(d)),d.value},m.clear=function(){this._list.clear(),this._map={}};var g=S;M.exports=g},"1YHl":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("15/o"),m=n.n(S)},"1bdT":function(M,N,n){var v=n("3gBT"),p=n("H6uX"),S=n("DN4a"),m=n("vWvF"),g=n("bYtY"),f=function(o){S.call(this,o),p.call(this,o),m.call(this,o),this.id=o.id||v()};f.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(o,i){switch(this.draggable){case"horizontal":i=0;break;case"vertical":o=0;break}var t=this.transform;t||(t=this.transform=[1,0,0,1,0,0]),t[4]+=o,t[5]+=i,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(o,i){},attrKV:function(o,i){if(o==="position"||o==="scale"||o==="origin"){if(i){var t=this[o];t||(t=this[o]=[]),t[0]=i[0],t[1]=i[1]}}else this[o]=i},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(o,i){if(typeof o=="string")this.attrKV(o,i);else if(g.isObject(o))for(var t in o)o.hasOwnProperty(t)&&this.attrKV(t,o[t]);return this.dirty(!1),this},setClipPath:function(o){var i=this.__zr;i&&o.addSelfToZr(i),this.clipPath&&this.clipPath!==o&&this.removeClipPath(),this.clipPath=o,o.__zr=i,o.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var o=this.clipPath;o&&(o.__zr&&o.removeSelfFromZr(o.__zr),o.__zr=null,o.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(o){this.__zr=o;var i=this.animators;if(i)for(var t=0;t<i.length;t++)o.animation.addAnimator(i[t]);this.clipPath&&this.clipPath.addSelfToZr(o)},removeSelfFromZr:function(o){this.__zr=null;var i=this.animators;if(i)for(var t=0;t<i.length;t++)o.animation.removeAnimator(i[t]);this.clipPath&&this.clipPath.removeSelfFromZr(o)}},g.mixin(f,m),g.mixin(f,S),g.mixin(f,p);var d=f;M.exports=d},"1dTM":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=n("GQ8N"),p=C(n("Lo0S")),S=n("VSMT"),m=n("GdRQ"),g=n("SZEN"),f=n("vewr"),d=T(n("YJ9k")),c=T(n("MZdM")),o=T(n("ItS6")),i=T(n("whVF")),t=T(n("Fv0C")),a=T(n("LCi9")),e=T(n("rwxt")),l=T(n("Mmt2")),r=T(n("iUHT")),s=T(n("mHUz")),u=T(n("P2ho")),h=n("NBmB");n("mdZa");var A=T(n("34/K")),y=T(n("hXwI")),w=T(n("SgaC")),b=T(n("3690")),x=T(n("8K/p")),O=T(n("xO64"));function T(be){return be&&be.__esModule?be:{default:be}}function E(){if(typeof WeakMap!="function")return null;var be=new WeakMap;return E=function(){return be},be}function C(be){if(be&&be.__esModule)return be;if(be===null||_(be)!=="object"&&typeof be!="function")return{default:be};var Te=E();if(Te&&Te.has(be))return Te.get(be);var Be={},De=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ae in be)if(Object.prototype.hasOwnProperty.call(be,ae)){var fe=De?Object.getOwnPropertyDescriptor(be,ae):null;fe&&(fe.get||fe.set)?Object.defineProperty(Be,ae,fe):Be[ae]=be[ae]}return Be.default=be,Te&&Te.set(be,Be),Be}function _(be){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(Be){return typeof Be}:_=function(Be){return Be&&typeof Symbol=="function"&&Be.constructor===Symbol&&Be!==Symbol.prototype?"symbol":typeof Be},_(be)}function L(be,Te){if(!(be instanceof Te))throw new TypeError("Cannot call a class as a function")}function P(be,Te){for(var Be=0;Be<Te.length;Be++){var De=Te[Be];De.enumerable=De.enumerable||!1,De.configurable=!0,"value"in De&&(De.writable=!0),Object.defineProperty(be,De.key,De)}}function k(be,Te,Be){return Te&&P(be.prototype,Te),Be&&P(be,Be),be}function F(be,Te){if(typeof Te!="function"&&Te!==null)throw new TypeError("Super expression must either be null or a function");be.prototype=Object.create(Te&&Te.prototype,{constructor:{value:be,writable:!0,configurable:!0}}),Te&&j(be,Te)}function j(be,Te){return j=Object.setPrototypeOf||function(De,ae){return De.__proto__=ae,De},j(be,Te)}function z(be){var Te=B();return function(){var De=H(be),ae;if(Te){var fe=H(this).constructor;ae=Reflect.construct(De,arguments,fe)}else ae=De.apply(this,arguments);return R(this,ae)}}function R(be,Te){return Te&&(_(Te)==="object"||typeof Te=="function")?Te:U(be)}function U(be){if(be===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be}function B(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(be){return!1}}function H(be){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(Be){return Be.__proto__||Object.getPrototypeOf(Be)},H(be)}var K=3,V="rgb(40, 40, 40)",W=17,G=50,re=19,ye=75,$=50,ve=1e3,Ce=50,Se=1,Ke=1<<1,ue=1<<2,Le=1<<3,ee=1<<4,le=1<<24,et=1<<25,Re=1<<26,Ae=1<<27,oe=1<<28,ce=function(be){F(Be,be);var Te=z(Be);function Be(De,ae,fe){var Oe;if(L(this,Be),!De)throw new Error("Must specify target");if(!ae)throw new Error("Must specify URL");Oe=Te.call(this),Oe._target=De,Oe._url=ae,fe=fe||{},Oe._rfbCredentials=fe.credentials||{},Oe._shared="shared"in fe?!!fe.shared:!0,Oe._repeaterID=fe.repeaterID||"",Oe._wsProtocols=fe.wsProtocols||[],Oe._rfbConnectionState="",Oe._rfbInitState="",Oe._rfbAuthScheme=-1,Oe._rfbCleanDisconnect=!0,Oe._rfbVersion=0,Oe._rfbMaxVersion=3.8,Oe._rfbTightVNC=!1,Oe._rfbVeNCryptState=0,Oe._rfbXvpVer=0,Oe._fbWidth=0,Oe._fbHeight=0,Oe._fbName="",Oe._capabilities={power:!1},Oe._supportsFence=!1,Oe._supportsContinuousUpdates=!1,Oe._enabledContinuousUpdates=!1,Oe._supportsSetDesktopSize=!1,Oe._screenID=0,Oe._screenFlags=0,Oe._qemuExtKeyEventSupported=!1,Oe._clipboardText=null,Oe._clipboardServerCapabilitiesActions={},Oe._clipboardServerCapabilitiesFormats={},Oe._sock=null,Oe._display=null,Oe._flushing=!1,Oe._keyboard=null,Oe._gestures=null,Oe._disconnTimer=null,Oe._resizeTimeout=null,Oe._mouseMoveTimer=null,Oe._decoders={},Oe._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},Oe._mousePos={},Oe._mouseButtonMask=0,Oe._mouseLastMoveTime=0,Oe._viewportDragging=!1,Oe._viewportDragPos={},Oe._viewportHasMoved=!1,Oe._accumulatedWheelDeltaX=0,Oe._accumulatedWheelDeltaY=0,Oe._gestureLastTapTime=null,Oe._gestureFirstDoubleTapEv=null,Oe._gestureLastMagnitudeX=0,Oe._gestureLastMagnitudeY=0,Oe._eventHandlers={focusCanvas:Oe._focusCanvas.bind(U(Oe)),windowResize:Oe._windowResize.bind(U(Oe)),handleMouse:Oe._handleMouse.bind(U(Oe)),handleWheel:Oe._handleWheel.bind(U(Oe)),handleGesture:Oe._handleGesture.bind(U(Oe))},p.Debug(">> RFB.constructor"),Oe._screen=document.createElement("div"),Oe._screen.style.display="flex",Oe._screen.style.width="100%",Oe._screen.style.height="100%",Oe._screen.style.overflow="auto",Oe._screen.style.background=V,Oe._canvas=document.createElement("canvas"),Oe._canvas.style.margin="auto",Oe._canvas.style.outline="none",Oe._canvas.style.flexShrink="0",Oe._canvas.width=0,Oe._canvas.height=0,Oe._canvas.tabIndex=-1,Oe._screen.appendChild(Oe._canvas),Oe._cursor=new e.default,Oe._cursorImage=Be.cursors.none,Oe._decoders[h.encodings.encodingRaw]=new A.default,Oe._decoders[h.encodings.encodingCopyRect]=new y.default,Oe._decoders[h.encodings.encodingRRE]=new w.default,Oe._decoders[h.encodings.encodingHextile]=new b.default,Oe._decoders[h.encodings.encodingTight]=new x.default,Oe._decoders[h.encodings.encodingTightPNG]=new O.default;try{Oe._display=new c.default(Oe._canvas)}catch(Je){throw p.Error("Display exception: "+Je),Je}return Oe._display.onflush=Oe._onFlush.bind(U(Oe)),Oe._keyboard=new t.default(Oe._canvas),Oe._keyboard.onkeyevent=Oe._handleKeyEvent.bind(U(Oe)),Oe._gestures=new a.default,Oe._sock=new l.default,Oe._sock.on("message",function(){Oe._handleMessage()}),Oe._sock.on("open",function(){Oe._rfbConnectionState==="connecting"&&Oe._rfbInitState===""?(Oe._rfbInitState="ProtocolVersion",p.Debug("Starting VNC handshake")):Oe._fail("Unexpected server connection while "+Oe._rfbConnectionState)}),Oe._sock.on("close",function(Je){p.Debug("WebSocket on-close event");var Et="";Je.code&&(Et="(code: "+Je.code,Je.reason&&(Et+=", reason: "+Je.reason),Et+=")");switch(Oe._rfbConnectionState){case"connecting":Oe._fail("Connection closed "+Et);break;case"connected":Oe._updateConnectionState("disconnecting"),Oe._updateConnectionState("disconnected");break;case"disconnecting":Oe._updateConnectionState("disconnected");break;case"disconnected":Oe._fail("Unexpected server disconnect when already disconnected "+Et);break;default:Oe._fail("Unexpected server disconnect before connecting "+Et);break}Oe._sock.off("close")}),Oe._sock.on("error",function(Je){return p.Warn("WebSocket on-error event")}),setTimeout(Oe._updateConnectionState.bind(U(Oe),"connecting")),p.Debug("<< RFB.constructor"),Oe.dragViewport=!1,Oe.focusOnClick=!0,Oe._viewOnly=!1,Oe._clipViewport=!1,Oe._scaleViewport=!1,Oe._resizeSession=!1,Oe._showDotCursor=!1,fe.showDotCursor!==void 0&&(p.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Oe._showDotCursor=fe.showDotCursor),Oe._qualityLevel=6,Oe._compressionLevel=2,Oe}return k(Be,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(ae){this._rfbCredentials=ae,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;p.Info("Sending Ctrl-Alt-Del"),this.sendKey(s.default.XK_Control_L,"ControlLeft",!0),this.sendKey(s.default.XK_Alt_L,"AltLeft",!0),this.sendKey(s.default.XK_Delete,"Delete",!0),this.sendKey(s.default.XK_Delete,"Delete",!1),this.sendKey(s.default.XK_Alt_L,"AltLeft",!1),this.sendKey(s.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(ae,fe,Oe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Oe===void 0){this.sendKey(ae,fe,!0),this.sendKey(ae,fe,!1);return}var Je=u.default[fe];if(this._qemuExtKeyEventSupported&&Je)ae=ae||0,p.Info("Sending key ("+(Oe?"down":"up")+"): keysym "+ae+", scancode "+Je),Be.messages.QEMUExtendedKeyEvent(this._sock,ae,Oe,Je);else{if(!ae)return;p.Info("Sending keysym ("+(Oe?"down":"up")+"): "+ae),Be.messages.keyEvent(this._sock,ae,Oe?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(ae){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Se]&&this._clipboardServerCapabilitiesActions[Ae])this._clipboardText=ae,Be.messages.extendedClipboardNotify(this._sock,[Se]);else{for(var fe=new Uint8Array(ae.length),Oe=0;Oe<ae.length;Oe++)fe[Oe]=ae.charCodeAt(Oe);Be.messages.clientCutText(this._sock,fe)}}},{key:"_connect",value:function(){p.Debug(">> RFB.connect"),p.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(ae){ae.name==="SyntaxError"?this._fail("Invalid host or port ("+ae+")"):this._fail("Error when opening socket ("+ae+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),p.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){p.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(ae){if(!(ae.name==="NotFoundError"))throw ae}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),p.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(ae){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(ae){this._fbName=ae,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(ae){var fe=this;window.requestAnimationFrame(function(){fe._updateClip(),fe._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var ae=this._display.clipViewport,fe=this._clipViewport;if(this._scaleViewport&&(fe=!1),ae!==fe&&(this._display.clipViewport=fe),fe){var Oe=this._screenSize();this._display.viewportChangeSize(Oe.w,Oe.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var ae=this._screenSize();this._display.autoscale(ae.w,ae.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var ae=this._screenSize();Be.messages.setDesktopSize(this._sock,Math.floor(ae.w),Math.floor(ae.h),this._screenID,this._screenFlags),p.Debug("Requested new desktop size: "+ae.w+"x"+ae.h)}},{key:"_screenSize",value:function(){var ae=this._screen.getBoundingClientRect();return{w:ae.width,h:ae.height}}},{key:"_fixScrollbars",value:function(){var ae=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=ae}},{key:"_updateConnectionState",value:function(ae){var fe=this,Oe=this._rfbConnectionState;if(ae===Oe){p.Debug("Already in state '"+ae+"', ignoring");return}if(Oe==="disconnected"){p.Error("Tried changing state of a disconnected RFB object");return}switch(ae){case"connected":if(Oe!=="connecting"){p.Error("Bad transition to connected state, previous connection state: "+Oe);return}break;case"disconnected":if(Oe!=="disconnecting"){p.Error("Bad transition to disconnected state, previous connection state: "+Oe);return}break;case"connecting":if(Oe!==""){p.Error("Bad transition to connecting state, previous connection state: "+Oe);return}break;case"disconnecting":if(Oe!=="connected"&&Oe!=="connecting"){p.Error("Bad transition to disconnecting state, previous connection state: "+Oe);return}break;default:p.Error("Unknown connection state: "+ae);return}this._rfbConnectionState=ae,p.Debug("New state '"+ae+"', was '"+Oe+"'."),this._disconnTimer&&ae!=="disconnecting"&&(p.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(ae){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){p.Error("Disconnection timed out."),fe._updateConnectionState("disconnected")},K*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(ae){switch(this._rfbConnectionState){case"disconnecting":p.Error("Failed when disconnecting: "+ae);break;case"connected":p.Error("Failed while connected: "+ae);break;case"connecting":p.Error("Failed when connecting: "+ae);break;default:p.Error("RFB failure: "+ae);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(ae,fe){this._capabilities[ae]=fe,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){p.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":p.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(ae,fe,Oe){this.sendKey(ae,fe,Oe)}},{key:"_handleMouse",value:function(ae){if(ae.type==="click"&&ae.target!==this._canvas)return;if(ae.stopPropagation(),ae.preventDefault(),ae.type==="click"||ae.type==="contextmenu")return;var fe=(0,g.clientToElement)(ae.clientX,ae.clientY,this._canvas);switch(ae.type){case"mousedown":(0,f.setCapture)(this._canvas),this._handleMouseButton(fe.x,fe.y,!0,1<<ae.button);break;case"mouseup":this._handleMouseButton(fe.x,fe.y,!1,1<<ae.button);break;case"mousemove":this._handleMouseMove(fe.x,fe.y);break}}},{key:"_handleMouseButton",value:function(ae,fe,Oe,Je){if(this.dragViewport)if(Oe&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:ae,y:fe},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(ae,fe,Je)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(ae,fe,this._mouseButtonMask)),Oe?this._mouseButtonMask|=Je:this._mouseButtonMask&=~Je,this._sendMouse(ae,fe,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(ae,fe){var Oe=this;if(this._viewportDragging){var Je=this._viewportDragPos.x-ae,Et=this._viewportDragPos.y-fe;(this._viewportHasMoved||Math.abs(Je)>m.dragThreshold||Math.abs(Et)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:ae,y:fe},this._display.viewportChangePos(Je,Et));return}if(this._mousePos={x:ae,y:fe},this._mouseMoveTimer==null){var Ze=Date.now()-this._mouseLastMoveTime;Ze>W?(this._sendMouse(ae,fe,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Oe._handleDelayedMouseMove()},W-Ze)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(ae,fe,Oe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Be.messages.pointerEvent(this._sock,this._display.absX(ae),this._display.absY(fe),Oe)}},{key:"_handleWheel",value:function(ae){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ae.stopPropagation(),ae.preventDefault();var fe=(0,g.clientToElement)(ae.clientX,ae.clientY,this._canvas),Oe=ae.deltaX,Je=ae.deltaY;ae.deltaMode!==0&&(Oe*=re,Je*=re),this._accumulatedWheelDeltaX+=Oe,this._accumulatedWheelDeltaY+=Je,Math.abs(this._accumulatedWheelDeltaX)>=G&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(fe.x,fe.y,!0,1<<5),this._handleMouseButton(fe.x,fe.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(fe.x,fe.y,!0,1<<6),this._handleMouseButton(fe.x,fe.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=G&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(fe.x,fe.y,!0,1<<3),this._handleMouseButton(fe.x,fe.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(fe.x,fe.y,!0,1<<4),this._handleMouseButton(fe.x,fe.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(ae,fe,Oe){this._handleMouseMove(fe,Oe),this._cursor.move(ae.detail.clientX,ae.detail.clientY)}},{key:"_handleTapEvent",value:function(ae,fe){var Oe=(0,g.clientToElement)(ae.detail.clientX,ae.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<ve&&this._gestureFirstDoubleTapEv.detail.type===ae.detail.type){var Je=this._gestureFirstDoubleTapEv.detail.clientX-ae.detail.clientX,Et=this._gestureFirstDoubleTapEv.detail.clientY-ae.detail.clientY,Ze=Math.hypot(Je,Et);Ze<Ce?Oe=(0,g.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=ae}else this._gestureFirstDoubleTapEv=ae;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!0,fe),this._handleMouseButton(Oe.x,Oe.y,!1,fe)}},{key:"_handleGesture",value:function(ae){var fe,Oe=(0,g.clientToElement)(ae.detail.clientX,ae.detail.clientY,this._canvas);switch(ae.type){case"gesturestart":switch(ae.detail.type){case"onetap":this._handleTapEvent(ae,1);break;case"twotap":this._handleTapEvent(ae,4);break;case"threetap":this._handleTapEvent(ae,2);break;case"drag":this._fakeMouseMove(ae,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!0,1);break;case"longpress":this._fakeMouseMove(ae,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=ae.detail.magnitudeX,this._gestureLastMagnitudeY=ae.detail.magnitudeY,this._fakeMouseMove(ae,Oe.x,Oe.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(ae.detail.magnitudeX,ae.detail.magnitudeY),this._fakeMouseMove(ae,Oe.x,Oe.y);break}break;case"gesturemove":switch(ae.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(ae,Oe.x,Oe.y);break;case"twodrag":for(this._fakeMouseMove(ae,Oe.x,Oe.y);ae.detail.magnitudeY-this._gestureLastMagnitudeY>$;)this._handleMouseButton(Oe.x,Oe.y,!0,8),this._handleMouseButton(Oe.x,Oe.y,!1,8),this._gestureLastMagnitudeY+=$;for(;ae.detail.magnitudeY-this._gestureLastMagnitudeY<-$;)this._handleMouseButton(Oe.x,Oe.y,!0,16),this._handleMouseButton(Oe.x,Oe.y,!1,16),this._gestureLastMagnitudeY-=$;for(;ae.detail.magnitudeX-this._gestureLastMagnitudeX>$;)this._handleMouseButton(Oe.x,Oe.y,!0,32),this._handleMouseButton(Oe.x,Oe.y,!1,32),this._gestureLastMagnitudeX+=$;for(;ae.detail.magnitudeX-this._gestureLastMagnitudeX<-$;)this._handleMouseButton(Oe.x,Oe.y,!0,64),this._handleMouseButton(Oe.x,Oe.y,!1,64),this._gestureLastMagnitudeX-=$;break;case"pinch":if(this._fakeMouseMove(ae,Oe.x,Oe.y),fe=Math.hypot(ae.detail.magnitudeX,ae.detail.magnitudeY),Math.abs(fe-this._gestureLastMagnitudeX)>ye){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);fe-this._gestureLastMagnitudeX>ye;)this._handleMouseButton(Oe.x,Oe.y,!0,8),this._handleMouseButton(Oe.x,Oe.y,!1,8),this._gestureLastMagnitudeX+=ye;for(;fe-this._gestureLastMagnitudeX<-ye;)this._handleMouseButton(Oe.x,Oe.y,!0,16),this._handleMouseButton(Oe.x,Oe.y,!1,16),this._gestureLastMagnitudeX-=ye}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(ae.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(ae,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!1,1);break;case"longpress":this._fakeMouseMove(ae,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var ae=this._sock.rQshiftStr(12).substr(4,7);p.Info("Server ProtocolVersion: "+ae);var fe=0;switch(ae){case"000.000":fe=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+ae)}if(fe){for(var Oe="ID:"+this._repeaterID;Oe.length<250;)Oe+="\0";return this._sock.sendString(Oe),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Je="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Je+`
`),p.Debug("Sent ProtocolVersion: "+Je),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function ae(Je,Et){for(var Ze=0;Ze<Et.length;Ze++)if(Et[Ze]===Je)return!0;return!1}if(this._rfbVersion>=3.7){var fe=this._sock.rQshift8();if(this._sock.rQwait("security type",fe,1))return!1;if(fe===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Oe=this._sock.rQshiftBytes(fe);if(p.Debug("Server security types: "+Oe),ae(1,Oe))this._rfbAuthScheme=1;else if(ae(22,Oe))this._rfbAuthScheme=22;else if(ae(16,Oe))this._rfbAuthScheme=16;else if(ae(2,Oe))this._rfbAuthScheme=2;else if(ae(19,Oe))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Oe+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",p.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var ae=this._sock.rQshift32(),fe="";if(ae>0){if(this._sock.rQwait("reason",ae,4))return!1;fe=this._sock.rQshiftStr(ae)}return fe!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:fe}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+fe+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var ae=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(ae),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var ae=this._sock.rQshift8(),fe=this._sock.rQshift8();if(!(ae==0&&fe==2))return this._fail("Unsupported VeNCrypt version "+ae+"."+fe);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Oe=this._sock.rQshift8();if(Oe!=0)return this._fail("VeNCrypt failure "+Oe);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Je=this._sock.rQshift8();if(Je<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Je,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var Et=[],Ze=0;Ze<this._rfbVeNCryptSubtypesLength;Ze++)Et.push(this._sock.rQshift32());if(Et.indexOf(256)!=-1)this._sock.send([0,0,1,0]),this._rfbVeNCryptState=4;else return this._fail("VeNCrypt Plain subtype not offered by server")}if(this._rfbVeNCryptState==4){if(!this._rfbCredentials.username||!this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;var Ne=(0,S.encodeUTF8)(this._rfbCredentials.username),It=(0,S.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Ne.length]),this._sock.send([0,0,0,It.length]),this._sock.sendString(Ne),this._sock.sendString(It),this._rfbInitState="SecurityResult",!0}}},{key:"_negotiateStdVNCAuth",value:function(){if(this._sock.rQwait("auth challenge",16))return!1;if(this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;var ae=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),fe=Be.genDES(this._rfbCredentials.password,ae);return this._sock.send(fe),this._rfbInitState="SecurityResult",!0}},{key:"_negotiateTightUnixAuth",value:function(){return this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0?(this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1):(this._sock.send([0,0,0,this._rfbCredentials.username.length]),this._sock.send([0,0,0,this._rfbCredentials.password.length]),this._sock.sendString(this._rfbCredentials.username),this._sock.sendString(this._rfbCredentials.password),this._rfbInitState="SecurityResult",!0)}},{key:"_negotiateTightTunnels",value:function(ae){for(var fe={0:{vendor:"TGHT",signature:"NOTUNNEL"}},Oe={},Je=0;Je<ae;Je++){var Et=this._sock.rQshift32(),Ze=this._sock.rQshiftStr(4),Ne=this._sock.rQshiftStr(8);Oe[Et]={vendor:Ze,signature:Ne}}return p.Debug("Server Tight tunnel types: "+Oe),Oe[1]&&Oe[1].vendor==="SICR"&&Oe[1].signature==="SCHANNEL"&&(p.Debug("Detected Siemens server. Assuming NOTUNNEL support."),Oe[0]={vendor:"TGHT",signature:"NOTUNNEL"}),Oe[0]?Oe[0].vendor!=fe[0].vendor||Oe[0].signature!=fe[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(p.Debug("Selected tunnel type: "+fe[0]),this._sock.send([0,0,0,0]),!1):this._fail("Server wanted tunnels, but doesn't support the notunnel type")}},{key:"_negotiateTightAuth",value:function(){if(!this._rfbTightVNC){if(this._sock.rQwait("num tunnels",4))return!1;var ae=this._sock.rQshift32();if(ae>0&&this._sock.rQwait("tunnel capabilities",16*ae,4))return!1;if(this._rfbTightVNC=!0,ae>0)return this._negotiateTightTunnels(ae),!1}if(this._sock.rQwait("sub auth count",4))return!1;var fe=this._sock.rQshift32();if(fe===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*fe,4))return!1;for(var Oe={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Je=[],Et=0;Et<fe;Et++){this._sock.rQshift32();var Ze=this._sock.rQshiftStr(12);Je.push(Ze)}p.Debug("Server Tight authentication types: "+Je);for(var Ne in Oe)if(Je.indexOf(Ne)!=-1){this._sock.send([0,0,0,Oe[Ne]]),p.Debug("Selected authentication type: "+Ne);switch(Ne){case"STDVNOAUTH__":return this._rfbInitState="SecurityResult",!0;case"STDVVNCAUTH_":return this._rfbAuthScheme=2,this._initMsg();case"TGHTULGNAUTH":return this._rfbAuthScheme=129,this._initMsg();default:return this._fail("Unsupported tiny auth scheme (scheme: "+Ne+")")}}return this._fail("No supported sub-auth types!")}},{key:"_negotiateAuthentication",value:function(){switch(this._rfbAuthScheme){case 1:return this._rfbVersion>=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var ae=this._sock.rQshift32();return ae===0?(this._rfbInitState="ClientInitialisation",p.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=ae,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:ae}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var ae=this._sock.rQshift16(),fe=this._sock.rQshift16(),Oe=this._sock.rQshift8(),Je=this._sock.rQshift8(),Et=this._sock.rQshift8(),Ze=this._sock.rQshift8(),Ne=this._sock.rQshift16(),It=this._sock.rQshift16(),Xe=this._sock.rQshift16(),Ot=this._sock.rQshift8(),Bt=this._sock.rQshift8(),kt=this._sock.rQshift8();this._sock.rQskipBytes(3);var _t=this._sock.rQshift32();if(this._sock.rQwait("server init name",_t,24))return!1;var Ft=this._sock.rQshiftStr(_t);if(Ft=(0,S.decodeUTF8)(Ft,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+_t))return!1;var ke=this._sock.rQshift16(),te=this._sock.rQshift16(),Q=this._sock.rQshift16();this._sock.rQskipBytes(2);var qe=(ke+te+Q)*16;if(this._sock.rQwait("TightVNC extended server init header",qe,32+_t))return!1;this._sock.rQskipBytes(16*ke),this._sock.rQskipBytes(16*te),this._sock.rQskipBytes(16*Q)}return p.Info("Screen: "+ae+"x"+fe+", bpp: "+Oe+", depth: "+Je+", bigEndian: "+Et+", trueColor: "+Ze+", redMax: "+Ne+", greenMax: "+It+", blueMax: "+Xe+", redShift: "+Ot+", greenShift: "+Bt+", blueShift: "+kt),this._setDesktopName(Ft),this._resize(ae,fe),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(p.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Be.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Be.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var ae=[];ae.push(h.encodings.encodingCopyRect),this._fbDepth==24&&(ae.push(h.encodings.encodingTight),ae.push(h.encodings.encodingTightPNG),ae.push(h.encodings.encodingHextile),ae.push(h.encodings.encodingRRE)),ae.push(h.encodings.encodingRaw),ae.push(h.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),ae.push(h.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),ae.push(h.encodings.pseudoEncodingDesktopSize),ae.push(h.encodings.pseudoEncodingLastRect),ae.push(h.encodings.pseudoEncodingQEMUExtendedKeyEvent),ae.push(h.encodings.pseudoEncodingExtendedDesktopSize),ae.push(h.encodings.pseudoEncodingXvp),ae.push(h.encodings.pseudoEncodingFence),ae.push(h.encodings.pseudoEncodingContinuousUpdates),ae.push(h.encodings.pseudoEncodingDesktopName),ae.push(h.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(ae.push(h.encodings.pseudoEncodingVMwareCursor),ae.push(h.encodings.pseudoEncodingCursor)),Be.messages.clientEncodings(this._sock,ae)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return p.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(p.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var ae=this._sock.rQshift32();if(ae=(0,v.toSigned32bit)(ae),this._sock.rQwait("ServerCutText content",Math.abs(ae),8))return!1;if(ae>=0){var fe=this._sock.rQshiftStr(ae);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:fe}}))}else{ae=Math.abs(ae);var Oe=this._sock.rQshift32(),Je=Oe&65535,Et=Oe&4278190080,Ze=!!(Et&le);if(Ze){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Ne=0;Ne<=15;Ne++){var It=1<<Ne;Je&It&&(this._clipboardServerCapabilitiesFormats[It]=!0,this._sock.rQshift32())}for(var Xe=24;Xe<=31;Xe++){var Ot=1<<Xe;this._clipboardServerCapabilitiesActions[Ot]=!!(Et&Ot)}var Bt=[le,et,Re,Ae,oe];Be.messages.extendedClipboardCaps(this._sock,Bt,{extendedClipboardFormatText:0})}else if(Et===et){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[oe]&&(Je&Se&&Be.messages.extendedClipboardProvide(this._sock,[Se],[this._clipboardText]))}else if(Et===Re){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Ae]&&(this._clipboardText!=null?Be.messages.extendedClipboardNotify(this._sock,[Se]):Be.messages.extendedClipboardNotify(this._sock,[]))}else if(Et===Ae){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[et]&&(Je&Se&&Be.messages.extendedClipboardRequest(this._sock,[Se]))}else if(Et===oe){if(this._viewOnly)return!0;if(!(Je&Se))return!0;this._clipboardText=null;var kt=this._sock.rQshiftBytes(ae-4),_t=new o.default,Ft=null;_t.setInput(kt);for(var ke=0;ke<=15;ke++){var te=1<<ke;if(Je&te){var Q=0,qe=_t.inflate(4);Q|=qe[0]<<24,Q|=qe[1]<<16,Q|=qe[2]<<8,Q|=qe[3];var je=_t.inflate(Q);te===Se&&(Ft=je)}}if(_t.setInput(null),Ft!==null){for(var q="",wt=0;wt<Ft.length;wt++)q+=String.fromCharCode(Ft[wt]);Ft=q,Ft=(0,S.decodeUTF8)(Ft),Ft.length>0&&Ft.charAt(Ft.length-1)==="\0"&&(Ft=Ft.slice(0,-1)),Ft=Ft.replace(`\r
`,`
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Ft}}))}}else return this._fail("Unexpected action in extended clipboard message: "+Et)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var ae=this._sock.rQshift32(),fe=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",fe,9))return!1;fe>64&&(p.Warn("Bad payload length ("+fe+") in fence response"),fe=64);var Oe=this._sock.rQshiftStr(fe);return this._supportsFence=!0,ae&1<<31?(ae&=1<<0|1<<1,Be.messages.clientFence(this._sock,ae,Oe),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var ae=this._sock.rQshift8(),fe=this._sock.rQshift8();switch(fe){case 0:p.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=ae,p.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+fe+")");break}return!0}},{key:"_normalMsg",value:function(){var ae;this._FBU.rects>0?ae=0:ae=this._sock.rQshift8();var fe,Oe;switch(ae){case 0:return Oe=this._framebufferUpdate(),Oe&&!this._enabledContinuousUpdates&&Be.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Oe;case 1:return this._handleSetColourMapMsg();case 2:return p.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return fe=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,fe&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),p.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+ae+")"),p.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var ae=this._sock.rQshiftBytes(12);this._FBU.x=(ae[0]<<8)+ae[1],this._FBU.y=(ae[2]<<8)+ae[3],this._FBU.width=(ae[4]<<8)+ae[5],this._FBU.height=(ae[6]<<8)+ae[7],this._FBU.encoding=parseInt((ae[8]<<24)+(ae[9]<<16)+(ae[10]<<8)+ae[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case h.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case h.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case h.encodings.pseudoEncodingCursor:return this._handleCursor();case h.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var ae=document.createEvent("keyboardEvent");ae.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(fe){}return!0;case h.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case h.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case h.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var ae=this._FBU.x,fe=this._FBU.y,Oe=this._FBU.width,Je=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var Et=this._sock.rQshift8();this._sock.rQshift8();var Ze,Ne=4;if(Et==0){var It=4294967040|0;if(Ze=new Array(Oe*Je*Ne),this._sock.rQwait("VMware cursor classic encoding",Oe*Je*Ne*2,2))return!1;for(var Xe=new Array(Oe*Je),Ot=0;Ot<Oe*Je;Ot++)Xe[Ot]=this._sock.rQshift32();for(var Bt=new Array(Oe*Je),kt=0;kt<Oe*Je;kt++)Bt[kt]=this._sock.rQshift32();for(var _t=0;_t<Oe*Je;_t++)if(Xe[_t]==0){var Ft=Bt[_t],ke=Ft>>8&255,te=Ft>>16&255,Q=Ft>>24&255;Ze[_t*Ne]=ke,Ze[_t*Ne+1]=te,Ze[_t*Ne+2]=Q,Ze[_t*Ne+3]=255}else(Xe[_t]&It)==It?Bt[_t]==0?(Ze[_t*Ne]=0,Ze[_t*Ne+1]=0,Ze[_t*Ne+2]=0,Ze[_t*Ne+3]=0):((Bt[_t]&It)==It,Ze[_t*Ne]=0,Ze[_t*Ne+1]=0,Ze[_t*Ne+2]=0,Ze[_t*Ne+3]=255):(Ze[_t*Ne]=0,Ze[_t*Ne+1]=0,Ze[_t*Ne+2]=0,Ze[_t*Ne+3]=255)}else if(Et==1){if(this._sock.rQwait("VMware cursor alpha encoding",Oe*Je*4,2))return!1;Ze=new Array(Oe*Je*Ne);for(var qe=0;qe<Oe*Je;qe++){var je=this._sock.rQshift32();Ze[qe*4]=je>>24&255,Ze[qe*4+1]=je>>16&255,Ze[qe*4+2]=je>>8&255,Ze[qe*4+3]=je&255}}else return p.Warn("The given cursor type is not supported: "+Et+" given."),!1;return this._updateCursor(Ze,ae,fe,Oe,Je),!0}},{key:"_handleCursor",value:function(){var ae=this._FBU.x,fe=this._FBU.y,Oe=this._FBU.width,Je=this._FBU.height,Et=Oe*Je*4,Ze=Math.ceil(Oe/8)*Je,Ne=Et+Ze;if(this._sock.rQwait("cursor encoding",Ne))return!1;for(var It=this._sock.rQshiftBytes(Et),Xe=this._sock.rQshiftBytes(Ze),Ot=new Uint8Array(Oe*Je*4),Bt=0,kt=0;kt<Je;kt++)for(var _t=0;_t<Oe;_t++){var Ft=kt*Math.ceil(Oe/8)+Math.floor(_t/8),ke=Xe[Ft]<<_t%8&128?255:0;Ot[Bt]=It[Bt+2],Ot[Bt+1]=It[Bt+1],Ot[Bt+2]=It[Bt],Ot[Bt+3]=ke,Bt+=4}return this._updateCursor(Ot,ae,fe,Oe,Je),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var ae=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",ae,4))return!1;var fe=this._sock.rQshiftStr(ae);return fe=(0,S.decodeUTF8)(fe,!0),this._setDesktopName(fe),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var ae=this._sock.rQpeek8(),fe=4+ae*16;if(this._sock.rQwait("ExtendedDesktopSize",fe))return!1;var Oe=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,Oe&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Je=0;Je<ae;Je+=1)Je===0?(this._screenID=this._sock.rQshiftBytes(4),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._screenFlags=this._sock.rQshiftBytes(4)):this._sock.rQskipBytes(16);if(this._FBU.x===1&&this._FBU.y!==0){var Et="";switch(this._FBU.y){case 1:Et="Resize is administratively prohibited";break;case 2:Et="Out of resources";break;case 3:Et="Invalid screen layout";break;default:Et="Unknown reason";break}p.Warn("Server did not accept the resize request: "+Et)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var ae=this._decoders[this._FBU.encoding];if(!ae)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return ae.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(fe){return this._fail("Error decoding rect: "+fe),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Be.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(ae,fe){this._fbWidth=ae,this._fbHeight=fe,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(ae,fe){if(this._rfbXvpVer<ae)return;p.Info("Sending XVP operation "+fe+" (version "+ae+")"),Be.messages.xvpOp(this._sock,ae,fe)}},{key:"_updateCursor",value:function(ae,fe,Oe,Je,Et){this._cursorImage={rgbaPixels:ae,hotx:fe,hoty:Oe,w:Je,h:Et},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var ae=3;ae<this._cursorImage.rgbaPixels.length;ae+=4)if(this._cursorImage.rgbaPixels[ae])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var ae=this._shouldShowDotCursor()?Be.cursors.dot:this._cursorImage;this._cursor.change(ae.rgbaPixels,ae.hotx,ae.hoty,ae.w,ae.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(ae){this._viewOnly=ae,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(ae?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(ae){p.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(ae){this._clipViewport=ae,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(ae){this._scaleViewport=ae,ae&&this._clipViewport&&this._updateClip(),this._updateScale(),!ae&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(ae){this._resizeSession=ae,ae&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(ae){this._showDotCursor=ae,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(ae){this._screen.style.background=ae}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(ae){if(!Number.isInteger(ae)||ae<0||ae>9){p.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===ae)return;this._qualityLevel=ae,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(ae){if(!Number.isInteger(ae)||ae<0||ae>9){p.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===ae)return;this._compressionLevel=ae,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(ae,fe){var Oe=ae.split("").map(function(Je){return Je.charCodeAt(0)});return new r.default(Oe).encrypt(fe)}}]),Be}(d.default);N.default=ce,ce.messages={keyEvent:function(Te,Be,De){var ae=Te._sQ,fe=Te._sQlen;ae[fe]=4,ae[fe+1]=De,ae[fe+2]=0,ae[fe+3]=0,ae[fe+4]=Be>>24,ae[fe+5]=Be>>16,ae[fe+6]=Be>>8,ae[fe+7]=Be,Te._sQlen+=8,Te.flush()},QEMUExtendedKeyEvent:function(Te,Be,De,ae){function fe(Ze){var Ne=ae>>8,It=ae&255;return Ne===224&&It<127?It|128:Ze}var Oe=Te._sQ,Je=Te._sQlen;Oe[Je]=255,Oe[Je+1]=0,Oe[Je+2]=De>>8,Oe[Je+3]=De,Oe[Je+4]=Be>>24,Oe[Je+5]=Be>>16,Oe[Je+6]=Be>>8,Oe[Je+7]=Be;var Et=fe(ae);Oe[Je+8]=Et>>24,Oe[Je+9]=Et>>16,Oe[Je+10]=Et>>8,Oe[Je+11]=Et,Te._sQlen+=12,Te.flush()},pointerEvent:function(Te,Be,De,ae){var fe=Te._sQ,Oe=Te._sQlen;fe[Oe]=5,fe[Oe+1]=ae,fe[Oe+2]=Be>>8,fe[Oe+3]=Be,fe[Oe+4]=De>>8,fe[Oe+5]=De,Te._sQlen+=6,Te.flush()},_buildExtendedClipboardFlags:function(Te,Be){for(var De=new Uint8Array(4),ae=0,fe=0,Oe=0;Oe<Te.length;Oe++)fe|=Te[Oe];for(var Je=0;Je<Be.length;Je++)ae|=Be[Je];return De[0]=fe>>24,De[1]=0,De[2]=0,De[3]=ae,De},extendedClipboardProvide:function(Te,Be,De){for(var ae=new i.default,fe=[],Oe=0;Oe<Be.length;Oe++){if(Be[Oe]!=Se)throw new Error("Unsupported extended clipboard format for Provide message.");De[Oe]=De[Oe].replace(/\r\n|\r|\n/gm,`\r
`);var Je=(0,S.encodeUTF8)(De[Oe]+"\0");fe.push(Je.length>>24&255,Je.length>>16&255,Je.length>>8&255,Je.length&255);for(var Et=0;Et<Je.length;Et++)fe.push(Je.charCodeAt(Et))}var Ze=ae.deflate(new Uint8Array(fe)),Ne=new Uint8Array(4+Ze.length);Ne.set(ce.messages._buildExtendedClipboardFlags([oe],Be)),Ne.set(Ze,4),ce.messages.clientCutText(Te,Ne,!0)},extendedClipboardNotify:function(Te,Be){var De=ce.messages._buildExtendedClipboardFlags([Ae],Be);ce.messages.clientCutText(Te,De,!0)},extendedClipboardRequest:function(Te,Be){var De=ce.messages._buildExtendedClipboardFlags([et],Be);ce.messages.clientCutText(Te,De,!0)},extendedClipboardCaps:function(Te,Be,De){var ae=Object.keys(De),fe=new Uint8Array(4+4*ae.length);ae.map(function(Et){return parseInt(Et)}),ae.sort(function(Et,Ze){return Et-Ze}),fe.set(ce.messages._buildExtendedClipboardFlags(Be,[]));for(var Oe=4,Je=0;Je<ae.length;Je++)fe[Oe]=De[ae[Je]]>>24,fe[Oe+1]=De[ae[Je]]>>16,fe[Oe+2]=De[ae[Je]]>>8,fe[Oe+3]=De[ae[Je]]>>0,Oe+=4,fe[3]|=1<<ae[Je];ce.messages.clientCutText(Te,fe,!0)},clientCutText:function(Te,Be){var De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ae=Te._sQ,fe=Te._sQlen;ae[fe]=6,ae[fe+1]=0,ae[fe+2]=0,ae[fe+3]=0;var Oe;De?Oe=(0,v.toUnsigned32bit)(-Be.length):Oe=Be.length,ae[fe+4]=Oe>>24,ae[fe+5]=Oe>>16,ae[fe+6]=Oe>>8,ae[fe+7]=Oe,Te._sQlen+=8;for(var Je=0,Et=Be.length;Et>0;){for(var Ze=Math.min(Et,Te._sQbufferSize-Te._sQlen),Ne=0;Ne<Ze;Ne++)ae[Te._sQlen+Ne]=Be[Je+Ne];Te._sQlen+=Ze,Te.flush(),Et-=Ze,Je+=Ze}},setDesktopSize:function(Te,Be,De,ae,fe){var Oe=Te._sQ,Je=Te._sQlen;Oe[Je]=251,Oe[Je+1]=0,Oe[Je+2]=Be>>8,Oe[Je+3]=Be,Oe[Je+4]=De>>8,Oe[Je+5]=De,Oe[Je+6]=1,Oe[Je+7]=0,Oe[Je+8]=ae>>24,Oe[Je+9]=ae>>16,Oe[Je+10]=ae>>8,Oe[Je+11]=ae,Oe[Je+12]=0,Oe[Je+13]=0,Oe[Je+14]=0,Oe[Je+15]=0,Oe[Je+16]=Be>>8,Oe[Je+17]=Be,Oe[Je+18]=De>>8,Oe[Je+19]=De,Oe[Je+20]=fe>>24,Oe[Je+21]=fe>>16,Oe[Je+22]=fe>>8,Oe[Je+23]=fe,Te._sQlen+=24,Te.flush()},clientFence:function(Te,Be,De){var ae=Te._sQ,fe=Te._sQlen;ae[fe]=248,ae[fe+1]=0,ae[fe+2]=0,ae[fe+3]=0,ae[fe+4]=Be>>24,ae[fe+5]=Be>>16,ae[fe+6]=Be>>8,ae[fe+7]=Be;var Oe=De.length;ae[fe+8]=Oe;for(var Je=0;Je<Oe;Je++)ae[fe+9+Je]=De.charCodeAt(Je);Te._sQlen+=9+Oe,Te.flush()},enableContinuousUpdates:function(Te,Be,De,ae,fe,Oe){var Je=Te._sQ,Et=Te._sQlen;Je[Et]=150,Je[Et+1]=Be,Je[Et+2]=De>>8,Je[Et+3]=De,Je[Et+4]=ae>>8,Je[Et+5]=ae,Je[Et+6]=fe>>8,Je[Et+7]=fe,Je[Et+8]=Oe>>8,Je[Et+9]=Oe,Te._sQlen+=10,Te.flush()},pixelFormat:function(Te,Be,De){var ae=Te._sQ,fe=Te._sQlen,Oe;Be>16?Oe=32:Be>8?Oe=16:Oe=8;var Je=Math.floor(Be/3);ae[fe]=0,ae[fe+1]=0,ae[fe+2]=0,ae[fe+3]=0,ae[fe+4]=Oe,ae[fe+5]=Be,ae[fe+6]=0,ae[fe+7]=De?1:0,ae[fe+8]=0,ae[fe+9]=(1<<Je)-1,ae[fe+10]=0,ae[fe+11]=(1<<Je)-1,ae[fe+12]=0,ae[fe+13]=(1<<Je)-1,ae[fe+14]=Je*2,ae[fe+15]=Je*1,ae[fe+16]=Je*0,ae[fe+17]=0,ae[fe+18]=0,ae[fe+19]=0,Te._sQlen+=20,Te.flush()},clientEncodings:function(Te,Be){var De=Te._sQ,ae=Te._sQlen;De[ae]=2,De[ae+1]=0,De[ae+2]=Be.length>>8,De[ae+3]=Be.length;for(var fe=ae+4,Oe=0;Oe<Be.length;Oe++){var Je=Be[Oe];De[fe]=Je>>24,De[fe+1]=Je>>16,De[fe+2]=Je>>8,De[fe+3]=Je,fe+=4}Te._sQlen+=fe-ae,Te.flush()},fbUpdateRequest:function(Te,Be,De,ae,fe,Oe){var Je=Te._sQ,Et=Te._sQlen;typeof De=="undefined"&&(De=0),typeof ae=="undefined"&&(ae=0),Je[Et]=3,Je[Et+1]=Be?1:0,Je[Et+2]=De>>8&255,Je[Et+3]=De&255,Je[Et+4]=ae>>8&255,Je[Et+5]=ae&255,Je[Et+6]=fe>>8&255,Je[Et+7]=fe&255,Je[Et+8]=Oe>>8&255,Je[Et+9]=Oe&255,Te._sQlen+=10,Te.flush()},xvpOp:function(Te,Be,De){var ae=Te._sQ,fe=Te._sQlen;ae[fe]=250,ae[fe+1]=0,ae[fe+2]=Be,ae[fe+3]=De,Te._sQlen+=4,Te.flush()}},ce.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(M,N,n){(function(v){v(n("VrN/"))})(function(v){"use strict";var p={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},S={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};v.defineMode("xml",function(m,g){var f=m.indentUnit,d={},c=g.htmlMode?p:S;for(var o in c)d[o]=c[o];for(var o in g)d[o]=g[o];var i,t;function a(L,P){function k(z){return P.tokenize=z,z(L,P)}var F=L.next();if(F=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?k(r("atom","]]>")):null:L.match("--")?k(r("comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),k(s(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),P.tokenize=r("meta","?>"),"meta"):(i=L.eat("/")?"closeTag":"openTag",P.tokenize=e,"tag bracket");if(F=="&"){var j;return L.eat("#")?L.eat("x")?j=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):j=L.eatWhile(/[\d]/)&&L.eat(";"):j=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),j?"atom":"error"}else return L.eatWhile(/[^&<]/),null}a.isInText=!0;function e(L,P){var k=L.next();if(k==">"||k=="/"&&L.eat(">"))return P.tokenize=a,i=k==">"?"endTag":"selfcloseTag","tag bracket";if(k=="=")return i="equals",null;if(k=="<"){P.tokenize=a,P.state=y,P.tagName=P.tagStart=null;var F=P.tokenize(L,P);return F?F+" tag error":"tag error"}else return/[\'\"]/.test(k)?(P.tokenize=l(k),P.stringStartCol=L.column(),P.tokenize(L,P)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(L){var P=function(F,j){for(;!F.eol();)if(F.next()==L){j.tokenize=e;break}return"string"};return P.isInAttribute=!0,P}function r(L,P){return function(k,F){for(;!k.eol();){if(k.match(P)){F.tokenize=a;break}k.next()}return L}}function s(L){return function(P,k){for(var F;(F=P.next())!=null;){if(F=="<")return k.tokenize=s(L+1),k.tokenize(P,k);if(F==">")if(L==1){k.tokenize=a;break}else return k.tokenize=s(L-1),k.tokenize(P,k)}return"meta"}}function u(L,P,k){this.prev=L.context,this.tagName=P,this.indent=L.indented,this.startOfLine=k,(d.doNotIndent.hasOwnProperty(P)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function h(L){L.context&&(L.context=L.context.prev)}function A(L,P){for(var k;;){if(!L.context)return;if(k=L.context.tagName,!d.contextGrabbers.hasOwnProperty(k)||!d.contextGrabbers[k].hasOwnProperty(P))return;h(L)}}function y(L,P,k){return L=="openTag"?(k.tagStart=P.column(),w):L=="closeTag"?b:y}function w(L,P,k){return L=="word"?(k.tagName=P.current(),t="tag",T):d.allowMissingTagName&&L=="endTag"?(t="tag bracket",T(L,P,k)):(t="error",w)}function b(L,P,k){if(L=="word"){var F=P.current();return k.context&&k.context.tagName!=F&&d.implicitlyClosed.hasOwnProperty(k.context.tagName)&&h(k),k.context&&k.context.tagName==F||d.matchClosing===!1?(t="tag",x):(t="tag error",O)}else return d.allowMissingTagName&&L=="endTag"?(t="tag bracket",x(L,P,k)):(t="error",O)}function x(L,P,k){return L!="endTag"?(t="error",x):(h(k),y)}function O(L,P,k){return t="error",x(L,P,k)}function T(L,P,k){if(L=="word")return t="attribute",E;if(L=="endTag"||L=="selfcloseTag"){var F=k.tagName,j=k.tagStart;return k.tagName=k.tagStart=null,L=="selfcloseTag"||d.autoSelfClosers.hasOwnProperty(F)?A(k,F):(A(k,F),k.context=new u(k,F,j==k.indented)),y}return t="error",T}function E(L,P,k){return L=="equals"?C:(d.allowMissing||(t="error"),T(L,P,k))}function C(L,P,k){return L=="string"?_:L=="word"&&d.allowUnquoted?(t="string",T):(t="error",T(L,P,k))}function _(L,P,k){return L=="string"?_:T(L,P,k)}return{startState:function(P){var k={tokenize:a,state:y,indented:P||0,tagName:null,tagStart:null,context:null};return P!=null&&(k.baseIndent=P),k},token:function(P,k){if(!k.tagName&&P.sol()&&(k.indented=P.indentation()),P.eatSpace())return null;i=null;var F=k.tokenize(P,k);return(F||i)&&F!="comment"&&(t=null,k.state=k.state(i||F,P,k),t&&(F=t=="error"?F+" error":t)),F},indent:function(P,k,F){var j=P.context;if(P.tokenize.isInAttribute)return P.tagStart==P.indented?P.stringStartCol+1:P.indented+f;if(j&&j.noIndent)return v.Pass;if(P.tokenize!=e&&P.tokenize!=a)return F?F.match(/^(\s*)/)[0].length:0;if(P.tagName)return d.multilineTagIndentPastTag!==!1?P.tagStart+P.tagName.length+2:P.tagStart+f*(d.multilineTagIndentFactor||1);if(d.alignCDATA&&/<!\[CDATA\[/.test(k))return 0;var z=k&&/^<(\/)?([\w_:\.-]*)/.exec(k);if(z&&z[1])for(;j;)if(j.tagName==z[2]){j=j.prev;break}else if(d.implicitlyClosed.hasOwnProperty(j.tagName))j=j.prev;else break;else if(z)for(;j;){var R=d.contextGrabbers[j.tagName];if(R&&R.hasOwnProperty(z[2]))j=j.prev;else break}for(;j&&j.prev&&!j.startOfLine;)j=j.prev;return j?j.indent+f:P.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:d.htmlMode?"html":"xml",helperType:d.htmlMode?"html":"xml",skipAttribute:function(P){P.state==C&&(P.state=T)},xmlCurrentTag:function(P){return P.tagName?{name:P.tagName,close:P.type=="closeTag"}:null},xmlCurrentContext:function(P){for(var k=[],F=P.context;F;F=F.prev)F.tagName&&k.push(F.tagName);return k.reverse()}}}),v.defineMIME("text/xml","xml"),v.defineMIME("application/xml","xml"),v.mimeModes.hasOwnProperty("text/html")||v.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(M,N,n){(function(v,p){/*!
* html2pdf.js v0.10.1
* Copyright (c) 2021 Erik Koopmans
* Released under the MIT License.
*/(function(m,g){M.exports=g(n("dtIV"),n("wOnQ"))})(self,function(S,m){return function(){var g={"./src/plugin/hyperlinks.js":function(i,t,a){"use strict";a.r(t);var e=a("./node_modules/core-js/modules/web.dom-collections.for-each.js"),l=a.n(e),r=a("./node_modules/core-js/modules/es.string.link.js"),s=a.n(r),u=a("./src/worker.js"),h=a("./src/utils.js"),A=[],y={toContainer:u.default.prototype.toContainer,toPdf:u.default.prototype.toPdf};u.default.prototype.toContainer=function(){return y.toContainer.call(this).then(function(){if(this.opt.enableLinks){var x=this.prop.container,O=x.querySelectorAll("a"),T=(0,h.unitConvert)(x.getBoundingClientRect(),this.prop.pageSize.k);A=[],Array.prototype.forEach.call(O,function(E){for(var C=E.getClientRects(),_=0;_<C.length;_++){var L=(0,h.unitConvert)(C[_],this.prop.pageSize.k);L.left-=T.left,L.top-=T.top;var P=Math.floor(L.top/this.prop.pageSize.inner.height)+1,k=this.opt.margin[0]+L.top%this.prop.pageSize.inner.height,F=this.opt.margin[1]+L.left;A.push({page:P,top:k,left:F,clientRect:L,link:E})}},this)}})},u.default.prototype.toPdf=function(){return y.toPdf.call(this).then(function(){if(this.opt.enableLinks){A.forEach(function(O){this.prop.pdf.setPage(O.page),this.prop.pdf.link(O.left,O.top,O.clientRect.width,O.clientRect.height,{url:O.link.href})},this);var x=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(x)}})}},"./src/plugin/jspdf-plugin.js":function(i,t,a){"use strict";a.r(t);var e=a("./node_modules/core-js/modules/es.symbol.js"),l=a.n(e),r=a("./node_modules/core-js/modules/es.symbol.description.js"),s=a.n(r),u=a("./node_modules/core-js/modules/es.object.to-string.js"),h=a.n(u),A=a("./node_modules/core-js/modules/es.symbol.iterator.js"),y=a.n(A),w=a("./node_modules/core-js/modules/es.array.iterator.js"),b=a.n(w),x=a("./node_modules/core-js/modules/es.string.iterator.js"),O=a.n(x),T=a("./node_modules/core-js/modules/web.dom-collections.iterator.js"),E=a.n(T),C=a("jspdf"),_=a.n(C);function L(P){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(F){return typeof F}:L=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},L(P)}C.jsPDF.getPageSize=function(P,k,F){if(L(P)==="object"){var j=P;P=j.orientation,k=j.unit||k,F=j.format||F}k=k||"mm",F=F||"a4",P=(""+(P||"P")).toLowerCase();var z=(""+F).toLowerCase(),R={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(k){case"pt":var U=1;break;case"mm":var U=72/25.4;break;case"cm":var U=72/2.54;break;case"in":var U=72;break;case"px":var U=72/96;break;case"pc":var U=12;break;case"em":var U=12;break;case"ex":var U=6;break;default:throw"Invalid unit: "+k}if(R.hasOwnProperty(z))var B=R[z][1]/U,H=R[z][0]/U;else try{var B=F[1],H=F[0]}catch(W){throw new Error("Invalid format: "+F)}if(P==="p"||P==="portrait"){if(P="p",H>B){var K=H;H=B,B=K}}else if(P==="l"||P==="landscape"){if(P="l",B>H){var K=H;H=B,B=K}}else throw"Invalid orientation: "+P;var V={width:H,height:B,unit:k,k:U};return V},t.default=C.jsPDF},"./src/plugin/pagebreaks.js":function(i,t,a){"use strict";a.r(t);var e=a("./node_modules/core-js/modules/es.array.concat.js"),l=a.n(e),r=a("./node_modules/core-js/modules/es.array.slice.js"),s=a.n(r),u=a("./node_modules/core-js/modules/es.array.join.js"),h=a.n(u),A=a("./node_modules/core-js/modules/web.dom-collections.for-each.js"),y=a.n(A),w=a("./node_modules/core-js/modules/es.object.keys.js"),b=a.n(w),x=a("./src/worker.js"),O=a("./src/utils.js"),T={toContainer:x.default.prototype.toContainer};x.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},x.default.prototype.toContainer=function(){return T.toContainer.call(this).then(function(){var _=this.prop.container,L=this.prop.pageSize.inner.px.height,P=[].concat(this.opt.pagebreak.mode),k={avoidAll:P.indexOf("avoid-all")!==-1,css:P.indexOf("css")!==-1,legacy:P.indexOf("legacy")!==-1},F={},j=this;["before","after","avoid"].forEach(function(U){var B=k.avoidAll&&U==="avoid";F[U]=B?[]:[].concat(j.opt.pagebreak[U]||[]),F[U].length>0&&(F[U]=Array.prototype.slice.call(_.querySelectorAll(F[U].join(", "))))});var z=_.querySelectorAll(".html2pdf__page-break");z=Array.prototype.slice.call(z);var R=_.querySelectorAll("*");Array.prototype.forEach.call(R,function(B){var H={before:!1,after:k.legacy&&z.indexOf(B)!==-1,avoid:k.avoidAll};if(k.css){var K=window.getComputedStyle(B),V=["always","page","left","right"],W=["avoid","avoid-page"];H={before:H.before||V.indexOf(K.breakBefore||K.pageBreakBefore)!==-1,after:H.after||V.indexOf(K.breakAfter||K.pageBreakAfter)!==-1,avoid:H.avoid||W.indexOf(K.breakInside||K.pageBreakInside)!==-1}}Object.keys(H).forEach(function(Ce){H[Ce]=H[Ce]||F[Ce].indexOf(B)!==-1});var G=B.getBoundingClientRect();if(H.avoid&&!H.before){var re=Math.floor(G.top/L),ye=Math.floor(G.bottom/L),$=Math.abs(G.bottom-G.top)/L;ye!==re&&$<=1&&(H.before=!0)}if(H.before){var ve=(0,O.createElement)("div",{style:{display:"block",height:L-G.top%L+"px"}});B.parentNode.insertBefore(ve,B)}if(H.after){var ve=(0,O.createElement)("div",{style:{display:"block",height:L-G.bottom%L+"px"}});B.parentNode.insertBefore(ve,B.nextSibling)}})})}},"./src/utils.js":function(i,t,a){"use strict";a.r(t),a.d(t,{objType:function(){return P},createElement:function(){return k},cloneNode:function(){return F},unitConvert:function(){return j},toPx:function(){return z}});var e=a("./node_modules/core-js/modules/es.number.constructor.js"),l=a.n(e),r=a("./node_modules/core-js/modules/es.symbol.js"),s=a.n(r),u=a("./node_modules/core-js/modules/es.symbol.description.js"),h=a.n(u),A=a("./node_modules/core-js/modules/es.object.to-string.js"),y=a.n(A),w=a("./node_modules/core-js/modules/es.symbol.iterator.js"),b=a.n(w),x=a("./node_modules/core-js/modules/es.array.iterator.js"),O=a.n(x),T=a("./node_modules/core-js/modules/es.string.iterator.js"),E=a.n(T),C=a("./node_modules/core-js/modules/web.dom-collections.iterator.js"),_=a.n(C);function L(R){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(B){return typeof B}:L=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},L(R)}var P=function(U){var B=L(U);return B==="undefined"?"undefined":B==="string"||U instanceof String?"string":B==="number"||U instanceof Number?"number":B==="function"||U instanceof Function?"function":!!U&&U.constructor===Array?"array":U&&U.nodeType===1?"element":B==="object"?"object":"unknown"},k=function(U,B){var H=document.createElement(U);if(B.className&&(H.className=B.className),B.innerHTML){H.innerHTML=B.innerHTML;for(var K=H.getElementsByTagName("script"),V=K.length;V-- >0;null)K[V].parentNode.removeChild(K[V])}for(var W in B.style)H.style[W]=B.style[W];return H},F=function R(U,B){for(var H=U.nodeType===3?document.createTextNode(U.nodeValue):U.cloneNode(!1),K=U.firstChild;K;K=K.nextSibling)(B===!0||K.nodeType!==1||K.nodeName!=="SCRIPT")&&H.appendChild(R(K,B));return U.nodeType===1&&(U.nodeName==="CANVAS"?(H.width=U.width,H.height=U.height,H.getContext("2d").drawImage(U,0,0)):(U.nodeName==="TEXTAREA"||U.nodeName==="SELECT")&&(H.value=U.value),H.addEventListener("load",function(){H.scrollTop=U.scrollTop,H.scrollLeft=U.scrollLeft},!0)),H},j=function(U,B){if(P(U)==="number")return U*72/96/B;var H={};for(var K in U)H[K]=U[K]*72/96/B;return H},z=function(U,B){return Math.floor(U*B/72*96)}},"./src/worker.js":function(i,t,a){"use strict";a.r(t);var e=a("./node_modules/core-js/modules/es.object.assign.js"),l=a.n(e),r=a("./node_modules/core-js/modules/es.array.map.js"),s=a.n(r),u=a("./node_modules/core-js/modules/es.object.keys.js"),h=a.n(u),A=a("./node_modules/core-js/modules/es.array.concat.js"),y=a.n(A),w=a("./node_modules/core-js/modules/es.object.to-string.js"),b=a.n(w),x=a("./node_modules/core-js/modules/es.regexp.to-string.js"),O=a.n(x),T=a("./node_modules/core-js/modules/es.function.name.js"),E=a.n(T),C=a("./node_modules/core-js/modules/web.dom-collections.for-each.js"),_=a.n(C),L=a("jspdf"),P=a.n(L),k=a("html2canvas"),F=a.n(k),j=a("./src/utils.js"),z=a("./node_modules/es6-promise/dist/es6-promise.js"),R=a.n(z),U=R().Promise,B=function H(K){var V=Object.assign(H.convert(U.resolve()),JSON.parse(JSON.stringify(H.template))),W=H.convert(U.resolve(),V);return W=W.setProgress(1,H,1,[H]),W=W.set(K),W};B.prototype=Object.create(U.prototype),B.prototype.constructor=B,B.convert=function(K,V){return K.__proto__=V||B.prototype,K},B.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:{}}},B.prototype.from=function(K,V){function W(G){switch((0,j.objType)(G)){case"string":return"string";case"element":return G.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){V=V||W(K);switch(V){case"string":return this.set({src:(0,j.createElement)("div",{innerHTML:K})});case"element":return this.set({src:K});case"canvas":return this.set({canvas:K});case"img":return this.set({img:K});default:return this.error("Unknown source type.")}})},B.prototype.to=function(K){switch(K){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},B.prototype.toContainer=function(){var K=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(K).then(function(){var W={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},G={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};W.opacity=0;var re=(0,j.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,j.createElement)("div",{className:"html2pdf__overlay",style:W}),this.prop.container=(0,j.createElement)("div",{className:"html2pdf__container",style:G}),this.prop.container.appendChild(re),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},B.prototype.toCanvas=function(){var K=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(K).then(function(){var W=Object.assign({},this.opt.html2canvas);return delete W.onrendered,k(this.prop.container,W)}).then(function(W){var G=this.opt.html2canvas.onrendered||function(){};G(W),this.prop.canvas=W,document.body.removeChild(this.prop.overlay)})},B.prototype.toImg=function(){var K=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(K).then(function(){var W=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=W})},B.prototype.toPdf=function(){var K=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(K).then(function(){var W=this.prop.canvas,G=this.opt,re=W.height,ye=Math.floor(W.width*this.prop.pageSize.inner.ratio),$=Math.ceil(re/ye),ve=this.prop.pageSize.inner.height,Ce=document.createElement("canvas"),Se=Ce.getContext("2d");Ce.width=W.width,Ce.height=ye,this.prop.pdf=this.prop.pdf||new L.jsPDF(G.jsPDF);for(var Ke=0;Ke<$;Ke++){Ke===$-1&&re%ye!==0&&(Ce.height=re%ye,ve=Ce.height*this.prop.pageSize.inner.width/Ce.width);var ue=Ce.width,Le=Ce.height;Se.fillStyle="white",Se.fillRect(0,0,ue,Le),Se.drawImage(W,0,Ke*ye,ue,Le,0,0,ue,Le),Ke&&this.prop.pdf.addPage();var ee=Ce.toDataURL("image/"+G.image.type,G.image.quality);this.prop.pdf.addImage(ee,G.image.type,G.margin[1],G.margin[0],this.prop.pageSize.inner.width,ve)}})},B.prototype.output=function(K,V,W){return W=W||"pdf",W.toLowerCase()==="img"||W.toLowerCase()==="image"?this.outputImg(K,V):this.outputPdf(K,V)},B.prototype.outputPdf=function(K,V){var W=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(W).then(function(){return this.prop.pdf.output(K,V)})},B.prototype.outputImg=function(K,V){var W=[function(){return this.prop.img||this.toImg()}];return this.thenList(W).then(function(){switch(K){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+K+'" is not supported.'}})},B.prototype.save=function(K){var V=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(V).set(K?{filename:K}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},B.prototype.set=function(K){if((0,j.objType)(K)!=="object")return this;var V=Object.keys(K||{}).map(function(W){switch(W){case"margin":return this.setMargin.bind(this,K.margin);case"jsPDF":return function(){return this.opt.jsPDF=K.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,K.pageSize);default:return W in B.template.prop?function(){this.prop[W]=K[W]}:function(){this.opt[W]=K[W]}}},this);return this.then(function(){return this.thenList(V)})},B.prototype.get=function(K,V){return this.then(function(){var G=K in B.template.prop?this.prop[K]:this.opt[K];return V?V(G):G})},B.prototype.setMargin=function(K){return this.then(function(){switch((0,j.objType)(K)){case"number":K=[K,K,K,K];case"array":if(K.length===2&&(K=[K[0],K[1],K[0],K[1]]),K.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=K}).then(this.setPageSize)},B.prototype.setPageSize=function(K){return this.then(function(){K=K||L.jsPDF.getPageSize(this.opt.jsPDF),K.hasOwnProperty("inner")||(K.inner={width:K.width-this.opt.margin[1]-this.opt.margin[3],height:K.height-this.opt.margin[0]-this.opt.margin[2]},K.inner.px={width:(0,j.toPx)(K.inner.width,K.k),height:(0,j.toPx)(K.inner.height,K.k)},K.inner.ratio=K.inner.height/K.inner.width),this.prop.pageSize=K})},B.prototype.setProgress=function(K,V,W,G){return K!=null&&(this.progress.val=K),V!=null&&(this.progress.state=V),W!=null&&(this.progress.n=W),G!=null&&(this.progress.stack=G),this.progress.ratio=this.progress.val/this.progress.state,this},B.prototype.updateProgress=function(K,V,W,G){return this.setProgress(K?this.progress.val+K:null,V||null,W?this.progress.n+W:null,G?this.progress.stack.concat(G):null)},B.prototype.then=function(K,V){var W=this;return this.thenCore(K,V,function(re,ye){return W.updateProgress(null,null,1,[re]),U.prototype.then.call(this,function(ve){return W.updateProgress(null,re),ve}).then(re,ye).then(function(ve){return W.updateProgress(1),ve})})},B.prototype.thenCore=function(K,V,W){W=W||U.prototype.then;var G=this;K&&(K=K.bind(G)),V&&(V=V.bind(G));var re=U.toString().indexOf("[native code]")!==-1&&U.name==="Promise",ye=re?G:B.convert(Object.assign({},G),U.prototype),$=W.call(ye,K,V);return B.convert($,G.__proto__)},B.prototype.thenExternal=function(K,V){return U.prototype.then.call(this,K,V)},B.prototype.thenList=function(K){var V=this;return K.forEach(function(G){V=V.thenCore(G)}),V},B.prototype.catch=function(H){H&&(H=H.bind(this));var K=U.prototype.catch.call(this,H);return B.convert(K,this)},B.prototype.catchExternal=function(K){return U.prototype.catch.call(this,K)},B.prototype.error=function(K){return this.then(function(){throw new Error(K)})},B.prototype.using=B.prototype.set,B.prototype.saveAs=B.prototype.save,B.prototype.export=B.prototype.output,B.prototype.run=B.prototype.then,t.default=B},"./node_modules/core-js/internals/a-function.js":function(i){i.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"./node_modules/core-js/internals/a-possible-prototype.js":function(i,t,a){var e=a("./node_modules/core-js/internals/is-object.js");i.exports=function(l){if(!e(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"./node_modules/core-js/internals/add-to-unscopables.js":function(i,t,a){var e=a("./node_modules/core-js/internals/well-known-symbol.js"),l=a("./node_modules/core-js/internals/object-create.js"),r=a("./node_modules/core-js/internals/object-define-property.js"),s=e("unscopables"),u=Array.prototype;u[s]==null&&r.f(u,s,{configurable:!0,value:l(null)}),i.exports=function(h){u[s][h]=!0}},"./node_modules/core-js/internals/an-object.js":function(i,t,a){var e=a("./node_modules/core-js/internals/is-object.js");i.exports=function(l){if(!e(l))throw TypeError(String(l)+" is not an object");return l}},"./node_modules/core-js/internals/array-for-each.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/array-iteration.js").forEach,l=a("./node_modules/core-js/internals/array-method-is-strict.js"),r=l("forEach");i.exports=r?[].forEach:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-indexed-object.js"),l=a("./node_modules/core-js/internals/to-length.js"),r=a("./node_modules/core-js/internals/to-absolute-index.js"),s=function(h){return function(A,y,w){var b=e(A),x=l(b.length),O=r(w,x),T;if(h&&y!=y){for(;x>O;)if(T=b[O++],T!=T)return!0}else for(;x>O;O++)if((h||O in b)&&b[O]===y)return h||O||0;return!h&&-1}};i.exports={includes:s(!0),indexOf:s(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(i,t,a){var e=a("./node_modules/core-js/internals/function-bind-context.js"),l=a("./node_modules/core-js/internals/indexed-object.js"),r=a("./node_modules/core-js/internals/to-object.js"),s=a("./node_modules/core-js/internals/to-length.js"),u=a("./node_modules/core-js/internals/array-species-create.js"),h=[].push,A=function(w){var b=w==1,x=w==2,O=w==3,T=w==4,E=w==6,C=w==7,_=w==5||E;return function(L,P,k,F){for(var j=r(L),z=l(j),R=e(P,k,3),U=s(z.length),B=0,H=F||u,K=b?H(L,U):x||C?H(L,0):void 0,V,W;U>B;B++)if((_||B in z)&&(V=z[B],W=R(V,B,j),w))if(b)K[B]=W;else if(W)switch(w){case 3:return!0;case 5:return V;case 6:return B;case 2:h.call(K,V)}else switch(w){case 4:return!1;case 7:h.call(K,V)}return E?-1:O||T?T:K}};i.exports={forEach:A(0),map:A(1),filter:A(2),some:A(3),every:A(4),find:A(5),findIndex:A(6),filterReject:A(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(i,t,a){var e=a("./node_modules/core-js/internals/fails.js"),l=a("./node_modules/core-js/internals/well-known-symbol.js"),r=a("./node_modules/core-js/internals/engine-v8-version.js"),s=l("species");i.exports=function(u){return r>=51||!e(function(){var h=[],A=h.constructor={};return A[s]=function(){return{foo:1}},h[u](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/fails.js");i.exports=function(l,r){var s=[][l];return!!s&&e(function(){s.call(null,r||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(i,t,a){var e=a("./node_modules/core-js/internals/is-object.js"),l=a("./node_modules/core-js/internals/is-array.js"),r=a("./node_modules/core-js/internals/well-known-symbol.js"),s=r("species");i.exports=function(u){var h;return l(u)&&(h=u.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:e(h)&&(h=h[s],h===null&&(h=void 0))),h===void 0?Array:h}},"./node_modules/core-js/internals/array-species-create.js":function(i,t,a){var e=a("./node_modules/core-js/internals/array-species-constructor.js");i.exports=function(l,r){return new(e(l))(r===0?0:r)}},"./node_modules/core-js/internals/classof-raw.js":function(i){var t={}.toString;i.exports=function(a){return t.call(a).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-string-tag-support.js"),l=a("./node_modules/core-js/internals/classof-raw.js"),r=a("./node_modules/core-js/internals/well-known-symbol.js"),s=r("toStringTag"),u=l(function(){return arguments}())=="Arguments",h=function(y,w){try{return y[w]}catch(b){}};i.exports=e?l:function(A){var y,w,b;return A===void 0?"Undefined":A===null?"Null":typeof(w=h(y=Object(A),s))=="string"?w:u?l(y):(b=l(y))=="Object"&&typeof y.callee=="function"?"Arguments":b}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(i,t,a){var e=a("./node_modules/core-js/internals/has.js"),l=a("./node_modules/core-js/internals/own-keys.js"),r=a("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),s=a("./node_modules/core-js/internals/object-define-property.js");i.exports=function(u,h){for(var A=l(h),y=s.f,w=r.f,b=0;b<A.length;b++){var x=A[b];e(u,x)||y(u,x,w(h,x))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(i,t,a){var e=a("./node_modules/core-js/internals/fails.js");i.exports=!e(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},"./node_modules/core-js/internals/create-html.js":function(i,t,a){var e=a("./node_modules/core-js/internals/require-object-coercible.js"),l=a("./node_modules/core-js/internals/to-string.js"),r=/"/g;i.exports=function(s,u,h,A){var y=l(e(s)),w="<"+u;return h!==""&&(w+=" "+h+'="'+l(A).replace(r,"&quot;")+'"'),w+">"+y+"</"+u+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,l=a("./node_modules/core-js/internals/object-create.js"),r=a("./node_modules/core-js/internals/create-property-descriptor.js"),s=a("./node_modules/core-js/internals/set-to-string-tag.js"),u=a("./node_modules/core-js/internals/iterators.js"),h=function(){return this};i.exports=function(A,y,w){var b=y+" Iterator";return A.prototype=l(e,{next:r(1,w)}),s(A,b,!1,!0),u[b]=h,A}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(i,t,a){var e=a("./node_modules/core-js/internals/descriptors.js"),l=a("./node_modules/core-js/internals/object-define-property.js"),r=a("./node_modules/core-js/internals/create-property-descriptor.js");i.exports=e?function(s,u,h){return l.f(s,u,r(1,h))}:function(s,u,h){return s[u]=h,s}},"./node_modules/core-js/internals/create-property-descriptor.js":function(i){i.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"./node_modules/core-js/internals/create-property.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/to-property-key.js"),l=a("./node_modules/core-js/internals/object-define-property.js"),r=a("./node_modules/core-js/internals/create-property-descriptor.js");i.exports=function(s,u,h){var A=e(u);A in s?l.f(s,A,r(0,h)):s[A]=h}},"./node_modules/core-js/internals/define-iterator.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/create-iterator-constructor.js"),r=a("./node_modules/core-js/internals/object-get-prototype-of.js"),s=a("./node_modules/core-js/internals/object-set-prototype-of.js"),u=a("./node_modules/core-js/internals/set-to-string-tag.js"),h=a("./node_modules/core-js/internals/create-non-enumerable-property.js"),A=a("./node_modules/core-js/internals/redefine.js"),y=a("./node_modules/core-js/internals/well-known-symbol.js"),w=a("./node_modules/core-js/internals/is-pure.js"),b=a("./node_modules/core-js/internals/iterators.js"),x=a("./node_modules/core-js/internals/iterators-core.js"),O=x.IteratorPrototype,T=x.BUGGY_SAFARI_ITERATORS,E=y("iterator"),C="keys",_="values",L="entries",P=function(){return this};i.exports=function(k,F,j,z,R,U,B){l(j,F,z);var H=function(Ke){if(Ke===R&&re)return re;if(!T&&Ke in W)return W[Ke];switch(Ke){case C:return function(){return new j(this,Ke)};case _:return function(){return new j(this,Ke)};case L:return function(){return new j(this,Ke)}}return function(){return new j(this)}},K=F+" Iterator",V=!1,W=k.prototype,G=W[E]||W["@@iterator"]||R&&W[R],re=!T&&G||H(R),ye=F=="Array"&&W.entries||G,$,ve,Ce;if(ye&&($=r(ye.call(new k)),O!==Object.prototype&&$.next&&(!w&&r($)!==O&&(s?s($,O):typeof $[E]!="function"&&h($,E,P)),u($,K,!0,!0),w&&(b[K]=P))),R==_&&G&&G.name!==_&&(V=!0,re=function(){return G.call(this)}),(!w||B)&&W[E]!==re&&h(W,E,re),b[F]=re,R)if(ve={values:H(_),keys:U?re:H(C),entries:H(L)},B)for(Ce in ve)(T||V||!(Ce in W))&&A(W,Ce,ve[Ce]);else e({target:F,proto:!0,forced:T||V},ve);return ve}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(i,t,a){var e=a("./node_modules/core-js/internals/path.js"),l=a("./node_modules/core-js/internals/has.js"),r=a("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),s=a("./node_modules/core-js/internals/object-define-property.js").f;i.exports=function(u){var h=e.Symbol||(e.Symbol={});l(h,u)||s(h,u,{value:r.f(u)})}},"./node_modules/core-js/internals/descriptors.js":function(i,t,a){var e=a("./node_modules/core-js/internals/fails.js");i.exports=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/is-object.js"),r=e.document,s=l(r)&&l(r.createElement);i.exports=function(u){return s?r.createElement(u):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(i,t,a){var e=a("./node_modules/core-js/internals/get-built-in.js");i.exports=e("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/engine-user-agent.js"),r=e.process,s=e.Deno,u=r&&r.versions||s&&s.version,h=u&&u.v8,A,y;h?(A=h.split("."),y=A[0]<4?1:A[0]+A[1]):l&&(A=l.match(/Edge\/(\d+)/),(!A||A[1]>=74)&&(A=l.match(/Chrome\/(\d+)/),A&&(y=A[1]))),i.exports=y&&+y},"./node_modules/core-js/internals/enum-bug-keys.js":function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,r=a("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=a("./node_modules/core-js/internals/redefine.js"),u=a("./node_modules/core-js/internals/set-global.js"),h=a("./node_modules/core-js/internals/copy-constructor-properties.js"),A=a("./node_modules/core-js/internals/is-forced.js");i.exports=function(y,w){var b=y.target,x=y.global,O=y.stat,T,E,C,_,L,P;if(x?E=e:O?E=e[b]||u(b,{}):E=(e[b]||{}).prototype,E)for(C in w){if(L=w[C],y.noTargetGet?(P=l(E,C),_=P&&P.value):_=E[C],T=A(x?C:b+(O?".":"#")+C,y.forced),!T&&_!==void 0){if(typeof L===typeof _)continue;h(L,_)}(y.sham||_&&_.sham)&&r(L,"sham",!0),s(E,C,L,y)}}},"./node_modules/core-js/internals/fails.js":function(i){i.exports=function(t){try{return!!t()}catch(a){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(i,t,a){var e=a("./node_modules/core-js/internals/a-function.js");i.exports=function(l,r,s){if(e(l),r===void 0)return l;switch(s){case 0:return function(){return l.call(r)};case 1:return function(u){return l.call(r,u)};case 2:return function(u,h){return l.call(r,u,h)};case 3:return function(u,h,A){return l.call(r,u,h,A)}}return function(){return l.apply(r,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=function(s){return typeof s=="function"?s:void 0};i.exports=function(r,s){return arguments.length<2?l(e[r]):e[r]&&e[r][s]}},"./node_modules/core-js/internals/global.js":function(i){var t=function(e){return e&&e.Math==Math&&e};i.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof v=="object"&&v)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-object.js"),l={}.hasOwnProperty;i.exports=Object.hasOwn||function(s,u){return l.call(e(s),u)}},"./node_modules/core-js/internals/hidden-keys.js":function(i){i.exports={}},"./node_modules/core-js/internals/html.js":function(i,t,a){var e=a("./node_modules/core-js/internals/get-built-in.js");i.exports=e("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(i,t,a){var e=a("./node_modules/core-js/internals/descriptors.js"),l=a("./node_modules/core-js/internals/fails.js"),r=a("./node_modules/core-js/internals/document-create-element.js");i.exports=!e&&!l(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(i,t,a){var e=a("./node_modules/core-js/internals/fails.js"),l=a("./node_modules/core-js/internals/classof-raw.js"),r="".split;i.exports=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(s){return l(s)=="String"?r.call(s,""):Object(s)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(i,t,a){var e=a("./node_modules/core-js/internals/is-object.js"),l=a("./node_modules/core-js/internals/object-set-prototype-of.js");i.exports=function(r,s,u){var h,A;return l&&typeof(h=s.constructor)=="function"&&h!==u&&e(A=h.prototype)&&A!==u.prototype&&l(r,A),r}},"./node_modules/core-js/internals/inspect-source.js":function(i,t,a){var e=a("./node_modules/core-js/internals/shared-store.js"),l=Function.toString;typeof e.inspectSource!="function"&&(e.inspectSource=function(r){return l.call(r)}),i.exports=e.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(i,t,a){var e=a("./node_modules/core-js/internals/native-weak-map.js"),l=a("./node_modules/core-js/internals/global.js"),r=a("./node_modules/core-js/internals/is-object.js"),s=a("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=a("./node_modules/core-js/internals/has.js"),h=a("./node_modules/core-js/internals/shared-store.js"),A=a("./node_modules/core-js/internals/shared-key.js"),y=a("./node_modules/core-js/internals/hidden-keys.js"),w="Object already initialized",b=l.WeakMap,x,O,T,E=function(z){return T(z)?O(z):x(z,{})},C=function(z){return function(R){var U;if(!r(R)||(U=O(R)).type!==z)throw TypeError("Incompatible receiver, "+z+" required");return U}};if(e||h.state){var _=h.state||(h.state=new b),L=_.get,P=_.has,k=_.set;x=function(z,R){if(P.call(_,z))throw new TypeError(w);return R.facade=z,k.call(_,z,R),R},O=function(z){return L.call(_,z)||{}},T=function(z){return P.call(_,z)}}else{var F=A("state");y[F]=!0,x=function(z,R){if(u(z,F))throw new TypeError(w);return R.facade=z,s(z,F,R),R},O=function(z){return u(z,F)?z[F]:{}},T=function(z){return u(z,F)}}i.exports={set:x,get:O,has:T,enforce:E,getterFor:C}},"./node_modules/core-js/internals/is-array.js":function(i,t,a){var e=a("./node_modules/core-js/internals/classof-raw.js");i.exports=Array.isArray||function(r){return e(r)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(i,t,a){var e=a("./node_modules/core-js/internals/fails.js"),l=/#|\.prototype\./,r=function(w,b){var x=u[s(w)];return x==A?!0:x==h?!1:typeof b=="function"?e(b):!!b},s=r.normalize=function(y){return String(y).replace(l,".").toLowerCase()},u=r.data={},h=r.NATIVE="N",A=r.POLYFILL="P";i.exports=r},"./node_modules/core-js/internals/is-object.js":function(i){i.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},"./node_modules/core-js/internals/is-pure.js":function(i){i.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(i,t,a){var e=a("./node_modules/core-js/internals/get-built-in.js"),l=a("./node_modules/core-js/internals/use-symbol-as-uid.js");i.exports=l?function(r){return typeof r=="symbol"}:function(r){var s=e("Symbol");return typeof s=="function"&&Object(r)instanceof s}},"./node_modules/core-js/internals/iterators-core.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/fails.js"),l=a("./node_modules/core-js/internals/object-get-prototype-of.js"),r=a("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=a("./node_modules/core-js/internals/has.js"),u=a("./node_modules/core-js/internals/well-known-symbol.js"),h=a("./node_modules/core-js/internals/is-pure.js"),A=u("iterator"),y=!1,w=function(){return this},b,x,O;[].keys&&(O=[].keys(),"next"in O?(x=l(l(O)),x!==Object.prototype&&(b=x)):y=!0);var T=b==null||e(function(){var E={};return b[A].call(E)!==E});T&&(b={}),(!h||T)&&!s(b,A)&&r(b,A,w),i.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:y}},"./node_modules/core-js/internals/iterators.js":function(i){i.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(i,t,a){var e=a("./node_modules/core-js/internals/engine-v8-version.js"),l=a("./node_modules/core-js/internals/fails.js");i.exports=!!Object.getOwnPropertySymbols&&!l(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&e&&e<41})},"./node_modules/core-js/internals/native-weak-map.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/inspect-source.js"),r=e.WeakMap;i.exports=typeof r=="function"&&/native code/.test(l(r))},"./node_modules/core-js/internals/object-assign.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/descriptors.js"),l=a("./node_modules/core-js/internals/fails.js"),r=a("./node_modules/core-js/internals/object-keys.js"),s=a("./node_modules/core-js/internals/object-get-own-property-symbols.js"),u=a("./node_modules/core-js/internals/object-property-is-enumerable.js"),h=a("./node_modules/core-js/internals/to-object.js"),A=a("./node_modules/core-js/internals/indexed-object.js"),y=Object.assign,w=Object.defineProperty;i.exports=!y||l(function(){if(e&&y({b:1},y(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},x={},O=Symbol(),T="abcdefghijklmnopqrst";return b[O]=7,T.split("").forEach(function(E){x[E]=E}),y({},b)[O]!=7||r(y({},x)).join("")!=T})?function(x,O){for(var T=h(x),E=arguments.length,C=1,_=s.f,L=u.f;E>C;)for(var P=A(arguments[C++]),k=_?r(P).concat(_(P)):r(P),F=k.length,j=0,z;F>j;)z=k[j++],(!e||L.call(P,z))&&(T[z]=P[z]);return T}:y},"./node_modules/core-js/internals/object-create.js":function(i,t,a){var e=a("./node_modules/core-js/internals/an-object.js"),l=a("./node_modules/core-js/internals/object-define-properties.js"),r=a("./node_modules/core-js/internals/enum-bug-keys.js"),s=a("./node_modules/core-js/internals/hidden-keys.js"),u=a("./node_modules/core-js/internals/html.js"),h=a("./node_modules/core-js/internals/document-create-element.js"),A=a("./node_modules/core-js/internals/shared-key.js"),y=">",w="<",b="prototype",x="script",O=A("IE_PROTO"),T=function(){},E=function(F){return w+x+y+F+w+"/"+x+y},C=function(F){F.write(E("")),F.close();var j=F.parentWindow.Object;return F=null,j},_=function(){var F=h("iframe"),j="java"+x+":",z;if(F.style)return F.style.display="none",u.appendChild(F),F.src=String(j),z=F.contentWindow.document,z.open(),z.write(E("document.F=Object")),z.close(),z.F},L,P=function(){try{L=new ActiveXObject("htmlfile")}catch(j){}P=document.domain&&L?C(L):_()||C(L);for(var F=r.length;F--;)delete P[b][r[F]];return P()};s[O]=!0,i.exports=Object.create||function(F,j){var z;return F!==null?(T[b]=e(F),z=new T,T[b]=null,z[O]=F):z=P(),j===void 0?z:l(z,j)}},"./node_modules/core-js/internals/object-define-properties.js":function(i,t,a){var e=a("./node_modules/core-js/internals/descriptors.js"),l=a("./node_modules/core-js/internals/object-define-property.js"),r=a("./node_modules/core-js/internals/an-object.js"),s=a("./node_modules/core-js/internals/object-keys.js");i.exports=e?Object.defineProperties:function(h,A){r(h);for(var y=s(A),w=y.length,b=0,x;w>b;)l.f(h,x=y[b++],A[x]);return h}},"./node_modules/core-js/internals/object-define-property.js":function(i,t,a){var e=a("./node_modules/core-js/internals/descriptors.js"),l=a("./node_modules/core-js/internals/ie8-dom-define.js"),r=a("./node_modules/core-js/internals/an-object.js"),s=a("./node_modules/core-js/internals/to-property-key.js"),u=Object.defineProperty;t.f=e?u:function(A,y,w){if(r(A),y=s(y),r(w),l)try{return u(A,y,w)}catch(b){}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(A[y]=w.value),A}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(i,t,a){var e=a("./node_modules/core-js/internals/descriptors.js"),l=a("./node_modules/core-js/internals/object-property-is-enumerable.js"),r=a("./node_modules/core-js/internals/create-property-descriptor.js"),s=a("./node_modules/core-js/internals/to-indexed-object.js"),u=a("./node_modules/core-js/internals/to-property-key.js"),h=a("./node_modules/core-js/internals/has.js"),A=a("./node_modules/core-js/internals/ie8-dom-define.js"),y=Object.getOwnPropertyDescriptor;t.f=e?y:function(b,x){if(b=s(b),x=u(x),A)try{return y(b,x)}catch(O){}if(h(b,x))return r(!l.f.call(b,x),b[x])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-indexed-object.js"),l=a("./node_modules/core-js/internals/object-get-own-property-names.js").f,r={}.toString,s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(A){try{return l(A)}catch(y){return s.slice()}};i.exports.f=function(A){return s&&r.call(A)=="[object Window]"?u(A):l(e(A))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(i,t,a){var e=a("./node_modules/core-js/internals/object-keys-internal.js"),l=a("./node_modules/core-js/internals/enum-bug-keys.js"),r=l.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(u){return e(u,r)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(i,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(i,t,a){var e=a("./node_modules/core-js/internals/has.js"),l=a("./node_modules/core-js/internals/to-object.js"),r=a("./node_modules/core-js/internals/shared-key.js"),s=a("./node_modules/core-js/internals/correct-prototype-getter.js"),u=r("IE_PROTO"),h=Object.prototype;i.exports=s?Object.getPrototypeOf:function(A){return A=l(A),e(A,u)?A[u]:typeof A.constructor=="function"&&A instanceof A.constructor?A.constructor.prototype:A instanceof Object?h:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(i,t,a){var e=a("./node_modules/core-js/internals/has.js"),l=a("./node_modules/core-js/internals/to-indexed-object.js"),r=a("./node_modules/core-js/internals/array-includes.js").indexOf,s=a("./node_modules/core-js/internals/hidden-keys.js");i.exports=function(u,h){var A=l(u),y=0,w=[],b;for(b in A)!e(s,b)&&e(A,b)&&w.push(b);for(;h.length>y;)e(A,b=h[y++])&&(~r(w,b)||w.push(b));return w}},"./node_modules/core-js/internals/object-keys.js":function(i,t,a){var e=a("./node_modules/core-js/internals/object-keys-internal.js"),l=a("./node_modules/core-js/internals/enum-bug-keys.js");i.exports=Object.keys||function(s){return e(s,l)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(i,t){"use strict";var a={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,l=e&&!a.call({1:2},1);t.f=l?function(s){var u=e(this,s);return!!u&&u.enumerable}:a},"./node_modules/core-js/internals/object-set-prototype-of.js":function(i,t,a){var e=a("./node_modules/core-js/internals/an-object.js"),l=a("./node_modules/core-js/internals/a-possible-prototype.js");i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r=!1,s={},u;try{u=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,u.call(s,[]),r=s instanceof Array}catch(h){}return function(A,y){return e(A),l(y),r?u.call(A,y):A.__proto__=y,A}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/to-string-tag-support.js"),l=a("./node_modules/core-js/internals/classof.js");i.exports=e?{}.toString:function(){return"[object "+l(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(i,t,a){var e=a("./node_modules/core-js/internals/is-object.js");i.exports=function(l,r){var s,u;if(r==="string"&&typeof(s=l.toString)=="function"&&!e(u=s.call(l)))return u;if(typeof(s=l.valueOf)=="function"&&!e(u=s.call(l)))return u;if(r!=="string"&&typeof(s=l.toString)=="function"&&!e(u=s.call(l)))return u;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(i,t,a){var e=a("./node_modules/core-js/internals/get-built-in.js"),l=a("./node_modules/core-js/internals/object-get-own-property-names.js"),r=a("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=a("./node_modules/core-js/internals/an-object.js");i.exports=e("Reflect","ownKeys")||function(h){var A=l.f(s(h)),y=r.f;return y?A.concat(y(h)):A}},"./node_modules/core-js/internals/path.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js");i.exports=e},"./node_modules/core-js/internals/redefine.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/create-non-enumerable-property.js"),r=a("./node_modules/core-js/internals/has.js"),s=a("./node_modules/core-js/internals/set-global.js"),u=a("./node_modules/core-js/internals/inspect-source.js"),h=a("./node_modules/core-js/internals/internal-state.js"),A=h.get,y=h.enforce,w=String(String).split("String");(i.exports=function(b,x,O,T){var E=T?!!T.unsafe:!1,C=T?!!T.enumerable:!1,_=T?!!T.noTargetGet:!1,L;if(typeof O=="function"&&(typeof x=="string"&&!r(O,"name")&&l(O,"name",x),L=y(O),L.source||(L.source=w.join(typeof x=="string"?x:""))),b===e){C?b[x]=O:s(x,O);return}else E?!_&&b[x]&&(C=!0):delete b[x];C?b[x]=O:l(b,x,O)})(Function.prototype,"toString",function(){return typeof this=="function"&&A(this).source||u(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/an-object.js");i.exports=function(){var l=e(this),r="";return l.global&&(r+="g"),l.ignoreCase&&(r+="i"),l.multiline&&(r+="m"),l.dotAll&&(r+="s"),l.unicode&&(r+="u"),l.sticky&&(r+="y"),r}},"./node_modules/core-js/internals/require-object-coercible.js":function(i){i.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"./node_modules/core-js/internals/set-global.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js");i.exports=function(l,r){try{Object.defineProperty(e,l,{value:r,configurable:!0,writable:!0})}catch(s){e[l]=r}return r}},"./node_modules/core-js/internals/set-to-string-tag.js":function(i,t,a){var e=a("./node_modules/core-js/internals/object-define-property.js").f,l=a("./node_modules/core-js/internals/has.js"),r=a("./node_modules/core-js/internals/well-known-symbol.js"),s=r("toStringTag");i.exports=function(u,h,A){u&&!l(u=A?u:u.prototype,s)&&e(u,s,{configurable:!0,value:h})}},"./node_modules/core-js/internals/shared-key.js":function(i,t,a){var e=a("./node_modules/core-js/internals/shared.js"),l=a("./node_modules/core-js/internals/uid.js"),r=e("keys");i.exports=function(s){return r[s]||(r[s]=l(s))}},"./node_modules/core-js/internals/shared-store.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/set-global.js"),r="__core-js_shared__",s=e[r]||l(r,{});i.exports=s},"./node_modules/core-js/internals/shared.js":function(i,t,a){var e=a("./node_modules/core-js/internals/is-pure.js"),l=a("./node_modules/core-js/internals/shared-store.js");(i.exports=function(r,s){return l[r]||(l[r]=s!==void 0?s:{})})("versions",[]).push({version:"3.16.0",mode:e?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(i,t,a){var e=a("./node_modules/core-js/internals/fails.js");i.exports=function(l){return e(function(){var r=""[l]('"');return r!==r.toLowerCase()||r.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-integer.js"),l=a("./node_modules/core-js/internals/to-string.js"),r=a("./node_modules/core-js/internals/require-object-coercible.js"),s=function(h){return function(A,y){var w=l(r(A)),b=e(y),x=w.length,O,T;return b<0||b>=x?h?"":void 0:(O=w.charCodeAt(b),O<55296||O>56319||b+1===x||(T=w.charCodeAt(b+1))<56320||T>57343?h?w.charAt(b):O:h?w.slice(b,b+2):(O-55296<<10)+(T-56320)+65536)}};i.exports={codeAt:s(!1),charAt:s(!0)}},"./node_modules/core-js/internals/string-trim.js":function(i,t,a){var e=a("./node_modules/core-js/internals/require-object-coercible.js"),l=a("./node_modules/core-js/internals/to-string.js"),r=a("./node_modules/core-js/internals/whitespaces.js"),s="["+r+"]",u=RegExp("^"+s+s+"*"),h=RegExp(s+s+"*$"),A=function(w){return function(b){var x=l(e(b));return w&1&&(x=x.replace(u,"")),w&2&&(x=x.replace(h,"")),x}};i.exports={start:A(1),end:A(2),trim:A(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-integer.js"),l=Math.max,r=Math.min;i.exports=function(s,u){var h=e(s);return h<0?l(h+u,0):r(h,u)}},"./node_modules/core-js/internals/to-indexed-object.js":function(i,t,a){var e=a("./node_modules/core-js/internals/indexed-object.js"),l=a("./node_modules/core-js/internals/require-object-coercible.js");i.exports=function(r){return e(l(r))}},"./node_modules/core-js/internals/to-integer.js":function(i){var t=Math.ceil,a=Math.floor;i.exports=function(e){return isNaN(e=+e)?0:(e>0?a:t)(e)}},"./node_modules/core-js/internals/to-length.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-integer.js"),l=Math.min;i.exports=function(r){return r>0?l(e(r),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(i,t,a){var e=a("./node_modules/core-js/internals/require-object-coercible.js");i.exports=function(l){return Object(e(l))}},"./node_modules/core-js/internals/to-primitive.js":function(i,t,a){var e=a("./node_modules/core-js/internals/is-object.js"),l=a("./node_modules/core-js/internals/is-symbol.js"),r=a("./node_modules/core-js/internals/ordinary-to-primitive.js"),s=a("./node_modules/core-js/internals/well-known-symbol.js"),u=s("toPrimitive");i.exports=function(h,A){if(!e(h)||l(h))return h;var y=h[u],w;if(y!==void 0){if(A===void 0&&(A="default"),w=y.call(h,A),!e(w)||l(w))return w;throw TypeError("Can't convert object to primitive value")}return A===void 0&&(A="number"),r(h,A)}},"./node_modules/core-js/internals/to-property-key.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-primitive.js"),l=a("./node_modules/core-js/internals/is-symbol.js");i.exports=function(r){var s=e(r,"string");return l(s)?s:String(s)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(i,t,a){var e=a("./node_modules/core-js/internals/well-known-symbol.js"),l=e("toStringTag"),r={};r[l]="z",i.exports=String(r)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(i,t,a){var e=a("./node_modules/core-js/internals/is-symbol.js");i.exports=function(l){if(e(l))throw TypeError("Cannot convert a Symbol value to a string");return String(l)}},"./node_modules/core-js/internals/uid.js":function(i){var t=0,a=Math.random();i.exports=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++t+a).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(i,t,a){var e=a("./node_modules/core-js/internals/native-symbol.js");i.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(i,t,a){var e=a("./node_modules/core-js/internals/well-known-symbol.js");t.f=e},"./node_modules/core-js/internals/well-known-symbol.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/shared.js"),r=a("./node_modules/core-js/internals/has.js"),s=a("./node_modules/core-js/internals/uid.js"),u=a("./node_modules/core-js/internals/native-symbol.js"),h=a("./node_modules/core-js/internals/use-symbol-as-uid.js"),A=l("wks"),y=e.Symbol,w=h?y:y&&y.withoutSetter||s;i.exports=function(b){return(!r(A,b)||!(u||typeof A[b]=="string"))&&(u&&r(y,b)?A[b]=y[b]:A[b]=w("Symbol."+b)),A[b]}},"./node_modules/core-js/internals/whitespaces.js":function(i){i.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/fails.js"),r=a("./node_modules/core-js/internals/is-array.js"),s=a("./node_modules/core-js/internals/is-object.js"),u=a("./node_modules/core-js/internals/to-object.js"),h=a("./node_modules/core-js/internals/to-length.js"),A=a("./node_modules/core-js/internals/create-property.js"),y=a("./node_modules/core-js/internals/array-species-create.js"),w=a("./node_modules/core-js/internals/array-method-has-species-support.js"),b=a("./node_modules/core-js/internals/well-known-symbol.js"),x=a("./node_modules/core-js/internals/engine-v8-version.js"),O=b("isConcatSpreadable"),T=9007199254740991,E="Maximum allowed index exceeded",C=x>=51||!l(function(){var k=[];return k[O]=!1,k.concat()[0]!==k}),_=w("concat"),L=function(F){if(!s(F))return!1;var j=F[O];return j!==void 0?!!j:r(F)},P=!C||!_;e({target:"Array",proto:!0,forced:P},{concat:function(F){var j=u(this),z=y(j,0),R=0,U,B,H,K,V;for(U=-1,H=arguments.length;U<H;U++)if(V=U===-1?j:arguments[U],L(V)){if(K=h(V.length),R+K>T)throw TypeError(E);for(B=0;B<K;B++,R++)B in V&&A(z,R,V[B])}else{if(R>=T)throw TypeError(E);A(z,R++,V)}return z.length=R,z}})},"./node_modules/core-js/modules/es.array.iterator.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/to-indexed-object.js"),l=a("./node_modules/core-js/internals/add-to-unscopables.js"),r=a("./node_modules/core-js/internals/iterators.js"),s=a("./node_modules/core-js/internals/internal-state.js"),u=a("./node_modules/core-js/internals/define-iterator.js"),h="Array Iterator",A=s.set,y=s.getterFor(h);i.exports=u(Array,"Array",function(w,b){A(this,{type:h,target:e(w),index:0,kind:b})},function(){var w=y(this),b=w.target,x=w.kind,O=w.index++;return!b||O>=b.length?(w.target=void 0,{value:void 0,done:!0}):x=="keys"?{value:O,done:!1}:x=="values"?{value:b[O],done:!1}:{value:[O,b[O]],done:!1}},"values"),r.Arguments=r.Array,l("keys"),l("values"),l("entries")},"./node_modules/core-js/modules/es.array.join.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/indexed-object.js"),r=a("./node_modules/core-js/internals/to-indexed-object.js"),s=a("./node_modules/core-js/internals/array-method-is-strict.js"),u=[].join,h=l!=Object,A=s("join",",");e({target:"Array",proto:!0,forced:h||!A},{join:function(w){return u.call(r(this),w===void 0?",":w)}})},"./node_modules/core-js/modules/es.array.map.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/array-iteration.js").map,r=a("./node_modules/core-js/internals/array-method-has-species-support.js"),s=r("map");e({target:"Array",proto:!0,forced:!s},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/is-object.js"),r=a("./node_modules/core-js/internals/is-array.js"),s=a("./node_modules/core-js/internals/to-absolute-index.js"),u=a("./node_modules/core-js/internals/to-length.js"),h=a("./node_modules/core-js/internals/to-indexed-object.js"),A=a("./node_modules/core-js/internals/create-property.js"),y=a("./node_modules/core-js/internals/well-known-symbol.js"),w=a("./node_modules/core-js/internals/array-method-has-species-support.js"),b=w("slice"),x=y("species"),O=[].slice,T=Math.max;e({target:"Array",proto:!0,forced:!b},{slice:function(C,_){var L=h(this),P=u(L.length),k=s(C,P),F=s(_===void 0?P:_,P),j,z,R;if(r(L)&&(j=L.constructor,typeof j=="function"&&(j===Array||r(j.prototype))?j=void 0:l(j)&&(j=j[x],j===null&&(j=void 0)),j===Array||j===void 0))return O.call(L,k,F);for(z=new(j===void 0?Array:j)(T(F-k,0)),R=0;k<F;k++,R++)k in L&&A(z,R,L[k]);return z.length=R,z}})},"./node_modules/core-js/modules/es.function.name.js":function(i,t,a){var e=a("./node_modules/core-js/internals/descriptors.js"),l=a("./node_modules/core-js/internals/object-define-property.js").f,r=Function.prototype,s=r.toString,u=/^\s*function ([^ (]*)/,h="name";e&&!(h in r)&&l(r,h,{configurable:!0,get:function(){try{return s.call(this).match(u)[1]}catch(y){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/descriptors.js"),l=a("./node_modules/core-js/internals/global.js"),r=a("./node_modules/core-js/internals/is-forced.js"),s=a("./node_modules/core-js/internals/redefine.js"),u=a("./node_modules/core-js/internals/has.js"),h=a("./node_modules/core-js/internals/classof-raw.js"),A=a("./node_modules/core-js/internals/inherit-if-required.js"),y=a("./node_modules/core-js/internals/is-symbol.js"),w=a("./node_modules/core-js/internals/to-primitive.js"),b=a("./node_modules/core-js/internals/fails.js"),x=a("./node_modules/core-js/internals/object-create.js"),O=a("./node_modules/core-js/internals/object-get-own-property-names.js").f,T=a("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,E=a("./node_modules/core-js/internals/object-define-property.js").f,C=a("./node_modules/core-js/internals/string-trim.js").trim,_="Number",L=l[_],P=L.prototype,k=h(x(P))==_,F=function(H){if(y(H))throw TypeError("Cannot convert a Symbol value to a number");var K=w(H,"number"),V,W,G,re,ye,$,ve,Ce;if(typeof K=="string"&&K.length>2){if(K=C(K),V=K.charCodeAt(0),V===43||V===45){if(W=K.charCodeAt(2),W===88||W===120)return NaN}else if(V===48){switch(K.charCodeAt(1)){case 66:case 98:G=2,re=49;break;case 79:case 111:G=8,re=55;break;default:return+K}for(ye=K.slice(2),$=ye.length,ve=0;ve<$;ve++)if(Ce=ye.charCodeAt(ve),Ce<48||Ce>re)return NaN;return parseInt(ye,G)}}return+K};if(r(_,!L(" 0o1")||!L("0b1")||L("+0x1"))){for(var j=function(H){var K=arguments.length<1?0:H,V=this;return V instanceof j&&(k?b(function(){P.valueOf.call(V)}):h(V)!=_)?A(new L(F(K)),V,j):F(K)},z=e?O(L):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),R=0,U;z.length>R;R++)u(L,U=z[R])&&!u(j,U)&&E(j,U,T(L,U));j.prototype=P,P.constructor=j,s(l,_,j)}},"./node_modules/core-js/modules/es.object.assign.js":function(i,t,a){var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/object-assign.js");e({target:"Object",stat:!0,forced:Object.assign!==l},{assign:l})},"./node_modules/core-js/modules/es.object.keys.js":function(i,t,a){var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/to-object.js"),r=a("./node_modules/core-js/internals/object-keys.js"),s=a("./node_modules/core-js/internals/fails.js"),u=s(function(){r(1)});e({target:"Object",stat:!0,forced:u},{keys:function(A){return r(l(A))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(i,t,a){var e=a("./node_modules/core-js/internals/to-string-tag-support.js"),l=a("./node_modules/core-js/internals/redefine.js"),r=a("./node_modules/core-js/internals/object-to-string.js");e||l(Object.prototype,"toString",r,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/redefine.js"),l=a("./node_modules/core-js/internals/an-object.js"),r=a("./node_modules/core-js/internals/to-string.js"),s=a("./node_modules/core-js/internals/fails.js"),u=a("./node_modules/core-js/internals/regexp-flags.js"),h="toString",A=RegExp.prototype,y=A[h],w=s(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),b=y.name!=h;(w||b)&&e(RegExp.prototype,h,function(){var O=l(this),T=r(O.source),E=O.flags,C=r(E===void 0&&O instanceof RegExp&&!("flags"in A)?u.call(O):E);return"/"+T+"/"+C},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/string-multibyte.js").charAt,l=a("./node_modules/core-js/internals/to-string.js"),r=a("./node_modules/core-js/internals/internal-state.js"),s=a("./node_modules/core-js/internals/define-iterator.js"),u="String Iterator",h=r.set,A=r.getterFor(u);s(String,"String",function(y){h(this,{type:u,string:l(y),index:0})},function(){var w=A(this),b=w.string,x=w.index,O;return x>=b.length?{value:void 0,done:!0}:(O=e(b,x),w.index+=O.length,{value:O,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/create-html.js"),r=a("./node_modules/core-js/internals/string-html-forced.js");e({target:"String",proto:!0,forced:r("link")},{link:function(u){return l(this,"a","href",u)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/descriptors.js"),r=a("./node_modules/core-js/internals/global.js"),s=a("./node_modules/core-js/internals/has.js"),u=a("./node_modules/core-js/internals/is-object.js"),h=a("./node_modules/core-js/internals/object-define-property.js").f,A=a("./node_modules/core-js/internals/copy-constructor-properties.js"),y=r.Symbol;if(l&&typeof y=="function"&&(!("description"in y.prototype)||y().description!==void 0)){var w={},b=function(){var _=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof b?new y(_):_===void 0?y():y(_);return _===""&&(w[L]=!0),L};A(b,y);var x=b.prototype=y.prototype;x.constructor=b;var O=x.toString,T=String(y("test"))=="Symbol(test)",E=/^Symbol\((.*)\)[^)]+$/;h(x,"description",{configurable:!0,get:function(){var _=u(this)?this.valueOf():this,L=O.call(_);if(s(w,_))return"";var P=T?L.slice(7,-1):L.replace(E,"$1");return P===""?void 0:P}}),e({global:!0,forced:!0},{Symbol:b})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(i,t,a){var e=a("./node_modules/core-js/internals/define-well-known-symbol.js");e("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(i,t,a){"use strict";var e=a("./node_modules/core-js/internals/export.js"),l=a("./node_modules/core-js/internals/global.js"),r=a("./node_modules/core-js/internals/get-built-in.js"),s=a("./node_modules/core-js/internals/is-pure.js"),u=a("./node_modules/core-js/internals/descriptors.js"),h=a("./node_modules/core-js/internals/native-symbol.js"),A=a("./node_modules/core-js/internals/fails.js"),y=a("./node_modules/core-js/internals/has.js"),w=a("./node_modules/core-js/internals/is-array.js"),b=a("./node_modules/core-js/internals/is-object.js"),x=a("./node_modules/core-js/internals/is-symbol.js"),O=a("./node_modules/core-js/internals/an-object.js"),T=a("./node_modules/core-js/internals/to-object.js"),E=a("./node_modules/core-js/internals/to-indexed-object.js"),C=a("./node_modules/core-js/internals/to-property-key.js"),_=a("./node_modules/core-js/internals/to-string.js"),L=a("./node_modules/core-js/internals/create-property-descriptor.js"),P=a("./node_modules/core-js/internals/object-create.js"),k=a("./node_modules/core-js/internals/object-keys.js"),F=a("./node_modules/core-js/internals/object-get-own-property-names.js"),j=a("./node_modules/core-js/internals/object-get-own-property-names-external.js"),z=a("./node_modules/core-js/internals/object-get-own-property-symbols.js"),R=a("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),U=a("./node_modules/core-js/internals/object-define-property.js"),B=a("./node_modules/core-js/internals/object-property-is-enumerable.js"),H=a("./node_modules/core-js/internals/create-non-enumerable-property.js"),K=a("./node_modules/core-js/internals/redefine.js"),V=a("./node_modules/core-js/internals/shared.js"),W=a("./node_modules/core-js/internals/shared-key.js"),G=a("./node_modules/core-js/internals/hidden-keys.js"),re=a("./node_modules/core-js/internals/uid.js"),ye=a("./node_modules/core-js/internals/well-known-symbol.js"),$=a("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ve=a("./node_modules/core-js/internals/define-well-known-symbol.js"),Ce=a("./node_modules/core-js/internals/set-to-string-tag.js"),Se=a("./node_modules/core-js/internals/internal-state.js"),Ke=a("./node_modules/core-js/internals/array-iteration.js").forEach,ue=W("hidden"),Le="Symbol",ee="prototype",le=ye("toPrimitive"),et=Se.set,Re=Se.getterFor(Le),Ae=Object[ee],oe=l.Symbol,ce=r("JSON","stringify"),be=R.f,Te=U.f,Be=j.f,De=B.f,ae=V("symbols"),fe=V("op-symbols"),Oe=V("string-to-symbol-registry"),Je=V("symbol-to-string-registry"),Et=V("wks"),Ze=l.QObject,Ne=!Ze||!Ze[ee]||!Ze[ee].findChild,It=u&&A(function(){return P(Te({},"a",{get:function(){return Te(this,"a",{value:7}).a}})).a!=7})?function(qe,je,q){var wt=be(Ae,je);wt&&delete Ae[je],Te(qe,je,q),wt&&qe!==Ae&&Te(Ae,je,wt)}:Te,Xe=function(je,q){var wt=ae[je]=P(oe[ee]);return et(wt,{type:Le,tag:je,description:q}),u||(wt.description=q),wt},Ot=function(je,q,wt){je===Ae&&Ot(fe,q,wt),O(je);var Vt=C(q);return O(wt),y(ae,Vt)?(wt.enumerable?(y(je,ue)&&je[ue][Vt]&&(je[ue][Vt]=!1),wt=P(wt,{enumerable:L(0,!1)})):(y(je,ue)||Te(je,ue,L(1,{})),je[ue][Vt]=!0),It(je,Vt,wt)):Te(je,Vt,wt)},Bt=function(je,q){O(je);var wt=E(q),Vt=k(wt).concat(te(wt));return Ke(Vt,function(lt){(!u||_t.call(wt,lt))&&Ot(je,lt,wt[lt])}),je},kt=function(je,q){return q===void 0?P(je):Bt(P(je),q)},_t=function(je){var q=C(je),wt=De.call(this,q);return this===Ae&&y(ae,q)&&!y(fe,q)?!1:wt||!y(this,q)||!y(ae,q)||y(this,ue)&&this[ue][q]?wt:!0},Ft=function(je,q){var wt=E(je),Vt=C(q);if(wt===Ae&&y(ae,Vt)&&!y(fe,Vt))return;var lt=be(wt,Vt);return lt&&y(ae,Vt)&&!(y(wt,ue)&&wt[ue][Vt])&&(lt.enumerable=!0),lt},ke=function(je){var q=Be(E(je)),wt=[];return Ke(q,function(Vt){!y(ae,Vt)&&!y(G,Vt)&&wt.push(Vt)}),wt},te=function(je){var q=je===Ae,wt=Be(q?fe:E(je)),Vt=[];return Ke(wt,function(lt){y(ae,lt)&&(!q||y(Ae,lt))&&Vt.push(ae[lt])}),Vt};if(h||(oe=function(){if(this instanceof oe)throw TypeError("Symbol is not a constructor");var je=!arguments.length||arguments[0]===void 0?void 0:_(arguments[0]),q=re(je),wt=function Vt(lt){this===Ae&&Vt.call(fe,lt),y(this,ue)&&y(this[ue],q)&&(this[ue][q]=!1),It(this,q,L(1,lt))};return u&&Ne&&It(Ae,q,{configurable:!0,set:wt}),Xe(q,je)},K(oe[ee],"toString",function(){return Re(this).tag}),K(oe,"withoutSetter",function(qe){return Xe(re(qe),qe)}),B.f=_t,U.f=Ot,R.f=Ft,F.f=j.f=ke,z.f=te,$.f=function(qe){return Xe(ye(qe),qe)},u&&(Te(oe[ee],"description",{configurable:!0,get:function(){return Re(this).description}}),s||K(Ae,"propertyIsEnumerable",_t,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:oe}),Ke(k(Et),function(qe){ve(qe)}),e({target:Le,stat:!0,forced:!h},{for:function(je){var q=_(je);if(y(Oe,q))return Oe[q];var wt=oe(q);return Oe[q]=wt,Je[wt]=q,wt},keyFor:function(je){if(!x(je))throw TypeError(je+" is not a symbol");if(y(Je,je))return Je[je]},useSetter:function(){Ne=!0},useSimple:function(){Ne=!1}}),e({target:"Object",stat:!0,forced:!h,sham:!u},{create:kt,defineProperty:Ot,defineProperties:Bt,getOwnPropertyDescriptor:Ft}),e({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:ke,getOwnPropertySymbols:te}),e({target:"Object",stat:!0,forced:A(function(){z.f(1)})},{getOwnPropertySymbols:function(je){return z.f(T(je))}}),ce){var Q=!h||A(function(){var qe=oe();return ce([qe])!="[null]"||ce({a:qe})!="{}"||ce(Object(qe))!="{}"});e({target:"JSON",stat:!0,forced:Q},{stringify:function(je,q,wt){for(var Vt=[je],lt=1,or;arguments.length>lt;)Vt.push(arguments[lt++]);return or=q,!b(q)&&je===void 0||x(je)?void 0:(w(q)||(q=function(An,hr){if(typeof or=="function"&&(hr=or.call(this,An,hr)),!x(hr))return hr}),Vt[1]=q,ce.apply(null,Vt))}})}oe[ee][le]||H(oe[ee],le,oe[ee].valueOf),Ce(oe,Le),G[ue]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/dom-iterables.js"),r=a("./node_modules/core-js/internals/array-for-each.js"),s=a("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var u in l){var h=e[u],A=h&&h.prototype;if(A&&A.forEach!==r)try{s(A,"forEach",r)}catch(y){A.forEach=r}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(i,t,a){var e=a("./node_modules/core-js/internals/global.js"),l=a("./node_modules/core-js/internals/dom-iterables.js"),r=a("./node_modules/core-js/modules/es.array.iterator.js"),s=a("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=a("./node_modules/core-js/internals/well-known-symbol.js"),h=u("iterator"),A=u("toStringTag"),y=r.values;for(var w in l){var b=e[w],x=b&&b.prototype;if(x){if(x[h]!==y)try{s(x,h,y)}catch(T){x[h]=y}if(x[A]||s(x,A,w),l[w]){for(var O in r)if(x[O]!==r[O])try{s(x,O,r[O])}catch(T){x[O]=r[O]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(i){/*!
* @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(t,a){i.exports=a()})(this,function(){"use strict";function t(Ze){var Ne=typeof Ze;return Ze!==null&&(Ne==="object"||Ne==="function")}function a(Ze){return typeof Ze=="function"}var e=void 0;Array.isArray?e=Array.isArray:e=function(Ne){return Object.prototype.toString.call(Ne)==="[object Array]"};var l=e,r=0,s=void 0,u=void 0,h=function(Ne,It){k[r]=Ne,k[r+1]=It,r+=2,r===2&&(u?u(F):z())};function A(Ze){u=Ze}function y(Ze){h=Ze}var w=typeof window!="undefined"?window:void 0,b=w||{},x=b.MutationObserver||b.WebKitMutationObserver,O=typeof self=="undefined"&&typeof p!="undefined"&&{}.toString.call(p)==="[object process]",T=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function E(){return function(){return p.nextTick(F)}}function C(){return typeof s!="undefined"?function(){s(F)}:P()}function _(){var Ze=0,Ne=new x(F),It=document.createTextNode("");return Ne.observe(It,{characterData:!0}),function(){It.data=Ze=++Ze%2}}function L(){var Ze=new MessageChannel;return Ze.port1.onmessage=F,function(){return Ze.port2.postMessage(0)}}function P(){var Ze=setTimeout;return function(){return Ze(F,1)}}var k=new Array(1e3);function F(){for(var Ze=0;Ze<r;Ze+=2){var Ne=k[Ze],It=k[Ze+1];Ne(It),k[Ze]=void 0,k[Ze+1]=void 0}r=0}function j(){try{var Ze=Function("return this")().require("vertx");return s=Ze.runOnLoop||Ze.runOnContext,C()}catch(Ne){return P()}}var z=void 0;O?z=E():x?z=_():T?z=L():w===void 0&&!0?z=j():z=P();function R(Ze,Ne){var It=this,Xe=new this.constructor(H);Xe[B]===void 0&&ce(Xe);var Ot=It._state;if(Ot){var Bt=arguments[Ot-1];h(function(){return et(Ot,Xe,Bt,It._result)})}else ee(It,Xe,Ze,Ne);return Xe}function U(Ze){var Ne=this;if(Ze&&typeof Ze=="object"&&Ze.constructor===Ne)return Ze;var It=new Ne(H);return Se(It,Ze),It}var B=Math.random().toString(36).substring(2);function H(){}var K=void 0,V=1,W=2;function G(){return new TypeError("You cannot resolve a promise with itself")}function re(){return new TypeError("A promises callback cannot return that same promise.")}function ye(Ze,Ne,It,Xe){try{Ze.call(Ne,It,Xe)}catch(Ot){return Ot}}function $(Ze,Ne,It){h(function(Xe){var Ot=!1,Bt=ye(It,Ne,function(kt){if(Ot)return;Ot=!0,Ne!==kt?Se(Xe,kt):ue(Xe,kt)},function(kt){if(Ot)return;Ot=!0,Le(Xe,kt)},"Settle: "+(Xe._label||" unknown promise"));!Ot&&Bt&&(Ot=!0,Le(Xe,Bt))},Ze)}function ve(Ze,Ne){Ne._state===V?ue(Ze,Ne._result):Ne._state===W?Le(Ze,Ne._result):ee(Ne,void 0,function(It){return Se(Ze,It)},function(It){return Le(Ze,It)})}function Ce(Ze,Ne,It){Ne.constructor===Ze.constructor&&It===R&&Ne.constructor.resolve===U?ve(Ze,Ne):It===void 0?ue(Ze,Ne):a(It)?$(Ze,Ne,It):ue(Ze,Ne)}function Se(Ze,Ne){if(Ze===Ne)Le(Ze,G());else if(t(Ne)){var It=void 0;try{It=Ne.then}catch(Xe){Le(Ze,Xe);return}Ce(Ze,Ne,It)}else ue(Ze,Ne)}function Ke(Ze){Ze._onerror&&Ze._onerror(Ze._result),le(Ze)}function ue(Ze,Ne){if(Ze._state!==K)return;Ze._result=Ne,Ze._state=V,Ze._subscribers.length!==0&&h(le,Ze)}function Le(Ze,Ne){if(Ze._state!==K)return;Ze._state=W,Ze._result=Ne,h(Ke,Ze)}function ee(Ze,Ne,It,Xe){var Ot=Ze._subscribers,Bt=Ot.length;Ze._onerror=null,Ot[Bt]=Ne,Ot[Bt+V]=It,Ot[Bt+W]=Xe,Bt===0&&Ze._state&&h(le,Ze)}function le(Ze){var Ne=Ze._subscribers,It=Ze._state;if(Ne.length===0)return;for(var Xe=void 0,Ot=void 0,Bt=Ze._result,kt=0;kt<Ne.length;kt+=3)Xe=Ne[kt],Ot=Ne[kt+It],Xe?et(It,Xe,Ot,Bt):Ot(Bt);Ze._subscribers.length=0}function et(Ze,Ne,It,Xe){var Ot=a(It),Bt=void 0,kt=void 0,_t=!0;if(Ot){try{Bt=It(Xe)}catch(Ft){_t=!1,kt=Ft}if(Ne===Bt){Le(Ne,re());return}}else Bt=Xe;Ne._state!==K||(Ot&&_t?Se(Ne,Bt):_t===!1?Le(Ne,kt):Ze===V?ue(Ne,Bt):Ze===W&&Le(Ne,Bt))}function Re(Ze,Ne){try{Ne(function(Xe){Se(Ze,Xe)},function(Xe){Le(Ze,Xe)})}catch(It){Le(Ze,It)}}var Ae=0;function oe(){return Ae++}function ce(Ze){Ze[B]=Ae++,Ze._state=void 0,Ze._result=void 0,Ze._subscribers=[]}function be(){return new Error("Array Methods must be provided an Array")}var Te=function(){function Ze(Ne,It){this._instanceConstructor=Ne,this.promise=new Ne(H),this.promise[B]||ce(this.promise),l(It)?(this.length=It.length,this._remaining=It.length,this._result=new Array(this.length),this.length===0?ue(this.promise,this._result):(this.length=this.length||0,this._enumerate(It),this._remaining===0&&ue(this.promise,this._result))):Le(this.promise,be())}return Ze.prototype._enumerate=function(It){for(var Xe=0;this._state===K&&Xe<It.length;Xe++)this._eachEntry(It[Xe],Xe)},Ze.prototype._eachEntry=function(It,Xe){var Ot=this._instanceConstructor,Bt=Ot.resolve;if(Bt===U){var kt=void 0,_t=void 0,Ft=!1;try{kt=It.then}catch(te){Ft=!0,_t=te}if(kt===R&&It._state!==K)this._settledAt(It._state,Xe,It._result);else if(typeof kt!="function")this._remaining--,this._result[Xe]=It;else if(Ot===Je){var ke=new Ot(H);Ft?Le(ke,_t):Ce(ke,It,kt),this._willSettleAt(ke,Xe)}else this._willSettleAt(new Ot(function(te){return te(It)}),Xe)}else this._willSettleAt(Bt(It),Xe)},Ze.prototype._settledAt=function(It,Xe,Ot){var Bt=this.promise;Bt._state===K&&(this._remaining--,It===W?Le(Bt,Ot):this._result[Xe]=Ot),this._remaining===0&&ue(Bt,this._result)},Ze.prototype._willSettleAt=function(It,Xe){var Ot=this;ee(It,void 0,function(Bt){return Ot._settledAt(V,Xe,Bt)},function(Bt){return Ot._settledAt(W,Xe,Bt)})},Ze}();function Be(Ze){return new Te(this,Ze).promise}function De(Ze){var Ne=this;return l(Ze)?new Ne(function(It,Xe){for(var Ot=Ze.length,Bt=0;Bt<Ot;Bt++)Ne.resolve(Ze[Bt]).then(It,Xe)}):new Ne(function(It,Xe){return Xe(new TypeError("You must pass an array to race."))})}function ae(Ze){var Ne=this,It=new Ne(H);return Le(It,Ze),It}function fe(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Oe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Je=function(){function Ze(Ne){this[B]=oe(),this._result=this._state=void 0,this._subscribers=[],H!==Ne&&(typeof Ne!="function"&&fe(),this instanceof Ze?Re(this,Ne):Oe())}return Ze.prototype.catch=function(It){return this.then(null,It)},Ze.prototype.finally=function(It){var Xe=this,Ot=Xe.constructor;return a(It)?Xe.then(function(Bt){return Ot.resolve(It()).then(function(){return Bt})},function(Bt){return Ot.resolve(It()).then(function(){throw Bt})}):Xe.then(It,It)},Ze}();Je.prototype.then=R,Je.all=Be,Je.race=De,Je.resolve=U,Je.reject=ae,Je._setScheduler=A,Je._setAsap=y,Je._asap=h;function Et(){var Ze=void 0;if(typeof v!="undefined")Ze=v;else if(typeof self!="undefined")Ze=self;else try{Ze=Function("return this")()}catch(Xe){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ne=Ze.Promise;if(Ne){var It=null;try{It=Object.prototype.toString.call(Ne.resolve())}catch(Xe){}if(It==="[object Promise]"&&!Ne.cast)return}Ze.Promise=Je}return Je.polyfill=Et,Je.Promise=Je,Je})},html2canvas:function(i){"use strict";i.exports=m},jspdf:function(i){"use strict";i.exports=S}},f={};function d(o){var i=f[o];if(i!==void 0)return i.exports;var t=f[o]={exports:{}};return g[o].call(t.exports,t,t.exports,d),t.exports}!function(){d.n=function(o){var i=o&&o.__esModule?function(){return o.default}:function(){return o};return d.d(i,{a:i}),i}}(),!function(){d.d=function(o,i){for(var t in i)d.o(i,t)&&!d.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:i[t]})}}(),!function(){d.o=function(o,i){return Object.prototype.hasOwnProperty.call(o,i)}}(),!function(){d.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}}();var c={};return!function(){"use strict";/*!**********************!*\
!*** ./src/index.js ***!
\**********************/d.r(c);var o=d("./src/worker.js"),i=d("./src/plugin/jspdf-plugin.js"),t=d("./src/plugin/pagebreaks.js"),a=d("./src/plugin/hyperlinks.js"),e=function l(r,s){var u=new l.Worker(s);return r?u.from(r).save():u};e.Worker=o.default,c.default=e}(),c=c.default,c}()})}).call(this,n("yLpj"),n("Q2Ig"))},"1q3G":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=v;function v(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"1tlw":function(M,N,n){var v=n("MBQ8"),p=v.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(m){return m.stack=null,p.superApply(this,"getInitialData",arguments)}}),S=p;M.exports=S},"1u/T":function(M,N,n){var v=n("ProS"),p={type:"selectDataRange",event:"dataRangeSelected",update:"update"};v.registerAction(p,function(S,m){m.eachComponent({mainType:"visualMap",query:S},function(g){g.setSelected(S.selected)})})},"1vzs":function(M,N,n){"use strict";n.d(N,"a",function(){return r});var v=n("q1tI"),p=n.n(v),S=n("HQEm"),m=n.n(S),g=n("gZBC"),f=n.n(g),d=n("NAnI"),c=n.n(d),o=n("V/uB"),i=n.n(o),t=n("kbBi"),a=n.n(t),e=n("w6Tc"),l=n.n(e);function r(s){var u=s.suffixIcon,h=s.clearIcon,A=s.menuItemSelectedIcon,y=s.removeIcon,w=s.loading,b=s.multiple,x=s.prefixCls,O=h;h||(O=v.createElement(a.a,null));var T=null;if(u!==void 0)T=u;else if(w)T=v.createElement(f.a,{spin:!0});else{var E="".concat(x,"-suffix");T=function(P){var k=P.open,F=P.showSearch;return k&&F?v.createElement(l.a,{className:E}):v.createElement(m.a,{className:E})}}var C=null;A!==void 0?C=A:b?C=v.createElement(c.a,null):C=null;var _=null;return y!==void 0?_=y:_=v.createElement(i.a,null),{clearIcon:O,suffixIcon:T,itemIcon:C,removeIcon:_}}},"1xaR":function(M,N,n){var v=n("ProS"),p=n("bYtY");n("qgGe"),n("NA0q"),n("RPvy");var S=n("mOdp"),m=n("y3NT"),g=n("0/Rx");v.registerVisual(p.curry(S,"sunburst")),v.registerLayout(p.curry(m,"sunburst")),v.registerProcessor(p.curry(g,"sunburst"))},"24YM":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.SensorTabIndex=N.SensorClassName=N.SizeSensorId=void 0;var v="size-sensor-id";N.SizeSensorId=v;var p="size-sensor-object";N.SensorClassName=p;var S="-1";N.SensorTabIndex=S},"2548":function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("6GrX"),m=n("IUWy"),g=n("IwbS"),f=n("Qxkt"),d=n("gPAo"),c=n("eRkO"),o=v.extendComponentView({type:"toolbox",render:function(t,a,e,l){var r=this.group;if(r.removeAll(),!t.get("show"))return;var s=+t.get("itemSize"),u=t.get("feature")||{},h=this._features||(this._features={}),A=[];p.each(u,function(b,x){A.push(x)}),new d(this._featureNames||[],A).add(y).update(y).remove(p.curry(y,null)).execute(),this._featureNames=A;function y(b,x){var O=A[b],T=A[x],E=u[O],C=new f(E,t,t.ecModel),_;if(l&&l.newTitle!=null&&l.featureName===O&&(E.title=l.newTitle),O&&!T){if(i(O))_={model:C,onclick:C.option.onclick,featureName:O};else{var L=m.get(O);if(!L)return;_=new L(C,a,e)}h[O]=_}else{if(_=h[T],!_)return;_.model=C,_.ecModel=a,_.api=e}if(!O&&T){_.dispose&&_.dispose(a,e);return}if(!C.get("show")||_.unusable){_.remove&&_.remove(a,e);return}w(C,_,O),C.setIconStatus=function(P,k){var F=this.option,j=this.iconPaths;F.iconStatus=F.iconStatus||{},F.iconStatus[P]=k,j[P]&&j[P].trigger(k)},_.render&&_.render(C,a,e,l)}function w(b,x,O){var T=b.getModel("iconStyle"),E=b.getModel("emphasis.iconStyle"),C=x.getIcons?x.getIcons():b.get("icon"),_=b.get("title")||{};if(typeof C=="string"){var L=C,P=_;C={},_={},C[O]=L,_[O]=P}var k=b.iconPaths={};p.each(C,function(F,j){var z=g.createIcon(F,{},{x:-s/2,y:-s/2,width:s,height:s});z.setStyle(T.getItemStyle()),z.hoverStyle=E.getItemStyle(),z.setStyle({text:_[j],textAlign:E.get("textAlign"),textBorderRadius:E.get("textBorderRadius"),textPadding:E.get("textPadding"),textFill:null});var R=t.getModel("tooltip");R&&R.get("show")&&z.attr("tooltip",p.extend({content:_[j],formatter:R.get("formatter",!0)||function(){return _[j]},formatterParams:{componentType:"toolbox",name:j,title:_[j],$vars:["name","title"]},position:R.get("position",!0)||"bottom"},R.option)),g.setHoverStyle(z),t.get("showTitle")&&(z.__title=_[j],z.on("mouseover",function(){var U=E.getItemStyle(),B=t.get("orient")==="vertical"?t.get("right")==null?"right":"left":t.get("bottom")==null?"bottom":"top";z.setStyle({textFill:E.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:E.get("textBackgroundColor"),textPosition:E.get("textPosition")||B})}).on("mouseout",function(){z.setStyle({textFill:null,textBackgroundColor:null})})),z.trigger(b.get("iconStatus."+j)||"normal"),r.add(z),z.on("click",p.bind(x.onclick,x,a,e,j)),k[j]=z})}c.layout(r,t,e),r.add(c.makeBackground(r.getBoundingRect(),t)),r.eachChild(function(b){var x=b.__title,O=b.hoverStyle;if(O&&x){var T=S.getBoundingRect(x,S.makeFont(O)),E=b.position[0]+r.position[0],C=b.position[1]+r.position[1]+s,_=!1;C+T.height>e.getHeight()&&(O.textPosition="top",_=!0);var L=_?-5-T.height:s+8;E+T.width/2>e.getWidth()?(O.textPosition=["100%",L],O.textAlign="right"):E-T.width/2<0&&(O.textPosition=[0,L],O.textAlign="left")}})},updateView:function(t,a,e,l){p.each(this._features,function(r){r.updateView&&r.updateView(r.model,a,e,l)})},remove:function(t,a){p.each(this._features,function(e){e.remove&&e.remove(t,a)}),this.group.removeAll()},dispose:function(t,a){p.each(this._features,function(e){e.dispose&&e.dispose(t,a)})}});function i(t){return t.indexOf("my")===0}M.exports=o},"2B6p":function(M,N){function n(v,p,S){var m=v.getZoom(),g=v.getCenter(),f=p.zoom,d=v.dataToPoint(g);if(p.dx!=null&&p.dy!=null){d[0]-=p.dx,d[1]-=p.dy;var g=v.pointToData(d);v.setCenter(g)}if(f!=null){if(S){var c=S.min||0,o=S.max||Infinity;f=Math.max(Math.min(m*f,o),c)/m}v.scale[0]*=f,v.scale[1]*=f;var i=v.position,t=(p.originX-i[0])*(f-1),a=(p.originY-i[1])*(f-1);i[0]-=t,i[1]-=a,v.updateTransform();var g=v.pointToData(d);v.setCenter(g),v.setZoom(f*m)}return{center:v.getCenter(),zoom:v.getZoom()}}N.updateCenterAndZoom=n},"2BaD":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={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"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="CloseCircleOutlined";var d=N.a=p.forwardRef(f)},"2DNl":function(M,N,n){var v=n("IMiH"),p=n("loD1"),S=n("59Ip"),m=n("aKvl"),g=n("n1HI"),f=n("hX1E"),d=f.normalizeRadian,c=n("Sj9i"),o=n("hyiK"),i=v.CMD,t=Math.PI*2,a=1e-4;function e(x,O){return Math.abs(x-O)<a}var l=[-1,-1,-1],r=[-1,-1];function s(){var x=r[0];r[0]=r[1],r[1]=x}function u(x,O,T,E,C,_,L,P,k,F){if(F>O&&F>E&&F>_&&F>P||F<O&&F<E&&F<_&&F<P)return 0;var j=c.cubicRootAt(O,E,_,P,F,l);if(j===0)return 0;for(var z=0,R=-1,U,B,H=0;H<j;H++){var K=l[H],V=K===0||K===1?.5:1,W=c.cubicAt(x,T,C,L,K);if(W<k)continue;R<0&&(R=c.cubicExtrema(O,E,_,P,r),r[1]<r[0]&&R>1&&s(),U=c.cubicAt(O,E,_,P,r[0]),R>1&&(B=c.cubicAt(O,E,_,P,r[1]))),R===2?K<r[0]?z+=U<O?V:-V:K<r[1]?z+=B<U?V:-V:z+=P<B?V:-V:K<r[0]?z+=U<O?V:-V:z+=P<U?V:-V}return z}function h(x,O,T,E,C,_,L,P){if(P>O&&P>E&&P>_||P<O&&P<E&&P<_)return 0;var k=c.quadraticRootAt(O,E,_,P,l);if(k===0)return 0;var F=c.quadraticExtremum(O,E,_);if(F>=0&&F<=1){for(var j=0,z=c.quadraticAt(O,E,_,F),R=0;R<k;R++){var U=l[R]===0||l[R]===1?.5:1,B=c.quadraticAt(x,T,C,l[R]);if(B<L)continue;l[R]<F?j+=z<O?U:-U:j+=_<z?U:-U}return j}else{var U=l[0]===0||l[0]===1?.5:1,B=c.quadraticAt(x,T,C,l[0]);return B<L?0:_<O?U:-U}}function A(x,O,T,E,C,_,L,P){if(P-=O,P>T||P<-T)return 0;var k=Math.sqrt(T*T-P*P);l[0]=-k,l[1]=k;var F=Math.abs(E-C);if(F<1e-4)return 0;if(F%t<1e-4){E=0,C=t;var j=_?1:-1;return L>=l[0]+x&&L<=l[1]+x?j:0}if(_){var k=E;E=d(C),C=d(k)}else E=d(E),C=d(C);E>C&&(C+=t);for(var z=0,R=0;R<2;R++){var U=l[R];if(U+x>L){var B=Math.atan2(P,U),j=_?1:-1;B<0&&(B=t+B),(B>=E&&B<=C||B+t>=E&&B+t<=C)&&(B>Math.PI/2&&B<Math.PI*1.5&&(j=-j),z+=j)}}return z}function y(x,O,T,E,C){for(var _=0,L=0,P=0,k=0,F=0,j=0;j<x.length;){var z=x[j++];z===i.M&&j>1&&(T||(_+=o(L,P,k,F,E,C))),j===1&&(L=x[j],P=x[j+1],k=L,F=P);switch(z){case i.M:k=x[j++],F=x[j++],L=k,P=F;break;case i.L:if(T){if(p.containStroke(L,P,x[j],x[j+1],O,E,C))return!0}else _+=o(L,P,x[j],x[j+1],E,C)||0;L=x[j++],P=x[j++];break;case i.C:if(T){if(S.containStroke(L,P,x[j++],x[j++],x[j++],x[j++],x[j],x[j+1],O,E,C))return!0}else _+=u(L,P,x[j++],x[j++],x[j++],x[j++],x[j],x[j+1],E,C)||0;L=x[j++],P=x[j++];break;case i.Q:if(T){if(m.containStroke(L,P,x[j++],x[j++],x[j],x[j+1],O,E,C))return!0}else _+=h(L,P,x[j++],x[j++],x[j],x[j+1],E,C)||0;L=x[j++],P=x[j++];break;case i.A:var R=x[j++],U=x[j++],B=x[j++],H=x[j++],K=x[j++],V=x[j++];j+=1;var W=1-x[j++],G=Math.cos(K)*B+R,re=Math.sin(K)*H+U;j>1?_+=o(L,P,G,re,E,C):(k=G,F=re);var ye=(E-R)*H/B+R;if(T){if(g.containStroke(R,U,H,K,K+V,W,O,ye,C))return!0}else _+=A(R,U,H,K,K+V,W,ye,C);L=Math.cos(K+V)*B+R,P=Math.sin(K+V)*H+U;break;case i.R:k=L=x[j++],F=P=x[j++];var $=x[j++],ve=x[j++],G=k+$,re=F+ve;if(T){if(p.containStroke(k,F,G,F,O,E,C)||p.containStroke(G,F,G,re,O,E,C)||p.containStroke(G,re,k,re,O,E,C)||p.containStroke(k,re,k,F,O,E,C))return!0}else _+=o(G,F,G,re,E,C),_+=o(k,re,k,F,E,C);break;case i.Z:if(T){if(p.containStroke(L,P,k,F,O,E,C))return!0}else _+=o(L,P,k,F,E,C);L=k,P=F;break}}return!T&&!e(P,F)&&(_+=o(L,P,k,F,E,C)||0),_!==0}function w(x,O,T){return y(x,0,!1,O,T)}function b(x,O,T,E){return y(x,O,!0,T,E)}N.contain=w,N.containStroke=b},"2dDv":function(M,N,n){var v=n("bYtY"),p=n("Fofx"),S=n("+TT/"),m=n("aX7z"),g=n("D1WM"),f=n("IwbS"),d=n("OELB"),c=n("72pK"),o=v.each,i=Math.min,t=Math.max,a=Math.floor,e=Math.ceil,l=d.round,r=Math.PI;function s(w,b,x){this._axesMap=v.createHashMap(),this._axesLayout={},this.dimensions=w.dimensions,this._rect,this._model=w,this._init(w,b,x)}s.prototype={type:"parallel",constructor:s,_init:function(w,b,x){var O=w.dimensions,T=w.parallelAxisIndex;o(O,function(E,C){var _=T[C],L=b.getComponent("parallelAxis",_),P=this._axesMap.set(E,new g(E,m.createScaleByModel(L),[0,0],L.get("type"),_)),k=P.type==="category";P.onBand=k&&L.get("boundaryGap"),P.inverse=L.get("inverse"),L.axis=P,P.model=L,P.coordinateSystem=L.coordinateSystem=this},this)},update:function(w,b){this._updateAxesFromSeries(this._model,w)},containPoint:function(w){var b=this._makeLayoutInfo(),x=b.axisBase,O=b.layoutBase,T=b.pixelDimIndex,E=w[1-T],C=w[T];return E>=x&&E<=x+b.axisLength&&C>=O&&C<=O+b.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(w,b){b.eachSeries(function(x){if(!w.contains(x,b))return;var O=x.getData();o(this.dimensions,function(T){var E=this._axesMap.get(T);E.scale.unionExtentFromData(O,O.mapDimension(T)),m.niceScaleExtent(E.scale,E.model)},this)},this)},resize:function(w,b){this._rect=S.getLayoutRect(w.getBoxLayoutParams(),{width:b.getWidth(),height:b.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var w=this._model,b=this._rect,x=["x","y"],O=["width","height"],T=w.get("layout"),E=T==="horizontal"?0:1,C=b[O[E]],_=[0,C],L=this.dimensions.length,P=u(w.get("axisExpandWidth"),_),k=u(w.get("axisExpandCount")||0,[0,L]),F=w.get("axisExpandable")&&L>3&&L>k&&k>1&&P>0&&C>0,j=w.get("axisExpandWindow"),z;if(j)z=u(j[1]-j[0],_),j[1]=j[0]+z;else{z=u(P*(k-1),_);var R=w.get("axisExpandCenter")||a(L/2);j=[P*R-z/2],j[1]=j[0]+z}var U=(C-z)/(L-k);U<3&&(U=0);var B=[a(l(j[0]/P,1))+1,e(l(j[1]/P,1))-1],H=U/P*j[0];return{layout:T,pixelDimIndex:E,layoutBase:b[x[E]],layoutLength:C,axisBase:b[x[1-E]],axisLength:b[O[1-E]],axisExpandable:F,axisExpandWidth:P,axisCollapseWidth:U,axisExpandWindow:j,axisCount:L,winInnerIndices:B,axisExpandWindow0Pos:H}},_layoutAxes:function(){var w=this._rect,b=this._axesMap,x=this.dimensions,O=this._makeLayoutInfo(),T=O.layout;b.each(function(E){var C=[0,O.axisLength],_=E.inverse?1:0;E.setExtent(C[_],C[1-_])}),o(x,function(E,C){var _=(O.axisExpandable?A:h)(C,O),L={horizontal:{x:_.position,y:O.axisLength},vertical:{x:0,y:_.position}},P={horizontal:r/2,vertical:0},k=[L[T].x+w.x,L[T].y+w.y],F=P[T],j=p.create();p.rotate(j,j,F),p.translate(j,j,k),this._axesLayout[E]={position:k,rotation:F,transform:j,axisNameAvailableWidth:_.axisNameAvailableWidth,axisLabelShow:_.axisLabelShow,nameTruncateMaxWidth:_.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(w){return this._axesMap.get(w)},dataToPoint:function(w,b){return this.axisCoordToPoint(this._axesMap.get(b).dataToCoord(w),b)},eachActiveState:function(w,b,x,O){x==null&&(x=0),O==null&&(O=w.count());var T=this._axesMap,E=this.dimensions,C=[],_=[];v.each(E,function(U){C.push(w.mapDimension(U)),_.push(T.get(U).model)});for(var L=this.hasAxisBrushed(),P=x;P<O;P++){var k;if(!L)k="normal";else{k="active";for(var F=w.getValues(C,P),j=0,z=E.length;j<z;j++){var R=_[j].getActiveState(F[j]);if(R==="inactive"){k="inactive";break}}}b(k,P)}},hasAxisBrushed:function(){for(var w=this.dimensions,b=this._axesMap,x=!1,O=0,T=w.length;O<T;O++)b.get(w[O]).model.getActiveState()!=="normal"&&(x=!0);return x},axisCoordToPoint:function(w,b){var x=this._axesLayout[b];return f.applyTransform([w,0],x.transform)},getAxisLayout:function(w){return v.clone(this._axesLayout[w])},getSlidedAxisExpandWindow:function(w){var b=this._makeLayoutInfo(),x=b.pixelDimIndex,O=b.axisExpandWindow.slice(),T=O[1]-O[0],E=[0,b.axisExpandWidth*(b.axisCount-1)];if(!this.containPoint(w))return{behavior:"none",axisExpandWindow:O};var C=w[x]-b.layoutBase-b.axisExpandWindow0Pos,_,L="slide",P=b.axisCollapseWidth,k=this._model.get("axisExpandSlideTriggerArea"),F=k[0]!=null;if(P)F&&P&&C<T*k[0]?(L="jump",_=C-T*k[2]):F&&P&&C>T*(1-k[0])?(L="jump",_=C-T*(1-k[2])):(_=C-T*k[1])>=0&&(_=C-T*(1-k[1]))<=0&&(_=0),_*=b.axisExpandWidth/P,_?c(_,O,E,"all"):L="none";else{var T=O[1]-O[0],j=E[1]*C/T;O=[t(0,j-T/2)],O[1]=i(E[1],O[0]+T),O[0]=O[1]-T}return{axisExpandWindow:O,behavior:L}}};function u(w,b){return i(t(w,b[0]),b[1])}function h(w,b){var x=b.layoutLength/(b.axisCount-1);return{position:x*w,axisNameAvailableWidth:x,axisLabelShow:!0}}function A(w,b){var x=b.layoutLength,O=b.axisExpandWidth,T=b.axisCount,E=b.axisCollapseWidth,C=b.winInnerIndices,_,L=E,P=!1,k;return w<C[0]?(_=w*E,k=E):w<=C[1]?(_=b.axisExpandWindow0Pos+w*O-b.axisExpandWindow[0],L=O,P=!0):(_=x-(T-1-w)*E,k=E),{position:_,axisNameAvailableWidth:L,axisLabelShow:P,nameTruncateMaxWidth:k}}var y=s;M.exports=y},"2fGM":function(M,N,n){var v=n("bYtY"),p=n("bLfw"),S=n("nkfE"),m=n("ICMv"),g=p.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});v.merge(g.prototype,m);var f={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function d(c,o){return o.type||(o.data?"category":"value")}S("angle",g,d,f.angle),S("radius",g,d,f.radius)},"2fM7":function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("7W2i"),i=n.n(o),t=n("LQ03"),a=n.n(t),e=n("q1tI"),l=n("BGR+"),r=n("TSYQ"),s=n.n(r),u=n("1OyB"),h=n("vuIU"),A=n("Ji7U"),y=n("LK+K"),w=n("rePB"),b=n("Ff2n"),x=n("ODXe"),O=n("4IlW"),T=n("bX4T"),E=n("YrtM"),C=n("+nKL"),_=function(we){var Ee=we.className,Ge=we.customizeIcon,nt=we.customizeIconProps,st=we.onMouseDown,Mt=we.onClick,wr=we.children,Pr;return typeof Ge=="function"?Pr=Ge(nt):Pr=Ge,e.createElement("span",{className:Ee,onMouseDown:function(xt){xt.preventDefault(),st&&st(xt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Mt,"aria-hidden":!0},Pr!==void 0?Pr:e.createElement("span",{className:s()(Ee.split(/\s+/).map(function(qr){return"".concat(qr,"-icon")}))},wr))},L=_,P=function(we,Ee){var Ge=we.prefixCls,nt=we.id,st=we.flattenOptions,Mt=we.childrenAsData,wr=we.values,Pr=we.searchValue,qr=we.multiple,xt=we.defaultActiveFirstOption,rt=we.height,it=we.itemHeight,$t=we.notFoundContent,Dt=we.open,St=we.menuItemSelectedIcon,Ut=we.virtual,vt=we.onSelect,Pt=we.onToggleOpen,br=we.onActiveValue,ur=we.onScroll,fr=we.onMouseEnter,Jr="".concat(Ge,"-item"),Zr=Object(E.a)(function(){return st},[Dt,st],function(We,Qe){return Qe[0]&&We[1]!==Qe[1]}),Fn=e.useRef(null),Rn=function(Qe){Qe.preventDefault()},ei=function(Qe){Fn.current&&Fn.current.scrollTo({index:Qe})},di=function(Qe){for(var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ot=Zr.length,Zt=0;Zt<ot;Zt+=1){var Rr=(Qe+Zt*yt+ot)%ot,Lr=Zr[Rr],Gr=Lr.group,er=Lr.data;if(!Gr&&!er.disabled)return Rr}return-1},gi=e.useState(function(){return di(0)}),Ii=Object(x.a)(gi,2),Ye=Ii[0],ge=Ii[1],Ie=function(Qe){ge(Qe);var yt=Zr[Qe];if(!yt){br(null,-1);return}br(yt.data.value,Qe)};e.useEffect(function(){Ie(xt!==!1?di(0):-1)},[Zr.length,Pr]),e.useEffect(function(){var We=setTimeout(function(){if(!qr&&Dt&&wr.size===1){var Qe=Array.from(wr)[0],yt=Zr.findIndex(function(ot){var Zt=ot.data;return Zt.value===Qe});Ie(yt),ei(yt)}});return function(){return clearTimeout(We)}},[Dt]);var Fe=function(Qe){Qe!==void 0&&vt(Qe,{selected:!wr.has(Qe)}),qr||Pt(!1)};if(e.useImperativeHandle(Ee,function(){return{onKeyDown:function(Qe){var yt=Qe.which;switch(yt){case O.a.UP:case O.a.DOWN:{var ot=0;if(yt===O.a.UP?ot=-1:yt===O.a.DOWN&&(ot=1),ot!==0){var Zt=di(Ye+ot,ot);ei(Zt),Ie(Zt)}break}case O.a.ENTER:{var Rr=Zr[Ye];Rr&&!Rr.data.disabled?Fe(Rr.data.value):Fe(void 0),Dt&&Qe.preventDefault();break}case O.a.ESC:Pt(!1)}},onKeyUp:function(){},scrollTo:function(Qe){ei(Qe)}}}),Zr.length===0)return e.createElement("div",{role:"listbox",id:"".concat(nt,"_list"),className:"".concat(Jr,"-empty"),onMouseDown:Rn},$t);function Ve(We){var Qe=Zr[We];if(!Qe)return null;var yt=Qe.data||{},ot=yt.value,Zt=yt.label,Rr=yt.children,Lr=Object(T.a)(yt,!0),Gr=Mt?Rr:Zt;return Qe?e.createElement("div",Object.assign({"aria-label":typeof Gr=="string"?Gr:null},Lr,{key:We,role:"option",id:"".concat(nt,"_list_").concat(We),"aria-selected":wr.has(ot)}),ot):null}return e.createElement(e.Fragment,null,e.createElement("div",{role:"listbox",id:"".concat(nt,"_list"),style:{height:0,width:0,overflow:"hidden"}},Ve(Ye-1),Ve(Ye),Ve(Ye+1)),e.createElement(C.a,{itemKey:"key",ref:Fn,data:Zr,height:rt,itemHeight:it,fullHeight:!1,onMouseDown:Rn,onScroll:ur,virtual:Ut,onMouseEnter:fr},function(We,Qe){var yt,ot=We.group,Zt=We.groupOption,Rr=We.data,Lr=Rr.label,Gr=Rr.key;if(ot)return e.createElement("div",{className:s()(Jr,"".concat(Jr,"-group"))},Lr!==void 0?Lr:Gr);var er=Rr.disabled,On=Rr.value,yr=Rr.title,gn=Rr.children,tn=Rr.style,Fr=Rr.className,Xn=Object(b.a)(Rr,["disabled","value","title","children","style","className"]),hi=wr.has(On),_i="".concat(Jr,"-option"),Ur=s()(Jr,_i,Fr,(yt={},Object(w.a)(yt,"".concat(_i,"-grouped"),Zt),Object(w.a)(yt,"".concat(_i,"-active"),Ye===Qe&&!er),Object(w.a)(yt,"".concat(_i,"-disabled"),er),Object(w.a)(yt,"".concat(_i,"-selected"),hi),yt)),sn=Mt?gn:Lr,Cn=!St||typeof St=="function"||hi;return e.createElement("div",Object.assign({},Xn,{"aria-selected":hi,className:Ur,title:yr,onMouseMove:function(){if(Ye===Qe||er)return;Ie(Qe)},onClick:function(){er||Fe(On)},style:tn}),e.createElement("div",{className:"".concat(_i,"-content")},sn||On),e.isValidElement(St)||hi,Cn&&e.createElement(L,{className:"".concat(Jr,"-option-state"),customizeIcon:St,customizeIconProps:{isSelected:hi}},hi?"\u2713":null))}))},k=e.forwardRef(P);k.displayName="OptionList";var F=k,j=function(){return null};j.isSelectOption=!0;var z=j,R=function(){return null};R.isSelectOptGroup=!0;var U=R,B=n("VTBJ"),H=n("Zm9Q");function K(xe){var we=xe.key,Ee=xe.props,Ge=Ee.children,nt=Ee.value,st=Object(b.a)(Ee,["children","value"]);return Object(B.a)({key:we,value:nt!==void 0?nt:we,children:Ge},st)}function V(xe){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(H.a)(xe).map(function(Ee,Ge){if(!e.isValidElement(Ee)||!Ee.type)return null;var nt=Ee.type.isSelectOptGroup,st=Ee.key,Mt=Ee.props,wr=Mt.children,Pr=Object(b.a)(Mt,["children"]);return we||!nt?K(Ee):Object(B.a)(Object(B.a)({key:"__RC_SELECT_GRP__".concat(st===null?Ge:st,"__"),label:st},Pr),{},{options:V(wr)})}).filter(function(Ee){return Ee})}var W=n("KQm4"),G=n("T5bk"),re=n("U8pU"),ye=n("Kwbf");function $(xe){return Array.isArray(xe)?xe:xe!==void 0?[xe]:[]}function ve(xe,we){var Ee=we.labelInValue,Ge=we.combobox;if(xe===void 0||xe===""&&Ge)return[];var nt=Array.isArray(xe)?xe:[xe];return Ee?nt.map(function(st){var Mt=st.key,wr=st.value;return wr!==void 0?wr:Mt}):nt}function Ce(xe,we){var Ee=we.optionLabelProp,Ge=we.labelInValue,nt=we.prevValue,st=we.options,Mt=we.getLabeledValue,wr=xe;return Ge&&(wr=wr.map(function(Pr){return Mt(Pr,{options:st,prevValue:nt,labelInValue:Ge,optionLabelProp:Ee})})),wr}function Se(xe,we){var Ee=Object(W.a)(we),Ge;for(Ge=xe.length-1;Ge>=0&&xe[Ge].disabled;Ge-=1);var nt=null;return Ge!==-1&&(nt=Ee[Ge],Ee.splice(Ge,1)),{values:Ee,removedValue:nt}}var Ke=typeof window!="undefined"&&window.document&&window.document.documentElement,ue=Ke,Le=0;function ee(){var xe;return ue?(xe=Le,Le+=1):xe="TEST_OR_SSR",xe}function le(xe,we){var Ee=xe.key,Ge;return"value"in xe&&(Ge=xe.value),Ee!=null?Ee:Ge!==void 0?Ge:"rc-index-key-".concat(we)}function et(xe){var we=[];function Ee(Ge,nt){Ge.forEach(function(st){nt||!("options"in st)?we.push({key:le(st,we.length),groupOption:nt,data:st}):(we.push({key:le(st,we.length),group:!0,data:st}),Ee(st.options,!0))})}return Ee(xe,!1),we}function Re(xe){var we=Object(B.a)({},xe);return"props"in we||Object.defineProperty(we,"props",{get:function(){return Object(ye.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),we}}),we}function Ae(xe,we){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ge=Ee.prevValueOptions,nt=Ge===void 0?[]:Ge,st=new Map;return we.forEach(function(Mt){if(!Mt.group){var wr=Mt.data;st.set(wr.value,wr)}}),xe.map(function(Mt){var wr=st.get(Mt);return wr||(wr=Object(B.a)({},nt.find(function(Pr){return Pr._INTERNAL_OPTION_VALUE_===Mt}))),Re(wr)})}var oe=function(we,Ee){var Ge=Ee.options,nt=Ee.prevValue,st=Ee.labelInValue,Mt=Ee.optionLabelProp,wr=Ae([we],Ge)[0],Pr={value:we},qr,xt=$(nt);return st&&(qr=xt.find(function(rt){return Object(re.a)(rt)==="object"&&"value"in rt?rt.value===we:rt.key===we})),qr&&Object(re.a)(qr)==="object"&&"label"in qr?(Pr.label=qr.label,wr&&typeof qr.label=="string"&&typeof wr[Mt]=="string"&&qr.label.trim()!==wr[Mt].trim()&&Object(ye.a)(!1,"`label` of `value` is not same as `label` in Select options.")):wr&&Mt in wr?Pr.label=wr[Mt]:Pr.label=we,Pr.key=Pr.value,Pr};function ce(xe){return $(xe).join("")}function be(xe){return function(we,Ee){var Ge=we.toLowerCase();if("options"in Ee)return ce(Ee.label).toLowerCase().includes(Ge);var nt=Ee[xe],st=ce(nt).toLowerCase();return st.includes(Ge)}}function Te(xe,we,Ee){var Ge=Ee.optionFilterProp,nt=Ee.filterOption,st=[],Mt;return nt===!1?we:(typeof nt=="function"?Mt=nt:Mt=be(Ge),we.forEach(function(wr){if("options"in wr){var Pr=Mt(xe,wr);if(Pr)st.push(wr);else{var qr=wr.options.filter(function(xt){return Mt(xe,xt)});qr.length&&st.push(Object(B.a)(Object(B.a)({},wr),{},{options:qr}))}return}Mt(xe,Re(wr))&&st.push(wr)}),st)}function Be(xe,we){if(!we||!we.length)return null;var Ee=!1;function Ge(st,Mt){var wr=Object(G.a)(Mt),Pr=wr[0],qr=wr.slice(1);if(!Pr)return[st];var xt=st.split(Pr);return Ee=Ee||xt.length>1,xt.reduce(function(rt,it){return[].concat(Object(W.a)(rt),Object(W.a)(Ge(it,qr)))},[]).filter(function(rt){return rt})}var nt=Ge(xe,we);return Ee?nt:null}function De(xe,we){var Ee=Ae([xe],we)[0];return Ee.disabled}function ae(xe,we,Ee,Ge){var nt=$(we).slice().sort(),st=Object(W.a)(xe),Mt=new Set;return xe.forEach(function(wr){wr.options?wr.options.forEach(function(Pr){Mt.add(Pr.value)}):Mt.add(wr.value)}),nt.forEach(function(wr){var Pr=Ge?wr.value:wr;if(!Mt.has(Pr)){var qr;st.push(Ge?(qr={},Object(w.a)(qr,Ee,wr.label),Object(w.a)(qr,"value",Pr),qr):{value:Pr})}}),st}var fe=n("6cGi"),Oe=n("HTfv"),Je=n("c+Xe"),Et=function(we,Ee){var Ge=we.prefixCls,nt=we.id,st=we.inputElement,Mt=we.disabled,wr=we.tabIndex,Pr=we.autoFocus,qr=we.autoComplete,xt=we.editable,rt=we.accessibilityIndex,it=we.value,$t=we.onKeyDown,Dt=we.onMouseDown,St=we.onChange,Ut=we.onPaste,vt=we.onCompositionStart,Pt=we.onCompositionEnd,br=we.open,ur=we.attrs,fr=st||e.createElement("input",null),Jr=fr,Zr=Jr.ref,Fn=Jr.props,Rn=Fn.onKeyDown,ei=Fn.onChange,di=Fn.onMouseDown,gi=Fn.onCompositionStart,Ii=Fn.onCompositionEnd,Ye=Fn.style;return fr=e.cloneElement(fr,Object(B.a)(Object(B.a)({id:nt,ref:Object(Je.a)(Ee,Zr),disabled:Mt,tabIndex:wr,autoComplete:qr||"off",autoFocus:Pr,className:"".concat(Ge,"-selection-search-input"),style:Object(B.a)(Object(B.a)({},Ye),{},{opacity:xt?null:0}),role:"combobox","aria-expanded":br,"aria-haspopup":"listbox","aria-owns":"".concat(nt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(nt,"_list"),"aria-activedescendant":"".concat(nt,"_list_").concat(rt)},ur),{},{value:xt?it:"",readOnly:!xt,unselectable:xt?null:"on",onKeyDown:function(Ie){$t(Ie),Rn&&Rn(Ie)},onMouseDown:function(Ie){Dt(Ie),di&&di(Ie)},onChange:function(Ie){St(Ie),ei&&ei(Ie)},onCompositionStart:function(Ie){vt(Ie),gi&&gi(Ie)},onCompositionEnd:function(Ie){Pt(Ie),Ii&&Ii(Ie)},onPaste:Ut})),fr},Ze=e.forwardRef(Et);Ze.displayName="Input";var Ne=Ze;function It(xe,we){ue?e.useLayoutEffect(xe,we):e.useEffect(xe,we)}var Xe="__RC_SELECT_MAX_REST_COUNT__",Ot=function(we){var Ee=we.id,Ge=we.prefixCls,nt=we.values,st=we.open,Mt=we.searchValue,wr=we.inputRef,Pr=we.placeholder,qr=we.disabled,xt=we.mode,rt=we.showSearch,it=we.autoFocus,$t=we.autoComplete,Dt=we.accessibilityIndex,St=we.tabIndex,Ut=we.removeIcon,vt=we.choiceTransitionName,Pt=we.maxTagCount,br=we.maxTagTextLength,ur=we.maxTagPlaceholder,fr=ur===void 0?function(On){return"+ ".concat(On.length," ...")}:ur,Jr=we.tagRender,Zr=we.onSelect,Fn=we.onInputChange,Rn=we.onInputPaste,ei=we.onInputKeyDown,di=we.onInputMouseDown,gi=we.onInputCompositionStart,Ii=we.onInputCompositionEnd,Ye=e.useState(!1),ge=Object(x.a)(Ye,2),Ie=ge[0],Fe=ge[1],Ve=e.useRef(null),We=e.useState(0),Qe=Object(x.a)(We,2),yt=Qe[0],ot=Qe[1];e.useEffect(function(){Fe(!0)},[]);var Zt=st||xt==="tags"?Mt:"",Rr=xt==="tags"||st&&rt;It(function(){ot(Ve.current.scrollWidth)},[Zt]);var Lr=nt,Gr;typeof Pt=="number"&&(Gr=nt.length-Pt,Lr=nt.slice(0,Pt)),typeof br=="number"&&(Lr=Lr.map(function(On){var yr=On.label,gn=Object(b.a)(On,["label"]),tn=yr;if(typeof yr=="string"||typeof yr=="number"){var Fr=String(tn);Fr.length>br&&(tn="".concat(Fr.slice(0,br),"..."))}return Object(B.a)(Object(B.a)({},gn),{},{label:tn})})),Gr>0&&Lr.push({key:Xe,label:typeof fr=="function"?fr(nt.slice(Pt)):fr});var er=e.createElement(Oe.CSSMotionList,{component:!1,keys:Lr,motionName:vt,motionAppear:Ie},function(On){var yr=On.key,gn=On.label,tn=On.value,Fr=On.disabled,Xn=On.className,hi=On.style,_i=yr||tn,Ur=yr!==Xe&&!Fr,sn=function(dt){dt.preventDefault(),dt.stopPropagation()},Cn=function(dt){dt&&dt.stopPropagation(),Zr(tn,{selected:!1})};return typeof Jr=="function"?e.createElement("span",{key:_i,onMouseDown:sn,className:Xn,style:hi},Jr({label:gn,value:tn,disabled:Fr,closable:Ur,onClose:Cn})):e.createElement("span",{key:_i,className:s()(Xn,"".concat(Ge,"-selection-item"),Object(w.a)({},"".concat(Ge,"-selection-item-disabled"),Fr)),style:hi},e.createElement("span",{className:"".concat(Ge,"-selection-item-content")},gn),Ur&&e.createElement(L,{className:"".concat(Ge,"-selection-item-remove"),onMouseDown:sn,onClick:Cn,customizeIcon:Ut},"\xD7"))});return e.createElement(e.Fragment,null,er,e.createElement("span",{className:"".concat(Ge,"-selection-search"),style:{width:yt}},e.createElement(Ne,{ref:wr,open:st,prefixCls:Ge,id:Ee,inputElement:null,disabled:qr,autoFocus:it,autoComplete:$t,editable:Rr,accessibilityIndex:Dt,value:Zt,onKeyDown:ei,onMouseDown:di,onChange:Fn,onPaste:Rn,onCompositionStart:gi,onCompositionEnd:Ii,tabIndex:St,attrs:Object(T.a)(we,!0)}),e.createElement("span",{ref:Ve,className:"".concat(Ge,"-selection-search-mirror"),"aria-hidden":!0},Zt,"\xA0")),!nt.length&&!Zt&&e.createElement("span",{className:"".concat(Ge,"-selection-placeholder")},Pr))},Bt=Ot,kt=function(we){var Ee=we.inputElement,Ge=we.prefixCls,nt=we.id,st=we.inputRef,Mt=we.disabled,wr=we.autoFocus,Pr=we.autoComplete,qr=we.accessibilityIndex,xt=we.mode,rt=we.open,it=we.values,$t=we.placeholder,Dt=we.tabIndex,St=we.showSearch,Ut=we.searchValue,vt=we.activeValue,Pt=we.onInputKeyDown,br=we.onInputMouseDown,ur=we.onInputChange,fr=we.onInputPaste,Jr=we.onInputCompositionStart,Zr=we.onInputCompositionEnd,Fn=e.useState(!1),Rn=Object(x.a)(Fn,2),ei=Rn[0],di=Rn[1],gi=xt==="combobox",Ii=gi||St&&rt,Ye=it[0],ge=Ut||"";gi&&vt&&!ei&&(ge=vt),e.useEffect(function(){gi&&di(!1)},[gi,vt]);var Ie=xt!=="combobox"&&!rt?!1:!!ge,Fe=Ye&&(typeof Ye.label=="string"||typeof Ye.label=="number")?Ye.label.toString():void 0;return e.createElement(e.Fragment,null,e.createElement("span",{className:"".concat(Ge,"-selection-search")},e.createElement(Ne,{ref:st,prefixCls:Ge,id:nt,open:rt,inputElement:Ee,disabled:Mt,autoFocus:wr,autoComplete:Pr,editable:Ii,accessibilityIndex:qr,value:ge,onKeyDown:Pt,onMouseDown:br,onChange:function(We){di(!0),ur(We)},onPaste:fr,onCompositionStart:Jr,onCompositionEnd:Zr,tabIndex:Dt,attrs:Object(T.a)(we,!0)})),!gi&&Ye&&!Ie&&e.createElement("span",{className:"".concat(Ge,"-selection-item"),title:Fe},Ye.label),!Ye&&!Ie&&e.createElement("span",{className:"".concat(Ge,"-selection-placeholder")},$t))},_t=kt;function Ft(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,we=e.useRef(null),Ee=e.useRef(null);e.useEffect(function(){return function(){window.clearTimeout(Ee.current)}},[]);function Ge(nt){(nt||we.current===null)&&(we.current=nt),window.clearTimeout(Ee.current),Ee.current=window.setTimeout(function(){we.current=null},xe)}return[function(){return we.current},Ge]}var ke=function(we,Ee){var Ge=Object(e.useRef)(null),nt=Object(e.useRef)(!1),st=we.prefixCls,Mt=we.multiple,wr=we.open,Pr=we.mode,qr=we.showSearch,xt=we.tokenWithEnter,rt=we.onSearch,it=we.onSearchSubmit,$t=we.onToggleOpen,Dt=we.onInputKeyDown,St=we.domRef;e.useImperativeHandle(Ee,function(){return{focus:function(){Ge.current.focus()},blur:function(){Ge.current.blur()}}});var Ut=Ft(0),vt=Object(x.a)(Ut,2),Pt=vt[0],br=vt[1],ur=function(Ie){var Fe=Ie.which;(Fe===O.a.UP||Fe===O.a.DOWN)&&Ie.preventDefault(),Dt&&Dt(Ie),Fe===O.a.ENTER&&Pr==="tags"&&!nt.current&&!wr&&it(Ie.target.value),[O.a.SHIFT,O.a.TAB,O.a.BACKSPACE,O.a.ESC].includes(Fe)||$t(!0)},fr=function(){br(!0)},Jr=Object(e.useRef)(null),Zr=function(Ie){rt(Ie,!0,nt.current)!==!1&&$t(!0)},Fn=function(){nt.current=!0},Rn=function(){nt.current=!1},ei=function(Ie){var Fe=Ie.target.value;if(xt&&Jr.current&&/[\r\n]/.test(Jr.current)){var Ve=Jr.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");Fe=Fe.replace(Ve,Jr.current)}Jr.current=null,Zr(Fe)},di=function(Ie){var Fe=Ie.clipboardData,Ve=Fe.getData("text");Jr.current=Ve},gi=function(Ie){var Fe=Pt();if(Ie.target!==Ge.current){Fe||Ie.preventDefault();var Ve=document.body.style.msTouchAction!==void 0;Ve?setTimeout(function(){Ge.current.focus()}):Ge.current.focus()}(Pr!=="combobox"&&(!qr||!Fe)||!wr)&&(wr&&rt("",!0,!1),$t())},Ii={inputRef:Ge,onInputKeyDown:ur,onInputMouseDown:fr,onInputChange:ei,onInputPaste:di,onInputCompositionStart:Fn,onInputCompositionEnd:Rn},Ye=Mt?e.createElement(Bt,Object.assign({},we,Ii)):e.createElement(_t,Object.assign({},we,Ii));return e.createElement("div",{ref:St,className:"".concat(st,"-selector"),onMouseDown:gi},Ye)},te=e.forwardRef(ke);te.displayName="Selector";var Q=te,qe=n("Uaa1"),je=function(we){var Ee=typeof we!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ee,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ee,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ee,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ee,adjustY:1}}}},q=function(we,Ee){var Ge=we.prefixCls,nt=we.disabled,st=we.visible,Mt=we.children,wr=we.popupElement,Pr=we.containerWidth,qr=we.animation,xt=we.transitionName,rt=we.dropdownStyle,it=we.dropdownClassName,$t=we.direction,Dt=$t===void 0?"ltr":$t,St=we.dropdownMatchSelectWidth,Ut=St===void 0?!0:St,vt=we.dropdownRender,Pt=we.dropdownAlign,br=we.getPopupContainer,ur=we.empty,fr=we.getTriggerDOMNode,Jr=Object(b.a)(we,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Zr="".concat(Ge,"-dropdown"),Fn=wr;vt&&(Fn=vt(wr));var Rn=e.useMemo(function(){return je(Ut)},[Ut]),ei=qr?"".concat(Zr,"-").concat(qr):xt,di=e.useRef(null);e.useImperativeHandle(Ee,function(){return{getPopupElement:function(){return di.current}}});var gi=Object(B.a)({minWidth:Pr},rt);return typeof Ut=="number"?gi.width=Ut:Ut&&(gi.width=Pr),e.createElement(qe.a,Object.assign({},Jr,{showAction:[],hideAction:[],popupPlacement:Dt==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Rn,prefixCls:Zr,popupTransitionName:ei,popup:e.createElement("div",{ref:di},Fn),popupAlign:Pt,popupVisible:st,getPopupContainer:br,popupClassName:s()(it,Object(w.a)({},"".concat(Zr,"-empty"),ur)),popupStyle:gi,getTriggerDOMNode:fr}),Mt)},wt=e.forwardRef(q);wt.displayName="SelectTrigger";var Vt=wt,lt="RC_SELECT_INTERNAL_PROPS_MARK";function or(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,we=e.useState(!1),Ee=Object(x.a)(we,2),Ge=Ee[0],nt=Ee[1],st=e.useRef(null),Mt=function(){window.clearTimeout(st.current)};e.useEffect(function(){return Mt},[]);var wr=function(qr,xt){Mt(),st.current=window.setTimeout(function(){nt(qr),xt&&xt()},xe)};return[Ge,wr,Mt]}function vr(xe,we,Ee){var Ge=e.useRef(null);Ge.current={elements:xe.filter(function(nt){return nt}),open:we,triggerOpen:Ee},e.useEffect(function(){function nt(st){var Mt=st.target;Ge.current.open&&Ge.current.elements.every(function(wr){return!wr.contains(Mt)&&wr!==Mt})&&Ge.current.triggerOpen(!1)}return window.addEventListener("mousedown",nt),function(){return window.removeEventListener("mousedown",nt)}},[])}function An(xe){var we=e.useRef(xe),Ee=e.useMemo(function(){var Ge=new Map;we.current.forEach(function(st){var Mt=st.value,wr=st.label;Mt!==wr&&Ge.set(Mt,wr)});var nt=xe.map(function(st){var Mt=Ge.get(st.value);return st.value===st.label&&Mt?Object(B.a)(Object(B.a)({},st),{},{label:Mt}):st});return we.current=nt,nt},[xe]);return Ee}function hr(xe,we){var Ee=e.useRef(null),Ge=e.useMemo(function(){var st=new Map;return we.forEach(function(Mt){var wr=Mt.data.value;st.set(wr,Mt)}),st},[xe,we]);Ee.current=Ge;var nt=function(Mt){return Mt.map(function(wr){return Ee.current.get(wr)}).filter(Boolean)};return nt}var xr=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function nr(xe){var we=xe.prefixCls,Ee=xe.components.optionList,Ge=xe.convertChildrenToData,nt=xe.flattenOptions,st=xe.getLabeledValue,Mt=xe.filterOptions,wr=xe.isValueDisabled,Pr=xe.findValueOption,qr=xe.warningProps,xt=xe.fillOptionsWithMissingValue,rt=xe.omitDOMProps;function it(Dt,St){var Ut,vt=Dt.prefixCls,Pt=vt===void 0?we:vt,br=Dt.className,ur=Dt.id,fr=Dt.open,Jr=Dt.defaultOpen,Zr=Dt.options,Fn=Dt.children,Rn=Dt.mode,ei=Dt.value,di=Dt.defaultValue,gi=Dt.labelInValue,Ii=Dt.showSearch,Ye=Dt.inputValue,ge=Dt.searchValue,Ie=Dt.filterOption,Fe=Dt.optionFilterProp,Ve=Fe===void 0?"value":Fe,We=Dt.autoClearSearchValue,Qe=We===void 0?!0:We,yt=Dt.onSearch,ot=Dt.allowClear,Zt=Dt.clearIcon,Rr=Dt.showArrow,Lr=Dt.inputIcon,Gr=Dt.menuItemSelectedIcon,er=Dt.disabled,On=Dt.loading,yr=Dt.defaultActiveFirstOption,gn=Dt.notFoundContent,tn=gn===void 0?"Not Found":gn,Fr=Dt.optionLabelProp,Xn=Dt.backfill,hi=Dt.getInputElement,_i=Dt.getPopupContainer,Ur=Dt.listHeight,sn=Ur===void 0?200:Ur,Cn=Dt.listItemHeight,Nt=Cn===void 0?20:Cn,dt=Dt.animation,bt=Dt.transitionName,Tt=Dt.virtual,Lt=Dt.dropdownStyle,pt=Dt.dropdownClassName,Gt=Dt.dropdownMatchSelectWidth,qt=Dt.dropdownRender,rr=Dt.dropdownAlign,mr=Dt.showAction,wn=mr===void 0?[]:mr,fn=Dt.direction,Wn=Dt.tokenSeparators,Yr=Dt.tagRender,Sr=Dt.onPopupScroll,ln=Dt.onDropdownVisibleChange,Tn=Dt.onFocus,In=Dt.onBlur,Un=Dt.onKeyUp,ti=Dt.onKeyDown,li=Dt.onMouseDown,si=Dt.onChange,ki=Dt.onSelect,zi=Dt.onDeselect,Ri=Dt.onClear,Yi=Dt.internalProps,Zn=Yi===void 0?{}:Yi,hn=Object(b.a)(Dt,["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"]),mi=Zn.mark===lt,Hi=rt?rt(hn):hn;xr.forEach(function(Wi){delete Hi[Wi]});var Li=Object(e.useRef)(null),Bi=Object(e.useRef)(null),Ar=Object(e.useRef)(null),ar=Object(e.useRef)(null),on=Object(e.useMemo)(function(){return(Wn||[]).some(function(Wi){return[`
`,`\r
`].includes(Wi)})},[Wn]),Qt=or(),gr=Object(x.a)(Qt,3),Or=gr[0],Kr=gr[1],mn=gr[2],mt=Object(e.useState)(),dr=Object(x.a)(mt,2),pr=dr[0],kr=dr[1];Object(e.useEffect)(function(){kr("rc_select_".concat(ee()))},[]);var nn=ur||pr,un=Fr;un===void 0&&(un=Zr?"label":"children");var en=Rn==="combobox"?!1:gi,Ln=Rn==="tags"||Rn==="multiple",xn=Ii!==void 0?Ii:Ln||Rn==="combobox",Gn=Object(e.useRef)(null);e.useImperativeHandle(St,function(){return{focus:Ar.current.focus,blur:Ar.current.blur}});var ui=Object(fe.a)(di,{value:ei}),Jn=Object(x.a)(ui,2),pi=Jn[0],wi=Jn[1],Ni=Object(e.useMemo)(function(){return ve(pi,{labelInValue:en,combobox:Rn==="combobox"})},[pi,en]),Si=Object(e.useMemo)(function(){return new Set(Ni)},[Ni]),vi=Object(e.useState)(null),Ai=Object(x.a)(vi,2),Ci=Ai[0],Ui=Ai[1],$i=Object(e.useState)(""),Di=Object(x.a)($i,2),ua=Di[0],aa=Di[1],Xi=ua;Rn==="combobox"&&pi!==void 0?Xi=pi:ge!==void 0?Xi=ge:Ye&&(Xi=Ye);var Vi=Object(e.useMemo)(function(){var Wi=Zr;return Wi===void 0&&(Wi=Ge(Fn)),Rn==="tags"&&xt&&(Wi=xt(Wi,pi,un,gi)),Wi||[]},[Zr,Fn,Rn,pi]),ta=Object(e.useMemo)(function(){return nt(Vi,Dt)},[Vi]),Gi=hr(Ni,ta),ga=Object(e.useMemo)(function(){if(!Xi||!xn)return Object(W.a)(Vi);var Wi=Mt(Xi,Vi,{optionFilterProp:Ve,filterOption:Rn==="combobox"&&Ie===void 0?function(){return!0}:Ie});return Rn==="tags"&&Wi.every(function(qi){return qi[Ve]!==Xi})&&Wi.unshift({value:Xi,label:Xi,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Wi},[Vi,Xi,Rn,xn]),ra=Object(e.useMemo)(function(){return nt(ga,Dt)},[ga]);Object(e.useEffect)(function(){ar.current&&ar.current.scrollTo&&ar.current.scrollTo(0)},[Xi]);var pa=Object(e.useMemo)(function(){var Wi=Ni.map(function(qi){var ca=Gi([qi]),ma=st(qi,{options:ca,prevValue:pi,labelInValue:en,optionLabelProp:un});return Object(B.a)(Object(B.a)({},ma),{},{disabled:wr(qi,ca)})});return!Rn&&Wi.length===1&&Wi[0].value===null&&Wi[0].label===null?[]:Wi},[pi,Vi,Rn]);pa=An(pa);var _a=function(qi,ca,ma){var Pa=Gi([qi]),La=Pr([qi],Pa)[0];if(!Zn.skipTriggerSelect){var Za=en?st(qi,{options:Pa,prevValue:pi,labelInValue:en,optionLabelProp:un}):qi;ca&&ki?ki(Za,La):!ca&&zi&&zi(Za,La)}mi&&(ca&&Zn.onRawSelect?Zn.onRawSelect(qi,La,ma):!ca&&Zn.onRawDeselect&&Zn.onRawDeselect(qi,La,ma))},Da=Object(e.useState)([]),Ra=Object(x.a)(Da,2),vo=Ra[0],ja=Ra[1],Ya=function(qi){if(mi&&Zn.skipTriggerChange)return;var ca=Gi(qi),ma=Ce(Array.from(qi),{labelInValue:en,options:ca,getLabeledValue:st,prevValue:pi,optionLabelProp:un}),Pa=Ln?ma:ma[0];if(si&&(Ni.length!==0||ma.length!==0)){var La=Pr(qi,ca,{prevValueOptions:vo});ja(La.map(function(Za,eo){var ko=Object(B.a)({},Za);return Object.defineProperty(ko,"_INTERNAL_OPTION_VALUE_",{get:function(){return qi[eo]}}),ko})),si(Pa,Ln?La:La[0])}wi(Pa)},Ia=function(qi,ca){var ma=ca.selected,Pa=ca.source;if(er)return;var La;Ln?(La=new Set(Ni),ma?La.add(qi):La.delete(qi)):(La=new Set,La.add(qi)),(Ln||!Ln&&Array.from(Ni)[0]!==qi)&&Ya(Array.from(La)),_a(qi,!Ln||ma,Pa),Rn==="combobox"?(aa(String(qi)),Ui("")):(!Ln||Qe)&&(aa(""),Ui(""))},Va=function(qi,ca){Ia(qi,Object(B.a)(Object(B.a)({},ca),{},{source:"option"}))},co=function(qi,ca){Ia(qi,Object(B.a)(Object(B.a)({},ca),{},{source:"selection"}))},Ta=Rn==="combobox"&&hi&&hi()||null,yo=Object(fe.a)(void 0,{defaultValue:Jr,value:fr}),uo=Object(x.a)(yo,2),Xa=uo[0],Oo=uo[1],oa=Xa,qa=!tn&&!ga.length;(er||qa&&oa&&Rn==="combobox")&&(oa=!1);var oo=qa?!1:oa,Ro=function(qi){var ca=qi!==void 0?qi:!oa;Xa!==ca&&!er&&(Oo(ca),ln&&ln(ca))};vr([Li.current,Bi.current&&Bi.current.getPopupElement()],oo,Ro);var Ga=function(qi,ca,ma){var Pa=!0,La=qi;Ui(null);var Za=ma?null:Be(qi,Wn),eo=Za;if(Rn==="combobox")ca&&Ya([La]);else if(Za){La="",Rn!=="tags"&&(eo=Za.map(function(jo){var cs=ta.find(function(Mo){var Lo=Mo.data;return Lo[un]===jo});return cs?cs.data.value:null}).filter(function(jo){return jo!==null}));var ko=Array.from(new Set([].concat(Object(W.a)(Ni),Object(W.a)(eo))));Ya(ko),ko.forEach(function(jo){_a(jo,!0,"input")}),Ro(!1),Pa=!1}return aa(La),yt&&Xi!==La&&yt(La),Pa},_o=function(qi){var ca=Array.from(new Set([].concat(Object(W.a)(Ni),[qi])));Ya(ca),ca.forEach(function(ma){_a(ma,!0,"input")}),aa("")};Object(e.useEffect)(function(){Xa&&!!er&&Oo(!1)},[er]),Object(e.useEffect)(function(){!oa&&!Ln&&Rn!=="combobox"&&Ga("",!1,!1)},[oa]);var go=Ft(),Ja=Object(x.a)(go,2),Fa=Ja[0],ha=Ja[1],tt=function(qi){var ca=Fa(),ma=qi.which;if(!oa&&ma===O.a.ENTER&&Ro(!0),ha(!!Xi),ma===O.a.BACKSPACE&&!ca&&Ln&&!Xi&&Ni.length){var Pa=Se(pa,Ni);Pa.removedValue!==null&&(Ya(Pa.values),_a(Pa.removedValue,!1,"input"))}for(var La=arguments.length,Za=new Array(La>1?La-1:0),eo=1;eo<La;eo++)Za[eo-1]=arguments[eo];if(oa&&ar.current){var ko;(ko=ar.current).onKeyDown.apply(ko,[qi].concat(Za))}ti&&ti.apply(void 0,[qi].concat(Za))},lr=function(qi){for(var ca=arguments.length,ma=new Array(ca>1?ca-1:0),Pa=1;Pa<ca;Pa++)ma[Pa-1]=arguments[Pa];if(oa&&ar.current){var La;(La=ar.current).onKeyUp.apply(La,[qi].concat(ma))}Un&&Un.apply(void 0,[qi].concat(ma))},Mr=Object(e.useRef)(!1),Ir=function(){Kr(!0),er||(Tn&&!Mr.current&&Tn.apply(void 0,arguments),wn.includes("focus")&&Ro(!0)),Mr.current=!0},_n=function(){if(Kr(!1,function(){Mr.current=!1,Ro(!1)}),er)return;Xi&&(Rn==="tags"?(Ga("",!1,!1),Ya(Array.from(new Set([].concat(Object(W.a)(Ni),[Xi]))))):Rn==="multiple"&&aa("")),In&&In.apply(void 0,arguments)},Vr=[];Object(e.useEffect)(function(){return function(){Vr.forEach(function(Wi){return clearTimeout(Wi)}),Vr.splice(0,Vr.length)}},[]);var _r=function(qi){var ca=qi.target,ma=Bi.current&&Bi.current.getPopupElement();if(ma&&ma.contains(ca)){var Pa=setTimeout(function(){var ko=Vr.indexOf(Pa);ko!==-1&&Vr.splice(ko,1),mn(),ma.contains(document.activeElement)||Ar.current.focus()});Vr.push(Pa)}if(li){for(var La=arguments.length,Za=new Array(La>1?La-1:0),eo=1;eo<La;eo++)Za[eo-1]=arguments[eo];li.apply(void 0,[qi].concat(Za))}},Mn=Object(e.useState)(0),Br=Object(x.a)(Mn,2),Sn=Br[0],jn=Br[1],Hn=yr!==void 0?yr:Rn!=="combobox",Bn=function(qi,ca){jn(ca),Xn&&Rn==="combobox"&&qi!==null&&Ui(String(qi))},ri=Object(e.useState)(null),Yn=Object(x.a)(ri,2),ii=Yn[0],ai=Yn[1],Pi=Object(e.useState)({}),yi=Object(x.a)(Pi,2),Ki=yi[1];function va(){Ki({})}It(function(){if(oo){var Wi=Math.ceil(Li.current.offsetWidth);ii!==Wi&&ai(Wi)}},[oo]);var ea=e.createElement(Ee,{ref:ar,prefixCls:Pt,id:nn,open:oa,childrenAsData:!Zr,options:ga,flattenOptions:ra,multiple:Ln,values:Si,height:sn,itemHeight:Nt,onSelect:Va,onToggleOpen:Ro,onActiveValue:Bn,defaultActiveFirstOption:Hn,notFoundContent:tn,onScroll:Sr,searchValue:Xi,menuItemSelectedIcon:Gr,virtual:Tt!==!1&&Gt!==!1,onMouseEnter:va}),Ji,sa=function(){mi&&Zn.onClear&&Zn.onClear(),Ri&&Ri(),Ya([]),Ga("",!1,!1)};!er&&ot&&(Ni.length||Xi)&&(Ji=e.createElement(L,{className:"".concat(Pt,"-clear"),onMouseDown:sa,customizeIcon:Zt},"\xD7"));var fa=Rr!==void 0?Rr:On||!Ln&&Rn!=="combobox",xo;fa&&(xo=e.createElement(L,{className:s()("".concat(Pt,"-arrow"),Object(w.a)({},"".concat(Pt,"-arrow-loading"),On)),customizeIcon:Lr,customizeIconProps:{loading:On,searchValue:Xi,open:oa,focused:Or,showSearch:xn}}));var Qa=s()(Pt,br,(Ut={},Object(w.a)(Ut,"".concat(Pt,"-focused"),Or),Object(w.a)(Ut,"".concat(Pt,"-multiple"),Ln),Object(w.a)(Ut,"".concat(Pt,"-single"),!Ln),Object(w.a)(Ut,"".concat(Pt,"-allow-clear"),ot),Object(w.a)(Ut,"".concat(Pt,"-show-arrow"),fa),Object(w.a)(Ut,"".concat(Pt,"-disabled"),er),Object(w.a)(Ut,"".concat(Pt,"-loading"),On),Object(w.a)(Ut,"".concat(Pt,"-open"),oa),Object(w.a)(Ut,"".concat(Pt,"-customize-input"),Ta),Object(w.a)(Ut,"".concat(Pt,"-show-search"),xn),Ut));return e.createElement("div",Object.assign({className:Qa},Hi,{ref:Li,onMouseDown:_r,onKeyDown:tt,onKeyUp:lr,onFocus:Ir,onBlur:_n}),Or&&!oa&&e.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Ni.join(", "))),e.createElement(Vt,{ref:Bi,disabled:er,prefixCls:Pt,visible:oo,popupElement:ea,containerWidth:ii,animation:dt,transitionName:bt,dropdownStyle:Lt,dropdownClassName:pt,direction:fn,dropdownMatchSelectWidth:Gt,dropdownRender:qt,dropdownAlign:rr,getPopupContainer:_i,empty:!Vi.length,getTriggerDOMNode:function(){return Gn.current}},e.createElement(Q,Object.assign({},Dt,{domRef:Gn,prefixCls:Pt,inputElement:Ta,ref:Ar,id:nn,showSearch:xn,mode:Rn,accessibilityIndex:Sn,multiple:Ln,tagRender:Yr,values:pa,open:oa,onToggleOpen:Ro,searchValue:Xi,activeValue:Ci,onSearch:Ga,onSearchSubmit:_o,onSelect:co,tokenWithEnter:on}))),xo,Ji)}var $t=e.forwardRef(it);return $t}function Yt(xe){var we=xe.mode,Ee=xe.options,Ge=xe.children,nt=xe.backfill,st=xe.allowClear,Mt=xe.placeholder,wr=xe.getInputElement,Pr=xe.showSearch,qr=xe.onSearch,xt=xe.defaultOpen,rt=xe.autoFocus,it=xe.labelInValue,$t=xe.value,Dt=xe.inputValue,St=xe.optionLabelProp,Ut=we==="multiple"||we==="tags",vt=Pr!==void 0?Pr:Ut||we==="combobox",Pt=Ee||V(Ge);if(Object(ye.a)(we!=="tags"||Pt.every(function(Jr){return!Jr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),we==="tags"||we==="combobox"){var br=Pt.some(function(Jr){return Jr.options?Jr.options.some(function(Zr){return typeof("value"in Zr?Zr.value:Zr.key)=="number"}):typeof("value"in Jr?Jr.value:Jr.key)=="number"});Object(ye.a)(!br,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(ye.a)(we!=="combobox"||!St,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(ye.a)(we==="combobox"||!nt,"`backfill` only works with `combobox` mode."),Object(ye.a)(we==="combobox"||!wr,"`getInputElement` only work with `combobox` mode."),Object(ye.b)(we!=="combobox"||!wr||!st||!Mt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),qr&&!vt&&we!=="combobox"&&we!=="tags"&&Object(ye.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(ye.b)(!xt||rt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),$t!=null){var ur=$($t);Object(ye.a)(!it||ur.every(function(Jr){return Object(re.a)(Jr)==="object"&&("key"in Jr||"value"in Jr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(ye.a)(!Ut||Array.isArray($t),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ge){var fr=null;Object(H.a)(Ge).some(function(Jr){if(!e.isValidElement(Jr)||!Jr.type)return!1;var Zr=Jr.type;if(Zr.isSelectOption)return!1;if(Zr.isSelectOptGroup){var Fn=Object(H.a)(Jr.props.children).every(function(Rn){return!e.isValidElement(Rn)||!Jr.type||Rn.type.isSelectOption?!0:(fr=Rn.type,!1)});return!Fn}return fr=Zr,!0}),fr&&Object(ye.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(fr.displayName||fr.name||fr,"`.")),Object(ye.a)(Dt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var gt=Yt,zr=nr({prefixCls:"rc-select",components:{optionList:F},convertChildrenToData:V,flattenOptions:et,getLabeledValue:oe,filterOptions:Te,isValueDisabled:De,findValueOption:Ae,warningProps:gt,fillOptionsWithMissingValue:ae}),pn=function(xe){Object(A.a)(Ee,xe);var we=Object(y.a)(Ee);function Ee(){var Ge;return Object(u.a)(this,Ee),Ge=we.apply(this,arguments),Ge.selectRef=e.createRef(),Ge.focus=function(){Ge.selectRef.current.focus()},Ge.blur=function(){Ge.selectRef.current.blur()},Ge}return Object(h.a)(Ee,[{key:"render",value:function(){return e.createElement(zr,Object.assign({ref:this.selectRef},this.props))}}]),Ee}(e.Component);pn.Option=z,pn.OptGroup=U;var Nn=pn,Vn=Nn,xi=n("H84U"),bn=n("1vzs"),Pn=n("3Nzz"),jt=function(xe){i()(Ee,xe);var we=a()(Ee);function Ee(){var Ge;return f()(this,Ee),Ge=we.apply(this,arguments),Ge.selectRef=e.createRef(),Ge.focus=function(){Ge.selectRef.current&&Ge.selectRef.current.focus()},Ge.blur=function(){Ge.selectRef.current&&Ge.selectRef.current.blur()},Ge.getMode=function(){var nt=Ge.props.mode;return nt==="combobox"?void 0:nt===Ee.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":nt},Ge.renderSelect=function(nt){var st=nt.getPopupContainer,Mt=nt.getPrefixCls,wr=nt.renderEmpty,Pr=nt.direction,qr=nt.virtual,xt=nt.dropdownMatchSelectWidth,rt=Ge.props,it=rt.prefixCls,$t=rt.notFoundContent,Dt=rt.className,St=rt.size,Ut=rt.listHeight,vt=Ut===void 0?256:Ut,Pt=rt.listItemHeight,br=Pt===void 0?24:Pt,ur=rt.getPopupContainer,fr=rt.dropdownClassName,Jr=rt.bordered,Zr=Mt("select",it),Fn=Ge.getMode(),Rn=Fn==="multiple"||Fn==="tags",ei;$t!==void 0?ei=$t:Fn==="combobox"?ei=null:ei=wr("Select");var di=Object(bn.a)(m()(m()({},Ge.props),{multiple:Rn,prefixCls:Zr})),gi=di.suffixIcon,Ii=di.itemIcon,Ye=di.removeIcon,ge=di.clearIcon,Ie=Object(l.default)(Ge.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Fe=s()(fr,p()({},"".concat(Zr,"-dropdown-").concat(Pr),Pr==="rtl"));return e.createElement(Pn.b.Consumer,null,function(Ve){var We,Qe=St||Ve,yt=s()(Dt,(We={},p()(We,"".concat(Zr,"-lg"),Qe==="large"),p()(We,"".concat(Zr,"-sm"),Qe==="small"),p()(We,"".concat(Zr,"-rtl"),Pr==="rtl"),p()(We,"".concat(Zr,"-borderless"),!Jr),We));return e.createElement(Vn,m()({ref:Ge.selectRef,virtual:qr,dropdownMatchSelectWidth:xt},Ie,{listHeight:vt,listItemHeight:br,mode:Fn,prefixCls:Zr,direction:Pr,inputIcon:gi,menuItemSelectedIcon:Ii,removeIcon:Ye,clearIcon:ge,notFoundContent:ei,className:yt,getPopupContainer:ur||st,dropdownClassName:Fe}))})},Ge}return c()(Ee,[{key:"render",value:function(){return e.createElement(xi.a,null,this.renderSelect)}}]),Ee}(e.Component);jt.Option=z,jt.OptGroup=U,jt.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",jt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var At=N.a=jt},"2fw6":function(M,N,n){var v=n("y+Vt"),p=v.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,g,f){f&&m.moveTo(g.cx+g.r,g.cy),m.arc(g.cx,g.cy,g.r,0,Math.PI*2,!0)}});M.exports=p},"2jpz":function(M,N,n){"use strict";n.d(N,"a",function(){return h});var v=n("cDf5"),p=n.n(v),S=n("q1tI"),m=n.n(S),g=n("TSYQ"),f=n.n(g),d=n("gZBC"),c=n.n(d),o=n("vk+C"),i=n.n(o),t=n("pG52"),a=n.n(t),e=n("Csr3"),l=n.n(e),r=n("e5VY"),s=n.n(r),u=n("0n0R");function h(A,y,w,b){var x=b.isLeaf,O=b.expanded,T=b.loading;if(T)return S.createElement(c.a,{className:"".concat(A,"-switcher-loading-icon")});var E;if(w&&p()(w)==="object"&&(E=w.showLeafIcon),x)return w?p()(w)==="object"&&!E?S.createElement("span",{className:"".concat(A,"-switcher-leaf-line")}):S.createElement(i.a,{className:"".concat(A,"-switcher-line-icon")}):null;var C="".concat(A,"-switcher-icon");return Object(u.b)(y)?Object(u.a)(y,{className:f()(y.props.className||"",C)}):y||(w?O?S.createElement(a.a,{className:"".concat(A,"-switcher-line-icon")}):S.createElement(l.a,{className:"".concat(A,"-switcher-line-icon")}):S.createElement(s.a,{className:C}))}},"2oIt":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};N.default=v},"2uGb":function(M,N,n){var v=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var p=n("kMLO"),S=n("nKiI");v.registerVisual(p),v.registerLayout(S)},"2w7y":function(M,N,n){var v=n("ProS");n("qMZE"),n("g0SD"),v.registerPreprocessor(function(p){p.markPoint=p.markPoint||{}})},"33Ds":function(M,N,n){var v=n("ProS"),p=n("b9oc"),S=n("Kagy"),m=n("IUWy"),g=S.toolbox.restore;function f(o){this.model=o}f.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:g.title};var d=f.prototype;d.onclick=function(o,i,t){p.clear(o),i.dispatchAction({type:"restore",from:this.uid})},m.register("restore",f),v.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(o,i){i.resetOption("recreate")});var c=f;M.exports=c},"34/K":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function v(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function p(g,f){for(var d=0;d<f.length;d++){var c=f[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function S(g,f,d){return f&&p(g.prototype,f),d&&p(g,d),g}var m=function(){function g(){v(this,g),this._lines=0}return S(g,[{key:"decodeRect",value:function(d,c,o,i,t,a,e){this._lines===0&&(this._lines=i);var l=e==8?1:4,r=o*l;if(t.rQwait("RAW",r))return!1;var s=c+(i-this._lines),u=Math.min(this._lines,Math.floor(t.rQlen/r)),h=t.rQ,A=t.rQi;if(e==8){for(var y=o*u,w=new Uint8Array(y*4),b=0;b<y;b++)w[b*4+0]=(h[A+b]>>0&3)*255/3,w[b*4+1]=(h[A+b]>>2&3)*255/3,w[b*4+2]=(h[A+b]>>4&3)*255/3,w[b*4+4]=0;h=w,A=0}return a.blitImage(d,s,o,u,h,A),t.rQskipBytes(u*r),this._lines-=u,!(this._lines>0)}}]),g}();N.default=m},"3690":function(M,N,n){"use strict";function v(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(t){return typeof t}:v=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(o)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=m(n("Lo0S"));function S(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return S=function(){return o},o}function m(o){if(o&&o.__esModule)return o;if(o===null||v(o)!=="object"&&typeof o!="function")return{default:o};var i=S();if(i&&i.has(o))return i.get(o);var t={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in o)if(Object.prototype.hasOwnProperty.call(o,e)){var l=a?Object.getOwnPropertyDescriptor(o,e):null;l&&(l.get||l.set)?Object.defineProperty(t,e,l):t[e]=o[e]}return t.default=o,i&&i.set(o,t),t}function g(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function f(o,i){for(var t=0;t<i.length;t++){var a=i[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,a.key,a)}}function d(o,i,t){return i&&f(o.prototype,i),t&&f(o,t),o}var c=function(){function o(){g(this,o),this._tiles=0,this._lastsubencoding=0}return d(o,[{key:"decodeRect",value:function(t,a,e,l,r,s,u){for(this._tiles===0&&(this._tilesX=Math.ceil(e/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var h=1;if(r.rQwait("HEXTILE",h))return!1;var A=r.rQ,y=r.rQi,w=A[y];if(w>30)throw new Error("Illegal hextile subencoding (subencoding: "+w+")");var b=this._totalTiles-this._tiles,x=b%this._tilesX,O=Math.floor(b/this._tilesX),T=t+x*16,E=a+O*16,C=Math.min(16,t+e-T),_=Math.min(16,a+l-E);if(w&1)h+=C*_*4;else if(w&2&&(h+=4),w&4&&(h+=4),w&8){if(h++,r.rQwait("HEXTILE",h))return!1;var L=A[y+h-1];w&16?h+=L*(4+2):h+=L*2}if(r.rQwait("HEXTILE",h))return!1;if(y++,w===0)this._lastsubencoding&1?p.Debug(" Ignoring blank after RAW"):s.fillRect(T,E,C,_,this._background);else if(w&1)s.blitImage(T,E,C,_,A,y),y+=h-1;else{if(w&2&&(this._background=[A[y],A[y+1],A[y+2],A[y+3]],y+=4),w&4&&(this._foreground=[A[y],A[y+1],A[y+2],A[y+3]],y+=4),s.startTile(T,E,C,_,this._background),w&8){var P=A[y];y++;for(var k=0;k<P;k++){var F=void 0;w&16?(F=[A[y],A[y+1],A[y+2],A[y+3]],y+=4):F=this._foreground;var j=A[y];y++;var z=j>>4,R=j&15,U=A[y];y++;var B=(U>>4)+1,H=(U&15)+1;s.subTile(z,R,B,H,F)}}s.finishTile()}r.rQi=y,this._lastsubencoding=w,this._tiles--}return!0}}]),o}();N.default=c},"3C/r":function(M,N){var n=function(S,m){this.image=S,this.repeat=m,this.type="pattern"};n.prototype.getCanvasPattern=function(p){return p.createPattern(this.image,this.repeat||"repeat")};var v=n;M.exports=v},"3CBa":function(M,N,n){var v=n("hydK"),p=v.createElement,S=n("bYtY"),m=n("SUKs"),g=n("y+Vt"),f=n("Dagg"),d=n("dqUG"),c=n("DBLp"),o=n("sW+o"),i=n("n6Mw"),t=n("vKoX"),a=n("P47w"),e=a.path,l=a.image,r=a.text;function s(C){return parseInt(C,10)}function u(C){return C instanceof g?e:C instanceof f?l:C instanceof d?r:e}function h(C,_){return _&&C&&_.parentNode!==C}function A(C,_,L){if(h(C,_)&&L){var P=L.nextSibling;P?C.insertBefore(_,P):C.appendChild(_)}}function y(C,_){if(h(C,_)){var L=C.firstChild;L?C.insertBefore(_,L):C.appendChild(_)}}function w(C,_){_&&C&&_.parentNode===C&&C.removeChild(_)}function b(C){return C.__textSvgEl}function x(C){return C.__svgEl}var O=function(_,L,P,k){this.root=_,this.storage=L,this._opts=P=S.extend({},P||{});var F=p("svg");F.setAttribute("xmlns","http://www.w3.org/2000/svg"),F.setAttribute("version","1.1"),F.setAttribute("baseProfile","full"),F.style.cssText="user-select:none;position:absolute;left:0;top:0;";var j=p("g");F.appendChild(j);var z=p("g");F.appendChild(z),this.gradientManager=new o(k,z),this.clipPathManager=new i(k,z),this.shadowManager=new t(k,z);var R=document.createElement("div");R.style.cssText="overflow:hidden;position:relative",this._svgDom=F,this._svgRoot=z,this._backgroundRoot=j,this._viewport=R,_.appendChild(R),R.appendChild(F),this.resize(P.width,P.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 _=this.getViewportRoot();if(_)return{offsetLeft:_.offsetLeft||0,offsetTop:_.offsetTop||0}},refresh:function(){var _=this.storage.getDisplayList(!0);this._paintList(_)},setBackgroundColor:function(_){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var L=p("rect");L.setAttribute("width",this.getWidth()),L.setAttribute("height",this.getHeight()),L.setAttribute("x",0),L.setAttribute("y",0),L.setAttribute("id",0),L.style.fill=_,this._backgroundRoot.appendChild(L),this._backgroundNode=L},_paintList:function(_){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var L=this._svgRoot,P=this._visibleList,k=_.length,F=[],j;for(j=0;j<k;j++){var z=_[j],R=u(z),U=x(z)||b(z);z.invisible||(z.__dirty&&(R&&R.brush(z),this.clipPathManager.update(z),z.style&&(this.gradientManager.update(z.style.fill),this.gradientManager.update(z.style.stroke),this.shadowManager.update(U,z)),z.__dirty=!1),F.push(z))}var B=c(P,F),H;for(j=0;j<B.length;j++){var K=B[j];if(K.removed)for(var V=0;V<K.count;V++){var z=P[K.indices[V]],U=x(z),W=b(z);w(L,U),w(L,W)}}for(j=0;j<B.length;j++){var K=B[j];if(K.added)for(var V=0;V<K.count;V++){var z=F[K.indices[V]],U=x(z),W=b(z);H?A(L,U,H):y(L,U),U?A(L,W,U):H?A(L,W,H):y(L,W),A(L,W,U),H=W||U||H,this.gradientManager.addWithoutUpdate(U||W,z),this.shadowManager.addWithoutUpdate(U||W,z),this.clipPathManager.markUsed(z)}else if(!K.removed)for(var V=0;V<K.count;V++){var z=F[K.indices[V]],U=x(z),W=b(z),U=x(z),W=b(z);this.gradientManager.markUsed(z),this.gradientManager.addWithoutUpdate(U||W,z),this.shadowManager.markUsed(z),this.shadowManager.addWithoutUpdate(U||W,z),this.clipPathManager.markUsed(z),W&&A(L,W,U),H=U||W||H}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=F},_getDefs:function(_){var L=this._svgDom,P=L.getElementsByTagName("defs");if(P.length===0)if(_){var P=L.insertBefore(p("defs"),L.firstChild);return P.contains||(P.contains=function(F){var j=P.children;if(!j)return!1;for(var z=j.length-1;z>=0;--z)if(j[z]===F)return!0;return!1}),P}else return null;else return P[0]},resize:function(_,L){var P=this._viewport;P.style.display="none";var k=this._opts;if(_!=null&&(k.width=_),L!=null&&(k.height=L),_=this._getSize(0),L=this._getSize(1),P.style.display="",this._width!==_||this._height!==L){this._width=_,this._height=L;var F=P.style;F.width=_+"px",F.height=L+"px";var j=this._svgDom;j.setAttribute("width",_),j.setAttribute("height",L)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",_),this._backgroundNode.setAttribute("height",L))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(_){var L=this._opts,P=["width","height"][_],k=["clientWidth","clientHeight"][_],F=["paddingLeft","paddingTop"][_],j=["paddingRight","paddingBottom"][_];if(L[P]!=null&&L[P]!=="auto")return parseFloat(L[P]);var z=this.root,R=document.defaultView.getComputedStyle(z);return(z[k]||s(R[P])||s(z.style[P]))-(s(R[F])||0)-(s(R[j])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var _=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
\r<`));return"data:image/svg+xml;charset=UTF-8,"+_}};function T(C){return function(){m('In SVG mode painter not support method "'+C+'"')}}S.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){O.prototype[C]=T(C)});var E=O;M.exports=E},"3LNs":function(M,N,n){var v=n("bYtY"),p=n("Yl7c"),S=n("IwbS"),m=n("zTMp"),g=n("YH21"),f=n("iLNv"),d=n("4NO4"),c=d.makeInner,o=c(),i=v.clone,t=v.bind;function a(){}a.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(A,y,w,b){var x=y.get("value"),O=y.get("status");if(this._axisModel=A,this._axisPointerModel=y,this._api=w,!b&&this._lastValue===x&&this._lastStatus===O)return;this._lastValue=x,this._lastStatus=O;var T=this._group,E=this._handle;if(!O||O==="hide"){T&&T.hide(),E&&E.hide();return}T&&T.show(),E&&E.show();var C={};this.makeElOption(C,x,A,y,w);var _=C.graphicKey;_!==this._lastGraphicKey&&this.clear(w),this._lastGraphicKey=_;var L=this._moveAnimation=this.determineAnimation(A,y);if(!T)T=this._group=new S.Group,this.createPointerEl(T,C,A,y),this.createLabelEl(T,C,A,y),w.getZr().add(T);else{var P=v.curry(e,y,L);this.updatePointerEl(T,C,P,y),this.updateLabelEl(T,C,P,y)}u(T,y,!0),this._renderHandle(x)},remove:function(A){this.clear(A)},dispose:function(A){this.clear(A)},determineAnimation:function(A,y){var w=y.get("animation"),b=A.axis,x=b.type==="category",O=y.get("snap");if(!O&&!x)return!1;if(w==="auto"||w==null){var T=this.animationThreshold;if(x&&b.getBandWidth()>T)return!0;if(O){var E=m.getAxisInfo(A).seriesDataCount,C=b.getExtent();return Math.abs(C[0]-C[1])/E>T}return!1}return w===!0},makeElOption:function(A,y,w,b,x){},createPointerEl:function(A,y,w,b){var x=y.pointer;if(x){var O=o(A).pointerEl=new S[x.type](i(y.pointer));A.add(O)}},createLabelEl:function(A,y,w,b){if(y.label){var x=o(A).labelEl=new S.Rect(i(y.label));A.add(x),r(x,b)}},updatePointerEl:function(A,y,w){var b=o(A).pointerEl;b&&y.pointer&&(b.setStyle(y.pointer.style),w(b,{shape:y.pointer.shape}))},updateLabelEl:function(A,y,w,b){var x=o(A).labelEl;x&&(x.setStyle(y.label.style),w(x,{shape:y.label.shape,position:y.label.position}),r(x,b))},_renderHandle:function(A){if(this._dragging||!this.updateHandleTransform)return;var y=this._axisPointerModel,w=this._api.getZr(),b=this._handle,x=y.getModel("handle"),O=y.get("status");if(!x.get("show")||!O||O==="hide"){b&&w.remove(b),this._handle=null;return}var T;this._handle||(T=!0,b=this._handle=S.createIcon(x.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(_){g.stop(_.event)},onmousedown:t(this._onHandleDragMove,this,0,0),drift:t(this._onHandleDragMove,this),ondragend:t(this._onHandleDragEnd,this)}),w.add(b)),u(b,y,!1);var E=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];b.setStyle(x.getItemStyle(null,E));var C=x.get("size");v.isArray(C)||(C=[C,C]),b.attr("scale",[C[0]/2,C[1]/2]),f.createOrUpdate(this,"_doDispatchAxisPointer",x.get("throttle")||0,"fixRate"),this._moveHandleToValue(A,T)},_moveHandleToValue:function(A,y){e(this._axisPointerModel,!y&&this._moveAnimation,this._handle,s(this.getHandleTransform(A,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(A,y){var w=this._handle;if(!w)return;this._dragging=!0;var b=this.updateHandleTransform(s(w),[A,y],this._axisModel,this._axisPointerModel);this._payloadInfo=b,w.stopAnimation(),w.attr(s(b)),o(w).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var A=this._handle;if(!A)return;var y=this._payloadInfo,w=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:y.cursorPoint[0],y:y.cursorPoint[1],tooltipOption:y.tooltipOption,axesInfo:[{axisDim:w.axis.dim,axisIndex:w.componentIndex}]})},_onHandleDragEnd:function(A){this._dragging=!1;var y=this._handle;if(!y)return;var w=this._axisPointerModel.get("value");this._moveHandleToValue(w),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(A){this._lastValue=null,this._lastStatus=null;var y=A.getZr(),w=this._group,b=this._handle;y&&w&&(this._lastGraphicKey=null,w&&y.remove(w),b&&y.remove(b),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(A,y,w){return w=w||0,{x:A[w],y:A[1-w],width:y[w],height:y[1-w]}}},a.prototype.constructor=a;function e(A,y,w,b){l(o(w).lastProp,b)||(o(w).lastProp=b,y?S.updateProps(w,b,A):(w.stopAnimation(),w.attr(b)))}function l(A,y){if(v.isObject(A)&&v.isObject(y)){var w=!0;return v.each(y,function(b,x){w=w&&l(A[x],b)}),!!w}else return A===y}function r(A,y){A[y.get("label.show")?"show":"hide"]()}function s(A){return{position:A.position.slice(),rotation:A.rotation||0}}function u(A,y,w){var b=y.get("z"),x=y.get("zlevel");A&&A.traverse(function(O){O.type!=="group"&&(b!=null&&(O.z=b),x!=null&&(O.zlevel=x),O.silent=w)})}p.enableClassExtend(a);var h=a;M.exports=h},"3OrL":function(M,N,n){var v=n("bYtY"),p=n("6Ic6"),S=n("IwbS"),m=n("y+Vt"),g=["itemStyle"],f=["emphasis","itemStyle"],d=p.extend({type:"boxplot",render:function(e,l,r){var s=e.getData(),u=this.group,h=this._data;this._data||u.removeAll();var A=e.get("layout")==="horizontal"?1:0;s.diff(h).add(function(y){if(s.hasValue(y)){var w=s.getItemLayout(y),b=o(w,s,y,A,!0);s.setItemGraphicEl(y,b),u.add(b)}}).update(function(y,w){var b=h.getItemGraphicEl(w);if(!s.hasValue(y)){u.remove(b);return}var x=s.getItemLayout(y);b?i(x,b,s,y):b=o(x,s,y,A),u.add(b),s.setItemGraphicEl(y,b)}).remove(function(y){var w=h.getItemGraphicEl(y);w&&u.remove(w)}).execute(),this._data=s},remove:function(e){var l=this.group,r=this._data;this._data=null,r&&r.eachItemGraphicEl(function(s){s&&l.remove(s)})},dispose:v.noop}),c=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,l){var r=l.points,s=0;for(e.moveTo(r[s][0],r[s][1]),s++;s<4;s++)e.lineTo(r[s][0],r[s][1]);for(e.closePath();s<r.length;s++)e.moveTo(r[s][0],r[s][1]),s++,e.lineTo(r[s][0],r[s][1])}});function o(e,l,r,s,u){var h=e.ends,A=new c({shape:{points:u?t(h,s,e):h}});return i(e,A,l,r,u),A}function i(e,l,r,s,u){var h=r.hostModel,A=S[u?"initProps":"updateProps"];A(l,{shape:{points:e.ends}},h,s);var y=r.getItemModel(s),w=y.getModel(g),b=r.getItemVisual(s,"color"),x=w.getItemStyle(["borderColor"]);x.stroke=b,x.strokeNoScale=!0,l.useStyle(x),l.z2=100;var O=y.getModel(f).getItemStyle();S.setHoverStyle(l,O)}function t(e,l,r){return v.map(e,function(s){return s=s.slice(),s[l]=r.initBaseline,s})}var a=d;M.exports=a},"3S7+":function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("J4zp"),m=n.n(S),g=n("pVnL"),f=n.n(g),d=n("q1tI"),c=n.n(d),o=n("U8pU"),i=n("VTBJ"),t=n("Ff2n"),a=n("1OyB"),e=n("vuIU"),l=n("JX7q"),r=n("Ji7U"),s=n("LK+K"),u=n("i8i4"),h=n.n(u),A=n("l4aY"),y=n("m+aA"),w=n("c+Xe"),b=n("zT1h"),x=n("QC+M"),O=n("TSYQ"),T=n.n(O);function E(bn,Pn,jt){return jt?bn[0]===Pn[0]:bn[0]===Pn[0]&&bn[1]===Pn[1]}function C(bn,Pn,jt){var At=bn[Pn]||{};return Object(i.a)(Object(i.a)({},At),jt)}function _(bn,Pn,jt,At){for(var xe=jt.points,we=Object.keys(bn),Ee=0;Ee<we.length;Ee+=1){var Ge=we[Ee];if(E(bn[Ge].points,xe,At))return"".concat(Pn,"-placement-").concat(Ge)}return""}var L=n("xEkU"),P=n.n(L),k=n("9mu1"),F=n("rePB"),j=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function z(bn,Pn){var jt={};return jt[bn.toLowerCase()]=Pn.toLowerCase(),jt["Webkit".concat(bn)]="webkit".concat(Pn),jt["Moz".concat(bn)]="moz".concat(Pn),jt["ms".concat(bn)]="MS".concat(Pn),jt["O".concat(bn)]="o".concat(Pn.toLowerCase()),jt}function R(bn,Pn){var jt={animationend:z("Animation","AnimationEnd"),transitionend:z("Transition","TransitionEnd")};return bn&&("AnimationEvent"in Pn||delete jt.animationend.animation,"TransitionEvent"in Pn||delete jt.transitionend.transition),jt}var U=R(j,typeof window!="undefined"?window:{}),B={};if(j){var H=document.createElement("div");B=H.style}var K={};function V(bn){if(K[bn])return K[bn];var Pn=U[bn];if(Pn)for(var jt=Object.keys(Pn),At=jt.length,xe=0;xe<At;xe+=1){var we=jt[xe];if(Object.prototype.hasOwnProperty.call(Pn,we)&&we in B)return K[bn]=Pn[we],K[bn]}return""}var W=V("animationend"),G=V("transitionend"),re=!!(W&&G);function ye(bn,Pn){if(!bn)return null;if(Object(o.a)(bn)==="object"){var jt=Pn.replace(/-\w/g,function(At){return At[1].toUpperCase()});return bn[jt]}return"".concat(bn,"-").concat(Pn)}var $="none",ve="appear",Ce="enter",Se="leave";function Ke(bn){var Pn=bn,jt=!!d.forwardRef;Object(o.a)(bn)==="object"&&(Pn=bn.transitionSupport,jt="forwardRef"in bn?bn.forwardRef:jt);function At(we){return!!(we.motionName&&Pn)}var xe=function(we){Object(r.a)(Ge,we);var Ee=Object(s.a)(Ge);function Ge(){var nt;return Object(a.a)(this,Ge),nt=Ee.apply(this,arguments),nt.$cacheEle=null,nt.node=null,nt.raf=null,nt.destroyed=!1,nt.deadlineId=null,nt.state={status:$,statusActive:!1,newStatus:!1,statusStyle:null},nt.onDomUpdate=function(){var st=nt.state,Mt=st.status,wr=st.newStatus,Pr=nt.props,qr=Pr.onAppearStart,xt=Pr.onEnterStart,rt=Pr.onLeaveStart,it=Pr.onAppearActive,$t=Pr.onEnterActive,Dt=Pr.onLeaveActive,St=Pr.motionAppear,Ut=Pr.motionEnter,vt=Pr.motionLeave;if(!At(nt.props))return;var Pt=nt.getElement();nt.$cacheEle!==Pt&&(nt.removeEventListener(nt.$cacheEle),nt.addEventListener(Pt),nt.$cacheEle=Pt),wr&&Mt===ve&&St?nt.updateStatus(qr,null,null,function(){nt.updateActiveStatus(it,ve)}):wr&&Mt===Ce&&Ut?nt.updateStatus(xt,null,null,function(){nt.updateActiveStatus($t,Ce)}):wr&&Mt===Se&&vt&&nt.updateStatus(rt,null,null,function(){nt.updateActiveStatus(Dt,Se)})},nt.onMotionEnd=function(st){if(st&&!st.deadline&&st.target!==nt.getElement())return;var Mt=nt.state,wr=Mt.status,Pr=Mt.statusActive,qr=nt.props,xt=qr.onAppearEnd,rt=qr.onEnterEnd,it=qr.onLeaveEnd;wr===ve&&Pr?nt.updateStatus(xt,{status:$},st):wr===Ce&&Pr?nt.updateStatus(rt,{status:$},st):wr===Se&&Pr&&nt.updateStatus(it,{status:$},st)},nt.setNodeRef=function(st){var Mt=nt.props.internalRef;nt.node=st,Object(w.b)(Mt,st)},nt.getElement=function(){try{return Object(y.a)(nt.node||Object(l.a)(nt))}catch(st){return nt.$cacheEle}},nt.addEventListener=function(st){if(!st)return;st.addEventListener(G,nt.onMotionEnd),st.addEventListener(W,nt.onMotionEnd)},nt.removeEventListener=function(st){if(!st)return;st.removeEventListener(G,nt.onMotionEnd),st.removeEventListener(W,nt.onMotionEnd)},nt.updateStatus=function(st,Mt,wr,Pr){var qr=st?st(nt.getElement(),wr):null;if(qr===!1||nt.destroyed)return;var xt;Pr&&(xt=function(){nt.nextFrame(Pr)}),nt.setState(Object(i.a)({statusStyle:Object(o.a)(qr)==="object"?qr:null,newStatus:!1},Mt),xt)},nt.updateActiveStatus=function(st,Mt){nt.nextFrame(function(){var wr=nt.state.status;if(wr!==Mt)return;var Pr=nt.props.motionDeadline;nt.updateStatus(st,{statusActive:!0}),Pr>0&&(nt.deadlineId=setTimeout(function(){nt.onMotionEnd({deadline:!0})},Pr))})},nt.nextFrame=function(st){nt.cancelNextFrame(),nt.raf=P()(st)},nt.cancelNextFrame=function(){nt.raf&&(P.a.cancel(nt.raf),nt.raf=null)},nt}return Object(e.a)(Ge,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var st,Mt=this.state,wr=Mt.status,Pr=Mt.statusActive,qr=Mt.statusStyle,xt=this.props,rt=xt.children,it=xt.motionName,$t=xt.visible,Dt=xt.removeOnLeave,St=xt.leavedClassName,Ut=xt.eventProps;return rt?wr===$||!At(this.props)?$t?rt(Object(i.a)({},Ut),this.setNodeRef):Dt?null:rt(Object(i.a)(Object(i.a)({},Ut),{},{className:St}),this.setNodeRef):rt(Object(i.a)(Object(i.a)({},Ut),{},{className:T()(ye(it,wr),(st={},Object(F.a)(st,ye(it,"".concat(wr,"-active")),Pr),Object(F.a)(st,it,typeof it=="string"),st)),style:qr}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(st,Mt){var wr=Mt.prevProps,Pr=Mt.status;if(!At(st))return{};var qr=st.visible,xt=st.motionAppear,rt=st.motionEnter,it=st.motionLeave,$t=st.motionLeaveImmediately,Dt={prevProps:st};return(Pr===ve&&!xt||Pr===Ce&&!rt||Pr===Se&&!it)&&(Dt.status=$,Dt.statusActive=!1,Dt.newStatus=!1),!wr&&qr&&xt&&(Dt.status=ve,Dt.statusActive=!1,Dt.newStatus=!0),wr&&!wr.visible&&qr&&rt&&(Dt.status=Ce,Dt.statusActive=!1,Dt.newStatus=!0),(wr&&wr.visible&&!qr&&it||!wr&&$t&&!qr&&it)&&(Dt.status=Se,Dt.statusActive=!1,Dt.newStatus=!0),Dt}}]),Ge}(d.Component);return xe.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},jt?d.forwardRef(function(we,Ee){return d.createElement(xe,Object.assign({internalRef:Ee},we))}):xe}var ue=Ke(re),Le="add",ee="keep",le="remove",et="removed";function Re(bn){var Pn;return bn&&Object(o.a)(bn)==="object"&&"key"in bn?Pn=bn:Pn={key:bn},Object(i.a)(Object(i.a)({},Pn),{},{key:String(Pn.key)})}function Ae(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return bn.map(Re)}function oe(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],jt=[],At=0,xe=Pn.length,we=Ae(bn),Ee=Ae(Pn);we.forEach(function(st){for(var Mt=!1,wr=At;wr<xe;wr+=1){var Pr=Ee[wr];if(Pr.key===st.key){At<wr&&(jt=jt.concat(Ee.slice(At,wr).map(function(qr){return Object(i.a)(Object(i.a)({},qr),{},{status:Le})})),At=wr),jt.push(Object(i.a)(Object(i.a)({},Pr),{},{status:ee})),At+=1,Mt=!0;break}}Mt||jt.push(Object(i.a)(Object(i.a)({},st),{},{status:le}))}),At<xe&&(jt=jt.concat(Ee.slice(At).map(function(st){return Object(i.a)(Object(i.a)({},st),{},{status:Le})})));var Ge={};jt.forEach(function(st){var Mt=st.key;Ge[Mt]=(Ge[Mt]||0)+1});var nt=Object.keys(Ge).filter(function(st){return Ge[st]>1});return nt.forEach(function(st){jt=jt.filter(function(Mt){var wr=Mt.key,Pr=Mt.status;return wr!==st||Pr!==le}),jt.forEach(function(Mt){Mt.key===st&&(Mt.status=ee)})}),jt}var ce=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function be(bn){var Pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ue,jt=function(At){Object(r.a)(we,At);var xe=Object(s.a)(we);function we(){var Ee;return Object(a.a)(this,we),Ee=xe.apply(this,arguments),Ee.state={keyEntities:[]},Ee.removeKey=function(Ge){Ee.setState(function(nt){var st=nt.keyEntities;return{keyEntities:st.map(function(Mt){return Mt.key!==Ge?Mt:Object(i.a)(Object(i.a)({},Mt),{},{status:et})})}})},Ee}return Object(e.a)(we,[{key:"render",value:function(){var Ge=this,nt=this.state.keyEntities,st=this.props,Mt=st.component,wr=st.children,Pr=Object(t.a)(st,["component","children"]),qr=Mt||d.Fragment,xt={};return ce.forEach(function(rt){xt[rt]=Pr[rt],delete Pr[rt]}),delete Pr.keys,d.createElement(qr,Object.assign({},Pr),nt.map(function(rt){var it=rt.status,$t=Object(t.a)(rt,["status"]),Dt=it===Le||it===ee;return d.createElement(Pn,Object.assign({},xt,{key:$t.key,visible:Dt,eventProps:$t,onLeaveEnd:function(){xt.onLeaveEnd&&xt.onLeaveEnd.apply(xt,arguments),Ge.removeKey($t.key)}}),wr)}))}}],[{key:"getDerivedStateFromProps",value:function(Ge,nt){var st=Ge.keys,Mt=nt.keyEntities,wr=Ae(st);if(!bn)return{keyEntities:wr.map(function(xt){return Object(i.a)(Object(i.a)({},xt),{},{status:ee})})};var Pr=oe(Mt,wr),qr=Mt.length;return{keyEntities:Pr.filter(function(xt){for(var rt=null,it=0;it<qr;it+=1){var $t=Mt[it];if($t.key===xt.key){rt=$t;break}}return!(rt&&rt.status===et&&xt.status===le)})}}}]),we}(d.Component);return jt.defaultProps={component:"div"},jt}var Te=be(re),Be=ue,De=function(Pn,jt){var At=Pn.prefixCls,xe=Pn.className,we=Pn.style,Ee=Pn.children,Ge=Pn.onMouseEnter,nt=Pn.onMouseLeave,st=Pn.onMouseDown,Mt=Pn.onTouchStart,wr=Ee;return d.Children.count(Ee)>1&&(wr=d.createElement("div",{className:"".concat(At,"-content")},Ee)),d.createElement("div",{ref:jt,className:xe,onMouseEnter:Ge,onMouseLeave:nt,onMouseDown:st,onTouchStart:Mt,style:we},wr)},ae=d.forwardRef(De);ae.displayName="PopupInner";var fe=ae;function Oe(bn){var Pn=bn.prefixCls,jt=bn.motion,At=bn.animation,xe=bn.transitionName;return jt||(At?{motionName:"".concat(Pn,"-").concat(At)}:xe?{motionName:xe}:null)}function Je(bn){return bn&&bn.motionName}var Et=function(bn){Object(r.a)(jt,bn);var Pn=Object(s.a)(jt);function jt(){var At;return Object(a.a)(this,jt),At=Pn.apply(this,arguments),At.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},At.popupRef=c.a.createRef(),At.alignRef=c.a.createRef(),At.nextFrameState=null,At.nextFrameId=null,At.onAlign=function(xe,we){var Ee=At.state.status,Ge=At.props,nt=Ge.getClassNameFromAlign,st=Ge.onAlign,Mt=nt(we);Ee==="align"?At.setState({alignClassName:Mt,status:"aligned"},function(){At.alignRef.current.forceAlign()}):Ee==="aligned"?(At.setState({alignClassName:Mt,status:"afterAlign"}),st(xe,we)):At.setState({alignClassName:Mt})},At.onMotionEnd=function(){var xe=At.props.visible;At.setState({status:xe?"AfterMotion":"stable",inMotion:!1})},At.setStateOnNextFrame=function(xe){At.cancelFrameState(),At.nextFrameState=Object(i.a)(Object(i.a)({},At.nextFrameState),xe),At.nextFrameId=P()(function(){var we=Object(i.a)({},At.nextFrameState);At.nextFrameState=null,At.setState(we)})},At.getMotion=function(){return Object(i.a)({},Oe(At.props))},At.getAlignTarget=function(){var xe=At.props,we=xe.point,Ee=xe.getRootDomNode;return we||Ee},At.cancelFrameState=function(){P.a.cancel(At.nextFrameId)},At.renderPopupElement=function(){var xe=At.state,we=xe.status,Ee=xe.targetHeight,Ge=xe.targetWidth,nt=xe.alignClassName,st=At.props,Mt=st.prefixCls,wr=st.className,Pr=st.style,qr=st.stretch,xt=st.visible,rt=st.align,it=st.destroyPopupOnHide,$t=st.onMouseEnter,Dt=st.onMouseLeave,St=st.onMouseDown,Ut=st.onTouchStart,vt=st.children,Pt=T()(Mt,wr,nt),br="".concat(Mt,"-hidden"),ur={};qr&&(qr.indexOf("height")!==-1?ur.height=Ee:qr.indexOf("minHeight")!==-1&&(ur.minHeight=Ee),qr.indexOf("width")!==-1?ur.width=Ge:qr.indexOf("minWidth")!==-1&&(ur.minWidth=Ge));var fr=Object(i.a)(Object(i.a)(Object(i.a)(Object(i.a)({},ur),At.getZIndexStyle()),Pr),{},{opacity:we==="stable"||!xt?void 0:0,pointerEvents:we==="stable"||!xt?void 0:"none"}),Jr=At.getMotion(),Zr=xt;xt&&we!=="beforeMotion"&&we!=="motion"&&we!=="stable"&&(Jr.motionAppear=!1,Jr.motionEnter=!1,Jr.motionLeave=!1),(we==="afterAlign"||we==="beforeMotion")&&(Zr=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(ei){var di=Jr==null?void 0:Jr[ei];Jr[ei]=function(){for(var gi=arguments.length,Ii=new Array(gi),Ye=0;Ye<gi;Ye++)Ii[Ye]=arguments[Ye];di==null||di.apply(void 0,Ii),At.setState({inMotion:!0})}});var Fn=!xt||we!=="align"&&we!=="aligned"&&we!=="stable",Rn=!0;return we==="stable"&&(Rn=xt),it&&!Rn?null:c.a.createElement(Be,Object.assign({visible:Zr},Jr,{removeOnLeave:!1,onEnterEnd:At.onMotionEnd,onLeaveEnd:At.onMotionEnd,leavedClassName:br}),function(ei,di){var gi=ei.style,Ii=ei.className;return c.a.createElement(k.a,{target:At.getAlignTarget(),key:"popup",ref:At.alignRef,monitorWindowResize:!0,disabled:Fn,align:rt,onAlign:At.onAlign},c.a.createElement(fe,{prefixCls:Mt,className:T()(Pt,Ii),ref:Object(w.a)(di,At.popupRef),onMouseEnter:$t,onMouseLeave:Dt,onMouseDown:St,onTouchStart:Ut,style:Object(i.a)(Object(i.a)({},fr),gi)},vt))})},At.renderMaskElement=function(){var xe=At.props,we=xe.mask,Ee=xe.maskMotion,Ge=xe.maskTransitionName,nt=xe.maskAnimation,st=xe.prefixCls,Mt=xe.visible;if(!we)return null;var wr={};return Ee&&Ee.motionName&&(wr=Object(i.a)({motionAppear:!0},Oe({motion:Ee,prefixCls:st,transitionName:Ge,animation:nt}))),c.a.createElement(Be,Object.assign({},wr,{visible:Mt,removeOnLeave:!0}),function(Pr){var qr=Pr.className;return c.a.createElement("div",{style:At.getZIndexStyle(),key:"mask",className:T()("".concat(st,"-mask"),qr)})})},At}return Object(e.a)(jt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var xe=this.state.status,we=this.props,Ee=we.getRootDomNode,Ge=we.visible,nt=we.stretch;if(this.cancelFrameState(),Ge&&xe!=="stable")switch(xe){case null:{this.setStateOnNextFrame({status:nt?"measure":"align"});break}case"afterAlign":{this.setStateOnNextFrame({status:Je(this.getMotion())?"beforeMotion":"stable"});break}case"AfterMotion":{this.setStateOnNextFrame({status:"stable"});break}default:{var st=["measure","align",null,"beforeMotion","motion"],Mt=st.indexOf(xe),wr=st[Mt+1];Mt!==-1&&wr&&this.setStateOnNextFrame({status:wr})}}if(xe==="measure"){var Pr=Ee();Pr&&this.setStateOnNextFrame({targetHeight:Pr.offsetHeight,targetWidth:Pr.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var xe=this.props.zIndex;return{zIndex:xe}}},{key:"render",value:function(){return c.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(xe,we){var Ee=xe.visible,Ge=Object(t.a)(xe,["visible"]),nt=we.prevVisible,st=we.status,Mt=we.inMotion,wr={prevVisible:Ee,status:st},Pr=Oe(Ge);return nt===null&&Ee===!1?(wr.status="stable",wr.inMotion=!1):Ee!==nt&&(wr.inMotion=!1,Ee||Je(Pr)&&Mt?wr.status=null:wr.status="stable",Ee&&(wr.alignClassName=null)),wr}}]),jt}(d.Component),Ze=Et,Ne=d.createContext(null),It=Ne;function Xe(){}function Ot(){return""}function Bt(){return window.document}var kt=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function _t(bn){var Pn=function(jt){Object(r.a)(xe,jt);var At=Object(s.a)(xe);function xe(we){var Ee;Object(a.a)(this,xe),Ee=At.call(this,we),Ee.popupRef=c.a.createRef(),Ee.triggerRef=c.a.createRef(),Ee.onMouseEnter=function(nt){var st=Ee.props.mouseEnterDelay;Ee.fireEvents("onMouseEnter",nt),Ee.delaySetPopupVisible(!0,st,st?null:nt)},Ee.onMouseMove=function(nt){Ee.fireEvents("onMouseMove",nt),Ee.setPoint(nt)},Ee.onMouseLeave=function(nt){Ee.fireEvents("onMouseLeave",nt),Ee.delaySetPopupVisible(!1,Ee.props.mouseLeaveDelay)},Ee.onPopupMouseEnter=function(){Ee.clearDelayTimer()},Ee.onPopupMouseLeave=function(nt){if(nt.relatedTarget&&!nt.relatedTarget.setTimeout&&Ee.popupRef.current&&Ee.popupRef.current.popupRef.current&&Object(A.a)(Ee.popupRef.current.popupRef.current,nt.relatedTarget))return;Ee.delaySetPopupVisible(!1,Ee.props.mouseLeaveDelay)},Ee.onFocus=function(nt){Ee.fireEvents("onFocus",nt),Ee.clearDelayTimer(),Ee.isFocusToShow()&&(Ee.focusTime=Date.now(),Ee.delaySetPopupVisible(!0,Ee.props.focusDelay))},Ee.onMouseDown=function(nt){Ee.fireEvents("onMouseDown",nt),Ee.preClickTime=Date.now()},Ee.onTouchStart=function(nt){Ee.fireEvents("onTouchStart",nt),Ee.preTouchTime=Date.now()},Ee.onBlur=function(nt){Ee.fireEvents("onBlur",nt),Ee.clearDelayTimer(),Ee.isBlurToHide()&&Ee.delaySetPopupVisible(!1,Ee.props.blurDelay)},Ee.onContextMenu=function(nt){nt.preventDefault(),Ee.fireEvents("onContextMenu",nt),Ee.setPopupVisible(!0,nt)},Ee.onContextMenuClose=function(){Ee.isContextMenuToShow()&&Ee.close()},Ee.onClick=function(nt){if(Ee.fireEvents("onClick",nt),Ee.focusTime){var st;if(Ee.preClickTime&&Ee.preTouchTime?st=Math.min(Ee.preClickTime,Ee.preTouchTime):Ee.preClickTime?st=Ee.preClickTime:Ee.preTouchTime&&(st=Ee.preTouchTime),Math.abs(st-Ee.focusTime)<20)return;Ee.focusTime=0}Ee.preClickTime=0,Ee.preTouchTime=0,Ee.isClickToShow()&&(Ee.isClickToHide()||Ee.isBlurToHide())&&nt&&nt.preventDefault&&nt.preventDefault();var Mt=!Ee.state.popupVisible;(Ee.isClickToHide()&&!Mt||Mt&&Ee.isClickToShow())&&Ee.setPopupVisible(!Ee.state.popupVisible,nt)},Ee.onPopupMouseDown=function(){if(Ee.hasPopupMouseDown=!0,clearTimeout(Ee.mouseDownTimeout),Ee.mouseDownTimeout=window.setTimeout(function(){Ee.hasPopupMouseDown=!1},0),Ee.context){var nt;(nt=Ee.context).onPopupMouseDown.apply(nt,arguments)}},Ee.onDocumentClick=function(nt){if(Ee.props.mask&&!Ee.props.maskClosable)return;var st=nt.target,Mt=Ee.getRootDomNode(),wr=Ee.getPopupDomNode();!Object(A.a)(Mt,st)&&!Object(A.a)(wr,st)&&!Ee.hasPopupMouseDown&&Ee.close()},Ee.getRootDomNode=function(){var nt=Ee.props.getTriggerDOMNode;if(nt)return nt(Ee.triggerRef.current);try{var st=Object(y.a)(Ee.triggerRef.current);if(st)return st}catch(Mt){}return h.a.findDOMNode(Object(l.a)(Ee))},Ee.getPopupClassNameFromAlign=function(nt){var st=[],Mt=Ee.props,wr=Mt.popupPlacement,Pr=Mt.builtinPlacements,qr=Mt.prefixCls,xt=Mt.alignPoint,rt=Mt.getPopupClassNameFromAlign;return wr&&Pr&&st.push(_(Pr,qr,nt,xt)),rt&&st.push(rt(nt)),st.join(" ")},Ee.getComponent=function(){var nt=Ee.props,st=nt.prefixCls,Mt=nt.destroyPopupOnHide,wr=nt.popupClassName,Pr=nt.onPopupAlign,qr=nt.popupMotion,xt=nt.popupAnimation,rt=nt.popupTransitionName,it=nt.popupStyle,$t=nt.mask,Dt=nt.maskAnimation,St=nt.maskTransitionName,Ut=nt.maskMotion,vt=nt.zIndex,Pt=nt.popup,br=nt.stretch,ur=nt.alignPoint,fr=Ee.state,Jr=fr.popupVisible,Zr=fr.point,Fn=Ee.getPopupAlign(),Rn={};return Ee.isMouseEnterToShow()&&(Rn.onMouseEnter=Ee.onPopupMouseEnter),Ee.isMouseLeaveToHide()&&(Rn.onMouseLeave=Ee.onPopupMouseLeave),Rn.onMouseDown=Ee.onPopupMouseDown,Rn.onTouchStart=Ee.onPopupMouseDown,c.a.createElement(Ze,Object.assign({prefixCls:st,destroyPopupOnHide:Mt,visible:Jr,point:ur&&Zr,className:wr,align:Fn,onAlign:Pr,animation:xt,getClassNameFromAlign:Ee.getPopupClassNameFromAlign},Rn,{stretch:br,getRootDomNode:Ee.getRootDomNode,style:it,mask:$t,zIndex:vt,transitionName:rt,maskAnimation:Dt,maskTransitionName:St,maskMotion:Ut,ref:Ee.popupRef,motion:qr}),typeof Pt=="function"?Pt():Pt)},Ee.getContainer=function(){var nt=Object(l.a)(Ee),st=nt.props,Mt=document.createElement("div");Mt.style.position="absolute",Mt.style.top="0",Mt.style.left="0",Mt.style.width="100%";var wr=st.getPopupContainer?st.getPopupContainer(Ee.getRootDomNode()):st.getDocument().body;return wr.appendChild(Mt),Mt},Ee.setPoint=function(nt){var st=Ee.props.alignPoint;if(!st||!nt)return;Ee.setState({point:{pageX:nt.pageX,pageY:nt.pageY}})},Ee.handlePortalUpdate=function(){Ee.state.prevPopupVisible!==Ee.state.popupVisible&&Ee.props.afterPopupVisibleChange(Ee.state.popupVisible)};var Ge;return"popupVisible"in we?Ge=!!we.popupVisible:Ge=!!we.defaultPopupVisible,Ee.state={prevPopupVisible:Ge,popupVisible:Ge},kt.forEach(function(nt){Ee["fire".concat(nt)]=function(st){Ee.fireEvents(nt,st)}}),Ee}return Object(e.a)(xe,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Ee=this.props,Ge=this.state;if(Ge.popupVisible){var nt;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(nt=Ee.getDocument(),this.clickOutsideHandler=Object(b.a)(nt,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(nt=nt||Ee.getDocument(),this.touchOutsideHandler=Object(b.a)(nt,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(nt=nt||Ee.getDocument(),this.contextMenuOutsideHandler1=Object(b.a)(nt,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(b.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var Ee=this.props,Ge=Ee.popupPlacement,nt=Ee.popupAlign,st=Ee.builtinPlacements;return Ge&&st?C(st,Ge,nt):nt}},{key:"setPopupVisible",value:function(Ee,Ge){var nt=this.props.alignPoint,st=this.state.popupVisible;this.clearDelayTimer(),st!==Ee&&("popupVisible"in this.props||this.setState({popupVisible:Ee,prevPopupVisible:st}),this.props.onPopupVisibleChange(Ee)),nt&&Ge&&this.setPoint(Ge)}},{key:"delaySetPopupVisible",value:function(Ee,Ge,nt){var st=this,Mt=Ge*1e3;if(this.clearDelayTimer(),Mt){var wr=nt?{pageX:nt.pageX,pageY:nt.pageY}:null;this.delayTimer=window.setTimeout(function(){st.setPopupVisible(Ee,wr),st.clearDelayTimer()},Mt)}else this.setPopupVisible(Ee,nt)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(Ee){var Ge=this.props.children.props,nt=this.props;return Ge[Ee]&&nt[Ee]?this["fire".concat(Ee)]:Ge[Ee]||nt[Ee]}},{key:"isClickToShow",value:function(){var Ee=this.props,Ge=Ee.action,nt=Ee.showAction;return Ge.indexOf("click")!==-1||nt.indexOf("click")!==-1}},{key:"isContextMenuToShow",value:function(){var Ee=this.props,Ge=Ee.action,nt=Ee.showAction;return Ge.indexOf("contextMenu")!==-1||nt.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var Ee=this.props,Ge=Ee.action,nt=Ee.hideAction;return Ge.indexOf("click")!==-1||nt.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var Ee=this.props,Ge=Ee.action,nt=Ee.showAction;return Ge.indexOf("hover")!==-1||nt.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var Ee=this.props,Ge=Ee.action,nt=Ee.hideAction;return Ge.indexOf("hover")!==-1||nt.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var Ee=this.props,Ge=Ee.action,nt=Ee.showAction;return Ge.indexOf("focus")!==-1||nt.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var Ee=this.props,Ge=Ee.action,nt=Ee.hideAction;return Ge.indexOf("focus")!==-1||nt.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(Ee,Ge){var nt=this.props.children.props[Ee];nt&&nt(Ge);var st=this.props[Ee];st&&st(Ge)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var Ee=this.state.popupVisible,Ge=this.props,nt=Ge.children,st=Ge.forceRender,Mt=Ge.alignPoint,wr=Ge.className,Pr=Ge.autoDestroy,qr=c.a.Children.only(nt),xt={key:"trigger"};this.isContextMenuToShow()?xt.onContextMenu=this.onContextMenu:xt.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(xt.onClick=this.onClick,xt.onMouseDown=this.onMouseDown,xt.onTouchStart=this.onTouchStart):(xt.onClick=this.createTwoChains("onClick"),xt.onMouseDown=this.createTwoChains("onMouseDown"),xt.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(xt.onMouseEnter=this.onMouseEnter,Mt&&(xt.onMouseMove=this.onMouseMove)):xt.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?xt.onMouseLeave=this.onMouseLeave:xt.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(xt.onFocus=this.onFocus,xt.onBlur=this.onBlur):(xt.onFocus=this.createTwoChains("onFocus"),xt.onBlur=this.createTwoChains("onBlur"));var rt=T()(qr&&qr.props&&qr.props.className,wr);rt&&(xt.className=rt);var it=Object(i.a)({},xt);Object(w.c)(qr)&&(it.ref=Object(w.a)(this.triggerRef,qr.ref));var $t=c.a.cloneElement(qr,it),Dt;return(Ee||this.popupRef.current||st)&&(Dt=c.a.createElement(bn,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!Ee&&Pr&&(Dt=null),c.a.createElement(It.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},$t,Dt)}}],[{key:"getDerivedStateFromProps",value:function(Ee,Ge){var nt=Ee.popupVisible,st={};return nt!==void 0&&Ge.popupVisible!==nt&&(st.popupVisible=nt,st.prevPopupVisible=Ge.popupVisible),st}}]),xe}(c.a.Component);return Pn.contextType=It,Pn.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Ot,getDocument:Bt,onPopupVisibleChange:Xe,afterPopupVisibleChange:Xe,onPopupAlign:Xe,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Pn}var Ft=_t(x.a),ke={adjustX:1,adjustY:1},te=[0,0],Q={left:{points:["cr","cl"],overflow:ke,offset:[-4,0],targetOffset:te},right:{points:["cl","cr"],overflow:ke,offset:[4,0],targetOffset:te},top:{points:["bc","tc"],overflow:ke,offset:[0,-4],targetOffset:te},bottom:{points:["tc","bc"],overflow:ke,offset:[0,4],targetOffset:te},topLeft:{points:["bl","tl"],overflow:ke,offset:[0,-4],targetOffset:te},leftTop:{points:["tr","tl"],overflow:ke,offset:[-4,0],targetOffset:te},topRight:{points:["br","tr"],overflow:ke,offset:[0,-4],targetOffset:te},rightTop:{points:["tl","tr"],overflow:ke,offset:[4,0],targetOffset:te},bottomRight:{points:["tr","br"],overflow:ke,offset:[0,4],targetOffset:te},rightBottom:{points:["bl","br"],overflow:ke,offset:[4,0],targetOffset:te},bottomLeft:{points:["tl","bl"],overflow:ke,offset:[0,4],targetOffset:te},leftBottom:{points:["br","bl"],overflow:ke,offset:[-4,0],targetOffset:te}},qe=Q,je=function(Pn){var jt=Pn.overlay,At=Pn.prefixCls,xe=Pn.id,we=Pn.overlayInnerStyle;return d.createElement("div",{className:"".concat(At,"-inner"),id:xe,role:"tooltip",style:we},typeof jt=="function"?jt():jt)},q=je,wt=function(Pn,jt){var At=Pn.overlayClassName,xe=Pn.trigger,we=xe===void 0?["hover"]:xe,Ee=Pn.mouseEnterDelay,Ge=Ee===void 0?0:Ee,nt=Pn.mouseLeaveDelay,st=nt===void 0?.1:nt,Mt=Pn.overlayStyle,wr=Pn.prefixCls,Pr=wr===void 0?"rc-tooltip":wr,qr=Pn.children,xt=Pn.onVisibleChange,rt=Pn.afterVisibleChange,it=Pn.transitionName,$t=Pn.animation,Dt=Pn.placement,St=Dt===void 0?"right":Dt,Ut=Pn.align,vt=Ut===void 0?{}:Ut,Pt=Pn.destroyTooltipOnHide,br=Pt===void 0?!1:Pt,ur=Pn.defaultVisible,fr=Pn.getTooltipContainer,Jr=Pn.overlayInnerStyle,Zr=Object(t.a)(Pn,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Fn=Object(d.useRef)(null);Object(d.useImperativeHandle)(jt,function(){return Fn.current});var Rn=Object(i.a)({},Zr);"visible"in Pn&&(Rn.popupVisible=Pn.visible);var ei=function(){var ge=Pn.arrowContent,Ie=ge===void 0?null:ge,Fe=Pn.overlay,Ve=Pn.id;return[d.createElement("div",{className:"".concat(Pr,"-arrow"),key:"arrow"},Ie),d.createElement(q,{key:"content",prefixCls:Pr,id:Ve,overlay:Fe,overlayInnerStyle:Jr})]},di=!1,gi=!1;if(typeof br=="boolean")di=br;else if(br&&Object(o.a)(br)==="object"){var Ii=br.keepParent;di=Ii===!0,gi=Ii===!1}return d.createElement(Ft,Object.assign({popupClassName:At,prefixCls:Pr,popup:ei,action:we,builtinPlacements:Q,popupPlacement:St,ref:Fn,popupAlign:vt,getPopupContainer:fr,onPopupVisibleChange:xt,afterPopupVisibleChange:rt,popupTransitionName:it,popupAnimation:$t,defaultPopupVisible:ur,destroyPopupOnHide:di,autoDestroy:gi,mouseLeaveDelay:st,popupStyle:Mt,mouseEnterDelay:Ge},Rn),qr)},Vt=Object(d.forwardRef)(wt),lt=Vt,or={adjustX:1,adjustY:1},vr={adjustX:0,adjustY:0},An=[0,0];function hr(bn){return typeof bn=="boolean"?bn?or:vr:f()(f()({},vr),bn)}function xr(bn){var Pn=bn.arrowWidth,jt=Pn===void 0?5:Pn,At=bn.horizontalArrowShift,xe=At===void 0?16:At,we=bn.verticalArrowShift,Ee=we===void 0?8:we,Ge=bn.autoAdjustOverflow,nt={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:[-(xe+jt),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(Ee+jt)]},topRight:{points:["br","tc"],offset:[xe+jt,-4]},rightTop:{points:["tl","cr"],offset:[4,-(Ee+jt)]},bottomRight:{points:["tr","bc"],offset:[xe+jt,4]},rightBottom:{points:["bl","cr"],offset:[4,Ee+jt]},bottomLeft:{points:["tl","bc"],offset:[-(xe+jt),4]},leftBottom:{points:["br","cl"],offset:[-4,Ee+jt]}};return Object.keys(nt).forEach(function(st){nt[st]=bn.arrowPointAtCenter?f()(f()({},nt[st]),{overflow:hr(Ge),targetOffset:An}):f()(f()({},Q[st]),{overflow:hr(Ge)}),nt[st].ignoreShake=!0}),nt}var nr=n("0n0R"),Yt=n("H84U"),gt=n("09Wf"),zr=function(Pn,jt){var At={},xe=f()({},Pn);return jt.forEach(function(we){Pn&&we in Pn&&(At[we]=Pn[we],delete xe[we])}),{picked:At,omitted:xe}},pn=new RegExp("^(".concat(gt.a.join("|"),")(-inverse)?$"));function Nn(bn,Pn){var jt=bn.type;if((jt.__ANT_BUTTON===!0||jt.__ANT_SWITCH===!0||jt.__ANT_CHECKBOX===!0||bn.type==="button")&&bn.props.disabled){var At=zr(bn.props.style,["position","left","right","top","bottom","float","display","zIndex"]),xe=At.picked,we=At.omitted,Ee=f()(f()({display:"inline-block"},xe),{cursor:"not-allowed",width:bn.props.block?"100%":null}),Ge=f()(f()({},we),{pointerEvents:"none"}),nt=Object(nr.a)(bn,{style:Ge,className:null});return d.createElement("span",{style:Ee,className:T()(bn.props.className,"".concat(Pn,"-disabled-compatible-wrapper"))},nt)}return bn}var Vn=d.forwardRef(function(bn,Pn){var jt,At=d.useContext(Yt.b),xe=At.getPopupContainer,we=At.getPrefixCls,Ee=At.direction,Ge=d.useState(!!bn.visible||!!bn.defaultVisible),nt=m()(Ge,2),st=nt[0],Mt=nt[1];d.useEffect(function(){"visible"in bn&&Mt(bn.visible)},[bn.visible]);var wr=function(){var Ii=bn.title,Ye=bn.overlay;return!Ii&&!Ye&&Ii!==0},Pr=function(Ii){"visible"in bn||Mt(wr()?!1:Ii),bn.onVisibleChange&&!wr()&&bn.onVisibleChange(Ii)},qr=function(){var Ii=bn.builtinPlacements,Ye=bn.arrowPointAtCenter,ge=bn.autoAdjustOverflow;return Ii||xr({arrowPointAtCenter:Ye,autoAdjustOverflow:ge})},xt=function(Ii,Ye){var ge=qr(),Ie=Object.keys(ge).filter(function(We){return ge[We].points[0]===Ye.points[0]&&ge[We].points[1]===Ye.points[1]})[0];if(!Ie)return;var Fe=Ii.getBoundingClientRect(),Ve={top:"50%",left:"50%"};Ie.indexOf("top")>=0||Ie.indexOf("Bottom")>=0?Ve.top="".concat(Fe.height-Ye.offset[1],"px"):(Ie.indexOf("Top")>=0||Ie.indexOf("bottom")>=0)&&(Ve.top="".concat(-Ye.offset[1],"px")),Ie.indexOf("left")>=0||Ie.indexOf("Right")>=0?Ve.left="".concat(Fe.width-Ye.offset[0],"px"):(Ie.indexOf("right")>=0||Ie.indexOf("Left")>=0)&&(Ve.left="".concat(-Ye.offset[0],"px")),Ii.style.transformOrigin="".concat(Ve.left," ").concat(Ve.top)},rt=function(){var Ii=bn.title,Ye=bn.overlay;return Ii===0?Ii:Ye||Ii||""},it=bn.prefixCls,$t=bn.openClassName,Dt=bn.getPopupContainer,St=bn.getTooltipContainer,Ut=bn.overlayClassName,vt=bn.color,Pt=bn.overlayInnerStyle,br=bn.children,ur=we("tooltip",it),fr=st;!("visible"in bn)&&wr()&&(fr=!1);var Jr=Nn(Object(nr.b)(br)?br:d.createElement("span",null,br),ur),Zr=Jr.props,Fn=T()(Zr.className,p()({},$t||"".concat(ur,"-open"),!0)),Rn=T()(Ut,(jt={},p()(jt,"".concat(ur,"-rtl"),Ee==="rtl"),p()(jt,"".concat(ur,"-").concat(vt),vt&&pn.test(vt)),jt)),ei,di;return vt&&!pn.test(vt)&&(ei=f()(f()({},Pt),{background:vt}),di={background:vt}),d.createElement(lt,f()({},bn,{prefixCls:ur,overlayClassName:Rn,getTooltipContainer:Dt||St||xe,ref:Pn,builtinPlacements:qr(),overlay:rt(),visible:fr,onVisibleChange:Pr,onPopupAlign:xt,overlayInnerStyle:ei,arrowContent:d.createElement("span",{className:"".concat(ur,"-arrow-content"),style:di})}),fr?Object(nr.a)(Jr,{className:Fn}):Jr)});Vn.displayName="Tooltip",Vn.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var xi=N.a=Vn},"3TkU":function(M,N,n){n("aTJb"),n("OlYY"),n("fc+c"),n("QUw5"),n("Swgg"),n("LBfv"),n("noeP")},"3X6L":function(M,N,n){var v=n("bYtY"),p=n("7a+S"),S=n("OKJ2"),m=p.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:[]}});v.mixin(m,S);var g=m;M.exports=g},"3e3G":function(M,N,n){var v=n("bYtY"),p=n("QuXc"),S=function(f,d,c,o,i){this.x=f==null?.5:f,this.y=d==null?.5:d,this.r=c==null?.5:c,this.type="radial",this.global=i||!1,p.call(this,o)};S.prototype={constructor:S},v.inherits(S,p);var m=S;M.exports=m},"3gBT":function(M,N){var n=2311;function v(){return n++}M.exports=v},"3hzK":function(M,N){var n={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};M.exports=n},"3m61":function(M,N){function n(p){return p instanceof Array||(p=[p,p]),p}function v(p){p.eachSeriesByType("graph",function(S){var m=S.getGraph(),g=S.getEdgeData(),f=n(S.get("edgeSymbol")),d=n(S.get("edgeSymbolSize")),c="lineStyle.color".split("."),o="lineStyle.opacity".split(".");g.setVisual("fromSymbol",f&&f[0]),g.setVisual("toSymbol",f&&f[1]),g.setVisual("fromSymbolSize",d&&d[0]),g.setVisual("toSymbolSize",d&&d[1]),g.setVisual("color",S.get(c)),g.setVisual("opacity",S.get(o)),g.each(function(i){var t=g.getItemModel(i),a=m.getEdgeByIndex(i),e=n(t.getShallow("symbol",!0)),l=n(t.getShallow("symbolSize",!0)),r=t.get(c),s=t.get(o);switch(r){case"source":r=a.node1.getVisual("color");break;case"target":r=a.node2.getVisual("color");break}e[0]&&a.setVisual("fromSymbol",e[0]),e[1]&&a.setVisual("toSymbol",e[1]),l[0]&&a.setVisual("fromSymbolSize",l[0]),l[1]&&a.setVisual("toSymbolSize",l[1]),a.setVisual("color",r),a.setVisual("opacity",s)})})}M.exports=v},"3ouR":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="CloseSquareOutlined";var d=N.a=p.forwardRef(f)},"3zoK":function(M,N,n){var v=n("bYtY"),p=n("bLfw"),S=n("KCsZ"),m=n("nkfE"),g=n("OELB"),f=n("ICMv"),d=p.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return S([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var a=this.activeIntervals=v.clone(t);if(a)for(var e=a.length-1;e>=0;e--)g.asc(a[e])},getActiveState:function(t){var a=this.activeIntervals;if(!a.length)return"normal";if(t==null||isNaN(t))return"inactive";if(a.length===1){var e=a[0];if(e[0]<=t&&t<=e[1])return"active"}else for(var l=0,r=a.length;l<r;l++)if(a[l][0]<=t&&t<=a[l][1])return"active";return"inactive"}}),c={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};v.merge(d.prototype,f);function o(t,a){return a.type||(a.data?"category":"value")}m("parallel",d,o,c);var i=d;M.exports=i},"4Feb":function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("IwbS"),g=n("x3X8"),f=g.getDefaultLabel,d=n("MwEJ"),c=n("nVfU"),o=c.getLayoutOnAxis,i=n("gPAo"),t=n("T4UG"),a=n("Qxkt"),e=n("6Ic6"),l=n("sK/D"),r=l.createClipPath,s=n("qj72"),u=n("ANjR"),h=n("MHtr"),A=n("6usn"),y=n("Rx6q"),w=m.CACHED_LABEL_STYLE_PROPERTIES,b=["itemStyle"],x=["emphasis","itemStyle"],O=["label"],T=["emphasis","label"],E="e\0\0",C={cartesian2d:s,geo:u,singleAxis:h,polar:A,calendar:y};t.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($,ve){return d(this.getSource(),this)},getDataParams:function($,ve,Ce){var Se=t.prototype.getDataParams.apply(this,arguments);return Ce&&(Se.info=Ce.info),Se}}),e.extend({type:"custom",_data:null,render:function($,ve,Ce,Se){var Ke=this._data,ue=$.getData(),Le=this.group,ee=k($,ue,ve,Ce);ue.diff(Ke).add(function(et){j(null,et,ee(et,Se),$,Le,ue)}).update(function(et,Re){var Ae=Ke.getItemGraphicEl(Re);j(Ae,et,ee(et,Se),$,Le,ue)}).remove(function(et){var Re=Ke.getItemGraphicEl(et);Re&&Le.remove(Re)}).execute();var le=$.get("clip",!0)?r($.coordinateSystem,!1,$):null;le?Le.setClipPath(le):Le.removeClipPath(),this._data=ue},incrementalPrepareRender:function($,ve,Ce){this.group.removeAll(),this._data=null},incrementalRender:function($,ve,Ce,Se,Ke){var ue=ve.getData(),Le=k(ve,ue,Ce,Se);function ee(Re){Re.isGroup||(Re.incremental=!0,Re.useHoverLayer=!0)}for(var le=$.start;le<$.end;le++){var et=j(null,le,Le(le,Ke),ve,this.group,ue);et.traverse(ee)}},dispose:S.noop,filterForExposedEvent:function($,ve,Ce,Se){var Ke=ve.element;if(Ke==null||Ce.name===Ke)return!0;for(;(Ce=Ce.parent)&&Ce!==this.group;)if(Ce.name===Ke)return!0;return!1}});function _($){var ve=$.type,Ce;if(ve==="path"){var Se=$.shape,Ke=Se.width!=null&&Se.height!=null?{x:Se.x||0,y:Se.y||0,width:Se.width,height:Se.height}:null,ue=G(Se);Ce=m.makePath(ue,null,Ke,Se.layout||"center"),Ce.__customPathData=ue}else if(ve==="image")Ce=new m.Image({}),Ce.__customImagePath=$.style.image;else if(ve==="text")Ce=new m.Text({}),Ce.__customText=$.style.text;else if(ve==="group")Ce=new m.Group;else{if(ve==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var Le=m.getShapeClass(ve);Ce=new Le}return Ce.__customGraphicType=ve,Ce.name=$.name,Ce}function L($,ve,Ce,Se,Ke,ue,Le){var ee={},le=Ce.style||{};if(Ce.shape&&(ee.shape=S.clone(Ce.shape)),Ce.position&&(ee.position=Ce.position.slice()),Ce.scale&&(ee.scale=Ce.scale.slice()),Ce.origin&&(ee.origin=Ce.origin.slice()),Ce.rotation&&(ee.rotation=Ce.rotation),$.type==="image"&&Ce.style){var et=ee.style={};S.each(["x","y","width","height"],function(oe){P(oe,et,le,$.style,ue)})}if($.type==="text"&&Ce.style){var et=ee.style={};S.each(["x","y"],function(ce){P(ce,et,le,$.style,ue)}),!le.hasOwnProperty("textFill")&&le.fill&&(le.textFill=le.fill),!le.hasOwnProperty("textStroke")&&le.stroke&&(le.textStroke=le.stroke)}if($.type!=="group"&&($.useStyle(le),ue)){$.style.opacity=0;var Re=le.opacity;Re==null&&(Re=1),m.initProps($,{style:{opacity:Re}},Se,ve)}ue?$.attr(ee):m.updateProps($,ee,Se,ve),Ce.hasOwnProperty("z2")&&$.attr("z2",Ce.z2||0),Ce.hasOwnProperty("silent")&&$.attr("silent",Ce.silent),Ce.hasOwnProperty("invisible")&&$.attr("invisible",Ce.invisible),Ce.hasOwnProperty("ignore")&&$.attr("ignore",Ce.ignore),Ce.hasOwnProperty("info")&&$.attr("info",Ce.info);var Ae=Ce.styleEmphasis;m.setElementHoverStyle($,Ae),Le&&m.setAsHighDownDispatcher($,Ae!==!1)}function P($,ve,Ce,Se,Ke){Ce[$]!=null&&!Ke&&(ve[$]=Ce[$],Ce[$]=Se[$])}function k($,ve,Ce,Se){var Ke=$.get("renderItem"),ue=$.coordinateSystem,Le={};ue&&(Le=ue.prepareCustoms?ue.prepareCustoms():C[ue.type](ue));var ee=S.defaults({getWidth:Se.getWidth,getHeight:Se.getHeight,getZr:Se.getZr,getDevicePixelRatio:Se.getDevicePixelRatio,value:Be,style:De,styleEmphasis:ae,visual:fe,barLayout:Oe,currentSeriesIndices:Je,font:Et},Le.api||{}),le={context:{},seriesId:$.id,seriesName:$.name,seriesIndex:$.seriesIndex,coordSys:Le.coordSys,dataInsideLength:ve.count(),encode:F($.getData())},et,Re=!0,Ae,oe,ce,be;return function(Ze,Ne){return et=Ze,Re=!0,Ke&&Ke(S.defaults({dataIndexInside:Ze,dataIndex:ve.getRawIndex(Ze),actionType:Ne?Ne.type:null},le),ee)};function Te(Ze){Ze==null&&(Ze=et),Re&&(Ae=ve.getItemModel(Ze),oe=Ae.getModel(O),ce=Ae.getModel(T),be=ve.getItemVisual(Ze,"color"),Re=!1)}function Be(Ze,Ne){return Ne==null&&(Ne=et),ve.get(ve.getDimension(Ze||0),Ne)}function De(Ze,Ne){Ne==null&&(Ne=et),Te(Ne);var It=Ae.getModel(b).getItemStyle();be!=null&&(It.fill=be);var Xe=ve.getItemVisual(Ne,"opacity");Xe!=null&&(It.opacity=Xe);var Ot=Ze?K(Ze,oe):oe;return m.setTextStyle(It,Ot,null,{autoColor:be,isRectText:!0}),It.text=Ot.getShallow("show")?S.retrieve2($.getFormattedLabel(Ne,"normal"),f(ve,Ne)):null,Ze&&V(It,Ze),It}function ae(Ze,Ne){Ne==null&&(Ne=et),Te(Ne);var It=Ae.getModel(x).getItemStyle(),Xe=Ze?K(Ze,ce):ce;return m.setTextStyle(It,Xe,null,{isRectText:!0},!0),It.text=Xe.getShallow("show")?S.retrieve3($.getFormattedLabel(Ne,"emphasis"),$.getFormattedLabel(Ne,"normal"),f(ve,Ne)):null,Ze&&V(It,Ze),It}function fe(Ze,Ne){return Ne==null&&(Ne=et),ve.getItemVisual(Ne,Ze)}function Oe(Ze){if(ue.getBaseAxis){var Ne=ue.getBaseAxis();return o(S.defaults({axis:Ne},Ze),Se)}}function Je(){return Ce.getCurrentSeriesIndices()}function Et(Ze){return m.getFont(Ze,Ce)}}function F($){var ve={};return S.each($.dimensions,function(Ce,Se){var Ke=$.getDimensionInfo(Ce);if(!Ke.isExtraCoord){var ue=Ke.coordDim,Le=ve[ue]=ve[ue]||[];Le[Ke.coordDimIndex]=Se}}),ve}function j($,ve,Ce,Se,Ke,ue){return $=z($,ve,Ce,Se,Ke,ue,!0),$&&ue.setItemGraphicEl(ve,$),$}function z($,ve,Ce,Se,Ke,ue,Le){var ee=!Ce;Ce=Ce||{};var le=Ce.type,et=Ce.shape,Re=Ce.style;if($&&(ee||le!=null&&le!==$.__customGraphicType||le==="path"&&re(et)&&G(et)!==$.__customPathData||le==="image"&&ye(Re,"image")&&Re.image!==$.__customImagePath||le==="text"&&ye(et,"text")&&Re.text!==$.__customText)&&(Ke.remove($),$=null),ee)return;var Ae=!$;return!$&&($=_(Ce)),L($,ve,Ce,Se,ue,Ae,Le),le==="group"&&R($,ve,Ce,Se,ue),Ke.add($),$}function R($,ve,Ce,Se,Ke){var ue=Ce.children,Le=ue?ue.length:0,ee=Ce.$mergeChildren,le=ee==="byName"||Ce.diffChildrenByName,et=ee===!1;if(!Le&&!le&&!et)return;if(le){U({oldChildren:$.children()||[],newChildren:ue||[],dataIndex:ve,animatableModel:Se,group:$,data:Ke});return}et&&$.removeAll();for(var Re=0;Re<Le;Re++)ue[Re]&&z($.childAt(Re),ve,ue[Re],Se,$,Ke)}function U($){new i($.oldChildren,$.newChildren,B,B,$).add(H).update(H).remove(W).execute()}function B($,ve){var Ce=$&&$.name;return Ce!=null?Ce:E+ve}function H($,ve){var Ce=this.context,Se=$!=null?Ce.newChildren[$]:null,Ke=ve!=null?Ce.oldChildren[ve]:null;z(Ke,Ce.dataIndex,Se,Ce.animatableModel,Ce.group,Ce.data)}function K($,ve){var Ce=new a({},ve);return S.each(w,function(Se,Ke){$.hasOwnProperty(Se)&&(Ce.option[Ke]=$[Se])}),Ce}function V($,ve){for(var Ce in ve)(ve.hasOwnProperty(Ce)||!w.hasOwnProperty(Ce))&&($[Ce]=ve[Ce])}function W($){var ve=this.context,Ce=ve.oldChildren[$];Ce&&ve.group.remove(Ce)}function G($){return $&&($.pathData||$.d)}function re($){return $&&($.hasOwnProperty("pathData")||$.hasOwnProperty("d"))}function ye($,ve){return $&&$.hasOwnProperty(ve)}},"4HMb":function(M,N,n){var v=n("bYtY"),p=n("6GrX"),S=n("4NO4"),m=S.makeInner,g=n("aX7z"),f=g.makeLabelFormatter,d=g.getOptionCategoryInterval,c=g.shouldShowAllLabels,o=m();function i(O){return O.type==="category"?a(O):r(O)}function t(O,T){return O.type==="category"?l(O,T):{ticks:O.scale.getTicks()}}function a(O){var T=O.getLabelModel(),E=e(O,T);return!T.get("show")||O.scale.isBlank()?{labels:[],labelCategoryInterval:E.labelCategoryInterval}:E}function e(O,T){var E=s(O,"labels"),C=d(T),_=u(E,C);if(_)return _;var L,P;return v.isFunction(C)?L=x(O,C):(P=C==="auto"?A(O):C,L=b(O,P)),h(E,C,{labels:L,labelCategoryInterval:P})}function l(O,T){var E=s(O,"ticks"),C=d(T),_=u(E,C);if(_)return _;var L,P;if((!T.get("show")||O.scale.isBlank())&&(L=[]),v.isFunction(C))L=x(O,C,!0);else if(C==="auto"){var k=e(O,O.getLabelModel());P=k.labelCategoryInterval,L=v.map(k.labels,function(F){return F.tickValue})}else P=C,L=b(O,P,!0);return h(E,C,{ticks:L,tickCategoryInterval:P})}function r(O){var T=O.scale.getTicks(),E=f(O);return{labels:v.map(T,function(C,_){return{formattedLabel:E(C,_),rawLabel:O.scale.getLabel(C),tickValue:C}})}}function s(O,T){return o(O)[T]||(o(O)[T]=[])}function u(O,T){for(var E=0;E<O.length;E++)if(O[E].key===T)return O[E].value}function h(O,T,E){return O.push({key:T,value:E}),E}function A(O){var T=o(O).autoInterval;return T!=null?T:o(O).autoInterval=O.calculateCategoryInterval()}function y(O){var T=w(O),E=f(O),C=(T.axisRotate-T.labelRotate)/180*Math.PI,_=O.scale,L=_.getExtent(),P=_.count();if(L[1]-L[0]<1)return 0;var k=1;P>40&&(k=Math.max(1,Math.floor(P/40)));for(var F=L[0],j=O.dataToCoord(F+1)-O.dataToCoord(F),z=Math.abs(j*Math.cos(C)),R=Math.abs(j*Math.sin(C)),U=0,B=0;F<=L[1];F+=k){var H=0,K=0,V=p.getBoundingRect(E(F),T.font,"center","top");H=V.width*1.3,K=V.height*1.3,U=Math.max(U,H,7),B=Math.max(B,K,7)}var W=U/z,G=B/R;isNaN(W)&&(W=Infinity),isNaN(G)&&(G=Infinity);var re=Math.max(0,Math.floor(Math.min(W,G))),ye=o(O.model),$=O.getExtent(),ve=ye.lastAutoInterval,Ce=ye.lastTickCount;return ve!=null&&Ce!=null&&Math.abs(ve-re)<=1&&Math.abs(Ce-P)<=1&&ve>re&&ye.axisExtend0===$[0]&&ye.axisExtend1===$[1]?re=ve:(ye.lastTickCount=P,ye.lastAutoInterval=re,ye.axisExtend0=$[0],ye.axisExtend1=$[1]),re}function w(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 b(O,T,E){var C=f(O),_=O.scale,L=_.getExtent(),P=O.getLabelModel(),k=[],F=Math.max((T||0)+1,1),j=L[0],z=_.count();j!==0&&F>1&&z/F>2&&(j=Math.round(Math.ceil(j/F)*F));var R=c(O),U=P.get("showMinLabel")||R,B=P.get("showMaxLabel")||R;U&&j!==L[0]&&K(L[0]);for(var H=j;H<=L[1];H+=F)K(H);B&&H-F!==L[1]&&K(L[1]);function K(V){k.push(E?V:{formattedLabel:C(V),rawLabel:_.getLabel(V),tickValue:V})}return k}function x(O,T,E){var C=O.scale,_=f(O),L=[];return v.each(C.getTicks(),function(P){var k=C.getLabel(P);T(P,k)&&L.push(E?P:{formattedLabel:_(P),rawLabel:k,tickValue:P})}),L}N.createAxisLabels=i,N.createAxisTicks=t,N.calculateCategoryInterval=y},"4NO4":function(M,N,n){var v=n("bYtY"),p=n("ItGF"),S=v.each,m=v.isObject,g=v.isArray,f="series\0";function d(E){return E instanceof Array?E:E==null?[]:[E]}function c(E,C,_){if(E){E[C]=E[C]||{},E.emphasis=E.emphasis||{},E.emphasis[C]=E.emphasis[C]||{};for(var L=0,P=_.length;L<P;L++){var k=_[L];!E.emphasis[C].hasOwnProperty(k)&&E[C].hasOwnProperty(k)&&(E.emphasis[C][k]=E[C][k])}}}var o=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function i(E){return m(E)&&!g(E)&&!(E instanceof Date)?E.value:E}function t(E){return m(E)&&!(E instanceof Array)}function a(E,C){C=(C||[]).slice();var _=v.map(E||[],function(L,P){return{exist:L}});return S(C,function(L,P){if(!m(L))return;for(var k=0;k<_.length;k++)if(!_[k].option&&L.id!=null&&_[k].exist.id===L.id+""){_[k].option=L,C[P]=null;return}for(var k=0;k<_.length;k++){var F=_[k].exist;if(!_[k].option&&(F.id==null||L.id==null)&&L.name!=null&&!r(L)&&!r(F)&&F.name===L.name+""){_[k].option=L,C[P]=null;return}}}),S(C,function(L,P){if(!m(L))return;for(var k=0;k<_.length;k++){var F=_[k].exist;if(!_[k].option&&!r(F)&&L.id==null){_[k].option=L;break}}k>=_.length&&_.push({option:L})}),_}function e(E){var C=v.createHashMap();S(E,function(_,L){var P=_.exist;P&&C.set(P.id,_)}),S(E,function(_,L){var P=_.option;v.assert(!P||P.id==null||!C.get(P.id)||C.get(P.id)===_,"id duplicates: "+(P&&P.id)),P&&P.id!=null&&C.set(P.id,_),!_.keyInfo&&(_.keyInfo={})}),S(E,function(_,L){var P=_.exist,k=_.option,F=_.keyInfo;if(!m(k))return;if(F.name=k.name!=null?k.name+"":P?P.name:f+L,P)F.id=P.id;else if(k.id!=null)F.id=k.id+"";else{var j=0;do F.id="\0"+F.name+"\0"+j++;while(C.get(F.id))}C.set(F.id,_)})}function l(E){var C=E.name;return!!(C&&C.indexOf(f))}function r(E){return m(E)&&E.id&&(E.id+"").indexOf("\0_ec_\0")===0}function s(E,C){var _={},L={};return P(E||[],_),P(C||[],L,_),[k(_),k(L)];function P(F,j,z){for(var R=0,U=F.length;R<U;R++)for(var B=F[R].seriesId,H=d(F[R].dataIndex),K=z&&z[B],V=0,W=H.length;V<W;V++){var G=H[V];K&&K[G]?K[G]=null:(j[B]||(j[B]={}))[G]=1}}function k(F,j){var z=[];for(var R in F)if(F.hasOwnProperty(R)&&F[R]!=null)if(j)z.push(+R);else{var U=k(F[R],!0);U.length&&z.push({seriesId:R,dataIndex:U})}return z}}function u(E,C){if(C.dataIndexInside!=null)return C.dataIndexInside;if(C.dataIndex!=null)return v.isArray(C.dataIndex)?v.map(C.dataIndex,function(_){return E.indexOfRawIndex(_)}):E.indexOfRawIndex(C.dataIndex);if(C.name!=null)return v.isArray(C.name)?v.map(C.name,function(_){return E.indexOfName(_)}):E.indexOfName(C.name)}function h(){var E="__\0ec_inner_"+A+++"_"+Math.random().toFixed(5);return function(C){return C[E]||(C[E]={})}}var A=0;function y(E,C,_){if(v.isString(C)){var L={};L[C+"Index"]=0,C=L}var P=_&&_.defaultMainType;P&&!w(C,P+"Index")&&!w(C,P+"Id")&&!w(C,P+"Name")&&(C[P+"Index"]=0);var k={};return S(C,function(F,j){var F=C[j];if(j==="dataIndex"||j==="dataIndexInside"){k[j]=F;return}var z=j.match(/^(\w+)(Index|Id|Name)$/)||[],R=z[1],U=(z[2]||"").toLowerCase();if(!R||!U||F==null||U==="index"&&F==="none"||_&&_.includeMainTypes&&v.indexOf(_.includeMainTypes,R)<0)return;var B={mainType:R};(U!=="index"||F!=="all")&&(B[U]=F);var H=E.queryComponents(B);k[R+"Models"]=H,k[R+"Model"]=H[0]}),k}function w(E,C){return E&&E.hasOwnProperty(C)}function b(E,C,_){E.setAttribute?E.setAttribute(C,_):E[C]=_}function x(E,C){return E.getAttribute?E.getAttribute(C):E[C]}function O(E){return E==="auto"?p.domSupported?"html":"richText":E||"html"}function T(E,C){var _=v.createHashMap(),L=[];return v.each(E,function(P){var k=C(P);(_.get(k)||(L.push(k),_.set(k,[]))).push(P)}),{keys:L,buckets:_}}N.normalizeToArray=d,N.defaultEmphasis=c,N.TEXT_STYLE_OPTIONS=o,N.getDataItemValue=i,N.isDataItemOption=t,N.mappingToExists=a,N.makeIdAndName=e,N.isNameSpecified=l,N.isIdInner=r,N.compressBatches=s,N.queryDataIndex=u,N.makeInner=h,N.parseFinder=y,N.setAttribute=b,N.getAttribute=x,N.getTooltipRenderMode=O,N.groupData=T},"4NgU":function(M,N,n){var v=n("Yl7c");function p(m){this._setting=m||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}p.prototype.parse=function(m){return m},p.prototype.getSetting=function(m){return this._setting[m]},p.prototype.contain=function(m){var g=this._extent;return m>=g[0]&&m<=g[1]},p.prototype.normalize=function(m){var g=this._extent;return g[1]===g[0]?.5:(m-g[0])/(g[1]-g[0])},p.prototype.scale=function(m){var g=this._extent;return m*(g[1]-g[0])+g[0]},p.prototype.unionExtent=function(m){var g=this._extent;m[0]<g[0]&&(g[0]=m[0]),m[1]>g[1]&&(g[1]=m[1])},p.prototype.unionExtentFromData=function(m,g){this.unionExtent(m.getApproximateExtent(g))},p.prototype.getExtent=function(){return this._extent.slice()},p.prototype.setExtent=function(m,g){var f=this._extent;isNaN(m)||(f[0]=m),isNaN(g)||(f[1]=g)},p.prototype.isBlank=function(){return this._isBlank},p.prototype.setBlank=function(m){this._isBlank=m},p.prototype.getLabel=null,v.enableClassExtend(p),v.enableClassManagement(p,{registerWhenExtend:!0});var S=p;M.exports=S},"4fz+":function(M,N,n){var v=n("bYtY"),p=n("1bdT"),S=n("mFDi"),m=function(d){d=d||{},p.call(this,d);for(var c in d)d.hasOwnProperty(c)&&(this[c]=d[c]);this._children=[],this.__storage=null,this.__dirty=!0};m.prototype={constructor:m,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(d){return this._children[d]},childOfName:function(d){for(var c=this._children,o=0;o<c.length;o++)if(c[o].name===d)return c[o]},childCount:function(){return this._children.length},add:function(d){return d&&d!==this&&d.parent!==this&&(this._children.push(d),this._doAdd(d)),this},addBefore:function(d,c){if(d&&d!==this&&d.parent!==this&&c&&c.parent===this){var o=this._children,i=o.indexOf(c);i>=0&&(o.splice(i,0,d),this._doAdd(d))}return this},_doAdd:function(d){d.parent&&d.parent.remove(d),d.parent=this;var c=this.__storage,o=this.__zr;c&&c!==d.__storage&&(c.addToStorage(d),d instanceof m&&d.addChildrenToStorage(c)),o&&o.refresh()},remove:function(d){var c=this.__zr,o=this.__storage,i=this._children,t=v.indexOf(i,d);return t<0?this:(i.splice(t,1),d.parent=null,o&&(o.delFromStorage(d),d instanceof m&&d.delChildrenFromStorage(o)),c&&c.refresh(),this)},removeAll:function(){var d=this._children,c=this.__storage,o,i;for(i=0;i<d.length;i++)o=d[i],c&&(c.delFromStorage(o),o instanceof m&&o.delChildrenFromStorage(c)),o.parent=null;return d.length=0,this},eachChild:function(d,c){for(var o=this._children,i=0;i<o.length;i++){var t=o[i];d.call(c,t,i)}return this},traverse:function(d,c){for(var o=0;o<this._children.length;o++){var i=this._children[o];d.call(c,i),i.type==="group"&&i.traverse(d,c)}return this},addChildrenToStorage:function(d){for(var c=0;c<this._children.length;c++){var o=this._children[c];d.addToStorage(o),o instanceof m&&o.addChildrenToStorage(d)}},delChildrenFromStorage:function(d){for(var c=0;c<this._children.length;c++){var o=this._children[c];d.delFromStorage(o),o instanceof m&&o.delChildrenFromStorage(d)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(d){for(var c=null,o=new S(0,0,0,0),i=d||this._children,t=[],a=0;a<i.length;a++){var e=i[a];if(e.ignore||e.invisible)continue;var l=e.getBoundingRect(),r=e.getLocalTransform(t);r?(o.copy(l),o.applyTransform(r),c=c||o.clone(),c.union(o)):(c=c||l.clone(),c.union(l))}return c||o}},v.inherits(m,p);var g=m;M.exports=g},"4i/N":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={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"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="CloseOutlined";var d=N.a=p.forwardRef(f)},"4mN7":function(M,N,n){var v=n("QBsz"),p=n("Sj9i"),S=Math.min,m=Math.max,g=Math.sin,f=Math.cos,d=Math.PI*2,c=v.create(),o=v.create(),i=v.create();function t(h,A,y){if(h.length===0)return;var w=h[0],b=w[0],x=w[0],O=w[1],T=w[1],E;for(E=1;E<h.length;E++)w=h[E],b=S(b,w[0]),x=m(x,w[0]),O=S(O,w[1]),T=m(T,w[1]);A[0]=b,A[1]=O,y[0]=x,y[1]=T}function a(h,A,y,w,b,x){b[0]=S(h,y),b[1]=S(A,w),x[0]=m(h,y),x[1]=m(A,w)}var e=[],l=[];function r(h,A,y,w,b,x,O,T,E,C){var _=p.cubicExtrema,L=p.cubicAt,P,k=_(h,y,b,O,e);for(E[0]=Infinity,E[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,P=0;P<k;P++){var F=L(h,y,b,O,e[P]);E[0]=S(F,E[0]),C[0]=m(F,C[0])}for(k=_(A,w,x,T,l),P=0;P<k;P++){var j=L(A,w,x,T,l[P]);E[1]=S(j,E[1]),C[1]=m(j,C[1])}E[0]=S(h,E[0]),C[0]=m(h,C[0]),E[0]=S(O,E[0]),C[0]=m(O,C[0]),E[1]=S(A,E[1]),C[1]=m(A,C[1]),E[1]=S(T,E[1]),C[1]=m(T,C[1])}function s(h,A,y,w,b,x,O,T){var E=p.quadraticExtremum,C=p.quadraticAt,_=m(S(E(h,y,b),1),0),L=m(S(E(A,w,x),1),0),P=C(h,y,b,_),k=C(A,w,x,L);O[0]=S(h,b,P),O[1]=S(A,x,k),T[0]=m(h,b,P),T[1]=m(A,x,k)}function u(h,A,y,w,b,x,O,T,E){var C=v.min,_=v.max,L=Math.abs(b-x);if(L%d<1e-4&&L>1e-4){T[0]=h-y,T[1]=A-w,E[0]=h+y,E[1]=A+w;return}if(c[0]=f(b)*y+h,c[1]=g(b)*w+A,o[0]=f(x)*y+h,o[1]=g(x)*w+A,C(T,c,o),_(E,c,o),b=b%d,b<0&&(b=b+d),x=x%d,x<0&&(x=x+d),b>x&&!O?x+=d:b<x&&O&&(b+=d),O){var P=x;x=b,b=P}for(var k=0;k<x;k+=Math.PI/2)k>b&&(i[0]=f(k)*y+h,i[1]=g(k)*w+A,C(T,i,T),_(E,i,E))}N.fromPoints=t,N.fromLine=a,N.fromCubic=r,N.fromQuadratic=s,N.fromArc=u},"4vCz":function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("X2/X")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="PlusSquareOutlined";var i=m.forwardRef(o);N.default=i},"4xFK":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};N.default=v},"56rv":function(M,N,n){var v=n("IwbS"),p=n("x3X8"),S=p.getDefaultLabel;function m(f,d,c,o,i,t,a){var e=c.getModel("label"),l=c.getModel("emphasis.label");v.setLabelStyle(f,d,e,l,{labelFetcher:i,labelDataIndex:t,defaultText:S(i.getData(),t),isRectText:!0,autoColor:o}),g(f),g(d)}function g(f,d){f.textPosition==="outside"&&(f.textPosition=d)}N.setLabel=m},"59Ip":function(M,N,n){var v=n("Sj9i");function p(S,m,g,f,d,c,o,i,t,a,e){if(t===0)return!1;var l=t;if(e>m+l&&e>f+l&&e>c+l&&e>i+l||e<m-l&&e<f-l&&e<c-l&&e<i-l||a>S+l&&a>g+l&&a>d+l&&a>o+l||a<S-l&&a<g-l&&a<d-l&&a<o-l)return!1;var r=v.cubicProjectPoint(S,m,g,f,d,c,o,i,a,e,null);return r<=l/2}N.containStroke=p},"5Dmo":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("5YgA"),m=n.n(S)},"5GOC":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("b56q"),m=n.n(S),g=n("1YHl")},"5GhG":function(M,N,n){var v=n("5GtS"),p=n("bYtY"),S=n("L0Ub"),m=S.getDimensionTypeByAxis,g=n("D5nY"),f=g.makeSeriesEncodeForAxisCoordSys,d={_baseAxisDim:null,getInitialData:function(c,o){var i,t=o.getComponent("xAxis",this.get("xAxisIndex")),a=o.getComponent("yAxis",this.get("yAxisIndex")),e=t.get("type"),l=a.get("type"),r;e==="category"?(c.layout="horizontal",i=t.getOrdinalMeta(),r=!0):l==="category"?(c.layout="vertical",i=a.getOrdinalMeta(),r=!0):c.layout=c.layout||"horizontal";var s=["x","y"],u=c.layout==="horizontal"?0:1,h=this._baseAxisDim=s[u],A=s[1-u],y=[t,a],w=y[u].get("type"),b=y[1-u].get("type"),x=c.data;if(x&&r){var O=[];p.each(x,function(C,_){var L;C.value&&p.isArray(C.value)?(L=C.value.slice(),C.value.unshift(_)):p.isArray(C)?(L=C.slice(),C.unshift(_)):L=C,O.push(L)}),c.data=O}var T=this.defaultValueDimensions,E=[{name:h,type:m(w),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:A,type:m(b),dimsDef:T.slice()}];return v(this,{coordDimensions:E,dimensionsCount:T.length+1,encodeDefaulter:p.curry(f,E,this)})},getBaseAxis:function(){var c=this._baseAxisDim;return this.ecModel.getComponent(c+"Axis",this.get(c+"AxisIndex")).axis}};N.seriesModelMixin=d},"5GtS":function(M,N,n){var v=n("sdST"),p=n("YXkt"),S=n("bYtY"),m=S.extend,g=S.isArray;function f(d,c,o){c=g(c)&&{coordDimensions:c}||m({},c);var i=d.getSource(),t=v(i,c),a=new p(t,d);return a.initData(i,o),a}M.exports=f},"5Hur":function(M,N,n){var v=n("4NO4"),p=v.makeInner,S=v.normalizeToArray,m=p();function g(d,c){for(var o=d.length,i=0;i<o;i++)if(d[i].length>c)return d[i];return d[o-1]}var f={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(d,c,o){c=c||this;var i=m(c),t=i.colorIdx||0,a=i.colorNameMap=i.colorNameMap||{};if(a.hasOwnProperty(d))return a[d];var e=S(this.get("color",!0)),l=this.get("colorLayer",!0),r=o==null||!l?e:g(l,o);if(r=r||e,!r||!r.length)return;var s=r[t];return d&&(a[d]=s),i.colorIdx=(t+1)%r.length,s}};M.exports=f},"5NDa":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("OnYD"),m=n.n(S),g=n("+L6B")},"5NHt":function(M,N,n){n("aTJb"),n("OlYY"),n("fc+c"),n("N5BQ"),n("IyUQ"),n("LBfv"),n("noeP")},"5OYt":function(M,N,n){"use strict";var v=n("J4zp"),p=n.n(v),S=n("q1tI"),m=n.n(S),g=n("ACnJ");function f(){var d=Object(S.useState)({}),c=p()(d,2),o=c[0],i=c[1];return Object(S.useEffect)(function(){var t=g.a.subscribe(function(a){i(a)});return function(){return g.a.unsubscribe(t)}},[]),o}N.a=f},"5RzL":function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("7W2i"),i=n.n(o),t=n("LQ03"),a=n.n(t),e=n("q1tI"),l=n.n(e),r=n("1OyB"),s=n("vuIU"),u=n("Ji7U"),h=n("LK+K"),A=n("KQm4"),y=n("U8pU"),w=n("ODXe"),b=n("VTBJ"),x=n("rePB"),O=n("Ff2n"),T=n("4IlW"),E=n("TSYQ"),C=n.n(E),_=n("6cGi"),L=n("bX4T"),P=n("8XRh"),k=function(ar){var on=ar.className,Qt=ar.customizeIcon,gr=ar.customizeIconProps,Or=ar.onMouseDown,Kr=ar.onClick,mn=ar.children,mt;return typeof Qt=="function"?mt=Qt(gr):mt=Qt,e.createElement("span",{className:on,onMouseDown:function(pr){pr.preventDefault(),Or&&Or(pr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Kr,"aria-hidden":!0},mt!==void 0?mt:e.createElement("span",{className:C()(on.split(/\s+/).map(function(dr){return"".concat(dr,"-icon")}))},mn))},F=k,j=n("c+Xe"),z=function(ar,on){var Qt=ar.prefixCls,gr=ar.id,Or=ar.inputElement,Kr=ar.disabled,mn=ar.tabIndex,mt=ar.autoFocus,dr=ar.autoComplete,pr=ar.editable,kr=ar.accessibilityIndex,nn=ar.value,un=ar.maxLength,en=ar.onKeyDown,Ln=ar.onMouseDown,xn=ar.onChange,Gn=ar.onPaste,ui=ar.onCompositionStart,Jn=ar.onCompositionEnd,pi=ar.open,wi=ar.attrs,Ni=Or||e.createElement("input",null),Si=Ni,vi=Si.ref,Ai=Si.props,Ci=Ai.onKeyDown,Ui=Ai.onChange,$i=Ai.onMouseDown,Di=Ai.onCompositionStart,ua=Ai.onCompositionEnd,aa=Ai.style;return Ni=e.cloneElement(Ni,Object(b.a)(Object(b.a)({id:gr,ref:Object(j.a)(on,vi),disabled:Kr,tabIndex:mn,autoComplete:dr||"off",type:"search",autoFocus:mt,className:"".concat(Qt,"-selection-search-input"),style:Object(b.a)(Object(b.a)({},aa),{},{opacity:pr?null:0}),role:"combobox","aria-expanded":pi,"aria-haspopup":"listbox","aria-owns":"".concat(gr,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(gr,"_list"),"aria-activedescendant":"".concat(gr,"_list_").concat(kr)},wi),{},{value:pr?nn:"",maxLength:un,readOnly:!pr,unselectable:pr?null:"on",onKeyDown:function(Vi){en(Vi),Ci&&Ci(Vi)},onMouseDown:function(Vi){Ln(Vi),$i&&$i(Vi)},onChange:function(Vi){xn(Vi),Ui&&Ui(Vi)},onCompositionStart:function(Vi){ui(Vi),Di&&Di(Vi)},onCompositionEnd:function(Vi){Jn(Vi),ua&&ua(Vi)},onPaste:Gn})),Ni},R=e.forwardRef(z);R.displayName="Input";var U=R;function B(Ar){return Array.isArray(Ar)?Ar:Ar!==void 0?[Ar]:[]}function H(Ar,ar){var on=ar.labelInValue,Qt=ar.combobox;if(Ar===void 0||Ar===""&&Qt)return[];var gr=Array.isArray(Ar)?Ar:[Ar];return on?gr.map(function(Or){var Kr=Or.key,mn=Or.value;return mn!==void 0?mn:Kr}):gr}function K(Ar,ar){var on=ar.optionLabelProp,Qt=ar.labelInValue,gr=ar.prevValue,Or=ar.options,Kr=ar.getLabeledValue,mn=Ar;return Qt&&(mn=mn.map(function(mt){return Kr(mt,{options:Or,prevValue:gr,labelInValue:Qt,optionLabelProp:on})})),mn}function V(Ar,ar){var on=Object(A.a)(ar),Qt;for(Qt=Ar.length-1;Qt>=0&&Ar[Qt].disabled;Qt-=1);var gr=null;return Qt!==-1&&(gr=on[Qt],on.splice(Qt,1)),{values:on,removedValue:gr}}var W=typeof window!="undefined"&&window.document&&window.document.documentElement,G=W,re=0;function ye(){var Ar;return G?(Ar=re,re+=1):Ar="TEST_OR_SSR",Ar}function $(Ar,ar){G?e.useLayoutEffect(Ar,ar):e.useEffect(Ar,ar)}var ve="__RC_SELECT_MAX_REST_COUNT__",Ce=function(ar){var on=ar.id,Qt=ar.prefixCls,gr=ar.values,Or=ar.open,Kr=ar.searchValue,mn=ar.inputRef,mt=ar.placeholder,dr=ar.disabled,pr=ar.mode,kr=ar.showSearch,nn=ar.autoFocus,un=ar.autoComplete,en=ar.accessibilityIndex,Ln=ar.tabIndex,xn=ar.removeIcon,Gn=ar.choiceTransitionName,ui=ar.maxTagCount,Jn=ar.maxTagTextLength,pi=ar.maxTagPlaceholder,wi=pi===void 0?function(Ta){return"+ ".concat(Ta.length," ...")}:pi,Ni=ar.tagRender,Si=ar.onSelect,vi=ar.onInputChange,Ai=ar.onInputPaste,Ci=ar.onInputKeyDown,Ui=ar.onInputMouseDown,$i=ar.onInputCompositionStart,Di=ar.onInputCompositionEnd,ua=Object(e.useState)(!1),aa=Object(w.a)(ua,2),Xi=aa[0],Vi=aa[1],ta=e.useRef(null),Gi=Object(e.useState)(0),ga=Object(w.a)(Gi,2),ra=ga[0],pa=ga[1],_a=Object(e.useState)(!1),Da=Object(w.a)(_a,2),Ra=Da[0],vo=Da[1];e.useEffect(function(){Vi(!0)},[]);var ja=Or||pr==="tags"?Kr:"",Ya=pr==="tags"||kr&&(Or||Ra);$(function(){pa(ta.current.scrollWidth)},[ja]);var Ia=gr,Va;typeof ui=="number"&&(Va=gr.length-ui,Ia=gr.slice(0,ui)),typeof Jn=="number"&&(Ia=Ia.map(function(Ta){var yo=Ta.label,uo=Object(O.a)(Ta,["label"]),Xa=yo;if(typeof yo=="string"||typeof yo=="number"){var Oo=String(Xa);Oo.length>Jn&&(Xa="".concat(Oo.slice(0,Jn),"..."))}return Object(b.a)(Object(b.a)({},uo),{},{label:Xa})})),Va>0&&Ia.push({key:ve,label:typeof wi=="function"?wi(gr.slice(ui)):wi});var co=e.createElement(P.a,{component:!1,keys:Ia,motionName:Gn,motionAppear:Xi},function(Ta){var yo=Ta.key,uo=Ta.label,Xa=Ta.value,Oo=Ta.disabled,oa=Ta.className,qa=Ta.style,oo=yo||Xa,Ro=!dr&&yo!==ve&&!Oo,Ga=function(Ja){Ja.preventDefault(),Ja.stopPropagation()},_o=function(Ja){Ja&&Ja.stopPropagation(),Si(Xa,{selected:!1})};return typeof Ni=="function"?e.createElement("span",{key:oo,onMouseDown:Ga,className:oa,style:qa},Ni({label:uo,value:Xa,disabled:Oo,closable:Ro,onClose:_o})):e.createElement("span",{key:oo,className:C()(oa,"".concat(Qt,"-selection-item"),Object(x.a)({},"".concat(Qt,"-selection-item-disabled"),Oo)),style:qa},e.createElement("span",{className:"".concat(Qt,"-selection-item-content")},uo),Ro&&e.createElement(F,{className:"".concat(Qt,"-selection-item-remove"),onMouseDown:Ga,onClick:_o,customizeIcon:xn},"\xD7"))});return e.createElement(e.Fragment,null,co,e.createElement("span",{className:"".concat(Qt,"-selection-search"),style:{width:ra},onFocus:function(){vo(!0)},onBlur:function(){vo(!1)}},e.createElement(U,{ref:mn,open:Or,prefixCls:Qt,id:on,inputElement:null,disabled:dr,autoFocus:nn,autoComplete:un,editable:Ya,accessibilityIndex:en,value:ja,onKeyDown:Ci,onMouseDown:Ui,onChange:vi,onPaste:Ai,onCompositionStart:$i,onCompositionEnd:Di,tabIndex:Ln,attrs:Object(L.a)(ar,!0)}),e.createElement("span",{ref:ta,className:"".concat(Qt,"-selection-search-mirror"),"aria-hidden":!0},ja,"\xA0")),!gr.length&&!ja&&e.createElement("span",{className:"".concat(Qt,"-selection-placeholder")},mt))},Se=Ce,Ke=function(ar){var on=ar.inputElement,Qt=ar.prefixCls,gr=ar.id,Or=ar.inputRef,Kr=ar.disabled,mn=ar.autoFocus,mt=ar.autoComplete,dr=ar.accessibilityIndex,pr=ar.mode,kr=ar.open,nn=ar.values,un=ar.placeholder,en=ar.tabIndex,Ln=ar.showSearch,xn=ar.searchValue,Gn=ar.activeValue,ui=ar.maxLength,Jn=ar.onInputKeyDown,pi=ar.onInputMouseDown,wi=ar.onInputChange,Ni=ar.onInputPaste,Si=ar.onInputCompositionStart,vi=ar.onInputCompositionEnd,Ai=e.useState(!1),Ci=Object(w.a)(Ai,2),Ui=Ci[0],$i=Ci[1],Di=pr==="combobox",ua=Di||Ln,aa=nn[0],Xi=xn||"";Di&&Gn&&!Ui&&(Xi=Gn),e.useEffect(function(){Di&&$i(!1)},[Di,Gn]);var Vi=pr!=="combobox"&&!kr?!1:!!Xi,ta=aa&&(typeof aa.label=="string"||typeof aa.label=="number")?aa.label.toString():void 0;return e.createElement(e.Fragment,null,e.createElement("span",{className:"".concat(Qt,"-selection-search")},e.createElement(U,{ref:Or,prefixCls:Qt,id:gr,open:kr,inputElement:on,disabled:Kr,autoFocus:mn,autoComplete:mt,editable:ua,accessibilityIndex:dr,value:Xi,onKeyDown:Jn,onMouseDown:pi,onChange:function(ga){$i(!0),wi(ga)},onPaste:Ni,onCompositionStart:Si,onCompositionEnd:vi,tabIndex:en,attrs:Object(L.a)(ar,!0),maxLength:Di?ui:void 0})),!Di&&aa&&!Vi&&e.createElement("span",{className:"".concat(Qt,"-selection-item"),title:ta},aa.label),!aa&&!Vi&&e.createElement("span",{className:"".concat(Qt,"-selection-placeholder")},un))},ue=Ke;function Le(){var Ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ar=e.useRef(null),on=e.useRef(null);e.useEffect(function(){return function(){window.clearTimeout(on.current)}},[]);function Qt(gr){(gr||ar.current===null)&&(ar.current=gr),window.clearTimeout(on.current),on.current=window.setTimeout(function(){ar.current=null},Ar)}return[function(){return ar.current},Qt]}var ee=function(ar,on){var Qt=Object(e.useRef)(null),gr=Object(e.useRef)(!1),Or=ar.prefixCls,Kr=ar.multiple,mn=ar.open,mt=ar.mode,dr=ar.showSearch,pr=ar.tokenWithEnter,kr=ar.onSearch,nn=ar.onSearchSubmit,un=ar.onToggleOpen,en=ar.onInputKeyDown,Ln=ar.domRef;e.useImperativeHandle(on,function(){return{focus:function(){Qt.current.focus()},blur:function(){Qt.current.blur()}}});var xn=Le(0),Gn=Object(w.a)(xn,2),ui=Gn[0],Jn=Gn[1],pi=function(Vi){var ta=Vi.which;(ta===T.a.UP||ta===T.a.DOWN)&&Vi.preventDefault(),en&&en(Vi),ta===T.a.ENTER&&mt==="tags"&&!gr.current&&!mn&&nn(Vi.target.value),[T.a.SHIFT,T.a.TAB,T.a.BACKSPACE,T.a.ESC].includes(ta)||un(!0)},wi=function(){Jn(!0)},Ni=Object(e.useRef)(null),Si=function(Vi){kr(Vi,!0,gr.current)!==!1&&un(!0)},vi=function(){gr.current=!0},Ai=function(){gr.current=!1},Ci=function(Vi){var ta=Vi.target.value;if(pr&&Ni.current&&/[\r\n]/.test(Ni.current)){var Gi=Ni.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");ta=ta.replace(Gi,Ni.current)}Ni.current=null,Si(ta)},Ui=function(Vi){var ta=Vi.clipboardData,Gi=ta.getData("text");Ni.current=Gi},$i=function(Vi){var ta=Vi.target;if(ta!==Qt.current){var Gi=document.body.style.msTouchAction!==void 0;Gi?setTimeout(function(){Qt.current.focus()}):Qt.current.focus()}},Di=function(Vi){var ta=ui();Vi.target!==Qt.current&&!ta&&Vi.preventDefault(),(mt!=="combobox"&&(!dr||!ta)||!mn)&&(mn&&kr("",!0,!1),un())},ua={inputRef:Qt,onInputKeyDown:pi,onInputMouseDown:wi,onInputChange:Ci,onInputPaste:Ui,onInputCompositionStart:vi,onInputCompositionEnd:Ai},aa=Kr?e.createElement(Se,Object.assign({},ar,ua)):e.createElement(ue,Object.assign({},ar,ua));return e.createElement("div",{ref:Ln,className:"".concat(Or,"-selector"),onClick:$i,onMouseDown:Di},aa)},le=e.forwardRef(ee);le.displayName="Selector";var et=le,Re=n("uciX"),Ae=function(ar){var on=typeof ar!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:on,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:on,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:on,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:on,adjustY:1}}}},oe=function(ar,on){var Qt=ar.prefixCls,gr=ar.disabled,Or=ar.visible,Kr=ar.children,mn=ar.popupElement,mt=ar.containerWidth,dr=ar.animation,pr=ar.transitionName,kr=ar.dropdownStyle,nn=ar.dropdownClassName,un=ar.direction,en=un===void 0?"ltr":un,Ln=ar.dropdownMatchSelectWidth,xn=Ln===void 0?!0:Ln,Gn=ar.dropdownRender,ui=ar.dropdownAlign,Jn=ar.getPopupContainer,pi=ar.empty,wi=ar.getTriggerDOMNode,Ni=Object(O.a)(ar,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Si="".concat(Qt,"-dropdown"),vi=mn;Gn&&(vi=Gn(mn));var Ai=e.useMemo(function(){return Ae(xn)},[xn]),Ci=dr?"".concat(Si,"-").concat(dr):pr,Ui=e.useRef(null);e.useImperativeHandle(on,function(){return{getPopupElement:function(){return Ui.current}}});var $i=Object(b.a)({minWidth:mt},kr);return typeof xn=="number"?$i.width=xn:xn&&($i.width=mt),e.createElement(Re.a,Object.assign({},Ni,{showAction:[],hideAction:[],popupPlacement:en==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Ai,prefixCls:Si,popupTransitionName:Ci,popup:e.createElement("div",{ref:Ui},vi),popupAlign:ui,popupVisible:Or,getPopupContainer:Jn,popupClassName:C()(nn,Object(x.a)({},"".concat(Si,"-empty"),pi)),popupStyle:$i,getTriggerDOMNode:wi}),Kr)},ce=e.forwardRef(oe);ce.displayName="SelectTrigger";var be=ce,Te="RC_SELECT_INTERNAL_PROPS_MARK";function Be(){var Ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ar=e.useState(!1),on=Object(w.a)(ar,2),Qt=on[0],gr=on[1],Or=e.useRef(null),Kr=function(){window.clearTimeout(Or.current)};e.useEffect(function(){return Kr},[]);var mn=function(dr,pr){Kr(),Or.current=window.setTimeout(function(){gr(dr),pr&&pr()},Ar)};return[Qt,mn,Kr]}var De=n("T5bk"),ae=n("Kwbf");function fe(Ar,ar){var on=Ar.key,Qt;return"value"in Ar&&(Qt=Ar.value),on!=null?on:Qt!==void 0?Qt:"rc-index-key-".concat(ar)}function Oe(Ar){var ar=[];function on(Qt,gr){Qt.forEach(function(Or){gr||!("options"in Or)?ar.push({key:fe(Or,ar.length),groupOption:gr,data:Or}):(ar.push({key:fe(Or,ar.length),group:!0,data:Or}),on(Or.options,!0))})}return on(Ar,!1),ar}function Je(Ar){var ar=Object(b.a)({},Ar);return"props"in ar||Object.defineProperty(ar,"props",{get:function(){return Object(ae.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),ar}}),ar}function Et(Ar,ar){var on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qt=on.prevValueOptions,gr=Qt===void 0?[]:Qt,Or=new Map;return ar.forEach(function(Kr){if(!Kr.group){var mn=Kr.data;Or.set(mn.value,mn)}}),Ar.map(function(Kr){var mn=Or.get(Kr);return mn||(mn=Object(b.a)({},gr.find(function(mt){return mt._INTERNAL_OPTION_VALUE_===Kr}))),Je(mn)})}var Ze=function(ar,on){var Qt=on.options,gr=on.prevValue,Or=on.labelInValue,Kr=on.optionLabelProp,mn=Et([ar],Qt)[0],mt={value:ar},dr,pr=B(gr);return Or&&(dr=pr.find(function(kr){return Object(y.a)(kr)==="object"&&"value"in kr?kr.value===ar:kr.key===ar})),dr&&Object(y.a)(dr)==="object"&&"label"in dr?(mt.label=dr.label,mn&&typeof dr.label=="string"&&typeof mn[Kr]=="string"&&dr.label.trim()!==mn[Kr].trim()&&Object(ae.a)(!1,"`label` of `value` is not same as `label` in Select options.")):mn&&Kr in mn?mt.label=mn[Kr]:mt.label=ar,mt.key=mt.value,mt};function Ne(Ar){return B(Ar).join("")}function It(Ar){return function(ar,on){var Qt=ar.toLowerCase();if("options"in on)return Ne(on.label).toLowerCase().includes(Qt);var gr=on[Ar],Or=Ne(gr).toLowerCase();return Or.includes(Qt)}}function Xe(Ar,ar,on){var Qt=on.optionFilterProp,gr=on.filterOption,Or=[],Kr;return gr===!1?Object(A.a)(ar):(typeof gr=="function"?Kr=gr:Kr=It(Qt),ar.forEach(function(mn){if("options"in mn){var mt=Kr(Ar,mn);if(mt)Or.push(mn);else{var dr=mn.options.filter(function(pr){return Kr(Ar,pr)});dr.length&&Or.push(Object(b.a)(Object(b.a)({},mn),{},{options:dr}))}return}Kr(Ar,Je(mn))&&Or.push(mn)}),Or)}function Ot(Ar,ar){if(!ar||!ar.length)return null;var on=!1;function Qt(Or,Kr){var mn=Object(De.a)(Kr),mt=mn[0],dr=mn.slice(1);if(!mt)return[Or];var pr=Or.split(mt);return on=on||pr.length>1,pr.reduce(function(kr,nn){return[].concat(Object(A.a)(kr),Object(A.a)(Qt(nn,dr)))},[]).filter(function(kr){return kr})}var gr=Qt(Ar,ar);return on?gr:null}function Bt(Ar,ar){var on=Et([Ar],ar)[0];return on.disabled}function kt(Ar,ar,on,Qt){var gr=B(ar).slice().sort(),Or=Object(A.a)(Ar),Kr=new Set;return Ar.forEach(function(mn){mn.options?mn.options.forEach(function(mt){Kr.add(mt.value)}):Kr.add(mn.value)}),gr.forEach(function(mn){var mt=Qt?mn.value:mn;if(!Kr.has(mt)){var dr;Or.push(Qt?(dr={},Object(x.a)(dr,on,mn.label),Object(x.a)(dr,"value",mt),dr):{value:mt})}}),Or}function _t(Ar,ar,on){var Qt=e.useRef(null);Qt.current={elements:Ar.filter(function(gr){return gr}),open:ar,triggerOpen:on},e.useEffect(function(){function gr(Or){var Kr=Or.target;Qt.current.open&&Qt.current.elements.every(function(mn){return!mn.contains(Kr)&&mn!==Kr})&&Qt.current.triggerOpen(!1)}return window.addEventListener("mousedown",gr),function(){return window.removeEventListener("mousedown",gr)}},[])}function Ft(Ar){var ar=e.useRef(Ar),on=e.useMemo(function(){var Qt=new Map;ar.current.forEach(function(Or){var Kr=Or.value,mn=Or.label;Kr!==mn&&Qt.set(Kr,mn)});var gr=Ar.map(function(Or){var Kr=Qt.get(Or.value);return Or.value===Or.label&&Kr?Object(b.a)(Object(b.a)({},Or),{},{label:Kr}):Or});return ar.current=gr,gr},[Ar]);return on}function ke(Ar,ar){var on=e.useRef(null),Qt=e.useMemo(function(){var Or=new Map;return ar.forEach(function(Kr){var mn=Kr.data.value;Or.set(mn,Kr)}),Or},[Ar,ar]);on.current=Qt;var gr=function(Kr){return Kr.map(function(mn){return on.current.get(mn)}).filter(Boolean)};return gr}var te=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function Q(Ar){var ar=Ar.prefixCls,on=Ar.components.optionList,Qt=Ar.convertChildrenToData,gr=Ar.flattenOptions,Or=Ar.getLabeledValue,Kr=Ar.filterOptions,mn=Ar.isValueDisabled,mt=Ar.findValueOption,dr=Ar.warningProps,pr=Ar.fillOptionsWithMissingValue,kr=Ar.omitDOMProps;function nn(en,Ln){var xn,Gn=en.prefixCls,ui=Gn===void 0?ar:Gn,Jn=en.className,pi=en.id,wi=en.open,Ni=en.defaultOpen,Si=en.options,vi=en.children,Ai=en.mode,Ci=en.value,Ui=en.defaultValue,$i=en.labelInValue,Di=en.showSearch,ua=en.inputValue,aa=en.searchValue,Xi=en.filterOption,Vi=en.filterSort,ta=en.optionFilterProp,Gi=ta===void 0?"value":ta,ga=en.autoClearSearchValue,ra=ga===void 0?!0:ga,pa=en.onSearch,_a=en.allowClear,Da=en.clearIcon,Ra=en.showArrow,vo=en.inputIcon,ja=en.menuItemSelectedIcon,Ya=en.disabled,Ia=en.loading,Va=en.defaultActiveFirstOption,co=en.notFoundContent,Ta=co===void 0?"Not Found":co,yo=en.optionLabelProp,uo=en.backfill,Xa=en.getInputElement,Oo=en.getPopupContainer,oa=en.listHeight,qa=oa===void 0?200:oa,oo=en.listItemHeight,Ro=oo===void 0?20:oo,Ga=en.animation,_o=en.transitionName,go=en.virtual,Ja=en.dropdownStyle,Fa=en.dropdownClassName,ha=en.dropdownMatchSelectWidth,tt=en.dropdownRender,lr=en.dropdownAlign,Mr=en.showAction,Ir=Mr===void 0?[]:Mr,_n=en.direction,Vr=en.tokenSeparators,_r=en.tagRender,Mn=en.onPopupScroll,Br=en.onDropdownVisibleChange,Sn=en.onFocus,jn=en.onBlur,Hn=en.onKeyUp,Bn=en.onKeyDown,ri=en.onMouseDown,Yn=en.onChange,ii=en.onSelect,ai=en.onDeselect,Pi=en.onClear,yi=en.internalProps,Ki=yi===void 0?{}:yi,va=Object(O.a)(en,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","filterSort","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","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"]),ea=Ki.mark===Te,Ji=kr?kr(va):va;te.forEach(function(po){delete Ji[po]});var sa=Object(e.useRef)(null),fa=Object(e.useRef)(null),xo=Object(e.useRef)(null),Qa=Object(e.useRef)(null),Wi=Object(e.useMemo)(function(){return(Vr||[]).some(function(po){return[`
`,`\r
`].includes(po)})},[Vr]),qi=Be(),ca=Object(w.a)(qi,3),ma=ca[0],Pa=ca[1],La=ca[2],Za=Object(e.useState)(),eo=Object(w.a)(Za,2),ko=eo[0],jo=eo[1];Object(e.useEffect)(function(){jo("rc_select_".concat(ye()))},[]);var cs=pi||ko,Mo=yo;Mo===void 0&&(Mo=Si?"label":"children");var Lo=Ai==="combobox"?!1:$i,Ba=Ai==="tags"||Ai==="multiple",za=Di!==void 0?Di:Ba||Ai==="combobox",Ca=Object(e.useRef)(null);e.useImperativeHandle(Ln,function(){return{focus:xo.current.focus,blur:xo.current.blur}});var Po=Object(_.a)(Ui,{value:Ci}),Qo=Object(w.a)(Po,2),so=Qo[0],Os=Qo[1],ho=Object(e.useMemo)(function(){return H(so,{labelInValue:Lo,combobox:Ai==="combobox"})},[so,Lo]),bo=Object(e.useMemo)(function(){return new Set(ho)},[ho]),ds=Object(e.useState)(null),Ho=Object(w.a)(ds,2),zo=Ho[0],rn=Ho[1],es=Object(e.useState)(""),Js=Object(w.a)(es,2),Es=Js[0],gs=Js[1],Ko=Es;Ai==="combobox"&&so!==void 0?Ko=so:aa!==void 0?Ko=aa:ua&&(Ko=ua);var hs=Object(e.useMemo)(function(){var po=Si;return po===void 0&&(po=Qt(vi)),Ai==="tags"&&pr&&(po=pr(po,so,Mo,$i)),po||[]},[Si,vi,Ai,so]),bs=Object(e.useMemo)(function(){return gr(hs,en)},[hs]),ws=ke(ho,bs),qo=Object(e.useMemo)(function(){if(!Ko||!za)return Object(A.a)(hs);var po=Kr(Ko,hs,{optionFilterProp:Gi,filterOption:Ai==="combobox"&&Xi===void 0?function(){return!0}:Xi});return Ai==="tags"&&po.every(function(Wa){return Wa[Gi]!==Ko})&&po.unshift({value:Ko,label:Ko,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Vi&&Array.isArray(po)?Object(A.a)(po).sort(Vi):po},[hs,Ko,Ai,za,Vi]),us=Object(e.useMemo)(function(){return gr(qo,en)},[qo]);Object(e.useEffect)(function(){Qa.current&&Qa.current.scrollTo&&Qa.current.scrollTo(0)},[Ko]);var _s=Object(e.useMemo)(function(){var po=ho.map(function(Wa){var Eo=ws([Wa]),Go=Or(Wa,{options:Eo,prevValue:so,labelInValue:Lo,optionLabelProp:Mo});return Object(b.a)(Object(b.a)({},Go),{},{disabled:mn(Wa,Eo)})});return!Ai&&po.length===1&&po[0].value===null&&po[0].label===null?[]:po},[so,hs,Ai]);_s=Ft(_s);var As=function(Wa,Eo,Go){var $o=ws([Wa]),To=mt([Wa],$o)[0];if(!Ki.skipTriggerSelect){var rs=Lo?Or(Wa,{options:$o,prevValue:so,labelInValue:Lo,optionLabelProp:Mo}):Wa;Eo&&ii?ii(rs,To):!Eo&&ai&&ai(rs,To)}ea&&(Eo&&Ki.onRawSelect?Ki.onRawSelect(Wa,To,Go):!Eo&&Ki.onRawDeselect&&Ki.onRawDeselect(Wa,To,Go))},Ao=Object(e.useState)([]),to=Object(w.a)(Ao,2),Jo=to[0],ts=to[1],Ha=function(Wa){if(ea&&Ki.skipTriggerChange)return;var Eo=ws(Wa),Go=K(Array.from(Wa),{labelInValue:Lo,options:Eo,getLabeledValue:Or,prevValue:so,optionLabelProp:Mo}),$o=Ba?Go:Go[0];if(Yn&&(ho.length!==0||Go.length!==0)){var To=mt(Wa,Eo,{prevValueOptions:Jo});ts(To.map(function(rs,os){var Fs=Object(b.a)({},rs);return Object.defineProperty(Fs,"_INTERNAL_OPTION_VALUE_",{get:function(){return Wa[os]}}),Fs})),Yn($o,Ba?To:To[0])}Os($o)},Ct=function(Wa,Eo){var Go=Eo.selected,$o=Eo.source;if(Ya)return;var To;Ba?(To=new Set(ho),Go?To.add(Wa):To.delete(Wa)):(To=new Set,To.add(Wa)),(Ba||!Ba&&Array.from(ho)[0]!==Wa)&&Ha(Array.from(To)),As(Wa,!Ba||Go,$o),Ai==="combobox"?(gs(String(Wa)),rn("")):(!Ba||ra)&&(gs(""),rn(""))},Wt=function(Wa,Eo){Ct(Wa,Object(b.a)(Object(b.a)({},Eo),{},{source:"option"}))},cn=function(Wa,Eo){Ct(Wa,Object(b.a)(Object(b.a)({},Eo),{},{source:"selection"}))},zn=Ai==="combobox"&&Xa&&Xa()||null,ht=Object(_.a)(void 0,{defaultValue:Ni,value:wi}),Z=Object(w.a)(ht,2),se=Z[0],pe=Z[1],Ue=se,ft=!Ta&&!qo.length;(Ya||ft&&Ue&&Ai==="combobox")&&(Ue=!1);var zt=ft?!1:Ue,Dr=function(Wa){var Eo=Wa!==void 0?Wa:!Ue;se!==Eo&&!Ya&&(pe(Eo),Br&&Br(Eo))};_t([sa.current,fa.current&&fa.current.getPopupElement()],zt,Dr);var Xr=function(Wa,Eo,Go){var $o=!0,To=Wa;rn(null);var rs=Go?null:Ot(Wa,Vr),os=rs;if(Ai==="combobox")Eo&&Ha([To]);else if(rs){To="",Ai!=="tags"&&(os=rs.map(function(ol){var Zs=bs.find(function(dl){var hl=dl.data;return hl[Mo]===ol});return Zs?Zs.data.value:null}).filter(function(ol){return ol!==null}));var Fs=Array.from(new Set([].concat(Object(A.a)(ho),Object(A.a)(os))));Ha(Fs),Fs.forEach(function(ol){As(ol,!0,"input")}),Dr(!1),$o=!1}return gs(To),pa&&Ko!==To&&pa(To),$o},dn=function(Wa){var Eo=Array.from(new Set([].concat(Object(A.a)(ho),[Wa])));Ha(Eo),Eo.forEach(function(Go){As(Go,!0,"input")}),gs("")};Object(e.useEffect)(function(){se&&!!Ya&&pe(!1)},[Ya]),Object(e.useEffect)(function(){!Ue&&!Ba&&Ai!=="combobox"&&Xr("",!1,!1)},[Ue]);var Kn=Le(),$n=Object(w.a)(Kn,2),Qn=$n[0],Ei=$n[1],Fi=function(Wa){var Eo=Qn(),Go=Wa.which;if(!Ue&&Go===T.a.ENTER&&Dr(!0),Ei(!!Ko),Go===T.a.BACKSPACE&&!Eo&&Ba&&!Ko&&ho.length){var $o=V(_s,ho);$o.removedValue!==null&&(Ha($o.values),As($o.removedValue,!1,"input"))}for(var To=arguments.length,rs=new Array(To>1?To-1:0),os=1;os<To;os++)rs[os-1]=arguments[os];if(Ue&&Qa.current){var Fs;(Fs=Qa.current).onKeyDown.apply(Fs,[Wa].concat(rs))}Bn&&Bn.apply(void 0,[Wa].concat(rs))},Aa=function(Wa){for(var Eo=arguments.length,Go=new Array(Eo>1?Eo-1:0),$o=1;$o<Eo;$o++)Go[$o-1]=arguments[$o];if(Ue&&Qa.current){var To;(To=Qa.current).onKeyUp.apply(To,[Wa].concat(Go))}Hn&&Hn.apply(void 0,[Wa].concat(Go))},Oa=Object(e.useRef)(!1),fo=function(){Pa(!0),Ya||(Sn&&!Oa.current&&Sn.apply(void 0,arguments),Ir.includes("focus")&&Dr(!0)),Oa.current=!0},wo=function(){if(Pa(!1,function(){Oa.current=!1,Dr(!1)}),Ya)return;Ko&&(Ai==="tags"?(Xr("",!1,!1),Ha(Array.from(new Set([].concat(Object(A.a)(ho),[Ko]))))):Ai==="multiple"&&gs("")),jn&&jn.apply(void 0,arguments)},lo=[];Object(e.useEffect)(function(){return function(){lo.forEach(function(po){return clearTimeout(po)}),lo.splice(0,lo.length)}},[]);var Yo=function(Wa){var Eo=Wa.target,Go=fa.current&&fa.current.getPopupElement();if(Go&&Go.contains(Eo)){var $o=setTimeout(function(){var Fs=lo.indexOf($o);Fs!==-1&&lo.splice(Fs,1),La(),Go.contains(document.activeElement)||xo.current.focus()});lo.push($o)}if(ri){for(var To=arguments.length,rs=new Array(To>1?To-1:0),os=1;os<To;os++)rs[os-1]=arguments[os];ri.apply(void 0,[Wa].concat(rs))}},Vo=Object(e.useState)(0),No=Object(w.a)(Vo,2),ao=No[0],Ka=No[1],is=Va!==void 0?Va:Ai!=="combobox",Is=function(Wa,Eo){var Go=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$o=Go.source,To=$o===void 0?"keyboard":$o;Ka(Eo),uo&&Ai==="combobox"&&Wa!==null&&To==="keyboard"&&rn(String(Wa))},Xo=Object(e.useState)(null),la=Object(w.a)(Xo,2),Vs=la[0],Hs=la[1],fs=Object(e.useState)({}),as=Object(w.a)(fs,2),Ss=as[1];function xl(){Ss({})}$(function(){if(zt){var po=Math.ceil(sa.current.offsetWidth);Vs!==po&&Hs(po)}},[zt]);var Al=e.createElement(on,{ref:Qa,prefixCls:ui,id:cs,open:Ue,childrenAsData:!Si,options:qo,flattenOptions:us,multiple:Ba,values:bo,height:qa,itemHeight:Ro,onSelect:Wt,onToggleOpen:Dr,onActiveValue:Is,defaultActiveFirstOption:is,notFoundContent:Ta,onScroll:Mn,searchValue:Ko,menuItemSelectedIcon:ja,virtual:go!==!1&&ha!==!1,onMouseEnter:xl}),zs,Zo=function(){ea&&Ki.onClear&&Ki.onClear(),Pi&&Pi(),Ha([]),Xr("",!1,!1)};!Ya&&_a&&(ho.length||Ko)&&(zs=e.createElement(F,{className:"".concat(ui,"-clear"),onMouseDown:Zo,customizeIcon:Da},"\xD7"));var vs=Ra!==void 0?Ra:Ia||!Ba&&Ai!=="combobox",nl;vs&&(nl=e.createElement(F,{className:C()("".concat(ui,"-arrow"),Object(x.a)({},"".concat(ui,"-arrow-loading"),Ia)),customizeIcon:vo,customizeIconProps:{loading:Ia,searchValue:Ko,open:Ue,focused:ma,showSearch:za}}));var ks=C()(ui,Jn,(xn={},Object(x.a)(xn,"".concat(ui,"-focused"),ma),Object(x.a)(xn,"".concat(ui,"-multiple"),Ba),Object(x.a)(xn,"".concat(ui,"-single"),!Ba),Object(x.a)(xn,"".concat(ui,"-allow-clear"),_a),Object(x.a)(xn,"".concat(ui,"-show-arrow"),vs),Object(x.a)(xn,"".concat(ui,"-disabled"),Ya),Object(x.a)(xn,"".concat(ui,"-loading"),Ia),Object(x.a)(xn,"".concat(ui,"-open"),Ue),Object(x.a)(xn,"".concat(ui,"-customize-input"),zn),Object(x.a)(xn,"".concat(ui,"-show-search"),za),xn));return e.createElement("div",Object.assign({className:ks},Ji,{ref:sa,onMouseDown:Yo,onKeyDown:Fi,onKeyUp:Aa,onFocus:fo,onBlur:wo}),ma&&!Ue&&e.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(ho.join(", "))),e.createElement(be,{ref:fa,disabled:Ya,prefixCls:ui,visible:zt,popupElement:Al,containerWidth:Vs,animation:Ga,transitionName:_o,dropdownStyle:Ja,dropdownClassName:Fa,direction:_n,dropdownMatchSelectWidth:ha,dropdownRender:tt,dropdownAlign:lr,getPopupContainer:Oo,empty:!hs.length,getTriggerDOMNode:function(){return Ca.current}},e.createElement(et,Object.assign({},en,{domRef:Ca,prefixCls:ui,inputElement:zn,ref:xo,id:cs,showSearch:za,mode:Ai,accessibilityIndex:ao,multiple:Ba,tagRender:_r,values:_s,open:Ue,onToggleOpen:Dr,searchValue:Ko,activeValue:zo,onSearch:Xr,onSearchSubmit:dn,onSelect:cn,tokenWithEnter:Wi}))),nl,zs)}var un=e.forwardRef(nn);return un}var qe=n("Zm9Q"),je=n("JX7q"),q=e.createContext(null),wt=function(ar){var on=ar.prefixCls,Qt=ar.level,gr=ar.isStart,Or=ar.isEnd;if(!Qt)return null;for(var Kr="".concat(on,"-indent-unit"),mn=[],mt=0;mt<Qt;mt+=1){var dr;mn.push(e.createElement("span",{key:mt,className:C()(Kr,(dr={},Object(x.a)(dr,"".concat(Kr,"-start"),gr[mt]),Object(x.a)(dr,"".concat(Kr,"-end"),Or[mt]),dr))}))}return e.createElement("span",{"aria-hidden":"true",className:"".concat(on,"-indent")},mn)},Vt=wt,lt="open",or="close",vr="---",An=function(Ar){Object(u.a)(on,Ar);var ar=Object(h.a)(on);function on(){var Qt;return Object(r.a)(this,on),Qt=ar.apply(this,arguments),Qt.state={dragNodeHighlight:!1},Qt.onSelectorClick=function(gr){var Or=Qt.props.context.onNodeClick;Or(gr,xt(Qt.props)),Qt.isSelectable()?Qt.onSelect(gr):Qt.onCheck(gr)},Qt.onSelectorDoubleClick=function(gr){var Or=Qt.props.context.onNodeDoubleClick;Or(gr,xt(Qt.props))},Qt.onSelect=function(gr){if(Qt.isDisabled())return;var Or=Qt.props.context.onNodeSelect;gr.preventDefault(),Or(gr,xt(Qt.props))},Qt.onCheck=function(gr){if(Qt.isDisabled())return;var Or=Qt.props,Kr=Or.disableCheckbox,mn=Or.checked,mt=Qt.props.context.onNodeCheck;if(!Qt.isCheckable()||Kr)return;gr.preventDefault();var dr=!mn;mt(gr,xt(Qt.props),dr)},Qt.onMouseEnter=function(gr){var Or=Qt.props.context.onNodeMouseEnter;Or(gr,xt(Qt.props))},Qt.onMouseLeave=function(gr){var Or=Qt.props.context.onNodeMouseLeave;Or(gr,xt(Qt.props))},Qt.onContextMenu=function(gr){var Or=Qt.props.context.onNodeContextMenu;Or(gr,xt(Qt.props))},Qt.onDragStart=function(gr){var Or=Qt.props.context.onNodeDragStart;gr.stopPropagation(),Qt.setState({dragNodeHighlight:!0}),Or(gr,Object(je.a)(Qt));try{gr.dataTransfer.setData("text/plain","")}catch(Kr){}},Qt.onDragEnter=function(gr){var Or=Qt.props.context.onNodeDragEnter;gr.preventDefault(),gr.stopPropagation(),Or(gr,Object(je.a)(Qt))},Qt.onDragOver=function(gr){var Or=Qt.props.context.onNodeDragOver;gr.preventDefault(),gr.stopPropagation(),Or(gr,Object(je.a)(Qt))},Qt.onDragLeave=function(gr){var Or=Qt.props.context.onNodeDragLeave;gr.stopPropagation(),Or(gr,Object(je.a)(Qt))},Qt.onDragEnd=function(gr){var Or=Qt.props.context.onNodeDragEnd;gr.stopPropagation(),Qt.setState({dragNodeHighlight:!1}),Or(gr,Object(je.a)(Qt))},Qt.onDrop=function(gr){var Or=Qt.props.context.onNodeDrop;gr.preventDefault(),gr.stopPropagation(),Qt.setState({dragNodeHighlight:!1}),Or(gr,Object(je.a)(Qt))},Qt.onExpand=function(gr){var Or=Qt.props.context.onNodeExpand;Or(gr,xt(Qt.props))},Qt.setSelectHandle=function(gr){Qt.selectHandle=gr},Qt.getNodeState=function(){var gr=Qt.props.expanded;return Qt.isLeaf()?null:gr?lt:or},Qt.hasChildren=function(){var gr=Qt.props.eventKey,Or=Qt.props.context.keyEntities,Kr=Or[gr]||{},mn=Kr.children;return!!(mn||[]).length},Qt.isLeaf=function(){var gr=Qt.props,Or=gr.isLeaf,Kr=gr.loaded,mn=Qt.props.context.loadData,mt=Qt.hasChildren();return Or===!1?!1:Or||!mn&&!mt||mn&&Kr&&!mt},Qt.isDisabled=function(){var gr=Qt.props.disabled,Or=Qt.props.context.disabled;return!!(Or||gr)},Qt.isCheckable=function(){var gr=Qt.props.checkable,Or=Qt.props.context.checkable;return!Or||gr===!1?!1:Or},Qt.syncLoadData=function(gr){var Or=gr.expanded,Kr=gr.loading,mn=gr.loaded,mt=Qt.props.context,dr=mt.loadData,pr=mt.onNodeLoad;if(Kr)return;dr&&Or&&!Qt.isLeaf()&&(!Qt.hasChildren()&&!mn&&pr(xt(Qt.props)))},Qt.renderSwitcher=function(){var gr=Qt.props,Or=gr.expanded,Kr=gr.switcherIcon,mn=Qt.props.context,mt=mn.prefixCls,dr=mn.switcherIcon,pr=Kr||dr;if(Qt.isLeaf())return e.createElement("span",{className:C()("".concat(mt,"-switcher"),"".concat(mt,"-switcher-noop"))},typeof pr=="function"?pr(Object(b.a)(Object(b.a)({},Qt.props),{},{isLeaf:!0})):pr);var kr=C()("".concat(mt,"-switcher"),"".concat(mt,"-switcher_").concat(Or?lt:or));return e.createElement("span",{onClick:Qt.onExpand,className:kr},typeof pr=="function"?pr(Object(b.a)(Object(b.a)({},Qt.props),{},{isLeaf:!1})):pr)},Qt.renderCheckbox=function(){var gr=Qt.props,Or=gr.checked,Kr=gr.halfChecked,mn=gr.disableCheckbox,mt=Qt.props.context.prefixCls,dr=Qt.isDisabled(),pr=Qt.isCheckable();if(!pr)return null;var kr=typeof pr!="boolean"?pr:null;return e.createElement("span",{className:C()("".concat(mt,"-checkbox"),Or&&"".concat(mt,"-checkbox-checked"),!Or&&Kr&&"".concat(mt,"-checkbox-indeterminate"),(dr||mn)&&"".concat(mt,"-checkbox-disabled")),onClick:Qt.onCheck},kr)},Qt.renderIcon=function(){var gr=Qt.props.loading,Or=Qt.props.context.prefixCls;return e.createElement("span",{className:C()("".concat(Or,"-iconEle"),"".concat(Or,"-icon__").concat(Qt.getNodeState()||"docu"),gr&&"".concat(Or,"-icon_loading"))})},Qt.renderSelector=function(){var gr=Qt.state.dragNodeHighlight,Or=Qt.props,Kr=Or.title,mn=Or.selected,mt=Or.icon,dr=Or.loading,pr=Or.data,kr=Qt.props.context,nn=kr.prefixCls,un=kr.showIcon,en=kr.icon,Ln=kr.draggable,xn=kr.loadData,Gn=kr.titleRender,ui=Qt.isDisabled(),Jn="".concat(nn,"-node-content-wrapper"),pi;if(un){var wi=mt||en;pi=wi?e.createElement("span",{className:C()("".concat(nn,"-iconEle"),"".concat(nn,"-icon__customize"))},typeof wi=="function"?wi(Qt.props):wi):Qt.renderIcon()}else xn&&dr&&(pi=Qt.renderIcon());var Ni;typeof Kr=="function"?Ni=Kr(pr):Gn?Ni=Gn(pr):Ni=Kr;var Si=e.createElement("span",{className:"".concat(nn,"-title")},Ni);return e.createElement("span",{ref:Qt.setSelectHandle,title:typeof Kr=="string"?Kr:"",className:C()("".concat(Jn),"".concat(Jn,"-").concat(Qt.getNodeState()||"normal"),!ui&&(mn||gr)&&"".concat(nn,"-node-selected"),!ui&&Ln&&"draggable"),draggable:!ui&&Ln||void 0,"aria-grabbed":!ui&&Ln||void 0,onMouseEnter:Qt.onMouseEnter,onMouseLeave:Qt.onMouseLeave,onContextMenu:Qt.onContextMenu,onClick:Qt.onSelectorClick,onDoubleClick:Qt.onSelectorDoubleClick,onDragStart:Ln?Qt.onDragStart:void 0},pi,Si)},Qt}return Object(s.a)(on,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var gr=this.props.selectable,Or=this.props.context.selectable;return typeof gr=="boolean"?gr:Or}},{key:"render",value:function(){var gr,Or=this.props,Kr=Or.eventKey,mn=Or.className,mt=Or.style,dr=Or.dragOver,pr=Or.dragOverGapTop,kr=Or.dragOverGapBottom,nn=Or.isLeaf,un=Or.isStart,en=Or.isEnd,Ln=Or.expanded,xn=Or.selected,Gn=Or.checked,ui=Or.halfChecked,Jn=Or.loading,pi=Or.domRef,wi=Or.active,Ni=Or.onMouseMove,Si=Object(O.a)(Or,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),vi=this.props.context,Ai=vi.prefixCls,Ci=vi.filterTreeNode,Ui=vi.draggable,$i=vi.keyEntities,Di=this.isDisabled(),ua=Ee(Si),aa=$i[Kr]||{},Xi=aa.level,Vi=en[en.length-1];return e.createElement("div",Object.assign({ref:pi,className:C()(mn,"".concat(Ai,"-treenode"),(gr={},Object(x.a)(gr,"".concat(Ai,"-treenode-disabled"),Di),Object(x.a)(gr,"".concat(Ai,"-treenode-switcher-").concat(Ln?"open":"close"),!nn),Object(x.a)(gr,"".concat(Ai,"-treenode-checkbox-checked"),Gn),Object(x.a)(gr,"".concat(Ai,"-treenode-checkbox-indeterminate"),ui),Object(x.a)(gr,"".concat(Ai,"-treenode-selected"),xn),Object(x.a)(gr,"".concat(Ai,"-treenode-loading"),Jn),Object(x.a)(gr,"".concat(Ai,"-treenode-active"),wi),Object(x.a)(gr,"".concat(Ai,"-treenode-leaf-last"),Vi),Object(x.a)(gr,"drag-over",!Di&&dr),Object(x.a)(gr,"drag-over-gap-top",!Di&&pr),Object(x.a)(gr,"drag-over-gap-bottom",!Di&&kr),Object(x.a)(gr,"filter-node",Ci&&Ci(xt(this.props))),gr)),style:mt,onDragEnter:Ui?this.onDragEnter:void 0,onDragOver:Ui?this.onDragOver:void 0,onDragLeave:Ui?this.onDragLeave:void 0,onDrop:Ui?this.onDrop:void 0,onDragEnd:Ui?this.onDragEnd:void 0,onMouseMove:Ni},ua),e.createElement(Vt,{prefixCls:Ai,level:Xi,isStart:un,isEnd:en}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),on}(e.Component),hr=function(ar){return e.createElement(q.Consumer,null,function(on){return e.createElement(An,Object.assign({},ar,{context:on}))})};hr.displayName="TreeNode",hr.defaultProps={title:vr},hr.isTreeNode=1;var xr=hr,nr=.25,Yt=2;function gt(Ar,ar){var on=Ar.slice(),Qt=on.indexOf(ar);return Qt>=0&&on.splice(Qt,1),on}function zr(Ar,ar){var on=Ar.slice();return on.indexOf(ar)===-1&&on.push(ar),on}function pn(Ar){return Ar.split("-")}function Nn(Ar,ar){return"".concat(Ar,"-").concat(ar)}function Vn(Ar){return Ar&&Ar.type&&Ar.type.isTreeNode}function xi(Ar,ar){var on=[Ar],Qt=ar[Ar];function gr(){var Or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Or.forEach(function(Kr){var mn=Kr.key,mt=Kr.children;on.push(mn),gr(mt)})}return gr(Qt.children),on}function bn(Ar,ar){var on=Ar.clientY,Qt=ar.selectHandle.getBoundingClientRect(),gr=Qt.top,Or=Qt.bottom,Kr=Qt.height,mn=Math.max(Kr*nr,Yt);return on<=gr+mn?-1:on>=Or-mn?1:0}function Pn(Ar,ar){if(!Ar)return;var on=ar.multiple;return on?Ar.slice():Ar.length?[Ar[0]]:Ar}var jt=function(ar){return ar};function At(Ar,ar){if(!Ar)return[];var on=ar||{},Qt=on.processProps,gr=Qt===void 0?jt:Qt,Or=Array.isArray(Ar)?Ar:[Ar];return Or.map(function(Kr){var mn=Kr.children,mt=Object(O.a)(Kr,["children"]),dr=At(mn,ar);return l.a.createElement(xr,Object.assign({},gr(mt)),dr)})}function xe(Ar){if(!Ar)return null;var ar;if(Array.isArray(Ar))ar={checkedKeys:Ar,halfCheckedKeys:void 0};else if(Object(y.a)(Ar)==="object")ar={checkedKeys:Ar.checked||void 0,halfCheckedKeys:Ar.halfChecked||void 0};else return Object(ae.a)(!1,"`checkedKeys` is not an array or an object"),null;return ar}function we(Ar,ar){var on=new Set;function Qt(gr){if(on.has(gr))return;var Or=ar[gr];if(!Or)return;on.add(gr);var Kr=Or.parent,mn=Or.node;if(mn.disabled)return;Kr&&Qt(Kr.key)}return(Ar||[]).forEach(function(gr){Qt(gr)}),Object(A.a)(on)}function Ee(Ar){var ar={};return Object.keys(Ar).forEach(function(on){(on.startsWith("data-")||on.startsWith("aria-"))&&(ar[on]=Ar[on])}),ar}function Ge(Ar,ar){return Ar!=null?Ar:ar}function nt(){var Ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ar=new Map;function on(Qt){var gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Qt||[]).forEach(function(Or){var Kr=Or.key,mn=Or.children;Object(ae.a)(Kr!=null,"Tree node must have a certain key: [".concat(gr).concat(Kr,"]"));var mt=String(Kr);Object(ae.a)(!ar.has(mt)||Kr===null||Kr===void 0,"Same 'key' exist in the Tree: ".concat(mt)),ar.set(mt,!0),on(mn,"".concat(gr).concat(mt," > "))})}on(Ar)}function st(Ar){function ar(on){var Qt=Object(qe.a)(on);return Qt.map(function(gr){if(!Vn(gr))return Object(ae.a)(!gr,"Tree/TreeNode can only accept TreeNode as children."),null;var Or=gr.key,Kr=gr.props,mn=Kr.children,mt=Object(O.a)(Kr,["children"]),dr=Object(b.a)({key:Or},mt),pr=ar(mn);return pr.length&&(dr.children=pr),dr}).filter(function(gr){return gr})}return ar(Ar)}function Mt(){var Ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],on=new Set(ar===!0?[]:ar),Qt=[];function gr(Or){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Or.map(function(mn,mt){var dr=Nn(Kr?Kr.pos:"0",mt),pr=Ge(mn.key,dr),kr=Object(b.a)(Object(b.a)({},mn),{},{parent:Kr,pos:dr,children:null,data:mn,isStart:[].concat(Object(A.a)(Kr?Kr.isStart:[]),[mt===0]),isEnd:[].concat(Object(A.a)(Kr?Kr.isEnd:[]),[mt===Or.length-1])});return Qt.push(kr),ar===!0||on.has(pr)?kr.children=gr(mn.children||[],kr):kr.children=[],kr})}return gr(Ar),Qt}function wr(Ar,ar,on){var Qt;on?typeof on=="string"?Qt=function(Kr){return Kr[on]}:typeof on=="function"&&(Qt=function(Kr){return on(Kr)}):Qt=function(Kr,mn){return Ge(Kr.key,mn)};function gr(Or,Kr,mn){var mt=Or?Or.children:Ar,dr=Or?Nn(mn.pos,Kr):"0";if(Or){var pr=Qt(Or,dr),kr={node:Or,index:Kr,pos:dr,key:pr,parentPos:mn.node?mn.pos:null,level:mn.level+1};ar(kr)}mt&&mt.forEach(function(nn,un){gr(nn,un,{node:Or,pos:dr,level:mn?mn.level+1:-1})})}gr(null)}function Pr(Ar){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=ar.initWrapper,Qt=ar.processEntity,gr=ar.onProcessFinished,Or=arguments.length>2?arguments[2]:void 0,Kr={},mn={},mt={posEntities:Kr,keyEntities:mn};return on&&(mt=on(mt)||mt),wr(Ar,function(dr){var pr=dr.node,kr=dr.index,nn=dr.pos,un=dr.key,en=dr.parentPos,Ln=dr.level,xn={node:pr,index:kr,key:un,pos:nn,level:Ln},Gn=Ge(un,nn);Kr[nn]=xn,mn[Gn]=xn,xn.parent=Kr[en],xn.parent&&(xn.parent.children=xn.parent.children||[],xn.parent.children.push(xn)),Qt&&Qt(xn,mt)},Or),gr&&gr(mt),mt}function qr(Ar,ar){var on=ar.expandedKeys,Qt=ar.selectedKeys,gr=ar.loadedKeys,Or=ar.loadingKeys,Kr=ar.checkedKeys,mn=ar.halfCheckedKeys,mt=ar.dragOverNodeKey,dr=ar.dropPosition,pr=ar.keyEntities,kr=pr[Ar],nn={eventKey:Ar,expanded:on.indexOf(Ar)!==-1,selected:Qt.indexOf(Ar)!==-1,loaded:gr.indexOf(Ar)!==-1,loading:Or.indexOf(Ar)!==-1,checked:Kr.indexOf(Ar)!==-1,halfChecked:mn.indexOf(Ar)!==-1,pos:String(kr?kr.pos:""),dragOver:mt===Ar&&dr===0,dragOverGapTop:mt===Ar&&dr===-1,dragOverGapBottom:mt===Ar&&dr===1};return nn}function xt(Ar){var ar=Ar.data,on=Ar.expanded,Qt=Ar.selected,gr=Ar.checked,Or=Ar.loaded,Kr=Ar.loading,mn=Ar.halfChecked,mt=Ar.dragOver,dr=Ar.dragOverGapTop,pr=Ar.dragOverGapBottom,kr=Ar.pos,nn=Ar.active,un=Object(b.a)(Object(b.a)({},ar),{},{expanded:on,selected:Qt,checked:gr,loaded:Or,loading:Kr,halfChecked:mn,dragOver:mt,dragOverGapTop:dr,dragOverGapBottom:pr,pos:kr,active:nn});return"props"in un||Object.defineProperty(un,"props",{get:function(){return Object(ae.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Ar}}),un}function rt(Ar,ar){var on=new Set;return Ar.forEach(function(Qt){ar.has(Qt)||on.add(Qt)}),on}function it(Ar){var ar=Ar||{},on=ar.disabled,Qt=ar.disableCheckbox,gr=ar.checkable;return!!(on||Qt)||gr===!1}function $t(Ar,ar,on,Qt){for(var gr=new Set(Ar),Or=new Set,Kr=0;Kr<=on;Kr+=1){var mn=ar.get(Kr)||new Set;mn.forEach(function(kr){var nn=kr.key,un=kr.node,en=kr.children,Ln=en===void 0?[]:en;gr.has(nn)&&!Qt(un)&&Ln.filter(function(xn){return!Qt(xn.node)}).forEach(function(xn){gr.add(xn.key)})})}for(var mt=new Set,dr=on;dr>=0;dr-=1){var pr=ar.get(dr)||new Set;pr.forEach(function(kr){var nn=kr.parent,un=kr.node;if(Qt(un)||!kr.parent||mt.has(kr.parent.key))return;if(Qt(kr.parent.node)){mt.add(nn.key);return}var en=!0,Ln=!1;(nn.children||[]).filter(function(xn){return!Qt(xn.node)}).forEach(function(xn){var Gn=xn.key,ui=gr.has(Gn);en&&!ui&&(en=!1),!Ln&&(ui||Or.has(Gn))&&(Ln=!0)}),en&&gr.add(nn.key),Ln&&Or.add(nn.key),mt.add(nn.key)})}return{checkedKeys:Array.from(gr),halfCheckedKeys:Array.from(rt(Or,gr))}}function Dt(Ar,ar,on,Qt,gr){for(var Or=new Set(Ar),Kr=new Set(ar),mn=0;mn<=Qt;mn+=1){var mt=on.get(mn)||new Set;mt.forEach(function(nn){var un=nn.key,en=nn.node,Ln=nn.children,xn=Ln===void 0?[]:Ln;!Or.has(un)&&!Kr.has(un)&&!gr(en)&&xn.filter(function(Gn){return!gr(Gn.node)}).forEach(function(Gn){Or.delete(Gn.key)})})}Kr=new Set;for(var dr=new Set,pr=Qt;pr>=0;pr-=1){var kr=on.get(pr)||new Set;kr.forEach(function(nn){var un=nn.parent,en=nn.node;if(gr(en)||!nn.parent||dr.has(nn.parent.key))return;if(gr(nn.parent.node)){dr.add(un.key);return}var Ln=!0,xn=!1;(un.children||[]).filter(function(Gn){return!gr(Gn.node)}).forEach(function(Gn){var ui=Gn.key,Jn=Or.has(ui);Ln&&!Jn&&(Ln=!1),!xn&&(Jn||Kr.has(ui))&&(xn=!0)}),Ln||Or.delete(un.key),xn&&Kr.add(un.key),dr.add(un.key)})}return{checkedKeys:Array.from(Or),halfCheckedKeys:Array.from(rt(Kr,Or))}}function St(Ar,ar,on,Qt){var gr=[],Or;Qt?Or=Qt:Or=it;var Kr=new Set(Ar.filter(function(pr){var kr=!!on[pr];return kr||gr.push(pr),kr})),mn=new Map,mt=0;Object.keys(on).forEach(function(pr){var kr=on[pr],nn=kr.level,un=mn.get(nn);un||(un=new Set,mn.set(nn,un)),un.add(kr),mt=Math.max(mt,nn)}),Object(ae.a)(!gr.length,"Tree missing follow keys: ".concat(gr.slice(0,100).map(function(pr){return"'".concat(pr,"'")}).join(", ")));var dr;return ar===!0?dr=$t(Kr,mn,mt,Or):dr=Dt(Kr,ar.halfCheckedKeys,mn,mt,Or),dr}var Ut=n("YrtM"),vt=n("+nKL"),Pt=function(ar,on){var Qt=ar.className,gr=ar.style,Or=ar.motion,Kr=ar.motionNodes,mn=ar.motionType,mt=ar.onMotionStart,dr=ar.onMotionEnd,pr=ar.active,kr=ar.treeNodeRequiredProps,nn=Object(O.a)(ar,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),un=e.useState(!0),en=Object(w.a)(un,2),Ln=en[0],xn=en[1],Gn=e.useContext(q),ui=Gn.prefixCls,Jn=e.useRef(!1),pi=function(){Jn.current||dr(),Jn.current=!0};return Object(e.useEffect)(function(){Kr&&mn==="hide"&&Ln&&xn(!1)},[Kr]),Object(e.useEffect)(function(){return Kr&&mt(),function(){Kr&&pi()}},[]),Kr?e.createElement(P.b,Object.assign({ref:on,visible:Ln},Or,{motionAppear:mn==="show",onAppearEnd:pi,onLeaveEnd:pi}),function(wi,Ni){var Si=wi.className,vi=wi.style;return e.createElement("div",{ref:Ni,className:C()("".concat(ui,"-treenode-motion"),Si),style:vi},Kr.map(function(Ai){var Ci=Ai.data,Ui=Ci.key,$i=Object(O.a)(Ci,["key"]),Di=Ai.isStart,ua=Ai.isEnd;delete $i.children;var aa=qr(Ui,kr);return e.createElement(xr,Object.assign({},$i,aa,{active:pr,data:Ai.data,key:Ui,isStart:Di,isEnd:ua}))}))}):e.createElement(xr,Object.assign({domRef:on,className:Qt,style:gr},nn,{active:pr}))};Pt.displayName="MotionTreeNode";var br=e.forwardRef(Pt),ur=br;function fr(){var Ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],on=Ar.length,Qt=ar.length;if(Math.abs(on-Qt)!==1)return{add:!1,key:null};function gr(Or,Kr){var mn=new Map;Or.forEach(function(dr){mn.set(dr,!0)});var mt=Kr.filter(function(dr){return!mn.has(dr)});return mt.length===1?mt[0]:null}return on<Qt?{add:!0,key:gr(Ar,ar)}:{add:!1,key:gr(ar,Ar)}}function Jr(Ar,ar,on){var Qt=Ar.findIndex(function(mn){var mt=mn.data;return mt.key===on}),gr=Ar[Qt+1],Or=ar.findIndex(function(mn){var mt=mn.data;return mt.key===on});if(gr){var Kr=ar.findIndex(function(mn){var mt=mn.data;return mt.key===gr.data.key});return ar.slice(Or+1,Kr)}return ar.slice(Or+1)}var Zr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Fn=function(){},Rn="RC_TREE_MOTION_".concat(Math.random()),ei={key:Rn},di={key:Rn,level:0,index:0,pos:"0",node:ei},gi={parent:null,children:[],pos:di.pos,data:ei,isStart:[],isEnd:[]};function Ii(Ar,ar,on,Qt){return ar===!1||!on?Ar:Ar.slice(0,Math.ceil(on/Qt)+1)}function Ye(Ar){var ar=Ar.data.key,on=Ar.pos;return Ge(ar,on)}function ge(Ar){for(var ar=String(Ar.data.key),on=Ar;on.parent;)on=on.parent,ar="".concat(on.data.key," > ").concat(ar);return ar}var Ie=function(ar,on){var Qt=ar.prefixCls,gr=ar.data,Or=ar.selectable,Kr=ar.checkable,mn=ar.expandedKeys,mt=ar.selectedKeys,dr=ar.checkedKeys,pr=ar.loadedKeys,kr=ar.loadingKeys,nn=ar.halfCheckedKeys,un=ar.keyEntities,en=ar.disabled,Ln=ar.dragging,xn=ar.dragOverNodeKey,Gn=ar.dropPosition,ui=ar.motion,Jn=ar.height,pi=ar.itemHeight,wi=ar.virtual,Ni=ar.focusable,Si=ar.activeItem,vi=ar.focused,Ai=ar.tabIndex,Ci=ar.onKeyDown,Ui=ar.onFocus,$i=ar.onBlur,Di=ar.onActiveChange,ua=ar.onListChangeStart,aa=ar.onListChangeEnd,Xi=Object(O.a)(ar,["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"]),Vi=e.useRef(null);e.useImperativeHandle(on,function(){return{scrollTo:function(_o){Vi.current.scrollTo(_o)}}});var ta=e.useState(mn),Gi=Object(w.a)(ta,2),ga=Gi[0],ra=Gi[1],pa=e.useState(gr),_a=Object(w.a)(pa,2),Da=_a[0],Ra=_a[1],vo=e.useState(gr),ja=Object(w.a)(vo,2),Ya=ja[0],Ia=ja[1],Va=e.useState([]),co=Object(w.a)(Va,2),Ta=co[0],yo=co[1],uo=e.useState(null),Xa=Object(w.a)(uo,2),Oo=Xa[0],oa=Xa[1];function qa(){Ra(gr),Ia(gr),yo([]),oa(null),aa()}e.useEffect(function(){ra(mn);var Ga=fr(ga,mn);if(Ga.key!==null)if(Ga.add){var _o=Da.findIndex(function(lr){var Mr=lr.data.key;return Mr===Ga.key}),go=Ii(Jr(Da,gr,Ga.key),wi,Jn,pi),Ja=Da.slice();Ja.splice(_o+1,0,gi),Ia(Ja),yo(go),oa("show")}else{var Fa=gr.findIndex(function(lr){var Mr=lr.data.key;return Mr===Ga.key}),ha=Ii(Jr(gr,Da,Ga.key),wi,Jn,pi),tt=gr.slice();tt.splice(Fa+1,0,gi),Ia(tt),yo(ha),oa("hide")}else Da!==gr&&(Ra(gr),Ia(gr))},[mn,gr]),e.useEffect(function(){Ln||qa()},[Ln]);var oo=ui?Ya:gr,Ro={expandedKeys:mn,selectedKeys:mt,loadedKeys:pr,loadingKeys:kr,checkedKeys:dr,halfCheckedKeys:nn,dragOverNodeKey:xn,dropPosition:Gn,keyEntities:un};return e.createElement(e.Fragment,null,vi&&Si&&e.createElement("span",{style:Zr,"aria-live":"assertive"},ge(Si)),e.createElement("div",{role:"tree"},e.createElement("input",{style:Zr,disabled:Ni===!1||en,tabIndex:Ni!==!1?Ai:null,onKeyDown:Ci,onFocus:Ui,onBlur:$i,value:"",onChange:Fn})),e.createElement(vt.a,Object.assign({},Xi,{data:oo,itemKey:Ye,height:Jn,fullHeight:!1,virtual:wi,itemHeight:pi,prefixCls:"".concat(Qt,"-list"),ref:Vi}),function(Ga){var _o=Ga.pos,go=Ga.data,Ja=go.key,Fa=Object(O.a)(go,["key"]),ha=Ga.isStart,tt=Ga.isEnd,lr=Ge(Ja,_o);delete Fa.children;var Mr=qr(lr,Ro);return e.createElement(ur,Object.assign({},Fa,Mr,{active:Si&&Ja===Si.data.key,pos:_o,data:Ga.data,isStart:ha,isEnd:tt,motion:ui,motionNodes:Ja===Rn?Ta:null,motionType:Oo,onMotionStart:ua,onMotionEnd:qa,treeNodeRequiredProps:Ro,onMouseMove:function(){Di(null)}}))}))},Fe=e.forwardRef(Ie);Fe.displayName="NodeList";var Ve=Fe,We=function(Ar){Object(u.a)(on,Ar);var ar=Object(h.a)(on);function on(){var Qt;return Object(r.a)(this,on),Qt=ar.apply(this,arguments),Qt.destroyed=!1,Qt.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},Qt.listRef=e.createRef(),Qt.onNodeDragStart=function(gr,Or){var Kr=Qt.state,mn=Kr.expandedKeys,mt=Kr.keyEntities,dr=Qt.props.onDragStart,pr=Or.props.eventKey;Qt.dragNode=Or;var kr=gt(mn,pr);Qt.setState({dragging:!0,dragNodesKeys:xi(pr,mt)}),Qt.setExpandedKeys(kr),dr&&dr({event:gr,node:xt(Or.props)})},Qt.onNodeDragEnter=function(gr,Or){var Kr=Qt.state,mn=Kr.expandedKeys,mt=Kr.keyEntities,dr=Kr.dragNodesKeys,pr=Qt.props.onDragEnter,kr=Or.props,nn=kr.pos,un=kr.eventKey;if(!Qt.dragNode||dr.indexOf(un)!==-1)return;var en=bn(gr,Or);if(Qt.dragNode.props.eventKey===un&&en===0){Qt.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Qt.setState({dragOverNodeKey:un,dropPosition:en}),Qt.delayedDragEnterLogic||(Qt.delayedDragEnterLogic={}),Object.keys(Qt.delayedDragEnterLogic).forEach(function(Ln){clearTimeout(Qt.delayedDragEnterLogic[Ln])}),Qt.delayedDragEnterLogic[nn]=window.setTimeout(function(){if(!Qt.state.dragging)return;var Ln=Object(A.a)(mn),xn=mt[un];xn&&(xn.children||[]).length&&(Ln=zr(mn,un)),"expandedKeys"in Qt.props||Qt.setExpandedKeys(Ln),pr&&pr({event:gr,node:xt(Or.props),expandedKeys:Ln})},400)},0)},Qt.onNodeDragOver=function(gr,Or){var Kr=Qt.state.dragNodesKeys,mn=Qt.props.onDragOver,mt=Or.props.eventKey;if(Kr.indexOf(mt)!==-1)return;if(Qt.dragNode&&mt===Qt.state.dragOverNodeKey){var dr=bn(gr,Or);if(dr===Qt.state.dropPosition)return;Qt.setState({dropPosition:dr})}mn&&mn({event:gr,node:xt(Or.props)})},Qt.onNodeDragLeave=function(gr,Or){var Kr=Qt.props.onDragLeave;Qt.setState({dragOverNodeKey:""}),Kr&&Kr({event:gr,node:xt(Or.props)})},Qt.onNodeDragEnd=function(gr,Or){var Kr=Qt.props.onDragEnd;Qt.setState({dragOverNodeKey:""}),Qt.cleanDragState(),Kr&&Kr({event:gr,node:xt(Or.props)}),Qt.dragNode=null},Qt.onNodeDrop=function(gr,Or){var Kr=Qt.state,mn=Kr.dragNodesKeys,mt=mn===void 0?[]:mn,dr=Kr.dropPosition,pr=Qt.props.onDrop,kr=Or.props,nn=kr.eventKey,un=kr.pos;if(Qt.setState({dragOverNodeKey:""}),Qt.cleanDragState(),mt.indexOf(nn)!==-1){Object(ae.a)(!1,"Can not drop to dragNode(include it's children node)");return}var en=pn(un),Ln={event:gr,node:xt(Or.props),dragNode:Qt.dragNode?xt(Qt.dragNode.props):null,dragNodesKeys:mt.slice(),dropPosition:dr+Number(en[en.length-1]),dropToGap:!1};dr!==0&&(Ln.dropToGap=!0),pr&&pr(Ln),Qt.dragNode=null},Qt.cleanDragState=function(){var gr=Qt.state.dragging;gr&&Qt.setState({dragging:!1})},Qt.onNodeClick=function(gr,Or){var Kr=Qt.props.onClick;Kr&&Kr(gr,Or)},Qt.onNodeDoubleClick=function(gr,Or){var Kr=Qt.props.onDoubleClick;Kr&&Kr(gr,Or)},Qt.onNodeSelect=function(gr,Or){var Kr=Qt.state.selectedKeys,mn=Qt.state.keyEntities,mt=Qt.props,dr=mt.onSelect,pr=mt.multiple,kr=Or.selected,nn=Or.key,un=!kr;un?pr?Kr=zr(Kr,nn):Kr=[nn]:Kr=gt(Kr,nn);var en=Kr.map(function(Ln){var xn=mn[Ln];return xn?xn.node:null}).filter(function(Ln){return Ln});Qt.setUncontrolledState({selectedKeys:Kr}),dr&&dr(Kr,{event:"select",selected:un,node:Or,selectedNodes:en,nativeEvent:gr.nativeEvent})},Qt.onNodeCheck=function(gr,Or,Kr){var mn=Qt.state,mt=mn.keyEntities,dr=mn.checkedKeys,pr=mn.halfCheckedKeys,kr=Qt.props,nn=kr.checkStrictly,un=kr.onCheck,en=Or.key,Ln,xn={event:"check",node:Or,checked:Kr,nativeEvent:gr.nativeEvent};if(nn){var Gn=Kr?zr(dr,en):gt(dr,en),ui=gt(pr,en);Ln={checked:Gn,halfChecked:ui},xn.checkedNodes=Gn.map(function(vi){return mt[vi]}).filter(function(vi){return vi}).map(function(vi){return vi.node}),Qt.setUncontrolledState({checkedKeys:Gn})}else{var Jn=St([].concat(Object(A.a)(dr),[en]),!0,mt),pi=Jn.checkedKeys,wi=Jn.halfCheckedKeys;if(!Kr){var Ni=new Set(pi);Ni.delete(en);var Si=St(Array.from(Ni),{checked:!1,halfCheckedKeys:wi},mt);pi=Si.checkedKeys,wi=Si.halfCheckedKeys}Ln=pi,xn.checkedNodes=[],xn.checkedNodesPositions=[],xn.halfCheckedKeys=wi,pi.forEach(function(vi){var Ai=mt[vi];if(!Ai)return;var Ci=Ai.node,Ui=Ai.pos;xn.checkedNodes.push(Ci),xn.checkedNodesPositions.push({node:Ci,pos:Ui})}),Qt.setUncontrolledState({checkedKeys:pi},!1,{halfCheckedKeys:wi})}un&&un(Ln,xn)},Qt.onNodeLoad=function(gr){return new Promise(function(Or){Qt.setState(function(Kr){var mn=Kr.loadedKeys,mt=mn===void 0?[]:mn,dr=Kr.loadingKeys,pr=dr===void 0?[]:dr,kr=Qt.props,nn=kr.loadData,un=kr.onLoad,en=gr.key;if(!nn||mt.indexOf(en)!==-1||pr.indexOf(en)!==-1)return{};var Ln=nn(gr);return Ln.then(function(){var xn=Qt.state,Gn=xn.loadedKeys,ui=xn.loadingKeys,Jn=zr(Gn,en),pi=gt(ui,en);un&&un(Jn,{event:"load",node:gr}),Qt.setUncontrolledState({loadedKeys:Jn}),Qt.setState({loadingKeys:pi}),Or()}),{loadingKeys:zr(pr,en)}})})},Qt.onNodeMouseEnter=function(gr,Or){var Kr=Qt.props.onMouseEnter;Kr&&Kr({event:gr,node:Or})},Qt.onNodeMouseLeave=function(gr,Or){var Kr=Qt.props.onMouseLeave;Kr&&Kr({event:gr,node:Or})},Qt.onNodeContextMenu=function(gr,Or){var Kr=Qt.props.onRightClick;Kr&&(gr.preventDefault(),Kr({event:gr,node:Or}))},Qt.onFocus=function(){var gr=Qt.props.onFocus;Qt.setState({focused:!0}),gr&&gr.apply(void 0,arguments)},Qt.onBlur=function(){var gr=Qt.props.onBlur;Qt.setState({focused:!1}),Qt.onActiveChange(null),gr&&gr.apply(void 0,arguments)},Qt.getTreeNodeRequiredProps=function(){var gr=Qt.state,Or=gr.expandedKeys,Kr=gr.selectedKeys,mn=gr.loadedKeys,mt=gr.loadingKeys,dr=gr.checkedKeys,pr=gr.halfCheckedKeys,kr=gr.dragOverNodeKey,nn=gr.dropPosition,un=gr.keyEntities;return{expandedKeys:Or||[],selectedKeys:Kr||[],loadedKeys:mn||[],loadingKeys:mt||[],checkedKeys:dr||[],halfCheckedKeys:pr||[],dragOverNodeKey:kr,dropPosition:nn,keyEntities:un}},Qt.setExpandedKeys=function(gr){var Or=Qt.state.treeData,Kr=Mt(Or,gr);Qt.setUncontrolledState({expandedKeys:gr,flattenNodes:Kr},!0)},Qt.onNodeExpand=function(gr,Or){var Kr=Qt.state.expandedKeys,mn=Qt.state.listChanging,mt=Qt.props,dr=mt.onExpand,pr=mt.loadData,kr=Or.key,nn=Or.expanded;if(mn)return;var un=Kr.indexOf(kr),en=!nn;if(Object(ae.a)(nn&&un!==-1||!nn&&un===-1,"Expand state not sync with index check"),en?Kr=zr(Kr,kr):Kr=gt(Kr,kr),Qt.setExpandedKeys(Kr),dr&&dr(Kr,{node:Or,expanded:en,nativeEvent:gr.nativeEvent}),en&&pr){var Ln=Qt.onNodeLoad(Or);Ln&&Ln.then(function(){var xn=Mt(Qt.state.treeData,Kr);Qt.setUncontrolledState({flattenNodes:xn})})}},Qt.onListChangeStart=function(){Qt.setUncontrolledState({listChanging:!0})},Qt.onListChangeEnd=function(){setTimeout(function(){Qt.setUncontrolledState({listChanging:!1})})},Qt.onActiveChange=function(gr){var Or=Qt.state.activeKey,Kr=Qt.props.onActiveChange;if(Or===gr)return;Qt.setState({activeKey:gr}),gr!==null&&Qt.scrollTo({key:gr}),Kr&&Kr(gr)},Qt.getActiveItem=function(){var gr=Qt.state,Or=gr.activeKey,Kr=gr.flattenNodes;return Or===null?null:Kr.find(function(mn){var mt=mn.data.key;return mt===Or})||null},Qt.offsetActiveKey=function(gr){var Or=Qt.state,Kr=Or.flattenNodes,mn=Or.activeKey,mt=Kr.findIndex(function(kr){var nn=kr.data.key;return nn===mn});mt===-1&&gr<0&&(mt=Kr.length),mt=(mt+gr+Kr.length)%Kr.length;var dr=Kr[mt];if(dr){var pr=dr.data.key;Qt.onActiveChange(pr)}else Qt.onActiveChange(null)},Qt.onKeyDown=function(gr){var Or=Qt.state,Kr=Or.activeKey,mn=Or.expandedKeys,mt=Or.checkedKeys,dr=Qt.props,pr=dr.onKeyDown,kr=dr.checkable,nn=dr.selectable;switch(gr.which){case T.a.UP:{Qt.offsetActiveKey(-1),gr.preventDefault();break}case T.a.DOWN:{Qt.offsetActiveKey(1),gr.preventDefault();break}}var un=Qt.getActiveItem();if(un&&un.data){var en=Qt.getTreeNodeRequiredProps(),Ln=un.data.isLeaf===!1||!!(un.data.children||[]).length,xn=xt(Object(b.a)(Object(b.a)({},qr(Kr,en)),{},{data:un.data,active:!0}));switch(gr.which){case T.a.LEFT:{Ln&&mn.includes(Kr)?Qt.onNodeExpand({},xn):un.parent&&Qt.onActiveChange(un.parent.data.key),gr.preventDefault();break}case T.a.RIGHT:{Ln&&!mn.includes(Kr)?Qt.onNodeExpand({},xn):un.children&&un.children.length&&Qt.onActiveChange(un.children[0].data.key),gr.preventDefault();break}case T.a.ENTER:case T.a.SPACE:{kr&&!xn.disabled&&xn.checkable!==!1&&!xn.disableCheckbox?Qt.onNodeCheck({},xn,!mt.includes(Kr)):!kr&&nn&&!xn.disabled&&xn.selectable!==!1&&Qt.onNodeSelect({},xn);break}}}pr&&pr(gr)},Qt.setUncontrolledState=function(gr){var Or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Kr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Qt.destroyed)return;var mn=!1,mt=!0,dr={};Object.keys(gr).forEach(function(pr){if(pr in Qt.props){mt=!1;return}mn=!0,dr[pr]=gr[pr]}),mn&&(!Or||mt)&&Qt.setState(Object(b.a)(Object(b.a)({},dr),Kr))},Qt.scrollTo=function(gr){Qt.listRef.current.scrollTo(gr)},Qt}return Object(s.a)(on,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var gr,Or=this.state,Kr=Or.focused,mn=Or.flattenNodes,mt=Or.keyEntities,dr=Or.dragging,pr=Or.activeKey,kr=this.props,nn=kr.prefixCls,un=kr.className,en=kr.style,Ln=kr.showLine,xn=kr.focusable,Gn=kr.tabIndex,ui=Gn===void 0?0:Gn,Jn=kr.selectable,pi=kr.showIcon,wi=kr.icon,Ni=kr.switcherIcon,Si=kr.draggable,vi=kr.checkable,Ai=kr.checkStrictly,Ci=kr.disabled,Ui=kr.motion,$i=kr.loadData,Di=kr.filterTreeNode,ua=kr.height,aa=kr.itemHeight,Xi=kr.virtual,Vi=kr.titleRender,ta=kr.onContextMenu,Gi=Ee(this.props);return e.createElement(q.Provider,{value:{prefixCls:nn,selectable:Jn,showIcon:pi,icon:wi,switcherIcon:Ni,draggable:Si,checkable:vi,checkStrictly:Ai,disabled:Ci,keyEntities:mt,loadData:$i,filterTreeNode:Di,titleRender:Vi,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},e.createElement("div",{className:C()(nn,un,(gr={},Object(x.a)(gr,"".concat(nn,"-show-line"),Ln),Object(x.a)(gr,"".concat(nn,"-focused"),Kr),Object(x.a)(gr,"".concat(nn,"-active-focused"),pr!==null),gr))},e.createElement(Ve,Object.assign({ref:this.listRef,prefixCls:nn,style:en,data:mn,disabled:Ci,selectable:Jn,checkable:!!vi,motion:Ui,dragging:dr,height:ua,itemHeight:aa,virtual:Xi,focusable:xn,focused:Kr,tabIndex:ui,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ta},this.getTreeNodeRequiredProps(),Gi))))}}],[{key:"getDerivedStateFromProps",value:function(gr,Or){var Kr=Or.prevProps,mn={prevProps:gr};function mt(wi){return!Kr&&wi in gr||Kr&&Kr[wi]!==gr[wi]}var dr;if(mt("treeData")?dr=gr.treeData:mt("children")&&(Object(ae.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),dr=st(gr.children)),dr){mn.treeData=dr;var pr=Pr(dr);mn.keyEntities=Object(b.a)(Object(x.a)({},Rn,di),pr.keyEntities)}var kr=mn.keyEntities||Or.keyEntities;if(mt("expandedKeys")||Kr&&mt("autoExpandParent"))mn.expandedKeys=gr.autoExpandParent||!Kr&&gr.defaultExpandParent?we(gr.expandedKeys,kr):gr.expandedKeys;else if(!Kr&&gr.defaultExpandAll){var nn=Object(b.a)({},kr);delete nn[Rn],mn.expandedKeys=Object.keys(nn).map(function(wi){return nn[wi].key})}else!Kr&&gr.defaultExpandedKeys&&(mn.expandedKeys=gr.autoExpandParent||gr.defaultExpandParent?we(gr.defaultExpandedKeys,kr):gr.defaultExpandedKeys);if(mn.expandedKeys||delete mn.expandedKeys,dr||mn.expandedKeys){var un=Mt(dr||Or.treeData,mn.expandedKeys||Or.expandedKeys);mn.flattenNodes=un}if(gr.selectable&&(mt("selectedKeys")?mn.selectedKeys=Pn(gr.selectedKeys,gr):!Kr&&gr.defaultSelectedKeys&&(mn.selectedKeys=Pn(gr.defaultSelectedKeys,gr))),gr.checkable){var en;if(mt("checkedKeys")?en=xe(gr.checkedKeys)||{}:!Kr&&gr.defaultCheckedKeys?en=xe(gr.defaultCheckedKeys)||{}:dr&&(en=xe(gr.checkedKeys)||{checkedKeys:Or.checkedKeys,halfCheckedKeys:Or.halfCheckedKeys}),en){var Ln=en,xn=Ln.checkedKeys,Gn=xn===void 0?[]:xn,ui=Ln.halfCheckedKeys,Jn=ui===void 0?[]:ui;if(!gr.checkStrictly){var pi=St(Gn,!0,kr);Gn=pi.checkedKeys,Jn=pi.halfCheckedKeys}mn.checkedKeys=Gn,mn.halfCheckedKeys=Jn}}return mt("loadedKeys")&&(mn.loadedKeys=gr.loadedKeys),mn}}]),on}(e.Component);We.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:[]},We.TreeNode=xr;var Qe=We,yt=Qe,ot=e.createContext(null);function Zt(Ar,ar){if(!Ar)return!0;var on=Ar.data,Qt=on.disabled,gr=on.disableCheckbox;switch(ar){case"select":return Qt;case"checkbox":return Qt||gr}return!1}function Rr(Ar,ar){var on=e.useCallback(function(gr){var Or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Kr=arguments.length>2?arguments[2]:void 0,mn=Ar.get(gr);return!Kr&&Zt(mn,Or)?null:mn},[Ar]),Qt=e.useCallback(function(gr){var Or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Kr=arguments.length>2?arguments[2]:void 0,mn=ar.get(gr);return!Kr&&Zt(mn,Or)?null:mn},[ar]);return[on,Qt]}function Lr(Ar){return e.useMemo(function(){var ar=new Map,on=new Map;return Ar.forEach(function(Qt){ar.set(Qt.key,Qt),on.set(Qt.data.value,Qt)}),[ar,on]},[Ar])}var Gr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},er=function(ar,on){var Qt=ar.prefixCls,gr=ar.height,Or=ar.itemHeight,Kr=ar.virtual,mn=ar.options,mt=ar.flattenOptions,dr=ar.multiple,pr=ar.searchValue,kr=ar.onSelect,nn=ar.onToggleOpen,un=ar.open,en=ar.notFoundContent,Ln=ar.onMouseEnter,xn=e.useContext(ot),Gn=xn.checkable,ui=xn.checkedKeys,Jn=xn.halfCheckedKeys,pi=xn.treeExpandedKeys,wi=xn.treeDefaultExpandAll,Ni=xn.treeDefaultExpandedKeys,Si=xn.onTreeExpand,vi=xn.treeIcon,Ai=xn.showTreeIcon,Ci=xn.switcherIcon,Ui=xn.treeLine,$i=xn.treeNodeFilterProp,Di=xn.loadData,ua=xn.treeLoadedKeys,aa=xn.treeMotion,Xi=xn.onTreeLoad,Vi=e.useRef(),ta=Object(Ut.a)(function(){return mn},[un,mn],function(Mr,Ir){return Ir[0]&&Mr[1]!==Ir[1]}),Gi=Lr(mt),ga=Object(w.a)(Gi,2),ra=ga[0],pa=ga[1],_a=Rr(ra,pa),Da=Object(w.a)(_a,2),Ra=Da[0],vo=Da[1],ja=e.useMemo(function(){return ui.map(function(Mr){var Ir=vo(Mr);return Ir?Ir.key:null})},[ui]),Ya=e.useMemo(function(){return Gn?{checked:ja,halfChecked:Jn}:null},[ja,Jn,Gn]);e.useEffect(function(){if(un&&!dr&&ja.length){var Mr;(Mr=Vi.current)===null||Mr===void 0||Mr.scrollTo({key:ja[0]})}},[un]);var Ia=String(pr).toLowerCase(),Va=function(Ir){return Ia?String(Ir[$i]).toLowerCase().includes(Ia):!1},co=e.useState(Ni),Ta=Object(w.a)(co,2),yo=Ta[0],uo=Ta[1],Xa=e.useState(null),Oo=Object(w.a)(Xa,2),oa=Oo[0],qa=Oo[1],oo=e.useMemo(function(){return pi?Object(A.a)(pi):pr?oa:yo},[yo,oa,Ia,pi]);e.useEffect(function(){pr&&qa(mt.map(function(Mr){return Mr.key}))},[pr]);var Ro=function(Ir){uo(Ir),qa(Ir),Si&&Si(Ir)},Ga=function(Ir){Ir.preventDefault()},_o=function(Ir,_n){var Vr=_n.node.key,_r=Ra(Vr,Gn?"checkbox":"select");_r!==null&&kr(_r.data.value,{selected:!ui.includes(_r.data.value)}),dr||nn(!1)},go=e.useState(null),Ja=Object(w.a)(go,2),Fa=Ja[0],ha=Ja[1],tt=Ra(Fa);if(e.useImperativeHandle(on,function(){return{onKeyDown:function(Ir){var _n,Vr=Ir.which;switch(Vr){case T.a.UP:case T.a.DOWN:case T.a.LEFT:case T.a.RIGHT:(_n=Vi.current)===null||_n===void 0||_n.onKeyDown(Ir);break;case T.a.ENTER:{tt!==null&&_o(null,{node:{key:Fa},selected:!ui.includes(tt.data.value)});break}case T.a.ESC:nn(!1)}},onKeyUp:function(){}}}),ta.length===0)return e.createElement("div",{role:"listbox",className:"".concat(Qt,"-empty"),onMouseDown:Ga},en);var lr={};return ua&&(lr.loadedKeys=ua),oo&&(lr.expandedKeys=oo),e.createElement("div",{onMouseDown:Ga,onMouseEnter:Ln},tt&&un&&e.createElement("span",{style:Gr,"aria-live":"assertive"},tt.data.value),e.createElement(yt,Object.assign({ref:Vi,focusable:!1,prefixCls:"".concat(Qt,"-tree"),treeData:ta,height:gr,itemHeight:Or,virtual:Kr,multiple:dr,icon:vi,showIcon:Ai,switcherIcon:Ci,showLine:Ui,loadData:pr?null:Di,motion:aa,checkable:Gn,checkStrictly:!0,checkedKeys:Ya,selectedKeys:Gn?[]:ja,defaultExpandAll:wi},lr,{onActiveChange:ha,onSelect:_o,onCheck:_o,onExpand:Ro,onLoad:Xi,filterTreeNode:Va})))},On=e.forwardRef(er);On.displayName="OptionList";var yr=On,gn=function(){return null},tn=gn;function Fr(Ar){return Object(qe.a)(Ar).map(function(ar){if(!e.isValidElement(ar)||!ar.type)return null;var on=ar.key,Qt=ar.props,gr=Qt.children,Or=Qt.value,Kr=Object(O.a)(Qt,["children","value"]),mn=Object(b.a)({key:on,value:Or},Kr),mt=Fr(gr);return mt.length&&(mn.children=mt),mn}).filter(function(ar){return ar})}function Xn(Ar){if(!Ar)return Ar;var ar=Object(b.a)({},Ar);return"props"in ar||Object.defineProperty(ar,"props",{get:function(){return Object(ae.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),ar}}),ar}function hi(Ar,ar,on,Qt,gr){var Or=null,Kr=null;function mn(){function mt(dr){var pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",kr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return dr.map(function(nn,un){var en="".concat(pr,"-").concat(un),Ln=on.includes(nn.value),xn=mt(nn.children||[],en,Ln),Gn=e.createElement(tn,Object.assign({},nn),xn.map(function(Jn){return Jn.node}));if(ar===nn.value&&(Or=Gn),Ln){var ui={pos:en,node:Gn,children:xn};return kr||Kr.push(ui),ui}return null}).filter(function(nn){return nn})}Kr||(Kr=[],mt(Qt),Kr.sort(function(dr,pr){var kr=dr.node.props.value,nn=pr.node.props.value,un=on.indexOf(kr),en=on.indexOf(nn);return un-en}))}Object.defineProperty(Ar,"triggerNode",{get:function(){return Object(ae.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),mn(),Or}}),Object.defineProperty(Ar,"allCheckedNodes",{get:function(){return Object(ae.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),mn(),gr?Kr:Kr.map(function(dr){var pr=dr.node;return pr})}})}function _i(Ar){return Array.isArray(Ar)?Ar:Ar!==void 0?[Ar]:[]}function Ur(Ar,ar){var on=new Map;return ar.forEach(function(Qt){var gr=Qt.data;on.set(gr.value,gr)}),Ar.map(function(Qt){return Xn(on.get(Qt))})}function sn(Ar,ar){var on=Ur([Ar],ar)[0];return on?on.disabled:!1}function Cn(Ar){return Ar.disabled||Ar.disableCheckbox||Ar.checkable===!1}function Nt(Ar){for(var ar=Ar.parent,on=0,Qt=ar;Qt;)Qt=Qt.parent,on+=1;return on}function dt(Ar){function ar(Qt){return(Qt||[]).map(function(gr){var Or=gr.value,Kr=gr.key,mn=gr.children,mt=Object(b.a)(Object(b.a)({},gr),{},{key:"key"in gr?Kr:Or});return mn&&(mt.children=ar(mn)),mt})}var on=Mt(ar(Ar),!0);return on.map(function(Qt){return{key:Qt.data.key,data:Qt.data,level:Nt(Qt)}})}function bt(Ar){return function(ar,on){var Qt=on[Ar];return String(Qt).toLowerCase().includes(String(ar).toLowerCase())}}function Tt(Ar,ar,on){var Qt=on.optionFilterProp,gr=on.filterOption;if(gr===!1)return ar;var Or;typeof gr=="function"?Or=gr:Or=bt(Qt);function Kr(mn){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return mn.map(function(dr){var pr=dr.children,kr=mt||Or(Ar,Xn(dr)),nn=Kr(pr||[],kr);return kr||nn.length?Object(b.a)(Object(b.a)({},dr),{},{children:nn}):null}).filter(function(dr){return dr})}return Kr(ar)}function Lt(Ar,ar,on,Qt){var gr=new Map;return _i(ar).forEach(function(Or){Or&&Object(y.a)(Or)==="object"&&"value"in Or&&gr.set(Or.value,Or)}),Ar.map(function(Or){var Kr={value:Or},mn=on(Or,"select",!0),mt=mn?Qt(mn.data):Or;if(gr.has(Or)){var dr=gr.get(Or);Kr.label="label"in dr?dr.label:mt,"halfChecked"in dr&&(Kr.halfChecked=dr.halfChecked)}else Kr.label=mt;return Kr})}function pt(Ar,ar){var on=new Set(Ar);return on.add(ar),Array.from(on)}function Gt(Ar,ar){var on=new Set(Ar);return on.delete(ar),Array.from(on)}function qt(Ar){var ar=Ar.searchPlaceholder,on=Ar.treeCheckStrictly,Qt=Ar.treeCheckable,gr=Ar.labelInValue,Or=Ar.value,Kr=Ar.multiple;Object(ae.a)(!ar,"`searchPlaceholder` has been removed."),on&&gr===!1&&Object(ae.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(gr||on)&&Object(ae.a)(_i(Or).every(function(mn){return mn&&Object(y.a)(mn)==="object"&&"value"in mn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),on||Kr||Qt?Object(ae.a)(!Or||Array.isArray(Or),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(ae.a)(!Array.isArray(Or),"`value` should not be array when `TreeSelect` is single mode.")}var rr=qt,mr=10;function wn(Ar,ar){var on=ar.id,Qt=ar.pId,gr=ar.rootPId,Or={},Kr=[],mn=Ar.map(function(mt){var dr=Object(b.a)({},mt),pr=dr[on];return Or[pr]=dr,dr.key=dr.key||pr,dr});return mn.forEach(function(mt){var dr=mt[Qt],pr=Or[dr];pr&&(pr.children=pr.children||[],pr.children.push(mt)),(dr===gr||!pr&&gr===null)&&Kr.push(mt)}),Kr}function fn(Ar,ar){var on=0,Qt=new Set;function gr(Or){return(Or||[]).map(function(Kr){var mn=Kr.key,mt=Kr.value,dr=Kr.children,pr=Object(O.a)(Kr,["key","value","children"]),kr="value"in Kr?mt:mn,nn=Object(b.a)(Object(b.a)({},pr),{},{key:mn!=null?mn:kr,value:kr,title:ar(Kr)});return"children"in Kr&&(nn.children=gr(dr)),nn})}return gr(Ar)}function Wn(Ar,ar,on){var Qt=on.getLabelProp,gr=on.simpleMode,Or=e.useRef({});return Ar?(Or.current.formatTreeData=Or.current.treeData===Ar?Or.current.formatTreeData:fn(gr?wn(Ar,Object(b.a)({id:"id",pId:"pId",rootPId:null},gr!==!0?gr:{})):Ar,Qt),Or.current.treeData=Ar):Or.current.formatTreeData=Or.current.children===ar?Or.current.formatTreeData:fn(Fr(ar),Qt),Or.current.formatTreeData}var Yr="SHOW_ALL",Sr="SHOW_PARENT",ln="SHOW_CHILD";function Tn(Ar,ar,on){var Qt=new Set(Ar);return ar===ln?Ar.filter(function(gr){var Or=on[gr];return!(Or&&Or.children&&Or.children.every(function(Kr){var mn=Kr.node;return Cn(mn)||Qt.has(mn.key)}))}):ar===Sr?Ar.filter(function(gr){var Or=on[gr],Kr=Or?Or.parent:null;return!(Kr&&!Cn(Kr.node)&&Qt.has(Kr.node.key))}):Ar}function In(Ar,ar){var on=ar.value,Qt=ar.getEntityByValue,gr=ar.getEntityByKey,Or=ar.treeConduction,Kr=ar.showCheckedStrategy,mn=ar.conductKeyEntities,mt=ar.getLabelProp;return e.useMemo(function(){var dr=Ar;if(Or){var pr=Tn(Ar.map(function(kr){var nn=Qt(kr);return nn?nn.key:kr}),Kr,mn);dr=pr.map(function(kr){var nn=gr(kr);return nn?nn.data.value:kr})}return Lt(dr,on,Qt,mt)},[Ar,on,Or,Kr,Qt])}var Un=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],ti=Q({prefixCls:"rc-tree-select",components:{optionList:yr},convertChildrenToData:function(){return null},flattenOptions:dt,getLabeledValue:Ze,filterOptions:Tt,isValueDisabled:sn,findValueOption:Ur,omitDOMProps:function(ar){var on=Object(b.a)({},ar);return Un.forEach(function(Qt){delete on[Qt]}),on}});ti.displayName="Select";var li=e.forwardRef(function(Ar,ar){var on=Ar.multiple,Qt=Ar.treeCheckable,gr=Ar.treeCheckStrictly,Or=Ar.showCheckedStrategy,Kr=Or===void 0?"SHOW_CHILD":Or,mn=Ar.labelInValue,mt=Ar.loadData,dr=Ar.treeLoadedKeys,pr=Ar.treeNodeFilterProp,kr=pr===void 0?"value":pr,nn=Ar.treeNodeLabelProp,un=Ar.treeDataSimpleMode,en=Ar.treeData,Ln=Ar.treeExpandedKeys,xn=Ar.treeDefaultExpandedKeys,Gn=Ar.treeDefaultExpandAll,ui=Ar.children,Jn=Ar.treeIcon,pi=Ar.showTreeIcon,wi=Ar.switcherIcon,Ni=Ar.treeLine,Si=Ar.treeMotion,vi=Ar.filterTreeNode,Ai=Ar.dropdownPopupAlign,Ci=Ar.onChange,Ui=Ar.onTreeExpand,$i=Ar.onTreeLoad,Di=Ar.onDropdownVisibleChange,ua=Ar.onSelect,aa=Ar.onDeselect,Xi=Qt||gr,Vi=on||Xi,ta=Qt&&!gr,Gi=gr||mn,ga=e.useRef(null);e.useImperativeHandle(ar,function(){return{focus:ga.current.focus,blur:ga.current.blur}});var ra=function(Vr){return en&&Vr.label||Vr.title},pa=function(Vr){return nn?Vr[nn]:ra(Vr)},_a=Wn(en,ui,{getLabelProp:ra,simpleMode:un}),Da=Object(e.useMemo)(function(){return dt(_a)},[_a]),Ra=Lr(Da),vo=Object(w.a)(Ra,2),ja=vo[0],Ya=vo[1],Ia=Rr(ja,Ya),Va=Object(w.a)(Ia,2),co=Va[0],Ta=Va[1],yo=Object(e.useMemo)(function(){return ta?Pr(_a):{keyEntities:null}},[_a,Qt,gr]),uo=yo.keyEntities,Xa=Object(_.a)(Ar.defaultValue,{value:Ar.value}),Oo=Object(w.a)(Xa,2),oa=Oo[0],qa=Oo[1],oo=function(Vr){var _r=[],Mn=[];return Vr.forEach(function(Br){Ta(Br)?Mn.push(Br):_r.push(Br)}),{missingRawValues:_r,existRawValues:Mn}},Ro=Object(e.useMemo)(function(){var _n=[],Vr=[];if(_i(oa).forEach(function(ri){if(ri&&Object(y.a)(ri)==="object"&&"value"in ri)if(ri.halfChecked&&gr){var Yn=Ta(ri.value);_n.push(Yn?Yn.key:ri.value)}else Vr.push(ri.value);else Vr.push(ri)}),ta){var _r=oo(Vr),Mn=_r.missingRawValues,Br=_r.existRawValues,Sn=Br.map(function(ri){return Ta(ri).key}),jn=St(Sn,!0,uo),Hn=jn.checkedKeys,Bn=jn.halfCheckedKeys;return[[].concat(Object(A.a)(Mn),Object(A.a)(Hn.map(function(ri){return co(ri).data.value}))),Bn]}return[Vr,_n]},[oa,Vi,Gi,Qt,gr]),Ga=Object(w.a)(Ro,2),_o=Ga[0],go=Ga[1],Ja=In(_o,{treeConduction:ta,value:oa,showCheckedStrategy:Kr,conductKeyEntities:uo,getEntityByValue:Ta,getEntityByKey:co,getLabelProp:pa}),Fa=function(Vr,_r,Mn){if(qa(Vi?Vr:Vr[0]),Ci){var Br=Vr;if(ta&&Kr!=="SHOW_ALL"){var Sn=Vr.map(function(yi){var Ki=Ta(yi);return Ki?Ki.key:yi}),jn=Tn(Sn,Kr,uo);Br=jn.map(function(yi){var Ki=co(yi);return Ki?Ki.data.value:yi})}var Hn=_r||{triggerValue:void 0,selected:void 0},Bn=Hn.triggerValue,ri=Hn.selected,Yn=Gi?Lt(Br,oa,Ta,pa):Br;if(gr){var ii=go.map(function(yi){var Ki=co(yi);return Ki?Ki.data.value:yi}).filter(function(yi){return!Br.includes(yi)});Yn=[].concat(Object(A.a)(Yn),Object(A.a)(Lt(ii,oa,Ta,pa)))}var ai={preValue:Ja,triggerValue:Bn},Pi=!0;(gr||Mn==="selection"&&!ri)&&(Pi=!1),hi(ai,Bn,Vr,_a,Pi),Xi?ai.checked=ri:ai.selected=ri,Ci(Vi?Yn:Yn[0],Gi?null:Br.map(function(yi){var Ki=Ta(yi);return Ki?pa(Ki.data):null}),ai)}},ha=function(Vr,_r,Mn){var Br=Vr;if(!Vi)Fa([Vr],{selected:!0,triggerValue:Vr},Mn);else{var Sn=pt(_o,Vr);if(ta){var jn=oo(Sn),Hn=jn.missingRawValues,Bn=jn.existRawValues,ri=Bn.map(function(ai){return Ta(ai).key}),Yn=St(ri,!0,uo),ii=Yn.checkedKeys;Sn=[].concat(Object(A.a)(Hn),Object(A.a)(ii.map(function(ai){return co(ai).data.value})))}Fa(Sn,{selected:!0,triggerValue:Vr},Mn)}ua&&ua(Br,_r)},tt=function(Vr,_r,Mn){var Br=Vr,Sn=Gt(_o,Vr);if(ta){var jn=oo(Sn),Hn=jn.missingRawValues,Bn=jn.existRawValues,ri=Bn.map(function(ai){return Ta(ai).key}),Yn=St(ri,{checked:!1,halfCheckedKeys:go},uo),ii=Yn.checkedKeys;Sn=[].concat(Object(A.a)(Hn),Object(A.a)(ii.map(function(ai){return co(ai).data.value})))}Fa(Sn,{selected:!1,triggerValue:Vr},Mn),aa&&aa(Br,_r)},lr=function(){Fa([],null,"clear")},Mr=e.useCallback(function(_n){if(Di){var Vr={};Object.defineProperty(Vr,"documentClickClose",{get:function(){return Object(ae.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Di(_n,Vr)}},[Di]),Ir={optionLabelProp:null,optionFilterProp:kr,dropdownAlign:Ai,internalProps:{mark:Te,onClear:lr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:ha,onRawDeselect:tt}};return"filterTreeNode"in Ar&&(Ir.filterOption=vi),e.createElement(ot.Provider,{value:{checkable:Xi,loadData:mt,treeLoadedKeys:dr,onTreeLoad:$i,checkedKeys:_o,halfCheckedKeys:go,treeDefaultExpandAll:Gn,treeExpandedKeys:Ln,treeDefaultExpandedKeys:xn,onTreeExpand:Ui,treeIcon:Jn,treeMotion:Si,showTreeIcon:pi,switcherIcon:wi,treeLine:Ni,treeNodeFilterProp:kr}},e.createElement(ti,Object.assign({ref:ga,mode:Vi?"multiple":null},Ar,Ir,{value:Ja,labelInValue:!0,options:_a,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Mr})))}),si=function(Ar){Object(u.a)(on,Ar);var ar=Object(h.a)(on);function on(){var Qt;return Object(r.a)(this,on),Qt=ar.apply(this,arguments),Qt.selectRef=e.createRef(),Qt.focus=function(){Qt.selectRef.current.focus()},Qt.blur=function(){Qt.selectRef.current.blur()},Qt}return Object(s.a)(on,[{key:"render",value:function(){return e.createElement(li,Object.assign({ref:this.selectRef},this.props))}}]),on}(e.Component);si.TreeNode=tn,si.SHOW_ALL=Yr,si.SHOW_PARENT=Sr,si.SHOW_CHILD=ln;var ki=si,zi=ki,Ri=n("BGR+"),Yi=n("H84U"),Zn=n("uaoM"),hn=n("1vzs"),mi=n("2jpz"),Hi=n("3Nzz"),Li=function(Ar){i()(on,Ar);var ar=a()(on);function on(Qt){var gr;return f()(this,on),gr=ar.call(this,Qt),gr.selectRef=e.createRef(),gr.renderTreeSelect=function(Or){var Kr=Or.getPopupContainer,mn=Or.getPrefixCls,mt=Or.renderEmpty,dr=Or.direction,pr=Or.virtual,kr=Or.dropdownMatchSelectWidth,nn=gr.props,un=nn.prefixCls,en=nn.size,Ln=nn.className,xn=nn.treeCheckable,Gn=nn.multiple,ui=nn.listHeight,Jn=ui===void 0?256:ui,pi=nn.listItemHeight,wi=pi===void 0?26:pi,Ni=nn.notFoundContent,Si=nn.switcherIcon,vi=nn.treeLine,Ai=nn.getPopupContainer,Ci=nn.dropdownClassName,Ui=nn.bordered,$i=nn.treeIcon,Di=$i===void 0?!1:$i,ua=mn("select",un),aa=mn("select-tree",un),Xi=mn("tree-select",un),Vi=C()(Ci,"".concat(Xi,"-dropdown"),m()({},"".concat(Xi,"-dropdown-rtl"),dr==="rtl")),ta=!!(xn||Gn),Gi=Object(hn.a)(p()(p()({},gr.props),{multiple:ta,prefixCls:ua})),ga=Gi.suffixIcon,ra=Gi.itemIcon,pa=Gi.removeIcon,_a=Gi.clearIcon,Da;Ni!==void 0?Da=Ni:Da=mt("Select");var Ra=Object(Ri.default)(gr.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return e.createElement(Hi.b.Consumer,null,function(vo){var ja,Ya=en||vo,Ia=C()(!un&&Xi,(ja={},m()(ja,"".concat(ua,"-lg"),Ya==="large"),m()(ja,"".concat(ua,"-sm"),Ya==="small"),m()(ja,"".concat(ua,"-rtl"),dr==="rtl"),m()(ja,"".concat(ua,"-borderless"),!Ui),ja),Ln);return e.createElement(zi,p()({virtual:pr,dropdownMatchSelectWidth:kr},Ra,{ref:gr.selectRef,prefixCls:ua,className:Ia,listHeight:Jn,listItemHeight:wi,treeCheckable:xn&&e.createElement("span",{className:"".concat(ua,"-tree-checkbox-inner")}),inputIcon:ga,menuItemSelectedIcon:ra,removeIcon:pa,clearIcon:_a,switcherIcon:function(co){return Object(mi.a)(aa,Si,vi,co)},showTreeIcon:Di,notFoundContent:Da,getPopupContainer:Ai||Kr,treeMotion:null,dropdownClassName:Vi}))})},Object(Zn.a)(Qt.multiple!==!1||!Qt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),gr}return c()(on,[{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 e.createElement(Yi.a,null,this.renderTreeSelect)}}]),on}(e.Component);Li.TreeNode=tn,Li.SHOW_ALL=Yr,Li.SHOW_PARENT=Sr,Li.SHOW_CHILD=ln,Li.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var Bi=N.a=Li},"5Uyt":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("KmBX"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},"5YOS":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("xb2K"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},"5YgA":function(M,N,n){},"5bA4":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="LeftOutlined";var d=N.a=p.forwardRef(f)},"5nXd":function(M,N,n){var v=n("MFOe"),p=v.slice,S=v.pluck,m=v.each,g=v.bind,f=v.create,d=v.isList,c=v.isFunction,o=v.isObject;M.exports={createStore:a};var i={version:"2.0.12",enabled:!1,get:function(l,r){var s=this.storage.read(this._namespacePrefix+l);return this._deserialize(s,r)},set:function(l,r){return r===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(r)),r)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var r=this;this.storage.each(function(s,u){l.call(r,r._deserialize(s),(u||"").replace(r._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return a.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return a(this.storage,this.plugins,l)}};function t(){var e=typeof console=="undefined"?null:console;if(!e)return;var l=e.warn?e.warn:e.log;l.apply(e,arguments)}function a(e,l,r){r||(r=""),e&&!d(e)&&(e=[e]),l&&!d(l)&&(l=[l]);var s=r?"__storejs_"+r+"_":"",u=r?new RegExp("^"+s):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(r))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var A={_namespacePrefix:s,_namespaceRegexp:u,_testStorage:function(b){try{var x="__storejs__test__";b.write(x,x);var O=b.read(x)===x;return b.remove(x),O}catch(T){return!1}},_assignPluginFnProp:function(b,x){var O=this[x];this[x]=function(){var E=p(arguments,0),C=this;function _(){return O?(m(arguments,function(P,k){E[k]=P}),O.apply(C,E)):void 0}var L=[_].concat(E);return b.apply(C,L)}},_serialize:function(b){return JSON.stringify(b)},_deserialize:function(b,x){if(!b)return x;var O="";try{O=JSON.parse(b)}catch(T){O=b}return O!==void 0?O:x},_addStorage:function(b){if(this.enabled)return;this._testStorage(b)&&(this.storage=b,this.enabled=!0)},_addPlugin:function(b){var x=this;if(d(b)){m(b,function(E){x._addPlugin(E)});return}var O=S(this.plugins,function(E){return b===E});if(O)return;if(this.plugins.push(b),!c(b))throw new Error("Plugins must be function values that return objects");var T=b.call(this);if(!o(T))throw new Error("Plugins must return an object of function properties");m(T,function(E,C){if(!c(E))throw new Error("Bad plugin property: "+C+" from plugin "+b.name+". Plugins should only return functions.");x._assignPluginFnProp(E,C)})},addStorage:function(b){t("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(b)}},y=f(A,i,{plugins:[]});return y.raw={},m(y,function(w,b){c(w)&&(y.raw[b]=g(y,w))}),m(e,function(w){y._addStorage(w)}),m(l,function(w){y._addPlugin(w)}),y}},"5rEg":function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lwsE"),m=n.n(S),g=n("W8MJ"),f=n.n(g),d=n("7W2i"),c=n.n(d),o=n("LQ03"),i=n.n(o),t=n("lSNA"),a=n.n(t),e=n("q1tI"),l=n("TSYQ"),r=n.n(l),s=n("BGR+"),u=n("kbBi"),h=n.n(u),A=n("CWQg"),y=n("0n0R"),w=Object(A.a)("text","input");function b(ce){return!!(ce.prefix||ce.suffix||ce.allowClear)}var x=function(ce){c()(Te,ce);var be=i()(Te);function Te(){var Be;return m()(this,Te),Be=be.apply(this,arguments),Be.containerRef=e.createRef(),Be.onInputMouseUp=function(De){var ae;if((ae=Be.containerRef.current)===null||ae===void 0?void 0:ae.contains(De.target)){var fe=Be.props.triggerFocus;fe()}},Be}return f()(Te,[{key:"renderClearIcon",value:function(De){var ae=this.props,fe=ae.allowClear,Oe=ae.value,Je=ae.disabled,Et=ae.readOnly,Ze=ae.inputType,Ne=ae.handleReset;if(!fe)return null;var It=!Je&&!Et&&Oe,Xe=Ze===w[0]?"".concat(De,"-textarea-clear-icon"):"".concat(De,"-clear-icon");return e.createElement(h.a,{onClick:Ne,className:r()(Xe,a()({},"".concat(Xe,"-hidden"),!It)),role:"button"})}},{key:"renderSuffix",value:function(De){var ae=this.props,fe=ae.suffix,Oe=ae.allowClear;return fe||Oe?e.createElement("span",{className:"".concat(De,"-suffix")},this.renderClearIcon(De),fe):null}},{key:"renderLabeledIcon",value:function(De,ae){var fe,Oe=this.props,Je=Oe.focused,Et=Oe.value,Ze=Oe.prefix,Ne=Oe.className,It=Oe.size,Xe=Oe.suffix,Ot=Oe.disabled,Bt=Oe.allowClear,kt=Oe.direction,_t=Oe.style,Ft=Oe.readOnly,ke=Oe.bordered,te=this.renderSuffix(De);if(!b(this.props))return Object(y.a)(ae,{value:Et});var Q=Ze?e.createElement("span",{className:"".concat(De,"-prefix")},Ze):null,qe=r()(Ne,"".concat(De,"-affix-wrapper"),(fe={},a()(fe,"".concat(De,"-affix-wrapper-focused"),Je),a()(fe,"".concat(De,"-affix-wrapper-disabled"),Ot),a()(fe,"".concat(De,"-affix-wrapper-sm"),It==="small"),a()(fe,"".concat(De,"-affix-wrapper-lg"),It==="large"),a()(fe,"".concat(De,"-affix-wrapper-input-with-clear-btn"),Xe&&Bt&&Et),a()(fe,"".concat(De,"-affix-wrapper-rtl"),kt==="rtl"),a()(fe,"".concat(De,"-affix-wrapper-readonly"),Ft),a()(fe,"".concat(De,"-affix-wrapper-borderless"),!ke),fe));return e.createElement("span",{ref:this.containerRef,className:qe,style:_t,onMouseUp:this.onInputMouseUp},Q,Object(y.a)(ae,{style:null,value:Et,className:P(De,ke,It,Ot)}),te)}},{key:"renderInputWithLabel",value:function(De,ae){var fe,Oe,Je=this.props,Et=Je.addonBefore,Ze=Je.addonAfter,Ne=Je.style,It=Je.size,Xe=Je.className,Ot=Je.direction;if(!Et&&!Ze)return ae;var Bt="".concat(De,"-group"),kt="".concat(Bt,"-addon"),_t=Et?e.createElement("span",{className:kt},Et):null,Ft=Ze?e.createElement("span",{className:kt},Ze):null,ke=r()("".concat(De,"-wrapper"),(fe={},a()(fe,Bt,Et||Ze),a()(fe,"".concat(Bt,"-rtl"),Ot==="rtl"),fe)),te=r()(Xe,"".concat(De,"-group-wrapper"),(Oe={},a()(Oe,"".concat(De,"-group-wrapper-sm"),It==="small"),a()(Oe,"".concat(De,"-group-wrapper-lg"),It==="large"),a()(Oe,"".concat(De,"-group-wrapper-rtl"),Ot==="rtl"),Oe));return e.createElement("span",{className:te,style:Ne},e.createElement("span",{className:ke},_t,Object(y.a)(ae,{style:null}),Ft))}},{key:"renderTextAreaWithClearIcon",value:function(De,ae){var fe,Oe=this.props,Je=Oe.value,Et=Oe.allowClear,Ze=Oe.className,Ne=Oe.style,It=Oe.direction,Xe=Oe.bordered;if(!Et)return Object(y.a)(ae,{value:Je});var Ot=r()(Ze,"".concat(De,"-affix-wrapper"),"".concat(De,"-affix-wrapper-textarea-with-clear-btn"),(fe={},a()(fe,"".concat(De,"-affix-wrapper-rtl"),It==="rtl"),a()(fe,"".concat(De,"-affix-wrapper-borderless"),!Xe),fe));return e.createElement("span",{className:Ot,style:Ne},Object(y.a)(ae,{style:null,value:Je}),this.renderClearIcon(De))}},{key:"render",value:function(){var De=this.props,ae=De.prefixCls,fe=De.inputType,Oe=De.element;return fe===w[0]?this.renderTextAreaWithClearIcon(ae,Oe):this.renderInputWithLabel(ae,this.renderLabeledIcon(ae,Oe))}}]),Te}(e.Component),O=x,T=n("H84U"),E=n("3Nzz"),C=n("uaoM");function _(ce){return typeof ce=="undefined"||ce===null?"":ce}function L(ce,be,Te){if(Te){var Be=be;if(be.type==="click"){Be=Object.create(be),Be.target=ce,Be.currentTarget=ce;var De=ce.value;ce.value="",Te(Be),ce.value=De;return}Te(Be)}}function P(ce,be,Te,Be,De){var ae;return r()(ce,(ae={},a()(ae,"".concat(ce,"-sm"),Te==="small"),a()(ae,"".concat(ce,"-lg"),Te==="large"),a()(ae,"".concat(ce,"-disabled"),Be),a()(ae,"".concat(ce,"-rtl"),De==="rtl"),a()(ae,"".concat(ce,"-borderless"),!be),ae))}var k=function(ce){c()(Te,ce);var be=i()(Te);function Te(Be){var De;m()(this,Te),De=be.call(this,Be),De.direction="ltr",De.focus=function(){De.input.focus()},De.saveClearableInput=function(fe){De.clearableInput=fe},De.saveInput=function(fe){De.input=fe},De.onFocus=function(fe){var Oe=De.props.onFocus;De.setState({focused:!0},De.clearPasswordValueAttribute),Oe&&Oe(fe)},De.onBlur=function(fe){var Oe=De.props.onBlur;De.setState({focused:!1},De.clearPasswordValueAttribute),Oe&&Oe(fe)},De.handleReset=function(fe){De.setValue("",function(){De.focus()}),L(De.input,fe,De.props.onChange)},De.renderInput=function(fe,Oe,Je){var Et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ze=De.props,Ne=Ze.className,It=Ze.addonBefore,Xe=Ze.addonAfter,Ot=Ze.size,Bt=Ze.disabled,kt=Object(s.default)(De.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return e.createElement("input",p()({autoComplete:Et.autoComplete},kt,{onChange:De.handleChange,onFocus:De.onFocus,onBlur:De.onBlur,onKeyDown:De.handleKeyDown,className:r()(P(fe,Je,Ot||Oe,Bt,De.direction),a()({},Ne,Ne&&!It&&!Xe)),ref:De.saveInput}))},De.clearPasswordValueAttribute=function(){De.removePasswordTimeout=setTimeout(function(){De.input&&De.input.getAttribute("type")==="password"&&De.input.hasAttribute("value")&&De.input.removeAttribute("value")})},De.handleChange=function(fe){De.setValue(fe.target.value,De.clearPasswordValueAttribute),L(De.input,fe,De.props.onChange)},De.handleKeyDown=function(fe){var Oe=De.props,Je=Oe.onPressEnter,Et=Oe.onKeyDown;fe.keyCode===13&&Je&&Je(fe),Et&&Et(fe)},De.renderComponent=function(fe){var Oe=fe.getPrefixCls,Je=fe.direction,Et=fe.input,Ze=De.state,Ne=Ze.value,It=Ze.focused,Xe=De.props,Ot=Xe.prefixCls,Bt=Xe.bordered,kt=Bt===void 0?!0:Bt,_t=Oe("input",Ot);return De.direction=Je,e.createElement(E.b.Consumer,null,function(Ft){return e.createElement(O,p()({size:Ft},De.props,{prefixCls:_t,inputType:"input",value:_(Ne),element:De.renderInput(_t,Ft,kt,Et),handleReset:De.handleReset,ref:De.saveClearableInput,direction:Je,focused:It,triggerFocus:De.focus,bordered:kt}))})};var ae=typeof Be.value=="undefined"?Be.defaultValue:Be.value;return De.state={value:ae,focused:!1,prevValue:Be.value},De}return f()(Te,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(De){return b(De)!==b(this.props)&&Object(C.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(De,ae){this.props.value===void 0&&this.setState({value:De},ae)}},{key:"render",value:function(){return e.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(De,ae){var fe=ae.prevValue,Oe={prevValue:De.value};return(De.value!==void 0||fe!==De.value)&&(Oe.value=De.value),Oe}}]),Te}(e.Component);k.defaultProps={type:"text"};var F=k,j=function(be){return e.createElement(T.a,null,function(Te){var Be,De=Te.getPrefixCls,ae=Te.direction,fe=be.prefixCls,Oe=be.className,Je=Oe===void 0?"":Oe,Et=De("input-group",fe),Ze=r()(Et,(Be={},a()(Be,"".concat(Et,"-lg"),be.size==="large"),a()(Be,"".concat(Et,"-sm"),be.size==="small"),a()(Be,"".concat(Et,"-compact"),be.compact),a()(Be,"".concat(Et,"-rtl"),ae==="rtl"),Be),Je);return e.createElement("span",{className:Ze,style:be.style,onMouseEnter:be.onMouseEnter,onMouseLeave:be.onMouseLeave,onFocus:be.onFocus,onBlur:be.onBlur},be.children)})},z=j,R=n("c+Xe"),U=n("w6Tc"),B=n.n(U),H=n("gZBC"),K=n.n(H),V=n("2/Rp"),W=function(ce,be){var Te={};for(var Be in ce)Object.prototype.hasOwnProperty.call(ce,Be)&&be.indexOf(Be)<0&&(Te[Be]=ce[Be]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Be=Object.getOwnPropertySymbols(ce);De<Be.length;De++)be.indexOf(Be[De])<0&&Object.prototype.propertyIsEnumerable.call(ce,Be[De])&&(Te[Be[De]]=ce[Be[De]]);return Te},G=e.forwardRef(function(ce,be){var Te=e.useRef(null),Be=function(Ne){var It=ce.onChange,Xe=ce.onSearch;Ne&&Ne.target&&Ne.type==="click"&&Xe&&Xe(Ne.target.value,Ne),It&&It(Ne)},De=function(Ne){var It;document.activeElement===((It=Te.current)===null||It===void 0?void 0:It.input)&&Ne.preventDefault()},ae=function(Ne){var It,Xe=ce.onSearch,Ot=ce.loading,Bt=ce.disabled;if(Ot||Bt)return;Xe&&Xe((It=Te.current)===null||It===void 0?void 0:It.input.value,Ne)},fe=function(Ne){var It=ce.enterButton,Xe=ce.size;return It?e.createElement(E.b.Consumer,{key:"enterButton"},function(Ot){return e.createElement(V.a,{className:"".concat(Ne,"-button"),type:"primary",size:Xe||Ot},e.createElement(K.a,null))}):e.createElement(K.a,{className:"".concat(Ne,"-icon"),key:"loadingIcon"})},Oe=function(Ne){var It=ce.suffix,Xe=ce.enterButton,Ot=ce.loading;if(Ot&&!Xe)return[It,fe(Ne)];if(Xe)return It;var Bt=e.createElement(B.a,{className:"".concat(Ne,"-icon"),key:"searchIcon",onClick:ae});return It?[Object(y.c)(It,null,{key:"suffix"}),Bt]:Bt},Je=function(Ne,It){var Xe=ce.enterButton,Ot=ce.disabled,Bt=ce.addonAfter,kt=ce.loading,_t="".concat(Ne,"-button");if(kt&&Xe)return[fe(Ne),Bt];if(!Xe)return Bt;var Ft,ke=Xe,te=ke.type&&ke.type.__ANT_BUTTON===!0;return te||ke.type==="button"?Ft=Object(y.a)(ke,p()({onMouseDown:De,onClick:ae,key:"enterButton"},te?{className:_t,size:It}:{})):Ft=e.createElement(V.a,{className:_t,type:"primary",size:It,disabled:Ot,key:"enterButton",onMouseDown:De,onClick:ae},Xe===!0?e.createElement(B.a,null):Xe),Bt?[Ft,Object(y.c)(Bt,null,{key:"addonAfter"})]:Ft},Et=function(Ne){var It=Ne.getPrefixCls,Xe=Ne.direction,Ot=ce.prefixCls,Bt=ce.inputPrefixCls,kt=ce.enterButton,_t=ce.className,Ft=ce.size,ke=W(ce,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete ke.onSearch,delete ke.loading;var te=It("input-search",Ot),Q=It("input",Bt),qe=function(q){var wt;if(kt){var Vt;wt=r()(te,_t,(Vt={},a()(Vt,"".concat(te,"-rtl"),Xe==="rtl"),a()(Vt,"".concat(te,"-enter-button"),!!kt),a()(Vt,"".concat(te,"-").concat(q),!!q),Vt))}else wt=r()(te,_t,a()({},"".concat(te,"-rtl"),Xe==="rtl"));return wt};return e.createElement(E.b.Consumer,null,function(je){return e.createElement(F,p()({ref:Object(R.a)(Te,be),onPressEnter:ae},ke,{size:Ft||je,prefixCls:Q,addonAfter:Je(te,Ft||je),suffix:Oe(te),onChange:Be,className:qe(Ft||je)}))})};return e.createElement(T.a,null,Et)});G.defaultProps={enterButton:!1},G.displayName="Search";var re=G,ye=n("Y1PL"),$=function(ce){c()(Te,ce);var be=i()(Te);function Te(Be){var De;m()(this,Te),De=be.call(this,Be),De.focus=function(){De.resizableTextArea.textArea.focus()},De.saveTextArea=function(fe){De.resizableTextArea=fe==null?void 0:fe.resizableTextArea},De.saveClearableInput=function(fe){De.clearableInput=fe},De.handleChange=function(fe){De.setValue(fe.target.value),L(De.resizableTextArea.textArea,fe,De.props.onChange)},De.handleReset=function(fe){De.setValue("",function(){De.focus()}),L(De.resizableTextArea.textArea,fe,De.props.onChange)},De.renderTextArea=function(fe,Oe){return e.createElement(ye.default,p()({},Object(s.default)(De.props,["allowClear","bordered"]),{className:r()(De.props.className,a()({},"".concat(fe,"-borderless"),!Oe)),prefixCls:fe,onChange:De.handleChange,ref:De.saveTextArea}))},De.renderComponent=function(fe){var Oe=fe.getPrefixCls,Je=fe.direction,Et=De.state.value,Ze=De.props,Ne=Ze.prefixCls,It=Ze.bordered,Xe=It===void 0?!0:It,Ot=Oe("input",Ne);return e.createElement(O,p()({},De.props,{prefixCls:Ot,direction:Je,inputType:"text",value:_(Et),element:De.renderTextArea(Ot,Xe),handleReset:De.handleReset,ref:De.saveClearableInput,triggerFocus:De.focus,bordered:Xe}))};var ae=typeof Be.value=="undefined"?Be.defaultValue:Be.value;return De.state={value:ae},De}return f()(Te,[{key:"setValue",value:function(De,ae){this.props.value===void 0&&this.setState({value:De},ae)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return e.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(De){return De.value!==void 0?{value:De.value}:null}}]),Te}(e.Component),ve=$,Ce=n("J4zp"),Se=n.n(Ce),Ke=n("qPY4"),ue=n.n(Ke),Le=n("fUL4"),ee=n.n(Le),le=function(ce,be){var Te={};for(var Be in ce)Object.prototype.hasOwnProperty.call(ce,Be)&&be.indexOf(Be)<0&&(Te[Be]=ce[Be]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Be=Object.getOwnPropertySymbols(ce);De<Be.length;De++)be.indexOf(Be[De])<0&&Object.prototype.propertyIsEnumerable.call(ce,Be[De])&&(Te[Be[De]]=ce[Be[De]]);return Te},et={click:"onClick",hover:"onMouseOver"},Re=e.forwardRef(function(ce,be){var Te=Object(e.useState)(!1),Be=Se()(Te,2),De=Be[0],ae=Be[1],fe=function(){var Ze=ce.disabled;if(Ze)return;ae(!De)},Oe=function(Ze){var Ne,It=ce.action,Xe=ce.iconRender,Ot=Xe===void 0?function(){return null}:Xe,Bt=et[It]||"",kt=Ot(De),_t=(Ne={},a()(Ne,Bt,fe),a()(Ne,"className","".concat(Ze,"-icon")),a()(Ne,"key","passwordIcon"),a()(Ne,"onMouseDown",function(ke){ke.preventDefault()}),a()(Ne,"onMouseUp",function(ke){ke.preventDefault()}),Ne);return e.cloneElement(e.isValidElement(kt)?kt:e.createElement("span",null,kt),_t)},Je=function(Ze){var Ne=Ze.getPrefixCls,It=ce.className,Xe=ce.prefixCls,Ot=ce.inputPrefixCls,Bt=ce.size,kt=ce.visibilityToggle,_t=le(ce,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Ft=Ne("input",Ot),ke=Ne("input-password",Xe),te=kt&&Oe(ke),Q=r()(ke,It,a()({},"".concat(ke,"-").concat(Bt),!!Bt)),qe=p()(p()({},Object(s.default)(_t,["suffix","iconRender"])),{type:De?"text":"password",className:Q,prefixCls:Ft,suffix:te});return Bt&&(qe.size=Bt),e.createElement(F,p()({ref:be},qe))};return e.createElement(T.a,null,Je)});Re.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(be){return be?e.createElement(ue.a,null):e.createElement(ee.a,null)}},Re.displayName="Password";var Ae=Re;F.Group=z,F.Search=re,F.TextArea=ve,F.Password=Ae;var oe=N.a=F},"5s0K":function(M,N,n){var v=n("bYtY");function p(){var S=[],m={},g;return{add:function(f,d,c,o,i){return v.isString(o)&&(i=o,o=0),m[f.id]?!1:(m[f.id]=1,S.push({el:f,target:d,time:c,delay:o,easing:i}),!0)},done:function(f){return g=f,this},start:function(){for(var f=S.length,d=0,c=S.length;d<c;d++){var o=S[d];o.el.animateTo(o.target,o.time,o.delay,o.easing,i)}return this;function i(){f--,f||(S.length=0,m={},g&&g())}}}}N.createWrap=p},"5yev":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};N.default=v},"6/nd":function(M,N,n){var v=n("ProS");v.registerAction("legendScroll","legendscroll",function(p,S){var m=p.scrollDataIndex;m!=null&&S.eachComponent({mainType:"legend",subType:"scroll",query:p},function(g){g.setScrollDataIndex(m)})})},"62sa":function(M,N,n){var v=n("bYtY"),p=n("4NO4"),S=p.makeInner,m=n("zTMp"),g=n("Ez2D"),f=v.each,d=v.curry,c=S();function o(y,w,b){var x=y.currTrigger,O=[y.x,y.y],T=y,E=y.dispatchAction||v.bind(b.dispatchAction,b),C=w.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;A(O)&&(O=g({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},w).point);var _=A(O),L=T.axesInfo,P=C.axesInfo,k=x==="leave"||A(O),F={},j={},z={list:[],map:{}},R={showPointer:d(a,j),showTooltip:d(e,z)};f(C.coordSysMap,function(B,H){var K=_||B.containPoint(O);f(C.coordSysAxesInfo[H],function(V,W){var G=V.axis,re=u(L,V);if(!k&&K&&(!L||re)){var ye=re&&re.value;ye==null&&!_&&(ye=G.pointToData(O)),ye!=null&&i(V,ye,R,!1,F)}})});var U={};return f(P,function(B,H){var K=B.linkGroup;K&&!j[H]&&f(K.axesInfo,function(V,W){var G=j[W];if(V!==B&&G){var re=G.value;K.mapper&&(re=B.axis.scale.parse(K.mapper(re,h(V),h(B)))),U[B.key]=re}})}),f(U,function(B,H){i(P[H],B,R,!0,F)}),l(j,P,F),r(z,O,y,E),s(P,E,b),F}function i(y,w,b,x,O){var T=y.axis;if(T.scale.isBlank()||!T.containData(w))return;if(!y.involveSeries){b.showPointer(y,w);return}var E=t(w,y),C=E.payloadBatch,_=E.snapToValue;C[0]&&O.seriesIndex==null&&v.extend(O,C[0]),!x&&y.snap&&(T.containData(_)&&_!=null&&(w=_)),b.showPointer(y,w,C,O),b.showTooltip(y,E,_)}function t(y,w){var b=w.axis,x=b.dim,O=y,T=[],E=Number.MAX_VALUE,C=-1;return f(w.seriesModels,function(_,L){var P=_.getData().mapDimension(x,!0),k,F;if(_.getAxisTooltipData){var j=_.getAxisTooltipData(P,y,b);F=j.dataIndices,k=j.nestestValue}else{if(F=_.getData().indicesOfNearest(P[0],y,b.type==="category"?.5:null),!F.length)return;k=_.getData().get(P[0],F[0])}if(k==null||!isFinite(k))return;var z=y-k,R=Math.abs(z);R<=E&&((R<E||z>=0&&C<0)&&(E=R,C=z,O=k,T.length=0),f(F,function(U){T.push({seriesIndex:_.seriesIndex,dataIndexInside:U,dataIndex:_.getData().getRawIndex(U)})}))}),{payloadBatch:T,snapToValue:O}}function a(y,w,b,x){y[w.key]={value:b,payloadBatch:x}}function e(y,w,b,x){var O=b.payloadBatch,T=w.axis,E=T.model,C=w.axisPointerModel;if(!w.triggerTooltip||!O.length)return;var _=w.coordSys.model,L=m.makeKey(_),P=y.map[L];P||(P=y.map[L]={coordSysId:_.id,coordSysIndex:_.componentIndex,coordSysType:_.type,coordSysMainType:_.mainType,dataByAxis:[]},y.list.push(P)),P.dataByAxis.push({axisDim:T.dim,axisIndex:E.componentIndex,axisType:E.type,axisId:E.id,value:x,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:O.slice()})}function l(y,w,b){var x=b.axesInfo=[];f(w,function(O,T){var E=O.axisPointerModel.option,C=y[T];C?(!O.useHandle&&(E.status="show"),E.value=C.value,E.seriesDataIndices=(C.payloadBatch||[]).slice()):!O.useHandle&&(E.status="hide"),E.status==="show"&&x.push({axisDim:O.axis.dim,axisIndex:O.axis.model.componentIndex,value:E.value})})}function r(y,w,b,x){if(A(w)||!y.list.length){x({type:"hideTip"});return}var O=((y.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};x({type:"showTip",escapeConnect:!0,x:w[0],y:w[1],tooltipOption:b.tooltipOption,position:b.position,dataIndexInside:O.dataIndexInside,dataIndex:O.dataIndex,seriesIndex:O.seriesIndex,dataByCoordSys:y.list})}function s(y,w,b){var x=b.getZr(),O="axisPointerLastHighlights",T=c(x)[O]||{},E=c(x)[O]={};f(y,function(L,P){var k=L.axisPointerModel.option;k.status==="show"&&f(k.seriesDataIndices,function(F){var j=F.seriesIndex+" | "+F.dataIndex;E[j]=F})});var C=[],_=[];v.each(T,function(L,P){!E[P]&&_.push(L)}),v.each(E,function(L,P){!T[P]&&C.push(L)}),_.length&&b.dispatchAction({type:"downplay",escapeConnect:!0,batch:_}),C.length&&b.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function u(y,w){for(var b=0;b<(y||[]).length;b++){var x=y[b];if(w.axis.dim===x.axisDim&&w.axis.model.componentIndex===x.axisIndex)return x}}function h(y){var w=y.axis.model,b={},x=b.axisDim=y.axis.dim;return b.axisIndex=b[x+"AxisIndex"]=w.componentIndex,b.axisName=b[x+"AxisName"]=w.name,b.axisId=b[x+"AxisId"]=w.id,b}function A(y){return!y||y[0]==null||isNaN(y[0])||y[1]==null||isNaN(y[1])}M.exports=o},"6BzB":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.shrinkBuf=v,N.arraySet=p,N.flattenChunks=S,N.Buf32=N.Buf16=N.Buf8=void 0;function v(d,c){return d.length===c?d:d.subarray?d.subarray(0,c):(d.length=c,d)}function p(d,c,o,i,t){if(c.subarray&&d.subarray){d.set(c.subarray(o,o+i),t);return}for(var a=0;a<i;a++)d[t+a]=c[o+a]}function S(d){var c,o,i,t,a,e;for(i=0,c=0,o=d.length;c<o;c++)i+=d[c].length;for(e=new Uint8Array(i),t=0,c=0,o=d.length;c<o;c++)a=d[c],e.set(a,t),t+=a.length;return e}var m=Uint8Array;N.Buf8=m;var g=Uint16Array;N.Buf16=g;var f=Int32Array;N.Buf32=f},"6D9b":function(M,N,n){},"6GrX":function(M,N,n){var v=n("mFDi"),p=n("Xnb7"),S=n("bYtY"),m=S.getContext,g=S.extend,f=S.retrieve2,d=S.retrieve3,c=S.trim,o={},i=0,t=5e3,a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,e="12px sans-serif",l={};function r(z,R){l[z]=R}function s(z,R){R=R||e;var U=z+":"+R;if(o[U])return o[U];for(var B=(z+"").split(`
`),H=0,K=0,V=B.length;K<V;K++)H=Math.max(L(B[K],R).width,H);return i>t&&(i=0,o={}),i++,o[U]=H,H}function u(z,R,U,B,H,K,V,W){return V?A(z,R,U,B,H,K,V,W):h(z,R,U,B,H,K,W)}function h(z,R,U,B,H,K,V){var W=P(z,R,H,K,V),G=s(z,R);H&&(G+=H[1]+H[3]);var re=W.outerHeight,ye=y(0,G,U),$=w(0,re,B),ve=new v(ye,$,G,re);return ve.lineHeight=W.lineHeight,ve}function A(z,R,U,B,H,K,V,W){var G=k(z,{rich:V,truncate:W,font:R,textAlign:U,textPadding:H,textLineHeight:K}),re=G.outerWidth,ye=G.outerHeight,$=y(0,re,U),ve=w(0,ye,B);return new v($,ve,re,ye)}function y(z,R,U){return U==="right"?z-=R:U==="center"&&(z-=R/2),z}function w(z,R,U){return U==="middle"?z-=R/2:U==="bottom"&&(z-=R),z}function b(z,R,U){var B=R.textPosition,H=R.textDistance,K=U.x,V=U.y;H=H||0;var W=U.height,G=U.width,re=W/2,ye="left",$="top";switch(B){case"left":K-=H,V+=re,ye="right",$="middle";break;case"right":K+=H+G,V+=re,$="middle";break;case"top":K+=G/2,V-=H,ye="center",$="bottom";break;case"bottom":K+=G/2,V+=W+H,ye="center";break;case"inside":K+=G/2,V+=re,ye="center",$="middle";break;case"insideLeft":K+=H,V+=re,$="middle";break;case"insideRight":K+=G-H,V+=re,ye="right",$="middle";break;case"insideTop":K+=G/2,V+=H,ye="center";break;case"insideBottom":K+=G/2,V+=W-H,ye="center",$="bottom";break;case"insideTopLeft":K+=H,V+=H;break;case"insideTopRight":K+=G-H,V+=H,ye="right";break;case"insideBottomLeft":K+=H,V+=W-H,$="bottom";break;case"insideBottomRight":K+=G-H,V+=W-H,ye="right",$="bottom";break}return z=z||{},z.x=K,z.y=V,z.textAlign=ye,z.textVerticalAlign=$,z}function x(z,R,U){var B={textPosition:z,textDistance:U};return b({},B,R)}function O(z,R,U,B,H){if(!R)return"";var K=(z+"").split(`
`);H=T(R,U,B,H);for(var V=0,W=K.length;V<W;V++)K[V]=E(K[V],H);return K.join(`
`)}function T(z,R,U,B){B=g({},B),B.font=R;var U=f(U,"...");B.maxIterations=f(B.maxIterations,2);var H=B.minChar=f(B.minChar,0);B.cnCharWidth=s("\u56FD",R);var K=B.ascCharWidth=s("a",R);B.placeholder=f(B.placeholder,"");for(var V=z=Math.max(0,z-1),W=0;W<H&&V>=K;W++)V-=K;var G=s(U,R);return G>V&&(U="",G=0),V=z-G,B.ellipsis=U,B.ellipsisWidth=G,B.contentWidth=V,B.containerWidth=z,B}function E(z,R){var U=R.containerWidth,B=R.font,H=R.contentWidth;if(!U)return"";var K=s(z,B);if(K<=U)return z;for(var V=0;;V++){if(K<=H||V>=R.maxIterations){z+=R.ellipsis;break}var W=V===0?C(z,H,R.ascCharWidth,R.cnCharWidth):K>0?Math.floor(z.length*H/K):0;z=z.substr(0,W),K=s(z,B)}return z===""&&(z=R.placeholder),z}function C(z,R,U,B){for(var H=0,K=0,V=z.length;K<V&&H<R;K++){var W=z.charCodeAt(K);H+=0<=W&&W<=127?U:B}return K}function _(z){return s("\u56FD",z)}function L(z,R){return l.measureText(z,R)}l.measureText=function(z,R){var U=m();return U.font=R||e,U.measureText(z)};function P(z,R,U,B,H){z!=null&&(z+="");var K=f(B,_(R)),V=z?z.split(`
`):[],W=V.length*K,G=W,re=!0;if(U&&(G+=U[0]+U[2]),z&&H){re=!1;var ye=H.outerHeight,$=H.outerWidth;if(ye!=null&&G>ye)z="",V=[];else if($!=null)for(var ve=T($-(U?U[1]+U[3]:0),R,H.ellipsis,{minChar:H.minChar,placeholder:H.placeholder}),Ce=0,Se=V.length;Ce<Se;Ce++)V[Ce]=E(V[Ce],ve)}return{lines:V,height:W,outerHeight:G,lineHeight:K,canCacheByTextString:re}}function k(z,R){var U={lines:[],width:0,height:0};if(z!=null&&(z+=""),!z)return U;for(var B=a.lastIndex=0,H;(H=a.exec(z))!=null;){var K=H.index;K>B&&F(U,z.substring(B,K)),F(U,H[2],H[1]),B=a.lastIndex}B<z.length&&F(U,z.substring(B,z.length));var V=U.lines,W=0,G=0,re=[],ye=R.textPadding,$=R.truncate,ve=$&&$.outerWidth,Ce=$&&$.outerHeight;ye&&(ve!=null&&(ve-=ye[1]+ye[3]),Ce!=null&&(Ce-=ye[0]+ye[2]));for(var Se=0;Se<V.length;Se++){for(var Ke=V[Se],ue=0,Le=0,ee=0;ee<Ke.tokens.length;ee++){var le=Ke.tokens[ee],et=le.styleName&&R.rich[le.styleName]||{},Re=le.textPadding=et.textPadding,Ae=le.font=et.font||R.font,oe=le.textHeight=f(et.textHeight,_(Ae));if(Re&&(oe+=Re[0]+Re[2]),le.height=oe,le.lineHeight=d(et.textLineHeight,R.textLineHeight,oe),le.textAlign=et&&et.textAlign||R.textAlign,le.textVerticalAlign=et&&et.textVerticalAlign||"middle",Ce!=null&&W+le.lineHeight>Ce)return{lines:[],width:0,height:0};le.textWidth=s(le.text,Ae);var ce=et.textWidth,be=ce==null||ce==="auto";if(typeof ce=="string"&&ce.charAt(ce.length-1)==="%")le.percentWidth=ce,re.push(le),ce=0;else{if(be){ce=le.textWidth;var Te=et.textBackgroundColor,Be=Te&&Te.image;Be&&(Be=p.findExistImage(Be),p.isImageReady(Be)&&(ce=Math.max(ce,Be.width*oe/Be.height)))}var De=Re?Re[1]+Re[3]:0;ce+=De;var ae=ve!=null?ve-Le:null;ae!=null&&ae<ce&&(!be||ae<De?(le.text="",le.textWidth=ce=0):(le.text=O(le.text,ae-De,Ae,$.ellipsis,{minChar:$.minChar}),le.textWidth=s(le.text,Ae),ce=le.textWidth+De))}Le+=le.width=ce,et&&(ue=Math.max(ue,le.lineHeight))}Ke.width=Le,Ke.lineHeight=ue,W+=ue,G=Math.max(G,Le)}U.outerWidth=U.width=f(R.textWidth,G),U.outerHeight=U.height=f(R.textHeight,W),ye&&(U.outerWidth+=ye[1]+ye[3],U.outerHeight+=ye[0]+ye[2]);for(var Se=0;Se<re.length;Se++){var le=re[Se],fe=le.percentWidth;le.width=parseInt(fe,10)/100*G}return U}function F(z,R,U){for(var B=R==="",H=R.split(`
`),K=z.lines,V=0;V<H.length;V++){var W=H[V],G={styleName:U,text:W,isLineHolder:!W&&!B};if(V)K.push({tokens:[G]});else{var re=(K[K.length-1]||(K[0]={tokens:[]})).tokens,ye=re.length;ye===1&&re[0].isLineHolder?re[0]=G:(W||!ye||B)&&re.push(G)}}}function j(z){var R=(z.fontSize||z.fontFamily)&&[z.fontStyle,z.fontWeight,(z.fontSize||12)+"px",z.fontFamily||"sans-serif"].join(" ");return R&&c(R)||z.textFont||z.font}N.DEFAULT_FONT=e,N.$override=r,N.getWidth=s,N.getBoundingRect=u,N.adjustTextX=y,N.adjustTextY=w,N.calculateTextPosition=b,N.adjustTextPositionOnRect=x,N.truncateText=O,N.getLineHeight=_,N.measureText=L,N.parsePlainText=P,N.parseRichText=k,N.makeFont=j},"6Hfg":function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("FhB9")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="SwapRightOutlined";var i=m.forwardRef(o);N.default=i},"6Ic6":function(M,N,n){var v=n("bYtY"),p=v.each,S=n("4fz+"),m=n("iRjW"),g=n("Yl7c"),f=n("4NO4"),d=n("IwbS"),c=n("9H2F"),o=c.createTask,i=n("zM3Q"),t=f.makeInner(),a=i();function e(){this.group=new S,this.uid=m.getUID("viewChart"),this.renderTask=o({plan:u,reset:h}),this.renderTask.context={view:this}}e.prototype={type:"chart",init:function(w,b){},render:function(w,b,x,O){},highlight:function(w,b,x,O){s(w.getData(),O,"emphasis")},downplay:function(w,b,x,O){s(w.getData(),O,"normal")},remove:function(w,b){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=e.prototype;l.updateView=l.updateLayout=l.updateVisual=function(w,b,x,O){this.render(w,b,x,O)};function r(w,b,x){if(w&&(w.trigger(b,x),w.isGroup&&!d.isHighDownDispatcher(w)))for(var O=0,T=w.childCount();O<T;O++)r(w.childAt(O),b,x)}function s(w,b,x){var O=f.queryDataIndex(w,b),T=b&&b.highlightKey!=null?d.getHighlightDigit(b.highlightKey):null;O!=null?p(f.normalizeToArray(O),function(E){r(w.getItemGraphicEl(E),x,T)}):w.eachItemGraphicEl(function(E){r(E,x,T)})}g.enableClassExtend(e,["dispose"]),g.enableClassManagement(e,{registerWhenExtend:!0}),e.markUpdateMethod=function(w,b){t(w).updateMethod=b};function u(w){return a(w.model)}function h(w){var b=w.model,x=w.ecModel,O=w.api,T=w.payload,E=b.pipelineContext.progressiveRender,C=w.view,_=T&&t(T).updateMethod,L=E?"incrementalPrepareRender":_&&C[_]?_:"render";return L!=="render"&&C[L](b,x,O,T),A[L]}var A={incrementalPrepareRender:{progress:function(w,b){b.view.incrementalRender(w,b.model,b.ecModel,b.api,b.payload)}},render:{forceFirstProgress:!0,progress:function(w,b){b.view.render(b.model,b.ecModel,b.api,b.payload)}}},y=e;M.exports=y},"6MrE":function(M,N,n){},"6Qwc":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v={8:"Backspace",9:"Tab",10:"NumpadClear",12:"Numpad5",13:"Enter",16:"ShiftLeft",17:"ControlLeft",18:"AltLeft",19:"Pause",20:"CapsLock",21:"Lang1",25:"Lang2",27:"Escape",28:"Convert",29:"NonConvert",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",44:"PrintScreen",45:"Insert",46:"Delete",47:"Help",48:"Digit0",49:"Digit1",50:"Digit2",51:"Digit3",52:"Digit4",53:"Digit5",54:"Digit6",55:"Digit7",56:"Digit8",57:"Digit9",91:"MetaLeft",92:"MetaRight",93:"ContextMenu",95:"Sleep",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",108:"NumpadDecimal",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",124:"F13",125:"F14",126:"F15",127:"F16",128:"F17",129:"F18",130:"F19",131:"F20",132:"F21",133:"F22",134:"F23",135:"F24",144:"NumLock",145:"ScrollLock",166:"BrowserBack",167:"BrowserForward",168:"BrowserRefresh",169:"BrowserStop",170:"BrowserSearch",171:"BrowserFavorites",172:"BrowserHome",173:"AudioVolumeMute",174:"AudioVolumeDown",175:"AudioVolumeUp",176:"MediaTrackNext",177:"MediaTrackPrevious",178:"MediaStop",179:"MediaPlayPause",180:"LaunchMail",181:"MediaSelect",182:"LaunchApp1",183:"LaunchApp2",225:"AltRight"};N.default=v},"6SEX":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("qWUW"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},"6UJt":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("v56E"),m=n.n(S),g=n("R9oj"),f=n("5NDa")},"6VBw":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("ODXe"),S=n("rePB"),m=n("Ff2n"),g=n("q1tI"),f=n("TSYQ"),d=n.n(f),c=n("Pw59"),o=n("Qi1f"),i=["icon","className","onClick","style","primaryColor","secondaryColor"],t={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function a(w){var b=w.primaryColor,x=w.secondaryColor;t.primaryColor=b,t.secondaryColor=x||Object(o.b)(b),t.calculated=!!x}function e(){return Object(v.a)({},t)}var l=function(b){var x=b.icon,O=b.className,T=b.onClick,E=b.style,C=b.primaryColor,_=b.secondaryColor,L=Object(m.a)(b,i),P=t;if(C&&(P={primaryColor:C,secondaryColor:_||Object(o.b)(C)}),Object(o.f)(),Object(o.g)(Object(o.c)(x),"icon should be icon definiton, but got ".concat(x)),!Object(o.c)(x))return null;var k=x;return k&&typeof k.icon=="function"&&(k=Object(v.a)(Object(v.a)({},k),{},{icon:k.icon(P.primaryColor,P.secondaryColor)})),Object(o.a)(k.icon,"svg-".concat(k.name),Object(v.a)({className:O,onClick:T,style:E,"data-icon":k.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},L))};l.displayName="IconReact",l.getTwoToneColors=e,l.setTwoToneColors=a;var r=l;function s(w){var b=Object(o.d)(w),x=Object(p.a)(b,2),O=x[0],T=x[1];return r.setTwoToneColors({primaryColor:O,secondaryColor:T})}function u(){var w=r.getTwoToneColors();return w.calculated?[w.primaryColor,w.secondaryColor]:w.primaryColor}var h=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];s("#1890ff");var A=g.forwardRef(function(w,b){var x,O=w.className,T=w.icon,E=w.spin,C=w.rotate,_=w.tabIndex,L=w.onClick,P=w.twoToneColor,k=Object(m.a)(w,h),F=g.useContext(c.a),j=F.prefixCls,z=j===void 0?"anticon":j,R=F.rootClassName,U=d()(R,z,(x={},Object(S.a)(x,"".concat(z,"-").concat(T.name),!!T.name),Object(S.a)(x,"".concat(z,"-spin"),!!E||T.name==="loading"),x),O),B=_;B===void 0&&L&&(B=-1);var H=C?{msTransform:"rotate(".concat(C,"deg)"),transform:"rotate(".concat(C,"deg)")}:void 0,K=Object(o.d)(P),V=Object(p.a)(K,2),W=V[0],G=V[1];return g.createElement("span",Object(v.a)(Object(v.a)({role:"img","aria-label":T.name},k),{},{ref:b,tabIndex:B,onClick:L,className:U}),g.createElement(r,{icon:T,primaryColor:W,secondaryColor:G,style:H}))});A.displayName="AntdIcon",A.getTwoToneColor=u,A.setTwoToneColor=s;var y=N.a=A},"6cGi":function(M,N,n){"use strict";n.d(N,"a",function(){return c});var v=n("ODXe"),p=n("q1tI");function S(o){var i=p.useRef();i.current=o;var t=p.useCallback(function(){for(var a,e=arguments.length,l=new Array(e),r=0;r<e;r++)l[r]=arguments[r];return(a=i.current)===null||a===void 0?void 0:a.call.apply(a,[i].concat(l))},[]);return t}var m=n("TNol"),g=n("dm2S"),f;(function(o){o[o.INNER=0]="INNER",o[o.PROP=1]="PROP"})(f||(f={}));function d(o){return o!==void 0}function c(o,i){var t=i||{},a=t.defaultValue,e=t.value,l=t.onChange,r=t.postState,s=Object(g.a)(function(){var T=void 0,E;return d(e)?(T=e,E=f.PROP):d(a)?(T=typeof a=="function"?a():a,E=f.PROP):(T=typeof o=="function"?o():o,E=f.INNER),[T,E,T]}),u=Object(v.a)(s,2),h=u[0],A=u[1],y=d(e)?e:h[0],w=r?r(y):y;Object(m.b)(function(){A(function(T){var E=Object(v.a)(T,1),C=E[0];return[e,f.PROP,C]})},[e]);var b=p.useRef(),x=S(function(T,E){A(function(C){var _=Object(v.a)(C,3),L=_[0],P=_[1],k=_[2],F=typeof T=="function"?T(L):T;if(F===L)return C;var j=P===f.INNER&&b.current!==k?k:L;return[F,f.INNER,j]},E)}),O=S(l);return Object(m.a)(function(){var T=Object(v.a)(h,3),E=T[0],C=T[1],_=T[2];E!==_&&C===f.INNER&&(O(E,_),b.current=_)},[h]),[w,x]}},"6fms":function(M,N,n){var v=n("SUKs"),p=n("06Qe"),S=n("bYtY"),m=S.each;function g(o){return parseInt(o,10)}function f(o,i){p.initVML(),this.root=o,this.storage=i;var t=document.createElement("div"),a=document.createElement("div");t.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",a.style.cssText="position:absolute;left:0;top:0;",o.appendChild(t),this._vmlRoot=a,this._vmlViewport=t,this.resize();var e=i.delFromStorage,l=i.addToStorage;i.delFromStorage=function(r){e.call(i,r),r&&(r.onRemove&&r.onRemove(a))},i.addToStorage=function(r){r.onAdd&&r.onAdd(a),l.call(i,r)},this._firstPaint=!0}f.prototype={constructor:f,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var i=this.getViewportRoot();if(i)return{offsetLeft:i.offsetLeft||0,offsetTop:i.offsetTop||0}},refresh:function(){var i=this.storage.getDisplayList(!0,!0);this._paintList(i)},_paintList:function(i){for(var t=this._vmlRoot,a=0;a<i.length;a++){var e=i[a];e.invisible||e.ignore?(e.__alreadyNotVisible||e.onRemove(t),e.__alreadyNotVisible=!0):(e.__alreadyNotVisible&&e.onAdd(t),e.__alreadyNotVisible=!1,e.__dirty&&(e.beforeBrush&&e.beforeBrush(),(e.brushVML||e.brush).call(e,t),e.afterBrush&&e.afterBrush())),e.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(t),this._firstPaint=!1)},resize:function(i,t){var i=i==null?this._getWidth():i,t=t==null?this._getHeight():t;if(this._width!==i||this._height!==t){this._width=i,this._height=t;var a=this._vmlViewport.style;a.width=i+"px",a.height=t+"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 i=this.root,t=i.currentStyle;return(i.clientWidth||g(t.width))-g(t.paddingLeft)-g(t.paddingRight)|0},_getHeight:function(){var i=this.root,t=i.currentStyle;return(i.clientHeight||g(t.height))-g(t.paddingTop)-g(t.paddingBottom)|0}};function d(o){return function(){v('In IE8.0 VML mode painter not support method "'+o+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(o){f.prototype[o]=d(o)});var c=f;M.exports=c},"6r85":function(M,N,n){var v=n("bYtY");function p(S){if(!S||!v.isArray(S.series))return;v.each(S.series,function(m){v.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}M.exports=p},"6uqw":function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("ItGF"),m=n("YOMW"),g=n("XxSj"),f=n("K4ya"),d=n("4NO4"),c=n("OELB"),o=g.mapVisual,i=g.eachVisual,t=p.isArray,a=p.each,e=c.asc,l=c.linearMap,r=p.noop,s=v.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-Infinity,Infinity],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(h,A,y){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,y)},optionUpdated:function(h,A){var y=this.option;S.canvasSupported||(y.realtime=!1),!A&&f.replaceVisualOption(y,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var A=this.stateList;h=p.bind(h,this),this.controllerVisuals=f.createVisualMappings(this.option.controller,A,h),this.targetVisuals=f.createVisualMappings(this.option.target,A,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,A=[];return h==null||h==="all"?this.ecModel.eachSeries(function(y,w){A.push(w)}):A=d.normalizeToArray(h),A},eachTargetSeries:function(h,A){p.each(this.getTargetSeriesIndices(),function(y){h.call(A,this.ecModel.getSeriesByIndex(y))},this)},isTargetSeries:function(h){var A=!1;return this.eachTargetSeries(function(y){y===h&&(A=!0)}),A},formatValueText:function(h,A,y){var w=this.option,b=w.precision,x=this.dataBound,O=w.formatter,T,E;if(y=y||["<",">"],p.isArray(h)&&(h=h.slice(),T=!0),E=A?h:T?[C(h[0]),C(h[1])]:C(h),p.isString(O))return O.replace("{value}",T?E[0]:E).replace("{value2}",T?E[1]:E);if(p.isFunction(O))return T?O(h[0],h[1]):O(h);if(T)return h[0]===x[0]?y[0]+" "+E[1]:h[1]===x[1]?y[1]+" "+E[0]:E[0]+" - "+E[1];return E;function C(_){return _===x[0]?"min":_===x[1]?"max":(+_).toFixed(Math.min(b,20))}},resetExtent:function(){var h=this.option,A=e([h.min,h.max]);this._dataExtent=A},getDataDimension:function(h){var A=this.option.dimension,y=h.dimensions;if(A==null&&!y.length)return;if(A!=null)return h.getDimension(A);for(var w=h.dimensions,b=w.length-1;b>=0;b--){var x=w[b],O=h.getDimensionInfo(x);if(!O.isCalculationCoord)return x}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,A=this.option,y={inRange:A.inRange,outOfRange:A.outOfRange},w=A.target||(A.target={}),b=A.controller||(A.controller={});p.merge(w,y),p.merge(b,y);var x=this.isCategory();O.call(this,w),O.call(this,b),T.call(this,w,"inRange","outOfRange"),E.call(this,b);function O(C){t(A.color)&&!C.inRange&&(C.inRange={color:A.color.slice().reverse()}),C.inRange=C.inRange||{color:h.get("gradientColor")},a(this.stateList,function(_){var L=C[_];if(p.isString(L)){var P=m.get(L,"active",x);P?(C[_]={},C[_][L]=P):delete C[_]}},this)}function T(C,_,L){var P=C[_],k=C[L];P&&!k&&(k=C[L]={},a(P,function(F,j){if(!g.isValidType(j))return;var z=m.get(j,"inactive",x);z!=null&&(k[j]=z,j==="color"&&!k.hasOwnProperty("opacity")&&!k.hasOwnProperty("colorAlpha")&&(k.opacity=[0,0]))}))}function E(C){var _=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,L=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,P=this.get("inactiveColor");a(this.stateList,function(k){var F=this.itemSize,j=C[k];j||(j=C[k]={color:x?P:[P]}),j.symbol==null&&(j.symbol=_&&p.clone(_)||(x?"roundRect":["roundRect"])),j.symbolSize==null&&(j.symbolSize=L&&p.clone(L)||(x?F[0]:[F[0],F[0]])),j.symbol=o(j.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var z=j.symbolSize;if(z!=null){var R=-Infinity;i(z,function(U){U>R&&(R=U)}),j.symbolSize=o(z,function(U){return l(U,[0,R],[0,F[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:r,getValueState:r,getVisualMeta:r}),u=s;M.exports=u},"6usn":function(M,N,n){var v=n("bYtY");function p(m,g){return v.map(["Radius","Angle"],function(f,d){var c=this["get"+f+"Axis"](),o=g[d],i=m[d]/2,t="dataTo"+f,a=c.type==="category"?c.getBandWidth():Math.abs(c[t](o-i)-c[t](o+i));return f==="Angle"&&(a=a*Math.PI/180),a},this)}function S(m){var g=m.getRadiusAxis(),f=m.getAngleAxis(),d=g.getExtent();return d[0]>d[1]&&d.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:d[1],r0:d[0]},api:{coord:v.bind(function(c){var o=g.dataToRadius(c[0]),i=f.dataToAngle(c[1]),t=m.coordToPoint([o,i]);return t.push(o,i*Math.PI/180),t}),size:v.bind(p,m)}}}M.exports=S},"6xvX":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("V7ic"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},"711d":function(M,N){function n(v){return function(p){return p==null?void 0:p[v]}}M.exports=n},"72pK":function(M,N){function n(S,m,g,f,d,c){S=S||0;var o=g[1]-g[0];if(d!=null&&(d=p(d,[0,o])),c!=null&&(c=Math.max(c,d!=null?d:0)),f==="all"){var i=Math.abs(m[1]-m[0]);i=p(i,[0,o]),d=c=p(i,[d,c]),f=0}m[0]=p(m[0],g),m[1]=p(m[1],g);var t=v(m,f);m[f]+=S;var a=d||0,e=g.slice();t.sign<0?e[0]+=a:e[1]-=a,m[f]=p(m[f],e);var l=v(m,f);d!=null&&(l.sign!==t.sign||l.span<d)&&(m[1-f]=m[f]+t.sign*d);var l=v(m,f);return c!=null&&l.span>c&&(m[1-f]=m[f]+l.sign*c),m}function v(S,m){var g=S[m]-S[1-m];return{span:Math.abs(g),sign:g>0?-1:g<0?1:m?-1:1}}function p(S,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,S))}M.exports=n},"75ce":function(M,N,n){var v=n("ProS");n("IXuL"),n("8X+K");var p=n("f5Yq"),S=n("h8O9"),m=n("/d5a");n("Ae16"),v.registerVisual(p("line","circle","line")),v.registerLayout(S("line")),v.registerProcessor(v.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(M,N,n){var v=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var p=n("f5Yq"),S=n("yik8");v.registerVisual(p("tree","circle")),v.registerLayout(S)},"7AJT":function(M,N,n){var v=n("bYtY"),p=n("hM6l"),S=function(g,f,d,c,o){p.call(this,g,f,d),this.type=c||"value",this.position=o||"bottom"};S.prototype={constructor:S,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},getGlobalExtent:function(g){var f=this.getExtent();return f[0]=this.toGlobalCoord(f[0]),f[1]=this.toGlobalCoord(f[1]),g&&f[0]>f[1]&&f.reverse(),f},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(g,f){return this.coordToData(this.toLocalCoord(g[this.dim==="x"?0:1]),f)},toLocalCoord:null,toGlobalCoord:null},v.inherits(S,p);var m=S;M.exports=m},"7DRL":function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=S.createHashMap,g=S.isString,f=S.isArray,d=S.each,c=S.assert,o=n("MEGo"),i=o.parseXML,t=m(),a={registerMap:function(l,r,s){var u;return f(r)?u=r:r.svg?u=[{type:"svg",source:r.svg,specialAreas:r.specialAreas}]:(r.geoJson&&!r.features&&(s=r.specialAreas,r=r.geoJson),u=[{type:"geoJSON",source:r,specialAreas:s}]),d(u,function(h){var A=h.type;A==="geoJson"&&(A=h.type="geoJSON");var y=e[A];y(h)}),t.set(l,u)},retrieveMap:function(l){return t.get(l)}},e={geoJSON:function(l){var r=l.source;l.geoJSON=g(r)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r},svg:function(l){l.svgXML=i(l.source)}};M.exports=a},"7G+c":function(M,N,n){var v=n("bYtY"),p=v.createHashMap,S=v.isTypedArray,m=n("Yl7c"),g=m.enableClassCheck,f=n("k9D9"),d=f.SOURCE_FORMAT_ORIGINAL,c=f.SERIES_LAYOUT_BY_COLUMN,o=f.SOURCE_FORMAT_UNKNOWN,i=f.SOURCE_FORMAT_TYPED_ARRAY,t=f.SOURCE_FORMAT_KEYED_COLUMNS;function a(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===t?{}:[]),this.sourceFormat=l.sourceFormat||o,this.seriesLayoutBy=l.seriesLayoutBy||c,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&p(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}a.seriesDataToSource=function(l){return new a({data:l,sourceFormat:S(l)?i:d,fromDataset:!1})},g(a);var e=a;M.exports=e},"7Kak":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("KPFz"),m=n.n(S)},"7Phj":function(M,N,n){var v=n("bYtY"),p=n("OELB"),S=p.parsePercent,m=v.each;function g(o){var i=f(o);m(i,function(t){var a=t.seriesModels;if(!a.length)return;d(t),m(a,function(e,l){c(e,t.boxOffsetList[l],t.boxWidthList[l])})})}function f(o){var i=[],t=[];return o.eachSeriesByType("boxplot",function(a){var e=a.getBaseAxis(),l=v.indexOf(t,e);l<0&&(l=t.length,t[l]=e,i[l]={axis:e,seriesModels:[]}),i[l].seriesModels.push(a)}),i}function d(o){var i,t=o.axis,a=o.seriesModels,e=a.length,l=o.boxWidthList=[],r=o.boxOffsetList=[],s=[],u;if(t.type==="category")u=t.getBandWidth();else{var h=0;m(a,function(x){h=Math.max(h,x.getData().count())}),i=t.getExtent(),Math.abs(i[1]-i[0])/h}m(a,function(x){var O=x.get("boxWidth");v.isArray(O)||(O=[O,O]),s.push([S(O[0],u)||0,S(O[1],u)||0])});var A=u*.8-2,y=A/e*.3,w=(A-y*(e-1))/e,b=w/2-A/2;m(a,function(x,O){r.push(b),b+=y+w,l.push(Math.min(Math.max(w,s[O][0]),s[O][1]))})}function c(o,i,t){var a=o.coordinateSystem,e=o.getData(),l=t/2,r=o.get("layout")==="horizontal"?0:1,s=1-r,u=["x","y"],h=e.mapDimension(u[r]),A=e.mapDimension(u[s],!0);if(h==null||A.length<5)return;for(var y=0;y<e.count();y++){var w=e.get(h,y),b=_(w,A[2],y),x=_(w,A[0],y),O=_(w,A[1],y),T=_(w,A[3],y),E=_(w,A[4],y),C=[];L(C,O,0),L(C,T,1),C.push(x,O,E,T),P(C,x),P(C,E),P(C,b),e.setItemLayout(y,{initBaseline:b[s],ends:C})}function _(k,F,j){var z=e.get(F,j),R=[];R[r]=k,R[s]=z;var U;return isNaN(k)||isNaN(z)?U=[NaN,NaN]:(U=a.dataToPoint(R),U[r]+=i),U}function L(k,F,j){var z=F.slice(),R=F.slice();z[r]+=l,R[r]-=l,j?k.push(z,R):k.push(R,z)}function P(k,F){var j=F.slice(),z=F.slice();j[r]-=l,z[r]+=l,k.push(j,z)}}M.exports=g},"7SHv":function(M,N,n){var v=n("LPTA"),p=v.devicePixelRatio,S=n("bYtY"),m=n("SUKs"),g=n("mFDi"),f=n("BPZU"),d=n("Xmg4"),c=n("mLcG"),o=n("Dagg"),i=n("ItGF"),t=1e5,a=314159,e=.01,l=.001;function r(T){return parseInt(T,10)}function s(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var u=new g(0,0,0,0),h=new g(0,0,0,0);function A(T,E,C){return u.copy(T.getBoundingRect()),T.transform&&u.applyTransform(T.transform),h.width=E,h.height=C,!u.intersect(h)}function y(T,E){if(T===E)return!1;if(!T||!E||T.length!==E.length)return!0;for(var C=0;C<T.length;C++)if(T[C]!==E[C])return!0;return!1}function w(T,E){for(var C=0;C<T.length;C++){var _=T[C];_.setTransform(E),E.beginPath(),_.buildPath(E,_.shape),E.clip(),_.restoreTransform(E)}}function b(T,E){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+T+"px","height:"+E+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var x=function(E,C,_){this.type="canvas";var L=!E.nodeName||E.nodeName.toUpperCase()==="CANVAS";this._opts=_=S.extend({},_||{}),this.dpr=_.devicePixelRatio||p,this._singleCanvas=L,this.root=E;var P=E.style;P&&(P["-webkit-tap-highlight-color"]="transparent",P["-webkit-user-select"]=P["user-select"]=P["-webkit-touch-callout"]="none",E.innerHTML=""),this.storage=C;var k=this._zlevelList=[],F=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,L){var z=E.width,R=E.height;_.width!=null&&(z=_.width),_.height!=null&&(R=_.height),this.dpr=_.devicePixelRatio||1,E.width=z*this.dpr,E.height=R*this.dpr,this._width=z,this._height=R;var U=new d(E,this,this.dpr);U.__builtin__=!0,U.initContext(),F[a]=U,U.zlevel=a,k.push(a),this._domRoot=E}else{this._width=this._getSize(0),this._height=this._getSize(1);var j=this._domRoot=b(this._width,this._height);E.appendChild(j)}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 E=this.getViewportRoot();if(E)return{offsetLeft:E.offsetLeft||0,offsetTop:E.offsetTop||0}},refresh:function(E){var C=this.storage.getDisplayList(!0),_=this._zlevelList;this._redrawId=Math.random(),this._paintList(C,E,this._redrawId);for(var L=0;L<_.length;L++){var P=_[L],k=this._layers[P];if(!k.__builtin__&&k.refresh){var F=L===0?this._backgroundColor:null;k.refresh(F)}}return this.refreshHover(),this},addHover:function(E,C){if(E.__hoverMir)return;var _=new E.constructor({style:E.style,shape:E.shape,z:E.z,z2:E.z2,silent:E.silent});return _.__from=E,E.__hoverMir=_,C&&_.setStyle(C),this._hoverElements.push(_),_},removeHover:function(E){var C=E.__hoverMir,_=this._hoverElements,L=S.indexOf(_,C);L>=0&&_.splice(L,1),E.__hoverMir=null},clearHover:function(E){for(var C=this._hoverElements,_=0;_<C.length;_++){var L=C[_].__from;L&&(L.__hoverMir=null)}C.length=0},refreshHover:function(){var E=this._hoverElements,C=E.length,_=this._hoverlayer;if(_&&_.clear(),!C)return;f(E,this.storage.displayableSortFunc),_||(_=this._hoverlayer=this.getLayer(t));var L={};_.ctx.save();for(var P=0;P<C;){var k=E[P],F=k.__from;if(!(F&&F.__zr)){E.splice(P,1),F.__hoverMir=null,C--;continue}P++,F.invisible||(k.transform=F.transform,k.invTransform=F.invTransform,k.__clipPaths=F.__clipPaths,this._doPaintEl(k,_,!0,L))}_.ctx.restore()},getHoverLayer:function(){return this.getLayer(t)},_paintList:function(E,C,_){if(this._redrawId!==_)return;C=C||!1,this._updateLayerStatus(E);var L=this._doPaintList(E,C);if(this._needsManuallyCompositing&&this._compositeManually(),!L){var P=this;c(function(){P._paintList(E,C,_)})}},_compositeManually:function(){var E=this.getLayer(a).ctx,C=this._domRoot.width,_=this._domRoot.height;E.clearRect(0,0,C,_),this.eachBuiltinLayer(function(L){L.virtual&&E.drawImage(L.dom,0,0,C,_)})},_doPaintList:function(E,C){for(var _=[],L=0;L<this._zlevelList.length;L++){var P=this._zlevelList[L],k=this._layers[P];k.__builtin__&&k!==this._hoverlayer&&(k.__dirty||C)&&_.push(k)}for(var F=!0,j=0;j<_.length;j++){var k=_[j],z=k.ctx,R={};z.save();var U=C?k.__startIndex:k.__drawIndex,B=!C&&k.incremental&&Date.now,H=B&&Date.now(),K=k.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(k.__startIndex===k.__endIndex)k.clear(!1,K);else if(U===k.__startIndex){var V=E[U];(!V.incremental||!V.notClear||C)&&k.clear(!1,K)}U===-1&&(console.error("For some unknown reason. drawIndex is -1"),U=k.__startIndex);for(var W=U;W<k.__endIndex;W++){var G=E[W];if(this._doPaintEl(G,k,C,R),G.__dirty=G.__dirtyText=!1,B){var re=Date.now()-H;if(re>15)break}}k.__drawIndex=W,k.__drawIndex<k.__endIndex&&(F=!1),R.prevElClipPaths&&z.restore(),z.restore()}return i.wxa&&S.each(this._layers,function(ye){ye&&ye.ctx&&ye.ctx.draw&&ye.ctx.draw()}),F},_doPaintEl:function(E,C,_,L){var P=C.ctx,k=E.transform;if((C.__dirty||_)&&!E.invisible&&E.style.opacity!==0&&!(k&&!k[0]&&!k[3])&&!(E.culling&&A(E,this._width,this._height))){var F=E.__clipPaths,j=L.prevElClipPaths;(!j||y(F,j))&&(j&&(P.restore(),L.prevElClipPaths=null,L.prevEl=null),F&&(P.save(),w(F,P),L.prevElClipPaths=F)),E.beforeBrush&&E.beforeBrush(P),E.brush(P,L.prevEl||null),L.prevEl=E,E.afterBrush&&E.afterBrush(P)}},getLayer:function(E,C){this._singleCanvas&&!this._needsManuallyCompositing&&(E=a);var _=this._layers[E];return _||(_=new d("zr_"+E,this,this.dpr),_.zlevel=E,_.__builtin__=!0,this._layerConfig[E]?S.merge(_,this._layerConfig[E],!0):this._layerConfig[E-e]&&S.merge(_,this._layerConfig[E-e],!0),C&&(_.virtual=C),this.insertLayer(E,_),_.initContext()),_},insertLayer:function(E,C){var _=this._layers,L=this._zlevelList,P=L.length,k=null,F=-1,j=this._domRoot;if(_[E]){m("ZLevel "+E+" has been used already");return}if(!s(C)){m("Layer of zlevel "+E+" is not valid");return}if(P>0&&E>L[0]){for(F=0;F<P-1&&!(L[F]<E&&L[F+1]>E);F++);k=_[L[F]]}if(L.splice(F+1,0,E),_[E]=C,!C.virtual)if(k){var z=k.dom;z.nextSibling?j.insertBefore(C.dom,z.nextSibling):j.appendChild(C.dom)}else j.firstChild?j.insertBefore(C.dom,j.firstChild):j.appendChild(C.dom)},eachLayer:function(E,C){var _=this._zlevelList,L,P;for(P=0;P<_.length;P++)L=_[P],E.call(C,this._layers[L],L)},eachBuiltinLayer:function(E,C){var _=this._zlevelList,L,P,k;for(k=0;k<_.length;k++)P=_[k],L=this._layers[P],L.__builtin__&&E.call(C,L,P)},eachOtherLayer:function(E,C){var _=this._zlevelList,L,P,k;for(k=0;k<_.length;k++)P=_[k],L=this._layers[P],L.__builtin__||E.call(C,L,P)},getLayers:function(){return this._layers},_updateLayerStatus:function(E){this.eachBuiltinLayer(function(R,U){R.__dirty=R.__used=!1});function C(R){P&&(P.__endIndex!==R&&(P.__dirty=!0),P.__endIndex=R)}if(this._singleCanvas)for(var _=1;_<E.length;_++){var L=E[_];if(L.zlevel!==E[_-1].zlevel||L.incremental){this._needsManuallyCompositing=!0;break}}for(var P=null,k=0,F,_=0;_<E.length;_++){var L=E[_],j=L.zlevel,z;F!==j&&(F=j,k=0),L.incremental?(z=this.getLayer(j+l,this._needsManuallyCompositing),z.incremental=!0,k=1):z=this.getLayer(j+(k>0?e:0),this._needsManuallyCompositing),z.__builtin__||m("ZLevel "+j+" has been used by unkown layer "+z.id),z!==P&&(z.__used=!0,z.__startIndex!==_&&(z.__dirty=!0),z.__startIndex=_,z.incremental?z.__drawIndex=-1:z.__drawIndex=_,C(_),P=z),L.__dirty&&(z.__dirty=!0,z.incremental&&z.__drawIndex<0&&(z.__drawIndex=_))}C(_),this.eachBuiltinLayer(function(R,U){!R.__used&&R.getElementCount()>0&&(R.__dirty=!0,R.__startIndex=R.__endIndex=R.__drawIndex=0),R.__dirty&&R.__drawIndex<0&&(R.__drawIndex=R.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(E){E.clear()},setBackgroundColor:function(E){this._backgroundColor=E},configLayer:function(E,C){if(C){var _=this._layerConfig;_[E]?S.merge(_[E],C,!0):_[E]=C;for(var L=0;L<this._zlevelList.length;L++){var P=this._zlevelList[L];if(P===E||P===E+e){var k=this._layers[P];S.merge(k,_[E],!0)}}}},delLayer:function(E){var C=this._layers,_=this._zlevelList,L=C[E];if(!L)return;L.dom.parentNode.removeChild(L.dom),delete C[E],_.splice(S.indexOf(_,E),1)},resize:function(E,C){if(this._domRoot.style){var _=this._domRoot;_.style.display="none";var L=this._opts;if(E!=null&&(L.width=E),C!=null&&(L.height=C),E=this._getSize(0),C=this._getSize(1),_.style.display="",this._width!==E||C!==this._height){_.style.width=E+"px",_.style.height=C+"px";for(var P in this._layers)this._layers.hasOwnProperty(P)&&this._layers[P].resize(E,C);S.each(this._progressiveLayers,function(k){k.resize(E,C)}),this.refresh(!0)}this._width=E,this._height=C}else{if(E==null||C==null)return;this._width=E,this._height=C,this.getLayer(a).resize(E,C)}return this},clearLayer:function(E){var C=this._layers[E];C&&C.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(E){if(E=E||{},this._singleCanvas&&!this._compositeManually)return this._layers[a].dom;var C=new d("image",this,E.pixelRatio||this.dpr);if(C.initContext(),C.clear(!1,E.backgroundColor||this._backgroundColor),E.pixelRatio<=this.dpr){this.refresh();var _=C.dom.width,L=C.dom.height,P=C.ctx;this.eachLayer(function(R){R.__builtin__?P.drawImage(R.dom,0,0,_,L):R.renderToCanvas&&(C.ctx.save(),R.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var k={},F=this.storage.getDisplayList(!0),j=0;j<F.length;j++){var z=F[j];this._doPaintEl(z,C,!0,k)}return C.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(E){var C=this._opts,_=["width","height"][E],L=["clientWidth","clientHeight"][E],P=["paddingLeft","paddingTop"][E],k=["paddingRight","paddingBottom"][E];if(C[_]!=null&&C[_]!=="auto")return parseFloat(C[_]);var F=this.root,j=document.defaultView.getComputedStyle(F);return(F[L]||r(j[_])||r(F.style[_]))-(r(j[P])||0)-(r(j[k])||0)|0},pathToImage:function(E,C){C=C||this.dpr;var _=document.createElement("canvas"),L=_.getContext("2d"),P=E.getBoundingRect(),k=E.style,F=k.shadowBlur*C,j=k.shadowOffsetX*C,z=k.shadowOffsetY*C,R=k.hasStroke()?k.lineWidth:0,U=Math.max(R/2,-j+F),B=Math.max(R/2,j+F),H=Math.max(R/2,-z+F),K=Math.max(R/2,z+F),V=P.width+U+B,W=P.height+H+K;_.width=V*C,_.height=W*C,L.scale(C,C),L.clearRect(0,0,V,W),L.dpr=C;var G={position:E.position,rotation:E.rotation,scale:E.scale};E.position=[U-P.x,H-P.y],E.rotation=0,E.scale=[1,1],E.updateTransform(),E&&E.brush(L);var re=o,ye=new re({style:{x:0,y:0,image:_}});return G.position!=null&&(ye.position=E.position=G.position),G.rotation!=null&&(ye.rotation=E.rotation=G.rotation),G.scale!=null&&(ye.scale=E.scale=G.scale),ye}};var O=x;M.exports=O},"7a+S":function(M,N,n){var v=n("bYtY"),p=n("bLfw"),S=n("YXkt"),m=n("4NO4"),g=p.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(d,c,o){this._data,this._names,this.mergeDefaultAndTheme(d,o),this._initData()},mergeOption:function(d){g.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(d){d==null&&(d=this.option.currentIndex);var c=this._data.count();this.option.loop?d=(d%c+c)%c:(d>=c&&(d=c-1),d<0&&(d=0)),this.option.currentIndex=d},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(d){this.option.autoPlay=!!d},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var d=this.option,c=d.data||[],o=d.axisType,i=this._names=[];if(o==="category"){var t=[];v.each(c,function(l,r){var s=m.getDataItemValue(l),u;v.isObject(l)?(u=v.clone(l),u.value=r):u=r,t.push(u),!v.isString(s)&&(s==null||isNaN(s))&&(s=""),i.push(s+"")}),c=t}var a={category:"ordinal",time:"time"}[o]||"number",e=this._data=new S([{name:"value",type:a}],this);e.initData(c,i)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),f=g;M.exports=f},"7aKB":function(M,N,n){var v=n("bYtY"),p=n("6GrX"),S=n("OELB");function m(b){return isNaN(b)?"-":(b=(b+"").split("."),b[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(b.length>1?"."+b[1]:""))}function g(b,x){return b=(b||"").toLowerCase().replace(/-(.)/g,function(O,T){return T.toUpperCase()}),x&&b&&(b=b.charAt(0).toUpperCase()+b.slice(1)),b}var f=v.normalizeCssArray,d=/([&<>"'])/g,c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function o(b){return b==null?"":(b+"").replace(d,function(x,O){return c[O]})}var i=["a","b","c","d","e","f","g"],t=function(b,x){return"{"+b+(x==null?"":x)+"}"};function a(b,x,O){v.isArray(x)||(x=[x]);var T=x.length;if(!T)return"";for(var E=x[0].$vars||[],C=0;C<E.length;C++){var _=i[C];b=b.replace(t(_),t(_,0))}for(var L=0;L<T;L++)for(var P=0;P<E.length;P++){var k=x[L][E[P]];b=b.replace(t(i[P],L),O?o(k):k)}return b}function e(b,x,O){return v.each(x,function(T,E){b=b.replace("{"+E+"}",O?o(T):T)}),b}function l(b,x){b=v.isString(b)?{color:b,extraCssText:x}:b||{};var O=b.color,T=b.type,x=b.extraCssText,E=b.renderMode||"html",C=b.markerId||"X";return O?E==="html"?T==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+o(O)+";"+(x||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+o(O)+";"+(x||"")+'"></span>':{renderMode:E,content:"{marker"+C+"|} ",style:{color:O}}:""}function r(b,x){return b+="","0000".substr(0,x-b.length)+b}function s(b,x,O){(b==="week"||b==="month"||b==="quarter"||b==="half-year"||b==="year")&&(b=`MM-dd
yyyy`);var T=S.parseDate(x),E=O?"UTC":"",C=T["get"+E+"FullYear"](),_=T["get"+E+"Month"]()+1,L=T["get"+E+"Date"](),P=T["get"+E+"Hours"](),k=T["get"+E+"Minutes"](),F=T["get"+E+"Seconds"](),j=T["get"+E+"Milliseconds"]();return b=b.replace("MM",r(_,2)).replace("M",_).replace("yyyy",C).replace("yy",C%100).replace("dd",r(L,2)).replace("d",L).replace("hh",r(P,2)).replace("h",P).replace("mm",r(k,2)).replace("m",k).replace("ss",r(F,2)).replace("s",F).replace("SSS",r(j,3)),b}function u(b){return b&&b.charAt(0).toUpperCase()+b.substr(1)}var h=p.truncateText;function A(b){return p.getBoundingRect(b.text,b.font,b.textAlign,b.textVerticalAlign,b.textPadding,b.textLineHeight,b.rich,b.truncate)}function y(b,x,O,T,E,C,_,L){return p.getBoundingRect(b,x,O,T,E,L,C,_)}function w(b,x){if(x==="_blank"||x==="blank"){var O=window.open();O.opener=null,O.location=b}else window.open(b,x)}N.addCommas=m,N.toCamelCase=g,N.normalizeCssArray=f,N.encodeHTML=o,N.formatTpl=a,N.formatTplSimple=e,N.getTooltipMarker=l,N.formatTime=s,N.capitalFirst=u,N.truncateText=h,N.getTextBoundingRect=A,N.getTextRect=y,N.windowOpen=w},"7bkD":function(M,N,n){var v=n("bYtY");function p(S,m){m=m||{};var g=S.coordinateSystem,f=S.axis,d={},c=f.position,o=f.orient,i=g.getRect(),t=[i.x,i.x+i.width,i.y,i.y+i.height],a={horizontal:{top:t[2],bottom:t[3]},vertical:{left:t[0],right:t[1]}};d.position=[o==="vertical"?a.vertical[c]:t[0],o==="horizontal"?a.horizontal[c]:t[3]];var e={horizontal:0,vertical:1};d.rotation=Math.PI/2*e[o];var l={top:-1,bottom:1,right:1,left:-1};d.labelDirection=d.tickDirection=d.nameDirection=l[c],S.get("axisTick.inside")&&(d.tickDirection=-d.tickDirection),v.retrieve(m.labelInside,S.get("axisLabel.inside"))&&(d.labelDirection=-d.labelDirection);var r=m.rotate;return r==null&&(r=S.get("axisLabel.rotate")),d.labelRotation=c==="top"?-r:r,d.z2=1,d}N.layout=p},"7hqr":function(M,N,n){var v=n("bYtY"),p=v.each,S=v.isString;function m(d,c,o){o=o||{};var i=o.byIndex,t=o.stackedCoordDimension,a=!!(d&&d.get("stack")),e,l,r,s;if(p(c,function(y,w){S(y)&&(c[w]=y={name:y}),a&&!y.isExtraCoord&&(!i&&!e&&y.ordinalMeta&&(e=y),!l&&y.type!=="ordinal"&&y.type!=="time"&&(!t||t===y.coordDim)&&(l=y))}),l&&!i&&!e&&(i=!0),l){r="__\0ecstackresult",s="__\0ecstackedover",e&&(e.createInvertedIndices=!0);var u=l.coordDim,h=l.type,A=0;p(c,function(y){y.coordDim===u&&A++}),c.push({name:r,coordDim:u,coordDimIndex:A,type:h,isExtraCoord:!0,isCalculationCoord:!0}),A++,c.push({name:s,coordDim:s,coordDimIndex:A,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:e&&e.name,isStackedByIndex:i,stackedOverDimension:s,stackResultDimension:r}}function g(d,c){return!!c&&c===d.getCalculationInfo("stackedDimension")}function f(d,c){return g(d,c)?d.getCalculationInfo("stackResultDimension"):c}N.enableDataStack=m,N.isDimensionStacked=g,N.getStackedDimension=f},"7mYs":function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("IwbS"),m=n("7aKB"),g=n("OELB"),f={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},d={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},c=v.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(o,i,t){var a=this.group;a.removeAll();var e=o.coordinateSystem,l=e.getRangeInfo(),r=e.getOrient();this._renderDayRect(o,l,a),this._renderLines(o,l,r,a),this._renderYearText(o,l,r,a),this._renderMonthText(o,r,a),this._renderWeekText(o,l,r,a)},_renderDayRect:function(o,i,t){for(var a=o.coordinateSystem,e=o.getModel("itemStyle").getItemStyle(),l=a.getCellWidth(),r=a.getCellHeight(),s=i.start.time;s<=i.end.time;s=a.getNextNDay(s,1).time){var u=a.dataToRect([s],!1).tl,h=new S.Rect({shape:{x:u[0],y:u[1],width:l,height:r},cursor:"default",style:e});t.add(h)}},_renderLines:function(o,i,t,a){var e=this,l=o.coordinateSystem,r=o.getModel("splitLine.lineStyle").getLineStyle(),s=o.get("splitLine.show"),u=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=i.start,A=0;h.time<=i.end.time;A++){w(h.formatedDate),A===0&&(h=l.getDateInfo(i.start.y+"-"+i.start.m));var y=h.date;y.setMonth(y.getMonth()+1),h=l.getDateInfo(y)}w(l.getNextNDay(i.end.time,1).formatedDate);function w(b){e._firstDayOfMonth.push(l.getDateInfo(b)),e._firstDayPoints.push(l.dataToRect([b],!1).tl);var x=e._getLinePointsOfOneWeek(o,b,t);e._tlpoints.push(x[0]),e._blpoints.push(x[x.length-1]),s&&e._drawSplitline(x,r,a)}s&&this._drawSplitline(e._getEdgesPoints(e._tlpoints,u,t),r,a),s&&this._drawSplitline(e._getEdgesPoints(e._blpoints,u,t),r,a)},_getEdgesPoints:function(o,i,t){var a=[o[0].slice(),o[o.length-1].slice()],e=t==="horizontal"?0:1;return a[0][e]=a[0][e]-i/2,a[1][e]=a[1][e]+i/2,a},_drawSplitline:function(o,i,t){var a=new S.Polyline({z2:20,shape:{points:o},style:i});t.add(a)},_getLinePointsOfOneWeek:function(o,i,t){var a=o.coordinateSystem;i=a.getDateInfo(i);for(var e=[],l=0;l<7;l++){var r=a.getNextNDay(i.time,l),s=a.dataToRect([r.time],!1);e[2*r.day]=s.tl,e[2*r.day+1]=s[t==="horizontal"?"bl":"tr"]}return e},_formatterLabel:function(o,i){return typeof o=="string"&&o?m.formatTplSimple(o,i):typeof o=="function"?o(i):i.nameMap},_yearTextPositionControl:function(o,i,t,a,e){i=i.slice();var l=["center","bottom"];a==="bottom"?(i[1]+=e,l=["center","top"]):a==="left"?i[0]-=e:a==="right"?(i[0]+=e,l=["center","top"]):i[1]-=e;var r=0;return(a==="left"||a==="right")&&(r=Math.PI/2),{rotation:r,position:i,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(o,i,t,a){var e=o.getModel("yearLabel");if(!e.get("show"))return;var l=e.get("margin"),r=e.get("position");r||(r=t!=="horizontal"?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(s[0][0]+s[1][0])/2,h=(s[0][1]+s[1][1])/2,A=t==="horizontal"?0:1,y={top:[u,s[A][1]],bottom:[u,s[1-A][1]],left:[s[1-A][0],h],right:[s[A][0],h]},w=i.start.y;+i.end.y>+i.start.y&&(w=w+"-"+i.end.y);var b=e.get("formatter"),x={start:i.start.y,end:i.end.y,nameMap:w},O=this._formatterLabel(b,x),T=new S.Text({z2:30});S.setTextStyle(T.style,e,{text:O}),T.attr(this._yearTextPositionControl(T,y[r],t,r,l)),a.add(T)},_monthTextPositionControl:function(o,i,t,a,e){var l="left",r="top",s=o[0],u=o[1];return t==="horizontal"?(u=u+e,i&&(l="center"),a==="start"&&(r="bottom")):(s=s+e,i&&(r="middle"),a==="start"&&(l="right")),{x:s,y:u,textAlign:l,textVerticalAlign:r}},_renderMonthText:function(o,i,t){var a=o.getModel("monthLabel");if(!a.get("show"))return;var e=a.get("nameMap"),l=a.get("margin"),r=a.get("position"),s=a.get("align"),u=[this._tlpoints,this._blpoints];p.isString(e)&&(e=f[e.toUpperCase()]||[]);var h=r==="start"?0:1,A=i==="horizontal"?0:1;l=r==="start"?-l:l;for(var y=s==="center",w=0;w<u[h].length-1;w++){var b=u[h][w].slice(),x=this._firstDayOfMonth[w];if(y){var O=this._firstDayPoints[w];b[A]=(O[A]+u[0][w+1][A])/2}var T=a.get("formatter"),E=e[+x.m-1],C={yyyy:x.y,yy:(x.y+"").slice(2),MM:x.m,M:+x.m,nameMap:E},_=this._formatterLabel(T,C),L=new S.Text({z2:30});p.extend(S.setTextStyle(L.style,a,{text:_}),this._monthTextPositionControl(b,y,i,r,l)),t.add(L)}},_weekTextPositionControl:function(o,i,t,a,e){var l="center",r="middle",s=o[0],u=o[1],h=t==="start";return i==="horizontal"?(s=s+a+(h?1:-1)*e[0]/2,l=h?"right":"left"):(u=u+a+(h?1:-1)*e[1]/2,r=h?"bottom":"top"),{x:s,y:u,textAlign:l,textVerticalAlign:r}},_renderWeekText:function(o,i,t,a){var e=o.getModel("dayLabel");if(!e.get("show"))return;var l=o.coordinateSystem,r=e.get("position"),s=e.get("nameMap"),u=e.get("margin"),h=l.getFirstDayOfWeek();p.isString(s)&&(s=d[s.toUpperCase()]||[]);var A=l.getNextNDay(i.end.time,7-i.lweek).time,y=[l.getCellWidth(),l.getCellHeight()];u=g.parsePercent(u,y[t==="horizontal"?0:1]),r==="start"&&(A=l.getNextNDay(i.start.time,-(7+i.fweek)).time,u=-u);for(var w=0;w<7;w++){var b=l.getNextNDay(A,w),x=l.dataToRect([b.time],!1).center,O=w;O=Math.abs((w+h)%7);var T=new S.Text({z2:30});p.extend(S.setTextStyle(T.style,e,{text:s[O]}),this._weekTextPositionControl(x,t,r,u,y)),a.add(T)}}});M.exports=c},"7oTu":function(M,N,n){var v=n("IMiH"),p=n("QBsz"),S=p.applyTransform,m=v.CMD,g=[[],[],[]],f=Math.sqrt,d=Math.atan2;function c(o,i){var t=o.data,a,e,l,r,s,u,h=m.M,A=m.C,y=m.L,w=m.R,b=m.A,x=m.Q;for(l=0,r=0;l<t.length;){a=t[l++],r=l,e=0;switch(a){case h:e=1;break;case y:e=1;break;case A:e=3;break;case x:e=2;break;case b:var O=i[4],T=i[5],E=f(i[0]*i[0]+i[1]*i[1]),C=f(i[2]*i[2]+i[3]*i[3]),_=d(-i[1]/C,i[0]/E);t[l]*=E,t[l++]+=O,t[l]*=C,t[l++]+=T,t[l++]*=E,t[l++]*=C,t[l++]+=_,t[l++]+=_,l+=2,r=l;break;case w:u[0]=t[l++],u[1]=t[l++],S(u,u,i),t[r++]=u[0],t[r++]=u[1],u[0]+=t[l++],u[1]+=t[l++],S(u,u,i),t[r++]=u[0],t[r++]=u[1]}for(s=0;s<e;s++){var u=g[s];u[0]=t[l++],u[1]=t[l++],S(u,u,i),t[r++]=u[0],t[r++]=u[1]}}}M.exports=c},"7pVf":function(M,N,n){var v=n("ProS"),p=n("ZqQs");n("oE7X"),n("OUJF"),n("3X6L"),n("NH9N"),v.registerPreprocessor(p)},"7ph2":function(M,N){function n(S){return S instanceof Array||(S=[S,S]),S}var v="lineStyle.opacity".split("."),p={seriesType:"lines",reset:function(S,m,g){var f=n(S.get("symbol")),d=n(S.get("symbolSize")),c=S.getData();c.setVisual("fromSymbol",f&&f[0]),c.setVisual("toSymbol",f&&f[1]),c.setVisual("fromSymbolSize",d&&d[0]),c.setVisual("toSymbolSize",d&&d[1]),c.setVisual("opacity",S.get(v));function o(i,t){var a=i.getItemModel(t),e=n(a.getShallow("symbol",!0)),l=n(a.getShallow("symbolSize",!0)),r=a.get(v);e[0]&&i.setItemVisual(t,"fromSymbol",e[0]),e[1]&&i.setItemVisual(t,"toSymbol",e[1]),l[0]&&i.setItemVisual(t,"fromSymbolSize",l[0]),l[1]&&i.setItemVisual(t,"toSymbolSize",l[1]),i.setItemVisual(t,"opacity",r)}return{dataEach:c.hasItemOption?o:null}}};M.exports=p},"7uqq":function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("bYtY"),g=n("AUH6"),f=n("+TT/"),d=n("OELB"),c=n("W4dC"),o=n("7DRL");function i(l,r){var s=l.get("boundingCoords");if(s!=null){var u=s[0],h=s[1];isNaN(u[0])||isNaN(u[1])||isNaN(h[0])||isNaN(h[1])||this.setBoundingRect(u[0],u[1],h[0]-u[0],h[1]-u[1])}var A=this.getBoundingRect(),y,w=l.get("layoutCenter"),b=l.get("layoutSize"),x=r.getWidth(),O=r.getHeight(),T=A.width/A.height*this.aspectScale,E=!1;w&&b&&(w=[d.parsePercent(w[0],x),d.parsePercent(w[1],O)],b=d.parsePercent(b,Math.min(x,O)),!isNaN(w[0])&&!isNaN(w[1])&&!isNaN(b)&&(E=!0));var C;if(E){var C={};T>1?(C.width=b,C.height=b/T):(C.height=b,C.width=b*T),C.y=w[1]-C.height/2,C.x=w[0]-C.width/2}else y=l.getBoxLayoutParams(),y.aspect=T,C=f.getLayoutRect(y,{width:x,height:O});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function t(l,r){m.each(r.get("geoCoord"),function(s,u){l.addGeoCoord(u,s)})}var a={dimensions:g.prototype.dimensions,create:function(l,r){var s=[];l.eachComponent("geo",function(h,A){var y=h.get("map"),w=h.get("aspectScale"),b=!0,x=o.retrieveMap(y);x&&x[0]&&x[0].type==="svg"?(w==null&&(w=1),b=!1):w==null&&(w=.75);var O=new g(y+A,y,h.get("nameMap"),b);O.aspectScale=w,O.zoomLimit=h.get("scaleLimit"),s.push(O),t(O,h),h.coordinateSystem=O,O.model=h,O.resize=i,O.resize(h,r)}),l.eachSeries(function(h){var A=h.get("coordinateSystem");if(A==="geo"){var y=h.get("geoIndex")||0;h.coordinateSystem=s[y]}});var u={};return l.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var A=h.getMapType();u[A]=u[A]||[],u[A].push(h)}}),m.each(u,function(h,A){var y=m.map(h,function(b){return b.get("nameMap")}),w=new g(A,A,m.mergeAll(y));w.zoomLimit=m.retrieve.apply(null,m.map(h,function(b){return b.get("scaleLimit")})),s.push(w),w.resize=i,w.aspectScale=h[0].get("aspectScale"),w.resize(h[0],r),m.each(h,function(b){b.coordinateSystem=w,t(w,b)})}),s},getFilledRegions:function(l,r,s){for(var u=(l||[]).slice(),h=m.createHashMap(),A=0;A<u.length;A++)h.set(u[A].name,u[A]);var y=c.load(r,s);return m.each(y.regions,function(w){var b=w.name;!h.get(b)&&u.push({name:b})}),u}};S.registerCoordinateSystem("geo",a);var e=a;M.exports=e},"7yuC":function(M,N,n){var v=n("QBsz"),p=v.scaleAndAdd;function S(m,g,f){for(var d=f.rect,c=d.width,o=d.height,i=[d.x+c/2,d.y+o/2],t=f.gravity==null?.1:f.gravity,a=0;a<m.length;a++){var e=m[a];e.p||(e.p=v.create(c*(Math.random()-.5)+i[0],o*(Math.random()-.5)+i[1])),e.pp=v.clone(e.p),e.edges=null}var l=f.friction==null?.6:f.friction,r=l;return{warmUp:function(){r=l*.8},setFixed:function(s){m[s].fixed=!0},setUnfixed:function(s){m[s].fixed=!1},step:function(s){for(var u=[],h=m.length,A=0;A<g.length;A++){var y=g[A];if(y.ignoreForceLayout)continue;var w=y.n1,b=y.n2;v.sub(u,b.p,w.p);var x=v.len(u)-y.d,O=b.w/(w.w+b.w);isNaN(O)&&(O=0),v.normalize(u,u),!w.fixed&&p(w.p,w.p,u,O*x*r),!b.fixed&&p(b.p,b.p,u,-(1-O)*x*r)}for(var A=0;A<h;A++){var T=m[A];T.fixed||(v.sub(u,i,T.p),p(T.p,T.p,u,t*r))}for(var A=0;A<h;A++)for(var w=m[A],E=A+1;E<h;E++){var b=m[E];v.sub(u,b.p,w.p);var x=v.len(u);x===0&&(v.set(u,Math.random()-.5,Math.random()-.5),x=1);var C=(w.rep+b.rep)/x/x;!w.fixed&&p(w.pp,w.pp,u,C),!b.fixed&&p(b.pp,b.pp,u,-C)}for(var _=[],A=0;A<h;A++){var T=m[A];T.fixed||(v.sub(_,T.p,T.pp),p(T.p,T.p,_,r),v.copy(T.pp,T.p))}r=r*.992,s&&s(m,g,r<.01)}}}N.forceLayout=S},"8+yF":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v={256:960,257:992,258:451,259:483,260:417,261:433,262:454,263:486,264:710,265:742,266:709,267:741,268:456,269:488,270:463,271:495,272:464,273:496,274:938,275:954,278:972,279:1004,280:458,281:490,282:460,283:492,284:728,285:760,286:683,287:699,288:725,289:757,290:939,291:955,292:678,293:694,294:673,295:689,296:933,297:949,298:975,299:1007,302:967,303:999,304:681,305:697,308:684,309:700,310:979,311:1011,312:930,313:453,314:485,315:934,316:950,317:421,318:437,321:419,322:435,323:465,324:497,325:977,326:1009,327:466,328:498,330:957,331:959,332:978,333:1010,336:469,337:501,338:5052,339:5053,340:448,341:480,342:931,343:947,344:472,345:504,346:422,347:438,348:734,349:766,350:426,351:442,352:425,353:441,354:478,355:510,356:427,357:443,358:940,359:956,360:989,361:1021,362:990,363:1022,364:733,365:765,366:473,367:505,368:475,369:507,370:985,371:1017,376:5054,377:428,378:444,379:431,380:447,381:430,382:446,402:2294,466:16777681,711:439,728:418,729:511,731:434,733:445,901:1966,902:1953,904:1954,905:1955,906:1956,908:1959,910:1960,911:1963,912:1974,913:1985,914:1986,915:1987,916:1988,917:1989,918:1990,919:1991,920:1992,921:1993,922:1994,923:1995,924:1996,925:1997,926:1998,927:1999,928:2e3,929:2001,931:2002,932:2004,933:2005,934:2006,935:2007,936:2008,937:2009,938:1957,939:1961,940:1969,941:1970,942:1971,943:1972,944:1978,945:2017,946:2018,947:2019,948:2020,949:2021,950:2022,951:2023,952:2024,953:2025,954:2026,955:2027,956:2028,957:2029,958:2030,959:2031,960:2032,961:2033,962:2035,963:2034,964:2036,965:2037,966:2038,967:2039,968:2040,969:2041,970:1973,971:1977,972:1975,973:1976,974:1979,1025:1715,1026:1713,1027:1714,1028:1716,1029:1717,1030:1718,1031:1719,1032:1720,1033:1721,1034:1722,1035:1723,1036:1724,1038:1726,1039:1727,1040:1761,1041:1762,1042:1783,1043:1767,1044:1764,1045:1765,1046:1782,1047:1786,1048:1769,1049:1770,1050:1771,1051:1772,1052:1773,1053:1774,1054:1775,1055:1776,1056:1778,1057:1779,1058:1780,1059:1781,1060:1766,1061:1768,1062:1763,1063:1790,1064:1787,1065:1789,1066:1791,1067:1785,1068:1784,1069:1788,1070:1760,1071:1777,1072:1729,1073:1730,1074:1751,1075:1735,1076:1732,1077:1733,1078:1750,1079:1754,1080:1737,1081:1738,1082:1739,1083:1740,1084:1741,1085:1742,1086:1743,1087:1744,1088:1746,1089:1747,1090:1748,1091:1749,1092:1734,1093:1736,1094:1731,1095:1758,1096:1755,1097:1757,1098:1759,1099:1753,1100:1752,1101:1756,1102:1728,1103:1745,1105:1699,1106:1697,1107:1698,1108:1700,1109:1701,1110:1702,1111:1703,1112:1704,1113:1705,1114:1706,1115:1707,1116:1708,1118:1710,1119:1711,1168:1725,1169:1709,1488:3296,1489:3297,1490:3298,1491:3299,1492:3300,1493:3301,1494:3302,1495:3303,1496:3304,1497:3305,1498:3306,1499:3307,1500:3308,1501:3309,1502:3310,1503:3311,1504:3312,1505:3313,1506:3314,1507:3315,1508:3316,1509:3317,1510:3318,1511:3319,1512:3320,1513:3321,1514:3322,1548:1452,1563:1467,1567:1471,1569:1473,1570:1474,1571:1475,1572:1476,1573:1477,1574:1478,1575:1479,1576:1480,1577:1481,1578:1482,1579:1483,1580:1484,1581:1485,1582:1486,1583:1487,1584:1488,1585:1489,1586:1490,1587:1491,1588:1492,1589:1493,1590:1494,1591:1495,1592:1496,1593:1497,1594:1498,1600:1504,1601:1505,1602:1506,1603:1507,1604:1508,1605:1509,1606:1510,1607:1511,1608:1512,1609:1513,1610:1514,1611:1515,1612:1516,1613:1517,1614:1518,1615:1519,1616:1520,1617:1521,1618:1522,3585:3489,3586:3490,3587:3491,3588:3492,3589:3493,3590:3494,3591:3495,3592:3496,3593:3497,3594:3498,3595:3499,3596:3500,3597:3501,3598:3502,3599:3503,3600:3504,3601:3505,3602:3506,3603:3507,3604:3508,3605:3509,3606:3510,3607:3511,3608:3512,3609:3513,3610:3514,3611:3515,3612:3516,3613:3517,3614:3518,3615:3519,3616:3520,3617:3521,3618:3522,3619:3523,3620:3524,3621:3525,3622:3526,3623:3527,3624:3528,3625:3529,3626:3530,3627:3531,3628:3532,3629:3533,3630:3534,3631:3535,3632:3536,3633:3537,3634:3538,3635:3539,3636:3540,3637:3541,3638:3542,3639:3543,3640:3544,3641:3545,3642:3546,3647:3551,3648:3552,3649:3553,3650:3554,3651:3555,3652:3556,3653:3557,3654:3558,3655:3559,3656:3560,3657:3561,3658:3562,3659:3563,3660:3564,3661:3565,3664:3568,3665:3569,3666:3570,3667:3571,3668:3572,3669:3573,3670:3574,3671:3575,3672:3576,3673:3577,8194:2722,8195:2721,8196:2723,8197:2724,8199:2725,8200:2726,8201:2727,8202:2728,8210:2747,8211:2730,8212:2729,8213:1967,8215:3295,8216:2768,8217:2769,8218:2813,8220:2770,8221:2771,8222:2814,8224:2801,8225:2802,8226:2790,8229:2735,8230:2734,8240:2773,8242:2774,8243:2775,8248:2812,8254:1150,8361:3839,8364:8364,8453:2744,8470:1712,8471:2811,8478:2772,8482:2761,8531:2736,8532:2737,8533:2738,8534:2739,8535:2740,8536:2741,8537:2742,8538:2743,8539:2755,8540:2756,8541:2757,8542:2758,8592:2299,8593:2300,8594:2301,8595:2302,8658:2254,8660:2253,8706:2287,8711:2245,8728:3018,8730:2262,8733:2241,8734:2242,8743:2270,8744:2271,8745:2268,8746:2269,8747:2239,8756:2240,8764:2248,8771:2249,8773:16785992,8800:2237,8801:2255,8804:2236,8805:2238,8834:2266,8835:2267,8866:3068,8867:3036,8868:3010,8869:3022,8968:3027,8970:3012,8981:2810,8992:2212,8993:2213,9109:3020,9115:2219,9117:2220,9118:2221,9120:2222,9121:2215,9123:2216,9124:2217,9126:2218,9128:2223,9132:2224,9143:2209,9146:2543,9147:2544,9148:2546,9149:2547,9225:2530,9226:2533,9227:2537,9228:2531,9229:2532,9251:2732,9252:2536,9472:2211,9474:2214,9484:2210,9488:2539,9492:2541,9496:2538,9500:2548,9508:2549,9516:2551,9524:2550,9532:2542,9618:2529,9642:2791,9643:2785,9644:2779,9645:2786,9646:2783,9647:2767,9650:2792,9651:2787,9654:2781,9655:2765,9660:2793,9661:2788,9664:2780,9665:2764,9670:2528,9675:2766,9679:2782,9702:2784,9734:2789,9742:2809,9747:2762,9756:2794,9758:2795,9792:2808,9794:2807,9827:2796,9829:2798,9830:2797,9837:2806,9839:2805,10003:2803,10007:2804,10013:2777,10016:2800,10216:2748,10217:2750,12289:1188,12290:1185,12300:1186,12301:1187,12443:1246,12444:1247,12449:1191,12450:1201,12451:1192,12452:1202,12453:1193,12454:1203,12455:1194,12456:1204,12457:1195,12458:1205,12459:1206,12461:1207,12463:1208,12465:1209,12467:1210,12469:1211,12471:1212,12473:1213,12475:1214,12477:1215,12479:1216,12481:1217,12483:1199,12484:1218,12486:1219,12488:1220,12490:1221,12491:1222,12492:1223,12493:1224,12494:1225,12495:1226,12498:1227,12501:1228,12504:1229,12507:1230,12510:1231,12511:1232,12512:1233,12513:1234,12514:1235,12515:1196,12516:1236,12517:1197,12518:1237,12519:1198,12520:1238,12521:1239,12522:1240,12523:1241,12524:1242,12525:1243,12527:1244,12530:1190,12531:1245,12539:1189,12540:1200},p={lookup:function(m){if(m>=32&&m<=255)return m;var g=v[m];return g!==void 0?g:16777216|m}};N.default=p},"8CQX":function(M,N,n){"use strict";function v(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(s){return typeof s}:v=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},v(l)}Object.defineProperty(N,"__esModule",{value:!0}),N.getKeycode=t,N.getKey=a,N.getKeysym=e;var p=i(n("mHUz")),S=i(n("8+yF")),m=i(n("6Qwc")),g=i(n("gIYZ")),f=i(n("mTgk")),d=o(n("GdRQ"));function c(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return c=function(){return l},l}function o(l){if(l&&l.__esModule)return l;if(l===null||v(l)!=="object"&&typeof l!="function")return{default:l};var r=c();if(r&&r.has(l))return r.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var A=u?Object.getOwnPropertyDescriptor(l,h):null;A&&(A.get||A.set)?Object.defineProperty(s,h,A):s[h]=l[h]}return s.default=l,r&&r.set(l,s),s}function i(l){return l&&l.__esModule?l:{default:l}}function t(l){if(l.code){switch(l.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return l.code}if(l.type!=="keypress"&&l.keyCode in m.default){var r=m.default[l.keyCode];if(d.isMac()&&r==="ContextMenu"&&(r="MetaRight"),l.location===2)switch(r){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.location===3)switch(r){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return r}return"Unidentified"}function a(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!d.isIE()&&!d.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var r=t(l);return r in g.default?g.default[r]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function e(l){var r=a(l);if(r==="Unidentified")return null;if(r in f.default){var s=l.location;if(r==="Meta"&&s===0&&(s=2),r==="Clear"&&s===3){var u=t(l);u==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),r==="Meta"){var h=t(l);if(h==="AltLeft")return p.default.XK_Meta_L;if(h==="AltRight")return p.default.XK_Meta_R}if(r==="Clear"){var A=t(l);if(A==="NumLock")return p.default.XK_Num_Lock}return f.default[r][s]}if(r.length!==1)return null;var y=r.charCodeAt();return y?S.default.lookup(y):null}},"8EBN":function(M,N,n){(function(v){v(n("VrN/"))})(function(v){"use strict";v.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 p=0;p<v.modeInfo.length;p++){var S=v.modeInfo[p];S.mimes&&(S.mime=S.mimes[0])}v.findModeByMIME=function(m){m=m.toLowerCase();for(var g=0;g<v.modeInfo.length;g++){var f=v.modeInfo[g];if(f.mime==m)return f;if(f.mimes){for(var d=0;d<f.mimes.length;d++)if(f.mimes[d]==m)return f}}if(/\+xml$/.test(m))return v.findModeByMIME("application/xml");if(/\+json$/.test(m))return v.findModeByMIME("application/json")},v.findModeByExtension=function(m){m=m.toLowerCase();for(var g=0;g<v.modeInfo.length;g++){var f=v.modeInfo[g];if(f.ext){for(var d=0;d<f.ext.length;d++)if(f.ext[d]==m)return f}}},v.findModeByFileName=function(m){for(var g=0;g<v.modeInfo.length;g++){var f=v.modeInfo[g];if(f.file&&f.file.test(m))return f}var d=m.lastIndexOf("."),c=d>-1&&m.substring(d+1,m.length);if(c)return v.findModeByExtension(c)},v.findModeByName=function(m){m=m.toLowerCase();for(var g=0;g<v.modeInfo.length;g++){var f=v.modeInfo[g];if(f.name.toLowerCase()==m)return f;if(f.alias){for(var d=0;d<f.alias.length;d++)if(f.alias[d].toLowerCase()==m)return f}}}})},"8IMR":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};N.default=v},"8ISB":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("6Hfg"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},"8K/p":function(M,N,n){"use strict";function v(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(e){return typeof e}:v=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(t)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=f(n("Lo0S")),S=m(n("ItS6"));function m(t){return t&&t.__esModule?t:{default:t}}function g(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return g=function(){return t},t}function f(t){if(t&&t.__esModule)return t;if(t===null||v(t)!=="object"&&typeof t!="function")return{default:t};var a=g();if(a&&a.has(t))return a.get(t);var e={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var s=l?Object.getOwnPropertyDescriptor(t,r):null;s&&(s.get||s.set)?Object.defineProperty(e,r,s):e[r]=t[r]}return e.default=t,a&&a.set(t,e),e}function d(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}function c(t,a){for(var e=0;e<a.length;e++){var l=a[e];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}function o(t,a,e){return a&&c(t.prototype,a),e&&c(t,e),t}var i=function(){function t(){d(this,t),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var a=0;a<4;a++)this._zlibs[a]=new S.default}return o(t,[{key:"decodeRect",value:function(e,l,r,s,u,h,A){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var y=0;y<4;y++)this._ctl>>y&1&&(this._zlibs[y].reset(),p.Info("Reset zlib stream "+y));this._ctl=this._ctl>>4}var w;if(this._ctl===8)w=this._fillRect(e,l,r,s,u,h,A);else if(this._ctl===9)w=this._jpegRect(e,l,r,s,u,h,A);else if(this._ctl===10)w=this._pngRect(e,l,r,s,u,h,A);else if((this._ctl&128)==0)w=this._basicRect(this._ctl,e,l,r,s,u,h,A);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return w&&(this._ctl=null),w}},{key:"_fillRect",value:function(e,l,r,s,u,h,A){if(u.rQwait("TIGHT",3))return!1;var y=u.rQi,w=u.rQ;return h.fillRect(e,l,r,s,[w[y+2],w[y+1],w[y]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(e,l,r,s,u,h,A){var y=this._readData(u);return y===null?!1:(h.imageRect(e,l,r,s,"image/jpeg",y),!0)}},{key:"_pngRect",value:function(e,l,r,s,u,h,A){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(e,l,r,s,u,h,A,y){if(this._filter===null)if(e&4){if(h.rQwait("TIGHT",1))return!1;this._filter=h.rQshift8()}else this._filter=0;var w=e&3,b;switch(this._filter){case 0:b=this._copyFilter(w,l,r,s,u,h,A,y);break;case 1:b=this._paletteFilter(w,l,r,s,u,h,A,y);break;case 2:b=this._gradientFilter(w,l,r,s,u,h,A,y);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return b&&(this._filter=null),b}},{key:"_copyFilter",value:function(e,l,r,s,u,h,A,y){var w=s*u*3,b;if(w<12){if(h.rQwait("TIGHT",w))return!1;b=h.rQshiftBytes(w)}else{if(b=this._readData(h),b===null)return!1;this._zlibs[e].setInput(b),b=this._zlibs[e].inflate(w),this._zlibs[e].setInput(null)}return A.blitRgbImage(l,r,s,u,b,0,!1),!0}},{key:"_paletteFilter",value:function(e,l,r,s,u,h,A,y){if(this._numColors===0){if(h.rQwait("TIGHT palette",1))return!1;var w=h.rQpeek8()+1,b=w*3;if(h.rQwait("TIGHT palette",1+b))return!1;this._numColors=w,h.rQskipBytes(1),h.rQshiftTo(this._palette,b)}var x=this._numColors<=2?1:8,O=Math.floor((s*x+7)/8),T=O*u,E;if(T<12){if(h.rQwait("TIGHT",T))return!1;E=h.rQshiftBytes(T)}else{if(E=this._readData(h),E===null)return!1;this._zlibs[e].setInput(E),E=this._zlibs[e].inflate(T),this._zlibs[e].setInput(null)}return this._numColors==2?this._monoRect(l,r,s,u,E,this._palette,A):this._paletteRect(l,r,s,u,E,this._palette,A),this._numColors=0,!0}},{key:"_monoRect",value:function(e,l,r,s,u,h,A){for(var y=this._getScratchBuffer(r*s*4),w=Math.floor((r+7)/8),b=Math.floor(r/8),x=0;x<s;x++){var O=void 0,T=void 0,E=void 0;for(E=0;E<b;E++)for(var C=7;C>=0;C--)O=(x*r+E*8+7-C)*4,T=(u[x*w+E]>>C&1)*3,y[O]=h[T],y[O+1]=h[T+1],y[O+2]=h[T+2],y[O+3]=255;for(var _=7;_>=8-r%8;_--)O=(x*r+E*8+7-_)*4,T=(u[x*w+E]>>_&1)*3,y[O]=h[T],y[O+1]=h[T+1],y[O+2]=h[T+2],y[O+3]=255}A.blitRgbxImage(e,l,r,s,y,0,!1)}},{key:"_paletteRect",value:function(e,l,r,s,u,h,A){for(var y=this._getScratchBuffer(r*s*4),w=r*s*4,b=0,x=0;b<w;b+=4,x++){var O=u[x]*3;y[b]=h[O],y[b+1]=h[O+1],y[b+2]=h[O+2],y[b+3]=255}A.blitRgbxImage(e,l,r,s,y,0,!1)}},{key:"_gradientFilter",value:function(e,l,r,s,u,h,A,y){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(e){if(this._len===0){if(e.rQwait("TIGHT",3))return null;var l;l=e.rQshift8(),this._len=l&127,l&128&&(l=e.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=e.rQshift8(),this._len|=l<<14))}if(e.rQwait("TIGHT",this._len))return null;var r=e.rQshiftBytes(this._len);return this._len=0,r}},{key:"_getScratchBuffer",value:function(e){return(!this._scratchBuffer||this._scratchBuffer.length<e)&&(this._scratchBuffer=new Uint8Array(e)),this._scratchBuffer}}]),t}();N.default=i},"8SMY":function(M,N,n){var v=n("n4Lv"),p=v.prepareDataCoordInfo,S=v.getStackedOnPoint;function m(f,d){var c=[];return d.diff(f).add(function(o){c.push({cmd:"+",idx:o})}).update(function(o,i){c.push({cmd:"=",idx:i,idx1:o})}).remove(function(o){c.push({cmd:"-",idx:o})}).execute(),c}function g(f,d,c,o,i,t,a,e){for(var l=m(f,d),r=[],s=[],u=[],h=[],A=[],y=[],w=[],b=p(i,d,a),x=p(t,f,e),O=0;O<l.length;O++){var T=l[O],E=!0;switch(T.cmd){case"=":var C=f.getItemLayout(T.idx),_=d.getItemLayout(T.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=_.slice()),r.push(C),s.push(_),u.push(c[T.idx]),h.push(o[T.idx1]),w.push(d.getRawIndex(T.idx1));break;case"+":var L=T.idx;r.push(i.dataToPoint([d.get(b.dataDimsForPoint[0],L),d.get(b.dataDimsForPoint[1],L)])),s.push(d.getItemLayout(L).slice()),u.push(S(b,i,d,L)),h.push(o[L]),w.push(d.getRawIndex(L));break;case"-":var L=T.idx,P=f.getRawIndex(L);P!==L?(r.push(f.getItemLayout(L)),s.push(t.dataToPoint([f.get(x.dataDimsForPoint[0],L),f.get(x.dataDimsForPoint[1],L)])),u.push(c[L]),h.push(S(x,t,f,L)),w.push(P)):E=!1}E&&(A.push(T),y.push(y.length))}y.sort(function(U,B){return w[U]-w[B]});for(var k=[],F=[],j=[],z=[],R=[],O=0;O<y.length;O++){var L=y[O];k[O]=r[L],F[O]=s[L],j[O]=u[L],z[O]=h[L],R[O]=A[L]}return{current:k,next:F,stackedOnCurrent:j,stackedOnNext:z,status:R}}M.exports=g},"8Skl":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="DownOutlined";var d=N.a=p.forwardRef(f)},"8Th4":function(M,N,n){var v=n("3LNs"),p=n("/y7N"),S=n("7bkD"),m=n("Znkb"),g=["x","y"],f=["width","height"],d=v.extend({makeElOption:function(a,e,l,r,s){var u=l.axis,h=u.coordinateSystem,A=i(h,1-o(u)),y=h.dataToPoint(e)[0],w=r.get("type");if(w&&w!=="none"){var b=p.buildElStyle(r),x=c[w](u,y,A);x.style=b,a.graphicKey=x.type,a.pointer=x}var O=S.layout(l);p.buildCartesianSingleLabelElOption(e,a,O,l,r,s)},getHandleTransform:function(a,e,l){var r=S.layout(e,{labelInside:!1});return r.labelMargin=l.get("handle.margin"),{position:p.getTransformedPosition(e.axis,a,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(a,e,l,r){var s=l.axis,u=s.coordinateSystem,h=o(s),A=i(u,h),y=a.position;y[h]+=e[h],y[h]=Math.min(A[1],y[h]),y[h]=Math.max(A[0],y[h]);var w=i(u,1-h),b=(w[1]+w[0])/2,x=[b,b];return x[h]=y[h],{position:y,rotation:a.rotation,cursorPoint:x,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(a,e,l){var r=p.makeLineShape([e,l[0]],[e,l[1]],o(a));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(a,e,l){var r=a.getBandWidth(),s=l[1]-l[0];return{type:"Rect",shape:p.makeRectShape([e-r/2,l[0]],[r,s],o(a))}}};function o(a){return a.isHorizontal()?0:1}function i(a,e){var l=a.getRect();return[l[g[e]],l[g[e]]+l[f[e]]]}m.registerAxisPointerClass("SingleAxisPointer",d);var t=d;M.exports=t},"8Uz6":function(M,N,n){var v=n("hNWo"),p=n("+TT/"),S=p.mergeLayoutParam,m=p.getLayoutParams,g=v.extend({type:"legend.scroll",setScrollDataIndex:function(c){this.option.scrollDataIndex=c},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(c,o,i,t){var a=m(c);g.superCall(this,"init",c,o,i,t),f(this,c,a)},mergeOption:function(c,o){g.superCall(this,"mergeOption",c,o),f(this,this.option,c)}});function f(c,o,i){var t=c.getOrient(),a=[1,1];a[t.index]=0,S(o,i,{type:"box",ignoreSize:a})}var d=g;M.exports=d},"8X+K":function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("4mN7"),g=m.fromPoints,f=n("9wZj"),d=n("FBjb"),c=n("8SMY"),o=n("IwbS"),i=n("4NO4"),t=n("1NG9"),a=t.Polyline,e=t.Polygon,l=n("6Ic6"),r=n("n4Lv"),s=r.prepareDataCoordInfo,u=r.getStackedOnPoint,h=n("sK/D"),A=h.createGridClipPath,y=h.createPolarClipPath;function w(k,F){if(k.length!==F.length)return;for(var j=0;j<k.length;j++){var z=k[j],R=F[j];if(z[0]!==R[0]||z[1]!==R[1])return}return!0}function b(k,F){var j=[],z=[],R=[],U=[];return g(k,j,z),g(F,R,U),Math.max(Math.abs(j[0]-R[0]),Math.abs(j[1]-R[1]),Math.abs(z[0]-U[0]),Math.abs(z[1]-U[1]))}function x(k){return typeof k=="number"?k:k?.5:0}function O(k,F,j){if(!j.valueDim)return[];for(var z=[],R=0,U=F.count();R<U;R++)z.push(u(j,k,F,R));return z}function T(k,F,j){for(var z=F.getBaseAxis(),R=z.dim==="x"||z.dim==="radius"?0:1,U=[],B=0;B<k.length-1;B++){var H=k[B+1],K=k[B];U.push(K);var V=[];switch(j){case"end":V[R]=H[R],V[1-R]=K[1-R],U.push(V);break;case"middle":var W=(K[R]+H[R])/2,G=[];V[R]=G[R]=W,V[1-R]=K[1-R],G[1-R]=H[1-R],U.push(V),U.push(G);break;default:V[R]=K[R],V[1-R]=H[1-R],U.push(V)}}return k[B]&&U.push(k[B]),U}function E(k,F){var j=k.getVisual("visualMeta");if(!j||!j.length||!k.count())return;if(F.type!=="cartesian2d")return;for(var z,R,U=j.length-1;U>=0;U--){var B=j[U].dimension,H=k.dimensions[B],K=k.getDimensionInfo(H);if(z=K&&K.coordDim,z==="x"||z==="y"){R=j[U];break}}if(!R)return;var V=F.getAxis(z),W=S.map(R.stops,function(Ke){return{coord:V.toGlobalCoord(V.dataToCoord(Ke.value)),color:Ke.color}}),G=W.length,re=R.outerColors.slice();G&&W[0].coord>W[G-1].coord&&(W.reverse(),re.reverse());var ye=10,$=W[0].coord-ye,ve=W[G-1].coord+ye,Ce=ve-$;if(Ce<.001)return"transparent";S.each(W,function(Ke){Ke.offset=(Ke.coord-$)/Ce}),W.push({offset:G?W[G-1].offset:.5,color:re[1]||"transparent"}),W.unshift({offset:G?W[0].offset:.5,color:re[0]||"transparent"});var Se=new o.LinearGradient(0,0,0,0,W,!0);return Se[z]=$,Se[z+"2"]=ve,Se}function C(k,F,j){var z=k.get("showAllSymbol"),R=z==="auto";if(z&&!R)return;var U=j.getAxesByScale("ordinal")[0];if(!U)return;if(R&&_(U,F))return;var B=F.mapDimension(U.dim),H={};return S.each(U.getViewLabels(),function(K){H[K.tickValue]=1}),function(K){return!H.hasOwnProperty(F.get(B,K))}}function _(k,F){var j=k.getExtent(),z=Math.abs(j[1]-j[0])/k.scale.count();isNaN(z)&&(z=0);for(var R=F.count(),U=Math.max(1,Math.round(R/5)),B=0;B<R;B+=U)if(d.getSymbolSize(F,B)[k.isHorizontal()?1:0]*1.5>z)return!1;return!0}function L(k,F,j){if(k.type==="cartesian2d"){var z=k.getBaseAxis().isHorizontal(),R=A(k,F,j);if(!j.get("clip",!0)){var U=R.shape,B=Math.max(U.width,U.height);z?(U.y-=B,U.height+=B*2):(U.x-=B,U.width+=B*2)}return R}else return y(k,F,j)}var P=l.extend({type:"line",init:function(){var k=new o.Group,F=new f;this.group.add(F.group),this._symbolDraw=F,this._lineGroup=k},render:function(k,F,j){var z=k.coordinateSystem,R=this.group,U=k.getData(),B=k.getModel("lineStyle"),H=k.getModel("areaStyle"),K=U.mapArray(U.getItemLayout),V=z.type==="polar",W=this._coordSys,G=this._symbolDraw,re=this._polyline,ye=this._polygon,$=this._lineGroup,ve=k.get("animation"),Ce=!H.isEmpty(),Se=H.get("origin"),Ke=s(z,U,Se),ue=O(z,U,Ke),Le=k.get("showSymbol"),ee=Le&&!V&&C(k,U,z),le=this._data;le&&le.eachItemGraphicEl(function(Te,Be){Te.__temp&&(R.remove(Te),le.setItemGraphicEl(Be,null))}),Le||G.remove(),R.add($);var et=!V&&k.get("step"),Re;z&&z.getArea&&k.get("clip",!0)&&(Re=z.getArea(),Re.width!=null?(Re.x-=.1,Re.y-=.1,Re.width+=.2,Re.height+=.2):Re.r0&&(Re.r0-=.5,Re.r1+=.5)),this._clipShapeForSymbol=Re,re&&W.type===z.type&&et===this._step?(Ce&&!ye?ye=this._newPolygon(K,ue,z,ve):ye&&!Ce&&($.remove(ye),ye=this._polygon=null),$.setClipPath(L(z,!1,k)),Le&&G.updateData(U,{isIgnore:ee,clipShape:Re}),U.eachItemGraphicEl(function(Te){Te.stopAnimation(!0)}),(!w(this._stackedOnPoints,ue)||!w(this._points,K))&&(ve?this._updateAnimation(U,ue,z,j,et,Se):(et&&(K=T(K,z,et),ue=T(ue,z,et)),re.setShape({points:K}),ye&&ye.setShape({points:K,stackedOnPoints:ue})))):(Le&&G.updateData(U,{isIgnore:ee,clipShape:Re}),et&&(K=T(K,z,et),ue=T(ue,z,et)),re=this._newPolyline(K,z,ve),Ce&&(ye=this._newPolygon(K,ue,z,ve)),$.setClipPath(L(z,!0,k)));var Ae=E(U,z)||U.getVisual("color");re.useStyle(S.defaults(B.getLineStyle(),{fill:"none",stroke:Ae,lineJoin:"bevel"}));var oe=k.get("smooth");if(oe=x(k.get("smooth")),re.setShape({smooth:oe,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")}),ye){var ce=U.getCalculationInfo("stackedOnSeries"),be=0;ye.useStyle(S.defaults(H.getAreaStyle(),{fill:Ae,opacity:.7,lineJoin:"bevel"})),ce&&(be=x(ce.get("smooth"))),ye.setShape({smooth:oe,stackedOnSmooth:be,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")})}this._data=U,this._coordSys=z,this._stackedOnPoints=ue,this._points=K,this._step=et,this._valueOrigin=Se},dispose:function(){},highlight:function(k,F,j,z){var R=k.getData(),U=i.queryDataIndex(R,z);if(!(U instanceof Array)&&U!=null&&U>=0){var B=R.getItemGraphicEl(U);if(!B){var H=R.getItemLayout(U);if(!H)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(H[0],H[1]))return;B=new d(R,U),B.position=H,B.setZ(k.get("zlevel"),k.get("z")),B.ignore=isNaN(H[0])||isNaN(H[1]),B.__temp=!0,R.setItemGraphicEl(U,B),B.stopSymbolAnimation(!0),this.group.add(B)}B.highlight()}else l.prototype.highlight.call(this,k,F,j,z)},downplay:function(k,F,j,z){var R=k.getData(),U=i.queryDataIndex(R,z);if(U!=null&&U>=0){var B=R.getItemGraphicEl(U);B&&(B.__temp?(R.setItemGraphicEl(U,null),this.group.remove(B)):B.downplay())}else l.prototype.downplay.call(this,k,F,j,z)},_newPolyline:function(k){var F=this._polyline;return F&&this._lineGroup.remove(F),F=new a({shape:{points:k},silent:!0,z2:10}),this._lineGroup.add(F),this._polyline=F,F},_newPolygon:function(k,F){var j=this._polygon;return j&&this._lineGroup.remove(j),j=new e({shape:{points:k,stackedOnPoints:F},silent:!0}),this._lineGroup.add(j),this._polygon=j,j},_updateAnimation:function(k,F,j,z,R,U){var B=this._polyline,H=this._polygon,K=k.hostModel,V=c(this._data,k,this._stackedOnPoints,F,this._coordSys,j,this._valueOrigin,U),W=V.current,G=V.stackedOnCurrent,re=V.next,ye=V.stackedOnNext;if(R&&(W=T(V.current,j,R),G=T(V.stackedOnCurrent,j,R),re=T(V.next,j,R),ye=T(V.stackedOnNext,j,R)),b(W,re)>3e3||H&&b(G,ye)>3e3){B.setShape({points:re}),H&&H.setShape({points:re,stackedOnPoints:ye});return}B.shape.__points=V.current,B.shape.points=W,o.updateProps(B,{shape:{points:re}},K),H&&(H.setShape({points:W,stackedOnPoints:G}),o.updateProps(H,{shape:{points:re,stackedOnPoints:ye}},K));for(var $=[],ve=V.status,Ce=0;Ce<ve.length;Ce++){var Se=ve[Ce].cmd;if(Se==="="){var Ke=k.getItemGraphicEl(ve[Ce].idx1);Ke&&$.push({el:Ke,ptIdx:Ce})}}B.animators&&B.animators.length&&B.animators[0].during(function(){for(var ue=0;ue<$.length;ue++){var Le=$[ue].el;Le.attr("position",B.shape.__points[$[ue].ptIdx])}})},remove:function(k){var F=this.group,j=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),j&&j.eachItemGraphicEl(function(z,R){z.__temp&&(F.remove(z),j.setItemGraphicEl(R,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});M.exports=P},"8XDt":function(M,N,n){n("qH13");var v=n("aX58"),p=v.registerPainter,S=n("6fms");p("vml",S)},"8XRh":function(M,N,n){"use strict";n.d(N,"a",function(){return Je});var v=n("rePB"),p=n("VTBJ"),S=n("ODXe"),m=n("U8pU"),g=n("q1tI"),f=n("m+aA"),d=n("c+Xe"),c=n("TSYQ"),o=n.n(c),i=n("MNnm");function t(Ze,Ne){var It={};return It[Ze.toLowerCase()]=Ne.toLowerCase(),It["Webkit".concat(Ze)]="webkit".concat(Ne),It["Moz".concat(Ze)]="moz".concat(Ne),It["ms".concat(Ze)]="MS".concat(Ne),It["O".concat(Ze)]="o".concat(Ne.toLowerCase()),It}function a(Ze,Ne){var It={animationend:t("Animation","AnimationEnd"),transitionend:t("Transition","TransitionEnd")};return Ze&&("AnimationEvent"in Ne||delete It.animationend.animation,"TransitionEvent"in Ne||delete It.transitionend.transition),It}var e=a(Object(i.a)(),typeof window!="undefined"?window:{}),l={};if(Object(i.a)()){var r=document.createElement("div");l=r.style}var s={};function u(Ze){if(s[Ze])return s[Ze];var Ne=e[Ze];if(Ne)for(var It=Object.keys(Ne),Xe=It.length,Ot=0;Ot<Xe;Ot+=1){var Bt=It[Ot];if(Object.prototype.hasOwnProperty.call(Ne,Bt)&&Bt in l)return s[Ze]=Ne[Bt],s[Ze]}return""}var h=u("animationend"),A=u("transitionend"),y=!!(h&&A),w=h||"animationend",b=A||"transitionend";function x(Ze,Ne){if(!Ze)return null;if(Object(m.a)(Ze)==="object"){var It=Ne.replace(/-\w/g,function(Xe){return Xe[1].toUpperCase()});return Ze[It]}return"".concat(Ze,"-").concat(Ne)}var O="none",T="appear",E="enter",C="leave",_="none",L="prepare",P="start",k="active",F="end",j=n("dm2S"),z=n("wgJM"),R=function(){var Ze=g.useRef(null);function Ne(){z.a.cancel(Ze.current)}function It(Xe){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ne();var Bt=Object(z.a)(function(){Ot<=1?Xe({isCanceled:function(){return Bt!==Ze.current}}):It(Xe,Ot-1)});Ze.current=Bt}return g.useEffect(function(){return function(){Ne()}},[]),[It,Ne]},U=Object(i.a)()?g.useLayoutEffect:g.useEffect,B=U,H=[L,P,k,F],K=!1,V=!0;function W(Ze){return Ze===k||Ze===F}var G=function(Ze,Ne){var It=Object(j.a)(_),Xe=Object(S.a)(It,2),Ot=Xe[0],Bt=Xe[1],kt=R(),_t=Object(S.a)(kt,2),Ft=_t[0],ke=_t[1];function te(){Bt(L,!0)}return B(function(){if(Ot!==_&&Ot!==F){var Q=H.indexOf(Ot),qe=H[Q+1],je=Ne(Ot);je===K?Bt(qe,!0):Ft(function(q){function wt(){if(q.isCanceled())return;Bt(qe,!0)}je===!0?wt():Promise.resolve(je).then(wt)})}},[Ze,Ot]),g.useEffect(function(){return function(){ke()}},[]),[te,Ot]},re=function(Ze){var Ne=Object(g.useRef)(),It=Object(g.useRef)(Ze);It.current=Ze;var Xe=g.useCallback(function(kt){It.current(kt)},[]);function Ot(kt){kt&&(kt.removeEventListener(b,Xe),kt.removeEventListener(w,Xe))}function Bt(kt){Ne.current&&Ne.current!==kt&&Ot(Ne.current),kt&&kt!==Ne.current&&(kt.addEventListener(b,Xe),kt.addEventListener(w,Xe),Ne.current=kt)}return g.useEffect(function(){return function(){Ot(Ne.current)}},[]),[Bt,Ot]};function ye(Ze,Ne,It,Xe){var Ot=Xe.motionEnter,Bt=Ot===void 0?!0:Ot,kt=Xe.motionAppear,_t=kt===void 0?!0:kt,Ft=Xe.motionLeave,ke=Ft===void 0?!0:Ft,te=Xe.motionDeadline,Q=Xe.motionLeaveImmediately,qe=Xe.onAppearPrepare,je=Xe.onEnterPrepare,q=Xe.onLeavePrepare,wt=Xe.onAppearStart,Vt=Xe.onEnterStart,lt=Xe.onLeaveStart,or=Xe.onAppearActive,vr=Xe.onEnterActive,An=Xe.onLeaveActive,hr=Xe.onAppearEnd,xr=Xe.onEnterEnd,nr=Xe.onLeaveEnd,Yt=Xe.onVisibleChanged,gt=Object(j.a)(),zr=Object(S.a)(gt,2),pn=zr[0],Nn=zr[1],Vn=Object(j.a)(O),xi=Object(S.a)(Vn,2),bn=xi[0],Pn=xi[1],jt=Object(j.a)(null),At=Object(S.a)(jt,2),xe=At[0],we=At[1],Ee=Object(g.useRef)(!1),Ge=Object(g.useRef)(null);function nt(){return It()}var st=Object(g.useRef)(!1);function Mt(Pt){var br=nt();if(Pt&&!Pt.deadline&&Pt.target!==br)return;var ur=st.current,fr;bn===T&&ur?fr=hr==null?void 0:hr(br,Pt):bn===E&&ur?fr=xr==null?void 0:xr(br,Pt):bn===C&&ur&&(fr=nr==null?void 0:nr(br,Pt)),bn!==O&&ur&&fr!==!1&&(Pn(O,!0),we(null,!0))}var wr=re(Mt),Pr=Object(S.a)(wr,1),qr=Pr[0],xt=g.useMemo(function(){var Pt,br,ur;switch(bn){case T:return Pt={},Object(v.a)(Pt,L,qe),Object(v.a)(Pt,P,wt),Object(v.a)(Pt,k,or),Pt;case E:return br={},Object(v.a)(br,L,je),Object(v.a)(br,P,Vt),Object(v.a)(br,k,vr),br;case C:return ur={},Object(v.a)(ur,L,q),Object(v.a)(ur,P,lt),Object(v.a)(ur,k,An),ur;default:return{}}},[bn]),rt=G(bn,function(Pt){if(Pt===L){var br=xt[L];return br?br(nt()):K}if(Dt in xt){var ur;we(((ur=xt[Dt])===null||ur===void 0?void 0:ur.call(xt,nt(),null))||null)}return Dt===k&&(qr(nt()),te>0&&(clearTimeout(Ge.current),Ge.current=setTimeout(function(){Mt({deadline:!0})},te))),V}),it=Object(S.a)(rt,2),$t=it[0],Dt=it[1],St=W(Dt);st.current=St,B(function(){Nn(Ne);var Pt=Ee.current;if(Ee.current=!0,!Ze)return;var br;!Pt&&Ne&&_t&&(br=T),Pt&&Ne&&Bt&&(br=E),(Pt&&!Ne&&ke||!Pt&&Q&&!Ne&&ke)&&(br=C),br&&(Pn(br),$t())},[Ne]),Object(g.useEffect)(function(){(bn===T&&!_t||bn===E&&!Bt||bn===C&&!ke)&&Pn(O)},[_t,Bt,ke]),Object(g.useEffect)(function(){return function(){Ee.current=!1,clearTimeout(Ge.current)}},[]);var Ut=g.useRef(!1);Object(g.useEffect)(function(){pn&&(Ut.current=!0),pn!==void 0&&bn===O&&((Ut.current||pn)&&(Yt==null||Yt(pn)),Ut.current=!0)},[pn,bn]);var vt=xe;return xt[L]&&Dt===P&&(vt=Object(p.a)({transition:"none"},vt)),[bn,Dt,vt,pn!=null?pn:Ne]}var $=n("1OyB"),ve=n("vuIU"),Ce=n("Ji7U"),Se=n("LK+K"),Ke=function(Ze){Object(Ce.a)(It,Ze);var Ne=Object(Se.a)(It);function It(){return Object($.a)(this,It),Ne.apply(this,arguments)}return Object(ve.a)(It,[{key:"render",value:function(){return this.props.children}}]),It}(g.Component),ue=Ke;function Le(Ze){var Ne=Ze;Object(m.a)(Ze)==="object"&&(Ne=Ze.transitionSupport);function It(Ot){return!!(Ot.motionName&&Ne)}var Xe=g.forwardRef(function(Ot,Bt){var kt=Ot.visible,_t=kt===void 0?!0:kt,Ft=Ot.removeOnLeave,ke=Ft===void 0?!0:Ft,te=Ot.forceRender,Q=Ot.children,qe=Ot.motionName,je=Ot.leavedClassName,q=Ot.eventProps,wt=It(Ot),Vt=Object(g.useRef)(),lt=Object(g.useRef)();function or(){try{return Vt.current instanceof HTMLElement?Vt.current:Object(f.a)(lt.current)}catch(jt){return null}}var vr=ye(wt,_t,or,Ot),An=Object(S.a)(vr,4),hr=An[0],xr=An[1],nr=An[2],Yt=An[3],gt=g.useRef(Yt);Yt&&(gt.current=!0);var zr=g.useCallback(function(jt){Vt.current=jt,Object(d.b)(Bt,jt)},[Bt]),pn,Nn=Object(p.a)(Object(p.a)({},q),{},{visible:_t});if(!Q)pn=null;else if(hr===O||!It(Ot))Yt?pn=Q(Object(p.a)({},Nn),zr):!ke&&gt.current?pn=Q(Object(p.a)(Object(p.a)({},Nn),{},{className:je}),zr):te?pn=Q(Object(p.a)(Object(p.a)({},Nn),{},{style:{display:"none"}}),zr):pn=null;else{var Vn,xi;xr===L?xi="prepare":W(xr)?xi="active":xr===P&&(xi="start"),pn=Q(Object(p.a)(Object(p.a)({},Nn),{},{className:o()(x(qe,hr),(Vn={},Object(v.a)(Vn,x(qe,"".concat(hr,"-").concat(xi)),xi),Object(v.a)(Vn,qe,typeof qe=="string"),Vn)),style:nr}),zr)}if(g.isValidElement(pn)&&Object(d.c)(pn)){var bn=pn,Pn=bn.ref;Pn||(pn=g.cloneElement(pn,{ref:zr}))}return g.createElement(ue,{ref:lt},pn)});return Xe.displayName="CSSMotion",Xe}var ee=Le(y),le=n("wx14"),et=n("Ff2n"),Re="add",Ae="keep",oe="remove",ce="removed";function be(Ze){var Ne;return Ze&&Object(m.a)(Ze)==="object"&&"key"in Ze?Ne=Ze:Ne={key:Ze},Object(p.a)(Object(p.a)({},Ne),{},{key:String(Ne.key)})}function Te(){var Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ze.map(be)}function Be(){var Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],It=[],Xe=0,Ot=Ne.length,Bt=Te(Ze),kt=Te(Ne);Bt.forEach(function(ke){for(var te=!1,Q=Xe;Q<Ot;Q+=1){var qe=kt[Q];if(qe.key===ke.key){Xe<Q&&(It=It.concat(kt.slice(Xe,Q).map(function(je){return Object(p.a)(Object(p.a)({},je),{},{status:Re})})),Xe=Q),It.push(Object(p.a)(Object(p.a)({},qe),{},{status:Ae})),Xe+=1,te=!0;break}}te||It.push(Object(p.a)(Object(p.a)({},ke),{},{status:oe}))}),Xe<Ot&&(It=It.concat(kt.slice(Xe).map(function(ke){return Object(p.a)(Object(p.a)({},ke),{},{status:Re})})));var _t={};It.forEach(function(ke){var te=ke.key;_t[te]=(_t[te]||0)+1});var Ft=Object.keys(_t).filter(function(ke){return _t[ke]>1});return Ft.forEach(function(ke){It=It.filter(function(te){var Q=te.key,qe=te.status;return Q!==ke||qe!==oe}),It.forEach(function(te){te.key===ke&&(te.status=Ae)})}),It}var De=["component","children","onVisibleChanged","onAllRemoved"],ae=["status"],fe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Oe(Ze){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ee,It=function(Xe){Object(Ce.a)(Bt,Xe);var Ot=Object(Se.a)(Bt);function Bt(){var kt;Object($.a)(this,Bt);for(var _t=arguments.length,Ft=new Array(_t),ke=0;ke<_t;ke++)Ft[ke]=arguments[ke];return kt=Ot.call.apply(Ot,[this].concat(Ft)),kt.state={keyEntities:[]},kt.removeKey=function(te){var Q=kt.state.keyEntities,qe=Q.map(function(je){return je.key!==te?je:Object(p.a)(Object(p.a)({},je),{},{status:ce})});return kt.setState({keyEntities:qe}),qe.filter(function(je){var q=je.status;return q!==ce}).length},kt}return Object(ve.a)(Bt,[{key:"render",value:function(){var _t=this,Ft=this.state.keyEntities,ke=this.props,te=ke.component,Q=ke.children,qe=ke.onVisibleChanged,je=ke.onAllRemoved,q=Object(et.a)(ke,De),wt=te||g.Fragment,Vt={};return fe.forEach(function(lt){Vt[lt]=q[lt],delete q[lt]}),delete q.keys,g.createElement(wt,q,Ft.map(function(lt){var or=lt.status,vr=Object(et.a)(lt,ae),An=or===Re||or===Ae;return g.createElement(Ne,Object(le.a)({},Vt,{key:vr.key,visible:An,eventProps:vr,onVisibleChanged:function(xr){if(qe==null||qe(xr,{key:vr.key}),!xr){var nr=_t.removeKey(vr.key);nr===0&&je&&je()}}}),Q)}))}}],[{key:"getDerivedStateFromProps",value:function(_t,Ft){var ke=_t.keys,te=Ft.keyEntities,Q=Te(ke),qe=Be(te,Q);return{keyEntities:qe.filter(function(je){var q=te.find(function(wt){var Vt=wt.key;return je.key===Vt});return!(q&&q.status===ce&&je.status===oe)})}}}]),Bt}(g.Component);return It.defaultProps={component:"div"},It}var Je=Oe(y),Et=N.b=ee},"8hn6":function(M,N){var n="#eee",v=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{textStyle:{color:n}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},p=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],S={color:p,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n},label:{color:"#000"}}},legend:{textStyle:{color:n}},textStyle:{color:n},title:{textStyle:{color:n}},toolbox:{iconStyle:{normal:{borderColor:n}}},dataZoom:{textStyle:{color:n}},visualMap:{textStyle:{color:n}},timeline:{lineStyle:{color:n},itemStyle:{normal:{color:p[1]}},label:{normal:{textStyle:{color:n}}},controlStyle:{normal:{color:n,borderColor:n}}},timeAxis:v(),logAxis:v(),valueAxis:v(),categoryAxis:v(),line:{symbol:"circle"},graph:{color:p},gauge:{title:{textStyle:{color:n}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};S.categoryAxis.splitLine.show=!1;var m=S;M.exports=m},"8nMs":function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("+rIm"),m=n("Znkb"),g=n("AVZG"),f=n("WN+l"),d=f.rectCoordAxisBuildSplitArea,c=f.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],i=["splitArea","splitLine","minorSplitLine"],t=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(a,e,l,r){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new p.Group,this.group.add(this._axisGroup),!a.get("show"))return;var u=a.getCoordSysModel(),h=g.layout(u,a),A=new S(a,h);v.each(o,A.add,A),this._axisGroup.add(A.getGroup()),v.each(i,function(y){a.get(y+".show")&&this["_"+y](a,u)},this),p.groupTransition(s,this._axisGroup,a),t.superCall(this,"render",a,e,l,r)},remove:function(){c(this)},_splitLine:function(a,e){var l=a.axis;if(l.scale.isBlank())return;var r=a.getModel("splitLine"),s=r.getModel("lineStyle"),u=s.get("color");u=v.isArray(u)?u:[u];for(var h=e.coordinateSystem.getRect(),A=l.isHorizontal(),y=0,w=l.getTicksCoords({tickModel:r}),b=[],x=[],O=s.getLineStyle(),T=0;T<w.length;T++){var E=l.toGlobalCoord(w[T].coord);A?(b[0]=E,b[1]=h.y,x[0]=E,x[1]=h.y+h.height):(b[0]=h.x,b[1]=E,x[0]=h.x+h.width,x[1]=E);var C=y++%u.length,_=w[T].tickValue;this._axisGroup.add(new p.Line({anid:_!=null?"line_"+w[T].tickValue:null,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:x[0],y2:x[1]},style:v.defaults({stroke:u[C]},O),silent:!0}))}},_minorSplitLine:function(a,e){var l=a.axis,r=a.getModel("minorSplitLine"),s=r.getModel("lineStyle"),u=e.coordinateSystem.getRect(),h=l.isHorizontal(),A=l.getMinorTicksCoords();if(!A.length)return;for(var y=[],w=[],b=s.getLineStyle(),x=0;x<A.length;x++)for(var O=0;O<A[x].length;O++){var T=l.toGlobalCoord(A[x][O].coord);h?(y[0]=T,y[1]=u.y,w[0]=T,w[1]=u.y+u.height):(y[0]=u.x,y[1]=T,w[0]=u.x+u.width,w[1]=T),this._axisGroup.add(new p.Line({anid:"minor_line_"+A[x][O].tickValue,subPixelOptimize:!0,shape:{x1:y[0],y1:y[1],x2:w[0],y2:w[1]},style:b,silent:!0}))}},_splitArea:function(a,e){d(this,this._axisGroup,a,e)}});t.extend({type:"xAxis"}),t.extend({type:"yAxis"})},"8nly":function(M,N,n){var v=n("mFDi"),p=n("4mN7"),S=n("QBsz"),m=n("BlVb");function g(d,c,o){if(this.name=d,this.geometries=c,o)o=[o[0],o[1]];else{var i=this.getBoundingRect();o=[i.x+i.width/2,i.y+i.height/2]}this.center=o}g.prototype={constructor:g,properties:null,getBoundingRect:function(){var d=this._rect;if(d)return d;for(var c=Number.MAX_VALUE,o=[c,c],i=[-c,-c],t=[],a=[],e=this.geometries,l=0;l<e.length;l++){if(e[l].type!=="polygon")continue;var r=e[l].exterior;p.fromPoints(r,t,a),S.min(o,o,t),S.max(i,i,a)}return l===0&&(o[0]=o[1]=i[0]=i[1]=0),this._rect=new v(o[0],o[1],i[0]-o[0],i[1]-o[1])},contain:function(d){var c=this.getBoundingRect(),o=this.geometries;if(!c.contain(d[0],d[1]))return!1;e:for(var i=0,t=o.length;i<t;i++){if(o[i].type!=="polygon")continue;var a=o[i].exterior,e=o[i].interiors;if(m.contain(a,d[0],d[1])){for(var l=0;l<(e?e.length:0);l++)if(m.contain(e[l]))continue e;return!0}}return!1},transformTo:function(d,c,o,i){var t=this.getBoundingRect(),a=t.width/t.height;o?i||(i=o/a):o=a*i;for(var e=new v(d,c,o,i),l=t.calculateTransform(e),r=this.geometries,s=0;s<r.length;s++){if(r[s].type!=="polygon")continue;for(var u=r[s].exterior,h=r[s].interiors,A=0;A<u.length;A++)S.applyTransform(u[A],u[A],l);for(var y=0;y<(h?h.length:0);y++)for(var A=0;A<h[y].length;A++)S.applyTransform(h[y][A],h[y][A],l)}t=this._rect,t.copy(e),this.center=[t.x+t.width/2,t.y+t.height/2]},cloneShallow:function(d){d==null&&(d=this.name);var c=new g(d,this.geometries,this.center);return c._rect=this._rect,c.transformTo=null,c}};var f=g;M.exports=f},"8waO":function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("iLNv"),m=n("ZWlE");n("hJvP"),n("IXyC"),n("xRUu");var g=5;v.extendComponentView({type:"parallel",render:function(c,o,i){this._model=c,this._api=i,this._handlers||(this._handlers={},p.each(f,function(t,a){i.getZr().on(a,this._handlers[a]=p.bind(t,this))},this)),S.createOrUpdate(this,"_throttledDispatchExpand",c.get("axisExpandRate"),"fixRate")},dispose:function(c,o){p.each(this._handlers,function(i,t){o.getZr().off(t,i)}),this._handlers=null},_throttledDispatchExpand:function(c){this._dispatchExpand(c)},_dispatchExpand:function(c){c&&this._api.dispatchAction(p.extend({type:"parallelAxisExpand"},c))}});var f={mousedown:function(c){d(this,"click")&&(this._mouseDownPoint=[c.offsetX,c.offsetY])},mouseup:function(c){var o=this._mouseDownPoint;if(d(this,"click")&&o){var i=[c.offsetX,c.offsetY],t=Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2);if(t>g)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]);a.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(c){if(this._mouseDownPoint||!d(this,"mousemove"))return;var o=this._model,i=o.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]),t=i.behavior;t==="jump"&&this._throttledDispatchExpand.debounceNextCall(o.get("axisExpandDebounce")),this._throttledDispatchExpand(t==="none"?null:{axisExpandWindow:i.axisExpandWindow,animation:t==="jump"?null:!1})}};function d(c,o){var i=c._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===o}v.registerPreprocessor(m)},"8x+h":function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("bYtY"),g=n("K4ya"),f=n("Qxkt"),d=["#ddd"],c=S.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(t,a){var e=this.option;!a&&g.replaceVisualOption(e,t,["inBrush","outOfBrush"]);var l=e.inBrush=e.inBrush||{};e.outOfBrush=e.outOfBrush||{color:d},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(t){if(!t)return;this.areas=m.map(t,function(a){return o(this.option,a)},this)},setBrushOption:function(t){this.brushOption=o(this.option,t),this.brushType=this.brushOption.brushType}});function o(t,a){return m.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new f(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},a,!0)}var i=c;M.exports=i},"8z0m":function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("RIqP"),m=n.n(S),g=n("pVnL"),f=n.n(g),d=n("J4zp"),c=n.n(d),o=n("q1tI"),i=n.n(o),t=n("TSYQ"),a=n.n(t);function e(hr,xr){var nr="cannot "+hr.method+" "+hr.action+" "+xr.status+"'",Yt=new Error(nr);return Yt.status=xr.status,Yt.method=hr.method,Yt.url=hr.action,Yt}function l(hr){var xr=hr.responseText||hr.response;if(!xr)return xr;try{return JSON.parse(xr)}catch(nr){return xr}}function r(hr){var xr=new XMLHttpRequest;hr.onProgress&&xr.upload&&(xr.upload.onprogress=function(zr){zr.total>0&&(zr.percent=zr.loaded/zr.total*100),hr.onProgress(zr)});var nr=new FormData;hr.data&&Object.keys(hr.data).forEach(function(gt){var zr=hr.data[gt];if(Array.isArray(zr)){zr.forEach(function(pn){nr.append(gt+"[]",pn)});return}nr.append(gt,hr.data[gt])}),hr.file instanceof Blob?nr.append(hr.filename,hr.file,hr.file.name):nr.append(hr.filename,hr.file),xr.onerror=function(zr){hr.onError(zr)},xr.onload=function(){return xr.status<200||xr.status>=300?hr.onError(e(hr,xr),l(xr)):hr.onSuccess(l(xr),xr)},xr.open(hr.method,hr.action,!0),hr.withCredentials&&"withCredentials"in xr&&(xr.withCredentials=!0);var Yt=hr.headers||{};return Yt["X-Requested-With"]!==null&&xr.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Yt).forEach(function(gt){Yt[gt]!==null&&xr.setRequestHeader(gt,Yt[gt])}),xr.send(nr),{abort:function(){xr.abort()}}}var s=+new Date,u=0;function h(){return"rc-upload-"+s+"-"+ ++u}function A(hr,xr){return hr.indexOf(xr,hr.length-xr.length)!==-1}var y=function(hr,xr){if(hr&&xr){var nr=Array.isArray(xr)?xr:xr.split(","),Yt=hr.name||"",gt=hr.type||"",zr=gt.replace(/\/.*$/,"");return nr.some(function(pn){var Nn=pn.trim();return Nn.charAt(0)==="."?A(Yt.toLowerCase(),Nn.toLowerCase()):/\/\*$/.test(Nn)?zr===Nn.replace(/\/.*$/,""):gt===Nn})}return!0};function w(hr,xr){var nr=hr.createReader(),Yt=[];function gt(){nr.readEntries(function(zr){var pn=Array.prototype.slice.apply(zr);Yt=Yt.concat(pn);var Nn=!pn.length;Nn?xr(Yt):gt()})}gt()}var b=function(xr,nr,Yt){var gt=function zr(pn,Nn){Nn=Nn||"",pn.isFile?pn.file(function(Vn){Yt(Vn)&&(pn.fullPath&&!Vn.webkitRelativePath&&(Object.defineProperties(Vn,{webkitRelativePath:{writable:!0}}),Vn.webkitRelativePath=pn.fullPath.replace(/^\//,""),Object.defineProperties(Vn,{webkitRelativePath:{writable:!1}})),nr([Vn]))}):pn.isDirectory&&w(pn,function(Vn){Vn.forEach(function(xi){zr(xi,""+Nn+pn.name+"/")})})};xr.forEach(function(zr){gt(zr.webkitGetAsEntry())})},x=b,O=Object.assign||function(hr){for(var xr=1;xr<arguments.length;xr++){var nr=arguments[xr];for(var Yt in nr)Object.prototype.hasOwnProperty.call(nr,Yt)&&(hr[Yt]=nr[Yt])}return hr},T=function(){function hr(xr,nr){var Yt=[],gt=!0,zr=!1,pn=void 0;try{for(var Nn=xr[Symbol.iterator](),Vn;!(gt=(Vn=Nn.next()).done)&&!(Yt.push(Vn.value),nr&&Yt.length===nr);gt=!0);}catch(xi){zr=!0,pn=xi}finally{try{!gt&&Nn.return&&Nn.return()}finally{if(zr)throw pn}}return Yt}return function(xr,nr){if(Array.isArray(xr))return xr;if(Symbol.iterator in Object(xr))return hr(xr,nr);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(){function hr(xr,nr){for(var Yt=0;Yt<nr.length;Yt++){var gt=nr[Yt];gt.enumerable=gt.enumerable||!1,gt.configurable=!0,"value"in gt&&(gt.writable=!0),Object.defineProperty(xr,gt.key,gt)}}return function(xr,nr,Yt){return nr&&hr(xr.prototype,nr),Yt&&hr(xr,Yt),xr}}();function C(hr,xr,nr){return xr in hr?Object.defineProperty(hr,xr,{value:nr,enumerable:!0,configurable:!0,writable:!0}):hr[xr]=nr,hr}function _(hr,xr){var nr={};for(var Yt in hr){if(xr.indexOf(Yt)>=0)continue;if(!Object.prototype.hasOwnProperty.call(hr,Yt))continue;nr[Yt]=hr[Yt]}return nr}function L(hr,xr){if(!(hr instanceof xr))throw new TypeError("Cannot call a class as a function")}function P(hr,xr){if(!hr)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return xr&&(typeof xr=="object"||typeof xr=="function")?xr:hr}function k(hr,xr){if(typeof xr!="function"&&xr!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof xr);hr.prototype=Object.create(xr&&xr.prototype,{constructor:{value:hr,enumerable:!1,writable:!0,configurable:!0}}),xr&&(Object.setPrototypeOf?Object.setPrototypeOf(hr,xr):hr.__proto__=xr)}var F=function(xr){return Object.keys(xr).reduce(function(nr,Yt){return(Yt.substr(0,5)==="data-"||Yt.substr(0,5)==="aria-"||Yt==="role")&&(nr[Yt]=xr[Yt]),nr},{})},j=function(hr){k(xr,hr);function xr(){var nr,Yt,gt,zr;L(this,xr);for(var pn=arguments.length,Nn=Array(pn),Vn=0;Vn<pn;Vn++)Nn[Vn]=arguments[Vn];return zr=(Yt=(gt=P(this,(nr=xr.__proto__||Object.getPrototypeOf(xr)).call.apply(nr,[this].concat(Nn))),gt),gt.state={uid:h()},gt.reqs={},gt.onChange=function(xi){var bn=xi.target.files;gt.uploadFiles(bn),gt.reset()},gt.onClick=function(xi){var bn=gt.fileInput;if(!bn)return;var Pn=gt.props,jt=Pn.children,At=Pn.onClick;jt&&jt.type==="button"&&(bn.parentNode.focus(),bn.parentNode.querySelector("button").blur()),bn.click(),At&&At(xi)},gt.onKeyDown=function(xi){xi.key==="Enter"&&gt.onClick()},gt.onFileDrop=function(xi){var bn=gt.props.multiple;if(xi.preventDefault(),xi.type==="dragover")return;if(gt.props.directory)x(Array.prototype.slice.call(xi.dataTransfer.items),gt.uploadFiles,function(jt){return y(jt,gt.props.accept)});else{var Pn=Array.prototype.slice.call(xi.dataTransfer.files).filter(function(jt){return y(jt,gt.props.accept)});bn===!1&&(Pn=Pn.slice(0,1)),gt.uploadFiles(Pn)}},gt.uploadFiles=function(xi){var bn=Array.prototype.slice.call(xi);bn.map(function(Pn){return Pn.uid=h(),Pn}).forEach(function(Pn){gt.upload(Pn,bn)})},gt.saveFileInput=function(xi){gt.fileInput=xi},Yt),P(gt,zr)}return E(xr,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(Yt,gt){var zr=this,pn=this.props;if(!pn.beforeUpload)return setTimeout(function(){return zr.post(Yt)},0);var Nn=pn.beforeUpload(Yt,gt);Nn&&Nn.then?Nn.then(function(Vn){var xi=Object.prototype.toString.call(Vn);return xi==="[object File]"||xi==="[object Blob]"?zr.post(Vn):zr.post(Yt)}).catch(function(Vn){console.log(Vn)}):Nn!==!1&&setTimeout(function(){return zr.post(Yt)},0);return}},{key:"post",value:function(Yt){var gt=this;if(!this._isMounted)return;var zr=this.props,pn=zr.onStart,Nn=zr.onProgress,Vn=zr.transformFile,xi=Vn===void 0?function(bn){return bn}:Vn;new Promise(function(bn){var Pn=zr.action;return typeof Pn=="function"&&(Pn=Pn(Yt)),bn(Pn)}).then(function(bn){var Pn=Yt.uid,jt=zr.customRequest||r,At=Promise.resolve(xi(Yt)).then(function(xe){var we=zr.data;return typeof we=="function"&&(we=we(xe)),Promise.all([xe,we])}).catch(function(xe){console.error(xe)});At.then(function(xe){var we=T(xe,2),Ee=we[0],Ge=we[1],nt={action:bn,filename:zr.name,data:Ge,file:Ee,headers:zr.headers,withCredentials:zr.withCredentials,method:zr.method||"post",onProgress:Nn?function(st){Nn(st,Yt)}:null,onSuccess:function(Mt,wr){delete gt.reqs[Pn],zr.onSuccess(Mt,Yt,wr)},onError:function(Mt,wr){delete gt.reqs[Pn],zr.onError(Mt,wr,Yt)}};pn(Yt),gt.reqs[Pn]=jt(nt)})})}},{key:"reset",value:function(){this.setState({uid:h()})}},{key:"abort",value:function(Yt){var gt=this.reqs;if(Yt){var zr=Yt;Yt&&Yt.uid&&(zr=Yt.uid),gt[zr]&&gt[zr].abort&&gt[zr].abort(),delete gt[zr]}else Object.keys(gt).forEach(function(pn){gt[pn]&&gt[pn].abort&&gt[pn].abort(),delete gt[pn]})}},{key:"render",value:function(){var Yt,gt=this.props,zr=gt.component,pn=gt.prefixCls,Nn=gt.className,Vn=gt.disabled,xi=gt.id,bn=gt.style,Pn=gt.multiple,jt=gt.accept,At=gt.children,xe=gt.directory,we=gt.openFileDialogOnClick,Ee=gt.onMouseEnter,Ge=gt.onMouseLeave,nt=_(gt,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),st=a()((Yt={},C(Yt,pn,!0),C(Yt,pn+"-disabled",Vn),C(Yt,Nn,Nn),Yt)),Mt=Vn?{}:{onClick:we?this.onClick:function(){},onKeyDown:we?this.onKeyDown:function(){},onMouseEnter:Ee,onMouseLeave:Ge,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return i.a.createElement(zr,O({},Mt,{className:st,role:"button",style:bn}),i.a.createElement("input",O({},F(nt),{id:xi,type:"file",ref:this.saveFileInput,onClick:function(Pr){return Pr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:jt,directory:xe?"directory":null,webkitdirectory:xe?"webkitdirectory":null,multiple:Pn,onChange:this.onChange})),At)}}]),xr}(o.Component),z=j,R=Object.assign||function(hr){for(var xr=1;xr<arguments.length;xr++){var nr=arguments[xr];for(var Yt in nr)Object.prototype.hasOwnProperty.call(nr,Yt)&&(hr[Yt]=nr[Yt])}return hr},U=function(){function hr(xr,nr){for(var Yt=0;Yt<nr.length;Yt++){var gt=nr[Yt];gt.enumerable=gt.enumerable||!1,gt.configurable=!0,"value"in gt&&(gt.writable=!0),Object.defineProperty(xr,gt.key,gt)}}return function(xr,nr,Yt){return nr&&hr(xr.prototype,nr),Yt&&hr(xr,Yt),xr}}();function B(hr,xr){if(!(hr instanceof xr))throw new TypeError("Cannot call a class as a function")}function H(hr,xr){if(!hr)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return xr&&(typeof xr=="object"||typeof xr=="function")?xr:hr}function K(hr,xr){if(typeof xr!="function"&&xr!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof xr);hr.prototype=Object.create(xr&&xr.prototype,{constructor:{value:hr,enumerable:!1,writable:!0,configurable:!0}}),xr&&(Object.setPrototypeOf?Object.setPrototypeOf(hr,xr):hr.__proto__=xr)}function V(){}var W=function(hr){K(xr,hr);function xr(){var nr,Yt,gt,zr;B(this,xr);for(var pn=arguments.length,Nn=Array(pn),Vn=0;Vn<pn;Vn++)Nn[Vn]=arguments[Vn];return zr=(Yt=(gt=H(this,(nr=xr.__proto__||Object.getPrototypeOf(xr)).call.apply(nr,[this].concat(Nn))),gt),gt.saveUploader=function(xi){gt.uploader=xi},Yt),H(gt,zr)}return U(xr,[{key:"abort",value:function(Yt){this.uploader.abort(Yt)}},{key:"render",value:function(){return i.a.createElement(z,R({},this.props,{ref:this.saveUploader}))}}]),xr}(o.Component);W.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:V,onError:V,onSuccess:V,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var G=W,re=G,ye=function(hr,xr){var nr={};for(var Yt in hr)Object.prototype.hasOwnProperty.call(hr,Yt)&&xr.indexOf(Yt)<0&&(nr[Yt]=hr[Yt]);if(hr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Yt=Object.getOwnPropertySymbols(hr);gt<Yt.length;gt++)xr.indexOf(Yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(hr,Yt[gt])&&(nr[Yt[gt]]=hr[Yt[gt]]);return nr},$=function(xr,nr){var Yt=xr.style,gt=xr.height,zr=ye(xr,["style","height"]);return o.createElement(vr,f()({ref:nr},zr,{type:"drag",style:f()(f()({},Yt),{height:gt})}))},ve=o.forwardRef($);ve.displayName="Dragger";var Ce=ve,Se=n("UmKh"),Ke=n("gZBC"),ue=n.n(Ke),Le=n("+d4F"),ee=n.n(Le),le=n("XAae"),et=n.n(le),Re=n("6xvX"),Ae=n.n(Re),oe=n("qPY4"),ce=n.n(oe),be=n("QB+1"),Te=n.n(be),Be=n("Qs3X"),De=n.n(Be),ae=n("0n0R");function fe(){return!0}function Oe(hr){return f()(f()({},hr),{lastModified:hr.lastModified,lastModifiedDate:hr.lastModifiedDate,name:hr.name,size:hr.size,type:hr.type,uid:hr.uid,percent:0,originFileObj:hr})}function Je(hr,xr){var nr=hr.uid!==void 0?"uid":"name";return xr.filter(function(Yt){return Yt[nr]===hr[nr]})[0]}function Et(hr,xr){var nr=hr.uid!==void 0?"uid":"name",Yt=xr.filter(function(gt){return gt[nr]!==hr[nr]});return Yt.length===xr.length?null:Yt}var Ze=function(){var xr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",nr=xr.split("/"),Yt=nr[nr.length-1],gt=Yt.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(gt)||[""])[0]},Ne=function(xr){return xr.indexOf("image/")===0},It=function(xr){if(xr.type&&!xr.thumbUrl)return Ne(xr.type);var nr=xr.thumbUrl||xr.url,Yt=Ze(nr);return/^data:image\//.test(nr)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Yt)?!0:/^data:/.test(nr)?!1:!Yt},Xe=200;function Ot(hr){return new Promise(function(xr){if(!hr.type||!Ne(hr.type)){xr("");return}var nr=document.createElement("canvas");nr.width=Xe,nr.height=Xe,nr.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Xe,"px; height: ").concat(Xe,"px; z-index: 9999; display: none;"),document.body.appendChild(nr);var Yt=nr.getContext("2d"),gt=new Image;gt.onload=function(){var zr=gt.width,pn=gt.height,Nn=Xe,Vn=Xe,xi=0,bn=0;zr<pn?(Vn=pn*(Xe/zr),bn=-(Vn-Nn)/2):(Nn=zr*(Xe/pn),xi=-(Nn-Vn)/2),Yt.drawImage(gt,xi,bn,Nn,Vn);var Pn=nr.toDataURL();document.body.removeChild(nr),xr(Pn)},gt.src=window.URL.createObjectURL(hr)})}var Bt=n("3S7+"),kt=n("CFYs"),_t=n("H84U"),Ft=n("2/Rp"),ke=n("hkKa"),te=function(xr,nr){var Yt,gt=xr.listType,zr=xr.previewFile,pn=xr.onPreview,Nn=xr.onDownload,Vn=xr.onRemove,xi=xr.locale,bn=xr.iconRender,Pn=xr.isImageUrl,jt=xr.prefixCls,At=xr.items,xe=At===void 0?[]:At,we=xr.showPreviewIcon,Ee=xr.showRemoveIcon,Ge=xr.showDownloadIcon,nt=xr.removeIcon,st=xr.downloadIcon,Mt=xr.progress,wr=Object(ke.a)();o.useEffect(function(){if(gt!=="picture"&&gt!=="picture-card")return;(xe||[]).forEach(function(ur){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ur.originFileObj instanceof File||ur.originFileObj instanceof Blob)||ur.thumbUrl!==void 0)return;ur.thumbUrl="",zr&&zr(ur.originFileObj).then(function(fr){ur.thumbUrl=fr||"",wr()})})},[gt,xe,zr]);var Pr=function(fr,Jr){return pn?(Jr.preventDefault(),pn(fr)):void 0},qr=function(fr){typeof Nn=="function"?Nn(fr):fr.url&&window.open(fr.url)},xt=function(fr){Vn&&Vn(fr)},rt=function(fr){if(bn)return bn(fr,gt);var Jr=fr.status==="uploading",Zr=Pn&&Pn(fr)?o.createElement(et.a,null):o.createElement(Ae.a,null),Fn=Jr?o.createElement(ue.a,null):o.createElement(ee.a,null);return gt==="picture"?Fn=Jr?o.createElement(ue.a,null):Zr:gt==="picture-card"&&(Fn=Jr?xi.uploading:Zr),Fn},it=function(fr,Jr,Zr,Fn){var Rn={type:"text",size:"small",title:Fn,onClick:function(gi){Jr(),Object(ae.b)(fr)&&fr.props.onClick&&fr.props.onClick(gi)},className:"".concat(Zr,"-list-item-card-actions-btn")};if(Object(ae.b)(fr)){var ei=Object(ae.a)(fr,f()(f()({},fr.props),{onClick:function(){}}));return o.createElement(Ft.a,f()({},Rn,{icon:ei}))}return o.createElement(Ft.a,Rn,o.createElement("span",null,fr))};o.useImperativeHandle(nr,function(){return{handlePreview:Pr,handleDownload:qr}});var $t=o.useContext(_t.b),Dt=$t.getPrefixCls,St=$t.direction,Ut=Dt("upload",jt),vt=xe.map(function(ur){var fr,Jr,Zr,Fn=rt(ur),Rn=o.createElement("div",{className:"".concat(Ut,"-text-icon")},Fn);if(gt==="picture"||gt==="picture-card")if(ur.status==="uploading"||!ur.thumbUrl&&!ur.url){var ei,di=a()((ei={},p()(ei,"".concat(Ut,"-list-item-thumbnail"),!0),p()(ei,"".concat(Ut,"-list-item-file"),ur.status!=="uploading"),ei));Rn=o.createElement("div",{className:di},Fn)}else{var gi,Ii=Pn&&Pn(ur)?o.createElement("img",{src:ur.thumbUrl||ur.url,alt:ur.name,className:"".concat(Ut,"-list-item-image")}):Fn,Ye=a()((gi={},p()(gi,"".concat(Ut,"-list-item-thumbnail"),!0),p()(gi,"".concat(Ut,"-list-item-file"),Pn&&!Pn(ur)),gi));Rn=o.createElement("a",{className:Ye,onClick:function(tn){return Pr(ur,tn)},href:ur.url||ur.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ii)}if(ur.status==="uploading"){var ge="percent"in ur?o.createElement(kt.a,f()({},Mt,{type:"line",percent:ur.percent})):null;Zr=o.createElement("div",{className:"".concat(Ut,"-list-item-progress"),key:"progress"},ge)}var Ie=a()((fr={},p()(fr,"".concat(Ut,"-list-item"),!0),p()(fr,"".concat(Ut,"-list-item-").concat(ur.status),!0),p()(fr,"".concat(Ut,"-list-item-list-type-").concat(gt),!0),fr)),Fe=typeof ur.linkProps=="string"?JSON.parse(ur.linkProps):ur.linkProps,Ve=Ee?it(nt||o.createElement(Te.a,null),function(){return xt(ur)},Ut,xi.removeFile):null,We=Ge&&ur.status==="done"?it(st||o.createElement(De.a,null),function(){return qr(ur)},Ut,xi.downloadFile):null,Qe=gt!=="picture-card"&&o.createElement("span",{key:"download-delete",className:"".concat(Ut,"-list-item-card-actions ").concat(gt==="picture"?"picture":"")},We,Ve),yt=a()((Jr={},p()(Jr,"".concat(Ut,"-list-item-name"),!0),p()(Jr,"".concat(Ut,"-list-item-name-icon-count-").concat([We,Ve].filter(function(gn){return gn}).length),!0),Jr)),ot=ur.url?[o.createElement("a",f()({key:"view",target:"_blank",rel:"noopener noreferrer",className:yt,title:ur.name},Fe,{href:ur.url,onClick:function(tn){return Pr(ur,tn)}}),ur.name),Qe]:[o.createElement("span",{key:"view",className:yt,onClick:function(tn){return Pr(ur,tn)},title:ur.name},ur.name),Qe],Zt={pointerEvents:"none",opacity:.5},Rr=we?o.createElement("a",{href:ur.url||ur.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ur.url||ur.thumbUrl?void 0:Zt,onClick:function(tn){return Pr(ur,tn)},title:xi.previewFile},o.createElement(ce.a,null)):null,Lr=gt==="picture-card"&&ur.status!=="uploading"&&o.createElement("span",{className:"".concat(Ut,"-list-item-actions")},Rr,ur.status==="done"&&We,Ve),Gr;ur.response&&typeof ur.response=="string"?Gr=ur.response:Gr=ur.error&&ur.error.statusText||xi.uploadError;var er=o.createElement("span",null,Rn,ot),On=o.createElement("div",{className:Ie},o.createElement("div",{className:"".concat(Ut,"-list-item-info")},er),Lr,o.createElement(Se.a,{transitionName:"fade",component:""},Zr)),yr=a()(p()({},"".concat(Ut,"-list-picture-card-container"),gt==="picture-card"));return o.createElement("div",{key:ur.uid,className:yr},ur.status==="error"?o.createElement(Bt.a,{title:Gr,getPopupContainer:function(tn){return tn.parentNode}},On):o.createElement("span",null,On))}),Pt=a()((Yt={},p()(Yt,"".concat(Ut,"-list"),!0),p()(Yt,"".concat(Ut,"-list-").concat(gt),!0),p()(Yt,"".concat(Ut,"-list-rtl"),St==="rtl"),Yt)),br=gt==="picture-card"?"animate-inline":"animate";return o.createElement(Se.a,{transitionName:"".concat(Ut,"-").concat(br),component:"div",className:Pt},vt)},Q=o.forwardRef(te);Q.displayName="UploadList",Q.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Ot,isImageUrl:It};var qe=Q,je=n("YMnH"),q=n("ZvpZ"),wt=n("uaoM"),Vt=n("sPtV"),lt=function(xr,nr){var Yt,gt=xr.fileList,zr=xr.defaultFileList,pn=xr.onRemove,Nn=xr.showUploadList,Vn=xr.listType,xi=xr.onPreview,bn=xr.onDownload,Pn=xr.previewFile,jt=xr.disabled,At=xr.locale,xe=xr.iconRender,we=xr.isImageUrl,Ee=xr.progress,Ge=xr.prefixCls,nt=xr.className,st=xr.type,Mt=xr.children,wr=xr.style,Pr=Object(Vt.a)(gt||zr||[]),qr=c()(Pr,2),xt=qr[0],rt=qr[1],it=o.useState("drop"),$t=c()(it,2),Dt=$t[0],St=$t[1],Ut=o.useRef();o.useEffect(function(){rt(gt||zr||[]),Object(wt.a)("fileList"in xr||!("value"in xr),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),o.useEffect(function(){"fileList"in xr&&rt(gt||[])},[gt]);var vt=function(ot){"fileList"in xr||rt(ot.fileList);var Zt=xr.onChange;Zt&&Zt(f()(f()({},ot),{fileList:m()(ot.fileList)}))},Pt=function(ot){var Zt=Oe(ot);Zt.status="uploading";var Rr=xt().concat(),Lr=Rr.findIndex(function(Gr){var er=Gr.uid;return er===Zt.uid});Lr===-1?Rr.push(Zt):Rr[Lr]=Zt,vt({file:Zt,fileList:Rr})},br=function(ot,Zt,Rr){try{typeof ot=="string"&&(ot=JSON.parse(ot))}catch(Gr){}var Lr=Je(Zt,xt());if(!Lr)return;Lr.status="done",Lr.response=ot,Lr.xhr=Rr,vt({file:f()({},Lr),fileList:xt().concat()})},ur=function(ot,Zt){var Rr=Je(Zt,xt());if(!Rr)return;Rr.percent=ot.percent,vt({event:ot,file:f()({},Rr),fileList:xt().concat()})},fr=function(ot,Zt,Rr){var Lr=Je(Rr,xt());if(!Lr)return;Lr.error=ot,Lr.response=Zt,Lr.status="error",vt({file:f()({},Lr),fileList:xt().concat()})},Jr=function(ot){Promise.resolve(typeof pn=="function"?pn(ot):pn).then(function(Zt){if(Zt===!1)return;var Rr=Et(ot,xt());Rr&&(ot.status="removed",Ut.current&&Ut.current.abort(ot),vt({file:ot,fileList:Rr}))})},Zr=function(ot){St(ot.type)},Fn=function(ot,Zt){var Rr=xr.beforeUpload;if(!Rr)return!0;var Lr=Rr(ot,Zt);if(Lr===!1){var Gr=[];return xt().concat(Zt.map(Oe)).forEach(function(er){Gr.every(function(On){return On.uid!==er.uid})&&Gr.push(er)}),vt({file:ot,fileList:Gr}),!1}return Lr&&Lr.then?Lr:!0},Rn=Object(ke.a)();o.useImperativeHandle(nr,function(){return{onStart:Pt,onSuccess:br,onProgress:ur,onError:fr,fileList:xt(),upload:Ut.current,forceUpdate:Rn}});var ei=function(ot){var Zt=Nn.showRemoveIcon,Rr=Nn.showPreviewIcon,Lr=Nn.showDownloadIcon,Gr=Nn.removeIcon,er=Nn.downloadIcon;return o.createElement(qe,{listType:Vn,items:xt(),previewFile:Pn,onPreview:xi,onDownload:bn,onRemove:Jr,showRemoveIcon:!jt&&Zt,showPreviewIcon:Rr,showDownloadIcon:Lr,removeIcon:Gr,downloadIcon:er,iconRender:xe,locale:f()(f()({},ot),At),isImageUrl:we,progress:Ee})},di=o.useContext(_t.b),gi=di.getPrefixCls,Ii=di.direction,Ye=gi("upload",Ge),ge=f()(f()({onStart:Pt,onError:fr,onProgress:ur,onSuccess:br},xr),{prefixCls:Ye,beforeUpload:Fn});delete ge.className,delete ge.style,(!Mt||jt)&&delete ge.id;var Ie=Nn?o.createElement(je.a,{componentName:"Upload",defaultLocale:q.a.Upload},ei):null;if(st==="drag"){var Fe,Ve=a()(Ye,(Fe={},p()(Fe,"".concat(Ye,"-drag"),!0),p()(Fe,"".concat(Ye,"-drag-uploading"),xt().some(function(yt){return yt.status==="uploading"})),p()(Fe,"".concat(Ye,"-drag-hover"),Dt==="dragover"),p()(Fe,"".concat(Ye,"-disabled"),jt),p()(Fe,"".concat(Ye,"-rtl"),Ii==="rtl"),Fe),nt);return o.createElement("span",null,o.createElement("div",{className:Ve,onDrop:Zr,onDragOver:Zr,onDragLeave:Zr,style:wr},o.createElement(re,f()({},ge,{ref:Ut,className:"".concat(Ye,"-btn")}),o.createElement("div",{className:"".concat(Ye,"-drag-container")},Mt))),Ie)}var We=a()(Ye,(Yt={},p()(Yt,"".concat(Ye,"-select"),!0),p()(Yt,"".concat(Ye,"-select-").concat(Vn),!0),p()(Yt,"".concat(Ye,"-disabled"),jt),p()(Yt,"".concat(Ye,"-rtl"),Ii==="rtl"),Yt)),Qe=o.createElement("div",{className:We,style:Mt?void 0:{display:"none"}},o.createElement(re,f()({},ge,{ref:Ut})));return Vn==="picture-card"?o.createElement("span",{className:a()(nt,"".concat(Ye,"-picture-card-wrapper"))},Ie,Qe):o.createElement("span",{className:nt},Qe,Ie)},or=o.forwardRef(lt);or.Dragger=Ce,or.displayName="Upload",or.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:fe,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var vr=or;vr.Dragger=Ce;var An=N.a=vr},"98bh":function(M,N,n){var v=n("ProS"),p=n("5GtS"),S=n("bYtY"),m=n("4NO4"),g=n("OELB"),f=g.getPercentWithPrecision,d=n("cCMj"),c=n("KxfA"),o=c.retrieveRawAttr,i=n("D5nY"),t=i.makeSeriesEncodeForNameBased,a=n("xKMd"),e=v.extendSeriesModel({type:"series.pie",init:function(r){e.superApply(this,"init",arguments),this.legendVisualProvider=new a(S.bind(this.getData,this),S.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(r)},mergeOption:function(r){e.superCall(this,"mergeOption",r),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(r,s){return p(this,{coordDimensions:["value"],encodeDefaulter:S.curry(t,this)})},_createSelectableList:function(){for(var r=this.getRawData(),s=r.mapDimension("value"),u=[],h=0,A=r.count();h<A;h++)u.push({name:r.getName(h),value:r.get(s,h),selected:o(r,h,"selected")});return u},getDataParams:function(r){var s=this.getData(),u=e.superCall(this,"getDataParams",r),h=[];return s.each(s.mapDimension("value"),function(A){h.push(A)}),u.percent=f(h,r,s.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(r){m.defaultEmphasis(r,"labelLine",["show"]);var s=r.labelLine,u=r.emphasis.labelLine;s.show=s.show&&r.label.show,u.show=u.show&&r.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"}});S.mixin(e,d);var l=e;M.exports=l},"9H2F":function(M,N,n){var v=n("bYtY"),p=v.assert,S=v.isArray,m=n("Tghj"),g=m.__DEV__;function f(a){return new d(a)}function d(a){a=a||{},this._reset=a.reset,this._plan=a.plan,this._count=a.count,this._onDirty=a.onDirty,this._dirty=!0,this.context}var c=d.prototype;c.perform=function(a){var e=this._upstream,l=a&&a.skip;if(this._dirty&&e){var r=this.context;r.data=r.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!l&&(s=this._plan(this.context));var u=w(this._modBy),h=this._modDataCount||0,A=w(a&&a.modBy),y=a&&a.modDataCount||0;(u!==A||h!==y)&&(s="reset");function w(L){return!(L>=1)&&(L=1),L}var b;(this._dirty||s==="reset")&&(this._dirty=!1,b=t(this,l)),this._modBy=A,this._modDataCount=y;var x=a&&a.step;if(e?this._dueEnd=e._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(!l&&(b||O<T)){var E=this._progress;if(S(E))for(var C=0;C<E.length;C++)i(this,E[C],O,T,A,y);else i(this,E,O,T,A,y)}this._dueIndex=T;var _=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=_}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var o=function(){var a,e,l,r,s,u={reset:function(y,w,b,x){e=y,a=w,l=b,r=x,s=Math.ceil(r/l),u.next=l>1&&r>0?A:h}};return u;function h(){return e<a?e++:null}function A(){var y=e%s*l+Math.ceil(e/s),w=e>=a?null:y<r?y:e;return e++,w}}();c.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function i(a,e,l,r,s,u){o.reset(l,r,s,u),a._callingProgress=e,a._callingProgress({start:l,end:r,count:r-l,next:o.next},a.context)}function t(a,e){a._dueIndex=a._outputDueEnd=a._dueEnd=0,a._settedOutputEnd=null;var l,r;!e&&a._reset&&(l=a._reset(a.context),l&&l.progress&&(r=l.forceFirstProgress,l=l.progress),S(l)&&!l.length&&(l=null)),a._progress=l,a._modBy=a._modDataCount=null;var s=a._downstream;return s&&s.dirty(),r}c.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},c.pipe=function(a){(this._downstream!==a||this._dirty)&&(this._downstream=a,a._upstream=this,a.dirty())},c.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},c.getUpstream=function(){return this._upstream},c.getDownstream=function(){return this._downstream},c.setOutputEnd=function(a){this._outputDueEnd=this._settedOutputEnd=a},N.createTask=f},"9KIM":function(M,N,n){var v=n("mFDi"),p=n("xSat"),S=p.onIrrelevantElement,m=n("IwbS");function g(o){return o=c(o),function(i,t){return m.clipPointsByRect(i,o)}}function f(o,i){return o=c(o),function(t){var a=i!=null?i:t,e=a?o.width:o.height,l=a?o.x:o.y;return[l,l+(e||0)]}}function d(o,i,t){return o=c(o),function(a,e,l){return o.contain(e[0],e[1])&&!S(a,i,t)}}function c(o){return v.create(o)}N.makeRectPanelClipPath=g,N.makeLinearBrushOtherExtent=f,N.makeRectIsTargetByCursor=d},"9ama":function(M,N,n){},"9eas":function(M,N,n){n("HM/N"),n("tBnm")},"9hCq":function(M,N,n){var v=n("IwbS"),p=n("+TT/"),S=n("bYtY"),m=n("VaxA"),g=m.wrapTreePathInfo,f=8,d=8,c=5;function o(e){this.group=new v.Group,e.add(this.group)}o.prototype={constructor:o,render:function(e,l,r,s){var u=e.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!u.get("show")||!r)return;var A=u.getModel("itemStyle"),y=A.getModel("textStyle"),w={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,w,y),this._renderContent(e,w,A,y,s),p.positionElement(h,w.pos,w.box)},_prepare:function(e,l,r){for(var s=e;s;s=s.parentNode){var u=s.getModel().get("name"),h=r.getTextRect(u),A=Math.max(h.width+f*2,l.emptyItemWidth);l.totalWidth+=A+d,l.renderList.push({node:s,text:u,width:A})}},_renderContent:function(e,l,r,s,u){for(var h=0,A=l.emptyItemWidth,y=e.get("breadcrumb.height"),w=p.getAvailableSize(l.pos,l.box),b=l.totalWidth,x=l.renderList,O=x.length-1;O>=0;O--){var T=x[O],E=T.node,C=T.width,_=T.text;b>w.width&&(b-=C-A,C=A,_=null);var L=new v.Polygon({shape:{points:i(h,0,C,y,O===x.length-1,O===0)},style:S.defaults(r.getItemStyle(),{lineJoin:"bevel",text:_,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:S.curry(u,E)});this.group.add(L),t(L,e,E),h+=C+d}},remove:function(){this.group.removeAll()}};function i(e,l,r,s,u,h){var A=[[u?e:e-c,l],[e+r,l],[e+r,l+s],[u?e:e-c,l+s]];return!h&&A.splice(2,0,[e+r+c,l+s/2]),!u&&A.push([e,l+s/2]),A}function t(e,l,r){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&g(r,l)}}var a=o;M.exports=a},"9u0u":function(M,N,n){var v=n("bYtY");function p(m,g){var f={};return v.each(m,function(d){d.each(d.mapDimension("value"),function(c,o){var i="ec-"+d.getName(o);f[i]=f[i]||[],isNaN(c)||f[i].push(c)})}),m[0].map(m[0].mapDimension("value"),function(d,c){for(var o="ec-"+m[0].getName(c),i=0,t=Infinity,a=-Infinity,e=f[o].length,l=0;l<e;l++)t=Math.min(t,f[o][l]),a=Math.max(a,f[o][l]),i+=f[o][l];var r;return g==="min"?r=t:g==="max"?r=a:g==="average"?r=i/e:r=i,e===0?NaN:r})}function S(m){var g={};m.eachSeriesByType("map",function(f){var d=f.getHostGeoModel(),c=d?"o"+d.id:"i"+f.getMapType();(g[c]=g[c]||[]).push(f)}),v.each(g,function(f,d){for(var c=p(v.map(f,function(i){return i.getData()}),f[0].get("mapValueCalculation")),o=0;o<f.length;o++)f[o].originalData=f[o].getData();for(var o=0;o<f.length;o++)f[o].seriesGroup=f,f[o].needsDrawMap=o===0&&!f[o].getHostGeoModel(),f[o].setData(c.cloneShallow()),f[o].mainSeries=f[0]})}M.exports=S},"9wZj":function(M,N,n){var v=n("IwbS"),p=n("FBjb"),S=n("bYtY"),m=S.isObject;function g(t){this.group=new v.Group,this._symbolCtor=t||p}var f=g.prototype;function d(t,a,e,l){return a&&!isNaN(a[0])&&!isNaN(a[1])&&!(l.isIgnore&&l.isIgnore(e))&&!(l.clipShape&&!l.clipShape.contain(a[0],a[1]))&&t.getItemVisual(e,"symbol")!=="none"}f.updateData=function(t,a){a=c(a);var e=this.group,l=t.hostModel,r=this._data,s=this._symbolCtor,u=o(t);r||e.removeAll(),t.diff(r).add(function(h){var A=t.getItemLayout(h);if(d(t,A,h,a)){var y=new s(t,h,u);y.attr("position",A),t.setItemGraphicEl(h,y),e.add(y)}}).update(function(h,A){var y=r.getItemGraphicEl(A),w=t.getItemLayout(h);if(!d(t,w,h,a)){e.remove(y);return}y?(y.updateData(t,h,u),v.updateProps(y,{position:w},l)):(y=new s(t,h),y.attr("position",w)),e.add(y),t.setItemGraphicEl(h,y)}).remove(function(h){var A=r.getItemGraphicEl(h);A&&A.fadeOut(function(){e.remove(A)})}).execute(),this._data=t},f.isPersistent=function(){return!0},f.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(a,e){var l=t.getItemLayout(e);a.attr("position",l)})},f.incrementalPrepareUpdate=function(t){this._seriesScope=o(t),this._data=null,this.group.removeAll()},f.incrementalUpdate=function(t,a,e){e=c(e);function l(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var r=t.start;r<t.end;r++){var s=a.getItemLayout(r);if(d(a,s,r,e)){var u=new this._symbolCtor(a,r,this._seriesScope);u.traverse(l),u.attr("position",s),this.group.add(u),a.setItemGraphicEl(r,u)}}};function c(t){return t!=null&&!m(t)&&(t={isIgnore:t}),t||{}}f.remove=function(t){var a=this.group,e=this._data;e&&t?e.eachItemGraphicEl(function(l){l.fadeOut(function(){a.remove(l)})}):a.removeAll()};function o(t){var a=t.hostModel;return{itemStyle:a.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:a.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:a.get("symbolRotate"),symbolOffset:a.get("symbolOffset"),hoverAnimation:a.get("hoverAnimation"),labelModel:a.getModel("label"),hoverLabelModel:a.getModel("emphasis.label"),cursorStyle:a.get("cursor")}}var i=g;M.exports=i},"9yH6":function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("q1tI"),f=n("x1Ya"),d=n("TSYQ"),c=n.n(d),o=n("H84U"),i=g.createContext(null),t=i.Provider,a=i,e=n("cDf5"),l=n.n(e);function r(j,z){typeof j=="function"?j(z):l()(j)==="object"&&j&&"current"in j&&(j.current=z)}function s(){for(var j=arguments.length,z=new Array(j),R=0;R<j;R++)z[R]=arguments[R];return function(U){z.forEach(function(B){r(B,U)})}}var u=n("uaoM"),h=function(j,z){var R={};for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&z.indexOf(U)<0&&(R[U]=j[U]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,U=Object.getOwnPropertySymbols(j);B<U.length;B++)z.indexOf(U[B])<0&&Object.prototype.propertyIsEnumerable.call(j,U[B])&&(R[U[B]]=j[U[B]]);return R},A=function(z,R){var U,B=g.useContext(a),H=g.useContext(o.b),K=H.getPrefixCls,V=H.direction,W=g.useRef(),G=s(R,W);g.useEffect(function(){Object(u.a)(!("optionType"in z),"Radio","`optionType` is only support in Radio.Group.")},[]);var re=function(le){z.onChange&&z.onChange(le),(B==null?void 0:B.onChange)&&B.onChange(le)},ye=z.prefixCls,$=z.className,ve=z.children,Ce=z.style,Se=h(z,["prefixCls","className","children","style"]),Ke=K("radio",ye),ue=m()({},Se);B&&(ue.name=B.name,ue.onChange=re,ue.checked=z.value===B.value,ue.disabled=z.disabled||B.disabled);var Le=c()($,(U={},p()(U,"".concat(Ke,"-wrapper"),!0),p()(U,"".concat(Ke,"-wrapper-checked"),ue.checked),p()(U,"".concat(Ke,"-wrapper-disabled"),ue.disabled),p()(U,"".concat(Ke,"-wrapper-rtl"),V==="rtl"),U));return g.createElement("label",{className:Le,style:Ce,onMouseEnter:z.onMouseEnter,onMouseLeave:z.onMouseLeave},g.createElement(f.a,m()({},ue,{prefixCls:Ke,ref:G})),ve!==void 0?g.createElement("span",null,ve):null)},y=g.forwardRef(A);y.displayName="Radio",y.defaultProps={type:"radio"};var w=y,b=n("J4zp"),x=n.n(b),O=n("6cGi"),T=n("3Nzz"),E=g.forwardRef(function(j,z){var R=g.useContext(o.b),U=R.getPrefixCls,B=R.direction,H=g.useContext(T.b),K=Object(O.a)(j.defaultValue,{value:j.value}),V=x()(K,2),W=V[0],G=V[1],re=function(ve){var Ce=W,Se=ve.target.value;"value"in j||G(Se);var Ke=j.onChange;Ke&&Se!==Ce&&Ke(ve)},ye=function(){var ve,Ce=j.prefixCls,Se=j.className,Ke=Se===void 0?"":Se,ue=j.options,Le=j.optionType,ee=j.buttonStyle,le=j.disabled,et=j.children,Re=j.size,Ae=j.style,oe=j.id,ce=j.onMouseEnter,be=j.onMouseLeave,Te=U("radio",Ce),Be="".concat(Te,"-group"),De=et;if(ue&&ue.length>0){var ae=Le==="button"?"".concat(Te,"-button"):Te;De=ue.map(function(Je){return typeof Je=="string"?g.createElement(w,{ref:z,key:Je,prefixCls:ae,disabled:le,value:Je,checked:W===Je},Je):g.createElement(w,{ref:z,key:"radio-group-value-options-".concat(Je.value),prefixCls:ae,disabled:Je.disabled||le,value:Je.value,checked:W===Je.value,style:Je.style},Je.label)})}var fe=Re||H,Oe=c()(Be,"".concat(Be,"-").concat(ee),(ve={},p()(ve,"".concat(Be,"-").concat(fe),fe),p()(ve,"".concat(Be,"-rtl"),B==="rtl"),ve),Ke);return g.createElement("div",{className:Oe,style:Ae,onMouseEnter:ce,onMouseLeave:be,id:oe},De)};return g.createElement(t,{value:{onChange:re,value:W,disabled:j.disabled,name:j.name}},ye())});E.defaultProps={buttonStyle:"outline"};var C=g.memo(E),_=function(j,z){var R={};for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&z.indexOf(U)<0&&(R[U]=j[U]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,U=Object.getOwnPropertySymbols(j);B<U.length;B++)z.indexOf(U[B])<0&&Object.prototype.propertyIsEnumerable.call(j,U[B])&&(R[U[B]]=j[U[B]]);return R},L=function(z,R){var U=g.useContext(a),B=g.useContext(o.b),H=B.getPrefixCls,K=z.prefixCls,V=_(z,["prefixCls"]),W=H("radio-button",K);return U&&(V.checked=z.value===U.value,V.disabled=z.disabled||U.disabled),g.createElement(w,m()({prefixCls:W},V,{type:"radio",ref:R}))},P=g.forwardRef(L),k=w;k.Button=P,k.Group=C;var F=N.a=k},A1Ka:function(M,N,n){var v=n("bLfw"),p=n("sS/r"),S=n("D5nY"),m=S.detectSourceFormat,g=n("k9D9"),f=g.SERIES_LAYOUT_BY_COLUMN;v.extend({type:"dataset",defaultOption:{seriesLayoutBy:f,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),p.extend({type:"dataset"})},ABKa:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("Qs9O")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="FolderOutlined";var i=m.forwardRef(o);N.default=i},ACnJ:function(M,N,n){"use strict";n.d(N,"b",function(){return g});var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=["xxl","xl","lg","md","sm","xs"],f={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},d=new Map,c=-1,o={},i={matchHandlers:{},dispatch:function(a){return o=a,d.forEach(function(e){return e(o)}),d.size>=1},subscribe:function(a){return d.size||this.register(),c+=1,d.set(c,a),a(o),c},unsubscribe:function(a){d.delete(a),d.size||this.unregister()},unregister:function(){var a=this;Object.keys(f).forEach(function(e){var l=f[e],r=a.matchHandlers[l];r==null||r.mql.removeListener(r==null?void 0:r.listener)}),d.clear()},register:function(){var a=this;Object.keys(f).forEach(function(e){var l=f[e],r=function(h){var A=h.matches;a.dispatch(m()(m()({},o),p()({},e,A)))},s=window.matchMedia(l);s.addListener(r),a.matchHandlers[l]={mql:s,listener:r},r(s)})}};N.a=i},AE9C:function(M,N,n){var v=n("bYtY"),p=n("crZl"),S=n("IwbS"),m=n("oVpE"),g=m.createSymbol,f=n("+TT/"),d=n("y7Aq"),c=p.extend({type:"visualMap.piecewise",doRender:function(){var i=this.group;i.removeAll();var t=this.visualMapModel,a=t.get("textGap"),e=t.textStyleModel,l=e.getFont(),r=e.getTextColor(),s=this._getItemAlign(),u=t.itemSize,h=this._getViewData(),A=h.endsText,y=v.retrieve(t.get("showLabel",!0),!A);A&&this._renderEndsText(i,A[0],u,y,s),v.each(h.viewPieceList,w,this),A&&this._renderEndsText(i,A[1],u,y,s),f.box(t.get("orient"),i,t.get("itemGap")),this.renderBackground(i),this.positionGroup(i);function w(b){var x=b.piece,O=new S.Group;O.onclick=v.bind(this._onItemClick,this,x),this._enableHoverLink(O,b.indexInModelPieceList);var T=t.getRepresentValue(x);if(this._createItemSymbol(O,T,[0,0,u[0],u[1]]),y){var E=this.visualMapModel.getValueState(T);O.add(new S.Text({style:{x:s==="right"?-a:u[0]+a,y:u[1]/2,text:x.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:r,opacity:E==="outOfRange"?.5:1}}))}i.add(O)}},_enableHoverLink:function(i,t){i.on("mouseover",v.bind(a,this,"highlight")).on("mouseout",v.bind(a,this,"downplay"));function a(e){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:e,batch:d.makeHighDownBatch(l.findTargetDataIndices(t),l)})}},_getItemAlign:function(){var i=this.visualMapModel,t=i.option;if(t.orient==="vertical")return d.getItemAlign(i,this.api,i.itemSize);var a=t.align;return(!a||a==="auto")&&(a="left"),a},_renderEndsText:function(i,t,a,e,l){if(!t)return;var r=new S.Group,s=this.visualMapModel.textStyleModel;r.add(new S.Text({style:{x:e?l==="right"?a[0]:0:a[0]/2,y:a[1]/2,textVerticalAlign:"middle",textAlign:e?l:"center",text:t,textFont:s.getFont(),textFill:s.getTextColor()}})),i.add(r)},_getViewData:function(){var i=this.visualMapModel,t=v.map(i.getPieceList(),function(r,s){return{piece:r,indexInModelPieceList:s}}),a=i.get("text"),e=i.get("orient"),l=i.get("inverse");return(e==="horizontal"?l:!l)?t.reverse():a&&(a=a.slice().reverse()),{viewPieceList:t,endsText:a}},_createItemSymbol:function(i,t,a){i.add(g(this.getControllerVisual(t,"symbol"),a[0],a[1],a[2],a[3],this.getControllerVisual(t,"color")))},_onItemClick:function(i){var t=this.visualMapModel,a=t.option,e=v.clone(a.selected),l=t.getSelectedMapKey(i);a.selectedMode==="single"?(e[l]=!0,v.each(e,function(r,s){e[s]=s===l})):e[l]=!e[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:e})}}),o=c;M.exports=o},AEZ6:function(M,N,n){var v=n("bYtY"),p=v.each,S=v.createHashMap,m=n("T4UG"),g=n("MwEJ"),f=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(o,i){var t=this.getSource();return d(t,this),g(t,this)},getRawIndicesByActiveState:function(o){var i=this.coordinateSystem,t=this.getData(),a=[];return i.eachActiveState(t,function(e,l){o===e&&a.push(t.getRawIndex(l))}),a},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function d(o,i){if(o.encodeDefine)return;var t=i.ecModel.getComponent("parallel",i.get("parallelIndex"));if(!t)return;var a=o.encodeDefine=S();p(t.dimensions,function(e){var l=c(e);a.set(e,l)})}function c(o){return+o.replace("dim","")}M.exports=f},AH3D:function(M,N,n){var v=n("ProS");n("y4/Y"),n("qWt2"),n("Qvb6"),v.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),v.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("5GtS"),m=n("4NO4"),g=m.defaultEmphasis,f=n("D5nY"),d=f.makeSeriesEncodeForNameBased,c=n("xKMd"),o=v.extendSeriesModel({type:"series.funnel",init:function(t){o.superApply(this,"init",arguments),this.legendVisualProvider=new c(p.bind(this.getData,this),p.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,a){return S(this,{coordDimensions:["value"],encodeDefaulter:p.curry(d,this)})},_defaultLabelLine:function(t){g(t,"labelLine",["show"]);var a=t.labelLine,e=t.emphasis.labelLine;a.show=a.show&&t.label.show,e.show=e.show&&t.emphasis.label.show},getDataParams:function(t){var a=this.getData(),e=o.superCall(this,"getDataParams",t),l=a.mapDimension("value"),r=a.getSum(l);return e.percent=r?+(a.get(l,t)/r*100).toFixed(2):0,e.$vars.push("percent"),e},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}}}}),i=o;M.exports=i},ANhw:function(M,N){(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v={rotl:function(S,m){return S<<m|S>>>32-m},rotr:function(S,m){return S<<32-m|S>>>m},endian:function(S){if(S.constructor==Number)return v.rotl(S,8)&16711935|v.rotl(S,24)&4278255360;for(var m=0;m<S.length;m++)S[m]=v.endian(S[m]);return S},randomBytes:function(S){for(var m=[];S>0;S--)m.push(Math.floor(Math.random()*256));return m},bytesToWords:function(S){for(var m=[],g=0,f=0;g<S.length;g++,f+=8)m[f>>>5]|=S[g]<<24-f%32;return m},wordsToBytes:function(S){for(var m=[],g=0;g<S.length*32;g+=8)m.push(S[g>>>5]>>>24-g%32&255);return m},bytesToHex:function(S){for(var m=[],g=0;g<S.length;g++)m.push((S[g]>>>4).toString(16)),m.push((S[g]&15).toString(16));return m.join("")},hexToBytes:function(S){for(var m=[],g=0;g<S.length;g+=2)m.push(parseInt(S.substr(g,2),16));return m},bytesToBase64:function(S){for(var m=[],g=0;g<S.length;g+=3)for(var f=S[g]<<16|S[g+1]<<8|S[g+2],d=0;d<4;d++)g*8+d*6<=S.length*8?m.push(n.charAt(f>>>6*(3-d)&63)):m.push("=");return m.join("")},base64ToBytes:function(S){S=S.replace(/[^A-Z0-9+\/]/ig,"");for(var m=[],g=0,f=0;g<S.length;f=++g%4){if(f==0)continue;m.push((n.indexOf(S.charAt(g-1))&Math.pow(2,-2*f+8)-1)<<f*2|n.indexOf(S.charAt(g))>>>6-f*2)}return m}};M.exports=v})()},ANjR:function(M,N,n){var v=n("bYtY");function p(m,g){return g=g||[0,0],v.map([0,1],function(f){var d=g[f],c=m[f]/2,o=[],i=[];return o[f]=d-c,i[f]=d+c,o[1-f]=i[1-f]=g[1-f],Math.abs(this.dataToPoint(o)[f]-this.dataToPoint(i)[f])},this)}function S(m){var g=m.getBoundingRect();return{coordSys:{type:"geo",x:g.x,y:g.y,width:g.width,height:g.height,zoom:m.getZoom()},api:{coord:function(f){return m.dataToPoint(f)},size:v.bind(p,m)}}}M.exports=S},AOa7:function(M,N,n){},AUH6:function(M,N,n){var v=n("bYtY"),p=n("mFDi"),S=n("bMXI"),m=n("W4dC");function g(c,o,i,t){S.call(this,c),this.map=o;var a=m.load(o,i);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=t==null?!0:t,this.regions=a.regions,this._rect=a.boundingRect}g.prototype={constructor:g,type:"geo",dimensions:["lng","lat"],containCoord:function(c){for(var o=this.regions,i=0;i<o.length;i++)if(o[i].contain(c))return!0;return!1},transformTo:function(c,o,i,t){var a=this.getBoundingRect(),e=this._invertLongitute;a=a.clone(),e&&(a.y=-a.y-a.height);var l=this._rawTransformable;if(l.transform=a.calculateTransform(new p(c,o,i,t)),l.decomposeTransform(),e){var r=l.scale;r[1]=-r[1]}l.updateTransform(),this._updateTransform()},getRegion:function(c){return this._regionsMap.get(c)},getRegionByCoord:function(c){for(var o=this.regions,i=0;i<o.length;i++)if(o[i].contain(c))return o[i]},addGeoCoord:function(c,o){this._nameCoordMap.set(c,o)},getGeoCoord:function(c){return this._nameCoordMap.get(c)},getBoundingRect:function(){return this._rect},dataToPoint:function(c,o,i){if(typeof c=="string"&&(c=this.getGeoCoord(c)),c)return S.prototype.dataToPoint.call(this,c,o,i)},convertToPixel:v.curry(f,"dataToPoint"),convertFromPixel:v.curry(f,"pointToData")},v.mixin(g,S);function f(c,o,i,t){var a=i.geoModel,e=i.seriesModel,l=a?a.coordinateSystem:e?e.coordinateSystem||(e.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[c](t):null}var d=g;M.exports=d},AVZG:function(M,N,n){var v=n("bYtY");function p(S,m,g){g=g||{};var f=S.coordinateSystem,d=m.axis,c={},o=d.getAxesOnZeroOf()[0],i=d.position,t=o?"onZero":i,a=d.dim,e=f.getRect(),l=[e.x,e.x+e.width,e.y,e.y+e.height],r={left:0,right:1,top:0,bottom:1,onZero:2},s=m.get("offset")||0,u=a==="x"?[l[2]-s,l[3]+s]:[l[0]-s,l[1]+s];if(o){var h=o.toGlobalCoord(o.dataToCoord(0));u[r.onZero]=Math.max(Math.min(h,u[1]),u[0])}c.position=[a==="y"?u[r[t]]:l[0],a==="x"?u[r[t]]:l[3]],c.rotation=Math.PI/2*(a==="x"?0:1);var A={top:-1,bottom:1,left:-1,right:1};c.labelDirection=c.tickDirection=c.nameDirection=A[i],c.labelOffset=o?u[r[i]]-u[r.onZero]:0,m.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),v.retrieve(g.labelInside,m.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var y=m.get("axisLabel.rotate");return c.labelRotate=t==="top"?-y:y,c.z2=1,c}N.layout=p},"Ae+d":function(M,N){function n(p,S,m){var g=p.target,f=g.position;f[0]+=S,f[1]+=m,g.dirty()}function v(p,S,m,g){var f=p.target,d=p.zoomLimit,c=f.position,o=f.scale,i=p.zoom=p.zoom||1;if(i*=S,d){var t=d.min||0,a=d.max||Infinity;i=Math.max(Math.min(a,i),t)}var e=i/p.zoom;p.zoom=i,c[0]-=(m-c[0])*(e-1),c[1]-=(g-c[1])*(e-1),o[0]*=e,o[1]*=e,f.dirty()}N.updateViewOnPan=n,N.updateViewOnZoom=v},Ae16:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("IwbS");n("Wqna"),n("rySg"),v.extendComponentView({type:"grid",render:function(m,g){this.group.removeAll(),m.get("show")&&this.group.add(new S.Rect({shape:m.coordinateSystem.getRect(),style:p.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),v.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},Awhp:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("PQMj"),m=n.n(S)},"B+YJ":function(M,N,n){n("TYVI"),n("p1MT")},"B6l+":function(M,N,n){var v=n("Sq3C"),p=n("Z1HP"),S=n("Sxd8"),m=n("dt0z");function g(f,d,c){f=m(f),d=S(d);var o=d?p(f):0;return d&&o<d?f+v(d-o,c):f}M.exports=g},B9cy:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("0XgM"),m=n.n(S)},B9fm:function(M,N,n){var v=n("bYtY"),p=n("Qe9p"),S=n("YH21"),m=n("Ze12"),g=n("ItGF"),f=n("7aKB"),d=v.each,c=f.toCamelCase,o=["","-webkit-","-moz-","-o-"],i="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function t(u){var h="cubic-bezier(0.23, 1, 0.32, 1)",A="left "+u+"s "+h+",top "+u+"s "+h;return v.map(o,function(y){return y+"transition:"+A}).join(";")}function a(u){var h=[],A=u.get("fontSize"),y=u.getTextColor();return y&&h.push("color:"+y),h.push("font:"+u.getFont()),A&&h.push("line-height:"+Math.round(A*3/2)+"px"),d(["decoration","align"],function(w){var b=u.get(w);b&&h.push("text-"+w+":"+b)}),h.join(";")}function e(u){var h=[],A=u.get("transitionDuration"),y=u.get("backgroundColor"),w=u.getModel("textStyle"),b=u.get("padding");return A&&h.push(t(A)),y&&(g.canvasSupported?h.push("background-Color:"+y):(h.push("background-Color:#"+p.toHex(y)),h.push("filter:alpha(opacity=70)"))),d(["width","color","radius"],function(x){var O="border-"+x,T=c(O),E=u.get(T);E!=null&&h.push(O+":"+E+(x==="color"?"":"px"))}),h.push(a(w)),b!=null&&h.push("padding:"+f.normalizeCssArray(b).join("px ")+"px"),h.join(";")+";"}function l(u,h,A,y,w){var b=h&&h.painter;if(A){var x=b&&b.getViewportRoot();x&&m.transformLocalCoord(u,x,document.body,y,w)}else{u[0]=y,u[1]=w;var O=b&&b.getViewportRootOffset();O&&(u[0]+=O.offsetLeft,u[1]+=O.offsetTop)}}function r(u,h,A){if(g.wxa)return null;var y=document.createElement("div");y.domBelongToZr=!0,this.el=y;var w=this._zr=h.getZr(),b=this._appendToBody=A&&A.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,w,b,h.getWidth()/2,h.getHeight()/2),b?document.body.appendChild(y):u.appendChild(y),this._container=u,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=w.handler,E=w.painter.getViewportRoot();S.normalizeEvent(E,O,!0),T.dispatch("mousemove",O)}},y.onmouseleave=function(){x._enterable&&(x._show&&x.hideLater(x._hideDelay)),x._inContent=!1}}r.prototype={constructor:r,_enterable:!0,update:function(){var u=this._container,h=u.currentStyle||document.defaultView.getComputedStyle(u),A=u.style;A.position!=="absolute"&&h.position!=="absolute"&&(A.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var h=this.el,A=this._styleCoord;h.style.cssText=i+e(u)+";left:"+A[0]+"px;top:"+A[1]+"px;"+(u.get("extraCssText")||""),h.style.display=h.innerHTML?"block":"none",h.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(u){this.el.innerHTML=u==null?"":u},setEnterable:function(u){this._enterable=u},getSize:function(){var u=this.el;return[u.clientWidth,u.clientHeight]},moveTo:function(u,h){var A=this._styleCoord;l(A,this._zr,this._appendToBody,u,h);var y=this.el.style;y.left=A[0]+"px",y.top=A[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(u){this._show&&!(this._inContent&&this._enterable)&&(u?(this._hideDelay=u,this._show=!1,this._hideTimeout=setTimeout(v.bind(this.hide,this),u)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var u=this.el.clientWidth,h=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var A=document.defaultView.getComputedStyle(this.el);A&&(u+=parseInt(A.borderLeftWidth,10)+parseInt(A.borderRightWidth,10),h+=parseInt(A.borderTopWidth,10)+parseInt(A.borderBottomWidth,10))}return{width:u,height:h}}};var s=r;M.exports=s},BEtg:function(M,N){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/M.exports=function(p){return p!=null&&(n(p)||v(p)||!!p._isBuffer)};function n(p){return!!p.constructor&&typeof p.constructor.isBuffer=="function"&&p.constructor.isBuffer(p)}function v(p){return typeof p.readFloatLE=="function"&&typeof p.slice=="function"&&n(p.slice(0,0))}},BMrR:function(M,N,n){"use strict";var v=n("qrJ5");N.a=v.a},BPZU:function(M,N){var n=32,v=7,p=256;function S(t){for(var a=0;t>=n;)a|=t&1,t>>=1;return t+a}function m(t,a,e,l){var r=a+1;if(r===e)return 1;if(l(t[r++],t[a])<0){for(;r<e&&l(t[r],t[r-1])<0;)r++;g(t,a,r)}else for(;r<e&&l(t[r],t[r-1])>=0;)r++;return r-a}function g(t,a,e){for(e--;a<e;){var l=t[a];t[a++]=t[e],t[e--]=l}}function f(t,a,e,l,r){for(l===a&&l++;l<e;l++){for(var s=t[l],u=a,h=l,A;u<h;)A=u+h>>>1,r(s,t[A])<0?h=A:u=A+1;var y=l-u;switch(y){case 3:t[u+3]=t[u+2];case 2:t[u+2]=t[u+1];case 1:t[u+1]=t[u];break;default:for(;y>0;)t[u+y]=t[u+y-1],y--}t[u]=s}}function d(t,a,e,l,r,s){var u=0,h=0,A=1;if(s(t,a[e+r])>0){for(h=l-r;A<h&&s(t,a[e+r+A])>0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h),u+=r,A+=r}else{for(h=r+1;A<h&&s(t,a[e+r-A])<=0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h);var y=u;u=r-A,A=r-y}for(u++;u<A;){var w=u+(A-u>>>1);s(t,a[e+w])>0?u=w+1:A=w}return A}function c(t,a,e,l,r,s){var u=0,h=0,A=1;if(s(t,a[e+r])<0){for(h=r+1;A<h&&s(t,a[e+r-A])<0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h);var y=u;u=r-A,A=r-y}else{for(h=l-r;A<h&&s(t,a[e+r+A])>=0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h),u+=r,A+=r}for(u++;u<A;){var w=u+(A-u>>>1);s(t,a[e+w])<0?A=w:u=w+1}return A}function o(t,a){var e=v,l=0,r=p,s=0,u,h,A=0;l=t.length,l<2*p&&(r=l>>>1);var y=[];s=l<120?5:l<1542?10:l<119151?19:40,u=[],h=[];function w(C,_){u[A]=C,h[A]=_,A+=1}function b(){for(;A>1;){var C=A-2;if(C>=1&&h[C-1]<=h[C]+h[C+1]||C>=2&&h[C-2]<=h[C]+h[C-1])h[C-1]<h[C+1]&&C--;else if(h[C]>h[C+1])break;O(C)}}function x(){for(;A>1;){var C=A-2;C>0&&h[C-1]<h[C+1]&&C--,O(C)}}function O(C){var _=u[C],L=h[C],P=u[C+1],k=h[C+1];h[C]=L+k,C===A-3&&(u[C+1]=u[C+2],h[C+1]=h[C+2]),A--;var F=c(t[P],t,_,L,0,a);if(_+=F,L-=F,L===0)return;if(k=d(t[_+L-1],t,P,k,k-1,a),k===0)return;L<=k?T(_,L,P,k):E(_,L,P,k)}function T(C,_,L,P){var k=0;for(k=0;k<_;k++)y[k]=t[C+k];var F=0,j=L,z=C;if(t[z++]=t[j++],--P===0){for(k=0;k<_;k++)t[z+k]=y[F+k];return}if(_===1){for(k=0;k<P;k++)t[z+k]=t[j+k];t[z+P]=y[F];return}for(var R=e,U,B,H;;){U=0,B=0,H=!1;do if(a(t[j],y[F])<0){if(t[z++]=t[j++],B++,U=0,--P===0){H=!0;break}}else if(t[z++]=y[F++],U++,B=0,--_===1){H=!0;break}while((U|B)<R);if(H)break;do{if(U=c(t[j],y,F,_,0,a),U!==0){for(k=0;k<U;k++)t[z+k]=y[F+k];if(z+=U,F+=U,_-=U,_<=1){H=!0;break}}if(t[z++]=t[j++],--P===0){H=!0;break}if(B=d(y[F],t,j,P,0,a),B!==0){for(k=0;k<B;k++)t[z+k]=t[j+k];if(z+=B,j+=B,P-=B,P===0){H=!0;break}}if(t[z++]=y[F++],--_===1){H=!0;break}R--}while(U>=v||B>=v);if(H)break;R<0&&(R=0),R+=2}if(e=R,e<1&&(e=1),_===1){for(k=0;k<P;k++)t[z+k]=t[j+k];t[z+P]=y[F]}else{if(_===0)throw new Error;for(k=0;k<_;k++)t[z+k]=y[F+k]}}function E(C,_,L,P){var k=0;for(k=0;k<P;k++)y[k]=t[L+k];var F=C+_-1,j=P-1,z=L+P-1,R=0,U=0;if(t[z--]=t[F--],--_===0){for(R=z-(P-1),k=0;k<P;k++)t[R+k]=y[k];return}if(P===1){for(z-=_,F-=_,U=z+1,R=F+1,k=_-1;k>=0;k--)t[U+k]=t[R+k];t[z]=y[j];return}for(var B=e;;){var H=0,K=0,V=!1;do if(a(y[j],t[F])<0){if(t[z--]=t[F--],H++,K=0,--_===0){V=!0;break}}else if(t[z--]=y[j--],K++,H=0,--P===1){V=!0;break}while((H|K)<B);if(V)break;do{if(H=_-c(y[j],t,C,_,_-1,a),H!==0){for(z-=H,F-=H,_-=H,U=z+1,R=F+1,k=H-1;k>=0;k--)t[U+k]=t[R+k];if(_===0){V=!0;break}}if(t[z--]=y[j--],--P===1){V=!0;break}if(K=P-d(t[F],y,0,P,P-1,a),K!==0){for(z-=K,j-=K,P-=K,U=z+1,R=j+1,k=0;k<K;k++)t[U+k]=y[R+k];if(P<=1){V=!0;break}}if(t[z--]=t[F--],--_===0){V=!0;break}B--}while(H>=v||K>=v);if(V)break;B<0&&(B=0),B+=2}if(e=B,e<1&&(e=1),P===1){for(z-=_,F-=_,U=z+1,R=F+1,k=_-1;k>=0;k--)t[U+k]=t[R+k];t[z]=y[j]}else{if(P===0)throw new Error;for(R=z-(P-1),k=0;k<P;k++)t[R+k]=y[k]}}this.mergeRuns=b,this.forceMergeRuns=x,this.pushRun=w}function i(t,a,e,l){e||(e=0),l||(l=t.length);var r=l-e;if(r<2)return;var s=0;if(r<n){s=m(t,e,l,a),f(t,e,l,e+s,a);return}var u=new o(t,a),h=S(r);do{if(s=m(t,e,l,a),s<h){var A=r;A>h&&(A=h),f(t,e,e+A,e+s,a),s=A}u.pushRun(e,s),u.mergeRuns(),r-=s,e+=s}while(r!==0);u.forceMergeRuns()}M.exports=i},Bd2K:function(M,N,n){(function(v){v(n("VrN/"),n("osHv"))})(function(v){v.defineOption("autoCloseTags",!1,function(o,i,t){if(t!=v.Init&&t&&o.removeKeyMap("autoCloseTags"),!i)return;var a={name:"autoCloseTags"};(typeof i!="object"||i.whenClosing!==!1)&&(a["'/'"]=function(e){return f(e)}),(typeof i!="object"||i.whenOpening!==!1)&&(a["'>'"]=function(e){return m(e)}),o.addKeyMap(a)});var p=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],S=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function m(o){if(o.getOption("disableInput"))return v.Pass;for(var i=o.listSelections(),t=[],a=o.getOption("autoCloseTags"),e=0;e<i.length;e++){if(!i[e].empty())return v.Pass;var l=i[e].head,r=o.getTokenAt(l),s=v.innerMode(o.getMode(),r.state),u=s.state,h=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(u),A=h&&h.name;if(!A)return v.Pass;var y=s.mode.configuration=="html",w=typeof a=="object"&&a.dontCloseTags||y&&p,b=typeof a=="object"&&a.indentTags||y&&S;r.end>l.ch&&(A=A.slice(0,A.length-r.end+l.ch));var x=A.toLowerCase();if(!A||r.type=="string"&&(r.end!=l.ch||!/[\"\']/.test(r.string.charAt(r.string.length-1))||r.string.length==1)||r.type=="tag"&&h.close||r.string.indexOf("/")==l.ch-r.start-1||w&&d(w,x)>-1||c(o,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(u)||[],A,l,!0))return v.Pass;var O=typeof a=="object"&&a.emptyTags;if(O&&d(O,A)>-1){t[e]={text:"/>",newPos:v.Pos(l.line,l.ch+2)};continue}var T=b&&d(b,x)>-1;t[e]={indent:T,text:">"+(T?`
`:"")+"</"+A+">",newPos:T?v.Pos(l.line+1,0):v.Pos(l.line,l.ch+1)}}for(var E=typeof a=="object"&&a.dontIndentOnAutoClose,e=i.length-1;e>=0;e--){var C=t[e];o.replaceRange(C.text,i[e].head,i[e].anchor,"+insert");var _=o.listSelections().slice(0);_[e]={head:C.newPos,anchor:C.newPos},o.setSelections(_),!E&&C.indent&&(o.indentLine(C.newPos.line,null,!0),o.indentLine(C.newPos.line+1,null,!0))}}function g(o,i){for(var t=o.listSelections(),a=[],e=i?"/":"</",l=o.getOption("autoCloseTags"),r=typeof l=="object"&&l.dontIndentOnSlash,s=0;s<t.length;s++){if(!t[s].empty())return v.Pass;var u=t[s].head,h=o.getTokenAt(u),A=v.innerMode(o.getMode(),h.state),y=A.state;if(i&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=u.ch-1))return v.Pass;var w,b=A.mode.name!="xml"&&o.getMode().name=="htmlmixed";if(b&&A.mode.name=="javascript")w=e+"script";else if(b&&A.mode.name=="css")w=e+"style";else{var x=A.mode.xmlCurrentContext&&A.mode.xmlCurrentContext(y);if(!x||x.length&&c(o,x,x[x.length-1],u))return v.Pass;w=e+x[x.length-1]}o.getLine(u.line).charAt(h.end)!=">"&&(w+=">"),a[s]=w}if(o.replaceSelections(a),t=o.listSelections(),!r)for(var s=0;s<t.length;s++)(s==t.length-1||t[s].head.line<t[s+1].head.line)&&o.indentLine(t[s].head.line)}function f(o){return o.getOption("disableInput")?v.Pass:g(o,!0)}v.commands.closeTag=function(o){return g(o)};function d(o,i){if(o.indexOf)return o.indexOf(i);for(var t=0,a=o.length;t<a;++t)if(o[t]==i)return t;return-1}function c(o,i,t,a,e){if(!v.scanForClosingTag)return!1;var l=Math.min(o.lastLine()+1,a.line+500),r=v.scanForClosingTag(o,a,null,l);if(!r||r.tag!=t)return!1;for(var s=e?1:0,u=i.length-1;u>=0&&i[u]==t;u--)++s;a=r.to;for(var u=1;u<s;u++){var h=v.scanForClosingTag(o,a,null,l);if(!h||h.tag!=t)return!1;a=h.to}return!0}})},BlVb:function(M,N,n){var v=n("hyiK"),p=1e-8;function S(g,f){return Math.abs(g-f)<p}function m(g,f,d){var c=0,o=g[0];if(!o)return!1;for(var i=1;i<g.length;i++){var t=g[i];c+=v(o[0],o[1],t[0],t[1],f,d),o=t}var a=g[0];return(!S(o[0],a[0])||!S(o[1],a[1]))&&(c+=v(o[0],o[1],a[0],a[1],f,d)),c!==0}N.contain=m},BoS7:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("czTT"),m=n.n(S)},Bq2U:function(M,N,n){var v=n("RDYZ"),p=n("Qe9p"),S=n("bYtY"),m=S.isArrayLike,g=Array.prototype.slice;function f(w,b){return w[b]}function d(w,b,x){w[b]=x}function c(w,b,x){return(b-w)*x+w}function o(w,b,x){return x>.5?b:w}function i(w,b,x,O,T){var E=w.length;if(T===1)for(var C=0;C<E;C++)O[C]=c(w[C],b[C],x);else for(var _=E&&w[0].length,C=0;C<E;C++)for(var L=0;L<_;L++)O[C][L]=c(w[C][L],b[C][L],x)}function t(w,b,x){var O=w.length,T=b.length;if(O!==T){var E=O>T;if(E)w.length=T;else for(var C=O;C<T;C++)w.push(x===1?b[C]:g.call(b[C]))}for(var _=w[0]&&w[0].length,C=0;C<w.length;C++)if(x===1)isNaN(w[C])&&(w[C]=b[C]);else for(var L=0;L<_;L++)isNaN(w[C][L])&&(w[C][L]=b[C][L])}function a(w,b,x){if(w===b)return!0;var O=w.length;if(O!==b.length)return!1;if(x===1){for(var T=0;T<O;T++)if(w[T]!==b[T])return!1}else for(var E=w[0].length,T=0;T<O;T++)for(var C=0;C<E;C++)if(w[T][C]!==b[T][C])return!1;return!0}function e(w,b,x,O,T,E,C,_,L){var P=w.length;if(L===1)for(var k=0;k<P;k++)_[k]=l(w[k],b[k],x[k],O[k],T,E,C);else for(var F=w[0].length,k=0;k<P;k++)for(var j=0;j<F;j++)_[k][j]=l(w[k][j],b[k][j],x[k][j],O[k][j],T,E,C)}function l(w,b,x,O,T,E,C){var _=(x-w)*.5,L=(O-b)*.5;return(2*(b-x)+_+L)*C+(-3*(b-x)-2*_-L)*E+_*T+b}function r(w){if(m(w)){var b=w.length;if(m(w[0])){for(var x=[],O=0;O<b;O++)x.push(g.call(w[O]));return x}return g.call(w)}return w}function s(w){return w[0]=Math.floor(w[0]),w[1]=Math.floor(w[1]),w[2]=Math.floor(w[2]),"rgba("+w.join(",")+")"}function u(w){var b=w[w.length-1].value;return m(b&&b[0])?2:1}function h(w,b,x,O,T,E){var C=w._getter,_=w._setter,L=b==="spline",P=O.length;if(!P)return;var k=O[0].value,F=m(k),j=!1,z=!1,R=F?u(O):0,U;O.sort(function(Ae,oe){return Ae.time-oe.time}),U=O[P-1].time;for(var B=[],H=[],K=O[0].value,V=!0,W=0;W<P;W++){B.push(O[W].time/U);var G=O[W].value;if(F&&a(G,K,R)||!F&&G===K||(V=!1),K=G,typeof G=="string"){var re=p.parse(G);re?(G=re,j=!0):z=!0}H.push(G)}if(!E&&V)return;for(var ye=H[P-1],W=0;W<P-1;W++)F?t(H[W],ye,R):isNaN(H[W])&&!isNaN(ye)&&!z&&!j&&(H[W]=ye);F&&t(C(w._target,T),ye,R);var $=0,ve=0,Ce,Se,Ke,ue,Le,ee;if(j)var le=[0,0,0,0];var et=function(oe,ce){var be;if(ce<0)be=0;else if(ce<ve){for(Ce=Math.min($+1,P-1),be=Ce;be>=0&&!(B[be]<=ce);be--);be=Math.min(be,P-2)}else{for(be=$;be<P&&!(B[be]>ce);be++);be=Math.min(be-1,P-2)}$=be,ve=ce;var Te=B[be+1]-B[be];if(Te===0)return;if(Se=(ce-B[be])/Te,L)if(ue=H[be],Ke=H[be===0?be:be-1],Le=H[be>P-2?P-1:be+1],ee=H[be>P-3?P-1:be+2],F)e(Ke,ue,Le,ee,Se,Se*Se,Se*Se*Se,C(oe,T),R);else{var Be;if(j)Be=e(Ke,ue,Le,ee,Se,Se*Se,Se*Se*Se,le,1),Be=s(le);else{if(z)return o(ue,Le,Se);Be=l(Ke,ue,Le,ee,Se,Se*Se,Se*Se*Se)}_(oe,T,Be)}else if(F)i(H[be],H[be+1],Se,C(oe,T),R);else{var Be;if(j)i(H[be],H[be+1],Se,le,1),Be=s(le);else{if(z)return o(H[be],H[be+1],Se);Be=c(H[be],H[be+1],Se)}_(oe,T,Be)}},Re=new v({target:w._target,life:U,loop:w._loop,delay:w._delay,onframe:et,ondestroy:x});return b&&b!=="spline"&&(Re.easing=b),Re}var A=function(b,x,O,T){this._tracks={},this._target=b,this._loop=x||!1,this._getter=O||f,this._setter=T||d,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};A.prototype={when:function(b,x){var O=this._tracks;for(var T in x){if(!x.hasOwnProperty(T))continue;if(!O[T]){O[T]=[];var E=this._getter(this._target,T);if(E==null)continue;b!==0&&O[T].push({time:0,value:r(E)})}O[T].push({time:b,value:x[T]})}return this},during:function(b){return this._onframeList.push(b),this},pause:function(){for(var b=0;b<this._clipList.length;b++)this._clipList[b].pause();this._paused=!0},resume:function(){for(var b=0;b<this._clipList.length;b++)this._clipList[b].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var b=this._doneList,x=b.length,O=0;O<x;O++)b[O].call(this)},start:function(b,x){var O=this,T=0,E=function(){T--,T||O._doneCallback()},C;for(var _ in this._tracks){if(!this._tracks.hasOwnProperty(_))continue;var L=h(this,b,E,this._tracks[_],_,x);L&&(this._clipList.push(L),T++,this.animation&&this.animation.addClip(L),C=L)}if(C){var P=C.onframe;C.onframe=function(k,F){P(k,F);for(var j=0;j<O._onframeList.length;j++)O._onframeList[j](k,F)}}return T||this._doneCallback(),this},stop:function(b){for(var x=this._clipList,O=this.animation,T=0;T<x.length;T++){var E=x[T];b&&E.onframe(this._target,1),O&&O.removeClip(E)}x.length=0},delay:function(b){return this._delay=b,this},done:function(b){return b&&this._doneList.push(b),this},getClips:function(){return this._clipList}};var y=A;M.exports=y},Bqw1:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};N.default=v},Bsck:function(M,N,n){var v=n("bYtY"),p=n("Qxkt"),S=n("Mdki"),m=n("YXkt"),g=n("sdST"),f=function(i,t){this.name=i||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};f.prototype={constructor:f,isRemoved:function(){return this.dataIndex<0},eachNode:function(i,t,a){typeof i=="function"&&(a=t,t=i,i=null),i=i||{},v.isString(i)&&(i={order:i});var e=i.order||"preorder",l=this[i.attr||"children"],r;e==="preorder"&&(r=t.call(a,this));for(var s=0;!r&&s<l.length;s++)l[s].eachNode(i,t,a);e==="postorder"&&t.call(a,this)},updateDepthAndHeight:function(i){var t=0;this.depth=i;for(var a=0;a<this.children.length;a++){var e=this.children[a];e.updateDepthAndHeight(i+1),e.height>t&&(t=e.height)}this.height=t+1},getNodeById:function(i){if(this.getId()===i)return this;for(var t=0,a=this.children,e=a.length;t<e;t++){var l=a[t].getNodeById(i);if(l)return l}},contains:function(i){if(i===this)return!0;for(var t=0,a=this.children,e=a.length;t<e;t++){var l=a[t].contains(i);if(l)return l}},getAncestors:function(i){for(var t=[],a=i?this:this.parentNode;a;)t.push(a),a=a.parentNode;return t.reverse(),t},getValue:function(i){var t=this.hostTree.data;return t.get(t.getDimension(i||"value"),this.dataIndex)},setLayout:function(i,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,i,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(i){if(this.dataIndex<0)return;var t=this.hostTree,a=t.data.getItemModel(this.dataIndex),e=this.getLevelModel();return e?a.getModel(i,e.getModel(i)):a.getModel(i)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(i,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,i,t)},getVisual:function(i,t){return this.hostTree.data.getItemVisual(this.dataIndex,i,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(i){for(var t=i.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(i){return i!==this&&i.isAncestorOf(this)}};function d(i,t){this.root,this.data,this._nodes=[],this.hostModel=i,this.levelModels=v.map(t||[],function(a){return new p(a,i,i.ecModel)})}d.prototype={constructor:d,type:"tree",eachNode:function(i,t,a){this.root.eachNode(i,t,a)},getNodeByDataIndex:function(i){var t=this.data.getRawIndex(i);return this._nodes[t]},getNodeByName:function(i){return this.root.getNodeByName(i)},update:function(){for(var i=this.data,t=this._nodes,a=0,e=t.length;a<e;a++)t[a].dataIndex=-1;for(var a=0,e=i.count();a<e;a++)t[i.getRawIndex(a)].dataIndex=a},clearLayouts:function(){this.data.clearItemLayouts()}},d.createTree=function(i,t,a,e){var l=new d(t,a&&a.levels),r=[],s=1;u(i);function u(y,w){var b=y.value;s=Math.max(s,v.isArray(b)?b.length:1),r.push(y);var x=new f(y.name,l);w?c(x,w):l.root=x,l._nodes.push(x);var O=y.children;if(O)for(var T=0;T<O.length;T++)u(O[T],x)}l.root.updateDepthAndHeight(0);var h=g(r,{coordDimensions:["value"],dimensionsCount:s}),A=new m(h,t);return A.initData(r),e&&e(A),S({mainData:A,struct:l,structAttr:"tree"}),l.update(),l};function c(i,t){var a=t.children;if(i.parentNode===t)return;a.push(i),i.parentNode=t}var o=d;M.exports=o},BtR2:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="LikeOutlined";var d=N.a=p.forwardRef(f)},BuqR:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("6uqw"),g=n("XxSj"),f=n("YOMW"),d=n("OELB"),c=d.reformIntervals,o=m.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,l){o.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var r=this._mode=this._determineMode();i[this._mode].call(this),this._resetSelected(e,l);var s=this.option.categories;this.resetVisual(function(u,h){r==="categories"?(u.mappingMethod="category",u.categories=S.clone(s)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=S.map(this._pieceList,function(A){var A=S.clone(A);return h!=="inRange"&&(A.visual=null),A}))})},completeVisualOption:function(){var e=this.option,l={},r=g.listVisualTypes(),s=this.isCategory();S.each(e.pieces,function(h){S.each(r,function(A){h.hasOwnProperty(A)&&(l[A]=1)})}),S.each(l,function(h,A){var y=0;S.each(this.stateList,function(w){y|=u(e,w,A)||u(e.target,w,A)},this),!y&&S.each(this.stateList,function(w){(e[w]||(e[w]={}))[A]=f.get(A,w==="inRange"?"active":"inactive",s)})},this);function u(h,A,y){return h&&h[A]&&(S.isObject(h[A])?h[A].hasOwnProperty(y):h[A]===y)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,l){var r=this.option,s=this._pieceList,u=(l?r:e).selected||{};if(r.selected=u,S.each(s,function(A,y){var w=this.getSelectedMapKey(A);u.hasOwnProperty(w)||(u[w]=!0)},this),r.selectedMode==="single"){var h=!1;S.each(s,function(A,y){var w=this.getSelectedMapKey(A);u[w]&&(h?u[w]=!1:h=!0)},this)}},getSelectedMapKey:function(e){return this._mode==="categories"?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=S.clone(e)},getValueState:function(e){var l=g.findPieceIndex(e,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var l=[];return this.eachTargetSeries(function(r){var s=[],u=r.getData();u.each(this.getDataDimension(u),function(h,A){var y=g.findPieceIndex(h,this._pieceList);y===e&&s.push(A)},this),l.push({seriesId:r.id,dataIndex:s})},this),l},getRepresentValue:function(e){var l;if(this.isCategory())l=e.value;else if(e.value!=null)l=e.value;else{var r=e.interval||[];l=r[0]===-Infinity&&r[1]===Infinity?0:(r[0]+r[1])/2}return l},getVisualMeta:function(e){if(this.isCategory())return;var l=[],r=[],s=this;function u(w,b){var x=s.getRepresentValue({interval:w});b||(b=s.getValueState(x));var O=e(x,b);w[0]===-Infinity?r[0]=O:w[1]===Infinity?r[1]=O:l.push({value:w[0],color:O},{value:w[1],color:O})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var A=h[0].interval[0];A!==-Infinity&&h.unshift({interval:[-Infinity,A]}),A=h[h.length-1].interval[1],A!==Infinity&&h.push({interval:[A,Infinity]})}var y=-Infinity;return S.each(h,function(w){var b=w.interval;b&&(b[0]>y&&u([y,b[0]],"outOfRange"),u(b.slice()),y=b[1])},this),{stops:l,outerColors:r}}}),i={splitNumber:function(){var e=this.option,l=this._pieceList,r=Math.min(e.precision,20),s=this.getExtent(),u=e.splitNumber;u=Math.max(parseInt(u,10),1),e.splitNumber=u;for(var h=(s[1]-s[0])/u;+h.toFixed(r)!==h&&r<5;)r++;e.precision=r,h=+h.toFixed(r),e.minOpen&&l.push({interval:[-Infinity,s[0]],close:[0,0]});for(var A=0,y=s[0];A<u;y+=h,A++){var w=A===u-1?s[1]:y+h;l.push({interval:[y,w],close:[1,1]})}e.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),c(l),S.each(l,function(b,x){b.index=x,b.text=this.formatValueText(b.interval)},this)},categories:function(){var e=this.option;S.each(e.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),t(e,this._pieceList)},pieces:function(){var e=this.option,l=this._pieceList;S.each(e.pieces,function(r,s){S.isObject(r)||(r={value:r});var u={text:"",index:s};if(r.label!=null&&(u.text=r.label),r.hasOwnProperty("value")){var h=u.value=r.value;u.interval=[h,h],u.close=[1,1]}else{for(var A=u.interval=[],y=u.close=[0,0],w=[1,0,1],b=[-Infinity,Infinity],x=[],O=0;O<2;O++){for(var T=[["gte","gt","min"],["lte","lt","max"]][O],E=0;E<3&&A[O]==null;E++)A[O]=r[T[E]],y[O]=w[E],x[O]=E===2;A[O]==null&&(A[O]=b[O])}x[0]&&A[1]===Infinity&&(y[0]=0),x[1]&&A[0]===-Infinity&&(y[1]=0),A[0]===A[1]&&y[0]&&y[1]&&(u.value=A[0])}u.visual=g.retrieveVisuals(r),l.push(u)},this),t(e,l),c(l),S.each(l,function(r){var s=r.close,u=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];r.text=r.text||this.formatValueText(r.value!=null?r.value:r.interval,!1,u)},this)}};function t(e,l){var r=e.inverse;(e.orient==="vertical"?!r:r)&&l.reverse()}var a=o;M.exports=a},BvKs:function(M,N,n){"use strict";n.d(N,"a",function(){return xt});var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("7W2i"),i=n.n(o),t=n("LQ03"),a=n.n(t),e=n("q1tI"),l=n("VTBJ"),r=n("1OyB"),s=n("vuIU"),u=n("JX7q"),h=n("Ji7U"),A=n("LK+K"),y=n("I8Z2"),w=n("BGR+"),b=n("wx14"),x=n("rePB"),O=n("4IlW"),T=n("2GS6"),E=n("Gytx"),C=n.n(E),_=n("TSYQ"),L=n.n(_),P=n("U8pU"),k=n("ODXe"),F=/iPhone/i,j=/iPod/i,z=/iPad/i,R=/\bAndroid(?:.+)Mobile\b/i,U=/Android/i,B=/\bAndroid(?:.+)SD4930UR\b/i,H=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,K=/Windows Phone/i,V=/\bWindows(?:.+)ARM\b/i,W=/BlackBerry/i,G=/BB10/i,re=/Opera Mini/i,ye=/\b(CriOS|Chrome)(?:.+)Mobile/i,$=/Mobile(?:.+)Firefox\b/i;function ve(rt,it){return rt.test(it)}function Ce(rt){var it=rt||(typeof navigator!="undefined"?navigator.userAgent:""),$t=it.split("[FBAN");if(typeof $t[1]!="undefined"){var Dt=$t,St=Object(k.a)(Dt,1);it=St[0]}if($t=it.split("Twitter"),typeof $t[1]!="undefined"){var Ut=$t,vt=Object(k.a)(Ut,1);it=vt[0]}var Pt={apple:{phone:ve(F,it)&&!ve(K,it),ipod:ve(j,it),tablet:!ve(F,it)&&ve(z,it)&&!ve(K,it),device:(ve(F,it)||ve(j,it)||ve(z,it))&&!ve(K,it)},amazon:{phone:ve(B,it),tablet:!ve(B,it)&&ve(H,it),device:ve(B,it)||ve(H,it)},android:{phone:!ve(K,it)&&ve(B,it)||!ve(K,it)&&ve(R,it),tablet:!ve(K,it)&&!ve(B,it)&&!ve(R,it)&&(ve(H,it)||ve(U,it)),device:!ve(K,it)&&(ve(B,it)||ve(H,it)||ve(R,it)||ve(U,it))||ve(/\bokhttp\b/i,it)},windows:{phone:ve(K,it),tablet:ve(V,it),device:ve(K,it)||ve(V,it)},other:{blackberry:ve(W,it),blackberry10:ve(G,it),opera:ve(re,it),firefox:ve($,it),chrome:ve(ye,it),device:ve(W,it)||ve(G,it)||ve(re,it)||ve($,it)||ve(ye,it)},any:null,phone:null,tablet:null};return Pt.any=Pt.apple.device||Pt.android.device||Pt.windows.device||Pt.other.device,Pt.phone=Pt.apple.phone||Pt.android.phone||Pt.windows.phone,Pt.tablet=Pt.apple.tablet||Pt.android.tablet||Pt.windows.tablet,Pt}var Se=Object(l.a)(Object(l.a)({},Ce()),{},{isMobile:Ce}),Ke=Se;function ue(){}function Le(rt,it,$t){var Dt=it||"";return rt.key||"".concat(Dt,"item_").concat($t)}function ee(rt){return"".concat(rt,"-menu-")}function le(rt,it){var $t=-1;e.Children.forEach(rt,function(Dt){$t+=1,Dt&&Dt.type&&Dt.type.isMenuItemGroup?e.Children.forEach(Dt.props.children,function(St){$t+=1,it(St,$t)}):it(Dt,$t)})}function et(rt,it,$t){if(!rt||$t.find)return;e.Children.forEach(rt,function(Dt){if(Dt){var St=Dt.type;if(!St||!(St.isSubMenu||St.isMenuItem||St.isMenuItemGroup))return;it.indexOf(Dt.key)!==-1?$t.find=!0:Dt.props.children&&et(Dt.props.children,it,$t)}})}var Re=["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"],Ae=function(it){var $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dt=it&&typeof it.getBoundingClientRect=="function"&&it.getBoundingClientRect().width;if(Dt){if($t){var St=getComputedStyle(it),Ut=St.marginLeft,vt=St.marginRight;Dt+=+Ut.replace("px","")+ +vt.replace("px","")}Dt=+Dt.toFixed(6)}return Dt||0},oe=function(it,$t,Dt){it&&Object(P.a)(it.style)==="object"&&(it.style[$t]=Dt)},ce=function(){return Ke.any},be=n("KQm4"),Te=n("Ff2n"),Be=n("i8i4"),De=n("bdgK"),ae=n("Uaa1"),fe=n("HTfv"),Oe={adjustX:1,adjustY:1},Je={topLeft:{points:["bl","tl"],overflow:Oe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Oe,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Oe,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Oe,offset:[4,0]}},Et={topLeft:{points:["bl","tl"],overflow:Oe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Oe,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Oe,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Oe,offset:[4,0]}},Ze=Je,Ne=0,It={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Xe=function(it,$t,Dt){var St=ee($t),Ut=it.getState();it.setState({defaultActiveFirst:Object(l.a)(Object(l.a)({},Ut.defaultActiveFirst),{},Object(x.a)({},St,Dt))})},Ot=function(rt){Object(h.a)($t,rt);var it=Object(A.a)($t);function $t(Dt){var St;Object(r.a)(this,$t),St=it.call(this,Dt),St.onDestroy=function(fr){St.props.onDestroy(fr)},St.onKeyDown=function(fr){var Jr=fr.keyCode,Zr=St.menuInstance,Fn=St.props,Rn=Fn.isOpen,ei=Fn.store;if(Jr===O.a.ENTER)return St.onTitleClick(fr),Xe(ei,St.props.eventKey,!0),!0;if(Jr===O.a.RIGHT)return Rn?Zr.onKeyDown(fr):(St.triggerOpenChange(!0),Xe(ei,St.props.eventKey,!0)),!0;if(Jr===O.a.LEFT){var di;if(Rn)di=Zr.onKeyDown(fr);else return;return di||(St.triggerOpenChange(!1),di=!0),di}return Rn&&(Jr===O.a.UP||Jr===O.a.DOWN)?Zr.onKeyDown(fr):void 0},St.onOpenChange=function(fr){St.props.onOpenChange(fr)},St.onPopupVisibleChange=function(fr){St.triggerOpenChange(fr,fr?"mouseenter":"mouseleave")},St.onMouseEnter=function(fr){var Jr=St.props,Zr=Jr.eventKey,Fn=Jr.onMouseEnter,Rn=Jr.store;Xe(Rn,St.props.eventKey,!1),Fn({key:Zr,domEvent:fr})},St.onMouseLeave=function(fr){var Jr=St.props,Zr=Jr.parentMenu,Fn=Jr.eventKey,Rn=Jr.onMouseLeave;Zr.subMenuInstance=Object(u.a)(St),Rn({key:Fn,domEvent:fr})},St.onTitleMouseEnter=function(fr){var Jr=St.props,Zr=Jr.eventKey,Fn=Jr.onItemHover,Rn=Jr.onTitleMouseEnter;Fn({key:Zr,hover:!0}),Rn({key:Zr,domEvent:fr})},St.onTitleMouseLeave=function(fr){var Jr=St.props,Zr=Jr.parentMenu,Fn=Jr.eventKey,Rn=Jr.onItemHover,ei=Jr.onTitleMouseLeave;Zr.subMenuInstance=Object(u.a)(St),Rn({key:Fn,hover:!1}),ei({key:Fn,domEvent:fr})},St.onTitleClick=function(fr){var Jr=Object(u.a)(St),Zr=Jr.props;if(Zr.onTitleClick({key:Zr.eventKey,domEvent:fr}),Zr.triggerSubMenuAction==="hover")return;St.triggerOpenChange(!Zr.isOpen,"click"),Xe(Zr.store,St.props.eventKey,!1)},St.onSubMenuClick=function(fr){typeof St.props.onClick=="function"&&St.props.onClick(St.addKeyPath(fr))},St.onSelect=function(fr){St.props.onSelect(fr)},St.onDeselect=function(fr){St.props.onDeselect(fr)},St.getPrefixCls=function(){return"".concat(St.props.rootPrefixCls,"-submenu")},St.getActiveClassName=function(){return"".concat(St.getPrefixCls(),"-active")},St.getDisabledClassName=function(){return"".concat(St.getPrefixCls(),"-disabled")},St.getSelectedClassName=function(){return"".concat(St.getPrefixCls(),"-selected")},St.getOpenClassName=function(){return"".concat(St.props.rootPrefixCls,"-submenu-open")},St.saveMenuInstance=function(fr){St.menuInstance=fr},St.addKeyPath=function(fr){return Object(l.a)(Object(l.a)({},fr),{},{keyPath:(fr.keyPath||[]).concat(St.props.eventKey)})},St.triggerOpenChange=function(fr,Jr){var Zr=St.props.eventKey,Fn=function(){St.onOpenChange({key:Zr,item:Object(u.a)(St),trigger:Jr,open:fr})};Jr==="mouseenter"?St.mouseenterTimeout=setTimeout(function(){Fn()},0):Fn()},St.isChildrenSelected=function(){var fr={find:!1};return et(St.props.children,St.props.selectedKeys,fr),fr.find},St.isOpen=function(){return St.props.openKeys.indexOf(St.props.eventKey)!==-1},St.adjustWidth=function(){if(!St.subMenuTitle||!St.menuInstance)return;var fr=Be.findDOMNode(St.menuInstance);if(fr.offsetWidth>=St.subMenuTitle.offsetWidth)return;fr.style.minWidth="".concat(St.subMenuTitle.offsetWidth,"px")},St.saveSubMenuTitle=function(fr){St.subMenuTitle=fr},St.getBaseProps=function(){var fr=Object(u.a)(St),Jr=fr.props;return{mode:Jr.mode==="horizontal"?"vertical":Jr.mode,visible:St.props.isOpen,level:Jr.level+1,inlineIndent:Jr.inlineIndent,focusable:!1,onClick:St.onSubMenuClick,onSelect:St.onSelect,onDeselect:St.onDeselect,onDestroy:St.onDestroy,selectedKeys:Jr.selectedKeys,eventKey:"".concat(Jr.eventKey,"-menu-"),openKeys:Jr.openKeys,motion:Jr.motion,onOpenChange:St.onOpenChange,subMenuOpenDelay:Jr.subMenuOpenDelay,parentMenu:Object(u.a)(St),subMenuCloseDelay:Jr.subMenuCloseDelay,forceSubMenuRender:Jr.forceSubMenuRender,triggerSubMenuAction:Jr.triggerSubMenuAction,builtinPlacements:Jr.builtinPlacements,defaultActiveFirst:Jr.store.getState().defaultActiveFirst[ee(Jr.eventKey)],multiple:Jr.multiple,prefixCls:Jr.rootPrefixCls,id:St.internalMenuId,manualRef:St.saveMenuInstance,itemIcon:Jr.itemIcon,expandIcon:Jr.expandIcon,direction:Jr.direction}},St.getMotion=function(fr,Jr){var Zr=Object(u.a)(St),Fn=Zr.haveRendered,Rn=St.props,ei=Rn.motion,di=Rn.rootPrefixCls,gi=Object(l.a)(Object(l.a)({},ei),{},{leavedClassName:"".concat(di,"-hidden"),removeOnLeave:!1,motionAppear:Fn||!Jr||fr!=="inline"});return gi};var Ut=Dt.store,vt=Dt.eventKey,Pt=Ut.getState(),br=Pt.defaultActiveFirst;St.isRootMenu=!1;var ur=!1;return br&&(ur=br[vt]),Xe(Ut,vt,ur),St}return Object(s.a)($t,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var St=this,Ut=this.props,vt=Ut.mode,Pt=Ut.parentMenu,br=Ut.manualRef;if(br&&br(this),vt!=="horizontal"||!Pt.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return St.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var St=this.props,Ut=St.onDestroy,vt=St.eventKey;Ut&&Ut(vt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(St){var Ut=this,vt=this.getBaseProps(),Pt=this.getMotion(vt.mode,vt.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||vt.visible||vt.forceSubMenuRender,!this.haveOpened)return e.createElement("div",null);var br=vt.direction;return e.createElement(fe.default,Object.assign({visible:vt.visible},Pt),function(ur){var fr=ur.className,Jr=ur.style,Zr=L()("".concat(vt.prefixCls,"-sub"),fr,Object(x.a)({},"".concat(vt.prefixCls,"-rtl"),br==="rtl"));return e.createElement(or,Object.assign({},vt,{id:Ut.internalMenuId,className:Zr,style:Jr}),St)})}},{key:"render",value:function(){var St,Ut=Object(l.a)({},this.props),vt=Ut.isOpen,Pt=this.getPrefixCls(),br=Ut.mode==="inline",ur=L()(Pt,"".concat(Pt,"-").concat(Ut.mode),(St={},Object(x.a)(St,Ut.className,!!Ut.className),Object(x.a)(St,this.getOpenClassName(),vt),Object(x.a)(St,this.getActiveClassName(),Ut.active||vt&&!br),Object(x.a)(St,this.getDisabledClassName(),Ut.disabled),Object(x.a)(St,this.getSelectedClassName(),this.isChildrenSelected()),St));this.internalMenuId||(Ut.eventKey?this.internalMenuId="".concat(Ut.eventKey,"$Menu"):(Ne+=1,this.internalMenuId="$__$".concat(Ne,"$Menu")));var fr={},Jr={},Zr={};Ut.disabled||(fr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Jr={onClick:this.onTitleClick},Zr={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Fn={},Rn=Ut.direction;br&&(Rn==="rtl"?Fn.paddingRight=Ut.inlineIndent*Ut.level:Fn.paddingLeft=Ut.inlineIndent*Ut.level);var ei={};this.props.isOpen&&(ei={"aria-owns":this.internalMenuId});var di=null;Ut.mode!=="horizontal"&&(di=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(di=e.createElement(this.props.expandIcon,Object(l.a)({},this.props))));var gi=e.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Fn,className:"".concat(Pt,"-title"),role:"button"},Zr,Jr,{"aria-expanded":vt},ei,{"aria-haspopup":"true",title:typeof Ut.title=="string"?Ut.title:void 0}),Ut.title,di||e.createElement("i",{className:"".concat(Pt,"-arrow")})),Ii=this.renderChildren(Ut.children),Ye=Ut.parentMenu.isRootMenu?Ut.parentMenu.props.getPopupContainer:function(Lr){return Lr.parentNode},ge=It[Ut.mode],Ie=Ut.popupOffset?{offset:Ut.popupOffset}:{},Fe=Ut.mode==="inline"?"":Ut.popupClassName;Fe+=Rn==="rtl"?" ".concat(Pt,"-rtl"):"";var Ve=Ut.disabled,We=Ut.triggerSubMenuAction,Qe=Ut.subMenuOpenDelay,yt=Ut.forceSubMenuRender,ot=Ut.subMenuCloseDelay,Zt=Ut.builtinPlacements;Re.forEach(function(Lr){return delete Ut[Lr]}),delete Ut.onClick;var Rr=Rn==="rtl"?Object.assign({},Et,Zt):Object.assign({},Je,Zt);return delete Ut.direction,e.createElement("li",Object.assign({},Ut,fr,{className:ur,role:"menuitem"}),br&&gi,br&&Ii,!br&&e.createElement(ae.a,{prefixCls:Pt,popupClassName:L()("".concat(Pt,"-popup"),Fe),getPopupContainer:Ye,builtinPlacements:Rr,popupPlacement:ge,popupVisible:vt,popupAlign:Ie,popup:Ii,action:Ve?[]:[We],mouseEnterDelay:Qe,mouseLeaveDelay:ot,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:yt},gi))}}]),$t}(e.Component);Ot.defaultProps={onMouseEnter:ue,onMouseLeave:ue,onTitleMouseEnter:ue,onTitleMouseLeave:ue,onTitleClick:ue,manualRef:ue,mode:"vertical",title:""};var Bt=Object(y.b)(function(rt,it){var $t=rt.openKeys,Dt=rt.activeKey,St=rt.selectedKeys,Ut=it.eventKey,vt=it.subMenuKey;return{isOpen:$t.indexOf(Ut)>-1,active:Dt[vt]===Ut,selectedKeys:St}})(Ot);Bt.isSubMenu=!0;var kt=Bt,_t="menuitem-overflowed",Ft=.5,ke=function(rt){Object(h.a)($t,rt);var it=Object(A.a)($t);function $t(){var Dt;return Object(r.a)(this,$t),Dt=it.apply(this,arguments),Dt.resizeObserver=null,Dt.mutationObserver=null,Dt.originalTotalWidth=0,Dt.overflowedItems=[],Dt.menuItemSizes=[],Dt.cancelFrameId=null,Dt.state={lastVisibleIndex:void 0},Dt.getMenuItemNodes=function(){var St=Dt.props.prefixCls,Ut=Be.findDOMNode(Object(u.a)(Dt));return Ut?[].slice.call(Ut.children).filter(function(vt){return vt.className.split(" ").indexOf("".concat(St,"-overflowed-submenu"))<0}):[]},Dt.getOverflowedSubMenuItem=function(St,Ut,vt){var Pt=Dt.props,br=Pt.overflowedIndicator,ur=Pt.level,fr=Pt.mode,Jr=Pt.prefixCls,Zr=Pt.theme;if(ur!==1||fr!=="horizontal")return null;var Fn=Dt.props.children[0],Rn=Fn.props,ei=Rn.children,di=Rn.title,gi=Rn.style,Ii=Object(Te.a)(Rn,["children","title","style"]),Ye=Object(l.a)({},gi),ge="".concat(St,"-overflowed-indicator"),Ie="".concat(St,"-overflowed-indicator");Ut.length===0&&vt!==!0?Ye=Object(l.a)(Object(l.a)({},Ye),{},{display:"none"}):vt&&(Ye=Object(l.a)(Object(l.a)({},Ye),{},{visibility:"hidden",position:"absolute"}),ge="".concat(ge,"-placeholder"),Ie="".concat(Ie,"-placeholder"));var Fe=Zr?"".concat(Jr,"-").concat(Zr):"",Ve={};return Re.forEach(function(We){Ii[We]!==void 0&&(Ve[We]=Ii[We])}),e.createElement(kt,Object.assign({title:br,className:"".concat(Jr,"-overflowed-submenu"),popupClassName:Fe},Ve,{key:ge,eventKey:Ie,disabled:!1,style:Ye}),Ut)},Dt.setChildrenWidthAndResize=function(){if(Dt.props.mode!=="horizontal")return;var St=Be.findDOMNode(Object(u.a)(Dt));if(!St)return;var Ut=St.children;if(!Ut||Ut.length===0)return;var vt=St.children[Ut.length-1];oe(vt,"display","inline-block");var Pt=Dt.getMenuItemNodes(),br=Pt.filter(function(ur){return ur.className.split(" ").indexOf(_t)>=0});br.forEach(function(ur){oe(ur,"display","inline-block")}),Dt.menuItemSizes=Pt.map(function(ur){return Ae(ur,!0)}),br.forEach(function(ur){oe(ur,"display","none")}),Dt.overflowedIndicatorWidth=Ae(St.children[St.children.length-1],!0),Dt.originalTotalWidth=Dt.menuItemSizes.reduce(function(ur,fr){return ur+fr},0),Dt.handleResize(),oe(vt,"display","none")},Dt.handleResize=function(){if(Dt.props.mode!=="horizontal")return;var St=Be.findDOMNode(Object(u.a)(Dt));if(!St)return;var Ut=Ae(St);Dt.overflowedItems=[];var vt=0,Pt;Dt.originalTotalWidth>Ut+Ft&&(Pt=-1,Dt.menuItemSizes.forEach(function(br){vt+=br,vt+Dt.overflowedIndicatorWidth<=Ut&&(Pt+=1)})),Dt.setState({lastVisibleIndex:Pt})},Dt}return Object(s.a)($t,[{key:"componentDidMount",value:function(){var St=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Ut=Be.findDOMNode(this);if(!Ut)return;this.resizeObserver=new De.default(function(vt){vt.forEach(function(){var Pt=St.cancelFrameId;cancelAnimationFrame(Pt),St.cancelFrameId=requestAnimationFrame(St.setChildrenWidthAndResize)})}),[].slice.call(Ut.children).concat(Ut).forEach(function(vt){St.resizeObserver.observe(vt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){St.resizeObserver.disconnect(),[].slice.call(Ut.children).concat(Ut).forEach(function(vt){St.resizeObserver.observe(vt)}),St.setChildrenWidthAndResize()}),this.mutationObserver.observe(Ut,{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(St){var Ut=this,vt=this.state.lastVisibleIndex;return(St||[]).reduce(function(Pt,br,ur){var fr=br;if(Ut.props.mode==="horizontal"){var Jr=Ut.getOverflowedSubMenuItem(br.props.eventKey,[]);vt!==void 0&&Ut.props.className.indexOf("".concat(Ut.props.prefixCls,"-root"))!==-1&&(ur>vt&&(fr=e.cloneElement(br,{style:{display:"none"},eventKey:"".concat(br.props.eventKey,"-hidden"),className:"".concat(_t)})),ur===vt+1&&(Ut.overflowedItems=St.slice(vt+1).map(function(Fn){return e.cloneElement(Fn,{key:Fn.props.eventKey,mode:"vertical-left"})}),Jr=Ut.getOverflowedSubMenuItem(br.props.eventKey,Ut.overflowedItems)));var Zr=[].concat(Object(be.a)(Pt),[Jr,fr]);return ur===St.length-1&&Zr.push(Ut.getOverflowedSubMenuItem(br.props.eventKey,[],!0)),Zr}return[].concat(Object(be.a)(Pt),[fr])},[])}},{key:"render",value:function(){var St=this.props,Ut=St.visible,vt=St.prefixCls,Pt=St.overflowedIndicator,br=St.mode,ur=St.level,fr=St.tag,Jr=St.children,Zr=St.theme,Fn=Object(Te.a)(St,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Rn=fr;return e.createElement(Rn,Object.assign({},Fn),this.renderChildren(Jr))}}]),$t}(e.Component);ke.defaultProps={tag:"div",className:""};var te=ke;function Q(rt){return rt.length?rt.every(function(it){return!!it.props.disabled}):!0}function qe(rt,it,$t){var Dt=rt.getState();rt.setState({activeKey:Object(l.a)(Object(l.a)({},Dt.activeKey),{},Object(x.a)({},it,$t))})}function je(rt){return rt.eventKey||"0-menu-"}function q(rt,it){var $t=it,Dt=rt.children,St=rt.eventKey;if($t){var Ut;if(le(Dt,function(vt,Pt){vt&&vt.props&&!vt.props.disabled&&$t===Le(vt,St,Pt)&&(Ut=!0)}),Ut)return $t}return $t=null,rt.defaultActiveFirst&&le(Dt,function(vt,Pt){!$t&&vt&&!vt.props.disabled&&($t=Le(vt,St,Pt))}),$t}function wt(rt){if(rt){var it=this.instanceArray.indexOf(rt);it!==-1?this.instanceArray[it]=rt:this.instanceArray.push(rt)}}var Vt=function(rt){Object(h.a)($t,rt);var it=Object(A.a)($t);function $t(Dt){var St;return Object(r.a)(this,$t),St=it.call(this,Dt),St.onKeyDown=function(Ut,vt){var Pt=Ut.keyCode,br;if(St.getFlatInstanceArray().forEach(function(fr){fr&&fr.props.active&&fr.onKeyDown&&(br=fr.onKeyDown(Ut))}),br)return 1;var ur=null;return(Pt===O.a.UP||Pt===O.a.DOWN)&&(ur=St.step(Pt===O.a.UP?-1:1)),ur?(Ut.preventDefault(),qe(St.props.store,je(St.props),ur.props.eventKey),typeof vt=="function"&&vt(ur),1):void 0},St.onItemHover=function(Ut){var vt=Ut.key,Pt=Ut.hover;qe(St.props.store,je(St.props),Pt?vt:null)},St.onDeselect=function(Ut){St.props.onDeselect(Ut)},St.onSelect=function(Ut){St.props.onSelect(Ut)},St.onClick=function(Ut){St.props.onClick(Ut)},St.onOpenChange=function(Ut){St.props.onOpenChange(Ut)},St.onDestroy=function(Ut){St.props.onDestroy(Ut)},St.getFlatInstanceArray=function(){return St.instanceArray},St.step=function(Ut){var vt=St.getFlatInstanceArray(),Pt=St.props.store.getState().activeKey[je(St.props)],br=vt.length;if(!br)return null;Ut<0&&(vt=vt.concat().reverse());var ur=-1;if(vt.every(function(Fn,Rn){return Fn&&Fn.props.eventKey===Pt?(ur=Rn,!1):!0}),!St.props.defaultActiveFirst&&ur!==-1&&Q(vt.slice(ur,br-1)))return;var fr=(ur+1)%br,Jr=fr;do{var Zr=vt[Jr];if(!Zr||Zr.props.disabled)Jr=(Jr+1)%br;else return Zr}while(Jr!==fr);return null},St.renderCommonMenuItem=function(Ut,vt,Pt){var br=St.props.store.getState(),ur=Object(u.a)(St),fr=ur.props,Jr=Le(Ut,fr.eventKey,vt),Zr=Ut.props;if(!Zr||typeof Ut.type=="string")return Ut;var Fn=Jr===br.activeKey,Rn=Object(l.a)(Object(l.a)({mode:Zr.mode||fr.mode,level:fr.level,inlineIndent:fr.inlineIndent,renderMenuItem:St.renderMenuItem,rootPrefixCls:fr.prefixCls,index:vt,parentMenu:fr.parentMenu,manualRef:Zr.disabled?void 0:Object(T.a)(Ut.ref,wt.bind(Object(u.a)(St))),eventKey:Jr,active:!Zr.disabled&&Fn,multiple:fr.multiple,onClick:function(di){(Zr.onClick||ue)(di),St.onClick(di)},onItemHover:St.onItemHover,motion:fr.motion,subMenuOpenDelay:fr.subMenuOpenDelay,subMenuCloseDelay:fr.subMenuCloseDelay,forceSubMenuRender:fr.forceSubMenuRender,onOpenChange:St.onOpenChange,onDeselect:St.onDeselect,onSelect:St.onSelect,builtinPlacements:fr.builtinPlacements,itemIcon:Zr.itemIcon||St.props.itemIcon,expandIcon:Zr.expandIcon||St.props.expandIcon},Pt),{},{direction:fr.direction});return(fr.mode==="inline"||ce())&&(Rn.triggerSubMenuAction="click"),e.cloneElement(Ut,Rn)},St.renderMenuItem=function(Ut,vt,Pt){if(!Ut)return null;var br=St.props.store.getState(),ur={openKeys:br.openKeys,selectedKeys:br.selectedKeys,triggerSubMenuAction:St.props.triggerSubMenuAction,subMenuKey:Pt};return St.renderCommonMenuItem(Ut,vt,ur)},Dt.store.setState({activeKey:Object(l.a)(Object(l.a)({},Dt.store.getState().activeKey),{},Object(x.a)({},Dt.eventKey,q(Dt,Dt.activeKey)))}),St.instanceArray=[],St}return Object(s.a)($t,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(St){return this.props.visible||St.visible||this.props.className!==St.className||!C()(this.props.style,St.style)}},{key:"componentDidUpdate",value:function(St){var Ut=this.props,vt="activeKey"in Ut?Ut.activeKey:Ut.store.getState().activeKey[je(Ut)],Pt=q(Ut,vt);if(Pt!==vt)qe(Ut.store,je(Ut),Pt);else if("activeKey"in St){var br=q(St,St.activeKey);Pt!==br&&qe(Ut.store,je(Ut),Pt)}}},{key:"render",value:function(){var St=this,Ut=Object(b.a)({},this.props);this.instanceArray=[];var vt=L()(Ut.prefixCls,Ut.className,"".concat(Ut.prefixCls,"-").concat(Ut.mode)),Pt={className:vt,role:Ut.role||"menu"};Ut.id&&(Pt.id=Ut.id),Ut.focusable&&(Pt.tabIndex=0,Pt.onKeyDown=this.onKeyDown);var br=Ut.prefixCls,ur=Ut.eventKey,fr=Ut.visible,Jr=Ut.level,Zr=Ut.mode,Fn=Ut.overflowedIndicator,Rn=Ut.theme;return Re.forEach(function(ei){return delete Ut[ei]}),delete Ut.onClick,e.createElement(te,Object.assign({},Ut,{prefixCls:br,mode:Zr,tag:"ul",level:Jr,theme:Rn,visible:fr,overflowedIndicator:Fn},Pt),e.Children.map(Ut.children,function(ei,di){return St.renderMenuItem(ei,di,ur||"0-menu-")}))}}]),$t}(e.Component);Vt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ue};var lt=Object(y.b)()(Vt),or=lt,vr=n("Kwbf");function An(rt,it,$t){var Dt=rt.prefixCls,St=rt.motion,Ut=rt.defaultMotions,vt=Ut===void 0?{}:Ut,Pt=rt.openAnimation,br=rt.openTransitionName,ur=it.switchingModeFromInline;if(St)return St;if(Object(P.a)(Pt)==="object"&&Pt)Object(vr.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Pt=="string")return{motionName:"".concat(Dt,"-open-").concat(Pt)};if(br)return{motionName:br};var fr=vt[$t];return fr||(ur?null:vt.other)}var hr=function(rt){Object(h.a)($t,rt);var it=Object(A.a)($t);function $t(Dt){var St;Object(r.a)(this,$t),St=it.call(this,Dt),St.inlineOpenKeys=[],St.onSelect=function(Pt){var br=Object(u.a)(St),ur=br.props;if(ur.selectable){var fr=St.store.getState(),Jr=fr.selectedKeys,Zr=Pt.key;ur.multiple?Jr=Jr.concat([Zr]):Jr=[Zr],"selectedKeys"in ur||St.store.setState({selectedKeys:Jr}),ur.onSelect(Object(l.a)(Object(l.a)({},Pt),{},{selectedKeys:Jr}))}},St.onClick=function(Pt){var br=St.getRealMenuMode(),ur=Object(u.a)(St),fr=ur.store,Jr=ur.props.onOpenChange;br!=="inline"&&!("openKeys"in St.props)&&(fr.setState({openKeys:[]}),Jr([])),St.props.onClick(Pt)},St.onKeyDown=function(Pt,br){St.innerMenu.getWrappedInstance().onKeyDown(Pt,br)},St.onOpenChange=function(Pt){var br=Object(u.a)(St),ur=br.props,fr=St.store.getState().openKeys.concat(),Jr=!1,Zr=function(Rn){var ei=!1;if(Rn.open)ei=fr.indexOf(Rn.key)===-1,ei&&fr.push(Rn.key);else{var di=fr.indexOf(Rn.key);ei=di!==-1,ei&&fr.splice(di,1)}Jr=Jr||ei};Array.isArray(Pt)?Pt.forEach(Zr):Zr(Pt),Jr&&("openKeys"in St.props||St.store.setState({openKeys:fr}),ur.onOpenChange(fr))},St.onDeselect=function(Pt){var br=Object(u.a)(St),ur=br.props;if(ur.selectable){var fr=St.store.getState().selectedKeys.concat(),Jr=Pt.key,Zr=fr.indexOf(Jr);Zr!==-1&&fr.splice(Zr,1),"selectedKeys"in ur||St.store.setState({selectedKeys:fr}),ur.onDeselect(Object(l.a)(Object(l.a)({},Pt),{},{selectedKeys:fr}))}},St.onMouseEnter=function(Pt){St.restoreModeVerticalFromInline();var br=St.props.onMouseEnter;br&&br(Pt)},St.onTransitionEnd=function(Pt){var br=Pt.propertyName==="width"&&Pt.target===Pt.currentTarget,ur=Pt.target.className,fr=Object.prototype.toString.call(ur)==="[object SVGAnimatedString]"?ur.animVal:ur,Jr=Pt.propertyName==="font-size"&&fr.indexOf("anticon")>=0;(br||Jr)&&St.restoreModeVerticalFromInline()},St.setInnerMenu=function(Pt){St.innerMenu=Pt},St.isRootMenu=!0;var Ut=Dt.defaultSelectedKeys,vt=Dt.defaultOpenKeys;return"selectedKeys"in Dt&&(Ut=Dt.selectedKeys||[]),"openKeys"in Dt&&(vt=Dt.openKeys||[]),St.store=Object(y.c)({selectedKeys:Ut,openKeys:vt,activeKey:{"0-menu-":q(Dt,Dt.activeKey)}}),St.state={switchingModeFromInline:!1},St}return Object(s.a)($t,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(St){this.updateOpentKeysWhenSwitchMode(St),this.updateMiniStore();var Ut=this.props,vt=Ut.siderCollapsed,Pt=Ut.inlineCollapsed,br=Ut.onOpenChange;(!St.inlineCollapsed&&Pt||!St.siderCollapsed&&vt)&&br([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(St){var Ut=this.props,vt=this.store,Pt=this.inlineOpenKeys,br=vt.getState(),ur={};St.mode==="inline"&&Ut.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Ut||((Ut.inlineCollapsed&&!St.inlineCollapsed||Ut.siderCollapsed&&!St.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=br.openKeys.concat(),ur.openKeys=[]),(!Ut.inlineCollapsed&&St.inlineCollapsed||!Ut.siderCollapsed&&St.siderCollapsed)&&(ur.openKeys=Pt,this.inlineOpenKeys=[])),Object.keys(ur).length&&vt.setState(ur)}},{key:"updateMenuDisplay",value:function(){var St=this.props.collapsedWidth,Ut=this.store,vt=this.prevOpenKeys,Pt=this.getInlineCollapsed()&&(St===0||St==="0"||St==="0px");Pt?(this.prevOpenKeys=Ut.getState().openKeys.concat(),this.store.setState({openKeys:[]})):vt&&(this.store.setState({openKeys:vt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var St=this.props.mode,Ut=this.state.switchingModeFromInline,vt=this.getInlineCollapsed();return Ut&&vt?"inline":vt?"vertical":St}},{key:"getInlineCollapsed",value:function(){var St=this.props,Ut=St.inlineCollapsed,vt=St.siderCollapsed;return vt!==void 0?vt:Ut}},{key:"restoreModeVerticalFromInline",value:function(){var St=this.state.switchingModeFromInline;St&&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 St=Object(l.a)({},Object(w.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Ut=this.getRealMenuMode();return St.className+=" ".concat(St.prefixCls,"-root"),St.direction==="rtl"&&(St.className+=" ".concat(St.prefixCls,"-rtl")),St=Object(l.a)(Object(l.a)({},St),{},{mode:Ut,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:An(this.props,this.state,Ut)}),delete St.openAnimation,delete St.openTransitionName,e.createElement(y.a,{store:this.store},e.createElement(or,Object.assign({},St,{ref:this.setInnerMenu}),this.props.children))}}]),$t}(e.Component);hr.defaultProps={selectable:!0,onClick:ue,onSelect:ue,onOpenChange:ue,onDeselect:ue,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:e.createElement("span",null,"\xB7\xB7\xB7")};var xr=hr,nr=function(rt){Object(h.a)($t,rt);var it=Object(A.a)($t);function $t(){var Dt;return Object(r.a)(this,$t),Dt=it.apply(this,arguments),Dt.onKeyDown=function(St){var Ut=St.keyCode;return Ut===O.a.ENTER?(Dt.onClick(St),!0):void 0},Dt.onMouseLeave=function(St){var Ut=Dt.props,vt=Ut.eventKey,Pt=Ut.onItemHover,br=Ut.onMouseLeave;Pt({key:vt,hover:!1}),br({key:vt,domEvent:St})},Dt.onMouseEnter=function(St){var Ut=Dt.props,vt=Ut.eventKey,Pt=Ut.onItemHover,br=Ut.onMouseEnter;Pt({key:vt,hover:!0}),br({key:vt,domEvent:St})},Dt.onClick=function(St){var Ut=Dt.props,vt=Ut.eventKey,Pt=Ut.multiple,br=Ut.onClick,ur=Ut.onSelect,fr=Ut.onDeselect,Jr=Ut.isSelected,Zr={key:vt,keyPath:[vt],item:Object(u.a)(Dt),domEvent:St};br(Zr),Pt?Jr?fr(Zr):ur(Zr):Jr||ur(Zr)},Dt.saveNode=function(St){Dt.node=St},Dt}return Object(s.a)($t,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var St=this.props;St.onDestroy&&St.onDestroy(St.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 St,Ut=Object(l.a)({},this.props),vt=L()(this.getPrefixCls(),Ut.className,(St={},Object(x.a)(St,this.getActiveClassName(),!Ut.disabled&&Ut.active),Object(x.a)(St,this.getSelectedClassName(),Ut.isSelected),Object(x.a)(St,this.getDisabledClassName(),Ut.disabled),St)),Pt=Object(l.a)(Object(l.a)({},Ut.attribute),{},{title:typeof Ut.title=="string"?Ut.title:void 0,className:vt,role:Ut.role||"menuitem","aria-disabled":Ut.disabled});Ut.role==="option"?Pt=Object(l.a)(Object(l.a)({},Pt),{},{role:"option","aria-selected":Ut.isSelected}):(Ut.role===null||Ut.role==="none")&&(Pt.role="none");var br={onClick:Ut.disabled?null:this.onClick,onMouseLeave:Ut.disabled?null:this.onMouseLeave,onMouseEnter:Ut.disabled?null:this.onMouseEnter},ur=Object(l.a)({},Ut.style);Ut.mode==="inline"&&(Ut.direction==="rtl"?ur.paddingRight=Ut.inlineIndent*Ut.level:ur.paddingLeft=Ut.inlineIndent*Ut.level),Re.forEach(function(Jr){return delete Ut[Jr]}),delete Ut.direction;var fr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(fr=e.createElement(this.props.itemIcon,this.props)),e.createElement("li",Object.assign({},Object(w.default)(Ut,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Pt,br,{style:ur,ref:this.saveNode}),Ut.children,fr)}}]),$t}(e.Component);nr.isMenuItem=!0,nr.defaultProps={onSelect:ue,onMouseEnter:ue,onMouseLeave:ue,manualRef:ue};var Yt=Object(y.b)(function(rt,it){var $t=rt.activeKey,Dt=rt.selectedKeys,St=it.eventKey,Ut=it.subMenuKey;return{active:$t[Ut]===St,isSelected:Dt.indexOf(St)!==-1}})(nr),gt=Yt,zr=function(rt){Object(h.a)($t,rt);var it=Object(A.a)($t);function $t(){var Dt;return Object(r.a)(this,$t),Dt=it.apply(this,arguments),Dt.renderInnerMenuItem=function(St){var Ut=Dt.props,vt=Ut.renderMenuItem,Pt=Ut.index;return vt(St,Pt,Dt.props.subMenuKey)},Dt}return Object(s.a)($t,[{key:"render",value:function(){var St=Object(b.a)({},this.props),Ut=St.className,vt=Ut===void 0?"":Ut,Pt=St.rootPrefixCls,br="".concat(Pt,"-item-group-title"),ur="".concat(Pt,"-item-group-list"),fr=St.title,Jr=St.children;return Re.forEach(function(Zr){return delete St[Zr]}),delete St.onClick,delete St.direction,e.createElement("li",Object.assign({},St,{className:"".concat(vt," ").concat(Pt,"-item-group")}),e.createElement("div",{className:br,title:typeof fr=="string"?fr:void 0},fr),e.createElement("ul",{className:ur},e.Children.map(Jr,this.renderInnerMenuItem)))}}]),$t}(e.Component);zr.isMenuItemGroup=!0,zr.defaultProps={disabled:!0};var pn=zr,Nn=function(it){var $t=it.className,Dt=it.rootPrefixCls,St=it.style;return e.createElement("li",{className:"".concat($t," ").concat(Dt,"-item-divider"),style:St})};Nn.defaultProps={disabled:!0,className:"",style:{}};var Vn=Nn,xi=xr,bn=Object(e.createContext)({inlineCollapsed:!1}),Pn=bn,jt=n("0n0R"),At=function(rt){i()($t,rt);var it=a()($t);function $t(){return f()(this,$t),it.apply(this,arguments)}return c()($t,[{key:"renderTitle",value:function(St){var Ut=this.props,vt=Ut.icon,Pt=Ut.title,br=Ut.level,ur=Ut.rootPrefixCls;if(!vt)return St&&br===1&&Pt&&typeof Pt=="string"?e.createElement("div",{className:"".concat(ur,"-inline-collapsed-noicon")},Pt.charAt(0)):Pt;var fr=Object(jt.b)(Pt)&&Pt.type==="span";return e.createElement(e.Fragment,null,vt,fr?Pt:e.createElement("span",null,Pt))}},{key:"render",value:function(){var St=this,Ut=this.props,vt=Ut.rootPrefixCls,Pt=Ut.popupClassName;return e.createElement(Pn.Consumer,null,function(br){var ur=br.inlineCollapsed,fr=br.antdMenuTheme;return e.createElement(kt,p()({},Object(w.default)(St.props,["icon"]),{title:St.renderTitle(ur),popupClassName:L()(vt,"".concat(vt,"-").concat(fr),Pt)}))})}}]),$t}(e.Component);At.contextType=Pn,At.isSubMenu=1;var xe=At,we=n("Zm9Q"),Ee=n("3S7+"),Ge=n("ZX9x"),nt=function(rt,it){var $t={};for(var Dt in rt)Object.prototype.hasOwnProperty.call(rt,Dt)&&it.indexOf(Dt)<0&&($t[Dt]=rt[Dt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Dt=Object.getOwnPropertySymbols(rt);St<Dt.length;St++)it.indexOf(Dt[St])<0&&Object.prototype.propertyIsEnumerable.call(rt,Dt[St])&&($t[Dt[St]]=rt[Dt[St]]);return $t},st=function(rt){i()($t,rt);var it=a()($t);function $t(){var Dt;return f()(this,$t),Dt=it.apply(this,arguments),Dt.renderItem=function(St){var Ut=St.siderCollapsed,vt=Dt.props,Pt=vt.level,br=vt.className,ur=vt.children,fr=vt.rootPrefixCls,Jr=Dt.props,Zr=Jr.title,Fn=Jr.icon,Rn=Jr.danger,ei=nt(Jr,["title","icon","danger"]);return e.createElement(Pn.Consumer,null,function(di){var gi,Ii=di.inlineCollapsed,Ye=di.direction,ge=Zr;typeof Zr=="undefined"?ge=Pt===1?ur:"":Zr===!1&&(ge="");var Ie={title:ge};!Ut&&!Ii&&(Ie.title=null,Ie.visible=!1);var Fe=Object(we.a)(ur).length;return e.createElement(Ee.a,p()({},Ie,{placement:Ye==="rtl"?"left":"right",overlayClassName:"".concat(fr,"-inline-collapsed-tooltip")}),e.createElement(gt,p()({},ei,{className:L()(br,(gi={},m()(gi,"".concat(fr,"-item-danger"),Rn),m()(gi,"".concat(fr,"-item-only-child"),(Fn?Fe+1:Fe)===1),gi)),title:Zr}),Fn,Dt.renderItemChildren(Ii)))})},Dt}return c()($t,[{key:"renderItemChildren",value:function(St){var Ut=this.props,vt=Ut.icon,Pt=Ut.children,br=Ut.level,ur=Ut.rootPrefixCls;return!vt||Object(jt.b)(Pt)&&Pt.type==="span"?Pt&&St&&br===1&&typeof Pt=="string"?e.createElement("div",{className:"".concat(ur,"-inline-collapsed-noicon")},Pt.charAt(0)):Pt:e.createElement("span",null,Pt)}},{key:"render",value:function(){return e.createElement(Ge.a.Consumer,null,this.renderItem)}}]),$t}(e.Component);st.isMenuItem=!0;var Mt=n("H84U"),wr=n("uaoM"),Pr=n("EXcs"),qr=function(rt){i()($t,rt);var it=a()($t);function $t(Dt){var St;return f()(this,$t),St=it.call(this,Dt),St.renderMenu=function(Ut){var vt=Ut.getPopupContainer,Pt=Ut.getPrefixCls,br=Ut.direction,ur=St.props,fr=ur.prefixCls,Jr=ur.className,Zr=ur.theme,Fn={horizontal:{motionName:"slide-up"},inline:Pr.a,other:{motionName:"zoom-big"}},Rn=Pt("menu",fr),ei=L()(Jr,"".concat(Rn,"-").concat(Zr),m()({},"".concat(Rn,"-inline-collapsed"),St.getInlineCollapsed()));return e.createElement(Pn.Provider,{value:{inlineCollapsed:St.getInlineCollapsed()||!1,antdMenuTheme:Zr,direction:br}},e.createElement(xi,p()({getPopupContainer:vt},St.props,{className:ei,prefixCls:Rn,direction:br,defaultMotions:Fn})))},Object(wr.a)(!("inlineCollapsed"in Dt&&Dt.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(wr.a)(!(Dt.siderCollapsed!==void 0&&"inlineCollapsed"in Dt),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),St}return c()($t,[{key:"getInlineCollapsed",value:function(){var St=this.props,Ut=St.inlineCollapsed,vt=St.siderCollapsed;return vt!==void 0?vt:Ut}},{key:"render",value:function(){return e.createElement(Mt.a,null,this.renderMenu)}}]),$t}(e.Component);qr.defaultProps={className:"",theme:"light",focusable:!1};var xt=function(rt){i()($t,rt);var it=a()($t);function $t(){return f()(this,$t),it.apply(this,arguments)}return c()($t,[{key:"render",value:function(){var St=this;return e.createElement(Ge.a.Consumer,null,function(Ut){return e.createElement(qr,p()({},St.props,Ut))})}}]),$t}(e.Component);xt.Divider=Vn,xt.Item=st,xt.SubMenu=xe,xt.ItemGroup=pn},C0SR:function(M,N,n){var v=n("YH21"),p=function(){this._track=[]};p.prototype={constructor:p,recognize:function(c,o,i){return this._doTrack(c,o,i),this._recognize(c)},clear:function(){return this._track.length=0,this},_doTrack:function(c,o,i){var t=c.touches;if(!t)return;for(var a={points:[],touches:[],target:o,event:c},e=0,l=t.length;e<l;e++){var r=t[e],s=v.clientToLocal(i,r,{});a.points.push([s.zrX,s.zrY]),a.touches.push(r)}this._track.push(a)},_recognize:function(c){for(var o in g)if(g.hasOwnProperty(o)){var i=g[o](this._track,c);if(i)return i}}};function S(d){var c=d[1][0]-d[0][0],o=d[1][1]-d[0][1];return Math.sqrt(c*c+o*o)}function m(d){return[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]}var g={pinch:function(c,o){var i=c.length;if(!i)return;var t=(c[i-1]||{}).points,a=(c[i-2]||{}).points||t;if(a&&a.length>1&&t&&t.length>1){var e=S(t)/S(a);!isFinite(e)&&(e=1),o.pinchScale=e;var l=m(t);return o.pinchX=l[0],o.pinchY=l[1],{type:"pinch",target:c[0].target,event:o}}}},f=p;M.exports=f},C0tN:function(M,N,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},CBdT:function(M,N,n){var v=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var p=n("q3GZ");v.registerVisual(p)},CF2D:function(M,N,n){var v=n("ProS");n("vZI5"),n("GeKi");var p=n("6r85"),S=n("TJmX"),m=n("CbHG");v.registerPreprocessor(p),v.registerVisual(S),v.registerLayout(m)},CFYs:function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("PJYZ"),i=n.n(o),t=n("7W2i"),a=n.n(t),e=n("LQ03"),l=n.n(e),r=n("q1tI"),s=n.n(r),u=n("TSYQ"),h=n.n(u),A=n("BGR+"),y=n("V/uB"),w=n.n(y),b=n("NAnI"),x=n.n(b),O=n("J84W"),T=n.n(O),E=n("kbBi"),C=n.n(E),_=n("H84U"),L=n("CWQg"),P=n("uaoM"),k=n("Zss7"),F=n.n(k),j=2,z=.16,R=.05,U=.05,B=.15,H=5,K=4,V=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function W(st,Mt,wr){var Pr;return Math.round(st.h)>=60&&Math.round(st.h)<=240?Pr=wr?Math.round(st.h)-j*Mt:Math.round(st.h)+j*Mt:Pr=wr?Math.round(st.h)+j*Mt:Math.round(st.h)-j*Mt,Pr<0?Pr+=360:Pr>=360&&(Pr-=360),Pr}function G(st,Mt,wr){if(st.h===0&&st.s===0)return st.s;var Pr;return wr?Pr=st.s-z*Mt:Mt===K?Pr=st.s+z:Pr=st.s+R*Mt,Pr>1&&(Pr=1),wr&&Mt===H&&Pr>.1&&(Pr=.1),Pr<.06&&(Pr=.06),Number(Pr.toFixed(2))}function re(st,Mt,wr){var Pr;return wr?Pr=st.v+U*Mt:Pr=st.v-B*Mt,Pr>1&&(Pr=1),Number(Pr.toFixed(2))}function ye(st){for(var Mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},wr=[],Pr=F()(st),qr=H;qr>0;qr-=1){var xt=Pr.toHsv(),rt=F()({h:W(xt,qr,!0),s:G(xt,qr,!0),v:re(xt,qr,!0)}).toHexString();wr.push(rt)}wr.push(Pr.toHexString());for(var it=1;it<=K;it+=1){var $t=Pr.toHsv(),Dt=F()({h:W($t,it),s:G($t,it),v:re($t,it)}).toHexString();wr.push(Dt)}return Mt.theme==="dark"?V.map(function(St){var Ut=St.index,vt=St.opacity,Pt=F.a.mix(Mt.backgroundColor||"#141414",wr[Ut],vt*100).toHexString();return Pt}):wr}var $={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ve={},Ce={};Object.keys($).forEach(function(st){ve[st]=ye($[st]),ve[st].primary=ve[st][5],Ce[st]=ye($[st],{theme:"dark",backgroundColor:"#141414"}),Ce[st].primary=Ce[st][5]});var Se=ve.red,Ke=ve.volcano,ue=ve.gold,Le=ve.orange,ee=ve.yellow,le=ve.lime,et=ve.green,Re=ve.cyan,Ae=ve.blue,oe=ve.geekblue,ce=ve.purple,be=ve.magenta,Te=ve.grey;function Be(st){return!st||st<0?0:st>100?100:st}function De(st){var Mt=st.success,wr=st.successPercent,Pr=wr;return Mt&&"progress"in Mt&&(Object(P.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Pr=Mt.progress),Mt&&"percent"in Mt&&(Pr=Mt.percent),Pr}var ae=function(st,Mt){var wr={};for(var Pr in st)Object.prototype.hasOwnProperty.call(st,Pr)&&Mt.indexOf(Pr)<0&&(wr[Pr]=st[Pr]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qr=0,Pr=Object.getOwnPropertySymbols(st);qr<Pr.length;qr++)Mt.indexOf(Pr[qr])<0&&Object.prototype.propertyIsEnumerable.call(st,Pr[qr])&&(wr[Pr[qr]]=st[Pr[qr]]);return wr},fe=function(Mt){var wr=[];return Object.keys(Mt).forEach(function(Pr){var qr=parseFloat(Pr.replace(/%/g,""));isNaN(qr)||wr.push({key:qr,value:Mt[Pr]})}),wr=wr.sort(function(Pr,qr){return Pr.key-qr.key}),wr.map(function(Pr){var qr=Pr.key,xt=Pr.value;return"".concat(xt," ").concat(qr,"%")}).join(", ")},Oe=function(Mt){var wr=Mt.from,Pr=wr===void 0?$.blue:wr,qr=Mt.to,xt=qr===void 0?$.blue:qr,rt=Mt.direction,it=rt===void 0?"to right":rt,$t=ae(Mt,["from","to","direction"]);if(Object.keys($t).length!==0){var Dt=fe($t);return{backgroundImage:"linear-gradient(".concat(it,", ").concat(Dt,")")}}return{backgroundImage:"linear-gradient(".concat(it,", ").concat(Pr,", ").concat(xt,")")}},Je=function(Mt){var wr=Mt.prefixCls,Pr=Mt.percent,qr=Mt.strokeWidth,xt=Mt.size,rt=Mt.strokeColor,it=Mt.strokeLinecap,$t=Mt.children,Dt=Mt.trailColor,St=Mt.success,Ut=rt&&typeof rt!="string"?Oe(rt):{background:rt},vt=Dt?{backgroundColor:Dt}:void 0,Pt=m()({width:"".concat(Be(Pr),"%"),height:qr||(xt==="small"?6:8),borderRadius:it==="square"?0:""},Ut),br=De(Mt),ur={width:"".concat(Be(br),"%"),height:qr||(xt==="small"?6:8),borderRadius:it==="square"?0:"",backgroundColor:St==null?void 0:St.strokeColor},fr=br!==void 0?r.createElement("div",{className:"".concat(wr,"-success-bg"),style:ur}):null;return r.createElement(r.Fragment,null,r.createElement("div",{className:"".concat(wr,"-outer")},r.createElement("div",{className:"".concat(wr,"-inner"),style:vt},r.createElement("div",{className:"".concat(wr,"-bg"),style:Pt}),fr)),$t)},Et=Je,Ze={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Ne=function(Mt){var wr=Mt.map(function(){return Object(r.useRef)()}),Pr=Object(r.useRef)();return Object(r.useEffect)(function(){var qr=Date.now(),xt=!1;Object.keys(wr).forEach(function(rt){var it=wr[rt].current;if(!it)return;xt=!0;var $t=it.style;$t.transitionDuration=".3s, .3s, .3s, .06s",Pr.current&&qr-Pr.current<100&&($t.transitionDuration="0s, 0s")}),xt&&(Pr.current=Date.now())}),[wr]};function It(){return It=Object.assign||function(st){for(var Mt=1;Mt<arguments.length;Mt++){var wr=arguments[Mt];for(var Pr in wr)Object.prototype.hasOwnProperty.call(wr,Pr)&&(st[Pr]=wr[Pr])}return st},It.apply(this,arguments)}function Xe(st,Mt){return Ft(st)||_t(st,Mt)||Bt(st,Mt)||Ot()}function Ot(){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 Bt(st,Mt){if(!st)return;if(typeof st=="string")return kt(st,Mt);var wr=Object.prototype.toString.call(st).slice(8,-1);if(wr==="Object"&&st.constructor&&(wr=st.constructor.name),wr==="Map"||wr==="Set")return Array.from(st);if(wr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wr))return kt(st,Mt)}function kt(st,Mt){(Mt==null||Mt>st.length)&&(Mt=st.length);for(var wr=0,Pr=new Array(Mt);wr<Mt;wr++)Pr[wr]=st[wr];return Pr}function _t(st,Mt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(st)))return;var wr=[],Pr=!0,qr=!1,xt=void 0;try{for(var rt=st[Symbol.iterator](),it;!(Pr=(it=rt.next()).done)&&!(wr.push(it.value),Mt&&wr.length===Mt);Pr=!0);}catch($t){qr=!0,xt=$t}finally{try{!Pr&&rt.return!=null&&rt.return()}finally{if(qr)throw xt}}return wr}function Ft(st){if(Array.isArray(st))return st}function ke(st,Mt){if(st==null)return{};var wr=te(st,Mt),Pr,qr;if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(st);for(qr=0;qr<xt.length;qr++){if(Pr=xt[qr],Mt.indexOf(Pr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(st,Pr))continue;wr[Pr]=st[Pr]}}return wr}function te(st,Mt){if(st==null)return{};var wr={},Pr=Object.keys(st),qr,xt;for(xt=0;xt<Pr.length;xt++){if(qr=Pr[xt],Mt.indexOf(qr)>=0)continue;wr[qr]=st[qr]}return wr}var Q=function(Mt){var wr=Mt.className,Pr=Mt.percent,qr=Mt.prefixCls,xt=Mt.strokeColor,rt=Mt.strokeLinecap,it=Mt.strokeWidth,$t=Mt.style,Dt=Mt.trailColor,St=Mt.trailWidth,Ut=Mt.transition,vt=ke(Mt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete vt.gapPosition;var Pt=Array.isArray(Pr)?Pr:[Pr],br=Array.isArray(xt)?xt:[xt],ur=Ne(Pt),fr=Xe(ur,1),Jr=fr[0],Zr=it/2,Fn=100-it/2,Rn="M ".concat(rt==="round"?Zr:0,",").concat(Zr,`
L `).concat(rt==="round"?Fn:100,",").concat(Zr),ei="0 0 100 ".concat(it),di=0;return s.a.createElement("svg",It({className:h()("".concat(qr,"-line"),wr),viewBox:ei,preserveAspectRatio:"none",style:$t},vt),s.a.createElement("path",{className:"".concat(qr,"-line-trail"),d:Rn,strokeLinecap:rt,stroke:Dt,strokeWidth:St||it,fillOpacity:"0"}),Pt.map(function(gi,Ii){var Ye={strokeDasharray:"".concat(gi,"px, 100px"),strokeDashoffset:"-".concat(di,"px"),transition:Ut||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ge=br[Ii]||br[br.length-1];return di+=gi,s.a.createElement("path",{key:Ii,className:"".concat(qr,"-line-path"),d:Rn,strokeLinecap:rt,stroke:ge,strokeWidth:it,fillOpacity:"0",ref:Jr[Ii],style:Ye})}))};Q.defaultProps=Ze;var qe=Q;function je(){return je=Object.assign||function(st){for(var Mt=1;Mt<arguments.length;Mt++){var wr=arguments[Mt];for(var Pr in wr)Object.prototype.hasOwnProperty.call(wr,Pr)&&(st[Pr]=wr[Pr])}return st},je.apply(this,arguments)}function q(st,Mt){return vr(st)||or(st,Mt)||Vt(st,Mt)||wt()}function wt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vt(st,Mt){if(!st)return;if(typeof st=="string")return lt(st,Mt);var wr=Object.prototype.toString.call(st).slice(8,-1);if(wr==="Object"&&st.constructor&&(wr=st.constructor.name),wr==="Map"||wr==="Set")return Array.from(st);if(wr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wr))return lt(st,Mt)}function lt(st,Mt){(Mt==null||Mt>st.length)&&(Mt=st.length);for(var wr=0,Pr=new Array(Mt);wr<Mt;wr++)Pr[wr]=st[wr];return Pr}function or(st,Mt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(st)))return;var wr=[],Pr=!0,qr=!1,xt=void 0;try{for(var rt=st[Symbol.iterator](),it;!(Pr=(it=rt.next()).done)&&!(wr.push(it.value),Mt&&wr.length===Mt);Pr=!0);}catch($t){qr=!0,xt=$t}finally{try{!Pr&&rt.return!=null&&rt.return()}finally{if(qr)throw xt}}return wr}function vr(st){if(Array.isArray(st))return st}function An(st,Mt){if(st==null)return{};var wr=hr(st,Mt),Pr,qr;if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(st);for(qr=0;qr<xt.length;qr++){if(Pr=xt[qr],Mt.indexOf(Pr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(st,Pr))continue;wr[Pr]=st[Pr]}}return wr}function hr(st,Mt){if(st==null)return{};var wr={},Pr=Object.keys(st),qr,xt;for(xt=0;xt<Pr.length;xt++){if(qr=Pr[xt],Mt.indexOf(qr)>=0)continue;wr[qr]=st[qr]}return wr}var xr=0;function nr(st){return+st.replace("%","")}function Yt(st){return Array.isArray(st)?st:[st]}function gt(st,Mt,wr,Pr){var qr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,xt=arguments.length>5?arguments[5]:void 0,rt=50-Pr/2,it=0,$t=-rt,Dt=0,St=-2*rt;switch(xt){case"left":it=-rt,$t=0,Dt=2*rt,St=0;break;case"right":it=rt,$t=0,Dt=-2*rt,St=0;break;case"bottom":$t=rt,St=2*rt;break;default:}var Ut="M 50,50 m ".concat(it,",").concat($t,`
a `).concat(rt,",").concat(rt," 0 1 1 ").concat(Dt,",").concat(-St,`
a `).concat(rt,",").concat(rt," 0 1 1 ").concat(-Dt,",").concat(St),vt=Math.PI*2*rt,Pt={stroke:wr,strokeDasharray:"".concat(Mt/100*(vt-qr),"px ").concat(vt,"px"),strokeDashoffset:"-".concat(qr/2+st/100*(vt-qr),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Ut,pathStyle:Pt}}var zr=function(Mt){var wr=Mt.prefixCls,Pr=Mt.strokeWidth,qr=Mt.trailWidth,xt=Mt.gapDegree,rt=Mt.gapPosition,it=Mt.trailColor,$t=Mt.strokeLinecap,Dt=Mt.style,St=Mt.className,Ut=Mt.strokeColor,vt=Mt.percent,Pt=An(Mt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),br=Object(r.useMemo)(function(){return xr+=1,xr},[]),ur=gt(0,100,it,Pr,xt,rt),fr=ur.pathString,Jr=ur.pathStyle,Zr=Yt(vt),Fn=Yt(Ut),Rn=Fn.find(function(Ye){return Object.prototype.toString.call(Ye)==="[object Object]"}),ei=Ne(Zr),di=q(ei,1),gi=di[0],Ii=function(){var ge=0;return Zr.map(function(Ie,Fe){var Ve=Fn[Fe]||Fn[Fn.length-1],We=Object.prototype.toString.call(Ve)==="[object Object]"?"url(#".concat(wr,"-gradient-").concat(br,")"):"",Qe=gt(ge,Ie,Ve,Pr,xt,rt);return ge+=Ie,s.a.createElement("path",{key:Fe,className:"".concat(wr,"-circle-path"),d:Qe.pathString,stroke:We,strokeLinecap:$t,strokeWidth:Pr,opacity:Ie===0?0:1,fillOpacity:"0",style:Qe.pathStyle,ref:gi[Fe]})})};return s.a.createElement("svg",je({className:h()("".concat(wr,"-circle"),St),viewBox:"0 0 100 100",style:Dt},Pt),Rn&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(wr,"-gradient-").concat(br),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Rn).sort(function(Ye,ge){return nr(Ye)-nr(ge)}).map(function(Ye,ge){return s.a.createElement("stop",{key:ge,offset:Ye,stopColor:Rn[Ye]})}))),s.a.createElement("path",{className:"".concat(wr,"-circle-trail"),d:fr,stroke:it,strokeLinecap:$t,strokeWidth:qr||Pr,fillOpacity:"0",style:Jr}),Ii().reverse())};zr.defaultProps=Ze;var pn=zr,Nn={Line:qe,Circle:pn};function Vn(st){var Mt=st.percent,wr=st.success,Pr=st.successPercent,qr=Be(Mt),xt=De({success:wr,successPercent:Pr});return xt?[Be(xt),Be(qr-Be(xt))]:qr}function xi(st){var Mt=st.success,wr=st.strokeColor,Pr=st.successPercent,qr=wr||null,xt=De({success:Mt,successPercent:Pr});return xt?[$.green,qr]:qr}var bn=function(Mt){var wr=Mt.prefixCls,Pr=Mt.width,qr=Mt.strokeWidth,xt=Mt.trailColor,rt=Mt.strokeLinecap,it=Mt.gapPosition,$t=Mt.gapDegree,Dt=Mt.type,St=Mt.children,Ut=Pr||120,vt={width:Ut,height:Ut,fontSize:Ut*.15+6},Pt=qr||6,br=it||Dt==="dashboard"&&"bottom"||"top",ur=function(){return $t||$t===0?$t:Dt==="dashboard"?75:void 0},fr=xi(Mt),Jr=Object.prototype.toString.call(fr)==="[object Object]",Zr=h()("".concat(wr,"-inner"),p()({},"".concat(wr,"-circle-gradient"),Jr));return r.createElement("div",{className:Zr,style:vt},r.createElement(pn,{percent:Vn(Mt),strokeWidth:Pt,trailWidth:Pt,strokeColor:fr,strokeLinecap:rt,trailColor:xt,prefixCls:wr,gapDegree:ur(),gapPosition:br}),St)},Pn=bn,jt=function(Mt){for(var wr=Mt.size,Pr=Mt.steps,qr=Mt.percent,xt=qr===void 0?0:qr,rt=Mt.strokeWidth,it=rt===void 0?8:rt,$t=Mt.strokeColor,Dt=Mt.trailColor,St=Mt.prefixCls,Ut=Mt.children,vt=Math.floor(Pr*(xt/100)),Pt=wr==="small"?2:14,br=[],ur=0;ur<Pr;ur+=1)br.push(r.createElement("div",{key:ur,className:h()("".concat(St,"-steps-item"),p()({},"".concat(St,"-steps-item-active"),ur<=vt-1)),style:{backgroundColor:ur<=vt-1?$t:Dt,width:Pt,height:it}}));return r.createElement("div",{className:"".concat(St,"-steps-outer")},br,Ut)},At=jt,xe=function(st,Mt){var wr={};for(var Pr in st)Object.prototype.hasOwnProperty.call(st,Pr)&&Mt.indexOf(Pr)<0&&(wr[Pr]=st[Pr]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qr=0,Pr=Object.getOwnPropertySymbols(st);qr<Pr.length;qr++)Mt.indexOf(Pr[qr])<0&&Object.prototype.propertyIsEnumerable.call(st,Pr[qr])&&(wr[Pr[qr]]=st[Pr[qr]]);return wr},we=Object(L.a)("line","circle","dashboard"),Ee=Object(L.a)("normal","exception","active","success"),Ge=function(st){a()(wr,st);var Mt=l()(wr);function wr(){var Pr;return f()(this,wr),Pr=Mt.apply(this,arguments),Pr.renderProgress=function(qr){var xt,rt=qr.getPrefixCls,it=qr.direction,$t=i()(Pr),Dt=$t.props,St=Dt.prefixCls,Ut=Dt.className,vt=Dt.size,Pt=Dt.type,br=Dt.steps,ur=Dt.showInfo,fr=Dt.strokeColor,Jr=xe(Dt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),Zr=rt("progress",St),Fn=Pr.getProgressStatus(),Rn=Pr.renderProcessInfo(Zr,Fn);Object(P.a)(!("successPercent"in Dt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ei;Pt==="line"?ei=br?r.createElement(At,m()({},Pr.props,{strokeColor:typeof fr=="string"?fr:void 0,prefixCls:Zr,steps:br}),Rn):r.createElement(Et,m()({},Pr.props,{prefixCls:Zr}),Rn):(Pt==="circle"||Pt==="dashboard")&&(ei=r.createElement(Pn,m()({},Pr.props,{prefixCls:Zr,progressStatus:Fn}),Rn));var di=h()(Zr,(xt={},p()(xt,"".concat(Zr,"-").concat(Pt==="dashboard"&&"circle"||br&&"steps"||Pt),!0),p()(xt,"".concat(Zr,"-status-").concat(Fn),!0),p()(xt,"".concat(Zr,"-show-info"),ur),p()(xt,"".concat(Zr,"-").concat(vt),vt),p()(xt,"".concat(Zr,"-rtl"),it==="rtl"),xt),Ut);return r.createElement("div",m()({},Object(A.default)(Jr,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:di}),ei)},Pr}return c()(wr,[{key:"getPercentNumber",value:function(){var qr=this.props.percent,xt=qr===void 0?0:qr,rt=De(this.props);return parseInt(rt!==void 0?rt.toString():xt.toString(),10)}},{key:"getProgressStatus",value:function(){var qr=this.props.status;return Ee.indexOf(qr)<0&&this.getPercentNumber()>=100?"success":qr||"normal"}},{key:"renderProcessInfo",value:function(qr,xt){var rt=this.props,it=rt.showInfo,$t=rt.format,Dt=rt.type,St=rt.percent,Ut=De(this.props);if(!it)return null;var vt,Pt=$t||function(ur){return"".concat(ur,"%")},br=Dt==="line";return $t||xt!=="exception"&&xt!=="success"?vt=Pt(Be(St),Be(Ut)):xt==="exception"?vt=br?r.createElement(C.a,null):r.createElement(w.a,null):xt==="success"&&(vt=br?r.createElement(T.a,null):r.createElement(x.a,null)),r.createElement("span",{className:"".concat(qr,"-text"),title:typeof vt=="string"?vt:void 0},vt)}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderProgress)}}]),wr}(r.Component);Ge.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var nt=N.a=Ge},"CMP+":function(M,N,n){var v=n("bYtY"),p=n("hM6l"),S=function(g,f,d,c){p.call(this,g,f,d),this.type=c||"value",this.model=null};S.prototype={constructor:S,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},v.inherits(S,p);var m=S;M.exports=m},CP8R:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};N.default=v},"CWI+":function(M,N,n){},CbHG:function(M,N,n){var v=n("IwbS"),p=v.subPixelOptimize,S=n("zM3Q"),m=n("OELB"),g=m.parsePercent,f=n("bYtY"),d=f.retrieve2,c=typeof Float32Array!="undefined"?Float32Array:Array,o={seriesType:"candlestick",plan:S(),reset:function(a){var e=a.coordinateSystem,l=a.getData(),r=t(a,l),s=0,u=1,h=["x","y"],A=l.mapDimension(h[s]),y=l.mapDimension(h[u],!0),w=y[0],b=y[1],x=y[2],O=y[3];if(l.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),A==null||y.length<4)return;return{progress:a.pipelineContext.large?E:T};function T(C,_){for(var L;(L=C.next())!=null;){var P=_.get(A,L),k=_.get(w,L),F=_.get(b,L),j=_.get(x,L),z=_.get(O,L),R=Math.min(k,F),U=Math.max(k,F),B=G(R,P),H=G(U,P),K=G(j,P),V=G(z,P),W=[];re(W,H,0),re(W,B,1),W.push($(V),$(H),$(K),$(B)),_.setItemLayout(L,{sign:i(_,L,k,F,b),initBaseline:k>F?H[u]:B[u],ends:W,brushRect:ye(j,z,P)})}function G(ve,Ce){var Se=[];return Se[s]=Ce,Se[u]=ve,isNaN(Ce)||isNaN(ve)?[NaN,NaN]:e.dataToPoint(Se)}function re(ve,Ce,Se){var Ke=Ce.slice(),ue=Ce.slice();Ke[s]=p(Ke[s]+r/2,1,!1),ue[s]=p(ue[s]-r/2,1,!0),Se?ve.push(Ke,ue):ve.push(ue,Ke)}function ye(ve,Ce,Se){var Ke=G(ve,Se),ue=G(Ce,Se);return Ke[s]-=r/2,ue[s]-=r/2,{x:Ke[0],y:Ke[1],width:u?r:ue[0]-Ke[0],height:u?ue[1]-Ke[1]:r}}function $(ve){return ve[s]=p(ve[s],1),ve}}function E(C,_){for(var L=new c(C.count*4),P=0,k,F=[],j=[],z;(z=C.next())!=null;){var R=_.get(A,z),U=_.get(w,z),B=_.get(b,z),H=_.get(x,z),K=_.get(O,z);if(isNaN(R)||isNaN(H)||isNaN(K)){L[P++]=NaN,P+=3;continue}L[P++]=i(_,z,U,B,b),F[s]=R,F[u]=H,k=e.dataToPoint(F,null,j),L[P++]=k?k[0]:NaN,L[P++]=k?k[1]:NaN,F[u]=K,k=e.dataToPoint(F,null,j),L[P++]=k?k[1]:NaN}_.setLayout("largePoints",L)}}};function i(a,e,l,r,s){var u;return l>r?u=-1:l<r?u=1:u=e>0?a.get(s,e-1)<=r?1:-1:1,u}function t(a,e){var l=a.getBaseAxis(),r,s=l.type==="category"?l.getBandWidth():(r=l.getExtent(),Math.abs(r[1]-r[0])/e.count()),u=g(d(a.get("barMaxWidth"),s),s),h=g(d(a.get("barMinWidth"),1),s),A=a.get("barWidth");return A!=null?g(A,s):Math.max(Math.min(s/2,u),h)}M.exports=o},CiB2:function(M,N,n){"use strict";n.d(N,"a",function(){return v});function v(p){if(p==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(M,N,n){n("5NHt"),n("f3JH")},CrYA:function(M,N,n){var v=n("MFOe"),p=v.Global;M.exports={name:"sessionStorage",read:m,write:g,each:f,remove:d,clearAll:c};function S(){return p.sessionStorage}function m(o){return S().getItem(o)}function g(o,i){return S().setItem(o,i)}function f(o){for(var i=S().length-1;i>=0;i--){var t=S().key(i);o(m(t),t)}}function d(o){return S().removeItem(o)}function c(){return S().clear()}},Csr3:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("4vCz"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},D1WM:function(M,N,n){var v=n("bYtY"),p=n("hM6l"),S=function(g,f,d,c,o){p.call(this,g,f,d),this.type=c||"value",this.axisIndex=o};S.prototype={constructor:S,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},v.inherits(S,p);var m=S;M.exports=m},D5nY:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("4NO4"),m=S.makeInner,g=S.getDataItemValue,f=n("bYtY"),d=f.createHashMap,c=f.each,o=f.map,i=f.isArray,t=f.isString,a=f.isObject,e=f.isTypedArray,l=f.isArrayLike,r=f.extend,s=f.assert,u=n("7G+c"),h=n("k9D9"),A=h.SOURCE_FORMAT_ORIGINAL,y=h.SOURCE_FORMAT_ARRAY_ROWS,w=h.SOURCE_FORMAT_OBJECT_ROWS,b=h.SOURCE_FORMAT_KEYED_COLUMNS,x=h.SOURCE_FORMAT_UNKNOWN,O=h.SOURCE_FORMAT_TYPED_ARRAY,T=h.SERIES_LAYOUT_BY_ROW,E={Must:1,Might:2,Not:3},C=m();function _(W){var G=W.option.source,re=x;if(e(G))re=O;else if(i(G)){G.length===0&&(re=y);for(var ye=0,$=G.length;ye<$;ye++){var ve=G[ye];if(ve==null)continue;if(i(ve)){re=y;break}else if(a(ve)){re=w;break}}}else if(a(G)){for(var Ce in G)if(G.hasOwnProperty(Ce)&&l(G[Ce])){re=b;break}}else if(G!=null)throw new Error("Invalid data");C(W).sourceFormat=re}function L(W){return C(W).source}function P(W){C(W).datasetMap=d()}function k(W){var G=W.option,re=G.data,ye=e(re)?O:A,$=!1,ve=G.seriesLayoutBy,Ce=G.sourceHeader,Se=G.dimensions,Ke=H(W);if(Ke){var ue=Ke.option;re=ue.source,ye=C(Ke).sourceFormat,$=!0,ve=ve||ue.seriesLayoutBy,Ce==null&&(Ce=ue.sourceHeader),Se=Se||ue.dimensions}var Le=F(re,ye,ve,Ce,Se);C(W).source=new u({data:re,fromDataset:$,seriesLayoutBy:ve,sourceFormat:ye,dimensionsDefine:Le.dimensionsDefine,startIndex:Le.startIndex,dimensionsDetectCount:Le.dimensionsDetectCount,encodeDefine:G.encode})}function F(W,G,re,ye,$){if(!W)return{dimensionsDefine:j($)};var ve,Ce;if(G===y)ye==="auto"||ye==null?z(function(Ke){Ke!=null&&Ke!=="-"&&(t(Ke)?Ce==null&&(Ce=1):Ce=0)},re,W,10):Ce=ye?1:0,!$&&Ce===1&&($=[],z(function(Ke,ue){$[ue]=Ke!=null?Ke:""},re,W)),ve=$?$.length:re===T?W.length:W[0]?W[0].length:null;else if(G===w)$||($=R(W));else if(G===b)$||($=[],c(W,function(Ke,ue){$.push(ue)}));else if(G===A){var Se=g(W[0]);ve=i(Se)&&Se.length||1}else G===O;return{startIndex:Ce,dimensionsDefine:j($),dimensionsDetectCount:ve}}function j(W){if(!W)return;var G=d();return o(W,function(re,ye){if(re=r({},a(re)?re:{name:re}),re.name==null)return re;re.name+="",re.displayName==null&&(re.displayName=re.name);var $=G.get(re.name);return $?re.name+="-"+$.count++:G.set(re.name,{count:1}),re})}function z(W,G,re,ye){if(ye==null&&(ye=Infinity),G===T)for(var $=0;$<re.length&&$<ye;$++)W(re[$]?re[$][0]:null,$);else for(var ve=re[0]||[],$=0;$<ve.length&&$<ye;$++)W(ve[$],$)}function R(W){for(var G=0,re;G<W.length&&!(re=W[G++]););if(re){var ye=[];return c(re,function($,ve){ye.push(ve)}),ye}}function U(W,G,re){var ye={},$=H(G);if(!$||!W)return ye;var ve=[],Ce=[],Se=G.ecModel,Ke=C(Se).datasetMap,ue=$.uid+"_"+re.seriesLayoutBy,Le,ee;W=W.slice(),c(W,function(Ae,oe){!a(Ae)&&(W[oe]={name:Ae}),Ae.type==="ordinal"&&Le==null&&(Le=oe,ee=Re(W[oe])),ye[Ae.name]=[]});var le=Ke.get(ue)||Ke.set(ue,{categoryWayDim:ee,valueWayDim:0});c(W,function(Ae,oe){var ce=Ae.name,be=Re(Ae);if(Le==null){var Te=le.valueWayDim;et(ye[ce],Te,be),et(Ce,Te,be),le.valueWayDim+=be}else if(Le===oe)et(ye[ce],0,be),et(ve,0,be);else{var Te=le.categoryWayDim;et(ye[ce],Te,be),et(Ce,Te,be),le.categoryWayDim+=be}});function et(Ae,oe,ce){for(var be=0;be<ce;be++)Ae.push(oe+be)}function Re(Ae){var oe=Ae.dimsDef;return oe?oe.length:1}return ve.length&&(ye.itemName=ve),Ce.length&&(ye.seriesName=Ce),ye}function B(W,G,re){var ye={},$=H(W);if(!$)return ye;var ve=G.sourceFormat,Ce=G.dimensionsDefine,Se;(ve===w||ve===b)&&c(Ce,function(Le,ee){(a(Le)?Le.name:Le)==="name"&&(Se=ee)});var Ke=function(){for(var Le={},ee={},le=[],et=0,Re=Math.min(5,re);et<Re;et++){var Ae=V(G.data,ve,G.seriesLayoutBy,Ce,G.startIndex,et);le.push(Ae);var oe=Ae===E.Not;if(oe&&Le.v==null&&et!==Se&&(Le.v=et),(Le.n==null||Le.n===Le.v||!oe&&le[Le.n]===E.Not)&&(Le.n=et),ce(Le)&&le[Le.n]!==E.Not)return Le;oe||(Ae===E.Might&&ee.v==null&&et!==Se&&(ee.v=et),(ee.n==null||ee.n===ee.v)&&(ee.n=et))}function ce(be){return be.v!=null&&be.n!=null}return ce(Le)?Le:ce(ee)?ee:null}();if(Ke){ye.value=Ke.v;var ue=Se!=null?Se:Ke.n;ye.itemName=[ue],ye.seriesName=[ue]}return ye}function H(W){var G=W.option,re=G.data;if(!re)return W.ecModel.getComponent("dataset",G.datasetIndex||0)}function K(W,G){return V(W.data,W.sourceFormat,W.seriesLayoutBy,W.dimensionsDefine,W.startIndex,G)}function V(W,G,re,ye,$,ve){var Ce,Se=5;if(e(W))return E.Not;var Ke,ue;if(ye){var Le=ye[ve];a(Le)?(Ke=Le.name,ue=Le.type):t(Le)&&(Ke=Le)}if(ue!=null)return ue==="ordinal"?E.Must:E.Not;if(G===y)if(re===T){for(var ee=W[ve],le=0;le<(ee||[]).length&&le<Se;le++)if((Ce=oe(ee[$+le]))!=null)return Ce}else for(var le=0;le<W.length&&le<Se;le++){var et=W[$+le];if(et&&(Ce=oe(et[ve]))!=null)return Ce}else if(G===w){if(!Ke)return E.Not;for(var le=0;le<W.length&&le<Se;le++){var Re=W[le];if(Re&&(Ce=oe(Re[Ke]))!=null)return Ce}}else if(G===b){if(!Ke)return E.Not;var ee=W[Ke];if(!ee||e(ee))return E.Not;for(var le=0;le<ee.length&&le<Se;le++)if((Ce=oe(ee[le]))!=null)return Ce}else if(G===A)for(var le=0;le<W.length&&le<Se;le++){var Re=W[le],Ae=g(Re);if(!i(Ae))return E.Not;if((Ce=oe(Ae[ve]))!=null)return Ce}function oe(ce){var be=t(ce);if(ce!=null&&isFinite(ce)&&ce!=="")return be?E.Might:E.Not;if(be&&ce!=="-")return E.Must}return E.Not}N.BE_ORDINAL=E,N.detectSourceFormat=_,N.getSource=L,N.resetSourceDefaulter=P,N.prepareSource=k,N.makeSeriesEncodeForAxisCoordSys=U,N.makeSeriesEncodeForNameBased=B,N.guessOrdinal=K},D9ME:function(M,N,n){var v=n("IwbS"),p=n("fls0"),S=n("bYtY"),m=n("oVpE"),g=m.createSymbol,f=n("QBsz"),d=n("Sj9i");function c(t,a,e){v.Group.call(this),this.add(this.createLine(t,a,e)),this._updateEffectSymbol(t,a)}var o=c.prototype;o.createLine=function(t,a,e){return new p(t,a,e)},o._updateEffectSymbol=function(t,a){var e=t.getItemModel(a),l=e.getModel("effect"),r=l.get("symbolSize"),s=l.get("symbol");S.isArray(r)||(r=[r,r]);var u=l.get("color")||t.getItemVisual(a,"color"),h=this.childAt(1);if(this._symbolType!==s&&(this.remove(h),h=g(s,-.5,-.5,1,1,u),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",u),h.setStyle(l.getItemStyle(["color"])),h.attr("scale",r),h.setColor(u),h.attr("scale",r),this._symbolType=s,this._symbolScale=r,this._updateEffectAnimation(t,l,a)},o._updateEffectAnimation=function(t,a,e){var l=this.childAt(1);if(!l)return;var r=this,s=t.getItemLayout(e),u=a.get("period")*1e3,h=a.get("loop"),A=a.get("constantSpeed"),y=S.retrieve(a.get("delay"),function(O){return O/t.count()*u/3}),w=typeof y=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),A>0&&(u=this.getLineLength(l)/A*1e3),u!==this._period||h!==this._loop){l.stopAnimation();var b=y;w&&(b=y(e)),l.__t>0&&(b=-u*l.__t),l.__t=0;var x=l.animate("",h).when(u,{__t:1}).delay(b).during(function(){r.updateSymbolPosition(l)});h||x.done(function(){r.remove(l)}),x.start()}this._period=u,this._loop=h},o.getLineLength=function(t){return f.dist(t.__p1,t.__cp1)+f.dist(t.__cp1,t.__p2)},o.updateAnimationPoints=function(t,a){t.__p1=a[0],t.__p2=a[1],t.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},o.updateData=function(t,a,e){this.childAt(0).updateData(t,a,e),this._updateEffectSymbol(t,a)},o.updateSymbolPosition=function(t){var a=t.__p1,e=t.__p2,l=t.__cp1,r=t.__t,s=t.position,u=[s[0],s[1]],h=d.quadraticAt,A=d.quadraticDerivativeAt;s[0]=h(a[0],l[0],e[0],r),s[1]=h(a[1],l[1],e[1],r);var y=A(a[0],l[0],e[0],r),w=A(a[1],l[1],e[1],r);if(t.rotation=-Math.atan2(w,y)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(t.__lastT!==void 0&&t.__lastT<t.__t){var b=f.dist(u,s)*1.05;t.attr("scale",[t.scale[0],b]),r===1&&(s[0]=u[0]+(s[0]-u[0])/2,s[1]=u[1]+(s[1]-u[1])/2)}else if(t.__lastT===1){var b=2*f.dist(a,s);t.attr("scale",[t.scale[0],b])}else t.attr("scale",this._symbolScale);t.__lastT=t.__t,t.ignore=!1},o.updateLayout=function(t,a){this.childAt(0).updateLayout(t,a);var e=t.getItemModel(a).getModel("effect");this._updateEffectAnimation(t,e,a)},S.inherits(c,v.Group);var i=c;M.exports=i},DBLp:function(M,N){function n(){}n.prototype={diff:function(f,d,c){c||(c=function(w,b){return w===b}),this.equals=c;var o=this;f=f.slice(),d=d.slice();var i=d.length,t=f.length,a=1,e=i+t,l=[{newPos:-1,components:[]}],r=this.extractCommon(l[0],d,f,0);if(l[0].newPos+1>=i&&r+1>=t){for(var s=[],u=0;u<d.length;u++)s.push(u);return[{indices:s,count:d.length}]}function h(){for(var y=-1*a;y<=a;y+=2){var w,b=l[y-1],x=l[y+1],O=(x?x.newPos:0)-y;b&&(l[y-1]=void 0);var T=b&&b.newPos+1<i,E=x&&0<=O&&O<t;if(!T&&!E){l[y]=void 0;continue}if(!T||E&&b.newPos<x.newPos?(w=p(x),o.pushComponent(w.components,void 0,!0)):(w=b,w.newPos++,o.pushComponent(w.components,!0,void 0)),O=o.extractCommon(w,d,f,y),w.newPos+1>=i&&O+1>=t)return v(o,w.components,d,f);l[y]=w}a++}for(;a<=e;){var A=h();if(A)return A}},pushComponent:function(f,d,c){var o=f[f.length-1];o&&o.added===d&&o.removed===c?f[f.length-1]={count:o.count+1,added:d,removed:c}:f.push({count:1,added:d,removed:c})},extractCommon:function(f,d,c,o){for(var i=d.length,t=c.length,a=f.newPos,e=a-o,l=0;a+1<i&&e+1<t&&this.equals(d[a+1],c[e+1]);)a++,e++,l++;return l&&f.components.push({count:l}),f.newPos=a,e},tokenize:function(f){return f.slice()},join:function(f){return f.slice()}};function v(g,f,d,c){for(var o=0,i=f.length,t=0,a=0;o<i;o++){var e=f[o];if(e.removed){for(var l=[],r=a;r<a+e.count;r++)l.push(r);e.indices=l,a+=e.count}else{for(var l=[],r=t;r<t+e.count;r++)l.push(r);e.indices=l,t+=e.count,e.added||(a+=e.count)}}return f}function p(g){return{newPos:g.newPos,components:g.components.slice(0)}}var S=new n;function m(g,f,d){return S.diff(g,f,d)}M.exports=m},DEFe:function(M,N,n){var v=n("bYtY"),p=n("SgGq"),S=n("Ae+d"),m=n("xSat"),g=m.onIrrelevantElement,f=n("IwbS"),d=n("W4dC"),c=n("iRjW"),o=c.getUID,i=n("DN4a");function t(s){var u=s.getItemStyle(),h=s.get("areaColor");return h!=null&&(u.fill=h),u}function a(s,u,h,A,y){h.off("click"),h.off("mousedown"),u.get("selectedMode")&&(h.on("mousedown",function(){s._mouseDownFlag=!0}),h.on("click",function(w){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var b=w.target;!b.__regions;)b=b.parent;if(!b)return;var x={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:v.map(b.__regions,function(O){return{name:O.name,from:y.uid}})};x[u.mainType+"Id"]=u.id,A.dispatchAction(x),e(u,h)}))}function e(s,u){u.eachChild(function(h){v.each(h.__regions,function(A){h.trigger(s.isSelected(A.name)?"emphasis":"normal")})})}function l(s,u){var h=new f.Group;this.uid=o("ec_map_draw"),this._controller=new p(s.getZr()),this._controllerHost={target:u?h:null},this.group=h,this._updateGroup=u,this._mouseDownFlag,this._mapName,this._initialized,h.add(this._regionsGroup=new f.Group),h.add(this._backgroundGroup=new f.Group)}l.prototype={constructor:l,draw:function(s,u,h,A,y){var w=s.mainType==="geo",b=s.getData&&s.getData();w&&u.eachComponent({mainType:"series",subType:"map"},function(H){!b&&H.getHostGeoModel()===s&&(b=H.getData())});var x=s.coordinateSystem;this._updateBackground(x);var O=this._regionsGroup,T=this.group,E=x.getTransformInfo(),C=!O.childAt(0)||y,_;if(C)T.transform=E.roamTransform,T.decomposeTransform(),T.dirty();else{var L=new i;L.transform=E.roamTransform,L.decomposeTransform();var P={scale:L.scale,position:L.position};_=L.scale,f.updateProps(T,P,s)}var k=E.rawScale,F=E.rawPosition;O.removeAll();var j=["itemStyle"],z=["emphasis","itemStyle"],R=["label"],U=["emphasis","label"],B=v.createHashMap();v.each(x.regions,function(H){var K=B.get(H.name)||B.set(H.name,new f.Group),V=new f.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});K.add(V);var W=s.getRegionModel(H.name)||s,G=W.getModel(j),re=W.getModel(z),ye=t(G),$=t(re),ve=W.getModel(R),Ce=W.getModel(U),Se;if(b){Se=b.indexOfName(H.name);var Ke=b.getItemVisual(Se,"color",!0);Ke&&(ye.fill=Ke)}var ue=function(Te){return[Te[0]*k[0]+F[0],Te[1]*k[1]+F[1]]};v.each(H.geometries,function(Te){if(Te.type!=="polygon")return;for(var Be=[],De=0;De<Te.exterior.length;++De)Be.push(ue(Te.exterior[De]));V.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Be}}));for(var De=0;De<(Te.interiors?Te.interiors.length:0);++De){for(var ae=Te.interiors[De],Be=[],fe=0;fe<ae.length;++fe)Be.push(ue(ae[fe]));V.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Be}}))}}),V.setStyle(ye),V.style.strokeNoScale=!0,V.culling=!0;var Le=ve.get("show"),ee=Ce.get("show"),le=b&&isNaN(b.get(b.mapDimension("value"),Se)),et=b&&b.getItemLayout(Se);if(w||le&&(Le||ee)||et&&et.showLabel){var Re=w?H.name:Se,Ae;(!b||Se>=0)&&(Ae=s);var oe=new f.Text({position:ue(H.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(f.setLabelStyle(oe.style,oe.hoverStyle={},ve,Ce,{labelFetcher:Ae,labelDataIndex:Re,defaultText:H.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var ce=[1/_[0],1/_[1]];f.updateProps(oe,{scale:ce},s)}K.add(oe)}if(b)b.setItemGraphicEl(Se,K);else{var W=s.getRegionModel(H.name);V.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:H.name,region:W&&W.option||{}}}var be=K.__regions||(K.__regions=[]);be.push(H),K.highDownSilentOnTouch=!!s.get("selectedMode"),f.setHoverStyle(K,$),O.add(K)}),this._updateController(s,u,h),a(this,s,O,h,A),e(s,O)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&d.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var u=s.map;this._mapName!==u&&v.each(d.makeGraphic(u,this.uid),function(h){this._backgroundGroup.add(h)},this),this._mapName=u},_updateController:function(s,u,h){var A=s.coordinateSystem,y=this._controller,w=this._controllerHost;w.zoomLimit=s.get("scaleLimit"),w.zoom=A.getZoom(),y.enable(s.get("roam")||!1);var b=s.mainType;function x(){var O={type:"geoRoam",componentType:b};return O[b+"Id"]=s.id,O}y.off("pan").on("pan",function(O){this._mouseDownFlag=!1,S.updateViewOnPan(w,O.dx,O.dy),h.dispatchAction(v.extend(x(),{dx:O.dx,dy:O.dy}))},this),y.off("zoom").on("zoom",function(O){if(this._mouseDownFlag=!1,S.updateViewOnZoom(w,O.scale,O.originX,O.originY),h.dispatchAction(v.extend(x(),{zoom:O.scale,originX:O.originX,originY:O.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(E){E.type==="text"&&E.attr("scale",[1/T[0],1/T[1]])})}},this),y.setPointerChecker(function(O,T,E){return A.getViewRectAfterRoam().contain(T,E)&&!g(O,h,s)})}};var r=l;M.exports=r},DFOY:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("PJYZ"),i=n.n(o),t=n("7W2i"),a=n.n(t),e=n("LQ03"),l=n.n(e),r=n("q1tI"),s=n.n(r),u=n("VTBJ"),h=n("1OyB"),A=n("vuIU"),y=n("JX7q"),w=n("Ji7U"),b=n("LK+K"),x=n("i8i4"),O=n.n(x),T=n("l4aY"),E=n("m+aA"),C=n("c+Xe"),_=n("zT1h"),L=n("QC+M"),P=n("TSYQ"),k=n.n(P);function F(Nt,dt,bt){return bt?Nt[0]===dt[0]:Nt[0]===dt[0]&&Nt[1]===dt[1]}function j(Nt,dt,bt){var Tt=Nt[dt]||{};return Object(u.a)(Object(u.a)({},Tt),bt)}function z(Nt,dt,bt,Tt){for(var Lt=bt.points,pt=Object.keys(Nt),Gt=0;Gt<pt.length;Gt+=1){var qt=pt[Gt];if(F(Nt[qt].points,Lt,Tt))return"".concat(dt,"-placement-").concat(qt)}return""}var R=n("Ff2n"),U=n("xEkU"),B=n.n(U),H=n("9mu1"),K=n("rePB"),V=n("U8pU"),W=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function G(Nt,dt){var bt={};return bt[Nt.toLowerCase()]=dt.toLowerCase(),bt["Webkit".concat(Nt)]="webkit".concat(dt),bt["Moz".concat(Nt)]="moz".concat(dt),bt["ms".concat(Nt)]="MS".concat(dt),bt["O".concat(Nt)]="o".concat(dt.toLowerCase()),bt}function re(Nt,dt){var bt={animationend:G("Animation","AnimationEnd"),transitionend:G("Transition","TransitionEnd")};return Nt&&("AnimationEvent"in dt||delete bt.animationend.animation,"TransitionEvent"in dt||delete bt.transitionend.transition),bt}var ye=re(W,typeof window!="undefined"?window:{}),$={};if(W){var ve=document.createElement("div");$=ve.style}var Ce={};function Se(Nt){if(Ce[Nt])return Ce[Nt];var dt=ye[Nt];if(dt)for(var bt=Object.keys(dt),Tt=bt.length,Lt=0;Lt<Tt;Lt+=1){var pt=bt[Lt];if(Object.prototype.hasOwnProperty.call(dt,pt)&&pt in $)return Ce[Nt]=dt[pt],Ce[Nt]}return""}var Ke=Se("animationend"),ue=Se("transitionend"),Le=!!(Ke&&ue);function ee(Nt,dt){if(!Nt)return null;if(Object(V.a)(Nt)==="object"){var bt=dt.replace(/-\w/g,function(Tt){return Tt[1].toUpperCase()});return Nt[bt]}return"".concat(Nt,"-").concat(dt)}var le="none",et="appear",Re="enter",Ae="leave";function oe(Nt){var dt=Nt,bt=!!r.forwardRef;Object(V.a)(Nt)==="object"&&(dt=Nt.transitionSupport,bt="forwardRef"in Nt?Nt.forwardRef:bt);function Tt(pt){return!!(pt.motionName&&dt)}var Lt=function(pt){Object(w.a)(qt,pt);var Gt=Object(b.a)(qt);function qt(){var rr;return Object(h.a)(this,qt),rr=Gt.apply(this,arguments),rr.$cacheEle=null,rr.node=null,rr.raf=null,rr.destroyed=!1,rr.deadlineId=null,rr.state={status:le,statusActive:!1,newStatus:!1,statusStyle:null},rr.onDomUpdate=function(){var mr=rr.state,wn=mr.status,fn=mr.newStatus,Wn=rr.props,Yr=Wn.onAppearStart,Sr=Wn.onEnterStart,ln=Wn.onLeaveStart,Tn=Wn.onAppearActive,In=Wn.onEnterActive,Un=Wn.onLeaveActive,ti=Wn.motionAppear,li=Wn.motionEnter,si=Wn.motionLeave;if(!Tt(rr.props))return;var ki=rr.getElement();rr.$cacheEle!==ki&&(rr.removeEventListener(rr.$cacheEle),rr.addEventListener(ki),rr.$cacheEle=ki),fn&&wn===et&&ti?rr.updateStatus(Yr,null,null,function(){rr.updateActiveStatus(Tn,et)}):fn&&wn===Re&&li?rr.updateStatus(Sr,null,null,function(){rr.updateActiveStatus(In,Re)}):fn&&wn===Ae&&si&&rr.updateStatus(ln,null,null,function(){rr.updateActiveStatus(Un,Ae)})},rr.onMotionEnd=function(mr){if(mr&&!mr.deadline&&mr.target!==rr.getElement())return;var wn=rr.state,fn=wn.status,Wn=wn.statusActive,Yr=rr.props,Sr=Yr.onAppearEnd,ln=Yr.onEnterEnd,Tn=Yr.onLeaveEnd;fn===et&&Wn?rr.updateStatus(Sr,{status:le},mr):fn===Re&&Wn?rr.updateStatus(ln,{status:le},mr):fn===Ae&&Wn&&rr.updateStatus(Tn,{status:le},mr)},rr.setNodeRef=function(mr){var wn=rr.props.internalRef;rr.node=mr,Object(C.b)(wn,mr)},rr.getElement=function(){try{return Object(E.a)(rr.node||Object(y.a)(rr))}catch(mr){return rr.$cacheEle}},rr.addEventListener=function(mr){if(!mr)return;mr.addEventListener(ue,rr.onMotionEnd),mr.addEventListener(Ke,rr.onMotionEnd)},rr.removeEventListener=function(mr){if(!mr)return;mr.removeEventListener(ue,rr.onMotionEnd),mr.removeEventListener(Ke,rr.onMotionEnd)},rr.updateStatus=function(mr,wn,fn,Wn){var Yr=mr?mr(rr.getElement(),fn):null;if(Yr===!1||rr.destroyed)return;var Sr;Wn&&(Sr=function(){rr.nextFrame(Wn)}),rr.setState(Object(u.a)({statusStyle:Object(V.a)(Yr)==="object"?Yr:null,newStatus:!1},wn),Sr)},rr.updateActiveStatus=function(mr,wn){rr.nextFrame(function(){var fn=rr.state.status;if(fn!==wn)return;var Wn=rr.props.motionDeadline;rr.updateStatus(mr,{statusActive:!0}),Wn>0&&(rr.deadlineId=setTimeout(function(){rr.onMotionEnd({deadline:!0})},Wn))})},rr.nextFrame=function(mr){rr.cancelNextFrame(),rr.raf=B()(mr)},rr.cancelNextFrame=function(){rr.raf&&(B.a.cancel(rr.raf),rr.raf=null)},rr}return Object(A.a)(qt,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var mr,wn=this.state,fn=wn.status,Wn=wn.statusActive,Yr=wn.statusStyle,Sr=this.props,ln=Sr.children,Tn=Sr.motionName,In=Sr.visible,Un=Sr.removeOnLeave,ti=Sr.leavedClassName,li=Sr.eventProps;return ln?fn===le||!Tt(this.props)?In?ln(Object(u.a)({},li),this.setNodeRef):Un?null:ln(Object(u.a)(Object(u.a)({},li),{},{className:ti}),this.setNodeRef):ln(Object(u.a)(Object(u.a)({},li),{},{className:k()(ee(Tn,fn),(mr={},Object(K.a)(mr,ee(Tn,"".concat(fn,"-active")),Wn),Object(K.a)(mr,Tn,typeof Tn=="string"),mr)),style:Yr}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(mr,wn){var fn=wn.prevProps,Wn=wn.status;if(!Tt(mr))return{};var Yr=mr.visible,Sr=mr.motionAppear,ln=mr.motionEnter,Tn=mr.motionLeave,In=mr.motionLeaveImmediately,Un={prevProps:mr};return(Wn===et&&!Sr||Wn===Re&&!ln||Wn===Ae&&!Tn)&&(Un.status=le,Un.statusActive=!1,Un.newStatus=!1),!fn&&Yr&&Sr&&(Un.status=et,Un.statusActive=!1,Un.newStatus=!0),fn&&!fn.visible&&Yr&&ln&&(Un.status=Re,Un.statusActive=!1,Un.newStatus=!0),(fn&&fn.visible&&!Yr&&Tn||!fn&&In&&!Yr&&Tn)&&(Un.status=Ae,Un.statusActive=!1,Un.newStatus=!0),Un}}]),qt}(r.Component);return Lt.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},bt?r.forwardRef(function(pt,Gt){return r.createElement(Lt,Object.assign({internalRef:Gt},pt))}):Lt}var ce=oe(Le),be="add",Te="keep",Be="remove",De="removed";function ae(Nt){var dt;return Nt&&Object(V.a)(Nt)==="object"&&"key"in Nt?dt=Nt:dt={key:Nt},Object(u.a)(Object(u.a)({},dt),{},{key:String(dt.key)})}function fe(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Nt.map(ae)}function Oe(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],bt=[],Tt=0,Lt=dt.length,pt=fe(Nt),Gt=fe(dt);pt.forEach(function(mr){for(var wn=!1,fn=Tt;fn<Lt;fn+=1){var Wn=Gt[fn];if(Wn.key===mr.key){Tt<fn&&(bt=bt.concat(Gt.slice(Tt,fn).map(function(Yr){return Object(u.a)(Object(u.a)({},Yr),{},{status:be})})),Tt=fn),bt.push(Object(u.a)(Object(u.a)({},Wn),{},{status:Te})),Tt+=1,wn=!0;break}}wn||bt.push(Object(u.a)(Object(u.a)({},mr),{},{status:Be}))}),Tt<Lt&&(bt=bt.concat(Gt.slice(Tt).map(function(mr){return Object(u.a)(Object(u.a)({},mr),{},{status:be})})));var qt={};bt.forEach(function(mr){var wn=mr.key;qt[wn]=(qt[wn]||0)+1});var rr=Object.keys(qt).filter(function(mr){return qt[mr]>1});return rr.forEach(function(mr){bt=bt.filter(function(wn){var fn=wn.key,Wn=wn.status;return fn!==mr||Wn!==Be}),bt.forEach(function(wn){wn.key===mr&&(wn.status=Te)})}),bt}var Je=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Et(Nt){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce,bt=function(Tt){Object(w.a)(pt,Tt);var Lt=Object(b.a)(pt);function pt(){var Gt;return Object(h.a)(this,pt),Gt=Lt.apply(this,arguments),Gt.state={keyEntities:[]},Gt.removeKey=function(qt){Gt.setState(function(rr){var mr=rr.keyEntities;return{keyEntities:mr.map(function(wn){return wn.key!==qt?wn:Object(u.a)(Object(u.a)({},wn),{},{status:De})})}})},Gt}return Object(A.a)(pt,[{key:"render",value:function(){var qt=this,rr=this.state.keyEntities,mr=this.props,wn=mr.component,fn=mr.children,Wn=Object(R.a)(mr,["component","children"]),Yr=wn||r.Fragment,Sr={};return Je.forEach(function(ln){Sr[ln]=Wn[ln],delete Wn[ln]}),delete Wn.keys,r.createElement(Yr,Object.assign({},Wn),rr.map(function(ln){var Tn=ln.status,In=Object(R.a)(ln,["status"]),Un=Tn===be||Tn===Te;return r.createElement(dt,Object.assign({},Sr,{key:In.key,visible:Un,eventProps:In,onLeaveEnd:function(){Sr.onLeaveEnd&&Sr.onLeaveEnd.apply(Sr,arguments),qt.removeKey(In.key)}}),fn)}))}}],[{key:"getDerivedStateFromProps",value:function(qt,rr){var mr=qt.keys,wn=rr.keyEntities,fn=fe(mr);if(!Nt)return{keyEntities:fn.map(function(Sr){return Object(u.a)(Object(u.a)({},Sr),{},{status:Te})})};var Wn=Oe(wn,fn),Yr=wn.length;return{keyEntities:Wn.filter(function(Sr){for(var ln=null,Tn=0;Tn<Yr;Tn+=1){var In=wn[Tn];if(In.key===Sr.key){ln=In;break}}return!(ln&&ln.status===De&&Sr.status===Be)})}}}]),pt}(r.Component);return bt.defaultProps={component:"div"},bt}var Ze=Et(Le),Ne=ce,It=function(dt,bt){var Tt=dt.prefixCls,Lt=dt.className,pt=dt.style,Gt=dt.children,qt=dt.onMouseEnter,rr=dt.onMouseLeave,mr=dt.onMouseDown,wn=dt.onTouchStart,fn=Gt;return r.Children.count(Gt)>1&&(fn=r.createElement("div",{className:"".concat(Tt,"-content")},Gt)),r.createElement("div",{ref:bt,className:Lt,onMouseEnter:qt,onMouseLeave:rr,onMouseDown:mr,onTouchStart:wn,style:pt},fn)},Xe=r.forwardRef(It);Xe.displayName="PopupInner";var Ot=Xe;function Bt(Nt){var dt=Nt.prefixCls,bt=Nt.motion,Tt=Nt.animation,Lt=Nt.transitionName;return bt||(Tt?{motionName:"".concat(dt,"-").concat(Tt)}:Lt?{motionName:Lt}:null)}function kt(Nt){return Nt&&Nt.motionName}var _t=function(Nt){Object(w.a)(bt,Nt);var dt=Object(b.a)(bt);function bt(){var Tt;return Object(h.a)(this,bt),Tt=dt.apply(this,arguments),Tt.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Tt.popupRef=s.a.createRef(),Tt.alignRef=s.a.createRef(),Tt.nextFrameState=null,Tt.nextFrameId=null,Tt.onAlign=function(Lt,pt){var Gt=Tt.state.status,qt=Tt.props,rr=qt.getClassNameFromAlign,mr=qt.onAlign,wn=rr(pt);Gt==="align"?Tt.setState({alignClassName:wn,status:"aligned"},function(){Tt.alignRef.current.forceAlign()}):Gt==="aligned"?(Tt.setState({alignClassName:wn,status:"afterAlign"}),mr(Lt,pt)):Tt.setState({alignClassName:wn})},Tt.onMotionEnd=function(){var Lt=Tt.props.visible;Tt.setState({status:Lt?"AfterMotion":"stable",inMotion:!1})},Tt.setStateOnNextFrame=function(Lt){Tt.cancelFrameState(),Tt.nextFrameState=Object(u.a)(Object(u.a)({},Tt.nextFrameState),Lt),Tt.nextFrameId=B()(function(){var pt=Object(u.a)({},Tt.nextFrameState);Tt.nextFrameState=null,Tt.setState(pt)})},Tt.getMotion=function(){return Object(u.a)({},Bt(Tt.props))},Tt.getAlignTarget=function(){var Lt=Tt.props,pt=Lt.point,Gt=Lt.getRootDomNode;return pt||Gt},Tt.cancelFrameState=function(){B.a.cancel(Tt.nextFrameId)},Tt.renderPopupElement=function(){var Lt=Tt.state,pt=Lt.status,Gt=Lt.targetHeight,qt=Lt.targetWidth,rr=Lt.alignClassName,mr=Tt.props,wn=mr.prefixCls,fn=mr.className,Wn=mr.style,Yr=mr.stretch,Sr=mr.visible,ln=mr.align,Tn=mr.destroyPopupOnHide,In=mr.onMouseEnter,Un=mr.onMouseLeave,ti=mr.onMouseDown,li=mr.onTouchStart,si=mr.children,ki=k()(wn,fn,rr),zi="".concat(wn,"-hidden"),Ri={};Yr&&(Yr.indexOf("height")!==-1?Ri.height=Gt:Yr.indexOf("minHeight")!==-1&&(Ri.minHeight=Gt),Yr.indexOf("width")!==-1?Ri.width=qt:Yr.indexOf("minWidth")!==-1&&(Ri.minWidth=qt));var Yi=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},Ri),Tt.getZIndexStyle()),Wn),{},{opacity:pt==="stable"||!Sr?void 0:0,pointerEvents:pt==="stable"||!Sr?void 0:"none"}),Zn=Tt.getMotion(),hn=Sr;Sr&&pt!=="beforeMotion"&&pt!=="motion"&&pt!=="stable"&&(Zn.motionAppear=!1,Zn.motionEnter=!1,Zn.motionLeave=!1),(pt==="afterAlign"||pt==="beforeMotion")&&(hn=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(Li){var Bi=Zn==null?void 0:Zn[Li];Zn[Li]=function(){for(var Ar=arguments.length,ar=new Array(Ar),on=0;on<Ar;on++)ar[on]=arguments[on];Bi==null||Bi.apply(void 0,ar),Tt.setState({inMotion:!0})}});var mi=!Sr||pt!=="align"&&pt!=="aligned"&&pt!=="stable",Hi=!0;return pt==="stable"&&(Hi=Sr),Tn&&!Hi?null:s.a.createElement(Ne,Object.assign({visible:hn},Zn,{removeOnLeave:!1,onEnterEnd:Tt.onMotionEnd,onLeaveEnd:Tt.onMotionEnd,leavedClassName:zi}),function(Li,Bi){var Ar=Li.style,ar=Li.className;return s.a.createElement(H.a,{target:Tt.getAlignTarget(),key:"popup",ref:Tt.alignRef,monitorWindowResize:!0,disabled:mi,align:ln,onAlign:Tt.onAlign},s.a.createElement(Ot,{prefixCls:wn,className:k()(ki,ar),ref:Object(C.a)(Bi,Tt.popupRef),onMouseEnter:In,onMouseLeave:Un,onMouseDown:ti,onTouchStart:li,style:Object(u.a)(Object(u.a)({},Yi),Ar)},si))})},Tt.renderMaskElement=function(){var Lt=Tt.props,pt=Lt.mask,Gt=Lt.maskMotion,qt=Lt.maskTransitionName,rr=Lt.maskAnimation,mr=Lt.prefixCls,wn=Lt.visible;if(!pt)return null;var fn={};return Gt&&Gt.motionName&&(fn=Object(u.a)({motionAppear:!0},Bt({motion:Gt,prefixCls:mr,transitionName:qt,animation:rr}))),s.a.createElement(Ne,Object.assign({},fn,{visible:wn,removeOnLeave:!0}),function(Wn){var Yr=Wn.className;return s.a.createElement("div",{style:Tt.getZIndexStyle(),key:"mask",className:k()("".concat(mr,"-mask"),Yr)})})},Tt}return Object(A.a)(bt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Lt=this.state.status,pt=this.props,Gt=pt.getRootDomNode,qt=pt.visible,rr=pt.stretch;if(this.cancelFrameState(),qt&&Lt!=="stable")switch(Lt){case null:{this.setStateOnNextFrame({status:rr?"measure":"align"});break}case"afterAlign":{this.setStateOnNextFrame({status:kt(this.getMotion())?"beforeMotion":"stable"});break}case"AfterMotion":{this.setStateOnNextFrame({status:"stable"});break}default:{var mr=["measure","align",null,"beforeMotion","motion"],wn=mr.indexOf(Lt),fn=mr[wn+1];wn!==-1&&fn&&this.setStateOnNextFrame({status:fn})}}if(Lt==="measure"){var Wn=Gt();Wn&&this.setStateOnNextFrame({targetHeight:Wn.offsetHeight,targetWidth:Wn.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var Lt=this.props.zIndex;return{zIndex:Lt}}},{key:"render",value:function(){return s.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(Lt,pt){var Gt=Lt.visible,qt=Object(R.a)(Lt,["visible"]),rr=pt.prevVisible,mr=pt.status,wn=pt.inMotion,fn={prevVisible:Gt,status:mr},Wn=Bt(qt);return rr===null&&Gt===!1?(fn.status="stable",fn.inMotion=!1):Gt!==rr&&(fn.inMotion=!1,Gt||kt(Wn)&&wn?fn.status=null:fn.status="stable",Gt&&(fn.alignClassName=null)),fn}}]),bt}(r.Component),Ft=_t,ke=r.createContext(null),te=ke;function Q(){}function qe(){return""}function je(){return window.document}var q=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function wt(Nt){var dt=function(bt){Object(w.a)(Lt,bt);var Tt=Object(b.a)(Lt);function Lt(pt){var Gt;Object(h.a)(this,Lt),Gt=Tt.call(this,pt),Gt.popupRef=s.a.createRef(),Gt.triggerRef=s.a.createRef(),Gt.onMouseEnter=function(rr){var mr=Gt.props.mouseEnterDelay;Gt.fireEvents("onMouseEnter",rr),Gt.delaySetPopupVisible(!0,mr,mr?null:rr)},Gt.onMouseMove=function(rr){Gt.fireEvents("onMouseMove",rr),Gt.setPoint(rr)},Gt.onMouseLeave=function(rr){Gt.fireEvents("onMouseLeave",rr),Gt.delaySetPopupVisible(!1,Gt.props.mouseLeaveDelay)},Gt.onPopupMouseEnter=function(){Gt.clearDelayTimer()},Gt.onPopupMouseLeave=function(rr){if(rr.relatedTarget&&!rr.relatedTarget.setTimeout&&Gt.popupRef.current&&Gt.popupRef.current.popupRef.current&&Object(T.a)(Gt.popupRef.current.popupRef.current,rr.relatedTarget))return;Gt.delaySetPopupVisible(!1,Gt.props.mouseLeaveDelay)},Gt.onFocus=function(rr){Gt.fireEvents("onFocus",rr),Gt.clearDelayTimer(),Gt.isFocusToShow()&&(Gt.focusTime=Date.now(),Gt.delaySetPopupVisible(!0,Gt.props.focusDelay))},Gt.onMouseDown=function(rr){Gt.fireEvents("onMouseDown",rr),Gt.preClickTime=Date.now()},Gt.onTouchStart=function(rr){Gt.fireEvents("onTouchStart",rr),Gt.preTouchTime=Date.now()},Gt.onBlur=function(rr){Gt.fireEvents("onBlur",rr),Gt.clearDelayTimer(),Gt.isBlurToHide()&&Gt.delaySetPopupVisible(!1,Gt.props.blurDelay)},Gt.onContextMenu=function(rr){rr.preventDefault(),Gt.fireEvents("onContextMenu",rr),Gt.setPopupVisible(!0,rr)},Gt.onContextMenuClose=function(){Gt.isContextMenuToShow()&&Gt.close()},Gt.onClick=function(rr){if(Gt.fireEvents("onClick",rr),Gt.focusTime){var mr;if(Gt.preClickTime&&Gt.preTouchTime?mr=Math.min(Gt.preClickTime,Gt.preTouchTime):Gt.preClickTime?mr=Gt.preClickTime:Gt.preTouchTime&&(mr=Gt.preTouchTime),Math.abs(mr-Gt.focusTime)<20)return;Gt.focusTime=0}Gt.preClickTime=0,Gt.preTouchTime=0,Gt.isClickToShow()&&(Gt.isClickToHide()||Gt.isBlurToHide())&&rr&&rr.preventDefault&&rr.preventDefault();var wn=!Gt.state.popupVisible;(Gt.isClickToHide()&&!wn||wn&&Gt.isClickToShow())&&Gt.setPopupVisible(!Gt.state.popupVisible,rr)},Gt.onPopupMouseDown=function(){if(Gt.hasPopupMouseDown=!0,clearTimeout(Gt.mouseDownTimeout),Gt.mouseDownTimeout=window.setTimeout(function(){Gt.hasPopupMouseDown=!1},0),Gt.context){var rr;(rr=Gt.context).onPopupMouseDown.apply(rr,arguments)}},Gt.onDocumentClick=function(rr){if(Gt.props.mask&&!Gt.props.maskClosable)return;var mr=rr.target,wn=Gt.getRootDomNode(),fn=Gt.getPopupDomNode();!Object(T.a)(wn,mr)&&!Object(T.a)(fn,mr)&&!Gt.hasPopupMouseDown&&Gt.close()},Gt.getRootDomNode=function(){var rr=Gt.props.getTriggerDOMNode;if(rr)return rr(Gt.triggerRef.current);try{var mr=Object(E.a)(Gt.triggerRef.current);if(mr)return mr}catch(wn){}return O.a.findDOMNode(Object(y.a)(Gt))},Gt.getPopupClassNameFromAlign=function(rr){var mr=[],wn=Gt.props,fn=wn.popupPlacement,Wn=wn.builtinPlacements,Yr=wn.prefixCls,Sr=wn.alignPoint,ln=wn.getPopupClassNameFromAlign;return fn&&Wn&&mr.push(z(Wn,Yr,rr,Sr)),ln&&mr.push(ln(rr)),mr.join(" ")},Gt.getComponent=function(){var rr=Gt.props,mr=rr.prefixCls,wn=rr.destroyPopupOnHide,fn=rr.popupClassName,Wn=rr.onPopupAlign,Yr=rr.popupMotion,Sr=rr.popupAnimation,ln=rr.popupTransitionName,Tn=rr.popupStyle,In=rr.mask,Un=rr.maskAnimation,ti=rr.maskTransitionName,li=rr.maskMotion,si=rr.zIndex,ki=rr.popup,zi=rr.stretch,Ri=rr.alignPoint,Yi=Gt.state,Zn=Yi.popupVisible,hn=Yi.point,mi=Gt.getPopupAlign(),Hi={};return Gt.isMouseEnterToShow()&&(Hi.onMouseEnter=Gt.onPopupMouseEnter),Gt.isMouseLeaveToHide()&&(Hi.onMouseLeave=Gt.onPopupMouseLeave),Hi.onMouseDown=Gt.onPopupMouseDown,Hi.onTouchStart=Gt.onPopupMouseDown,s.a.createElement(Ft,Object.assign({prefixCls:mr,destroyPopupOnHide:wn,visible:Zn,point:Ri&&hn,className:fn,align:mi,onAlign:Wn,animation:Sr,getClassNameFromAlign:Gt.getPopupClassNameFromAlign},Hi,{stretch:zi,getRootDomNode:Gt.getRootDomNode,style:Tn,mask:In,zIndex:si,transitionName:ln,maskAnimation:Un,maskTransitionName:ti,maskMotion:li,ref:Gt.popupRef,motion:Yr}),typeof ki=="function"?ki():ki)},Gt.getContainer=function(){var rr=Object(y.a)(Gt),mr=rr.props,wn=document.createElement("div");wn.style.position="absolute",wn.style.top="0",wn.style.left="0",wn.style.width="100%";var fn=mr.getPopupContainer?mr.getPopupContainer(Gt.getRootDomNode()):mr.getDocument().body;return fn.appendChild(wn),wn},Gt.setPoint=function(rr){var mr=Gt.props.alignPoint;if(!mr||!rr)return;Gt.setState({point:{pageX:rr.pageX,pageY:rr.pageY}})},Gt.handlePortalUpdate=function(){Gt.state.prevPopupVisible!==Gt.state.popupVisible&&Gt.props.afterPopupVisibleChange(Gt.state.popupVisible)};var qt;return"popupVisible"in pt?qt=!!pt.popupVisible:qt=!!pt.defaultPopupVisible,Gt.state={prevPopupVisible:qt,popupVisible:qt},q.forEach(function(rr){Gt["fire".concat(rr)]=function(mr){Gt.fireEvents(rr,mr)}}),Gt}return Object(A.a)(Lt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Gt=this.props,qt=this.state;if(qt.popupVisible){var rr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(rr=Gt.getDocument(),this.clickOutsideHandler=Object(_.a)(rr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(rr=rr||Gt.getDocument(),this.touchOutsideHandler=Object(_.a)(rr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(rr=rr||Gt.getDocument(),this.contextMenuOutsideHandler1=Object(_.a)(rr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(_.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var Gt=this.props,qt=Gt.popupPlacement,rr=Gt.popupAlign,mr=Gt.builtinPlacements;return qt&&mr?j(mr,qt,rr):rr}},{key:"setPopupVisible",value:function(Gt,qt){var rr=this.props.alignPoint,mr=this.state.popupVisible;this.clearDelayTimer(),mr!==Gt&&("popupVisible"in this.props||this.setState({popupVisible:Gt,prevPopupVisible:mr}),this.props.onPopupVisibleChange(Gt)),rr&&qt&&this.setPoint(qt)}},{key:"delaySetPopupVisible",value:function(Gt,qt,rr){var mr=this,wn=qt*1e3;if(this.clearDelayTimer(),wn){var fn=rr?{pageX:rr.pageX,pageY:rr.pageY}:null;this.delayTimer=window.setTimeout(function(){mr.setPopupVisible(Gt,fn),mr.clearDelayTimer()},wn)}else this.setPopupVisible(Gt,rr)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(Gt){var qt=this.props.children.props,rr=this.props;return qt[Gt]&&rr[Gt]?this["fire".concat(Gt)]:qt[Gt]||rr[Gt]}},{key:"isClickToShow",value:function(){var Gt=this.props,qt=Gt.action,rr=Gt.showAction;return qt.indexOf("click")!==-1||rr.indexOf("click")!==-1}},{key:"isContextMenuToShow",value:function(){var Gt=this.props,qt=Gt.action,rr=Gt.showAction;return qt.indexOf("contextMenu")!==-1||rr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var Gt=this.props,qt=Gt.action,rr=Gt.hideAction;return qt.indexOf("click")!==-1||rr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var Gt=this.props,qt=Gt.action,rr=Gt.showAction;return qt.indexOf("hover")!==-1||rr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var Gt=this.props,qt=Gt.action,rr=Gt.hideAction;return qt.indexOf("hover")!==-1||rr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var Gt=this.props,qt=Gt.action,rr=Gt.showAction;return qt.indexOf("focus")!==-1||rr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var Gt=this.props,qt=Gt.action,rr=Gt.hideAction;return qt.indexOf("focus")!==-1||rr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(Gt,qt){var rr=this.props.children.props[Gt];rr&&rr(qt);var mr=this.props[Gt];mr&&mr(qt)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var Gt=this.state.popupVisible,qt=this.props,rr=qt.children,mr=qt.forceRender,wn=qt.alignPoint,fn=qt.className,Wn=qt.autoDestroy,Yr=s.a.Children.only(rr),Sr={key:"trigger"};this.isContextMenuToShow()?Sr.onContextMenu=this.onContextMenu:Sr.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Sr.onClick=this.onClick,Sr.onMouseDown=this.onMouseDown,Sr.onTouchStart=this.onTouchStart):(Sr.onClick=this.createTwoChains("onClick"),Sr.onMouseDown=this.createTwoChains("onMouseDown"),Sr.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Sr.onMouseEnter=this.onMouseEnter,wn&&(Sr.onMouseMove=this.onMouseMove)):Sr.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Sr.onMouseLeave=this.onMouseLeave:Sr.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Sr.onFocus=this.onFocus,Sr.onBlur=this.onBlur):(Sr.onFocus=this.createTwoChains("onFocus"),Sr.onBlur=this.createTwoChains("onBlur"));var ln=k()(Yr&&Yr.props&&Yr.props.className,fn);ln&&(Sr.className=ln);var Tn=Object(u.a)({},Sr);Object(C.c)(Yr)&&(Tn.ref=Object(C.a)(this.triggerRef,Yr.ref));var In=s.a.cloneElement(Yr,Tn),Un;return(Gt||this.popupRef.current||mr)&&(Un=s.a.createElement(Nt,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!Gt&&Wn&&(Un=null),s.a.createElement(te.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},In,Un)}}],[{key:"getDerivedStateFromProps",value:function(Gt,qt){var rr=Gt.popupVisible,mr={};return rr!==void 0&&qt.popupVisible!==rr&&(mr.popupVisible=rr,mr.prevPopupVisible=qt.popupVisible),mr}}]),Lt}(s.a.Component);return dt.contextType=te,dt.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:qe,getDocument:je,onPopupVisibleChange:Q,afterPopupVisibleChange:Q,onPopupAlign:Q,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},dt}var Vt=wt(L.a),lt=n("2W6z"),or=n.n(lt),vr=n("4IlW"),An=n("uK0f"),hr=n.n(An);function xr(Nt,dt){if(Nt===dt)return!0;if(!Nt||!dt)return!1;var bt=Nt.length;if(dt.length!==bt)return!1;for(var Tt=0;Tt<bt;Tt++)if(Nt[Tt]!==dt[Tt])return!1;return!0}function nr(Nt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?nr=function(bt){return typeof bt}:nr=function(bt){return bt&&typeof Symbol=="function"&&bt.constructor===Symbol&&bt!==Symbol.prototype?"symbol":typeof bt},nr(Nt)}function Yt(Nt,dt){if(!(Nt instanceof dt))throw new TypeError("Cannot call a class as a function")}function gt(Nt,dt){for(var bt=0;bt<dt.length;bt++){var Tt=dt[bt];Tt.enumerable=Tt.enumerable||!1,Tt.configurable=!0,"value"in Tt&&(Tt.writable=!0),Object.defineProperty(Nt,Tt.key,Tt)}}function zr(Nt,dt,bt){return dt&&gt(Nt.prototype,dt),bt&&gt(Nt,bt),Nt}function pn(Nt,dt){if(typeof dt!="function"&&dt!==null)throw new TypeError("Super expression must either be null or a function");Nt.prototype=Object.create(dt&&dt.prototype,{constructor:{value:Nt,writable:!0,configurable:!0}}),dt&&Nn(Nt,dt)}function Nn(Nt,dt){return Nn=Object.setPrototypeOf||function(Tt,Lt){return Tt.__proto__=Lt,Tt},Nn(Nt,dt)}function Vn(Nt){var dt=Pn();return function(){var bt=jt(Nt),Tt;if(dt){var Lt=jt(this).constructor;Tt=Reflect.construct(bt,arguments,Lt)}else Tt=bt.apply(this,arguments);return xi(this,Tt)}}function xi(Nt,dt){return dt&&(nr(dt)==="object"||typeof dt=="function")?dt:bn(Nt)}function bn(Nt){if(Nt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Nt}function Pn(){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(Nt){return!1}}function jt(Nt){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(bt){return bt.__proto__||Object.getPrototypeOf(bt)},jt(Nt)}var At=function(){var Nt=function(dt){pn(Tt,dt);var bt=Vn(Tt);function Tt(){var Lt;return Yt(this,Tt),Lt=bt.apply(this,arguments),Lt.menuItems={},Lt.saveMenuItem=function(pt){return function(Gt){Lt.menuItems[pt]=Gt}},Lt}return zr(Tt,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(pt){!pt.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(pt){var Gt=this.props,qt=Gt.fieldNames,rr=Gt.defaultFieldNames;return qt[pt]||rr[pt]}},{key:"getOption",value:function(pt,Gt){var qt=this.props,rr=qt.prefixCls,mr=qt.expandTrigger,wn=qt.expandIcon,fn=qt.loadingIcon,Wn=this.props.onSelect.bind(this,pt,Gt),Yr=this.props.onItemDoubleClick.bind(this,pt,Gt),Sr={onClick:Wn,onDoubleClick:Yr},ln="".concat(rr,"-menu-item"),Tn=null,In=pt[this.getFieldName("children")]&&pt[this.getFieldName("children")].length>0;(In||pt.isLeaf===!1)&&(ln+=" ".concat(rr,"-menu-item-expand"),pt.loading||(Tn=r.createElement("span",{className:"".concat(rr,"-menu-item-expand-icon")},wn))),mr==="hover"&&(In||pt.isLeaf===!1)&&(Sr={onMouseEnter:this.delayOnSelect.bind(this,Wn),onMouseLeave:this.delayOnSelect.bind(this),onClick:Wn}),this.isActiveOption(pt,Gt)&&(ln+=" ".concat(rr,"-menu-item-active"),Sr.ref=this.saveMenuItem(Gt)),pt.disabled&&(ln+=" ".concat(rr,"-menu-item-disabled"));var Un=null;pt.loading&&(ln+=" ".concat(rr,"-menu-item-loading"),Un=fn||null);var ti="";return"title"in pt?ti=pt.title:typeof pt[this.getFieldName("label")]=="string"&&(ti=pt[this.getFieldName("label")]),r.createElement("li",Object.assign({key:pt[this.getFieldName("value")],className:ln,title:ti},Sr,{role:"menuitem",onMouseDown:function(si){return si.preventDefault()}}),pt[this.getFieldName("label")],Tn,Un)}},{key:"getActiveOptions",value:function(pt){var Gt=this,qt=this.props.options,rr=pt||this.props.activeValue;return hr()(qt,function(mr,wn){return mr[Gt.getFieldName("value")]===rr[wn]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var pt=this,Gt=this.props.options,qt=this.getActiveOptions().map(function(rr){return rr[pt.getFieldName("children")]}).filter(function(rr){return!!rr});return qt.unshift(Gt),qt}},{key:"delayOnSelect",value:function(pt){for(var Gt=this,qt=arguments.length,rr=new Array(qt>1?qt-1:0),mr=1;mr<qt;mr++)rr[mr-1]=arguments[mr];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof pt=="function"&&(this.delayTimer=window.setTimeout(function(){pt(rr),Gt.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var pt=this.getShowOptions().length,Gt=0;Gt<pt;Gt++){var qt=this.menuItems[Gt];qt&&qt.parentElement&&(qt.parentElement.scrollTop=qt.offsetTop)}}},{key:"isActiveOption",value:function(pt,Gt){var qt=this.props.activeValue,rr=qt===void 0?[]:qt;return rr[Gt]===pt[this.getFieldName("value")]}},{key:"render",value:function(){var pt=this,Gt=this.props,qt=Gt.prefixCls,rr=Gt.dropdownMenuColumnStyle;return r.createElement("div",null,this.getShowOptions().map(function(mr,wn){return r.createElement("ul",{className:"".concat(qt,"-menu"),key:wn,style:rr},mr.map(function(fn){return pt.getOption(fn,wn)}))}))}}]),Tt}(r.Component);return Nt.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},Nt}(),xe=At,we={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}}},Ee=we;function Ge(Nt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ge=function(bt){return typeof bt}:Ge=function(bt){return bt&&typeof Symbol=="function"&&bt.constructor===Symbol&&bt!==Symbol.prototype?"symbol":typeof bt},Ge(Nt)}function nt(Nt,dt){if(Nt==null)return{};var bt=st(Nt,dt),Tt,Lt;if(Object.getOwnPropertySymbols){var pt=Object.getOwnPropertySymbols(Nt);for(Lt=0;Lt<pt.length;Lt++){if(Tt=pt[Lt],dt.indexOf(Tt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Nt,Tt))continue;bt[Tt]=Nt[Tt]}}return bt}function st(Nt,dt){if(Nt==null)return{};var bt={},Tt=Object.keys(Nt),Lt,pt;for(pt=0;pt<Tt.length;pt++){if(Lt=Tt[pt],dt.indexOf(Lt)>=0)continue;bt[Lt]=Nt[Lt]}return bt}function Mt(Nt){return xt(Nt)||qr(Nt)||Pr(Nt)||wr()}function wr(){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 Pr(Nt,dt){if(!Nt)return;if(typeof Nt=="string")return rt(Nt,dt);var bt=Object.prototype.toString.call(Nt).slice(8,-1);if(bt==="Object"&&Nt.constructor&&(bt=Nt.constructor.name),bt==="Map"||bt==="Set")return Array.from(Nt);if(bt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(bt))return rt(Nt,dt)}function qr(Nt){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(Nt))return Array.from(Nt)}function xt(Nt){if(Array.isArray(Nt))return rt(Nt)}function rt(Nt,dt){(dt==null||dt>Nt.length)&&(dt=Nt.length);for(var bt=0,Tt=new Array(dt);bt<dt;bt++)Tt[bt]=Nt[bt];return Tt}function it(Nt,dt){if(!(Nt instanceof dt))throw new TypeError("Cannot call a class as a function")}function $t(Nt,dt){for(var bt=0;bt<dt.length;bt++){var Tt=dt[bt];Tt.enumerable=Tt.enumerable||!1,Tt.configurable=!0,"value"in Tt&&(Tt.writable=!0),Object.defineProperty(Nt,Tt.key,Tt)}}function Dt(Nt,dt,bt){return dt&&$t(Nt.prototype,dt),bt&&$t(Nt,bt),Nt}function St(Nt,dt){if(typeof dt!="function"&&dt!==null)throw new TypeError("Super expression must either be null or a function");Nt.prototype=Object.create(dt&&dt.prototype,{constructor:{value:Nt,writable:!0,configurable:!0}}),dt&&Ut(Nt,dt)}function Ut(Nt,dt){return Ut=Object.setPrototypeOf||function(Tt,Lt){return Tt.__proto__=Lt,Tt},Ut(Nt,dt)}function vt(Nt){var dt=ur();return function(){var bt=fr(Nt),Tt;if(dt){var Lt=fr(this).constructor;Tt=Reflect.construct(bt,arguments,Lt)}else Tt=bt.apply(this,arguments);return Pt(this,Tt)}}function Pt(Nt,dt){return dt&&(Ge(dt)==="object"||typeof dt=="function")?dt:br(Nt)}function br(Nt){if(Nt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Nt}function ur(){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(Nt){return!1}}function fr(Nt){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(bt){return bt.__proto__||Object.getPrototypeOf(bt)},fr(Nt)}var Jr=function(){var Nt=function(dt){St(Tt,dt);var bt=vt(Tt);function Tt(Lt){var pt;it(this,Tt),pt=bt.call(this,Lt),pt.setPopupVisible=function(qt){var rr=pt.state.value;"popupVisible"in pt.props||pt.setState({popupVisible:qt}),qt&&!pt.state.popupVisible&&pt.setState({activeValue:rr}),pt.props.onPopupVisibleChange(qt)},pt.handleChange=function(qt,rr,mr){var wn=rr.visible;(mr.type!=="keydown"||mr.keyCode===vr.a.ENTER)&&(pt.props.onChange(qt.map(function(fn){return fn[pt.getFieldName("value")]}),qt),pt.setPopupVisible(wn))},pt.handlePopupVisibleChange=function(qt){pt.setPopupVisible(qt)},pt.handleMenuSelect=function(qt,rr,mr){var wn=pt.trigger.getRootDomNode();wn&&wn.focus&&wn.focus();var fn=pt.props,Wn=fn.changeOnSelect,Yr=fn.loadData,Sr=fn.expandTrigger;if(!qt||qt.disabled)return;var ln=pt.state.activeValue;ln=ln.slice(0,rr+1),ln[rr]=qt[pt.getFieldName("value")];var Tn=pt.getActiveOptions(ln);if(qt.isLeaf===!1&&!qt[pt.getFieldName("children")]&&Yr){Wn&&pt.handleChange(Tn,{visible:!0},mr),pt.setState({activeValue:ln}),Yr(Tn);return}var In={};!qt[pt.getFieldName("children")]||!qt[pt.getFieldName("children")].length?(pt.handleChange(Tn,{visible:!1},mr),In.value=ln):Wn&&(mr.type==="click"||mr.type==="keydown")&&(Sr==="hover"?pt.handleChange(Tn,{visible:!1},mr):pt.handleChange(Tn,{visible:!0},mr),In.value=ln),In.activeValue=ln,("value"in pt.props||mr.type==="keydown"&&mr.keyCode!==vr.a.ENTER)&&delete In.value,pt.setState(In)},pt.handleItemDoubleClick=function(){var qt=pt.props.changeOnSelect;qt&&pt.setPopupVisible(!1)},pt.handleKeyDown=function(qt){var rr=pt.props.children;if(rr&&rr.props.onKeyDown){rr.props.onKeyDown(qt);return}var mr=Mt(pt.state.activeValue),wn=mr.length-1<0?0:mr.length-1,fn=pt.getCurrentLevelOptions(),Wn=fn.map(function(Tn){return Tn[pt.getFieldName("value")]}).indexOf(mr[wn]);if(qt.keyCode!==vr.a.DOWN&&qt.keyCode!==vr.a.UP&&qt.keyCode!==vr.a.LEFT&&qt.keyCode!==vr.a.RIGHT&&qt.keyCode!==vr.a.ENTER&&qt.keyCode!==vr.a.SPACE&&qt.keyCode!==vr.a.BACKSPACE&&qt.keyCode!==vr.a.ESC&&qt.keyCode!==vr.a.TAB)return;if(!pt.state.popupVisible&&qt.keyCode!==vr.a.BACKSPACE&&qt.keyCode!==vr.a.LEFT&&qt.keyCode!==vr.a.RIGHT&&qt.keyCode!==vr.a.ESC&&qt.keyCode!==vr.a.TAB){pt.setPopupVisible(!0);return}if(qt.keyCode===vr.a.DOWN||qt.keyCode===vr.a.UP){qt.preventDefault();var Yr=Wn;Yr!==-1?qt.keyCode===vr.a.DOWN?(Yr+=1,Yr=Yr>=fn.length?0:Yr):(Yr-=1,Yr=Yr<0?fn.length-1:Yr):Yr=0,mr[wn]=fn[Yr][pt.getFieldName("value")]}else if(qt.keyCode===vr.a.LEFT||qt.keyCode===vr.a.BACKSPACE)qt.preventDefault(),mr.splice(mr.length-1,1);else if(qt.keyCode===vr.a.RIGHT)qt.preventDefault(),fn[Wn]&&fn[Wn][pt.getFieldName("children")]&&mr.push(fn[Wn][pt.getFieldName("children")][0][pt.getFieldName("value")]);else if(qt.keyCode===vr.a.ESC||qt.keyCode===vr.a.TAB){pt.setPopupVisible(!1);return}(!mr||mr.length===0)&&pt.setPopupVisible(!1);var Sr=pt.getActiveOptions(mr),ln=Sr[Sr.length-1];pt.handleMenuSelect(ln,Sr.length-1,qt),pt.props.onKeyDown&&pt.props.onKeyDown(qt)},pt.saveTrigger=function(qt){pt.trigger=qt};var Gt=[];return"value"in Lt?Gt=Lt.value||[]:"defaultValue"in Lt&&(Gt=Lt.defaultValue||[]),or()(!("filedNames"in Lt),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),pt.state={popupVisible:Lt.popupVisible,activeValue:Gt,value:Gt,prevProps:Lt},pt.defaultFieldNames={label:"label",value:"value",children:"children"},pt}return Dt(Tt,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(pt){var Gt=this.defaultFieldNames,qt=this.props,rr=qt.fieldNames,mr=qt.filedNames;return"filedNames"in this.props?mr[pt]||Gt[pt]:rr[pt]||Gt[pt]}},{key:"getFieldNames",value:function(){var pt=this.props,Gt=pt.fieldNames,qt=pt.filedNames;return"filedNames"in this.props?qt:Gt}},{key:"getCurrentLevelOptions",value:function(){var pt=this,Gt=this.props.options,qt=Gt===void 0?[]:Gt,rr=this.state.activeValue,mr=rr===void 0?[]:rr,wn=hr()(qt,function(fn,Wn){return fn[pt.getFieldName("value")]===mr[Wn]},{childrenKeyName:this.getFieldName("children")});return wn[wn.length-2]?wn[wn.length-2][this.getFieldName("children")]:Mt(qt).filter(function(fn){return!fn.disabled})}},{key:"getActiveOptions",value:function(pt){var Gt=this;return hr()(this.props.options||[],function(qt,rr){return qt[Gt.getFieldName("value")]===pt[rr]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var pt=this.props,Gt=pt.prefixCls,qt=pt.transitionName,rr=pt.popupClassName,mr=pt.options,wn=mr===void 0?[]:mr,fn=pt.disabled,Wn=pt.builtinPlacements,Yr=pt.popupPlacement,Sr=pt.children,ln=pt.dropdownRender,Tn=nt(pt,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),In=r.createElement("div",null),Un="";wn&&wn.length>0?In=r.createElement(xe,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Un=" ".concat(Gt,"-menus-empty");var ti=In;return ln&&(ti=ln(In)),r.createElement(Vt,Object.assign({ref:this.saveTrigger},Tn,{popupPlacement:Yr,builtinPlacements:Wn,popupTransitionName:qt,action:fn?[]:["click"],popupVisible:fn?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Gt,"-menus"),popupClassName:rr+Un,popup:ti}),r.cloneElement(Sr,{onKeyDown:this.handleKeyDown,tabIndex:fn?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(pt,Gt){var qt=Gt.prevProps,rr=qt===void 0?{}:qt,mr={prevProps:pt};return"value"in pt&&!xr(rr.value,pt.value)&&(mr.value=pt.value||[],"loadData"in pt||(mr.activeValue=pt.value||[])),"popupVisible"in pt&&(mr.popupVisible=pt.popupVisible),mr}}]),Tt}(r.Component);return Nt.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:Ee,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},Nt}(),Zr=Jr,Fn=Zr,Rn=n("BGR+"),ei=n("kbBi"),di=n.n(ei),gi=n("HQEm"),Ii=n.n(gi),Ye=n("fEPi"),ge=n.n(Ye),Ie=n("5YOS"),Fe=n.n(Ie),Ve=n("DFhj"),We=n.n(Ve),Qe=n("5rEg"),yt=n("H84U"),ot=n("YMnH"),Zt=n("uaoM"),Rr=n("3Nzz"),Lr=n("0n0R"),Gr=function(Nt,dt){var bt={};for(var Tt in Nt)Object.prototype.hasOwnProperty.call(Nt,Tt)&&dt.indexOf(Tt)<0&&(bt[Tt]=Nt[Tt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Tt=Object.getOwnPropertySymbols(Nt);Lt<Tt.length;Lt++)dt.indexOf(Tt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(Nt,Tt[Lt])&&(bt[Tt[Lt]]=Nt[Tt[Lt]]);return bt},er=50;function On(Nt,dt,bt){return Nt.split(dt).map(function(Tt,Lt){return Lt===0?Tt:[r.createElement("span",{className:"".concat(bt,"-menu-item-keyword"),key:"seperator"},dt),Tt]})}function yr(Nt,dt,bt){return dt.some(function(Tt){return Tt[bt.label].indexOf(Nt)>-1})}function gn(Nt,dt,bt,Tt){return dt.map(function(Lt,pt){var Gt=Lt[Tt.label],qt=Gt.indexOf(Nt)>-1?On(Gt,Nt,bt):Gt;return pt===0?qt:[" / ",qt]})}function tn(Nt,dt,bt,Tt){function Lt(pt){return pt[Tt.label].indexOf(bt)>-1}return Nt.findIndex(Lt)-dt.findIndex(Lt)}function Fr(Nt){var dt=Nt.fieldNames;return dt}function Xn(Nt){var dt=Fr(Nt)||{},bt={children:dt.children||"children",label:dt.label||"label",value:dt.value||"value"};return bt}function hi(Nt,dt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Tt=Xn(dt),Lt=[],pt=Tt.children;return Nt.forEach(function(Gt){var qt=bt.concat(Gt);(dt.changeOnSelect||!Gt[pt]||!Gt[pt].length)&&Lt.push(qt),Gt[pt]&&(Lt=Lt.concat(hi(Gt[pt],dt,qt)))}),Lt}var _i=function(dt){return dt.join(" / ")};function Ur(Nt){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(Nt||[]).forEach(function(bt){var Tt=dt.value||"value";Object(Zt.a)(Tt in bt,"Cascader","Not found `value` in `options`."),Ur(bt[dt.children||"children"],dt)})}var sn=function(Nt){a()(bt,Nt);var dt=l()(bt);function bt(Tt){var Lt;return f()(this,bt),Lt=dt.call(this,Tt),Lt.cachedOptions=[],Lt.setValue=function(pt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Lt.props||Lt.setState({value:pt});var qt=Lt.props.onChange;qt&&qt(pt,Gt)},Lt.saveInput=function(pt){Lt.input=pt},Lt.handleChange=function(pt,Gt){if(Lt.setState({inputValue:""}),Gt[0].__IS_FILTERED_OPTION){var qt=pt[0],rr=Gt[0].path;Lt.setValue(qt,rr);return}Lt.setValue(pt,Gt)},Lt.handlePopupVisibleChange=function(pt){"popupVisible"in Lt.props||Lt.setState(function(qt){return{popupVisible:pt,inputFocused:pt,inputValue:pt?qt.inputValue:""}});var Gt=Lt.props.onPopupVisibleChange;Gt&&Gt(pt)},Lt.handleInputBlur=function(){Lt.setState({inputFocused:!1})},Lt.handleInputClick=function(pt){var Gt=Lt.state,qt=Gt.inputFocused,rr=Gt.popupVisible;(qt||rr)&&pt.stopPropagation()},Lt.handleKeyDown=function(pt){(pt.keyCode===vr.a.BACKSPACE||pt.keyCode===vr.a.SPACE)&&pt.stopPropagation()},Lt.handleInputChange=function(pt){var Gt=Lt.state.popupVisible,qt=pt.target.value;Gt||Lt.handlePopupVisibleChange(!0),Lt.setState({inputValue:qt})},Lt.clearSelection=function(pt){var Gt=Lt.state.inputValue;pt.preventDefault(),pt.stopPropagation(),Gt?Lt.setState({inputValue:""}):(Lt.handlePopupVisibleChange(!1),Lt.clearSelectionTimeout=setTimeout(function(){Lt.setValue([])},200))},Lt.renderCascader=function(pt,Gt){var qt=pt.getPopupContainer,rr=pt.getPrefixCls,mr=pt.renderEmpty,wn=pt.direction;return r.createElement(Rr.b.Consumer,null,function(fn){var Wn,Yr,Sr,ln,Tn=i()(Lt),In=Tn.props,Un=Tn.state,ti=In.prefixCls,li=In.inputPrefixCls,si=In.children,ki=In.placeholder,zi=ki===void 0?Gt.placeholder||"Please select":ki,Ri=In.size,Yi=In.disabled,Zn=In.className,hn=In.style,mi=In.allowClear,Hi=In.showSearch,Li=Hi===void 0?!1:Hi,Bi=In.suffixIcon,Ar=In.expandIcon,ar=In.notFoundContent,on=In.popupClassName,Qt=In.bordered,gr=In.dropdownRender,Or=Gr(In,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Kr=Ri||fn,mn=Un.value,mt=Un.inputFocused,dr=wn==="rtl",pr=rr("cascader",ti),kr=rr("input",li),nn=k()((Wn={},m()(Wn,"".concat(kr,"-lg"),Kr==="large"),m()(Wn,"".concat(kr,"-sm"),Kr==="small"),Wn)),un=mi&&!Yi&&mn.length>0||Un.inputValue?r.createElement(di.a,{className:"".concat(pr,"-picker-clear"),onClick:Lt.clearSelection}):null,en=k()((Yr={},m()(Yr,"".concat(pr,"-picker-arrow"),!0),m()(Yr,"".concat(pr,"-picker-arrow-expand"),Un.popupVisible),Yr)),Ln=k()(Zn,"".concat(pr,"-picker"),(Sr={},m()(Sr,"".concat(pr,"-picker-rtl"),dr),m()(Sr,"".concat(pr,"-picker-with-value"),Un.inputValue),m()(Sr,"".concat(pr,"-picker-disabled"),Yi),m()(Sr,"".concat(pr,"-picker-").concat(Kr),!!Kr),m()(Sr,"".concat(pr,"-picker-show-search"),!!Li),m()(Sr,"".concat(pr,"-picker-focused"),mt),m()(Sr,"".concat(pr,"-picker-borderless"),!Qt),Sr)),xn=Object(Rn.default)(Or,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),Gn=In.options,ui=Xn(Lt.props);if(Gn&&Gn.length>0)Un.inputValue&&(Gn=Lt.generateFilteredOptions(pr,mr));else{var Jn;Gn=[(Jn={},m()(Jn,ui.label,ar||mr("Cascader")),m()(Jn,ui.value,"ANT_CASCADER_NOT_FOUND"),Jn)]}Un.popupVisible?Lt.cachedOptions=Gn:Gn=Lt.cachedOptions;var pi={},wi=(Gn||[]).length===1&&Gn[0].isEmptyNode;wi&&(pi.height="auto");var Ni=Li.matchInputWidth!==!1;Ni&&(Un.inputValue||wi)&&Lt.input&&(pi.width=Lt.input.input.offsetWidth);var Si;Bi?Si=Object(Lr.c)(Bi,r.createElement("span",{className:"".concat(pr,"-picker-arrow")},Bi),function(){var ua;return{className:k()((ua={},m()(ua,Bi.props.className,Bi.props.className),m()(ua,"".concat(pr,"-picker-arrow"),!0),ua))}}):Si=r.createElement(Ii.a,{className:en});var vi=si||r.createElement("span",{style:hn,className:Ln},r.createElement("span",{className:"".concat(pr,"-picker-label")},Lt.getLabel()),r.createElement(Qe.a,p()({},xn,{tabIndex:"-1",ref:Lt.saveInput,prefixCls:kr,placeholder:mn&&mn.length>0?void 0:zi,className:"".concat(pr,"-input ").concat(nn),value:Un.inputValue,disabled:Yi,readOnly:!Li,autoComplete:xn.autoComplete||"off",onClick:Li?Lt.handleInputClick:void 0,onBlur:Li?Lt.handleInputBlur:void 0,onKeyDown:Lt.handleKeyDown,onChange:Li?Lt.handleInputChange:void 0})),un,Si),Ai;Ar?Ai=Ar:Ai=dr?r.createElement(We.a,null):r.createElement(ge.a,null);var Ci=r.createElement("span",{className:"".concat(pr,"-menu-item-loading-icon")},r.createElement(Fe.a,{spin:!0})),Ui=In.getPopupContainer||qt,$i=Object(Rn.default)(In,["inputIcon","expandIcon","loadingIcon","bordered"]),Di=k()(on,(ln={},m()(ln,"".concat(pr,"-menu-").concat(wn),wn==="rtl"),m()(ln,"".concat(pr,"-menu-empty"),Gn.length===1&&Gn[0].value==="ANT_CASCADER_NOT_FOUND"),ln));return r.createElement(Fn,p()({},$i,{prefixCls:pr,getPopupContainer:Ui,options:Gn,value:mn,popupVisible:Un.popupVisible,onPopupVisibleChange:Lt.handlePopupVisibleChange,onChange:Lt.handleChange,dropdownMenuColumnStyle:pi,expandIcon:Ai,loadingIcon:Ci,popupClassName:Di,popupPlacement:Lt.getPopupPlacement(wn),dropdownRender:gr}),vi)})},Lt.state={value:Tt.value||Tt.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Tt.popupVisible,flattenOptions:Tt.showSearch?hi(Tt.options,Tt):void 0,prevProps:Tt},Lt}return c()(bt,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Lt=this.props,pt=Lt.options,Gt=Lt.displayRender,qt=Gt===void 0?_i:Gt,rr=Xn(this.props),mr=this.state.value,wn=Array.isArray(mr[0])?mr[0]:mr,fn=hr()(pt,function(Yr,Sr){return Yr[rr.value]===wn[Sr]},{childrenKeyName:rr.children}),Wn=fn.length?fn.map(function(Yr){return Yr[rr.label]}):mr;return qt(Wn,fn)}},{key:"generateFilteredOptions",value:function(Lt,pt){var Gt=this,qt,rr=this.props,mr=rr.showSearch,wn=rr.notFoundContent,fn=Xn(this.props),Wn=mr.filter,Yr=Wn===void 0?yr:Wn,Sr=mr.render,ln=Sr===void 0?gn:Sr,Tn=mr.sort,In=Tn===void 0?tn:Tn,Un=mr.limit,ti=Un===void 0?er:Un,li=this.state,si=li.flattenOptions,ki=si===void 0?[]:si,zi=li.inputValue,Ri;if(ti>0){Ri=[];var Yi=0;ki.some(function(Zn){var hn=Yr(Gt.state.inputValue,Zn,fn);return hn&&(Ri.push(Zn),Yi+=1),Yi>=ti})}else Object(Zt.a)(typeof ti!="number","Cascader","'limit' of showSearch should be positive number or false."),Ri=ki.filter(function(Zn){return Yr(Gt.state.inputValue,Zn,fn)});return Ri=Ri.sort(function(Zn,hn){return In(Zn,hn,zi,fn)}),Ri.length>0?Ri.map(function(Zn){var hn;return hn={__IS_FILTERED_OPTION:!0,path:Zn},m()(hn,fn.value,Zn.map(function(mi){return mi[fn.value]})),m()(hn,fn.label,ln(zi,Zn,Lt,fn)),m()(hn,"disabled",Zn.some(function(mi){return!!mi.disabled})),m()(hn,"isEmptyNode",!0),hn}):[(qt={},m()(qt,fn.value,"ANT_CASCADER_NOT_FOUND"),m()(qt,fn.label,wn||pt("Cascader")),m()(qt,"disabled",!0),m()(qt,"isEmptyNode",!0),qt)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",pt=this.props.popupPlacement;return pt!==void 0?pt:Lt==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Lt=this;return r.createElement(yt.a,null,function(pt){return r.createElement(ot.a,null,function(Gt){return Lt.renderCascader(pt,Gt)})})}}],[{key:"getDerivedStateFromProps",value:function(Lt,pt){var Gt=pt.prevProps,qt={prevProps:Lt};return"value"in Lt&&(qt.value=Lt.value||[]),"popupVisible"in Lt&&(qt.popupVisible=Lt.popupVisible),Lt.showSearch&&Gt.options!==Lt.options&&(qt.flattenOptions=hi(Lt.options,Lt)),qt}}]),bt}(r.Component);sn.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Cn=N.a=sn},DFhj:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("GGyF"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},DL4k:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};N.default=v},DN4a:function(M,N,n){var v=n("Fofx"),p=n("QBsz"),S=v.identity,m=5e-5;function g(a){return a>m||a<-m}var f=function(e){e=e||{},e.position||(this.position=[0,0]),e.rotation==null&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},d=f.prototype;d.transform=null,d.needLocalTransform=function(){return g(this.rotation)||g(this.position[0])||g(this.position[1])||g(this.scale[0]-1)||g(this.scale[1]-1)};var c=[];d.updateTransform=function(){var a=this.parent,e=a&&a.transform,l=this.needLocalTransform(),r=this.transform;if(!(l||e)){r&&S(r);return}r=r||v.create(),l?this.getLocalTransform(r):S(r),e&&(l?v.mul(r,a.transform,r):v.copy(r,a.transform)),this.transform=r;var s=this.globalScaleRatio;if(s!=null&&s!==1){this.getGlobalScale(c);var u=c[0]<0?-1:1,h=c[1]<0?-1:1,A=((c[0]-u)*s+u)/c[0]||0,y=((c[1]-h)*s+h)/c[1]||0;r[0]*=A,r[1]*=A,r[2]*=y,r[3]*=y}this.invTransform=this.invTransform||v.create(),v.invert(this.invTransform,r)},d.getLocalTransform=function(a){return f.getLocalTransform(this,a)},d.setTransform=function(a){var e=this.transform,l=a.dpr||1;e?a.setTransform(l*e[0],l*e[1],l*e[2],l*e[3],l*e[4],l*e[5]):a.setTransform(l,0,0,l,0,0)},d.restoreTransform=function(a){var e=a.dpr||1;a.setTransform(e,0,0,e,0,0)};var o=[],i=v.create();d.setLocalTransform=function(a){if(!a)return;var e=a[0]*a[0]+a[1]*a[1],l=a[2]*a[2]+a[3]*a[3],r=this.position,s=this.scale;g(e-1)&&(e=Math.sqrt(e)),g(l-1)&&(l=Math.sqrt(l)),a[0]<0&&(e=-e),a[3]<0&&(l=-l),r[0]=a[4],r[1]=a[5],s[0]=e,s[1]=l,this.rotation=Math.atan2(-a[1]/l,a[0]/e)},d.decomposeTransform=function(){if(!this.transform)return;var a=this.parent,e=this.transform;a&&a.transform&&(v.mul(o,a.invTransform,e),e=o);var l=this.origin;l&&(l[0]||l[1])&&(i[4]=l[0],i[5]=l[1],v.mul(o,e,i),o[4]-=l[0],o[5]-=l[1],e=o),this.setLocalTransform(e)},d.getGlobalScale=function(a){var e=this.transform;return a=a||[],e?(a[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),a[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(a[0]=-a[0]),e[3]<0&&(a[1]=-a[1]),a):(a[0]=1,a[1]=1,a)},d.transformCoordToLocal=function(a,e){var l=[a,e],r=this.invTransform;return r&&p.applyTransform(l,l,r),l},d.transformCoordToGlobal=function(a,e){var l=[a,e],r=this.transform;return r&&p.applyTransform(l,l,r),l},f.getLocalTransform=function(a,e){e=e||[],S(e);var l=a.origin,r=a.scale||[1,1],s=a.rotation||0,u=a.position||[0,0];return l&&(e[4]-=l[0],e[5]-=l[1]),v.scale(e,e,r),s&&v.rotate(e,e,s),l&&(e[4]+=l[0],e[5]+=l[1]),e[4]+=u[0],e[5]+=u[1],e};var t=f;M.exports=t},DO2E:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};N.default=v},DYRE:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("OPEp"),m=n.n(S)},DZo9:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("JGo8"),m=n.n(S),g=n("+L6B"),f=n("MXD1"),d=n("5Dmo")},Dagg:function(M,N,n){var v=n("Gev7"),p=n("mFDi"),S=n("bYtY"),m=n("Xnb7");function g(d){v.call(this,d)}g.prototype={constructor:g,type:"image",brush:function(c,o){var i=this.style,t=i.image;i.bind(c,this,o);var a=this._image=m.createOrUpdateImage(t,this._image,this,this.onload);if(!a||!m.isImageReady(a))return;var e=i.x||0,l=i.y||0,r=i.width,s=i.height,u=a.width/a.height;if(r==null&&s!=null?r=s*u:s==null&&r!=null?s=r/u:r==null&&s==null&&(r=a.width,s=a.height),this.setTransform(c),i.sWidth&&i.sHeight){var h=i.sx||0,A=i.sy||0;c.drawImage(a,h,A,i.sWidth,i.sHeight,e,l,r,s)}else if(i.sx&&i.sy){var h=i.sx,A=i.sy,y=r-h,w=s-A;c.drawImage(a,h,A,y,w,e,l,r,s)}else c.drawImage(a,e,l,r,s);i.text!=null&&(this.restoreTransform(c),this.drawRectText(c,this.getBoundingRect()))},getBoundingRect:function(){var c=this.style;return this._rect||(this._rect=new p(c.x||0,c.y||0,c.width||0,c.height||0)),this._rect}},S.inherits(g,v);var f=g;M.exports=f},Dg8C:function(M,N,n){var v=n("XxSj"),p=n("bYtY");function S(m,g){m.eachSeriesByType("sankey",function(f){var d=f.getGraph(),c=d.nodes;if(c.length){var o=Infinity,i=-Infinity;p.each(c,function(t){var a=t.getLayout().value;a<o&&(o=a),a>i&&(i=a)}),p.each(c,function(t){var a=new v({type:"color",mappingMethod:"linear",dataExtent:[o,i],visual:f.get("color")}),e=a.mapValueToVisual(t.getLayout().value),l=t.getModel().get("itemStyle.color");l!=null?t.setVisual("color",l):t.setVisual("color",e)})}})}M.exports=S},DjyN:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("Urep"),m=n.n(S),g=n("OaEy")},DlQD:function(M,N,n){(function(v,p){M.exports=p()})(this,function(){"use strict";function v(kt,_t){for(var Ft=0;Ft<_t.length;Ft++){var ke=_t[Ft];ke.enumerable=ke.enumerable||!1,ke.configurable=!0,"value"in ke&&(ke.writable=!0),Object.defineProperty(kt,ke.key,ke)}}function p(kt,_t,Ft){return _t&&v(kt.prototype,_t),Ft&&v(kt,Ft),kt}function S(kt,_t){if(!kt)return;if(typeof kt=="string")return m(kt,_t);var Ft=Object.prototype.toString.call(kt).slice(8,-1);if(Ft==="Object"&&kt.constructor&&(Ft=kt.constructor.name),Ft==="Map"||Ft==="Set")return Array.from(kt);if(Ft==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ft))return m(kt,_t)}function m(kt,_t){(_t==null||_t>kt.length)&&(_t=kt.length);for(var Ft=0,ke=new Array(_t);Ft<_t;Ft++)ke[Ft]=kt[Ft];return ke}function g(kt,_t){var Ft;if(typeof Symbol=="undefined"||kt[Symbol.iterator]==null){if(Array.isArray(kt)||(Ft=S(kt))||_t&&kt&&typeof kt.length=="number"){Ft&&(kt=Ft);var ke=0;return function(){return ke>=kt.length?{done:!0}:{done:!1,value:kt[ke++]}}}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 Ft=kt[Symbol.iterator](),Ft.next.bind(Ft)}function f(kt,_t){return _t={exports:{}},kt(_t,_t.exports),_t.exports}var d=f(function(kt){function _t(){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 Ft(ke){kt.exports.defaults=ke}kt.exports={defaults:_t(),getDefaults:_t,changeDefaults:Ft}}),c=d.defaults,o=d.getDefaults,i=d.changeDefaults,t=/[&<>"']/,a=/[&<>"']/g,e=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=function(_t){return r[_t]};function u(kt,_t){if(_t){if(t.test(kt))return kt.replace(a,s)}else if(e.test(kt))return kt.replace(l,s);return kt}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function A(kt){return kt.replace(h,function(_t,Ft){return Ft=Ft.toLowerCase(),Ft==="colon"?":":Ft.charAt(0)==="#"?Ft.charAt(1)==="x"?String.fromCharCode(parseInt(Ft.substring(2),16)):String.fromCharCode(+Ft.substring(1)):""})}var y=/(^|[^\[])\^/g;function w(kt,_t){kt=kt.source||kt,_t=_t||"";var Ft={replace:function(te,Q){return Q=Q.source||Q,Q=Q.replace(y,"$1"),kt=kt.replace(te,Q),Ft},getRegex:function(){return new RegExp(kt,_t)}};return Ft}var b=/[^\w:]/g,x=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function O(kt,_t,Ft){if(kt){var ke;try{ke=decodeURIComponent(A(Ft)).replace(b,"").toLowerCase()}catch(te){return null}if(ke.indexOf("javascript:")===0||ke.indexOf("vbscript:")===0||ke.indexOf("data:")===0)return null}_t&&!x.test(Ft)&&(Ft=L(_t,Ft));try{Ft=encodeURI(Ft).replace(/%25/g,"%")}catch(te){return null}return Ft}var T={},E=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(kt,_t){T[" "+kt]||(E.test(kt)?T[" "+kt]=kt+"/":T[" "+kt]=j(kt,"/",!0)),kt=T[" "+kt];var Ft=kt.indexOf(":")===-1;return _t.substring(0,2)==="//"?Ft?_t:kt.replace(C,"$1")+_t:_t.charAt(0)==="/"?Ft?_t:kt.replace(_,"$1")+_t:kt+_t}var P={exec:function(){}};function k(kt){for(var _t=1,Ft,ke;_t<arguments.length;_t++){Ft=arguments[_t];for(ke in Ft)Object.prototype.hasOwnProperty.call(Ft,ke)&&(kt[ke]=Ft[ke])}return kt}function F(kt,_t){var Ft=kt.replace(/\|/g,function(Q,qe,je){for(var q=!1,wt=qe;--wt>=0&&je[wt]==="\\";)q=!q;return q?"|":" |"}),ke=Ft.split(/ \|/),te=0;if(ke.length>_t)ke.splice(_t);else for(;ke.length<_t;)ke.push("");for(;te<ke.length;te++)ke[te]=ke[te].trim().replace(/\\\|/g,"|");return ke}function j(kt,_t,Ft){var ke=kt.length;if(ke===0)return"";for(var te=0;te<ke;){var Q=kt.charAt(ke-te-1);if(Q===_t&&!Ft)te++;else if(Q!==_t&&Ft)te++;else break}return kt.substr(0,ke-te)}function z(kt,_t){if(kt.indexOf(_t[1])===-1)return-1;for(var Ft=kt.length,ke=0,te=0;te<Ft;te++)if(kt[te]==="\\")te++;else if(kt[te]===_t[0])ke++;else if(kt[te]===_t[1]&&(ke--,ke<0))return te;return-1}function R(kt){kt&&kt.sanitize&&!kt.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var U={escape:u,unescape:A,edit:w,cleanUrl:O,resolveUrl:L,noopTest:P,merge:k,splitCells:F,rtrim:j,findClosingBracket:z,checkSanitizeDeprecation:R},B=d.defaults,H=U.rtrim,K=U.splitCells,V=U.escape,W=U.findClosingBracket;function G(kt,_t,Ft){var ke=_t.href,te=_t.title?V(_t.title):null,Q=kt[1].replace(/\\([\[\]])/g,"$1");return kt[0].charAt(0)!=="!"?{type:"link",raw:Ft,href:ke,title:te,text:Q}:{type:"image",raw:Ft,href:ke,title:te,text:V(Q)}}function re(kt,_t){var Ft=kt.match(/^(\s+)(?:```)/);if(Ft===null)return _t;var ke=Ft[1];return _t.split(`
`).map(function(te){var Q=te.match(/^\s+/);if(Q===null)return te;var qe=Q[0];return qe.length>=ke.length?te.slice(ke.length):te}).join(`
`)}var ye=function(){function kt(Ft){this.options=Ft||B}var _t=kt.prototype;return _t.space=function(ke){var te=this.rules.block.newline.exec(ke);if(te)return te[0].length>1?{type:"space",raw:te[0]}:{raw:`
`}},_t.code=function(ke,te){var Q=this.rules.block.code.exec(ke);if(Q){var qe=te[te.length-1];if(qe&&qe.type==="paragraph")return{raw:Q[0],text:Q[0].trimRight()};var je=Q[0].replace(/^ {4}/gm,"");return{type:"code",raw:Q[0],codeBlockStyle:"indented",text:this.options.pedantic?je:H(je,`
`)}}},_t.fences=function(ke){var te=this.rules.block.fences.exec(ke);if(te){var Q=te[0],qe=re(Q,te[3]||"");return{type:"code",raw:Q,lang:te[2]?te[2].trim():te[2],text:qe}}},_t.heading=function(ke){var te=this.rules.block.heading.exec(ke);if(te)return{type:"heading",raw:te[0],depth:te[1].length,text:te[2]}},_t.nptable=function(ke){var te=this.rules.block.nptable.exec(ke);if(te){var Q={type:"table",header:K(te[1].replace(/^ *| *\| *$/g,"")),align:te[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:te[3]?te[3].replace(/\n$/,"").split(`
`):[],raw:te[0]};if(Q.header.length===Q.align.length){var qe=Q.align.length,je;for(je=0;je<qe;je++)/^ *-+: *$/.test(Q.align[je])?Q.align[je]="right":/^ *:-+: *$/.test(Q.align[je])?Q.align[je]="center":/^ *:-+ *$/.test(Q.align[je])?Q.align[je]="left":Q.align[je]=null;for(qe=Q.cells.length,je=0;je<qe;je++)Q.cells[je]=K(Q.cells[je],Q.header.length);return Q}}},_t.hr=function(ke){var te=this.rules.block.hr.exec(ke);if(te)return{type:"hr",raw:te[0]}},_t.blockquote=function(ke){var te=this.rules.block.blockquote.exec(ke);if(te){var Q=te[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:te[0],text:Q}}},_t.list=function(ke){var te=this.rules.block.list.exec(ke);if(te){for(var Q=te[0],qe=te[2],je=qe.length>1,q=qe[qe.length-1]===")",wt={type:"list",raw:Q,ordered:je,start:je?+qe.slice(0,-1):"",loose:!1,items:[]},Vt=te[0].match(this.rules.block.item),lt=!1,or,vr,An,hr,xr,nr,Yt,gt=Vt.length,zr=0;zr<gt;zr++)or=Vt[zr],Q=or,vr=or.length,or=or.replace(/^ *([*+-]|\d+[.)]) */,""),~or.indexOf(`
`)&&(vr-=or.length,or=this.options.pedantic?or.replace(/^ {1,4}/gm,""):or.replace(new RegExp("^ {1,"+vr+"}","gm"),"")),zr!==gt-1&&(An=this.rules.block.bullet.exec(Vt[zr+1])[0],(je?An.length===1||!q&&An[An.length-1]===")":An.length>1||this.options.smartLists&&An!==qe)&&(hr=Vt.slice(zr+1).join(`
`),wt.raw=wt.raw.substring(0,wt.raw.length-hr.length),zr=gt-1)),xr=lt||/\n\n(?!\s*$)/.test(or),zr!==gt-1&&(lt=or.charAt(or.length-1)===`
`,xr||(xr=lt)),xr&&(wt.loose=!0),nr=/^\[[ xX]\] /.test(or),Yt=void 0,nr&&(Yt=or[1]!==" ",or=or.replace(/^\[[ xX]\] +/,"")),wt.items.push({type:"list_item",raw:Q,task:nr,checked:Yt,loose:xr,text:or});return wt}},_t.html=function(ke){var te=this.rules.block.html.exec(ke);if(te)return{type:this.options.sanitize?"paragraph":"html",raw:te[0],pre:!this.options.sanitizer&&(te[1]==="pre"||te[1]==="script"||te[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(te[0]):V(te[0]):te[0]}},_t.def=function(ke){var te=this.rules.block.def.exec(ke);if(te){te[3]&&(te[3]=te[3].substring(1,te[3].length-1));var Q=te[1].toLowerCase().replace(/\s+/g," ");return{tag:Q,raw:te[0],href:te[2],title:te[3]}}},_t.table=function(ke){var te=this.rules.block.table.exec(ke);if(te){var Q={type:"table",header:K(te[1].replace(/^ *| *\| *$/g,"")),align:te[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:te[3]?te[3].replace(/\n$/,"").split(`
`):[]};if(Q.header.length===Q.align.length){Q.raw=te[0];var qe=Q.align.length,je;for(je=0;je<qe;je++)/^ *-+: *$/.test(Q.align[je])?Q.align[je]="right":/^ *:-+: *$/.test(Q.align[je])?Q.align[je]="center":/^ *:-+ *$/.test(Q.align[je])?Q.align[je]="left":Q.align[je]=null;for(qe=Q.cells.length,je=0;je<qe;je++)Q.cells[je]=K(Q.cells[je].replace(/^ *\| *| *\| *$/g,""),Q.header.length);return Q}}},_t.lheading=function(ke){var te=this.rules.block.lheading.exec(ke);if(te)return{type:"heading",raw:te[0],depth:te[2].charAt(0)==="="?1:2,text:te[1]}},_t.paragraph=function(ke){var te=this.rules.block.paragraph.exec(ke);if(te)return{type:"paragraph",raw:te[0],text:te[1].charAt(te[1].length-1)===`
`?te[1].slice(0,-1):te[1]}},_t.text=function(ke,te){var Q=this.rules.block.text.exec(ke);if(Q){var qe=te[te.length-1];return qe&&qe.type==="text"?{raw:Q[0],text:Q[0]}:{type:"text",raw:Q[0],text:Q[0]}}},_t.escape=function(ke){var te=this.rules.inline.escape.exec(ke);if(te)return{type:"escape",raw:te[0],text:V(te[1])}},_t.tag=function(ke,te,Q){var qe=this.rules.inline.tag.exec(ke);if(qe)return!te&&/^<a /i.test(qe[0])?te=!0:te&&/^<\/a>/i.test(qe[0])&&(te=!1),!Q&&/^<(pre|code|kbd|script)(\s|>)/i.test(qe[0])?Q=!0:Q&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(qe[0])&&(Q=!1),{type:this.options.sanitize?"text":"html",raw:qe[0],inLink:te,inRawBlock:Q,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):V(qe[0]):qe[0]}},_t.link=function(ke){var te=this.rules.inline.link.exec(ke);if(te){var Q=W(te[2],"()");if(Q>-1){var qe=te[0].indexOf("!")===0?5:4,je=qe+te[1].length+Q;te[2]=te[2].substring(0,Q),te[0]=te[0].substring(0,je).trim(),te[3]=""}var q=te[2],wt="";if(this.options.pedantic){var Vt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(q);Vt?(q=Vt[1],wt=Vt[3]):wt=""}else wt=te[3]?te[3].slice(1,-1):"";q=q.trim().replace(/^<([\s\S]*)>$/,"$1");var lt=G(te,{href:q&&q.replace(this.rules.inline._escapes,"$1"),title:wt&&wt.replace(this.rules.inline._escapes,"$1")},te[0]);return lt}},_t.reflink=function(ke,te){var Q;if((Q=this.rules.inline.reflink.exec(ke))||(Q=this.rules.inline.nolink.exec(ke))){var qe=(Q[2]||Q[1]).replace(/\s+/g," ");if(qe=te[qe.toLowerCase()],!qe||!qe.href){var je=Q[0].charAt(0);return{type:"text",raw:je,text:je}}var q=G(Q,qe,Q[0]);return q}},_t.strong=function(ke,te,Q){Q===void 0&&(Q="");var qe=this.rules.inline.strong.start.exec(ke);if(qe&&(!qe[1]||qe[1]&&(Q===""||this.rules.inline.punctuation.exec(Q)))){te=te.slice(-1*ke.length);var je=qe[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;je.lastIndex=0;for(var q;(qe=je.exec(te))!=null;)if(q=this.rules.inline.strong.middle.exec(te.slice(0,qe.index+3)),q)return{type:"strong",raw:ke.slice(0,q[0].length),text:ke.slice(2,q[0].length-2)}}},_t.em=function(ke,te,Q){Q===void 0&&(Q="");var qe=this.rules.inline.em.start.exec(ke);if(qe&&(!qe[1]||qe[1]&&(Q===""||this.rules.inline.punctuation.exec(Q)))){te=te.slice(-1*ke.length);var je=qe[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;je.lastIndex=0;for(var q;(qe=je.exec(te))!=null;)if(q=this.rules.inline.em.middle.exec(te.slice(0,qe.index+2)),q)return{type:"em",raw:ke.slice(0,q[0].length),text:ke.slice(1,q[0].length-1)}}},_t.codespan=function(ke){var te=this.rules.inline.code.exec(ke);if(te){var Q=te[2].replace(/\n/g," "),qe=/[^ ]/.test(Q),je=Q.startsWith(" ")&&Q.endsWith(" ");return qe&&je&&(Q=Q.substring(1,Q.length-1)),Q=V(Q,!0),{type:"codespan",raw:te[0],text:Q}}},_t.br=function(ke){var te=this.rules.inline.br.exec(ke);if(te)return{type:"br",raw:te[0]}},_t.del=function(ke){var te=this.rules.inline.del.exec(ke);if(te)return{type:"del",raw:te[0],text:te[1]}},_t.autolink=function(ke,te){var Q=this.rules.inline.autolink.exec(ke);if(Q){var qe,je;return Q[2]==="@"?(qe=V(this.options.mangle?te(Q[1]):Q[1]),je="mailto:"+qe):(qe=V(Q[1]),je=qe),{type:"link",raw:Q[0],text:qe,href:je,tokens:[{type:"text",raw:qe,text:qe}]}}},_t.url=function(ke,te){var Q;if(Q=this.rules.inline.url.exec(ke)){var qe,je;if(Q[2]==="@")qe=V(this.options.mangle?te(Q[0]):Q[0]),je="mailto:"+qe;else{var q;do q=Q[0],Q[0]=this.rules.inline._backpedal.exec(Q[0])[0];while(q!==Q[0]);qe=V(Q[0]),Q[1]==="www."?je="http://"+qe:je=qe}return{type:"link",raw:Q[0],text:qe,href:je,tokens:[{type:"text",raw:qe,text:qe}]}}},_t.inlineText=function(ke,te,Q){var qe=this.rules.inline.text.exec(ke);if(qe){var je;return te?je=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):V(qe[0]):qe[0]:je=V(this.options.smartypants?Q(qe[0]):qe[0]),{type:"text",raw:qe[0],text:je}}},kt}(),$=U.noopTest,ve=U.edit,Ce=U.merge,Se={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:$,table:$,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Se._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Se._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Se.def=ve(Se.def).replace("label",Se._label).replace("title",Se._title).getRegex(),Se.bullet=/(?:[*+-]|\d{1,9}[.)])/,Se.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Se.item=ve(Se.item,"gm").replace(/bull/g,Se.bullet).getRegex(),Se.list=ve(Se.list).replace(/bull/g,Se.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Se.def.source+")").getRegex(),Se._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",Se._comment=/<!--(?!-?>)[\s\S]*?-->/,Se.html=ve(Se.html,"i").replace("comment",Se._comment).replace("tag",Se._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Se.paragraph=ve(Se._paragraph).replace("hr",Se.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",Se._tag).getRegex(),Se.blockquote=ve(Se.blockquote).replace("paragraph",Se.paragraph).getRegex(),Se.normal=Ce({},Se),Se.gfm=Ce({},Se.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*|$)"}),Se.gfm.nptable=ve(Se.gfm.nptable).replace("hr",Se.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",Se._tag).getRegex(),Se.gfm.table=ve(Se.gfm.table).replace("hr",Se.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",Se._tag).getRegex(),Se.pedantic=Ce({},Se.normal,{html:ve(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Se._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:$,paragraph:ve(Se.normal._paragraph).replace("hr",Se.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",Se.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ke={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:$,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:$,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Ke._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Ke.punctuation=ve(Ke.punctuation).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Ke._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Ke.em.start=ve(Ke.em.start).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.em.middle=ve(Ke.em.middle).replace(/punctuation/g,Ke._punctuation).replace(/overlapSkip/g,Ke._overlapSkip).getRegex(),Ke.em.endAst=ve(Ke.em.endAst,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.em.endUnd=ve(Ke.em.endUnd,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.start=ve(Ke.strong.start).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.middle=ve(Ke.strong.middle).replace(/punctuation/g,Ke._punctuation).replace(/blockSkip/g,Ke._blockSkip).getRegex(),Ke.strong.endAst=ve(Ke.strong.endAst,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.endUnd=ve(Ke.strong.endUnd,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.blockSkip=ve(Ke._blockSkip,"g").getRegex(),Ke.overlapSkip=ve(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=ve(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=ve(Ke.tag).replace("comment",Se._comment).replace("attribute",Ke._attribute).getRegex(),Ke._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ke._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Ke._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ke.link=ve(Ke.link).replace("label",Ke._label).replace("href",Ke._href).replace("title",Ke._title).getRegex(),Ke.reflink=ve(Ke.reflink).replace("label",Ke._label).getRegex(),Ke.reflinkSearch=ve(Ke.reflinkSearch,"g").replace("reflink",Ke.reflink).replace("nolink",Ke.nolink).getRegex(),Ke.normal=Ce({},Ke),Ke.pedantic=Ce({},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:ve(/^!?\[(label)\]\((.*?)\)/).replace("label",Ke._label).getRegex(),reflink:ve(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ke._label).getRegex()}),Ke.gfm=Ce({},Ke.normal,{escape:ve(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=ve(Ke.gfm.url,"i").replace("email",Ke.gfm._extended_email).getRegex(),Ke.breaks=Ce({},Ke.gfm,{br:ve(Ke.br).replace("{2,}","*").getRegex(),text:ve(Ke.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var ue={block:Se,inline:Ke},Le=d.defaults,ee=ue.block,le=ue.inline;function et(kt){return kt.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 Re(kt){var _t="",Ft,ke,te=kt.length;for(Ft=0;Ft<te;Ft++)ke=kt.charCodeAt(Ft),Math.random()>.5&&(ke="x"+ke.toString(16)),_t+="&#"+ke+";";return _t}var Ae=function(){function kt(Ft){this.tokens=[],this.tokens.links=Object.create(null),this.options=Ft||Le,this.options.tokenizer=this.options.tokenizer||new ye,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ke={block:ee.normal,inline:le.normal};this.options.pedantic?(ke.block=ee.pedantic,ke.inline=le.pedantic):this.options.gfm&&(ke.block=ee.gfm,this.options.breaks?ke.inline=le.breaks:ke.inline=le.gfm),this.tokenizer.rules=ke}kt.lex=function(ke,te){var Q=new kt(te);return Q.lex(ke)};var _t=kt.prototype;return _t.lex=function(ke){return ke=ke.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(ke,this.tokens,!0),this.inline(this.tokens),this.tokens},_t.blockTokens=function(ke,te,Q){te===void 0&&(te=[]),Q===void 0&&(Q=!0),ke=ke.replace(/^ +$/gm,"");for(var qe,je,q,wt;ke;){if(qe=this.tokenizer.space(ke)){ke=ke.substring(qe.raw.length),qe.type&&te.push(qe);continue}if(qe=this.tokenizer.code(ke,te)){ke=ke.substring(qe.raw.length),qe.type?te.push(qe):(wt=te[te.length-1],wt.raw+=`
`+qe.raw,wt.text+=`
`+qe.text);continue}if(qe=this.tokenizer.fences(ke)){ke=ke.substring(qe.raw.length),te.push(qe);continue}if(qe=this.tokenizer.heading(ke)){ke=ke.substring(qe.raw.length),te.push(qe);continue}if(qe=this.tokenizer.nptable(ke)){ke=ke.substring(qe.raw.length),te.push(qe);continue}if(qe=this.tokenizer.hr(ke)){ke=ke.substring(qe.raw.length),te.push(qe);continue}if(qe=this.tokenizer.blockquote(ke)){ke=ke.substring(qe.raw.length),qe.tokens=this.blockTokens(qe.text,[],Q),te.push(qe);continue}if(qe=this.tokenizer.list(ke)){for(ke=ke.substring(qe.raw.length),q=qe.items.length,je=0;je<q;je++)qe.items[je].tokens=this.blockTokens(qe.items[je].text,[],!1);te.push(qe);continue}if(qe=this.tokenizer.html(ke)){ke=ke.substring(qe.raw.length),te.push(qe);continue}if(Q&&(qe=this.tokenizer.def(ke))){ke=ke.substring(qe.raw.length),this.tokens.links[qe.tag]||(this.tokens.links[qe.tag]={href:qe.href,title:qe.title});continue}if(qe=this.tokenizer.table(ke)){ke=ke.substring(qe.raw.length),te.push(qe);continue}if(qe=this.tokenizer.lheading(ke)){ke=ke.substring(qe.raw.length),te.push(qe);continue}if(Q&&(qe=this.tokenizer.paragraph(ke))){ke=ke.substring(qe.raw.length),te.push(qe);continue}if(qe=this.tokenizer.text(ke,te)){ke=ke.substring(qe.raw.length),qe.type?te.push(qe):(wt=te[te.length-1],wt.raw+=`
`+qe.raw,wt.text+=`
`+qe.text);continue}if(ke){var Vt="Infinite loop on byte: "+ke.charCodeAt(0);if(this.options.silent){console.error(Vt);break}else throw new Error(Vt)}}return te},_t.inline=function(ke){var te,Q,qe,je,q,wt,Vt=ke.length;for(te=0;te<Vt;te++){wt=ke[te];switch(wt.type){case"paragraph":case"text":case"heading":{wt.tokens=[],this.inlineTokens(wt.text,wt.tokens);break}case"table":{for(wt.tokens={header:[],cells:[]},je=wt.header.length,Q=0;Q<je;Q++)wt.tokens.header[Q]=[],this.inlineTokens(wt.header[Q],wt.tokens.header[Q]);for(je=wt.cells.length,Q=0;Q<je;Q++)for(q=wt.cells[Q],wt.tokens.cells[Q]=[],qe=0;qe<q.length;qe++)wt.tokens.cells[Q][qe]=[],this.inlineTokens(q[qe],wt.tokens.cells[Q][qe]);break}case"blockquote":{this.inline(wt.tokens);break}case"list":{for(je=wt.items.length,Q=0;Q<je;Q++)this.inline(wt.items[Q].tokens);break}}}return ke},_t.inlineTokens=function(ke,te,Q,qe,je){te===void 0&&(te=[]),Q===void 0&&(Q=!1),qe===void 0&&(qe=!1),je===void 0&&(je="");var q,wt=ke,Vt;if(this.tokens.links){var lt=Object.keys(this.tokens.links);if(lt.length>0)for(;(Vt=this.tokenizer.rules.inline.reflinkSearch.exec(wt))!=null;)lt.includes(Vt[0].slice(Vt[0].lastIndexOf("[")+1,-1))&&(wt=wt.slice(0,Vt.index)+"["+"a".repeat(Vt[0].length-2)+"]"+wt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Vt=this.tokenizer.rules.inline.blockSkip.exec(wt))!=null;)wt=wt.slice(0,Vt.index)+"["+"a".repeat(Vt[0].length-2)+"]"+wt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;ke;){if(q=this.tokenizer.escape(ke)){ke=ke.substring(q.raw.length),te.push(q);continue}if(q=this.tokenizer.tag(ke,Q,qe)){ke=ke.substring(q.raw.length),Q=q.inLink,qe=q.inRawBlock,te.push(q);continue}if(q=this.tokenizer.link(ke)){ke=ke.substring(q.raw.length),q.type==="link"&&(q.tokens=this.inlineTokens(q.text,[],!0,qe)),te.push(q);continue}if(q=this.tokenizer.reflink(ke,this.tokens.links)){ke=ke.substring(q.raw.length),q.type==="link"&&(q.tokens=this.inlineTokens(q.text,[],!0,qe)),te.push(q);continue}if(q=this.tokenizer.strong(ke,wt,je)){ke=ke.substring(q.raw.length),q.tokens=this.inlineTokens(q.text,[],Q,qe),te.push(q);continue}if(q=this.tokenizer.em(ke,wt,je)){ke=ke.substring(q.raw.length),q.tokens=this.inlineTokens(q.text,[],Q,qe),te.push(q);continue}if(q=this.tokenizer.codespan(ke)){ke=ke.substring(q.raw.length),te.push(q);continue}if(q=this.tokenizer.br(ke)){ke=ke.substring(q.raw.length),te.push(q);continue}if(q=this.tokenizer.del(ke)){ke=ke.substring(q.raw.length),q.tokens=this.inlineTokens(q.text,[],Q,qe),te.push(q);continue}if(q=this.tokenizer.autolink(ke,Re)){ke=ke.substring(q.raw.length),te.push(q);continue}if(!Q&&(q=this.tokenizer.url(ke,Re))){ke=ke.substring(q.raw.length),te.push(q);continue}if(q=this.tokenizer.inlineText(ke,qe,et)){ke=ke.substring(q.raw.length),je=q.raw.slice(-1),te.push(q);continue}if(ke){var or="Infinite loop on byte: "+ke.charCodeAt(0);if(this.options.silent){console.error(or);break}else throw new Error(or)}}return te},p(kt,null,[{key:"rules",get:function(){return{block:ee,inline:le}}}]),kt}(),oe=d.defaults,ce=U.cleanUrl,be=U.escape,Te=function(){function kt(Ft){this.options=Ft||oe}var _t=kt.prototype;return _t.code=function(ke,te,Q){var qe=(te||"").match(/\S*/)[0];if(this.options.highlight){var je=this.options.highlight(ke,qe);je!=null&&je!==ke&&(Q=!0,ke=je)}return qe?'<pre><code class="'+this.options.langPrefix+be(qe,!0)+'">'+(Q?ke:be(ke,!0))+`</code></pre>
`:"<pre><code>"+(Q?ke:be(ke,!0))+`</code></pre>
`},_t.blockquote=function(ke){return`<blockquote>
`+ke+`</blockquote>
`},_t.html=function(ke){return ke},_t.heading=function(ke,te,Q,qe){return this.options.headerIds?"<h"+te+' id="'+this.options.headerPrefix+qe.slug(Q)+'">'+ke+"</h"+te+`>
`:"<h"+te+">"+ke+"</h"+te+`>
`},_t.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},_t.list=function(ke,te,Q){var qe=te?"ol":"ul",je=te&&Q!==1?' start="'+Q+'"':"";return"<"+qe+je+`>
`+ke+"</"+qe+`>
`},_t.listitem=function(ke){return"<li>"+ke+`</li>
`},_t.checkbox=function(ke){return"<input "+(ke?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},_t.paragraph=function(ke){return"<p>"+ke+`</p>
`},_t.table=function(ke,te){return te&&(te="<tbody>"+te+"</tbody>"),`<table>
<thead>
`+ke+`</thead>
`+te+`</table>
`},_t.tablerow=function(ke){return`<tr>
`+ke+`</tr>
`},_t.tablecell=function(ke,te){var Q=te.header?"th":"td",qe=te.align?"<"+Q+' align="'+te.align+'">':"<"+Q+">";return qe+ke+"</"+Q+`>
`},_t.strong=function(ke){return"<strong>"+ke+"</strong>"},_t.em=function(ke){return"<em>"+ke+"</em>"},_t.codespan=function(ke){return"<code>"+ke+"</code>"},_t.br=function(){return this.options.xhtml?"<br/>":"<br>"},_t.del=function(ke){return"<del>"+ke+"</del>"},_t.link=function(ke,te,Q){if(ke=ce(this.options.sanitize,this.options.baseUrl,ke),ke===null)return Q;var qe='<a href="'+be(ke)+'"';return te&&(qe+=' title="'+te+'"'),qe+=">"+Q+"</a>",qe},_t.image=function(ke,te,Q){if(ke=ce(this.options.sanitize,this.options.baseUrl,ke),ke===null)return Q;var qe='<img src="'+ke+'" alt="'+Q+'"';return te&&(qe+=' title="'+te+'"'),qe+=this.options.xhtml?"/>":">",qe},_t.text=function(ke){return ke},kt}(),Be=function(){function kt(){}var _t=kt.prototype;return _t.strong=function(ke){return ke},_t.em=function(ke){return ke},_t.codespan=function(ke){return ke},_t.del=function(ke){return ke},_t.html=function(ke){return ke},_t.text=function(ke){return ke},_t.link=function(ke,te,Q){return""+Q},_t.image=function(ke,te,Q){return""+Q},_t.br=function(){return""},kt}(),De=function(){function kt(){this.seen={}}var _t=kt.prototype;return _t.slug=function(ke){var te=ke.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(te)){var Q=te;do this.seen[Q]++,te=Q+"-"+this.seen[Q];while(this.seen.hasOwnProperty(te))}return this.seen[te]=0,te},kt}(),ae=d.defaults,fe=U.unescape,Oe=function(){function kt(Ft){this.options=Ft||ae,this.options.renderer=this.options.renderer||new Te,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Be,this.slugger=new De}kt.parse=function(ke,te){var Q=new kt(te);return Q.parse(ke)};var _t=kt.prototype;return _t.parse=function(ke,te){te===void 0&&(te=!0);var Q="",qe,je,q,wt,Vt,lt,or,vr,An,hr,xr,nr,Yt,gt,zr,pn,Nn,Vn,xi=ke.length;for(qe=0;qe<xi;qe++){hr=ke[qe];switch(hr.type){case"space":continue;case"hr":{Q+=this.renderer.hr();continue}case"heading":{Q+=this.renderer.heading(this.parseInline(hr.tokens),hr.depth,fe(this.parseInline(hr.tokens,this.textRenderer)),this.slugger);continue}case"code":{Q+=this.renderer.code(hr.text,hr.lang,hr.escaped);continue}case"table":{for(vr="",or="",wt=hr.header.length,je=0;je<wt;je++)or+=this.renderer.tablecell(this.parseInline(hr.tokens.header[je]),{header:!0,align:hr.align[je]});for(vr+=this.renderer.tablerow(or),An="",wt=hr.cells.length,je=0;je<wt;je++){for(lt=hr.tokens.cells[je],or="",Vt=lt.length,q=0;q<Vt;q++)or+=this.renderer.tablecell(this.parseInline(lt[q]),{header:!1,align:hr.align[q]});An+=this.renderer.tablerow(or)}Q+=this.renderer.table(vr,An);continue}case"blockquote":{An=this.parse(hr.tokens),Q+=this.renderer.blockquote(An);continue}case"list":{for(xr=hr.ordered,nr=hr.start,Yt=hr.loose,wt=hr.items.length,An="",je=0;je<wt;je++)zr=hr.items[je],pn=zr.checked,Nn=zr.task,gt="",zr.task&&(Vn=this.renderer.checkbox(pn),Yt?zr.tokens.length>0&&zr.tokens[0].type==="text"?(zr.tokens[0].text=Vn+" "+zr.tokens[0].text,zr.tokens[0].tokens&&zr.tokens[0].tokens.length>0&&zr.tokens[0].tokens[0].type==="text"&&(zr.tokens[0].tokens[0].text=Vn+" "+zr.tokens[0].tokens[0].text)):zr.tokens.unshift({type:"text",text:Vn}):gt+=Vn),gt+=this.parse(zr.tokens,Yt),An+=this.renderer.listitem(gt,Nn,pn);Q+=this.renderer.list(An,xr,nr);continue}case"html":{Q+=this.renderer.html(hr.text);continue}case"paragraph":{Q+=this.renderer.paragraph(this.parseInline(hr.tokens));continue}case"text":{for(An=hr.tokens?this.parseInline(hr.tokens):hr.text;qe+1<xi&&ke[qe+1].type==="text";)hr=ke[++qe],An+=`
`+(hr.tokens?this.parseInline(hr.tokens):hr.text);Q+=te?this.renderer.paragraph(An):An;continue}default:{var bn='Token with "'+hr.type+'" type was not found.';if(this.options.silent){console.error(bn);return}else throw new Error(bn)}}}return Q},_t.parseInline=function(ke,te){te=te||this.renderer;var Q="",qe,je,q=ke.length;for(qe=0;qe<q;qe++){je=ke[qe];switch(je.type){case"escape":{Q+=te.text(je.text);break}case"html":{Q+=te.html(je.text);break}case"link":{Q+=te.link(je.href,je.title,this.parseInline(je.tokens,te));break}case"image":{Q+=te.image(je.href,je.title,je.text);break}case"strong":{Q+=te.strong(this.parseInline(je.tokens,te));break}case"em":{Q+=te.em(this.parseInline(je.tokens,te));break}case"codespan":{Q+=te.codespan(je.text);break}case"br":{Q+=te.br();break}case"del":{Q+=te.del(this.parseInline(je.tokens,te));break}case"text":{Q+=te.text(je.text);break}default:{var wt='Token with "'+je.type+'" type was not found.';if(this.options.silent){console.error(wt);return}else throw new Error(wt)}}}return Q},kt}(),Je=U.merge,Et=U.checkSanitizeDeprecation,Ze=U.escape,Ne=d.getDefaults,It=d.changeDefaults,Xe=d.defaults;function Ot(kt,_t,Ft){if(typeof kt=="undefined"||kt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof kt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(kt)+", string expected");if(typeof _t=="function"&&(Ft=_t,_t=null),_t=Je({},Ot.defaults,_t||{}),Et(_t),Ft){var ke=_t.highlight,te;try{te=Ae.lex(kt,_t)}catch(q){return Ft(q)}var Q=function(wt){var Vt;if(!wt)try{Vt=Oe.parse(te,_t)}catch(lt){wt=lt}return _t.highlight=ke,wt?Ft(wt):Ft(null,Vt)};if(!ke||ke.length<3)return Q();if(delete _t.highlight,!te.length)return Q();var qe=0;Ot.walkTokens(te,function(q){q.type==="code"&&(qe++,setTimeout(function(){ke(q.text,q.lang,function(wt,Vt){if(wt)return Q(wt);Vt!=null&&Vt!==q.text&&(q.text=Vt,q.escaped=!0),qe--,qe===0&&Q()})},0))}),qe===0&&Q();return}try{var je=Ae.lex(kt,_t);return _t.walkTokens&&Ot.walkTokens(je,_t.walkTokens),Oe.parse(je,_t)}catch(q){if(q.message+=`
Please report this to https://github.com/markedjs/marked.`,_t.silent)return"<p>An error occurred:</p><pre>"+Ze(q.message+"",!0)+"</pre>";throw q}}Ot.options=Ot.setOptions=function(kt){return Je(Ot.defaults,kt),It(Ot.defaults),Ot},Ot.getDefaults=Ne,Ot.defaults=Xe,Ot.use=function(kt){var _t=Je({},kt);if(kt.renderer&&function(){var ke=Ot.defaults.renderer||new Te,te=function(je){var q=ke[je];ke[je]=function(){for(var wt=arguments.length,Vt=new Array(wt),lt=0;lt<wt;lt++)Vt[lt]=arguments[lt];var or=kt.renderer[je].apply(ke,Vt);return or===!1&&(or=q.apply(ke,Vt)),or}};for(var Q in kt.renderer)te(Q);_t.renderer=ke}(),kt.tokenizer&&function(){var ke=Ot.defaults.tokenizer||new ye,te=function(je){var q=ke[je];ke[je]=function(){for(var wt=arguments.length,Vt=new Array(wt),lt=0;lt<wt;lt++)Vt[lt]=arguments[lt];var or=kt.tokenizer[je].apply(ke,Vt);return or===!1&&(or=q.apply(ke,Vt)),or}};for(var Q in kt.tokenizer)te(Q);_t.tokenizer=ke}(),kt.walkTokens){var Ft=Ot.defaults.walkTokens;_t.walkTokens=function(ke){kt.walkTokens(ke),Ft&&Ft(ke)}}Ot.setOptions(_t)},Ot.walkTokens=function(kt,_t){for(var Ft=g(kt),ke;!(ke=Ft()).done;){var te=ke.value;_t(te);switch(te.type){case"table":{for(var Q=g(te.tokens.header),qe;!(qe=Q()).done;){var je=qe.value;Ot.walkTokens(je,_t)}for(var q=g(te.tokens.cells),wt;!(wt=q()).done;)for(var Vt=wt.value,lt=g(Vt),or;!(or=lt()).done;){var vr=or.value;Ot.walkTokens(vr,_t)}break}case"list":{Ot.walkTokens(te.items,_t);break}default:te.tokens&&Ot.walkTokens(te.tokens,_t)}}},Ot.Parser=Oe,Ot.parser=Oe.parse,Ot.Renderer=Te,Ot.TextRenderer=Be,Ot.Lexer=Ae,Ot.lexer=Ae.lex,Ot.Tokenizer=ye,Ot.Slugger=De,Ot.parse=Ot;var Bt=Ot;return Bt})},"DlR+":function(M,N,n){var v=n("MFOe"),p=v.Global,S=v.trim;M.exports={name:"cookieStorage",read:g,write:d,each:f,remove:c,clearAll:o};var m=p.document;function g(t){if(!t||!i(t))return null;var a="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(a),"$1"))}function f(t){for(var a=m.cookie.split(/; ?/g),e=a.length-1;e>=0;e--){if(!S(a[e]))continue;var l=a[e].split("="),r=unescape(l[0]),s=unescape(l[1]);t(s,r)}}function d(t,a){if(!t)return;m.cookie=escape(t)+"="+escape(a)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function c(t){if(!t||!i(t))return;m.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function o(){f(function(t,a){c(a)})}function i(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("+TT/"),m=n("XpcN"),g=p.Group,f=["width","height"],d=["x","y"],c=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new g),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new g),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(i,t,a,e,l,r,s){var u=this;c.superCall(this,"renderInner",i,t,a,e,l,r,s);var h=this._controllerGroup,A=t.get("pageIconSize",!0);v.isArray(A)||(A=[A,A]),w("pagePrev",0);var y=t.getModel("pageTextStyle");h.add(new p.Text({name:"pageText",style:{textFill:y.getTextColor(),font:y.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),w("pageNext",1);function w(b,x){var O=b+"DataIndex",T=p.createIcon(t.get("pageIcons",!0)[t.getOrient().name][x],{onclick:v.bind(u._pageGo,u,O,t,e)},{x:-A[0]/2,y:-A[1]/2,width:A[0],height:A[1]});T.name=b,h.add(T)}},layoutInner:function(i,t,a,e,l,r){var s=this.getSelectorGroup(),u=i.getOrient().index,h=f[u],A=d[u],y=f[1-u],w=d[1-u];l&&S.box("horizontal",s,i.get("selectorItemGap",!0));var b=i.get("selectorButtonGap",!0),x=s.getBoundingRect(),O=[-x.x,-x.y],T=v.clone(a);l&&(T[h]=a[h]-x[h]-b);var E=this._layoutContentAndController(i,e,T,u,h,y,w);if(l){if(r==="end")O[u]+=E[h]+b;else{var C=x[h]+b;O[u]-=C,E[A]-=C}E[h]+=x[h]+b,O[1-u]+=E[w]+E[y]/2-x[y]/2,E[y]=Math.max(E[y],x[y]),E[w]=Math.min(E[w],x[w]+O[1-u]),s.attr("position",O)}return E},_layoutContentAndController:function(i,t,a,e,l,r,s){var u=this.getContentGroup(),h=this._containerGroup,A=this._controllerGroup;S.box(i.get("orient"),u,i.get("itemGap"),e?a.width:null,e?null:a.height),S.box("horizontal",A,i.get("pageButtonItemGap",!0));var y=u.getBoundingRect(),w=A.getBoundingRect(),b=this._showController=y[l]>a[l],x=[-y.x,-y.y];t||(x[e]=u.position[e]);var O=[0,0],T=[-w.x,-w.y],E=v.retrieve2(i.get("pageButtonGap",!0),i.get("itemGap",!0));if(b){var C=i.get("pageButtonPosition",!0);C==="end"?T[e]+=a[l]-w[l]:O[e]+=w[l]+E}T[1-e]+=y[r]/2-w[r]/2,u.attr("position",x),h.attr("position",O),A.attr("position",T);var _={x:0,y:0};if(_[l]=b?a[l]:y[l],_[r]=Math.max(y[r],w[r]),_[s]=Math.min(0,w[s]+T[1-e]),h.__rectSize=a[l],b){var L={x:0,y:0};L[l]=Math.max(a[l]-w[l]-E,0),L[r]=_[r],h.setClipPath(new p.Rect({shape:L})),h.__rectSize=L[l]}else A.eachChild(function(k){k.attr({invisible:!0,silent:!0})});var P=this._getPageInfo(i);return P.pageIndex!=null&&p.updateProps(u,{position:P.contentPosition},b?i:!1),this._updatePageInfoView(i,P),_},_pageGo:function(i,t,a){var e=this._getPageInfo(t)[i];e!=null&&a.dispatchAction({type:"legendScroll",scrollDataIndex:e,legendId:t.id})},_updatePageInfoView:function(i,t){var a=this._controllerGroup;v.each(["pagePrev","pageNext"],function(h){var A=t[h+"DataIndex"]!=null,y=a.childOfName(h);y&&(y.setStyle("fill",A?i.get("pageIconColor",!0):i.get("pageIconInactiveColor",!0)),y.cursor=A?"pointer":"default")});var e=a.childOfName("pageText"),l=i.get("pageFormatter"),r=t.pageIndex,s=r!=null?r+1:0,u=t.pageCount;e&&l&&e.setStyle("text",v.isString(l)?l.replace("{current}",s).replace("{total}",u):l({current:s,total:u}))},_getPageInfo:function(i){var t=i.get("scrollDataIndex",!0),a=this.getContentGroup(),e=this._containerGroup.__rectSize,l=i.getOrient().index,r=f[l],s=d[l],u=this._findTargetItemIndex(t),h=a.children(),A=h[u],y=h.length,w=y?1:0,b={contentPosition:a.position.slice(),pageCount:w,pageIndex:w-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!A)return b;var x=_(A);b.contentPosition[l]=-x.s;for(var O=u+1,T=x,E=x,C=null;O<=y;++O)C=_(h[O]),(!C&&E.e>T.s+e||C&&!L(C,T.s))&&(E.i>T.i?T=E:T=C,T&&(b.pageNextDataIndex==null&&(b.pageNextDataIndex=T.i),++b.pageCount)),E=C;for(var O=u-1,T=x,E=x,C=null;O>=-1;--O)C=_(h[O]),(!C||!L(E,C.s))&&T.i<E.i&&(E=T,b.pagePrevDataIndex==null&&(b.pagePrevDataIndex=T.i),++b.pageCount,++b.pageIndex),T=C;return b;function _(P){if(P){var k=P.getBoundingRect(),F=k[s]+P.position[l];return{s:F,e:F+k[r],i:P.__legendDataIndex}}}function L(P,k){return P.e>=k&&P.s<=k+e}},_findTargetItemIndex:function(i){if(!this._showController)return 0;var t,a=this.getContentGroup(),e;return a.eachChild(function(l,r){var s=l.__legendDataIndex;e==null&&s!=null&&(e=r),s===i&&(t=r)}),t!=null?t:e}}),o=c;M.exports=o},"E/ki":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};N.default=v},E2g8:function(M,N,n){(function(v,p){/*!
* @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(S,m){M.exports=m()})(this,function(){"use strict";function S(Te){var Be=typeof Te;return Te!==null&&(Be==="object"||Be==="function")}function m(Te){return typeof Te=="function"}var g=void 0;Array.isArray?g=Array.isArray:g=function(Be){return Object.prototype.toString.call(Be)==="[object Array]"};var f=g,d=0,c=void 0,o=void 0,i=function(Be,De){x[d]=Be,x[d+1]=De,d+=2,d===2&&(o?o(O):E())};function t(Te){o=Te}function a(Te){i=Te}var e=typeof window!="undefined"?window:void 0,l=e||{},r=l.MutationObserver||l.WebKitMutationObserver,s=typeof self=="undefined"&&typeof v!="undefined"&&{}.toString.call(v)==="[object process]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function h(){return function(){return v.nextTick(O)}}function A(){return typeof c!="undefined"?function(){c(O)}:b()}function y(){var Te=0,Be=new r(O),De=document.createTextNode("");return Be.observe(De,{characterData:!0}),function(){De.data=Te=++Te%2}}function w(){var Te=new MessageChannel;return Te.port1.onmessage=O,function(){return Te.port2.postMessage(0)}}function b(){var Te=setTimeout;return function(){return Te(O,1)}}var x=new Array(1e3);function O(){for(var Te=0;Te<d;Te+=2){var Be=x[Te],De=x[Te+1];Be(De),x[Te]=void 0,x[Te+1]=void 0}d=0}function T(){try{var Te=Function("return this")().require("vertx");return c=Te.runOnLoop||Te.runOnContext,A()}catch(Be){return b()}}var E=void 0;s?E=h():r?E=y():u?E=w():e===void 0&&!0?E=T():E=b();function C(Te,Be){var De=this,ae=new this.constructor(P);ae[L]===void 0&&ue(ae);var fe=De._state;if(fe){var Oe=arguments[fe-1];i(function(){return ve(fe,ae,Oe,De._result)})}else ye(De,ae,Te,Be);return ae}function _(Te){var Be=this;if(Te&&typeof Te=="object"&&Te.constructor===Be)return Te;var De=new Be(P);return V(De,Te),De}var L=Math.random().toString(36).substring(2);function P(){}var k=void 0,F=1,j=2;function z(){return new TypeError("You cannot resolve a promise with itself")}function R(){return new TypeError("A promises callback cannot return that same promise.")}function U(Te,Be,De,ae){try{Te.call(Be,De,ae)}catch(fe){return fe}}function B(Te,Be,De){i(function(ae){var fe=!1,Oe=U(De,Be,function(Je){if(fe)return;fe=!0,Be!==Je?V(ae,Je):G(ae,Je)},function(Je){if(fe)return;fe=!0,re(ae,Je)},"Settle: "+(ae._label||" unknown promise"));!fe&&Oe&&(fe=!0,re(ae,Oe))},Te)}function H(Te,Be){Be._state===F?G(Te,Be._result):Be._state===j?re(Te,Be._result):ye(Be,void 0,function(De){return V(Te,De)},function(De){return re(Te,De)})}function K(Te,Be,De){Be.constructor===Te.constructor&&De===C&&Be.constructor.resolve===_?H(Te,Be):De===void 0?G(Te,Be):m(De)?B(Te,Be,De):G(Te,Be)}function V(Te,Be){if(Te===Be)re(Te,z());else if(S(Be)){var De=void 0;try{De=Be.then}catch(ae){re(Te,ae);return}K(Te,Be,De)}else G(Te,Be)}function W(Te){Te._onerror&&Te._onerror(Te._result),$(Te)}function G(Te,Be){if(Te._state!==k)return;Te._result=Be,Te._state=F,Te._subscribers.length!==0&&i($,Te)}function re(Te,Be){if(Te._state!==k)return;Te._state=j,Te._result=Be,i(W,Te)}function ye(Te,Be,De,ae){var fe=Te._subscribers,Oe=fe.length;Te._onerror=null,fe[Oe]=Be,fe[Oe+F]=De,fe[Oe+j]=ae,Oe===0&&Te._state&&i($,Te)}function $(Te){var Be=Te._subscribers,De=Te._state;if(Be.length===0)return;for(var ae=void 0,fe=void 0,Oe=Te._result,Je=0;Je<Be.length;Je+=3)ae=Be[Je],fe=Be[Je+De],ae?ve(De,ae,fe,Oe):fe(Oe);Te._subscribers.length=0}function ve(Te,Be,De,ae){var fe=m(De),Oe=void 0,Je=void 0,Et=!0;if(fe){try{Oe=De(ae)}catch(Ze){Et=!1,Je=Ze}if(Be===Oe){re(Be,R());return}}else Oe=ae;Be._state!==k||(fe&&Et?V(Be,Oe):Et===!1?re(Be,Je):Te===F?G(Be,Oe):Te===j&&re(Be,Oe))}function Ce(Te,Be){try{Be(function(ae){V(Te,ae)},function(ae){re(Te,ae)})}catch(De){re(Te,De)}}var Se=0;function Ke(){return Se++}function ue(Te){Te[L]=Se++,Te._state=void 0,Te._result=void 0,Te._subscribers=[]}function Le(){return new Error("Array Methods must be provided an Array")}var ee=function(){function Te(Be,De){this._instanceConstructor=Be,this.promise=new Be(P),this.promise[L]||ue(this.promise),f(De)?(this.length=De.length,this._remaining=De.length,this._result=new Array(this.length),this.length===0?G(this.promise,this._result):(this.length=this.length||0,this._enumerate(De),this._remaining===0&&G(this.promise,this._result))):re(this.promise,Le())}return Te.prototype._enumerate=function(De){for(var ae=0;this._state===k&&ae<De.length;ae++)this._eachEntry(De[ae],ae)},Te.prototype._eachEntry=function(De,ae){var fe=this._instanceConstructor,Oe=fe.resolve;if(Oe===_){var Je=void 0,Et=void 0,Ze=!1;try{Je=De.then}catch(It){Ze=!0,Et=It}if(Je===C&&De._state!==k)this._settledAt(De._state,ae,De._result);else if(typeof Je!="function")this._remaining--,this._result[ae]=De;else if(fe===ce){var Ne=new fe(P);Ze?re(Ne,Et):K(Ne,De,Je),this._willSettleAt(Ne,ae)}else this._willSettleAt(new fe(function(It){return It(De)}),ae)}else this._willSettleAt(Oe(De),ae)},Te.prototype._settledAt=function(De,ae,fe){var Oe=this.promise;Oe._state===k&&(this._remaining--,De===j?re(Oe,fe):this._result[ae]=fe),this._remaining===0&&G(Oe,this._result)},Te.prototype._willSettleAt=function(De,ae){var fe=this;ye(De,void 0,function(Oe){return fe._settledAt(F,ae,Oe)},function(Oe){return fe._settledAt(j,ae,Oe)})},Te}();function le(Te){return new ee(this,Te).promise}function et(Te){var Be=this;return f(Te)?new Be(function(De,ae){for(var fe=Te.length,Oe=0;Oe<fe;Oe++)Be.resolve(Te[Oe]).then(De,ae)}):new Be(function(De,ae){return ae(new TypeError("You must pass an array to race."))})}function Re(Te){var Be=this,De=new Be(P);return re(De,Te),De}function Ae(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function oe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ce=function(){function Te(Be){this[L]=Ke(),this._result=this._state=void 0,this._subscribers=[],P!==Be&&(typeof Be!="function"&&Ae(),this instanceof Te?Ce(this,Be):oe())}return Te.prototype.catch=function(De){return this.then(null,De)},Te.prototype.finally=function(De){var ae=this,fe=ae.constructor;return m(De)?ae.then(function(Oe){return fe.resolve(De()).then(function(){return Oe})},function(Oe){return fe.resolve(De()).then(function(){throw Oe})}):ae.then(De,De)},Te}();ce.prototype.then=C,ce.all=le,ce.race=et,ce.resolve=_,ce.reject=Re,ce._setScheduler=t,ce._setAsap=a,ce._asap=i;function be(){var Te=void 0;if(typeof p!="undefined")Te=p;else if(typeof self!="undefined")Te=self;else try{Te=Function("return this")()}catch(ae){throw new Error("polyfill failed because global object is unavailable in this environment")}var Be=Te.Promise;if(Be){var De=null;try{De=Object.prototype.toString.call(Be.resolve())}catch(ae){}if(De==="[object Promise]"&&!Be.cast)return}Te.Promise=ce}return ce.polyfill=be,ce.Promise=ce,ce})}).call(this,n("Q2Ig"),n("yLpj"))},E9nw:function(M,N){M.exports=function(){var n=document.getSelection();if(!n.rangeCount)return function(){};for(var v=document.activeElement,p=[],S=0;S<n.rangeCount;S++)p.push(n.getRangeAt(S));switch(v.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":v.blur();break;default:v=null;break}return n.removeAllRanges(),function(){n.type==="Caret"&&n.removeAllRanges(),n.rangeCount||p.forEach(function(m){n.addRange(m)}),v&&v.focus()}}},ELLl:function(M,N,n){(function(v){v(n("VrN/"))})(function(v){var p={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},S=v.Pos;v.defineOption("autoCloseBrackets",!1,function(r,s,u){u&&u!=v.Init&&(r.removeKeyMap(g),r.state.closeBrackets=null),s&&(f(m(s,"pairs")),r.state.closeBrackets=s,r.addKeyMap(g))});function m(r,s){return s=="pairs"&&typeof r=="string"?r:typeof r=="object"&&r[s]!=null?r[s]:p[s]}var g={Backspace:o,Enter:i};function f(r){for(var s=0;s<r.length;s++){var u=r.charAt(s),h="'"+u+"'";g[h]||(g[h]=d(u))}}f(p.pairs+"`");function d(r){return function(s){return a(s,r)}}function c(r){var s=r.state.closeBrackets;if(!s||s.override)return s;var u=r.getModeAt(r.getCursor());return u.closeBrackets||s}function o(r){var s=c(r);if(!s||r.getOption("disableInput"))return v.Pass;for(var u=m(s,"pairs"),h=r.listSelections(),A=0;A<h.length;A++){if(!h[A].empty())return v.Pass;var y=e(r,h[A].head);if(!y||u.indexOf(y)%2!=0)return v.Pass}for(var A=h.length-1;A>=0;A--){var w=h[A].head;r.replaceRange("",S(w.line,w.ch-1),S(w.line,w.ch+1),"+delete")}}function i(r){var s=c(r),u=s&&m(s,"explode");if(!u||r.getOption("disableInput"))return v.Pass;for(var h=r.listSelections(),A=0;A<h.length;A++){if(!h[A].empty())return v.Pass;var y=e(r,h[A].head);if(!y||u.indexOf(y)%2!=0)return v.Pass}r.operation(function(){var w=r.lineSeparator()||`
`;r.replaceSelection(w+w,null),r.execCommand("goCharLeft"),h=r.listSelections();for(var b=0;b<h.length;b++){var x=h[b].head.line;r.indentLine(x,null,!0),r.indentLine(x+1,null,!0)}})}function t(r){var s=v.cmpPos(r.anchor,r.head)>0;return{anchor:new S(r.anchor.line,r.anchor.ch+(s?-1:1)),head:new S(r.head.line,r.head.ch+(s?1:-1))}}function a(r,s){var u=c(r);if(!u||r.getOption("disableInput"))return v.Pass;var h=m(u,"pairs"),A=h.indexOf(s);if(A==-1)return v.Pass;for(var y=m(u,"closeBefore"),w=m(u,"triples"),b=h.charAt(A+1)==s,x=r.listSelections(),O=A%2==0,T,E=0;E<x.length;E++){var C=x[E],_=C.head,L,P=r.getRange(_,S(_.line,_.ch+1));if(O&&!C.empty())L="surround";else if((b||!O)&&P==s)b&&l(r,_)?L="both":w.indexOf(s)>=0&&r.getRange(_,S(_.line,_.ch+3))==s+s+s?L="skipThree":L="skip";else if(b&&_.ch>1&&w.indexOf(s)>=0&&r.getRange(S(_.line,_.ch-2),_)==s+s){if(_.ch>2&&/\bstring/.test(r.getTokenTypeAt(S(_.line,_.ch-2))))return v.Pass;L="addFour"}else if(b){var k=_.ch==0?" ":r.getRange(S(_.line,_.ch-1),_);if(!v.isWordChar(P)&&k!=s&&!v.isWordChar(k))L="both";else return v.Pass}else if(O&&(P.length===0||/\s/.test(P)||y.indexOf(P)>-1))L="both";else return v.Pass;if(!T)T=L;else if(T!=L)return v.Pass}var F=A%2?h.charAt(A-1):s,j=A%2?s:h.charAt(A+1);r.operation(function(){if(T=="skip")r.execCommand("goCharRight");else if(T=="skipThree")for(var z=0;z<3;z++)r.execCommand("goCharRight");else if(T=="surround"){for(var R=r.getSelections(),z=0;z<R.length;z++)R[z]=F+R[z]+j;r.replaceSelections(R,"around"),R=r.listSelections().slice();for(var z=0;z<R.length;z++)R[z]=t(R[z]);r.setSelections(R)}else T=="both"?(r.replaceSelection(F+j,null),r.triggerElectric(F+j),r.execCommand("goCharLeft")):T=="addFour"&&(r.replaceSelection(F+F+F+F,"before"),r.execCommand("goCharRight"))})}function e(r,s){var u=r.getRange(S(s.line,s.ch-1),S(s.line,s.ch+1));return u.length==2?u:null}function l(r,s){var u=r.getTokenAt(S(s.line,s.ch+1));return/\bstring/.test(u.type)&&u.start==s.ch&&(s.ch==0||!/\bstring/.test(r.getTokenTypeAt(s)))}})},EMyp:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("mFDi"),m=n("K4ya"),g=n("qJCg"),f=n("iLNv"),d=n("vZ6x"),c=["inBrush","outOfBrush"],o="__ecBrushSelect",i="__ecInBrushSelectEvent",t=v.PRIORITY.VISUAL.BRUSH;v.registerLayout(t,function(w,b,x){w.eachComponent({mainType:"brush"},function(O){x&&x.type==="takeGlobalCursor"&&O.setBrushOption(x.key==="brush"?x.brushOption:{brushType:!1})}),a(w)});function a(w){w.eachComponent({mainType:"brush"},function(b){var x=b.brushTargetManager=new d(b.option,w);x.setInputRanges(b.areas,w)})}v.registerVisual(t,function(w,b,x){var O=[],T,E;w.eachComponent({mainType:"brush"},function(C,_){var L={brushId:C.id,brushIndex:_,brushName:C.name,areas:p.clone(C.areas),selected:[]};O.push(L);var P=C.option,k=P.brushLink,F=[],j=[],z=[],R=0;_||(T=P.throttleType,E=P.throttleDelay);var U=p.map(C.areas,function(G){return h(p.defaults({boundingRect:A[G.brushType](G)},G))}),B=m.createVisualMappings(C.option,c,function(G){G.mappingMethod="fixed"});p.isArray(k)&&p.each(k,function(G){F[G]=1});function H(G){return k==="all"||F[G]}function K(G){return!!G.length}w.eachSeries(function(G,re){var ye=z[re]=[];G.subType==="parallel"?V(G,re,ye):W(G,re,ye)});function V(G,re){var ye=G.coordinateSystem;R|=ye.hasAxisBrushed(),H(re)&&ye.eachActiveState(G.getData(),function($,ve){$==="active"&&(j[ve]=1)})}function W(G,re,ye){var $=s(G);if(!$||u(C,re))return;if(p.each(U,function(Ce){$[Ce.brushType]&&C.brushTargetManager.controlSeries(Ce,G,w)&&ye.push(Ce),R|=K(ye)}),H(re)&&K(ye)){var ve=G.getData();ve.each(function(Ce){r($,ye,ve,Ce)&&(j[Ce]=1)})}}w.eachSeries(function(G,re){var ye={seriesId:G.id,seriesIndex:re,seriesName:G.name,dataIndex:[]};L.selected.push(ye);var $=s(G),ve=z[re],Ce=G.getData(),Se=H(re)?function(Ke){return j[Ke]?(ye.dataIndex.push(Ce.getRawIndex(Ke)),"inBrush"):"outOfBrush"}:function(Ke){return r($,ve,Ce,Ke)?(ye.dataIndex.push(Ce.getRawIndex(Ke)),"inBrush"):"outOfBrush"};(H(re)?R:K(ve))&&m.applyVisual(c,B,Ce,Se)})}),e(b,T,E,O,x)});function e(w,b,x,O,T){if(!T)return;var E=w.getZr();if(E[i])return;E[o]||(E[o]=l);var C=f.createOrUpdate(E,o,x,b);C(w,O)}function l(w,b){if(!w.isDisposed()){var x=w.getZr();x[i]=!0,w.dispatchAction({type:"brushSelect",batch:b}),x[i]=!1}}function r(w,b,x,O){for(var T=0,E=b.length;T<E;T++){var C=b[T];if(w[C.brushType](O,x,C.selectors,C))return!0}}function s(w){var b=w.brushSelector;if(p.isString(b)){var x=[];return p.each(g,function(T,E){x[E]=function(C,_,L,P){var k=_.getItemLayout(C);return T[b](k,L,P)}}),x}else if(p.isFunction(b)){var O={};return p.each(g,function(T,E){O[E]=b}),O}return b}function u(w,b){var x=w.option.seriesIndex;return x!=null&&x!=="all"&&(p.isArray(x)?p.indexOf(x,b)<0:b!==x)}function h(w){var b=w.selectors={};return p.each(g[w.brushType],function(x,O){b[O]=function(T){return x(T,b,w)}}),w}var A={lineX:p.noop,lineY:p.noop,rect:function(w){return y(w.range)},polygon:function(w){for(var b,x=w.range,O=0,T=x.length;O<T;O++){b=b||[[Infinity,-Infinity],[Infinity,-Infinity]];var E=x[O];E[0]<b[0][0]&&(b[0][0]=E[0]),E[0]>b[0][1]&&(b[0][1]=E[0]),E[1]<b[1][0]&&(b[1][0]=E[1]),E[1]>b[1][1]&&(b[1][1]=E[1])}return b&&y(b)}};function y(w){return new S(w[0][0],w[1][0],w[0][1]-w[0][0],w[1][1]-w[1][0])}N.layoutCovers=a},ERHi:function(M,N,n){var v=n("ProS");n("Z6js"),n("R4Th");var p=n("f5Yq"),S=n("h8O9");v.registerVisual(p("effectScatter","circle")),v.registerLayout(S("effectScatter"))},EXcs:function(M,N,n){"use strict";var v=function(){return{height:0,opacity:0}},p=function(d){return{height:d.scrollHeight,opacity:1}},S=function(d){return{height:d.offsetHeight}},m=function(d,c){return c.propertyName==="height"},g={motionName:"ant-motion-collapse",onAppearStart:v,onEnterStart:v,onAppearActive:p,onEnterActive:p,onLeaveStart:S,onLeaveActive:v,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};N.a=g},Em2t:function(M,N,n){var v=n("bahg"),p=n("quyA"),S=n("0JQy");function m(g){return p(g)?S(g):v(g)}M.exports=m},Ez2D:function(M,N,n){var v=n("bYtY"),p=n("4NO4");function S(m,g){var f=[],d=m.seriesIndex,c;if(d==null||!(c=g.getSeriesByIndex(d)))return{point:[]};var o=c.getData(),i=p.queryDataIndex(o,m);if(i==null||i<0||v.isArray(i))return{point:[]};var t=o.getItemGraphicEl(i),a=c.coordinateSystem;if(c.getTooltipPosition)f=c.getTooltipPosition(i)||[];else if(a&&a.dataToPoint)f=a.dataToPoint(o.getValues(v.map(a.dimensions,function(l){return o.mapDimension(l)}),i,!0))||[];else if(t){var e=t.getBoundingRect().clone();e.applyTransform(t.transform),f=[e.x+e.width/2,e.y+e.height/2]}return{point:f,el:t}}M.exports=S},F0hE:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("ca2m"),m=n("Qxkt"),g=n("ICMv"),f=S.valueAxis;function d(i,t){return p.defaults({show:t},i)}var c=v.extendComponentModel({type:"radar",optionUpdated:function(){var i=this.get("boundaryGap"),t=this.get("splitNumber"),a=this.get("scale"),e=this.get("axisLine"),l=this.get("axisTick"),r=this.get("axisType"),s=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),A=this.get("name.formatter"),y=this.get("nameGap"),w=this.get("triggerEvent"),b=p.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=u;if(x.color!=null&&(O=p.defaults({color:x.color},u)),x=p.merge(p.clone(x),{boundaryGap:i,splitNumber:t,scale:a,axisLine:e,axisTick:l,axisType:r,axisLabel:s,name:x.text,nameLocation:"end",nameGap:y,nameTextStyle:O,triggerEvent:w},!1),h||(x.name=""),typeof A=="string"){var T=x.name;x.name=A.replace("{value}",T!=null?T:"")}else typeof A=="function"&&(x.name=A(x.name,x));var E=p.extend(new m(x,null,this.ecModel),g);return E.mainType="radar",E.componentIndex=this.componentIndex,E},this);this.getIndicatorModels=function(){return b}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:p.merge({lineStyle:{color:"#bbb"}},f.axisLine),axisLabel:d(f.axisLabel,!1),axisTick:d(f.axisTick,!1),axisType:"interval",splitLine:d(f.splitLine,!0),splitArea:d(f.splitArea,!0),indicator:[]}}),o=c;M.exports=o},F5Ls:function(M,N){var n={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function v(p,S){if(p==="china"){var m=n[S.name];if(m){var g=S.center;g[0]+=m[0]/10.5,g[1]+=-m[1]/(10.5/.75)}}}M.exports=v},F7hV:function(M,N,n){var v=n("MBQ8"),p=v.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var S=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>S&&(S=m),S},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});M.exports=p},F9bG:function(M,N,n){var v=n("bYtY"),p=n("ItGF"),S=n("4NO4"),m=S.makeInner,g=m(),f=v.each;function d(l,r,s){if(p.node)return;var u=r.getZr();g(u).records||(g(u).records={}),c(u,r);var h=g(u).records[l]||(g(u).records[l]={});h.handler=s}function c(l,r){if(g(l).initialized)return;g(l).initialized=!0,s("click",v.curry(t,"click")),s("mousemove",v.curry(t,"mousemove")),s("globalout",i);function s(u,h){l.on(u,function(A){var y=a(r);f(g(l).records,function(w){w&&h(w,A,y.dispatchAction)}),o(y.pendings,r)})}}function o(l,r){var s=l.showTip.length,u=l.hideTip.length,h;s?h=l.showTip[s-1]:u&&(h=l.hideTip[u-1]),h&&(h.dispatchAction=null,r.dispatchAction(h))}function i(l,r,s){l.handler("leave",null,s)}function t(l,r,s,u){r.handler(l,s,u)}function a(l){var r={showTip:[],hideTip:[]},s=function(u){var h=r[u.type];h?h.push(u):(u.dispatchAction=s,l.dispatchAction(u))};return{dispatchAction:s,pendings:r}}function e(l,r){if(p.node)return;var s=r.getZr(),u=(g(s).records||{})[l];u&&(g(s).records[l]=null)}N.register=d,N.unregister=e},FBjb:function(M,N,n){var v=n("bYtY"),p=n("oVpE"),S=p.createSymbol,m=n("IwbS"),g=n("OELB"),f=g.parsePercent,d=n("x3X8"),c=d.getDefaultLabel;function o(y,w,b){m.Group.call(this),this.updateData(y,w,b)}var i=o.prototype,t=o.getSymbolSize=function(y,w){var b=y.getItemVisual(w,"symbolSize");return b instanceof Array?b.slice():[+b,+b]};function a(y){return[y[0]/2,y[1]/2]}function e(y,w){this.parent.drift(y,w)}i._createSymbol=function(y,w,b,x,O){this.removeAll();var T=w.getItemVisual(b,"color"),E=S(y,-1,-1,2,2,T,O);E.attr({z2:100,culling:!0,scale:a(x)}),E.drift=e,this._symbolType=y,this.add(E)},i.stopSymbolAnimation=function(y){this.childAt(0).stopAnimation(y)},i.getSymbolPath=function(){return this.childAt(0)},i.getScale=function(){return this.childAt(0).scale},i.highlight=function(){this.childAt(0).trigger("emphasis")},i.downplay=function(){this.childAt(0).trigger("normal")},i.setZ=function(y,w){var b=this.childAt(0);b.zlevel=y,b.z=w},i.setDraggable=function(y){var w=this.childAt(0);w.draggable=y,w.cursor=y?"move":w.cursor},i.updateData=function(y,w,b){this.silent=!1;var x=y.getItemVisual(w,"symbol")||"circle",O=y.hostModel,T=t(y,w),E=x!==this._symbolType;if(E){var C=y.getItemVisual(w,"symbolKeepAspect");this._createSymbol(x,y,w,T,C)}else{var _=this.childAt(0);_.silent=!1,m.updateProps(_,{scale:a(T)},O,w)}if(this._updateCommon(y,w,T,b),E){var _=this.childAt(0),L=b&&b.fadeIn,P={scale:_.scale.slice()};L&&(P.style={opacity:_.style.opacity}),_.scale=[0,0],L&&(_.style.opacity=0),m.initProps(_,P,O,w)}this._seriesModel=O};var l=["itemStyle"],r=["emphasis","itemStyle"],s=["label"],u=["emphasis","label"];i._updateCommon=function(y,w,b,x){var O=this.childAt(0),T=y.hostModel,E=y.getItemVisual(w,"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,_=x&&x.hoverItemStyle,L=x&&x.symbolOffset,P=x&&x.labelModel,k=x&&x.hoverLabelModel,F=x&&x.hoverAnimation,j=x&&x.cursorStyle;if(!x||y.hasItemOption){var z=x&&x.itemModel?x.itemModel:y.getItemModel(w);C=z.getModel(l).getItemStyle(["color"]),_=z.getModel(r).getItemStyle(),L=z.getShallow("symbolOffset"),P=z.getModel(s),k=z.getModel(u),F=z.getShallow("hoverAnimation"),j=z.getShallow("cursor")}else _=v.extend({},_);var R=O.style,U=y.getItemVisual(w,"symbolRotate");O.attr("rotation",(U||0)*Math.PI/180||0),L&&O.attr("position",[f(L[0],b[0]),f(L[1],b[1])]),j&&O.attr("cursor",j),O.setColor(E,x&&x.symbolInnerColor),O.setStyle(C);var B=y.getItemVisual(w,"opacity");B!=null&&(R.opacity=B);var H=y.getItemVisual(w,"liftZ"),K=O.__z2Origin;H!=null?K==null&&(O.__z2Origin=O.z2,O.z2+=H):K!=null&&(O.z2=K,O.__z2Origin=null);var V=x&&x.useNameLabel;m.setLabelStyle(R,_,P,k,{labelFetcher:T,labelDataIndex:w,defaultText:W,isRectText:!0,autoColor:E});function W(G,re){return V?y.getName(G):c(y,G)}O.__symbolOriginalScale=a(b),O.hoverStyle=_,O.highDownOnUpdate=F&&T.isAnimationEnabled()?h:null,m.setHoverStyle(O)};function h(y,w){if(this.incremental||this.useHoverLayer)return;if(w==="emphasis"){var b=this.__symbolOriginalScale,x=b[1]/b[0],O={scale:[Math.max(b[0]*1.1,b[0]+3),Math.max(b[1]*1.1,b[1]+3*x)]};this.animateTo(O,400,"elasticOut")}else w==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}i.fadeOut=function(y,w){var b=this.childAt(0);this.silent=b.silent=!0,!(w&&w.keepLabel)&&(b.style.text=null),m.updateProps(b,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,y)},v.inherits(o,m.Group);var A=o;M.exports=A},FGaS:function(M,N,n){var v=n("ProS"),p=n("IwbS"),S=n("bYtY"),m=n("oVpE");function g(d){return S.isArray(d)||(d=[+d,+d]),d}var f=v.extendChartView({type:"radar",render:function(d,c,o){var i=d.coordinateSystem,t=this.group,a=d.getData(),e=this._data;function l(u,h){var A=u.getItemVisual(h,"symbol")||"circle",y=u.getItemVisual(h,"color");if(A==="none")return;var w=g(u.getItemVisual(h,"symbolSize")),b=m.createSymbol(A,-1,-1,2,2,y);return b.attr({style:{strokeNoScale:!0},z2:100,scale:[w[0]/2,w[1]/2]}),b}function r(u,h,A,y,w,b){A.removeAll();for(var x=0;x<h.length-1;x++){var O=l(y,w);O&&(O.__dimIdx=x,u[x]?(O.attr("position",u[x]),p[b?"initProps":"updateProps"](O,{position:h[x]},d,w)):O.attr("position",h[x]),A.add(O))}}function s(u){return S.map(u,function(h){return[i.cx,i.cy]})}a.diff(e).add(function(u){var h=a.getItemLayout(u);if(!h)return;var A=new p.Polygon,y=new p.Polyline,w={shape:{points:h}};A.shape.points=s(h),y.shape.points=s(h),p.initProps(A,w,d,u),p.initProps(y,w,d,u);var b=new p.Group,x=new p.Group;b.add(y),b.add(A),b.add(x),r(y.shape.points,h,x,a,u,!0),a.setItemGraphicEl(u,b)}).update(function(u,h){var A=e.getItemGraphicEl(h),y=A.childAt(0),w=A.childAt(1),b=A.childAt(2),x={shape:{points:a.getItemLayout(u)}};if(!x.shape.points)return;r(y.shape.points,x.shape.points,b,a,u,!1),p.updateProps(y,x,d),p.updateProps(w,x,d),a.setItemGraphicEl(u,A)}).remove(function(u){t.remove(e.getItemGraphicEl(u))}).execute(),a.eachItemGraphicEl(function(u,h){var A=a.getItemModel(h),y=u.childAt(0),w=u.childAt(1),b=u.childAt(2),x=a.getItemVisual(h,"color");t.add(u),y.useStyle(S.defaults(A.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:x})),y.hoverStyle=A.getModel("emphasis.lineStyle").getLineStyle();var O=A.getModel("areaStyle"),T=A.getModel("emphasis.areaStyle"),E=O.isEmpty()&&O.parentModel.isEmpty(),C=T.isEmpty()&&T.parentModel.isEmpty();C=C&&E,w.ignore=E,w.useStyle(S.defaults(O.getAreaStyle(),{fill:x,opacity:.7})),w.hoverStyle=T.getAreaStyle();var _=A.getModel("itemStyle").getItemStyle(["color"]),L=A.getModel("emphasis.itemStyle").getItemStyle(),P=A.getModel("label"),k=A.getModel("emphasis.label");b.eachChild(function(F){F.setStyle(_),F.hoverStyle=S.clone(L);var j=a.get(a.dimensions[F.__dimIdx],h);(j==null||isNaN(j))&&(j=""),p.setLabelStyle(F.style,F.hoverStyle,P,k,{labelFetcher:a.hostModel,labelDataIndex:h,labelDimIndex:F.__dimIdx,defaultText:j,autoColor:x,isRectText:!0})}),u.highDownOnUpdate=function(F,j){w.attr("ignore",j==="emphasis"?C:E)},p.setHoverStyle(u)}),this._data=a},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});M.exports=f},FH2Y:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("ZMnZ"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},FIfw:function(M,N,n){},FNN5:function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("+rIm"),m=n("Znkb"),g=["axisLine","axisTickLabel","axisName"],f=["splitLine","splitArea","minorSplitLine"],d=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(o,i){if(this.group.removeAll(),!o.get("show"))return;var t=o.axis,a=t.polar,e=a.getAngleAxis(),l=t.getTicksCoords(),r=t.getMinorTicksCoords(),s=e.getExtent()[0],u=t.getExtent(),h=c(a,o,s),A=new S(o,h);v.each(g,A.add,A),this.group.add(A.getGroup()),v.each(f,function(y){o.get(y+".show")&&!t.scale.isBlank()&&this["_"+y](o,a,s,u,l,r)},this)},_splitLine:function(o,i,t,a,e){var l=o.getModel("splitLine"),r=l.getModel("lineStyle"),s=r.get("color"),u=0;s=s instanceof Array?s:[s];for(var h=[],A=0;A<e.length;A++){var y=u++%s.length;h[y]=h[y]||[],h[y].push(new p.Circle({shape:{cx:i.cx,cy:i.cy,r:e[A].coord}}))}for(var A=0;A<h.length;A++)this.group.add(p.mergePath(h[A],{style:v.defaults({stroke:s[A%s.length],fill:null},r.getLineStyle()),silent:!0}))},_minorSplitLine:function(o,i,t,a,e,l){if(!l.length)return;for(var r=o.getModel("minorSplitLine"),s=r.getModel("lineStyle"),u=[],h=0;h<l.length;h++)for(var A=0;A<l[h].length;A++)u.push(new p.Circle({shape:{cx:i.cx,cy:i.cy,r:l[h][A].coord}}));this.group.add(p.mergePath(u,{style:v.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(o,i,t,a,e){if(!e.length)return;var l=o.getModel("splitArea"),r=l.getModel("areaStyle"),s=r.get("color"),u=0;s=s instanceof Array?s:[s];for(var h=[],A=e[0].coord,y=1;y<e.length;y++){var w=u++%s.length;h[w]=h[w]||[],h[w].push(new p.Sector({shape:{cx:i.cx,cy:i.cy,r0:A,r:e[y].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),A=e[y].coord}for(var y=0;y<h.length;y++)this.group.add(p.mergePath(h[y],{style:v.defaults({fill:s[y%s.length]},r.getAreaStyle()),silent:!0}))}});function c(o,i,t){return{position:[o.cx,o.cy],rotation:t/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:i.getModel("axisLabel").get("rotate"),z2:1}}M.exports=d},FTAc:function(M,N,n){"use strict";n.d(N,"a",function(){return S});var v=n("q1tI"),p=n.n(v),S=v.createContext(null)},FUi9:function(M,N,n){var v=n("bYtY"),p=n("MwEJ"),S=n("aX7z"),m=n("ICMv"),g=n("Qxkt"),f=n("+TT/"),d=f.getLayoutRect;N.getLayoutRect=f.getLayoutRect;var c=n("7hqr"),o=c.enableDataStack,i=c.isDimensionStacked,t=c.getStackedDimension,a=n("hi0g");N.completeDimensions=a;var e=n("sdST");N.createDimensions=e;var l=n("oVpE");N.createSymbol=l.createSymbol;function r(A){return p(A.getSource(),A)}var s={isDimensionStacked:i,enableDataStack:o,getStackedDimension:t};function u(A,y){var w=y;g.isInstance(y)||(w=new g(y),v.mixin(w,m));var b=S.createScaleByModel(w);return b.setExtent(A[0],A[1]),S.niceScaleExtent(b,w),b}function h(A){v.mixin(A,m)}N.createList=r,N.dataStack=s,N.createScale=u,N.mixinAxisModelCommonMethods=h},"Fa/5":function(M,N,n){var v=n("ProS");n("y2l5"),n("q/+u");var p=n("f5Yq"),S=n("h8O9");n("Ae16"),v.registerVisual(p("scatter","circle")),v.registerLayout(S("scatter"))},FhB9:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};N.default=v},"Fm1+":function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("a7Wl")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="CaretUpOutlined";var i=m.forwardRef(o);N.default=i},Fofx:function(M,N){var n=typeof Float32Array=="undefined"?Array:Float32Array;function v(){var i=new n(6);return p(i),i}function p(i){return i[0]=1,i[1]=0,i[2]=0,i[3]=1,i[4]=0,i[5]=0,i}function S(i,t){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i[3]=t[3],i[4]=t[4],i[5]=t[5],i}function m(i,t,a){var e=t[0]*a[0]+t[2]*a[1],l=t[1]*a[0]+t[3]*a[1],r=t[0]*a[2]+t[2]*a[3],s=t[1]*a[2]+t[3]*a[3],u=t[0]*a[4]+t[2]*a[5]+t[4],h=t[1]*a[4]+t[3]*a[5]+t[5];return i[0]=e,i[1]=l,i[2]=r,i[3]=s,i[4]=u,i[5]=h,i}function g(i,t,a){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i[3]=t[3],i[4]=t[4]+a[0],i[5]=t[5]+a[1],i}function f(i,t,a){var e=t[0],l=t[2],r=t[4],s=t[1],u=t[3],h=t[5],A=Math.sin(a),y=Math.cos(a);return i[0]=e*y+s*A,i[1]=-e*A+s*y,i[2]=l*y+u*A,i[3]=-l*A+y*u,i[4]=y*r+A*h,i[5]=y*h-A*r,i}function d(i,t,a){var e=a[0],l=a[1];return i[0]=t[0]*e,i[1]=t[1]*l,i[2]=t[2]*e,i[3]=t[3]*l,i[4]=t[4]*e,i[5]=t[5]*l,i}function c(i,t){var a=t[0],e=t[2],l=t[4],r=t[1],s=t[3],u=t[5],h=a*s-r*e;return h?(h=1/h,i[0]=s*h,i[1]=-r*h,i[2]=-e*h,i[3]=a*h,i[4]=(e*u-s*l)*h,i[5]=(r*l-a*u)*h,i):null}function o(i){var t=v();return S(t,i),t}N.create=v,N.identity=p,N.copy=S,N.mul=m,N.translate=g,N.rotate=f,N.scale=d,N.invert=c,N.clone=o},Fv0C:function(M,N,n){"use strict";function v(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(s){return typeof s}:v=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},v(l)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=o(n("Lo0S")),S=n("vewr"),m=o(n("8CQX")),g=d(n("mHUz")),f=o(n("GdRQ"));function d(l){return l&&l.__esModule?l:{default:l}}function c(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return c=function(){return l},l}function o(l){if(l&&l.__esModule)return l;if(l===null||v(l)!=="object"&&typeof l!="function")return{default:l};var r=c();if(r&&r.has(l))return r.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var A=u?Object.getOwnPropertyDescriptor(l,h):null;A&&(A.get||A.set)?Object.defineProperty(s,h,A):s[h]=l[h]}return s.default=l,r&&r.set(l,s),s}function i(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function t(l,r){for(var s=0;s<r.length;s++){var u=r[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(l,u.key,u)}}function a(l,r,s){return r&&t(l.prototype,r),s&&t(l,s),l}var e=function(){function l(r){i(this,l),this._target=r||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return a(l,[{key:"_sendKeyEvent",value:function(s,u,h){if(h)this._keyDownList[u]=s;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}p.Debug("onkeyevent "+(h?"down":"up")+", keysym: "+s,", code: "+u),this.onkeyevent(s,u,h)}},{key:"_getKeyCode",value:function(s){var u=m.getKeycode(s);if(u!=="Unidentified")return u;if(s.keyCode&&s.type!=="keypress"&&s.keyCode!==229)return"Platform"+s.keyCode;if(s.keyIdentifier){if(s.keyIdentifier.substr(0,2)!=="U+")return s.keyIdentifier;var h=parseInt(s.keyIdentifier.substr(2),16),A=String.fromCharCode(h).toUpperCase();return"Platform"+A.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var u=this._getKeyCode(s),h=m.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?h=g.default.XK_ISO_Level3_Shift:this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){h&&(this._sendKeyEvent(h,u,!0),this._sendKeyEvent(h,u,!1)),(0,S.stopEvent)(s);return}if(f.isMac()||f.isIOS())switch(h){case g.default.XK_Super_L:h=g.default.XK_Alt_L;break;case g.default.XK_Super_R:h=g.default.XK_Super_L;break;case g.default.XK_Alt_L:h=g.default.XK_Mode_switch;break;case g.default.XK_Alt_R:h=g.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(h=this._keyDownList[u]),(f.isMac()||f.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1),(0,S.stopEvent)(s);return}if(!h&&(!s.key||f.isIE()||f.isEdge())){this._pendingKey=u,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,S.stopEvent)(s),u==="ControlLeft"&&f.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=s.timeStamp;return}this._sendKeyEvent(h,u,!0)}},{key:"_handleKeyPress",value:function(s){if((0,S.stopEvent)(s),this._pendingKey===null)return;var u=this._getKeyCode(s),h=m.getKeysym(s);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!h){p.Info("keypress with no keysym:",s);return}this._sendKeyEvent(h,u,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var u,h=this._pendingKey;if(this._pendingKey=null,s.keyCode>=48&&s.keyCode<=57)u=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var A=String.fromCharCode(s.keyCode);s.shiftKey?A=A.toUpperCase():A=A.toLowerCase(),u=A.charCodeAt()}else u=0;this._sendKeyEvent(u,h,!0)}},{key:"_handleKeyUp",value:function(s){(0,S.stopEvent)(s);var u=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),(f.isMac()||f.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[u],u,!1),f.isWindows()&&(u==="ShiftLeft"||u==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){p.Debug(">> Keyboard.allKeysUp");for(var s in this._keyDownList)this._sendKeyEvent(this._keyDownList[s],s,!1);p.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(s){if(s.skipCheckAlt)return;if(s.altKey)return;var u=this._target,h=this._keyDownList;["AltLeft","AltRight"].forEach(function(A){if(!(A in h))return;var y=new KeyboardEvent("keyup",{key:h[A],code:A});y.skipCheckAlt=!0,u.dispatchEvent(y)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),f.isWindows()&&f.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.addEventListener(u,s,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(f.isWindows()&&f.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.removeEventListener(u,s)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),l}();N.default=e},FxDU:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var v=n("QO+J"),p=n("j5sG"),S=typeof ResizeObserver!="undefined"?p.createSensor:v.createSensor;N.createSensor=S},GGyF:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("wgjA")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="LeftOutlined";var i=m.forwardRef(o);N.default=i},GIiI:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="PoweroffOutlined";var d=N.a=p.forwardRef(f)},GMDS:function(M,N,n){var v=n("bYtY"),p=n("4NgU"),S=n("jkPA"),m=p.prototype,g=p.extend({type:"ordinal",init:function(d,c){(!d||v.isArray(d))&&(d=new S({categories:d})),this._ordinalMeta=d,this._extent=c||[0,d.categories.length-1]},parse:function(d){return typeof d=="string"?this._ordinalMeta.getOrdinal(d):Math.round(d)},contain:function(d){return d=this.parse(d),m.contain.call(this,d)&&this._ordinalMeta.categories[d]!=null},normalize:function(d){return m.normalize.call(this,this.parse(d))},scale:function(d){return Math.round(m.scale.call(this,d))},getTicks:function(){for(var d=[],c=this._extent,o=c[0];o<=c[1];)d.push(o),o++;return d},getLabel:function(d){if(!this.isBlank())return this._ordinalMeta.categories[d]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(d,c){this.unionExtent(d.getApproximateExtent(c))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:v.noop,niceExtent:v.noop});g.create=function(){return new g};var f=g;M.exports=f},GQ8N:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.toUnsigned32bit=v,N.toSigned32bit=p;function v(S){return S>>>0}function p(S){return S|0}},GUcZ:function(M,N,n){"use strict";var v=n("fWQN"),p=n("mtLc"),S=function(){function jt(){Object(v.a)(this,jt)}return Object(p.a)(jt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(xe,we){return xe.__proto__=we,xe},Object.assign=Object.assign||function(xe){if(xe==null)throw new TypeError("Cannot convert undefined or null to object");for(var we=Object(xe),Ee=1;Ee<arguments.length;Ee++){var Ge=arguments[Ee];if(Ge!=null)for(var nt in Ge)Ge.hasOwnProperty(nt)&&(we[nt]=Ge[nt])}return we},typeof self.Promise!="function"&&n("E2g8").polyfill()}}]),jt}();S.install();var m=S,g=n("+qE3"),f=n.n(g),d=function(){function jt(){Object(v.a)(this,jt)}return Object(p.a)(jt,null,[{key:"e",value:function(xe,we){(!xe||jt.FORCE_GLOBAL_TAG)&&(xe=jt.GLOBAL_TAG);var Ee="[".concat(xe,"] > ").concat(we);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","error",Ee),!jt.ENABLE_ERROR)return;console.error?console.error(Ee):console.warn?console.warn(Ee):console.log(Ee)}},{key:"i",value:function(xe,we){(!xe||jt.FORCE_GLOBAL_TAG)&&(xe=jt.GLOBAL_TAG);var Ee="[".concat(xe,"] > ").concat(we);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","info",Ee),!jt.ENABLE_INFO)return;console.info?console.info(Ee):console.log(Ee)}},{key:"w",value:function(xe,we){(!xe||jt.FORCE_GLOBAL_TAG)&&(xe=jt.GLOBAL_TAG);var Ee="[".concat(xe,"] > ").concat(we);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","warn",Ee),!jt.ENABLE_WARN)return;console.warn?console.warn(Ee):console.log(Ee)}},{key:"d",value:function(xe,we){(!xe||jt.FORCE_GLOBAL_TAG)&&(xe=jt.GLOBAL_TAG);var Ee="[".concat(xe,"] > ").concat(we);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","debug",Ee),!jt.ENABLE_DEBUG)return;console.debug?console.debug(Ee):console.log(Ee)}},{key:"v",value:function(xe,we){(!xe||jt.FORCE_GLOBAL_TAG)&&(xe=jt.GLOBAL_TAG);var Ee="[".concat(xe,"] > ").concat(we);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","verbose",Ee),!jt.ENABLE_VERBOSE)return;console.log(Ee)}}]),jt}();d.GLOBAL_TAG="flv.js",d.FORCE_GLOBAL_TAG=!1,d.ENABLE_ERROR=!0,d.ENABLE_INFO=!0,d.ENABLE_WARN=!0,d.ENABLE_DEBUG=!0,d.ENABLE_VERBOSE=!0,d.ENABLE_CALLBACK=!1,d.emitter=new f.a;var c=d,o=function(){function jt(){Object(v.a)(this,jt),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(p.a)(jt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(xe){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=xe,this._totalBytes+=xe):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=xe,this._totalBytes+=xe):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=xe,this._totalBytes+=xe,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var xe=(this._now()-this._lastCheckpoint)/1e3;return xe==0&&(xe=1),this._intervalBytes/xe/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 xe=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/xe/1024}}]),jt}(),i=o,t=n("yKVA"),a=n("879j"),e=function(){function jt(At){Object(v.a)(this,jt),this._message=At}return Object(p.a)(jt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),jt}(),l=function(jt){Object(t.a)(xe,jt);var At=Object(a.a)(xe);function xe(we){return Object(v.a)(this,xe),At.call(this,we)}return Object(p.a)(xe,[{key:"name",get:function(){return"IllegalStateException"}}]),xe}(e),r=function(jt){Object(t.a)(xe,jt);var At=Object(a.a)(xe);function xe(we){return Object(v.a)(this,xe),At.call(this,we)}return Object(p.a)(xe,[{key:"name",get:function(){return"InvalidArgumentException"}}]),xe}(e),s=function(jt){Object(t.a)(xe,jt);var At=Object(a.a)(xe);function xe(we){return Object(v.a)(this,xe),At.call(this,we)}return Object(p.a)(xe,[{key:"name",get:function(){return"NotImplementedException"}}]),xe}(e),u={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},h={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},A=function(){function jt(At){Object(v.a)(this,jt),this._type=At||"undefined",this._status=u.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(p.a)(jt,[{key:"destroy",value:function(){this._status=u.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===u.kConnecting||this._status===u.kBuffering}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(xe){this._onContentLengthKnown=xe}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(xe){this._onURLRedirect=xe}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(xe){this._onDataArrival=xe}},{key:"onError",get:function(){return this._onError},set:function(xe){this._onError=xe}},{key:"onComplete",get:function(){return this._onComplete},set:function(xe){this._onComplete=xe}},{key:"open",value:function(xe,we){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}}]),jt}(),y=n("w4Tj"),w=n("oZsa"),b={};function x(){var jt=self.navigator.userAgent.toLowerCase(),At=/(edge)\/([\w.]+)/.exec(jt)||/(opr)[\/]([\w.]+)/.exec(jt)||/(chrome)[ \/]([\w.]+)/.exec(jt)||/(iemobile)[\/]([\w.]+)/.exec(jt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(jt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(jt)||/(webkit)[ \/]([\w.]+)/.exec(jt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(jt)||/(msie) ([\w.]+)/.exec(jt)||jt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(jt)||jt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(jt)||[],xe=/(ipad)/.exec(jt)||/(ipod)/.exec(jt)||/(windows phone)/.exec(jt)||/(iphone)/.exec(jt)||/(kindle)/.exec(jt)||/(android)/.exec(jt)||/(windows)/.exec(jt)||/(mac)/.exec(jt)||/(linux)/.exec(jt)||/(cros)/.exec(jt)||[],we={browser:At[5]||At[3]||At[1]||"",version:At[2]||At[4]||"0",majorVersion:At[4]||At[2]||"0",platform:xe[0]||""},Ee={};if(we.browser){Ee[we.browser]=!0;var Ge=we.majorVersion.split(".");Ee.version={major:parseInt(we.majorVersion,10),string:we.version},Ge.length>1&&(Ee.version.minor=parseInt(Ge[1],10)),Ge.length>2&&(Ee.version.build=parseInt(Ge[2],10))}if(we.platform&&(Ee[we.platform]=!0),(Ee.chrome||Ee.opr||Ee.safari)&&(Ee.webkit=!0),Ee.rv||Ee.iemobile){Ee.rv&&delete Ee.rv;var nt="msie";we.browser=nt,Ee[nt]=!0}if(Ee.edge){delete Ee.edge;var st="msedge";we.browser=st,Ee[st]=!0}if(Ee.opr){var Mt="opera";we.browser=Mt,Ee[Mt]=!0}if(Ee.safari&&Ee.android){var wr="android";we.browser=wr,Ee[wr]=!0}Ee.name=we.browser,Ee.platform=we.platform;for(var Pr in b)b.hasOwnProperty(Pr)&&delete b[Pr];Object.assign(b,Ee)}x();var O=b,T=function(jt){Object(t.a)(xe,jt);var At=Object(a.a)(xe);function xe(we,Ee){var Ge;return Object(v.a)(this,xe),Ge=At.call(this,"fetch-stream-loader"),Ge.TAG="FetchStreamLoader",Ge._seekHandler=we,Ge._config=Ee,Ge._needStash=!0,Ge._requestAbort=!1,Ge._contentLength=null,Ge._receivedLength=0,Ge}return Object(p.a)(xe,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(y.a)(Object(w.a)(xe.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ee,Ge){var nt=this;this._dataSource=Ee,this._range=Ge;var st=Ee.url;this._config.reuseRedirectedURL&&Ee.redirectedURL!=null&&(st=Ee.redirectedURL);var Mt=this._seekHandler.getConfig(st,Ge),wr=new self.Headers;if(typeof Mt.headers=="object"){var Pr=Mt.headers;for(var qr in Pr)Pr.hasOwnProperty(qr)&&wr.append(qr,Pr[qr])}var xt={method:"GET",headers:wr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var rt in this._config.headers)wr.append(rt,this._config.headers[rt]);Ee.cors===!1&&(xt.mode="same-origin"),Ee.withCredentials&&(xt.credentials="include"),Ee.referrerPolicy&&(xt.referrerPolicy=Ee.referrerPolicy),this._status=u.kConnecting,self.fetch(Mt.url,xt).then(function(it){if(nt._requestAbort){nt._requestAbort=!1,nt._status=u.kIdle;return}if(it.ok&&it.status>=200&&it.status<=299){if(it.url!==Mt.url&&nt._onURLRedirect){var $t=nt._seekHandler.removeURLParameters(it.url);nt._onURLRedirect($t)}var Dt=it.headers.get("Content-Length");return Dt!=null&&(nt._contentLength=parseInt(Dt),nt._contentLength!==0&&(nt._onContentLengthKnown&&nt._onContentLengthKnown(nt._contentLength))),nt._pump.call(nt,it.body.getReader())}else if(nt._status=u.kError,nt._onError)nt._onError(h.HTTP_STATUS_CODE_INVALID,{code:it.status,msg:it.statusText});else throw new e("FetchStreamLoader: Http code invalid, "+it.status+" "+it.statusText)}).catch(function(it){if(nt._status=u.kError,nt._onError)nt._onError(h.EXCEPTION,{code:-1,msg:it.message});else throw it})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Ee){var Ge=this;return Ee.read().then(function(nt){if(nt.done)if(Ge._contentLength!==null&&Ge._receivedLength<Ge._contentLength){Ge._status=u.kError;var st=h.EARLY_EOF,Mt={code:-1,msg:"Fetch stream meet Early-EOF"};if(Ge._onError)Ge._onError(st,Mt);else throw new e(Mt.msg)}else Ge._status=u.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=u.kComplete,Ee.cancel();Ge._status=u.kBuffering;var wr=nt.value.buffer,Pr=Ge._range.from+Ge._receivedLength;Ge._receivedLength+=wr.byteLength,Ge._onDataArrival&&Ge._onDataArrival(wr,Pr,Ge._receivedLength),Ge._pump(Ee)}}).catch(function(nt){if(nt.code===11&&O.msedge)return;Ge._status=u.kError;var st=0,Mt=null;if((nt.code===19||nt.message==="network error")&&(Ge._contentLength===null||Ge._contentLength!==null&&Ge._receivedLength<Ge._contentLength)?(st=h.EARLY_EOF,Mt={code:nt.code,msg:"Fetch stream meet Early-EOF"}):(st=h.EXCEPTION,Mt={code:nt.code,msg:nt.message}),Ge._onError)Ge._onError(st,Mt);else throw new e(Mt.msg)})}}],[{key:"isSupported",value:function(){try{var Ee=O.msedge&&O.version.minor>=15048,Ge=O.msedge?Ee:!0;return self.fetch&&self.ReadableStream&&Ge}catch(nt){return!1}}}]),xe}(A),E=T,C=function(jt){Object(t.a)(xe,jt);var At=Object(a.a)(xe);function xe(we,Ee){var Ge;return Object(v.a)(this,xe),Ge=At.call(this,"xhr-moz-chunked-loader"),Ge.TAG="MozChunkedLoader",Ge._seekHandler=we,Ge._config=Ee,Ge._needStash=!0,Ge._xhr=null,Ge._requestAbort=!1,Ge._contentLength=null,Ge._receivedLength=0,Ge}return Object(p.a)(xe,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),Object(y.a)(Object(w.a)(xe.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ee,Ge){this._dataSource=Ee,this._range=Ge;var nt=Ee.url;this._config.reuseRedirectedURL&&Ee.redirectedURL!=null&&(nt=Ee.redirectedURL);var st=this._seekHandler.getConfig(nt,Ge);this._requestURL=st.url;var Mt=this._xhr=new XMLHttpRequest;if(Mt.open("GET",st.url,!0),Mt.responseType="moz-chunked-arraybuffer",Mt.onreadystatechange=this._onReadyStateChange.bind(this),Mt.onprogress=this._onProgress.bind(this),Mt.onloadend=this._onLoadEnd.bind(this),Mt.onerror=this._onXhrError.bind(this),Ee.withCredentials&&(Mt.withCredentials=!0),typeof st.headers=="object"){var wr=st.headers;for(var Pr in wr)wr.hasOwnProperty(Pr)&&Mt.setRequestHeader(Pr,wr[Pr])}if(typeof this._config.headers=="object"){var qr=this._config.headers;for(var xt in qr)qr.hasOwnProperty(xt)&&Mt.setRequestHeader(xt,qr[xt])}this._status=u.kConnecting,Mt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(Ee){var Ge=Ee.target;if(Ge.readyState===2){if(Ge.responseURL!=null&&Ge.responseURL!==this._requestURL&&this._onURLRedirect){var nt=this._seekHandler.removeURLParameters(Ge.responseURL);this._onURLRedirect(nt)}if(Ge.status!==0&&(Ge.status<200||Ge.status>299))if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:Ge.status,msg:Ge.statusText});else throw new e("MozChunkedLoader: Http code invalid, "+Ge.status+" "+Ge.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(Ee){if(this._status===u.kError)return;this._contentLength===null&&(Ee.total!==null&&Ee.total!==0&&(this._contentLength=Ee.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var Ge=Ee.target.response,nt=this._range.from+this._receivedLength;this._receivedLength+=Ge.byteLength,this._onDataArrival&&this._onDataArrival(Ge,nt,this._receivedLength)}},{key:"_onLoadEnd",value:function(Ee){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===u.kError)return;this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Ee){this._status=u.kError;var Ge=0,nt=null;if(this._contentLength&&Ee.loaded<this._contentLength?(Ge=h.EARLY_EOF,nt={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(Ge=h.EXCEPTION,nt={code:-1,msg:Ee.constructor.name+" "+Ee.type}),this._onError)this._onError(Ge,nt);else throw new e(nt.msg)}}],[{key:"isSupported",value:function(){try{var Ee=new XMLHttpRequest;return Ee.open("GET","https://example.com",!0),Ee.responseType="moz-chunked-arraybuffer",Ee.responseType==="moz-chunked-arraybuffer"}catch(Ge){return c.w("MozChunkedLoader",Ge.message),!1}}}]),xe}(A),_=C,L=function(jt){Object(t.a)(xe,jt);var At=Object(a.a)(xe);function xe(we,Ee){var Ge;return Object(v.a)(this,xe),Ge=At.call(this,"xhr-msstream-loader"),Ge.TAG="MSStreamLoader",Ge._seekHandler=we,Ge._config=Ee,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(p.a)(xe,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),Object(y.a)(Object(w.a)(xe.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ee,Ge){this._internalOpen(Ee,Ge,!1)}},{key:"_internalOpen",value:function(Ee,Ge,nt){this._dataSource=Ee,nt?this._currentRange=Ge:this._totalRange=Ge;var st=Ee.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?st=this._currentRedirectedURL:Ee.redirectedURL!=null&&(st=Ee.redirectedURL));var Mt=this._seekHandler.getConfig(st,Ge);this._currentRequestURL=Mt.url;var wr=this._reader=new self.MSStreamReader;wr.onprogress=this._msrOnProgress.bind(this),wr.onload=this._msrOnLoad.bind(this),wr.onerror=this._msrOnError.bind(this);var Pr=this._xhr=new XMLHttpRequest;if(Pr.open("GET",Mt.url,!0),Pr.responseType="ms-stream",Pr.onreadystatechange=this._xhrOnReadyStateChange.bind(this),Pr.onerror=this._xhrOnError.bind(this),Ee.withCredentials&&(Pr.withCredentials=!0),typeof Mt.headers=="object"){var qr=Mt.headers;for(var xt in qr)qr.hasOwnProperty(xt)&&Pr.setRequestHeader(xt,qr[xt])}if(typeof this._config.headers=="object"){var rt=this._config.headers;for(var it in rt)rt.hasOwnProperty(it)&&Pr.setRequestHeader(it,rt[it])}this._isReconnecting?this._isReconnecting=!1:this._status=u.kConnecting,Pr.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(Ee){var Ge=Ee.target;if(Ge.readyState===2)if(Ge.status>=200&&Ge.status<=299){if(this._status=u.kBuffering,Ge.responseURL!=null){var nt=this._seekHandler.removeURLParameters(Ge.responseURL);Ge.responseURL!==this._currentRequestURL&&nt!==this._currentRedirectedURL&&(this._currentRedirectedURL=nt,this._onURLRedirect&&this._onURLRedirect(nt))}var st=Ge.getResponseHeader("Content-Length");if(st!=null&&this._contentLength==null){var Mt=parseInt(st);Mt>0&&(this._contentLength=Mt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:Ge.status,msg:Ge.statusText});else throw new e("MSStreamLoader: Http code invalid, "+Ge.status+" "+Ge.statusText);else if(Ge.readyState===3&&(Ge.status>=200&&Ge.status<=299)){this._status=u.kBuffering;var wr=Ge.response;this._reader.readAsArrayBuffer(wr)}}},{key:"_xhrOnError",value:function(Ee){this._status=u.kError;var Ge=h.EXCEPTION,nt={code:-1,msg:Ee.constructor.name+" "+Ee.type};if(this._onError)this._onError(Ge,nt);else throw new e(nt.msg)}},{key:"_msrOnProgress",value:function(Ee){var Ge=Ee.target,nt=Ge.result;if(nt==null){this._doReconnectIfNeeded();return}var st=nt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=nt.byteLength;var Mt=this._totalRange.from+this._receivedLength;this._receivedLength+=st.byteLength,this._onDataArrival&&this._onDataArrival(st,Mt,this._receivedLength),nt.byteLength>=this._bufferLimit&&(c.v(this.TAG,"MSStream buffer exceeded max size near ".concat(Mt+st.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 Ee={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Ee,!0)}}},{key:"_msrOnLoad",value:function(Ee){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Ee){this._status=u.kError;var Ge=0,nt=null;if(this._contentLength&&this._receivedLength<this._contentLength?(Ge=h.EARLY_EOF,nt={code:-1,msg:"MSStream meet Early-Eof"}):(Ge=h.EARLY_EOF,nt={code:-1,msg:Ee.constructor.name+" "+Ee.type}),this._onError)this._onError(Ge,nt);else throw new e(nt.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Ee=new XMLHttpRequest;return Ee.open("GET","https://example.com",!0),Ee.responseType="ms-stream",Ee.responseType==="ms-stream"}catch(Ge){return c.w("MSStreamLoader",Ge.message),!1}}}]),xe}(A),P=L,k=function(jt){Object(t.a)(xe,jt);var At=Object(a.a)(xe);function xe(we,Ee){var Ge;return Object(v.a)(this,xe),Ge=At.call(this,"xhr-range-loader"),Ge.TAG="RangeLoader",Ge._seekHandler=we,Ge._config=Ee,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 i,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(p.a)(xe,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),Object(y.a)(Object(w.a)(xe.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Ee,Ge){this._dataSource=Ee,this._range=Ge,this._status=u.kConnecting;var nt=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(nt=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!nt?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Ee=this._currentChunkSizeKB*1024,Ge=this._range.from+this._receivedLength,nt=Ge+Ee;this._contentLength!=null&&(nt-this._range.from>=this._contentLength&&(nt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:Ge,to:nt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Ee,Ge){this._lastTimeLoaded=0;var nt=Ee.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?nt=this._currentRedirectedURL:Ee.redirectedURL!=null&&(nt=Ee.redirectedURL));var st=this._seekHandler.getConfig(nt,Ge);this._currentRequestURL=st.url;var Mt=this._xhr=new XMLHttpRequest;if(Mt.open("GET",st.url,!0),Mt.responseType="arraybuffer",Mt.onreadystatechange=this._onReadyStateChange.bind(this),Mt.onprogress=this._onProgress.bind(this),Mt.onload=this._onLoad.bind(this),Mt.onerror=this._onXhrError.bind(this),Ee.withCredentials&&(Mt.withCredentials=!0),typeof st.headers=="object"){var wr=st.headers;for(var Pr in wr)wr.hasOwnProperty(Pr)&&Mt.setRequestHeader(Pr,wr[Pr])}if(typeof this._config.headers=="object"){var qr=this._config.headers;for(var xt in qr)qr.hasOwnProperty(xt)&&Mt.setRequestHeader(xt,qr[xt])}Mt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(Ee){var Ge=Ee.target;if(Ge.readyState===2){if(Ge.responseURL!=null){var nt=this._seekHandler.removeURLParameters(Ge.responseURL);Ge.responseURL!==this._currentRequestURL&&nt!==this._currentRedirectedURL&&(this._currentRedirectedURL=nt,this._onURLRedirect&&this._onURLRedirect(nt))}if(Ge.status>=200&&Ge.status<=299){if(this._waitForTotalLength)return;this._status=u.kBuffering}else if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:Ge.status,msg:Ge.statusText});else throw new e("RangeLoader: Http code invalid, "+Ge.status+" "+Ge.statusText)}}},{key:"_onProgress",value:function(Ee){if(this._status===u.kError)return;if(this._contentLength===null){var Ge=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Ge=!0;var nt=Ee.total;this._internalAbort(),nt!=null&nt!==0&&(this._totalLength=nt)}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 st=Ee.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Ee.loaded,this._speedSampler.addBytes(st)}},{key:"_normalizeSpeed",value:function(Ee){var Ge=this._chunkSizeKBList,nt=Ge.length-1,st=0,Mt=0,wr=nt;if(Ee<Ge[0])return Ge[0];for(;Mt<=wr;){if(st=Mt+Math.floor((wr-Mt)/2),st===nt||Ee>=Ge[st]&&Ee<Ge[st+1])return Ge[st];Ge[st]<Ee?Mt=st+1:wr=st-1}}},{key:"_onLoad",value:function(Ee){if(this._status===u.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 nt=this._normalizeSpeed(Ge);this._currentSpeedNormalized!==nt&&(this._currentSpeedNormalized=nt,this._currentChunkSizeKB=nt)}var st=Ee.target.response,Mt=this._range.from+this._receivedLength;this._receivedLength+=st.byteLength;var wr=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():wr=!0,this._onDataArrival&&this._onDataArrival(st,Mt,this._receivedLength),wr&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Ee){this._status=u.kError;var Ge=0,nt=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(Ge=h.EARLY_EOF,nt={code:-1,msg:"RangeLoader meet Early-Eof"}):(Ge=h.EXCEPTION,nt={code:-1,msg:Ee.constructor.name+" "+Ee.type}),this._onError)this._onError(Ge,nt);else throw new e(nt.msg)}}],[{key:"isSupported",value:function(){try{var Ee=new XMLHttpRequest;return Ee.open("GET","https://example.com",!0),Ee.responseType="arraybuffer",Ee.responseType==="arraybuffer"}catch(Ge){return c.w("RangeLoader",Ge.message),!1}}}]),xe}(A),F=k,j=function(jt){Object(t.a)(xe,jt);var At=Object(a.a)(xe);function xe(){var we;return Object(v.a)(this,xe),we=At.call(this,"websocket-loader"),we.TAG="WebSocketLoader",we._needStash=!0,we._ws=null,we._requestAbort=!1,we._receivedLength=0,we}return Object(p.a)(xe,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(y.a)(Object(w.a)(xe.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ee){try{var Ge=this._ws=new self.WebSocket(Ee.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=u.kConnecting}catch(st){this._status=u.kError;var nt={code:st.code,msg:st.message};if(this._onError)this._onError(h.EXCEPTION,nt);else throw new e(nt.msg)}}},{key:"abort",value:function(){var Ee=this._ws;Ee&&(Ee.readyState===0||Ee.readyState===1)&&(this._requestAbort=!0,Ee.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(Ee){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(Ee){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Ee){var Ge=this;if(Ee.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Ee.data);else if(Ee.data instanceof Blob){var nt=new FileReader;nt.onload=function(){Ge._dispatchArrayBuffer(nt.result)},nt.readAsArrayBuffer(Ee.data)}else{this._status=u.kError;var st={code:-1,msg:"Unsupported WebSocket message type: "+Ee.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,st);else throw new e(st.msg)}}},{key:"_dispatchArrayBuffer",value:function(Ee){var Ge=Ee,nt=this._receivedLength;this._receivedLength+=Ge.byteLength,this._onDataArrival&&this._onDataArrival(Ge,nt,this._receivedLength)}},{key:"_onWebSocketError",value:function(Ee){this._status=u.kError;var Ge={code:Ee.code,msg:Ee.message};if(this._onError)this._onError(h.EXCEPTION,Ge);else throw new e(Ge.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Ee){return!1}}}]),xe}(A),z=j,R=function(){function jt(At){Object(v.a)(this,jt),this._zeroStart=At||!1}return Object(p.a)(jt,[{key:"getConfig",value:function(xe,we){var Ee={};if(we.from!==0||we.to!==-1){var Ge;we.to!==-1?Ge="bytes=".concat(we.from.toString(),"-").concat(we.to.toString()):Ge="bytes=".concat(we.from.toString(),"-"),Ee.Range=Ge}else this._zeroStart&&(Ee.Range="bytes=0-");return{url:xe,headers:Ee}}},{key:"removeURLParameters",value:function(xe){return xe}}]),jt}(),U=R,B=function(){function jt(At,xe){Object(v.a)(this,jt),this._startName=At,this._endName=xe}return Object(p.a)(jt,[{key:"getConfig",value:function(xe,we){var Ee=xe;if(we.from!==0||we.to!==-1){var Ge=!0;Ee.indexOf("?")===-1&&(Ee+="?",Ge=!1),Ge&&(Ee+="&"),Ee+="".concat(this._startName,"=").concat(we.from.toString()),we.to!==-1&&(Ee+="&".concat(this._endName,"=").concat(we.to.toString()))}return{url:Ee,headers:{}}}},{key:"removeURLParameters",value:function(xe){var we=xe.split("?")[0],Ee=void 0,Ge=xe.indexOf("?");Ge!==-1&&(Ee=xe.substring(Ge+1));var nt="";if(Ee!=null&&Ee.length>0)for(var st=Ee.split("&"),Mt=0;Mt<st.length;Mt++){var wr=st[Mt].split("="),Pr=Mt>0;wr[0]!==this._startName&&wr[0]!==this._endName&&(Pr&&(nt+="&"),nt+=st[Mt])}return nt.length===0?we:we+"?"+nt}}]),jt}(),H=B,K=function(){function jt(At,xe,we){Object(v.a)(this,jt),this.TAG="IOController",this._config=xe,this._extraData=we,this._stashInitialSize=1024*384,xe.stashInitialSize!=null&&xe.stashInitialSize>0&&(this._stashInitialSize=xe.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,xe.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=At,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(At.url),this._refTotalLength=At.filesize?At.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new i,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(p.a)(jt,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(xe){this._extraData=xe}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(xe){this._onDataArrival=xe}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(xe){this._onSeeked=xe}},{key:"onError",get:function(){return this._onError},set:function(xe){this._onError=xe}},{key:"onComplete",get:function(){return this._onComplete},set:function(xe){this._onComplete=xe}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(xe){this._onRedirect=xe}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(xe){this._onRecoveredEarlyEof=xe}},{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===F?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var xe=this._config;if(xe.seekType==="range")this._seekHandler=new U(this._config.rangeLoadZeroStart);else if(xe.seekType==="param"){var we=xe.seekParamStart||"bstart",Ee=xe.seekParamEnd||"bend";this._seekHandler=new H(we,Ee)}else if(xe.seekType==="custom"){if(typeof xe.customSeekHandler!="function")throw new r("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new xe.customSeekHandler}else throw new r("Invalid seekType in config: ".concat(xe.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=z;else if(E.isSupported())this._loaderClass=E;else if(_.isSupported())this._loaderClass=_;else if(F.isSupported())this._loaderClass=F;else throw new e("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(xe){this._currentRange={from:0,to:-1},xe&&(this._currentRange.from=xe),this._speedSampler.reset(),xe||(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 xe=this._resumeFrom;this._resumeFrom=0,this._internalSeek(xe,!0)}}},{key:"seek",value:function(xe){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(xe,!0)}},{key:"_internalSeek",value:function(xe,we){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(we),this._loader.destroy(),this._loader=null;var Ee={from:xe,to:-1};this._currentRange={from:Ee.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Ee),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(xe){if(!xe||typeof xe!="string"||xe.length===0)throw new r("Url must be a non-empty string!");this._dataSource.url=xe}},{key:"_expandBuffer",value:function(xe){for(var we=this._stashSize;we+1024*1024*1<xe;)we*=2;if(we+=1024*1024*1,we===this._bufferSize)return;var Ee=new ArrayBuffer(we);if(this._stashUsed>0){var Ge=new Uint8Array(this._stashBuffer,0,this._stashUsed),nt=new Uint8Array(Ee,0,we);nt.set(Ge,0)}this._stashBuffer=Ee,this._bufferSize=we}},{key:"_normalizeSpeed",value:function(xe){var we=this._speedNormalizeList,Ee=we.length-1,Ge=0,nt=0,st=Ee;if(xe<we[0])return we[0];for(;nt<=st;){if(Ge=nt+Math.floor((st-nt)/2),Ge===Ee||xe>=we[Ge]&&xe<we[Ge+1])return we[Ge];we[Ge]<xe?nt=Ge+1:st=Ge-1}}},{key:"_adjustStashSize",value:function(xe){var we=0;this._config.isLive||xe<512?we=xe:xe>=512&&xe<=1024?we=Math.floor(xe*1.5):we=xe*2,we>8192&&(we=8192);var Ee=we*1024+1024*1024*1;this._bufferSize<Ee&&this._expandBuffer(Ee),this._stashSize=we*1024}},{key:"_dispatchChunks",value:function(xe,we){return this._currentRange.to=we+xe.byteLength-1,this._onDataArrival(xe,we)}},{key:"_onURLRedirect",value:function(xe){this._redirectedURL=xe,this._onRedirect&&this._onRedirect(xe)}},{key:"_onContentLengthKnown",value:function(xe){xe&&this._fullRequestFlag&&(this._totalLength=xe,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(xe,we,Ee){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(xe.byteLength);var Ge=this._speedSampler.lastSecondKBps;if(Ge!==0){var nt=this._normalizeSpeed(Ge);this._speedNormalized!==nt&&(this._speedNormalized=nt,this._adjustStashSize(nt))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=we),this._stashUsed+xe.byteLength<=this._stashSize){var rt=new Uint8Array(this._stashBuffer,0,this._stashSize);rt.set(new Uint8Array(xe),this._stashUsed),this._stashUsed+=xe.byteLength}else{var it=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var $t=this._stashBuffer.slice(0,this._stashUsed),Dt=this._dispatchChunks($t,this._stashByteStart);if(Dt<$t.byteLength){if(Dt>0){var St=new Uint8Array($t,Dt);it.set(St,0),this._stashUsed=St.byteLength,this._stashByteStart+=Dt}}else this._stashUsed=0,this._stashByteStart+=Dt;this._stashUsed+xe.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+xe.byteLength),it=new Uint8Array(this._stashBuffer,0,this._bufferSize)),it.set(new Uint8Array(xe),this._stashUsed),this._stashUsed+=xe.byteLength}else{var Ut=this._dispatchChunks(xe,we);if(Ut<xe.byteLength){var vt=xe.byteLength-Ut;vt>this._bufferSize&&(this._expandBuffer(vt),it=new Uint8Array(this._stashBuffer,0,this._bufferSize)),it.set(new Uint8Array(xe,Ut),0),this._stashUsed+=vt,this._stashByteStart=we+Ut}}}else if(this._stashUsed===0){var st=this._dispatchChunks(xe,we);if(st<xe.byteLength){var Mt=xe.byteLength-st;Mt>this._bufferSize&&this._expandBuffer(Mt);var wr=new Uint8Array(this._stashBuffer,0,this._bufferSize);wr.set(new Uint8Array(xe,st),0),this._stashUsed+=Mt,this._stashByteStart=we+st}}else{this._stashUsed+xe.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+xe.byteLength);var Pr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Pr.set(new Uint8Array(xe),this._stashUsed),this._stashUsed+=xe.byteLength;var qr=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(qr<this._stashUsed&&qr>0){var xt=new Uint8Array(this._stashBuffer,qr);Pr.set(xt,0)}this._stashUsed-=qr,this._stashByteStart+=qr}}},{key:"_flushStashBuffer",value:function(xe){if(this._stashUsed>0){var we=this._stashBuffer.slice(0,this._stashUsed),Ee=this._dispatchChunks(we,this._stashByteStart),Ge=we.byteLength-Ee;if(Ee<we.byteLength)if(xe)c.w(this.TAG,"".concat(Ge," bytes unconsumed data remain when flush buffer, dropped"));else{if(Ee>0){var nt=new Uint8Array(this._stashBuffer,0,this._bufferSize),st=new Uint8Array(we,Ee);nt.set(st,0),this._stashUsed=st.byteLength,this._stashByteStart+=Ee}return 0}return this._stashUsed=0,this._stashByteStart=0,Ge}return 0}},{key:"_onLoaderComplete",value:function(xe,we){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(xe,we){c.e(this.TAG,"Loader error, code = ".concat(we.code,", msg = ").concat(we.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,xe=h.UNRECOVERABLE_EARLY_EOF);switch(xe){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Ee=this._currentRange.to+1;Ee<this._totalLength&&(c.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Ee,!1));return}xe=h.UNRECOVERABLE_EARLY_EOF;break}case h.UNRECOVERABLE_EARLY_EOF:case h.CONNECTING_TIMEOUT:case h.HTTP_STATUS_CODE_INVALID:case h.EXCEPTION:break}if(this._onError)this._onError(xe,we);else throw new e("IOException: "+we.msg)}}]),jt}(),V=K,W={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function G(){return Object.assign({},W)}var re=function(){function jt(){Object(v.a)(this,jt)}return Object(p.a)(jt,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var xe=new V({},G()),we=xe.loaderType;return xe.destroy(),we=="fetch-stream-loader"||we=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var xe=new V({},G()),we=xe.loaderType;return xe.destroy(),we}},{key:"supportNativeMediaPlayback",value:function(xe){jt.videoElement==null&&(jt.videoElement=window.document.createElement("video"));var we=jt.videoElement.canPlayType(xe);return we==="probably"||we=="maybe"}},{key:"getFeatureList",value:function(){var xe={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return xe.mseFlvPlayback=jt.supportMSEH264Playback(),xe.networkStreamIO=jt.supportNetworkStreamIO(),xe.networkLoaderName=jt.getNetworkLoaderTypeName(),xe.mseLiveFlvPlayback=xe.mseFlvPlayback&&xe.networkStreamIO,xe.nativeMP4H264Playback=jt.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),xe.nativeWebmVP8Playback=jt.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),xe.nativeWebmVP9Playback=jt.supportNativeMediaPlayback('video/webm; codecs="vp9"'),xe}}]),jt}(),ye=re,$={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"},ve=$,Ce=function(){function jt(){Object(v.a)(this,jt)}return Object(p.a)(jt,null,[{key:"forceGlobalTag",get:function(){return c.FORCE_GLOBAL_TAG},set:function(xe){c.FORCE_GLOBAL_TAG=xe,jt._notifyChange()}},{key:"globalTag",get:function(){return c.GLOBAL_TAG},set:function(xe){c.GLOBAL_TAG=xe,jt._notifyChange()}},{key:"enableAll",get:function(){return c.ENABLE_VERBOSE&&c.ENABLE_DEBUG&&c.ENABLE_INFO&&c.ENABLE_WARN&&c.ENABLE_ERROR},set:function(xe){c.ENABLE_VERBOSE=xe,c.ENABLE_DEBUG=xe,c.ENABLE_INFO=xe,c.ENABLE_WARN=xe,c.ENABLE_ERROR=xe,jt._notifyChange()}},{key:"enableDebug",get:function(){return c.ENABLE_DEBUG},set:function(xe){c.ENABLE_DEBUG=xe,jt._notifyChange()}},{key:"enableVerbose",get:function(){return c.ENABLE_VERBOSE},set:function(xe){c.ENABLE_VERBOSE=xe,jt._notifyChange()}},{key:"enableInfo",get:function(){return c.ENABLE_INFO},set:function(xe){c.ENABLE_INFO=xe,jt._notifyChange()}},{key:"enableWarn",get:function(){return c.ENABLE_WARN},set:function(xe){c.ENABLE_WARN=xe,jt._notifyChange()}},{key:"enableError",get:function(){return c.ENABLE_ERROR},set:function(xe){c.ENABLE_ERROR=xe,jt._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:c.GLOBAL_TAG,forceGlobalTag:c.FORCE_GLOBAL_TAG,enableVerbose:c.ENABLE_VERBOSE,enableDebug:c.ENABLE_DEBUG,enableInfo:c.ENABLE_INFO,enableWarn:c.ENABLE_WARN,enableError:c.ENABLE_ERROR,enableCallback:c.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(xe){c.GLOBAL_TAG=xe.globalTag,c.FORCE_GLOBAL_TAG=xe.forceGlobalTag,c.ENABLE_VERBOSE=xe.enableVerbose,c.ENABLE_DEBUG=xe.enableDebug,c.ENABLE_INFO=xe.enableInfo,c.ENABLE_WARN=xe.enableWarn,c.ENABLE_ERROR=xe.enableError,c.ENABLE_CALLBACK=xe.enableCallback}},{key:"_notifyChange",value:function(){var xe=jt.emitter;if(xe.listenerCount("change")>0){var we=jt.getConfig();xe.emit("change",we)}}},{key:"registerListener",value:function(xe){jt.emitter.addListener("change",xe)}},{key:"removeListener",value:function(xe){jt.emitter.removeListener("change",xe)}},{key:"addLogListener",value:function(xe){c.emitter.addListener("log",xe),c.emitter.listenerCount("log")>0&&(c.ENABLE_CALLBACK=!0,jt._notifyChange())}},{key:"removeLogListener",value:function(xe){c.emitter.removeListener("log",xe),c.emitter.listenerCount("log")===0&&(c.ENABLE_CALLBACK=!1,jt._notifyChange())}}]),jt}();Ce.emitter=new f.a;var Se=Ce,Ke=function(){function jt(){Object(v.a)(this,jt),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(p.a)(jt,[{key:"isComplete",value:function(){var xe=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,we=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&&xe&&we}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(xe){if(this.keyframesIndex==null)return null;var we=this.keyframesIndex,Ee=this._search(we.times,xe);return{index:Ee,milliseconds:we.times[Ee],fileposition:we.filepositions[Ee]}}},{key:"_search",value:function(xe,we){var Ee=0,Ge=xe.length-1,nt=0,st=0,Mt=Ge;for(we<xe[0]&&(Ee=0,st=Mt+1);st<=Mt;)if(nt=st+Math.floor((Mt-st)/2),nt===Ge||we>=xe[nt]&&we<xe[nt+1]){Ee=nt;break}else xe[nt]<we?st=nt+1:Mt=nt-1;return Ee}}]),jt}(),ue=Ke;function Le(jt,At,xe){var we=jt;if(At+xe<we.length){for(;xe--;)if((we[++At]&192)!==128)return!1;return!0}else return!1}function ee(jt){for(var At=[],xe=jt,we=0,Ee=jt.length;we<Ee;){if(xe[we]<128){At.push(String.fromCharCode(xe[we])),++we;continue}else if(!(xe[we]<192)){if(xe[we]<224){if(Le(xe,we,1)){var Ge=(xe[we]&31)<<6|xe[we+1]&63;if(Ge>=128){At.push(String.fromCharCode(Ge&65535)),we+=2;continue}}}else if(xe[we]<240){if(Le(xe,we,2)){var nt=(xe[we]&15)<<12|(xe[we+1]&63)<<6|xe[we+2]&63;if(nt>=2048&&(nt&63488)!==55296){At.push(String.fromCharCode(nt&65535)),we+=3;continue}}}else if(xe[we]<248&&Le(xe,we,3)){var st=(xe[we]&7)<<18|(xe[we+1]&63)<<12|(xe[we+2]&63)<<6|xe[we+3]&63;if(st>65536&&st<1114112){st-=65536,At.push(String.fromCharCode(st>>>10|55296)),At.push(String.fromCharCode(st&1023|56320)),we+=4;continue}}}At.push(String.fromCharCode(65533)),++we}return At.join("")}var le=ee,et=function(){var jt=new ArrayBuffer(2);return new DataView(jt).setInt16(0,256,!0),new Int16Array(jt)[0]===256}(),Re=function(){function jt(){Object(v.a)(this,jt)}return Object(p.a)(jt,null,[{key:"parseScriptData",value:function(xe,we,Ee){var Ge={};try{var nt=jt.parseValue(xe,we,Ee),st=jt.parseValue(xe,we+nt.size,Ee-nt.size);Ge[nt.data]=st.data}catch(Mt){c.e("AMF",Mt.toString())}return Ge}},{key:"parseObject",value:function(xe,we,Ee){if(Ee<3)throw new l("Data not enough when parse ScriptDataObject");var Ge=jt.parseString(xe,we,Ee),nt=jt.parseValue(xe,we+Ge.size,Ee-Ge.size),st=nt.objectEnd;return{data:{name:Ge.data,value:nt.data},size:Ge.size+nt.size,objectEnd:st}}},{key:"parseVariable",value:function(xe,we,Ee){return jt.parseObject(xe,we,Ee)}},{key:"parseString",value:function(xe,we,Ee){if(Ee<2)throw new l("Data not enough when parse String");var Ge=new DataView(xe,we,Ee),nt=Ge.getUint16(0,!et),st;return nt>0?st=le(new Uint8Array(xe,we+2,nt)):st="",{data:st,size:2+nt}}},{key:"parseLongString",value:function(xe,we,Ee){if(Ee<4)throw new l("Data not enough when parse LongString");var Ge=new DataView(xe,we,Ee),nt=Ge.getUint32(0,!et),st;return nt>0?st=le(new Uint8Array(xe,we+4,nt)):st="",{data:st,size:4+nt}}},{key:"parseDate",value:function(xe,we,Ee){if(Ee<10)throw new l("Data size invalid when parse Date");var Ge=new DataView(xe,we,Ee),nt=Ge.getFloat64(0,!et),st=Ge.getInt16(8,!et);return nt+=st*60*1e3,{data:new Date(nt),size:8+2}}},{key:"parseValue",value:function(xe,we,Ee){if(Ee<1)throw new l("Data not enough when parse Value");var Ge=new DataView(xe,we,Ee),nt=1,st=Ge.getUint8(0),Mt,wr=!1;try{switch(st){case 0:Mt=Ge.getFloat64(1,!et),nt+=8;break;case 1:{var Pr=Ge.getUint8(1);Mt=!!Pr,nt+=1;break}case 2:{var qr=jt.parseString(xe,we+1,Ee-1);Mt=qr.data,nt+=qr.size;break}case 3:{Mt={};var xt=0;for((Ge.getUint32(Ee-4,!et)&16777215)===9&&(xt=3);nt<Ee-4;){var rt=jt.parseObject(xe,we+nt,Ee-nt-xt);if(rt.objectEnd)break;Mt[rt.data.name]=rt.data.value,nt+=rt.size}if(nt<=Ee-3){var it=Ge.getUint32(nt-1,!et)&16777215;it===9&&(nt+=3)}break}case 8:{Mt={},nt+=4;var $t=0;for((Ge.getUint32(Ee-4,!et)&16777215)===9&&($t=3);nt<Ee-8;){var Dt=jt.parseVariable(xe,we+nt,Ee-nt-$t);if(Dt.objectEnd)break;Mt[Dt.data.name]=Dt.data.value,nt+=Dt.size}if(nt<=Ee-3){var St=Ge.getUint32(nt-1,!et)&16777215;St===9&&(nt+=3)}break}case 9:Mt=void 0,nt=1,wr=!0;break;case 10:{Mt=[];var Ut=Ge.getUint32(1,!et);nt+=4;for(var vt=0;vt<Ut;vt++){var Pt=jt.parseValue(xe,we+nt,Ee-nt);Mt.push(Pt.data),nt+=Pt.size}break}case 11:{var br=jt.parseDate(xe,we+1,Ee-1);Mt=br.data,nt+=br.size;break}case 12:{var ur=jt.parseString(xe,we+1,Ee-1);Mt=ur.data,nt+=ur.size;break}default:nt=Ee,c.w("AMF","Unsupported AMF value type "+st)}}catch(fr){c.e("AMF",fr.toString())}return{data:Mt,size:nt,objectEnd:wr}}}]),jt}(),Ae=Re,oe=function(){function jt(At){Object(v.a)(this,jt),this.TAG="ExpGolomb",this._buffer=At,this._buffer_index=0,this._total_bytes=At.byteLength,this._total_bits=At.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(p.a)(jt,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var xe=this._total_bytes-this._buffer_index;if(xe<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var we=Math.min(4,xe),Ee=new Uint8Array(4);Ee.set(this._buffer.subarray(this._buffer_index,this._buffer_index+we)),this._current_word=new DataView(Ee.buffer).getUint32(0,!1),this._buffer_index+=we,this._current_word_bits_left=we*8}},{key:"readBits",value:function(xe){if(xe>32)throw new r("ExpGolomb: readBits() bits exceeded max 32bits!");if(xe<=this._current_word_bits_left){var we=this._current_word>>>32-xe;return this._current_word<<=xe,this._current_word_bits_left-=xe,we}var Ee=this._current_word_bits_left?this._current_word:0;Ee=Ee>>>32-this._current_word_bits_left;var Ge=xe-this._current_word_bits_left;this._fillCurrentWord();var nt=Math.min(Ge,this._current_word_bits_left),st=this._current_word>>>32-nt;return this._current_word<<=nt,this._current_word_bits_left-=nt,Ee=Ee<<nt|st,Ee}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var xe;for(xe=0;xe<this._current_word_bits_left;xe++)if((this._current_word&2147483648>>>xe)!==0)return this._current_word<<=xe,this._current_word_bits_left-=xe,xe;return this._fillCurrentWord(),xe+this._skipLeadingZero()}},{key:"readUEG",value:function(){var xe=this._skipLeadingZero();return this.readBits(xe+1)-1}},{key:"readSEG",value:function(){var xe=this.readUEG();return xe&1?xe+1>>>1:-1*(xe>>>1)}}]),jt}(),ce=oe,be=function(){function jt(){Object(v.a)(this,jt)}return Object(p.a)(jt,null,[{key:"_ebsp2rbsp",value:function(xe){for(var we=xe,Ee=we.byteLength,Ge=new Uint8Array(Ee),nt=0,st=0;st<Ee;st++){if(st>=2&&(we[st]===3&&we[st-1]===0&&we[st-2]===0))continue;Ge[nt]=we[st],nt++}return new Uint8Array(Ge.buffer,0,nt)}},{key:"parseSPS",value:function(xe){var we=jt._ebsp2rbsp(xe),Ee=new ce(we);Ee.readByte();var Ge=Ee.readByte();Ee.readByte();var nt=Ee.readByte();Ee.readUEG();var st=jt.getProfileString(Ge),Mt=jt.getLevelString(nt),wr=1,Pr=420,qr=[0,420,422,444],xt=8;if((Ge===100||Ge===110||Ge===122||Ge===244||Ge===44||Ge===83||Ge===86||Ge===118||Ge===128||Ge===138||Ge===144)&&(wr=Ee.readUEG(),wr===3&&Ee.readBits(1),wr<=3&&(Pr=qr[wr]),xt=Ee.readUEG()+8,Ee.readUEG(),Ee.readBits(1),Ee.readBool()))for(var rt=wr!==3?8:12,it=0;it<rt;it++)Ee.readBool()&&(it<6?jt._skipScalingList(Ee,16):jt._skipScalingList(Ee,64));Ee.readUEG();var $t=Ee.readUEG();if($t===0)Ee.readUEG();else if($t===1){Ee.readBits(1),Ee.readSEG(),Ee.readSEG();for(var Dt=Ee.readUEG(),St=0;St<Dt;St++)Ee.readSEG()}var Ut=Ee.readUEG();Ee.readBits(1);var vt=Ee.readUEG(),Pt=Ee.readUEG(),br=Ee.readBits(1);br===0&&Ee.readBits(1),Ee.readBits(1);var ur=0,fr=0,Jr=0,Zr=0,Fn=Ee.readBool();Fn&&(ur=Ee.readUEG(),fr=Ee.readUEG(),Jr=Ee.readUEG(),Zr=Ee.readUEG());var Rn=1,ei=1,di=0,gi=!0,Ii=0,Ye=0,ge=Ee.readBool();if(ge){if(Ee.readBool()){var Ie=Ee.readByte(),Fe=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Ve=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Ie>0&&Ie<16?(Rn=Fe[Ie-1],ei=Ve[Ie-1]):Ie===255&&(Rn=Ee.readByte()<<8|Ee.readByte(),ei=Ee.readByte()<<8|Ee.readByte())}if(Ee.readBool()&&Ee.readBool(),Ee.readBool()&&(Ee.readBits(4),Ee.readBool()&&Ee.readBits(24)),Ee.readBool()&&(Ee.readUEG(),Ee.readUEG()),Ee.readBool()){var We=Ee.readBits(32),Qe=Ee.readBits(32);gi=Ee.readBool(),Ii=Qe,Ye=We*2,di=Ii/Ye}}var yt=1;(Rn!==1||ei!==1)&&(yt=Rn/ei);var ot=0,Zt=0;if(wr===0)ot=1,Zt=2-br;else{var Rr=wr===3?1:2,Lr=wr===1?2:1;ot=Rr,Zt=Lr*(2-br)}var Gr=(vt+1)*16,er=(2-br)*((Pt+1)*16);Gr-=(ur+fr)*ot,er-=(Jr+Zr)*Zt;var On=Math.ceil(Gr*yt);return Ee.destroy(),Ee=null,{profile_string:st,level_string:Mt,bit_depth:xt,ref_frames:Ut,chroma_format:Pr,chroma_format_string:jt.getChromaFormatString(Pr),frame_rate:{fixed:gi,fps:di,fps_den:Ye,fps_num:Ii},sar_ratio:{width:Rn,height:ei},codec_size:{width:Gr,height:er},present_size:{width:On,height:er}}}},{key:"_skipScalingList",value:function(xe,we){for(var Ee=8,Ge=8,nt=0,st=0;st<we;st++)Ge!==0&&(nt=xe.readSEG(),Ge=(Ee+nt+256)%256),Ee=Ge===0?Ee:Ge}},{key:"getProfileString",value:function(xe){switch(xe){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(xe){return(xe/10).toFixed(1)}},{key:"getChromaFormatString",value:function(xe){switch(xe){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),jt}(),Te=be,Be={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},De=Be;function ae(jt){return jt>>>8&255|(jt&255)<<8}function fe(jt){return(jt&4278190080)>>>24|(jt&16711680)>>>8|(jt&65280)<<8|(jt&255)<<24}function Oe(jt,At){return jt[At]<<24|jt[At+1]<<16|jt[At+2]<<8|jt[At+3]}var Je=function(){function jt(At,xe){Object(v.a)(this,jt),this.TAG="FLVDemuxer",this._config=xe,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=At.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=At.hasAudioTrack,this._hasVideo=At.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new ue,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 we=new ArrayBuffer(2);return new DataView(we).setInt16(0,256,!0),new Int16Array(we)[0]===256}()}return Object(p.a)(jt,[{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(xe){return xe.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(xe){this._onTrackMetadata=xe}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(xe){this._onMediaInfo=xe}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(xe){this._onMetaDataArrived=xe}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(xe){this._onScriptDataArrived=xe}},{key:"onError",get:function(){return this._onError},set:function(xe){this._onError=xe}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(xe){this._onDataAvailable=xe}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(xe){this._timestampBase=xe}},{key:"overridedDuration",get:function(){return this._duration},set:function(xe){this._durationOverrided=!0,this._duration=xe,this._mediaInfo.duration=xe}},{key:"overridedHasAudio",set:function(xe){this._hasAudioFlagOverrided=!0,this._hasAudio=xe,this._mediaInfo.hasAudio=xe}},{key:"overridedHasVideo",set:function(xe){this._hasVideoFlagOverrided=!0,this._hasVideo=xe,this._mediaInfo.hasVideo=xe}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new ue}},{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(xe,we){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Ee=0,Ge=this._littleEndian;if(we===0)if(xe.byteLength>13){var nt=jt.probe(xe);Ee=nt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,we+Ee!==this._dataOffset&&c.w(this.TAG,"First time parsing but chunk byteStart invalid!");var st=new DataView(xe,Ee),Mt=st.getUint32(0,!Ge);Mt!==0&&c.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Ee+=4}for(;Ee<xe.byteLength;){this._dispatch=!0;var wr=new DataView(xe,Ee);if(Ee+11+4>xe.byteLength)break;var Pr=wr.getUint8(0),qr=wr.getUint32(0,!Ge)&16777215;if(Ee+11+qr+4>xe.byteLength)break;if(Pr!==8&&Pr!==9&&Pr!==18){c.w(this.TAG,"Unsupported tag type ".concat(Pr,", skipped")),Ee+=11+qr+4;continue}var xt=wr.getUint8(4),rt=wr.getUint8(5),it=wr.getUint8(6),$t=wr.getUint8(7),Dt=it|rt<<8|xt<<16|$t<<24,St=wr.getUint32(7,!Ge)&16777215;St!==0&&c.w(this.TAG,"Meet tag which has StreamID != 0!");var Ut=Ee+11;switch(Pr){case 8:this._parseAudioData(xe,Ut,qr,Dt);break;case 9:this._parseVideoData(xe,Ut,qr,Dt,we+Ee);break;case 18:this._parseScriptData(xe,Ut,qr);break}var vt=wr.getUint32(11+qr,!Ge);vt!==11+qr&&c.w(this.TAG,"Invalid PrevTagSize ".concat(vt)),Ee+=11+qr+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Ee}},{key:"_parseScriptData",value:function(xe,we,Ee){var Ge=Ae.parseScriptData(xe,we,Ee);if(Ge.hasOwnProperty("onMetaData")){if(Ge.onMetaData==null||typeof Ge.onMetaData!="object"){c.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&c.w(this.TAG,"Found another onMetaData tag!"),this._metadata=Ge;var nt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},nt)),typeof nt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=nt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof nt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=nt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof nt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=nt.audiodatarate),typeof nt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=nt.videodatarate),typeof nt.width=="number"&&(this._mediaInfo.width=nt.width),typeof nt.height=="number"&&(this._mediaInfo.height=nt.height),typeof nt.duration=="number"){if(!this._durationOverrided){var st=Math.floor(nt.duration*this._timescale);this._duration=st,this._mediaInfo.duration=st}}else this._mediaInfo.duration=0;if(typeof nt.framerate=="number"){var Mt=Math.floor(nt.framerate*1e3);if(Mt>0){var wr=Mt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=wr,this._referenceFrameRate.fps_num=Mt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=wr}}if(typeof nt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Pr=nt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Pr),nt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=nt,c.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(xe){for(var we=[],Ee=[],Ge=1;Ge<xe.times.length;Ge++){var nt=this._timestampBase+Math.floor(xe.times[Ge]*1e3);we.push(nt),Ee.push(xe.filepositions[Ge])}return{times:we,filepositions:Ee}}},{key:"_parseAudioData",value:function(xe,we,Ee,Ge){if(Ee<=1){c.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var nt=this._littleEndian,st=new DataView(xe,we,Ee),Mt=st.getUint8(0),wr=Mt>>>4;if(wr!==2&&wr!==10){this._onError(De.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+wr);return}var Pr=0,qr=(Mt&12)>>>2;if(qr>=0&&qr<=4)Pr=this._flvSoundRateTable[qr];else{this._onError(De.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+qr);return}var xt=(Mt&2)>>>1,rt=Mt&1,it=this._audioMetadata,$t=this._audioTrack;if(it||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),it=this._audioMetadata={},it.type="audio",it.id=$t.id,it.timescale=this._timescale,it.duration=this._duration,it.audioSampleRate=Pr,it.channelCount=rt===0?1:2),wr===10){var Dt=this._parseAACAudioData(xe,we+1,Ee-1);if(Dt==null)return;if(Dt.packetType===0){it.config&&c.w(this.TAG,"Found another AudioSpecificConfig!");var St=Dt.data;it.audioSampleRate=St.samplingRate,it.channelCount=St.channelCount,it.codec=St.codec,it.originalCodec=St.originalCodec,it.config=St.config,it.refSampleDuration=1024/it.audioSampleRate*it.timescale,c.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",it);var Ut=this._mediaInfo;Ut.audioCodec=it.originalCodec,Ut.audioSampleRate=it.audioSampleRate,Ut.audioChannelCount=it.channelCount,Ut.hasVideo?Ut.videoCodec!=null&&(Ut.mimeType='video/x-flv; codecs="'+Ut.videoCodec+","+Ut.audioCodec+'"'):Ut.mimeType='video/x-flv; codecs="'+Ut.audioCodec+'"',Ut.isComplete()&&this._onMediaInfo(Ut)}else if(Dt.packetType===1){var vt=this._timestampBase+Ge,Pt={unit:Dt.data,length:Dt.data.byteLength,dts:vt,pts:vt};$t.samples.push(Pt),$t.length+=Dt.data.length}else c.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Dt.packetType))}else if(wr===2){if(!it.codec){var br=this._parseMP3AudioData(xe,we+1,Ee-1,!0);if(br==null)return;it.audioSampleRate=br.samplingRate,it.channelCount=br.channelCount,it.codec=br.codec,it.originalCodec=br.originalCodec,it.refSampleDuration=1152/it.audioSampleRate*it.timescale,c.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",it);var ur=this._mediaInfo;ur.audioCodec=it.codec,ur.audioSampleRate=it.audioSampleRate,ur.audioChannelCount=it.channelCount,ur.audioDataRate=br.bitRate,ur.hasVideo?ur.videoCodec!=null&&(ur.mimeType='video/x-flv; codecs="'+ur.videoCodec+","+ur.audioCodec+'"'):ur.mimeType='video/x-flv; codecs="'+ur.audioCodec+'"',ur.isComplete()&&this._onMediaInfo(ur)}var fr=this._parseMP3AudioData(xe,we+1,Ee-1,!1);if(fr==null)return;var Jr=this._timestampBase+Ge,Zr={unit:fr,length:fr.byteLength,dts:Jr,pts:Jr};$t.samples.push(Zr),$t.length+=fr.length}}},{key:"_parseAACAudioData",value:function(xe,we,Ee){if(Ee<=1){c.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var Ge={},nt=new Uint8Array(xe,we,Ee);return Ge.packetType=nt[0],nt[0]===0?Ge.data=this._parseAACAudioSpecificConfig(xe,we+1,Ee-1):Ge.data=nt.subarray(1),Ge}},{key:"_parseAACAudioSpecificConfig",value:function(xe,we,Ee){var Ge=new Uint8Array(xe,we,Ee),nt=null,st=0,Mt=0,wr=null,Pr=0,qr=null;if(st=Mt=Ge[0]>>>3,Pr=(Ge[0]&7)<<1|Ge[1]>>>7,Pr<0||Pr>=this._mpegSamplingRates.length){this._onError(De.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var xt=this._mpegSamplingRates[Pr],rt=(Ge[1]&120)>>>3;if(rt<0||rt>=8){this._onError(De.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}st===5&&(qr=(Ge[1]&7)<<1|Ge[2]>>>7,wr=(Ge[2]&124)>>>2);var it=self.navigator.userAgent.toLowerCase();return it.indexOf("firefox")!==-1?Pr>=6?(st=5,nt=new Array(4),qr=Pr-3):(st=2,nt=new Array(2),qr=Pr):it.indexOf("android")!==-1?(st=2,nt=new Array(2),qr=Pr):(st=5,qr=Pr,nt=new Array(4),Pr>=6?qr=Pr-3:rt===1&&(st=2,nt=new Array(2),qr=Pr)),nt[0]=st<<3,nt[0]|=(Pr&15)>>>1,nt[1]=(Pr&15)<<7,nt[1]|=(rt&15)<<3,st===5&&(nt[1]|=(qr&15)>>>1,nt[2]=(qr&1)<<7,nt[2]|=2<<2,nt[3]=0),{config:nt,samplingRate:xt,channelCount:rt,codec:"mp4a.40."+st,originalCodec:"mp4a.40."+Mt}}},{key:"_parseMP3AudioData",value:function(xe,we,Ee,Ge){if(Ee<4){c.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var nt=this._littleEndian,st=new Uint8Array(xe,we,Ee),Mt=null;if(Ge){if(st[0]!==255)return;var wr=st[1]>>>3&3,Pr=(st[1]&6)>>1,qr=(st[2]&240)>>>4,xt=(st[2]&12)>>>2,rt=st[3]>>>6&3,it=rt!==3?2:1,$t=0,Dt=0,St=34,Ut="mp3";switch(wr){case 0:$t=this._mpegAudioV25SampleRateTable[xt];break;case 2:$t=this._mpegAudioV20SampleRateTable[xt];break;case 3:$t=this._mpegAudioV10SampleRateTable[xt];break}switch(Pr){case 1:St=34,qr<this._mpegAudioL3BitRateTable.length&&(Dt=this._mpegAudioL3BitRateTable[qr]);break;case 2:St=33,qr<this._mpegAudioL2BitRateTable.length&&(Dt=this._mpegAudioL2BitRateTable[qr]);break;case 3:St=32,qr<this._mpegAudioL1BitRateTable.length&&(Dt=this._mpegAudioL1BitRateTable[qr]);break}Mt={bitRate:Dt,samplingRate:$t,channelCount:it,codec:Ut,originalCodec:Ut}}else Mt=st;return Mt}},{key:"_parseVideoData",value:function(xe,we,Ee,Ge,nt){if(Ee<=1){c.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var st=new Uint8Array(xe,we,Ee)[0],Mt=(st&240)>>>4,wr=st&15;if(wr!==7){this._onError(De.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(wr));return}this._parseAVCVideoPacket(xe,we+1,Ee-1,Ge,nt,Mt)}},{key:"_parseAVCVideoPacket",value:function(xe,we,Ee,Ge,nt,st){if(Ee<4){c.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var Mt=this._littleEndian,wr=new DataView(xe,we,Ee),Pr=wr.getUint8(0),qr=wr.getUint32(0,!Mt)&16777215,xt=qr<<8>>8;if(Pr===0)this._parseAVCDecoderConfigurationRecord(xe,we+4,Ee-4);else if(Pr===1)this._parseAVCVideoData(xe,we+4,Ee-4,Ge,nt,st,xt);else if(!(Pr===2)){this._onError(De.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Pr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(xe,we,Ee){if(Ee<7){c.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var Ge=this._videoMetadata,nt=this._videoTrack,st=this._littleEndian,Mt=new DataView(xe,we,Ee);Ge?typeof Ge.avcc!="undefined"&&c.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=nt.id,Ge.timescale=this._timescale,Ge.duration=this._duration);var wr=Mt.getUint8(0),Pr=Mt.getUint8(1),qr=Mt.getUint8(2),xt=Mt.getUint8(3);if(wr!==1||Pr===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(Mt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(De.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var rt=Mt.getUint8(5)&31;if(rt===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else rt>1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(rt));for(var it=6,$t=0;$t<rt;$t++){var Dt=Mt.getUint16(it,!st);if(it+=2,Dt===0)continue;var St=new Uint8Array(xe,we+it,Dt);it+=Dt;var Ut=Te.parseSPS(St);if($t!==0)continue;Ge.codecWidth=Ut.codec_size.width,Ge.codecHeight=Ut.codec_size.height,Ge.presentWidth=Ut.present_size.width,Ge.presentHeight=Ut.present_size.height,Ge.profile=Ut.profile_string,Ge.level=Ut.level_string,Ge.bitDepth=Ut.bit_depth,Ge.chromaFormat=Ut.chroma_format,Ge.sarRatio=Ut.sar_ratio,Ge.frameRate=Ut.frame_rate,(Ut.frame_rate.fixed===!1||Ut.frame_rate.fps_num===0||Ut.frame_rate.fps_den===0)&&(Ge.frameRate=this._referenceFrameRate);var vt=Ge.frameRate.fps_den,Pt=Ge.frameRate.fps_num;Ge.refSampleDuration=Ge.timescale*(vt/Pt);for(var br=St.subarray(1,4),ur="avc1.",fr=0;fr<3;fr++){var Jr=br[fr].toString(16);Jr.length<2&&(Jr="0"+Jr),ur+=Jr}Ge.codec=ur;var Zr=this._mediaInfo;Zr.width=Ge.codecWidth,Zr.height=Ge.codecHeight,Zr.fps=Ge.frameRate.fps,Zr.profile=Ge.profile,Zr.level=Ge.level,Zr.refFrames=Ut.ref_frames,Zr.chromaFormat=Ut.chroma_format_string,Zr.sarNum=Ge.sarRatio.width,Zr.sarDen=Ge.sarRatio.height,Zr.videoCodec=ur,Zr.hasAudio?Zr.audioCodec!=null&&(Zr.mimeType='video/x-flv; codecs="'+Zr.videoCodec+","+Zr.audioCodec+'"'):Zr.mimeType='video/x-flv; codecs="'+Zr.videoCodec+'"',Zr.isComplete()&&this._onMediaInfo(Zr)}var Fn=Mt.getUint8(it);if(Fn===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Fn>1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Fn));it++;for(var Rn=0;Rn<Fn;Rn++){var ei=Mt.getUint16(it,!st);if(it+=2,ei===0)continue;it+=ei}Ge.avcc=new Uint8Array(Ee),Ge.avcc.set(new Uint8Array(xe,we,Ee),0),c.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(xe,we,Ee,Ge,nt,st,Mt){for(var wr=this._littleEndian,Pr=new DataView(xe,we,Ee),qr=[],xt=0,rt=0,it=this._naluLengthSize,$t=this._timestampBase+Ge,Dt=st===1;rt<Ee;){if(rt+4>=Ee){c.w(this.TAG,"Malformed Nalu near timestamp ".concat($t,", offset = ").concat(rt,", dataSize = ").concat(Ee));break}var St=Pr.getUint32(rt,!wr);if(it===3&&(St>>>=8),St>Ee-it){c.w(this.TAG,"Malformed Nalus near timestamp ".concat($t,", NaluSize > DataSize!"));return}var Ut=Pr.getUint8(rt+it)&31;Ut===5&&(Dt=!0);var vt=new Uint8Array(xe,we+rt,it+St),Pt={type:Ut,data:vt};qr.push(Pt),xt+=vt.byteLength,rt+=it+St}if(qr.length){var br=this._videoTrack,ur={units:qr,length:xt,isKeyframe:Dt,dts:$t,cts:Mt,pts:$t+Mt};Dt&&(ur.fileposition=nt),br.samples.push(ur),br.length+=xt}}}],[{key:"probe",value:function(xe){var we=new Uint8Array(xe),Ee={match:!1};if(we[0]!==70||we[1]!==76||we[2]!==86||we[3]!==1)return Ee;var Ge=(we[4]&4)>>>2!==0,nt=(we[4]&1)!==0,st=Oe(we,5);return st<9?Ee:{match:!0,consumed:st,dataOffset:st,hasAudioTrack:Ge,hasVideoTrack:nt}}}]),jt}(),Et=Je,Ze=function(){function jt(){Object(v.a)(this,jt)}return Object(p.a)(jt,null,[{key:"init",value:function(){jt.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 xe in jt.types)jt.types.hasOwnProperty(xe)&&(jt.types[xe]=[xe.charCodeAt(0),xe.charCodeAt(1),xe.charCodeAt(2),xe.charCodeAt(3)]);var we=jt.constants={};we.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),we.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),we.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),we.STSC=we.STCO=we.STTS,we.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),we.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]),we.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]),we.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),we.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),we.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(xe){for(var we=8,Ee=null,Ge=Array.prototype.slice.call(arguments,1),nt=Ge.length,st=0;st<nt;st++)we+=Ge[st].byteLength;Ee=new Uint8Array(we),Ee[0]=we>>>24&255,Ee[1]=we>>>16&255,Ee[2]=we>>>8&255,Ee[3]=we&255,Ee.set(xe,4);for(var Mt=8,wr=0;wr<nt;wr++)Ee.set(Ge[wr],Mt),Mt+=Ge[wr].byteLength;return Ee}},{key:"generateInitSegment",value:function(xe){var we=jt.box(jt.types.ftyp,jt.constants.FTYP),Ee=jt.moov(xe),Ge=new Uint8Array(we.byteLength+Ee.byteLength);return Ge.set(we,0),Ge.set(Ee,we.byteLength),Ge}},{key:"moov",value:function(xe){var we=jt.mvhd(xe.timescale,xe.duration),Ee=jt.trak(xe),Ge=jt.mvex(xe);return jt.box(jt.types.moov,we,Ee,Ge)}},{key:"mvhd",value:function(xe,we){return jt.box(jt.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255,we>>>24&255,we>>>16&255,we>>>8&255,we&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(xe){return jt.box(jt.types.trak,jt.tkhd(xe),jt.mdia(xe))}},{key:"tkhd",value:function(xe){var we=xe.id,Ee=xe.duration,Ge=xe.presentWidth,nt=xe.presentHeight;return jt.box(jt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,we>>>24&255,we>>>16&255,we>>>8&255,we&255,0,0,0,0,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&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,nt>>>8&255,nt&255,0,0]))}},{key:"mdia",value:function(xe){return jt.box(jt.types.mdia,jt.mdhd(xe),jt.hdlr(xe),jt.minf(xe))}},{key:"mdhd",value:function(xe){var we=xe.timescale,Ee=xe.duration;return jt.box(jt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,we>>>24&255,we>>>16&255,we>>>8&255,we&255,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255,85,196,0,0]))}},{key:"hdlr",value:function(xe){var we=null;return xe.type==="audio"?we=jt.constants.HDLR_AUDIO:we=jt.constants.HDLR_VIDEO,jt.box(jt.types.hdlr,we)}},{key:"minf",value:function(xe){var we=null;return xe.type==="audio"?we=jt.box(jt.types.smhd,jt.constants.SMHD):we=jt.box(jt.types.vmhd,jt.constants.VMHD),jt.box(jt.types.minf,we,jt.dinf(),jt.stbl(xe))}},{key:"dinf",value:function(){var xe=jt.box(jt.types.dinf,jt.box(jt.types.dref,jt.constants.DREF));return xe}},{key:"stbl",value:function(xe){var we=jt.box(jt.types.stbl,jt.stsd(xe),jt.box(jt.types.stts,jt.constants.STTS),jt.box(jt.types.stsc,jt.constants.STSC),jt.box(jt.types.stsz,jt.constants.STSZ),jt.box(jt.types.stco,jt.constants.STCO));return we}},{key:"stsd",value:function(xe){return xe.type==="audio"?xe.codec==="mp3"?jt.box(jt.types.stsd,jt.constants.STSD_PREFIX,jt.mp3(xe)):jt.box(jt.types.stsd,jt.constants.STSD_PREFIX,jt.mp4a(xe)):jt.box(jt.types.stsd,jt.constants.STSD_PREFIX,jt.avc1(xe))}},{key:"mp3",value:function(xe){var we=xe.channelCount,Ee=xe.audioSampleRate,Ge=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,we,0,16,0,0,0,0,Ee>>>8&255,Ee&255,0,0]);return jt.box(jt.types[".mp3"],Ge)}},{key:"mp4a",value:function(xe){var we=xe.channelCount,Ee=xe.audioSampleRate,Ge=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,we,0,16,0,0,0,0,Ee>>>8&255,Ee&255,0,0]);return jt.box(jt.types.mp4a,Ge,jt.esds(xe))}},{key:"esds",value:function(xe){var we=xe.config||[],Ee=we.length,Ge=new Uint8Array([0,0,0,0,3,23+Ee,0,1,0,4,15+Ee,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Ee]).concat(we).concat([6,1,2]));return jt.box(jt.types.esds,Ge)}},{key:"avc1",value:function(xe){var we=xe.avcc,Ee=xe.codecWidth,Ge=xe.codecHeight,nt=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,Ee>>>8&255,Ee&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 jt.box(jt.types.avc1,nt,jt.box(jt.types.avcC,we))}},{key:"mvex",value:function(xe){return jt.box(jt.types.mvex,jt.trex(xe))}},{key:"trex",value:function(xe){var we=xe.id,Ee=new Uint8Array([0,0,0,0,we>>>24&255,we>>>16&255,we>>>8&255,we&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return jt.box(jt.types.trex,Ee)}},{key:"moof",value:function(xe,we){return jt.box(jt.types.moof,jt.mfhd(xe.sequenceNumber),jt.traf(xe,we))}},{key:"mfhd",value:function(xe){var we=new Uint8Array([0,0,0,0,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255]);return jt.box(jt.types.mfhd,we)}},{key:"traf",value:function(xe,we){var Ee=xe.id,Ge=jt.box(jt.types.tfhd,new Uint8Array([0,0,0,0,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255])),nt=jt.box(jt.types.tfdt,new Uint8Array([0,0,0,0,we>>>24&255,we>>>16&255,we>>>8&255,we&255])),st=jt.sdtp(xe),Mt=jt.trun(xe,st.byteLength+16+16+8+16+8+8);return jt.box(jt.types.traf,Ge,nt,Mt,st)}},{key:"sdtp",value:function(xe){for(var we=xe.samples||[],Ee=we.length,Ge=new Uint8Array(4+Ee),nt=0;nt<Ee;nt++){var st=we[nt].flags;Ge[nt+4]=st.isLeading<<6|st.dependsOn<<4|st.isDependedOn<<2|st.hasRedundancy}return jt.box(jt.types.sdtp,Ge)}},{key:"trun",value:function(xe,we){var Ee=xe.samples||[],Ge=Ee.length,nt=12+16*Ge,st=new Uint8Array(nt);we+=8+nt,st.set([0,0,15,1,Ge>>>24&255,Ge>>>16&255,Ge>>>8&255,Ge&255,we>>>24&255,we>>>16&255,we>>>8&255,we&255],0);for(var Mt=0;Mt<Ge;Mt++){var wr=Ee[Mt].duration,Pr=Ee[Mt].size,qr=Ee[Mt].flags,xt=Ee[Mt].cts;st.set([wr>>>24&255,wr>>>16&255,wr>>>8&255,wr&255,Pr>>>24&255,Pr>>>16&255,Pr>>>8&255,Pr&255,qr.isLeading<<2|qr.dependsOn,qr.isDependedOn<<6|qr.hasRedundancy<<4|qr.isNonSync,0,0,xt>>>24&255,xt>>>16&255,xt>>>8&255,xt&255],12+16*Mt)}return jt.box(jt.types.trun,st)}},{key:"mdat",value:function(xe){return jt.box(jt.types.mdat,xe)}}]),jt}();Ze.init();var Ne=Ze,It=function(){function jt(){Object(v.a)(this,jt)}return Object(p.a)(jt,null,[{key:"getSilentFrame",value:function(xe,we){if(xe==="mp4a.40.2"){if(we===1)return new Uint8Array([0,200,0,128,35,128]);if(we===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(we===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(we===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(we===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(we===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(we===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(we===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(we===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}}]),jt}(),Xe=It,Ot=Object(p.a)(function jt(At,xe,we,Ee,Ge){Object(v.a)(this,jt),this.dts=At,this.pts=xe,this.duration=we,this.originalDts=Ee,this.isSyncPoint=Ge,this.fileposition=null}),Bt=function(){function jt(){Object(v.a)(this,jt),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(p.a)(jt,[{key:"appendSyncPoint",value:function(xe){xe.isSyncPoint=!0,this.syncPoints.push(xe)}}]),jt}(),kt=function(){function jt(){Object(v.a)(this,jt),this._list=[]}return Object(p.a)(jt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(xe){var we=this._list;if(xe.length===0)return;we.length>0&&xe[0].originalDts<we[we.length-1].originalDts&&this.clear(),Array.prototype.push.apply(we,xe)}},{key:"getLastSyncPointBeforeDts",value:function(xe){if(this._list.length==0)return null;var we=this._list,Ee=0,Ge=we.length-1,nt=0,st=0,Mt=Ge;for(xe<we[0].dts&&(Ee=0,st=Mt+1);st<=Mt;)if(nt=st+Math.floor((Mt-st)/2),nt===Ge||xe>=we[nt].dts&&xe<we[nt+1].dts){Ee=nt;break}else we[nt].dts<xe?st=nt+1:Mt=nt-1;return this._list[Ee]}}]),jt}(),_t=function(){function jt(At){Object(v.a)(this,jt),this._type=At,this._list=[],this._lastAppendLocation=-1}return Object(p.a)(jt,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}},{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(xe){var we=this._list;if(we.length===0)return-2;var Ee=we.length-1,Ge=0,nt=0,st=Ee,Mt=0;if(xe<we[0].originalBeginDts)return Mt=-1,Mt;for(;nt<=st;)if(Ge=nt+Math.floor((st-nt)/2),Ge===Ee||xe>we[Ge].lastSample.originalDts&&xe<we[Ge+1].originalBeginDts){Mt=Ge;break}else we[Ge].originalBeginDts<xe?nt=Ge+1:st=Ge-1;return Mt}},{key:"_searchNearestSegmentAfter",value:function(xe){return this._searchNearestSegmentBefore(xe)+1}},{key:"append",value:function(xe){var we=this._list,Ee=xe,Ge=this._lastAppendLocation,nt=0;Ge!==-1&&Ge<we.length&&Ee.originalBeginDts>=we[Ge].lastSample.originalDts&&(Ge===we.length-1||Ge<we.length-1&&Ee.originalBeginDts<we[Ge+1].originalBeginDts)?nt=Ge+1:we.length>0&&(nt=this._searchNearestSegmentBefore(Ee.originalBeginDts)+1),this._lastAppendLocation=nt,this._list.splice(nt,0,Ee)}},{key:"getLastSegmentBefore",value:function(xe){var we=this._searchNearestSegmentBefore(xe);return we>=0?this._list[we]:null}},{key:"getLastSampleBefore",value:function(xe){var we=this.getLastSegmentBefore(xe);return we!=null?we.lastSample:null}},{key:"getLastSyncPointBefore",value:function(xe){for(var we=this._searchNearestSegmentBefore(xe),Ee=this._list[we].syncPoints;Ee.length===0&&we>0;)we--,Ee=this._list[we].syncPoints;return Ee.length>0?Ee[Ee.length-1]:null}}]),jt}(),Ft=function(){function jt(At){Object(v.a)(this,jt),this.TAG="MP4Remuxer",this._config=At,this._isLive=At.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 _t("audio"),this._videoSegmentInfoList=new _t("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(O.chrome&&(O.version.major<50||O.version.major===50&&O.version.build<2661)),this._fillSilentAfterSeek=O.msedge||O.msie,this._mp3UseMpegAudio=!O.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(p.a)(jt,[{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(xe){return xe.onDataAvailable=this.remux.bind(this),xe.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(xe){this._onInitSegment=xe}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(xe){this._onMediaSegment=xe}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(xe){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(xe,we){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(xe,we),this._remuxVideo(we),this._remuxAudio(xe)}},{key:"_onTrackMetadataReceived",value:function(xe,we){var Ee=null,Ge="mp4",nt=we.codec;if(xe==="audio")this._audioMeta=we,we.codec==="mp3"&&this._mp3UseMpegAudio?(Ge="mpeg",nt="",Ee=new Uint8Array):Ee=Ne.generateInitSegment(we);else if(xe==="video")this._videoMeta=we,Ee=Ne.generateInitSegment(we);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(xe,{type:xe,data:Ee.buffer,codec:nt,container:"".concat(xe,"/").concat(Ge),mediaDuration:we.duration})}},{key:"_calculateDtsBase",value:function(xe,we){if(this._dtsBaseInited)return;xe.samples&&xe.samples.length&&(this._audioDtsBase=xe.samples[0].dts),we.samples&&we.samples.length&&(this._videoDtsBase=we.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var xe=this._videoStashedLastSample,we=this._audioStashedLastSample,Ee={type:"video",id:1,sequenceNumber:0,samples:[],length:0};xe!=null&&(Ee.samples.push(xe),Ee.length=xe.length);var Ge={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};we!=null&&(Ge.samples.push(we),Ge.length=we.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Ee,!0),this._remuxAudio(Ge,!0)}},{key:"_remuxAudio",value:function(xe,we){if(this._audioMeta==null)return;var Ee=xe,Ge=Ee.samples,nt=void 0,st=-1,Mt=-1,wr=-1,Pr=this._audioMeta.refSampleDuration,qr=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,xt=this._dtsBaseInited&&this._audioNextDts===void 0,rt=!1;if(!Ge||Ge.length===0)return;if(Ge.length===1&&!we)return;var it=0,$t=null,Dt=0;qr?(it=0,Dt=Ee.length):(it=8,Dt=8+Ee.length);var St=null;if(Ge.length>1&&(St=Ge.pop(),Dt-=St.length),this._audioStashedLastSample!=null){var Ut=this._audioStashedLastSample;this._audioStashedLastSample=null,Ge.unshift(Ut),Dt+=Ut.length}St!=null&&(this._audioStashedLastSample=St);var vt=Ge[0].dts-this._dtsBase;if(this._audioNextDts)nt=vt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())nt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(rt=!0));else{var Pt=this._audioSegmentInfoList.getLastSampleBefore(vt);if(Pt!=null){var br=vt-(Pt.originalDts+Pt.duration);br<=3&&(br=0);var ur=Pt.dts+Pt.duration+br;nt=vt-ur}else nt=0}if(rt){var fr=vt-nt,Jr=this._videoSegmentInfoList.getLastSegmentBefore(vt);if(Jr!=null&&Jr.beginDts<fr){var Zr=Xe.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Zr){var Fn=Jr.beginDts,Rn=fr-Jr.beginDts;c.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Fn,", duration: ").concat(Rn)),Ge.unshift({unit:Zr,dts:Fn,pts:Fn}),Dt+=Zr.byteLength}}else rt=!1}for(var ei=[],di=0;di<Ge.length;di++){var gi=Ge[di],Ii=gi.unit,Ye=gi.dts-this._dtsBase,ge=Ye-nt;st===-1&&(st=ge);var Ie=0;if(di!==Ge.length-1){var Fe=Ge[di+1].dts-this._dtsBase-nt;Ie=Fe-ge}else if(St!=null){var Ve=St.dts-this._dtsBase-nt;Ie=Ve-ge}else ei.length>=1?Ie=ei[ei.length-1].duration:Ie=Math.floor(Pr);var We=!1,Qe=null;if(Ie>Pr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!O.safari){We=!0;var yt=Math.abs(Ie-Pr),ot=Math.ceil(yt/Pr),Zt=ge+Pr;c.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
`+"dts: ".concat(ge+Ie," ms, expected: ").concat(ge+Math.round(Pr)," ms, ")+"delta: ".concat(Math.round(yt)," ms, generate: ").concat(ot," frames"));var Rr=Xe.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Rr==null&&(c.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),Rr=Ii),Qe=[];for(var Lr=0;Lr<ot;Lr++){var Gr=Math.round(Zt);if(Qe.length>0){var er=Qe[Qe.length-1];er.duration=Gr-er.dts}var On={dts:Gr,pts:Gr,cts:0,unit:Rr,size:Rr.byteLength,duration:0,originalDts:Ye,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Qe.push(On),Dt+=On.size,Zt+=Pr}var yr=Qe[Qe.length-1];yr.duration=ge+Ie-yr.dts,Ie=Math.round(Pr)}ei.push({dts:ge,pts:ge,cts:0,unit:gi.unit,size:gi.unit.byteLength,duration:Ie,originalDts:Ye,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),We&&ei.push.apply(ei,Qe)}qr?$t=new Uint8Array(Dt):($t=new Uint8Array(Dt),$t[0]=Dt>>>24&255,$t[1]=Dt>>>16&255,$t[2]=Dt>>>8&255,$t[3]=Dt&255,$t.set(Ne.types.mdat,4));for(var gn=0;gn<ei.length;gn++){var tn=ei[gn].unit;$t.set(tn,it),it+=tn.byteLength}var Fr=ei[ei.length-1];Mt=Fr.dts+Fr.duration,this._audioNextDts=Mt;var Xn=new Bt;Xn.beginDts=st,Xn.endDts=Mt,Xn.beginPts=st,Xn.endPts=Mt,Xn.originalBeginDts=ei[0].originalDts,Xn.originalEndDts=Fr.originalDts+Fr.duration,Xn.firstSample=new Ot(ei[0].dts,ei[0].pts,ei[0].duration,ei[0].originalDts,!1),Xn.lastSample=new Ot(Fr.dts,Fr.pts,Fr.duration,Fr.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Xn),Ee.samples=ei,Ee.sequenceNumber++;var hi=null;qr?hi=new Uint8Array:hi=Ne.moof(Ee,st),Ee.samples=[],Ee.length=0;var _i={type:"audio",data:this._mergeBoxes(hi,$t).buffer,sampleCount:ei.length,info:Xn};qr&&xt&&(_i.timestampOffset=st),this._onMediaSegment("audio",_i)}},{key:"_remuxVideo",value:function(xe,we){if(this._videoMeta==null)return;var Ee=xe,Ge=Ee.samples,nt=void 0,st=-1,Mt=-1,wr=-1,Pr=-1;if(!Ge||Ge.length===0)return;if(Ge.length===1&&!we)return;var qr=8,xt=null,rt=8+xe.length,it=null;if(Ge.length>1&&(it=Ge.pop(),rt-=it.length),this._videoStashedLastSample!=null){var $t=this._videoStashedLastSample;this._videoStashedLastSample=null,Ge.unshift($t),rt+=$t.length}it!=null&&(this._videoStashedLastSample=it);var Dt=Ge[0].dts-this._dtsBase;if(this._videoNextDts)nt=Dt-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())nt=0;else{var St=this._videoSegmentInfoList.getLastSampleBefore(Dt);if(St!=null){var Ut=Dt-(St.originalDts+St.duration);Ut<=3&&(Ut=0);var vt=St.dts+St.duration+Ut;nt=Dt-vt}else nt=0}for(var Pt=new Bt,br=[],ur=0;ur<Ge.length;ur++){var fr=Ge[ur],Jr=fr.dts-this._dtsBase,Zr=fr.isKeyframe,Fn=Jr-nt,Rn=fr.cts,ei=Fn+Rn;st===-1&&(st=Fn,wr=ei);var di=0;if(ur!==Ge.length-1){var gi=Ge[ur+1].dts-this._dtsBase-nt;di=gi-Fn}else if(it!=null){var Ii=it.dts-this._dtsBase-nt;di=Ii-Fn}else br.length>=1?di=br[br.length-1].duration:di=Math.floor(this._videoMeta.refSampleDuration);if(Zr){var Ye=new Ot(Fn,ei,di,fr.dts,!0);Ye.fileposition=fr.fileposition,Pt.appendSyncPoint(Ye)}br.push({dts:Fn,pts:ei,cts:Rn,units:fr.units,size:fr.length,isKeyframe:Zr,duration:di,originalDts:Jr,flags:{isLeading:0,dependsOn:Zr?2:1,isDependedOn:Zr?1:0,hasRedundancy:0,isNonSync:Zr?0:1}})}xt=new Uint8Array(rt),xt[0]=rt>>>24&255,xt[1]=rt>>>16&255,xt[2]=rt>>>8&255,xt[3]=rt&255,xt.set(Ne.types.mdat,4);for(var ge=0;ge<br.length;ge++)for(var Ie=br[ge].units;Ie.length;){var Fe=Ie.shift(),Ve=Fe.data;xt.set(Ve,qr),qr+=Ve.byteLength}var We=br[br.length-1];if(Mt=We.dts+We.duration,Pr=We.pts+We.duration,this._videoNextDts=Mt,Pt.beginDts=st,Pt.endDts=Mt,Pt.beginPts=wr,Pt.endPts=Pr,Pt.originalBeginDts=br[0].originalDts,Pt.originalEndDts=We.originalDts+We.duration,Pt.firstSample=new Ot(br[0].dts,br[0].pts,br[0].duration,br[0].originalDts,br[0].isKeyframe),Pt.lastSample=new Ot(We.dts,We.pts,We.duration,We.originalDts,We.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Pt),Ee.samples=br,Ee.sequenceNumber++,this._forceFirstIDR){var Qe=br[0].flags;Qe.dependsOn=2,Qe.isNonSync=0}var yt=Ne.moof(Ee,st);Ee.samples=[],Ee.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(yt,xt).buffer,sampleCount:br.length,info:Pt})}},{key:"_mergeBoxes",value:function(xe,we){var Ee=new Uint8Array(xe.byteLength+we.byteLength);return Ee.set(xe,0),Ee.set(we,xe.byteLength),Ee}}]),jt}(),ke=Ft,te={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"},Q=te,qe=function(){function jt(At,xe){Object(v.a)(this,jt),this.TAG="TransmuxingController",this._emitter=new f.a,this._config=xe,At.segments||(At.segments=[{duration:At.duration,filesize:At.filesize,url:At.url}]),typeof At.cors!="boolean"&&(At.cors=!0),typeof At.withCredentials!="boolean"&&(At.withCredentials=!1),this._mediaDataSource=At,this._currentSegmentIndex=0;var we=0;this._mediaDataSource.segments.forEach(function(Ee){Ee.timestampBase=we,we+=Ee.duration,Ee.cors=At.cors,Ee.withCredentials=At.withCredentials,xe.referrerPolicy&&(Ee.referrerPolicy=xe.referrerPolicy)}),!isNaN(we)&&this._mediaDataSource.duration!==we&&(this._mediaDataSource.duration=we),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(p.a)(jt,[{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(xe,we){this._emitter.addListener(xe,we)}},{key:"off",value:function(xe,we){this._emitter.removeListener(xe,we)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(xe,we){this._currentSegmentIndex=xe;var Ee=this._mediaDataSource.segments[xe],Ge=this._ioctl=new V(Ee,this._config,xe);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),we?this._demuxer.bindDataSource(this._ioctl):Ge.onDataArrival=this._onInitChunkArrival.bind(this),Ge.open(we)}},{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(xe){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var we=this._searchSegmentIndexContains(xe);if(we===this._currentSegmentIndex){var Ee=this._mediaInfo.segments[we];if(Ee==null)this._pendingSeekTime=xe;else{var Ge=Ee.getNearestKeyframe(xe);this._remuxer.seek(Ge.milliseconds),this._ioctl.seek(Ge.fileposition),this._pendingResolveSeekPoint=Ge.milliseconds}}else{var nt=this._mediaInfo.segments[we];if(nt==null)this._pendingSeekTime=xe,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(we);else{var st=nt.getNearestKeyframe(xe);this._internalAbort(),this._remuxer.seek(xe),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[we].timestampBase,this._loadSegment(we,st.fileposition),this._pendingResolveSeekPoint=st.milliseconds,this._reportSegmentMediaInfo(we)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(xe){for(var we=this._mediaDataSource.segments,Ee=we.length-1,Ge=0;Ge<we.length;Ge++)if(xe<we[Ge].timestampBase){Ee=Ge-1;break}return Ee}},{key:"_onInitChunkArrival",value:function(xe,we){var Ee=this,Ge=null,nt=0;if(we>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,nt=this._demuxer.parseChunks(xe,we);else if((Ge=Et.probe(xe)).match){this._demuxer=new Et(Ge,this._config),this._remuxer||(this._remuxer=new ke(this._config));var st=this._mediaDataSource;st.duration!=null&&!isNaN(st.duration)&&(this._demuxer.overridedDuration=st.duration),typeof st.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=st.hasAudio),typeof st.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=st.hasVideo),this._demuxer.timestampBase=st.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),nt=this._demuxer.parseChunks(xe,we)}else Ge=null,c.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Ee._internalAbort()}),this._emitter.emit(Q.DEMUX_ERROR,De.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),nt=0;return nt}},{key:"_onMediaInfo",value:function(xe){var we=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},xe),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,ue.prototype));var Ee=Object.assign({},xe);Object.setPrototypeOf(Ee,ue.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Ee,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var Ge=we._pendingSeekTime;we._pendingSeekTime=null,we.seek(Ge)})}},{key:"_onMetaDataArrived",value:function(xe){this._emitter.emit(Q.METADATA_ARRIVED,xe)}},{key:"_onScriptDataArrived",value:function(xe){this._emitter.emit(Q.SCRIPTDATA_ARRIVED,xe)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(xe){var we=xe,Ee=we+1;Ee<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Ee)):(this._remuxer.flushStashedSamples(),this._emitter.emit(Q.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(xe){var we=this._ioctl.extraData;this._mediaDataSource.segments[we].redirectedURL=xe}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(Q.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(xe,we){c.e(this.TAG,"IOException: type = ".concat(xe,", code = ").concat(we.code,", msg = ").concat(we.msg)),this._emitter.emit(Q.IO_ERROR,xe,we),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(xe,we){c.e(this.TAG,"DemuxException: type = ".concat(xe,", info = ").concat(we)),this._emitter.emit(Q.DEMUX_ERROR,xe,we)}},{key:"_onRemuxerInitSegmentArrival",value:function(xe,we){this._emitter.emit(Q.INIT_SEGMENT,xe,we)}},{key:"_onRemuxerMediaSegmentArrival",value:function(xe,we){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(Q.MEDIA_SEGMENT,xe,we),this._pendingResolveSeekPoint!=null&&xe==="video"){var Ee=we.info.syncPoints,Ge=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,O.safari&&Ee.length>0&&Ee[0].originalDts===Ge&&(Ge=Ee[0].pts),this._emitter.emit(Q.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(xe){var we=this._mediaInfo.segments[xe],Ee=Object.assign({},we);Ee.duration=this._mediaInfo.duration,Ee.segmentCount=this._mediaInfo.segmentCount,delete Ee.segments,delete Ee.keyframesIndex,this._emitter.emit(Q.MEDIA_INFO,Ee)}},{key:"_reportStatisticsInfo",value:function(){var xe={};xe.url=this._ioctl.currentURL,xe.hasRedirect=this._ioctl.hasRedirect,xe.hasRedirect&&(xe.redirectedURL=this._ioctl.currentRedirectedURL),xe.speed=this._ioctl.currentSpeed,xe.loaderType=this._ioctl.loaderType,xe.currentSegmentIndex=this._currentSegmentIndex,xe.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Q.STATISTICS_INFO,xe)}}]),jt}(),je=qe,q=function(At){var xe="TransmuxingWorker",we=null,Ee=Dt.bind(this);m.install(),At.addEventListener("message",function(St){switch(St.data.cmd){case"init":we=new je(St.data.param[0],St.data.param[1]),we.on(Q.IO_ERROR,rt.bind(this)),we.on(Q.DEMUX_ERROR,it.bind(this)),we.on(Q.INIT_SEGMENT,Ge.bind(this)),we.on(Q.MEDIA_SEGMENT,nt.bind(this)),we.on(Q.LOADING_COMPLETE,st.bind(this)),we.on(Q.RECOVERED_EARLY_EOF,Mt.bind(this)),we.on(Q.MEDIA_INFO,wr.bind(this)),we.on(Q.METADATA_ARRIVED,Pr.bind(this)),we.on(Q.SCRIPTDATA_ARRIVED,qr.bind(this)),we.on(Q.STATISTICS_INFO,xt.bind(this)),we.on(Q.RECOMMEND_SEEKPOINT,$t.bind(this));break;case"destroy":we&&(we.destroy(),we=null),At.postMessage({msg:"destroyed"});break;case"start":we.start();break;case"stop":we.stop();break;case"seek":we.seek(St.data.param);break;case"pause":we.pause();break;case"resume":we.resume();break;case"logging_config":{var Ut=St.data.param;Se.applyConfig(Ut),Ut.enableCallback===!0?Se.addLogListener(Ee):Se.removeLogListener(Ee);break}}});function Ge(St,Ut){var vt={msg:Q.INIT_SEGMENT,data:{type:St,data:Ut}};At.postMessage(vt,[Ut.data])}function nt(St,Ut){var vt={msg:Q.MEDIA_SEGMENT,data:{type:St,data:Ut}};At.postMessage(vt,[Ut.data])}function st(){var St={msg:Q.LOADING_COMPLETE};At.postMessage(St)}function Mt(){var St={msg:Q.RECOVERED_EARLY_EOF};At.postMessage(St)}function wr(St){var Ut={msg:Q.MEDIA_INFO,data:St};At.postMessage(Ut)}function Pr(St){var Ut={msg:Q.METADATA_ARRIVED,data:St};At.postMessage(Ut)}function qr(St){var Ut={msg:Q.SCRIPTDATA_ARRIVED,data:St};At.postMessage(Ut)}function xt(St){var Ut={msg:Q.STATISTICS_INFO,data:St};At.postMessage(Ut)}function rt(St,Ut){At.postMessage({msg:Q.IO_ERROR,data:{type:St,info:Ut}})}function it(St,Ut){At.postMessage({msg:Q.DEMUX_ERROR,data:{type:St,info:Ut}})}function $t(St){At.postMessage({msg:Q.RECOMMEND_SEEKPOINT,data:St})}function Dt(St,Ut){At.postMessage({msg:"logcat_callback",data:{type:St,logcat:Ut}})}},wt=q,Vt=function(){function jt(At,xe){if(Object(v.a)(this,jt),this.TAG="Transmuxer",this._emitter=new f.a,xe.enableWorker&&typeof Worker!="undefined")try{var we=n("0r65");this._worker=we(wt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[At,xe]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Se.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Se.getConfig()})}catch(Ge){c.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new je(At,xe)}else this._controller=new je(At,xe);if(this._controller){var Ee=this._controller;Ee.on(Q.IO_ERROR,this._onIOError.bind(this)),Ee.on(Q.DEMUX_ERROR,this._onDemuxError.bind(this)),Ee.on(Q.INIT_SEGMENT,this._onInitSegment.bind(this)),Ee.on(Q.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Ee.on(Q.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Ee.on(Q.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Ee.on(Q.MEDIA_INFO,this._onMediaInfo.bind(this)),Ee.on(Q.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Ee.on(Q.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Ee.on(Q.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Ee.on(Q.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(p.a)(jt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Se.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(xe,we){this._emitter.addListener(xe,we)}},{key:"off",value:function(xe,we){this._emitter.removeListener(xe,we)}},{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(xe){this._worker?this._worker.postMessage({cmd:"seek",param:xe}):this._controller.seek(xe)}},{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(xe,we){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Q.INIT_SEGMENT,xe,we)})}},{key:"_onMediaSegment",value:function(xe,we){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Q.MEDIA_SEGMENT,xe,we)})}},{key:"_onLoadingComplete",value:function(){var xe=this;Promise.resolve().then(function(){xe._emitter.emit(Q.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var xe=this;Promise.resolve().then(function(){xe._emitter.emit(Q.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(xe){var we=this;Promise.resolve().then(function(){we._emitter.emit(Q.MEDIA_INFO,xe)})}},{key:"_onMetaDataArrived",value:function(xe){var we=this;Promise.resolve().then(function(){we._emitter.emit(Q.METADATA_ARRIVED,xe)})}},{key:"_onScriptDataArrived",value:function(xe){var we=this;Promise.resolve().then(function(){we._emitter.emit(Q.SCRIPTDATA_ARRIVED,xe)})}},{key:"_onStatisticsInfo",value:function(xe){var we=this;Promise.resolve().then(function(){we._emitter.emit(Q.STATISTICS_INFO,xe)})}},{key:"_onIOError",value:function(xe,we){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Q.IO_ERROR,xe,we)})}},{key:"_onDemuxError",value:function(xe,we){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Q.DEMUX_ERROR,xe,we)})}},{key:"_onRecommendSeekpoint",value:function(xe){var we=this;Promise.resolve().then(function(){we._emitter.emit(Q.RECOMMEND_SEEKPOINT,xe)})}},{key:"_onLoggingConfigChanged",value:function(xe){this._worker&&this._worker.postMessage({cmd:"logging_config",param:xe})}},{key:"_onWorkerMessage",value:function(xe){var we=xe.data,Ee=we.data;if(we.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(we.msg){case Q.INIT_SEGMENT:case Q.MEDIA_SEGMENT:this._emitter.emit(we.msg,Ee.type,Ee.data);break;case Q.LOADING_COMPLETE:case Q.RECOVERED_EARLY_EOF:this._emitter.emit(we.msg);break;case Q.MEDIA_INFO:Object.setPrototypeOf(Ee,ue.prototype),this._emitter.emit(we.msg,Ee);break;case Q.METADATA_ARRIVED:case Q.SCRIPTDATA_ARRIVED:case Q.STATISTICS_INFO:this._emitter.emit(we.msg,Ee);break;case Q.IO_ERROR:case Q.DEMUX_ERROR:this._emitter.emit(we.msg,Ee.type,Ee.info);break;case Q.RECOMMEND_SEEKPOINT:this._emitter.emit(we.msg,Ee);break;case"logcat_callback":c.emitter.emit("log",Ee.type,Ee.logcat);break;default:break}}}]),jt}(),lt=Vt,or={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},vr=or,An=function(){function jt(At){Object(v.a)(this,jt),this.TAG="MSEController",this._config=At,this._emitter=new f.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new kt}return Object(p.a)(jt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(xe,we){this._emitter.addListener(xe,we)}},{key:"off",value:function(xe,we){this._emitter.removeListener(xe,we)}},{key:"attachMediaElement",value:function(xe){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var we=this._mediaSource=new window.MediaSource;we.addEventListener("sourceopen",this.e.onSourceOpen),we.addEventListener("sourceended",this.e.onSourceEnded),we.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=xe,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),xe.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var xe=this._mediaSource;for(var we in this._sourceBuffers){var Ee=this._pendingSegments[we];Ee.splice(0,Ee.length),this._pendingSegments[we]=null,this._pendingRemoveRanges[we]=null,this._lastInitSegments[we]=null;var Ge=this._sourceBuffers[we];if(Ge){if(xe.readyState!=="closed"){try{xe.removeSourceBuffer(Ge)}catch(nt){c.e(this.TAG,nt.message)}Ge.removeEventListener("error",this.e.onSourceBufferError),Ge.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[we]=null,this._sourceBuffers[we]=null}}if(xe.readyState==="open")try{xe.endOfStream()}catch(nt){c.e(this.TAG,nt.message)}xe.removeEventListener("sourceopen",this.e.onSourceOpen),xe.removeEventListener("sourceended",this.e.onSourceEnded),xe.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(xe,we){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(xe),this._pendingSegments[xe.type].push(xe);return}var Ee=xe,Ge="".concat(Ee.container);Ee.codec&&Ee.codec.length>0&&(Ge+=";codecs=".concat(Ee.codec));var nt=!1;if(c.v(this.TAG,"Received Initialization Segment, mimeType: "+Ge),this._lastInitSegments[Ee.type]=Ee,Ge!==this._mimeTypes[Ee.type]){if(this._mimeTypes[Ee.type])c.v(this.TAG,"Notice: ".concat(Ee.type," mimeType changed, origin: ").concat(this._mimeTypes[Ee.type],", target: ").concat(Ge));else{nt=!0;try{var st=this._sourceBuffers[Ee.type]=this._mediaSource.addSourceBuffer(Ge);st.addEventListener("error",this.e.onSourceBufferError),st.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Mt){c.e(this.TAG,Mt.message),this._emitter.emit(vr.ERROR,{code:Mt.code,msg:Mt.message});return}}this._mimeTypes[Ee.type]=Ge}we||this._pendingSegments[Ee.type].push(Ee),nt||this._sourceBuffers[Ee.type]&&!this._sourceBuffers[Ee.type].updating&&this._doAppendSegments(),O.safari&&Ee.container==="audio/mpeg"&&Ee.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Ee.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(xe){var we=xe;this._pendingSegments[we.type].push(we),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Ee=this._sourceBuffers[we.type];Ee&&!Ee.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(xe){for(var we in this._sourceBuffers){if(!this._sourceBuffers[we])continue;var Ee=this._sourceBuffers[we];if(this._mediaSource.readyState==="open")try{Ee.abort()}catch(Pr){c.e(this.TAG,Pr.message)}this._idrList.clear();var Ge=this._pendingSegments[we];if(Ge.splice(0,Ge.length),this._mediaSource.readyState==="closed")continue;for(var nt=0;nt<Ee.buffered.length;nt++){var st=Ee.buffered.start(nt),Mt=Ee.buffered.end(nt);this._pendingRemoveRanges[we].push({start:st,end:Mt})}if(Ee.updating||this._doRemoveRanges(),O.safari){var wr=this._lastInitSegments[we];wr&&(this._pendingSegments[we].push(wr),Ee.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var xe=this._mediaSource,we=this._sourceBuffers;if(!xe||xe.readyState!=="open"){xe&&xe.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}we.video&&we.video.updating||we.audio&&we.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,xe.endOfStream())}},{key:"getNearestKeyframe",value:function(xe){return this._idrList.getLastSyncPointBeforeDts(xe)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var xe=this._mediaElement.currentTime;for(var we in this._sourceBuffers){var Ee=this._sourceBuffers[we];if(Ee){var Ge=Ee.buffered;if(Ge.length>=1&&xe-Ge.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var xe=this._mediaElement.currentTime;for(var we in this._sourceBuffers){var Ee=this._sourceBuffers[we];if(Ee){for(var Ge=Ee.buffered,nt=!1,st=0;st<Ge.length;st++){var Mt=Ge.start(st),wr=Ge.end(st);if(Mt<=xe&&xe<wr+3){if(xe-Mt>=this._config.autoCleanupMaxBackwardDuration){nt=!0;var Pr=xe-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[we].push({start:Mt,end:Pr})}}else wr<xe&&(nt=!0,this._pendingRemoveRanges[we].push({start:Mt,end:wr}))}nt&&!Ee.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var xe=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(xe.video&&xe.video.updating||xe.audio&&xe.audio.updating)return;var we=this._mediaSource.duration,Ee=this._pendingMediaDuration;Ee>0&&(isNaN(we)||Ee>we)&&(c.v(this.TAG,"Update MediaSource duration from ".concat(we," to ").concat(Ee)),this._mediaSource.duration=Ee),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var xe in this._pendingRemoveRanges){if(!this._sourceBuffers[xe]||this._sourceBuffers[xe].updating)continue;for(var we=this._sourceBuffers[xe],Ee=this._pendingRemoveRanges[xe];Ee.length&&!we.updating;){var Ge=Ee.shift();we.remove(Ge.start,Ge.end)}}}},{key:"_doAppendSegments",value:function(){var xe=this._pendingSegments;for(var we in xe){if(!this._sourceBuffers[we]||this._sourceBuffers[we].updating)continue;if(xe[we].length>0){var Ee=xe[we].shift();if(Ee.timestampOffset){var Ge=this._sourceBuffers[we].timestampOffset,nt=Ee.timestampOffset/1e3,st=Math.abs(Ge-nt);st>.1&&(c.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(Ge," to ").concat(nt)),this._sourceBuffers[we].timestampOffset=nt),delete Ee.timestampOffset}if(!Ee.data||Ee.data.byteLength===0)continue;try{this._sourceBuffers[we].appendBuffer(Ee.data),this._isBufferFull=!1,we==="video"&&Ee.hasOwnProperty("info")&&this._idrList.appendArray(Ee.info.syncPoints)}catch(Mt){this._pendingSegments[we].unshift(Ee),Mt.code===22?(this._isBufferFull||this._emitter.emit(vr.BUFFER_FULL),this._isBufferFull=!0):(c.e(this.TAG,Mt.message),this._emitter.emit(vr.ERROR,{code:Mt.code,msg:Mt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(c.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var xe=this._pendingSourceBufferInit;xe.length;){var we=xe.shift();this.appendInitSegment(we,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(vr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){c.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){c.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 xe=this._pendingSegments;return xe.video.length>0||xe.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var xe=this._pendingRemoveRanges;return xe.video.length>0||xe.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(vr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(xe){c.e(this.TAG,"SourceBuffer Error: ".concat(xe))}}]),jt}(),hr=An,xr={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},nr={NETWORK_EXCEPTION:h.EXCEPTION,NETWORK_STATUS_CODE_INVALID:h.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:h.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:h.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:De.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:De.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:De.CODEC_UNSUPPORTED},Yt=function(){function jt(At,xe){if(Object(v.a)(this,jt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new f.a,this._config=G(),typeof xe=="object"&&Object.assign(this._config,xe),At.type.toLowerCase()!=="flv")throw new r("FlvPlayer requires an flv MediaDataSource input!");At.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=At,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 we=O.chrome&&(O.version.major<50||O.version.major===50&&O.version.build<2661);this._alwaysSeekKeyframe=!!(we||O.msedge||O.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(p.a)(jt,[{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(xe,we){var Ee=this;xe===ve.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Ee._emitter.emit(ve.MEDIA_INFO,Ee.mediaInfo)}):xe===ve.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Ee._emitter.emit(ve.STATISTICS_INFO,Ee.statisticsInfo)})),this._emitter.addListener(xe,we)}},{key:"off",value:function(xe,we){this._emitter.removeListener(xe,we)}},{key:"attachMediaElement",value:function(xe){var we=this;if(this._mediaElement=xe,xe.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),xe.addEventListener("seeking",this.e.onvSeeking),xe.addEventListener("canplay",this.e.onvCanPlay),xe.addEventListener("stalled",this.e.onvStalled),xe.addEventListener("progress",this.e.onvProgress),this._msectl=new hr(this._config),this._msectl.on(vr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(vr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(vr.SOURCE_OPEN,function(){we._mseSourceOpened=!0,we._hasPendingLoad&&(we._hasPendingLoad=!1,we.load())}),this._msectl.on(vr.ERROR,function(Ee){we._emitter.emit(ve.ERROR,xr.MEDIA_ERROR,nr.MEDIA_MSE_ERROR,Ee)}),this._msectl.attachMediaElement(xe),this._pendingSeekTime!=null)try{xe.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ee){}}},{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 xe=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new lt(this._mediaDataSource,this._config),this._transmuxer.on(Q.INIT_SEGMENT,function(we,Ee){xe._msectl.appendInitSegment(Ee)}),this._transmuxer.on(Q.MEDIA_SEGMENT,function(we,Ee){if(xe._msectl.appendMediaSegment(Ee),xe._config.lazyLoad&&!xe._config.isLive){var Ge=xe._mediaElement.currentTime;Ee.info.endDts>=(Ge+xe._config.lazyLoadMaxDuration)*1e3&&(xe._progressChecker==null&&(c.v(xe.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),xe._suspendTransmuxer()))}}),this._transmuxer.on(Q.LOADING_COMPLETE,function(){xe._msectl.endOfStream(),xe._emitter.emit(ve.LOADING_COMPLETE)}),this._transmuxer.on(Q.RECOVERED_EARLY_EOF,function(){xe._emitter.emit(ve.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Q.IO_ERROR,function(we,Ee){xe._emitter.emit(ve.ERROR,xr.NETWORK_ERROR,we,Ee)}),this._transmuxer.on(Q.DEMUX_ERROR,function(we,Ee){xe._emitter.emit(ve.ERROR,xr.MEDIA_ERROR,we,{code:-1,msg:Ee})}),this._transmuxer.on(Q.MEDIA_INFO,function(we){xe._mediaInfo=we,xe._emitter.emit(ve.MEDIA_INFO,Object.assign({},we))}),this._transmuxer.on(Q.METADATA_ARRIVED,function(we){xe._emitter.emit(ve.METADATA_ARRIVED,we)}),this._transmuxer.on(Q.SCRIPTDATA_ARRIVED,function(we){xe._emitter.emit(ve.SCRIPTDATA_ARRIVED,we)}),this._transmuxer.on(Q.STATISTICS_INFO,function(we){xe._statisticsInfo=xe._fillStatisticsInfo(we),xe._emitter.emit(ve.STATISTICS_INFO,Object.assign({},xe._statisticsInfo))}),this._transmuxer.on(Q.RECOMMEND_SEEKPOINT,function(we){xe._mediaElement&&!xe._config.accurateSeek&&(xe._requestSetTime=!0,xe._mediaElement.currentTime=we/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(xe){this._mediaElement.volume=xe}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(xe){this._mediaElement.muted=xe}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(xe){this._mediaElement?this._internalSeek(xe):this._pendingSeekTime=xe}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}},{key:"_fillStatisticsInfo",value:function(xe){if(xe.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return xe;var we=!0,Ee=0,Ge=0;if(this._mediaElement.getVideoPlaybackQuality){var nt=this._mediaElement.getVideoPlaybackQuality();Ee=nt.totalVideoFrames,Ge=nt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ee=this._mediaElement.webkitDecodedFrameCount,Ge=this._mediaElement.webkitDroppedFrameCount):we=!1;return we&&(xe.decodedFrames=Ee,xe.droppedFrames=Ge),xe}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var xe=this._mediaElement.buffered,we=this._mediaElement.currentTime,Ee=0,Ge=0,nt=0;nt<xe.length;nt++){var st=xe.start(nt),Mt=xe.end(nt);if(st<=we&&we<Mt){Ee=st,Ge=Mt;break}}Ge>=we+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(c.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){c.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 xe=this._mediaElement.currentTime,we=this._mediaElement.buffered,Ee=!1,Ge=0;Ge<we.length;Ge++){var nt=we.start(Ge),st=we.end(Ge);if(xe>=nt&&xe<st){xe>=st-this._config.lazyLoadRecoverDuration&&(Ee=!0);break}}Ee&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Ee&&(c.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(xe){for(var we=this._mediaElement.buffered,Ee=0;Ee<we.length;Ee++){var Ge=we.start(Ee),nt=we.end(Ee);if(xe>=Ge&&xe<nt)return!0}return!1}},{key:"_internalSeek",value:function(xe){var we=this._isTimepointBuffered(xe),Ee=!1,Ge=0;if(xe<1&&this._mediaElement.buffered.length>0){var nt=this._mediaElement.buffered.start(0);(nt<1&&xe<nt||O.safari)&&(Ee=!0,Ge=O.safari?.1:nt)}if(Ee)this._requestSetTime=!0,this._mediaElement.currentTime=Ge;else if(we){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=xe;else{var st=this._msectl.getNearestKeyframe(Math.floor(xe*1e3));this._requestSetTime=!0,st!=null?this._mediaElement.currentTime=st.dts/1e3:this._mediaElement.currentTime=xe}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(xe),this._transmuxer.seek(Math.floor(xe*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=xe)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var xe=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(xe)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(xe),this._transmuxer.seek(Math.floor(xe*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=xe))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(xe){var we=this._mediaElement;if(xe||!this._receivedCanPlay||we.readyState<2){var Ee=we.buffered;Ee.length>0&&we.currentTime<Ee.start(0)&&(c.w(this.TAG,"Playback seems stuck at ".concat(we.currentTime,", seek to ").concat(Ee.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Ee.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(xe){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(xe){var we=this._mediaElement.currentTime,Ee=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(we<1&&Ee.length>0){var Ge=Ee.start(0);if(Ge<1&&we<Ge||O.safari){this._requestSetTime=!0,this._mediaElement.currentTime=O.safari?.1:Ge;return}}if(this._isTimepointBuffered(we)){if(this._alwaysSeekKeyframe){var nt=this._msectl.getNearestKeyframe(Math.floor(we*1e3));nt!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=nt.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:we,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(xe){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(xe){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(xe){this._checkAndResumeStuckPlayback()}}]),jt}(),gt=Yt,zr=function(){function jt(At,xe){if(Object(v.a)(this,jt),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new f.a,this._config=G(),typeof xe=="object"&&Object.assign(this._config,xe),At.type.toLowerCase()==="flv")throw new r("NativePlayer does't support flv MediaDataSource input!");if(At.hasOwnProperty("segments"))throw new r("NativePlayer(".concat(At.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=At,this._mediaElement=null}return Object(p.a)(jt,[{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(xe,we){var Ee=this;xe===ve.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ee._emitter.emit(ve.MEDIA_INFO,Ee.mediaInfo)}):xe===ve.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ee._emitter.emit(ve.STATISTICS_INFO,Ee.statisticsInfo)})),this._emitter.addListener(xe,we)}},{key:"off",value:function(xe,we){this._emitter.removeListener(xe,we)}},{key:"attachMediaElement",value:function(xe){if(this._mediaElement=xe,xe.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{xe.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(we){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"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(xe){this._mediaElement.volume=xe}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(xe){this._mediaElement.muted=xe}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(xe){this._mediaElement?this._mediaElement.currentTime=xe:this._pendingSeekTime=xe}},{key:"mediaInfo",get:function(){var xe=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",we={mimeType:xe+this._mediaDataSource.type};return this._mediaElement&&(we.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(we.width=this._mediaElement.videoWidth,we.height=this._mediaElement.videoHeight)),we}},{key:"statisticsInfo",get:function(){var xe={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return xe;var we=!0,Ee=0,Ge=0;if(this._mediaElement.getVideoPlaybackQuality){var nt=this._mediaElement.getVideoPlaybackQuality();Ee=nt.totalVideoFrames,Ge=nt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ee=this._mediaElement.webkitDecodedFrameCount,Ge=this._mediaElement.webkitDroppedFrameCount):we=!1;return we&&(xe.decodedFrames=Ee,xe.droppedFrames=Ge),xe}},{key:"_onvLoadedMetadata",value:function(xe){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(ve.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(ve.STATISTICS_INFO,this.statisticsInfo)}}]),jt}(),pn=zr;m.install();function Nn(jt,At){var xe=jt;if(xe==null||typeof xe!="object")throw new r("MediaDataSource must be an javascript object!");if(!xe.hasOwnProperty("type"))throw new r("MediaDataSource must has type field to indicate video file type!");switch(xe.type){case"flv":return new gt(xe,At);default:return new pn(xe,At)}}function Vn(){return ye.supportMSEH264Playback()}function xi(){return ye.getFeatureList()}var bn={};bn.createPlayer=Nn,bn.isSupported=Vn,bn.getFeatureList=xi,bn.BaseLoader=A,bn.LoaderStatus=u,bn.LoaderErrors=h,bn.Events=ve,bn.ErrorTypes=xr,bn.ErrorDetails=nr,bn.FlvPlayer=gt,bn.NativePlayer=pn,bn.LoggingControl=Se,Object.defineProperty(bn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Pn=N.a=bn},GVMX:function(M,N,n){var v=n("JEkh"),p=v.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});M.exports=p},GdRQ:function(M,N,n){"use strict";function v(O){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(E){return typeof E}:v=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},v(O)}Object.defineProperty(N,"__esModule",{value:!0}),N.isMac=u,N.isWindows=h,N.isIOS=A,N.isSafari=y,N.isIE=w,N.isEdge=b,N.isFirefox=x,N.hasScrollbarGutter=N.supportsImageMetadata=N.supportsCursorURIs=N.dragThreshold=N.isTouchDevice=void 0;var p=m(n("Lo0S"));function S(){if(typeof WeakMap!="function")return null;var O=new WeakMap;return S=function(){return O},O}function m(O){if(O&&O.__esModule)return O;if(O===null||v(O)!=="object"&&typeof O!="function")return{default:O};var T=S();if(T&&T.has(O))return T.get(O);var E={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in O)if(Object.prototype.hasOwnProperty.call(O,_)){var L=C?Object.getOwnPropertyDescriptor(O,_):null;L&&(L.get||L.set)?Object.defineProperty(E,_,L):E[_]=O[_]}return E.default=O,T&&T.set(O,E),E}var g="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;N.isTouchDevice=g,window.addEventListener("touchstart",function O(){N.isTouchDevice=g=!0,window.removeEventListener("touchstart",O,!1)},!1);var f=10*(window.devicePixelRatio||1);N.dragThreshold=f;var d=!1;try{var c=document.createElement("canvas");c.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',c.style.cursor.indexOf("url")===0?(p.Info("Data URI scheme cursor supported"),d=!0):p.Warn("Data URI scheme cursor not supported")}catch(O){p.Error("Data URI scheme cursor test exception: "+O)}var o=d;N.supportsCursorURIs=o;var i=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),i=!0}catch(O){}var t=i;N.supportsImageMetadata=t;var a=!0;try{var e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",document.body.appendChild(e);var l=document.createElement("div");e.appendChild(l);var r=e.offsetWidth-l.offsetWidth;e.parentNode.removeChild(e),a=r!=0}catch(O){p.Error("Scrollbar test exception: "+O)}var s=a;N.hasScrollbarGutter=s;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function h(){return navigator&&!!/win/i.exec(navigator.platform)}function A(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function y(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function w(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function b(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function x(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(M,N,n){var v=n("bYtY"),p=n("6Ic6"),S=n("IwbS"),m=n("y+Vt"),g=n("sK/D"),f=g.createClipPath,d=["itemStyle"],c=["emphasis","itemStyle"],o=["color","color0","borderColor","borderColor0"],i=p.extend({type:"candlestick",render:function(y,w,b){this.group.removeClipPath(),this._updateDrawMode(y),this._isLargeDraw?this._renderLarge(y):this._renderNormal(y)},incrementalPrepareRender:function(y,w,b){this._clear(),this._updateDrawMode(y)},incrementalRender:function(y,w,b,x){this._isLargeDraw?this._incrementalRenderLarge(y,w):this._incrementalRenderNormal(y,w)},_updateDrawMode:function(y){var w=y.pipelineContext.large;(this._isLargeDraw==null||w^this._isLargeDraw)&&(this._isLargeDraw=w,this._clear())},_renderNormal:function(y){var w=y.getData(),b=this._data,x=this.group,O=w.getLayout("isSimpleBox"),T=y.get("clip",!0),E=y.coordinateSystem,C=E.getArea&&E.getArea();this._data||x.removeAll(),w.diff(b).add(function(_){if(w.hasValue(_)){var L,P=w.getItemLayout(_);if(T&&e(C,P))return;L=a(P,_,!0),S.initProps(L,{shape:{points:P.ends}},y,_),l(L,w,_,O),x.add(L),w.setItemGraphicEl(_,L)}}).update(function(_,L){var P=b.getItemGraphicEl(L);if(!w.hasValue(_)){x.remove(P);return}var k=w.getItemLayout(_);if(T&&e(C,k)){x.remove(P);return}P?S.updateProps(P,{shape:{points:k.ends}},y,_):P=a(k,_),l(P,w,_,O),x.add(P),w.setItemGraphicEl(_,P)}).remove(function(_){var L=b.getItemGraphicEl(_);L&&x.remove(L)}).execute(),this._data=w},_renderLarge:function(y){this._clear(),u(y,this.group);var w=y.get("clip",!0)?f(y.coordinateSystem,!1,y):null;w?this.group.setClipPath(w):this.group.removeClipPath()},_incrementalRenderNormal:function(y,w){for(var b=w.getData(),x=b.getLayout("isSimpleBox"),O;(O=y.next())!=null;){var T,E=b.getItemLayout(O);T=a(E,O),l(T,b,O,x),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(y,w){u(w,this.group,!0)},remove:function(y){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:v.noop}),t=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(y,w){var b=w.points;this.__simpleBox?(y.moveTo(b[4][0],b[4][1]),y.lineTo(b[6][0],b[6][1])):(y.moveTo(b[0][0],b[0][1]),y.lineTo(b[1][0],b[1][1]),y.lineTo(b[2][0],b[2][1]),y.lineTo(b[3][0],b[3][1]),y.closePath(),y.moveTo(b[4][0],b[4][1]),y.lineTo(b[5][0],b[5][1]),y.moveTo(b[6][0],b[6][1]),y.lineTo(b[7][0],b[7][1]))}});function a(y,w,b){var x=y.ends;return new t({shape:{points:b?r(x,y):x},z2:100})}function e(y,w){for(var b=!0,x=0;x<w.ends.length;x++)if(y.contain(w.ends[x][0],w.ends[x][1])){b=!1;break}return b}function l(y,w,b,x){var O=w.getItemModel(b),T=O.getModel(d),E=w.getItemVisual(b,"color"),C=w.getItemVisual(b,"borderColor")||E,_=T.getItemStyle(o);y.useStyle(_),y.style.strokeNoScale=!0,y.style.fill=E,y.style.stroke=C,y.__simpleBox=x;var L=O.getModel(c).getItemStyle();S.setHoverStyle(y,L)}function r(y,w){return v.map(y,function(b){return b=b.slice(),b[1]=w.initBaseline,b})}var s=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(y,w){for(var b=w.points,x=0;x<b.length;)if(this.__sign===b[x++]){var O=b[x++];y.moveTo(O,b[x++]),y.lineTo(O,b[x++])}else x+=3}});function u(y,w,b){var x=y.getData(),O=x.getLayout("largePoints"),T=new s({shape:{points:O},__sign:1});w.add(T);var E=new s({shape:{points:O},__sign:-1});w.add(E),h(1,T,y,x),h(-1,E,y,x),b&&(T.incremental=!0,E.incremental=!0)}function h(y,w,b,x){var O=y>0?"P":"N",T=x.getVisual("borderColor"+O)||x.getVisual("color"+O),E=b.getModel(d).getItemStyle(o);w.useStyle(E),w.style.fill=null,w.style.stroke=T}var A=i;M.exports=A},Gev7:function(M,N,n){var v=n("bYtY"),p=n("K2GJ"),S=n("1bdT"),m=n("ni6a");function g(d){d=d||{},S.call(this,d);for(var c in d)d.hasOwnProperty(c)&&c!=="style"&&(this[c]=d[c]);this.style=new p(d.style,this),this._rect=null,this.__clipPaths=null}g.prototype={constructor:g,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(c){},afterBrush:function(c){},brush:function(c,o){},getBoundingRect:function(){},contain:function(c,o){return this.rectContain(c,o)},traverse:function(c,o){c.call(o,this)},rectContain:function(c,o){var i=this.transformCoordToLocal(c,o),t=this.getBoundingRect();return t.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(c){return this.animate("style",c)},attrKV:function(c,o){c!=="style"?S.prototype.attrKV.call(this,c,o):this.style.set(o)},setStyle:function(c,o){return this.style.set(c,o),this.dirty(!1),this},useStyle:function(c){return this.style=new p(c,this),this.dirty(!1),this},calculateTextPosition:null},v.inherits(g,S),v.mixin(g,m);var f=g;M.exports=f},GrNh:function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("6Ic6");function m(i,t,a,e){var l=t.getData(),r=this.dataIndex,s=l.getName(r),u=t.get("selectedOffset");e.dispatchAction({type:"pieToggleSelect",from:i,name:s,seriesId:t.id}),l.each(function(h){g(l.getItemGraphicEl(h),l.getItemLayout(h),t.isSelected(l.getName(h)),u,a)})}function g(i,t,a,e,l){var r=(t.startAngle+t.endAngle)/2,s=Math.cos(r),u=Math.sin(r),h=a?e:0,A=[s*h,u*h];l?i.animate().when(200,{position:A}).start("bounceOut"):i.attr("position",A)}function f(i,t){p.Group.call(this);var a=new p.Sector({z2:2}),e=new p.Polyline,l=new p.Text;this.add(a),this.add(e),this.add(l),this.updateData(i,t,!0)}var d=f.prototype;d.updateData=function(i,t,a){var e=this.childAt(0),l=this.childAt(1),r=this.childAt(2),s=i.hostModel,u=i.getItemModel(t),h=i.getItemLayout(t),A=v.extend({},h);A.label=null;var y=s.getShallow("animationTypeUpdate");if(a){e.setShape(A);var w=s.getShallow("animationType");w==="scale"?(e.shape.r=h.r0,p.initProps(e,{shape:{r:h.r}},s,t)):(e.shape.endAngle=h.startAngle,p.updateProps(e,{shape:{endAngle:h.endAngle}},s,t))}else y==="expansion"?e.setShape(A):p.updateProps(e,{shape:A},s,t);var b=i.getItemVisual(t,"color");e.useStyle(v.defaults({lineJoin:"bevel",fill:b},u.getModel("itemStyle").getItemStyle())),e.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var x=u.getShallow("cursor");x&&e.attr("cursor",x),g(this,i.getItemLayout(t),s.isSelected(i.getName(t)),s.get("selectedOffset"),s.get("animation"));var O=!a&&y==="transition";this._updateLabel(i,t,O),this.highDownOnUpdate=s.get("silent")?null:function(T,E){var C=s.isAnimationEnabled()&&u.get("hoverAnimation");E==="emphasis"?(l.ignore=l.hoverIgnore,r.ignore=r.hoverIgnore,C&&(e.stopAnimation(!0),e.animateTo({shape:{r:h.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,r.ignore=r.normalIgnore,C&&(e.stopAnimation(!0),e.animateTo({shape:{r:h.r}},300,"elasticOut")))},p.setHoverStyle(this)},d._updateLabel=function(i,t,a){var e=this.childAt(1),l=this.childAt(2),r=i.hostModel,s=i.getItemModel(t),u=i.getItemLayout(t),h=u.label,A=i.getItemVisual(t,"color");if(!h||isNaN(h.x)||isNaN(h.y)){l.ignore=l.normalIgnore=l.hoverIgnore=e.ignore=e.normalIgnore=e.hoverIgnore=!0;return}var y={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},w={x:h.x,y:h.y};a?(p.updateProps(e,{shape:y},r,t),p.updateProps(l,{style:w},r,t)):(e.attr({shape:y}),l.attr({style:w})),l.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var b=s.getModel("label"),x=s.getModel("emphasis.label"),O=s.getModel("labelLine"),T=s.getModel("emphasis.labelLine"),A=i.getItemVisual(t,"color");p.setLabelStyle(l.style,l.hoverStyle={},b,x,{labelFetcher:i.hostModel,labelDataIndex:t,defaultText:h.text,autoColor:A,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:i.getItemVisual(t,"opacity")}),l.ignore=l.normalIgnore=!b.get("show"),l.hoverIgnore=!x.get("show"),e.ignore=e.normalIgnore=!O.get("show"),e.hoverIgnore=!T.get("show"),e.setStyle({stroke:A,opacity:i.getItemVisual(t,"opacity")}),e.setStyle(O.getModel("lineStyle").getLineStyle()),e.hoverStyle=T.getModel("lineStyle").getLineStyle();var E=O.get("smooth");E&&E===!0&&(E=.4),e.setShape({smooth:E})},v.inherits(f,p.Group);var c=S.extend({type:"pie",init:function(){var i=new p.Group;this._sectorGroup=i},render:function(i,t,a,e){if(e&&e.from===this.uid)return;var l=i.getData(),r=this._data,s=this.group,u=t.get("animation"),h=!r,A=i.get("animationType"),y=i.get("animationTypeUpdate"),w=v.curry(m,this.uid,i,u,a),b=i.get("selectedMode");if(l.diff(r).add(function(C){var _=new f(l,C);h&&A!=="scale"&&_.eachChild(function(L){L.stopAnimation(!0)}),b&&_.on("click",w),l.setItemGraphicEl(C,_),s.add(_)}).update(function(C,_){var L=r.getItemGraphicEl(_);!h&&y!=="transition"&&L.eachChild(function(P){P.stopAnimation(!0)}),L.updateData(l,C),L.off("click"),b&&L.on("click",w),s.add(L),l.setItemGraphicEl(C,L)}).remove(function(C){var _=r.getItemGraphicEl(C);s.remove(_)}).execute(),u&&l.count()>0&&(h?A!=="scale":y!=="transition")){for(var x=l.getItemLayout(0),O=1;isNaN(x.startAngle)&&O<l.count();++O)x=l.getItemLayout(O);var T=Math.max(a.getWidth(),a.getHeight())/2,E=v.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(x.cx,x.cy,T,x.startAngle,x.clockwise,E,i,h))}else s.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(i,t,a,e,l,r,s,u){var h=new p.Sector({shape:{cx:i,cy:t,r0:0,r:a,startAngle:e,endAngle:e,clockwise:l}}),A=u?p.initProps:p.updateProps;return A(h,{shape:{endAngle:e+(l?1:-1)*Math.PI*2}},s,r),h},containPoint:function(i,t){var a=t.getData(),e=a.getItemLayout(0);if(e){var l=i[0]-e.cx,r=i[1]-e.cy,s=Math.sqrt(l*l+r*r);return s<=e.r&&s>=e.r0}}}),o=c;M.exports=o},Gytx:function(M,N){M.exports=function(v,p,S,m){var g=S?S.call(m,v,p):void 0;if(g!==void 0)return!!g;if(v===p)return!0;if(typeof v!="object"||!v||typeof p!="object"||!p)return!1;var f=Object.keys(v),d=Object.keys(p);if(f.length!==d.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(p),o=0;o<f.length;o++){var i=f[o];if(!c(i))return!1;var t=v[i],a=p[i];if(g=S?S.call(m,t,a,i):void 0,g===!1||g===void 0&&t!==a)return!1}return!0}},GzdX:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("q1tI"),m=n.n(S),g=n("rePB"),f=n("1OyB"),d=n("vuIU"),c=n("Ji7U"),o=n("md7G"),i=n("foSv"),t=n("m+aA"),a=n("TSYQ"),e=n.n(a),l=n("4IlW");function r(U){var B=U.pageXOffset,H="scrollLeft";if(typeof B!="number"){var K=U.document;B=K.documentElement[H],typeof B!="number"&&(B=K.body[H])}return B}function s(U){var B,H,K=U.ownerDocument,V=K.body,W=K&&K.documentElement,G=U.getBoundingClientRect();return B=G.left,H=G.top,B-=W.clientLeft||V.clientLeft||0,H-=W.clientTop||V.clientTop||0,{left:B,top:H}}function u(U){var B=s(U),H=U.ownerDocument,K=H.defaultView||H.parentWindow;return B.left+=r(K),B.left}function h(U){var B=A();return function(){var K=Object(i.a)(U),V;if(B){var W=Object(i.a)(this).constructor;V=Reflect.construct(K,arguments,W)}else V=K.apply(this,arguments);return Object(o.a)(this,V)}}function A(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(U){return!1}}var y=function(U){Object(c.a)(H,U);var B=h(H);function H(){var K;return Object(f.a)(this,H),K=B.apply(this,arguments),K.onHover=function(V){var W=K.props,G=W.onHover,re=W.index;G(V,re)},K.onClick=function(V){var W=K.props,G=W.onClick,re=W.index;G(V,re)},K.onKeyDown=function(V){var W=K.props,G=W.onClick,re=W.index;V.keyCode===13&&G(V,re)},K}return Object(d.a)(H,[{key:"getClassName",value:function(){var V=this.props,W=V.prefixCls,G=V.index,re=V.value,ye=V.allowHalf,$=V.focused,ve=G+1,Ce=W;return re===0&&G===0&&$?Ce+=" ".concat(W,"-focused"):ye&&re+.5>=ve&&re<ve?(Ce+=" ".concat(W,"-half ").concat(W,"-active"),$&&(Ce+=" ".concat(W,"-focused"))):(Ce+=ve<=re?" ".concat(W,"-full"):" ".concat(W,"-zero"),ve===re&&$&&(Ce+=" ".concat(W,"-focused"))),Ce}},{key:"render",value:function(){var V=this.onHover,W=this.onClick,G=this.onKeyDown,re=this.props,ye=re.disabled,$=re.prefixCls,ve=re.character,Ce=re.characterRender,Se=re.index,Ke=re.count,ue=re.value,Le=typeof ve=="function"?ve(this.props):ve,ee=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:ye?null:W,onKeyDown:ye?null:G,onMouseMove:ye?null:V,role:"radio","aria-checked":ue>Se?"true":"false","aria-posinset":Se+1,"aria-setsize":Ke,tabIndex:ye?-1:0},m.a.createElement("div",{className:"".concat($,"-first")},Le),m.a.createElement("div",{className:"".concat($,"-second")},Le)));return Ce&&(ee=Ce(ee,this.props)),ee}}]),H}(m.a.Component);function w(U,B){var H=Object.keys(U);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(U);B&&(K=K.filter(function(V){return Object.getOwnPropertyDescriptor(U,V).enumerable})),H.push.apply(H,K)}return H}function b(U){for(var B=1;B<arguments.length;B++){var H=arguments[B]!=null?arguments[B]:{};B%2?w(Object(H),!0).forEach(function(K){Object(g.a)(U,K,H[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(H)):w(Object(H)).forEach(function(K){Object.defineProperty(U,K,Object.getOwnPropertyDescriptor(H,K))})}return U}function x(U){var B=O();return function(){var K=Object(i.a)(U),V;if(B){var W=Object(i.a)(this).constructor;V=Reflect.construct(K,arguments,W)}else V=K.apply(this,arguments);return Object(o.a)(this,V)}}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(U){return!1}}function T(){}var E=function(U){Object(c.a)(H,U);var B=x(H);function H(K){var V;Object(f.a)(this,H),V=B.call(this,K),V.onHover=function(G,re){var ye=V.props.onHoverChange,$=V.getStarValue(re,G.pageX),ve=V.state.cleanedValue;$!==ve&&V.setState({hoverValue:$,cleanedValue:null}),ye($)},V.onMouseLeave=function(){var G=V.props.onHoverChange;V.setState({hoverValue:void 0,cleanedValue:null}),G(void 0)},V.onClick=function(G,re){var ye=V.props.allowClear,$=V.state.value,ve=V.getStarValue(re,G.pageX),Ce=!1;ye&&(Ce=ve===$),V.onMouseLeave(),V.changeValue(Ce?0:ve),V.setState({cleanedValue:Ce?ve:null})},V.onFocus=function(){var G=V.props.onFocus;V.setState({focused:!0}),G&&G()},V.onBlur=function(){var G=V.props.onBlur;V.setState({focused:!1}),G&&G()},V.onKeyDown=function(G){var re=G.keyCode,ye=V.props,$=ye.count,ve=ye.allowHalf,Ce=ye.onKeyDown,Se=ye.direction,Ke=Se==="rtl",ue=V.state.value;re===l.a.RIGHT&&ue<$&&!Ke?(ve?ue+=.5:ue+=1,V.changeValue(ue),G.preventDefault()):re===l.a.LEFT&&ue>0&&!Ke||re===l.a.RIGHT&&ue>0&&Ke?(ve?ue-=.5:ue-=1,V.changeValue(ue),G.preventDefault()):re===l.a.LEFT&&ue<$&&Ke&&(ve?ue+=.5:ue+=1,V.changeValue(ue),G.preventDefault()),Ce&&Ce(G)},V.saveRef=function(G){return function(re){V.stars[G]=re}},V.saveRate=function(G){V.rate=G};var W=K.value;return W===void 0&&(W=K.defaultValue),V.stars={},V.state={value:W,focused:!1,cleanedValue:null},V}return Object(d.a)(H,[{key:"componentDidMount",value:function(){var V=this.props,W=V.autoFocus,G=V.disabled;W&&!G&&this.focus()}},{key:"getStarDOM",value:function(V){return Object(t.a)(this.stars[V])}},{key:"getStarValue",value:function(V,W){var G=this.props,re=G.allowHalf,ye=G.direction,$=ye==="rtl",ve=V+1;if(re){var Ce=this.getStarDOM(V),Se=u(Ce),Ke=Ce.clientWidth;($&&W-Se>Ke/2||!$&&W-Se<Ke/2)&&(ve-=.5)}return ve}},{key:"focus",value:function(){var V=this.props.disabled;V||this.rate.focus()}},{key:"blur",value:function(){var V=this.props.disabled;V||this.rate.blur()}},{key:"changeValue",value:function(V){var W=this.props.onChange;"value"in this.props||this.setState({value:V}),W(V)}},{key:"render",value:function(){for(var V=this.props,W=V.count,G=V.allowHalf,re=V.style,ye=V.prefixCls,$=V.disabled,ve=V.className,Ce=V.character,Se=V.characterRender,Ke=V.tabIndex,ue=V.direction,Le=this.state,ee=Le.value,le=Le.hoverValue,et=Le.focused,Re=[],Ae=$?"".concat(ye,"-disabled"):"",oe=0;oe<W;oe+=1)Re.push(m.a.createElement(y,{ref:this.saveRef(oe),index:oe,count:W,disabled:$,prefixCls:"".concat(ye,"-star"),allowHalf:G,value:le===void 0?ee:le,onClick:this.onClick,onHover:this.onHover,key:oe,character:Ce,characterRender:Se,focused:et}));var ce=e()(ye,Ae,ve,Object(g.a)({},"".concat(ye,"-rtl"),ue==="rtl"));return m.a.createElement("ul",{className:ce,style:re,onMouseLeave:$?null:this.onMouseLeave,tabIndex:$?-1:Ke,onFocus:$?null:this.onFocus,onBlur:$?null:this.onBlur,onKeyDown:$?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Re)}}],[{key:"getDerivedStateFromProps",value:function(V,W){return"value"in V&&V.value!==void 0?b(b({},W),{},{value:V.value}):W}}]),H}(m.a.Component);E.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=E,_=C,L=n("Lerx"),P=n.n(L),k=n("3S7+"),F=n("H84U"),j=function(U,B){var H={};for(var K in U)Object.prototype.hasOwnProperty.call(U,K)&&B.indexOf(K)<0&&(H[K]=U[K]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,K=Object.getOwnPropertySymbols(U);V<K.length;V++)B.indexOf(K[V])<0&&Object.prototype.propertyIsEnumerable.call(U,K[V])&&(H[K[V]]=U[K[V]]);return H},z=S.forwardRef(function(U,B){var H=U.prefixCls,K=U.tooltips,V=j(U,["prefixCls","tooltips"]),W=function(Ce,Se){var Ke=Se.index;return K?S.createElement(k.a,{title:K[Ke]},Ce):Ce},G=S.useContext(F.b),re=G.getPrefixCls,ye=G.direction,$=re("rate",H);return S.createElement(_,p()({ref:B,characterRender:W},V,{prefixCls:$,direction:ye}))});z.displayName="Rate",z.defaultProps={character:S.createElement(P.a,null)};var R=N.a=z},H6uX:function(M,N){var n=Array.prototype.slice,v=function(f){this._$handlers={},this._$eventProcessor=f};v.prototype={constructor:v,one:function(f,d,c,o){return S(this,f,d,c,o,!0)},on:function(f,d,c,o){return S(this,f,d,c,o,!1)},isSilent:function(f){var d=this._$handlers;return!d[f]||!d[f].length},off:function(f,d){var c=this._$handlers;if(!f)return this._$handlers={},this;if(d){if(c[f]){for(var o=[],i=0,t=c[f].length;i<t;i++)c[f][i].h!==d&&o.push(c[f][i]);c[f]=o}c[f]&&c[f].length===0&&delete c[f]}else delete c[f];return this},trigger:function(f){var d=this._$handlers[f],c=this._$eventProcessor;if(d){var o=arguments,i=o.length;i>3&&(o=n.call(o,1));for(var t=d.length,a=0;a<t;){var e=d[a];if(c&&c.filter&&e.query!=null&&!c.filter(f,e.query)){a++;continue}switch(i){case 1:e.h.call(e.ctx);break;case 2:e.h.call(e.ctx,o[1]);break;case 3:e.h.call(e.ctx,o[1],o[2]);break;default:e.h.apply(e.ctx,o);break}e.one?(d.splice(a,1),t--):a++}}return c&&c.afterTrigger&&c.afterTrigger(f),this},triggerWithContext:function(f){var d=this._$handlers[f],c=this._$eventProcessor;if(d){var o=arguments,i=o.length;i>4&&(o=n.call(o,1,o.length-1));for(var t=o[o.length-1],a=d.length,e=0;e<a;){var l=d[e];if(c&&c.filter&&l.query!=null&&!c.filter(f,l.query)){e++;continue}switch(i){case 1:l.h.call(t);break;case 2:l.h.call(t,o[1]);break;case 3:l.h.call(t,o[1],o[2]);break;default:l.h.apply(t,o);break}l.one?(d.splice(e,1),a--):e++}}return c&&c.afterTrigger&&c.afterTrigger(f),this}};function p(g,f){var d=g._$eventProcessor;return f!=null&&d&&d.normalizeQuery&&(f=d.normalizeQuery(f)),f}function S(g,f,d,c,o,i){var t=g._$handlers;if(typeof d=="function"&&(o=c,c=d,d=null),!c||!f)return g;d=p(g,d),t[f]||(t[f]=[]);for(var a=0;a<t[f].length;a++)if(t[f][a].h===c)return g;var e={h:c,one:i,query:d,ctx:o||g,callAtLast:c.zrEventfulCallAtLast},l=t[f].length-1,r=t[f][l];return r&&r.callAtLast?t[f].splice(l,0,e):t[f].push(e),g}var m=v;M.exports=m},HBhm:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};N.default=v},"HF/U":function(M,N,n){var v=n("QBsz");function p(m){var g=m.coordinateSystem;if(g&&g.type!=="view")return;var f=m.getGraph();f.eachNode(function(d){var c=d.getModel();d.setLayout([+c.get("x"),+c.get("y")])}),S(f)}function S(m){m.eachEdge(function(g){var f=g.getModel().get("lineStyle.curveness")||0,d=v.clone(g.node1.getLayout()),c=v.clone(g.node2.getLayout()),o=[d,c];+f&&o.push([(d[0]+c[0])/2-(d[1]-c[1])*f,(d[1]+c[1])/2-(c[0]-d[0])*f]),g.setLayout(o)})}N.simpleLayout=p,N.simpleLayoutEdge=S},"HM/N":function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("/SeX"),g=n("OELB"),f=g.parsePercent,d=n("aX7z"),c=d.createScaleByModel,o=d.niceScaleExtent,i=n("IDmD"),t=n("7hqr"),a=t.getStackedDimension;n("ePAk");function e(u,h,A){var y=h.get("center"),w=A.getWidth(),b=A.getHeight();u.cx=f(y[0],w),u.cy=f(y[1],b);var x=u.getRadiusAxis(),O=Math.min(w,b)/2,T=h.get("radius");T==null?T=[0,"100%"]:S.isArray(T)||(T=[0,T]),T=[f(T[0],O),f(T[1],O)],x.inverse?x.setExtent(T[1],T[0]):x.setExtent(T[0],T[1])}function l(u,h){var A=this,y=A.getAngleAxis(),w=A.getRadiusAxis();if(y.scale.setExtent(Infinity,-Infinity),w.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(O){if(O.coordinateSystem===A){var T=O.getData();S.each(T.mapDimension("radius",!0),function(E){w.scale.unionExtentFromData(T,a(T,E))}),S.each(T.mapDimension("angle",!0),function(E){y.scale.unionExtentFromData(T,a(T,E))})}}),o(y.scale,y.model),o(w.scale,w.model),y.type==="category"&&!y.onBand){var b=y.getExtent(),x=360/y.scale.count();y.inverse?b[1]+=x:b[1]-=x,y.setExtent(b[0],b[1])}}function r(u,h){if(u.type=h.get("type"),u.scale=c(h),u.onBand=h.get("boundaryGap")&&u.type==="category",u.inverse=h.get("inverse"),h.mainType==="angleAxis"){u.inverse^=h.get("clockwise");var A=h.get("startAngle");u.setExtent(A,A+(u.inverse?-360:360))}h.axis=u,u.model=h}var s={dimensions:m.prototype.dimensions,create:function(u,h){var A=[];return u.eachComponent("polar",function(y,w){var b=new m(w);b.update=l;var x=b.getRadiusAxis(),O=b.getAngleAxis(),T=y.findAxisModel("radiusAxis"),E=y.findAxisModel("angleAxis");r(x,T),r(O,E),e(b,y,h),A.push(b),y.coordinateSystem=b,b.model=y}),u.eachSeries(function(y){if(y.get("coordinateSystem")==="polar"){var w=u.queryComponents({mainType:"polar",index:y.get("polarIndex"),id:y.get("polarId")})[0];y.coordinateSystem=w.coordinateSystem}}),A}};i.register("polar",s)},HQEm:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("Sj0X"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},HjIi:function(M,N,n){var v=n("bYtY"),p=n("OELB"),S=p.parsePercent,m=n("7hqr"),g=m.isDimensionStacked;function f(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function d(t,a){return a.dim+t.model.componentIndex}function c(t,a,e){var l={},r=o(v.filter(a.getSeriesByType(t),function(s){return!a.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));a.eachSeriesByType(t,function(s){if(s.coordinateSystem.type!=="polar")return;var u=s.getData(),h=s.coordinateSystem,A=h.getBaseAxis(),y=d(h,A),w=f(s),b=r[y][w],x=b.offset,O=b.width,T=h.getOtherAxis(A),E=s.coordinateSystem.cx,C=s.coordinateSystem.cy,_=s.get("barMinHeight")||0,L=s.get("barMinAngle")||0;l[w]=l[w]||[];for(var P=u.mapDimension(T.dim),k=u.mapDimension(A.dim),F=g(u,P),j=A.dim!=="radius"||!s.get("roundCap",!0),z=T.getExtent()[0],R=0,U=u.count();R<U;R++){var B=u.get(P,R),H=u.get(k,R),K=B>=0?"p":"n",V=z;F&&(l[w][H]||(l[w][H]={p:z,n:z}),V=l[w][H][K]);var W,G,re,ye;if(T.dim==="radius"){var $=T.dataToRadius(B)-z,ve=A.dataToAngle(H);Math.abs($)<_&&($=($<0?-1:1)*_),W=V,G=V+$,re=ve-x,ye=re-O,F&&(l[w][H][K]=G)}else{var Ce=T.dataToAngle(B,j)-z,Se=A.dataToRadius(H);Math.abs(Ce)<L&&(Ce=(Ce<0?-1:1)*L),W=Se+x,G=W+O,re=V,ye=V+Ce,F&&(l[w][H][K]=ye)}u.setItemLayout(R,{cx:E,cy:C,r0:W,r:G,startAngle:-re*Math.PI/180,endAngle:-ye*Math.PI/180})}},this)}function o(t,a){var e={};v.each(t,function(r,s){var u=r.getData(),h=r.coordinateSystem,A=h.getBaseAxis(),y=d(h,A),w=A.getExtent(),b=A.type==="category"?A.getBandWidth():Math.abs(w[1]-w[0])/u.count(),x=e[y]||{bandWidth:b,remainedWidth:b,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},O=x.stacks;e[y]=x;var T=f(r);O[T]||x.autoWidthCount++,O[T]=O[T]||{width:0,maxWidth:0};var E=S(r.get("barWidth"),b),C=S(r.get("barMaxWidth"),b),_=r.get("barGap"),L=r.get("barCategoryGap");E&&!O[T].width&&(E=Math.min(x.remainedWidth,E),O[T].width=E,x.remainedWidth-=E),C&&(O[T].maxWidth=C),_!=null&&(x.gap=_),L!=null&&(x.categoryGap=L)});var l={};return v.each(e,function(r,s){l[s]={};var u=r.stacks,h=r.bandWidth,A=S(r.categoryGap,h),y=S(r.gap,1),w=r.remainedWidth,b=r.autoWidthCount,x=(w-A)/(b+(b-1)*y);x=Math.max(x,0),v.each(u,function(C,_){var L=C.maxWidth;L&&L<x&&(L=Math.min(L,w),C.width&&(L=Math.min(L,C.width)),w-=L,C.width=L,b--)}),x=(w-A)/(b+(b-1)*y),x=Math.max(x,0);var O=0,T;v.each(u,function(C,_){C.width||(C.width=x),T=C,O+=C.width*(1+y)}),T&&(O-=T.width*y);var E=-O/2;v.each(u,function(C,_){l[s][_]=l[s][_]||{offset:E,width:C.width},E+=C.width*(1+y)})}),l}var i=c;M.exports=i},HjOm:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v={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"},p=v;N.default=p},Hw7h:function(M,N,n){var v=n("y+Vt"),p=v.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(S,m){var g=Math.cos,f=Math.sin,d=m.r,c=m.width,o=m.angle,i=m.x-g(o)*c*(c>=d/3?1:2),t=m.y-f(o)*c*(c>=d/3?1:2);o=m.angle-Math.PI/2,S.moveTo(i,t),S.lineTo(m.x+g(o)*c,m.y+f(o)*c),S.lineTo(m.x+g(m.angle)*d,m.y+f(m.angle)*d),S.lineTo(m.x-g(o)*c,m.y-f(o)*c),S.lineTo(i,t);return}});M.exports=p},Hxpc:function(M,N,n){var v=n("bYtY"),p=n("4NO4"),S=n("bLfw"),m=n("Qxkt"),g=n("cCMj"),f=n("7uqq"),d=S.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(o){S.prototype.init.apply(this,arguments),p.defaultEmphasis(o,"label",["show"])},optionUpdated:function(){var o=this.option,i=this;o.regions=f.getFilledRegions(o.regions,o.map,o.nameMap),this._optionModelMap=v.reduce(o.regions||[],function(t,a){return a.name&&t.set(a.name,new m(a,i)),t},v.createHashMap()),this.updateSelectedMap(o.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(o){return this._optionModelMap.get(o)||new m(null,this,this.ecModel)},getFormattedLabel:function(o,i){var t=this.getRegionModel(o),a=t.get("label"+(i==="normal"?".":i+".")+"formatter"),e={name:o};if(typeof a=="function")return e.status=i,a(e);if(typeof a=="string")return a.replace("{a}",o!=null?o:"")},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o}});v.mixin(d,g);var c=d;M.exports=c},"I+77":function(M,N,n){var v=n("ProS");n("h54F"),n("lwQL"),n("10cm");var p=n("Z1r0"),S=n("f5Yq"),m=n("KUOm"),g=n("3m61"),f=n("01d+"),d=n("rdor"),c=n("WGYa"),o=n("ewwo");v.registerProcessor(p),v.registerVisual(S("graph","circle",null)),v.registerVisual(m),v.registerVisual(g),v.registerLayout(f),v.registerLayout(v.PRIORITY.VISUAL.POST_CHART_LAYOUT,d),v.registerLayout(c),v.registerCoordinateSystem("graphView",{create:o})},"I+Bx":function(M,N,n){var v=n("bYtY"),p=n("eIcI"),S=n("ieMj"),m=n("OELB"),g=n("aX7z"),f=g.getScaleExtent,d=g.niceScaleExtent,c=n("IDmD"),o=n("jCoz");function i(a,e,l){this._model=a,this.dimensions=[],this._indicatorAxes=v.map(a.getIndicatorModels(),function(r,s){var u="indicator_"+s,h=new p(u,r.get("axisType")==="log"?new o:new S);return h.name=r.get("name"),h.model=r,r.axis=h,this.dimensions.push(u),h},this),this.resize(a,l),this.cx,this.cy,this.r,this.r0,this.startAngle}i.prototype.getIndicatorAxes=function(){return this._indicatorAxes},i.prototype.dataToPoint=function(a,e){var l=this._indicatorAxes[e];return this.coordToPoint(l.dataToCoord(a),e)},i.prototype.coordToPoint=function(a,e){var l=this._indicatorAxes[e],r=l.angle,s=this.cx+a*Math.cos(r),u=this.cy-a*Math.sin(r);return[s,u]},i.prototype.pointToData=function(a){var e=a[0]-this.cx,l=a[1]-this.cy,r=Math.sqrt(e*e+l*l);e/=r,l/=r;for(var s=Math.atan2(-l,e),u=Infinity,h,A=-1,y=0;y<this._indicatorAxes.length;y++){var w=this._indicatorAxes[y],b=Math.abs(s-w.angle);b<u&&(h=w,A=y,u=b)}return[A,+(h&&h.coordToData(r))]},i.prototype.resize=function(a,e){var l=a.get("center"),r=e.getWidth(),s=e.getHeight(),u=Math.min(r,s)/2;this.cx=m.parsePercent(l[0],r),this.cy=m.parsePercent(l[1],s),this.startAngle=a.get("startAngle")*Math.PI/180;var h=a.get("radius");(typeof h=="string"||typeof h=="number")&&(h=[0,h]),this.r0=m.parsePercent(h[0],u),this.r=m.parsePercent(h[1],u),v.each(this._indicatorAxes,function(A,y){A.setExtent(this.r0,this.r);var w=this.startAngle+y*Math.PI*2/this._indicatorAxes.length;w=Math.atan2(Math.sin(w),Math.cos(w)),A.angle=w},this)},i.prototype.update=function(a,e){var l=this._indicatorAxes,r=this._model;v.each(l,function(h){h.scale.setExtent(Infinity,-Infinity)}),a.eachSeriesByType("radar",function(h,A){if(h.get("coordinateSystem")!=="radar"||a.getComponent("radar",h.get("radarIndex"))!==r)return;var y=h.getData();v.each(l,function(w){w.scale.unionExtentFromData(y,y.mapDimension(w.dim))})},this);var s=r.get("splitNumber");function u(h){var A=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),y=h/A;return y===2?y=5:y*=2,y*A}v.each(l,function(h,A){var y=f(h.scale,h.model).extent;d(h.scale,h.model);var w=h.model,b=h.scale,x=w.getMin(),O=w.getMax(),T=b.getInterval();if(x!=null&&O!=null)b.setExtent(+x,+O),b.setInterval((O-x)/s);else if(x!=null){var E;do E=x+T*s,b.setExtent(+x,E),b.setInterval(T),T=u(T);while(E<y[1]&&isFinite(E)&&isFinite(y[1]))}else if(O!=null){var C;do C=O-T*s,b.setExtent(C,+O),b.setInterval(T),T=u(T);while(C>y[0]&&isFinite(C)&&isFinite(y[0]))}else{var _=b.getTicks().length-1;_>s&&(T=u(T));var E=Math.ceil(y[1]/T)*T,C=m.round(E-T*s);b.setExtent(C,E),b.setInterval(T)}})},i.dimensions=[],i.create=function(a,e){var l=[];return a.eachComponent("radar",function(r){var s=new i(r,a,e);l.push(s),r.coordinateSystem=s}),a.eachSeriesByType("radar",function(r){r.get("coordinateSystem")==="radar"&&(r.coordinateSystem=l[r.get("radarIndex")||0])}),l},c.register("radar",i);var t=i;M.exports=t},"I3/A":function(M,N,n){var v=n("bYtY"),p=n("YXkt"),S=n("c2i1"),m=n("Mdki"),g=n("sdST"),f=n("IDmD"),d=n("MwEJ");function c(o,i,t,a,e){for(var l=new S(a),r=0;r<o.length;r++)l.addNode(v.retrieve(o[r].id,o[r].name,r),r);for(var s=[],u=[],h=0,r=0;r<i.length;r++){var A=i[r],y=A.source,w=A.target;l.addEdge(y,w,h)&&(u.push(A),s.push(v.retrieve(A.id,y+" > "+w)),h++)}var b=t.get("coordinateSystem"),x;if(b==="cartesian2d"||b==="polar")x=d(o,t);else{var O=f.get(b),T=O&&O.type!=="view"?O.dimensions||[]:[];v.indexOf(T,"value")<0&&T.concat(["value"]);var E=g(o,{coordDimensions:T});x=new p(E,t),x.initData(o)}var C=new p(["value"],t);return C.initData(u,s),e&&e(x,C),m({mainData:x,struct:l,structAttr:"graph",datas:{node:x,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}M.exports=c},I8Z2:function(M,N,n){"use strict";n.d(N,"a",function(){return m}),n.d(N,"b",function(){return e}),n.d(N,"c",function(){return r});var v=n("q1tI"),p=function(){var s=function(h,A){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,w){y.__proto__=w}||function(y,w){for(var b in w)w.hasOwnProperty(b)&&(y[b]=w[b])},s(h,A)};return function(u,h){s(u,h);function A(){this.constructor=u}u.prototype=h===null?Object.create(h):(A.prototype=h.prototype,new A)}}(),S=v.createContext(null),m=function(s){p(u,s);function u(){return s!==null&&s.apply(this,arguments)||this}return u.prototype.render=function(){return v.createElement(S.Provider,{value:this.props.store},this.props.children)},u}(v.Component),g=n("Gytx"),f=n.n(g),d=n("2mql"),c=n.n(d),o=function(){var s=function(h,A){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,w){y.__proto__=w}||function(y,w){for(var b in w)w.hasOwnProperty(b)&&(y[b]=w[b])},s(h,A)};return function(u,h){s(u,h);function A(){this.constructor=u}u.prototype=h===null?Object.create(h):(A.prototype=h.prototype,new A)}}(),i=function(){return i=Object.assign||function(s){for(var u,h=1,A=arguments.length;h<A;h++){u=arguments[h];for(var y in u)Object.prototype.hasOwnProperty.call(u,y)&&(s[y]=u[y])}return s},i.apply(this,arguments)};function t(s){return s.displayName||s.name||"Component"}var a=function(){return{}};function e(s,u){u===void 0&&(u={});var h=!!s,A=s||a;return function(w){var b=function(O){o(T,O);function T(E,C){var _=O.call(this,E,C)||this;return _.unsubscribe=null,_.handleChange=function(){if(!_.unsubscribe)return;var L=A(_.store.getState(),_.props);_.setState({subscribed:L})},_.store=_.context,_.state={subscribed:A(_.store.getState(),E),store:_.store,props:E},_}return T.getDerivedStateFromProps=function(E,C){return s&&s.length===2&&E!==C.props?{subscribed:A(C.store.getState(),E),props:E}:{props:E}},T.prototype.componentDidMount=function(){this.trySubscribe()},T.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},T.prototype.shouldComponentUpdate=function(E,C){return!f()(this.props,E)||!f()(this.state.subscribed,C.subscribed)},T.prototype.trySubscribe=function(){h&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},T.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},T.prototype.render=function(){var E=i(i(i({},this.props),this.state.subscribed),{store:this.store});return v.createElement(w,i({},E,{ref:this.props.miniStoreForwardedRef}))},T.displayName="Connect("+t(w)+")",T.contextType=S,T}(v.Component);if(u.forwardRef){var x=v.forwardRef(function(O,T){return v.createElement(b,i({},O,{miniStoreForwardedRef:T}))});return c()(x,w)}return c()(b,w)}}var l=function(){return l=Object.assign||function(s){for(var u,h=1,A=arguments.length;h<A;h++){u=arguments[h];for(var y in u)Object.prototype.hasOwnProperty.call(u,y)&&(s[y]=u[y])}return s},l.apply(this,arguments)};function r(s){var u=s,h=[];function A(b){u=l(l({},u),b);for(var x=0;x<h.length;x++)h[x]()}function y(){return u}function w(b){return h.push(b),function(){var O=h.indexOf(b);h.splice(O,1)}}return{setState:A,getState:y,subscribe:w}}},"I9Y+":function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("4xFK")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="DoubleRightOutlined";var i=m.forwardRef(o);N.default=i},ICMv:function(M,N,n){var v=n("bYtY"),p={getMin:function(S){var m=this.option,g=!S&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&g!=null&&g!=="dataMin"&&typeof g!="function"&&!v.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getMax:function(S){var m=this.option,g=!S&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&g!=null&&g!=="dataMax"&&typeof g!="function"&&!v.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getNeedCrossZero:function(){var S=this.option;return S.rangeStart!=null||S.rangeEnd!=null?!1:!S.scale},getCoordSysModel:v.noop,setRange:function(S,m){this.option.rangeStart=S,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};M.exports=p},IDmD:function(M,N,n){var v=n("bYtY"),p={};function S(){this._coordinateSystems=[]}S.prototype={constructor:S,create:function(g,f){var d=[];v.each(p,function(c,o){var i=c.create(g,f);d=d.concat(i||[])}),this._coordinateSystems=d},update:function(g,f){v.each(this._coordinateSystems,function(d){d.update&&d.update(g,f)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},S.register=function(g,f){p[g]=f},S.get=function(g){return p[g]};var m=S;M.exports=m},IMiH:function(M,N,n){var v=n("Sj9i"),p=n("QBsz"),S=n("4mN7"),m=n("mFDi"),g=n("LPTA"),f=g.devicePixelRatio,d={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],o=[],i=[],t=[],a=Math.min,e=Math.max,l=Math.cos,r=Math.sin,s=Math.sqrt,u=Math.abs,h=typeof Float32Array!="undefined",A=function(b){this._saveData=!(b||!1),this._saveData&&(this.data=[]),this._ctx=null};A.prototype={constructor:A,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(b,x,O){O=O||0,this._ux=u(O/f/b)||0,this._uy=u(O/f/x)||0},getContext:function(){return this._ctx},beginPath:function(b){return this._ctx=b,b&&b.beginPath(),b&&(this.dpr=b.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(b,x){return this.addData(d.M,b,x),this._ctx&&this._ctx.moveTo(b,x),this._x0=b,this._y0=x,this._xi=b,this._yi=x,this},lineTo:function(b,x){var O=u(b-this._xi)>this._ux||u(x-this._yi)>this._uy||this._len<5;return this.addData(d.L,b,x),this._ctx&&O&&(this._needsDash()?this._dashedLineTo(b,x):this._ctx.lineTo(b,x)),O&&(this._xi=b,this._yi=x),this},bezierCurveTo:function(b,x,O,T,E,C){return this.addData(d.C,b,x,O,T,E,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(b,x,O,T,E,C):this._ctx.bezierCurveTo(b,x,O,T,E,C)),this._xi=E,this._yi=C,this},quadraticCurveTo:function(b,x,O,T){return this.addData(d.Q,b,x,O,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(b,x,O,T):this._ctx.quadraticCurveTo(b,x,O,T)),this._xi=O,this._yi=T,this},arc:function(b,x,O,T,E,C){return this.addData(d.A,b,x,O,O,T,E-T,0,C?0:1),this._ctx&&this._ctx.arc(b,x,O,T,E,C),this._xi=l(E)*O+b,this._yi=r(E)*O+x,this},arcTo:function(b,x,O,T,E){return this._ctx&&this._ctx.arcTo(b,x,O,T,E),this},rect:function(b,x,O,T){return this._ctx&&this._ctx.rect(b,x,O,T),this.addData(d.R,b,x,O,T),this},closePath:function(){this.addData(d.Z);var b=this._ctx,x=this._x0,O=this._y0;return b&&(this._needsDash()&&this._dashedLineTo(x,O),b.closePath()),this._xi=x,this._yi=O,this},fill:function(b){b&&b.fill(),this.toStatic()},stroke:function(b){b&&b.stroke(),this.toStatic()},setLineDash:function(b){if(b instanceof Array){this._lineDash=b,this._dashIdx=0;for(var x=0,O=0;O<b.length;O++)x+=b[O];this._dashSum=x}return this},setLineDashOffset:function(b){return this._dashOffset=b,this},len:function(){return this._len},setData:function(b){var x=b.length;!(this.data&&this.data.length===x)&&h&&(this.data=new Float32Array(x));for(var O=0;O<x;O++)this.data[O]=b[O];this._len=x},appendPath:function(b){b instanceof Array||(b=[b]);for(var x=b.length,O=0,T=this._len,E=0;E<x;E++)O+=b[E].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+O));for(var E=0;E<x;E++)for(var C=b[E].data,_=0;_<C.length;_++)this.data[T++]=C[_];this._len=T},addData:function(b){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=b},_expandData:function(){if(!(this.data instanceof Array)){for(var b=[],x=0;x<this._len;x++)b[x]=this.data[x];this.data=b}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(b,x){var O=this._dashSum,T=this._dashOffset,E=this._lineDash,C=this._ctx,_=this._xi,L=this._yi,P=b-_,k=x-L,F=s(P*P+k*k),j=_,z=L,R,U=E.length,B;for(P/=F,k/=F,T<0&&(T=O+T),T%=O,j-=T*P,z-=T*k;P>0&&j<=b||P<0&&j>=b||P===0&&(k>0&&z<=x||k<0&&z>=x);){if(B=this._dashIdx,R=E[B],j+=P*R,z+=k*R,this._dashIdx=(B+1)%U,P>0&&j<_||P<0&&j>_||k>0&&z<L||k<0&&z>L)continue;C[B%2?"moveTo":"lineTo"](P>=0?a(j,b):e(j,b),k>=0?a(z,x):e(z,x))}P=j-b,k=z-x,this._dashOffset=-s(P*P+k*k)},_dashedBezierTo:function(b,x,O,T,E,C){var _=this._dashSum,L=this._dashOffset,P=this._lineDash,k=this._ctx,F=this._xi,j=this._yi,z,R,U,B=v.cubicAt,H=0,K=this._dashIdx,V=P.length,W,G,re=0;for(L<0&&(L=_+L),L%=_,z=0;z<1;z+=.1)R=B(F,b,O,E,z+.1)-B(F,b,O,E,z),U=B(j,x,T,C,z+.1)-B(j,x,T,C,z),H+=s(R*R+U*U);for(;K<V&&!(re+=P[K],re>L);K++);for(z=(re-L)/H;z<=1;)W=B(F,b,O,E,z),G=B(j,x,T,C,z),K%2?k.moveTo(W,G):k.lineTo(W,G),z+=P[K]/H,K=(K+1)%V;K%2!==0&&k.lineTo(E,C),R=E-W,U=C-G,this._dashOffset=-s(R*R+U*U)},_dashedQuadraticTo:function(b,x,O,T){var E=O,C=T;O=(O+2*b)/3,T=(T+2*x)/3,b=(this._xi+2*b)/3,x=(this._yi+2*x)/3,this._dashedBezierTo(b,x,O,T,E,C)},toStatic:function(){var b=this.data;b instanceof Array&&(b.length=this._len,h&&(this.data=new Float32Array(b)))},getBoundingRect:function(){c[0]=c[1]=i[0]=i[1]=Number.MAX_VALUE,o[0]=o[1]=t[0]=t[1]=-Number.MAX_VALUE;for(var b=this.data,x=0,O=0,T=0,E=0,C=0;C<b.length;){var _=b[C++];C===1&&(x=b[C],O=b[C+1],T=x,E=O);switch(_){case d.M:T=b[C++],E=b[C++],x=T,O=E,i[0]=T,i[1]=E,t[0]=T,t[1]=E;break;case d.L:S.fromLine(x,O,b[C],b[C+1],i,t),x=b[C++],O=b[C++];break;case d.C:S.fromCubic(x,O,b[C++],b[C++],b[C++],b[C++],b[C],b[C+1],i,t),x=b[C++],O=b[C++];break;case d.Q:S.fromQuadratic(x,O,b[C++],b[C++],b[C],b[C+1],i,t),x=b[C++],O=b[C++];break;case d.A:var L=b[C++],P=b[C++],k=b[C++],F=b[C++],j=b[C++],z=b[C++]+j;C+=1;var R=1-b[C++];C===1&&(T=l(j)*k+L,E=r(j)*F+P),S.fromArc(L,P,k,F,j,z,R,i,t),x=l(z)*k+L,O=r(z)*F+P;break;case d.R:T=x=b[C++],E=O=b[C++];var U=b[C++],B=b[C++];S.fromLine(T,E,T+U,E+B,i,t);break;case d.Z:x=T,O=E;break}p.min(c,c,i),p.max(o,o,t)}return C===0&&(c[0]=c[1]=o[0]=o[1]=0),new m(c[0],c[1],o[0]-c[0],o[1]-c[1])},rebuildPath:function(b){for(var x=this.data,O,T,E,C,_,L,P=this._ux,k=this._uy,F=this._len,j=0;j<F;){var z=x[j++];j===1&&(E=x[j],C=x[j+1],O=E,T=C);switch(z){case d.M:O=E=x[j++],T=C=x[j++],b.moveTo(E,C);break;case d.L:_=x[j++],L=x[j++],(u(_-E)>P||u(L-C)>k||j===F-1)&&(b.lineTo(_,L),E=_,C=L);break;case d.C:b.bezierCurveTo(x[j++],x[j++],x[j++],x[j++],x[j++],x[j++]),E=x[j-2],C=x[j-1];break;case d.Q:b.quadraticCurveTo(x[j++],x[j++],x[j++],x[j++]),E=x[j-2],C=x[j-1];break;case d.A:var R=x[j++],U=x[j++],B=x[j++],H=x[j++],K=x[j++],V=x[j++],W=x[j++],G=x[j++],re=B>H?B:H,ye=B>H?1:B/H,$=B>H?H/B:1,ve=Math.abs(B-H)>.001,Ce=K+V;ve?(b.translate(R,U),b.rotate(W),b.scale(ye,$),b.arc(0,0,re,K,Ce,1-G),b.scale(1/ye,1/$),b.rotate(-W),b.translate(-R,-U)):b.arc(R,U,re,K,Ce,1-G),j===1&&(O=l(K)*B+R,T=r(K)*H+U),E=l(Ce)*B+R,C=r(Ce)*H+U;break;case d.R:O=E=x[j],T=C=x[j+1],b.rect(x[j++],x[j++],x[j++],x[j++]);break;case d.Z:b.closePath(),E=O,C=T}}}},A.CMD=d;var y=A;M.exports=y},IUWy:function(M,N){var n={};function v(S,m){n[S]=m}function p(S){return n[S]}N.register=v,N.get=p},IWNH:function(M,N,n){var v=n("T4UG"),p=n("Bsck"),S=n("7aKB"),m=S.encodeHTML,g=n("Qxkt"),f=v.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(d){var c={name:d.name,children:d.data},o=d.leaves||{},i=new g(o,this,this.ecModel),t=p.createTree(c,this,{},a);function a(s){s.wrapMethod("getItemModel",function(u,h){var A=t.getNodeByDataIndex(h);return(!A.children.length||!A.isExpand)&&(u.parentModel=i),u})}var e=0;t.eachNode("preorder",function(s){s.depth>e&&(e=s.depth)});var l=d.expandAndCollapse,r=l&&d.initialTreeDepth>=0?d.initialTreeDepth:e;return t.root.eachNode("preorder",function(s){var u=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=u&&u.collapsed!=null?!u.collapsed:s.depth<=r}),t.data},getOrient:function(){var d=this.get("orient");return d==="horizontal"?d="LR":d==="vertical"&&(d="TB"),d},setZoom:function(d){this.option.zoom=d},setCenter:function(d){this.option.center=d},formatTooltip:function(d){for(var c=this.getData().tree,o=c.root.children[0],i=c.getNodeByDataIndex(d),t=i.getValue(),a=i.name;i&&i!==o;)a=i.parentNode.name+"."+a,i=i.parentNode;return m(a+(isNaN(t)||t==null?"":" : "+t))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});M.exports=f},IWp7:function(M,N,n){var v=n("bYtY"),p=n("OELB"),S=n("7aKB"),m=n("lE7J"),g=n("ieMj"),f=g.prototype,d=Math.ceil,c=Math.floor,o=1e3,i=o*60,t=i*60,a=t*24,e=function(u,h,A,y){for(;A<y;){var w=A+y>>>1;u[w][1]<h?A=w+1:y=w}return A},l=g.extend({type:"time",getLabel:function(u){var h=this._stepLvl,A=new Date(u);return S.formatTime(h[0],A,this.getSetting("useUTC"))},niceExtent:function(u){var h=this._extent;if(h[0]===h[1]&&(h[0]-=a,h[1]+=a),h[1]===-Infinity&&h[0]===Infinity){var A=new Date;h[1]=+new Date(A.getFullYear(),A.getMonth(),A.getDate()),h[0]=h[1]-a}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var y=this._interval;u.fixMin||(h[0]=p.round(c(h[0]/y)*y)),u.fixMax||(h[1]=p.round(d(h[1]/y)*y))},niceTicks:function(u,h,A){u=u||10;var y=this._extent,w=y[1]-y[0],b=w/u;h!=null&&b<h&&(b=h),A!=null&&b>A&&(b=A);var x=r.length,O=e(r,b,0,x),T=r[Math.min(O,x-1)],E=T[1];if(T[0]==="year"){var C=w/E,_=p.nice(C/u,!0);E*=_}var L=this.getSetting("useUTC")?0:new Date(+y[0]||+y[1]).getTimezoneOffset()*60*1e3,P=[Math.round(d((y[0]-L)/E)*E+L),Math.round(c((y[1]-L)/E)*E+L)];m.fixExtent(P,y),this._stepLvl=T,this._interval=E,this._niceExtent=P},parse:function(u){return+p.parseDate(u)}});v.each(["contain","normalize"],function(u){l.prototype[u]=function(h){return f[u].call(this,this.parse(h))}});var r=[["hh:mm:ss",o],["hh:mm:ss",o*5],["hh:mm:ss",o*10],["hh:mm:ss",o*15],["hh:mm:ss",o*30],[`hh:mm
MM-dd`,i],[`hh:mm
MM-dd`,i*5],[`hh:mm
MM-dd`,i*10],[`hh:mm
MM-dd`,i*15],[`hh:mm
MM-dd`,i*30],[`hh:mm
MM-dd`,t],[`hh:mm
MM-dd`,t*2],[`hh:mm
MM-dd`,t*6],[`hh:mm
MM-dd`,t*12],[`MM-dd
yyyy`,a],[`MM-dd
yyyy`,a*2],[`MM-dd
yyyy`,a*3],[`MM-dd
yyyy`,a*4],[`MM-dd
yyyy`,a*5],[`MM-dd
yyyy`,a*6],["week",a*7],[`MM-dd
yyyy`,a*10],["week",a*14],["week",a*21],["month",a*31],["week",a*42],["month",a*62],["week",a*70],["quarter",a*95],["month",a*31*4],["month",a*31*5],["half-year",a*380/2],["month",a*31*8],["month",a*31*10],["year",a*380]];l.create=function(u){return new l({useUTC:u.ecModel.get("useUTC")})};var s=l;M.exports=s},IXuL:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("MwEJ"),m=n("T4UG"),g=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(f,d){return S(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});M.exports=g},IXyC:function(M,N,n){var v=n("bYtY"),p=n("bLfw");n("3zoK");var S=p.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(){p.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(m){var g=this.option;m&&v.merge(g,m,!0),this._initDimensions()},contains:function(m,g){var f=m.get("parallelIndex");return f!=null&&g.getComponent("parallel",f)===this},setAxisExpand:function(m){v.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(g){m.hasOwnProperty(g)&&(this.option[g]=m[g])},this)},_initDimensions:function(){var m=this.dimensions=[],g=this.parallelAxisIndex=[],f=v.filter(this.dependentModels.parallelAxis,function(d){return(d.get("parallelIndex")||0)===this.componentIndex},this);v.each(f,function(d){m.push("dim"+d.get("dim")),g.push(d.componentIndex)})}});M.exports=S},ItGF:function(M,N){var n={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?n={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?n={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?n={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:n=p(navigator.userAgent);var v=n;function p(S){var m={},g={},f=S.match(/Firefox\/([\d.]+)/),d=S.match(/MSIE\s([\d.]+)/)||S.match(/Trident\/.+?rv:(([\d.]+))/),c=S.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(S);return f&&(g.firefox=!0,g.version=f[1]),d&&(g.ie=!0,g.version=d[1]),c&&(g.edge=!0,g.version=c[1]),o&&(g.weChat=!0),{browser:g,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!g.ie&&!g.edge,pointerEventsSupported:"onpointerdown"in window&&(g.edge||g.ie&&g.version>=11),domSupported:typeof document!="undefined"}}M.exports=v},ItS6:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=n("eP3c"),p=S(n("1q3G"));function S(c){return c&&c.__esModule?c:{default:c}}function m(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function g(c,o){for(var i=0;i<o.length;i++){var t=o[i];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(c,t.key,t)}}function f(c,o,i){return o&&g(c.prototype,o),i&&g(c,i),c}var d=function(){function c(){m(this,c),this.strm=new p.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,v.inflateInit)(this.strm,this.windowBits)}return f(c,[{key:"setInput",value:function(i){i?(this.strm.input=i,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0):(this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0)}},{key:"inflate",value:function(i){i>this.chunkSize&&(this.chunkSize=i,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=i;var t=(0,v.inflate)(this.strm,0);if(t<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=i)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,v.inflateReset)(this.strm)}}]),c}();N.default=d},Itpr:function(M,N,n){var v=n("+TT/");function p(r){r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var s=[r],u,h;u=s.pop();)if(h=u.children,u.isExpand&&h.length)for(var A=h.length,y=A-1;y>=0;y--){var w=h[y];w.hierNode={defaultAncestor:null,ancestor:w,prelim:0,modifier:0,change:0,shift:0,i:y,thread:null},s.push(w)}}function S(r,s){var u=r.isExpand?r.children:[],h=r.parentNode.children,A=r.hierNode.i?h[r.hierNode.i-1]:null;if(u.length){c(r);var y=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;A?(r.hierNode.prelim=A.hierNode.prelim+s(r,A),r.hierNode.modifier=r.hierNode.prelim-y):r.hierNode.prelim=y}else A&&(r.hierNode.prelim=A.hierNode.prelim+s(r,A));r.parentNode.hierNode.defaultAncestor=o(r,A,r.parentNode.hierNode.defaultAncestor||h[0],s)}function m(r){var s=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:s},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function g(r){return arguments.length?r:l}function f(r,s){var u={};return r-=Math.PI/2,u.x=s*Math.cos(r),u.y=s*Math.sin(r),u}function d(r,s){return v.getLayoutRect(r.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function c(r){for(var s=r.children,u=s.length,h=0,A=0;--u>=0;){var y=s[u];y.hierNode.prelim+=h,y.hierNode.modifier+=h,A+=y.hierNode.change,h+=y.hierNode.shift+A}}function o(r,s,u,h){if(s){for(var A=r,y=r,w=y.parentNode.children[0],b=s,x=A.hierNode.modifier,O=y.hierNode.modifier,T=w.hierNode.modifier,E=b.hierNode.modifier;b=i(b),y=t(y),b&&y;){A=i(A),w=t(w),A.hierNode.ancestor=r;var C=b.hierNode.prelim+E-y.hierNode.prelim-O+h(b,y);C>0&&(e(a(b,r,u),r,C),O+=C,x+=C),E+=b.hierNode.modifier,O+=y.hierNode.modifier,x+=A.hierNode.modifier,T+=w.hierNode.modifier}b&&!i(A)&&(A.hierNode.thread=b,A.hierNode.modifier+=E-x),y&&!t(w)&&(w.hierNode.thread=y,w.hierNode.modifier+=O-T,u=r)}return u}function i(r){var s=r.children;return s.length&&r.isExpand?s[s.length-1]:r.hierNode.thread}function t(r){var s=r.children;return s.length&&r.isExpand?s[0]:r.hierNode.thread}function a(r,s,u){return r.hierNode.ancestor.parentNode===s.parentNode?r.hierNode.ancestor:u}function e(r,s,u){var h=u/(s.hierNode.i-r.hierNode.i);s.hierNode.change-=h,s.hierNode.shift+=u,s.hierNode.modifier+=u,s.hierNode.prelim+=u,r.hierNode.change+=h}function l(r,s){return r.parentNode===s.parentNode?1:2}N.init=p,N.firstWalk=S,N.secondWalk=m,N.separation=g,N.radialCoordinate=f,N.getViewRect=d},IwbS:function(M,N,n){var v=n("bYtY"),p=n("NC18"),S=n("Qe9p"),m=n("Fofx"),g=n("QBsz"),f=n("y+Vt"),d=n("DN4a"),c=n("Dagg");N.Image=c;var o=n("4fz+");N.Group=o;var i=n("dqUG");N.Text=i;var t=n("2fw6");N.Circle=t;var a=n("SqI9");N.Sector=a;var e=n("RXMa");N.Ring=e;var l=n("h7HQ");N.Polygon=l;var r=n("1Jh7");N.Polyline=r;var s=n("x6Kt");N.Rect=s;var u=n("yxFR");N.Line=u;var h=n("rA99");N.BezierCurve=h;var A=n("jTL6");N.Arc=A;var y=n("1MYJ");N.CompoundPath=y;var w=n("SKnc");N.LinearGradient=w;var b=n("3e3G");N.RadialGradient=b;var x=n("mFDi");N.BoundingRect=x;var O=n("OS9S");N.IncrementalDisplayable=O;var T=n("nPnh"),E=Math.max,C=Math.min,_={},L=1,P={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},k="emphasis",F="normal",j=1,z={},R={};function U(Yt){return f.extend(Yt)}function B(Yt,gt){return p.extendFromString(Yt,gt)}function H(Yt,gt){R[Yt]=gt}function K(Yt){if(R.hasOwnProperty(Yt))return R[Yt]}function V(Yt,gt,zr,pn){var Nn=p.createFromString(Yt,gt);return zr&&(pn==="center"&&(zr=G(zr,Nn.getBoundingRect())),ye(Nn,zr)),Nn}function W(Yt,gt,zr){var pn=new c({style:{image:Yt,x:gt.x,y:gt.y,width:gt.width,height:gt.height},onload:function(Nn){if(zr==="center"){var Vn={width:Nn.width,height:Nn.height};pn.setStyle(G(gt,Vn))}}});return pn}function G(Yt,gt){var zr=gt.width/gt.height,pn=Yt.height*zr,Nn;pn<=Yt.width?Nn=Yt.height:(pn=Yt.width,Nn=pn/zr);var Vn=Yt.x+Yt.width/2,xi=Yt.y+Yt.height/2;return{x:Vn-pn/2,y:xi-Nn/2,width:pn,height:Nn}}var re=p.mergePath;function ye(Yt,gt){if(!Yt.applyTransform)return;var zr=Yt.getBoundingRect(),pn=zr.calculateTransform(gt);Yt.applyTransform(pn)}function $(Yt){return T.subPixelOptimizeLine(Yt.shape,Yt.shape,Yt.style),Yt}function ve(Yt){return T.subPixelOptimizeRect(Yt.shape,Yt.shape,Yt.style),Yt}var Ce=T.subPixelOptimize;function Se(Yt){return Yt!=null&&Yt!=="none"}var Ke=v.createHashMap(),ue=0;function Le(Yt){if(typeof Yt!="string")return Yt;var gt=Ke.get(Yt);return gt||(gt=S.lift(Yt,-.1),ue<1e4&&(Ke.set(Yt,gt),ue++)),gt}function ee(Yt){if(!Yt.__hoverStlDirty)return;Yt.__hoverStlDirty=!1;var gt=Yt.__hoverStl;if(!gt){Yt.__cachedNormalStl=Yt.__cachedNormalZ2=null;return}var zr=Yt.__cachedNormalStl={};Yt.__cachedNormalZ2=Yt.z2;var pn=Yt.style;for(var Nn in gt)gt[Nn]!=null&&(zr[Nn]=pn[Nn]);zr.fill=pn.fill,zr.stroke=pn.stroke}function le(Yt){var gt=Yt.__hoverStl;if(!gt||Yt.__highlighted)return;var zr=Yt.__zr,pn=Yt.useHoverLayer&&zr&&zr.painter.type==="canvas";if(Yt.__highlighted=pn?"layer":"plain",Yt.isGroup||!zr&&Yt.useHoverLayer)return;var Nn=Yt,Vn=Yt.style;pn&&(Nn=zr.addHover(Yt),Vn=Nn.style),Ft(Vn),pn||ee(Nn),Vn.extendFrom(gt),et(Vn,gt,"fill"),et(Vn,gt,"stroke"),_t(Vn),pn||(Yt.dirty(!1),Yt.z2+=L)}function et(Yt,gt,zr){!Se(gt[zr])&&Se(Yt[zr])&&(Yt[zr]=Le(Yt[zr]))}function Re(Yt){var gt=Yt.__highlighted;if(!gt)return;if(Yt.__highlighted=!1,Yt.isGroup)return;if(gt==="layer")Yt.__zr&&Yt.__zr.removeHover(Yt);else{var zr=Yt.style,pn=Yt.__cachedNormalStl;pn&&(Ft(zr),Yt.setStyle(pn),_t(zr));var Nn=Yt.__cachedNormalZ2;Nn!=null&&Yt.z2-Nn===L&&(Yt.z2=Nn)}}function Ae(Yt,gt,zr){var pn=F,Nn=F,Vn;Yt.__highlighted&&(pn=k,Vn=!0),gt(Yt,zr),Yt.__highlighted&&(Nn=k,Vn=!0),Yt.isGroup&&Yt.traverse(function(xi){!xi.isGroup&&gt(xi,zr)}),Vn&&Yt.__highDownOnUpdate&&Yt.__highDownOnUpdate(pn,Nn)}function oe(Yt,gt){gt=Yt.__hoverStl=gt!==!1&&(Yt.hoverStyle||gt||{}),Yt.__hoverStlDirty=!0,Yt.__highlighted&&(Yt.__cachedNormalStl=null,Re(Yt),le(Yt))}function ce(Yt){!De(this,Yt)&&!this.__highByOuter&&Ae(this,le)}function be(Yt){!De(this,Yt)&&!this.__highByOuter&&Ae(this,Re)}function Te(Yt){this.__highByOuter|=1<<(Yt||0),Ae(this,le)}function Be(Yt){!(this.__highByOuter&=~(1<<(Yt||0)))&&Ae(this,Re)}function De(Yt,gt){return Yt.__highDownSilentOnTouch&&gt.zrByTouch}function ae(Yt,gt){fe(Yt,!0),Ae(Yt,oe,gt)}function fe(Yt,gt){var zr=gt===!1;if(Yt.__highDownSilentOnTouch=Yt.highDownSilentOnTouch,Yt.__highDownOnUpdate=Yt.highDownOnUpdate,!zr||Yt.__highDownDispatcher){var pn=zr?"off":"on";Yt[pn]("mouseover",ce)[pn]("mouseout",be),Yt[pn]("emphasis",Te)[pn]("normal",Be),Yt.__highByOuter=Yt.__highByOuter||0,Yt.__highDownDispatcher=!zr}}function Oe(Yt){return!!(Yt&&Yt.__highDownDispatcher)}function Je(Yt){var gt=z[Yt];return gt==null&&j<=32&&(gt=z[Yt]=j++),gt}function Et(Yt,gt,zr,pn,Nn,Vn,xi){Nn=Nn||_;var bn=Nn.labelFetcher,Pn=Nn.labelDataIndex,jt=Nn.labelDimIndex,At=Nn.labelProp,xe=zr.getShallow("show"),we=pn.getShallow("show"),Ee;(xe||we)&&(bn&&(Ee=bn.getFormattedLabel(Pn,"normal",null,jt,At)),Ee==null&&(Ee=v.isFunction(Nn.defaultText)?Nn.defaultText(Pn,Nn):Nn.defaultText));var Ge=xe?Ee:null,nt=we?v.retrieve2(bn?bn.getFormattedLabel(Pn,"emphasis",null,jt,At):null,Ee):null;(Ge!=null||nt!=null)&&(Ne(Yt,zr,Vn,Nn),Ne(gt,pn,xi,Nn,!0)),Yt.text=Ge,gt.text=nt}function Ze(Yt,gt,zr){var pn=Yt.style;gt&&(Ft(pn),Yt.setStyle(gt),_t(pn)),pn=Yt.__hoverStl,zr&&pn&&(Ft(pn),v.extend(pn,zr),_t(pn))}function Ne(Yt,gt,zr,pn,Nn){return Xe(Yt,gt,pn,Nn),zr&&v.extend(Yt,zr),Yt}function It(Yt,gt,zr){var pn={isRectText:!0},Nn;zr===!1?Nn=!0:pn.autoColor=zr,Xe(Yt,gt,pn,Nn)}function Xe(Yt,gt,zr,pn){if(zr=zr||_,zr.isRectText){var Nn;zr.getTextPosition?Nn=zr.getTextPosition(gt,pn):(Nn=gt.getShallow("position")||(pn?null:"inside"),Nn==="outside"&&(Nn="top")),Yt.textPosition=Nn,Yt.textOffset=gt.getShallow("offset");var Vn=gt.getShallow("rotate");Vn!=null&&(Vn*=Math.PI/180),Yt.textRotation=Vn,Yt.textDistance=v.retrieve2(gt.getShallow("distance"),pn?null:5)}var xi=gt.ecModel,bn=xi&&xi.option.textStyle,Pn=Ot(gt),jt;if(Pn){jt={};for(var At in Pn)if(Pn.hasOwnProperty(At)){var xe=gt.getModel(["rich",At]);Bt(jt[At]={},xe,bn,zr,pn)}}return Yt.rich=jt,Bt(Yt,gt,bn,zr,pn,!0),zr.forceRich&&!zr.textStyle&&(zr.textStyle={}),Yt}function Ot(Yt){for(var gt;Yt&&Yt!==Yt.ecModel;){var zr=(Yt.option||_).rich;if(zr){gt=gt||{};for(var pn in zr)zr.hasOwnProperty(pn)&&(gt[pn]=1)}Yt=Yt.parentModel}return gt}function Bt(Yt,gt,zr,pn,Nn,Vn){zr=!Nn&&zr||_,Yt.textFill=kt(gt.getShallow("color"),pn)||zr.color,Yt.textStroke=kt(gt.getShallow("textBorderColor"),pn)||zr.textBorderColor,Yt.textStrokeWidth=v.retrieve2(gt.getShallow("textBorderWidth"),zr.textBorderWidth),Nn||(Vn&&(Yt.insideRollbackOpt=pn,_t(Yt)),Yt.textFill==null&&(Yt.textFill=pn.autoColor)),Yt.fontStyle=gt.getShallow("fontStyle")||zr.fontStyle,Yt.fontWeight=gt.getShallow("fontWeight")||zr.fontWeight,Yt.fontSize=gt.getShallow("fontSize")||zr.fontSize,Yt.fontFamily=gt.getShallow("fontFamily")||zr.fontFamily,Yt.textAlign=gt.getShallow("align"),Yt.textVerticalAlign=gt.getShallow("verticalAlign")||gt.getShallow("baseline"),Yt.textLineHeight=gt.getShallow("lineHeight"),Yt.textWidth=gt.getShallow("width"),Yt.textHeight=gt.getShallow("height"),Yt.textTag=gt.getShallow("tag"),(!Vn||!pn.disableBox)&&(Yt.textBackgroundColor=kt(gt.getShallow("backgroundColor"),pn),Yt.textPadding=gt.getShallow("padding"),Yt.textBorderColor=kt(gt.getShallow("borderColor"),pn),Yt.textBorderWidth=gt.getShallow("borderWidth"),Yt.textBorderRadius=gt.getShallow("borderRadius"),Yt.textBoxShadowColor=gt.getShallow("shadowColor"),Yt.textBoxShadowBlur=gt.getShallow("shadowBlur"),Yt.textBoxShadowOffsetX=gt.getShallow("shadowOffsetX"),Yt.textBoxShadowOffsetY=gt.getShallow("shadowOffsetY")),Yt.textShadowColor=gt.getShallow("textShadowColor")||zr.textShadowColor,Yt.textShadowBlur=gt.getShallow("textShadowBlur")||zr.textShadowBlur,Yt.textShadowOffsetX=gt.getShallow("textShadowOffsetX")||zr.textShadowOffsetX,Yt.textShadowOffsetY=gt.getShallow("textShadowOffsetY")||zr.textShadowOffsetY}function kt(Yt,gt){return Yt!=="auto"?Yt:gt&&gt.autoColor?gt.autoColor:null}function _t(Yt){var gt=Yt.textPosition,zr=Yt.insideRollbackOpt,pn;if(zr&&Yt.textFill==null){var Nn=zr.autoColor,Vn=zr.isRectText,xi=zr.useInsideStyle,bn=xi!==!1&&(xi===!0||Vn&&gt&&typeof gt=="string"&&gt.indexOf("inside")>=0),Pn=!bn&&Nn!=null;(bn||Pn)&&(pn={textFill:Yt.textFill,textStroke:Yt.textStroke,textStrokeWidth:Yt.textStrokeWidth}),bn&&(Yt.textFill="#fff",Yt.textStroke==null&&(Yt.textStroke=Nn,Yt.textStrokeWidth==null&&(Yt.textStrokeWidth=2))),Pn&&(Yt.textFill=Nn)}Yt.insideRollback=pn}function Ft(Yt){var gt=Yt.insideRollback;gt&&(Yt.textFill=gt.textFill,Yt.textStroke=gt.textStroke,Yt.textStrokeWidth=gt.textStrokeWidth,Yt.insideRollback=null)}function ke(Yt,gt){var zr=gt&&gt.getModel("textStyle");return v.trim([Yt.fontStyle||zr&&zr.getShallow("fontStyle")||"",Yt.fontWeight||zr&&zr.getShallow("fontWeight")||"",(Yt.fontSize||zr&&zr.getShallow("fontSize")||12)+"px",Yt.fontFamily||zr&&zr.getShallow("fontFamily")||"sans-serif"].join(" "))}function te(Yt,gt,zr,pn,Nn,Vn){typeof Nn=="function"&&(Vn=Nn,Nn=null);var xi=pn&&pn.isAnimationEnabled();if(xi){var bn=Yt?"Update":"",Pn=pn.getShallow("animationDuration"+bn),jt=pn.getShallow("animationEasing"+bn),At=pn.getShallow("animationDelay"+bn);typeof At=="function"&&(At=At(Nn,pn.getAnimationDelayParams?pn.getAnimationDelayParams(gt,Nn):null)),typeof Pn=="function"&&(Pn=Pn(Nn)),Pn>0?gt.animateTo(zr,Pn,At||0,jt,Vn,!!Vn):(gt.stopAnimation(),gt.attr(zr),Vn&&Vn())}else gt.stopAnimation(),gt.attr(zr),Vn&&Vn()}function Q(Yt,gt,zr,pn,Nn){te(!0,Yt,gt,zr,pn,Nn)}function qe(Yt,gt,zr,pn,Nn){te(!1,Yt,gt,zr,pn,Nn)}function je(Yt,gt){for(var zr=m.identity([]);Yt&&Yt!==gt;)m.mul(zr,Yt.getLocalTransform(),zr),Yt=Yt.parent;return zr}function q(Yt,gt,zr){return gt&&!v.isArrayLike(gt)&&(gt=d.getLocalTransform(gt)),zr&&(gt=m.invert([],gt)),g.applyTransform([],Yt,gt)}function wt(Yt,gt,zr){var pn=gt[4]===0||gt[5]===0||gt[0]===0?1:Math.abs(2*gt[4]/gt[0]),Nn=gt[4]===0||gt[5]===0||gt[2]===0?1:Math.abs(2*gt[4]/gt[2]),Vn=[Yt==="left"?-pn:Yt==="right"?pn:0,Yt==="top"?-Nn:Yt==="bottom"?Nn:0];return Vn=q(Vn,gt,zr),Math.abs(Vn[0])>Math.abs(Vn[1])?Vn[0]>0?"right":"left":Vn[1]>0?"bottom":"top"}function Vt(Yt,gt,zr,pn){if(!Yt||!gt)return;function Nn(bn){var Pn={};return bn.traverse(function(jt){!jt.isGroup&&jt.anid&&(Pn[jt.anid]=jt)}),Pn}function Vn(bn){var Pn={position:g.clone(bn.position),rotation:bn.rotation};return bn.shape&&(Pn.shape=v.extend({},bn.shape)),Pn}var xi=Nn(Yt);gt.traverse(function(bn){if(!bn.isGroup&&bn.anid){var Pn=xi[bn.anid];if(Pn){var jt=Vn(bn);bn.attr(Vn(Pn)),Q(bn,jt,zr,bn.dataIndex)}}})}function lt(Yt,gt){return v.map(Yt,function(zr){var pn=zr[0];pn=E(pn,gt.x),pn=C(pn,gt.x+gt.width);var Nn=zr[1];return Nn=E(Nn,gt.y),Nn=C(Nn,gt.y+gt.height),[pn,Nn]})}function or(Yt,gt){var zr=E(Yt.x,gt.x),pn=C(Yt.x+Yt.width,gt.x+gt.width),Nn=E(Yt.y,gt.y),Vn=C(Yt.y+Yt.height,gt.y+gt.height);if(pn>=zr&&Vn>=Nn)return{x:zr,y:Nn,width:pn-zr,height:Vn-Nn}}function vr(Yt,gt,zr){gt=v.extend({rectHover:!0},gt);var pn=gt.style={strokeNoScale:!0};if(zr=zr||{x:-1,y:-1,width:2,height:2},Yt)return Yt.indexOf("image://")===0?(pn.image=Yt.slice(8),v.defaults(pn,zr),new c(gt)):V(Yt.replace("path://",""),gt,zr,"center")}function An(Yt,gt,zr,pn,Nn){for(var Vn=0,xi=Nn[Nn.length-1];Vn<Nn.length;Vn++){var bn=Nn[Vn];if(hr(Yt,gt,zr,pn,bn[0],bn[1],xi[0],xi[1]))return!0;xi=bn}}function hr(Yt,gt,zr,pn,Nn,Vn,xi,bn){var Pn=zr-Yt,jt=pn-gt,At=xi-Nn,xe=bn-Vn,we=xr(At,xe,Pn,jt);if(nr(we))return!1;var Ee=Yt-Nn,Ge=gt-Vn,nt=xr(Ee,Ge,Pn,jt)/we;if(nt<0||nt>1)return!1;var st=xr(Ee,Ge,At,xe)/we;return!(st<0||st>1)}function xr(Yt,gt,zr,pn){return Yt*pn-zr*gt}function nr(Yt){return Yt<=1e-6&&Yt>=-1e-6}H("circle",t),H("sector",a),H("ring",e),H("polygon",l),H("polyline",r),H("rect",s),H("line",u),H("bezierCurve",h),H("arc",A),N.Z2_EMPHASIS_LIFT=L,N.CACHED_LABEL_STYLE_PROPERTIES=P,N.extendShape=U,N.extendPath=B,N.registerShape=H,N.getShapeClass=K,N.makePath=V,N.makeImage=W,N.mergePath=re,N.resizePath=ye,N.subPixelOptimizeLine=$,N.subPixelOptimizeRect=ve,N.subPixelOptimize=Ce,N.setElementHoverStyle=oe,N.setHoverStyle=ae,N.setAsHighDownDispatcher=fe,N.isHighDownDispatcher=Oe,N.getHighlightDigit=Je,N.setLabelStyle=Et,N.modifyLabelStyle=Ze,N.setTextStyle=Ne,N.setText=It,N.getFont=ke,N.updateProps=Q,N.initProps=qe,N.getTransform=je,N.applyTransform=q,N.transformDirection=wt,N.groupTransition=Vt,N.clipPointsByRect=lt,N.clipRectByRect=or,N.createIcon=vr,N.linePolygonIntersect=An,N.lineLineIntersect=hr},IyUQ:function(M,N,n){var v=n("bYtY"),p=n("YH21"),S=n("IwbS"),m=n("iLNv"),g=n("fc+c"),f=n("OELB"),d=n("+TT/"),c=n("72pK"),o=S.Rect,i=f.linearMap,t=f.asc,a=v.bind,e=v.each,l=7,r=1,s=30,u="horizontal",h="vertical",A=5,y=["line","bar","candlestick","scatter"],w=g.extend({type:"dataZoom.slider",init:function(T,E){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=E},render:function(T,E,C,_){if(w.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!_||_.type!=="dataZoom"||_.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){w.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){w.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var E=this._displayables.barGroup=new S.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(E),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,E=this.api,C=this._findCoordRect(),_={width:E.getWidth(),height:E.getHeight()},L=this._orient===u?{right:_.width-C.x-C.width,top:_.height-s-l,width:C.width,height:s}:{right:l,top:C.y,width:s,height:C.height},P=d.getLayoutParams(T.option);v.each(["right","top","width","height"],function(F){P[F]==="ph"&&(P[F]=L[F])});var k=d.getLayoutRect(P,_,T.padding);this._location={x:k.x,y:k.y},this._size=[k.width,k.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var T=this.group,E=this._location,C=this._orient,_=this.dataZoomModel.getFirstTargetAxisModel(),L=_&&_.get("inverse"),P=this._displayables.barGroup,k=(this._dataShadowInfo||{}).otherAxisInverse;P.attr(C===u&&!L?{scale:k?[1,1]:[1,-1]}:C===u&&L?{scale:k?[-1,1]:[-1,-1]}:C===h&&!L?{scale:k?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:k?[-1,-1]:[-1,1],rotation:Math.PI/2});var F=T.getBoundingRect([P]);T.attr("position",[E.x-F.x,E.y-F.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,E=this._size,C=this._displayables.barGroup;C.add(new o({silent:!0,shape:{x:0,y:0,width:E[0],height:E[1]},style:{fill:T.get("backgroundColor")},z2:-40})),C.add(new o({shape:{x:0,y:0,width:E[0],height:E[1]},style:{fill:"transparent"},z2:0,onclick:v.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var E=this._size,C=T.series,_=C.getRawData(),L=C.getShadowDim?C.getShadowDim():T.otherDim;if(L==null)return;var P=_.getDataExtent(L),k=(P[1]-P[0])*.3;P=[P[0]-k,P[1]+k];var F=[0,E[1]],j=[0,E[0]],z=[[E[0],0],[0,0]],R=[],U=j[1]/(_.count()-1),B=0,H=Math.round(_.count()/E[0]),K;_.each([L],function(W,G){if(H>0&&G%H){B+=U;return}var re=W==null||isNaN(W)||W==="",ye=re?0:i(W,P,F,!0);re&&!K&&G?(z.push([z[z.length-1][0],0]),R.push([R[R.length-1][0],0])):!re&&K&&(z.push([B,0]),R.push([B,0])),z.push([B,ye]),R.push([B,ye]),B+=U,K=re});var V=this.dataZoomModel;this._displayables.barGroup.add(new S.Polygon({shape:{points:z},style:v.defaults({fill:V.get("dataBackgroundColor")},V.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new S.Polyline({shape:{points:R},style:V.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,E=T.get("showDataShadow");if(E===!1)return;var C,_=this.ecModel;return T.eachTargetAxis(function(L,P){var k=T.getAxisProxy(L.name,P).getTargetSeriesModels();v.each(k,function(F){if(C)return;if(E!==!0&&v.indexOf(y,F.get("type"))<0)return;var j=_.getComponent(L.axis,P).axis,z=b(L.name),R,U=F.coordinateSystem;z!=null&&U.getOtherAxis&&(R=U.getOtherAxis(j).inverse),z=F.getData().mapDimension(z),C={thisAxis:j,series:F,thisDim:L.name,otherDim:z,otherAxisInverse:R}},this)},this),C},_renderHandle:function(){var T=this._displayables,E=T.handles=[],C=T.handleLabels=[],_=this._displayables.barGroup,L=this._size,P=this.dataZoomModel;_.add(T.filler=new o({draggable:!0,cursor:x(this._orient),drift:a(this._onDragMove,this,"all"),ondragstart:a(this._showDataInfo,this,!0),ondragend:a(this._onDragEnd,this),onmouseover:a(this._showDataInfo,this,!0),onmouseout:a(this._showDataInfo,this,!1),style:{fill:P.get("fillerColor"),textPosition:"inside"}})),_.add(new o({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:P.get("dataBackgroundColor")||P.get("borderColor"),lineWidth:r,fill:"rgba(0,0,0,0)"}})),e([0,1],function(k){var F=S.createIcon(P.get("handleIcon"),{cursor:x(this._orient),draggable:!0,drift:a(this._onDragMove,this,k),ondragend:a(this._onDragEnd,this),onmouseover:a(this._showDataInfo,this,!0),onmouseout:a(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),j=F.getBoundingRect();this._handleHeight=f.parsePercent(P.get("handleSize"),this._size[1]),this._handleWidth=j.width/j.height*this._handleHeight,F.setStyle(P.getModel("handleStyle").getItemStyle());var z=P.get("handleColor");z!=null&&(F.style.fill=z),_.add(E[k]=F);var R=P.textStyleModel;this.group.add(C[k]=new S.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:R.getTextColor(),textFont:R.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),E=this._getViewExtent();this._handleEnds=[i(T[0],[0,100],E,!0),i(T[1],[0,100],E,!0)]},_updateInterval:function(T,E){var C=this.dataZoomModel,_=this._handleEnds,L=this._getViewExtent(),P=C.findRepresentativeAxisProxy().getMinMaxSpan(),k=[0,100];c(E,_,L,C.get("zoomLock")?"all":T,P.minSpan!=null?i(P.minSpan,k,L,!0):null,P.maxSpan!=null?i(P.maxSpan,k,L,!0):null);var F=this._range,j=this._range=t([i(_[0],L,k,!0),i(_[1],L,k,!0)]);return!F||F[0]!==j[0]||F[1]!==j[1]},_updateView:function(T){var E=this._displayables,C=this._handleEnds,_=t(C.slice()),L=this._size;e([0,1],function(P){var k=E.handles[P],F=this._handleHeight;k.attr({scale:[F/2,F/2],position:[C[P],L[1]/2-F/2]})},this),E.filler.setShape({x:_[0],y:0,width:_[1]-_[0],height:L[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var E=this.dataZoomModel,C=this._displayables,_=C.handleLabels,L=this._orient,P=["",""];if(E.get("showDetail")){var k=E.findRepresentativeAxisProxy();if(k){var F=k.getAxisModel().axis,j=this._range,z=T?k.calculateDataWindow({start:j[0],end:j[1]}).valueWindow:k.getDataValueWindow();P=[this._formatLabel(z[0],F),this._formatLabel(z[1],F)]}}var R=t(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(B){var H=S.getTransform(C.handles[B].parent,this.group),K=S.transformDirection(B===0?"right":"left",H),V=this._handleWidth/2+A,W=S.applyTransform([R[B]+(B===0?-V:V),this._size[1]/2],H);_[B].setStyle({x:W[0],y:W[1],textVerticalAlign:L===u?"middle":K,textAlign:L===u?K:"center",text:P[B]})}},_formatLabel:function(T,E){var C=this.dataZoomModel,_=C.get("labelFormatter"),L=C.get("labelPrecision");(L==null||L==="auto")&&(L=E.getPixelPrecision());var P=T==null||isNaN(T)?"":E.type==="category"||E.type==="time"?E.scale.getLabel(Math.round(T)):T.toFixed(Math.min(L,20));return v.isFunction(_)?_(T,P):v.isString(_)?_.replace("{value}",P):P},_showDataInfo:function(T){T=this._dragging||T;var E=this._displayables.handleLabels;E[0].attr("invisible",!T),E[1].attr("invisible",!T)},_onDragMove:function(T,E,C,_){this._dragging=!0,p.stop(_.event);var L=this._displayables.barGroup.getLocalTransform(),P=S.applyTransform([E,C],L,!0),k=this._updateInterval(T,P[0]),F=this.dataZoomModel.get("realtime");this._updateView(!F),k&&F&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var E=this._size,C=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(C[0]<0||C[0]>E[0]||C[1]<0||C[1]>E[1])return;var _=this._handleEnds,L=(_[0]+_[1])/2,P=this._updateInterval("all",C[0]-L);this._updateView(),P&&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(e(this.getTargetCoordInfo(),function(_){if(!T&&_.length){var L=_[0].model.coordinateSystem;T=L.getRect&&L.getRect()}}),!T){var E=this.api.getWidth(),C=this.api.getHeight();T={x:E*.2,y:C*.2,width:E*.6,height:C*.6}}return T}});function b(T){var E={x:"y",y:"x",radius:"angle",angle:"radius"};return E[T]}function x(T){return T==="vertical"?"ns-resize":"ew-resize"}var O=w;M.exports=O},IzEo:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("lnY3"),m=n.n(S),g=n("Znn+"),f=n("14J3"),d=n("jCWc")},J66h:function(M,N,n){(function(v){var p,S;(function(m,g){M.exports=g(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof v!="undefined"?v:this,function(m){"use strict";m=m||{};var g=m.Base64,f="2.6.4",d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(F){for(var j={},z=0,R=F.length;z<R;z++)j[F.charAt(z)]=z;return j}(d),o=String.fromCharCode,i=function(j){if(j.length<2){var z=j.charCodeAt(0);return z<128?j:z<2048?o(192|z>>>6)+o(128|z&63):o(224|z>>>12&15)+o(128|z>>>6&63)+o(128|z&63)}else{var z=65536+(j.charCodeAt(0)-55296)*1024+(j.charCodeAt(1)-56320);return o(240|z>>>18&7)+o(128|z>>>12&63)+o(128|z>>>6&63)+o(128|z&63)}},t=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(j){return j.replace(t,i)},e=function(j){var z=[0,2,1][j.length%3],R=j.charCodeAt(0)<<16|(j.length>1?j.charCodeAt(1):0)<<8|(j.length>2?j.charCodeAt(2):0),U=[d.charAt(R>>>18),d.charAt(R>>>12&63),z>=2?"=":d.charAt(R>>>6&63),z>=1?"=":d.charAt(R&63)];return U.join("")},l=m.btoa&&typeof m.btoa=="function"?function(F){return m.btoa(F)}:function(F){if(F.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return F.replace(/[\s\S]{1,3}/g,e)},r=function(j){return l(a(String(j)))},s=function(j){return j.replace(/[+\/]/g,function(z){return z=="+"?"-":"_"}).replace(/=/g,"")},u=function(j,z){return z?s(r(j)):r(j)},h=function(j){return u(j,!0)},A;m.Uint8Array&&(A=function(j,z){for(var R="",U=0,B=j.length;U<B;U+=3){var H=j[U],K=j[U+1],V=j[U+2],W=H<<16|K<<8|V;R+=d.charAt(W>>>18)+d.charAt(W>>>12&63)+(typeof K!="undefined"?d.charAt(W>>>6&63):"=")+(typeof V!="undefined"?d.charAt(W&63):"=")}return z?s(R):R});var y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(j){switch(j.length){case 4:var z=(7&j.charCodeAt(0))<<18|(63&j.charCodeAt(1))<<12|(63&j.charCodeAt(2))<<6|63&j.charCodeAt(3),R=z-65536;return o((R>>>10)+55296)+o((R&1023)+56320);case 3:return o((15&j.charCodeAt(0))<<12|(63&j.charCodeAt(1))<<6|63&j.charCodeAt(2));default:return o((31&j.charCodeAt(0))<<6|63&j.charCodeAt(1))}},b=function(j){return j.replace(y,w)},x=function(j){var z=j.length,R=z%4,U=(z>0?c[j.charAt(0)]<<18:0)|(z>1?c[j.charAt(1)]<<12:0)|(z>2?c[j.charAt(2)]<<6:0)|(z>3?c[j.charAt(3)]:0),B=[o(U>>>16),o(U>>>8&255),o(U&255)];return B.length-=[0,0,2,1][R],B.join("")},O=m.atob&&typeof m.atob=="function"?function(F){return m.atob(F)}:function(F){return F.replace(/\S{1,4}/g,x)},T=function(j){return O(String(j).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(j){return b(O(j))},C=function(j){return String(j).replace(/[-_]/g,function(z){return z=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},_=function(j){return E(C(j))},L;m.Uint8Array&&(L=function(j){return Uint8Array.from(T(C(j)),function(z){return z.charCodeAt(0)})});var P=function(){var j=m.Base64;return m.Base64=g,j};if(m.Base64={VERSION:f,atob:T,btoa:l,fromBase64:_,toBase64:u,utob:a,encode:u,encodeURI:h,btou:b,decode:_,noConflict:P,fromUint8Array:A,toUint8Array:L},typeof Object.defineProperty=="function"){var k=function(j){return{value:j,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",k(function(){return _(this)})),Object.defineProperty(String.prototype,"toBase64",k(function(F){return u(this,F)})),Object.defineProperty(String.prototype,"toBase64URI",k(function(){return u(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),M.exports?M.exports.Base64=m.Base64:!(p=[],S=function(){return m.Base64}.apply(N,p),S!==void 0&&(M.exports=S)),{Base64:m.Base64}})}).call(this,n("yLpj"))},JEkh:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("bYtY"),g=n("ItGF"),f=n("4NO4"),d=n("7aKB"),c=n("OKJ2"),o=d.addCommas,i=d.encodeHTML;function t(l){f.defaultEmphasis(l,"label",["show"])}var a=S.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,r,s){this.mergeDefaultAndTheme(l,s),this._mergeOption(l,s,!1,!0)},isAnimationEnabled:function(){if(g.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,r){this._mergeOption(l,r,!1,!1)},_mergeOption:function(l,r,s,u){var h=this.constructor,A=this.mainType+"Model";s||r.eachSeries(function(y){var w=y.get(this.mainType,!0),b=y[A];if(!w||!w.data){y[A]=null;return}b?b._mergeOption(w,r,!0):(u&&t(w),m.each(w.data,function(x){x instanceof Array?(t(x[0]),t(x[1])):t(x)}),b=new h(w,this,r),m.extend(b,{mainType:this.mainType,seriesIndex:y.seriesIndex,name:y.name,createdBySelf:!0}),b.__hostSeries=y),y[A]=b},this)},formatTooltip:function(l){var r=this.getData(),s=this.getRawValue(l),u=m.isArray(s)?m.map(s,o).join(", "):o(s),h=r.getName(l),A=i(this.name);return(s!=null||h)&&(A+="<br />"),h&&(A+=i(h),s!=null&&(A+=" : ")),s!=null&&(A+=i(u)),A},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(a,c);var e=a;M.exports=e},JGo8:function(M,N,n){},JLnu:function(M,N,n){var v=n("+TT/"),p=n("OELB"),S=p.parsePercent,m=p.linearMap;function g(o,i){return v.getLayoutRect(o.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}function f(o,i){for(var t=o.mapDimension("value"),a=o.mapArray(t,function(u){return u}),e=[],l=i==="ascending",r=0,s=o.count();r<s;r++)e[r]=r;return typeof i=="function"?e.sort(i):i!=="none"&&e.sort(function(u,h){return l?a[u]-a[h]:a[h]-a[u]}),e}function d(o){o.each(function(i){var t=o.getItemModel(i),a=t.getModel("label"),e=a.get("position"),l=t.getModel("labelLine"),r=o.getItemLayout(i),s=r.points,u=e==="inner"||e==="inside"||e==="center"||e==="insideLeft"||e==="insideRight",h,A,y,w;if(u)e==="insideLeft"?(A=(s[0][0]+s[3][0])/2+5,y=(s[0][1]+s[3][1])/2,h="left"):e==="insideRight"?(A=(s[1][0]+s[2][0])/2-5,y=(s[1][1]+s[2][1])/2,h="right"):(A=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,y=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,h="center"),w=[[A,y],[A,y]];else{var b,x,O,T=l.get("length");e==="left"?(b=(s[3][0]+s[0][0])/2,x=(s[3][1]+s[0][1])/2,O=b-T,A=O-5,h="right"):e==="right"?(b=(s[1][0]+s[2][0])/2,x=(s[1][1]+s[2][1])/2,O=b+T,A=O+5,h="left"):e==="rightTop"?(b=s[1][0],x=s[1][1],O=b+T,A=O+5,h="top"):e==="rightBottom"?(b=s[2][0],x=s[2][1],O=b+T,A=O+5,h="bottom"):e==="leftTop"?(b=s[0][0],x=s[1][1],O=b-T,A=O-5,h="right"):e==="leftBottom"?(b=s[3][0],x=s[2][1],O=b-T,A=O-5,h="right"):(b=(s[1][0]+s[2][0])/2,x=(s[1][1]+s[2][1])/2,O=b+T,A=O+5,h="left");var E=x;w=[[b,x],[O,E]],y=E}r.label={linePoints:w,x:A,y,verticalAlign:"middle",textAlign:h,inside:u}})}function c(o,i,t){o.eachSeriesByType("funnel",function(a){var e=a.getData(),l=e.mapDimension("value"),r=a.get("sort"),s=g(a,i),u=f(e,r),h=[S(a.get("minSize"),s.width),S(a.get("maxSize"),s.width)],A=e.getDataExtent(l),y=a.get("min"),w=a.get("max");y==null&&(y=Math.min(A[0],0)),w==null&&(w=A[1]);var b=a.get("funnelAlign"),x=a.get("gap"),O=(s.height-x*(e.count()-1))/e.count(),T=s.y,E=function(z,R){var U=e.get(l,z)||0,B=m(U,[y,w],h,!0),H;switch(b){case"left":H=s.x;break;case"center":H=s.x+(s.width-B)/2;break;case"right":H=s.x+s.width-B;break}return[[H,R],[H+B,R]]};r==="ascending"&&(O=-O,x=-x,T+=s.height,u=u.reverse());for(var C=0;C<u.length;C++){var _=u[C],L=u[C+1],P=e.getItemModel(_),k=P.get("itemStyle.height");k==null?k=O:(k=S(k,s.height),r==="ascending"&&(k=-k));var F=E(_,T),j=E(L,T+k);T+=k+x,e.setItemLayout(_,{points:F.concat(j.slice().reverse())})}d(e)})}M.exports=c},JSwD:function(M,N,n){"use strict";function v(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(h){return typeof h}:v=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},v(s)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=r;var p=m(n("6BzB"));function S(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return S=function(){return s},s}function m(s){if(s&&s.__esModule)return s;if(s===null||v(s)!=="object"&&typeof s!="function")return{default:s};var u=S();if(u&&u.has(s))return u.get(s);var h={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in s)if(Object.prototype.hasOwnProperty.call(s,y)){var w=A?Object.getOwnPropertyDescriptor(s,y):null;w&&(w.get||w.set)?Object.defineProperty(h,y,w):h[y]=s[y]}return h.default=s,u&&u.set(s,h),h}var g=15,f=852,d=592,c=0,o=1,i=2,t=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],e=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function r(s,u,h,A,y,w,b,x){var O=x.bits,T=0,E=0,C=0,_=0,L=0,P=0,k=0,F=0,j=0,z=0,R,U,B,H,K,V=null,W=0,G,re=new p.Buf16(g+1),ye=new p.Buf16(g+1),$=null,ve=0,Ce,Se,Ke;for(T=0;T<=g;T++)re[T]=0;for(E=0;E<A;E++)re[u[h+E]]++;for(L=O,_=g;_>=1&&!(re[_]!==0);_--);if(L>_&&(L=_),_===0)return y[w++]=1<<24|64<<16|0,y[w++]=1<<24|64<<16|0,x.bits=1,0;for(C=1;C<_&&!(re[C]!==0);C++);for(L<C&&(L=C),F=1,T=1;T<=g;T++)if(F<<=1,F-=re[T],F<0)return-1;if(F>0&&(s===c||_!==1))return-1;for(ye[1]=0,T=1;T<g;T++)ye[T+1]=ye[T]+re[T];for(E=0;E<A;E++)u[h+E]!==0&&(b[ye[u[h+E]]++]=E);if(s===c?(V=$=b,G=19):s===o?(V=t,W-=257,$=a,ve-=257,G=256):(V=e,$=l,G=-1),z=0,E=0,T=C,K=w,P=L,k=0,B=-1,j=1<<L,H=j-1,s===o&&j>f||s===i&&j>d)return 1;for(;;){Ce=T-k,b[E]<G?(Se=0,Ke=b[E]):b[E]>G?(Se=$[ve+b[E]],Ke=V[W+b[E]]):(Se=32+64,Ke=0),R=1<<T-k,U=1<<P,C=U;do U-=R,y[K+(z>>k)+U]=Ce<<24|Se<<16|Ke|0;while(U!==0);for(R=1<<T-1;z&R;)R>>=1;if(R!==0?(z&=R-1,z+=R):z=0,E++,--re[T]===0){if(T===_)break;T=u[h+b[E]]}if(T>L&&(z&H)!==B){for(k===0&&(k=L),K+=C,P=T-k,F=1<<P;P+k<_&&!(F-=re[P+k],F<=0);)P++,F<<=1;if(j+=1<<P,s===o&&j>f||s===i&&j>d)return 1;B=z&H,y[B]=L<<24|P<<16|K-w|0}}return z!==0&&(y[K+z]=T-k<<24|64<<16|0),x.bits=L,0}},JVwQ:function(M,N,n){var v=n("ProS"),p=n("1NG9"),S=p.Polygon,m=n("IwbS"),g=n("bYtY"),f=g.bind,d=g.extend,c=n("gPAo"),o=v.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,a,e){var l=t.getData(),r=this.group,s=t.getLayerSeries(),u=l.getLayout("layoutInfo"),h=u.rect,A=u.boundaryGap;r.attr("position",[0,h.y+A[0]]);function y(O){return O.name}var w=new c(this._layersSeries||[],s,y,y),b={};w.add(f(x,this,"add")).update(f(x,this,"update")).remove(f(x,this,"remove")).execute();function x(O,T,E){var C=this._layers;if(O==="remove"){r.remove(C[T]);return}for(var _=[],L=[],P,k=s[T].indices,F=0;F<k.length;F++){var j=l.getItemLayout(k[F]),z=j.x,R=j.y0,U=j.y;_.push([z,R]),L.push([z,R+U]),P=l.getItemVisual(k[F],"color")}var B,H,K=l.getItemLayout(k[0]),V=l.getItemModel(k[F-1]),W=V.getModel("label"),G=W.get("margin");if(O==="add"){var re=b[T]=new m.Group;B=new S({shape:{points:_,stackedOnPoints:L,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),H=new m.Text({style:{x:K.x-G,y:K.y0+K.y/2}}),re.add(B),re.add(H),r.add(re),B.setClipPath(i(B.getBoundingRect(),t,function(){B.removeClipPath()}))}else{var re=C[E];B=re.childAt(0),H=re.childAt(1),r.add(re),b[T]=re,m.updateProps(B,{shape:{points:_,stackedOnPoints:L}},t),m.updateProps(H,{style:{x:K.x-G,y:K.y0+K.y/2}},t)}var ye=V.getModel("emphasis.itemStyle"),$=V.getModel("itemStyle");m.setTextStyle(H.style,W,{text:W.get("show")?t.getFormattedLabel(k[F-1],"normal")||l.getName(k[F-1]):null,textVerticalAlign:"middle"}),B.setStyle(d({fill:P},$.getItemStyle(["color"]))),m.setHoverStyle(B,ye.getItemStyle())}this._layersSeries=s,this._layers=b},dispose:function(){}});function i(t,a,e){var l=new m.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return m.initProps(l,{shape:{width:t.width+20,height:t.height+20}},a,e),l}M.exports=o},JgUQ:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};N.default=v},JsLm:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("PJYZ"),i=n.n(o),t=n("7W2i"),a=n.n(t),e=n("LQ03"),l=n.n(e),r=n("q1tI"),s=n("i8i4"),u=n("TSYQ"),h=n.n(u),A=n("zT1h"),y=n("VNzZ"),w=n("H84U"),b=n("zAh6"),x=n("i6bk"),O=r.createContext(null),T=O;function E(){return window}function C(j,z){if(!j.getClientRects().length)return 0;var R=j.getBoundingClientRect();return R.width||R.height?z===window?(z=j.ownerDocument.documentElement,R.top-z.clientTop):R.top-z.getBoundingClientRect().top:R.top}var _=/#(\S+)$/,L=function(j){a()(R,j);var z=l()(R);function R(){var U;return f()(this,R),U=z.apply(this,arguments),U.state={activeLink:null},U.links=[],U.registerLink=function(B){U.links.includes(B)||U.links.push(B)},U.unregisterLink=function(B){var H=U.links.indexOf(B);H!==-1&&U.links.splice(H,1)},U.getContainer=function(){var B=U.context.getTargetContainer,H=U.props.getContainer,K=H||B||E;return K()},U.handleScrollTo=function(B){var H=U.props,K=H.offsetTop,V=H.targetOffset;U.setCurrentActiveLink(B);var W=U.getContainer(),G=Object(x.a)(W,!0),re=_.exec(B);if(!re)return;var ye=document.getElementById(re[1]);if(!ye)return;var $=C(ye,W),ve=G+$;ve-=V!==void 0?V:K||0,U.animating=!0,Object(b.a)(ve,{callback:function(){U.animating=!1},getContainer:U.getContainer})},U.saveInkNode=function(B){U.inkNode=B},U.setCurrentActiveLink=function(B){var H=U.state.activeLink,K=U.props.onChange;H!==B&&(U.setState({activeLink:B}),K&&K(B))},U.handleScroll=function(){if(U.animating)return;var B=U.props,H=B.offsetTop,K=B.bounds,V=B.targetOffset,W=U.getCurrentAnchor(V!==void 0?V:H||0,K);U.setCurrentActiveLink(W)},U.updateInk=function(){var B=i()(U),H=B.prefixCls,K=s.findDOMNode(i()(U)),V=K.getElementsByClassName("".concat(H,"-link-title-active"))[0];V&&(U.inkNode.style.top="".concat(V.offsetTop+V.clientHeight/2-4.5,"px"))},U.render=function(){var B=U.context,H=B.getPrefixCls,K=B.direction,V=U.props,W=V.prefixCls,G=V.className,re=G===void 0?"":G,ye=V.style,$=V.offsetTop,ve=V.affix,Ce=V.showInkInFixed,Se=V.children,Ke=U.state.activeLink,ue=H("anchor",W);U.prefixCls=ue;var Le=h()("".concat(ue,"-ink-ball"),{visible:Ke}),ee=h()(re,"".concat(ue,"-wrapper"),m()({},"".concat(ue,"-rtl"),K==="rtl")),le=h()(ue,{fixed:!ve&&!Ce}),et=p()({maxHeight:$?"calc(100vh - ".concat($,"px)"):"100vh"},ye),Re=r.createElement("div",{className:ee,style:et},r.createElement("div",{className:le},r.createElement("div",{className:"".concat(ue,"-ink")},r.createElement("span",{className:Le,ref:U.saveInkNode})),Se));return r.createElement(T.Provider,{value:{registerLink:U.registerLink,unregisterLink:U.unregisterLink,activeLink:U.state.activeLink,scrollTo:U.handleScrollTo,onClick:U.props.onClick}},ve?r.createElement(y.a,{offsetTop:$,target:U.getContainer},Re):Re)},U}return c()(R,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var B=this.getContainer();this.scrollContainer!==B&&(this.scrollContainer=B,this.scrollEvent.remove(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,K=this.props.getCurrentAnchor;if(typeof K=="function")return K();var V=[],W=this.getContainer();if(this.links.forEach(function(re){var ye=_.exec(re.toString());if(!ye)return;var $=document.getElementById(ye[1]);if($){var ve=C($,W);ve<B+H&&V.push({link:re,top:ve})}}),V.length){var G=V.reduce(function(re,ye){return ye.top>re.top?ye:re});return G.link}return""}}]),R}(r.Component);L.defaultProps={affix:!0,showInkInFixed:!1},L.contextType=w.b;var P=function(j){a()(R,j);var z=l()(R);function R(){var U;return f()(this,R),U=z.apply(this,arguments),U.handleClick=function(B){var H=U.context,K=H.scrollTo,V=H.onClick,W=U.props,G=W.href,re=W.title;V&&V(B,{title:re,href:G}),K(G)},U.renderAnchorLink=function(B){var H=B.getPrefixCls,K=U.props,V=K.prefixCls,W=K.href,G=K.title,re=K.children,ye=K.className,$=K.target,ve=H("anchor",V),Ce=U.context.activeLink===W,Se=h()(ye,"".concat(ve,"-link"),m()({},"".concat(ve,"-link-active"),Ce)),Ke=h()("".concat(ve,"-link-title"),m()({},"".concat(ve,"-link-title-active"),Ce));return r.createElement("div",{className:Se},r.createElement("a",{className:Ke,href:W,title:typeof G=="string"?G:"",target:$,onClick:U.handleClick},G),re)},U}return c()(R,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(B){var H=B.href,K=this.props.href;H!==K&&(this.context.unregisterLink(H),this.context.registerLink(K))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return r.createElement(w.a,null,this.renderAnchorLink)}}]),R}(r.Component);P.defaultProps={href:"#"},P.contextType=T;var k=P;L.Link=k;var F=N.a=L},JuEJ:function(M,N,n){var v=n("bYtY"),p=n("4NO4"),S=v.each,m=v.isObject,g=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function f(r){var s=r&&r.itemStyle;if(!s)return;for(var u=0,h=g.length;u<h;u++){var A=g[u],y=s.normal,w=s.emphasis;y&&y[A]&&(r[A]=r[A]||{},r[A].normal?v.merge(r[A].normal,y[A]):r[A].normal=y[A],y[A]=null),w&&w[A]&&(r[A]=r[A]||{},r[A].emphasis?v.merge(r[A].emphasis,w[A]):r[A].emphasis=w[A],w[A]=null)}}function d(r,s,u){if(r&&r[s]&&(r[s].normal||r[s].emphasis)){var h=r[s].normal,A=r[s].emphasis;h&&(u?(r[s].normal=r[s].emphasis=null,v.defaults(r[s],h)):r[s]=h),A&&(r.emphasis=r.emphasis||{},r.emphasis[s]=A)}}function c(r){d(r,"itemStyle"),d(r,"lineStyle"),d(r,"areaStyle"),d(r,"label"),d(r,"labelLine"),d(r,"upperLabel"),d(r,"edgeLabel")}function o(r,s){var u=m(r)&&r[s],h=m(u)&&u.textStyle;if(h)for(var A=0,y=p.TEXT_STYLE_OPTIONS.length;A<y;A++){var s=p.TEXT_STYLE_OPTIONS[A];h.hasOwnProperty(s)&&(u[s]=h[s])}}function i(r){r&&(c(r),o(r,"label"),r.emphasis&&o(r.emphasis,"label"))}function t(r){if(!m(r))return;f(r),c(r),o(r,"label"),o(r,"upperLabel"),o(r,"edgeLabel"),r.emphasis&&(o(r.emphasis,"label"),o(r.emphasis,"upperLabel"),o(r.emphasis,"edgeLabel"));var s=r.markPoint;s&&(f(s),i(s));var u=r.markLine;u&&(f(u),i(u));var h=r.markArea;h&&i(h);var A=r.data;if(r.type==="graph"){A=A||r.nodes;var y=r.links||r.edges;if(y&&!v.isTypedArray(y))for(var w=0;w<y.length;w++)i(y[w]);v.each(r.categories,function(O){c(O)})}if(A&&!v.isTypedArray(A))for(var w=0;w<A.length;w++)i(A[w]);var s=r.markPoint;if(s&&s.data)for(var b=s.data,w=0;w<b.length;w++)i(b[w]);var u=r.markLine;if(u&&u.data)for(var x=u.data,w=0;w<x.length;w++)v.isArray(x[w])?(i(x[w][0]),i(x[w][1])):i(x[w]);r.type==="gauge"?(o(r,"axisLabel"),o(r,"title"),o(r,"detail")):r.type==="treemap"?(d(r.breadcrumb,"itemStyle"),v.each(r.levels,function(O){c(O)})):r.type==="tree"&&c(r.leaves)}function a(r){return v.isArray(r)?r:r?[r]:[]}function e(r){return(v.isArray(r)?r[0]:r)||{}}function l(r,s){S(a(r.series),function(h){m(h)&&t(h)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),S(u,function(h){S(a(r[h]),function(A){A&&(o(A,"axisLabel"),o(A.axisPointer,"label"))})}),S(a(r.parallel),function(h){var A=h&&h.parallelAxisDefault;o(A,"axisLabel"),o(A&&A.axisPointer,"label")}),S(a(r.calendar),function(h){d(h,"itemStyle"),o(h,"dayLabel"),o(h,"monthLabel"),o(h,"yearLabel")}),S(a(r.radar),function(h){o(h,"name")}),S(a(r.geo),function(h){m(h)&&(i(h),S(a(h.regions),function(A){i(A)}))}),S(a(r.timeline),function(h){i(h),d(h,"label"),d(h,"itemStyle"),d(h,"controlStyle",!0);var A=h.data;v.isArray(A)&&v.each(A,function(y){v.isObject(y)&&(d(y,"label"),d(y,"itemStyle"))})}),S(a(r.toolbox),function(h){d(h,"iconStyle"),S(h.feature,function(A){d(A,"iconStyle")})}),o(e(r.axisPointer),"label"),o(e(r.tooltip).axisPointer,"label")}M.exports=l},K2GJ:function(M,N,n){var v=n("fW2E"),p=n("gut8"),S=p.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],g=function(e){this.extendFrom(e,!1)};function f(a,e,l){var r=e.x==null?0:e.x,s=e.x2==null?1:e.x2,u=e.y==null?0:e.y,h=e.y2==null?0:e.y2;e.global||(r=r*l.width+l.x,s=s*l.width+l.x,u=u*l.height+l.y,h=h*l.height+l.y),r=isNaN(r)?0:r,s=isNaN(s)?1:s,u=isNaN(u)?0:u,h=isNaN(h)?0:h;var A=a.createLinearGradient(r,u,s,h);return A}function d(a,e,l){var r=l.width,s=l.height,u=Math.min(r,s),h=e.x==null?.5:e.x,A=e.y==null?.5:e.y,y=e.r==null?.5:e.r;e.global||(h=h*r+l.x,A=A*s+l.y,y=y*u);var w=a.createRadialGradient(h,A,0,h,A,y);return w}g.prototype={constructor:g,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(e,l,r){var s=this,u=r&&r.style,h=!u||e.__attrCachedBy!==S.STYLE_BIND;e.__attrCachedBy=S.STYLE_BIND;for(var A=0;A<m.length;A++){var y=m[A],w=y[0];(h||s[w]!==u[w])&&(e[w]=v(e,w,s[w]||y[1]))}if((h||s.fill!==u.fill)&&(e.fillStyle=s.fill),(h||s.stroke!==u.stroke)&&(e.strokeStyle=s.stroke),(h||s.opacity!==u.opacity)&&(e.globalAlpha=s.opacity==null?1:s.opacity),(h||s.blend!==u.blend)&&(e.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var b=s.lineWidth;e.lineWidth=b/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var e=this.fill;return e!=null&&e!=="none"},hasStroke:function(){var e=this.stroke;return e!=null&&e!=="none"&&this.lineWidth>0},extendFrom:function(e,l){if(e)for(var r in e)e.hasOwnProperty(r)&&(l===!0||(l===!1?!this.hasOwnProperty(r):e[r]!=null))&&(this[r]=e[r])},set:function(e,l){typeof e=="string"?this[e]=l:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,l,r){for(var s=l.type==="radial"?d:f,u=s(e,l,r),h=l.colorStops,A=0;A<h.length;A++)u.addColorStop(h[A].offset,h[A].color);return u}};for(var c=g.prototype,o=0;o<m.length;o++){var i=m[o];i[0]in c||(c[i[0]]=i[1])}g.getGradient=c.getGradient;var t=g;M.exports=t},K4ya:function(M,N,n){var v=n("bYtY"),p=n("XxSj"),S=v.each;function m(o){if(o){for(var i in o)if(o.hasOwnProperty(i))return!0}}function g(o,i,t){var a={};return S(i,function(l){var r=a[l]=e();S(o[l],function(s,u){if(!p.isValidType(u))return;var h={type:u,visual:s};t&&t(h,l),r[u]=new p(h),u==="opacity"&&(h=v.clone(h),h.type="colorAlpha",r.__hidden.__alphaForOpacity=new p(h))})}),a;function e(){var l=function(){};l.prototype.__hidden=l.prototype;var r=new l;return r}}function f(o,i,t){var a;v.each(t,function(e){i.hasOwnProperty(e)&&m(i[e])&&(a=!0)}),a&&v.each(t,function(e){i.hasOwnProperty(e)&&m(i[e])?o[e]=v.clone(i[e]):delete o[e]})}function d(o,i,t,a,e,l){var r={};v.each(o,function(y){var w=p.prepareVisualTypes(i[y]);r[y]=w});var s;function u(y){return t.getItemVisual(s,y)}function h(y,w){t.setItemVisual(s,y,w)}l==null?t.each(A):t.each([l],A);function A(y,w){s=l==null?y:w;var b=t.getRawDataItem(s);if(b&&b.visualMap===!1)return;for(var x=a.call(e,y),O=i[x],T=r[x],E=0,C=T.length;E<C;E++){var _=T[E];O[_]&&O[_].applyVisual(y,u,h)}}}function c(o,i,t,a){var e={};v.each(o,function(r){var s=p.prepareVisualTypes(i[r]);e[r]=s});function l(r,s){a!=null&&(a=s.getDimension(a));function u(_){return s.getItemVisual(A,_)}function h(_,L){s.setItemVisual(A,_,L)}for(var A;(A=r.next())!=null;){var y=s.getRawDataItem(A);if(y&&y.visualMap===!1)continue;for(var w=a!=null?s.get(a,A,!0):A,b=t(w),x=i[b],O=e[b],T=0,E=O.length;T<E;T++){var C=O[T];x[C]&&x[C].applyVisual(w,u,h)}}}return{progress:l}}N.createVisualMappings=g,N.replaceVisualOption=f,N.applyVisual=d,N.incrementalApplyVisual=c},KCY9:function(M,N,n){},KCsZ:function(M,N,n){var v=n("bYtY");function p(S){for(var m=0;m<S.length;m++)S[m][1]||(S[m][1]=S[m][0]);return function(g,f,d){for(var c={},o=0;o<S.length;o++){var i=S[o][1];if(f&&v.indexOf(f,i)>=0||d&&v.indexOf(d,i)<0)continue;var t=g.getShallow(i);t!=null&&(c[S[o][0]]=t)}return c}}M.exports=p},KPFz:function(M,N,n){},KQeH:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};N.default=v},KS52:function(M,N,n){var v=n("OELB"),p=v.parsePercent,S=v.linearMap,m=n("+TT/"),g=n("u3DP"),f=n("bYtY"),d=Math.PI*2,c=Math.PI/180;function o(t,a){return m.getLayoutRect(t.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function i(t,a,e,l){a.eachSeriesByType(t,function(r){var s=r.getData(),u=s.mapDimension("value"),h=o(r,e),A=r.get("center"),y=r.get("radius");f.isArray(y)||(y=[0,y]),f.isArray(A)||(A=[A,A]);var w=p(h.width,e.getWidth()),b=p(h.height,e.getHeight()),x=Math.min(w,b),O=p(A[0],w)+h.x,T=p(A[1],b)+h.y,E=p(y[0],x/2),C=p(y[1],x/2),_=-r.get("startAngle")*c,L=r.get("minAngle")*c,P=0;s.each(u,function(G){!isNaN(G)&&P++});var k=s.getSum(u),F=Math.PI/(k||P)*2,j=r.get("clockwise"),z=r.get("roseType"),R=r.get("stillShowZeroSum"),U=s.getDataExtent(u);U[0]=0;var B=d,H=0,K=_,V=j?1:-1;if(s.each(u,function(G,re){var ye;if(isNaN(G)){s.setItemLayout(re,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:j,cx:O,cy:T,r0:E,r:z?NaN:C,viewRect:h});return}z!=="area"?ye=k===0&&R?F:G*F:ye=d/P,ye<L?(ye=L,B-=L):H+=G;var $=K+V*ye;s.setItemLayout(re,{angle:ye,startAngle:K,endAngle:$,clockwise:j,cx:O,cy:T,r0:E,r:z?S(G,U,[E,C]):C,viewRect:h}),K=$}),B<d&&P)if(B<=.001){var W=d/P;s.each(u,function(G,re){if(!isNaN(G)){var ye=s.getItemLayout(re);ye.angle=W,ye.startAngle=_+V*re*W,ye.endAngle=_+V*(re+1)*W}})}else F=B/H,K=_,s.each(u,function(G,re){if(!isNaN(G)){var ye=s.getItemLayout(re),$=ye.angle===L?L:G*F;ye.startAngle=K,ye.endAngle=K+V*$,K+=V*$}});g(r,C,h.width,h.height,h.x,h.y)})}M.exports=i},KUOm:function(M,N){function n(v){var p={};v.eachSeriesByType("graph",function(S){var m=S.getCategoriesData(),g=S.getData(),f={};m.each(function(d){var c=m.getName(d);f["ec-"+c]=d;var o=m.getItemModel(d),i=o.get("itemStyle.color")||S.getColorFromPalette(c,p);m.setItemVisual(d,"color",i);for(var t=["opacity","symbol","symbolSize","symbolKeepAspect"],a=0;a<t.length;a++){var e=o.getShallow(t[a],!0);e!=null&&m.setItemVisual(d,t[a],e)}}),m.count()&&g.each(function(d){var c=g.getItemModel(d),o=c.getShallow("category");if(o!=null){typeof o=="string"&&(o=f["ec-"+o]);for(var i=["color","opacity","symbol","symbolSize","symbolKeepAspect"],t=0;t<i.length;t++)g.getItemVisual(d,i[t],!0)==null&&g.setItemVisual(d,i[t],m.getItemVisual(o,i[t]))}})})}M.exports=n},Kagy:function(M,N){var n={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};M.exports=n},KamJ:function(M,N,n){var v=n("ProS"),p=n("szbU");n("vF/C"),n("qwVE"),n("BuqR"),n("AE9C"),n("1u/T"),v.registerPreprocessor(p)},KmBX:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("CP8R")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="FilterFilled";var i=m.forwardRef(o);N.default=i},"KpQ+":function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("E/ki")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="ClockCircleOutlined";var i=m.forwardRef(o);N.default=i},KrTs:function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("cDf5"),m=n.n(S),g=n("pVnL"),f=n.n(g),d=n("q1tI"),c=n("UmKh"),o=n("TSYQ"),i=n.n(o),t=n("J4zp"),a=n.n(t),e=n("H84U"),l=n("0n0R"),r=function(C,_){var L={};for(var P in C)Object.prototype.hasOwnProperty.call(C,P)&&_.indexOf(P)<0&&(L[P]=C[P]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,P=Object.getOwnPropertySymbols(C);k<P.length;k++)_.indexOf(P[k])<0&&Object.prototype.propertyIsEnumerable.call(C,P[k])&&(L[P[k]]=C[P[k]]);return L};function s(C){return C?C.toString().split("").reverse().map(function(_){var L=Number(_);return isNaN(L)?_:L}):[]}function u(C,_){for(var L=[],P=0;P<30;P++)L.push(d.createElement("p",{key:P.toString(),className:i()(_,{current:C===P})},P%10));return L}var h=function(_){var L=_.prefixCls,P=_.count,k=_.className,F=_.style,j=_.title,z=_.component,R=z===void 0?"sup":z,U=_.displayComponent,B=_.onAnimated,H=B===void 0?function(){}:B,K=r(_,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),V=d.useState(!0),W=a()(V,2),G=W[0],re=W[1],ye=d.useState(P),$=a()(ye,2),ve=$[0],Ce=$[1],Se=d.useState(P),Ke=a()(Se,2),ue=Ke[0],Le=Ke[1],ee=d.useState(P),le=a()(ee,2),et=le[0],Re=le[1],Ae=d.useContext(e.b),oe=Ae.getPrefixCls,ce=oe("scroll-number",L);ue!==P&&(re(!0),Le(P)),d.useEffect(function(){Re(ve);var ae;return G&&(ae=setTimeout(function(){re(!1),Ce(P),H()})),function(){ae&&clearTimeout(ae)}},[G,P,H]);var be=function(fe,Oe){var Je=Math.abs(Number(ve)),Et=Math.abs(Number(et)),Ze=Math.abs(s(ve)[Oe]),Ne=Math.abs(s(Et)[Oe]);return G?10+fe:Je>Et?Ze>=Ne?10+fe:20+fe:Ze<=Ne?10+fe:fe},Te=function(fe,Oe){if(typeof fe=="number"){var Je=be(fe,Oe),Et=G||s(et)[Oe]===void 0;return d.createElement("span",{className:"".concat(ce,"-only"),style:{transition:Et?"none":void 0,msTransform:"translateY(".concat(-Je*100,"%)"),WebkitTransform:"translateY(".concat(-Je*100,"%)"),transform:"translateY(".concat(-Je*100,"%)")},key:Oe},u(Je,"".concat(ce,"-only-unit")))}return d.createElement("span",{key:"symbol",className:"".concat(ce,"-symbol")},fe)},Be=function(){return ve&&Number(ve)%1===0?s(ve).map(function(fe,Oe){return Te(fe,Oe)}).reverse():ve},De=f()(f()({},K),{style:F,className:i()(ce,k),title:j});return F&&F.borderColor&&(De.style=f()(f()({},F),{boxShadow:"0 0 0 1px ".concat(F.borderColor," inset")})),U?Object(l.a)(U,{className:i()("".concat(ce,"-custom-component"),U.props&&U.props.className)}):d.createElement(R,De,Be())},A=h,y=n("09Wf");function w(C){return y.a.indexOf(C)!==-1}var b=function(_){var L,P=_.className,k=_.prefixCls,F=_.style,j=_.color,z=_.children,R=_.text,U=_.placement,B=U===void 0?"end":U,H=d.useContext(e.b),K=H.getPrefixCls,V=H.direction,W=K("ribbon",k),G=w(j),re=i()(W,P,"".concat(W,"-placement-").concat(B),(L={},p()(L,"".concat(W,"-rtl"),V==="rtl"),p()(L,"".concat(W,"-color-").concat(j),G),L)),ye={},$={};return j&&!G&&(ye.background=j,$.color=j),d.createElement("div",{className:"".concat(W,"-wrapper")},z,d.createElement("div",{className:re,style:f()(f()({},ye),F)},R,d.createElement("div",{className:"".concat(W,"-corner"),style:$})))},x=b,O=function(C,_){var L={};for(var P in C)Object.prototype.hasOwnProperty.call(C,P)&&_.indexOf(P)<0&&(L[P]=C[P]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,P=Object.getOwnPropertySymbols(C);k<P.length;k++)_.indexOf(P[k])<0&&Object.prototype.propertyIsEnumerable.call(C,P[k])&&(L[P[k]]=C[P[k]]);return L},T=function(_){var L,P,k=_.prefixCls,F=_.scrollNumberPrefixCls,j=_.children,z=_.status,R=_.text,U=_.color,B=_.count,H=B===void 0?null:B,K=_.overflowCount,V=K===void 0?99:K,W=_.dot,G=W===void 0?!1:W,re=_.size,ye=re===void 0?"default":re,$=_.title,ve=_.offset,Ce=_.style,Se=_.className,Ke=_.showZero,ue=Ke===void 0?!1:Ke,Le=O(_,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),ee=d.useContext(e.b),le=ee.getPrefixCls,et=ee.direction,Re=le("badge",k),Ae=function(){var Bt=H>V?"".concat(V,"+"):H;return Bt},oe=function(){return!!z||!!U},ce=function(){var Bt=Ae();return Bt==="0"||Bt===0},be=function(){return G&&!ce()||oe()},Te=function(){return be()?"":Ae()},Be=function(){return $||(typeof H=="string"||typeof H=="number"?H:void 0)},De=function(){return et==="rtl"?ve?f()({left:parseInt(ve[0],10),marginTop:ve[1]},Ce):Ce:ve?f()({right:-parseInt(ve[0],10),marginTop:ve[1]},Ce):Ce},ae=function(){var Bt=Te(),kt=Bt==null||Bt==="";return(kt||ce()&&!ue)&&!be()},fe=function(){var Bt=ae();return Bt||!R?null:d.createElement("span",{className:"".concat(Re,"-status-text")},R)},Oe=function(){var Bt=H;return!Bt||m()(Bt)!=="object"?void 0:Object(l.a)(Bt,{style:f()(f()({},De()),Bt.props&&Bt.props.style)})},Je=function(){var Bt,kt=le("scroll-number",F),_t=Te(),Ft=be(),ke=ae(),te=i()((Bt={},p()(Bt,"".concat(Re,"-dot"),Ft),p()(Bt,"".concat(Re,"-count"),!Ft),p()(Bt,"".concat(Re,"-count-sm"),ye==="small"),p()(Bt,"".concat(Re,"-multiple-words"),!Ft&&H&&H.toString&&H.toString().length>1),p()(Bt,"".concat(Re,"-status-").concat(z),!!z),p()(Bt,"".concat(Re,"-status-").concat(U),w(U)),Bt)),Q=De();return U&&!w(U)&&(Q=Q||{},Q.background=U),ke?null:d.createElement(A,{prefixCls:kt,"data-show":!ke,className:te,count:_t,displayComponent:Oe(),title:Be(),style:Q,key:"scrollNumber"})},Et=i()((L={},p()(L,"".concat(Re,"-status-dot"),oe()),p()(L,"".concat(Re,"-status-").concat(z),!!z),p()(L,"".concat(Re,"-status-").concat(U),w(U)),L)),Ze={};U&&!w(U)&&(Ze.background=U);var Ne=i()(Se,Re,(P={},p()(P,"".concat(Re,"-status"),oe()),p()(P,"".concat(Re,"-not-a-wrapper"),!j),p()(P,"".concat(Re,"-rtl"),et==="rtl"),P));if(!j&&oe()){var It=De(),Xe=It&&It.color;return d.createElement("span",f()({},Le,{className:Ne,style:It}),d.createElement("span",{className:Et,style:Ze}),d.createElement("span",{style:{color:Xe},className:"".concat(Re,"-status-text")},R))}return d.createElement("span",f()({},Le,{className:Ne}),j,d.createElement(c.a,{component:"",showProp:"data-show",transitionName:j?"".concat(Re,"-zoom"):"",transitionAppear:!0},Je()),fe())};T.Ribbon=x;var E=N.a=T},Kvyg:function(M,N,n){},KxBF:function(M,N){function n(v,p,S){var m=-1,g=v.length;p<0&&(p=-p>g?0:g+p),S=S>g?g:S,S<0&&(S+=g),g=p>S?0:S-p>>>0,p>>>=0;for(var f=Array(g);++m<g;)f[m]=v[m+p];return f}M.exports=n},KxFI:function(M,N,n){},KxfA:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=S.isTypedArray,g=S.extend,f=S.assert,d=S.each,c=S.isObject,o=n("4NO4"),i=o.getDataItemValue,t=o.isDataItemOption,a=n("OELB"),e=a.parseDate,l=n("7G+c"),r=n("k9D9"),s=r.SOURCE_FORMAT_TYPED_ARRAY,u=r.SOURCE_FORMAT_ARRAY_ROWS,h=r.SOURCE_FORMAT_ORIGINAL,A=r.SOURCE_FORMAT_OBJECT_ROWS;function y(j,z){l.isInstance(j)||(j=l.seriesDataToSource(j)),this._source=j;var R=this._data=j.data,U=j.sourceFormat;U===s&&(this._offset=0,this._dimSize=z,this._data=R);var B=b[U===u?U+"_"+j.seriesLayoutBy:U];g(this,B)}var w=y.prototype;w.pure=!1,w.persistent=!0,w.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(j){return this._data[j+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var j=this._data[0];return j?Math.max(0,j.length-this._source.startIndex):0},getItem:function(j){j+=this._source.startIndex;for(var z=[],R=this._data,U=0;U<R.length;U++){var B=R[U];z.push(B?B[j]:null)}return z},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 j=this._source.dimensionsDefine[0].name,z=this._data[j];return z?z.length:0},getItem:function(j){for(var z=[],R=this._source.dimensionsDefine,U=0;U<R.length;U++){var B=this._data[R[U].name];z.push(B?B[j]:null)}return z},appendData:function(j){var z=this._data;d(j,function(R,U){for(var B=z[U]||(z[U]=[]),H=0;H<(R||[]).length;H++)B.push(R[H])})}},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(j,z){j=j-this._offset,z=z||[];for(var R=this._dimSize*j,U=0;U<this._dimSize;U++)z[U]=this._data[R+U];return z},appendData:function(j){this._data=j},clean:function(){this._offset+=this.count(),this._data=null}}};function x(){return this._data.length}function O(j){return this._data[j]}function T(j){for(var z=0;z<j.length;z++)this._data.push(j[z])}var E={arrayRows:C,objectRows:function(j,z,R,U){return R!=null?j[U]:j},keyedColumns:C,original:function(j,z,R,U){var B=i(j);return R==null||!(B instanceof Array)?B:B[R]},typedArray:C};function C(j,z,R,U){return R!=null?j[R]:j}var _={arrayRows:L,objectRows:function(j,z,R,U){return P(j[z],this._dimensionInfos[z])},keyedColumns:L,original:function(j,z,R,U){var B=j&&(j.value==null?j:j.value);return!this._rawData.pure&&t(j)&&(this.hasItemOption=!0),P(B instanceof Array?B[U]:B,this._dimensionInfos[z])},typedArray:function(j,z,R,U){return j[U]}};function L(j,z,R,U){return P(j[U],this._dimensionInfos[z])}function P(j,z){var R=z&&z.type;if(R==="ordinal"){var U=z&&z.ordinalMeta;return U?U.parseAndCollect(j):j}return R==="time"&&typeof j!="number"&&j!=null&&j!=="-"&&(j=+e(j)),j==null||j===""?NaN:+j}function k(j,z,R){if(!j)return;var U=j.getRawDataItem(z);if(U==null)return;var B=j.getProvider().getSource().sourceFormat,H,K,V=j.getDimensionInfo(R);return V&&(H=V.name,K=V.index),E[B](U,z,K,H)}function F(j,z,R){if(!j)return;var U=j.getProvider().getSource().sourceFormat;if(U!==h&&U!==A)return;var B=j.getRawDataItem(z);if(U===h&&!c(B)&&(B=null),B)return B[R]}N.DefaultDataProvider=y,N.defaultDimValueGetters=_,N.retrieveRawValue=k,N.retrieveRawAttr=F},L0Ub:function(M,N,n){var v=n("bYtY"),p=v.each,S=v.createHashMap,m=v.assert,g=n("Tghj"),f=g.__DEV__,d=S(["tooltip","label","itemName","itemId","seriesName"]);function c(a){var e={},l=e.encode={},r=S(),s=[],u=[],h=e.userOutput={dimensionNames:a.dimensions.slice(),encode:{}};p(a.dimensions,function(x){var O=a.getDimensionInfo(x),T=O.coordDim;if(T){var E=O.coordDimIndex;o(l,T)[E]=x,O.isExtraCoord||(r.set(T,1),t(O.type)&&(s[0]=x),o(h.encode,T)[E]=O.index),O.defaultTooltip&&u.push(x)}d.each(function(C,_){var L=o(l,_),P=O.otherDims[_];P!=null&&P!==!1&&(L[P]=O.name)})});var A=[],y={};r.each(function(x,O){var T=l[O];y[O]=T[0],A=A.concat(T)}),e.dataDimsOnCoord=A,e.encodeFirstDimNotExtra=y;var w=l.label;w&&w.length&&(s=w.slice());var b=l.tooltip;return b&&b.length?u=b.slice():u.length||(u=s.slice()),l.defaultedLabel=s,l.defaultedTooltip=u,e}function o(a,e){return a.hasOwnProperty(e)||(a[e]=[]),a[e]}function i(a){return a==="category"?"ordinal":a==="time"?"time":"float"}function t(a){return!(a==="ordinal"||a==="time")}N.OTHER_DIMENSIONS=d,N.summarizeDimensions=c,N.getDimensionTypeByAxis=i},L3Oj:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("HjIi");n("HM/N"),n("9eas"),n("eS4l"),n("y4/Y"),n("as94"),v.registerLayout(p.curry(S,"bar")),v.extendComponentView({type:"polar"})},L5E0:function(M,N){var n=["itemStyle","borderColor"];function v(p,S){var m=p.get("color");p.eachRawSeriesByType("boxplot",function(g){var f=m[g.seriesIndex%m.length],d=g.getData();d.setVisual({legendSymbol:"roundRect",color:g.get(n)||f}),p.isSeriesFiltered(g)||d.each(function(c){var o=d.getItemModel(c);d.setItemVisual(c,{color:o.get(n,!0)})})})}M.exports=v},LBfv:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=p.createHashMap,m=p.each;v.registerProcessor({getTargetSeries:function(g){var f=S();return g.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(c,o,i){var t=i.getAxisProxy(c.name,o);m(t.getTargetSeriesModels(),function(a){f.set(a.uid,a)})})}),f},modifyOutputEnd:!0,overallReset:function(g,f){g.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(c,o,i){i.getAxisProxy(c.name,o).reset(i,f)}),d.eachTargetAxis(function(c,o,i){i.getAxisProxy(c.name,o).filterData(i,f)})}),g.eachComponent("dataZoom",function(d){var c=d.findRepresentativeAxisProxy(),o=c.getDataPercentWindow(),i=c.getDataValueWindow();d.setCalculatedRange({start:o[0],end:o[1],startValue:i[0],endValue:i[1]})})}})},LCi9:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function v(y,w){if(!(y instanceof w))throw new TypeError("Cannot call a class as a function")}function p(y,w){for(var b=0;b<w.length;b++){var x=w[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(y,x.key,x)}}function S(y,w,b){return w&&p(y.prototype,w),b&&p(y,b),y}var m=0,g=1,f=2,d=4,c=8,o=16,i=32,t=64,a=127,e=50,l=90,r=250,s=1e3,u=1e3,h=50,A=function(){function y(){v(this,y),this._target=null,this._state=a,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return S(y,[{key:"attach",value:function(b){this.detach(),this._target=b,this._target.addEventListener("touchstart",this._boundEventHandler),this._target.addEventListener("touchmove",this._boundEventHandler),this._target.addEventListener("touchend",this._boundEventHandler),this._target.addEventListener("touchcancel",this._boundEventHandler)}},{key:"detach",value:function(){if(!this._target)return;this._stopLongpressTimeout(),this._stopTwoTouchTimeout(),this._target.removeEventListener("touchstart",this._boundEventHandler),this._target.removeEventListener("touchmove",this._boundEventHandler),this._target.removeEventListener("touchend",this._boundEventHandler),this._target.removeEventListener("touchcancel",this._boundEventHandler),this._target=null}},{key:"_eventHandler",value:function(b){var x;b.stopPropagation(),b.preventDefault();switch(b.type){case"touchstart":x=this._touchStart;break;case"touchmove":x=this._touchMove;break;case"touchend":case"touchcancel":x=this._touchEnd;break}for(var O=0;O<b.changedTouches.length;O++){var T=b.changedTouches[O];x.call(this,T.identifier,T.clientX,T.clientY)}}},{key:"_touchStart",value:function(b,x,O){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(b);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>r){this._state=m,this._ignored.push(b);return}if(this._waitingRelease){this._state=m,this._ignored.push(b);return}this._tracked.push({id:b,started:Date.now(),active:!0,firstX:x,firstY:O,lastX:x,lastY:O,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(g|c|o),this._stopLongpressTimeout();break;case 3:this._state&=~(f|i|t);break;default:this._state=m}}},{key:"_touchMove",value:function(b,x,O){var T=this._tracked.find(function(k){return k.id===b});if(T===void 0)return;T.lastX=x,T.lastY=O;var E=x-T.firstX,C=O-T.firstY;if((T.firstX!==T.lastX||T.firstY!==T.lastY)&&(T.angle=Math.atan2(C,E)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(E,C)<e)return;if(this._state&=~(g|f|d|o),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~c),this._tracked.length!==2&&(this._state&=~(i|t)),this._tracked.length===2){var _=this._tracked.find(function(k){return k.id!==b}),L=Math.hypot(_.firstX-_.lastX,_.firstY-_.lastY);if(L>e){var P=Math.abs(T.angle-_.angle);P=Math.abs((P+180)%360-180),P>l?this._state&=~i:this._state&=~t,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(b,x,O){if(this._ignored.indexOf(b)!==-1){this._ignored.splice(this._ignored.indexOf(b),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=a,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=m),!this._hasDetectedGesture()&&(this._state&=~(c|i|t),this._state&=~o,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(f|d);break;case 2:this._state&=~(g|d);break}}if(this._waitingRelease){Date.now()-this._releaseStart>r&&(this._state=m),this._tracked.some(function(C){return Date.now()-C.started>s})&&(this._state=m);var T=this._tracked.find(function(C){return C.id===b});if(T.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var E=0;E<this._tracked.length;E++)this._tracked[E].active&&this._ignored.push(this._tracked[E].id);this._tracked=[],this._state=m,this._ignored.indexOf(b)!==-1&&this._ignored.splice(this._ignored.indexOf(b),1),this._ignored.length===0&&(this._state=a,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===m||this._state&this._state-1?!1:!(this._state&(g|f|d)&&this._tracked.some(function(b){return b.active}))}},{key:"_startLongpressTimeout",value:function(){var b=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return b._longpressTimeout()},u)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=o,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var b=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return b._twoTouchTimeout()},h)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return this._twoTouchTimeoutId!==null}},{key:"_twoTouchTimeout",value:function(){if(this._tracked.length===0)throw new Error("A pinch or two drag gesture failed, no tracked touches");var b=this._getAverageMovement(),x=Math.abs(b.x),O=Math.abs(b.y),T=this._getAverageDistance(),E=Math.abs(Math.hypot(T.first.x,T.first.y)-Math.hypot(T.last.x,T.last.y));O<E&&x<E?this._state=t:this._state=i,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(b){var x={type:this._stateToGesture(this._state)},O=this._getPosition(),T=O.last;b==="gesturestart"&&(T=O.first);switch(this._state){case i:case t:T=O.first;break}if(x.clientX=T.x,x.clientY=T.y,this._state===t){var E=this._getAverageDistance();b==="gesturestart"?(x.magnitudeX=E.first.x,x.magnitudeY=E.first.y):(x.magnitudeX=E.last.x,x.magnitudeY=E.last.y)}else if(this._state===i)if(b==="gesturestart")x.magnitudeX=0,x.magnitudeY=0;else{var C=this._getAverageMovement();x.magnitudeX=C.x,x.magnitudeY=C.y}var _=new CustomEvent(b,{detail:x});this._target.dispatchEvent(_)}},{key:"_stateToGesture",value:function(b){switch(b){case g:return"onetap";case f:return"twotap";case d:return"threetap";case c:return"drag";case o:return"longpress";case i:return"twodrag";case t:return"pinch"}throw new Error("Unknown gesture state: "+b)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var b=this._tracked.length,x=0,O=0,T=0,E=0,C=0;C<this._tracked.length;C++)x+=this._tracked[C].firstX,O+=this._tracked[C].firstY,T+=this._tracked[C].lastX,E+=this._tracked[C].lastY;return{first:{x:x/b,y:O/b},last:{x:T/b,y:E/b}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var b,x;b=x=0;for(var O=this._tracked.length,T=0;T<this._tracked.length;T++)b+=this._tracked[T].lastX-this._tracked[T].firstX,x+=this._tracked[T].lastY-this._tracked[T].firstY;return{x:b/O,y:x/O}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var b=this._tracked[0],x=this._tracked[this._tracked.length-1],O=Math.abs(x.firstX-b.firstX),T=Math.abs(x.firstY-b.firstY),E=Math.abs(x.lastX-b.lastX),C=Math.abs(x.lastY-b.lastY);return{first:{x:O,y:T},last:{x:E,y:C}}}}]),y}();N.default=A},LPTA:function(M,N){var n=1;typeof window!="undefined"&&(n=Math.max(window.devicePixelRatio||1,1));var v=0,p=n;N.debugMode=v,N.devicePixelRatio=p},LPzL:function(M,N,n){var v=n("ProS");n("QzjZ"),n("vL6D"),n("xiyX"),n("y4/Y"),n("8Th4"),v.extendComponentView({type:"single"})},LSTS:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v=function(){function a(e,l){for(var r=0;r<l.length;r++){var s=l[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(e,l,r){return l&&a(e.prototype,l),r&&a(e,r),e}}(),p=n("q1tI"),S=f(p),m=n("17x9"),g=f(m);function f(a){return a&&a.__esModule?a:{default:a}}function d(a,e){var l={};for(var r in a){if(e.indexOf(r)>=0)continue;if(!Object.prototype.hasOwnProperty.call(a,r))continue;l[r]=a[r]}return l}function c(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}function o(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:a}function i(a,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}var t=function(a){i(e,a);function e(l){c(this,e);var r=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,l));return r.scrollListener=r.scrollListener.bind(r),r.eventListenerOptions=r.eventListenerOptions.bind(r),r.mousewheelListener=r.mousewheelListener.bind(r),r}return v(e,[{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 r=this.getParentElement(this.scrollComponent);r.scrollTop=r.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var r=!1,s={get passive(){r=!0}};try{document.addEventListener("test",null,s),document.removeEventListener("test",null,s)}catch(u){}return r}},{key:"eventListenerOptions",value:function(){var r=this.props.useCapture;return this.isPassiveSupported()&&(r={useCapture:this.props.useCapture,passive:!0}),r}},{key:"setDefaultLoader",value:function(r){this.defaultLoader=r}},{key:"detachMousewheelListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.scrollComponent.parentNode),r.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.getParentElement(this.scrollComponent)),r.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),r.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(r){var s=this.props.getScrollParent&&this.props.getScrollParent();return s!=null?s:r&&r.parentNode}},{key:"filterProps",value:function(r){return r}},{key:"attachScrollListener",value:function(){var r=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!r)return;var s=window;this.props.useWindow===!1&&(s=r),s.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),s.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),s.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(r){r.deltaY===1&&!this.isPassiveSupported()&&r.preventDefault()}},{key:"scrollListener",value:function(){var r=this.scrollComponent,s=window,u=this.getParentElement(r),h=void 0;if(this.props.useWindow){var A=document.documentElement||document.body.parentNode||document.body,y=s.pageYOffset!==void 0?s.pageYOffset:A.scrollTop;this.props.isReverse?h=y:h=this.calculateOffset(r,y)}else this.props.isReverse?h=u.scrollTop:h=r.scrollHeight-u.scrollTop-u.clientHeight;h<Number(this.props.threshold)&&r&&r.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=u.scrollHeight,this.beforeScrollTop=u.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(r,s){return r?this.calculateTopPosition(r)+(r.offsetHeight-s-window.innerHeight):0}},{key:"calculateTopPosition",value:function(r){return r?r.offsetTop+this.calculateTopPosition(r.offsetParent):0}},{key:"render",value:function(){var r=this,s=this.filterProps(this.props),u=s.children,h=s.element,A=s.hasMore,y=s.initialLoad,w=s.isReverse,b=s.loader,x=s.loadMore,O=s.pageStart,T=s.ref,E=s.threshold,C=s.useCapture,_=s.useWindow,L=s.getScrollParent,P=d(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);P.ref=function(F){r.scrollComponent=F,T&&T(F)};var k=[u];return A&&(b?w?k.unshift(b):k.push(b):this.defaultLoader&&(w?k.unshift(this.defaultLoader):k.push(this.defaultLoader))),S.default.createElement(h,P,k)}}]),e}(p.Component);t.propTypes={children:g.default.node.isRequired,element:g.default.node,hasMore:g.default.bool,initialLoad:g.default.bool,isReverse:g.default.bool,loader:g.default.node,loadMore:g.default.func.isRequired,pageStart:g.default.number,ref:g.default.func,getScrollParent:g.default.func,threshold:g.default.number,useCapture:g.default.bool,useWindow:g.default.bool},t.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},N.default=t,M.exports=N.default},Lerx:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("Mds0"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},Llu2:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="DeliveredProcedureOutlined";var d=N.a=p.forwardRef(f)},Lo0S:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.initLogging=f,N.getLogging=d,N.Error=N.Warn=N.Info=N.Debug=void 0;var v="warn",p=function(){};N.Debug=p;var S=function(){};N.Info=S;var m=function(){};N.Warn=m;var g=function(){};N.Error=g;function f(c){if(typeof c=="undefined"?c=v:v=c,N.Debug=p=N.Info=S=N.Warn=m=N.Error=g=function(){},typeof window.console!="undefined")switch(c){case"debug":N.Debug=p=console.debug.bind(window.console);case"info":N.Info=S=console.info.bind(window.console);case"warn":N.Warn=m=console.warn.bind(window.console);case"error":N.Error=g=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+c+"'")}}function d(){return v}f()},LtfV:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="InboxOutlined";var d=N.a=p.forwardRef(f)},Lyp1:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="QuestionCircleOutlined";var d=N.a=p.forwardRef(f)},LzGr:function(M,N,n){var v=n("ProS"),p=n("rnVJ");n("EMyp"),n("8x+h"),n("wt3j"),n("uOyE"),n("/stD"),v.registerPreprocessor(p)},MBQ8:function(M,N,n){var v=n("T4UG"),p=n("MwEJ"),S=v.extend({type:"series.__base_bar__",getInitialData:function(m,g){return p(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var g=this.coordinateSystem;if(g){var f=g.dataToPoint(g.clampData(m)),d=this.getData(),c=d.getLayout("offset"),o=d.getLayout("size"),i=g.getBaseAxis().isHorizontal()?0:1;return f[i]+=c+o/2,f}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});M.exports=S},MEGo:function(M,N,n){var v=n("4fz+"),p=n("Dagg"),S=n("dqUG"),m=n("2fw6"),g=n("x6Kt"),f=n("rmlV"),d=n("yxFR"),c=n("y+Vt"),o=n("h7HQ"),i=n("1Jh7"),t=n("SKnc"),a=n("K2GJ"),e=n("Fofx"),l=n("NC18"),r=l.createFromString,s=n("bYtY"),u=s.isString,h=s.extend,A=s.defaults,y=s.trim,w=s.each,b=/[\s,]+/;function x(V){if(u(V)){var W=new DOMParser;V=W.parseFromString(V,"text/xml")}for(V.nodeType===9&&(V=V.firstChild);V.nodeName.toLowerCase()!=="svg"||V.nodeType!==1;)V=V.nextSibling;return V}function O(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}O.prototype.parse=function(V,W){W=W||{};var G=x(V);if(!G)throw new Error("Illegal svg");var re=new v;this._root=re;var ye=G.getAttribute("viewBox")||"",$=parseFloat(G.getAttribute("width")||W.width),ve=parseFloat(G.getAttribute("height")||W.height);isNaN($)&&($=null),isNaN(ve)&&(ve=null),k(G,re,null,!0);for(var Ce=G.firstChild;Ce;)this._parseNode(Ce,re),Ce=Ce.nextSibling;var Se,Ke;if(ye){var ue=y(ye).split(b);ue.length>=4&&(Se={x:parseFloat(ue[0]||0),y:parseFloat(ue[1]||0),width:parseFloat(ue[2]),height:parseFloat(ue[3])})}if(Se&&$!=null&&ve!=null&&(Ke=H(Se,$,ve),!W.ignoreViewBox)){var Le=re;re=new v,re.add(Le),Le.scale=Ke.scale.slice(),Le.position=Ke.position.slice()}return!W.ignoreRootClip&&$!=null&&ve!=null&&re.setClipPath(new g({shape:{x:0,y:0,width:$,height:ve}})),{root:re,width:$,height:ve,viewBoxRect:Se,viewBoxTransform:Ke}},O.prototype._parseNode=function(V,W){var G=V.nodeName.toLowerCase();G==="defs"?this._isDefine=!0:G==="text"&&(this._isText=!0);var re;if(this._isDefine){var ye=E[G];if(ye){var $=ye.call(this,V),ve=V.getAttribute("id");ve&&(this._defs[ve]=$)}}else{var ye=T[G];ye&&(re=ye.call(this,V,W),W.add(re))}for(var Ce=V.firstChild;Ce;)Ce.nodeType===1&&this._parseNode(Ce,re),Ce.nodeType===3&&this._isText&&this._parseText(Ce,re),Ce=Ce.nextSibling;G==="defs"?this._isDefine=!1:G==="text"&&(this._isText=!1)},O.prototype._parseText=function(V,W){if(V.nodeType===1){var G=V.getAttribute("dx")||0,re=V.getAttribute("dy")||0;this._textX+=parseFloat(G),this._textY+=parseFloat(re)}var ye=new S({style:{text:V.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});_(W,ye),k(V,ye,this._defs);var $=ye.style.fontSize;$&&$<9&&(ye.style.fontSize=9,ye.scale=ye.scale||[1,1],ye.scale[0]*=$/9,ye.scale[1]*=$/9);var ve=ye.getBoundingRect();return this._textX+=ve.width,W.add(ye),ye};var T={g:function(W,G){var re=new v;return _(G,re),k(W,re,this._defs),re},rect:function(W,G){var re=new g;return _(G,re),k(W,re,this._defs),re.setShape({x:parseFloat(W.getAttribute("x")||0),y:parseFloat(W.getAttribute("y")||0),width:parseFloat(W.getAttribute("width")||0),height:parseFloat(W.getAttribute("height")||0)}),re},circle:function(W,G){var re=new m;return _(G,re),k(W,re,this._defs),re.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),r:parseFloat(W.getAttribute("r")||0)}),re},line:function(W,G){var re=new d;return _(G,re),k(W,re,this._defs),re.setShape({x1:parseFloat(W.getAttribute("x1")||0),y1:parseFloat(W.getAttribute("y1")||0),x2:parseFloat(W.getAttribute("x2")||0),y2:parseFloat(W.getAttribute("y2")||0)}),re},ellipse:function(W,G){var re=new f;return _(G,re),k(W,re,this._defs),re.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),rx:parseFloat(W.getAttribute("rx")||0),ry:parseFloat(W.getAttribute("ry")||0)}),re},polygon:function(W,G){var re=W.getAttribute("points");re&&(re=L(re));var ye=new o({shape:{points:re||[]}});return _(G,ye),k(W,ye,this._defs),ye},polyline:function(W,G){var re=new c;_(G,re),k(W,re,this._defs);var ye=W.getAttribute("points");ye&&(ye=L(ye));var $=new i({shape:{points:ye||[]}});return $},image:function(W,G){var re=new p;return _(G,re),k(W,re,this._defs),re.setStyle({image:W.getAttribute("xlink:href"),x:W.getAttribute("x"),y:W.getAttribute("y"),width:W.getAttribute("width"),height:W.getAttribute("height")}),re},text:function(W,G){var re=W.getAttribute("x")||0,ye=W.getAttribute("y")||0,$=W.getAttribute("dx")||0,ve=W.getAttribute("dy")||0;this._textX=parseFloat(re)+parseFloat($),this._textY=parseFloat(ye)+parseFloat(ve);var Ce=new v;return _(G,Ce),k(W,Ce,this._defs),Ce},tspan:function(W,G){var re=W.getAttribute("x"),ye=W.getAttribute("y");re!=null&&(this._textX=parseFloat(re)),ye!=null&&(this._textY=parseFloat(ye));var $=W.getAttribute("dx")||0,ve=W.getAttribute("dy")||0,Ce=new v;return _(G,Ce),k(W,Ce,this._defs),this._textX+=$,this._textY+=ve,Ce},path:function(W,G){var re=W.getAttribute("d")||"",ye=r(re);return _(G,ye),k(W,ye,this._defs),ye}},E={lineargradient:function(W){var G=parseInt(W.getAttribute("x1")||0,10),re=parseInt(W.getAttribute("y1")||0,10),ye=parseInt(W.getAttribute("x2")||10,10),$=parseInt(W.getAttribute("y2")||0,10),ve=new t(G,re,ye,$);return C(W,ve),ve},radialgradient:function(W){}};function C(V,W){for(var G=V.firstChild;G;){if(G.nodeType===1){var re=G.getAttribute("offset");re.indexOf("%")>0?re=parseInt(re,10)/100:re?re=parseFloat(re):re=0;var ye=G.getAttribute("stop-color")||"#000000";W.addColorStop(re,ye)}G=G.nextSibling}}function _(V,W){V&&V.__inheritedStyle&&(W.__inheritedStyle||(W.__inheritedStyle={}),A(W.__inheritedStyle,V.__inheritedStyle))}function L(V){for(var W=y(V).split(b),G=[],re=0;re<W.length;re+=2){var ye=parseFloat(W[re]),$=parseFloat(W[re+1]);G.push([ye,$])}return G}var P={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function k(V,W,G,re){var ye=W.__inheritedStyle||{},$=W.type==="text";if(V.nodeType===1&&(R(V,W),h(ye,B(V)),!re)){for(var ve in P)if(P.hasOwnProperty(ve)){var Ce=V.getAttribute(ve);Ce!=null&&(ye[P[ve]]=Ce)}}var Se=$?"textFill":"fill",Ke=$?"textStroke":"stroke";W.style=W.style||new a;var ue=W.style;ye.fill!=null&&ue.set(Se,j(ye.fill,G)),ye.stroke!=null&&ue.set(Ke,j(ye.stroke,G)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Le){var ee=Le==="lineWidth"&&$?"textStrokeWidth":Le;ye[Le]!=null&&ue.set(ee,parseFloat(ye[Le]))}),(!ye.textBaseline||ye.textBaseline==="auto")&&(ye.textBaseline="alphabetic"),ye.textBaseline==="alphabetic"&&(ye.textBaseline="bottom"),ye.textAlign==="start"&&(ye.textAlign="left"),ye.textAlign==="end"&&(ye.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(Le){ye[Le]!=null&&ue.set(Le,ye[Le])}),ye.lineDash&&(W.style.lineDash=y(ye.lineDash).split(b)),ue[Ke]&&ue[Ke]!=="none"&&(W[Ke]=!0),W.__inheritedStyle=ye}var F=/url\(\s*#(.*?)\)/;function j(V,W){var G=W&&V&&V.match(F);if(G){var re=y(G[1]),ye=W[re];return ye}return V}var z=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function R(V,W){var G=V.getAttribute("transform");if(G){G=G.replace(/,/g," ");var re=null,ye=[];G.replace(z,function(Se,Ke,ue){ye.push(Ke,ue)});for(var $=ye.length-1;$>0;$-=2){var ve=ye[$],Ce=ye[$-1];re=re||e.create();switch(Ce){case"translate":ve=y(ve).split(b),e.translate(re,re,[parseFloat(ve[0]),parseFloat(ve[1]||0)]);break;case"scale":ve=y(ve).split(b),e.scale(re,re,[parseFloat(ve[0]),parseFloat(ve[1]||ve[0])]);break;case"rotate":ve=y(ve).split(b),e.rotate(re,re,parseFloat(ve[0]));break;case"skew":ve=y(ve).split(b),console.warn("Skew transform is not supported yet");break;case"matrix":var ve=y(ve).split(b);re[0]=parseFloat(ve[0]),re[1]=parseFloat(ve[1]),re[2]=parseFloat(ve[2]),re[3]=parseFloat(ve[3]),re[4]=parseFloat(ve[4]),re[5]=parseFloat(ve[5]);break}}W.setLocalTransform(re)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(V){var W=V.getAttribute("style"),G={};if(!W)return G;var re={};U.lastIndex=0;for(var ye;(ye=U.exec(W))!=null;)re[ye[1]]=ye[2];for(var $ in P)P.hasOwnProperty($)&&re[$]!=null&&(G[P[$]]=re[$]);return G}function H(V,W,G){var re=W/V.width,ye=G/V.height,$=Math.min(re,ye),ve=[$,$],Ce=[-(V.x+V.width/2)*$+W/2,-(V.y+V.height/2)*$+G/2];return{scale:ve,position:Ce}}function K(V,W){var G=new O;return G.parse(V,W)}N.parseXML=x,N.makeViewBoxTransform=H,N.parseSVG=K},MFOe:function(M,N,n){(function(v){var p=f(),S=d(),m=c(),g=typeof window!="undefined"?window:v;M.exports={assign:p,create:S,trim:m,bind:o,slice:i,each:t,map:a,pluck:e,isList:l,isFunction:r,isObject:s,Global:g};function f(){return Object.assign?Object.assign:function(h,A,y,w){for(var b=1;b<arguments.length;b++)t(Object(arguments[b]),function(x,O){h[O]=x});return h}}function d(){if(Object.create)return function(A,y,w,b){var x=i(arguments,1);return p.apply(this,[Object.create(A)].concat(x))};var u=function(){};return function(A,y,w,b){var x=i(arguments,1);return u.prototype=A,p.apply(this,[new u].concat(x))}}function c(){return String.prototype.trim?function(h){return String.prototype.trim.call(h)}:function(h){return h.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function o(u,h){return function(){return h.apply(u,Array.prototype.slice.call(arguments,0))}}function i(u,h){return Array.prototype.slice.call(u,h||0)}function t(u,h){e(u,function(A,y){return h(A,y),!1})}function a(u,h){var A=l(u)?[]:{};return e(u,function(y,w){return A[w]=h(y,w),!1}),A}function e(u,h){if(l(u)){for(var A=0;A<u.length;A++)if(h(u[A],A))return u[A]}else for(var y in u)if(u.hasOwnProperty(y)&&h(u[y],y))return u[y]}function l(u){return u!=null&&typeof u!="function"&&typeof u.length=="number"}function r(u){return u&&{}.toString.call(u)==="[object Function]"}function s(u){return u&&{}.toString.call(u)==="[object Object]"}}).call(this,n("yLpj"))},MH26:function(M,N,n){var v=n("bYtY"),p=n("YXkt"),S=n("OELB"),m=n("kj2x"),g=n("c8qY"),f=n("iPDy"),d=n("7hqr"),c=d.getStackedDimension,o=function(s,u,h,A){var y=s.getData(),w=A.type;if(!v.isArray(A)&&(w==="min"||w==="max"||w==="average"||w==="median"||A.xAxis!=null||A.yAxis!=null)){var b,x;if(A.yAxis!=null||A.xAxis!=null)b=u.getAxis(A.yAxis!=null?"y":"x"),x=v.retrieve(A.yAxis,A.xAxis);else{var O=m.getAxisInfo(A,y,u,s);b=O.valueAxis;var T=c(y,O.valueDataDim);x=m.numCalculate(y,T,w)}var E=b.dim==="x"?0:1,C=1-E,_=v.clone(A),L={};_.type=null,_.coord=[],L.coord=[],_.coord[C]=-Infinity,L.coord[C]=Infinity;var P=h.get("precision");P>=0&&typeof x=="number"&&(x=+x.toFixed(Math.min(P,20))),_.coord[E]=L.coord[E]=x,A=[_,L,{type:w,valueIndex:A.valueIndex,value:x}]}return A=[m.dataTransform(s,A[0]),m.dataTransform(s,A[1]),v.extend({},A[2])],A[2].type=A[2].type||"",v.merge(A[2],A[0]),v.merge(A[2],A[1]),A};function i(s){return!isNaN(s)&&!isFinite(s)}function t(s,u,h,A){var y=1-s,w=A.dimensions[s];return i(u[y])&&i(h[y])&&u[s]===h[s]&&A.getAxis(w).containData(u[s])}function a(s,u){if(s.type==="cartesian2d"){var h=u[0].coord,A=u[1].coord;if(h&&A&&(t(1,h,A,s)||t(0,h,A,s)))return!0}return m.dataFilter(s,u[0])&&m.dataFilter(s,u[1])}function e(s,u,h,A,y){var w=A.coordinateSystem,b=s.getItemModel(u),x,O=S.parsePercent(b.get("x"),y.getWidth()),T=S.parsePercent(b.get("y"),y.getHeight());if(!isNaN(O)&&!isNaN(T))x=[O,T];else{if(A.getMarkerPosition)x=A.getMarkerPosition(s.getValues(s.dimensions,u));else{var E=w.dimensions,C=s.get(E[0],u),_=s.get(E[1],u);x=w.dataToPoint([C,_])}if(w.type==="cartesian2d"){var L=w.getAxis("x"),P=w.getAxis("y"),E=w.dimensions;i(s.get(E[0],u))?x[0]=L.toGlobalCoord(L.getExtent()[h?0:1]):i(s.get(E[1],u))&&(x[1]=P.toGlobalCoord(P.getExtent()[h?0:1]))}isNaN(O)||(x[0]=O),isNaN(T)||(x[1]=T)}s.setItemLayout(u,x)}var l=f.extend({type:"markLine",updateTransform:function(s,u,h){u.eachSeries(function(A){var y=A.markLineModel;if(y){var w=y.getData(),b=y.__from,x=y.__to;b.each(function(O){e(b,O,!0,A,h),e(x,O,!1,A,h)}),w.each(function(O){w.setItemLayout(O,[b.getItemLayout(O),x.getItemLayout(O)])}),this.markerGroupMap.get(A.id).updateLayout()}},this)},renderSeries:function(s,u,h,A){var y=s.coordinateSystem,w=s.id,b=s.getData(),x=this.markerGroupMap,O=x.get(w)||x.set(w,new g);this.group.add(O.group);var T=r(y,s,u),E=T.from,C=T.to,_=T.line;u.__from=E,u.__to=C,u.setData(_);var L=u.get("symbol"),P=u.get("symbolSize");v.isArray(L)||(L=[L,L]),typeof P=="number"&&(P=[P,P]),T.from.each(function(F){k(E,F,!0),k(C,F,!1)}),_.each(function(F){var j=_.getItemModel(F).get("lineStyle.color");_.setItemVisual(F,{color:j||E.getItemVisual(F,"color")}),_.setItemLayout(F,[E.getItemLayout(F),C.getItemLayout(F)]),_.setItemVisual(F,{fromSymbolSize:E.getItemVisual(F,"symbolSize"),fromSymbol:E.getItemVisual(F,"symbol"),toSymbolSize:C.getItemVisual(F,"symbolSize"),toSymbol:C.getItemVisual(F,"symbol")})}),O.updateData(_),T.line.eachItemGraphicEl(function(F,j){F.traverse(function(z){z.dataModel=u})});function k(F,j,z){var R=F.getItemModel(j);e(F,j,z,s,A),F.setItemVisual(j,{symbolSize:R.get("symbolSize")||P[z?0:1],symbol:R.get("symbol",!0)||L[z?0:1],color:R.get("itemStyle.color")||b.getVisual("color")})}O.__keep=!0,O.group.silent=u.get("silent")||s.get("silent")}});function r(s,u,h){var A;s?A=v.map(s&&s.dimensions,function(T){var E=u.getData().getDimensionInfo(u.getData().mapDimension(T))||{};return v.defaults({name:T},E)}):A=[{name:"value",type:"float"}];var y=new p(A,h),w=new p(A,h),b=new p([],h),x=v.map(h.get("data"),v.curry(o,u,s,h));s&&(x=v.filter(x,v.curry(a,s)));var O=s?m.dimValueGetter:function(T){return T.value};return y.initData(v.map(x,function(T){return T[0]}),null,O),w.initData(v.map(x,function(T){return T[1]}),null,O),b.initData(v.map(x,function(T){return T[2]})),b.hasItemOption=!0,{from:y,to:w,line:b}}M.exports=l},MHoB:function(M,N,n){var v=n("bYtY"),p=n("6uqw"),S=n("OELB"),m=[20,140],g=p.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(c,o){g.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){g.superApply(this,"resetItemSize",arguments);var c=this.itemSize;this._orient==="horizontal"&&c.reverse(),(c[0]==null||isNaN(c[0]))&&(c[0]=m[0]),(c[1]==null||isNaN(c[1]))&&(c[1]=m[1])},_resetRange:function(){var c=this.getExtent(),o=this.option.range;!o||o.auto?(c.auto=1,this.option.range=c):v.isArray(o)&&(o[0]>o[1]&&o.reverse(),o[0]=Math.max(o[0],c[0]),o[1]=Math.min(o[1],c[1]))},completeVisualOption:function(){p.prototype.completeVisualOption.apply(this,arguments),v.each(this.stateList,function(c){var o=this.option.controller[c].symbolSize;o&&o[0]!==o[1]&&(o[0]=0)},this)},setSelected:function(c){this.option.range=c.slice(),this._resetRange()},getSelected:function(){var c=this.getExtent(),o=S.asc((this.get("range")||[]).slice());return o[0]>c[1]&&(o[0]=c[1]),o[1]>c[1]&&(o[1]=c[1]),o[0]<c[0]&&(o[0]=c[0]),o[1]<c[0]&&(o[1]=c[0]),o},getValueState:function(c){var o=this.option.range,i=this.getExtent();return(o[0]<=i[0]||o[0]<=c)&&(o[1]>=i[1]||c<=o[1])?"inRange":"outOfRange"},findTargetDataIndices:function(c){var o=[];return this.eachTargetSeries(function(i){var t=[],a=i.getData();a.each(this.getDataDimension(a),function(e,l){c[0]<=e&&e<=c[1]&&t.push(l)},this),o.push({seriesId:i.id,dataIndex:t})},this),o},getVisualMeta:function(c){var o=f(this,"outOfRange",this.getExtent()),i=f(this,"inRange",this.option.range.slice()),t=[];function a(A,y){t.push({value:A,color:c(A,y)})}for(var e=0,l=0,r=i.length,s=o.length;l<s&&(!i.length||o[l]<=i[0]);l++)o[l]<i[e]&&a(o[l],"outOfRange");for(var u=1;e<r;e++,u=0)u&&t.length&&a(i[e],"outOfRange"),a(i[e],"inRange");for(var u=1;l<s;l++)(!i.length||i[i.length-1]<o[l])&&(u&&(t.length&&a(t[t.length-1].value,"outOfRange"),u=0),a(o[l],"outOfRange"));var h=t.length;return{stops:t,outerColors:[h?t[0].color:"transparent",h?t[h-1].color:"transparent"]}}});function f(c,o,i){if(i[0]===i[1])return i.slice();for(var t=200,a=(i[1]-i[0])/t,e=i[0],l=[],r=0;r<=t&&e<i[1];r++)l.push(e),e+=a;return l.push(i[1]),l}var d=g;M.exports=d},MHtr:function(M,N,n){var v=n("bYtY");function p(m,g){var f=this.getAxis(),d=g instanceof Array?g[0]:g,c=(m instanceof Array?m[0]:m)/2;return f.type==="category"?f.getBandWidth():Math.abs(f.dataToCoord(d-c)-f.dataToCoord(d+c))}function S(m){var g=m.getRect();return{coordSys:{type:"singleAxis",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(f){return m.dataToPoint(f)},size:v.bind(p,m)}}}M.exports=S},MJZm:function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("q1tI"),f=n("rePB"),d=n("VTBJ"),c=n("KQm4"),o=n("1OyB"),i=n("vuIU"),t=n("Ji7U"),a=n("LK+K"),e=n("4IlW"),l=n("Kwbf"),r=n("TSYQ"),s=n.n(r),u=n("FTAc"),h=n("wPhX"),A=n("c3jg"),y=n("ODXe"),w=n("Ff2n"),b=n("+nKL"),x=n("HTfv"),O=n("lr6o"),T=function(_t,Ft){var ke=_t.className,te=_t.style,Q=_t.motion,qe=_t.motionNodes,je=_t.motionType,q=_t.onMotionStart,wt=_t.onMotionEnd,Vt=_t.active,lt=_t.treeNodeRequiredProps,or=Object(w.a)(_t,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),vr=g.useState(!0),An=Object(y.a)(vr,2),hr=An[0],xr=An[1],nr=g.useContext(u.a),Yt=nr.prefixCls,gt=g.useRef(!1),zr=function(){gt.current||wt(),gt.current=!0};return Object(g.useEffect)(function(){qe&&je==="hide"&&hr&&xr(!1)},[qe]),Object(g.useEffect)(function(){return qe&&q(),function(){qe&&zr()}},[]),qe?g.createElement(x.default,Object.assign({ref:Ft,visible:hr},Q,{motionAppear:je==="show",onAppearEnd:zr,onLeaveEnd:zr}),function(pn,Nn){var Vn=pn.className,xi=pn.style;return g.createElement("div",{ref:Nn,className:s()("".concat(Yt,"-treenode-motion"),Vn),style:xi},qe.map(function(bn){var Pn=bn.data,jt=Pn.key,At=Object(w.a)(Pn,["key"]),xe=bn.isStart,we=bn.isEnd;delete At.children;var Ee=Object(A.f)(jt,lt);return g.createElement(O.a,Object.assign({},At,Ee,{active:Vt,data:bn.data,key:jt,isStart:xe,isEnd:we}))}))}):g.createElement(O.a,Object.assign({domRef:Ft,className:ke,style:te},or,{active:Vt}))};T.displayName="MotionTreeNode";var E=g.forwardRef(T),C=E;function _(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],_t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ft=kt.length,ke=_t.length;if(Math.abs(Ft-ke)!==1)return{add:!1,key:null};function te(Q,qe){var je=new Map;Q.forEach(function(wt){je.set(wt,!0)});var q=qe.filter(function(wt){return!je.has(wt)});return q.length===1?q[0]:null}return Ft<ke?{add:!0,key:te(kt,_t)}:{add:!1,key:te(_t,kt)}}function L(kt,_t,Ft){var ke=kt.findIndex(function(je){var q=je.data;return q.key===Ft}),te=kt[ke+1],Q=_t.findIndex(function(je){var q=je.data;return q.key===Ft});if(te){var qe=_t.findIndex(function(je){var q=je.data;return q.key===te.data.key});return _t.slice(Q+1,qe)}return _t.slice(Q+1)}var P={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},k=function(){},F="RC_TREE_MOTION_".concat(Math.random()),j={key:F},z={key:F,level:0,index:0,pos:"0",node:j},R={parent:null,children:[],pos:z.pos,data:j,isStart:[],isEnd:[]};function U(kt,_t,Ft,ke){return _t===!1||!Ft?kt:kt.slice(0,Math.ceil(Ft/ke)+1)}function B(kt){var _t=kt.data.key,Ft=kt.pos;return Object(A.e)(_t,Ft)}function H(kt){for(var _t=String(kt.data.key),Ft=kt;Ft.parent;)Ft=Ft.parent,_t="".concat(Ft.data.key," > ").concat(_t);return _t}var K=function(_t,Ft){var ke=_t.prefixCls,te=_t.data,Q=_t.selectable,qe=_t.checkable,je=_t.expandedKeys,q=_t.selectedKeys,wt=_t.checkedKeys,Vt=_t.loadedKeys,lt=_t.loadingKeys,or=_t.halfCheckedKeys,vr=_t.keyEntities,An=_t.disabled,hr=_t.dragging,xr=_t.dragOverNodeKey,nr=_t.dropPosition,Yt=_t.motion,gt=_t.height,zr=_t.itemHeight,pn=_t.virtual,Nn=_t.focusable,Vn=_t.activeItem,xi=_t.focused,bn=_t.tabIndex,Pn=_t.onKeyDown,jt=_t.onFocus,At=_t.onBlur,xe=_t.onActiveChange,we=_t.onListChangeStart,Ee=_t.onListChangeEnd,Ge=Object(w.a)(_t,["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"]),nt=g.useRef(null);g.useImperativeHandle(Ft,function(){return{scrollTo:function(Ii){nt.current.scrollTo(Ii)}}});var st=g.useState(je),Mt=Object(y.a)(st,2),wr=Mt[0],Pr=Mt[1],qr=g.useState(te),xt=Object(y.a)(qr,2),rt=xt[0],it=xt[1],$t=g.useState(te),Dt=Object(y.a)($t,2),St=Dt[0],Ut=Dt[1],vt=g.useState([]),Pt=Object(y.a)(vt,2),br=Pt[0],ur=Pt[1],fr=g.useState(null),Jr=Object(y.a)(fr,2),Zr=Jr[0],Fn=Jr[1];function Rn(){it(te),Ut(te),ur([]),Fn(null),Ee()}g.useEffect(function(){Pr(je);var gi=_(wr,je);if(gi.key!==null)if(gi.add){var Ii=rt.findIndex(function(We){var Qe=We.data.key;return Qe===gi.key}),Ye=U(L(rt,te,gi.key),pn,gt,zr),ge=rt.slice();ge.splice(Ii+1,0,R),Ut(ge),ur(Ye),Fn("show")}else{var Ie=te.findIndex(function(We){var Qe=We.data.key;return Qe===gi.key}),Fe=U(L(te,rt,gi.key),pn,gt,zr),Ve=te.slice();Ve.splice(Ie+1,0,R),Ut(Ve),ur(Fe),Fn("hide")}else rt!==te&&(it(te),Ut(te))},[je,te]),g.useEffect(function(){hr||Rn()},[hr]);var ei=Yt?St:te,di={expandedKeys:je,selectedKeys:q,loadedKeys:Vt,loadingKeys:lt,checkedKeys:wt,halfCheckedKeys:or,dragOverNodeKey:xr,dropPosition:nr,keyEntities:vr};return g.createElement(g.Fragment,null,xi&&Vn&&g.createElement("span",{style:P,"aria-live":"assertive"},H(Vn)),g.createElement("div",{role:"tree"},g.createElement("input",{style:P,disabled:Nn===!1||An,tabIndex:Nn!==!1?bn:null,onKeyDown:Pn,onFocus:jt,onBlur:At,value:"",onChange:k})),g.createElement(b.a,Object.assign({},Ge,{data:ei,itemKey:B,height:gt,fullHeight:!1,virtual:pn,itemHeight:zr,prefixCls:"".concat(ke,"-list"),ref:nt}),function(gi){var Ii=gi.pos,Ye=gi.data,ge=Ye.key,Ie=Object(w.a)(Ye,["key"]),Fe=gi.isStart,Ve=gi.isEnd,We=Object(A.e)(ge,Ii);delete Ie.children;var Qe=Object(A.f)(We,di);return g.createElement(C,Object.assign({},Ie,Qe,{active:Vn&&ge===Vn.data.key,pos:Ii,data:gi.data,isStart:Fe,isEnd:Ve,motion:Yt,motionNodes:ge===F?br:null,motionType:Zr,onMotionStart:we,onMotionEnd:Rn,treeNodeRequiredProps:di,onMouseMove:function(){xe(null)}}))}))},V=g.forwardRef(K);V.displayName="NodeList";var W=V,G=n("qOx5"),re=function(kt){Object(t.a)(Ft,kt);var _t=Object(a.a)(Ft);function Ft(){var ke;return Object(o.a)(this,Ft),ke=_t.apply(this,arguments),ke.destroyed=!1,ke.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},ke.listRef=g.createRef(),ke.onNodeDragStart=function(te,Q){var qe=ke.state,je=qe.expandedKeys,q=qe.keyEntities,wt=ke.props.onDragStart,Vt=Q.props.eventKey;ke.dragNode=Q;var lt=Object(h.b)(je,Vt);ke.setState({dragging:!0,dragNodesKeys:Object(h.g)(Vt,q)}),ke.setExpandedKeys(lt),wt&&wt({event:te,node:Object(A.b)(Q.props)})},ke.onNodeDragEnter=function(te,Q){var qe=ke.state,je=qe.expandedKeys,q=qe.keyEntities,wt=qe.dragNodesKeys,Vt=ke.props.onDragEnter,lt=Q.props,or=lt.pos,vr=lt.eventKey;if(!ke.dragNode||wt.indexOf(vr)!==-1)return;var An=Object(h.c)(te,Q);if(ke.dragNode.props.eventKey===vr&&An===0){ke.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){ke.setState({dragOverNodeKey:vr,dropPosition:An}),ke.delayedDragEnterLogic||(ke.delayedDragEnterLogic={}),Object.keys(ke.delayedDragEnterLogic).forEach(function(hr){clearTimeout(ke.delayedDragEnterLogic[hr])}),ke.delayedDragEnterLogic[or]=window.setTimeout(function(){if(!ke.state.dragging)return;var hr=Object(c.a)(je),xr=q[vr];xr&&(xr.children||[]).length&&(hr=Object(h.a)(je,vr)),"expandedKeys"in ke.props||ke.setExpandedKeys(hr),Vt&&Vt({event:te,node:Object(A.b)(Q.props),expandedKeys:hr})},400)},0)},ke.onNodeDragOver=function(te,Q){var qe=ke.state.dragNodesKeys,je=ke.props.onDragOver,q=Q.props.eventKey;if(qe.indexOf(q)!==-1)return;if(ke.dragNode&&q===ke.state.dragOverNodeKey){var wt=Object(h.c)(te,Q);if(wt===ke.state.dropPosition)return;ke.setState({dropPosition:wt})}je&&je({event:te,node:Object(A.b)(Q.props)})},ke.onNodeDragLeave=function(te,Q){var qe=ke.props.onDragLeave;ke.setState({dragOverNodeKey:""}),qe&&qe({event:te,node:Object(A.b)(Q.props)})},ke.onNodeDragEnd=function(te,Q){var qe=ke.props.onDragEnd;ke.setState({dragOverNodeKey:""}),ke.cleanDragState(),qe&&qe({event:te,node:Object(A.b)(Q.props)}),ke.dragNode=null},ke.onNodeDrop=function(te,Q){var qe=ke.state,je=qe.dragNodesKeys,q=je===void 0?[]:je,wt=qe.dropPosition,Vt=ke.props.onDrop,lt=Q.props,or=lt.eventKey,vr=lt.pos;if(ke.setState({dragOverNodeKey:""}),ke.cleanDragState(),q.indexOf(or)!==-1){Object(l.a)(!1,"Can not drop to dragNode(include it's children node)");return}var An=Object(h.k)(vr),hr={event:te,node:Object(A.b)(Q.props),dragNode:ke.dragNode?Object(A.b)(ke.dragNode.props):null,dragNodesKeys:q.slice(),dropPosition:wt+Number(An[An.length-1]),dropToGap:!1};wt!==0&&(hr.dropToGap=!0),Vt&&Vt(hr),ke.dragNode=null},ke.cleanDragState=function(){var te=ke.state.dragging;te&&ke.setState({dragging:!1})},ke.onNodeClick=function(te,Q){var qe=ke.props.onClick;qe&&qe(te,Q)},ke.onNodeDoubleClick=function(te,Q){var qe=ke.props.onDoubleClick;qe&&qe(te,Q)},ke.onNodeSelect=function(te,Q){var qe=ke.state.selectedKeys,je=ke.state.keyEntities,q=ke.props,wt=q.onSelect,Vt=q.multiple,lt=Q.selected,or=Q.key,vr=!lt;vr?Vt?qe=Object(h.a)(qe,or):qe=[or]:qe=Object(h.b)(qe,or);var An=qe.map(function(hr){var xr=je[hr];return xr?xr.node:null}).filter(function(hr){return hr});ke.setUncontrolledState({selectedKeys:qe}),wt&&wt(qe,{event:"select",selected:vr,node:Q,selectedNodes:An,nativeEvent:te.nativeEvent})},ke.onNodeCheck=function(te,Q,qe){var je=ke.state,q=je.keyEntities,wt=je.checkedKeys,Vt=je.halfCheckedKeys,lt=ke.props,or=lt.checkStrictly,vr=lt.onCheck,An=Q.key,hr,xr={event:"check",node:Q,checked:qe,nativeEvent:te.nativeEvent};if(or){var nr=qe?Object(h.a)(wt,An):Object(h.b)(wt,An),Yt=Object(h.b)(Vt,An);hr={checked:nr,halfChecked:Yt},xr.checkedNodes=nr.map(function(xi){return q[xi]}).filter(function(xi){return xi}).map(function(xi){return xi.node}),ke.setUncontrolledState({checkedKeys:nr})}else{var gt=Object(G.a)([].concat(Object(c.a)(wt),[An]),!0,q),zr=gt.checkedKeys,pn=gt.halfCheckedKeys;if(!qe){var Nn=new Set(zr);Nn.delete(An);var Vn=Object(G.a)(Array.from(Nn),{checked:!1,halfCheckedKeys:pn},q);zr=Vn.checkedKeys,pn=Vn.halfCheckedKeys}hr=zr,xr.checkedNodes=[],xr.checkedNodesPositions=[],xr.halfCheckedKeys=pn,zr.forEach(function(xi){var bn=q[xi];if(!bn)return;var Pn=bn.node,jt=bn.pos;xr.checkedNodes.push(Pn),xr.checkedNodesPositions.push({node:Pn,pos:jt})}),ke.setUncontrolledState({checkedKeys:zr},!1,{halfCheckedKeys:pn})}vr&&vr(hr,xr)},ke.onNodeLoad=function(te){return new Promise(function(Q){ke.setState(function(qe){var je=qe.loadedKeys,q=je===void 0?[]:je,wt=qe.loadingKeys,Vt=wt===void 0?[]:wt,lt=ke.props,or=lt.loadData,vr=lt.onLoad,An=te.key;if(!or||q.indexOf(An)!==-1||Vt.indexOf(An)!==-1)return{};var hr=or(te);return hr.then(function(){var xr=ke.state,nr=xr.loadedKeys,Yt=xr.loadingKeys,gt=Object(h.a)(nr,An),zr=Object(h.b)(Yt,An);vr&&vr(gt,{event:"load",node:te}),ke.setUncontrolledState({loadedKeys:gt}),ke.setState({loadingKeys:zr}),Q()}),{loadingKeys:Object(h.a)(Vt,An)}})})},ke.onNodeMouseEnter=function(te,Q){var qe=ke.props.onMouseEnter;qe&&qe({event:te,node:Q})},ke.onNodeMouseLeave=function(te,Q){var qe=ke.props.onMouseLeave;qe&&qe({event:te,node:Q})},ke.onNodeContextMenu=function(te,Q){var qe=ke.props.onRightClick;qe&&(te.preventDefault(),qe({event:te,node:Q}))},ke.onFocus=function(){var te=ke.props.onFocus;ke.setState({focused:!0}),te&&te.apply(void 0,arguments)},ke.onBlur=function(){var te=ke.props.onBlur;ke.setState({focused:!1}),ke.onActiveChange(null),te&&te.apply(void 0,arguments)},ke.getTreeNodeRequiredProps=function(){var te=ke.state,Q=te.expandedKeys,qe=te.selectedKeys,je=te.loadedKeys,q=te.loadingKeys,wt=te.checkedKeys,Vt=te.halfCheckedKeys,lt=te.dragOverNodeKey,or=te.dropPosition,vr=te.keyEntities;return{expandedKeys:Q||[],selectedKeys:qe||[],loadedKeys:je||[],loadingKeys:q||[],checkedKeys:wt||[],halfCheckedKeys:Vt||[],dragOverNodeKey:lt,dropPosition:or,keyEntities:vr}},ke.setExpandedKeys=function(te){var Q=ke.state.treeData,qe=Object(A.d)(Q,te);ke.setUncontrolledState({expandedKeys:te,flattenNodes:qe},!0)},ke.onNodeExpand=function(te,Q){var qe=ke.state.expandedKeys,je=ke.state.listChanging,q=ke.props,wt=q.onExpand,Vt=q.loadData,lt=Q.key,or=Q.expanded;if(je)return;var vr=qe.indexOf(lt),An=!or;if(Object(l.a)(or&&vr!==-1||!or&&vr===-1,"Expand state not sync with index check"),An?qe=Object(h.a)(qe,lt):qe=Object(h.b)(qe,lt),ke.setExpandedKeys(qe),wt&&wt(qe,{node:Q,expanded:An,nativeEvent:te.nativeEvent}),An&&Vt){var hr=ke.onNodeLoad(Q);hr&&hr.then(function(){var xr=Object(A.d)(ke.state.treeData,qe);ke.setUncontrolledState({flattenNodes:xr})})}},ke.onListChangeStart=function(){ke.setUncontrolledState({listChanging:!0})},ke.onListChangeEnd=function(){setTimeout(function(){ke.setUncontrolledState({listChanging:!1})})},ke.onActiveChange=function(te){var Q=ke.state.activeKey,qe=ke.props.onActiveChange;if(Q===te)return;ke.setState({activeKey:te}),te!==null&&ke.scrollTo({key:te}),qe&&qe(te)},ke.getActiveItem=function(){var te=ke.state,Q=te.activeKey,qe=te.flattenNodes;return Q===null?null:qe.find(function(je){var q=je.data.key;return q===Q})||null},ke.offsetActiveKey=function(te){var Q=ke.state,qe=Q.flattenNodes,je=Q.activeKey,q=qe.findIndex(function(lt){var or=lt.data.key;return or===je});q===-1&&te<0&&(q=qe.length),q=(q+te+qe.length)%qe.length;var wt=qe[q];if(wt){var Vt=wt.data.key;ke.onActiveChange(Vt)}else ke.onActiveChange(null)},ke.onKeyDown=function(te){var Q=ke.state,qe=Q.activeKey,je=Q.expandedKeys,q=Q.checkedKeys,wt=ke.props,Vt=wt.onKeyDown,lt=wt.checkable,or=wt.selectable;switch(te.which){case e.a.UP:{ke.offsetActiveKey(-1),te.preventDefault();break}case e.a.DOWN:{ke.offsetActiveKey(1),te.preventDefault();break}}var vr=ke.getActiveItem();if(vr&&vr.data){var An=ke.getTreeNodeRequiredProps(),hr=vr.data.isLeaf===!1||!!(vr.data.children||[]).length,xr=Object(A.b)(Object(d.a)(Object(d.a)({},Object(A.f)(qe,An)),{},{data:vr.data,active:!0}));switch(te.which){case e.a.LEFT:{hr&&je.includes(qe)?ke.onNodeExpand({},xr):vr.parent&&ke.onActiveChange(vr.parent.data.key),te.preventDefault();break}case e.a.RIGHT:{hr&&!je.includes(qe)?ke.onNodeExpand({},xr):vr.children&&vr.children.length&&ke.onActiveChange(vr.children[0].data.key),te.preventDefault();break}case e.a.ENTER:case e.a.SPACE:{lt&&!xr.disabled&&xr.checkable!==!1&&!xr.disableCheckbox?ke.onNodeCheck({},xr,!q.includes(qe)):!lt&&or&&!xr.disabled&&xr.selectable!==!1&&ke.onNodeSelect({},xr);break}}}Vt&&Vt(te)},ke.setUncontrolledState=function(te){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(ke.destroyed)return;var je=!1,q=!0,wt={};Object.keys(te).forEach(function(Vt){if(Vt in ke.props){q=!1;return}je=!0,wt[Vt]=te[Vt]}),je&&(!Q||q)&&ke.setState(Object(d.a)(Object(d.a)({},wt),qe))},ke.scrollTo=function(te){ke.listRef.current.scrollTo(te)},ke}return Object(i.a)(Ft,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var te,Q=this.state,qe=Q.focused,je=Q.flattenNodes,q=Q.keyEntities,wt=Q.dragging,Vt=Q.activeKey,lt=this.props,or=lt.prefixCls,vr=lt.className,An=lt.style,hr=lt.showLine,xr=lt.focusable,nr=lt.tabIndex,Yt=nr===void 0?0:nr,gt=lt.selectable,zr=lt.showIcon,pn=lt.icon,Nn=lt.switcherIcon,Vn=lt.draggable,xi=lt.checkable,bn=lt.checkStrictly,Pn=lt.disabled,jt=lt.motion,At=lt.loadData,xe=lt.filterTreeNode,we=lt.height,Ee=lt.itemHeight,Ge=lt.virtual,nt=lt.titleRender,st=lt.onContextMenu,Mt=Object(h.f)(this.props);return g.createElement(u.a.Provider,{value:{prefixCls:or,selectable:gt,showIcon:zr,icon:pn,switcherIcon:Nn,draggable:Vn,checkable:xi,checkStrictly:bn,disabled:Pn,keyEntities:q,loadData:At,filterTreeNode:xe,titleRender:nt,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}},g.createElement("div",{className:s()(or,vr,(te={},Object(f.a)(te,"".concat(or,"-show-line"),hr),Object(f.a)(te,"".concat(or,"-focused"),qe),Object(f.a)(te,"".concat(or,"-active-focused"),Vt!==null),te))},g.createElement(W,Object.assign({ref:this.listRef,prefixCls:or,style:An,data:je,disabled:Pn,selectable:gt,checkable:!!xi,motion:jt,dragging:wt,height:we,itemHeight:Ee,virtual:Ge,focusable:xr,focused:qe,tabIndex:Yt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:st},this.getTreeNodeRequiredProps(),Mt))))}}],[{key:"getDerivedStateFromProps",value:function(te,Q){var qe=Q.prevProps,je={prevProps:te};function q(pn){return!qe&&pn in te||qe&&qe[pn]!==te[pn]}var wt;if(q("treeData")?wt=te.treeData:q("children")&&(Object(l.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),wt=Object(A.c)(te.children)),wt){je.treeData=wt;var Vt=Object(A.a)(wt);je.keyEntities=Object(d.a)(Object(f.a)({},F,z),Vt.keyEntities)}var lt=je.keyEntities||Q.keyEntities;if(q("expandedKeys")||qe&&q("autoExpandParent"))je.expandedKeys=te.autoExpandParent||!qe&&te.defaultExpandParent?Object(h.e)(te.expandedKeys,lt):te.expandedKeys;else if(!qe&&te.defaultExpandAll){var or=Object(d.a)({},lt);delete or[F],je.expandedKeys=Object.keys(or).map(function(pn){return or[pn].key})}else!qe&&te.defaultExpandedKeys&&(je.expandedKeys=te.autoExpandParent||te.defaultExpandParent?Object(h.e)(te.defaultExpandedKeys,lt):te.defaultExpandedKeys);if(je.expandedKeys||delete je.expandedKeys,wt||je.expandedKeys){var vr=Object(A.d)(wt||Q.treeData,je.expandedKeys||Q.expandedKeys);je.flattenNodes=vr}if(te.selectable&&(q("selectedKeys")?je.selectedKeys=Object(h.d)(te.selectedKeys,te):!qe&&te.defaultSelectedKeys&&(je.selectedKeys=Object(h.d)(te.defaultSelectedKeys,te))),te.checkable){var An;if(q("checkedKeys")?An=Object(h.j)(te.checkedKeys)||{}:!qe&&te.defaultCheckedKeys?An=Object(h.j)(te.defaultCheckedKeys)||{}:wt&&(An=Object(h.j)(te.checkedKeys)||{checkedKeys:Q.checkedKeys,halfCheckedKeys:Q.halfCheckedKeys}),An){var hr=An,xr=hr.checkedKeys,nr=xr===void 0?[]:xr,Yt=hr.halfCheckedKeys,gt=Yt===void 0?[]:Yt;if(!te.checkStrictly){var zr=Object(G.a)(nr,!0,lt);nr=zr.checkedKeys,gt=zr.halfCheckedKeys}je.checkedKeys=nr,je.halfCheckedKeys=gt}}return q("loadedKeys")&&(je.loadedKeys=te.loadedKeys),je}}]),Ft}(g.Component);re.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:[]},re.TreeNode=O.a;var ye=re,$=ye,ve=n("RIqP"),Ce=n.n(ve),Se=n("J4zp"),Ke=n.n(Se),ue=n("sEfC"),Le=n.n(ue),ee=n("vk+C"),le=n.n(ee),et=n("Vy0f"),Re=n.n(et),Ae=n("kGiB"),oe=n.n(Ae),ce=n("H84U"),be;(function(kt){kt[kt.None=0]="None",kt[kt.Start=1]="Start",kt[kt.End=2]="End"})(be||(be={}));function Te(kt,_t){function Ft(ke){var te=ke.key,Q=ke.children;_t(te,ke)!==!1&&Te(Q||[],_t)}kt.forEach(Ft)}function Be(kt){var _t=kt.treeData,Ft=kt.expandedKeys,ke=kt.startKey,te=kt.endKey,Q=[],qe=be.None;if(ke&&ke===te)return[ke];if(!ke||!te)return[];function je(q){return q===ke||q===te}return Te(_t,function(q){if(qe===be.End)return!1;if(je(q)){if(Q.push(q),qe===be.None)qe=be.Start;else if(qe===be.Start)return qe=be.End,!1}else qe===be.Start&&Q.push(q);return!(Ft.indexOf(q)===-1)}),Q}function De(kt,_t){var Ft=Ce()(_t),ke=[];return Te(kt,function(te,Q){var qe=Ft.indexOf(te);return qe!==-1&&(ke.push(Q),Ft.splice(qe,1)),!!Ft.length}),ke}var ae=function(kt,_t){var Ft={};for(var ke in kt)Object.prototype.hasOwnProperty.call(kt,ke)&&_t.indexOf(ke)<0&&(Ft[ke]=kt[ke]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ke=Object.getOwnPropertySymbols(kt);te<ke.length;te++)_t.indexOf(ke[te])<0&&Object.prototype.propertyIsEnumerable.call(kt,ke[te])&&(Ft[ke[te]]=kt[ke[te]]);return Ft};function fe(kt){var _t=kt.isLeaf,Ft=kt.expanded;return _t?g.createElement(le.a,null):Ft?g.createElement(Re.a,null):g.createElement(oe.a,null)}function Oe(kt){var _t=kt.treeData,Ft=kt.children;return _t||Object(A.c)(Ft)}var Je=function(_t,Ft){var ke=_t.defaultExpandAll,te=_t.defaultExpandParent,Q=_t.defaultExpandedKeys,qe=ae(_t,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),je=g.useRef(),q=g.useRef(),wt=g.createRef();g.useImperativeHandle(Ft,function(){return wt.current});var Vt=function(){var st=Object(A.a)(Oe(qe)),Mt=st.keyEntities,wr;return ke?wr=Object.keys(Mt):te?wr=Object(h.e)(qe.expandedKeys||Q,Mt):wr=qe.expandedKeys||Q,wr},lt=g.useState(qe.selectedKeys||qe.defaultSelectedKeys||[]),or=Ke()(lt,2),vr=or[0],An=or[1],hr=g.useState(Vt()),xr=Ke()(hr,2),nr=xr[0],Yt=xr[1];g.useEffect(function(){"selectedKeys"in qe&&An(qe.selectedKeys)},[qe.selectedKeys]),g.useEffect(function(){"expandedKeys"in qe&&Yt(qe.expandedKeys)},[qe.expandedKeys]);var gt=function(st,Mt){var wr=Mt.isLeaf;if(wr||st.shiftKey||st.metaKey||st.ctrlKey)return;wt.current.onNodeExpand(st,Mt)},zr=Le()(gt,200,{leading:!0}),pn=function(st,Mt){return"expandedKeys"in qe||Yt(st),qe.onExpand?qe.onExpand(st,Mt):void 0},Nn=function(st,Mt){var wr=qe.expandAction;wr==="click"&&zr(st,Mt),qe.onClick&&qe.onClick(st,Mt)},Vn=function(st,Mt){var wr=qe.expandAction;wr==="doubleClick"&&zr(st,Mt),qe.onDoubleClick&&qe.onDoubleClick(st,Mt)},xi=function(st,Mt){var wr=qe.multiple,Pr=Mt.node,qr=Mt.nativeEvent,xt=Pr.key,rt=xt===void 0?"":xt,it=Oe(qe),$t=m()(m()({},Mt),{selected:!0}),Dt=qr.ctrlKey||qr.metaKey,St=qr.shiftKey,Ut;wr&&Dt?(Ut=st,je.current=rt,q.current=Ut,$t.selectedNodes=De(it,Ut)):wr&&St?(Ut=Array.from(new Set([].concat(Ce()(q.current||[]),Ce()(Be({treeData:it,expandedKeys:nr,startKey:rt,endKey:je.current}))))),$t.selectedNodes=De(it,Ut)):(Ut=[rt],je.current=rt,q.current=Ut,$t.selectedNodes=De(it,Ut)),qe.onSelect&&qe.onSelect(Ut,$t),"selectedKeys"in qe||An(Ut)},bn=g.useContext(ce.b),Pn=bn.getPrefixCls,jt=bn.direction,At=qe.prefixCls,xe=qe.className,we=ae(qe,["prefixCls","className"]),Ee=Pn("tree",At),Ge=s()("".concat(Ee,"-directory"),xe,p()({},"".concat(Ee,"-directory-rtl"),jt==="rtl"));return g.createElement(Ot,m()({icon:fe,ref:wt,blockNode:!0},we,{prefixCls:Ee,className:Ge,expandedKeys:nr,selectedKeys:vr,onSelect:xi,onClick:Nn,onDoubleClick:Vn,onExpand:pn}))},Et=g.forwardRef(Je);Et.displayName="DirectoryTree",Et.defaultProps={showIcon:!0,expandAction:"click"};var Ze=Et,Ne=n("EXcs"),It=n("2jpz"),Xe=g.forwardRef(function(kt,_t){var Ft,ke=g.useContext(ce.b),te=ke.getPrefixCls,Q=ke.direction,qe=ke.virtual,je=kt.prefixCls,q=kt.className,wt=kt.showIcon,Vt=kt.showLine,lt=kt.switcherIcon,or=kt.blockNode,vr=kt.children,An=kt.checkable,hr=m()(m()({},kt),{showLine:Boolean(Vt)}),xr=te("tree",je);return g.createElement($,m()({itemHeight:20,ref:_t,virtual:qe},hr,{prefixCls:xr,className:s()(q,(Ft={},p()(Ft,"".concat(xr,"-icon-hide"),!wt),p()(Ft,"".concat(xr,"-block-node"),or),p()(Ft,"".concat(xr,"-rtl"),Q==="rtl"),Ft)),checkable:An&&g.createElement("span",{className:"".concat(xr,"-checkbox-inner")}),switcherIcon:function(Yt){return Object(It.a)(xr,lt,Vt,Yt)}}),vr)});Xe.TreeNode=O.a,Xe.DirectoryTree=Ze,Xe.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},Ne.a),{motionAppear:!1}),blockNode:!1};var Ot=Xe,Bt=N.a=Ot},MKOG:function(M,N,n){var v=n("bYtY"),p=n("YH21"),S=p.Dispatcher,m=n("mLcG"),g=n("Bq2U"),f=function(o){o=o||{},this.stage=o.stage||{},this.onframe=o.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,S.call(this)};f.prototype={constructor:f,addClip:function(o){this._clips.push(o)},addAnimator:function(o){o.animation=this;for(var i=o.getClips(),t=0;t<i.length;t++)this.addClip(i[t])},removeClip:function(o){var i=v.indexOf(this._clips,o);i>=0&&this._clips.splice(i,1)},removeAnimator:function(o){for(var i=o.getClips(),t=0;t<i.length;t++)this.removeClip(i[t]);o.animation=null},_update:function(){for(var o=new Date().getTime()-this._pausedTime,i=o-this._time,t=this._clips,a=t.length,e=[],l=[],r=0;r<a;r++){var s=t[r],u=s.step(o,i);u&&(e.push(u),l.push(s))}for(var r=0;r<a;)t[r]._needsRemove?(t[r]=t[a-1],t.pop(),a--):r++;a=e.length;for(var r=0;r<a;r++)l[r].fire(e[r]);this._time=o,this.onframe(i),this.trigger("frame",i),this.stage.update&&this.stage.update()},_startLoop:function(){var o=this;this._running=!0;function i(){o._running&&(m(i),!o._paused&&o._update())}m(i)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(o,i){i=i||{};var t=new g(o,i.loop,i.getter,i.setter);return this.addAnimator(t),t}},v.mixin(f,S);var d=f;M.exports=d},MRoa:function(M,N,n){var v=n("ProS");n("0Bwj"),n("W2nI"),n("vcCh");var p=n("gawk"),S=n("Dg8C");v.registerLayout(p),v.registerVisual(S)},MT78:function(M,N,n){var v=n("ProS");(function(){for(var S in v){if(v==null||!v.hasOwnProperty(S)||S==="default"||S==="__esModule")return;N[S]=v[S]}})();var p=n("txkQ");(function(){for(var S in p){if(p==null||!p.hasOwnProperty(S)||S==="default"||S==="__esModule")return;N[S]=p[S]}})(),n("A1Ka"),n("75ce"),n("lLGD"),n("wDdD"),n("Fa/5"),n("jett"),n("Z1wy"),n("75ev"),n("2uGb"),n("I+77"),n("B+YJ"),n("pLH3"),n("CBdT"),n("MRoa"),n("+lIL"),n("CF2D"),n("ERHi"),n("p+If"),n("XOKv"),n("qt/9"),n("bBL8"),n("1xaR"),n("4Feb"),n("zRKj"),n("L3Oj"),n("0HBW"),n("LPzL"),n("8waO"),n("k5C7"),n("f1nB"),n("sRwP"),n("AH3D"),n("y4/Y"),n("LzGr"),n("Ynxi"),n("7pVf"),n("2w7y"),n("laiN"),n("fjKi"),n("C0tN"),n("0o9m"),n("Cm0C"),n("f3JH"),n("5NHt"),n("VFCP"),n("dBmv"),n("KamJ"),n("8XDt"),n("juDX")},MXD1:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("Kvyg"),m=n.n(S)},MZdM:function(M,N,n){"use strict";function v(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(r){return typeof r}:v=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v(e)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=c(n("Lo0S")),S=f(n("N/zr")),m=n("GdRQ"),g=n("GQ8N");function f(e){return e&&e.__esModule?e:{default:e}}function d(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return d=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(e===null||v(e)!=="object"&&typeof e!="function")return{default:e};var l=d();if(l&&l.has(e))return l.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var h=s?Object.getOwnPropertyDescriptor(e,u):null;h&&(h.get||h.set)?Object.defineProperty(r,u,h):r[u]=e[u]}return r.default=e,l&&l.set(e,r),r}function o(e,l){if(!(e instanceof l))throw new TypeError("Cannot call a class as a function")}function i(e,l){for(var r=0;r<l.length;r++){var s=l[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function t(e,l,r){return l&&i(e.prototype,l),r&&i(e,r),e}var a=function(){function e(l){if(o(this,e),this._drawCtx=null,this._renderQ=[],this._flushing=!1,this._fbWidth=0,this._fbHeight=0,this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tileX=0,this._tileY=0,p.Debug(">> Display.constructor"),this._target=l,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},p.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),p.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return t(e,[{key:"viewportChangePos",value:function(r,s){var u=this._viewportLoc;r=Math.floor(r),s=Math.floor(s),this._clipViewport||(r=-u.w,s=-u.h);var h=u.x+u.w-1,A=u.y+u.h-1;if(r<0&&u.x+r<0&&(r=-u.x),h+r>=this._fbWidth&&(r-=h+r-this._fbWidth+1),u.y+s<0&&(s=-u.y),A+s>=this._fbHeight&&(s-=A+s-this._fbHeight+1),r===0&&s===0)return;p.Debug("viewportChange deltaX: "+r+", deltaY: "+s),u.x+=r,u.y+=s,this._damage(u.x,u.y,u.w,u.h),this.flip()}},{key:"viewportChangeSize",value:function(r,s){(!this._clipViewport||typeof r=="undefined"||typeof s=="undefined")&&(p.Debug("Setting viewport to full display region"),r=this._fbWidth,s=this._fbHeight),r=Math.floor(r),s=Math.floor(s),r>this._fbWidth&&(r=this._fbWidth),s>this._fbHeight&&(s=this._fbHeight);var u=this._viewportLoc;if(u.w!==r||u.h!==s){u.w=r,u.h=s;var h=this._target;h.width=r,h.height=s,this.viewportChangePos(0,0),this._damage(u.x,u.y,u.w,u.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(r){return this._scale===0?0:(0,g.toSigned32bit)(r/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(r){return this._scale===0?0:(0,g.toSigned32bit)(r/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(r,s){this._prevDrawStyle="",this._fbWidth=r,this._fbHeight=s;var u=this._backbuffer;if(u.width!==r||u.height!==s){var h=null;u.width>0&&u.height>0&&(h=this._drawCtx.getImageData(0,0,u.width,u.height)),u.width!==r&&(u.width=r),u.height!==s&&(u.height=s),h&&this._drawCtx.putImageData(h,0,0)}var A=this._viewportLoc;this.viewportChangeSize(A.w,A.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(r,s,u,h){r<this._damageBounds.left&&(this._damageBounds.left=r),s<this._damageBounds.top&&(this._damageBounds.top=s),r+u>this._damageBounds.right&&(this._damageBounds.right=r+u),s+h>this._damageBounds.bottom&&(this._damageBounds.bottom=s+h)}},{key:"flip",value:function(r){if(this._renderQ.length!==0&&!r)this._renderQPush({type:"flip"});else{var s=this._damageBounds.left,u=this._damageBounds.top,h=this._damageBounds.right-s,A=this._damageBounds.bottom-u,y=s-this._viewportLoc.x,w=u-this._viewportLoc.y;y<0&&(h+=y,s-=y,y=0),w<0&&(A+=w,u-=w,w=0),y+h>this._viewportLoc.w&&(h=this._viewportLoc.w-y),w+A>this._viewportLoc.h&&(A=this._viewportLoc.h-w),h>0&&A>0&&this._targetCtx.drawImage(this._backbuffer,s,u,h,A,y,w,h,A),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(r,s,u,h,A,y){this._renderQ.length!==0&&!y?this._renderQPush({type:"fill",x:r,y:s,width:u,height:h,color:A}):(this._setFillColor(A),this._drawCtx.fillRect(r,s,u,h),this._damage(r,s,u,h))}},{key:"copyImage",value:function(r,s,u,h,A,y,w){this._renderQ.length!==0&&!w?this._renderQPush({type:"copy",oldX:r,oldY:s,x:u,y:h,width:A,height:y}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,r,s,A,y,u,h,A,y),this._damage(u,h,A,y))}},{key:"imageRect",value:function(r,s,u,h,A,y){if(u===0||h===0)return;var w=new Image;w.src="data: "+A+";base64,"+S.default.encode(y),this._renderQPush({type:"img",img:w,x:r,y:s,width:u,height:h})}},{key:"startTile",value:function(r,s,u,h,A){this._tileX=r,this._tileY=s,u===16&&h===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,h);for(var y=A[2],w=A[1],b=A[0],x=this._tile.data,O=0;O<u*h*4;O+=4)x[O]=y,x[O+1]=w,x[O+2]=b,x[O+3]=255}},{key:"subTile",value:function(r,s,u,h,A){for(var y=A[2],w=A[1],b=A[0],x=r+u,O=s+h,T=this._tile.data,E=this._tile.width,C=s;C<O;C++)for(var _=r;_<x;_++){var L=(_+C*E)*4;T[L]=y,T[L+1]=w,T[L+2]=b,T[L+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(r,s,u,h,A,y,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*4);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blit",data:b,x:r,y:s,width:u,height:h})}else this._bgrxImageData(r,s,u,h,A,y)}},{key:"blitRgbImage",value:function(r,s,u,h,A,y,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*3);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blitRgb",data:b,x:r,y:s,width:u,height:h})}else this._rgbImageData(r,s,u,h,A,y)}},{key:"blitRgbxImage",value:function(r,s,u,h,A,y,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*4);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blitRgbx",data:b,x:r,y:s,width:u,height:h})}else this._rgbxImageData(r,s,u,h,A,y)}},{key:"drawImage",value:function(r,s,u){this._drawCtx.drawImage(r,s,u),this._damage(s,u,r.width,r.height)}},{key:"autoscale",value:function(r,s){var u;if(r===0||s===0)u=0;else{var h=this._viewportLoc,A=r/s,y=h.w/h.h;y>=A?u=r/h.w:u=s/h.h}this._rescale(u)}},{key:"_rescale",value:function(r){this._scale=r;var s=this._viewportLoc,u=r*s.w+"px",h=r*s.h+"px";(this._target.style.width!==u||this._target.style.height!==h)&&(this._target.style.width=u,this._target.style.height=h)}},{key:"_setFillColor",value:function(r){var s="rgb("+r[2]+","+r[1]+","+r[0]+")";s!==this._prevDrawStyle&&(this._drawCtx.fillStyle=s,this._prevDrawStyle=s)}},{key:"_rgbImageData",value:function(r,s,u,h,A,y){for(var w=this._drawCtx.createImageData(u,h),b=w.data,x=0,O=y;x<u*h*4;x+=4,O+=3)b[x]=A[O],b[x+1]=A[O+1],b[x+2]=A[O+2],b[x+3]=255;this._drawCtx.putImageData(w,r,s),this._damage(r,s,w.width,w.height)}},{key:"_bgrxImageData",value:function(r,s,u,h,A,y){for(var w=this._drawCtx.createImageData(u,h),b=w.data,x=0,O=y;x<u*h*4;x+=4,O+=4)b[x]=A[O+2],b[x+1]=A[O+1],b[x+2]=A[O],b[x+3]=255;this._drawCtx.putImageData(w,r,s),this._damage(r,s,w.width,w.height)}},{key:"_rgbxImageData",value:function(r,s,u,h,A,y){var w;m.supportsImageMetadata?w=new ImageData(new Uint8ClampedArray(A.buffer,A.byteOffset,u*h*4),u,h):(w=this._drawCtx.createImageData(u,h),w.data.set(new Uint8ClampedArray(A.buffer,A.byteOffset,u*h*4))),this._drawCtx.putImageData(w,r,s),this._damage(r,s,w.width,w.height)}},{key:"_renderQPush",value:function(r){this._renderQ.push(r),this._renderQ.length===1&&this._scanRenderQ()}},{key:"_resumeRenderQ",value:function(){this.removeEventListener("load",this._noVNCDisplay._resumeRenderQ),this._noVNCDisplay._scanRenderQ()}},{key:"_scanRenderQ",value:function(){for(var r=!0;r&&this._renderQ.length>0;){var s=this._renderQ[0];switch(s.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(s.oldX,s.oldY,s.x,s.y,s.width,s.height,!0);break;case"fill":this.fillRect(s.x,s.y,s.width,s.height,s.color,!0);break;case"blit":this.blitImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgb":this.blitRgbImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"img":if(s.img.complete&&s.img.width!==0&&s.img.height!==0){if(s.img.width!==s.width||s.img.height!==s.height){p.Error("Decoded image has incorrect dimensions. Got "+s.img.width+"x"+s.img.height+". Expected "+s.width+"x"+s.height+".");return}this.drawImage(s.img,s.x,s.y)}else s.img._noVNCDisplay=this,s.img.addEventListener("load",this._resumeRenderQ),r=!1;break}r&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(r){this._rescale(r)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(r){this._clipViewport=r;var s=this._viewportLoc;this.viewportChangeSize(s.w,s.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),e}();N.default=a},Mdki:function(M,N,n){var v=n("bYtY"),p=v.each,S="\0__link_datas",m="\0__link_mainData";function g(l){var r=l.mainData,s=l.datas;s||(s={main:r},l.datasAttr={main:"data"}),l.datas=l.mainData=null,t(r,s,l),p(s,function(u){p(r.TRANSFERABLE_METHODS,function(h){u.wrapMethod(h,v.curry(f,l))})}),r.wrapMethod("cloneShallow",v.curry(c,l)),p(r.CHANGABLE_METHODS,function(u){r.wrapMethod(u,v.curry(d,l))}),v.assert(s[r.dataType]===r)}function f(l,r){if(i(this)){var s=v.extend({},this[S]);s[this.dataType]=r,t(r,s,l)}else a(r,this.dataType,this[m],l);return r}function d(l,r){return l.struct&&l.struct.update(this),r}function c(l,r){return p(r[S],function(s,u){s!==r&&a(s.cloneShallow(),u,r,l)}),r}function o(l){var r=this[m];return l==null||r==null?r:r[S][l]}function i(l){return l[m]===l}function t(l,r,s){l[S]={},p(r,function(u,h){a(u,h,l,s)})}function a(l,r,s,u){s[S][r]=l,l[m]=s,l.dataType=r,u.struct&&(l[u.structAttr]=u.struct,u.struct[u.datasAttr[r]]=l),l.getLinkedData=o}var e=g;M.exports=e},Mds0:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("8IMR")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="StarFilled";var i=m.forwardRef(o);N.default=i},Mgri:function(M,N,n){for(var v=n("bYtY"),p=n("8nly"),S=[126,25],m=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],g=0;g<m.length;g++)for(var f=0;f<m[g].length;f++)m[g][f][0]/=10.5,m[g][f][1]/=-10.5/.75,m[g][f][0]+=S[0],m[g][f][1]+=S[1];function d(c,o){c==="china"&&o.push(new p("\u5357\u6D77\u8BF8\u5C9B",v.map(m,function(i){return{type:"polygon",exterior:i}}),S))}M.exports=d},Mmt2:function(M,N,n){"use strict";function v(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(e){return typeof e}:v=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(t)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=m(n("Lo0S"));function S(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return S=function(){return t},t}function m(t){if(t&&t.__esModule)return t;if(t===null||v(t)!=="object"&&typeof t!="function")return{default:t};var a=S();if(a&&a.has(t))return a.get(t);var e={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var s=l?Object.getOwnPropertyDescriptor(t,r):null;s&&(s.get||s.set)?Object.defineProperty(e,r,s):e[r]=t[r]}return e.default=t,a&&a.set(t,e),e}function g(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}function f(t,a){for(var e=0;e<a.length;e++){var l=a[e];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}function d(t,a,e){return a&&f(t.prototype,a),e&&f(t,e),t}var c=!1,o=40*1024*1024,i=function(){function t(){g(this,t),this._websocket=null,this._rQi=0,this._rQlen=0,this._rQbufferSize=1024*1024*4,this._rQ=null,this._sQbufferSize=1024*10,this._sQlen=0,this._sQ=null,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}return d(t,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(e){this._rQi+=e}},{key:"rQshift8",value:function(){return this._rQshift(1)}},{key:"rQshift16",value:function(){return this._rQshift(2)}},{key:"rQshift32",value:function(){return this._rQshift(4)}},{key:"_rQshift",value:function(e){for(var l=0,r=e-1;r>=0;r--)l+=this._rQ[this._rQi++]<<r*8;return l}},{key:"rQshiftStr",value:function(e){typeof e=="undefined"&&(e=this.rQlen);for(var l="",r=0;r<e;r+=4096){var s=this.rQshiftBytes(Math.min(4096,e-r));l+=String.fromCharCode.apply(null,s)}return l}},{key:"rQshiftBytes",value:function(e){return typeof e=="undefined"&&(e=this.rQlen),this._rQi+=e,new Uint8Array(this._rQ.buffer,this._rQi-e,e)}},{key:"rQshiftTo",value:function(e,l){l===void 0&&(l=this.rQlen),e.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(e){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+e,l-e)}},{key:"rQwait",value:function(e,l,r){if(this.rQlen<l){if(r){if(this._rQi<r)throw new Error("rQwait cannot backup "+r+" bytes");this._rQi-=r}return!0}return!1}},{key:"flush",value:function(){this._sQlen>0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(e){this._sQ.set(e,this._sQlen),this._sQlen+=e.length,this.flush()}},{key:"sendString",value:function(e){this.send(e.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(e){this._eventHandlers[e]=function(){}}},{key:"on",value:function(e,l){this._eventHandlers[e]=l}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(e,l){var r=this;this.init(),this._websocket=new WebSocket(e,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){p.Debug(">> WebSock.onopen"),r._websocket.protocol&&p.Info("Server choose sub-protocol: "+r._websocket.protocol),r._eventHandlers.open(),p.Debug("<< WebSock.onopen")},this._websocket.onclose=function(s){p.Debug(">> WebSock.onclose"),r._eventHandlers.close(s),p.Debug("<< WebSock.onclose")},this._websocket.onerror=function(s){p.Debug(">> WebSock.onerror: "+s),r._eventHandlers.error(s),p.Debug("<< WebSock.onerror: "+s)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(p.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(e){var l=(this._rQlen-this._rQi+e)*8,r=this._rQbufferSize<l;if(r&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>o&&(this._rQbufferSize=o,this._rQbufferSize-this.rQlen<e))throw new Error("Receive Queue buffer exceeded "+o+" bytes, and the new message could not fit");if(r){var s=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(s,this._rQi,this._rQlen-this._rQi))}else c?this._rQ.copyWithin(0,this._rQi,this._rQlen):this._rQ.set(new Uint8Array(this._rQ.buffer,this._rQi,this._rQlen-this._rQi));this._rQlen=this._rQlen-this._rQi,this._rQi=0}},{key:"_DecodeMessage",value:function(e){var l=new Uint8Array(e);l.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(e){this._DecodeMessage(e.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):p.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(e){this._rQi=e}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),t}();N.default=i},MqEG:function(M,N,n){var v=n("bYtY"),p=n("fc+c"),S=n("72pK"),m=n("VXYp"),g=v.bind,f=p.extend({type:"dataZoom.inside",init:function(t,a){this._range},render:function(t,a,e,l){f.superApply(this,"render",arguments),this._range=t.getPercentRange(),v.each(this.getTargetCoordInfo(),function(r,s){var u=v.map(r,function(h){return m.generateCoordId(h.model)});v.each(r,function(h){var A=h.model,y={};v.each(["pan","zoom","scrollMove"],function(w){y[w]=g(d[w],this,h,s)},this),m.register(e,{coordId:m.generateCoordId(A),allCoordIds:u,containsPoint:function(w,b,x){return A.coordinateSystem.containPoint([b,x])},dataZoomId:t.id,dataZoomModel:t,getRange:y})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),f.superApply(this,"dispose",arguments),this._range=null}}),d={zoom:function(t,a,e,l){var r=this._range,s=r.slice(),u=t.axisModels[0];if(!u)return;var h=o[a](null,[l.originX,l.originY],u,e,t),A=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(s[1]-s[0])+s[0],y=Math.max(1/l.scale,0);s[0]=(s[0]-A)*y+A,s[1]=(s[1]-A)*y+A;var w=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(S(0,s,[0,100],0,w.minSpan,w.maxSpan),this._range=s,r[0]!==s[0]||r[1]!==s[1])return s},pan:c(function(t,a,e,l,r,s){var u=o[l]([s.oldX,s.oldY],[s.newX,s.newY],a,r,e);return u.signal*(t[1]-t[0])*u.pixel/u.pixelLength}),scrollMove:c(function(t,a,e,l,r,s){var u=o[l]([0,0],[s.scrollDelta,s.scrollDelta],a,r,e);return u.signal*(t[1]-t[0])*s.scrollDelta})};function c(t){return function(a,e,l,r){var s=this._range,u=s.slice(),h=a.axisModels[0];if(!h)return;var A=t(u,h,a,e,l,r);if(S(A,u,[0,100],"all"),this._range=u,s[0]!==u[0]||s[1]!==u[1])return u}}var o={grid:function(t,a,e,l,r){var s=e.axis,u={},h=r.model.coordinateSystem.getRect();return t=t||[0,0],s.dim==="x"?(u.pixel=a[0]-t[0],u.pixelLength=h.width,u.pixelStart=h.x,u.signal=s.inverse?1:-1):(u.pixel=a[1]-t[1],u.pixelLength=h.height,u.pixelStart=h.y,u.signal=s.inverse?-1:1),u},polar:function(t,a,e,l,r){var s=e.axis,u={},h=r.model.coordinateSystem,A=h.getRadiusAxis().getExtent(),y=h.getAngleAxis().getExtent();return t=t?h.pointToCoord(t):[0,0],a=h.pointToCoord(a),e.mainType==="radiusAxis"?(u.pixel=a[0]-t[0],u.pixelLength=A[1]-A[0],u.pixelStart=A[0],u.signal=s.inverse?1:-1):(u.pixel=a[1]-t[1],u.pixelLength=y[1]-y[0],u.pixelStart=y[0],u.signal=s.inverse?-1:1),u},singleAxis:function(t,a,e,l,r){var s=e.axis,u=r.model.coordinateSystem.getRect(),h={};return t=t||[0,0],s.orient==="horizontal"?(h.pixel=a[0]-t[0],h.pixelLength=u.width,h.pixelStart=u.x,h.signal=s.inverse?1:-1):(h.pixel=a[1]-t[1],h.pixelLength=u.height,h.pixelStart=u.y,h.signal=s.inverse?-1:1),h}},i=f;M.exports=i},MwEJ:function(M,N,n){var v=n("bYtY"),p=n("YXkt"),S=n("sdST"),m=n("k9D9"),g=m.SOURCE_FORMAT_ORIGINAL,f=n("L0Ub"),d=f.getDimensionTypeByAxis,c=n("4NO4"),o=c.getDataItemValue,i=n("IDmD"),t=n("i38C"),a=t.getCoordSysInfoBySeries,e=n("7G+c"),l=n("7hqr"),r=l.enableDataStack,s=n("D5nY"),u=s.makeSeriesEncodeForAxisCoordSys;function h(b,x,O){O=O||{},e.isInstance(b)||(b=e.seriesDataToSource(b));var T=x.get("coordinateSystem"),E=i.get(T),C=a(x),_;C&&(_=v.map(C.coordSysDims,function(R){var U={name:R},B=C.axisMap.get(R);if(B){var H=B.get("type");U.type=d(H)}return U})),_||(_=E&&(E.getDimensionsInfo?E.getDimensionsInfo():E.dimensions.slice())||["x","y"]);var L=S(b,{coordDimensions:_,generateCoord:O.generateCoord,encodeDefaulter:O.useEncodeDefaulter?v.curry(u,_,x):null}),P,k;C&&v.each(L,function(R,U){var B=R.coordDim,H=C.categoryAxisMap.get(B);H&&(P==null&&(P=U),R.ordinalMeta=H.getOrdinalMeta()),R.otherDims.itemName!=null&&(k=!0)}),!k&&P!=null&&(L[P].otherDims.itemName=0);var F=r(x,L),j=new p(L,x);j.setCalculationInfo(F);var z=P!=null&&A(b)?function(R,U,B,H){return H===P?B:this.defaultDimValueGetter(R,U,B,H)}:null;return j.hasItemOption=!1,j.initData(b,null,z),j}function A(b){if(b.sourceFormat===g){var x=y(b.data||[]);return x!=null&&!v.isArray(o(x))}}function y(b){for(var x=0;x<b.length&&b[x]==null;)x++;return b[x]}var w=h;M.exports=w},Mylv:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("IwbS"),m=n("oVpE"),g=m.createSymbol,f=n("OELB"),d=f.parsePercent,c=f.isNumeric,o=n("56rv"),i=o.setLabel,t=["itemStyle","borderWidth"],a=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],e=new S.Circle,l=v.extendChartView({type:"pictorialBar",render:function(K,V,W){var G=this.group,re=K.getData(),ye=this._data,$=K.coordinateSystem,ve=$.getBaseAxis(),Ce=!!ve.isHorizontal(),Se=$.grid.getRect(),Ke={ecSize:{width:W.getWidth(),height:W.getHeight()},seriesModel:K,coordSys:$,coordSysExtent:[[Se.x,Se.x+Se.width],[Se.y,Se.y+Se.height]],isHorizontal:Ce,valueDim:a[+Ce],categoryDim:a[1-Ce]};return re.diff(ye).add(function(ue){if(!re.hasValue(ue))return;var Le=E(re,ue),ee=r(re,ue,Le,Ke),le=P(re,Ke,ee);re.setItemGraphicEl(ue,le),G.add(le),U(le,Ke,ee)}).update(function(ue,Le){var ee=ye.getItemGraphicEl(Le);if(!re.hasValue(ue)){G.remove(ee);return}var le=E(re,ue),et=r(re,ue,le,Ke),Re=j(re,et);ee&&Re!==ee.__pictorialShapeStr&&(G.remove(ee),re.setItemGraphicEl(ue,null),ee=null),ee?k(ee,Ke,et):ee=P(re,Ke,et,!0),re.setItemGraphicEl(ue,ee),ee.__pictorialSymbolMeta=et,G.add(ee),U(ee,Ke,et)}).remove(function(ue){var Le=ye.getItemGraphicEl(ue);Le&&F(ye,ue,Le.__pictorialSymbolMeta.animationModel,Le)}).execute(),this._data=re,this.group},dispose:p.noop,remove:function(K,V){var W=this.group,G=this._data;K.get("animation")?G&&G.eachItemGraphicEl(function(re){F(G,re.dataIndex,K,re)}):W.removeAll()}});function r(K,V,W,G){var re=K.getItemLayout(V),ye=W.get("symbolRepeat"),$=W.get("symbolClip"),ve=W.get("symbolPosition")||"start",Ce=W.get("symbolRotate"),Se=(Ce||0)*Math.PI/180||0,Ke=W.get("symbolPatternSize")||2,ue=W.isAnimationEnabled(),Le={dataIndex:V,layout:re,itemModel:W,symbolType:K.getItemVisual(V,"symbol")||"circle",color:K.getItemVisual(V,"color"),symbolClip:$,symbolRepeat:ye,symbolRepeatDirection:W.get("symbolRepeatDirection"),symbolPatternSize:Ke,rotation:Se,animationModel:ue?W:null,hoverAnimation:ue&&W.get("hoverAnimation"),z2:W.getShallow("z",!0)||0};s(W,ye,re,G,Le),h(K,V,re,ye,$,Le.boundingLength,Le.pxSign,Ke,G,Le),A(W,Le.symbolScale,Se,G,Le);var ee=Le.symbolSize,le=W.get("symbolOffset");return p.isArray(le)&&(le=[d(le[0],ee[0]),d(le[1],ee[1])]),y(W,ee,re,ye,$,le,ve,Le.valueLineWidth,Le.boundingLength,Le.repeatCutLength,G,Le),Le}function s(K,V,W,G,re){var ye=G.valueDim,$=K.get("symbolBoundingData"),ve=G.coordSys.getOtherAxis(G.coordSys.getBaseAxis()),Ce=ve.toGlobalCoord(ve.dataToCoord(0)),Se=1-+(W[ye.wh]<=0),Ke;if(p.isArray($)){var ue=[u(ve,$[0])-Ce,u(ve,$[1])-Ce];ue[1]<ue[0]&&ue.reverse(),Ke=ue[Se]}else $!=null?Ke=u(ve,$)-Ce:V?Ke=G.coordSysExtent[ye.index][Se]-Ce:Ke=W[ye.wh];re.boundingLength=Ke,V&&(re.repeatCutLength=W[ye.wh]),re.pxSign=Ke>0?1:Ke<0?-1:0}function u(K,V){return K.toGlobalCoord(K.dataToCoord(K.scale.parse(V)))}function h(K,V,W,G,re,ye,$,ve,Ce,Se){var Ke=Ce.valueDim,ue=Ce.categoryDim,Le=Math.abs(W[ue.wh]),ee=K.getItemVisual(V,"symbolSize");p.isArray(ee)?ee=ee.slice():(ee==null&&(ee="100%"),ee=[ee,ee]),ee[ue.index]=d(ee[ue.index],Le),ee[Ke.index]=d(ee[Ke.index],G?Le:Math.abs(ye)),Se.symbolSize=ee;var le=Se.symbolScale=[ee[0]/ve,ee[1]/ve];le[Ke.index]*=(Ce.isHorizontal?-1:1)*$}function A(K,V,W,G,re){var ye=K.get(t)||0;ye&&(e.attr({scale:V.slice(),rotation:W}),e.updateTransform(),ye/=e.getLineScale(),ye*=V[G.valueDim.index]),re.valueLineWidth=ye}function y(K,V,W,G,re,ye,$,ve,Ce,Se,Ke,ue){var Le=Ke.categoryDim,ee=Ke.valueDim,le=ue.pxSign,et=Math.max(V[ee.index]+ve,0),Re=et;if(G){var Ae=Math.abs(Ce),oe=p.retrieve(K.get("symbolMargin"),"15%")+"",ce=!1;oe.lastIndexOf("!")===oe.length-1&&(ce=!0,oe=oe.slice(0,oe.length-1)),oe=d(oe,V[ee.index]);var be=Math.max(et+oe*2,0),Te=ce?0:oe*2,Be=c(G),De=Be?G:B((Ae+Te)/be),ae=Ae-De*et;oe=ae/2/(ce?De:De-1),be=et+oe*2,Te=ce?0:oe*2,!Be&&G!=="fixed"&&(De=Se?B((Math.abs(Se)+Te)/be):0),Re=De*be-Te,ue.repeatTimes=De,ue.symbolMargin=oe}var fe=le*(Re/2),Oe=ue.pathPosition=[];Oe[Le.index]=W[Le.wh]/2,Oe[ee.index]=$==="start"?fe:$==="end"?Ce-fe:Ce/2,ye&&(Oe[0]+=ye[0],Oe[1]+=ye[1]);var Je=ue.bundlePosition=[];Je[Le.index]=W[Le.xy],Je[ee.index]=W[ee.xy];var Et=ue.barRectShape=p.extend({},W);Et[ee.wh]=le*Math.max(Math.abs(W[ee.wh]),Math.abs(Oe[ee.index]+fe)),Et[Le.wh]=W[Le.wh];var Ze=ue.clipShape={};Ze[Le.xy]=-W[Le.xy],Ze[Le.wh]=Ke.ecSize[Le.wh],Ze[ee.xy]=0,Ze[ee.wh]=W[ee.wh]}function w(K){var V=K.symbolPatternSize,W=g(K.symbolType,-V/2,-V/2,V,V,K.color);return W.attr({culling:!0}),W.type!=="image"&&W.setStyle({strokeNoScale:!0}),W}function b(K,V,W,G){var re=K.__pictorialBundle,ye=W.symbolSize,$=W.valueLineWidth,ve=W.pathPosition,Ce=V.valueDim,Se=W.repeatTimes||0,Ke=0,ue=ye[V.valueDim.index]+$+W.symbolMargin*2;for(z(K,function(Ae){Ae.__pictorialAnimationIndex=Ke,Ae.__pictorialRepeatTimes=Se,Ke<Se?R(Ae,null,le(Ke),W,G):R(Ae,null,{scale:[0,0]},W,G,function(){re.remove(Ae)}),L(Ae,W),Ke++});Ke<Se;Ke++){var Le=w(W);Le.__pictorialAnimationIndex=Ke,Le.__pictorialRepeatTimes=Se,re.add(Le);var ee=le(Ke);R(Le,{position:ee.position,scale:[0,0]},{scale:ee.scale,rotation:ee.rotation},W,G),Le.on("mouseover",et).on("mouseout",Re),L(Le,W)}function le(Ae){var oe=ve.slice(),ce=W.pxSign,be=Ae;return(W.symbolRepeatDirection==="start"?ce>0:ce<0)&&(be=Se-1-Ae),oe[Ce.index]=ue*(be-Se/2+.5)+ve[Ce.index],{position:oe,scale:W.symbolScale.slice(),rotation:W.rotation}}function et(){z(K,function(Ae){Ae.trigger("emphasis")})}function Re(){z(K,function(Ae){Ae.trigger("normal")})}}function x(K,V,W,G){var re=K.__pictorialBundle,ye=K.__pictorialMainPath;ye?R(ye,null,{position:W.pathPosition.slice(),scale:W.symbolScale.slice(),rotation:W.rotation},W,G):(ye=K.__pictorialMainPath=w(W),re.add(ye),R(ye,{position:W.pathPosition.slice(),scale:[0,0],rotation:W.rotation},{scale:W.symbolScale.slice()},W,G),ye.on("mouseover",$).on("mouseout",ve)),L(ye,W);function $(){this.trigger("emphasis")}function ve(){this.trigger("normal")}}function O(K,V,W){var G=p.extend({},V.barRectShape),re=K.__pictorialBarRect;re?R(re,null,{shape:G},V,W):(re=K.__pictorialBarRect=new S.Rect({z2:2,shape:G,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),K.add(re))}function T(K,V,W,G){if(W.symbolClip){var re=K.__pictorialClipPath,ye=p.extend({},W.clipShape),$=V.valueDim,ve=W.animationModel,Ce=W.dataIndex;if(re)S.updateProps(re,{shape:ye},ve,Ce);else{ye[$.wh]=0,re=new S.Rect({shape:ye}),K.__pictorialBundle.setClipPath(re),K.__pictorialClipPath=re;var Se={};Se[$.wh]=W.clipShape[$.wh],S[G?"updateProps":"initProps"](re,{shape:Se},ve,Ce)}}}function E(K,V){var W=K.getItemModel(V);return W.getAnimationDelayParams=C,W.isAnimationEnabled=_,W}function C(K){return{index:K.__pictorialAnimationIndex,count:K.__pictorialRepeatTimes}}function _(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(K,V){K.off("emphasis").off("normal");var W=V.symbolScale.slice();V.hoverAnimation&&K.on("emphasis",function(){this.animateTo({scale:[W[0]*1.1,W[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:W.slice()},400,"elasticOut")})}function P(K,V,W,G){var re=new S.Group,ye=new S.Group;return re.add(ye),re.__pictorialBundle=ye,ye.attr("position",W.bundlePosition.slice()),W.symbolRepeat?b(re,V,W):x(re,V,W),O(re,W,G),T(re,V,W,G),re.__pictorialShapeStr=j(K,W),re.__pictorialSymbolMeta=W,re}function k(K,V,W){var G=W.animationModel,re=W.dataIndex,ye=K.__pictorialBundle;S.updateProps(ye,{position:W.bundlePosition.slice()},G,re),W.symbolRepeat?b(K,V,W,!0):x(K,V,W,!0),O(K,W,!0),T(K,V,W,!0)}function F(K,V,W,G){var re=G.__pictorialBarRect;re&&(re.style.text=null);var ye=[];z(G,function($){ye.push($)}),G.__pictorialMainPath&&ye.push(G.__pictorialMainPath),G.__pictorialClipPath&&(W=null),p.each(ye,function($){S.updateProps($,{scale:[0,0]},W,V,function(){G.parent&&G.parent.remove(G)})}),K.setItemGraphicEl(V,null)}function j(K,V){return[K.getItemVisual(V.dataIndex,"symbol")||"none",!!V.symbolRepeat,!!V.symbolClip].join(":")}function z(K,V,W){p.each(K.__pictorialBundle.children(),function(G){G!==K.__pictorialBarRect&&V.call(W,G)})}function R(K,V,W,G,re,ye){V&&K.attr(V),G.symbolClip&&!re?W&&K.attr(W):W&&S[re?"updateProps":"initProps"](K,W,G.animationModel,G.dataIndex,ye)}function U(K,V,W){var G=W.color,re=W.dataIndex,ye=W.itemModel,$=ye.getModel("itemStyle").getItemStyle(["color"]),ve=ye.getModel("emphasis.itemStyle").getItemStyle(),Ce=ye.getShallow("cursor");z(K,function(Le){Le.setColor(G),Le.setStyle(p.defaults({fill:G,opacity:W.opacity},$)),S.setHoverStyle(Le,ve),Ce&&(Le.cursor=Ce),Le.z2=W.z2});var Se={},Ke=V.valueDim.posDesc[+(W.boundingLength>0)],ue=K.__pictorialBarRect;i(ue.style,Se,ye,G,V.seriesModel,re,Ke),S.setHoverStyle(ue,Se)}function B(K){var V=Math.round(K);return Math.abs(K-V)<1e-4?V:Math.ceil(K)}var H=l;M.exports=H},"N/zr":function(M,N,n){"use strict";function v(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(c){return typeof c}:v=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},v(f)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=m(n("Lo0S"));function S(){if(typeof WeakMap!="function")return null;var f=new WeakMap;return S=function(){return f},f}function m(f){if(f&&f.__esModule)return f;if(f===null||v(f)!=="object"&&typeof f!="function")return{default:f};var d=S();if(d&&d.has(f))return d.get(f);var c={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in f)if(Object.prototype.hasOwnProperty.call(f,i)){var t=o?Object.getOwnPropertyDescriptor(f,i):null;t&&(t.get||t.set)?Object.defineProperty(c,i,t):c[i]=f[i]}return c.default=f,d&&d.set(f,c),c}var g={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(d){"use strict";for(var c="",o=d.length,i=o%3,t=0;t<o-2;t+=3)c+=this.toBase64Table[d[t]>>2],c+=this.toBase64Table[((d[t]&3)<<4)+(d[t+1]>>4)],c+=this.toBase64Table[((d[t+1]&15)<<2)+(d[t+2]>>6)],c+=this.toBase64Table[d[t+2]&63];var a=o-i;return i===2?(c+=this.toBase64Table[d[a]>>2],c+=this.toBase64Table[((d[a]&3)<<4)+(d[a+1]>>4)],c+=this.toBase64Table[(d[a+1]&15)<<2],c+=this.toBase64Table[64]):i===1&&(c+=this.toBase64Table[d[a]>>2],c+=this.toBase64Table[(d[a]&3)<<4],c+=this.toBase64Table[64],c+=this.toBase64Table[64]),c},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(d){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=d.indexOf("=")-c;o<0&&(o=d.length-c);for(var i=(o>>2)*3+Math.floor(o%4/1.5),t=new Array(i),a=0,e=0,l=0,r=c;r<d.length;r++){var s=this.toBinaryTable[d.charCodeAt(r)&127],u=d.charAt(r)===this.base64Pad;if(s===-1){p.Error("Illegal character code "+d.charCodeAt(r)+" at position "+r);continue}e=e<<6|s,a+=6,a>=8&&(a-=8,u||(t[l++]=e>>a&255),e&=(1<<a)-1)}if(a){var h=new Error("Corrupted base64 string");throw h.name="Base64-Error",h}return t}};N.default=g},N5BQ:function(M,N,n){var v=n("OlYY"),p=v.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"}}}),S=p;M.exports=S},NA0q:function(M,N,n){var v=n("bYtY"),p=n("6Ic6"),S=n("TkdX"),m=n("gPAo"),g=n("7aKB"),f=g.windowOpen,d="sunburstRootToNode",c=p.extend({type:"sunburst",init:function(){},render:function(i,t,a,e){var l=this;this.seriesModel=i,this.api=a,this.ecModel=t;var r=i.getData(),s=r.tree.root,u=i.getViewRoot(),h=this.group,A=i.get("renderLabelForZeroData"),y=[];u.eachNode(function(_){y.push(_)});var w=this._oldChildren||[];if(O(y,w),C(s,u),e&&e.highlight&&e.highlight.piece){var b=i.getShallow("highlightPolicy");e.highlight.piece.onEmphasis(b)}else if(e&&e.unhighlight){var x=this.virtualPiece;!x&&s.children.length&&(x=s.children[0].piece),x&&x.onNormal()}this._initEvents(),this._oldChildren=y;function O(_,L){if(_.length===0&&L.length===0)return;new m(L,_,P,P).add(k).update(k).remove(v.curry(k,null)).execute();function P(F){return F.getId()}function k(F,j){var z=F==null?null:_[F],R=j==null?null:L[j];T(z,R)}}function T(_,L){if(!A&&_&&!_.getValue()&&(_=null),_!==s&&L!==s){if(L&&L.piece)_?(L.piece.updateData(!1,_,"normal",i,t),r.setItemGraphicEl(_.dataIndex,L.piece)):E(L);else if(_){var P=new S(_,i,t);h.add(P),r.setItemGraphicEl(_.dataIndex,P)}}}function E(_){if(!_)return;_.piece&&(h.remove(_.piece),_.piece=null)}function C(_,L){if(L.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,_,"normal",i,t):(l.virtualPiece=new S(_,i,t),h.add(l.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var P=function(k){l._rootToNode(L.parentNode)};L.piece._onclickEvent=P,l.virtualPiece.on("click",P)}else l.virtualPiece&&(h.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var i=this,t=function(a){var e=!1,l=i.seriesModel.getViewRoot();l.eachNode(function(r){if(!e&&r.piece&&r.piece.childAt(0)===a.target){var s=r.getModel().get("nodeClick");if(s==="rootToNode")i._rootToNode(r);else if(s==="link"){var u=r.getModel(),h=u.get("link");if(h){var A=u.get("target",!0)||"_blank";f(h,A)}}e=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(i){i!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:d,from:this.uid,seriesId:this.seriesModel.id,targetNode:i})},containPoint:function(i,t){var a=t.getData(),e=a.getItemLayout(0);if(e){var l=i[0]-e.cx,r=i[1]-e.cy,s=Math.sqrt(l*l+r*r);return s<=e.r&&s>=e.r0}}}),o=c;M.exports=o},NAnI:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("wXyp"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},NBmB:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.encodingName=p,N.encodings=void 0;var v={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};N.encodings=v;function p(S){switch(S){case v.encodingRaw:return"Raw";case v.encodingCopyRect:return"CopyRect";case v.encodingRRE:return"RRE";case v.encodingHextile:return"Hextile";case v.encodingTight:return"Tight";case v.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+S+"]"}}},NC18:function(M,N,n){var v=n("y+Vt"),p=n("IMiH"),S=n("7oTu"),m=Math.sqrt,g=Math.sin,f=Math.cos,d=Math.PI,c=function(y){return Math.sqrt(y[0]*y[0]+y[1]*y[1])},o=function(y,w){return(y[0]*w[0]+y[1]*w[1])/(c(y)*c(w))},i=function(y,w){return(y[0]*w[1]<y[1]*w[0]?-1:1)*Math.acos(o(y,w))};function t(A,y,w,b,x,O,T,E,C,_,L){var P=C*(d/180),k=f(P)*(A-w)/2+g(P)*(y-b)/2,F=-1*g(P)*(A-w)/2+f(P)*(y-b)/2,j=k*k/(T*T)+F*F/(E*E);j>1&&(T*=m(j),E*=m(j));var z=(x===O?-1:1)*m((T*T*(E*E)-T*T*(F*F)-E*E*(k*k))/(T*T*(F*F)+E*E*(k*k)))||0,R=z*T*F/E,U=z*-E*k/T,B=(A+w)/2+f(P)*R-g(P)*U,H=(y+b)/2+g(P)*R+f(P)*U,K=i([1,0],[(k-R)/T,(F-U)/E]),V=[(k-R)/T,(F-U)/E],W=[(-1*k-R)/T,(-1*F-U)/E],G=i(V,W);o(V,W)<=-1&&(G=d),o(V,W)>=1&&(G=0),O===0&&G>0&&(G=G-2*d),O===1&&G<0&&(G=G+2*d),L.addData(_,B,H,T,E,K,G,P,O)}var a=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,e=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(A){if(!A)return new p;for(var y=0,w=0,b=y,x=w,O,T=new p,E=p.CMD,C=A.match(a),_=0;_<C.length;_++){for(var L=C[_],P=L.charAt(0),k,F=L.match(e)||[],j=F.length,z=0;z<j;z++)F[z]=parseFloat(F[z]);for(var R=0;R<j;){var U,B,H,K,V,W,G,re=y,ye=w;switch(P){case"l":y+=F[R++],w+=F[R++],k=E.L,T.addData(k,y,w);break;case"L":y=F[R++],w=F[R++],k=E.L,T.addData(k,y,w);break;case"m":y+=F[R++],w+=F[R++],k=E.M,T.addData(k,y,w),b=y,x=w,P="l";break;case"M":y=F[R++],w=F[R++],k=E.M,T.addData(k,y,w),b=y,x=w,P="L";break;case"h":y+=F[R++],k=E.L,T.addData(k,y,w);break;case"H":y=F[R++],k=E.L,T.addData(k,y,w);break;case"v":w+=F[R++],k=E.L,T.addData(k,y,w);break;case"V":w=F[R++],k=E.L,T.addData(k,y,w);break;case"C":k=E.C,T.addData(k,F[R++],F[R++],F[R++],F[R++],F[R++],F[R++]),y=F[R-2],w=F[R-1];break;case"c":k=E.C,T.addData(k,F[R++]+y,F[R++]+w,F[R++]+y,F[R++]+w,F[R++]+y,F[R++]+w),y+=F[R-2],w+=F[R-1];break;case"S":U=y,B=w;var $=T.len(),ve=T.data;O===E.C&&(U+=y-ve[$-4],B+=w-ve[$-3]),k=E.C,re=F[R++],ye=F[R++],y=F[R++],w=F[R++],T.addData(k,U,B,re,ye,y,w);break;case"s":U=y,B=w;var $=T.len(),ve=T.data;O===E.C&&(U+=y-ve[$-4],B+=w-ve[$-3]),k=E.C,re=y+F[R++],ye=w+F[R++],y+=F[R++],w+=F[R++],T.addData(k,U,B,re,ye,y,w);break;case"Q":re=F[R++],ye=F[R++],y=F[R++],w=F[R++],k=E.Q,T.addData(k,re,ye,y,w);break;case"q":re=F[R++]+y,ye=F[R++]+w,y+=F[R++],w+=F[R++],k=E.Q,T.addData(k,re,ye,y,w);break;case"T":U=y,B=w;var $=T.len(),ve=T.data;O===E.Q&&(U+=y-ve[$-4],B+=w-ve[$-3]),y=F[R++],w=F[R++],k=E.Q,T.addData(k,U,B,y,w);break;case"t":U=y,B=w;var $=T.len(),ve=T.data;O===E.Q&&(U+=y-ve[$-4],B+=w-ve[$-3]),y+=F[R++],w+=F[R++],k=E.Q,T.addData(k,U,B,y,w);break;case"A":H=F[R++],K=F[R++],V=F[R++],W=F[R++],G=F[R++],re=y,ye=w,y=F[R++],w=F[R++],k=E.A,t(re,ye,y,w,W,G,H,K,V,k,T);break;case"a":H=F[R++],K=F[R++],V=F[R++],W=F[R++],G=F[R++],re=y,ye=w,y+=F[R++],w+=F[R++],k=E.A,t(re,ye,y,w,W,G,H,K,V,k,T);break}}(P==="z"||P==="Z")&&(k=E.Z,T.addData(k),y=b,w=x),O=k}return T.toStatic(),T}function r(A,y){var w=l(A);return y=y||{},y.buildPath=function(b){if(b.setData){b.setData(w.data);var x=b.getContext();x&&b.rebuildPath(x)}else{var x=b;w.rebuildPath(x)}},y.applyTransform=function(b){S(w,b),this.dirty(!0)},y}function s(A,y){return new v(r(A,y))}function u(A,y){return v.extend(r(A,y))}function h(A,y){for(var w=[],b=A.length,x=0;x<b;x++){var O=A[x];O.path||O.createPathProxy(),O.__dirtyPath&&O.buildPath(O.path,O.shape,!0),w.push(O.path)}var T=new v(y);return T.createPathProxy(),T.buildPath=function(E){E.appendPath(w);var C=E.getContext();C&&E.rebuildPath(C)},T}N.createFromString=s,N.extendFromString=u,N.mergePath=h},NH9N:function(M,N,n){var v=n("bYtY"),p=n("mFDi"),S=n("Fofx"),m=n("IwbS"),g=n("+TT/"),f=n("kzvK"),d=n("CMP+"),c=n("oVpE"),o=c.createSymbol,i=n("aX7z"),t=n("OELB"),a=n("7aKB"),e=a.encodeHTML,l=v.bind,r=v.each,s=Math.PI,u=f.extend({type:"timeline.slider",init:function(b,x){this.api=x,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(b,x,O,T){if(this.model=b,this.api=O,this.ecModel=x,this.group.removeAll(),b.get("show",!0)){var E=this._layout(b,O),C=this._createGroup("mainGroup"),_=this._createGroup("labelGroup"),L=this._axis=this._createAxis(E,b);b.formatTooltip=function(P){return e(L.scale.getLabel(P))},r(["AxisLine","AxisTick","Control","CurrentPointer"],function(P){this["_render"+P](E,C,L,b)},this),this._renderAxisLabel(E,_,L,b),this._position(E,b)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(b,x){var O=b.get("label.position"),T=b.get("orient"),E=h(b,x);O==null||O==="auto"?O=T==="horizontal"?E.y+E.height/2<x.getHeight()/2?"-":"+":E.x+E.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"},_={horizontal:O>=0||O==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:s/2},P=T==="vertical"?E.height:E.width,k=b.getModel("controlStyle"),F=k.get("show",!0),j=F?k.get("itemSize"):0,z=F?k.get("itemGap"):0,R=j+z,U=b.get("label.rotate")||0;U=U*s/180;var B,H,K,V,W=k.get("position",!0),G=F&&k.get("showPlayBtn",!0),re=F&&k.get("showPrevBtn",!0),ye=F&&k.get("showNextBtn",!0),$=0,ve=P;return W==="left"||W==="bottom"?(G&&(B=[0,0],$+=R),re&&(H=[$,0],$+=R),ye&&(K=[ve-j,0],ve-=R)):(G&&(B=[ve-j,0],ve-=R),re&&(H=[0,0],$+=R),ye&&(K=[ve-j,0],ve-=R)),V=[$,ve],b.get("inverse")&&V.reverse(),{viewRect:E,mainLength:P,orient:T,rotation:L[T],labelRotation:U,labelPosOpt:O,labelAlign:b.get("label.align")||C[T],labelBaseline:b.get("label.verticalAlign")||b.get("label.baseline")||_[T],playPosition:B,prevBtnPosition:H,nextBtnPosition:K,axisExtent:V,controlSize:j,controlGap:z}},_position:function(b,x){var O=this._mainGroup,T=this._labelGroup,E=b.viewRect;if(b.orient==="vertical"){var C=S.create(),_=E.x,L=E.y+E.height;S.translate(C,C,[-_,-L]),S.rotate(C,C,-s/2),S.translate(C,C,[_,L]),E=E.clone(),E.applyTransform(C)}var P=H(E),k=H(O.getBoundingRect()),F=H(T.getBoundingRect()),j=O.position,z=T.position;z[0]=j[0]=P[0][0];var R=b.labelPosOpt;if(isNaN(R)){var U=R==="+"?0:1;K(j,k,P,1,U),K(z,F,P,1,1-U)}else{var U=R>=0?0:1;K(j,k,P,1,U),z[1]=j[1]+R}O.attr("position",j),T.attr("position",z),O.rotation=T.rotation=b.rotation,B(O),B(T);function B(V){var W=V.position;V.origin=[P[0][0]-W[0],P[1][0]-W[1]]}function H(V){return[[V.x,V.x+V.width],[V.y,V.y+V.height]]}function K(V,W,G,re,ye){V[re]+=G[re][ye]-W[re][ye]}},_createAxis:function(b,x){var O=x.getData(),T=x.get("axisType"),E=i.createScaleByModel(x,T);E.getTicks=function(){return O.mapArray(["value"],function(L){return L})};var C=O.getDataExtent("value");E.setExtent(C[0],C[1]),E.niceTicks();var _=new d("value",E,b.axisExtent,T);return _.model=x,_},_createGroup:function(b){var x=this["_"+b]=new m.Group;return this.group.add(x),x},_renderAxisLine:function(b,x,O,T){var E=O.getExtent();if(!T.get("lineStyle.show"))return;x.add(new m.Line({shape:{x1:E[0],y1:0,x2:E[1],y2:0},style:v.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(b,x,O,T){var E=T.getData(),C=O.scale.getTicks();r(C,function(_){var L=O.dataToCoord(_),P=E.getItemModel(_),k=P.getModel("itemStyle"),F=P.getModel("emphasis.itemStyle"),j={position:[L,0],onclick:l(this._changeTimeline,this,_)},z=y(P,k,x,j);m.setHoverStyle(z,F.getItemStyle()),P.get("tooltip")?(z.dataIndex=_,z.dataModel=T):z.dataIndex=z.dataModel=null},this)},_renderAxisLabel:function(b,x,O,T){var E=O.getLabelModel();if(!E.get("show"))return;var C=T.getData(),_=O.getViewLabels();r(_,function(L){var P=L.tickValue,k=C.getItemModel(P),F=k.getModel("label"),j=k.getModel("emphasis.label"),z=O.dataToCoord(L.tickValue),R=new m.Text({position:[z,0],rotation:b.labelRotation-b.rotation,onclick:l(this._changeTimeline,this,P),silent:!1});m.setTextStyle(R.style,F,{text:L.formattedLabel,textAlign:b.labelAlign,textVerticalAlign:b.labelBaseline}),x.add(R),m.setHoverStyle(R,m.setTextStyle({},j))},this)},_renderControl:function(b,x,O,T){var E=b.controlSize,C=b.rotation,_=T.getModel("controlStyle").getItemStyle(),L=T.getModel("emphasis.controlStyle").getItemStyle(),P=[0,-E/2,E,E],k=T.getPlayState(),F=T.get("inverse",!0);j(b.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,F?"-":"+")),j(b.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,F?"+":"-")),j(b.playPosition,"controlStyle."+(k?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!k),!0);function j(z,R,U,B){if(!z)return;var H={position:z,origin:[E/2,0],rotation:B?-C:0,rectHover:!0,style:_,onclick:U},K=A(T,R,P,H);x.add(K),m.setHoverStyle(K,L)}},_renderCurrentPointer:function(b,x,O,T){var E=T.getData(),C=T.getCurrentIndex(),_=E.getItemModel(C).getModel("checkpointStyle"),L=this,P={onCreate:function(k){k.draggable=!0,k.drift=l(L._handlePointerDrag,L),k.ondragend=l(L._handlePointerDragend,L),w(k,C,O,T,!0)},onUpdate:function(k){w(k,C,O,T)}};this._currentPointer=y(_,_,this._mainGroup,{},this._currentPointer,P)},_handlePlayClick:function(b){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:b,from:this.uid})},_handlePointerDrag:function(b,x,O){this._clearTimer(),this._pointerChangeTimeline([O.offsetX,O.offsetY])},_handlePointerDragend:function(b){this._pointerChangeTimeline([b.offsetX,b.offsetY],!0)},_pointerChangeTimeline:function(b,x){var O=this._toAxisCoord(b)[0],T=this._axis,E=t.asc(T.getExtent().slice());O>E[1]&&(O=E[1]),O<E[0]&&(O=E[0]),this._currentPointer.position[0]=O,this._currentPointer.dirty();var C=this._findNearestTick(O),_=this.model;(x||C!==_.getCurrentIndex()&&_.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(b,this),this.model.get("playInterval")));function b(){var x=this.model;this._changeTimeline(x.getCurrentIndex()+(x.get("rewind",!0)?-1:1))}},_toAxisCoord:function(b){var x=this._mainGroup.getLocalTransform();return m.applyTransform(b,x,!0)},_findNearestTick:function(b){var x=this.model.getData(),O=Infinity,T,E=this._axis;return x.each(["value"],function(C,_){var L=E.dataToCoord(C),P=Math.abs(L-b);P<O&&(O=P,T=_)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(b){var x=this.model.getCurrentIndex();b==="+"?b=x+1:b==="-"&&(b=x-1),this.api.dispatchAction({type:"timelineChange",currentIndex:b,from:this.uid})}});function h(b,x){return g.getLayoutRect(b.getBoxLayoutParams(),{width:x.getWidth(),height:x.getHeight()},b.get("padding"))}function A(b,x,O,T){var E=m.makePath(b.get(x).replace(/^path:\/\//,""),v.clone(T||{}),new p(O[0],O[1],O[2],O[3]),"center");return E}function y(b,x,O,T,E,C){var _=x.get("color");if(E)E.setColor(_),O.add(E),C&&C.onUpdate(E);else{var L=b.get("symbol");E=o(L,-1,-1,2,2,_),E.setStyle("strokeNoScale",!0),O.add(E),C&&C.onCreate(E)}var P=x.getItemStyle(["color","symbol","symbolSize"]);E.setStyle(P),T=v.merge({rectHover:!0,z2:100},T,!0);var k=b.get("symbolSize");k=k instanceof Array?k.slice():[+k,+k],k[0]/=2,k[1]/=2,T.scale=k;var F=b.get("symbolOffset");if(F){var j=T.position=T.position||[0,0];j[0]+=t.parsePercent(F[0],k[0]),j[1]+=t.parsePercent(F[1],k[1])}var z=b.get("symbolRotate");return T.rotation=(z||0)*Math.PI/180||0,E.attr(T),E.updateTransform(),E}function w(b,x,O,T,E){if(b.dragging)return;var C=T.getModel("checkpointStyle"),_=O.dataToCoord(T.getData().get(["value"],x));E||!C.get("animation",!0)?b.attr({position:[_,0]}):(b.stopAnimation(!0),b.animateTo({position:[_,0]},C.get("animationDuration",!0),C.get("animationEasing",!0)))}M.exports=u},NJEC:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("J4zp"),m=n.n(S),g=n("q1tI"),f=n.n(g),d=n("TSYQ"),c=n.n(d),o=n("sKbD"),i=n.n(o),t=n("4IlW"),a=n("3S7+"),e=n("2/Rp"),l=n("zvFY"),r=n("YMnH"),s=n("ZvpZ"),u=n("H84U"),h=n("bogI"),A=n("0n0R"),y=void 0,w=function(x,O){var T={};for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&O.indexOf(E)<0&&(T[E]=x[E]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,E=Object.getOwnPropertySymbols(x);C<E.length;C++)O.indexOf(E[C])<0&&Object.prototype.propertyIsEnumerable.call(x,E[C])&&(T[E[C]]=x[E[C]]);return T},b=g.forwardRef(function(x,O){var T=g.useState(x.visible),E=m()(T,2),C=E[0],_=E[1];g.useEffect(function(){"visible"in x&&_(x.visible)},[x.visible]),g.useEffect(function(){"defaultVisible"in x&&_(x.defaultVisible)},[x.defaultVisible]);var L=function(Ce,Se){"visible"in x||_(Ce),x.onVisibleChange&&x.onVisibleChange(Ce,Se)},P=function(Ce){L(!1,Ce),x.onConfirm&&x.onConfirm.call(y,Ce)},k=function(Ce){L(!1,Ce),x.onCancel&&x.onCancel.call(y,Ce)},F=function(Ce){Ce.keyCode===t.a.ESC&&C&&L(!1,Ce)},j=function(Ce){var Se=x.disabled;if(Se)return;L(Ce)},z=function(Ce,Se){var Ke=x.okButtonProps,ue=x.cancelButtonProps,Le=x.title,ee=x.cancelText,le=x.okText,et=x.okType,Re=x.icon;return g.createElement("div",{className:"".concat(Ce,"-inner-content")},g.createElement("div",{className:"".concat(Ce,"-message")},Re,g.createElement("div",{className:"".concat(Ce,"-message-title")},Object(h.a)(Le))),g.createElement("div",{className:"".concat(Ce,"-buttons")},g.createElement(e.a,p()({onClick:k,size:"small"},ue),ee||Se.cancelText),g.createElement(e.a,p()({onClick:P},Object(l.a)(et),{size:"small"},Ke),le||Se.okText)))},R=g.useContext(u.b),U=R.getPrefixCls,B=x.prefixCls,H=x.placement,K=x.children,V=x.overlayClassName,W=w(x,["prefixCls","placement","children","overlayClassName"]),G=U("popover",B),re=U("popconfirm",B),ye=c()(re,V),$=g.createElement(r.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(ve){return z(G,ve)});return g.createElement(a.a,p()({},W,{prefixCls:G,placement:H,onVisibleChange:j,visible:C,overlay:$,overlayClassName:ye,ref:O}),Object(A.a)(K,{onKeyDown:function(Ce){var Se,Ke;(Ke=K==null?void 0:(Se=K.props).onKeyDown)===null||Ke===void 0||Ke.call(Se,Ce),F(Ce)}}))});b.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:g.createElement(i.a,null),disabled:!1},N.a=b},NUBc:function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("q1tI"),f=n.n(g),d=n("wx14"),c=n("rePB"),o=n("VTBJ"),i=n("1OyB"),t=n("vuIU"),a=n("Ji7U"),e=n("LK+K"),l=n("TSYQ"),r=n.n(l),s=function(Se){var Ke,ue="".concat(Se.rootPrefixCls,"-item"),Le=r()(ue,"".concat(ue,"-").concat(Se.page),(Ke={},Object(c.a)(Ke,"".concat(ue,"-active"),Se.active),Object(c.a)(Ke,Se.className,!!Se.className),Object(c.a)(Ke,"".concat(ue,"-disabled"),!Se.page),Ke)),ee=function(){Se.onClick(Se.page)},le=function(Re){Se.onKeyPress(Re,Se.onClick,Se.page)};return f.a.createElement("li",{title:Se.showTitle?Se.page:null,className:Le,onClick:ee,onKeyPress:le,tabIndex:"0"},Se.itemRender(Se.page,"page",f.a.createElement("a",{rel:"nofollow"},Se.page)))},u=s,h={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},A=function(Ce){Object(a.a)(Ke,Ce);var Se=Object(e.a)(Ke);function Ke(){var ue;Object(i.a)(this,Ke);for(var Le=arguments.length,ee=new Array(Le),le=0;le<Le;le++)ee[le]=arguments[le];return ue=Se.call.apply(Se,[this].concat(ee)),ue.state={goInputText:""},ue.buildOptionText=function(et){return"".concat(et," ").concat(ue.props.locale.items_per_page)},ue.changeSize=function(et){ue.props.changeSize(Number(et))},ue.handleChange=function(et){ue.setState({goInputText:et.target.value})},ue.handleBlur=function(et){var Re=ue.props,Ae=Re.goButton,oe=Re.quickGo,ce=Re.rootPrefixCls,be=ue.state.goInputText;if(Ae||be==="")return;if(et.relatedTarget&&(et.relatedTarget.className.indexOf("".concat(ce,"-prev"))>=0||et.relatedTarget.className.indexOf("".concat(ce,"-next"))>=0))return;ue.setState({goInputText:""}),oe(ue.getValidValue())},ue.go=function(et){var Re=ue.state.goInputText;if(Re==="")return;(et.keyCode===h.ENTER||et.type==="click")&&(ue.setState({goInputText:""}),ue.props.quickGo(ue.getValidValue()))},ue}return Object(t.a)(Ke,[{key:"getValidValue",value:function(){var Le=this.state,ee=Le.goInputText,le=Le.current;return!ee||isNaN(ee)?le:Number(ee)}},{key:"getPageSizeOptions",value:function(){var Le=this.props,ee=Le.pageSize,le=Le.pageSizeOptions;return le.some(function(et){return et.toString()===ee.toString()})?le:le.concat([ee.toString()]).sort(function(et,Re){var Ae=isNaN(Number(et))?0:Number(et),oe=isNaN(Number(Re))?0:Number(Re);return Ae-oe})}},{key:"render",value:function(){var Le=this,ee=this.props,le=ee.pageSize,et=ee.locale,Re=ee.rootPrefixCls,Ae=ee.changeSize,oe=ee.quickGo,ce=ee.goButton,be=ee.selectComponentClass,Te=ee.buildOptionText,Be=ee.selectPrefixCls,De=ee.disabled,ae=this.state.goInputText,fe="".concat(Re,"-options"),Oe=be,Je=null,Et=null,Ze=null;if(!Ae&&!oe)return null;var Ne=this.getPageSizeOptions();if(Ae&&Oe){var It=Ne.map(function(Xe,Ot){return f.a.createElement(Oe.Option,{key:Ot,value:Xe.toString()},(Te||Le.buildOptionText)(Xe))});Je=f.a.createElement(Oe,{disabled:De,prefixCls:Be,showSearch:!1,className:"".concat(fe,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(le||Ne[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Ot){return Ot.parentNode}},It)}return oe&&(ce&&(Ze=typeof ce=="boolean"?f.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:De,className:"".concat(fe,"-quick-jumper-button")},et.jump_to_confirm):f.a.createElement("span",{onClick:this.go,onKeyUp:this.go},ce)),Et=f.a.createElement("div",{className:"".concat(fe,"-quick-jumper")},et.jump_to,f.a.createElement("input",{disabled:De,type:"text",value:ae,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),et.page,Ze)),f.a.createElement("li",{className:"".concat(fe)},Je,Et)}}]),Ke}(f.a.Component);A.defaultProps={pageSizeOptions:["10","20","50","100"]};var y=A,w=n("N2Kk");function b(){}function x(Ce){return typeof Ce=="number"&&isFinite(Ce)&&Math.floor(Ce)===Ce}function O(Ce,Se,Ke){return Ke}function T(Ce,Se,Ke){var ue=typeof Ce=="undefined"?Se.pageSize:Ce;return Math.floor((Ke.total-1)/ue)+1}var E=function(Ce){Object(a.a)(Ke,Ce);var Se=Object(e.a)(Ke);function Ke(ue){var Le;Object(i.a)(this,Ke),Le=Se.call(this,ue),Le.getJumpPrevPage=function(){return Math.max(1,Le.state.current-(Le.props.showLessItems?3:5))},Le.getJumpNextPage=function(){return Math.min(T(void 0,Le.state,Le.props),Le.state.current+(Le.props.showLessItems?3:5))},Le.getItemIcon=function(Ae,oe){var ce=Le.props.prefixCls,be=Ae||f.a.createElement("button",{type:"button","aria-label":oe,className:"".concat(ce,"-item-link")});return typeof Ae=="function"&&(be=f.a.createElement(Ae,Object(o.a)({},Le.props))),be},Le.savePaginationNode=function(Ae){Le.paginationNode=Ae},Le.isValid=function(Ae){return x(Ae)&&Ae!==Le.state.current},Le.shouldDisplayQuickJumper=function(){var Ae=Le.props,oe=Ae.showQuickJumper,ce=Ae.pageSize,be=Ae.total;return be<=ce?!1:oe},Le.handleKeyDown=function(Ae){(Ae.keyCode===h.ARROW_UP||Ae.keyCode===h.ARROW_DOWN)&&Ae.preventDefault()},Le.handleKeyUp=function(Ae){var oe=Le.getValidValue(Ae),ce=Le.state.currentInputValue;oe!==ce&&Le.setState({currentInputValue:oe}),Ae.keyCode===h.ENTER?Le.handleChange(oe):Ae.keyCode===h.ARROW_UP?Le.handleChange(oe-1):Ae.keyCode===h.ARROW_DOWN&&Le.handleChange(oe+1)},Le.changePageSize=function(Ae){var oe=Le.state.current,ce=T(Ae,Le.state,Le.props);oe=oe>ce?ce:oe,ce===0&&(oe=Le.state.current),typeof Ae=="number"&&("pageSize"in Le.props||Le.setState({pageSize:Ae}),"current"in Le.props||Le.setState({current:oe,currentInputValue:oe})),Le.props.onShowSizeChange(oe,Ae),"onChange"in Le.props&&Le.props.onChange&&Le.props.onChange(oe,Ae)},Le.handleChange=function(Ae){var oe=Le.props.disabled,ce=Ae;if(Le.isValid(ce)&&!oe){var be=T(void 0,Le.state,Le.props);ce>be?ce=be:ce<1&&(ce=1),"current"in Le.props||Le.setState({current:ce,currentInputValue:ce});var Te=Le.state.pageSize;return Le.props.onChange(ce,Te),ce}return Le.state.current},Le.prev=function(){Le.hasPrev()&&Le.handleChange(Le.state.current-1)},Le.next=function(){Le.hasNext()&&Le.handleChange(Le.state.current+1)},Le.jumpPrev=function(){Le.handleChange(Le.getJumpPrevPage())},Le.jumpNext=function(){Le.handleChange(Le.getJumpNextPage())},Le.hasPrev=function(){return Le.state.current>1},Le.hasNext=function(){return Le.state.current<T(void 0,Le.state,Le.props)},Le.runIfEnter=function(Ae,oe){if(Ae.key==="Enter"||Ae.charCode===13){for(var ce=arguments.length,be=new Array(ce>2?ce-2:0),Te=2;Te<ce;Te++)be[Te-2]=arguments[Te];oe.apply(void 0,be)}},Le.runIfEnterPrev=function(Ae){Le.runIfEnter(Ae,Le.prev)},Le.runIfEnterNext=function(Ae){Le.runIfEnter(Ae,Le.next)},Le.runIfEnterJumpPrev=function(Ae){Le.runIfEnter(Ae,Le.jumpPrev)},Le.runIfEnterJumpNext=function(Ae){Le.runIfEnter(Ae,Le.jumpNext)},Le.handleGoTO=function(Ae){(Ae.keyCode===h.ENTER||Ae.type==="click")&&Le.handleChange(Le.state.currentInputValue)};var ee=ue.onChange!==b,le="current"in ue;le&&!ee&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var et=ue.defaultCurrent;"current"in ue&&(et=ue.current);var Re=ue.defaultPageSize;return"pageSize"in ue&&(Re=ue.pageSize),et=Math.min(et,T(Re,void 0,ue)),Le.state={current:et,currentInputValue:et,pageSize:Re},Le}return Object(t.a)(Ke,[{key:"componentDidUpdate",value:function(Le,ee){var le=this.props.prefixCls;if(ee.current!==this.state.current&&this.paginationNode){var et=this.paginationNode.querySelector(".".concat(le,"-item-").concat(ee.current));et&&document.activeElement===et&&et.blur()}}},{key:"getValidValue",value:function(Le){var ee=Le.target.value,le=T(void 0,this.state,this.props),et=this.state.currentInputValue,Re;return ee===""?Re=ee:isNaN(Number(ee))?Re=et:ee>=le?Re=le:Re=Number(ee),Re}},{key:"getShowSizeChanger",value:function(){var Le=this.props,ee=Le.showSizeChanger,le=Le.total,et=Le.totalBoundaryShowSizeChanger;return typeof ee!="undefined"?ee:le>et}},{key:"renderPrev",value:function(Le){var ee=this.props,le=ee.prevIcon,et=ee.itemRender,Re=et(Le,"prev",this.getItemIcon(le,"prev page")),Ae=!this.hasPrev();return Object(g.isValidElement)(Re)?Object(g.cloneElement)(Re,{disabled:Ae}):Re}},{key:"renderNext",value:function(Le){var ee=this.props,le=ee.nextIcon,et=ee.itemRender,Re=et(Le,"next",this.getItemIcon(le,"next page")),Ae=!this.hasNext();return Object(g.isValidElement)(Re)?Object(g.cloneElement)(Re,{disabled:Ae}):Re}},{key:"render",value:function(){var Le=this,ee=this.props,le=ee.prefixCls,et=ee.className,Re=ee.style,Ae=ee.disabled,oe=ee.hideOnSinglePage,ce=ee.total,be=ee.locale,Te=ee.showQuickJumper,Be=ee.showLessItems,De=ee.showTitle,ae=ee.showTotal,fe=ee.simple,Oe=ee.itemRender,Je=ee.showPrevNextJumpers,Et=ee.jumpPrevIcon,Ze=ee.jumpNextIcon,Ne=ee.selectComponentClass,It=ee.selectPrefixCls,Xe=ee.pageSizeOptions,Ot=this.state,Bt=Ot.current,kt=Ot.pageSize,_t=Ot.currentInputValue;if(oe===!0&&ce<=kt)return null;var Ft=T(void 0,this.state,this.props),ke=[],te=null,Q=null,qe=null,je=null,q=null,wt=Te&&Te.goButton,Vt=Be?1:2,lt=Bt-1>0?Bt-1:0,or=Bt+1<Ft?Bt+1:Ft,vr=Object.keys(this.props).reduce(function(Pn,jt){return(jt.substr(0,5)==="data-"||jt.substr(0,5)==="aria-"||jt==="role")&&(Pn[jt]=Le.props[jt]),Pn},{});if(fe)return wt&&(typeof wt=="boolean"?q=f.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},be.jump_to_confirm):q=f.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},wt),q=f.a.createElement("li",{title:De?"".concat(be.jump_to).concat(Bt,"/").concat(Ft):null,className:"".concat(le,"-simple-pager")},q)),f.a.createElement("ul",Object(d.a)({className:r()(le,"".concat(le,"-simple"),Object(c.a)({},"".concat(le,"-disabled"),Ae),et),style:Re,ref:this.savePaginationNode},vr),f.a.createElement("li",{title:De?be.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:r()("".concat(le,"-prev"),Object(c.a)({},"".concat(le,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(lt)),f.a.createElement("li",{title:De?"".concat(Bt,"/").concat(Ft):null,className:"".concat(le,"-simple-pager")},f.a.createElement("input",{type:"text",value:_t,disabled:Ae,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),f.a.createElement("span",{className:"".concat(le,"-slash")},"/"),Ft),f.a.createElement("li",{title:De?be.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:r()("".concat(le,"-next"),Object(c.a)({},"".concat(le,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(or)),q);if(Ft<=3+Vt*2){var An={locale:be,rootPrefixCls:le,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:De,itemRender:Oe};Ft||ke.push(f.a.createElement(u,Object(d.a)({},An,{key:"noPager",page:Ft,className:"".concat(le,"-disabled")})));for(var hr=1;hr<=Ft;hr+=1){var xr=Bt===hr;ke.push(f.a.createElement(u,Object(d.a)({},An,{key:hr,page:hr,active:xr})))}}else{var nr=Be?be.prev_3:be.prev_5,Yt=Be?be.next_3:be.next_5;Je&&(te=f.a.createElement("li",{title:De?nr:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:r()("".concat(le,"-jump-prev"),Object(c.a)({},"".concat(le,"-jump-prev-custom-icon"),!!Et))},Oe(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Et,"prev page"))),Q=f.a.createElement("li",{title:De?Yt:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:r()("".concat(le,"-jump-next"),Object(c.a)({},"".concat(le,"-jump-next-custom-icon"),!!Ze))},Oe(this.getJumpNextPage(),"jump-next",this.getItemIcon(Ze,"next page")))),je=f.a.createElement(u,{locale:be,last:!0,rootPrefixCls:le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ft,page:Ft,active:!1,showTitle:De,itemRender:Oe}),qe=f.a.createElement(u,{locale:be,rootPrefixCls:le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:De,itemRender:Oe});var gt=Math.max(1,Bt-Vt),zr=Math.min(Bt+Vt,Ft);Bt-1<=Vt&&(zr=1+Vt*2),Ft-Bt<=Vt&&(gt=Ft-Vt*2);for(var pn=gt;pn<=zr;pn+=1){var Nn=Bt===pn;ke.push(f.a.createElement(u,{locale:be,rootPrefixCls:le,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:pn,page:pn,active:Nn,showTitle:De,itemRender:Oe}))}Bt-1>=Vt*2&&Bt!==1+2&&(ke[0]=Object(g.cloneElement)(ke[0],{className:"".concat(le,"-item-after-jump-prev")}),ke.unshift(te)),Ft-Bt>=Vt*2&&Bt!==Ft-2&&(ke[ke.length-1]=Object(g.cloneElement)(ke[ke.length-1],{className:"".concat(le,"-item-before-jump-next")}),ke.push(Q)),gt!==1&&ke.unshift(qe),zr!==Ft&&ke.push(je)}var Vn=null;ae&&(Vn=f.a.createElement("li",{className:"".concat(le,"-total-text")},ae(ce,[ce===0?0:(Bt-1)*kt+1,Bt*kt>ce?ce:Bt*kt])));var xi=!this.hasPrev()||!Ft,bn=!this.hasNext()||!Ft;return f.a.createElement("ul",Object(d.a)({className:r()(le,et,Object(c.a)({},"".concat(le,"-disabled"),Ae)),style:Re,unselectable:"unselectable",ref:this.savePaginationNode},vr),Vn,f.a.createElement("li",{title:De?be.prev_page:null,onClick:this.prev,tabIndex:xi?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(le,"-prev"),Object(c.a)({},"".concat(le,"-disabled"),xi)),"aria-disabled":xi},this.renderPrev(lt)),ke,f.a.createElement("li",{title:De?be.next_page:null,onClick:this.next,tabIndex:bn?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(le,"-next"),Object(c.a)({},"".concat(le,"-disabled"),bn)),"aria-disabled":bn},this.renderNext(or)),f.a.createElement(y,{disabled:Ae,locale:be,rootPrefixCls:le,selectComponentClass:Ne,selectPrefixCls:It,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Bt,pageSize:kt,pageSizeOptions:Xe,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:wt}))}}],[{key:"getDerivedStateFromProps",value:function(Le,ee){var le={};if("current"in Le&&(le.current=Le.current,Le.current!==ee.current&&(le.currentInputValue=le.current)),"pageSize"in Le&&Le.pageSize!==ee.pageSize){var et=ee.current,Re=T(Le.pageSize,ee,Le);et=et>Re?Re:et,"current"in Le||(le.current=et,le.currentInputValue=et),le.pageSize=Le.pageSize}return le}}]),Ke}(f.a.Component);E.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:b,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:b,locale:w.a,style:{},itemRender:O,totalBoundaryShowSizeChanger:50};var C=E,_=n("H4fg"),L=n("DFhj"),P=n.n(L),k=n("fEPi"),F=n.n(k),j=n("u9fO"),z=n.n(j),R=n("mO/d"),U=n.n(R),B=n("2fM7"),H=function(Se){return g.createElement(B.a,m()({size:"small"},Se))};H.Option=B.a.Option;var K=H,V=n("YMnH"),W=n("H84U"),G=n("5OYt"),re=function(Ce,Se){var Ke={};for(var ue in Ce)Object.prototype.hasOwnProperty.call(Ce,ue)&&Se.indexOf(ue)<0&&(Ke[ue]=Ce[ue]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ue=Object.getOwnPropertySymbols(Ce);Le<ue.length;Le++)Se.indexOf(ue[Le])<0&&Object.prototype.propertyIsEnumerable.call(Ce,ue[Le])&&(Ke[ue[Le]]=Ce[ue[Le]]);return Ke},ye=function(Se){var Ke=Se.prefixCls,ue=Se.selectPrefixCls,Le=Se.className,ee=Se.size,le=Se.locale,et=re(Se,["prefixCls","selectPrefixCls","className","size","locale"]),Re=Object(G.a)(),Ae=Re.xs,oe=g.useContext(W.b),ce=oe.getPrefixCls,be=oe.direction,Te=ce("pagination",Ke),Be=function(){var fe=g.createElement("span",{className:"".concat(Te,"-item-ellipsis")},"\u2022\u2022\u2022"),Oe=g.createElement("button",{className:"".concat(Te,"-item-link"),type:"button",tabIndex:-1},g.createElement(P.a,null)),Je=g.createElement("button",{className:"".concat(Te,"-item-link"),type:"button",tabIndex:-1},g.createElement(F.a,null)),Et=g.createElement("a",{className:"".concat(Te,"-item-link")},g.createElement("div",{className:"".concat(Te,"-item-container")},g.createElement(z.a,{className:"".concat(Te,"-item-link-icon")}),fe)),Ze=g.createElement("a",{className:"".concat(Te,"-item-link")},g.createElement("div",{className:"".concat(Te,"-item-container")},g.createElement(U.a,{className:"".concat(Te,"-item-link-icon")}),fe));if(be==="rtl"){var Ne=[Je,Oe];Oe=Ne[0],Je=Ne[1];var It=[Ze,Et];Et=It[0],Ze=It[1]}return{prevIcon:Oe,nextIcon:Je,jumpPrevIcon:Et,jumpNextIcon:Ze}},De=function(fe){var Oe=m()(m()({},fe),le),Je=ee==="small"||!!(Ae&&!ee&&et.responsive),Et=ce("select",ue),Ze=r()(Le,p()({mini:Je},"".concat(Te,"-rtl"),be==="rtl"));return g.createElement(C,m()({},et,{prefixCls:Te,selectPrefixCls:Et},Be(),{className:Ze,selectComponentClass:Je?K:B.a,locale:Oe}))};return g.createElement(V.a,{componentName:"Pagination",defaultLocale:_.a},De)},$=ye,ve=N.a=$},NohK:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=function(S){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,g=null;return function(){for(var f=this,d=arguments.length,c=new Array(d),o=0;o<d;o++)c[o]=arguments[o];clearTimeout(g),g=setTimeout(function(){S.apply(f,c)},m)}};N.default=v},Nu4q:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:function(S,m){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:S}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:m}},{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:m}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:m}},{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:S}}]}},name:"picture",theme:"twotone"};N.default=v},"O/iA":function(M,N,n){},O3gP:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("O/iA"),m=n.n(S),g=n("OaEy")},OELB:function(M,N,n){var v=n("bYtY"),p=1e-4;function S(x){return x.replace(/^\s+|\s+$/g,"")}function m(x,O,T,E){var C=O[1]-O[0],_=T[1]-T[0];if(C===0)return _===0?T[0]:(T[0]+T[1])/2;if(E)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*_+T[0]}function g(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"?S(x).match(/%$/)?parseFloat(x)/100*O:parseFloat(x):x==null?NaN:+x}function f(x,O,T){return O==null&&(O=10),O=Math.min(Math.max(0,O),20),x=(+x).toFixed(O),T?x:+x}function d(x){return x.sort(function(O,T){return O-T}),x}function c(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 o(x){var O=x.toString(),T=O.indexOf("e");if(T>0){var E=+O.slice(T+1);return E<0?-E:0}else{var C=O.indexOf(".");return C<0?0:O.length-1-C}}function i(x,O){var T=Math.log,E=Math.LN10,C=Math.floor(T(x[1]-x[0])/E),_=Math.round(T(Math.abs(O[1]-O[0]))/E),L=Math.min(Math.max(-C+_,0),20);return isFinite(L)?L:20}function t(x,O,T){if(!x[O])return 0;var E=v.reduce(x,function(B,H){return B+(isNaN(H)?0:H)},0);if(E===0)return 0;for(var C=Math.pow(10,T),_=v.map(x,function(B){return(isNaN(B)?0:B)/E*C*100}),L=C*100,P=v.map(_,function(B){return Math.floor(B)}),k=v.reduce(P,function(B,H){return B+H},0),F=v.map(_,function(B,H){return B-P[H]});k<L;){for(var j=Number.NEGATIVE_INFINITY,z=null,R=0,U=F.length;R<U;++R)F[R]>j&&(j=F[R],z=R);++P[z],F[z]=0,++k}return P[O]/C}var a=9007199254740991;function e(x){var O=Math.PI*2;return(x%O+O)%O}function l(x){return x>-p&&x<p}var r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function s(x){if(x instanceof Date)return x;if(typeof x=="string"){var O=r.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 u(x){return Math.pow(10,h(x))}function h(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 A(x,O){var T=h(x),E=Math.pow(10,T),C=x/E,_;return O?C<1.5?_=1:C<2.5?_=2:C<4?_=3:C<7?_=5:_=10:C<1?_=1:C<2?_=2:C<3?_=3:C<5?_=5:_=10,x=_*E,T>=-20?+x.toFixed(T<0?-T:0):x}function y(x,O){var T=(x.length-1)*O+1,E=Math.floor(T),C=+x[E-1],_=T-E;return _?C+_*(x[E]-C):C}function w(x){x.sort(function(k,F){return P(k,F,0)?-1:1});for(var O=-Infinity,T=1,E=0;E<x.length;){for(var C=x[E].interval,_=x[E].close,L=0;L<2;L++)C[L]<=O&&(C[L]=O,_[L]=L?1:1-T),O=C[L],T=_[L];C[0]===C[1]&&_[0]*_[1]!==1?x.splice(E,1):E++}return x;function P(k,F,j){return k.interval[j]<F.interval[j]||k.interval[j]===F.interval[j]&&(k.close[j]-F.close[j]===(j?-1:1)||!j&&P(k,F,1))}}function b(x){return x-parseFloat(x)>=0}N.linearMap=m,N.parsePercent=g,N.round=f,N.asc=d,N.getPrecision=c,N.getPrecisionSafe=o,N.getPixelPrecision=i,N.getPercentWithPrecision=t,N.MAX_SAFE_INTEGER=a,N.remRadian=e,N.isRadianAroundZero=l,N.parseDate=s,N.quantity=u,N.quantityExponent=h,N.nice=A,N.quantile=y,N.reformIntervals=w,N.isNumeric=b},OKJ2:function(M,N,n){var v=n("KxfA"),p=v.retrieveRawValue,S=n("7aKB"),m=S.getTooltipMarker,g=S.formatTpl,f=n("4NO4"),d=f.getTooltipRenderMode,c=/\{@(.+?)\}/g,o={getDataParams:function(i,t){var a=this.getData(t),e=this.getRawValue(i,t),l=a.getRawIndex(i),r=a.getName(i),s=a.getRawDataItem(i),u=a.getItemVisual(i,"color"),h=a.getItemVisual(i,"borderColor"),A=this.ecModel.getComponent("tooltip"),y=A&&A.get("renderMode"),w=d(y),b=this.mainType,x=b==="series",O=a.userOutput;return{componentType:b,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:r,dataIndex:l,data:s,dataType:t,value:e,color:u,borderColor:h,dimensionNames:O?O.dimensionNames:null,encode:O?O.encode:null,marker:m({color:u,renderMode:w}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(i,t,a,e,l){t=t||"normal";var r=this.getData(a),s=r.getItemModel(i),u=this.getDataParams(i,a);e!=null&&u.value instanceof Array&&(u.value=u.value[e]);var h=s.get(t==="normal"?[l||"label","formatter"]:[t,l||"label","formatter"]);if(typeof h=="function")return u.status=t,u.dimensionIndex=e,h(u);if(typeof h=="string"){var A=g(h,u);return A.replace(c,function(y,w){var b=w.length;return w.charAt(0)==="["&&w.charAt(b-1)==="]"&&(w=+w.slice(1,b-1)),p(r,i,w)})}},getRawValue:function(i,t){return p(this.getData(t),i)},formatTooltip:function(){}};M.exports=o},OPEp:function(M,N,n){},OQFs:function(M,N,n){var v=n("KCsZ"),p=v([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),S={getLineStyle:function(m){var g=p(this,m);return g.lineDash=this.getLineDash(g.lineWidth),g},getLineDash:function(m){m==null&&(m=1);var g=this.get("type"),f=Math.max(m,2),d=m*4;return g==="solid"||g==null?!1:g==="dashed"?[d,d]:[f,f]}};M.exports=S},OS9S:function(M,N,n){var v=n("bYtY"),p=v.inherits,S=n("Gev7"),m=n("mFDi");function g(c){S.call(this,c),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}g.prototype.incremental=!0,g.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},g.prototype.addDisplayable=function(c,o){o?this._temporaryDisplayables.push(c):this._displayables.push(c),this.dirty()},g.prototype.addDisplayables=function(c,o){o=o||!1;for(var i=0;i<c.length;i++)this.addDisplayable(c[i],o)},g.prototype.eachPendingDisplayable=function(c){for(var o=this._cursor;o<this._displayables.length;o++)c&&c(this._displayables[o]);for(var o=0;o<this._temporaryDisplayables.length;o++)c&&c(this._temporaryDisplayables[o])},g.prototype.update=function(){this.updateTransform();for(var c=this._cursor;c<this._displayables.length;c++){var o=this._displayables[c];o.parent=this,o.update(),o.parent=null}for(var c=0;c<this._temporaryDisplayables.length;c++){var o=this._temporaryDisplayables[c];o.parent=this,o.update(),o.parent=null}},g.prototype.brush=function(c,o){for(var i=this._cursor;i<this._displayables.length;i++){var t=this._displayables[i];t.beforeBrush&&t.beforeBrush(c),t.brush(c,i===this._cursor?null:this._displayables[i-1]),t.afterBrush&&t.afterBrush(c)}this._cursor=i;for(var i=0;i<this._temporaryDisplayables.length;i++){var t=this._temporaryDisplayables[i];t.beforeBrush&&t.beforeBrush(c),t.brush(c,i===0?null:this._temporaryDisplayables[i-1]),t.afterBrush&&t.afterBrush(c)}this._temporaryDisplayables=[],this.notClear=!0};var f=[];g.prototype.getBoundingRect=function(){if(!this._rect){for(var c=new m(Infinity,Infinity,-Infinity,-Infinity),o=0;o<this._displayables.length;o++){var i=this._displayables[o],t=i.getBoundingRect().clone();i.needLocalTransform()&&t.applyTransform(i.getLocalTransform(f)),c.union(t)}this._rect=c}return this._rect},g.prototype.contain=function(c,o){var i=this.transformCoordToLocal(c,o),t=this.getBoundingRect();if(t.contain(i[0],i[1]))for(var a=0;a<this._displayables.length;a++){var e=this._displayables[a];if(e.contain(c,o))return!0}return!1},p(g,S);var d=g;M.exports=d},OUJF:function(M,N,n){var v=n("ProS"),p=n("bYtY");v.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(S,m){var g=m.getComponent("timeline");return g&&S.currentIndex!=null&&(g.setCurrentIndex(S.currentIndex),!g.get("loop",!0)&&g.isIndexMax()&&g.setPlayState(!1)),m.resetOption("timeline"),p.defaults({currentIndex:g.option.currentIndex},S)}),v.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(S,m){var g=m.getComponent("timeline");g&&S.playState!=null&&g.setPlayState(S.playState)})},OXB0:function(M,N,n){var v=n("T4UG"),p=n("MwEJ"),S=n("IDmD"),m=v.extend({type:"series.heatmap",getInitialData:function(g,f){return p(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var g=S.get(this.get("coordinateSystem"));if(g&&g.dimensions)return g.dimensions[0]==="lng"&&g.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});M.exports=m},OaEy:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("bKJz"),m=n.n(S),g=n("R9oj")},Ol7k:function(M,N,n){"use strict";var v=n("PKem"),p=n("ZX9x");v.b.Sider=p.b,N.a=v.b},OlYY:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("bYtY"),g=n("ItGF"),f=n("4NO4"),d=n("UOVi"),c=n("zDms"),o=m.each,i=d.eachAxisDim,t=S.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(r,s,u){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var h=a(r);this.settledOption=h,this.mergeDefaultAndTheme(r,u),this.doInit(h)},mergeOption:function(r){var s=a(r);m.merge(this.option,r,!0),m.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(r){var s=this.option;g.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(r),e(this,r);var u=this.settledOption;o([["start","startValue"],["end","endValue"]],function(h,A){this._rangePropMode[A]==="value"&&(s[h[0]]=u[h[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var r=this._axisProxies;this.eachTargetAxis(function(s,u,h,A){var y=this.dependentModels[s.axis][u],w=y.__dzAxisProxy||(y.__dzAxisProxy=new c(s.name,u,this,A));r[s.name+"_"+u]=w},this)},_resetTarget:function(){var r=this.option,s=this._judgeAutoMode();i(function(u){var h=u.axisIndex;r[h]=f.normalizeToArray(r[h])},this),s==="axisIndex"?this._autoSetAxisIndex():s==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var r=this.option,s=!1;i(function(h){r[h.axisIndex]!=null&&(s=!0)},this);var u=r.orient;if(u==null&&s)return"orient";if(!s)return u==null&&(r.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var r=!0,s=this.get("orient",!0),u=this.option,h=this.dependentModels;if(r){var A=s==="vertical"?"y":"x";h[A+"Axis"].length?(u[A+"AxisIndex"]=[0],r=!1):o(h.singleAxis,function(y){r&&y.get("orient",!0)===s&&(u.singleAxisIndex=[y.componentIndex],r=!1)})}r&&i(function(y){if(!r)return;var w=[],b=this.dependentModels[y.axis];if(b.length&&!w.length)for(var x=0,O=b.length;x<O;x++)b[x].get("type")==="category"&&w.push(x);u[y.axisIndex]=w,w.length&&(r=!1)},this),r&&this.ecModel.eachSeries(function(y){this._isSeriesHasAllAxesTypeOf(y,"value")&&i(function(w){var b=u[w.axisIndex],x=y.get(w.axisIndex),O=y.get(w.axisId),T=y.ecModel.queryComponents({mainType:w.axis,index:x,id:O})[0];x=T.componentIndex,m.indexOf(b,x)<0&&b.push(x)})},this)},_autoSetOrient:function(){var r;this.eachTargetAxis(function(s){!r&&(r=s.name)},this),this.option.orient=r==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(r,s){var u=!0;return i(function(h){var A=r.get(h.axisIndex),y=this.dependentModels[h.axis][A];(!y||y.get("type")!==s)&&(u=!1)},this),u},_setDefaultThrottle:function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var s=this.ecModel.option;this.option.throttle=s.animation&&s.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var r;return i(function(s){if(r==null){var u=this.get(s.axisIndex);u.length&&(r=this.dependentModels[s.axis][u[0]])}},this),r},eachTargetAxis:function(r,s){var u=this.ecModel;i(function(h){o(this.get(h.axisIndex),function(A){r.call(s,h,A,this,u)},this)},this)},getAxisProxy:function(r,s){return this._axisProxies[r+"_"+s]},getAxisModel:function(r,s){var u=this.getAxisProxy(r,s);return u&&u.getAxisModel()},setRawRange:function(r){var s=this.option,u=this.settledOption;o([["start","startValue"],["end","endValue"]],function(h){(r[h[0]]!=null||r[h[1]]!=null)&&(s[h[0]]=u[h[0]]=r[h[0]],s[h[1]]=u[h[1]]=r[h[1]])},this),e(this,r)},setCalculatedRange:function(r){var s=this.option;o(["start","startValue","end","endValue"],function(u){s[u]=r[u]})},getPercentRange:function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},getValueRange:function(r,s){if(r==null&&s==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(r,s).getDataValueWindow()},findRepresentativeAxisProxy:function(r){if(r)return r.__dzAxisProxy;var s=this._axisProxies;for(var u in s)if(s.hasOwnProperty(u)&&s[u].hostedBy(this))return s[u];for(var u in s)if(s.hasOwnProperty(u)&&!s[u].hostedBy(this))return s[u]},getRangePropMode:function(){return this._rangePropMode.slice()}});function a(r){var s={};return o(["start","end","startValue","endValue","throttle"],function(u){r.hasOwnProperty(u)&&(s[u]=r[u])}),s}function e(r,s){var u=r._rangePropMode,h=r.get("rangeMode");o([["start","startValue"],["end","endValue"]],function(A,y){var w=s[A[0]]!=null,b=s[A[1]]!=null;w&&!b?u[y]="percent":!w&&b?u[y]="value":h?u[y]=h[y]:w&&(u[y]="percent")})}var l=t;M.exports=l},OnYD:function(M,N,n){},"Oy/b":function(M,N,n){(function(p,S){M.exports=S()})(typeof self!="undefined"?self:this,function(){return function(v){var p={};function S(m){if(p[m])return p[m].exports;var g=p[m]={i:m,l:!1,exports:{}};return v[m].call(g.exports,g,g.exports,S),g.l=!0,g.exports}return S.m=v,S.c=p,S.d=function(m,g,f){S.o(m,g)||Object.defineProperty(m,g,{enumerable:!0,get:f})},S.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},S.t=function(m,g){if(g&1&&(m=S(m)),g&8)return m;if(g&4&&typeof m=="object"&&m&&m.__esModule)return m;var f=Object.create(null);if(S.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:m}),g&2&&typeof m!="string")for(var d in m)S.d(f,d,function(c){return m[c]}.bind(null,d));return f},S.n=function(m){var g=m&&m.__esModule?function(){return m.default}:function(){return m};return S.d(g,"a",g),g},S.o=function(m,g){return Object.prototype.hasOwnProperty.call(m,g)},S.p="",S(S.s=1)}([function(v,p,S){},function(v,p,S){"use strict";S.r(p);var m=S(0),g=function(){function ht(Z,se,pe){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Z,this.start=se,this.end=pe}return ht.range=function(se,pe){return pe?!se||!se.loc||!pe.loc||se.loc.lexer!==pe.loc.lexer?null:new ht(se.loc.lexer,se.loc.start,pe.loc.end):se&&se.loc},ht}(),f=function(){function ht(se,pe){this.text=void 0,this.loc=void 0,this.text=se,this.loc=pe}var Z=ht.prototype;return Z.range=function(pe,Ue){return new ht(Ue,g.range(this,pe))},ht}(),d=function ht(Z,se){this.position=void 0;var pe="KaTeX parse error: "+Z,Ue,ft=se&&se.loc;if(ft&&ft.start<=ft.end){var zt=ft.lexer.input;Ue=ft.start;var Dr=ft.end;Ue===zt.length?pe+=" at end of input: ":pe+=" at position "+(Ue+1)+": ";var Xr=zt.slice(Ue,Dr).replace(/[^]/g,"$&\u0332"),dn;Ue>15?dn="\u2026"+zt.slice(Ue-15,Ue):dn=zt.slice(0,Ue);var Kn;Dr+15<zt.length?Kn=zt.slice(Dr,Dr+15)+"\u2026":Kn=zt.slice(Dr),pe+=dn+Xr+Kn}var $n=new Error(pe);return $n.name="ParseError",$n.__proto__=ht.prototype,$n.position=Ue,$n};d.prototype.__proto__=Error.prototype;var c=d,o=function(Z,se){return Z.indexOf(se)!==-1},i=function(Z,se){return Z===void 0?se:Z},t=/([A-Z])/g,a=function(Z){return Z.replace(t,"-$1").toLowerCase()},e={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},l=/[&><"']/g;function r(ht){return String(ht).replace(l,function(Z){return e[Z]})}var s=function ht(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?ht(Z.body[0]):Z:Z.type==="font"?ht(Z.body):Z},u=function(Z){var se=s(Z);return se.type==="mathord"||se.type==="textord"||se.type==="atom"},h=function(Z){if(!Z)throw new Error("Expected non-null, but got "+String(Z));return Z},A=function(Z){var se=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(Z);return se!=null?se[1]:"_relative"},y={contains:o,deflt:i,escape:r,hyphenate:a,getBaseElem:s,isCharacterBox:u,protocolFromUrl:A},w=function(){function ht(se){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,se=se||{},this.displayMode=y.deflt(se.displayMode,!1),this.output=y.deflt(se.output,"htmlAndMathml"),this.leqno=y.deflt(se.leqno,!1),this.fleqn=y.deflt(se.fleqn,!1),this.throwOnError=y.deflt(se.throwOnError,!0),this.errorColor=y.deflt(se.errorColor,"#cc0000"),this.macros=se.macros||{},this.minRuleThickness=Math.max(0,y.deflt(se.minRuleThickness,0)),this.colorIsTextColor=y.deflt(se.colorIsTextColor,!1),this.strict=y.deflt(se.strict,"warn"),this.trust=y.deflt(se.trust,!1),this.maxSize=Math.max(0,y.deflt(se.maxSize,Infinity)),this.maxExpand=Math.max(0,y.deflt(se.maxExpand,1e3))}var Z=ht.prototype;return Z.reportNonstrict=function(pe,Ue,ft){var zt=this.strict;if(typeof zt=="function"&&(zt=zt(pe,Ue,ft)),!zt||zt==="ignore")return;if(zt===!0||zt==="error")throw new c("LaTeX-incompatible input and strict mode is set to 'error': "+(Ue+" ["+pe+"]"),ft);zt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ue+" ["+pe+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+zt+"': "+Ue+" ["+pe+"]"))},Z.useStrictBehavior=function(pe,Ue,ft){var zt=this.strict;if(typeof zt=="function")try{zt=zt(pe,Ue,ft)}catch(Dr){zt="error"}return!zt||zt==="ignore"?!1:zt===!0||zt==="error"?!0:zt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ue+" ["+pe+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+zt+"': "+Ue+" ["+pe+"]")),!1)},Z.isTrusted=function(pe){pe.url&&!pe.protocol&&(pe.protocol=y.protocolFromUrl(pe.url));var Ue=typeof this.trust=="function"?this.trust(pe):this.trust;return Boolean(Ue)},ht}(),b=function(){function ht(se,pe,Ue){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=se,this.size=pe,this.cramped=Ue}var Z=ht.prototype;return Z.sup=function(){return k[F[this.id]]},Z.sub=function(){return k[j[this.id]]},Z.fracNum=function(){return k[z[this.id]]},Z.fracDen=function(){return k[R[this.id]]},Z.cramp=function(){return k[U[this.id]]},Z.text=function(){return k[B[this.id]]},Z.isTight=function(){return this.size>=2},ht}(),x=0,O=1,T=2,E=3,C=4,_=5,L=6,P=7,k=[new b(x,0,!1),new b(O,0,!0),new b(T,1,!1),new b(E,1,!0),new b(C,2,!1),new b(_,2,!0),new b(L,3,!1),new b(P,3,!0)],F=[C,_,C,_,L,P,L,P],j=[_,_,_,_,P,P,P,P],z=[T,E,C,_,L,P,L,P],R=[E,E,_,_,P,P,P,P],U=[O,O,E,E,_,_,P,P],B=[x,O,T,E,T,E,T,E],H={DISPLAY:k[x],TEXT:k[T],SCRIPT:k[C],SCRIPTSCRIPT:k[L]},K=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function V(ht){for(var Z=0;Z<K.length;Z++)for(var se=K[Z],pe=0;pe<se.blocks.length;pe++){var Ue=se.blocks[pe];if(ht>=Ue[0]&&ht<=Ue[1])return se.name}return null}var W=[];K.forEach(function(ht){return ht.blocks.forEach(function(Z){return W.push.apply(W,Z)})});function G(ht){for(var Z=0;Z<W.length;Z+=2)if(ht>=W[Z]&&ht<=W[Z+1])return!0;return!1}var re=80,ye=function(Z,se){return"M95,"+(622+Z+se)+`
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`+Z/2.075+" -"+Z+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+Z)+`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+Z)+" "+se+"h400000v"+(40+Z)+"h-400000z"},$=function(Z,se){return"M263,"+(601+Z+se)+`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`+Z/2.084+" -"+Z+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+Z)+`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+Z)+" "+se+"h400000v"+(40+Z)+"h-400000z"},ve=function(Z,se){return"M983 "+(10+Z+se)+`
l`+Z/3.13+" -"+Z+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+Z)+`
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+Z)+" "+se+"h400000v"+(40+Z)+"h-400000z"},Ce=function(Z,se){return"M424,"+(2398+Z+se)+`
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`+Z/4.223+" -"+Z+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+Z)+`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+Z)+" "+se+`
h400000v`+(40+Z)+"h-400000z"},Se=function(Z,se){return"M473,"+(2713+Z+se)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+Z/5.298+" -"+Z+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Z)+`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+Z)+" "+se+"h400000v"+(40+Z)+"H1017.7z"},Ke=function(Z,se,pe){var Ue=pe-54-se-Z;return"M702 "+(Z+se)+"H400000"+(40+Z)+`
H742v`+Ue+`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 `+se+"H400000v"+(40+Z)+"H742z"},ue=function(Z,se,pe){se=1e3*se;var Ue="";switch(Z){case"sqrtMain":Ue=ye(se,re);break;case"sqrtSize1":Ue=$(se,re);break;case"sqrtSize2":Ue=ve(se,re);break;case"sqrtSize3":Ue=Ce(se,re);break;case"sqrtSize4":Ue=Se(se,re);break;case"sqrtTall":Ue=Ke(se,re,pe)}return Ue},Le={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`},ee=function(){function ht(se){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=se,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Z=ht.prototype;return Z.hasClass=function(pe){return y.contains(this.classes,pe)},Z.toNode=function(){for(var pe=document.createDocumentFragment(),Ue=0;Ue<this.children.length;Ue++)pe.appendChild(this.children[Ue].toNode());return pe},Z.toMarkup=function(){for(var pe="",Ue=0;Ue<this.children.length;Ue++)pe+=this.children[Ue].toMarkup();return pe},Z.toText=function(){var pe=function(ft){return ft.toText()};return this.children.map(pe).join("")},ht}(),le=function(Z){return Z.filter(function(se){return se}).join(" ")},et=function(Z,se,pe){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=pe||{},se){se.style.isTight()&&this.classes.push("mtight");var Ue=se.getColor();Ue&&(this.style.color=Ue)}},Re=function(Z){var se=document.createElement(Z);se.className=le(this.classes);for(var pe in this.style)this.style.hasOwnProperty(pe)&&(se.style[pe]=this.style[pe]);for(var Ue in this.attributes)this.attributes.hasOwnProperty(Ue)&&se.setAttribute(Ue,this.attributes[Ue]);for(var ft=0;ft<this.children.length;ft++)se.appendChild(this.children[ft].toNode());return se},Ae=function(Z){var se="<"+Z;this.classes.length&&(se+=' class="'+y.escape(le(this.classes))+'"');var pe="";for(var Ue in this.style)this.style.hasOwnProperty(Ue)&&(pe+=y.hyphenate(Ue)+":"+this.style[Ue]+";");pe&&(se+=' style="'+y.escape(pe)+'"');for(var ft in this.attributes)this.attributes.hasOwnProperty(ft)&&(se+=" "+ft+'="'+y.escape(this.attributes[ft])+'"');se+=">";for(var zt=0;zt<this.children.length;zt++)se+=this.children[zt].toMarkup();return se+="</"+Z+">",se},oe=function(){function ht(se,pe,Ue,ft){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,et.call(this,se,Ue,ft),this.children=pe||[]}var Z=ht.prototype;return Z.setAttribute=function(pe,Ue){this.attributes[pe]=Ue},Z.hasClass=function(pe){return y.contains(this.classes,pe)},Z.toNode=function(){return Re.call(this,"span")},Z.toMarkup=function(){return Ae.call(this,"span")},ht}(),ce=function(){function ht(se,pe,Ue,ft){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,et.call(this,pe,ft),this.children=Ue||[],this.setAttribute("href",se)}var Z=ht.prototype;return Z.setAttribute=function(pe,Ue){this.attributes[pe]=Ue},Z.hasClass=function(pe){return y.contains(this.classes,pe)},Z.toNode=function(){return Re.call(this,"a")},Z.toMarkup=function(){return Ae.call(this,"a")},ht}(),be=function(){function ht(se,pe,Ue){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=se,this.classes=["mord"],this.style=Ue}var Z=ht.prototype;return Z.hasClass=function(pe){return y.contains(this.classes,pe)},Z.toNode=function(){var pe=document.createElement("img");pe.src=this.src,pe.alt=this.alt,pe.className="mord";for(var Ue in this.style)this.style.hasOwnProperty(Ue)&&(pe.style[Ue]=this.style[Ue]);return pe},Z.toMarkup=function(){var pe="<img src='"+this.src+" 'alt='"+this.alt+"' ",Ue="";for(var ft in this.style)this.style.hasOwnProperty(ft)&&(Ue+=y.hyphenate(ft)+":"+this.style[ft]+";");return Ue&&(pe+=' style="'+y.escape(Ue)+'"'),pe+="'/>",pe},ht}(),Te={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Be=function(){function ht(se,pe,Ue,ft,zt,Dr,Xr,dn){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=se,this.height=pe||0,this.depth=Ue||0,this.italic=ft||0,this.skew=zt||0,this.width=Dr||0,this.classes=Xr||[],this.style=dn||{},this.maxFontSize=0;var Kn=V(this.text.charCodeAt(0));Kn&&this.classes.push(Kn+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Te[this.text])}var Z=ht.prototype;return Z.hasClass=function(pe){return y.contains(this.classes,pe)},Z.toNode=function(){var pe=document.createTextNode(this.text),Ue=null;this.italic>0&&(Ue=document.createElement("span"),Ue.style.marginRight=this.italic+"em"),this.classes.length>0&&(Ue=Ue||document.createElement("span"),Ue.className=le(this.classes));for(var ft in this.style)this.style.hasOwnProperty(ft)&&(Ue=Ue||document.createElement("span"),Ue.style[ft]=this.style[ft]);return Ue?(Ue.appendChild(pe),Ue):pe},Z.toMarkup=function(){var pe=!1,Ue="<span";this.classes.length&&(pe=!0,Ue+=' class="',Ue+=y.escape(le(this.classes)),Ue+='"');var ft="";this.italic>0&&(ft+="margin-right:"+this.italic+"em;");for(var zt in this.style)this.style.hasOwnProperty(zt)&&(ft+=y.hyphenate(zt)+":"+this.style[zt]+";");ft&&(pe=!0,Ue+=' style="'+y.escape(ft)+'"');var Dr=y.escape(this.text);return pe?(Ue+=">",Ue+=Dr,Ue+="</span>",Ue):Dr},ht}(),De=function(){function ht(se,pe){this.children=void 0,this.attributes=void 0,this.children=se||[],this.attributes=pe||{}}var Z=ht.prototype;return Z.toNode=function(){var pe="http://www.w3.org/2000/svg",Ue=document.createElementNS(pe,"svg");for(var ft in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ft)&&Ue.setAttribute(ft,this.attributes[ft]);for(var zt=0;zt<this.children.length;zt++)Ue.appendChild(this.children[zt].toNode());return Ue},Z.toMarkup=function(){var pe="<svg";for(var Ue in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ue)&&(pe+=" "+Ue+"='"+this.attributes[Ue]+"'");pe+=">";for(var ft=0;ft<this.children.length;ft++)pe+=this.children[ft].toMarkup();return pe+="</svg>",pe},ht}(),ae=function(){function ht(se,pe){this.pathName=void 0,this.alternate=void 0,this.pathName=se,this.alternate=pe}var Z=ht.prototype;return Z.toNode=function(){var pe="http://www.w3.org/2000/svg",Ue=document.createElementNS(pe,"path");return this.alternate?Ue.setAttribute("d",this.alternate):Ue.setAttribute("d",Le[this.pathName]),Ue},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Le[this.pathName]+"'/>"},ht}(),fe=function(){function ht(se){this.attributes=void 0,this.attributes=se||{}}var Z=ht.prototype;return Z.toNode=function(){var pe="http://www.w3.org/2000/svg",Ue=document.createElementNS(pe,"line");for(var ft in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ft)&&Ue.setAttribute(ft,this.attributes[ft]);return Ue},Z.toMarkup=function(){var pe="<line";for(var Ue in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ue)&&(pe+=" "+Ue+"='"+this.attributes[Ue]+"'");return pe+="/>",pe},ht}();function Oe(ht){if(ht instanceof Be)return ht;throw new Error("Expected symbolNode but got "+String(ht)+".")}function Je(ht){if(ht instanceof oe)return ht;throw new Error("Expected span<HtmlDomNode> but got "+String(ht)+".")}var Et={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},Ze={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ne={\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 It(ht,Z){Et[ht]=Z}function Xe(ht,Z,se){if(!Et[Z])throw new Error("Font metrics not found for font: "+Z+".");var pe=ht.charCodeAt(0),Ue=Et[Z][pe];if(!Ue&&ht[0]in Ne&&(pe=Ne[ht[0]].charCodeAt(0),Ue=Et[Z][pe]),!Ue&&se==="text"&&(G(pe)&&(Ue=Et[Z][77])),Ue)return{depth:Ue[0],height:Ue[1],italic:Ue[2],skew:Ue[3],width:Ue[4]}}var Ot={};function Bt(ht){var Z;if(ht>=5?Z=0:ht>=3?Z=1:Z=2,!Ot[Z]){var se=Ot[Z]={cssEmPerMu:Ze.quad[Z]/18};for(var pe in Ze)Ze.hasOwnProperty(pe)&&(se[pe]=Ze[pe][Z])}return Ot[Z]}var kt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},_t={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ft={math:{},text:{}},ke=Ft;function te(ht,Z,se,pe,Ue,ft){Ft[ht][Ue]={font:Z,group:se,replace:pe},ft&&pe&&(Ft[ht][pe]=Ft[ht][Ue])}var Q="math",qe="text",je="main",q="ams",wt="accent-token",Vt="bin",lt="close",or="inner",vr="mathord",An="op-token",hr="open",xr="punct",nr="rel",Yt="spacing",gt="textord";te(Q,je,nr,"\u2261","\\equiv",!0),te(Q,je,nr,"\u227A","\\prec",!0),te(Q,je,nr,"\u227B","\\succ",!0),te(Q,je,nr,"\u223C","\\sim",!0),te(Q,je,nr,"\u22A5","\\perp"),te(Q,je,nr,"\u2AAF","\\preceq",!0),te(Q,je,nr,"\u2AB0","\\succeq",!0),te(Q,je,nr,"\u2243","\\simeq",!0),te(Q,je,nr,"\u2223","\\mid",!0),te(Q,je,nr,"\u226A","\\ll",!0),te(Q,je,nr,"\u226B","\\gg",!0),te(Q,je,nr,"\u224D","\\asymp",!0),te(Q,je,nr,"\u2225","\\parallel"),te(Q,je,nr,"\u22C8","\\bowtie",!0),te(Q,je,nr,"\u2323","\\smile",!0),te(Q,je,nr,"\u2291","\\sqsubseteq",!0),te(Q,je,nr,"\u2292","\\sqsupseteq",!0),te(Q,je,nr,"\u2250","\\doteq",!0),te(Q,je,nr,"\u2322","\\frown",!0),te(Q,je,nr,"\u220B","\\ni",!0),te(Q,je,nr,"\u221D","\\propto",!0),te(Q,je,nr,"\u22A2","\\vdash",!0),te(Q,je,nr,"\u22A3","\\dashv",!0),te(Q,je,nr,"\u220B","\\owns"),te(Q,je,xr,".","\\ldotp"),te(Q,je,xr,"\u22C5","\\cdotp"),te(Q,je,gt,"#","\\#"),te(qe,je,gt,"#","\\#"),te(Q,je,gt,"&","\\&"),te(qe,je,gt,"&","\\&"),te(Q,je,gt,"\u2135","\\aleph",!0),te(Q,je,gt,"\u2200","\\forall",!0),te(Q,je,gt,"\u210F","\\hbar",!0),te(Q,je,gt,"\u2203","\\exists",!0),te(Q,je,gt,"\u2207","\\nabla",!0),te(Q,je,gt,"\u266D","\\flat",!0),te(Q,je,gt,"\u2113","\\ell",!0),te(Q,je,gt,"\u266E","\\natural",!0),te(Q,je,gt,"\u2663","\\clubsuit",!0),te(Q,je,gt,"\u2118","\\wp",!0),te(Q,je,gt,"\u266F","\\sharp",!0),te(Q,je,gt,"\u2662","\\diamondsuit",!0),te(Q,je,gt,"\u211C","\\Re",!0),te(Q,je,gt,"\u2661","\\heartsuit",!0),te(Q,je,gt,"\u2111","\\Im",!0),te(Q,je,gt,"\u2660","\\spadesuit",!0),te(qe,je,gt,"\xA7","\\S",!0),te(qe,je,gt,"\xB6","\\P",!0),te(Q,je,gt,"\u2020","\\dag"),te(qe,je,gt,"\u2020","\\dag"),te(qe,je,gt,"\u2020","\\textdagger"),te(Q,je,gt,"\u2021","\\ddag"),te(qe,je,gt,"\u2021","\\ddag"),te(qe,je,gt,"\u2021","\\textdaggerdbl"),te(Q,je,lt,"\u23B1","\\rmoustache",!0),te(Q,je,hr,"\u23B0","\\lmoustache",!0),te(Q,je,lt,"\u27EF","\\rgroup",!0),te(Q,je,hr,"\u27EE","\\lgroup",!0),te(Q,je,Vt,"\u2213","\\mp",!0),te(Q,je,Vt,"\u2296","\\ominus",!0),te(Q,je,Vt,"\u228E","\\uplus",!0),te(Q,je,Vt,"\u2293","\\sqcap",!0),te(Q,je,Vt,"\u2217","\\ast"),te(Q,je,Vt,"\u2294","\\sqcup",!0),te(Q,je,Vt,"\u25EF","\\bigcirc"),te(Q,je,Vt,"\u2219","\\bullet"),te(Q,je,Vt,"\u2021","\\ddagger"),te(Q,je,Vt,"\u2240","\\wr",!0),te(Q,je,Vt,"\u2A3F","\\amalg"),te(Q,je,Vt,"&","\\And"),te(Q,je,nr,"\u27F5","\\longleftarrow",!0),te(Q,je,nr,"\u21D0","\\Leftarrow",!0),te(Q,je,nr,"\u27F8","\\Longleftarrow",!0),te(Q,je,nr,"\u27F6","\\longrightarrow",!0),te(Q,je,nr,"\u21D2","\\Rightarrow",!0),te(Q,je,nr,"\u27F9","\\Longrightarrow",!0),te(Q,je,nr,"\u2194","\\leftrightarrow",!0),te(Q,je,nr,"\u27F7","\\longleftrightarrow",!0),te(Q,je,nr,"\u21D4","\\Leftrightarrow",!0),te(Q,je,nr,"\u27FA","\\Longleftrightarrow",!0),te(Q,je,nr,"\u21A6","\\mapsto",!0),te(Q,je,nr,"\u27FC","\\longmapsto",!0),te(Q,je,nr,"\u2197","\\nearrow",!0),te(Q,je,nr,"\u21A9","\\hookleftarrow",!0),te(Q,je,nr,"\u21AA","\\hookrightarrow",!0),te(Q,je,nr,"\u2198","\\searrow",!0),te(Q,je,nr,"\u21BC","\\leftharpoonup",!0),te(Q,je,nr,"\u21C0","\\rightharpoonup",!0),te(Q,je,nr,"\u2199","\\swarrow",!0),te(Q,je,nr,"\u21BD","\\leftharpoondown",!0),te(Q,je,nr,"\u21C1","\\rightharpoondown",!0),te(Q,je,nr,"\u2196","\\nwarrow",!0),te(Q,je,nr,"\u21CC","\\rightleftharpoons",!0),te(Q,q,nr,"\u226E","\\nless",!0),te(Q,q,nr,"\uE010","\\@nleqslant"),te(Q,q,nr,"\uE011","\\@nleqq"),te(Q,q,nr,"\u2A87","\\lneq",!0),te(Q,q,nr,"\u2268","\\lneqq",!0),te(Q,q,nr,"\uE00C","\\@lvertneqq"),te(Q,q,nr,"\u22E6","\\lnsim",!0),te(Q,q,nr,"\u2A89","\\lnapprox",!0),te(Q,q,nr,"\u2280","\\nprec",!0),te(Q,q,nr,"\u22E0","\\npreceq",!0),te(Q,q,nr,"\u22E8","\\precnsim",!0),te(Q,q,nr,"\u2AB9","\\precnapprox",!0),te(Q,q,nr,"\u2241","\\nsim",!0),te(Q,q,nr,"\uE006","\\@nshortmid"),te(Q,q,nr,"\u2224","\\nmid",!0),te(Q,q,nr,"\u22AC","\\nvdash",!0),te(Q,q,nr,"\u22AD","\\nvDash",!0),te(Q,q,nr,"\u22EA","\\ntriangleleft"),te(Q,q,nr,"\u22EC","\\ntrianglelefteq",!0),te(Q,q,nr,"\u228A","\\subsetneq",!0),te(Q,q,nr,"\uE01A","\\@varsubsetneq"),te(Q,q,nr,"\u2ACB","\\subsetneqq",!0),te(Q,q,nr,"\uE017","\\@varsubsetneqq"),te(Q,q,nr,"\u226F","\\ngtr",!0),te(Q,q,nr,"\uE00F","\\@ngeqslant"),te(Q,q,nr,"\uE00E","\\@ngeqq"),te(Q,q,nr,"\u2A88","\\gneq",!0),te(Q,q,nr,"\u2269","\\gneqq",!0),te(Q,q,nr,"\uE00D","\\@gvertneqq"),te(Q,q,nr,"\u22E7","\\gnsim",!0),te(Q,q,nr,"\u2A8A","\\gnapprox",!0),te(Q,q,nr,"\u2281","\\nsucc",!0),te(Q,q,nr,"\u22E1","\\nsucceq",!0),te(Q,q,nr,"\u22E9","\\succnsim",!0),te(Q,q,nr,"\u2ABA","\\succnapprox",!0),te(Q,q,nr,"\u2246","\\ncong",!0),te(Q,q,nr,"\uE007","\\@nshortparallel"),te(Q,q,nr,"\u2226","\\nparallel",!0),te(Q,q,nr,"\u22AF","\\nVDash",!0),te(Q,q,nr,"\u22EB","\\ntriangleright"),te(Q,q,nr,"\u22ED","\\ntrianglerighteq",!0),te(Q,q,nr,"\uE018","\\@nsupseteqq"),te(Q,q,nr,"\u228B","\\supsetneq",!0),te(Q,q,nr,"\uE01B","\\@varsupsetneq"),te(Q,q,nr,"\u2ACC","\\supsetneqq",!0),te(Q,q,nr,"\uE019","\\@varsupsetneqq"),te(Q,q,nr,"\u22AE","\\nVdash",!0),te(Q,q,nr,"\u2AB5","\\precneqq",!0),te(Q,q,nr,"\u2AB6","\\succneqq",!0),te(Q,q,nr,"\uE016","\\@nsubseteqq"),te(Q,q,Vt,"\u22B4","\\unlhd"),te(Q,q,Vt,"\u22B5","\\unrhd"),te(Q,q,nr,"\u219A","\\nleftarrow",!0),te(Q,q,nr,"\u219B","\\nrightarrow",!0),te(Q,q,nr,"\u21CD","\\nLeftarrow",!0),te(Q,q,nr,"\u21CF","\\nRightarrow",!0),te(Q,q,nr,"\u21AE","\\nleftrightarrow",!0),te(Q,q,nr,"\u21CE","\\nLeftrightarrow",!0),te(Q,q,nr,"\u25B3","\\vartriangle"),te(Q,q,gt,"\u210F","\\hslash"),te(Q,q,gt,"\u25BD","\\triangledown"),te(Q,q,gt,"\u25CA","\\lozenge"),te(Q,q,gt,"\u24C8","\\circledS"),te(Q,q,gt,"\xAE","\\circledR"),te(qe,q,gt,"\xAE","\\circledR"),te(Q,q,gt,"\u2221","\\measuredangle",!0),te(Q,q,gt,"\u2204","\\nexists"),te(Q,q,gt,"\u2127","\\mho"),te(Q,q,gt,"\u2132","\\Finv",!0),te(Q,q,gt,"\u2141","\\Game",!0),te(Q,q,gt,"\u2035","\\backprime"),te(Q,q,gt,"\u25B2","\\blacktriangle"),te(Q,q,gt,"\u25BC","\\blacktriangledown"),te(Q,q,gt,"\u25A0","\\blacksquare"),te(Q,q,gt,"\u29EB","\\blacklozenge"),te(Q,q,gt,"\u2605","\\bigstar"),te(Q,q,gt,"\u2222","\\sphericalangle",!0),te(Q,q,gt,"\u2201","\\complement",!0),te(Q,q,gt,"\xF0","\\eth",!0),te(Q,q,gt,"\u2571","\\diagup"),te(Q,q,gt,"\u2572","\\diagdown"),te(Q,q,gt,"\u25A1","\\square"),te(Q,q,gt,"\u25A1","\\Box"),te(Q,q,gt,"\u25CA","\\Diamond"),te(Q,q,gt,"\xA5","\\yen",!0),te(qe,q,gt,"\xA5","\\yen",!0),te(Q,q,gt,"\u2713","\\checkmark",!0),te(qe,q,gt,"\u2713","\\checkmark"),te(Q,q,gt,"\u2136","\\beth",!0),te(Q,q,gt,"\u2138","\\daleth",!0),te(Q,q,gt,"\u2137","\\gimel",!0),te(Q,q,gt,"\u03DD","\\digamma",!0),te(Q,q,gt,"\u03F0","\\varkappa"),te(Q,q,hr,"\u250C","\\ulcorner",!0),te(Q,q,lt,"\u2510","\\urcorner",!0),te(Q,q,hr,"\u2514","\\llcorner",!0),te(Q,q,lt,"\u2518","\\lrcorner",!0),te(Q,q,nr,"\u2266","\\leqq",!0),te(Q,q,nr,"\u2A7D","\\leqslant",!0),te(Q,q,nr,"\u2A95","\\eqslantless",!0),te(Q,q,nr,"\u2272","\\lesssim",!0),te(Q,q,nr,"\u2A85","\\lessapprox",!0),te(Q,q,nr,"\u224A","\\approxeq",!0),te(Q,q,Vt,"\u22D6","\\lessdot"),te(Q,q,nr,"\u22D8","\\lll",!0),te(Q,q,nr,"\u2276","\\lessgtr",!0),te(Q,q,nr,"\u22DA","\\lesseqgtr",!0),te(Q,q,nr,"\u2A8B","\\lesseqqgtr",!0),te(Q,q,nr,"\u2251","\\doteqdot"),te(Q,q,nr,"\u2253","\\risingdotseq",!0),te(Q,q,nr,"\u2252","\\fallingdotseq",!0),te(Q,q,nr,"\u223D","\\backsim",!0),te(Q,q,nr,"\u22CD","\\backsimeq",!0),te(Q,q,nr,"\u2AC5","\\subseteqq",!0),te(Q,q,nr,"\u22D0","\\Subset",!0),te(Q,q,nr,"\u228F","\\sqsubset",!0),te(Q,q,nr,"\u227C","\\preccurlyeq",!0),te(Q,q,nr,"\u22DE","\\curlyeqprec",!0),te(Q,q,nr,"\u227E","\\precsim",!0),te(Q,q,nr,"\u2AB7","\\precapprox",!0),te(Q,q,nr,"\u22B2","\\vartriangleleft"),te(Q,q,nr,"\u22B4","\\trianglelefteq"),te(Q,q,nr,"\u22A8","\\vDash",!0),te(Q,q,nr,"\u22AA","\\Vvdash",!0),te(Q,q,nr,"\u2323","\\smallsmile"),te(Q,q,nr,"\u2322","\\smallfrown"),te(Q,q,nr,"\u224F","\\bumpeq",!0),te(Q,q,nr,"\u224E","\\Bumpeq",!0),te(Q,q,nr,"\u2267","\\geqq",!0),te(Q,q,nr,"\u2A7E","\\geqslant",!0),te(Q,q,nr,"\u2A96","\\eqslantgtr",!0),te(Q,q,nr,"\u2273","\\gtrsim",!0),te(Q,q,nr,"\u2A86","\\gtrapprox",!0),te(Q,q,Vt,"\u22D7","\\gtrdot"),te(Q,q,nr,"\u22D9","\\ggg",!0),te(Q,q,nr,"\u2277","\\gtrless",!0),te(Q,q,nr,"\u22DB","\\gtreqless",!0),te(Q,q,nr,"\u2A8C","\\gtreqqless",!0),te(Q,q,nr,"\u2256","\\eqcirc",!0),te(Q,q,nr,"\u2257","\\circeq",!0),te(Q,q,nr,"\u225C","\\triangleq",!0),te(Q,q,nr,"\u223C","\\thicksim"),te(Q,q,nr,"\u2248","\\thickapprox"),te(Q,q,nr,"\u2AC6","\\supseteqq",!0),te(Q,q,nr,"\u22D1","\\Supset",!0),te(Q,q,nr,"\u2290","\\sqsupset",!0),te(Q,q,nr,"\u227D","\\succcurlyeq",!0),te(Q,q,nr,"\u22DF","\\curlyeqsucc",!0),te(Q,q,nr,"\u227F","\\succsim",!0),te(Q,q,nr,"\u2AB8","\\succapprox",!0),te(Q,q,nr,"\u22B3","\\vartriangleright"),te(Q,q,nr,"\u22B5","\\trianglerighteq"),te(Q,q,nr,"\u22A9","\\Vdash",!0),te(Q,q,nr,"\u2223","\\shortmid"),te(Q,q,nr,"\u2225","\\shortparallel"),te(Q,q,nr,"\u226C","\\between",!0),te(Q,q,nr,"\u22D4","\\pitchfork",!0),te(Q,q,nr,"\u221D","\\varpropto"),te(Q,q,nr,"\u25C0","\\blacktriangleleft"),te(Q,q,nr,"\u2234","\\therefore",!0),te(Q,q,nr,"\u220D","\\backepsilon"),te(Q,q,nr,"\u25B6","\\blacktriangleright"),te(Q,q,nr,"\u2235","\\because",!0),te(Q,q,nr,"\u22D8","\\llless"),te(Q,q,nr,"\u22D9","\\gggtr"),te(Q,q,Vt,"\u22B2","\\lhd"),te(Q,q,Vt,"\u22B3","\\rhd"),te(Q,q,nr,"\u2242","\\eqsim",!0),te(Q,je,nr,"\u22C8","\\Join"),te(Q,q,nr,"\u2251","\\Doteq",!0),te(Q,q,Vt,"\u2214","\\dotplus",!0),te(Q,q,Vt,"\u2216","\\smallsetminus"),te(Q,q,Vt,"\u22D2","\\Cap",!0),te(Q,q,Vt,"\u22D3","\\Cup",!0),te(Q,q,Vt,"\u2A5E","\\doublebarwedge",!0),te(Q,q,Vt,"\u229F","\\boxminus",!0),te(Q,q,Vt,"\u229E","\\boxplus",!0),te(Q,q,Vt,"\u22C7","\\divideontimes",!0),te(Q,q,Vt,"\u22C9","\\ltimes",!0),te(Q,q,Vt,"\u22CA","\\rtimes",!0),te(Q,q,Vt,"\u22CB","\\leftthreetimes",!0),te(Q,q,Vt,"\u22CC","\\rightthreetimes",!0),te(Q,q,Vt,"\u22CF","\\curlywedge",!0),te(Q,q,Vt,"\u22CE","\\curlyvee",!0),te(Q,q,Vt,"\u229D","\\circleddash",!0),te(Q,q,Vt,"\u229B","\\circledast",!0),te(Q,q,Vt,"\u22C5","\\centerdot"),te(Q,q,Vt,"\u22BA","\\intercal",!0),te(Q,q,Vt,"\u22D2","\\doublecap"),te(Q,q,Vt,"\u22D3","\\doublecup"),te(Q,q,Vt,"\u22A0","\\boxtimes",!0),te(Q,q,nr,"\u21E2","\\dashrightarrow",!0),te(Q,q,nr,"\u21E0","\\dashleftarrow",!0),te(Q,q,nr,"\u21C7","\\leftleftarrows",!0),te(Q,q,nr,"\u21C6","\\leftrightarrows",!0),te(Q,q,nr,"\u21DA","\\Lleftarrow",!0),te(Q,q,nr,"\u219E","\\twoheadleftarrow",!0),te(Q,q,nr,"\u21A2","\\leftarrowtail",!0),te(Q,q,nr,"\u21AB","\\looparrowleft",!0),te(Q,q,nr,"\u21CB","\\leftrightharpoons",!0),te(Q,q,nr,"\u21B6","\\curvearrowleft",!0),te(Q,q,nr,"\u21BA","\\circlearrowleft",!0),te(Q,q,nr,"\u21B0","\\Lsh",!0),te(Q,q,nr,"\u21C8","\\upuparrows",!0),te(Q,q,nr,"\u21BF","\\upharpoonleft",!0),te(Q,q,nr,"\u21C3","\\downharpoonleft",!0),te(Q,q,nr,"\u22B8","\\multimap",!0),te(Q,q,nr,"\u21AD","\\leftrightsquigarrow",!0),te(Q,q,nr,"\u21C9","\\rightrightarrows",!0),te(Q,q,nr,"\u21C4","\\rightleftarrows",!0),te(Q,q,nr,"\u21A0","\\twoheadrightarrow",!0),te(Q,q,nr,"\u21A3","\\rightarrowtail",!0),te(Q,q,nr,"\u21AC","\\looparrowright",!0),te(Q,q,nr,"\u21B7","\\curvearrowright",!0),te(Q,q,nr,"\u21BB","\\circlearrowright",!0),te(Q,q,nr,"\u21B1","\\Rsh",!0),te(Q,q,nr,"\u21CA","\\downdownarrows",!0),te(Q,q,nr,"\u21BE","\\upharpoonright",!0),te(Q,q,nr,"\u21C2","\\downharpoonright",!0),te(Q,q,nr,"\u21DD","\\rightsquigarrow",!0),te(Q,q,nr,"\u21DD","\\leadsto"),te(Q,q,nr,"\u21DB","\\Rrightarrow",!0),te(Q,q,nr,"\u21BE","\\restriction"),te(Q,je,gt,"\u2018","`"),te(Q,je,gt,"$","\\$"),te(qe,je,gt,"$","\\$"),te(qe,je,gt,"$","\\textdollar"),te(Q,je,gt,"%","\\%"),te(qe,je,gt,"%","\\%"),te(Q,je,gt,"_","\\_"),te(qe,je,gt,"_","\\_"),te(qe,je,gt,"_","\\textunderscore"),te(Q,je,gt,"\u2220","\\angle",!0),te(Q,je,gt,"\u221E","\\infty",!0),te(Q,je,gt,"\u2032","\\prime"),te(Q,je,gt,"\u25B3","\\triangle"),te(Q,je,gt,"\u0393","\\Gamma",!0),te(Q,je,gt,"\u0394","\\Delta",!0),te(Q,je,gt,"\u0398","\\Theta",!0),te(Q,je,gt,"\u039B","\\Lambda",!0),te(Q,je,gt,"\u039E","\\Xi",!0),te(Q,je,gt,"\u03A0","\\Pi",!0),te(Q,je,gt,"\u03A3","\\Sigma",!0),te(Q,je,gt,"\u03A5","\\Upsilon",!0),te(Q,je,gt,"\u03A6","\\Phi",!0),te(Q,je,gt,"\u03A8","\\Psi",!0),te(Q,je,gt,"\u03A9","\\Omega",!0),te(Q,je,gt,"A","\u0391"),te(Q,je,gt,"B","\u0392"),te(Q,je,gt,"E","\u0395"),te(Q,je,gt,"Z","\u0396"),te(Q,je,gt,"H","\u0397"),te(Q,je,gt,"I","\u0399"),te(Q,je,gt,"K","\u039A"),te(Q,je,gt,"M","\u039C"),te(Q,je,gt,"N","\u039D"),te(Q,je,gt,"O","\u039F"),te(Q,je,gt,"P","\u03A1"),te(Q,je,gt,"T","\u03A4"),te(Q,je,gt,"X","\u03A7"),te(Q,je,gt,"\xAC","\\neg",!0),te(Q,je,gt,"\xAC","\\lnot"),te(Q,je,gt,"\u22A4","\\top"),te(Q,je,gt,"\u22A5","\\bot"),te(Q,je,gt,"\u2205","\\emptyset"),te(Q,q,gt,"\u2205","\\varnothing"),te(Q,je,vr,"\u03B1","\\alpha",!0),te(Q,je,vr,"\u03B2","\\beta",!0),te(Q,je,vr,"\u03B3","\\gamma",!0),te(Q,je,vr,"\u03B4","\\delta",!0),te(Q,je,vr,"\u03F5","\\epsilon",!0),te(Q,je,vr,"\u03B6","\\zeta",!0),te(Q,je,vr,"\u03B7","\\eta",!0),te(Q,je,vr,"\u03B8","\\theta",!0),te(Q,je,vr,"\u03B9","\\iota",!0),te(Q,je,vr,"\u03BA","\\kappa",!0),te(Q,je,vr,"\u03BB","\\lambda",!0),te(Q,je,vr,"\u03BC","\\mu",!0),te(Q,je,vr,"\u03BD","\\nu",!0),te(Q,je,vr,"\u03BE","\\xi",!0),te(Q,je,vr,"\u03BF","\\omicron",!0),te(Q,je,vr,"\u03C0","\\pi",!0),te(Q,je,vr,"\u03C1","\\rho",!0),te(Q,je,vr,"\u03C3","\\sigma",!0),te(Q,je,vr,"\u03C4","\\tau",!0),te(Q,je,vr,"\u03C5","\\upsilon",!0),te(Q,je,vr,"\u03D5","\\phi",!0),te(Q,je,vr,"\u03C7","\\chi",!0),te(Q,je,vr,"\u03C8","\\psi",!0),te(Q,je,vr,"\u03C9","\\omega",!0),te(Q,je,vr,"\u03B5","\\varepsilon",!0),te(Q,je,vr,"\u03D1","\\vartheta",!0),te(Q,je,vr,"\u03D6","\\varpi",!0),te(Q,je,vr,"\u03F1","\\varrho",!0),te(Q,je,vr,"\u03C2","\\varsigma",!0),te(Q,je,vr,"\u03C6","\\varphi",!0),te(Q,je,Vt,"\u2217","*"),te(Q,je,Vt,"+","+"),te(Q,je,Vt,"\u2212","-"),te(Q,je,Vt,"\u22C5","\\cdot",!0),te(Q,je,Vt,"\u2218","\\circ"),te(Q,je,Vt,"\xF7","\\div",!0),te(Q,je,Vt,"\xB1","\\pm",!0),te(Q,je,Vt,"\xD7","\\times",!0),te(Q,je,Vt,"\u2229","\\cap",!0),te(Q,je,Vt,"\u222A","\\cup",!0),te(Q,je,Vt,"\u2216","\\setminus"),te(Q,je,Vt,"\u2227","\\land"),te(Q,je,Vt,"\u2228","\\lor"),te(Q,je,Vt,"\u2227","\\wedge",!0),te(Q,je,Vt,"\u2228","\\vee",!0),te(Q,je,gt,"\u221A","\\surd"),te(Q,je,hr,"(","("),te(Q,je,hr,"[","["),te(Q,je,hr,"\u27E8","\\langle",!0),te(Q,je,hr,"\u2223","\\lvert"),te(Q,je,hr,"\u2225","\\lVert"),te(Q,je,lt,")",")"),te(Q,je,lt,"]","]"),te(Q,je,lt,"?","?"),te(Q,je,lt,"!","!"),te(Q,je,lt,"\u27E9","\\rangle",!0),te(Q,je,lt,"\u2223","\\rvert"),te(Q,je,lt,"\u2225","\\rVert"),te(Q,je,nr,"=","="),te(Q,je,nr,"<","<"),te(Q,je,nr,">",">"),te(Q,je,nr,":",":"),te(Q,je,nr,"\u2248","\\approx",!0),te(Q,je,nr,"\u2245","\\cong",!0),te(Q,je,nr,"\u2265","\\ge"),te(Q,je,nr,"\u2265","\\geq",!0),te(Q,je,nr,"\u2190","\\gets"),te(Q,je,nr,">","\\gt"),te(Q,je,nr,"\u2208","\\in",!0),te(Q,je,nr,"\uE020","\\@not"),te(Q,je,nr,"\u2282","\\subset",!0),te(Q,je,nr,"\u2283","\\supset",!0),te(Q,je,nr,"\u2286","\\subseteq",!0),te(Q,je,nr,"\u2287","\\supseteq",!0),te(Q,q,nr,"\u2288","\\nsubseteq",!0),te(Q,q,nr,"\u2289","\\nsupseteq",!0),te(Q,je,nr,"\u22A8","\\models"),te(Q,je,nr,"\u2190","\\leftarrow",!0),te(Q,je,nr,"\u2264","\\le"),te(Q,je,nr,"\u2264","\\leq",!0),te(Q,je,nr,"<","\\lt"),te(Q,je,nr,"\u2192","\\rightarrow",!0),te(Q,je,nr,"\u2192","\\to"),te(Q,q,nr,"\u2271","\\ngeq",!0),te(Q,q,nr,"\u2270","\\nleq",!0),te(Q,je,Yt,"\xA0","\\ "),te(Q,je,Yt,"\xA0","~"),te(Q,je,Yt,"\xA0","\\space"),te(Q,je,Yt,"\xA0","\\nobreakspace"),te(qe,je,Yt,"\xA0","\\ "),te(qe,je,Yt,"\xA0","~"),te(qe,je,Yt,"\xA0","\\space"),te(qe,je,Yt,"\xA0","\\nobreakspace"),te(Q,je,Yt,null,"\\nobreak"),te(Q,je,Yt,null,"\\allowbreak"),te(Q,je,xr,",",","),te(Q,je,xr,";",";"),te(Q,q,Vt,"\u22BC","\\barwedge",!0),te(Q,q,Vt,"\u22BB","\\veebar",!0),te(Q,je,Vt,"\u2299","\\odot",!0),te(Q,je,Vt,"\u2295","\\oplus",!0),te(Q,je,Vt,"\u2297","\\otimes",!0),te(Q,je,gt,"\u2202","\\partial",!0),te(Q,je,Vt,"\u2298","\\oslash",!0),te(Q,q,Vt,"\u229A","\\circledcirc",!0),te(Q,q,Vt,"\u22A1","\\boxdot",!0),te(Q,je,Vt,"\u25B3","\\bigtriangleup"),te(Q,je,Vt,"\u25BD","\\bigtriangledown"),te(Q,je,Vt,"\u2020","\\dagger"),te(Q,je,Vt,"\u22C4","\\diamond"),te(Q,je,Vt,"\u22C6","\\star"),te(Q,je,Vt,"\u25C3","\\triangleleft"),te(Q,je,Vt,"\u25B9","\\triangleright"),te(Q,je,hr,"{","\\{"),te(qe,je,gt,"{","\\{"),te(qe,je,gt,"{","\\textbraceleft"),te(Q,je,lt,"}","\\}"),te(qe,je,gt,"}","\\}"),te(qe,je,gt,"}","\\textbraceright"),te(Q,je,hr,"{","\\lbrace"),te(Q,je,lt,"}","\\rbrace"),te(Q,je,hr,"[","\\lbrack"),te(qe,je,gt,"[","\\lbrack"),te(Q,je,lt,"]","\\rbrack"),te(qe,je,gt,"]","\\rbrack"),te(Q,je,hr,"(","\\lparen"),te(Q,je,lt,")","\\rparen"),te(qe,je,gt,"<","\\textless"),te(qe,je,gt,">","\\textgreater"),te(Q,je,hr,"\u230A","\\lfloor",!0),te(Q,je,lt,"\u230B","\\rfloor",!0),te(Q,je,hr,"\u2308","\\lceil",!0),te(Q,je,lt,"\u2309","\\rceil",!0),te(Q,je,gt,"\\","\\backslash"),te(Q,je,gt,"\u2223","|"),te(Q,je,gt,"\u2223","\\vert"),te(qe,je,gt,"|","\\textbar"),te(Q,je,gt,"\u2225","\\|"),te(Q,je,gt,"\u2225","\\Vert"),te(qe,je,gt,"\u2225","\\textbardbl"),te(qe,je,gt,"~","\\textasciitilde"),te(qe,je,gt,"\\","\\textbackslash"),te(qe,je,gt,"^","\\textasciicircum"),te(Q,je,nr,"\u2191","\\uparrow",!0),te(Q,je,nr,"\u21D1","\\Uparrow",!0),te(Q,je,nr,"\u2193","\\downarrow",!0),te(Q,je,nr,"\u21D3","\\Downarrow",!0),te(Q,je,nr,"\u2195","\\updownarrow",!0),te(Q,je,nr,"\u21D5","\\Updownarrow",!0),te(Q,je,An,"\u2210","\\coprod"),te(Q,je,An,"\u22C1","\\bigvee"),te(Q,je,An,"\u22C0","\\bigwedge"),te(Q,je,An,"\u2A04","\\biguplus"),te(Q,je,An,"\u22C2","\\bigcap"),te(Q,je,An,"\u22C3","\\bigcup"),te(Q,je,An,"\u222B","\\int"),te(Q,je,An,"\u222B","\\intop"),te(Q,je,An,"\u222C","\\iint"),te(Q,je,An,"\u222D","\\iiint"),te(Q,je,An,"\u220F","\\prod"),te(Q,je,An,"\u2211","\\sum"),te(Q,je,An,"\u2A02","\\bigotimes"),te(Q,je,An,"\u2A01","\\bigoplus"),te(Q,je,An,"\u2A00","\\bigodot"),te(Q,je,An,"\u222E","\\oint"),te(Q,je,An,"\u222F","\\oiint"),te(Q,je,An,"\u2230","\\oiiint"),te(Q,je,An,"\u2A06","\\bigsqcup"),te(Q,je,An,"\u222B","\\smallint"),te(qe,je,or,"\u2026","\\textellipsis"),te(Q,je,or,"\u2026","\\mathellipsis"),te(qe,je,or,"\u2026","\\ldots",!0),te(Q,je,or,"\u2026","\\ldots",!0),te(Q,je,or,"\u22EF","\\@cdots",!0),te(Q,je,or,"\u22F1","\\ddots",!0),te(Q,je,gt,"\u22EE","\\varvdots"),te(Q,je,wt,"\u02CA","\\acute"),te(Q,je,wt,"\u02CB","\\grave"),te(Q,je,wt,"\xA8","\\ddot"),te(Q,je,wt,"~","\\tilde"),te(Q,je,wt,"\u02C9","\\bar"),te(Q,je,wt,"\u02D8","\\breve"),te(Q,je,wt,"\u02C7","\\check"),te(Q,je,wt,"^","\\hat"),te(Q,je,wt,"\u20D7","\\vec"),te(Q,je,wt,"\u02D9","\\dot"),te(Q,je,wt,"\u02DA","\\mathring"),te(Q,je,vr,"\u0131","\\imath",!0),te(Q,je,vr,"\u0237","\\jmath",!0),te(qe,je,gt,"\u0131","\\i",!0),te(qe,je,gt,"\u0237","\\j",!0),te(qe,je,gt,"\xDF","\\ss",!0),te(qe,je,gt,"\xE6","\\ae",!0),te(qe,je,gt,"\xE6","\\ae",!0),te(qe,je,gt,"\u0153","\\oe",!0),te(qe,je,gt,"\xF8","\\o",!0),te(qe,je,gt,"\xC6","\\AE",!0),te(qe,je,gt,"\u0152","\\OE",!0),te(qe,je,gt,"\xD8","\\O",!0),te(qe,je,wt,"\u02CA","\\'"),te(qe,je,wt,"\u02CB","\\`"),te(qe,je,wt,"\u02C6","\\^"),te(qe,je,wt,"\u02DC","\\~"),te(qe,je,wt,"\u02C9","\\="),te(qe,je,wt,"\u02D8","\\u"),te(qe,je,wt,"\u02D9","\\."),te(qe,je,wt,"\u02DA","\\r"),te(qe,je,wt,"\u02C7","\\v"),te(qe,je,wt,"\xA8",'\\"'),te(qe,je,wt,"\u02DD","\\H"),te(qe,je,wt,"\u25EF","\\textcircled");var zr={"--":!0,"---":!0,"``":!0,"''":!0};te(qe,je,gt,"\u2013","--"),te(qe,je,gt,"\u2013","\\textendash"),te(qe,je,gt,"\u2014","---"),te(qe,je,gt,"\u2014","\\textemdash"),te(qe,je,gt,"\u2018","`"),te(qe,je,gt,"\u2018","\\textquoteleft"),te(qe,je,gt,"\u2019","'"),te(qe,je,gt,"\u2019","\\textquoteright"),te(qe,je,gt,"\u201C","``"),te(qe,je,gt,"\u201C","\\textquotedblleft"),te(qe,je,gt,"\u201D","''"),te(qe,je,gt,"\u201D","\\textquotedblright"),te(Q,je,gt,"\xB0","\\degree",!0),te(qe,je,gt,"\xB0","\\degree"),te(qe,je,gt,"\xB0","\\textdegree",!0),te(Q,je,vr,"\xA3","\\pounds"),te(Q,je,vr,"\xA3","\\mathsterling",!0),te(qe,je,vr,"\xA3","\\pounds"),te(qe,je,vr,"\xA3","\\textsterling",!0),te(Q,q,gt,"\u2720","\\maltese"),te(qe,q,gt,"\u2720","\\maltese"),te(qe,je,Yt,"\xA0","\\ "),te(qe,je,Yt,"\xA0"," "),te(qe,je,Yt,"\xA0","~");for(var pn='0123456789/@."',Nn=0;Nn<pn.length;Nn++){var Vn=pn.charAt(Nn);te(Q,je,gt,Vn,Vn)}for(var xi='0123456789!@*()-=+[]<>|";:?/.,',bn=0;bn<xi.length;bn++){var Pn=xi.charAt(bn);te(qe,je,gt,Pn,Pn)}for(var jt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",At=0;At<jt.length;At++){var xe=jt.charAt(At);te(Q,je,vr,xe,xe),te(qe,je,gt,xe,xe)}te(Q,q,gt,"C","\u2102"),te(qe,q,gt,"C","\u2102"),te(Q,q,gt,"H","\u210D"),te(qe,q,gt,"H","\u210D"),te(Q,q,gt,"N","\u2115"),te(qe,q,gt,"N","\u2115"),te(Q,q,gt,"P","\u2119"),te(qe,q,gt,"P","\u2119"),te(Q,q,gt,"Q","\u211A"),te(qe,q,gt,"Q","\u211A"),te(Q,q,gt,"R","\u211D"),te(qe,q,gt,"R","\u211D"),te(Q,q,gt,"Z","\u2124"),te(qe,q,gt,"Z","\u2124"),te(Q,je,vr,"h","\u210E"),te(qe,je,vr,"h","\u210E");for(var we="",Ee=0;Ee<jt.length;Ee++){var Ge=jt.charAt(Ee);we=String.fromCharCode(55349,56320+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),we=String.fromCharCode(55349,56372+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),we=String.fromCharCode(55349,56424+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),we=String.fromCharCode(55349,56580+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),we=String.fromCharCode(55349,56736+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),we=String.fromCharCode(55349,56788+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),we=String.fromCharCode(55349,56840+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),we=String.fromCharCode(55349,56944+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),Ee<26&&(we=String.fromCharCode(55349,56632+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we),we=String.fromCharCode(55349,56476+Ee),te(Q,je,vr,Ge,we),te(qe,je,gt,Ge,we))}we=String.fromCharCode(55349,56668),te(Q,je,vr,"k",we),te(qe,je,gt,"k",we);for(var nt=0;nt<10;nt++){var st=nt.toString();we=String.fromCharCode(55349,57294+nt),te(Q,je,vr,st,we),te(qe,je,gt,st,we),we=String.fromCharCode(55349,57314+nt),te(Q,je,vr,st,we),te(qe,je,gt,st,we),we=String.fromCharCode(55349,57324+nt),te(Q,je,vr,st,we),te(qe,je,gt,st,we),we=String.fromCharCode(55349,57334+nt),te(Q,je,vr,st,we),te(qe,je,gt,st,we)}for(var Mt="\xC7\xD0\xDE\xE7\xFE",wr=0;wr<Mt.length;wr++){var Pr=Mt.charAt(wr);te(Q,je,vr,Pr,Pr),te(qe,je,gt,Pr,Pr)}te(qe,je,gt,"\xF0","\xF0"),te(qe,je,gt,"\u2013","\u2013"),te(qe,je,gt,"\u2014","\u2014"),te(qe,je,gt,"\u2018","\u2018"),te(qe,je,gt,"\u2019","\u2019"),te(qe,je,gt,"\u201C","\u201C"),te(qe,je,gt,"\u201D","\u201D");var qr=[["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"]],xt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],rt=function(Z,se){var pe=Z.charCodeAt(0),Ue=Z.charCodeAt(1),ft=(pe-55296)*1024+(Ue-56320)+65536,zt=se==="math"?0:1;if(119808<=ft&&ft<120484){var Dr=Math.floor((ft-119808)/26);return[qr[Dr][2],qr[Dr][zt]]}else if(120782<=ft&&ft<=120831){var Xr=Math.floor((ft-120782)/10);return[xt[Xr][2],xt[Xr][zt]]}else{if(ft===120485||ft===120486)return[qr[0][2],qr[0][zt]];if(120486<ft&&ft<120782)return["",""];throw new c("Unsupported character: "+Z)}},it=[[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]],$t=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Dt=function(Z,se){return se.size<2?Z:it[Z-1][se.size-1]},St=function(){function ht(se){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=se.style,this.color=se.color,this.size=se.size||ht.BASESIZE,this.textSize=se.textSize||this.size,this.phantom=!!se.phantom,this.font=se.font||"",this.fontFamily=se.fontFamily||"",this.fontWeight=se.fontWeight||"",this.fontShape=se.fontShape||"",this.sizeMultiplier=$t[this.size-1],this.maxSize=se.maxSize,this.minRuleThickness=se.minRuleThickness,this._fontMetrics=void 0}var Z=ht.prototype;return Z.extend=function(pe){var Ue={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 ft in pe)pe.hasOwnProperty(ft)&&(Ue[ft]=pe[ft]);return new ht(Ue)},Z.havingStyle=function(pe){return this.style===pe?this:this.extend({style:pe,size:Dt(this.textSize,pe)})},Z.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Z.havingSize=function(pe){return this.size===pe&&this.textSize===pe?this:this.extend({style:this.style.text(),size:pe,textSize:pe,sizeMultiplier:$t[pe-1]})},Z.havingBaseStyle=function(pe){pe=pe||this.style.text();var Ue=Dt(ht.BASESIZE,pe);return this.size===Ue&&this.textSize===ht.BASESIZE&&this.style===pe?this:this.extend({style:pe,size:Ue})},Z.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})},Z.withColor=function(pe){return this.extend({color:pe})},Z.withPhantom=function(){return this.extend({phantom:!0})},Z.withFont=function(pe){return this.extend({font:pe})},Z.withTextFontFamily=function(pe){return this.extend({fontFamily:pe,font:""})},Z.withTextFontWeight=function(pe){return this.extend({fontWeight:pe,font:""})},Z.withTextFontShape=function(pe){return this.extend({fontShape:pe,font:""})},Z.sizingClasses=function(pe){return pe.size!==this.size?["sizing","reset-size"+pe.size,"size"+this.size]:[]},Z.baseSizingClasses=function(){return this.size!==ht.BASESIZE?["sizing","reset-size"+this.size,"size"+ht.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Bt(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},ht}();St.BASESIZE=6;var Ut=St,vt={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},Pt={ex:!0,em:!0,mu:!0},br=function(Z){return typeof Z!="string"&&(Z=Z.unit),Z in vt||Z in Pt||Z==="ex"},ur=function(Z,se){var pe;if(Z.unit in vt)pe=vt[Z.unit]/se.fontMetrics().ptPerEm/se.sizeMultiplier;else if(Z.unit==="mu")pe=se.fontMetrics().cssEmPerMu;else{var Ue;if(se.style.isTight()?Ue=se.havingStyle(se.style.text()):Ue=se,Z.unit==="ex")pe=Ue.fontMetrics().xHeight;else if(Z.unit==="em")pe=Ue.fontMetrics().quad;else throw new c("Invalid unit: '"+Z.unit+"'");Ue!==se&&(pe*=Ue.sizeMultiplier/se.sizeMultiplier)}return Math.min(Z.number*pe,se.maxSize)},fr=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Jr=function(Z,se,pe){return ke[pe][Z]&&ke[pe][Z].replace&&(Z=ke[pe][Z].replace),{value:Z,metrics:Xe(Z,se,pe)}},Zr=function(Z,se,pe,Ue,ft){var zt=Jr(Z,se,pe),Dr=zt.metrics;Z=zt.value;var Xr;if(Dr){var dn=Dr.italic;(pe==="text"||Ue&&Ue.font==="mathit")&&(dn=0),Xr=new Be(Z,Dr.height,Dr.depth,dn,Dr.skew,Dr.width,ft)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+se+"' and mode '"+pe+"'")),Xr=new Be(Z,0,0,0,0,0,ft);if(Ue){Xr.maxFontSize=Ue.sizeMultiplier,Ue.style.isTight()&&Xr.classes.push("mtight");var Kn=Ue.getColor();Kn&&(Xr.style.color=Kn)}return Xr},Fn=function(Z,se,pe,Ue){return Ue===void 0&&(Ue=[]),pe.font==="boldsymbol"&&Jr(Z,"Main-Bold",se).metrics?Zr(Z,"Main-Bold",se,pe,Ue.concat(["mathbf"])):Z==="\\"||ke[se][Z].font==="main"?Zr(Z,"Main-Regular",se,pe,Ue):Zr(Z,"AMS-Regular",se,pe,Ue.concat(["amsrm"]))},Rn=function(Z,se,pe,Ue){return/[0-9]/.test(Z.charAt(0))||y.contains(fr,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ei=function(Z,se,pe,Ue){return y.contains(fr,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(Z.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},di=function(Z,se,pe,Ue){return Jr(Z,"Math-BoldItalic",se).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},gi=function(Z,se,pe){var Ue=Z.mode,ft=Z.text,zt=["mord"],Dr=Ue==="math"||Ue==="text"&&se.font,Xr=Dr?se.font:se.fontFamily;if(ft.charCodeAt(0)===55349){var dn=rt(ft,Ue),Kn=dn[0],$n=dn[1];return Zr(ft,Kn,Ue,se,zt.concat($n))}else if(Xr){var Qn,Ei;if(Xr==="boldsymbol"||Xr==="mathnormal"){var Fi=Xr==="boldsymbol"?di(ft,Ue,se,zt):ei(ft,Ue,se,zt);Qn=Fi.fontName,Ei=[Fi.fontClass]}else y.contains(fr,ft)?(Qn="Main-Italic",Ei=["mathit"]):Dr?(Qn=Gr[Xr].fontName,Ei=[Xr]):(Qn=Lr(Xr,se.fontWeight,se.fontShape),Ei=[Xr,se.fontWeight,se.fontShape]);if(Jr(ft,Qn,Ue).metrics)return Zr(ft,Qn,Ue,se,zt.concat(Ei));if(zr.hasOwnProperty(ft)&&Qn.substr(0,10)==="Typewriter"){for(var Aa=[],Oa=0;Oa<ft.length;Oa++)Aa.push(Zr(ft[Oa],Qn,Ue,se,zt.concat(Ei)));return Qe(Aa)}}if(pe==="mathord"){var fo=Rn(ft,Ue,se,zt);return Zr(ft,fo.fontName,Ue,se,zt.concat([fo.fontClass]))}else if(pe==="textord"){var wo=ke[Ue][ft]&&ke[Ue][ft].font;if(wo==="ams"){var lo=Lr("amsrm",se.fontWeight,se.fontShape);return Zr(ft,lo,Ue,se,zt.concat("amsrm",se.fontWeight,se.fontShape))}else if(wo==="main"||!wo){var Yo=Lr("textrm",se.fontWeight,se.fontShape);return Zr(ft,Yo,Ue,se,zt.concat(se.fontWeight,se.fontShape))}else{var Vo=Lr(wo,se.fontWeight,se.fontShape);return Zr(ft,Vo,Ue,se,zt.concat(Vo,se.fontWeight,se.fontShape))}}else throw new Error("unexpected type: "+pe+" in makeOrd")},Ii=function(Z,se){if(le(Z.classes)!==le(se.classes)||Z.skew!==se.skew||Z.maxFontSize!==se.maxFontSize)return!1;for(var pe in Z.style)if(Z.style.hasOwnProperty(pe)&&Z.style[pe]!==se.style[pe])return!1;for(var Ue in se.style)if(se.style.hasOwnProperty(Ue)&&Z.style[Ue]!==se.style[Ue])return!1;return!0},Ye=function(Z){for(var se=0;se<Z.length-1;se++){var pe=Z[se],Ue=Z[se+1];pe instanceof Be&&Ue instanceof Be&&Ii(pe,Ue)&&(pe.text+=Ue.text,pe.height=Math.max(pe.height,Ue.height),pe.depth=Math.max(pe.depth,Ue.depth),pe.italic=Ue.italic,Z.splice(se+1,1),se--)}return Z},ge=function(Z){for(var se=0,pe=0,Ue=0,ft=0;ft<Z.children.length;ft++){var zt=Z.children[ft];zt.height>se&&(se=zt.height),zt.depth>pe&&(pe=zt.depth),zt.maxFontSize>Ue&&(Ue=zt.maxFontSize)}Z.height=se,Z.depth=pe,Z.maxFontSize=Ue},Ie=function(Z,se,pe,Ue){var ft=new oe(Z,se,pe,Ue);return ge(ft),ft},Fe=function(Z,se,pe,Ue){return new oe(Z,se,pe,Ue)},Ve=function(Z,se,pe){var Ue=Ie([Z],[],se);return Ue.height=Math.max(pe||se.fontMetrics().defaultRuleThickness,se.minRuleThickness),Ue.style.borderBottomWidth=Ue.height+"em",Ue.maxFontSize=1,Ue},We=function(Z,se,pe,Ue){var ft=new ce(Z,se,pe,Ue);return ge(ft),ft},Qe=function(Z){var se=new ee(Z);return ge(se),se},yt=function(Z,se){return Z instanceof ee?Ie([],[Z],se):Z},ot=function(Z){if(Z.positionType==="individualShift"){for(var se=Z.children,pe=[se[0]],Ue=-se[0].shift-se[0].elem.depth,ft=Ue,zt=1;zt<se.length;zt++){var Dr=-se[zt].shift-ft-se[zt].elem.depth,Xr=Dr-(se[zt-1].elem.height+se[zt-1].elem.depth);ft=ft+Dr,pe.push({type:"kern",size:Xr}),pe.push(se[zt])}return{children:pe,depth:Ue}}var dn;if(Z.positionType==="top"){for(var Kn=Z.positionData,$n=0;$n<Z.children.length;$n++){var Qn=Z.children[$n];Kn-=Qn.type==="kern"?Qn.size:Qn.elem.height+Qn.elem.depth}dn=Kn}else if(Z.positionType==="bottom")dn=-Z.positionData;else{var Ei=Z.children[0];if(Ei.type!=="elem")throw new Error('First child must have type "elem".');if(Z.positionType==="shift")dn=-Ei.elem.depth-Z.positionData;else if(Z.positionType==="firstBaseline")dn=-Ei.elem.depth;else throw new Error("Invalid positionType "+Z.positionType+".")}return{children:Z.children,depth:dn}},Zt=function(Z,se){for(var pe=ot(Z),Ue=pe.children,ft=pe.depth,zt=0,Dr=0;Dr<Ue.length;Dr++){var Xr=Ue[Dr];if(Xr.type==="elem"){var dn=Xr.elem;zt=Math.max(zt,dn.maxFontSize,dn.height)}}zt+=2;var Kn=Ie(["pstrut"],[]);Kn.style.height=zt+"em";for(var $n=[],Qn=ft,Ei=ft,Fi=ft,Aa=0;Aa<Ue.length;Aa++){var Oa=Ue[Aa];if(Oa.type==="kern")Fi+=Oa.size;else{var fo=Oa.elem,wo=Oa.wrapperClasses||[],lo=Oa.wrapperStyle||{},Yo=Ie(wo,[Kn,fo],void 0,lo);Yo.style.top=-zt-Fi-fo.depth+"em",Oa.marginLeft&&(Yo.style.marginLeft=Oa.marginLeft),Oa.marginRight&&(Yo.style.marginRight=Oa.marginRight),$n.push(Yo),Fi+=fo.height+fo.depth}Qn=Math.min(Qn,Fi),Ei=Math.max(Ei,Fi)}var Vo=Ie(["vlist"],$n);Vo.style.height=Ei+"em";var No;if(Qn<0){var ao=Ie([],[]),Ka=Ie(["vlist"],[ao]);Ka.style.height=-Qn+"em";var is=Ie(["vlist-s"],[new Be("\u200B")]);No=[Ie(["vlist-r"],[Vo,is]),Ie(["vlist-r"],[Ka])]}else No=[Ie(["vlist-r"],[Vo])];var Is=Ie(["vlist-t"],No);return No.length===2&&Is.classes.push("vlist-t2"),Is.height=Ei,Is.depth=-Qn,Is},Rr=function(Z,se){var pe=Ie(["mspace"],[],se),Ue=ur(Z,se);return pe.style.marginRight=Ue+"em",pe},Lr=function(Z,se,pe){var Ue="";switch(Z){case"amsrm":Ue="AMS";break;case"textrm":Ue="Main";break;case"textsf":Ue="SansSerif";break;case"texttt":Ue="Typewriter";break;default:Ue=Z}var ft;return se==="textbf"&&pe==="textit"?ft="BoldItalic":se==="textbf"?ft="Bold":se==="textit"?ft="Italic":ft="Regular",Ue+"-"+ft},Gr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},er={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},On=function(Z,se){var pe=er[Z],Ue=pe[0],ft=pe[1],zt=pe[2],Dr=new ae(Ue),Xr=new De([Dr],{width:ft+"em",height:zt+"em",style:"width:"+ft+"em",viewBox:"0 0 "+1e3*ft+" "+1e3*zt,preserveAspectRatio:"xMinYMin"}),dn=Fe(["overlay"],[Xr],se);return dn.height=zt,dn.style.height=zt+"em",dn.style.width=ft+"em",dn},yr={fontMap:Gr,makeSymbol:Zr,mathsym:Fn,makeSpan:Ie,makeSvgSpan:Fe,makeLineSpan:Ve,makeAnchor:We,makeFragment:Qe,wrapFragment:yt,makeVList:Zt,makeOrd:gi,makeGlue:Rr,staticSvg:On,svgData:er,tryCombineChars:Ye};function gn(ht,Z){var se=tn(ht,Z);if(!se)throw new Error("Expected node of type "+Z+", but got "+(ht?"node of type "+ht.type:String(ht)));return se}function tn(ht,Z){return ht&&ht.type===Z?ht:null}function Fr(ht,Z){var se=Xn(ht,Z);if(!se)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(ht?ht.type==="atom"?"atom of family "+ht.family:"node of type "+ht.type:String(ht)));return se}function Xn(ht,Z){return ht&&ht.type==="atom"&&ht.family===Z?ht:null}function hi(ht){var Z=_i(ht);if(!Z)throw new Error("Expected node of symbol group type, but got "+(ht?"node of type "+ht.type:String(ht)));return Z}function _i(ht){return ht&&(ht.type==="atom"||_t.hasOwnProperty(ht.type))?ht:null}var Ur={number:3,unit:"mu"},sn={number:4,unit:"mu"},Cn={number:5,unit:"mu"},Nt={mord:{mop:Ur,mbin:sn,mrel:Cn,minner:Ur},mop:{mord:Ur,mop:Ur,mrel:Cn,minner:Ur},mbin:{mord:sn,mop:sn,mopen:sn,minner:sn},mrel:{mord:Cn,mop:Cn,mopen:Cn,minner:Cn},mopen:{},mclose:{mop:Ur,mbin:sn,mrel:Cn,minner:Ur},mpunct:{mord:Ur,mop:Ur,mrel:Cn,mopen:Ur,mclose:Ur,mpunct:Ur,minner:Ur},minner:{mord:Ur,mop:Ur,mbin:sn,mrel:Cn,mopen:Ur,mpunct:Ur,minner:Ur}},dt={mord:{mop:Ur},mop:{mord:Ur,mop:Ur},mbin:{},mrel:{},mopen:{},mclose:{mop:Ur},mpunct:{},minner:{mop:Ur}},bt={},Tt={},Lt={};function pt(ht){for(var Z=ht.type,se=ht.names,pe=ht.props,Ue=ht.handler,ft=ht.htmlBuilder,zt=ht.mathmlBuilder,Dr={type:Z,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:Ue},Xr=0;Xr<se.length;++Xr)bt[se[Xr]]=Dr;Z&&(ft&&(Tt[Z]=ft),zt&&(Lt[Z]=zt))}function Gt(ht){var Z=ht.type,se=ht.htmlBuilder,pe=ht.mathmlBuilder;pt({type:Z,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:se,mathmlBuilder:pe})}var qt=function(Z){var se=tn(Z,"ordgroup");return se?se.body:[Z]},rr=yr.makeSpan,mr=["leftmost","mbin","mopen","mrel","mop","mpunct"],wn=["rightmost","mrel","mclose","mpunct"],fn={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},Wn={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Yr=function(Z,se,pe,Ue){Ue===void 0&&(Ue=[null,null]);for(var ft=[],zt=0;zt<Z.length;zt++){var Dr=ti(Z[zt],se);if(Dr instanceof ee){var Xr=Dr.children;ft.push.apply(ft,Xr)}else ft.push(Dr)}if(!pe)return ft;var dn=se;if(Z.length===1){var Kn=tn(Z[0],"sizing")||tn(Z[0],"styling");Kn&&(Kn.type==="sizing"?dn=se.havingSize(Kn.size):Kn.type==="styling"&&(dn=se.havingStyle(fn[Kn.style])))}var $n=rr([Ue[0]||"leftmost"],[],se),Qn=rr([Ue[1]||"rightmost"],[],se);return Sr(ft,function(Ei,Fi){var Aa=Fi.classes[0],Oa=Ei.classes[0];Aa==="mbin"&&y.contains(wn,Oa)?Fi.classes[0]="mord":Oa==="mbin"&&y.contains(mr,Aa)&&(Ei.classes[0]="mord")},{node:$n},Qn),Sr(ft,function(Ei,Fi){var Aa=In(Fi),Oa=In(Ei),fo=Aa&&Oa?Ei.hasClass("mtight")?dt[Aa][Oa]:Nt[Aa][Oa]:null;if(fo)return yr.makeGlue(fo,dn)},{node:$n},Qn),ft},Sr=function ht(Z,se,pe,Ue){Ue&&Z.push(Ue);for(var ft=0;ft<Z.length;ft++){var zt=Z[ft],Dr=ln(zt);if(Dr){ht(Dr.children,se,pe);continue}if(zt.classes[0]==="mspace")continue;var Xr=se(zt,pe.node);Xr&&(pe.insertAfter?pe.insertAfter(Xr):(Z.unshift(Xr),ft++)),pe.node=zt,pe.insertAfter=function(dn){return function(Kn){Z.splice(dn+1,0,Kn),ft++}}(ft)}Ue&&Z.pop()},ln=function(Z){return Z instanceof ee||Z instanceof ce?Z:null},Tn=function ht(Z,se){var pe=ln(Z);if(pe){var Ue=pe.children;if(Ue.length){if(se==="right")return ht(Ue[Ue.length-1],"right");if(se==="left")return ht(Ue[0],"left")}}return Z},In=function(Z,se){return Z?(se&&(Z=Tn(Z,se)),Wn[Z.classes[0]]||null):null},Un=function(Z,se){var pe=["nulldelimiter"].concat(Z.baseSizingClasses());return rr(se.concat(pe))},ti=function(Z,se,pe){if(!Z)return rr();if(Tt[Z.type]){var Ue=Tt[Z.type](Z,se);if(pe&&se.size!==pe.size){Ue=rr(se.sizingClasses(pe),[Ue],se);var ft=se.sizeMultiplier/pe.sizeMultiplier;Ue.height*=ft,Ue.depth*=ft}return Ue}else throw new c("Got group of unknown type: '"+Z.type+"'")};function li(ht,Z){var se=rr(["base"],ht,Z),pe=rr(["strut"]);return pe.style.height=se.height+se.depth+"em",pe.style.verticalAlign=-se.depth+"em",se.children.unshift(pe),se}function si(ht,Z){var se=null;ht.length===1&&ht[0].type==="tag"&&(se=ht[0].tag,ht=ht[0].body);for(var pe=Yr(ht,Z,!0),Ue=[],ft=[],zt=0;zt<pe.length;zt++)if(ft.push(pe[zt]),pe[zt].hasClass("mbin")||pe[zt].hasClass("mrel")||pe[zt].hasClass("allowbreak")){for(var Dr=!1;zt<pe.length-1&&pe[zt+1].hasClass("mspace")&&!pe[zt+1].hasClass("newline");)zt++,ft.push(pe[zt]),pe[zt].hasClass("nobreak")&&(Dr=!0);Dr||(Ue.push(li(ft,Z)),ft=[])}else pe[zt].hasClass("newline")&&(ft.pop(),ft.length>0&&(Ue.push(li(ft,Z)),ft=[]),Ue.push(pe[zt]));ft.length>0&&Ue.push(li(ft,Z));var Xr;se&&(Xr=li(Yr(se,Z,!0)),Xr.classes=["tag"],Ue.push(Xr));var dn=rr(["katex-html"],Ue);if(dn.setAttribute("aria-hidden","true"),Xr){var Kn=Xr.children[0];Kn.style.height=dn.height+dn.depth+"em",Kn.style.verticalAlign=-dn.depth+"em"}return dn}function ki(ht){return new ee(ht)}var zi=function(){function ht(se,pe){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=se,this.attributes={},this.children=pe||[]}var Z=ht.prototype;return Z.setAttribute=function(pe,Ue){this.attributes[pe]=Ue},Z.getAttribute=function(pe){return this.attributes[pe]},Z.toNode=function(){var pe=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Ue in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ue)&&pe.setAttribute(Ue,this.attributes[Ue]);for(var ft=0;ft<this.children.length;ft++)pe.appendChild(this.children[ft].toNode());return pe},Z.toMarkup=function(){var pe="<"+this.type;for(var Ue in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ue)&&(pe+=" "+Ue+'="',pe+=y.escape(this.attributes[Ue]),pe+='"');pe+=">";for(var ft=0;ft<this.children.length;ft++)pe+=this.children[ft].toMarkup();return pe+="</"+this.type+">",pe},Z.toText=function(){return this.children.map(function(pe){return pe.toText()}).join("")},ht}(),Ri=function(){function ht(se){this.text=void 0,this.text=se}var Z=ht.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return y.escape(this.toText())},Z.toText=function(){return this.text},ht}(),Yi=function(){function ht(se){this.width=void 0,this.character=void 0,this.width=se,se>=.05555&&se<=.05556?this.character="\u200A":se>=.1666&&se<=.1667?this.character="\u2009":se>=.2222&&se<=.2223?this.character="\u2005":se>=.2777&&se<=.2778?this.character="\u2005\u200A":se>=-.05556&&se<=-.05555?this.character="\u200A\u2063":se>=-.1667&&se<=-.1666?this.character="\u2009\u2063":se>=-.2223&&se<=-.2222?this.character="\u205F\u2063":se>=-.2778&&se<=-.2777?this.character="\u2005\u2063":this.character=null}var Z=ht.prototype;return Z.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},Z.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},Z.toText=function(){return this.character?this.character:" "},ht}(),Zn={MathNode:zi,TextNode:Ri,SpaceNode:Yi,newDocumentFragment:ki},hn=function(Z,se,pe){return ke[se][Z]&&ke[se][Z].replace&&Z.charCodeAt(0)!==55349&&!(zr.hasOwnProperty(Z)&&pe&&(pe.fontFamily&&pe.fontFamily.substr(4,2)==="tt"||pe.font&&pe.font.substr(4,2)==="tt"))&&(Z=ke[se][Z].replace),new Zn.TextNode(Z)},mi=function(Z){return Z.length===1?Z[0]:new Zn.MathNode("mrow",Z)},Hi=function(Z,se){if(se.fontFamily==="texttt")return"monospace";if(se.fontFamily==="textsf")return se.fontShape==="textit"&&se.fontWeight==="textbf"?"sans-serif-bold-italic":se.fontShape==="textit"?"sans-serif-italic":se.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(se.fontShape==="textit"&&se.fontWeight==="textbf")return"bold-italic";if(se.fontShape==="textit")return"italic";if(se.fontWeight==="textbf")return"bold";var pe=se.font;if(!pe||pe==="mathnormal")return null;var Ue=Z.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 ft=Z.text;if(y.contains(["\\imath","\\jmath"],ft))return null;ke[Ue][ft]&&ke[Ue][ft].replace&&(ft=ke[Ue][ft].replace);var zt=yr.fontMap[pe].fontName;return Xe(ft,zt,Ue)?yr.fontMap[pe].variant:null},Li=function(Z,se,pe){if(Z.length===1){var Ue=Ar(Z[0],se);return pe&&Ue instanceof zi&&Ue.type==="mo"&&(Ue.setAttribute("lspace","0em"),Ue.setAttribute("rspace","0em")),[Ue]}for(var ft=[],zt,Dr=0;Dr<Z.length;Dr++){var Xr=Ar(Z[Dr],se);if(Xr instanceof zi&&zt instanceof zi){if(Xr.type==="mtext"&&zt.type==="mtext"&&Xr.getAttribute("mathvariant")===zt.getAttribute("mathvariant")){var dn;(dn=zt.children).push.apply(dn,Xr.children);continue}else if(Xr.type==="mn"&&zt.type==="mn"){var Kn;(Kn=zt.children).push.apply(Kn,Xr.children);continue}else if(Xr.type==="mi"&&Xr.children.length===1&&zt.type==="mn"){var $n=Xr.children[0];if($n instanceof Ri&&$n.text==="."){var Qn;(Qn=zt.children).push.apply(Qn,Xr.children);continue}}else if(zt.type==="mi"&&zt.children.length===1){var Ei=zt.children[0];if(Ei instanceof Ri&&Ei.text==="\u0338"&&(Xr.type==="mo"||Xr.type==="mi"||Xr.type==="mn")){var Fi=Xr.children[0];Fi instanceof Ri&&Fi.text.length>0&&(Fi.text=Fi.text.slice(0,1)+"\u0338"+Fi.text.slice(1),ft.pop())}}}ft.push(Xr),zt=Xr}return ft},Bi=function(Z,se,pe){return mi(Li(Z,se,pe))},Ar=function(Z,se){if(!Z)return new Zn.MathNode("mrow");if(Lt[Z.type]){var pe=Lt[Z.type](Z,se);return pe}else throw new c("Got group of unknown type: '"+Z.type+"'")};function ar(ht,Z,se,pe){var Ue=Li(ht,se),ft;Ue.length===1&&Ue[0]instanceof zi&&y.contains(["mrow","mtable"],Ue[0].type)?ft=Ue[0]:ft=new Zn.MathNode("mrow",Ue);var zt=new Zn.MathNode("annotation",[new Zn.TextNode(Z)]);zt.setAttribute("encoding","application/x-tex");var Dr=new Zn.MathNode("semantics",[ft,zt]),Xr=new Zn.MathNode("math",[Dr]);Xr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var dn=pe?"katex":"katex-mathml";return yr.makeSpan([dn],[Xr])}var on=function(Z){return new Ut({style:Z.displayMode?H.DISPLAY:H.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},Qt=function(Z,se){if(se.displayMode){var pe=["katex-display"];se.leqno&&pe.push("leqno"),se.fleqn&&pe.push("fleqn"),Z=yr.makeSpan(pe,[Z])}return Z},gr=function(Z,se,pe){var Ue=on(pe),ft;if(pe.output==="mathml")return ar(Z,se,Ue,!0);if(pe.output==="html"){var zt=si(Z,Ue);ft=yr.makeSpan(["katex"],[zt])}else{var Dr=ar(Z,se,Ue,!1),Xr=si(Z,Ue);ft=yr.makeSpan(["katex"],[Dr,Xr])}return Qt(ft,pe)},Or=function(Z,se,pe){var Ue=on(pe),ft=si(Z,Ue),zt=yr.makeSpan(["katex"],[ft]);return Qt(zt,pe)},Kr=gr,mn={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"},mt=function(Z){var se=new Zn.MathNode("mo",[new Zn.TextNode(mn[Z.substr(1)])]);return se.setAttribute("stretchy","true"),se},dr={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]},pr=function(Z){return Z.type==="ordgroup"?Z.body.length:1},kr=function(Z,se){function pe(){var Xr=4e5,dn=Z.label.substr(1);if(y.contains(["widehat","widecheck","widetilde","utilde"],dn)){var Kn=Z,$n=pr(Kn.base),Qn,Ei,Fi;if($n>5)dn==="widehat"||dn==="widecheck"?(Qn=420,Xr=2364,Fi=.42,Ei=dn+"4"):(Qn=312,Xr=2340,Fi=.34,Ei="tilde4");else{var Aa=[1,1,2,2,3,3][$n];dn==="widehat"||dn==="widecheck"?(Xr=[0,1062,2364,2364,2364][Aa],Qn=[0,239,300,360,420][Aa],Fi=[0,.24,.3,.3,.36,.42][Aa],Ei=dn+Aa):(Xr=[0,600,1033,2339,2340][Aa],Qn=[0,260,286,306,312][Aa],Fi=[0,.26,.286,.3,.306,.34][Aa],Ei="tilde"+Aa)}var Oa=new ae(Ei),fo=new De([Oa],{width:"100%",height:Fi+"em",viewBox:"0 0 "+Xr+" "+Qn,preserveAspectRatio:"none"});return{span:yr.makeSvgSpan([],[fo],se),minWidth:0,height:Fi}}else{var wo=[],lo=dr[dn],Yo=lo[0],Vo=lo[1],No=lo[2],ao=No/1e3,Ka=Yo.length,is,Is;if(Ka===1){var Xo=lo[3];is=["hide-tail"],Is=[Xo]}else if(Ka===2)is=["halfarrow-left","halfarrow-right"],Is=["xMinYMin","xMaxYMin"];else if(Ka===3)is=["brace-left","brace-center","brace-right"],Is=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Ka+" children.");for(var la=0;la<Ka;la++){var Vs=new ae(Yo[la]),Hs=new De([Vs],{width:"400em",height:ao+"em",viewBox:"0 0 "+Xr+" "+No,preserveAspectRatio:Is[la]+" slice"}),fs=yr.makeSvgSpan([is[la]],[Hs],se);if(Ka===1)return{span:fs,minWidth:Vo,height:ao};fs.style.height=ao+"em",wo.push(fs)}return{span:yr.makeSpan(["stretchy"],wo,se),minWidth:Vo,height:ao}}}var Ue=pe(),ft=Ue.span,zt=Ue.minWidth,Dr=Ue.height;return ft.height=Dr,ft.style.height=Dr+"em",zt>0&&(ft.style.minWidth=zt+"em"),ft},nn=function(Z,se,pe,Ue){var ft,zt=Z.height+Z.depth+2*pe;if(/fbox|color/.test(se)){if(ft=yr.makeSpan(["stretchy",se],[],Ue),se==="fbox"){var Dr=Ue.color&&Ue.getColor();Dr&&(ft.style.borderColor=Dr)}}else{var Xr=[];/^[bx]cancel$/.test(se)&&Xr.push(new fe({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(se)&&Xr.push(new fe({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var dn=new De(Xr,{width:"100%",height:zt+"em"});ft=yr.makeSvgSpan([],[dn],Ue)}return ft.height=zt,ft.style.height=zt+"em",ft},un={encloseSpan:nn,mathMLnode:mt,svgSpan:kr},en=function(Z,se){var pe,Ue,ft=tn(Z,"supsub"),zt;ft?(Ue=gn(ft.base,"accent"),pe=Ue.base,ft.base=pe,zt=Je(ti(ft,se)),ft.base=Ue):(Ue=gn(Z,"accent"),pe=Ue.base);var Dr=ti(pe,se.havingCrampedStyle()),Xr=Ue.isShifty&&y.isCharacterBox(pe),dn=0;if(Xr){var Kn=y.getBaseElem(pe),$n=ti(Kn,se.havingCrampedStyle());dn=Oe($n).skew}var Qn=Math.min(Dr.height,se.fontMetrics().xHeight),Ei;if(Ue.isStretchy)Ei=un.svgSpan(Ue,se),Ei=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Dr},{type:"elem",elem:Ei,wrapperClasses:["svg-align"],wrapperStyle:dn>0?{width:"calc(100% - "+2*dn+"em)",marginLeft:2*dn+"em"}:void 0}]},se);else{var Fi,Aa;Ue.label==="\\vec"?(Fi=yr.staticSvg("vec",se),Aa=yr.svgData.vec[1]):(Fi=yr.makeOrd({mode:Ue.mode,text:Ue.label},se,"textord"),Fi=Oe(Fi),Fi.italic=0,Aa=Fi.width),Ei=yr.makeSpan(["accent-body"],[Fi]);var Oa=Ue.label==="\\textcircled";Oa&&(Ei.classes.push("accent-full"),Qn=Dr.height);var fo=dn;Oa||(fo-=Aa/2),Ei.style.left=fo+"em",Ue.label==="\\textcircled"&&(Ei.style.top=".2em"),Ei=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Dr},{type:"kern",size:-Qn},{type:"elem",elem:Ei}]},se)}var wo=yr.makeSpan(["mord","accent"],[Ei],se);return zt?(zt.children[0]=wo,zt.height=Math.max(wo.height,zt.height),zt.classes[0]="mord",zt):wo},Ln=function(Z,se){var pe=Z.isStretchy?un.mathMLnode(Z.label):new Zn.MathNode("mo",[hn(Z.label,Z.mode)]),Ue=new Zn.MathNode("mover",[Ar(Z.base,se),pe]);return Ue.setAttribute("accent","true"),Ue},xn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(ht){return"\\"+ht}).join("|"));pt({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(Z,se){var pe=se[0],Ue=!xn.test(Z.funcName),ft=!Ue||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:Ue,isShifty:ft,base:pe}},htmlBuilder:en,mathmlBuilder:Ln}),pt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(Z,se){var pe=se[0];return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:!1,isShifty:!0,base:pe}},htmlBuilder:en,mathmlBuilder:Ln}),pt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0];return{type:"accentUnder",mode:pe.mode,label:Ue,base:ft}},htmlBuilder:function(Z,se){var pe=ti(Z.base,se),Ue=un.svgSpan(Z,se),ft=Z.label==="\\utilde"?.12:0,zt=yr.makeVList({positionType:"bottom",positionData:Ue.height+ft,children:[{type:"elem",elem:Ue,wrapperClasses:["svg-align"]},{type:"kern",size:ft},{type:"elem",elem:pe}]},se);return yr.makeSpan(["mord","accentunder"],[zt],se)},mathmlBuilder:function(Z,se){var pe=un.mathMLnode(Z.label),Ue=new Zn.MathNode("munder",[Ar(Z.base,se),pe]);return Ue.setAttribute("accentunder","true"),Ue}});var Gn=function(Z){var se=new Zn.MathNode("mpadded",Z?[Z]:[]);return se.setAttribute("width","+0.6em"),se.setAttribute("lspace","0.3em"),se};pt({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(Z,se,pe){var Ue=Z.parser,ft=Z.funcName;return{type:"xArrow",mode:Ue.mode,label:ft,body:se[0],below:pe[0]}},htmlBuilder:function(Z,se){var pe=se.style,Ue=se.havingStyle(pe.sup()),ft=yr.wrapFragment(ti(Z.body,Ue,se),se);ft.classes.push("x-arrow-pad");var zt;Z.below&&(Ue=se.havingStyle(pe.sub()),zt=yr.wrapFragment(ti(Z.below,Ue,se),se),zt.classes.push("x-arrow-pad"));var Dr=un.svgSpan(Z,se),Xr=-se.fontMetrics().axisHeight+.5*Dr.height,dn=-se.fontMetrics().axisHeight-.5*Dr.height-.111;(ft.depth>.25||Z.label==="\\xleftequilibrium")&&(dn-=ft.depth);var Kn;if(zt){var $n=-se.fontMetrics().axisHeight+zt.height+.5*Dr.height+.111;Kn=yr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ft,shift:dn},{type:"elem",elem:Dr,shift:Xr},{type:"elem",elem:zt,shift:$n}]},se)}else Kn=yr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ft,shift:dn},{type:"elem",elem:Dr,shift:Xr}]},se);return Kn.children[0].children[0].children[1].classes.push("svg-align"),yr.makeSpan(["mrel","x-arrow"],[Kn],se)},mathmlBuilder:function(Z,se){var pe=un.mathMLnode(Z.label),Ue;if(Z.body){var ft=Gn(Ar(Z.body,se));if(Z.below){var zt=Gn(Ar(Z.below,se));Ue=new Zn.MathNode("munderover",[pe,zt,ft])}else Ue=new Zn.MathNode("mover",[pe,ft])}else if(Z.below){var Dr=Gn(Ar(Z.below,se));Ue=new Zn.MathNode("munder",[pe,Dr])}else Ue=Gn(),Ue=new Zn.MathNode("mover",[pe,Ue]);return Ue}}),pt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Z,se){for(var pe=Z.parser,Ue=gn(se[0],"ordgroup"),ft=Ue.body,zt="",Dr=0;Dr<ft.length;Dr++){var Xr=gn(ft[Dr],"textord");zt+=Xr.text}var dn=parseInt(zt);if(isNaN(dn))throw new c("\\@char has non-numeric argument "+zt);return{type:"textord",mode:pe.mode,text:String.fromCharCode(dn)}}});var ui=function(Z,se){var pe=Yr(Z.body,se.withColor(Z.color),!1);return yr.makeFragment(pe)},Jn=function(Z,se){var pe=Li(Z.body,se.withColor(Z.color)),Ue=new Zn.MathNode("mstyle",pe);return Ue.setAttribute("mathcolor",Z.color),Ue};pt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(Z,se){var pe=Z.parser,Ue=gn(se[0],"color-token").color,ft=se[1];return{type:"color",mode:pe.mode,color:Ue,body:qt(ft)}},htmlBuilder:ui,mathmlBuilder:Jn}),pt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(Z,se){var pe=Z.parser,Ue=Z.breakOnTokenText,ft=gn(se[0],"color-token").color;pe.gullet.macros.set("\\current@color",ft);var zt=pe.parseExpression(!0,Ue);return{type:"color",mode:pe.mode,color:ft,body:zt}},htmlBuilder:ui,mathmlBuilder:Jn}),pt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,se,pe){var Ue=Z.parser,ft=Z.funcName,zt=pe[0],Dr=ft==="\\cr",Xr=!1;return Dr||(Ue.settings.displayMode&&Ue.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Xr=!1:Xr=!0),{type:"cr",mode:Ue.mode,newLine:Xr,newRow:Dr,size:zt&&gn(zt,"size").value}},htmlBuilder:function(Z,se){if(Z.newRow)throw new c("\\cr valid only within a tabular/array environment");var pe=yr.makeSpan(["mspace"],[],se);return Z.newLine&&(pe.classes.push("newline"),Z.size&&(pe.style.marginTop=ur(Z.size,se)+"em")),pe},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mspace");return Z.newLine&&(pe.setAttribute("linebreak","newline"),Z.size&&pe.setAttribute("height",ur(Z.size,se)+"em")),pe}});var pi=function(Z,se,pe){var Ue=ke.math[Z]&&ke.math[Z].replace,ft=Xe(Ue||Z,se,pe);if(!ft)throw new Error("Unsupported symbol "+Z+" and font size "+se+".");return ft},wi=function(Z,se,pe,Ue){var ft=pe.havingBaseStyle(se),zt=yr.makeSpan(Ue.concat(ft.sizingClasses(pe)),[Z],pe),Dr=ft.sizeMultiplier/pe.sizeMultiplier;return zt.height*=Dr,zt.depth*=Dr,zt.maxFontSize=ft.sizeMultiplier,zt},Ni=function(Z,se,pe){var Ue=se.havingBaseStyle(pe),ft=(1-se.sizeMultiplier/Ue.sizeMultiplier)*se.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=ft+"em",Z.height-=ft,Z.depth+=ft},Si=function(Z,se,pe,Ue,ft,zt){var Dr=yr.makeSymbol(Z,"Main-Regular",ft,Ue),Xr=wi(Dr,se,Ue,zt);return pe&&Ni(Xr,Ue,se),Xr},vi=function(Z,se,pe,Ue){return yr.makeSymbol(Z,"Size"+se+"-Regular",pe,Ue)},Ai=function(Z,se,pe,Ue,ft,zt){var Dr=vi(Z,se,ft,Ue),Xr=wi(yr.makeSpan(["delimsizing","size"+se],[Dr],Ue),H.TEXT,Ue,zt);return pe&&Ni(Xr,Ue,H.TEXT),Xr},Ci=function(Z,se,pe){var Ue;se==="Size1-Regular"?Ue="delim-size1":Ue="delim-size4";var ft=yr.makeSpan(["delimsizinginner",Ue],[yr.makeSpan([],[yr.makeSymbol(Z,se,pe)])]);return{type:"elem",elem:ft}},Ui={type:"kern",size:-.005},$i=function(Z,se,pe,Ue,ft,zt){var Dr,Xr,dn,Kn;Dr=dn=Kn=Z,Xr=null;var $n="Size1-Regular";Z==="\\uparrow"?dn=Kn="\u23D0":Z==="\\Uparrow"?dn=Kn="\u2016":Z==="\\downarrow"?Dr=dn="\u23D0":Z==="\\Downarrow"?Dr=dn="\u2016":Z==="\\updownarrow"?(Dr="\\uparrow",dn="\u23D0",Kn="\\downarrow"):Z==="\\Updownarrow"?(Dr="\\Uparrow",dn="\u2016",Kn="\\Downarrow"):Z==="["||Z==="\\lbrack"?(Dr="\u23A1",dn="\u23A2",Kn="\u23A3",$n="Size4-Regular"):Z==="]"||Z==="\\rbrack"?(Dr="\u23A4",dn="\u23A5",Kn="\u23A6",$n="Size4-Regular"):Z==="\\lfloor"||Z==="\u230A"?(dn=Dr="\u23A2",Kn="\u23A3",$n="Size4-Regular"):Z==="\\lceil"||Z==="\u2308"?(Dr="\u23A1",dn=Kn="\u23A2",$n="Size4-Regular"):Z==="\\rfloor"||Z==="\u230B"?(dn=Dr="\u23A5",Kn="\u23A6",$n="Size4-Regular"):Z==="\\rceil"||Z==="\u2309"?(Dr="\u23A4",dn=Kn="\u23A5",$n="Size4-Regular"):Z==="("||Z==="\\lparen"?(Dr="\u239B",dn="\u239C",Kn="\u239D",$n="Size4-Regular"):Z===")"||Z==="\\rparen"?(Dr="\u239E",dn="\u239F",Kn="\u23A0",$n="Size4-Regular"):Z==="\\{"||Z==="\\lbrace"?(Dr="\u23A7",Xr="\u23A8",Kn="\u23A9",dn="\u23AA",$n="Size4-Regular"):Z==="\\}"||Z==="\\rbrace"?(Dr="\u23AB",Xr="\u23AC",Kn="\u23AD",dn="\u23AA",$n="Size4-Regular"):Z==="\\lgroup"||Z==="\u27EE"?(Dr="\u23A7",Kn="\u23A9",dn="\u23AA",$n="Size4-Regular"):Z==="\\rgroup"||Z==="\u27EF"?(Dr="\u23AB",Kn="\u23AD",dn="\u23AA",$n="Size4-Regular"):Z==="\\lmoustache"||Z==="\u23B0"?(Dr="\u23A7",Kn="\u23AD",dn="\u23AA",$n="Size4-Regular"):(Z==="\\rmoustache"||Z==="\u23B1")&&(Dr="\u23AB",Kn="\u23A9",dn="\u23AA",$n="Size4-Regular");var Qn=pi(Dr,$n,ft),Ei=Qn.height+Qn.depth,Fi=pi(dn,$n,ft),Aa=Fi.height+Fi.depth,Oa=pi(Kn,$n,ft),fo=Oa.height+Oa.depth,wo=0,lo=1;if(Xr!==null){var Yo=pi(Xr,$n,ft);wo=Yo.height+Yo.depth,lo=2}var Vo=Ei+fo+wo,No=Math.max(0,Math.ceil((se-Vo)/(lo*Aa))),ao=Vo+No*lo*Aa,Ka=Ue.fontMetrics().axisHeight;pe&&(Ka*=Ue.sizeMultiplier);var is=ao/2-Ka,Is=(No+1)*.005-Aa,Xo=[];if(Xo.push(Ci(Kn,$n,ft)),Xr===null)for(var la=0;la<No;la++)Xo.push(Ui),Xo.push(Ci(dn,$n,ft));else{for(var Vs=0;Vs<No;Vs++)Xo.push(Ui),Xo.push(Ci(dn,$n,ft));Xo.push({type:"kern",size:Is}),Xo.push(Ci(dn,$n,ft)),Xo.push(Ui),Xo.push(Ci(Xr,$n,ft));for(var Hs=0;Hs<No;Hs++)Xo.push(Ui),Xo.push(Ci(dn,$n,ft))}Xo.push({type:"kern",size:Is}),Xo.push(Ci(dn,$n,ft)),Xo.push(Ui),Xo.push(Ci(Dr,$n,ft));var fs=Ue.havingBaseStyle(H.TEXT),as=yr.makeVList({positionType:"bottom",positionData:is,children:Xo},fs);return wi(yr.makeSpan(["delimsizing","mult"],[as],fs),H.TEXT,Ue,zt)},Di=80,ua=.08,aa=function(Z,se,pe,Ue,ft){var zt=ue(Z,Ue,pe),Dr=new ae(Z,zt),Xr=new De([Dr],{width:"400em",height:se+"em",viewBox:"0 0 400000 "+pe,preserveAspectRatio:"xMinYMin slice"});return yr.makeSvgSpan(["hide-tail"],[Xr],ft)},Xi=function(Z,se){var pe=se.havingBaseSizing(),Ue=vo("\\surd",Z*pe.sizeMultiplier,Da,pe),ft=pe.sizeMultiplier,zt=Math.max(0,se.minRuleThickness-se.fontMetrics().sqrtRuleThickness),Dr,Xr=0,dn=0,Kn=0,$n;return Ue.type==="small"?(Kn=1e3+1e3*zt+Di,Z<1?ft=1:Z<1.4&&(ft=.7),Xr=(1+zt+ua)/ft,dn=(1+zt)/ft,Dr=aa("sqrtMain",Xr,Kn,zt,se),Dr.style.minWidth="0.853em",$n=.833/ft):Ue.type==="large"?(Kn=(1e3+Di)*ga[Ue.size],dn=(ga[Ue.size]+zt)/ft,Xr=(ga[Ue.size]+zt+ua)/ft,Dr=aa("sqrtSize"+Ue.size,Xr,Kn,zt,se),Dr.style.minWidth="1.02em",$n=1/ft):(Xr=Z+zt+ua,dn=Z+zt,Kn=Math.floor(1e3*Z+zt)+Di,Dr=aa("sqrtTall",Xr,Kn,zt,se),Dr.style.minWidth="0.742em",$n=1.056),Dr.height=dn,Dr.style.height=Xr+"em",{span:Dr,advanceWidth:$n,ruleWidth:(se.fontMetrics().sqrtRuleThickness+zt)*ft}},Vi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ta=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Gi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ga=[0,1.2,1.8,2.4,3],ra=function(Z,se,pe,Ue,ft){if(Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle"),y.contains(Vi,Z)||y.contains(Gi,Z))return Ai(Z,se,!1,pe,Ue,ft);if(y.contains(ta,Z))return $i(Z,ga[se],!1,pe,Ue,ft);throw new c("Illegal delimiter: '"+Z+"'")},pa=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],_a=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],Da=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ra=function(Z){if(Z.type==="small")return"Main-Regular";if(Z.type==="large")return"Size"+Z.size+"-Regular";if(Z.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+Z.type+"' here.")},vo=function(Z,se,pe,Ue){for(var ft=Math.min(2,3-Ue.style.size),zt=ft;zt<pe.length&&!(pe[zt].type==="stack");zt++){var Dr=pi(Z,Ra(pe[zt]),"math"),Xr=Dr.height+Dr.depth;if(pe[zt].type==="small"){var dn=Ue.havingBaseStyle(pe[zt].style);Xr*=dn.sizeMultiplier}if(Xr>se)return pe[zt]}return pe[pe.length-1]},ja=function(Z,se,pe,Ue,ft,zt){Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle");var Dr;y.contains(Gi,Z)?Dr=pa:y.contains(Vi,Z)?Dr=Da:Dr=_a;var Xr=vo(Z,se,Dr,Ue);return Xr.type==="small"?Si(Z,Xr.style,pe,Ue,ft,zt):Xr.type==="large"?Ai(Z,Xr.size,pe,Ue,ft,zt):$i(Z,se,pe,Ue,ft,zt)},Ya=function(Z,se,pe,Ue,ft,zt){var Dr=Ue.fontMetrics().axisHeight*Ue.sizeMultiplier,Xr=901,dn=5/Ue.fontMetrics().ptPerEm,Kn=Math.max(se-Dr,pe+Dr),$n=Math.max(Kn/500*Xr,2*Kn-dn);return ja(Z,$n,!0,Ue,ft,zt)},Ia={sqrtImage:Xi,sizedDelim:ra,customSizedDelim:ja,leftRightDelim:Ya},Va={"\\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}},co=["(","\\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 Ta(ht,Z){var se=_i(ht);if(se&&y.contains(co,se.text))return se;throw new c("Invalid delimiter: '"+(se?se.text:JSON.stringify(ht))+"' after '"+Z.funcName+"'",ht)}pt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(Z,se){var pe=Ta(se[0],Z);return{type:"delimsizing",mode:Z.parser.mode,size:Va[Z.funcName].size,mclass:Va[Z.funcName].mclass,delim:pe.text}},htmlBuilder:function(Z,se){return Z.delim==="."?yr.makeSpan([Z.mclass]):Ia.sizedDelim(Z.delim,Z.size,se,Z.mode,[Z.mclass])},mathmlBuilder:function(Z){var se=[];Z.delim!=="."&&se.push(hn(Z.delim,Z.mode));var pe=new Zn.MathNode("mo",se);return Z.mclass==="mopen"||Z.mclass==="mclose"?pe.setAttribute("fence","true"):pe.setAttribute("fence","false"),pe}});function yo(ht){if(!ht.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}pt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(Z,se){var pe=Z.parser.gullet.macros.get("\\current@color");if(pe&&typeof pe!="string")throw new c("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Z.parser.mode,delim:Ta(se[0],Z).text,color:pe}}}),pt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(Z,se){var pe=Ta(se[0],Z),Ue=Z.parser;++Ue.leftrightDepth;var ft=Ue.parseExpression(!1);--Ue.leftrightDepth,Ue.expect("\\right",!1);var zt=gn(Ue.parseFunction(),"leftright-right");return{type:"leftright",mode:Ue.mode,body:ft,left:pe.text,right:zt.delim,rightColor:zt.color}},htmlBuilder:function(Z,se){yo(Z);for(var pe=Yr(Z.body,se,!0,["mopen","mclose"]),Ue=0,ft=0,zt=!1,Dr=0;Dr<pe.length;Dr++)pe[Dr].isMiddle?zt=!0:(Ue=Math.max(pe[Dr].height,Ue),ft=Math.max(pe[Dr].depth,ft));Ue*=se.sizeMultiplier,ft*=se.sizeMultiplier;var Xr;if(Z.left==="."?Xr=Un(se,["mopen"]):Xr=Ia.leftRightDelim(Z.left,Ue,ft,se,Z.mode,["mopen"]),pe.unshift(Xr),zt)for(var dn=1;dn<pe.length;dn++){var Kn=pe[dn],$n=Kn.isMiddle;$n&&(pe[dn]=Ia.leftRightDelim($n.delim,Ue,ft,$n.options,Z.mode,[]))}var Qn;if(Z.right===".")Qn=Un(se,["mclose"]);else{var Ei=Z.rightColor?se.withColor(Z.rightColor):se;Qn=Ia.leftRightDelim(Z.right,Ue,ft,Ei,Z.mode,["mclose"])}return pe.push(Qn),yr.makeSpan(["minner"],pe,se)},mathmlBuilder:function(Z,se){yo(Z);var pe=Li(Z.body,se);if(Z.left!=="."){var Ue=new Zn.MathNode("mo",[hn(Z.left,Z.mode)]);Ue.setAttribute("fence","true"),pe.unshift(Ue)}if(Z.right!=="."){var ft=new Zn.MathNode("mo",[hn(Z.right,Z.mode)]);ft.setAttribute("fence","true"),Z.rightColor&&ft.setAttribute("mathcolor",Z.rightColor),pe.push(ft)}return mi(pe)}}),pt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(Z,se){var pe=Ta(se[0],Z);if(!Z.parser.leftrightDepth)throw new c("\\middle without preceding \\left",pe);return{type:"middle",mode:Z.parser.mode,delim:pe.text}},htmlBuilder:function(Z,se){var pe;if(Z.delim===".")pe=Un(se,[]);else{pe=Ia.sizedDelim(Z.delim,1,se,Z.mode,[]);var Ue={delim:Z.delim,options:se};pe.isMiddle=Ue}return pe},mathmlBuilder:function(Z,se){var pe=Z.delim==="\\vert"||Z.delim==="|"?hn("|","text"):hn(Z.delim,Z.mode),Ue=new Zn.MathNode("mo",[pe]);return Ue.setAttribute("fence","true"),Ue.setAttribute("lspace","0.05em"),Ue.setAttribute("rspace","0.05em"),Ue}});var uo=function(Z,se){var pe=yr.wrapFragment(ti(Z.body,se),se),Ue=Z.label.substr(1),ft=se.sizeMultiplier,zt,Dr=0,Xr=y.isCharacterBox(Z.body);if(Ue==="sout")zt=yr.makeSpan(["stretchy","sout"]),zt.height=se.fontMetrics().defaultRuleThickness/ft,Dr=-.5*se.fontMetrics().xHeight;else{/cancel/.test(Ue)?Xr||pe.classes.push("cancel-pad"):pe.classes.push("boxpad");var dn=0,Kn=0;/box/.test(Ue)?(Kn=Math.max(se.fontMetrics().fboxrule,se.minRuleThickness),dn=se.fontMetrics().fboxsep+(Ue==="colorbox"?0:Kn)):dn=Xr?.2:0,zt=un.encloseSpan(pe,Ue,dn,se),/fbox|boxed|fcolorbox/.test(Ue)&&(zt.style.borderStyle="solid",zt.style.borderWidth=Kn+"em"),Dr=pe.depth+dn,Z.backgroundColor&&(zt.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(zt.style.borderColor=Z.borderColor))}var $n;return Z.backgroundColor?$n=yr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:zt,shift:Dr},{type:"elem",elem:pe,shift:0}]},se):$n=yr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:pe,shift:0},{type:"elem",elem:zt,shift:Dr,wrapperClasses:/cancel/.test(Ue)?["svg-align"]:[]}]},se),/cancel/.test(Ue)&&($n.height=pe.height,$n.depth=pe.depth),/cancel/.test(Ue)&&!Xr?yr.makeSpan(["mord","cancel-lap"],[$n],se):yr.makeSpan(["mord"],[$n],se)},Xa=function(Z,se){var pe=0,Ue=new Zn.MathNode(Z.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ar(Z.body,se)]);switch(Z.label){case"\\cancel":Ue.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Ue.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Ue.setAttribute("notation","horizontalstrike");break;case"\\fbox":Ue.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(pe=se.fontMetrics().fboxsep*se.fontMetrics().ptPerEm,Ue.setAttribute("width","+"+2*pe+"pt"),Ue.setAttribute("height","+"+2*pe+"pt"),Ue.setAttribute("lspace",pe+"pt"),Ue.setAttribute("voffset",pe+"pt"),Z.label==="\\fcolorbox"){var ft=Math.max(se.fontMetrics().fboxrule,se.minRuleThickness);Ue.setAttribute("style","border: "+ft+"em solid "+String(Z.borderColor))}break;case"\\xcancel":Ue.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Z.backgroundColor&&Ue.setAttribute("mathbackground",Z.backgroundColor),Ue};pt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(Z,se,pe){var Ue=Z.parser,ft=Z.funcName,zt=gn(se[0],"color-token").color,Dr=se[1];return{type:"enclose",mode:Ue.mode,label:ft,backgroundColor:zt,body:Dr}},htmlBuilder:uo,mathmlBuilder:Xa}),pt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(Z,se,pe){var Ue=Z.parser,ft=Z.funcName,zt=gn(se[0],"color-token").color,Dr=gn(se[1],"color-token").color,Xr=se[2];return{type:"enclose",mode:Ue.mode,label:ft,backgroundColor:Dr,borderColor:zt,body:Xr}},htmlBuilder:uo,mathmlBuilder:Xa}),pt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Z,se){var pe=Z.parser;return{type:"enclose",mode:pe.mode,label:"\\fbox",body:se[0]}}}),pt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(Z,se,pe){var Ue=Z.parser,ft=Z.funcName,zt=se[0];return{type:"enclose",mode:Ue.mode,label:ft,body:zt}},htmlBuilder:uo,mathmlBuilder:Xa});var Oo={};function oa(ht){for(var Z=ht.type,se=ht.names,pe=ht.props,Ue=ht.handler,ft=ht.htmlBuilder,zt=ht.mathmlBuilder,Dr={type:Z,numArgs:pe.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Ue},Xr=0;Xr<se.length;++Xr)Oo[se[Xr]]=Dr;ft&&(Tt[Z]=ft),zt&&(Lt[Z]=zt)}function qa(ht){var Z=[];ht.consumeSpaces();for(var se=ht.fetch().text;se==="\\hline"||se==="\\hdashline";)ht.consume(),Z.push(se==="\\hdashline"),ht.consumeSpaces(),se=ht.fetch().text;return Z}function oo(ht,Z,se){var pe=Z.hskipBeforeAndAfter,Ue=Z.addJot,ft=Z.cols,zt=Z.arraystretch,Dr=Z.colSeparationType;if(ht.gullet.beginGroup(),ht.gullet.macros.set("\\\\","\\cr"),!zt){var Xr=ht.gullet.expandMacroAsText("\\arraystretch");if(Xr==null)zt=1;else if(zt=parseFloat(Xr),!zt||zt<0)throw new c("Invalid \\arraystretch: "+Xr)}ht.gullet.beginGroup();var dn=[],Kn=[dn],$n=[],Qn=[];for(Qn.push(qa(ht));;){var Ei=ht.parseExpression(!1,"\\cr");ht.gullet.endGroup(),ht.gullet.beginGroup(),Ei={type:"ordgroup",mode:ht.mode,body:Ei},se&&(Ei={type:"styling",mode:ht.mode,style:se,body:[Ei]}),dn.push(Ei);var Fi=ht.fetch().text;if(Fi==="&")ht.consume();else if(Fi==="\\end"){dn.length===1&&Ei.type==="styling"&&Ei.body[0].body.length===0&&Kn.pop(),Qn.length<Kn.length+1&&Qn.push([]);break}else if(Fi==="\\cr"){var Aa=gn(ht.parseFunction(),"cr");$n.push(Aa.size),Qn.push(qa(ht)),dn=[],Kn.push(dn)}else throw new c("Expected & or \\\\ or \\cr or \\end",ht.nextToken)}return ht.gullet.endGroup(),ht.gullet.endGroup(),{type:"array",mode:ht.mode,addJot:Ue,arraystretch:zt,body:Kn,cols:ft,rowGaps:$n,hskipBeforeAndAfter:pe,hLinesBeforeRow:Qn,colSeparationType:Dr}}function Ro(ht){return ht.substr(0,1)==="d"?"display":"text"}var Ga=function(Z,se){var pe,Ue,ft=Z.body.length,zt=Z.hLinesBeforeRow,Dr=0,Xr=new Array(ft),dn=[],Kn=Math.max(se.fontMetrics().arrayRuleWidth,se.minRuleThickness),$n=1/se.fontMetrics().ptPerEm,Qn=5*$n;if(Z.colSeparationType&&Z.colSeparationType==="small"){var Ei=se.havingStyle(H.SCRIPT).sizeMultiplier;Qn=.2778*(Ei/se.sizeMultiplier)}var Fi=12*$n,Aa=3*$n,Oa=Z.arraystretch*Fi,fo=.7*Oa,wo=.3*Oa,lo=0;function Yo(rs){for(var os=0;os<rs.length;++os)os>0&&(lo+=.25),dn.push({pos:lo,isDashed:rs[os]})}for(Yo(zt[0]),pe=0;pe<Z.body.length;++pe){var Vo=Z.body[pe],No=fo,ao=wo;Dr<Vo.length&&(Dr=Vo.length);var Ka=new Array(Vo.length);for(Ue=0;Ue<Vo.length;++Ue){var is=ti(Vo[Ue],se);ao<is.depth&&(ao=is.depth),No<is.height&&(No=is.height),Ka[Ue]=is}var Is=Z.rowGaps[pe],Xo=0;Is&&(Xo=ur(Is,se),Xo>0&&(Xo+=wo,ao<Xo&&(ao=Xo),Xo=0)),Z.addJot&&(ao+=Aa),Ka.height=No,Ka.depth=ao,lo+=No,Ka.pos=lo,lo+=ao+Xo,Xr[pe]=Ka,Yo(zt[pe+1])}var la=lo/2+se.fontMetrics().axisHeight,Vs=Z.cols||[],Hs=[],fs,as;for(Ue=0,as=0;Ue<Dr||as<Vs.length;++Ue,++as){for(var Ss=Vs[as]||{},xl=!0;Ss.type==="separator";){if(xl||(fs=yr.makeSpan(["arraycolsep"],[]),fs.style.width=se.fontMetrics().doubleRuleSep+"em",Hs.push(fs)),Ss.separator==="|"||Ss.separator===":"){var Al=Ss.separator==="|"?"solid":"dashed",zs=yr.makeSpan(["vertical-separator"],[],se);zs.style.height=lo+"em",zs.style.borderRightWidth=Kn+"em",zs.style.borderRightStyle=Al,zs.style.margin="0 -"+Kn/2+"em",zs.style.verticalAlign=-(lo-la)+"em",Hs.push(zs)}else throw new c("Invalid separator type: "+Ss.separator);as++,Ss=Vs[as]||{},xl=!1}if(Ue>=Dr)continue;var Zo=void 0;(Ue>0||Z.hskipBeforeAndAfter)&&(Zo=y.deflt(Ss.pregap,Qn),Zo!==0&&(fs=yr.makeSpan(["arraycolsep"],[]),fs.style.width=Zo+"em",Hs.push(fs)));var vs=[];for(pe=0;pe<ft;++pe){var nl=Xr[pe],ks=nl[Ue];if(!ks)continue;var po=nl.pos-la;ks.depth=nl.depth,ks.height=nl.height,vs.push({type:"elem",elem:ks,shift:po})}vs=yr.makeVList({positionType:"individualShift",children:vs},se),vs=yr.makeSpan(["col-align-"+(Ss.align||"c")],[vs]),Hs.push(vs),(Ue<Dr-1||Z.hskipBeforeAndAfter)&&(Zo=y.deflt(Ss.postgap,Qn),Zo!==0&&(fs=yr.makeSpan(["arraycolsep"],[]),fs.style.width=Zo+"em",Hs.push(fs)))}if(Xr=yr.makeSpan(["mtable"],Hs),dn.length>0){for(var Wa=yr.makeLineSpan("hline",se,Kn),Eo=yr.makeLineSpan("hdashline",se,Kn),Go=[{type:"elem",elem:Xr,shift:0}];dn.length>0;){var $o=dn.pop(),To=$o.pos-la;$o.isDashed?Go.push({type:"elem",elem:Eo,shift:To}):Go.push({type:"elem",elem:Wa,shift:To})}Xr=yr.makeVList({positionType:"individualShift",children:Go},se)}return yr.makeSpan(["mord"],[Xr],se)},_o={c:"center ",l:"left ",r:"right "},go=function(Z,se){var pe=new Zn.MathNode("mtable",Z.body.map(function(lo){return new Zn.MathNode("mtr",lo.map(function(Yo){return new Zn.MathNode("mtd",[Ar(Yo,se)])}))})),Ue=Z.arraystretch===.5?.1:.16+Z.arraystretch-1+(Z.addJot?.09:0);pe.setAttribute("rowspacing",Ue+"em");var ft="",zt="";if(Z.cols){var Dr=Z.cols,Xr="",dn=!1,Kn=0,$n=Dr.length;Dr[0].type==="separator"&&(ft+="top ",Kn=1),Dr[Dr.length-1].type==="separator"&&(ft+="bottom ",$n-=1);for(var Qn=Kn;Qn<$n;Qn++)Dr[Qn].type==="align"?(zt+=_o[Dr[Qn].align],dn&&(Xr+="none "),dn=!0):Dr[Qn].type==="separator"&&(dn&&(Xr+=Dr[Qn].separator==="|"?"solid ":"dashed ",dn=!1));pe.setAttribute("columnalign",zt.trim()),/[sd]/.test(Xr)&&pe.setAttribute("columnlines",Xr.trim())}if(Z.colSeparationType==="align"){for(var Ei=Z.cols||[],Fi="",Aa=1;Aa<Ei.length;Aa++)Fi+=Aa%2?"0em ":"1em ";pe.setAttribute("columnspacing",Fi.trim())}else Z.colSeparationType==="alignat"?pe.setAttribute("columnspacing","0em"):Z.colSeparationType==="small"?pe.setAttribute("columnspacing","0.2778em"):pe.setAttribute("columnspacing","1em");var Oa="",fo=Z.hLinesBeforeRow;ft+=fo[0].length>0?"left ":"",ft+=fo[fo.length-1].length>0?"right ":"";for(var wo=1;wo<fo.length-1;wo++)Oa+=fo[wo].length===0?"none ":fo[wo][0]?"dashed ":"solid ";return/[sd]/.test(Oa)&&pe.setAttribute("rowlines",Oa.trim()),ft!==""&&(pe=new Zn.MathNode("menclose",[pe]),pe.setAttribute("notation",ft.trim())),Z.arraystretch&&Z.arraystretch<1&&(pe=new Zn.MathNode("mstyle",[pe]),pe.setAttribute("scriptlevel","1")),pe},Ja=function(Z,se){var pe=[],Ue=oo(Z.parser,{cols:pe,addJot:!0},"display"),ft,zt=0,Dr={type:"ordgroup",mode:Z.mode,body:[]},Xr=tn(se[0],"ordgroup");if(Xr){for(var dn="",Kn=0;Kn<Xr.body.length;Kn++){var $n=gn(Xr.body[Kn],"textord");dn+=$n.text}ft=Number(dn),zt=ft*2}var Qn=!zt;Ue.body.forEach(function(Oa){for(var fo=1;fo<Oa.length;fo+=2){var wo=gn(Oa[fo],"styling"),lo=gn(wo.body[0],"ordgroup");lo.body.unshift(Dr)}if(Qn)zt<Oa.length&&(zt=Oa.length);else{var Yo=Oa.length/2;if(ft<Yo)throw new c("Too many math in a row: "+("expected "+ft+", but got "+Yo),Oa[0])}});for(var Ei=0;Ei<zt;++Ei){var Fi="r",Aa=0;Ei%2===1?Fi="l":Ei>0&&Qn&&(Aa=1),pe[Ei]={type:"align",align:Fi,pregap:Aa,postgap:0}}return Ue.colSeparationType=Qn?"align":"alignat",Ue};oa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Z,se){var pe=_i(se[0]),Ue=pe?[se[0]]:gn(se[0],"ordgroup").body,ft=Ue.map(function(Dr){var Xr=hi(Dr),dn=Xr.text;if("lcr".indexOf(dn)!==-1)return{type:"align",align:dn};if(dn==="|")return{type:"separator",separator:"|"};if(dn===":")return{type:"separator",separator:":"};throw new c("Unknown column alignment: "+dn,Dr)}),zt={cols:ft,hskipBeforeAndAfter:!0};return oo(Z.parser,zt,Ro(Z.envName))},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(Z){var se={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Z.envName],pe={hskipBeforeAndAfter:!1},Ue=oo(Z.parser,pe,Ro(Z.envName));return se?{type:"leftright",mode:Z.mode,body:[Ue],left:se[0],right:se[1],rightColor:void 0}:Ue},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Z){var se={arraystretch:.5},pe=oo(Z.parser,se,"script");return pe.colSeparationType="small",pe},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Z,se){var pe=_i(se[0]),Ue=pe?[se[0]]:gn(se[0],"ordgroup").body,ft=Ue.map(function(Dr){var Xr=hi(Dr),dn=Xr.text;if("lc".indexOf(dn)!==-1)return{type:"align",align:dn};throw new c("Unknown column alignment: "+dn,Dr)});if(ft.length>1)throw new c("{subarray} can contain only one column");var zt={cols:ft,hskipBeforeAndAfter:!1,arraystretch:.5};if(zt=oo(Z.parser,zt,"script"),zt.body[0].length>1)throw new c("{subarray} can contain only one column");return zt},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(Z){var se={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},pe=oo(Z.parser,se,Ro(Z.envName));return{type:"leftright",mode:Z.mode,body:[pe],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["aligned"],props:{numArgs:0},handler:Ja,htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(Z){var se={cols:[{type:"align",align:"c"}],addJot:!0};return oo(Z.parser,se,"display")},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["alignedat"],props:{numArgs:1},handler:Ja,htmlBuilder:Ga,mathmlBuilder:go}),pt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Z,se){throw new c(Z.funcName+" valid only within array environment")}});var Fa=Oo,ha=Fa;pt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0];if(ft.type!=="ordgroup")throw new c("Invalid environment name",ft);for(var zt="",Dr=0;Dr<ft.body.length;++Dr)zt+=gn(ft.body[Dr],"textord").text;if(Ue==="\\begin"){if(!ha.hasOwnProperty(zt))throw new c("No such environment: "+zt,ft);var Xr=ha[zt],dn=pe.parseArguments("\\begin{"+zt+"}",Xr),Kn=dn.args,$n=dn.optArgs,Qn={mode:pe.mode,envName:zt,parser:pe},Ei=Xr.handler(Qn,Kn,$n);pe.expect("\\end",!1);var Fi=pe.nextToken,Aa=gn(pe.parseFunction(),"environment");if(Aa.name!==zt)throw new c("Mismatch: \\begin{"+zt+"} matched by \\end{"+Aa.name+"}",Fi);return Ei}return{type:"environment",mode:pe.mode,name:zt,nameGroup:ft}}});var tt=yr.makeSpan;function lr(ht,Z){var se=Yr(ht.body,Z,!0);return tt([ht.mclass],se,Z)}function Mr(ht,Z){var se,pe=Li(ht.body,Z);return ht.mclass==="minner"?Zn.newDocumentFragment(pe):(ht.mclass==="mord"?ht.isCharacterBox?(se=pe[0],se.type="mi"):se=new Zn.MathNode("mi",pe):(ht.isCharacterBox?(se=pe[0],se.type="mo"):se=new Zn.MathNode("mo",pe),ht.mclass==="mbin"?(se.attributes.lspace="0.22em",se.attributes.rspace="0.22em"):ht.mclass==="mpunct"?(se.attributes.lspace="0em",se.attributes.rspace="0.17em"):(ht.mclass==="mopen"||ht.mclass==="mclose")&&(se.attributes.lspace="0em",se.attributes.rspace="0em")),se)}pt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0];return{type:"mclass",mode:pe.mode,mclass:"m"+Ue.substr(5),body:qt(ft),isCharacterBox:y.isCharacterBox(ft)}},htmlBuilder:lr,mathmlBuilder:Mr});var Ir=function(Z){var se=Z.type==="ordgroup"&&Z.body.length?Z.body[0]:Z;return se.type==="atom"&&(se.family==="bin"||se.family==="rel")?"m"+se.family:"mord"};pt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Z,se){var pe=Z.parser;return{type:"mclass",mode:pe.mode,mclass:Ir(se[0]),body:[se[1]],isCharacterBox:y.isCharacterBox(se[1])}}}),pt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[1],zt=se[0],Dr;Ue!=="\\stackrel"?Dr=Ir(ft):Dr="mrel";var Xr={type:"op",mode:ft.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Ue!=="\\stackrel",body:qt(ft)},dn={type:"supsub",mode:zt.mode,base:Xr,sup:Ue==="\\underset"?null:zt,sub:Ue==="\\underset"?zt:null};return{type:"mclass",mode:pe.mode,mclass:Dr,body:[dn],isCharacterBox:y.isCharacterBox(dn)}},htmlBuilder:lr,mathmlBuilder:Mr});var _n=function(Z,se){var pe=Z.font,Ue=se.withFont(pe);return ti(Z.body,Ue)},Vr=function(Z,se){var pe=Z.font,Ue=se.withFont(pe);return Ar(Z.body,Ue)},_r={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};pt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0],zt=Ue;return zt in _r&&(zt=_r[zt]),{type:"font",mode:pe.mode,font:zt.slice(1),body:ft}},htmlBuilder:_n,mathmlBuilder:Vr}),pt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(Z,se){var pe=Z.parser,Ue=se[0],ft=y.isCharacterBox(Ue);return{type:"mclass",mode:pe.mode,mclass:Ir(Ue),body:[{type:"font",mode:pe.mode,font:"boldsymbol",body:Ue}],isCharacterBox:ft}}}),pt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=Z.breakOnTokenText,zt=pe.mode,Dr=pe.parseExpression(!0,ft),Xr="math"+Ue.slice(1);return{type:"font",mode:zt,font:Xr,body:{type:"ordgroup",mode:pe.mode,body:Dr}}},htmlBuilder:_n,mathmlBuilder:Vr});var Mn=function(Z,se){var pe=se;return Z==="display"?pe=pe.id>=H.SCRIPT.id?pe.text():H.DISPLAY:Z==="text"&&pe.size===H.DISPLAY.size?pe=H.TEXT:Z==="script"?pe=H.SCRIPT:Z==="scriptscript"&&(pe=H.SCRIPTSCRIPT),pe},Br=function(Z,se){var pe=Mn(Z.size,se.style),Ue=pe.fracNum(),ft=pe.fracDen(),zt;zt=se.havingStyle(Ue);var Dr=ti(Z.numer,zt,se);if(Z.continued){var Xr=8.5/se.fontMetrics().ptPerEm,dn=3.5/se.fontMetrics().ptPerEm;Dr.height=Dr.height<Xr?Xr:Dr.height,Dr.depth=Dr.depth<dn?dn:Dr.depth}zt=se.havingStyle(ft);var Kn=ti(Z.denom,zt,se),$n,Qn,Ei;Z.hasBarLine?(Z.barSize?(Qn=ur(Z.barSize,se),$n=yr.makeLineSpan("frac-line",se,Qn)):$n=yr.makeLineSpan("frac-line",se),Qn=$n.height,Ei=$n.height):($n=null,Qn=0,Ei=se.fontMetrics().defaultRuleThickness);var Fi,Aa,Oa;pe.size===H.DISPLAY.size||Z.size==="display"?(Fi=se.fontMetrics().num1,Qn>0?Aa=3*Ei:Aa=7*Ei,Oa=se.fontMetrics().denom1):(Qn>0?(Fi=se.fontMetrics().num2,Aa=Ei):(Fi=se.fontMetrics().num3,Aa=3*Ei),Oa=se.fontMetrics().denom2);var fo;if($n){var lo=se.fontMetrics().axisHeight;Fi-Dr.depth-(lo+.5*Qn)<Aa&&(Fi+=Aa-(Fi-Dr.depth-(lo+.5*Qn))),lo-.5*Qn-(Kn.height-Oa)<Aa&&(Oa+=Aa-(lo-.5*Qn-(Kn.height-Oa)));var Yo=-(lo-.5*Qn);fo=yr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kn,shift:Oa},{type:"elem",elem:$n,shift:Yo},{type:"elem",elem:Dr,shift:-Fi}]},se)}else{var wo=Fi-Dr.depth-(Kn.height-Oa);wo<Aa&&(Fi+=.5*(Aa-wo),Oa+=.5*(Aa-wo)),fo=yr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kn,shift:Oa},{type:"elem",elem:Dr,shift:-Fi}]},se)}zt=se.havingStyle(pe),fo.height*=zt.sizeMultiplier/se.sizeMultiplier,fo.depth*=zt.sizeMultiplier/se.sizeMultiplier;var Vo;pe.size===H.DISPLAY.size?Vo=se.fontMetrics().delim1:Vo=se.fontMetrics().delim2;var No,ao;return Z.leftDelim==null?No=Un(se,["mopen"]):No=Ia.customSizedDelim(Z.leftDelim,Vo,!0,se.havingStyle(pe),Z.mode,["mopen"]),Z.continued?ao=yr.makeSpan([]):Z.rightDelim==null?ao=Un(se,["mclose"]):ao=Ia.customSizedDelim(Z.rightDelim,Vo,!0,se.havingStyle(pe),Z.mode,["mclose"]),yr.makeSpan(["mord"].concat(zt.sizingClasses(se)),[No,yr.makeSpan(["mfrac"],[fo]),ao],se)},Sn=function(Z,se){var pe=new Zn.MathNode("mfrac",[Ar(Z.numer,se),Ar(Z.denom,se)]);if(!Z.hasBarLine)pe.setAttribute("linethickness","0px");else if(Z.barSize){var Ue=ur(Z.barSize,se);pe.setAttribute("linethickness",Ue+"em")}var ft=Mn(Z.size,se.style);if(ft.size!==se.style.size){pe=new Zn.MathNode("mstyle",[pe]);var zt=ft.size===H.DISPLAY.size?"true":"false";pe.setAttribute("displaystyle",zt),pe.setAttribute("scriptlevel","0")}if(Z.leftDelim!=null||Z.rightDelim!=null){var Dr=[];if(Z.leftDelim!=null){var Xr=new Zn.MathNode("mo",[new Zn.TextNode(Z.leftDelim.replace("\\",""))]);Xr.setAttribute("fence","true"),Dr.push(Xr)}if(Dr.push(pe),Z.rightDelim!=null){var dn=new Zn.MathNode("mo",[new Zn.TextNode(Z.rightDelim.replace("\\",""))]);dn.setAttribute("fence","true"),Dr.push(dn)}return mi(Dr)}return pe};pt({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0],zt=se[1],Dr,Xr=null,dn=null,Kn="auto";switch(Ue){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Dr=!0;break;case"\\\\atopfrac":Dr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Dr=!1,Xr="(",dn=")";break;case"\\\\bracefrac":Dr=!1,Xr="\\{",dn="\\}";break;case"\\\\brackfrac":Dr=!1,Xr="[",dn="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Ue){case"\\cfrac":case"\\dfrac":case"\\dbinom":Kn="display";break;case"\\tfrac":case"\\tbinom":Kn="text";break}return{type:"genfrac",mode:pe.mode,continued:Ue==="\\cfrac",numer:ft,denom:zt,hasBarLine:Dr,leftDelim:Xr,rightDelim:dn,size:Kn,barSize:null}},htmlBuilder:Br,mathmlBuilder:Sn}),pt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(Z){var se=Z.parser,pe=Z.funcName,Ue=Z.token,ft;switch(pe){case"\\over":ft="\\frac";break;case"\\choose":ft="\\binom";break;case"\\atop":ft="\\\\atopfrac";break;case"\\brace":ft="\\\\bracefrac";break;case"\\brack":ft="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:se.mode,replaceWith:ft,token:Ue}}});var jn=["display","text","script","scriptscript"],Hn=function(Z){var se=null;return Z.length>0&&(se=Z,se=se==="."?null:se),se};pt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(Z,se){var pe=Z.parser,Ue=se[4],ft=se[5],zt=tn(se[0],"atom");zt&&(zt=Fr(se[0],"open"));var Dr=zt?Hn(zt.text):null,Xr=tn(se[1],"atom");Xr&&(Xr=Fr(se[1],"close"));var dn=Xr?Hn(Xr.text):null,Kn=gn(se[2],"size"),$n,Qn=null;Kn.isBlank?$n=!0:(Qn=Kn.value,$n=Qn.number>0);var Ei="auto",Fi=tn(se[3],"ordgroup");if(Fi){if(Fi.body.length>0){var Aa=gn(Fi.body[0],"textord");Ei=jn[Number(Aa.text)]}}else Fi=gn(se[3],"textord"),Ei=jn[Number(Fi.text)];return{type:"genfrac",mode:pe.mode,numer:Ue,denom:ft,continued:!1,hasBarLine:$n,barSize:Qn,leftDelim:Dr,rightDelim:dn,size:Ei}},htmlBuilder:Br,mathmlBuilder:Sn}),pt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=Z.token;return{type:"infix",mode:pe.mode,replaceWith:"\\\\abovefrac",size:gn(se[0],"size").value,token:ft}}}),pt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0],zt=h(gn(se[1],"infix").size),Dr=se[2],Xr=zt.number>0;return{type:"genfrac",mode:pe.mode,numer:ft,denom:Dr,continued:!1,hasBarLine:Xr,barSize:zt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Br,mathmlBuilder:Sn});var Bn=function(Z,se){var pe=se.style,Ue,ft,zt=tn(Z,"supsub");zt?(Ue=zt.sup?ti(zt.sup,se.havingStyle(pe.sup()),se):ti(zt.sub,se.havingStyle(pe.sub()),se),ft=gn(zt.base,"horizBrace")):ft=gn(Z,"horizBrace");var Dr=ti(ft.base,se.havingBaseStyle(H.DISPLAY)),Xr=un.svgSpan(ft,se),dn;if(ft.isOver?(dn=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Dr},{type:"kern",size:.1},{type:"elem",elem:Xr}]},se),dn.children[0].children[0].children[1].classes.push("svg-align")):(dn=yr.makeVList({positionType:"bottom",positionData:Dr.depth+.1+Xr.height,children:[{type:"elem",elem:Xr},{type:"kern",size:.1},{type:"elem",elem:Dr}]},se),dn.children[0].children[0].children[0].classes.push("svg-align")),Ue){var Kn=yr.makeSpan(["mord",ft.isOver?"mover":"munder"],[dn],se);ft.isOver?dn=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Kn},{type:"kern",size:.2},{type:"elem",elem:Ue}]},se):dn=yr.makeVList({positionType:"bottom",positionData:Kn.depth+.2+Ue.height+Ue.depth,children:[{type:"elem",elem:Ue},{type:"kern",size:.2},{type:"elem",elem:Kn}]},se)}return yr.makeSpan(["mord",ft.isOver?"mover":"munder"],[dn],se)},ri=function(Z,se){var pe=un.mathMLnode(Z.label);return new Zn.MathNode(Z.isOver?"mover":"munder",[Ar(Z.base,se),pe])};pt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName;return{type:"horizBrace",mode:pe.mode,label:Ue,isOver:/^\\over/.test(Ue),base:se[0]}},htmlBuilder:Bn,mathmlBuilder:ri}),pt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=se[1],ft=gn(se[0],"url").url;return pe.settings.isTrusted({command:"\\href",url:ft})?{type:"href",mode:pe.mode,href:ft,body:qt(Ue)}:pe.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,se){var pe=Yr(Z.body,se,!1);return yr.makeAnchor(Z.href,[],pe,se)},mathmlBuilder:function(Z,se){var pe=Bi(Z.body,se);return pe instanceof zi||(pe=new zi("mrow",[pe])),pe.setAttribute("href",Z.href),pe}}),pt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=gn(se[0],"url").url;if(!pe.settings.isTrusted({command:"\\url",url:Ue}))return pe.formatUnsupportedCmd("\\url");for(var ft=[],zt=0;zt<Ue.length;zt++){var Dr=Ue[zt];Dr==="~"&&(Dr="\\textasciitilde"),ft.push({type:"textord",mode:"text",text:Dr})}var Xr={type:"text",mode:pe.mode,font:"\\texttt",body:ft};return{type:"href",mode:pe.mode,href:Ue,body:qt(Xr)}}}),pt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(Z,se){var pe=Z.parser;return{type:"htmlmathml",mode:pe.mode,html:qt(se[0]),mathml:qt(se[1])}},htmlBuilder:function(Z,se){var pe=Yr(Z.html,se,!1);return yr.makeFragment(pe)},mathmlBuilder:function(Z,se){return Bi(Z.mathml,se)}});var Yn=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};var se=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!se)throw new c("Invalid size: '"+Z+"' in \\includegraphics");var pe={number:+(se[1]+se[2]),unit:se[3]};if(!br(pe))throw new c("Invalid unit: '"+pe.unit+"' in \\includegraphics.");return pe};pt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(Z,se,pe){var Ue=Z.parser,ft={number:0,unit:"em"},zt={number:.9,unit:"em"},Dr={number:0,unit:"em"},Xr="";if(pe[0])for(var dn=gn(pe[0],"raw").string,Kn=dn.split(","),$n=0;$n<Kn.length;$n++){var Qn=Kn[$n].split("=");if(Qn.length===2){var Ei=Qn[1].trim();switch(Qn[0].trim()){case"alt":Xr=Ei;break;case"width":ft=Yn(Ei);break;case"height":zt=Yn(Ei);break;case"totalheight":Dr=Yn(Ei);break;default:throw new c("Invalid key: '"+Qn[0]+"' in \\includegraphics.")}}}var Fi=gn(se[0],"url").url;return Xr===""&&(Xr=Fi,Xr=Xr.replace(/^.*[\\/]/,""),Xr=Xr.substring(0,Xr.lastIndexOf("."))),Ue.settings.isTrusted({command:"\\includegraphics",url:Fi})?{type:"includegraphics",mode:Ue.mode,alt:Xr,width:ft,height:zt,totalheight:Dr,src:Fi}:Ue.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(Z,se){var pe=ur(Z.height,se),Ue=0;Z.totalheight.number>0&&(Ue=ur(Z.totalheight,se)-pe,Ue=Number(Ue.toFixed(2)));var ft=0;Z.width.number>0&&(ft=ur(Z.width,se));var zt={height:pe+Ue+"em"};ft>0&&(zt.width=ft+"em"),Ue>0&&(zt.verticalAlign=-Ue+"em");var Dr=new be(Z.src,Z.alt,zt);return Dr.height=pe,Dr.depth=Ue,Dr},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mglyph",[]);pe.setAttribute("alt",Z.alt);var Ue=ur(Z.height,se),ft=0;if(Z.totalheight.number>0&&(ft=ur(Z.totalheight,se)-Ue,ft=ft.toFixed(2),pe.setAttribute("valign","-"+ft+"em")),pe.setAttribute("height",Ue+ft+"em"),Z.width.number>0){var zt=ur(Z.width,se);pe.setAttribute("width",zt+"em")}return pe.setAttribute("src",Z.src),pe}}),pt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=gn(se[0],"size");if(pe.settings.strict){var zt=Ue[1]==="m",Dr=ft.value.unit==="mu";zt?(Dr||pe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ue+" supports only mu units, "+("not "+ft.value.unit+" units")),pe.mode!=="math"&&pe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ue+" works only in math mode")):Dr&&pe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ue+" doesn't support mu units")}return{type:"kern",mode:pe.mode,dimension:ft.value}},htmlBuilder:function(Z,se){return yr.makeGlue(Z.dimension,se)},mathmlBuilder:function(Z,se){var pe=ur(Z.dimension,se);return new Zn.SpaceNode(pe)}}),pt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0];return{type:"lap",mode:pe.mode,alignment:Ue.slice(5),body:ft}},htmlBuilder:function(Z,se){var pe;Z.alignment==="clap"?(pe=yr.makeSpan([],[ti(Z.body,se)]),pe=yr.makeSpan(["inner"],[pe],se)):pe=yr.makeSpan(["inner"],[ti(Z.body,se)]);var Ue=yr.makeSpan(["fix"],[]),ft=yr.makeSpan([Z.alignment],[pe,Ue],se),zt=yr.makeSpan(["strut"]);return zt.style.height=ft.height+ft.depth+"em",zt.style.verticalAlign=-ft.depth+"em",ft.children.unshift(zt),ft=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ft}]},se),yr.makeSpan(["mord"],[ft],se)},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mpadded",[Ar(Z.body,se)]);if(Z.alignment!=="rlap"){var Ue=Z.alignment==="llap"?"-1":"-0.5";pe.setAttribute("lspace",Ue+"width")}return pe.setAttribute("width","0px"),pe}}),pt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,se){var pe=Z.funcName,Ue=Z.parser,ft=Ue.mode;Ue.switchMode("math");var zt=pe==="\\("?"\\)":"$",Dr=Ue.parseExpression(!1,zt);return Ue.expect(zt),Ue.switchMode(ft),{type:"styling",mode:Ue.mode,style:"text",body:Dr}}}),pt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,se){throw new c("Mismatched "+Z.funcName)}});var ii=function(Z,se){switch(se.style.size){case H.DISPLAY.size:return Z.display;case H.TEXT.size:return Z.text;case H.SCRIPT.size:return Z.script;case H.SCRIPTSCRIPT.size:return Z.scriptscript;default:return Z.text}};pt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(Z,se){var pe=Z.parser;return{type:"mathchoice",mode:pe.mode,display:qt(se[0]),text:qt(se[1]),script:qt(se[2]),scriptscript:qt(se[3])}},htmlBuilder:function(Z,se){var pe=ii(Z,se),Ue=Yr(pe,se,!1);return yr.makeFragment(Ue)},mathmlBuilder:function(Z,se){var pe=ii(Z,se);return Bi(pe,se)}});var ai=function(Z,se,pe,Ue,ft,zt,Dr){Z=yr.makeSpan([],[Z]);var Xr,dn;if(se){var Kn=ti(se,Ue.havingStyle(ft.sup()),Ue);dn={elem:Kn,kern:Math.max(Ue.fontMetrics().bigOpSpacing1,Ue.fontMetrics().bigOpSpacing3-Kn.depth)}}if(pe){var $n=ti(pe,Ue.havingStyle(ft.sub()),Ue);Xr={elem:$n,kern:Math.max(Ue.fontMetrics().bigOpSpacing2,Ue.fontMetrics().bigOpSpacing4-$n.height)}}var Qn;if(dn&&Xr){var Ei=Ue.fontMetrics().bigOpSpacing5+Xr.elem.height+Xr.elem.depth+Xr.kern+Z.depth+Dr;Qn=yr.makeVList({positionType:"bottom",positionData:Ei,children:[{type:"kern",size:Ue.fontMetrics().bigOpSpacing5},{type:"elem",elem:Xr.elem,marginLeft:-zt+"em"},{type:"kern",size:Xr.kern},{type:"elem",elem:Z},{type:"kern",size:dn.kern},{type:"elem",elem:dn.elem,marginLeft:zt+"em"},{type:"kern",size:Ue.fontMetrics().bigOpSpacing5}]},Ue)}else if(Xr){var Fi=Z.height-Dr;Qn=yr.makeVList({positionType:"top",positionData:Fi,children:[{type:"kern",size:Ue.fontMetrics().bigOpSpacing5},{type:"elem",elem:Xr.elem,marginLeft:-zt+"em"},{type:"kern",size:Xr.kern},{type:"elem",elem:Z}]},Ue)}else if(dn){var Aa=Z.depth+Dr;Qn=yr.makeVList({positionType:"bottom",positionData:Aa,children:[{type:"elem",elem:Z},{type:"kern",size:dn.kern},{type:"elem",elem:dn.elem,marginLeft:zt+"em"},{type:"kern",size:Ue.fontMetrics().bigOpSpacing5}]},Ue)}else return Z;return yr.makeSpan(["mop","op-limits"],[Qn],Ue)},Pi=["\\smallint"],yi=function(Z,se){var pe,Ue,ft=!1,zt,Dr=tn(Z,"supsub");Dr?(pe=Dr.sup,Ue=Dr.sub,zt=gn(Dr.base,"op"),ft=!0):zt=gn(Z,"op");var Xr=se.style,dn=!1;Xr.size===H.DISPLAY.size&&zt.symbol&&!y.contains(Pi,zt.name)&&(dn=!0);var Kn;if(zt.symbol){var $n=dn?"Size2-Regular":"Size1-Regular",Qn="";if((zt.name==="\\oiint"||zt.name==="\\oiiint")&&(Qn=zt.name.substr(1),zt.name=Qn==="oiint"?"\\iint":"\\iiint"),Kn=yr.makeSymbol(zt.name,$n,"math",se,["mop","op-symbol",dn?"large-op":"small-op"]),Qn.length>0){var Ei=Kn.italic,Fi=yr.staticSvg(Qn+"Size"+(dn?"2":"1"),se);Kn=yr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kn,shift:0},{type:"elem",elem:Fi,shift:dn?.08:0}]},se),zt.name="\\"+Qn,Kn.classes.unshift("mop"),Kn.italic=Ei}}else if(zt.body){var Aa=Yr(zt.body,se,!0);Aa.length===1&&Aa[0]instanceof Be?(Kn=Aa[0],Kn.classes[0]="mop"):Kn=yr.makeSpan(["mop"],yr.tryCombineChars(Aa),se)}else{for(var Oa=[],fo=1;fo<zt.name.length;fo++)Oa.push(yr.mathsym(zt.name[fo],zt.mode,se));Kn=yr.makeSpan(["mop"],Oa,se)}var wo=0,lo=0;return(Kn instanceof Be||zt.name==="\\oiint"||zt.name==="\\oiiint")&&!zt.suppressBaseShift&&(wo=(Kn.height-Kn.depth)/2-se.fontMetrics().axisHeight,lo=Kn.italic),ft?ai(Kn,pe,Ue,se,Xr,lo,wo):(wo&&(Kn.style.position="relative",Kn.style.top=wo+"em"),Kn)},Ki=function(Z,se){var pe;if(Z.symbol)pe=new zi("mo",[hn(Z.name,Z.mode)]),y.contains(Pi,Z.name)&&pe.setAttribute("largeop","false");else if(Z.body)pe=new zi("mo",Li(Z.body,se));else{pe=new zi("mi",[new Ri(Z.name.slice(1))]);var Ue=new zi("mo",[hn("\u2061","text")]);Z.parentIsSupSub?pe=new zi("mo",[pe,Ue]):pe=ki([pe,Ue])}return pe},va={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};pt({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(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=Ue;return ft.length===1&&(ft=va[ft]),{type:"op",mode:pe.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:ft}},htmlBuilder:yi,mathmlBuilder:Ki}),pt({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(Z,se){var pe=Z.parser,Ue=se[0];return{type:"op",mode:pe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:qt(Ue)}},htmlBuilder:yi,mathmlBuilder:Ki});var ea={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};pt({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(Z){var se=Z.parser,pe=Z.funcName;return{type:"op",mode:se.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:pe}},htmlBuilder:yi,mathmlBuilder:Ki}),pt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(Z){var se=Z.parser,pe=Z.funcName;return{type:"op",mode:se.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:pe}},htmlBuilder:yi,mathmlBuilder:Ki}),pt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(Z){var se=Z.parser,pe=Z.funcName,Ue=pe;return Ue.length===1&&(Ue=ea[Ue]),{type:"op",mode:se.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Ue}},htmlBuilder:yi,mathmlBuilder:Ki});var Ji=function(Z,se){var pe,Ue,ft=!1,zt,Dr=tn(Z,"supsub");Dr?(pe=Dr.sup,Ue=Dr.sub,zt=gn(Dr.base,"operatorname"),ft=!0):zt=gn(Z,"operatorname");var Xr;if(zt.body.length>0){for(var dn=zt.body.map(function(Ei){var Fi=Ei.text;return typeof Fi=="string"?{type:"textord",mode:Ei.mode,text:Fi}:Ei}),Kn=Yr(dn,se.withFont("mathrm"),!0),$n=0;$n<Kn.length;$n++){var Qn=Kn[$n];Qn instanceof Be&&(Qn.text=Qn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Xr=yr.makeSpan(["mop"],Kn,se)}else Xr=yr.makeSpan(["mop"],[],se);return ft?ai(Xr,pe,Ue,se,se.style,0,0):Xr},sa=function(Z,se){for(var pe=Li(Z.body,se.withFont("mathrm")),Ue=!0,ft=0;ft<pe.length;ft++){var zt=pe[ft];if(!(zt instanceof Zn.SpaceNode))if(zt instanceof Zn.MathNode)switch(zt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Dr=zt.children[0];zt.children.length===1&&Dr instanceof Zn.TextNode?Dr.text=Dr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Ue=!1;break}default:Ue=!1}else Ue=!1}if(Ue){var Xr=pe.map(function($n){return $n.toText()}).join("");pe=[new Zn.TextNode(Xr)]}var dn=new Zn.MathNode("mi",pe);dn.setAttribute("mathvariant","normal");var Kn=new Zn.MathNode("mo",[hn("\u2061","text")]);return Z.parentIsSupSub?new Zn.MathNode("mo",[dn,Kn]):Zn.newDocumentFragment([dn,Kn])};pt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0];return{type:"operatorname",mode:pe.mode,body:qt(ft),alwaysHandleSupSub:Ue==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ji,mathmlBuilder:sa}),Gt({type:"ordgroup",htmlBuilder:function(Z,se){return Z.semisimple?yr.makeFragment(Yr(Z.body,se,!1)):yr.makeSpan(["mord"],Yr(Z.body,se,!0),se)},mathmlBuilder:function(Z,se){return Bi(Z.body,se,!0)}}),pt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(Z,se){var pe=Z.parser,Ue=se[0];return{type:"overline",mode:pe.mode,body:Ue}},htmlBuilder:function(Z,se){var pe=ti(Z.body,se.havingCrampedStyle()),Ue=yr.makeLineSpan("overline-line",se),ft=se.fontMetrics().defaultRuleThickness,zt=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pe},{type:"kern",size:3*ft},{type:"elem",elem:Ue},{type:"kern",size:ft}]},se);return yr.makeSpan(["mord","overline"],[zt],se)},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mo",[new Zn.TextNode("\u203E")]);pe.setAttribute("stretchy","true");var Ue=new Zn.MathNode("mover",[Ar(Z.body,se),pe]);return Ue.setAttribute("accent","true"),Ue}}),pt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=se[0];return{type:"phantom",mode:pe.mode,body:qt(Ue)}},htmlBuilder:function(Z,se){var pe=Yr(Z.body,se.withPhantom(),!1);return yr.makeFragment(pe)},mathmlBuilder:function(Z,se){var pe=Li(Z.body,se);return new Zn.MathNode("mphantom",pe)}}),pt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=se[0];return{type:"hphantom",mode:pe.mode,body:Ue}},htmlBuilder:function(Z,se){var pe=yr.makeSpan([],[ti(Z.body,se.withPhantom())]);if(pe.height=0,pe.depth=0,pe.children)for(var Ue=0;Ue<pe.children.length;Ue++)pe.children[Ue].height=0,pe.children[Ue].depth=0;return pe=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pe}]},se),yr.makeSpan(["mord"],[pe],se)},mathmlBuilder:function(Z,se){var pe=Li(qt(Z.body),se),Ue=new Zn.MathNode("mphantom",pe),ft=new Zn.MathNode("mpadded",[Ue]);return ft.setAttribute("height","0px"),ft.setAttribute("depth","0px"),ft}}),pt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=se[0];return{type:"vphantom",mode:pe.mode,body:Ue}},htmlBuilder:function(Z,se){var pe=yr.makeSpan(["inner"],[ti(Z.body,se.withPhantom())]),Ue=yr.makeSpan(["fix"],[]);return yr.makeSpan(["mord","rlap"],[pe,Ue],se)},mathmlBuilder:function(Z,se){var pe=Li(qt(Z.body),se),Ue=new Zn.MathNode("mphantom",pe),ft=new Zn.MathNode("mpadded",[Ue]);return ft.setAttribute("width","0px"),ft}}),pt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=gn(se[0],"size").value,ft=se[1];return{type:"raisebox",mode:pe.mode,dy:Ue,body:ft}},htmlBuilder:function(Z,se){var pe=ti(Z.body,se),Ue=ur(Z.dy,se);return yr.makeVList({positionType:"shift",positionData:-Ue,children:[{type:"elem",elem:pe}]},se)},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mpadded",[Ar(Z.body,se)]),Ue=Z.dy.number+Z.dy.unit;return pe.setAttribute("voffset",Ue),pe}}),pt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(Z,se,pe){var Ue=Z.parser,ft=pe[0],zt=gn(se[0],"size"),Dr=gn(se[1],"size");return{type:"rule",mode:Ue.mode,shift:ft&&gn(ft,"size").value,width:zt.value,height:Dr.value}},htmlBuilder:function(Z,se){var pe=yr.makeSpan(["mord","rule"],[],se),Ue=ur(Z.width,se),ft=ur(Z.height,se),zt=Z.shift?ur(Z.shift,se):0;return pe.style.borderRightWidth=Ue+"em",pe.style.borderTopWidth=ft+"em",pe.style.bottom=zt+"em",pe.width=Ue,pe.height=ft+zt,pe.depth=-zt,pe.maxFontSize=ft*1.125*se.sizeMultiplier,pe},mathmlBuilder:function(Z,se){var pe=ur(Z.width,se),Ue=ur(Z.height,se),ft=Z.shift?ur(Z.shift,se):0,zt=se.color&&se.getColor()||"black",Dr=new Zn.MathNode("mspace");Dr.setAttribute("mathbackground",zt),Dr.setAttribute("width",pe+"em"),Dr.setAttribute("height",Ue+"em");var Xr=new Zn.MathNode("mpadded",[Dr]);return ft>=0?Xr.setAttribute("height","+"+ft+"em"):(Xr.setAttribute("height",ft+"em"),Xr.setAttribute("depth","+"+-ft+"em")),Xr.setAttribute("voffset",ft+"em"),Xr}});function fa(ht,Z,se){for(var pe=Yr(ht,Z,!1),Ue=Z.sizeMultiplier/se.sizeMultiplier,ft=0;ft<pe.length;ft++){var zt=pe[ft].classes.indexOf("sizing");zt<0?Array.prototype.push.apply(pe[ft].classes,Z.sizingClasses(se)):pe[ft].classes[zt+1]==="reset-size"+Z.size&&(pe[ft].classes[zt+1]="reset-size"+se.size),pe[ft].height*=Ue,pe[ft].depth*=Ue}return yr.makeFragment(pe)}var xo=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Qa=function(Z,se){var pe=se.havingSize(Z.size);return fa(Z.body,pe,se)};pt({type:"sizing",names:xo,props:{numArgs:0,allowedInText:!0},handler:function(Z,se){var pe=Z.breakOnTokenText,Ue=Z.funcName,ft=Z.parser,zt=ft.parseExpression(!1,pe);return{type:"sizing",mode:ft.mode,size:xo.indexOf(Ue)+1,body:zt}},htmlBuilder:Qa,mathmlBuilder:function(Z,se){var pe=se.havingSize(Z.size),Ue=Li(Z.body,pe),ft=new Zn.MathNode("mstyle",Ue);return ft.setAttribute("mathsize",pe.sizeMultiplier+"em"),ft}}),pt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,se,pe){var Ue=Z.parser,ft=!1,zt=!1,Dr=pe[0]&&gn(pe[0],"ordgroup");if(Dr)for(var Xr="",dn=0;dn<Dr.body.length;++dn){var Kn=Dr.body[dn];if(Xr=Kn.text,Xr==="t")ft=!0;else if(Xr==="b")zt=!0;else{ft=!1,zt=!1;break}}else ft=!0,zt=!0;var $n=se[0];return{type:"smash",mode:Ue.mode,body:$n,smashHeight:ft,smashDepth:zt}},htmlBuilder:function(Z,se){var pe=yr.makeSpan([],[ti(Z.body,se)]);if(!Z.smashHeight&&!Z.smashDepth)return pe;if(Z.smashHeight&&(pe.height=0,pe.children))for(var Ue=0;Ue<pe.children.length;Ue++)pe.children[Ue].height=0;if(Z.smashDepth&&(pe.depth=0,pe.children))for(var ft=0;ft<pe.children.length;ft++)pe.children[ft].depth=0;var zt=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pe}]},se);return yr.makeSpan(["mord"],[zt],se)},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mpadded",[Ar(Z.body,se)]);return Z.smashHeight&&pe.setAttribute("height","0px"),Z.smashDepth&&pe.setAttribute("depth","0px"),pe}}),pt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,se,pe){var Ue=Z.parser,ft=pe[0],zt=se[0];return{type:"sqrt",mode:Ue.mode,body:zt,index:ft}},htmlBuilder:function(Z,se){var pe=ti(Z.body,se.havingCrampedStyle());pe.height===0&&(pe.height=se.fontMetrics().xHeight),pe=yr.wrapFragment(pe,se);var Ue=se.fontMetrics(),ft=Ue.defaultRuleThickness,zt=ft;se.style.id<H.TEXT.id&&(zt=se.fontMetrics().xHeight);var Dr=ft+zt/4,Xr=pe.height+pe.depth+Dr+ft,dn=Ia.sqrtImage(Xr,se),Kn=dn.span,$n=dn.ruleWidth,Qn=dn.advanceWidth,Ei=Kn.height-$n;Ei>pe.height+pe.depth+Dr&&(Dr=(Dr+Ei-pe.height-pe.depth)/2);var Fi=Kn.height-pe.height-Dr-$n;pe.style.paddingLeft=Qn+"em";var Aa=yr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pe,wrapperClasses:["svg-align"]},{type:"kern",size:-(pe.height+Fi)},{type:"elem",elem:Kn},{type:"kern",size:$n}]},se);if(Z.index){var Oa=se.havingStyle(H.SCRIPTSCRIPT),fo=ti(Z.index,Oa,se),wo=.6*(Aa.height-Aa.depth),lo=yr.makeVList({positionType:"shift",positionData:-wo,children:[{type:"elem",elem:fo}]},se),Yo=yr.makeSpan(["root"],[lo]);return yr.makeSpan(["mord","sqrt"],[Yo,Aa],se)}else return yr.makeSpan(["mord","sqrt"],[Aa],se)},mathmlBuilder:function(Z,se){var pe=Z.body,Ue=Z.index;return Ue?new Zn.MathNode("mroot",[Ar(pe,se),Ar(Ue,se)]):new Zn.MathNode("msqrt",[Ar(pe,se)])}});var Wi={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};pt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(Z,se){var pe=Z.breakOnTokenText,Ue=Z.funcName,ft=Z.parser,zt=ft.parseExpression(!0,pe),Dr=Ue.slice(1,Ue.length-5);return{type:"styling",mode:ft.mode,style:Dr,body:zt}},htmlBuilder:function(Z,se){var pe=Wi[Z.style],Ue=se.havingStyle(pe).withFont("");return fa(Z.body,Ue,se)},mathmlBuilder:function(Z,se){var pe=Wi[Z.style],Ue=se.havingStyle(pe),ft=Li(Z.body,Ue),zt=new Zn.MathNode("mstyle",ft),Dr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Xr=Dr[Z.style];return zt.setAttribute("scriptlevel",Xr[0]),zt.setAttribute("displaystyle",Xr[1]),zt}});var qi=function(Z,se){var pe=Z.base;if(pe)if(pe.type==="op"){var Ue=pe.limits&&(se.style.size===H.DISPLAY.size||pe.alwaysHandleSupSub);return Ue?yi:null}else if(pe.type==="operatorname"){var ft=pe.alwaysHandleSupSub&&(se.style.size===H.DISPLAY.size||pe.limits);return ft?Ji:null}else{if(pe.type==="accent")return y.isCharacterBox(pe.base)?en:null;if(pe.type==="horizBrace"){var zt=!Z.sub;return zt===pe.isOver?Bn:null}else return null}else return null};Gt({type:"supsub",htmlBuilder:function(Z,se){var pe=qi(Z,se);if(pe)return pe(Z,se);var Ue=Z.base,ft=Z.sup,zt=Z.sub,Dr=ti(Ue,se),Xr,dn,Kn=se.fontMetrics(),$n=0,Qn=0,Ei=Ue&&y.isCharacterBox(Ue);if(ft){var Fi=se.havingStyle(se.style.sup());Xr=ti(ft,Fi,se),Ei||($n=Dr.height-Fi.fontMetrics().supDrop*Fi.sizeMultiplier/se.sizeMultiplier)}if(zt){var Aa=se.havingStyle(se.style.sub());dn=ti(zt,Aa,se),Ei||(Qn=Dr.depth+Aa.fontMetrics().subDrop*Aa.sizeMultiplier/se.sizeMultiplier)}var Oa;se.style===H.DISPLAY?Oa=Kn.sup1:se.style.cramped?Oa=Kn.sup3:Oa=Kn.sup2;var fo=se.sizeMultiplier,wo=.5/Kn.ptPerEm/fo+"em",lo=null;if(dn){var Yo=Z.base&&Z.base.type==="op"&&Z.base.name&&(Z.base.name==="\\oiint"||Z.base.name==="\\oiiint");(Dr instanceof Be||Yo)&&(lo=-Dr.italic+"em")}var Vo;if(Xr&&dn){$n=Math.max($n,Oa,Xr.depth+.25*Kn.xHeight),Qn=Math.max(Qn,Kn.sub2);var No=Kn.defaultRuleThickness,ao=4*No;if($n-Xr.depth-(dn.height-Qn)<ao){Qn=ao-($n-Xr.depth)+dn.height;var Ka=.8*Kn.xHeight-($n-Xr.depth);Ka>0&&($n+=Ka,Qn-=Ka)}var is=[{type:"elem",elem:dn,shift:Qn,marginRight:wo,marginLeft:lo},{type:"elem",elem:Xr,shift:-$n,marginRight:wo}];Vo=yr.makeVList({positionType:"individualShift",children:is},se)}else if(dn){Qn=Math.max(Qn,Kn.sub1,dn.height-.8*Kn.xHeight);var Is=[{type:"elem",elem:dn,marginLeft:lo,marginRight:wo}];Vo=yr.makeVList({positionType:"shift",positionData:Qn,children:Is},se)}else if(Xr)$n=Math.max($n,Oa,Xr.depth+.25*Kn.xHeight),Vo=yr.makeVList({positionType:"shift",positionData:-$n,children:[{type:"elem",elem:Xr,marginRight:wo}]},se);else throw new Error("supsub must have either sup or sub.");var Xo=In(Dr,"right")||"mord";return yr.makeSpan([Xo],[Dr,yr.makeSpan(["msupsub"],[Vo])],se)},mathmlBuilder:function(Z,se){var pe=!1,Ue,ft,zt=tn(Z.base,"horizBrace");zt&&(ft=!!Z.sup,ft===zt.isOver&&(pe=!0,Ue=zt.isOver)),Z.base&&(Z.base.type==="op"||Z.base.type==="operatorname")&&(Z.base.parentIsSupSub=!0);var Dr=[Ar(Z.base,se)];Z.sub&&Dr.push(Ar(Z.sub,se)),Z.sup&&Dr.push(Ar(Z.sup,se));var Xr;if(pe)Xr=Ue?"mover":"munder";else if(Z.sub)if(Z.sup){var $n=Z.base;$n&&$n.type==="op"&&$n.limits&&se.style===H.DISPLAY||$n&&$n.type==="operatorname"&&$n.alwaysHandleSupSub&&(se.style===H.DISPLAY||$n.limits)?Xr="munderover":Xr="msubsup"}else{var Kn=Z.base;Kn&&Kn.type==="op"&&Kn.limits&&(se.style===H.DISPLAY||Kn.alwaysHandleSupSub)||Kn&&Kn.type==="operatorname"&&Kn.alwaysHandleSupSub&&(Kn.limits||se.style===H.DISPLAY)?Xr="munder":Xr="msub"}else{var dn=Z.base;dn&&dn.type==="op"&&dn.limits&&(se.style===H.DISPLAY||dn.alwaysHandleSupSub)||dn&&dn.type==="operatorname"&&dn.alwaysHandleSupSub&&(dn.limits||se.style===H.DISPLAY)?Xr="mover":Xr="msup"}var Qn=new Zn.MathNode(Xr,Dr);return Qn}}),Gt({type:"atom",htmlBuilder:function(Z,se){return yr.mathsym(Z.text,Z.mode,se,["m"+Z.family])},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mo",[hn(Z.text,Z.mode)]);if(Z.family==="bin"){var Ue=Hi(Z,se);Ue==="bold-italic"&&pe.setAttribute("mathvariant",Ue)}else Z.family==="punct"?pe.setAttribute("separator","true"):(Z.family==="open"||Z.family==="close")&&pe.setAttribute("stretchy","false");return pe}});var ca={mi:"italic",mn:"normal",mtext:"normal"};Gt({type:"mathord",htmlBuilder:function(Z,se){return yr.makeOrd(Z,se,"mathord")},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mi",[hn(Z.text,Z.mode,se)]),Ue=Hi(Z,se)||"italic";return Ue!==ca[pe.type]&&pe.setAttribute("mathvariant",Ue),pe}}),Gt({type:"textord",htmlBuilder:function(Z,se){return yr.makeOrd(Z,se,"textord")},mathmlBuilder:function(Z,se){var pe=hn(Z.text,Z.mode,se),Ue=Hi(Z,se)||"normal",ft;return Z.mode==="text"?ft=new Zn.MathNode("mtext",[pe]):/[0-9]/.test(Z.text)?ft=new Zn.MathNode("mn",[pe]):Z.text==="\\prime"?ft=new Zn.MathNode("mo",[pe]):ft=new Zn.MathNode("mi",[pe]),Ue!==ca[ft.type]&&ft.setAttribute("mathvariant",Ue),ft}});var ma={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Pa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Gt({type:"spacing",htmlBuilder:function(Z,se){if(Pa.hasOwnProperty(Z.text)){var pe=Pa[Z.text].className||"";if(Z.mode==="text"){var Ue=yr.makeOrd(Z,se,"textord");return Ue.classes.push(pe),Ue}else return yr.makeSpan(["mspace",pe],[yr.mathsym(Z.text,Z.mode,se)],se)}else{if(ma.hasOwnProperty(Z.text))return yr.makeSpan(["mspace",ma[Z.text]],[],se);throw new c('Unknown type of space "'+Z.text+'"')}},mathmlBuilder:function(Z,se){var pe;if(Pa.hasOwnProperty(Z.text))pe=new Zn.MathNode("mtext",[new Zn.TextNode("\xA0")]);else{if(ma.hasOwnProperty(Z.text))return new Zn.MathNode("mspace");throw new c('Unknown type of space "'+Z.text+'"')}return pe}});var La=function(){var Z=new Zn.MathNode("mtd",[]);return Z.setAttribute("width","50%"),Z};Gt({type:"tag",mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mtable",[new Zn.MathNode("mtr",[La(),new Zn.MathNode("mtd",[Bi(Z.body,se)]),La(),new Zn.MathNode("mtd",[Bi(Z.tag,se)])])]);return pe.setAttribute("width","100%"),pe}});var Za={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},eo={"\\textbf":"textbf","\\textmd":"textmd"},ko={"\\textit":"textit","\\textup":"textup"},jo=function(Z,se){var pe=Z.font;return pe?Za[pe]?se.withTextFontFamily(Za[pe]):eo[pe]?se.withTextFontWeight(eo[pe]):se.withTextFontShape(ko[pe]):se};pt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(Z,se){var pe=Z.parser,Ue=Z.funcName,ft=se[0];return{type:"text",mode:pe.mode,body:qt(ft),font:Ue}},htmlBuilder:function(Z,se){var pe=jo(Z,se),Ue=Yr(Z.body,pe,!0);return yr.makeSpan(["mord","text"],yr.tryCombineChars(Ue),pe)},mathmlBuilder:function(Z,se){var pe=jo(Z,se);return Bi(Z.body,pe)}}),pt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Z,se){var pe=Z.parser;return{type:"underline",mode:pe.mode,body:se[0]}},htmlBuilder:function(Z,se){var pe=ti(Z.body,se),Ue=yr.makeLineSpan("underline-line",se),ft=se.fontMetrics().defaultRuleThickness,zt=yr.makeVList({positionType:"top",positionData:pe.height,children:[{type:"kern",size:ft},{type:"elem",elem:Ue},{type:"kern",size:3*ft},{type:"elem",elem:pe}]},se);return yr.makeSpan(["mord","underline"],[zt],se)},mathmlBuilder:function(Z,se){var pe=new Zn.MathNode("mo",[new Zn.TextNode("\u203E")]);pe.setAttribute("stretchy","true");var Ue=new Zn.MathNode("munder",[Ar(Z.body,se),pe]);return Ue.setAttribute("accentunder","true"),Ue}}),pt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Z,se,pe){throw new c("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Z,se){for(var pe=cs(Z),Ue=[],ft=se.havingStyle(se.style.text()),zt=0;zt<pe.length;zt++){var Dr=pe[zt];Dr==="~"&&(Dr="\\textasciitilde"),Ue.push(yr.makeSymbol(Dr,"Typewriter-Regular",Z.mode,ft,["mord","texttt"]))}return yr.makeSpan(["mord","text"].concat(ft.sizingClasses(se)),yr.tryCombineChars(Ue),ft)},mathmlBuilder:function(Z,se){var pe=new Zn.TextNode(cs(Z)),Ue=new Zn.MathNode("mtext",[pe]);return Ue.setAttribute("mathvariant","monospace"),Ue}});var cs=function(Z){return Z.body.replace(/ /g,Z.star?"\u2423":"\xA0")},Mo=bt,Lo=Mo,Ba=`[ \r
]`,za="\\\\[a-zA-Z@]+",Ca="\\\\[^\uD800-\uDFFF]",Po=""+za+Ba+"*",Qo=new RegExp("^("+za+")"+Ba+"*$"),so="[\u0300-\u036F]",Os=new RegExp(so+"+$"),ho="("+Ba+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(so+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(so+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Po)+("|"+Ca+")"),bo=function(){function ht(se,pe){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=se,this.settings=pe,this.tokenRegex=new RegExp(ho,"g"),this.catcodes={"%":14}}var Z=ht.prototype;return Z.setCatcode=function(pe,Ue){this.catcodes[pe]=Ue},Z.lex=function(){var pe=this.input,Ue=this.tokenRegex.lastIndex;if(Ue===pe.length)return new f("EOF",new g(this,Ue,Ue));var ft=this.tokenRegex.exec(pe);if(ft===null||ft.index!==Ue)throw new c("Unexpected character: '"+pe[Ue]+"'",new f(pe[Ue],new g(this,Ue,Ue+1)));var zt=ft[2]||" ";if(this.catcodes[zt]===14){var Dr=pe.indexOf(`
`,this.tokenRegex.lastIndex);return Dr===-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=Dr+1,this.lex()}var Xr=zt.match(Qo);return Xr&&(zt=Xr[1]),new f(zt,new g(this,Ue,this.tokenRegex.lastIndex))},ht}(),ds=function(){function ht(se,pe){se===void 0&&(se={}),pe===void 0&&(pe={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=pe,this.builtins=se,this.undefStack=[]}var Z=ht.prototype;return Z.beginGroup=function(){this.undefStack.push({})},Z.endGroup=function(){if(this.undefStack.length===0)throw new c("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var pe=this.undefStack.pop();for(var Ue in pe)pe.hasOwnProperty(Ue)&&(pe[Ue]===void 0?delete this.current[Ue]:this.current[Ue]=pe[Ue])},Z.has=function(pe){return this.current.hasOwnProperty(pe)||this.builtins.hasOwnProperty(pe)},Z.get=function(pe){return this.current.hasOwnProperty(pe)?this.current[pe]:this.builtins[pe]},Z.set=function(pe,Ue,ft){if(ft===void 0&&(ft=!1),ft){for(var zt=0;zt<this.undefStack.length;zt++)delete this.undefStack[zt][pe];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][pe]=Ue)}else{var Dr=this.undefStack[this.undefStack.length-1];Dr&&!Dr.hasOwnProperty(pe)&&(Dr[pe]=this.current[pe])}this.current[pe]=Ue},ht}(),Ho={},zo=Ho;function rn(ht,Z){Ho[ht]=Z}rn("\\@firstoftwo",function(ht){var Z=ht.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),rn("\\@secondoftwo",function(ht){var Z=ht.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),rn("\\@ifnextchar",function(ht){var Z=ht.consumeArgs(3),se=ht.future();return Z[0].length===1&&Z[0][0].text===se.text?{tokens:Z[1],numArgs:0}:{tokens:Z[2],numArgs:0}}),rn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),rn("\\TextOrMath",function(ht){var Z=ht.consumeArgs(2);return ht.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[1],numArgs:0}});var es={"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};rn("\\char",function(ht){var Z=ht.popToken(),se,pe="";if(Z.text==="'")se=8,Z=ht.popToken();else if(Z.text==='"')se=16,Z=ht.popToken();else if(Z.text==="`")if(Z=ht.popToken(),Z.text[0]==="\\")pe=Z.text.charCodeAt(1);else{if(Z.text==="EOF")throw new c("\\char` missing argument");pe=Z.text.charCodeAt(0)}else se=10;if(se){if(pe=es[Z.text],pe==null||pe>=se)throw new c("Invalid base-"+se+" digit "+Z.text);for(var Ue;(Ue=es[ht.future().text])!=null&&Ue<se;)pe*=se,pe+=Ue,ht.popToken()}return"\\@char{"+pe+"}"});var Js=function(Z,se){var pe=Z.consumeArgs(1)[0];if(pe.length!==1)throw new c("\\gdef's first argument must be a macro name");var Ue=pe[0].text,ft=0;for(pe=Z.consumeArgs(1)[0];pe.length===1&&pe[0].text==="#";){if(pe=Z.consumeArgs(1)[0],pe.length!==1)throw new c('Invalid argument number length "'+pe.length+'"');if(!/^[1-9]$/.test(pe[0].text))throw new c('Invalid argument number "'+pe[0].text+'"');if(ft++,parseInt(pe[0].text)!==ft)throw new c('Argument number "'+pe[0].text+'" out of order');pe=Z.consumeArgs(1)[0]}return Z.macros.set(Ue,{tokens:pe,numArgs:ft},se),""};rn("\\gdef",function(ht){return Js(ht,!0)}),rn("\\def",function(ht){return Js(ht,!1)}),rn("\\global",function(ht){var Z=ht.consumeArgs(1)[0];if(Z.length!==1)throw new c("Invalid command after \\global");var se=Z[0].text;if(se==="\\def")return Js(ht,!0);throw new c("Invalid command '"+se+"' after \\global")});var Es=function(Z,se,pe){var Ue=Z.consumeArgs(1)[0];if(Ue.length!==1)throw new c("\\newcommand's first argument must be a macro name");var ft=Ue[0].text,zt=Z.isDefined(ft);if(zt&&!se)throw new c("\\newcommand{"+ft+"} attempting to redefine "+(ft+"; use \\renewcommand"));if(!zt&&!pe)throw new c("\\renewcommand{"+ft+"} when command "+ft+" does not yet exist; use \\newcommand");var Dr=0;if(Ue=Z.consumeArgs(1)[0],Ue.length===1&&Ue[0].text==="["){for(var Xr="",dn=Z.expandNextToken();dn.text!=="]"&&dn.text!=="EOF";)Xr+=dn.text,dn=Z.expandNextToken();if(!Xr.match(/^\s*[0-9]+\s*$/))throw new c("Invalid number of arguments: "+Xr);Dr=parseInt(Xr),Ue=Z.consumeArgs(1)[0]}return Z.macros.set(ft,{tokens:Ue,numArgs:Dr}),""};rn("\\newcommand",function(ht){return Es(ht,!1,!0)}),rn("\\renewcommand",function(ht){return Es(ht,!0,!1)}),rn("\\providecommand",function(ht){return Es(ht,!0,!0)}),rn("\\bgroup","{"),rn("\\egroup","}"),rn("\\lq","`"),rn("\\rq","'"),rn("\\aa","\\r a"),rn("\\AA","\\r A"),rn("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),rn("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),rn("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),rn("\u212C","\\mathscr{B}"),rn("\u2130","\\mathscr{E}"),rn("\u2131","\\mathscr{F}"),rn("\u210B","\\mathscr{H}"),rn("\u2110","\\mathscr{I}"),rn("\u2112","\\mathscr{L}"),rn("\u2133","\\mathscr{M}"),rn("\u211B","\\mathscr{R}"),rn("\u212D","\\mathfrak{C}"),rn("\u210C","\\mathfrak{H}"),rn("\u2128","\\mathfrak{Z}"),rn("\\Bbbk","\\Bbb{k}"),rn("\xB7","\\cdotp"),rn("\\llap","\\mathllap{\\textrm{#1}}"),rn("\\rlap","\\mathrlap{\\textrm{#1}}"),rn("\\clap","\\mathclap{\\textrm{#1}}"),rn("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),rn("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),rn("\\ne","\\neq"),rn("\u2260","\\neq"),rn("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),rn("\u2209","\\notin"),rn("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),rn("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),rn("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),rn("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),rn("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),rn("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),rn("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),rn("\u27C2","\\perp"),rn("\u203C","\\mathclose{!\\mkern-0.8mu!}"),rn("\u220C","\\notni"),rn("\u231C","\\ulcorner"),rn("\u231D","\\urcorner"),rn("\u231E","\\llcorner"),rn("\u231F","\\lrcorner"),rn("\xA9","\\copyright"),rn("\xAE","\\textregistered"),rn("\uFE0F","\\textregistered"),rn("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),rn("\u22EE","\\vdots"),rn("\\varGamma","\\mathit{\\Gamma}"),rn("\\varDelta","\\mathit{\\Delta}"),rn("\\varTheta","\\mathit{\\Theta}"),rn("\\varLambda","\\mathit{\\Lambda}"),rn("\\varXi","\\mathit{\\Xi}"),rn("\\varPi","\\mathit{\\Pi}"),rn("\\varSigma","\\mathit{\\Sigma}"),rn("\\varUpsilon","\\mathit{\\Upsilon}"),rn("\\varPhi","\\mathit{\\Phi}"),rn("\\varPsi","\\mathit{\\Psi}"),rn("\\varOmega","\\mathit{\\Omega}"),rn("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),rn("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),rn("\\boxed","\\fbox{$\\displaystyle{#1}$}"),rn("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),rn("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),rn("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var gs={",":"\\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"};rn("\\dots",function(ht){var Z="\\dotso",se=ht.expandAfterFuture().text;return se in gs?Z=gs[se]:se.substr(0,4)==="\\not"?Z="\\dotsb":se in ke.math&&(y.contains(["bin","rel"],ke.math[se].group)&&(Z="\\dotsb")),Z});var Ko={")":!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};rn("\\dotso",function(ht){var Z=ht.future().text;return Z in Ko?"\\ldots\\,":"\\ldots"}),rn("\\dotsc",function(ht){var Z=ht.future().text;return Z in Ko&&Z!==","?"\\ldots\\,":"\\ldots"}),rn("\\cdots",function(ht){var Z=ht.future().text;return Z in Ko?"\\@cdots\\,":"\\@cdots"}),rn("\\dotsb","\\cdots"),rn("\\dotsm","\\cdots"),rn("\\dotsi","\\!\\cdots"),rn("\\dotsx","\\ldots\\,"),rn("\\DOTSI","\\relax"),rn("\\DOTSB","\\relax"),rn("\\DOTSX","\\relax"),rn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),rn("\\,","\\tmspace+{3mu}{.1667em}"),rn("\\thinspace","\\,"),rn("\\>","\\mskip{4mu}"),rn("\\:","\\tmspace+{4mu}{.2222em}"),rn("\\medspace","\\:"),rn("\\;","\\tmspace+{5mu}{.2777em}"),rn("\\thickspace","\\;"),rn("\\!","\\tmspace-{3mu}{.1667em}"),rn("\\negthinspace","\\!"),rn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),rn("\\negthickspace","\\tmspace-{5mu}{.277em}"),rn("\\enspace","\\kern.5em "),rn("\\enskip","\\hskip.5em\\relax"),rn("\\quad","\\hskip1em\\relax"),rn("\\qquad","\\hskip2em\\relax"),rn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),rn("\\tag@paren","\\tag@literal{({#1})}"),rn("\\tag@literal",function(ht){if(ht.macros.get("\\df@tag"))throw new c("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),rn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),rn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),rn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),rn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),rn("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),rn("\\\\","\\newline"),rn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var hs=Et["Main-Regular"]["T".charCodeAt(0)][1]-.7*Et["Main-Regular"]["A".charCodeAt(0)][1]+"em";rn("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+hs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),rn("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+hs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),rn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),rn("\\@hspace","\\hskip #1\\relax"),rn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),rn("\\ordinarycolon",":"),rn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),rn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),rn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),rn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),rn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),rn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),rn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),rn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),rn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),rn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),rn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),rn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),rn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),rn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),rn("\u2237","\\dblcolon"),rn("\u2239","\\eqcolon"),rn("\u2254","\\coloneqq"),rn("\u2255","\\eqqcolon"),rn("\u2A74","\\Coloneqq"),rn("\\ratio","\\vcentcolon"),rn("\\coloncolon","\\dblcolon"),rn("\\colonequals","\\coloneqq"),rn("\\coloncolonequals","\\Coloneqq"),rn("\\equalscolon","\\eqqcolon"),rn("\\equalscoloncolon","\\Eqqcolon"),rn("\\colonminus","\\coloneq"),rn("\\coloncolonminus","\\Coloneq"),rn("\\minuscolon","\\eqcolon"),rn("\\minuscoloncolon","\\Eqcolon"),rn("\\coloncolonapprox","\\Colonapprox"),rn("\\coloncolonsim","\\Colonsim"),rn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),rn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),rn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),rn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),rn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),rn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),rn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),rn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),rn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),rn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),rn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),rn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),rn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),rn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),rn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),rn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),rn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),rn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),rn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),rn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),rn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),rn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),rn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),rn("\u27E6","\\llbracket"),rn("\u27E7","\\rrbracket"),rn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),rn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),rn("\u2983","\\lBrace"),rn("\u2984","\\rBrace"),rn("\\darr","\\downarrow"),rn("\\dArr","\\Downarrow"),rn("\\Darr","\\Downarrow"),rn("\\lang","\\langle"),rn("\\rang","\\rangle"),rn("\\uarr","\\uparrow"),rn("\\uArr","\\Uparrow"),rn("\\Uarr","\\Uparrow"),rn("\\N","\\mathbb{N}"),rn("\\R","\\mathbb{R}"),rn("\\Z","\\mathbb{Z}"),rn("\\alef","\\aleph"),rn("\\alefsym","\\aleph"),rn("\\Alpha","\\mathrm{A}"),rn("\\Beta","\\mathrm{B}"),rn("\\bull","\\bullet"),rn("\\Chi","\\mathrm{X}"),rn("\\clubs","\\clubsuit"),rn("\\cnums","\\mathbb{C}"),rn("\\Complex","\\mathbb{C}"),rn("\\Dagger","\\ddagger"),rn("\\diamonds","\\diamondsuit"),rn("\\empty","\\emptyset"),rn("\\Epsilon","\\mathrm{E}"),rn("\\Eta","\\mathrm{H}"),rn("\\exist","\\exists"),rn("\\harr","\\leftrightarrow"),rn("\\hArr","\\Leftrightarrow"),rn("\\Harr","\\Leftrightarrow"),rn("\\hearts","\\heartsuit"),rn("\\image","\\Im"),rn("\\infin","\\infty"),rn("\\Iota","\\mathrm{I}"),rn("\\isin","\\in"),rn("\\Kappa","\\mathrm{K}"),rn("\\larr","\\leftarrow"),rn("\\lArr","\\Leftarrow"),rn("\\Larr","\\Leftarrow"),rn("\\lrarr","\\leftrightarrow"),rn("\\lrArr","\\Leftrightarrow"),rn("\\Lrarr","\\Leftrightarrow"),rn("\\Mu","\\mathrm{M}"),rn("\\natnums","\\mathbb{N}"),rn("\\Nu","\\mathrm{N}"),rn("\\Omicron","\\mathrm{O}"),rn("\\plusmn","\\pm"),rn("\\rarr","\\rightarrow"),rn("\\rArr","\\Rightarrow"),rn("\\Rarr","\\Rightarrow"),rn("\\real","\\Re"),rn("\\reals","\\mathbb{R}"),rn("\\Reals","\\mathbb{R}"),rn("\\Rho","\\mathrm{P}"),rn("\\sdot","\\cdot"),rn("\\sect","\\S"),rn("\\spades","\\spadesuit"),rn("\\sub","\\subset"),rn("\\sube","\\subseteq"),rn("\\supe","\\supseteq"),rn("\\Tau","\\mathrm{T}"),rn("\\thetasym","\\vartheta"),rn("\\weierp","\\wp"),rn("\\Zeta","\\mathrm{Z}"),rn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),rn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),rn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),rn("\\blue","\\textcolor{##6495ed}{#1}"),rn("\\orange","\\textcolor{##ffa500}{#1}"),rn("\\pink","\\textcolor{##ff00af}{#1}"),rn("\\red","\\textcolor{##df0030}{#1}"),rn("\\green","\\textcolor{##28ae7b}{#1}"),rn("\\gray","\\textcolor{gray}{#1}"),rn("\\purple","\\textcolor{##9d38bd}{#1}"),rn("\\blueA","\\textcolor{##ccfaff}{#1}"),rn("\\blueB","\\textcolor{##80f6ff}{#1}"),rn("\\blueC","\\textcolor{##63d9ea}{#1}"),rn("\\blueD","\\textcolor{##11accd}{#1}"),rn("\\blueE","\\textcolor{##0c7f99}{#1}"),rn("\\tealA","\\textcolor{##94fff5}{#1}"),rn("\\tealB","\\textcolor{##26edd5}{#1}"),rn("\\tealC","\\textcolor{##01d1c1}{#1}"),rn("\\tealD","\\textcolor{##01a995}{#1}"),rn("\\tealE","\\textcolor{##208170}{#1}"),rn("\\greenA","\\textcolor{##b6ffb0}{#1}"),rn("\\greenB","\\textcolor{##8af281}{#1}"),rn("\\greenC","\\textcolor{##74cf70}{#1}"),rn("\\greenD","\\textcolor{##1fab54}{#1}"),rn("\\greenE","\\textcolor{##0d923f}{#1}"),rn("\\goldA","\\textcolor{##ffd0a9}{#1}"),rn("\\goldB","\\textcolor{##ffbb71}{#1}"),rn("\\goldC","\\textcolor{##ff9c39}{#1}"),rn("\\goldD","\\textcolor{##e07d10}{#1}"),rn("\\goldE","\\textcolor{##a75a05}{#1}"),rn("\\redA","\\textcolor{##fca9a9}{#1}"),rn("\\redB","\\textcolor{##ff8482}{#1}"),rn("\\redC","\\textcolor{##f9685d}{#1}"),rn("\\redD","\\textcolor{##e84d39}{#1}"),rn("\\redE","\\textcolor{##bc2612}{#1}"),rn("\\maroonA","\\textcolor{##ffbde0}{#1}"),rn("\\maroonB","\\textcolor{##ff92c6}{#1}"),rn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),rn("\\maroonD","\\textcolor{##ca337c}{#1}"),rn("\\maroonE","\\textcolor{##9e034e}{#1}"),rn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),rn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),rn("\\purpleC","\\textcolor{##aa87ff}{#1}"),rn("\\purpleD","\\textcolor{##7854ab}{#1}"),rn("\\purpleE","\\textcolor{##543b78}{#1}"),rn("\\mintA","\\textcolor{##f5f9e8}{#1}"),rn("\\mintB","\\textcolor{##edf2df}{#1}"),rn("\\mintC","\\textcolor{##e0e5cc}{#1}"),rn("\\grayA","\\textcolor{##f6f7f7}{#1}"),rn("\\grayB","\\textcolor{##f0f1f2}{#1}"),rn("\\grayC","\\textcolor{##e3e5e6}{#1}"),rn("\\grayD","\\textcolor{##d6d8da}{#1}"),rn("\\grayE","\\textcolor{##babec2}{#1}"),rn("\\grayF","\\textcolor{##888d93}{#1}"),rn("\\grayG","\\textcolor{##626569}{#1}"),rn("\\grayH","\\textcolor{##3b3e40}{#1}"),rn("\\grayI","\\textcolor{##21242c}{#1}"),rn("\\kaBlue","\\textcolor{##314453}{#1}"),rn("\\kaGreen","\\textcolor{##71B307}{#1}");var bs={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ws=function(){function ht(se,pe,Ue){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(se),this.macros=new ds(zo,pe.macros),this.mode=Ue,this.stack=[]}var Z=ht.prototype;return Z.feed=function(pe){this.lexer=new bo(pe,this.settings)},Z.switchMode=function(pe){this.mode=pe},Z.beginGroup=function(){this.macros.beginGroup()},Z.endGroup=function(){this.macros.endGroup()},Z.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Z.popToken=function(){return this.future(),this.stack.pop()},Z.pushToken=function(pe){this.stack.push(pe)},Z.pushTokens=function(pe){var Ue;(Ue=this.stack).push.apply(Ue,pe)},Z.consumeSpaces=function(){for(;;){var pe=this.future();if(pe.text===" ")this.stack.pop();else break}},Z.consumeArgs=function(pe){for(var Ue=[],ft=0;ft<pe;++ft){this.consumeSpaces();var zt=this.popToken();if(zt.text==="{"){for(var Dr=[],Xr=1;Xr!==0;){var dn=this.popToken();if(Dr.push(dn),dn.text==="{")++Xr;else if(dn.text==="}")--Xr;else if(dn.text==="EOF")throw new c("End of input in macro argument",zt)}Dr.pop(),Dr.reverse(),Ue[ft]=Dr}else{if(zt.text==="EOF")throw new c("End of input expecting macro argument");Ue[ft]=[zt]}}return Ue},Z.expandOnce=function(){var pe=this.popToken(),Ue=pe.text,ft=this._getExpansion(Ue);if(ft==null)return this.pushToken(pe),pe;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new c("Too many expansions: infinite loop or need to increase maxExpand setting");var zt=ft.tokens;if(ft.numArgs){var Dr=this.consumeArgs(ft.numArgs);zt=zt.slice();for(var Xr=zt.length-1;Xr>=0;--Xr){var dn=zt[Xr];if(dn.text==="#"){if(Xr===0)throw new c("Incomplete placeholder at end of macro body",dn);if(dn=zt[--Xr],dn.text==="#")zt.splice(Xr+1,1);else if(/^[1-9]$/.test(dn.text)){var Kn;(Kn=zt).splice.apply(Kn,[Xr,2].concat(Dr[+dn.text-1]))}else throw new c("Not a valid argument number",dn)}}}return this.pushTokens(zt),zt},Z.expandAfterFuture=function(){return this.expandOnce(),this.future()},Z.expandNextToken=function(){for(;;){var pe=this.expandOnce();if(pe instanceof f)if(pe.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},Z.expandMacro=function(pe){if(!this.macros.get(pe))return;var Ue=[],ft=this.stack.length;for(this.pushToken(new f(pe));this.stack.length>ft;){var zt=this.expandOnce();zt instanceof f&&Ue.push(this.stack.pop())}return Ue},Z.expandMacroAsText=function(pe){var Ue=this.expandMacro(pe);return Ue&&Ue.map(function(ft){return ft.text}).join("")},Z._getExpansion=function(pe){var Ue=this.macros.get(pe);if(Ue==null)return Ue;var ft=typeof Ue=="function"?Ue(this):Ue;if(typeof ft=="string"){var zt=0;if(ft.indexOf("#")!==-1)for(var Dr=ft.replace(/##/g,"");Dr.indexOf("#"+(zt+1))!==-1;)++zt;for(var Xr=new bo(ft,this.settings),dn=[],Kn=Xr.lex();Kn.text!=="EOF";)dn.push(Kn),Kn=Xr.lex();dn.reverse();var $n={tokens:dn,numArgs:zt};return $n}return ft},Z.isDefined=function(pe){return this.macros.has(pe)||Lo.hasOwnProperty(pe)||ke.math.hasOwnProperty(pe)||ke.text.hasOwnProperty(pe)||bs.hasOwnProperty(pe)},ht}(),qo={"\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"}},us={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},_s=function(){function ht(se,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 ws(se,pe,this.mode),this.settings=pe,this.leftrightDepth=0}var Z=ht.prototype;return Z.expect=function(pe,Ue){if(Ue===void 0&&(Ue=!0),this.fetch().text!==pe)throw new c("Expected '"+pe+"', got '"+this.fetch().text+"'",this.fetch());Ue&&this.consume()},Z.consume=function(){this.nextToken=null},Z.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Z.switchMode=function(pe){this.mode=pe,this.gullet.switchMode(pe)},Z.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},Z.parseExpression=function(pe,Ue){for(var ft=[];;){this.mode==="math"&&this.consumeSpaces();var zt=this.fetch();if(ht.endOfExpression.indexOf(zt.text)!==-1)break;if(Ue&&zt.text===Ue)break;if(pe&&Lo[zt.text]&&Lo[zt.text].infix)break;var Dr=this.parseAtom(Ue);if(!Dr)break;ft.push(Dr)}return this.mode==="text"&&this.formLigatures(ft),this.handleInfixNodes(ft)},Z.handleInfixNodes=function(pe){for(var Ue=-1,ft,zt=0;zt<pe.length;zt++){var Dr=tn(pe[zt],"infix");if(Dr){if(Ue!==-1)throw new c("only one infix operator per group",Dr.token);Ue=zt,ft=Dr.replaceWith}}if(Ue!==-1&&ft){var Xr,dn,Kn=pe.slice(0,Ue),$n=pe.slice(Ue+1);Kn.length===1&&Kn[0].type==="ordgroup"?Xr=Kn[0]:Xr={type:"ordgroup",mode:this.mode,body:Kn},$n.length===1&&$n[0].type==="ordgroup"?dn=$n[0]:dn={type:"ordgroup",mode:this.mode,body:$n};var Qn;return ft==="\\\\abovefrac"?Qn=this.callFunction(ft,[Xr,pe[Ue],dn],[]):Qn=this.callFunction(ft,[Xr,dn],[]),[Qn]}else return pe},Z.handleSupSubscript=function(pe){var Ue=this.fetch(),ft=Ue.text;this.consume();var zt=this.parseGroup(pe,!1,ht.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!zt)throw new c("Expected group after '"+ft+"'",Ue);return zt},Z.formatUnsupportedCmd=function(pe){for(var Ue=[],ft=0;ft<pe.length;ft++)Ue.push({type:"textord",mode:"text",text:pe[ft]});var zt={type:"text",mode:this.mode,body:Ue},Dr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[zt]};return Dr},Z.parseAtom=function(pe){var Ue=this.parseGroup("atom",!1,null,pe);if(this.mode==="text")return Ue;for(var ft,zt;;){this.consumeSpaces();var Dr=this.fetch();if(Dr.text==="\\limits"||Dr.text==="\\nolimits"){var Xr=tn(Ue,"op");if(Xr){var dn=Dr.text==="\\limits";Xr.limits=dn,Xr.alwaysHandleSupSub=!0}else if(Xr=tn(Ue,"operatorname"),Xr&&Xr.alwaysHandleSupSub){var Kn=Dr.text==="\\limits";Xr.limits=Kn}else throw new c("Limit controls must follow a math operator",Dr);this.consume()}else if(Dr.text==="^"){if(ft)throw new c("Double superscript",Dr);ft=this.handleSupSubscript("superscript")}else if(Dr.text==="_"){if(zt)throw new c("Double subscript",Dr);zt=this.handleSupSubscript("subscript")}else if(Dr.text==="'"){if(ft)throw new c("Double superscript",Dr);var $n={type:"textord",mode:this.mode,text:"\\prime"},Qn=[$n];for(this.consume();this.fetch().text==="'";)Qn.push($n),this.consume();this.fetch().text==="^"&&Qn.push(this.handleSupSubscript("superscript")),ft={type:"ordgroup",mode:this.mode,body:Qn}}else break}return ft||zt?{type:"supsub",mode:this.mode,base:Ue,sup:ft,sub:zt}:Ue},Z.parseFunction=function(pe,Ue,ft){var zt=this.fetch(),Dr=zt.text,Xr=Lo[Dr];if(!Xr)return null;if(this.consume(),ft!=null&&Xr.greediness<=ft)throw new c("Got function '"+Dr+"' with no arguments"+(Ue?" as "+Ue:""),zt);if(this.mode==="text"&&!Xr.allowedInText)throw new c("Can't use function '"+Dr+"' in text mode",zt);if(this.mode==="math"&&Xr.allowedInMath===!1)throw new c("Can't use function '"+Dr+"' in math mode",zt);var dn=this.parseArguments(Dr,Xr),Kn=dn.args,$n=dn.optArgs;return this.callFunction(Dr,Kn,$n,zt,pe)},Z.callFunction=function(pe,Ue,ft,zt,Dr){var Xr={funcName:pe,parser:this,token:zt,breakOnTokenText:Dr},dn=Lo[pe];if(dn&&dn.handler)return dn.handler(Xr,Ue,ft);throw new c("No function handler for "+pe)},Z.parseArguments=function(pe,Ue){var ft=Ue.numArgs+Ue.numOptionalArgs;if(ft===0)return{args:[],optArgs:[]};for(var zt=Ue.greediness,Dr=[],Xr=[],dn=0;dn<ft;dn++){var Kn=Ue.argTypes&&Ue.argTypes[dn],$n=dn<Ue.numOptionalArgs,Qn=dn>0&&!$n||dn===0&&!$n&&this.mode==="math",Ei=this.parseGroupOfType("argument to '"+pe+"'",Kn,$n,zt,Qn);if(!Ei){if($n){Xr.push(null);continue}throw new c("Expected group after '"+pe+"'",this.fetch())}($n?Xr:Dr).push(Ei)}return{args:Dr,optArgs:Xr}},Z.parseGroupOfType=function(pe,Ue,ft,zt,Dr){switch(Ue){case"color":return Dr&&this.consumeSpaces(),this.parseColorGroup(ft);case"size":return Dr&&this.consumeSpaces(),this.parseSizeGroup(ft);case"url":return this.parseUrlGroup(ft,Dr);case"math":case"text":return this.parseGroup(pe,ft,zt,void 0,Ue,Dr);case"hbox":{var Xr=this.parseGroup(pe,ft,zt,void 0,"text",Dr);if(!Xr)return Xr;var dn={type:"styling",mode:Xr.mode,body:[Xr],style:"text"};return dn}case"raw":{if(Dr&&this.consumeSpaces(),ft&&this.fetch().text==="{")return null;var Kn=this.parseStringGroup("raw",ft,!0);if(Kn)return{type:"raw",mode:"text",string:Kn.text};throw new c("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(pe,ft,zt,void 0,void 0,Dr);default:throw new c("Unknown group type as "+pe,this.fetch())}},Z.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},Z.parseStringGroup=function(pe,Ue,ft){var zt=Ue?"[":"{",Dr=Ue?"]":"}",Xr=this.fetch();if(Xr.text!==zt){if(Ue)return null;if(ft&&Xr.text!=="EOF"&&/[^{}[\]]/.test(Xr.text))return this.consume(),Xr}var dn=this.mode;this.mode="text",this.expect(zt);for(var Kn="",$n=this.fetch(),Qn=0,Ei=$n,Fi;(Fi=this.fetch()).text!==Dr||ft&&Qn>0;){switch(Fi.text){case"EOF":throw new c("Unexpected end of input in "+pe,$n.range(Ei,Kn));case zt:Qn++;break;case Dr:Qn--;break}Ei=Fi,Kn+=Ei.text,this.consume()}return this.expect(Dr),this.mode=dn,$n.range(Ei,Kn)},Z.parseRegexGroup=function(pe,Ue){var ft=this.mode;this.mode="text";for(var zt=this.fetch(),Dr=zt,Xr="",dn;(dn=this.fetch()).text!=="EOF"&&pe.test(Xr+dn.text);)Dr=dn,Xr+=Dr.text,this.consume();if(Xr==="")throw new c("Invalid "+Ue+": '"+zt.text+"'",zt);return this.mode=ft,zt.range(Dr,Xr)},Z.parseColorGroup=function(pe){var Ue=this.parseStringGroup("color",pe);if(!Ue)return null;var ft=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Ue.text);if(!ft)throw new c("Invalid color: '"+Ue.text+"'",Ue);var zt=ft[0];return/^[0-9a-f]{6}$/i.test(zt)&&(zt="#"+zt),{type:"color-token",mode:this.mode,color:zt}},Z.parseSizeGroup=function(pe){var Ue,ft=!1;if(!pe&&this.fetch().text!=="{"?Ue=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Ue=this.parseStringGroup("size",pe),!Ue)return null;!pe&&Ue.text.length===0&&(Ue.text="0pt",ft=!0);var zt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Ue.text);if(!zt)throw new c("Invalid size: '"+Ue.text+"'",Ue);var Dr={number:+(zt[1]+zt[2]),unit:zt[3]};if(!br(Dr))throw new c("Invalid unit: '"+Dr.unit+"'",Ue);return{type:"size",mode:this.mode,value:Dr,isBlank:ft}},Z.parseUrlGroup=function(pe,Ue){this.gullet.lexer.setCatcode("%",13);var ft=this.parseStringGroup("url",pe,!0);if(this.gullet.lexer.setCatcode("%",14),!ft)return null;var zt=ft.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:zt}},Z.parseGroup=function(pe,Ue,ft,zt,Dr,Xr){var dn=this.mode;Dr&&this.switchMode(Dr),Xr&&this.consumeSpaces();var Kn=this.fetch(),$n=Kn.text,Qn;if(Ue?$n==="[":$n==="{"||$n==="\\begingroup"){this.consume();var Ei=ht.endOfGroup[$n];this.gullet.beginGroup();var Fi=this.parseExpression(!1,Ei),Aa=this.fetch();this.expect(Ei),this.gullet.endGroup(),Qn={type:"ordgroup",mode:this.mode,loc:g.range(Kn,Aa),body:Fi,semisimple:$n==="\\begingroup"||void 0}}else if(Ue)Qn=null;else if(Qn=this.parseFunction(zt,pe,ft)||this.parseSymbol(),Qn==null&&$n[0]==="\\"&&!bs.hasOwnProperty($n)){if(this.settings.throwOnError)throw new c("Undefined control sequence: "+$n,Kn);Qn=this.formatUnsupportedCmd($n),this.consume()}return Dr&&this.switchMode(dn),Qn},Z.formLigatures=function(pe){for(var Ue=pe.length-1,ft=0;ft<Ue;++ft){var zt=pe[ft],Dr=zt.text;Dr==="-"&&pe[ft+1].text==="-"&&(ft+1<Ue&&pe[ft+2].text==="-"?(pe.splice(ft,3,{type:"textord",mode:"text",loc:g.range(zt,pe[ft+2]),text:"---"}),Ue-=2):(pe.splice(ft,2,{type:"textord",mode:"text",loc:g.range(zt,pe[ft+1]),text:"--"}),Ue-=1)),(Dr==="'"||Dr==="`")&&pe[ft+1].text===Dr&&(pe.splice(ft,2,{type:"textord",mode:"text",loc:g.range(zt,pe[ft+1]),text:Dr+Dr}),Ue-=1)}},Z.parseSymbol=function(){var pe=this.fetch(),Ue=pe.text;if(/^\\verb[^a-zA-Z]/.test(Ue)){this.consume();var ft=Ue.slice(5),zt=ft.charAt(0)==="*";if(zt&&(ft=ft.slice(1)),ft.length<2||ft.charAt(0)!==ft.slice(-1))throw new c(`\\verb assertion failed --
please report what input caused this bug`);return ft=ft.slice(1,-1),{type:"verb",mode:"text",body:ft,star:zt}}us.hasOwnProperty(Ue[0])&&!ke[this.mode][Ue[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Ue[0]+'" used in math mode',pe),Ue=us[Ue[0]]+Ue.substr(1));var Dr=Os.exec(Ue);Dr&&(Ue=Ue.substring(0,Dr.index),Ue==="i"?Ue="\u0131":Ue==="j"&&(Ue="\u0237"));var Xr;if(ke[this.mode][Ue]){this.settings.strict&&this.mode==="math"&&Mt.indexOf(Ue)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Ue[0]+'" used in math mode',pe);var dn=ke[this.mode][Ue].group,Kn=g.range(pe),$n;if(kt.hasOwnProperty(dn)){var Qn=dn;$n={type:"atom",mode:this.mode,family:Qn,loc:Kn,text:Ue}}else $n={type:dn,mode:this.mode,loc:Kn,text:Ue};Xr=$n}else if(Ue.charCodeAt(0)>=128)this.settings.strict&&(G(Ue.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Ue[0]+'" used in math mode',pe):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Ue[0]+'"'+(" ("+Ue.charCodeAt(0)+")"),pe)),Xr={type:"textord",mode:"text",loc:g.range(pe),text:Ue};else return null;if(this.consume(),Dr)for(var Ei=0;Ei<Dr[0].length;Ei++){var Fi=Dr[0][Ei];if(!qo[Fi])throw new c("Unknown accent ' "+Fi+"'",pe);var Aa=qo[Fi][this.mode];if(!Aa)throw new c("Accent "+Fi+" unsupported in "+this.mode+" mode",pe);Xr={type:"accent",mode:this.mode,loc:g.range(pe),label:Aa,isStretchy:!1,isShifty:!0,base:Xr}}return Xr},ht}();_s.endOfExpression=["}","\\endgroup","\\end","\\right","&"],_s.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},_s.SUPSUB_GREEDINESS=1;var As=function(Z,se){if(!(typeof Z=="string"||Z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var pe=new _s(Z,se);delete pe.gullet.macros.current["\\df@tag"];var Ue=pe.parse();if(pe.gullet.macros.get("\\df@tag")){if(!se.displayMode)throw new c("\\tag works only in display equations");pe.gullet.feed("\\df@tag"),Ue=[{type:"tag",mode:"text",body:Ue,tag:pe.parse()}]}return Ue},Ao=As,to=function(Z,se,pe){se.textContent="";var Ue=Ct(Z,pe).toNode();se.appendChild(Ue)};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."),to=function(){throw new c("KaTeX doesn't work in quirks mode.")}));var Jo=function(Z,se){var pe=Ct(Z,se).toMarkup();return pe},ts=function(Z,se){var pe=new w(se);return Ao(Z,pe)},Ha=function(Z,se,pe){if(pe.throwOnError||!(Z instanceof c))throw Z;var Ue=yr.makeSpan(["katex-error"],[new Be(se)]);return Ue.setAttribute("title",Z.toString()),Ue.setAttribute("style","color:"+pe.errorColor),Ue},Ct=function(Z,se){var pe=new w(se);try{var Ue=Ao(Z,pe);return gr(Ue,Z,pe)}catch(ft){return Ha(ft,Z,pe)}},Wt=function(Z,se){var pe=new w(se);try{var Ue=Ao(Z,pe);return Or(Ue,Z,pe)}catch(ft){return Ha(ft,Z,pe)}},cn={version:"0.11.1",render:to,renderToString:Jo,ParseError:c,__parse:ts,__renderToDomTree:Ct,__renderToHTMLTree:Wt,__setFontMetrics:It,__defineSymbol:te,__defineMacro:rn,__domTree:{Span:oe,Anchor:ce,SymbolNode:Be,SvgNode:De,PathNode:ae,LineNode:fe}},zn=p.default=cn}]).default})},P2fV:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("Q9mQ"),m=n("+L6B"),g=n("sE09"),f=n.n(g)},P2ho:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v={Again:57349,AltLeft:56,AltRight:57400,ArrowDown:57424,ArrowLeft:57419,ArrowRight:57421,ArrowUp:57416,AudioVolumeDown:57390,AudioVolumeMute:57376,AudioVolumeUp:57392,Backquote:41,Backslash:43,Backspace:14,BracketLeft:26,BracketRight:27,BrowserBack:57450,BrowserFavorites:57446,BrowserForward:57449,BrowserHome:57394,BrowserRefresh:57447,BrowserSearch:57445,BrowserStop:57448,CapsLock:58,Comma:51,ContextMenu:57437,ControlLeft:29,ControlRight:57373,Convert:121,Copy:57464,Cut:57404,Delete:57427,Digit0:11,Digit1:2,Digit2:3,Digit3:4,Digit4:5,Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Eject:57469,End:57423,Enter:28,Equal:13,Escape:1,F1:59,F10:68,F11:87,F12:88,F13:93,F14:94,F15:95,F16:85,F17:57347,F18:57463,F19:57348,F2:60,F20:90,F21:116,F22:57465,F23:109,F24:111,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,Find:57409,Help:57461,Hiragana:119,Home:57415,Insert:57426,IntlBackslash:86,IntlRo:115,IntlYen:125,KanaMode:112,Katakana:120,KeyA:30,KeyB:48,KeyC:46,KeyD:32,KeyE:18,KeyF:33,KeyG:34,KeyH:35,KeyI:23,KeyJ:36,KeyK:37,KeyL:38,KeyM:50,KeyN:49,KeyO:24,KeyP:25,KeyQ:16,KeyR:19,KeyS:31,KeyT:20,KeyU:22,KeyV:47,KeyW:17,KeyX:45,KeyY:21,KeyZ:44,Lang3:120,Lang4:119,Lang5:118,LaunchApp1:57451,LaunchApp2:57377,LaunchMail:57452,MediaPlayPause:57378,MediaSelect:57453,MediaStop:57380,MediaTrackNext:57369,MediaTrackPrevious:57360,MetaLeft:57435,MetaRight:57436,Minus:12,NonConvert:123,NumLock:69,Numpad0:82,Numpad1:79,Numpad2:80,Numpad3:81,Numpad4:75,Numpad5:76,Numpad6:77,Numpad7:71,Numpad8:72,Numpad9:73,NumpadAdd:78,NumpadComma:126,NumpadDecimal:83,NumpadDivide:57397,NumpadEnter:57372,NumpadEqual:89,NumpadMultiply:55,NumpadParenLeft:57462,NumpadParenRight:57467,NumpadSubtract:74,Open:100,PageDown:57425,PageUp:57417,Paste:101,Pause:57414,Period:52,Power:57438,PrintScreen:84,Props:57350,Quote:40,ScrollLock:70,Semicolon:39,ShiftLeft:42,ShiftRight:54,Slash:53,Sleep:57439,Space:57,Suspend:57381,Tab:15,Undo:57351,WakeUp:57443};N.default=v},P47w:function(M,N,n){var v=n("hydK"),p=v.createElement,S=n("IMiH"),m=n("mFDi"),g=n("Fofx"),f=n("6GrX"),d=n("pzxd"),c=n("dqUG"),o=S.CMD,i=Array.prototype.join,t="none",a=Math.round,e=Math.sin,l=Math.cos,r=Math.PI,s=Math.PI*2,u=180/r,h=1e-4;function A(V){return a(V*1e4)/1e4}function y(V){return V<h&&V>-h}function w(V,W){var G=W?V.textFill:V.fill;return G!=null&&G!==t}function b(V,W){var G=W?V.textStroke:V.stroke;return G!=null&&G!==t}function x(V,W){W&&O(V,"transform","matrix("+i.call(W,",")+")")}function O(V,W,G){(!G||G.type!=="linear"&&G.type!=="radial")&&V.setAttribute(W,G)}function T(V,W,G){V.setAttributeNS("http://www.w3.org/1999/xlink",W,G)}function E(V,W,G,re){if(w(W,G)){var ye=G?W.textFill:W.fill;ye=ye==="transparent"?t:ye,O(V,"fill",ye),O(V,"fill-opacity",W.fillOpacity!=null?W.fillOpacity*W.opacity:W.opacity)}else O(V,"fill",t);if(b(W,G)){var $=G?W.textStroke:W.stroke;$=$==="transparent"?t:$,O(V,"stroke",$);var ve=G?W.textStrokeWidth:W.lineWidth,Ce=!G&&W.strokeNoScale?re.getLineScale():1;O(V,"stroke-width",ve/Ce),O(V,"paint-order",G?"stroke":"fill"),O(V,"stroke-opacity",W.strokeOpacity!=null?W.strokeOpacity:W.opacity);var Se=W.lineDash;Se?(O(V,"stroke-dasharray",W.lineDash.join(",")),O(V,"stroke-dashoffset",a(W.lineDashOffset||0))):O(V,"stroke-dasharray",""),W.lineCap&&O(V,"stroke-linecap",W.lineCap),W.lineJoin&&O(V,"stroke-linejoin",W.lineJoin),W.miterLimit&&O(V,"stroke-miterlimit",W.miterLimit)}else O(V,"stroke",t)}function C(V){for(var W=[],G=V.data,re=V.len(),ye=0;ye<re;){var $=G[ye++],ve="",Ce=0;switch($){case o.M:ve="M",Ce=2;break;case o.L:ve="L",Ce=2;break;case o.Q:ve="Q",Ce=4;break;case o.C:ve="C",Ce=6;break;case o.A:var Se=G[ye++],Ke=G[ye++],ue=G[ye++],Le=G[ye++],ee=G[ye++],le=G[ye++],et=G[ye++],Re=G[ye++],Ae=Math.abs(le),oe=y(Ae-s)||(Re?le>=s:-le>=s),ce=le>0?le%s:le%s+s,be=!1;oe?be=!0:y(Ae)?be=!1:be=ce>=r===!!Re;var Te=A(Se+ue*l(ee)),Be=A(Ke+Le*e(ee));oe&&(Re?le=s-1e-4:le=-s+1e-4,be=!0,ye===9&&W.push("M",Te,Be));var De=A(Se+ue*l(ee+le)),ae=A(Ke+Le*e(ee+le));W.push("A",A(ue),A(Le),a(et*u),+be,+Re,De,ae);break;case o.Z:ve="Z";break;case o.R:var De=A(G[ye++]),ae=A(G[ye++]),fe=A(G[ye++]),Oe=A(G[ye++]);W.push("M",De,ae,"L",De+fe,ae,"L",De+fe,ae+Oe,"L",De,ae+Oe,"L",De,ae);break}ve&&W.push(ve);for(var Je=0;Je<Ce;Je++)W.push(A(G[ye++]))}return W.join(" ")}var _={};_.brush=function(V){var W=V.style,G=V.__svgEl;G||(G=p("path"),V.__svgEl=G),V.path||V.createPathProxy();var re=V.path;if(V.__dirtyPath){re.beginPath(),re.subPixelOptimize=!1,V.buildPath(re,V.shape),V.__dirtyPath=!1;var ye=C(re);ye.indexOf("NaN")<0&&O(G,"d",ye)}E(G,W,!1,V),x(G,V.transform),W.text!=null?R(V,V.getBoundingRect()):K(V)};var L={};L.brush=function(V){var W=V.style,G=W.image;if(G instanceof HTMLImageElement){var re=G.src;G=re}if(!G)return;var ye=W.x||0,$=W.y||0,ve=W.width,Ce=W.height,Se=V.__svgEl;Se||(Se=p("image"),V.__svgEl=Se),G!==V.__imageSrc&&(T(Se,"href",G),V.__imageSrc=G),O(Se,"width",ve),O(Se,"height",Ce),O(Se,"x",ye),O(Se,"y",$),x(Se,V.transform),W.text!=null?R(V,V.getBoundingRect()):K(V)};var P={},k=new m,F={},j=[],z={left:"start",right:"end",center:"middle",middle:"middle"},R=function(W,G){var re=W.style,ye=W.transform,$=W instanceof c||re.transformText;W.__dirty&&d.normalizeTextStyle(re,!0);var ve=re.text;if(ve!=null&&(ve+=""),!d.needDrawText(ve,re))return;ve==null&&(ve=""),!$&&ye&&(k.copy(G),k.applyTransform(ye),G=k);var Ce=W.__textSvgEl;Ce||(Ce=p("text"),W.__textSvgEl=Ce);var Se=Ce.style,Ke=re.font||f.DEFAULT_FONT,ue=Ce.__computedFont;Ke!==Ce.__styleFont&&(Se.font=Ce.__styleFont=Ke,ue=Ce.__computedFont=Se.font);var Le=re.textPadding,ee=re.textLineHeight,le=W.__textCotentBlock;(!le||W.__dirtyText)&&(le=W.__textCotentBlock=f.parsePlainText(ve,ue,Le,ee,re.truncate));var et=le.outerHeight,Re=le.lineHeight;d.getBoxPosition(F,W,re,G);var Ae=F.baseX,oe=F.baseY,ce=F.textAlign||"left",be=F.textVerticalAlign;U(Ce,$,ye,re,G,Ae,oe);var Te=f.adjustTextY(oe,et,be),Be=Ae,De=Te;Le&&(Be=B(Ae,ce,Le),De+=Le[0]),De+=Re/2,E(Ce,re,!0,W);var ae=le.canCacheByTextString,fe=W.__tspanList||(W.__tspanList=[]),Oe=fe.length;if(ae&&W.__canCacheByTextString&&W.__text===ve){if(W.__dirtyText&&Oe)for(var Je=0;Je<Oe;++Je)H(fe[Je],ce,Be,De+Je*Re)}else{W.__text=ve,W.__canCacheByTextString=ae;for(var Et=le.lines,Ze=Et.length,Je=0;Je<Ze;Je++){var Ne=fe[Je],It=Et[Je];Ne?Ne.__zrText!==It&&(Ne.innerHTML="",Ne.appendChild(document.createTextNode(It))):(Ne=fe[Je]=p("tspan"),Ce.appendChild(Ne),Ne.appendChild(document.createTextNode(It))),H(Ne,ce,Be,De+Je*Re)}if(Oe>Ze){for(;Je<Oe;Je++)Ce.removeChild(fe[Je]);fe.length=Ze}}};function U(V,W,G,re,ye,$,ve){g.identity(j),W&&G&&g.copy(j,G);var Ce=re.textRotation;if(ye&&Ce){var Se=re.textOrigin;Se==="center"?($=ye.width/2+ye.x,ve=ye.height/2+ye.y):Se&&($=Se[0]+ye.x,ve=Se[1]+ye.y),j[4]-=$,j[5]-=ve,g.rotate(j,j,Ce),j[4]+=$,j[5]+=ve}x(V,j)}function B(V,W,G){return W==="right"?V-G[1]:W==="center"?V+G[3]/2-G[1]/2:V+G[3]}function H(V,W,G,re){O(V,"dominant-baseline","middle"),O(V,"text-anchor",z[W]),O(V,"x",G),O(V,"y",re)}function K(V){V&&V.__textSvgEl&&(V.__textSvgEl.parentNode&&V.__textSvgEl.parentNode.removeChild(V.__textSvgEl),V.__textSvgEl=null,V.__tspanList=[],V.__text=null)}P.drawRectText=R,P.brush=function(V){var W=V.style;W.text!=null?R(V,!1):K(V)},N.path=_,N.image=L,N.text=P},P4Qj:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.removeSensor=N.getSensor=void 0;var v=m(n("chpo")),p=n("FxDU"),S=n("24YM");function m(c){return c&&c.__esModule?c:{default:c}}var g={},f=function(o){var i=o.getAttribute(S.SizeSensorId);if(i&&g[i])return g[i];var t=(0,v.default)();o.setAttribute(S.SizeSensorId,t);var a=(0,p.createSensor)(o);return g[t]=a,a};N.getSensor=f;var d=function(o){var i=o.element.getAttribute(S.SizeSensorId);o.element.removeAttribute(S.SizeSensorId),o.destroy(),i&&g[i]&&delete g[i]};N.removeSensor=d},P5Jw:function(M,N,n){"use strict";var v=n("rHrb"),p=v.CopyToClipboard;p.CopyToClipboard=p,M.exports=p},PArb:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("q1tI"),f=n.n(g),d=n("TSYQ"),c=n.n(d),o=n("H84U"),i=function(a,e){var l={};for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&e.indexOf(r)<0&&(l[r]=a[r]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(a);s<r.length;s++)e.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(a,r[s])&&(l[r[s]]=a[r[s]]);return l},t=function(e){return g.createElement(o.a,null,function(l){var r,s=l.getPrefixCls,u=l.direction,h=e.prefixCls,A=e.type,y=A===void 0?"horizontal":A,w=e.orientation,b=w===void 0?"center":w,x=e.className,O=e.children,T=e.dashed,E=e.plain,C=i(e,["prefixCls","type","orientation","className","children","dashed","plain"]),_=s("divider",h),L=b.length>0?"-".concat(b):b,P=!!O,k=c()(x,_,"".concat(_,"-").concat(y),(r={},m()(r,"".concat(_,"-with-text"),P),m()(r,"".concat(_,"-with-text").concat(L),P),m()(r,"".concat(_,"-dashed"),!!T),m()(r,"".concat(_,"-plain"),!!E),m()(r,"".concat(_,"-rtl"),u==="rtl"),r));return g.createElement("div",p()({className:k},C,{role:"separator"}),O&&g.createElement("span",{className:"".concat(_,"-inner-text")},O))})};N.a=t},PD8m:function(M,N){M.exports={name:"memoryStorage",read:v,write:p,each:S,remove:m,clearAll:g};var n={};function v(f){return n[f]}function p(f,d){n[f]=d}function S(f){for(var d in n)n.hasOwnProperty(d)&&f(n[d],d)}function m(f){delete n[f]}function g(f){n={}}},PEeC:function(M,N,n){"use strict";n.d(N,"a",function(){return g}),n.d(N,"b",function(){return f});var v=n("RIqP"),p=n.n(v),S=n("xEkU"),m=n.n(S);function g(d){var c,o=function(a){return function(){c=null,d.apply(void 0,p()(a))}},i=function(){if(c==null){for(var a=arguments.length,e=new Array(a),l=0;l<a;l++)e[l]=arguments[l];c=m()(o(e))}};return i.cancel=function(){return m.a.cancel(c)},i}function f(){return function(d,c,o){var i=o.value,t=!1;return{configurable:!0,get:function(){if(t||this===d.prototype||this.hasOwnProperty(c))return i;var e=g(i.bind(this));return t=!0,Object.defineProperty(this,c,{value:e,configurable:!0,writable:!0}),t=!1,e}}}}},PKem:function(M,N,n){"use strict";n.d(N,"a",function(){return w});var v=n("RIqP"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("pVnL"),f=n.n(g),d=n("lwsE"),c=n.n(d),o=n("W8MJ"),i=n.n(o),t=n("7W2i"),a=n.n(t),e=n("LQ03"),l=n.n(e),r=n("q1tI"),s=n.n(r),u=n("TSYQ"),h=n.n(u),A=n("H84U"),y=function(L,P){var k={};for(var F in L)Object.prototype.hasOwnProperty.call(L,F)&&P.indexOf(F)<0&&(k[F]=L[F]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,F=Object.getOwnPropertySymbols(L);j<F.length;j++)P.indexOf(F[j])<0&&Object.prototype.propertyIsEnumerable.call(L,F[j])&&(k[F[j]]=L[F[j]]);return k},w=r.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function b(L){var P=L.suffixCls,k=L.tagName,F=L.displayName;return function(j){var z;return z=function(R){a()(B,R);var U=l()(B);function B(){var H;return c()(this,B),H=U.apply(this,arguments),H.renderComponent=function(K){var V=K.getPrefixCls,W=H.props.prefixCls,G=V(P,W);return r.createElement(j,f()({prefixCls:G,tagName:k},H.props))},H}return i()(B,[{key:"render",value:function(){return r.createElement(A.a,null,this.renderComponent)}}]),B}(r.Component),z.displayName=F,z}}var x=function(P){var k=P.prefixCls,F=P.className,j=P.children,z=P.tagName,R=y(P,["prefixCls","className","children","tagName"]),U=h()(k,F);return r.createElement(z,f()({className:U},R),j)},O=function(L){a()(k,L);var P=l()(k);function k(){var F;return c()(this,k),F=P.apply(this,arguments),F.state={siders:[]},F.renderComponent=function(j){var z,R=j.direction,U=F.props,B=U.prefixCls,H=U.className,K=U.children,V=U.hasSider,W=U.tagName,G=y(U,["prefixCls","className","children","hasSider","tagName"]),re=h()(B,(z={},m()(z,"".concat(B,"-has-sider"),typeof V=="boolean"?V:F.state.siders.length>0),m()(z,"".concat(B,"-rtl"),R==="rtl"),z),H);return r.createElement(w.Provider,{value:{siderHook:F.getSiderHook()}},r.createElement(W,f()({className:re},G),K))},F}return i()(k,[{key:"getSiderHook",value:function(){var j=this;return{addSider:function(R){j.setState(function(U){return{siders:[].concat(p()(U.siders),[R])}})},removeSider:function(R){j.setState(function(U){return{siders:U.siders.filter(function(B){return B!==R})}})}}}},{key:"render",value:function(){return r.createElement(A.a,null,this.renderComponent)}}]),k}(r.Component),T=b({suffixCls:"layout",tagName:"section",displayName:"Layout"})(O),E=b({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(x),C=b({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(x),_=b({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(x);T.Header=E,T.Footer=C,T.Content=_,N.b=T},PNag:function(M,N,n){var v=n("bYtY"),p=n("SKnc"),S=n("YH21"),m=n("crZl"),g=n("IwbS"),f=n("OELB"),d=n("72pK"),c=n("y7Aq"),o=n("4NO4"),i=f.linearMap,t=v.each,a=Math.min,e=Math.max,l=12,r=6,s=m.extend({type:"visualMap.continuous",init:function(){s.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(O,T,E,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 E=O.get("text");this._renderEndsText(T,E,0),this._renderEndsText(T,E,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(O,T,E){if(!T)return;var C=T[1-E];C=C!=null?C+"":"";var _=this.visualMapModel,L=_.get("textGap"),P=_.itemSize,k=this._shapes.barGroup,F=this._applyTransform([P[0]/2,E===0?-L:P[1]+L],k),j=this._applyTransform(E===0?"bottom":"top",k),z=this._orient,R=this.visualMapModel.textStyleModel;this.group.add(new g.Text({style:{x:F[0],y:F[1],textVerticalAlign:z==="horizontal"?"middle":j,textAlign:z==="horizontal"?j:"center",text:C,textFont:R.getFont(),textFill:R.getTextColor()}}))},_renderBar:function(O){var T=this.visualMapModel,E=this._shapes,C=T.itemSize,_=this._orient,L=this._useHandle,P=c.getItemAlign(T,this.api,C),k=E.barGroup=this._createBarGroup(P);k.add(E.outOfRange=u()),k.add(E.inRange=u(null,L?b(this._orient):null,v.bind(this._dragHandle,this,"all",!1),v.bind(this._dragHandle,this,"all",!0)));var F=T.textStyleModel.getTextRect("\u56FD"),j=e(F.width,F.height);L&&(E.handleThumbs=[],E.handleLabels=[],E.handleLabelPoints=[],this._createHandle(k,0,C,j,_,P),this._createHandle(k,1,C,j,_,P)),this._createIndicator(k,C,j,_),O.add(k)},_createHandle:function(O,T,E,C,_){var L=v.bind(this._dragHandle,this,T,!1),P=v.bind(this._dragHandle,this,T,!0),k=u(h(T,C),b(this._orient),L,P);k.position[0]=E[0],O.add(k);var F=this.visualMapModel.textStyleModel,j=new g.Text({draggable:!0,drift:L,onmousemove:function(U){S.stop(U.event)},ondragend:P,style:{x:0,y:0,text:"",textFont:F.getFont(),textFill:F.getTextColor()}});this.group.add(j);var z=[_==="horizontal"?C/2:C*1.5,_==="horizontal"?T===0?-(C*1.5):C*1.5:T===0?-C/2:C/2],R=this._shapes;R.handleThumbs[T]=k,R.handleLabelPoints[T]=z,R.handleLabels[T]=j},_createIndicator:function(O,T,E,C){var _=u([[0,0]],"move");_.position[0]=T[0],_.attr({invisible:!0,silent:!0}),O.add(_);var L=this.visualMapModel.textStyleModel,P=new g.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:L.getFont(),textFill:L.getTextColor()}});this.group.add(P);var k=[C==="horizontal"?E/2:r+3,0],F=this._shapes;F.indicator=_,F.indicatorLabel=P,F.indicatorLabelPoint=k},_dragHandle:function(O,T,E,C){if(!this._useHandle)return;if(this._dragging=!T,!T){var _=this._applyTransform([E,C],this._shapes.barGroup,!0);this._updateInterval(O,_[1]),this._updateView()}T===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),T?!this._hovering&&this._clearHoverLinkToSeries():w(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[O],!1)},_resetInterval:function(){var O=this.visualMapModel,T=this._dataInterval=O.getSelected(),E=O.getExtent(),C=[0,O.itemSize[1]];this._handleEnds=[i(T[0],E,C,!0),i(T[1],E,C,!0)]},_updateInterval:function(O,T){T=T||0;var E=this.visualMapModel,C=this._handleEnds,_=[0,E.itemSize[1]];d(T,C,_,O,0);var L=E.getExtent();this._dataInterval=[i(C[0],_,L,!0),i(C[1],_,L,!0)]},_updateView:function(O){var T=this.visualMapModel,E=T.getExtent(),C=this._shapes,_=[0,T.itemSize[1]],L=O?_:this._handleEnds,P=this._createBarVisual(this._dataInterval,E,L,"inRange"),k=this._createBarVisual(E,E,_,"outOfRange");C.inRange.setStyle({fill:P.barColor,opacity:P.opacity}).setShape("points",P.barPoints),C.outOfRange.setStyle({fill:k.barColor,opacity:k.opacity}).setShape("points",k.barPoints),this._updateHandle(L,P)},_createBarVisual:function(O,T,E,C){var _={forceState:C,convertOpacityToAlpha:!0},L=this._makeColorGradient(O,_),P=[this.getControllerVisual(O[0],"symbolSize",_),this.getControllerVisual(O[1],"symbolSize",_)],k=this._createBarPoints(E,P);return{barColor:new p(0,0,0,1,L),barPoints:k,handlesColor:[L[0].color,L[L.length-1].color]}},_makeColorGradient:function(O,T){var E=100,C=[],_=(O[1]-O[0])/E;C.push({color:this.getControllerVisual(O[0],"color",T),offset:0});for(var L=1;L<E;L++){var P=O[0]+_*L;if(P>O[1])break;C.push({color:this.getControllerVisual(P,"color",T),offset:L/E})}return C.push({color:this.getControllerVisual(O[1],"color",T),offset:1}),C},_createBarPoints:function(O,T){var E=this.visualMapModel.itemSize;return[[E[0]-T[0],O[0]],[E[0],O[0]],[E[0],O[1]],[E[0]-T[1],O[1]]]},_createBarGroup:function(O){var T=this._orient,E=this.visualMapModel.get("inverse");return new g.Group(T==="horizontal"&&!E?{scale:O==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&E?{scale:O==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!E?{scale:O==="left"?[1,-1]:[-1,-1]}:{scale:O==="left"?[1,1]:[-1,1]})},_updateHandle:function(O,T){if(!this._useHandle)return;var E=this._shapes,C=this.visualMapModel,_=E.handleThumbs,L=E.handleLabels;t([0,1],function(P){var k=_[P];k.setStyle("fill",T.handlesColor[P]),k.position[1]=O[P];var F=g.applyTransform(E.handleLabelPoints[P],g.getTransform(k,this.group));L[P].setStyle({x:F[0],y:F[1],text:C.formatValueText(this._dataInterval[P]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?P===0?"bottom":"top":"left",E.barGroup)})},this)},_showIndicator:function(O,T,E,C){var _=this.visualMapModel,L=_.getExtent(),P=_.itemSize,k=[0,P[1]],F=i(O,L,k,!0),j=this._shapes,z=j.indicator;if(!z)return;z.position[1]=F,z.attr("invisible",!1),z.setShape("points",A(!!E,C,F,P[1]));var R={convertOpacityToAlpha:!0},U=this.getControllerVisual(O,"color",R);z.setStyle("fill",U);var B=g.applyTransform(j.indicatorLabelPoint,g.getTransform(z,this.group)),H=j.indicatorLabel;H.attr("invisible",!1);var K=this._applyTransform("left",j.barGroup),V=this._orient;H.setStyle({text:(E||"")+_.formatValueText(T),textVerticalAlign:V==="horizontal"?K:"middle",textAlign:V==="horizontal"?"center":K,x:B[0],y:B[1]})},_enableHoverLinkToSeries:function(){var O=this;this._shapes.barGroup.on("mousemove",function(T){if(O._hovering=!0,!O._dragging){var E=O.visualMapModel.itemSize,C=O._applyTransform([T.offsetX,T.offsetY],O._shapes.barGroup,!0,!0);C[1]=a(e(0,C[1]),E[1]),O._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=E[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 E=this.visualMapModel,C=E.itemSize;if(!E.option.hoverLink)return;var _=[0,C[1]],L=E.getExtent();O=a(e(_[0],O),_[1]);var P=y(E,L,_),k=[O-P,O+P],F=i(O,_,L,!0),j=[i(k[0],_,L,!0),i(k[1],_,L,!0)];k[0]<_[0]&&(j[0]=-Infinity),k[1]>_[1]&&(j[1]=Infinity),T&&(j[0]===-Infinity?this._showIndicator(F,j[1],"< ",P):j[1]===Infinity?this._showIndicator(F,j[0],"> ",P):this._showIndicator(F,F,"\u2248 ",P));var z=this._hoverLinkDataIndices,R=[];(T||w(E))&&(R=this._hoverLinkDataIndices=E.findTargetDataIndices(j));var U=o.compressBatches(z,R);this._dispatchHighDown("downplay",c.makeHighDownBatch(U[0],E)),this._dispatchHighDown("highlight",c.makeHighDownBatch(U[1],E))},_hoverLinkFromSeriesMouseOver:function(O){var T=O.target,E=this.visualMapModel;if(!T||T.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!E.isTargetSeries(C))return;var _=C.getData(T.dataType),L=_.get(E.getDataDimension(_),T.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)},_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",c.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,E,C){var _=g.getTransform(T,C?null:this.group);return g[v.isArray(O)?"applyTransform":"transformDirection"](O,_,E)},_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 u(O,T,E,C){return new g.Polygon({shape:{points:O},draggable:!!E,cursor:T,drift:E,onmousemove:function(_){S.stop(_.event)},ondragend:C})}function h(O,T){return O===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function A(O,T,E,C){return O?[[0,-a(T,e(E,0))],[r,0],[0,a(T,e(C-E,0))]]:[[0,0],[5,-5],[5,5]]}function y(O,T,E){var C=l/2,_=O.get("hoverLinkDataSize");return _&&(C=i(_,T,E,!0)/2),C}function w(O){var T=O.get("hoverLinkOnHandle");return!!(T==null?O.get("realtime"):T)}function b(O){return O==="vertical"?"ns-resize":"ew-resize"}var x=s;M.exports=x},PQMj:function(M,N,n){},PSzr:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};N.default=v},ProS:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("aX58"),m=n("bYtY"),g=n("Qe9p"),f=n("ItGF"),d=n("BPZU"),c=n("H6uX"),o=n("fmMI"),i=n("hD7B"),t=n("IDmD"),a=n("ypgQ"),e=n("+wW9"),l=n("0V0F"),r=n("bLfw"),s=n("T4UG"),u=n("sS/r"),h=n("6Ic6"),A=n("IwbS"),y=n("4NO4"),w=n("iLNv"),b=w.throttle,x=n("/WM3"),O=n("uAnK"),T=n("mYwL"),E=n("af/B"),C=n("xTNl"),_=n("8hn6");n("A1Ka");var L=n("7DRL"),P=m.assert,k=m.each,F=m.isFunction,j=m.isObject,z=r.parseClassType,R="4.8.0",U={zrender:"4.3.1"},B=1,H=1e3,K=800,V=900,W=5e3,G=1e3,re=1100,ye=2e3,$=3e3,ve=3500,Ce=4e3,Se=5e3,Ke={PROCESSOR:{FILTER:H,SERIES_FILTER:K,STATISTIC:W},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:re,GLOBAL:ye,CHART:$,POST_CHART_LAYOUT:ve,COMPONENT:Ce,BRUSH:Se}},ue="__flagInMainProcess",Le="__optionUpdated",ee=/^[a-zA-Z0-9_]+$/;function le(vt,Pt){return function(br,ur,fr){if(!Pt&&this._disposed){Bt(this.id);return}br=br&&br.toLowerCase(),c.prototype[vt].call(this,br,ur,fr)}}function et(){c.call(this)}et.prototype.on=le("on",!0),et.prototype.off=le("off",!0),et.prototype.one=le("one",!0),m.mixin(et,c);function Re(vt,Pt,br){br=br||{},typeof Pt=="string"&&(Pt=lt[Pt]),this.id,this.group,this._dom=vt;var ur="canvas",fr=this._zr=S.init(vt,{renderer:br.renderer||ur,devicePixelRatio:br.devicePixelRatio,width:br.width,height:br.height});this._throttledZrFlush=b(m.bind(fr.flush,fr),17);var Pt=m.clone(Pt);Pt&&e(Pt,!0),this._theme=Pt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new t;var Jr=this._api=ke(this);function Zr(Fn,Rn){return Fn.__prio-Rn.__prio}d(Vt,Zr),d(je,Zr),this._scheduler=new E(this,Jr,je,Vt),c.call(this,this._ecEventProcessor=new te),this._messageCenter=new et,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],fr.animation.on("frame",this._onframe,this),Oe(fr,this),m.setAsPrimitive(this)}var Ae=Re.prototype;Ae._onframe=function(){if(this._disposed)return;var vt=this._scheduler;if(this[Le]){var Pt=this[Le].silent;this[ue]=!0,be(this),ce.update.call(this),this[ue]=!1,this[Le]=!1,ae.call(this,Pt),fe.call(this,Pt)}else if(vt.unfinished){var br=B,ur=this._model,fr=this._api;vt.unfinished=!1;do{var Jr=+new Date;vt.performSeriesTasks(ur),vt.performDataProcessorTasks(ur),Be(this,ur),vt.performVisualTasks(ur),It(this,this._model,fr,"remain"),br-=+new Date-Jr}while(br>0&&vt.unfinished);vt.unfinished||this._zr.flush()}},Ae.getDom=function(){return this._dom},Ae.getZr=function(){return this._zr},Ae.setOption=function(vt,Pt,br){if(this._disposed){Bt(this.id);return}var ur;if(j(Pt)&&(br=Pt.lazyUpdate,ur=Pt.silent,Pt=Pt.notMerge),this[ue]=!0,!this._model||Pt){var fr=new a(this._api),Jr=this._theme,Zr=this._model=new o;Zr.scheduler=this._scheduler,Zr.init(null,null,Jr,fr)}this._model.setOption(vt,q),br?(this[Le]={silent:ur},this[ue]=!1):(be(this),ce.update.call(this),this._zr.flush(),this[Le]=!1,this[ue]=!1,ae.call(this,ur),fe.call(this,ur))},Ae.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Ae.getModel=function(){return this._model},Ae.getOption=function(){return this._model&&this._model.getOption()},Ae.getWidth=function(){return this._zr.getWidth()},Ae.getHeight=function(){return this._zr.getHeight()},Ae.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Ae.getRenderedCanvas=function(vt){if(!f.canvasSupported)return;vt=vt||{},vt.pixelRatio=vt.pixelRatio||1,vt.backgroundColor=vt.backgroundColor||this._model.get("backgroundColor");var Pt=this._zr;return Pt.painter.getRenderedCanvas(vt)},Ae.getSvgDataURL=function(){if(!f.svgSupported)return;var vt=this._zr,Pt=vt.storage.getDisplayList();return m.each(Pt,function(br){br.stopAnimation(!0)}),vt.painter.toDataURL()},Ae.getDataURL=function(vt){if(this._disposed){Bt(this.id);return}vt=vt||{};var Pt=vt.excludeComponents,br=this._model,ur=[],fr=this;k(Pt,function(Zr){br.eachComponent({mainType:Zr},function(Fn){var Rn=fr._componentsMap[Fn.__viewId];Rn.group.ignore||(ur.push(Rn),Rn.group.ignore=!0)})});var Jr=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(vt).toDataURL("image/"+(vt&&vt.type||"png"));return k(ur,function(Zr){Zr.group.ignore=!1}),Jr},Ae.getConnectedDataURL=function(vt){if(this._disposed){Bt(this.id);return}if(!f.canvasSupported)return;var Pt=vt.type==="svg",br=this.group,ur=Math.min,fr=Math.max,Jr=Infinity;if(An[br]){var Zr=Jr,Fn=Jr,Rn=-Jr,ei=-Jr,di=[],gi=vt&&vt.pixelRatio||1;m.each(vr,function(Ve,We){if(Ve.group===br){var Qe=Pt?Ve.getZr().painter.getSvgDom().innerHTML:Ve.getRenderedCanvas(m.clone(vt)),yt=Ve.getDom().getBoundingClientRect();Zr=ur(yt.left,Zr),Fn=ur(yt.top,Fn),Rn=fr(yt.right,Rn),ei=fr(yt.bottom,ei),di.push({dom:Qe,left:yt.left,top:yt.top})}}),Zr*=gi,Fn*=gi,Rn*=gi,ei*=gi;var Ii=Rn-Zr,Ye=ei-Fn,ge=m.createCanvas(),Ie=S.init(ge,{renderer:Pt?"svg":"canvas"});if(Ie.resize({width:Ii,height:Ye}),Pt){var Fe="";return k(di,function(Ve){var We=Ve.left-Zr,Qe=Ve.top-Fn;Fe+='<g transform="translate('+We+","+Qe+')">'+Ve.dom+"</g>"}),Ie.painter.getSvgRoot().innerHTML=Fe,vt.connectedBackgroundColor&&Ie.painter.setBackgroundColor(vt.connectedBackgroundColor),Ie.refreshImmediately(),Ie.painter.toDataURL()}else return vt.connectedBackgroundColor&&Ie.add(new A.Rect({shape:{x:0,y:0,width:Ii,height:Ye},style:{fill:vt.connectedBackgroundColor}})),k(di,function(Ve){var We=new A.Image({style:{x:Ve.left*gi-Zr,y:Ve.top*gi-Fn,image:Ve.dom}});Ie.add(We)}),Ie.refreshImmediately(),ge.toDataURL("image/"+(vt&&vt.type||"png"))}else return this.getDataURL(vt)},Ae.convertToPixel=m.curry(oe,"convertToPixel"),Ae.convertFromPixel=m.curry(oe,"convertFromPixel");function oe(vt,Pt,br){if(this._disposed){Bt(this.id);return}var ur=this._model,fr=this._coordSysMgr.getCoordinateSystems(),Jr;Pt=y.parseFinder(ur,Pt);for(var Zr=0;Zr<fr.length;Zr++){var Fn=fr[Zr];if(Fn[vt]&&(Jr=Fn[vt](ur,Pt,br))!=null)return Jr}}Ae.containPixel=function(vt,Pt){if(this._disposed){Bt(this.id);return}var br=this._model,ur;return vt=y.parseFinder(br,vt),m.each(vt,function(fr,Jr){Jr.indexOf("Models")>=0&&m.each(fr,function(Zr){var Fn=Zr.coordinateSystem;if(Fn&&Fn.containPoint)ur|=!!Fn.containPoint(Pt);else if(Jr==="seriesModels"){var Rn=this._chartsMap[Zr.__viewId];Rn&&Rn.containPoint&&(ur|=Rn.containPoint(Pt,Zr))}},this)},this),!!ur},Ae.getVisual=function(vt,Pt){var br=this._model;vt=y.parseFinder(br,vt,{defaultMainType:"series"});var ur=vt.seriesModel,fr=ur.getData(),Jr=vt.hasOwnProperty("dataIndexInside")?vt.dataIndexInside:vt.hasOwnProperty("dataIndex")?fr.indexOfRawIndex(vt.dataIndex):null;return Jr!=null?fr.getItemVisual(Jr,Pt):fr.getVisual(Pt)},Ae.getViewOfComponentModel=function(vt){return this._componentsMap[vt.__viewId]},Ae.getViewOfSeriesModel=function(vt){return this._chartsMap[vt.__viewId]};var ce={prepareAndUpdate:function(vt){be(this),ce.update.call(this,vt)},update:function(vt){var Pt=this._model,br=this._api,ur=this._zr,fr=this._coordSysMgr,Jr=this._scheduler;if(!Pt)return;Jr.restoreData(Pt,vt),Jr.performSeriesTasks(Pt),fr.create(Pt,br),Jr.performDataProcessorTasks(Pt,vt),Be(this,Pt),fr.update(Pt,br),Et(Pt),Jr.performVisualTasks(Pt,vt),Ze(this,Pt,br,vt);var Zr=Pt.get("backgroundColor")||"transparent";if(f.canvasSupported)ur.setBackgroundColor(Zr);else{var Fn=g.parse(Zr);Zr=g.stringify(Fn,"rgb"),Fn[3]===0&&(Zr="transparent")}Xe(Pt,br)},updateTransform:function(vt){var Pt=this._model,br=this,ur=this._api;if(!Pt)return;var fr=[];Pt.eachComponent(function(Zr,Fn){var Rn=br.getViewOfComponentModel(Fn);if(Rn&&Rn.__alive)if(Rn.updateTransform){var ei=Rn.updateTransform(Fn,Pt,ur,vt);ei&&ei.update&&fr.push(Rn)}else fr.push(Rn)});var Jr=m.createHashMap();Pt.eachSeries(function(Zr){var Fn=br._chartsMap[Zr.__viewId];if(Fn.updateTransform){var Rn=Fn.updateTransform(Zr,Pt,ur,vt);Rn&&Rn.update&&Jr.set(Zr.uid,1)}else Jr.set(Zr.uid,1)}),Et(Pt),this._scheduler.performVisualTasks(Pt,vt,{setDirty:!0,dirtyMap:Jr}),It(br,Pt,ur,vt,Jr),Xe(Pt,this._api)},updateView:function(vt){var Pt=this._model;if(!Pt)return;h.markUpdateMethod(vt,"updateView"),Et(Pt),this._scheduler.performVisualTasks(Pt,vt,{setDirty:!0}),Ze(this,this._model,this._api,vt),Xe(Pt,this._api)},updateVisual:function(vt){ce.update.call(this,vt)},updateLayout:function(vt){ce.update.call(this,vt)}};function be(vt){var Pt=vt._model,br=vt._scheduler;br.restorePipelines(Pt),br.prepareStageTasks(),Je(vt,"component",Pt,br),Je(vt,"chart",Pt,br),br.plan()}function Te(vt,Pt,br,ur,fr){var Jr=vt._model;if(!ur){k(vt._componentsViews.concat(vt._chartsViews),ei);return}var Zr={};Zr[ur+"Id"]=br[ur+"Id"],Zr[ur+"Index"]=br[ur+"Index"],Zr[ur+"Name"]=br[ur+"Name"];var Fn={mainType:ur,query:Zr};fr&&(Fn.subType=fr);var Rn=br.excludeSeriesId;Rn!=null&&(Rn=m.createHashMap(y.normalizeToArray(Rn))),Jr&&Jr.eachComponent(Fn,function(di){(!Rn||Rn.get(di.id)==null)&&ei(vt[ur==="series"?"_chartsMap":"_componentsMap"][di.__viewId])},vt);function ei(di){di&&di.__alive&&di[Pt]&&di[Pt](di.__model,Jr,vt._api,br)}}Ae.resize=function(vt){if(this._disposed){Bt(this.id);return}this._zr.resize(vt);var Pt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Pt)return;var br=Pt.resetOption("media"),ur=vt&&vt.silent;this[ue]=!0,br&&be(this),ce.update.call(this),this[ue]=!1,ae.call(this,ur),fe.call(this,ur)};function Be(vt,Pt){var br=vt._chartsMap,ur=vt._scheduler;Pt.eachSeries(function(fr){ur.updateStreamModes(fr,br[fr.__viewId])})}Ae.showLoading=function(vt,Pt){if(this._disposed){Bt(this.id);return}if(j(vt)&&(Pt=vt,vt=""),vt=vt||"default",this.hideLoading(),!or[vt])return;var br=or[vt](this._api,Pt),ur=this._zr;this._loadingFX=br,ur.add(br)},Ae.hideLoading=function(){if(this._disposed){Bt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Ae.makeActionFromEvent=function(vt){var Pt=m.extend({},vt);return Pt.type=qe[vt.type],Pt},Ae.dispatchAction=function(vt,Pt){if(this._disposed){Bt(this.id);return}if(j(Pt)||(Pt={silent:!!Pt}),!Q[vt.type])return;if(!this._model)return;if(this[ue]){this._pendingActions.push(vt);return}De.call(this,vt,Pt.silent),Pt.flush?this._zr.flush(!0):Pt.flush!==!1&&f.browser.weChat&&this._throttledZrFlush(),ae.call(this,Pt.silent),fe.call(this,Pt.silent)};function De(vt,Pt){var br=vt.type,ur=vt.escapeConnect,fr=Q[br],Jr=fr.actionInfo,Zr=(Jr.update||"update").split(":"),Fn=Zr.pop();Zr=Zr[0]!=null&&z(Zr[0]),this[ue]=!0;var Rn=[vt],ei=!1;vt.batch&&(ei=!0,Rn=m.map(vt.batch,function(Ye){return Ye=m.defaults(m.extend({},Ye),vt),Ye.batch=null,Ye}));var di=[],gi,Ii=br==="highlight"||br==="downplay";k(Rn,function(Ye){gi=fr.action(Ye,this._model,this._api),gi=gi||m.extend({},Ye),gi.type=Jr.event||gi.type,di.push(gi),Ii?Te(this,Fn,Ye,"series"):Zr&&Te(this,Fn,Ye,Zr.main,Zr.sub)},this),Fn!=="none"&&!Ii&&!Zr&&(this[Le]?(be(this),ce.update.call(this,vt),this[Le]=!1):ce[Fn].call(this,vt)),ei?gi={type:Jr.event||br,escapeConnect:ur,batch:di}:gi=di[0],this[ue]=!1,!Pt&&this._messageCenter.trigger(gi.type,gi)}function ae(vt){for(var Pt=this._pendingActions;Pt.length;){var br=Pt.shift();De.call(this,br,vt)}}function fe(vt){!vt&&this.trigger("updated")}function Oe(vt,Pt){vt.on("rendered",function(){Pt.trigger("rendered"),vt.animation.isFinished()&&!Pt[Le]&&!Pt._scheduler.unfinished&&!Pt._pendingActions.length&&Pt.trigger("finished")})}Ae.appendData=function(vt){if(this._disposed){Bt(this.id);return}var Pt=vt.seriesIndex,br=this.getModel(),ur=br.getSeriesByIndex(Pt);ur.appendData(vt),this._scheduler.unfinished=!0},Ae.on=le("on",!1),Ae.off=le("off",!1),Ae.one=le("one",!1);function Je(vt,Pt,br,ur){for(var fr=Pt==="component",Jr=fr?vt._componentsViews:vt._chartsViews,Zr=fr?vt._componentsMap:vt._chartsMap,Fn=vt._zr,Rn=vt._api,ei=0;ei<Jr.length;ei++)Jr[ei].__alive=!1;fr?br.eachComponent(function(Ii,Ye){Ii!=="series"&&di(Ye)}):br.eachSeries(di);function di(Ii){var Ye="_ec_"+Ii.id+"_"+Ii.type,ge=Zr[Ye];if(!ge){var Ie=z(Ii.type),Fe=fr?u.getClass(Ie.main,Ie.sub):h.getClass(Ie.sub);ge=new Fe,ge.init(br,Rn),Zr[Ye]=ge,Jr.push(ge),Fn.add(ge.group)}Ii.__viewId=ge.__id=Ye,ge.__alive=!0,ge.__model=Ii,ge.group.__ecComponentInfo={mainType:Ii.mainType,index:Ii.componentIndex},!fr&&ur.prepareView(ge,Ii,br,Rn)}for(var ei=0;ei<Jr.length;){var gi=Jr[ei];gi.__alive?ei++:(!fr&&gi.renderTask.dispose(),Fn.remove(gi.group),gi.dispose(br,Rn),Jr.splice(ei,1),delete Zr[gi.__id],gi.__id=gi.group.__ecComponentInfo=null)}}function Et(vt){vt.clearColorPalette(),vt.eachSeries(function(Pt){Pt.clearColorPalette()})}function Ze(vt,Pt,br,ur){Ne(vt,Pt,br,ur),k(vt._chartsViews,function(fr){fr.__alive=!1}),It(vt,Pt,br,ur),k(vt._chartsViews,function(fr){fr.__alive||fr.remove(Pt,br)})}function Ne(vt,Pt,br,ur,fr){k(fr||vt._componentsViews,function(Jr){var Zr=Jr.__model;Jr.render(Zr,Pt,br,ur),Ft(Zr,Jr)})}function It(vt,Pt,br,ur,fr){var Jr=vt._scheduler,Zr;Pt.eachSeries(function(Fn){var Rn=vt._chartsMap[Fn.__viewId];Rn.__alive=!0;var ei=Rn.renderTask;Jr.updatePayload(ei,ur),fr&&fr.get(Fn.uid)&&ei.dirty(),Zr|=ei.perform(Jr.getPerformArgs(ei)),Rn.group.silent=!!Fn.get("silent"),Ft(Fn,Rn),_t(Fn,Rn)}),Jr.unfinished|=Zr,kt(vt,Pt),O(vt._zr.dom,Pt)}function Xe(vt,Pt){k(wt,function(br){br(vt,Pt)})}var Ot=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];Ae._initEvents=function(){k(Ot,function(vt){var Pt=function(br){var ur=this.getModel(),fr=br.target,Jr,Zr=vt==="globalout";if(Zr)Jr={};else if(fr&&fr.dataIndex!=null){var Fn=fr.dataModel||ur.getSeriesByIndex(fr.seriesIndex);Jr=Fn&&Fn.getDataParams(fr.dataIndex,fr.dataType,fr)||{}}else fr&&fr.eventData&&(Jr=m.extend({},fr.eventData));if(Jr){var Rn=Jr.componentType,ei=Jr.componentIndex;(Rn==="markLine"||Rn==="markPoint"||Rn==="markArea")&&(Rn="series",ei=Jr.seriesIndex);var di=Rn&&ei!=null&&ur.getComponent(Rn,ei),gi=di&&this[di.mainType==="series"?"_chartsMap":"_componentsMap"][di.__viewId];Jr.event=br,Jr.type=vt,this._ecEventProcessor.eventInfo={targetEl:fr,packedEvent:Jr,model:di,view:gi},this.trigger(vt,Jr)}};Pt.zrEventfulCallAtLast=!0,this._zr.on(vt,Pt,this)},this),k(qe,function(vt,Pt){this._messageCenter.on(Pt,function(br){this.trigger(Pt,br)},this)},this)},Ae.isDisposed=function(){return this._disposed},Ae.clear=function(){if(this._disposed){Bt(this.id);return}this.setOption({series:[]},!0)},Ae.dispose=function(){if(this._disposed){Bt(this.id);return}this._disposed=!0,y.setAttribute(this.getDom(),nr,"");var vt=this._api,Pt=this._model;k(this._componentsViews,function(br){br.dispose(Pt,vt)}),k(this._chartsViews,function(br){br.dispose(Pt,vt)}),this._zr.dispose(),delete vr[this.id]},m.mixin(Re,c);function Bt(vt){}function kt(vt,Pt){var br=vt._zr,ur=br.storage,fr=0;ur.traverse(function(Jr){fr++}),fr>Pt.get("hoverLayerThreshold")&&!f.node&&Pt.eachSeries(function(Jr){if(Jr.preventUsingHoverLayer)return;var Zr=vt._chartsMap[Jr.__viewId];Zr.__alive&&Zr.group.traverse(function(Fn){Fn.useHoverLayer=!0})})}function _t(vt,Pt){var br=vt.get("blendMode")||null;Pt.group.traverse(function(ur){ur.isGroup||ur.style.blend!==br&&ur.setStyle("blend",br),ur.eachPendingDisplayable&&ur.eachPendingDisplayable(function(fr){fr.setStyle("blend",br)})})}function Ft(vt,Pt){var br=vt.get("z"),ur=vt.get("zlevel");Pt.group.traverse(function(fr){fr.type!=="group"&&(br!=null&&(fr.z=br),ur!=null&&(fr.zlevel=ur))})}function ke(vt){var Pt=vt._coordSysMgr;return m.extend(new i(vt),{getCoordinateSystems:m.bind(Pt.getCoordinateSystems,Pt),getComponentByElement:function(br){for(;br;){var ur=br.__ecComponentInfo;if(ur!=null)return vt._model.getComponent(ur.mainType,ur.index);br=br.parent}}})}function te(){this.eventInfo}te.prototype={constructor:te,normalizeQuery:function(vt){var Pt={},br={},ur={};if(m.isString(vt)){var fr=z(vt);Pt.mainType=fr.main||null,Pt.subType=fr.sub||null}else{var Jr=["Index","Name","Id"],Zr={name:1,dataIndex:1,dataType:1};m.each(vt,function(Fn,Rn){for(var ei=!1,di=0;di<Jr.length;di++){var gi=Jr[di],Ii=Rn.lastIndexOf(gi);if(Ii>0&&Ii===Rn.length-gi.length){var Ye=Rn.slice(0,Ii);Ye!=="data"&&(Pt.mainType=Ye,Pt[gi.toLowerCase()]=Fn,ei=!0)}}Zr.hasOwnProperty(Rn)&&(br[Rn]=Fn,ei=!0),ei||(ur[Rn]=Fn)})}return{cptQuery:Pt,dataQuery:br,otherQuery:ur}},filter:function(vt,Pt,br){var ur=this.eventInfo;if(!ur)return!0;var fr=ur.targetEl,Jr=ur.packedEvent,Zr=ur.model,Fn=ur.view;if(!Zr||!Fn)return!0;var Rn=Pt.cptQuery,ei=Pt.dataQuery;return di(Rn,Zr,"mainType")&&di(Rn,Zr,"subType")&&di(Rn,Zr,"index","componentIndex")&&di(Rn,Zr,"name")&&di(Rn,Zr,"id")&&di(ei,Jr,"name")&&di(ei,Jr,"dataIndex")&&di(ei,Jr,"dataType")&&(!Fn.filterForExposedEvent||Fn.filterForExposedEvent(vt,Pt.otherQuery,fr,Jr));function di(gi,Ii,Ye,ge){return gi[Ye]==null||Ii[ge||Ye]===gi[Ye]}},afterTrigger:function(){this.eventInfo=null}};var Q={},qe={},je=[],q=[],wt=[],Vt=[],lt={},or={},vr={},An={},hr=new Date-0,xr=new Date-0,nr="_echarts_instance_";function Yt(vt){var Pt=0,br=1,ur=2,fr="__connectUpdateStatus";function Jr(Zr,Fn){for(var Rn=0;Rn<Zr.length;Rn++){var ei=Zr[Rn];ei[fr]=Fn}}k(qe,function(Zr,Fn){vt._messageCenter.on(Fn,function(Rn){if(An[vt.group]&&vt[fr]!==Pt){if(Rn&&Rn.escapeConnect)return;var ei=vt.makeActionFromEvent(Rn),di=[];k(vr,function(gi){gi!==vt&&gi.group===vt.group&&di.push(gi)}),Jr(di,Pt),k(di,function(gi){gi[fr]!==br&&gi.dispatchAction(ei)}),Jr(di,ur)}})})}function gt(vt,Pt,br){var ur=xi(vt);if(ur)return ur;var fr=new Re(vt,Pt,br);return fr.id="ec_"+hr++,vr[fr.id]=fr,y.setAttribute(vt,nr,fr.id),Yt(fr),fr}function zr(vt){if(m.isArray(vt)){var Pt=vt;vt=null,k(Pt,function(br){br.group!=null&&(vt=br.group)}),vt=vt||"g_"+xr++,k(Pt,function(br){br.group=vt})}return An[vt]=!0,vt}function pn(vt){An[vt]=!1}var Nn=pn;function Vn(vt){typeof vt=="string"?vt=vr[vt]:vt instanceof Re||(vt=xi(vt)),vt instanceof Re&&!vt.isDisposed()&&vt.dispose()}function xi(vt){return vr[y.getAttribute(vt,nr)]}function bn(vt){return vr[vt]}function Pn(vt,Pt){lt[vt]=Pt}function jt(vt){q.push(vt)}function At(vt,Pt){Mt(je,vt,Pt,H)}function xe(vt){wt.push(vt)}function we(vt,Pt,br){typeof Pt=="function"&&(br=Pt,Pt="");var ur=j(vt)?vt.type:[vt,vt={event:Pt}][0];vt.event=(vt.event||ur).toLowerCase(),Pt=vt.event,P(ee.test(ur)&&ee.test(Pt)),Q[ur]||(Q[ur]={action:br,actionInfo:vt}),qe[Pt]=ur}function Ee(vt,Pt){t.register(vt,Pt)}function Ge(vt){var Pt=t.get(vt);if(Pt)return Pt.getDimensionsInfo?Pt.getDimensionsInfo():Pt.dimensions.slice()}function nt(vt,Pt){Mt(Vt,vt,Pt,G,"layout")}function st(vt,Pt){Mt(Vt,vt,Pt,$,"visual")}function Mt(vt,Pt,br,ur,fr){(F(Pt)||j(Pt))&&(br=Pt,Pt=ur);var Jr=E.wrapStageHandler(br,fr);return Jr.__prio=Pt,Jr.__raw=br,vt.push(Jr),Jr}function wr(vt,Pt){or[vt]=Pt}function Pr(vt){return r.extend(vt)}function qr(vt){return u.extend(vt)}function xt(vt){return s.extend(vt)}function rt(vt){return h.extend(vt)}function it(vt){m.$override("createCanvas",vt)}function $t(vt,Pt,br){L.registerMap(vt,Pt,br)}function Dt(vt){var Pt=L.retrieveMap(vt);return Pt&&Pt[0]&&{geoJson:Pt[0].geoJSON,specialAreas:Pt[0].specialAreas}}st(ye,x),jt(e),At(V,l),wr("default",T),we({type:"highlight",event:"highlight",update:"highlight"},m.noop),we({type:"downplay",event:"downplay",update:"downplay"},m.noop),Pn("light",C),Pn("dark",_);var St={};N.version=R,N.dependencies=U,N.PRIORITY=Ke,N.init=gt,N.connect=zr,N.disConnect=pn,N.disconnect=Nn,N.dispose=Vn,N.getInstanceByDom=xi,N.getInstanceById=bn,N.registerTheme=Pn,N.registerPreprocessor=jt,N.registerProcessor=At,N.registerPostUpdate=xe,N.registerAction=we,N.registerCoordinateSystem=Ee,N.getCoordinateSystemDimensions=Ge,N.registerLayout=nt,N.registerVisual=st,N.registerLoading=wr,N.extendComponentModel=Pr,N.extendComponentView=qr,N.extendSeriesModel=xt,N.extendChartView=rt,N.setCanvasCreator=it,N.registerMap=$t,N.getMap=Dt,N.dataTool=St;var Ut=n("txkQ");(function(){for(var vt in Ut)Ut.hasOwnProperty(vt)&&(N[vt]=Ut[vt])})()},"Pv/L":function(M,N,n){"use strict";n.d(N,"a",function(){return g});var v=n("+kx5"),p=n("Y9hK"),S=n("Qw5x"),m=n("u6e6");function g(f){return Object(v.a)(f)||Object(p.a)(f)||Object(S.a)(f)||Object(m.a)()}},Pw59:function(M,N,n){"use strict";var v=n("q1tI"),p=n.n(v),S=Object(v.createContext)({});N.a=S},Q7if:function(M,N,n){var v=n("JEkh"),p=v.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});M.exports=p},Q9mQ:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("UADf"),m=n.n(S)},"QB+1":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("Ywus"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},QBsz:function(M,N){var n=typeof Float32Array=="undefined"?Array:Float32Array;function v(E,C){var _=new n(2);return E==null&&(E=0),C==null&&(C=0),_[0]=E,_[1]=C,_}function p(E,C){return E[0]=C[0],E[1]=C[1],E}function S(E){var C=new n(2);return C[0]=E[0],C[1]=E[1],C}function m(E,C,_){return E[0]=C,E[1]=_,E}function g(E,C,_){return E[0]=C[0]+_[0],E[1]=C[1]+_[1],E}function f(E,C,_,L){return E[0]=C[0]+_[0]*L,E[1]=C[1]+_[1]*L,E}function d(E,C,_){return E[0]=C[0]-_[0],E[1]=C[1]-_[1],E}function c(E){return Math.sqrt(i(E))}var o=c;function i(E){return E[0]*E[0]+E[1]*E[1]}var t=i;function a(E,C,_){return E[0]=C[0]*_[0],E[1]=C[1]*_[1],E}function e(E,C,_){return E[0]=C[0]/_[0],E[1]=C[1]/_[1],E}function l(E,C){return E[0]*C[0]+E[1]*C[1]}function r(E,C,_){return E[0]=C[0]*_,E[1]=C[1]*_,E}function s(E,C){var _=c(C);return _===0?(E[0]=0,E[1]=0):(E[0]=C[0]/_,E[1]=C[1]/_),E}function u(E,C){return Math.sqrt((E[0]-C[0])*(E[0]-C[0])+(E[1]-C[1])*(E[1]-C[1]))}var h=u;function A(E,C){return(E[0]-C[0])*(E[0]-C[0])+(E[1]-C[1])*(E[1]-C[1])}var y=A;function w(E,C){return E[0]=-C[0],E[1]=-C[1],E}function b(E,C,_,L){return E[0]=C[0]+L*(_[0]-C[0]),E[1]=C[1]+L*(_[1]-C[1]),E}function x(E,C,_){var L=C[0],P=C[1];return E[0]=_[0]*L+_[2]*P+_[4],E[1]=_[1]*L+_[3]*P+_[5],E}function O(E,C,_){return E[0]=Math.min(C[0],_[0]),E[1]=Math.min(C[1],_[1]),E}function T(E,C,_){return E[0]=Math.max(C[0],_[0]),E[1]=Math.max(C[1],_[1]),E}N.create=v,N.copy=p,N.clone=S,N.set=m,N.add=g,N.scaleAndAdd=f,N.sub=d,N.len=c,N.length=o,N.lenSquare=i,N.lengthSquare=t,N.mul=a,N.div=e,N.dot=l,N.scale=r,N.normalize=s,N.distance=u,N.dist=h,N.distanceSquare=A,N.distSquare=y,N.negate=w,N.lerp=b,N.applyTransform=x,N.min=O,N.max=T},"QO+J":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var v=S(n("NohK")),p=n("24YM");function S(g){return g&&g.__esModule?g:{default:g}}var m=function(f){var d=void 0,c=[],o=function(){getComputedStyle(f).position==="static"&&(f.style.position="relative");var r=document.createElement("object");return r.onload=function(){r.contentDocument.defaultView.addEventListener("resize",i),i()},r.style.display="block",r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.height="100%",r.style.width="100%",r.style.overflow="hidden",r.style.pointerEvents="none",r.style.zIndex="-1",r.style.opacity="0",r.setAttribute("class",p.SensorClassName),r.setAttribute("tabindex",p.SensorTabIndex),r.type="text/html",f.appendChild(r),r.data="about:blank",r},i=(0,v.default)(function(){c.forEach(function(l){l(f)})}),t=function(r){d||(d=o()),c.indexOf(r)===-1&&c.push(r)},a=function(){d&&d.parentNode&&(d.contentDocument&&d.contentDocument.defaultView.removeEventListener("resize",i),d.parentNode.removeChild(d),d=void 0,c=[])},e=function(r){var s=c.indexOf(r);s!==-1&&c.splice(s,1),c.length===0&&d&&a()};return{element:f,bind:t,destroy:a,unbind:e}};N.createSensor=m},"QQZ/":function(M,N,n){var v=n("Sq3C"),p=n("Z1HP"),S=n("Sxd8"),m=n("dt0z");function g(f,d,c){f=m(f),d=S(d);var o=d?p(f):0;return d&&o<d?v(d-o,c)+f:f}M.exports=g},QUw5:function(M,N,n){var v=n("OlYY"),p=v.extend({type:"dataZoom.select"});M.exports=p},QV2g:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=v;function v(){for(var m,g=[],f=0;f<256;f++){m=f;for(var d=0;d<8;d++)m=m&1?3988292384^m>>>1:m>>>1;g[f]=m}return g}var p=v();function S(m,g,f,d){var c=p,o=d+f;m^=-1;for(var i=d;i<o;i++)m=m>>>8^c[(m^g[i])&255];return m^-1}},QbM5:function(M,N,n){},Qe9p:function(M,N,n){var v=n("1RvN"),p={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 S(C){return C=Math.round(C),C<0?0:C>255?255:C}function m(C){return C=Math.round(C),C<0?0:C>360?360:C}function g(C){return C<0?0:C>1?1:C}function f(C){return C.length&&C.charAt(C.length-1)==="%"?S(parseFloat(C)/100*255):S(parseInt(C,10))}function d(C){return C.length&&C.charAt(C.length-1)==="%"?g(parseFloat(C)/100):g(parseFloat(C))}function c(C,_,L){return L<0?L+=1:L>1&&(L-=1),L*6<1?C+(_-C)*L*6:L*2<1?_:L*3<2?C+(_-C)*(2/3-L)*6:C}function o(C,_,L){return C+(_-C)*L}function i(C,_,L,P,k){return C[0]=_,C[1]=L,C[2]=P,C[3]=k,C}function t(C,_){return C[0]=_[0],C[1]=_[1],C[2]=_[2],C[3]=_[3],C}var a=new v(20),e=null;function l(C,_){e&&t(e,_),e=a.put(C,e||_.slice())}function r(C,_){if(!C)return;_=_||[];var L=a.get(C);if(L)return t(_,L);C=C+"";var P=C.replace(/ /g,"").toLowerCase();if(P in p)return t(_,p[P]),l(C,_),_;if(P.charAt(0)==="#"){if(P.length===4){var k=parseInt(P.substr(1),16);if(!(k>=0&&k<=4095)){i(_,0,0,0,1);return}return i(_,(k&3840)>>4|(k&3840)>>8,k&240|(k&240)>>4,k&15|(k&15)<<4,1),l(C,_),_}else if(P.length===7){var k=parseInt(P.substr(1),16);if(!(k>=0&&k<=16777215)){i(_,0,0,0,1);return}return i(_,(k&16711680)>>16,(k&65280)>>8,k&255,1),l(C,_),_}return}var F=P.indexOf("("),j=P.indexOf(")");if(F!==-1&&j+1===P.length){var z=P.substr(0,F),R=P.substr(F+1,j-(F+1)).split(","),U=1;switch(z){case"rgba":if(R.length!==4){i(_,0,0,0,1);return}U=d(R.pop());case"rgb":if(R.length!==3){i(_,0,0,0,1);return}return i(_,f(R[0]),f(R[1]),f(R[2]),U),l(C,_),_;case"hsla":if(R.length!==4){i(_,0,0,0,1);return}return R[3]=d(R[3]),s(R,_),l(C,_),_;case"hsl":if(R.length!==3){i(_,0,0,0,1);return}return s(R,_),l(C,_),_;default:return}}i(_,0,0,0,1);return}function s(C,_){var L=(parseFloat(C[0])%360+360)%360/360,P=d(C[1]),k=d(C[2]),F=k<=.5?k*(P+1):k+P-k*P,j=k*2-F;return _=_||[],i(_,S(c(j,F,L+1/3)*255),S(c(j,F,L)*255),S(c(j,F,L-1/3)*255),1),C.length===4&&(_[3]=C[3]),_}function u(C){if(!C)return;var _=C[0]/255,L=C[1]/255,P=C[2]/255,k=Math.min(_,L,P),F=Math.max(_,L,P),j=F-k,z=(F+k)/2,R,U;if(j===0)R=0,U=0;else{z<.5?U=j/(F+k):U=j/(2-F-k);var B=((F-_)/6+j/2)/j,H=((F-L)/6+j/2)/j,K=((F-P)/6+j/2)/j;_===F?R=K-H:L===F?R=1/3+B-K:P===F&&(R=2/3+H-B),R<0&&(R+=1),R>1&&(R-=1)}var V=[R*360,U,z];return C[3]!=null&&V.push(C[3]),V}function h(C,_){var L=r(C);if(L){for(var P=0;P<3;P++)_<0?L[P]=L[P]*(1-_)|0:L[P]=(255-L[P])*_+L[P]|0,L[P]>255?L[P]=255:C[P]<0&&(L[P]=0);return E(L,L.length===4?"rgba":"rgb")}}function A(C){var _=r(C);if(_)return((1<<24)+(_[0]<<16)+(_[1]<<8)+ +_[2]).toString(16).slice(1)}function y(C,_,L){if(!(_&&_.length)||!(C>=0&&C<=1))return;L=L||[];var P=C*(_.length-1),k=Math.floor(P),F=Math.ceil(P),j=_[k],z=_[F],R=P-k;return L[0]=S(o(j[0],z[0],R)),L[1]=S(o(j[1],z[1],R)),L[2]=S(o(j[2],z[2],R)),L[3]=g(o(j[3],z[3],R)),L}var w=y;function b(C,_,L){if(!(_&&_.length)||!(C>=0&&C<=1))return;var P=C*(_.length-1),k=Math.floor(P),F=Math.ceil(P),j=r(_[k]),z=r(_[F]),R=P-k,U=E([S(o(j[0],z[0],R)),S(o(j[1],z[1],R)),S(o(j[2],z[2],R)),g(o(j[3],z[3],R))],"rgba");return L?{color:U,leftIndex:k,rightIndex:F,value:P}:U}var x=b;function O(C,_,L,P){if(C=r(C),C)return C=u(C),_!=null&&(C[0]=m(_)),L!=null&&(C[1]=d(L)),P!=null&&(C[2]=d(P)),E(s(C),"rgba")}function T(C,_){if(C=r(C),C&&_!=null)return C[3]=g(_),E(C,"rgba")}function E(C,_){if(!C||!C.length)return;var L=C[0]+","+C[1]+","+C[2];return(_==="rgba"||_==="hsva"||_==="hsla")&&(L+=","+C[3]),_+"("+L+")"}N.parse=r,N.lift=h,N.toHex=A,N.fastLerp=y,N.fastMapToColor=w,N.lerp=b,N.mapToColor=x,N.modifyHSL=O,N.modifyAlpha=T,N.stringify=E},Qi1f:function(M,N,n){"use strict";n.d(N,"g",function(){return x}),n.d(N,"c",function(){return O}),n.d(N,"a",function(){return E}),n.d(N,"b",function(){return C}),n.d(N,"d",function(){return _}),n.d(N,"e",function(){return L}),n.d(N,"f",function(){return k});var v=n("VTBJ"),p=n("U8pU"),S=n("AJpP"),m=n("q1tI"),g=n.n(m),f=n("Kwbf"),d=n("MNnm"),c=n("l4aY"),o="data-rc-order",i="rc-util-key",t=new Map;function a(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=F.mark;return j?j.startsWith("data-")?j:"data-".concat(j):i}function e(F){if(F.attachTo)return F.attachTo;var j=document.querySelector("head");return j||document.body}function l(F){return F==="queue"?"prependQueue":F?"prepend":"append"}function r(F){return Array.from((t.get(F)||F).children).filter(function(j){return j.tagName==="STYLE"})}function s(F){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(d.a)())return null;var z=j.csp,R=j.prepend,U=document.createElement("style");U.setAttribute(o,l(R)),(z==null?void 0:z.nonce)&&(U.nonce=z==null?void 0:z.nonce),U.innerHTML=F;var B=e(j),H=B.firstChild;if(R){if(R==="queue"){var K=r(B).filter(function(V){return["prepend","prependQueue"].includes(V.getAttribute(o))});if(K.length)return B.insertBefore(U,K[K.length-1].nextSibling),U}B.insertBefore(U,H)}else B.appendChild(U);return U}function u(F){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=e(j);return r(z).find(function(R){return R.getAttribute(a(j))===F})}function h(F){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=u(F,j);if(z){var R=e(j);R.removeChild(z)}}function A(F,j){var z=t.get(F);if(!z||!Object(c.a)(document,z)){var R=s("",j),U=R.parentNode;t.set(F,U),F.removeChild(R)}}function y(){t.clear()}function w(F,j){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},R=e(z);A(R,z);var U=u(j,z);if(U){var B,H;if(((B=z.csp)===null||B===void 0?void 0:B.nonce)&&U.nonce!==((H=z.csp)===null||H===void 0?void 0:H.nonce)){var K;U.nonce=(K=z.csp)===null||K===void 0?void 0:K.nonce}return U.innerHTML!==F&&(U.innerHTML=F),U}var V=s(F,z);return V.setAttribute(a(z),j),V}var b=n("Pw59");function x(F,j){Object(f.a)(F,"[@ant-design/icons] ".concat(j))}function O(F){return Object(p.a)(F)==="object"&&typeof F.name=="string"&&typeof F.theme=="string"&&(Object(p.a)(F.icon)==="object"||typeof F.icon=="function")}function T(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(F).reduce(function(j,z){var R=F[z];switch(z){case"class":j.className=R,delete j.class;break;default:j[z]=R}return j},{})}function E(F,j,z){return z?g.a.createElement(F.tag,Object(v.a)(Object(v.a)({key:j},T(F.attrs)),z),(F.children||[]).map(function(R,U){return E(R,"".concat(j,"-").concat(F.tag,"-").concat(U))})):g.a.createElement(F.tag,Object(v.a)({key:j},T(F.attrs)),(F.children||[]).map(function(R,U){return E(R,"".concat(j,"-").concat(F.tag,"-").concat(U))}))}function C(F){return Object(S.generate)(F)[0]}function _(F){return F?Array.isArray(F)?F:[F]:[]}var L={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},P=`
.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);
}
}
`,k=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:P,z=Object(m.useContext)(b.a),R=z.csp;Object(m.useEffect)(function(){w(j,"@ant-design-icons",{prepend:!0,csp:R})},[])}},Qs3X:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("X+im"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},Qs9O:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};N.default=v},QuXc:function(M,N){var n=function(S){this.colorStops=S||[]};n.prototype={constructor:n,addColorStop:function(S,m){this.colorStops.push({offset:S,color:m})}};var v=n;M.exports=v},Qvb6:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("ItGF"),m=n("B9fm"),g=n("gvm7"),f=n("7aKB"),d=n("OELB"),c=n("IwbS"),o=n("Ez2D"),i=n("+TT/"),t=n("Qxkt"),a=n("F9bG"),e=n("aX7z"),l=n("/y7N"),r=n("4NO4"),s=r.getTooltipRenderMode,u=p.bind,h=p.each,A=d.parsePercent,y=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=v.extendComponentView({type:"tooltip",init:function(_,L){if(S.node)return;var P=_.getComponent("tooltip"),k=P.get("renderMode");this._renderMode=s(k);var F;this._renderMode==="html"?(F=new m(L.getDom(),L,{appendToBody:P.get("appendToBody",!0)}),this._newLine="<br/>"):(F=new g(L),this._newLine=`
`),this._tooltipContent=F},render:function(_,L,P){if(S.node)return;this.group.removeAll(),this._tooltipModel=_,this._ecModel=L,this._api=P,this._lastDataByCoordSys=null,this._alwaysShowContent=_.get("alwaysShowContent");var k=this._tooltipContent;k.update(),k.setEnterable(_.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var _=this._tooltipModel,L=_.get("triggerOn");a.register("itemTooltip",this._api,u(function(P,k,F){L!=="none"&&(L.indexOf(P)>=0?this._tryShow(k,F):P==="leave"&&this._hide(F))},this))},_keepShow:function(){var _=this._tooltipModel,L=this._ecModel,P=this._api;if(this._lastX!=null&&this._lastY!=null&&_.get("triggerOn")!=="none"){var k=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!P.isDisposed()&&k.manuallyShowTip(_,L,P,{x:k._lastX,y:k._lastY})})}},manuallyShowTip:function(_,L,P,k){if(k.from===this.uid||S.node)return;var F=x(k,P);this._ticket="";var j=k.dataByCoordSys;if(k.tooltip&&k.x!=null&&k.y!=null){var z=y;z.position=[k.x,k.y],z.update(),z.tooltip=k.tooltip,this._tryShow({offsetX:k.x,offsetY:k.y,target:z},F)}else if(j)this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,dataByCoordSys:k.dataByCoordSys,tooltipOption:k.tooltipOption},F);else if(k.seriesIndex!=null){if(this._manuallyAxisShowTip(_,L,P,k))return;var R=o(k,L),U=R.point[0],B=R.point[1];U!=null&&B!=null&&this._tryShow({offsetX:U,offsetY:B,position:k.position,target:R.el},F)}else k.x!=null&&k.y!=null&&(P.dispatchAction({type:"updateAxisPointer",x:k.x,y:k.y}),this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,target:P.getZr().findHover(k.x,k.y).target},F))},manuallyHideTip:function(_,L,P,k){var F=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&F.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,k.from!==this.uid&&this._hide(x(k,P))},_manuallyAxisShowTip:function(_,L,P,k){var F=k.seriesIndex,j=k.dataIndex,z=L.getComponent("axisPointer").coordSysAxesInfo;if(F==null||j==null||z==null)return;var R=L.getSeriesByIndex(F);if(!R)return;var U=R.getData(),_=b([U.getItemModel(j),R,(R.coordinateSystem||{}).model,_]);return _.get("trigger")!=="axis"?void 0:(P.dispatchAction({type:"updateAxisPointer",seriesIndex:F,dataIndex:j,position:k.position}),!0)},_tryShow:function(_,L){var P=_.target,k=this._tooltipModel;if(!k)return;this._lastX=_.offsetX,this._lastY=_.offsetY;var F=_.dataByCoordSys;F&&F.length?this._showAxisTooltip(F,_):P&&P.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(_,P,L)):P&&P.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(_,P,L)):(this._lastDataByCoordSys=null,this._hide(L))},_showOrMove:function(_,L){var P=_.get("showDelay");L=p.bind(L,this),clearTimeout(this._showTimout),P>0?this._showTimout=setTimeout(L,P):L()},_showAxisTooltip:function(_,L){var P=this._ecModel,k=this._tooltipModel,F=[L.offsetX,L.offsetY],j=[],z=[],R=b([L.tooltipOption,k]),U=this._renderMode,B=this._newLine,H={};h(_,function(V){h(V.dataByAxis,function(W){var G=P.getComponent(W.axisDim+"Axis",W.axisIndex),re=W.value,ye=[];if(!G||re==null)return;var $=l.getValueLabel(re,G.axis,P,W.seriesDataIndices,W.valueLabelOpt);p.each(W.seriesDataIndices,function(Ce){var Se=P.getSeriesByIndex(Ce.seriesIndex),Ke=Ce.dataIndexInside,ue=Se&&Se.getDataParams(Ke);if(ue.axisDim=W.axisDim,ue.axisIndex=W.axisIndex,ue.axisType=W.axisType,ue.axisId=W.axisId,ue.axisValue=e.getAxisRawValue(G.axis,re),ue.axisValueLabel=$,ue){z.push(ue);var Le=Se.formatTooltip(Ke,!0,null,U),ee;if(p.isObject(Le)){ee=Le.html;var le=Le.markers;p.merge(H,le)}else ee=Le;ye.push(ee)}});var ve=$;U!=="html"?j.push(ye.join(B)):j.push((ve?f.encodeHTML(ve)+B:"")+ye.join(B))})},this),j.reverse(),j=j.join(this._newLine+this._newLine);var K=L.position;this._showOrMove(R,function(){this._updateContentNotChangedOnAxis(_)?this._updatePosition(R,K,F[0],F[1],this._tooltipContent,z):this._showTooltipContent(R,j,z,Math.random(),F[0],F[1],K,void 0,H)})},_showSeriesItemTooltip:function(_,L,P){var k=this._ecModel,F=L.seriesIndex,j=k.getSeriesByIndex(F),z=L.dataModel||j,R=L.dataIndex,U=L.dataType,B=z.getData(U),H=b([B.getItemModel(R),z,j&&(j.coordinateSystem||{}).model,this._tooltipModel]),K=H.get("trigger");if(K!=null&&K!=="item")return;var V=z.getDataParams(R,U),W=z.formatTooltip(R,!1,U,this._renderMode),G,re;p.isObject(W)?(G=W.html,re=W.markers):(G=W,re=null);var ye="item_"+z.name+"_"+R;this._showOrMove(H,function(){this._showTooltipContent(H,G,V,ye,_.offsetX,_.offsetY,_.position,_.target,re)}),P({type:"showTip",dataIndexInside:R,dataIndex:B.getRawIndex(R),seriesIndex:F,from:this.uid})},_showComponentItemTooltip:function(_,L,P){var k=L.tooltip;if(typeof k=="string"){var F=k;k={content:F,formatter:F}}var j=new t(k,this._tooltipModel,this._ecModel),z=j.get("content"),R=Math.random();this._showOrMove(j,function(){this._showTooltipContent(j,z,j.get("formatterParams")||{},R,_.offsetX,_.offsetY,_.position,L)}),P({type:"showTip",from:this.uid})},_showTooltipContent:function(_,L,P,k,F,j,z,R,U){if(this._ticket="",!_.get("showContent")||!_.get("show"))return;var B=this._tooltipContent,H=_.get("formatter");z=z||_.get("position");var K=L;if(H&&typeof H=="string")K=f.formatTpl(H,P,!0);else if(typeof H=="function"){var V=u(function(W,G){W===this._ticket&&(B.setContent(G,U,_),this._updatePosition(_,z,F,j,B,P,R))},this);this._ticket=k,K=H(P,k,V)}B.setContent(K,U,_),B.show(_),this._updatePosition(_,z,F,j,B,P,R)},_updatePosition:function(_,L,P,k,F,j,z){var R=this._api.getWidth(),U=this._api.getHeight();L=L||_.get("position");var B=F.getSize(),H=_.get("align"),K=_.get("verticalAlign"),V=z&&z.getBoundingRect().clone();if(z&&V.applyTransform(z.transform),typeof L=="function"&&(L=L([P,k],j,F.el,V,{viewSize:[R,U],contentSize:B.slice()})),p.isArray(L))P=A(L[0],R),k=A(L[1],U);else if(p.isObject(L)){L.width=B[0],L.height=B[1];var W=i.getLayoutRect(L,{width:R,height:U});P=W.x,k=W.y,H=null,K=null}else if(typeof L=="string"&&z){var G=E(L,V,B);P=G[0],k=G[1]}else{var G=O(P,k,F,R,U,H?null:20,K?null:20);P=G[0],k=G[1]}if(H&&(P-=C(H)?B[0]/2:H==="right"?B[0]:0),K&&(k-=C(K)?B[1]/2:K==="bottom"?B[1]:0),_.get("confine")){var G=T(P,k,F,R,U);P=G[0],k=G[1]}F.moveTo(P,k)},_updateContentNotChangedOnAxis:function(_){var L=this._lastDataByCoordSys,P=!!L&&L.length===_.length;return P&&h(L,function(k,F){var j=k.dataByAxis||{},z=_[F]||{},R=z.dataByAxis||[];P&=j.length===R.length,P&&h(j,function(U,B){var H=R[B]||{},K=U.seriesDataIndices||[],V=H.seriesDataIndices||[];P&=U.value===H.value&&U.axisType===H.axisType&&U.axisId===H.axisId&&K.length===V.length,P&&h(K,function(W,G){var re=V[G];P&=W.seriesIndex===re.seriesIndex&&W.dataIndex===re.dataIndex})})}),this._lastDataByCoordSys=_,!!P},_hide:function(_){this._lastDataByCoordSys=null,_({type:"hideTip",from:this.uid})},dispose:function(_,L){if(S.node)return;this._tooltipContent.dispose(),a.unregister("itemTooltip",L)}});function b(_){for(var L=_.pop();_.length;){var P=_.pop();P&&(t.isInstance(P)&&(P=P.get("tooltip",!0)),typeof P=="string"&&(P={formatter:P}),L=new t(P,L,L.ecModel))}return L}function x(_,L){return _.dispatchAction||p.bind(L.dispatchAction,L)}function O(_,L,P,k,F,j,z){var R=P.getOuterSize(),U=R.width,B=R.height;return j!=null&&(_+U+j>k?_-=U+j:_+=j),z!=null&&(L+B+z>F?L-=B+z:L+=z),[_,L]}function T(_,L,P,k,F){var j=P.getOuterSize(),z=j.width,R=j.height;return _=Math.min(_+z,k)-z,L=Math.min(L+R,F)-R,_=Math.max(_,0),L=Math.max(L,0),[_,L]}function E(_,L,P){var k=P[0],F=P[1],j=5,z=0,R=0,U=L.width,B=L.height;switch(_){case"inside":z=L.x+U/2-k/2,R=L.y+B/2-F/2;break;case"top":z=L.x+U/2-k/2,R=L.y-F-j;break;case"bottom":z=L.x+U/2-k/2,R=L.y+B+j;break;case"left":z=L.x-k-j,R=L.y+B/2-F/2;break;case"right":z=L.x+U+j,R=L.y+B/2-F/2}return[z,R]}function C(_){return _==="center"||_==="middle"}M.exports=w},Qxkt:function(M,N,n){var v=n("bYtY"),p=n("ItGF"),S=n("4NO4"),m=S.makeInner,g=n("Yl7c"),f=g.enableClassExtend,d=g.enableClassCheck,c=n("OQFs"),o=n("m9t5"),i=n("/iHx"),t=n("VR9l"),a=v.mixin,e=m();function l(h,A,y){this.parentModel=A,this.ecModel=y,this.option=h}l.prototype={constructor:l,init:null,mergeOption:function(h){v.merge(this.option,h,!0)},get:function(h,A){return h==null?this.option:r(this.option,this.parsePath(h),!A&&s(this,h))},getShallow:function(h,A){var y=this.option,w=y==null?y:y[h],b=!A&&s(this,h);return w==null&&b&&(w=b.getShallow(h)),w},getModel:function(h,A){var y=h==null?this.option:r(this.option,h=this.parsePath(h)),w;return A=A||(w=s(this,h))&&w.getModel(h),new l(y,A,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var h=this.constructor;return new h(v.clone(this.option))},setReadOnly:function(h){},parsePath:function(h){return typeof h=="string"&&(h=h.split(".")),h},customizeGetParent:function(h){e(this).getParent=h},isAnimationEnabled:function(){if(!p.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function r(h,A,y){for(var w=0;w<A.length;w++){if(!A[w])continue;if(h=h&&typeof h=="object"?h[A[w]]:null,h==null)break}return h==null&&y&&(h=y.get(A)),h}function s(h,A){var y=e(h).getParent;return y?y.call(h,A):h.parentModel}f(l),d(l),a(l,c),a(l,o),a(l,i),a(l,t);var u=l;M.exports=u},QyFq:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};N.default=v},QzjZ:function(M,N,n){var v=n("S/Yl"),p=n("IDmD");function S(m,g){var f=[];return m.eachComponent("singleAxis",function(d,c){var o=new v(d,m,g);o.name="single_"+c,o.resize(d,g),d.coordinateSystem=o,f.push(o)}),m.eachSeries(function(d){if(d.get("coordinateSystem")==="singleAxis"){var c=m.queryComponents({mainType:"singleAxis",index:d.get("singleAxisIndex"),id:d.get("singleAxisId")})[0];d.coordinateSystem=c&&c.coordinateSystem}}),f}p.register("single",{create:S,dimensions:v.prototype.dimensions})},R4Th:function(M,N,n){var v=n("ProS"),p=n("9wZj"),S=n("yO87"),m=n("Fofx"),g=n("h8O9"),f=v.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new p(S)},render:function(d,c,o){var i=d.getData(),t=this._symbolDraw;t.updateData(i),this.group.add(t.group)},updateTransform:function(d,c,o){var i=d.getData();this.group.dirty();var t=g().reset(d);t.progress&&t.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(d){var c=d.coordinateSystem;c&&c.getRoamTransform&&(this.group.transform=m.clone(c.getRoamTransform()),this.group.decomposeTransform())},remove:function(d,c){this._symbolDraw&&this._symbolDraw.remove(c)},dispose:function(){}});M.exports=f},R9oj:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("pwpV"),m=n.n(S)},RBEP:function(M,N,n){for(var v=n("ProS"),p=n("VaxA"),S=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],g=0;g<m.length;g++)v.registerAction({type:m[g],update:"updateView"},S);v.registerAction({type:"treemapRootToNode",update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"treemap",query:f},c);function c(o,i){var t=["treemapZoomToNode","treemapRootToNode"],a=p.retrieveTargetInfo(f,t,o);if(a){var e=o.getViewRoot();e&&(f.direction=p.aboveViewRoot(e,a.node)?"rollUp":"drillDown"),o.resetViewRoot(a.node)}}})},RCxd:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={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"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="ExclamationCircleOutlined";var d=N.a=p.forwardRef(f)},RDYZ:function(M,N,n){var v=n("dMvE");function p(m){this._target=m.target,this._life=m.life||1e3,this._delay=m.delay||0,this._initialized=!1,this.loop=m.loop==null?!1:m.loop,this.gap=m.gap||0,this.easing=m.easing||"Linear",this.onframe=m.onframe,this.ondestroy=m.ondestroy,this.onrestart=m.onrestart,this._pausedTime=0,this._paused=!1}p.prototype={constructor:p,step:function(g,f){if(this._initialized||(this._startTime=g+this._delay,this._initialized=!0),this._paused){this._pausedTime+=f;return}var d=(g-this._startTime-this._pausedTime)/this._life;if(d<0)return;d=Math.min(d,1);var c=this.easing,o=typeof c=="string"?v[c]:c,i=typeof o=="function"?o(d):d;return this.fire("frame",i),d===1?this.loop?(this.restart(g),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(g){var f=(g-this._startTime-this._pausedTime)%this._life;this._startTime=g-f+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(g,f){g="on"+g,this[g]&&this[g](this._target,f)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var S=p;M.exports=S},RELg:function(M,N,n){var v=n("MFOe"),p=v.Global;M.exports={name:"oldIE-userDataStorage",write:d,read:c,each:o,remove:i,clearAll:t};var S="storejs",m=p.document,g=l(),f=(p.navigator?p.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function d(r,s){if(f)return;var u=e(r);g(function(h){h.setAttribute(u,s),h.save(S)})}function c(r){if(f)return;var s=e(r),u=null;return g(function(h){u=h.getAttribute(s)}),u}function o(r){g(function(s){for(var u=s.XMLDocument.documentElement.attributes,h=u.length-1;h>=0;h--){var A=u[h];r(s.getAttribute(A.name),A.name)}})}function i(r){var s=e(r);g(function(u){u.removeAttribute(s),u.save(S)})}function t(){g(function(r){var s=r.XMLDocument.documentElement.attributes;r.load(S);for(var u=s.length-1;u>=0;u--)r.removeAttribute(s[u].name);r.save(S)})}var a=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function e(r){return r.replace(/^\d/,"___$&").replace(a,"___")}function l(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var r="script",s,u,h;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+r+">document.w=window</"+r+'><iframe src="/favicon.ico"></iframe>'),u.close(),s=u.w.frames[0].document,h=s.createElement("div")}catch(A){h=m.createElement("div"),s=m.body}return function(A){var y=[].slice.call(arguments,0);y.unshift(h),s.appendChild(h),h.addBehavior("#default#userData"),h.load(S),A.apply(this,y),s.removeChild(h);return}}},RPvy:function(M,N,n){var v=n("ProS"),p=n("VaxA"),S="sunburstRootToNode";v.registerAction({type:S,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},c);function c(o,i){var t=p.retrieveTargetInfo(f,[S],o);if(t){var a=o.getViewRoot();a&&(f.direction=p.aboveViewRoot(a,t.node)?"rollUp":"drillDown"),o.resetViewRoot(t.node)}}});var m="sunburstHighlight";v.registerAction({type:m,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},c);function c(o,i){var t=p.retrieveTargetInfo(f,[m],o);t&&(f.highlight=t.node)}});var g="sunburstUnhighlight";v.registerAction({type:g,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},c);function c(o,i){f.unhighlight=!0}})},RSch:function(M,N,n){var v=n("IwbS"),p=n("bYtY");function S(f,d,c){v.Group.call(this),this._createPolyline(f,d,c)}var m=S.prototype;m._createPolyline=function(f,d,c){var o=f.getItemLayout(d),i=new v.Polyline({shape:{points:o}});this.add(i),this._updateCommonStl(f,d,c)},m.updateData=function(f,d,c){var o=f.hostModel,i=this.childAt(0),t={shape:{points:f.getItemLayout(d)}};v.updateProps(i,t,o,d),this._updateCommonStl(f,d,c)},m._updateCommonStl=function(f,d,c){var o=this.childAt(0),i=f.getItemModel(d),t=f.getItemVisual(d,"color"),a=c&&c.lineStyle,e=c&&c.hoverLineStyle;(!c||f.hasItemOption)&&(a=i.getModel("lineStyle").getLineStyle(),e=i.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(p.defaults({strokeNoScale:!0,fill:"none",stroke:t},a)),o.hoverStyle=e,v.setHoverStyle(this)},m.updateLayout=function(f,d){var c=this.childAt(0);c.setShape("points",f.getItemLayout(d))},p.inherits(S,v.Group);var g=S;M.exports=g},RXMa:function(M,N,n){var v=n("y+Vt"),p=v.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,g){var f=g.cx,d=g.cy,c=Math.PI*2;m.moveTo(f+g.r,d),m.arc(f,d,g.r,0,c,!1),m.moveTo(f+g.r0,d),m.arc(f,d,g.r0,0,c,!0)}});M.exports=p},RZPm:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("JgUQ")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="FileOutlined";var i=m.forwardRef(o);N.default=i},RlCK:function(M,N,n){var v=n("ProS"),p=n("bYtY");function S(m,g,f){var d={},c=m==="toggleSelected",o;return f.eachComponent("legend",function(i){c&&o!=null?i[o?"select":"unSelect"](g.name):m==="allSelect"||m==="inverseSelect"?i[m]():(i[m](g.name),o=i.isSelected(g.name));var t=i.getData();p.each(t,function(a){var e=a.get("name");if(e===`
`||e==="")return;var l=i.isSelected(e);d.hasOwnProperty(e)?d[e]=d[e]&&l:d[e]=l})}),m==="allSelect"||m==="inverseSelect"?{selected:d}:{name:g.name,selected:d}}v.registerAction("legendToggleSelect","legendselectchanged",p.curry(S,"toggleSelected")),v.registerAction("legendAllSelect","legendselectall",p.curry(S,"allSelect")),v.registerAction("legendInverseSelect","legendinverseselect",p.curry(S,"inverseSelect")),v.registerAction("legendSelect","legendselected",p.curry(S,"select")),v.registerAction("legendUnSelect","legendunselected",p.curry(S,"unSelect"))},RotF:function(M,N,n){M.exports=n("LSTS")},Rx6q:function(M,N){function n(v){var p=v.getRect(),S=v.getRangeInfo();return{coordSys:{type:"calendar",x:p.x,y:p.y,width:p.width,height:p.height,cellWidth:v.getCellWidth(),cellHeight:v.getCellHeight(),rangeInfo:{start:S.start,end:S.end,weeks:S.weeks,dayCount:S.allDay}},api:{coord:function(m,g){return v.dataToPoint(m,g)}}}}M.exports=n},"S/Yl":function(M,N,n){var v=n("Zvw2"),p=n("aX7z"),S=n("+TT/"),m=S.getLayoutRect,g=n("bYtY"),f=g.each;function d(o,i,t){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(o,i,t),this.model=o}d.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:d,_init:function(o,i,t){var a=this.dimension,e=new v(a,p.createScaleByModel(o),[0,0],o.get("type"),o.get("position")),l=e.type==="category";e.onBand=l&&o.get("boundaryGap"),e.inverse=o.get("inverse"),e.orient=o.get("orient"),o.axis=e,e.model=o,e.coordinateSystem=this,this._axis=e},update:function(o,i){o.eachSeries(function(t){if(t.coordinateSystem===this){var a=t.getData();f(a.mapDimension(this.dimension,!0),function(e){this._axis.scale.unionExtentFromData(a,e)},this),p.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(o,i){this._rect=m({left:o.get("left"),top:o.get("top"),right:o.get("right"),bottom:o.get("bottom"),width:o.get("width"),height:o.get("height")},{width:i.getWidth(),height:i.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var o=this._rect,i=this._axis,t=i.isHorizontal(),a=t?[0,o.width]:[0,o.height],e=i.reverse?1:0;i.setExtent(a[e],a[1-e]),this._updateAxisTransform(i,t?o.x:o.y)},_updateAxisTransform:function(o,i){var t=o.getExtent(),a=t[0]+t[1],e=o.isHorizontal();o.toGlobalCoord=e?function(l){return l+i}:function(l){return a-l+i},o.toLocalCoord=e?function(l){return l-i}:function(l){return a-l+i}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(o){var i=this.getRect(),t=this.getAxis(),a=t.orient;return a==="horizontal"?t.contain(t.toLocalCoord(o[0]))&&o[1]>=i.y&&o[1]<=i.y+i.height:t.contain(t.toLocalCoord(o[1]))&&o[0]>=i.y&&o[0]<=i.y+i.height},pointToData:function(o){var i=this.getAxis();return[i.coordToData(i.toLocalCoord(o[i.orient==="horizontal"?0:1]))]},dataToPoint:function(o){var i=this.getAxis(),t=this.getRect(),a=[],e=i.orient==="horizontal"?0:1;return o instanceof Array&&(o=o[0]),a[e]=i.toGlobalCoord(i.dataToCoord(+o)),a[1-e]=e===0?t.y+t.height/2:t.x+t.width/2,a}};var c=d;M.exports=c},"SA+Z":function(M,N,n){var v=n("wTVA"),p=n("EbDI"),S=n("ZhPi"),m=n("wkBT");function g(f){return v(f)||p(f)||S(f)||m()}M.exports=g,M.exports.__esModule=!0,M.exports.default=M.exports},"SA4+":function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("IwbS"),g=n("zYTA"),f=n("bYtY");function d(t,a,e){var l=t[1]-t[0];a=f.map(a,function(u){return{interval:[(u.interval[0]-t[0])/l,(u.interval[1]-t[0])/l]}});var r=a.length,s=0;return function(u){for(var h=s;h<r;h++){var A=a[h].interval;if(A[0]<=u&&u<=A[1]){s=h;break}}if(h===r)for(var h=s-1;h>=0;h--){var A=a[h].interval;if(A[0]<=u&&u<=A[1]){s=h;break}}return h>=0&&h<r&&e[h]}}function c(t,a){var e=t[1]-t[0];return a=[(a[0]-t[0])/e,(a[1]-t[0])/e],function(l){return l>=a[0]&&l<=a[1]}}function o(t){var a=t.dimensions;return a[0]==="lng"&&a[1]==="lat"}var i=S.extendChartView({type:"heatmap",render:function(t,a,e){var l;a.eachComponent("visualMap",function(s){s.eachTargetSeries(function(u){u===t&&(l=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;r.type==="cartesian2d"||r.type==="calendar"?this._renderOnCartesianAndCalendar(t,e,0,t.getData().count()):o(r)&&this._renderOnGeo(r,t,l,e)},incrementalPrepareRender:function(t,a,e){this.group.removeAll()},incrementalRender:function(t,a,e,l){var r=a.coordinateSystem;r&&this._renderOnCartesianAndCalendar(a,l,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,a,e,l,r){var s=t.coordinateSystem,u,h;if(s.type==="cartesian2d"){var A=s.getAxis("x"),y=s.getAxis("y");u=A.getBandWidth(),h=y.getBandWidth()}for(var w=this.group,b=t.getData(),x="itemStyle",O="emphasis.itemStyle",T="label",E="emphasis.label",C=t.getModel(x).getItemStyle(["color"]),_=t.getModel(O).getItemStyle(),L=t.getModel(T),P=t.getModel(E),k=s.type,F=k==="cartesian2d"?[b.mapDimension("x"),b.mapDimension("y"),b.mapDimension("value")]:[b.mapDimension("time"),b.mapDimension("value")],j=e;j<l;j++){var z;if(k==="cartesian2d"){if(isNaN(b.get(F[2],j)))continue;var R=s.dataToPoint([b.get(F[0],j),b.get(F[1],j)]);z=new m.Rect({shape:{x:Math.floor(Math.round(R[0])-u/2),y:Math.floor(Math.round(R[1])-h/2),width:Math.ceil(u),height:Math.ceil(h)},style:{fill:b.getItemVisual(j,"color"),opacity:b.getItemVisual(j,"opacity")}})}else{if(isNaN(b.get(F[1],j)))continue;z=new m.Rect({z2:1,shape:s.dataToRect([b.get(F[0],j)]).contentShape,style:{fill:b.getItemVisual(j,"color"),opacity:b.getItemVisual(j,"opacity")}})}var U=b.getItemModel(j);b.hasItemOption&&(C=U.getModel(x).getItemStyle(["color"]),_=U.getModel(O).getItemStyle(),L=U.getModel(T),P=U.getModel(E));var B=t.getRawValue(j),H="-";B&&B[2]!=null&&(H=B[2]),m.setLabelStyle(C,_,L,P,{labelFetcher:t,labelDataIndex:j,defaultText:H,isRectText:!0}),z.setStyle(C),m.setHoverStyle(z,b.hasItemOption?_:f.extend({},_)),z.incremental=r,r&&(z.useHoverLayer=!0),w.add(z),b.setItemGraphicEl(j,z)}},_renderOnGeo:function(t,a,e,l){var r=e.targetVisuals.inRange,s=e.targetVisuals.outOfRange,u=a.getData(),h=this._hmLayer||this._hmLayer||new g;h.blurSize=a.get("blurSize"),h.pointSize=a.get("pointSize"),h.minOpacity=a.get("minOpacity"),h.maxOpacity=a.get("maxOpacity");var A=t.getViewRect().clone(),y=t.getRoamTransform();A.applyTransform(y);var w=Math.max(A.x,0),b=Math.max(A.y,0),x=Math.min(A.width+A.x,l.getWidth()),O=Math.min(A.height+A.y,l.getHeight()),T=x-w,E=O-b,C=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],_=u.mapArray(C,function(F,j,z){var R=t.dataToPoint([F,j]);return R[0]-=w,R[1]-=b,R.push(z),R}),L=e.getExtent(),P=e.type==="visualMap.continuous"?c(L,e.option.range):d(L,e.getPieceList(),e.option.selected);h.update(_,T,E,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:s.color.getColorMapper()},P);var k=new m.Image({style:{width:T,height:E,x:w,y:b,image:h.canvas},silent:!0});this.group.add(k)},dispose:function(){}});M.exports=i},SA8n:function(M,N,n){var v=n("Sj9i"),p=n("QBsz"),S=n("U/Mo"),m=S.getSymbolSize,g=[],f=[],d=[],c=v.quadraticAt,o=p.distSquare,i=Math.abs;function t(e,l,r){for(var s=e[0],u=e[1],h=e[2],A=Infinity,y,w=r*r,b=.1,x=.1;x<=.9;x+=.1){g[0]=c(s[0],u[0],h[0],x),g[1]=c(s[1],u[1],h[1],x);var O=i(o(g,l)-w);O<A&&(A=O,y=x)}for(var T=0;T<32;T++){var E=y+b;f[0]=c(s[0],u[0],h[0],y),f[1]=c(s[1],u[1],h[1],y),d[0]=c(s[0],u[0],h[0],E),d[1]=c(s[1],u[1],h[1],E);var O=o(f,l)-w;if(i(O)<.01)break;var C=o(d,l)-w;b/=2,O<0?C>=0?y=y+b:y=y-b:C>=0?y=y-b:y=y+b}return y}function a(e,l){var r=[],s=v.quadraticSubdivide,u=[[],[],[]],h=[[],[]],A=[];l/=2,e.eachEdge(function(y,w){var b=y.getLayout(),x=y.getVisual("fromSymbol"),O=y.getVisual("toSymbol");b.__original||(b.__original=[p.clone(b[0]),p.clone(b[1])],b[2]&&b.__original.push(p.clone(b[2])));var T=b.__original;if(b[2]!=null){if(p.copy(u[0],T[0]),p.copy(u[1],T[2]),p.copy(u[2],T[1]),x&&x!=="none"){var E=m(y.node1),C=t(u,T[0],E*l);s(u[0][0],u[1][0],u[2][0],C,r),u[0][0]=r[3],u[1][0]=r[4],s(u[0][1],u[1][1],u[2][1],C,r),u[0][1]=r[3],u[1][1]=r[4]}if(O&&O!=="none"){var E=m(y.node2),C=t(u,T[1],E*l);s(u[0][0],u[1][0],u[2][0],C,r),u[1][0]=r[1],u[2][0]=r[2],s(u[0][1],u[1][1],u[2][1],C,r),u[1][1]=r[1],u[2][1]=r[2]}p.copy(b[0],u[0]),p.copy(b[1],u[2]),p.copy(b[2],u[1])}else{if(p.copy(h[0],T[0]),p.copy(h[1],T[1]),p.sub(A,h[1],h[0]),p.normalize(A,A),x&&x!=="none"){var E=m(y.node1);p.scaleAndAdd(h[0],h[0],A,E*l)}if(O&&O!=="none"){var E=m(y.node2);p.scaleAndAdd(h[1],h[1],A,-E*l)}p.copy(b[0],h[0]),p.copy(b[1],h[1])}})}M.exports=a},SJMd:function(M,N){/**
* @license
* Copyright (C) 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var n,v,p,S=!1,m,g;window.PR_SHOULD_USE_CONTINUATION=!0;var f,d;(function(){var c=window,o=["break,continue,do,else,for,if,return,while"],i=[o,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],t=[i,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],a=[t,"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"],e=[t,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[t,"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"],r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",s=[t,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],u="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",h=[o,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],A=[o,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],y=[o,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],w=[a,l,e,s,u,h,A,y],b=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,x="str",O="kwd",T="com",E="typ",C="lit",_="pun",L="pln",P="tag",k="dec",F="src",j="atn",z="atv",R="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function B(Re){for(var Ae=0,oe=!1,ce=!1,be=0,Te=Re.length;be<Te;++be){var Be=Re[be];if(Be.ignoreCase)ce=!0;else if(/[a-z]/i.test(Be.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){oe=!0,ce=!1;break}}var De={b:8,t:9,n:10,v:11,f:12,r:13};function ae(Ze){var Ne=Ze.charCodeAt(0);if(Ne!==92)return Ne;var It=Ze.charAt(1);return Ne=De[It],Ne||("0"<=It&&It<="7"?parseInt(Ze.substring(1),8):It==="u"||It==="x"?parseInt(Ze.substring(2),16):Ze.charCodeAt(1))}function fe(Ze){if(Ze<32)return(Ze<16?"\\x0":"\\x")+Ze.toString(16);var Ne=String.fromCharCode(Ze);return Ne==="\\"||Ne==="-"||Ne==="]"||Ne==="^"?"\\"+Ne:Ne}function Oe(Ze){var Ne=Ze.substring(1,Ze.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),It=[],Xe=Ne[0]==="^",Ot=["["];Xe&&Ot.push("^");for(var Bt=Xe?1:0,kt=Ne.length;Bt<kt;++Bt){var _t=Ne[Bt];if(/\\[bdsw]/i.test(_t))Ot.push(_t);else{var Ft=ae(_t),ke;Bt+2<kt&&Ne[Bt+1]==="-"?(ke=ae(Ne[Bt+2]),Bt+=2):ke=Ft,It.push([Ft,ke]),ke<65||Ft>122||(ke<65||Ft>90||It.push([Math.max(65,Ft)|32,Math.min(ke,90)|32]),ke<97||Ft>122||It.push([Math.max(97,Ft)&~32,Math.min(ke,122)&~32]))}}It.sort(function(je,q){return je[0]-q[0]||q[1]-je[1]});for(var te=[],Q=[],Bt=0;Bt<It.length;++Bt){var qe=It[Bt];qe[0]<=Q[1]+1?Q[1]=Math.max(Q[1],qe[1]):te.push(Q=qe)}for(var Bt=0;Bt<te.length;++Bt){var qe=te[Bt];Ot.push(fe(qe[0])),qe[1]>qe[0]&&(qe[1]+1>qe[0]&&Ot.push("-"),Ot.push(fe(qe[1])))}return Ot.push("]"),Ot.join("")}function Je(Ze){for(var Ne=Ze.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),It=Ne.length,Xe=[],Ot=0,Bt=0;Ot<It;++Ot){var kt=Ne[Ot];if(kt==="(")++Bt;else if(kt.charAt(0)==="\\"){var _t=+kt.substring(1);_t&&(_t<=Bt?Xe[_t]=-1:Ne[Ot]=fe(_t))}}for(var Ot=1;Ot<Xe.length;++Ot)Xe[Ot]===-1&&(Xe[Ot]=++Ae);for(var Ot=0,Bt=0;Ot<It;++Ot){var kt=Ne[Ot];if(kt==="(")++Bt,Xe[Bt]||(Ne[Ot]="(?:");else if(kt.charAt(0)==="\\"){var _t=+kt.substring(1);_t&&_t<=Bt&&(Ne[Ot]="\\"+Xe[_t])}}for(var Ot=0;Ot<It;++Ot)Ne[Ot]==="^"&&Ne[Ot+1]!=="^"&&(Ne[Ot]="");if(Ze.ignoreCase&&oe)for(var Ot=0;Ot<It;++Ot){var kt=Ne[Ot],Ft=kt.charAt(0);kt.length>=2&&Ft==="["?Ne[Ot]=Oe(kt):Ft!=="\\"&&(Ne[Ot]=kt.replace(/[a-zA-Z]/g,function(Q){var qe=Q.charCodeAt(0);return"["+String.fromCharCode(qe&~32,qe|32)+"]"}))}return Ne.join("")}for(var Et=[],be=0,Te=Re.length;be<Te;++be){var Be=Re[be];if(Be.global||Be.multiline)throw new Error(""+Be);Et.push("(?:"+Je(Be)+")")}return new RegExp(Et.join("|"),ce?"gi":"g")}function H(Re,Ae){var oe=/(?:^|\s)nocode(?:\s|$)/,ce=[],be=0,Te=[],Be=0;function De(ae){var fe=ae.nodeType;if(fe==1){if(oe.test(ae.className))return;for(var Oe=ae.firstChild;Oe;Oe=Oe.nextSibling)De(Oe);var Je=ae.nodeName.toLowerCase();(Je==="br"||Je==="li")&&(ce[Be]=`
`,Te[Be<<1]=be++,Te[Be++<<1|1]=ae)}else if(fe==3||fe==4){var Et=ae.nodeValue;Et.length&&(Ae?Et=Et.replace(/\r\n?/g,`
`):Et=Et.replace(/[ \t\r\n]+/g," "),ce[Be]=Et,Te[Be<<1]=be,be+=Et.length,Te[Be++<<1|1]=ae)}}return De(Re),{sourceCode:ce.join("").replace(/\n$/,""),spans:Te}}function K(Re,Ae,oe,ce,be){if(!oe)return;var Te={sourceNode:Re,pre:1,langExtension:null,numberLines:null,sourceCode:oe,spans:null,basePos:Ae,decorations:null};ce(Te),be.push.apply(be,Te.decorations)}var V=/\S/;function W(Re){for(var Ae=void 0,oe=Re.firstChild;oe;oe=oe.nextSibling){var ce=oe.nodeType;Ae=ce===1?Ae?Re:oe:ce===3&&V.test(oe.nodeValue)?Re:Ae}return Ae===Re?void 0:Ae}function G(Re,Ae){var oe={},ce;(function(){for(var Be=Re.concat(Ae),De=[],ae={},fe=0,Oe=Be.length;fe<Oe;++fe){var Je=Be[fe],Et=Je[3];if(Et)for(var Ze=Et.length;--Ze>=0;)oe[Et.charAt(Ze)]=Je;var Ne=Je[1],It=""+Ne;ae.hasOwnProperty(It)||(De.push(Ne),ae[It]=null)}De.push(/[\0-\uffff]/),ce=B(De)})();var be=Ae.length,Te=function Be(De){for(var ae=De.sourceCode,fe=De.basePos,Oe=De.sourceNode,Je=[fe,L],Et=0,Ze=ae.match(ce)||[],Ne={},It=0,Xe=Ze.length;It<Xe;++It){var Ot=Ze[It],Bt=Ne[Ot],kt=void 0,_t;if(typeof Bt=="string")_t=!1;else{var Ft=oe[Ot.charAt(0)];if(Ft)kt=Ot.match(Ft[1]),Bt=Ft[0];else{for(var ke=0;ke<be;++ke)if(Ft=Ae[ke],kt=Ot.match(Ft[1]),kt){Bt=Ft[0];break}kt||(Bt=L)}_t=Bt.length>=5&&Bt.substring(0,5)==="lang-",_t&&!(kt&&typeof kt[1]=="string")&&(_t=!1,Bt=F),_t||(Ne[Ot]=Bt)}var te=Et;if(Et+=Ot.length,!_t)Je.push(fe+te,Bt);else{var Q=kt[1],qe=Ot.indexOf(Q),je=qe+Q.length;kt[2]&&(je=Ot.length-kt[2].length,qe=je-Q.length);var q=Bt.substring(5);K(Oe,fe+te,Ot.substring(0,qe),Be,Je),K(Oe,fe+te+qe,Q,Ke(q,Q),Je),K(Oe,fe+te+je,Ot.substring(je),Be,Je)}}De.decorations=Je};return Te}function re(Re){var Ae=[],oe=[];Re.tripleQuotedStrings?Ae.push([x,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Re.multiLineStrings?Ae.push([x,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Ae.push([x,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Re.verbatimStrings&&oe.push([x,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var ce=Re.hashComments;ce&&(Re.cStyleComments?(ce>1?Ae.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Ae.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),oe.push([x,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Ae.push([T,/^#[^\r\n]*/,null,"#"])),Re.cStyleComments&&(oe.push([T,/^\/\/[^\r\n]*/,null]),oe.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var be=Re.regexLiterals;if(be){var Te=be>1?"":`
\r`,Be=Te?".":"[\\S\\s]",De="/(?=[^/*"+Te+"])(?:[^/\\x5B\\x5C"+Te+"]|\\x5C"+Be+"|\\x5B(?:[^\\x5C\\x5D"+Te+"]|\\x5C"+Be+")*(?:\\x5D|$))+/";oe.push(["lang-regex",RegExp("^"+U+"("+De+")")])}var ae=Re.types;ae&&oe.push([E,ae]);var fe=(""+Re.keywords).replace(/^ | $/g,"");fe.length&&oe.push([O,new RegExp("^(?:"+fe.replace(/[\s,]+/g,"|")+")\\b"),null]),Ae.push([L,/^\s+/,null,` \r
\xA0`]);var Oe="^.[^\\s\\w.$@'\"`/\\\\]*";return Re.regexLiterals&&(Oe+="(?!s*/)"),oe.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[E,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[L,/^[a-z_$][a-z_$@0-9]*/i,null],[C,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[L,/^\\[\s\S]?/,null],[_,new RegExp(Oe),null]),G(Ae,oe)}var ye=re({keywords:w,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $(Re,Ae,oe){for(var ce=/(?:^|\s)nocode(?:\s|$)/,be=/\r\n?|\n/,Te=Re.ownerDocument,Be=Te.createElement("li");Re.firstChild;)Be.appendChild(Re.firstChild);var De=[Be];function ae(Ne){var It=Ne.nodeType;if(It==1&&!ce.test(Ne.className))if(Ne.nodeName==="br")fe(Ne),Ne.parentNode&&Ne.parentNode.removeChild(Ne);else for(var Xe=Ne.firstChild;Xe;Xe=Xe.nextSibling)ae(Xe);else if((It==3||It==4)&&oe){var Ot=Ne.nodeValue,Bt=Ot.match(be);if(Bt){var kt=Ot.substring(0,Bt.index);Ne.nodeValue=kt;var _t=Ot.substring(Bt.index+Bt[0].length);if(_t){var Ft=Ne.parentNode;Ft.insertBefore(Te.createTextNode(_t),Ne.nextSibling)}fe(Ne),kt||Ne.parentNode.removeChild(Ne)}}}function fe(Ne){for(;!Ne.nextSibling;)if(Ne=Ne.parentNode,!Ne)return;function It(Bt,kt){var _t=kt?Bt.cloneNode(!1):Bt,Ft=Bt.parentNode;if(Ft){var ke=It(Ft,1),te=Bt.nextSibling;ke.appendChild(_t);for(var Q=te;Q;Q=te)te=Q.nextSibling,ke.appendChild(Q)}return _t}for(var Xe=It(Ne.nextSibling,0),Ot;(Ot=Xe.parentNode)&&Ot.nodeType===1;)Xe=Ot;De.push(Xe)}for(var Oe=0;Oe<De.length;++Oe)ae(De[Oe]);Ae===(Ae|0)&&De[0].setAttribute("value",Ae);var Je=Te.createElement("ol");Je.className="linenums";for(var Et=Math.max(0,Ae-1|0)||0,Oe=0,Ze=De.length;Oe<Ze;++Oe)Be=De[Oe],Be.className="L"+(Oe+Et)%10,Be.firstChild||Be.appendChild(Te.createTextNode("\xA0")),Je.appendChild(Be);Re.appendChild(Je)}function ve(Re){var Ae=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Ae=Ae&&+Ae[1]<=8;var oe=/\n/g,ce=Re.sourceCode,be=ce.length,Te=0,Be=Re.spans,De=Be.length,ae=0,fe=Re.decorations,Oe=fe.length,Je=0;fe[Oe]=be;var Et,Ze;for(Ze=Et=0;Ze<Oe;)fe[Ze]!==fe[Ze+2]?(fe[Et++]=fe[Ze++],fe[Et++]=fe[Ze++]):Ze+=2;for(Oe=Et,Ze=Et=0;Ze<Oe;){for(var Ne=fe[Ze],It=fe[Ze+1],Xe=Ze+2;Xe+2<=Oe&&fe[Xe+1]===It;)Xe+=2;fe[Et++]=Ne,fe[Et++]=It,Ze=Xe}Oe=fe.length=Et;var Ot=Re.sourceNode,Bt="";Ot&&(Bt=Ot.style.display,Ot.style.display="none");try{for(var kt=null;ae<De;){var _t=Be[ae],Ft=Be[ae+2]||be,ke=fe[Je+2]||be,Xe=Math.min(Ft,ke),te=Be[ae+1],Q;if(te.nodeType!==1&&(Q=ce.substring(Te,Xe))){Ae&&(Q=Q.replace(oe,"\r")),te.nodeValue=Q;var qe=te.ownerDocument,je=qe.createElement("span");je.className=fe[Je+1];var q=te.parentNode;q.replaceChild(je,te),je.appendChild(te),Te<Ft&&(Be[ae+1]=te=qe.createTextNode(ce.substring(Xe,Ft)),q.insertBefore(te,je.nextSibling))}Te=Xe,Te>=Ft&&(ae+=2),Te>=ke&&(Je+=2)}}finally{Ot&&(Ot.style.display=Bt)}}var Ce={};function Se(Re,Ae){for(var oe=Ae.length;--oe>=0;){var ce=Ae[oe];Ce.hasOwnProperty(ce)?c.console&&console.warn("cannot override language handler %s",ce):Ce[ce]=Re}}function Ke(Re,Ae){return Re&&Ce.hasOwnProperty(Re)||(Re=/^\s*</.test(Ae)?"default-markup":"default-code"),Ce[Re]}Se(ye,["default-code"]),Se(G([],[[L,/^[^<?]+/],[k,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[_,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Se(G([[L,/^[\s]+/,null,` \r
`],[z,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[P,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[j,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[_,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Se(G([],[[z,/^[\s\S]+/]]),["uq.val"]),Se(re({keywords:a,hashComments:!0,cStyleComments:!0,types:b}),["c","cc","cpp","cxx","cyc","m"]),Se(re({keywords:"null,true,false"}),["json"]),Se(re({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:b}),["cs"]),Se(re({keywords:e,cStyleComments:!0}),["java"]),Se(re({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Se(re({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Se(re({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Se(re({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Se(re({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Se(re({keywords:r,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Se(G([],[[x,/^[\s\S]+/]]),["regex"]);function ue(Re){var Ae=Re.langExtension;try{var oe=H(Re.sourceNode,Re.pre),ce=oe.sourceCode;Re.sourceCode=ce,Re.spans=oe.spans,Re.basePos=0,Ke(Ae,ce)(Re),ve(Re)}catch(be){c.console&&console.log(be&&be.stack||be)}}function Le(Re,Ae,oe){var ce=oe||!1,be=Ae||null,Te=document.createElement("div");Te.innerHTML="<pre>"+Re+"</pre>",Te=Te.firstChild,ce&&$(Te,ce,!0);var Be={langExtension:be,numberLines:ce,sourceNode:Te,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return ue(Be),Te.innerHTML}function ee(Re,Ae){var oe=Ae||document.body,ce=oe.ownerDocument||document;function be(_t){return oe.getElementsByTagName(_t)}for(var Te=[be("pre"),be("code"),be("xmp")],Be=[],De=0;De<Te.length;++De)for(var ae=0,fe=Te[De].length;ae<fe;++ae)Be.push(Te[De][ae]);Te=null;var Oe=Date;Oe.now||(Oe={now:function(){return+new Date}});var Je=0,Et=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ze=/\bprettyprint\b/,Ne=/\bprettyprinted\b/,It=/pre|xmp/i,Xe=/^code$/i,Ot=/^(?:pre|code|xmp)$/i,Bt={};function kt(){for(var _t=c.PR_SHOULD_USE_CONTINUATION?Oe.now()+250:Infinity;Je<Be.length&&Oe.now()<_t;Je++){for(var Ft=Be[Je],ke=Bt,te=Ft;te=te.previousSibling;){var Q=te.nodeType,qe=(Q===7||Q===8)&&te.nodeValue;if(qe?!/^\??prettify\b/.test(qe):Q!==3||/\S/.test(te.nodeValue))break;if(qe){ke={},qe.replace(/\b(\w+)=([\w:.%+-]+)/g,function(gt,zr,pn){ke[zr]=pn});break}}var je=Ft.className;if((ke!==Bt||Ze.test(je))&&!Ne.test(je)){for(var q=!1,wt=Ft.parentNode;wt;wt=wt.parentNode){var Vt=wt.tagName;if(Ot.test(Vt)&&wt.className&&Ze.test(wt.className)){q=!0;break}}if(!q){Ft.className+=" prettyprinted";var lt=ke.lang;if(!lt){lt=je.match(Et);var or;!lt&&(or=W(Ft))&&Xe.test(or.tagName)&&(lt=or.className.match(Et)),lt&&(lt=lt[1])}var vr;if(It.test(Ft.tagName))vr=1;else{var An=Ft.currentStyle,hr=ce.defaultView,xr=An?An.whiteSpace:hr&&hr.getComputedStyle?hr.getComputedStyle(Ft,null).getPropertyValue("white-space"):0;vr=xr&&xr.substring(0,3)==="pre"}var nr=ke.linenums;(nr=nr==="true"||+nr)||(nr=je.match(/\blinenums\b(?::(\d+))?/),nr=nr?nr[1]&&nr[1].length?+nr[1]:!0:!1),nr&&$(Ft,nr,vr);var Yt={langExtension:lt,sourceNode:Ft,numberLines:nr,pre:vr,sourceCode:null,basePos:null,spans:null,decorations:null};ue(Yt)}}}Je<Be.length?c.setTimeout(kt,250):typeof Re=="function"&&Re()}kt()}var le=c.PR={createSimpleLexer:G,registerLangHandler:Se,sourceDecorator:re,PR_ATTRIB_NAME:j,PR_ATTRIB_VALUE:z,PR_COMMENT:T,PR_DECLARATION:k,PR_KEYWORD:O,PR_LITERAL:C,PR_NOCODE:R,PR_PLAIN:L,PR_PUNCTUATION:_,PR_SOURCE:F,PR_STRING:x,PR_TAG:P,PR_TYPE:E,prettyPrintOne:S?c.prettyPrintOne=Le:f=Le,prettyPrint:d=S?c.prettyPrint=ee:d=ee},et=c.define;typeof et=="function"&&et.amd&&et("google-code-prettify",[],function(){return le})})()},SKnc:function(M,N,n){var v=n("bYtY"),p=n("QuXc"),S=function(f,d,c,o,i,t){this.x=f==null?0:f,this.y=d==null?0:d,this.x2=c==null?1:c,this.y2=o==null?0:o,this.type="linear",this.global=t||!1,p.call(this,i)};S.prototype={constructor:S},v.inherits(S,p);var m=S;M.exports=m},"SKx+":function(M,N,n){var v=n("ProS"),p=v.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}}}),S=p;M.exports=S},SMc4:function(M,N,n){var v=n("bYtY"),p=n("bLfw"),S=n("nkfE"),m=n("ICMv"),g=p.extend({type:"cartesian2dAxis",axis:null,init:function(){g.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){g.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){g.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function f(o,i){return i.type||(i.data?"category":"value")}v.merge(g.prototype,m);var d={offset:0};S("x",g,f,d),S("y",g,f,d);var c=g;M.exports=c},SRve:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};N.default=v},SUKs:function(M,N,n){var v=n("LPTA"),p=v.debugMode,S=function(){};p===1&&(S=console.error);var m=S;M.exports=m},SZEN:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.clientToElement=v;function v(p,S,m){var g=m.getBoundingClientRect(),f={x:0,y:0};return p<g.left?f.x=0:p>=g.right?f.x=g.width-1:f.x=p-g.left,S<g.top?f.y=0:S>=g.bottom?f.y=g.height-1:f.y=S-g.top,f}},Sdc0:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("q1tI"),f=n("rePB"),d=n("ODXe"),c=n("Ff2n"),o=n("TSYQ"),i=n.n(o),t=n("6cGi"),a=n("4IlW"),e=g.forwardRef(function(O,T){var E,C=O.prefixCls,_=C===void 0?"rc-switch":C,L=O.className,P=O.checked,k=O.defaultChecked,F=O.disabled,j=O.loadingIcon,z=O.checkedChildren,R=O.unCheckedChildren,U=O.onClick,B=O.onChange,H=O.onKeyDown,K=Object(c.a)(O,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),V=Object(t.a)(!1,{value:P,defaultValue:k}),W=Object(d.a)(V,2),G=W[0],re=W[1];function ye(Se,Ke){var ue=G;return F||(ue=Se,re(ue),B==null||B(ue,Ke)),ue}function $(Se){Se.which===a.a.LEFT?ye(!1,Se):Se.which===a.a.RIGHT&&ye(!0,Se),H==null||H(Se)}function ve(Se){var Ke=ye(!G,Se);U==null||U(Ke,Se)}var Ce=i()(_,L,(E={},Object(f.a)(E,"".concat(_,"-checked"),G),Object(f.a)(E,"".concat(_,"-disabled"),F),E));return g.createElement("button",Object.assign({},K,{type:"button",role:"switch","aria-checked":G,disabled:F,className:Ce,ref:T,onKeyDown:$,onClick:ve}),j,g.createElement("span",{className:"".concat(_,"-inner")},G?z:R))});e.displayName="Switch";var l=e,r=n("gZBC"),s=n.n(r),u=n("g0mS"),h=n("H84U"),A=n("3Nzz"),y=n("uaoM"),w=function(O,T){var E={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(E[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(O);_<C.length;_++)T.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(O,C[_])&&(E[C[_]]=O[C[_]]);return E},b=g.forwardRef(function(O,T){var E,C=O.prefixCls,_=O.size,L=O.loading,P=O.className,k=P===void 0?"":P,F=O.disabled,j=w(O,["prefixCls","size","loading","className","disabled"]);Object(y.a)("checked"in j||!("value"in j),"Switch","`value` is not a valid prop, do you mean `checked`?");var z=g.useContext(h.b),R=z.getPrefixCls,U=z.direction,B=g.useContext(A.b),H=R("switch",C),K=g.createElement("div",{className:"".concat(H,"-handle")},L&&g.createElement(s.a,{className:"".concat(H,"-loading-icon")})),V=i()(k,(E={},m()(E,"".concat(H,"-small"),(_||B)==="small"),m()(E,"".concat(H,"-loading"),L),m()(E,"".concat(H,"-rtl"),U==="rtl"),E));return g.createElement(u.a,{insertExtraNode:!0},g.createElement(l,p()({},j,{prefixCls:H,className:V,disabled:F||L,ref:T,loadingIcon:K})))});b.__ANT_SWITCH=!0,b.displayName="Switch";var x=N.a=b},SehX:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("2B6p"),m=S.updateCenterAndZoom;v.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(g,f){var d=g.componentType||"series";f.eachComponent({mainType:d,query:g},function(c){var o=c.coordinateSystem;if(o.type!=="geo")return;var i=m(o,g,c.get("scaleLimit"));c.setCenter&&c.setCenter(i.center),c.setZoom&&c.setZoom(i.zoom),d==="series"&&p.each(c.seriesGroup,function(t){t.setCenter(i.center),t.setZoom(i.zoom)})})})},SgGq:function(M,N,n){var v=n("bYtY"),p=n("H6uX"),S=n("YH21"),m=n("pP6R");function g(r){this.pointerChecker,this._zr=r,this._opt={};var s=v.bind,u=s(f,this),h=s(d,this),A=s(c,this),y=s(o,this),w=s(i,this);p.call(this),this.setPointerChecker=function(b){this.pointerChecker=b},this.enable=function(b,x){this.disable(),this._opt=v.defaults(v.clone(x)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),b==null&&(b=!0),(b===!0||b==="move"||b==="pan")&&(r.on("mousedown",u),r.on("mousemove",h),r.on("mouseup",A)),(b===!0||b==="scale"||b==="zoom")&&(r.on("mousewheel",y),r.on("pinch",w))},this.disable=function(){r.off("mousedown",u),r.off("mousemove",h),r.off("mouseup",A),r.off("mousewheel",y),r.off("pinch",w)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}v.mixin(g,p);function f(r){if(S.isMiddleOrRightButtonOnMouseUpDown(r)||r.target&&r.target.draggable)return;var s=r.offsetX,u=r.offsetY;this.pointerChecker&&this.pointerChecker(r,s,u)&&(this._x=s,this._y=u,this._dragging=!0)}function d(r){if(!this._dragging||!e("moveOnMouseMove",r,this._opt)||r.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var s=r.offsetX,u=r.offsetY,h=this._x,A=this._y,y=s-h,w=u-A;this._x=s,this._y=u,this._opt.preventDefaultMouseMove&&S.stop(r.event),a(this,"pan","moveOnMouseMove",r,{dx:y,dy:w,oldX:h,oldY:A,newX:s,newY:u})}function c(r){S.isMiddleOrRightButtonOnMouseUpDown(r)||(this._dragging=!1)}function o(r){var s=e("zoomOnMouseWheel",r,this._opt),u=e("moveOnMouseWheel",r,this._opt),h=r.wheelDelta,A=Math.abs(h),y=r.offsetX,w=r.offsetY;if(h===0||!s&&!u)return;if(s){var b=A>3?1.4:A>1?1.2:1.1,x=h>0?b:1/b;t(this,"zoom","zoomOnMouseWheel",r,{scale:x,originX:y,originY:w})}if(u){var O=Math.abs(h),T=(h>0?1:-1)*(O>3?.4:O>1?.15:.05);t(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:T,originX:y,originY:w})}}function i(r){if(m.isTaken(this._zr,"globalPan"))return;var s=r.pinchScale>1?1.1:1/1.1;t(this,"zoom",null,r,{scale:s,originX:r.pinchX,originY:r.pinchY})}function t(r,s,u,h,A){r.pointerChecker&&r.pointerChecker(h,A.originX,A.originY)&&(S.stop(h.event),a(r,s,u,h,A))}function a(r,s,u,h,A){A.isAvailableBehavior=v.bind(e,null,u,h),r.trigger(s,A)}function e(r,s,u){var h=u[r];return!r||h&&(!v.isString(h)||s.event[h+"Key"])}var l=g;M.exports=l},SgaC:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function v(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function p(g,f){for(var d=0;d<f.length;d++){var c=f[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function S(g,f,d){return f&&p(g.prototype,f),d&&p(g,d),g}var m=function(){function g(){v(this,g),this._subrects=0}return S(g,[{key:"decodeRect",value:function(d,c,o,i,t,a,e){if(this._subrects===0){if(t.rQwait("RRE",4+4))return!1;this._subrects=t.rQshift32();var l=t.rQshiftBytes(4);a.fillRect(d,c,o,i,l)}for(;this._subrects>0;){if(t.rQwait("RRE",4+8))return!1;var r=t.rQshiftBytes(4),s=t.rQshift16(),u=t.rQshift16(),h=t.rQshift16(),A=t.rQshift16();a.fillRect(d+s,c+u,h,A,r),this._subrects--}return!0}}]),g}();N.default=m},Sj0X:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("XuBP")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="DownOutlined";var i=m.forwardRef(o);N.default=i},Sj9i:function(M,N,n){var v=n("QBsz"),p=v.create,S=v.distSquare,m=Math.pow,g=Math.sqrt,f=1e-8,d=1e-4,c=g(3),o=1/3,i=p(),t=p(),a=p();function e(C){return C>-f&&C<f}function l(C){return C>f||C<-f}function r(C,_,L,P,k){var F=1-k;return F*F*(F*C+3*k*_)+k*k*(k*P+3*F*L)}function s(C,_,L,P,k){var F=1-k;return 3*(((_-C)*F+2*(L-_)*k)*F+(P-L)*k*k)}function u(C,_,L,P,k,F){var j=P+3*(_-L)-C,z=3*(L-_*2+C),R=3*(_-C),U=C-k,B=z*z-3*j*R,H=z*R-9*j*U,K=R*R-3*z*U,V=0;if(e(B)&&e(H))if(e(z))F[0]=0;else{var W=-R/z;W>=0&&W<=1&&(F[V++]=W)}else{var G=H*H-4*B*K;if(e(G)){var re=H/B,W=-z/j+re,ye=-re/2;W>=0&&W<=1&&(F[V++]=W),ye>=0&&ye<=1&&(F[V++]=ye)}else if(G>0){var $=g(G),ve=B*z+1.5*j*(-H+$),Ce=B*z+1.5*j*(-H-$);ve<0?ve=-m(-ve,o):ve=m(ve,o),Ce<0?Ce=-m(-Ce,o):Ce=m(Ce,o);var W=(-z-(ve+Ce))/(3*j);W>=0&&W<=1&&(F[V++]=W)}else{var Se=(2*B*z-3*j*H)/(2*g(B*B*B)),Ke=Math.acos(Se)/3,ue=g(B),Le=Math.cos(Ke),W=(-z-2*ue*Le)/(3*j),ye=(-z+ue*(Le+c*Math.sin(Ke)))/(3*j),ee=(-z+ue*(Le-c*Math.sin(Ke)))/(3*j);W>=0&&W<=1&&(F[V++]=W),ye>=0&&ye<=1&&(F[V++]=ye),ee>=0&&ee<=1&&(F[V++]=ee)}}return V}function h(C,_,L,P,k){var F=6*L-12*_+6*C,j=9*_+3*P-3*C-9*L,z=3*_-3*C,R=0;if(e(j)){if(l(F)){var U=-z/F;U>=0&&U<=1&&(k[R++]=U)}}else{var B=F*F-4*j*z;if(e(B))k[0]=-F/(2*j);else if(B>0){var H=g(B),U=(-F+H)/(2*j),K=(-F-H)/(2*j);U>=0&&U<=1&&(k[R++]=U),K>=0&&K<=1&&(k[R++]=K)}}return R}function A(C,_,L,P,k,F){var j=(_-C)*k+C,z=(L-_)*k+_,R=(P-L)*k+L,U=(z-j)*k+j,B=(R-z)*k+z,H=(B-U)*k+U;F[0]=C,F[1]=j,F[2]=U,F[3]=H,F[4]=H,F[5]=B,F[6]=R,F[7]=P}function y(C,_,L,P,k,F,j,z,R,U,B){var H,K=.005,V=Infinity,W,G,re,ye;i[0]=R,i[1]=U;for(var $=0;$<1;$+=.05)t[0]=r(C,L,k,j,$),t[1]=r(_,P,F,z,$),re=S(i,t),re<V&&(H=$,V=re);V=Infinity;for(var ve=0;ve<32&&!(K<d);ve++)W=H-K,G=H+K,t[0]=r(C,L,k,j,W),t[1]=r(_,P,F,z,W),re=S(t,i),W>=0&&re<V?(H=W,V=re):(a[0]=r(C,L,k,j,G),a[1]=r(_,P,F,z,G),ye=S(a,i),G<=1&&ye<V?(H=G,V=ye):K*=.5);return B&&(B[0]=r(C,L,k,j,H),B[1]=r(_,P,F,z,H)),g(V)}function w(C,_,L,P){var k=1-P;return k*(k*C+2*P*_)+P*P*L}function b(C,_,L,P){return 2*((1-P)*(_-C)+P*(L-_))}function x(C,_,L,P,k){var F=C-2*_+L,j=2*(_-C),z=C-P,R=0;if(e(F)){if(l(j)){var U=-z/j;U>=0&&U<=1&&(k[R++]=U)}}else{var B=j*j-4*F*z;if(e(B)){var U=-j/(2*F);U>=0&&U<=1&&(k[R++]=U)}else if(B>0){var H=g(B),U=(-j+H)/(2*F),K=(-j-H)/(2*F);U>=0&&U<=1&&(k[R++]=U),K>=0&&K<=1&&(k[R++]=K)}}return R}function O(C,_,L){var P=C+L-2*_;return P===0?.5:(C-_)/P}function T(C,_,L,P,k){var F=(_-C)*P+C,j=(L-_)*P+_,z=(j-F)*P+F;k[0]=C,k[1]=F,k[2]=z,k[3]=z,k[4]=j,k[5]=L}function E(C,_,L,P,k,F,j,z,R){var U,B=.005,H=Infinity;i[0]=j,i[1]=z;for(var K=0;K<1;K+=.05){t[0]=w(C,L,k,K),t[1]=w(_,P,F,K);var V=S(i,t);V<H&&(U=K,H=V)}H=Infinity;for(var W=0;W<32&&!(B<d);W++){var G=U-B,re=U+B;t[0]=w(C,L,k,G),t[1]=w(_,P,F,G);var V=S(t,i);if(G>=0&&V<H)U=G,H=V;else{a[0]=w(C,L,k,re),a[1]=w(_,P,F,re);var ye=S(a,i);re<=1&&ye<H?(U=re,H=ye):B*=.5}}return R&&(R[0]=w(C,L,k,U),R[1]=w(_,P,F,U)),g(H)}N.cubicAt=r,N.cubicDerivativeAt=s,N.cubicRootAt=u,N.cubicExtrema=h,N.cubicSubdivide=A,N.cubicProjectPoint=y,N.quadraticAt=w,N.quadraticDerivativeAt=b,N.quadraticRootAt=x,N.quadraticExtremum=O,N.quadraticSubdivide=T,N.quadraticProjectPoint=E},Sp2Z:function(M,N,n){var v=n("3LNs"),p=n("/y7N"),S=n("AVZG"),m=n("Znkb"),g=v.extend({makeElOption:function(i,t,a,e,l){var r=a.axis,s=r.grid,u=e.get("type"),h=f(s,r).getOtherAxis(r).getGlobalExtent(),A=r.toGlobalCoord(r.dataToCoord(t,!0));if(u&&u!=="none"){var y=p.buildElStyle(e),w=d[u](r,A,h);w.style=y,i.graphicKey=w.type,i.pointer=w}var b=S.layout(s.model,a);p.buildCartesianSingleLabelElOption(t,i,b,a,e,l)},getHandleTransform:function(i,t,a){var e=S.layout(t.axis.grid.model,t,{labelInside:!1});return e.labelMargin=a.get("handle.margin"),{position:p.getTransformedPosition(t.axis,i,e),rotation:e.rotation+(e.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(i,t,a,e){var l=a.axis,r=l.grid,s=l.getGlobalExtent(!0),u=f(r,l).getOtherAxis(l).getGlobalExtent(),h=l.dim==="x"?0:1,A=i.position;A[h]+=t[h],A[h]=Math.min(s[1],A[h]),A[h]=Math.max(s[0],A[h]);var y=(u[1]+u[0])/2,w=[y,y];w[h]=A[h];var b=[{verticalAlign:"middle"},{align:"center"}];return{position:A,rotation:i.rotation,cursorPoint:w,tooltipOption:b[h]}}});function f(i,t){var a={};return a[t.dim+"AxisIndex"]=t.index,i.getCartesian(a)}var d={line:function(i,t,a){var e=p.makeLineShape([t,a[0]],[t,a[1]],c(i));return{type:"Line",subPixelOptimize:!0,shape:e}},shadow:function(i,t,a){var e=Math.max(1,i.getBandWidth()),l=a[1]-a[0];return{type:"Rect",shape:p.makeRectShape([t-e/2,a[0]],[e,l],c(i))}}};function c(i){return i.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",g);var o=g;M.exports=o},Sq3C:function(M,N,n){var v=n("sKgW"),p=n("zoYe"),S=n("wy8a"),m=n("quyA"),g=n("Z1HP"),f=n("Em2t"),d=Math.ceil;function c(o,i){i=i===void 0?" ":p(i);var t=i.length;if(t<2)return t?v(i,o):i;var a=v(i,d(o/g(i)));return m(i)?S(f(a),0,o).join(""):a.slice(0,o)}M.exports=c},SqI9:function(M,N,n){var v=n("y+Vt"),p=n("iXp4"),S=v.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:p(v.prototype.brush),buildPath:function(g,f){var d=f.cx,c=f.cy,o=Math.max(f.r0||0,0),i=Math.max(f.r,0),t=f.startAngle,a=f.endAngle,e=f.clockwise,l=Math.cos(t),r=Math.sin(t);g.moveTo(l*o+d,r*o+c),g.lineTo(l*i+d,r*i+c),g.arc(d,c,i,t,a,!e),g.lineTo(Math.cos(a)*o+d,Math.sin(a)*o+c),o!==0&&g.arc(d,c,o,a,t,e),g.closePath()}});M.exports=S},SrGk:function(M,N,n){var v=n("hydK"),p=v.createElement,S=n("bYtY"),m=n("y+Vt"),g=n("Dagg"),f=n("dqUG"),d=n("P47w"),c=d.path,o=d.image,i=d.text,t="0",a="1";function e(r,s,u,h,A){this._zrId=r,this._svgRoot=s,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=h,this._domName=A||"_dom",this.nextId=0}e.prototype.createElement=p,e.prototype.getDefs=function(r){var s=this._svgRoot,u=this._svgRoot.getElementsByTagName("defs");return u.length===0?r?(u=s.insertBefore(this.createElement("defs"),s.firstChild),u.contains||(u.contains=function(h){var A=u.children;if(!A)return!1;for(var y=A.length-1;y>=0;--y)if(A[y]===h)return!0;return!1}),u):null:u[0]},e.prototype.update=function(r,s){if(!r)return;var u=this.getDefs(!1);if(r[this._domName]&&u.contains(r[this._domName]))typeof s=="function"&&s(r);else{var h=this.add(r);h&&(r[this._domName]=h)}},e.prototype.addDom=function(r){var s=this.getDefs(!0);s.appendChild(r)},e.prototype.removeDom=function(r){var s=this.getDefs(!1);s&&r[this._domName]&&(s.removeChild(r[this._domName]),r[this._domName]=null)},e.prototype.getDoms=function(){var r=this.getDefs(!1);if(!r)return[];var s=[];return S.each(this._tagNames,function(u){var h=r.getElementsByTagName(u);s=s.concat([].slice.call(h))}),s},e.prototype.markAllUnused=function(){var r=this.getDoms(),s=this;S.each(r,function(u){u[s._markLabel]=t})},e.prototype.markUsed=function(r){r&&(r[this._markLabel]=a)},e.prototype.removeUnused=function(){var r=this.getDefs(!1);if(!r)return;var s=this.getDoms(),u=this;S.each(s,function(h){h[u._markLabel]!==a&&r.removeChild(h)})},e.prototype.getSvgProxy=function(r){return r instanceof m?c:r instanceof g?o:r instanceof f?i:c},e.prototype.getTextSvgElement=function(r){return r.__textSvgEl},e.prototype.getSvgElement=function(r){return r.__svgEl};var l=e;M.exports=l},Swgg:function(M,N,n){var v=n("fc+c"),p=v.extend({type:"dataZoom.select"});M.exports=p},Sxd8:function(M,N,n){var v=n("ZCgT");function p(S){var m=v(S),g=m%1;return m===m?g?m-g:m:0}M.exports=p},T1rO:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("zdCA"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},T4UG:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("ItGF"),g=n("7aKB"),f=g.formatTime,d=g.encodeHTML,c=g.addCommas,o=g.getTooltipMarker,i=n("4NO4"),t=n("bLfw"),a=n("5Hur"),e=n("OKJ2"),l=n("+TT/"),r=l.getLayoutParams,s=l.mergeLayoutParam,u=n("9H2F"),h=u.createTask,A=n("D5nY"),y=A.prepareSource,w=A.getSource,b=n("KxfA"),x=b.retrieveRawValue,O=i.makeInner(),T=t.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(R,U,B,H){this.seriesIndex=this.componentIndex,this.dataTask=h({count:_,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(R,B),y(this);var K=this.getInitialData(R,B);k(K,this),this.dataTask.context.data=K,O(this).dataBeforeProcessed=K,E(this)},mergeDefaultAndTheme:function(R,U){var B=this.layoutMode,H=B?r(R):{},K=this.subType;t.hasClass(K)&&(K+="Series"),S.merge(R,U.getTheme().get(this.subType)),S.merge(R,this.getDefaultOption()),i.defaultEmphasis(R,"label",["show"]),this.fillDataTextStyle(R.data),B&&s(R,H,B)},mergeOption:function(R,U){R=S.merge(this.option,R,!0),this.fillDataTextStyle(R.data);var B=this.layoutMode;B&&s(this.option,R,B),y(this);var H=this.getInitialData(R,U);k(H,this),this.dataTask.dirty(),this.dataTask.context.data=H,O(this).dataBeforeProcessed=H,E(this)},fillDataTextStyle:function(R){if(R&&!S.isTypedArray(R))for(var U=["show"],B=0;B<R.length;B++)R[B]&&R[B].label&&i.defaultEmphasis(R[B],"label",U)},getInitialData:function(){},appendData:function(R){var U=this.getRawData();U.appendData(R.data)},getData:function(R){var U=j(this);if(U){var B=U.context.data;return R==null?B:B.getLinkedData(R)}else return O(this).data},setData:function(R){var U=j(this);if(U){var B=U.context;B.data!==R&&U.modifyOutputEnd&&U.setOutputEnd(R.count()),B.outputData=R,U!==this.dataTask&&(B.data=R)}O(this).data=R},getSource:function(){return w(this)},getRawData:function(){return O(this).dataBeforeProcessed},getBaseAxis:function(){var R=this.coordinateSystem;return R&&R.getBaseAxis&&R.getBaseAxis()},formatTooltip:function(R,U,B,H){var K=this;H=H||"html";var V=H==="html"?"<br/>":`
`,W=H==="richText",G={},re=0;function ye(Te){var Be=S.reduce(Te,function(Je,Et,Ze){var Ne=ve.getDimensionInfo(Ze);return Je|=Ne&&Ne.tooltip!==!1&&Ne.displayName!=null},0),De=[];Ce.length?S.each(Ce,function(Je){ae(x(ve,R,Je),Je)}):S.each(Te,ae);function ae(Je,Et){var Ze=ve.getDimensionInfo(Et);if(!Ze||Ze.otherDims.tooltip===!1)return;var Ne=Ze.type,It="sub"+K.seriesIndex+"at"+re,Xe=o({color:Le,type:"subItem",renderMode:H,markerId:It}),Ot=typeof Xe=="string"?Xe:Xe.content,Bt=(Be?Ot+d(Ze.displayName||"-")+": ":"")+d(Ne==="ordinal"?Je+"":Ne==="time"?U?"":f("yyyy/MM/dd hh:mm:ss",Je):c(Je));Bt&&De.push(Bt),W&&(G[It]=Le,++re)}var fe=Be?W?`
`:"<br/>":"",Oe=fe+De.join(fe||", ");return{renderMode:H,content:Oe,style:G}}function $(Te){return{renderMode:H,content:d(c(Te)),style:G}}var ve=this.getData(),Ce=ve.mapDimension("defaultedTooltip",!0),Se=Ce.length,Ke=this.getRawValue(R),ue=S.isArray(Ke),Le=ve.getItemVisual(R,"color");S.isObject(Le)&&Le.colorStops&&(Le=(Le.colorStops[0]||{}).color),Le=Le||"transparent";var ee=Se>1||ue&&!Se?ye(Ke):$(Se?x(ve,R,Ce[0]):ue?Ke[0]:Ke),le=ee.content,et=K.seriesIndex+"at"+re,Re=o({color:Le,type:"item",renderMode:H,markerId:et});G[et]=Le,++re;var Ae=ve.getName(R),oe=this.name;i.isNameSpecified(this)||(oe=""),oe=oe?d(oe)+(U?": ":V):"";var ce=typeof Re=="string"?Re:Re.content,be=U?ce+oe+le:oe+ce+(Ae?d(Ae)+": "+le:le);return{html:be,markers:G}},isAnimationEnabled:function(){if(m.node)return!1;var R=this.getShallow("animation");return R&&(this.getData().count()>this.getShallow("animationThreshold")&&(R=!1)),R},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(R,U,B){var H=this.ecModel,K=a.getColorFromPalette.call(this,R,U,B);return K||(K=H.getColorFromPalette(R,U,B)),K},coordDimToDataDim:function(R){return this.getRawData().mapDimension(R,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});S.mixin(T,e),S.mixin(T,a);function E(R){var U=R.name;i.isNameSpecified(R)||(R.name=C(R)||U)}function C(R){var U=R.getRawData(),B=U.mapDimension("seriesName",!0),H=[];return S.each(B,function(K){var V=U.getDimensionInfo(K);V.displayName&&H.push(V.displayName)}),H.join(" ")}function _(R){return R.model.getRawData().count()}function L(R){var U=R.model;return U.setData(U.getRawData().cloneShallow()),P}function P(R,U){U.outputData&&R.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function k(R,U){S.each(R.CHANGABLE_METHODS,function(B){R.wrapMethod(B,S.curry(F,U))})}function F(R){var U=j(R);U&&U.setOutputEnd(this.count())}function j(R){var U=(R.ecModel||{}).scheduler,B=U&&U.getPipeline(R.uid);if(B){var H=B.currentTask;if(H){var K=H.agentStubMap;K&&(H=K.get(R.uid))}return H}}var z=T;M.exports=z},T6xi:function(M,N,n){var v=n("YgsL"),p=n("nCxF");function S(m,g,f){var d=g.points,c=g.smooth;if(d&&d.length>=2){if(c&&c!=="spline"){var o=p(d,c,f,g.smoothConstraint);m.moveTo(d[0][0],d[0][1]);for(var i=d.length,t=0;t<(f?i:i-1);t++){var a=o[t*2],e=o[t*2+1],l=d[(t+1)%i];m.bezierCurveTo(a[0],a[1],e[0],e[1],l[0],l[1])}}else{c==="spline"&&(d=v(d,f)),m.moveTo(d[0][0],d[0][1]);for(var t=1,r=d.length;t<r;t++)m.lineTo(d[t][0],d[t][1])}f&&m.closePath()}}N.buildPath=S},TIY9:function(M,N,n){var v=n("bYtY"),p=v.each,S=n("vafp"),m=n("4NO4"),g=m.makeInner,f=n("Mgri"),d=n("F5Ls"),c=n("a9QJ"),o=n("p/La"),i=g(),t={load:function(e,l,r){var s=i(l).parsed;if(s)return s;var u=l.specialAreas||{},h=l.geoJSON,A;try{A=h?S(h,r):[]}catch(y){throw new Error(`Invalid geoJson format
`+y.message)}return f(e,A),p(A,function(y){var w=y.name;d(e,y),c(e,y),o(e,y);var b=u[w];b&&y.transformTo(b.left,b.top,b.width,b.height)}),i(l).parsed={regions:A,boundingRect:a(A)}}};function a(e){for(var l,r=0;r<e.length;r++){var s=e[r].getBoundingRect();l=l||s.clone(),l.union(s)}return l}M.exports=t},TJmX:function(M,N,n){var v=n("zM3Q"),p=["itemStyle","borderColor"],S=["itemStyle","borderColor0"],m=["itemStyle","color"],g=["itemStyle","color0"],f={seriesType:"candlestick",plan:v(),performRawSeries:!0,reset:function(d,c){var o=d.getData();if(o.setVisual({legendSymbol:"roundRect",colorP:a(1,d),colorN:a(-1,d),borderColorP:e(1,d),borderColorN:e(-1,d)}),c.isSeriesFiltered(d))return;var i=d.pipelineContext.large;return!i&&{progress:t};function t(l,r){for(var s;(s=l.next())!=null;){var u=r.getItemModel(s),h=r.getItemLayout(s).sign;r.setItemVisual(s,{color:a(h,u),borderColor:e(h,u)})}}function a(l,r){return r.get(l>0?m:g)}function e(l,r){return r.get(l>0?p:S)}}};M.exports=f},TNol:function(M,N,n){"use strict";n.d(N,"b",function(){return g});var v=n("q1tI"),p=n.n(v),S=n("MNnm"),m=Object(S.a)()?v.useLayoutEffect:v.useEffect;N.a=m;var g=function(d,c){var o=v.useRef(!0);m(function(){if(!o.current)return d()},c),m(function(){return o.current=!1,function(){o.current=!0}},[])}},TWL2:function(M,N,n){var v=n("IwbS"),p=n("bYtY"),S=n("6Ic6");function m(o,i){v.Group.call(this);var t=new v.Polygon,a=new v.Polyline,e=new v.Text;this.add(t),this.add(a),this.add(e),this.highDownOnUpdate=function(l,r){r==="emphasis"?(a.ignore=a.hoverIgnore,e.ignore=e.hoverIgnore):(a.ignore=a.normalIgnore,e.ignore=e.normalIgnore)},this.updateData(o,i,!0)}var g=m.prototype,f=["itemStyle","opacity"];g.updateData=function(o,i,t){var a=this.childAt(0),e=o.hostModel,l=o.getItemModel(i),r=o.getItemLayout(i),s=o.getItemModel(i).get(f);s=s==null?1:s,a.useStyle({}),t?(a.setShape({points:r.points}),a.setStyle({opacity:0}),v.initProps(a,{style:{opacity:s}},e,i)):v.updateProps(a,{style:{opacity:s},shape:{points:r.points}},e,i);var u=l.getModel("itemStyle"),h=o.getItemVisual(i,"color");a.setStyle(p.defaults({lineJoin:"round",fill:h},u.getItemStyle(["opacity"]))),a.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(o,i),v.setHoverStyle(this)},g._updateLabel=function(o,i){var t=this.childAt(1),a=this.childAt(2),e=o.hostModel,l=o.getItemModel(i),r=o.getItemLayout(i),s=r.label,u=o.getItemVisual(i,"color");v.updateProps(t,{shape:{points:s.linePoints||s.linePoints}},e,i),v.updateProps(a,{style:{x:s.x,y:s.y}},e,i),a.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var h=l.getModel("label"),A=l.getModel("emphasis.label"),y=l.getModel("labelLine"),w=l.getModel("emphasis.labelLine"),u=o.getItemVisual(i,"color");v.setLabelStyle(a.style,a.hoverStyle={},h,A,{labelFetcher:o.hostModel,labelDataIndex:i,defaultText:o.getName(i),autoColor:u,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),a.ignore=a.normalIgnore=!h.get("show"),a.hoverIgnore=!A.get("show"),t.ignore=t.normalIgnore=!y.get("show"),t.hoverIgnore=!w.get("show"),t.setStyle({stroke:u}),t.setStyle(y.getModel("lineStyle").getLineStyle()),t.hoverStyle=w.getModel("lineStyle").getLineStyle()},p.inherits(m,v.Group);var d=S.extend({type:"funnel",render:function(o,i,t){var a=o.getData(),e=this._data,l=this.group;a.diff(e).add(function(r){var s=new m(a,r);a.setItemGraphicEl(r,s),l.add(s)}).update(function(r,s){var u=e.getItemGraphicEl(s);u.updateData(a,r),l.add(u),a.setItemGraphicEl(r,u)}).remove(function(r){var s=e.getItemGraphicEl(r);l.remove(s)}).execute(),this._data=a},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=d;M.exports=c},TYVI:function(M,N,n){var v=n("5GtS"),p=n("T4UG"),S=p.extend({type:"series.gauge",getInitialData:function(g,f){return v(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),m=S;M.exports=m},Tghj:function(M,N,n){(function(v){var p;typeof window!="undefined"?p=window.__DEV__:typeof v!="undefined"&&(p=v.__DEV__),typeof p=="undefined"&&(p=!0);var S=p;N.__DEV__=S}).call(this,n("yLpj"))},ThAp:function(M,N,n){var v=n("bYtY"),p=n("5GtS"),S=n("T4UG"),m=n("7aKB"),g=m.encodeHTML,f=m.addCommas,d=n("cCMj"),c=n("KxfA"),o=c.retrieveRawAttr,i=n("W4dC"),t=n("D5nY"),a=t.makeSeriesEncodeForNameBased,e=S.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(r){for(var s=p(this,{coordDimensions:["value"],encodeDefaulter:v.curry(a,this)}),u=s.mapDimension("value"),h=v.createHashMap(),A=[],y=[],w=0,b=s.count();w<b;w++){var x=s.getName(w);h.set(x,!0),A.push({name:x,value:s.get(u,w),selected:o(s,w,"selected")})}var O=i.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return v.each(O.regions,function(T){var E=T.name;h.get(E)||(A.push({name:E}),y.push(E))}),this.updateSelectedMap(A),s.appendValues([],y),s},getHostGeoModel:function(){var r=this.option.geoIndex;return r!=null?this.dependentModels.geo[r]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(r){var s=this.getData();return s.get(s.mapDimension("value"),r)},getRegionModel:function(r){var s=this.getData();return s.getItemModel(s.indexOfName(r))},formatTooltip:function(r){for(var s=this.getData(),u=f(this.getRawValue(r)),h=s.getName(r),A=this.seriesGroup,y=[],w=0;w<A.length;w++){var b=A[w].originalData.indexOfName(h),x=s.mapDimension("value");isNaN(A[w].originalData.get(x,b))||y.push(g(A[w].name))}return y.join(", ")+"<br />"+g(h+" : "+u)},getTooltipPosition:function(r){if(r!=null){var s=this.getData().getName(r),u=this.coordinateSystem,h=u.getRegion(s);return h&&u.dataToPoint(h.center)}},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},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"}});v.mixin(e,d);var l=e;M.exports=l},TkdX:function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,g=4;function f(e,l,r){p.Group.call(this);var s=new p.Sector({z2:m});s.seriesIndex=l.seriesIndex;var u=new p.Text({z2:g,silent:e.getModel("label").get("silent")});this.add(s),this.add(u),this.updateData(!0,e,"normal",l,r);function h(){u.ignore=u.hoverIgnore}function A(){u.ignore=u.normalIgnore}this.on("emphasis",h).on("normal",A).on("mouseover",h).on("mouseout",A)}var d=f.prototype;d.updateData=function(e,l,r,s,u){this.node=l,l.piece=this,s=s||this._seriesModel,u=u||this._ecModel;var h=this.childAt(0);h.dataIndex=l.dataIndex;var A=l.getModel(),y=l.getLayout(),w=v.extend({},y);w.label=null;var b=o(l,s,u);a(l,s,b);var x=A.getModel("itemStyle").getItemStyle(),O;if(r==="normal")O=x;else{var T=A.getModel(r+".itemStyle").getItemStyle();O=v.merge(T,x)}O=v.defaults({lineJoin:"bevel",fill:O.fill||b},O),e?(h.setShape(w),h.shape.r=y.r0,p.updateProps(h,{shape:{r:y.r}},s,l.dataIndex),h.useStyle(O)):typeof O.fill=="object"&&O.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(p.updateProps(h,{shape:w},s),h.useStyle(O)):p.updateProps(h,{shape:w,style:O},s),this._updateLabel(s,b,r);var E=A.getShallow("cursor");if(E&&h.attr("cursor",E),e){var C=s.getShallow("highlightPolicy");this._initEvents(h,l,s,C)}this._seriesModel=s||this._seriesModel,this._ecModel=u||this._ecModel,p.setHoverStyle(this)},d.onEmphasis=function(e){var l=this;this.node.hostTree.root.eachNode(function(r){r.piece&&(l.node===r?r.piece.updateData(!1,r,"emphasis"):t(r,l.node,e)?r.piece.childAt(0).trigger("highlight"):e!==S.NONE&&r.piece.childAt(0).trigger("downplay"))})},d.onNormal=function(){this.node.hostTree.root.eachNode(function(e){e.piece&&e.piece.updateData(!1,e,"normal")})},d.onHighlight=function(){this.updateData(!1,this.node,"highlight")},d.onDownplay=function(){this.updateData(!1,this.node,"downplay")},d._updateLabel=function(e,l,r){var s=this.node.getModel(),u=s.getModel("label"),h=r==="normal"||r==="emphasis"?u:s.getModel(r+".label"),A=s.getModel("emphasis.label"),y=v.retrieve(e.getFormattedLabel(this.node.dataIndex,r,null,null,"label"),this.node.name);U("show")===!1&&(y="");var w=this.node.getLayout(),b=h.get("minAngle");b==null&&(b=u.get("minAngle")),b=b/180*Math.PI;var x=w.endAngle-w.startAngle;b!=null&&Math.abs(x)<b&&(y="");var O=this.childAt(1);p.setLabelStyle(O.style,O.hoverStyle||{},u,A,{defaultText:h.getShallow("show")?y:null,autoColor:l,useInsideStyle:!0});var T=(w.startAngle+w.endAngle)/2,E=Math.cos(T),C=Math.sin(T),_,L=U("position"),P=U("distance")||0,k=U("align");L==="outside"?(_=w.r+P,k=T>Math.PI/2?"right":"left"):!k||k==="center"?(_=(w.r+w.r0)/2,k="center"):k==="left"?(_=w.r0+P,T>Math.PI/2&&(k="right")):k==="right"&&(_=w.r-P,T>Math.PI/2&&(k="left")),O.attr("style",{text:y,textAlign:k,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var F=_*E+w.cx,j=_*C+w.cy;O.attr("position",[F,j]);var z=U("rotate"),R=0;z==="radial"?(R=-T,R<-Math.PI/2&&(R+=Math.PI)):z==="tangential"?(R=Math.PI/2-T,R>Math.PI/2?R-=Math.PI:R<-Math.PI/2&&(R+=Math.PI)):typeof z=="number"&&(R=z*Math.PI/180),O.attr("rotation",R);function U(B){var H=h.get(B);return H==null?u.get(B):H}},d._initEvents=function(e,l,r,s){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,h=function(){u.onEmphasis(s)},A=function(){u.onNormal()},y=function(){u.onDownplay()},w=function(){u.onHighlight()};r.isAnimationEnabled()&&e.on("mouseover",h).on("mouseout",A).on("emphasis",h).on("normal",A).on("downplay",y).on("highlight",w)},v.inherits(f,p.Group);var c=f;function o(e,l,r){var s=e.getVisual("color"),u=e.getVisual("visualMeta");(!u||u.length===0)&&(s=null);var h=e.getModel("itemStyle").get("color");if(h)return h;if(s)return s;if(e.depth===0)return r.option.color[0];var A=r.option.color.length;return h=r.option.color[i(e)%A],h}function i(e){for(var l=e;l.depth>1;)l=l.parentNode;var r=e.getAncestors()[0];return v.indexOf(r.children,l)}function t(e,l,r){return r===S.NONE?!1:r===S.SELF?e===l:r===S.ANCESTOR?e===l||e.isAncestorOf(l):e===l||e.isDescendantOf(l)}function a(e,l,r){var s=l.getData();s.setItemVisual(e.dataIndex,"color",r)}M.exports=c},Tp9H:function(M,N,n){var v=n("ItGF"),p=n("Kagy"),S=n("IUWy"),m=p.toolbox.saveAsImage;function g(c){this.model=c}g.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:m.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:m.lang.slice()},g.prototype.unusable=!v.canvasSupported;var f=g.prototype;f.onclick=function(c,o){var i=this.model,t=i.get("name")||c.get("title.0.text")||"echarts",a=o.getZr().painter.getType()==="svg",e=a?"svg":i.get("type",!0)||"png",l=o.getConnectedDataURL({type:e,backgroundColor:i.get("backgroundColor",!0)||c.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(typeof MouseEvent=="function"&&!v.browser.ie&&!v.browser.edge){var r=document.createElement("a");r.download=t+"."+e,r.target="_blank",r.href=l;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var u=atob(l.split(",")[1]),h=u.length,A=new Uint8Array(h);h--;)A[h]=u.charCodeAt(h);var y=new Blob([A]);window.navigator.msSaveOrOpenBlob(y,t+"."+e)}else{var w=i.get("lang"),b='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',x=window.open();x.document.write(b)}},S.register("saveAsImage",g);var d=g;M.exports=d},"U/Mo":function(M,N){function n(p){var S=p.coordinateSystem;if(S.type!=="view")return 1;var m=p.option.nodeScaleRatio,g=S.scale,f=g&&g[0]||1,d=S.getZoom(),c=(d-1)*m+1;return c/f}function v(p){var S=p.getVisual("symbolSize");return S instanceof Array&&(S=(S[0]+S[1])/2),+S}N.getNodeGlobalScale=n,N.getSymbolSize=v},UADf:function(M,N,n){},UOVi:function(M,N,n){var v=n("bYtY"),p=n("7aKB"),S=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function g(o){return v.indexOf(m,o)>=0}function f(o,i){o=o.slice();var t=v.map(o,p.capitalFirst);i=(i||[]).slice();var a=v.map(i,p.capitalFirst);return function(e,l){v.each(o,function(r,s){for(var u={name:r,capital:t[s]},h=0;h<i.length;h++)u[i[h]]=r+a[h];e.call(l,u)})}}var d=f(S,["axisIndex","axis","index","id"]);function c(o,i,t){return function(r){var s={nodes:[],records:{}};if(i(function(A){s.records[A.name]={}}),!r)return s;l(r,s);var u;do u=!1,o(h);while(u);function h(A){!a(A,s)&&e(A,s)&&(l(A,s),u=!0)}return s};function a(r,s){return v.indexOf(s.nodes,r)>=0}function e(r,s){var u=!1;return i(function(h){v.each(t(r,h)||[],function(A){s.records[h.name][A]&&(u=!0)})}),u}function l(r,s){s.nodes.push(r),i(function(u){v.each(t(r,u)||[],function(h){s.records[u.name][h]=!0})})}}N.isCoordSupported=g,N.createNameEach=f,N.eachAxisDim=d,N.createLinkedNodesFinder=c},Uc92:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};N.default=v},UnoB:function(M,N,n){var v=n("bYtY"),p=n("OELB");function S(f,d){f.eachSeriesByType("themeRiver",function(c){var o=c.getData(),i=c.coordinateSystem,t={},a=i.getRect();t.rect=a;var e=c.get("boundaryGap"),l=i.getAxis();if(t.boundaryGap=e,l.orient==="horizontal"){e[0]=p.parsePercent(e[0],a.height),e[1]=p.parsePercent(e[1],a.height);var r=a.height-e[0]-e[1];m(o,c,r)}else{e[0]=p.parsePercent(e[0],a.width),e[1]=p.parsePercent(e[1],a.width);var s=a.width-e[0]-e[1];m(o,c,s)}o.setLayout("layoutInfo",t)})}function m(f,d,c){if(!f.count())return;for(var o=d.coordinateSystem,i=d.getLayerSeries(),t=f.mapDimension("single"),a=f.mapDimension("value"),e=v.map(i,function(b){return v.map(b.indices,function(x){var O=o.dataToPoint(f.get(t,x));return O[1]=f.get(a,x),O})}),l=g(e),r=l.y0,s=c/l.max,u=i.length,h=i[0].indices.length,A,y=0;y<h;++y){A=r[y]*s,f.setItemLayout(i[0].indices[y],{layerIndex:0,x:e[0][y][0],y0:A,y:e[0][y][1]*s});for(var w=1;w<u;++w)A+=e[w-1][y][1]*s,f.setItemLayout(i[w].indices[y],{layerIndex:w,x:e[w][y][0],y0:A,y:e[w][y][1]*s})}}function g(f){for(var d=f.length,c=f[0].length,o=[],i=[],t=0,a,e={},l=0;l<c;++l){for(var r=0,a=0;r<d;++r)a+=f[r][l][1];a>t&&(t=a),o.push(a)}for(var s=0;s<c;++s)i[s]=(t-o[s])/2;t=0;for(var u=0;u<c;++u){var h=o[u]+i[u];h>t&&(t=h)}return e.y0=i,e.max=t,e}M.exports=S},Urep:function(M,N,n){},V7ic:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("digP")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="FileTwoTone";var i=m.forwardRef(o);N.default=i},VFCP:function(M,N,n){n("dBmv"),n("KamJ")},VNzZ:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("7W2i"),i=n.n(o),t=n("LQ03"),a=n.n(t),e=n("cDf5"),l=n.n(e),r=n("q1tI"),s=n("TSYQ"),u=n.n(s),h=n("BGR+"),A=n("VTBJ"),y=n("1OyB"),w=n("vuIU"),b=n("Ji7U"),x=n("LK+K"),O=n("m+aA"),T=n("Zm9Q"),E=n("Kwbf"),C=n("c+Xe"),_=n("bdgK"),L="rc-observer-key",P=function(Se){Object(b.a)(ue,Se);var Ke=Object(x.a)(ue);function ue(){var Le;return Object(y.a)(this,ue),Le=Ke.apply(this,arguments),Le.resizeObserver=null,Le.childNode=null,Le.currentElement=null,Le.state={width:0,height:0,offsetHeight:0,offsetWidth:0},Le.onResize=function(ee){var le=Le.props.onResize,et=ee[0].target,Re=et.getBoundingClientRect(),Ae=Re.width,oe=Re.height,ce=et.offsetWidth,be=et.offsetHeight,Te=Math.floor(Ae),Be=Math.floor(oe);if(Le.state.width!==Te||Le.state.height!==Be||Le.state.offsetWidth!==ce||Le.state.offsetHeight!==be){var De={width:Te,height:Be,offsetWidth:ce,offsetHeight:be};Le.setState(De),le&&Promise.resolve().then(function(){le(Object(A.a)(Object(A.a)({},De),{},{offsetWidth:ce,offsetHeight:be}))})}},Le.setChildNode=function(ee){Le.childNode=ee},Le}return Object(w.a)(ue,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var ee=this.props.disabled;if(ee){this.destroyObserver();return}var le=Object(O.a)(this.childNode||this),et=le!==this.currentElement;et&&(this.destroyObserver(),this.currentElement=le),!this.resizeObserver&&le&&(this.resizeObserver=new _.default(this.onResize),this.resizeObserver.observe(le))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var ee=this.props.children,le=Object(T.a)(ee);if(le.length>1)Object(E.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(le.length===0)return Object(E.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var et=le[0];if(r.isValidElement(et)&&Object(C.c)(et)){var Re=et.ref;le[0]=r.cloneElement(et,{ref:Object(C.a)(Re,this.setChildNode)})}return le.length===1?le[0]:le.map(function(Ae,oe){return!r.isValidElement(Ae)||"key"in Ae&&Ae.key!==null?Ae:r.cloneElement(Ae,{key:"".concat(L,"-").concat(oe)})})}}]),ue}(r.Component);P.displayName="ResizeObserver";var k=P,F=n("H84U"),j=n("PEeC"),z=n("zT1h");function R(Se){return Se!==window?Se.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function U(Se,Ke,ue){return ue!==void 0&&Ke.top>Se.top-ue?ue+Ke.top:void 0}function B(Se,Ke,ue){if(ue!==void 0&&Ke.bottom<Se.bottom+ue){var Le=window.innerHeight-Ke.bottom;return ue+Le}return}var H=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],K=[];function V(){return K}function W(Se,Ke){if(!Se)return;var ue=K.find(function(Le){return Le.target===Se});ue?ue.affixList.push(Ke):(ue={target:Se,affixList:[Ke],eventHandlers:{}},K.push(ue),H.forEach(function(Le){ue.eventHandlers[Le]=Object(z.a)(Se,Le,function(){ue.affixList.forEach(function(ee){ee.lazyUpdatePosition()})})}))}function G(Se){var Ke=K.find(function(ue){var Le=ue.affixList.some(function(ee){return ee===Se});return Le&&(ue.affixList=ue.affixList.filter(function(ee){return ee!==Se})),Le});Ke&&Ke.affixList.length===0&&(K=K.filter(function(ue){return ue!==Ke}),H.forEach(function(ue){var Le=Ke.eventHandlers[ue];Le&&Le.remove&&Le.remove()}))}var re=function(Se,Ke,ue,Le){var ee=arguments.length,le=ee<3?Ke:Le===null?Le=Object.getOwnPropertyDescriptor(Ke,ue):Le,et;if((typeof Reflect=="undefined"?"undefined":l()(Reflect))==="object"&&typeof Reflect.decorate=="function")le=Reflect.decorate(Se,Ke,ue,Le);else for(var Re=Se.length-1;Re>=0;Re--)(et=Se[Re])&&(le=(ee<3?et(le):ee>3?et(Ke,ue,le):et(Ke,ue))||le);return ee>3&&le&&Object.defineProperty(Ke,ue,le),le};function ye(){return typeof window!="undefined"?window:null}var $;(function(Se){Se[Se.None=0]="None",Se[Se.Prepare=1]="Prepare"})($||($={}));var ve=function(Se){i()(ue,Se);var Ke=a()(ue);function ue(){var Le;return f()(this,ue),Le=Ke.apply(this,arguments),Le.state={status:$.None,lastAffix:!1,prevTarget:null},Le.getOffsetTop=function(){var ee=Le.props.offsetBottom,le=Le.props.offsetTop;return ee===void 0&&le===void 0&&(le=0),le},Le.getOffsetBottom=function(){return Le.props.offsetBottom},Le.savePlaceholderNode=function(ee){Le.placeholderNode=ee},Le.saveFixedNode=function(ee){Le.fixedNode=ee},Le.measure=function(){var ee=Le.state,le=ee.status,et=ee.lastAffix,Re=Le.props.onChange,Ae=Le.getTargetFunc();if(le!==$.Prepare||!Le.fixedNode||!Le.placeholderNode||!Ae)return;var oe=Le.getOffsetTop(),ce=Le.getOffsetBottom(),be=Ae();if(!be)return;var Te={status:$.None},Be=R(be),De=R(Le.placeholderNode),ae=U(De,Be,oe),fe=B(De,Be,ce);ae!==void 0?(Te.affixStyle={position:"fixed",top:ae,width:De.width,height:De.height},Te.placeholderStyle={width:De.width,height:De.height}):fe!==void 0&&(Te.affixStyle={position:"fixed",bottom:fe,width:De.width,height:De.height},Te.placeholderStyle={width:De.width,height:De.height}),Te.lastAffix=!!Te.affixStyle,Re&&et!==Te.lastAffix&&Re(Te.lastAffix),Le.setState(Te)},Le.prepareMeasure=function(){if(Le.setState({status:$.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var ee},Le.render=function(){var ee=Le.context.getPrefixCls,le=Le.state,et=le.affixStyle,Re=le.placeholderStyle,Ae=Le.props,oe=Ae.prefixCls,ce=Ae.children,be=u()(m()({},ee("affix",oe),et)),Te=Object(h.default)(Le.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return r.createElement(k,{onResize:function(){Le.updatePosition()}},r.createElement("div",p()({},Te,{ref:Le.savePlaceholderNode}),et&&r.createElement("div",{style:Re,"aria-hidden":"true"}),r.createElement("div",{className:be,ref:Le.saveFixedNode,style:et},r.createElement(k,{onResize:function(){Le.updatePosition()}},ce))))},Le}return c()(ue,[{key:"getTargetFunc",value:function(){var ee=this.context.getTargetContainer,le=this.props.target;return le!==void 0?le:ee||ye}},{key:"componentDidMount",value:function(){var ee=this,le=this.getTargetFunc();le&&(this.timeout=setTimeout(function(){W(le(),ee),ee.updatePosition()}))}},{key:"componentDidUpdate",value:function(ee){var le=this.state.prevTarget,et=this.getTargetFunc(),Re=null;et&&(Re=et()||null),le!==Re&&(G(this),Re&&(W(Re,this),this.updatePosition()),this.setState({prevTarget:Re})),(ee.offsetTop!==this.props.offsetTop||ee.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),G(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var ee=this.getTargetFunc(),le=this.state.affixStyle;if(ee&&le){var et=this.getOffsetTop(),Re=this.getOffsetBottom(),Ae=ee();if(Ae&&this.placeholderNode){var oe=R(Ae),ce=R(this.placeholderNode),be=U(ce,oe,et),Te=B(ce,oe,Re);if(be!==void 0&&le.top===be||Te!==void 0&&le.bottom===Te)return}}this.prepareMeasure()}}]),ue}(r.Component);ve.contextType=F.b,re([Object(j.b)()],ve.prototype,"updatePosition",null),re([Object(j.b)()],ve.prototype,"lazyUpdatePosition",null);var Ce=N.a=ve},VPsl:function(M,N){function n(v){v.eachSeriesByType("map",function(p){var S=p.get("color"),m=p.getModel("itemStyle"),g=m.get("areaColor"),f=m.get("color")||S[p.seriesIndex%S.length];p.getData().setVisual({areaColor:g,color:f})})}M.exports=n},VR9l:function(M,N,n){var v=n("KCsZ"),p=v([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),S={getItemStyle:function(m,g){var f=p(this,m,g),d=this.getBorderLineDash();return d&&(f.lineDash=d),f},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};M.exports=S},VSLf:function(M,N,n){n("I+Bx"),n("F0hE"),n("bBKM")},VSMT:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.decodeUTF8=v,N.encodeUTF8=p;function v(S){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(S))}catch(g){if(g instanceof URIError&&m)return S;throw g}}function p(S){return unescape(encodeURIComponent(S))}},VXYp:function(M,N,n){var v=n("bYtY"),p=n("SgGq"),S=n("iLNv"),m="\0_ec_dataZoom_roams";function g(e,l){var r=c(e),s=l.dataZoomId,u=l.coordId;v.each(r,function(y,w){var b=y.dataZoomInfos;b[s]&&v.indexOf(l.allCoordIds,u)<0&&(delete b[s],y.count--)}),i(r);var h=r[u];h||(h=r[u]={coordId:u,dataZoomInfos:{},count:0},h.controller=o(e,h),h.dispatchAction=v.curry(t,e)),!h.dataZoomInfos[s]&&h.count++,h.dataZoomInfos[s]=l;var A=a(h.dataZoomInfos);h.controller.enable(A.controlType,A.opt),h.controller.setPointerChecker(l.containsPoint),S.createOrUpdate(h,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function f(e,l){var r=c(e);v.each(r,function(s){s.controller.dispose();var u=s.dataZoomInfos;u[l]&&(delete u[l],s.count--)}),i(r)}function d(e){return e.type+"\0_"+e.id}function c(e){var l=e.getZr();return l[m]||(l[m]={})}function o(e,l){var r=new p(e.getZr());return v.each(["pan","zoom","scrollMove"],function(s){r.on(s,function(u){var h=[];v.each(l.dataZoomInfos,function(A){if(!u.isAvailableBehavior(A.dataZoomModel.option))return;var y=(A.getRange||{})[s],w=y&&y(l.controller,u);!A.dataZoomModel.get("disabled",!0)&&w&&h.push({dataZoomId:A.dataZoomId,start:w[0],end:w[1]})}),h.length&&l.dispatchAction(h)})}),r}function i(e){v.each(e,function(l,r){l.count||(l.controller.dispose(),delete e[r])})}function t(e,l){e.dispatchAction({type:"dataZoom",batch:l})}function a(e){var l,r="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return v.each(e,function(h){var A=h.dataZoomModel,y=A.get("disabled",!0)?!1:A.get("zoomLock",!0)?"move":!0;s[r+y]>s[r+l]&&(l=y),u&=A.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}N.register=g,N.unregister=f,N.generateCoordId=d},VaxA:function(M,N,n){var v=n("bYtY");function p(f,d,c){if(f&&v.indexOf(d,f.type)>=0){var o=c.getData().tree.root,i=f.targetNode;if(typeof i=="string"&&(i=o.getNodeById(i)),i&&o.contains(i))return{node:i};var t=f.targetNodeId;if(t!=null&&(i=o.getNodeById(t)))return{node:i}}}function S(f){for(var d=[];f;)f=f.parentNode,f&&d.push(f);return d.reverse()}function m(f,d){var c=S(f);return v.indexOf(c,d)>=0}function g(f,d){for(var c=[];f;){var o=f.dataIndex;c.push({name:f.name,dataIndex:o,value:d.getRawValue(o)}),f=f.parentNode}return c.reverse(),c}N.retrieveTargetInfo=p,N.getPathToRoot=S,N.aboveViewRoot=m,N.wrapTreePathInfo=g},Vi4m:function(M,N,n){var v=n("bYtY");function p(m){m!=null&&v.extend(this,m),this.otherDims={}}var S=p;M.exports=S},Vl3Y:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("J4zp"),m=n.n(S),g=n("lSNA"),f=n.n(g),d=n("q1tI"),c=n("TSYQ"),o=n.n(c),i=n("85Yc"),t=n("H84U"),a=n("BGR+"),e=d.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=d.createContext({updateItemErrors:function(){}}),r=function(wt){var Vt=Object(a.default)(wt,["prefixCls"]);return d.createElement(i.FormProvider,Vt)};function s(q){return typeof q=="object"&&q!=null&&q.nodeType===1}function u(q,wt){return(!wt||q!=="hidden")&&q!=="visible"&&q!=="clip"}function h(q,wt){if(q.clientHeight<q.scrollHeight||q.clientWidth<q.scrollWidth){var Vt=getComputedStyle(q,null);return u(Vt.overflowY,wt)||u(Vt.overflowX,wt)||function(lt){var or=function(vr){if(!vr.ownerDocument||!vr.ownerDocument.defaultView)return null;try{return vr.ownerDocument.defaultView.frameElement}catch(An){return null}}(lt);return!!or&&(or.clientHeight<lt.scrollHeight||or.clientWidth<lt.scrollWidth)}(q)}return!1}function A(q,wt,Vt,lt,or,vr,An,hr){return vr<q&&An>wt||vr>q&&An<wt?0:vr<=q&&hr<=Vt||An>=wt&&hr>=Vt?vr-q-lt:An>wt&&hr<Vt||vr<q&&hr>Vt?An-wt+or:0}var y=function(wt,Vt){var lt=window,or=Vt.scrollMode,vr=Vt.block,An=Vt.inline,hr=Vt.boundary,xr=Vt.skipOverflowHiddenElements,nr=typeof hr=="function"?hr:function(Ye){return Ye!==hr};if(!s(wt))throw new TypeError("Invalid target");for(var Yt,gt,zr=document.scrollingElement||document.documentElement,pn=[],Nn=wt;s(Nn)&&nr(Nn);){if((Nn=(gt=(Yt=Nn).parentElement)==null?Yt.getRootNode().host||null:gt)===zr){pn.push(Nn);break}Nn!=null&&Nn===document.body&&h(Nn)&&!h(document.documentElement)||Nn!=null&&h(Nn,xr)&&pn.push(Nn)}for(var Vn=lt.visualViewport?lt.visualViewport.width:innerWidth,xi=lt.visualViewport?lt.visualViewport.height:innerHeight,bn=window.scrollX||pageXOffset,Pn=window.scrollY||pageYOffset,jt=wt.getBoundingClientRect(),At=jt.height,xe=jt.width,we=jt.top,Ee=jt.right,Ge=jt.bottom,nt=jt.left,st=vr==="start"||vr==="nearest"?we:vr==="end"?Ge:we+At/2,Mt=An==="center"?nt+xe/2:An==="end"?Ee:nt,wr=[],Pr=0;Pr<pn.length;Pr++){var qr=pn[Pr],xt=qr.getBoundingClientRect(),rt=xt.height,it=xt.width,$t=xt.top,Dt=xt.right,St=xt.bottom,Ut=xt.left;if(or==="if-needed"&&we>=0&&nt>=0&&Ge<=xi&&Ee<=Vn&&we>=$t&&Ge<=St&&nt>=Ut&&Ee<=Dt)return wr;var vt=getComputedStyle(qr),Pt=parseInt(vt.borderLeftWidth,10),br=parseInt(vt.borderTopWidth,10),ur=parseInt(vt.borderRightWidth,10),fr=parseInt(vt.borderBottomWidth,10),Jr=0,Zr=0,Fn="offsetWidth"in qr?qr.offsetWidth-qr.clientWidth-Pt-ur:0,Rn="offsetHeight"in qr?qr.offsetHeight-qr.clientHeight-br-fr:0,ei="offsetWidth"in qr?qr.offsetWidth===0?0:it/qr.offsetWidth:0,di="offsetHeight"in qr?qr.offsetHeight===0?0:rt/qr.offsetHeight:0;if(zr===qr)Jr=vr==="start"?st:vr==="end"?st-xi:vr==="nearest"?A(Pn,Pn+xi,xi,br,fr,Pn+st,Pn+st+At,At):st-xi/2,Zr=An==="start"?Mt:An==="center"?Mt-Vn/2:An==="end"?Mt-Vn:A(bn,bn+Vn,Vn,Pt,ur,bn+Mt,bn+Mt+xe,xe),Jr=Math.max(0,Jr+Pn),Zr=Math.max(0,Zr+bn);else{Jr=vr==="start"?st-$t-br:vr==="end"?st-St+fr+Rn:vr==="nearest"?A($t,St,rt,br,fr+Rn,st,st+At,At):st-($t+rt/2)+Rn/2,Zr=An==="start"?Mt-Ut-Pt:An==="center"?Mt-(Ut+it/2)+Fn/2:An==="end"?Mt-Dt+ur+Fn:A(Ut,Dt,it,Pt,ur+Fn,Mt,Mt+xe,xe);var gi=qr.scrollLeft,Ii=qr.scrollTop;st+=Ii-(Jr=Math.max(0,Math.min(Ii+Jr/di,qr.scrollHeight-rt/di+Rn))),Mt+=gi-(Zr=Math.max(0,Math.min(gi+Zr/ei,qr.scrollWidth-it/ei+Fn)))}wr.push({el:qr,top:Jr,left:Zr})}return wr};function w(q){return q===Object(q)&&Object.keys(q).length!==0}function b(q,wt){wt===void 0&&(wt="auto");var Vt="scrollBehavior"in document.body.style;q.forEach(function(lt){var or=lt.el,vr=lt.top,An=lt.left;or.scroll&&Vt?or.scroll({top:vr,left:An,behavior:wt}):(or.scrollTop=vr,or.scrollLeft=An)})}function x(q){return q===!1?{block:"end",inline:"nearest"}:w(q)?q:{block:"start",inline:"nearest"}}function O(q,wt){var Vt=q.isConnected||q.ownerDocument.documentElement.contains(q);if(w(wt)&&typeof wt.behavior=="function")return wt.behavior(Vt?y(q,wt):[]);if(!Vt)return;var lt=x(wt);return b(y(q,lt),lt.behavior)}var T=O;function E(q){return q===void 0||q===!1?[]:Array.isArray(q)?q:[q]}function C(q,wt){if(!q.length)return;var Vt=q.join("_");return wt?"".concat(wt,"_").concat(Vt):Vt}function _(q){var wt=E(q);return wt.join("_")}function L(q){var wt=Object(i.useForm)(),Vt=m()(wt,1),lt=Vt[0],or=Object(d.useRef)({}),vr=Object(d.useMemo)(function(){return q||p()(p()({},lt),{__INTERNAL__:{itemRef:function(hr){return function(xr){var nr=_(hr);xr?or.current[nr]=xr:delete or.current[nr]}}},scrollToField:function(hr){var xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nr=E(hr),Yt=C(nr,vr.__INTERNAL__.name),gt=Yt?document.getElementById(Yt):null;gt&&T(gt,p()({scrollMode:"if-needed",block:"nearest"},xr))},getFieldInstance:function(hr){var xr=_(hr);return or.current[xr]}})},[q,lt]);return[vr]}var P=n("3Nzz"),k=function(q,wt){var Vt={};for(var lt in q)Object.prototype.hasOwnProperty.call(q,lt)&&wt.indexOf(lt)<0&&(Vt[lt]=q[lt]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,lt=Object.getOwnPropertySymbols(q);or<lt.length;or++)wt.indexOf(lt[or])<0&&Object.prototype.propertyIsEnumerable.call(q,lt[or])&&(Vt[lt[or]]=q[lt[or]]);return Vt},F=function(wt,Vt){var lt,or=d.useContext(P.b),vr=d.useContext(t.b),An=vr.getPrefixCls,hr=vr.direction,xr=wt.name,nr=wt.prefixCls,Yt=wt.className,gt=Yt===void 0?"":Yt,zr=wt.size,pn=zr===void 0?or:zr,Nn=wt.form,Vn=wt.colon,xi=wt.labelAlign,bn=wt.labelCol,Pn=wt.wrapperCol,jt=wt.hideRequiredMark,At=wt.layout,xe=At===void 0?"horizontal":At,we=wt.scrollToFirstError,Ee=wt.requiredMark,Ge=wt.onFinishFailed,nt=k(wt,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),st=Object(d.useMemo)(function(){return Ee!==void 0?Ee:!jt},[jt,Ee]),Mt=An("form",nr),wr=o()(Mt,(lt={},f()(lt,"".concat(Mt,"-").concat(xe),!0),f()(lt,"".concat(Mt,"-hide-required-mark"),st===!1),f()(lt,"".concat(Mt,"-rtl"),hr==="rtl"),f()(lt,"".concat(Mt,"-").concat(pn),pn),lt),gt),Pr=L(Nn),qr=m()(Pr,1),xt=qr[0],rt=xt.__INTERNAL__;rt.name=xr;var it=Object(d.useMemo)(function(){return{name:xr,labelAlign:xi,labelCol:bn,wrapperCol:Pn,vertical:xe==="vertical",colon:Vn,requiredMark:st,itemRef:rt.itemRef}},[xr,xi,bn,Pn,xe,Vn,st]);d.useImperativeHandle(Vt,function(){return xt});var $t=function(St){Ge&&Ge(St),we&&St.errorFields.length&&xt.scrollToField(St.errorFields[0].name)};return d.createElement(P.a,{size:pn},d.createElement(e.Provider,{value:it},d.createElement(i.default,p()({id:xr},nt,{onFinishFailed:$t,form:xt,className:wr}))))},j=d.forwardRef(F),z=j,R=n("cDf5"),U=n.n(R),B=n("RIqP"),H=n.n(B),K=n("Y+p1"),V=n.n(K),W=n("KW7l"),G=n("c+Xe"),re=n("qrJ5"),ye=n("CWQg"),$=n("uaoM"),ve=n("/kpp"),Ce=n("YMnH"),Se=n("ZvpZ"),Ke=function(wt){var Vt=wt.prefixCls,lt=wt.label,or=wt.htmlFor,vr=wt.labelCol,An=wt.labelAlign,hr=wt.colon,xr=wt.required,nr=wt.requiredMark,Yt=Object(Ce.b)("Form"),gt=m()(Yt,1),zr=gt[0];return lt?d.createElement(e.Consumer,{key:"label"},function(pn){var Nn,Vn=pn.vertical,xi=pn.labelAlign,bn=pn.labelCol,Pn=pn.colon,jt,At=vr||bn||{},xe=An||xi,we="".concat(Vt,"-item-label"),Ee=o()(we,xe==="left"&&"".concat(we,"-left"),At.className),Ge=lt,nt=hr===!0||Pn!==!1&&hr!==!1,st=nt&&!Vn;st&&typeof lt=="string"&&lt.trim()!==""&&(Ge=lt.replace(/[:|]\s*$/,"")),nr==="optional"&&!xr&&(Ge=d.createElement(d.Fragment,null,Ge,d.createElement("span",{className:"".concat(Vt,"-item-optional")},(zr==null?void 0:zr.optional)||((jt=Se.a.Form)===null||jt===void 0?void 0:jt.optional))));var Mt=o()((Nn={},f()(Nn,"".concat(Vt,"-item-required"),xr),f()(Nn,"".concat(Vt,"-item-required-mark-optional"),nr==="optional"),f()(Nn,"".concat(Vt,"-item-no-colon"),!nt),Nn));return d.createElement(ve.a,p()({},At,{className:Ee}),d.createElement("label",{htmlFor:or,className:Mt,title:typeof lt=="string"?lt:""},Ge))}):null},ue=Ke,Le=n("gZBC"),ee=n.n(Le),le=n("kbBi"),et=n.n(le),Re=n("J84W"),Ae=n.n(Re),oe=n("sKbD"),ce=n.n(oe),be=n("YrtM"),Te=n("HTfv"),Be=n("hkKa");function De(q,wt,Vt){var lt=d.useRef({errors:q,visible:!!q.length}),or=Object(Be.a)(),vr=function(){var hr=lt.current.visible,xr=!!q.length,nr=lt.current.errors;lt.current.errors=q,lt.current.visible=xr,hr!==xr?wt(xr):(nr.length!==q.length||nr.some(function(Yt,gt){return Yt!==q[gt]}))&&or()};return d.useEffect(function(){if(!Vt){var An=setTimeout(vr,10);return function(){return clearTimeout(An)}}},[q]),Vt&&vr(),[lt.current.visible,lt.current.errors]}var ae={success:Ae.a,warning:ce.a,error:et.a,validating:ee.a},fe=function(wt){var Vt=wt.prefixCls,lt=wt.wrapperCol,or=wt.children,vr=wt.help,An=wt.errors,hr=wt.onDomErrorVisibleChange,xr=wt.hasFeedback,nr=wt.validateStatus,Yt=wt.extra,gt=Object(Be.a)(),zr="".concat(Vt,"-item"),pn=d.useContext(e),Nn=lt||pn.wrapperCol||{},Vn=o()("".concat(zr,"-control"),Nn.className),xi=De(An,function(Ge){Ge&&Promise.resolve().then(function(){hr(!0)}),gt()},!!vr),bn=m()(xi,2),Pn=bn[0],jt=bn[1];d.useEffect(function(){return function(){hr(!1)}},[]);var At=Object(be.a)(function(){return jt},Pn,function(Ge,nt){return nt}),xe=nr&&ae[nr],we=xr&&xe?d.createElement("span",{className:"".concat(zr,"-children-icon")},d.createElement(xe,null)):null,Ee=p()({},pn);return delete Ee.labelCol,delete Ee.wrapperCol,d.createElement(e.Provider,{value:Ee},d.createElement(ve.a,p()({},Nn,{className:Vn}),d.createElement("div",{className:"".concat(zr,"-control-input")},d.createElement("div",{className:"".concat(zr,"-control-input-content")},or),we),d.createElement(Te.default,{motionDeadline:500,visible:Pn,motionName:"show-help",onLeaveEnd:function(){hr(!1)},motionAppear:!0,removeOnLeave:!0},function(Ge){var nt=Ge.className;return d.createElement("div",{className:o()("".concat(zr,"-explain"),nt),key:"help"},At.map(function(st,Mt){return d.createElement("div",{key:Mt,role:"alert"},st)}))}),Yt&&d.createElement("div",{className:"".concat(zr,"-extra")},Yt)))},Oe=fe,Je=n("0n0R"),Et=n("xEkU"),Ze=n.n(Et);function Ne(q){var wt=d.useState(q),Vt=m()(wt,2),lt=Vt[0],or=Vt[1],vr=Object(d.useRef)(null),An=Object(d.useRef)([]),hr=Object(d.useRef)(!1);d.useEffect(function(){return function(){hr.current=!0,Ze.a.cancel(vr.current)}},[]);function xr(nr){if(hr.current)return;vr.current===null&&(An.current=[],vr.current=Ze()(function(){vr.current=null,or(function(Yt){var gt=Yt;return An.current.forEach(function(zr){gt=zr(gt)}),gt})})),An.current.push(nr)}return[lt,xr]}function It(){var q=d.useContext(e),wt=q.itemRef,Vt=d.useRef({});function lt(or,vr){var An=vr&&U()(vr)==="object"&&vr.ref,hr=or.join("_");return(Vt.current.name!==hr||Vt.current.originRef!==An)&&(Vt.current.name=hr,Vt.current.originRef=An,Vt.current.ref=Object(G.a)(wt(or),An)),Vt.current.ref}return lt}var Xe=function(q,wt){var Vt={};for(var lt in q)Object.prototype.hasOwnProperty.call(q,lt)&&wt.indexOf(lt)<0&&(Vt[lt]=q[lt]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,lt=Object.getOwnPropertySymbols(q);or<lt.length;or++)wt.indexOf(lt[or])<0&&Object.prototype.propertyIsEnumerable.call(q,lt[or])&&(Vt[lt[or]]=q[lt[or]]);return Vt},Ot=Object(ye.a)("success","warning","error","validating",""),Bt=d.memo(function(q){var wt=q.children;return wt},function(q,wt){return q.value===wt.value&&q.update===wt.update});function kt(q){return q===null&&Object($.a)(!1,"Form.Item","`null` is passed as `name` property"),!(q==null)}function _t(q){var wt=q.name,Vt=q.fieldKey,lt=q.noStyle,or=q.dependencies,vr=q.prefixCls,An=q.style,hr=q.className,xr=q.shouldUpdate,nr=q.hasFeedback,Yt=q.help,gt=q.rules,zr=q.validateStatus,pn=q.children,Nn=q.required,Vn=q.label,xi=q.trigger,bn=xi===void 0?"onChange":xi,Pn=q.validateTrigger,jt=q.hidden,At=Xe(q,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),xe=d.useRef(!1),we=d.useContext(t.b),Ee=we.getPrefixCls,Ge=d.useContext(e),nt=Ge.name,st=Ge.requiredMark,Mt=d.useContext(l),wr=Mt.updateItemErrors,Pr=d.useState(!!Yt),qr=m()(Pr,2),xt=qr[0],rt=qr[1],it=d.useRef(zr),$t=Ne({}),Dt=m()($t,2),St=Dt[0],Ut=Dt[1],vt=d.useContext(W.b),Pt=vt.validateTrigger,br=Pn!==void 0?Pn:Pt;function ur(Ye){xe.current||rt(Ye)}var fr=kt(wt),Jr=d.useRef([]);d.useEffect(function(){return function(){xe.current=!0,wr(Jr.current.join("__SPLIT__"),[])}},[]);var Zr=Ee("form",vr),Fn=lt?wr:function(Ye,ge){Ut(function(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return V()(Ie[Ye],ge)?Ie:p()(p()({},Ie),f()({},Ye,ge))})},Rn=It();function ei(Ye,ge,Ie,Fe){var Ve,We;if(lt&&!jt)return Ye;var Qe=[];Object.keys(St).forEach(function(Rr){Qe=[].concat(H()(Qe),H()(St[Rr]||[]))});var yt;Yt!=null?yt=E(Yt):(yt=Ie?Ie.errors:[],yt=[].concat(H()(yt),H()(Qe)));var ot="";zr!==void 0?ot=zr:(Ie==null?void 0:Ie.validating)?ot="validating":((We=Ie==null?void 0:Ie.errors)===null||We===void 0?void 0:We.length)||Qe.length?ot="error":(Ie==null?void 0:Ie.touched)&&(ot="success"),xt&&Yt&&(it.current=ot);var Zt=(Ve={},f()(Ve,"".concat(Zr,"-item"),!0),f()(Ve,"".concat(Zr,"-item-with-help"),xt||Yt),f()(Ve,"".concat(hr),!!hr),f()(Ve,"".concat(Zr,"-item-has-feedback"),ot&&nr),f()(Ve,"".concat(Zr,"-item-has-success"),ot==="success"),f()(Ve,"".concat(Zr,"-item-has-warning"),ot==="warning"),f()(Ve,"".concat(Zr,"-item-has-error"),ot==="error"),f()(Ve,"".concat(Zr,"-item-has-error-leave"),!Yt&&xt&&it.current==="error"),f()(Ve,"".concat(Zr,"-item-is-validating"),ot==="validating"),f()(Ve,"".concat(Zr,"-item-hidden"),jt),Ve);return d.createElement(re.a,p()({className:o()(Zt),style:An,key:"row"},Object(a.default)(At,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),d.createElement(ue,p()({htmlFor:ge,required:Fe,requiredMark:st},q,{prefixCls:Zr})),d.createElement(Oe,p()({},q,Ie,{errors:yt,prefixCls:Zr,onDomErrorVisibleChange:ur,validateStatus:ot}),d.createElement(l.Provider,{value:{updateItemErrors:Fn}},Ye)))}var di=typeof pn=="function",gi=d.useRef(0);if(gi.current+=1,!fr&&!di&&!or)return ei(pn);var Ii={};return typeof Vn=="string"&&(Ii.label=Vn),d.createElement(i.Field,p()({},q,{messageVariables:Ii,trigger:bn,validateTrigger:br,onReset:function(){ur(!1)}}),function(Ye,ge,Ie){var Fe=ge.errors,Ve=E(wt).length&&ge?ge.name:[],We=C(Ve,nt);if(lt){if(Jr.current=H()(Ve),Vt){var Qe=Array.isArray(Vt)?Vt:[Vt];Jr.current=[].concat(H()(Ve.slice(0,-1)),H()(Qe))}wr(Jr.current.join("__SPLIT__"),Fe)}var yt=Nn!==void 0?Nn:!!(gt&&gt.some(function(Gr){if(Gr&&U()(Gr)==="object"&&Gr.required)return!0;if(typeof Gr=="function"){var er=Gr(Ie);return er&&er.required}return!1})),ot=p()({},Ye),Zt=null;if(Object($.a)(!(xr&&or),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(pn)&&fr)Object($.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Zt=pn;else if(di&&(!(xr||or)||fr))Object($.a)(!!(xr||or),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object($.a)(!fr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(or&&!di&&!fr)Object($.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Je.b)(pn)){Object($.a)(pn.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Rr=p()(p()({},pn.props),ot);Rr.id||(Rr.id=We),Object(G.c)(pn)&&(Rr.ref=Rn(Ve,pn));var Lr=new Set([].concat(H()(E(bn)),H()(E(br))));Lr.forEach(function(Gr){Rr[Gr]=function(){for(var er,On,yr,gn,tn,Fr=arguments.length,Xn=new Array(Fr),hi=0;hi<Fr;hi++)Xn[hi]=arguments[hi];(yr=ot[Gr])===null||yr===void 0||(er=yr).call.apply(er,[ot].concat(Xn)),(tn=(gn=pn.props)[Gr])===null||tn===void 0||(On=tn).call.apply(On,[gn].concat(Xn))}}),Zt=d.createElement(Bt,{value:ot[q.valuePropName||"value"],update:gi.current},Object(Je.a)(pn,Rr))}else di&&(xr||or)&&!fr?Zt=pn(Ie):(Object($.a)(!Ve.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),Zt=pn);return ei(Zt,We,ge,yt)})}var Ft=_t,ke=function(q,wt){var Vt={};for(var lt in q)Object.prototype.hasOwnProperty.call(q,lt)&&wt.indexOf(lt)<0&&(Vt[lt]=q[lt]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,lt=Object.getOwnPropertySymbols(q);or<lt.length;or++)wt.indexOf(lt[or])<0&&Object.prototype.propertyIsEnumerable.call(q,lt[or])&&(Vt[lt[or]]=q[lt[or]]);return Vt},te=function(wt){var Vt=wt.children,lt=ke(wt,["children"]);return Object($.a)(!!lt.name,"Form.List","Miss `name` prop."),d.createElement(i.List,lt,function(or,vr){return Vt(or.map(function(An){return p()(p()({},An),{fieldKey:An.key})}),vr)})},Q=te,qe=z;qe.Item=Ft,qe.List=Q,qe.useForm=L,qe.Provider=r,qe.create=function(){Object($.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var je=N.a=qe},VpOo:function(M,N){function n(v,p){var S=p.x,m=p.y,g=p.width,f=p.height,d=p.r,c,o,i,t;g<0&&(S=S+g,g=-g),f<0&&(m=m+f,f=-f),typeof d=="number"?c=o=i=t=d:d instanceof Array?d.length===1?c=o=i=t=d[0]:d.length===2?(c=i=d[0],o=t=d[1]):d.length===3?(c=d[0],o=t=d[1],i=d[2]):(c=d[0],o=d[1],i=d[2],t=d[3]):c=o=i=t=0;var a;c+o>g&&(a=c+o,c*=g/a,o*=g/a),i+t>g&&(a=i+t,i*=g/a,t*=g/a),o+i>f&&(a=o+i,o*=f/a,i*=f/a),c+t>f&&(a=c+t,c*=f/a,t*=f/a),v.moveTo(S+c,m),v.lineTo(S+g-o,m),o!==0&&v.arc(S+g-o,m+o,o,-Math.PI/2,0),v.lineTo(S+g,m+f-i),i!==0&&v.arc(S+g-i,m+f-i,i,0,Math.PI/2),v.lineTo(S+t,m+f),t!==0&&v.arc(S+t,m+f-t,t,Math.PI/2,Math.PI),v.lineTo(S,m+c),c!==0&&v.arc(S+c,m+c,c,Math.PI,Math.PI*1.5)}N.buildPath=n},"VrN/":function(M,N,n){(function(v,p){M.exports=p()})(this,function(){"use strict";var v=navigator.userAgent,p=navigator.platform,S=/gecko\/\d/i.test(v),m=/MSIE \d/.test(v),g=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(v),f=/Edge\/(\d+)/.exec(v),d=m||g||f,c=d&&(m?document.documentMode||6:+(f||g)[1]),o=!f&&/WebKit\//.test(v),i=o&&/Qt\/\d+\.\d+/.test(v),t=!f&&/Chrome\//.test(v),a=/Opera\//.test(v),e=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(v),r=/PhantomJS/.test(v),s=!f&&/AppleWebKit/.test(v)&&/Mobile\/\w+/.test(v),u=/Android/.test(v),h=s||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(v),A=s||/Mac/.test(p),y=/\bCrOS\b/.test(v),w=/win/i.test(p),b=a&&v.match(/Version\/(\d*\.\d*)/);b&&(b=Number(b[1])),b&&b>=15&&(a=!1,o=!0);var x=A&&(i||a&&(b==null||b<12.11)),O=S||d&&c>=9;function T(I){return new RegExp("(^|\\s)"+I+"(?:$|\\s)\\s*")}var E=function(D,X){var J=D.className,ne=T(X).exec(J);if(ne){var Pe=J.slice(ne.index+ne[0].length);D.className=J.slice(0,ne.index)+(Pe?ne[1]+Pe:"")}};function C(I){for(var D=I.childNodes.length;D>0;--D)I.removeChild(I.firstChild);return I}function _(I,D){return C(I).appendChild(D)}function L(I,D,X,J){var ne=document.createElement(I);if(X&&(ne.className=X),J&&(ne.style.cssText=J),typeof D=="string")ne.appendChild(document.createTextNode(D));else if(D)for(var Pe=0;Pe<D.length;++Pe)ne.appendChild(D[Pe]);return ne}function P(I,D,X,J){var ne=L(I,D,X,J);return ne.setAttribute("role","presentation"),ne}var k;document.createRange?k=function(D,X,J,ne){var Pe=document.createRange();return Pe.setEnd(ne||D,J),Pe.setStart(D,X),Pe}:k=function(D,X,J){var ne=document.body.createTextRange();try{ne.moveToElementText(D.parentNode)}catch(Pe){return ne}return ne.collapse(!0),ne.moveEnd("character",J),ne.moveStart("character",X),ne};function F(I,D){if(D.nodeType==3&&(D=D.parentNode),I.contains)return I.contains(D);do if(D.nodeType==11&&(D=D.host),D==I)return!0;while(D=D.parentNode)}function j(){var I;try{I=document.activeElement}catch(D){I=document.body||null}for(;I&&I.shadowRoot&&I.shadowRoot.activeElement;)I=I.shadowRoot.activeElement;return I}function z(I,D){var X=I.className;T(D).test(X)||(I.className+=(X?" ":"")+D)}function R(I,D){for(var X=I.split(" "),J=0;J<X.length;J++)X[J]&&!T(X[J]).test(D)&&(D+=" "+X[J]);return D}var U=function(D){D.select()};s?U=function(D){D.selectionStart=0,D.selectionEnd=D.value.length}:d&&(U=function(D){try{D.select()}catch(X){}});function B(I){var D=Array.prototype.slice.call(arguments,1);return function(){return I.apply(null,D)}}function H(I,D,X){D||(D={});for(var J in I)I.hasOwnProperty(J)&&(X!==!1||!D.hasOwnProperty(J))&&(D[J]=I[J]);return D}function K(I,D,X,J,ne){D==null&&(D=I.search(/[^\s\u00a0]/),D==-1&&(D=I.length));for(var Pe=J||0,ct=ne||0;;){var Ht=I.indexOf(" ",Pe);if(Ht<0||Ht>=D)return ct+(D-Pe);ct+=Ht-Pe,ct+=X-ct%X,Pe=Ht+1}}var V=function(){this.id=null,this.f=null,this.time=0,this.handler=B(this.onTimeout,this)};V.prototype.onTimeout=function(I){I.id=0,I.time<=+new Date?I.f():setTimeout(I.handler,I.time-+new Date)},V.prototype.set=function(I,D){this.f=D;var X=+new Date+I;(!this.id||X<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,I),this.time=X)};function W(I,D){for(var X=0;X<I.length;++X)if(I[X]==D)return X;return-1}var G=50,re={toString:function(){return"CodeMirror.Pass"}},ye={scroll:!1},$={origin:"*mouse"},ve={origin:"+move"};function Ce(I,D,X){for(var J=0,ne=0;;){var Pe=I.indexOf(" ",J);Pe==-1&&(Pe=I.length);var ct=Pe-J;if(Pe==I.length||ne+ct>=D)return J+Math.min(ct,D-ne);if(ne+=Pe-J,ne+=X-ne%X,J=Pe+1,ne>=D)return J}}var Se=[""];function Ke(I){for(;Se.length<=I;)Se.push(ue(Se)+" ");return Se[I]}function ue(I){return I[I.length-1]}function Le(I,D){for(var X=[],J=0;J<I.length;J++)X[J]=D(I[J],J);return X}function ee(I,D,X){for(var J=0,ne=X(D);J<I.length&&X(I[J])<=ne;)J++;I.splice(J,0,D)}function le(){}function et(I,D){var X;return Object.create?X=Object.create(I):(le.prototype=I,X=new le),D&&H(D,X),X}var Re=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Ae(I){return/\w/.test(I)||I>"\x80"&&(I.toUpperCase()!=I.toLowerCase()||Re.test(I))}function oe(I,D){return D?D.source.indexOf("\\w")>-1&&Ae(I)?!0:D.test(I):Ae(I)}function ce(I){for(var D in I)if(I.hasOwnProperty(D)&&I[D])return!1;return!0}var be=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Te(I){return I.charCodeAt(0)>=768&&be.test(I)}function Be(I,D,X){for(;(X<0?D>0:D<I.length)&&Te(I.charAt(D));)D+=X;return D}function De(I,D,X){for(var J=D>X?-1:1;;){if(D==X)return D;var ne=(D+X)/2,Pe=J<0?Math.ceil(ne):Math.floor(ne);if(Pe==D)return I(Pe)?D:X;I(Pe)?X=Pe:D=Pe+J}}function ae(I,D,X,J){if(!I)return J(D,X,"ltr",0);for(var ne=!1,Pe=0;Pe<I.length;++Pe){var ct=I[Pe];(ct.from<X&&ct.to>D||D==X&&ct.to==D)&&(J(Math.max(ct.from,D),Math.min(ct.to,X),ct.level==1?"rtl":"ltr",Pe),ne=!0)}ne||J(D,X,"ltr")}var fe=null;function Oe(I,D,X){var J;fe=null;for(var ne=0;ne<I.length;++ne){var Pe=I[ne];if(Pe.from<D&&Pe.to>D)return ne;Pe.to==D&&(Pe.from!=Pe.to&&X=="before"?J=ne:fe=ne),Pe.from==D&&(Pe.from!=Pe.to&&X!="before"?J=ne:fe=ne)}return J!=null?J:fe}var Je=function(){var I="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",D="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function X(cr){return cr<=247?I.charAt(cr):1424<=cr&&cr<=1524?"R":1536<=cr&&cr<=1785?D.charAt(cr-1536):1774<=cr&&cr<=2220?"r":8192<=cr&&cr<=8203?"w":cr==8204?"b":"L"}var J=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ne=/[stwN]/,Pe=/[LRr]/,ct=/[Lb1n]/,Ht=/[1n]/;function ir(cr,yn,Dn){this.level=cr,this.from=yn,this.to=Dn}return function(cr,yn){var Dn=yn=="ltr"?"L":"R";if(cr.length==0||yn=="ltr"&&!J.test(cr))return!1;for(var qn=cr.length,ni=[],Mi=0;Mi<qn;++Mi)ni.push(X(cr.charCodeAt(Mi)));for(var Zi=0,da=Dn;Zi<qn;++Zi){var ia=ni[Zi];ia=="m"?ni[Zi]=da:da=ia}for(var na=0,xa=Dn;na<qn;++na){var Ma=ni[na];Ma=="1"&&xa=="r"?ni[na]="n":Pe.test(Ma)&&(xa=Ma,Ma=="r"&&(ni[na]="R"))}for(var Co=1,no=ni[0];Co<qn-1;++Co){var Wo=ni[Co];Wo=="+"&&no=="1"&&ni[Co+1]=="1"?ni[Co]="1":Wo==","&&no==ni[Co+1]&&(no=="1"||no=="n")&&(ni[Co]=no),no=Wo}for(var ps=0;ps<qn;++ps){var Us=ni[ps];if(Us==",")ni[ps]="N";else if(Us=="%"){var Cs=void 0;for(Cs=ps+1;Cs<qn&&ni[Cs]=="%";++Cs);for(var tl=ps&&ni[ps-1]=="!"||Cs<qn&&ni[Cs]=="1"?"1":"N",ul=ps;ul<Cs;++ul)ni[ul]=tl;ps=Cs-1}}for(var Xs=0,cl=Dn;Xs<qn;++Xs){var rl=ni[Xs];cl=="L"&&rl=="1"?ni[Xs]="L":Pe.test(rl)&&(cl=rl)}for(var ya=0;ya<qn;++ya)if(ne.test(ni[ya])){var Ms=void 0;for(Ms=ya+1;Ms<qn&&ne.test(ni[Ms]);++Ms);for(var Ls=(ya?ni[ya-1]:Dn)=="L",Ws=(Ms<qn?ni[Ms]:Dn)=="L",Lu=Ls==Ws?Ls?"L":"R":Dn,ns=ya;ns<Ms;++ns)ni[ns]=Lu;ya=Ms-1}for(var Uo=[],Rl,al=0;al<qn;)if(ct.test(ni[al])){var Nu=al;for(++al;al<qn&&ct.test(ni[al]);++al);Uo.push(new ir(0,Nu,al))}else{var Ql=al,Ml=Uo.length,Au=yn=="rtl"?1:0;for(++al;al<qn&&ni[al]!="L";++al);for(var gl=Ql;gl<al;)if(Ht.test(ni[gl])){Ql<gl&&(Uo.splice(Ml,0,new ir(1,Ql,gl)),Ml+=Au);var Jl=gl;for(++gl;gl<al&&Ht.test(ni[gl]);++gl);Uo.splice(Ml,0,new ir(2,Jl,gl)),Ml+=Au,Ql=gl}else++gl;Ql<al&&Uo.splice(Ml,0,new ir(1,Ql,al))}return yn=="ltr"&&(Uo[0].level==1&&(Rl=cr.match(/^\s+/))&&(Uo[0].from=Rl[0].length,Uo.unshift(new ir(0,0,Rl[0].length))),ue(Uo).level==1&&(Rl=cr.match(/\s+$/))&&(ue(Uo).to-=Rl[0].length,Uo.push(new ir(0,qn-Rl[0].length,qn)))),yn=="rtl"?Uo.reverse():Uo}}();function Et(I,D){var X=I.order;return X==null&&(X=I.order=Je(I.text,D)),X}var Ze=[],Ne=function(D,X,J){if(D.addEventListener)D.addEventListener(X,J,!1);else if(D.attachEvent)D.attachEvent("on"+X,J);else{var ne=D._handlers||(D._handlers={});ne[X]=(ne[X]||Ze).concat(J)}};function It(I,D){return I._handlers&&I._handlers[D]||Ze}function Xe(I,D,X){if(I.removeEventListener)I.removeEventListener(D,X,!1);else if(I.detachEvent)I.detachEvent("on"+D,X);else{var J=I._handlers,ne=J&&J[D];if(ne){var Pe=W(ne,X);Pe>-1&&(J[D]=ne.slice(0,Pe).concat(ne.slice(Pe+1)))}}}function Ot(I,D){var X=It(I,D);if(!X.length)return;for(var J=Array.prototype.slice.call(arguments,2),ne=0;ne<X.length;++ne)X[ne].apply(null,J)}function Bt(I,D,X){return typeof D=="string"&&(D={type:D,preventDefault:function(){this.defaultPrevented=!0}}),Ot(I,X||D.type,I,D),Q(D)||D.codemirrorIgnore}function kt(I){var D=I._handlers&&I._handlers.cursorActivity;if(!D)return;for(var X=I.curOp.cursorActivityHandlers||(I.curOp.cursorActivityHandlers=[]),J=0;J<D.length;++J)W(X,D[J])==-1&&X.push(D[J])}function _t(I,D){return It(I,D).length>0}function Ft(I){I.prototype.on=function(D,X){Ne(this,D,X)},I.prototype.off=function(D,X){Xe(this,D,X)}}function ke(I){I.preventDefault?I.preventDefault():I.returnValue=!1}function te(I){I.stopPropagation?I.stopPropagation():I.cancelBubble=!0}function Q(I){return I.defaultPrevented!=null?I.defaultPrevented:I.returnValue==!1}function qe(I){ke(I),te(I)}function je(I){return I.target||I.srcElement}function q(I){var D=I.which;return D==null&&(I.button&1?D=1:I.button&2?D=3:I.button&4&&(D=2)),A&&I.ctrlKey&&D==1&&(D=3),D}var wt=function(){if(d&&c<9)return!1;var I=L("div");return"draggable"in I||"dragDrop"in I}(),Vt;function lt(I){if(Vt==null){var D=L("span","\u200B");_(I,L("span",[D,document.createTextNode("x")])),I.firstChild.offsetHeight!=0&&(Vt=D.offsetWidth<=1&&D.offsetHeight>2&&!(d&&c<8))}var X=Vt?L("span","\u200B"):L("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return X.setAttribute("cm-text",""),X}var or;function vr(I){if(or!=null)return or;var D=_(I,document.createTextNode("A\u062EA")),X=k(D,0,1).getBoundingClientRect(),J=k(D,1,2).getBoundingClientRect();return C(I),!X||X.left==X.right?!1:or=J.right-X.right<3}var An=`
b`.split(/\n/).length!=3?function(I){for(var D=0,X=[],J=I.length;D<=J;){var ne=I.indexOf(`
`,D);ne==-1&&(ne=I.length);var Pe=I.slice(D,I.charAt(ne-1)=="\r"?ne-1:ne),ct=Pe.indexOf("\r");ct!=-1?(X.push(Pe.slice(0,ct)),D+=ct+1):(X.push(Pe),D=ne+1)}return X}:function(I){return I.split(/\r\n?|\n/)},hr=window.getSelection?function(I){try{return I.selectionStart!=I.selectionEnd}catch(D){return!1}}:function(I){var D;try{D=I.ownerDocument.selection.createRange()}catch(X){}return!D||D.parentElement()!=I?!1:D.compareEndPoints("StartToEnd",D)!=0},xr=function(){var I=L("div");return"oncopy"in I?!0:(I.setAttribute("oncopy","return;"),typeof I.oncopy=="function")}(),nr=null;function Yt(I){if(nr!=null)return nr;var D=_(I,L("span","x")),X=D.getBoundingClientRect(),J=k(D,0,1).getBoundingClientRect();return nr=Math.abs(X.left-J.left)>1}var gt={},zr={};function pn(I,D){arguments.length>2&&(D.dependencies=Array.prototype.slice.call(arguments,2)),gt[I]=D}function Nn(I,D){zr[I]=D}function Vn(I){if(typeof I=="string"&&zr.hasOwnProperty(I))I=zr[I];else if(I&&typeof I.name=="string"&&zr.hasOwnProperty(I.name)){var D=zr[I.name];typeof D=="string"&&(D={name:D}),I=et(D,I),I.name=D.name}else{if(typeof I=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(I))return Vn("application/xml");if(typeof I=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(I))return Vn("application/json")}return typeof I=="string"?{name:I}:I||{name:"null"}}function xi(I,D){D=Vn(D);var X=gt[D.name];if(!X)return xi(I,"text/plain");var J=X(I,D);if(bn.hasOwnProperty(D.name)){var ne=bn[D.name];for(var Pe in ne){if(!ne.hasOwnProperty(Pe))continue;J.hasOwnProperty(Pe)&&(J["_"+Pe]=J[Pe]),J[Pe]=ne[Pe]}}if(J.name=D.name,D.helperType&&(J.helperType=D.helperType),D.modeProps)for(var ct in D.modeProps)J[ct]=D.modeProps[ct];return J}var bn={};function Pn(I,D){var X=bn.hasOwnProperty(I)?bn[I]:bn[I]={};H(D,X)}function jt(I,D){if(D===!0)return D;if(I.copyState)return I.copyState(D);var X={};for(var J in D){var ne=D[J];ne instanceof Array&&(ne=ne.concat([])),X[J]=ne}return X}function At(I,D){for(var X;I.innerMode&&!(X=I.innerMode(D),!X||X.mode==I);)D=X.state,I=X.mode;return X||{mode:I,state:D}}function xe(I,D,X){return I.startState?I.startState(D,X):!0}var we=function(D,X,J){this.pos=this.start=0,this.string=D,this.tabSize=X||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=J};we.prototype.eol=function(){return this.pos>=this.string.length},we.prototype.sol=function(){return this.pos==this.lineStart},we.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},we.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},we.prototype.eat=function(I){var D=this.string.charAt(this.pos),X;if(typeof I=="string"?X=D==I:X=D&&(I.test?I.test(D):I(D)),X)return++this.pos,D},we.prototype.eatWhile=function(I){for(var D=this.pos;this.eat(I););return this.pos>D},we.prototype.eatSpace=function(){for(var I=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>I},we.prototype.skipToEnd=function(){this.pos=this.string.length},we.prototype.skipTo=function(I){var D=this.string.indexOf(I,this.pos);if(D>-1)return this.pos=D,!0},we.prototype.backUp=function(I){this.pos-=I},we.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=K(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?K(this.string,this.lineStart,this.tabSize):0)},we.prototype.indentation=function(){return K(this.string,null,this.tabSize)-(this.lineStart?K(this.string,this.lineStart,this.tabSize):0)},we.prototype.match=function(I,D,X){if(typeof I=="string"){var J=function(Ht){return X?Ht.toLowerCase():Ht},ne=this.string.substr(this.pos,I.length);if(J(ne)==J(I))return D!==!1&&(this.pos+=I.length),!0}else{var Pe=this.string.slice(this.pos).match(I);return Pe&&Pe.index>0?null:(Pe&&D!==!1&&(this.pos+=Pe[0].length),Pe)}},we.prototype.current=function(){return this.string.slice(this.start,this.pos)},we.prototype.hideFirstChars=function(I,D){this.lineStart+=I;try{return D()}finally{this.lineStart-=I}},we.prototype.lookAhead=function(I){var D=this.lineOracle;return D&&D.lookAhead(I)},we.prototype.baseToken=function(){var I=this.lineOracle;return I&&I.baseToken(this.pos)};function Ee(I,D){if(D-=I.first,D<0||D>=I.size)throw new Error("There is no line "+(D+I.first)+" in the document.");for(var X=I;!X.lines;)for(var J=0;;++J){var ne=X.children[J],Pe=ne.chunkSize();if(D<Pe){X=ne;break}D-=Pe}return X.lines[D]}function Ge(I,D,X){var J=[],ne=D.line;return I.iter(D.line,X.line+1,function(Pe){var ct=Pe.text;ne==X.line&&(ct=ct.slice(0,X.ch)),ne==D.line&&(ct=ct.slice(D.ch)),J.push(ct),++ne}),J}function nt(I,D,X){var J=[];return I.iter(D,X,function(ne){J.push(ne.text)}),J}function st(I,D){var X=D-I.height;if(X)for(var J=I;J;J=J.parent)J.height+=X}function Mt(I){if(I.parent==null)return null;for(var D=I.parent,X=W(D.lines,I),J=D.parent;J;D=J,J=J.parent)for(var ne=0;!(J.children[ne]==D);++ne)X+=J.children[ne].chunkSize();return X+D.first}function wr(I,D){var X=I.first;e:do{for(var J=0;J<I.children.length;++J){var ne=I.children[J],Pe=ne.height;if(D<Pe){I=ne;continue e}D-=Pe,X+=ne.chunkSize()}return X}while(!I.lines);for(var ct=0;ct<I.lines.length;++ct){var Ht=I.lines[ct],ir=Ht.height;if(D<ir)break;D-=ir}return X+ct}function Pr(I,D){return D>=I.first&&D<I.first+I.size}function qr(I,D){return String(I.lineNumberFormatter(D+I.firstLineNumber))}function xt(I,D,X){if(X===void 0&&(X=null),!(this instanceof xt))return new xt(I,D,X);this.line=I,this.ch=D,this.sticky=X}function rt(I,D){return I.line-D.line||I.ch-D.ch}function it(I,D){return I.sticky==D.sticky&&rt(I,D)==0}function $t(I){return xt(I.line,I.ch)}function Dt(I,D){return rt(I,D)<0?D:I}function St(I,D){return rt(I,D)<0?I:D}function Ut(I,D){return Math.max(I.first,Math.min(D,I.first+I.size-1))}function vt(I,D){if(D.line<I.first)return xt(I.first,0);var X=I.first+I.size-1;return D.line>X?xt(X,Ee(I,X).text.length):Pt(D,Ee(I,D.line).text.length)}function Pt(I,D){var X=I.ch;return X==null||X>D?xt(I.line,D):X<0?xt(I.line,0):I}function br(I,D){for(var X=[],J=0;J<D.length;J++)X[J]=vt(I,D[J]);return X}var ur=function(D,X){this.state=D,this.lookAhead=X},fr=function(D,X,J,ne){this.state=X,this.doc=D,this.line=J,this.maxLookAhead=ne||0,this.baseTokens=null,this.baseTokenPos=1};fr.prototype.lookAhead=function(I){var D=this.doc.getLine(this.line+I);return D!=null&&I>this.maxLookAhead&&(this.maxLookAhead=I),D},fr.prototype.baseToken=function(I){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=I;)this.baseTokenPos+=2;var D=this.baseTokens[this.baseTokenPos+1];return{type:D&&D.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-I}},fr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},fr.fromSaved=function(I,D,X){return D instanceof ur?new fr(I,jt(I.mode,D.state),X,D.lookAhead):new fr(I,jt(I.mode,D),X)},fr.prototype.save=function(I){var D=I!==!1?jt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ur(D,this.maxLookAhead):D};function Jr(I,D,X,J){var ne=[I.state.modeGen],Pe={};ge(I,D.text,I.doc.mode,X,function(cr,yn){return ne.push(cr,yn)},Pe,J);for(var ct=X.state,Ht=function(yn){X.baseTokens=ne;var Dn=I.state.overlays[yn],qn=1,ni=0;X.state=!0,ge(I,D.text,Dn.mode,X,function(Mi,Zi){for(var da=qn;ni<Mi;){var ia=ne[qn];ia>Mi&&ne.splice(qn,1,Mi,ne[qn+1],ia),qn+=2,ni=Math.min(Mi,ia)}if(!Zi)return;if(Dn.opaque)ne.splice(da,qn-da,Mi,"overlay "+Zi),qn=da+2;else for(;da<qn;da+=2){var na=ne[da+1];ne[da+1]=(na?na+" ":"")+"overlay "+Zi}},Pe),X.state=ct,X.baseTokens=null,X.baseTokenPos=1},ir=0;ir<I.state.overlays.length;++ir)Ht(ir);return{styles:ne,classes:Pe.bgClass||Pe.textClass?Pe:null}}function Zr(I,D,X){if(!D.styles||D.styles[0]!=I.state.modeGen){var J=Fn(I,Mt(D)),ne=D.text.length>I.options.maxHighlightLength&&jt(I.doc.mode,J.state),Pe=Jr(I,D,J);ne&&(J.state=ne),D.stateAfter=J.save(!ne),D.styles=Pe.styles,Pe.classes?D.styleClasses=Pe.classes:D.styleClasses&&(D.styleClasses=null),X===I.doc.highlightFrontier&&(I.doc.modeFrontier=Math.max(I.doc.modeFrontier,++I.doc.highlightFrontier))}return D.styles}function Fn(I,D,X){var J=I.doc,ne=I.display;if(!J.mode.startState)return new fr(J,!0,D);var Pe=Ie(I,D,X),ct=Pe>J.first&&Ee(J,Pe-1).stateAfter,Ht=ct?fr.fromSaved(J,ct,Pe):new fr(J,xe(J.mode),Pe);return J.iter(Pe,D,function(ir){Rn(I,ir.text,Ht);var cr=Ht.line;ir.stateAfter=cr==D-1||cr%5==0||cr>=ne.viewFrom&&cr<ne.viewTo?Ht.save():null,Ht.nextLine()}),X&&(J.modeFrontier=Ht.line),Ht}function Rn(I,D,X,J){var ne=I.doc.mode,Pe=new we(D,I.options.tabSize,X);for(Pe.start=Pe.pos=J||0,D==""&&ei(ne,X.state);!Pe.eol();)di(ne,Pe,X.state),Pe.start=Pe.pos}function ei(I,D){if(I.blankLine)return I.blankLine(D);if(!I.innerMode)return;var X=At(I,D);if(X.mode.blankLine)return X.mode.blankLine(X.state)}function di(I,D,X,J){for(var ne=0;ne<10;ne++){J&&(J[0]=At(I,X).mode);var Pe=I.token(D,X);if(D.pos>D.start)return Pe}throw new Error("Mode "+I.name+" failed to advance stream.")}var gi=function(D,X,J){this.start=D.start,this.end=D.pos,this.string=D.current(),this.type=X||null,this.state=J};function Ii(I,D,X,J){var ne=I.doc,Pe=ne.mode,ct;D=vt(ne,D);var Ht=Ee(ne,D.line),ir=Fn(I,D.line,X),cr=new we(Ht.text,I.options.tabSize,ir),yn;for(J&&(yn=[]);(J||cr.pos<D.ch)&&!cr.eol();)cr.start=cr.pos,ct=di(Pe,cr,ir.state),J&&yn.push(new gi(cr,ct,jt(ne.mode,ir.state)));return J?yn:new gi(cr,ct,ir.state)}function Ye(I,D){if(I)for(;;){var X=I.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!X)break;I=I.slice(0,X.index)+I.slice(X.index+X[0].length);var J=X[1]?"bgClass":"textClass";D[J]==null?D[J]=X[2]:new RegExp("(?:^|\\s)"+X[2]+"(?:$|\\s)").test(D[J])||(D[J]+=" "+X[2])}return I}function ge(I,D,X,J,ne,Pe,ct){var Ht=X.flattenSpans;Ht==null&&(Ht=I.options.flattenSpans);var ir=0,cr=null,yn=new we(D,I.options.tabSize,J),Dn,qn=I.options.addModeClass&&[null];for(D==""&&Ye(ei(X,J.state),Pe);!yn.eol();){if(yn.pos>I.options.maxHighlightLength?(Ht=!1,ct&&Rn(I,D,J,yn.pos),yn.pos=D.length,Dn=null):Dn=Ye(di(X,yn,J.state,qn),Pe),qn){var ni=qn[0].name;ni&&(Dn="m-"+(Dn?ni+" "+Dn:ni))}if(!Ht||cr!=Dn){for(;ir<yn.start;)ir=Math.min(yn.start,ir+5e3),ne(ir,cr);cr=Dn}yn.start=yn.pos}for(;ir<yn.pos;){var Mi=Math.min(yn.pos,ir+5e3);ne(Mi,cr),ir=Mi}}function Ie(I,D,X){for(var J,ne,Pe=I.doc,ct=X?-1:D-(I.doc.mode.innerMode?1e3:100),Ht=D;Ht>ct;--Ht){if(Ht<=Pe.first)return Pe.first;var ir=Ee(Pe,Ht-1),cr=ir.stateAfter;if(cr&&(!X||Ht+(cr instanceof ur?cr.lookAhead:0)<=Pe.modeFrontier))return Ht;var yn=K(ir.text,null,I.options.tabSize);(ne==null||J>yn)&&(ne=Ht-1,J=yn)}return ne}function Fe(I,D){if(I.modeFrontier=Math.min(I.modeFrontier,D),I.highlightFrontier<D-10)return;for(var X=I.first,J=D-1;J>X;J--){var ne=Ee(I,J).stateAfter;if(ne&&(!(ne instanceof ur)||J+ne.lookAhead<D)){X=J+1;break}}I.highlightFrontier=Math.min(I.highlightFrontier,X)}var Ve=!1,We=!1;function Qe(){Ve=!0}function yt(){We=!0}function ot(I,D,X){this.marker=I,this.from=D,this.to=X}function Zt(I,D){if(I)for(var X=0;X<I.length;++X){var J=I[X];if(J.marker==D)return J}}function Rr(I,D){for(var X,J=0;J<I.length;++J)I[J]!=D&&(X||(X=[])).push(I[J]);return X}function Lr(I,D){I.markedSpans=I.markedSpans?I.markedSpans.concat([D]):[D],D.marker.attachLine(I)}function Gr(I,D,X){var J;if(I)for(var ne=0;ne<I.length;++ne){var Pe=I[ne],ct=Pe.marker,Ht=Pe.from==null||(ct.inclusiveLeft?Pe.from<=D:Pe.from<D);if(Ht||Pe.from==D&&ct.type=="bookmark"&&(!X||!Pe.marker.insertLeft)){var ir=Pe.to==null||(ct.inclusiveRight?Pe.to>=D:Pe.to>D);(J||(J=[])).push(new ot(ct,Pe.from,ir?null:Pe.to))}}return J}function er(I,D,X){var J;if(I)for(var ne=0;ne<I.length;++ne){var Pe=I[ne],ct=Pe.marker,Ht=Pe.to==null||(ct.inclusiveRight?Pe.to>=D:Pe.to>D);if(Ht||Pe.from==D&&ct.type=="bookmark"&&(!X||Pe.marker.insertLeft)){var ir=Pe.from==null||(ct.inclusiveLeft?Pe.from<=D:Pe.from<D);(J||(J=[])).push(new ot(ct,ir?null:Pe.from-D,Pe.to==null?null:Pe.to-D))}}return J}function On(I,D){if(D.full)return null;var X=Pr(I,D.from.line)&&Ee(I,D.from.line).markedSpans,J=Pr(I,D.to.line)&&Ee(I,D.to.line).markedSpans;if(!X&&!J)return null;var ne=D.from.ch,Pe=D.to.ch,ct=rt(D.from,D.to)==0,Ht=Gr(X,ne,ct),ir=er(J,Pe,ct),cr=D.text.length==1,yn=ue(D.text).length+(cr?ne:0);if(Ht)for(var Dn=0;Dn<Ht.length;++Dn){var qn=Ht[Dn];if(qn.to==null){var ni=Zt(ir,qn.marker);ni?cr&&(qn.to=ni.to==null?null:ni.to+yn):qn.to=ne}}if(ir)for(var Mi=0;Mi<ir.length;++Mi){var Zi=ir[Mi];if(Zi.to!=null&&(Zi.to+=yn),Zi.from==null){var da=Zt(Ht,Zi.marker);da||(Zi.from=yn,cr&&(Ht||(Ht=[])).push(Zi))}else Zi.from+=yn,cr&&(Ht||(Ht=[])).push(Zi)}Ht&&(Ht=yr(Ht)),ir&&ir!=Ht&&(ir=yr(ir));var ia=[Ht];if(!cr){var na=D.text.length-2,xa;if(na>0&&Ht)for(var Ma=0;Ma<Ht.length;++Ma)Ht[Ma].to==null&&(xa||(xa=[])).push(new ot(Ht[Ma].marker,null,null));for(var Co=0;Co<na;++Co)ia.push(xa);ia.push(ir)}return ia}function yr(I){for(var D=0;D<I.length;++D){var X=I[D];X.from!=null&&X.from==X.to&&X.marker.clearWhenEmpty!==!1&&I.splice(D--,1)}return I.length?I:null}function gn(I,D,X){var J=null;if(I.iter(D.line,X.line+1,function(ni){if(ni.markedSpans)for(var Mi=0;Mi<ni.markedSpans.length;++Mi){var Zi=ni.markedSpans[Mi].marker;Zi.readOnly&&(!J||W(J,Zi)==-1)&&(J||(J=[])).push(Zi)}}),!J)return null;for(var ne=[{from:D,to:X}],Pe=0;Pe<J.length;++Pe)for(var ct=J[Pe],Ht=ct.find(0),ir=0;ir<ne.length;++ir){var cr=ne[ir];if(rt(cr.to,Ht.from)<0||rt(cr.from,Ht.to)>0)continue;var yn=[ir,1],Dn=rt(cr.from,Ht.from),qn=rt(cr.to,Ht.to);(Dn<0||!ct.inclusiveLeft&&!Dn)&&yn.push({from:cr.from,to:Ht.from}),(qn>0||!ct.inclusiveRight&&!qn)&&yn.push({from:Ht.to,to:cr.to}),ne.splice.apply(ne,yn),ir+=yn.length-3}return ne}function tn(I){var D=I.markedSpans;if(!D)return;for(var X=0;X<D.length;++X)D[X].marker.detachLine(I);I.markedSpans=null}function Fr(I,D){if(!D)return;for(var X=0;X<D.length;++X)D[X].marker.attachLine(I);I.markedSpans=D}function Xn(I){return I.inclusiveLeft?-1:0}function hi(I){return I.inclusiveRight?1:0}function _i(I,D){var X=I.lines.length-D.lines.length;if(X!=0)return X;var J=I.find(),ne=D.find(),Pe=rt(J.from,ne.from)||Xn(I)-Xn(D);if(Pe)return-Pe;var ct=rt(J.to,ne.to)||hi(I)-hi(D);return ct||D.id-I.id}function Ur(I,D){var X=We&&I.markedSpans,J;if(X)for(var ne=void 0,Pe=0;Pe<X.length;++Pe)ne=X[Pe],ne.marker.collapsed&&(D?ne.from:ne.to)==null&&(!J||_i(J,ne.marker)<0)&&(J=ne.marker);return J}function sn(I){return Ur(I,!0)}function Cn(I){return Ur(I,!1)}function Nt(I,D){var X=We&&I.markedSpans,J;if(X)for(var ne=0;ne<X.length;++ne){var Pe=X[ne];Pe.marker.collapsed&&(Pe.from==null||Pe.from<D)&&(Pe.to==null||Pe.to>D)&&(!J||_i(J,Pe.marker)<0)&&(J=Pe.marker)}return J}function dt(I,D,X,J,ne){var Pe=Ee(I,D),ct=We&&Pe.markedSpans;if(ct)for(var Ht=0;Ht<ct.length;++Ht){var ir=ct[Ht];if(!ir.marker.collapsed)continue;var cr=ir.marker.find(0),yn=rt(cr.from,X)||Xn(ir.marker)-Xn(ne),Dn=rt(cr.to,J)||hi(ir.marker)-hi(ne);if(yn>=0&&Dn<=0||yn<=0&&Dn>=0)continue;if(yn<=0&&(ir.marker.inclusiveRight&&ne.inclusiveLeft?rt(cr.to,X)>=0:rt(cr.to,X)>0)||yn>=0&&(ir.marker.inclusiveRight&&ne.inclusiveLeft?rt(cr.from,J)<=0:rt(cr.from,J)<0))return!0}}function bt(I){for(var D;D=sn(I);)I=D.find(-1,!0).line;return I}function Tt(I){for(var D;D=Cn(I);)I=D.find(1,!0).line;return I}function Lt(I){for(var D,X;D=Cn(I);)I=D.find(1,!0).line,(X||(X=[])).push(I);return X}function pt(I,D){var X=Ee(I,D),J=bt(X);return X==J?D:Mt(J)}function Gt(I,D){if(D>I.lastLine())return D;var X=Ee(I,D),J;if(!qt(I,X))return D;for(;J=Cn(X);)X=J.find(1,!0).line;return Mt(X)+1}function qt(I,D){var X=We&&D.markedSpans;if(X)for(var J=void 0,ne=0;ne<X.length;++ne){if(J=X[ne],!J.marker.collapsed)continue;if(J.from==null)return!0;if(J.marker.widgetNode)continue;if(J.from==0&&J.marker.inclusiveLeft&&rr(I,D,J))return!0}}function rr(I,D,X){if(X.to==null){var J=X.marker.find(1,!0);return rr(I,J.line,Zt(J.line.markedSpans,X.marker))}if(X.marker.inclusiveRight&&X.to==D.text.length)return!0;for(var ne=void 0,Pe=0;Pe<D.markedSpans.length;++Pe)if(ne=D.markedSpans[Pe],ne.marker.collapsed&&!ne.marker.widgetNode&&ne.from==X.to&&(ne.to==null||ne.to!=X.from)&&(ne.marker.inclusiveLeft||X.marker.inclusiveRight)&&rr(I,D,ne))return!0}function mr(I){I=bt(I);for(var D=0,X=I.parent,J=0;J<X.lines.length;++J){var ne=X.lines[J];if(ne==I)break;D+=ne.height}for(var Pe=X.parent;Pe;X=Pe,Pe=X.parent)for(var ct=0;ct<Pe.children.length;++ct){var Ht=Pe.children[ct];if(Ht==X)break;D+=Ht.height}return D}function wn(I){if(I.height==0)return 0;for(var D=I.text.length,X,J=I;X=sn(J);){var ne=X.find(0,!0);J=ne.from.line,D+=ne.from.ch-ne.to.ch}for(J=I;X=Cn(J);){var Pe=X.find(0,!0);D-=J.text.length-Pe.from.ch,J=Pe.to.line,D+=J.text.length-Pe.to.ch}return D}function fn(I){var D=I.display,X=I.doc;D.maxLine=Ee(X,X.first),D.maxLineLength=wn(D.maxLine),D.maxLineChanged=!0,X.iter(function(J){var ne=wn(J);ne>D.maxLineLength&&(D.maxLineLength=ne,D.maxLine=J)})}var Wn=function(D,X,J){this.text=D,Fr(this,X),this.height=J?J(this):1};Wn.prototype.lineNo=function(){return Mt(this)},Ft(Wn);function Yr(I,D,X,J){I.text=D,I.stateAfter&&(I.stateAfter=null),I.styles&&(I.styles=null),I.order!=null&&(I.order=null),tn(I),Fr(I,X);var ne=J?J(I):1;ne!=I.height&&st(I,ne)}function Sr(I){I.parent=null,tn(I)}var ln={},Tn={};function In(I,D){if(!I||/^\s*$/.test(I))return null;var X=D.addModeClass?Tn:ln;return X[I]||(X[I]=I.replace(/\S+/g,"cm-$&"))}function Un(I,D){var X=P("span",null,null,o?"padding-right: .1px":null),J={pre:P("pre",[X],"CodeMirror-line"),content:X,col:0,pos:0,cm:I,trailingSpace:!1,splitSpaces:I.getOption("lineWrapping")};D.measure={};for(var ne=0;ne<=(D.rest?D.rest.length:0);ne++){var Pe=ne?D.rest[ne-1]:D.line,ct=void 0;J.pos=0,J.addToken=li,vr(I.display.measure)&&(ct=Et(Pe,I.doc.direction))&&(J.addToken=ki(J.addToken,ct)),J.map=[];var Ht=D!=I.display.externalMeasured&&Mt(Pe);Ri(Pe,J,Zr(I,Pe,Ht)),Pe.styleClasses&&(Pe.styleClasses.bgClass&&(J.bgClass=R(Pe.styleClasses.bgClass,J.bgClass||"")),Pe.styleClasses.textClass&&(J.textClass=R(Pe.styleClasses.textClass,J.textClass||""))),J.map.length==0&&J.map.push(0,0,J.content.appendChild(lt(I.display.measure))),ne==0?(D.measure.map=J.map,D.measure.cache={}):((D.measure.maps||(D.measure.maps=[])).push(J.map),(D.measure.caches||(D.measure.caches=[])).push({}))}if(o){var ir=J.content.lastChild;(/\bcm-tab\b/.test(ir.className)||ir.querySelector&&ir.querySelector(".cm-tab"))&&(J.content.className="cm-tab-wrap-hack")}return Ot(I,"renderLine",I,D.line,J.pre),J.pre.className&&(J.textClass=R(J.pre.className,J.textClass||"")),J}function ti(I){var D=L("span","\u2022","cm-invalidchar");return D.title="\\u"+I.charCodeAt(0).toString(16),D.setAttribute("aria-label",D.title),D}function li(I,D,X,J,ne,Pe,ct){if(!D)return;var Ht=I.splitSpaces?si(D,I.trailingSpace):D,ir=I.cm.state.specialChars,cr=!1,yn;if(!ir.test(D))I.col+=D.length,yn=document.createTextNode(Ht),I.map.push(I.pos,I.pos+D.length,yn),d&&c<9&&(cr=!0),I.pos+=D.length;else{yn=document.createDocumentFragment();for(var Dn=0;;){ir.lastIndex=Dn;var qn=ir.exec(D),ni=qn?qn.index-Dn:D.length-Dn;if(ni){var Mi=document.createTextNode(Ht.slice(Dn,Dn+ni));d&&c<9?yn.appendChild(L("span",[Mi])):yn.appendChild(Mi),I.map.push(I.pos,I.pos+ni,Mi),I.col+=ni,I.pos+=ni}if(!qn)break;Dn+=ni+1;var Zi=void 0;if(qn[0]==" "){var da=I.cm.options.tabSize,ia=da-I.col%da;Zi=yn.appendChild(L("span",Ke(ia),"cm-tab")),Zi.setAttribute("role","presentation"),Zi.setAttribute("cm-text"," "),I.col+=ia}else qn[0]=="\r"||qn[0]==`
`?(Zi=yn.appendChild(L("span",qn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Zi.setAttribute("cm-text",qn[0]),I.col+=1):(Zi=I.cm.options.specialCharPlaceholder(qn[0]),Zi.setAttribute("cm-text",qn[0]),d&&c<9?yn.appendChild(L("span",[Zi])):yn.appendChild(Zi),I.col+=1);I.map.push(I.pos,I.pos+1,Zi),I.pos++}}if(I.trailingSpace=Ht.charCodeAt(D.length-1)==32,X||J||ne||cr||Pe||ct){var na=X||"";J&&(na+=J),ne&&(na+=ne);var xa=L("span",[yn],na,Pe);if(ct)for(var Ma in ct)ct.hasOwnProperty(Ma)&&Ma!="style"&&Ma!="class"&&xa.setAttribute(Ma,ct[Ma]);return I.content.appendChild(xa)}I.content.appendChild(yn)}function si(I,D){if(I.length>1&&!/ /.test(I))return I;for(var X=D,J="",ne=0;ne<I.length;ne++){var Pe=I.charAt(ne);Pe==" "&&X&&(ne==I.length-1||I.charCodeAt(ne+1)==32)&&(Pe="\xA0"),J+=Pe,X=Pe==" "}return J}function ki(I,D){return function(X,J,ne,Pe,ct,Ht,ir){ne=ne?ne+" cm-force-border":"cm-force-border";for(var cr=X.pos,yn=cr+J.length;;){for(var Dn=void 0,qn=0;qn<D.length&&!(Dn=D[qn],Dn.to>cr&&Dn.from<=cr);qn++);if(Dn.to>=yn)return I(X,J,ne,Pe,ct,Ht,ir);I(X,J.slice(0,Dn.to-cr),ne,Pe,null,Ht,ir),Pe=null,J=J.slice(Dn.to-cr),cr=Dn.to}}}function zi(I,D,X,J){var ne=!J&&X.widgetNode;ne&&I.map.push(I.pos,I.pos+D,ne),!J&&I.cm.display.input.needsContentAttribute&&(ne||(ne=I.content.appendChild(document.createElement("span"))),ne.setAttribute("cm-marker",X.id)),ne&&(I.cm.display.input.setUneditable(ne),I.content.appendChild(ne)),I.pos+=D,I.trailingSpace=!1}function Ri(I,D,X){var J=I.markedSpans,ne=I.text,Pe=0;if(!J){for(var ct=1;ct<X.length;ct+=2)D.addToken(D,ne.slice(Pe,Pe=X[ct]),In(X[ct+1],D.cm.options));return}for(var Ht=ne.length,ir=0,cr=1,yn="",Dn,qn,ni=0,Mi,Zi,da,ia,na;;){if(ni==ir){Mi=Zi=da=qn="",na=null,ia=null,ni=Infinity;for(var xa=[],Ma=void 0,Co=0;Co<J.length;++Co){var no=J[Co],Wo=no.marker;if(Wo.type=="bookmark"&&no.from==ir&&Wo.widgetNode)xa.push(Wo);else if(no.from<=ir&&(no.to==null||no.to>ir||Wo.collapsed&&no.to==ir&&no.from==ir)){if(no.to!=null&&no.to!=ir&&ni>no.to&&(ni=no.to,Zi=""),Wo.className&&(Mi+=" "+Wo.className),Wo.css&&(qn=(qn?qn+";":"")+Wo.css),Wo.startStyle&&no.from==ir&&(da+=" "+Wo.startStyle),Wo.endStyle&&no.to==ni&&(Ma||(Ma=[])).push(Wo.endStyle,no.to),Wo.title&&((na||(na={})).title=Wo.title),Wo.attributes)for(var ps in Wo.attributes)(na||(na={}))[ps]=Wo.attributes[ps];Wo.collapsed&&(!ia||_i(ia.marker,Wo)<0)&&(ia=no)}else no.from>ir&&ni>no.from&&(ni=no.from)}if(Ma)for(var Us=0;Us<Ma.length;Us+=2)Ma[Us+1]==ni&&(Zi+=" "+Ma[Us]);if(!ia||ia.from==ir)for(var Cs=0;Cs<xa.length;++Cs)zi(D,0,xa[Cs]);if(ia&&(ia.from||0)==ir){if(zi(D,(ia.to==null?Ht+1:ia.to)-ir,ia.marker,ia.from==null),ia.to==null)return;ia.to==ir&&(ia=!1)}}if(ir>=Ht)break;for(var tl=Math.min(Ht,ni);;){if(yn){var ul=ir+yn.length;if(!ia){var Xs=ul>tl?yn.slice(0,tl-ir):yn;D.addToken(D,Xs,Dn?Dn+Mi:Mi,da,ir+Xs.length==ni?Zi:"",qn,na)}if(ul>=tl){yn=yn.slice(tl-ir),ir=tl;break}ir=ul,da=""}yn=ne.slice(Pe,Pe=X[cr++]),Dn=In(X[cr++],D.cm.options)}}}function Yi(I,D,X){this.line=D,this.rest=Lt(D),this.size=this.rest?Mt(ue(this.rest))-X+1:1,this.node=this.text=null,this.hidden=qt(I,D)}function Zn(I,D,X){for(var J=[],ne,Pe=D;Pe<X;Pe=ne){var ct=new Yi(I.doc,Ee(I.doc,Pe),Pe);ne=Pe+ct.size,J.push(ct)}return J}var hn=null;function mi(I){hn?hn.ops.push(I):I.ownsGroup=hn={ops:[I],delayedCallbacks:[]}}function Hi(I){var D=I.delayedCallbacks,X=0;do{for(;X<D.length;X++)D[X].call(null);for(var J=0;J<I.ops.length;J++){var ne=I.ops[J];if(ne.cursorActivityHandlers)for(;ne.cursorActivityCalled<ne.cursorActivityHandlers.length;)ne.cursorActivityHandlers[ne.cursorActivityCalled++].call(null,ne.cm)}}while(X<D.length)}function Li(I,D){var X=I.ownsGroup;if(!X)return;try{Hi(X)}finally{hn=null,D(X)}}var Bi=null;function Ar(I,D){var X=It(I,D);if(!X.length)return;var J=Array.prototype.slice.call(arguments,2),ne;hn?ne=hn.delayedCallbacks:Bi?ne=Bi:(ne=Bi=[],setTimeout(ar,0));for(var Pe=function(ir){ne.push(function(){return X[ir].apply(null,J)})},ct=0;ct<X.length;++ct)Pe(ct)}function ar(){var I=Bi;Bi=null;for(var D=0;D<I.length;++D)I[D]()}function on(I,D,X,J){for(var ne=0;ne<D.changes.length;ne++){var Pe=D.changes[ne];Pe=="text"?Kr(I,D):Pe=="gutter"?mt(I,D,X,J):Pe=="class"?mn(I,D):Pe=="widget"&&dr(I,D,J)}D.changes=null}function Qt(I){return I.node==I.text&&(I.node=L("div",null,null,"position: relative"),I.text.parentNode&&I.text.parentNode.replaceChild(I.node,I.text),I.node.appendChild(I.text),d&&c<8&&(I.node.style.zIndex=2)),I.node}function gr(I,D){var X=D.bgClass?D.bgClass+" "+(D.line.bgClass||""):D.line.bgClass;if(X&&(X+=" CodeMirror-linebackground"),D.background)X?D.background.className=X:(D.background.parentNode.removeChild(D.background),D.background=null);else if(X){var J=Qt(D);D.background=J.insertBefore(L("div",null,X),J.firstChild),I.display.input.setUneditable(D.background)}}function Or(I,D){var X=I.display.externalMeasured;return X&&X.line==D.line?(I.display.externalMeasured=null,D.measure=X.measure,X.built):Un(I,D)}function Kr(I,D){var X=D.text.className,J=Or(I,D);D.text==D.node&&(D.node=J.pre),D.text.parentNode.replaceChild(J.pre,D.text),D.text=J.pre,J.bgClass!=D.bgClass||J.textClass!=D.textClass?(D.bgClass=J.bgClass,D.textClass=J.textClass,mn(I,D)):X&&(D.text.className=X)}function mn(I,D){gr(I,D),D.line.wrapClass?Qt(D).className=D.line.wrapClass:D.node!=D.text&&(D.node.className="");var X=D.textClass?D.textClass+" "+(D.line.textClass||""):D.line.textClass;D.text.className=X||""}function mt(I,D,X,J){if(D.gutter&&(D.node.removeChild(D.gutter),D.gutter=null),D.gutterBackground&&(D.node.removeChild(D.gutterBackground),D.gutterBackground=null),D.line.gutterClass){var ne=Qt(D);D.gutterBackground=L("div",null,"CodeMirror-gutter-background "+D.line.gutterClass,"left: "+(I.options.fixedGutter?J.fixedPos:-J.gutterTotalWidth)+"px; width: "+J.gutterTotalWidth+"px"),I.display.input.setUneditable(D.gutterBackground),ne.insertBefore(D.gutterBackground,D.text)}var Pe=D.line.gutterMarkers;if(I.options.lineNumbers||Pe){var ct=Qt(D),Ht=D.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(I.options.fixedGutter?J.fixedPos:-J.gutterTotalWidth)+"px");if(I.display.input.setUneditable(Ht),ct.insertBefore(Ht,D.text),D.line.gutterClass&&(Ht.className+=" "+D.line.gutterClass),I.options.lineNumbers&&(!Pe||!Pe["CodeMirror-linenumbers"])&&(D.lineNumber=Ht.appendChild(L("div",qr(I.options,X),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+J.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+I.display.lineNumInnerWidth+"px"))),Pe)for(var ir=0;ir<I.display.gutterSpecs.length;++ir){var cr=I.display.gutterSpecs[ir].className,yn=Pe.hasOwnProperty(cr)&&Pe[cr];yn&&Ht.appendChild(L("div",[yn],"CodeMirror-gutter-elt","left: "+J.gutterLeft[cr]+"px; width: "+J.gutterWidth[cr]+"px"))}}}function dr(I,D,X){D.alignable&&(D.alignable=null);for(var J=T("CodeMirror-linewidget"),ne=D.node.firstChild,Pe=void 0;ne;ne=Pe)Pe=ne.nextSibling,J.test(ne.className)&&D.node.removeChild(ne);kr(I,D,X)}function pr(I,D,X,J){var ne=Or(I,D);return D.text=D.node=ne.pre,ne.bgClass&&(D.bgClass=ne.bgClass),ne.textClass&&(D.textClass=ne.textClass),mn(I,D),mt(I,D,X,J),kr(I,D,J),D.node}function kr(I,D,X){if(nn(I,D.line,D,X,!0),D.rest)for(var J=0;J<D.rest.length;J++)nn(I,D.rest[J],D,X,!1)}function nn(I,D,X,J,ne){if(!D.widgets)return;for(var Pe=Qt(X),ct=0,Ht=D.widgets;ct<Ht.length;++ct){var ir=Ht[ct],cr=L("div",[ir.node],"CodeMirror-linewidget"+(ir.className?" "+ir.className:""));ir.handleMouseEvents||cr.setAttribute("cm-ignore-events","true"),un(ir,cr,X,J),I.display.input.setUneditable(cr),ne&&ir.above?Pe.insertBefore(cr,X.gutter||X.text):Pe.appendChild(cr),Ar(ir,"redraw")}}function un(I,D,X,J){if(I.noHScroll){(X.alignable||(X.alignable=[])).push(D);var ne=J.wrapperWidth;D.style.left=J.fixedPos+"px",I.coverGutter||(ne-=J.gutterTotalWidth,D.style.paddingLeft=J.gutterTotalWidth+"px"),D.style.width=ne+"px"}I.coverGutter&&(D.style.zIndex=5,D.style.position="relative",I.noHScroll||(D.style.marginLeft=-J.gutterTotalWidth+"px"))}function en(I){if(I.height!=null)return I.height;var D=I.doc.cm;if(!D)return 0;if(!F(document.body,I.node)){var X="position: relative;";I.coverGutter&&(X+="margin-left: -"+D.display.gutters.offsetWidth+"px;"),I.noHScroll&&(X+="width: "+D.display.wrapper.clientWidth+"px;"),_(D.display.measure,L("div",[I.node],null,X))}return I.height=I.node.parentNode.offsetHeight}function Ln(I,D){for(var X=je(D);X!=I.wrapper;X=X.parentNode)if(!X||X.nodeType==1&&X.getAttribute("cm-ignore-events")=="true"||X.parentNode==I.sizer&&X!=I.mover)return!0}function xn(I){return I.lineSpace.offsetTop}function Gn(I){return I.mover.offsetHeight-I.lineSpace.offsetHeight}function ui(I){if(I.cachedPaddingH)return I.cachedPaddingH;var D=_(I.measure,L("pre","x","CodeMirror-line-like")),X=window.getComputedStyle?window.getComputedStyle(D):D.currentStyle,J={left:parseInt(X.paddingLeft),right:parseInt(X.paddingRight)};return!isNaN(J.left)&&!isNaN(J.right)&&(I.cachedPaddingH=J),J}function Jn(I){return G-I.display.nativeBarWidth}function pi(I){return I.display.scroller.clientWidth-Jn(I)-I.display.barWidth}function wi(I){return I.display.scroller.clientHeight-Jn(I)-I.display.barHeight}function Ni(I,D,X){var J=I.options.lineWrapping,ne=J&&pi(I);if(!D.measure.heights||J&&D.measure.width!=ne){var Pe=D.measure.heights=[];if(J){D.measure.width=ne;for(var ct=D.text.firstChild.getClientRects(),Ht=0;Ht<ct.length-1;Ht++){var ir=ct[Ht],cr=ct[Ht+1];Math.abs(ir.bottom-cr.bottom)>2&&Pe.push((ir.bottom+cr.top)/2-X.top)}}Pe.push(X.bottom-X.top)}}function Si(I,D,X){if(I.line==D)return{map:I.measure.map,cache:I.measure.cache};for(var J=0;J<I.rest.length;J++)if(I.rest[J]==D)return{map:I.measure.maps[J],cache:I.measure.caches[J]};for(var ne=0;ne<I.rest.length;ne++)if(Mt(I.rest[ne])>X)return{map:I.measure.maps[ne],cache:I.measure.caches[ne],before:!0}}function vi(I,D){D=bt(D);var X=Mt(D),J=I.display.externalMeasured=new Yi(I.doc,D,X);J.lineN=X;var ne=J.built=Un(I,J);return J.text=ne.pre,_(I.display.lineMeasure,ne.pre),J}function Ai(I,D,X,J){return $i(I,Ui(I,D),X,J)}function Ci(I,D){if(D>=I.display.viewFrom&&D<I.display.viewTo)return I.display.view[Fa(I,D)];var X=I.display.externalMeasured;if(X&&D>=X.lineN&&D<X.lineN+X.size)return X}function Ui(I,D){var X=Mt(D),J=Ci(I,X);J&&!J.text?J=null:J&&J.changes&&(on(I,J,X,Ro(I)),I.curOp.forceUpdate=!0),J||(J=vi(I,D));var ne=Si(J,D,X);return{line:D,view:J,rect:null,map:ne.map,cache:ne.cache,before:ne.before,hasHeights:!1}}function $i(I,D,X,J,ne){D.before&&(X=-1);var Pe=X+(J||""),ct;return D.cache.hasOwnProperty(Pe)?ct=D.cache[Pe]:(D.rect||(D.rect=D.view.text.getBoundingClientRect()),D.hasHeights||(Ni(I,D.view,D.rect),D.hasHeights=!0),ct=Xi(I,D,X,J),ct.bogus||(D.cache[Pe]=ct)),{left:ct.left,right:ct.right,top:ne?ct.rtop:ct.top,bottom:ne?ct.rbottom:ct.bottom}}var Di={left:0,right:0,top:0,bottom:0};function ua(I,D,X){for(var J,ne,Pe,ct,Ht,ir,cr=0;cr<I.length;cr+=3)if(Ht=I[cr],ir=I[cr+1],D<Ht?(ne=0,Pe=1,ct="left"):D<ir?(ne=D-Ht,Pe=ne+1):(cr==I.length-3||D==ir&&I[cr+3]>D)&&(Pe=ir-Ht,ne=Pe-1,D>=ir&&(ct="right")),ne!=null){if(J=I[cr+2],Ht==ir&&X==(J.insertLeft?"left":"right")&&(ct=X),X=="left"&&ne==0)for(;cr&&I[cr-2]==I[cr-3]&&I[cr-1].insertLeft;)J=I[(cr-=3)+2],ct="left";if(X=="right"&&ne==ir-Ht)for(;cr<I.length-3&&I[cr+3]==I[cr+4]&&!I[cr+5].insertLeft;)J=I[(cr+=3)+2],ct="right";break}return{node:J,start:ne,end:Pe,collapse:ct,coverStart:Ht,coverEnd:ir}}function aa(I,D){var X=Di;if(D=="left")for(var J=0;J<I.length&&!((X=I[J]).left!=X.right);J++);else for(var ne=I.length-1;ne>=0&&!((X=I[ne]).left!=X.right);ne--);return X}function Xi(I,D,X,J){var ne=ua(D.map,X,J),Pe=ne.node,ct=ne.start,Ht=ne.end,ir=ne.collapse,cr;if(Pe.nodeType==3){for(var yn=0;yn<4;yn++){for(;ct&&Te(D.line.text.charAt(ne.coverStart+ct));)--ct;for(;ne.coverStart+Ht<ne.coverEnd&&Te(D.line.text.charAt(ne.coverStart+Ht));)++Ht;if(d&&c<9&&ct==0&&Ht==ne.coverEnd-ne.coverStart?cr=Pe.parentNode.getBoundingClientRect():cr=aa(k(Pe,ct,Ht).getClientRects(),J),cr.left||cr.right||ct==0)break;Ht=ct,ct=ct-1,ir="right"}d&&c<11&&(cr=Vi(I.display.measure,cr))}else{ct>0&&(ir=J="right");var Dn;I.options.lineWrapping&&(Dn=Pe.getClientRects()).length>1?cr=Dn[J=="right"?Dn.length-1:0]:cr=Pe.getBoundingClientRect()}if(d&&c<9&&!ct&&(!cr||!cr.left&&!cr.right)){var qn=Pe.parentNode.getClientRects()[0];qn?cr={left:qn.left,right:qn.left+oo(I.display),top:qn.top,bottom:qn.bottom}:cr=Di}for(var ni=cr.top-D.rect.top,Mi=cr.bottom-D.rect.top,Zi=(ni+Mi)/2,da=D.view.measure.heights,ia=0;ia<da.length-1&&!(Zi<da[ia]);ia++);var na=ia?da[ia-1]:0,xa=da[ia],Ma={left:(ir=="right"?cr.right:cr.left)-D.rect.left,right:(ir=="left"?cr.left:cr.right)-D.rect.left,top:na,bottom:xa};return!cr.left&&!cr.right&&(Ma.bogus=!0),I.options.singleCursorHeightPerLine||(Ma.rtop=ni,Ma.rbottom=Mi),Ma}function Vi(I,D){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Yt(I))return D;var X=screen.logicalXDPI/screen.deviceXDPI,J=screen.logicalYDPI/screen.deviceYDPI;return{left:D.left*X,right:D.right*X,top:D.top*J,bottom:D.bottom*J}}function ta(I){if(I.measure&&(I.measure.cache={},I.measure.heights=null,I.rest))for(var D=0;D<I.rest.length;D++)I.measure.caches[D]={}}function Gi(I){I.display.externalMeasure=null,C(I.display.lineMeasure);for(var D=0;D<I.display.view.length;D++)ta(I.display.view[D])}function ga(I){Gi(I),I.display.cachedCharWidth=I.display.cachedTextHeight=I.display.cachedPaddingH=null,I.options.lineWrapping||(I.display.maxLineChanged=!0),I.display.lineNumChars=null}function ra(){return t&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function pa(){return t&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function _a(I){var D=0;if(I.widgets)for(var X=0;X<I.widgets.length;++X)I.widgets[X].above&&(D+=en(I.widgets[X]));return D}function Da(I,D,X,J,ne){if(!ne){var Pe=_a(D);X.top+=Pe,X.bottom+=Pe}if(J=="line")return X;J||(J="local");var ct=mr(D);if(J=="local"?ct+=xn(I.display):ct-=I.display.viewOffset,J=="page"||J=="window"){var Ht=I.display.lineSpace.getBoundingClientRect();ct+=Ht.top+(J=="window"?0:pa());var ir=Ht.left+(J=="window"?0:ra());X.left+=ir,X.right+=ir}return X.top+=ct,X.bottom+=ct,X}function Ra(I,D,X){if(X=="div")return D;var J=D.left,ne=D.top;if(X=="page")J-=ra(),ne-=pa();else if(X=="local"||!X){var Pe=I.display.sizer.getBoundingClientRect();J+=Pe.left,ne+=Pe.top}var ct=I.display.lineSpace.getBoundingClientRect();return{left:J-ct.left,top:ne-ct.top}}function vo(I,D,X,J,ne){return J||(J=Ee(I.doc,D.line)),Da(I,J,Ai(I,J,D.ch,ne),X)}function ja(I,D,X,J,ne,Pe){J=J||Ee(I.doc,D.line),ne||(ne=Ui(I,J));function ct(Mi,Zi){var da=$i(I,ne,Mi,Zi?"right":"left",Pe);return Zi?da.left=da.right:da.right=da.left,Da(I,J,da,X)}var Ht=Et(J,I.doc.direction),ir=D.ch,cr=D.sticky;if(ir>=J.text.length?(ir=J.text.length,cr="before"):ir<=0&&(ir=0,cr="after"),!Ht)return ct(cr=="before"?ir-1:ir,cr=="before");function yn(Mi,Zi,da){var ia=Ht[Zi],na=ia.level==1;return ct(da?Mi-1:Mi,na!=da)}var Dn=Oe(Ht,ir,cr),qn=fe,ni=yn(ir,Dn,cr=="before");return qn!=null&&(ni.other=yn(ir,qn,cr!="before")),ni}function Ya(I,D){var X=0;D=vt(I.doc,D),I.options.lineWrapping||(X=oo(I.display)*D.ch);var J=Ee(I.doc,D.line),ne=mr(J)+xn(I.display);return{left:X,right:X,top:ne,bottom:ne+J.height}}function Ia(I,D,X,J,ne){var Pe=xt(I,D,X);return Pe.xRel=ne,J&&(Pe.outside=J),Pe}function Va(I,D,X){var J=I.doc;if(X+=I.display.viewOffset,X<0)return Ia(J.first,0,null,-1,-1);var ne=wr(J,X),Pe=J.first+J.size-1;if(ne>Pe)return Ia(J.first+J.size-1,Ee(J,Pe).text.length,null,1,1);D<0&&(D=0);for(var ct=Ee(J,ne);;){var Ht=uo(I,ct,ne,D,X),ir=Nt(ct,Ht.ch+(Ht.xRel>0||Ht.outside>0?1:0));if(!ir)return Ht;var cr=ir.find(1);if(cr.line==ne)return cr;ct=Ee(J,ne=cr.line)}}function co(I,D,X,J){J-=_a(D);var ne=D.text.length,Pe=De(function(ct){return $i(I,X,ct-1).bottom<=J},ne,0);return ne=De(function(ct){return $i(I,X,ct).top>J},Pe,ne),{begin:Pe,end:ne}}function Ta(I,D,X,J){X||(X=Ui(I,D));var ne=Da(I,D,$i(I,X,J),"line").top;return co(I,D,X,ne)}function yo(I,D,X,J){return I.bottom<=X?!1:I.top>X?!0:(J?I.left:I.right)>D}function uo(I,D,X,J,ne){ne-=mr(D);var Pe=Ui(I,D),ct=_a(D),Ht=0,ir=D.text.length,cr=!0,yn=Et(D,I.doc.direction);if(yn){var Dn=(I.options.lineWrapping?Oo:Xa)(I,D,X,Pe,yn,J,ne);cr=Dn.level!=1,Ht=cr?Dn.from:Dn.to-1,ir=cr?Dn.to:Dn.from-1}var qn=null,ni=null,Mi=De(function(Co){var no=$i(I,Pe,Co);return no.top+=ct,no.bottom+=ct,yo(no,J,ne,!1)?(no.top<=ne&&no.left<=J&&(qn=Co,ni=no),!0):!1},Ht,ir),Zi,da,ia=!1;if(ni){var na=J-ni.left<ni.right-J,xa=na==cr;Mi=qn+(xa?0:1),da=xa?"after":"before",Zi=na?ni.left:ni.right}else{!cr&&(Mi==ir||Mi==Ht)&&Mi++,da=Mi==0?"after":Mi==D.text.length?"before":$i(I,Pe,Mi-(cr?1:0)).bottom+ct<=ne==cr?"after":"before";var Ma=ja(I,xt(X,Mi,da),"line",D,Pe);Zi=Ma.left,ia=ne<Ma.top?-1:ne>=Ma.bottom?1:0}return Mi=Be(D.text,Mi,1),Ia(X,Mi,da,ia,J-Zi)}function Xa(I,D,X,J,ne,Pe,ct){var Ht=De(function(Dn){var qn=ne[Dn],ni=qn.level!=1;return yo(ja(I,xt(X,ni?qn.to:qn.from,ni?"before":"after"),"line",D,J),Pe,ct,!0)},0,ne.length-1),ir=ne[Ht];if(Ht>0){var cr=ir.level!=1,yn=ja(I,xt(X,cr?ir.from:ir.to,cr?"after":"before"),"line",D,J);yo(yn,Pe,ct,!0)&&yn.top>ct&&(ir=ne[Ht-1])}return ir}function Oo(I,D,X,J,ne,Pe,ct){var Ht=co(I,D,J,ct),ir=Ht.begin,cr=Ht.end;/\s/.test(D.text.charAt(cr-1))&&cr--;for(var yn=null,Dn=null,qn=0;qn<ne.length;qn++){var ni=ne[qn];if(ni.from>=cr||ni.to<=ir)continue;var Mi=ni.level!=1,Zi=$i(I,J,Mi?Math.min(cr,ni.to)-1:Math.max(ir,ni.from)).right,da=Zi<Pe?Pe-Zi+1e9:Zi-Pe;(!yn||Dn>da)&&(yn=ni,Dn=da)}return yn||(yn=ne[ne.length-1]),yn.from<ir&&(yn={from:ir,to:yn.to,level:yn.level}),yn.to>cr&&(yn={from:yn.from,to:cr,level:yn.level}),yn}var oa;function qa(I){if(I.cachedTextHeight!=null)return I.cachedTextHeight;if(oa==null){oa=L("pre",null,"CodeMirror-line-like");for(var D=0;D<49;++D)oa.appendChild(document.createTextNode("x")),oa.appendChild(L("br"));oa.appendChild(document.createTextNode("x"))}_(I.measure,oa);var X=oa.offsetHeight/50;return X>3&&(I.cachedTextHeight=X),C(I.measure),X||1}function oo(I){if(I.cachedCharWidth!=null)return I.cachedCharWidth;var D=L("span","xxxxxxxxxx"),X=L("pre",[D],"CodeMirror-line-like");_(I.measure,X);var J=D.getBoundingClientRect(),ne=(J.right-J.left)/10;return ne>2&&(I.cachedCharWidth=ne),ne||10}function Ro(I){for(var D=I.display,X={},J={},ne=D.gutters.clientLeft,Pe=D.gutters.firstChild,ct=0;Pe;Pe=Pe.nextSibling,++ct){var Ht=I.display.gutterSpecs[ct].className;X[Ht]=Pe.offsetLeft+Pe.clientLeft+ne,J[Ht]=Pe.clientWidth}return{fixedPos:Ga(D),gutterTotalWidth:D.gutters.offsetWidth,gutterLeft:X,gutterWidth:J,wrapperWidth:D.wrapper.clientWidth}}function Ga(I){return I.scroller.getBoundingClientRect().left-I.sizer.getBoundingClientRect().left}function _o(I){var D=qa(I.display),X=I.options.lineWrapping,J=X&&Math.max(5,I.display.scroller.clientWidth/oo(I.display)-3);return function(ne){if(qt(I.doc,ne))return 0;var Pe=0;if(ne.widgets)for(var ct=0;ct<ne.widgets.length;ct++)ne.widgets[ct].height&&(Pe+=ne.widgets[ct].height);return X?Pe+(Math.ceil(ne.text.length/J)||1)*D:Pe+D}}function go(I){var D=I.doc,X=_o(I);D.iter(function(J){var ne=X(J);ne!=J.height&&st(J,ne)})}function Ja(I,D,X,J){var ne=I.display;if(!X&&je(D).getAttribute("cm-not-content")=="true")return null;var Pe,ct,Ht=ne.lineSpace.getBoundingClientRect();try{Pe=D.clientX-Ht.left,ct=D.clientY-Ht.top}catch(Dn){return null}var ir=Va(I,Pe,ct),cr;if(J&&ir.xRel>0&&(cr=Ee(I.doc,ir.line).text).length==ir.ch){var yn=K(cr,cr.length,I.options.tabSize)-cr.length;ir=xt(ir.line,Math.max(0,Math.round((Pe-ui(I.display).left)/oo(I.display))-yn))}return ir}function Fa(I,D){if(D>=I.display.viewTo)return null;if(D-=I.display.viewFrom,D<0)return null;for(var X=I.display.view,J=0;J<X.length;J++)if(D-=X[J].size,D<0)return J}function ha(I,D,X,J){D==null&&(D=I.doc.first),X==null&&(X=I.doc.first+I.doc.size),J||(J=0);var ne=I.display;if(J&&X<ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>D)&&(ne.updateLineNumbers=D),I.curOp.viewChanged=!0,D>=ne.viewTo)We&&pt(I.doc,D)<ne.viewTo&&lr(I);else if(X<=ne.viewFrom)We&&Gt(I.doc,X+J)>ne.viewFrom?lr(I):(ne.viewFrom+=J,ne.viewTo+=J);else if(D<=ne.viewFrom&&X>=ne.viewTo)lr(I);else if(D<=ne.viewFrom){var Pe=Mr(I,X,X+J,1);Pe?(ne.view=ne.view.slice(Pe.index),ne.viewFrom=Pe.lineN,ne.viewTo+=J):lr(I)}else if(X>=ne.viewTo){var ct=Mr(I,D,D,-1);ct?(ne.view=ne.view.slice(0,ct.index),ne.viewTo=ct.lineN):lr(I)}else{var Ht=Mr(I,D,D,-1),ir=Mr(I,X,X+J,1);Ht&&ir?(ne.view=ne.view.slice(0,Ht.index).concat(Zn(I,Ht.lineN,ir.lineN)).concat(ne.view.slice(ir.index)),ne.viewTo+=J):lr(I)}var cr=ne.externalMeasured;cr&&(X<cr.lineN?cr.lineN+=J:D<cr.lineN+cr.size&&(ne.externalMeasured=null))}function tt(I,D,X){I.curOp.viewChanged=!0;var J=I.display,ne=I.display.externalMeasured;if(ne&&D>=ne.lineN&&D<ne.lineN+ne.size&&(J.externalMeasured=null),D<J.viewFrom||D>=J.viewTo)return;var Pe=J.view[Fa(I,D)];if(Pe.node==null)return;var ct=Pe.changes||(Pe.changes=[]);W(ct,X)==-1&&ct.push(X)}function lr(I){I.display.viewFrom=I.display.viewTo=I.doc.first,I.display.view=[],I.display.viewOffset=0}function Mr(I,D,X,J){var ne=Fa(I,D),Pe,ct=I.display.view;if(!We||X==I.doc.first+I.doc.size)return{index:ne,lineN:X};for(var Ht=I.display.viewFrom,ir=0;ir<ne;ir++)Ht+=ct[ir].size;if(Ht!=D){if(J>0){if(ne==ct.length-1)return null;Pe=Ht+ct[ne].size-D,ne++}else Pe=Ht-D;D+=Pe,X+=Pe}for(;pt(I.doc,X)!=X;){if(ne==(J<0?0:ct.length-1))return null;X+=J*ct[ne-(J<0?1:0)].size,ne+=J}return{index:ne,lineN:X}}function Ir(I,D,X){var J=I.display,ne=J.view;ne.length==0||D>=J.viewTo||X<=J.viewFrom?(J.view=Zn(I,D,X),J.viewFrom=D):(J.viewFrom>D?J.view=Zn(I,D,J.viewFrom).concat(J.view):J.viewFrom<D&&(J.view=J.view.slice(Fa(I,D))),J.viewFrom=D,J.viewTo<X?J.view=J.view.concat(Zn(I,J.viewTo,X)):J.viewTo>X&&(J.view=J.view.slice(0,Fa(I,X)))),J.viewTo=X}function _n(I){for(var D=I.display.view,X=0,J=0;J<D.length;J++){var ne=D[J];!ne.hidden&&(!ne.node||ne.changes)&&++X}return X}function Vr(I){I.display.input.showSelection(I.display.input.prepareSelection())}function _r(I,D){D===void 0&&(D=!0);for(var X=I.doc,J={},ne=J.cursors=document.createDocumentFragment(),Pe=J.selection=document.createDocumentFragment(),ct=0;ct<X.sel.ranges.length;ct++){if(!D&&ct==X.sel.primIndex)continue;var Ht=X.sel.ranges[ct];if(Ht.from().line>=I.display.viewTo||Ht.to().line<I.display.viewFrom)continue;var ir=Ht.empty();(ir||I.options.showCursorWhenSelecting)&&Mn(I,Ht.head,ne),ir||Sn(I,Ht,Pe)}return J}function Mn(I,D,X){var J=ja(I,D,"div",null,null,!I.options.singleCursorHeightPerLine),ne=X.appendChild(L("div","\xA0","CodeMirror-cursor"));if(ne.style.left=J.left+"px",ne.style.top=J.top+"px",ne.style.height=Math.max(0,J.bottom-J.top)*I.options.cursorHeight+"px",J.other){var Pe=X.appendChild(L("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Pe.style.display="",Pe.style.left=J.other.left+"px",Pe.style.top=J.other.top+"px",Pe.style.height=(J.other.bottom-J.other.top)*.85+"px"}}function Br(I,D){return I.top-D.top||I.left-D.left}function Sn(I,D,X){var J=I.display,ne=I.doc,Pe=document.createDocumentFragment(),ct=ui(I.display),Ht=ct.left,ir=Math.max(J.sizerWidth,pi(I)-J.sizer.offsetLeft)-ct.right,cr=ne.direction=="ltr";function yn(xa,Ma,Co,no){Ma<0&&(Ma=0),Ma=Math.round(Ma),no=Math.round(no),Pe.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+xa+`px;
top: `+Ma+"px; width: "+(Co==null?ir-xa:Co)+`px;
height: `+(no-Ma)+"px"))}function Dn(xa,Ma,Co){var no=Ee(ne,xa),Wo=no.text.length,ps,Us;function Cs(Xs,cl){return vo(I,xt(xa,Xs),"div",no,cl)}function tl(Xs,cl,rl){var ya=Ta(I,no,null,Xs),Ms=cl=="ltr"==(rl=="after")?"left":"right",Ls=rl=="after"?ya.begin:ya.end-(/\s/.test(no.text.charAt(ya.end-1))?2:1);return Cs(Ls,Ms)[Ms]}var ul=Et(no,ne.direction);return ae(ul,Ma||0,Co==null?Wo:Co,function(Xs,cl,rl,ya){var Ms=rl=="ltr",Ls=Cs(Xs,Ms?"left":"right"),Ws=Cs(cl-1,Ms?"right":"left"),Lu=Ma==null&&Xs==0,ns=Co==null&&cl==Wo,Uo=ya==0,Rl=!ul||ya==ul.length-1;if(Ws.top-Ls.top<=3){var al=(cr?Lu:ns)&&Uo,Nu=(cr?ns:Lu)&&Rl,Ql=al?Ht:(Ms?Ls:Ws).left,Ml=Nu?ir:(Ms?Ws:Ls).right;yn(Ql,Ls.top,Ml-Ql,Ls.bottom)}else{var Au,gl,Jl,ju;Ms?(Au=cr&&Lu&&Uo?Ht:Ls.left,gl=cr?ir:tl(Xs,rl,"before"),Jl=cr?Ht:tl(cl,rl,"after"),ju=cr&&ns&&Rl?ir:Ws.right):(Au=cr?tl(Xs,rl,"before"):Ht,gl=!cr&&Lu&&Uo?ir:Ls.right,Jl=!cr&&ns&&Rl?Ht:Ws.left,ju=cr?tl(cl,rl,"after"):ir),yn(Au,Ls.top,gl-Au,Ls.bottom),Ls.bottom<Ws.top&&yn(Ht,Ls.bottom,null,Ws.top),yn(Jl,Ws.top,ju-Jl,Ws.bottom)}(!ps||Br(Ls,ps)<0)&&(ps=Ls),Br(Ws,ps)<0&&(ps=Ws),(!Us||Br(Ls,Us)<0)&&(Us=Ls),Br(Ws,Us)<0&&(Us=Ws)}),{start:ps,end:Us}}var qn=D.from(),ni=D.to();if(qn.line==ni.line)Dn(qn.line,qn.ch,ni.ch);else{var Mi=Ee(ne,qn.line),Zi=Ee(ne,ni.line),da=bt(Mi)==bt(Zi),ia=Dn(qn.line,qn.ch,da?Mi.text.length+1:null).end,na=Dn(ni.line,da?0:null,ni.ch).start;da&&(ia.top<na.top-2?(yn(ia.right,ia.top,null,ia.bottom),yn(Ht,na.top,na.left,na.bottom)):yn(ia.right,ia.top,na.left-ia.right,ia.bottom)),ia.bottom<na.top&&yn(Ht,ia.bottom,null,na.top)}X.appendChild(Pe)}function jn(I){if(!I.state.focused)return;var D=I.display;clearInterval(D.blinker);var X=!0;D.cursorDiv.style.visibility="",I.options.cursorBlinkRate>0?D.blinker=setInterval(function(){I.hasFocus()||Yn(I),D.cursorDiv.style.visibility=(X=!X)?"":"hidden"},I.options.cursorBlinkRate):I.options.cursorBlinkRate<0&&(D.cursorDiv.style.visibility="hidden")}function Hn(I){I.state.focused||(I.display.input.focus(),ri(I))}function Bn(I){I.state.delayingBlurEvent=!0,setTimeout(function(){I.state.delayingBlurEvent&&(I.state.delayingBlurEvent=!1,Yn(I))},100)}function ri(I,D){if(I.state.delayingBlurEvent&&(I.state.delayingBlurEvent=!1),I.options.readOnly=="nocursor")return;I.state.focused||(Ot(I,"focus",I,D),I.state.focused=!0,z(I.display.wrapper,"CodeMirror-focused"),!I.curOp&&I.display.selForContextMenu!=I.doc.sel&&(I.display.input.reset(),o&&setTimeout(function(){return I.display.input.reset(!0)},20)),I.display.input.receivedFocus()),jn(I)}function Yn(I,D){if(I.state.delayingBlurEvent)return;I.state.focused&&(Ot(I,"blur",I,D),I.state.focused=!1,E(I.display.wrapper,"CodeMirror-focused")),clearInterval(I.display.blinker),setTimeout(function(){I.state.focused||(I.display.shift=!1)},150)}function ii(I){for(var D=I.display,X=D.lineDiv.offsetTop,J=0;J<D.view.length;J++){var ne=D.view[J],Pe=I.options.lineWrapping,ct=void 0,Ht=0;if(ne.hidden)continue;if(d&&c<8){var ir=ne.node.offsetTop+ne.node.offsetHeight;ct=ir-X,X=ir}else{var cr=ne.node.getBoundingClientRect();ct=cr.bottom-cr.top,!Pe&&ne.text.firstChild&&(Ht=ne.text.firstChild.getBoundingClientRect().right-cr.left-1)}var yn=ne.line.height-ct;if((yn>.005||yn<-.005)&&(st(ne.line,ct),ai(ne.line),ne.rest))for(var Dn=0;Dn<ne.rest.length;Dn++)ai(ne.rest[Dn]);if(Ht>I.display.sizerWidth){var qn=Math.ceil(Ht/oo(I.display));qn>I.display.maxLineLength&&(I.display.maxLineLength=qn,I.display.maxLine=ne.line,I.display.maxLineChanged=!0)}}}function ai(I){if(I.widgets)for(var D=0;D<I.widgets.length;++D){var X=I.widgets[D],J=X.node.parentNode;J&&(X.height=J.offsetHeight)}}function Pi(I,D,X){var J=X&&X.top!=null?Math.max(0,X.top):I.scroller.scrollTop;J=Math.floor(J-xn(I));var ne=X&&X.bottom!=null?X.bottom:J+I.wrapper.clientHeight,Pe=wr(D,J),ct=wr(D,ne);if(X&&X.ensure){var Ht=X.ensure.from.line,ir=X.ensure.to.line;Ht<Pe?(Pe=Ht,ct=wr(D,mr(Ee(D,Ht))+I.wrapper.clientHeight)):Math.min(ir,D.lastLine())>=ct&&(Pe=wr(D,mr(Ee(D,ir))-I.wrapper.clientHeight),ct=ir)}return{from:Pe,to:Math.max(ct,Pe+1)}}function yi(I,D){if(Bt(I,"scrollCursorIntoView"))return;var X=I.display,J=X.sizer.getBoundingClientRect(),ne=null;if(D.top+J.top<0?ne=!0:D.bottom+J.top>(window.innerHeight||document.documentElement.clientHeight)&&(ne=!1),ne!=null&&!r){var Pe=L("div","\u200B",null,`position: absolute;
top: `+(D.top-X.viewOffset-xn(I.display))+`px;
height: `+(D.bottom-D.top+Jn(I)+X.barHeight)+`px;
left: `+D.left+"px; width: "+Math.max(2,D.right-D.left)+"px;");I.display.lineSpace.appendChild(Pe),Pe.scrollIntoView(ne),I.display.lineSpace.removeChild(Pe)}}function Ki(I,D,X,J){J==null&&(J=0);var ne;!I.options.lineWrapping&&D==X&&(D=D.ch?xt(D.line,D.sticky=="before"?D.ch-1:D.ch,"after"):D,X=D.sticky=="before"?xt(D.line,D.ch+1,"before"):D);for(var Pe=0;Pe<5;Pe++){var ct=!1,Ht=ja(I,D),ir=!X||X==D?Ht:ja(I,X);ne={left:Math.min(Ht.left,ir.left),top:Math.min(Ht.top,ir.top)-J,right:Math.max(Ht.left,ir.left),bottom:Math.max(Ht.bottom,ir.bottom)+J};var cr=ea(I,ne),yn=I.doc.scrollTop,Dn=I.doc.scrollLeft;if(cr.scrollTop!=null&&(qi(I,cr.scrollTop),Math.abs(I.doc.scrollTop-yn)>1&&(ct=!0)),cr.scrollLeft!=null&&(ma(I,cr.scrollLeft),Math.abs(I.doc.scrollLeft-Dn)>1&&(ct=!0)),!ct)break}return ne}function va(I,D){var X=ea(I,D);X.scrollTop!=null&&qi(I,X.scrollTop),X.scrollLeft!=null&&ma(I,X.scrollLeft)}function ea(I,D){var X=I.display,J=qa(I.display);D.top<0&&(D.top=0);var ne=I.curOp&&I.curOp.scrollTop!=null?I.curOp.scrollTop:X.scroller.scrollTop,Pe=wi(I),ct={};D.bottom-D.top>Pe&&(D.bottom=D.top+Pe);var Ht=I.doc.height+Gn(X),ir=D.top<J,cr=D.bottom>Ht-J;if(D.top<ne)ct.scrollTop=ir?0:D.top;else if(D.bottom>ne+Pe){var yn=Math.min(D.top,(cr?Ht:D.bottom)-Pe);yn!=ne&&(ct.scrollTop=yn)}var Dn=I.options.fixedGutter?0:X.gutters.offsetWidth,qn=I.curOp&&I.curOp.scrollLeft!=null?I.curOp.scrollLeft:X.scroller.scrollLeft-Dn,ni=pi(I)-X.gutters.offsetWidth,Mi=D.right-D.left>ni;return Mi&&(D.right=D.left+ni),D.left<10?ct.scrollLeft=0:D.left<qn?ct.scrollLeft=Math.max(0,D.left+Dn-(Mi?0:10)):D.right>ni+qn-3&&(ct.scrollLeft=D.right+(Mi?0:10)-ni),ct}function Ji(I,D){if(D==null)return;Qa(I),I.curOp.scrollTop=(I.curOp.scrollTop==null?I.doc.scrollTop:I.curOp.scrollTop)+D}function sa(I){Qa(I);var D=I.getCursor();I.curOp.scrollToPos={from:D,to:D,margin:I.options.cursorScrollMargin}}function fa(I,D,X){(D!=null||X!=null)&&Qa(I),D!=null&&(I.curOp.scrollLeft=D),X!=null&&(I.curOp.scrollTop=X)}function xo(I,D){Qa(I),I.curOp.scrollToPos=D}function Qa(I){var D=I.curOp.scrollToPos;if(D){I.curOp.scrollToPos=null;var X=Ya(I,D.from),J=Ya(I,D.to);Wi(I,X,J,D.margin)}}function Wi(I,D,X,J){var ne=ea(I,{left:Math.min(D.left,X.left),top:Math.min(D.top,X.top)-J,right:Math.max(D.right,X.right),bottom:Math.max(D.bottom,X.bottom)+J});fa(I,ne.scrollLeft,ne.scrollTop)}function qi(I,D){if(Math.abs(I.doc.scrollTop-D)<2)return;S||bs(I,{top:D}),ca(I,D,!0),S&&bs(I),zo(I,100)}function ca(I,D,X){if(D=Math.max(0,Math.min(I.display.scroller.scrollHeight-I.display.scroller.clientHeight,D)),I.display.scroller.scrollTop==D&&!X)return;I.doc.scrollTop=D,I.display.scrollbars.setScrollTop(D),I.display.scroller.scrollTop!=D&&(I.display.scroller.scrollTop=D)}function ma(I,D,X,J){if(D=Math.max(0,Math.min(D,I.display.scroller.scrollWidth-I.display.scroller.clientWidth)),(X?D==I.doc.scrollLeft:Math.abs(I.doc.scrollLeft-D)<2)&&!J)return;I.doc.scrollLeft=D,_s(I),I.display.scroller.scrollLeft!=D&&(I.display.scroller.scrollLeft=D),I.display.scrollbars.setScrollLeft(D)}function Pa(I){var D=I.display,X=D.gutters.offsetWidth,J=Math.round(I.doc.height+Gn(I.display));return{clientHeight:D.scroller.clientHeight,viewHeight:D.wrapper.clientHeight,scrollWidth:D.scroller.scrollWidth,clientWidth:D.scroller.clientWidth,viewWidth:D.wrapper.clientWidth,barLeft:I.options.fixedGutter?X:0,docHeight:J,scrollHeight:J+Jn(I)+D.barHeight,nativeBarWidth:D.nativeBarWidth,gutterWidth:X}}var La=function(D,X,J){this.cm=J;var ne=this.vert=L("div",[L("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Pe=this.horiz=L("div",[L("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ne.tabIndex=Pe.tabIndex=-1,D(ne),D(Pe),Ne(ne,"scroll",function(){ne.clientHeight&&X(ne.scrollTop,"vertical")}),Ne(Pe,"scroll",function(){Pe.clientWidth&&X(Pe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&c<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};La.prototype.update=function(I){var D=I.scrollWidth>I.clientWidth+1,X=I.scrollHeight>I.clientHeight+1,J=I.nativeBarWidth;if(X){this.vert.style.display="block",this.vert.style.bottom=D?J+"px":"0";var ne=I.viewHeight-(D?J:0);this.vert.firstChild.style.height=Math.max(0,I.scrollHeight-I.clientHeight+ne)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(D){this.horiz.style.display="block",this.horiz.style.right=X?J+"px":"0",this.horiz.style.left=I.barLeft+"px";var Pe=I.viewWidth-I.barLeft-(X?J:0);this.horiz.firstChild.style.width=Math.max(0,I.scrollWidth-I.clientWidth+Pe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&I.clientHeight>0&&(J==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:X?J:0,bottom:D?J:0}},La.prototype.setScrollLeft=function(I){this.horiz.scrollLeft!=I&&(this.horiz.scrollLeft=I),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},La.prototype.setScrollTop=function(I){this.vert.scrollTop!=I&&(this.vert.scrollTop=I),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},La.prototype.zeroWidthHack=function(){var I=A&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=I,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new V,this.disableVert=new V},La.prototype.enableZeroWidthBar=function(I,D,X){I.style.pointerEvents="auto";function J(){var ne=I.getBoundingClientRect(),Pe=X=="vert"?document.elementFromPoint(ne.right-1,(ne.top+ne.bottom)/2):document.elementFromPoint((ne.right+ne.left)/2,ne.bottom-1);Pe!=I?I.style.pointerEvents="none":D.set(1e3,J)}D.set(1e3,J)},La.prototype.clear=function(){var I=this.horiz.parentNode;I.removeChild(this.horiz),I.removeChild(this.vert)};var Za=function(){};Za.prototype.update=function(){return{bottom:0,right:0}},Za.prototype.setScrollLeft=function(){},Za.prototype.setScrollTop=function(){},Za.prototype.clear=function(){};function eo(I,D){D||(D=Pa(I));var X=I.display.barWidth,J=I.display.barHeight;ko(I,D);for(var ne=0;ne<4&&X!=I.display.barWidth||J!=I.display.barHeight;ne++)X!=I.display.barWidth&&I.options.lineWrapping&&ii(I),ko(I,Pa(I)),X=I.display.barWidth,J=I.display.barHeight}function ko(I,D){var X=I.display,J=X.scrollbars.update(D);X.sizer.style.paddingRight=(X.barWidth=J.right)+"px",X.sizer.style.paddingBottom=(X.barHeight=J.bottom)+"px",X.heightForcer.style.borderBottom=J.bottom+"px solid transparent",J.right&&J.bottom?(X.scrollbarFiller.style.display="block",X.scrollbarFiller.style.height=J.bottom+"px",X.scrollbarFiller.style.width=J.right+"px"):X.scrollbarFiller.style.display="",J.bottom&&I.options.coverGutterNextToScrollbar&&I.options.fixedGutter?(X.gutterFiller.style.display="block",X.gutterFiller.style.height=J.bottom+"px",X.gutterFiller.style.width=D.gutterWidth+"px"):X.gutterFiller.style.display=""}var jo={native:La,null:Za};function cs(I){I.display.scrollbars&&(I.display.scrollbars.clear(),I.display.scrollbars.addClass&&E(I.display.wrapper,I.display.scrollbars.addClass)),I.display.scrollbars=new jo[I.options.scrollbarStyle](function(D){I.display.wrapper.insertBefore(D,I.display.scrollbarFiller),Ne(D,"mousedown",function(){I.state.focused&&setTimeout(function(){return I.display.input.focus()},0)}),D.setAttribute("cm-not-content","true")},function(D,X){X=="horizontal"?ma(I,D):qi(I,D)},I),I.display.scrollbars.addClass&&z(I.display.wrapper,I.display.scrollbars.addClass)}var Mo=0;function Lo(I){I.curOp={cm:I,viewChanged:!1,startHeight:I.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:++Mo},mi(I.curOp)}function Ba(I){var D=I.curOp;D&&Li(D,function(X){for(var J=0;J<X.ops.length;J++)X.ops[J].cm.curOp=null;za(X)})}function za(I){for(var D=I.ops,X=0;X<D.length;X++)Ca(D[X]);for(var J=0;J<D.length;J++)Po(D[J]);for(var ne=0;ne<D.length;ne++)Qo(D[ne]);for(var Pe=0;Pe<D.length;Pe++)so(D[Pe]);for(var ct=0;ct<D.length;ct++)Os(D[ct])}function Ca(I){var D=I.cm,X=D.display;Js(D),I.updateMaxLine&&fn(D),I.mustUpdate=I.viewChanged||I.forceUpdate||I.scrollTop!=null||I.scrollToPos&&(I.scrollToPos.from.line<X.viewFrom||I.scrollToPos.to.line>=X.viewTo)||X.maxLineChanged&&D.options.lineWrapping,I.update=I.mustUpdate&&new es(D,I.mustUpdate&&{top:I.scrollTop,ensure:I.scrollToPos},I.forceUpdate)}function Po(I){I.updatedDisplay=I.mustUpdate&&Ko(I.cm,I.update)}function Qo(I){var D=I.cm,X=D.display;I.updatedDisplay&&ii(D),I.barMeasure=Pa(D),X.maxLineChanged&&!D.options.lineWrapping&&(I.adjustWidthTo=Ai(D,X.maxLine,X.maxLine.text.length).left+3,D.display.sizerWidth=I.adjustWidthTo,I.barMeasure.scrollWidth=Math.max(X.scroller.clientWidth,X.sizer.offsetLeft+I.adjustWidthTo+Jn(D)+D.display.barWidth),I.maxScrollLeft=Math.max(0,X.sizer.offsetLeft+I.adjustWidthTo-pi(D))),(I.updatedDisplay||I.selectionChanged)&&(I.preparedSelection=X.input.prepareSelection())}function so(I){var D=I.cm;I.adjustWidthTo!=null&&(D.display.sizer.style.minWidth=I.adjustWidthTo+"px",I.maxScrollLeft<D.doc.scrollLeft&&ma(D,Math.min(D.display.scroller.scrollLeft,I.maxScrollLeft),!0),D.display.maxLineChanged=!1);var X=I.focus&&I.focus==j();I.preparedSelection&&D.display.input.showSelection(I.preparedSelection,X),(I.updatedDisplay||I.startHeight!=D.doc.height)&&eo(D,I.barMeasure),I.updatedDisplay&&us(D,I.barMeasure),I.selectionChanged&&jn(D),D.state.focused&&I.updateInput&&D.display.input.reset(I.typing),X&&Hn(I.cm)}function Os(I){var D=I.cm,X=D.display,J=D.doc;if(I.updatedDisplay&&hs(D,I.update),X.wheelStartX!=null&&(I.scrollTop!=null||I.scrollLeft!=null||I.scrollToPos)&&(X.wheelStartX=X.wheelStartY=null),I.scrollTop!=null&&ca(D,I.scrollTop,I.forceScroll),I.scrollLeft!=null&&ma(D,I.scrollLeft,!0,!0),I.scrollToPos){var ne=Ki(D,vt(J,I.scrollToPos.from),vt(J,I.scrollToPos.to),I.scrollToPos.margin);yi(D,ne)}var Pe=I.maybeHiddenMarkers,ct=I.maybeUnhiddenMarkers;if(Pe)for(var Ht=0;Ht<Pe.length;++Ht)Pe[Ht].lines.length||Ot(Pe[Ht],"hide");if(ct)for(var ir=0;ir<ct.length;++ir)ct[ir].lines.length&&Ot(ct[ir],"unhide");X.wrapper.offsetHeight&&(J.scrollTop=D.display.scroller.scrollTop),I.changeObjs&&Ot(D,"changes",D,I.changeObjs),I.update&&I.update.finish()}function ho(I,D){if(I.curOp)return D();Lo(I);try{return D()}finally{Ba(I)}}function bo(I,D){return function(){if(I.curOp)return D.apply(I,arguments);Lo(I);try{return D.apply(I,arguments)}finally{Ba(I)}}}function ds(I){return function(){if(this.curOp)return I.apply(this,arguments);Lo(this);try{return I.apply(this,arguments)}finally{Ba(this)}}}function Ho(I){return function(){var D=this.cm;if(!D||D.curOp)return I.apply(this,arguments);Lo(D);try{return I.apply(this,arguments)}finally{Ba(D)}}}function zo(I,D){I.doc.highlightFrontier<I.display.viewTo&&I.state.highlight.set(D,B(rn,I))}function rn(I){var D=I.doc;if(D.highlightFrontier>=I.display.viewTo)return;var X=+new Date+I.options.workTime,J=Fn(I,D.highlightFrontier),ne=[];D.iter(J.line,Math.min(D.first+D.size,I.display.viewTo+500),function(Pe){if(J.line>=I.display.viewFrom){var ct=Pe.styles,Ht=Pe.text.length>I.options.maxHighlightLength?jt(D.mode,J.state):null,ir=Jr(I,Pe,J,!0);Ht&&(J.state=Ht),Pe.styles=ir.styles;var cr=Pe.styleClasses,yn=ir.classes;yn?Pe.styleClasses=yn:cr&&(Pe.styleClasses=null);for(var Dn=!ct||ct.length!=Pe.styles.length||cr!=yn&&(!cr||!yn||cr.bgClass!=yn.bgClass||cr.textClass!=yn.textClass),qn=0;!Dn&&qn<ct.length;++qn)Dn=ct[qn]!=Pe.styles[qn];Dn&&ne.push(J.line),Pe.stateAfter=J.save(),J.nextLine()}else Pe.text.length<=I.options.maxHighlightLength&&Rn(I,Pe.text,J),Pe.stateAfter=J.line%5==0?J.save():null,J.nextLine();if(+new Date>X)return zo(I,I.options.workDelay),!0}),D.highlightFrontier=J.line,D.modeFrontier=Math.max(D.modeFrontier,J.line),ne.length&&ho(I,function(){for(var Pe=0;Pe<ne.length;Pe++)tt(I,ne[Pe],"text")})}var es=function(D,X,J){var ne=D.display;this.viewport=X,this.visible=Pi(ne,D.doc,X),this.editorIsHidden=!ne.wrapper.offsetWidth,this.wrapperHeight=ne.wrapper.clientHeight,this.wrapperWidth=ne.wrapper.clientWidth,this.oldDisplayWidth=pi(D),this.force=J,this.dims=Ro(D),this.events=[]};es.prototype.signal=function(I,D){_t(I,D)&&this.events.push(arguments)},es.prototype.finish=function(){for(var I=0;I<this.events.length;I++)Ot.apply(null,this.events[I])};function Js(I){var D=I.display;!D.scrollbarsClipped&&D.scroller.offsetWidth&&(D.nativeBarWidth=D.scroller.offsetWidth-D.scroller.clientWidth,D.heightForcer.style.height=Jn(I)+"px",D.sizer.style.marginBottom=-D.nativeBarWidth+"px",D.sizer.style.borderRightWidth=Jn(I)+"px",D.scrollbarsClipped=!0)}function Es(I){if(I.hasFocus())return null;var D=j();if(!D||!F(I.display.lineDiv,D))return null;var X={activeElt:D};if(window.getSelection){var J=window.getSelection();J.anchorNode&&J.extend&&F(I.display.lineDiv,J.anchorNode)&&(X.anchorNode=J.anchorNode,X.anchorOffset=J.anchorOffset,X.focusNode=J.focusNode,X.focusOffset=J.focusOffset)}return X}function gs(I){if(!I||!I.activeElt||I.activeElt==j())return;if(I.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(I.activeElt.nodeName)&&I.anchorNode&&F(document.body,I.anchorNode)&&F(document.body,I.focusNode)){var D=window.getSelection(),X=document.createRange();X.setEnd(I.anchorNode,I.anchorOffset),X.collapse(!1),D.removeAllRanges(),D.addRange(X),D.extend(I.focusNode,I.focusOffset)}}function Ko(I,D){var X=I.display,J=I.doc;if(D.editorIsHidden)return lr(I),!1;if(!D.force&&D.visible.from>=X.viewFrom&&D.visible.to<=X.viewTo&&(X.updateLineNumbers==null||X.updateLineNumbers>=X.viewTo)&&X.renderedView==X.view&&_n(I)==0)return!1;As(I)&&(lr(I),D.dims=Ro(I));var ne=J.first+J.size,Pe=Math.max(D.visible.from-I.options.viewportMargin,J.first),ct=Math.min(ne,D.visible.to+I.options.viewportMargin);X.viewFrom<Pe&&Pe-X.viewFrom<20&&(Pe=Math.max(J.first,X.viewFrom)),X.viewTo>ct&&X.viewTo-ct<20&&(ct=Math.min(ne,X.viewTo)),We&&(Pe=pt(I.doc,Pe),ct=Gt(I.doc,ct));var Ht=Pe!=X.viewFrom||ct!=X.viewTo||X.lastWrapHeight!=D.wrapperHeight||X.lastWrapWidth!=D.wrapperWidth;Ir(I,Pe,ct),X.viewOffset=mr(Ee(I.doc,X.viewFrom)),I.display.mover.style.top=X.viewOffset+"px";var ir=_n(I);if(!Ht&&ir==0&&!D.force&&X.renderedView==X.view&&(X.updateLineNumbers==null||X.updateLineNumbers>=X.viewTo))return!1;var cr=Es(I);return ir>4&&(X.lineDiv.style.display="none"),ws(I,X.updateLineNumbers,D.dims),ir>4&&(X.lineDiv.style.display=""),X.renderedView=X.view,gs(cr),C(X.cursorDiv),C(X.selectionDiv),X.gutters.style.height=X.sizer.style.minHeight=0,Ht&&(X.lastWrapHeight=D.wrapperHeight,X.lastWrapWidth=D.wrapperWidth,zo(I,400)),X.updateLineNumbers=null,!0}function hs(I,D){for(var X=D.viewport,J=!0;;J=!1){if(!J||!I.options.lineWrapping||D.oldDisplayWidth==pi(I)){if(X&&X.top!=null&&(X={top:Math.min(I.doc.height+Gn(I.display)-wi(I),X.top)}),D.visible=Pi(I.display,I.doc,X),D.visible.from>=I.display.viewFrom&&D.visible.to<=I.display.viewTo)break}else J&&(D.visible=Pi(I.display,I.doc,X));if(!Ko(I,D))break;ii(I);var ne=Pa(I);Vr(I),eo(I,ne),us(I,ne),D.force=!1}D.signal(I,"update",I),(I.display.viewFrom!=I.display.reportedViewFrom||I.display.viewTo!=I.display.reportedViewTo)&&(D.signal(I,"viewportChange",I,I.display.viewFrom,I.display.viewTo),I.display.reportedViewFrom=I.display.viewFrom,I.display.reportedViewTo=I.display.viewTo)}function bs(I,D){var X=new es(I,D);if(Ko(I,X)){ii(I),hs(I,X);var J=Pa(I);Vr(I),eo(I,J),us(I,J),X.finish()}}function ws(I,D,X){var J=I.display,ne=I.options.lineNumbers,Pe=J.lineDiv,ct=Pe.firstChild;function Ht(Mi){var Zi=Mi.nextSibling;return o&&A&&I.display.currentWheelTarget==Mi?Mi.style.display="none":Mi.parentNode.removeChild(Mi),Zi}for(var ir=J.view,cr=J.viewFrom,yn=0;yn<ir.length;yn++){var Dn=ir[yn];if(!Dn.hidden)if(!Dn.node||Dn.node.parentNode!=Pe){var qn=pr(I,Dn,cr,X);Pe.insertBefore(qn,ct)}else{for(;ct!=Dn.node;)ct=Ht(ct);var ni=ne&&D!=null&&D<=cr&&Dn.lineNumber;Dn.changes&&(W(Dn.changes,"gutter")>-1&&(ni=!1),on(I,Dn,cr,X)),ni&&(C(Dn.lineNumber),Dn.lineNumber.appendChild(document.createTextNode(qr(I.options,cr)))),ct=Dn.node.nextSibling}cr+=Dn.size}for(;ct;)ct=Ht(ct)}function qo(I){var D=I.gutters.offsetWidth;I.sizer.style.marginLeft=D+"px"}function us(I,D){I.display.sizer.style.minHeight=D.docHeight+"px",I.display.heightForcer.style.top=D.docHeight+"px",I.display.gutters.style.height=D.docHeight+I.display.barHeight+Jn(I)+"px"}function _s(I){var D=I.display,X=D.view;if(!D.alignWidgets&&(!D.gutters.firstChild||!I.options.fixedGutter))return;for(var J=Ga(D)-D.scroller.scrollLeft+I.doc.scrollLeft,ne=D.gutters.offsetWidth,Pe=J+"px",ct=0;ct<X.length;ct++)if(!X[ct].hidden){I.options.fixedGutter&&(X[ct].gutter&&(X[ct].gutter.style.left=Pe),X[ct].gutterBackground&&(X[ct].gutterBackground.style.left=Pe));var Ht=X[ct].alignable;if(Ht)for(var ir=0;ir<Ht.length;ir++)Ht[ir].style.left=Pe}I.options.fixedGutter&&(D.gutters.style.left=J+ne+"px")}function As(I){if(!I.options.lineNumbers)return!1;var D=I.doc,X=qr(I.options,D.first+D.size-1),J=I.display;if(X.length!=J.lineNumChars){var ne=J.measure.appendChild(L("div",[L("div",X)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Pe=ne.firstChild.offsetWidth,ct=ne.offsetWidth-Pe;return J.lineGutter.style.width="",J.lineNumInnerWidth=Math.max(Pe,J.lineGutter.offsetWidth-ct)+1,J.lineNumWidth=J.lineNumInnerWidth+ct,J.lineNumChars=J.lineNumInnerWidth?X.length:-1,J.lineGutter.style.width=J.lineNumWidth+"px",qo(I.display),!0}return!1}function Ao(I,D){for(var X=[],J=!1,ne=0;ne<I.length;ne++){var Pe=I[ne],ct=null;if(typeof Pe!="string"&&(ct=Pe.style,Pe=Pe.className),Pe=="CodeMirror-linenumbers")if(D)J=!0;else continue;X.push({className:Pe,style:ct})}return D&&!J&&X.push({className:"CodeMirror-linenumbers",style:null}),X}function to(I){var D=I.gutters,X=I.gutterSpecs;C(D),I.lineGutter=null;for(var J=0;J<X.length;++J){var ne=X[J],Pe=ne.className,ct=ne.style,Ht=D.appendChild(L("div",null,"CodeMirror-gutter "+Pe));ct&&(Ht.style.cssText=ct),Pe=="CodeMirror-linenumbers"&&(I.lineGutter=Ht,Ht.style.width=(I.lineNumWidth||1)+"px")}D.style.display=X.length?"":"none",qo(I)}function Jo(I){to(I.display),ha(I),_s(I)}function ts(I,D,X,J){var ne=this;this.input=X,ne.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),ne.scrollbarFiller.setAttribute("cm-not-content","true"),ne.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),ne.gutterFiller.setAttribute("cm-not-content","true"),ne.lineDiv=P("div",null,"CodeMirror-code"),ne.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),ne.cursorDiv=L("div",null,"CodeMirror-cursors"),ne.measure=L("div",null,"CodeMirror-measure"),ne.lineMeasure=L("div",null,"CodeMirror-measure"),ne.lineSpace=P("div",[ne.measure,ne.lineMeasure,ne.selectionDiv,ne.cursorDiv,ne.lineDiv],null,"position: relative; outline: none");var Pe=P("div",[ne.lineSpace],"CodeMirror-lines");ne.mover=L("div",[Pe],null,"position: relative"),ne.sizer=L("div",[ne.mover],"CodeMirror-sizer"),ne.sizerWidth=null,ne.heightForcer=L("div",null,null,"position: absolute; height: "+G+"px; width: 1px;"),ne.gutters=L("div",null,"CodeMirror-gutters"),ne.lineGutter=null,ne.scroller=L("div",[ne.sizer,ne.heightForcer,ne.gutters],"CodeMirror-scroll"),ne.scroller.setAttribute("tabIndex","-1"),ne.wrapper=L("div",[ne.scrollbarFiller,ne.gutterFiller,ne.scroller],"CodeMirror"),d&&c<8&&(ne.gutters.style.zIndex=-1,ne.scroller.style.paddingRight=0),!o&&!(S&&h)&&(ne.scroller.draggable=!0),I&&(I.appendChild?I.appendChild(ne.wrapper):I(ne.wrapper)),ne.viewFrom=ne.viewTo=D.first,ne.reportedViewFrom=ne.reportedViewTo=D.first,ne.view=[],ne.renderedView=null,ne.externalMeasured=null,ne.viewOffset=0,ne.lastWrapHeight=ne.lastWrapWidth=0,ne.updateLineNumbers=null,ne.nativeBarWidth=ne.barHeight=ne.barWidth=0,ne.scrollbarsClipped=!1,ne.lineNumWidth=ne.lineNumInnerWidth=ne.lineNumChars=null,ne.alignWidgets=!1,ne.cachedCharWidth=ne.cachedTextHeight=ne.cachedPaddingH=null,ne.maxLine=null,ne.maxLineLength=0,ne.maxLineChanged=!1,ne.wheelDX=ne.wheelDY=ne.wheelStartX=ne.wheelStartY=null,ne.shift=!1,ne.selForContextMenu=null,ne.activeTouch=null,ne.gutterSpecs=Ao(J.gutters,J.lineNumbers),to(ne),X.init(ne)}var Ha=0,Ct=null;d?Ct=-.53:S?Ct=15:t?Ct=-.7:e&&(Ct=-1/3);function Wt(I){var D=I.wheelDeltaX,X=I.wheelDeltaY;return D==null&&I.detail&&I.axis==I.HORIZONTAL_AXIS&&(D=I.detail),X==null&&I.detail&&I.axis==I.VERTICAL_AXIS?X=I.detail:X==null&&(X=I.wheelDelta),{x:D,y:X}}function cn(I){var D=Wt(I);return D.x*=Ct,D.y*=Ct,D}function zn(I,D){var X=Wt(D),J=X.x,ne=X.y,Pe=I.display,ct=Pe.scroller,Ht=ct.scrollWidth>ct.clientWidth,ir=ct.scrollHeight>ct.clientHeight;if(!(J&&Ht||ne&&ir))return;if(ne&&A&&o){e:for(var cr=D.target,yn=Pe.view;cr!=ct;cr=cr.parentNode)for(var Dn=0;Dn<yn.length;Dn++)if(yn[Dn].node==cr){I.display.currentWheelTarget=cr;break e}}if(J&&!S&&!a&&Ct!=null){ne&&ir&&qi(I,Math.max(0,ct.scrollTop+ne*Ct)),ma(I,Math.max(0,ct.scrollLeft+J*Ct)),(!ne||ne&&ir)&&ke(D),Pe.wheelStartX=null;return}if(ne&&Ct!=null){var qn=ne*Ct,ni=I.doc.scrollTop,Mi=ni+Pe.wrapper.clientHeight;qn<0?ni=Math.max(0,ni+qn-50):Mi=Math.min(I.doc.height,Mi+qn+50),bs(I,{top:ni,bottom:Mi})}Ha<20&&(Pe.wheelStartX==null?(Pe.wheelStartX=ct.scrollLeft,Pe.wheelStartY=ct.scrollTop,Pe.wheelDX=J,Pe.wheelDY=ne,setTimeout(function(){if(Pe.wheelStartX==null)return;var Zi=ct.scrollLeft-Pe.wheelStartX,da=ct.scrollTop-Pe.wheelStartY,ia=da&&Pe.wheelDY&&da/Pe.wheelDY||Zi&&Pe.wheelDX&&Zi/Pe.wheelDX;if(Pe.wheelStartX=Pe.wheelStartY=null,!ia)return;Ct=(Ct*Ha+ia)/(Ha+1),++Ha},200)):(Pe.wheelDX+=J,Pe.wheelDY+=ne))}var ht=function(D,X){this.ranges=D,this.primIndex=X};ht.prototype.primary=function(){return this.ranges[this.primIndex]},ht.prototype.equals=function(I){if(I==this)return!0;if(I.primIndex!=this.primIndex||I.ranges.length!=this.ranges.length)return!1;for(var D=0;D<this.ranges.length;D++){var X=this.ranges[D],J=I.ranges[D];if(!it(X.anchor,J.anchor)||!it(X.head,J.head))return!1}return!0},ht.prototype.deepCopy=function(){for(var I=[],D=0;D<this.ranges.length;D++)I[D]=new Z($t(this.ranges[D].anchor),$t(this.ranges[D].head));return new ht(I,this.primIndex)},ht.prototype.somethingSelected=function(){for(var I=0;I<this.ranges.length;I++)if(!this.ranges[I].empty())return!0;return!1},ht.prototype.contains=function(I,D){D||(D=I);for(var X=0;X<this.ranges.length;X++){var J=this.ranges[X];if(rt(D,J.from())>=0&&rt(I,J.to())<=0)return X}return-1};var Z=function(D,X){this.anchor=D,this.head=X};Z.prototype.from=function(){return St(this.anchor,this.head)},Z.prototype.to=function(){return Dt(this.anchor,this.head)},Z.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function se(I,D,X){var J=I&&I.options.selectionsMayTouch,ne=D[X];D.sort(function(qn,ni){return rt(qn.from(),ni.from())}),X=W(D,ne);for(var Pe=1;Pe<D.length;Pe++){var ct=D[Pe],Ht=D[Pe-1],ir=rt(Ht.to(),ct.from());if(J&&!ct.empty()?ir>0:ir>=0){var cr=St(Ht.from(),ct.from()),yn=Dt(Ht.to(),ct.to()),Dn=Ht.empty()?ct.from()==ct.head:Ht.from()==Ht.head;Pe<=X&&--X,D.splice(--Pe,2,new Z(Dn?yn:cr,Dn?cr:yn))}}return new ht(D,X)}function pe(I,D){return new ht([new Z(I,D||I)],0)}function Ue(I){return I.text?xt(I.from.line+I.text.length-1,ue(I.text).length+(I.text.length==1?I.from.ch:0)):I.to}function ft(I,D){if(rt(I,D.from)<0)return I;if(rt(I,D.to)<=0)return Ue(D);var X=I.line+D.text.length-(D.to.line-D.from.line)-1,J=I.ch;return I.line==D.to.line&&(J+=Ue(D).ch-D.to.ch),xt(X,J)}function zt(I,D){for(var X=[],J=0;J<I.sel.ranges.length;J++){var ne=I.sel.ranges[J];X.push(new Z(ft(ne.anchor,D),ft(ne.head,D)))}return se(I.cm,X,I.sel.primIndex)}function Dr(I,D,X){return I.line==D.line?xt(X.line,I.ch-D.ch+X.ch):xt(X.line+(I.line-D.line),I.ch)}function Xr(I,D,X){for(var J=[],ne=xt(I.first,0),Pe=ne,ct=0;ct<D.length;ct++){var Ht=D[ct],ir=Dr(Ht.from,ne,Pe),cr=Dr(Ue(Ht),ne,Pe);if(ne=Ht.to,Pe=cr,X=="around"){var yn=I.sel.ranges[ct],Dn=rt(yn.head,yn.anchor)<0;J[ct]=new Z(Dn?cr:ir,Dn?ir:cr)}else J[ct]=new Z(ir,ir)}return new ht(J,I.sel.primIndex)}function dn(I){I.doc.mode=xi(I.options,I.doc.modeOption),Kn(I)}function Kn(I){I.doc.iter(function(D){D.stateAfter&&(D.stateAfter=null),D.styles&&(D.styles=null)}),I.doc.modeFrontier=I.doc.highlightFrontier=I.doc.first,zo(I,100),I.state.modeGen++,I.curOp&&ha(I)}function $n(I,D){return D.from.ch==0&&D.to.ch==0&&ue(D.text)==""&&(!I.cm||I.cm.options.wholeLineUpdateBefore)}function Qn(I,D,X,J){function ne(na){return X?X[na]:null}function Pe(na,xa,Ma){Yr(na,xa,Ma,J),Ar(na,"change",na,D)}function ct(na,xa){for(var Ma=[],Co=na;Co<xa;++Co)Ma.push(new Wn(cr[Co],ne(Co),J));return Ma}var Ht=D.from,ir=D.to,cr=D.text,yn=Ee(I,Ht.line),Dn=Ee(I,ir.line),qn=ue(cr),ni=ne(cr.length-1),Mi=ir.line-Ht.line;if(D.full)I.insert(0,ct(0,cr.length)),I.remove(cr.length,I.size-cr.length);else if($n(I,D)){var Zi=ct(0,cr.length-1);Pe(Dn,Dn.text,ni),Mi&&I.remove(Ht.line,Mi),Zi.length&&I.insert(Ht.line,Zi)}else if(yn==Dn)if(cr.length==1)Pe(yn,yn.text.slice(0,Ht.ch)+qn+yn.text.slice(ir.ch),ni);else{var da=ct(1,cr.length-1);da.push(new Wn(qn+yn.text.slice(ir.ch),ni,J)),Pe(yn,yn.text.slice(0,Ht.ch)+cr[0],ne(0)),I.insert(Ht.line+1,da)}else if(cr.length==1)Pe(yn,yn.text.slice(0,Ht.ch)+cr[0]+Dn.text.slice(ir.ch),ne(0)),I.remove(Ht.line+1,Mi);else{Pe(yn,yn.text.slice(0,Ht.ch)+cr[0],ne(0)),Pe(Dn,qn+Dn.text.slice(ir.ch),ni);var ia=ct(1,cr.length-1);Mi>1&&I.remove(Ht.line+1,Mi-1),I.insert(Ht.line+1,ia)}Ar(I,"change",I,D)}function Ei(I,D,X){function J(ne,Pe,ct){if(ne.linked)for(var Ht=0;Ht<ne.linked.length;++Ht){var ir=ne.linked[Ht];if(ir.doc==Pe)continue;var cr=ct&&ir.sharedHist;if(X&&!cr)continue;D(ir.doc,cr),J(ir.doc,ne,cr)}}J(I,null,!0)}function Fi(I,D){if(D.cm)throw new Error("This document is already in use.");I.doc=D,D.cm=I,go(I),dn(I),Aa(I),I.options.lineWrapping||fn(I),I.options.mode=D.modeOption,ha(I)}function Aa(I){(I.doc.direction=="rtl"?z:E)(I.display.lineDiv,"CodeMirror-rtl")}function Oa(I){ho(I,function(){Aa(I),ha(I)})}function fo(I){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=I||1}function wo(I,D){var X={from:$t(D.from),to:Ue(D),text:Ge(I,D.from,D.to)};return is(I,X,D.from.line,D.to.line+1),Ei(I,function(J){return is(J,X,D.from.line,D.to.line+1)},!0),X}function lo(I){for(;I.length;){var D=ue(I);if(D.ranges)I.pop();else break}}function Yo(I,D){if(D)return lo(I.done),ue(I.done);if(I.done.length&&!ue(I.done).ranges)return ue(I.done);if(I.done.length>1&&!I.done[I.done.length-2].ranges)return I.done.pop(),ue(I.done)}function Vo(I,D,X,J){var ne=I.history;ne.undone.length=0;var Pe=+new Date,ct,Ht;if((ne.lastOp==J||ne.lastOrigin==D.origin&&D.origin&&(D.origin.charAt(0)=="+"&&ne.lastModTime>Pe-(I.cm?I.cm.options.historyEventDelay:500)||D.origin.charAt(0)=="*"))&&(ct=Yo(ne,ne.lastOp==J)))Ht=ue(ct.changes),rt(D.from,D.to)==0&&rt(D.from,Ht.to)==0?Ht.to=Ue(D):ct.changes.push(wo(I,D));else{var ir=ue(ne.done);for((!ir||!ir.ranges)&&Ka(I.sel,ne.done),ct={changes:[wo(I,D)],generation:ne.generation},ne.done.push(ct);ne.done.length>ne.undoDepth;)ne.done.shift(),ne.done[0].ranges||ne.done.shift()}ne.done.push(X),ne.generation=++ne.maxGeneration,ne.lastModTime=ne.lastSelTime=Pe,ne.lastOp=ne.lastSelOp=J,ne.lastOrigin=ne.lastSelOrigin=D.origin,Ht||Ot(I,"historyAdded")}function No(I,D,X,J){var ne=D.charAt(0);return ne=="*"||ne=="+"&&X.ranges.length==J.ranges.length&&X.somethingSelected()==J.somethingSelected()&&new Date-I.history.lastSelTime<=(I.cm?I.cm.options.historyEventDelay:500)}function ao(I,D,X,J){var ne=I.history,Pe=J&&J.origin;X==ne.lastSelOp||Pe&&ne.lastSelOrigin==Pe&&(ne.lastModTime==ne.lastSelTime&&ne.lastOrigin==Pe||No(I,Pe,ue(ne.done),D))?ne.done[ne.done.length-1]=D:Ka(D,ne.done),ne.lastSelTime=+new Date,ne.lastSelOrigin=Pe,ne.lastSelOp=X,J&&J.clearRedo!==!1&&lo(ne.undone)}function Ka(I,D){var X=ue(D);X&&X.ranges&&X.equals(I)||D.push(I)}function is(I,D,X,J){var ne=D["spans_"+I.id],Pe=0;I.iter(Math.max(I.first,X),Math.min(I.first+I.size,J),function(ct){ct.markedSpans&&((ne||(ne=D["spans_"+I.id]={}))[Pe]=ct.markedSpans),++Pe})}function Is(I){if(!I)return null;for(var D,X=0;X<I.length;++X)I[X].marker.explicitlyCleared?D||(D=I.slice(0,X)):D&&D.push(I[X]);return D?D.length?D:null:I}function Xo(I,D){var X=D["spans_"+I.id];if(!X)return null;for(var J=[],ne=0;ne<D.text.length;++ne)J.push(Is(X[ne]));return J}function la(I,D){var X=Xo(I,D),J=On(I,D);if(!X)return J;if(!J)return X;for(var ne=0;ne<X.length;++ne){var Pe=X[ne],ct=J[ne];if(Pe&&ct){e:for(var Ht=0;Ht<ct.length;++Ht){for(var ir=ct[Ht],cr=0;cr<Pe.length;++cr)if(Pe[cr].marker==ir.marker)continue e;Pe.push(ir)}}else ct&&(X[ne]=ct)}return X}function Vs(I,D,X){for(var J=[],ne=0;ne<I.length;++ne){var Pe=I[ne];if(Pe.ranges){J.push(X?ht.prototype.deepCopy.call(Pe):Pe);continue}var ct=Pe.changes,Ht=[];J.push({changes:Ht});for(var ir=0;ir<ct.length;++ir){var cr=ct[ir],yn=void 0;if(Ht.push({from:cr.from,to:cr.to,text:cr.text}),D)for(var Dn in cr)(yn=Dn.match(/^spans_(\d+)$/))&&(W(D,Number(yn[1]))>-1&&(ue(Ht)[Dn]=cr[Dn],delete cr[Dn]))}}return J}function Hs(I,D,X,J){if(J){var ne=I.anchor;if(X){var Pe=rt(D,ne)<0;Pe!=rt(X,ne)<0?(ne=D,D=X):Pe!=rt(D,X)<0&&(D=X)}return new Z(ne,D)}else return new Z(X||D,D)}function fs(I,D,X,J,ne){ne==null&&(ne=I.cm&&(I.cm.display.shift||I.extend)),Zo(I,new ht([Hs(I.sel.primary(),D,X,ne)],0),J)}function as(I,D,X){for(var J=[],ne=I.cm&&(I.cm.display.shift||I.extend),Pe=0;Pe<I.sel.ranges.length;Pe++)J[Pe]=Hs(I.sel.ranges[Pe],D[Pe],null,ne);var ct=se(I.cm,J,I.sel.primIndex);Zo(I,ct,X)}function Ss(I,D,X,J){var ne=I.sel.ranges.slice(0);ne[D]=X,Zo(I,se(I.cm,ne,I.sel.primIndex),J)}function xl(I,D,X,J){Zo(I,pe(D,X),J)}function Al(I,D,X){var J={ranges:D.ranges,update:function(Pe){this.ranges=[];for(var ct=0;ct<Pe.length;ct++)this.ranges[ct]=new Z(vt(I,Pe[ct].anchor),vt(I,Pe[ct].head))},origin:X&&X.origin};return Ot(I,"beforeSelectionChange",I,J),I.cm&&Ot(I.cm,"beforeSelectionChange",I.cm,J),J.ranges!=D.ranges?se(I.cm,J.ranges,J.ranges.length-1):D}function zs(I,D,X){var J=I.history.done,ne=ue(J);ne&&ne.ranges?(J[J.length-1]=D,vs(I,D,X)):Zo(I,D,X)}function Zo(I,D,X){vs(I,D,X),ao(I,I.sel,I.cm?I.cm.curOp.id:NaN,X)}function vs(I,D,X){(_t(I,"beforeSelectionChange")||I.cm&&_t(I.cm,"beforeSelectionChange"))&&(D=Al(I,D,X));var J=X&&X.bias||(rt(D.primary().head,I.sel.primary().head)<0?-1:1);nl(I,po(I,D,J,!0)),!(X&&X.scroll===!1)&&I.cm&&sa(I.cm)}function nl(I,D){if(D.equals(I.sel))return;I.sel=D,I.cm&&(I.cm.curOp.updateInput=1,I.cm.curOp.selectionChanged=!0,kt(I.cm)),Ar(I,"cursorActivity",I)}function ks(I){nl(I,po(I,I.sel,null,!1))}function po(I,D,X,J){for(var ne,Pe=0;Pe<D.ranges.length;Pe++){var ct=D.ranges[Pe],Ht=D.ranges.length==I.sel.ranges.length&&I.sel.ranges[Pe],ir=Eo(I,ct.anchor,Ht&&Ht.anchor,X,J),cr=Eo(I,ct.head,Ht&&Ht.head,X,J);(ne||ir!=ct.anchor||cr!=ct.head)&&(ne||(ne=D.ranges.slice(0,Pe)),ne[Pe]=new Z(ir,cr))}return ne?se(I.cm,ne,D.primIndex):D}function Wa(I,D,X,J,ne){var Pe=Ee(I,D.line);if(Pe.markedSpans)for(var ct=0;ct<Pe.markedSpans.length;++ct){var Ht=Pe.markedSpans[ct],ir=Ht.marker,cr="selectLeft"in ir?!ir.selectLeft:ir.inclusiveLeft,yn="selectRight"in ir?!ir.selectRight:ir.inclusiveRight;if((Ht.from==null||(cr?Ht.from<=D.ch:Ht.from<D.ch))&&(Ht.to==null||(yn?Ht.to>=D.ch:Ht.to>D.ch))){if(ne&&(Ot(ir,"beforeCursorEnter"),ir.explicitlyCleared))if(Pe.markedSpans){--ct;continue}else break;if(!ir.atomic)continue;if(X){var Dn=ir.find(J<0?1:-1),qn=void 0;if((J<0?yn:cr)&&(Dn=Go(I,Dn,-J,Dn&&Dn.line==D.line?Pe:null)),Dn&&Dn.line==D.line&&(qn=rt(Dn,X))&&(J<0?qn<0:qn>0))return Wa(I,Dn,D,J,ne)}var ni=ir.find(J<0?-1:1);return(J<0?cr:yn)&&(ni=Go(I,ni,J,ni.line==D.line?Pe:null)),ni?Wa(I,ni,D,J,ne):null}}return D}function Eo(I,D,X,J,ne){var Pe=J||1,ct=Wa(I,D,X,Pe,ne)||!ne&&Wa(I,D,X,Pe,!0)||Wa(I,D,X,-Pe,ne)||!ne&&Wa(I,D,X,-Pe,!0);return ct||(I.cantEdit=!0,xt(I.first,0))}function Go(I,D,X,J){return X<0&&D.ch==0?D.line>I.first?vt(I,xt(D.line-1)):null:X>0&&D.ch==(J||Ee(I,D.line)).text.length?D.line<I.first+I.size-1?xt(D.line+1,0):null:new xt(D.line,D.ch+X)}function $o(I){I.setSelection(xt(I.firstLine(),0),xt(I.lastLine()),ye)}function To(I,D,X){var J={canceled:!1,from:D.from,to:D.to,text:D.text,origin:D.origin,cancel:function(){return J.canceled=!0}};return X&&(J.update=function(ne,Pe,ct,Ht){ne&&(J.from=vt(I,ne)),Pe&&(J.to=vt(I,Pe)),ct&&(J.text=ct),Ht!==void 0&&(J.origin=Ht)}),Ot(I,"beforeChange",I,J),I.cm&&Ot(I.cm,"beforeChange",I.cm,J),J.canceled?(I.cm&&(I.cm.curOp.updateInput=2),null):{from:J.from,to:J.to,text:J.text,origin:J.origin}}function rs(I,D,X){if(I.cm){if(!I.cm.curOp)return bo(I.cm,rs)(I,D,X);if(I.cm.state.suppressEdits)return}if((_t(I,"beforeChange")||I.cm&&_t(I.cm,"beforeChange"))&&(D=To(I,D,!0),!D))return;var J=Ve&&!X&&gn(I,D.from,D.to);if(J)for(var ne=J.length-1;ne>=0;--ne)os(I,{from:J[ne].from,to:J[ne].to,text:ne?[""]:D.text,origin:D.origin});else os(I,D)}function os(I,D){if(D.text.length==1&&D.text[0]==""&&rt(D.from,D.to)==0)return;var X=zt(I,D);Vo(I,D,X,I.cm?I.cm.curOp.id:NaN),Zs(I,D,X,On(I,D));var J=[];Ei(I,function(ne,Pe){!Pe&&W(J,ne.history)==-1&&(Ns(ne.history,D),J.push(ne.history)),Zs(ne,D,null,On(ne,D))})}function Fs(I,D,X){var J=I.cm&&I.cm.state.suppressEdits;if(J&&!X)return;for(var ne=I.history,Pe,ct=I.sel,Ht=D=="undo"?ne.done:ne.undone,ir=D=="undo"?ne.undone:ne.done,cr=0;cr<Ht.length&&!(Pe=Ht[cr],X?Pe.ranges&&!Pe.equals(I.sel):!Pe.ranges);cr++);if(cr==Ht.length)return;for(ne.lastOrigin=ne.lastSelOrigin=null;;)if(Pe=Ht.pop(),Pe.ranges){if(Ka(Pe,ir),X&&!Pe.equals(I.sel)){Zo(I,Pe,{clearRedo:!1});return}ct=Pe}else if(J){Ht.push(Pe);return}else break;var yn=[];Ka(ct,ir),ir.push({changes:yn,generation:ne.generation}),ne.generation=Pe.generation||++ne.maxGeneration;for(var Dn=_t(I,"beforeChange")||I.cm&&_t(I.cm,"beforeChange"),qn=function(da){var ia=Pe.changes[da];if(ia.origin=D,Dn&&!To(I,ia,!1))return Ht.length=0,{};yn.push(wo(I,ia));var na=da?zt(I,ia):ue(Ht);Zs(I,ia,na,la(I,ia)),!da&&I.cm&&I.cm.scrollIntoView({from:ia.from,to:Ue(ia)});var xa=[];Ei(I,function(Ma,Co){!Co&&W(xa,Ma.history)==-1&&(Ns(Ma.history,ia),xa.push(Ma.history)),Zs(Ma,ia,null,la(Ma,ia))})},ni=Pe.changes.length-1;ni>=0;--ni){var Mi=qn(ni);if(Mi)return Mi.v}}function ol(I,D){if(D==0)return;if(I.first+=D,I.sel=new ht(Le(I.sel.ranges,function(ne){return new Z(xt(ne.anchor.line+D,ne.anchor.ch),xt(ne.head.line+D,ne.head.ch))}),I.sel.primIndex),I.cm){ha(I.cm,I.first,I.first-D,D);for(var X=I.cm.display,J=X.viewFrom;J<X.viewTo;J++)tt(I.cm,J,"gutter")}}function Zs(I,D,X,J){if(I.cm&&!I.cm.curOp)return bo(I.cm,Zs)(I,D,X,J);if(D.to.line<I.first){ol(I,D.text.length-1-(D.to.line-D.from.line));return}if(D.from.line>I.lastLine())return;if(D.from.line<I.first){var ne=D.text.length-1-(I.first-D.from.line);ol(I,ne),D={from:xt(I.first,0),to:xt(D.to.line+ne,D.to.ch),text:[ue(D.text)],origin:D.origin}}var Pe=I.lastLine();D.to.line>Pe&&(D={from:D.from,to:xt(Pe,Ee(I,Pe).text.length),text:[D.text[0]],origin:D.origin}),D.removed=Ge(I,D.from,D.to),X||(X=zt(I,D)),I.cm?dl(I.cm,D,J):Qn(I,D,J),vs(I,X,ye),I.cantEdit&&Eo(I,xt(I.firstLine(),0))&&(I.cantEdit=!1)}function dl(I,D,X){var J=I.doc,ne=I.display,Pe=D.from,ct=D.to,Ht=!1,ir=Pe.line;I.options.lineWrapping||(ir=Mt(bt(Ee(J,Pe.line))),J.iter(ir,ct.line+1,function(ni){if(ni==ne.maxLine)return Ht=!0,!0})),J.sel.contains(D.from,D.to)>-1&&kt(I),Qn(J,D,X,_o(I)),I.options.lineWrapping||(J.iter(ir,Pe.line+D.text.length,function(ni){var Mi=wn(ni);Mi>ne.maxLineLength&&(ne.maxLine=ni,ne.maxLineLength=Mi,ne.maxLineChanged=!0,Ht=!1)}),Ht&&(I.curOp.updateMaxLine=!0)),Fe(J,Pe.line),zo(I,400);var cr=D.text.length-(ct.line-Pe.line)-1;D.full?ha(I):Pe.line==ct.line&&D.text.length==1&&!$n(I.doc,D)?tt(I,Pe.line,"text"):ha(I,Pe.line,ct.line+1,cr);var yn=_t(I,"changes"),Dn=_t(I,"change");if(Dn||yn){var qn={from:Pe,to:ct,text:D.text,removed:D.removed,origin:D.origin};Dn&&Ar(I,"change",I,qn),yn&&(I.curOp.changeObjs||(I.curOp.changeObjs=[])).push(qn)}I.display.selForContextMenu=null}function hl(I,D,X,J,ne){var Pe;J||(J=X),rt(J,X)<0&&(Pe=[J,X],X=Pe[0],J=Pe[1]),typeof D=="string"&&(D=I.splitLines(D)),rs(I,{from:X,to:J,text:D,origin:ne})}function sl(I,D,X,J){X<I.line?I.line+=J:D<I.line&&(I.line=D,I.ch=0)}function yl(I,D,X,J){for(var ne=0;ne<I.length;++ne){var Pe=I[ne],ct=!0;if(Pe.ranges){Pe.copied||(Pe=I[ne]=Pe.deepCopy(),Pe.copied=!0);for(var Ht=0;Ht<Pe.ranges.length;Ht++)sl(Pe.ranges[Ht].anchor,D,X,J),sl(Pe.ranges[Ht].head,D,X,J);continue}for(var ir=0;ir<Pe.changes.length;++ir){var cr=Pe.changes[ir];if(X<cr.from.line)cr.from=xt(cr.from.line+J,cr.from.ch),cr.to=xt(cr.to.line+J,cr.to.ch);else if(D<=cr.to.line){ct=!1;break}}ct||(I.splice(0,ne+1),ne=0)}}function Ns(I,D){var X=D.from.line,J=D.to.line,ne=D.text.length-(J-X)-1;yl(I.done,X,J,ne),yl(I.undone,X,J,ne)}function ys(I,D,X,J){var ne=D,Pe=D;return typeof D=="number"?Pe=Ee(I,Ut(I,D)):ne=Mt(D),ne==null?null:(J(Pe,ne)&&I.cm&&tt(I.cm,ne,X),Pe)}function Ds(I){this.lines=I,this.parent=null;for(var D=0,X=0;X<I.length;++X)I[X].parent=this,D+=I[X].height;this.height=D}Ds.prototype={chunkSize:function(){return this.lines.length},removeInner:function(D,X){for(var J=D,ne=D+X;J<ne;++J){var Pe=this.lines[J];this.height-=Pe.height,Sr(Pe),Ar(Pe,"delete")}this.lines.splice(D,X)},collapse:function(D){D.push.apply(D,this.lines)},insertInner:function(D,X,J){this.height+=J,this.lines=this.lines.slice(0,D).concat(X).concat(this.lines.slice(D));for(var ne=0;ne<X.length;++ne)X[ne].parent=this},iterN:function(D,X,J){for(var ne=D+X;D<ne;++D)if(J(this.lines[D]))return!0}};function xs(I){this.children=I;for(var D=0,X=0,J=0;J<I.length;++J){var ne=I[J];D+=ne.chunkSize(),X+=ne.height,ne.parent=this}this.size=D,this.height=X,this.parent=null}xs.prototype={chunkSize:function(){return this.size},removeInner:function(D,X){this.size-=X;for(var J=0;J<this.children.length;++J){var ne=this.children[J],Pe=ne.chunkSize();if(D<Pe){var ct=Math.min(X,Pe-D),Ht=ne.height;if(ne.removeInner(D,ct),this.height-=Ht-ne.height,Pe==ct&&(this.children.splice(J--,1),ne.parent=null),(X-=ct)==0)break;D=0}else D-=Pe}if(this.size-X<25&&(this.children.length>1||!(this.children[0]instanceof Ds))){var ir=[];this.collapse(ir),this.children=[new Ds(ir)],this.children[0].parent=this}},collapse:function(D){for(var X=0;X<this.children.length;++X)this.children[X].collapse(D)},insertInner:function(D,X,J){this.size+=X.length,this.height+=J;for(var ne=0;ne<this.children.length;++ne){var Pe=this.children[ne],ct=Pe.chunkSize();if(D<=ct){if(Pe.insertInner(D,X,J),Pe.lines&&Pe.lines.length>50){for(var Ht=Pe.lines.length%25+25,ir=Ht;ir<Pe.lines.length;){var cr=new Ds(Pe.lines.slice(ir,ir+=25));Pe.height-=cr.height,this.children.splice(++ne,0,cr),cr.parent=this}Pe.lines=Pe.lines.slice(0,Ht),this.maybeSpill()}break}D-=ct}},maybeSpill:function(){if(this.children.length<=10)return;var D=this;do{var X=D.children.splice(D.children.length-5,5),J=new xs(X);if(D.parent){D.size-=J.size,D.height-=J.height;var Pe=W(D.parent.children,D);D.parent.children.splice(Pe+1,0,J)}else{var ne=new xs(D.children);ne.parent=D,D.children=[ne,J],D=ne}J.parent=D.parent}while(D.children.length>10);D.parent.maybeSpill()},iterN:function(D,X,J){for(var ne=0;ne<this.children.length;++ne){var Pe=this.children[ne],ct=Pe.chunkSize();if(D<ct){var Ht=Math.min(X,ct-D);if(Pe.iterN(D,Ht,J))return!0;if((X-=Ht)==0)break;D=0}else D-=ct}}};var Gs=function(D,X,J){if(J)for(var ne in J)J.hasOwnProperty(ne)&&(this[ne]=J[ne]);this.doc=D,this.node=X};Gs.prototype.clear=function(){var I=this.doc.cm,D=this.line.widgets,X=this.line,J=Mt(X);if(J==null||!D)return;for(var ne=0;ne<D.length;++ne)D[ne]==this&&D.splice(ne--,1);D.length||(X.widgets=null);var Pe=en(this);st(X,Math.max(0,X.height-Pe)),I&&(ho(I,function(){ll(I,X,-Pe),tt(I,J,"widget")}),Ar(I,"lineWidgetCleared",I,this,J))},Gs.prototype.changed=function(){var I=this,D=this.height,X=this.doc.cm,J=this.line;this.height=null;var ne=en(this)-D;if(!ne)return;qt(this.doc,J)||st(J,J.height+ne),X&&ho(X,function(){X.curOp.forceUpdate=!0,ll(X,J,ne),Ar(X,"lineWidgetChanged",X,I,Mt(J))})},Ft(Gs);function ll(I,D,X){mr(D)<(I.curOp&&I.curOp.scrollTop||I.doc.scrollTop)&&Ji(I,X)}function El(I,D,X,J){var ne=new Gs(I,X,J),Pe=I.cm;return Pe&&ne.noHScroll&&(Pe.display.alignWidgets=!0),ys(I,D,"widget",function(ct){var Ht=ct.widgets||(ct.widgets=[]);if(ne.insertAt==null?Ht.push(ne):Ht.splice(Math.min(Ht.length-1,Math.max(0,ne.insertAt)),0,ne),ne.line=ct,Pe&&!qt(I,ct)){var ir=mr(ct)<I.scrollTop;st(ct,ct.height+en(ne)),ir&&Ji(Pe,ne.height),Pe.curOp.forceUpdate=!0}return!0}),Pe&&Ar(Pe,"lineWidgetAdded",Pe,ne,typeof D=="number"?D:Mt(D)),ne}var jl=0,$s=function(D,X){this.lines=[],this.type=X,this.doc=D,this.id=++jl};$s.prototype.clear=function(){if(this.explicitlyCleared)return;var I=this.doc.cm,D=I&&!I.curOp;if(D&&Lo(I),_t(this,"clear")){var X=this.find();X&&Ar(this,"clear",X.from,X.to)}for(var J=null,ne=null,Pe=0;Pe<this.lines.length;++Pe){var ct=this.lines[Pe],Ht=Zt(ct.markedSpans,this);I&&!this.collapsed?tt(I,Mt(ct),"text"):I&&(Ht.to!=null&&(ne=Mt(ct)),Ht.from!=null&&(J=Mt(ct))),ct.markedSpans=Rr(ct.markedSpans,Ht),Ht.from==null&&this.collapsed&&!qt(this.doc,ct)&&I&&st(ct,qa(I.display))}if(I&&this.collapsed&&!I.options.lineWrapping)for(var ir=0;ir<this.lines.length;++ir){var cr=bt(this.lines[ir]),yn=wn(cr);yn>I.display.maxLineLength&&(I.display.maxLine=cr,I.display.maxLineLength=yn,I.display.maxLineChanged=!0)}J!=null&&I&&this.collapsed&&ha(I,J,ne+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,I&&ks(I.doc)),I&&Ar(I,"markerCleared",I,this,J,ne),D&&Ba(I),this.parent&&this.parent.clear()},$s.prototype.find=function(I,D){I==null&&this.type=="bookmark"&&(I=1);for(var X,J,ne=0;ne<this.lines.length;++ne){var Pe=this.lines[ne],ct=Zt(Pe.markedSpans,this);if(ct.from!=null&&(X=xt(D?Pe:Mt(Pe),ct.from),I==-1))return X;if(ct.to!=null&&(J=xt(D?Pe:Mt(Pe),ct.to),I==1))return J}return X&&{from:X,to:J}},$s.prototype.changed=function(){var I=this,D=this.find(-1,!0),X=this,J=this.doc.cm;if(!D||!J)return;ho(J,function(){var ne=D.line,Pe=Mt(D.line),ct=Ci(J,Pe);if(ct&&(ta(ct),J.curOp.selectionChanged=J.curOp.forceUpdate=!0),J.curOp.updateMaxLine=!0,!qt(X.doc,ne)&&X.height!=null){var Ht=X.height;X.height=null;var ir=en(X)-Ht;ir&&st(ne,ne.height+ir)}Ar(J,"markerChanged",J,I)})},$s.prototype.attachLine=function(I){if(!this.lines.length&&this.doc.cm){var D=this.doc.cm.curOp;(!D.maybeHiddenMarkers||W(D.maybeHiddenMarkers,this)==-1)&&(D.maybeUnhiddenMarkers||(D.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(I)},$s.prototype.detachLine=function(I){if(this.lines.splice(W(this.lines,I),1),!this.lines.length&&this.doc.cm){var D=this.doc.cm.curOp;(D.maybeHiddenMarkers||(D.maybeHiddenMarkers=[])).push(this)}},Ft($s);function Nl(I,D,X,J,ne){if(J&&J.shared)return yu(I,D,X,J,ne);if(I.cm&&!I.cm.curOp)return bo(I.cm,Nl)(I,D,X,J,ne);var Pe=new $s(I,ne),ct=rt(D,X);if(J&&H(J,Pe,!1),ct>0||ct==0&&Pe.clearWhenEmpty!==!1)return Pe;if(Pe.replacedWith&&(Pe.collapsed=!0,Pe.widgetNode=P("span",[Pe.replacedWith],"CodeMirror-widget"),J.handleMouseEvents||Pe.widgetNode.setAttribute("cm-ignore-events","true"),J.insertLeft&&(Pe.widgetNode.insertLeft=!0)),Pe.collapsed){if(dt(I,D.line,D,X,Pe)||D.line!=X.line&&dt(I,X.line,D,X,Pe))throw new Error("Inserting collapsed marker partially overlapping an existing one");yt()}Pe.addToHistory&&Vo(I,{from:D,to:X,origin:"markText"},I.sel,NaN);var Ht=D.line,ir=I.cm,cr;if(I.iter(Ht,X.line+1,function(Dn){ir&&Pe.collapsed&&!ir.options.lineWrapping&&bt(Dn)==ir.display.maxLine&&(cr=!0),Pe.collapsed&&Ht!=D.line&&st(Dn,0),Lr(Dn,new ot(Pe,Ht==D.line?D.ch:null,Ht==X.line?X.ch:null)),++Ht}),Pe.collapsed&&I.iter(D.line,X.line+1,function(Dn){qt(I,Dn)&&st(Dn,0)}),Pe.clearOnEnter&&Ne(Pe,"beforeCursorEnter",function(){return Pe.clear()}),Pe.readOnly&&(Qe(),(I.history.done.length||I.history.undone.length)&&I.clearHistory()),Pe.collapsed&&(Pe.id=++jl,Pe.atomic=!0),ir){if(cr&&(ir.curOp.updateMaxLine=!0),Pe.collapsed)ha(ir,D.line,X.line+1);else if(Pe.className||Pe.startStyle||Pe.endStyle||Pe.css||Pe.attributes||Pe.title)for(var yn=D.line;yn<=X.line;yn++)tt(ir,yn,"text");Pe.atomic&&ks(ir.doc),Ar(ir,"markerAdded",ir,Pe)}return Pe}var Pl=function(D,X){this.markers=D,this.primary=X;for(var J=0;J<D.length;++J)D[J].parent=this};Pl.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var I=0;I<this.markers.length;++I)this.markers[I].clear();Ar(this,"clear")},Pl.prototype.find=function(I,D){return this.primary.find(I,D)},Ft(Pl);function yu(I,D,X,J,ne){J=H(J),J.shared=!1;var Pe=[Nl(I,D,X,J,ne)],ct=Pe[0],Ht=J.widgetNode;return Ei(I,function(ir){Ht&&(J.widgetNode=Ht.cloneNode(!0)),Pe.push(Nl(ir,vt(ir,D),vt(ir,X),J,ne));for(var cr=0;cr<ir.linked.length;++cr)if(ir.linked[cr].isParent)return;ct=ue(Pe)}),new Pl(Pe,ct)}function cu(I){return I.findMarks(xt(I.first,0),I.clipPos(xt(I.lastLine())),function(D){return D.parent})}function eu(I,D){for(var X=0;X<D.length;X++){var J=D[X],ne=J.find(),Pe=I.clipPos(ne.from),ct=I.clipPos(ne.to);if(rt(Pe,ct)){var Ht=Nl(I,Pe,ct,J.primary,J.primary.type);J.markers.push(Ht),Ht.parent=J}}}function tu(I){for(var D=function(ne){var Pe=I[ne],ct=[Pe.primary.doc];Ei(Pe.primary.doc,function(cr){return ct.push(cr)});for(var Ht=0;Ht<Pe.markers.length;Ht++){var ir=Pe.markers[Ht];W(ct,ir.doc)==-1&&(ir.parent=null,Pe.markers.splice(Ht--,1))}},X=0;X<I.length;X++)D(X)}var Vl=0,Ys=function I(D,X,J,ne,Pe){if(!(this instanceof I))return new I(D,X,J,ne,Pe);J==null&&(J=0),xs.call(this,[new Ds([new Wn("",null)])]),this.first=J,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=J;var ct=xt(J,0);this.sel=pe(ct),this.history=new fo(null),this.id=++Vl,this.modeOption=X,this.lineSep=ne,this.direction=Pe=="rtl"?"rtl":"ltr",this.extend=!1,typeof D=="string"&&(D=this.splitLines(D)),Qn(this,{from:ct,to:ct,text:D}),Zo(this,pe(ct),ye)};Ys.prototype=et(xs.prototype,{constructor:Ys,iter:function(D,X,J){J?this.iterN(D-this.first,X-D,J):this.iterN(this.first,this.first+this.size,D)},insert:function(D,X){for(var J=0,ne=0;ne<X.length;++ne)J+=X[ne].height;this.insertInner(D-this.first,X,J)},remove:function(D,X){this.removeInner(D-this.first,X)},getValue:function(D){var X=nt(this,this.first,this.first+this.size);return D===!1?X:X.join(D||this.lineSeparator())},setValue:Ho(function(I){var D=xt(this.first,0),X=this.first+this.size-1;rs(this,{from:D,to:xt(X,Ee(this,X).text.length),text:this.splitLines(I),origin:"setValue",full:!0},!0),this.cm&&fa(this.cm,0,0),Zo(this,pe(D),ye)}),replaceRange:function(D,X,J,ne){X=vt(this,X),J=J?vt(this,J):X,hl(this,D,X,J,ne)},getRange:function(D,X,J){var ne=Ge(this,vt(this,D),vt(this,X));return J===!1?ne:ne.join(J||this.lineSeparator())},getLine:function(D){var X=this.getLineHandle(D);return X&&X.text},getLineHandle:function(D){if(Pr(this,D))return Ee(this,D)},getLineNumber:function(D){return Mt(D)},getLineHandleVisualStart:function(D){return typeof D=="number"&&(D=Ee(this,D)),bt(D)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(D){return vt(this,D)},getCursor:function(D){var X=this.sel.primary(),J;return D==null||D=="head"?J=X.head:D=="anchor"?J=X.anchor:D=="end"||D=="to"||D===!1?J=X.to():J=X.from(),J},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ho(function(I,D,X){xl(this,vt(this,typeof I=="number"?xt(I,D||0):I),null,X)}),setSelection:Ho(function(I,D,X){xl(this,vt(this,I),vt(this,D||I),X)}),extendSelection:Ho(function(I,D,X){fs(this,vt(this,I),D&&vt(this,D),X)}),extendSelections:Ho(function(I,D){as(this,br(this,I),D)}),extendSelectionsBy:Ho(function(I,D){var X=Le(this.sel.ranges,I);as(this,br(this,X),D)}),setSelections:Ho(function(I,D,X){if(!I.length)return;for(var J=[],ne=0;ne<I.length;ne++)J[ne]=new Z(vt(this,I[ne].anchor),vt(this,I[ne].head));D==null&&(D=Math.min(I.length-1,this.sel.primIndex)),Zo(this,se(this.cm,J,D),X)}),addSelection:Ho(function(I,D,X){var J=this.sel.ranges.slice(0);J.push(new Z(vt(this,I),vt(this,D||I))),Zo(this,se(this.cm,J,J.length-1),X)}),getSelection:function(D){for(var X=this.sel.ranges,J,ne=0;ne<X.length;ne++){var Pe=Ge(this,X[ne].from(),X[ne].to());J=J?J.concat(Pe):Pe}return D===!1?J:J.join(D||this.lineSeparator())},getSelections:function(D){for(var X=[],J=this.sel.ranges,ne=0;ne<J.length;ne++){var Pe=Ge(this,J[ne].from(),J[ne].to());D!==!1&&(Pe=Pe.join(D||this.lineSeparator())),X[ne]=Pe}return X},replaceSelection:function(D,X,J){for(var ne=[],Pe=0;Pe<this.sel.ranges.length;Pe++)ne[Pe]=D;this.replaceSelections(ne,X,J||"+input")},replaceSelections:Ho(function(I,D,X){for(var J=[],ne=this.sel,Pe=0;Pe<ne.ranges.length;Pe++){var ct=ne.ranges[Pe];J[Pe]={from:ct.from(),to:ct.to(),text:this.splitLines(I[Pe]),origin:X}}for(var Ht=D&&D!="end"&&Xr(this,J,D),ir=J.length-1;ir>=0;ir--)rs(this,J[ir]);Ht?zs(this,Ht):this.cm&&sa(this.cm)}),undo:Ho(function(){Fs(this,"undo")}),redo:Ho(function(){Fs(this,"redo")}),undoSelection:Ho(function(){Fs(this,"undo",!0)}),redoSelection:Ho(function(){Fs(this,"redo",!0)}),setExtending:function(D){this.extend=D},getExtending:function(){return this.extend},historySize:function(){for(var D=this.history,X=0,J=0,ne=0;ne<D.done.length;ne++)D.done[ne].ranges||++X;for(var Pe=0;Pe<D.undone.length;Pe++)D.undone[Pe].ranges||++J;return{undo:X,redo:J}},clearHistory:function(){var D=this;this.history=new fo(this.history.maxGeneration),Ei(this,function(X){return X.history=D.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(D){return D&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(D){return this.history.generation==(D||this.cleanGeneration)},getHistory:function(){return{done:Vs(this.history.done),undone:Vs(this.history.undone)}},setHistory:function(D){var X=this.history=new fo(this.history.maxGeneration);X.done=Vs(D.done.slice(0),null,!0),X.undone=Vs(D.undone.slice(0),null,!0)},setGutterMarker:Ho(function(I,D,X){return ys(this,I,"gutter",function(J){var ne=J.gutterMarkers||(J.gutterMarkers={});return ne[D]=X,!X&&ce(ne)&&(J.gutterMarkers=null),!0})}),clearGutter:Ho(function(I){var D=this;this.iter(function(X){X.gutterMarkers&&X.gutterMarkers[I]&&ys(D,X,"gutter",function(){return X.gutterMarkers[I]=null,ce(X.gutterMarkers)&&(X.gutterMarkers=null),!0})})}),lineInfo:function(D){var X;if(typeof D=="number"){if(!Pr(this,D))return null;if(X=D,D=Ee(this,D),!D)return null}else if(X=Mt(D),X==null)return null;return{line:X,handle:D,text:D.text,gutterMarkers:D.gutterMarkers,textClass:D.textClass,bgClass:D.bgClass,wrapClass:D.wrapClass,widgets:D.widgets}},addLineClass:Ho(function(I,D,X){return ys(this,I,D=="gutter"?"gutter":"class",function(J){var ne=D=="text"?"textClass":D=="background"?"bgClass":D=="gutter"?"gutterClass":"wrapClass";if(!J[ne])J[ne]=X;else{if(T(X).test(J[ne]))return!1;J[ne]+=" "+X}return!0})}),removeLineClass:Ho(function(I,D,X){return ys(this,I,D=="gutter"?"gutter":"class",function(J){var ne=D=="text"?"textClass":D=="background"?"bgClass":D=="gutter"?"gutterClass":"wrapClass",Pe=J[ne];if(Pe)if(X==null)J[ne]=null;else{var ct=Pe.match(T(X));if(!ct)return!1;var Ht=ct.index+ct[0].length;J[ne]=Pe.slice(0,ct.index)+(!ct.index||Ht==Pe.length?"":" ")+Pe.slice(Ht)||null}else return!1;return!0})}),addLineWidget:Ho(function(I,D,X){return El(this,I,D,X)}),removeLineWidget:function(D){D.clear()},markText:function(D,X,J){return Nl(this,vt(this,D),vt(this,X),J,J&&J.type||"range")},setBookmark:function(D,X){var J={replacedWith:X&&(X.nodeType==null?X.widget:X),insertLeft:X&&X.insertLeft,clearWhenEmpty:!1,shared:X&&X.shared,handleMouseEvents:X&&X.handleMouseEvents};return D=vt(this,D),Nl(this,D,D,J,"bookmark")},findMarksAt:function(D){D=vt(this,D);var X=[],J=Ee(this,D.line).markedSpans;if(J)for(var ne=0;ne<J.length;++ne){var Pe=J[ne];(Pe.from==null||Pe.from<=D.ch)&&(Pe.to==null||Pe.to>=D.ch)&&X.push(Pe.marker.parent||Pe.marker)}return X},findMarks:function(D,X,J){D=vt(this,D),X=vt(this,X);var ne=[],Pe=D.line;return this.iter(D.line,X.line+1,function(ct){var Ht=ct.markedSpans;if(Ht)for(var ir=0;ir<Ht.length;ir++){var cr=Ht[ir];!(cr.to!=null&&Pe==D.line&&D.ch>=cr.to||cr.from==null&&Pe!=D.line||cr.from!=null&&Pe==X.line&&cr.from>=X.ch)&&(!J||J(cr.marker))&&ne.push(cr.marker.parent||cr.marker)}++Pe}),ne},getAllMarks:function(){var D=[];return this.iter(function(X){var J=X.markedSpans;if(J)for(var ne=0;ne<J.length;++ne)J[ne].from!=null&&D.push(J[ne].marker)}),D},posFromIndex:function(D){var X,J=this.first,ne=this.lineSeparator().length;return this.iter(function(Pe){var ct=Pe.text.length+ne;if(ct>D)return X=D,!0;D-=ct,++J}),vt(this,xt(J,X))},indexFromPos:function(D){D=vt(this,D);var X=D.ch;if(D.line<this.first||D.ch<0)return 0;var J=this.lineSeparator().length;return this.iter(this.first,D.line,function(ne){X+=ne.text.length+J}),X},copy:function(D){var X=new Ys(nt(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return X.scrollTop=this.scrollTop,X.scrollLeft=this.scrollLeft,X.sel=this.sel,X.extend=!1,D&&(X.history.undoDepth=this.history.undoDepth,X.setHistory(this.getHistory())),X},linkedDoc:function(D){D||(D={});var X=this.first,J=this.first+this.size;D.from!=null&&D.from>X&&(X=D.from),D.to!=null&&D.to<J&&(J=D.to);var ne=new Ys(nt(this,X,J),D.mode||this.modeOption,X,this.lineSep,this.direction);return D.sharedHist&&(ne.history=this.history),(this.linked||(this.linked=[])).push({doc:ne,sharedHist:D.sharedHist}),ne.linked=[{doc:this,isParent:!0,sharedHist:D.sharedHist}],eu(ne,cu(this)),ne},unlinkDoc:function(D){if(D instanceof Cr&&(D=D.doc),this.linked)for(var X=0;X<this.linked.length;++X){var J=this.linked[X];if(J.doc!=D)continue;this.linked.splice(X,1),D.unlinkDoc(this),tu(cu(this));break}if(D.history==this.history){var ne=[D.id];Ei(D,function(Pe){return ne.push(Pe.id)},!0),D.history=new fo(null),D.history.done=Vs(this.history.done,ne),D.history.undone=Vs(this.history.undone,ne)}},iterLinkedDocs:function(D){Ei(this,D)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(D){return this.lineSep?D.split(this.lineSep):An(D)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Ho(function(I){if(I!="rtl"&&(I="ltr"),I==this.direction)return;this.direction=I,this.iter(function(D){return D.order=null}),this.cm&&Oa(this.cm)})}),Ys.prototype.eachLine=Ys.prototype.iter;var il=0;function fl(I){var D=this;if(ru(D),Bt(D,I)||Ln(D.display,I))return;ke(I),d&&(il=+new Date);var X=Ja(D,I,!0),J=I.dataTransfer.files;if(!X||D.isReadOnly())return;if(J&&J.length&&window.FileReader&&window.File)for(var ne=J.length,Pe=Array(ne),ct=0,Ht=function(){++ct==ne&&bo(D,function(){X=vt(D.doc,X);var Mi={from:X,to:X,text:D.doc.splitLines(Pe.filter(function(Zi){return Zi!=null}).join(D.doc.lineSeparator())),origin:"paste"};rs(D.doc,Mi),zs(D.doc,pe(vt(D.doc,X),vt(D.doc,Ue(Mi))))})()},ir=function(Mi,Zi){if(D.options.allowDropFileTypes&&W(D.options.allowDropFileTypes,Mi.type)==-1){Ht();return}var da=new FileReader;da.onerror=function(){return Ht()},da.onload=function(){var ia=da.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ia)){Ht();return}Pe[Zi]=ia,Ht()},da.readAsText(Mi)},cr=0;cr<J.length;cr++)ir(J[cr],cr);else{if(D.state.draggingText&&D.doc.sel.contains(X)>-1){D.state.draggingText(I),setTimeout(function(){return D.display.input.focus()},20);return}try{var yn=I.dataTransfer.getData("Text");if(yn){var Dn;if(D.state.draggingText&&!D.state.draggingText.copy&&(Dn=D.listSelections()),vs(D.doc,pe(X,X)),Dn)for(var qn=0;qn<Dn.length;++qn)hl(D.doc,"",Dn[qn].anchor,Dn[qn].head,"drag");D.replaceSelection(yn,"around","paste"),D.display.input.focus()}}catch(ni){}}}function kl(I,D){if(d&&(!I.state.draggingText||+new Date-il<100)){qe(D);return}if(Bt(I,D)||Ln(I.display,D))return;if(D.dataTransfer.setData("Text",I.getSelection()),D.dataTransfer.effectAllowed="copyMove",D.dataTransfer.setDragImage&&!e){var X=L("img",null,null,"position: fixed; left: 0; top: 0;");X.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",a&&(X.width=X.height=1,I.display.wrapper.appendChild(X),X._top=X.offsetTop),D.dataTransfer.setDragImage(X,0,0),a&&X.parentNode.removeChild(X)}}function du(I,D){var X=Ja(I,D);if(!X)return;var J=document.createDocumentFragment();Mn(I,X,J),I.display.dragCursor||(I.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),I.display.lineSpace.insertBefore(I.display.dragCursor,I.display.cursorDiv)),_(I.display.dragCursor,J)}function ru(I){I.display.dragCursor&&(I.display.lineSpace.removeChild(I.display.dragCursor),I.display.dragCursor=null)}function nu(I){if(!document.getElementsByClassName)return;for(var D=document.getElementsByClassName("CodeMirror"),X=[],J=0;J<D.length;J++){var ne=D[J].CodeMirror;ne&&X.push(ne)}X.length&&X[0].operation(function(){for(var Pe=0;Pe<X.length;Pe++)I(X[Pe])})}var Qs=!1;function iu(){if(Qs)return;au(),Qs=!0}function au(){var I;Ne(window,"resize",function(){I==null&&(I=setTimeout(function(){I=null,nu(bu)},100))}),Ne(window,"blur",function(){return nu(Yn)})}function bu(I){var D=I.display;D.cachedCharWidth=D.cachedTextHeight=D.cachedPaddingH=null,D.scrollbarsClipped=!1,I.setSize()}for(var bl={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"},Fl=0;Fl<10;Fl++)bl[Fl+48]=bl[Fl+96]=String(Fl);for(var Hl=65;Hl<=90;Hl++)bl[Hl]=String.fromCharCode(Hl);for(var Xl=1;Xl<=12;Xl++)bl[Xl+111]=bl[Xl+63235]="F"+Xl;var Cl={};Cl.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Cl.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Cl.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Cl.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Cl.default=A?Cl.macDefault:Cl.pcDefault;function Cu(I){var D=I.split(/-(?!$)/);I=D[D.length-1];for(var X,J,ne,Pe,ct=0;ct<D.length-1;ct++){var Ht=D[ct];if(/^(cmd|meta|m)$/i.test(Ht))Pe=!0;else if(/^a(lt)?$/i.test(Ht))X=!0;else if(/^(c|ctrl|control)$/i.test(Ht))J=!0;else if(/^s(hift)?$/i.test(Ht))ne=!0;else throw new Error("Unrecognized modifier name: "+Ht)}return X&&(I="Alt-"+I),J&&(I="Ctrl-"+I),Pe&&(I="Cmd-"+I),ne&&(I="Shift-"+I),I}function Tu(I){var D={};for(var X in I)if(I.hasOwnProperty(X)){var J=I[X];if(/^(name|fallthrough|(de|at)tach)$/.test(X))continue;if(J=="..."){delete I[X];continue}for(var ne=Le(X.split(" "),Cu),Pe=0;Pe<ne.length;Pe++){var ct=void 0,Ht=void 0;Pe==ne.length-1?(Ht=ne.join(" "),ct=J):(Ht=ne.slice(0,Pe+1).join(" "),ct="...");var ir=D[Ht];if(!ir)D[Ht]=ct;else if(ir!=ct)throw new Error("Inconsistent bindings for "+Ht)}delete I[X]}for(var cr in D)I[cr]=D[cr];return I}function Tl(I,D,X,J){D=Rs(D);var ne=D.call?D.call(I,J):D[I];if(ne===!1)return"nothing";if(ne==="...")return"multi";if(ne!=null&&X(ne))return"handled";if(D.fallthrough){if(Object.prototype.toString.call(D.fallthrough)!="[object Array]")return Tl(I,D.fallthrough,X,J);for(var Pe=0;Pe<D.fallthrough.length;Pe++){var ct=Tl(I,D.fallthrough[Pe],X,J);if(ct)return ct}}}function ou(I){var D=typeof I=="string"?I:bl[I.keyCode];return D=="Ctrl"||D=="Alt"||D=="Shift"||D=="Mod"}function hu(I,D,X){var J=I;return D.altKey&&J!="Alt"&&(I="Alt-"+I),(x?D.metaKey:D.ctrlKey)&&J!="Ctrl"&&(I="Ctrl-"+I),(x?D.ctrlKey:D.metaKey)&&J!="Mod"&&(I="Cmd-"+I),!X&&D.shiftKey&&J!="Shift"&&(I="Shift-"+I),I}function su(I,D){if(a&&I.keyCode==34&&I.char)return!1;var X=bl[I.keyCode];return X==null||I.altGraphKey?!1:(I.keyCode==3&&I.code&&(X=I.code),hu(X,I,D))}function Rs(I){return typeof I=="string"?Cl[I]:I}function el(I,D){for(var X=I.doc.sel.ranges,J=[],ne=0;ne<X.length;ne++){for(var Pe=D(X[ne]);J.length&&rt(Pe.from,ue(J).to)<=0;){var ct=J.pop();if(rt(ct.from,Pe.from)<0){Pe.from=ct.from;break}}J.push(Pe)}ho(I,function(){for(var Ht=J.length-1;Ht>=0;Ht--)hl(I.doc,"",J[Ht].from,J[Ht].to,"+delete");sa(I)})}function Bl(I,D,X){var J=Be(I.text,D+X,X);return J<0||J>I.text.length?null:J}function wu(I,D,X){var J=Bl(I,D.ch,X);return J==null?null:new xt(D.line,J,X<0?"after":"before")}function fu(I,D,X,J,ne){if(I){D.doc.direction=="rtl"&&(ne=-ne);var Pe=Et(X,D.doc.direction);if(Pe){var ct=ne<0?ue(Pe):Pe[0],Ht=ne<0==(ct.level==1),ir=Ht?"after":"before",cr;if(ct.level>0||D.doc.direction=="rtl"){var yn=Ui(D,X);cr=ne<0?X.text.length-1:0;var Dn=$i(D,yn,cr).top;cr=De(function(qn){return $i(D,yn,qn).top==Dn},ne<0==(ct.level==1)?ct.from:ct.to-1,cr),ir=="before"&&(cr=Bl(X,cr,1))}else cr=ne<0?ct.to:ct.from;return new xt(J,cr,ir)}}return new xt(J,ne<0?X.text.length:0,ne<0?"before":"after")}function Gl(I,D,X,J){var ne=Et(D,I.doc.direction);if(!ne)return wu(D,X,J);X.ch>=D.text.length?(X.ch=D.text.length,X.sticky="before"):X.ch<=0&&(X.ch=0,X.sticky="after");var Pe=Oe(ne,X.ch,X.sticky),ct=ne[Pe];if(I.doc.direction=="ltr"&&ct.level%2==0&&(J>0?ct.to>X.ch:ct.from<X.ch))return wu(D,X,J);var Ht=function(na,xa){return Bl(D,na instanceof xt?na.ch:na,xa)},ir,cr=function(na){return I.options.lineWrapping?(ir=ir||Ui(I,D),Ta(I,D,ir,na)):{begin:0,end:D.text.length}},yn=cr(X.sticky=="before"?Ht(X,-1):X.ch);if(I.doc.direction=="rtl"||ct.level==1){var Dn=ct.level==1==J<0,qn=Ht(X,Dn?1:-1);if(qn!=null&&(Dn?qn<=ct.to&&qn<=yn.end:qn>=ct.from&&qn>=yn.begin)){var ni=Dn?"before":"after";return new xt(X.line,qn,ni)}}var Mi=function(na,xa,Ma){for(var Co=function(Cs,tl){return tl?new xt(X.line,Ht(Cs,1),"before"):new xt(X.line,Cs,"after")};na>=0&&na<ne.length;na+=xa){var no=ne[na],Wo=xa>0==(no.level!=1),ps=Wo?Ma.begin:Ht(Ma.end,-1);if(no.from<=ps&&ps<no.to)return Co(ps,Wo);if(ps=Wo?no.from:Ht(no.to,-1),Ma.begin<=ps&&ps<Ma.end)return Co(ps,Wo)}},Zi=Mi(Pe+J,J,yn);if(Zi)return Zi;var da=J>0?yn.end:Ht(yn.begin,-1);return da!=null&&!(J>0&&da==D.text.length)&&(Zi=Mi(J>0?0:ne.length-1,J,cr(da)),Zi)?Zi:null}var Kl={selectAll:$o,singleSelection:function(D){return D.setSelection(D.getCursor("anchor"),D.getCursor("head"),ye)},killLine:function(D){return el(D,function(X){if(X.empty()){var J=Ee(D.doc,X.head.line).text.length;return X.head.ch==J&&X.head.line<D.lastLine()?{from:X.head,to:xt(X.head.line+1,0)}:{from:X.head,to:xt(X.head.line,J)}}else return{from:X.from(),to:X.to()}})},deleteLine:function(D){return el(D,function(X){return{from:xt(X.from().line,0),to:vt(D.doc,xt(X.to().line+1,0))}})},delLineLeft:function(D){return el(D,function(X){return{from:xt(X.from().line,0),to:X.from()}})},delWrappedLineLeft:function(D){return el(D,function(X){var J=D.charCoords(X.head,"div").top+5,ne=D.coordsChar({left:0,top:J},"div");return{from:ne,to:X.from()}})},delWrappedLineRight:function(D){return el(D,function(X){var J=D.charCoords(X.head,"div").top+5,ne=D.coordsChar({left:D.display.lineDiv.offsetWidth+100,top:J},"div");return{from:X.from(),to:ne}})},undo:function(D){return D.undo()},redo:function(D){return D.redo()},undoSelection:function(D){return D.undoSelection()},redoSelection:function(D){return D.redoSelection()},goDocStart:function(D){return D.extendSelection(xt(D.firstLine(),0))},goDocEnd:function(D){return D.extendSelection(xt(D.lastLine()))},goLineStart:function(D){return D.extendSelectionsBy(function(X){return lu(D,X.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(D){return D.extendSelectionsBy(function(X){return mu(D,X.head)},{origin:"+move",bias:1})},goLineEnd:function(D){return D.extendSelectionsBy(function(X){return pu(D,X.head.line)},{origin:"+move",bias:-1})},goLineRight:function(D){return D.extendSelectionsBy(function(X){var J=D.cursorCoords(X.head,"div").top+5;return D.coordsChar({left:D.display.lineDiv.offsetWidth+100,top:J},"div")},ve)},goLineLeft:function(D){return D.extendSelectionsBy(function(X){var J=D.cursorCoords(X.head,"div").top+5;return D.coordsChar({left:0,top:J},"div")},ve)},goLineLeftSmart:function(D){return D.extendSelectionsBy(function(X){var J=D.cursorCoords(X.head,"div").top+5,ne=D.coordsChar({left:0,top:J},"div");return ne.ch<D.getLine(ne.line).search(/\S/)?mu(D,X.head):ne},ve)},goLineUp:function(D){return D.moveV(-1,"line")},goLineDown:function(D){return D.moveV(1,"line")},goPageUp:function(D){return D.moveV(-1,"page")},goPageDown:function(D){return D.moveV(1,"page")},goCharLeft:function(D){return D.moveH(-1,"char")},goCharRight:function(D){return D.moveH(1,"char")},goColumnLeft:function(D){return D.moveH(-1,"column")},goColumnRight:function(D){return D.moveH(1,"column")},goWordLeft:function(D){return D.moveH(-1,"word")},goGroupRight:function(D){return D.moveH(1,"group")},goGroupLeft:function(D){return D.moveH(-1,"group")},goWordRight:function(D){return D.moveH(1,"word")},delCharBefore:function(D){return D.deleteH(-1,"codepoint")},delCharAfter:function(D){return D.deleteH(1,"char")},delWordBefore:function(D){return D.deleteH(-1,"word")},delWordAfter:function(D){return D.deleteH(1,"word")},delGroupBefore:function(D){return D.deleteH(-1,"group")},delGroupAfter:function(D){return D.deleteH(1,"group")},indentAuto:function(D){return D.indentSelection("smart")},indentMore:function(D){return D.indentSelection("add")},indentLess:function(D){return D.indentSelection("subtract")},insertTab:function(D){return D.replaceSelection(" ")},insertSoftTab:function(D){for(var X=[],J=D.listSelections(),ne=D.options.tabSize,Pe=0;Pe<J.length;Pe++){var ct=J[Pe].from(),Ht=K(D.getLine(ct.line),ct.ch,ne);X.push(Ke(ne-Ht%ne))}D.replaceSelections(X)},defaultTab:function(D){D.somethingSelected()?D.indentSelection("add"):D.execCommand("insertTab")},transposeChars:function(D){return ho(D,function(){for(var X=D.listSelections(),J=[],ne=0;ne<X.length;ne++){if(!X[ne].empty())continue;var Pe=X[ne].head,ct=Ee(D.doc,Pe.line).text;if(ct){if(Pe.ch==ct.length&&(Pe=new xt(Pe.line,Pe.ch-1)),Pe.ch>0)Pe=new xt(Pe.line,Pe.ch+1),D.replaceRange(ct.charAt(Pe.ch-1)+ct.charAt(Pe.ch-2),xt(Pe.line,Pe.ch-2),Pe,"+transpose");else if(Pe.line>D.doc.first){var Ht=Ee(D.doc,Pe.line-1).text;Ht&&(Pe=new xt(Pe.line,1),D.replaceRange(ct.charAt(0)+D.doc.lineSeparator()+Ht.charAt(Ht.length-1),xt(Pe.line-1,Ht.length-1),Pe,"+transpose"))}}J.push(new Z(Pe,Pe))}D.setSelections(J)})},newlineAndIndent:function(D){return ho(D,function(){for(var X=D.listSelections(),J=X.length-1;J>=0;J--)D.replaceRange(D.doc.lineSeparator(),X[J].anchor,X[J].head,"+input");X=D.listSelections();for(var ne=0;ne<X.length;ne++)D.indentLine(X[ne].from().line,null,!0);sa(D)})},openLine:function(D){return D.replaceSelection(`
`,"start")},toggleOverwrite:function(D){return D.toggleOverwrite()}};function lu(I,D){var X=Ee(I.doc,D),J=bt(X);return J!=X&&(D=Mt(J)),fu(!0,I,J,D,1)}function pu(I,D){var X=Ee(I.doc,D),J=Tt(X);return J!=X&&(D=Mt(J)),fu(!0,I,X,D,-1)}function mu(I,D){var X=lu(I,D.line),J=Ee(I.doc,X.line),ne=Et(J,I.doc.direction);if(!ne||ne[0].level==0){var Pe=Math.max(X.ch,J.text.search(/\S/)),ct=D.line==X.line&&D.ch<=Pe&&D.ch;return xt(X.line,ct?0:Pe,X.sticky)}return X}function pl(I,D,X){if(typeof D=="string"&&(D=Kl[D],!D))return!1;I.display.input.ensurePolled();var J=I.display.shift,ne=!1;try{I.isReadOnly()&&(I.state.suppressEdits=!0),X&&(I.display.shift=!1),ne=D(I)!=re}finally{I.display.shift=J,I.state.suppressEdits=!1}return ne}function wl(I,D,X){for(var J=0;J<I.state.keyMaps.length;J++){var ne=Tl(D,I.state.keyMaps[J],X,I);if(ne)return ne}return I.options.extraKeys&&Tl(D,I.options.extraKeys,X,I)||Tl(D,I.options.keyMap,X,I)}var Dl=new V;function Bo(I,D,X,J){var ne=I.state.keySeq;if(ne){if(ou(D))return"handled";if(/\'$/.test(D)?I.state.keySeq=null:Dl.set(50,function(){I.state.keySeq==ne&&(I.state.keySeq=null,I.display.input.reset())}),Na(I,ne+" "+D,X,J))return!0}return Na(I,D,X,J)}function Na(I,D,X,J){var ne=wl(I,D,J);return ne=="multi"&&(I.state.keySeq=D),ne=="handled"&&Ar(I,"keyHandled",I,D,X),(ne=="handled"||ne=="multi")&&(ke(X),jn(I)),!!ne}function ro(I,D){var X=su(D,!0);return X?D.shiftKey&&!I.state.keySeq?Bo(I,"Shift-"+X,D,function(J){return pl(I,J,!0)})||Bo(I,X,D,function(J){if(typeof J=="string"?/^go[A-Z]/.test(J):J.motion)return pl(I,J)}):Bo(I,X,D,function(J){return pl(I,J)}):!1}function Io(I,D,X){return Bo(I,"'"+X+"'",D,function(J){return pl(I,J,!0)})}var Bs=null;function Ol(I){var D=this;if(I.target&&I.target!=D.display.input.getField())return;if(D.curOp.focus=j(),Bt(D,I))return;d&&c<11&&I.keyCode==27&&(I.returnValue=!1);var X=I.keyCode;D.display.shift=X==16||I.shiftKey;var J=ro(D,I);a&&(Bs=J?X:null,!J&&X==88&&!xr&&(A?I.metaKey:I.ctrlKey)&&D.replaceSelection("",null,"cut")),S&&!A&&!J&&X==46&&I.shiftKey&&!I.ctrlKey&&document.execCommand&&document.execCommand("cut"),X==18&&!/\bCodeMirror-crosshair\b/.test(D.display.lineDiv.className)&&_l(D)}function _l(I){var D=I.display.lineDiv;z(D,"CodeMirror-crosshair");function X(J){(J.keyCode==18||!J.altKey)&&(E(D,"CodeMirror-crosshair"),Xe(document,"keyup",X),Xe(document,"mouseover",X))}Ne(document,"keyup",X),Ne(document,"mouseover",X)}function ml(I){I.keyCode==16&&(this.doc.sel.shift=!1),Bt(this,I)}function vl(I){var D=this;if(I.target&&I.target!=D.display.input.getField())return;if(Ln(D.display,I)||Bt(D,I)||I.ctrlKey&&!I.altKey||A&&I.metaKey)return;var X=I.keyCode,J=I.charCode;if(a&&X==Bs){Bs=null,ke(I);return}if(a&&(!I.which||I.which<10)&&ro(D,I))return;var ne=String.fromCharCode(J==null?X:J);if(ne=="\b")return;if(Io(D,I,ne))return;D.display.input.onKeyPress(I)}var Il=400,Ll=function(D,X,J){this.time=D,this.pos=X,this.button=J};Ll.prototype.compare=function(I,D,X){return this.time+Il>I&&rt(D,this.pos)==0&&X==this.button};var Ks,Yl;function gu(I,D){var X=+new Date;return Yl&&Yl.compare(X,I,D)?(Ks=Yl=null,"triple"):Ks&&Ks.compare(X,I,D)?(Yl=new Ll(X,I,D),Ks=null,"double"):(Ks=new Ll(X,I,D),Yl=null,"single")}function uu(I){var D=this,X=D.display;if(Bt(D,I)||X.activeTouch&&X.input.supportsTouch())return;if(X.input.ensurePolled(),X.shift=I.shiftKey,Ln(X,I)){o||(X.scroller.draggable=!1,setTimeout(function(){return X.scroller.draggable=!0},100));return}if(Uu(D,I))return;var J=Ja(D,I),ne=q(I),Pe=J?gu(J,ne):"single";if(window.focus(),ne==1&&D.state.selectingText&&D.state.selectingText(I),J&&Ou(D,ne,J,Pe,I))return;ne==1?J?Fu(D,J,Pe,I):je(I)==X.scroller&&ke(I):ne==2?(J&&fs(D.doc,J),setTimeout(function(){return X.input.focus()},20)):ne==3&&(O?D.display.input.onContextMenu(I):Bn(D))}function Ou(I,D,X,J,ne){var Pe="Click";return J=="double"?Pe="Double"+Pe:J=="triple"&&(Pe="Triple"+Pe),Pe=(D==1?"Left":D==2?"Middle":"Right")+Pe,Bo(I,hu(Pe,ne),ne,function(ct){if(typeof ct=="string"&&(ct=Kl[ct]),!ct)return!1;var Ht=!1;try{I.isReadOnly()&&(I.state.suppressEdits=!0),Ht=ct(I,X)!=re}finally{I.state.suppressEdits=!1}return Ht})}function Vu(I,D,X){var J=I.getOption("configureMouse"),ne=J?J(I,D,X):{};if(ne.unit==null){var Pe=y?X.shiftKey&&X.metaKey:X.altKey;ne.unit=Pe?"rectangle":D=="single"?"char":D=="double"?"word":"line"}return(ne.extend==null||I.doc.extend)&&(ne.extend=I.doc.extend||X.shiftKey),ne.addNew==null&&(ne.addNew=A?X.metaKey:X.ctrlKey),ne.moveOnDrag==null&&(ne.moveOnDrag=!(A?X.altKey:X.ctrlKey)),ne}function Fu(I,D,X,J){d?setTimeout(B(Hn,I),0):I.curOp.focus=j();var ne=Vu(I,X,J),Pe=I.doc.sel,ct;I.options.dragDrop&&wt&&!I.isReadOnly()&&X=="single"&&(ct=Pe.contains(D))>-1&&(rt((ct=Pe.ranges[ct]).from(),D)<0||D.xRel>0)&&(rt(ct.to(),D)>0||D.xRel<0)?ec(I,J,D,ne):Xu(I,J,D,ne)}function ec(I,D,X,J){var ne=I.display,Pe=!1,ct=bo(I,function(cr){o&&(ne.scroller.draggable=!1),I.state.draggingText=!1,Xe(ne.wrapper.ownerDocument,"mouseup",ct),Xe(ne.wrapper.ownerDocument,"mousemove",Ht),Xe(ne.scroller,"dragstart",ir),Xe(ne.scroller,"drop",ct),Pe||(ke(cr),J.addNew||fs(I.doc,X,null,null,J.extend),o&&!e||d&&c==9?setTimeout(function(){ne.wrapper.ownerDocument.body.focus({preventScroll:!0}),ne.input.focus()},20):ne.input.focus())}),Ht=function(yn){Pe=Pe||Math.abs(D.clientX-yn.clientX)+Math.abs(D.clientY-yn.clientY)>=10},ir=function(){return Pe=!0};o&&(ne.scroller.draggable=!0),I.state.draggingText=ct,ct.copy=!J.moveOnDrag,ne.scroller.dragDrop&&ne.scroller.dragDrop(),Ne(ne.wrapper.ownerDocument,"mouseup",ct),Ne(ne.wrapper.ownerDocument,"mousemove",Ht),Ne(ne.scroller,"dragstart",ir),Ne(ne.scroller,"drop",ct),Bn(I),setTimeout(function(){return ne.input.focus()},20)}function Bu(I,D,X){if(X=="char")return new Z(D,D);if(X=="word")return I.findWordAt(D);if(X=="line")return new Z(xt(D.line,0),vt(I.doc,xt(D.line+1,0)));var J=X(I,D);return new Z(J.from,J.to)}function Xu(I,D,X,J){var ne=I.display,Pe=I.doc;ke(D);var ct,Ht,ir=Pe.sel,cr=ir.ranges;if(J.addNew&&!J.extend?(Ht=Pe.sel.contains(X),Ht>-1?ct=cr[Ht]:ct=new Z(X,X)):(ct=Pe.sel.primary(),Ht=Pe.sel.primIndex),J.unit=="rectangle")J.addNew||(ct=new Z(X,X)),X=Ja(I,D,!0,!0),Ht=-1;else{var yn=Bu(I,X,J.unit);J.extend?ct=Hs(ct,yn.anchor,yn.head,J.extend):ct=yn}J.addNew?Ht==-1?(Ht=cr.length,Zo(Pe,se(I,cr.concat([ct]),Ht),{scroll:!1,origin:"*mouse"})):cr.length>1&&cr[Ht].empty()&&J.unit=="char"&&!J.extend?(Zo(Pe,se(I,cr.slice(0,Ht).concat(cr.slice(Ht+1)),0),{scroll:!1,origin:"*mouse"}),ir=Pe.sel):Ss(Pe,Ht,ct,$):(Ht=0,Zo(Pe,new ht([ct],0),$),ir=Pe.sel);var Dn=X;function qn(xa){if(rt(Dn,xa)==0)return;if(Dn=xa,J.unit=="rectangle"){for(var Ma=[],Co=I.options.tabSize,no=K(Ee(Pe,X.line).text,X.ch,Co),Wo=K(Ee(Pe,xa.line).text,xa.ch,Co),ps=Math.min(no,Wo),Us=Math.max(no,Wo),Cs=Math.min(X.line,xa.line),tl=Math.min(I.lastLine(),Math.max(X.line,xa.line));Cs<=tl;Cs++){var ul=Ee(Pe,Cs).text,Xs=Ce(ul,ps,Co);ps==Us?Ma.push(new Z(xt(Cs,Xs),xt(Cs,Xs))):ul.length>Xs&&Ma.push(new Z(xt(Cs,Xs),xt(Cs,Ce(ul,Us,Co))))}Ma.length||Ma.push(new Z(X,X)),Zo(Pe,se(I,ir.ranges.slice(0,Ht).concat(Ma),Ht),{origin:"*mouse",scroll:!1}),I.scrollIntoView(xa)}else{var cl=ct,rl=Bu(I,xa,J.unit),ya=cl.anchor,Ms;rt(rl.anchor,ya)>0?(Ms=rl.head,ya=St(cl.from(),rl.anchor)):(Ms=rl.anchor,ya=Dt(cl.to(),rl.head));var Ls=ir.ranges.slice(0);Ls[Ht]=Gu(I,new Z(vt(Pe,ya),Ms)),Zo(Pe,se(I,Ls,Ht),$)}}var ni=ne.wrapper.getBoundingClientRect(),Mi=0;function Zi(xa){var Ma=++Mi,Co=Ja(I,xa,!0,J.unit=="rectangle");if(!Co)return;if(rt(Co,Dn)!=0){I.curOp.focus=j(),qn(Co);var no=Pi(ne,Pe);(Co.line>=no.to||Co.line<no.from)&&setTimeout(bo(I,function(){Mi==Ma&&Zi(xa)}),150)}else{var Wo=xa.clientY<ni.top?-20:xa.clientY>ni.bottom?20:0;Wo&&setTimeout(bo(I,function(){if(Mi!=Ma)return;ne.scroller.scrollTop+=Wo,Zi(xa)}),50)}}function da(xa){I.state.selectingText=!1,Mi=Infinity,xa&&(ke(xa),ne.input.focus()),Xe(ne.wrapper.ownerDocument,"mousemove",ia),Xe(ne.wrapper.ownerDocument,"mouseup",na),Pe.history.lastSelOrigin=null}var ia=bo(I,function(xa){xa.buttons===0||!q(xa)?da(xa):Zi(xa)}),na=bo(I,da);I.state.selectingText=na,Ne(ne.wrapper.ownerDocument,"mousemove",ia),Ne(ne.wrapper.ownerDocument,"mouseup",na)}function Gu(I,D){var X=D.anchor,J=D.head,ne=Ee(I.doc,X.line);if(rt(X,J)==0&&X.sticky==J.sticky)return D;var Pe=Et(ne);if(!Pe)return D;var ct=Oe(Pe,X.ch,X.sticky),Ht=Pe[ct];if(Ht.from!=X.ch&&Ht.to!=X.ch)return D;var ir=ct+(Ht.from==X.ch==(Ht.level!=1)?0:1);if(ir==0||ir==Pe.length)return D;var cr;if(J.line!=X.line)cr=(J.line-X.line)*(I.doc.direction=="ltr"?1:-1)>0;else{var yn=Oe(Pe,J.ch,J.sticky),Dn=yn-ct||(J.ch-X.ch)*(Ht.level==1?-1:1);yn==ir-1||yn==ir?cr=Dn<0:cr=Dn>0}var qn=Pe[ir+(cr?-1:0)],ni=cr==(qn.level==1),Mi=ni?qn.from:qn.to,Zi=ni?"after":"before";return X.ch==Mi&&X.sticky==Zi?D:new Z(new xt(X.line,Mi,Zi),J)}function Yu(I,D,X,J){var ne,Pe;if(D.touches)ne=D.touches[0].clientX,Pe=D.touches[0].clientY;else try{ne=D.clientX,Pe=D.clientY}catch(qn){return!1}if(ne>=Math.floor(I.display.gutters.getBoundingClientRect().right))return!1;J&&ke(D);var ct=I.display,Ht=ct.lineDiv.getBoundingClientRect();if(Pe>Ht.bottom||!_t(I,X))return Q(D);Pe-=Ht.top-ct.viewOffset;for(var ir=0;ir<I.display.gutterSpecs.length;++ir){var cr=ct.gutters.childNodes[ir];if(cr&&cr.getBoundingClientRect().right>=ne){var yn=wr(I.doc,Pe),Dn=I.display.gutterSpecs[ir];return Ot(I,X,I,yn,Dn.className,D),Q(D)}}}function Uu(I,D){return Yu(I,D,"gutterClick",!0)}function _u(I,D){if(Ln(I.display,D)||Ul(I,D))return;if(Bt(I,D,"contextmenu"))return;O||I.display.input.onContextMenu(D)}function Ul(I,D){return _t(I,"gutterContextMenu")?Yu(I,D,"gutterContextMenu",!1):!1}function Iu(I){I.display.wrapper.className=I.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+I.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ga(I)}var Wl={toString:function(){return"CodeMirror.Init"}},Su={},de={};function He(I){var D=I.optionHandlers;function X(J,ne,Pe,ct){I.defaults[J]=ne,Pe&&(D[J]=ct?function(Ht,ir,cr){cr!=Wl&&Pe(Ht,ir,cr)}:Pe)}I.defineOption=X,I.Init=Wl,X("value","",function(J,ne){return J.setValue(ne)},!0),X("mode",null,function(J,ne){J.doc.modeOption=ne,dn(J)},!0),X("indentUnit",2,dn,!0),X("indentWithTabs",!1),X("smartIndent",!0),X("tabSize",4,function(J){Kn(J),ga(J),ha(J)},!0),X("lineSeparator",null,function(J,ne){if(J.doc.lineSep=ne,!ne)return;var Pe=[],ct=J.doc.first;J.doc.iter(function(ir){for(var cr=0;;){var yn=ir.text.indexOf(ne,cr);if(yn==-1)break;cr=yn+ne.length,Pe.push(xt(ct,yn))}ct++});for(var Ht=Pe.length-1;Ht>=0;Ht--)hl(J.doc,ne,Pe[Ht],xt(Pe[Ht].line,Pe[Ht].ch+ne.length))}),X("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(J,ne,Pe){J.state.specialChars=new RegExp(ne.source+(ne.test(" ")?"":"| "),"g"),Pe!=Wl&&J.refresh()}),X("specialCharPlaceholder",ti,function(J){return J.refresh()},!0),X("electricChars",!0),X("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),X("spellcheck",!1,function(J,ne){return J.getInputField().spellcheck=ne},!0),X("autocorrect",!1,function(J,ne){return J.getInputField().autocorrect=ne},!0),X("autocapitalize",!1,function(J,ne){return J.getInputField().autocapitalize=ne},!0),X("rtlMoveVisually",!w),X("wholeLineUpdateBefore",!0),X("theme","default",function(J){Iu(J),Jo(J)},!0),X("keyMap","default",function(J,ne,Pe){var ct=Rs(ne),Ht=Pe!=Wl&&Rs(Pe);Ht&&Ht.detach&&Ht.detach(J,ct),ct.attach&&ct.attach(J,Ht||null)}),X("extraKeys",null),X("configureMouse",null),X("lineWrapping",!1,tr,!0),X("gutters",[],function(J,ne){J.display.gutterSpecs=Ao(ne,J.options.lineNumbers),Jo(J)},!0),X("fixedGutter",!0,function(J,ne){J.display.gutters.style.left=ne?Ga(J.display)+"px":"0",J.refresh()},!0),X("coverGutterNextToScrollbar",!1,function(J){return eo(J)},!0),X("scrollbarStyle","native",function(J){cs(J),eo(J),J.display.scrollbars.setScrollTop(J.doc.scrollTop),J.display.scrollbars.setScrollLeft(J.doc.scrollLeft)},!0),X("lineNumbers",!1,function(J,ne){J.display.gutterSpecs=Ao(J.options.gutters,ne),Jo(J)},!0),X("firstLineNumber",1,Jo,!0),X("lineNumberFormatter",function(J){return J},Jo,!0),X("showCursorWhenSelecting",!1,Vr,!0),X("resetSelectionOnContextMenu",!0),X("lineWiseCopyCut",!0),X("pasteLinesPerSelection",!0),X("selectionsMayTouch",!1),X("readOnly",!1,function(J,ne){ne=="nocursor"&&(Yn(J),J.display.input.blur()),J.display.input.readOnlyChanged(ne)}),X("screenReaderLabel",null,function(J,ne){ne=ne===""?null:ne,J.display.input.screenReaderLabelChanged(ne)}),X("disableInput",!1,function(J,ne){ne||J.display.input.reset()},!0),X("dragDrop",!0,ut),X("allowDropFileTypes",null),X("cursorBlinkRate",530),X("cursorScrollMargin",0),X("cursorHeight",1,Vr,!0),X("singleCursorHeightPerLine",!0,Vr,!0),X("workTime",100),X("workDelay",100),X("flattenSpans",!0,Kn,!0),X("addModeClass",!1,Kn,!0),X("pollInterval",100),X("undoDepth",200,function(J,ne){return J.doc.history.undoDepth=ne}),X("historyEventDelay",1250),X("viewportMargin",10,function(J){return J.refresh()},!0),X("maxHighlightLength",1e4,Kn,!0),X("moveInputWithCursor",!0,function(J,ne){ne||J.display.input.resetPosition()}),X("tabindex",null,function(J,ne){return J.display.input.getField().tabIndex=ne||""}),X("autofocus",null),X("direction","ltr",function(J,ne){return J.doc.setDirection(ne)},!0),X("phrases",null)}function ut(I,D,X){var J=X&&X!=Wl;if(!D!=!J){var ne=I.display.dragFunctions,Pe=D?Ne:Xe;Pe(I.display.scroller,"dragstart",ne.start),Pe(I.display.scroller,"dragenter",ne.enter),Pe(I.display.scroller,"dragover",ne.over),Pe(I.display.scroller,"dragleave",ne.leave),Pe(I.display.scroller,"drop",ne.drop)}}function tr(I){I.options.lineWrapping?(z(I.display.wrapper,"CodeMirror-wrap"),I.display.sizer.style.minWidth="",I.display.sizerWidth=null):(E(I.display.wrapper,"CodeMirror-wrap"),fn(I)),go(I),ha(I),ga(I),setTimeout(function(){return eo(I)},100)}function Cr(I,D){var X=this;if(!(this instanceof Cr))return new Cr(I,D);this.options=D=D?H(D):{},H(Su,D,!1);var J=D.value;typeof J=="string"?J=new Ys(J,D.mode,null,D.lineSeparator,D.direction):D.mode&&(J.modeOption=D.mode),this.doc=J;var ne=new Cr.inputStyles[D.inputStyle](this),Pe=this.display=new ts(I,J,ne,D);Pe.wrapper.CodeMirror=this,Iu(this),D.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),cs(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},D.autofocus&&!h&&Pe.input.focus(),d&&c<11&&setTimeout(function(){return X.display.input.reset(!0)},20),Wr(this),iu(),Lo(this),this.curOp.forceUpdate=!0,Fi(this,J),D.autofocus&&!h||this.hasFocus()?setTimeout(function(){X.hasFocus()&&!X.state.focused&&ri(X)},20):Yn(this);for(var ct in de)de.hasOwnProperty(ct)&&de[ct](this,D[ct],Wl);As(this),D.finishInit&&D.finishInit(this);for(var Ht=0;Ht<_e.length;++Ht)_e[Ht](this);Ba(this),o&&D.lineWrapping&&getComputedStyle(Pe.lineDiv).textRendering=="optimizelegibility"&&(Pe.lineDiv.style.textRendering="auto")}Cr.defaults=Su,Cr.optionHandlers=de;function Wr(I){var D=I.display;Ne(D.scroller,"mousedown",bo(I,uu)),d&&c<11?Ne(D.scroller,"dblclick",bo(I,function(ir){if(Bt(I,ir))return;var cr=Ja(I,ir);if(!cr||Uu(I,ir)||Ln(I.display,ir))return;ke(ir);var yn=I.findWordAt(cr);fs(I.doc,yn.anchor,yn.head)})):Ne(D.scroller,"dblclick",function(ir){return Bt(I,ir)||ke(ir)}),Ne(D.scroller,"contextmenu",function(ir){return _u(I,ir)}),Ne(D.input.getField(),"contextmenu",function(ir){D.scroller.contains(ir.target)||_u(I,ir)});var X,J={end:0};function ne(){D.activeTouch&&(X=setTimeout(function(){return D.activeTouch=null},1e3),J=D.activeTouch,J.end=+new Date)}function Pe(ir){if(ir.touches.length!=1)return!1;var cr=ir.touches[0];return cr.radiusX<=1&&cr.radiusY<=1}function ct(ir,cr){if(cr.left==null)return!0;var yn=cr.left-ir.left,Dn=cr.top-ir.top;return yn*yn+Dn*Dn>20*20}Ne(D.scroller,"touchstart",function(ir){if(!Bt(I,ir)&&!Pe(ir)&&!Uu(I,ir)){D.input.ensurePolled(),clearTimeout(X);var cr=+new Date;D.activeTouch={start:cr,moved:!1,prev:cr-J.end<=300?J:null},ir.touches.length==1&&(D.activeTouch.left=ir.touches[0].pageX,D.activeTouch.top=ir.touches[0].pageY)}}),Ne(D.scroller,"touchmove",function(){D.activeTouch&&(D.activeTouch.moved=!0)}),Ne(D.scroller,"touchend",function(ir){var cr=D.activeTouch;if(cr&&!Ln(D,ir)&&cr.left!=null&&!cr.moved&&new Date-cr.start<300){var yn=I.coordsChar(D.activeTouch,"page"),Dn;!cr.prev||ct(cr,cr.prev)?Dn=new Z(yn,yn):!cr.prev.prev||ct(cr,cr.prev.prev)?Dn=I.findWordAt(yn):Dn=new Z(xt(yn.line,0),vt(I.doc,xt(yn.line+1,0))),I.setSelection(Dn.anchor,Dn.head),I.focus(),ke(ir)}ne()}),Ne(D.scroller,"touchcancel",ne),Ne(D.scroller,"scroll",function(){D.scroller.clientHeight&&(qi(I,D.scroller.scrollTop),ma(I,D.scroller.scrollLeft,!0),Ot(I,"scroll",I))}),Ne(D.scroller,"mousewheel",function(ir){return zn(I,ir)}),Ne(D.scroller,"DOMMouseScroll",function(ir){return zn(I,ir)}),Ne(D.wrapper,"scroll",function(){return D.wrapper.scrollTop=D.wrapper.scrollLeft=0}),D.dragFunctions={enter:function(cr){Bt(I,cr)||qe(cr)},over:function(cr){Bt(I,cr)||(du(I,cr),qe(cr))},start:function(cr){return kl(I,cr)},drop:bo(I,fl),leave:function(cr){Bt(I,cr)||ru(I)}};var Ht=D.input.getField();Ne(Ht,"keyup",function(ir){return ml.call(I,ir)}),Ne(Ht,"keydown",bo(I,Ol)),Ne(Ht,"keypress",bo(I,vl)),Ne(Ht,"focus",function(ir){return ri(I,ir)}),Ne(Ht,"blur",function(ir){return Yn(I,ir)})}var _e=[];Cr.defineInitHook=function(I){return _e.push(I)};function Y(I,D,X,J){var ne=I.doc,Pe;X==null&&(X="add"),X=="smart"&&(ne.mode.indent?Pe=Fn(I,D).state:X="prev");var ct=I.options.tabSize,Ht=Ee(ne,D),ir=K(Ht.text,null,ct);Ht.stateAfter&&(Ht.stateAfter=null);var cr=Ht.text.match(/^\s*/)[0],yn;if(!J&&!/\S/.test(Ht.text))yn=0,X="not";else if(X=="smart"&&(yn=ne.mode.indent(Pe,Ht.text.slice(cr.length),Ht.text),yn==re||yn>150)){if(!J)return;X="prev"}X=="prev"?D>ne.first?yn=K(Ee(ne,D-1).text,null,ct):yn=0:X=="add"?yn=ir+I.options.indentUnit:X=="subtract"?yn=ir-I.options.indentUnit:typeof X=="number"&&(yn=ir+X),yn=Math.max(0,yn);var Dn="",qn=0;if(I.options.indentWithTabs)for(var ni=Math.floor(yn/ct);ni;--ni)qn+=ct,Dn+=" ";if(qn<yn&&(Dn+=Ke(yn-qn)),Dn!=cr)return hl(ne,Dn,xt(D,0),xt(D,cr.length),"+input"),Ht.stateAfter=null,!0;for(var Mi=0;Mi<ne.sel.ranges.length;Mi++){var Zi=ne.sel.ranges[Mi];if(Zi.head.line==D&&Zi.head.ch<cr.length){var da=xt(D,cr.length);Ss(ne,Mi,new Z(da,da));break}}}var he=null;function ze(I){he=I}function at(I,D,X,J,ne){var Pe=I.doc;I.display.shift=!1,J||(J=Pe.sel);var ct=+new Date-200,Ht=ne=="paste"||I.state.pasteIncoming>ct,ir=An(D),cr=null;if(Ht&&J.ranges.length>1)if(he&&he.text.join(`
`)==D){if(J.ranges.length%he.text.length==0){cr=[];for(var yn=0;yn<he.text.length;yn++)cr.push(Pe.splitLines(he.text[yn]))}}else ir.length==J.ranges.length&&I.options.pasteLinesPerSelection&&(cr=Le(ir,function(ia){return[ia]}));for(var Dn=I.curOp.updateInput,qn=J.ranges.length-1;qn>=0;qn--){var ni=J.ranges[qn],Mi=ni.from(),Zi=ni.to();ni.empty()&&(X&&X>0?Mi=xt(Mi.line,Mi.ch-X):I.state.overwrite&&!Ht?Zi=xt(Zi.line,Math.min(Ee(Pe,Zi.line).text.length,Zi.ch+ue(ir).length)):Ht&&he&&he.lineWise&&he.text.join(`
`)==ir.join(`
`)&&(Mi=Zi=xt(Mi.line,0)));var da={from:Mi,to:Zi,text:cr?cr[qn%cr.length]:ir,origin:ne||(Ht?"paste":I.state.cutIncoming>ct?"cut":"+input")};rs(I.doc,da),Ar(I,"inputRead",I,da)}D&&!Ht&&Kt(I,D),sa(I),I.curOp.updateInput<2&&(I.curOp.updateInput=Dn),I.curOp.typing=!0,I.state.pasteIncoming=I.state.cutIncoming=-1}function Rt(I,D){var X=I.clipboardData&&I.clipboardData.getData("Text");if(X)return I.preventDefault(),!D.isReadOnly()&&!D.options.disableInput&&ho(D,function(){return at(D,X,0,null,"paste")}),!0}function Kt(I,D){if(!I.options.electricChars||!I.options.smartIndent)return;for(var X=I.doc.sel,J=X.ranges.length-1;J>=0;J--){var ne=X.ranges[J];if(ne.head.ch>100||J&&X.ranges[J-1].head.line==ne.head.line)continue;var Pe=I.getModeAt(ne.head),ct=!1;if(Pe.electricChars){for(var Ht=0;Ht<Pe.electricChars.length;Ht++)if(D.indexOf(Pe.electricChars.charAt(Ht))>-1){ct=Y(I,ne.head.line,"smart");break}}else Pe.electricInput&&(Pe.electricInput.test(Ee(I.doc,ne.head.line).text.slice(0,ne.head.ch))&&(ct=Y(I,ne.head.line,"smart")));ct&&Ar(I,"electricInput",I,ne.head.line)}}function Xt(I){for(var D=[],X=[],J=0;J<I.doc.sel.ranges.length;J++){var ne=I.doc.sel.ranges[J].head.line,Pe={anchor:xt(ne,0),head:xt(ne+1,0)};X.push(Pe),D.push(I.getRange(Pe.anchor,Pe.head))}return{text:D,ranges:X}}function Nr(I,D,X,J){I.setAttribute("autocorrect",X?"":"off"),I.setAttribute("autocapitalize",J?"":"off"),I.setAttribute("spellcheck",!!D)}function Qr(){var I=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),D=L("div",[I],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return o?I.style.width="1000px":I.setAttribute("wrap","off"),s&&(I.style.border="1px solid black"),Nr(I),D}function Tr(I){var D=I.optionHandlers,X=I.helpers={};I.prototype={constructor:I,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ne,Pe){var ct=this.options,Ht=ct[ne];if(ct[ne]==Pe&&ne!="mode")return;ct[ne]=Pe,D.hasOwnProperty(ne)&&bo(this,D[ne])(this,Pe,Ht),Ot(this,"optionChange",this,ne)},getOption:function(ne){return this.options[ne]},getDoc:function(){return this.doc},addKeyMap:function(ne,Pe){this.state.keyMaps[Pe?"push":"unshift"](Rs(ne))},removeKeyMap:function(ne){for(var Pe=this.state.keyMaps,ct=0;ct<Pe.length;++ct)if(Pe[ct]==ne||Pe[ct].name==ne)return Pe.splice(ct,1),!0},addOverlay:ds(function(J,ne){var Pe=J.token?J:I.getMode(this.options,J);if(Pe.startState)throw new Error("Overlays may not be stateful.");ee(this.state.overlays,{mode:Pe,modeSpec:J,opaque:ne&&ne.opaque,priority:ne&&ne.priority||0},function(ct){return ct.priority}),this.state.modeGen++,ha(this)}),removeOverlay:ds(function(J){for(var ne=this.state.overlays,Pe=0;Pe<ne.length;++Pe){var ct=ne[Pe].modeSpec;if(ct==J||typeof J=="string"&&ct.name==J){ne.splice(Pe,1),this.state.modeGen++,ha(this);return}}}),indentLine:ds(function(J,ne,Pe){typeof ne!="string"&&typeof ne!="number"&&(ne==null?ne=this.options.smartIndent?"smart":"prev":ne=ne?"add":"subtract"),Pr(this.doc,J)&&Y(this,J,ne,Pe)}),indentSelection:ds(function(J){for(var ne=this.doc.sel.ranges,Pe=-1,ct=0;ct<ne.length;ct++){var Ht=ne[ct];if(Ht.empty())Ht.head.line>Pe&&(Y(this,Ht.head.line,J,!0),Pe=Ht.head.line,ct==this.doc.sel.primIndex&&sa(this));else{var ir=Ht.from(),cr=Ht.to(),yn=Math.max(Pe,ir.line);Pe=Math.min(this.lastLine(),cr.line-(cr.ch?0:1))+1;for(var Dn=yn;Dn<Pe;++Dn)Y(this,Dn,J);var qn=this.doc.sel.ranges;ir.ch==0&&ne.length==qn.length&&qn[ct].from().ch>0&&Ss(this.doc,ct,new Z(ir,qn[ct].to()),ye)}}}),getTokenAt:function(ne,Pe){return Ii(this,ne,Pe)},getLineTokens:function(ne,Pe){return Ii(this,xt(ne),Pe,!0)},getTokenTypeAt:function(ne){ne=vt(this.doc,ne);var Pe=Zr(this,Ee(this.doc,ne.line)),ct=0,Ht=(Pe.length-1)/2,ir=ne.ch,cr;if(ir==0)cr=Pe[2];else for(;;){var yn=ct+Ht>>1;if((yn?Pe[yn*2-1]:0)>=ir)Ht=yn;else if(Pe[yn*2+1]<ir)ct=yn+1;else{cr=Pe[yn*2+2];break}}var Dn=cr?cr.indexOf("overlay "):-1;return Dn<0?cr:Dn==0?null:cr.slice(0,Dn-1)},getModeAt:function(ne){var Pe=this.doc.mode;return Pe.innerMode?I.innerMode(Pe,this.getTokenAt(ne).state).mode:Pe},getHelper:function(ne,Pe){return this.getHelpers(ne,Pe)[0]},getHelpers:function(ne,Pe){var ct=[];if(!X.hasOwnProperty(Pe))return ct;var Ht=X[Pe],ir=this.getModeAt(ne);if(typeof ir[Pe]=="string")Ht[ir[Pe]]&&ct.push(Ht[ir[Pe]]);else if(ir[Pe])for(var cr=0;cr<ir[Pe].length;cr++){var yn=Ht[ir[Pe][cr]];yn&&ct.push(yn)}else ir.helperType&&Ht[ir.helperType]?ct.push(Ht[ir.helperType]):Ht[ir.name]&&ct.push(Ht[ir.name]);for(var Dn=0;Dn<Ht._global.length;Dn++){var qn=Ht._global[Dn];qn.pred(ir,this)&&W(ct,qn.val)==-1&&ct.push(qn.val)}return ct},getStateAfter:function(ne,Pe){var ct=this.doc;return ne=Ut(ct,ne==null?ct.first+ct.size-1:ne),Fn(this,ne+1,Pe).state},cursorCoords:function(ne,Pe){var ct,Ht=this.doc.sel.primary();return ne==null?ct=Ht.head:typeof ne=="object"?ct=vt(this.doc,ne):ct=ne?Ht.from():Ht.to(),ja(this,ct,Pe||"page")},charCoords:function(ne,Pe){return vo(this,vt(this.doc,ne),Pe||"page")},coordsChar:function(ne,Pe){return ne=Ra(this,ne,Pe||"page"),Va(this,ne.left,ne.top)},lineAtHeight:function(ne,Pe){return ne=Ra(this,{top:ne,left:0},Pe||"page").top,wr(this.doc,ne+this.display.viewOffset)},heightAtLine:function(ne,Pe,ct){var Ht=!1,ir;if(typeof ne=="number"){var cr=this.doc.first+this.doc.size-1;ne<this.doc.first?ne=this.doc.first:ne>cr&&(ne=cr,Ht=!0),ir=Ee(this.doc,ne)}else ir=ne;return Da(this,ir,{top:0,left:0},Pe||"page",ct||Ht).top+(Ht?this.doc.height-mr(ir):0)},defaultTextHeight:function(){return qa(this.display)},defaultCharWidth:function(){return oo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ne,Pe,ct,Ht,ir){var cr=this.display;ne=ja(this,vt(this.doc,ne));var yn=ne.bottom,Dn=ne.left;if(Pe.style.position="absolute",Pe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Pe),cr.sizer.appendChild(Pe),Ht=="over")yn=ne.top;else if(Ht=="above"||Ht=="near"){var qn=Math.max(cr.wrapper.clientHeight,this.doc.height),ni=Math.max(cr.sizer.clientWidth,cr.lineSpace.clientWidth);(Ht=="above"||ne.bottom+Pe.offsetHeight>qn)&&ne.top>Pe.offsetHeight?yn=ne.top-Pe.offsetHeight:ne.bottom+Pe.offsetHeight<=qn&&(yn=ne.bottom),Dn+Pe.offsetWidth>ni&&(Dn=ni-Pe.offsetWidth)}Pe.style.top=yn+"px",Pe.style.left=Pe.style.right="",ir=="right"?(Dn=cr.sizer.clientWidth-Pe.offsetWidth,Pe.style.right="0px"):(ir=="left"?Dn=0:ir=="middle"&&(Dn=(cr.sizer.clientWidth-Pe.offsetWidth)/2),Pe.style.left=Dn+"px"),ct&&va(this,{left:Dn,top:yn,right:Dn+Pe.offsetWidth,bottom:yn+Pe.offsetHeight})},triggerOnKeyDown:ds(Ol),triggerOnKeyPress:ds(vl),triggerOnKeyUp:ml,triggerOnMouseDown:ds(uu),execCommand:function(ne){if(Kl.hasOwnProperty(ne))return Kl[ne].call(null,this)},triggerElectric:ds(function(J){Kt(this,J)}),findPosH:function(ne,Pe,ct,Ht){var ir=1;Pe<0&&(ir=-1,Pe=-Pe);for(var cr=vt(this.doc,ne),yn=0;yn<Pe&&!(cr=Er(this.doc,cr,ir,ct,Ht),cr.hitSide);++yn);return cr},moveH:ds(function(J,ne){var Pe=this;this.extendSelectionsBy(function(ct){return Pe.display.shift||Pe.doc.extend||ct.empty()?Er(Pe.doc,ct.head,J,ne,Pe.options.rtlMoveVisually):J<0?ct.from():ct.to()},ve)}),deleteH:ds(function(J,ne){var Pe=this.doc.sel,ct=this.doc;Pe.somethingSelected()?ct.replaceSelection("",null,"+delete"):el(this,function(Ht){var ir=Er(ct,Ht.head,J,ne,!1);return J<0?{from:ir,to:Ht.head}:{from:Ht.head,to:ir}})}),findPosV:function(ne,Pe,ct,Ht){var ir=1,cr=Ht;Pe<0&&(ir=-1,Pe=-Pe);for(var yn=vt(this.doc,ne),Dn=0;Dn<Pe;++Dn){var qn=ja(this,yn,"div");if(cr==null?cr=qn.left:qn.left=cr,yn=Hr(this,qn,ir,ct),yn.hitSide)break}return yn},moveV:ds(function(J,ne){var Pe=this,ct=this.doc,Ht=[],ir=!this.display.shift&&!ct.extend&&ct.sel.somethingSelected();if(ct.extendSelectionsBy(function(yn){if(ir)return J<0?yn.from():yn.to();var Dn=ja(Pe,yn.head,"div");yn.goalColumn!=null&&(Dn.left=yn.goalColumn),Ht.push(Dn.left);var qn=Hr(Pe,Dn,J,ne);return ne=="page"&&yn==ct.sel.primary()&&Ji(Pe,vo(Pe,qn,"div").top-Dn.top),qn},ve),Ht.length)for(var cr=0;cr<ct.sel.ranges.length;cr++)ct.sel.ranges[cr].goalColumn=Ht[cr]}),findWordAt:function(ne){var Pe=this.doc,ct=Ee(Pe,ne.line).text,Ht=ne.ch,ir=ne.ch;if(ct){var cr=this.getHelper(ne,"wordChars");(ne.sticky=="before"||ir==ct.length)&&Ht?--Ht:++ir;for(var yn=ct.charAt(Ht),Dn=oe(yn,cr)?function(qn){return oe(qn,cr)}:/\s/.test(yn)?function(qn){return/\s/.test(qn)}:function(qn){return!/\s/.test(qn)&&!oe(qn)};Ht>0&&Dn(ct.charAt(Ht-1));)--Ht;for(;ir<ct.length&&Dn(ct.charAt(ir));)++ir}return new Z(xt(ne.line,Ht),xt(ne.line,ir))},toggleOverwrite:function(ne){if(ne!=null&&ne==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?z(this.display.cursorDiv,"CodeMirror-overwrite"):E(this.display.cursorDiv,"CodeMirror-overwrite"),Ot(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==j()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:ds(function(J,ne){fa(this,J,ne)}),getScrollInfo:function(){var ne=this.display.scroller;return{left:ne.scrollLeft,top:ne.scrollTop,height:ne.scrollHeight-Jn(this)-this.display.barHeight,width:ne.scrollWidth-Jn(this)-this.display.barWidth,clientHeight:wi(this),clientWidth:pi(this)}},scrollIntoView:ds(function(J,ne){J==null?(J={from:this.doc.sel.primary().head,to:null},ne==null&&(ne=this.options.cursorScrollMargin)):typeof J=="number"?J={from:xt(J,0),to:null}:J.from==null&&(J={from:J,to:null}),J.to||(J.to=J.from),J.margin=ne||0,J.from.line!=null?xo(this,J):Wi(this,J.from,J.to,J.margin)}),setSize:ds(function(J,ne){var Pe=this,ct=function(cr){return typeof cr=="number"||/^\d+$/.test(String(cr))?cr+"px":cr};J!=null&&(this.display.wrapper.style.width=ct(J)),ne!=null&&(this.display.wrapper.style.height=ct(ne)),this.options.lineWrapping&&Gi(this);var Ht=this.display.viewFrom;this.doc.iter(Ht,this.display.viewTo,function(ir){if(ir.widgets){for(var cr=0;cr<ir.widgets.length;cr++)if(ir.widgets[cr].noHScroll){tt(Pe,Ht,"widget");break}}++Ht}),this.curOp.forceUpdate=!0,Ot(this,"refresh",this)}),operation:function(ne){return ho(this,ne)},startOperation:function(){return Lo(this)},endOperation:function(){return Ba(this)},refresh:ds(function(){var J=this.display.cachedTextHeight;ha(this),this.curOp.forceUpdate=!0,ga(this),fa(this,this.doc.scrollLeft,this.doc.scrollTop),qo(this.display),(J==null||Math.abs(J-qa(this.display))>.5||this.options.lineWrapping)&&go(this),Ot(this,"refresh",this)}),swapDoc:ds(function(J){var ne=this.doc;return ne.cm=null,this.state.selectingText&&this.state.selectingText(),Fi(this,J),ga(this),this.display.input.reset(),fa(this,J.scrollLeft,J.scrollTop),this.curOp.forceScroll=!0,Ar(this,"swapDoc",this,ne),ne}),phrase:function(ne){var Pe=this.options.phrases;return Pe&&Object.prototype.hasOwnProperty.call(Pe,ne)?Pe[ne]:ne},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}},Ft(I),I.registerHelper=function(J,ne,Pe){X.hasOwnProperty(J)||(X[J]=I[J]={_global:[]}),X[J][ne]=Pe},I.registerGlobalHelper=function(J,ne,Pe,ct){I.registerHelper(J,ne,ct),X[J]._global.push({pred:Pe,val:ct})}}function Er(I,D,X,J,ne){var Pe=D,ct=X,Ht=Ee(I,D.line),ir=ne&&I.direction=="rtl"?-X:X;function cr(){var na=D.line+ir;return na<I.first||na>=I.first+I.size?!1:(D=new xt(na,D.ch,D.sticky),Ht=Ee(I,na))}function yn(na){var xa;if(J=="codepoint"){var Ma=Ht.text.charCodeAt(D.ch+(J>0?0:-1));isNaN(Ma)?xa=null:xa=new xt(D.line,Math.max(0,Math.min(Ht.text.length,D.ch+X*(Ma>=55296&&Ma<56320?2:1))),-X)}else ne?xa=Gl(I.cm,Ht,D,X):xa=wu(Ht,D,X);if(xa==null)if(!na&&cr())D=fu(ne,I.cm,Ht,D.line,ir);else return!1;else D=xa;return!0}if(J=="char"||J=="codepoint")yn();else if(J=="column")yn(!0);else if(J=="word"||J=="group")for(var Dn=null,qn=J=="group",ni=I.cm&&I.cm.getHelper(D,"wordChars"),Mi=!0;!(X<0&&!yn(!Mi));Mi=!1){var Zi=Ht.text.charAt(D.ch)||`
`,da=oe(Zi,ni)?"w":qn&&Zi==`
`?"n":!qn||/\s/.test(Zi)?null:"p";if(qn&&!Mi&&!da&&(da="s"),Dn&&Dn!=da){X<0&&(X=1,yn(),D.sticky="after");break}if(da&&(Dn=da),X>0&&!yn(!Mi))break}var ia=Eo(I,D,Pe,ct,!0);return it(Pe,ia)&&(ia.hitSide=!0),ia}function Hr(I,D,X,J){var ne=I.doc,Pe=D.left,ct;if(J=="page"){var Ht=Math.min(I.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ir=Math.max(Ht-.5*qa(I.display),3);ct=(X>0?D.bottom:D.top)+X*ir}else J=="line"&&(ct=X>0?D.bottom+3:D.top-3);for(var cr;!(cr=Va(I,Pe,ct),!cr.outside);){if(X<0?ct<=0:ct>=ne.height){cr.hitSide=!0;break}ct+=X*5}return cr}var $r=function(D){this.cm=D,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};$r.prototype.init=function(I){var D=this,X=this,J=X.cm,ne=X.div=I.lineDiv;Nr(ne,J.options.spellcheck,J.options.autocorrect,J.options.autocapitalize);function Pe(Ht){for(var ir=Ht.target;ir;ir=ir.parentNode){if(ir==ne)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ir.className))break}return!1}Ne(ne,"paste",function(Ht){if(!Pe(Ht)||Bt(J,Ht)||Rt(Ht,J))return;c<=11&&setTimeout(bo(J,function(){return D.updateFromDOM()}),20)}),Ne(ne,"compositionstart",function(Ht){D.composing={data:Ht.data,done:!1}}),Ne(ne,"compositionupdate",function(Ht){D.composing||(D.composing={data:Ht.data,done:!1})}),Ne(ne,"compositionend",function(Ht){D.composing&&(Ht.data!=D.composing.data&&D.readFromDOMSoon(),D.composing.done=!0)}),Ne(ne,"touchstart",function(){return X.forceCompositionEnd()}),Ne(ne,"input",function(){D.composing||D.readFromDOMSoon()});function ct(Ht){if(!Pe(Ht)||Bt(J,Ht))return;if(J.somethingSelected())ze({lineWise:!1,text:J.getSelections()}),Ht.type=="cut"&&J.replaceSelection("",null,"cut");else if(J.options.lineWiseCopyCut){var ir=Xt(J);ze({lineWise:!0,text:ir.text}),Ht.type=="cut"&&J.operation(function(){J.setSelections(ir.ranges,0,ye),J.replaceSelection("",null,"cut")})}else return;if(Ht.clipboardData){Ht.clipboardData.clearData();var cr=he.text.join(`
`);if(Ht.clipboardData.setData("Text",cr),Ht.clipboardData.getData("Text")==cr){Ht.preventDefault();return}}var yn=Qr(),Dn=yn.firstChild;J.display.lineSpace.insertBefore(yn,J.display.lineSpace.firstChild),Dn.value=he.text.join(`
`);var qn=document.activeElement;U(Dn),setTimeout(function(){J.display.lineSpace.removeChild(yn),qn.focus(),qn==ne&&X.showPrimarySelection()},50)}Ne(ne,"copy",ct),Ne(ne,"cut",ct)},$r.prototype.screenReaderLabelChanged=function(I){I?this.div.setAttribute("aria-label",I):this.div.removeAttribute("aria-label")},$r.prototype.prepareSelection=function(){var I=_r(this.cm,!1);return I.focus=document.activeElement==this.div,I},$r.prototype.showSelection=function(I,D){if(!I||!this.cm.display.view.length)return;(I.focus||D)&&this.showPrimarySelection(),this.showMultipleSelections(I)},$r.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},$r.prototype.showPrimarySelection=function(){var I=this.getSelection(),D=this.cm,X=D.doc.sel.primary(),J=X.from(),ne=X.to();if(D.display.viewTo==D.display.viewFrom||J.line>=D.display.viewTo||ne.line<D.display.viewFrom){I.removeAllRanges();return}var Pe=Oi(D,I.anchorNode,I.anchorOffset),ct=Oi(D,I.focusNode,I.focusOffset);if(Pe&&!Pe.bad&&ct&&!ct.bad&&rt(St(Pe,ct),J)==0&&rt(Dt(Pe,ct),ne)==0)return;var Ht=D.display.view,ir=J.line>=D.display.viewFrom&&En(D,J)||{node:Ht[0].measure.map[2],offset:0},cr=ne.line<D.display.viewTo&&En(D,ne);if(!cr){var yn=Ht[Ht.length-1].measure,Dn=yn.maps?yn.maps[yn.maps.length-1]:yn.map;cr={node:Dn[Dn.length-1],offset:Dn[Dn.length-2]-Dn[Dn.length-3]}}if(!ir||!cr){I.removeAllRanges();return}var qn=I.rangeCount&&I.getRangeAt(0),ni;try{ni=k(ir.node,ir.offset,cr.offset,cr.node)}catch(Mi){}ni&&(!S&&D.state.focused?(I.collapse(ir.node,ir.offset),ni.collapsed||(I.removeAllRanges(),I.addRange(ni))):(I.removeAllRanges(),I.addRange(ni)),qn&&I.anchorNode==null?I.addRange(qn):S&&this.startGracePeriod()),this.rememberSelection()},$r.prototype.startGracePeriod=function(){var I=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){I.gracePeriod=!1,I.selectionChanged()&&I.cm.operation(function(){return I.cm.curOp.selectionChanged=!0})},20)},$r.prototype.showMultipleSelections=function(I){_(this.cm.display.cursorDiv,I.cursors),_(this.cm.display.selectionDiv,I.selection)},$r.prototype.rememberSelection=function(){var I=this.getSelection();this.lastAnchorNode=I.anchorNode,this.lastAnchorOffset=I.anchorOffset,this.lastFocusNode=I.focusNode,this.lastFocusOffset=I.focusOffset},$r.prototype.selectionInEditor=function(){var I=this.getSelection();if(!I.rangeCount)return!1;var D=I.getRangeAt(0).commonAncestorContainer;return F(this.div,D)},$r.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},$r.prototype.blur=function(){this.div.blur()},$r.prototype.getField=function(){return this.div},$r.prototype.supportsTouch=function(){return!0},$r.prototype.receivedFocus=function(){var I=this;this.selectionInEditor()?this.pollSelection():ho(this.cm,function(){return I.cm.curOp.selectionChanged=!0});function D(){I.cm.state.focused&&(I.pollSelection(),I.polling.set(I.cm.options.pollInterval,D))}this.polling.set(this.cm.options.pollInterval,D)},$r.prototype.selectionChanged=function(){var I=this.getSelection();return I.anchorNode!=this.lastAnchorNode||I.anchorOffset!=this.lastAnchorOffset||I.focusNode!=this.lastFocusNode||I.focusOffset!=this.lastFocusOffset},$r.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var I=this.getSelection(),D=this.cm;if(u&&t&&this.cm.display.gutterSpecs.length&&oi(I.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var X=Oi(D,I.anchorNode,I.anchorOffset),J=Oi(D,I.focusNode,I.focusOffset);X&&J&&ho(D,function(){Zo(D.doc,pe(X,J),ye),(X.bad||J.bad)&&(D.curOp.selectionChanged=!0)})},$r.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var I=this.cm,D=I.display,X=I.doc.sel.primary(),J=X.from(),ne=X.to();if(J.ch==0&&J.line>I.firstLine()&&(J=xt(J.line-1,Ee(I.doc,J.line-1).length)),ne.ch==Ee(I.doc,ne.line).text.length&&ne.line<I.lastLine()&&(ne=xt(ne.line+1,0)),J.line<D.viewFrom||ne.line>D.viewTo-1)return!1;var Pe,ct,Ht;J.line==D.viewFrom||(Pe=Fa(I,J.line))==0?(ct=Mt(D.view[0].line),Ht=D.view[0].node):(ct=Mt(D.view[Pe].line),Ht=D.view[Pe-1].node.nextSibling);var ir=Fa(I,ne.line),cr,yn;if(ir==D.view.length-1?(cr=D.viewTo-1,yn=D.lineDiv.lastChild):(cr=Mt(D.view[ir+1].line)-1,yn=D.view[ir+1].node.previousSibling),!Ht)return!1;for(var Dn=I.doc.splitLines(ji(I,Ht,yn,ct,cr)),qn=Ge(I.doc,xt(ct,0),xt(cr,Ee(I.doc,cr).text.length));Dn.length>1&&qn.length>1;)if(ue(Dn)==ue(qn))Dn.pop(),qn.pop(),cr--;else if(Dn[0]==qn[0])Dn.shift(),qn.shift(),ct++;else break;for(var ni=0,Mi=0,Zi=Dn[0],da=qn[0],ia=Math.min(Zi.length,da.length);ni<ia&&Zi.charCodeAt(ni)==da.charCodeAt(ni);)++ni;for(var na=ue(Dn),xa=ue(qn),Ma=Math.min(na.length-(Dn.length==1?ni:0),xa.length-(qn.length==1?ni:0));Mi<Ma&&na.charCodeAt(na.length-Mi-1)==xa.charCodeAt(xa.length-Mi-1);)++Mi;if(Dn.length==1&&qn.length==1&&ct==J.line)for(;ni&&ni>J.ch&&na.charCodeAt(na.length-Mi-1)==xa.charCodeAt(xa.length-Mi-1);)ni--,Mi++;Dn[Dn.length-1]=na.slice(0,na.length-Mi).replace(/^\u200b+/,""),Dn[0]=Dn[0].slice(ni).replace(/\u200b+$/,"");var Co=xt(ct,ni),no=xt(cr,qn.length?ue(qn).length-Mi:0);if(Dn.length>1||Dn[0]||rt(Co,no))return hl(I.doc,Dn,Co,no,"+input"),!0},$r.prototype.ensurePolled=function(){this.forceCompositionEnd()},$r.prototype.reset=function(){this.forceCompositionEnd()},$r.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},$r.prototype.readFromDOMSoon=function(){var I=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(I.readDOMTimeout=null,I.composing)if(I.composing.done)I.composing=null;else return;I.updateFromDOM()},80)},$r.prototype.updateFromDOM=function(){var I=this;(this.cm.isReadOnly()||!this.pollContent())&&ho(this.cm,function(){return ha(I.cm)})},$r.prototype.setUneditable=function(I){I.contentEditable="false"},$r.prototype.onKeyPress=function(I){if(I.charCode==0||this.composing)return;I.preventDefault(),this.cm.isReadOnly()||bo(this.cm,at)(this.cm,String.fromCharCode(I.charCode==null?I.keyCode:I.charCode),0)},$r.prototype.readOnlyChanged=function(I){this.div.contentEditable=String(I!="nocursor")},$r.prototype.onContextMenu=function(){},$r.prototype.resetPosition=function(){},$r.prototype.needsContentAttribute=!0;function En(I,D){var X=Ci(I,D.line);if(!X||X.hidden)return null;var J=Ee(I.doc,D.line),ne=Si(X,J,D.line),Pe=Et(J,I.doc.direction),ct="left";if(Pe){var Ht=Oe(Pe,D.ch);ct=Ht%2?"right":"left"}var ir=ua(ne.map,D.ch,ct);return ir.offset=ir.collapse=="right"?ir.end:ir.start,ir}function oi(I){for(var D=I;D;D=D.parentNode)if(/CodeMirror-gutter-wrapper/.test(D.className))return!0;return!1}function ci(I,D){return D&&(I.bad=!0),I}function ji(I,D,X,J,ne){var Pe="",ct=!1,Ht=I.doc.lineSeparator(),ir=!1;function cr(ni){return function(Mi){return Mi.id==ni}}function yn(){ct&&(Pe+=Ht,ir&&(Pe+=Ht),ct=ir=!1)}function Dn(ni){ni&&(yn(),Pe+=ni)}function qn(ni){if(ni.nodeType==1){var Mi=ni.getAttribute("cm-text");if(Mi){Dn(Mi);return}var Zi=ni.getAttribute("cm-marker"),da;if(Zi){var ia=I.findMarks(xt(J,0),xt(ne+1,0),cr(+Zi));ia.length&&(da=ia[0].find(0))&&Dn(Ge(I.doc,da.from,da.to).join(Ht));return}if(ni.getAttribute("contenteditable")=="false")return;var na=/^(pre|div|p|li|table|br)$/i.test(ni.nodeName);if(!/^br$/i.test(ni.nodeName)&&ni.textContent.length==0)return;na&&yn();for(var xa=0;xa<ni.childNodes.length;xa++)qn(ni.childNodes[xa]);/^(pre|p)$/i.test(ni.nodeName)&&(ir=!0),na&&(ct=!0)}else ni.nodeType==3&&Dn(ni.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(qn(D),D==X);)D=D.nextSibling,ir=!1;return Pe}function Oi(I,D,X){var J;if(D==I.display.lineDiv){if(J=I.display.lineDiv.childNodes[X],!J)return ci(I.clipPos(xt(I.display.viewTo-1)),!0);D=null,X=0}else for(J=D;;J=J.parentNode){if(!J||J==I.display.lineDiv)return null;if(J.parentNode&&J.parentNode==I.display.lineDiv)break}for(var ne=0;ne<I.display.view.length;ne++){var Pe=I.display.view[ne];if(Pe.node==J)return wa(Pe,D,X)}}function wa(I,D,X){var J=I.text.firstChild,ne=!1;if(!D||!F(J,D))return ci(xt(Mt(I.line),0),!0);if(D==J&&(ne=!0,D=J.childNodes[X],X=0,!D)){var Pe=I.rest?ue(I.rest):I.line;return ci(xt(Mt(Pe),Pe.text.length),ne)}var ct=D.nodeType==3?D:null,Ht=D;for(!ct&&D.childNodes.length==1&&D.firstChild.nodeType==3&&(ct=D.firstChild,X&&(X=ct.nodeValue.length));Ht.parentNode!=J;)Ht=Ht.parentNode;var ir=I.measure,cr=ir.maps;function yn(da,ia,na){for(var xa=-1;xa<(cr?cr.length:0);xa++)for(var Ma=xa<0?ir.map:cr[xa],Co=0;Co<Ma.length;Co+=3){var no=Ma[Co+2];if(no==da||no==ia){var Wo=Mt(xa<0?I.line:I.rest[xa]),ps=Ma[Co]+na;return(na<0||no!=da)&&(ps=Ma[Co+(na?1:0)]),xt(Wo,ps)}}}var Dn=yn(ct,Ht,X);if(Dn)return ci(Dn,ne);for(var qn=Ht.nextSibling,ni=ct?ct.nodeValue.length-X:0;qn;qn=qn.nextSibling){if(Dn=yn(qn,qn.firstChild,0),Dn)return ci(xt(Dn.line,Dn.ch-ni),ne);ni+=qn.textContent.length}for(var Mi=Ht.previousSibling,Zi=X;Mi;Mi=Mi.previousSibling){if(Dn=yn(Mi,Mi.firstChild,-1),Dn)return ci(xt(Dn.line,Dn.ch+Zi),ne);Zi+=Mi.textContent.length}}var Qi=function(D){this.cm=D,this.prevInput="",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Qi.prototype.init=function(I){var D=this,X=this,J=this.cm;this.createField(I);var ne=this.textarea;I.wrapper.insertBefore(this.wrapper,I.wrapper.firstChild),s&&(ne.style.width="0px"),Ne(ne,"input",function(){d&&c>=9&&D.hasSelection&&(D.hasSelection=null),X.poll()}),Ne(ne,"paste",function(ct){if(Bt(J,ct)||Rt(ct,J))return;J.state.pasteIncoming=+new Date,X.fastPoll()});function Pe(ct){if(Bt(J,ct))return;if(J.somethingSelected())ze({lineWise:!1,text:J.getSelections()});else if(J.options.lineWiseCopyCut){var Ht=Xt(J);ze({lineWise:!0,text:Ht.text}),ct.type=="cut"?J.setSelections(Ht.ranges,null,ye):(X.prevInput="",ne.value=Ht.text.join(`
`),U(ne))}else return;ct.type=="cut"&&(J.state.cutIncoming=+new Date)}Ne(ne,"cut",Pe),Ne(ne,"copy",Pe),Ne(I.scroller,"paste",function(ct){if(Ln(I,ct)||Bt(J,ct))return;if(!ne.dispatchEvent){J.state.pasteIncoming=+new Date,X.focus();return}var Ht=new Event("paste");Ht.clipboardData=ct.clipboardData,ne.dispatchEvent(Ht)}),Ne(I.lineSpace,"selectstart",function(ct){Ln(I,ct)||ke(ct)}),Ne(ne,"compositionstart",function(){var ct=J.getCursor("from");X.composing&&X.composing.range.clear(),X.composing={start:ct,range:J.markText(ct,J.getCursor("to"),{className:"CodeMirror-composing"})}}),Ne(ne,"compositionend",function(){X.composing&&(X.poll(),X.composing.range.clear(),X.composing=null)})},Qi.prototype.createField=function(I){this.wrapper=Qr(),this.textarea=this.wrapper.firstChild},Qi.prototype.screenReaderLabelChanged=function(I){I?this.textarea.setAttribute("aria-label",I):this.textarea.removeAttribute("aria-label")},Qi.prototype.prepareSelection=function(){var I=this.cm,D=I.display,X=I.doc,J=_r(I);if(I.options.moveInputWithCursor){var ne=ja(I,X.sel.primary().head,"div"),Pe=D.wrapper.getBoundingClientRect(),ct=D.lineDiv.getBoundingClientRect();J.teTop=Math.max(0,Math.min(D.wrapper.clientHeight-10,ne.top+ct.top-Pe.top)),J.teLeft=Math.max(0,Math.min(D.wrapper.clientWidth-10,ne.left+ct.left-Pe.left))}return J},Qi.prototype.showSelection=function(I){var D=this.cm,X=D.display;_(X.cursorDiv,I.cursors),_(X.selectionDiv,I.selection),I.teTop!=null&&(this.wrapper.style.top=I.teTop+"px",this.wrapper.style.left=I.teLeft+"px")},Qi.prototype.reset=function(I){if(this.contextMenuPending||this.composing)return;var D=this.cm;if(D.somethingSelected()){this.prevInput="";var X=D.getSelection();this.textarea.value=X,D.state.focused&&U(this.textarea),d&&c>=9&&(this.hasSelection=X)}else I||(this.prevInput=this.textarea.value="",d&&c>=9&&(this.hasSelection=null))},Qi.prototype.getField=function(){return this.textarea},Qi.prototype.supportsTouch=function(){return!1},Qi.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||j()!=this.textarea))try{this.textarea.focus()}catch(I){}},Qi.prototype.blur=function(){this.textarea.blur()},Qi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Qi.prototype.receivedFocus=function(){this.slowPoll()},Qi.prototype.slowPoll=function(){var I=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){I.poll(),I.cm.state.focused&&I.slowPoll()})},Qi.prototype.fastPoll=function(){var I=!1,D=this;D.pollingFast=!0;function X(){var J=D.poll();!J&&!I?(I=!0,D.polling.set(60,X)):(D.pollingFast=!1,D.slowPoll())}D.polling.set(20,X)},Qi.prototype.poll=function(){var I=this,D=this.cm,X=this.textarea,J=this.prevInput;if(this.contextMenuPending||!D.state.focused||hr(X)&&!J&&!this.composing||D.isReadOnly()||D.options.disableInput||D.state.keySeq)return!1;var ne=X.value;if(ne==J&&!D.somethingSelected())return!1;if(d&&c>=9&&this.hasSelection===ne||A&&/[\uf700-\uf7ff]/.test(ne))return D.display.input.reset(),!1;if(D.doc.sel==D.display.selForContextMenu){var Pe=ne.charCodeAt(0);if(Pe==8203&&!J&&(J="\u200B"),Pe==8666)return this.reset(),this.cm.execCommand("undo")}for(var ct=0,Ht=Math.min(J.length,ne.length);ct<Ht&&J.charCodeAt(ct)==ne.charCodeAt(ct);)++ct;return ho(D,function(){at(D,ne.slice(ct),J.length-ct,null,I.composing?"*compose":null),ne.length>1e3||ne.indexOf(`
`)>-1?X.value=I.prevInput="":I.prevInput=ne,I.composing&&(I.composing.range.clear(),I.composing.range=D.markText(I.composing.start,D.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Qi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Qi.prototype.onKeyPress=function(){d&&c>=9&&(this.hasSelection=null),this.fastPoll()},Qi.prototype.onContextMenu=function(I){var D=this,X=D.cm,J=X.display,ne=D.textarea;D.contextMenuPending&&D.contextMenuPending();var Pe=Ja(X,I),ct=J.scroller.scrollTop;if(!Pe||a)return;var Ht=X.options.resetSelectionOnContextMenu;Ht&&X.doc.sel.contains(Pe)==-1&&bo(X,Zo)(X.doc,pe(Pe),ye);var ir=ne.style.cssText,cr=D.wrapper.style.cssText,yn=D.wrapper.offsetParent.getBoundingClientRect();D.wrapper.style.cssText="position: static",ne.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(I.clientY-yn.top-5)+"px; left: "+(I.clientX-yn.left-5)+`px;
z-index: 1000; background: `+(d?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Dn;o&&(Dn=window.scrollY),J.input.focus(),o&&window.scrollTo(null,Dn),J.input.reset(),X.somethingSelected()||(ne.value=D.prevInput=" "),D.contextMenuPending=ni,J.selForContextMenu=X.doc.sel,clearTimeout(J.detectingSelectAll);function qn(){if(ne.selectionStart!=null){var Zi=X.somethingSelected(),da="\u200B"+(Zi?ne.value:"");ne.value="\u21DA",ne.value=da,D.prevInput=Zi?"":"\u200B",ne.selectionStart=1,ne.selectionEnd=da.length,J.selForContextMenu=X.doc.sel}}function ni(){if(D.contextMenuPending!=ni)return;if(D.contextMenuPending=!1,D.wrapper.style.cssText=cr,ne.style.cssText=ir,d&&c<9&&J.scrollbars.setScrollTop(J.scroller.scrollTop=ct),ne.selectionStart!=null){(!d||d&&c<9)&&qn();var Zi=0,da=function ia(){J.selForContextMenu==X.doc.sel&&ne.selectionStart==0&&ne.selectionEnd>0&&D.prevInput=="\u200B"?bo(X,$o)(X):Zi++<10?J.detectingSelectAll=setTimeout(ia,500):(J.selForContextMenu=null,J.input.reset())};J.detectingSelectAll=setTimeout(da,200)}}if(d&&c>=9&&qn(),O){qe(I);var Mi=function Zi(){Xe(window,"mouseup",Zi),setTimeout(ni,20)};Ne(window,"mouseup",Mi)}else setTimeout(ni,50)},Qi.prototype.readOnlyChanged=function(I){I||this.reset(),this.textarea.disabled=I=="nocursor",this.textarea.readOnly=!!I},Qi.prototype.setUneditable=function(){},Qi.prototype.needsContentAttribute=!1;function Ua(I,D){if(D=D?H(D):{},D.value=I.value,!D.tabindex&&I.tabIndex&&(D.tabindex=I.tabIndex),!D.placeholder&&I.placeholder&&(D.placeholder=I.placeholder),D.autofocus==null){var X=j();D.autofocus=X==I||I.getAttribute("autofocus")!=null&&X==document.body}function J(){I.value=Ht.getValue()}var ne;if(I.form&&(Ne(I.form,"submit",J),!D.leaveSubmitMethodAlone)){var Pe=I.form;ne=Pe.submit;try{var ct=Pe.submit=function(){J(),Pe.submit=ne,Pe.submit(),Pe.submit=ct}}catch(ir){}}D.finishInit=function(ir){ir.save=J,ir.getTextArea=function(){return I},ir.toTextArea=function(){ir.toTextArea=isNaN,J(),I.parentNode.removeChild(ir.getWrapperElement()),I.style.display="",I.form&&(Xe(I.form,"submit",J),!D.leaveSubmitMethodAlone&&typeof I.form.submit=="function"&&(I.form.submit=ne))}},I.style.display="none";var Ht=Cr(function(ir){return I.parentNode.insertBefore(ir,I.nextSibling)},D);return Ht}function Sa(I){I.off=Xe,I.on=Ne,I.wheelEventPixels=cn,I.Doc=Ys,I.splitLines=An,I.countColumn=K,I.findColumn=Ce,I.isWordChar=Ae,I.Pass=re,I.signal=Ot,I.Line=Wn,I.changeEnd=Ue,I.scrollbarModel=jo,I.Pos=xt,I.cmpPos=rt,I.modes=gt,I.mimeModes=zr,I.resolveMode=Vn,I.getMode=xi,I.modeExtensions=bn,I.extendMode=Pn,I.copyState=jt,I.startState=xe,I.innerMode=At,I.commands=Kl,I.keyMap=Cl,I.keyName=su,I.isModifierKey=ou,I.lookupKey=Tl,I.normalizeKeyMap=Tu,I.StringStream=we,I.SharedTextMarker=Pl,I.TextMarker=$s,I.LineWidget=Gs,I.e_preventDefault=ke,I.e_stopPropagation=te,I.e_stop=qe,I.addClass=z,I.contains=F,I.rmClass=E,I.keyNames=bl}He(Cr),Tr(Cr);var So="iter insert remove copy getEditor constructor".split(" ");for(var Fo in Ys.prototype)Ys.prototype.hasOwnProperty(Fo)&&W(So,Fo)<0&&(Cr.prototype[Fo]=function(I){return function(){return I.apply(this.doc,arguments)}}(Ys.prototype[Fo]));return Ft(Ys),Cr.inputStyles={textarea:Qi,contenteditable:$r},Cr.defineMode=function(I){!Cr.defaults.mode&&I!="null"&&(Cr.defaults.mode=I),pn.apply(this,arguments)},Cr.defineMIME=Nn,Cr.defineMode("null",function(){return{token:function(D){return D.skipToEnd()}}}),Cr.defineMIME("text/plain","null"),Cr.defineExtension=function(I,D){Cr.prototype[I]=D},Cr.defineDocExtension=function(I,D){Ys.prototype[I]=D},Cr.fromTextArea=Ua,Sa(Cr),Cr.version="5.58.2",Cr})},Vy0f:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("iYpf"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},W2nI:function(M,N,n){var v=n("IwbS"),p=n("ProS"),S=n("bYtY"),m=["itemStyle","opacity"],g=["emphasis","itemStyle","opacity"],f=["lineStyle","opacity"],d=["emphasis","lineStyle","opacity"];function c(l,r){return l.getVisual("opacity")||l.getModel().get(r)}function o(l,r,s){var u=l.getGraphicEl(),h=c(l,r);s!=null&&(h==null&&(h=1),h*=s),u.downplay&&u.downplay(),u.traverse(function(A){A.type!=="group"&&A.setStyle("opacity",h)})}function i(l,r){var s=c(l,r),u=l.getGraphicEl();u.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",s)}),u.highlight&&u.highlight()}var t=v.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,r){var s=r.extent;l.moveTo(r.x1,r.y1),l.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(l.lineTo(r.x2+s,r.y2),l.bezierCurveTo(r.cpx2+s,r.cpy2,r.cpx1+s,r.cpy1,r.x1+s,r.y1)):(l.lineTo(r.x2,r.y2+s),l.bezierCurveTo(r.cpx2,r.cpy2+s,r.cpx1,r.cpy1+s,r.x1,r.y1+s)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),a=p.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,r,s){var u=this,h=l.getGraph(),A=this.group,y=l.layoutInfo,w=y.width,b=y.height,x=l.getData(),O=l.getData("edge"),T=l.get("orient");this._model=l,A.removeAll(),A.attr("position",[y.x,y.y]),h.eachEdge(function(E){var C=new t;C.dataIndex=E.dataIndex,C.seriesIndex=l.seriesIndex,C.dataType="edge";var _=E.getModel("lineStyle"),L=_.get("curveness"),P=E.node1.getLayout(),k=E.node1.getModel(),F=k.get("localX"),j=k.get("localY"),z=E.node2.getLayout(),R=E.node2.getModel(),U=R.get("localX"),B=R.get("localY"),H=E.getLayout(),K,V,W,G,re,ye,$,ve;C.shape.extent=Math.max(1,H.dy),C.shape.orient=T,T==="vertical"?(K=(F!=null?F*w:P.x)+H.sy,V=(j!=null?j*b:P.y)+P.dy,W=(U!=null?U*w:z.x)+H.ty,G=B!=null?B*b:z.y,re=K,ye=V*(1-L)+G*L,$=W,ve=V*L+G*(1-L)):(K=(F!=null?F*w:P.x)+P.dx,V=(j!=null?j*b:P.y)+H.sy,W=U!=null?U*w:z.x,G=(B!=null?B*b:z.y)+H.ty,re=K*(1-L)+W*L,ye=V,$=K*L+W*(1-L),ve=G),C.setShape({x1:K,y1:V,x2:W,y2:G,cpx1:re,cpy1:ye,cpx2:$,cpy2:ve}),C.setStyle(_.getItemStyle());switch(C.style.fill){case"source":C.style.fill=E.node1.getVisual("color");break;case"target":C.style.fill=E.node2.getVisual("color");break}v.setHoverStyle(C,E.getModel("emphasis.lineStyle").getItemStyle()),A.add(C),O.setItemGraphicEl(E.dataIndex,C)}),h.eachNode(function(E){var C=E.getLayout(),_=E.getModel(),L=_.get("localX"),P=_.get("localY"),k=_.getModel("label"),F=_.getModel("emphasis.label"),j=new v.Rect({shape:{x:L!=null?L*w:C.x,y:P!=null?P*b:C.y,width:C.dx,height:C.dy},style:_.getModel("itemStyle").getItemStyle()}),z=E.getModel("emphasis.itemStyle").getItemStyle();v.setLabelStyle(j.style,z,k,F,{labelFetcher:l,labelDataIndex:E.dataIndex,defaultText:E.id,isRectText:!0}),j.setStyle("fill",E.getVisual("color")),v.setHoverStyle(j,z),A.add(j),x.setItemGraphicEl(E.dataIndex,j),j.dataType="node"}),x.eachItemGraphicEl(function(E,C){var _=x.getItemModel(C);_.get("draggable")&&(E.drift=function(L,P){u._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=P,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:x.getRawIndex(C),localX:this.shape.x/w,localY:this.shape.y/b})},E.ondragend=function(){u._focusAdjacencyDisabled=!1},E.draggable=!0,E.cursor="move"),E.highlight=function(){this.trigger("emphasis")},E.downplay=function(){this.trigger("normal")},E.focusNodeAdjHandler&&E.off("mouseover",E.focusNodeAdjHandler),E.unfocusNodeAdjHandler&&E.off("mouseout",E.unfocusNodeAdjHandler),_.get("focusNodeAdjacency")&&(E.on("mouseover",E.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:E.dataIndex}))}),E.on("mouseout",E.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),O.eachItemGraphicEl(function(E,C){var _=O.getItemModel(C);E.focusNodeAdjHandler&&E.off("mouseover",E.focusNodeAdjHandler),E.unfocusNodeAdjHandler&&E.off("mouseout",E.unfocusNodeAdjHandler),_.get("focusNodeAdjacency")&&(E.on("mouseover",E.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:E.dataIndex}))}),E.on("mouseout",E.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&A.setClipPath(e(A.getBoundingRect(),l,function(){A.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var r=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){r._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:r._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,r,s,u){var h=l.getData(),A=h.graph,y=u.dataIndex,w=h.getItemModel(y),b=u.edgeDataIndex;if(y==null&&b==null)return;var x=A.getNodeByIndex(y),O=A.getEdgeByIndex(b);if(A.eachNode(function(E){o(E,m,.1)}),A.eachEdge(function(E){o(E,f,.1)}),x){i(x,g);var T=w.get("focusNodeAdjacency");T==="outEdges"?S.each(x.outEdges,function(E){if(E.dataIndex<0)return;i(E,d),i(E.node2,g)}):T==="inEdges"?S.each(x.inEdges,function(E){if(E.dataIndex<0)return;i(E,d),i(E.node1,g)}):T==="allEdges"&&S.each(x.edges,function(E){if(E.dataIndex<0)return;i(E,d),E.node1!==x&&i(E.node1,g),E.node2!==x&&i(E.node2,g)})}O&&(i(O,d),i(O.node1,g),i(O.node2,g))},unfocusNodeAdjacency:function(l,r,s,u){var h=l.getGraph();h.eachNode(function(A){o(A,m)}),h.eachEdge(function(A){o(A,f)})}});function e(l,r,s){var u=new v.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return v.initProps(u,{shape:{width:l.width+20}},r,s),u}M.exports=a},W4dC:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=S.each,g=S.createHashMap,f=n("7DRL"),d=n("TIY9"),c=n("yS9w"),o=n("mFDi"),i={geoJSON:d,svg:c},t={load:function(r,s,u){var h=[],A=g(),y=g(),w,b=l(r);return m(b,function(x){var O=i[x.type].load(r,x,u);m(O.regions,function(E){var C=E.name;s&&s.hasOwnProperty(C)&&(E=E.cloneShallow(C=s[C])),h.push(E),A.set(C,E),y.set(C,E.center)});var T=O.boundingRect;T&&(w?w.union(T):w=T.clone())}),{regions:h,regionsMap:A,nameCoordMap:y,boundingRect:w||new o(0,0,0,0)}},makeGraphic:a("makeGraphic"),removeGraphic:a("removeGraphic")};function a(r){return function(s,u){var h=l(s),A=[];return m(h,function(y){var w=i[y.type][r];w&&A.push(w(s,y,u))}),A}}function e(r){}function l(r){var s=f.retrieveMap(r)||[];return s}M.exports=t},WGYa:function(M,N,n){var v=n("7yuC"),p=v.forceLayout,S=n("HF/U"),m=S.simpleLayout,g=n("lOQZ"),f=g.circularLayout,d=n("OELB"),c=d.linearMap,o=n("QBsz"),i=n("bYtY");function t(a){a.eachSeriesByType("graph",function(e){var l=e.coordinateSystem;if(l&&l.type!=="view")return;if(e.get("layout")==="force"){var r=e.preservedPoints||{},s=e.getGraph(),u=s.data,h=s.edgeData,A=e.getModel("force"),y=A.get("initLayout");e.preservedPoints?u.each(function(k){var F=u.getId(k);u.setItemLayout(k,r[F]||[NaN,NaN])}):!y||y==="none"?m(e):y==="circular"&&f(e,"value");var w=u.getDataExtent("value"),b=h.getDataExtent("value"),x=A.get("repulsion"),O=A.get("edgeLength");i.isArray(x)||(x=[x,x]),i.isArray(O)||(O=[O,O]),O=[O[1],O[0]];var T=u.mapArray("value",function(k,F){var j=u.getItemLayout(F),z=c(k,w,x);return isNaN(z)&&(z=(x[0]+x[1])/2),{w:z,rep:z,fixed:u.getItemModel(F).get("fixed"),p:!j||isNaN(j[0])||isNaN(j[1])?null:j}}),E=h.mapArray("value",function(k,F){var j=s.getEdgeByIndex(F),z=c(k,b,O);isNaN(z)&&(z=(O[0]+O[1])/2);var R=j.getModel();return{n1:T[j.node1.dataIndex],n2:T[j.node2.dataIndex],d:z,curveness:R.get("lineStyle.curveness")||0,ignoreForceLayout:R.get("ignoreForceLayout")}}),l=e.coordinateSystem,C=l.getBoundingRect(),_=p(T,E,{rect:C,gravity:A.get("gravity"),friction:A.get("friction")}),L=_.step;_.step=function(k){for(var F=0,j=T.length;F<j;F++)T[F].fixed&&o.copy(T[F].p,s.getNodeByIndex(F).getLayout());L(function(z,R,U){for(var B=0,H=z.length;B<H;B++)z[B].fixed||s.getNodeByIndex(B).setLayout(z[B].p),r[u.getId(B)]=z[B].p;for(var B=0,H=R.length;B<H;B++){var K=R[B],V=s.getEdgeByIndex(B),W=K.n1.p,G=K.n2.p,re=V.getLayout();re=re?re.slice():[],re[0]=re[0]||[],re[1]=re[1]||[],o.copy(re[0],W),o.copy(re[1],G),+K.curveness&&(re[2]=[(W[0]+G[0])/2-(W[1]-G[1])*K.curveness,(W[1]+G[1])/2-(G[0]-W[0])*K.curveness]),V.setLayout(re)}k&&k(U)})},e.forceLayout=_,e.preservedPoints=r,_.step()}else e.forceLayout=null})}M.exports=t},"WN+l":function(M,N,n){var v=n("bYtY"),p=n("IwbS");function S(g,f,d,c){var o=d.axis;if(o.scale.isBlank())return;var i=d.getModel("splitArea"),t=i.getModel("areaStyle"),a=t.get("color"),e=c.coordinateSystem.getRect(),l=o.getTicksCoords({tickModel:i,clamp:!0});if(!l.length)return;var r=a.length,s=g.__splitAreaColors,u=v.createHashMap(),h=0;if(s)for(var A=0;A<l.length;A++){var y=s.get(l[A].tickValue);if(y!=null){h=(y+(r-1)*A)%r;break}}var w=o.toGlobalCoord(l[0].coord),b=t.getAreaStyle();a=v.isArray(a)?a:[a];for(var A=1;A<l.length;A++){var x=o.toGlobalCoord(l[A].coord),O,T,E,C;o.isHorizontal()?(O=w,T=e.y,E=x-O,C=e.height,w=O+E):(O=e.x,T=w,E=e.width,C=x-T,w=T+C);var _=l[A-1].tickValue;_!=null&&u.set(_,h),f.add(new p.Rect({anid:_!=null?"area_"+_:null,shape:{x:O,y:T,width:E,height:C},style:v.defaults({fill:a[h]},b),silent:!0})),h=(h+1)%r}g.__splitAreaColors=u}function m(g){g.__splitAreaColors=null}N.rectCoordAxisBuildSplitArea=S,N.rectCoordAxisHandleRemove=m},WXVj:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("Bqw1")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="MinusSquareOutlined";var i=m.forwardRef(o);N.default=i},Wqna:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=S.isObject,g=S.each,f=S.map,d=S.indexOf,c=S.retrieve,o=n("+TT/"),i=o.getLayoutRect,t=n("aX7z"),a=t.createScaleByModel,e=t.ifAxisCrossZero,l=t.niceScaleExtent,r=t.estimateLabelUnionRect,s=n("y+lR"),u=n("7AJT"),h=n("IDmD"),A=n("7hqr"),y=A.getStackedDimension;n("jtI2");function w(k,F,j){return k.getCoordSysModel()===F}function b(k,F,j){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(k,F,j),this.model=k}var x=b.prototype;x.type="grid",x.axisPointerEnabled=!0,x.getRect=function(){return this._rect},x.update=function(k,F){var j=this._axesMap;this._updateScale(k,this.model),g(j.x,function(R){l(R.scale,R.model)}),g(j.y,function(R){l(R.scale,R.model)});var z={};g(j.x,function(R){O(j,"y",R,z)}),g(j.y,function(R){O(j,"x",R,z)}),this.resize(this.model,F)};function O(k,F,j,z){j.getAxesOnZeroOf=function(){return U?[U]:[]};var R=k[F],U,B=j.model,H=B.get("axisLine.onZero"),K=B.get("axisLine.onZeroAxisIndex");if(!H)return;if(K!=null)T(R[K])&&(U=R[K]);else for(var V in R)if(R.hasOwnProperty(V)&&T(R[V])&&!z[W(R[V])]){U=R[V];break}U&&(z[W(U)]=!0);function W(G){return G.dim+"_"+G.index}}function T(k){return k&&k.type!=="category"&&k.type!=="time"&&e(k)}x.resize=function(k,F,j){var z=i(k.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()});this._rect=z;var R=this._axesList;U(),!j&&k.get("containLabel")&&(g(R,function(B){if(!B.model.get("axisLabel.inside")){var H=r(B);if(H){var K=B.isHorizontal()?"height":"width",V=B.model.get("axisLabel.margin");z[K]-=H[K]+V,B.position==="top"?z.y+=H.height+V:B.position==="left"&&(z.x+=H.width+V)}}}),U());function U(){g(R,function(B){var H=B.isHorizontal(),K=H?[0,z.width]:[0,z.height],V=B.inverse?1:0;B.setExtent(K[V],K[1-V]),E(B,H?z.x:z.y)})}},x.getAxis=function(k,F){var j=this._axesMap[k];if(j!=null){if(F==null){for(var z in j)if(j.hasOwnProperty(z))return j[z]}return j[F]}},x.getAxes=function(){return this._axesList.slice()},x.getCartesian=function(k,F){if(k!=null&&F!=null){var j="x"+k+"y"+F;return this._coordsMap[j]}m(k)&&(F=k.yAxisIndex,k=k.xAxisIndex);for(var z=0,R=this._coordsList;z<R.length;z++)if(R[z].getAxis("x").index===k||R[z].getAxis("y").index===F)return R[z]},x.getCartesians=function(){return this._coordsList.slice()},x.convertToPixel=function(k,F,j){var z=this._findConvertTarget(k,F);return z.cartesian?z.cartesian.dataToPoint(j):z.axis?z.axis.toGlobalCoord(z.axis.dataToCoord(j)):null},x.convertFromPixel=function(k,F,j){var z=this._findConvertTarget(k,F);return z.cartesian?z.cartesian.pointToData(j):z.axis?z.axis.coordToData(z.axis.toLocalCoord(j)):null},x._findConvertTarget=function(k,F){var j=F.seriesModel,z=F.xAxisModel||j&&j.getReferringComponents("xAxis")[0],R=F.yAxisModel||j&&j.getReferringComponents("yAxis")[0],U=F.gridModel,B=this._coordsList,H,K;if(j)H=j.coordinateSystem,d(B,H)<0&&(H=null);else if(z&&R)H=this.getCartesian(z.componentIndex,R.componentIndex);else if(z)K=this.getAxis("x",z.componentIndex);else if(R)K=this.getAxis("y",R.componentIndex);else if(U){var V=U.coordinateSystem;V===this&&(H=this._coordsList[0])}return{cartesian:H,axis:K}},x.containPoint=function(k){var F=this._coordsList[0];if(F)return F.containPoint(k)},x._initCartesian=function(k,F,j){var z={left:!1,right:!1,top:!1,bottom:!1},R={x:{},y:{}},U={x:0,y:0};if(F.eachComponent("xAxis",B("x"),this),F.eachComponent("yAxis",B("y"),this),!U.x||!U.y){this._axesMap={},this._axesList=[];return}this._axesMap=R,g(R.x,function(H,K){g(R.y,function(V,W){var G="x"+K+"y"+W,re=new s(G);re.grid=this,re.model=k,this._coordsMap[G]=re,this._coordsList.push(re),re.addAxis(H),re.addAxis(V)},this)},this);function B(H){return function(K,V){if(!w(K,k,F))return;var W=K.get("position");H==="x"?W!=="top"&&W!=="bottom"&&(W=z.bottom?"top":"bottom"):W!=="left"&&W!=="right"&&(W=z.left?"right":"left"),z[W]=!0;var G=new u(H,a(K),[0,0],K.get("type"),W),re=G.type==="category";G.onBand=re&&K.get("boundaryGap"),G.inverse=K.get("inverse"),K.axis=G,G.model=K,G.grid=this,G.index=V,this._axesList.push(G),R[H][V]=G,U[H]++}}},x._updateScale=function(k,F){g(this._axesList,function(z){z.scale.setExtent(Infinity,-Infinity)}),k.eachSeries(function(z){if(L(z)){var R=_(z,k),U=R[0],B=R[1];if(!w(U,F,k)||!w(B,F,k))return;var H=this.getCartesian(U.componentIndex,B.componentIndex),K=z.getData(),V=H.getAxis("x"),W=H.getAxis("y");K.type==="list"&&(j(K,V,z),j(K,W,z))}},this);function j(z,R,U){g(z.mapDimension(R.dim,!0),function(B){R.scale.unionExtentFromData(z,y(z,B))})}},x.getTooltipAxes=function(k){var F=[],j=[];return g(this.getCartesians(),function(z){var R=k!=null&&k!=="auto"?z.getAxis(k):z.getBaseAxis(),U=z.getOtherAxis(R);d(F,R)<0&&F.push(R),d(j,U)<0&&j.push(U)}),{baseAxes:F,otherAxes:j}};function E(k,F){var j=k.getExtent(),z=j[0]+j[1];k.toGlobalCoord=k.dim==="x"?function(R){return R+F}:function(R){return z-R+F},k.toLocalCoord=k.dim==="x"?function(R){return R-F}:function(R){return z-R+F}}var C=["xAxis","yAxis"];function _(k,F){return f(C,function(j){var z=k.getReferringComponents(j)[0];return z})}function L(k){return k.get("coordinateSystem")==="cartesian2d"}b.create=function(k,F){var j=[];return k.eachComponent("grid",function(z,R){var U=new b(z,k,F);U.name="grid_"+R,U.resize(z,F,!0),z.coordinateSystem=U,j.push(U)}),k.eachSeries(function(z){if(!L(z))return;var R=_(z,k),U=R[0],B=R[1],H=U.getCoordSysModel(),K=H.coordinateSystem;z.coordinateSystem=K.getCartesian(U.componentIndex,B.componentIndex)}),j},b.dimensions=b.prototype.dimensions=s.prototype.dimensions,h.register("cartesian2d",b);var P=b;M.exports=P},"X+im":function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("KQeH")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="DownloadOutlined";var i=m.forwardRef(o);N.default=i},"X2/X":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};N.default=v},XAae:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("hwYd"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},XOKv:function(M,N,n){n("OXB0"),n("SA4+")},Xmg4:function(M,N,n){var v=n("bYtY"),p=n("LPTA"),S=p.devicePixelRatio,m=n("K2GJ"),g=n("3C/r");function f(){return!1}function d(i,t,a){var e=v.createCanvas(),l=t.getWidth(),r=t.getHeight(),s=e.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=l+"px",s.height=r+"px",e.setAttribute("data-zr-dom-id",i)),e.width=l*a,e.height=r*a,e}var c=function(t,a,e){var l;e=e||S,typeof t=="string"?l=d(t,a,e):v.isObject(t)&&(l=t,t=l.id),this.id=t,this.dom=l;var r=l.style;r&&(l.onselectstart=f,r["-webkit-user-select"]="none",r["user-select"]="none",r["-webkit-touch-callout"]="none",r["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",r.padding=0,r.margin=0,r["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=a,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=e};c.prototype={constructor:c,__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 t=this.dpr;this.domBack=d("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),t!==1&&this.ctxBack.scale(t,t)},resize:function(t,a){var e=this.dpr,l=this.dom,r=l.style,s=this.domBack;r&&(r.width=t+"px",r.height=a+"px"),l.width=t*e,l.height=a*e,s&&(s.width=t*e,s.height=a*e,e!==1&&this.ctxBack.scale(e,e))},clear:function(t,a){var e=this.dom,l=this.ctx,r=e.width,s=e.height,a=a||this.clearColor,u=this.motionBlur&&!t,h=this.lastFrameAlpha,A=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(e,0,0,r/A,s/A)),l.clearRect(0,0,r,s),a&&a!=="transparent"){var y;a.colorStops?(y=a.__canvasGradient||m.getGradient(l,a,{x:0,y:0,width:r,height:s}),a.__canvasGradient=y):a.image&&(y=g.prototype.getCanvasPattern.call(a,l)),l.save(),l.fillStyle=y||a,l.fillRect(0,0,r,s),l.restore()}if(u){var w=this.domBack;l.save(),l.globalAlpha=h,l.drawImage(w,0,0,r,s),l.restore()}}};var o=c;M.exports=o},Xnb7:function(M,N,n){var v=n("1RvN"),p=new v(50);function S(d){if(typeof d=="string"){var c=p.get(d);return c&&c.image}else return d}function m(d,c,o,i,t){if(d)if(typeof d=="string"){if(c&&c.__zrImageSrc===d||!o)return c;var a=p.get(d),e={hostEl:o,cb:i,cbPayload:t};return a?(c=a.image,!f(c)&&a.pending.push(e)):(c=new Image,c.onload=c.onerror=g,p.put(d,c.__cachedImgObj={image:c,pending:[e]}),c.src=c.__zrImageSrc=d),c}else return d;else return c}function g(){var d=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var c=0;c<d.pending.length;c++){var o=d.pending[c],i=o.cb;i&&i(this,o.cbPayload),o.hostEl.dirty()}d.pending.length=0}function f(d){return d&&d.width&&d.height}N.findExistImage=S,N.createOrUpdateImage=m,N.isImageReady=f},XpcN:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("bYtY"),g=n("oVpE"),f=g.createSymbol,d=n("IwbS"),c=n("eRkO"),o=c.makeBackground,i=n("+TT/"),t=m.curry,a=m.each,e=d.Group,l=S.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new e),this._backgroundEl,this.group.add(this._selectorGroup=new e),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(A,y,w){var b=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!A.get("show",!0))return;var x=A.get("align"),O=A.get("orient");(!x||x==="auto")&&(x=A.get("left")==="right"&&O==="vertical"?"right":"left");var T=A.get("selector",!0),E=A.get("selectorPosition",!0);T&&(!E||E==="auto")&&(E=O==="horizontal"?"end":"start"),this.renderInner(x,A,y,w,T,O,E);var C=A.getBoxLayoutParams(),_={width:w.getWidth(),height:w.getHeight()},L=A.get("padding"),P=i.getLayoutRect(C,_,L),k=this.layoutInner(A,x,P,b,T,E),F=i.getLayoutRect(m.defaults({width:k.width,height:k.height},C),_,L);this.group.attr("position",[F.x-k.x,F.y-k.y]),this.group.add(this._backgroundEl=o(k,A))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(A,y,w,b,x,O,T){var E=this.getContentGroup(),C=m.createHashMap(),_=y.get("selectedMode"),L=[];w.eachRawSeries(function(P){!P.get("legendHoverLink")&&L.push(P.id)}),a(y.getData(),function(P,k){var F=P.get("name");if(!this.newlineDisabled&&(F===""||F===`
`)){E.add(new e({newline:!0}));return}var j=w.getSeriesByName(F)[0];if(C.get(F))return;if(j){var z=j.getData(),R=z.getVisual("color"),U=z.getVisual("borderColor");typeof R=="function"&&(R=R(j.getDataParams(0))),typeof U=="function"&&(U=U(j.getDataParams(0)));var B=z.getVisual("legendSymbol")||"roundRect",H=z.getVisual("symbol"),K=this._createItem(F,k,P,y,B,H,A,R,U,_);K.on("click",t(s,F,null,b,L)).on("mouseover",t(u,j.name,null,b,L)).on("mouseout",t(h,j.name,null,b,L)),C.set(F,!0)}else w.eachRawSeries(function(V){if(C.get(F))return;if(V.legendVisualProvider){var W=V.legendVisualProvider;if(!W.containName(F))return;var G=W.indexOfName(F),re=W.getItemVisual(G,"color"),ye=W.getItemVisual(G,"borderColor"),$="roundRect",ve=this._createItem(F,k,P,y,$,null,A,re,ye,_);ve.on("click",t(s,null,F,b,L)).on("mouseover",t(u,null,F,b,L)).on("mouseout",t(h,null,F,b,L)),C.set(F,!0)}},this)},this),x&&this._createSelector(x,y,b,O,T)},_createSelector:function(A,y,w,b,x){var O=this.getSelectorGroup();a(A,function(E){T(E)});function T(E){var C=E.type,_=new d.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){w.dispatchAction({type:C==="all"?"legendAllSelect":"legendInverseSelect"})}});O.add(_);var L=y.getModel("selectorLabel"),P=y.getModel("emphasis.selectorLabel");d.setLabelStyle(_.style,_.hoverStyle={},L,P,{defaultText:E.title,isRectText:!1}),d.setHoverStyle(_)}},_createItem:function(A,y,w,b,x,O,T,E,C,_){var L=b.get("itemWidth"),P=b.get("itemHeight"),k=b.get("inactiveColor"),F=b.get("inactiveBorderColor"),j=b.get("symbolKeepAspect"),z=b.getModel("itemStyle"),R=b.isSelected(A),U=new e,B=w.getModel("textStyle"),H=w.get("icon"),K=w.getModel("tooltip"),V=K.parentModel;x=H||x;var W=f(x,0,0,L,P,R?E:k,j==null?!0:j);if(U.add(r(W,x,z,C,F,R)),!H&&O&&(O!==x||O==="none")){var G=P*.8;O==="none"&&(O="circle");var re=f(O,(L-G)/2,(P-G)/2,G,G,R?E:k,j==null?!0:j);U.add(r(re,O,z,C,F,R))}var ye=T==="left"?L+5:-5,$=T,ve=b.get("formatter"),Ce=A;typeof ve=="string"&&ve?Ce=ve.replace("{name}",A!=null?A:""):typeof ve=="function"&&(Ce=ve(A)),U.add(new d.Text({style:d.setTextStyle({},B,{text:Ce,x:ye,y:P/2,textFill:R?B.getTextColor():k,textAlign:$,textVerticalAlign:"middle"})}));var Se=new d.Rect({shape:U.getBoundingRect(),invisible:!0,tooltip:K.get("show")?m.extend({content:A,formatter:V.get("formatter",!0)||function(){return A},formatterParams:{componentType:"legend",legendIndex:b.componentIndex,name:A,$vars:["name"]}},K.option):null});return U.add(Se),U.eachChild(function(Ke){Ke.silent=!0}),Se.silent=!_,this.getContentGroup().add(U),d.setHoverStyle(U),U.__legendDataIndex=y,U},layoutInner:function(A,y,w,b,x,O){var T=this.getContentGroup(),E=this.getSelectorGroup();i.box(A.get("orient"),T,A.get("itemGap"),w.width,w.height);var C=T.getBoundingRect(),_=[-C.x,-C.y];if(x){i.box("horizontal",E,A.get("selectorItemGap",!0));var L=E.getBoundingRect(),P=[-L.x,-L.y],k=A.get("selectorButtonGap",!0),F=A.getOrient().index,j=F===0?"width":"height",z=F===0?"height":"width",R=F===0?"y":"x";O==="end"?P[F]+=C[j]+k:_[F]+=L[j]+k,P[1-F]+=C[z]/2-L[z]/2,E.attr("position",P),T.attr("position",_);var U={x:0,y:0};return U[j]=C[j]+k+L[j],U[z]=Math.max(C[z],L[z]),U[R]=Math.min(0,L[R]+P[1-F]),U}else return T.attr("position",_),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function r(A,y,w,b,x,O){var T;return y!=="line"&&y.indexOf("empty")<0?(T=w.getItemStyle(),A.style.stroke=b,O||(T.stroke=x)):T=w.getItemStyle(["borderWidth","borderColor"]),A.setStyle(T)}function s(A,y,w,b){h(A,y,w,b),w.dispatchAction({type:"legendToggleSelect",name:A!=null?A:y}),u(A,y,w,b)}function u(A,y,w,b){var x=w.getZr().storage.getDisplayList()[0];x&&x.useHoverLayer||w.dispatchAction({type:"highlight",seriesName:A,name:y,excludeSeriesId:b})}function h(A,y,w,b){var x=w.getZr().storage.getDisplayList()[0];x&&x.useHoverLayer||w.dispatchAction({type:"downplay",seriesName:A,name:y,excludeSeriesId:b})}M.exports=l},XuBP:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};N.default=v},XxSj:function(M,N,n){var v=n("bYtY"),p=n("Qe9p"),S=n("OELB"),m=S.linearMap,g=v.each,f=v.isObject,d=-1,c=function(O){var T=O.mappingMethod,E=O.type,C=this.option=v.clone(O);this.type=E,this.mappingMethod=T,this._normalizeData=w[T];var _=o[E];this.applyVisual=_.applyVisual,this.getColorMapper=_.getColorMapper,this._doMap=_._doMap[T],T==="piecewise"?(a(C),i(C)):T==="category"?C.categories?t(C):a(C,!0):(v.assert(T!=="linear"||C.dataExtent),a(C))};c.prototype={constructor:c,mapValueToVisual:function(O){var T=this._normalizeData(O);return this._doMap(T,O)},getNormalizer:function(){return v.bind(this._normalizeData,this)}};var o=c.visualHandlers={color:{applyVisual:r("color"),getColorMapper:function(){var O=this.option;return v.bind(O.mappingMethod==="category"?function(T,E){return!E&&(T=this._normalizeData(T)),s.call(this,T)}:function(T,E,C){var _=!!C;return!E&&(T=this._normalizeData(T)),C=p.fastLerp(T,O.parsedVisual,C),_?C:p.stringify(C,"rgba")},this)},_doMap:{linear:function(O){return p.stringify(p.fastLerp(O,this.option.parsedVisual),"rgba")},category:s,piecewise:function(O,T){var E=A.call(this,T);return E==null&&(E=p.stringify(p.fastLerp(O,this.option.parsedVisual),"rgba")),E},fixed:u}},colorHue:e(function(O,T){return p.modifyHSL(O,T)}),colorSaturation:e(function(O,T){return p.modifyHSL(O,null,T)}),colorLightness:e(function(O,T){return p.modifyHSL(O,null,null,T)}),colorAlpha:e(function(O,T){return p.modifyAlpha(O,T)}),opacity:{applyVisual:r("opacity"),_doMap:h([0,1])},liftZ:{applyVisual:r("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(O,T,E){var C=this.mapValueToVisual(O);if(v.isString(C))E("symbol",C);else if(f(C))for(var _ in C)C.hasOwnProperty(_)&&E(_,C[_])},_doMap:{linear:l,category:s,piecewise:function(O,T){var E=A.call(this,T);return E==null&&(E=l.call(this,O)),E},fixed:u}},symbolSize:{applyVisual:r("symbolSize"),_doMap:h([0,1])}};function i(O){var T=O.pieceList;O.hasSpecialVisual=!1,v.each(T,function(E,C){E.originIndex=C,E.visual!=null&&(O.hasSpecialVisual=!0)})}function t(O){var T=O.categories,E=O.visual,C=O.categoryMap={};if(g(T,function(P,k){C[P]=k}),!v.isArray(E)){var _=[];v.isObject(E)?g(E,function(P,k){var F=C[k];_[F!=null?F:d]=P}):_[d]=E,E=y(O,_)}for(var L=T.length-1;L>=0;L--)E[L]==null&&(delete C[T[L]],T.pop())}function a(O,T){var E=O.visual,C=[];v.isObject(E)?g(E,function(L){C.push(L)}):E!=null&&C.push(E);var _={color:1,symbol:1};!T&&C.length===1&&!_.hasOwnProperty(O.type)&&(C[1]=C[0]),y(O,C)}function e(O){return{applyVisual:function(T,E,C){T=this.mapValueToVisual(T),C("color",O(E("color"),T))},_doMap:h([0,1])}}function l(O){var T=this.option.visual;return T[Math.round(m(O,[0,1],[0,T.length-1],!0))]||{}}function r(O){return function(T,E,C){C(O,this.mapValueToVisual(T))}}function s(O){var T=this.option.visual;return T[this.option.loop&&O!==d?O%T.length:O]}function u(){return this.option.visual[0]}function h(O){return{linear:function(T){return m(T,O,this.option.visual,!0)},category:s,piecewise:function(T,E){var C=A.call(this,E);return C==null&&(C=m(T,O,this.option.visual,!0)),C},fixed:u}}function A(O){var T=this.option,E=T.pieceList;if(T.hasSpecialVisual){var C=c.findPieceIndex(O,E),_=E[C];if(_&&_.visual)return _.visual[this.type]}}function y(O,T){return O.visual=T,O.type==="color"&&(O.parsedVisual=v.map(T,function(E){return p.parse(E)})),T}var w={linear:function(O){return m(O,this.option.dataExtent,[0,1],!0)},piecewise:function(O){var T=this.option.pieceList,E=c.findPieceIndex(O,T,!0);if(E!=null)return m(E,[0,T.length-1],[0,1],!0)},category:function(O){var T=this.option.categories?this.option.categoryMap[O]:O;return T==null?d:T},fixed:v.noop};c.listVisualTypes=function(){var O=[];return v.each(o,function(T,E){O.push(E)}),O},c.addVisualHandler=function(O,T){o[O]=T},c.isValidType=function(O){return o.hasOwnProperty(O)},c.eachVisual=function(O,T,E){v.isObject(O)?v.each(O,T,E):T.call(E,O)},c.mapVisual=function(O,T,E){var C,_=v.isArray(O)?[]:v.isObject(O)?{}:(C=!0,null);return c.eachVisual(O,function(L,P){var k=T.call(E,L,P);C?_=k:_[P]=k}),_},c.retrieveVisuals=function(O){var T={},E;return O&&g(o,function(C,_){O.hasOwnProperty(_)&&(T[_]=O[_],E=!0)}),E?T:null},c.prepareVisualTypes=function(O){if(f(O)){var T=[];g(O,function(E,C){T.push(C)}),O=T}else if(v.isArray(O))O=O.slice();else return[];return O.sort(function(E,C){return C==="color"&&E!=="color"&&E.indexOf("color")===0?1:-1}),O},c.dependsOn=function(O,T){return T==="color"?!!(O&&O.indexOf(T)===0):O===T},c.findPieceIndex=function(O,T,E){for(var C,_=Infinity,L=0,P=T.length;L<P;L++){var k=T[L].value;if(k!=null){if(k===O||typeof k=="string"&&k===O+"")return L;E&&R(k,L)}}for(var L=0,P=T.length;L<P;L++){var F=T[L],j=F.interval,z=F.close;if(j){if(j[0]===-Infinity){if(b(z[1],O,j[1]))return L}else if(j[1]===Infinity){if(b(z[0],j[0],O))return L}else if(b(z[0],j[0],O)&&b(z[1],O,j[1]))return L;E&&R(j[0],L),E&&R(j[1],L)}}if(E)return O===Infinity?T.length-1:O===-Infinity?0:C;function R(U,B){var H=Math.abs(U-O);H<_&&(_=H,C=B)}};function b(O,T,E){return O?T<=E:T<E}var x=c;M.exports=x},XzQk:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("KpQ+"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},Y1PL:function(M,N,n){"use strict";n.r(N),n.d(N,"ResizableTextArea",function(){return x});var v=n("wx14"),p=n("1OyB"),S=n("vuIU"),m=n("Ji7U"),g=n("LK+K"),f=n("q1tI"),d=n("VTBJ"),c=n("rePB"),o=n("t23M"),i=n("bT9E"),t=n("TSYQ"),a=n.n(t),e=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important
`,l=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],r={},s;function u(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=E.getAttribute("id")||E.getAttribute("data-reactid")||E.getAttribute("name");if(C&&r[_])return r[_];var L=window.getComputedStyle(E),P=L.getPropertyValue("box-sizing")||L.getPropertyValue("-moz-box-sizing")||L.getPropertyValue("-webkit-box-sizing"),k=parseFloat(L.getPropertyValue("padding-bottom"))+parseFloat(L.getPropertyValue("padding-top")),F=parseFloat(L.getPropertyValue("border-bottom-width"))+parseFloat(L.getPropertyValue("border-top-width")),j=l.map(function(R){return"".concat(R,":").concat(L.getPropertyValue(R))}).join(";"),z={sizingStyle:j,paddingSize:k,borderSize:F,boxSizing:P};return C&&_&&(r[_]=z),z}function h(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;s||(s=document.createElement("textarea"),s.setAttribute("tab-index","-1"),s.setAttribute("aria-hidden","true"),document.body.appendChild(s)),E.getAttribute("wrap")?s.setAttribute("wrap",E.getAttribute("wrap")):s.removeAttribute("wrap");var P=u(E,C),k=P.paddingSize,F=P.borderSize,j=P.boxSizing,z=P.sizingStyle;s.setAttribute("style","".concat(z,";").concat(e)),s.value=E.value||E.placeholder||"";var R=Number.MIN_SAFE_INTEGER,U=Number.MAX_SAFE_INTEGER,B=s.scrollHeight,H;if(j==="border-box"?B+=F:j==="content-box"&&(B-=k),_!==null||L!==null){s.value=" ";var K=s.scrollHeight-k;_!==null&&(R=K*_,j==="border-box"&&(R=R+k+F),B=Math.max(R,B)),L!==null&&(U=K*L,j==="border-box"&&(U=U+k+F),H=B>U?"":"hidden",B=Math.min(U,B))}return{height:B,minHeight:R,maxHeight:U,overflowY:H,resize:"none"}}var A=n("Gytx"),y=n.n(A),w;(function(E){E[E.NONE=0]="NONE",E[E.RESIZING=1]="RESIZING",E[E.RESIZED=2]="RESIZED"})(w||(w={}));var b=function(E){Object(m.a)(_,E);var C=Object(g.a)(_);function _(L){var P;return Object(p.a)(this,_),P=C.call(this,L),P.nextFrameActionId=void 0,P.resizeFrameId=void 0,P.textArea=void 0,P.saveTextArea=function(k){P.textArea=k},P.handleResize=function(k){var F=P.state.resizeStatus,j=P.props,z=j.autoSize,R=j.onResize;if(F!==w.NONE)return;typeof R=="function"&&R(k),z&&P.resizeOnNextFrame()},P.resizeOnNextFrame=function(){cancelAnimationFrame(P.nextFrameActionId),P.nextFrameActionId=requestAnimationFrame(P.resizeTextarea)},P.resizeTextarea=function(){var k=P.props.autoSize;if(!k||!P.textArea)return;var F=k.minRows,j=k.maxRows,z=h(P.textArea,!1,F,j);P.setState({textareaStyles:z,resizeStatus:w.RESIZING},function(){cancelAnimationFrame(P.resizeFrameId),P.resizeFrameId=requestAnimationFrame(function(){P.setState({resizeStatus:w.RESIZED},function(){P.resizeFrameId=requestAnimationFrame(function(){P.setState({resizeStatus:w.NONE}),P.fixFirefoxAutoScroll()})})})})},P.renderTextArea=function(){var k=P.props,F=k.prefixCls,j=F===void 0?"rc-textarea":F,z=k.autoSize,R=k.onResize,U=k.className,B=k.disabled,H=P.state,K=H.textareaStyles,V=H.resizeStatus,W=Object(i.a)(P.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),G=a()(j,U,Object(c.a)({},"".concat(j,"-disabled"),B));"value"in W&&(W.value=W.value||"");var re=Object(d.a)(Object(d.a)(Object(d.a)({},P.props.style),K),V===w.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return f.createElement(o.a,{onResize:P.handleResize,disabled:!(z||R)},f.createElement("textarea",Object(v.a)({},W,{className:G,style:re,ref:P.saveTextArea})))},P.state={textareaStyles:{},resizeStatus:w.NONE},P}return Object(S.a)(_,[{key:"componentDidUpdate",value:function(P){(P.value!==this.props.value||!y()(P.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var P=this.textArea.selectionStart,k=this.textArea.selectionEnd;this.textArea.setSelectionRange(P,k)}}catch(F){}}},{key:"render",value:function(){return this.renderTextArea()}}]),_}(f.Component),x=b,O=function(E){Object(m.a)(_,E);var C=Object(g.a)(_);function _(L){var P;Object(p.a)(this,_),P=C.call(this,L),P.resizableTextArea=void 0,P.focus=function(){P.resizableTextArea.textArea.focus()},P.saveTextArea=function(F){P.resizableTextArea=F},P.handleChange=function(F){var j=P.props.onChange;P.setValue(F.target.value,function(){P.resizableTextArea.resizeTextarea()}),j&&j(F)},P.handleKeyDown=function(F){var j=P.props,z=j.onPressEnter,R=j.onKeyDown;F.keyCode===13&&z&&z(F),R&&R(F)};var k=typeof L.value=="undefined"||L.value===null?L.defaultValue:L.value;return P.state={value:k},P}return Object(S.a)(_,[{key:"setValue",value:function(P,k){"value"in this.props||this.setState({value:P},k)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return f.createElement(x,Object(v.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(P){return"value"in P?{value:P.value}:null}}]),_}(f.Component),T=N.default=O},YH21:function(M,N,n){var v=n("H6uX");N.Dispatcher=v;var p=n("ItGF"),S=n("Ze12"),m=S.isCanvasEl,g=S.transformCoordWithViewport,f=typeof window!="undefined"&&!!window.addEventListener,d=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function o(h,A,y,w){return y=y||{},w||!p.canvasSupported?i(h,A,y):p.browser.firefox&&A.layerX!=null&&A.layerX!==A.offsetX?(y.zrX=A.layerX,y.zrY=A.layerY):A.offsetX!=null?(y.zrX=A.offsetX,y.zrY=A.offsetY):i(h,A,y),y}function i(h,A,y){if(p.domSupported&&h.getBoundingClientRect){var w=A.clientX,b=A.clientY;if(m(h)){var x=h.getBoundingClientRect();y.zrX=w-x.left,y.zrY=b-x.top;return}else if(g(c,h,w,b)){y.zrX=c[0],y.zrY=c[1];return}}y.zrX=y.zrY=0}function t(h){return h||window.event}function a(h,A,y){if(A=t(A),A.zrX!=null)return A;var w=A.type,b=w&&w.indexOf("touch")>=0;if(!b)o(h,A,A,y),A.zrDelta=A.wheelDelta?A.wheelDelta/120:-(A.detail||0)/3;else{var x=w!=="touchend"?A.targetTouches[0]:A.changedTouches[0];x&&o(h,x,A,y)}var O=A.button;return A.which==null&&O!==void 0&&d.test(A.type)&&(A.which=O&1?1:O&2?3:O&4?2:0),A}function e(h,A,y,w){f?h.addEventListener(A,y,w):h.attachEvent("on"+A,y)}function l(h,A,y,w){f?h.removeEventListener(A,y,w):h.detachEvent("on"+A,y)}var r=f?function(h){h.preventDefault(),h.stopPropagation(),h.cancelBubble=!0}:function(h){h.returnValue=!1,h.cancelBubble=!0};function s(h){return h.which===2||h.which===3}function u(h){return h.which>1}N.clientToLocal=o,N.getNativeEvent=t,N.normalizeEvent=a,N.addEventListener=e,N.removeEventListener=l,N.stop=r,N.isMiddleOrRightButtonOnMouseUpDown=s,N.notLeftMouse=u},YJ9k:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function v(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function p(g,f){for(var d=0;d<f.length;d++){var c=f[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function S(g,f,d){return f&&p(g.prototype,f),d&&p(g,d),g}var m=function(){function g(){v(this,g),this._listeners=new Map}return S(g,[{key:"addEventListener",value:function(d,c){this._listeners.has(d)||this._listeners.set(d,new Set),this._listeners.get(d).add(c)}},{key:"removeEventListener",value:function(d,c){this._listeners.has(d)&&this._listeners.get(d).delete(c)}},{key:"dispatchEvent",value:function(d){var c=this;return this._listeners.has(d.type)?(this._listeners.get(d.type).forEach(function(o){return o.call(c,d)}),!d.defaultPrevented):!0}}]),g}();N.default=m},YJCA:function(M,N,n){"use strict";n.d(N,"a",function(){return ce}),n.d(N,"b",function(){return Be});var v=n("wx14"),p=n("ODXe"),S=n("vpQ4"),m=n("1OyB"),g=n("vuIU"),f=n("md7G"),d=n("foSv"),c=n("Ji7U"),o=n("JX7q"),i=n("rePB"),t=n("q1tI"),a=n.n(t),e=n("17x9"),l=n.n(e),r=n("i8i4"),s=n.n(r),u=n("QLaP"),h=n.n(u),A=n("KQm4"),y=function(){function De(){Object(m.a)(this,De),Object(i.a)(this,"refs",{})}return Object(g.a)(De,[{key:"add",value:function(fe,Oe){this.refs[fe]||(this.refs[fe]=[]),this.refs[fe].push(Oe)}},{key:"remove",value:function(fe,Oe){var Je=this.getIndex(fe,Oe);Je!==-1&&this.refs[fe].splice(Je,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var fe=this;return this.refs[this.active.collection].find(function(Oe){var Je=Oe.node;return Je.sortableInfo.index==fe.active.index})}},{key:"getIndex",value:function(fe,Oe){return this.refs[fe].indexOf(Oe)}},{key:"getOrderedRefs",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[fe].sort(w)}}]),De}();function w(De,ae){var fe=De.node.sortableInfo.index,Oe=ae.node.sortableInfo.index;return fe-Oe}function b(De,ae,fe){return De=De.slice(),De.splice(fe<0?De.length+fe:fe,0,De.splice(ae,1)[0]),De}function x(De,ae){return Object.keys(De).reduce(function(fe,Oe){return ae.indexOf(Oe)===-1&&(fe[Oe]=De[Oe]),fe},{})}var O={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var De=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],ae=(Array.prototype.slice.call(De).join("").match(/-(moz|webkit|ms)-/)||De.OLink===""&&["","o"])[1];switch(ae){case"ms":return"ms";default:return ae&&ae.length?ae[0].toUpperCase()+ae.substr(1):""}}();function E(De,ae){Object.keys(ae).forEach(function(fe){De.style[fe]=ae[fe]})}function C(De,ae){De.style["".concat(T,"Transform")]=ae==null?"":"translate3d(".concat(ae.x,"px,").concat(ae.y,"px,0)")}function _(De,ae){De.style["".concat(T,"TransitionDuration")]=ae==null?"":"".concat(ae,"ms")}function L(De,ae){for(;De;){if(ae(De))return De;De=De.parentNode}return null}function P(De,ae,fe){return Math.max(De,Math.min(fe,ae))}function k(De){return De.substr(-2)==="px"?parseFloat(De):0}function F(De){var ae=window.getComputedStyle(De);return{bottom:k(ae.marginBottom),left:k(ae.marginLeft),right:k(ae.marginRight),top:k(ae.marginTop)}}function j(De,ae){var fe=ae.displayName||ae.name;return fe?"".concat(De,"(").concat(fe,")"):De}function z(De,ae){var fe=De.getBoundingClientRect();return{top:fe.top+ae.top,left:fe.left+ae.left}}function R(De){return De.touches&&De.touches.length?{x:De.touches[0].pageX,y:De.touches[0].pageY}:De.changedTouches&&De.changedTouches.length?{x:De.changedTouches[0].pageX,y:De.changedTouches[0].pageY}:{x:De.pageX,y:De.pageY}}function U(De){return De.touches&&De.touches.length||De.changedTouches&&De.changedTouches.length}function B(De,ae){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!De)return;var Oe={left:fe.left+De.offsetLeft,top:fe.top+De.offsetTop};return De.parentNode===ae?Oe:B(De.parentNode,ae,Oe)}function H(De,ae,fe){return De<fe&&De>ae?De-1:De>fe&&De<ae?De+1:De}function K(De){var ae=De.lockOffset,fe=De.width,Oe=De.height,Je=ae,Et=ae,Ze="px";if(typeof ae=="string"){var Ne=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(ae);h()(Ne!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',ae),Je=parseFloat(ae),Et=parseFloat(ae),Ze=Ne[1]}return h()(isFinite(Je)&&isFinite(Et),"lockOffset value should be a finite. Given %s",ae),Ze==="%"&&(Je=Je*fe/100,Et=Et*Oe/100),{x:Je,y:Et}}function V(De){var ae=De.height,fe=De.width,Oe=De.lockOffset,Je=Array.isArray(Oe)?Oe:[Oe,Oe];h()(Je.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Oe);var Et=Object(p.a)(Je,2),Ze=Et[0],Ne=Et[1];return[K({height:ae,lockOffset:Ze,width:fe}),K({height:ae,lockOffset:Ne,width:fe})]}function W(De){var ae=window.getComputedStyle(De),fe=/(auto|scroll)/,Oe=["overflow","overflowX","overflowY"];return Oe.find(function(Je){return fe.test(ae[Je])})}function G(De){return De instanceof HTMLElement?W(De)?De:G(De.parentNode):null}function re(De){var ae=window.getComputedStyle(De);return ae.display==="grid"?{x:k(ae.gridColumnGap),y:k(ae.gridRowGap)}:{x:0,y:0}}var ye={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},$={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ve(De){var ae="input, textarea, select, canvas, [contenteditable]",fe=De.querySelectorAll(ae),Oe=De.cloneNode(!0),Je=Object(A.a)(Oe.querySelectorAll(ae));return Je.forEach(function(Et,Ze){if(Et.type!=="file"&&(Et.value=fe[Ze].value),Et.type==="radio"&&Et.name&&(Et.name="__sortableClone__".concat(Et.name)),Et.tagName===$.Canvas&&fe[Ze].width>0&&fe[Ze].height>0){var Ne=Et.getContext("2d");Ne.drawImage(fe[Ze],0,0)}}),Oe}function Ce(De){var ae,fe,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=ae=function(Je){Object(c.a)(Et,Je);function Et(){return Object(m.a)(this,Et),Object(f.a)(this,Object(d.a)(Et).apply(this,arguments))}return Object(g.a)(Et,[{key:"componentDidMount",value:function(){var Ne=Object(r.findDOMNode)(this);Ne.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(Oe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Ne=Oe.withRef?"wrappedInstance":null;return Object(t.createElement)(De,Object(v.a)({ref:Ne},this.props))}}]),Et}(t.Component),Object(i.a)(ae,"displayName",j("sortableHandle",De)),fe}function Se(De){return De.sortableHandle!=null}var Ke=function(){function De(ae,fe){Object(m.a)(this,De),this.container=ae,this.onScrollCallback=fe}return Object(g.a)(De,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(fe){var Oe=this,Je=fe.translate,Et=fe.minTranslate,Ze=fe.maxTranslate,Ne=fe.width,It=fe.height,Xe={x:0,y:0},Ot={x:1,y:1},Bt={x:10,y:10},kt=this.container,_t=kt.scrollTop,Ft=kt.scrollLeft,ke=kt.scrollHeight,te=kt.scrollWidth,Q=kt.clientHeight,qe=kt.clientWidth,je=_t===0,q=ke-_t-Q===0,wt=Ft===0,Vt=te-Ft-qe===0;Je.y>=Ze.y-It/2&&!q?(Xe.y=1,Ot.y=Bt.y*Math.abs((Ze.y-It/2-Je.y)/It)):Je.x>=Ze.x-Ne/2&&!Vt?(Xe.x=1,Ot.x=Bt.x*Math.abs((Ze.x-Ne/2-Je.x)/Ne)):Je.y<=Et.y+It/2&&!je?(Xe.y=-1,Ot.y=Bt.y*Math.abs((Je.y-It/2-Et.y)/It)):Je.x<=Et.x+Ne/2&&!wt&&(Xe.x=-1,Ot.x=Bt.x*Math.abs((Je.x-Ne/2-Et.x)/Ne)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Xe.x!==0||Xe.y!==0)&&(this.interval=setInterval(function(){Oe.isAutoScrolling=!0;var lt={left:Ot.x*Xe.x,top:Ot.y*Xe.y};Oe.container.scrollTop+=lt.top,Oe.container.scrollLeft+=lt.left,Oe.onScrollCallback(lt)},5))}}]),De}();function ue(De){var ae=De.node;return{height:ae.offsetHeight,width:ae.offsetWidth}}function Le(De){var ae=[$.Input,$.Textarea,$.Select,$.Option,$.Button];return ae.indexOf(De.target.tagName)!==-1?!0:!!L(De.target,function(fe){return fe.contentEditable==="true"})}var ee={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},le={lift:[ye.SPACE],drop:[ye.SPACE],cancel:[ye.ESC],up:[ye.UP,ye.LEFT],down:[ye.DOWN,ye.RIGHT]},et={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:ue,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:le,shouldCancelStart:Le,transitionDuration:300,useWindowAsScrollContainer:!1},Re=Object.keys(ee);function Ae(De){h()(!(De.distance&&De.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 oe(De,ae){try{var fe=De()}catch(Oe){return ae(!0,Oe)}return fe&&fe.then?fe.then(ae.bind(null,!1),ae.bind(null,!0)):ae(!1,value)}function ce(De){var ae,fe,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=ae=function(Je){Object(c.a)(Et,Je);function Et(Ze){var Ne;return Object(m.a)(this,Et),Ne=Object(f.a)(this,Object(d.a)(Et).call(this,Ze)),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"state",{}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"handleStart",function(It){var Xe=Ne.props,Ot=Xe.distance,Bt=Xe.shouldCancelStart;if(It.button===2||Bt(It))return;Ne.touched=!0,Ne.position=R(It);var kt=L(It.target,function(qe){return qe.sortableInfo!=null});if(kt&&kt.sortableInfo&&Ne.nodeIsChild(kt)&&!Ne.state.sorting){var _t=Ne.props.useDragHandle,Ft=kt.sortableInfo,ke=Ft.index,te=Ft.collection,Q=Ft.disabled;if(Q)return;if(_t&&!L(It.target,Se))return;Ne.manager.active={collection:te,index:ke},!U(It)&&It.target.tagName===$.Anchor&&It.preventDefault(),Ot||(Ne.props.pressDelay===0?Ne.handlePress(It):Ne.pressTimer=setTimeout(function(){return Ne.handlePress(It)},Ne.props.pressDelay))}}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"nodeIsChild",function(It){return It.sortableInfo.manager===Ne.manager}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"handleMove",function(It){var Xe=Ne.props,Ot=Xe.distance,Bt=Xe.pressThreshold;if(!Ne.state.sorting&&Ne.touched&&!Ne._awaitingUpdateBeforeSortStart){var kt=R(It),_t={x:Ne.position.x-kt.x,y:Ne.position.y-kt.y},Ft=Math.abs(_t.x)+Math.abs(_t.y);Ne.delta=_t,!Ot&&(!Bt||Ft>=Bt)?(clearTimeout(Ne.cancelTimer),Ne.cancelTimer=setTimeout(Ne.cancel,0)):Ot&&Ft>=Ot&&Ne.manager.isActive()&&Ne.handlePress(It)}}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"handleEnd",function(){Ne.touched=!1,Ne.cancel()}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"cancel",function(){var It=Ne.props.distance,Xe=Ne.state.sorting;Xe||(It||clearTimeout(Ne.pressTimer),Ne.manager.active=null)}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"handlePress",function(It){try{var Xe=Ne.manager.getActive(),Ot=function(){if(Xe){var Bt=function(){var vr=q.sortableInfo.index,An=F(q),hr=re(Ne.container),xr=Ne.scrollContainer.getBoundingClientRect(),nr=Ft({index:vr,node:q,collection:wt});if(Ne.node=q,Ne.margin=An,Ne.gridGap=hr,Ne.width=nr.width,Ne.height=nr.height,Ne.marginOffset={x:Ne.margin.left+Ne.margin.right+Ne.gridGap.x,y:Math.max(Ne.margin.top,Ne.margin.bottom,Ne.gridGap.y)},Ne.boundingClientRect=q.getBoundingClientRect(),Ne.containerBoundingRect=xr,Ne.index=vr,Ne.newIndex=vr,Ne.axis={x:_t.indexOf("x")>=0,y:_t.indexOf("y")>=0},Ne.offsetEdge=B(q,Ne.container),Vt?Ne.initialOffset=R(Object(S.a)({},It,{pageX:Ne.boundingClientRect.left,pageY:Ne.boundingClientRect.top})):Ne.initialOffset=R(It),Ne.initialScroll={left:Ne.scrollContainer.scrollLeft,top:Ne.scrollContainer.scrollTop},Ne.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Ne.helper=Ne.helperContainer.appendChild(ve(q)),E(Ne.helper,{boxSizing:"border-box",height:"".concat(Ne.height,"px"),left:"".concat(Ne.boundingClientRect.left-An.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Ne.boundingClientRect.top-An.top,"px"),width:"".concat(Ne.width,"px")}),Vt&&Ne.helper.focus(),te&&(Ne.sortableGhost=q,E(q,{opacity:0,visibility:"hidden"})),Ne.minTranslate={},Ne.maxTranslate={},Vt){var Yt=je?{top:0,left:0,width:Ne.contentWindow.innerWidth,height:Ne.contentWindow.innerHeight}:Ne.containerBoundingRect,gt=Yt.top,zr=Yt.left,pn=Yt.width,Nn=Yt.height,Vn=gt+Nn,xi=zr+pn;Ne.axis.x&&(Ne.minTranslate.x=zr-Ne.boundingClientRect.left,Ne.maxTranslate.x=xi-(Ne.boundingClientRect.left+Ne.width)),Ne.axis.y&&(Ne.minTranslate.y=gt-Ne.boundingClientRect.top,Ne.maxTranslate.y=Vn-(Ne.boundingClientRect.top+Ne.height))}else Ne.axis.x&&(Ne.minTranslate.x=(je?0:xr.left)-Ne.boundingClientRect.left-Ne.width/2,Ne.maxTranslate.x=(je?Ne.contentWindow.innerWidth:xr.left+xr.width)-Ne.boundingClientRect.left-Ne.width/2),Ne.axis.y&&(Ne.minTranslate.y=(je?0:xr.top)-Ne.boundingClientRect.top-Ne.height/2,Ne.maxTranslate.y=(je?Ne.contentWindow.innerHeight:xr.top+xr.height)-Ne.boundingClientRect.top-Ne.height/2);ke&&ke.split(" ").forEach(function(bn){return Ne.helper.classList.add(bn)}),Ne.listenerNode=It.touches?q:Ne.contentWindow,Vt?(Ne.listenerNode.addEventListener("wheel",Ne.handleKeyEnd,!0),Ne.listenerNode.addEventListener("mousedown",Ne.handleKeyEnd,!0),Ne.listenerNode.addEventListener("keydown",Ne.handleKeyDown)):(O.move.forEach(function(bn){return Ne.listenerNode.addEventListener(bn,Ne.handleSortMove,!1)}),O.end.forEach(function(bn){return Ne.listenerNode.addEventListener(bn,Ne.handleSortEnd,!1)})),Ne.setState({sorting:!0,sortingIndex:vr}),qe&&qe({node:q,index:vr,collection:wt,isKeySorting:Vt,nodes:Ne.manager.getOrderedRefs(),helper:Ne.helper},It),Vt&&Ne.keyMove(0)},kt=Ne.props,_t=kt.axis,Ft=kt.getHelperDimensions,ke=kt.helperClass,te=kt.hideSortableGhost,Q=kt.updateBeforeSortStart,qe=kt.onSortStart,je=kt.useWindowAsScrollContainer,q=Xe.node,wt=Xe.collection,Vt=Ne.manager.isKeySorting,lt=function(){if(typeof Q=="function"){Ne._awaitingUpdateBeforeSortStart=!0;var or=oe(function(){var vr=q.sortableInfo.index;return Promise.resolve(Q({collection:wt,index:vr,node:q,isKeySorting:Vt},It)).then(function(){})},function(vr,An){if(Ne._awaitingUpdateBeforeSortStart=!1,vr)throw An;return An});if(or&&or.then)return or.then(function(){})}}();return lt&&lt.then?lt.then(Bt):Bt(lt)}}();return Promise.resolve(Ot&&Ot.then?Ot.then(function(){}):void 0)}catch(Bt){return Promise.reject(Bt)}}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"handleSortMove",function(It){var Xe=Ne.props.onSortMove;typeof It.preventDefault=="function"&&It.preventDefault(),Ne.updateHelperPosition(It),Ne.animateNodes(),Ne.autoscroll(),Xe&&Xe(It)}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"handleSortEnd",function(It){var Xe=Ne.props,Ot=Xe.hideSortableGhost,Bt=Xe.onSortEnd,kt=Ne.manager,_t=kt.active.collection,Ft=kt.isKeySorting,ke=Ne.manager.getOrderedRefs();Ne.listenerNode&&(Ft?(Ne.listenerNode.removeEventListener("wheel",Ne.handleKeyEnd,!0),Ne.listenerNode.removeEventListener("mousedown",Ne.handleKeyEnd,!0),Ne.listenerNode.removeEventListener("keydown",Ne.handleKeyDown)):(O.move.forEach(function(q){return Ne.listenerNode.removeEventListener(q,Ne.handleSortMove)}),O.end.forEach(function(q){return Ne.listenerNode.removeEventListener(q,Ne.handleSortEnd)}))),Ne.helper.parentNode.removeChild(Ne.helper),Ot&&Ne.sortableGhost&&E(Ne.sortableGhost,{opacity:"",visibility:""});for(var te=0,Q=ke.length;te<Q;te++){var qe=ke[te],je=qe.node;qe.edgeOffset=null,qe.boundingClientRect=null,C(je,null),_(je,null),qe.translate=null}Ne.autoScroller.clear(),Ne.manager.active=null,Ne.manager.isKeySorting=!1,Ne.setState({sorting:!1,sortingIndex:null}),typeof Bt=="function"&&Bt({collection:_t,newIndex:Ne.newIndex,oldIndex:Ne.index,isKeySorting:Ft,nodes:ke},It),Ne.touched=!1}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"autoscroll",function(){var It=Ne.props.disableAutoscroll,Xe=Ne.manager.isKeySorting;if(It){Ne.autoScroller.clear();return}if(Xe){var Ot=Object(S.a)({},Ne.translate),Bt=0,kt=0;Ne.axis.x&&(Ot.x=Math.min(Ne.maxTranslate.x,Math.max(Ne.minTranslate.x,Ne.translate.x)),Bt=Ne.translate.x-Ot.x),Ne.axis.y&&(Ot.y=Math.min(Ne.maxTranslate.y,Math.max(Ne.minTranslate.y,Ne.translate.y)),kt=Ne.translate.y-Ot.y),Ne.translate=Ot,C(Ne.helper,Ne.translate),Ne.scrollContainer.scrollLeft+=Bt,Ne.scrollContainer.scrollTop+=kt;return}Ne.autoScroller.update({height:Ne.height,maxTranslate:Ne.maxTranslate,minTranslate:Ne.minTranslate,translate:Ne.translate,width:Ne.width})}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"onAutoScroll",function(It){Ne.translate.x+=It.left,Ne.translate.y+=It.top,Ne.animateNodes()}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"handleKeyDown",function(It){var Xe=It.keyCode,Ot=Ne.props,Bt=Ot.shouldCancelStart,kt=Ot.keyCodes,_t=kt===void 0?{}:kt,Ft=Object(S.a)({},le,_t);if(Ne.manager.active&&!Ne.manager.isKeySorting||!Ne.manager.active&&(!Ft.lift.includes(Xe)||Bt(It)||!Ne.isValidSortingTarget(It)))return;It.stopPropagation(),It.preventDefault(),Ft.lift.includes(Xe)&&!Ne.manager.active?Ne.keyLift(It):Ft.drop.includes(Xe)&&Ne.manager.active?Ne.keyDrop(It):Ft.cancel.includes(Xe)?(Ne.newIndex=Ne.manager.active.index,Ne.keyDrop(It)):Ft.up.includes(Xe)?Ne.keyMove(-1):Ft.down.includes(Xe)&&Ne.keyMove(1)}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"keyLift",function(It){var Xe=It.target,Ot=L(Xe,function(Ft){return Ft.sortableInfo!=null}),Bt=Ot.sortableInfo,kt=Bt.index,_t=Bt.collection;Ne.initialFocusedNode=Xe,Ne.manager.isKeySorting=!0,Ne.manager.active={index:kt,collection:_t},Ne.handlePress(It)}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"keyMove",function(It){var Xe=Ne.manager.getOrderedRefs(),Ot=Xe[Xe.length-1].node.sortableInfo.index,Bt=Ne.newIndex+It,kt=Ne.newIndex;if(Bt<0||Bt>Ot)return;Ne.prevIndex=kt,Ne.newIndex=Bt;var _t=H(Ne.newIndex,Ne.prevIndex,Ne.index),Ft=Xe.find(function(Vt){var lt=Vt.node;return lt.sortableInfo.index===_t}),ke=Ft.node,te=Ne.containerScrollDelta,Q=Ft.boundingClientRect||z(ke,te),qe=Ft.translate||{x:0,y:0},je={top:Q.top+qe.y-te.top,left:Q.left+qe.x-te.left},q=kt<Bt,wt={x:q&&Ne.axis.x?ke.offsetWidth-Ne.width:0,y:q&&Ne.axis.y?ke.offsetHeight-Ne.height:0};Ne.handleSortMove({pageX:je.left+wt.x,pageY:je.top+wt.y,ignoreTransition:It===0})}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"keyDrop",function(It){Ne.handleSortEnd(It),Ne.initialFocusedNode&&Ne.initialFocusedNode.focus()}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"handleKeyEnd",function(It){Ne.manager.active&&Ne.keyDrop(It)}),Object(i.a)(Object(o.a)(Object(o.a)(Ne)),"isValidSortingTarget",function(It){var Xe=Ne.props.useDragHandle,Ot=It.target,Bt=L(Ot,function(kt){return kt.sortableInfo!=null});return Bt&&Bt.sortableInfo&&!Bt.sortableInfo.disabled&&(Xe?Se(Ot):Ot.sortableInfo)}),Ae(Ze),Ne.manager=new y,Ne.events={end:Ne.handleEnd,move:Ne.handleMove,start:Ne.handleStart},Ne}return Object(g.a)(Et,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Ne=this,It=this.props.useWindowAsScrollContainer,Xe=this.getContainer();Promise.resolve(Xe).then(function(Ot){Ne.container=Ot,Ne.document=Ne.container.ownerDocument||document;var Bt=Ne.props.contentWindow||Ne.document.defaultView||window;Ne.contentWindow=typeof Bt=="function"?Bt():Bt,Ne.scrollContainer=It?Ne.document.scrollingElement||Ne.document.documentElement:G(Ne.container)||Ne.container,Ne.autoScroller=new Ke(Ne.scrollContainer,Ne.onAutoScroll),Object.keys(Ne.events).forEach(function(kt){return O[kt].forEach(function(_t){return Ne.container.addEventListener(_t,Ne.events[kt],!1)})}),Ne.container.addEventListener("keydown",Ne.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Ne=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(It){return O[It].forEach(function(Xe){return Ne.container.removeEventListener(Xe,Ne.events[It])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Ne){var It=this.props,Xe=It.lockAxis,Ot=It.lockOffset,Bt=It.lockToContainerEdges,kt=It.transitionDuration,_t=It.keyboardSortingTransitionDuration,Ft=_t===void 0?kt:_t,ke=this.manager.isKeySorting,te=Ne.ignoreTransition,Q=R(Ne),qe={x:Q.x-this.initialOffset.x,y:Q.y-this.initialOffset.y};if(qe.y-=window.pageYOffset-this.initialWindowScroll.top,qe.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=qe,Bt){var je=V({height:this.height,lockOffset:Ot,width:this.width}),q=Object(p.a)(je,2),wt=q[0],Vt=q[1],lt={x:this.width/2-wt.x,y:this.height/2-wt.y},or={x:this.width/2-Vt.x,y:this.height/2-Vt.y};qe.x=P(this.minTranslate.x+lt.x,this.maxTranslate.x-or.x,qe.x),qe.y=P(this.minTranslate.y+lt.y,this.maxTranslate.y-or.y,qe.y)}Xe==="x"?qe.y=0:Xe==="y"&&(qe.x=0),ke&&Ft&&!te&&_(this.helper,Ft),C(this.helper,qe)}},{key:"animateNodes",value:function(){var Ne=this.props,It=Ne.transitionDuration,Xe=Ne.hideSortableGhost,Ot=Ne.onSortOver,Bt=this.containerScrollDelta,kt=this.windowScrollDelta,_t=this.manager.getOrderedRefs(),Ft={left:this.offsetEdge.left+this.translate.x+Bt.left,top:this.offsetEdge.top+this.translate.y+Bt.top},ke=this.manager.isKeySorting,te=this.newIndex;this.newIndex=null;for(var Q=0,qe=_t.length;Q<qe;Q++){var je=_t[Q].node,q=je.sortableInfo.index,wt=je.offsetWidth,Vt=je.offsetHeight,lt={height:this.height>Vt?Vt/2:this.height/2,width:this.width>wt?wt/2:this.width/2},or=ke&&q>this.index&&q<=te,vr=ke&&q<this.index&&q>=te,An={x:0,y:0},hr=_t[Q].edgeOffset;hr||(hr=B(je,this.container),_t[Q].edgeOffset=hr,ke&&(_t[Q].boundingClientRect=z(je,Bt)));var xr=Q<_t.length-1&&_t[Q+1],nr=Q>0&&_t[Q-1];if(xr&&!xr.edgeOffset&&(xr.edgeOffset=B(xr.node,this.container),ke&&(xr.boundingClientRect=z(xr.node,Bt))),q===this.index){Xe&&(this.sortableGhost=je,E(je,{opacity:0,visibility:"hidden"}));continue}It&&_(je,It),this.axis.x?this.axis.y?vr||q<this.index&&(Ft.left+kt.left-lt.width<=hr.left&&Ft.top+kt.top<=hr.top+lt.height||Ft.top+kt.top+lt.height<=hr.top)?(An.x=this.width+this.marginOffset.x,hr.left+An.x>this.containerBoundingRect.width-lt.width&&(xr&&(An.x=xr.edgeOffset.left-hr.left,An.y=xr.edgeOffset.top-hr.top)),this.newIndex===null&&(this.newIndex=q)):(or||q>this.index&&(Ft.left+kt.left+lt.width>=hr.left&&Ft.top+kt.top+lt.height>=hr.top||Ft.top+kt.top+lt.height>=hr.top+Vt))&&(An.x=-(this.width+this.marginOffset.x),hr.left+An.x<this.containerBoundingRect.left+lt.width&&(nr&&(An.x=nr.edgeOffset.left-hr.left,An.y=nr.edgeOffset.top-hr.top)),this.newIndex=q):or||q>this.index&&Ft.left+kt.left+lt.width>=hr.left?(An.x=-(this.width+this.marginOffset.x),this.newIndex=q):(vr||q<this.index&&Ft.left+kt.left<=hr.left+lt.width)&&(An.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=q)):this.axis.y&&(or||q>this.index&&Ft.top+kt.top+lt.height>=hr.top?(An.y=-(this.height+this.marginOffset.y),this.newIndex=q):(vr||q<this.index&&Ft.top+kt.top<=hr.top+lt.height)&&(An.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=q))),C(je,An),_t[Q].translate=An}this.newIndex==null&&(this.newIndex=this.index),ke&&(this.newIndex=te);var Yt=ke?this.prevIndex:te;Ot&&this.newIndex!==Yt&&Ot({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:Yt,isKeySorting:ke,nodes:_t,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return h()(Oe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Ne=this.props.getContainer;return typeof Ne!="function"?Object(r.findDOMNode)(this):Ne(Oe.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Ne=Oe.withRef?"wrappedInstance":null;return Object(t.createElement)(De,Object(v.a)({ref:Ne},x(this.props,Re)))}},{key:"helperContainer",get:function(){var Ne=this.props.helperContainer;return typeof Ne=="function"?Ne():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Ne=this.props.useWindowAsScrollContainer;return Ne?{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}}}]),Et}(t.Component),Object(i.a)(ae,"displayName",j("sortableList",De)),Object(i.a)(ae,"defaultProps",et),Object(i.a)(ae,"propTypes",ee),Object(i.a)(ae,"childContextTypes",{manager:l.a.object.isRequired}),fe}var be={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},Te=Object.keys(be);function Be(De){var ae,fe,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=ae=function(Je){Object(c.a)(Et,Je);function Et(){return Object(m.a)(this,Et),Object(f.a)(this,Object(d.a)(Et).apply(this,arguments))}return Object(g.a)(Et,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Ne){this.node&&(Ne.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Ne.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Ne.collection!==this.props.collection&&(this.unregister(Ne.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Ne=this.props,It=Ne.collection,Xe=Ne.disabled,Ot=Ne.index,Bt=Object(r.findDOMNode)(this);Bt.sortableInfo={collection:It,disabled:Xe,index:Ot,manager:this.context.manager},this.node=Bt,this.ref={node:Bt},this.context.manager.add(It,this.ref)}},{key:"unregister",value:function(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Ne,this.ref)}},{key:"getWrappedInstance",value:function(){return h()(Oe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Ne=Oe.withRef?"wrappedInstance":null;return Object(t.createElement)(De,Object(v.a)({ref:Ne},x(this.props,Te)))}}]),Et}(t.Component),Object(i.a)(ae,"displayName",j("sortableElement",De)),Object(i.a)(ae,"contextTypes",{manager:l.a.object.isRequired}),Object(i.a)(ae,"propTypes",be),Object(i.a)(ae,"defaultProps",{collection:0}),fe}},YNAk:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("QyFq")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="CaretDownFilled";var i=m.forwardRef(o);N.default=i},YNf1:function(M,N,n){var v=n("IwbS"),p=n("6Ic6"),S=.3,m=p.extend({type:"parallel",init:function(){this._dataGroup=new v.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(a,e,l,r){var s=this._dataGroup,u=a.getData(),h=this._data,A=a.coordinateSystem,y=A.dimensions,w=c(a);u.diff(h).add(b).update(x).remove(O).execute();function b(E){var C=d(u,s,E,y,A);o(C,u,E,w)}function x(E,C){var _=h.getItemGraphicEl(C),L=f(u,E,y,A);u.setItemGraphicEl(E,_);var P=r&&r.animation===!1?null:a;v.updateProps(_,{shape:{points:L}},P,E),o(_,u,E,w)}function O(E){var C=h.getItemGraphicEl(E);s.remove(C)}if(!this._initialized){this._initialized=!0;var T=g(A,a,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(T)}this._data=u},incrementalPrepareRender:function(a,e,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(a,e,l){for(var r=e.getData(),s=e.coordinateSystem,u=s.dimensions,h=c(e),A=a.start;A<a.end;A++){var y=d(r,this._dataGroup,A,u,s);y.incremental=!0,o(y,r,A,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function g(a,e,l){var r=a.model,s=a.getRect(),u=new v.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),h=r.get("layout")==="horizontal"?"width":"height";return u.setShape(h,0),v.initProps(u,{shape:{width:s.width,height:s.height}},e,l),u}function f(a,e,l,r){for(var s=[],u=0;u<l.length;u++){var h=l[u],A=a.get(a.mapDimension(h),e);i(A,r.getAxis(h).type)||s.push(r.dataToPoint(A,h))}return s}function d(a,e,l,r,s){var u=f(a,l,r,s),h=new v.Polyline({shape:{points:u},silent:!0,z2:10});return e.add(h),a.setItemGraphicEl(l,h),h}function c(a){var e=a.get("smooth",!0);return e===!0&&(e=S),{lineStyle:a.getModel("lineStyle").getLineStyle(),smooth:e!=null?e:S}}function o(a,e,l,r){var s=r.lineStyle;if(e.hasItemOption){var u=e.getItemModel(l).getModel("lineStyle");s=u.getLineStyle()}a.useStyle(s);var h=a.style;h.fill=null,h.stroke=e.getItemVisual(l,"color"),h.opacity=e.getItemVisual(l,"opacity"),r.smooth&&(a.shape.smooth=r.smooth)}function i(a,e){return e==="category"?a==null:a==null||isNaN(a)}var t=m;M.exports=t},YOMW:function(M,N,n){var v=n("bYtY"),p={get:function(g,f,d){var c=v.clone((S[g]||{})[f]);return d&&v.isArray(c)?c[c.length-1]:c}},S={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=p;M.exports=m},YXkt:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("Qxkt"),g=n("gPAo"),f=n("7G+c"),d=n("KxfA"),c=d.defaultDimValueGetters,o=d.DefaultDataProvider,i=n("L0Ub"),t=i.summarizeDimensions,a=n("Vi4m"),e=S.isObject,l="undefined",r=-1,s="e\0\0",u={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===l?Array:Uint32Array,A=typeof Int32Array===l?Array:Int32Array,y=typeof Uint16Array===l?Array:Uint16Array;function w(W){return W._rawCount>65535?h:y}function b(W){var G=W.constructor;return G===Array?W.slice():new G(W)}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],O=["_extent","_approximateExtent","_rawExtent"];function T(W,G){S.each(x.concat(G.__wrappedMethods||[]),function(re){G.hasOwnProperty(re)&&(W[re]=G[re])}),W.__wrappedMethods=G.__wrappedMethods,S.each(O,function(re){W[re]=S.clone(G[re])}),W._calculationInfo=S.extend(G._calculationInfo)}var E=function(W,G){W=W||["x","y"];for(var re={},ye=[],$={},ve=0;ve<W.length;ve++){var Ce=W[ve];S.isString(Ce)?Ce=new a({name:Ce}):Ce instanceof a||(Ce=new a(Ce));var Se=Ce.name;Ce.type=Ce.type||"float",Ce.coordDim||(Ce.coordDim=Se,Ce.coordDimIndex=0),Ce.otherDims=Ce.otherDims||{},ye.push(Se),re[Se]=Ce,Ce.index=ve,Ce.createInvertedIndices&&($[Se]=[])}this.dimensions=ye,this._dimensionInfos=re,this.hostModel=G,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=t(this),this._invertedIndicesMap=$,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=E.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(W){return(typeof W=="number"||!isNaN(W)&&!this._dimensionInfos.hasOwnProperty(W))&&(W=this.dimensions[W]),W},C.getDimensionInfo=function(W){return this._dimensionInfos[this.getDimension(W)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(W,G){var re=this._dimensionsSummary;if(G==null)return re.encodeFirstDimNotExtra[W];var ye=re.encode[W];return G===!0?(ye||[]).slice():ye&&ye[G]},C.initData=function(W,G,re){var ye=f.isInstance(W)||S.isArrayLike(W);ye&&(W=new o(W,this.dimensions.length)),this._rawData=W,this._storage={},this._indices=null,this._nameList=G||[],this._idList=[],this._nameRepeatCount={},re||(this.hasItemOption=!1),this.defaultDimValueGetter=c[this._rawData.getSource().sourceFormat],this._dimValueGetter=re=re||this.defaultDimValueGetter,this._dimValueGetterArrayRows=c.arrayRows,this._rawExtent={},this._initDataFromProvider(0,W.count()),W.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(W){var G=this._rawData,re=this.count();G.appendData(W);var ye=G.count();G.persistent||(ye+=re),this._initDataFromProvider(re,ye)},C.appendValues=function(W,G){for(var re=this._chunkSize,ye=this._storage,$=this.dimensions,ve=$.length,Ce=this._rawExtent,Se=this.count(),Ke=Se+Math.max(W.length,G?G.length:0),ue=this._chunkCount,Le=0;Le<ve;Le++){var ee=$[Le];Ce[ee]||(Ce[ee]=H()),ye[ee]||(ye[ee]=[]),_(ye,this._dimensionInfos[ee],re,ue,Ke),this._chunkCount=ye[ee].length}for(var le=new Array(ve),et=Se;et<Ke;et++){for(var Re=et-Se,Ae=Math.floor(et/re),oe=et%re,ce=0;ce<ve;ce++){var ee=$[ce],be=this._dimValueGetterArrayRows(W[Re]||le,ee,Re,ce);ye[ee][Ae][oe]=be;var Te=Ce[ee];be<Te[0]&&(Te[0]=be),be>Te[1]&&(Te[1]=be)}G&&(this._nameList[et]=G[Re])}this._rawCount=this._count=Ke,this._extent={},L(this)},C._initDataFromProvider=function(W,G){if(W>=G)return;for(var re=this._chunkSize,ye=this._rawData,$=this._storage,ve=this.dimensions,Ce=ve.length,Se=this._dimensionInfos,Ke=this._nameList,ue=this._idList,Le=this._rawExtent,ee=this._nameRepeatCount={},le,et=this._chunkCount,Re=0;Re<Ce;Re++){var Ae=ve[Re];Le[Ae]||(Le[Ae]=H());var oe=Se[Ae];oe.otherDims.itemName===0&&(le=this._nameDimIdx=Re),oe.otherDims.itemId===0&&(this._idDimIdx=Re),$[Ae]||($[Ae]=[]),_($,oe,re,et,G),this._chunkCount=$[Ae].length}for(var ce=new Array(Ce),be=W;be<G;be++){ce=ye.getItem(be,ce);for(var Te=Math.floor(be/re),Be=be%re,De=0;De<Ce;De++){var Ae=ve[De],ae=$[Ae][Te],fe=this._dimValueGetter(ce,Ae,be,De);ae[Be]=fe;var Oe=Le[Ae];fe<Oe[0]&&(Oe[0]=fe),fe>Oe[1]&&(Oe[1]=fe)}if(!ye.pure){var Je=Ke[be];if(ce&&Je==null){if(ce.name!=null)Ke[be]=Je=ce.name;else if(le!=null){var Et=ve[le],Ze=$[Et][Te];if(Ze){Je=Ze[Be];var Ne=Se[Et].ordinalMeta;Ne&&Ne.categories.length&&(Je=Ne.categories[Je])}}}var It=ce==null?null:ce.id;It==null&&Je!=null&&(ee[Je]=ee[Je]||0,It=Je,ee[Je]>0&&(It+="__ec__"+ee[Je]),ee[Je]++),It!=null&&(ue[be]=It)}}!ye.persistent&&ye.clean&&ye.clean(),this._rawCount=this._count=G,this._extent={},L(this)};function _(W,G,re,ye,$){var ve=u[G.type],Ce=ye-1,Se=G.name,Ke=W[Se][Ce];if(Ke&&Ke.length<re){for(var ue=new ve(Math.min($-Ce*re,re)),Le=0;Le<Ke.length;Le++)ue[Le]=Ke[Le];W[Se][Ce]=ue}for(var ee=ye*re;ee<$;ee+=re)W[Se].push(new ve(Math.min($-ee,re)))}function L(W){var G=W._invertedIndicesMap;S.each(G,function(re,ye){var $=W._dimensionInfos[ye],ve=$.ordinalMeta;if(ve){re=G[ye]=new A(ve.categories.length);for(var Ce=0;Ce<re.length;Ce++)re[Ce]=r;for(var Ce=0;Ce<W._count;Ce++)re[W.get(ye,Ce)]=Ce}})}function P(W,G,re){var ye;if(G!=null){var $=W._chunkSize,ve=Math.floor(re/$),Ce=re%$,Se=W.dimensions[G],Ke=W._storage[Se][ve];if(Ke){ye=Ke[Ce];var ue=W._dimensionInfos[Se].ordinalMeta;ue&&ue.categories.length&&(ye=ue.categories[ye])}}return ye}C.count=function(){return this._count},C.getIndices=function(){var W,G=this._indices;if(G){var re=G.constructor,ye=this._count;if(re===Array){W=new re(ye);for(var $=0;$<ye;$++)W[$]=G[$]}else W=new re(G.buffer,0,ye)}else for(var re=w(this),W=new re(this.count()),$=0;$<W.length;$++)W[$]=$;return W},C.get=function(W,G){if(!(G>=0&&G<this._count))return NaN;var re=this._storage;if(!re[W])return NaN;G=this.getRawIndex(G);var ye=Math.floor(G/this._chunkSize),$=G%this._chunkSize,ve=re[W][ye],Ce=ve[$];return Ce},C.getByRawIndex=function(W,G){if(!(G>=0&&G<this._rawCount))return NaN;var re=this._storage[W];if(!re)return NaN;var ye=Math.floor(G/this._chunkSize),$=G%this._chunkSize,ve=re[ye];return ve[$]},C._getFast=function(W,G){var re=Math.floor(G/this._chunkSize),ye=G%this._chunkSize,$=this._storage[W][re];return $[ye]},C.getValues=function(W,G){var re=[];S.isArray(W)||(G=W,W=this.dimensions);for(var ye=0,$=W.length;ye<$;ye++)re.push(this.get(W[ye],G));return re},C.hasValue=function(W){for(var G=this._dimensionsSummary.dataDimsOnCoord,re=0,ye=G.length;re<ye;re++)if(isNaN(this.get(G[re],W)))return!1;return!0},C.getDataExtent=function(W){W=this.getDimension(W);var G=this._storage[W],re=H();if(!G)return re;var ye=this.count(),$=!this._indices,ve;if($)return this._rawExtent[W].slice();if(ve=this._extent[W],ve)return ve.slice();ve=re;for(var Ce=ve[0],Se=ve[1],Ke=0;Ke<ye;Ke++){var ue=this._getFast(W,this.getRawIndex(Ke));ue<Ce&&(Ce=ue),ue>Se&&(Se=ue)}return ve=[Ce,Se],this._extent[W]=ve,ve},C.getApproximateExtent=function(W){return W=this.getDimension(W),this._approximateExtent[W]||this.getDataExtent(W)},C.setApproximateExtent=function(W,G){G=this.getDimension(G),this._approximateExtent[G]=W.slice()},C.getCalculationInfo=function(W){return this._calculationInfo[W]},C.setCalculationInfo=function(W,G){e(W)?S.extend(this._calculationInfo,W):this._calculationInfo[W]=G},C.getSum=function(W){var G=this._storage[W],re=0;if(G)for(var ye=0,$=this.count();ye<$;ye++){var ve=this.get(W,ye);isNaN(ve)||(re+=ve)}return re},C.getMedian=function(W){var G=[];this.each(W,function($,ve){isNaN($)||G.push($)});var re=[].concat(G).sort(function($,ve){return $-ve}),ye=this.count();return ye===0?0:ye%2===1?re[(ye-1)/2]:(re[ye/2]+re[ye/2-1])/2},C.rawIndexOf=function(W,G){var re=W&&this._invertedIndicesMap[W],ye=re[G];return ye==null||isNaN(ye)?r:ye},C.indexOfName=function(W){for(var G=0,re=this.count();G<re;G++)if(this.getName(G)===W)return G;return-1},C.indexOfRawIndex=function(W){if(W>=this._rawCount||W<0)return-1;if(!this._indices)return W;var G=this._indices,re=G[W];if(re!=null&&re<this._count&&re===W)return W;for(var ye=0,$=this._count-1;ye<=$;){var ve=(ye+$)/2|0;if(G[ve]<W)ye=ve+1;else if(G[ve]>W)$=ve-1;else return ve}return-1},C.indicesOfNearest=function(W,G,re){var ye=this._storage,$=ye[W],ve=[];if(!$)return ve;re==null&&(re=Infinity);for(var Ce=Infinity,Se=-1,Ke=0,ue=0,Le=this.count();ue<Le;ue++){var ee=G-this.get(W,ue),le=Math.abs(ee);le<=re&&((le<Ce||le===Ce&&ee>=0&&Se<0)&&(Ce=le,Se=ee,Ke=0),ee===Se&&(ve[Ke++]=ue))}return ve.length=Ke,ve},C.getRawIndex=k;function k(W){return W}function F(W){return W<this._count&&W>=0?this._indices[W]:-1}C.getRawDataItem=function(W){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(W));for(var G=[],re=0;re<this.dimensions.length;re++){var ye=this.dimensions[re];G.push(this.get(ye,W))}return G},C.getName=function(W){var G=this.getRawIndex(W);return this._nameList[G]||P(this,this._nameDimIdx,G)||""},C.getId=function(W){return j(this,this.getRawIndex(W))};function j(W,G){var re=W._idList[G];return re==null&&(re=P(W,W._idDimIdx,G)),re==null&&(re=s+G),re}function z(W){return S.isArray(W)||(W=[W]),W}function R(W,G){for(var re=0;re<G.length;re++)W._dimensionInfos[G[re]]||console.error("Unkown dimension "+G[re])}C.each=function(W,G,re,ye){"use strict";if(!this._count)return;typeof W=="function"&&(ye=re,re=G,G=W,W=[]),re=re||ye||this,W=S.map(z(W),this.getDimension,this);for(var $=W.length,ve=0;ve<this.count();ve++)switch($){case 0:G.call(re,ve);break;case 1:G.call(re,this.get(W[0],ve),ve);break;case 2:G.call(re,this.get(W[0],ve),this.get(W[1],ve),ve);break;default:for(var Ce=0,Se=[];Ce<$;Ce++)Se[Ce]=this.get(W[Ce],ve);Se[Ce]=ve,G.apply(re,Se)}},C.filterSelf=function(W,G,re,ye){"use strict";if(!this._count)return;typeof W=="function"&&(ye=re,re=G,G=W,W=[]),re=re||ye||this,W=S.map(z(W),this.getDimension,this);for(var $=this.count(),ve=w(this),Ce=new ve($),Se=[],Ke=W.length,ue=0,Le=W[0],ee=0;ee<$;ee++){var le,et=this.getRawIndex(ee);if(Ke===0)le=G.call(re,ee);else if(Ke===1){var Re=this._getFast(Le,et);le=G.call(re,Re,ee)}else{for(var Ae=0;Ae<Ke;Ae++)Se[Ae]=this._getFast(Le,et);Se[Ae]=ee,le=G.apply(re,Se)}le&&(Ce[ue++]=et)}return ue<$&&(this._indices=Ce),this._count=ue,this._extent={},this.getRawIndex=this._indices?F:k,this},C.selectRange=function(W){"use strict";if(!this._count)return;var G=[];for(var re in W)W.hasOwnProperty(re)&&G.push(re);var ye=G.length;if(!ye)return;var $=this.count(),ve=w(this),Ce=new ve($),Se=0,Ke=G[0],ue=W[Ke][0],Le=W[Ke][1],ee=!1;if(!this._indices){var le=0;if(ye===1){for(var et=this._storage[G[0]],Re=0;Re<this._chunkCount;Re++)for(var Ae=et[Re],oe=Math.min(this._count-Re*this._chunkSize,this._chunkSize),ce=0;ce<oe;ce++){var be=Ae[ce];(be>=ue&&be<=Le||isNaN(be))&&(Ce[Se++]=le),le++}ee=!0}else if(ye===2){for(var et=this._storage[Ke],Te=this._storage[G[1]],Be=W[G[1]][0],De=W[G[1]][1],Re=0;Re<this._chunkCount;Re++)for(var Ae=et[Re],ae=Te[Re],oe=Math.min(this._count-Re*this._chunkSize,this._chunkSize),ce=0;ce<oe;ce++){var be=Ae[ce],fe=ae[ce];(be>=ue&&be<=Le||isNaN(be))&&(fe>=Be&&fe<=De||isNaN(fe))&&(Ce[Se++]=le),le++}ee=!0}}if(!ee)if(ye===1)for(var ce=0;ce<$;ce++){var Oe=this.getRawIndex(ce),be=this._getFast(Ke,Oe);(be>=ue&&be<=Le||isNaN(be))&&(Ce[Se++]=Oe)}else for(var ce=0;ce<$;ce++){for(var Je=!0,Oe=this.getRawIndex(ce),Re=0;Re<ye;Re++){var Et=G[Re],be=this._getFast(re,Oe);(be<W[Et][0]||be>W[Et][1])&&(Je=!1)}Je&&(Ce[Se++]=this.getRawIndex(ce))}return Se<$&&(this._indices=Ce),this._count=Se,this._extent={},this.getRawIndex=this._indices?F:k,this},C.mapArray=function(W,G,re,ye){"use strict";typeof W=="function"&&(ye=re,re=G,G=W,W=[]),re=re||ye||this;var $=[];return this.each(W,function(){$.push(G&&G.apply(this,arguments))},re),$};function U(W,G){var re=W.dimensions,ye=new E(S.map(re,W.getDimensionInfo,W),W.hostModel);T(ye,W);for(var $=ye._storage={},ve=W._storage,Ce=0;Ce<re.length;Ce++){var Se=re[Ce];ve[Se]&&(S.indexOf(G,Se)>=0?($[Se]=B(ve[Se]),ye._rawExtent[Se]=H(),ye._extent[Se]=null):$[Se]=ve[Se])}return ye}function B(W){for(var G=new Array(W.length),re=0;re<W.length;re++)G[re]=b(W[re]);return G}function H(){return[Infinity,-Infinity]}C.map=function(W,G,re,ye){"use strict";re=re||ye||this,W=S.map(z(W),this.getDimension,this);var $=U(this,W);$._indices=this._indices,$.getRawIndex=$._indices?F:k;for(var ve=$._storage,Ce=[],Se=this._chunkSize,Ke=W.length,ue=this.count(),Le=[],ee=$._rawExtent,le=0;le<ue;le++){for(var et=0;et<Ke;et++)Le[et]=this.get(W[et],le);Le[Ke]=le;var Re=G&&G.apply(re,Le);if(Re!=null){typeof Re!="object"&&(Ce[0]=Re,Re=Ce);for(var Ae=this.getRawIndex(le),oe=Math.floor(Ae/Se),ce=Ae%Se,be=0;be<Re.length;be++){var Te=W[be],Be=Re[be],De=ee[Te],ae=ve[Te];ae&&(ae[oe][ce]=Be),Be<De[0]&&(De[0]=Be),Be>De[1]&&(De[1]=Be)}}}return $},C.downSample=function(W,G,re,ye){for(var $=U(this,[W]),ve=$._storage,Ce=[],Se=Math.floor(1/G),Ke=ve[W],ue=this.count(),Le=this._chunkSize,ee=$._rawExtent[W],le=new(w(this))(ue),et=0,Re=0;Re<ue;Re+=Se){Se>ue-Re&&(Se=ue-Re,Ce.length=Se);for(var Ae=0;Ae<Se;Ae++){var oe=this.getRawIndex(Re+Ae),ce=Math.floor(oe/Le),be=oe%Le;Ce[Ae]=Ke[ce][be]}var Te=re(Ce),Be=this.getRawIndex(Math.min(Re+ye(Ce,Te)||0,ue-1)),De=Math.floor(Be/Le),ae=Be%Le;Ke[De][ae]=Te,Te<ee[0]&&(ee[0]=Te),Te>ee[1]&&(ee[1]=Te),le[et++]=Be}return $._count=et,$._indices=le,$.getRawIndex=F,$},C.getItemModel=function(W){var G=this.hostModel;return new m(this.getRawDataItem(W),G,G&&G.ecModel)},C.diff=function(W){var G=this;return new g(W?W.getIndices():[],this.getIndices(),function(re){return j(W,re)},function(re){return j(G,re)})},C.getVisual=function(W){var G=this._visual;return G&&G[W]},C.setVisual=function(W,G){if(e(W)){for(var re in W)W.hasOwnProperty(re)&&this.setVisual(re,W[re]);return}this._visual=this._visual||{},this._visual[W]=G},C.setLayout=function(W,G){if(e(W)){for(var re in W)W.hasOwnProperty(re)&&this.setLayout(re,W[re]);return}this._layout[W]=G},C.getLayout=function(W){return this._layout[W]},C.getItemLayout=function(W){return this._itemLayouts[W]},C.setItemLayout=function(W,G,re){this._itemLayouts[W]=re?S.extend(this._itemLayouts[W]||{},G):G},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(W,G,re){var ye=this._itemVisuals[W],$=ye&&ye[G];return $==null&&!re?this.getVisual(G):$},C.setItemVisual=function(W,G,re){var ye=this._itemVisuals[W]||{},$=this.hasItemVisual;if(this._itemVisuals[W]=ye,e(G)){for(var ve in G)G.hasOwnProperty(ve)&&(ye[ve]=G[ve],$[ve]=!0);return}ye[G]=re,$[G]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var K=function(W){W.seriesIndex=this.seriesIndex,W.dataIndex=this.dataIndex,W.dataType=this.dataType};C.setItemGraphicEl=function(W,G){var re=this.hostModel;G&&(G.dataIndex=W,G.dataType=this.dataType,G.seriesIndex=re&&re.seriesIndex,G.type==="group"&&G.traverse(K,G)),this._graphicEls[W]=G},C.getItemGraphicEl=function(W){return this._graphicEls[W]},C.eachItemGraphicEl=function(W,G){S.each(this._graphicEls,function(re,ye){re&&(W&&W.call(G,re,ye))})},C.cloneShallow=function(W){if(!W){var G=S.map(this.dimensions,this.getDimensionInfo,this);W=new E(G,this.hostModel)}if(W._storage=this._storage,T(W,this),this._indices){var re=this._indices.constructor;W._indices=new re(this._indices)}else W._indices=null;return W.getRawIndex=W._indices?F:k,W},C.wrapMethod=function(W,G){var re=this[W];if(typeof re!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(W),this[W]=function(){var ye=re.apply(this,arguments);return G.apply(this,[ye].concat(S.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=E;M.exports=V},YgsL:function(M,N,n){var v=n("QBsz"),p=v.distance;function S(g,f,d,c,o,i,t){var a=(d-g)*.5,e=(c-f)*.5;return(2*(f-d)+a+e)*t+(-3*(f-d)-2*a-e)*i+a*o+f}function m(g,f){for(var d=g.length,c=[],o=0,i=1;i<d;i++)o+=p(g[i-1],g[i]);var t=o/2;t=t<d?d:t;for(var i=0;i<t;i++){var a=i/(t-1)*(f?d:d-1),e=Math.floor(a),l=a-e,r,s=g[e%d],u,h;f?(r=g[(e-1+d)%d],u=g[(e+1)%d],h=g[(e+2)%d]):(r=g[e===0?e:e-1],u=g[e>d-2?d-1:e+1],h=g[e>d-3?d-1:e+2]);var A=l*l,y=l*A;c.push([S(r[0],s[0],u[0],h[0],l,A,y),S(r[1],s[1],u[1],h[1],l,A,y)])}return c}M.exports=m},Yl7c:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=".",g="___EC__COMPONENT__CONTAINER___";function f(r){var s={main:"",sub:""};return r&&(r=r.split(m),s.main=r[0]||"",s.sub=r[1]||""),s}function d(r){S.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function c(r,s){r.$constructor=r,r.extend=function(u){var h=this,A=function(){u.$constructor?u.$constructor.apply(this,arguments):h.apply(this,arguments)};return S.extend(A.prototype,u),A.extend=this.extend,A.superCall=t,A.superApply=a,S.inherits(A,this),A.superClass=h,A}}var o=0;function i(r){var s=["__\0is_clz",o++,Math.random().toFixed(3)].join("_");r.prototype[s]=!0,r.isInstance=function(u){return!!(u&&u[s])}}function t(r,s){var u=S.slice(arguments,2);return this.superClass.prototype[s].apply(r,u)}function a(r,s,u){return this.superClass.prototype[s].apply(r,u)}function e(r,s){s=s||{};var u={};r.registerClass=function(y,w){if(w){if(d(w),w=f(w),!w.sub)u[w.main]=y;else if(w.sub!==g){var b=h(w);b[w.sub]=y}}return y},r.getClass=function(y,w,b){var x=u[y];if(x&&x[g]&&(x=w?x[w]:null),b&&!x)throw new Error(w?"Component "+y+"."+(w||"")+" not exists. Load it first.":y+".type should be specified.");return x},r.getClassesByMainType=function(y){y=f(y);var w=[],b=u[y.main];return b&&b[g]?S.each(b,function(x,O){O!==g&&w.push(x)}):w.push(b),w},r.hasClass=function(y){return y=f(y),!!u[y.main]},r.getAllClassMainTypes=function(){var y=[];return S.each(u,function(w,b){y.push(b)}),y},r.hasSubTypes=function(y){y=f(y);var w=u[y.main];return w&&w[g]},r.parseClassType=f;function h(y){var w=u[y.main];return(!w||!w[g])&&(w=u[y.main]={},w[g]=!0),w}if(s.registerWhenExtend){var A=r.extend;A&&(r.extend=function(y){var w=A.call(this,y);return r.registerClass(w,y.type)})}return r}function l(r,s){}N.parseClassType=f,N.enableClassExtend=c,N.enableClassCheck=i,N.enableClassManagement=e,N.setReadOnly=l},Ynxi:function(M,N,n){var v=n("bYtY"),p=n("ProS"),S=n("IwbS"),m=n("+TT/"),g=m.getLayoutRect,f=n("7aKB"),d=f.windowOpen;p.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"}}}),p.extendComponentView({type:"title",render:function(c,o,i){if(this.group.removeAll(),!c.get("show"))return;var t=this.group,a=c.getModel("textStyle"),e=c.getModel("subtextStyle"),l=c.get("textAlign"),r=v.retrieve2(c.get("textBaseline"),c.get("textVerticalAlign")),s=new S.Text({style:S.setTextStyle({},a,{text:c.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),h=c.get("subtext"),A=new S.Text({style:S.setTextStyle({},e,{text:h,textFill:e.getTextColor(),y:u.height+c.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),y=c.get("link"),w=c.get("sublink"),b=c.get("triggerEvent",!0);s.silent=!y&&!b,A.silent=!w&&!b,y&&s.on("click",function(){d(y,"_"+c.get("target"))}),w&&A.on("click",function(){d(y,"_"+c.get("subtarget"))}),s.eventData=A.eventData=b?{componentType:"title",componentIndex:c.componentIndex}:null,t.add(s),h&&t.add(A);var x=t.getBoundingRect(),O=c.getBoxLayoutParams();O.width=x.width,O.height=x.height;var T=g(O,{width:i.getWidth(),height:i.getHeight()},c.get("padding"));l||(l=c.get("left")||c.get("right"),l==="middle"&&(l="center"),l==="right"?T.x+=T.width:l==="center"&&(T.x+=T.width/2)),r||(r=c.get("top")||c.get("bottom"),r==="center"&&(r="middle"),r==="bottom"?T.y+=T.height:r==="middle"&&(T.y+=T.height/2),r=r||"top"),t.attr("position",[T.x,T.y]);var E={textAlign:l,textVerticalAlign:r};s.setStyle(E),A.setStyle(E),x=t.getBoundingRect();var C=T.margin,_=c.getItemStyle(["color","opacity"]);_.fill=c.get("backgroundColor");var L=new S.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:c.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});t.add(L)}})},Ywus:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("DO2E")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="DeleteOutlined";var i=m.forwardRef(o);N.default=i},Z0Lh:function(M,N,n){"use strict";var v=n("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=v(n("pVnL")),S=v(n("HjOm")),m=v(n("Z6rY")),g={lang:(0,p.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"]},S.default),timePickerLocale:(0,p.default)({},m.default)};g.lang.ok="\u786E \u5B9A";var f=g;N.default=f},Z1HP:function(M,N,n){var v=n("ycre"),p=n("quyA"),S=n("q4HE");function m(g){return p(g)?S(g):v(g)}M.exports=m},Z1r0:function(M,N){function n(v){var p=v.findComponents({mainType:"legend"});if(!p||!p.length)return;v.eachSeriesByType("graph",function(S){var m=S.getCategoriesData(),g=S.getGraph(),f=g.data,d=m.mapArray(m.getName);f.filterSelf(function(c){var o=f.getItemModel(c),i=o.getShallow("category");if(i!=null){typeof i=="number"&&(i=d[i]);for(var t=0;t<p.length;t++)if(!p[t].isSelected(i))return!1}return!0})},this)}M.exports=n},Z1wy:function(M,N,n){var v=n("ProS");n("ThAp"),n("pmaE"),n("SehX"),n("7uqq");var p=n("zuHt"),S=n("VPsl"),m=n("9u0u"),g=n("lELe"),f=n("d4KN");v.registerLayout(p),v.registerVisual(S),v.registerProcessor(v.PRIORITY.PROCESSOR.STATISTIC,m),v.registerPreprocessor(g),f("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(M,N,n){var v=n("MwEJ"),p=n("T4UG"),S=p.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,g){return v(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});M.exports=S},Z6rY:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},p=v;N.default=p},Z8zF:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("bYtY"),g=n("IwbS"),f=n("56rv"),d=f.setLabel,c=n("Qxkt"),o=n("tceW"),i=n("y+Vt"),t=n("4fz+"),a=n("iLNv"),e=a.throttle,l=n("sK/D"),r=l.createClipPath,s=n("wr5s"),u=["itemStyle","barBorderWidth"],h=[0,0];m.extend(c.prototype,o);function A(K,V){var W=K.getArea&&K.getArea();if(K.type==="cartesian2d"){var G=K.getBaseAxis();if(G.type!=="category"||!G.onBand){var re=V.getLayout("bandWidth");G.isHorizontal()?(W.x-=re,W.width+=re*2):(W.y-=re,W.height+=re*2)}}return W}var y=S.extendChartView({type:"bar",render:function(K,V,W){this._updateDrawMode(K);var G=K.get("coordinateSystem");return(G==="cartesian2d"||G==="polar")&&(this._isLargeDraw?this._renderLarge(K,V,W):this._renderNormal(K,V,W)),this.group},incrementalPrepareRender:function(K,V,W){this._clear(),this._updateDrawMode(K)},incrementalRender:function(K,V,W,G){this._incrementalRenderLarge(K,V)},_updateDrawMode:function(K){var V=K.pipelineContext.large;(this._isLargeDraw==null||V^this._isLargeDraw)&&(this._isLargeDraw=V,this._clear())},_renderNormal:function(K,V,W){var G=this.group,re=K.getData(),ye=this._data,$=K.coordinateSystem,ve=$.getBaseAxis(),Ce;$.type==="cartesian2d"?Ce=ve.isHorizontal():$.type==="polar"&&(Ce=ve.dim==="angle");var Se=K.isAnimationEnabled()?K:null,Ke=K.get("clip",!0),ue=A($,re);G.removeClipPath();var Le=K.get("roundCap",!0),ee=K.get("showBackground",!0),le=K.getModel("backgroundStyle"),et=le.get("barBorderRadius")||0,Re=[],Ae=this._backgroundEls||[];re.diff(ye).add(function(be){var Te=re.getItemModel(be),Be=C[$.type](re,be,Te);if(ee){var De=C[$.type](re,be),ae=H($,Ce,De);ae.useStyle(le.getBarItemStyle()),$.type==="cartesian2d"&&ae.setShape("r",et),Re[be]=ae}if(!re.hasValue(be))return;if(Ke){var fe=x[$.type](ue,Be);if(fe){G.remove(Oe);return}}var Oe=O[$.type](be,Be,Ce,Se,!1,Le);re.setItemGraphicEl(be,Oe),G.add(Oe),L(Oe,re,be,Te,Be,K,Ce,$.type==="polar")}).update(function(be,Te){var Be=re.getItemModel(be),De=C[$.type](re,be,Be);if(ee){var ae=Ae[Te];ae.useStyle(le.getBarItemStyle()),$.type==="cartesian2d"&&ae.setShape("r",et),Re[be]=ae;var fe=C[$.type](re,be),Oe=B(Ce,fe,$);g.updateProps(ae,{shape:Oe},Se,be)}var Je=ye.getItemGraphicEl(Te);if(!re.hasValue(be)){G.remove(Je);return}if(Ke){var Et=x[$.type](ue,De);if(Et){G.remove(Je);return}}Je?g.updateProps(Je,{shape:De},Se,be):Je=O[$.type](be,De,Ce,Se,!0,Le),re.setItemGraphicEl(be,Je),G.add(Je),L(Je,re,be,Be,De,K,Ce,$.type==="polar")}).remove(function(be){var Te=ye.getItemGraphicEl(be);$.type==="cartesian2d"?Te&&T(be,Se,Te):Te&&E(be,Se,Te)}).execute();var oe=this._backgroundGroup||(this._backgroundGroup=new t);oe.removeAll();for(var ce=0;ce<Re.length;++ce)oe.add(Re[ce]);G.add(oe),this._backgroundEls=Re,this._data=re},_renderLarge:function(K,V,W){this._clear(),F(K,this.group);var G=K.get("clip",!0)?r(K.coordinateSystem,!1,K):null;G?this.group.setClipPath(G):this.group.removeClipPath()},_incrementalRenderLarge:function(K,V){this._removeBackground(),F(V,this.group,!0)},dispose:m.noop,remove:function(K){this._clear(K)},_clear:function(K){var V=this.group,W=this._data;K&&K.get("animation")&&W&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],W.eachItemGraphicEl(function(G){G.type==="sector"?E(G.dataIndex,K,G):T(G.dataIndex,K,G)})):V.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),w=Math.max,b=Math.min,x={cartesian2d:function(K,V){var W=V.width<0?-1:1,G=V.height<0?-1:1;W<0&&(V.x+=V.width,V.width=-V.width),G<0&&(V.y+=V.height,V.height=-V.height);var re=w(V.x,K.x),ye=b(V.x+V.width,K.x+K.width),$=w(V.y,K.y),ve=b(V.y+V.height,K.y+K.height);V.x=re,V.y=$,V.width=ye-re,V.height=ve-$;var Ce=V.width<0||V.height<0;return W<0&&(V.x+=V.width,V.width=-V.width),G<0&&(V.y+=V.height,V.height=-V.height),Ce},polar:function(K){return!1}},O={cartesian2d:function(K,V,W,G,re){var ye=new g.Rect({shape:m.extend({},V),z2:1});if(ye.name="item",G){var $=ye.shape,ve=W?"height":"width",Ce={};$[ve]=0,Ce[ve]=V[ve],g[re?"updateProps":"initProps"](ye,{shape:Ce},G,K)}return ye},polar:function(K,V,W,G,re,ye){var $=V.startAngle<V.endAngle,ve=!W&&ye?s:g.Sector,Ce=new ve({shape:m.defaults({clockwise:$},V),z2:1});if(Ce.name="item",G){var Se=Ce.shape,Ke=W?"r":"endAngle",ue={};Se[Ke]=W?0:V.startAngle,ue[Ke]=V[Ke],g[re?"updateProps":"initProps"](Ce,{shape:ue},G,K)}return Ce}};function T(K,V,W){W.style.text=null,g.updateProps(W,{shape:{width:0}},V,K,function(){W.parent&&W.parent.remove(W)})}function E(K,V,W){W.style.text=null,g.updateProps(W,{shape:{r:W.shape.r0}},V,K,function(){W.parent&&W.parent.remove(W)})}var C={cartesian2d:function(K,V,W){var G=K.getItemLayout(V),re=W?P(W,G):0,ye=G.width>0?1:-1,$=G.height>0?1:-1;return{x:G.x+ye*re/2,y:G.y+$*re/2,width:G.width-ye*re,height:G.height-$*re}},polar:function(K,V,W){var G=K.getItemLayout(V);return{cx:G.cx,cy:G.cy,r0:G.r0,r:G.r,startAngle:G.startAngle,endAngle:G.endAngle}}};function _(K){return K.startAngle!=null&&K.endAngle!=null&&K.startAngle===K.endAngle}function L(K,V,W,G,re,ye,$,ve){var Ce=V.getItemVisual(W,"color"),Se=V.getItemVisual(W,"opacity"),Ke=V.getVisual("borderColor"),ue=G.getModel("itemStyle"),Le=G.getModel("emphasis.itemStyle").getBarItemStyle();ve||K.setShape("r",ue.get("barBorderRadius")||0),K.useStyle(m.defaults({stroke:_(re)?"none":Ke,fill:_(re)?"none":Ce,opacity:Se},ue.getBarItemStyle()));var ee=G.getShallow("cursor");ee&&K.attr("cursor",ee);var le=$?re.height>0?"bottom":"top":re.width>0?"left":"right";ve||d(K.style,Le,G,Ce,ye,W,le),_(re)&&(Le.fill=Le.stroke="none"),g.setHoverStyle(K,Le)}function P(K,V){var W=K.get(u)||0,G=isNaN(V.width)?Number.MAX_VALUE:Math.abs(V.width),re=isNaN(V.height)?Number.MAX_VALUE:Math.abs(V.height);return Math.min(W,G,re)}var k=i.extend({type:"largeBar",shape:{points:[]},buildPath:function(K,V){for(var W=V.points,G=this.__startPoint,re=this.__baseDimIdx,ye=0;ye<W.length;ye+=2)G[re]=W[ye+re],K.moveTo(G[0],G[1]),K.lineTo(W[ye],W[ye+1])}});function F(K,V,W){var G=K.getData(),re=[],ye=G.getLayout("valueAxisHorizontal")?1:0;re[1-ye]=G.getLayout("valueAxisStart");var $=G.getLayout("largeDataIndices"),ve=G.getLayout("barWidth"),Ce=K.getModel("backgroundStyle"),Se=K.get("showBackground",!0);if(Se){var Ke=G.getLayout("largeBackgroundPoints"),ue=[];ue[1-ye]=G.getLayout("backgroundStart");var Le=new k({shape:{points:Ke},incremental:!!W,__startPoint:ue,__baseDimIdx:ye,__largeDataIndices:$,__barWidth:ve,silent:!0,z2:0});U(Le,Ce,G),V.add(Le)}var ee=new k({shape:{points:G.getLayout("largePoints")},incremental:!!W,__startPoint:re,__baseDimIdx:ye,__largeDataIndices:$,__barWidth:ve});V.add(ee),R(ee,K,G),ee.seriesIndex=K.seriesIndex,K.get("silent")||(ee.on("mousedown",j),ee.on("mousemove",j))}var j=e(function(K){var V=this,W=z(V,K.offsetX,K.offsetY);V.dataIndex=W>=0?W:null},30,!1);function z(K,V,W){var G=K.__baseDimIdx,re=1-G,ye=K.shape.points,$=K.__largeDataIndices,ve=Math.abs(K.__barWidth/2),Ce=K.__startPoint[re];h[0]=V,h[1]=W;for(var Se=h[G],Ke=h[1-G],ue=Se-ve,Le=Se+ve,ee=0,le=ye.length/2;ee<le;ee++){var et=ee*2,Re=ye[et+G],Ae=ye[et+re];if(Re>=ue&&Re<=Le&&(Ce<=Ae?Ke>=Ce&&Ke<=Ae:Ke>=Ae&&Ke<=Ce))return $[ee]}return-1}function R(K,V,W){var G=W.getVisual("borderColor")||W.getVisual("color"),re=V.getModel("itemStyle").getItemStyle(["color","borderColor"]);K.useStyle(re),K.style.fill=null,K.style.stroke=G,K.style.lineWidth=W.getLayout("barWidth")}function U(K,V,W){var G=V.get("borderColor")||V.get("color"),re=V.getItemStyle(["color","borderColor"]);K.useStyle(re),K.style.fill=null,K.style.stroke=G,K.style.lineWidth=W.getLayout("barWidth")}function B(K,V,W){var G,re=W.type==="polar";return re?G=W.getArea():G=W.grid.getRect(),re?{cx:G.cx,cy:G.cy,r0:K?G.r0:V.r0,r:K?G.r:V.r,startAngle:K?V.startAngle:0,endAngle:K?V.endAngle:Math.PI*2}:{x:K?V.x:G.x,y:K?G.y:V.y,width:K?V.width:G.width,height:K?G.height:V.height}}function H(K,V,W){var G=K.type==="polar"?g.Sector:g.Rect;return new G({shape:B(V,W,K),silent:!0,z2:0})}M.exports=y},ZCgT:function(M,N,n){var v=n("tLB3"),p=1/0,S=17976931348623157e292;function m(g){if(!g)return g===0?g:0;if(g=v(g),g===p||g===-p){var f=g<0?-1:1;return f*S}return g===g?g:0}M.exports=m},ZLWo:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};N.default=v},ZMnZ:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("2oIt")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="UpOutlined";var i=m.forwardRef(o);N.default=i},ZTPi:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("q1tI"),f=n("rePB"),d=n("ODXe"),c=n("Ff2n"),o=n("VTBJ"),i=n("TSYQ"),t=n.n(i),a=n("Zm9Q"),e=n("6cGi"),l=n("KQm4"),r=n("xEkU"),s=n.n(r),u=n("1OyB"),h=n("vuIU"),A=n("Ji7U"),y=n("LK+K"),w=n("m+aA"),b=n("Kwbf"),x=n("c+Xe"),O=n("bdgK"),T="rc-observer-key",E=function(Ur){Object(A.a)(Cn,Ur);var sn=Object(y.a)(Cn);function Cn(){var Nt;return Object(u.a)(this,Cn),Nt=sn.apply(this,arguments),Nt.resizeObserver=null,Nt.childNode=null,Nt.currentElement=null,Nt.state={width:0,height:0,offsetHeight:0,offsetWidth:0},Nt.onResize=function(dt){var bt=Nt.props.onResize,Tt=dt[0].target,Lt=Tt.getBoundingClientRect(),pt=Lt.width,Gt=Lt.height,qt=Tt.offsetWidth,rr=Tt.offsetHeight,mr=Math.floor(pt),wn=Math.floor(Gt);if(Nt.state.width!==mr||Nt.state.height!==wn||Nt.state.offsetWidth!==qt||Nt.state.offsetHeight!==rr){var fn={width:mr,height:wn,offsetWidth:qt,offsetHeight:rr};Nt.setState(fn),bt&&Promise.resolve().then(function(){bt(Object(o.a)(Object(o.a)({},fn),{},{offsetWidth:qt,offsetHeight:rr}))})}},Nt.setChildNode=function(dt){Nt.childNode=dt},Nt}return Object(h.a)(Cn,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var dt=this.props.disabled;if(dt){this.destroyObserver();return}var bt=Object(w.a)(this.childNode||this),Tt=bt!==this.currentElement;Tt&&(this.destroyObserver(),this.currentElement=bt),!this.resizeObserver&&bt&&(this.resizeObserver=new O.default(this.onResize),this.resizeObserver.observe(bt))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var dt=this.props.children,bt=Object(a.a)(dt);if(bt.length>1)Object(b.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(bt.length===0)return Object(b.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var Tt=bt[0];if(g.isValidElement(Tt)&&Object(x.c)(Tt)){var Lt=Tt.ref;bt[0]=g.cloneElement(Tt,{ref:Object(x.a)(Lt,this.setChildNode)})}return bt.length===1?bt[0]:bt.map(function(pt,Gt){return!g.isValidElement(pt)||"key"in pt&&pt.key!==null?pt:g.cloneElement(pt,{key:"".concat(T,"-").concat(Gt)})})}}]),Cn}(g.Component);E.displayName="ResizeObserver";var C=E;function _(Ur){var sn=Object(g.useRef)(),Cn=Object(g.useRef)(!1);function Nt(){for(var dt=arguments.length,bt=new Array(dt),Tt=0;Tt<dt;Tt++)bt[Tt]=arguments[Tt];Cn.current||(s.a.cancel(sn.current),sn.current=s()(function(){Ur.apply(void 0,bt)}))}return Object(g.useEffect)(function(){return function(){Cn.current=!0,s.a.cancel(sn.current)}},[]),Nt}function L(Ur){var sn=Object(g.useRef)([]),Cn=Object(g.useState)({}),Nt=Object(d.a)(Cn,2),dt=Nt[1],bt=Object(g.useRef)(typeof Ur=="function"?Ur():Ur),Tt=_(function(){var pt=bt.current;sn.current.forEach(function(Gt){pt=Gt(pt)}),sn.current=[],bt.current=pt,dt({})});function Lt(pt){sn.current.push(pt),Tt()}return[bt.current,Lt]}var P=n("4IlW");function k(Ur,sn){var Cn,Nt=Ur.prefixCls,dt=Ur.id,bt=Ur.active,Tt=Ur.rtl,Lt=Ur.tab,pt=Lt.key,Gt=Lt.tab,qt=Lt.disabled,rr=Lt.closeIcon,mr=Ur.tabBarGutter,wn=Ur.tabPosition,fn=Ur.closable,Wn=Ur.renderWrapper,Yr=Ur.removeAriaLabel,Sr=Ur.editable,ln=Ur.onClick,Tn=Ur.onRemove,In=Ur.onFocus,Un="".concat(Nt,"-tab");g.useEffect(function(){return Tn},[]);var ti={};wn==="top"||wn==="bottom"?ti[Tt?"marginLeft":"marginRight"]=mr:ti.marginBottom=mr;var li=Sr&&fn!==!1&&!qt;function si(Ri){if(qt)return;ln(Ri)}function ki(Ri){Ri.preventDefault(),Ri.stopPropagation(),Sr.onEdit("remove",{key:pt,event:Ri})}var zi=g.createElement("div",{key:pt,ref:sn,className:t()(Un,(Cn={},Object(f.a)(Cn,"".concat(Un,"-with-remove"),li),Object(f.a)(Cn,"".concat(Un,"-active"),bt),Object(f.a)(Cn,"".concat(Un,"-disabled"),qt),Cn)),style:ti,onClick:si},g.createElement("div",{role:"tab","aria-selected":bt,id:dt&&"".concat(dt,"-tab-").concat(pt),className:"".concat(Un,"-btn"),"aria-controls":dt&&"".concat(dt,"-panel-").concat(pt),"aria-disabled":qt,tabIndex:qt?null:0,onClick:function(Yi){Yi.stopPropagation(),si(Yi)},onKeyDown:function(Yi){[P.a.SPACE,P.a.ENTER].includes(Yi.which)&&(Yi.preventDefault(),si(Yi))},onFocus:In},Gt),li&&g.createElement("button",{type:"button","aria-label":Yr||"remove",tabIndex:0,className:"".concat(Un,"-remove"),onClick:function(Yi){Yi.stopPropagation(),ki(Yi)}},rr||Sr.removeIcon||"\xD7"));return Wn&&(zi=Wn(zi)),zi}var F=g.forwardRef(k),j={width:0,height:0,left:0,top:0};function z(Ur,sn,Cn){return Object(g.useMemo)(function(){for(var Nt,dt=new Map,bt=sn.get((Nt=Ur[0])===null||Nt===void 0?void 0:Nt.key)||j,Tt=bt.left+bt.width,Lt=0;Lt<Ur.length;Lt+=1){var pt=Ur[Lt].key,Gt=sn.get(pt);if(!Gt){var qt;Gt=sn.get((qt=Ur[Lt-1])===null||qt===void 0?void 0:qt.key)||j}var rr=dt.get(pt)||Object(o.a)({},Gt);rr.right=Tt-rr.left-rr.width,dt.set(pt,rr)}return dt},[Ur.map(function(Nt){return Nt.key}).join("_"),sn,Cn])}var R={width:0,height:0,left:0,top:0,right:0};function U(Ur,sn,Cn,Nt,dt){var bt=dt.tabs,Tt=dt.tabPosition,Lt=dt.rtl,pt,Gt,qt;["top","bottom"].includes(Tt)?(pt="width",Gt=Lt?"right":"left",qt=Math.abs(sn.left)):(pt="height",Gt="top",qt=-sn.top);var rr=sn[pt],mr=Cn[pt],wn=Nt[pt],fn=rr;return mr+wn>rr&&(fn=rr-wn),Object(g.useMemo)(function(){if(!bt.length)return[0,0];for(var Wn=bt.length,Yr=Wn,Sr=0;Sr<Wn;Sr+=1){var ln=Ur.get(bt[Sr].key)||R;if(ln[Gt]+ln[pt]>qt+fn){Yr=Sr-1;break}}for(var Tn=0,In=Wn-1;In>=0;In-=1){var Un=Ur.get(bt[In].key)||R;if(Un[Gt]<qt){Tn=In+1;break}}return[Tn,Yr]},[Ur,qt,fn,Tt,bt.map(function(Wn){return Wn.key}).join("_"),Lt])}var B=n("wx14"),H=n("JX7q"),K=n("I8Z2"),V=n("bT9E"),W=n("2GS6"),G=n("Gytx"),re=n.n(G),ye=n("U8pU"),$=/iPhone/i,ve=/iPod/i,Ce=/iPad/i,Se=/\bAndroid(?:.+)Mobile\b/i,Ke=/Android/i,ue=/\bAndroid(?:.+)SD4930UR\b/i,Le=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,ee=/Windows Phone/i,le=/\bWindows(?:.+)ARM\b/i,et=/BlackBerry/i,Re=/BB10/i,Ae=/Opera Mini/i,oe=/\b(CriOS|Chrome)(?:.+)Mobile/i,ce=/Mobile(?:.+)Firefox\b/i;function be(Ur,sn){return Ur.test(sn)}function Te(Ur){var sn=Ur||(typeof navigator!="undefined"?navigator.userAgent:""),Cn=(sn||"").split("[FBAN");if(typeof Cn[1]!="undefined"){var Nt=Cn,dt=Object(d.a)(Nt,1);sn=dt[0]}if(Cn=sn.split("Twitter"),typeof Cn[1]!="undefined"){var bt=Cn,Tt=Object(d.a)(bt,1);sn=Tt[0]}var Lt={apple:{phone:be($,sn)&&!be(ee,sn),ipod:be(ve,sn),tablet:!be($,sn)&&be(Ce,sn)&&!be(ee,sn),device:(be($,sn)||be(ve,sn)||be(Ce,sn))&&!be(ee,sn)},amazon:{phone:be(ue,sn),tablet:!be(ue,sn)&&be(Le,sn),device:be(ue,sn)||be(Le,sn)},android:{phone:!be(ee,sn)&&be(ue,sn)||!be(ee,sn)&&be(Se,sn),tablet:!be(ee,sn)&&!be(ue,sn)&&!be(Se,sn)&&(be(Le,sn)||be(Ke,sn)),device:!be(ee,sn)&&(be(ue,sn)||be(Le,sn)||be(Se,sn)||be(Ke,sn))||be(/\bokhttp\b/i,sn)},windows:{phone:be(ee,sn),tablet:be(le,sn),device:be(ee,sn)||be(le,sn)},other:{blackberry:be(et,sn),blackberry10:be(Re,sn),opera:be(Ae,sn),firefox:be(ce,sn),chrome:be(oe,sn),device:be(et,sn)||be(Re,sn)||be(Ae,sn)||be(ce,sn)||be(oe,sn)},any:null,phone:null,tablet:null};return Lt.any=Lt.apple.device||Lt.android.device||Lt.windows.device||Lt.other.device,Lt.phone=Lt.apple.phone||Lt.android.phone||Lt.windows.phone,Lt.tablet=Lt.apple.tablet||Lt.android.tablet||Lt.windows.tablet,Lt}var Be=Object(o.a)(Object(o.a)({},Te()),{},{isMobile:Te}),De=Be;function ae(){}function fe(Ur,sn,Cn){var Nt=sn||"";return Ur.key||"".concat(Nt,"item_").concat(Cn)}function Oe(Ur){return"".concat(Ur,"-menu-")}function Je(Ur,sn){var Cn=-1;g.Children.forEach(Ur,function(Nt){Cn+=1,Nt&&Nt.type&&Nt.type.isMenuItemGroup?g.Children.forEach(Nt.props.children,function(dt){Cn+=1,sn(dt,Cn)}):sn(Nt,Cn)})}function Et(Ur,sn,Cn){if(!Ur||Cn.find)return;g.Children.forEach(Ur,function(Nt){if(Nt){var dt=Nt.type;if(!dt||!(dt.isSubMenu||dt.isMenuItem||dt.isMenuItemGroup))return;sn.indexOf(Nt.key)!==-1?Cn.find=!0:Nt.props.children&&Et(Nt.props.children,sn,Cn)}})}var Ze=["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"],Ne=function(sn){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nt=sn&&typeof sn.getBoundingClientRect=="function"&&sn.getBoundingClientRect().width;if(Nt){if(Cn){var dt=getComputedStyle(sn),bt=dt.marginLeft,Tt=dt.marginRight;Nt+=+bt.replace("px","")+ +Tt.replace("px","")}Nt=+Nt.toFixed(6)}return Nt||0},It=function(sn,Cn,Nt){sn&&Object(ye.a)(sn.style)==="object"&&(sn.style[Cn]=Nt)},Xe=function(){return De.any},Ot=n("i8i4"),Bt=n("uciX"),kt=n("wgJM"),_t=n("8XRh"),Ft={adjustX:1,adjustY:1},ke={topLeft:{points:["bl","tl"],overflow:Ft,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ft,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Ft,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Ft,offset:[4,0]}},te={topLeft:{points:["bl","tl"],overflow:Ft,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ft,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Ft,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Ft,offset:[4,0]}},Q=ke,qe=0,je={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},q=function(sn,Cn,Nt){var dt=Oe(Cn),bt=sn.getState();sn.setState({defaultActiveFirst:Object(o.a)(Object(o.a)({},bt.defaultActiveFirst),{},Object(f.a)({},dt,Nt))})},wt=function(Ur){Object(A.a)(Cn,Ur);var sn=Object(y.a)(Cn);function Cn(Nt){var dt;Object(u.a)(this,Cn),dt=sn.call(this,Nt),dt.onDestroy=function(qt){dt.props.onDestroy(qt)},dt.onKeyDown=function(qt){var rr=qt.keyCode,mr=dt.menuInstance,wn=dt.props.store,fn=dt.getVisible();if(rr===P.a.ENTER)return dt.onTitleClick(qt),q(wn,dt.props.eventKey,!0),!0;if(rr===P.a.RIGHT)return fn?mr.onKeyDown(qt):(dt.triggerOpenChange(!0),q(wn,dt.props.eventKey,!0)),!0;if(rr===P.a.LEFT){var Wn;if(fn)Wn=mr.onKeyDown(qt);else return;return Wn||(dt.triggerOpenChange(!1),Wn=!0),Wn}return fn&&(rr===P.a.UP||rr===P.a.DOWN)?mr.onKeyDown(qt):void 0},dt.onOpenChange=function(qt){dt.props.onOpenChange(qt)},dt.onPopupVisibleChange=function(qt){dt.triggerOpenChange(qt,qt?"mouseenter":"mouseleave")},dt.onMouseEnter=function(qt){var rr=dt.props,mr=rr.eventKey,wn=rr.onMouseEnter,fn=rr.store;q(fn,dt.props.eventKey,!1),wn({key:mr,domEvent:qt})},dt.onMouseLeave=function(qt){var rr=dt.props,mr=rr.parentMenu,wn=rr.eventKey,fn=rr.onMouseLeave;mr.subMenuInstance=Object(H.a)(dt),fn({key:wn,domEvent:qt})},dt.onTitleMouseEnter=function(qt){var rr=dt.props,mr=rr.eventKey,wn=rr.onItemHover,fn=rr.onTitleMouseEnter;wn({key:mr,hover:!0}),fn({key:mr,domEvent:qt})},dt.onTitleMouseLeave=function(qt){var rr=dt.props,mr=rr.parentMenu,wn=rr.eventKey,fn=rr.onItemHover,Wn=rr.onTitleMouseLeave;mr.subMenuInstance=Object(H.a)(dt),fn({key:wn,hover:!1}),Wn({key:wn,domEvent:qt})},dt.onTitleClick=function(qt){var rr=Object(H.a)(dt),mr=rr.props;if(mr.onTitleClick({key:mr.eventKey,domEvent:qt}),mr.triggerSubMenuAction==="hover")return;dt.triggerOpenChange(!dt.getVisible(),"click"),q(mr.store,dt.props.eventKey,!1)},dt.onSubMenuClick=function(qt){typeof dt.props.onClick=="function"&&dt.props.onClick(dt.addKeyPath(qt))},dt.onSelect=function(qt){dt.props.onSelect(qt)},dt.onDeselect=function(qt){dt.props.onDeselect(qt)},dt.getPrefixCls=function(){return"".concat(dt.props.rootPrefixCls,"-submenu")},dt.getActiveClassName=function(){return"".concat(dt.getPrefixCls(),"-active")},dt.getDisabledClassName=function(){return"".concat(dt.getPrefixCls(),"-disabled")},dt.getSelectedClassName=function(){return"".concat(dt.getPrefixCls(),"-selected")},dt.getOpenClassName=function(){return"".concat(dt.props.rootPrefixCls,"-submenu-open")},dt.getVisible=function(){return dt.state.isOpen},dt.getMode=function(){return dt.state.mode},dt.saveMenuInstance=function(qt){dt.menuInstance=qt},dt.addKeyPath=function(qt){return Object(o.a)(Object(o.a)({},qt),{},{keyPath:(qt.keyPath||[]).concat(dt.props.eventKey)})},dt.triggerOpenChange=function(qt,rr){var mr=dt.props.eventKey,wn=function(){dt.onOpenChange({key:mr,item:Object(H.a)(dt),trigger:rr,open:qt})};rr==="mouseenter"?dt.mouseenterTimeout=setTimeout(function(){wn()},0):wn()},dt.isChildrenSelected=function(){var qt={find:!1};return Et(dt.props.children,dt.props.selectedKeys,qt),qt.find},dt.isInlineMode=function(){return dt.getMode()==="inline"},dt.adjustWidth=function(){if(!dt.subMenuTitle||!dt.menuInstance)return;var qt=Ot.findDOMNode(dt.menuInstance);if(qt.offsetWidth>=dt.subMenuTitle.offsetWidth)return;qt.style.minWidth="".concat(dt.subMenuTitle.offsetWidth,"px")},dt.saveSubMenuTitle=function(qt){dt.subMenuTitle=qt},dt.getBaseProps=function(){var qt=Object(H.a)(dt),rr=qt.props,mr=dt.getMode();return{mode:mr==="horizontal"?"vertical":mr,visible:dt.getVisible(),level:rr.level+1,inlineIndent:rr.inlineIndent,focusable:!1,onClick:dt.onSubMenuClick,onSelect:dt.onSelect,onDeselect:dt.onDeselect,onDestroy:dt.onDestroy,selectedKeys:rr.selectedKeys,eventKey:"".concat(rr.eventKey,"-menu-"),openKeys:rr.openKeys,motion:rr.motion,onOpenChange:dt.onOpenChange,subMenuOpenDelay:rr.subMenuOpenDelay,parentMenu:Object(H.a)(dt),subMenuCloseDelay:rr.subMenuCloseDelay,forceSubMenuRender:rr.forceSubMenuRender,triggerSubMenuAction:rr.triggerSubMenuAction,builtinPlacements:rr.builtinPlacements,defaultActiveFirst:rr.store.getState().defaultActiveFirst[Oe(rr.eventKey)],multiple:rr.multiple,prefixCls:rr.rootPrefixCls,id:dt.internalMenuId,manualRef:dt.saveMenuInstance,itemIcon:rr.itemIcon,expandIcon:rr.expandIcon,direction:rr.direction}},dt.getMotion=function(qt,rr){var mr=Object(H.a)(dt),wn=mr.haveRendered,fn=dt.props,Wn=fn.motion,Yr=fn.rootPrefixCls,Sr=Object(o.a)(Object(o.a)({},Wn),{},{leavedClassName:"".concat(Yr,"-hidden"),removeOnLeave:!1,motionAppear:wn||!rr||qt!=="inline"});return Sr};var bt=Nt.store,Tt=Nt.eventKey,Lt=bt.getState(),pt=Lt.defaultActiveFirst;dt.isRootMenu=!1;var Gt=!1;return pt&&(Gt=pt[Tt]),q(bt,Tt,Gt),dt.state={mode:Nt.mode,isOpen:Nt.isOpen},dt}return Object(h.a)(Cn,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var dt=this,bt=this.props,Tt=bt.mode,Lt=bt.parentMenu,pt=bt.manualRef,Gt=bt.isOpen,qt=function(){dt.setState({mode:Tt,isOpen:Gt})},rr=Gt!==this.state.isOpen,mr=Tt!==this.state.mode;if((mr||rr)&&(kt.a.cancel(this.updateStateRaf),mr?this.updateStateRaf=Object(kt.a)(qt):qt()),pt&&pt(this),Tt!=="horizontal"||!(Lt==null?void 0:Lt.isRootMenu)||!Gt)return;this.minWidthTimeout=setTimeout(function(){return dt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var dt=this.props,bt=dt.onDestroy,Tt=dt.eventKey;bt&&bt(Tt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),kt.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(dt,bt){var Tt=this.getBaseProps();return g.createElement(Vn,Object(B.a)({},Tt,{id:this.internalMenuId,className:dt,style:bt}),this.props.children)}},{key:"renderChildren",value:function(){var dt=this,bt=this.getBaseProps(),Tt=bt.mode,Lt=bt.visible,pt=bt.forceSubMenuRender,Gt=bt.direction,qt=this.getMotion(Tt,Lt);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Lt||pt,!this.haveOpened)return g.createElement("div",null);var rr=t()("".concat(bt.prefixCls,"-sub"),Object(f.a)({},"".concat(bt.prefixCls,"-rtl"),Gt==="rtl"));return this.isInlineMode()?g.createElement(_t.b,Object(B.a)({visible:bt.visible,forceRender:pt},qt),function(mr){var wn=mr.className,fn=mr.style,Wn=t()(rr,wn);return dt.renderPopupMenu(Wn,fn)}):this.renderPopupMenu(rr)}},{key:"render",value:function(){var dt,bt,Tt,Lt=Object(o.a)({},this.props),pt=this.getVisible(),Gt=this.getPrefixCls(),qt=this.isInlineMode(),rr=this.getMode(),mr=t()(Gt,"".concat(Gt,"-").concat(rr),(dt={},Object(f.a)(dt,Lt.className,!!Lt.className),Object(f.a)(dt,this.getOpenClassName(),pt),Object(f.a)(dt,this.getActiveClassName(),Lt.active||pt&&!qt),Object(f.a)(dt,this.getDisabledClassName(),Lt.disabled),Object(f.a)(dt,this.getSelectedClassName(),this.isChildrenSelected()),dt));this.internalMenuId||(Lt.eventKey?this.internalMenuId="".concat(Lt.eventKey,"$Menu"):(qe+=1,this.internalMenuId="$__$".concat(qe,"$Menu")));var wn={},fn={},Wn={};Lt.disabled||(wn={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},fn={onClick:this.onTitleClick},Wn={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Yr={},Sr=Lt.direction,ln=Sr==="rtl";qt&&(ln?Yr.paddingRight=Lt.inlineIndent*Lt.level:Yr.paddingLeft=Lt.inlineIndent*Lt.level);var Tn={};this.getVisible()&&(Tn={"aria-owns":this.internalMenuId});var In=null;rr!=="horizontal"&&(In=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(In=g.createElement(this.props.expandIcon,Object(o.a)({},this.props))));var Un=g.createElement("div",Object(B.a)({ref:this.saveSubMenuTitle,style:Yr,className:"".concat(Gt,"-title"),role:"button"},Wn,fn,{"aria-expanded":pt},Tn,{"aria-haspopup":"true",title:typeof Lt.title=="string"?Lt.title:void 0}),Lt.title,In||g.createElement("i",{className:"".concat(Gt,"-arrow")})),ti=this.renderChildren(),li=((bt=Lt.parentMenu)===null||bt===void 0?void 0:bt.isRootMenu)?Lt.parentMenu.props.getPopupContainer:function(ar){return ar.parentNode},si=je[rr],ki=Lt.popupOffset?{offset:Lt.popupOffset}:{},zi=t()((Tt={},Object(f.a)(Tt,Lt.popupClassName,Lt.popupClassName&&!qt),Object(f.a)(Tt,"".concat(Gt,"-rtl"),ln),Tt)),Ri=Lt.disabled,Yi=Lt.triggerSubMenuAction,Zn=Lt.subMenuOpenDelay,hn=Lt.forceSubMenuRender,mi=Lt.subMenuCloseDelay,Hi=Lt.builtinPlacements;Ze.forEach(function(ar){return delete Lt[ar]}),delete Lt.onClick;var Li=ln?Object(o.a)(Object(o.a)({},te),Hi):Object(o.a)(Object(o.a)({},ke),Hi);delete Lt.direction;var Bi=this.getBaseProps(),Ar=qt?null:this.getMotion(Bi.mode,Bi.visible);return g.createElement("li",Object(B.a)({},Lt,wn,{className:mr,role:"menuitem"}),g.createElement(Bt.a,{prefixCls:Gt,popupClassName:t()("".concat(Gt,"-popup"),zi),getPopupContainer:li,builtinPlacements:Li,popupPlacement:si,popupVisible:qt?!1:pt,popupAlign:ki,popup:qt?null:ti,action:Ri||qt?[]:[Yi],mouseEnterDelay:Zn,mouseLeaveDelay:mi,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:hn,popupMotion:Ar},Un),qt?ti:null)}}]),Cn}(g.Component);wt.defaultProps={onMouseEnter:ae,onMouseLeave:ae,onTitleMouseEnter:ae,onTitleMouseLeave:ae,onTitleClick:ae,manualRef:ae,mode:"vertical",title:""};var Vt=Object(K.b)(function(Ur,sn){var Cn=Ur.openKeys,Nt=Ur.activeKey,dt=Ur.selectedKeys,bt=sn.eventKey,Tt=sn.subMenuKey;return{isOpen:Cn.indexOf(bt)>-1,active:Nt[Tt]===bt,selectedKeys:dt}})(wt);Vt.isSubMenu=!0;var lt=Vt,or="menuitem-overflowed",vr=.5,An=function(Ur){Object(A.a)(Cn,Ur);var sn=Object(y.a)(Cn);function Cn(){var Nt;return Object(u.a)(this,Cn),Nt=sn.apply(this,arguments),Nt.resizeObserver=null,Nt.mutationObserver=null,Nt.originalTotalWidth=0,Nt.overflowedItems=[],Nt.menuItemSizes=[],Nt.cancelFrameId=null,Nt.state={lastVisibleIndex:void 0},Nt.childRef=g.createRef(),Nt.getMenuItemNodes=function(){var dt=Nt.props.prefixCls,bt=Nt.childRef.current;return bt?[].slice.call(bt.children).filter(function(Tt){return Tt.className.split(" ").indexOf("".concat(dt,"-overflowed-submenu"))<0}):[]},Nt.getOverflowedSubMenuItem=function(dt,bt,Tt){var Lt=Nt.props,pt=Lt.overflowedIndicator,Gt=Lt.level,qt=Lt.mode,rr=Lt.prefixCls,mr=Lt.theme;if(Gt!==1||qt!=="horizontal")return null;var wn=Nt.props.children[0],fn=wn.props,Wn=fn.children,Yr=fn.title,Sr=fn.style,ln=Object(c.a)(fn,["children","title","style"]),Tn=Object(o.a)({},Sr),In="".concat(dt,"-overflowed-indicator"),Un="".concat(dt,"-overflowed-indicator");bt.length===0&&Tt!==!0?Tn=Object(o.a)(Object(o.a)({},Tn),{},{display:"none"}):Tt&&(Tn=Object(o.a)(Object(o.a)({},Tn),{},{visibility:"hidden",position:"absolute"}),In="".concat(In,"-placeholder"),Un="".concat(Un,"-placeholder"));var ti=mr?"".concat(rr,"-").concat(mr):"",li={};return Ze.forEach(function(si){ln[si]!==void 0&&(li[si]=ln[si])}),g.createElement(lt,Object(B.a)({title:pt,className:"".concat(rr,"-overflowed-submenu"),popupClassName:ti},li,{key:In,eventKey:Un,disabled:!1,style:Tn}),bt)},Nt.setChildrenWidthAndResize=function(){if(Nt.props.mode!=="horizontal")return;var dt=Nt.childRef.current;if(!dt)return;var bt=dt.children;if(!bt||bt.length===0)return;var Tt=dt.children[bt.length-1];It(Tt,"display","inline-block");var Lt=Nt.getMenuItemNodes(),pt=Lt.filter(function(Gt){return Gt.className.split(" ").indexOf(or)>=0});pt.forEach(function(Gt){It(Gt,"display","inline-block")}),Nt.menuItemSizes=Lt.map(function(Gt){return Ne(Gt,!0)}),pt.forEach(function(Gt){It(Gt,"display","none")}),Nt.overflowedIndicatorWidth=Ne(dt.children[dt.children.length-1],!0),Nt.originalTotalWidth=Nt.menuItemSizes.reduce(function(Gt,qt){return Gt+qt},0),Nt.handleResize(),It(Tt,"display","none")},Nt.handleResize=function(){if(Nt.props.mode!=="horizontal")return;var dt=Nt.childRef.current;if(!dt)return;var bt=Ne(dt);Nt.overflowedItems=[];var Tt=0,Lt;Nt.originalTotalWidth>bt+vr&&(Lt=-1,Nt.menuItemSizes.forEach(function(pt){Tt+=pt,Tt+Nt.overflowedIndicatorWidth<=bt&&(Lt+=1)})),Nt.setState({lastVisibleIndex:Lt})},Nt}return Object(h.a)(Cn,[{key:"componentDidMount",value:function(){var dt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var bt=this.childRef.current;if(!bt)return;this.resizeObserver=new O.default(function(Tt){Tt.forEach(function(){var Lt=dt.cancelFrameId;cancelAnimationFrame(Lt),dt.cancelFrameId=requestAnimationFrame(dt.setChildrenWidthAndResize)})}),[].slice.call(bt.children).concat(bt).forEach(function(Tt){dt.resizeObserver.observe(Tt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){dt.resizeObserver.disconnect(),[].slice.call(bt.children).concat(bt).forEach(function(Tt){dt.resizeObserver.observe(Tt)}),dt.setChildrenWidthAndResize()}),this.mutationObserver.observe(bt,{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(dt){var bt=this,Tt=this.state.lastVisibleIndex;return(dt||[]).reduce(function(Lt,pt,Gt){var qt=pt;if(bt.props.mode==="horizontal"){var rr=bt.getOverflowedSubMenuItem(pt.props.eventKey,[]);Tt!==void 0&&bt.props.className.indexOf("".concat(bt.props.prefixCls,"-root"))!==-1&&(Gt>Tt&&(qt=g.cloneElement(pt,{style:{display:"none"},eventKey:"".concat(pt.props.eventKey,"-hidden"),className:"".concat(or)})),Gt===Tt+1&&(bt.overflowedItems=dt.slice(Tt+1).map(function(wn){return g.cloneElement(wn,{key:wn.props.eventKey,mode:"vertical-left"})}),rr=bt.getOverflowedSubMenuItem(pt.props.eventKey,bt.overflowedItems)));var mr=[].concat(Object(l.a)(Lt),[rr,qt]);return Gt===dt.length-1&&mr.push(bt.getOverflowedSubMenuItem(pt.props.eventKey,[],!0)),mr}return[].concat(Object(l.a)(Lt),[qt])},[])}},{key:"render",value:function(){var dt=this.props,bt=dt.visible,Tt=dt.prefixCls,Lt=dt.overflowedIndicator,pt=dt.mode,Gt=dt.level,qt=dt.tag,rr=dt.children,mr=dt.theme,wn=Object(c.a)(dt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),fn=qt;return g.createElement(fn,Object(B.a)({ref:this.childRef},wn),this.renderChildren(rr))}}]),Cn}(g.Component);An.defaultProps={tag:"div",className:""};var hr=An;function xr(Ur){return Ur.length?Ur.every(function(sn){return!!sn.props.disabled}):!0}function nr(Ur,sn,Cn){var Nt=Ur.getState();Ur.setState({activeKey:Object(o.a)(Object(o.a)({},Nt.activeKey),{},Object(f.a)({},sn,Cn))})}function Yt(Ur){return Ur.eventKey||"0-menu-"}function gt(Ur,sn){var Cn=sn,Nt=Ur.children,dt=Ur.eventKey;if(Cn){var bt;if(Je(Nt,function(Tt,Lt){Tt&&Tt.props&&!Tt.props.disabled&&Cn===fe(Tt,dt,Lt)&&(bt=!0)}),bt)return Cn}return Cn=null,Ur.defaultActiveFirst&&Je(Nt,function(Tt,Lt){!Cn&&Tt&&!Tt.props.disabled&&(Cn=fe(Tt,dt,Lt))}),Cn}function zr(Ur){if(!Ur)return;var sn=this.instanceArray.indexOf(Ur);sn!==-1?this.instanceArray[sn]=Ur:this.instanceArray.push(Ur)}var pn=function(Ur){Object(A.a)(Cn,Ur);var sn=Object(y.a)(Cn);function Cn(Nt){var dt;return Object(u.a)(this,Cn),dt=sn.call(this,Nt),dt.onKeyDown=function(bt,Tt){var Lt=bt.keyCode,pt;if(dt.getFlatInstanceArray().forEach(function(qt){qt&&qt.props.active&&qt.onKeyDown&&(pt=qt.onKeyDown(bt))}),pt)return 1;var Gt=null;return(Lt===P.a.UP||Lt===P.a.DOWN)&&(Gt=dt.step(Lt===P.a.UP?-1:1)),Gt?(bt.preventDefault(),nr(dt.props.store,Yt(dt.props),Gt.props.eventKey),typeof Tt=="function"&&Tt(Gt),1):void 0},dt.onItemHover=function(bt){var Tt=bt.key,Lt=bt.hover;nr(dt.props.store,Yt(dt.props),Lt?Tt:null)},dt.onDeselect=function(bt){dt.props.onDeselect(bt)},dt.onSelect=function(bt){dt.props.onSelect(bt)},dt.onClick=function(bt){dt.props.onClick(bt)},dt.onOpenChange=function(bt){dt.props.onOpenChange(bt)},dt.onDestroy=function(bt){dt.props.onDestroy(bt)},dt.getFlatInstanceArray=function(){return dt.instanceArray},dt.step=function(bt){var Tt=dt.getFlatInstanceArray(),Lt=dt.props.store.getState().activeKey[Yt(dt.props)],pt=Tt.length;if(!pt)return null;bt<0&&(Tt=Tt.concat().reverse());var Gt=-1;if(Tt.every(function(wn,fn){return wn&&wn.props.eventKey===Lt?(Gt=fn,!1):!0}),!dt.props.defaultActiveFirst&&Gt!==-1&&xr(Tt.slice(Gt,pt-1)))return;var qt=(Gt+1)%pt,rr=qt;do{var mr=Tt[rr];if(!mr||mr.props.disabled)rr=(rr+1)%pt;else return mr}while(rr!==qt);return null},dt.renderCommonMenuItem=function(bt,Tt,Lt){var pt=dt.props.store.getState(),Gt=Object(H.a)(dt),qt=Gt.props,rr=fe(bt,qt.eventKey,Tt),mr=bt.props;if(!mr||typeof bt.type=="string")return bt;var wn=rr===pt.activeKey,fn=Object(o.a)(Object(o.a)({mode:mr.mode||qt.mode,level:qt.level,inlineIndent:qt.inlineIndent,renderMenuItem:dt.renderMenuItem,rootPrefixCls:qt.prefixCls,index:Tt,parentMenu:qt.parentMenu,manualRef:mr.disabled?void 0:Object(W.a)(bt.ref,zr.bind(Object(H.a)(dt))),eventKey:rr,active:!mr.disabled&&wn,multiple:qt.multiple,onClick:function(Yr){(mr.onClick||ae)(Yr),dt.onClick(Yr)},onItemHover:dt.onItemHover,motion:qt.motion,subMenuOpenDelay:qt.subMenuOpenDelay,subMenuCloseDelay:qt.subMenuCloseDelay,forceSubMenuRender:qt.forceSubMenuRender,onOpenChange:dt.onOpenChange,onDeselect:dt.onDeselect,onSelect:dt.onSelect,builtinPlacements:qt.builtinPlacements,itemIcon:mr.itemIcon||dt.props.itemIcon,expandIcon:mr.expandIcon||dt.props.expandIcon},Lt),{},{direction:qt.direction});return(qt.mode==="inline"||Xe())&&(fn.triggerSubMenuAction="click"),g.cloneElement(bt,Object(o.a)(Object(o.a)({},fn),{},{key:rr||Tt}))},dt.renderMenuItem=function(bt,Tt,Lt){if(!bt)return null;var pt=dt.props.store.getState(),Gt={openKeys:pt.openKeys,selectedKeys:pt.selectedKeys,triggerSubMenuAction:dt.props.triggerSubMenuAction,subMenuKey:Lt};return dt.renderCommonMenuItem(bt,Tt,Gt)},Nt.store.setState({activeKey:Object(o.a)(Object(o.a)({},Nt.store.getState().activeKey),{},Object(f.a)({},Nt.eventKey,gt(Nt,Nt.activeKey)))}),dt.instanceArray=[],dt}return Object(h.a)(Cn,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(dt){return this.props.visible||dt.visible||this.props.className!==dt.className||!re()(this.props.style,dt.style)}},{key:"componentDidUpdate",value:function(dt){var bt=this.props,Tt="activeKey"in bt?bt.activeKey:bt.store.getState().activeKey[Yt(bt)],Lt=gt(bt,Tt);if(Lt!==Tt)nr(bt.store,Yt(bt),Lt);else if("activeKey"in dt){var pt=gt(dt,dt.activeKey);Lt!==pt&&nr(bt.store,Yt(bt),Lt)}}},{key:"render",value:function(){var dt=this,bt=Object(B.a)({},this.props);this.instanceArray=[];var Tt=t()(bt.prefixCls,bt.className,"".concat(bt.prefixCls,"-").concat(bt.mode)),Lt={className:Tt,role:bt.role||"menu"};bt.id&&(Lt.id=bt.id),bt.focusable&&(Lt.tabIndex=0,Lt.onKeyDown=this.onKeyDown);var pt=bt.prefixCls,Gt=bt.eventKey,qt=bt.visible,rr=bt.level,mr=bt.mode,wn=bt.overflowedIndicator,fn=bt.theme;return Ze.forEach(function(Wn){return delete bt[Wn]}),delete bt.onClick,g.createElement(hr,Object(B.a)({},bt,{prefixCls:pt,mode:mr,tag:"ul",level:rr,theme:fn,visible:qt,overflowedIndicator:wn},Lt),Object(a.a)(bt.children).map(function(Wn,Yr){return dt.renderMenuItem(Wn,Yr,Gt||"0-menu-")}))}}]),Cn}(g.Component);pn.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ae};var Nn=Object(K.b)()(pn),Vn=Nn;function xi(Ur,sn,Cn){var Nt=Ur.prefixCls,dt=Ur.motion,bt=Ur.defaultMotions,Tt=bt===void 0?{}:bt,Lt=Ur.openAnimation,pt=Ur.openTransitionName,Gt=sn.switchingModeFromInline;if(dt)return dt;if(Object(ye.a)(Lt)==="object"&&Lt)Object(b.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Lt=="string")return{motionName:"".concat(Nt,"-open-").concat(Lt)};if(pt)return{motionName:pt};var qt=Tt[Cn];return qt||(Gt?null:Tt.other)}var bn=function(Ur){Object(A.a)(Cn,Ur);var sn=Object(y.a)(Cn);function Cn(Nt){var dt;Object(u.a)(this,Cn),dt=sn.call(this,Nt),dt.onSelect=function(Lt){var pt=Object(H.a)(dt),Gt=pt.props;if(Gt.selectable){var qt=dt.store.getState(),rr=qt.selectedKeys,mr=Lt.key;Gt.multiple?rr=rr.concat([mr]):rr=[mr],"selectedKeys"in Gt||dt.store.setState({selectedKeys:rr}),Gt.onSelect(Object(o.a)(Object(o.a)({},Lt),{},{selectedKeys:rr}))}},dt.onClick=function(Lt){var pt=dt.getRealMenuMode(),Gt=Object(H.a)(dt),qt=Gt.store,rr=Gt.props.onOpenChange;pt!=="inline"&&!("openKeys"in dt.props)&&(qt.setState({openKeys:[]}),rr([])),dt.props.onClick(Lt)},dt.onKeyDown=function(Lt,pt){dt.innerMenu.getWrappedInstance().onKeyDown(Lt,pt)},dt.onOpenChange=function(Lt){var pt=Object(H.a)(dt),Gt=pt.props,qt=dt.store.getState().openKeys.concat(),rr=!1,mr=function(fn){var Wn=!1;if(fn.open)Wn=qt.indexOf(fn.key)===-1,Wn&&qt.push(fn.key);else{var Yr=qt.indexOf(fn.key);Wn=Yr!==-1,Wn&&qt.splice(Yr,1)}rr=rr||Wn};Array.isArray(Lt)?Lt.forEach(mr):mr(Lt),rr&&("openKeys"in dt.props||dt.store.setState({openKeys:qt}),Gt.onOpenChange(qt))},dt.onDeselect=function(Lt){var pt=Object(H.a)(dt),Gt=pt.props;if(Gt.selectable){var qt=dt.store.getState().selectedKeys.concat(),rr=Lt.key,mr=qt.indexOf(rr);mr!==-1&&qt.splice(mr,1),"selectedKeys"in Gt||dt.store.setState({selectedKeys:qt}),Gt.onDeselect(Object(o.a)(Object(o.a)({},Lt),{},{selectedKeys:qt}))}},dt.onMouseEnter=function(Lt){dt.restoreModeVerticalFromInline();var pt=dt.props.onMouseEnter;pt&&pt(Lt)},dt.onTransitionEnd=function(Lt){var pt=Lt.propertyName==="width"&&Lt.target===Lt.currentTarget,Gt=Lt.target.className,qt=Object.prototype.toString.call(Gt)==="[object SVGAnimatedString]"?Gt.animVal:Gt,rr=Lt.propertyName==="font-size"&&qt.indexOf("anticon")>=0;(pt||rr)&&dt.restoreModeVerticalFromInline()},dt.setInnerMenu=function(Lt){dt.innerMenu=Lt},dt.isRootMenu=!0;var bt=Nt.defaultSelectedKeys,Tt=Nt.defaultOpenKeys;return"selectedKeys"in Nt&&(bt=Nt.selectedKeys||[]),"openKeys"in Nt&&(Tt=Nt.openKeys||[]),dt.store=Object(K.c)({selectedKeys:bt,openKeys:Tt,activeKey:{"0-menu-":gt(Nt,Nt.activeKey)}}),dt.state={switchingModeFromInline:!1,prevProps:Nt,inlineOpenKeys:[],store:dt.store},dt}return Object(h.a)(Cn,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(dt){var bt=this.props,Tt=bt.siderCollapsed,Lt=bt.inlineCollapsed,pt=bt.onOpenChange;(!dt.inlineCollapsed&&Lt||!dt.siderCollapsed&&Tt)&&pt([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var dt=this.props.collapsedWidth,bt=this.store,Tt=this.prevOpenKeys,Lt=this.getInlineCollapsed()&&(dt===0||dt==="0"||dt==="0px");Lt?(this.prevOpenKeys=bt.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Tt&&(this.store.setState({openKeys:Tt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var dt=this.props.mode,bt=this.state.switchingModeFromInline,Tt=this.getInlineCollapsed();return bt&&Tt?"inline":Tt?"vertical":dt}},{key:"getInlineCollapsed",value:function(){var dt=this.props,bt=dt.inlineCollapsed,Tt=dt.siderCollapsed;return Tt!==void 0?Tt:bt}},{key:"restoreModeVerticalFromInline",value:function(){var dt=this.state.switchingModeFromInline;dt&&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 dt=Object(o.a)({},Object(V.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),bt=this.getRealMenuMode();return dt.className+=" ".concat(dt.prefixCls,"-root"),dt.direction==="rtl"&&(dt.className+=" ".concat(dt.prefixCls,"-rtl")),dt=Object(o.a)(Object(o.a)({},dt),{},{mode:bt,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:xi(this.props,this.state,bt)}),delete dt.openAnimation,delete dt.openTransitionName,g.createElement(K.a,{store:this.store},g.createElement(Vn,Object(B.a)({},dt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(dt,bt){var Tt=bt.prevProps,Lt=bt.store,pt=Lt.getState(),Gt={},qt={prevProps:dt};return Tt.mode==="inline"&&dt.mode!=="inline"&&(qt.switchingModeFromInline=!0),"openKeys"in dt?Gt.openKeys=dt.openKeys||[]:((dt.inlineCollapsed&&!Tt.inlineCollapsed||dt.siderCollapsed&&!Tt.siderCollapsed)&&(qt.switchingModeFromInline=!0,qt.inlineOpenKeys=pt.openKeys,Gt.openKeys=[]),(!dt.inlineCollapsed&&Tt.inlineCollapsed||!dt.siderCollapsed&&Tt.siderCollapsed)&&(Gt.openKeys=bt.inlineOpenKeys,qt.inlineOpenKeys=[])),Object.keys(Gt).length&&Lt.setState(Gt),qt}}]),Cn}(g.Component);bn.defaultProps={selectable:!0,onClick:ae,onSelect:ae,onOpenChange:ae,onDeselect:ae,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:g.createElement("span",null,"\xB7\xB7\xB7")};var Pn=bn,jt=function(Ur){Object(A.a)(Cn,Ur);var sn=Object(y.a)(Cn);function Cn(){var Nt;return Object(u.a)(this,Cn),Nt=sn.apply(this,arguments),Nt.onKeyDown=function(dt){var bt=dt.keyCode;return bt===P.a.ENTER?(Nt.onClick(dt),!0):void 0},Nt.onMouseLeave=function(dt){var bt=Nt.props,Tt=bt.eventKey,Lt=bt.onItemHover,pt=bt.onMouseLeave;Lt({key:Tt,hover:!1}),pt({key:Tt,domEvent:dt})},Nt.onMouseEnter=function(dt){var bt=Nt.props,Tt=bt.eventKey,Lt=bt.onItemHover,pt=bt.onMouseEnter;Lt({key:Tt,hover:!0}),pt({key:Tt,domEvent:dt})},Nt.onClick=function(dt){var bt=Nt.props,Tt=bt.eventKey,Lt=bt.multiple,pt=bt.onClick,Gt=bt.onSelect,qt=bt.onDeselect,rr=bt.isSelected,mr={key:Tt,keyPath:[Tt],item:Object(H.a)(Nt),domEvent:dt};pt(mr),Lt?rr?qt(mr):Gt(mr):rr||Gt(mr)},Nt.saveNode=function(dt){Nt.node=dt},Nt}return Object(h.a)(Cn,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var dt=this.props;dt.onDestroy&&dt.onDestroy(dt.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 dt,bt=Object(o.a)({},this.props),Tt=t()(this.getPrefixCls(),bt.className,(dt={},Object(f.a)(dt,this.getActiveClassName(),!bt.disabled&&bt.active),Object(f.a)(dt,this.getSelectedClassName(),bt.isSelected),Object(f.a)(dt,this.getDisabledClassName(),bt.disabled),dt)),Lt=Object(o.a)(Object(o.a)({},bt.attribute),{},{title:typeof bt.title=="string"?bt.title:void 0,className:Tt,role:bt.role||"menuitem","aria-disabled":bt.disabled});bt.role==="option"?Lt=Object(o.a)(Object(o.a)({},Lt),{},{role:"option","aria-selected":bt.isSelected}):(bt.role===null||bt.role==="none")&&(Lt.role="none");var pt={onClick:bt.disabled?null:this.onClick,onMouseLeave:bt.disabled?null:this.onMouseLeave,onMouseEnter:bt.disabled?null:this.onMouseEnter},Gt=Object(o.a)({},bt.style);bt.mode==="inline"&&(bt.direction==="rtl"?Gt.paddingRight=bt.inlineIndent*bt.level:Gt.paddingLeft=bt.inlineIndent*bt.level),Ze.forEach(function(rr){return delete bt[rr]}),delete bt.direction;var qt=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(qt=g.createElement(this.props.itemIcon,this.props)),g.createElement("li",Object(B.a)({},Object(V.a)(bt,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Lt,pt,{style:Gt,ref:this.saveNode}),bt.children,qt)}}]),Cn}(g.Component);jt.isMenuItem=!0,jt.defaultProps={onSelect:ae,onMouseEnter:ae,onMouseLeave:ae,manualRef:ae};var At=Object(K.b)(function(Ur,sn){var Cn=Ur.activeKey,Nt=Ur.selectedKeys,dt=sn.eventKey,bt=sn.subMenuKey;return{active:Cn[bt]===dt,isSelected:Array.isArray(Nt)?Nt.indexOf(dt)!==-1:Nt===dt}})(jt),xe=At,we=function(Ur){Object(A.a)(Cn,Ur);var sn=Object(y.a)(Cn);function Cn(){var Nt;return Object(u.a)(this,Cn),Nt=sn.apply(this,arguments),Nt.renderInnerMenuItem=function(dt){var bt=Nt.props,Tt=bt.renderMenuItem,Lt=bt.index;return Tt(dt,Lt,Nt.props.subMenuKey)},Nt}return Object(h.a)(Cn,[{key:"render",value:function(){var dt=Object(B.a)({},this.props),bt=dt.className,Tt=bt===void 0?"":bt,Lt=dt.rootPrefixCls,pt="".concat(Lt,"-item-group-title"),Gt="".concat(Lt,"-item-group-list"),qt=dt.title,rr=dt.children;return Ze.forEach(function(mr){return delete dt[mr]}),delete dt.direction,g.createElement("li",Object(B.a)({},dt,{onClick:function(wn){return wn.stopPropagation()},className:"".concat(Tt," ").concat(Lt,"-item-group")}),g.createElement("div",{className:pt,title:typeof qt=="string"?qt:void 0},qt),g.createElement("ul",{className:Gt},g.Children.map(rr,this.renderInnerMenuItem)))}}]),Cn}(g.Component);we.isMenuItemGroup=!0,we.defaultProps={disabled:!0};var Ee=we,Ge=function(sn){var Cn=sn.className,Nt=sn.rootPrefixCls,dt=sn.style;return g.createElement("li",{className:"".concat(Cn," ").concat(Nt,"-item-divider"),style:dt})};Ge.defaultProps={disabled:!0,className:"",style:{}};var nt=Ge,st=Pn,Mt={adjustX:1,adjustY:1},wr=[0,0],Pr={topLeft:{points:["bl","tl"],overflow:Mt,offset:[0,-4],targetOffset:wr},topCenter:{points:["bc","tc"],overflow:Mt,offset:[0,-4],targetOffset:wr},topRight:{points:["br","tr"],overflow:Mt,offset:[0,-4],targetOffset:wr},bottomLeft:{points:["tl","bl"],overflow:Mt,offset:[0,4],targetOffset:wr},bottomCenter:{points:["tc","bc"],overflow:Mt,offset:[0,4],targetOffset:wr},bottomRight:{points:["tr","br"],overflow:Mt,offset:[0,4],targetOffset:wr}},qr=Pr,xt=P.a.ESC,rt=P.a.TAB;function it(Ur){var sn=Ur.visible,Cn=Ur.setTriggerVisible,Nt=Ur.triggerRef,dt=Ur.menuRef,bt=Ur.onVisibleChange,Tt=Ur.autoFocus,Lt=g.useRef(!1),pt=function(){if(sn&&Nt.current){var mr,wn,fn,Wn;(mr=Nt.current)===null||mr===void 0||((wn=mr.triggerRef)===null||wn===void 0||((fn=wn.current)===null||fn===void 0||((Wn=fn.focus)===null||Wn===void 0)))||Wn.call(fn),Cn(!1),typeof bt=="function"&&bt(!1)}},Gt=function(){var mr,wn;(mr=dt.current)===null||mr===void 0||((wn=mr.focus)===null||wn===void 0)||wn.call(mr),Lt.current=!0},qt=function(mr){var wn;switch(mr.keyCode){case xt:pt();break;case rt:!Lt.current&&((wn=dt.current)===null||wn===void 0?void 0:wn.focus)?(mr.preventDefault(),Gt()):pt();break}};g.useEffect(function(){return sn?(window.addEventListener("keydown",qt),Tt&&Object(kt.a)(Gt,3),function(){window.removeEventListener("keydown",qt),Lt.current=!1}):function(){Lt.current=!1}},[sn])}var $t=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function Dt(Ur,sn){var Cn=Ur.arrow,Nt=Cn===void 0?!1:Cn,dt=Ur.prefixCls,bt=dt===void 0?"rc-dropdown":dt,Tt=Ur.transitionName,Lt=Ur.animation,pt=Ur.align,Gt=Ur.placement,qt=Gt===void 0?"bottomLeft":Gt,rr=Ur.placements,mr=rr===void 0?qr:rr,wn=Ur.getPopupContainer,fn=Ur.showAction,Wn=Ur.hideAction,Yr=Ur.overlayClassName,Sr=Ur.overlayStyle,ln=Ur.visible,Tn=Ur.trigger,In=Tn===void 0?["hover"]:Tn,Un=Ur.autoFocus,ti=Object(c.a)(Ur,$t),li=g.useState(),si=Object(d.a)(li,2),ki=si[0],zi=si[1],Ri="visible"in Ur?ln:ki,Yi=g.useRef(null);g.useImperativeHandle(sn,function(){return Yi.current});var Zn=g.useRef(null),hn="".concat(bt,"-menu");it({visible:Ri,setTriggerVisible:zi,triggerRef:Yi,menuRef:Zn,onVisibleChange:Ur.onVisibleChange,autoFocus:Un});var mi=function(){var Kr=Ur.overlay,mn;return typeof Kr=="function"?mn=Kr():mn=Kr,mn},Hi=function(Kr){var mn=Ur.onOverlayClick,mt=mi().props;zi(!1),mn&&mn(Kr),mt.onClick&&mt.onClick(Kr)},Li=function(Kr){var mn=Ur.onVisibleChange;zi(Kr),typeof mn=="function"&&mn(Kr)},Bi=function(){var Kr,mn=mi(),mt=Object(x.a)(Zn,mn.ref),dr=(Kr={prefixCls:hn},Object(f.a)(Kr,"data-dropdown-inject",!0),Object(f.a)(Kr,"onClick",Hi),Object(f.a)(Kr,"ref",Object(x.c)(mn)?mt:void 0),Kr);return typeof mn.type=="string"&&(delete dr.prefixCls,delete dr["data-dropdown-inject"]),g.createElement(g.Fragment,null,Nt&&g.createElement("div",{className:"".concat(bt,"-arrow")}),g.cloneElement(mn,dr))},Ar=function(){var Kr=Ur.overlay;return typeof Kr=="function"?Bi:Bi()},ar=function(){var Kr=Ur.minOverlayWidthMatchTrigger,mn=Ur.alignPoint;return"minOverlayWidthMatchTrigger"in Ur?Kr:!mn},on=function(){var Kr=Ur.openClassName;return Kr!==void 0?Kr:"".concat(bt,"-open")},Qt=function(){var Kr=Ur.children,mn=Kr.props?Kr.props:{},mt=t()(mn.className,on());return Ri&&Kr?g.cloneElement(Kr,{className:mt}):Kr},gr=Wn;return!gr&&In.indexOf("contextMenu")!==-1&&(gr=["click"]),g.createElement(Bt.a,Object(o.a)(Object(o.a)({builtinPlacements:mr},ti),{},{prefixCls:bt,ref:Yi,popupClassName:t()(Yr,Object(f.a)({},"".concat(bt,"-show-arrow"),Nt)),popupStyle:Sr,action:In,showAction:fn,hideAction:gr||[],popupPlacement:qt,popupAlign:pt,popupTransitionName:Tt,popupAnimation:Lt,popupVisible:Ri,stretch:ar()?"minWidth":"",popup:Ar(),onPopupVisibleChange:Li,getPopupContainer:wn}),Qt())}var St=g.forwardRef(Dt),Ut=St;function vt(Ur,sn){var Cn=Ur.prefixCls,Nt=Ur.editable,dt=Ur.locale,bt=Ur.style;return!Nt||Nt.showAdd===!1?null:g.createElement("button",{ref:sn,type:"button",className:"".concat(Cn,"-nav-add"),style:bt,"aria-label":(dt==null?void 0:dt.addAriaLabel)||"Add tab",onClick:function(Lt){Nt.onEdit("add",{event:Lt})}},Nt.addIcon||"+")}var Pt=g.forwardRef(vt);function br(Ur,sn){var Cn=Ur.prefixCls,Nt=Ur.id,dt=Ur.tabs,bt=Ur.locale,Tt=Ur.mobile,Lt=Ur.moreIcon,pt=Lt===void 0?"More":Lt,Gt=Ur.moreTransitionName,qt=Ur.style,rr=Ur.className,mr=Ur.editable,wn=Ur.tabBarGutter,fn=Ur.rtl,Wn=Ur.onTabClick,Yr=Object(g.useState)(!1),Sr=Object(d.a)(Yr,2),ln=Sr[0],Tn=Sr[1],In=Object(g.useState)(null),Un=Object(d.a)(In,2),ti=Un[0],li=Un[1],si="".concat(Nt,"-more-popup"),ki="".concat(Cn,"-dropdown"),zi=ti!==null?"".concat(si,"-").concat(ti):null,Ri=bt==null?void 0:bt.dropdownAriaLabel,Yi=g.createElement(st,{onClick:function(Ar){var ar=Ar.key,on=Ar.domEvent;Wn(ar,on),Tn(!1)},id:si,tabIndex:-1,role:"listbox","aria-activedescendant":zi,selectedKeys:[ti],"aria-label":Ri!==void 0?Ri:"expanded dropdown"},dt.map(function(Bi){return g.createElement(xe,{key:Bi.key,id:"".concat(si,"-").concat(Bi.key),role:"option","aria-controls":Nt&&"".concat(Nt,"-panel-").concat(Bi.key),disabled:Bi.disabled},Bi.tab)}));function Zn(Bi){for(var Ar=dt.filter(function(Or){return!Or.disabled}),ar=Ar.findIndex(function(Or){return Or.key===ti})||0,on=Ar.length,Qt=0;Qt<on;Qt+=1){ar=(ar+Bi+on)%on;var gr=Ar[ar];if(!gr.disabled){li(gr.key);return}}}function hn(Bi){var Ar=Bi.which;if(!ln){[P.a.DOWN,P.a.SPACE,P.a.ENTER].includes(Ar)&&(Tn(!0),Bi.preventDefault());return}switch(Ar){case P.a.UP:Zn(-1),Bi.preventDefault();break;case P.a.DOWN:Zn(1),Bi.preventDefault();break;case P.a.ESC:Tn(!1);break;case P.a.SPACE:case P.a.ENTER:ti!==null&&Wn(ti,Bi);break}}Object(g.useEffect)(function(){var Bi=document.getElementById(zi);Bi&&Bi.scrollIntoView&&Bi.scrollIntoView(!1)},[ti]),Object(g.useEffect)(function(){ln||li(null)},[ln]);var mi=Object(f.a)({},fn?"marginLeft":"marginRight",wn);dt.length||(mi.visibility="hidden",mi.order=1);var Hi=t()(Object(f.a)({},"".concat(ki,"-rtl"),fn)),Li=Tt?null:g.createElement(Ut,{prefixCls:ki,overlay:Yi,trigger:["hover"],visible:ln,transitionName:Gt,onVisibleChange:Tn,overlayClassName:Hi,mouseEnterDelay:.1,mouseLeaveDelay:.1},g.createElement("button",{type:"button",className:"".concat(Cn,"-nav-more"),style:mi,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":si,id:"".concat(Nt,"-more"),"aria-expanded":ln,onKeyDown:hn},pt));return g.createElement("div",{className:t()("".concat(Cn,"-nav-operations"),rr),style:qt,ref:sn},Li,g.createElement(Pt,{prefixCls:Cn,locale:bt,editable:mr}))}var ur=g.forwardRef(br),fr=Object(g.createContext)(null),Jr=.1,Zr=.01,Fn=20,Rn=Math.pow(.995,Fn);function ei(){var Ur=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(Ur)||/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(Ur.substr(0,4)))}function di(Ur,sn){var Cn=Object(g.useState)(),Nt=Object(d.a)(Cn,2),dt=Nt[0],bt=Nt[1],Tt=Object(g.useState)(0),Lt=Object(d.a)(Tt,2),pt=Lt[0],Gt=Lt[1],qt=Object(g.useState)(0),rr=Object(d.a)(qt,2),mr=rr[0],wn=rr[1],fn=Object(g.useState)(),Wn=Object(d.a)(fn,2),Yr=Wn[0],Sr=Wn[1],ln=Object(g.useRef)();function Tn(Ri){var Yi=Ri.touches[0],Zn=Yi.screenX,hn=Yi.screenY;bt({x:Zn,y:hn}),window.clearInterval(ln.current)}function In(Ri){if(!dt)return;Ri.preventDefault();var Yi=Ri.touches[0],Zn=Yi.screenX,hn=Yi.screenY;bt({x:Zn,y:hn});var mi=Zn-dt.x,Hi=hn-dt.y;sn(mi,Hi);var Li=Date.now();Gt(Li),wn(Li-pt),Sr({x:mi,y:Hi})}function Un(){if(!dt)return;if(bt(null),Sr(null),Yr){var Ri=Yr.x/mr,Yi=Yr.y/mr,Zn=Math.abs(Ri),hn=Math.abs(Yi);if(Math.max(Zn,hn)<Jr)return;var mi=Ri,Hi=Yi;ln.current=window.setInterval(function(){if(Math.abs(mi)<Zr&&Math.abs(Hi)<Zr){window.clearInterval(ln.current);return}mi*=Rn,Hi*=Rn,sn(mi*Fn,Hi*Fn)},Fn)}}var ti=Object(g.useRef)(0),li=Object(g.useRef)(!1),si=Object(g.useRef)();function ki(Ri){var Yi=Ri.deltaX,Zn=Ri.deltaY,hn=0,mi=Math.abs(Yi),Hi=Math.abs(Zn);mi===Hi?hn=si.current==="x"?Yi:Zn:mi>Hi?(hn=Yi,si.current="x"):(hn=Zn,si.current="y");var Li=Date.now();Li-ti.current>100&&(li.current=!1),(sn(-hn,-hn)||li.current)&&(Ri.preventDefault(),li.current=!0),ti.current=Li}var zi=Object(g.useRef)(null);zi.current={onTouchStart:Tn,onTouchMove:In,onTouchEnd:Un,onWheel:ki},g.useEffect(function(){function Ri(mi){zi.current.onTouchStart(mi)}function Yi(mi){zi.current.onTouchMove(mi)}function Zn(mi){zi.current.onTouchEnd(mi)}function hn(mi){zi.current.onWheel(mi)}return document.addEventListener("touchmove",Yi,{passive:!1}),document.addEventListener("touchend",Zn,{passive:!1}),Ur.current.addEventListener("touchstart",Ri,{passive:!1}),Ur.current.addEventListener("wheel",hn),function(){document.removeEventListener("touchmove",Yi),document.removeEventListener("touchend",Zn)}},[])}function gi(){var Ur=Object(g.useRef)(new Map);function sn(Nt){return Ur.current.has(Nt)||Ur.current.set(Nt,g.createRef()),Ur.current.get(Nt)}function Cn(Nt){Ur.current.delete(Nt)}return[sn,Cn]}function Ii(Ur,sn){var Cn=g.useRef(Ur),Nt=g.useState({}),dt=Object(d.a)(Nt,2),bt=dt[1];function Tt(Lt){var pt=typeof Lt=="function"?Lt(Cn.current):Lt;pt!==Cn.current&&sn(pt,Cn.current),Cn.current=pt,bt({})}return[Cn.current,Tt]}var Ye=function(sn){var Cn=sn.position,Nt=sn.prefixCls,dt=sn.extra;if(!dt)return null;var bt,Tt=dt;return Cn==="right"&&(bt=Tt.right||!Tt.left&&Tt||null),Cn==="left"&&(bt=Tt.left||null),bt?g.createElement("div",{className:"".concat(Nt,"-extra-content")},bt):null};function ge(Ur,sn){var Cn,Nt=g.useContext(fr),dt=Nt.prefixCls,bt=Nt.tabs,Tt=Ur.className,Lt=Ur.style,pt=Ur.id,Gt=Ur.animated,qt=Ur.activeKey,rr=Ur.rtl,mr=Ur.extra,wn=Ur.editable,fn=Ur.locale,Wn=Ur.tabPosition,Yr=Ur.tabBarGutter,Sr=Ur.children,ln=Ur.onTabClick,Tn=Ur.onTabScroll,In=Object(g.useRef)(),Un=Object(g.useRef)(),ti=Object(g.useRef)(),li=Object(g.useRef)(),si=gi(),ki=Object(d.a)(si,2),zi=ki[0],Ri=ki[1],Yi=Wn==="top"||Wn==="bottom",Zn=Ii(0,function(jn,Hn){Yi&&Tn&&Tn({direction:jn>Hn?"left":"right"})}),hn=Object(d.a)(Zn,2),mi=hn[0],Hi=hn[1],Li=Ii(0,function(jn,Hn){!Yi&&Tn&&Tn({direction:jn>Hn?"top":"bottom"})}),Bi=Object(d.a)(Li,2),Ar=Bi[0],ar=Bi[1],on=Object(g.useState)(0),Qt=Object(d.a)(on,2),gr=Qt[0],Or=Qt[1],Kr=Object(g.useState)(0),mn=Object(d.a)(Kr,2),mt=mn[0],dr=mn[1],pr=Object(g.useState)(0),kr=Object(d.a)(pr,2),nn=kr[0],un=kr[1],en=Object(g.useState)(0),Ln=Object(d.a)(en,2),xn=Ln[0],Gn=Ln[1],ui=Object(g.useState)(null),Jn=Object(d.a)(ui,2),pi=Jn[0],wi=Jn[1],Ni=Object(g.useState)(null),Si=Object(d.a)(Ni,2),vi=Si[0],Ai=Si[1],Ci=Object(g.useState)(0),Ui=Object(d.a)(Ci,2),$i=Ui[0],Di=Ui[1],ua=Object(g.useState)(0),aa=Object(d.a)(ua,2),Xi=aa[0],Vi=aa[1],ta=L(new Map),Gi=Object(d.a)(ta,2),ga=Gi[0],ra=Gi[1],pa=z(bt,ga,gr),_a="".concat(dt,"-nav-operations-hidden"),Da=0,Ra=0;Yi?rr?(Da=0,Ra=Math.max(0,gr-pi)):(Da=Math.min(0,pi-gr),Ra=0):(Da=Math.min(0,vi-mt),Ra=0);function vo(jn){return jn<Da?[Da,!1]:jn>Ra?[Ra,!1]:[jn,!0]}var ja=Object(g.useRef)(),Ya=Object(g.useState)(),Ia=Object(d.a)(Ya,2),Va=Ia[0],co=Ia[1];function Ta(){co(Date.now())}function yo(){window.clearTimeout(ja.current)}di(In,function(jn,Hn){var Bn=!1;function ri(Yn,ii){Yn(function(ai){var Pi=vo(ai+ii),yi=Object(d.a)(Pi,2),Ki=yi[0],va=yi[1];return Bn=va,Ki})}if(Yi){if(pi>=gr)return Bn;ri(Hi,jn)}else{if(vi>=mt)return Bn;ri(ar,Hn)}return yo(),Ta(),Bn}),Object(g.useEffect)(function(){return yo(),Va&&(ja.current=window.setTimeout(function(){co(0)},100)),yo},[Va]);function uo(){var jn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qt,Hn=pa.get(jn);if(!Hn)return;if(Yi){var Bn=mi;rr?Hn.right<mi?Bn=Hn.right:Hn.right+Hn.width>mi+pi&&(Bn=Hn.right+Hn.width-pi):Hn.left<-mi?Bn=-Hn.left:Hn.left+Hn.width>-mi+pi&&(Bn=-(Hn.left+Hn.width-pi)),ar(0),Hi(vo(Bn)[0])}else{var ri=Ar;Hn.top<-Ar?ri=-Hn.top:Hn.top+Hn.height>-Ar+vi&&(ri=-(Hn.top+Hn.height-vi)),Hi(0),ar(vo(ri)[0])}}var Xa=U(pa,{width:pi,height:vi,left:mi,top:Ar},{width:nn,height:xn},{width:$i,height:Xi},Object(o.a)(Object(o.a)({},Ur),{},{tabs:bt})),Oo=Object(d.a)(Xa,2),oa=Oo[0],qa=Oo[1],oo=bt.map(function(jn){var Hn=jn.key;return g.createElement(F,{id:pt,prefixCls:dt,key:Hn,rtl:rr,tab:jn,closable:jn.closable,editable:wn,active:Hn===qt,tabPosition:Wn,tabBarGutter:Yr,renderWrapper:Sr,removeAriaLabel:fn==null?void 0:fn.removeAriaLabel,ref:zi(Hn),onClick:function(ri){ln(Hn,ri)},onRemove:function(){Ri(Hn)},onFocus:function(){uo(Hn),Ta(),rr||(In.current.scrollLeft=0),In.current.scrollTop=0}})}),Ro=_(function(){var jn,Hn,Bn,ri,Yn,ii,ai,Pi,yi,Ki=((jn=In.current)===null||jn===void 0?void 0:jn.offsetWidth)||0,va=((Hn=In.current)===null||Hn===void 0?void 0:Hn.offsetHeight)||0,ea=((Bn=li.current)===null||Bn===void 0?void 0:Bn.offsetWidth)||0,Ji=((ri=li.current)===null||ri===void 0?void 0:ri.offsetHeight)||0,sa=((Yn=ti.current)===null||Yn===void 0?void 0:Yn.offsetWidth)||0,fa=((ii=ti.current)===null||ii===void 0?void 0:ii.offsetHeight)||0;wi(Ki),Ai(va),Di(ea),Vi(Ji);var xo=(((ai=Un.current)===null||ai===void 0?void 0:ai.offsetWidth)||0)-ea,Qa=(((Pi=Un.current)===null||Pi===void 0?void 0:Pi.offsetHeight)||0)-Ji;Or(xo),dr(Qa);var Wi=(yi=ti.current)===null||yi===void 0?void 0:yi.className.includes(_a);un(xo-(Wi?0:sa)),Gn(Qa-(Wi?0:fa)),ra(function(){var qi=new Map;return bt.forEach(function(ca){var ma=ca.key,Pa=zi(ma).current;Pa&&qi.set(ma,{width:Pa.offsetWidth,height:Pa.offsetHeight,left:Pa.offsetLeft,top:Pa.offsetTop})}),qi})}),Ga=bt.slice(0,oa),_o=bt.slice(qa+1),go=[].concat(Object(l.a)(Ga),Object(l.a)(_o)),Ja=Object(g.useState)(),Fa=Object(d.a)(Ja,2),ha=Fa[0],tt=Fa[1],lr=pa.get(qt),Mr=Object(g.useRef)();function Ir(){s.a.cancel(Mr.current)}Object(g.useEffect)(function(){var jn={};return lr&&(Yi?(rr?jn.right=lr.right:jn.left=lr.left,jn.width=lr.width):(jn.top=lr.top,jn.height=lr.height)),Ir(),Mr.current=s()(function(){tt(jn)}),Ir},[lr,Yi,rr]),Object(g.useEffect)(function(){uo()},[qt,lr,pa,Yi]),Object(g.useEffect)(function(){Ro()},[rr,Yr,qt,bt.map(function(jn){return jn.key}).join("_")]);var _n=!!go.length,Vr="".concat(dt,"-nav-wrap"),_r,Mn,Br,Sn;return Yi?rr?(Mn=mi>0,_r=mi+pi<gr):(_r=mi<0,Mn=-mi+pi<gr):(Br=Ar<0,Sn=-Ar+vi<mt),g.createElement("div",{ref:sn,role:"tablist",className:t()("".concat(dt,"-nav"),Tt),style:Lt,onKeyDown:function(){Ta()}},g.createElement(Ye,{position:"left",extra:mr,prefixCls:dt}),g.createElement(C,{onResize:Ro},g.createElement("div",{className:t()(Vr,(Cn={},Object(f.a)(Cn,"".concat(Vr,"-ping-left"),_r),Object(f.a)(Cn,"".concat(Vr,"-ping-right"),Mn),Object(f.a)(Cn,"".concat(Vr,"-ping-top"),Br),Object(f.a)(Cn,"".concat(Vr,"-ping-bottom"),Sn),Cn)),ref:In},g.createElement(C,{onResize:Ro},g.createElement("div",{ref:Un,className:"".concat(dt,"-nav-list"),style:{transform:"translate(".concat(mi,"px, ").concat(Ar,"px)"),transition:Va?"none":void 0}},oo,g.createElement(Pt,{ref:li,prefixCls:dt,locale:fn,editable:wn,style:{visibility:_n?"hidden":null}}),g.createElement("div",{className:t()("".concat(dt,"-ink-bar"),Object(f.a)({},"".concat(dt,"-ink-bar-animated"),Gt.inkBar)),style:ha}))))),g.createElement(ur,Object.assign({},Ur,{ref:ti,prefixCls:dt,tabs:go,className:!_n&&_a})),g.createElement(Ye,{position:"right",extra:mr,prefixCls:dt}))}var Ie=g.forwardRef(ge);function Fe(Ur){var sn=Ur.id,Cn=Ur.activeKey,Nt=Ur.animated,dt=Ur.tabPosition,bt=Ur.rtl,Tt=Ur.destroyInactiveTabPane,Lt=g.useContext(fr),pt=Lt.prefixCls,Gt=Lt.tabs,qt=Nt.tabPane,rr=Gt.findIndex(function(mr){return mr.key===Cn});return g.createElement("div",{className:t()("".concat(pt,"-content-holder"))},g.createElement("div",{className:t()("".concat(pt,"-content"),"".concat(pt,"-content-").concat(dt),Object(f.a)({},"".concat(pt,"-content-animated"),qt)),style:rr&&qt?Object(f.a)({},bt?"marginRight":"marginLeft","-".concat(rr,"00%")):null},Gt.map(function(mr){return g.cloneElement(mr.node,{key:mr.key,prefixCls:pt,tabKey:mr.key,id:sn,animated:qt,active:mr.key===Cn,destroyInactiveTabPane:Tt})})))}function Ve(Ur){var sn=Ur.prefixCls,Cn=Ur.forceRender,Nt=Ur.className,dt=Ur.style,bt=Ur.id,Tt=Ur.active,Lt=Ur.animated,pt=Ur.destroyInactiveTabPane,Gt=Ur.tabKey,qt=Ur.children,rr=g.useState(Cn),mr=Object(d.a)(rr,2),wn=mr[0],fn=mr[1];g.useEffect(function(){Tt?fn(!0):pt&&fn(!1)},[Tt,pt]);var Wn={};return Tt||(Lt?(Wn.visibility="hidden",Wn.height=0,Wn.overflowY="hidden"):Wn.display="none"),g.createElement("div",{id:bt&&"".concat(bt,"-panel-").concat(Gt),role:"tabpanel",tabIndex:Tt?0:-1,"aria-labelledby":bt&&"".concat(bt,"-tab-").concat(Gt),"aria-hidden":!Tt,style:Object(o.a)(Object(o.a)({},Wn),dt),className:t()("".concat(sn,"-tabpane"),Tt&&"".concat(sn,"-tabpane-active"),Nt)},(Tt||wn||Cn)&&qt)}var We=0;function Qe(Ur){return Object(a.a)(Ur).map(function(sn){if(g.isValidElement(sn)){var Cn=sn.key!==void 0?String(sn.key):void 0;return Object(o.a)(Object(o.a)({key:Cn},sn.props),{},{node:sn})}return null}).filter(function(sn){return sn})}function yt(Ur,sn){var Cn,Nt=Ur.id,dt=Ur.prefixCls,bt=dt===void 0?"rc-tabs":dt,Tt=Ur.className,Lt=Ur.children,pt=Ur.direction,Gt=Ur.activeKey,qt=Ur.defaultActiveKey,rr=Ur.editable,mr=Ur.animated,wn=Ur.tabPosition,fn=wn===void 0?"top":wn,Wn=Ur.tabBarGutter,Yr=Ur.tabBarStyle,Sr=Ur.tabBarExtraContent,ln=Ur.locale,Tn=Ur.moreIcon,In=Ur.moreTransitionName,Un=Ur.destroyInactiveTabPane,ti=Ur.renderTabBar,li=Ur.onChange,si=Ur.onTabClick,ki=Ur.onTabScroll,zi=Object(c.a)(Ur,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Ri=Qe(Lt),Yi=pt==="rtl",Zn;mr===!1?Zn={inkBar:!1,tabPane:!1}:Zn=Object(o.a)({inkBar:!0,tabPane:!1},mr!==!0?mr:null);var hn=Object(g.useState)(!1),mi=Object(d.a)(hn,2),Hi=mi[0],Li=mi[1];Object(g.useEffect)(function(){Li(ei())},[]);var Bi=Object(e.a)(function(){var xn;return(xn=Ri[0])===null||xn===void 0?void 0:xn.key},{value:Gt,defaultValue:qt}),Ar=Object(d.a)(Bi,2),ar=Ar[0],on=Ar[1],Qt=Object(g.useState)(function(){return Ri.findIndex(function(xn){return xn.key===ar})}),gr=Object(d.a)(Qt,2),Or=gr[0],Kr=gr[1];Object(g.useEffect)(function(){var xn=Ri.findIndex(function(ui){return ui.key===ar});if(xn===-1){var Gn;xn=Math.max(0,Math.min(Or,Ri.length-1)),on((Gn=Ri[xn])===null||Gn===void 0?void 0:Gn.key)}Kr(xn)},[Ri.map(function(xn){return xn.key}).join("_"),ar,Or]);var mn=Object(e.a)(null,{value:Nt}),mt=Object(d.a)(mn,2),dr=mt[0],pr=mt[1],kr=fn;Hi&&!["left","right"].includes(fn)&&(kr="top"),Object(g.useEffect)(function(){Nt||(pr("rc-tabs-".concat(We)),We+=1)},[]);function nn(xn,Gn){si==null||si(xn,Gn),on(xn),li==null||li(xn)}var un={id:dr,activeKey:ar,animated:Zn,tabPosition:kr,rtl:Yi,mobile:Hi},en,Ln=Object(o.a)(Object(o.a)({},un),{},{editable:rr,locale:ln,moreIcon:Tn,moreTransitionName:In,tabBarGutter:Wn,onTabClick:nn,onTabScroll:ki,extra:Sr,style:Yr,panes:Lt});return ti?en=ti(Ln,Ie):en=g.createElement(Ie,Object.assign({},Ln)),g.createElement(fr.Provider,{value:{tabs:Ri,prefixCls:bt}},g.createElement("div",Object.assign({ref:sn,id:Nt,className:t()(bt,"".concat(bt,"-").concat(kr),(Cn={},Object(f.a)(Cn,"".concat(bt,"-mobile"),Hi),Object(f.a)(Cn,"".concat(bt,"-editable"),rr),Object(f.a)(Cn,"".concat(bt,"-rtl"),Yi),Cn),Tt)},zi),en,g.createElement(Fe,Object.assign({destroyInactiveTabPane:Un},un,{animated:Zn}))))}var ot=g.forwardRef(yt);ot.TabPane=Ve;var Zt=ot,Rr=Zt,Lr=n("cCPh"),Gr=n.n(Lr),er=n("fNCr"),On=n.n(er),yr=n("V/uB"),gn=n.n(yr),tn=n("uaoM"),Fr=n("H84U"),Xn=function(Ur,sn){var Cn={};for(var Nt in Ur)Object.prototype.hasOwnProperty.call(Ur,Nt)&&sn.indexOf(Nt)<0&&(Cn[Nt]=Ur[Nt]);if(Ur!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Nt=Object.getOwnPropertySymbols(Ur);dt<Nt.length;dt++)sn.indexOf(Nt[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ur,Nt[dt])&&(Cn[Nt[dt]]=Ur[Nt[dt]]);return Cn};function hi(Ur){var sn,Cn=Ur.type,Nt=Ur.className,dt=Ur.size,bt=Ur.onEdit,Tt=Ur.hideAdd,Lt=Ur.centered,pt=Ur.addIcon,Gt=Xn(Ur,["type","className","size","onEdit","hideAdd","centered","addIcon"]),qt=Gt.prefixCls,rr=g.useContext(Fr.b),mr=rr.getPrefixCls,wn=rr.direction,fn=mr("tabs",qt),Wn;return Cn==="editable-card"&&(Wn={onEdit:function(Sr,ln){var Tn=ln.key,In=ln.event;bt==null||bt(Sr==="add"?In:Tn,Sr)},removeIcon:g.createElement(gn.a,null),addIcon:pt||g.createElement(On.a,null),showAdd:Tt!==!0}),Object(tn.a)(!("onPrevClick"in Gt)&&!("onNextClick"in Gt),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),g.createElement(Rr,p()({direction:wn},Gt,{moreTransitionName:"slide-up",className:t()(Nt,(sn={},m()(sn,"".concat(fn,"-").concat(dt),dt),m()(sn,"".concat(fn,"-card"),["card","editable-card"].includes(Cn)),m()(sn,"".concat(fn,"-editable-card"),Cn==="editable-card"),m()(sn,"".concat(fn,"-centered"),Lt),sn)),editable:Wn,moreIcon:g.createElement(Gr.a,null),prefixCls:fn}))}hi.TabPane=Ve;var _i=N.a=hi},ZTW2:function(M,N,n){},ZWlE:function(M,N,n){var v=n("bYtY"),p=n("4NO4");function S(f){m(f),g(f)}function m(f){if(f.parallel)return;var d=!1;v.each(f.series,function(c){c&&c.type==="parallel"&&(d=!0)}),d&&(f.parallel=[{}])}function g(f){var d=p.normalizeToArray(f.parallelAxis);v.each(d,function(c){if(!v.isObject(c))return;var o=c.parallelIndex||0,i=p.normalizeToArray(f.parallel)[o];i&&i.parallelAxisDefault&&v.merge(c,i.parallelAxisDefault,!1)})}M.exports=S},ZX9x:function(M,N,n){"use strict";n.d(N,"a",function(){return L}),n.d(N,"b",function(){return F});var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("7W2i"),i=n.n(o),t=n("LQ03"),a=n.n(t),e=n("q1tI"),l=n("TSYQ"),r=n.n(l),s=n("BGR+"),u=n("T1rO"),h=n.n(u),A=n("fEPi"),y=n.n(A),w=n("DFhj"),b=n.n(w),x=n("PKem"),O=n("H84U"),T=function(z){return!isNaN(parseFloat(z))&&isFinite(z)},E=T,C=function(j,z){var R={};for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&z.indexOf(U)<0&&(R[U]=j[U]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,U=Object.getOwnPropertySymbols(j);B<U.length;B++)z.indexOf(U[B])<0&&Object.prototype.propertyIsEnumerable.call(j,U[B])&&(R[U[B]]=j[U[B]]);return R},_={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},L=e.createContext({}),P=function(){var j=0;return function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return j+=1,"".concat(z).concat(j)}}(),k=function(j){i()(R,j);var z=a()(R);function R(U){var B;f()(this,R),B=z.call(this,U),B.responsiveHandler=function(V){B.setState({below:V.matches});var W=B.props.onBreakpoint,G=B.state.collapsed;W&&W(V.matches),G!==V.matches&&B.setCollapsed(V.matches,"responsive")},B.setCollapsed=function(V,W){"collapsed"in B.props||B.setState({collapsed:V});var G=B.props.onCollapse;G&&G(V,W)},B.toggle=function(){var V=!B.state.collapsed;B.setCollapsed(V,"clickTrigger")},B.renderSider=function(V){var W,G=V.getPrefixCls,re=B.props,ye=re.prefixCls,$=re.className,ve=re.theme,Ce=re.collapsible,Se=re.reverseArrow,Ke=re.trigger,ue=re.style,Le=re.width,ee=re.collapsedWidth,le=re.zeroWidthTriggerStyle,et=re.children,Re=C(re,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Ae=B.state,oe=Ae.collapsed,ce=Ae.below,be=G("layout-sider",ye),Te=Object(s.default)(Re,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Be=oe?ee:Le,De=E(Be)?"".concat(Be,"px"):String(Be),ae=parseFloat(String(ee||0))===0?e.createElement("span",{onClick:B.toggle,className:r()("".concat(be,"-zero-width-trigger"),"".concat(be,"-zero-width-trigger-").concat(Se?"right":"left")),style:le},Ke||e.createElement(h.a,null)):null,fe={expanded:Se?e.createElement(y.a,null):e.createElement(b.a,null),collapsed:Se?e.createElement(b.a,null):e.createElement(y.a,null)},Oe=oe?"collapsed":"expanded",Je=fe[Oe],Et=Ke!==null?ae||e.createElement("div",{className:"".concat(be,"-trigger"),onClick:B.toggle,style:{width:De}},Ke||Je):null,Ze=m()(m()({},ue),{flex:"0 0 ".concat(De),maxWidth:De,minWidth:De,width:De}),Ne=r()($,be,"".concat(be,"-").concat(ve),(W={},p()(W,"".concat(be,"-collapsed"),!!oe),p()(W,"".concat(be,"-has-trigger"),Ce&&Ke!==null&&!ae),p()(W,"".concat(be,"-below"),!!ce),p()(W,"".concat(be,"-zero-width"),parseFloat(De)===0),W));return e.createElement("aside",m()({className:Ne},Te,{style:Ze}),e.createElement("div",{className:"".concat(be,"-children")},et),Ce||ce&&ae?Et:null)},B.uniqueId=P("ant-sider-");var H;typeof window!="undefined"&&(H=window.matchMedia),H&&U.breakpoint&&U.breakpoint in _&&(B.mql=H("(max-width: ".concat(_[U.breakpoint],")")));var K;return"collapsed"in U?K=U.collapsed:K=U.defaultCollapsed,B.state={collapsed:K,below:!1},B}return c()(R,[{key:"componentDidMount",value:function(){var B;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(B=this.props)===null||B===void 0||B.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var B,H;(B=this===null||this===void 0?void 0:this.mql)===null||B===void 0||B.removeListener(this.responsiveHandler),(H=this.props)===null||H===void 0||H.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var B=this.state.collapsed,H=this.props.collapsedWidth;return e.createElement(L.Provider,{value:{siderCollapsed:B,collapsedWidth:H}},e.createElement(O.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(B){return"collapsed"in B?{collapsed:B.collapsed}:null}}]),R}(e.Component);k.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var F=function(j){i()(R,j);var z=a()(R);function R(){return f()(this,R),z.apply(this,arguments)}return c()(R,[{key:"render",value:function(){var B=this;return e.createElement(x.a.Consumer,null,function(H){return e.createElement(k,m()({},H,B.props))})}}]),R}(e.Component)},ZYIC:function(M,N,n){var v=n("zM3Q"),p={seriesType:"lines",plan:v(),reset:function(S){var m=S.coordinateSystem,g=S.get("polyline"),f=S.pipelineContext.large;function d(c,o){var i=[];if(f){var t,a=c.end-c.start;if(g){for(var e=0,l=c.start;l<c.end;l++)e+=S.getLineCoordsCount(l);t=new Float32Array(a+e*2)}else t=new Float32Array(a*4);for(var r=0,s=[],l=c.start;l<c.end;l++){var u=S.getLineCoords(l,i);g&&(t[r++]=u);for(var h=0;h<u;h++)s=m.dataToPoint(i[h],!1,s),t[r++]=s[0],t[r++]=s[1]}o.setLayout("linesPoints",t)}else for(var l=c.start;l<c.end;l++){var A=o.getItemModel(l),u=S.getLineCoords(l,i),y=[];if(g)for(var w=0;w<u;w++)y.push(m.dataToPoint(i[w]));else{y[0]=m.dataToPoint(i[0]),y[1]=m.dataToPoint(i[1]);var b=A.get("lineStyle.curveness");+b&&(y[2]=[(y[0][0]+y[1][0])/2-(y[0][1]-y[1][1])*b,(y[0][1]+y[1][1])/2-(y[1][0]-y[0][0])*b])}o.setItemLayout(l,y)}}return{progress:d}}};M.exports=p},Ze12:function(M,N,n){var v=n("ItGF"),p=n("hOwI"),S=p.buildTransformer,m="___zrEVENTSAVED",g=[];function f(t,a,e,l,r){return d(g,a,l,r,!0)&&d(t,e,g[0],g[1])}function d(t,a,e,l,r){if(a.getBoundingClientRect&&v.domSupported&&!i(a)){var s=a[m]||(a[m]={}),u=c(a,s),h=o(u,s,r);if(h)return h(t,e,l),!0}return!1}function c(t,a){var e=a.markers;if(e)return e;e=a.markers=[];for(var l=["left","right"],r=["top","bottom"],s=0;s<4;s++){var u=document.createElement("div"),h=u.style,A=s%2,y=(s>>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[A]+":0",r[y]+":0",l[1-A]+":auto",r[1-y]+":auto",""].join("!important;"),t.appendChild(u),e.push(u)}return e}function o(t,a,e){for(var l=e?"invTrans":"trans",r=a[l],s=a.srcCoords,u=!0,h=[],A=[],y=0;y<4;y++){var w=t[y].getBoundingClientRect(),b=2*y,x=w.left,O=w.top;h.push(x,O),u=u&&s&&x===s[b]&&O===s[b+1],A.push(t[y].offsetLeft,t[y].offsetTop)}return u&&r?r:(a.srcCoords=h,a[l]=e?S(A,h):S(h,A))}function i(t){return t.nodeName.toUpperCase()==="CANVAS"}N.transformLocalCoord=f,N.transformCoordWithViewport=d,N.isCanvasEl=i},Znkb:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("zTMp"),g=S.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(i,t,a,e){this.axisPointerClass&&m.fixValue(i),g.superApply(this,"render",arguments),f(this,i,t,a,e,!0)},updateAxisPointer:function(i,t,a,e,l){f(this,i,t,a,e,!1)},remove:function(i,t){var a=this._axisPointer;a&&a.remove(t),g.superApply(this,"remove",arguments)},dispose:function(i,t){d(this,t),g.superApply(this,"dispose",arguments)}});function f(i,t,a,e,l,r){var s=g.getAxisPointerClass(i.axisPointerClass);if(!s)return;var u=m.getAxisPointerModel(t);u?(i._axisPointer||(i._axisPointer=new s)).render(t,u,e,r):d(i,e)}function d(i,t,a){var e=i._axisPointer;e&&e.dispose(t,a),i._axisPointer=null}var c=[];g.registerAxisPointerClass=function(i,t){c[i]=t},g.getAxisPointerClass=function(i){return i&&c[i]};var o=g;M.exports=o},"Znn+":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("9ama"),m=n.n(S)},ZqQs:function(M,N,n){var v=n("bYtY");function p(f){var d=f&&f.timeline;v.isArray(d)||(d=d?[d]:[]),v.each(d,function(c){if(!c)return;S(c)})}function S(f){var d=f.type,c={number:"value",time:"time"};if(c[d]&&(f.axisType=c[d],delete f.type),m(f),g(f,"controlPosition")){var o=f.controlStyle||(f.controlStyle={});g(o,"position")||(o.position=f.controlPosition),o.position==="none"&&!g(o,"show")&&(o.show=!1,delete o.position),delete f.controlPosition}v.each(f.data||[],function(i){v.isObject(i)&&!v.isArray(i)&&(!g(i,"value")&&g(i,"name")&&(i.value=i.name),m(i))})}function m(f){var d=f.itemStyle||(f.itemStyle={}),c=d.emphasis||(d.emphasis={}),o=f.label||f.label||{},i=o.normal||(o.normal={}),t={normal:1,emphasis:1};v.each(o,function(a,e){!t[e]&&!g(i,e)&&(i[e]=a)}),c.label&&!g(o,"emphasis")&&(o.emphasis=c.label,delete c.label)}function g(f,d){return f.hasOwnProperty(d)}M.exports=p},Zss7:function(M,N,n){var v;(function(p){var S=/^\s+/,m=/\s+$/,g=0,f=p.round,d=p.min,c=p.max,o=p.random;function i(ue,Le){if(ue=ue||"",Le=Le||{},ue instanceof i)return ue;if(!(this instanceof i))return new i(ue,Le);var ee=t(ue);this._originalInput=ue,this._r=ee.r,this._g=ee.g,this._b=ee.b,this._a=ee.a,this._roundA=f(100*this._a)/100,this._format=Le.format||ee.format,this._gradientType=Le.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ee.ok,this._tc_id=g++}i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Le=this.toRgb();return(Le.r*299+Le.g*587+Le.b*114)/1e3},getLuminance:function(){var Le=this.toRgb(),ee,le,et,Re,Ae,oe;return ee=Le.r/255,le=Le.g/255,et=Le.b/255,ee<=.03928?Re=ee/12.92:Re=p.pow((ee+.055)/1.055,2.4),le<=.03928?Ae=le/12.92:Ae=p.pow((le+.055)/1.055,2.4),et<=.03928?oe=et/12.92:oe=p.pow((et+.055)/1.055,2.4),.2126*Re+.7152*Ae+.0722*oe},setAlpha:function(Le){return this._a=U(Le),this._roundA=f(100*this._a)/100,this},toHsv:function(){var Le=r(this._r,this._g,this._b);return{h:Le.h*360,s:Le.s,v:Le.v,a:this._a}},toHsvString:function(){var Le=r(this._r,this._g,this._b),ee=f(Le.h*360),le=f(Le.s*100),et=f(Le.v*100);return this._a==1?"hsv("+ee+", "+le+"%, "+et+"%)":"hsva("+ee+", "+le+"%, "+et+"%, "+this._roundA+")"},toHsl:function(){var Le=e(this._r,this._g,this._b);return{h:Le.h*360,s:Le.s,l:Le.l,a:this._a}},toHslString:function(){var Le=e(this._r,this._g,this._b),ee=f(Le.h*360),le=f(Le.s*100),et=f(Le.l*100);return this._a==1?"hsl("+ee+", "+le+"%, "+et+"%)":"hsla("+ee+", "+le+"%, "+et+"%, "+this._roundA+")"},toHex:function(Le){return u(this._r,this._g,this._b,Le)},toHexString:function(Le){return"#"+this.toHex(Le)},toHex8:function(Le){return h(this._r,this._g,this._b,this._a,Le)},toHex8String:function(Le){return"#"+this.toHex8(Le)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(B(this._r,255)*100)+"%",g:f(B(this._g,255)*100)+"%",b:f(B(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(B(this._r,255)*100)+"%, "+f(B(this._g,255)*100)+"%, "+f(B(this._b,255)*100)+"%)":"rgba("+f(B(this._r,255)*100)+"%, "+f(B(this._g,255)*100)+"%, "+f(B(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:z[u(this._r,this._g,this._b,!0)]||!1},toFilter:function(Le){var ee="#"+A(this._r,this._g,this._b,this._a),le=ee,et=this._gradientType?"GradientType = 1, ":"";if(Le){var Re=i(Le);le="#"+A(Re._r,Re._g,Re._b,Re._a)}return"progid:DXImageTransform.Microsoft.gradient("+et+"startColorstr="+ee+",endColorstr="+le+")"},toString:function(Le){var ee=!!Le;Le=Le||this._format;var le=!1,et=this._a<1&&this._a>=0,Re=!ee&&et&&(Le==="hex"||Le==="hex6"||Le==="hex3"||Le==="hex4"||Le==="hex8"||Le==="name");return Re?Le==="name"&&this._a===0?this.toName():this.toRgbString():(Le==="rgb"&&(le=this.toRgbString()),Le==="prgb"&&(le=this.toPercentageRgbString()),(Le==="hex"||Le==="hex6")&&(le=this.toHexString()),Le==="hex3"&&(le=this.toHexString(!0)),Le==="hex4"&&(le=this.toHex8String(!0)),Le==="hex8"&&(le=this.toHex8String()),Le==="name"&&(le=this.toName()),Le==="hsl"&&(le=this.toHslString()),Le==="hsv"&&(le=this.toHsvString()),le||this.toHexString())},clone:function(){return i(this.toString())},_applyModification:function(Le,ee){var le=Le.apply(null,[this].concat([].slice.call(ee)));return this._r=le._r,this._g=le._g,this._b=le._b,this.setAlpha(le._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(O,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(y,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(Le,ee){return Le.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(F,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(_,arguments)},tetrad:function(){return this._applyCombination(L,arguments)}},i.fromRatio=function(ue,Le){if(typeof ue=="object"){var ee={};for(var le in ue)ue.hasOwnProperty(le)&&(le==="a"?ee[le]=ue[le]:ee[le]=re(ue[le]));ue=ee}return i(ue,Le)};function t(ue){var Le={r:0,g:0,b:0},ee=1,le=null,et=null,Re=null,Ae=!1,oe=!1;return typeof ue=="string"&&(ue=Se(ue)),typeof ue=="object"&&(Ce(ue.r)&&Ce(ue.g)&&Ce(ue.b)?(Le=a(ue.r,ue.g,ue.b),Ae=!0,oe=String(ue.r).substr(-1)==="%"?"prgb":"rgb"):Ce(ue.h)&&Ce(ue.s)&&Ce(ue.v)?(le=re(ue.s),et=re(ue.v),Le=s(ue.h,le,et),Ae=!0,oe="hsv"):Ce(ue.h)&&Ce(ue.s)&&Ce(ue.l)&&(le=re(ue.s),Re=re(ue.l),Le=l(ue.h,le,Re),Ae=!0,oe="hsl"),ue.hasOwnProperty("a")&&(ee=ue.a)),ee=U(ee),{ok:Ae,format:ue.format||oe,r:d(255,c(Le.r,0)),g:d(255,c(Le.g,0)),b:d(255,c(Le.b,0)),a:ee}}function a(ue,Le,ee){return{r:B(ue,255)*255,g:B(Le,255)*255,b:B(ee,255)*255}}function e(ue,Le,ee){ue=B(ue,255),Le=B(Le,255),ee=B(ee,255);var le=c(ue,Le,ee),et=d(ue,Le,ee),Re,Ae,oe=(le+et)/2;if(le==et)Re=Ae=0;else{var ce=le-et;Ae=oe>.5?ce/(2-le-et):ce/(le+et);switch(le){case ue:Re=(Le-ee)/ce+(Le<ee?6:0);break;case Le:Re=(ee-ue)/ce+2;break;case ee:Re=(ue-Le)/ce+4;break}Re/=6}return{h:Re,s:Ae,l:oe}}function l(ue,Le,ee){var le,et,Re;ue=B(ue,360),Le=B(Le,100),ee=B(ee,100);function Ae(be,Te,Be){return Be<0&&(Be+=1),Be>1&&(Be-=1),Be<1/6?be+(Te-be)*6*Be:Be<1/2?Te:Be<2/3?be+(Te-be)*(2/3-Be)*6:be}if(Le===0)le=et=Re=ee;else{var oe=ee<.5?ee*(1+Le):ee+Le-ee*Le,ce=2*ee-oe;le=Ae(ce,oe,ue+1/3),et=Ae(ce,oe,ue),Re=Ae(ce,oe,ue-1/3)}return{r:le*255,g:et*255,b:Re*255}}function r(ue,Le,ee){ue=B(ue,255),Le=B(Le,255),ee=B(ee,255);var le=c(ue,Le,ee),et=d(ue,Le,ee),Re,Ae,oe=le,ce=le-et;if(Ae=le===0?0:ce/le,le==et)Re=0;else{switch(le){case ue:Re=(Le-ee)/ce+(Le<ee?6:0);break;case Le:Re=(ee-ue)/ce+2;break;case ee:Re=(ue-Le)/ce+4;break}Re/=6}return{h:Re,s:Ae,v:oe}}function s(ue,Le,ee){ue=B(ue,360)*6,Le=B(Le,100),ee=B(ee,100);var le=p.floor(ue),et=ue-le,Re=ee*(1-Le),Ae=ee*(1-et*Le),oe=ee*(1-(1-et)*Le),ce=le%6,be=[ee,Ae,Re,Re,oe,ee][ce],Te=[oe,ee,ee,Ae,Re,Re][ce],Be=[Re,Re,oe,ee,ee,Ae][ce];return{r:be*255,g:Te*255,b:Be*255}}function u(ue,Le,ee,le){var et=[G(f(ue).toString(16)),G(f(Le).toString(16)),G(f(ee).toString(16))];return le&&et[0].charAt(0)==et[0].charAt(1)&&et[1].charAt(0)==et[1].charAt(1)&&et[2].charAt(0)==et[2].charAt(1)?et[0].charAt(0)+et[1].charAt(0)+et[2].charAt(0):et.join("")}function h(ue,Le,ee,le,et){var Re=[G(f(ue).toString(16)),G(f(Le).toString(16)),G(f(ee).toString(16)),G(ye(le))];return et&&Re[0].charAt(0)==Re[0].charAt(1)&&Re[1].charAt(0)==Re[1].charAt(1)&&Re[2].charAt(0)==Re[2].charAt(1)&&Re[3].charAt(0)==Re[3].charAt(1)?Re[0].charAt(0)+Re[1].charAt(0)+Re[2].charAt(0)+Re[3].charAt(0):Re.join("")}function A(ue,Le,ee,le){var et=[G(ye(le)),G(f(ue).toString(16)),G(f(Le).toString(16)),G(f(ee).toString(16))];return et.join("")}i.equals=function(ue,Le){return!ue||!Le?!1:i(ue).toRgbString()==i(Le).toRgbString()},i.random=function(){return i.fromRatio({r:o(),g:o(),b:o()})};function y(ue,Le){Le=Le===0?0:Le||10;var ee=i(ue).toHsl();return ee.s-=Le/100,ee.s=H(ee.s),i(ee)}function w(ue,Le){Le=Le===0?0:Le||10;var ee=i(ue).toHsl();return ee.s+=Le/100,ee.s=H(ee.s),i(ee)}function b(ue){return i(ue).desaturate(100)}function x(ue,Le){Le=Le===0?0:Le||10;var ee=i(ue).toHsl();return ee.l+=Le/100,ee.l=H(ee.l),i(ee)}function O(ue,Le){Le=Le===0?0:Le||10;var ee=i(ue).toRgb();return ee.r=c(0,d(255,ee.r-f(255*-(Le/100)))),ee.g=c(0,d(255,ee.g-f(255*-(Le/100)))),ee.b=c(0,d(255,ee.b-f(255*-(Le/100)))),i(ee)}function T(ue,Le){Le=Le===0?0:Le||10;var ee=i(ue).toHsl();return ee.l-=Le/100,ee.l=H(ee.l),i(ee)}function E(ue,Le){var ee=i(ue).toHsl(),le=(ee.h+Le)%360;return ee.h=le<0?360+le:le,i(ee)}function C(ue){var Le=i(ue).toHsl();return Le.h=(Le.h+180)%360,i(Le)}function _(ue){var Le=i(ue).toHsl(),ee=Le.h;return[i(ue),i({h:(ee+120)%360,s:Le.s,l:Le.l}),i({h:(ee+240)%360,s:Le.s,l:Le.l})]}function L(ue){var Le=i(ue).toHsl(),ee=Le.h;return[i(ue),i({h:(ee+90)%360,s:Le.s,l:Le.l}),i({h:(ee+180)%360,s:Le.s,l:Le.l}),i({h:(ee+270)%360,s:Le.s,l:Le.l})]}function P(ue){var Le=i(ue).toHsl(),ee=Le.h;return[i(ue),i({h:(ee+72)%360,s:Le.s,l:Le.l}),i({h:(ee+216)%360,s:Le.s,l:Le.l})]}function k(ue,Le,ee){Le=Le||6,ee=ee||30;var le=i(ue).toHsl(),et=360/ee,Re=[i(ue)];for(le.h=(le.h-(et*Le>>1)+720)%360;--Le;)le.h=(le.h+et)%360,Re.push(i(le));return Re}function F(ue,Le){Le=Le||6;for(var ee=i(ue).toHsv(),le=ee.h,et=ee.s,Re=ee.v,Ae=[],oe=1/Le;Le--;)Ae.push(i({h:le,s:et,v:Re})),Re=(Re+oe)%1;return Ae}i.mix=function(ue,Le,ee){ee=ee===0?0:ee||50;var le=i(ue).toRgb(),et=i(Le).toRgb(),Re=ee/100,Ae={r:(et.r-le.r)*Re+le.r,g:(et.g-le.g)*Re+le.g,b:(et.b-le.b)*Re+le.b,a:(et.a-le.a)*Re+le.a};return i(Ae)},i.readability=function(ue,Le){var ee=i(ue),le=i(Le);return(p.max(ee.getLuminance(),le.getLuminance())+.05)/(p.min(ee.getLuminance(),le.getLuminance())+.05)},i.isReadable=function(ue,Le,ee){var le=i.readability(ue,Le),et,Re;Re=!1,et=Ke(ee);switch(et.level+et.size){case"AAsmall":case"AAAlarge":Re=le>=4.5;break;case"AAlarge":Re=le>=3;break;case"AAAsmall":Re=le>=7;break}return Re},i.mostReadable=function(ue,Le,ee){var le=null,et=0,Re,Ae,oe,ce;ee=ee||{},Ae=ee.includeFallbackColors,oe=ee.level,ce=ee.size;for(var be=0;be<Le.length;be++)Re=i.readability(ue,Le[be]),Re>et&&(et=Re,le=i(Le[be]));return i.isReadable(ue,le,{level:oe,size:ce})||!Ae?le:(ee.includeFallbackColors=!1,i.mostReadable(ue,["#fff","#000"],ee))};var j=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=i.hexNames=R(j);function R(ue){var Le={};for(var ee in ue)ue.hasOwnProperty(ee)&&(Le[ue[ee]]=ee);return Le}function U(ue){return ue=parseFloat(ue),(isNaN(ue)||ue<0||ue>1)&&(ue=1),ue}function B(ue,Le){V(ue)&&(ue="100%");var ee=W(ue);return ue=d(Le,c(0,parseFloat(ue))),ee&&(ue=parseInt(ue*Le,10)/100),p.abs(ue-Le)<1e-6?1:ue%Le/parseFloat(Le)}function H(ue){return d(1,c(0,ue))}function K(ue){return parseInt(ue,16)}function V(ue){return typeof ue=="string"&&ue.indexOf(".")!=-1&&parseFloat(ue)===1}function W(ue){return typeof ue=="string"&&ue.indexOf("%")!=-1}function G(ue){return ue.length==1?"0"+ue:""+ue}function re(ue){return ue<=1&&(ue=ue*100+"%"),ue}function ye(ue){return p.round(parseFloat(ue)*255).toString(16)}function $(ue){return K(ue)/255}var ve=function(){var ue="[-\\+]?\\d+%?",Le="[-\\+]?\\d*\\.\\d+%?",ee="(?:"+Le+")|(?:"+ue+")",le="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?",et="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?";return{CSS_UNIT:new RegExp(ee),rgb:new RegExp("rgb"+le),rgba:new RegExp("rgba"+et),hsl:new RegExp("hsl"+le),hsla:new RegExp("hsla"+et),hsv:new RegExp("hsv"+le),hsva:new RegExp("hsva"+et),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Ce(ue){return!!ve.CSS_UNIT.exec(ue)}function Se(ue){ue=ue.replace(S,"").replace(m,"").toLowerCase();var Le=!1;if(j[ue])ue=j[ue],Le=!0;else if(ue=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ee;return(ee=ve.rgb.exec(ue))?{r:ee[1],g:ee[2],b:ee[3]}:(ee=ve.rgba.exec(ue))?{r:ee[1],g:ee[2],b:ee[3],a:ee[4]}:(ee=ve.hsl.exec(ue))?{h:ee[1],s:ee[2],l:ee[3]}:(ee=ve.hsla.exec(ue))?{h:ee[1],s:ee[2],l:ee[3],a:ee[4]}:(ee=ve.hsv.exec(ue))?{h:ee[1],s:ee[2],v:ee[3]}:(ee=ve.hsva.exec(ue))?{h:ee[1],s:ee[2],v:ee[3],a:ee[4]}:(ee=ve.hex8.exec(ue))?{r:K(ee[1]),g:K(ee[2]),b:K(ee[3]),a:$(ee[4]),format:Le?"name":"hex8"}:(ee=ve.hex6.exec(ue))?{r:K(ee[1]),g:K(ee[2]),b:K(ee[3]),format:Le?"name":"hex"}:(ee=ve.hex4.exec(ue))?{r:K(ee[1]+""+ee[1]),g:K(ee[2]+""+ee[2]),b:K(ee[3]+""+ee[3]),a:$(ee[4]+""+ee[4]),format:Le?"name":"hex8"}:(ee=ve.hex3.exec(ue))?{r:K(ee[1]+""+ee[1]),g:K(ee[2]+""+ee[2]),b:K(ee[3]+""+ee[3]),format:Le?"name":"hex"}:!1}function Ke(ue){var Le,ee;return ue=ue||{level:"AA",size:"small"},Le=(ue.level||"AA").toUpperCase(),ee=(ue.size||"small").toLowerCase(),Le!=="AA"&&Le!=="AAA"&&(Le="AA"),ee!=="small"&&ee!=="large"&&(ee="small"),{level:Le,size:ee}}M.exports?M.exports=i:!(v=function(){return i}.call(N,n,N,M),v!==void 0&&(M.exports=v))})(Math)},Zvw2:function(M,N,n){var v=n("bYtY"),p=n("hM6l"),S=function(g,f,d,c,o){p.call(this,g,f,d),this.type=c||"value",this.position=o||"bottom",this.orient=null};S.prototype={constructor:S,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},pointToData:function(g,f){return this.coordinateSystem.pointToData(g,f)[0]},toGlobalCoord:null,toLocalCoord:null},v.inherits(S,p);var m=S;M.exports=m},a7Wl:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};N.default=v},a9QJ:function(M,N){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function v(p,S){if(p==="world"){var m=n[S.name];if(m){var g=S.center;g[0]=m[0],g[1]=m[1]}}}M.exports=v},aCH8:function(M,N,n){(function(){var v=n("ANhw"),p=n("mmNF").utf8,S=n("BEtg"),m=n("mmNF").bin,g=function f(d,c){d.constructor==String?c&&c.encoding==="binary"?d=m.stringToBytes(d):d=p.stringToBytes(d):S(d)?d=Array.prototype.slice.call(d,0):!Array.isArray(d)&&d.constructor!==Uint8Array&&(d=d.toString());for(var o=v.bytesToWords(d),i=d.length*8,t=1732584193,a=-271733879,e=-1732584194,l=271733878,r=0;r<o.length;r++)o[r]=(o[r]<<8|o[r]>>>24)&16711935|(o[r]<<24|o[r]>>>8)&4278255360;o[i>>>5]|=128<<i%32,o[(i+64>>>9<<4)+14]=i;for(var s=f._ff,u=f._gg,h=f._hh,A=f._ii,r=0;r<o.length;r+=16){var y=t,w=a,b=e,x=l;t=s(t,a,e,l,o[r+0],7,-680876936),l=s(l,t,a,e,o[r+1],12,-389564586),e=s(e,l,t,a,o[r+2],17,606105819),a=s(a,e,l,t,o[r+3],22,-1044525330),t=s(t,a,e,l,o[r+4],7,-176418897),l=s(l,t,a,e,o[r+5],12,1200080426),e=s(e,l,t,a,o[r+6],17,-1473231341),a=s(a,e,l,t,o[r+7],22,-45705983),t=s(t,a,e,l,o[r+8],7,1770035416),l=s(l,t,a,e,o[r+9],12,-1958414417),e=s(e,l,t,a,o[r+10],17,-42063),a=s(a,e,l,t,o[r+11],22,-1990404162),t=s(t,a,e,l,o[r+12],7,1804603682),l=s(l,t,a,e,o[r+13],12,-40341101),e=s(e,l,t,a,o[r+14],17,-1502002290),a=s(a,e,l,t,o[r+15],22,1236535329),t=u(t,a,e,l,o[r+1],5,-165796510),l=u(l,t,a,e,o[r+6],9,-1069501632),e=u(e,l,t,a,o[r+11],14,643717713),a=u(a,e,l,t,o[r+0],20,-373897302),t=u(t,a,e,l,o[r+5],5,-701558691),l=u(l,t,a,e,o[r+10],9,38016083),e=u(e,l,t,a,o[r+15],14,-660478335),a=u(a,e,l,t,o[r+4],20,-405537848),t=u(t,a,e,l,o[r+9],5,568446438),l=u(l,t,a,e,o[r+14],9,-1019803690),e=u(e,l,t,a,o[r+3],14,-187363961),a=u(a,e,l,t,o[r+8],20,1163531501),t=u(t,a,e,l,o[r+13],5,-1444681467),l=u(l,t,a,e,o[r+2],9,-51403784),e=u(e,l,t,a,o[r+7],14,1735328473),a=u(a,e,l,t,o[r+12],20,-1926607734),t=h(t,a,e,l,o[r+5],4,-378558),l=h(l,t,a,e,o[r+8],11,-2022574463),e=h(e,l,t,a,o[r+11],16,1839030562),a=h(a,e,l,t,o[r+14],23,-35309556),t=h(t,a,e,l,o[r+1],4,-1530992060),l=h(l,t,a,e,o[r+4],11,1272893353),e=h(e,l,t,a,o[r+7],16,-155497632),a=h(a,e,l,t,o[r+10],23,-1094730640),t=h(t,a,e,l,o[r+13],4,681279174),l=h(l,t,a,e,o[r+0],11,-358537222),e=h(e,l,t,a,o[r+3],16,-722521979),a=h(a,e,l,t,o[r+6],23,76029189),t=h(t,a,e,l,o[r+9],4,-640364487),l=h(l,t,a,e,o[r+12],11,-421815835),e=h(e,l,t,a,o[r+15],16,530742520),a=h(a,e,l,t,o[r+2],23,-995338651),t=A(t,a,e,l,o[r+0],6,-198630844),l=A(l,t,a,e,o[r+7],10,1126891415),e=A(e,l,t,a,o[r+14],15,-1416354905),a=A(a,e,l,t,o[r+5],21,-57434055),t=A(t,a,e,l,o[r+12],6,1700485571),l=A(l,t,a,e,o[r+3],10,-1894986606),e=A(e,l,t,a,o[r+10],15,-1051523),a=A(a,e,l,t,o[r+1],21,-2054922799),t=A(t,a,e,l,o[r+8],6,1873313359),l=A(l,t,a,e,o[r+15],10,-30611744),e=A(e,l,t,a,o[r+6],15,-1560198380),a=A(a,e,l,t,o[r+13],21,1309151649),t=A(t,a,e,l,o[r+4],6,-145523070),l=A(l,t,a,e,o[r+11],10,-1120210379),e=A(e,l,t,a,o[r+2],15,718787259),a=A(a,e,l,t,o[r+9],21,-343485551),t=t+y>>>0,a=a+w>>>0,e=e+b>>>0,l=l+x>>>0}return v.endian([t,a,e,l])};g._ff=function(f,d,c,o,i,t,a){var e=f+(d&c|~d&o)+(i>>>0)+a;return(e<<t|e>>>32-t)+d},g._gg=function(f,d,c,o,i,t,a){var e=f+(d&o|c&~o)+(i>>>0)+a;return(e<<t|e>>>32-t)+d},g._hh=function(f,d,c,o,i,t,a){var e=f+(d^c^o)+(i>>>0)+a;return(e<<t|e>>>32-t)+d},g._ii=function(f,d,c,o,i,t,a){var e=f+(c^(d|~o))+(i>>>0)+a;return(e<<t|e>>>32-t)+d},g._blocksize=16,g._digestsize=16,M.exports=function(f,d){if(f==null)throw new Error("Illegal argument "+f);var c=v.wordsToBytes(g(f,d));return d&&d.asBytes?c:d&&d.asString?m.bytesToString(c):v.bytesToHex(c)}})()},aHsQ:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("6D9b"),m=n.n(S)},aKvl:function(M,N,n){var v=n("Sj9i"),p=v.quadraticProjectPoint;function S(m,g,f,d,c,o,i,t,a){if(i===0)return!1;var e=i;if(a>g+e&&a>d+e&&a>o+e||a<g-e&&a<d-e&&a<o-e||t>m+e&&t>f+e&&t>c+e||t<m-e&&t<f-e&&t<c-e)return!1;var l=p(m,g,f,d,c,o,t,a,null);return l<=e/2}N.containStroke=S},aTJb:function(M,N,n){var v=n("bLfw");v.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(M,N,n){var v=n("3gBT"),p=n("ItGF"),S=n("bYtY"),m=n("0s+r"),g=n("r6Bn"),f=n("7SHv"),d=n("MKOG"),c=n("zarK");/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var o=!p.canvasSupported,i={canvas:f},t={},a="4.3.1";function e(A,y){var w=new h(v(),A,y);return t[w.id]=w,w}function l(A){if(A)A.dispose();else{for(var y in t)t.hasOwnProperty(y)&&t[y].dispose();t={}}return this}function r(A){return t[A]}function s(A,y){i[A]=y}function u(A){delete t[A]}var h=function(y,w,b){b=b||{},this.dom=w,this.id=y;var x=this,O=new g,T=b.renderer;if(o){if(!i.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!i[T])&&(T="canvas");var E=new i[T](w,O,b,y);this.storage=O,this.painter=E;var C=!p.node&&!p.worker?new c(E.getViewportRoot(),E.root):null;this.handler=new m(O,E,C,E.root),this.animation=new d({stage:{update:S.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var _=O.delFromStorage,L=O.addToStorage;O.delFromStorage=function(P){_.call(O,P),P&&P.removeSelfFromZr(x)},O.addToStorage=function(P){L.call(O,P),P.addSelfToZr(x)}};h.prototype={constructor:h,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,w){this.painter.configLayer&&this.painter.configLayer(y,w),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,w){if(this.painter.addHover){var b=this.painter.addHover(y,w);return this.refreshHover(),b}},removeHover:function(y){this.painter.removeHover&&(this.painter.removeHover(y),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(y){y=y||{},this.painter.resize(y.width,y.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(y,w){return this.painter.pathToImage(y,w)},setCursorStyle:function(y){this.handler.setCursorStyle(y)},findHover:function(y,w){return this.handler.findHover(y,w)},on:function(y,w,b){this.handler.on(y,w,b)},off:function(y,w){this.handler.off(y,w)},trigger:function(y,w){this.handler.trigger(y,w)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,u(this.id)}},N.version=a,N.init=e,N.dispose=l,N.getInstance=r,N.registerPainter=s},aX7z:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("GMDS"),g=n("ieMj"),f=n("4NgU"),d=n("OELB"),c=n("nVfU"),o=c.prepareLayoutBarSeries,i=c.makeColumnLayout,t=c.retrieveColumnLayout,a=n("mFDi");n("IWp7"),n("jCoz");function e(O,T){var E=O.type,C=T.getMin(),_=T.getMax(),L=O.getExtent(),P,k,F;E==="ordinal"?P=T.getCategories().length:(k=T.get("boundaryGap"),S.isArray(k)||(k=[k||0,k||0]),typeof k[0]=="boolean"&&(k=[0,0]),k[0]=d.parsePercent(k[0],1),k[1]=d.parsePercent(k[1],1),F=L[1]-L[0]||Math.abs(L[0])),C==="dataMin"?C=L[0]:typeof C=="function"&&(C=C({min:L[0],max:L[1]})),_==="dataMax"?_=L[1]:typeof _=="function"&&(_=_({min:L[0],max:L[1]}));var j=C!=null,z=_!=null;C==null&&(C=E==="ordinal"?P?0:NaN:L[0]-k[0]*F),_==null&&(_=E==="ordinal"?P?P-1:NaN:L[1]+k[1]*F),(C==null||!isFinite(C))&&(C=NaN),(_==null||!isFinite(_))&&(_=NaN),O.setBlank(S.eqNaN(C)||S.eqNaN(_)||E==="ordinal"&&!O.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(C>0&&_>0&&!j&&(C=0),C<0&&_<0&&!z&&(_=0));var R=T.ecModel;if(R&&E==="time"){var U=o("bar",R),B;if(S.each(U,function(V){B|=V.getBaseAxis()===T.axis}),B){var H=i(U),K=l(C,_,T,H);C=K.min,_=K.max}}return{extent:[C,_],fixMin:j,fixMax:z}}function l(O,T,E,C){var _=E.axis.getExtent(),L=_[1]-_[0],P=t(C,E.axis);if(P===void 0)return{min:O,max:T};var k=Infinity;S.each(P,function(B){k=Math.min(B.offset,k)});var F=-Infinity;S.each(P,function(B){F=Math.max(B.offset+B.width,F)}),k=Math.abs(k),F=Math.abs(F);var j=k+F,z=T-O,R=1-(k+F)/L,U=z/R-z;return T+=U*(F/j),O-=U*(k/j),{min:O,max:T}}function r(O,T){var E=e(O,T),C=E.extent,_=T.get("splitNumber");O.type==="log"&&(O.base=T.get("logBase"));var L=O.type;O.setExtent(C[0],C[1]),O.niceExtent({splitNumber:_,fixMin:E.fixMin,fixMax:E.fixMax,minInterval:L==="interval"||L==="time"?T.get("minInterval"):null,maxInterval:L==="interval"||L==="time"?T.get("maxInterval"):null});var P=T.get("interval");P!=null&&(O.setInterval&&O.setInterval(P))}function s(O,T){if(T=T||O.get("type"),T)switch(T){case"category":return new m(O.getOrdinalMeta?O.getOrdinalMeta():O.getCategories(),[Infinity,-Infinity]);case"value":return new g;default:return(f.getClass(T)||g).create(O)}}function u(O){var T=O.scale.getExtent(),E=T[0],C=T[1];return!(E>0&&C>0||E<0&&C<0)}function h(O){var T=O.getLabelModel().get("formatter"),E=O.type==="category"?O.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(C){return function(_){return _=O.scale.getLabel(_),C.replace("{value}",_!=null?_:"")}}(T),T):typeof T=="function"?function(C,_){return E!=null&&(_=C-E),T(A(O,C),_)}:function(C){return O.scale.getLabel(C)}}function A(O,T){return O.type==="category"?O.scale.getLabel(T):T}function y(O){var T=O.model,E=O.scale;if(!T.get("axisLabel.show")||E.isBlank())return;var C=O.type==="category",_,L,P=E.getExtent();C?L=E.count():(_=E.getTicks(),L=_.length);var k=O.getLabelModel(),F=h(O),j,z=1;L>40&&(z=Math.ceil(L/40));for(var R=0;R<L;R+=z){var U=_?_[R]:P[0]+R,B=F(U),H=k.getTextRect(B),K=w(H,k.get("rotate")||0);j?j.union(K):j=K}return j}function w(O,T){var E=T*Math.PI/180,C=O.plain(),_=C.width,L=C.height,P=_*Math.cos(E)+L*Math.sin(E),k=_*Math.sin(E)+L*Math.cos(E),F=new a(C.x,C.y,P,k);return F}function b(O){var T=O.get("interval");return T==null?"auto":T}function x(O){return O.type==="category"&&b(O.getLabelModel())===0}N.getScaleExtent=e,N.niceScaleExtent=r,N.createScaleByModel=s,N.ifAxisCrossZero=u,N.makeLabelFormatter=h,N.getAxisRawValue=A,N.estimateLabelUnionRect=y,N.getOptionCategoryInterval=b,N.shouldShowAllLabels=x},"af/B":function(M,N,n){var v=n("bYtY"),p=v.each,S=v.map,m=v.isFunction,g=v.createHashMap,f=v.noop,d=n("9H2F"),c=d.createTask,o=n("iRjW"),i=o.getUID,t=n("fmMI"),a=n("hD7B"),e=n("4NO4"),l=e.normalizeToArray;function r(B,H,K,V){this.ecInstance=B,this.api=H,this.unfinished;var K=this._dataProcessorHandlers=K.slice(),V=this._visualHandlers=V.slice();this._allHandlers=K.concat(V),this._stageTaskMap=g()}var s=r.prototype;s.restoreData=function(B,H){B.restoreData(H),this._stageTaskMap.each(function(K){var V=K.overallTask;V&&V.dirty()})},s.getPerformArgs=function(B,H){if(!B.__pipeline)return;var K=this._pipelineMap.get(B.__pipeline.id),V=K.context,W=!H&&K.progressiveEnabled&&(!V||V.progressiveRender)&&B.__idxInPipeline>K.blockIndex,G=W?K.step:null,re=V&&V.modDataCount,ye=re!=null?Math.ceil(re/G):null;return{step:G,modBy:ye,modDataCount:re}},s.getPipeline=function(B){return this._pipelineMap.get(B)},s.updateStreamModes=function(B,H){var K=this._pipelineMap.get(B.uid),V=B.getData(),W=V.count(),G=K.progressiveEnabled&&H.incrementalPrepareRender&&W>=K.threshold,re=B.get("large")&&W>=B.get("largeThreshold"),ye=B.get("progressiveChunkMode")==="mod"?W:null;B.pipelineContext=K.context={progressiveRender:G,modDataCount:ye,large:re}},s.restorePipelines=function(B){var H=this,K=H._pipelineMap=g();B.eachSeries(function(V){var W=V.getProgressive(),G=V.uid;K.set(G,{id:G,head:null,tail:null,threshold:V.getProgressiveThreshold(),progressiveEnabled:W&&!(V.preventIncremental&&V.preventIncremental()),blockIndex:-1,step:Math.round(W||700),count:0}),P(H,V,V.dataTask)})},s.prepareStageTasks=function(){var B=this._stageTaskMap,H=this.ecInstance.getModel(),K=this.api;p(this._allHandlers,function(V){var W=B.get(V.uid)||B.set(V.uid,[]);V.reset&&A(this,V,W,H,K),V.overallReset&&y(this,V,W,H,K)},this)},s.prepareView=function(B,H,K,V){var W=B.renderTask,G=W.context;G.model=H,G.ecModel=K,G.api=V,W.__block=!B.incrementalPrepareRender,P(this,H,W)},s.performDataProcessorTasks=function(B,H){u(this,this._dataProcessorHandlers,B,H,{block:!0})},s.performVisualTasks=function(B,H,K){u(this,this._visualHandlers,B,H,K)};function u(B,H,K,V,W){W=W||{};var G;p(H,function(ye,$){if(W.visualType&&W.visualType!==ye.visualType)return;var ve=B._stageTaskMap.get(ye.uid),Ce=ve.seriesTaskMap,Se=ve.overallTask;if(Se){var Ke,ue=Se.agentStubMap;ue.each(function(ee){re(W,ee)&&(ee.dirty(),Ke=!0)}),Ke&&Se.dirty(),h(Se,V);var Le=B.getPerformArgs(Se,W.block);ue.each(function(ee){ee.perform(Le)}),G|=Se.perform(Le)}else Ce&&Ce.each(function(ee,le){re(W,ee)&&ee.dirty();var et=B.getPerformArgs(ee,W.block);et.skip=!ye.performRawSeries&&K.isSeriesFiltered(ee.context.model),h(ee,V),G|=ee.perform(et)})});function re(ye,$){return ye.setDirty&&(!ye.dirtyMap||ye.dirtyMap.get($.__pipeline.id))}B.unfinished|=G}s.performSeriesTasks=function(B){var H;B.eachSeries(function(K){H|=K.dataTask.perform()}),this.unfinished|=H},s.plan=function(){this._pipelineMap.each(function(B){var H=B.tail;do{if(H.__block){B.blockIndex=H.__idxInPipeline;break}H=H.getUpstream()}while(H)})};var h=s.updatePayload=function(B,H){H!=="remain"&&(B.context.payload=H)};function A(B,H,K,V,W){var G=K.seriesTaskMap||(K.seriesTaskMap=g()),re=H.seriesType,ye=H.getTargetSeries;H.createOnAllSeries?V.eachRawSeries($):re?V.eachRawSeriesByType(re,$):ye&&ye(V,W).each($);function $(Ce){var Se=Ce.uid,Ke=G.get(Se)||G.set(Se,c({plan:T,reset:E,count:L}));Ke.context={model:Ce,ecModel:V,api:W,useClearVisual:H.isVisual&&!H.isLayout,plan:H.plan,reset:H.reset,scheduler:B},P(B,Ce,Ke)}var ve=B._pipelineMap;G.each(function(Ce,Se){ve.get(Se)||(Ce.dispose(),G.removeKey(Se))})}function y(B,H,K,V,W){var G=K.overallTask=K.overallTask||c({reset:w});G.context={ecModel:V,api:W,overallReset:H.overallReset,scheduler:B};var re=G.agentStubMap=G.agentStubMap||g(),ye=H.seriesType,$=H.getTargetSeries,ve=!0,Ce=H.modifyOutputEnd;ye?V.eachRawSeriesByType(ye,Se):$?$(V,W).each(Se):(ve=!1,p(V.getSeries(),Se));function Se(ue){var Le=ue.uid,ee=re.get(Le);ee||(ee=re.set(Le,c({reset:b,onDirty:O})),G.dirty()),ee.context={model:ue,overallProgress:ve,modifyOutputEnd:Ce},ee.agent=G,ee.__block=ve,P(B,ue,ee)}var Ke=B._pipelineMap;re.each(function(ue,Le){Ke.get(Le)||(ue.dispose(),G.dirty(),re.removeKey(Le))})}function w(B){B.overallReset(B.ecModel,B.api,B.payload)}function b(B,H){return B.overallProgress&&x}function x(){this.agent.dirty(),this.getDownstream().dirty()}function O(){this.agent&&this.agent.dirty()}function T(B){return B.plan&&B.plan(B.model,B.ecModel,B.api,B.payload)}function E(B){B.useClearVisual&&B.data.clearAllVisual();var H=B.resetDefines=l(B.reset(B.model,B.ecModel,B.api,B.payload));return H.length>1?S(H,function(K,V){return _(V)}):C}var C=_(0);function _(B){return function(H,K){var V=K.data,W=K.resetDefines[B];if(W&&W.dataEach)for(var G=H.start;G<H.end;G++)W.dataEach(V,G);else W&&W.progress&&W.progress(H,V)}}function L(B){return B.data.count()}function P(B,H,K){var V=H.uid,W=B._pipelineMap.get(V);!W.head&&(W.head=K),W.tail&&W.tail.pipe(K),W.tail=K,K.__idxInPipeline=W.count++,K.__pipeline=W}r.wrapStageHandler=function(B,H){return m(B)&&(B={overallReset:B,seriesType:k(B)}),B.uid=i("stageHandler"),H&&(B.visualType=H),B};function k(B){z=null;try{B(F,j)}catch(H){}return z}var F={},j={},z;R(F,t),R(j,a),F.eachSeriesByType=F.eachRawSeriesByType=function(B){z=B},F.eachComponent=function(B){B.mainType==="series"&&B.subType&&(z=B.subType)};function R(B,H){for(var K in H.prototype)B[K]=f}var U=r;M.exports=U},akwb:function(M,N,n){var v=n("RSch"),p=n("bYtY"),S=n("D9ME"),m=n("QBsz");function g(c,o,i){S.call(this,c,o,i),this._lastFrame=0,this._lastFramePercent=0}var f=g.prototype;f.createLine=function(c,o,i){return new v(c,o,i)},f.updateAnimationPoints=function(c,o){this._points=o;for(var i=[0],t=0,a=1;a<o.length;a++){var e=o[a-1],l=o[a];t+=m.dist(e,l),i.push(t)}if(t===0)return;for(var a=0;a<i.length;a++)i[a]/=t;this._offsets=i,this._length=t},f.getLineLength=function(c){return this._length},f.updateSymbolPosition=function(c){var o=c.__t,i=this._points,t=this._offsets,a=i.length;if(!t)return;var e=this._lastFrame,l;if(o<this._lastFramePercent){var r=Math.min(e+1,a-1);for(l=r;l>=0&&!(t[l]<=o);l--);l=Math.min(l,a-2)}else{for(var l=e;l<a&&!(t[l]>o);l++);l=Math.min(l-1,a-2)}m.lerp(c.position,i[l],i[l+1],(o-t[l])/(t[l+1]-t[l]));var s=i[l+1][0]-i[l][0],u=i[l+1][1]-i[l][1];c.rotation=-Math.atan2(u,s)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=o,c.ignore=!1},p.inherits(g,S);var d=g;M.exports=d},apAg:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("bsht")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="SearchOutlined";var i=m.forwardRef(o);N.default=i},as94:function(M,N,n){var v=n("7aKB"),p=n("3LNs"),S=n("IwbS"),m=n("/y7N"),g=n("Fofx"),f=n("+rIm"),d=n("Znkb"),c=p.extend({makeElOption:function(a,e,l,r,s){var u=l.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=u.polar,A=h.getOtherAxis(u),y=A.getExtent(),w;w=u["dataTo"+v.capitalFirst(u.dim)](e);var b=r.get("type");if(b&&b!=="none"){var x=m.buildElStyle(r),O=i[b](u,h,w,y,x);O.style=x,a.graphicKey=O.type,a.pointer=O}var T=r.get("label.margin"),E=o(e,l,r,h,T);m.buildLabelElOption(a,l,r,s,E)}});function o(a,e,l,r,s){var u=e.axis,h=u.dataToCoord(a),A=r.getAngleAxis().getExtent()[0];A=A/180*Math.PI;var y=r.getRadiusAxis().getExtent(),w,b,x;if(u.dim==="radius"){var O=g.create();g.rotate(O,O,A),g.translate(O,O,[r.cx,r.cy]),w=S.applyTransform([h,-s],O);var T=e.getModel("axisLabel").get("rotate")||0,E=f.innerTextLayout(A,T*Math.PI/180,-1);b=E.textAlign,x=E.textVerticalAlign}else{var C=y[1];w=r.coordToPoint([C+s,h]);var _=r.cx,L=r.cy;b=Math.abs(w[0]-_)/C<.3?"center":w[0]>_?"left":"right",x=Math.abs(w[1]-L)/C<.3?"middle":w[1]>L?"top":"bottom"}return{position:w,align:b,verticalAlign:x}}var i={line:function(a,e,l,r,s){return a.dim==="angle"?{type:"Line",shape:m.makeLineShape(e.coordToPoint([r[0],l]),e.coordToPoint([r[1],l]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:l}}},shadow:function(a,e,l,r,s){var u=Math.max(1,a.getBandWidth()),h=Math.PI/180;return a.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(e.cx,e.cy,r[0],r[1],(-l-u/2)*h,(-l+u/2)*h)}:{type:"Sector",shape:m.makeSectorShape(e.cx,e.cy,l-u/2,l+u/2,0,Math.PI*2)}}};d.registerAxisPointerClass("PolarAxisPointer",c);var t=c;M.exports=t},b56q:function(M,N,n){},b80e:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("gKaM")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="DoubleLeftOutlined";var i=m.forwardRef(o);N.default=i},b9oc:function(M,N,n){var v=n("bYtY"),p=v.each,S="\0_ec_hist_store";function m(o,i){var t=c(o);p(i,function(a,e){for(var l=t.length-1;l>=0;l--){var r=t[l];if(r[e])break}if(l<0){var s=o.queryComponents({mainType:"dataZoom",subType:"select",id:e})[0];if(s){var u=s.getPercentRange();t[0][e]={dataZoomId:e,start:u[0],end:u[1]}}}}),t.push(i)}function g(o){var i=c(o),t=i[i.length-1];i.length>1&&i.pop();var a={};return p(t,function(e,l){for(var r=i.length-1;r>=0;r--){var e=i[r][l];if(e){a[l]=e;break}}}),a}function f(o){o[S]=null}function d(o){return c(o).length}function c(o){var i=o[S];return i||(i=o[S]=[{}]),i}N.push=m,N.pop=g,N.clear=f,N.count=d},bBKM:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("bYtY"),g=n("+rIm"),f=n("IwbS"),d=["axisLine","axisTickLabel","axisName"],c=S.extendComponentView({type:"radar",render:function(o,i,t){var a=this.group;a.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},_buildAxes:function(o){var i=o.coordinateSystem,t=i.getIndicatorAxes(),a=m.map(t,function(e){var l=new g(e.model,{position:[i.cx,i.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});m.each(a,function(e){m.each(d,e.add,e),this.group.add(e.getGroup())},this)},_buildSplitLineAndArea:function(o){var i=o.coordinateSystem,t=i.getIndicatorAxes();if(!t.length)return;var a=o.get("shape"),e=o.getModel("splitLine"),l=o.getModel("splitArea"),r=e.getModel("lineStyle"),s=l.getModel("areaStyle"),u=e.get("show"),h=l.get("show"),A=r.get("color"),y=s.get("color");A=m.isArray(A)?A:[A],y=m.isArray(y)?y:[y];var w=[],b=[];function x(U,B,H){var K=H%B.length;return U[K]=U[K]||[],K}if(a==="circle")for(var O=t[0].getTicksCoords(),T=i.cx,E=i.cy,C=0;C<O.length;C++){if(u){var _=x(w,A,C);w[_].push(new f.Circle({shape:{cx:T,cy:E,r:O[C].coord}}))}if(h&&C<O.length-1){var _=x(b,y,C);b[_].push(new f.Ring({shape:{cx:T,cy:E,r0:O[C].coord,r:O[C+1].coord}}))}}else for(var L,P=m.map(t,function(U,B){var H=U.getTicksCoords();return L=L==null?H.length-1:Math.min(H.length-1,L),m.map(H,function(K){return i.coordToPoint(K.coord,B)})}),k=[],C=0;C<=L;C++){for(var F=[],j=0;j<t.length;j++)F.push(P[j][C]);if(F[0]&&F.push(F[0].slice()),u){var _=x(w,A,C);w[_].push(new f.Polyline({shape:{points:F}}))}if(h&&k){var _=x(b,y,C-1);b[_].push(new f.Polygon({shape:{points:F.concat(k)}}))}k=F.slice().reverse()}var z=r.getLineStyle(),R=s.getAreaStyle();m.each(b,function(U,B){this.group.add(f.mergePath(U,{style:m.defaults({stroke:"none",fill:y[B%y.length]},R),silent:!0}))},this),m.each(w,function(U,B){this.group.add(f.mergePath(U,{style:m.defaults({fill:"none",stroke:A[B%A.length]},z),silent:!0}))},this)}});M.exports=c},bBL8:function(M,N,n){var v=n("ProS");n("LPzL"),n("rfSb"),n("JVwQ");var p=n("UnoB"),S=n("cbJ4"),m=n("0/Rx");v.registerLayout(p),v.registerVisual(S),v.registerProcessor(m("themeRiver"))},bE4E:function(M,N,n){},bE4q:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("RIqP"),f=n.n(g),d=n("q1tI"),c=n("TSYQ"),o=n.n(c),i=n("Zm9Q"),t=n("HQEm"),a=n.n(t),e=n("XBQK"),l=n("H84U"),r=function(k,F){var j={};for(var z in k)Object.prototype.hasOwnProperty.call(k,z)&&F.indexOf(z)<0&&(j[z]=k[z]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,z=Object.getOwnPropertySymbols(k);R<z.length;R++)F.indexOf(z[R])<0&&Object.prototype.propertyIsEnumerable.call(k,z[R])&&(j[z[R]]=k[z[R]]);return j},s=function(F){var j=F.prefixCls,z=F.separator,R=z===void 0?"/":z,U=F.children,B=F.overlay,H=F.dropdownProps,K=r(F,["prefixCls","separator","children","overlay","dropdownProps"]),V=d.useContext(l.b),W=V.getPrefixCls,G=W("breadcrumb",j),re=function(ve){return B?d.createElement(e.a,p()({overlay:B,placement:"bottomCenter"},H),d.createElement("span",{className:"".concat(G,"-overlay-link")},ve,d.createElement(a.a,null))):ve},ye;return"href"in K?ye=d.createElement("a",p()({className:"".concat(G,"-link")},K),U):ye=d.createElement("span",p()({className:"".concat(G,"-link")},K),U),ye=re(ye),U?d.createElement("span",null,ye,R&&R!==""&&d.createElement("span",{className:"".concat(G,"-separator")},R)):null};s.__ANT_BREADCRUMB_ITEM=!0;var u=s,h=function(F){var j=F.children,z=d.useContext(l.b),R=z.getPrefixCls,U=R("breadcrumb");return d.createElement("span",{className:"".concat(U,"-separator")},j||"/")};h.__ANT_BREADCRUMB_SEPARATOR=!0;var A=h,y=n("BvKs"),w=n("uaoM"),b=n("0n0R"),x=function(k,F){var j={};for(var z in k)Object.prototype.hasOwnProperty.call(k,z)&&F.indexOf(z)<0&&(j[z]=k[z]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,z=Object.getOwnPropertySymbols(k);R<z.length;R++)F.indexOf(z[R])<0&&Object.prototype.propertyIsEnumerable.call(k,z[R])&&(j[z[R]]=k[z[R]]);return j};function O(k,F){if(!k.breadcrumbName)return null;var j=Object.keys(F).join("|"),z=k.breadcrumbName.replace(new RegExp(":(".concat(j,")"),"g"),function(R,U){return F[U]||R});return z}function T(k,F,j,z){var R=j.indexOf(k)===j.length-1,U=O(k,F);return R?d.createElement("span",null,U):d.createElement("a",{href:"#/".concat(z.join("/"))},U)}var E=function(F,j){return F=(F||"").replace(/^\//,""),Object.keys(j).forEach(function(z){F=F.replace(":".concat(z),j[z])}),F},C=function(F){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",z=arguments.length>2?arguments[2]:void 0,R=f()(F),U=E(j,z);return U&&R.push(U),R},_=function(F){var j=F.prefixCls,z=F.separator,R=z===void 0?"/":z,U=F.style,B=F.className,H=F.routes,K=F.children,V=F.itemRender,W=V===void 0?T:V,G=F.params,re=G===void 0?{}:G,ye=x(F,["prefixCls","separator","style","className","routes","children","itemRender","params"]),$=d.useContext(l.b),ve=$.getPrefixCls,Ce=$.direction,Se,Ke=ve("breadcrumb",j);if(H&&H.length>0){var ue=[];Se=H.map(function(ee){var le=E(ee.path,re);le&&ue.push(le);var et;return ee.children&&ee.children.length&&(et=d.createElement(y.a,null,ee.children.map(function(Re){return d.createElement(y.a.Item,{key:Re.path||Re.breadcrumbName},W(Re,re,H,C(ue,Re.path,re)))}))),d.createElement(u,{overlay:et,separator:R,key:le||ee.breadcrumbName},W(ee,re,H,ue))})}else K&&(Se=Object(i.a)(K).map(function(ee,le){return ee&&(Object(w.a)(ee.type&&(ee.type.__ANT_BREADCRUMB_ITEM===!0||ee.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(b.a)(ee,{separator:R,key:le}))}));var Le=o()(B,Ke,m()({},"".concat(Ke,"-rtl"),Ce==="rtl"));return d.createElement("div",p()({className:Le,style:U},ye),Se)};_.Item=u,_.Separator=A;var L=_,P=N.a=L},bKJz:function(M,N,n){},bLfw:function(M,N,n){var v=n("bYtY"),p=n("Qxkt"),S=n("iRjW"),m=n("Yl7c"),g=m.enableClassManagement,f=m.parseClassType,d=n("4NO4"),c=d.makeInner,o=n("+TT/"),i=n("3hzK"),t=c(),a=p.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(r,s,u,h){p.call(this,r,s,u,h),this.uid=S.getUID("ec_cpt_model")},init:function(r,s,u,h){this.mergeDefaultAndTheme(r,u)},mergeDefaultAndTheme:function(r,s){var u=this.layoutMode,h=u?o.getLayoutParams(r):{},A=s.getTheme();v.merge(r,A.get(this.mainType)),v.merge(r,this.getDefaultOption()),u&&o.mergeLayoutParam(r,h,u)},mergeOption:function(r,s){v.merge(this.option,r,!0);var u=this.layoutMode;u&&o.mergeLayoutParam(this.option,r,u)},optionUpdated:function(r,s){},getDefaultOption:function(){var r=t(this);if(!r.defaultOption){for(var s=[],u=this.constructor;u;){var h=u.prototype.defaultOption;h&&s.push(h),u=u.superClass}for(var A={},y=s.length-1;y>=0;y--)A=v.merge(A,s[y],!0);r.defaultOption=A}return r.defaultOption},getReferringComponents:function(r){return this.ecModel.queryComponents({mainType:r,index:this.get(r+"Index",!0),id:this.get(r+"Id",!0)})}});g(a,{registerWhenExtend:!0}),S.enableSubTypeDefaulter(a),S.enableTopologicalTravel(a,e);function e(r){var s=[];return v.each(a.getClassesByMainType(r),function(u){s=s.concat(u.prototype.dependencies||[])}),s=v.map(s,function(u){return f(u).main}),r!=="dataset"&&v.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}v.mixin(a,i);var l=a;M.exports=l},bMXI:function(M,N,n){var v=n("bYtY"),p=n("QBsz"),S=n("Fofx"),m=n("mFDi"),g=n("DN4a"),f=p.applyTransform;function d(){g.call(this)}v.mixin(d,g);function c(t){this.name=t,this.zoomLimit,g.call(this),this._roamTransformable=new d,this._rawTransformable=new d,this._center,this._zoom}c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,a,e,l){return this._rect=new m(t,a,e,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,a,e,l){this.transformTo(t,a,e,l),this._viewRect=new m(t,a,e,l)},transformTo:function(t,a,e,l){var r=this.getBoundingRect(),s=this._rawTransformable;s.transform=r.calculateTransform(new m(t,a,e,l)),s.decomposeTransform(),this._updateTransform()},setCenter:function(t){if(!t)return;this._center=t,this._updateCenterAndZoom()},setZoom:function(t){t=t||1;var a=this.zoomLimit;a&&(a.max!=null&&(t=Math.min(a.max,t)),a.min!=null&&(t=Math.max(a.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect(),a=t.x+t.width/2,e=t.y+t.height/2;return[a,e]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),a=this._roamTransformable,e=this.getDefaultCenter(),l=this.getCenter(),r=this.getZoom();l=p.applyTransform([],l,t),e=p.applyTransform([],e,t),a.origin=l,a.position=[e[0]-l[0],e[1]-l[1]],a.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,a=this._rawTransformable;a.parent=t,t.updateTransform(),a.updateTransform(),S.copy(this.transform||(this.transform=[]),a.transform||S.create()),this._rawTransform=a.getLocalTransform(),this.invTransform=this.invTransform||[],S.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,a=this._rawTransformable;return{roamTransform:t?v.slice(t):S.create(),rawScale:v.slice(a.scale),rawPosition:v.slice(a.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,a,e){var l=a?this._rawTransform:this.transform;return e=e||[],l?f(e,t,l):p.copy(e,t)},pointToData:function(t){var a=this.invTransform;return a?f([],t,a):[t[0],t[1]]},convertToPixel:v.curry(o,"dataToPoint"),convertFromPixel:v.curry(o,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},v.mixin(c,g);function o(t,a,e,l){var r=e.seriesModel,s=r?r.coordinateSystem:null;return s===this?s[t](l):null}var i=c;M.exports=i},bNin:function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("FBjb"),m=n("Itpr"),g=m.radialCoordinate,f=n("ProS"),d=n("4mN7"),c=n("bMXI"),o=n("Ae+d"),i=n("SgGq"),t=n("xSat"),a=t.onIrrelevantElement,e=n("Tghj"),l=e.__DEV__,r=n("OELB"),s=r.parsePercent,u=p.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,E){var C=E.childPoints,_=C.length,L=E.parentPoint,P=C[0],k=C[_-1];if(_===1){T.moveTo(L[0],L[1]),T.lineTo(P[0],P[1]);return}var F=E.orient,j=F==="TB"||F==="BT"?0:1,z=1-j,R=s(E.forkPosition,1),U=[];U[j]=L[j],U[z]=L[z]+(k[z]-L[z])*R,T.moveTo(L[0],L[1]),T.lineTo(U[0],U[1]),T.moveTo(P[0],P[1]),U[j]=P[j],T.lineTo(U[0],U[1]),U[j]=k[j],T.lineTo(U[0],U[1]),T.lineTo(k[0],k[1]);for(var B=1;B<_-1;B++){var H=C[B];T.moveTo(H[0],H[1]),U[j]=H[j],T.lineTo(U[0],U[1])}}}),h=f.extendChartView({type:"tree",init:function(T,E){this._oldTree,this._mainGroup=new p.Group,this._controller=new i(E.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,E,C,_){var L=T.getData(),P=T.layoutInfo,k=this._mainGroup,F=T.get("layout");F==="radial"?k.attr("position",[P.x+P.width/2,P.y+P.height/2]):k.attr("position",[P.x,P.y]),this._updateViewCoordSys(T,P,F),this._updateController(T,E,C);var j=this._data,z={expandAndCollapse:T.get("expandAndCollapse"),layout:F,edgeShape:T.get("edgeShape"),edgeForkPosition:T.get("edgeForkPosition"),orient:T.getOrient(),curvature:T.get("lineStyle.curveness"),symbolRotate:T.get("symbolRotate"),symbolOffset:T.get("symbolOffset"),hoverAnimation:T.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};L.diff(j).add(function(R){A(L,R)&&w(L,R,null,k,T,z)}).update(function(R,U){var B=j.getItemGraphicEl(U);if(!A(L,R)){B&&x(j,U,B,k,T,z);return}w(L,R,B,k,T,z)}).remove(function(R){var U=j.getItemGraphicEl(R);U&&x(j,R,U,k,T,z)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),z.expandAndCollapse===!0&&L.eachItemGraphicEl(function(R,U){R.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:U})})}),this._data=L},_updateViewCoordSys:function(T){var E=T.getData(),C=[];E.each(function(j){var z=E.getItemLayout(j);z&&!isNaN(z.x)&&!isNaN(z.y)&&C.push([+z.x,+z.y])});var _=[],L=[];d.fromPoints(C,_,L);var P=this._min,k=this._max;L[0]-_[0]===0&&(_[0]=P?P[0]:_[0]-1,L[0]=k?k[0]:L[0]+1),L[1]-_[1]===0&&(_[1]=P?P[1]:_[1]-1,L[1]=k?k[1]:L[1]+1);var F=T.coordinateSystem=new c;F.zoomLimit=T.get("scaleLimit"),F.setBoundingRect(_[0],_[1],L[0]-_[0],L[1]-_[1]),F.setCenter(T.get("center")),F.setZoom(T.get("zoom")),this.group.attr({position:F.position,scale:F.scale}),this._viewCoordSys=F,this._min=_,this._max=L},_updateController:function(T,E,C){var _=this._controller,L=this._controllerHost,P=this.group;_.setPointerChecker(function(k,F,j){var z=P.getBoundingRect();return z.applyTransform(P.transform),z.contain(F,j)&&!a(k,C,T)}),_.enable(T.get("roam")),L.zoomLimit=T.get("scaleLimit"),L.zoom=T.coordinateSystem.getZoom(),_.off("pan").off("zoom").on("pan",function(k){o.updateViewOnPan(L,k.dx,k.dy),C.dispatchAction({seriesId:T.id,type:"treeRoam",dx:k.dx,dy:k.dy})},this).on("zoom",function(k){o.updateViewOnZoom(L,k.scale,k.originX,k.originY),C.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:k.scale,originX:k.originX,originY:k.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var E=T.getData(),C=this._getNodeGlobalScale(T),_=[C,C];E.eachItemGraphicEl(function(L,P){L.attr("scale",_)})},_getNodeGlobalScale:function(T){var E=T.coordinateSystem;if(E.type!=="view")return 1;var C=this._nodeScaleRatio,_=E.scale,L=_&&_[0]||1,P=E.getZoom(),k=(P-1)*C+1;return k/L},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function A(T,E){var C=T.getItemLayout(E);return C&&!isNaN(C.x)&&!isNaN(C.y)&&T.getItemVisual(E,"symbol")!=="none"}function y(T,E,C){return C.itemModel=E,C.itemStyle=E.getModel("itemStyle").getItemStyle(),C.hoverItemStyle=E.getModel("emphasis.itemStyle").getItemStyle(),C.lineStyle=E.getModel("lineStyle").getLineStyle(),C.labelModel=E.getModel("label"),C.hoverLabelModel=E.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function w(T,E,C,_,L,P){var k=!C,F=T.tree.getNodeByDataIndex(E),j=F.getModel(),P=y(F,j,P),z=T.tree.root,R=F.parentNode===z?F:F.parentNode||F,U=T.getItemGraphicEl(R.dataIndex),B=R.getLayout(),H=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:B,K=F.getLayout();k?(C=new S(T,E,P),C.attr("position",[H.x,H.y])):C.updateData(T,E,P),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=K.rawX,C.__radialRawY=K.rawY,_.add(C),T.setItemGraphicEl(E,C),p.updateProps(C,{position:[K.x,K.y]},L);var V=C.getSymbolPath();if(P.layout==="radial"){var W=z.children[0],G=W.getLayout(),re=W.children.length,ye,$;if(K.x===G.x&&F.isExpand===!0){var ve={};ve.x=(W.children[0].getLayout().x+W.children[re-1].getLayout().x)/2,ve.y=(W.children[0].getLayout().y+W.children[re-1].getLayout().y)/2,ye=Math.atan2(ve.y-G.y,ve.x-G.x),ye<0&&(ye=Math.PI*2+ye),$=ve.x<G.x,$&&(ye=ye-Math.PI)}else ye=Math.atan2(K.y-G.y,K.x-G.x),ye<0&&(ye=Math.PI*2+ye),F.children.length===0||F.children.length!==0&&F.isExpand===!1?($=K.x<G.x,$&&(ye=ye-Math.PI)):($=K.x>G.x,$||(ye=ye-Math.PI));var Ce=$?"left":"right",Se=P.labelModel.get("rotate"),Ke=Se*(Math.PI/180);V.setStyle({textPosition:P.labelModel.get("position")||Ce,textRotation:Se==null?-ye:Ke,textOrigin:"center",verticalAlign:"middle"})}b(L,F,z,C,H,B,K,_,P)}function b(T,E,C,_,L,P,k,F,j){var z=j.edgeShape,R=_.__edge;if(z==="curve")E.parentNode&&E.parentNode!==C&&(R||(R=_.__edge=new p.BezierCurve({shape:O(j,L,L),style:v.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),p.updateProps(R,{shape:O(j,P,k),style:{opacity:1}},T));else if(z==="polyline"&&(j.layout==="orthogonal"&&(E!==C&&E.children&&E.children.length!==0&&E.isExpand===!0))){for(var U=E.children,B=[],H=0;H<U.length;H++){var K=U[H].getLayout();B.push([K.x,K.y])}R||(R=_.__edge=new u({shape:{parentPoint:[k.x,k.y],childPoints:[[k.x,k.y]],orient:j.orient,forkPosition:j.edgeForkPosition},style:v.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),p.updateProps(R,{shape:{parentPoint:[k.x,k.y],childPoints:B},style:{opacity:1}},T)}F.add(R)}function x(T,E,C,_,L,P){for(var k=T.tree.getNodeByDataIndex(E),F=T.tree.root,j=k.getModel(),P=y(k,j,P),z=k.parentNode===F?k:k.parentNode||k,R=P.edgeShape,U;U=z.getLayout(),U==null;)z=z.parentNode===F?z:z.parentNode||z;p.updateProps(C,{position:[U.x+1,U.y+1]},L,function(){_.remove(C),T.setItemGraphicEl(E,null)}),C.fadeOut(null,{keepLabel:!0});var B=T.getItemGraphicEl(z.dataIndex),H=B.__edge,K=C.__edge||(z.isExpand===!1||z.children.length===1?H:void 0),R=P.edgeShape;K&&(R==="curve"?p.updateProps(K,{shape:O(P,U,U),style:{opacity:0}},L,function(){_.remove(K)}):R==="polyline"&&P.layout==="orthogonal"&&p.updateProps(K,{shape:{parentPoint:[U.x,U.y],childPoints:[[U.x,U.y]]},style:{opacity:0}},L,function(){_.remove(K)}))}function O(T,E,C){var _,L,P,k,F=T.orient,j,z,R,U;if(T.layout==="radial"){j=E.rawX,R=E.rawY,z=C.rawX,U=C.rawY;var B=g(j,R),H=g(j,R+(U-R)*T.curvature),K=g(z,U+(R-U)*T.curvature),V=g(z,U);return{x1:B.x,y1:B.y,x2:V.x,y2:V.y,cpx1:H.x,cpy1:H.y,cpx2:K.x,cpy2:K.y}}else j=E.x,R=E.y,z=C.x,U=C.y,(F==="LR"||F==="RL")&&(_=j+(z-j)*T.curvature,L=R,P=z+(j-z)*T.curvature,k=U),(F==="TB"||F==="BT")&&(_=j,L=R+(U-R)*T.curvature,P=z,k=U+(R-U)*T.curvature);return{x1:j,y1:R,x2:z,y2:U,cpx1:_,cpy1:L,cpx2:P,cpy2:k}}M.exports=h},bT9E:function(M,N,n){"use strict";n.d(N,"a",function(){return p});var v=n("VTBJ");function p(S,m){var g=Object(v.a)({},S);return Array.isArray(m)&&m.forEach(function(f){delete g[f]}),g}},bX4T:function(M,N,n){"use strict";n.d(N,"a",function(){return c});var v=n("VTBJ"),p=`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`,S=`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`,m="".concat(p," ").concat(S).split(/[\s\n]+/),g="aria-",f="data-";function d(o,i){return o.indexOf(i)===0}function c(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t;i===!1?t={aria:!0,data:!0,attr:!0}:i===!0?t={aria:!0}:t=Object(v.a)({},i);var a={};return Object.keys(o).forEach(function(e){(t.aria&&(e==="role"||d(e,g))||t.data&&d(e,f)||t.attr&&m.includes(e))&&(a[e]=o[e])}),a}},bYtY:function(M,N){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},v={"[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},p=Object.prototype.toString,S=Array.prototype,m=S.forEach,g=S.filter,f=S.slice,d=S.map,c=S.reduce,o={};function i(ee,le){ee==="createCanvas"&&(u=null),o[ee]=le}function t(ee){if(ee==null||typeof ee!="object")return ee;var le=ee,et=p.call(ee);if(et==="[object Array]"){if(!Ce(ee)){le=[];for(var Re=0,Ae=ee.length;Re<Ae;Re++)le[Re]=t(ee[Re])}}else if(v[et]){if(!Ce(ee)){var oe=ee.constructor;if(ee.constructor.from)le=oe.from(ee);else{le=new oe(ee.length);for(var Re=0,Ae=ee.length;Re<Ae;Re++)le[Re]=t(ee[Re])}}}else if(!n[et]&&!Ce(ee)&&!U(ee)){le={};for(var ce in ee)ee.hasOwnProperty(ce)&&(le[ce]=t(ee[ce]))}return le}function a(ee,le,et){if(!j(le)||!j(ee))return et?t(le):ee;for(var Re in le)if(le.hasOwnProperty(Re)){var Ae=ee[Re],oe=le[Re];j(oe)&&j(Ae)&&!P(oe)&&!P(Ae)&&!U(oe)&&!U(Ae)&&!z(oe)&&!z(Ae)&&!Ce(oe)&&!Ce(Ae)?a(Ae,oe,et):(et||!(Re in ee))&&(ee[Re]=t(le[Re],!0))}return ee}function e(ee,le){for(var et=ee[0],Re=1,Ae=ee.length;Re<Ae;Re++)et=a(et,ee[Re],le);return et}function l(ee,le){for(var et in le)le.hasOwnProperty(et)&&(ee[et]=le[et]);return ee}function r(ee,le,et){for(var Re in le)le.hasOwnProperty(Re)&&(et?le[Re]!=null:ee[Re]==null)&&(ee[Re]=le[Re]);return ee}var s=function(){return o.createCanvas()};o.createCanvas=function(){return document.createElement("canvas")};var u;function h(){return u||(u=s().getContext("2d")),u}function A(ee,le){if(ee){if(ee.indexOf)return ee.indexOf(le);for(var et=0,Re=ee.length;et<Re;et++)if(ee[et]===le)return et}return-1}function y(ee,le){var et=ee.prototype;function Re(){}Re.prototype=le.prototype,ee.prototype=new Re;for(var Ae in et)et.hasOwnProperty(Ae)&&(ee.prototype[Ae]=et[Ae]);ee.prototype.constructor=ee,ee.superClass=le}function w(ee,le,et){ee="prototype"in ee?ee.prototype:ee,le="prototype"in le?le.prototype:le,r(ee,le,et)}function b(ee){return ee?typeof ee=="string"?!1:typeof ee.length=="number":void 0}function x(ee,le,et){if(!(ee&&le))return;if(ee.forEach&&ee.forEach===m)ee.forEach(le,et);else if(ee.length===+ee.length)for(var Re=0,Ae=ee.length;Re<Ae;Re++)le.call(et,ee[Re],Re,ee);else for(var oe in ee)ee.hasOwnProperty(oe)&&le.call(et,ee[oe],oe,ee)}function O(ee,le,et){if(!(ee&&le))return;if(ee.map&&ee.map===d)return ee.map(le,et);for(var Re=[],Ae=0,oe=ee.length;Ae<oe;Ae++)Re.push(le.call(et,ee[Ae],Ae,ee));return Re}function T(ee,le,et,Re){if(!(ee&&le))return;if(ee.reduce&&ee.reduce===c)return ee.reduce(le,et,Re);for(var Ae=0,oe=ee.length;Ae<oe;Ae++)et=le.call(Re,et,ee[Ae],Ae,ee);return et}function E(ee,le,et){if(!(ee&&le))return;if(ee.filter&&ee.filter===g)return ee.filter(le,et);for(var Re=[],Ae=0,oe=ee.length;Ae<oe;Ae++)le.call(et,ee[Ae],Ae,ee)&&Re.push(ee[Ae]);return Re}function C(ee,le,et){if(!(ee&&le))return;for(var Re=0,Ae=ee.length;Re<Ae;Re++)if(le.call(et,ee[Re],Re,ee))return ee[Re]}function _(ee,le){var et=f.call(arguments,2);return function(){return ee.apply(le,et.concat(f.call(arguments)))}}function L(ee){var le=f.call(arguments,1);return function(){return ee.apply(this,le.concat(f.call(arguments)))}}function P(ee){return p.call(ee)==="[object Array]"}function k(ee){return typeof ee=="function"}function F(ee){return p.call(ee)==="[object String]"}function j(ee){var le=typeof ee;return le==="function"||!!ee&&le==="object"}function z(ee){return!!n[p.call(ee)]}function R(ee){return!!v[p.call(ee)]}function U(ee){return typeof ee=="object"&&typeof ee.nodeType=="number"&&typeof ee.ownerDocument=="object"}function B(ee){return ee!==ee}function H(ee){for(var le=0,et=arguments.length;le<et;le++)if(arguments[le]!=null)return arguments[le]}function K(ee,le){return ee!=null?ee:le}function V(ee,le,et){return ee!=null?ee:le!=null?le:et}function W(){return Function.call.apply(f,arguments)}function G(ee){if(typeof ee=="number")return[ee,ee,ee,ee];var le=ee.length;return le===2?[ee[0],ee[1],ee[0],ee[1]]:le===3?[ee[0],ee[1],ee[2],ee[1]]:ee}function re(ee,le){if(!ee)throw new Error(le)}function ye(ee){return ee==null?null:typeof ee.trim=="function"?ee.trim():ee.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var $="__ec_primitive__";function ve(ee){ee[$]=!0}function Ce(ee){return ee[$]}function Se(ee){var le=P(ee);this.data={};var et=this;ee instanceof Se?ee.each(Re):ee&&x(ee,Re);function Re(Ae,oe){le?et.set(Ae,oe):et.set(oe,Ae)}}Se.prototype={constructor:Se,get:function(le){return this.data.hasOwnProperty(le)?this.data[le]:null},set:function(le,et){return this.data[le]=et},each:function(le,et){et!==void 0&&(le=_(le,et));for(var Re in this.data)this.data.hasOwnProperty(Re)&&le(this.data[Re],Re)},removeKey:function(le){delete this.data[le]}};function Ke(ee){return new Se(ee)}function ue(ee,le){for(var et=new ee.constructor(ee.length+le.length),Re=0;Re<ee.length;Re++)et[Re]=ee[Re];var Ae=ee.length;for(Re=0;Re<le.length;Re++)et[Re+Ae]=le[Re];return et}function Le(){}N.$override=i,N.clone=t,N.merge=a,N.mergeAll=e,N.extend=l,N.defaults=r,N.createCanvas=s,N.getContext=h,N.indexOf=A,N.inherits=y,N.mixin=w,N.isArrayLike=b,N.each=x,N.map=O,N.reduce=T,N.filter=E,N.find=C,N.bind=_,N.curry=L,N.isArray=P,N.isFunction=k,N.isString=F,N.isObject=j,N.isBuiltInObject=z,N.isTypedArray=R,N.isDom=U,N.eqNaN=B,N.retrieve=H,N.retrieve2=K,N.retrieve3=V,N.slice=W,N.normalizeCssArray=G,N.assert=re,N.trim=ye,N.setAsPrimitive=ve,N.isPrimitive=Ce,N.createHashMap=Ke,N.concatArray=ue,N.noop=Le},bZqE:function(M,N){function n(p,S,m){for(var g=[p],f=[],d;d=g.pop();)if(f.push(d),d.isExpand){var c=d.children;if(c.length)for(var o=0;o<c.length;o++)g.push(c[o])}for(;d=f.pop();)S(d,m)}function v(p,S){for(var m=[p],g;g=m.pop();)if(S(g),g.isExpand){var f=g.children;if(f.length)for(var d=f.length-1;d>=0;d--)m.push(f[d])}}N.eachAfter=n,N.eachBefore=v},bahg:function(M,N){function n(v){return v.split("")}M.exports=n},bbsP:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("CWI+"),m=n.n(S)},bogI:function(M,N,n){"use strict";n.d(N,"a",function(){return v});var v=function(S){if(!S)return null;var m=typeof S=="function";return m?S():S}},bsht:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};N.default=v},bx4M:function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("q1tI"),f=n("TSYQ"),d=n.n(f),c=n("BGR+"),o=n("H84U"),i=function(O,T){var E={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(E[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(O);_<C.length;_++)T.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(O,C[_])&&(E[C[_]]=O[C[_]]);return E},t=function(T){return g.createElement(o.a,null,function(E){var C=E.getPrefixCls,_=T.prefixCls,L=T.className,P=T.hoverable,k=P===void 0?!0:P,F=i(T,["prefixCls","className","hoverable"]),j=C("card",_),z=d()("".concat(j,"-grid"),L,p()({},"".concat(j,"-grid-hoverable"),k));return g.createElement("div",m()({},F,{className:z}))})},a=t,e=function(O,T){var E={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(E[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(O);_<C.length;_++)T.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(O,C[_])&&(E[C[_]]=O[C[_]]);return E},l=function(T){return g.createElement(o.a,null,function(E){var C=E.getPrefixCls,_=T.prefixCls,L=T.className,P=T.avatar,k=T.title,F=T.description,j=e(T,["prefixCls","className","avatar","title","description"]),z=C("card",_),R=d()("".concat(z,"-meta"),L),U=P?g.createElement("div",{className:"".concat(z,"-meta-avatar")},P):null,B=k?g.createElement("div",{className:"".concat(z,"-meta-title")},k):null,H=F?g.createElement("div",{className:"".concat(z,"-meta-description")},F):null,K=B||H?g.createElement("div",{className:"".concat(z,"-meta-detail")},B,H):null;return g.createElement("div",m()({},j,{className:R}),U,K)})},r=l,s=n("ZTPi"),u=n("BMrR"),h=n("kPKH"),A=n("3Nzz"),y=function(O,T){var E={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&T.indexOf(C)<0&&(E[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(O);_<C.length;_++)T.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(O,C[_])&&(E[C[_]]=O[C[_]]);return E};function w(O){var T=O.map(function(E,C){return g.createElement("li",{style:{width:"".concat(100/O.length,"%")},key:"action-".concat(C)},g.createElement("span",null,E))});return T}var b=function(T){var E,C,_=g.useContext(o.b),L=_.getPrefixCls,P=_.direction,k=g.useContext(A.b),F=function(Bt){T.onTabChange&&T.onTabChange(Bt)},j=function(){var Bt;return g.Children.forEach(T.children,function(kt){kt&&kt.type&&kt.type===a&&(Bt=!0)}),Bt},z=T.prefixCls,R=T.className,U=T.extra,B=T.headStyle,H=B===void 0?{}:B,K=T.bodyStyle,V=K===void 0?{}:K,W=T.title,G=T.loading,re=T.bordered,ye=re===void 0?!0:re,$=T.size,ve=T.type,Ce=T.cover,Se=T.actions,Ke=T.tabList,ue=T.children,Le=T.activeTabKey,ee=T.defaultActiveTabKey,le=T.tabBarExtraContent,et=T.hoverable,Re=T.tabProps,Ae=Re===void 0?{}:Re,oe=y(T,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),ce=L("card",z),be=V.padding===0||V.padding==="0px"?{padding:24}:void 0,Te=g.createElement("div",{className:"".concat(ce,"-loading-block")}),Be=g.createElement("div",{className:"".concat(ce,"-loading-content"),style:be},g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:22},Te)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:8},Te),g.createElement(h.a,{span:15},Te)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:6},Te),g.createElement(h.a,{span:18},Te)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:13},Te),g.createElement(h.a,{span:9},Te)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:4},Te),g.createElement(h.a,{span:3},Te),g.createElement(h.a,{span:16},Te))),De=Le!==void 0,ae=m()(m()({},Ae),(E={},p()(E,De?"activeKey":"defaultActiveKey",De?Le:ee),p()(E,"tabBarExtraContent",le),E)),fe,Oe=Ke&&Ke.length?g.createElement(s.a,m()({size:"large"},ae,{className:"".concat(ce,"-head-tabs"),onChange:F}),Ke.map(function(Ot){return g.createElement(s.a.TabPane,{tab:Ot.tab,disabled:Ot.disabled,key:Ot.key})})):null;(W||U||Oe)&&(fe=g.createElement("div",{className:"".concat(ce,"-head"),style:H},g.createElement("div",{className:"".concat(ce,"-head-wrapper")},W&&g.createElement("div",{className:"".concat(ce,"-head-title")},W),U&&g.createElement("div",{className:"".concat(ce,"-extra")},U)),Oe));var Je=Ce?g.createElement("div",{className:"".concat(ce,"-cover")},Ce):null,Et=g.createElement("div",{className:"".concat(ce,"-body"),style:V},G?Be:ue),Ze=Se&&Se.length?g.createElement("ul",{className:"".concat(ce,"-actions")},w(Se)):null,Ne=Object(c.default)(oe,["onTabChange"]),It=$||k,Xe=d()(ce,R,(C={},p()(C,"".concat(ce,"-loading"),G),p()(C,"".concat(ce,"-bordered"),ye),p()(C,"".concat(ce,"-hoverable"),et),p()(C,"".concat(ce,"-contain-grid"),j()),p()(C,"".concat(ce,"-contain-tabs"),Ke&&Ke.length),p()(C,"".concat(ce,"-").concat(It),It),p()(C,"".concat(ce,"-type-").concat(ve),!!ve),p()(C,"".concat(ce,"-rtl"),P==="rtl"),C));return g.createElement("div",m()({},Ne,{className:Xe}),fe,Je,Et,Ze)};b.Grid=a,b.Meta=r;var x=N.a=b},c2i1:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("Yl7c"),g=m.enableClassCheck;function f(e){return"_EC_"+e}var d=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},c=d.prototype;c.type="graph",c.isDirected=function(){return this._directed},c.addNode=function(e,l){e=e==null?""+l:""+e;var r=this._nodesMap;if(r[f(e)])return;var s=new o(e,l);return s.hostGraph=this,this.nodes.push(s),r[f(e)]=s,s},c.getNodeByIndex=function(e){var l=this.data.getRawIndex(e);return this.nodes[l]},c.getNodeById=function(e){return this._nodesMap[f(e)]},c.addEdge=function(e,l,r){var s=this._nodesMap,u=this._edgesMap;if(typeof e=="number"&&(e=this.nodes[e]),typeof l=="number"&&(l=this.nodes[l]),o.isInstance(e)||(e=s[f(e)]),o.isInstance(l)||(l=s[f(l)]),!e||!l)return;var h=e.id+"-"+l.id;if(u[h])return;var A=new i(e,l,r);return A.hostGraph=this,this._directed&&(e.outEdges.push(A),l.inEdges.push(A)),e.edges.push(A),e!==l&&l.edges.push(A),this.edges.push(A),u[h]=A,A},c.getEdgeByIndex=function(e){var l=this.edgeData.getRawIndex(e);return this.edges[l]},c.getEdge=function(e,l){o.isInstance(e)&&(e=e.id),o.isInstance(l)&&(l=l.id);var r=this._edgesMap;return this._directed?r[e+"-"+l]:r[e+"-"+l]||r[l+"-"+e]},c.eachNode=function(e,l){for(var r=this.nodes,s=r.length,u=0;u<s;u++)r[u].dataIndex>=0&&e.call(l,r[u],u)},c.eachEdge=function(e,l){for(var r=this.edges,s=r.length,u=0;u<s;u++)r[u].dataIndex>=0&&r[u].node1.dataIndex>=0&&r[u].node2.dataIndex>=0&&e.call(l,r[u],u)},c.breadthFirstTraverse=function(e,l,r,s){if(o.isInstance(l)||(l=this._nodesMap[f(l)]),!l)return;for(var u=r==="out"?"outEdges":r==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(e.call(s,l,null))return;for(var A=[l];A.length;)for(var y=A.shift(),w=y[u],h=0;h<w.length;h++){var b=w[h],x=b.node1===y?b.node2:b.node1;if(!x.__visited){if(e.call(s,x,y))return;A.push(x),x.__visited=!0}}},c.update=function(){for(var e=this.data,l=this.edgeData,r=this.nodes,s=this.edges,u=0,h=r.length;u<h;u++)r[u].dataIndex=-1;for(var u=0,h=e.count();u<h;u++)r[e.getRawIndex(u)].dataIndex=u;l.filterSelf(function(A){var y=s[l.getRawIndex(A)];return y.node1.dataIndex>=0&&y.node2.dataIndex>=0});for(var u=0,h=s.length;u<h;u++)s[u].dataIndex=-1;for(var u=0,h=l.count();u<h;u++)s[l.getRawIndex(u)].dataIndex=u},c.clone=function(){for(var e=new d(this._directed),l=this.nodes,r=this.edges,s=0;s<l.length;s++)e.addNode(l[s].id,l[s].dataIndex);for(var s=0;s<r.length;s++){var u=r[s];e.addEdge(u.node1.id,u.node2.id,u.dataIndex)}return e};function o(e,l){this.id=e==null?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}o.prototype={constructor:o,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(e){if(this.dataIndex<0)return;var l=this.hostGraph,r=l.data.getItemModel(this.dataIndex);return r.getModel(e)}};function i(e,l,r){this.node1=e,this.node2=l,this.dataIndex=r==null?-1:r}i.prototype.getModel=function(e){if(this.dataIndex<0)return;var l=this.hostGraph,r=l.edgeData.getItemModel(this.dataIndex);return r.getModel(e)};var t=function(e,l){return{getValue:function(r){var s=this[e][l];return s.get(s.getDimension(r||"value"),this.dataIndex)},setVisual:function(r,s){this.dataIndex>=0&&this[e][l].setItemVisual(this.dataIndex,r,s)},getVisual:function(r,s){return this[e][l].getItemVisual(this.dataIndex,r,s)},setLayout:function(r,s){this.dataIndex>=0&&this[e][l].setItemLayout(this.dataIndex,r,s)},getLayout:function(){return this[e][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][l].getRawIndex(this.dataIndex)}}};S.mixin(o,t("hostGraph","data")),S.mixin(i,t("hostGraph","edgeData")),d.Node=o,d.Edge=i,g(o),g(i);var a=d;M.exports=a},c3jg:function(M,N,n){"use strict";n.d(N,"e",function(){return d}),n.d(N,"c",function(){return o}),n.d(N,"d",function(){return i}),n.d(N,"a",function(){return a}),n.d(N,"f",function(){return e}),n.d(N,"b",function(){return l});var v=n("KQm4"),p=n("VTBJ"),S=n("Ff2n"),m=n("Zm9Q"),g=n("Kwbf"),f=n("wPhX");function d(r,s){return r!=null?r:s}function c(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function u(h){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(h||[]).forEach(function(y){var w=y.key,b=y.children;Object(g.a)(w!=null,"Tree node must have a certain key: [".concat(A).concat(w,"]"));var x=String(w);Object(g.a)(!s.has(x)||w===null||w===void 0,"Same 'key' exist in the Tree: ".concat(x)),s.set(x,!0),u(b,"".concat(A).concat(x," > "))})}u(r)}function o(r){function s(u){var h=Object(m.a)(u);return h.map(function(A){if(!Object(f.i)(A))return Object(g.a)(!A,"Tree/TreeNode can only accept TreeNode as children."),null;var y=A.key,w=A.props,b=w.children,x=Object(S.a)(w,["children"]),O=Object(p.a)({key:y},x),T=s(b);return T.length&&(O.children=T),O}).filter(function(A){return A})}return s(r)}function i(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=new Set(s===!0?[]:s),h=[];function A(y){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return y.map(function(b,x){var O=Object(f.h)(w?w.pos:"0",x),T=d(b.key,O),E=Object(p.a)(Object(p.a)({},b),{},{parent:w,pos:O,children:null,data:b,isStart:[].concat(Object(v.a)(w?w.isStart:[]),[x===0]),isEnd:[].concat(Object(v.a)(w?w.isEnd:[]),[x===y.length-1])});return h.push(E),s===!0||u.has(T)?E.children=A(b.children||[],E):E.children=[],E})}return A(r),h}function t(r,s,u){var h;u?typeof u=="string"?h=function(w){return w[u]}:typeof u=="function"&&(h=function(w){return u(w)}):h=function(w,b){return d(w.key,b)};function A(y,w,b){var x=y?y.children:r,O=y?Object(f.h)(b.pos,w):"0";if(y){var T=h(y,O),E={node:y,index:w,pos:O,key:T,parentPos:b.node?b.pos:null,level:b.level+1};s(E)}x&&x.forEach(function(C,_){A(C,_,{node:y,pos:O,level:b?b.level+1:-1})})}A(null)}function a(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=s.initWrapper,h=s.processEntity,A=s.onProcessFinished,y=arguments.length>2?arguments[2]:void 0,w={},b={},x={posEntities:w,keyEntities:b};return u&&(x=u(x)||x),t(r,function(O){var T=O.node,E=O.index,C=O.pos,_=O.key,L=O.parentPos,P=O.level,k={node:T,index:E,key:_,pos:C,level:P},F=d(_,C);w[C]=k,b[F]=k,k.parent=w[L],k.parent&&(k.parent.children=k.parent.children||[],k.parent.children.push(k)),h&&h(k,x)},y),A&&A(x),x}function e(r,s){var u=s.expandedKeys,h=s.selectedKeys,A=s.loadedKeys,y=s.loadingKeys,w=s.checkedKeys,b=s.halfCheckedKeys,x=s.dragOverNodeKey,O=s.dropPosition,T=s.keyEntities,E=T[r],C={eventKey:r,expanded:u.indexOf(r)!==-1,selected:h.indexOf(r)!==-1,loaded:A.indexOf(r)!==-1,loading:y.indexOf(r)!==-1,checked:w.indexOf(r)!==-1,halfChecked:b.indexOf(r)!==-1,pos:String(E?E.pos:""),dragOver:x===r&&O===0,dragOverGapTop:x===r&&O===-1,dragOverGapBottom:x===r&&O===1};return C}function l(r){var s=r.data,u=r.expanded,h=r.selected,A=r.checked,y=r.loaded,w=r.loading,b=r.halfChecked,x=r.dragOver,O=r.dragOverGapTop,T=r.dragOverGapBottom,E=r.pos,C=r.active,_=Object(p.a)(Object(p.a)({},s),{},{expanded:u,selected:h,checked:A,loaded:y,loading:w,halfChecked:b,dragOver:x,dragOverGapTop:O,dragOverGapBottom:T,pos:E,active:C});return"props"in _||Object.defineProperty(_,"props",{get:function(){return Object(g.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),r}}),_}},c5Ni:function(M,N,n){},c5fP:function(M,N,n){"use strict";function v(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(Bt){return typeof Bt}:v=function(Bt){return Bt&&typeof Symbol=="function"&&Bt.constructor===Symbol&&Bt!==Symbol.prototype?"symbol":typeof Bt},v(Xe)}Object.defineProperty(N,"__esModule",{value:!0}),N._tr_init=Je,N._tr_stored_block=Et,N._tr_flush_block=Ne,N._tr_tally=It,N._tr_align=Ze;var p=m(n("6BzB"));function S(){if(typeof WeakMap!="function")return null;var Xe=new WeakMap;return S=function(){return Xe},Xe}function m(Xe){if(Xe&&Xe.__esModule)return Xe;if(Xe===null||v(Xe)!=="object"&&typeof Xe!="function")return{default:Xe};var Ot=S();if(Ot&&Ot.has(Xe))return Ot.get(Xe);var Bt={},kt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _t in Xe)if(Object.prototype.hasOwnProperty.call(Xe,_t)){var Ft=kt?Object.getOwnPropertyDescriptor(Xe,_t):null;Ft&&(Ft.get||Ft.set)?Object.defineProperty(Bt,_t,Ft):Bt[_t]=Xe[_t]}return Bt.default=Xe,Ot&&Ot.set(Xe,Bt),Bt}var g=4,f=0,d=1,c=2;function o(Xe){for(var Ot=Xe.length;--Ot>=0;)Xe[Ot]=0}var i=0,t=1,a=2,e=3,l=258,r=29,s=256,u=s+1+r,h=30,A=19,y=2*u+1,w=15,b=16,x=7,O=256,T=16,E=17,C=18,_=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],L=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],F=512,j=new Array((u+2)*2);o(j);var z=new Array(h*2);o(z);var R=new Array(F);o(R);var U=new Array(l-e+1);o(U);var B=new Array(r);o(B);var H=new Array(h);o(H);function K(Xe,Ot,Bt,kt,_t){this.static_tree=Xe,this.extra_bits=Ot,this.extra_base=Bt,this.elems=kt,this.max_length=_t,this.has_stree=Xe&&Xe.length}var V,W,G;function re(Xe,Ot){this.dyn_tree=Xe,this.max_code=0,this.stat_desc=Ot}function ye(Xe){return Xe<256?R[Xe]:R[256+(Xe>>>7)]}function $(Xe,Ot){Xe.pending_buf[Xe.pending++]=Ot&255,Xe.pending_buf[Xe.pending++]=Ot>>>8&255}function ve(Xe,Ot,Bt){Xe.bi_valid>b-Bt?(Xe.bi_buf|=Ot<<Xe.bi_valid&65535,$(Xe,Xe.bi_buf),Xe.bi_buf=Ot>>b-Xe.bi_valid,Xe.bi_valid+=Bt-b):(Xe.bi_buf|=Ot<<Xe.bi_valid&65535,Xe.bi_valid+=Bt)}function Ce(Xe,Ot,Bt){ve(Xe,Bt[Ot*2],Bt[Ot*2+1])}function Se(Xe,Ot){var Bt=0;do Bt|=Xe&1,Xe>>>=1,Bt<<=1;while(--Ot>0);return Bt>>>1}function Ke(Xe){Xe.bi_valid===16?($(Xe,Xe.bi_buf),Xe.bi_buf=0,Xe.bi_valid=0):Xe.bi_valid>=8&&(Xe.pending_buf[Xe.pending++]=Xe.bi_buf&255,Xe.bi_buf>>=8,Xe.bi_valid-=8)}function ue(Xe,Ot){var Bt=Ot.dyn_tree,kt=Ot.max_code,_t=Ot.stat_desc.static_tree,Ft=Ot.stat_desc.has_stree,ke=Ot.stat_desc.extra_bits,te=Ot.stat_desc.extra_base,Q=Ot.stat_desc.max_length,qe,je,q,wt,Vt,lt,or=0;for(wt=0;wt<=w;wt++)Xe.bl_count[wt]=0;for(Bt[Xe.heap[Xe.heap_max]*2+1]=0,qe=Xe.heap_max+1;qe<y;qe++){if(je=Xe.heap[qe],wt=Bt[Bt[je*2+1]*2+1]+1,wt>Q&&(wt=Q,or++),Bt[je*2+1]=wt,je>kt)continue;Xe.bl_count[wt]++,Vt=0,je>=te&&(Vt=ke[je-te]),lt=Bt[je*2],Xe.opt_len+=lt*(wt+Vt),Ft&&(Xe.static_len+=lt*(_t[je*2+1]+Vt))}if(or===0)return;do{for(wt=Q-1;Xe.bl_count[wt]===0;)wt--;Xe.bl_count[wt]--,Xe.bl_count[wt+1]+=2,Xe.bl_count[Q]--,or-=2}while(or>0);for(wt=Q;wt!==0;wt--)for(je=Xe.bl_count[wt];je!==0;){if(q=Xe.heap[--qe],q>kt)continue;Bt[q*2+1]!==wt&&(Xe.opt_len+=(wt-Bt[q*2+1])*Bt[q*2],Bt[q*2+1]=wt),je--}}function Le(Xe,Ot,Bt){var kt=new Array(w+1),_t=0,Ft,ke;for(Ft=1;Ft<=w;Ft++)kt[Ft]=_t=_t+Bt[Ft-1]<<1;for(ke=0;ke<=Ot;ke++){var te=Xe[ke*2+1];if(te===0)continue;Xe[ke*2]=Se(kt[te]++,te)}}function ee(){var Xe,Ot,Bt,kt,_t,Ft=new Array(w+1);for(Bt=0,kt=0;kt<r-1;kt++)for(B[kt]=Bt,Xe=0;Xe<1<<_[kt];Xe++)U[Bt++]=kt;for(U[Bt-1]=kt,_t=0,kt=0;kt<16;kt++)for(H[kt]=_t,Xe=0;Xe<1<<L[kt];Xe++)R[_t++]=kt;for(_t>>=7;kt<h;kt++)for(H[kt]=_t<<7,Xe=0;Xe<1<<L[kt]-7;Xe++)R[256+_t++]=kt;for(Ot=0;Ot<=w;Ot++)Ft[Ot]=0;for(Xe=0;Xe<=143;)j[Xe*2+1]=8,Xe++,Ft[8]++;for(;Xe<=255;)j[Xe*2+1]=9,Xe++,Ft[9]++;for(;Xe<=279;)j[Xe*2+1]=7,Xe++,Ft[7]++;for(;Xe<=287;)j[Xe*2+1]=8,Xe++,Ft[8]++;for(Le(j,u+1,Ft),Xe=0;Xe<h;Xe++)z[Xe*2+1]=5,z[Xe*2]=Se(Xe,5);V=new K(j,_,s+1,u,w),W=new K(z,L,0,h,w),G=new K(new Array(0),P,0,A,x)}function le(Xe){var Ot;for(Ot=0;Ot<u;Ot++)Xe.dyn_ltree[Ot*2]=0;for(Ot=0;Ot<h;Ot++)Xe.dyn_dtree[Ot*2]=0;for(Ot=0;Ot<A;Ot++)Xe.bl_tree[Ot*2]=0;Xe.dyn_ltree[O*2]=1,Xe.opt_len=Xe.static_len=0,Xe.last_lit=Xe.matches=0}function et(Xe){Xe.bi_valid>8?$(Xe,Xe.bi_buf):Xe.bi_valid>0&&(Xe.pending_buf[Xe.pending++]=Xe.bi_buf),Xe.bi_buf=0,Xe.bi_valid=0}function Re(Xe,Ot,Bt,kt){et(Xe),kt&&($(Xe,Bt),$(Xe,~Bt)),p.arraySet(Xe.pending_buf,Xe.window,Ot,Bt,Xe.pending),Xe.pending+=Bt}function Ae(Xe,Ot,Bt,kt){var _t=Ot*2,Ft=Bt*2;return Xe[_t]<Xe[Ft]||Xe[_t]===Xe[Ft]&&kt[Ot]<=kt[Bt]}function oe(Xe,Ot,Bt){for(var kt=Xe.heap[Bt],_t=Bt<<1;_t<=Xe.heap_len&&!(_t<Xe.heap_len&&Ae(Ot,Xe.heap[_t+1],Xe.heap[_t],Xe.depth)&&_t++,Ae(Ot,kt,Xe.heap[_t],Xe.depth));)Xe.heap[Bt]=Xe.heap[_t],Bt=_t,_t<<=1;Xe.heap[Bt]=kt}function ce(Xe,Ot,Bt){var kt,_t,Ft=0,ke,te;if(Xe.last_lit!==0)do kt=Xe.pending_buf[Xe.d_buf+Ft*2]<<8|Xe.pending_buf[Xe.d_buf+Ft*2+1],_t=Xe.pending_buf[Xe.l_buf+Ft],Ft++,kt===0?Ce(Xe,_t,Ot):(ke=U[_t],Ce(Xe,ke+s+1,Ot),te=_[ke],te!==0&&(_t-=B[ke],ve(Xe,_t,te)),kt--,ke=ye(kt),Ce(Xe,ke,Bt),te=L[ke],te!==0&&(kt-=H[ke],ve(Xe,kt,te)));while(Ft<Xe.last_lit);Ce(Xe,O,Ot)}function be(Xe,Ot){var Bt=Ot.dyn_tree,kt=Ot.stat_desc.static_tree,_t=Ot.stat_desc.has_stree,Ft=Ot.stat_desc.elems,ke,te,Q=-1,qe;for(Xe.heap_len=0,Xe.heap_max=y,ke=0;ke<Ft;ke++)Bt[ke*2]!==0?(Xe.heap[++Xe.heap_len]=Q=ke,Xe.depth[ke]=0):Bt[ke*2+1]=0;for(;Xe.heap_len<2;)qe=Xe.heap[++Xe.heap_len]=Q<2?++Q:0,Bt[qe*2]=1,Xe.depth[qe]=0,Xe.opt_len--,_t&&(Xe.static_len-=kt[qe*2+1]);for(Ot.max_code=Q,ke=Xe.heap_len>>1;ke>=1;ke--)oe(Xe,Bt,ke);qe=Ft;do ke=Xe.heap[1],Xe.heap[1]=Xe.heap[Xe.heap_len--],oe(Xe,Bt,1),te=Xe.heap[1],Xe.heap[--Xe.heap_max]=ke,Xe.heap[--Xe.heap_max]=te,Bt[qe*2]=Bt[ke*2]+Bt[te*2],Xe.depth[qe]=(Xe.depth[ke]>=Xe.depth[te]?Xe.depth[ke]:Xe.depth[te])+1,Bt[ke*2+1]=Bt[te*2+1]=qe,Xe.heap[1]=qe++,oe(Xe,Bt,1);while(Xe.heap_len>=2);Xe.heap[--Xe.heap_max]=Xe.heap[1],ue(Xe,Ot),Le(Bt,Q,Xe.bl_count)}function Te(Xe,Ot,Bt){var kt,_t=-1,Ft,ke=Ot[0*2+1],te=0,Q=7,qe=4;for(ke===0&&(Q=138,qe=3),Ot[(Bt+1)*2+1]=65535,kt=0;kt<=Bt;kt++){if(Ft=ke,ke=Ot[(kt+1)*2+1],++te<Q&&Ft===ke)continue;te<qe?Xe.bl_tree[Ft*2]+=te:Ft!==0?(Ft!==_t&&Xe.bl_tree[Ft*2]++,Xe.bl_tree[T*2]++):te<=10?Xe.bl_tree[E*2]++:Xe.bl_tree[C*2]++,te=0,_t=Ft,ke===0?(Q=138,qe=3):Ft===ke?(Q=6,qe=3):(Q=7,qe=4)}}function Be(Xe,Ot,Bt){var kt,_t=-1,Ft,ke=Ot[0*2+1],te=0,Q=7,qe=4;for(ke===0&&(Q=138,qe=3),kt=0;kt<=Bt;kt++){if(Ft=ke,ke=Ot[(kt+1)*2+1],++te<Q&&Ft===ke)continue;if(te<qe)do Ce(Xe,Ft,Xe.bl_tree);while(--te!==0);else Ft!==0?(Ft!==_t&&(Ce(Xe,Ft,Xe.bl_tree),te--),Ce(Xe,T,Xe.bl_tree),ve(Xe,te-3,2)):te<=10?(Ce(Xe,E,Xe.bl_tree),ve(Xe,te-3,3)):(Ce(Xe,C,Xe.bl_tree),ve(Xe,te-11,7));te=0,_t=Ft,ke===0?(Q=138,qe=3):Ft===ke?(Q=6,qe=3):(Q=7,qe=4)}}function De(Xe){var Ot;for(Te(Xe,Xe.dyn_ltree,Xe.l_desc.max_code),Te(Xe,Xe.dyn_dtree,Xe.d_desc.max_code),be(Xe,Xe.bl_desc),Ot=A-1;Ot>=3&&!(Xe.bl_tree[k[Ot]*2+1]!==0);Ot--);return Xe.opt_len+=3*(Ot+1)+5+5+4,Ot}function ae(Xe,Ot,Bt,kt){var _t;for(ve(Xe,Ot-257,5),ve(Xe,Bt-1,5),ve(Xe,kt-4,4),_t=0;_t<kt;_t++)ve(Xe,Xe.bl_tree[k[_t]*2+1],3);Be(Xe,Xe.dyn_ltree,Ot-1),Be(Xe,Xe.dyn_dtree,Bt-1)}function fe(Xe){var Ot=4093624447,Bt;for(Bt=0;Bt<=31;Bt++,Ot>>>=1)if(Ot&1&&Xe.dyn_ltree[Bt*2]!==0)return f;if(Xe.dyn_ltree[9*2]!==0||Xe.dyn_ltree[10*2]!==0||Xe.dyn_ltree[13*2]!==0)return d;for(Bt=32;Bt<s;Bt++)if(Xe.dyn_ltree[Bt*2]!==0)return d;return f}var Oe=!1;function Je(Xe){Oe||(ee(),Oe=!0),Xe.l_desc=new re(Xe.dyn_ltree,V),Xe.d_desc=new re(Xe.dyn_dtree,W),Xe.bl_desc=new re(Xe.bl_tree,G),Xe.bi_buf=0,Xe.bi_valid=0,le(Xe)}function Et(Xe,Ot,Bt,kt){ve(Xe,(i<<1)+(kt?1:0),3),Re(Xe,Ot,Bt,!0)}function Ze(Xe){ve(Xe,t<<1,3),Ce(Xe,O,j),Ke(Xe)}function Ne(Xe,Ot,Bt,kt){var _t,Ft,ke=0;Xe.level>0?(Xe.strm.data_type===c&&(Xe.strm.data_type=fe(Xe)),be(Xe,Xe.l_desc),be(Xe,Xe.d_desc),ke=De(Xe),_t=Xe.opt_len+3+7>>>3,Ft=Xe.static_len+3+7>>>3,Ft<=_t&&(_t=Ft)):_t=Ft=Bt+5,Bt+4<=_t&&Ot!==-1?Et(Xe,Ot,Bt,kt):Xe.strategy===g||Ft===_t?(ve(Xe,(t<<1)+(kt?1:0),3),ce(Xe,j,z)):(ve(Xe,(a<<1)+(kt?1:0),3),ae(Xe,Xe.l_desc.max_code+1,Xe.d_desc.max_code+1,ke+1),ce(Xe,Xe.dyn_ltree,Xe.dyn_dtree)),le(Xe),kt&&et(Xe)}function It(Xe,Ot,Bt){return Xe.pending_buf[Xe.d_buf+Xe.last_lit*2]=Ot>>>8&255,Xe.pending_buf[Xe.d_buf+Xe.last_lit*2+1]=Ot&255,Xe.pending_buf[Xe.l_buf+Xe.last_lit]=Bt&255,Xe.last_lit++,Ot===0?Xe.dyn_ltree[Bt*2]++:(Xe.matches++,Ot--,Xe.dyn_ltree[(U[Bt]+s+1)*2]++,Xe.dyn_dtree[ye(Ot)*2]++),Xe.last_lit===Xe.lit_bufsize-1}},c8qY:function(M,N,n){var v=n("IwbS"),p=n("fls0");function S(a){this._ctor=a||p,this.group=new v.Group}var m=S.prototype;m.isPersistent=function(){return!0},m.updateData=function(a){var e=this,l=e.group,r=e._lineData;e._lineData=a,r||l.removeAll();var s=c(a);a.diff(r).add(function(u){g(e,a,u,s)}).update(function(u,h){f(e,r,a,h,u,s)}).remove(function(u){l.remove(r.getItemGraphicEl(u))}).execute()};function g(a,e,l,r){var s=e.getItemLayout(l);if(!i(s))return;var u=new a._ctor(e,l,r);e.setItemGraphicEl(l,u),a.group.add(u)}function f(a,e,l,r,s,u){var h=e.getItemGraphicEl(r);if(!i(l.getItemLayout(s))){a.group.remove(h);return}h?h.updateData(l,s,u):h=new a._ctor(l,s,u),l.setItemGraphicEl(s,h),a.group.add(h)}m.updateLayout=function(){var a=this._lineData;if(!a)return;a.eachItemGraphicEl(function(e,l){e.updateLayout(a,l)},this)},m.incrementalPrepareUpdate=function(a){this._seriesScope=c(a),this._lineData=null,this.group.removeAll()};function d(a){return a.animators&&a.animators.length>0}m.incrementalUpdate=function(a,e){function l(h){!h.isGroup&&!d(h)&&(h.incremental=h.useHoverLayer=!0)}for(var r=a.start;r<a.end;r++){var s=e.getItemLayout(r);if(i(s)){var u=new this._ctor(e,r,this._seriesScope);u.traverse(l),this.group.add(u),e.setItemGraphicEl(r,u)}}};function c(a){var e=a.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};function o(a){return isNaN(a[0])||isNaN(a[1])}function i(a){return!o(a[0])&&!o(a[1])}var t=S;M.exports=t},cCMj:function(M,N,n){var v=n("bYtY"),p={updateSelectedMap:function(S){this._targetList=v.isArray(S)?S.slice():[],this._selectTargetMap=v.reduce(S||[],function(m,g){return m.set(g.name,g),m},v.createHashMap())},select:function(S,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(S),f=this.get("selectedMode");f==="single"&&this._selectTargetMap.each(function(d){d.selected=!1}),g&&(g.selected=!0)},unSelect:function(S,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(S);g&&(g.selected=!1)},toggleSelected:function(S,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(S);if(g!=null)return this[g.selected?"unSelect":"select"](S,m),g.selected},isSelected:function(S,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(S);return g&&g.selected}};M.exports=p},cVA7:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=n("MT78"),p=g(v),S=n("t3Fx"),m=g(S);function g(i){return i&&i.__esModule?i:{default:i}}function f(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}function d(i,t){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:i}function c(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(i,t):i.__proto__=t)}var o=function(i){c(t,i);function t(a){f(this,t);var e=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,a));return e.echartsLib=p.default,e}return t}(m.default);N.default=o},cWXX:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("oIFs"),m=n.n(S)},ca2m:function(M,N,n){var v=n("bYtY"),p={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)"]}}},S={};S.categoryAxis=v.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},p),S.valueAxis=v.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},p),S.timeAxis=v.defaults({scale:!0,min:"dataMin",max:"dataMax"},S.valueAxis),S.logAxis=v.defaults({scale:!0,logBase:10},S.valueAxis);var m=S;M.exports=m},cbJ4:function(M,N,n){var v=n("bYtY"),p=v.createHashMap;function S(m){m.eachSeriesByType("themeRiver",function(g){var f=g.getData(),d=g.getRawData(),c=g.get("color"),o=p();f.each(function(i){o.set(f.getRawIndex(i),i)}),d.each(function(i){var t=d.getName(i),a=c[(g.nameMap.get(t)-1)%c.length];d.setItemVisual(i,"color",a);var e=o.get(i);e!=null&&f.setItemVisual(e,"color",a)})})}M.exports=S},chpo:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=1,p=function(){return"".concat(v++)};N.default=p},cpOr:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("T4UG"),m=n("YXkt"),g=n("bYtY"),f=g.concatArray,d=g.mergeAll,c=g.map,o=n("7aKB"),i=o.encodeHTML,t=n("IDmD"),a=typeof Uint32Array=="undefined"?Array:Uint32Array,e=typeof Float64Array=="undefined"?Array:Float64Array;function l(u){var h=u.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(u.data=c(h,function(A){var y=[A[0].coord,A[1].coord],w={coords:y};return A[0].name&&(w.fromName=A[0].name),A[1].name&&(w.toName=A[1].name),d([w,A[0],A[1]])}))}var r=S.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],l(u);var h=this._processFlatCoordsArray(u.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(u.data=new Float32Array(h.count)),r.superApply(this,"init",arguments)},mergeOption:function(u){if(u.data=u.data||[],l(u),u.data){var h=this._processFlatCoordsArray(u.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(u.data=new Float32Array(h.count))}r.superApply(this,"mergeOption",arguments)},appendData:function(u){var h=this._processFlatCoordsArray(u.data);h.flatCoords&&(this._flatCoords?(this._flatCoords=f(this._flatCoords,h.flatCoords),this._flatCoordsOffset=f(this._flatCoordsOffset,h.flatCoordsOffset)):(this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset),u.data=new Float32Array(h.count)),this.getRawData().appendData(u.data)},_getCoordsFromItemModel:function(u){var h=this.getData().getItemModel(u),A=h.option instanceof Array?h.option:h.getShallow("coords");return A},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,h){if(this._flatCoordsOffset){for(var A=this._flatCoordsOffset[u*2],y=this._flatCoordsOffset[u*2+1],w=0;w<y;w++)h[w]=h[w]||[],h[w][0]=this._flatCoords[A+w*2],h[w][1]=this._flatCoords[A+w*2+1];return y}else{for(var b=this._getCoordsFromItemModel(u),w=0;w<b.length;w++)h[w]=h[w]||[],h[w][0]=b[w][0],h[w][1]=b[w][1];return b.length}},_processFlatCoordsArray:function(u){var h=0;if(this._flatCoords&&(h=this._flatCoords.length),typeof u[0]=="number"){for(var A=u.length,y=new a(A),w=new e(A),b=0,x=0,O=0,T=0;T<A;){O++;var E=u[T++];y[x++]=b+h,y[x++]=E;for(var C=0;C<E;C++){var _=u[T++],L=u[T++];w[b++]=_,w[b++]=L,T>A}}return{flatCoordsOffset:new Uint32Array(y.buffer,0,x),flatCoords:w,count:O}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,h){var A=new m(["value"],this);return A.hasItemOption=!1,A.initData(u.data,[],function(y,w,b,x){if(y instanceof Array)return NaN;A.hasItemOption=!0;var O=y.value;if(O!=null)return O instanceof Array?O[x]:O}),A},formatTooltip:function(u){var h=this.getData(),A=h.getItemModel(u),y=A.get("name");if(y)return y;var w=A.get("fromName"),b=A.get("toName"),x=[];return w!=null&&x.push(w),b!=null&&x.push(b),i(x.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var u=this.option.progressive;return u==null?this.option.large?1e4:this.get("progressive"):u},getProgressiveThreshold:function(){var u=this.option.progressiveThreshold;return u==null?this.option.large?2e4:this.get("progressiveThreshold"):u},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),s=r;M.exports=s},crZl:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("IwbS"),m=n("7aKB"),g=n("+TT/"),f=n("XxSj"),d=v.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(c,o){this.ecModel=c,this.api=o,this.visualMapModel},render:function(c,o,i,t){if(this.visualMapModel=c,c.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(c){var o=this.visualMapModel,i=m.normalizeCssArray(o.get("padding")||0),t=c.getBoundingRect();c.add(new S.Rect({z2:-1,silent:!0,shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[3]+i[1],height:t.height+i[0]+i[2]},style:{fill:o.get("backgroundColor"),stroke:o.get("borderColor"),lineWidth:o.get("borderWidth")}}))},getControllerVisual:function(c,o,i){i=i||{};var t=i.forceState,a=this.visualMapModel,e={};if(o==="symbol"&&(e.symbol=a.get("itemSymbol")),o==="color"){var l=a.get("contentColor");e.color=l}function r(A){return e[A]}function s(A,y){e[A]=y}var u=a.controllerVisuals[t||a.getValueState(c)],h=f.prepareVisualTypes(u);return p.each(h,function(A){var y=u[A];i.convertOpacityToAlpha&&A==="opacity"&&(A="colorAlpha",y=u.__alphaForOpacity),f.dependsOn(A,o)&&(y&&y.applyVisual(c,r,s))}),e[o]},positionGroup:function(c){var o=this.visualMapModel,i=this.api;g.positionElement(c,o.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:p.noop});M.exports=d},crp1:function(M,N,n){"use strict";n.d(N,"b",function(){return Yt}),n.d(N,"a",function(){return Nn});var v={},p=function(rt,it,$t,Dt,St){var Ut=v[it]||(v[it]=URL.createObjectURL(new Blob([rt],{type:"text/javascript"}))),vt=new Worker(Ut);return vt.onerror=function(Pt){return St(Pt.error,null)},vt.onmessage=function(Pt){return St(null,Pt.data)},vt.postMessage($t,Dt),vt},S=Uint8Array,m=Uint16Array,g=Uint32Array,f=new S([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),d=new S([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),c=new S([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=function(rt,it){for(var $t=new m(31),Dt=0;Dt<31;++Dt)$t[Dt]=it+=1<<rt[Dt-1];for(var St=new g($t[30]),Dt=1;Dt<30;++Dt)for(var Ut=$t[Dt];Ut<$t[Dt+1];++Ut)St[Ut]=Ut-$t[Dt]<<5|Dt;return[$t,St]},i=o(f,2),t=i[0],a=i[1];t[28]=258,a[258]=28;for(var e=o(d,0),l=e[0],r=e[1],s=new m(32768),u=0;u<32768;++u){var h=(u&43690)>>>1|(u&21845)<<1;h=(h&52428)>>>2|(h&13107)<<2,h=(h&61680)>>>4|(h&3855)<<4,s[u]=((h&65280)>>>8|(h&255)<<8)>>>1}for(var A=function(rt,it,$t){for(var Dt=rt.length,St=0,Ut=new m(it);St<Dt;++St)++Ut[rt[St]-1];var vt=new m(it);for(St=0;St<it;++St)vt[St]=vt[St-1]+Ut[St-1]<<1;var Pt;if($t){Pt=new m(1<<it);var br=15-it;for(St=0;St<Dt;++St)if(rt[St])for(var ur=St<<4|rt[St],fr=it-rt[St],Jr=vt[rt[St]-1]++<<fr,Zr=Jr|(1<<fr)-1;Jr<=Zr;++Jr)Pt[s[Jr]>>>br]=ur}else for(Pt=new m(Dt),St=0;St<Dt;++St)Pt[St]=s[vt[rt[St]-1]++]>>>15-rt[St];return Pt},y=new S(288),u=0;u<144;++u)y[u]=8;for(var u=144;u<256;++u)y[u]=9;for(var u=256;u<280;++u)y[u]=7;for(var u=280;u<288;++u)y[u]=8;for(var w=new S(32),u=0;u<32;++u)w[u]=5;var b=A(y,9,0),x=A(y,9,1),O=A(w,5,0),T=A(w,5,1),E=function(rt){for(var it=rt[0],$t=1;$t<rt.length;++$t)rt[$t]>it&&(it=rt[$t]);return it},C=function(rt,it,$t){var Dt=it/8>>0;return(rt[Dt]|rt[Dt+1]<<8)>>>(it&7)&$t},_=function(rt,it){var $t=it/8>>0;return(rt[$t]|rt[$t+1]<<8|rt[$t+2]<<16)>>>(it&7)},L=function(rt){return(rt/8>>0)+(rt&7&&1)},P=function(rt,it,$t){(it==null||it<0)&&(it=0),($t==null||$t>rt.length)&&($t=rt.length);var Dt=new(rt instanceof m?m:rt instanceof g?g:S)($t-it);return Dt.set(rt.subarray(it,$t)),Dt},k=function(rt,it,$t){var Dt=rt.length,St=!it||$t,Ut=!$t||$t.i;$t||($t={}),it||(it=new S(Dt*3));var vt=function(Cn){var Nt=it.length;if(Cn>Nt){var dt=new S(Math.max(Nt*2,Cn));dt.set(it),it=dt}},Pt=$t.f||0,br=$t.p||0,ur=$t.b||0,fr=$t.l,Jr=$t.d,Zr=$t.m,Fn=$t.n,Rn=Dt*8;do{if(!fr){$t.f=Pt=C(rt,br,1);var ei=C(rt,br+1,3);if(br+=3,ei)if(ei==1)fr=x,Jr=T,Zr=9,Fn=5;else if(ei==2){var Ye=C(rt,br,31)+257,ge=C(rt,br+10,15)+4,Ie=Ye+C(rt,br+5,31)+1;br+=14;for(var Fe=new S(Ie),Ve=new S(19),We=0;We<ge;++We)Ve[c[We]]=C(rt,br+We*3,7);br+=ge*3;var Qe=E(Ve),yt=(1<<Qe)-1;if(!Ut&&br+Ie*(Qe+7)>Rn)break;for(var ot=A(Ve,Qe,1),We=0;We<Ie;){var Zt=ot[C(rt,br,yt)];br+=Zt&15;var di=Zt>>>4;if(di<16)Fe[We++]=di;else{var Rr=0,Lr=0;for(di==16?(Lr=3+C(rt,br,3),br+=2,Rr=Fe[We-1]):di==17?(Lr=3+C(rt,br,7),br+=3):di==18&&(Lr=11+C(rt,br,127),br+=7);Lr--;)Fe[We++]=Rr}}var Gr=Fe.subarray(0,Ye),er=Fe.subarray(Ye);Zr=E(Gr),Fn=E(er),fr=A(Gr,Zr,1),Jr=A(er,Fn,1)}else throw"invalid block type";else{var di=L(br)+4,gi=rt[di-4]|rt[di-3]<<8,Ii=di+gi;if(Ii>Dt){if(Ut)throw"unexpected EOF";break}St&&vt(ur+gi),it.set(rt.subarray(di,Ii),ur),$t.b=ur+=gi,$t.p=br=Ii*8;continue}if(br>Rn)throw"unexpected EOF"}St&&vt(ur+131072);for(var On=(1<<Zr)-1,yr=(1<<Fn)-1,gn=Zr+Fn+18;Ut||br+gn<Rn;){var Rr=fr[_(rt,br)&On],tn=Rr>>>4;if(br+=Rr&15,br>Rn)throw"unexpected EOF";if(!Rr)throw"invalid length/literal";if(tn<256)it[ur++]=tn;else if(tn==256){fr=null;break}else{var Fr=tn-254;if(tn>264){var We=tn-257,Xn=f[We];Fr=C(rt,br,(1<<Xn)-1)+t[We],br+=Xn}var hi=Jr[_(rt,br)&yr],_i=hi>>>4;if(!hi)throw"invalid distance";br+=hi&15;var er=l[_i];if(_i>3){var Xn=d[_i];er+=_(rt,br)&(1<<Xn)-1,br+=Xn}if(br>Rn)throw"unexpected EOF";St&&vt(ur+131072);for(var Ur=ur+Fr;ur<Ur;ur+=4)it[ur]=it[ur-er],it[ur+1]=it[ur+1-er],it[ur+2]=it[ur+2-er],it[ur+3]=it[ur+3-er];ur=Ur}}$t.l=fr,$t.p=br,$t.b=ur,fr&&(Pt=1,$t.m=Zr,$t.d=Jr,$t.n=Fn)}while(!Pt);return ur==it.length?it:P(it,0,ur)},F=function(rt,it,$t){$t<<=it&7;var Dt=it/8>>0;rt[Dt]|=$t,rt[Dt+1]|=$t>>>8},j=function(rt,it,$t){$t<<=it&7;var Dt=it/8>>0;rt[Dt]|=$t,rt[Dt+1]|=$t>>>8,rt[Dt+2]|=$t>>>16},z=function(rt,it){for(var $t=[],Dt=0;Dt<rt.length;++Dt)rt[Dt]&&$t.push({s:Dt,f:rt[Dt]});var St=$t.length,Ut=$t.slice();if(!St)return[new S(0),0];if(St==1){var vt=new S($t[0].s+1);return vt[$t[0].s]=1,[vt,1]}$t.sort(function(Ie,Fe){return Ie.f-Fe.f}),$t.push({s:-1,f:25001});var Pt=$t[0],br=$t[1],ur=0,fr=1,Jr=2;for($t[0]={s:-1,f:Pt.f+br.f,l:Pt,r:br};fr!=St-1;)Pt=$t[$t[ur].f<$t[Jr].f?ur++:Jr++],br=$t[ur!=fr&&$t[ur].f<$t[Jr].f?ur++:Jr++],$t[fr++]={s:-1,f:Pt.f+br.f,l:Pt,r:br};for(var Zr=Ut[0].s,Dt=1;Dt<St;++Dt)Ut[Dt].s>Zr&&(Zr=Ut[Dt].s);var Fn=new m(Zr+1),Rn=R($t[fr-1],Fn,0);if(Rn>it){var Dt=0,ei=0,di=Rn-it,gi=1<<di;for(Ut.sort(function(Fe,Ve){return Fn[Ve.s]-Fn[Fe.s]||Fe.f-Ve.f});Dt<St;++Dt){var Ii=Ut[Dt].s;if(Fn[Ii]>it)ei+=gi-(1<<Rn-Fn[Ii]),Fn[Ii]=it;else break}for(ei>>>=di;ei>0;){var Ye=Ut[Dt].s;Fn[Ye]<it?ei-=1<<it-Fn[Ye]++-1:++Dt}for(;Dt>=0&&ei;--Dt){var ge=Ut[Dt].s;Fn[ge]==it&&(--Fn[ge],++ei)}Rn=it}return[new S(Fn),Rn]},R=function xt(rt,it,$t){return rt.s==-1?Math.max(xt(rt.l,it,$t+1),xt(rt.r,it,$t+1)):it[rt.s]=$t},U=function(rt){for(var it=rt.length;it&&!rt[--it];);for(var $t=new m(++it),Dt=0,St=rt[0],Ut=1,vt=function(ur){$t[Dt++]=ur},Pt=1;Pt<=it;++Pt)if(rt[Pt]==St&&Pt!=it)++Ut;else{if(!St&&Ut>2){for(;Ut>138;Ut-=138)vt(32754);Ut>2&&(vt(Ut>10?Ut-11<<5|28690:Ut-3<<5|12305),Ut=0)}else if(Ut>3){for(vt(St),--Ut;Ut>6;Ut-=6)vt(8304);Ut>2&&(vt(Ut-3<<5|8208),Ut=0)}for(;Ut--;)vt(St);Ut=1,St=rt[Pt]}return[$t.subarray(0,Dt),it]},B=function(rt,it){for(var $t=0,Dt=0;Dt<it.length;++Dt)$t+=rt[Dt]*it[Dt];return $t},H=function(rt,it,$t){var Dt=$t.length,St=L(it+2);rt[St]=Dt&255,rt[St+1]=Dt>>>8,rt[St+2]=rt[St]^255,rt[St+3]=rt[St+1]^255;for(var Ut=0;Ut<Dt;++Ut)rt[St+Ut+4]=$t[Ut];return(St+4+Dt)*8},K=function(rt,it,$t,Dt,St,Ut,vt,Pt,br,ur,fr){F(it,fr++,$t),++St[256];for(var Jr=z(St,15),Zr=Jr[0],Fn=Jr[1],Rn=z(Ut,15),ei=Rn[0],di=Rn[1],gi=U(Zr),Ii=gi[0],Ye=gi[1],ge=U(ei),Ie=ge[0],Fe=ge[1],Ve=new m(19),We=0;We<Ii.length;++We)Ve[Ii[We]&31]++;for(var We=0;We<Ie.length;++We)Ve[Ie[We]&31]++;for(var Qe=z(Ve,7),yt=Qe[0],ot=Qe[1],Zt=19;Zt>4&&!yt[c[Zt-1]];--Zt);var Rr=ur+5<<3,Lr=B(St,y)+B(Ut,w)+vt,Gr=B(St,Zr)+B(Ut,ei)+vt+14+3*Zt+B(Ve,yt)+(2*Ve[16]+3*Ve[17]+7*Ve[18]);if(Rr<=Lr&&Rr<=Gr)return H(it,fr,rt.subarray(br,br+ur));var er,On,yr,gn;if(F(it,fr,1+(Gr<Lr)),fr+=2,Gr<Lr){er=A(Zr,Fn,0),On=Zr,yr=A(ei,di,0),gn=ei;var tn=A(yt,ot,0);F(it,fr,Ye-257),F(it,fr+5,Fe-1),F(it,fr+10,Zt-4),fr+=14;for(var We=0;We<Zt;++We)F(it,fr+3*We,yt[c[We]]);fr+=3*Zt;for(var Fr=[Ii,Ie],Xn=0;Xn<2;++Xn)for(var hi=Fr[Xn],We=0;We<hi.length;++We){var _i=hi[We]&31;F(it,fr,tn[_i]),fr+=yt[_i],_i>15&&(F(it,fr,hi[We]>>>5&127),fr+=hi[We]>>>12)}}else er=b,On=y,yr=O,gn=w;for(var We=0;We<Pt;++We)if(Dt[We]>255){var _i=Dt[We]>>>18&31;j(it,fr,er[_i+257]),fr+=On[_i+257],_i>7&&(F(it,fr,Dt[We]>>>23&31),fr+=f[_i]);var Ur=Dt[We]&31;j(it,fr,yr[Ur]),fr+=gn[Ur],Ur>3&&(j(it,fr,Dt[We]>>>5&8191),fr+=d[Ur])}else j(it,fr,er[Dt[We]]),fr+=On[Dt[We]];return j(it,fr,er[256]),fr+On[256]},V=new g([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),W=new S(0),G=function(rt,it,$t,Dt,St,Ut){var vt=rt.length,Pt=new S(Dt+vt+5*(1+Math.floor(vt/7e3))+St),br=Pt.subarray(Dt,Pt.length-St),ur=0;if(!it||vt<8)for(var fr=0;fr<=vt;fr+=65535){var Jr=fr+65535;Jr<vt?ur=H(br,ur,rt.subarray(fr,Jr)):(br[fr]=Ut,ur=H(br,ur,rt.subarray(fr,vt)))}else{for(var Zr=V[it-1],Fn=Zr>>>13,Rn=Zr&8191,ei=(1<<$t)-1,di=new m(32768),gi=new m(ei+1),Ii=Math.ceil($t/3),Ye=2*Ii,ge=function(qt){return(rt[qt]^rt[qt+1]<<Ii^rt[qt+2]<<Ye)&ei},Ie=new g(25e3),Fe=new m(288),Ve=new m(32),We=0,Qe=0,fr=0,yt=0,ot=0,Zt=0;fr<vt;++fr){var Rr=ge(fr),Lr=fr&32767,Gr=gi[Rr];if(di[Lr]=Gr,gi[Rr]=Lr,ot<=fr){var er=vt-fr;if((We>7e3||yt>24576)&&er>423){ur=K(rt,br,0,Ie,Fe,Ve,Qe,yt,Zt,fr-Zt,ur),yt=We=Qe=0,Zt=fr;for(var On=0;On<286;++On)Fe[On]=0;for(var On=0;On<30;++On)Ve[On]=0}var yr=2,gn=0,tn=Rn,Fr=Lr-Gr&32767;if(er>2&&Rr==ge(fr-Fr))for(var Xn=Math.min(Fn,er)-1,hi=Math.min(32767,fr),_i=Math.min(258,er);Fr<=hi&&--tn&&Lr!=Gr;){if(rt[fr+yr]==rt[fr+yr-Fr]){for(var Ur=0;Ur<_i&&rt[fr+Ur]==rt[fr+Ur-Fr];++Ur);if(Ur>yr){if(yr=Ur,gn=Fr,Ur>Xn)break;for(var sn=Math.min(Fr,Ur-2),Cn=0,On=0;On<sn;++On){var Nt=fr-Fr+On+32768&32767,dt=di[Nt],bt=Nt-dt+32768&32767;bt>Cn&&(Cn=bt,Gr=Nt)}}}Lr=Gr,Gr=di[Lr],Fr+=Lr-Gr+32768&32767}if(gn){Ie[yt++]=268435456|a[yr]<<18|r[gn];var Tt=a[yr]&31,Lt=r[gn]&31;Qe+=f[Tt]+d[Lt],++Fe[257+Tt],++Ve[Lt],ot=fr+yr,++We}else Ie[yt++]=rt[fr],++Fe[rt[fr]]}}ur=K(rt,br,Ut,Ie,Fe,Ve,Qe,yt,Zt,fr-Zt,ur),Ut||(ur=H(br,ur,W))}return P(Pt,0,Dt+L(ur)+St)},re=function(){for(var xt=new g(256),rt=0;rt<256;++rt){for(var it=rt,$t=9;--$t;)it=(it&1&&3988292384)^it>>>1;xt[rt]=it}return xt}(),ye=function(){var rt=4294967295;return{p:function($t){for(var Dt=rt,St=0;St<$t.length;++St)Dt=re[Dt&255^$t[St]]^Dt>>>8;rt=Dt},d:function(){return rt^4294967295}}},$=function(){var rt=1,it=0;return{p:function(Dt){for(var St=rt,Ut=it,vt=Dt.length,Pt=0;Pt!=vt;){for(var br=Math.min(Pt+5552,vt);Pt<br;++Pt)St+=Dt[Pt],Ut+=St;St%=65521,Ut%=65521}rt=St,it=Ut},d:function(){return(rt>>>8<<16|(it&255)<<8|it>>>8)+((rt&255)<<23)*2}}},ve=function(rt,it,$t,Dt,St){return G(rt,it.level==null?6:it.level,it.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(rt.length)))*1.5):12+it.mem,$t,Dt,!St)},Ce=function(rt,it){var $t={};for(var Dt in rt)$t[Dt]=rt[Dt];for(var Dt in it)$t[Dt]=it[Dt];return $t},Se=function(rt,it,$t){for(var Dt=rt(),St=rt.toString(),Ut=St.slice(St.indexOf("[")+1,St.lastIndexOf("]")).replace(/ /g,"").split(","),vt=0;vt<Dt.length;++vt){var Pt=Dt[vt],br=Ut[vt];if(typeof Pt=="function"){it+=";"+br+"=";var ur=Pt.toString();if(Pt.prototype)if(ur.indexOf("[native code]")!=-1){var fr=ur.indexOf(" ",8)+1;it+=ur.slice(fr,ur.indexOf("(",fr))}else{it+=ur;for(var Jr in Pt.prototype)it+=";"+br+".prototype."+Jr+"="+Pt.prototype[Jr].toString()}else it+=ur}else $t[br]=Pt}return[it,$t]},Ke=[],ue=function(rt){var it=[];for(var $t in rt)(rt[$t]instanceof S||rt[$t]instanceof m||rt[$t]instanceof g)&&it.push((rt[$t]=new rt[$t].constructor(rt[$t])).buffer);return it},Le=function(rt,it,$t,Dt){var St;if(!Ke[$t]){for(var Ut="",vt={},Pt=rt.length-1,br=0;br<Pt;++br)St=Se(rt[br],Ut,vt),Ut=St[0],vt=St[1];Ke[$t]=Se(rt[Pt],Ut,vt)}var ur=Ce({},Ke[$t][1]);return p(Ke[$t][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+it.toString()+"}",$t,ur,ue(ur),Dt)},ee=function(){return[S,m,g,f,d,c,t,l,x,T,s,A,E,C,_,L,P,k,qe,ce,be]},le=function(){return[S,m,g,f,d,c,a,r,b,y,O,w,s,V,W,A,F,j,z,R,U,B,H,K,L,P,G,ve,Ft,ce]},et=function(){return[Je,Ne,Oe,ye,re]},Re=function(){return[Et,Ze]},Ae=function(){return[It,Oe,$]},oe=function(){return[Xe]},ce=function(rt){return postMessage(rt,[rt.buffer])},be=function(rt){return rt&&rt.size&&new S(rt.size)},Te=function(rt,it,$t,Dt,St,Ut){var vt=Le($t,Dt,St,function(Pt,br){vt.terminate(),Ut(Pt,br)});return it.consume||(rt=new S(rt)),vt.postMessage([rt,it],[rt.buffer]),function(){vt.terminate()}},Be=function(rt){return rt.ondata=function(it,$t){return postMessage([it,$t],[it.buffer])},function(it){return rt.push(it.data[0],it.data[1])}},De=function(rt,it,$t,Dt,St){var Ut,vt=Le(rt,Dt,St,function(Pt,br){Pt?(vt.terminate(),it.ondata.call(it,Pt)):(br[1]&&vt.terminate(),it.ondata.call(it,Pt,br[0],br[1]))});vt.postMessage($t),it.push=function(Pt,br){if(Ut)throw"stream finished";if(!it.ondata)throw"no stream handler";vt.postMessage([Pt,Ut=br],[Pt.buffer])},it.terminate=function(){vt.terminate()}},ae=function(rt,it){return rt[it]|rt[it+1]<<8},fe=function(rt,it){return(rt[it]|rt[it+1]<<8|rt[it+2]<<16)+(rt[it+3]<<23)*2},Oe=function(rt,it,$t){for(;$t;++it)rt[it]=$t,$t>>>=8},Je=function(rt,it){var $t=it.filename;if(rt[0]=31,rt[1]=139,rt[2]=8,rt[8]=it.level<2?4:it.level==9?2:0,rt[9]=3,it.mtime!=0&&Oe(rt,4,Math.floor(new Date(it.mtime||Date.now())/1e3)),$t){rt[3]=8;for(var Dt=0;Dt<=$t.length;++Dt)rt[Dt+10]=$t.charCodeAt(Dt)}},Et=function(rt){if(rt[0]!=31||rt[1]!=139||rt[2]!=8)throw"invalid gzip data";var it=rt[3],$t=10;it&4&&($t+=rt[10]|(rt[11]<<8)+2);for(var Dt=(it>>3&1)+(it>>4&1);Dt>0;Dt-=!rt[$t++]);return $t+(it&2)},Ze=function(rt){var it=rt.length;return(rt[it-4]|rt[it-3]<<8|rt[it-2]<<16)+2*(rt[it-1]<<23)},Ne=function(rt){return 10+(rt.filename&&rt.filename.length+1||0)},It=function(rt,it){var $t=it.level,Dt=$t==0?0:$t<6?1:$t==9?3:2;rt[0]=120,rt[1]=Dt<<6|(Dt?32-2*Dt:1)},Xe=function(rt){if((rt[0]&15)!=8||rt[0]>>>4>7||(rt[0]<<8|rt[1])%31)throw"invalid zlib data";if(rt[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function Ot(xt,rt){return!rt&&typeof xt=="function"&&(rt=xt,xt={}),this.ondata=rt,xt}var Bt=function(){function xt(rt,it){!it&&typeof rt=="function"&&(it=rt,rt={}),this.ondata=it,this.o=rt||{}}return xt.prototype.p=function(rt,it){this.ondata(ve(rt,this.o,0,0,!it),it)},xt.prototype.push=function(rt,it){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=it,this.p(rt,it||!1)},xt}(),kt=function(){function xt(rt,it){De([le,function(){return[Be,Bt]}],this,Ot.call(this,rt,it),function($t){var Dt=new Bt($t.data);onmessage=Be(Dt)},6)}return xt}();function _t(xt,rt,it){if(it||(it=rt,rt={}),typeof it!="function")throw"no callback";return Te(xt,rt,[le],function($t){return ce(Ft($t.data[0],$t.data[1]))},0,it)}function Ft(xt,rt){return rt===void 0&&(rt={}),ve(xt,rt,0,0)}var ke=function(){function xt(rt){this.s={},this.p=new S(0),this.ondata=rt}return xt.prototype.e=function(rt){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var it=this.p.length,$t=new S(it+rt.length);$t.set(this.p),$t.set(rt,it),this.p=$t},xt.prototype.c=function(rt){this.d=this.s.i=rt||!1;var it=this.s.b,$t=k(this.p,this.o,this.s);this.ondata(P($t,it,this.s.b),this.d),this.o=P($t,this.s.b-32768),this.s.b=this.o.length,this.p=P(this.p,this.s.p/8>>0),this.s.p&=7},xt.prototype.push=function(rt,it){this.e(rt),this.c(it)},xt}(),te=function(){function xt(rt){this.ondata=rt,De([ee,function(){return[Be,ke]}],this,0,function(){var it=new ke;onmessage=Be(it)},7)}return xt}();function Q(xt,rt,it){if(it||(it=rt,rt={}),typeof it!="function")throw"no callback";return Te(xt,rt,[ee],function($t){return ce(qe($t.data[0],be($t.data[1])))},1,it)}function qe(xt,rt){return k(xt,rt)}var je=function(){function xt(rt,it){this.c=ye(),this.l=0,this.v=1,Bt.call(this,rt,it)}return xt.prototype.push=function(rt,it){Bt.prototype.push.call(this,rt,it)},xt.prototype.p=function(rt,it){this.c.p(rt),this.l+=rt.length;var $t=ve(rt,this.o,this.v&&Ne(this.o),it&&8,!it);this.v&&(Je($t,this.o),this.v=0),it&&(Oe($t,$t.length-8,this.c.d()),Oe($t,$t.length-4,this.l)),this.ondata($t,it)},xt}(),q=function(){function xt(rt,it){De([le,et,function(){return[Be,Bt,je]}],this,Ot.call(this,rt,it),function($t){var Dt=new je($t.data);onmessage=Be(Dt)},8)}return xt}();function wt(xt,rt,it){if(it||(it=rt,rt={}),typeof it!="function")throw"no callback";return Te(xt,rt,[le,et,function(){return[Vt]}],function($t){return ce(Vt($t.data[0],$t.data[1]))},2,it)}function Vt(xt,rt){rt===void 0&&(rt={});var it=ye(),$t=xt.length;it.p(xt);var Dt=ve(xt,rt,Ne(rt),8),St=Dt.length;return Je(Dt,rt),Oe(Dt,St-8,it.d()),Oe(Dt,St-4,$t),Dt}var lt=function(){function xt(rt){this.v=1,ke.call(this,rt)}return xt.prototype.push=function(rt,it){if(ke.prototype.e.call(this,rt),this.v){var $t=Et(this.p);if($t>=this.p.length&&!it)return;this.p=this.p.subarray($t),this.v=0}if(it){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}ke.prototype.c.call(this,it)},xt}(),or=function(){function xt(rt){this.ondata=rt,De([ee,Re,function(){return[Be,ke,lt]}],this,0,function(){var it=new lt;onmessage=Be(it)},9)}return xt}();function vr(xt,rt,it){if(it||(it=rt,rt={}),typeof it!="function")throw"no callback";return Te(xt,rt,[ee,Re,function(){return[An]}],function($t){return ce(An($t.data[0]))},3,it)}function An(xt,rt){return k(xt.subarray(Et(xt),-8),rt||new S(Ze(xt)))}var hr=function(){function xt(rt,it){this.c=$(),this.v=1,Bt.call(this,rt,it)}return xt.prototype.push=function(rt,it){Bt.prototype.push.call(this,rt,it)},xt.prototype.p=function(rt,it){this.c.p(rt);var $t=ve(rt,this.o,this.v&&2,it&&4,!it);this.v&&(It($t,this.o),this.v=0),it&&Oe($t,$t.length-4,this.c.d()),this.ondata($t,it)},xt}(),xr=function(){function xt(rt,it){De([le,Ae,function(){return[Be,Bt,hr]}],this,Ot.call(this,rt,it),function($t){var Dt=new hr($t.data);onmessage=Be(Dt)},10)}return xt}();function nr(xt,rt,it){if(it||(it=rt,rt={}),typeof it!="function")throw"no callback";return Te(xt,rt,[le,Ae,function(){return[Yt]}],function($t){return ce(Yt($t.data[0],$t.data[1]))},4,it)}function Yt(xt,rt){rt===void 0&&(rt={});var it=$();it.p(xt);var $t=ve(xt,rt,2,4);return It($t,rt),Oe($t,$t.length-4,it.d()),$t}var gt=function(){function xt(rt){this.v=1,ke.call(this,rt)}return xt.prototype.push=function(rt,it){if(ke.prototype.e.call(this,rt),this.v){if(this.p.length<2&&!it)return;this.p=this.p.subarray(2),this.v=0}if(it){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}ke.prototype.c.call(this,it)},xt}(),zr=function(){function xt(rt){this.ondata=rt,De([ee,oe,function(){return[Be,ke,gt]}],this,0,function(){var it=new gt;onmessage=Be(it)},11)}return xt}();function pn(xt,rt,it){if(it||(it=rt,rt={}),typeof it!="function")throw"no callback";return Te(xt,rt,[ee,oe,function(){return[Nn]}],function($t){return ce(Nn($t.data[0],be($t.data[1])))},5,it)}function Nn(xt,rt){return k((Xe(xt),xt.subarray(2,-4)),rt)}var Vn=function(){function xt(rt){this.G=lt,this.I=ke,this.Z=gt,this.ondata=rt}return xt.prototype.push=function(rt,it){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(rt,it);else{if(this.p&&this.p.length){var $t=new S(this.p.length+rt.length);$t.set(this.p),$t.set(rt,this.p.length)}else this.p=rt;if(this.p.length>2){var Dt=this,St=function(){Dt.ondata.apply(Dt,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(St):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(St):new this.Z(St),this.s.push(this.p,it),this.p=null}}},xt}(),xi=function(){function xt(rt){this.G=or,this.I=te,this.Z=zr,this.ondata=rt}return xt.prototype.push=function(rt,it){Vn.prototype.push.call(this,rt,it)},xt}();function bn(xt,rt,it){if(it||(it=rt,rt={}),typeof it!="function")throw"no callback";return xt[0]==31&&xt[1]==139&&xt[2]==8?vr(xt,rt,it):(xt[0]&15)!=8||xt[0]>>4>7||(xt[0]<<8|xt[1])%31?Q(xt,rt,it):pn(xt,rt,it)}function Pn(xt,rt){return xt[0]==31&&xt[1]==139&&xt[2]==8?An(xt,rt):(xt[0]&15)!=8||xt[0]>>4>7||(xt[0]<<8|xt[1])%31?qe(xt,rt):Nn(xt,rt)}var jt=function xt(rt,it,$t,Dt){for(var St in rt){var Ut=rt[St],vt=it+St;Ut instanceof S?$t[vt]=[Ut,Dt]:Array.isArray(Ut)?$t[vt]=[Ut[0],Ce(Dt,Ut[1])]:xt(Ut,vt+"/",$t,Dt)}};function At(xt,rt){var it=xt.length;if(!rt&&typeof TextEncoder!="undefined")return new TextEncoder().encode(xt);for(var $t=new S(xt.length+(xt.length>>>1)),Dt=0,St=function(ur){$t[Dt++]=ur},Ut=0;Ut<it;++Ut){if(Dt+5>$t.length){var vt=new S(Dt+8+(it-Ut<<1));vt.set($t),$t=vt}var Pt=xt.charCodeAt(Ut);Pt<128||rt?St(Pt):Pt<2048?(St(192|Pt>>>6),St(128|Pt&63)):Pt>55295&&Pt<57344?(Pt=65536+(Pt&1023<<10)|xt.charCodeAt(++Ut)&1023,St(240|Pt>>>18),St(128|Pt>>>12&63),St(128|Pt>>>6&63),St(128|Pt&63)):(St(224|Pt>>>12),St(128|Pt>>>6&63),St(128|Pt&63))}return P($t,0,Dt)}function xe(xt,rt){var it="";if(!rt&&typeof TextDecoder!="undefined")return new TextDecoder().decode(xt);for(var $t=0;$t<xt.length;){var Dt=xt[$t++];Dt<128||rt?it+=String.fromCharCode(Dt):Dt<224?it+=String.fromCharCode((Dt&31)<<6|xt[$t++]&63):Dt<240?it+=String.fromCharCode((Dt&15)<<12|(xt[$t++]&63)<<6|xt[$t++]&63):(Dt=((Dt&15)<<18|(xt[$t++]&63)<<12|(xt[$t++]&63)<<6|xt[$t++]&63)-65536,it+=String.fromCharCode(55296|Dt>>10,56320|Dt&1023))}return it}var we=function(rt,it){return it+30+ae(rt,it+26)+ae(rt,it+28)},Ee=function(rt,it,$t){var Dt=ae(rt,it+28),St=xe(rt.subarray(it+46,it+46+Dt),!(ae(rt,it+8)&2048)),Ut=it+46+Dt,vt=$t?Ge(rt,Ut):[fe(rt,it+20),fe(rt,it+24),fe(rt,it+42)],Pt=vt[0],br=vt[1],ur=vt[2];return[ae(rt,it+10),Pt,br,St,Ut+ae(rt,it+30)+ae(rt,it+32),ur]},Ge=function(rt,it){for(;ae(rt,it)!=1;it+=4+ae(rt,it+2));return[fe(rt,it+12),fe(rt,it+4),fe(rt,it+20)]},nt=function(rt,it,$t,Dt,St,Ut,vt,Pt,br,ur){var fr=Ut.length,Jr=Dt.length;Oe(rt,it,br!=null?33639248:67324752),it+=4,br!=null&&(rt[it]=20,it+=2),rt[it]=20,it+=2,rt[it++]=ur==8&&(Pt.level==1?6:Pt.level<6?4:Pt.level==9?2:0),rt[it++]=vt&&8,rt[it]=ur,it+=2;var Zr=new Date(Pt.mtime||Date.now()),Fn=Zr.getFullYear()-1980;if(Fn<0||Fn>119)throw"date not in range 1980-2099";Oe(rt,it,(Fn<<24)*2|Zr.getMonth()+1<<21|Zr.getDate()<<16|Zr.getHours()<<11|Zr.getMinutes()<<5|Zr.getSeconds()>>>1),it+=4,Oe(rt,it,$t),Oe(rt,it+4,Jr),Oe(rt,it+8,St),Oe(rt,it+12,fr),it+=16,br!=null&&(Oe(rt,it+=10,br),it+=4),rt.set(Ut,it),it+=fr,br==null&&rt.set(Dt,it)},st=function(rt,it,$t,Dt,St){Oe(rt,it,101010256),Oe(rt,it+8,$t),Oe(rt,it+10,$t),Oe(rt,it+12,Dt),Oe(rt,it+16,St)};function Mt(xt,rt,it){if(it||(it=rt,rt={}),typeof it!="function")throw"no callback";var $t={};jt(xt,"",$t,rt);var Dt=Object.keys($t),St=Dt.length,Ut=0,vt=0,Pt=St,br=new Array(St),ur=[],fr=function(){for(var ei=0;ei<ur.length;++ei)ur[ei]()},Jr=function(){var ei=new S(vt+22),di=Ut,gi=vt-Ut;vt=0;for(var Ii=0;Ii<Pt;++Ii){var Ye=br[Ii];try{nt(ei,vt,Ye.c,Ye.d,Ye.m,Ye.n,Ye.u,Ye.p,null,Ye.t),nt(ei,Ut,Ye.c,Ye.d,Ye.m,Ye.n,Ye.u,Ye.p,vt,Ye.t),Ut+=46+Ye.n.length,vt+=30+Ye.n.length+Ye.d.length}catch(ge){return it(ge,null)}}st(ei,Ut,br.length,gi,di),it(null,ei)};St||Jr();for(var Zr=function(ei){var di=Dt[ei],gi=$t[di],Ii=gi[0],Ye=gi[1],ge=ye(),Ie=Ii.length;ge.p(Ii);var Fe=At(di),Ve=Fe.length,We=Ye.level==0?0:8,Qe=function(ot,Zt){if(ot)fr(),it(ot,null);else{var Rr=Zt.length;br[ei]={t:We,d:Zt,m:Ie,c:ge.d(),u:di.length!=Rr,n:Fe,p:Ye},Ut+=30+Ve+Rr,vt+=76+2*Ve+Rr,--St||Jr()}};if(Fe.length>65535&&Qe("filename too long",null),!We)Qe(null,Ii);else if(Ie<16e4)try{Qe(null,Ft(Ii,Ye))}catch(yt){Qe(yt,null)}else ur.push(_t(Ii,Ye,Qe))},Fn=0;Fn<Pt;++Fn)Zr(Fn);return fr}function wr(xt,rt){rt===void 0&&(rt={});var it={},$t=[];jt(xt,"",it,rt);var Dt=0,St=0;for(var Ut in it){var vt=it[Ut],Pt=vt[0],br=vt[1],ur=br.level==0?0:8,fr=At(Ut),Jr=fr.length;if(fr.length>65535)throw"filename too long";var Zr=ur?Ft(Pt,br):Pt,Fn=Zr.length,Rn=ye();Rn.p(Pt),$t.push({t:ur,d:Zr,m:Pt.length,c:Rn.d(),u:Ut.length!=Jr,n:fr,o:Dt,p:br}),Dt+=30+Jr+Fn,St+=76+2*Jr+Fn}for(var ei=new S(St+22),di=Dt,gi=St-Dt,Ii=0;Ii<$t.length;++Ii){var Ye=$t[Ii];nt(ei,Ye.o,Ye.c,Ye.d,Ye.m,Ye.n,Ye.u,Ye.p,null,Ye.t),nt(ei,Dt,Ye.c,Ye.d,Ye.m,Ye.n,Ye.u,Ye.p,Ye.o,Ye.t),Dt+=46+Ye.n.length}return st(ei,Dt,$t.length,gi,di),ei}function Pr(xt,rt){if(typeof rt!="function")throw"no callback";for(var it=[],$t=function(){for(var Zr=0;Zr<it.length;++Zr)it[Zr]()},Dt={},St=xt.length-22;fe(xt,St)!=101010256;--St)if(!St||xt.length-St>65558){rt("invalid zip file",null);return}var Ut=ae(xt,St+8);Ut||rt(null,{});var vt=Ut,Pt=fe(xt,St+16),br=Pt==4294967295;if(br){if(St=fe(xt,St-12),fe(xt,St)!=101075792)throw"invalid zip file";vt=Ut=fe(xt,St+32),Pt=fe(xt,St+48)}for(var ur=function(Zr){var Fn=Ee(xt,Pt,br),Rn=Fn[0],ei=Fn[1],di=Fn[2],gi=Fn[3],Ii=Fn[4],Ye=Fn[5],ge=we(xt,Ye);Pt=Ii;var Ie=function(We,Qe){We?($t(),rt(We,null)):(Dt[gi]=Qe,--Ut||rt(null,Dt))};if(!Rn)Ie(null,P(xt,ge,ge+ei));else if(Rn==8){var Fe=xt.subarray(ge,ge+ei);if(ei<32e4)try{Ie(null,qe(Fe,new S(di)))}catch(Ve){Ie(Ve,null)}else it.push(Q(Fe,{size:di},Ie))}else Ie("unknown compression type "+Rn,null)},fr=0;fr<vt;++fr)ur(fr);return $t}function qr(xt){for(var rt={},it=xt.length-22;fe(xt,it)!=101010256;--it)if(!it||xt.length-it>65558)throw"invalid zip file";var $t=ae(xt,it+8);if(!$t)return{};var Dt=fe(xt,it+16),St=Dt==4294967295;if(St){if(it=fe(xt,it-12),fe(xt,it)!=101075792)throw"invalid zip file";$t=fe(xt,it+32),Dt=fe(xt,it+48)}for(var Ut=0;Ut<$t;++Ut){var vt=Ee(xt,Dt,St),Pt=vt[0],br=vt[1],ur=vt[2],fr=vt[3],Jr=vt[4],Zr=vt[5],Fn=we(xt,Zr);if(Dt=Jr,!Pt)rt[fr]=P(xt,Fn,Fn+br);else if(Pt==8)rt[fr]=qe(xt.subarray(Fn,Fn+br),new S(ur));else throw"unknown compression type "+Pt}return rt}},czTT:function(M,N,n){},d4KN:function(M,N,n){var v=n("ProS"),p=n("bYtY");function S(m,g){p.each(g,function(f){f.update="updateView",v.registerAction(f,function(d,c){var o={};return c.eachComponent({mainType:"series",subType:m,query:d},function(i){i[f.method]&&i[f.method](d.name,d.dataIndex);var t=i.getData();t.each(function(a){var e=t.getName(a);o[e]=i.isSelected(e)||!1})}),{name:d.name,selected:o,seriesId:d.seriesId}})})}M.exports=S},dBmv:function(M,N,n){var v=n("ProS"),p=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),v.registerPreprocessor(p)},"dF/Y":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="DownloadOutlined";var d=N.a=p.forwardRef(f)},dMvE:function(M,N){var n={linear:function(S){return S},quadraticIn:function(S){return S*S},quadraticOut:function(S){return S*(2-S)},quadraticInOut:function(S){return(S*=2)<1?.5*S*S:-.5*(--S*(S-2)-1)},cubicIn:function(S){return S*S*S},cubicOut:function(S){return--S*S*S+1},cubicInOut:function(S){return(S*=2)<1?.5*S*S*S:.5*((S-=2)*S*S+2)},quarticIn:function(S){return S*S*S*S},quarticOut:function(S){return 1- --S*S*S*S},quarticInOut:function(S){return(S*=2)<1?.5*S*S*S*S:-.5*((S-=2)*S*S*S-2)},quinticIn:function(S){return S*S*S*S*S},quinticOut:function(S){return--S*S*S*S*S+1},quinticInOut:function(S){return(S*=2)<1?.5*S*S*S*S*S:.5*((S-=2)*S*S*S*S+2)},sinusoidalIn:function(S){return 1-Math.cos(S*Math.PI/2)},sinusoidalOut:function(S){return Math.sin(S*Math.PI/2)},sinusoidalInOut:function(S){return .5*(1-Math.cos(Math.PI*S))},exponentialIn:function(S){return S===0?0:Math.pow(1024,S-1)},exponentialOut:function(S){return S===1?1:1-Math.pow(2,-10*S)},exponentialInOut:function(S){return S===0?0:S===1?1:(S*=2)<1?.5*Math.pow(1024,S-1):.5*(-Math.pow(2,-10*(S-1))+2)},circularIn:function(S){return 1-Math.sqrt(1-S*S)},circularOut:function(S){return Math.sqrt(1- --S*S)},circularInOut:function(S){return(S*=2)<1?-.5*(Math.sqrt(1-S*S)-1):.5*(Math.sqrt(1-(S-=2)*S)+1)},elasticIn:function(S){var m,g=.1,f=.4;return S===0?0:S===1?1:(!g||g<1?(g=1,m=f/4):m=f*Math.asin(1/g)/(2*Math.PI),-(g*Math.pow(2,10*(S-=1))*Math.sin((S-m)*(2*Math.PI)/f)))},elasticOut:function(S){var m,g=.1,f=.4;return S===0?0:S===1?1:(!g||g<1?(g=1,m=f/4):m=f*Math.asin(1/g)/(2*Math.PI),g*Math.pow(2,-10*S)*Math.sin((S-m)*(2*Math.PI)/f)+1)},elasticInOut:function(S){var m,g=.1,f=.4;return S===0?0:S===1?1:(!g||g<1?(g=1,m=f/4):m=f*Math.asin(1/g)/(2*Math.PI),(S*=2)<1?-.5*(g*Math.pow(2,10*(S-=1))*Math.sin((S-m)*(2*Math.PI)/f)):g*Math.pow(2,-10*(S-=1))*Math.sin((S-m)*(2*Math.PI)/f)*.5+1)},backIn:function(S){var m=1.70158;return S*S*((m+1)*S-m)},backOut:function(S){var m=1.70158;return--S*S*((m+1)*S+m)+1},backInOut:function(S){var m=1.70158*1.525;return(S*=2)<1?.5*(S*S*((m+1)*S-m)):.5*((S-=2)*S*((m+1)*S+m)+2)},bounceIn:function(S){return 1-n.bounceOut(1-S)},bounceOut:function(S){return S<1/2.75?7.5625*S*S:S<2/2.75?7.5625*(S-=1.5/2.75)*S+.75:S<2.5/2.75?7.5625*(S-=2.25/2.75)*S+.9375:7.5625*(S-=2.625/2.75)*S+.984375},bounceInOut:function(S){return S<.5?n.bounceIn(S*2)*.5:n.bounceOut(S*2-1)*.5+.5}},v=n;M.exports=v},diRs:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("q1tI"),m=n.n(S),g=n("3S7+"),f=n("H84U"),d=n("bogI"),c=function(i,t){var a={};for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&t.indexOf(e)<0&&(a[e]=i[e]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,e=Object.getOwnPropertySymbols(i);l<e.length;l++)t.indexOf(e[l])<0&&Object.prototype.propertyIsEnumerable.call(i,e[l])&&(a[e[l]]=i[e[l]]);return a},o=S.forwardRef(function(i,t){var a=i.prefixCls,e=i.title,l=i.content,r=c(i,["prefixCls","title","content"]),s=S.useContext(f.b),u=s.getPrefixCls,h=function(w){return S.createElement(S.Fragment,null,e&&S.createElement("div",{className:"".concat(w,"-title")},Object(d.a)(e)),S.createElement("div",{className:"".concat(w,"-inner-content")},Object(d.a)(l)))},A=u("popover",a);return S.createElement(g.a,p()({},r,{prefixCls:A,ref:t,overlay:h(A)}))});o.displayName="Popover",o.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},N.a=o},digP:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:function(S,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:m}},{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:S}}]}},name:"file",theme:"twotone"};N.default=v},dm2S:function(M,N,n){"use strict";n.d(N,"a",function(){return m});var v=n("ODXe"),p=n("q1tI"),S=n.n(p);function m(g){var f=p.useRef(!1),d=p.useState(g),c=Object(v.a)(d,2),o=c[0],i=c[1];p.useEffect(function(){return f.current=!1,function(){f.current=!0}},[]);function t(a,e){if(e&&f.current)return;i(a)}return[o,t]}},dmGj:function(M,N,n){var v=n("DEFe"),p=n("ProS"),S=p.extendComponentView({type:"geo",init:function(m,g){var f=new v(g,!0);this._mapDraw=f,this.group.add(f.group)},render:function(m,g,f,d){if(d&&d.type==="geoToggleSelect"&&d.from===this.uid)return;var c=this._mapDraw;m.get("show")?c.draw(m,g,f,this,d):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});M.exports=S},dnwI:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("YH21"),m=n("Kagy"),g=n("IUWy"),f=m.toolbox.dataView,d=new Array(60).join("-"),c=" ";function o(b){var x={},O=[],T=[];return b.eachRawSeries(function(E){var C=E.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var _=C.getBaseAxis();if(_.type==="category"){var L=_.dim+"_"+_.index;x[L]||(x[L]={categoryAxis:_,valueAxis:C.getOtherAxis(_),series:[]},T.push({axisDim:_.dim,axisIndex:_.index})),x[L].series.push(E)}else O.push(E)}else O.push(E)}),{seriesGroupByCategoryAxis:x,other:O,meta:T}}function i(b){var x=[];return p.each(b,function(O,T){var E=O.categoryAxis,C=O.valueAxis,_=C.dim,L=[" "].concat(p.map(O.series,function(R){return R.name})),P=[E.model.getCategories()];p.each(O.series,function(R){P.push(R.getRawData().mapArray(_,function(U){return U}))});for(var k=[L.join(c)],F=0;F<P[0].length;F++){for(var j=[],z=0;z<P.length;z++)j.push(P[z][F]);k.push(j.join(c))}x.push(k.join(`
`))}),x.join(`
`+d+`
`)}function t(b){return p.map(b,function(x){var O=x.getRawData(),T=[x.name],E=[];return O.each(O.dimensions,function(){for(var C=arguments.length,_=arguments[C-1],L=O.getName(_),P=0;P<C-1;P++)E[P]=arguments[P];T.push((L?L+c:"")+E.join(c))}),T.join(`
`)}).join(`
`+d+`
`)}function a(b){var x=o(b);return{value:p.filter([i(x.seriesGroupByCategoryAxis),t(x.other)],function(O){return O.replace(/[\n\t\s]/g,"")}).join(`
`+d+`
`),meta:x.meta}}function e(b){return b.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(b){var x=b.slice(0,b.indexOf(`
`));if(x.indexOf(c)>=0)return!0}var r=new RegExp("["+c+"]+","g");function s(b){for(var x=b.split(/\n+/g),O=e(x.shift()).split(r),T=[],E=p.map(O,function(P){return{name:P,data:[]}}),C=0;C<x.length;C++){var _=e(x[C]).split(r);T.push(_.shift());for(var L=0;L<_.length;L++)E[L]&&(E[L].data[C]=_[L])}return{series:E,categories:T}}function u(b){for(var x=b.split(/\n+/g),O=e(x.shift()),T=[],E=0;E<x.length;E++){var C=e(x[E]).split(r),_="",L,P=!1;isNaN(C[0])?(P=!0,_=C[0],C=C.slice(1),T[E]={name:_,value:[]},L=T[E].value):L=T[E]=[];for(var k=0;k<C.length;k++)L.push(+C[k]);L.length===1&&(P?T[E].value=L[0]:T[E]=L[0])}return{name:O,data:T}}function h(b,x){var O=b.split(new RegExp(`
*`+d+`
*`,"g")),T={series:[]};return p.each(O,function(E,C){if(l(E)){var _=s(E),L=x[C],P=L.axisDim+"Axis";L&&(T[P]=T[P]||[],T[P][L.axisIndex]={data:_.categories},T.series=T.series.concat(_.series))}else{var _=u(E);T.series.push(_)}}),T}function A(b){this._dom=null,this.model=b}A.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:p.clone(f.title),lang:p.clone(f.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},A.prototype.onclick=function(b,x){var O=x.getDom(),T=this.model;this._dom&&O.removeChild(this._dom);var E=document.createElement("div");E.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",E.style.backgroundColor=T.get("backgroundColor")||"#fff";var C=document.createElement("h4"),_=T.get("lang")||[];C.innerHTML=_[0]||T.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=T.get("textColor");var L=document.createElement("div"),P=document.createElement("textarea");L.style.cssText="display:block;width:100%;overflow:auto;";var k=T.get("optionToContent"),F=T.get("contentToOption"),j=a(b);if(typeof k=="function"){var z=k(x.getOption());typeof z=="string"?L.innerHTML=z:p.isDom(z)&&L.appendChild(z)}else L.appendChild(P),P.readOnly=T.get("readOnly"),P.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",P.style.color=T.get("textColor"),P.style.borderColor=T.get("textareaBorderColor"),P.style.backgroundColor=T.get("textareaColor"),P.value=j.value;var R=j.meta,U=document.createElement("div");U.style.cssText="position:absolute;bottom:0;left:0;right:0;";var B="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",H=document.createElement("div"),K=document.createElement("div");B+=";background-color:"+T.get("buttonColor"),B+=";color:"+T.get("buttonTextColor");var V=this;function W(){O.removeChild(E),V._dom=null}S.addEventListener(H,"click",W),S.addEventListener(K,"click",function(){var G;try{typeof F=="function"?G=F(L,x.getOption()):G=h(P.value,R)}catch(re){throw W(),new Error("Data view format error "+re)}G&&x.dispatchAction({type:"changeDataView",newOption:G}),W()}),H.innerHTML=_[1],K.innerHTML=_[2],K.style.cssText=B,H.style.cssText=B,!T.get("readOnly")&&U.appendChild(K),U.appendChild(H),E.appendChild(C),E.appendChild(L),E.appendChild(U),L.style.height=O.clientHeight-80+"px",O.appendChild(E),this._dom=E},A.prototype.remove=function(b,x){this._dom&&x.getDom().removeChild(this._dom)},A.prototype.dispose=function(b,x){this.remove(b,x)};function y(b,x){return p.map(b,function(O,T){var E=x&&x[T];return p.isObject(E)&&!p.isArray(E)?(p.isObject(O)&&!p.isArray(O)&&(O=O.value),p.defaults({value:O},E)):O})}g.register("dataView",A),v.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(b,x){var O=[];p.each(b.newOption.series,function(T){var E=x.getSeriesByName(T.name)[0];if(!E)O.push(p.extend({type:"scatter"},T));else{var C=E.get("data");O.push({name:T.name,data:y(T.data,C)})}}),x.mergeOption(p.defaults({series:O},b.newOption))});var w=A;M.exports=w},dqUG:function(M,N,n){var v=n("Gev7"),p=n("bYtY"),S=n("6GrX"),m=n("pzxd"),g=n("gut8"),f=g.ContextCachedBy,d=function(i){v.call(this,i)};d.prototype={constructor:d,type:"text",brush:function(i,t){var a=this.style;this.__dirty&&m.normalizeTextStyle(a,!0),a.fill=a.stroke=a.shadowBlur=a.shadowColor=a.shadowOffsetX=a.shadowOffsetY=null;var e=a.text;if(e!=null&&(e+=""),!m.needDrawText(e,a)){i.__attrCachedBy=f.NONE;return}this.setTransform(i),m.renderText(this,i,e,a,null,t),this.restoreTransform(i)},getBoundingRect:function(){var i=this.style;if(this.__dirty&&m.normalizeTextStyle(i,!0),!this._rect){var t=i.text;t!=null?t+="":t="";var a=S.getBoundingRect(i.text+"",i.font,i.textAlign,i.textVerticalAlign,i.textPadding,i.textLineHeight,i.rich);if(a.x+=i.x||0,a.y+=i.y||0,m.getStroke(i.textStroke,i.textStrokeWidth)){var e=i.textStrokeWidth;a.x-=e/2,a.y-=e/2,a.width+=e,a.height+=e}this._rect=a}return this._rect}},p.inherits(d,v);var c=d;M.exports=c},dt0z:function(M,N,n){var v=n("zoYe");function p(S){return S==null?"":v(S)}M.exports=p},dtIV:function(M,N,n){"use strict";n.r(N),function(v){n.d(N,"AcroForm",function(){return je}),n.d(N,"AcroFormAppearance",function(){return Q}),n.d(N,"AcroFormButton",function(){return Ot}),n.d(N,"AcroFormCheckBox",function(){return Ft}),n.d(N,"AcroFormChoiceField",function(){return Ze}),n.d(N,"AcroFormComboBox",function(){return It}),n.d(N,"AcroFormEditBox",function(){return Xe}),n.d(N,"AcroFormListBox",function(){return Ne}),n.d(N,"AcroFormPasswordField",function(){return te}),n.d(N,"AcroFormPushButton",function(){return Bt}),n.d(N,"AcroFormRadioButton",function(){return kt}),n.d(N,"AcroFormTextField",function(){return ke}),n.d(N,"GState",function(){return z}),n.d(N,"ShadingPattern",function(){return U}),n.d(N,"TilingPattern",function(){return B}),n.d(N,"jsPDF",function(){return H});var p=n("cDf5"),S=n.n(p),m=n("crp1");/** @license
*
* jsPDF - PDF Document creation from JavaScript
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
* CommitID 00000000
*
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
* 2015-2021 yWorks GmbH, http://www.yworks.com
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
* 2010 Aaron Spike, https://github.com/acspike
* 2012 Willow Systems Corporation, https://github.com/willowsystems
* 2012 Pablo Hess, https://github.com/pablohess
* 2012 Florian Jenett, https://github.com/fjenett
* 2013 Warren Weckesser, https://github.com/warrenweckesser
* 2013 Youssef Beddad, https://github.com/lifof
* 2013 Lee Driscoll, https://github.com/lsdriscoll
* 2013 Stefan Slonevskiy, https://github.com/stefslon
* 2013 Jeremy Morel, https://github.com/jmorel
* 2013 Christoph Hartmann, https://github.com/chris-rock
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
* 2014 James Makes, https://github.com/dollaruw
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 Steven Spungin, https://github.com/Flamenco
* 2014 Kenneth Glassey, https://github.com/Gavvers
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Contributor(s):
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
* kim3er, mfo, alnorth, Flamenco
*/var g=function(){return typeof window!="undefined"?window:typeof v!="undefined"?v:typeof self!="undefined"?self:this}();function f(){g.console&&typeof g.console.log=="function"&&g.console.log.apply(g.console,arguments)}var d={log:f,warn:function(ge){g.console&&(typeof g.console.warn=="function"?g.console.warn.apply(g.console,arguments):f.call(null,arguments))},error:function(ge){g.console&&(typeof g.console.error=="function"?g.console.error.apply(g.console,arguments):f(ge))}};function c(Ye,ge,Ie){var Fe=new XMLHttpRequest;Fe.open("GET",Ye),Fe.responseType="blob",Fe.onload=function(){e(Fe.response,ge,Ie)},Fe.onerror=function(){d.error("could not download file")},Fe.send()}function o(Ye){var ge=new XMLHttpRequest;ge.open("HEAD",Ye,!1);try{ge.send()}catch(Ie){}return ge.status>=200&&ge.status<=299}function i(Ye){try{Ye.dispatchEvent(new MouseEvent("click"))}catch(Ie){var ge=document.createEvent("MouseEvents");ge.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Ye.dispatchEvent(ge)}}var t,a,e=g.saveAs||((typeof window=="undefined"?"undefined":S()(window))!=="object"||window!==g?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(Ye,ge,Ie){var Fe=g.URL||g.webkitURL,Ve=document.createElement("a");ge=ge||Ye.name||"download",Ve.download=ge,Ve.rel="noopener",typeof Ye=="string"?(Ve.href=Ye,Ve.origin!==location.origin?o(Ve.href)?c(Ye,ge,Ie):i(Ve,Ve.target="_blank"):i(Ve)):(Ve.href=Fe.createObjectURL(Ye),setTimeout(function(){Fe.revokeObjectURL(Ve.href)},4e4),setTimeout(function(){i(Ve)},0))}:"msSaveOrOpenBlob"in navigator?function(Ye,ge,Ie){if(ge=ge||Ye.name||"download",typeof Ye=="string")if(o(Ye))c(Ye,ge,Ie);else{var Fe=document.createElement("a");Fe.href=Ye,Fe.target="_blank",setTimeout(function(){i(Fe)})}else navigator.msSaveOrOpenBlob(function(Ve,We){return We===void 0?We={autoBom:!1}:S()(We)!=="object"&&(d.warn("Deprecated: Expected third argument to be a object"),We={autoBom:!We}),We.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ve.type)?new Blob([String.fromCharCode(65279),Ve],{type:Ve.type}):Ve}(Ye,Ie),ge)}:function(Ye,ge,Ie,Fe){if((Fe=Fe||open("","_blank"))&&(Fe.document.title=Fe.document.body.innerText="downloading..."),typeof Ye=="string")return c(Ye,ge,Ie);var Ve=Ye.type==="application/octet-stream",We=/constructor/i.test(g.HTMLElement)||g.safari,Qe=/CriOS\/[\d]+/.test(navigator.userAgent);if((Qe||Ve&&We)&&(typeof FileReader=="undefined"?"undefined":S()(FileReader))==="object"){var yt=new FileReader;yt.onloadend=function(){var Rr=yt.result;Rr=Qe?Rr:Rr.replace(/^data:[^;]*;/,"data:attachment/file;"),Fe?Fe.location.href=Rr:location=Rr,Fe=null},yt.readAsDataURL(Ye)}else{var ot=g.URL||g.webkitURL,Zt=ot.createObjectURL(Ye);Fe?Fe.location=Zt:location.href=Zt,Fe=null,setTimeout(function(){ot.revokeObjectURL(Zt)},4e4)}});/**
* A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
* @license Use it if you like it
*/function l(Ye){var ge;Ye=Ye||"",this.ok=!1,Ye.charAt(0)=="#"&&(Ye=Ye.substr(1,6)),Ye={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"}[Ye=(Ye=Ye.replace(/ /g,"")).toLowerCase()]||Ye;for(var Ie=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ot){return[parseInt(ot[1]),parseInt(ot[2]),parseInt(ot[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ot){return[parseInt(ot[1],16),parseInt(ot[2],16),parseInt(ot[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ot){return[parseInt(ot[1]+ot[1],16),parseInt(ot[2]+ot[2],16),parseInt(ot[3]+ot[3],16)]}}],Fe=0;Fe<Ie.length;Fe++){var Ve=Ie[Fe].re,We=Ie[Fe].process,Qe=Ve.exec(Ye);Qe&&(ge=We(Qe),this.r=ge[0],this.g=ge[1],this.b=ge[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var yt=this.r.toString(16),ot=this.g.toString(16),Zt=this.b.toString(16);return yt.length==1&&(yt="0"+yt),ot.length==1&&(ot="0"+ot),Zt.length==1&&(Zt="0"+Zt),"#"+yt+ot+Zt}}/**
* @license
* Joseph Myers does not specify a particular license for his work.
*
* Author: Joseph Myers
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
*
* Modified by: Owen Leong
*/function r(Ye,ge){var Ie=Ye[0],Fe=Ye[1],Ve=Ye[2],We=Ye[3];Ie=u(Ie,Fe,Ve,We,ge[0],7,-680876936),We=u(We,Ie,Fe,Ve,ge[1],12,-389564586),Ve=u(Ve,We,Ie,Fe,ge[2],17,606105819),Fe=u(Fe,Ve,We,Ie,ge[3],22,-1044525330),Ie=u(Ie,Fe,Ve,We,ge[4],7,-176418897),We=u(We,Ie,Fe,Ve,ge[5],12,1200080426),Ve=u(Ve,We,Ie,Fe,ge[6],17,-1473231341),Fe=u(Fe,Ve,We,Ie,ge[7],22,-45705983),Ie=u(Ie,Fe,Ve,We,ge[8],7,1770035416),We=u(We,Ie,Fe,Ve,ge[9],12,-1958414417),Ve=u(Ve,We,Ie,Fe,ge[10],17,-42063),Fe=u(Fe,Ve,We,Ie,ge[11],22,-1990404162),Ie=u(Ie,Fe,Ve,We,ge[12],7,1804603682),We=u(We,Ie,Fe,Ve,ge[13],12,-40341101),Ve=u(Ve,We,Ie,Fe,ge[14],17,-1502002290),Ie=h(Ie,Fe=u(Fe,Ve,We,Ie,ge[15],22,1236535329),Ve,We,ge[1],5,-165796510),We=h(We,Ie,Fe,Ve,ge[6],9,-1069501632),Ve=h(Ve,We,Ie,Fe,ge[11],14,643717713),Fe=h(Fe,Ve,We,Ie,ge[0],20,-373897302),Ie=h(Ie,Fe,Ve,We,ge[5],5,-701558691),We=h(We,Ie,Fe,Ve,ge[10],9,38016083),Ve=h(Ve,We,Ie,Fe,ge[15],14,-660478335),Fe=h(Fe,Ve,We,Ie,ge[4],20,-405537848),Ie=h(Ie,Fe,Ve,We,ge[9],5,568446438),We=h(We,Ie,Fe,Ve,ge[14],9,-1019803690),Ve=h(Ve,We,Ie,Fe,ge[3],14,-187363961),Fe=h(Fe,Ve,We,Ie,ge[8],20,1163531501),Ie=h(Ie,Fe,Ve,We,ge[13],5,-1444681467),We=h(We,Ie,Fe,Ve,ge[2],9,-51403784),Ve=h(Ve,We,Ie,Fe,ge[7],14,1735328473),Ie=A(Ie,Fe=h(Fe,Ve,We,Ie,ge[12],20,-1926607734),Ve,We,ge[5],4,-378558),We=A(We,Ie,Fe,Ve,ge[8],11,-2022574463),Ve=A(Ve,We,Ie,Fe,ge[11],16,1839030562),Fe=A(Fe,Ve,We,Ie,ge[14],23,-35309556),Ie=A(Ie,Fe,Ve,We,ge[1],4,-1530992060),We=A(We,Ie,Fe,Ve,ge[4],11,1272893353),Ve=A(Ve,We,Ie,Fe,ge[7],16,-155497632),Fe=A(Fe,Ve,We,Ie,ge[10],23,-1094730640),Ie=A(Ie,Fe,Ve,We,ge[13],4,681279174),We=A(We,Ie,Fe,Ve,ge[0],11,-358537222),Ve=A(Ve,We,Ie,Fe,ge[3],16,-722521979),Fe=A(Fe,Ve,We,Ie,ge[6],23,76029189),Ie=A(Ie,Fe,Ve,We,ge[9],4,-640364487),We=A(We,Ie,Fe,Ve,ge[12],11,-421815835),Ve=A(Ve,We,Ie,Fe,ge[15],16,530742520),Ie=y(Ie,Fe=A(Fe,Ve,We,Ie,ge[2],23,-995338651),Ve,We,ge[0],6,-198630844),We=y(We,Ie,Fe,Ve,ge[7],10,1126891415),Ve=y(Ve,We,Ie,Fe,ge[14],15,-1416354905),Fe=y(Fe,Ve,We,Ie,ge[5],21,-57434055),Ie=y(Ie,Fe,Ve,We,ge[12],6,1700485571),We=y(We,Ie,Fe,Ve,ge[3],10,-1894986606),Ve=y(Ve,We,Ie,Fe,ge[10],15,-1051523),Fe=y(Fe,Ve,We,Ie,ge[1],21,-2054922799),Ie=y(Ie,Fe,Ve,We,ge[8],6,1873313359),We=y(We,Ie,Fe,Ve,ge[15],10,-30611744),Ve=y(Ve,We,Ie,Fe,ge[6],15,-1560198380),Fe=y(Fe,Ve,We,Ie,ge[13],21,1309151649),Ie=y(Ie,Fe,Ve,We,ge[4],6,-145523070),We=y(We,Ie,Fe,Ve,ge[11],10,-1120210379),Ve=y(Ve,We,Ie,Fe,ge[2],15,718787259),Fe=y(Fe,Ve,We,Ie,ge[9],21,-343485551),Ye[0]=_(Ie,Ye[0]),Ye[1]=_(Fe,Ye[1]),Ye[2]=_(Ve,Ye[2]),Ye[3]=_(We,Ye[3])}function s(Ye,ge,Ie,Fe,Ve,We){return ge=_(_(ge,Ye),_(Fe,We)),_(ge<<Ve|ge>>>32-Ve,Ie)}function u(Ye,ge,Ie,Fe,Ve,We,Qe){return s(ge&Ie|~ge&Fe,Ye,ge,Ve,We,Qe)}function h(Ye,ge,Ie,Fe,Ve,We,Qe){return s(ge&Fe|Ie&~Fe,Ye,ge,Ve,We,Qe)}function A(Ye,ge,Ie,Fe,Ve,We,Qe){return s(ge^Ie^Fe,Ye,ge,Ve,We,Qe)}function y(Ye,ge,Ie,Fe,Ve,We,Qe){return s(Ie^(ge|~Fe),Ye,ge,Ve,We,Qe)}function w(Ye){var ge,Ie=Ye.length,Fe=[1732584193,-271733879,-1732584194,271733878];for(ge=64;ge<=Ye.length;ge+=64)r(Fe,b(Ye.substring(ge-64,ge)));Ye=Ye.substring(ge-64);var Ve=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(ge=0;ge<Ye.length;ge++)Ve[ge>>2]|=Ye.charCodeAt(ge)<<(ge%4<<3);if(Ve[ge>>2]|=128<<(ge%4<<3),ge>55)for(r(Fe,Ve),ge=0;ge<16;ge++)Ve[ge]=0;return Ve[14]=8*Ie,r(Fe,Ve),Fe}function b(Ye){var ge,Ie=[];for(ge=0;ge<64;ge+=4)Ie[ge>>2]=Ye.charCodeAt(ge)+(Ye.charCodeAt(ge+1)<<8)+(Ye.charCodeAt(ge+2)<<16)+(Ye.charCodeAt(ge+3)<<24);return Ie}t=g.atob.bind(g),a=g.btoa.bind(g);var x="0123456789abcdef".split("");function O(Ye){for(var ge="",Ie=0;Ie<4;Ie++)ge+=x[Ye>>8*Ie+4&15]+x[Ye>>8*Ie&15];return ge}function T(Ye){return String.fromCharCode((255&Ye)>>0,(65280&Ye)>>8,(16711680&Ye)>>16,(4278190080&Ye)>>24)}function E(Ye){return w(Ye).map(T).join("")}var C=function(Ye){for(var ge=0;ge<Ye.length;ge++)Ye[ge]=O(Ye[ge]);return Ye.join("")}(w("hello"))!="5d41402abc4b2a76b9719d911017c592";function _(Ye,ge){if(C){var Ie=(65535&Ye)+(65535&ge);return(Ye>>16)+(ge>>16)+(Ie>>16)<<16|65535&Ie}return Ye+ge&4294967295}/**
* @license
* FPDF is released under a permissive license: there is no usage restriction.
* You may embed it freely in your application (commercial or not), with or
* without modifications.
*
* Reference: http://www.fpdf.org/en/script/script37.php
*/function L(Ye,ge){var Ie,Fe,Ve,We;if(Ye!==Ie){for(var Qe=(Ve=Ye,We=1+(256/Ye.length>>0),new Array(We+1).join(Ve)),yt=[],ot=0;ot<256;ot++)yt[ot]=ot;var Zt=0;for(ot=0;ot<256;ot++){var Rr=yt[ot];Zt=(Zt+Rr+Qe.charCodeAt(ot))%256,yt[ot]=yt[Zt],yt[Zt]=Rr}Ie=Ye,Fe=yt}else yt=Fe;var Lr=ge.length,Gr=0,er=0,On="";for(ot=0;ot<Lr;ot++)er=(er+(Rr=yt[Gr=(Gr+1)%256]))%256,yt[Gr]=yt[er],yt[er]=Rr,Qe=yt[(yt[Gr]+yt[er])%256],On+=String.fromCharCode(ge.charCodeAt(ot)^Qe);return On}/**
* @license
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
* Author: Owen Leong (@owenl131)
* Date: 15 Oct 2020
* References:
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
* http://www.fpdf.org/en/script/script37.php
*/var P={print:4,modify:8,copy:16,"annot-forms":32};function k(Ye,ge,Ie,Fe){this.v=1,this.r=2;var Ve=192;Ye.forEach(function(yt){if(P.perm!==void 0)throw new Error("Invalid permission: "+yt);Ve+=P[yt]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var We=(ge+this.padding).substr(0,32),Qe=(Ie+this.padding).substr(0,32);this.O=this.processOwnerPassword(We,Qe),this.P=-(1+(255^Ve)),this.encryptionKey=E(We+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Fe)).substr(0,5),this.U=L(this.encryptionKey,this.padding)}function F(Ye){if(/[^\u0000-\u00ff]/.test(Ye))throw new Error("Invalid PDF Name Object: "+Ye+", Only accept ASCII characters.");for(var ge="",Ie=Ye.length,Fe=0;Fe<Ie;Fe++){var Ve=Ye.charCodeAt(Fe);Ve<33||Ve===35||Ve===37||Ve===40||Ve===41||Ve===47||Ve===60||Ve===62||Ve===91||Ve===93||Ve===123||Ve===125||Ve>126?ge+="#"+("0"+Ve.toString(16)).slice(-2):ge+=Ye[Fe]}return ge}function j(Ye){if(S()(Ye)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var ge={};this.subscribe=function(Ie,Fe,Ve){if(Ve=Ve||!1,typeof Ie!="string"||typeof Fe!="function"||typeof Ve!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");ge.hasOwnProperty(Ie)||(ge[Ie]={});var We=Math.random().toString(35);return ge[Ie][We]=[Fe,!!Ve],We},this.unsubscribe=function(Ie){for(var Fe in ge)if(ge[Fe][Ie])return delete ge[Fe][Ie],Object.keys(ge[Fe]).length===0&&delete ge[Fe],!0;return!1},this.publish=function(Ie){if(ge.hasOwnProperty(Ie)){var Fe=Array.prototype.slice.call(arguments,1),Ve=[];for(var We in ge[Ie]){var Qe=ge[Ie][We];try{Qe[0].apply(Ye,Fe)}catch(yt){g.console&&d.error("jsPDF PubSub Error",yt.message,yt)}Qe[1]&&Ve.push(We)}Ve.length&&Ve.forEach(this.unsubscribe)}},this.getTopics=function(){return ge}}function z(Ye){if(!(this instanceof z))return new z(Ye);var ge="opacity,stroke-opacity".split(",");for(var Ie in Ye)Ye.hasOwnProperty(Ie)&&ge.indexOf(Ie)>=0&&(this[Ie]=Ye[Ie]);this.id="",this.objectNumber=-1}function R(Ye,ge){this.gState=Ye,this.matrix=ge,this.id="",this.objectNumber=-1}function U(Ye,ge,Ie,Fe,Ve){if(!(this instanceof U))return new U(Ye,ge,Ie,Fe,Ve);this.type=Ye==="axial"?2:3,this.coords=ge,this.colors=Ie,R.call(this,Fe,Ve)}function B(Ye,ge,Ie,Fe,Ve){if(!(this instanceof B))return new B(Ye,ge,Ie,Fe,Ve);this.boundingBox=Ye,this.xStep=ge,this.yStep=Ie,this.stream="",this.cloneIndex=0,R.call(this,Fe,Ve)}function H(Ye){var ge,Ie=typeof arguments[0]=="string"?arguments[0]:"p",Fe=arguments[1],Ve=arguments[2],We=arguments[3],Qe=[],yt=1,ot=16,Zt="S",Rr=null;S()(Ye=Ye||{})==="object"&&(Ie=Ye.orientation,Fe=Ye.unit||Fe,Ve=Ye.format||Ve,We=Ye.compress||Ye.compressPdf||We,(Rr=Ye.encryption||null)!==null&&(Rr.userPassword=Rr.userPassword||"",Rr.ownerPassword=Rr.ownerPassword||"",Rr.userPermissions=Rr.userPermissions||[]),yt=typeof Ye.userUnit=="number"?Math.abs(Ye.userUnit):1,Ye.precision!==void 0&&(ge=Ye.precision),Ye.floatPrecision!==void 0&&(ot=Ye.floatPrecision),Zt=Ye.defaultPathOperation||"S"),Qe=Ye.filters||(We===!0?["FlateEncode"]:Qe),Fe=Fe||"mm",Ie=(""+(Ie||"P")).toLowerCase();var Lr=Ye.putOnlyUsedFonts||!1,Gr={},er={internal:{},__private__:{}};er.__private__.PubSub=j;var On="1.3",yr=er.__private__.getPdfVersion=function(){return On};er.__private__.setPdfVersion=function(Ct){On=Ct};var gn={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]};er.__private__.getPageFormats=function(){return gn};var tn=er.__private__.getPageFormat=function(Ct){return gn[Ct]};Ve=Ve||"a4";var Fr={COMPAT:"compat",ADVANCED:"advanced"},Xn=Fr.COMPAT;function hi(){this.saveGraphicsState(),hn(new Di(pr,0,0,-pr,0,ts()*pr).toString()+" cm"),this.setFontSize(this.getFontSize()/pr),Zt="n",Xn=Fr.ADVANCED}function _i(){this.restoreGraphicsState(),Zt="S",Xn=Fr.COMPAT}var Ur=er.__private__.combineFontStyleAndFontWeight=function(Ct,Wt){if(Ct=="bold"&&Wt=="normal"||Ct=="bold"&&Wt==400||Ct=="normal"&&Wt=="italic"||Ct=="bold"&&Wt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Wt&&(Ct=Wt==400||Wt==="normal"?Ct==="italic"?"italic":"normal":Wt!=700&&Wt!=="bold"||Ct!=="normal"?(Wt==700?"bold":Wt)+""+Ct:"bold"),Ct};er.advancedAPI=function(Ct){var Wt=Xn===Fr.COMPAT;return Wt&&hi.call(this),typeof Ct!="function"||(Ct(this),Wt&&_i.call(this)),this},er.compatAPI=function(Ct){var Wt=Xn===Fr.ADVANCED;return Wt&&_i.call(this),typeof Ct!="function"||(Ct(this),Wt&&hi.call(this)),this},er.isAdvancedAPI=function(){return Xn===Fr.ADVANCED};var sn,Cn=function(Wt){if(Xn!==Fr.ADVANCED)throw new Error(Wt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Nt=er.roundToPrecision=er.__private__.roundToPrecision=function(Ct,Wt){var cn=ge||Wt;if(isNaN(Ct)||isNaN(cn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ct.toFixed(cn).replace(/0+$/,"")};sn=er.hpf=er.__private__.hpf=typeof ot=="number"?function(Ct){if(isNaN(Ct))throw new Error("Invalid argument passed to jsPDF.hpf");return Nt(Ct,ot)}:ot==="smart"?function(Ct){if(isNaN(Ct))throw new Error("Invalid argument passed to jsPDF.hpf");return Nt(Ct,Ct>-1&&Ct<1?16:5)}:function(Ct){if(isNaN(Ct))throw new Error("Invalid argument passed to jsPDF.hpf");return Nt(Ct,16)};var dt=er.f2=er.__private__.f2=function(Ct){if(isNaN(Ct))throw new Error("Invalid argument passed to jsPDF.f2");return Nt(Ct,2)},bt=er.__private__.f3=function(Ct){if(isNaN(Ct))throw new Error("Invalid argument passed to jsPDF.f3");return Nt(Ct,3)},Tt=er.scale=er.__private__.scale=function(Ct){if(isNaN(Ct))throw new Error("Invalid argument passed to jsPDF.scale");return Xn===Fr.COMPAT?Ct*pr:Xn===Fr.ADVANCED?Ct:void 0},Lt=function(Wt){return Xn===Fr.COMPAT?ts()-Wt:Xn===Fr.ADVANCED?Wt:void 0},pt=function(Wt){return Tt(Lt(Wt))};er.__private__.setPrecision=er.setPrecision=function(Ct){typeof parseInt(Ct,10)=="number"&&(ge=parseInt(Ct,10))};var Gt,qt="00000000000000000000000000000000",rr=er.__private__.getFileId=function(){return qt},mr=er.__private__.setFileId=function(Ct){return qt=Ct!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ct)?Ct.toUpperCase():qt.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Rr!==null&&(Ji=new k(Rr.userPermissions,Rr.userPassword,Rr.ownerPassword,qt)),qt};er.setFileId=function(Ct){return mr(Ct),this},er.getFileId=function(){return rr()};var wn=er.__private__.convertDateToPDFDate=function(Ct){var Wt=Ct.getTimezoneOffset(),cn=Wt<0?"+":"-",zn=Math.floor(Math.abs(Wt/60)),ht=Math.abs(Wt%60),Z=[cn,ln(zn),"'",ln(ht),"'"].join("");return["D:",Ct.getFullYear(),ln(Ct.getMonth()+1),ln(Ct.getDate()),ln(Ct.getHours()),ln(Ct.getMinutes()),ln(Ct.getSeconds()),Z].join("")},fn=er.__private__.convertPDFDateToDate=function(Ct){var Wt=parseInt(Ct.substr(2,4),10),cn=parseInt(Ct.substr(6,2),10)-1,zn=parseInt(Ct.substr(8,2),10),ht=parseInt(Ct.substr(10,2),10),Z=parseInt(Ct.substr(12,2),10),se=parseInt(Ct.substr(14,2),10);return new Date(Wt,cn,zn,ht,Z,se,0)},Wn=er.__private__.setCreationDate=function(Ct){var Wt;if(Ct===void 0&&(Ct=new Date),Ct instanceof Date)Wt=wn(Ct);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(Ct))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Wt=Ct}return Gt=Wt},Yr=er.__private__.getCreationDate=function(Ct){var Wt=Gt;return Ct==="jsDate"&&(Wt=fn(Gt)),Wt};er.setCreationDate=function(Ct){return Wn(Ct),this},er.getCreationDate=function(Ct){return Yr(Ct)};var Sr,ln=er.__private__.padd2=function(Ct){return("0"+parseInt(Ct)).slice(-2)},Tn=er.__private__.padd2Hex=function(Ct){return("00"+(Ct=Ct.toString())).substr(Ct.length)},In=0,Un=[],ti=[],li=0,si=[],ki=[],zi=!1,Ri=ti,Yi=function(){In=0,li=0,ti=[],Un=[],si=[],ra=ta(),pa=ta()};er.__private__.setCustomOutputDestination=function(Ct){zi=!0,Ri=Ct};var Zn=function(Wt){zi||(Ri=Wt)};er.__private__.resetCustomOutputDestination=function(){zi=!1,Ri=ti};var hn=er.__private__.out=function(Ct){return Ct=Ct.toString(),li+=Ct.length+1,Ri.push(Ct),Ri},mi=er.__private__.write=function(Ct){return hn(arguments.length===1?Ct.toString():Array.prototype.join.call(arguments," "))},Hi=er.__private__.getArrayBuffer=function(Ct){for(var Wt=Ct.length,cn=new ArrayBuffer(Wt),zn=new Uint8Array(cn);Wt--;)zn[Wt]=Ct.charCodeAt(Wt);return cn},Li=[["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]];er.__private__.getStandardFonts=function(){return Li};var Bi=Ye.fontSize||16;er.__private__.setFontSize=er.setFontSize=function(Ct){return Bi=Xn===Fr.ADVANCED?Ct/pr:Ct,this};var Ar,ar=er.__private__.getFontSize=er.getFontSize=function(){return Xn===Fr.COMPAT?Bi:Bi*pr},on=Ye.R2L||!1;er.__private__.setR2L=er.setR2L=function(Ct){return on=Ct,this},er.__private__.getR2L=er.getR2L=function(){return on};var Qt,gr=er.__private__.setZoomMode=function(Ct){var Wt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ct))Ar=Ct;else if(isNaN(Ct)){if(Wt.indexOf(Ct)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ct+'" is not recognized.');Ar=Ct}else Ar=parseInt(Ct,10)};er.__private__.getZoomMode=function(){return Ar};var Or,Kr=er.__private__.setPageMode=function(Ct){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ct)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ct+'" is not recognized.');Qt=Ct};er.__private__.getPageMode=function(){return Qt};var mn=er.__private__.setLayoutMode=function(Ct){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ct)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ct+'" is not recognized.');Or=Ct};er.__private__.getLayoutMode=function(){return Or},er.__private__.setDisplayMode=er.setDisplayMode=function(Ct,Wt,cn){return gr(Ct),mn(Wt),Kr(cn),this};var mt={title:"",subject:"",author:"",keywords:"",creator:""};er.__private__.getDocumentProperty=function(Ct){if(Object.keys(mt).indexOf(Ct)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return mt[Ct]},er.__private__.getDocumentProperties=function(){return mt},er.__private__.setDocumentProperties=er.setProperties=er.setDocumentProperties=function(Ct){for(var Wt in mt)mt.hasOwnProperty(Wt)&&Ct[Wt]&&(mt[Wt]=Ct[Wt]);return this},er.__private__.setDocumentProperty=function(Ct,Wt){if(Object.keys(mt).indexOf(Ct)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return mt[Ct]=Wt};var dr,pr,kr,nn,un,en={},Ln={},xn=[],Gn={},ui={},Jn={},pi={},wi=null,Ni=0,Si=[],vi=new j(er),Ai=Ye.hotfixes||[],Ci={},Ui={},$i=[],Di=function Ct(Wt,cn,zn,ht,Z,se){if(!(this instanceof Ct))return new Ct(Wt,cn,zn,ht,Z,se);isNaN(Wt)&&(Wt=1),isNaN(cn)&&(cn=0),isNaN(zn)&&(zn=0),isNaN(ht)&&(ht=1),isNaN(Z)&&(Z=0),isNaN(se)&&(se=0),this._matrix=[Wt,cn,zn,ht,Z,se]};Object.defineProperty(Di.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Wt){this._matrix[0]=Wt}}),Object.defineProperty(Di.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Wt){this._matrix[1]=Wt}}),Object.defineProperty(Di.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Wt){this._matrix[2]=Wt}}),Object.defineProperty(Di.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Wt){this._matrix[3]=Wt}}),Object.defineProperty(Di.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Wt){this._matrix[4]=Wt}}),Object.defineProperty(Di.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Wt){this._matrix[5]=Wt}}),Object.defineProperty(Di.prototype,"a",{get:function(){return this._matrix[0]},set:function(Wt){this._matrix[0]=Wt}}),Object.defineProperty(Di.prototype,"b",{get:function(){return this._matrix[1]},set:function(Wt){this._matrix[1]=Wt}}),Object.defineProperty(Di.prototype,"c",{get:function(){return this._matrix[2]},set:function(Wt){this._matrix[2]=Wt}}),Object.defineProperty(Di.prototype,"d",{get:function(){return this._matrix[3]},set:function(Wt){this._matrix[3]=Wt}}),Object.defineProperty(Di.prototype,"e",{get:function(){return this._matrix[4]},set:function(Wt){this._matrix[4]=Wt}}),Object.defineProperty(Di.prototype,"f",{get:function(){return this._matrix[5]},set:function(Wt){this._matrix[5]=Wt}}),Object.defineProperty(Di.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Di.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Di.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Di.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Di.prototype.join=function(Ct){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(sn).join(Ct)},Di.prototype.multiply=function(Ct){var Wt=Ct.sx*this.sx+Ct.shy*this.shx,cn=Ct.sx*this.shy+Ct.shy*this.sy,zn=Ct.shx*this.sx+Ct.sy*this.shx,ht=Ct.shx*this.shy+Ct.sy*this.sy,Z=Ct.tx*this.sx+Ct.ty*this.shx+this.tx,se=Ct.tx*this.shy+Ct.ty*this.sy+this.ty;return new Di(Wt,cn,zn,ht,Z,se)},Di.prototype.decompose=function(){var Ct=this.sx,Wt=this.shy,cn=this.shx,zn=this.sy,ht=this.tx,Z=this.ty,se=Math.sqrt(Ct*Ct+Wt*Wt),pe=(Ct/=se)*cn+(Wt/=se)*zn;cn-=Ct*pe,zn-=Wt*pe;var Ue=Math.sqrt(cn*cn+zn*zn);return pe/=Ue,Ct*(zn/=Ue)<Wt*(cn/=Ue)&&(Ct=-Ct,Wt=-Wt,pe=-pe,se=-se),{scale:new Di(se,0,0,Ue,0,0),translate:new Di(1,0,0,1,ht,Z),rotate:new Di(Ct,Wt,-Wt,Ct,0,0),skew:new Di(1,0,pe,1,0,0)}},Di.prototype.toString=function(Ct){return this.join(" ")},Di.prototype.inversed=function(){var Ct=this.sx,Wt=this.shy,cn=this.shx,zn=this.sy,ht=this.tx,Z=this.ty,se=1/(Ct*zn-Wt*cn),pe=zn*se,Ue=-Wt*se,ft=-cn*se,zt=Ct*se;return new Di(pe,Ue,ft,zt,-pe*ht-ft*Z,-Ue*ht-zt*Z)},Di.prototype.applyToPoint=function(Ct){var Wt=Ct.x*this.sx+Ct.y*this.shx+this.tx,cn=Ct.x*this.shy+Ct.y*this.sy+this.ty;return new ws(Wt,cn)},Di.prototype.applyToRectangle=function(Ct){var Wt=this.applyToPoint(Ct),cn=this.applyToPoint(new ws(Ct.x+Ct.w,Ct.y+Ct.h));return new qo(Wt.x,Wt.y,cn.x-Wt.x,cn.y-Wt.y)},Di.prototype.clone=function(){var Ct=this.sx,Wt=this.shy,cn=this.shx,zn=this.sy,ht=this.tx,Z=this.ty;return new Di(Ct,Wt,cn,zn,ht,Z)},er.Matrix=Di;var ua=er.matrixMult=function(Ct,Wt){return Wt.multiply(Ct)},aa=new Di(1,0,0,1,0,0);er.unitMatrix=er.identityMatrix=aa;var Xi=function(Wt,cn){if(!ui[Wt]){var zn=(cn instanceof U?"Sh":"P")+(Object.keys(Gn).length+1).toString(10);cn.id=zn,ui[Wt]=zn,Gn[zn]=cn,vi.publish("addPattern",cn)}};er.ShadingPattern=U,er.TilingPattern=B,er.addShadingPattern=function(Ct,Wt){return Cn("addShadingPattern()"),Xi(Ct,Wt),this},er.beginTilingPattern=function(Ct){Cn("beginTilingPattern()"),_s(Ct.boundingBox[0],Ct.boundingBox[1],Ct.boundingBox[2]-Ct.boundingBox[0],Ct.boundingBox[3]-Ct.boundingBox[1],Ct.matrix)},er.endTilingPattern=function(Ct,Wt){Cn("endTilingPattern()"),Wt.stream=ki[Sr].join(`
`),Xi(Ct,Wt),vi.publish("endTilingPattern",Wt),$i.pop().restore()};var Vi=er.__private__.newObject=function(){var Ct=ta();return Gi(Ct,!0),Ct},ta=er.__private__.newObjectDeferred=function(){return In++,Un[In]=function(){return li},In},Gi=function(Wt,cn){return cn=typeof cn=="boolean"&&cn,Un[Wt]=li,cn&&hn(Wt+" 0 obj"),Wt},ga=er.__private__.newAdditionalObject=function(){var Ct={objId:ta(),content:""};return si.push(Ct),Ct},ra=ta(),pa=ta(),_a=er.__private__.decodeColorString=function(Ct){var Wt=Ct.split(" ");if(Wt.length!==2||Wt[1]!=="g"&&Wt[1]!=="G")Wt.length===5&&(Wt[4]==="k"||Wt[4]==="K")&&(Wt=[(1-Wt[0])*(1-Wt[3]),(1-Wt[1])*(1-Wt[3]),(1-Wt[2])*(1-Wt[3]),"r"]);else{var cn=parseFloat(Wt[0]);Wt=[cn,cn,cn,"r"]}for(var zn="#",ht=0;ht<3;ht++)zn+=("0"+Math.floor(255*parseFloat(Wt[ht])).toString(16)).slice(-2);return zn},Da=er.__private__.encodeColorString=function(Ct){var Wt;typeof Ct=="string"&&(Ct={ch1:Ct});var cn=Ct.ch1,zn=Ct.ch2,ht=Ct.ch3,Z=Ct.ch4,se=Ct.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof cn=="string"&&cn.charAt(0)!=="#"){var pe=new l(cn);if(pe.ok)cn=pe.toHex();else if(!/^\d*\.?\d*$/.test(cn))throw new Error('Invalid color "'+cn+'" passed to jsPDF.encodeColorString.')}if(typeof cn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(cn)&&(cn="#"+cn[1]+cn[1]+cn[2]+cn[2]+cn[3]+cn[3]),typeof cn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(cn)){var Ue=parseInt(cn.substr(1),16);cn=Ue>>16&255,zn=Ue>>8&255,ht=255&Ue}if(zn===void 0||Z===void 0&&cn===zn&&zn===ht)if(typeof cn=="string")Wt=cn+" "+se[0];else switch(Ct.precision){case 2:Wt=dt(cn/255)+" "+se[0];break;case 3:default:Wt=bt(cn/255)+" "+se[0]}else if(Z===void 0||S()(Z)==="object"){if(Z&&!isNaN(Z.a)&&Z.a===0)return Wt=["1.","1.","1.",se[1]].join(" ");if(typeof cn=="string")Wt=[cn,zn,ht,se[1]].join(" ");else switch(Ct.precision){case 2:Wt=[dt(cn/255),dt(zn/255),dt(ht/255),se[1]].join(" ");break;default:case 3:Wt=[bt(cn/255),bt(zn/255),bt(ht/255),se[1]].join(" ")}}else if(typeof cn=="string")Wt=[cn,zn,ht,Z,se[2]].join(" ");else switch(Ct.precision){case 2:Wt=[dt(cn),dt(zn),dt(ht),dt(Z),se[2]].join(" ");break;case 3:default:Wt=[bt(cn),bt(zn),bt(ht),bt(Z),se[2]].join(" ")}return Wt},Ra=er.__private__.getFilters=function(){return Qe},vo=er.__private__.putStream=function(Ct){var Wt=(Ct=Ct||{}).data||"",cn=Ct.filters||Ra(),zn=Ct.alreadyAppliedFilters||[],ht=Ct.addLength1||!1,Z=Wt.length,se=Ct.objectId,pe=function(Qn){return Qn};if(Rr!==null&&se===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Rr!==null&&(pe=Ji.encryptor(se,0));var Ue={};cn===!0&&(cn=["FlateEncode"]);var ft=Ct.additionalKeyValues||[],zt=(Ue=H.API.processDataByFilters!==void 0?H.API.processDataByFilters(Wt,cn):{data:Wt,reverseChain:[]}).reverseChain+(Array.isArray(zn)?zn.join(" "):zn.toString());if(Ue.data.length!==0&&(ft.push({key:"Length",value:Ue.data.length}),ht===!0&&ft.push({key:"Length1",value:Z})),zt.length!=0)if(zt.split("/").length-1==1)ft.push({key:"Filter",value:zt});else{ft.push({key:"Filter",value:"["+zt+"]"});for(var Dr=0;Dr<ft.length;Dr+=1)if(ft[Dr].key==="DecodeParms"){for(var Xr=[],dn=0;dn<Ue.reverseChain.split("/").length-1;dn+=1)Xr.push("null");Xr.push(ft[Dr].value),ft[Dr].value="["+Xr.join(" ")+"]"}}hn("<<");for(var Kn=0;Kn<ft.length;Kn++)hn("/"+ft[Kn].key+" "+ft[Kn].value);hn(">>"),Ue.data.length!==0&&(hn("stream"),hn(pe(Ue.data)),hn("endstream"))},ja=er.__private__.putPage=function(Ct){var Wt=Ct.number,cn=Ct.data,zn=Ct.objId,ht=Ct.contentsObjId;Gi(zn,!0),hn("<</Type /Page"),hn("/Parent "+Ct.rootDictionaryObjId+" 0 R"),hn("/Resources "+Ct.resourceDictionaryObjId+" 0 R"),hn("/MediaBox ["+parseFloat(sn(Ct.mediaBox.bottomLeftX))+" "+parseFloat(sn(Ct.mediaBox.bottomLeftY))+" "+sn(Ct.mediaBox.topRightX)+" "+sn(Ct.mediaBox.topRightY)+"]"),Ct.cropBox!==null&&hn("/CropBox ["+sn(Ct.cropBox.bottomLeftX)+" "+sn(Ct.cropBox.bottomLeftY)+" "+sn(Ct.cropBox.topRightX)+" "+sn(Ct.cropBox.topRightY)+"]"),Ct.bleedBox!==null&&hn("/BleedBox ["+sn(Ct.bleedBox.bottomLeftX)+" "+sn(Ct.bleedBox.bottomLeftY)+" "+sn(Ct.bleedBox.topRightX)+" "+sn(Ct.bleedBox.topRightY)+"]"),Ct.trimBox!==null&&hn("/TrimBox ["+sn(Ct.trimBox.bottomLeftX)+" "+sn(Ct.trimBox.bottomLeftY)+" "+sn(Ct.trimBox.topRightX)+" "+sn(Ct.trimBox.topRightY)+"]"),Ct.artBox!==null&&hn("/ArtBox ["+sn(Ct.artBox.bottomLeftX)+" "+sn(Ct.artBox.bottomLeftY)+" "+sn(Ct.artBox.topRightX)+" "+sn(Ct.artBox.topRightY)+"]"),typeof Ct.userUnit=="number"&&Ct.userUnit!==1&&hn("/UserUnit "+Ct.userUnit),vi.publish("putPage",{objId:zn,pageContext:Si[Wt],pageNumber:Wt,page:cn}),hn("/Contents "+ht+" 0 R"),hn(">>"),hn("endobj");var Z=cn.join(`
`);return Xn===Fr.ADVANCED&&(Z+=`
Q`),Gi(ht,!0),vo({data:Z,filters:Ra(),objectId:ht}),hn("endobj"),zn},Ya=er.__private__.putPages=function(){var Ct,Wt,cn=[];for(Ct=1;Ct<=Ni;Ct++)Si[Ct].objId=ta(),Si[Ct].contentsObjId=ta();for(Ct=1;Ct<=Ni;Ct++)cn.push(ja({number:Ct,data:ki[Ct],objId:Si[Ct].objId,contentsObjId:Si[Ct].contentsObjId,mediaBox:Si[Ct].mediaBox,cropBox:Si[Ct].cropBox,bleedBox:Si[Ct].bleedBox,trimBox:Si[Ct].trimBox,artBox:Si[Ct].artBox,userUnit:Si[Ct].userUnit,rootDictionaryObjId:ra,resourceDictionaryObjId:pa}));Gi(ra,!0),hn("<</Type /Pages");var zn="/Kids [";for(Wt=0;Wt<Ni;Wt++)zn+=cn[Wt]+" 0 R ";hn(zn+"]"),hn("/Count "+Ni),hn(">>"),hn("endobj"),vi.publish("postPutPages")},Ia=function(Wt){vi.publish("putFont",{font:Wt,out:hn,newObject:Vi,putStream:vo}),Wt.isAlreadyPutted!==!0&&(Wt.objectNumber=Vi(),hn("<<"),hn("/Type /Font"),hn("/BaseFont /"+F(Wt.postScriptName)),hn("/Subtype /Type1"),typeof Wt.encoding=="string"&&hn("/Encoding /"+Wt.encoding),hn("/FirstChar 32"),hn("/LastChar 255"),hn(">>"),hn("endobj"))},Va=function(){for(var Wt in en)en.hasOwnProperty(Wt)&&(Lr===!1||Lr===!0&&Gr.hasOwnProperty(Wt))&&Ia(en[Wt])},co=function(Wt){Wt.objectNumber=Vi();var cn=[];cn.push({key:"Type",value:"/XObject"}),cn.push({key:"Subtype",value:"/Form"}),cn.push({key:"BBox",value:"["+[sn(Wt.x),sn(Wt.y),sn(Wt.x+Wt.width),sn(Wt.y+Wt.height)].join(" ")+"]"}),cn.push({key:"Matrix",value:"["+Wt.matrix.toString()+"]"});var zn=Wt.pages[1].join(`
`);vo({data:zn,additionalKeyValues:cn,objectId:Wt.objectNumber}),hn("endobj")},Ta=function(){for(var Wt in Ci)Ci.hasOwnProperty(Wt)&&co(Ci[Wt])},yo=function(Wt,cn){var zn,ht=[],Z=1/(cn-1);for(zn=0;zn<1;zn+=Z)ht.push(zn);if(ht.push(1),Wt[0].offset!=0){var se={offset:0,color:Wt[0].color};Wt.unshift(se)}if(Wt[Wt.length-1].offset!=1){var pe={offset:1,color:Wt[Wt.length-1].color};Wt.push(pe)}for(var Ue="",ft=0,zt=0;zt<ht.length;zt++){for(zn=ht[zt];zn>Wt[ft+1].offset;)ft++;var Dr=Wt[ft].offset,Xr=(zn-Dr)/(Wt[ft+1].offset-Dr),dn=Wt[ft].color,Kn=Wt[ft+1].color;Ue+=Tn(Math.round((1-Xr)*dn[0]+Xr*Kn[0]).toString(16))+Tn(Math.round((1-Xr)*dn[1]+Xr*Kn[1]).toString(16))+Tn(Math.round((1-Xr)*dn[2]+Xr*Kn[2]).toString(16))}return Ue.trim()},uo=function(Wt,cn){cn||(cn=21);var zn=Vi(),ht=yo(Wt.colors,cn),Z=[];Z.push({key:"FunctionType",value:"0"}),Z.push({key:"Domain",value:"[0.0 1.0]"}),Z.push({key:"Size",value:"["+cn+"]"}),Z.push({key:"BitsPerSample",value:"8"}),Z.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Z.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),vo({data:ht,additionalKeyValues:Z,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:zn}),hn("endobj"),Wt.objectNumber=Vi(),hn("<< /ShadingType "+Wt.type),hn("/ColorSpace /DeviceRGB");var se="/Coords ["+sn(parseFloat(Wt.coords[0]))+" "+sn(parseFloat(Wt.coords[1]))+" ";Wt.type===2?se+=sn(parseFloat(Wt.coords[2]))+" "+sn(parseFloat(Wt.coords[3])):se+=sn(parseFloat(Wt.coords[2]))+" "+sn(parseFloat(Wt.coords[3]))+" "+sn(parseFloat(Wt.coords[4]))+" "+sn(parseFloat(Wt.coords[5])),hn(se+="]"),Wt.matrix&&hn("/Matrix ["+Wt.matrix.toString()+"]"),hn("/Function "+zn+" 0 R"),hn("/Extend [true true]"),hn(">>"),hn("endobj")},Xa=function(Wt,cn){var zn=ta(),ht=Vi();cn.push({resourcesOid:zn,objectOid:ht}),Wt.objectNumber=ht;var Z=[];Z.push({key:"Type",value:"/Pattern"}),Z.push({key:"PatternType",value:"1"}),Z.push({key:"PaintType",value:"1"}),Z.push({key:"TilingType",value:"1"}),Z.push({key:"BBox",value:"["+Wt.boundingBox.map(sn).join(" ")+"]"}),Z.push({key:"XStep",value:sn(Wt.xStep)}),Z.push({key:"YStep",value:sn(Wt.yStep)}),Z.push({key:"Resources",value:zn+" 0 R"}),Wt.matrix&&Z.push({key:"Matrix",value:"["+Wt.matrix.toString()+"]"}),vo({data:Wt.stream,additionalKeyValues:Z,objectId:Wt.objectNumber}),hn("endobj")},Oo=function(Wt){var cn;for(cn in Gn)Gn.hasOwnProperty(cn)&&(Gn[cn]instanceof U?uo(Gn[cn]):Gn[cn]instanceof B&&Xa(Gn[cn],Wt))},oa=function(Wt){for(var cn in Wt.objectNumber=Vi(),hn("<<"),Wt)switch(cn){case"opacity":hn("/ca "+dt(Wt[cn]));break;case"stroke-opacity":hn("/CA "+dt(Wt[cn]))}hn(">>"),hn("endobj")},qa=function(){var Wt;for(Wt in Jn)Jn.hasOwnProperty(Wt)&&oa(Jn[Wt])},oo=function(){for(var Wt in hn("/XObject <<"),Ci)Ci.hasOwnProperty(Wt)&&Ci[Wt].objectNumber>=0&&hn("/"+Wt+" "+Ci[Wt].objectNumber+" 0 R");vi.publish("putXobjectDict"),hn(">>")},Ro=function(){Ji.oid=Vi(),hn("<<"),hn("/Filter /Standard"),hn("/V "+Ji.v),hn("/R "+Ji.r),hn("/U <"+Ji.toHexString(Ji.U)+">"),hn("/O <"+Ji.toHexString(Ji.O)+">"),hn("/P "+Ji.P),hn(">>"),hn("endobj")},Ga=function(){for(var Wt in hn("/Font <<"),en)en.hasOwnProperty(Wt)&&(Lr===!1||Lr===!0&&Gr.hasOwnProperty(Wt))&&hn("/"+Wt+" "+en[Wt].objectNumber+" 0 R");hn(">>")},_o=function(){if(Object.keys(Gn).length>0){for(var Wt in hn("/Shading <<"),Gn)Gn.hasOwnProperty(Wt)&&Gn[Wt]instanceof U&&Gn[Wt].objectNumber>=0&&hn("/"+Wt+" "+Gn[Wt].objectNumber+" 0 R");vi.publish("putShadingPatternDict"),hn(">>")}},go=function(Wt){if(Object.keys(Gn).length>0){for(var cn in hn("/Pattern <<"),Gn)Gn.hasOwnProperty(cn)&&Gn[cn]instanceof er.TilingPattern&&Gn[cn].objectNumber>=0&&Gn[cn].objectNumber<Wt&&hn("/"+cn+" "+Gn[cn].objectNumber+" 0 R");vi.publish("putTilingPatternDict"),hn(">>")}},Ja=function(){if(Object.keys(Jn).length>0){var Wt;for(Wt in hn("/ExtGState <<"),Jn)Jn.hasOwnProperty(Wt)&&Jn[Wt].objectNumber>=0&&hn("/"+Wt+" "+Jn[Wt].objectNumber+" 0 R");vi.publish("putGStateDict"),hn(">>")}},Fa=function(Wt){Gi(Wt.resourcesOid,!0),hn("<<"),hn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ga(),_o(),go(Wt.objectOid),Ja(),oo(),hn(">>"),hn("endobj")},ha=function(){var Wt=[];Va(),qa(),Ta(),Oo(Wt),vi.publish("putResources"),Wt.forEach(Fa),Fa({resourcesOid:pa,objectOid:Number.MAX_SAFE_INTEGER}),vi.publish("postPutResources")},tt=function(){vi.publish("putAdditionalObjects");for(var Wt=0;Wt<si.length;Wt++){var cn=si[Wt];Gi(cn.objId,!0),hn(cn.content),hn("endobj")}vi.publish("postPutAdditionalObjects")},lr=function(Wt){Ln[Wt.fontName]=Ln[Wt.fontName]||{},Ln[Wt.fontName][Wt.fontStyle]=Wt.id},Mr=function(Wt,cn,zn,ht,Z){var se={id:"F"+(Object.keys(en).length+1).toString(10),postScriptName:Wt,fontName:cn,fontStyle:zn,encoding:ht,isStandardFont:Z||!1,metadata:{}};return vi.publish("addFont",{font:se,instance:this}),en[se.id]=se,lr(se),se.id},Ir=function(Wt){for(var cn=0,zn=Li.length;cn<zn;cn++){var ht=Mr.call(this,Wt[cn][0],Wt[cn][1],Wt[cn][2],Li[cn][3],!0);Lr===!1&&(Gr[ht]=!0);var Z=Wt[cn][0].split("-");lr({id:ht,fontName:Z[0],fontStyle:Z[1]||""})}vi.publish("addFonts",{fonts:en,dictionary:Ln})},_n=function(Wt){return Wt.foo=function(){try{return Wt.apply(this,arguments)}catch(ht){var cn=ht.stack||"";~cn.indexOf(" at ")&&(cn=cn.split(" at ")[1]);var zn="Error in function "+cn.split(`
`)[0].split("<")[0]+": "+ht.message;if(!g.console)throw new Error(zn);g.console.error(zn,ht),g.alert&&alert(zn)}},Wt.foo.bar=Wt,Wt.foo},Vr=function(Wt,cn){var zn,ht,Z,se,pe,Ue,ft,zt,Dr;if(Z=(cn=cn||{}).sourceEncoding||"Unicode",pe=cn.outputEncoding,(cn.autoencode||pe)&&en[dr].metadata&&en[dr].metadata[Z]&&en[dr].metadata[Z].encoding&&(se=en[dr].metadata[Z].encoding,!pe&&en[dr].encoding&&(pe=en[dr].encoding),!pe&&se.codePages&&(pe=se.codePages[0]),typeof pe=="string"&&(pe=se[pe]),pe)){for(ft=!1,Ue=[],zn=0,ht=Wt.length;zn<ht;zn++)(zt=pe[Wt.charCodeAt(zn)])?Ue.push(String.fromCharCode(zt)):Ue.push(Wt[zn]),Ue[zn].charCodeAt(0)>>8&&(ft=!0);Wt=Ue.join("")}for(zn=Wt.length;ft===void 0&&zn!==0;)Wt.charCodeAt(zn-1)>>8&&(ft=!0),zn--;if(!ft)return Wt;for(Ue=cn.noBOM?[]:[254,255],zn=0,ht=Wt.length;zn<ht;zn++){if((Dr=(zt=Wt.charCodeAt(zn))>>8)>>8)throw new Error("Character at position "+zn+" of string '"+Wt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ue.push(Dr),Ue.push(zt-(Dr<<8))}return String.fromCharCode.apply(void 0,Ue)},_r=er.__private__.pdfEscape=er.pdfEscape=function(Ct,Wt){return Vr(Ct,Wt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Mn=er.__private__.beginPage=function(Ct){ki[++Ni]=[],Si[Ni]={objId:0,contentsObjId:0,userUnit:Number(yt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ct[0]),topRightY:Number(Ct[1])}},jn(Ni),Zn(ki[Sr])},Br=function(Wt,cn){var zn,ht,Z;switch(Ie=cn||Ie,typeof Wt=="string"&&(zn=tn(Wt.toLowerCase()),Array.isArray(zn)&&(ht=zn[0],Z=zn[1])),Array.isArray(Wt)&&(ht=Wt[0]*pr,Z=Wt[1]*pr),isNaN(ht)&&(ht=Ve[0],Z=Ve[1]),(ht>14400||Z>14400)&&(d.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),ht=Math.min(14400,ht),Z=Math.min(14400,Z)),Ve=[ht,Z],Ie.substr(0,1)){case"l":Z>ht&&(Ve=[Z,ht]);break;case"p":ht>Z&&(Ve=[Z,ht])}Mn(Ve),Po(za),hn(zo),Ko!==0&&hn(Ko+" J"),hs!==0&&hn(hs+" j"),vi.publish("addPage",{pageNumber:Ni})},Sn=function(Wt){Wt>0&&Wt<=Ni&&(ki.splice(Wt,1),Si.splice(Wt,1),Ni--,Sr>Ni&&(Sr=Ni),this.setPage(Sr))},jn=function(Wt){Wt>0&&Wt<=Ni&&(Sr=Wt)},Hn=er.__private__.getNumberOfPages=er.getNumberOfPages=function(){return ki.length-1},Bn=function(Wt,cn,zn){var ht,Z=void 0;return zn=zn||{},Wt=Wt!==void 0?Wt:en[dr].fontName,cn=cn!==void 0?cn:en[dr].fontStyle,ht=Wt.toLowerCase(),Ln[ht]!==void 0&&Ln[ht][cn]!==void 0?Z=Ln[ht][cn]:Ln[Wt]!==void 0&&Ln[Wt][cn]!==void 0?Z=Ln[Wt][cn]:zn.disableWarning===!1&&d.warn("Unable to look up font label for font '"+Wt+"', '"+cn+"'. Refer to getFontList() for available fonts."),Z||zn.noFallback||(Z=Ln.times[cn])==null&&(Z=Ln.times.normal),Z},ri=er.__private__.putInfo=function(){var Ct=Vi(),Wt=function(ht){return ht};for(var cn in Rr!==null&&(Wt=Ji.encryptor(Ct,0)),hn("<<"),hn("/Producer ("+_r(Wt("jsPDF "+H.version))+")"),mt)mt.hasOwnProperty(cn)&&mt[cn]&&hn("/"+cn.substr(0,1).toUpperCase()+cn.substr(1)+" ("+_r(Wt(mt[cn]))+")");hn("/CreationDate ("+_r(Wt(Gt))+")"),hn(">>"),hn("endobj")},Yn=er.__private__.putCatalog=function(Ct){var Wt=(Ct=Ct||{}).rootDictionaryObjId||ra;switch(Vi(),hn("<<"),hn("/Type /Catalog"),hn("/Pages "+Wt+" 0 R"),Ar||(Ar="fullwidth"),Ar){case"fullwidth":hn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":hn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":hn("/OpenAction [3 0 R /Fit]");break;case"original":hn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var cn=""+Ar;cn.substr(cn.length-1)==="%"&&(Ar=parseInt(Ar)/100),typeof Ar=="number"&&hn("/OpenAction [3 0 R /XYZ null null "+dt(Ar)+"]")}switch(Or||(Or="continuous"),Or){case"continuous":hn("/PageLayout /OneColumn");break;case"single":hn("/PageLayout /SinglePage");break;case"two":case"twoleft":hn("/PageLayout /TwoColumnLeft");break;case"tworight":hn("/PageLayout /TwoColumnRight")}Qt&&hn("/PageMode /"+Qt),vi.publish("putCatalog"),hn(">>"),hn("endobj")},ii=er.__private__.putTrailer=function(){hn("trailer"),hn("<<"),hn("/Size "+(In+1)),hn("/Root "+In+" 0 R"),hn("/Info "+(In-1)+" 0 R"),Rr!==null&&hn("/Encrypt "+Ji.oid+" 0 R"),hn("/ID [ <"+qt+"> <"+qt+"> ]"),hn(">>")},ai=er.__private__.putHeader=function(){hn("%PDF-"+On),hn("%\xBA\xDF\xAC\xE0")},Pi=er.__private__.putXRef=function(){var Ct="0000000000";hn("xref"),hn("0 "+(In+1)),hn("0000000000 65535 f ");for(var Wt=1;Wt<=In;Wt++)typeof Un[Wt]=="function"?hn((Ct+Un[Wt]()).slice(-10)+" 00000 n "):Un[Wt]!==void 0?hn((Ct+Un[Wt]).slice(-10)+" 00000 n "):hn("0000000000 00000 n ")},yi=er.__private__.buildDocument=function(){Yi(),Zn(ti),vi.publish("buildDocument"),ai(),Ya(),tt(),ha(),Rr!==null&&Ro(),ri(),Yn();var Ct=li;return Pi(),ii(),hn("startxref"),hn(""+Ct),hn("%%EOF"),Zn(ki[Sr]),ti.join(`
`)},Ki=er.__private__.getBlob=function(Ct){return new Blob([Hi(Ct)],{type:"application/pdf"})},va=er.output=er.__private__.output=_n(function(Ct,Wt){switch(typeof(Wt=Wt||{})=="string"?Wt={filename:Wt}:Wt.filename=Wt.filename||"generated.pdf",Ct){case void 0:return yi();case"save":er.save(Wt.filename);break;case"arraybuffer":return Hi(yi());case"blob":return Ki(yi());case"bloburi":case"bloburl":if(g.URL!==void 0&&typeof g.URL.createObjectURL=="function")return g.URL&&g.URL.createObjectURL(Ki(yi()))||void 0;d.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var cn="",zn=yi();try{cn=a(zn)}catch(dn){cn=a(unescape(encodeURIComponent(zn)))}return"data:application/pdf;filename="+Wt.filename+";base64,"+cn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(g)==="[object Window]"){var ht="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Z=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Wt.pdfObjectUrl&&(ht=Wt.pdfObjectUrl,Z="");var se='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+ht+'"'+Z+'></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Wt)+");</script></body></html>",pe=g.open();return pe!==null&&pe.document.write(se),pe}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(g)==="[object Window]"){var Ue='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Wt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Wt.filename+'" width="500px" height="400px" /></body></html>',ft=g.open();if(ft!==null){ft.document.write(Ue);var zt=this;ft.document.documentElement.querySelector("#pdfViewer").onload=function(){ft.document.title=Wt.filename,ft.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(zt.output("bloburl"))}}return ft}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(g)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Dr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Wt)+'"></iframe></body></html>',Xr=g.open();if(Xr!==null&&(Xr.document.write(Dr),Xr.document.title=Wt.filename),Xr||typeof safari=="undefined")return Xr;break;case"datauri":case"dataurl":return g.document.location.href=this.output("datauristring",Wt);default:return null}}),ea=function(Wt){return Array.isArray(Ai)===!0&&Ai.indexOf(Wt)>-1};switch(Fe){case"pt":pr=1;break;case"mm":pr=72/25.4;break;case"cm":pr=72/2.54;break;case"in":pr=72;break;case"px":pr=ea("px_scaling")==1?.75:96/72;break;case"pc":case"em":pr=12;break;case"ex":pr=6;break;default:if(typeof Fe!="number")throw new Error("Invalid unit: "+Fe);pr=Fe}var Ji=null;Wn(),mr();var sa=function(Wt){return Rr!==null?Ji.encryptor(Wt,0):function(cn){return cn}},fa=er.__private__.getPageInfo=er.getPageInfo=function(Ct){if(isNaN(Ct)||Ct%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Si[Ct].objId,pageNumber:Ct,pageContext:Si[Ct]}},xo=er.__private__.getPageInfoByObjId=function(Ct){if(isNaN(Ct)||Ct%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Wt in Si)if(Si[Wt].objId===Ct)break;return fa(Wt)},Qa=er.__private__.getCurrentPageInfo=er.getCurrentPageInfo=function(){return{objId:Si[Sr].objId,pageNumber:Sr,pageContext:Si[Sr]}};er.addPage=function(){return Br.apply(this,arguments),this},er.setPage=function(){return jn.apply(this,arguments),Zn.call(this,ki[Sr]),this},er.insertPage=function(Ct){return this.addPage(),this.movePage(Sr,Ct),this},er.movePage=function(Ct,Wt){var cn,zn;if(Ct>Wt){cn=ki[Ct],zn=Si[Ct];for(var ht=Ct;ht>Wt;ht--)ki[ht]=ki[ht-1],Si[ht]=Si[ht-1];ki[Wt]=cn,Si[Wt]=zn,this.setPage(Wt)}else if(Ct<Wt){cn=ki[Ct],zn=Si[Ct];for(var Z=Ct;Z<Wt;Z++)ki[Z]=ki[Z+1],Si[Z]=Si[Z+1];ki[Wt]=cn,Si[Wt]=zn,this.setPage(Wt)}return this},er.deletePage=function(){return Sn.apply(this,arguments),this},er.__private__.text=er.text=function(Ct,Wt,cn,zn,ht){var Z,se,pe,Ue,ft,zt,Dr,Xr,dn,Kn=(zn=zn||{}).scope||this;if(typeof Ct=="number"&&typeof Wt=="number"&&(typeof cn=="string"||Array.isArray(cn))){var $n=cn;cn=Wt,Wt=Ct,Ct=$n}if(arguments[3]instanceof Di==!1?(pe=arguments[4],Ue=arguments[5],S()(Dr=arguments[3])==="object"&&Dr!==null||(typeof pe=="string"&&(Ue=pe,pe=null),typeof Dr=="string"&&(Ue=Dr,Dr=null),typeof Dr=="number"&&(pe=Dr,Dr=null),zn={flags:Dr,angle:pe,align:Ue})):(Cn("The transform parameter of text() with a Matrix value"),dn=ht),isNaN(Wt)||isNaN(cn)||Ct==null)throw new Error("Invalid arguments passed to jsPDF.text");if(Ct.length===0)return Kn;var Qn="",Ei=!1,Fi=typeof zn.lineHeightFactor=="number"?zn.lineHeightFactor:Ba,Aa=Kn.internal.scaleFactor;function Oa(Ns){return Ns=Ns.split(" ").join(Array(zn.TabLen||9).join(" ")),_r(Ns,Dr)}function fo(Ns){for(var ys,Ds=Ns.concat(),xs=[],Gs=Ds.length;Gs--;)typeof(ys=Ds.shift())=="string"?xs.push(ys):Array.isArray(Ns)&&(ys.length===1||ys[1]===void 0&&ys[2]===void 0)?xs.push(ys[0]):xs.push([ys[0],ys[1],ys[2]]);return xs}function wo(Ns,ys){var Ds;if(typeof Ns=="string")Ds=ys(Ns)[0];else if(Array.isArray(Ns)){for(var xs,Gs,ll=Ns.concat(),El=[],jl=ll.length;jl--;)typeof(xs=ll.shift())=="string"?El.push(ys(xs)[0]):Array.isArray(xs)&&typeof xs[0]=="string"&&(Gs=ys(xs[0],xs[1],xs[2]),El.push([Gs[0],Gs[1],Gs[2]]));Ds=El}return Ds}var lo=!1,Yo=!0;if(typeof Ct=="string")lo=!0;else if(Array.isArray(Ct)){var Vo=Ct.concat();se=[];for(var No,ao=Vo.length;ao--;)(typeof(No=Vo.shift())!="string"||Array.isArray(No)&&typeof No[0]!="string")&&(Yo=!1);lo=Yo}if(lo===!1)throw new Error('Type of text must be string or Array. "'+Ct+'" is not recognized.');typeof Ct=="string"&&(Ct=Ct.match(/[\r?\n]/)?Ct.split(/\r\n|\r|\n/g):[Ct]);var Ka=Bi/Kn.internal.scaleFactor,is=Ka*(Fi-1);switch(zn.baseline){case"bottom":cn-=is;break;case"top":cn+=Ka-is;break;case"hanging":cn+=Ka-2*is;break;case"middle":cn+=Ka/2-is}if((zt=zn.maxWidth||0)>0&&(typeof Ct=="string"?Ct=Kn.splitTextToSize(Ct,zt):Object.prototype.toString.call(Ct)==="[object Array]"&&(Ct=Ct.reduce(function(Ns,ys){return Ns.concat(Kn.splitTextToSize(ys,zt))},[]))),Z={text:Ct,x:Wt,y:cn,options:zn,mutex:{pdfEscape:_r,activeFontKey:dr,fonts:en,activeFontSize:Bi}},vi.publish("preProcessText",Z),Ct=Z.text,pe=(zn=Z.options).angle,dn instanceof Di==!1&&pe&&typeof pe=="number"){pe*=Math.PI/180,zn.rotationDirection===0&&(pe=-pe),Xn===Fr.ADVANCED&&(pe=-pe);var Is=Math.cos(pe),Xo=Math.sin(pe);dn=new Di(Is,Xo,-Xo,Is,0,0)}else pe&&pe instanceof Di&&(dn=pe);Xn!==Fr.ADVANCED||dn||(dn=aa),(ft=zn.charSpace||Es)!==void 0&&(Qn+=sn(Tt(ft))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(Xr=zn.horizontalScale)!==void 0&&(Qn+=sn(100*Xr)+` Tz
`),zn.lang;var la=-1,Vs=zn.renderingMode!==void 0?zn.renderingMode:zn.stroke,Hs=Kn.internal.getCurrentPageInfo().pageContext;switch(Vs){case 0:case!1:case"fill":la=0;break;case 1:case!0:case"stroke":la=1;break;case 2:case"fillThenStroke":la=2;break;case 3:case"invisible":la=3;break;case 4:case"fillAndAddForClipping":la=4;break;case 5:case"strokeAndAddPathForClipping":la=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":la=6;break;case 7:case"addToPathForClipping":la=7}var fs=Hs.usedRenderingMode!==void 0?Hs.usedRenderingMode:-1;la!==-1?Qn+=la+` Tr
`:fs!==-1&&(Qn+=`0 Tr
`),la!==-1&&(Hs.usedRenderingMode=la),Ue=zn.align||"left";var as,Ss=Bi*Fi,xl=Kn.internal.pageSize.getWidth(),Al=en[dr];ft=zn.charSpace||Es,zt=zn.maxWidth||0,Dr=Object.assign({autoencode:!0,noBOM:!0},zn.flags);var zs=[];if(Object.prototype.toString.call(Ct)==="[object Array]"){var Zo;se=fo(Ct),Ue!=="left"&&(as=se.map(function(Ns){return Kn.getStringUnitWidth(Ns,{font:Al,charSpace:ft,fontSize:Bi,doKerning:!1})*Bi/Aa}));var vs,nl=0;if(Ue==="right"){Wt-=as[0],Ct=[],ao=se.length;for(var ks=0;ks<ao;ks++)ks===0?(vs=ho(Wt),Zo=bo(cn)):(vs=Tt(nl-as[ks]),Zo=-Ss),Ct.push([se[ks],vs,Zo]),nl=as[ks]}else if(Ue==="center"){Wt-=as[0]/2,Ct=[],ao=se.length;for(var po=0;po<ao;po++)po===0?(vs=ho(Wt),Zo=bo(cn)):(vs=Tt((nl-as[po])/2),Zo=-Ss),Ct.push([se[po],vs,Zo]),nl=as[po]}else if(Ue==="left"){Ct=[],ao=se.length;for(var Wa=0;Wa<ao;Wa++)Ct.push(se[Wa])}else{if(Ue!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');Ct=[],ao=se.length,zt=zt!==0?zt:xl;for(var Eo=0;Eo<ao;Eo++)Zo=Eo===0?bo(cn):-Ss,vs=Eo===0?ho(Wt):0,Eo<ao-1?zs.push(sn(Tt((zt-as[Eo])/(se[Eo].split(" ").length-1)))):zs.push(0),Ct.push([se[Eo],vs,Zo])}}var Go=typeof zn.R2L=="boolean"?zn.R2L:on;Go===!0&&(Ct=wo(Ct,function(Ns,ys,Ds){return[Ns.split("").reverse().join(""),ys,Ds]})),Z={text:Ct,x:Wt,y:cn,options:zn,mutex:{pdfEscape:_r,activeFontKey:dr,fonts:en,activeFontSize:Bi}},vi.publish("postProcessText",Z),Ct=Z.text,Ei=Z.mutex.isHex||!1;var $o=en[dr].encoding;$o!=="WinAnsiEncoding"&&$o!=="StandardEncoding"||(Ct=wo(Ct,function(Ns,ys,Ds){return[Oa(Ns),ys,Ds]})),se=fo(Ct),Ct=[];for(var To,rs,os,Fs=0,ol=1,Zs=Array.isArray(se[0])?ol:Fs,dl="",hl=function(ys,Ds,xs){var Gs="";return xs instanceof Di?(xs=typeof zn.angle=="number"?ua(xs,new Di(1,0,0,1,ys,Ds)):ua(new Di(1,0,0,1,ys,Ds),xs),Xn===Fr.ADVANCED&&(xs=ua(new Di(1,0,0,-1,0,0),xs)),Gs=xs.join(" ")+` Tm
`):Gs=sn(ys)+" "+sn(Ds)+` Td
`,Gs},sl=0;sl<se.length;sl++){switch(dl="",Zs){case ol:os=(Ei?"<":"(")+se[sl][0]+(Ei?">":")"),To=parseFloat(se[sl][1]),rs=parseFloat(se[sl][2]);break;case Fs:os=(Ei?"<":"(")+se[sl]+(Ei?">":")"),To=ho(Wt),rs=bo(cn)}zs!==void 0&&zs[sl]!==void 0&&(dl=zs[sl]+` Tw
`),sl===0?Ct.push(dl+hl(To,rs,dn)+os):Zs===Fs?Ct.push(dl+os):Zs===ol&&Ct.push(dl+hl(To,rs,dn)+os)}Ct=Zs===Fs?Ct.join(` Tj
T* `):Ct.join(` Tj
`),Ct+=` Tj
`;var yl=`BT
/`;return yl+=dr+" "+Bi+` Tf
`,yl+=sn(Bi*Fi)+` TL
`,yl+=es+`
`,yl+=Qn,yl+=Ct,hn(yl+="ET"),Gr[dr]=!0,Kn};var Wi=er.__private__.clip=er.clip=function(Ct){return hn(Ct==="evenodd"?"W*":"W"),this};er.clipEvenOdd=function(){return Wi("evenodd")},er.__private__.discardPath=er.discardPath=function(){return hn("n"),this};var qi=er.__private__.isValidStyle=function(Ct){var Wt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Ct)!==-1&&(Wt=!0),Wt};er.__private__.setDefaultPathOperation=er.setDefaultPathOperation=function(Ct){return qi(Ct)&&(Zt=Ct),this};var ca=er.__private__.getStyle=er.getStyle=function(Ct){var Wt=Zt;switch(Ct){case"D":case"S":Wt="S";break;case"F":Wt="f";break;case"FD":case"DF":Wt="B";break;case"f":case"f*":case"B":case"B*":Wt=Ct}return Wt},ma=er.close=function(){return hn("h"),this};er.stroke=function(){return hn("S"),this},er.fill=function(Ct){return Pa("f",Ct),this},er.fillEvenOdd=function(Ct){return Pa("f*",Ct),this},er.fillStroke=function(Ct){return Pa("B",Ct),this},er.fillStrokeEvenOdd=function(Ct){return Pa("B*",Ct),this};var Pa=function(Wt,cn){S()(cn)==="object"?eo(cn,Wt):hn(Wt)},La=function(Wt){Wt===null||Xn===Fr.ADVANCED&&Wt===void 0||(Wt=ca(Wt),hn(Wt))};function Za(Ct,Wt,cn,zn,ht){var Z=new B(Wt||this.boundingBox,cn||this.xStep,zn||this.yStep,this.gState,ht||this.matrix);Z.stream=this.stream;var se=Ct+"$$"+this.cloneIndex+++"$$";return Xi(se,Z),Z}var eo=function(Wt,cn){var zn=ui[Wt.key],ht=Gn[zn];if(ht instanceof U)hn("q"),hn(ko(cn)),ht.gState&&er.setGState(ht.gState),hn(Wt.matrix.toString()+" cm"),hn("/"+zn+" sh"),hn("Q");else if(ht instanceof B){var Z=new Di(1,0,0,-1,0,ts());Wt.matrix&&(Z=Z.multiply(Wt.matrix||aa),zn=Za.call(ht,Wt.key,Wt.boundingBox,Wt.xStep,Wt.yStep,Z).id),hn("q"),hn("/Pattern cs"),hn("/"+zn+" scn"),ht.gState&&er.setGState(ht.gState),hn(cn),hn("Q")}},ko=function(Wt){switch(Wt){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},jo=er.moveTo=function(Ct,Wt){return hn(sn(Tt(Ct))+" "+sn(pt(Wt))+" m"),this},cs=er.lineTo=function(Ct,Wt){return hn(sn(Tt(Ct))+" "+sn(pt(Wt))+" l"),this},Mo=er.curveTo=function(Ct,Wt,cn,zn,ht,Z){return hn([sn(Tt(Ct)),sn(pt(Wt)),sn(Tt(cn)),sn(pt(zn)),sn(Tt(ht)),sn(pt(Z)),"c"].join(" ")),this};er.__private__.line=er.line=function(Ct,Wt,cn,zn,ht){if(isNaN(Ct)||isNaN(Wt)||isNaN(cn)||isNaN(zn)||!qi(ht))throw new Error("Invalid arguments passed to jsPDF.line");return Xn===Fr.COMPAT?this.lines([[cn-Ct,zn-Wt]],Ct,Wt,[1,1],ht||"S"):this.lines([[cn-Ct,zn-Wt]],Ct,Wt,[1,1]).stroke()},er.__private__.lines=er.lines=function(Ct,Wt,cn,zn,ht,Z){var se,pe,Ue,ft,zt,Dr,Xr,dn,Kn,$n,Qn,Ei;if(typeof Ct=="number"&&(Ei=cn,cn=Wt,Wt=Ct,Ct=Ei),zn=zn||[1,1],Z=Z||!1,isNaN(Wt)||isNaN(cn)||!Array.isArray(Ct)||!Array.isArray(zn)||!qi(ht)||typeof Z!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(jo(Wt,cn),se=zn[0],pe=zn[1],ft=Ct.length,$n=Wt,Qn=cn,Ue=0;Ue<ft;Ue++)(zt=Ct[Ue]).length===2?($n=zt[0]*se+$n,Qn=zt[1]*pe+Qn,cs($n,Qn)):(Dr=zt[0]*se+$n,Xr=zt[1]*pe+Qn,dn=zt[2]*se+$n,Kn=zt[3]*pe+Qn,$n=zt[4]*se+$n,Qn=zt[5]*pe+Qn,Mo(Dr,Xr,dn,Kn,$n,Qn));return Z&&ma(),La(ht),this},er.path=function(Ct){for(var Wt=0;Wt<Ct.length;Wt++){var cn=Ct[Wt],zn=cn.c;switch(cn.op){case"m":jo(zn[0],zn[1]);break;case"l":cs(zn[0],zn[1]);break;case"c":Mo.apply(this,zn);break;case"h":ma()}}return this},er.__private__.rect=er.rect=function(Ct,Wt,cn,zn,ht){if(isNaN(Ct)||isNaN(Wt)||isNaN(cn)||isNaN(zn)||!qi(ht))throw new Error("Invalid arguments passed to jsPDF.rect");return Xn===Fr.COMPAT&&(zn=-zn),hn([sn(Tt(Ct)),sn(pt(Wt)),sn(Tt(cn)),sn(Tt(zn)),"re"].join(" ")),La(ht),this},er.__private__.triangle=er.triangle=function(Ct,Wt,cn,zn,ht,Z,se){if(isNaN(Ct)||isNaN(Wt)||isNaN(cn)||isNaN(zn)||isNaN(ht)||isNaN(Z)||!qi(se))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[cn-Ct,zn-Wt],[ht-cn,Z-zn],[Ct-ht,Wt-Z]],Ct,Wt,[1,1],se,!0),this},er.__private__.roundedRect=er.roundedRect=function(Ct,Wt,cn,zn,ht,Z,se){if(isNaN(Ct)||isNaN(Wt)||isNaN(cn)||isNaN(zn)||isNaN(ht)||isNaN(Z)||!qi(se))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var pe=4/3*(Math.SQRT2-1);return ht=Math.min(ht,.5*cn),Z=Math.min(Z,.5*zn),this.lines([[cn-2*ht,0],[ht*pe,0,ht,Z-Z*pe,ht,Z],[0,zn-2*Z],[0,Z*pe,-ht*pe,Z,-ht,Z],[2*ht-cn,0],[-ht*pe,0,-ht,-Z*pe,-ht,-Z],[0,2*Z-zn],[0,-Z*pe,ht*pe,-Z,ht,-Z]],Ct+ht,Wt,[1,1],se,!0),this},er.__private__.ellipse=er.ellipse=function(Ct,Wt,cn,zn,ht){if(isNaN(Ct)||isNaN(Wt)||isNaN(cn)||isNaN(zn)||!qi(ht))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Z=4/3*(Math.SQRT2-1)*cn,se=4/3*(Math.SQRT2-1)*zn;return jo(Ct+cn,Wt),Mo(Ct+cn,Wt-se,Ct+Z,Wt-zn,Ct,Wt-zn),Mo(Ct-Z,Wt-zn,Ct-cn,Wt-se,Ct-cn,Wt),Mo(Ct-cn,Wt+se,Ct-Z,Wt+zn,Ct,Wt+zn),Mo(Ct+Z,Wt+zn,Ct+cn,Wt+se,Ct+cn,Wt),La(ht),this},er.__private__.circle=er.circle=function(Ct,Wt,cn,zn){if(isNaN(Ct)||isNaN(Wt)||isNaN(cn)||!qi(zn))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(Ct,Wt,cn,cn,zn)},er.setFont=function(Ct,Wt,cn){return cn&&(Wt=Ur(Wt,cn)),dr=Bn(Ct,Wt,{disableWarning:!1}),this};var Lo=er.__private__.getFont=er.getFont=function(){return en[Bn.apply(er,arguments)]};er.__private__.getFontList=er.getFontList=function(){var Ct,Wt,cn={};for(Ct in Ln)if(Ln.hasOwnProperty(Ct))for(Wt in cn[Ct]=[],Ln[Ct])Ln[Ct].hasOwnProperty(Wt)&&cn[Ct].push(Wt);return cn},er.addFont=function(Ct,Wt,cn,zn,ht){var Z=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Z.indexOf(arguments[3])!==-1?ht=arguments[3]:arguments[3]&&Z.indexOf(arguments[3])==-1&&(cn=Ur(cn,zn)),ht=ht||"Identity-H",Mr.call(this,Ct,Wt,cn,ht)};var Ba,za=Ye.lineWidth||.200025,Ca=er.__private__.getLineWidth=er.getLineWidth=function(){return za},Po=er.__private__.setLineWidth=er.setLineWidth=function(Ct){return za=Ct,hn(sn(Tt(Ct))+" w"),this};er.__private__.setLineDash=H.API.setLineDash=H.API.setLineDashPattern=function(Ct,Wt){if(Ct=Ct||[],Wt=Wt||0,isNaN(Wt)||!Array.isArray(Ct))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return Ct=Ct.map(function(cn){return sn(Tt(cn))}).join(" "),Wt=sn(Tt(Wt)),hn("["+Ct+"] "+Wt+" d"),this};var Qo=er.__private__.getLineHeight=er.getLineHeight=function(){return Bi*Ba};er.__private__.getLineHeight=er.getLineHeight=function(){return Bi*Ba};var so=er.__private__.setLineHeightFactor=er.setLineHeightFactor=function(Ct){return typeof(Ct=Ct||1.15)=="number"&&(Ba=Ct),this},Os=er.__private__.getLineHeightFactor=er.getLineHeightFactor=function(){return Ba};so(Ye.lineHeight);var ho=er.__private__.getHorizontalCoordinate=function(Ct){return Tt(Ct)},bo=er.__private__.getVerticalCoordinate=function(Ct){return Xn===Fr.ADVANCED?Ct:Si[Sr].mediaBox.topRightY-Si[Sr].mediaBox.bottomLeftY-Tt(Ct)},ds=er.__private__.getHorizontalCoordinateString=er.getHorizontalCoordinateString=function(Ct){return sn(ho(Ct))},Ho=er.__private__.getVerticalCoordinateString=er.getVerticalCoordinateString=function(Ct){return sn(bo(Ct))},zo=Ye.strokeColor||"0 G";er.__private__.getStrokeColor=er.getDrawColor=function(){return _a(zo)},er.__private__.setStrokeColor=er.setDrawColor=function(Ct,Wt,cn,zn){return zo=Da({ch1:Ct,ch2:Wt,ch3:cn,ch4:zn,pdfColorType:"draw",precision:2}),hn(zo),this};var rn=Ye.fillColor||"0 g";er.__private__.getFillColor=er.getFillColor=function(){return _a(rn)},er.__private__.setFillColor=er.setFillColor=function(Ct,Wt,cn,zn){return rn=Da({ch1:Ct,ch2:Wt,ch3:cn,ch4:zn,pdfColorType:"fill",precision:2}),hn(rn),this};var es=Ye.textColor||"0 g",Js=er.__private__.getTextColor=er.getTextColor=function(){return _a(es)};er.__private__.setTextColor=er.setTextColor=function(Ct,Wt,cn,zn){return es=Da({ch1:Ct,ch2:Wt,ch3:cn,ch4:zn,pdfColorType:"text",precision:3}),this};var Es=Ye.charSpace,gs=er.__private__.getCharSpace=er.getCharSpace=function(){return parseFloat(Es||0)};er.__private__.setCharSpace=er.setCharSpace=function(Ct){if(isNaN(Ct))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Es=Ct,this};var Ko=0;er.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},er.__private__.setLineCap=er.setLineCap=function(Ct){var Wt=er.CapJoinStyles[Ct];if(Wt===void 0)throw new Error("Line cap style of '"+Ct+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ko=Wt,hn(Wt+" J"),this};var hs=0;er.__private__.setLineJoin=er.setLineJoin=function(Ct){var Wt=er.CapJoinStyles[Ct];if(Wt===void 0)throw new Error("Line join style of '"+Ct+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return hs=Wt,hn(Wt+" j"),this},er.__private__.setLineMiterLimit=er.__private__.setMiterLimit=er.setLineMiterLimit=er.setMiterLimit=function(Ct){if(Ct=Ct||0,isNaN(Ct))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return hn(sn(Tt(Ct))+" M"),this},er.GState=z,er.setGState=function(Ct){(Ct=typeof Ct=="string"?Jn[pi[Ct]]:bs(null,Ct)).equals(wi)||(hn("/"+Ct.id+" gs"),wi=Ct)};var bs=function(Wt,cn){if(!Wt||!pi[Wt]){var zn=!1;for(var ht in Jn)if(Jn.hasOwnProperty(ht)&&Jn[ht].equals(cn)){zn=!0;break}if(zn)cn=Jn[ht];else{var Z="GS"+(Object.keys(Jn).length+1).toString(10);Jn[Z]=cn,cn.id=Z}return Wt&&(pi[Wt]=cn.id),vi.publish("addGState",cn),cn}};er.addGState=function(Ct,Wt){return bs(Ct,Wt),this},er.saveGraphicsState=function(){return hn("q"),xn.push({key:dr,size:Bi,color:es}),this},er.restoreGraphicsState=function(){hn("Q");var Ct=xn.pop();return dr=Ct.key,Bi=Ct.size,es=Ct.color,wi=null,this},er.setCurrentTransformationMatrix=function(Ct){return hn(Ct.toString()+" cm"),this},er.comment=function(Ct){return hn("#"+Ct),this};var ws=function(Wt,cn){var zn=Wt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return zn},set:function(pe){isNaN(pe)||(zn=parseFloat(pe))}});var ht=cn||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ht},set:function(pe){isNaN(pe)||(ht=parseFloat(pe))}});var Z="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Z},set:function(pe){Z=pe.toString()}}),this},qo=function(Wt,cn,zn,ht){ws.call(this,Wt,cn),this.type="rect";var Z=zn||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Z},set:function(Ue){isNaN(Ue)||(Z=parseFloat(Ue))}});var se=ht||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return se},set:function(Ue){isNaN(Ue)||(se=parseFloat(Ue))}}),this},us=function(){this.page=Ni,this.currentPage=Sr,this.pages=ki.slice(0),this.pagesContext=Si.slice(0),this.x=kr,this.y=nn,this.matrix=un,this.width=to(Sr),this.height=ts(Sr),this.outputDestination=Ri,this.id="",this.objectNumber=-1};us.prototype.restore=function(){Ni=this.page,Sr=this.currentPage,Si=this.pagesContext,ki=this.pages,kr=this.x,nn=this.y,un=this.matrix,Jo(Sr,this.width),Ha(Sr,this.height),Ri=this.outputDestination};var _s=function(Wt,cn,zn,ht,Z){$i.push(new us),Ni=Sr=0,ki=[],kr=Wt,nn=cn,un=Z,Mn([zn,ht])},As=function(Wt){if(Ui[Wt])$i.pop().restore();else{var cn=new us,zn="Xo"+(Object.keys(Ci).length+1).toString(10);cn.id=zn,Ui[Wt]=zn,Ci[zn]=cn,vi.publish("addFormObject",cn),$i.pop().restore()}};for(var Ao in er.beginFormObject=function(Ct,Wt,cn,zn,ht){return _s(Ct,Wt,cn,zn,ht),this},er.endFormObject=function(Ct){return As(Ct),this},er.doFormObject=function(Ct,Wt){var cn=Ci[Ui[Ct]];return hn("q"),hn(Wt.toString()+" cm"),hn("/"+cn.id+" Do"),hn("Q"),this},er.getFormObject=function(Ct){var Wt=Ci[Ui[Ct]];return{x:Wt.x,y:Wt.y,width:Wt.width,height:Wt.height,matrix:Wt.matrix}},er.save=function(Ct,Wt){return Ct=Ct||"generated.pdf",(Wt=Wt||{}).returnPromise=Wt.returnPromise||!1,Wt.returnPromise===!1?(e(Ki(yi()),Ct),typeof e.unload=="function"&&g.setTimeout&&setTimeout(e.unload,911),this):new Promise(function(cn,zn){try{var ht=e(Ki(yi()),Ct);typeof e.unload=="function"&&g.setTimeout&&setTimeout(e.unload,911),cn(ht)}catch(Z){zn(Z.message)}})},H.API)H.API.hasOwnProperty(Ao)&&(Ao==="events"&&H.API.events.length?function(Ct,Wt){var cn,zn,ht;for(ht=Wt.length-1;ht!==-1;ht--)cn=Wt[ht][0],zn=Wt[ht][1],Ct.subscribe.apply(Ct,[cn].concat(typeof zn=="function"?[zn]:zn))}(vi,H.API.events):er[Ao]=H.API[Ao]);var to=er.getPageWidth=function(Ct){return(Si[Ct=Ct||Sr].mediaBox.topRightX-Si[Ct].mediaBox.bottomLeftX)/pr},Jo=er.setPageWidth=function(Ct,Wt){Si[Ct].mediaBox.topRightX=Wt*pr+Si[Ct].mediaBox.bottomLeftX},ts=er.getPageHeight=function(Ct){return(Si[Ct=Ct||Sr].mediaBox.topRightY-Si[Ct].mediaBox.bottomLeftY)/pr},Ha=er.setPageHeight=function(Ct,Wt){Si[Ct].mediaBox.topRightY=Wt*pr+Si[Ct].mediaBox.bottomLeftY};return er.internal={pdfEscape:_r,getStyle:ca,getFont:Lo,getFontSize:ar,getCharSpace:gs,getTextColor:Js,getLineHeight:Qo,getLineHeightFactor:Os,getLineWidth:Ca,write:mi,getHorizontalCoordinate:ho,getVerticalCoordinate:bo,getCoordinateString:ds,getVerticalCoordinateString:Ho,collections:{},newObject:Vi,newAdditionalObject:ga,newObjectDeferred:ta,newObjectDeferredBegin:Gi,getFilters:Ra,putStream:vo,events:vi,scaleFactor:pr,pageSize:{getWidth:function(){return to(Sr)},setWidth:function(Wt){Jo(Sr,Wt)},getHeight:function(){return ts(Sr)},setHeight:function(Wt){Ha(Sr,Wt)}},encryptionOptions:Rr,encryption:Ji,getEncryptor:sa,output:va,getNumberOfPages:Hn,pages:ki,out:hn,f2:dt,f3:bt,getPageInfo:fa,getPageInfoByObjId:xo,getCurrentPageInfo:Qa,getPDFVersion:yr,Point:ws,Rectangle:qo,Matrix:Di,hasHotfix:ea},Object.defineProperty(er.internal.pageSize,"width",{get:function(){return to(Sr)},set:function(Wt){Jo(Sr,Wt)},enumerable:!0,configurable:!0}),Object.defineProperty(er.internal.pageSize,"height",{get:function(){return ts(Sr)},set:function(Wt){Ha(Sr,Wt)},enumerable:!0,configurable:!0}),Ir.call(er,Li),dr="F1",Br(Ve,Ie),vi.publish("initialized"),er}k.prototype.lsbFirstWord=function(Ye){return String.fromCharCode(Ye>>0&255,Ye>>8&255,Ye>>16&255,Ye>>24&255)},k.prototype.toHexString=function(Ye){return Ye.split("").map(function(ge){return("0"+(255&ge.charCodeAt(0)).toString(16)).slice(-2)}).join("")},k.prototype.hexToBytes=function(Ye){for(var ge=[],Ie=0;Ie<Ye.length;Ie+=2)ge.push(String.fromCharCode(parseInt(Ye.substr(Ie,2),16)));return ge.join("")},k.prototype.processOwnerPassword=function(Ye,ge){return L(E(ge).substr(0,5),Ye)},k.prototype.encryptor=function(Ye,ge){var Ie=E(this.encryptionKey+String.fromCharCode(255&Ye,Ye>>8&255,Ye>>16&255,255&ge,ge>>8&255)).substr(0,10);return function(Fe){return L(Ie,Fe)}},z.prototype.equals=function(Ye){var ge,Ie="id,objectNumber,equals";if(!Ye||S()(Ye)!==S()(this))return!1;var Fe=0;for(ge in this)if(!(Ie.indexOf(ge)>=0)){if(this.hasOwnProperty(ge)&&!Ye.hasOwnProperty(ge))return!1;if(this[ge]!==Ye[ge])return!1;Fe++}for(ge in Ye)Ye.hasOwnProperty(ge)&&Ie.indexOf(ge)<0&&Fe--;return Fe===0},H.API={events:[]},H.version="2.5.1";var K=H.API,V=1,W=function(ge){return ge.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},G=function(ge){return ge.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},re=function(ge){return ge.toFixed(2)},ye=function(ge){return ge.toFixed(5)};K.__acroform__={};var $=function(ge,Ie){ge.prototype=Object.create(Ie.prototype),ge.prototype.constructor=ge},ve=function(ge){return ge*V},Ce=function(ge){var Ie=new Oe,Fe=Q.internal.getHeight(ge)||0,Ve=Q.internal.getWidth(ge)||0;return Ie.BBox=[0,0,Number(re(Ve)),Number(re(Fe))],Ie},Se=K.__acroform__.setBit=function(Ye,ge){if(Ye=Ye||0,ge=ge||0,isNaN(Ye)||isNaN(ge))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Ye|=1<<ge},Ke=K.__acroform__.clearBit=function(Ye,ge){if(Ye=Ye||0,ge=ge||0,isNaN(Ye)||isNaN(ge))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Ye&=~(1<<ge)},ue=K.__acroform__.getBit=function(Ye,ge){if(isNaN(Ye)||isNaN(ge))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Ye&1<<ge)==0?0:1},Le=K.__acroform__.getBitForPdf=function(Ye,ge){if(isNaN(Ye)||isNaN(ge))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return ue(Ye,ge-1)},ee=K.__acroform__.setBitForPdf=function(Ye,ge){if(isNaN(Ye)||isNaN(ge))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Se(Ye,ge-1)},le=K.__acroform__.clearBitForPdf=function(Ye,ge){if(isNaN(Ye)||isNaN(ge))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Ke(Ye,ge-1)},et=K.__acroform__.calculateCoordinates=function(Ye,ge){var Ie=ge.internal.getHorizontalCoordinate,Fe=ge.internal.getVerticalCoordinate,Ve=Ye[0],We=Ye[1],Qe=Ye[2],yt=Ye[3],ot={};return ot.lowerLeft_X=Ie(Ve)||0,ot.lowerLeft_Y=Fe(We+yt)||0,ot.upperRight_X=Ie(Ve+Qe)||0,ot.upperRight_Y=Fe(We)||0,[Number(re(ot.lowerLeft_X)),Number(re(ot.lowerLeft_Y)),Number(re(ot.upperRight_X)),Number(re(ot.upperRight_Y))]},Re=function(ge){if(ge.appearanceStreamContent)return ge.appearanceStreamContent;if(ge.V||ge.DV){var Ie=[],Fe=ge._V||ge.DV,Ve=Ae(ge,Fe),We=ge.scope.internal.getFont(ge.fontName,ge.fontStyle).id;Ie.push("/Tx BMC"),Ie.push("q"),Ie.push("BT"),Ie.push(ge.scope.__private__.encodeColorString(ge.color)),Ie.push("/"+We+" "+re(Ve.fontSize)+" Tf"),Ie.push("1 0 0 1 0 0 Tm"),Ie.push(Ve.text),Ie.push("ET"),Ie.push("Q"),Ie.push("EMC");var Qe=Ce(ge);return Qe.scope=ge.scope,Qe.stream=Ie.join(`
`),Qe}},Ae=function(ge,Ie){var Fe=ge.fontSize===0?ge.maxFontSize:ge.fontSize,Ve={text:"",fontSize:""},We=(Ie=(Ie=Ie.substr(0,1)=="("?Ie.substr(1):Ie).substr(Ie.length-1)==")"?Ie.substr(0,Ie.length-1):Ie).split(" ");We=ge.multiline?We.map(function(Tt){return Tt.split(`
`)}):We.map(function(Tt){return[Tt]});var Qe=Fe,yt=Q.internal.getHeight(ge)||0;yt=yt<0?-yt:yt;var ot=Q.internal.getWidth(ge)||0;ot=ot<0?-ot:ot;var Zt=function(Lt,pt,Gt){if(Lt+1<We.length){var qt=pt+" "+We[Lt+1][0];return oe(qt,ge,Gt).width<=ot-4}return!1};Qe++;e:for(;Qe>0;){Ie="",Qe--;var Rr,Lr,Gr=oe("3",ge,Qe).height,er=ge.multiline?yt-Qe:(yt-Gr)/2,On=er+=2,yr=0,gn=0,tn=0;if(Qe<=0){Ie=`(...) Tj
`,Ie+="% Width of Text: "+oe(Ie,ge,Qe=12).width+", FieldWidth:"+ot+`
`;break}for(var Fr="",Xn=0,hi=0;hi<We.length;hi++)if(We.hasOwnProperty(hi)){var _i=!1;if(We[hi].length!==1&&tn!==We[hi].length-1){if((Gr+2)*(Xn+2)+2>yt)continue e;Fr+=We[hi][tn],_i=!0,gn=hi,hi--}else{Fr=(Fr+=We[hi][tn]+" ").substr(Fr.length-1)==" "?Fr.substr(0,Fr.length-1):Fr;var Ur=parseInt(hi),sn=Zt(Ur,Fr,Qe),Cn=hi>=We.length-1;if(sn&&!Cn){Fr+=" ",tn=0;continue}if(sn||Cn){if(Cn)gn=Ur;else if(ge.multiline&&(Gr+2)*(Xn+2)+2>yt)continue e}else{if(!ge.multiline)continue e;if((Gr+2)*(Xn+2)+2>yt)continue e;gn=Ur}}for(var Nt="",dt=yr;dt<=gn;dt++){var bt=We[dt];if(ge.multiline){if(dt===gn){Nt+=bt[tn]+" ",tn=(tn+1)%bt.length;continue}if(dt===yr){Nt+=bt[bt.length-1]+" ";continue}}Nt+=bt[0]+" "}switch(Nt=Nt.substr(Nt.length-1)==" "?Nt.substr(0,Nt.length-1):Nt,Lr=oe(Nt,ge,Qe).width,ge.textAlign){case"right":Rr=ot-Lr-2;break;case"center":Rr=(ot-Lr)/2;break;case"left":default:Rr=2}Ie+=re(Rr)+" "+re(On)+` Td
`,Ie+="("+W(Nt)+`) Tj
`,Ie+=-re(Rr)+` 0 Td
`,On=-(Qe+2),Lr=0,yr=_i?gn:gn+1,Xn++,Fr=""}break}return Ve.text=Ie,Ve.fontSize=Qe,Ve},oe=function(ge,Ie,Fe){var Ve=Ie.scope.internal.getFont(Ie.fontName,Ie.fontStyle),We=Ie.scope.getStringUnitWidth(ge,{font:Ve,fontSize:parseFloat(Fe),charSpace:0})*parseFloat(Fe);return{height:Ie.scope.getStringUnitWidth("3",{font:Ve,fontSize:parseFloat(Fe),charSpace:0})*parseFloat(Fe)*1.5,width:We}},ce={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},be=function(ge,Ie){var Fe={type:"reference",object:ge};Ie.internal.getPageInfo(ge.page).pageContext.annotations.find(function(Ve){return Ve.type===Fe.type&&Ve.object===Fe.object})===void 0&&Ie.internal.getPageInfo(ge.page).pageContext.annotations.push(Fe)},Te=function(ge,Ie){for(var Fe in ge)if(ge.hasOwnProperty(Fe)){var Ve=Fe,We=ge[Fe];Ie.internal.newObjectDeferredBegin(We.objId,!0),S()(We)==="object"&&typeof We.putStream=="function"&&We.putStream(),delete ge[Ve]}},Be=function(ge,Ie){if(Ie.scope=ge,ge.internal!==void 0&&(ge.internal.acroformPlugin===void 0||ge.internal.acroformPlugin.isInitialized===!1)){if(Et.FieldNum=0,ge.internal.acroformPlugin=JSON.parse(JSON.stringify(ce)),ge.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");V=ge.internal.scaleFactor,ge.internal.acroformPlugin.acroFormDictionaryRoot=new Je,ge.internal.acroformPlugin.acroFormDictionaryRoot.scope=ge,ge.internal.acroformPlugin.acroFormDictionaryRoot._eventID=ge.internal.events.subscribe("postPutResources",function(){!function(Fe){Fe.internal.events.unsubscribe(Fe.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Fe.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Fe.internal.acroformPlugin.printedOut=!0}(ge)}),ge.internal.events.subscribe("buildDocument",function(){!function(Fe){Fe.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var Ve=Fe.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var We in Ve)if(Ve.hasOwnProperty(We)){var Qe=Ve[We];Qe.objId=void 0,Qe.hasAnnotation&&be(Qe,Fe)}}(ge)}),ge.internal.events.subscribe("putCatalog",function(){!function(Fe){if(Fe.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Fe.internal.write("/AcroForm "+Fe.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(ge)}),ge.internal.events.subscribe("postPutPages",function(Fe){!function(Ve,We){var Qe=!Ve;for(var yt in Ve||(We.internal.newObjectDeferredBegin(We.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),We.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Ve=Ve||We.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Ve.hasOwnProperty(yt)){var ot=Ve[yt],Zt=[],Rr=ot.Rect;if(ot.Rect&&(ot.Rect=et(ot.Rect,We)),We.internal.newObjectDeferredBegin(ot.objId,!0),ot.DA=Q.createDefaultAppearanceStream(ot),S()(ot)==="object"&&typeof ot.getKeyValueListForStream=="function"&&(Zt=ot.getKeyValueListForStream()),ot.Rect=Rr,ot.hasAppearanceStream&&!ot.appearanceStreamContent){var Lr=Re(ot);Zt.push({key:"AP",value:"<</N "+Lr+">>"}),We.internal.acroformPlugin.xForms.push(Lr)}if(ot.appearanceStreamContent){var Gr="";for(var er in ot.appearanceStreamContent)if(ot.appearanceStreamContent.hasOwnProperty(er)){var On=ot.appearanceStreamContent[er];if(Gr+="/"+er+" ",Gr+="<<",Object.keys(On).length>=1||Array.isArray(On)){for(var yt in On)if(On.hasOwnProperty(yt)){var yr=On[yt];typeof yr=="function"&&(yr=yr.call(We,ot)),Gr+="/"+yt+" "+yr+" ",We.internal.acroformPlugin.xForms.indexOf(yr)>=0||We.internal.acroformPlugin.xForms.push(yr)}}else typeof(yr=On)=="function"&&(yr=yr.call(We,ot)),Gr+="/"+yt+" "+yr,We.internal.acroformPlugin.xForms.indexOf(yr)>=0||We.internal.acroformPlugin.xForms.push(yr);Gr+=">>"}Zt.push({key:"AP",value:`<<
`+Gr+">>"})}We.internal.putStream({additionalKeyValues:Zt,objectId:ot.objId}),We.internal.out("endobj")}Qe&&Te(We.internal.acroformPlugin.xForms,We)}(Fe,ge)}),ge.internal.acroformPlugin.isInitialized=!0}},De=K.__acroform__.arrayToPdfArray=function(Ye,ge,Ie){var Fe=function(yt){return yt};if(Array.isArray(Ye)){for(var Ve="[",We=0;We<Ye.length;We++)switch(We!==0&&(Ve+=" "),S()(Ye[We])){case"boolean":case"number":case"object":Ve+=Ye[We].toString();break;case"string":Ye[We].substr(0,1)!=="/"?(ge!==void 0&&Ie&&(Fe=Ie.internal.getEncryptor(ge)),Ve+="("+W(Fe(Ye[We].toString()))+")"):Ve+=Ye[We].toString()}return Ve+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ae=function(ge,Ie,Fe){var Ve=function(Qe){return Qe};return Ie!==void 0&&Fe&&(Ve=Fe.internal.getEncryptor(Ie)),(ge=ge||"").toString(),ge="("+W(Ve(ge))+")"},fe=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(Ie){this._objId=Ie}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};fe.prototype.toString=function(){return this.objId+" 0 R"},fe.prototype.putStream=function(){var Ye=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:Ye,objectId:this.objId}),this.scope.internal.out("endobj")},fe.prototype.getKeyValueListForStream=function(){var Ye=[],ge=Object.getOwnPropertyNames(this).filter(function(We){return We!="content"&&We!="appearanceStreamContent"&&We!="scope"&&We!="objId"&&We.substring(0,1)!="_"});for(var Ie in ge)if(Object.getOwnPropertyDescriptor(this,ge[Ie]).configurable===!1){var Fe=ge[Ie],Ve=this[Fe];Ve&&(Array.isArray(Ve)?Ye.push({key:Fe,value:De(Ve,this.objId,this.scope)}):Ve instanceof fe?(Ve.scope=this.scope,Ye.push({key:Fe,value:Ve.objId+" 0 R"})):typeof Ve!="function"&&Ye.push({key:Fe,value:Ve}))}return Ye};var Oe=function(){fe.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var ge,Ie=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Ie},set:function(Ve){Ie=Ve}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Ve){ge=Ve.trim()},get:function(){return ge||null}})};$(Oe,fe);var Je=function(){fe.call(this);var ge,Ie=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Ie.length>0?Ie:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Ie}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(ge){var Ve=function(Qe){return Qe};return this.scope&&(Ve=this.scope.internal.getEncryptor(this.objId)),"("+W(Ve(ge))+")"}},set:function(Ve){ge=Ve}})};$(Je,fe);var Et=function Ye(){fe.call(this);var ge=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return ge},set:function(Fr){if(isNaN(Fr))throw new Error('Invalid value "'+Fr+'" for attribute F supplied.');ge=Fr}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(ge,3))},set:function(Fr){Boolean(Fr)===!0?this.F=ee(ge,3):this.F=le(ge,3)}});var Ie=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Ie},set:function(Fr){if(isNaN(Fr))throw new Error('Invalid value "'+Fr+'" for attribute Ff supplied.');Ie=Fr}});var Fe=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Fe.length!==0)return Fe},set:function(Fr){Fe=Fr!==void 0?Fr:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Fe||isNaN(Fe[0])?0:Fe[0]},set:function(Fr){Fe[0]=Fr}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Fe||isNaN(Fe[1])?0:Fe[1]},set:function(Fr){Fe[1]=Fr}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Fe||isNaN(Fe[2])?0:Fe[2]},set:function(Fr){Fe[2]=Fr}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Fe||isNaN(Fe[3])?0:Fe[3]},set:function(Fr){Fe[3]=Fr}});var Ve="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Ve},set:function(Fr){switch(Fr){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Ve=Fr;break;default:throw new Error('Invalid value "'+Fr+'" for attribute FT supplied.')}}});var We=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!We||We.length<1){if(this instanceof _t)return;We="FieldObject"+Ye.FieldNum++}var Fr=function(hi){return hi};return this.scope&&(Fr=this.scope.internal.getEncryptor(this.objId)),"("+W(Fr(We))+")"},set:function(Fr){We=Fr.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return We},set:function(Fr){We=Fr}});var Qe="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Qe},set:function(Fr){Qe=Fr}});var yt="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return yt},set:function(Fr){yt=Fr}});var ot=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ot},set:function(Fr){ot=Fr}});var Zt=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Zt===void 0?50/V:Zt},set:function(Fr){Zt=Fr}});var Rr="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Rr},set:function(Fr){Rr=Fr}});var Lr="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Lr||this instanceof _t||this instanceof ke))return ae(Lr,this.objId,this.scope)},set:function(Fr){Fr=Fr.toString(),Lr=Fr}});var Gr=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Gr)return this instanceof Ot==!1?ae(Gr,this.objId,this.scope):Gr},set:function(Fr){Fr=Fr.toString(),Gr=this instanceof Ot==!1?Fr.substr(0,1)==="("?G(Fr.substr(1,Fr.length-2)):G(Fr):Fr}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ot==!0?G(Gr.substr(1,Gr.length-1)):Gr},set:function(Fr){Fr=Fr.toString(),Gr=this instanceof Ot==!0?"/"+Fr:Fr}});var er=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(er)return er},set:function(Fr){this.V=Fr}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(er)return this instanceof Ot==!1?ae(er,this.objId,this.scope):er},set:function(Fr){Fr=Fr.toString(),er=this instanceof Ot==!1?Fr.substr(0,1)==="("?G(Fr.substr(1,Fr.length-2)):G(Fr):Fr}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ot==!0?G(er.substr(1,er.length-1)):er},set:function(Fr){Fr=Fr.toString(),er=this instanceof Ot==!0?"/"+Fr:Fr}}),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 On,yr=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return yr},set:function(Fr){Fr=Boolean(Fr),yr=Fr}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(On)return On},set:function(Fr){On=Fr}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,1))},set:function(Fr){Boolean(Fr)===!0?this.Ff=ee(this.Ff,1):this.Ff=le(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,2))},set:function(Fr){Boolean(Fr)===!0?this.Ff=ee(this.Ff,2):this.Ff=le(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,3))},set:function(Fr){Boolean(Fr)===!0?this.Ff=ee(this.Ff,3):this.Ff=le(this.Ff,3)}});var gn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(gn!==null)return gn},set:function(Fr){if([0,1,2].indexOf(Fr)===-1)throw new Error('Invalid value "'+Fr+'" for attribute Q supplied.');gn=Fr}}),Object.defineProperty(this,"textAlign",{get:function(){var Fr;switch(gn){case 0:default:Fr="left";break;case 1:Fr="center";break;case 2:Fr="right"}return Fr},configurable:!0,enumerable:!0,set:function(Fr){switch(Fr){case"right":case 2:gn=2;break;case"center":case 1:gn=1;break;case"left":case 0:default:gn=0}}})};$(Et,fe);var Ze=function(){Et.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var ge=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return ge},set:function(Ve){ge=Ve}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return ge},set:function(Ve){ge=Ve}});var Ie=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return De(Ie,this.objId,this.scope)},set:function(Ve){var We,Qe;Qe=[],typeof(We=Ve)=="string"&&(Qe=function(yt,ot,Zt){Zt||(Zt=1);for(var Rr,Lr=[];Rr=ot.exec(yt);)Lr.push(Rr[Zt]);return Lr}(We,/\((.*?)\)/g)),Ie=Qe}}),this.getOptions=function(){return Ie},this.setOptions=function(Fe){Ie=Fe,this.sort&&Ie.sort()},this.addOption=function(Fe){Fe=(Fe=Fe||"").toString(),Ie.push(Fe),this.sort&&Ie.sort()},this.removeOption=function(Fe,Ve){for(Ve=Ve||!1,Fe=(Fe=Fe||"").toString();Ie.indexOf(Fe)!==-1&&(Ie.splice(Ie.indexOf(Fe),1),Ve!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,18))},set:function(Ve){Boolean(Ve)===!0?this.Ff=ee(this.Ff,18):this.Ff=le(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,19))},set:function(Ve){this.combo===!0&&(Boolean(Ve)===!0?this.Ff=ee(this.Ff,19):this.Ff=le(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,20))},set:function(Ve){Boolean(Ve)===!0?(this.Ff=ee(this.Ff,20),Ie.sort()):this.Ff=le(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,22))},set:function(Ve){Boolean(Ve)===!0?this.Ff=ee(this.Ff,22):this.Ff=le(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,23))},set:function(Ve){Boolean(Ve)===!0?this.Ff=ee(this.Ff,23):this.Ff=le(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,27))},set:function(Ve){Boolean(Ve)===!0?this.Ff=ee(this.Ff,27):this.Ff=le(this.Ff,27)}}),this.hasAppearanceStream=!1};$(Ze,Et);var Ne=function(){Ze.call(this),this.fontName="helvetica",this.combo=!1};$(Ne,Ze);var It=function(){Ne.call(this),this.combo=!0};$(It,Ne);var Xe=function(){It.call(this),this.edit=!0};$(Xe,It);var Ot=function(){Et.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,15))},set:function(Ve){Boolean(Ve)===!0?this.Ff=ee(this.Ff,15):this.Ff=le(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,16))},set:function(Ve){Boolean(Ve)===!0?this.Ff=ee(this.Ff,16):this.Ff=le(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,17))},set:function(Ve){Boolean(Ve)===!0?this.Ff=ee(this.Ff,17):this.Ff=le(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,26))},set:function(Ve){Boolean(Ve)===!0?this.Ff=ee(this.Ff,26):this.Ff=le(this.Ff,26)}});var ge,Ie={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Ve=function(ot){return ot};if(this.scope&&(Ve=this.scope.internal.getEncryptor(this.objId)),Object.keys(Ie).length!==0){var We,Qe=[];for(We in Qe.push("<<"),Ie)Qe.push("/"+We+" ("+W(Ve(Ie[We]))+")");return Qe.push(">>"),Qe.join(`
`)}},set:function(Ve){S()(Ve)==="object"&&(Ie=Ve)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ie.CA||""},set:function(Ve){typeof Ve=="string"&&(Ie.CA=Ve)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return ge},set:function(Ve){ge=Ve}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return ge.substr(1,ge.length-1)},set:function(Ve){ge="/"+Ve}})};$(Ot,Et);var Bt=function(){Ot.call(this),this.pushButton=!0};$(Bt,Ot);var kt=function(){Ot.call(this),this.radio=!0,this.pushButton=!1;var ge=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return ge},set:function(Fe){ge=Fe!==void 0?Fe:[]}})};$(kt,Ot);var _t=function(){var ge,Ie;Et.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return ge},set:function(Qe){ge=Qe}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Ie},set:function(Qe){Ie=Qe}});var Fe,Ve={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Qe=function(Rr){return Rr};this.scope&&(Qe=this.scope.internal.getEncryptor(this.objId));var yt,ot=[];for(yt in ot.push("<<"),Ve)ot.push("/"+yt+" ("+W(Qe(Ve[yt]))+")");return ot.push(">>"),ot.join(`
`)},set:function(Qe){S()(Qe)==="object"&&(Ve=Qe)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ve.CA||""},set:function(Qe){typeof Qe=="string"&&(Ve.CA=Qe)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Fe},set:function(Qe){Fe=Qe}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Fe.substr(1,Fe.length-1)},set:function(Qe){Fe="/"+Qe}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Q.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};$(_t,Et),kt.prototype.setAppearance=function(Ye){if(!("createAppearanceStream"in Ye)||!("getCA"in Ye))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var ge in this.Kids)if(this.Kids.hasOwnProperty(ge)){var Ie=this.Kids[ge];Ie.appearanceStreamContent=Ye.createAppearanceStream(Ie.optionName),Ie.caption=Ye.getCA()}},kt.prototype.createOption=function(Ye){var ge=new _t;return ge.Parent=this,ge.optionName=Ye,this.Kids.push(ge),qe.call(this.scope,ge),ge};var Ft=function(){Ot.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Q.CheckBox.createAppearanceStream()};$(Ft,Ot);var ke=function(){Et.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,13))},set:function(Fe){Boolean(Fe)===!0?this.Ff=ee(this.Ff,13):this.Ff=le(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,21))},set:function(Fe){Boolean(Fe)===!0?this.Ff=ee(this.Ff,21):this.Ff=le(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,23))},set:function(Fe){Boolean(Fe)===!0?this.Ff=ee(this.Ff,23):this.Ff=le(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,24))},set:function(Fe){Boolean(Fe)===!0?this.Ff=ee(this.Ff,24):this.Ff=le(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,25))},set:function(Fe){Boolean(Fe)===!0?this.Ff=ee(this.Ff,25):this.Ff=le(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,26))},set:function(Fe){Boolean(Fe)===!0?this.Ff=ee(this.Ff,26):this.Ff=le(this.Ff,26)}});var ge=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return ge},set:function(Fe){ge=Fe}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return ge},set:function(Fe){Number.isInteger(Fe)&&(ge=Fe)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};$(ke,Et);var te=function(){ke.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Le(this.Ff,14))},set:function(Ie){Boolean(Ie)===!0?this.Ff=ee(this.Ff,14):this.Ff=le(this.Ff,14)}}),this.password=!0};$(te,ke);var Q={CheckBox:{createAppearanceStream:function(){return{N:{On:Q.CheckBox.YesNormal},D:{On:Q.CheckBox.YesPushDown,Off:Q.CheckBox.OffPushDown}}},YesPushDown:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=[],Ve=ge.scope.internal.getFont(ge.fontName,ge.fontStyle).id,We=ge.scope.__private__.encodeColorString(ge.color),Qe=Ae(ge,ge.caption);return Fe.push("0.749023 g"),Fe.push("0 0 "+re(Q.internal.getWidth(ge))+" "+re(Q.internal.getHeight(ge))+" re"),Fe.push("f"),Fe.push("BMC"),Fe.push("q"),Fe.push("0 0 1 rg"),Fe.push("/"+Ve+" "+re(Qe.fontSize)+" Tf "+We),Fe.push("BT"),Fe.push(Qe.text),Fe.push("ET"),Fe.push("Q"),Fe.push("EMC"),Ie.stream=Fe.join(`
`),Ie},YesNormal:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=ge.scope.internal.getFont(ge.fontName,ge.fontStyle).id,Ve=ge.scope.__private__.encodeColorString(ge.color),We=[],Qe=Q.internal.getHeight(ge),yt=Q.internal.getWidth(ge),ot=Ae(ge,ge.caption);return We.push("1 g"),We.push("0 0 "+re(yt)+" "+re(Qe)+" re"),We.push("f"),We.push("q"),We.push("0 0 1 rg"),We.push("0 0 "+re(yt-1)+" "+re(Qe-1)+" re"),We.push("W"),We.push("n"),We.push("0 g"),We.push("BT"),We.push("/"+Fe+" "+re(ot.fontSize)+" Tf "+Ve),We.push(ot.text),We.push("ET"),We.push("Q"),Ie.stream=We.join(`
`),Ie},OffPushDown:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=[];return Fe.push("0.749023 g"),Fe.push("0 0 "+re(Q.internal.getWidth(ge))+" "+re(Q.internal.getHeight(ge))+" re"),Fe.push("f"),Ie.stream=Fe.join(`
`),Ie}},RadioButton:{Circle:{createAppearanceStream:function(ge){var Ie={D:{Off:Q.RadioButton.Circle.OffPushDown},N:{}};return Ie.N[ge]=Q.RadioButton.Circle.YesNormal,Ie.D[ge]=Q.RadioButton.Circle.YesPushDown,Ie},getCA:function(){return"l"},YesNormal:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=[],Ve=Q.internal.getWidth(ge)<=Q.internal.getHeight(ge)?Q.internal.getWidth(ge)/4:Q.internal.getHeight(ge)/4;Ve=Number((.9*Ve).toFixed(5));var We=Q.internal.Bezier_C,Qe=Number((Ve*We).toFixed(5));return Fe.push("q"),Fe.push("1 0 0 1 "+ye(Q.internal.getWidth(ge)/2)+" "+ye(Q.internal.getHeight(ge)/2)+" cm"),Fe.push(Ve+" 0 m"),Fe.push(Ve+" "+Qe+" "+Qe+" "+Ve+" 0 "+Ve+" c"),Fe.push("-"+Qe+" "+Ve+" -"+Ve+" "+Qe+" -"+Ve+" 0 c"),Fe.push("-"+Ve+" -"+Qe+" -"+Qe+" -"+Ve+" 0 -"+Ve+" c"),Fe.push(Qe+" -"+Ve+" "+Ve+" -"+Qe+" "+Ve+" 0 c"),Fe.push("f"),Fe.push("Q"),Ie.stream=Fe.join(`
`),Ie},YesPushDown:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=[],Ve=Q.internal.getWidth(ge)<=Q.internal.getHeight(ge)?Q.internal.getWidth(ge)/4:Q.internal.getHeight(ge)/4;Ve=Number((.9*Ve).toFixed(5));var We=Number((2*Ve).toFixed(5)),Qe=Number((We*Q.internal.Bezier_C).toFixed(5)),yt=Number((Ve*Q.internal.Bezier_C).toFixed(5));return Fe.push("0.749023 g"),Fe.push("q"),Fe.push("1 0 0 1 "+ye(Q.internal.getWidth(ge)/2)+" "+ye(Q.internal.getHeight(ge)/2)+" cm"),Fe.push(We+" 0 m"),Fe.push(We+" "+Qe+" "+Qe+" "+We+" 0 "+We+" c"),Fe.push("-"+Qe+" "+We+" -"+We+" "+Qe+" -"+We+" 0 c"),Fe.push("-"+We+" -"+Qe+" -"+Qe+" -"+We+" 0 -"+We+" c"),Fe.push(Qe+" -"+We+" "+We+" -"+Qe+" "+We+" 0 c"),Fe.push("f"),Fe.push("Q"),Fe.push("0 g"),Fe.push("q"),Fe.push("1 0 0 1 "+ye(Q.internal.getWidth(ge)/2)+" "+ye(Q.internal.getHeight(ge)/2)+" cm"),Fe.push(Ve+" 0 m"),Fe.push(Ve+" "+yt+" "+yt+" "+Ve+" 0 "+Ve+" c"),Fe.push("-"+yt+" "+Ve+" -"+Ve+" "+yt+" -"+Ve+" 0 c"),Fe.push("-"+Ve+" -"+yt+" -"+yt+" -"+Ve+" 0 -"+Ve+" c"),Fe.push(yt+" -"+Ve+" "+Ve+" -"+yt+" "+Ve+" 0 c"),Fe.push("f"),Fe.push("Q"),Ie.stream=Fe.join(`
`),Ie},OffPushDown:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=[],Ve=Q.internal.getWidth(ge)<=Q.internal.getHeight(ge)?Q.internal.getWidth(ge)/4:Q.internal.getHeight(ge)/4;Ve=Number((.9*Ve).toFixed(5));var We=Number((2*Ve).toFixed(5)),Qe=Number((We*Q.internal.Bezier_C).toFixed(5));return Fe.push("0.749023 g"),Fe.push("q"),Fe.push("1 0 0 1 "+ye(Q.internal.getWidth(ge)/2)+" "+ye(Q.internal.getHeight(ge)/2)+" cm"),Fe.push(We+" 0 m"),Fe.push(We+" "+Qe+" "+Qe+" "+We+" 0 "+We+" c"),Fe.push("-"+Qe+" "+We+" -"+We+" "+Qe+" -"+We+" 0 c"),Fe.push("-"+We+" -"+Qe+" -"+Qe+" -"+We+" 0 -"+We+" c"),Fe.push(Qe+" -"+We+" "+We+" -"+Qe+" "+We+" 0 c"),Fe.push("f"),Fe.push("Q"),Ie.stream=Fe.join(`
`),Ie}},Cross:{createAppearanceStream:function(ge){var Ie={D:{Off:Q.RadioButton.Cross.OffPushDown},N:{}};return Ie.N[ge]=Q.RadioButton.Cross.YesNormal,Ie.D[ge]=Q.RadioButton.Cross.YesPushDown,Ie},getCA:function(){return"8"},YesNormal:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=[],Ve=Q.internal.calculateCross(ge);return Fe.push("q"),Fe.push("1 1 "+re(Q.internal.getWidth(ge)-2)+" "+re(Q.internal.getHeight(ge)-2)+" re"),Fe.push("W"),Fe.push("n"),Fe.push(re(Ve.x1.x)+" "+re(Ve.x1.y)+" m"),Fe.push(re(Ve.x2.x)+" "+re(Ve.x2.y)+" l"),Fe.push(re(Ve.x4.x)+" "+re(Ve.x4.y)+" m"),Fe.push(re(Ve.x3.x)+" "+re(Ve.x3.y)+" l"),Fe.push("s"),Fe.push("Q"),Ie.stream=Fe.join(`
`),Ie},YesPushDown:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=Q.internal.calculateCross(ge),Ve=[];return Ve.push("0.749023 g"),Ve.push("0 0 "+re(Q.internal.getWidth(ge))+" "+re(Q.internal.getHeight(ge))+" re"),Ve.push("f"),Ve.push("q"),Ve.push("1 1 "+re(Q.internal.getWidth(ge)-2)+" "+re(Q.internal.getHeight(ge)-2)+" re"),Ve.push("W"),Ve.push("n"),Ve.push(re(Fe.x1.x)+" "+re(Fe.x1.y)+" m"),Ve.push(re(Fe.x2.x)+" "+re(Fe.x2.y)+" l"),Ve.push(re(Fe.x4.x)+" "+re(Fe.x4.y)+" m"),Ve.push(re(Fe.x3.x)+" "+re(Fe.x3.y)+" l"),Ve.push("s"),Ve.push("Q"),Ie.stream=Ve.join(`
`),Ie},OffPushDown:function(ge){var Ie=Ce(ge);Ie.scope=ge.scope;var Fe=[];return Fe.push("0.749023 g"),Fe.push("0 0 "+re(Q.internal.getWidth(ge))+" "+re(Q.internal.getHeight(ge))+" re"),Fe.push("f"),Ie.stream=Fe.join(`
`),Ie}}},createDefaultAppearanceStream:function(ge){var Ie=ge.scope.internal.getFont(ge.fontName,ge.fontStyle).id,Fe=ge.scope.__private__.encodeColorString(ge.color);return"/"+Ie+" "+ge.fontSize+" Tf "+Fe}};Q.internal={Bezier_C:.551915024494,calculateCross:function(ge){var Ie=Q.internal.getWidth(ge),Fe=Q.internal.getHeight(ge),Ve=Math.min(Ie,Fe);return{x1:{x:(Ie-Ve)/2,y:(Fe-Ve)/2+Ve},x2:{x:(Ie-Ve)/2+Ve,y:(Fe-Ve)/2},x3:{x:(Ie-Ve)/2,y:(Fe-Ve)/2},x4:{x:(Ie-Ve)/2+Ve,y:(Fe-Ve)/2+Ve}}}},Q.internal.getWidth=function(Ye){var ge=0;return S()(Ye)==="object"&&(ge=ve(Ye.Rect[2])),ge},Q.internal.getHeight=function(Ye){var ge=0;return S()(Ye)==="object"&&(ge=ve(Ye.Rect[3])),ge};var qe=K.addField=function(Ye){if(Be(this,Ye),!(Ye instanceof Et))throw new Error("Invalid argument passed to jsPDF.addField.");var ge;return(ge=Ye).scope.internal.acroformPlugin.printedOut&&(ge.scope.internal.acroformPlugin.printedOut=!1,ge.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),ge.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(ge),Ye.page=Ye.scope.internal.getCurrentPageInfo().pageNumber,this};K.AcroFormChoiceField=Ze,K.AcroFormListBox=Ne,K.AcroFormComboBox=It,K.AcroFormEditBox=Xe,K.AcroFormButton=Ot,K.AcroFormPushButton=Bt,K.AcroFormRadioButton=kt,K.AcroFormCheckBox=Ft,K.AcroFormTextField=ke,K.AcroFormPasswordField=te,K.AcroFormAppearance=Q,K.AcroForm={ChoiceField:Ze,ListBox:Ne,ComboBox:It,EditBox:Xe,Button:Ot,PushButton:Bt,RadioButton:kt,CheckBox:Ft,TextField:ke,PasswordField:te,Appearance:Q},H.AcroForm={ChoiceField:Ze,ListBox:Ne,ComboBox:It,EditBox:Xe,Button:Ot,PushButton:Bt,RadioButton:kt,CheckBox:Ft,TextField:ke,PasswordField:te,Appearance:Q};var je=H.AcroForm;function q(Ye){return Ye.reduce(function(ge,Ie,Fe){return ge[Ie]=Fe,ge},{})}!function(Ye){Ye.__addimage__={};var ge="UNKNOWN",Ie={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},Fe=Ye.__addimage__.getImageFileTypeByImageData=function(bt,Tt){var Lt,pt,Gt,qt,rr,mr=ge;if((Tt=Tt||ge)==="RGBA"||bt.data!==void 0&&bt.data instanceof Uint8ClampedArray&&"height"in bt&&"width"in bt)return"RGBA";if(Ur(bt))for(rr in Ie)for(Gt=Ie[rr],Lt=0;Lt<Gt.length;Lt+=1){for(qt=!0,pt=0;pt<Gt[Lt].length;pt+=1)if(Gt[Lt][pt]!==void 0&&Gt[Lt][pt]!==bt[pt]){qt=!1;break}if(qt===!0){mr=rr;break}}else for(rr in Ie)for(Gt=Ie[rr],Lt=0;Lt<Gt.length;Lt+=1){for(qt=!0,pt=0;pt<Gt[Lt].length;pt+=1)if(Gt[Lt][pt]!==void 0&&Gt[Lt][pt]!==bt.charCodeAt(pt)){qt=!1;break}if(qt===!0){mr=rr;break}}return mr===ge&&Tt!==ge&&(mr=Tt),mr},Ve=function bt(Tt){for(var Lt=this.internal.write,pt=this.internal.putStream,Gt=(0,this.internal.getFilters)();Gt.indexOf("FlateEncode")!==-1;)Gt.splice(Gt.indexOf("FlateEncode"),1);Tt.objectId=this.internal.newObject();var qt=[];if(qt.push({key:"Type",value:"/XObject"}),qt.push({key:"Subtype",value:"/Image"}),qt.push({key:"Width",value:Tt.width}),qt.push({key:"Height",value:Tt.height}),Tt.colorSpace===gn.INDEXED?qt.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Tt.palette.length/3-1)+" "+("sMask"in Tt&&Tt.sMask!==void 0?Tt.objectId+2:Tt.objectId+1)+" 0 R]"}):(qt.push({key:"ColorSpace",value:"/"+Tt.colorSpace}),Tt.colorSpace===gn.DEVICE_CMYK&&qt.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),qt.push({key:"BitsPerComponent",value:Tt.bitsPerComponent}),"decodeParameters"in Tt&&Tt.decodeParameters!==void 0&&qt.push({key:"DecodeParms",value:"<<"+Tt.decodeParameters+">>"}),"transparency"in Tt&&Array.isArray(Tt.transparency)){for(var rr="",mr=0,wn=Tt.transparency.length;mr<wn;mr++)rr+=Tt.transparency[mr]+" "+Tt.transparency[mr]+" ";qt.push({key:"Mask",value:"["+rr+"]"})}Tt.sMask!==void 0&&qt.push({key:"SMask",value:Tt.objectId+1+" 0 R"});var fn=Tt.filter!==void 0?["/"+Tt.filter]:void 0;if(pt({data:Tt.data,additionalKeyValues:qt,alreadyAppliedFilters:fn,objectId:Tt.objectId}),Lt("endobj"),"sMask"in Tt&&Tt.sMask!==void 0){var Wn="/Predictor "+Tt.predictor+" /Colors 1 /BitsPerComponent "+Tt.bitsPerComponent+" /Columns "+Tt.width,Yr={width:Tt.width,height:Tt.height,colorSpace:"DeviceGray",bitsPerComponent:Tt.bitsPerComponent,decodeParameters:Wn,data:Tt.sMask};"filter"in Tt&&(Yr.filter=Tt.filter),bt.call(this,Yr)}if(Tt.colorSpace===gn.INDEXED){var Sr=this.internal.newObject();pt({data:Cn(new Uint8Array(Tt.palette)),objectId:Sr}),Lt("endobj")}},We=function(){var Tt=this.internal.collections.addImage_images;for(var Lt in Tt)Ve.call(this,Tt[Lt])},Qe=function(){var Tt,Lt=this.internal.collections.addImage_images,pt=this.internal.write;for(var Gt in Lt)pt("/I"+(Tt=Lt[Gt]).index,Tt.objectId,"0","R")},yt=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",We),this.internal.events.subscribe("putXobjectDict",Qe))},ot=function(){var Tt=this.internal.collections.addImage_images;return yt.call(this),Tt},Zt=function(){return Object.keys(this.internal.collections.addImage_images).length},Rr=function(Tt){return typeof Ye["process"+Tt.toUpperCase()]=="function"},Lr=function(Tt){return S()(Tt)==="object"&&Tt.nodeType===1},Gr=function(Tt,Lt){if(Tt.nodeName==="IMG"&&Tt.hasAttribute("src")){var pt=""+Tt.getAttribute("src");if(pt.indexOf("data:image/")===0)return t(unescape(pt).split("base64,").pop());var Gt=Ye.loadFile(pt,!0);if(Gt!==void 0)return Gt}if(Tt.nodeName==="CANVAS"){if(Tt.width===0||Tt.height===0)throw new Error("Given canvas must have data. Canvas width: "+Tt.width+", height: "+Tt.height);var qt;switch(Lt){case"PNG":qt="image/png";break;case"WEBP":qt="image/webp";break;case"JPEG":case"JPG":default:qt="image/jpeg"}return t(Tt.toDataURL(qt,1).split("base64,").pop())}},er=function(Tt){var Lt=this.internal.collections.addImage_images;if(Lt){for(var pt in Lt)if(Tt===Lt[pt].alias)return Lt[pt]}},On=function(Tt,Lt,pt){return Tt||Lt||(Tt=-96,Lt=-96),Tt<0&&(Tt=-1*pt.width*72/Tt/this.internal.scaleFactor),Lt<0&&(Lt=-1*pt.height*72/Lt/this.internal.scaleFactor),Tt===0&&(Tt=Lt*pt.width/pt.height),Lt===0&&(Lt=Tt*pt.height/pt.width),[Tt,Lt]},yr=function(Tt,Lt,pt,Gt,qt,rr){var mr=On.call(this,pt,Gt,qt),wn=this.internal.getCoordinateString,fn=this.internal.getVerticalCoordinateString,Wn=ot.call(this);if(pt=mr[0],Gt=mr[1],Wn[qt.index]=qt,rr){rr*=Math.PI/180;var Yr=Math.cos(rr),Sr=Math.sin(rr),ln=function(Un){return Un.toFixed(4)},Tn=[ln(Yr),ln(Sr),ln(-1*Sr),ln(Yr),0,0,"cm"]}this.internal.write("q"),rr?(this.internal.write([1,"0","0",1,wn(Tt),fn(Lt+Gt),"cm"].join(" ")),this.internal.write(Tn.join(" ")),this.internal.write([wn(pt),"0","0",wn(Gt),"0","0","cm"].join(" "))):this.internal.write([wn(pt),"0","0",wn(Gt),wn(Tt),fn(Lt+Gt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+qt.index+" Do"),this.internal.write("Q")},gn=Ye.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"};Ye.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var tn=Ye.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Fr=Ye.__addimage__.sHashCode=function(bt){var Tt,Lt,pt=0;if(typeof bt=="string")for(Lt=bt.length,Tt=0;Tt<Lt;Tt++)pt=(pt<<5)-pt+bt.charCodeAt(Tt),pt|=0;else if(Ur(bt))for(Lt=bt.byteLength/2,Tt=0;Tt<Lt;Tt++)pt=(pt<<5)-pt+bt[Tt],pt|=0;return pt},Xn=Ye.__addimage__.validateStringAsBase64=function(bt){(bt=bt||"").toString().trim();var Tt=!0;return bt.length===0&&(Tt=!1),bt.length%4!=0&&(Tt=!1),/^[A-Za-z0-9+/]+$/.test(bt.substr(0,bt.length-2))===!1&&(Tt=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(bt.substr(-2))===!1&&(Tt=!1),Tt},hi=Ye.__addimage__.extractImageFromDataUrl=function(bt){var Tt=(bt=bt||"").split("base64,"),Lt=null;if(Tt.length===2){var pt=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Tt[0]);Array.isArray(pt)&&(Lt={mimeType:pt[1],charset:pt[2],data:Tt[1]})}return Lt},_i=Ye.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};Ye.__addimage__.isArrayBuffer=function(bt){return _i()&&bt instanceof ArrayBuffer};var Ur=Ye.__addimage__.isArrayBufferView=function(bt){return _i()&&typeof Uint32Array!="undefined"&&(bt instanceof Int8Array||bt instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&bt instanceof Uint8ClampedArray||bt instanceof Int16Array||bt instanceof Uint16Array||bt instanceof Int32Array||bt instanceof Uint32Array||bt instanceof Float32Array||bt instanceof Float64Array)},sn=Ye.__addimage__.binaryStringToUint8Array=function(bt){for(var Tt=bt.length,Lt=new Uint8Array(Tt),pt=0;pt<Tt;pt++)Lt[pt]=bt.charCodeAt(pt);return Lt},Cn=Ye.__addimage__.arrayBufferToBinaryString=function(bt){for(var Tt="",Lt=Ur(bt)?bt:new Uint8Array(bt),pt=0;pt<Lt.length;pt+=8192)Tt+=String.fromCharCode.apply(null,Lt.subarray(pt,pt+8192));return Tt};Ye.addImage=function(){var bt,Tt,Lt,pt,Gt,qt,rr,mr,wn;if(typeof arguments[1]=="number"?(Tt=ge,Lt=arguments[1],pt=arguments[2],Gt=arguments[3],qt=arguments[4],rr=arguments[5],mr=arguments[6],wn=arguments[7]):(Tt=arguments[1],Lt=arguments[2],pt=arguments[3],Gt=arguments[4],qt=arguments[5],rr=arguments[6],mr=arguments[7],wn=arguments[8]),S()(bt=arguments[0])==="object"&&!Lr(bt)&&"imageData"in bt){var fn=bt;bt=fn.imageData,Tt=fn.format||Tt||ge,Lt=fn.x||Lt||0,pt=fn.y||pt||0,Gt=fn.w||fn.width||Gt,qt=fn.h||fn.height||qt,rr=fn.alias||rr,mr=fn.compression||mr,wn=fn.rotation||fn.angle||wn}var Wn=this.internal.getFilters();if(mr===void 0&&Wn.indexOf("FlateEncode")!==-1&&(mr="SLOW"),isNaN(Lt)||isNaN(pt))throw new Error("Invalid coordinates passed to jsPDF.addImage");yt.call(this);var Yr=Nt.call(this,bt,Tt,rr,mr);return yr.call(this,Lt,pt,Gt,qt,Yr,wn),this};var Nt=function(Tt,Lt,pt,Gt){var qt,rr,mr;if(typeof Tt=="string"&&Fe(Tt)===ge){Tt=unescape(Tt);var wn=dt(Tt,!1);(wn!==""||(wn=Ye.loadFile(Tt,!0))!==void 0)&&(Tt=wn)}if(Lr(Tt)&&(Tt=Gr(Tt,Lt)),Lt=Fe(Tt,Lt),!Rr(Lt))throw new Error("addImage does not support files of type '"+Lt+"', please ensure that a plugin for '"+Lt+"' support is added.");if(((mr=pt)==null||mr.length===0)&&(pt=function(fn){return typeof fn=="string"||Ur(fn)?Fr(fn):Ur(fn.data)?Fr(fn.data):null}(Tt)),(qt=er.call(this,pt))||(_i()&&(Tt instanceof Uint8Array||Lt==="RGBA"||(rr=Tt,Tt=sn(Tt))),qt=this["process"+Lt.toUpperCase()](Tt,Zt.call(this),pt,function(fn){return fn&&typeof fn=="string"&&(fn=fn.toUpperCase()),fn in Ye.image_compression?fn:tn.NONE}(Gt),rr)),!qt)throw new Error("An unknown error occurred whilst processing the image.");return qt},dt=Ye.__addimage__.convertBase64ToBinaryString=function(bt,Tt){var Lt;Tt=typeof Tt!="boolean"||Tt;var pt,Gt="";if(typeof bt=="string"){pt=(Lt=hi(bt))!==null?Lt.data:bt;try{Gt=t(pt)}catch(qt){if(Tt)throw Xn(pt)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+qt.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Gt};Ye.getImageProperties=function(bt){var Tt,Lt,pt="";if(Lr(bt)&&(bt=Gr(bt)),typeof bt=="string"&&Fe(bt)===ge&&((pt=dt(bt,!1))===""&&(pt=Ye.loadFile(bt)||""),bt=pt),Lt=Fe(bt),!Rr(Lt))throw new Error("addImage does not support files of type '"+Lt+"', please ensure that a plugin for '"+Lt+"' support is added.");if(!_i()||bt instanceof Uint8Array||(bt=sn(bt)),!(Tt=this["process"+Lt.toUpperCase()](bt)))throw new Error("An unknown error occurred whilst processing the image");return Tt.fileType=Lt,Tt}}(H.API),function(Ye){var ge=function(Fe){if(Fe!==void 0&&Fe!="")return!0};H.API.events.push(["addPage",function(Ie){this.internal.getPageInfo(Ie.pageNumber).pageContext.annotations=[]}]),Ye.events.push(["putPage",function(Ie){for(var Fe,Ve,We,Qe=this.internal.getCoordinateString,yt=this.internal.getVerticalCoordinateString,ot=this.internal.getPageInfoByObjId(Ie.objId),Zt=Ie.pageContext.annotations,Rr=!1,Lr=0;Lr<Zt.length&&!Rr;Lr++)switch((Fe=Zt[Lr]).type){case"link":(ge(Fe.options.url)||ge(Fe.options.pageNumber))&&(Rr=!0);break;case"reference":case"text":case"freetext":Rr=!0}if(Rr!=0){this.internal.write("/Annots [");for(var Gr=0;Gr<Zt.length;Gr++){Fe=Zt[Gr];var er=this.internal.pdfEscape,On=this.internal.getEncryptor(Ie.objId);switch(Fe.type){case"reference":this.internal.write(" "+Fe.object.objId+" 0 R ");break;case"text":var yr=this.internal.newAdditionalObject(),gn=this.internal.newAdditionalObject(),tn=this.internal.getEncryptor(yr.objId),Fr=Fe.title||"Note";We="<</Type /Annot /Subtype /Text "+(Ve="/Rect ["+Qe(Fe.bounds.x)+" "+yt(Fe.bounds.y+Fe.bounds.h)+" "+Qe(Fe.bounds.x+Fe.bounds.w)+" "+yt(Fe.bounds.y)+"] ")+"/Contents ("+er(tn(Fe.contents))+")",We+=" /Popup "+gn.objId+" 0 R",We+=" /P "+ot.objId+" 0 R",We+=" /T ("+er(tn(Fr))+") >>",yr.content=We;var Xn=yr.objId+" 0 R";We="<</Type /Annot /Subtype /Popup "+(Ve="/Rect ["+Qe(Fe.bounds.x+30)+" "+yt(Fe.bounds.y+Fe.bounds.h)+" "+Qe(Fe.bounds.x+Fe.bounds.w+30)+" "+yt(Fe.bounds.y)+"] ")+" /Parent "+Xn,Fe.open&&(We+=" /Open true"),We+=" >>",gn.content=We,this.internal.write(yr.objId,"0 R",gn.objId,"0 R");break;case"freetext":Ve="/Rect ["+Qe(Fe.bounds.x)+" "+yt(Fe.bounds.y)+" "+Qe(Fe.bounds.x+Fe.bounds.w)+" "+yt(Fe.bounds.y+Fe.bounds.h)+"] ";var hi=Fe.color||"#000000";We="<</Type /Annot /Subtype /FreeText "+Ve+"/Contents ("+er(On(Fe.contents))+")",We+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+hi+")",We+=" /Border [0 0 0]",We+=" >>",this.internal.write(We);break;case"link":if(Fe.options.name){var _i=this.annotations._nameMap[Fe.options.name];Fe.options.pageNumber=_i.page,Fe.options.top=_i.y}else Fe.options.top||(Fe.options.top=0);if(Ve="/Rect ["+Fe.finalBounds.x+" "+Fe.finalBounds.y+" "+Fe.finalBounds.w+" "+Fe.finalBounds.h+"] ",We="",Fe.options.url)We="<</Type /Annot /Subtype /Link "+Ve+"/Border [0 0 0] /A <</S /URI /URI ("+er(On(Fe.options.url))+") >>";else if(Fe.options.pageNumber)switch(We="<</Type /Annot /Subtype /Link "+Ve+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Fe.options.pageNumber).objId+" 0 R",Fe.options.magFactor=Fe.options.magFactor||"XYZ",Fe.options.magFactor){case"Fit":We+=" /Fit]";break;case"FitH":We+=" /FitH "+Fe.options.top+"]";break;case"FitV":Fe.options.left=Fe.options.left||0,We+=" /FitV "+Fe.options.left+"]";break;case"XYZ":default:var Ur=yt(Fe.options.top);Fe.options.left=Fe.options.left||0,Fe.options.zoom===void 0&&(Fe.options.zoom=0),We+=" /XYZ "+Fe.options.left+" "+Ur+" "+Fe.options.zoom+"]"}We!=""&&(We+=" >>",this.internal.write(We))}}this.internal.write("]")}}]),Ye.createAnnotation=function(Ie){var Fe=this.internal.getCurrentPageInfo();switch(Ie.type){case"link":this.link(Ie.bounds.x,Ie.bounds.y,Ie.bounds.w,Ie.bounds.h,Ie);break;case"text":case"freetext":Fe.pageContext.annotations.push(Ie)}},Ye.link=function(Ie,Fe,Ve,We,Qe){var yt=this.internal.getCurrentPageInfo(),ot=this.internal.getCoordinateString,Zt=this.internal.getVerticalCoordinateString;yt.pageContext.annotations.push({finalBounds:{x:ot(Ie),y:Zt(Fe),w:ot(Ie+Ve),h:Zt(Fe+We)},options:Qe,type:"link"})},Ye.textWithLink=function(Ie,Fe,Ve,We){var Qe,yt,ot=this.getTextWidth(Ie),Zt=this.internal.getLineHeight()/this.internal.scaleFactor;if(We.maxWidth!==void 0){yt=We.maxWidth;var Rr=this.splitTextToSize(Ie,yt).length;Qe=Math.ceil(Zt*Rr)}else yt=ot,Qe=Zt;return this.text(Ie,Fe,Ve,We),Ve+=.2*Zt,We.align==="center"&&(Fe-=ot/2),We.align==="right"&&(Fe-=ot),this.link(Fe,Ve-Zt,yt,Qe,We),ot},Ye.getTextWidth=function(Ie){var Fe=this.internal.getFontSize();return this.getStringUnitWidth(Ie)*Fe/this.internal.scaleFactor}}(H.API),function(Ye){var ge={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]},Ie={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}},Fe={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Ve=[1570,1571,1573,1575];Ye.__arabicParser__={};var We=Ye.__arabicParser__.isInArabicSubstitutionA=function(yr){return ge[yr.charCodeAt(0)]!==void 0},Qe=Ye.__arabicParser__.isArabicLetter=function(yr){return typeof yr=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(yr)},yt=Ye.__arabicParser__.isArabicEndLetter=function(yr){return Qe(yr)&&We(yr)&&ge[yr.charCodeAt(0)].length<=2},ot=Ye.__arabicParser__.isArabicAlfLetter=function(yr){return Qe(yr)&&Ve.indexOf(yr.charCodeAt(0))>=0};Ye.__arabicParser__.arabicLetterHasIsolatedForm=function(yr){return Qe(yr)&&We(yr)&&ge[yr.charCodeAt(0)].length>=1};var Zt=Ye.__arabicParser__.arabicLetterHasFinalForm=function(yr){return Qe(yr)&&We(yr)&&ge[yr.charCodeAt(0)].length>=2};Ye.__arabicParser__.arabicLetterHasInitialForm=function(yr){return Qe(yr)&&We(yr)&&ge[yr.charCodeAt(0)].length>=3};var Rr=Ye.__arabicParser__.arabicLetterHasMedialForm=function(yr){return Qe(yr)&&We(yr)&&ge[yr.charCodeAt(0)].length==4},Lr=Ye.__arabicParser__.resolveLigatures=function(yr){var gn=0,tn=Ie,Fr="",Xn=0;for(gn=0;gn<yr.length;gn+=1)tn[yr.charCodeAt(gn)]!==void 0?(Xn++,typeof(tn=tn[yr.charCodeAt(gn)])=="number"&&(Fr+=String.fromCharCode(tn),tn=Ie,Xn=0),gn===yr.length-1&&(tn=Ie,Fr+=yr.charAt(gn-(Xn-1)),gn-=Xn-1,Xn=0)):(tn=Ie,Fr+=yr.charAt(gn-Xn),gn-=Xn,Xn=0);return Fr};Ye.__arabicParser__.isArabicDiacritic=function(yr){return yr!==void 0&&Fe[yr.charCodeAt(0)]!==void 0};var Gr=Ye.__arabicParser__.getCorrectForm=function(yr,gn,tn){return Qe(yr)?We(yr)===!1?-1:!Zt(yr)||!Qe(gn)&&!Qe(tn)||!Qe(tn)&&yt(gn)||yt(yr)&&!Qe(gn)||yt(yr)&&ot(gn)||yt(yr)&&yt(gn)?0:Rr(yr)&&Qe(gn)&&!yt(gn)&&Qe(tn)&&Zt(tn)?3:yt(yr)||!Qe(tn)?1:2:-1},er=function(gn){var tn=0,Fr=0,Xn=0,hi="",_i="",Ur="",sn=(gn=gn||"").split("\\s+"),Cn=[];for(tn=0;tn<sn.length;tn+=1){for(Cn.push(""),Fr=0;Fr<sn[tn].length;Fr+=1)hi=sn[tn][Fr],_i=sn[tn][Fr-1],Ur=sn[tn][Fr+1],Qe(hi)?(Xn=Gr(hi,_i,Ur),Cn[tn]+=Xn!==-1?String.fromCharCode(ge[hi.charCodeAt(0)][Xn]):hi):Cn[tn]+=hi;Cn[tn]=Lr(Cn[tn])}return Cn.join(" ")},On=Ye.__arabicParser__.processArabic=Ye.processArabic=function(){var yr,gn=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,tn=[];if(Array.isArray(gn)){var Fr=0;for(tn=[],Fr=0;Fr<gn.length;Fr+=1)Array.isArray(gn[Fr])?tn.push([er(gn[Fr][0]),gn[Fr][1],gn[Fr][2]]):tn.push([er(gn[Fr])]);yr=tn}else yr=er(gn);return typeof arguments[0]=="string"?yr:(arguments[0].text=yr,arguments[0])};Ye.events.push(["preProcessText",On])}(H.API),H.API.autoPrint=function(Ye){var ge;switch((Ye=Ye||{}).variant=Ye.variant||"non-conform",Ye.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){ge=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 "+ge+" 0 R")})}return this},function(Ye){var ge=function(){var Fe=void 0;Object.defineProperty(this,"pdf",{get:function(){return Fe},set:function(Zt){Fe=Zt}});var Ve=150;Object.defineProperty(this,"width",{get:function(){return Ve},set:function(Zt){Ve=isNaN(Zt)||Number.isInteger(Zt)===!1||Zt<0?150:Zt,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Ve+1)}});var We=300;Object.defineProperty(this,"height",{get:function(){return We},set:function(Zt){We=isNaN(Zt)||Number.isInteger(Zt)===!1||Zt<0?300:Zt,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=We+1)}});var Qe=[];Object.defineProperty(this,"childNodes",{get:function(){return Qe},set:function(Zt){Qe=Zt}});var yt={};Object.defineProperty(this,"style",{get:function(){return yt},set:function(Zt){yt=Zt}}),Object.defineProperty(this,"parentNode",{})};ge.prototype.getContext=function(Ie,Fe){var Ve;if((Ie=Ie||"2d")!=="2d")return null;for(Ve in Fe)this.pdf.context2d.hasOwnProperty(Ve)&&(this.pdf.context2d[Ve]=Fe[Ve]);return this.pdf.context2d._canvas=this,this.pdf.context2d},ge.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},Ye.events.push(["initialized",function(){this.canvas=new ge,this.canvas.pdf=this}])}(H.API),function(Ye){var ge={left:0,top:0,bottom:0,right:0},Ie=!1,Fe=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},ge),this.internal.__cell__.margins.width=this.getPageWidth(),Ve.call(this))},Ve=function(){this.internal.__cell__.lastCell=new We,this.internal.__cell__.pages=1},We=function(){var Zt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Zt},set:function(tn){Zt=tn}});var Rr=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Rr},set:function(tn){Rr=tn}});var Lr=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Lr},set:function(tn){Lr=tn}});var Gr=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Gr},set:function(tn){Gr=tn}});var er=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return er},set:function(tn){er=tn}});var On=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return On},set:function(tn){On=tn}});var yr=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return yr},set:function(tn){yr=tn}}),this};We.prototype.clone=function(){return new We(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},We.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},Ye.setHeaderFunction=function(ot){return Fe.call(this),this.internal.__cell__.headerFunction=typeof ot=="function"?ot:void 0,this},Ye.getTextDimensions=function(ot,Zt){Fe.call(this);var Rr=(Zt=Zt||{}).fontSize||this.getFontSize(),Lr=Zt.font||this.getFont(),Gr=Zt.scaleFactor||this.internal.scaleFactor,er=0,On=0,yr=0,gn=this;if(!Array.isArray(ot)&&typeof ot!="string"){if(typeof ot!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ot=String(ot)}var tn=Zt.maxWidth;tn>0?typeof ot=="string"?ot=this.splitTextToSize(ot,tn):Object.prototype.toString.call(ot)==="[object Array]"&&(ot=ot.reduce(function(Xn,hi){return Xn.concat(gn.splitTextToSize(hi,tn))},[])):ot=Array.isArray(ot)?ot:[ot];for(var Fr=0;Fr<ot.length;Fr++)er<(yr=this.getStringUnitWidth(ot[Fr],{font:Lr})*Rr)&&(er=yr);return er!==0&&(On=ot.length),{w:er/=Gr,h:Math.max((On*Rr*this.getLineHeightFactor()-Rr*(this.getLineHeightFactor()-1))/Gr,0)}},Ye.cellAddPage=function(){Fe.call(this),this.addPage();var ot=this.internal.__cell__.margins||ge;return this.internal.__cell__.lastCell=new We(ot.left,ot.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Qe=Ye.cell=function(){var ot;ot=arguments[0]instanceof We?arguments[0]:new We(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),Fe.call(this);var Zt=this.internal.__cell__.lastCell,Rr=this.internal.__cell__.padding,Lr=this.internal.__cell__.margins||ge,Gr=this.internal.__cell__.tableHeaderRow,er=this.internal.__cell__.printHeaders;return Zt.lineNumber!==void 0&&(Zt.lineNumber===ot.lineNumber?(ot.x=(Zt.x||0)+(Zt.width||0),ot.y=Zt.y||0):Zt.y+Zt.height+ot.height+Lr.bottom>this.getPageHeight()?(this.cellAddPage(),ot.y=Lr.top,er&&Gr&&(this.printHeaderRow(ot.lineNumber,!0),ot.y+=Gr[0].height)):ot.y=Zt.y+Zt.height||ot.y),ot.text[0]!==void 0&&(this.rect(ot.x,ot.y,ot.width,ot.height,Ie===!0?"FD":void 0),ot.align==="right"?this.text(ot.text,ot.x+ot.width-Rr,ot.y+Rr,{align:"right",baseline:"top"}):ot.align==="center"?this.text(ot.text,ot.x+ot.width/2,ot.y+Rr,{align:"center",baseline:"top",maxWidth:ot.width-Rr-Rr}):this.text(ot.text,ot.x+Rr,ot.y+Rr,{align:"left",baseline:"top",maxWidth:ot.width-Rr-Rr})),this.internal.__cell__.lastCell=ot,this};Ye.table=function(ot,Zt,Rr,Lr,Gr){if(Fe.call(this),!Rr)throw new Error("No data for PDF table.");var er,On,yr,gn,tn=[],Fr=[],Xn=[],hi={},_i={},Ur=[],sn=[],Cn=(Gr=Gr||{}).autoSize||!1,Nt=Gr.printHeaders!==!1,dt=Gr.css&&Gr.css["font-size"]!==void 0?16*Gr.css["font-size"]:Gr.fontSize||12,bt=Gr.margins||Object.assign({width:this.getPageWidth()},ge),Tt=typeof Gr.padding=="number"?Gr.padding:3,Lt=Gr.headerBackgroundColor||"#c8c8c8",pt=Gr.headerTextColor||"#000";if(Ve.call(this),this.internal.__cell__.printHeaders=Nt,this.internal.__cell__.margins=bt,this.internal.__cell__.table_font_size=dt,this.internal.__cell__.padding=Tt,this.internal.__cell__.headerBackgroundColor=Lt,this.internal.__cell__.headerTextColor=pt,this.setFontSize(dt),Lr==null)Fr=tn=Object.keys(Rr[0]),Xn=tn.map(function(){return"left"});else if(Array.isArray(Lr)&&S()(Lr[0])==="object")for(tn=Lr.map(function(fn){return fn.name}),Fr=Lr.map(function(fn){return fn.prompt||fn.name||""}),Xn=Lr.map(function(fn){return fn.align||"left"}),er=0;er<Lr.length;er+=1)_i[Lr[er].name]=Lr[er].width*(19.049976/25.4);else Array.isArray(Lr)&&typeof Lr[0]=="string"&&(Fr=tn=Lr,Xn=tn.map(function(){return"left"}));if(Cn||Array.isArray(Lr)&&typeof Lr[0]=="string")for(er=0;er<tn.length;er+=1){for(hi[gn=tn[er]]=Rr.map(function(fn){return fn[gn]}),this.setFont(void 0,"bold"),Ur.push(this.getTextDimensions(Fr[er],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),On=hi[gn],this.setFont(void 0,"normal"),yr=0;yr<On.length;yr+=1)Ur.push(this.getTextDimensions(On[yr],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);_i[gn]=Math.max.apply(null,Ur)+Tt+Tt,Ur=[]}if(Nt){var Gt={};for(er=0;er<tn.length;er+=1)Gt[tn[er]]={},Gt[tn[er]].text=Fr[er],Gt[tn[er]].align=Xn[er];var qt=yt.call(this,Gt,_i);sn=tn.map(function(fn){return new We(ot,Zt,_i[fn],qt,Gt[fn].text,void 0,Gt[fn].align)}),this.setTableHeaderRow(sn),this.printHeaderRow(1,!1)}var rr=Lr.reduce(function(fn,Wn){return fn[Wn.name]=Wn.align,fn},{});for(er=0;er<Rr.length;er+=1){"rowStart"in Gr&&Gr.rowStart instanceof Function&&Gr.rowStart({row:er,data:Rr[er]},this);var mr=yt.call(this,Rr[er],_i);for(yr=0;yr<tn.length;yr+=1){var wn=Rr[er][tn[yr]];"cellStart"in Gr&&Gr.cellStart instanceof Function&&Gr.cellStart({row:er,col:yr,data:wn},this),Qe.call(this,new We(ot,Zt,_i[tn[yr]],mr,wn,er+2,rr[tn[yr]]))}}return this.internal.__cell__.table_x=ot,this.internal.__cell__.table_y=Zt,this};var yt=function(Zt,Rr){var Lr=this.internal.__cell__.padding,Gr=this.internal.__cell__.table_font_size,er=this.internal.scaleFactor;return Object.keys(Zt).map(function(On){var yr=Zt[On];return this.splitTextToSize(yr.hasOwnProperty("text")?yr.text:yr,Rr[On]-Lr-Lr)},this).map(function(On){return this.getLineHeightFactor()*On.length*Gr/er+Lr+Lr},this).reduce(function(On,yr){return Math.max(On,yr)},0)};Ye.setTableHeaderRow=function(ot){Fe.call(this),this.internal.__cell__.tableHeaderRow=ot},Ye.printHeaderRow=function(ot,Zt){if(Fe.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var Rr;if(Ie=!0,typeof this.internal.__cell__.headerFunction=="function"){var Lr=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new We(Lr[0],Lr[1],Lr[2],Lr[3],void 0,-1)}this.setFont(void 0,"bold");for(var Gr=[],er=0;er<this.internal.__cell__.tableHeaderRow.length;er+=1){Rr=this.internal.__cell__.tableHeaderRow[er].clone(),Zt&&(Rr.y=this.internal.__cell__.margins.top||0,Gr.push(Rr)),Rr.lineNumber=ot;var On=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Qe.call(this,Rr),this.setTextColor(On)}Gr.length>0&&this.setTableHeaderRow(Gr),this.setFont(void 0,"normal"),Ie=!1}}(H.API);var wt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Vt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],lt=q(Vt),or=[100,200,300,400,500,600,700,800,900],vr=q(or);function An(Ye){var ge=Ye.family.replace(/"|'/g,"").toLowerCase(),Ie=function(We){return wt[We=We||"normal"]?We:"normal"}(Ye.style),Fe=function(We){if(!We)return 400;if(typeof We=="number")return We>=100&&We<=900&&We%100==0?We:400;if(/^\d00$/.test(We))return parseInt(We);switch(We){case"bold":return 700;case"normal":default:return 400}}(Ye.weight),Ve=function(We){return typeof lt[We=We||"normal"]=="number"?We:"normal"}(Ye.stretch);return{family:ge,style:Ie,weight:Fe,stretch:Ve,src:Ye.src||[],ref:Ye.ref||{name:ge,style:[Ve,Ie,Fe].join(" ")}}}function hr(Ye,ge,Ie,Fe){var Ve;for(Ve=Ie;Ve>=0&&Ve<ge.length;Ve+=Fe)if(Ye[ge[Ve]])return Ye[ge[Ve]];for(Ve=Ie;Ve>=0&&Ve<ge.length;Ve-=Fe)if(Ye[ge[Ve]])return Ye[ge[Ve]]}var xr={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},nr={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Yt(Ye){return[Ye.stretch,Ye.style,Ye.weight,Ye.family].join(" ")}function gt(Ye,ge,Ie){for(var Fe=(Ie=Ie||{}).defaultFontFamily||"times",Ve=Object.assign({},xr,Ie.genericFontFamilies||{}),We=null,Qe=null,yt=0;yt<ge.length;++yt)if(Ve[(We=An(ge[yt])).family]&&(We.family=Ve[We.family]),Ye.hasOwnProperty(We.family)){Qe=Ye[We.family];break}if(!(Qe=Qe||Ye[Fe]))throw new Error("Could not find a font-family for the rule '"+Yt(We)+"' and default family '"+Fe+"'.");if(Qe=function(ot,Zt){if(Zt[ot])return Zt[ot];var Rr=lt[ot],Lr=Rr<=lt.normal?-1:1,Gr=hr(Zt,Vt,Rr,Lr);if(!Gr)throw new Error("Could not find a matching font-stretch value for "+ot);return Gr}(We.stretch,Qe),Qe=function(ot,Zt){if(Zt[ot])return Zt[ot];for(var Rr=wt[ot],Lr=0;Lr<Rr.length;++Lr)if(Zt[Rr[Lr]])return Zt[Rr[Lr]];throw new Error("Could not find a matching font-style for "+ot)}(We.style,Qe),!(Qe=function(ot,Zt){if(Zt[ot])return Zt[ot];if(ot===400&&Zt[500])return Zt[500];if(ot===500&&Zt[400])return Zt[400];var Rr=vr[ot],Lr=hr(Zt,or,Rr,ot<400?-1:1);if(!Lr)throw new Error("Could not find a matching font-weight for value "+ot);return Lr}(We.weight,Qe)))throw new Error("Failed to resolve a font for the rule '"+Yt(We)+"'.");return Qe}function zr(Ye){return Ye.trimLeft()}function pn(Ye,ge){for(var Ie=0;Ie<Ye.length;){if(Ye.charAt(Ie)===ge)return[Ye.substring(0,Ie),Ye.substring(Ie+1)];Ie+=1}return null}function Nn(Ye){var ge=Ye.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return ge===null?null:[ge[0],Ye.substring(ge[0].length)]}var Vn,xi,bn,Pn=["times"];!function(Ye){var ge,Ie,Fe,Ve,We,Qe,yt,ot,Zt,Rr=function(Sr){return Sr=Sr||{},this.isStrokeTransparent=Sr.isStrokeTransparent||!1,this.strokeOpacity=Sr.strokeOpacity||1,this.strokeStyle=Sr.strokeStyle||"#000000",this.fillStyle=Sr.fillStyle||"#000000",this.isFillTransparent=Sr.isFillTransparent||!1,this.fillOpacity=Sr.fillOpacity||1,this.font=Sr.font||"10px sans-serif",this.textBaseline=Sr.textBaseline||"alphabetic",this.textAlign=Sr.textAlign||"left",this.lineWidth=Sr.lineWidth||1,this.lineJoin=Sr.lineJoin||"miter",this.lineCap=Sr.lineCap||"butt",this.path=Sr.path||[],this.transform=Sr.transform!==void 0?Sr.transform.clone():new ot,this.globalCompositeOperation=Sr.globalCompositeOperation||"normal",this.globalAlpha=Sr.globalAlpha||1,this.clip_path=Sr.clip_path||[],this.currentPoint=Sr.currentPoint||new Qe,this.miterLimit=Sr.miterLimit||10,this.lastPoint=Sr.lastPoint||new Qe,this.lineDashOffset=Sr.lineDashOffset||0,this.lineDash=Sr.lineDash||[],this.margin=Sr.margin||[0,0,0,0],this.prevPageLastElemOffset=Sr.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Sr.ignoreClearRect!="boolean"||Sr.ignoreClearRect,this};Ye.events.push(["initialized",function(){this.context2d=new Lr(this),ge=this.internal.f2,Ie=this.internal.getCoordinateString,Fe=this.internal.getVerticalCoordinateString,Ve=this.internal.getHorizontalCoordinate,We=this.internal.getVerticalCoordinate,Qe=this.internal.Point,yt=this.internal.Rectangle,ot=this.internal.Matrix,Zt=new Rr}]);var Lr=function(Sr){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var ln=Sr;Object.defineProperty(this,"pdf",{get:function(){return ln}});var Tn=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Tn},set:function(mi){Tn=Boolean(mi)}});var In=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return In},set:function(mi){In=Boolean(mi)}});var Un=0;Object.defineProperty(this,"posX",{get:function(){return Un},set:function(mi){isNaN(mi)||(Un=mi)}});var ti=0;Object.defineProperty(this,"posY",{get:function(){return ti},set:function(mi){isNaN(mi)||(ti=mi)}}),Object.defineProperty(this,"margin",{get:function(){return Zt.margin},set:function(mi){var Hi;typeof mi=="number"?Hi=[mi,mi,mi,mi]:((Hi=new Array(4))[0]=mi[0],Hi[1]=mi.length>=2?mi[1]:Hi[0],Hi[2]=mi.length>=3?mi[2]:Hi[0],Hi[3]=mi.length>=4?mi[3]:Hi[1]),Zt.margin=Hi}});var li=!1;Object.defineProperty(this,"autoPaging",{get:function(){return li},set:function(mi){li=mi}});var si=0;Object.defineProperty(this,"lastBreak",{get:function(){return si},set:function(mi){si=mi}});var ki=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ki},set:function(mi){ki=mi}}),Object.defineProperty(this,"ctx",{get:function(){return Zt},set:function(mi){mi instanceof Rr&&(Zt=mi)}}),Object.defineProperty(this,"path",{get:function(){return Zt.path},set:function(mi){Zt.path=mi}});var zi=[];Object.defineProperty(this,"ctxStack",{get:function(){return zi},set:function(mi){zi=mi}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(mi){var Hi;Hi=Gr(mi),this.ctx.fillStyle=Hi.style,this.ctx.isFillTransparent=Hi.a===0,this.ctx.fillOpacity=Hi.a,this.pdf.setFillColor(Hi.r,Hi.g,Hi.b,{a:Hi.a}),this.pdf.setTextColor(Hi.r,Hi.g,Hi.b,{a:Hi.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(mi){var Hi=Gr(mi);this.ctx.strokeStyle=Hi.style,this.ctx.isStrokeTransparent=Hi.a===0,this.ctx.strokeOpacity=Hi.a,Hi.a===0?this.pdf.setDrawColor(255,255,255):(Hi.a,this.pdf.setDrawColor(Hi.r,Hi.g,Hi.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(mi){["butt","round","square"].indexOf(mi)!==-1&&(this.ctx.lineCap=mi,this.pdf.setLineCap(mi))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(mi){isNaN(mi)||(this.ctx.lineWidth=mi,this.pdf.setLineWidth(mi))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(mi){["bevel","round","miter"].indexOf(mi)!==-1&&(this.ctx.lineJoin=mi,this.pdf.setLineJoin(mi))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(mi){isNaN(mi)||(this.ctx.miterLimit=mi,this.pdf.setMiterLimit(mi))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(mi){this.ctx.textBaseline=mi}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(mi){["right","end","center","left","start"].indexOf(mi)!==-1&&(this.ctx.textAlign=mi)}});var Ri=null;function Yi(hn,mi){if(Ri===null){var Hi=function(Li){var Bi=[];return Object.keys(Li).forEach(function(Ar){Li[Ar].forEach(function(ar){var on=null;switch(ar){case"bold":on={family:Ar,weight:"bold"};break;case"italic":on={family:Ar,style:"italic"};break;case"bolditalic":on={family:Ar,weight:"bold",style:"italic"};break;case"":case"normal":on={family:Ar}}on!==null&&(on.ref={name:Ar,style:ar},Bi.push(on))})}),Bi}(hn.getFontList());Ri=function(Li){for(var Bi={},Ar=0;Ar<Li.length;++Ar){var ar=An(Li[Ar]),on=ar.family,Qt=ar.stretch,gr=ar.style,Or=ar.weight;Bi[on]=Bi[on]||{},Bi[on][Qt]=Bi[on][Qt]||{},Bi[on][Qt][gr]=Bi[on][Qt][gr]||{},Bi[on][Qt][gr][Or]=ar}return Bi}(Hi.concat(mi))}return Ri}var Zn=null;Object.defineProperty(this,"fontFaces",{get:function(){return Zn},set:function(mi){Ri=null,Zn=mi}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(mi){var Hi;if(this.ctx.font=mi,(Hi=/^\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(mi))!==null){var Li=Hi[1],Bi=(Hi[2],Hi[3]),Ar=Hi[4],ar=(Hi[5],Hi[6]),on=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Ar)[2];Ar=on==="px"?Math.floor(parseFloat(Ar)*this.pdf.internal.scaleFactor):on==="em"?Math.floor(parseFloat(Ar)*this.pdf.getFontSize()):Math.floor(parseFloat(Ar)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Ar);var Qt=function(pr){var kr,nn,un=[],en=pr.trim();if(en==="")return Pn;if(en in nr)return[nr[en]];for(;en!=="";){switch(nn=null,kr=(en=zr(en)).charAt(0)){case'"':case"'":nn=pn(en.substring(1),kr);break;default:nn=Nn(en)}if(nn===null)return Pn;if(un.push(nn[0]),(en=zr(nn[1]))!==""&&en.charAt(0)!==",")return Pn;en=en.replace(/^,/,"")}return un}(ar);if(this.fontFaces){var gr=gt(Yi(this.pdf,this.fontFaces),Qt.map(function(pr){return{family:pr,stretch:"normal",weight:Bi,style:Li}}));this.pdf.setFont(gr.ref.name,gr.ref.style)}else{var Or="";(Bi==="bold"||parseInt(Bi,10)>=700||Li==="bold")&&(Or="bold"),Li==="italic"&&(Or+="italic"),Or.length===0&&(Or="normal");for(var Kr="",mn={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},mt=0;mt<Qt.length;mt++){if(this.pdf.internal.getFont(Qt[mt],Or,{noFallback:!0,disableWarning:!0})!==void 0){Kr=Qt[mt];break}if(Or==="bolditalic"&&this.pdf.internal.getFont(Qt[mt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Kr=Qt[mt],Or="bold";else if(this.pdf.internal.getFont(Qt[mt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Kr=Qt[mt],Or="normal";break}}if(Kr===""){for(var dr=0;dr<Qt.length;dr++)if(mn[Qt[dr]]){Kr=mn[Qt[dr]];break}}Kr=Kr===""?"Times":Kr,this.pdf.setFont(Kr,Or)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(mi){this.ctx.globalCompositeOperation=mi}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(mi){this.ctx.globalAlpha=mi}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(mi){this.ctx.lineDashOffset=mi,Wn.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(mi){this.ctx.lineDash=mi,Wn.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(mi){this.ctx.ignoreClearRect=Boolean(mi)}})};Lr.prototype.setLineDash=function(Yr){this.lineDash=Yr},Lr.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Lr.prototype.fill=function(){hi.call(this,"fill",!1)},Lr.prototype.stroke=function(){hi.call(this,"stroke",!1)},Lr.prototype.beginPath=function(){this.path=[{type:"begin"}]},Lr.prototype.moveTo=function(Yr,Sr){if(isNaN(Yr)||isNaN(Sr))throw d.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var ln=this.ctx.transform.applyToPoint(new Qe(Yr,Sr));this.path.push({type:"mt",x:ln.x,y:ln.y}),this.ctx.lastPoint=new Qe(Yr,Sr)},Lr.prototype.closePath=function(){var Yr=new Qe(0,0),Sr=0;for(Sr=this.path.length-1;Sr!==-1;Sr--)if(this.path[Sr].type==="begin"&&S()(this.path[Sr+1])==="object"&&typeof this.path[Sr+1].x=="number"){Yr=new Qe(this.path[Sr+1].x,this.path[Sr+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Qe(Yr.x,Yr.y)},Lr.prototype.lineTo=function(Yr,Sr){if(isNaN(Yr)||isNaN(Sr))throw d.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var ln=this.ctx.transform.applyToPoint(new Qe(Yr,Sr));this.path.push({type:"lt",x:ln.x,y:ln.y}),this.ctx.lastPoint=new Qe(ln.x,ln.y)},Lr.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),hi.call(this,null,!0)},Lr.prototype.quadraticCurveTo=function(Yr,Sr,ln,Tn){if(isNaN(ln)||isNaN(Tn)||isNaN(Yr)||isNaN(Sr))throw d.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var In=this.ctx.transform.applyToPoint(new Qe(ln,Tn)),Un=this.ctx.transform.applyToPoint(new Qe(Yr,Sr));this.path.push({type:"qct",x1:Un.x,y1:Un.y,x:In.x,y:In.y}),this.ctx.lastPoint=new Qe(In.x,In.y)},Lr.prototype.bezierCurveTo=function(Yr,Sr,ln,Tn,In,Un){if(isNaN(In)||isNaN(Un)||isNaN(Yr)||isNaN(Sr)||isNaN(ln)||isNaN(Tn))throw d.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var ti=this.ctx.transform.applyToPoint(new Qe(In,Un)),li=this.ctx.transform.applyToPoint(new Qe(Yr,Sr)),si=this.ctx.transform.applyToPoint(new Qe(ln,Tn));this.path.push({type:"bct",x1:li.x,y1:li.y,x2:si.x,y2:si.y,x:ti.x,y:ti.y}),this.ctx.lastPoint=new Qe(ti.x,ti.y)},Lr.prototype.arc=function(Yr,Sr,ln,Tn,In,Un){if(isNaN(Yr)||isNaN(Sr)||isNaN(ln)||isNaN(Tn)||isNaN(In))throw d.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Un=Boolean(Un),!this.ctx.transform.isIdentity){var ti=this.ctx.transform.applyToPoint(new Qe(Yr,Sr));Yr=ti.x,Sr=ti.y;var li=this.ctx.transform.applyToPoint(new Qe(0,ln)),si=this.ctx.transform.applyToPoint(new Qe(0,0));ln=Math.sqrt(Math.pow(li.x-si.x,2)+Math.pow(li.y-si.y,2))}Math.abs(In-Tn)>=2*Math.PI&&(Tn=0,In=2*Math.PI),this.path.push({type:"arc",x:Yr,y:Sr,radius:ln,startAngle:Tn,endAngle:In,counterclockwise:Un})},Lr.prototype.arcTo=function(Yr,Sr,ln,Tn,In){throw new Error("arcTo not implemented.")},Lr.prototype.rect=function(Yr,Sr,ln,Tn){if(isNaN(Yr)||isNaN(Sr)||isNaN(ln)||isNaN(Tn))throw d.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Yr,Sr),this.lineTo(Yr+ln,Sr),this.lineTo(Yr+ln,Sr+Tn),this.lineTo(Yr,Sr+Tn),this.lineTo(Yr,Sr),this.lineTo(Yr+ln,Sr),this.lineTo(Yr,Sr)},Lr.prototype.fillRect=function(Yr,Sr,ln,Tn){if(isNaN(Yr)||isNaN(Sr)||isNaN(ln)||isNaN(Tn))throw d.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!er.call(this)){var In={};this.lineCap!=="butt"&&(In.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(In.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Yr,Sr,ln,Tn),this.fill(),In.hasOwnProperty("lineCap")&&(this.lineCap=In.lineCap),In.hasOwnProperty("lineJoin")&&(this.lineJoin=In.lineJoin)}},Lr.prototype.strokeRect=function(Yr,Sr,ln,Tn){if(isNaN(Yr)||isNaN(Sr)||isNaN(ln)||isNaN(Tn))throw d.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");On.call(this)||(this.beginPath(),this.rect(Yr,Sr,ln,Tn),this.stroke())},Lr.prototype.clearRect=function(Yr,Sr,ln,Tn){if(isNaN(Yr)||isNaN(Sr)||isNaN(ln)||isNaN(Tn))throw d.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Yr,Sr,ln,Tn))},Lr.prototype.save=function(Yr){Yr=typeof Yr!="boolean"||Yr;for(var Sr=this.pdf.internal.getCurrentPageInfo().pageNumber,ln=0;ln<this.pdf.internal.getNumberOfPages();ln++)this.pdf.setPage(ln+1),this.pdf.internal.out("q");if(this.pdf.setPage(Sr),Yr){this.ctx.fontSize=this.pdf.internal.getFontSize();var Tn=new Rr(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Tn}},Lr.prototype.restore=function(Yr){Yr=typeof Yr!="boolean"||Yr;for(var Sr=this.pdf.internal.getCurrentPageInfo().pageNumber,ln=0;ln<this.pdf.internal.getNumberOfPages();ln++)this.pdf.setPage(ln+1),this.pdf.internal.out("Q");this.pdf.setPage(Sr),Yr&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},Lr.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Gr=function(Sr){var ln,Tn,In,Un;if(Sr.isCanvasGradient===!0&&(Sr=Sr.getColor()),!Sr)return{r:0,g:0,b:0,a:0,style:Sr};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Sr))ln=0,Tn=0,In=0,Un=0;else{var ti=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Sr);if(ti!==null)ln=parseInt(ti[1]),Tn=parseInt(ti[2]),In=parseInt(ti[3]),Un=1;else if((ti=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Sr))!==null)ln=parseInt(ti[1]),Tn=parseInt(ti[2]),In=parseInt(ti[3]),Un=parseFloat(ti[4]);else{if(Un=1,typeof Sr=="string"&&Sr.charAt(0)!=="#"){var li=new l(Sr);Sr=li.ok?li.toHex():"#000000"}Sr.length===4?(ln=Sr.substring(1,2),ln+=ln,Tn=Sr.substring(2,3),Tn+=Tn,In=Sr.substring(3,4),In+=In):(ln=Sr.substring(1,3),Tn=Sr.substring(3,5),In=Sr.substring(5,7)),ln=parseInt(ln,16),Tn=parseInt(Tn,16),In=parseInt(In,16)}}return{r:ln,g:Tn,b:In,a:Un,style:Sr}},er=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},On=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Lr.prototype.fillText=function(Yr,Sr,ln,Tn){if(isNaN(Sr)||isNaN(ln)||typeof Yr!="string")throw d.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Tn=isNaN(Tn)?void 0:Tn,!er.call(this)){var In=mr(this.ctx.transform.rotation),Un=this.ctx.transform.scaleX;Tt.call(this,{text:Yr,x:Sr,y:ln,scale:Un,angle:In,align:this.textAlign,maxWidth:Tn})}},Lr.prototype.strokeText=function(Yr,Sr,ln,Tn){if(isNaN(Sr)||isNaN(ln)||typeof Yr!="string")throw d.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!On.call(this)){Tn=isNaN(Tn)?void 0:Tn;var In=mr(this.ctx.transform.rotation),Un=this.ctx.transform.scaleX;Tt.call(this,{text:Yr,x:Sr,y:ln,scale:Un,renderingMode:"stroke",angle:In,align:this.textAlign,maxWidth:Tn})}},Lr.prototype.measureText=function(Yr){if(typeof Yr!="string")throw d.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Sr=this.pdf,ln=this.pdf.internal.scaleFactor,Tn=Sr.internal.getFontSize(),In=Sr.getStringUnitWidth(Yr)*Tn/Sr.internal.scaleFactor,Un=function(li){var si=(li=li||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return si}}),this};return new Un({width:In*=Math.round(96*ln/72*1e4)/1e4})},Lr.prototype.scale=function(Yr,Sr){if(isNaN(Yr)||isNaN(Sr))throw d.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var ln=new ot(Yr,0,0,Sr,0,0);this.ctx.transform=this.ctx.transform.multiply(ln)},Lr.prototype.rotate=function(Yr){if(isNaN(Yr))throw d.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Sr=new ot(Math.cos(Yr),Math.sin(Yr),-Math.sin(Yr),Math.cos(Yr),0,0);this.ctx.transform=this.ctx.transform.multiply(Sr)},Lr.prototype.translate=function(Yr,Sr){if(isNaN(Yr)||isNaN(Sr))throw d.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var ln=new ot(1,0,0,1,Yr,Sr);this.ctx.transform=this.ctx.transform.multiply(ln)},Lr.prototype.transform=function(Yr,Sr,ln,Tn,In,Un){if(isNaN(Yr)||isNaN(Sr)||isNaN(ln)||isNaN(Tn)||isNaN(In)||isNaN(Un))throw d.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var ti=new ot(Yr,Sr,ln,Tn,In,Un);this.ctx.transform=this.ctx.transform.multiply(ti)},Lr.prototype.setTransform=function(Yr,Sr,ln,Tn,In,Un){Yr=isNaN(Yr)?1:Yr,Sr=isNaN(Sr)?0:Sr,ln=isNaN(ln)?0:ln,Tn=isNaN(Tn)?1:Tn,In=isNaN(In)?0:In,Un=isNaN(Un)?0:Un,this.ctx.transform=new ot(Yr,Sr,ln,Tn,In,Un)};var yr=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Lr.prototype.drawImage=function(Yr,Sr,ln,Tn,In,Un,ti,li,si){var ki=this.pdf.getImageProperties(Yr),zi=1,Ri=1,Yi=1,Zn=1;Tn!==void 0&&li!==void 0&&(Yi=li/Tn,Zn=si/In,zi=ki.width/Tn*li/Tn,Ri=ki.height/In*si/In),Un===void 0&&(Un=Sr,ti=ln,Sr=0,ln=0),Tn!==void 0&&li===void 0&&(li=Tn,si=In),Tn===void 0&&li===void 0&&(li=ki.width,si=ki.height);for(var hn,mi=this.ctx.transform.decompose(),Hi=mr(mi.rotate.shx),Li=new ot,Bi=(Li=(Li=(Li=Li.multiply(mi.translate)).multiply(mi.skew)).multiply(mi.scale)).applyToRectangle(new yt(Un-Sr*Yi,ti-ln*Zn,Tn*zi,In*Ri)),Ar=gn.call(this,Bi),ar=[],on=0;on<Ar.length;on+=1)ar.indexOf(Ar[on])===-1&&ar.push(Ar[on]);if(Xn(ar),this.autoPaging)for(var Qt=ar[0],gr=ar[ar.length-1],Or=Qt;Or<gr+1;Or++){this.pdf.setPage(Or);var Kr=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],mn=Or===1?this.posY+this.margin[0]:this.margin[0],mt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],dr=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],pr=Or===1?0:mt+(Or-2)*dr;if(this.ctx.clip_path.length!==0){var kr=this.path;hn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Fr(hn,this.posX+this.margin[3],-pr+mn+this.ctx.prevPageLastElemOffset),_i.call(this,"fill",!0),this.path=kr}var nn=JSON.parse(JSON.stringify(Bi));nn=Fr([nn],this.posX+this.margin[3],-pr+mn+this.ctx.prevPageLastElemOffset)[0];var un=(Or>Qt||Or<gr)&&yr.call(this);un&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Kr,dr,null).clip().discardPath()),this.pdf.addImage(Yr,"JPEG",nn.x,nn.y,nn.w,nn.h,null,null,Hi),un&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Yr,"JPEG",Bi.x,Bi.y,Bi.w,Bi.h,null,null,Hi)};var gn=function(Sr,ln,Tn){var In=[];ln=ln||this.pdf.internal.pageSize.width,Tn=Tn||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Un=this.posY+this.ctx.prevPageLastElemOffset;switch(Sr.type){default:case"mt":case"lt":In.push(Math.floor((Sr.y+Un)/Tn)+1);break;case"arc":In.push(Math.floor((Sr.y+Un-Sr.radius)/Tn)+1),In.push(Math.floor((Sr.y+Un+Sr.radius)/Tn)+1);break;case"qct":var ti=wn(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Sr.x1,Sr.y1,Sr.x,Sr.y);In.push(Math.floor((ti.y+Un)/Tn)+1),In.push(Math.floor((ti.y+ti.h+Un)/Tn)+1);break;case"bct":var li=fn(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Sr.x1,Sr.y1,Sr.x2,Sr.y2,Sr.x,Sr.y);In.push(Math.floor((li.y+Un)/Tn)+1),In.push(Math.floor((li.y+li.h+Un)/Tn)+1);break;case"rect":In.push(Math.floor((Sr.y+Un)/Tn)+1),In.push(Math.floor((Sr.y+Sr.h+Un)/Tn)+1)}for(var si=0;si<In.length;si+=1)for(;this.pdf.internal.getNumberOfPages()<In[si];)tn.call(this);return In},tn=function(){var Sr=this.fillStyle,ln=this.strokeStyle,Tn=this.font,In=this.lineCap,Un=this.lineWidth,ti=this.lineJoin;this.pdf.addPage(),this.fillStyle=Sr,this.strokeStyle=ln,this.font=Tn,this.lineCap=In,this.lineWidth=Un,this.lineJoin=ti},Fr=function(Sr,ln,Tn){for(var In=0;In<Sr.length;In++)switch(Sr[In].type){case"bct":Sr[In].x2+=ln,Sr[In].y2+=Tn;case"qct":Sr[In].x1+=ln,Sr[In].y1+=Tn;case"mt":case"lt":case"arc":default:Sr[In].x+=ln,Sr[In].y+=Tn}return Sr},Xn=function(Sr){return Sr.sort(function(ln,Tn){return ln-Tn})},hi=function(Sr,ln){for(var Tn,In,Un=this.fillStyle,ti=this.strokeStyle,li=this.lineCap,si=this.lineWidth,ki=Math.abs(si*this.ctx.transform.scaleX),zi=this.lineJoin,Ri=JSON.parse(JSON.stringify(this.path)),Yi=JSON.parse(JSON.stringify(this.path)),Zn=[],hn=0;hn<Yi.length;hn++)if(Yi[hn].x!==void 0)for(var mi=gn.call(this,Yi[hn]),Hi=0;Hi<mi.length;Hi+=1)Zn.indexOf(mi[Hi])===-1&&Zn.push(mi[Hi]);for(var Li=0;Li<Zn.length;Li++)for(;this.pdf.internal.getNumberOfPages()<Zn[Li];)tn.call(this);if(Xn(Zn),this.autoPaging)for(var Bi=Zn[0],Ar=Zn[Zn.length-1],ar=Bi;ar<Ar+1;ar++){this.pdf.setPage(ar),this.fillStyle=Un,this.strokeStyle=ti,this.lineCap=li,this.lineWidth=ki,this.lineJoin=zi;var on=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Qt=ar===1?this.posY+this.margin[0]:this.margin[0],gr=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Or=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Kr=ar===1?0:gr+(ar-2)*Or;if(this.ctx.clip_path.length!==0){var mn=this.path;Tn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Fr(Tn,this.posX+this.margin[3],-Kr+Qt+this.ctx.prevPageLastElemOffset),_i.call(this,Sr,!0),this.path=mn}if(In=JSON.parse(JSON.stringify(Ri)),this.path=Fr(In,this.posX+this.margin[3],-Kr+Qt+this.ctx.prevPageLastElemOffset),ln===!1||ar===0){var mt=(ar>Bi||ar<Ar)&&yr.call(this);mt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],on,Or,null).clip().discardPath()),_i.call(this,Sr,ln),mt&&this.pdf.restoreGraphicsState()}this.lineWidth=si}else this.lineWidth=ki,_i.call(this,Sr,ln),this.lineWidth=si;this.path=Ri},_i=function(Sr,ln){if((Sr!=="stroke"||ln||!On.call(this))&&(Sr==="stroke"||ln||!er.call(this))){for(var Tn,In,Un=[],ti=this.path,li=0;li<ti.length;li++){var si=ti[li];switch(si.type){case"begin":Un.push({begin:!0});break;case"close":Un.push({close:!0});break;case"mt":Un.push({start:si,deltas:[],abs:[]});break;case"lt":var ki=Un.length;if(ti[li-1]&&!isNaN(ti[li-1].x)&&(Tn=[si.x-ti[li-1].x,si.y-ti[li-1].y],ki>0)){for(;ki>=0;ki--)if(Un[ki-1].close!==!0&&Un[ki-1].begin!==!0){Un[ki-1].deltas.push(Tn),Un[ki-1].abs.push(si);break}}break;case"bct":Tn=[si.x1-ti[li-1].x,si.y1-ti[li-1].y,si.x2-ti[li-1].x,si.y2-ti[li-1].y,si.x-ti[li-1].x,si.y-ti[li-1].y],Un[Un.length-1].deltas.push(Tn);break;case"qct":var zi=ti[li-1].x+2/3*(si.x1-ti[li-1].x),Ri=ti[li-1].y+2/3*(si.y1-ti[li-1].y),Yi=si.x+2/3*(si.x1-si.x),Zn=si.y+2/3*(si.y1-si.y),hn=si.x,mi=si.y;Tn=[zi-ti[li-1].x,Ri-ti[li-1].y,Yi-ti[li-1].x,Zn-ti[li-1].y,hn-ti[li-1].x,mi-ti[li-1].y],Un[Un.length-1].deltas.push(Tn);break;case"arc":Un.push({deltas:[],abs:[],arc:!0}),Array.isArray(Un[Un.length-1].abs)&&Un[Un.length-1].abs.push(si)}}In=ln?null:Sr==="stroke"?"stroke":"fill";for(var Hi=!1,Li=0;Li<Un.length;Li++)if(Un[Li].arc)for(var Bi=Un[Li].abs,Ar=0;Ar<Bi.length;Ar++){var ar=Bi[Ar];ar.type==="arc"?Cn.call(this,ar.x,ar.y,ar.radius,ar.startAngle,ar.endAngle,ar.counterclockwise,void 0,ln,!Hi):Lt.call(this,ar.x,ar.y),Hi=!0}else if(Un[Li].close===!0)this.pdf.internal.out("h"),Hi=!1;else if(Un[Li].begin!==!0){var on=Un[Li].start.x,Qt=Un[Li].start.y;pt.call(this,Un[Li].deltas,on,Qt),Hi=!0}In&&Nt.call(this,In),ln&&dt.call(this)}},Ur=function(Sr){var ln=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Tn=ln*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Sr-Tn;case"top":return Sr+ln-Tn;case"hanging":return Sr+ln-2*Tn;case"middle":return Sr+ln/2-Tn;case"ideographic":return Sr;case"alphabetic":default:return Sr}},sn=function(Sr){return Sr+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Lr.prototype.createLinearGradient=function(){var Yr=function(){};return Yr.colorStops=[],Yr.addColorStop=function(Sr,ln){this.colorStops.push([Sr,ln])},Yr.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Yr.isCanvasGradient=!0,Yr},Lr.prototype.createPattern=function(){return this.createLinearGradient()},Lr.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Cn=function(Sr,ln,Tn,In,Un,ti,li,si,ki){for(var zi=qt.call(this,Tn,In,Un,ti),Ri=0;Ri<zi.length;Ri++){var Yi=zi[Ri];Ri===0&&(ki?bt.call(this,Yi.x1+Sr,Yi.y1+ln):Lt.call(this,Yi.x1+Sr,Yi.y1+ln)),Gt.call(this,Sr,ln,Yi.x2,Yi.y2,Yi.x3,Yi.y3,Yi.x4,Yi.y4)}si?dt.call(this):Nt.call(this,li)},Nt=function(Sr){switch(Sr){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},dt=function(){this.pdf.clip(),this.pdf.discardPath()},bt=function(Sr,ln){this.pdf.internal.out(Ie(Sr)+" "+Fe(ln)+" m")},Tt=function(Sr){var ln;switch(Sr.align){case"right":case"end":ln="right";break;case"center":ln="center";break;case"left":case"start":default:ln="left"}var Tn=this.pdf.getTextDimensions(Sr.text),In=Ur.call(this,Sr.y),Un=sn.call(this,In)-Tn.h,ti=this.ctx.transform.applyToPoint(new Qe(Sr.x,In)),li=this.ctx.transform.decompose(),si=new ot;si=(si=(si=si.multiply(li.translate)).multiply(li.skew)).multiply(li.scale);for(var ki,zi,Ri,Yi=this.ctx.transform.applyToRectangle(new yt(Sr.x,In,Tn.w,Tn.h)),Zn=si.applyToRectangle(new yt(Sr.x,Un,Tn.w,Tn.h)),hn=gn.call(this,Zn),mi=[],Hi=0;Hi<hn.length;Hi+=1)mi.indexOf(hn[Hi])===-1&&mi.push(hn[Hi]);if(Xn(mi),this.autoPaging)for(var Li=mi[0],Bi=mi[mi.length-1],Ar=Li;Ar<Bi+1;Ar++){this.pdf.setPage(Ar);var ar=Ar===1?this.posY+this.margin[0]:this.margin[0],on=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Qt=this.pdf.internal.pageSize.height-this.margin[2],gr=Qt-this.margin[0],Or=this.pdf.internal.pageSize.width-this.margin[1],Kr=Or-this.margin[3],mn=Ar===1?0:on+(Ar-2)*gr;if(this.ctx.clip_path.length!==0){var mt=this.path;ki=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Fr(ki,this.posX+this.margin[3],-1*mn+ar),_i.call(this,"fill",!0),this.path=mt}var dr=Fr([JSON.parse(JSON.stringify(Zn))],this.posX+this.margin[3],-mn+ar+this.ctx.prevPageLastElemOffset)[0];Sr.scale>=.01&&(zi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(zi*Sr.scale),Ri=this.lineWidth,this.lineWidth=Ri*Sr.scale);var pr=this.autoPaging!=="text";if(pr||dr.y+dr.h<=Qt){if(pr||dr.y>=ar&&dr.x<=Or){var kr=pr?Sr.text:this.pdf.splitTextToSize(Sr.text,Sr.maxWidth||Or-dr.x)[0],nn=Fr([JSON.parse(JSON.stringify(Yi))],this.posX+this.margin[3],-mn+ar+this.ctx.prevPageLastElemOffset)[0],un=pr&&(Ar>Li||Ar<Bi)&&yr.call(this);un&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Kr,gr,null).clip().discardPath()),this.pdf.text(kr,nn.x,nn.y,{angle:Sr.angle,align:ln,renderingMode:Sr.renderingMode}),un&&this.pdf.restoreGraphicsState()}}else dr.y<Qt&&(this.ctx.prevPageLastElemOffset+=Qt-dr.y);Sr.scale>=.01&&(this.pdf.setFontSize(zi),this.lineWidth=Ri)}else Sr.scale>=.01&&(zi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(zi*Sr.scale),Ri=this.lineWidth,this.lineWidth=Ri*Sr.scale),this.pdf.text(Sr.text,ti.x+this.posX,ti.y+this.posY,{angle:Sr.angle,align:ln,renderingMode:Sr.renderingMode,maxWidth:Sr.maxWidth}),Sr.scale>=.01&&(this.pdf.setFontSize(zi),this.lineWidth=Ri)},Lt=function(Sr,ln,Tn,In){Tn=Tn||0,In=In||0,this.pdf.internal.out(Ie(Sr+Tn)+" "+Fe(ln+In)+" l")},pt=function(Sr,ln,Tn){return this.pdf.lines(Sr,ln,Tn,null,null)},Gt=function(Sr,ln,Tn,In,Un,ti,li,si){this.pdf.internal.out([ge(Ve(Tn+Sr)),ge(We(In+ln)),ge(Ve(Un+Sr)),ge(We(ti+ln)),ge(Ve(li+Sr)),ge(We(si+ln)),"c"].join(" "))},qt=function(Sr,ln,Tn,In){for(var Un=2*Math.PI,ti=Math.PI/2;ln>Tn;)ln-=Un;var li=Math.abs(Tn-ln);li<Un&&In&&(li=Un-li);for(var si=[],ki=In?-1:1,zi=ln;li>1e-5;){var Ri=zi+ki*Math.min(li,ti);si.push(rr.call(this,Sr,zi,Ri)),li-=Math.abs(Ri-zi),zi=Ri}return si},rr=function(Sr,ln,Tn){var In=(Tn-ln)/2,Un=Sr*Math.cos(In),ti=Sr*Math.sin(In),li=Un,si=-ti,ki=li*li+si*si,zi=ki+li*Un+si*ti,Ri=4/3*(Math.sqrt(2*ki*zi)-zi)/(li*ti-si*Un),Yi=li-Ri*si,Zn=si+Ri*li,hn=Yi,mi=-Zn,Hi=In+ln,Li=Math.cos(Hi),Bi=Math.sin(Hi);return{x1:Sr*Math.cos(ln),y1:Sr*Math.sin(ln),x2:Yi*Li-Zn*Bi,y2:Yi*Bi+Zn*Li,x3:hn*Li-mi*Bi,y3:hn*Bi+mi*Li,x4:Sr*Math.cos(Tn),y4:Sr*Math.sin(Tn)}},mr=function(Sr){return 180*Sr/Math.PI},wn=function(Sr,ln,Tn,In,Un,ti){var li=Sr+.5*(Tn-Sr),si=ln+.5*(In-ln),ki=Un+.5*(Tn-Un),zi=ti+.5*(In-ti),Ri=Math.min(Sr,Un,li,ki),Yi=Math.max(Sr,Un,li,ki),Zn=Math.min(ln,ti,si,zi),hn=Math.max(ln,ti,si,zi);return new yt(Ri,Zn,Yi-Ri,hn-Zn)},fn=function(Sr,ln,Tn,In,Un,ti,li,si){var ki,zi,Ri,Yi,Zn,hn,mi,Hi,Li,Bi,Ar,ar,on,Qt,gr=Tn-Sr,Or=In-ln,Kr=Un-Tn,mn=ti-In,mt=li-Un,dr=si-ti;for(zi=0;zi<41;zi++)Li=(mi=(Ri=Sr+(ki=zi/40)*gr)+ki*((Zn=Tn+ki*Kr)-Ri))+ki*(Zn+ki*(Un+ki*mt-Zn)-mi),Bi=(Hi=(Yi=ln+ki*Or)+ki*((hn=In+ki*mn)-Yi))+ki*(hn+ki*(ti+ki*dr-hn)-Hi),zi==0?(Ar=Li,ar=Bi,on=Li,Qt=Bi):(Ar=Math.min(Ar,Li),ar=Math.min(ar,Bi),on=Math.max(on,Li),Qt=Math.max(Qt,Bi));return new yt(Math.round(Ar),Math.round(ar),Math.round(on-Ar),Math.round(Qt-ar))},Wn=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Sr,ln,Tn=(Sr=this.ctx.lineDash,ln=this.ctx.lineDashOffset,JSON.stringify({lineDash:Sr,lineDashOffset:ln}));this.prevLineDash!==Tn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Tn)}}}(H.API),function(Ye){var ge=function(Qe){var yt,ot,Zt,Rr,Lr,Gr,er,On,yr,gn;for(/[^\x00-\xFF]/.test(Qe),ot=[],Zt=0,Rr=(Qe+=yt="\0\0\0\0".slice(Qe.length%4||4)).length;Rr>Zt;Zt+=4)(Lr=(Qe.charCodeAt(Zt)<<24)+(Qe.charCodeAt(Zt+1)<<16)+(Qe.charCodeAt(Zt+2)<<8)+Qe.charCodeAt(Zt+3))!==0?(Gr=(Lr=((Lr=((Lr=((Lr=(Lr-(gn=Lr%85))/85)-(yr=Lr%85))/85)-(On=Lr%85))/85)-(er=Lr%85))/85)%85,ot.push(Gr+33,er+33,On+33,yr+33,gn+33)):ot.push(122);return function(tn,Fr){for(var Xn=Fr;Xn>0;Xn--)tn.pop()}(ot,yt.length),String.fromCharCode.apply(String,ot)+"~>"},Ie=function(Qe){var yt,ot,Zt,Rr,Lr,Gr=String,er="length",On=255,yr="charCodeAt",gn="slice",tn="replace";for(Qe[gn](-2),Qe=Qe[gn](0,-2)[tn](/\s/g,"")[tn]("z","!!!!!"),Zt=[],Rr=0,Lr=(Qe+=yt="uuuuu"[gn](Qe[er]%5||5))[er];Lr>Rr;Rr+=5)ot=52200625*(Qe[yr](Rr)-33)+614125*(Qe[yr](Rr+1)-33)+7225*(Qe[yr](Rr+2)-33)+85*(Qe[yr](Rr+3)-33)+(Qe[yr](Rr+4)-33),Zt.push(On&ot>>24,On&ot>>16,On&ot>>8,On&ot);return function(Fr,Xn){for(var hi=Xn;hi>0;hi--)Fr.pop()}(Zt,yt[er]),Gr.fromCharCode.apply(Gr,Zt)},Fe=function(Qe){var yt=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Qe=Qe.replace(/\s/g,"")).indexOf(">")!==-1&&(Qe=Qe.substr(0,Qe.indexOf(">"))),Qe.length%2&&(Qe+="0"),yt.test(Qe)===!1)return"";for(var ot="",Zt=0;Zt<Qe.length;Zt+=2)ot+=String.fromCharCode("0x"+(Qe[Zt]+Qe[Zt+1]));return ot},Ve=function(Qe){for(var yt=new Uint8Array(Qe.length),ot=Qe.length;ot--;)yt[ot]=Qe.charCodeAt(ot);return Qe=(yt=Object(m.b)(yt)).reduce(function(Zt,Rr){return Zt+String.fromCharCode(Rr)},"")};Ye.processDataByFilters=function(We,Qe){var yt=0,ot=We||"",Zt=[];for(typeof(Qe=Qe||[])=="string"&&(Qe=[Qe]),yt=0;yt<Qe.length;yt+=1)switch(Qe[yt]){case"ASCII85Decode":case"/ASCII85Decode":ot=Ie(ot),Zt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ot=ge(ot),Zt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ot=Fe(ot),Zt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ot=ot.split("").map(function(Rr){return("0"+Rr.charCodeAt().toString(16)).slice(-2)}).join("")+">",Zt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ot=Ve(ot),Zt.push("/FlateDecode");break;default:throw new Error('The filter: "'+Qe[yt]+'" is not implemented')}return{data:ot,reverseChain:Zt.reverse().join(" ")}}}(H.API),function(Ye){Ye.loadFile=function(ge,Ie,Fe){return function(Ve,We,Qe){We=We!==!1,Qe=typeof Qe=="function"?Qe:function(){};var yt=void 0;try{yt=function(ot,Zt,Rr){var Lr=new XMLHttpRequest,Gr=0,er=function(yr){var gn=yr.length,tn=[],Fr=String.fromCharCode;for(Gr=0;Gr<gn;Gr+=1)tn.push(Fr(255&yr.charCodeAt(Gr)));return tn.join("")};if(Lr.open("GET",ot,!Zt),Lr.overrideMimeType("text/plain; charset=x-user-defined"),Zt===!1&&(Lr.onload=function(){Lr.status===200?Rr(er(this.responseText)):Rr(void 0)}),Lr.send(null),Zt&&Lr.status===200)return er(Lr.responseText)}(Ve,We,Qe)}catch(ot){}return yt}(ge,Ie,Fe)},Ye.loadImageFile=Ye.loadFile}(H.API),function(Ye){function ge(){return(g.html2canvas?Promise.resolve(g.html2canvas):Promise.resolve().then(n.t.bind(null,"wOnQ",7))).catch(function(Qe){return Promise.reject(new Error("Could not load html2canvas: "+Qe))}).then(function(Qe){return Qe.default?Qe.default:Qe})}function Ie(){return(g.DOMPurify?Promise.resolve(g.DOMPurify):n.e(227).then(n.t.bind(null,"qZ2Q",7))).catch(function(Qe){return Promise.reject(new Error("Could not load dompurify: "+Qe))}).then(function(Qe){return Qe.default?Qe.default:Qe})}var Fe=function(yt){var ot=S()(yt);return ot==="undefined"?"undefined":ot==="string"||yt instanceof String?"string":ot==="number"||yt instanceof Number?"number":ot==="function"||yt instanceof Function?"function":yt&&yt.constructor===Array?"array":yt&&yt.nodeType===1?"element":ot==="object"?"object":"unknown"},Ve=function(yt,ot){var Zt=document.createElement(yt);for(var Rr in ot.className&&(Zt.className=ot.className),ot.innerHTML&&ot.dompurify&&(Zt.innerHTML=ot.dompurify.sanitize(ot.innerHTML)),ot.style)Zt.style[Rr]=ot.style[Rr];return Zt},We=function Qe(yt){var ot=Object.assign(Qe.convert(Promise.resolve()),JSON.parse(JSON.stringify(Qe.template))),Zt=Qe.convert(Promise.resolve(),ot);return Zt=(Zt=Zt.setProgress(1,Qe,1,[Qe])).set(yt)};(We.prototype=Object.create(Promise.prototype)).constructor=We,We.convert=function(Qe,yt){return Qe.__proto__=yt||We.prototype,Qe},We.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},We.prototype.from=function(Qe,yt){return this.then(function(){switch(yt=yt||function(ot){switch(Fe(ot)){case"string":return"string";case"element":return ot.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Qe)){case"string":return this.then(Ie).then(function(ot){return this.set({src:Ve("div",{innerHTML:Qe,dompurify:ot})})});case"element":return this.set({src:Qe});case"canvas":return this.set({canvas:Qe});case"img":return this.set({img:Qe});default:return this.error("Unknown source type.")}})},We.prototype.to=function(Qe){switch(Qe){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},We.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var Qe={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},yt=function ot(Zt,Rr){for(var Lr=Zt.nodeType===3?document.createTextNode(Zt.nodeValue):Zt.cloneNode(!1),Gr=Zt.firstChild;Gr;Gr=Gr.nextSibling)Rr!==!0&&Gr.nodeType===1&&Gr.nodeName==="SCRIPT"||Lr.appendChild(ot(Gr,Rr));return Zt.nodeType===1&&(Zt.nodeName==="CANVAS"?(Lr.width=Zt.width,Lr.height=Zt.height,Lr.getContext("2d").drawImage(Zt,0,0)):Zt.nodeName!=="TEXTAREA"&&Zt.nodeName!=="SELECT"||(Lr.value=Zt.value),Lr.addEventListener("load",function(){Lr.scrollTop=Zt.scrollTop,Lr.scrollLeft=Zt.scrollLeft},!0)),Lr}(this.prop.src,this.opt.html2canvas.javascriptEnabled);yt.tagName==="BODY"&&(Qe.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=Ve("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=Ve("div",{className:"html2pdf__container",style:Qe}),this.prop.container.appendChild(yt),this.prop.container.firstChild.appendChild(Ve("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"})},We.prototype.toCanvas=function(){var Qe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Qe).then(ge).then(function(yt){var ot=Object.assign({},this.opt.html2canvas);return delete ot.onrendered,yt(this.prop.container,ot)}).then(function(yt){(this.opt.html2canvas.onrendered||function(){})(yt),this.prop.canvas=yt,document.body.removeChild(this.prop.overlay)})},We.prototype.toContext2d=function(){var Qe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Qe).then(ge).then(function(yt){var ot=this.opt.jsPDF,Zt=this.opt.fontFaces,Rr=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,Lr=Object.assign({async:!0,allowTaint:!0,scale:Rr,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete Lr.onrendered,ot.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,ot.context2d.posX=this.opt.x,ot.context2d.posY=this.opt.y,ot.context2d.margin=this.opt.margin,ot.context2d.fontFaces=Zt,Zt)for(var Gr=0;Gr<Zt.length;++Gr){var er=Zt[Gr],On=er.src.find(function(yr){return yr.format==="truetype"});On&&ot.addFont(On.url,er.ref.name,er.ref.style)}return Lr.windowHeight=Lr.windowHeight||0,Lr.windowHeight=Lr.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Lr.windowHeight,ot.context2d.save(!0),yt(this.prop.container,Lr)}).then(function(yt){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(yt),this.prop.canvas=yt,document.body.removeChild(this.prop.overlay)})},We.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Qe=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Qe})},We.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},We.prototype.output=function(Qe,yt,ot){return(ot=ot||"pdf").toLowerCase()==="img"||ot.toLowerCase()==="image"?this.outputImg(Qe,yt):this.outputPdf(Qe,yt)},We.prototype.outputPdf=function(Qe,yt){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Qe,yt)})},We.prototype.outputImg=function(Qe){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Qe){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+Qe+'" is not supported.'}})},We.prototype.save=function(Qe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Qe?{filename:Qe}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},We.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},We.prototype.set=function(Qe){if(Fe(Qe)!=="object")return this;var yt=Object.keys(Qe||{}).map(function(ot){if(ot in We.template.prop)return function(){this.prop[ot]=Qe[ot]};switch(ot){case"margin":return this.setMargin.bind(this,Qe.margin);case"jsPDF":return function(){return this.opt.jsPDF=Qe.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Qe.pageSize);default:return function(){this.opt[ot]=Qe[ot]}}},this);return this.then(function(){return this.thenList(yt)})},We.prototype.get=function(Qe,yt){return this.then(function(){var ot=Qe in We.template.prop?this.prop[Qe]:this.opt[Qe];return yt?yt(ot):ot})},We.prototype.setMargin=function(Qe){return this.then(function(){switch(Fe(Qe)){case"number":Qe=[Qe,Qe,Qe,Qe];case"array":if(Qe.length===2&&(Qe=[Qe[0],Qe[1],Qe[0],Qe[1]]),Qe.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Qe}).then(this.setPageSize)},We.prototype.setPageSize=function(Qe){function yt(ot,Zt){return Math.floor(ot*Zt/72*96)}return this.then(function(){(Qe=Qe||H.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Qe.inner={width:Qe.width-this.opt.margin[1]-this.opt.margin[3],height:Qe.height-this.opt.margin[0]-this.opt.margin[2]},Qe.inner.px={width:yt(Qe.inner.width,Qe.k),height:yt(Qe.inner.height,Qe.k)},Qe.inner.ratio=Qe.inner.height/Qe.inner.width),this.prop.pageSize=Qe})},We.prototype.setProgress=function(Qe,yt,ot,Zt){return Qe!=null&&(this.progress.val=Qe),yt!=null&&(this.progress.state=yt),ot!=null&&(this.progress.n=ot),Zt!=null&&(this.progress.stack=Zt),this.progress.ratio=this.progress.val/this.progress.state,this},We.prototype.updateProgress=function(Qe,yt,ot,Zt){return this.setProgress(Qe?this.progress.val+Qe:null,yt||null,ot?this.progress.n+ot:null,Zt?this.progress.stack.concat(Zt):null)},We.prototype.then=function(Qe,yt){var ot=this;return this.thenCore(Qe,yt,function(Zt,Rr){return ot.updateProgress(null,null,1,[Zt]),Promise.prototype.then.call(this,function(Lr){return ot.updateProgress(null,Zt),Lr}).then(Zt,Rr).then(function(Lr){return ot.updateProgress(1),Lr})})},We.prototype.thenCore=function(Qe,yt,ot){ot=ot||Promise.prototype.then,Qe&&(Qe=Qe.bind(this)),yt&&(yt=yt.bind(this));var Zt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:We.convert(Object.assign({},this),Promise.prototype),Rr=ot.call(Zt,Qe,yt);return We.convert(Rr,this.__proto__)},We.prototype.thenExternal=function(Qe,yt){return Promise.prototype.then.call(this,Qe,yt)},We.prototype.thenList=function(Qe){var yt=this;return Qe.forEach(function(ot){yt=yt.thenCore(ot)}),yt},We.prototype.catch=function(Qe){Qe&&(Qe=Qe.bind(this));var yt=Promise.prototype.catch.call(this,Qe);return We.convert(yt,this)},We.prototype.catchExternal=function(Qe){return Promise.prototype.catch.call(this,Qe)},We.prototype.error=function(Qe){return this.then(function(){throw new Error(Qe)})},We.prototype.using=We.prototype.set,We.prototype.saveAs=We.prototype.save,We.prototype.export=We.prototype.output,We.prototype.run=We.prototype.then,H.getPageSize=function(Qe,yt,ot){if(S()(Qe)==="object"){var Zt=Qe;Qe=Zt.orientation,yt=Zt.unit||yt,ot=Zt.format||ot}yt=yt||"mm",ot=ot||"a4",Qe=(""+(Qe||"P")).toLowerCase();var Rr,Lr=(""+ot).toLowerCase(),Gr={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(yt){case"pt":Rr=1;break;case"mm":Rr=72/25.4;break;case"cm":Rr=72/2.54;break;case"in":Rr=72;break;case"px":Rr=.75;break;case"pc":case"em":Rr=12;break;case"ex":Rr=6;break;default:throw"Invalid unit: "+yt}var er,On=0,yr=0;if(Gr.hasOwnProperty(Lr))On=Gr[Lr][1]/Rr,yr=Gr[Lr][0]/Rr;else try{On=ot[1],yr=ot[0]}catch(gn){throw new Error("Invalid format: "+ot)}if(Qe==="p"||Qe==="portrait")Qe="p",yr>On&&(er=yr,yr=On,On=er);else{if(Qe!=="l"&&Qe!=="landscape")throw"Invalid orientation: "+Qe;Qe="l",On>yr&&(er=yr,yr=On,On=er)}return{width:yr,height:On,unit:yt,k:Rr,orientation:Qe}},Ye.html=function(Qe,yt){(yt=yt||{}).callback=yt.callback||function(){},yt.html2canvas=yt.html2canvas||{},yt.html2canvas.canvas=yt.html2canvas.canvas||this.canvas,yt.jsPDF=yt.jsPDF||this,yt.fontFaces=yt.fontFaces?yt.fontFaces.map(An):null;var ot=new We(yt);return yt.worker?ot:ot.from(Qe).doCallback()}}(H.API),H.API.addJS=function(Ye){return bn=Ye,this.internal.events.subscribe("postPutResources",function(){Vn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Vn+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),xi=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+bn+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Vn!==void 0&&xi!==void 0&&this.internal.out("/Names <</JavaScript "+Vn+" 0 R>>")}),this},function(Ye){var ge;Ye.events.push(["postPutResources",function(){var Ie=this,Fe=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Ve=Ie.outline.render().split(/\r\n/),We=0;We<Ve.length;We++){var Qe=Ve[We],yt=Fe.exec(Qe);if(yt!=null){var ot=yt[1];Ie.internal.newObjectDeferredBegin(ot,!1)}Ie.internal.write(Qe)}if(this.outline.createNamedDestinations){var Zt=this.internal.pages.length,Rr=[];for(We=0;We<Zt;We++){var Lr=Ie.internal.newObject();Rr.push(Lr);var Gr=Ie.internal.getPageInfo(We+1);Ie.internal.write("<< /D["+Gr.objId+" 0 R /XYZ null null null]>> endobj")}var er=Ie.internal.newObject();for(Ie.internal.write("<< /Names [ "),We=0;We<Rr.length;We++)Ie.internal.write("(page_"+(We+1)+")"+Rr[We]+" 0 R");Ie.internal.write(" ] >>","endobj"),ge=Ie.internal.newObject(),Ie.internal.write("<< /Dests "+er+" 0 R"),Ie.internal.write(">>","endobj")}}]),Ye.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+ge+" 0 R"))}]),Ye.events.push(["initialized",function(){var Ie=this;Ie.outline={createNamedDestinations:!1,root:{children:[]}},Ie.outline.add=function(Fe,Ve,We){var Qe={title:Ve,options:We,children:[]};return Fe==null&&(Fe=this.root),Fe.children.push(Qe),Qe},Ie.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Ie,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Ie.outline.genIds_r=function(Fe){Fe.id=Ie.internal.newObjectDeferred();for(var Ve=0;Ve<Fe.children.length;Ve++)this.genIds_r(Fe.children[Ve])},Ie.outline.renderRoot=function(Fe){this.objStart(Fe),this.line("/Type /Outlines"),Fe.children.length>0&&(this.line("/First "+this.makeRef(Fe.children[0])),this.line("/Last "+this.makeRef(Fe.children[Fe.children.length-1]))),this.line("/Count "+this.count_r({count:0},Fe)),this.objEnd()},Ie.outline.renderItems=function(Fe){for(var Ve=this.ctx.pdf.internal.getVerticalCoordinateString,We=0;We<Fe.children.length;We++){var Qe=Fe.children[We];this.objStart(Qe),this.line("/Title "+this.makeString(Qe.title)),this.line("/Parent "+this.makeRef(Fe)),We>0&&this.line("/Prev "+this.makeRef(Fe.children[We-1])),We<Fe.children.length-1&&this.line("/Next "+this.makeRef(Fe.children[We+1])),Qe.children.length>0&&(this.line("/First "+this.makeRef(Qe.children[0])),this.line("/Last "+this.makeRef(Qe.children[Qe.children.length-1])));var yt=this.count=this.count_r({count:0},Qe);if(yt>0&&this.line("/Count "+yt),Qe.options&&Qe.options.pageNumber){var ot=Ie.internal.getPageInfo(Qe.options.pageNumber);this.line("/Dest ["+ot.objId+" 0 R /XYZ 0 "+Ve(0)+" 0]")}this.objEnd()}for(var Zt=0;Zt<Fe.children.length;Zt++)this.renderItems(Fe.children[Zt])},Ie.outline.line=function(Fe){this.ctx.val+=Fe+`\r
`},Ie.outline.makeRef=function(Fe){return Fe.id+" 0 R"},Ie.outline.makeString=function(Fe){return"("+Ie.internal.pdfEscape(Fe)+")"},Ie.outline.objStart=function(Fe){this.ctx.val+=`\r
`+Fe.id+` 0 obj\r
<<\r
`},Ie.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},Ie.outline.count_r=function(Fe,Ve){for(var We=0;We<Ve.children.length;We++)Fe.count++,this.count_r(Fe,Ve.children[We]);return Fe.count}}])}(H.API),function(Ye){var ge=[192,193,194,195,196,197,198,199];Ye.processJPEG=function(Ie,Fe,Ve,We,Qe,yt){var ot,Zt=this.decode.DCT_DECODE,Rr=null;if(typeof Ie=="string"||this.__addimage__.isArrayBuffer(Ie)||this.__addimage__.isArrayBufferView(Ie)){switch(Ie=Qe||Ie,Ie=this.__addimage__.isArrayBuffer(Ie)?new Uint8Array(Ie):Ie,(ot=function(Lr){for(var Gr,er=256*Lr.charCodeAt(4)+Lr.charCodeAt(5),On=Lr.length,yr={width:0,height:0,numcomponents:1},gn=4;gn<On;gn+=2){if(gn+=er,ge.indexOf(Lr.charCodeAt(gn+1))!==-1){Gr=256*Lr.charCodeAt(gn+5)+Lr.charCodeAt(gn+6),yr={width:256*Lr.charCodeAt(gn+7)+Lr.charCodeAt(gn+8),height:Gr,numcomponents:Lr.charCodeAt(gn+9)};break}er=256*Lr.charCodeAt(gn+2)+Lr.charCodeAt(gn+3)}return yr}(Ie=this.__addimage__.isArrayBufferView(Ie)?this.__addimage__.arrayBufferToBinaryString(Ie):Ie)).numcomponents){case 1:yt=this.color_spaces.DEVICE_GRAY;break;case 4:yt=this.color_spaces.DEVICE_CMYK;break;case 3:yt=this.color_spaces.DEVICE_RGB}Rr={data:Ie,width:ot.width,height:ot.height,colorSpace:yt,bitsPerComponent:8,filter:Zt,index:Fe,alias:Ve}}return Rr}}(H.API);var jt,At,xe,we,Ee,Ge=function(){var Ye,ge,Ie;function Fe(We){var Qe,yt,ot,Zt,Rr,Lr,Gr,er,On,yr,gn,tn,Fr,Xn;for(this.data=We,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},Lr=null;;){switch(Qe=this.readUInt32(),On=function(){var hi,_i;for(_i=[],hi=0;hi<4;++hi)_i.push(String.fromCharCode(this.data[this.pos++]));return _i}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(Qe);break;case"fcTL":Lr&&this.animation.frames.push(Lr),this.pos+=4,Lr={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},Rr=this.readUInt16(),Zt=this.readUInt16()||100,Lr.delay=1e3*Rr/Zt,Lr.disposeOp=this.data[this.pos++],Lr.blendOp=this.data[this.pos++],Lr.data=[];break;case"IDAT":case"fdAT":for(On==="fdAT"&&(this.pos+=4,Qe-=4),We=(Lr!=null?Lr.data:void 0)||this.imgData,tn=0;0<=Qe?tn<Qe:tn>Qe;0<=Qe?++tn:--tn)We.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(ot=this.palette.length/3,this.transparency.indexed=this.read(Qe),this.transparency.indexed.length>ot)throw new Error("More transparent colors than palette size");if((yr=ot-this.transparency.indexed.length)>0)for(Fr=0;0<=yr?Fr<yr:Fr>yr;0<=yr?++Fr:--Fr)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Qe)[0];break;case 2:this.transparency.rgb=this.read(Qe)}break;case"tEXt":Gr=(gn=this.read(Qe)).indexOf(0),er=String.fromCharCode.apply(String,gn.slice(0,Gr)),this.text[er]=String.fromCharCode.apply(String,gn.slice(Gr+1));break;case"IEND":return Lr&&this.animation.frames.push(Lr),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Xn=this.colorType)===4||Xn===6,yt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*yt,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=Qe}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Fe.prototype.read=function(We){var Qe,yt;for(yt=[],Qe=0;0<=We?Qe<We:Qe>We;0<=We?++Qe:--Qe)yt.push(this.data[this.pos++]);return yt},Fe.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Fe.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},Fe.prototype.decodePixels=function(We){var Qe=this.pixelBitlength/8,yt=new Uint8Array(this.width*this.height*Qe),ot=0,Zt=this;if(We==null&&(We=this.imgData),We.length===0)return new Uint8Array(0);function Rr(Lr,Gr,er,On){var yr,gn,tn,Fr,Xn,hi,_i,Ur,sn,Cn,Nt,dt,bt,Tt,Lt,pt,Gt,qt,rr,mr,wn,fn=Math.ceil((Zt.width-Lr)/er),Wn=Math.ceil((Zt.height-Gr)/On),Yr=Zt.width==fn&&Zt.height==Wn;for(Tt=Qe*fn,dt=Yr?yt:new Uint8Array(Tt*Wn),hi=We.length,bt=0,gn=0;bt<Wn&&ot<hi;){switch(We[ot++]){case 0:for(Fr=Gt=0;Gt<Tt;Fr=Gt+=1)dt[gn++]=We[ot++];break;case 1:for(Fr=qt=0;qt<Tt;Fr=qt+=1)yr=We[ot++],Xn=Fr<Qe?0:dt[gn-Qe],dt[gn++]=(yr+Xn)%256;break;case 2:for(Fr=rr=0;rr<Tt;Fr=rr+=1)yr=We[ot++],tn=(Fr-Fr%Qe)/Qe,Lt=bt&&dt[(bt-1)*Tt+tn*Qe+Fr%Qe],dt[gn++]=(Lt+yr)%256;break;case 3:for(Fr=mr=0;mr<Tt;Fr=mr+=1)yr=We[ot++],tn=(Fr-Fr%Qe)/Qe,Xn=Fr<Qe?0:dt[gn-Qe],Lt=bt&&dt[(bt-1)*Tt+tn*Qe+Fr%Qe],dt[gn++]=(yr+Math.floor((Xn+Lt)/2))%256;break;case 4:for(Fr=wn=0;wn<Tt;Fr=wn+=1)yr=We[ot++],tn=(Fr-Fr%Qe)/Qe,Xn=Fr<Qe?0:dt[gn-Qe],bt===0?Lt=pt=0:(Lt=dt[(bt-1)*Tt+tn*Qe+Fr%Qe],pt=tn&&dt[(bt-1)*Tt+(tn-1)*Qe+Fr%Qe]),_i=Xn+Lt-pt,Ur=Math.abs(_i-Xn),Cn=Math.abs(_i-Lt),Nt=Math.abs(_i-pt),sn=Ur<=Cn&&Ur<=Nt?Xn:Cn<=Nt?Lt:pt,dt[gn++]=(yr+sn)%256;break;default:throw new Error("Invalid filter algorithm: "+We[ot-1])}if(!Yr){var Sr=((Gr+bt*On)*Zt.width+Lr)*Qe,ln=bt*Tt;for(Fr=0;Fr<fn;Fr+=1){for(var Tn=0;Tn<Qe;Tn+=1)yt[Sr++]=dt[ln++];Sr+=(er-1)*Qe}}bt++}}return We=Object(m.a)(We),Zt.interlaceMethod==1?(Rr(0,0,8,8),Rr(4,0,8,8),Rr(0,4,4,8),Rr(2,0,4,4),Rr(0,2,2,4),Rr(1,0,2,2),Rr(0,1,1,2)):Rr(0,0,1,1),yt},Fe.prototype.decodePalette=function(){var We,Qe,yt,ot,Zt,Rr,Lr,Gr,er;for(yt=this.palette,Rr=this.transparency.indexed||[],Zt=new Uint8Array((Rr.length||0)+yt.length),ot=0,We=0,Qe=Lr=0,Gr=yt.length;Lr<Gr;Qe=Lr+=3)Zt[ot++]=yt[Qe],Zt[ot++]=yt[Qe+1],Zt[ot++]=yt[Qe+2],Zt[ot++]=(er=Rr[We++])!=null?er:255;return Zt},Fe.prototype.copyToImageData=function(We,Qe){var yt,ot,Zt,Rr,Lr,Gr,er,On,yr,gn,tn;if(ot=this.colors,yr=null,yt=this.hasAlphaChannel,this.palette.length&&(yr=(tn=this._decodedPalette)!=null?tn:this._decodedPalette=this.decodePalette(),ot=4,yt=!0),On=(Zt=We.data||We).length,Lr=yr||Qe,Rr=Gr=0,ot===1)for(;Rr<On;)er=yr?4*Qe[Rr/4]:Gr,gn=Lr[er++],Zt[Rr++]=gn,Zt[Rr++]=gn,Zt[Rr++]=gn,Zt[Rr++]=yt?Lr[er++]:255,Gr=er;else for(;Rr<On;)er=yr?4*Qe[Rr/4]:Gr,Zt[Rr++]=Lr[er++],Zt[Rr++]=Lr[er++],Zt[Rr++]=Lr[er++],Zt[Rr++]=yt?Lr[er++]:255,Gr=er},Fe.prototype.decode=function(){var We;return We=new Uint8Array(this.width*this.height*4),this.copyToImageData(We,this.decodePixels()),We};var Ve=function(){if(Object.prototype.toString.call(g)==="[object Window]"){try{ge=g.document.createElement("canvas"),Ie=ge.getContext("2d")}catch(Qe){return!1}return!0}return!1};return Ve(),Ye=function(Qe){var yt;if(Ve()===!0)return Ie.width=Qe.width,Ie.height=Qe.height,Ie.clearRect(0,0,Qe.width,Qe.height),Ie.putImageData(Qe,0,0),(yt=new Image).src=ge.toDataURL(),yt;throw new Error("This method requires a Browser with Canvas-capability.")},Fe.prototype.decodeFrames=function(We){var Qe,yt,ot,Zt,Rr,Lr,Gr,er;if(this.animation){for(er=[],yt=Rr=0,Lr=(Gr=this.animation.frames).length;Rr<Lr;yt=++Rr)Qe=Gr[yt],ot=We.createImageData(Qe.width,Qe.height),Zt=this.decodePixels(new Uint8Array(Qe.data)),this.copyToImageData(ot,Zt),Qe.imageData=ot,er.push(Qe.image=Ye(ot));return er}},Fe.prototype.renderFrame=function(We,Qe){var yt,ot,Zt;return yt=(ot=this.animation.frames)[Qe],Zt=ot[Qe-1],Qe===0&&We.clearRect(0,0,this.width,this.height),(Zt!=null?Zt.disposeOp:void 0)===1?We.clearRect(Zt.xOffset,Zt.yOffset,Zt.width,Zt.height):(Zt!=null?Zt.disposeOp:void 0)===2&&We.putImageData(Zt.imageData,Zt.xOffset,Zt.yOffset),yt.blendOp===0&&We.clearRect(yt.xOffset,yt.yOffset,yt.width,yt.height),We.drawImage(yt.image,yt.xOffset,yt.yOffset)},Fe.prototype.animate=function(We){var Qe,yt,ot,Zt,Rr,Lr,Gr=this;return yt=0,Lr=this.animation,Zt=Lr.numFrames,ot=Lr.frames,Rr=Lr.numPlays,(Qe=function(){var On,yr;if(On=yt++%Zt,yr=ot[On],Gr.renderFrame(We,On),Zt>1&&yt/Zt<Rr)return Gr.animation._timeout=setTimeout(Qe,yr.delay)})()},Fe.prototype.stopAnimation=function(){var We;return clearTimeout((We=this.animation)!=null?We._timeout:void 0)},Fe.prototype.render=function(We){var Qe,yt;return We._png&&We._png.stopAnimation(),We._png=this,We.width=this.width,We.height=this.height,Qe=We.getContext("2d"),this.animation?(this.decodeFrames(Qe),this.animate(Qe)):(yt=Qe.createImageData(this.width,this.height),this.copyToImageData(yt,this.decodePixels()),Qe.putImageData(yt,0,0))},Fe}();/**
* @license
*
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* ====================================================================
*//**
* @license
* (c) Dean McNamee <dean@gmail.com>, 2013.
*
* https://github.com/deanm/omggif
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
* including animation and compression. It does not rely on any specific
* underlying system, so should run in the browser, Node, or Plask.
*/function nt(Ye){var ge=0;if(Ye[ge++]!==71||Ye[ge++]!==73||Ye[ge++]!==70||Ye[ge++]!==56||(Ye[ge++]+1&253)!=56||Ye[ge++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Ie=Ye[ge++]|Ye[ge++]<<8,Fe=Ye[ge++]|Ye[ge++]<<8,Ve=Ye[ge++],We=Ve>>7,Qe=1<<(7&Ve)+1;Ye[ge++],Ye[ge++];var yt=null,ot=null;We&&(yt=ge,ot=Qe,ge+=3*Qe);var Zt=!0,Rr=[],Lr=0,Gr=null,er=0,On=null;for(this.width=Ie,this.height=Fe;Zt&&ge<Ye.length;)switch(Ye[ge++]){case 33:switch(Ye[ge++]){case 255:if(Ye[ge]!==11||Ye[ge+1]==78&&Ye[ge+2]==69&&Ye[ge+3]==84&&Ye[ge+4]==83&&Ye[ge+5]==67&&Ye[ge+6]==65&&Ye[ge+7]==80&&Ye[ge+8]==69&&Ye[ge+9]==50&&Ye[ge+10]==46&&Ye[ge+11]==48&&Ye[ge+12]==3&&Ye[ge+13]==1&&Ye[ge+16]==0)ge+=14,On=Ye[ge++]|Ye[ge++]<<8,ge++;else for(ge+=12;;){if(!((bt=Ye[ge++])>=0))throw Error("Invalid block size");if(bt===0)break;ge+=bt}break;case 249:if(Ye[ge++]!==4||Ye[ge+4]!==0)throw new Error("Invalid graphics extension block.");var yr=Ye[ge++];Lr=Ye[ge++]|Ye[ge++]<<8,Gr=Ye[ge++],(1&yr)==0&&(Gr=null),er=yr>>2&7,ge++;break;case 254:for(;;){if(!((bt=Ye[ge++])>=0))throw Error("Invalid block size");if(bt===0)break;ge+=bt}break;default:throw new Error("Unknown graphic control label: 0x"+Ye[ge-1].toString(16))}break;case 44:var gn=Ye[ge++]|Ye[ge++]<<8,tn=Ye[ge++]|Ye[ge++]<<8,Fr=Ye[ge++]|Ye[ge++]<<8,Xn=Ye[ge++]|Ye[ge++]<<8,hi=Ye[ge++],_i=hi>>6&1,Ur=1<<(7&hi)+1,sn=yt,Cn=ot,Nt=!1;hi>>7&&(Nt=!0,sn=ge,Cn=Ur,ge+=3*Ur);var dt=ge;for(ge++;;){var bt;if(!((bt=Ye[ge++])>=0))throw Error("Invalid block size");if(bt===0)break;ge+=bt}Rr.push({x:gn,y:tn,width:Fr,height:Xn,has_local_palette:Nt,palette_offset:sn,palette_size:Cn,data_offset:dt,data_length:ge-dt,transparent_index:Gr,interlaced:!!_i,delay:Lr,disposal:er});break;case 59:Zt=!1;break;default:throw new Error("Unknown gif block: 0x"+Ye[ge-1].toString(16))}this.numFrames=function(){return Rr.length},this.loopCount=function(){return On},this.frameInfo=function(Tt){if(Tt<0||Tt>=Rr.length)throw new Error("Frame index out of range.");return Rr[Tt]},this.decodeAndBlitFrameBGRA=function(Tt,Lt){var pt=this.frameInfo(Tt),Gt=pt.width*pt.height,qt=new Uint8Array(Gt);st(Ye,pt.data_offset,qt,Gt);var rr=pt.palette_offset,mr=pt.transparent_index;mr===null&&(mr=256);var wn=pt.width,fn=Ie-wn,Wn=wn,Yr=4*(pt.y*Ie+pt.x),Sr=4*((pt.y+pt.height)*Ie+pt.x),ln=Yr,Tn=4*fn;pt.interlaced===!0&&(Tn+=4*Ie*7);for(var In=8,Un=0,ti=qt.length;Un<ti;++Un){var li=qt[Un];if(Wn===0&&(Wn=wn,(ln+=Tn)>=Sr&&(Tn=4*fn+4*Ie*(In-1),ln=Yr+(wn+fn)*(In<<1),In>>=1)),li===mr)ln+=4;else{var si=Ye[rr+3*li],ki=Ye[rr+3*li+1],zi=Ye[rr+3*li+2];Lt[ln++]=zi,Lt[ln++]=ki,Lt[ln++]=si,Lt[ln++]=255}--Wn}},this.decodeAndBlitFrameRGBA=function(Tt,Lt){var pt=this.frameInfo(Tt),Gt=pt.width*pt.height,qt=new Uint8Array(Gt);st(Ye,pt.data_offset,qt,Gt);var rr=pt.palette_offset,mr=pt.transparent_index;mr===null&&(mr=256);var wn=pt.width,fn=Ie-wn,Wn=wn,Yr=4*(pt.y*Ie+pt.x),Sr=4*((pt.y+pt.height)*Ie+pt.x),ln=Yr,Tn=4*fn;pt.interlaced===!0&&(Tn+=4*Ie*7);for(var In=8,Un=0,ti=qt.length;Un<ti;++Un){var li=qt[Un];if(Wn===0&&(Wn=wn,(ln+=Tn)>=Sr&&(Tn=4*fn+4*Ie*(In-1),ln=Yr+(wn+fn)*(In<<1),In>>=1)),li===mr)ln+=4;else{var si=Ye[rr+3*li],ki=Ye[rr+3*li+1],zi=Ye[rr+3*li+2];Lt[ln++]=si,Lt[ln++]=ki,Lt[ln++]=zi,Lt[ln++]=255}--Wn}}}function st(Ye,ge,Ie,Fe){for(var Ve=Ye[ge++],We=1<<Ve,Qe=We+1,yt=Qe+1,ot=Ve+1,Zt=(1<<ot)-1,Rr=0,Lr=0,Gr=0,er=Ye[ge++],On=new Int32Array(4096),yr=null;;){for(;Rr<16&&er!==0;)Lr|=Ye[ge++]<<Rr,Rr+=8,er===1?er=Ye[ge++]:--er;if(Rr<ot)break;var gn=Lr&Zt;if(Lr>>=ot,Rr-=ot,gn!==We){if(gn===Qe)break;for(var tn=gn<yt?gn:yr,Fr=0,Xn=tn;Xn>We;)Xn=On[Xn]>>8,++Fr;var hi=Xn;if(Gr+Fr+(tn!==gn?1:0)>Fe)return void d.log("Warning, gif stream longer than expected.");Ie[Gr++]=hi;var _i=Gr+=Fr;for(tn!==gn&&(Ie[Gr++]=hi),Xn=tn;Fr--;)Xn=On[Xn],Ie[--_i]=255&Xn,Xn>>=8;yr!==null&&yt<4096&&(On[yt++]=yr<<8|hi,yt>=Zt+1&&ot<12&&(++ot,Zt=Zt<<1|1)),yr=gn}else yt=Qe+1,Zt=(1<<(ot=Ve+1))-1,yr=null}return Gr!==Fe&&d.log("Warning, gif stream shorter than expected."),Ie}/**
* @license
Copyright (c) 2008, Adobe Systems Incorporated
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Adobe Systems Incorporated nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/function Mt(Ye){var ge,Ie,Fe,Ve,We,Qe=Math.floor,yt=new Array(64),ot=new Array(64),Zt=new Array(64),Rr=new Array(64),Lr=new Array(65535),Gr=new Array(65535),er=new Array(64),On=new Array(64),yr=[],gn=0,tn=7,Fr=new Array(64),Xn=new Array(64),hi=new Array(64),_i=new Array(256),Ur=new Array(2048),sn=[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],Cn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Nt=[0,1,2,3,4,5,6,7,8,9,10,11],dt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],bt=[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],Tt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Lt=[0,1,2,3,4,5,6,7,8,9,10,11],pt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Gt=[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 qt(Yr,Sr){for(var ln=0,Tn=0,In=new Array,Un=1;Un<=16;Un++){for(var ti=1;ti<=Yr[Un];ti++)In[Sr[Tn]]=[],In[Sr[Tn]][0]=ln,In[Sr[Tn]][1]=Un,Tn++,ln++;ln*=2}return In}function rr(Yr){for(var Sr=Yr[0],ln=Yr[1]-1;ln>=0;)Sr&1<<ln&&(gn|=1<<tn),ln--,--tn<0&&(gn==255?(mr(255),mr(0)):mr(gn),tn=7,gn=0)}function mr(Yr){yr.push(Yr)}function wn(Yr){mr(Yr>>8&255),mr(255&Yr)}function fn(Yr,Sr,ln,Tn,In){for(var Un,ti=In[0],li=In[240],si=function(Li,Bi){var Ar,ar,on,Qt,gr,Or,Kr,mn,mt,dr,pr=0;for(mt=0;mt<8;++mt){Ar=Li[pr],ar=Li[pr+1],on=Li[pr+2],Qt=Li[pr+3],gr=Li[pr+4],Or=Li[pr+5],Kr=Li[pr+6];var kr=Ar+(mn=Li[pr+7]),nn=Ar-mn,un=ar+Kr,en=ar-Kr,Ln=on+Or,xn=on-Or,Gn=Qt+gr,ui=Qt-gr,Jn=kr+Gn,pi=kr-Gn,wi=un+Ln,Ni=un-Ln;Li[pr]=Jn+wi,Li[pr+4]=Jn-wi;var Si=.707106781*(Ni+pi);Li[pr+2]=pi+Si,Li[pr+6]=pi-Si;var vi=.382683433*((Jn=ui+xn)-(Ni=en+nn)),Ai=.5411961*Jn+vi,Ci=1.306562965*Ni+vi,Ui=.707106781*(wi=xn+en),$i=nn+Ui,Di=nn-Ui;Li[pr+5]=Di+Ai,Li[pr+3]=Di-Ai,Li[pr+1]=$i+Ci,Li[pr+7]=$i-Ci,pr+=8}for(pr=0,mt=0;mt<8;++mt){Ar=Li[pr],ar=Li[pr+8],on=Li[pr+16],Qt=Li[pr+24],gr=Li[pr+32],Or=Li[pr+40],Kr=Li[pr+48];var ua=Ar+(mn=Li[pr+56]),aa=Ar-mn,Xi=ar+Kr,Vi=ar-Kr,ta=on+Or,Gi=on-Or,ga=Qt+gr,ra=Qt-gr,pa=ua+ga,_a=ua-ga,Da=Xi+ta,Ra=Xi-ta;Li[pr]=pa+Da,Li[pr+32]=pa-Da;var vo=.707106781*(Ra+_a);Li[pr+16]=_a+vo,Li[pr+48]=_a-vo;var ja=.382683433*((pa=ra+Gi)-(Ra=Vi+aa)),Ya=.5411961*pa+ja,Ia=1.306562965*Ra+ja,Va=.707106781*(Da=Gi+Vi),co=aa+Va,Ta=aa-Va;Li[pr+40]=Ta+Ya,Li[pr+24]=Ta-Ya,Li[pr+8]=co+Ia,Li[pr+56]=co-Ia,pr++}for(mt=0;mt<64;++mt)dr=Li[mt]*Bi[mt],er[mt]=dr>0?dr+.5|0:dr-.5|0;return er}(Yr,Sr),ki=0;ki<64;++ki)On[sn[ki]]=si[ki];var zi=On[0]-ln;ln=On[0],zi==0?rr(Tn[0]):(rr(Tn[Gr[Un=32767+zi]]),rr(Lr[Un]));for(var Ri=63;Ri>0&&On[Ri]==0;)Ri--;if(Ri==0)return rr(ti),ln;for(var Yi,Zn=1;Zn<=Ri;){for(var hn=Zn;On[Zn]==0&&Zn<=Ri;)++Zn;var mi=Zn-hn;if(mi>=16){Yi=mi>>4;for(var Hi=1;Hi<=Yi;++Hi)rr(li);mi&=15}Un=32767+On[Zn],rr(In[(mi<<4)+Gr[Un]]),rr(Lr[Un]),Zn++}return Ri!=63&&rr(ti),ln}function Wn(Yr){(Yr=Math.min(Math.max(Yr,1),100),We!=Yr)&&(!function(Sr){for(var ln=[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],Tn=0;Tn<64;Tn++){var In=Qe((ln[Tn]*Sr+50)/100);In=Math.min(Math.max(In,1),255),yt[sn[Tn]]=In}for(var Un=[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],ti=0;ti<64;ti++){var li=Qe((Un[ti]*Sr+50)/100);li=Math.min(Math.max(li,1),255),ot[sn[ti]]=li}for(var si=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ki=0,zi=0;zi<8;zi++)for(var Ri=0;Ri<8;Ri++)Zt[ki]=1/(yt[sn[ki]]*si[zi]*si[Ri]*8),Rr[ki]=1/(ot[sn[ki]]*si[zi]*si[Ri]*8),ki++}(Yr<50?Math.floor(5e3/Yr):Math.floor(200-2*Yr)),We=Yr)}this.encode=function(Yr,Sr){Sr&&Wn(Sr),yr=new Array,gn=0,tn=7,wn(65496),wn(65504),wn(16),mr(74),mr(70),mr(73),mr(70),mr(0),mr(1),mr(1),mr(0),wn(1),wn(1),mr(0),mr(0),function(){wn(65499),wn(132),mr(0);for(var ar=0;ar<64;ar++)mr(yt[ar]);mr(1);for(var on=0;on<64;on++)mr(ot[on])}(),function(ar,on){wn(65472),wn(17),mr(8),wn(on),wn(ar),mr(3),mr(1),mr(17),mr(0),mr(2),mr(17),mr(1),mr(3),mr(17),mr(1)}(Yr.width,Yr.height),function(){wn(65476),wn(418),mr(0);for(var ar=0;ar<16;ar++)mr(Cn[ar+1]);for(var on=0;on<=11;on++)mr(Nt[on]);mr(16);for(var Qt=0;Qt<16;Qt++)mr(dt[Qt+1]);for(var gr=0;gr<=161;gr++)mr(bt[gr]);mr(1);for(var Or=0;Or<16;Or++)mr(Tt[Or+1]);for(var Kr=0;Kr<=11;Kr++)mr(Lt[Kr]);mr(17);for(var mn=0;mn<16;mn++)mr(pt[mn+1]);for(var mt=0;mt<=161;mt++)mr(Gt[mt])}(),wn(65498),wn(12),mr(3),mr(1),mr(0),mr(2),mr(17),mr(3),mr(17),mr(0),mr(63),mr(0);var ln=0,Tn=0,In=0;gn=0,tn=7,this.encode.displayName="_encode_";for(var Un,ti,li,si,ki,zi,Ri,Yi,Zn,hn=Yr.data,mi=Yr.width,Hi=Yr.height,Li=4*mi,Bi=0;Bi<Hi;){for(Un=0;Un<Li;){for(ki=Li*Bi+Un,Ri=-1,Yi=0,Zn=0;Zn<64;Zn++)zi=ki+(Yi=Zn>>3)*Li+(Ri=4*(7&Zn)),Bi+Yi>=Hi&&(zi-=Li*(Bi+1+Yi-Hi)),Un+Ri>=Li&&(zi-=Un+Ri-Li+4),ti=hn[zi++],li=hn[zi++],si=hn[zi++],Fr[Zn]=(Ur[ti]+Ur[li+256>>0]+Ur[si+512>>0]>>16)-128,Xn[Zn]=(Ur[ti+768>>0]+Ur[li+1024>>0]+Ur[si+1280>>0]>>16)-128,hi[Zn]=(Ur[ti+1280>>0]+Ur[li+1536>>0]+Ur[si+1792>>0]>>16)-128;ln=fn(Fr,Zt,ln,ge,Fe),Tn=fn(Xn,Rr,Tn,Ie,Ve),In=fn(hi,Rr,In,Ie,Ve),Un+=32}Bi+=8}if(tn>=0){var Ar=[];Ar[1]=tn+1,Ar[0]=(1<<tn+1)-1,rr(Ar)}return wn(65497),new Uint8Array(yr)},Ye=Ye||50,function(){for(var Yr=String.fromCharCode,Sr=0;Sr<256;Sr++)_i[Sr]=Yr(Sr)}(),ge=qt(Cn,Nt),Ie=qt(Tt,Lt),Fe=qt(dt,bt),Ve=qt(pt,Gt),function(){for(var Yr=1,Sr=2,ln=1;ln<=15;ln++){for(var Tn=Yr;Tn<Sr;Tn++)Gr[32767+Tn]=ln,Lr[32767+Tn]=[],Lr[32767+Tn][1]=ln,Lr[32767+Tn][0]=Tn;for(var In=-(Sr-1);In<=-Yr;In++)Gr[32767+In]=ln,Lr[32767+In]=[],Lr[32767+In][1]=ln,Lr[32767+In][0]=Sr-1+In;Yr<<=1,Sr<<=1}}(),function(){for(var Yr=0;Yr<256;Yr++)Ur[Yr]=19595*Yr,Ur[Yr+256>>0]=38470*Yr,Ur[Yr+512>>0]=7471*Yr+32768,Ur[Yr+768>>0]=-11059*Yr,Ur[Yr+1024>>0]=-21709*Yr,Ur[Yr+1280>>0]=32768*Yr+8421375,Ur[Yr+1536>>0]=-27439*Yr,Ur[Yr+1792>>0]=-5329*Yr}(),Wn(Ye)}/**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/function wr(Ye,ge){if(this.pos=0,this.buffer=Ye,this.datav=new DataView(Ye.buffer),this.is_with_alpha=!!ge,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Pr(Ye){function ge(Cn){if(!Cn)throw Error("assert :P")}function Ie(Cn,Nt,dt){for(var bt=0;4>bt;bt++)if(Cn[Nt+bt]!=dt.charCodeAt(bt))return!0;return!1}function Fe(Cn,Nt,dt,bt,Tt){for(var Lt=0;Lt<Tt;Lt++)Cn[Nt+Lt]=dt[bt+Lt]}function Ve(Cn,Nt,dt,bt){for(var Tt=0;Tt<bt;Tt++)Cn[Nt+Tt]=dt}function We(Cn){return new Int32Array(Cn)}function Qe(Cn,Nt){for(var dt=[],bt=0;bt<Cn;bt++)dt.push(new Nt);return dt}function yt(Cn,Nt){var dt=[];return function bt(Tt,Lt,pt){for(var Gt=pt[Lt],qt=0;qt<Gt&&(Tt.push(pt.length>Lt+1?[]:new Nt),!(pt.length<Lt+1));qt++)bt(Tt[qt],Lt+1,pt)}(dt,0,Cn),dt}var ot=function(){var Nt=this;function dt(de,He){for(var ut=1<<He-1>>>0;de&ut;)ut>>>=1;return ut?(de&ut-1)+ut:de}function bt(de,He,ut,tr,Cr){ge(!(tr%ut));do de[He+(tr-=ut)]=Cr;while(0<tr)}function Tt(de,He,ut,tr,Cr){if(ge(2328>=Cr),512>=Cr)var Wr=We(512);else if((Wr=We(Cr))==null)return 0;return function(_e,Y,he,ze,at,Rt){var Kt,Xt,Nr=Y,Qr=1<<he,Tr=We(16),Er=We(16);for(ge(at!=0),ge(ze!=null),ge(_e!=null),ge(0<he),Xt=0;Xt<at;++Xt){if(15<ze[Xt])return 0;++Tr[ze[Xt]]}if(Tr[0]==at)return 0;for(Er[1]=0,Kt=1;15>Kt;++Kt){if(Tr[Kt]>1<<Kt)return 0;Er[Kt+1]=Er[Kt]+Tr[Kt]}for(Xt=0;Xt<at;++Xt)Kt=ze[Xt],0<ze[Xt]&&(Rt[Er[Kt]++]=Xt);if(Er[15]==1)return(ze=new Lt).g=0,ze.value=Rt[0],bt(_e,Nr,1,Qr,ze),Qr;var Hr,$r=-1,En=Qr-1,oi=0,ci=1,ji=1,Oi=1<<he;for(Xt=0,Kt=1,at=2;Kt<=he;++Kt,at<<=1){if(ci+=ji<<=1,0>(ji-=Tr[Kt]))return 0;for(;0<Tr[Kt];--Tr[Kt])(ze=new Lt).g=Kt,ze.value=Rt[Xt++],bt(_e,Nr+oi,at,Oi,ze),oi=dt(oi,Kt)}for(Kt=he+1,at=2;15>=Kt;++Kt,at<<=1){if(ci+=ji<<=1,0>(ji-=Tr[Kt]))return 0;for(;0<Tr[Kt];--Tr[Kt]){if(ze=new Lt,(oi&En)!=$r){for(Nr+=Oi,Hr=1<<($r=Kt)-he;15>$r&&!(0>=(Hr-=Tr[$r]));)++$r,Hr<<=1;Qr+=Oi=1<<(Hr=$r-he),_e[Y+($r=oi&En)].g=Hr+he,_e[Y+$r].value=Nr-Y-$r}ze.g=Kt-he,ze.value=Rt[Xt++],bt(_e,Nr+(oi>>he),at,Oi,ze),oi=dt(oi,Kt)}}return ci!=2*Er[15]-1?0:Qr}(de,He,ut,tr,Cr,Wr)}function Lt(){this.value=this.g=0}function pt(){this.value=this.g=0}function Gt(){this.G=Qe(5,Lt),this.H=We(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Qe(Ka,pt)}function qt(de,He,ut,tr){ge(de!=null),ge(He!=null),ge(2147483648>tr),de.Ca=254,de.I=0,de.b=-8,de.Ka=0,de.oa=He,de.pa=ut,de.Jd=He,de.Yc=ut+tr,de.Zc=4<=tr?ut+tr-4+1:ut,ti(de)}function rr(de,He){for(var ut=0;0<He--;)ut|=si(de,128)<<He;return ut}function mr(de,He){var ut=rr(de,He);return li(de)?-ut:ut}function wn(de,He,ut,tr){var Cr,Wr=0;for(ge(de!=null),ge(He!=null),ge(4294967288>tr),de.Sb=tr,de.Ra=0,de.u=0,de.h=0,4<tr&&(tr=4),Cr=0;Cr<tr;++Cr)Wr+=He[ut+Cr]<<8*Cr;de.Ra=Wr,de.bb=tr,de.oa=He,de.pa=ut}function fn(de){for(;8<=de.u&&de.bb<de.Sb;)de.Ra>>>=8,de.Ra+=de.oa[de.pa+de.bb]<<Xo-8>>>0,++de.bb,de.u-=8;Tn(de)&&(de.h=1,de.u=0)}function Wn(de,He){if(ge(0<=He),!de.h&&He<=Is){var ut=ln(de)&is[He];return de.u+=He,fn(de),ut}return de.h=1,de.u=0}function Yr(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Sr(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function ln(de){return de.Ra>>>(de.u&Xo-1)>>>0}function Tn(de){return ge(de.bb<=de.Sb),de.h||de.bb==de.Sb&&de.u>Xo}function In(de,He){de.u=He,de.h=Tn(de)}function Un(de){de.u>=la&&(ge(de.u>=la),fn(de))}function ti(de){ge(de!=null&&de.oa!=null),de.pa<de.Zc?(de.I=(de.oa[de.pa++]|de.I<<8)>>>0,de.b+=8):(ge(de!=null&&de.oa!=null),de.pa<de.Yc?(de.b+=8,de.I=de.oa[de.pa++]|de.I<<8):de.Ka?de.b=0:(de.I<<=8,de.b+=8,de.Ka=1))}function li(de){return rr(de,1)}function si(de,He){var ut=de.Ca;0>de.b&&ti(de);var tr=de.b,Cr=ut*He>>>8,Wr=(de.I>>>tr>Cr)+0;for(Wr?(ut-=Cr,de.I-=Cr+1<<tr>>>0):ut=Cr+1,tr=ut,Cr=0;256<=tr;)Cr+=8,tr>>=8;return tr=7^Cr+Vs[tr],de.b-=tr,de.Ca=(ut<<tr)-1,Wr}function ki(de,He,ut){de[He+0]=ut>>24&255,de[He+1]=ut>>16&255,de[He+2]=ut>>8&255,de[He+3]=ut>>0&255}function zi(de,He){return de[He+0]<<0|de[He+1]<<8}function Ri(de,He){return zi(de,He)|de[He+2]<<16}function Yi(de,He){return zi(de,He)|zi(de,He+2)<<16}function Zn(de,He){var ut=1<<He;return ge(de!=null),ge(0<He),de.X=We(ut),de.X==null?0:(de.Mb=32-He,de.Xa=He,1)}function hn(de,He){ge(de!=null),ge(He!=null),ge(de.Xa==He.Xa),Fe(He.X,0,de.X,0,1<<He.Xa)}function mi(){this.X=[],this.Xa=this.Mb=0}function Hi(de,He,ut,tr){ge(ut!=null),ge(tr!=null);var Cr=ut[0],Wr=tr[0];return Cr==0&&(Cr=(de*Wr+He/2)/He),Wr==0&&(Wr=(He*Cr+de/2)/de),0>=Cr||0>=Wr?0:(ut[0]=Cr,tr[0]=Wr,1)}function Li(de,He){return de+(1<<He)-1>>>He}function Bi(de,He){return((4278255360&de)+(4278255360&He)>>>0&4278255360)+((16711935&de)+(16711935&He)>>>0&16711935)>>>0}function Ar(de,He){Nt[He]=function(ut,tr,Cr,Wr,_e,Y,he){var ze;for(ze=0;ze<_e;++ze){var at=Nt[de](Y[he+ze-1],Cr,Wr+ze);Y[he+ze]=Bi(ut[tr+ze],at)}}}function ar(){this.ud=this.hd=this.jd=0}function on(de,He){return((4278124286&(de^He))>>>1)+(de&He)>>>0}function Qt(de){return 0<=de&&256>de?de:0>de?0:255<de?255:void 0}function gr(de,He){return Qt(de+(de-He+.5>>1))}function Or(de,He,ut){return Math.abs(He-ut)-Math.abs(de-ut)}function Kr(de,He,ut,tr,Cr,Wr,_e){for(tr=Wr[_e-1],ut=0;ut<Cr;++ut)Wr[_e+ut]=tr=Bi(de[He+ut],tr)}function mn(de,He,ut,tr,Cr){var Wr;for(Wr=0;Wr<ut;++Wr){var _e=de[He+Wr],Y=_e>>8&255,he=16711935&(he=(he=16711935&_e)+((Y<<16)+Y));tr[Cr+Wr]=(4278255360&_e)+he>>>0}}function mt(de,He){He.jd=de>>0&255,He.hd=de>>8&255,He.ud=de>>16&255}function dr(de,He,ut,tr,Cr,Wr){var _e;for(_e=0;_e<tr;++_e){var Y=He[ut+_e],he=Y>>>8,ze=Y,at=255&(at=(at=Y>>>16)+((de.jd<<24>>24)*(he<<24>>24)>>>5));ze=255&(ze=(ze=ze+((de.hd<<24>>24)*(he<<24>>24)>>>5))+((de.ud<<24>>24)*(at<<24>>24)>>>5)),Cr[Wr+_e]=(4278255360&Y)+(at<<16)+ze}}function pr(de,He,ut,tr,Cr){Nt[He]=function(Wr,_e,Y,he,ze,at,Rt,Kt,Xt){for(he=Rt;he<Kt;++he)for(Rt=0;Rt<Xt;++Rt)ze[at++]=Cr(Y[tr(Wr[_e++])])},Nt[de]=function(Wr,_e,Y,he,ze,at,Rt){var Kt=8>>Wr.b,Xt=Wr.Ea,Nr=Wr.K[0],Qr=Wr.w;if(8>Kt)for(Wr=(1<<Wr.b)-1,Qr=(1<<Kt)-1;_e<Y;++_e){var Tr,Er=0;for(Tr=0;Tr<Xt;++Tr)Tr&Wr||(Er=tr(he[ze++])),at[Rt++]=Cr(Nr[Er&Qr]),Er>>=Kt}else Nt["VP8LMapColor"+ut](he,ze,Nr,Qr,at,Rt,_e,Y,Xt)}}function kr(de,He,ut,tr,Cr){for(ut=He+ut;He<ut;){var Wr=de[He++];tr[Cr++]=Wr>>16&255,tr[Cr++]=Wr>>8&255,tr[Cr++]=Wr>>0&255}}function nn(de,He,ut,tr,Cr){for(ut=He+ut;He<ut;){var Wr=de[He++];tr[Cr++]=Wr>>16&255,tr[Cr++]=Wr>>8&255,tr[Cr++]=Wr>>0&255,tr[Cr++]=Wr>>24&255}}function un(de,He,ut,tr,Cr){for(ut=He+ut;He<ut;){var Wr=(_e=de[He++])>>16&240|_e>>12&15,_e=_e>>0&240|_e>>28&15;tr[Cr++]=Wr,tr[Cr++]=_e}}function en(de,He,ut,tr,Cr){for(ut=He+ut;He<ut;){var Wr=(_e=de[He++])>>16&248|_e>>13&7,_e=_e>>5&224|_e>>3&31;tr[Cr++]=Wr,tr[Cr++]=_e}}function Ln(de,He,ut,tr,Cr){for(ut=He+ut;He<ut;){var Wr=de[He++];tr[Cr++]=Wr>>0&255,tr[Cr++]=Wr>>8&255,tr[Cr++]=Wr>>16&255}}function xn(de,He,ut,tr,Cr,Wr){if(Wr==0)for(ut=He+ut;He<ut;)ki(tr,((Wr=de[He++])[0]>>24|Wr[1]>>8&65280|Wr[2]<<8&16711680|Wr[3]<<24)>>>0),Cr+=32;else Fe(tr,Cr,de,He,ut)}function Gn(de,He){Nt[He][0]=Nt[de+"0"],Nt[He][1]=Nt[de+"1"],Nt[He][2]=Nt[de+"2"],Nt[He][3]=Nt[de+"3"],Nt[He][4]=Nt[de+"4"],Nt[He][5]=Nt[de+"5"],Nt[He][6]=Nt[de+"6"],Nt[He][7]=Nt[de+"7"],Nt[He][8]=Nt[de+"8"],Nt[He][9]=Nt[de+"9"],Nt[He][10]=Nt[de+"10"],Nt[He][11]=Nt[de+"11"],Nt[He][12]=Nt[de+"12"],Nt[He][13]=Nt[de+"13"],Nt[He][14]=Nt[de+"0"],Nt[He][15]=Nt[de+"0"]}function ui(de){return de==bu||de==bl||de==Fl||de==Hl}function Jn(){this.eb=[],this.size=this.A=this.fb=0}function pi(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function wi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Jn,this.f.kb=new pi,this.sd=null}function Ni(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Si(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function vi(de){return alert("todo:WebPSamplerProcessPlane"),de.T}function Ai(de,He){var ut=de.T,tr=He.ba.f.RGBA,Cr=tr.eb,Wr=tr.fb+de.ka*tr.A,_e=Io[He.ba.S],Y=de.y,he=de.O,ze=de.f,at=de.N,Rt=de.ea,Kt=de.W,Xt=He.cc,Nr=He.dc,Qr=He.Mc,Tr=He.Nc,Er=de.ka,Hr=de.ka+de.T,$r=de.U,En=$r+1>>1;for(Er==0?_e(Y,he,null,null,ze,at,Rt,Kt,ze,at,Rt,Kt,Cr,Wr,null,null,$r):(_e(He.ec,He.fc,Y,he,Xt,Nr,Qr,Tr,ze,at,Rt,Kt,Cr,Wr-tr.A,Cr,Wr,$r),++ut);Er+2<Hr;Er+=2)Xt=ze,Nr=at,Qr=Rt,Tr=Kt,at+=de.Rc,Kt+=de.Rc,Wr+=2*tr.A,_e(Y,(he+=2*de.fa)-de.fa,Y,he,Xt,Nr,Qr,Tr,ze,at,Rt,Kt,Cr,Wr-tr.A,Cr,Wr,$r);return he+=de.fa,de.j+Hr<de.o?(Fe(He.ec,He.fc,Y,he,$r),Fe(He.cc,He.dc,ze,at,En),Fe(He.Mc,He.Nc,Rt,Kt,En),ut--):1&Hr||_e(Y,he,null,null,ze,at,Rt,Kt,ze,at,Rt,Kt,Cr,Wr+tr.A,null,null,$r),ut}function Ci(de,He,ut){var tr=de.F,Cr=[de.J];if(tr!=null){var Wr=de.U,_e=He.ba.S,Y=_e==Qs||_e==Fl;He=He.ba.f.RGBA;var he=[0],ze=de.ka;he[0]=de.T,de.Kb&&(ze==0?--he[0]:(--ze,Cr[0]-=de.width),de.j+de.ka+de.T==de.o&&(he[0]=de.o-de.j-ze));var at=He.eb;ze=He.fb+ze*He.A,de=$s(tr,Cr[0],de.width,Wr,he,at,ze+(Y?0:3),He.A),ge(ut==he),de&&ui(_e)&&El(at,ze,Y,Wr,he,He.A)}return 0}function Ui(de){var He=de.ma,ut=He.ba.S,tr=11>ut,Cr=ut==du||ut==nu||ut==Qs||ut==iu||ut==12||ui(ut);if(He.memory=null,He.Ib=null,He.Jb=null,He.Nd=null,!Vo(He.Oa,de,Cr?11:12))return 0;if(Cr&&ui(ut)&&Ue(),de.da)alert("todo:use_scaling");else{if(tr){if(He.Ib=vi,de.Kb){if(ut=de.U+1>>1,He.memory=We(de.U+2*ut),He.memory==null)return 0;He.ec=He.memory,He.fc=0,He.cc=He.ec,He.dc=He.fc+de.U,He.Mc=He.cc,He.Nc=He.dc+ut,He.Ib=Ai,Ue()}}else alert("todo:EmitYUV");Cr&&(He.Jb=Ci,tr&&se())}if(tr&&!Fu){for(de=0;256>de;++de)ec[de]=89858*(de-128)+Yl>>Ks,Gu[de]=-22014*(de-128)+Yl,Xu[de]=-45773*(de-128),Bu[de]=113618*(de-128)+Yl>>Ks;for(de=gu;de<uu;++de)He=76283*(de-16)+Yl>>Ks,Yu[de-gu]=Ja(He,255),Uu[de-gu]=Ja(He+8>>4,15);Fu=1}return 1}function $i(de){var He=de.ma,ut=de.U,tr=de.T;return ge(!(1&de.ka)),0>=ut||0>=tr?0:(ut=He.Ib(de,He),He.Jb!=null&&He.Jb(de,He,ut),He.Dc+=ut,1)}function Di(de){de.ma.memory=null}function ua(de,He,ut,tr){return Wn(de,8)!=47?0:(He[0]=Wn(de,14)+1,ut[0]=Wn(de,14)+1,tr[0]=Wn(de,1),Wn(de,3)!=0?0:!de.h)}function aa(de,He){if(4>de)return de+1;var ut=de-2>>1;return(2+(1&de)<<ut)+Wn(He,ut)+1}function Xi(de,He){return 120<He?He-120:1<=(ut=((ut=ou[He-1])>>4)*de+(8-(15&ut)))?ut:1;var ut}function Vi(de,He,ut){var tr=ln(ut),Cr=de[He+=255&tr].g-8;return 0<Cr&&(In(ut,ut.u+8),tr=ln(ut),He+=de[He].value,He+=tr&(1<<Cr)-1),In(ut,ut.u+de[He].g),de[He].value}function ta(de,He,ut){return ut.g+=de.g,ut.value+=de.value<<He>>>0,ge(8>=ut.g),de.g}function Gi(de,He,ut){var tr=de.xc;return ge((He=tr==0?0:de.vc[de.md*(ut>>tr)+(He>>tr)])<de.Wb),de.Ya[He]}function ga(de,He,ut,tr){var Cr=de.ab,Wr=de.c*He,_e=de.C;He=_e+He;var Y=ut,he=tr;for(tr=de.Ta,ut=de.Ua;0<Cr--;){var ze=de.gc[Cr],at=_e,Rt=He,Kt=Y,Xt=he,Nr=(he=tr,Y=ut,ze.Ea);switch(ge(at<Rt),ge(Rt<=ze.nc),ze.hc){case 2:as(Kt,Xt,(Rt-at)*Nr,he,Y);break;case 0:var Qr=at,Tr=Rt,Er=he,Hr=Y,$r=(Oi=ze).Ea;Qr==0&&(Hs(Kt,Xt,null,null,1,Er,Hr),Kr(Kt,Xt+1,0,0,$r-1,Er,Hr+1),Xt+=$r,Hr+=$r,++Qr);for(var En=1<<Oi.b,oi=En-1,ci=Li($r,Oi.b),ji=Oi.K,Oi=Oi.w+(Qr>>Oi.b)*ci;Qr<Tr;){var wa=ji,Qi=Oi,Ua=1;for(fs(Kt,Xt,Er,Hr-$r,1,Er,Hr);Ua<$r;){var Sa=(Ua&~oi)+En;Sa>$r&&(Sa=$r),(0,Zo[wa[Qi++]>>8&15])(Kt,Xt+ +Ua,Er,Hr+Ua-$r,Sa-Ua,Er,Hr+Ua),Ua=Sa}Xt+=$r,Hr+=$r,++Qr&oi||(Oi+=ci)}Rt!=ze.nc&&Fe(he,Y-Nr,he,Y+(Rt-at-1)*Nr,Nr);break;case 1:for(Nr=Kt,Tr=Xt,$r=(Kt=ze.Ea)-(Hr=Kt&~(Er=(Xt=1<<ze.b)-1)),Qr=Li(Kt,ze.b),En=ze.K,ze=ze.w+(at>>ze.b)*Qr;at<Rt;){for(oi=En,ci=ze,ji=new ar,Oi=Tr+Hr,wa=Tr+Kt;Tr<Oi;)mt(oi[ci++],ji),vs(ji,Nr,Tr,Xt,he,Y),Tr+=Xt,Y+=Xt;Tr<wa&&(mt(oi[ci++],ji),vs(ji,Nr,Tr,$r,he,Y),Tr+=$r,Y+=$r),++at&Er||(ze+=Qr)}break;case 3:if(Kt==he&&Xt==Y&&0<ze.b){for(Tr=he,Kt=Nr=Y+(Rt-at)*Nr-(Hr=(Rt-at)*Li(ze.Ea,ze.b)),Xt=he,Er=Y,Qr=[],Hr=($r=Hr)-1;0<=Hr;--Hr)Qr[Hr]=Xt[Er+Hr];for(Hr=$r-1;0<=Hr;--Hr)Tr[Kt+Hr]=Qr[Hr];Ss(ze,at,Rt,he,Nr,he,Y)}else Ss(ze,at,Rt,Kt,Xt,he,Y)}Y=tr,he=ut}he!=ut&&Fe(tr,ut,Y,he,Wr)}function ra(de,He){var ut=de.V,tr=de.Ba+de.c*de.C,Cr=He-de.C;if(ge(He<=de.l.o),ge(16>=Cr),0<Cr){var Wr=de.l,_e=de.Ta,Y=de.Ua,he=Wr.width;if(ga(de,Cr,ut,tr),Cr=Y=[Y],ge((ut=de.C)<(tr=He)),ge(Wr.v<Wr.va),tr>Wr.o&&(tr=Wr.o),ut<Wr.j){var ze=Wr.j-ut;ut=Wr.j,Cr[0]+=ze*he}if(ut>=tr?ut=0:(Cr[0]+=4*Wr.v,Wr.ka=ut-Wr.j,Wr.U=Wr.va-Wr.v,Wr.T=tr-ut,ut=1),ut){if(Y=Y[0],11>(ut=de.ca).S){var at=ut.f.RGBA,Rt=(tr=ut.S,Cr=Wr.U,Wr=Wr.T,ze=at.eb,at.A),Kt=Wr;for(at=at.fb+de.Ma*at.A;0<Kt--;){var Xt=_e,Nr=Y,Qr=Cr,Tr=ze,Er=at;switch(tr){case kl:nl(Xt,Nr,Qr,Tr,Er);break;case du:ks(Xt,Nr,Qr,Tr,Er);break;case bu:ks(Xt,Nr,Qr,Tr,Er),El(Tr,Er,0,Qr,1,0);break;case ru:Eo(Xt,Nr,Qr,Tr,Er);break;case nu:xn(Xt,Nr,Qr,Tr,Er,1);break;case bl:xn(Xt,Nr,Qr,Tr,Er,1),El(Tr,Er,0,Qr,1,0);break;case Qs:xn(Xt,Nr,Qr,Tr,Er,0);break;case Fl:xn(Xt,Nr,Qr,Tr,Er,0),El(Tr,Er,1,Qr,1,0);break;case iu:po(Xt,Nr,Qr,Tr,Er);break;case Hl:po(Xt,Nr,Qr,Tr,Er),jl(Tr,Er,Qr,1,0);break;case au:Wa(Xt,Nr,Qr,Tr,Er);break;default:ge(0)}Y+=he,at+=Rt}de.Ma+=Wr}else alert("todo:EmitRescaledRowsYUVA");ge(de.Ma<=ut.height)}}de.C=He,ge(de.C<=de.i)}function pa(de){var He;if(0<de.ua)return 0;for(He=0;He<de.Wb;++He){var ut=de.Ya[He].G,tr=de.Ya[He].H;if(0<ut[1][tr[1]+0].g||0<ut[2][tr[2]+0].g||0<ut[3][tr[3]+0].g)return 0}return 1}function _a(de,He,ut,tr,Cr,Wr){if(de.Z!=0){var _e=de.qd,Y=de.rd;for(ge(ro[de.Z]!=null);He<ut;++He)ro[de.Z](_e,Y,tr,Cr,tr,Cr,Wr),_e=tr,Y=Cr,Cr+=Wr;de.qd=_e,de.rd=Y}}function Da(de,He){var ut=de.l.ma,tr=ut.Z==0||ut.Z==1?de.l.j:de.C;if(tr=de.C<tr?tr:de.C,ge(He<=de.l.o),He>tr){var Cr=de.l.width,Wr=ut.ca,_e=ut.tb+Cr*tr,Y=de.V,he=de.Ba+de.c*tr,ze=de.gc;ge(de.ab==1),ge(ze[0].hc==3),Al(ze[0],tr,He,Y,he,Wr,_e),_a(ut,tr,He,Wr,_e,Cr)}de.C=de.Ma=He}function Ra(de,He,ut,tr,Cr,Wr,_e){var Y=de.$/tr,he=de.$%tr,ze=de.m,at=de.s,Rt=ut+de.$,Kt=Rt;Cr=ut+tr*Cr;var Xt=ut+tr*Wr,Nr=280+at.ua,Qr=de.Pb?Y:16777216,Tr=0<at.ua?at.Wa:null,Er=at.wc,Hr=Rt<Xt?Gi(at,he,Y):null;ge(de.C<Wr),ge(Xt<=Cr);var $r=!1;e:for(;;){for(;$r||Rt<Xt;){var En=0;if(Y>=Qr){var oi=Rt-ut;ge((Qr=de).Pb),Qr.wd=Qr.m,Qr.xd=oi,0<Qr.s.ua&&hn(Qr.s.Wa,Qr.s.vb),Qr=Y+su}if(he&Er||(Hr=Gi(at,he,Y)),ge(Hr!=null),Hr.Qb&&(He[Rt]=Hr.qb,$r=!0),!$r)if(Un(ze),Hr.jc){En=ze,oi=He;var ci=Rt,ji=Hr.pd[ln(En)&Ka-1];ge(Hr.jc),256>ji.g?(In(En,En.u+ji.g),oi[ci]=ji.value,En=0):(In(En,En.u+ji.g-256),ge(256<=ji.value),En=ji.value),En==0&&($r=!0)}else En=Vi(Hr.G[0],Hr.H[0],ze);if(ze.h)break;if($r||256>En){if(!$r)if(Hr.nd)He[Rt]=(Hr.qb|En<<8)>>>0;else{if(Un(ze),$r=Vi(Hr.G[1],Hr.H[1],ze),Un(ze),oi=Vi(Hr.G[2],Hr.H[2],ze),ci=Vi(Hr.G[3],Hr.H[3],ze),ze.h)break;He[Rt]=(ci<<24|$r<<16|En<<8|oi)>>>0}if($r=!1,++Rt,++he>=tr&&(he=0,++Y,_e!=null&&Y<=Wr&&!(Y%16)&&_e(de,Y),Tr!=null))for(;Kt<Rt;)En=He[Kt++],Tr.X[(506832829*En&4294967295)>>>Tr.Mb]=En}else if(280>En){if(En=aa(En-256,ze),oi=Vi(Hr.G[4],Hr.H[4],ze),Un(ze),oi=Xi(tr,oi=aa(oi,ze)),ze.h)break;if(Rt-ut<oi||Cr-Rt<En)break e;for(ci=0;ci<En;++ci)He[Rt+ci]=He[Rt+ci-oi];for(Rt+=En,he+=En;he>=tr;)he-=tr,++Y,_e!=null&&Y<=Wr&&!(Y%16)&&_e(de,Y);if(ge(Rt<=Cr),he&Er&&(Hr=Gi(at,he,Y)),Tr!=null)for(;Kt<Rt;)En=He[Kt++],Tr.X[(506832829*En&4294967295)>>>Tr.Mb]=En}else{if(!(En<Nr))break e;for($r=En-280,ge(Tr!=null);Kt<Rt;)En=He[Kt++],Tr.X[(506832829*En&4294967295)>>>Tr.Mb]=En;En=Rt,ge(!($r>>>(oi=Tr).Xa)),He[En]=oi.X[$r],$r=!0}$r||ge(ze.h==Tn(ze))}if(de.Pb&&ze.h&&Rt<Cr)ge(de.m.h),de.a=5,de.m=de.wd,de.$=de.xd,0<de.s.ua&&hn(de.s.vb,de.s.Wa);else{if(ze.h)break e;_e!=null&&_e(de,Y>Wr?Wr:Y),de.a=0,de.$=Rt-ut}return 1}return de.a=3,0}function vo(de){ge(de!=null),de.vc=null,de.yc=null,de.Ya=null;var He=de.Wa;He!=null&&(He.X=null),de.vb=null,ge(de!=null)}function ja(){var de=new to;return de==null?null:(de.a=0,de.xb=Na,Gn("Predictor","VP8LPredictors"),Gn("Predictor","VP8LPredictors_C"),Gn("PredictorAdd","VP8LPredictorsAdd"),Gn("PredictorAdd","VP8LPredictorsAdd_C"),as=mn,vs=dr,nl=kr,ks=nn,po=un,Wa=en,Eo=Ln,Nt.VP8LMapColor32b=xl,Nt.VP8LMapColor8b=zs,de)}function Ya(de,He,ut,tr,Cr){var Wr=1,_e=[de],Y=[He],he=tr.m,ze=tr.s,at=null,Rt=0;e:for(;;){if(ut)for(;Wr&&Wn(he,1);){var Kt=_e,Xt=Y,Nr=tr,Qr=1,Tr=Nr.m,Er=Nr.gc[Nr.ab],Hr=Wn(Tr,2);if(Nr.Oc&1<<Hr)Wr=0;else{switch(Nr.Oc|=1<<Hr,Er.hc=Hr,Er.Ea=Kt[0],Er.nc=Xt[0],Er.K=[null],++Nr.ab,ge(4>=Nr.ab),Hr){case 0:case 1:Er.b=Wn(Tr,3)+2,Qr=Ya(Li(Er.Ea,Er.b),Li(Er.nc,Er.b),0,Nr,Er.K),Er.K=Er.K[0];break;case 3:var $r,En=Wn(Tr,8)+1,oi=16<En?0:4<En?1:2<En?2:3;if(Kt[0]=Li(Er.Ea,oi),Er.b=oi,$r=Qr=Ya(En,1,0,Nr,Er.K)){var ci,ji=En,Oi=Er,wa=1<<(8>>Oi.b),Qi=We(wa);if(Qi==null)$r=0;else{var Ua=Oi.K[0],Sa=Oi.w;for(Qi[0]=Oi.K[0][0],ci=1;ci<1*ji;++ci)Qi[ci]=Bi(Ua[Sa+ci],Qi[ci-1]);for(;ci<4*wa;++ci)Qi[ci]=0;Oi.K[0]=null,Oi.K[0]=Qi,$r=1}}Qr=$r;break;case 2:break;default:ge(0)}Wr=Qr}}if(_e=_e[0],Y=Y[0],Wr&&Wn(he,1)&&!(Wr=1<=(Rt=Wn(he,4))&&11>=Rt)){tr.a=3;break e}var So;if(So=Wr)t:{var Fo,I,D,X=tr,J=_e,ne=Y,Pe=Rt,ct=ut,Ht=X.m,ir=X.s,cr=[null],yn=1,Dn=0,qn=hu[Pe];r:for(;;){if(ct&&Wn(Ht,1)){var ni=Wn(Ht,3)+2,Mi=Li(J,ni),Zi=Li(ne,ni),da=Mi*Zi;if(!Ya(Mi,Zi,0,X,cr))break r;for(cr=cr[0],ir.xc=ni,Fo=0;Fo<da;++Fo){var ia=cr[Fo]>>8&65535;cr[Fo]=ia,ia>=yn&&(yn=ia+1)}}if(Ht.h)break r;for(I=0;5>I;++I){var na=Cu[I];!I&&0<Pe&&(na+=1<<Pe),Dn<na&&(Dn=na)}var xa=Qe(yn*qn,Lt),Ma=yn,Co=Qe(Ma,Gt);if(Co==null)var no=null;else ge(65536>=Ma),no=Co;var Wo=We(Dn);if(no==null||Wo==null||xa==null){X.a=1;break r}var ps=xa;for(Fo=D=0;Fo<yn;++Fo){var Us=no[Fo],Cs=Us.G,tl=Us.H,ul=0,Xs=1,cl=0;for(I=0;5>I;++I){na=Cu[I],Cs[I]=ps,tl[I]=D,!I&&0<Pe&&(na+=1<<Pe);i:{var rl,ya=na,Ms=X,Ls=Wo,Ws=ps,Lu=D,ns=0,Uo=Ms.m,Rl=Wn(Uo,1);if(Ve(Ls,0,0,ya),Rl){var al=Wn(Uo,1)+1,Nu=Wn(Uo,1),Ql=Wn(Uo,Nu==0?1:8);Ls[Ql]=1,al==2&&(Ls[Ql=Wn(Uo,8)]=1);var Ml=1}else{var Au=We(19),gl=Wn(Uo,4)+4;if(19<gl){Ms.a=3;var Jl=0;break i}for(rl=0;rl<gl;++rl)Au[Tl[rl]]=Wn(Uo,3);var ju=void 0,Qu=void 0,Ac=Ms,vc=Au,tc=ya,yc=Ls,sc=0,Du=Ac.m,hc=8,bc=Qe(128,Lt);n:for(;Tt(bc,0,7,vc,19);){if(Wn(Du,1)){var Cc=2+2*Wn(Du,3);if((ju=2+Wn(Du,Cc))>tc)break n}else ju=tc;for(Qu=0;Qu<tc&&ju--;){Un(Du);var wc=bc[0+(127&ln(Du))];In(Du,Du.u+wc.g);var xu=wc.value;if(16>xu)yc[Qu++]=xu,xu!=0&&(hc=xu);else{var Zl=xu==16,fc=xu-16,lc=Cl[fc],Sc=Wn(Du,Xl[fc])+lc;if(Qu+Sc>tc)break n;for(var Tc=Zl?hc:0;0<Sc--;)yc[Qu++]=Tc}}sc=1;break n}sc||(Ac.a=3),Ml=sc}(Ml=Ml&&!Uo.h)&&(ns=Tt(Ws,Lu,8,Ls,ya)),Ml&&ns!=0?Jl=ns:(Ms.a=3,Jl=0)}if(Jl==0)break r;if(Xs&&Tu[I]==1&&(Xs=ps[D].g==0),ul+=ps[D].g,D+=Jl,3>=I){var Hu,Ru=Wo[0];for(Hu=1;Hu<na;++Hu)Wo[Hu]>Ru&&(Ru=Wo[Hu]);cl+=Ru}}if(Us.nd=Xs,Us.Qb=0,Xs&&(Us.qb=(Cs[3][tl[3]+0].value<<24|Cs[1][tl[1]+0].value<<16|Cs[2][tl[2]+0].value)>>>0,ul==0&&256>Cs[0][tl[0]+0].value&&(Us.Qb=1,Us.qb+=Cs[0][tl[0]+0].value<<8)),Us.jc=!Us.Qb&&6>cl,Us.jc){var Ku,Eu=Us;for(Ku=0;Ku<Ka;++Ku){var zl=Ku,Mu=Eu.pd[zl],uc=Eu.G[0][Eu.H[0]+zl];256<=uc.value?(Mu.g=uc.g+256,Mu.value=uc.value):(Mu.g=0,Mu.value=0,zl>>=ta(uc,8,Mu),zl>>=ta(Eu.G[1][Eu.H[1]+zl],16,Mu),zl>>=ta(Eu.G[2][Eu.H[2]+zl],0,Mu),ta(Eu.G[3][Eu.H[3]+zl],24,Mu))}}}ir.vc=cr,ir.Wb=yn,ir.Ya=no,ir.yc=xa,So=1;break t}So=0}if(!(Wr=So)){tr.a=3;break e}if(0<Rt){if(ze.ua=1<<Rt,!Zn(ze.Wa,Rt)){tr.a=1,Wr=0;break e}}else ze.ua=0;var cc=tr,xc=_e,Ec=Y,pc=cc.s,mc=pc.xc;if(cc.c=xc,cc.i=Ec,pc.md=Li(xc,mc),pc.wc=mc==0?-1:(1<<mc)-1,ut){tr.xb=Bo;break e}if((at=We(_e*Y))==null){tr.a=1,Wr=0;break e}Wr=(Wr=Ra(tr,at,0,_e,Y,Y,null))&&!he.h;break e}return Wr?(Cr!=null?Cr[0]=at:(ge(at==null),ge(ut)),tr.$=0,ut||vo(ze)):vo(ze),Wr}function Ia(de,He){var ut=de.c*de.i,tr=ut+He+16*He;return ge(de.c<=He),de.V=We(tr),de.V==null?(de.Ta=null,de.Ua=0,de.a=1,0):(de.Ta=de.V,de.Ua=de.Ba+ut+He,1)}function Va(de,He){var ut=de.C,tr=He-ut,Cr=de.V,Wr=de.Ba+de.c*ut;for(ge(He<=de.l.o);0<tr;){var _e=16<tr?16:tr,Y=de.l.ma,he=de.l.width,ze=he*_e,at=Y.ca,Rt=Y.tb+he*ut,Kt=de.Ta,Xt=de.Ua;ga(de,_e,Cr,Wr),Nl(Kt,Xt,at,Rt,ze),_a(Y,ut,ut+_e,at,Rt,he),tr-=_e,Cr+=_e*de.c,ut+=_e}ge(ut==He),de.C=de.Ma=He}function co(){this.ub=this.yd=this.td=this.Rb=0}function Ta(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function yo(){this.Fb=this.Bb=this.Cb=0,this.Zb=We(4),this.Lb=We(4)}function uo(){this.Yb=function(){var de=[];return function He(ut,tr,Cr){for(var Wr=Cr[tr],_e=0;_e<Wr&&(ut.push(Cr.length>tr+1?[]:0),!(Cr.length<tr+1));_e++)He(ut[_e],tr+1,Cr)}(de,0,[3,11]),de}()}function Xa(){this.jb=We(3),this.Wc=yt([4,8],uo),this.Xc=yt([4,17],uo)}function Oo(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new We(4),this.od=new We(4)}function oa(){this.ld=this.La=this.dd=this.tc=0}function qa(){this.Na=this.la=0}function oo(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ro(){this.ad=We(384),this.Za=0,this.Ob=We(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ga(){this.uc=this.M=this.Nb=0,this.wa=Array(new oa),this.Y=0,this.ya=Array(new Ro),this.aa=0,this.l=new Fa}function _o(){this.y=We(16),this.f=We(8),this.ea=We(8)}function go(){this.cb=this.a=0,this.sc="",this.m=new Yr,this.Od=new co,this.Kc=new Ta,this.ed=new Oo,this.Qa=new yo,this.Ic=this.$c=this.Aa=0,this.D=new Ga,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Qe(8,Yr),this.ia=0,this.pb=Qe(4,oo),this.Pa=new Xa,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new _o),this.Hd=0,this.rb=Array(new qa),this.sb=0,this.wa=Array(new oa),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ro),this.L=this.aa=0,this.gd=yt([4,2],oa),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ja(de,He){return 0>de?0:de>He?He:de}function Fa(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ha(){var de=new go;return de!=null&&(de.a=0,de.sc="OK",de.cb=0,de.Xb=0,Bl||(Bl=Ir)),de}function tt(de,He,ut){return de.a==0&&(de.a=He,de.sc=ut,de.cb=0),0}function lr(de,He,ut){return 3<=ut&&de[He+0]==157&&de[He+1]==1&&de[He+2]==42}function Mr(de,He){if(de==null)return 0;if(de.a=0,de.sc="OK",He==null)return tt(de,2,"null VP8Io passed to VP8GetHeaders()");var ut=He.data,tr=He.w,Cr=He.ha;if(4>Cr)return tt(de,7,"Truncated header.");var Wr=ut[tr+0]|ut[tr+1]<<8|ut[tr+2]<<16,_e=de.Od;if(_e.Rb=!(1&Wr),_e.td=Wr>>1&7,_e.yd=Wr>>4&1,_e.ub=Wr>>5,3<_e.td)return tt(de,3,"Incorrect keyframe parameters.");if(!_e.yd)return tt(de,4,"Frame not displayable.");tr+=3,Cr-=3;var Y=de.Kc;if(_e.Rb){if(7>Cr)return tt(de,7,"cannot parse picture header");if(!lr(ut,tr,Cr))return tt(de,3,"Bad code word");Y.c=16383&(ut[tr+4]<<8|ut[tr+3]),Y.Td=ut[tr+4]>>6,Y.i=16383&(ut[tr+6]<<8|ut[tr+5]),Y.Ud=ut[tr+6]>>6,tr+=7,Cr-=7,de.za=Y.c+15>>4,de.Ub=Y.i+15>>4,He.width=Y.c,He.height=Y.i,He.Da=0,He.j=0,He.v=0,He.va=He.width,He.o=He.height,He.da=0,He.ib=He.width,He.hb=He.height,He.U=He.width,He.T=He.height,Ve((Wr=de.Pa).jb,0,255,Wr.jb.length),ge((Wr=de.Qa)!=null),Wr.Cb=0,Wr.Bb=0,Wr.Fb=1,Ve(Wr.Zb,0,0,Wr.Zb.length),Ve(Wr.Lb,0,0,Wr.Lb)}if(_e.ub>Cr)return tt(de,7,"bad partition length");qt(Wr=de.m,ut,tr,_e.ub),tr+=_e.ub,Cr-=_e.ub,_e.Rb&&(Y.Ld=li(Wr),Y.Kd=li(Wr)),Y=de.Qa;var he,ze=de.Pa;if(ge(Wr!=null),ge(Y!=null),Y.Cb=li(Wr),Y.Cb){if(Y.Bb=li(Wr),li(Wr)){for(Y.Fb=li(Wr),he=0;4>he;++he)Y.Zb[he]=li(Wr)?mr(Wr,7):0;for(he=0;4>he;++he)Y.Lb[he]=li(Wr)?mr(Wr,6):0}if(Y.Bb)for(he=0;3>he;++he)ze.jb[he]=li(Wr)?rr(Wr,8):255}else Y.Bb=0;if(Wr.Ka)return tt(de,3,"cannot parse segment header");if((Y=de.ed).zd=li(Wr),Y.Tb=rr(Wr,6),Y.wb=rr(Wr,3),Y.Pc=li(Wr),Y.Pc&&li(Wr)){for(ze=0;4>ze;++ze)li(Wr)&&(Y.vd[ze]=mr(Wr,6));for(ze=0;4>ze;++ze)li(Wr)&&(Y.od[ze]=mr(Wr,6))}if(de.L=Y.Tb==0?0:Y.zd?1:2,Wr.Ka)return tt(de,3,"cannot parse filter header");var at=Cr;if(Cr=he=tr,tr=he+at,Y=at,de.Xb=(1<<rr(de.m,2))-1,at<3*(ze=de.Xb))ut=7;else{for(he+=3*ze,Y-=3*ze,at=0;at<ze;++at){var Rt=ut[Cr+0]|ut[Cr+1]<<8|ut[Cr+2]<<16;Rt>Y&&(Rt=Y),qt(de.Jc[+at],ut,he,Rt),he+=Rt,Y-=Rt,Cr+=3}qt(de.Jc[+ze],ut,he,Y),ut=he<tr?0:5}if(ut!=0)return tt(de,ut,"cannot parse partitions");for(ut=rr(he=de.m,7),Cr=li(he)?mr(he,4):0,tr=li(he)?mr(he,4):0,Y=li(he)?mr(he,4):0,ze=li(he)?mr(he,4):0,he=li(he)?mr(he,4):0,at=de.Qa,Rt=0;4>Rt;++Rt){if(at.Cb){var Kt=at.Zb[Rt];at.Fb||(Kt+=ut)}else{if(0<Rt){de.pb[Rt]=de.pb[0];continue}Kt=ut}var Xt=de.pb[Rt];Xt.Sc[0]=Rs[Ja(Kt+Cr,127)],Xt.Sc[1]=el[Ja(Kt+0,127)],Xt.Eb[0]=2*Rs[Ja(Kt+tr,127)],Xt.Eb[1]=101581*el[Ja(Kt+Y,127)]>>16,8>Xt.Eb[1]&&(Xt.Eb[1]=8),Xt.Qc[0]=Rs[Ja(Kt+ze,117)],Xt.Qc[1]=el[Ja(Kt+he,127)],Xt.lc=Kt+he}if(!_e.Rb)return tt(de,4,"Not a key frame.");for(li(Wr),_e=de.Pa,ut=0;4>ut;++ut){for(Cr=0;8>Cr;++Cr)for(tr=0;3>tr;++tr)for(Y=0;11>Y;++Y)ze=si(Wr,pu[ut][Cr][tr][Y])?rr(Wr,8):Kl[ut][Cr][tr][Y],_e.Wc[ut][Cr].Yb[tr][Y]=ze;for(Cr=0;17>Cr;++Cr)_e.Xc[ut][Cr]=_e.Wc[ut][mu[Cr]]}return de.kc=li(Wr),de.kc&&(de.Bd=rr(Wr,8)),de.cb=1}function Ir(de,He,ut,tr,Cr,Wr,_e){var Y=He[Cr].Yb[ut];for(ut=0;16>Cr;++Cr){if(!si(de,Y[ut+0]))return Cr;for(;!si(de,Y[ut+1]);)if(Y=He[++Cr].Yb[0],ut=0,Cr==16)return 16;var he=He[Cr+1].Yb;if(si(de,Y[ut+2])){var ze=de,at=0;if(si(ze,(Kt=Y)[(Rt=ut)+3]))if(si(ze,Kt[Rt+6])){for(Y=0,Rt=2*(at=si(ze,Kt[Rt+8]))+(Kt=si(ze,Kt[Rt+9+at])),at=0,Kt=wu[Rt];Kt[Y];++Y)at+=at+si(ze,Kt[Y]);at+=3+(8<<Rt)}else si(ze,Kt[Rt+7])?(at=7+2*si(ze,165),at+=si(ze,145)):at=5+si(ze,159);else at=si(ze,Kt[Rt+4])?3+si(ze,Kt[Rt+5]):2;Y=he[2]}else at=1,Y=he[1];he=_e+fu[Cr],0>(ze=de).b&&ti(ze);var Rt,Kt=ze.b,Xt=(Rt=ze.Ca>>1)-(ze.I>>Kt)>>31;--ze.b,ze.Ca+=Xt,ze.Ca|=1,ze.I-=(Rt+1&Xt)<<Kt,Wr[he]=((at^Xt)-Xt)*tr[(0<Cr)+0]}return 16}function _n(de){var He=de.rb[de.sb-1];He.la=0,He.Na=0,Ve(de.zc,0,0,de.zc.length),de.ja=0}function Vr(de,He){if(de==null)return 0;if(He==null)return tt(de,2,"NULL VP8Io parameter in VP8Decode().");if(!de.cb&&!Mr(de,He))return 0;if(ge(de.cb),He.ac==null||He.ac(He)){He.ob&&(de.L=0);var ut=Ul[de.L];if(de.L==2?(de.yb=0,de.zb=0):(de.yb=He.v-ut>>4,de.zb=He.j-ut>>4,0>de.yb&&(de.yb=0),0>de.zb&&(de.zb=0)),de.Va=He.o+15+ut>>4,de.Hb=He.va+15+ut>>4,de.Hb>de.za&&(de.Hb=de.za),de.Va>de.Ub&&(de.Va=de.Ub),0<de.L){var tr=de.ed;for(ut=0;4>ut;++ut){var Cr;if(de.Qa.Cb){var Wr=de.Qa.Lb[ut];de.Qa.Fb||(Wr+=tr.Tb)}else Wr=tr.Tb;for(Cr=0;1>=Cr;++Cr){var _e=de.gd[ut][Cr],Y=Wr;if(tr.Pc&&(Y+=tr.vd[0],Cr&&(Y+=tr.od[0])),0<(Y=0>Y?0:63<Y?63:Y)){var he=Y;0<tr.wb&&(he=4<tr.wb?he>>2:he>>1)>9-tr.wb&&(he=9-tr.wb),1>he&&(he=1),_e.dd=he,_e.tc=2*Y+he,_e.ld=40<=Y?2:15<=Y?1:0}else _e.tc=0;_e.La=Cr}}}ut=0}else tt(de,6,"Frame setup failed"),ut=de.a;if(ut=ut==0){if(ut){de.$c=0,0<de.Aa||(de.Ic=Wl);e:{ut=de.Ic,tr=4*(he=de.za);var ze=32*he,at=he+1,Rt=0<de.L?he*(0<de.Aa?2:1):0,Kt=(de.Aa==2?2:1)*he;if((_e=tr+832+(Cr=3*(16*ut+Ul[de.L])/2*ze)+(Wr=de.Fa!=null&&0<de.Fa.length?de.Kc.c*de.Kc.i:0))!=_e)ut=0;else{if(_e>de.Vb){if(de.Vb=0,de.Ec=We(_e),de.Fc=0,de.Ec==null){ut=tt(de,1,"no memory during frame initialization.");break e}de.Vb=_e}_e=de.Ec,Y=de.Fc,de.Ac=_e,de.Bc=Y,Y+=tr,de.Gd=Qe(ze,_o),de.Hd=0,de.rb=Qe(at+1,qa),de.sb=1,de.wa=Rt?Qe(Rt,oa):null,de.Y=0,de.D.Nb=0,de.D.wa=de.wa,de.D.Y=de.Y,0<de.Aa&&(de.D.Y+=he),ge(!0),de.oc=_e,de.pc=Y,Y+=832,de.ya=Qe(Kt,Ro),de.aa=0,de.D.ya=de.ya,de.D.aa=de.aa,de.Aa==2&&(de.D.aa+=he),de.R=16*he,de.B=8*he,he=(ze=Ul[de.L])*de.R,ze=ze/2*de.B,de.sa=_e,de.ta=Y+he,de.qa=de.sa,de.ra=de.ta+16*ut*de.R+ze,de.Ha=de.qa,de.Ia=de.ra+8*ut*de.B+ze,de.$c=0,Y+=Cr,de.mb=Wr?_e:null,de.nb=Wr?Y:null,ge(Y+Wr<=de.Fc+de.Vb),_n(de),Ve(de.Ac,de.Bc,0,tr),ut=1}}if(ut){if(He.ka=0,He.y=de.sa,He.O=de.ta,He.f=de.qa,He.N=de.ra,He.ea=de.Ha,He.Vd=de.Ia,He.fa=de.R,He.Rc=de.B,He.F=null,He.J=0,!tu){for(ut=-255;255>=ut;++ut)Pl[255+ut]=0>ut?-ut:ut;for(ut=-1020;1020>=ut;++ut)yu[1020+ut]=-128>ut?-128:127<ut?127:ut;for(ut=-112;112>=ut;++ut)cu[112+ut]=-16>ut?-16:15<ut?15:ut;for(ut=-255;510>=ut;++ut)eu[255+ut]=0>ut?0:255<ut?255:ut;tu=1}Go=ii,$o=Hn,rs=Bn,os=ri,Fs=Yn,To=jn,ol=Js,Zs=Es,dl=hs,hl=bs,sl=gs,yl=Ko,Ns=ws,ys=qo,Ds=bo,xs=ds,Gs=Ho,ll=zo,wl[0]=ma,wl[1]=Pi,wl[2]=qi,wl[3]=ca,wl[4]=Pa,wl[5]=Za,wl[6]=La,wl[7]=eo,wl[8]=jo,wl[9]=ko,pl[0]=sa,pl[1]=Ki,pl[2]=va,pl[3]=ea,pl[4]=fa,pl[5]=xo,pl[6]=Qa,Dl[0]=Ba,Dl[1]=yi,Dl[2]=cs,Dl[3]=Mo,Dl[4]=Ca,Dl[5]=za,Dl[6]=Po,ut=1}else ut=0}ut&&(ut=function(Xt,Nr){for(Xt.M=0;Xt.M<Xt.Va;++Xt.M){var Qr,Tr=Xt.Jc[Xt.M&Xt.Xb],Er=Xt.m,Hr=Xt;for(Qr=0;Qr<Hr.za;++Qr){var $r=Er,En=Hr,oi=En.Ac,ci=En.Bc+4*Qr,ji=En.zc,Oi=En.ya[En.aa+Qr];if(En.Qa.Bb?Oi.$b=si($r,En.Pa.jb[0])?2+si($r,En.Pa.jb[2]):si($r,En.Pa.jb[1]):Oi.$b=0,En.kc&&(Oi.Ad=si($r,En.Bd)),Oi.Za=!si($r,145)+0,Oi.Za){var wa=Oi.Ob,Qi=0;for(En=0;4>En;++En){var Ua,Sa=ji[0+En];for(Ua=0;4>Ua;++Ua){Sa=lu[oi[ci+Ua]][Sa];for(var So=Gl[si($r,Sa[0])];0<So;)So=Gl[2*So+si($r,Sa[So])];Sa=-So,oi[ci+Ua]=Sa}Fe(wa,Qi,oi,ci,4),Qi+=4,ji[0+En]=Sa}}else Sa=si($r,156)?si($r,128)?1:3:si($r,163)?2:0,Oi.Ob[0]=Sa,Ve(oi,ci,Sa,4),Ve(ji,0,Sa,4);Oi.Dd=si($r,142)?si($r,114)?si($r,183)?1:3:2:0}if(Hr.m.Ka)return tt(Xt,7,"Premature end-of-partition0 encountered.");for(;Xt.ja<Xt.za;++Xt.ja){if(Hr=Tr,$r=(Er=Xt).rb[Er.sb-1],oi=Er.rb[Er.sb+Er.ja],Qr=Er.ya[Er.aa+Er.ja],ci=Er.kc?Qr.Ad:0)$r.la=oi.la=0,Qr.Za||($r.Na=oi.Na=0),Qr.Hc=0,Qr.Gc=0,Qr.ia=0;else{var Fo,I;if($r=oi,oi=Hr,ci=Er.Pa.Xc,ji=Er.ya[Er.aa+Er.ja],Oi=Er.pb[ji.$b],En=ji.ad,wa=0,Qi=Er.rb[Er.sb-1],Sa=Ua=0,Ve(En,wa,0,384),ji.Za)var D=0,X=ci[3];else{So=We(16);var J=$r.Na+Qi.Na;if(J=Bl(oi,ci[1],J,Oi.Eb,0,So,0),$r.Na=Qi.Na=(0<J)+0,1<J)Go(So,0,En,wa);else{var ne=So[0]+3>>3;for(So=0;256>So;So+=16)En[wa+So]=ne}D=1,X=ci[0]}var Pe=15&$r.la,ct=15&Qi.la;for(So=0;4>So;++So){var Ht=1&ct;for(ne=I=0;4>ne;++ne)Pe=Pe>>1|(Ht=(J=Bl(oi,X,J=Ht+(1&Pe),Oi.Sc,D,En,wa))>D)<<7,I=I<<2|(3<J?3:1<J?2:En[wa+0]!=0),wa+=16;Pe>>=4,ct=ct>>1|Ht<<7,Ua=(Ua<<8|I)>>>0}for(X=Pe,D=ct>>4,Fo=0;4>Fo;Fo+=2){for(I=0,Pe=$r.la>>4+Fo,ct=Qi.la>>4+Fo,So=0;2>So;++So){for(Ht=1&ct,ne=0;2>ne;++ne)J=Ht+(1&Pe),Pe=Pe>>1|(Ht=0<(J=Bl(oi,ci[2],J,Oi.Qc,0,En,wa)))<<3,I=I<<2|(3<J?3:1<J?2:En[wa+0]!=0),wa+=16;Pe>>=2,ct=ct>>1|Ht<<5}Sa|=I<<4*Fo,X|=Pe<<4<<Fo,D|=(240&ct)<<Fo}$r.la=X,Qi.la=D,ji.Hc=Ua,ji.Gc=Sa,ji.ia=43690&Sa?0:Oi.ia,ci=!(Ua|Sa)}if(0<Er.L&&(Er.wa[Er.Y+Er.ja]=Er.gd[Qr.$b][Qr.Za],Er.wa[Er.Y+Er.ja].La|=!ci),Hr.Ka)return tt(Xt,7,"Premature end-of-file encountered.")}if(_n(Xt),Er=Nr,Hr=1,Qr=(Tr=Xt).D,$r=0<Tr.L&&Tr.M>=Tr.zb&&Tr.M<=Tr.Va,Tr.Aa==0)e:{if(Qr.M=Tr.M,Qr.uc=$r,lo(Tr,Qr),Hr=1,Qr=(I=Tr.D).Nb,$r=(Sa=Ul[Tr.L])*Tr.R,oi=Sa/2*Tr.B,So=16*Qr*Tr.R,ne=8*Qr*Tr.B,ci=Tr.sa,ji=Tr.ta-$r+So,Oi=Tr.qa,En=Tr.ra-oi+ne,wa=Tr.Ha,Qi=Tr.Ia-oi+ne,ct=(Pe=I.M)==0,Ua=Pe>=Tr.Va-1,Tr.Aa==2&&lo(Tr,I),I.uc)for(Ht=(J=Tr).D.M,ge(J.D.uc),I=J.yb;I<J.Hb;++I){D=I,X=Ht;var ir=(cr=(na=J).D).Nb;Fo=na.R;var cr=cr.wa[cr.Y+D],yn=na.sa,Dn=na.ta+16*ir*Fo+16*D,qn=cr.dd,ni=cr.tc;if(ni!=0)if(ge(3<=ni),na.L==1)0<D&&xs(yn,Dn,Fo,ni+4),cr.La&&ll(yn,Dn,Fo,ni),0<X&&Ds(yn,Dn,Fo,ni+4),cr.La&&Gs(yn,Dn,Fo,ni);else{var Mi=na.B,Zi=na.qa,da=na.ra+8*ir*Mi+8*D,ia=na.Ha,na=na.Ia+8*ir*Mi+8*D;ir=cr.ld,0<D&&(Zs(yn,Dn,Fo,ni+4,qn,ir),hl(Zi,da,ia,na,Mi,ni+4,qn,ir)),cr.La&&(yl(yn,Dn,Fo,ni,qn,ir),ys(Zi,da,ia,na,Mi,ni,qn,ir)),0<X&&(ol(yn,Dn,Fo,ni+4,qn,ir),dl(Zi,da,ia,na,Mi,ni+4,qn,ir)),cr.La&&(sl(yn,Dn,Fo,ni,qn,ir),Ns(Zi,da,ia,na,Mi,ni,qn,ir))}}if(Tr.ia&&alert("todo:DitherRow"),Er.put!=null){if(I=16*Pe,Pe=16*(Pe+1),ct?(Er.y=Tr.sa,Er.O=Tr.ta+So,Er.f=Tr.qa,Er.N=Tr.ra+ne,Er.ea=Tr.Ha,Er.W=Tr.Ia+ne):(I-=Sa,Er.y=ci,Er.O=ji,Er.f=Oi,Er.N=En,Er.ea=wa,Er.W=Qi),Ua||(Pe-=Sa),Pe>Er.o&&(Pe=Er.o),Er.F=null,Er.J=null,Tr.Fa!=null&&0<Tr.Fa.length&&I<Pe&&(Er.J=Wt(Tr,Er,I,Pe-I),Er.F=Tr.mb,Er.F==null&&Er.F.length==0)){Hr=tt(Tr,3,"Could not decode alpha data.");break e}I<Er.j&&(Sa=Er.j-I,I=Er.j,ge(!(1&Sa)),Er.O+=Tr.R*Sa,Er.N+=Tr.B*(Sa>>1),Er.W+=Tr.B*(Sa>>1),Er.F!=null&&(Er.J+=Er.width*Sa)),I<Pe&&(Er.O+=Er.v,Er.N+=Er.v>>1,Er.W+=Er.v>>1,Er.F!=null&&(Er.J+=Er.v),Er.ka=I-Er.j,Er.U=Er.va-Er.v,Er.T=Pe-I,Hr=Er.put(Er))}Qr+1!=Tr.Ic||Ua||(Fe(Tr.sa,Tr.ta-$r,ci,ji+16*Tr.R,$r),Fe(Tr.qa,Tr.ra-oi,Oi,En+8*Tr.B,oi),Fe(Tr.Ha,Tr.Ia-oi,wa,Qi+8*Tr.B,oi))}if(!Hr)return tt(Xt,6,"Output aborted.")}return 1}(de,He)),He.bc!=null&&He.bc(He),ut&=1}return ut?(de.cb=0,ut):0}function _r(de,He,ut,tr,Cr){Cr=de[He+ut+32*tr]+(Cr>>3),de[He+ut+32*tr]=-256&Cr?0>Cr?0:255:Cr}function Mn(de,He,ut,tr,Cr,Wr){_r(de,He,0,ut,tr+Cr),_r(de,He,1,ut,tr+Wr),_r(de,He,2,ut,tr-Wr),_r(de,He,3,ut,tr-Cr)}function Br(de){return(20091*de>>16)+de}function Sn(de,He,ut,tr){var Cr,Wr=0,_e=We(16);for(Cr=0;4>Cr;++Cr){var Y=de[He+0]+de[He+8],he=de[He+0]-de[He+8],ze=(35468*de[He+4]>>16)-Br(de[He+12]),at=Br(de[He+4])+(35468*de[He+12]>>16);_e[Wr+0]=Y+at,_e[Wr+1]=he+ze,_e[Wr+2]=he-ze,_e[Wr+3]=Y-at,Wr+=4,He++}for(Cr=Wr=0;4>Cr;++Cr)Y=(de=_e[Wr+0]+4)+_e[Wr+8],he=de-_e[Wr+8],ze=(35468*_e[Wr+4]>>16)-Br(_e[Wr+12]),_r(ut,tr,0,0,Y+(at=Br(_e[Wr+4])+(35468*_e[Wr+12]>>16))),_r(ut,tr,1,0,he+ze),_r(ut,tr,2,0,he-ze),_r(ut,tr,3,0,Y-at),Wr++,tr+=32}function jn(de,He,ut,tr){var Cr=de[He+0]+4,Wr=35468*de[He+4]>>16,_e=Br(de[He+4]),Y=35468*de[He+1]>>16;Mn(ut,tr,0,Cr+_e,de=Br(de[He+1]),Y),Mn(ut,tr,1,Cr+Wr,de,Y),Mn(ut,tr,2,Cr-Wr,de,Y),Mn(ut,tr,3,Cr-_e,de,Y)}function Hn(de,He,ut,tr,Cr){Sn(de,He,ut,tr),Cr&&Sn(de,He+16,ut,tr+4)}function Bn(de,He,ut,tr){$o(de,He+0,ut,tr,1),$o(de,He+32,ut,tr+128,1)}function ri(de,He,ut,tr){var Cr;for(de=de[He+0]+4,Cr=0;4>Cr;++Cr)for(He=0;4>He;++He)_r(ut,tr,He,Cr,de)}function Yn(de,He,ut,tr){de[He+0]&&os(de,He+0,ut,tr),de[He+16]&&os(de,He+16,ut,tr+4),de[He+32]&&os(de,He+32,ut,tr+128),de[He+48]&&os(de,He+48,ut,tr+128+4)}function ii(de,He,ut,tr){var Cr,Wr=We(16);for(Cr=0;4>Cr;++Cr){var _e=de[He+0+Cr]+de[He+12+Cr],Y=de[He+4+Cr]+de[He+8+Cr],he=de[He+4+Cr]-de[He+8+Cr],ze=de[He+0+Cr]-de[He+12+Cr];Wr[0+Cr]=_e+Y,Wr[8+Cr]=_e-Y,Wr[4+Cr]=ze+he,Wr[12+Cr]=ze-he}for(Cr=0;4>Cr;++Cr)_e=(de=Wr[0+4*Cr]+3)+Wr[3+4*Cr],Y=Wr[1+4*Cr]+Wr[2+4*Cr],he=Wr[1+4*Cr]-Wr[2+4*Cr],ze=de-Wr[3+4*Cr],ut[tr+0]=_e+Y>>3,ut[tr+16]=ze+he>>3,ut[tr+32]=_e-Y>>3,ut[tr+48]=ze-he>>3,tr+=64}function ai(de,He,ut){var tr,Cr=He-32,Wr=il,_e=255-de[Cr-1];for(tr=0;tr<ut;++tr){var Y,he=Wr,ze=_e+de[He-1];for(Y=0;Y<ut;++Y)de[He+Y]=he[ze+de[Cr+Y]];He+=32}}function Pi(de,He){ai(de,He,4)}function yi(de,He){ai(de,He,8)}function Ki(de,He){ai(de,He,16)}function va(de,He){var ut;for(ut=0;16>ut;++ut)Fe(de,He+32*ut,de,He-32,16)}function ea(de,He){var ut;for(ut=16;0<ut;--ut)Ve(de,He,de[He-1],16),He+=32}function Ji(de,He,ut){var tr;for(tr=0;16>tr;++tr)Ve(He,ut+32*tr,de,16)}function sa(de,He){var ut,tr=16;for(ut=0;16>ut;++ut)tr+=de[He-1+32*ut]+de[He+ut-32];Ji(tr>>5,de,He)}function fa(de,He){var ut,tr=8;for(ut=0;16>ut;++ut)tr+=de[He-1+32*ut];Ji(tr>>4,de,He)}function xo(de,He){var ut,tr=8;for(ut=0;16>ut;++ut)tr+=de[He+ut-32];Ji(tr>>4,de,He)}function Qa(de,He){Ji(128,de,He)}function Wi(de,He,ut){return de+2*He+ut+2>>2}function qi(de,He){var ut,tr=He-32;for(tr=new Uint8Array([Wi(de[tr-1],de[tr+0],de[tr+1]),Wi(de[tr+0],de[tr+1],de[tr+2]),Wi(de[tr+1],de[tr+2],de[tr+3]),Wi(de[tr+2],de[tr+3],de[tr+4])]),ut=0;4>ut;++ut)Fe(de,He+32*ut,tr,0,tr.length)}function ca(de,He){var ut=de[He-1],tr=de[He-1+32],Cr=de[He-1+64],Wr=de[He-1+96];ki(de,He+0,16843009*Wi(de[He-1-32],ut,tr)),ki(de,He+32,16843009*Wi(ut,tr,Cr)),ki(de,He+64,16843009*Wi(tr,Cr,Wr)),ki(de,He+96,16843009*Wi(Cr,Wr,Wr))}function ma(de,He){var ut,tr=4;for(ut=0;4>ut;++ut)tr+=de[He+ut-32]+de[He-1+32*ut];for(tr>>=3,ut=0;4>ut;++ut)Ve(de,He+32*ut,tr,4)}function Pa(de,He){var ut=de[He-1+0],tr=de[He-1+32],Cr=de[He-1+64],Wr=de[He-1-32],_e=de[He+0-32],Y=de[He+1-32],he=de[He+2-32],ze=de[He+3-32];de[He+0+96]=Wi(tr,Cr,de[He-1+96]),de[He+1+96]=de[He+0+64]=Wi(ut,tr,Cr),de[He+2+96]=de[He+1+64]=de[He+0+32]=Wi(Wr,ut,tr),de[He+3+96]=de[He+2+64]=de[He+1+32]=de[He+0+0]=Wi(_e,Wr,ut),de[He+3+64]=de[He+2+32]=de[He+1+0]=Wi(Y,_e,Wr),de[He+3+32]=de[He+2+0]=Wi(he,Y,_e),de[He+3+0]=Wi(ze,he,Y)}function La(de,He){var ut=de[He+1-32],tr=de[He+2-32],Cr=de[He+3-32],Wr=de[He+4-32],_e=de[He+5-32],Y=de[He+6-32],he=de[He+7-32];de[He+0+0]=Wi(de[He+0-32],ut,tr),de[He+1+0]=de[He+0+32]=Wi(ut,tr,Cr),de[He+2+0]=de[He+1+32]=de[He+0+64]=Wi(tr,Cr,Wr),de[He+3+0]=de[He+2+32]=de[He+1+64]=de[He+0+96]=Wi(Cr,Wr,_e),de[He+3+32]=de[He+2+64]=de[He+1+96]=Wi(Wr,_e,Y),de[He+3+64]=de[He+2+96]=Wi(_e,Y,he),de[He+3+96]=Wi(Y,he,he)}function Za(de,He){var ut=de[He-1+0],tr=de[He-1+32],Cr=de[He-1+64],Wr=de[He-1-32],_e=de[He+0-32],Y=de[He+1-32],he=de[He+2-32],ze=de[He+3-32];de[He+0+0]=de[He+1+64]=Wr+_e+1>>1,de[He+1+0]=de[He+2+64]=_e+Y+1>>1,de[He+2+0]=de[He+3+64]=Y+he+1>>1,de[He+3+0]=he+ze+1>>1,de[He+0+96]=Wi(Cr,tr,ut),de[He+0+64]=Wi(tr,ut,Wr),de[He+0+32]=de[He+1+96]=Wi(ut,Wr,_e),de[He+1+32]=de[He+2+96]=Wi(Wr,_e,Y),de[He+2+32]=de[He+3+96]=Wi(_e,Y,he),de[He+3+32]=Wi(Y,he,ze)}function eo(de,He){var ut=de[He+0-32],tr=de[He+1-32],Cr=de[He+2-32],Wr=de[He+3-32],_e=de[He+4-32],Y=de[He+5-32],he=de[He+6-32],ze=de[He+7-32];de[He+0+0]=ut+tr+1>>1,de[He+1+0]=de[He+0+64]=tr+Cr+1>>1,de[He+2+0]=de[He+1+64]=Cr+Wr+1>>1,de[He+3+0]=de[He+2+64]=Wr+_e+1>>1,de[He+0+32]=Wi(ut,tr,Cr),de[He+1+32]=de[He+0+96]=Wi(tr,Cr,Wr),de[He+2+32]=de[He+1+96]=Wi(Cr,Wr,_e),de[He+3+32]=de[He+2+96]=Wi(Wr,_e,Y),de[He+3+64]=Wi(_e,Y,he),de[He+3+96]=Wi(Y,he,ze)}function ko(de,He){var ut=de[He-1+0],tr=de[He-1+32],Cr=de[He-1+64],Wr=de[He-1+96];de[He+0+0]=ut+tr+1>>1,de[He+2+0]=de[He+0+32]=tr+Cr+1>>1,de[He+2+32]=de[He+0+64]=Cr+Wr+1>>1,de[He+1+0]=Wi(ut,tr,Cr),de[He+3+0]=de[He+1+32]=Wi(tr,Cr,Wr),de[He+3+32]=de[He+1+64]=Wi(Cr,Wr,Wr),de[He+3+64]=de[He+2+64]=de[He+0+96]=de[He+1+96]=de[He+2+96]=de[He+3+96]=Wr}function jo(de,He){var ut=de[He-1+0],tr=de[He-1+32],Cr=de[He-1+64],Wr=de[He-1+96],_e=de[He-1-32],Y=de[He+0-32],he=de[He+1-32],ze=de[He+2-32];de[He+0+0]=de[He+2+32]=ut+_e+1>>1,de[He+0+32]=de[He+2+64]=tr+ut+1>>1,de[He+0+64]=de[He+2+96]=Cr+tr+1>>1,de[He+0+96]=Wr+Cr+1>>1,de[He+3+0]=Wi(Y,he,ze),de[He+2+0]=Wi(_e,Y,he),de[He+1+0]=de[He+3+32]=Wi(ut,_e,Y),de[He+1+32]=de[He+3+64]=Wi(tr,ut,_e),de[He+1+64]=de[He+3+96]=Wi(Cr,tr,ut),de[He+1+96]=Wi(Wr,Cr,tr)}function cs(de,He){var ut;for(ut=0;8>ut;++ut)Fe(de,He+32*ut,de,He-32,8)}function Mo(de,He){var ut;for(ut=0;8>ut;++ut)Ve(de,He,de[He-1],8),He+=32}function Lo(de,He,ut){var tr;for(tr=0;8>tr;++tr)Ve(He,ut+32*tr,de,8)}function Ba(de,He){var ut,tr=8;for(ut=0;8>ut;++ut)tr+=de[He+ut-32]+de[He-1+32*ut];Lo(tr>>4,de,He)}function za(de,He){var ut,tr=4;for(ut=0;8>ut;++ut)tr+=de[He+ut-32];Lo(tr>>3,de,He)}function Ca(de,He){var ut,tr=4;for(ut=0;8>ut;++ut)tr+=de[He-1+32*ut];Lo(tr>>3,de,He)}function Po(de,He){Lo(128,de,He)}function Qo(de,He,ut){var tr=de[He-ut],Cr=de[He+0],Wr=3*(Cr-tr)+Vl[1020+de[He-2*ut]-de[He+ut]],_e=Ys[112+(Wr+4>>3)];de[He-ut]=il[255+tr+Ys[112+(Wr+3>>3)]],de[He+0]=il[255+Cr-_e]}function so(de,He,ut,tr){var Cr=de[He+0],Wr=de[He+ut];return fl[255+de[He-2*ut]-de[He-ut]]>tr||fl[255+Wr-Cr]>tr}function Os(de,He,ut,tr){return 4*fl[255+de[He-ut]-de[He+0]]+fl[255+de[He-2*ut]-de[He+ut]]<=tr}function ho(de,He,ut,tr,Cr){var Wr=de[He-3*ut],_e=de[He-2*ut],Y=de[He-ut],he=de[He+0],ze=de[He+ut],at=de[He+2*ut],Rt=de[He+3*ut];return 4*fl[255+Y-he]+fl[255+_e-ze]>tr?0:fl[255+de[He-4*ut]-Wr]<=Cr&&fl[255+Wr-_e]<=Cr&&fl[255+_e-Y]<=Cr&&fl[255+Rt-at]<=Cr&&fl[255+at-ze]<=Cr&&fl[255+ze-he]<=Cr}function bo(de,He,ut,tr){var Cr=2*tr+1;for(tr=0;16>tr;++tr)Os(de,He+tr,ut,Cr)&&Qo(de,He+tr,ut)}function ds(de,He,ut,tr){var Cr=2*tr+1;for(tr=0;16>tr;++tr)Os(de,He+tr*ut,1,Cr)&&Qo(de,He+tr*ut,1)}function Ho(de,He,ut,tr){var Cr;for(Cr=3;0<Cr;--Cr)bo(de,He+=4*ut,ut,tr)}function zo(de,He,ut,tr){var Cr;for(Cr=3;0<Cr;--Cr)ds(de,He+=4,ut,tr)}function rn(de,He,ut,tr,Cr,Wr,_e,Y){for(Wr=2*Wr+1;0<Cr--;){if(ho(de,He,ut,Wr,_e))if(so(de,He,ut,Y))Qo(de,He,ut);else{var he=de,ze=He,at=ut,Rt=he[ze-2*at],Kt=he[ze-at],Xt=he[ze+0],Nr=he[ze+at],Qr=he[ze+2*at],Tr=27*(Hr=Vl[1020+3*(Xt-Kt)+Vl[1020+Rt-Nr]])+63>>7,Er=18*Hr+63>>7,Hr=9*Hr+63>>7;he[ze-3*at]=il[255+he[ze-3*at]+Hr],he[ze-2*at]=il[255+Rt+Er],he[ze-at]=il[255+Kt+Tr],he[ze+0]=il[255+Xt-Tr],he[ze+at]=il[255+Nr-Er],he[ze+2*at]=il[255+Qr-Hr]}He+=tr}}function es(de,He,ut,tr,Cr,Wr,_e,Y){for(Wr=2*Wr+1;0<Cr--;){if(ho(de,He,ut,Wr,_e))if(so(de,He,ut,Y))Qo(de,He,ut);else{var he=de,ze=He,at=ut,Rt=he[ze-at],Kt=he[ze+0],Xt=he[ze+at],Nr=Ys[112+((Qr=3*(Kt-Rt))+4>>3)],Qr=Ys[112+(Qr+3>>3)],Tr=Nr+1>>1;he[ze-2*at]=il[255+he[ze-2*at]+Tr],he[ze-at]=il[255+Rt+Qr],he[ze+0]=il[255+Kt-Nr],he[ze+at]=il[255+Xt-Tr]}He+=tr}}function Js(de,He,ut,tr,Cr,Wr){rn(de,He,ut,1,16,tr,Cr,Wr)}function Es(de,He,ut,tr,Cr,Wr){rn(de,He,1,ut,16,tr,Cr,Wr)}function gs(de,He,ut,tr,Cr,Wr){var _e;for(_e=3;0<_e;--_e)es(de,He+=4*ut,ut,1,16,tr,Cr,Wr)}function Ko(de,He,ut,tr,Cr,Wr){var _e;for(_e=3;0<_e;--_e)es(de,He+=4,1,ut,16,tr,Cr,Wr)}function hs(de,He,ut,tr,Cr,Wr,_e,Y){rn(de,He,Cr,1,8,Wr,_e,Y),rn(ut,tr,Cr,1,8,Wr,_e,Y)}function bs(de,He,ut,tr,Cr,Wr,_e,Y){rn(de,He,1,Cr,8,Wr,_e,Y),rn(ut,tr,1,Cr,8,Wr,_e,Y)}function ws(de,He,ut,tr,Cr,Wr,_e,Y){es(de,He+4*Cr,Cr,1,8,Wr,_e,Y),es(ut,tr+4*Cr,Cr,1,8,Wr,_e,Y)}function qo(de,He,ut,tr,Cr,Wr,_e,Y){es(de,He+4,1,Cr,8,Wr,_e,Y),es(ut,tr+4,1,Cr,8,Wr,_e,Y)}function us(){this.ba=new wi,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Si,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function _s(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function As(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Ao(){this.ua=0,this.Wa=new mi,this.vb=new mi,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new Gt,this.yc=new Lt}function to(){this.xb=this.a=0,this.l=new Fa,this.ca=new wi,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Sr,this.Pb=0,this.wd=new Sr,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Ao,this.ab=0,this.gc=Qe(4,As),this.Oc=0}function Jo(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Fa,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ts(de,He,ut,tr,Cr,Wr,_e){for(de=de==null?0:de[He+0],He=0;He<_e;++He)Cr[Wr+He]=de+ut[tr+He]&255,de=Cr[Wr+He]}function Ha(de,He,ut,tr,Cr,Wr,_e){var Y;if(de==null)ts(null,null,ut,tr,Cr,Wr,_e);else for(Y=0;Y<_e;++Y)Cr[Wr+Y]=de[He+Y]+ut[tr+Y]&255}function Ct(de,He,ut,tr,Cr,Wr,_e){if(de==null)ts(null,null,ut,tr,Cr,Wr,_e);else{var Y,he=de[He+0],ze=he,at=he;for(Y=0;Y<_e;++Y)ze=at+(he=de[He+Y])-ze,at=ut[tr+Y]+(-256&ze?0>ze?0:255:ze)&255,ze=he,Cr[Wr+Y]=at}}function Wt(de,He,ut,tr){var Cr=He.width,Wr=He.o;if(ge(de!=null&&He!=null),0>ut||0>=tr||ut+tr>Wr)return null;if(!de.Cc){if(de.ga==null){var _e;if(de.ga=new Jo,(_e=de.ga==null)||(_e=He.width*He.o,ge(de.Gb.length==0),de.Gb=We(_e),de.Uc=0,de.Gb==null?_e=0:(de.mb=de.Gb,de.nb=de.Uc,de.rc=null,_e=1),_e=!_e),!_e){_e=de.ga;var Y=de.Fa,he=de.P,ze=de.qc,at=de.mb,Rt=de.nb,Kt=he+1,Xt=ze-1,Nr=_e.l;if(ge(Y!=null&&at!=null&&He!=null),ro[0]=null,ro[1]=ts,ro[2]=Ha,ro[3]=Ct,_e.ca=at,_e.tb=Rt,_e.c=He.width,_e.i=He.height,ge(0<_e.c&&0<_e.i),1>=ze)He=0;else if(_e.$a=Y[he+0]>>0&3,_e.Z=Y[he+0]>>2&3,_e.Lc=Y[he+0]>>4&3,he=Y[he+0]>>6&3,0>_e.$a||1<_e.$a||4<=_e.Z||1<_e.Lc||he)He=0;else if(Nr.put=$i,Nr.ac=Ui,Nr.bc=Di,Nr.ma=_e,Nr.width=He.width,Nr.height=He.height,Nr.Da=He.Da,Nr.v=He.v,Nr.va=He.va,Nr.j=He.j,Nr.o=He.o,_e.$a)e:{ge(_e.$a==1),He=ja();t:for(;;){if(He==null){He=0;break e}if(ge(_e!=null),_e.mc=He,He.c=_e.c,He.i=_e.i,He.l=_e.l,He.l.ma=_e,He.l.width=_e.c,He.l.height=_e.i,He.a=0,wn(He.m,Y,Kt,Xt),!Ya(_e.c,_e.i,1,He,null))break t;if(He.ab==1&&He.gc[0].hc==3&&pa(He.s)?(_e.ic=1,Y=He.c*He.i,He.Ta=null,He.Ua=0,He.V=We(Y),He.Ba=0,He.V==null?(He.a=1,He=0):He=1):(_e.ic=0,He=Ia(He,_e.c)),!He)break t;He=1;break e}_e.mc=null,He=0}else He=Xt>=_e.c*_e.i;_e=!He}if(_e)return null;de.ga.Lc!=1?de.Ga=0:tr=Wr-ut}ge(de.ga!=null),ge(ut+tr<=Wr);e:{if(He=(Y=de.ga).c,Wr=Y.l.o,Y.$a==0){if(Kt=de.rc,Xt=de.Vc,Nr=de.Fa,he=de.P+1+ut*He,ze=de.mb,at=de.nb+ut*He,ge(he<=de.P+de.qc),Y.Z!=0)for(ge(ro[Y.Z]!=null),_e=0;_e<tr;++_e)ro[Y.Z](Kt,Xt,Nr,he,ze,at,He),Kt=ze,Xt=at,at+=He,he+=He;else for(_e=0;_e<tr;++_e)Fe(ze,at,Nr,he,He),Kt=ze,Xt=at,at+=He,he+=He;de.rc=Kt,de.Vc=Xt}else{if(ge(Y.mc!=null),He=ut+tr,ge((_e=Y.mc)!=null),ge(He<=_e.i),_e.C>=He)He=1;else if(Y.ic||se(),Y.ic){Y=_e.V,Kt=_e.Ba,Xt=_e.c;var Qr=_e.i,Tr=(Nr=1,he=_e.$/Xt,ze=_e.$%Xt,at=_e.m,Rt=_e.s,_e.$),Er=Xt*Qr,Hr=Xt*He,$r=Rt.wc,En=Tr<Hr?Gi(Rt,ze,he):null;ge(Tr<=Er),ge(He<=Qr),ge(pa(Rt));t:for(;;){for(;!at.h&&Tr<Hr;){if(ze&$r||(En=Gi(Rt,ze,he)),ge(En!=null),Un(at),256>(Qr=Vi(En.G[0],En.H[0],at)))Y[Kt+Tr]=Qr,++Tr,++ze>=Xt&&(ze=0,++he<=He&&!(he%16)&&Da(_e,he));else{if(!(280>Qr)){Nr=0;break t}Qr=aa(Qr-256,at);var oi,ci=Vi(En.G[4],En.H[4],at);if(Un(at),!(Tr>=(ci=Xi(Xt,ci=aa(ci,at)))&&Er-Tr>=Qr)){Nr=0;break t}for(oi=0;oi<Qr;++oi)Y[Kt+Tr+oi]=Y[Kt+Tr+oi-ci];for(Tr+=Qr,ze+=Qr;ze>=Xt;)ze-=Xt,++he<=He&&!(he%16)&&Da(_e,he);Tr<Hr&&ze&$r&&(En=Gi(Rt,ze,he))}ge(at.h==Tn(at))}Da(_e,he>He?He:he);break t}!Nr||at.h&&Tr<Er?(Nr=0,_e.a=at.h?5:3):_e.$=Tr,He=Nr}else He=Ra(_e,_e.V,_e.Ba,_e.c,_e.i,He,Va);if(!He){tr=0;break e}}ut+tr>=Wr&&(de.Cc=1),tr=1}if(!tr)return null;if(de.Cc&&((tr=de.ga)!=null&&(tr.mc=null),de.ga=null,0<de.Ga))return alert("todo:WebPDequantizeLevels"),null}return de.nb+ut*Cr}function cn(de,He,ut,tr,Cr,Wr){for(;0<Cr--;){var _e,Y=de,he=He+(ut?1:0),ze=de,at=He+(ut?0:3);for(_e=0;_e<tr;++_e){var Rt=ze[at+4*_e];Rt!=255&&(Rt*=32897,Y[he+4*_e+0]=Y[he+4*_e+0]*Rt>>23,Y[he+4*_e+1]=Y[he+4*_e+1]*Rt>>23,Y[he+4*_e+2]=Y[he+4*_e+2]*Rt>>23)}He+=Wr}}function zn(de,He,ut,tr,Cr){for(;0<tr--;){var Wr;for(Wr=0;Wr<ut;++Wr){var _e=de[He+2*Wr+0],Y=15&(ze=de[He+2*Wr+1]),he=4369*Y,ze=(240&ze|ze>>4)*he>>16;de[He+2*Wr+0]=(240&_e|_e>>4)*he>>16&240|(15&_e|_e<<4)*he>>16>>4&15,de[He+2*Wr+1]=240&ze|Y}He+=Cr}}function ht(de,He,ut,tr,Cr,Wr,_e,Y){var he,ze,at=255;for(ze=0;ze<Cr;++ze){for(he=0;he<tr;++he){var Rt=de[He+he];Wr[_e+4*he]=Rt,at&=Rt}He+=ut,_e+=Y}return at!=255}function Z(de,He,ut,tr,Cr){var Wr;for(Wr=0;Wr<Cr;++Wr)ut[tr+Wr]=de[He+Wr]>>8}function se(){El=cn,jl=zn,$s=ht,Nl=Z}function pe(de,He,ut){Nt[de]=function(tr,Cr,Wr,_e,Y,he,ze,at,Rt,Kt,Xt,Nr,Qr,Tr,Er,Hr,$r){var En,oi=$r-1>>1,ci=Y[he+0]|ze[at+0]<<16,ji=Rt[Kt+0]|Xt[Nr+0]<<16;ge(tr!=null);var Oi=3*ci+ji+131074>>2;for(He(tr[Cr+0],255&Oi,Oi>>16,Qr,Tr),Wr!=null&&(Oi=3*ji+ci+131074>>2,He(Wr[_e+0],255&Oi,Oi>>16,Er,Hr)),En=1;En<=oi;++En){var wa=Y[he+En]|ze[at+En]<<16,Qi=Rt[Kt+En]|Xt[Nr+En]<<16,Ua=ci+wa+ji+Qi+524296,Sa=Ua+2*(wa+ji)>>3;Oi=Sa+ci>>1,ci=(Ua=Ua+2*(ci+Qi)>>3)+wa>>1,He(tr[Cr+2*En-1],255&Oi,Oi>>16,Qr,Tr+(2*En-1)*ut),He(tr[Cr+2*En-0],255&ci,ci>>16,Qr,Tr+(2*En-0)*ut),Wr!=null&&(Oi=Ua+ji>>1,ci=Sa+Qi>>1,He(Wr[_e+2*En-1],255&Oi,Oi>>16,Er,Hr+(2*En-1)*ut),He(Wr[_e+2*En+0],255&ci,ci>>16,Er,Hr+(2*En+0)*ut)),ci=wa,ji=Qi}1&$r||(Oi=3*ci+ji+131074>>2,He(tr[Cr+$r-1],255&Oi,Oi>>16,Qr,Tr+($r-1)*ut),Wr!=null&&(Oi=3*ji+ci+131074>>2,He(Wr[_e+$r-1],255&Oi,Oi>>16,Er,Hr+($r-1)*ut)))}}function Ue(){Io[kl]=Bs,Io[du]=_l,Io[ru]=Ol,Io[nu]=ml,Io[Qs]=vl,Io[iu]=Il,Io[au]=Ll,Io[bu]=_l,Io[bl]=ml,Io[Fl]=vl,Io[Hl]=Il}function ft(de){return de&~Vu?0>de?0:255:de>>Ou}function zt(de,He){return ft((19077*de>>8)+(26149*He>>8)-14234)}function Dr(de,He,ut){return ft((19077*de>>8)-(6419*He>>8)-(13320*ut>>8)+8708)}function Xr(de,He){return ft((19077*de>>8)+(33050*He>>8)-17685)}function dn(de,He,ut,tr,Cr){tr[Cr+0]=zt(de,ut),tr[Cr+1]=Dr(de,He,ut),tr[Cr+2]=Xr(de,He)}function Kn(de,He,ut,tr,Cr){tr[Cr+0]=Xr(de,He),tr[Cr+1]=Dr(de,He,ut),tr[Cr+2]=zt(de,ut)}function $n(de,He,ut,tr,Cr){var Wr=Dr(de,He,ut);He=Wr<<3&224|Xr(de,He)>>3,tr[Cr+0]=248&zt(de,ut)|Wr>>5,tr[Cr+1]=He}function Qn(de,He,ut,tr,Cr){var Wr=240&Xr(de,He)|15;tr[Cr+0]=240&zt(de,ut)|Dr(de,He,ut)>>4,tr[Cr+1]=Wr}function Ei(de,He,ut,tr,Cr){tr[Cr+0]=255,dn(de,He,ut,tr,Cr+1)}function Fi(de,He,ut,tr,Cr){Kn(de,He,ut,tr,Cr),tr[Cr+3]=255}function Aa(de,He,ut,tr,Cr){dn(de,He,ut,tr,Cr),tr[Cr+3]=255}function Ja(de,He){return 0>de?0:de>He?He:de}function Oa(de,He,ut){Nt[de]=function(tr,Cr,Wr,_e,Y,he,ze,at,Rt){for(var Kt=at+(-2&Rt)*ut;at!=Kt;)He(tr[Cr+0],Wr[_e+0],Y[he+0],ze,at),He(tr[Cr+1],Wr[_e+0],Y[he+0],ze,at+ut),Cr+=2,++_e,++he,at+=2*ut;1&Rt&&He(tr[Cr+0],Wr[_e+0],Y[he+0],ze,at)}}function fo(de,He,ut){return ut==0?de==0?He==0?6:5:He==0?4:0:ut}function wo(de,He,ut,tr,Cr){switch(de>>>30){case 3:$o(He,ut,tr,Cr,0);break;case 2:To(He,ut,tr,Cr);break;case 1:os(He,ut,tr,Cr)}}function lo(de,He){var ut,tr,Cr=He.M,Wr=He.Nb,_e=de.oc,Y=de.pc+40,he=de.oc,ze=de.pc+584,at=de.oc,Rt=de.pc+600;for(ut=0;16>ut;++ut)_e[Y+32*ut-1]=129;for(ut=0;8>ut;++ut)he[ze+32*ut-1]=129,at[Rt+32*ut-1]=129;for(0<Cr?_e[Y-1-32]=he[ze-1-32]=at[Rt-1-32]=129:(Ve(_e,Y-32-1,127,21),Ve(he,ze-32-1,127,9),Ve(at,Rt-32-1,127,9)),tr=0;tr<de.za;++tr){var Kt=He.ya[He.aa+tr];if(0<tr){for(ut=-1;16>ut;++ut)Fe(_e,Y+32*ut-4,_e,Y+32*ut+12,4);for(ut=-1;8>ut;++ut)Fe(he,ze+32*ut-4,he,ze+32*ut+4,4),Fe(at,Rt+32*ut-4,at,Rt+32*ut+4,4)}var Xt=de.Gd,Nr=de.Hd+tr,Qr=Kt.ad,Tr=Kt.Hc;if(0<Cr&&(Fe(_e,Y-32,Xt[Nr].y,0,16),Fe(he,ze-32,Xt[Nr].f,0,8),Fe(at,Rt-32,Xt[Nr].ea,0,8)),Kt.Za){var Er=_e,Hr=Y-32+16;for(0<Cr&&(tr>=de.za-1?Ve(Er,Hr,Xt[Nr].y[15],4):Fe(Er,Hr,Xt[Nr+1].y,0,4)),ut=0;4>ut;ut++)Er[Hr+128+ut]=Er[Hr+256+ut]=Er[Hr+384+ut]=Er[Hr+0+ut];for(ut=0;16>ut;++ut,Tr<<=2)Er=_e,Hr=Y+_u[ut],wl[Kt.Ob[ut]](Er,Hr),wo(Tr,Qr,16*+ut,Er,Hr)}else if(Er=fo(tr,Cr,Kt.Ob[0]),pl[Er](_e,Y),Tr!=0)for(ut=0;16>ut;++ut,Tr<<=2)wo(Tr,Qr,16*+ut,_e,Y+_u[ut]);for(ut=Kt.Gc,Er=fo(tr,Cr,Kt.Dd),Dl[Er](he,ze),Dl[Er](at,Rt),Tr=Qr,Er=he,Hr=ze,255&(Kt=ut>>0)&&(170&Kt?rs(Tr,256,Er,Hr):Fs(Tr,256,Er,Hr)),Kt=at,Tr=Rt,255&(ut>>=8)&&(170&ut?rs(Qr,320,Kt,Tr):Fs(Qr,320,Kt,Tr)),Cr<de.Ub-1&&(Fe(Xt[Nr].y,0,_e,Y+480,16),Fe(Xt[Nr].f,0,he,ze+224,8),Fe(Xt[Nr].ea,0,at,Rt+224,8)),ut=8*Wr*de.B,Xt=de.sa,Nr=de.ta+16*tr+16*Wr*de.R,Qr=de.qa,Kt=de.ra+8*tr+ut,Tr=de.Ha,Er=de.Ia+8*tr+ut,ut=0;16>ut;++ut)Fe(Xt,Nr+ut*de.R,_e,Y+32*ut,16);for(ut=0;8>ut;++ut)Fe(Qr,Kt+ut*de.B,he,ze+32*ut,8),Fe(Tr,Er+ut*de.B,at,Rt+32*ut,8)}}function Yo(de,He,ut,tr,Cr,Wr,_e,Y,he){var ze=[0],at=[0],Rt=0,Kt=he!=null?he.kd:0,Xt=he!=null?he:new _s;if(de==null||12>ut)return 7;Xt.data=de,Xt.w=He,Xt.ha=ut,He=[He],ut=[ut],Xt.gb=[Xt.gb];e:{var Nr=He,Qr=ut,Tr=Xt.gb;if(ge(de!=null),ge(Qr!=null),ge(Tr!=null),Tr[0]=0,12<=Qr[0]&&!Ie(de,Nr[0],"RIFF")){if(Ie(de,Nr[0]+8,"WEBP")){Tr=3;break e}var Er=Yi(de,Nr[0]+4);if(12>Er||4294967286<Er){Tr=3;break e}if(Kt&&Er>Qr[0]-8){Tr=7;break e}Tr[0]=Er,Nr[0]+=12,Qr[0]-=12}Tr=0}if(Tr!=0)return Tr;for(Er=0<Xt.gb[0],ut=ut[0];;){e:{var Hr=de;Qr=He,Tr=ut;var $r=ze,En=at,oi=Nr=[0];if((Oi=Rt=[Rt])[0]=0,8>Tr[0])Tr=7;else{if(!Ie(Hr,Qr[0],"VP8X")){if(Yi(Hr,Qr[0]+4)!=10){Tr=3;break e}if(18>Tr[0]){Tr=7;break e}var ci=Yi(Hr,Qr[0]+8),ji=1+Ri(Hr,Qr[0]+12);if(2147483648<=ji*(Hr=1+Ri(Hr,Qr[0]+15))){Tr=3;break e}oi!=null&&(oi[0]=ci),$r!=null&&($r[0]=ji),En!=null&&(En[0]=Hr),Qr[0]+=18,Tr[0]-=18,Oi[0]=1}Tr=0}}if(Rt=Rt[0],Nr=Nr[0],Tr!=0)return Tr;if(Qr=!!(2&Nr),!Er&&Rt)return 3;if(Wr!=null&&(Wr[0]=!!(16&Nr)),_e!=null&&(_e[0]=Qr),Y!=null&&(Y[0]=0),_e=ze[0],Nr=at[0],Rt&&Qr&&he==null){Tr=0;break}if(4>ut){Tr=7;break}if(Er&&Rt||!Er&&!Rt&&!Ie(de,He[0],"ALPH")){ut=[ut],Xt.na=[Xt.na],Xt.P=[Xt.P],Xt.Sa=[Xt.Sa];e:{ci=de,Tr=He,Er=ut;var Oi=Xt.gb;$r=Xt.na,En=Xt.P,oi=Xt.Sa,ji=22,ge(ci!=null),ge(Er!=null),Hr=Tr[0];var wa=Er[0];for(ge($r!=null),ge(oi!=null),$r[0]=null,En[0]=null,oi[0]=0;;){if(Tr[0]=Hr,Er[0]=wa,8>wa){Tr=7;break e}var Qi=Yi(ci,Hr+4);if(4294967286<Qi){Tr=3;break e}var Ua=8+Qi+1&-2;if(ji+=Ua,0<Oi&&ji>Oi){Tr=3;break e}if(!Ie(ci,Hr,"VP8 ")||!Ie(ci,Hr,"VP8L")){Tr=0;break e}if(wa[0]<Ua){Tr=7;break e}Ie(ci,Hr,"ALPH")||($r[0]=ci,En[0]=Hr+8,oi[0]=Qi),Hr+=Ua,wa-=Ua}}if(ut=ut[0],Xt.na=Xt.na[0],Xt.P=Xt.P[0],Xt.Sa=Xt.Sa[0],Tr!=0)break}ut=[ut],Xt.Ja=[Xt.Ja],Xt.xa=[Xt.xa];e:if(Oi=de,Tr=He,Er=ut,$r=Xt.gb[0],En=Xt.Ja,oi=Xt.xa,ci=Tr[0],Hr=!Ie(Oi,ci,"VP8 "),ji=!Ie(Oi,ci,"VP8L"),ge(Oi!=null),ge(Er!=null),ge(En!=null),ge(oi!=null),8>Er[0])Tr=7;else{if(Hr||ji){if(Oi=Yi(Oi,ci+4),12<=$r&&Oi>$r-12){Tr=3;break e}if(Kt&&Oi>Er[0]-8){Tr=7;break e}En[0]=Oi,Tr[0]+=8,Er[0]-=8,oi[0]=ji}else oi[0]=5<=Er[0]&&Oi[ci+0]==47&&!(Oi[ci+4]>>5),En[0]=Er[0];Tr=0}if(ut=ut[0],Xt.Ja=Xt.Ja[0],Xt.xa=Xt.xa[0],He=He[0],Tr!=0)break;if(4294967286<Xt.Ja)return 3;if(Y==null||Qr||(Y[0]=Xt.xa?2:1),_e=[_e],Nr=[Nr],Xt.xa){if(5>ut){Tr=7;break}Y=_e,Kt=Nr,Qr=Wr,de==null||5>ut?de=0:5<=ut&&de[He+0]==47&&!(de[He+4]>>5)?(Er=[0],Oi=[0],$r=[0],wn(En=new Sr,de,He,ut),ua(En,Er,Oi,$r)?(Y!=null&&(Y[0]=Er[0]),Kt!=null&&(Kt[0]=Oi[0]),Qr!=null&&(Qr[0]=$r[0]),de=1):de=0):de=0}else{if(10>ut){Tr=7;break}Y=Nr,de==null||10>ut||!lr(de,He+3,ut-3)?de=0:(Kt=de[He+0]|de[He+1]<<8|de[He+2]<<16,Qr=16383&(de[He+7]<<8|de[He+6]),de=16383&(de[He+9]<<8|de[He+8]),1&Kt||3<(Kt>>1&7)||!(Kt>>4&1)||Kt>>5>=Xt.Ja||!Qr||!de?de=0:(_e&&(_e[0]=Qr),Y&&(Y[0]=de),de=1))}if(!de)return 3;if(_e=_e[0],Nr=Nr[0],Rt&&(ze[0]!=_e||at[0]!=Nr))return 3;he!=null&&(he[0]=Xt,he.offset=He-he.w,ge(4294967286>He-he.w),ge(he.offset==he.ha-ut));break}return Tr==0||Tr==7&&Rt&&he==null?(Wr!=null&&(Wr[0]|=Xt.na!=null&&0<Xt.na.length),tr!=null&&(tr[0]=_e),Cr!=null&&(Cr[0]=Nr),0):Tr}function Vo(de,He,ut){var tr=He.width,Cr=He.height,Wr=0,_e=0,Y=tr,he=Cr;if(He.Da=de!=null&&0<de.Da,He.Da&&(Y=de.cd,he=de.bd,Wr=de.v,_e=de.j,11>ut||(Wr&=-2,_e&=-2),0>Wr||0>_e||0>=Y||0>=he||Wr+Y>tr||_e+he>Cr))return 0;if(He.v=Wr,He.j=_e,He.va=Wr+Y,He.o=_e+he,He.U=Y,He.T=he,He.da=de!=null&&0<de.da,He.da){if(!Hi(Y,he,ut=[de.ib],Wr=[de.hb]))return 0;He.ib=ut[0],He.hb=Wr[0]}return He.ob=de!=null&&de.ob,He.Kb=de==null||!de.Sd,He.da&&(He.ob=He.ib<3*tr/4&&He.hb<3*Cr/4,He.Kb=0),1}function No(de){if(de==null)return 2;if(11>de.S){var He=de.f.RGBA;He.fb+=(de.height-1)*He.A,He.A=-He.A}else He=de.f.kb,de=de.height,He.O+=(de-1)*He.fa,He.fa=-He.fa,He.N+=(de-1>>1)*He.Ab,He.Ab=-He.Ab,He.W+=(de-1>>1)*He.Db,He.Db=-He.Db,He.F!=null&&(He.J+=(de-1)*He.lb,He.lb=-He.lb);return 0}function ao(de,He,ut,tr){if(tr==null||0>=de||0>=He)return 2;if(ut!=null){if(ut.Da){var Cr=ut.cd,Wr=ut.bd,_e=-2&ut.v,Y=-2&ut.j;if(0>_e||0>Y||0>=Cr||0>=Wr||_e+Cr>de||Y+Wr>He)return 2;de=Cr,He=Wr}if(ut.da){if(!Hi(de,He,Cr=[ut.ib],Wr=[ut.hb]))return 2;de=Cr[0],He=Wr[0]}}tr.width=de,tr.height=He;e:{var he=tr.width,ze=tr.height;if(de=tr.S,0>=he||0>=ze||!(de>=kl&&13>de))de=2;else{if(0>=tr.Rd&&tr.sd==null){_e=Wr=Cr=He=0;var at=(Y=he*Su[de])*ze;if(11>de||(Wr=(ze+1)/2*(He=(he+1)/2),de==12&&(_e=(Cr=he)*ze)),(ze=We(at+2*Wr+_e))==null){de=1;break e}tr.sd=ze,11>de?((he=tr.f.RGBA).eb=ze,he.fb=0,he.A=Y,he.size=at):((he=tr.f.kb).y=ze,he.O=0,he.fa=Y,he.Fd=at,he.f=ze,he.N=0+at,he.Ab=He,he.Cd=Wr,he.ea=ze,he.W=0+at+Wr,he.Db=He,he.Ed=Wr,de==12&&(he.F=ze,he.J=0+at+2*Wr),he.Tc=_e,he.lb=Cr)}if(He=1,Cr=tr.S,Wr=tr.width,_e=tr.height,Cr>=kl&&13>Cr)if(11>Cr)de=tr.f.RGBA,He&=(Y=Math.abs(de.A))*(_e-1)+Wr<=de.size,He&=Y>=Wr*Su[Cr],He&=de.eb!=null;else{de=tr.f.kb,Y=(Wr+1)/2,at=(_e+1)/2,he=Math.abs(de.fa),ze=Math.abs(de.Ab);var Rt=Math.abs(de.Db),Kt=Math.abs(de.lb),Xt=Kt*(_e-1)+Wr;He&=he*(_e-1)+Wr<=de.Fd,He&=ze*(at-1)+Y<=de.Cd,He=(He&=Rt*(at-1)+Y<=de.Ed)&he>=Wr&ze>=Y&Rt>=Y,He&=de.y!=null,He&=de.f!=null,He&=de.ea!=null,Cr==12&&(He&=Kt>=Wr,He&=Xt<=de.Tc,He&=de.F!=null)}else He=0;de=He?0:2}}return de!=0||ut!=null&&ut.fd&&(de=No(tr)),de}var Ka=64,is=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Is=24,Xo=32,la=8,Vs=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Ar("Predictor0","PredictorAdd0"),Nt.Predictor0=function(){return 4278190080},Nt.Predictor1=function(de){return de},Nt.Predictor2=function(de,He,ut){return He[ut+0]},Nt.Predictor3=function(de,He,ut){return He[ut+1]},Nt.Predictor4=function(de,He,ut){return He[ut-1]},Nt.Predictor5=function(de,He,ut){return on(on(de,He[ut+1]),He[ut+0])},Nt.Predictor6=function(de,He,ut){return on(de,He[ut-1])},Nt.Predictor7=function(de,He,ut){return on(de,He[ut+0])},Nt.Predictor8=function(de,He,ut){return on(He[ut-1],He[ut+0])},Nt.Predictor9=function(de,He,ut){return on(He[ut+0],He[ut+1])},Nt.Predictor10=function(de,He,ut){return on(on(de,He[ut-1]),on(He[ut+0],He[ut+1]))},Nt.Predictor11=function(de,He,ut){var tr=He[ut+0];return 0>=Or(tr>>24&255,de>>24&255,(He=He[ut-1])>>24&255)+Or(tr>>16&255,de>>16&255,He>>16&255)+Or(tr>>8&255,de>>8&255,He>>8&255)+Or(255&tr,255&de,255&He)?tr:de},Nt.Predictor12=function(de,He,ut){var tr=He[ut+0];return(Qt((de>>24&255)+(tr>>24&255)-((He=He[ut-1])>>24&255))<<24|Qt((de>>16&255)+(tr>>16&255)-(He>>16&255))<<16|Qt((de>>8&255)+(tr>>8&255)-(He>>8&255))<<8|Qt((255&de)+(255&tr)-(255&He)))>>>0},Nt.Predictor13=function(de,He,ut){var tr=He[ut-1];return(gr((de=on(de,He[ut+0]))>>24&255,tr>>24&255)<<24|gr(de>>16&255,tr>>16&255)<<16|gr(de>>8&255,tr>>8&255)<<8|gr(de>>0&255,tr>>0&255))>>>0};var Hs=Nt.PredictorAdd0;Nt.PredictorAdd1=Kr,Ar("Predictor2","PredictorAdd2"),Ar("Predictor3","PredictorAdd3"),Ar("Predictor4","PredictorAdd4"),Ar("Predictor5","PredictorAdd5"),Ar("Predictor6","PredictorAdd6"),Ar("Predictor7","PredictorAdd7"),Ar("Predictor8","PredictorAdd8"),Ar("Predictor9","PredictorAdd9"),Ar("Predictor10","PredictorAdd10"),Ar("Predictor11","PredictorAdd11"),Ar("Predictor12","PredictorAdd12"),Ar("Predictor13","PredictorAdd13");var fs=Nt.PredictorAdd2;pr("ColorIndexInverseTransform","MapARGB","32b",function(de){return de>>8&255},function(de){return de}),pr("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(de){return de},function(de){return de>>8&255});var as,Ss=Nt.ColorIndexInverseTransform,xl=Nt.MapARGB,Al=Nt.VP8LColorIndexInverseTransformAlpha,zs=Nt.MapAlpha,Zo=Nt.VP8LPredictorsAdd=[];Zo.length=16,(Nt.VP8LPredictors=[]).length=16,(Nt.VP8LPredictorsAdd_C=[]).length=16,(Nt.VP8LPredictors_C=[]).length=16;var vs,nl,ks,po,Wa,Eo,Go,$o,To,rs,os,Fs,ol,Zs,dl,hl,sl,yl,Ns,ys,Ds,xs,Gs,ll,El,jl,$s,Nl,Pl=We(511),yu=We(2041),cu=We(225),eu=We(767),tu=0,Vl=yu,Ys=cu,il=eu,fl=Pl,kl=0,du=1,ru=2,nu=3,Qs=4,iu=5,au=6,bu=7,bl=8,Fl=9,Hl=10,Xl=[2,3,7],Cl=[3,3,11],Cu=[280,256,256,256,40],Tu=[0,1,1,1,0],Tl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],ou=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],hu=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],su=8,Rs=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],el=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Bl=null,wu=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],fu=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Gl=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Kl=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lu=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],pu=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],mu=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],pl=[],wl=[],Dl=[],Bo=1,Na=2,ro=[],Io=[];pe("UpsampleRgbLinePair",dn,3),pe("UpsampleBgrLinePair",Kn,3),pe("UpsampleRgbaLinePair",Aa,4),pe("UpsampleBgraLinePair",Fi,4),pe("UpsampleArgbLinePair",Ei,4),pe("UpsampleRgba4444LinePair",Qn,2),pe("UpsampleRgb565LinePair",$n,2);var Bs=Nt.UpsampleRgbLinePair,Ol=Nt.UpsampleBgrLinePair,_l=Nt.UpsampleRgbaLinePair,ml=Nt.UpsampleBgraLinePair,vl=Nt.UpsampleArgbLinePair,Il=Nt.UpsampleRgba4444LinePair,Ll=Nt.UpsampleRgb565LinePair,Ks=16,Yl=1<<Ks-1,gu=-227,uu=482,Ou=6,Vu=(256<<Ou)-1,Fu=0,ec=We(256),Bu=We(256),Xu=We(256),Gu=We(256),Yu=We(uu-gu),Uu=We(uu-gu);Oa("YuvToRgbRow",dn,3),Oa("YuvToBgrRow",Kn,3),Oa("YuvToRgbaRow",Aa,4),Oa("YuvToBgraRow",Fi,4),Oa("YuvToArgbRow",Ei,4),Oa("YuvToRgba4444Row",Qn,2),Oa("YuvToRgb565Row",$n,2);var _u=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ul=[0,2,8],Iu=[8,7,6,4,4,2,2,2,1,1,1,1],Wl=1;this.WebPDecodeRGBA=function(de,He,ut,tr,Cr){var Wr=du,_e=new us,Y=new wi;_e.ba=Y,Y.S=Wr,Y.width=[Y.width],Y.height=[Y.height];var he=Y.width,ze=Y.height,at=new Ni;if(at==null||de==null)var Rt=2;else ge(at!=null),Rt=Yo(de,He,ut,at.width,at.height,at.Pd,at.Qd,at.format,null);if(Rt!=0?he=0:(he!=null&&(he[0]=at.width[0]),ze!=null&&(ze[0]=at.height[0]),he=1),he){Y.width=Y.width[0],Y.height=Y.height[0],tr!=null&&(tr[0]=Y.width),Cr!=null&&(Cr[0]=Y.height);e:{if(tr=new Fa,(Cr=new _s).data=de,Cr.w=He,Cr.ha=ut,Cr.kd=1,He=[0],ge(Cr!=null),((de=Yo(Cr.data,Cr.w,Cr.ha,null,null,null,He,null,Cr))==0||de==7)&&He[0]&&(de=4),(He=de)==0){if(ge(_e!=null),tr.data=Cr.data,tr.w=Cr.w+Cr.offset,tr.ha=Cr.ha-Cr.offset,tr.put=$i,tr.ac=Ui,tr.bc=Di,tr.ma=_e,Cr.xa){if((de=ja())==null){_e=1;break e}if(function(Kt,Xt){var Nr=[0],Qr=[0],Tr=[0];t:for(;;){if(Kt==null)return 0;if(Xt==null)return Kt.a=2,0;if(Kt.l=Xt,Kt.a=0,wn(Kt.m,Xt.data,Xt.w,Xt.ha),!ua(Kt.m,Nr,Qr,Tr)){Kt.a=3;break t}if(Kt.xb=Na,Xt.width=Nr[0],Xt.height=Qr[0],!Ya(Nr[0],Qr[0],1,Kt,null))break t;return 1}return ge(Kt.a!=0),0}(de,tr)){if(tr=(He=ao(tr.width,tr.height,_e.Oa,_e.ba))==0){t:{tr=de;r:for(;;){if(tr==null){tr=0;break t}if(ge(tr.s.yc!=null),ge(tr.s.Ya!=null),ge(0<tr.s.Wb),ge((ut=tr.l)!=null),ge((Cr=ut.ma)!=null),tr.xb!=0){if(tr.ca=Cr.ba,tr.tb=Cr.tb,ge(tr.ca!=null),!Vo(Cr.Oa,ut,nu)){tr.a=2;break r}if(!Ia(tr,ut.width))break r;if(ut.da)break r;if((ut.da||ui(tr.ca.S))&&se(),11>tr.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),tr.ca.f.kb.F!=null&&se()),tr.Pb&&0<tr.s.ua&&tr.s.vb.X==null&&!Zn(tr.s.vb,tr.s.Wa.Xa)){tr.a=1;break r}tr.xb=0}if(!Ra(tr,tr.V,tr.Ba,tr.c,tr.i,ut.o,ra))break r;Cr.Dc=tr.Ma,tr=1;break t}ge(tr.a!=0),tr=0}tr=!tr}tr&&(He=de.a)}else He=de.a}else{if((de=new ha)==null){_e=1;break e}if(de.Fa=Cr.na,de.P=Cr.P,de.qc=Cr.Sa,Mr(de,tr)){if((He=ao(tr.width,tr.height,_e.Oa,_e.ba))==0){if(de.Aa=0,ut=_e.Oa,ge((Cr=de)!=null),ut!=null){if(0<(he=0>(he=ut.Md)?0:100<he?255:255*he/100)){for(ze=at=0;4>ze;++ze)12>(Rt=Cr.pb[ze]).lc&&(Rt.ia=he*Iu[0>Rt.lc?0:Rt.lc]>>3),at|=Rt.ia;at&&(alert("todo:VP8InitRandom"),Cr.ia=1)}Cr.Ga=ut.Id,100<Cr.Ga?Cr.Ga=100:0>Cr.Ga&&(Cr.Ga=0)}Vr(de,tr)||(He=de.a)}}else He=de.a}He==0&&_e.Oa!=null&&_e.Oa.fd&&(He=No(_e.ba))}_e=He}Wr=_e!=0?null:11>Wr?Y.f.RGBA.eb:Y.f.kb.y}else Wr=null;return Wr};var Su=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Zt(Cn,Nt){for(var dt="",bt=0;bt<4;bt++)dt+=String.fromCharCode(Cn[Nt++]);return dt}function Rr(Cn,Nt){return(Cn[Nt+0]<<0|Cn[Nt+1]<<8|Cn[Nt+2]<<16)>>>0}function Lr(Cn,Nt){return(Cn[Nt+0]<<0|Cn[Nt+1]<<8|Cn[Nt+2]<<16|Cn[Nt+3]<<24)>>>0}new ot;var Gr=[0],er=[0],On=[],yr=new ot,gn=Ye,tn=function(Cn,Nt){var dt={},bt=0,Tt=!1,Lt=0,pt=0;if(dt.frames=[],!function(Sr,ln,Tn,In){for(var Un=0;Un<In;Un++)if(Sr[ln+Un]!=Tn.charCodeAt(Un))return!0;return!1}(Cn,Nt,"RIFF",4)){var Gt,qt;for(Lr(Cn,Nt+=4),Nt+=8;Nt<Cn.length;){var rr=Zt(Cn,Nt),mr=Lr(Cn,Nt+=4);Nt+=4;var wn=mr+(1&mr);switch(rr){case"VP8 ":case"VP8L":dt.frames[bt]===void 0&&(dt.frames[bt]={}),(Yr=dt.frames[bt]).src_off=Tt?pt:Nt-8,Yr.src_size=Lt+mr+8,bt++,Tt&&(Tt=!1,Lt=0,pt=0);break;case"VP8X":(Yr=dt.header={}).feature_flags=Cn[Nt];var fn=Nt+4;Yr.canvas_width=1+Rr(Cn,fn),fn+=3,Yr.canvas_height=1+Rr(Cn,fn),fn+=3;break;case"ALPH":Tt=!0,Lt=wn+8,pt=Nt-8;break;case"ANIM":(Yr=dt.header).bgcolor=Lr(Cn,Nt),fn=Nt+4,Yr.loop_count=(Gt=Cn)[(qt=fn)+0]<<0|Gt[qt+1]<<8,fn+=2;break;case"ANMF":var Wn,Yr;(Yr=dt.frames[bt]={}).offset_x=2*Rr(Cn,Nt),Nt+=3,Yr.offset_y=2*Rr(Cn,Nt),Nt+=3,Yr.width=1+Rr(Cn,Nt),Nt+=3,Yr.height=1+Rr(Cn,Nt),Nt+=3,Yr.duration=Rr(Cn,Nt),Nt+=3,Wn=Cn[Nt++],Yr.dispose=1&Wn,Yr.blend=Wn>>1&1}rr!="ANMF"&&(Nt+=wn)}return dt}}(gn,0);tn.response=gn,tn.rgbaoutput=!0,tn.dataurl=!1;var Fr=tn.header?tn.header:null,Xn=tn.frames?tn.frames:null;if(Fr){Fr.loop_counter=Fr.loop_count,Gr=[Fr.canvas_height],er=[Fr.canvas_width];for(var hi=0;hi<Xn.length&&Xn[hi].blend!=0;hi++);}var _i=Xn[0],Ur=yr.WebPDecodeRGBA(gn,_i.src_off,_i.src_size,er,Gr);_i.rgba=Ur,_i.imgwidth=er[0],_i.imgheight=Gr[0];for(var sn=0;sn<er[0]*Gr[0]*4;sn++)On[sn]=Ur[sn];return this.width=er,this.height=Gr,this.data=On,this}!function(Ye){var ge=function(){return typeof m.b=="function"},Ie=function(er,On,yr,gn){var tn=4,Fr=Qe;switch(gn){case Ye.image_compression.FAST:tn=1,Fr=We;break;case Ye.image_compression.MEDIUM:tn=6,Fr=yt;break;case Ye.image_compression.SLOW:tn=9,Fr=ot}er=Fe(er,On,yr,Fr);var Xn=Object(m.b)(er,{level:tn});return Ye.__addimage__.arrayBufferToBinaryString(Xn)},Fe=function(er,On,yr,gn){for(var tn,Fr,Xn,hi=er.length/On,_i=new Uint8Array(er.length+hi),Ur=Rr(),sn=0;sn<hi;sn+=1){if(Xn=sn*On,tn=er.subarray(Xn,Xn+On),gn)_i.set(gn(tn,yr,Fr),Xn+sn);else{for(var Cn,Nt=Ur.length,dt=[];Cn<Nt;Cn+=1)dt[Cn]=Ur[Cn](tn,yr,Fr);var bt=Lr(dt.concat());_i.set(dt[bt],Xn+sn)}Fr=tn}return _i},Ve=function(er){var On=Array.apply([],er);return On.unshift(0),On},We=function(er,On){var yr,gn=[],tn=er.length;gn[0]=1;for(var Fr=0;Fr<tn;Fr+=1)yr=er[Fr-On]||0,gn[Fr+1]=er[Fr]-yr+256&255;return gn},Qe=function(er,On,yr){var gn,tn=[],Fr=er.length;tn[0]=2;for(var Xn=0;Xn<Fr;Xn+=1)gn=yr&&yr[Xn]||0,tn[Xn+1]=er[Xn]-gn+256&255;return tn},yt=function(er,On,yr){var gn,tn,Fr=[],Xn=er.length;Fr[0]=3;for(var hi=0;hi<Xn;hi+=1)gn=er[hi-On]||0,tn=yr&&yr[hi]||0,Fr[hi+1]=er[hi]+256-(gn+tn>>>1)&255;return Fr},ot=function(er,On,yr){var gn,tn,Fr,Xn,hi=[],_i=er.length;hi[0]=4;for(var Ur=0;Ur<_i;Ur+=1)gn=er[Ur-On]||0,tn=yr&&yr[Ur]||0,Fr=yr&&yr[Ur-On]||0,Xn=Zt(gn,tn,Fr),hi[Ur+1]=er[Ur]-Xn+256&255;return hi},Zt=function(er,On,yr){if(er===On&&On===yr)return er;var gn=Math.abs(On-yr),tn=Math.abs(er-yr),Fr=Math.abs(er+On-yr-yr);return gn<=tn&&gn<=Fr?er:tn<=Fr?On:yr},Rr=function(){return[Ve,We,Qe,yt,ot]},Lr=function(er){var On=er.map(function(yr){return yr.reduce(function(gn,tn){return gn+Math.abs(tn)},0)});return On.indexOf(Math.min.apply(null,On))};Ye.processPNG=function(Gr,er,On,yr){var gn,tn,Fr,Xn,hi,_i,Ur,sn,Cn,Nt,dt,bt,Tt,Lt,pt,Gt=this.decode.FLATE_DECODE,qt="";if(this.__addimage__.isArrayBuffer(Gr)&&(Gr=new Uint8Array(Gr)),this.__addimage__.isArrayBufferView(Gr)){if(Gr=(Fr=new Ge(Gr)).imgData,tn=Fr.bits,gn=Fr.colorSpace,hi=Fr.colors,[4,6].indexOf(Fr.colorType)!==-1){if(Fr.bits===8){Cn=(sn=Fr.pixelBitlength==32?new Uint32Array(Fr.decodePixels().buffer):Fr.pixelBitlength==16?new Uint16Array(Fr.decodePixels().buffer):new Uint8Array(Fr.decodePixels().buffer)).length,dt=new Uint8Array(Cn*Fr.colors),Nt=new Uint8Array(Cn);var rr,mr=Fr.pixelBitlength-Fr.bits;for(Lt=0,pt=0;Lt<Cn;Lt++){for(Tt=sn[Lt],rr=0;rr<mr;)dt[pt++]=Tt>>>rr&255,rr+=Fr.bits;Nt[Lt]=Tt>>>rr&255}}if(Fr.bits===16){Cn=(sn=new Uint32Array(Fr.decodePixels().buffer)).length,dt=new Uint8Array(Cn*(32/Fr.pixelBitlength)*Fr.colors),Nt=new Uint8Array(Cn*(32/Fr.pixelBitlength)),bt=Fr.colors>1,Lt=0,pt=0;for(var wn=0;Lt<Cn;)Tt=sn[Lt++],dt[pt++]=Tt>>>0&255,bt&&(dt[pt++]=Tt>>>16&255,Tt=sn[Lt++],dt[pt++]=Tt>>>0&255),Nt[wn++]=Tt>>>16&255;tn=8}yr!==Ye.image_compression.NONE&&ge()?(Gr=Ie(dt,Fr.width*Fr.colors,Fr.colors,yr),Ur=Ie(Nt,Fr.width,1,yr)):(Gr=dt,Ur=Nt,Gt=void 0)}if(Fr.colorType===3&&(gn=this.color_spaces.INDEXED,_i=Fr.palette,Fr.transparency.indexed)){var fn=Fr.transparency.indexed,Wn=0;for(Lt=0,Cn=fn.length;Lt<Cn;++Lt)Wn+=fn[Lt];if((Wn/=255)===Cn-1&&fn.indexOf(0)!==-1)Xn=[fn.indexOf(0)];else if(Wn!==Cn){for(sn=Fr.decodePixels(),Nt=new Uint8Array(sn.length),Lt=0,Cn=sn.length;Lt<Cn;Lt++)Nt[Lt]=fn[sn[Lt]];Ur=Ie(Nt,Fr.width,1)}}var Yr=function(Sr){var ln;switch(Sr){case Ye.image_compression.FAST:ln=11;break;case Ye.image_compression.MEDIUM:ln=13;break;case Ye.image_compression.SLOW:ln=14;break;default:ln=12}return ln}(yr);return Gt===this.decode.FLATE_DECODE&&(qt="/Predictor "+Yr+" "),qt+="/Colors "+hi+" /BitsPerComponent "+tn+" /Columns "+Fr.width,(this.__addimage__.isArrayBuffer(Gr)||this.__addimage__.isArrayBufferView(Gr))&&(Gr=this.__addimage__.arrayBufferToBinaryString(Gr)),(Ur&&this.__addimage__.isArrayBuffer(Ur)||this.__addimage__.isArrayBufferView(Ur))&&(Ur=this.__addimage__.arrayBufferToBinaryString(Ur)),{alias:On,data:Gr,index:er,filter:Gt,decodeParameters:qt,transparency:Xn,palette:_i,sMask:Ur,predictor:Yr,width:Fr.width,height:Fr.height,bitsPerComponent:tn,colorSpace:gn}}}}(H.API),function(Ye){Ye.processGIF89A=function(ge,Ie,Fe,Ve){var We=new nt(ge),Qe=We.width,yt=We.height,ot=[];We.decodeAndBlitFrameRGBA(0,ot);var Zt={data:ot,width:Qe,height:yt},Rr=new Mt(100).encode(Zt,100);return Ye.processJPEG.call(this,Rr,Ie,Fe,Ve)},Ye.processGIF87A=Ye.processGIF89A}(H.API),wr.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 Ye=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(Ye);for(var ge=0;ge<Ye;ge++){var Ie=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0);this.palette[ge]={red:Ve,green:Fe,blue:Ie,quad:We}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},wr.prototype.parseBGR=function(){this.pos=this.offset;try{var Ye="bit"+this.bitPP,ge=this.width*this.height*4;this.data=new Uint8Array(ge),this[Ye]()}catch(Ie){d.log("bit decode error:"+Ie)}},wr.prototype.bit1=function(){var Ye,ge=Math.ceil(this.width/8),Ie=ge%4;for(Ye=this.height-1;Ye>=0;Ye--){for(var Fe=this.bottom_up?Ye:this.height-1-Ye,Ve=0;Ve<ge;Ve++)for(var We=this.datav.getUint8(this.pos++,!0),Qe=Fe*this.width*4+8*Ve*4,yt=0;yt<8&&8*Ve+yt<this.width;yt++){var ot=this.palette[We>>7-yt&1];this.data[Qe+4*yt]=ot.blue,this.data[Qe+4*yt+1]=ot.green,this.data[Qe+4*yt+2]=ot.red,this.data[Qe+4*yt+3]=255}Ie!==0&&(this.pos+=4-Ie)}},wr.prototype.bit4=function(){for(var Ye=Math.ceil(this.width/2),ge=Ye%4,Ie=this.height-1;Ie>=0;Ie--){for(var Fe=this.bottom_up?Ie:this.height-1-Ie,Ve=0;Ve<Ye;Ve++){var We=this.datav.getUint8(this.pos++,!0),Qe=Fe*this.width*4+2*Ve*4,yt=We>>4,ot=15&We,Zt=this.palette[yt];if(this.data[Qe]=Zt.blue,this.data[Qe+1]=Zt.green,this.data[Qe+2]=Zt.red,this.data[Qe+3]=255,2*Ve+1>=this.width)break;Zt=this.palette[ot],this.data[Qe+4]=Zt.blue,this.data[Qe+4+1]=Zt.green,this.data[Qe+4+2]=Zt.red,this.data[Qe+4+3]=255}ge!==0&&(this.pos+=4-ge)}},wr.prototype.bit8=function(){for(var Ye=this.width%4,ge=this.height-1;ge>=0;ge--){for(var Ie=this.bottom_up?ge:this.height-1-ge,Fe=0;Fe<this.width;Fe++){var Ve=this.datav.getUint8(this.pos++,!0),We=Ie*this.width*4+4*Fe;if(Ve<this.palette.length){var Qe=this.palette[Ve];this.data[We]=Qe.red,this.data[We+1]=Qe.green,this.data[We+2]=Qe.blue,this.data[We+3]=255}else this.data[We]=255,this.data[We+1]=255,this.data[We+2]=255,this.data[We+3]=255}Ye!==0&&(this.pos+=4-Ye)}},wr.prototype.bit15=function(){for(var Ye=this.width%3,ge=parseInt("11111",2),Ie=this.height-1;Ie>=0;Ie--){for(var Fe=this.bottom_up?Ie:this.height-1-Ie,Ve=0;Ve<this.width;Ve++){var We=this.datav.getUint16(this.pos,!0);this.pos+=2;var Qe=(We&ge)/ge*255|0,yt=(We>>5&ge)/ge*255|0,ot=(We>>10&ge)/ge*255|0,Zt=We>>15?255:0,Rr=Fe*this.width*4+4*Ve;this.data[Rr]=ot,this.data[Rr+1]=yt,this.data[Rr+2]=Qe,this.data[Rr+3]=Zt}this.pos+=Ye}},wr.prototype.bit16=function(){for(var Ye=this.width%3,ge=parseInt("11111",2),Ie=parseInt("111111",2),Fe=this.height-1;Fe>=0;Fe--){for(var Ve=this.bottom_up?Fe:this.height-1-Fe,We=0;We<this.width;We++){var Qe=this.datav.getUint16(this.pos,!0);this.pos+=2;var yt=(Qe&ge)/ge*255|0,ot=(Qe>>5&Ie)/Ie*255|0,Zt=(Qe>>11)/ge*255|0,Rr=Ve*this.width*4+4*We;this.data[Rr]=Zt,this.data[Rr+1]=ot,this.data[Rr+2]=yt,this.data[Rr+3]=255}this.pos+=Ye}},wr.prototype.bit24=function(){for(var Ye=this.height-1;Ye>=0;Ye--){for(var ge=this.bottom_up?Ye:this.height-1-Ye,Ie=0;Ie<this.width;Ie++){var Fe=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0),Qe=ge*this.width*4+4*Ie;this.data[Qe]=We,this.data[Qe+1]=Ve,this.data[Qe+2]=Fe,this.data[Qe+3]=255}this.pos+=this.width%4}},wr.prototype.bit32=function(){for(var Ye=this.height-1;Ye>=0;Ye--)for(var ge=this.bottom_up?Ye:this.height-1-Ye,Ie=0;Ie<this.width;Ie++){var Fe=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0),Qe=this.datav.getUint8(this.pos++,!0),yt=ge*this.width*4+4*Ie;this.data[yt]=We,this.data[yt+1]=Ve,this.data[yt+2]=Fe,this.data[yt+3]=Qe}},wr.prototype.getData=function(){return this.data},function(Ye){Ye.processBMP=function(ge,Ie,Fe,Ve){var We=new wr(ge,!1),Qe=We.width,yt=We.height,ot={data:We.getData(),width:Qe,height:yt},Zt=new Mt(100).encode(ot,100);return Ye.processJPEG.call(this,Zt,Ie,Fe,Ve)}}(H.API),Pr.prototype.getData=function(){return this.data},function(Ye){Ye.processWEBP=function(ge,Ie,Fe,Ve){var We=new Pr(ge,!1),Qe=We.width,yt=We.height,ot={data:We.getData(),width:Qe,height:yt},Zt=new Mt(100).encode(ot,100);return Ye.processJPEG.call(this,Zt,Ie,Fe,Ve)}}(H.API),H.API.processRGBA=function(Ye,ge,Ie){for(var Fe=Ye.data,Ve=Fe.length,We=new Uint8Array(Ve/4*3),Qe=new Uint8Array(Ve/4),yt=0,ot=0,Zt=0;Zt<Ve;Zt+=4){var Rr=Fe[Zt],Lr=Fe[Zt+1],Gr=Fe[Zt+2],er=Fe[Zt+3];We[yt++]=Rr,We[yt++]=Lr,We[yt++]=Gr,Qe[ot++]=er}var On=this.__addimage__.arrayBufferToBinaryString(We);return{alpha:this.__addimage__.arrayBufferToBinaryString(Qe),data:On,index:ge,alias:Ie,colorSpace:"DeviceRGB",bitsPerComponent:8,width:Ye.width,height:Ye.height}},H.API.setLanguage=function(Ye){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[Ye]!==void 0&&(this.internal.languageSettings.languageCode=Ye,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},jt=H.API,At=jt.getCharWidthsArray=function(Ye,ge){var Ie,Fe,Ve=(ge=ge||{}).font||this.internal.getFont(),We=ge.fontSize||this.internal.getFontSize(),Qe=ge.charSpace||this.internal.getCharSpace(),yt=ge.widths?ge.widths:Ve.metadata.Unicode.widths,ot=yt.fof?yt.fof:1,Zt=ge.kerning?ge.kerning:Ve.metadata.Unicode.kerning,Rr=Zt.fof?Zt.fof:1,Lr=ge.doKerning!==!1,Gr=0,er=Ye.length,On=0,yr=yt[0]||ot,gn=[];for(Ie=0;Ie<er;Ie++)Fe=Ye.charCodeAt(Ie),typeof Ve.metadata.widthOfString=="function"?gn.push((Ve.metadata.widthOfGlyph(Ve.metadata.characterToGlyph(Fe))+Qe*(1e3/We)||0)/1e3):(Gr=Lr&&S()(Zt[Fe])==="object"&&!isNaN(parseInt(Zt[Fe][On],10))?Zt[Fe][On]/Rr:0,gn.push((yt[Fe]||yr)/ot+Gr)),On=Fe;return gn},xe=jt.getStringUnitWidth=function(Ye,ge){var Ie=(ge=ge||{}).fontSize||this.internal.getFontSize(),Fe=ge.font||this.internal.getFont(),Ve=ge.charSpace||this.internal.getCharSpace();return jt.processArabic&&(Ye=jt.processArabic(Ye)),typeof Fe.metadata.widthOfString=="function"?Fe.metadata.widthOfString(Ye,Ie,Ve)/Ie:At.apply(this,arguments).reduce(function(We,Qe){return We+Qe},0)},we=function(ge,Ie,Fe,Ve){for(var We=[],Qe=0,yt=ge.length,ot=0;Qe!==yt&&ot+Ie[Qe]<Fe;)ot+=Ie[Qe],Qe++;We.push(ge.slice(0,Qe));var Zt=Qe;for(ot=0;Qe!==yt;)ot+Ie[Qe]>Ve&&(We.push(ge.slice(Zt,Qe)),ot=0,Zt=Qe),ot+=Ie[Qe],Qe++;return Zt!==Qe&&We.push(ge.slice(Zt,Qe)),We},Ee=function(ge,Ie,Fe){Fe||(Fe={});var Ve,We,Qe,yt,ot,Zt,Rr,Lr=[],Gr=[Lr],er=Fe.textIndent||0,On=0,yr=0,gn=ge.split(" "),tn=At.apply(this,[" ",Fe])[0];if(Zt=Fe.lineIndent===-1?gn[0].length+2:Fe.lineIndent||0){var Fr=Array(Zt).join(" "),Xn=[];gn.map(function(_i){(_i=_i.split(/\s*\n/)).length>1?Xn=Xn.concat(_i.map(function(Ur,sn){return(sn&&Ur.length?`
`:"")+Ur})):Xn.push(_i[0])}),gn=Xn,Zt=xe.apply(this,[Fr,Fe])}for(Qe=0,yt=gn.length;Qe<yt;Qe++){var hi=0;if(Ve=gn[Qe],Zt&&Ve[0]==`
`&&(Ve=Ve.substr(1),hi=1),er+On+(yr=(We=At.apply(this,[Ve,Fe])).reduce(function(_i,Ur){return _i+Ur},0))>Ie||hi){if(yr>Ie){for(ot=we.apply(this,[Ve,We,Ie-(er+On),Ie]),Lr.push(ot.shift()),Lr=[ot.pop()];ot.length;)Gr.push([ot.shift()]);yr=We.slice(Ve.length-(Lr[0]?Lr[0].length:0)).reduce(function(_i,Ur){return _i+Ur},0)}else Lr=[Ve];Gr.push(Lr),er=yr+Zt,On=tn}else Lr.push(Ve),er+=On+yr,On=tn}return Rr=Zt?function(_i,Ur){return(Ur?Fr:"")+_i.join(" ")}:function(_i){return _i.join(" ")},Gr.map(Rr)},jt.splitTextToSize=function(Ye,ge,Ie){var Fe,Ve=(Ie=Ie||{}).fontSize||this.internal.getFontSize(),We=function(Rr){if(Rr.widths&&Rr.kerning)return{widths:Rr.widths,kerning:Rr.kerning};var Lr=this.internal.getFont(Rr.fontName,Rr.fontStyle);return Lr.metadata.Unicode?{widths:Lr.metadata.Unicode.widths||{0:1},kerning:Lr.metadata.Unicode.kerning||{}}:{font:Lr.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Ie);Fe=Array.isArray(Ye)?Ye:String(Ye).split(/\r?\n/);var Qe=1*this.internal.scaleFactor*ge/Ve;We.textIndent=Ie.textIndent?1*Ie.textIndent*this.internal.scaleFactor/Ve:0,We.lineIndent=Ie.lineIndent;var yt,ot,Zt=[];for(yt=0,ot=Fe.length;yt<ot;yt++)Zt=Zt.concat(Ee.apply(this,[Fe[yt],Qe,We]));return Zt},function(Ye){Ye.__fontmetrics__=Ye.__fontmetrics__||{};for(var ge="klmnopqrstuvwxyz",Ie={},Fe={},Ve=0;Ve<ge.length;Ve++)Ie[ge[Ve]]="0123456789abcdef"[Ve],Fe["0123456789abcdef"[Ve]]=ge[Ve];var We=function(Gr){return"0x"+parseInt(Gr,10).toString(16)},Qe=Ye.__fontmetrics__.compress=function(Lr){var Gr,er,On,yr,gn=["{"];for(var tn in Lr){if(Gr=Lr[tn],isNaN(parseInt(tn,10))?er="'"+tn+"'":(tn=parseInt(tn,10),er=(er=We(tn).slice(2)).slice(0,-1)+Fe[er.slice(-1)]),typeof Gr=="number")Gr<0?(On=We(Gr).slice(3),yr="-"):(On=We(Gr).slice(2),yr=""),On=yr+On.slice(0,-1)+Fe[On.slice(-1)];else{if(S()(Gr)!=="object")throw new Error("Don't know what to do with value type "+S()(Gr)+".");On=Qe(Gr)}gn.push(er+On)}return gn.push("}"),gn.join("")},yt=Ye.__fontmetrics__.uncompress=function(Lr){if(typeof Lr!="string")throw new Error("Invalid argument passed to uncompress.");for(var Gr,er,On,yr,gn={},tn=1,Fr=gn,Xn=[],hi="",_i="",Ur=Lr.length-1,sn=1;sn<Ur;sn+=1)(yr=Lr[sn])=="'"?Gr?(On=Gr.join(""),Gr=void 0):Gr=[]:Gr?Gr.push(yr):yr=="{"?(Xn.push([Fr,On]),Fr={},On=void 0):yr=="}"?((er=Xn.pop())[0][er[1]]=Fr,On=void 0,Fr=er[0]):yr=="-"?tn=-1:On===void 0?Ie.hasOwnProperty(yr)?(hi+=Ie[yr],On=parseInt(hi,16)*tn,tn=1,hi=""):hi+=yr:Ie.hasOwnProperty(yr)?(_i+=Ie[yr],Fr[On]=parseInt(_i,16)*tn,tn=1,On=void 0,_i=""):_i+=yr;return gn},ot={codePages:["WinAnsiEncoding"],WinAnsiEncoding:yt("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Zt={Unicode:{Courier:ot,"Courier-Bold":ot,"Courier-BoldOblique":ot,"Courier-Oblique":ot,Helvetica:ot,"Helvetica-Bold":ot,"Helvetica-BoldOblique":ot,"Helvetica-Oblique":ot,"Times-Roman":ot,"Times-Bold":ot,"Times-BoldItalic":ot,"Times-Italic":ot}},Rr={Unicode:{"Courier-Oblique":yt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":yt("{'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":yt("{'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:yt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":yt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":yt("{'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:yt("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:yt("{'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":yt("{'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:yt("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":yt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":yt("{'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":yt("{'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":yt("{'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}}}")}};Ye.events.push(["addFont",function(Lr){var Gr=Lr.font,er=Rr.Unicode[Gr.postScriptName];er&&(Gr.metadata.Unicode={},Gr.metadata.Unicode.widths=er.widths,Gr.metadata.Unicode.kerning=er.kerning);var On=Zt.Unicode[Gr.postScriptName];On&&(Gr.metadata.Unicode.encoding=On,Gr.encoding=On.codePages[0])}])}(H.API),function(Ye){var ge=function(Fe){for(var Ve=Fe.length,We=new Uint8Array(Ve),Qe=0;Qe<Ve;Qe++)We[Qe]=Fe.charCodeAt(Qe);return We};Ye.API.events.push(["addFont",function(Ie){var Fe=void 0,Ve=Ie.font,We=Ie.instance;if(!Ve.isStandardFont){if(We===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Ve.postScriptName+"').");if(typeof(Fe=We.existsFileInVFS(Ve.postScriptName)===!1?We.loadFile(Ve.postScriptName):We.getFileFromVFS(Ve.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Ve.postScriptName+"').");!function(Qe,yt){yt=/^\x00\x01\x00\x00/.test(yt)?ge(yt):ge(t(yt)),Qe.metadata=Ye.API.TTFFont.open(yt),Qe.metadata.Unicode=Qe.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Qe.metadata.glyIdsUsed=[0]}(Ve,Fe)}}])}(H),function(Ye){function ge(){return(g.canvg?Promise.resolve(g.canvg):Promise.all([n.e(0),n.e(222)]).then(n.bind(null,"DXPr"))).catch(function(Ie){return Promise.reject(new Error("Could not load canvg: "+Ie))}).then(function(Ie){return Ie.default?Ie.default:Ie})}H.API.addSvgAsImage=function(Ie,Fe,Ve,We,Qe,yt,ot,Zt){if(isNaN(Fe)||isNaN(Ve))throw d.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(We)||isNaN(Qe))throw d.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Rr=document.createElement("canvas");Rr.width=We,Rr.height=Qe;var Lr=Rr.getContext("2d");Lr.fillStyle="#fff",Lr.fillRect(0,0,Rr.width,Rr.height);var Gr={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},er=this;return ge().then(function(On){return On.fromString(Lr,Ie,Gr)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(On){return On.render(Gr)}).then(function(){er.addImage(Rr.toDataURL("image/jpeg",1),Fe,Ve,We,Qe,ot,Zt)})}}(),H.API.putTotalPages=function(Ye){var ge,Ie=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(ge=new RegExp(Ye,"g"),Ie=this.internal.getNumberOfPages()):(ge=new RegExp(this.pdfEscape16(Ye,this.internal.getFont()),"g"),Ie=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var Fe=1;Fe<=this.internal.getNumberOfPages();Fe++)for(var Ve=0;Ve<this.internal.pages[Fe].length;Ve++)this.internal.pages[Fe][Ve]=this.internal.pages[Fe][Ve].replace(ge,Ie);return this},H.API.viewerPreferences=function(Ye,ge){var Ie;Ye=Ye||{},ge=ge||!1;var Fe,Ve,We,Qe={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},yt=Object.keys(Qe),ot=[],Zt=0,Rr=0,Lr=0;function Gr(On,yr){var gn,tn=!1;for(gn=0;gn<On.length;gn+=1)On[gn]===yr&&(tn=!0);return tn}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Qe)),this.internal.viewerpreferences.isSubscribed=!1),Ie=this.internal.viewerpreferences.configuration,Ye==="reset"||ge===!0){var er=yt.length;for(Lr=0;Lr<er;Lr+=1)Ie[yt[Lr]].value=Ie[yt[Lr]].defaultValue,Ie[yt[Lr]].explicitSet=!1}if(S()(Ye)==="object"){for(Ve in Ye)if(We=Ye[Ve],Gr(yt,Ve)&&We!==void 0){if(Ie[Ve].type==="boolean"&&typeof We=="boolean")Ie[Ve].value=We;else if(Ie[Ve].type==="name"&&Gr(Ie[Ve].valueSet,We))Ie[Ve].value=We;else if(Ie[Ve].type==="integer"&&Number.isInteger(We))Ie[Ve].value=We;else if(Ie[Ve].type==="array"){for(Zt=0;Zt<We.length;Zt+=1)if(Fe=!0,We[Zt].length===1&&typeof We[Zt][0]=="number")ot.push(String(We[Zt]-1));else if(We[Zt].length>1){for(Rr=0;Rr<We[Zt].length;Rr+=1)typeof We[Zt][Rr]!="number"&&(Fe=!1);Fe===!0&&ot.push([We[Zt][0]-1,We[Zt][1]-1].join(" "))}Ie[Ve].value="["+ot.join(" ")+"]"}else Ie[Ve].value=Ie[Ve].defaultValue;Ie[Ve].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var On,yr=[];for(On in Ie)Ie[On].explicitSet===!0&&(Ie[On].type==="name"?yr.push("/"+On+" /"+Ie[On].value):yr.push("/"+On+" "+Ie[On].value));yr.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+yr.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Ie,this},function(Ye){var ge=function(){var Ve='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',We=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Qe=unescape(encodeURIComponent(Ve)),yt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),ot=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Zt=unescape(encodeURIComponent("</x:xmpmeta>")),Rr=Qe.length+yt.length+ot.length+We.length+Zt.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Rr+" >>"),this.internal.write("stream"),this.internal.write(We+Qe+yt+ot+Zt),this.internal.write("endstream"),this.internal.write("endobj")},Ie=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};Ye.addMetadata=function(Fe,Ve){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Fe,namespaceuri:Ve||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Ie),this.internal.events.subscribe("postPutResources",ge)),this}}(H.API),function(Ye){var ge=Ye.API,Ie=ge.pdfEscape16=function(We,Qe){for(var yt,ot=Qe.metadata.Unicode.widths,Zt=["","0","00","000","0000"],Rr=[""],Lr=0,Gr=We.length;Lr<Gr;++Lr){if(yt=Qe.metadata.characterToGlyph(We.charCodeAt(Lr)),Qe.metadata.glyIdsUsed.push(yt),Qe.metadata.toUnicode[yt]=We.charCodeAt(Lr),ot.indexOf(yt)==-1&&(ot.push(yt),ot.push([parseInt(Qe.metadata.widthOfGlyph(yt),10)])),yt=="0")return Rr.join("");yt=yt.toString(16),Rr.push(Zt[4-yt.length],yt)}return Rr.join("")},Fe=function(Qe){var yt,ot,Zt,Rr,Lr,Gr,er;for(Lr=`/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`,Zt=[],Gr=0,er=(ot=Object.keys(Qe).sort(function(On,yr){return On-yr})).length;Gr<er;Gr++)yt=ot[Gr],Zt.length>=100&&(Lr+=`
`+Zt.length+` beginbfchar
`+Zt.join(`
`)+`
endbfchar`,Zt=[]),Qe[yt]!==void 0&&Qe[yt]!==null&&typeof Qe[yt].toString=="function"&&(Rr=("0000"+Qe[yt].toString(16)).slice(-4),yt=("0000"+(+yt).toString(16)).slice(-4),Zt.push("<"+yt+"><"+Rr+">"));return Zt.length&&(Lr+=`
`+Zt.length+` beginbfchar
`+Zt.join(`
`)+`
endbfchar
`),Lr+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};ge.events.push(["putFont",function(We){!function(Qe){var yt=Qe.font,ot=Qe.out,Zt=Qe.newObject,Rr=Qe.putStream;if(yt.metadata instanceof Ye.API.TTFFont&&yt.encoding==="Identity-H"){for(var Lr=yt.metadata.Unicode.widths,Gr=yt.metadata.subset.encode(yt.metadata.glyIdsUsed,1),er="",On=0;On<Gr.length;On++)er+=String.fromCharCode(Gr[On]);var yr=Zt();Rr({data:er,addLength1:!0,objectId:yr}),ot("endobj");var gn=Zt();Rr({data:Fe(yt.metadata.toUnicode),addLength1:!0,objectId:gn}),ot("endobj");var tn=Zt();ot("<<"),ot("/Type /FontDescriptor"),ot("/FontName /"+F(yt.fontName)),ot("/FontFile2 "+yr+" 0 R"),ot("/FontBBox "+Ye.API.PDFObject.convert(yt.metadata.bbox)),ot("/Flags "+yt.metadata.flags),ot("/StemV "+yt.metadata.stemV),ot("/ItalicAngle "+yt.metadata.italicAngle),ot("/Ascent "+yt.metadata.ascender),ot("/Descent "+yt.metadata.decender),ot("/CapHeight "+yt.metadata.capHeight),ot(">>"),ot("endobj");var Fr=Zt();ot("<<"),ot("/Type /Font"),ot("/BaseFont /"+F(yt.fontName)),ot("/FontDescriptor "+tn+" 0 R"),ot("/W "+Ye.API.PDFObject.convert(Lr)),ot("/CIDToGIDMap /Identity"),ot("/DW 1000"),ot("/Subtype /CIDFontType2"),ot("/CIDSystemInfo"),ot("<<"),ot("/Supplement 0"),ot("/Registry (Adobe)"),ot("/Ordering ("+yt.encoding+")"),ot(">>"),ot(">>"),ot("endobj"),yt.objectNumber=Zt(),ot("<<"),ot("/Type /Font"),ot("/Subtype /Type0"),ot("/ToUnicode "+gn+" 0 R"),ot("/BaseFont /"+F(yt.fontName)),ot("/Encoding /"+yt.encoding),ot("/DescendantFonts ["+Fr+" 0 R]"),ot(">>"),ot("endobj"),yt.isAlreadyPutted=!0}}(We)}]),ge.events.push(["putFont",function(We){!function(Qe){var yt=Qe.font,ot=Qe.out,Zt=Qe.newObject,Rr=Qe.putStream;if(yt.metadata instanceof Ye.API.TTFFont&&yt.encoding==="WinAnsiEncoding"){for(var Lr=yt.metadata.rawData,Gr="",er=0;er<Lr.length;er++)Gr+=String.fromCharCode(Lr[er]);var On=Zt();Rr({data:Gr,addLength1:!0,objectId:On}),ot("endobj");var yr=Zt();Rr({data:Fe(yt.metadata.toUnicode),addLength1:!0,objectId:yr}),ot("endobj");var gn=Zt();ot("<<"),ot("/Descent "+yt.metadata.decender),ot("/CapHeight "+yt.metadata.capHeight),ot("/StemV "+yt.metadata.stemV),ot("/Type /FontDescriptor"),ot("/FontFile2 "+On+" 0 R"),ot("/Flags 96"),ot("/FontBBox "+Ye.API.PDFObject.convert(yt.metadata.bbox)),ot("/FontName /"+F(yt.fontName)),ot("/ItalicAngle "+yt.metadata.italicAngle),ot("/Ascent "+yt.metadata.ascender),ot(">>"),ot("endobj"),yt.objectNumber=Zt();for(var tn=0;tn<yt.metadata.hmtx.widths.length;tn++)yt.metadata.hmtx.widths[tn]=parseInt(yt.metadata.hmtx.widths[tn]*(1e3/yt.metadata.head.unitsPerEm));ot("<</Subtype/TrueType/Type/Font/ToUnicode "+yr+" 0 R/BaseFont/"+F(yt.fontName)+"/FontDescriptor "+gn+" 0 R/Encoding/"+yt.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Ye.API.PDFObject.convert(yt.metadata.hmtx.widths)+">>"),ot("endobj"),yt.isAlreadyPutted=!0}}(We)}]);var Ve=function(Qe){var yt,ot=Qe.text||"",Zt=Qe.x,Rr=Qe.y,Lr=Qe.options||{},Gr=Qe.mutex||{},er=Gr.pdfEscape,On=Gr.activeFontKey,yr=Gr.fonts,gn=On,tn="",Fr=0,Xn="",hi=yr[gn].encoding;if(yr[gn].encoding!=="Identity-H")return{text:ot,x:Zt,y:Rr,options:Lr,mutex:Gr};for(Xn=ot,gn=On,Array.isArray(ot)&&(Xn=ot[0]),Fr=0;Fr<Xn.length;Fr+=1)yr[gn].metadata.hasOwnProperty("cmap")&&(yt=yr[gn].metadata.cmap.unicode.codeMap[Xn[Fr].charCodeAt(0)]),yt||Xn[Fr].charCodeAt(0)<256&&yr[gn].metadata.hasOwnProperty("Unicode")?tn+=Xn[Fr]:tn+="";var _i="";return parseInt(gn.slice(1))<14||hi==="WinAnsiEncoding"?_i=er(tn,gn).split("").map(function(Ur){return Ur.charCodeAt(0).toString(16)}).join(""):hi==="Identity-H"&&(_i=Ie(tn,yr[gn])),Gr.isHex=!0,{text:_i,x:Zt,y:Rr,options:Lr,mutex:Gr}};ge.events.push(["postProcessText",function(We){var Qe=We.text||"",yt=[],ot={text:Qe,x:We.x,y:We.y,options:We.options,mutex:We.mutex};if(Array.isArray(Qe)){var Zt=0;for(Zt=0;Zt<Qe.length;Zt+=1)Array.isArray(Qe[Zt])&&Qe[Zt].length===3?yt.push([Ve(Object.assign({},ot,{text:Qe[Zt][0]})).text,Qe[Zt][1],Qe[Zt][2]]):yt.push(Ve(Object.assign({},ot,{text:Qe[Zt]})).text);We.text=yt}else We.text=Ve(Object.assign({},ot,{text:Qe})).text}])}(H),function(Ye){var ge=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};Ye.existsFileInVFS=function(Ie){return ge.call(this),this.internal.vFS[Ie]!==void 0},Ye.addFileToVFS=function(Ie,Fe){return ge.call(this),this.internal.vFS[Ie]=Fe,this},Ye.getFileFromVFS=function(Ie){return ge.call(this),this.internal.vFS[Ie]!==void 0?this.internal.vFS[Ie]:null}}(H.API),function(Ye){Ye.__bidiEngine__=Ye.prototype.__bidiEngine__=function(Fe){var Ve,We,Qe,yt,ot,Zt,Rr,Lr=ge,Gr=[[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]],er=[[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]],On={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},yr={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},gn=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],tn=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)$/),Fr=!1,Xn=0;this.__bidiEngine__={};var hi=function(Tt){var Lt=Tt.charCodeAt(),pt=Lt>>8,Gt=yr[pt];return Gt!==void 0?Lr[256*Gt+(255&Lt)]:pt===252||pt===253?"AL":tn.test(pt)?"L":pt===8?"R":"N"},_i=function(Tt){for(var Lt,pt=0;pt<Tt.length;pt++){if((Lt=hi(Tt.charAt(pt)))==="L")return!1;if(Lt==="R")return!0}return!1},Ur=function(Tt,Lt,pt,Gt){var qt,rr,mr,wn,fn=Lt[Gt];switch(fn){case"L":case"R":Fr=!1;break;case"N":case"AN":break;case"EN":Fr&&(fn="AN");break;case"AL":Fr=!0,fn="R";break;case"WS":fn="N";break;case"CS":Gt<1||Gt+1>=Lt.length||(qt=pt[Gt-1])!=="EN"&&qt!=="AN"||(rr=Lt[Gt+1])!=="EN"&&rr!=="AN"?fn="N":Fr&&(rr="AN"),fn=rr===qt?rr:"N";break;case"ES":fn=(qt=Gt>0?pt[Gt-1]:"B")==="EN"&&Gt+1<Lt.length&&Lt[Gt+1]==="EN"?"EN":"N";break;case"ET":if(Gt>0&&pt[Gt-1]==="EN"){fn="EN";break}if(Fr){fn="N";break}for(mr=Gt+1,wn=Lt.length;mr<wn&&Lt[mr]==="ET";)mr++;fn=mr<wn&&Lt[mr]==="EN"?"EN":"N";break;case"NSM":if(Qe&&!yt){for(wn=Lt.length,mr=Gt+1;mr<wn&&Lt[mr]==="NSM";)mr++;if(mr<wn){var Wn=Tt[Gt],Yr=Wn>=1425&&Wn<=2303||Wn===64286;if(qt=Lt[mr],Yr&&(qt==="R"||qt==="AL")){fn="R";break}}}fn=Gt<1||(qt=Lt[Gt-1])==="B"?"N":pt[Gt-1];break;case"B":Fr=!1,Ve=!0,fn=Xn;break;case"S":We=!0,fn="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Fr=!1;break;case"BN":fn="N"}return fn},sn=function(Tt,Lt,pt){var Gt=Tt.split("");return pt&&Cn(Gt,pt,{hiLevel:Xn}),Gt.reverse(),Lt&&Lt.reverse(),Gt.join("")},Cn=function(Tt,Lt,pt){var Gt,qt,rr,mr,wn,fn=-1,Wn=Tt.length,Yr=0,Sr=[],ln=Xn?er:Gr,Tn=[];for(Fr=!1,Ve=!1,We=!1,qt=0;qt<Wn;qt++)Tn[qt]=hi(Tt[qt]);for(rr=0;rr<Wn;rr++){if(wn=Yr,Sr[rr]=Ur(Tt,Tn,Sr,rr),Gt=240&(Yr=ln[wn][On[Sr[rr]]]),Yr&=15,Lt[rr]=mr=ln[Yr][5],Gt>0)if(Gt===16){for(qt=fn;qt<rr;qt++)Lt[qt]=1;fn=-1}else fn=-1;if(ln[Yr][6])fn===-1&&(fn=rr);else if(fn>-1){for(qt=fn;qt<rr;qt++)Lt[qt]=mr;fn=-1}Tn[rr]==="B"&&(Lt[rr]=0),pt.hiLevel|=mr}We&&function(In,Un,ti){for(var li=0;li<ti;li++)if(In[li]==="S"){Un[li]=Xn;for(var si=li-1;si>=0&&In[si]==="WS";si--)Un[si]=Xn}}(Tn,Lt,Wn)},Nt=function(Tt,Lt,pt,Gt,qt){if(!(qt.hiLevel<Tt)){if(Tt===1&&Xn===1&&!Ve)return Lt.reverse(),void(pt&&pt.reverse());for(var rr,mr,wn,fn,Wn=Lt.length,Yr=0;Yr<Wn;){if(Gt[Yr]>=Tt){for(wn=Yr+1;wn<Wn&&Gt[wn]>=Tt;)wn++;for(fn=Yr,mr=wn-1;fn<mr;fn++,mr--)rr=Lt[fn],Lt[fn]=Lt[mr],Lt[mr]=rr,pt&&(rr=pt[fn],pt[fn]=pt[mr],pt[mr]=rr);Yr=wn}Yr++}}},dt=function(Tt,Lt,pt){var Gt=Tt.split(""),qt={hiLevel:Xn};return pt||(pt=[]),Cn(Gt,pt,qt),function(rr,mr,wn){if(wn.hiLevel!==0&&Rr)for(var fn,Wn=0;Wn<rr.length;Wn++)mr[Wn]===1&&(fn=gn.indexOf(rr[Wn]))>=0&&(rr[Wn]=gn[fn+1])}(Gt,pt,qt),Nt(2,Gt,Lt,pt,qt),Nt(1,Gt,Lt,pt,qt),Gt.join("")};return this.__bidiEngine__.doBidiReorder=function(bt,Tt,Lt){if(function(Gt,qt){if(qt)for(var rr=0;rr<Gt.length;rr++)qt[rr]=rr;yt===void 0&&(yt=_i(Gt)),Zt===void 0&&(Zt=_i(Gt))}(bt,Tt),Qe||!ot||Zt)if(Qe&&ot&&yt^Zt)Xn=yt?1:0,bt=sn(bt,Tt,Lt);else if(!Qe&&ot&&Zt)Xn=yt?1:0,bt=dt(bt,Tt,Lt),bt=sn(bt,Tt);else if(!Qe||yt||ot||Zt){if(Qe&&!ot&&yt^Zt)bt=sn(bt,Tt),yt?(Xn=0,bt=dt(bt,Tt,Lt)):(Xn=1,bt=dt(bt,Tt,Lt),bt=sn(bt,Tt));else if(Qe&&yt&&!ot&&Zt)Xn=1,bt=dt(bt,Tt,Lt),bt=sn(bt,Tt);else if(!Qe&&!ot&&yt^Zt){var pt=Rr;yt?(Xn=1,bt=dt(bt,Tt,Lt),Xn=0,Rr=!1,bt=dt(bt,Tt,Lt),Rr=pt):(Xn=0,bt=dt(bt,Tt,Lt),bt=sn(bt,Tt),Xn=1,Rr=!1,bt=dt(bt,Tt,Lt),Rr=pt,bt=sn(bt,Tt))}}else Xn=0,bt=dt(bt,Tt,Lt);else Xn=yt?1:0,bt=dt(bt,Tt,Lt);return bt},this.__bidiEngine__.setOptions=function(bt){bt&&(Qe=bt.isInputVisual,ot=bt.isOutputVisual,yt=bt.isInputRtl,Zt=bt.isOutputRtl,Rr=bt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(Fe),this.__bidiEngine__};var ge=["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"],Ie=new Ye.__bidiEngine__({isInputVisual:!0});Ye.API.events.push(["postProcessText",function(Fe){var Ve=Fe.text,We=(Fe.x,Fe.y,Fe.options||{}),Qe=(Fe.mutex,We.lang,[]);if(We.isInputVisual=typeof We.isInputVisual!="boolean"||We.isInputVisual,Ie.setOptions(We),Object.prototype.toString.call(Ve)==="[object Array]"){var yt=0;for(Qe=[],yt=0;yt<Ve.length;yt+=1)Object.prototype.toString.call(Ve[yt])==="[object Array]"?Qe.push([Ie.doBidiReorder(Ve[yt][0]),Ve[yt][1],Ve[yt][2]]):Qe.push([Ie.doBidiReorder(Ve[yt])]);Fe.text=Qe}else Fe.text=Ie.doBidiReorder(Ve);Ie.setOptions({isInputVisual:!0})}])}(H),H.API.TTFFont=function(){function Ye(ge){var Ie;if(this.rawData=ge,Ie=this.contents=new xt(ge),this.contents.pos=4,Ie.readString(4)==="ttcf")throw new Error("TTCF not supported.");Ie.pos=0,this.parse(),this.subset=new Ii(this),this.registerTTF()}return Ye.open=function(ge){return new Ye(ge)},Ye.prototype.parse=function(){return this.directory=new rt(this.contents),this.head=new Dt(this),this.name=new fr(this),this.cmap=new Ut(this),this.toUnicode={},this.hhea=new vt(this),this.maxp=new Jr(this),this.hmtx=new Zr(this),this.post=new br(this),this.os2=new Pt(this),this.loca=new gi(this),this.glyf=new Rn(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]},Ye.prototype.registerTTF=function(){var ge,Ie,Fe,Ve,We;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Qe,yt,ot,Zt;for(Zt=[],Qe=0,yt=(ot=this.bbox).length;Qe<yt;Qe++)ge=ot[Qe],Zt.push(Math.round(ge*this.scaleFactor));return Zt}.call(this),this.stemV=0,this.post.exists?(Fe=255&(Ve=this.post.italic_angle),(32768&(Ie=Ve>>16))!=0&&(Ie=-(1+(65535^Ie))),this.italicAngle=+(Ie+"."+Fe)):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=(We=this.familyClass)===1||We===2||We===3||We===4||We===5||We===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")},Ye.prototype.characterToGlyph=function(ge){var Ie;return((Ie=this.cmap.unicode)!=null?Ie.codeMap[ge]:void 0)||0},Ye.prototype.widthOfGlyph=function(ge){var Ie;return Ie=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(ge).advance*Ie},Ye.prototype.widthOfString=function(ge,Ie,Fe){var Ve,We,Qe,yt;for(Qe=0,We=0,yt=(ge=""+ge).length;0<=yt?We<yt:We>yt;We=0<=yt?++We:--We)Ve=ge.charCodeAt(We),Qe+=this.widthOfGlyph(this.characterToGlyph(Ve))+Fe*(1e3/Ie)||0;return Qe*(Ie/1e3)},Ye.prototype.lineHeight=function(ge,Ie){var Fe;return Ie==null&&(Ie=!1),Fe=Ie?this.lineGap:0,(this.ascender+Fe-this.decender)/1e3*ge},Ye}();var qr,xt=function(){function Ye(ge){this.data=ge!=null?ge:[],this.pos=0,this.length=this.data.length}return Ye.prototype.readByte=function(){return this.data[this.pos++]},Ye.prototype.writeByte=function(ge){return this.data[this.pos++]=ge},Ye.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Ye.prototype.writeUInt32=function(ge){return this.writeByte(ge>>>24&255),this.writeByte(ge>>16&255),this.writeByte(ge>>8&255),this.writeByte(255&ge)},Ye.prototype.readInt32=function(){var ge;return(ge=this.readUInt32())>=2147483648?ge-4294967296:ge},Ye.prototype.writeInt32=function(ge){return ge<0&&(ge+=4294967296),this.writeUInt32(ge)},Ye.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Ye.prototype.writeUInt16=function(ge){return this.writeByte(ge>>8&255),this.writeByte(255&ge)},Ye.prototype.readInt16=function(){var ge;return(ge=this.readUInt16())>=32768?ge-65536:ge},Ye.prototype.writeInt16=function(ge){return ge<0&&(ge+=65536),this.writeUInt16(ge)},Ye.prototype.readString=function(ge){var Ie,Fe;for(Fe=[],Ie=0;0<=ge?Ie<ge:Ie>ge;Ie=0<=ge?++Ie:--Ie)Fe[Ie]=String.fromCharCode(this.readByte());return Fe.join("")},Ye.prototype.writeString=function(ge){var Ie,Fe,Ve;for(Ve=[],Ie=0,Fe=ge.length;0<=Fe?Ie<Fe:Ie>Fe;Ie=0<=Fe?++Ie:--Ie)Ve.push(this.writeByte(ge.charCodeAt(Ie)));return Ve},Ye.prototype.readShort=function(){return this.readInt16()},Ye.prototype.writeShort=function(ge){return this.writeInt16(ge)},Ye.prototype.readLongLong=function(){var ge,Ie,Fe,Ve,We,Qe,yt,ot;return ge=this.readByte(),Ie=this.readByte(),Fe=this.readByte(),Ve=this.readByte(),We=this.readByte(),Qe=this.readByte(),yt=this.readByte(),ot=this.readByte(),128&ge?-1*(72057594037927940*(255^ge)+281474976710656*(255^Ie)+1099511627776*(255^Fe)+4294967296*(255^Ve)+16777216*(255^We)+65536*(255^Qe)+256*(255^yt)+(255^ot)+1):72057594037927940*ge+281474976710656*Ie+1099511627776*Fe+4294967296*Ve+16777216*We+65536*Qe+256*yt+ot},Ye.prototype.writeLongLong=function(ge){var Ie,Fe;return Ie=Math.floor(ge/4294967296),Fe=4294967295&ge,this.writeByte(Ie>>24&255),this.writeByte(Ie>>16&255),this.writeByte(Ie>>8&255),this.writeByte(255&Ie),this.writeByte(Fe>>24&255),this.writeByte(Fe>>16&255),this.writeByte(Fe>>8&255),this.writeByte(255&Fe)},Ye.prototype.readInt=function(){return this.readInt32()},Ye.prototype.writeInt=function(ge){return this.writeInt32(ge)},Ye.prototype.read=function(ge){var Ie,Fe;for(Ie=[],Fe=0;0<=ge?Fe<ge:Fe>ge;Fe=0<=ge?++Fe:--Fe)Ie.push(this.readByte());return Ie},Ye.prototype.write=function(ge){var Ie,Fe,Ve,We;for(We=[],Fe=0,Ve=ge.length;Fe<Ve;Fe++)Ie=ge[Fe],We.push(this.writeByte(Ie));return We},Ye}(),rt=function(){var Ye;function ge(Ie){var Fe,Ve,We;for(this.scalarType=Ie.readInt(),this.tableCount=Ie.readShort(),this.searchRange=Ie.readShort(),this.entrySelector=Ie.readShort(),this.rangeShift=Ie.readShort(),this.tables={},Ve=0,We=this.tableCount;0<=We?Ve<We:Ve>We;Ve=0<=We?++Ve:--Ve)Fe={tag:Ie.readString(4),checksum:Ie.readInt(),offset:Ie.readInt(),length:Ie.readInt()},this.tables[Fe.tag]=Fe}return ge.prototype.encode=function(Ie){var Fe,Ve,We,Qe,yt,ot,Zt,Rr,Lr,Gr,er,On,yr;for(yr in er=Object.keys(Ie).length,ot=Math.log(2),Lr=16*Math.floor(Math.log(er)/ot),Qe=Math.floor(Lr/ot),Rr=16*er-Lr,(Ve=new xt).writeInt(this.scalarType),Ve.writeShort(er),Ve.writeShort(Lr),Ve.writeShort(Qe),Ve.writeShort(Rr),We=16*er,Zt=Ve.pos+We,yt=null,On=[],Ie)for(Gr=Ie[yr],Ve.writeString(yr),Ve.writeInt(Ye(Gr)),Ve.writeInt(Zt),Ve.writeInt(Gr.length),On=On.concat(Gr),yr==="head"&&(yt=Zt),Zt+=Gr.length;Zt%4;)On.push(0),Zt++;return Ve.write(On),Fe=2981146554-Ye(Ve.data),Ve.pos=yt+8,Ve.writeUInt32(Fe),Ve.data},Ye=function(Fe){var Ve,We,Qe,yt;for(Fe=Fn.call(Fe);Fe.length%4;)Fe.push(0);for(Qe=new xt(Fe),We=0,Ve=0,yt=Fe.length;Ve<yt;Ve=Ve+=4)We+=Qe.readUInt32();return 4294967295&We},ge}(),it={}.hasOwnProperty,$t=function(ge,Ie){for(var Fe in Ie)it.call(Ie,Fe)&&(ge[Fe]=Ie[Fe]);function Ve(){this.constructor=ge}return Ve.prototype=Ie.prototype,ge.prototype=new Ve,ge.__super__=Ie.prototype,ge};qr=function(){function Ye(ge){var Ie;this.file=ge,Ie=this.file.directory.tables[this.tag],this.exists=!!Ie,Ie&&(this.offset=Ie.offset,this.length=Ie.length,this.parse(this.file.contents))}return Ye.prototype.parse=function(){},Ye.prototype.encode=function(){},Ye.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Ye}();var Dt=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="head",ge.prototype.parse=function(Ie){return Ie.pos=this.offset,this.version=Ie.readInt(),this.revision=Ie.readInt(),this.checkSumAdjustment=Ie.readInt(),this.magicNumber=Ie.readInt(),this.flags=Ie.readShort(),this.unitsPerEm=Ie.readShort(),this.created=Ie.readLongLong(),this.modified=Ie.readLongLong(),this.xMin=Ie.readShort(),this.yMin=Ie.readShort(),this.xMax=Ie.readShort(),this.yMax=Ie.readShort(),this.macStyle=Ie.readShort(),this.lowestRecPPEM=Ie.readShort(),this.fontDirectionHint=Ie.readShort(),this.indexToLocFormat=Ie.readShort(),this.glyphDataFormat=Ie.readShort()},ge.prototype.encode=function(Ie){var Fe;return(Fe=new xt).writeInt(this.version),Fe.writeInt(this.revision),Fe.writeInt(this.checkSumAdjustment),Fe.writeInt(this.magicNumber),Fe.writeShort(this.flags),Fe.writeShort(this.unitsPerEm),Fe.writeLongLong(this.created),Fe.writeLongLong(this.modified),Fe.writeShort(this.xMin),Fe.writeShort(this.yMin),Fe.writeShort(this.xMax),Fe.writeShort(this.yMax),Fe.writeShort(this.macStyle),Fe.writeShort(this.lowestRecPPEM),Fe.writeShort(this.fontDirectionHint),Fe.writeShort(Ie),Fe.writeShort(this.glyphDataFormat),Fe.data},ge}(),St=function(){function Ye(ge,Ie){var Fe,Ve,We,Qe,yt,ot,Zt,Rr,Lr,Gr,er,On,yr,gn,tn,Fr,Xn;switch(this.platformID=ge.readUInt16(),this.encodingID=ge.readShort(),this.offset=Ie+ge.readInt(),Lr=ge.pos,ge.pos=this.offset,this.format=ge.readUInt16(),this.length=ge.readUInt16(),this.language=ge.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(ot=0;ot<256;++ot)this.codeMap[ot]=ge.readByte();break;case 4:for(er=ge.readUInt16(),Gr=er/2,ge.pos+=6,We=function(){var hi,_i;for(_i=[],ot=hi=0;0<=Gr?hi<Gr:hi>Gr;ot=0<=Gr?++hi:--hi)_i.push(ge.readUInt16());return _i}(),ge.pos+=2,yr=function(){var hi,_i;for(_i=[],ot=hi=0;0<=Gr?hi<Gr:hi>Gr;ot=0<=Gr?++hi:--hi)_i.push(ge.readUInt16());return _i}(),Zt=function(){var hi,_i;for(_i=[],ot=hi=0;0<=Gr?hi<Gr:hi>Gr;ot=0<=Gr?++hi:--hi)_i.push(ge.readUInt16());return _i}(),Rr=function(){var hi,_i;for(_i=[],ot=hi=0;0<=Gr?hi<Gr:hi>Gr;ot=0<=Gr?++hi:--hi)_i.push(ge.readUInt16());return _i}(),Ve=(this.length-ge.pos+this.offset)/2,yt=function(){var hi,_i;for(_i=[],ot=hi=0;0<=Ve?hi<Ve:hi>Ve;ot=0<=Ve?++hi:--hi)_i.push(ge.readUInt16());return _i}(),ot=tn=0,Xn=We.length;tn<Xn;ot=++tn)for(gn=We[ot],Fe=Fr=On=yr[ot];On<=gn?Fr<=gn:Fr>=gn;Fe=On<=gn?++Fr:--Fr)Rr[ot]===0?Qe=Fe+Zt[ot]:(Qe=yt[Rr[ot]/2+(Fe-On)-(Gr-ot)]||0)!==0&&(Qe+=Zt[ot]),this.codeMap[Fe]=65535&Qe}ge.pos=Lr}return Ye.encode=function(ge,Ie){var Fe,Ve,We,Qe,yt,ot,Zt,Rr,Lr,Gr,er,On,yr,gn,tn,Fr,Xn,hi,_i,Ur,sn,Cn,Nt,dt,bt,Tt,Lt,pt,Gt,qt,rr,mr,wn,fn,Wn,Yr,Sr,ln,Tn,In,Un,ti,li,si,ki,zi;switch(pt=new xt,Qe=Object.keys(ge).sort(function(Ri,Yi){return Ri-Yi}),Ie){case"macroman":for(yr=0,gn=function(){var Ri=[];for(On=0;On<256;++On)Ri.push(0);return Ri}(),Fr={0:0},We={},Gt=0,wn=Qe.length;Gt<wn;Gt++)Fr[li=ge[Ve=Qe[Gt]]]==null&&(Fr[li]=++yr),We[Ve]={old:ge[Ve],new:Fr[ge[Ve]]},gn[Ve]=Fr[ge[Ve]];return pt.writeUInt16(1),pt.writeUInt16(0),pt.writeUInt32(12),pt.writeUInt16(0),pt.writeUInt16(262),pt.writeUInt16(0),pt.write(gn),{charMap:We,subtable:pt.data,maxGlyphID:yr+1};case"unicode":for(Tt=[],Lr=[],Xn=0,Fr={},Fe={},tn=Zt=null,qt=0,fn=Qe.length;qt<fn;qt++)Fr[_i=ge[Ve=Qe[qt]]]==null&&(Fr[_i]=++Xn),Fe[Ve]={old:_i,new:Fr[_i]},yt=Fr[_i]-Ve,tn!=null&&yt===Zt||(tn&&Lr.push(tn),Tt.push(Ve),Zt=yt),tn=Ve;for(tn&&Lr.push(tn),Lr.push(65535),Tt.push(65535),dt=2*(Nt=Tt.length),Cn=2*Math.pow(Math.log(Nt)/Math.LN2,2),Gr=Math.log(Cn/2)/Math.LN2,sn=2*Nt-Cn,ot=[],Ur=[],er=[],On=rr=0,Wn=Tt.length;rr<Wn;On=++rr){if(bt=Tt[On],Rr=Lr[On],bt===65535){ot.push(0),Ur.push(0);break}if(bt-(Lt=Fe[bt].new)>=32768)for(ot.push(0),Ur.push(2*(er.length+Nt-On)),Ve=mr=bt;bt<=Rr?mr<=Rr:mr>=Rr;Ve=bt<=Rr?++mr:--mr)er.push(Fe[Ve].new);else ot.push(Lt-bt),Ur.push(0)}for(pt.writeUInt16(3),pt.writeUInt16(1),pt.writeUInt32(12),pt.writeUInt16(4),pt.writeUInt16(16+8*Nt+2*er.length),pt.writeUInt16(0),pt.writeUInt16(dt),pt.writeUInt16(Cn),pt.writeUInt16(Gr),pt.writeUInt16(sn),Un=0,Yr=Lr.length;Un<Yr;Un++)Ve=Lr[Un],pt.writeUInt16(Ve);for(pt.writeUInt16(0),ti=0,Sr=Tt.length;ti<Sr;ti++)Ve=Tt[ti],pt.writeUInt16(Ve);for(si=0,ln=ot.length;si<ln;si++)yt=ot[si],pt.writeUInt16(yt);for(ki=0,Tn=Ur.length;ki<Tn;ki++)hi=Ur[ki],pt.writeUInt16(hi);for(zi=0,In=er.length;zi<In;zi++)yr=er[zi],pt.writeUInt16(yr);return{charMap:Fe,subtable:pt.data,maxGlyphID:Xn+1}}},Ye}(),Ut=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="cmap",ge.prototype.parse=function(Ie){var Fe,Ve,We;for(Ie.pos=this.offset,this.version=Ie.readUInt16(),We=Ie.readUInt16(),this.tables=[],this.unicode=null,Ve=0;0<=We?Ve<We:Ve>We;Ve=0<=We?++Ve:--Ve)Fe=new St(Ie,this.offset),this.tables.push(Fe),Fe.isUnicode&&this.unicode==null&&(this.unicode=Fe);return!0},ge.encode=function(Ie,Fe){var Ve,We;return Fe==null&&(Fe="macroman"),Ve=St.encode(Ie,Fe),(We=new xt).writeUInt16(0),We.writeUInt16(1),Ve.table=We.data.concat(Ve.subtable),Ve},ge}(),vt=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="hhea",ge.prototype.parse=function(Ie){return Ie.pos=this.offset,this.version=Ie.readInt(),this.ascender=Ie.readShort(),this.decender=Ie.readShort(),this.lineGap=Ie.readShort(),this.advanceWidthMax=Ie.readShort(),this.minLeftSideBearing=Ie.readShort(),this.minRightSideBearing=Ie.readShort(),this.xMaxExtent=Ie.readShort(),this.caretSlopeRise=Ie.readShort(),this.caretSlopeRun=Ie.readShort(),this.caretOffset=Ie.readShort(),Ie.pos+=8,this.metricDataFormat=Ie.readShort(),this.numberOfMetrics=Ie.readUInt16()},ge}(),Pt=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="OS/2",ge.prototype.parse=function(Ie){if(Ie.pos=this.offset,this.version=Ie.readUInt16(),this.averageCharWidth=Ie.readShort(),this.weightClass=Ie.readUInt16(),this.widthClass=Ie.readUInt16(),this.type=Ie.readShort(),this.ySubscriptXSize=Ie.readShort(),this.ySubscriptYSize=Ie.readShort(),this.ySubscriptXOffset=Ie.readShort(),this.ySubscriptYOffset=Ie.readShort(),this.ySuperscriptXSize=Ie.readShort(),this.ySuperscriptYSize=Ie.readShort(),this.ySuperscriptXOffset=Ie.readShort(),this.ySuperscriptYOffset=Ie.readShort(),this.yStrikeoutSize=Ie.readShort(),this.yStrikeoutPosition=Ie.readShort(),this.familyClass=Ie.readShort(),this.panose=function(){var Fe,Ve;for(Ve=[],Fe=0;Fe<10;++Fe)Ve.push(Ie.readByte());return Ve}(),this.charRange=function(){var Fe,Ve;for(Ve=[],Fe=0;Fe<4;++Fe)Ve.push(Ie.readInt());return Ve}(),this.vendorID=Ie.readString(4),this.selection=Ie.readShort(),this.firstCharIndex=Ie.readShort(),this.lastCharIndex=Ie.readShort(),this.version>0&&(this.ascent=Ie.readShort(),this.descent=Ie.readShort(),this.lineGap=Ie.readShort(),this.winAscent=Ie.readShort(),this.winDescent=Ie.readShort(),this.codePageRange=function(){var Fe,Ve;for(Ve=[],Fe=0;Fe<2;Fe=++Fe)Ve.push(Ie.readInt());return Ve}(),this.version>1))return this.xHeight=Ie.readShort(),this.capHeight=Ie.readShort(),this.defaultChar=Ie.readShort(),this.breakChar=Ie.readShort(),this.maxContext=Ie.readShort()},ge}(),br=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="post",ge.prototype.parse=function(Ie){var Fe,Ve,We;switch(Ie.pos=this.offset,this.format=Ie.readInt(),this.italicAngle=Ie.readInt(),this.underlinePosition=Ie.readShort(),this.underlineThickness=Ie.readShort(),this.isFixedPitch=Ie.readInt(),this.minMemType42=Ie.readInt(),this.maxMemType42=Ie.readInt(),this.minMemType1=Ie.readInt(),this.maxMemType1=Ie.readInt(),this.format){case 65536:break;case 131072:var Qe;for(Ve=Ie.readUInt16(),this.glyphNameIndex=[],Qe=0;0<=Ve?Qe<Ve:Qe>Ve;Qe=0<=Ve?++Qe:--Qe)this.glyphNameIndex.push(Ie.readUInt16());for(this.names=[],We=[];Ie.pos<this.offset+this.length;)Fe=Ie.readByte(),We.push(this.names.push(Ie.readString(Fe)));return We;case 151552:return Ve=Ie.readUInt16(),this.offsets=Ie.read(Ve);case 196608:break;case 262144:return this.map=function(){var yt,ot,Zt;for(Zt=[],Qe=yt=0,ot=this.file.maxp.numGlyphs;0<=ot?yt<ot:yt>ot;Qe=0<=ot?++yt:--yt)Zt.push(Ie.readUInt32());return Zt}.call(this)}},ge}(),ur=function(ge,Ie){this.raw=ge,this.length=ge.length,this.platformID=Ie.platformID,this.encodingID=Ie.encodingID,this.languageID=Ie.languageID},fr=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="name",ge.prototype.parse=function(Ie){var Fe,Ve,We,Qe,yt,ot,Zt,Rr,Lr,Gr,er;for(Ie.pos=this.offset,Ie.readShort(),Fe=Ie.readShort(),ot=Ie.readShort(),Ve=[],Qe=0;0<=Fe?Qe<Fe:Qe>Fe;Qe=0<=Fe?++Qe:--Qe)Ve.push({platformID:Ie.readShort(),encodingID:Ie.readShort(),languageID:Ie.readShort(),nameID:Ie.readShort(),length:Ie.readShort(),offset:this.offset+ot+Ie.readShort()});for(Zt={},Qe=Lr=0,Gr=Ve.length;Lr<Gr;Qe=++Lr)We=Ve[Qe],Ie.pos=We.offset,Rr=Ie.readString(We.length),yt=new ur(Rr,We),Zt[er=We.nameID]==null&&(Zt[er]=[]),Zt[We.nameID].push(yt);this.strings=Zt,this.copyright=Zt[0],this.fontFamily=Zt[1],this.fontSubfamily=Zt[2],this.uniqueSubfamily=Zt[3],this.fontName=Zt[4],this.version=Zt[5];try{this.postscriptName=Zt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(On){this.postscriptName=Zt[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Zt[7],this.manufacturer=Zt[8],this.designer=Zt[9],this.description=Zt[10],this.vendorUrl=Zt[11],this.designerUrl=Zt[12],this.license=Zt[13],this.licenseUrl=Zt[14],this.preferredFamily=Zt[15],this.preferredSubfamily=Zt[17],this.compatibleFull=Zt[18],this.sampleText=Zt[19]},ge}(),Jr=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="maxp",ge.prototype.parse=function(Ie){return Ie.pos=this.offset,this.version=Ie.readInt(),this.numGlyphs=Ie.readUInt16(),this.maxPoints=Ie.readUInt16(),this.maxContours=Ie.readUInt16(),this.maxCompositePoints=Ie.readUInt16(),this.maxComponentContours=Ie.readUInt16(),this.maxZones=Ie.readUInt16(),this.maxTwilightPoints=Ie.readUInt16(),this.maxStorage=Ie.readUInt16(),this.maxFunctionDefs=Ie.readUInt16(),this.maxInstructionDefs=Ie.readUInt16(),this.maxStackElements=Ie.readUInt16(),this.maxSizeOfInstructions=Ie.readUInt16(),this.maxComponentElements=Ie.readUInt16(),this.maxComponentDepth=Ie.readUInt16()},ge}(),Zr=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="hmtx",ge.prototype.parse=function(Ie){var Fe,Ve,We,Qe,yt,ot,Zt;for(Ie.pos=this.offset,this.metrics=[],Fe=0,ot=this.file.hhea.numberOfMetrics;0<=ot?Fe<ot:Fe>ot;Fe=0<=ot?++Fe:--Fe)this.metrics.push({advance:Ie.readUInt16(),lsb:Ie.readInt16()});for(We=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Rr,Lr;for(Lr=[],Fe=Rr=0;0<=We?Rr<We:Rr>We;Fe=0<=We?++Rr:--Rr)Lr.push(Ie.readInt16());return Lr}(),this.widths=function(){var Rr,Lr,Gr,er;for(er=[],Rr=0,Lr=(Gr=this.metrics).length;Rr<Lr;Rr++)Qe=Gr[Rr],er.push(Qe.advance);return er}.call(this),Ve=this.widths[this.widths.length-1],Zt=[],Fe=yt=0;0<=We?yt<We:yt>We;Fe=0<=We?++yt:--yt)Zt.push(this.widths.push(Ve));return Zt},ge.prototype.forGlyph=function(Ie){return Ie in this.metrics?this.metrics[Ie]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Ie-this.metrics.length]}},ge}(),Fn=[].slice,Rn=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="glyf",ge.prototype.parse=function(){return this.cache={}},ge.prototype.glyphFor=function(Ie){var Fe,Ve,We,Qe,yt,ot,Zt,Rr,Lr,Gr;return Ie in this.cache?this.cache[Ie]:(Qe=this.file.loca,Fe=this.file.contents,Ve=Qe.indexOf(Ie),(We=Qe.lengthOf(Ie))===0?this.cache[Ie]=null:(Fe.pos=this.offset+Ve,yt=(ot=new xt(Fe.read(We))).readShort(),Rr=ot.readShort(),Gr=ot.readShort(),Zt=ot.readShort(),Lr=ot.readShort(),this.cache[Ie]=yt===-1?new di(ot,Rr,Gr,Zt,Lr):new ei(ot,yt,Rr,Gr,Zt,Lr),this.cache[Ie]))},ge.prototype.encode=function(Ie,Fe,Ve){var We,Qe,yt,ot,Zt;for(yt=[],Qe=[],ot=0,Zt=Fe.length;ot<Zt;ot++)We=Ie[Fe[ot]],Qe.push(yt.length),We&&(yt=yt.concat(We.encode(Ve)));return Qe.push(yt.length),{table:yt,offsets:Qe}},ge}(),ei=function(){function Ye(ge,Ie,Fe,Ve,We,Qe){this.raw=ge,this.numberOfContours=Ie,this.xMin=Fe,this.yMin=Ve,this.xMax=We,this.yMax=Qe,this.compound=!1}return Ye.prototype.encode=function(){return this.raw.data},Ye}(),di=function(){function Ye(ge,Ie,Fe,Ve,We){var Qe,yt;for(this.raw=ge,this.xMin=Ie,this.yMin=Fe,this.xMax=Ve,this.yMax=We,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Qe=this.raw;yt=Qe.readShort(),this.glyphOffsets.push(Qe.pos),this.glyphIDs.push(Qe.readUInt16()),32&yt;)Qe.pos+=1&yt?4:2,128&yt?Qe.pos+=8:64&yt?Qe.pos+=4:8&yt&&(Qe.pos+=2)}return Ye.prototype.encode=function(){var ge,Ie,Fe;for(Ie=new xt(Fn.call(this.raw.data)),ge=0,Fe=this.glyphIDs.length;ge<Fe;++ge)Ie.pos=this.glyphOffsets[ge];return Ie.data},Ye}(),gi=function(Ye){function ge(){return ge.__super__.constructor.apply(this,arguments)}return $t(ge,qr),ge.prototype.tag="loca",ge.prototype.parse=function(Ie){var Fe,Ve;return Ie.pos=this.offset,Fe=this.file.head.indexToLocFormat,this.offsets=Fe===0?function(){var We,Qe;for(Qe=[],Ve=0,We=this.length;Ve<We;Ve+=2)Qe.push(2*Ie.readUInt16());return Qe}.call(this):function(){var We,Qe;for(Qe=[],Ve=0,We=this.length;Ve<We;Ve+=4)Qe.push(Ie.readUInt32());return Qe}.call(this)},ge.prototype.indexOf=function(Ie){return this.offsets[Ie]},ge.prototype.lengthOf=function(Ie){return this.offsets[Ie+1]-this.offsets[Ie]},ge.prototype.encode=function(Ie,Fe){for(var Ve=new Uint32Array(this.offsets.length),We=0,Qe=0,yt=0;yt<Ve.length;++yt)if(Ve[yt]=We,Qe<Fe.length&&Fe[Qe]==yt){++Qe,Ve[yt]=We;var ot=this.offsets[yt],Zt=this.offsets[yt+1]-ot;Zt>0&&(We+=Zt)}for(var Rr=new Array(4*Ve.length),Lr=0;Lr<Ve.length;++Lr)Rr[4*Lr+3]=255&Ve[Lr],Rr[4*Lr+2]=(65280&Ve[Lr])>>8,Rr[4*Lr+1]=(16711680&Ve[Lr])>>16,Rr[4*Lr]=(4278190080&Ve[Lr])>>24;return Rr},ge}(),Ii=function(){function Ye(ge){this.font=ge,this.subset={},this.unicodes={},this.next=33}return Ye.prototype.generateCmap=function(){var ge,Ie,Fe,Ve,We;for(Ie in Ve=this.font.cmap.tables[0].codeMap,ge={},We=this.subset)Fe=We[Ie],ge[Ie]=Ve[Fe];return ge},Ye.prototype.glyphsFor=function(ge){var Ie,Fe,Ve,We,Qe,yt,ot;for(Ve={},Qe=0,yt=ge.length;Qe<yt;Qe++)Ve[We=ge[Qe]]=this.font.glyf.glyphFor(We);for(We in Ie=[],Ve)((Fe=Ve[We])!=null?Fe.compound:void 0)&&Ie.push.apply(Ie,Fe.glyphIDs);if(Ie.length>0)for(We in ot=this.glyphsFor(Ie))Fe=ot[We],Ve[We]=Fe;return Ve},Ye.prototype.encode=function(ge,Ie){var Fe,Ve,We,Qe,yt,ot,Zt,Rr,Lr,Gr,er,On,yr,gn,tn;for(Ve in Fe=Ut.encode(this.generateCmap(),"unicode"),Qe=this.glyphsFor(ge),er={0:0},tn=Fe.charMap)er[(ot=tn[Ve]).old]=ot.new;for(On in Gr=Fe.maxGlyphID,Qe)On in er||(er[On]=Gr++);return Rr=function(Fr){var Xn,hi;for(Xn in hi={},Fr)hi[Fr[Xn]]=Xn;return hi}(er),Lr=Object.keys(Rr).sort(function(Fr,Xn){return Fr-Xn}),yr=function(){var Fr,Xn,hi;for(hi=[],Fr=0,Xn=Lr.length;Fr<Xn;Fr++)yt=Lr[Fr],hi.push(Rr[yt]);return hi}(),We=this.font.glyf.encode(Qe,yr,er),Zt=this.font.loca.encode(We.offsets,yr),gn={cmap:this.font.cmap.raw(),glyf:We.table,loca:Zt,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(Ie)},this.font.os2.exists&&(gn["OS/2"]=this.font.os2.raw()),this.font.directory.encode(gn)},Ye}();H.API.PDFObject=function(){var Ye;function ge(){}return Ye=function(Fe,Ve){return(Array(Ve+1).join("0")+Fe).slice(-Ve)},ge.convert=function(Ie){var Fe,Ve,We,Qe;if(Array.isArray(Ie))return"["+function(){var yt,ot,Zt;for(Zt=[],yt=0,ot=Ie.length;yt<ot;yt++)Fe=Ie[yt],Zt.push(ge.convert(Fe));return Zt}().join(" ")+"]";if(typeof Ie=="string")return"/"+Ie;if(Ie!=null?Ie.isString:void 0)return"("+Ie+")";if(Ie instanceof Date)return"(D:"+Ye(Ie.getUTCFullYear(),4)+Ye(Ie.getUTCMonth(),2)+Ye(Ie.getUTCDate(),2)+Ye(Ie.getUTCHours(),2)+Ye(Ie.getUTCMinutes(),2)+Ye(Ie.getUTCSeconds(),2)+"Z)";if({}.toString.call(Ie)==="[object Object]"){for(Ve in We=["<<"],Ie)Qe=Ie[Ve],We.push("/"+Ve+" "+ge.convert(Qe));return We.push(">>"),We.join(`
`)}return""+Ie},ge}(),N.default=H}.call(this,n("yLpj"))},e5VY:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("YNAk"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},eIcI:function(M,N,n){var v=n("bYtY"),p=n("hM6l");function S(g,f,d){p.call(this,g,f,d),this.type="value",this.angle=0,this.name="",this.model}v.inherits(S,p);var m=S;M.exports=m},eJH7:function(M,N,n){var v=n("bYtY");function p(S){var m=S.polar;if(m){v.isArray(m)||(m=[m]);var g=[];v.each(m,function(f,d){f.indicator?(f.type&&!f.shape&&(f.shape=f.type),S.radar=S.radar||[],v.isArray(S.radar)||(S.radar=[S.radar]),S.radar.push(f)):g.push(f)}),S.polar=g}v.each(S.series,function(f){f&&f.type==="radar"&&f.polarIndex&&(f.radarIndex=f.polarIndex)})}M.exports=p},eP3c:function(M,N,n){"use strict";function v(ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(Q){return typeof Q}:v=function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},v(ke)}Object.defineProperty(N,"__esModule",{value:!0}),N.inflateReset=ae,N.inflateReset2=fe,N.inflateResetKeep=De,N.inflateInit=Je,N.inflateInit2=Oe,N.inflate=Ot,N.inflateEnd=Bt,N.inflateGetHeader=kt,N.inflateSetDictionary=_t,N.inflateInfo=N.Z_DEFLATED=N.Z_BUF_ERROR=N.Z_MEM_ERROR=N.Z_DATA_ERROR=N.Z_STREAM_ERROR=N.Z_NEED_DICT=N.Z_STREAM_END=N.Z_OK=N.Z_TREES=N.Z_BLOCK=N.Z_FINISH=void 0;var p=o(n("6BzB")),S=d(n("xlC8")),m=d(n("QV2g")),g=d(n("sjKO")),f=d(n("JSwD"));function d(ke){return ke&&ke.__esModule?ke:{default:ke}}function c(){if(typeof WeakMap!="function")return null;var ke=new WeakMap;return c=function(){return ke},ke}function o(ke){if(ke&&ke.__esModule)return ke;if(ke===null||v(ke)!=="object"&&typeof ke!="function")return{default:ke};var te=c();if(te&&te.has(ke))return te.get(ke);var Q={},qe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var je in ke)if(Object.prototype.hasOwnProperty.call(ke,je)){var q=qe?Object.getOwnPropertyDescriptor(ke,je):null;q&&(q.get||q.set)?Object.defineProperty(Q,je,q):Q[je]=ke[je]}return Q.default=ke,te&&te.set(ke,Q),Q}var i=0,t=1,a=2,e=4;N.Z_FINISH=e;var l=5;N.Z_BLOCK=l;var r=6;N.Z_TREES=r;var s=0;N.Z_OK=s;var u=1;N.Z_STREAM_END=u;var h=2;N.Z_NEED_DICT=h;var A=-2;N.Z_STREAM_ERROR=A;var y=-3;N.Z_DATA_ERROR=y;var w=-4;N.Z_MEM_ERROR=w;var b=-5;N.Z_BUF_ERROR=b;var x=8;N.Z_DEFLATED=x;var O=1,T=2,E=3,C=4,_=5,L=6,P=7,k=8,F=9,j=10,z=11,R=12,U=13,B=14,H=15,K=16,V=17,W=18,G=19,re=20,ye=21,$=22,ve=23,Ce=24,Se=25,Ke=26,ue=27,Le=28,ee=29,le=30,et=31,Re=32,Ae=852,oe=592,ce=15,be=ce;function Te(ke){return(ke>>>24&255)+(ke>>>8&65280)+((ke&65280)<<8)+((ke&255)<<24)}function Be(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new p.Buf16(320),this.work=new p.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function De(ke){var te;return!ke||!ke.state?A:(te=ke.state,ke.total_in=ke.total_out=te.total=0,ke.msg="",te.wrap&&(ke.adler=te.wrap&1),te.mode=O,te.last=0,te.havedict=0,te.dmax=32768,te.head=null,te.hold=0,te.bits=0,te.lencode=te.lendyn=new p.Buf32(Ae),te.distcode=te.distdyn=new p.Buf32(oe),te.sane=1,te.back=-1,s)}function ae(ke){var te;return!ke||!ke.state?A:(te=ke.state,te.wsize=0,te.whave=0,te.wnext=0,De(ke))}function fe(ke,te){var Q,qe;return!ke||!ke.state?A:(qe=ke.state,te<0?(Q=0,te=-te):(Q=(te>>4)+1,te<48&&(te&=15)),te&&(te<8||te>15)?A:(qe.window!==null&&qe.wbits!==te&&(qe.window=null),qe.wrap=Q,qe.wbits=te,ae(ke)))}function Oe(ke,te){var Q,qe;return ke?(qe=new Be,ke.state=qe,qe.window=null,Q=fe(ke,te),Q!==s&&(ke.state=null),Q):A}function Je(ke){return Oe(ke,be)}var Et=!0,Ze,Ne;function It(ke){if(Et){var te;for(Ze=new p.Buf32(512),Ne=new p.Buf32(32),te=0;te<144;)ke.lens[te++]=8;for(;te<256;)ke.lens[te++]=9;for(;te<280;)ke.lens[te++]=7;for(;te<288;)ke.lens[te++]=8;for((0,f.default)(t,ke.lens,0,288,Ze,0,ke.work,{bits:9}),te=0;te<32;)ke.lens[te++]=5;(0,f.default)(a,ke.lens,0,32,Ne,0,ke.work,{bits:5}),Et=!1}ke.lencode=Ze,ke.lenbits=9,ke.distcode=Ne,ke.distbits=5}function Xe(ke,te,Q,qe){var je,q=ke.state;return q.window===null&&(q.wsize=1<<q.wbits,q.wnext=0,q.whave=0,q.window=new p.Buf8(q.wsize)),qe>=q.wsize?(p.arraySet(q.window,te,Q-q.wsize,q.wsize,0),q.wnext=0,q.whave=q.wsize):(je=q.wsize-q.wnext,je>qe&&(je=qe),p.arraySet(q.window,te,Q-qe,je,q.wnext),qe-=je,qe?(p.arraySet(q.window,te,Q-qe,qe,0),q.wnext=qe,q.whave=q.wsize):(q.wnext+=je,q.wnext===q.wsize&&(q.wnext=0),q.whave<q.wsize&&(q.whave+=je))),0}function Ot(ke,te){var Q,qe,je,q,wt,Vt,lt,or,vr,An,hr,xr,nr,Yt,gt=0,zr,pn,Nn,Vn,xi,bn,Pn,jt,At=new p.Buf8(4),xe,we,Ee=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!ke||!ke.state||!ke.output||!ke.input&&ke.avail_in!==0)return A;Q=ke.state,Q.mode===R&&(Q.mode=U),wt=ke.next_out,je=ke.output,lt=ke.avail_out,q=ke.next_in,qe=ke.input,Vt=ke.avail_in,or=Q.hold,vr=Q.bits,An=Vt,hr=lt,jt=s;e:for(;;)switch(Q.mode){case O:if(Q.wrap===0){Q.mode=U;break}for(;vr<16;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if(Q.wrap&2&&or===35615){Q.check=0,At[0]=or&255,At[1]=or>>>8&255,Q.check=(0,m.default)(Q.check,At,2,0),or=0,vr=0,Q.mode=T;break}if(Q.flags=0,Q.head&&(Q.head.done=!1),!(Q.wrap&1)||(((or&255)<<8)+(or>>8))%31){ke.msg="incorrect header check",Q.mode=le;break}if((or&15)!==x){ke.msg="unknown compression method",Q.mode=le;break}if(or>>>=4,vr-=4,Pn=(or&15)+8,Q.wbits===0)Q.wbits=Pn;else if(Pn>Q.wbits){ke.msg="invalid window size",Q.mode=le;break}Q.dmax=1<<Pn,ke.adler=Q.check=1,Q.mode=or&512?j:R,or=0,vr=0;break;case T:for(;vr<16;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if(Q.flags=or,(Q.flags&255)!==x){ke.msg="unknown compression method",Q.mode=le;break}if(Q.flags&57344){ke.msg="unknown header flags set",Q.mode=le;break}Q.head&&(Q.head.text=or>>8&1),Q.flags&512&&(At[0]=or&255,At[1]=or>>>8&255,Q.check=(0,m.default)(Q.check,At,2,0)),or=0,vr=0,Q.mode=E;case E:for(;vr<32;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}Q.head&&(Q.head.time=or),Q.flags&512&&(At[0]=or&255,At[1]=or>>>8&255,At[2]=or>>>16&255,At[3]=or>>>24&255,Q.check=(0,m.default)(Q.check,At,4,0)),or=0,vr=0,Q.mode=C;case C:for(;vr<16;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}Q.head&&(Q.head.xflags=or&255,Q.head.os=or>>8),Q.flags&512&&(At[0]=or&255,At[1]=or>>>8&255,Q.check=(0,m.default)(Q.check,At,2,0)),or=0,vr=0,Q.mode=_;case _:if(Q.flags&1024){for(;vr<16;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}Q.length=or,Q.head&&(Q.head.extra_len=or),Q.flags&512&&(At[0]=or&255,At[1]=or>>>8&255,Q.check=(0,m.default)(Q.check,At,2,0)),or=0,vr=0}else Q.head&&(Q.head.extra=null);Q.mode=L;case L:if(Q.flags&1024&&(xr=Q.length,xr>Vt&&(xr=Vt),xr&&(Q.head&&(Pn=Q.head.extra_len-Q.length,Q.head.extra||(Q.head.extra=new Array(Q.head.extra_len)),p.arraySet(Q.head.extra,qe,q,xr,Pn)),Q.flags&512&&(Q.check=(0,m.default)(Q.check,qe,xr,q)),Vt-=xr,q+=xr,Q.length-=xr),Q.length))break e;Q.length=0,Q.mode=P;case P:if(Q.flags&2048){if(Vt===0)break e;xr=0;do Pn=qe[q+xr++],Q.head&&Pn&&Q.length<65536&&(Q.head.name+=String.fromCharCode(Pn));while(Pn&&xr<Vt);if(Q.flags&512&&(Q.check=(0,m.default)(Q.check,qe,xr,q)),Vt-=xr,q+=xr,Pn)break e}else Q.head&&(Q.head.name=null);Q.length=0,Q.mode=k;case k:if(Q.flags&4096){if(Vt===0)break e;xr=0;do Pn=qe[q+xr++],Q.head&&Pn&&Q.length<65536&&(Q.head.comment+=String.fromCharCode(Pn));while(Pn&&xr<Vt);if(Q.flags&512&&(Q.check=(0,m.default)(Q.check,qe,xr,q)),Vt-=xr,q+=xr,Pn)break e}else Q.head&&(Q.head.comment=null);Q.mode=F;case F:if(Q.flags&512){for(;vr<16;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if(or!==(Q.check&65535)){ke.msg="header crc mismatch",Q.mode=le;break}or=0,vr=0}Q.head&&(Q.head.hcrc=Q.flags>>9&1,Q.head.done=!0),ke.adler=Q.check=0,Q.mode=R;break;case j:for(;vr<32;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}ke.adler=Q.check=Te(or),or=0,vr=0,Q.mode=z;case z:if(Q.havedict===0)return ke.next_out=wt,ke.avail_out=lt,ke.next_in=q,ke.avail_in=Vt,Q.hold=or,Q.bits=vr,h;ke.adler=Q.check=1,Q.mode=R;case R:if(te===l||te===r)break e;case U:if(Q.last){or>>>=vr&7,vr-=vr&7,Q.mode=ue;break}for(;vr<3;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}Q.last=or&1,or>>>=1,vr-=1;switch(or&3){case 0:Q.mode=B;break;case 1:if(It(Q),Q.mode=re,te===r){or>>>=2,vr-=2;break e}break;case 2:Q.mode=V;break;case 3:ke.msg="invalid block type",Q.mode=le}or>>>=2,vr-=2;break;case B:for(or>>>=vr&7,vr-=vr&7;vr<32;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if((or&65535)!==(or>>>16^65535)){ke.msg="invalid stored block lengths",Q.mode=le;break}if(Q.length=or&65535,or=0,vr=0,Q.mode=H,te===r)break e;case H:Q.mode=K;case K:if(xr=Q.length,xr){if(xr>Vt&&(xr=Vt),xr>lt&&(xr=lt),xr===0)break e;p.arraySet(je,qe,q,xr,wt),Vt-=xr,q+=xr,lt-=xr,wt+=xr,Q.length-=xr;break}Q.mode=R;break;case V:for(;vr<14;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if(Q.nlen=(or&31)+257,or>>>=5,vr-=5,Q.ndist=(or&31)+1,or>>>=5,vr-=5,Q.ncode=(or&15)+4,or>>>=4,vr-=4,Q.nlen>286||Q.ndist>30){ke.msg="too many length or distance symbols",Q.mode=le;break}Q.have=0,Q.mode=W;case W:for(;Q.have<Q.ncode;){for(;vr<3;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}Q.lens[Ee[Q.have++]]=or&7,or>>>=3,vr-=3}for(;Q.have<19;)Q.lens[Ee[Q.have++]]=0;if(Q.lencode=Q.lendyn,Q.lenbits=7,xe={bits:Q.lenbits},jt=(0,f.default)(i,Q.lens,0,19,Q.lencode,0,Q.work,xe),Q.lenbits=xe.bits,jt){ke.msg="invalid code lengths set",Q.mode=le;break}Q.have=0,Q.mode=G;case G:for(;Q.have<Q.nlen+Q.ndist;){for(;!(gt=Q.lencode[or&(1<<Q.lenbits)-1],zr=gt>>>24,pn=gt>>>16&255,Nn=gt&65535,zr<=vr);){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if(Nn<16)or>>>=zr,vr-=zr,Q.lens[Q.have++]=Nn;else{if(Nn===16){for(we=zr+2;vr<we;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if(or>>>=zr,vr-=zr,Q.have===0){ke.msg="invalid bit length repeat",Q.mode=le;break}Pn=Q.lens[Q.have-1],xr=3+(or&3),or>>>=2,vr-=2}else if(Nn===17){for(we=zr+3;vr<we;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}or>>>=zr,vr-=zr,Pn=0,xr=3+(or&7),or>>>=3,vr-=3}else{for(we=zr+7;vr<we;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}or>>>=zr,vr-=zr,Pn=0,xr=11+(or&127),or>>>=7,vr-=7}if(Q.have+xr>Q.nlen+Q.ndist){ke.msg="invalid bit length repeat",Q.mode=le;break}for(;xr--;)Q.lens[Q.have++]=Pn}}if(Q.mode===le)break;if(Q.lens[256]===0){ke.msg="invalid code -- missing end-of-block",Q.mode=le;break}if(Q.lenbits=9,xe={bits:Q.lenbits},jt=(0,f.default)(t,Q.lens,0,Q.nlen,Q.lencode,0,Q.work,xe),Q.lenbits=xe.bits,jt){ke.msg="invalid literal/lengths set",Q.mode=le;break}if(Q.distbits=6,Q.distcode=Q.distdyn,xe={bits:Q.distbits},jt=(0,f.default)(a,Q.lens,Q.nlen,Q.ndist,Q.distcode,0,Q.work,xe),Q.distbits=xe.bits,jt){ke.msg="invalid distances set",Q.mode=le;break}if(Q.mode=re,te===r)break e;case re:Q.mode=ye;case ye:if(Vt>=6&&lt>=258){ke.next_out=wt,ke.avail_out=lt,ke.next_in=q,ke.avail_in=Vt,Q.hold=or,Q.bits=vr,(0,g.default)(ke,hr),wt=ke.next_out,je=ke.output,lt=ke.avail_out,q=ke.next_in,qe=ke.input,Vt=ke.avail_in,or=Q.hold,vr=Q.bits,Q.mode===R&&(Q.back=-1);break}for(Q.back=0;!(gt=Q.lencode[or&(1<<Q.lenbits)-1],zr=gt>>>24,pn=gt>>>16&255,Nn=gt&65535,zr<=vr);){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if(pn&&(pn&240)===0){for(Vn=zr,xi=pn,bn=Nn;!(gt=Q.lencode[bn+((or&(1<<Vn+xi)-1)>>Vn)],zr=gt>>>24,pn=gt>>>16&255,Nn=gt&65535,Vn+zr<=vr);){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}or>>>=Vn,vr-=Vn,Q.back+=Vn}if(or>>>=zr,vr-=zr,Q.back+=zr,Q.length=Nn,pn===0){Q.mode=Ke;break}if(pn&32){Q.back=-1,Q.mode=R;break}if(pn&64){ke.msg="invalid literal/length code",Q.mode=le;break}Q.extra=pn&15,Q.mode=$;case $:if(Q.extra){for(we=Q.extra;vr<we;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}Q.length+=or&(1<<Q.extra)-1,or>>>=Q.extra,vr-=Q.extra,Q.back+=Q.extra}Q.was=Q.length,Q.mode=ve;case ve:for(;!(gt=Q.distcode[or&(1<<Q.distbits)-1],zr=gt>>>24,pn=gt>>>16&255,Nn=gt&65535,zr<=vr);){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if((pn&240)===0){for(Vn=zr,xi=pn,bn=Nn;!(gt=Q.distcode[bn+((or&(1<<Vn+xi)-1)>>Vn)],zr=gt>>>24,pn=gt>>>16&255,Nn=gt&65535,Vn+zr<=vr);){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}or>>>=Vn,vr-=Vn,Q.back+=Vn}if(or>>>=zr,vr-=zr,Q.back+=zr,pn&64){ke.msg="invalid distance code",Q.mode=le;break}Q.offset=Nn,Q.extra=pn&15,Q.mode=Ce;case Ce:if(Q.extra){for(we=Q.extra;vr<we;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}Q.offset+=or&(1<<Q.extra)-1,or>>>=Q.extra,vr-=Q.extra,Q.back+=Q.extra}if(Q.offset>Q.dmax){ke.msg="invalid distance too far back",Q.mode=le;break}Q.mode=Se;case Se:if(lt===0)break e;if(xr=hr-lt,Q.offset>xr){if(xr=Q.offset-xr,xr>Q.whave&&Q.sane){ke.msg="invalid distance too far back",Q.mode=le;break}xr>Q.wnext?(xr-=Q.wnext,nr=Q.wsize-xr):nr=Q.wnext-xr,xr>Q.length&&(xr=Q.length),Yt=Q.window}else Yt=je,nr=wt-Q.offset,xr=Q.length;xr>lt&&(xr=lt),lt-=xr,Q.length-=xr;do je[wt++]=Yt[nr++];while(--xr);Q.length===0&&(Q.mode=ye);break;case Ke:if(lt===0)break e;je[wt++]=Q.length,lt--,Q.mode=ye;break;case ue:if(Q.wrap){for(;vr<32;){if(Vt===0)break e;Vt--,or|=qe[q++]<<vr,vr+=8}if(hr-=lt,ke.total_out+=hr,Q.total+=hr,hr&&(ke.adler=Q.check=Q.flags?(0,m.default)(Q.check,je,hr,wt-hr):(0,S.default)(Q.check,je,hr,wt-hr)),hr=lt,(Q.flags?or:Te(or))!==Q.check){ke.msg="incorrect data check",Q.mode=le;break}or=0,vr=0}Q.mode=Le;case Le:if(Q.wrap&&Q.flags){for(;vr<32;){if(Vt===0)break e;Vt--,or+=qe[q++]<<vr,vr+=8}if(or!==(Q.total&4294967295)){ke.msg="incorrect length check",Q.mode=le;break}or=0,vr=0}Q.mode=ee;case ee:jt=u;break e;case le:jt=y;break e;case et:return w;case Re:default:return A}return ke.next_out=wt,ke.avail_out=lt,ke.next_in=q,ke.avail_in=Vt,Q.hold=or,Q.bits=vr,(Q.wsize||hr!==ke.avail_out&&Q.mode<le&&(Q.mode<ue||te!==e))&&Xe(ke,ke.output,ke.next_out,hr-ke.avail_out)?(Q.mode=et,w):(An-=ke.avail_in,hr-=ke.avail_out,ke.total_in+=An,ke.total_out+=hr,Q.total+=hr,Q.wrap&&hr&&(ke.adler=Q.check=Q.flags?(0,m.default)(Q.check,je,hr,ke.next_out-hr):(0,S.default)(Q.check,je,hr,ke.next_out-hr)),ke.data_type=Q.bits+(Q.last?64:0)+(Q.mode===R?128:0)+(Q.mode===re||Q.mode===H?256:0),(An===0&&hr===0||te===e)&&jt===s&&(jt=b),jt)}function Bt(ke){if(!ke||!ke.state)return A;var te=ke.state;return te.window&&(te.window=null),ke.state=null,s}function kt(ke,te){var Q;return!ke||!ke.state?A:(Q=ke.state,(Q.wrap&2)===0?A:(Q.head=te,te.done=!1,s))}function _t(ke,te){var Q=te.length,qe,je,q;return!ke||!ke.state?A:(qe=ke.state,qe.wrap!==0&&qe.mode!==z?A:qe.mode===z&&(je=1,je=(0,S.default)(je,te,Q,0),je!==qe.check)?y:(q=Xe(ke,te,Q,Q),q?(qe.mode=et,w):(qe.havedict=1,s)))}var Ft="pako inflate (from Nodeca project)";N.inflateInfo=Ft},ePAk:function(M,N,n){var v=n("ProS");n("2fGM");var p=v.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(S){var m,g=this.ecModel;return g.eachComponent(S,function(f){f.getCoordSysModel()===this&&(m=f)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});M.exports=p},eRkO:function(M,N,n){var v=n("+TT/"),p=v.getLayoutRect,S=v.box,m=v.positionElement,g=n("7aKB"),f=n("IwbS");function d(o,i,t){var a=i.getBoxLayoutParams(),e=i.get("padding"),l={width:t.getWidth(),height:t.getHeight()},r=p(a,l,e);S(i.get("orient"),o,i.get("itemGap"),r.width,r.height),m(o,a,l,e)}function c(o,i){var t=g.normalizeCssArray(i.get("padding")),a=i.getItemStyle(["color","opacity"]);a.fill=i.get("backgroundColor");var o=new f.Rect({shape:{x:o.x-t[3],y:o.y-t[0],width:o.width+t[1]+t[3],height:o.height+t[0]+t[2],r:i.get("borderRadius")},style:a,silent:!0,z2:-1});return o}N.layout=d,N.makeBackground=c},eS4l:function(M,N,n){n("HM/N"),n("FNN5")},eUgh:function(M,N){function n(v,p){for(var S=-1,m=v==null?0:v.length,g=Array(m);++S<m;)g[S]=p(v[S],S,v);return g}M.exports=n},ewwo:function(M,N,n){var v=n("bMXI"),p=n("+TT/"),S=p.getLayoutRect,m=n("4mN7");function g(d,c,o){var i=d.getBoxLayoutParams();return i.aspect=o,S(i,{width:c.getWidth(),height:c.getHeight()})}function f(d,c){var o=[];return d.eachSeriesByType("graph",function(i){var t=i.get("coordinateSystem");if(!t||t==="view"){var a=i.getData(),e=a.mapArray(function(x){var O=a.getItemModel(x);return[+O.get("x"),+O.get("y")]}),l=[],r=[];m.fromPoints(e,l,r),r[0]-l[0]===0&&(r[0]+=1,l[0]-=1),r[1]-l[1]===0&&(r[1]+=1,l[1]-=1);var s=(r[0]-l[0])/(r[1]-l[1]),u=g(i,c,s);isNaN(s)&&(l=[u.x,u.y],r=[u.x+u.width,u.y+u.height]);var h=r[0]-l[0],A=r[1]-l[1],y=u.width,w=u.height,b=i.coordinateSystem=new v;b.zoomLimit=i.get("scaleLimit"),b.setBoundingRect(l[0],l[1],h,A),b.setViewRect(u.x,u.y,y,w),b.setCenter(i.get("center")),b.setZoom(i.get("zoom")),o.push(b)}}),o}M.exports=f},f1nB:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("bYtY"),g=n("4NO4"),f=n("IwbS"),d=n("+TT/"),c=n("OELB"),o=c.parsePercent,i={path:null,compoundPath:null,group:f.Group,image:f.Image,text:f.Text};S.registerPreprocessor(function(y){var w=y.graphic;m.isArray(w)?!w[0]||!w[0].elements?y.graphic=[{elements:w}]:y.graphic=[y.graphic[0]]:w&&!w.elements&&(y.graphic=[{elements:[w]}])});var t=S.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(y){var w=this.option.elements;this.option.elements=null,t.superApply(this,"mergeOption",arguments),this.option.elements=w},optionUpdated:function(y,w){var b=this.option,x=(w?b:y).elements,O=b.elements=w?[]:b.elements,T=[];this._flatten(x,T);var E=g.mappingToExists(O,T);g.makeIdAndName(E);var C=this._elOptionsToUpdate=[];m.each(E,function(L,P){var k=L.option;if(!k)return;C.push(k),s(L,k),u(O,P,k),h(O[P],k)},this);for(var _=O.length-1;_>=0;_--)O[_]==null?O.splice(_,1):delete O[_].$action},_flatten:function(y,w,b){m.each(y,function(x){if(!x)return;b&&(x.parentOption=b),w.push(x);var O=x.children;x.type==="group"&&O&&this._flatten(O,w,x),delete x.children},this)},useElOptionsToUpdate:function(){var y=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,y}});S.extendComponentView({type:"graphic",init:function(y,w){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(y,w,b){y!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=y,this._updateElements(y),this._relocate(y,b)},_updateElements:function(y){var w=y.useElOptionsToUpdate();if(!w)return;var b=this._elMap,x=this.group;m.each(w,function(O){var T=O.$action,E=O.id,C=b.get(E),_=O.parentId,L=_!=null?b.get(_):x,P=O.style;O.type==="text"&&P&&(O.hv&&O.hv[1]&&(P.textVerticalAlign=P.textBaseline=null),!P.hasOwnProperty("textFill")&&P.fill&&(P.textFill=P.fill),!P.hasOwnProperty("textStroke")&&P.stroke&&(P.textStroke=P.stroke));var k=l(O);!T||T==="merge"?C?C.attr(k):a(E,L,k,b):T==="replace"?(e(C,b),a(E,L,k,b)):T==="remove"&&e(C,b);var F=b.get(E);F&&(F.__ecGraphicWidthOption=O.width,F.__ecGraphicHeightOption=O.height,A(F,y,O))})},_relocate:function(y,w){for(var b=y.option.elements,x=this.group,O=this._elMap,T=w.getWidth(),E=w.getHeight(),C=0;C<b.length;C++){var _=b[C],L=O.get(_.id);if(!L||!L.isGroup)continue;var P=L.parent,k=P===x;L.__ecGraphicWidth=o(L.__ecGraphicWidthOption,k?T:P.__ecGraphicWidth)||0,L.__ecGraphicHeight=o(L.__ecGraphicHeightOption,k?E:P.__ecGraphicHeight)||0}for(var C=b.length-1;C>=0;C--){var _=b[C],L=O.get(_.id);if(!L)continue;var P=L.parent,F=P===x?{width:T,height:E}:{width:P.__ecGraphicWidth,height:P.__ecGraphicHeight};d.positionElement(L,_,F,null,{hv:_.hv,boundingMode:_.bounding})}},_clear:function(){var y=this._elMap;y.each(function(w){e(w,y)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function a(y,w,b,x){var O=b.type,T=i.hasOwnProperty(O)?i[O]:f.getShapeClass(O),E=new T(b);w.add(E),x.set(y,E),E.__ecGraphicId=y}function e(y,w){var b=y&&y.parent;b&&(y.type==="group"&&y.traverse(function(x){e(x,w)}),w.removeKey(y.__ecGraphicId),b.remove(y))}function l(y){return y=m.extend({},y),m.each(["id","parentId","$action","hv","bounding"].concat(d.LOCATION_PARAMS),function(w){delete y[w]}),y}function r(y,w){var b;return m.each(w,function(x){y[x]!=null&&y[x]!=="auto"&&(b=!0)}),b}function s(y,w){var b=y.exist;if(w.id=y.keyInfo.id,!w.type&&b&&(w.type=b.type),w.parentId==null){var x=w.parentOption;x?w.parentId=x.id:b&&(w.parentId=b.parentId)}w.parentOption=null}function u(y,w,b){var x=m.extend({},b),O=y[w],T=b.$action||"merge";T==="merge"?O?(m.merge(O,x,!0),d.mergeLayoutParam(O,x,{ignoreSize:!0}),d.copyLayoutParams(b,O)):y[w]=x:T==="replace"?y[w]=x:T==="remove"&&(O&&(y[w]=null))}function h(y,w){if(!y)return;y.hv=w.hv=[r(w,["left","right"]),r(w,["top","bottom"])],y.type==="group"&&(y.width==null&&(y.width=w.width=0),y.height==null&&(y.height=w.height=0))}function A(y,w,b){var x=y.eventData;!y.silent&&!y.ignore&&!x&&(x=y.eventData={componentType:"graphic",componentIndex:w.componentIndex,name:y.name}),x&&(x.info=y.info)}},f3JH:function(M,N,n){n("aTJb"),n("OlYY"),n("fc+c"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},f5HG:function(M,N,n){var v=n("IwbS"),p=n("QBsz"),S=v.Line.prototype,m=v.BezierCurve.prototype;function g(d){return isNaN(+d.cpx1)||isNaN(+d.cpy1)}var f=v.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(d,c){this[g(c)?"_buildPathLine":"_buildPathCurve"](d,c)},_buildPathLine:S.buildPath,_buildPathCurve:m.buildPath,pointAt:function(d){return this[g(this.shape)?"_pointAtLine":"_pointAtCurve"](d)},_pointAtLine:S.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(d){var c=this.shape,o=g(c)?[c.x2-c.x1,c.y2-c.y1]:this._tangentAtCurve(d);return p.normalize(o,o)},_tangentAtCurve:m.tangentAt});M.exports=f},f5Yq:function(M,N,n){var v=n("bYtY"),p=v.isFunction;function S(m,g,f){return{seriesType:m,performRawSeries:!0,reset:function(d,c,o){var i=d.getData(),t=d.get("symbol"),a=d.get("symbolSize"),e=d.get("symbolKeepAspect"),l=d.get("symbolRotate"),r=p(t),s=p(a),u=p(l),h=r||s||u,A=!r&&t?t:g,y=s?null:a,w=u?null:w;if(i.setVisual({legendSymbol:f||A,symbol:A,symbolSize:y,symbolKeepAspect:e,symbolRotate:l}),c.isSeriesFiltered(d))return;function b(x,O){if(h){var T=d.getRawValue(O),E=d.getDataParams(O);r&&x.setItemVisual(O,"symbol",t(T,E)),s&&x.setItemVisual(O,"symbolSize",a(T,E)),u&&x.setItemVisual(O,"symbolRotate",l(T,E))}if(x.hasItemOption){var C=x.getItemModel(O),_=C.getShallow("symbol",!0),L=C.getShallow("symbolSize",!0),P=C.getShallow("symbolRotate",!0),k=C.getShallow("symbolKeepAspect",!0);_!=null&&x.setItemVisual(O,"symbol",_),L!=null&&x.setItemVisual(O,"symbolSize",L),P!=null&&x.setItemVisual(O,"symbolRotate",P),k!=null&&x.setItemVisual(O,"symbolKeepAspect",k)}}return{dataEach:i.hasItemOption||h?b:null}}}}M.exports=S},fE02:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("/IIm"),m=n("vZ6x"),g=n("b9oc"),f=n("72pK"),d=n("Kagy"),c=n("IUWy");n("3TkU");var o=d.toolbox.dataZoom,i=p.each,t="\0_ec_\0toolbox-dataZoom_";function a(A,y,w){(this._brushController=new S(w.getZr())).on("brush",p.bind(this._onBrush,this)).mount(),this._isZoomActive}a.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:p.clone(o.title)};var e=a.prototype;e.render=function(A,y,w,b){this.model=A,this.ecModel=y,this.api=w,u(A,y,this,b,w),s(A,y)},e.onclick=function(A,y,w){l[w].call(this)},e.remove=function(A,y){this._brushController.unmount()},e.dispose=function(A,y){this._brushController.dispose()};var l={zoom:function(){var A=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:A})},back:function(){this._dispatchZoomAction(g.pop(this.ecModel))}};e._onBrush=function(A,y){if(!y.isEnd||!A.length)return;var w={},b=this.ecModel;this._brushController.updateCovers([]);var x=new m(r(this.model.option),b,{include:["grid"]});x.matchOutputRanges(A,b,function(E,C,_){if(_.type!=="cartesian2d")return;var L=E.brushType;L==="rect"?(O("x",_,C[0]),O("y",_,C[1])):O({lineX:"x",lineY:"y"}[L],_,C)}),g.push(b,w),this._dispatchZoomAction(w);function O(E,C,_){var L=C.getAxis(E),P=L.model,k=T(E,P,b),F=k.findRepresentativeAxisProxy(P).getMinMaxSpan();(F.minValueSpan!=null||F.maxValueSpan!=null)&&(_=f(0,_.slice(),L.scale.getExtent(),0,F.minValueSpan,F.maxValueSpan)),k&&(w[k.id]={dataZoomId:k.id,startValue:_[0],endValue:_[1]})}function T(E,C,_){var L;return _.eachComponent({mainType:"dataZoom",subType:"select"},function(P){var k=P.getAxisModel(E,C.componentIndex);k&&(L=P)}),L}},e._dispatchZoomAction=function(A){var y=[];i(A,function(w,b){y.push(p.clone(w))}),y.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:y})};function r(A){var y={};return p.each(["xAxisIndex","yAxisIndex"],function(w){y[w]=A[w],y[w]==null&&(y[w]="all"),(y[w]===!1||y[w]==="none")&&(y[w]=[])}),y}function s(A,y){A.setIconStatus("back",g.count(y)>1?"emphasis":"normal")}function u(A,y,w,b,x){var O=w._isZoomActive;b&&b.type==="takeGlobalCursor"&&(O=b.key==="dataZoomSelect"?b.dataZoomSelectActive:!1),w._isZoomActive=O,A.setIconStatus("zoom",O?"emphasis":"normal");var T=new m(r(A.option),y,{include:["grid"]});w._brushController.setPanels(T.makePanelOpts(x,function(E){return E.xAxisDeclared&&!E.yAxisDeclared?"lineX":!E.xAxisDeclared&&E.yAxisDeclared?"lineY":"rect"})).enableBrush(O?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}c.register("dataZoom",a),v.registerPreprocessor(function(A){if(!A)return;var y=A.dataZoom||(A.dataZoom=[]);p.isArray(y)||(A.dataZoom=y=[y]);var w=A.toolbox;if(w&&(p.isArray(w)&&(w=w[0]),w&&w.feature)){var b=w.feature.dataZoom;x("xAxis",b),x("yAxis",b)}function x(T,E){if(!E)return;var C=T+"Index",_=E[C];_!=null&&_!=="all"&&!p.isArray(_)&&(_=_===!1||_==="none"?[]:[_]),O(T,function(L,P){if(_!=null&&_!=="all"&&p.indexOf(_,P)===-1)return;var k={type:"select",$fromToolbox:!0,filterMode:E.filterMode||"filter",id:t+T+P};k[C]=P,y.push(k)})}function O(T,E){var C=A[T];p.isArray(C)||(C=C?[C]:[]),i(C,E)}});var h=a;M.exports=h},fNCr:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("tSko"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},fUL4:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("r+aA"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},fW2E:function(M,N){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function v(p,S,m){return n.hasOwnProperty(S)?m*=p.dpr:m}M.exports=v},"fc+c":function(M,N,n){var v=n("sS/r"),p=v.extend({type:"dataZoom",render:function(S,m,g,f){this.dataZoomModel=S,this.ecModel=m,this.api=g},getTargetCoordInfo:function(){var S=this.dataZoomModel,m=this.ecModel,g={};S.eachTargetAxis(function(d,c){var o=m.getComponent(d.axis,c);if(o){var i=o.getCoordSysModel();i&&f(i,o,g[i.mainType]||(g[i.mainType]=[]),i.componentIndex)}},this);function f(d,c,o,i){for(var t,a=0;a<o.length;a++)if(o[a].model===d){t=o[a];break}t||o.push(t={model:d,axisModels:[],coordIndex:i}),t.axisModels.push(c)}return g}});M.exports=p},fjKi:function(M,N,n){var v=n("ProS");n("Q7if"),n("jndi"),v.registerPreprocessor(function(p){p.markArea=p.markArea||{}})},fls0:function(M,N,n){var v=n("bYtY"),p=n("QBsz"),S=n("oVpE"),m=n("f5HG"),g=n("IwbS"),f=n("OELB"),d=f.round,c=["fromSymbol","toSymbol"];function o(u){return"_"+u+"Type"}function i(u,h,A){var y=h.getItemVisual(A,"color"),w=h.getItemVisual(A,u),b=h.getItemVisual(A,u+"Size");if(!w||w==="none")return;v.isArray(b)||(b=[b,b]);var x=S.createSymbol(w,-b[0]/2,-b[1]/2,b[0],b[1],y);return x.name=u,x}function t(u){var h=new m({name:"line",subPixelOptimize:!0});return a(h.shape,u),h}function a(u,h){u.x1=h[0][0],u.y1=h[0][1],u.x2=h[1][0],u.y2=h[1][1],u.percent=1;var A=h[2];A?(u.cpx1=A[0],u.cpy1=A[1]):(u.cpx1=NaN,u.cpy1=NaN)}function e(){var u=this,h=u.childOfName("fromSymbol"),A=u.childOfName("toSymbol"),y=u.childOfName("label");if(!h&&!A&&y.ignore)return;for(var w=1,b=this.parent;b;)b.scale&&(w/=b.scale[0]),b=b.parent;var x=u.childOfName("line");if(!this.__dirty&&!x.__dirty)return;var O=x.shape.percent,T=x.pointAt(0),E=x.pointAt(O),C=p.sub([],E,T);if(p.normalize(C,C),h){h.attr("position",T);var _=x.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(_[1],_[0])),h.attr("scale",[w*O,w*O])}if(A){A.attr("position",E);var _=x.tangentAt(1);A.attr("rotation",-Math.PI/2-Math.atan2(_[1],_[0])),A.attr("scale",[w*O,w*O])}if(!y.ignore){y.attr("position",E);var L,P,k,F,j=y.__labelDistance,z=j[0]*w,R=j[1]*w,U=O/2,_=x.tangentAt(U),B=[_[1],-_[0]],H=x.pointAt(U);B[1]>0&&(B[0]=-B[0],B[1]=-B[1]);var K=_[0]<0?-1:1;if(y.__position!=="start"&&y.__position!=="end"){var V=-Math.atan2(_[1],_[0]);E[0]<T[0]&&(V=Math.PI+V),y.attr("rotation",V)}var W;switch(y.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":W=-R,k="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":W=R,k="top";break;default:W=0,k="middle"}switch(y.__position){case"end":L=[C[0]*z+E[0],C[1]*R+E[1]],P=C[0]>.8?"left":C[0]<-.8?"right":"center",k=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":L=[-C[0]*z+T[0],-C[1]*R+T[1]],P=C[0]>.8?"right":C[0]<-.8?"left":"center",k=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":L=[z*K+T[0],T[1]+W],P=_[0]<0?"right":"left",F=[-z*K,-W];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":L=[H[0],H[1]+W],P="center",F=[0,-W];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":L=[-z*K+E[0],E[1]+W],P=_[0]>=0?"right":"left",F=[z*K,-W];break}y.attr({style:{textVerticalAlign:y.__verticalAlign||k,textAlign:y.__textAlign||P},position:L,scale:[w,w],origin:F})}}function l(u,h,A){g.Group.call(this),this._createLine(u,h,A)}var r=l.prototype;r.beforeUpdate=e,r._createLine=function(u,h,A){var y=u.hostModel,w=u.getItemLayout(h),b=t(w);b.shape.percent=0,g.initProps(b,{shape:{percent:1}},y,h),this.add(b);var x=new g.Text({name:"label",lineLabelOriginalOpacity:1});this.add(x),v.each(c,function(O){var T=i(O,u,h);this.add(T),this[o(O)]=u.getItemVisual(h,O)},this),this._updateCommonStl(u,h,A)},r.updateData=function(u,h,A){var y=u.hostModel,w=this.childOfName("line"),b=u.getItemLayout(h),x={shape:{}};a(x.shape,b),g.updateProps(w,x,y,h),v.each(c,function(O){var T=u.getItemVisual(h,O),E=o(O);if(this[E]!==T){this.remove(this.childOfName(O));var C=i(O,u,h);this.add(C)}this[E]=T},this),this._updateCommonStl(u,h,A)},r._updateCommonStl=function(u,h,A){var y=u.hostModel,w=this.childOfName("line"),b=A&&A.lineStyle,x=A&&A.hoverLineStyle,O=A&&A.labelModel,T=A&&A.hoverLabelModel;if(!A||u.hasItemOption){var E=u.getItemModel(h);b=E.getModel("lineStyle").getLineStyle(),x=E.getModel("emphasis.lineStyle").getLineStyle(),O=E.getModel("label"),T=E.getModel("emphasis.label")}var C=u.getItemVisual(h,"color"),_=v.retrieve3(u.getItemVisual(h,"opacity"),b.opacity,1);w.useStyle(v.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:_},b)),w.hoverStyle=x,v.each(c,function(K){var V=this.childOfName(K);V&&(V.setColor(C),V.setStyle({opacity:_}))},this);var L=O.getShallow("show"),P=T.getShallow("show"),k=this.childOfName("label"),F,j;if((L||P)&&(F=C||"#000",j=y.getFormattedLabel(h,"normal",u.dataType),j==null)){var z=y.getRawValue(h);j=z==null?u.getName(h):isFinite(z)?d(z):z}var R=L?j:null,U=P?v.retrieve2(y.getFormattedLabel(h,"emphasis",u.dataType),j):null,B=k.style;if(R!=null||U!=null){g.setTextStyle(k.style,O,{text:R},{autoColor:F}),k.__textAlign=B.textAlign,k.__verticalAlign=B.textVerticalAlign,k.__position=O.get("position")||"middle";var H=O.get("distance");v.isArray(H)||(H=[H,H]),k.__labelDistance=H}U!=null?k.hoverStyle={text:U,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:k.hoverStyle={text:null},k.ignore=!L&&!P,g.setHoverStyle(this)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateLayout=function(u,h){this.setLinePoints(u.getItemLayout(h))},r.setLinePoints=function(u){var h=this.childOfName("line");a(h.shape,u),h.dirty()},v.inherits(l,g.Group);var s=l;M.exports=s},fmMI:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=S.each,g=S.filter,f=S.map,d=S.isArray,c=S.indexOf,o=S.isObject,i=S.isString,t=S.createHashMap,a=S.assert,e=S.clone,l=S.merge,r=S.extend,s=S.mixin,u=n("4NO4"),h=n("Qxkt"),A=n("bLfw"),y=n("iXHM"),w=n("5Hur"),b=n("D5nY"),x=b.resetSourceDefaulter,O="\0_ec_inner",T=h.extend({init:function(R,U,B,H){B=B||{},this.option=null,this._theme=new h(B),this._optionManager=H},setOption:function(R,U){a(!(O in R),"please use chart.getOption()"),this._optionManager.setOption(R,U),this.resetOption(null)},resetOption:function(R){var U=!1,B=this._optionManager;if(!R||R==="recreate"){var H=B.mountOption(R==="recreate");!this.option||R==="recreate"?_.call(this,H):(this.restoreData(),this.mergeOption(H)),U=!0}if((R==="timeline"||R==="media")&&this.restoreData(),!R||R==="recreate"||R==="timeline"){var K=B.getTimelineOption(this);K&&(this.mergeOption(K),U=!0)}if(!R||R==="recreate"||R==="media"){var V=B.getMediaOption(this,this._api);V.length&&m(V,function(W){this.mergeOption(W,U=!0)},this)}return U},mergeOption:function(R){var U=this.option,B=this._componentsMap,H=[];x(this),m(R,function(V,W){if(V==null)return;A.hasClass(W)?W&&H.push(W):U[W]=U[W]==null?e(V):l(U[W],V,!0)}),A.topologicalTravel(H,A.getAllClassMainTypes(),K,this);function K(V,W){var G=u.normalizeToArray(R[V]),re=u.mappingToExists(B.get(V),G);u.makeIdAndName(re),m(re,function($,ve){var Ce=$.option;o(Ce)&&($.keyInfo.mainType=V,$.keyInfo.subType=P(V,Ce,$.exist))});var ye=L(B,W);U[V]=[],B.set(V,[]),m(re,function($,ve){var Ce=$.exist,Se=$.option;if(a(o(Se)||Ce,"Empty component definition"),!Se)Ce.mergeOption({},this),Ce.optionUpdated({},!1);else{var Ke=A.getClass(V,$.keyInfo.subType,!0);if(Ce&&Ce.constructor===Ke)Ce.name=$.keyInfo.name,Ce.mergeOption(Se,this),Ce.optionUpdated(Se,!1);else{var ue=r({dependentModels:ye,componentIndex:ve},$.keyInfo);Ce=new Ke(Se,this,this,ue),r(Ce,ue),Ce.init(Se,this,this,ue),Ce.optionUpdated(null,!0)}}B.get(V)[ve]=Ce,U[V][ve]=Ce.option},this),V==="series"&&k(this,B.get("series"))}this._seriesIndicesMap=t(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var R=e(this.option);return m(R,function(U,B){if(A.hasClass(B)){for(var U=u.normalizeToArray(U),H=U.length-1;H>=0;H--)u.isIdInner(U[H])&&U.splice(H,1);R[B]=U}}),delete R[O],R},getTheme:function(){return this._theme},getComponent:function(R,U){var B=this._componentsMap.get(R);if(B)return B[U||0]},queryComponents:function(R){var U=R.mainType;if(!U)return[];var B=R.index,H=R.id,K=R.name,V=this._componentsMap.get(U);if(!V||!V.length)return[];var W;if(B!=null)d(B)||(B=[B]),W=g(f(B,function(ye){return V[ye]}),function(ye){return!!ye});else if(H!=null){var G=d(H);W=g(V,function(ye){return G&&c(H,ye.id)>=0||!G&&ye.id===H})}else if(K!=null){var re=d(K);W=g(V,function(ye){return re&&c(K,ye.name)>=0||!re&&ye.name===K})}else W=V.slice();return F(W,R)},findComponents:function(R){var U=R.query,B=R.mainType,H=V(U),K=H?this.queryComponents(H):this._componentsMap.get(B);return W(F(K,R));function V(G){var re=B+"Index",ye=B+"Id",$=B+"Name";return G&&(G[re]!=null||G[ye]!=null||G[$]!=null)?{mainType:B,index:G[re],id:G[ye],name:G[$]}:null}function W(G){return R.filter?g(G,R.filter):G}},eachComponent:function(R,U,B){var H=this._componentsMap;if(typeof R=="function")B=U,U=R,H.each(function(V,W){m(V,function(G,re){U.call(B,W,G,re)})});else if(i(R))m(H.get(R),U,B);else if(o(R)){var K=this.findComponents(R);m(K,U,B)}},getSeriesByName:function(R){var U=this._componentsMap.get("series");return g(U,function(B){return B.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var U=this._componentsMap.get("series");return g(U,function(B){return B.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,U){j(this),m(this._seriesIndices,function(B){var H=this._componentsMap.get("series")[B];R.call(U,H,B)},this)},eachRawSeries:function(R,U){m(this._componentsMap.get("series"),R,U)},eachSeriesByType:function(R,U,B){j(this),m(this._seriesIndices,function(H){var K=this._componentsMap.get("series")[H];K.subType===R&&U.call(B,K,H)},this)},eachRawSeriesByType:function(R,U,B){return m(this.getSeriesByType(R),U,B)},isSeriesFiltered:function(R){return j(this),this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,U){j(this);var B=g(this._componentsMap.get("series"),R,U);k(this,B)},restoreData:function(R){var U=this._componentsMap;k(this,U.get("series"));var B=[];U.each(function(H,K){B.push(K)}),A.topologicalTravel(B,A.getAllClassMainTypes(),function(H,K){m(U.get(H),function(V){(H!=="series"||!E(V,R))&&V.restoreData()})})}});function E(R,U){if(U){var B=U.seiresIndex,H=U.seriesId,K=U.seriesName;return B!=null&&R.componentIndex!==B||H!=null&&R.id!==H||K!=null&&R.name!==K}}function C(R,U){var B=R.color&&!R.colorLayer;m(U,function(H,K){if(K==="colorLayer"&&B)return;A.hasClass(K)||(typeof H=="object"?R[K]=R[K]?l(R[K],H,!1):e(H):R[K]==null&&(R[K]=H))})}function _(R){R=R,this.option={},this.option[O]=1,this._componentsMap=t({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(R,this._theme.option),l(R,y,!1),this.mergeOption(R)}function L(R,U){d(U)||(U=U?[U]:[]);var B={};return m(U,function(H){B[H]=(R.get(H)||[]).slice()}),B}function P(R,U,B){var H=U.type?U.type:B?B.subType:A.determineSubType(R,U);return H}function k(R,U){R._seriesIndicesMap=t(R._seriesIndices=f(U,function(B){return B.componentIndex})||[])}function F(R,U){return U.hasOwnProperty("subType")?g(R,function(B){return B.subType===U.subType}):R}function j(R){}s(T,w);var z=T;M.exports=z},fyUT:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("q1tI"),f=n.n(g),d=n("TSYQ"),c=n.n(d),o=n("Ff2n"),i=n("rePB"),t=n("1OyB"),a=n("vuIU"),e=n("Ji7U"),l=n("md7G"),r=n("foSv"),s=n("4IlW");function u(W,G){var re=Object.keys(W);if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(W);G&&(ye=ye.filter(function($){return Object.getOwnPropertyDescriptor(W,$).enumerable})),re.push.apply(re,ye)}return re}function h(W){for(var G=1;G<arguments.length;G++){var re=arguments[G]!=null?arguments[G]:{};G%2?u(Object(re),!0).forEach(function(ye){Object(i.a)(W,ye,re[ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(re)):u(Object(re)).forEach(function(ye){Object.defineProperty(W,ye,Object.getOwnPropertyDescriptor(re,ye))})}return W}function A(W){var G=y();return function(){var ye=Object(r.a)(W),$;if(G){var ve=Object(r.a)(this).constructor;$=Reflect.construct(ye,arguments,ve)}else $=ye.apply(this,arguments);return Object(l.a)(this,$)}}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(W){return!1}}function w(){}function b(W){W.preventDefault()}var x=function(G){return G.replace(/[^\w.-]+/g,"")},O=200,T=600,E=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function(G){return G!=null},_=function(G,re){return re===G||typeof re=="number"&&typeof G=="number"&&isNaN(re)&&isNaN(G)},L=function(W){Object(e.a)(re,W);var G=A(re);function re(ye){var $;Object(t.a)(this,re),$=G.call(this,ye),$.onKeyDown=function(Se){var Ke=$.props,ue=Ke.onKeyDown,Le=Ke.onPressEnter;if(Se.keyCode===s.a.UP){var ee=$.getRatio(Se);$.up(Se,ee,null),$.stop()}else if(Se.keyCode===s.a.DOWN){var le=$.getRatio(Se);$.down(Se,le,null),$.stop()}else Se.keyCode===s.a.ENTER&&Le&&Le(Se);if($.recordCursorPosition(),$.lastKeyCode=Se.keyCode,ue){for(var et=arguments.length,Re=new Array(et>1?et-1:0),Ae=1;Ae<et;Ae++)Re[Ae-1]=arguments[Ae];ue.apply(void 0,[Se].concat(Re))}},$.onKeyUp=function(Se){var Ke=$.props.onKeyUp;if($.stop(),$.recordCursorPosition(),Ke){for(var ue=arguments.length,Le=new Array(ue>1?ue-1:0),ee=1;ee<ue;ee++)Le[ee-1]=arguments[ee];Ke.apply(void 0,[Se].concat(Le))}},$.onChange=function(Se){var Ke=$.props.onChange;$.state.focused&&($.inputting=!0),$.rawInput=$.props.parser($.getValueFromEvent(Se)),$.setState({inputValue:$.rawInput}),Ke($.toNumber($.rawInput))},$.onMouseUp=function(){var Se=$.props.onMouseUp;$.recordCursorPosition(),Se&&Se.apply(void 0,arguments)},$.onFocus=function(){var Se;$.setState({focused:!0}),(Se=$.props).onFocus.apply(Se,arguments)},$.onBlur=function(){var Se=$.props.onBlur;$.inputting=!1,$.setState({focused:!1});var Ke=$.getCurrentValidValue($.state.inputValue),ue=$.setValue(Ke,w);if(Se){var Le=$.input.value,ee=$.getInputDisplayValue({focus:!1,value:ue});$.input.value=ee&&Number(ee),Se.apply(void 0,arguments),$.input.value=Le}},$.getRatio=function(Se){var Ke=1;return Se.metaKey||Se.ctrlKey?Ke=.1:Se.shiftKey&&(Ke=10),Ke},$.getFullNum=function(Se){return isNaN(Se)?Se:/e/i.test(String(Se))?Number(Se).toFixed(18).replace(/\.?0+$/,""):Se},$.getPrecision=function(Se){if(C($.props.precision))return $.props.precision;var Ke=String(Se);if(Ke.indexOf("e-")>=0)return parseInt(Ke.slice(Ke.indexOf("e-")+2),10);var ue=0;return Ke.indexOf(".")>=0&&(ue=Ke.length-Ke.indexOf(".")-1),ue},$.getInputDisplayValue=function(Se){var Ke=Se||$.state,ue=Ke.focused,Le=Ke.inputValue,ee=Ke.value,le;ue?le=Le:le=$.toPrecisionAsStep(ee),le==null&&(le="");var et=$.formatWrapper(le);return C($.props.decimalSeparator)&&(et=et.toString().replace(".",$.props.decimalSeparator)),et},$.recordCursorPosition=function(){try{$.cursorStart=$.input.selectionStart,$.cursorEnd=$.input.selectionEnd,$.currentValue=$.input.value,$.cursorBefore=$.input.value.substring(0,$.cursorStart),$.cursorAfter=$.input.value.substring($.cursorEnd)}catch(Se){}},$.restoreByAfter=function(Se){if(Se===void 0)return!1;var Ke=$.input.value,ue=Ke.lastIndexOf(Se);if(ue===-1)return!1;var Le=$.cursorBefore.length;return $.lastKeyCode===s.a.DELETE&&$.cursorBefore.charAt(Le-1)===Se[0]?($.fixCaret(Le,Le),!0):ue+Se.length===Ke.length?($.fixCaret(ue,ue),!0):!1},$.partRestoreByAfter=function(Se){return Se===void 0?!1:Array.prototype.some.call(Se,function(Ke,ue){var Le=Se.substring(ue);return $.restoreByAfter(Le)})},$.isNotCompleteNumber=function(Se){return isNaN(Se)||Se===""||Se===null||Se&&Se.toString().indexOf(".")===Se.toString().length-1},$.stop=function(){$.autoStepTimer&&clearTimeout($.autoStepTimer)},$.down=function(Se,Ke,ue){$.pressingUpOrDown=!0,$.step("down",Se,Ke,ue)},$.up=function(Se,Ke,ue){$.pressingUpOrDown=!0,$.step("up",Se,Ke,ue)},$.saveInput=function(Se){$.input=Se};var ve=ye.value;ve===void 0&&(ve=ye.defaultValue),$.state={focused:ye.autoFocus};var Ce=$.getValidValue($.toNumber(ve));return $.state=h(h({},$.state),{},{inputValue:$.toPrecisionAsStep(Ce),value:Ce}),$}return Object(a.a)(re,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function($){var ve=this.props,Ce=ve.value,Se=ve.onChange,Ke=ve.max,ue=ve.min,Le=this.state.focused;if($){if(!_($.value,Ce)||!_($.max,Ke)||!_($.min,ue)){var ee=Le?Ce:this.getValidValue(Ce),le;this.pressingUpOrDown?le=ee:this.inputting?le=this.rawInput:le=this.toPrecisionAsStep(ee),this.setState({value:ee,inputValue:le})}var et="value"in this.props?Ce:this.state.value;"max"in this.props&&$.max!==Ke&&typeof et=="number"&&et>Ke&&Se&&Se(Ke),"min"in this.props&&$.min!==ue&&typeof et=="number"&&et<ue&&Se&&Se(ue)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var Re=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?Re=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(Re=this.cursorStart):Re=this.input.value.length,this.fixCaret(Re,Re)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(Ae){}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($){var ve=$;return ve===""?ve="":this.isNotCompleteNumber(parseFloat(ve))?ve=this.state.value:ve=this.getValidValue(ve),this.toNumber(ve)}},{key:"getValueFromEvent",value:function($){var ve=$.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(ve=ve.replace(this.props.decimalSeparator,".")),ve}},{key:"getValidValue",value:function($){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,Se=parseFloat($);return isNaN(Se)?$:(Se<ve&&(Se=ve),Se>Ce&&(Se=Ce),Se)}},{key:"setValue",value:function($,ve){var Ce=this.props.precision,Se=this.isNotCompleteNumber(parseFloat($))?null:parseFloat($),Ke=this.state.value,ue=Ke===void 0?null:Ke,Le=this.state.inputValue,ee=Le===void 0?null:Le,le=typeof Se=="number"?Se.toFixed(Ce):"".concat(Se),et=Se!==ue||le!=="".concat(ee);return"value"in this.props?(ee=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:ee},ve)):this.setState({value:Se,inputValue:this.toPrecisionAsStep($)},ve),et&&this.props.onChange(Se),Se}},{key:"getMaxPrecision",value:function($){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ce=this.props,Se=Ce.precision,Ke=Ce.step;if(C(Se))return Se;var ue=this.getPrecision(ve),Le=this.getPrecision(Ke),ee=this.getPrecision($);return $?Math.max(ee,ue+Le):ue+Le}},{key:"getPrecisionFactor",value:function($){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ce=this.getMaxPrecision($,ve);return Math.pow(10,Ce)}},{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($){return this.props.formatter?this.props.formatter($):$}},{key:"toPrecisionAsStep",value:function($){if(this.isNotCompleteNumber($)||$==="")return $;var ve=Math.abs(this.getMaxPrecision($));return isNaN(ve)?$.toString():Number($).toFixed(ve)}},{key:"toNumber",value:function($){var ve=this.props.precision,Ce=this.state.focused,Se=$&&$.length>16&&Ce;return this.isNotCompleteNumber($)||Se?$:C(ve)?Math.round($*Math.pow(10,ve))/Math.pow(10,ve):Number($)}},{key:"upStep",value:function($,ve){var Ce=this.props.step,Se=this.getPrecisionFactor($,ve),Ke=Math.abs(this.getMaxPrecision($,ve)),ue=((Se*$+Se*Ce*ve)/Se).toFixed(Ke);return this.toNumber(ue)}},{key:"downStep",value:function($,ve){var Ce=this.props.step,Se=this.getPrecisionFactor($,ve),Ke=Math.abs(this.getMaxPrecision($,ve)),ue=((Se*$-Se*Ce*ve)/Se).toFixed(Ke);return this.toNumber(ue)}},{key:"step",value:function($,ve){var Ce=this,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ke=arguments.length>3?arguments[3]:void 0;this.stop(),ve&&(ve.persist(),ve.preventDefault());var ue=this.props;if(ue.disabled)return;var Le=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(Le))return;var ee=this["".concat($,"Step")](Le,Se),le=ee>ue.max||ee<ue.min;if(ee>ue.max?ee=ue.max:ee<ue.min&&(ee=ue.min),this.setValue(ee,null),this.setState({focused:!0},function(){Ce.pressingUpOrDown=!1}),le)return;this.autoStepTimer=setTimeout(function(){Ce[$](ve,Se,!0)},Ke?O:T)}},{key:"fixCaret",value:function($,ve){if($===void 0||ve===void 0||!this.input||!this.input.value)return;try{var Ce=this.input.selectionStart,Se=this.input.selectionEnd;($!==Ce||ve!==Se)&&this.input.setSelectionRange($,ve)}catch(Ke){}}},{key:"render",value:function(){var $,ve=this.props,Ce=ve.prefixCls,Se=ve.disabled,Ke=ve.readOnly,ue=ve.useTouch,Le=ve.autoComplete,ee=ve.upHandler,le=ve.downHandler,et=ve.className,Re=ve.max,Ae=ve.min,oe=ve.style,ce=ve.title,be=ve.onMouseEnter,Te=ve.onMouseLeave,Be=ve.onMouseOver,De=ve.onMouseOut,ae=ve.required,fe=ve.onClick,Oe=ve.tabIndex,Je=ve.type,Et=ve.placeholder,Ze=ve.id,Ne=ve.inputMode,It=ve.pattern,Xe=ve.step,Ot=ve.maxLength,Bt=ve.autoFocus,kt=ve.name,_t=ve.onPaste,Ft=ve.onInput,ke=Object(o.a)(ve,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste","onInput"]),te=this.state,Q=te.value,qe=te.focused,je=c()(Ce,($={},Object(i.a)($,et,!!et),Object(i.a)($,"".concat(Ce,"-disabled"),Se),Object(i.a)($,"".concat(Ce,"-focused"),qe),$)),q={};Object.keys(ke).forEach(function(gt){(gt.substr(0,5)==="data-"||gt.substr(0,5)==="aria-"||gt==="role")&&(q[gt]=ke[gt])});var wt=!Ke&&!Se,Vt=this.getInputDisplayValue(null),lt=(Q||Q===0)&&(isNaN(Q)||Number(Q)>=Re),or=(Q||Q===0)&&(isNaN(Q)||Number(Q)<=Ae),vr=lt||Se||Ke,An=or||Se||Ke,hr=c()("".concat(Ce,"-handler"),"".concat(Ce,"-handler-up"),Object(i.a)({},"".concat(Ce,"-handler-up-disabled"),vr)),xr=c()("".concat(Ce,"-handler"),"".concat(Ce,"-handler-down"),Object(i.a)({},"".concat(Ce,"-handler-down-disabled"),An)),nr=ue?{onTouchStart:vr?w:this.up,onTouchEnd:this.stop}:{onMouseDown:vr?w:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},Yt=ue?{onTouchStart:An?w:this.down,onTouchEnd:this.stop}:{onMouseDown:An?w:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return f.a.createElement("div",{className:je,style:oe,title:ce,onMouseEnter:be,onMouseLeave:Te,onMouseOver:Be,onMouseOut:De,onFocus:function(){return null},onBlur:function(){return null}},f.a.createElement("div",{className:"".concat(Ce,"-handler-wrap")},f.a.createElement("span",Object.assign({unselectable:"on"},nr,{role:"button","aria-label":"Increase Value","aria-disabled":vr,className:hr}),ee||f.a.createElement("span",{unselectable:"on",className:"".concat(Ce,"-handler-up-inner"),onClick:b})),f.a.createElement("span",Object.assign({unselectable:"on"},Yt,{role:"button","aria-label":"Decrease Value","aria-disabled":An,className:xr}),le||f.a.createElement("span",{unselectable:"on",className:"".concat(Ce,"-handler-down-inner"),onClick:b}))),f.a.createElement("div",{className:"".concat(Ce,"-input-wrap")},f.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Ae,"aria-valuemax":Re,"aria-valuenow":Q,required:ae,type:Je,placeholder:Et,onPaste:_t,onClick:fe,onMouseUp:this.onMouseUp,className:"".concat(Ce,"-input"),tabIndex:Oe,autoComplete:Le,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:wt?this.onKeyDown:w,onKeyUp:wt?this.onKeyUp:w,autoFocus:Bt,maxLength:Ot,readOnly:Ke,disabled:Se,max:Re,min:Ae,step:Xe,name:kt,title:ce,id:Ze,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Vt),pattern:It,inputMode:Ne,onInput:Ft},q))))}}]),re}(f.a.Component);L.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:E,min:-E,step:1,style:{},onChange:w,onKeyDown:w,onPressEnter:w,onFocus:w,onBlur:w,parser:x,required:!1,autoComplete:"off"};var P=L,k=P,F=n("FH2Y"),j=n.n(F),z=n("HQEm"),R=n.n(z),U=n("H84U"),B=n("3Nzz"),H=function(W,G){var re={};for(var ye in W)Object.prototype.hasOwnProperty.call(W,ye)&&G.indexOf(ye)<0&&(re[ye]=W[ye]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,ye=Object.getOwnPropertySymbols(W);$<ye.length;$++)G.indexOf(ye[$])<0&&Object.prototype.propertyIsEnumerable.call(W,ye[$])&&(re[ye[$]]=W[ye[$]]);return re},K=g.forwardRef(function(W,G){var re=function($){var ve=$.getPrefixCls,Ce=$.direction,Se=W.className,Ke=W.size,ue=W.prefixCls,Le=W.readOnly,ee=H(W,["className","size","prefixCls","readOnly"]),le=ve("input-number",ue),et=g.createElement(j.a,{className:"".concat(le,"-handler-up-inner")}),Re=g.createElement(R.a,{className:"".concat(le,"-handler-down-inner")});return g.createElement(B.b.Consumer,null,function(Ae){var oe,ce=Ke||Ae,be=c()((oe={},m()(oe,"".concat(le,"-lg"),ce==="large"),m()(oe,"".concat(le,"-sm"),ce==="small"),m()(oe,"".concat(le,"-rtl"),Ce==="rtl"),m()(oe,"".concat(le,"-readonly"),Le),oe),Se);return g.createElement(k,p()({ref:G,className:be,upHandler:et,downHandler:Re,prefixCls:le,readOnly:Le},ee))})};return g.createElement(U.a,null,re)});K.defaultProps={step:1};var V=N.a=K},g0SD:function(M,N,n){var v=n("bYtY"),p=n("9wZj"),S=n("OELB"),m=n("YXkt"),g=n("kj2x"),f=n("iPDy");function d(i,t,a){var e=t.coordinateSystem;i.each(function(l){var r=i.getItemModel(l),s,u=S.parsePercent(r.get("x"),a.getWidth()),h=S.parsePercent(r.get("y"),a.getHeight());if(!isNaN(u)&&!isNaN(h))s=[u,h];else if(t.getMarkerPosition)s=t.getMarkerPosition(i.getValues(i.dimensions,l));else if(e){var A=i.get(e.dimensions[0],l),y=i.get(e.dimensions[1],l);s=e.dataToPoint([A,y])}isNaN(u)||(s[0]=u),isNaN(h)||(s[1]=h),i.setItemLayout(l,s)})}var c=f.extend({type:"markPoint",updateTransform:function(i,t,a){t.eachSeries(function(e){var l=e.markPointModel;l&&(d(l.getData(),e,a),this.markerGroupMap.get(e.id).updateLayout(l))},this)},renderSeries:function(i,t,a,e){var l=i.coordinateSystem,r=i.id,s=i.getData(),u=this.markerGroupMap,h=u.get(r)||u.set(r,new p),A=o(l,i,t);t.setData(A),d(t.getData(),i,e),A.each(function(y){var w=A.getItemModel(y),b=w.getShallow("symbol"),x=w.getShallow("symbolSize"),O=v.isFunction(b),T=v.isFunction(x);if(O||T){var E=t.getRawValue(y),C=t.getDataParams(y);O&&(b=b(E,C)),T&&(x=x(E,C))}A.setItemVisual(y,{symbol:b,symbolSize:x,color:w.get("itemStyle.color")||s.getVisual("color")})}),h.updateData(A),this.group.add(h.group),A.eachItemGraphicEl(function(y){y.traverse(function(w){w.dataModel=t})}),h.__keep=!0,h.group.silent=t.get("silent")||i.get("silent")}});function o(i,t,a){var e;i?e=v.map(i&&i.dimensions,function(s){var u=t.getData().getDimensionInfo(t.getData().mapDimension(s))||{};return v.defaults({name:s},u)}):e=[{name:"value",type:"float"}];var l=new m(e,a),r=v.map(a.get("data"),v.curry(g.dataTransform,t));return i&&(r=v.filter(r,v.curry(g.dataFilter,i))),l.initData(r,null,i?g.dimValueGetter:function(s){return s.value}),l}M.exports=c},g7p0:function(M,N,n){var v=n("bYtY"),p=n("bLfw"),S=n("+TT/"),m=S.getLayoutParams,g=S.sizeCalculable,f=S.mergeLayoutParam,d=p.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(i,t,a,e){var l=m(i);d.superApply(this,"init",arguments),c(i,l)},mergeOption:function(i,t){d.superApply(this,"mergeOption",arguments),c(this.option,i)}});function c(i,t){var a=i.cellSize;v.isArray(a)?a.length===1&&(a[1]=a[0]):a=i.cellSize=[a,a];var e=v.map([0,1],function(l){return g(t,l)&&(a[l]="auto"),a[l]!=null&&a[l]!=="auto"});f(i,t,{type:"box",ignoreSize:e})}var o=d;M.exports=o},g9YV:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("pED+"),m=n.n(S),g=n("+L6B"),f=n("R9oj"),d=n("7Kak"),c=n("sRBo"),o=n("qVdP"),i=n("T2oS"),t=n("DjyN"),a=n("5Dmo")},gIYZ:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v={Backspace:"Backspace",AltLeft:"Alt",AltRight:"Alt",CapsLock:"CapsLock",ContextMenu:"ContextMenu",ControlLeft:"Control",ControlRight:"Control",Enter:"Enter",MetaLeft:"Meta",MetaRight:"Meta",ShiftLeft:"Shift",ShiftRight:"Shift",Tab:"Tab",Delete:"Delete",End:"End",Help:"Help",Home:"Home",Insert:"Insert",PageDown:"PageDown",PageUp:"PageUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp",NumLock:"NumLock",NumpadBackspace:"Backspace",NumpadClear:"Clear",Escape:"Escape",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F11",F12:"F12",F13:"F13",F14:"F14",F15:"F15",F16:"F16",F17:"F17",F18:"F18",F19:"F19",F20:"F20",F21:"F21",F22:"F22",F23:"F23",F24:"F24",F25:"F25",F26:"F26",F27:"F27",F28:"F28",F29:"F29",F30:"F30",F31:"F31",F32:"F32",F33:"F33",F34:"F34",F35:"F35",PrintScreen:"PrintScreen",ScrollLock:"ScrollLock",Pause:"Pause",BrowserBack:"BrowserBack",BrowserFavorites:"BrowserFavorites",BrowserForward:"BrowserForward",BrowserHome:"BrowserHome",BrowserRefresh:"BrowserRefresh",BrowserSearch:"BrowserSearch",BrowserStop:"BrowserStop",Eject:"Eject",LaunchApp1:"LaunchMyComputer",LaunchApp2:"LaunchCalendar",LaunchMail:"LaunchMail",MediaPlayPause:"MediaPlay",MediaStop:"MediaStop",MediaTrackNext:"MediaTrackNext",MediaTrackPrevious:"MediaTrackPrevious",Power:"Power",Sleep:"Sleep",AudioVolumeDown:"AudioVolumeDown",AudioVolumeMute:"AudioVolumeMute",AudioVolumeUp:"AudioVolumeUp",WakeUp:"WakeUp"};N.default=v},gKaM:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};N.default=v},gPAo:function(M,N){function n(m){return m}function v(m,g,f,d,c){this._old=m,this._new=g,this._oldKeyGetter=f||n,this._newKeyGetter=d||n,this.context=c}v.prototype={constructor:v,add:function(m){return this._add=m,this},update:function(m){return this._update=m,this},remove:function(m){return this._remove=m,this},execute:function(){var m=this._old,g=this._new,f={},d={},c=[],o=[],i;for(p(m,f,c,"_oldKeyGetter",this),p(g,d,o,"_newKeyGetter",this),i=0;i<m.length;i++){var t=c[i],a=d[t];if(a!=null){var e=a.length;e?(e===1&&(d[t]=null),a=a.shift()):d[t]=null,this._update&&this._update(a,i)}else this._remove&&this._remove(i)}for(var i=0;i<o.length;i++){var t=o[i];if(d.hasOwnProperty(t)){var a=d[t];if(a==null)continue;if(!a.length)this._add&&this._add(a);else for(var l=0,e=a.length;l<e;l++)this._add&&this._add(a[l])}}}};function p(m,g,f,d,c){for(var o=0;o<m.length;o++){var i="_ec_"+c[d](m[o],o),t=g[i];t==null?(f.push(i),g[i]=o):(t.length||(g[i]=t=[t]),t.push(o))}}var S=v;M.exports=S},gRFJ:function(M,N,n){M.exports=[n("rdUC"),n("ynwM"),n("RELg"),n("DlR+"),n("CrYA"),n("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(M){return M<10?"0"+M:M}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(M){return rx_escapable.lastIndex=0,rx_escapable.test(M)?'"'+M.replace(rx_escapable,function(N){var n=meta[N];return typeof n=="string"?n:"\\u"+("0000"+N.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+M+'"'}function str(M,N){var n,v,p,S,m=gap,g,f=N[M];f&&typeof f=="object"&&typeof f.toJSON=="function"&&(f=f.toJSON(M)),typeof rep=="function"&&(f=rep.call(N,M,f));switch(typeof f){case"string":return quote(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(gap+=indent,g=[],Object.prototype.toString.apply(f)==="[object Array]"){for(S=f.length,n=0;n<S;n+=1)g[n]=str(n,f)||"null";return p=g.length===0?"[]":gap?`[
`+gap+g.join(`,
`+gap)+`
`+m+"]":"["+g.join(",")+"]",gap=m,p}if(rep&&typeof rep=="object")for(S=rep.length,n=0;n<S;n+=1)typeof rep[n]=="string"&&(v=rep[n],p=str(v,f),p&&g.push(quote(v)+(gap?": ":":")+p));else for(v in f)Object.prototype.hasOwnProperty.call(f,v)&&(p=str(v,f),p&&g.push(quote(v)+(gap?": ":":")+p));return p=g.length===0?"{}":gap?`{
`+gap+g.join(`,
`+gap)+`
`+m+"}":"{"+g.join(",")+"}",gap=m,p}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(M,N,n){var v;if(gap="",indent="",typeof n=="number")for(v=0;v<n;v+=1)indent+=" ";else typeof n=="string"&&(indent=n);if(rep=N,N&&typeof N!="function"&&(typeof N!="object"||typeof N.length!="number"))throw new Error("JSON.stringify");return str("",{"":M})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(M,N){var n,v,p=M[N];if(p&&typeof p=="object")for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(v=walk(p,n),v!==void 0?p[n]=v:delete p[n]);return reviver.call(M,N,p)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(M){return"\\u"+("0000"+M.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(M,N,n){var v=n("+TT/"),p=n("bYtY"),S=n("4NO4"),m=S.groupData;function g(_,L,P){_.eachSeriesByType("sankey",function(k){var F=k.get("nodeWidth"),j=k.get("nodeGap"),z=f(k,L);k.layoutInfo=z;var R=z.width,U=z.height,B=k.getGraph(),H=B.nodes,K=B.edges;c(H);var V=p.filter(H,function(ye){return ye.getLayout().value===0}),W=V.length!==0?0:k.get("layoutIterations"),G=k.get("orient"),re=k.get("nodeAlign");d(H,K,F,j,R,U,W,G,re)})}function f(_,L){return v.getLayoutRect(_.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function d(_,L,P,k,F,j,z,R,U){o(_,L,P,F,j,R,U),l(_,L,j,F,k,z,R),C(_,R)}function c(_){p.each(_,function(L){var P=T(L.outEdges,O),k=T(L.inEdges,O),F=L.getValue()||0,j=Math.max(P,k,F);L.setLayout({value:j},!0)})}function o(_,L,P,k,F,j,z){for(var R=[],U=[],B=[],H=[],K=0,V=0,W=0;W<L.length;W++)R[W]=1;for(W=0;W<_.length;W++)U[W]=_[W].inEdges.length,U[W]===0&&B.push(_[W]);for(var G=-1;B.length;){for(var re=0;re<B.length;re++){var ye=B[re],$=ye.hostGraph.data.getRawDataItem(ye.dataIndex),ve=$.depth!=null&&$.depth>=0;ve&&$.depth>G&&(G=$.depth),ye.setLayout({depth:ve?$.depth:K},!0),j==="vertical"?ye.setLayout({dy:P},!0):ye.setLayout({dx:P},!0);for(var Ce=0;Ce<ye.outEdges.length;Ce++){var Se=ye.outEdges[Ce],Ke=L.indexOf(Se);R[Ke]=0;var ue=Se.node2,Le=_.indexOf(ue);--U[Le]===0&&H.indexOf(ue)<0&&H.push(ue)}}++K,B=H,H=[]}for(W=0;W<R.length;W++)if(R[W]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var ee=G>K-1?G:K-1;z&&z!=="left"&&t(_,z,j,ee);var V=j==="vertical"?(F-P)/ee:(k-P)/ee;e(_,V,j)}function i(_){var L=_.hostGraph.data.getRawDataItem(_.dataIndex);return L.depth!=null&&L.depth>=0}function t(_,L,P,k){if(L==="right"){for(var F=[],j=_,z=0;j.length;){for(var R=0;R<j.length;R++){var U=j[R];U.setLayout({skNodeHeight:z},!0);for(var B=0;B<U.inEdges.length;B++){var H=U.inEdges[B];F.indexOf(H.node1)<0&&F.push(H.node1)}}j=F,F=[],++z}p.each(_,function(K){i(K)||K.setLayout({depth:Math.max(0,k-K.getLayout().skNodeHeight)},!0)})}else L==="justify"&&a(_,k)}function a(_,L){p.each(_,function(P){!i(P)&&!P.outEdges.length&&P.setLayout({depth:L},!0)})}function e(_,L,P){p.each(_,function(k){var F=k.getLayout().depth*L;P==="vertical"?k.setLayout({y:F},!0):k.setLayout({x:F},!0)})}function l(_,L,P,k,F,j,z){var R=r(_,z);s(R,L,P,k,F,z),u(R,F,P,k,z);for(var U=1;j>0;j--)U*=.99,h(R,U,z),u(R,F,P,k,z),E(R,U,z),u(R,F,P,k,z)}function r(_,L){var P=[],k=L==="vertical"?"y":"x",F=m(_,function(j){return j.getLayout()[k]});return F.keys.sort(function(j,z){return j-z}),p.each(F.keys,function(j){P.push(F.buckets.get(j))}),P}function s(_,L,P,k,F,j){var z=Infinity;p.each(_,function(R){var U=R.length,B=0;p.each(R,function(K){B+=K.getLayout().value});var H=j==="vertical"?(k-(U-1)*F)/B:(P-(U-1)*F)/B;H<z&&(z=H)}),p.each(_,function(R){p.each(R,function(U,B){var H=U.getLayout().value*z;j==="vertical"?(U.setLayout({x:B},!0),U.setLayout({dx:H},!0)):(U.setLayout({y:B},!0),U.setLayout({dy:H},!0))})}),p.each(L,function(R){var U=+R.getValue()*z;R.setLayout({dy:U},!0)})}function u(_,L,P,k,F){var j=F==="vertical"?"x":"y";p.each(_,function(z){z.sort(function(re,ye){return re.getLayout()[j]-ye.getLayout()[j]});for(var R,U,B,H=0,K=z.length,V=F==="vertical"?"dx":"dy",W=0;W<K;W++)U=z[W],B=H-U.getLayout()[j],B>0&&(R=U.getLayout()[j]+B,F==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0)),H=U.getLayout()[j]+U.getLayout()[V]+L;var G=F==="vertical"?k:P;if(B=H-L-G,B>0)for(R=U.getLayout()[j]-B,F==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0),H=R,W=K-2;W>=0;--W)U=z[W],B=U.getLayout()[j]+U.getLayout()[V]+L-H,B>0&&(R=U.getLayout()[j]-B,F==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0)),H=U.getLayout()[j]})}function h(_,L,P){p.each(_.slice().reverse(),function(k){p.each(k,function(F){if(F.outEdges.length){var j=T(F.outEdges,A,P)/T(F.outEdges,O,P);if(isNaN(j)){var z=F.outEdges.length;j=z?T(F.outEdges,y,P)/z:0}if(P==="vertical"){var R=F.getLayout().x+(j-x(F,P))*L;F.setLayout({x:R},!0)}else{var U=F.getLayout().y+(j-x(F,P))*L;F.setLayout({y:U},!0)}}})})}function A(_,L){return x(_.node2,L)*_.getValue()}function y(_,L){return x(_.node2,L)}function w(_,L){return x(_.node1,L)*_.getValue()}function b(_,L){return x(_.node1,L)}function x(_,L){return L==="vertical"?_.getLayout().x+_.getLayout().dx/2:_.getLayout().y+_.getLayout().dy/2}function O(_){return _.getValue()}function T(_,L,P){for(var k=0,F=_.length,j=-1;++j<F;){var z=+L.call(_,_[j],P);isNaN(z)||(k+=z)}return k}function E(_,L,P){p.each(_,function(k){p.each(k,function(F){if(F.inEdges.length){var j=T(F.inEdges,w,P)/T(F.inEdges,O,P);if(isNaN(j)){var z=F.inEdges.length;j=z?T(F.inEdges,b,P)/z:0}if(P==="vertical"){var R=F.getLayout().x+(j-x(F,P))*L;F.setLayout({x:R},!0)}else{var U=F.getLayout().y+(j-x(F,P))*L;F.setLayout({y:U},!0)}}})})}function C(_,L){var P=L==="vertical"?"x":"y";p.each(_,function(k){k.outEdges.sort(function(F,j){return F.node2.getLayout()[P]-j.node2.getLayout()[P]}),k.inEdges.sort(function(F,j){return F.node1.getLayout()[P]-j.node1.getLayout()[P]})}),p.each(_,function(k){var F=0,j=0;p.each(k.outEdges,function(z){z.setLayout({sy:F},!0),F+=z.getLayout().dy}),p.each(k.inEdges,function(z){z.setLayout({ty:j},!0),j+=z.getLayout().dy})})}M.exports=g},"giR+":function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("QbM5"),m=n.n(S)},gut8:function(M,N){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},v=9;N.ContextCachedBy=n,N.WILL_BE_RESTORED=v},gvm7:function(M,N,n){var v=n("bYtY"),p=n("dqUG");function S(g){this._zr=g.getZr(),this._show=!1,this._hideTimeout}S.prototype={constructor:S,_enterable:!0,update:function(){},show:function(g){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(g,f,d){this.el&&this._zr.remove(this.el);for(var c={},o=g,i="{marker",t="|}",a=o.indexOf(i);a>=0;){var e=o.indexOf(t),l=o.substr(a+i.length,e-a-i.length);l.indexOf("sub")>-1?c["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:f[l],textOffset:[3,0]}:c["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:f[l]},o=o.substr(e+1),a=o.indexOf("{marker")}this.el=new p({style:{rich:c,text:g,textLineHeight:20,textBackgroundColor:d.get("backgroundColor"),textBorderRadius:d.get("borderRadius"),textFill:d.get("textStyle.color"),textPadding:d.get("padding")},z:d.get("z")}),this._zr.add(this.el);var r=this;this.el.on("mouseover",function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0}),this.el.on("mouseout",function(){r._enterable&&(r._show&&r.hideLater(r._hideDelay)),r._inContent=!1})},setEnterable:function(g){this._enterable=g},getSize:function(){var g=this.el.getBoundingRect();return[g.width,g.height]},moveTo:function(g,f){this.el&&this.el.attr("position",[g,f])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(g){this._show&&!(this._inContent&&this._enterable)&&(g?(this._hideDelay=g,this._show=!1,this._hideTimeout=setTimeout(v.bind(this.hide,this),g)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var g=this.getSize();return{width:g[0],height:g[1]}}};var m=S;M.exports=m},gwTy:function(M,N,n){},h54F:function(M,N,n){var v=n("ProS"),p=n("YXkt"),S=n("bYtY"),m=n("4NO4"),g=m.defaultEmphasis,f=n("Qxkt"),d=n("7aKB"),c=d.encodeHTML,o=n("I3/A"),i=n("xKMd"),t=v.extendSeriesModel({type:"series.graph",init:function(e){t.superApply(this,"init",arguments);var l=this;function r(){return l._categoriesData}this.legendVisualProvider=new i(r,r),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){t.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){t.superApply(this,"mergeDefaultAndTheme",arguments),g(e,["edgeLabel"],["show"])},getInitialData:function(e,l){var r=e.edges||e.links||[],s=e.data||e.nodes||[],u=this;if(s&&r)return o(s,r,this,!0,h).data;function h(A,y){A.wrapMethod("getItemModel",function(E){var C=u._categoriesModels,_=E.getShallow("category"),L=C[_];return L&&(L.parentModel=E.parentModel,E.parentModel=L),E});var w=u.getModel("edgeLabel"),b=new f({label:w.option},w.parentModel,l),x=u.getModel("emphasis.edgeLabel"),O=new f({emphasis:{label:x.option}},x.parentModel,l);y.wrapMethod("getItemModel",function(E){return E.customizeGetParent(T),E});function T(E){return E=this.parsePath(E),E&&E[0]==="label"?b:E&&E[0]==="emphasis"&&E[1]==="label"?O:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,l,r){if(r==="edge"){var s=this.getData(),u=this.getDataParams(e,r),h=s.graph.getEdgeByIndex(e),A=s.getName(h.node1.dataIndex),y=s.getName(h.node2.dataIndex),w=[];return A!=null&&w.push(A),y!=null&&w.push(y),w=c(w.join(" > ")),u.value&&(w+=" : "+c(u.value)),w}else return t.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=S.map(this.option.categories||[],function(r){return r.value!=null?r:S.extend({value:0},r)}),l=new p(["value"],this);l.initData(e),this._categoriesData=l,this._categoriesModels=l.mapArray(function(r){return l.getItemModel(r,!0)})},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return t.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}}}}),a=t;M.exports=a},h7HQ:function(M,N,n){var v=n("y+Vt"),p=n("T6xi"),S=v.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(g,f){p.buildPath(g,f,!0)}});M.exports=S},h8O9:function(M,N,n){var v=n("bYtY"),p=v.map,S=n("zM3Q"),m=n("7hqr"),g=m.isDimensionStacked;function f(d){return{seriesType:d,plan:S(),reset:function(c){var o=c.getData(),i=c.coordinateSystem,t=c.pipelineContext,a=t.large;if(!i)return;var e=p(i.dimensions,function(u){return o.mapDimension(u)}).slice(0,2),l=e.length,r=o.getCalculationInfo("stackResultDimension");g(o,e[0])&&(e[0]=r),g(o,e[1])&&(e[1]=r);function s(u,h){for(var A=u.end-u.start,y=a&&new Float32Array(A*l),w=u.start,b=0,x=[],O=[];w<u.end;w++){var T;if(l===1){var E=h.get(e[0],w);T=!isNaN(E)&&i.dataToPoint(E,null,O)}else{var E=x[0]=h.get(e[0],w),C=x[1]=h.get(e[1],w);T=!isNaN(E)&&!isNaN(C)&&i.dataToPoint(x,null,O)}a?(y[b++]=T?T[0]:NaN,y[b++]=T?T[1]:NaN):h.setItemLayout(w,T&&T.slice()||[NaN,NaN])}a&&h.setLayout("symbolPoints",y)}return l&&{progress:s}}}}M.exports=f},hD7B:function(M,N,n){var v=n("bYtY"),p=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function S(g){v.each(p,function(f){this[f]=v.bind(g[f],g)},this)}var m=S;M.exports=m},hFmY:function(M,N,n){var v=n("ProS"),p={type:"axisAreaSelect",event:"axisAreaSelected"};v.registerAction(p,function(S,m){m.eachComponent({mainType:"parallelAxis",query:S},function(g){g.axis.model.setActiveIntervals(S.intervals)})}),v.registerAction("parallelAxisExpand",function(S,m){m.eachComponent({mainType:"parallel",query:S},function(g){g.setAxisExpand(S)})})},hJvP:function(M,N,n){var v=n("2dDv"),p=n("IDmD");function S(m,g){var f=[];return m.eachComponent("parallel",function(d,c){var o=new v(d,m,g);o.name="parallel_"+c,o.resize(d,g),d.coordinateSystem=o,o.model=d,f.push(o)}),m.eachSeries(function(d){if(d.get("coordinateSystem")==="parallel"){var c=m.queryComponents({mainType:"parallel",index:d.get("parallelIndex"),id:d.get("parallelId")})[0];d.coordinateSystem=c.coordinateSystem}}),f}p.register("parallel",{create:S})},hM6l:function(M,N,n){var v=n("bYtY"),p=v.each,S=v.map,m=n("OELB"),g=m.linearMap,f=m.getPixelPrecision,d=m.round,c=n("4HMb"),o=c.createAxisTicks,i=c.createAxisLabels,t=c.calculateCategoryInterval,a=[0,1],e=function(u,h,A){this.dim=u,this.scale=h,this._extent=A||[0,0],this.inverse=!1,this.onBand=!1};e.prototype={constructor:e,contain:function(u){var h=this._extent,A=Math.min(h[0],h[1]),y=Math.max(h[0],h[1]);return u>=A&&u<=y},containData:function(u){return this.scale.contain(u)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(u){return f(u||this.scale.getExtent(),this._extent)},setExtent:function(u,h){var A=this._extent;A[0]=u,A[1]=h},dataToCoord:function(u,h){var A=this._extent,y=this.scale;return u=y.normalize(u),this.onBand&&y.type==="ordinal"&&(A=A.slice(),l(A,y.count())),g(u,a,A,h)},coordToData:function(u,h){var A=this._extent,y=this.scale;this.onBand&&y.type==="ordinal"&&(A=A.slice(),l(A,y.count()));var w=g(u,A,a,h);return this.scale.scale(w)},pointToData:function(u,h){},getTicksCoords:function(u){u=u||{};var h=u.tickModel||this.getTickModel(),A=o(this,h),y=A.ticks,w=S(y,function(x){return{coord:this.dataToCoord(x),tickValue:x}},this),b=h.get("alignWithLabel");return r(this,w,b,u.clamp),w},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var u=this.model.getModel("minorTick"),h=u.get("splitNumber");h>0&&h<100||(h=5);var A=this.scale.getMinorTicks(h),y=S(A,function(w){return S(w,function(b){return{coord:this.dataToCoord(b),tickValue:b}},this)},this);return y},getViewLabels:function(){return i(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var u=this._extent,h=this.scale.getExtent(),A=h[1]-h[0]+(this.onBand?1:0);A===0&&(A=1);var y=Math.abs(u[1]-u[0]);return Math.abs(y)/A},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return t(this)}};function l(u,h){var A=u[1]-u[0],y=h,w=A/y/2;u[0]+=w,u[1]-=w}function r(u,h,A,y){var w=h.length;if(!u.onBand||A||!w)return;var b=u.getExtent(),x,O;if(w===1)h[0].coord=b[0],x=h[1]={coord:b[0]};else{var T=h[w-1].tickValue-h[0].tickValue,E=(h[w-1].coord-h[0].coord)/T;p(h,function(P){P.coord-=E/2});var C=u.scale.getExtent();O=1+C[1]-h[w-1].tickValue,x={coord:h[w-1].coord+E*O},h.push(x)}var _=b[0]>b[1];L(h[0].coord,b[0])&&(y?h[0].coord=b[0]:h.shift()),y&&L(b[0],h[0].coord)&&h.unshift({coord:b[0]}),L(b[1],x.coord)&&(y?x.coord=b[1]:h.pop()),y&&L(x.coord,b[1])&&h.push({coord:b[1]});function L(P,k){return P=d(P),k=d(k),_?P>k:P<k}}var s=e;M.exports=s},hNWo:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("Qxkt"),m=n("4NO4"),g=m.isNameSpecified,f=n("Kagy"),d=f.legend.selector,c={all:{type:"all",title:p.clone(d.all)},inverse:{type:"inverse",title:p.clone(d.inverse)}},o=v.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,a,e){this.mergeDefaultAndTheme(t,e),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){o.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var a=t.selector;a===!0&&(a=t.selector=["all","inverse"]),p.isArray(a)&&p.each(a,function(e,l){p.isString(e)&&(e={type:e}),a[l]=p.merge(e,c[e.type])})},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&this.get("selectedMode")==="single"){for(var a=!1,e=0;e<t.length;e++){var l=t[e].get("name");if(this.isSelected(l)){this.select(l),a=!0;break}}!a&&this.select(t[0].get("name"))}},_updateData:function(t){var a=[],e=[];t.eachRawSeries(function(s){var u=s.name;e.push(u);var h;if(s.legendVisualProvider){var A=s.legendVisualProvider,y=A.getAllNames();t.isSeriesFiltered(s)||(e=e.concat(y)),y.length?a=a.concat(y):h=!0}else h=!0;h&&g(s)&&a.push(s.name)}),this._availableNames=e;var l=this.get("data")||a,r=p.map(l,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new S(s,this,this.ecModel)},this);this._data=r},getData:function(){return this._data},select:function(t){var a=this.option.selected,e=this.get("selectedMode");if(e==="single"){var l=this._data;p.each(l,function(r){a[r.get("name")]=!1})}a[t]=!0},unSelect:function(t){this.get("selectedMode")!=="single"&&(this.option.selected[t]=!1)},toggleSelected:function(t){var a=this.option.selected;a.hasOwnProperty(t)||(a[t]=!0),this[a[t]?"unSelect":"select"](t)},allSelect:function(){var t=this._data,a=this.option.selected;p.each(t,function(e){a[e.get("name",!0)]=!0})},inverseSelect:function(){var t=this._data,a=this.option.selected;p.each(t,function(e){var l=e.get("name",!0);a.hasOwnProperty(l)||(a[l]=!0),a[l]=!a[l]})},isSelected:function(t){var a=this.option.selected;return!(a.hasOwnProperty(t)&&!a[t])&&p.indexOf(this._availableNames,t)>=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}}}),i=o;M.exports=i},hOwI:function(M,N){var n=Math.log(2);function v(S,m,g,f,d,c){var o=f+"-"+d,i=S.length;if(c.hasOwnProperty(o))return c[o];if(m===1){var t=Math.round(Math.log((1<<i)-1&~d)/n);return S[g][t]}for(var a=f|1<<g,e=g+1;f&1<<e;)e++;for(var l=0,r=0,s=0;r<i;r++){var u=1<<r;u&d||(l+=(s%2?-1:1)*S[g][r]*v(S,m-1,e,a,d|u,c),s++)}return c[o]=l,l}function p(S,m){var g=[[S[0],S[1],1,0,0,0,-m[0]*S[0],-m[0]*S[1]],[0,0,0,S[0],S[1],1,-m[1]*S[0],-m[1]*S[1]],[S[2],S[3],1,0,0,0,-m[2]*S[2],-m[2]*S[3]],[0,0,0,S[2],S[3],1,-m[3]*S[2],-m[3]*S[3]],[S[4],S[5],1,0,0,0,-m[4]*S[4],-m[4]*S[5]],[0,0,0,S[4],S[5],1,-m[5]*S[4],-m[5]*S[5]],[S[6],S[7],1,0,0,0,-m[6]*S[6],-m[6]*S[7]],[0,0,0,S[6],S[7],1,-m[7]*S[6],-m[7]*S[7]]],f={},d=v(g,8,0,0,0,f);if(d===0)return;for(var c=[],o=0;o<8;o++)for(var i=0;i<8;i++)c[i]==null&&(c[i]=0),c[i]+=((o+i)%2?-1:1)*v(g,7,o===0?1:0,1<<o,1<<i,f)/d*m[o];return function(t,a,e){var l=a*c[6]+e*c[7]+1;t[0]=(a*c[0]+e*c[1]+c[2])/l,t[1]=(a*c[3]+e*c[4]+c[5])/l}}N.buildTransformer=p},hX1E:function(M,N){var n=Math.PI*2;function v(p){return p%=n,p<0&&(p+=n),p}N.normalizeRadian=v},hXwI:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function v(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function p(g,f){for(var d=0;d<f.length;d++){var c=f[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function S(g,f,d){return f&&p(g.prototype,f),d&&p(g,d),g}var m=function(){function g(){v(this,g)}return S(g,[{key:"decodeRect",value:function(d,c,o,i,t,a,e){if(t.rQwait("COPYRECT",4))return!1;var l=t.rQshift16(),r=t.rQshift16();return a.copyImage(l,r,d,c,o,i),!0}}]),g}();N.default=m},hi0g:function(M,N,n){var v=n("bYtY"),p=v.createHashMap,S=v.each,m=v.isString,g=v.defaults,f=v.extend,d=v.isObject,c=v.clone,o=n("4NO4"),i=o.normalizeToArray,t=n("D5nY"),a=t.guessOrdinal,e=t.BE_ORDINAL,l=n("7G+c"),r=n("L0Ub"),s=r.OTHER_DIMENSIONS,u=n("Vi4m");function h(b,x,O){l.isInstance(x)||(x=l.seriesDataToSource(x)),O=O||{},b=(b||[]).slice();for(var T=(O.dimsDef||[]).slice(),E=p(),C=p(),_=[],L=A(x,b,T,O.dimCount),P=0;P<L;P++){var k=T[P]=f({},d(T[P])?T[P]:{name:T[P]}),F=k.name,j=_[P]=new u;F!=null&&E.get(F)==null&&(j.name=j.displayName=F,E.set(F,P)),k.type!=null&&(j.type=k.type),k.displayName!=null&&(j.displayName=k.displayName)}var z=O.encodeDef;!z&&O.encodeDefaulter&&(z=O.encodeDefaulter(x,L)),z=p(z),z.each(function(re,ye){if(re=i(re).slice(),re.length===1&&!m(re[0])&&re[0]<0){z.set(ye,!1);return}var $=z.set(ye,[]);S(re,function(ve,Ce){m(ve)&&(ve=E.get(ve)),ve!=null&&ve<L&&($[Ce]=ve,U(_[ve],ye,Ce))})});var R=0;S(b,function(re,ye){var $,re,ve,Ce;if(m(re))$=re,re={};else{$=re.name;var Se=re.ordinalMeta;re.ordinalMeta=null,re=c(re),re.ordinalMeta=Se,ve=re.dimsDef,Ce=re.otherDims,re.name=re.coordDim=re.coordDimIndex=re.dimsDef=re.otherDims=null}var Ke=z.get($);if(Ke===!1)return;var Ke=i(Ke);if(!Ke.length)for(var ue=0;ue<(ve&&ve.length||1);ue++){for(;R<_.length&&_[R].coordDim!=null;)R++;R<_.length&&Ke.push(R++)}S(Ke,function(Le,ee){var le=_[Le];if(U(g(le,re),$,ee),le.name==null&&ve){var et=ve[ee];!d(et)&&(et={name:et}),le.name=le.displayName=et.name,le.defaultTooltip=et.defaultTooltip}Ce&&g(le.otherDims,Ce)})});function U(re,ye,$){s.get(ye)!=null?re.otherDims[ye]=$:(re.coordDim=ye,re.coordDimIndex=$,C.set(ye,!0))}var B=O.generateCoord,H=O.generateCoordCount,K=H!=null;H=B?H||1:0;for(var V=B||"value",W=0;W<L;W++){var j=_[W]=_[W]||new u,G=j.coordDim;G==null&&(j.coordDim=y(V,C,K),j.coordDimIndex=0,(!B||H<=0)&&(j.isExtraCoord=!0),H--),j.name==null&&(j.name=y(j.coordDim,E)),j.type==null&&(a(x,W,j.name)===e.Must||j.isExtraCoord&&(j.otherDims.itemName!=null||j.otherDims.seriesName!=null))&&(j.type="ordinal")}return _}function A(b,x,O,T){var E=Math.max(b.dimensionsDetectCount||1,x.length,O.length,T||0);return S(x,function(C){var _=C.dimsDef;_&&(E=Math.max(E,_.length))}),E}function y(b,x,O){if(O||x.get(b)!=null){for(var T=0;x.get(b+T)!=null;)T++;b+=T}return x.set(b,!0),b}var w=h;M.exports=w},hkKa:function(M,N,n){"use strict";n.d(N,"a",function(){return g});var v=n("J4zp"),p=n.n(v),S=n("q1tI"),m=n.n(S);function g(){var f=S.useReducer(function(o){return o+1},0),d=p()(f,2),c=d[1];return c}},hw6D:function(M,N,n){var v=n("bYtY");function p(g){g.eachSeriesByType("radar",function(f){var d=f.getData(),c=[],o=f.coordinateSystem;if(!o)return;var i=o.getIndicatorAxes();v.each(i,function(t,a){d.each(d.mapDimension(i[a].dim),function(e,l){c[l]=c[l]||[];var r=o.dataToPoint(e,a);c[l][a]=S(r)?r:m(o)})}),d.each(function(t){var a=v.find(c[t],function(e){return S(e)})||m(o);c[t].push(a.slice()),d.setItemLayout(t,c[t])})})}function S(g){return!isNaN(g[0])&&!isNaN(g[1])}function m(g){return[g.cx,g.cy]}M.exports=p},hwYd:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("Nu4q")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="PictureTwoTone";var i=m.forwardRef(o);N.default=i},hydK:function(M,N){var n="http://www.w3.org/2000/svg";function v(p){return document.createElementNS(n,p)}N.createElement=v},hyiK:function(M,N){function n(v,p,S,m,g,f){if(f>p&&f>m||f<p&&f<m)return 0;if(m===p)return 0;var d=m<p?1:-1,c=(f-p)/(m-p);(c===1||c===0)&&(d=m<p?.5:-.5);var o=c*(S-v)+v;return o===g?Infinity:o>g?d:0}M.exports=n},i38C:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=S.createHashMap,g=S.retrieve,f=S.each;function d(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function c(t){var a=t.get("coordinateSystem"),e=new d(a),l=o[a];if(l)return l(t,e,e.axisMap,e.categoryAxisMap),e}var o={cartesian2d:function(t,a,e,l){var r=t.getReferringComponents("xAxis")[0],s=t.getReferringComponents("yAxis")[0];a.coordSysDims=["x","y"],e.set("x",r),e.set("y",s),i(r)&&(l.set("x",r),a.firstCategoryDimIndex=0),i(s)&&(l.set("y",s),a.firstCategoryDimIndex==null&(a.firstCategoryDimIndex=1))},singleAxis:function(t,a,e,l){var r=t.getReferringComponents("singleAxis")[0];a.coordSysDims=["single"],e.set("single",r),i(r)&&(l.set("single",r),a.firstCategoryDimIndex=0)},polar:function(t,a,e,l){var r=t.getReferringComponents("polar")[0],s=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");a.coordSysDims=["radius","angle"],e.set("radius",s),e.set("angle",u),i(s)&&(l.set("radius",s),a.firstCategoryDimIndex=0),i(u)&&(l.set("angle",u),a.firstCategoryDimIndex==null&&(a.firstCategoryDimIndex=1))},geo:function(t,a,e,l){a.coordSysDims=["lng","lat"]},parallel:function(t,a,e,l){var r=t.ecModel,s=r.getComponent("parallel",t.get("parallelIndex")),u=a.coordSysDims=s.dimensions.slice();f(s.parallelAxisIndex,function(h,A){var y=r.getComponent("parallelAxis",h),w=u[A];e.set(w,y),i(y)&&a.firstCategoryDimIndex==null&&(l.set(w,y),a.firstCategoryDimIndex=A)})}};function i(t){return t.get("type")==="category"}N.getCoordSysInfoBySeries=c},i6bk:function(M,N,n){"use strict";n.d(N,"b",function(){return v}),n.d(N,"a",function(){return p});function v(S){return S!=null&&S===S.window}function p(S,m){if(typeof window=="undefined")return 0;var g=m?"scrollTop":"scrollLeft",f=0;return v(S)?f=S[m?"pageYOffset":"pageXOffset"]:S instanceof Document?f=S.documentElement[g]:S&&(f=S[g]),S&&!v(S)&&typeof f!="number"&&(f=(S.ownerDocument||S).documentElement[g]),f}},i8CU:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("Fm1+"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},iLNv:function(M,N){var n="\0__throttleOriginMethod",v="\0__throttleRate",p="\0__throttleType";function S(f,d,c){var o,i=0,t=0,a=null,e,l,r,s;d=d||0;function u(){t=new Date().getTime(),a=null,f.apply(l,r||[])}var h=function(){o=new Date().getTime(),l=this,r=arguments;var A=s||d,y=s||c;s=null,e=o-(y?i:t)-A,clearTimeout(a),y?a=setTimeout(u,A):e>=0?u():a=setTimeout(u,-e),i=o};return h.clear=function(){a&&(clearTimeout(a),a=null)},h.debounceNextCall=function(A){s=A},h}function m(f,d,c,o){var i=f[d];if(!i)return;var t=i[n]||i,a=i[p],e=i[v];if(e!==c||a!==o){if(c==null||!o)return f[d]=t;i=f[d]=S(t,c,o==="debounce"),i[n]=t,i[p]=o,i[v]=c}return i}function g(f,d){var c=f[d];c&&c[n]&&(f[d]=c[n])}N.throttle=S,N.createOrUpdate=m,N.clear=g},iPDy:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=v.extendComponentView({type:"marker",init:function(){this.markerGroupMap=p.createHashMap()},render:function(m,g,f){var d=this.markerGroupMap;d.each(function(o){o.__keep=!1});var c=this.type+"Model";g.eachSeries(function(o){var i=o[c];i&&this.renderSeries(o,i,g,f)},this),d.each(function(o){!o.__keep&&this.group.remove(o.group)},this)},renderSeries:function(){}});M.exports=S},iQDF:function(M,N,n){"use strict";var v=n("ZTW2"),p=n.n(v),S=n("+BJd"),m=n("+L6B")},iRjW:function(M,N,n){var v=n("bYtY"),p=n("Yl7c"),S=p.parseClassType,m=0;function g(c){return[c||"",m++,Math.random().toFixed(5)].join("_")}function f(c){var o={};return c.registerSubTypeDefaulter=function(i,t){i=S(i),o[i.main]=t},c.determineSubType=function(i,t){var a=t.type;if(!a){var e=S(i).main;c.hasSubTypes(i)&&o[e]&&(a=o[e](t))}return a},c}function d(c,o){c.topologicalTravel=function(e,l,r,s){if(!e.length)return;var u=i(l),h=u.graph,A=u.noEntryList,y={};for(v.each(e,function(E){y[E]=!0});A.length;){var w=A.pop(),b=h[w],x=!!y[w];x&&(r.call(s,w,b.originalDeps.slice()),delete y[w]),v.each(b.successor,x?T:O)}v.each(y,function(){throw new Error("Circle dependency may exists")});function O(E){h[E].entryCount--,h[E].entryCount===0&&A.push(E)}function T(E){y[E]=!0,O(E)}};function i(e){var l={},r=[];return v.each(e,function(s){var u=t(l,s),h=u.originalDeps=o(s),A=a(h,e);u.entryCount=A.length,u.entryCount===0&&r.push(s),v.each(A,function(y){v.indexOf(u.predecessor,y)<0&&u.predecessor.push(y);var w=t(l,y);v.indexOf(w.successor,y)<0&&w.successor.push(s)})}),{graph:l,noEntryList:r}}function t(e,l){return e[l]||(e[l]={predecessor:[],successor:[]}),e[l]}function a(e,l){var r=[];return v.each(e,function(s){v.indexOf(l,s)>=0&&r.push(s)}),r}}N.getUID=g,N.enableSubTypeDefaulter=f,N.enableTopologicalTravel=d},iUHT:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function v(b,x){if(!(b instanceof x))throw new TypeError("Cannot call a class as a function")}function p(b,x){for(var O=0;O<x.length;O++){var T=x[O];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(b,T.key,T)}}function S(b,x,O){return x&&p(b.prototype,x),O&&p(b,O),b}var m=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],g=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=0,d,c,o,i,t,a;d=1<<16,c=1<<24,o=d|c,i=1<<2,t=1<<10,a=i|t;var e=[o|t,f|f,d|f,o|a,o|i,d|a,f|i,d|f,f|t,o|t,o|a,f|t,c|a,o|i,c|f,f|i,f|a,c|t,c|t,d|t,d|t,o|f,o|f,c|a,d|i,c|i,c|i,d|i,f|f,f|a,d|a,c|f,d|f,o|a,f|i,o|f,o|t,c|f,c|f,f|t,o|i,d|f,d|t,c|i,f|t,f|i,c|a,d|a,o|a,d|i,o|f,c|a,c|i,f|a,d|a,o|t,f|a,c|t,c|t,f|f,d|i,d|t,f|f,o|i];d=1<<20,c=1<<31,o=d|c,i=1<<5,t=1<<15,a=i|t;var l=[o|a,c|t,f|t,d|a,d|f,f|i,o|i,c|a,c|i,o|a,o|t,c|f,c|t,d|f,f|i,o|i,d|t,d|i,c|a,f|f,c|f,f|t,d|a,o|f,d|i,c|i,f|f,d|t,f|a,o|t,o|f,f|a,f|f,d|a,o|i,d|f,c|a,o|f,o|t,f|t,o|f,c|t,f|i,o|a,d|a,f|i,f|t,c|f,f|a,o|t,d|f,c|i,d|i,c|a,c|i,d|i,d|t,f|f,c|t,f|a,c|f,o|i,o|a,d|t];d=1<<17,c=1<<27,o=d|c,i=1<<3,t=1<<9,a=i|t;var r=[f|a,o|t,f|f,o|i,c|t,f|f,d|a,c|t,d|i,c|i,c|i,d|f,o|a,d|i,o|f,f|a,c|f,f|i,o|t,f|t,d|t,o|f,o|i,d|a,c|a,d|t,d|f,c|a,f|i,o|a,f|t,c|f,o|t,c|f,d|i,f|a,d|f,o|t,c|t,f|f,f|t,d|i,o|a,c|t,c|i,f|t,f|f,o|i,c|a,d|f,c|f,o|a,f|i,d|a,d|t,c|i,o|f,c|a,f|a,o|f,d|a,f|i,o|i,d|t];d=1<<13,c=1<<23,o=d|c,i=1<<0,t=1<<7,a=i|t;var s=[o|i,d|a,d|a,f|t,o|t,c|a,c|i,d|i,f|f,o|f,o|f,o|a,f|a,f|f,c|t,c|i,f|i,d|f,c|f,o|i,f|t,c|f,d|i,d|t,c|a,f|i,d|t,c|t,d|f,o|t,o|a,f|a,c|t,c|i,o|f,o|a,f|a,f|f,f|f,o|f,d|t,c|t,c|a,f|i,o|i,d|a,d|a,f|t,o|a,f|a,f|i,d|f,c|i,d|i,o|t,c|a,d|i,d|t,c|f,o|i,f|t,c|f,d|f,o|t];d=1<<25,c=1<<30,o=d|c,i=1<<8,t=1<<19,a=i|t;var u=[f|i,d|a,d|t,o|i,f|t,f|i,c|f,d|t,c|a,f|t,d|i,c|a,o|i,o|t,f|a,c|f,d|f,c|t,c|t,f|f,c|i,o|a,o|a,d|i,o|t,c|i,f|f,o|f,d|a,d|f,o|f,f|a,f|t,o|i,f|i,d|f,c|f,d|t,o|i,c|a,d|i,c|f,o|t,d|a,c|a,f|i,d|f,o|t,o|a,f|a,o|f,o|a,d|t,f|f,c|t,o|f,f|a,d|i,c|i,f|t,f|f,c|t,d|a,c|i];d=1<<22,c=1<<29,o=d|c,i=1<<4,t=1<<14,a=i|t;var h=[c|i,o|f,f|t,o|a,o|f,f|i,o|a,d|f,c|t,d|a,d|f,c|i,d|i,c|t,c|f,f|a,f|f,d|i,c|a,f|t,d|t,c|a,f|i,o|i,o|i,f|f,d|a,o|t,f|a,d|t,o|t,c|f,c|t,f|i,o|i,d|t,o|a,d|f,f|a,c|i,d|f,c|t,c|f,f|a,c|i,o|a,d|t,o|f,d|a,o|t,f|f,o|i,f|i,f|t,o|f,d|a,f|t,d|i,c|a,f|f,o|t,c|f,d|i,c|a];d=1<<21,c=1<<26,o=d|c,i=1<<1,t=1<<11,a=i|t;var A=[d|f,o|i,c|a,f|f,f|t,c|a,d|a,o|t,o|a,d|f,f|f,c|i,f|i,c|f,o|i,f|a,c|t,d|a,d|i,c|t,c|i,o|f,o|t,d|i,o|f,f|t,f|a,o|a,d|t,f|i,c|f,d|t,c|f,d|t,d|f,c|a,c|a,o|i,o|i,f|i,d|i,c|f,c|t,d|f,o|t,f|a,d|a,o|t,f|a,c|i,o|a,o|f,d|t,f|f,f|i,o|a,f|f,d|a,o|f,f|t,c|i,c|t,f|t,d|i];d=1<<18,c=1<<28,o=d|c,i=1<<6,t=1<<12,a=i|t;var y=[c|a,f|t,d|f,o|a,c|f,c|a,f|i,c|f,d|i,o|f,o|a,d|t,o|t,d|a,f|t,f|i,o|f,c|i,c|t,f|a,d|t,d|i,o|i,o|t,f|a,f|f,f|f,o|i,c|i,c|t,d|a,d|f,d|a,d|f,o|t,f|t,f|i,o|i,f|t,d|a,c|t,f|i,c|i,o|f,o|i,c|f,d|f,c|a,f|f,o|a,d|i,c|i,o|f,c|t,c|a,f|f,o|a,d|t,d|t,f|a,f|a,d|i,c|f,o|t],w=function(){function b(x){v(this,b),this.keys=[];for(var O=[],T=[],E=[],C=0,_=56;C<56;++C,_-=8){_+=_<-5?65:_<-3?31:_<-1?63:_===27?35:0;var L=_&7;O[C]=(x[_>>>3]&1<<L)!==0?1:0}for(var P=0;P<16;++P){var k=P<<1,F=k+1;E[k]=E[F]=0;for(var j=28;j<59;j+=28)for(var z=j-28;z<j;++z){var R=z+g[P];T[z]=R<j?O[R]:O[R-28]}for(var U=0;U<24;++U)T[m[U]]!==0&&(E[k]|=1<<23-U),T[m[U+24]]!==0&&(E[F]|=1<<23-U)}for(var B=0,H=0,K=0;B<16;++B){var V=E[H++],W=E[H++];this.keys[K]=(V&16515072)<<6,this.keys[K]|=(V&4032)<<10,this.keys[K]|=(W&16515072)>>>10,this.keys[K]|=(W&4032)>>>6,++K,this.keys[K]=(V&258048)<<12,this.keys[K]|=(V&63)<<16,this.keys[K]|=(W&258048)>>>4,this.keys[K]|=W&63,++K}}return S(b,[{key:"enc8",value:function(O){var T=O.slice(),E=0,C,_,L;C=T[E++]<<24|T[E++]<<16|T[E++]<<8|T[E++],_=T[E++]<<24|T[E++]<<16|T[E++]<<8|T[E++],L=(C>>>4^_)&252645135,_^=L,C^=L<<4,L=(C>>>16^_)&65535,_^=L,C^=L<<16,L=(_>>>2^C)&858993459,C^=L,_^=L<<2,L=(_>>>8^C)&16711935,C^=L,_^=L<<8,_=_<<1|_>>>31&1,L=(C^_)&2863311530,C^=L,_^=L,C=C<<1|C>>>31&1;for(var P=0,k=0;P<8;++P){L=_<<28|_>>>4,L^=this.keys[k++];var F=A[L&63];F|=u[L>>>8&63],F|=r[L>>>16&63],F|=e[L>>>24&63],L=_^this.keys[k++],F|=y[L&63],F|=h[L>>>8&63],F|=s[L>>>16&63],F|=l[L>>>24&63],C^=F,L=C<<28|C>>>4,L^=this.keys[k++],F=A[L&63],F|=u[L>>>8&63],F|=r[L>>>16&63],F|=e[L>>>24&63],L=C^this.keys[k++],F|=y[L&63],F|=h[L>>>8&63],F|=s[L>>>16&63],F|=l[L>>>24&63],_^=F}for(_=_<<31|_>>>1,L=(C^_)&2863311530,C^=L,_^=L,C=C<<31|C>>>1,L=(C>>>8^_)&16711935,_^=L,C^=L<<8,L=(C>>>2^_)&858993459,_^=L,C^=L<<2,L=(_>>>16^C)&65535,C^=L,_^=L<<16,L=(_>>>4^C)&252645135,C^=L,_^=L<<4,L=[_,C],E=0;E<8;E++)T[E]=(L[E>>>2]>>>8*(3-E%4))%256,T[E]<0&&(T[E]+=256);return T}},{key:"encrypt",value:function(O){return this.enc8(O.slice(0,8)).concat(this.enc8(O.slice(8,16)))}}]),b}();N.default=w},iXHM:function(M,N){var n="";typeof navigator!="undefined"&&(n=navigator.platform||"");var v={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};M.exports=v},iXp4:function(M,N,n){var v=n("ItGF"),p=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function S(m){return v.browser.ie&&v.browser.version>=11?function(){var g=this.__clipPaths,f=this.style,d;if(g)for(var c=0;c<g.length;c++){var o=g[c],i=o&&o.shape,t=o&&o.type;if(i&&(t==="sector"&&i.startAngle===i.endAngle||t==="rect"&&(!i.width||!i.height))){for(var a=0;a<p.length;a++)p[a][2]=f[p[a][0]],f[p[a][0]]=p[a][1];d=!0;break}}if(m.apply(this,arguments),d)for(var a=0;a<p.length;a++)f[p[a][0]]=p[a][2]}:m}M.exports=S},iYpf:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("ZLWo")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="FolderOpenOutlined";var i=m.forwardRef(o);N.default=i},ieMj:function(M,N,n){var v=n("OELB"),p=n("7aKB"),S=n("4NgU"),m=n("lE7J"),g=v.round,f=S.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(c,o){var i=this._extent;isNaN(c)||(i[0]=parseFloat(c)),isNaN(o)||(i[1]=parseFloat(o))},unionExtent:function(c){var o=this._extent;c[0]<o[0]&&(o[0]=c[0]),c[1]>o[1]&&(o[1]=c[1]),f.prototype.setExtent.call(this,o[0],o[1])},getInterval:function(){return this._interval},setInterval:function(c){this._interval=c,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(c)},getTicks:function(c){var o=this._interval,i=this._extent,t=this._niceExtent,a=this._intervalPrecision,e=[];if(!o)return e;var l=1e4;i[0]<t[0]&&(c?e.push(g(t[0]-o,a)):e.push(i[0]));for(var r=t[0];r<=t[1]&&!(e.push(r),r=g(r+o,a),r===e[e.length-1]);)if(e.length>l)return[];var s=e.length?e[e.length-1]:t[1];return i[1]>s&&(c?e.push(g(s+o,a)):e.push(i[1])),e},getMinorTicks:function(c){for(var o=this.getTicks(!0),i=[],t=this.getExtent(),a=1;a<o.length;a++){for(var e=o[a],l=o[a-1],r=0,s=[],u=e-l,h=u/c;r<c-1;){var A=v.round(l+(r+1)*h);A>t[0]&&A<t[1]&&s.push(A),r++}i.push(s)}return i},getLabel:function(c,o){if(c==null)return"";var i=o&&o.precision;return i==null?i=v.getPrecisionSafe(c)||0:i==="auto"&&(i=this._intervalPrecision),c=g(c,i,!0),p.addCommas(c)},niceTicks:function(c,o,i){c=c||5;var t=this._extent,a=t[1]-t[0];if(!isFinite(a))return;a<0&&(a=-a,t.reverse());var e=m.intervalScaleNiceTicks(t,c,o,i);this._intervalPrecision=e.intervalPrecision,this._interval=e.interval,this._niceExtent=e.niceTickExtent},niceExtent:function(c){var o=this._extent;if(o[0]===o[1])if(o[0]!==0){var i=o[0];c.fixMax||(o[1]+=i/2),o[0]-=i/2}else o[1]=1;var t=o[1]-o[0];isFinite(t)||(o[0]=0,o[1]=1),this.niceTicks(c.splitNumber,c.minInterval,c.maxInterval);var a=this._interval;c.fixMin||(o[0]=g(Math.floor(o[0]/a)*a)),c.fixMax||(o[1]=g(Math.ceil(o[1]/a)*a))}});f.create=function(){return new f};var d=f;M.exports=d},j5sG:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var v=p(n("NohK"));function p(m){return m&&m.__esModule?m:{default:m}}var S=function(g){var f=void 0,d=[],c=(0,v.default)(function(){d.forEach(function(e){e(g)})}),o=function(){var l=new ResizeObserver(c);return l.observe(g),c(),l},i=function(l){f||(f=o()),d.indexOf(l)===-1&&d.push(l)},t=function(){f.disconnect(),d=[],f=void 0},a=function(l){var r=d.indexOf(l);r!==-1&&d.splice(r,1),d.length===0&&f&&t()};return{element:g,bind:i,destroy:t,unbind:a}};N.createSensor=S},jCWc:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("1GLa")},jCoz:function(M,N,n){var v=n("bYtY"),p=n("4NgU"),S=n("OELB"),m=n("ieMj"),g=p.prototype,f=m.prototype,d=S.getPrecisionSafe,c=S.round,o=Math.floor,i=Math.ceil,t=Math.pow,a=Math.log,e=p.extend({type:"log",base:10,$constructor:function(){p.apply(this,arguments),this._originalScale=new m},getTicks:function(s){var u=this._originalScale,h=this._extent,A=u.getExtent();return v.map(f.getTicks.call(this,s),function(y){var w=S.round(t(this.base,y));return w=y===h[0]&&u.__fixMin?l(w,A[0]):w,w=y===h[1]&&u.__fixMax?l(w,A[1]):w,w},this)},getMinorTicks:f.getMinorTicks,getLabel:f.getLabel,scale:function(s){return s=g.scale.call(this,s),t(this.base,s)},setExtent:function(s,u){var h=this.base;s=a(s)/a(h),u=a(u)/a(h),f.setExtent.call(this,s,u)},getExtent:function(){var s=this.base,u=g.getExtent.call(this);u[0]=t(s,u[0]),u[1]=t(s,u[1]);var h=this._originalScale,A=h.getExtent();return h.__fixMin&&(u[0]=l(u[0],A[0])),h.__fixMax&&(u[1]=l(u[1],A[1])),u},unionExtent:function(s){this._originalScale.unionExtent(s);var u=this.base;s[0]=a(s[0])/a(u),s[1]=a(s[1])/a(u),g.unionExtent.call(this,s)},unionExtentFromData:function(s,u){this.unionExtent(s.getApproximateExtent(u))},niceTicks:function(s){s=s||10;var u=this._extent,h=u[1]-u[0];if(h===Infinity||h<=0)return;var A=S.quantity(h),y=s/h*A;for(y<=.5&&(A*=10);!isNaN(A)&&Math.abs(A)<1&&Math.abs(A)>0;)A*=10;var w=[S.round(i(u[0]/A)*A),S.round(o(u[1]/A)*A)];this._interval=A,this._niceExtent=w},niceExtent:function(s){f.niceExtent.call(this,s);var u=this._originalScale;u.__fixMin=s.fixMin,u.__fixMax=s.fixMax}});v.each(["contain","normalize"],function(s){e.prototype[s]=function(u){return u=a(u)/a(this.base),g[s].call(this,u)}}),e.create=function(){return new e};function l(s,u){return c(s,d(u))}var r=e;M.exports=r},jN4g:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={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"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="CloseCircleFilled";var d=N.a=p.forwardRef(f)},jO45:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={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"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="CheckCircleFilled";var d=N.a=p.forwardRef(f)},jTL6:function(M,N,n){var v=n("y+Vt"),p=v.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(m,g){var f=g.cx,d=g.cy,c=Math.max(g.r,0),o=g.startAngle,i=g.endAngle,t=g.clockwise,a=Math.cos(o),e=Math.sin(o);m.moveTo(a*c+f,e*c+d),m.arc(f,d,c,o,i,!t)}});M.exports=p},je13:function(M,N,n){var v=n("5nXd"),p=n("gRFJ"),S=[n("uQRt")];M.exports=v.createStore(p,S)},jett:function(M,N,n){var v=n("ProS");n("VSLf"),n("oBaM"),n("FGaS");var p=n("mOdp"),S=n("f5Yq"),m=n("hw6D"),g=n("0/Rx"),f=n("eJH7");v.registerVisual(p("radar")),v.registerVisual(S("radar","circle")),v.registerLayout(m),v.registerProcessor(g("radar")),v.registerPreprocessor(f)},jhfD:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="ArrowLeftOutlined";var d=N.a=p.forwardRef(f)},jkPA:function(M,N,n){var v=n("bYtY"),p=v.createHashMap,S=v.isObject,m=v.map;function g(i){this.categories=i.categories||[],this._needCollect=i.needCollect,this._deduplication=i.deduplication,this._map}g.createByAxisModel=function(i){var t=i.option,a=t.data,e=a&&m(a,c);return new g({categories:e,needCollect:!e,deduplication:t.dedplication!==!1})};var f=g.prototype;f.getOrdinal=function(i){return d(this).get(i)},f.parseAndCollect=function(i){var t,a=this._needCollect;if(typeof i!="string"&&!a)return i;if(a&&!this._deduplication)return t=this.categories.length,this.categories[t]=i,t;var e=d(this);return t=e.get(i),t==null&&(a?(t=this.categories.length,this.categories[t]=i,e.set(i,t)):t=NaN),t};function d(i){return i._map||(i._map=p(i.categories))}function c(i){return S(i)&&i.value!=null?i.value:i+""}var o=g;M.exports=o},jndi:function(M,N,n){var v=n("bYtY"),p=n("Qe9p"),S=n("YXkt"),m=n("OELB"),g=n("IwbS"),f=n("kj2x"),d=n("iPDy"),c=function(r,s,u,h){var A=f.dataTransform(r,h[0]),y=f.dataTransform(r,h[1]),w=v.retrieve,b=A.coord,x=y.coord;b[0]=w(b[0],-Infinity),b[1]=w(b[1],-Infinity),x[0]=w(x[0],Infinity),x[1]=w(x[1],Infinity);var O=v.mergeAll([{},A,y]);return O.coord=[A.coord,y.coord],O.x0=A.x,O.y0=A.y,O.x1=y.x,O.y1=y.y,O};function o(r){return!isNaN(r)&&!isFinite(r)}function i(r,s,u,h){var A=1-r;return o(s[A])&&o(u[A])}function t(r,s){var u=s.coord[0],h=s.coord[1];return r.type==="cartesian2d"&&(u&&h&&(i(1,u,h,r)||i(0,u,h,r)))?!0:f.dataFilter(r,{coord:u,x:s.x0,y:s.y0})||f.dataFilter(r,{coord:h,x:s.x1,y:s.y1})}function a(r,s,u,h,A){var y=h.coordinateSystem,w=r.getItemModel(s),b,x=m.parsePercent(w.get(u[0]),A.getWidth()),O=m.parsePercent(w.get(u[1]),A.getHeight());if(!isNaN(x)&&!isNaN(O))b=[x,O];else{if(h.getMarkerPosition)b=h.getMarkerPosition(r.getValues(u,s));else{var T=r.get(u[0],s),E=r.get(u[1],s),C=[T,E];y.clampData&&y.clampData(C,C),b=y.dataToPoint(C,!0)}if(y.type==="cartesian2d"){var _=y.getAxis("x"),L=y.getAxis("y"),T=r.get(u[0],s),E=r.get(u[1],s);o(T)?b[0]=_.toGlobalCoord(_.getExtent()[u[0]==="x0"?0:1]):o(E)&&(b[1]=L.toGlobalCoord(L.getExtent()[u[1]==="y0"?0:1]))}isNaN(x)||(b[0]=x),isNaN(O)||(b[1]=O)}return b}var e=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];d.extend({type:"markArea",updateTransform:function(r,s,u){s.eachSeries(function(h){var A=h.markAreaModel;if(A){var y=A.getData();y.each(function(w){var b=v.map(e,function(O){return a(y,w,O,h,u)});y.setItemLayout(w,b);var x=y.getItemGraphicEl(w);x.setShape("points",b)})}},this)},renderSeries:function(r,s,u,h){var A=r.coordinateSystem,y=r.id,w=r.getData(),b=this.markerGroupMap,x=b.get(y)||b.set(y,{group:new g.Group});this.group.add(x.group),x.__keep=!0;var O=l(A,r,s);s.setData(O),O.each(function(T){O.setItemLayout(T,v.map(e,function(E){return a(O,T,E,r,h)})),O.setItemVisual(T,{color:w.getVisual("color")})}),O.diff(x.__data).add(function(T){var E=new g.Polygon({shape:{points:O.getItemLayout(T)}});O.setItemGraphicEl(T,E),x.group.add(E)}).update(function(T,E){var C=x.__data.getItemGraphicEl(E);g.updateProps(C,{shape:{points:O.getItemLayout(T)}},s,T),x.group.add(C),O.setItemGraphicEl(T,C)}).remove(function(T){var E=x.__data.getItemGraphicEl(T);x.group.remove(E)}).execute(),O.eachItemGraphicEl(function(T,E){var C=O.getItemModel(E),_=C.getModel("label"),L=C.getModel("emphasis.label"),P=O.getItemVisual(E,"color");T.useStyle(v.defaults(C.getModel("itemStyle").getItemStyle(),{fill:p.modifyAlpha(P,.4),stroke:P})),T.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),g.setLabelStyle(T.style,T.hoverStyle,_,L,{labelFetcher:s,labelDataIndex:E,defaultText:O.getName(E)||"",isRectText:!0,autoColor:P}),g.setHoverStyle(T,{}),T.dataModel=s}),x.__data=O,x.group.silent=s.get("silent")||r.get("silent")}});function l(r,s,u){var h,A,y=["x0","y0","x1","y1"];r?(h=v.map(r&&r.dimensions,function(x){var O=s.getData(),T=O.getDimensionInfo(O.mapDimension(x))||{};return v.defaults({name:x},T)}),A=new S(v.map(y,function(x,O){return{name:x,type:h[O%2].type}}),u)):(h=[{name:"value",type:"float"}],A=new S(h,u));var w=v.map(u.get("data"),v.curry(c,s,r,u));r&&(w=v.filter(w,v.curry(t,r)));var b=r?function(x,O,T,E){return x.coord[Math.floor(E/2)][E%2]}:function(x){return x.value};return A.initData(w,null,b),A.hasItemOption=!0,A}},"jsU+":function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("IUWy"),m=v.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),p.each(this.option.feature,function(f,d){var c=S.get(d);c&&p.merge(f,c.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),g=m;M.exports=g},jtI2:function(M,N,n){n("SMc4");var v=n("bLfw"),p=v.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});M.exports=p},juDX:function(M,N,n){n("P47w");var v=n("aX58"),p=v.registerPainter,S=n("3CBa");p("svg",S)},k5C7:function(M,N,n){n("0JAE"),n("g7p0"),n("7mYs")},k9D9:function(M,N){var n="original",v="arrayRows",p="objectRows",S="keyedColumns",m="unknown",g="typedArray",f="column",d="row";N.SOURCE_FORMAT_ORIGINAL=n,N.SOURCE_FORMAT_ARRAY_ROWS=v,N.SOURCE_FORMAT_OBJECT_ROWS=p,N.SOURCE_FORMAT_KEYED_COLUMNS=S,N.SOURCE_FORMAT_UNKNOWN=m,N.SOURCE_FORMAT_TYPED_ARRAY=g,N.SERIES_LAYOUT_BY_COLUMN=f,N.SERIES_LAYOUT_BY_ROW=d},kDyi:function(M,N){function n(v){var p=v.findComponents({mainType:"legend"});p&&p.length&&v.filterSeries(function(S){for(var m=0;m<p.length;m++)if(!p[m].isSelected(S.name))return!1;return!0})}M.exports=n},kGiB:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("ABKa"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},kMLO:function(M,N,n){var v=n("XxSj"),p=n("Qe9p"),S=n("bYtY"),m=S.isArray,g="itemStyle",f={seriesType:"treemap",reset:function(r,s,u,h){var A=r.getData().tree,y=A.root,w=r.getModel(g);if(y.isRemoved())return;var b=S.map(A.levelModels,function(x){return x?x.get(g):null});d(y,{},b,w,r.getViewRoot().getAncestors(),r)}};function d(r,s,u,h,A,y){var w=r.getModel(),b=r.getLayout();if(!b||b.invisible||!b.isInView)return;var x=r.getModel(g),O=u[r.depth],T=c(x,s,O,h),E=x.get("borderColor"),C=x.get("borderColorSaturation"),_;C!=null&&(_=o(T,r),E=i(C,_)),r.setVisual("borderColor",E);var L=r.viewChildren;if(!L||!L.length)_=o(T,r),r.setVisual("color",_);else{var P=a(r,w,b,x,T,L);S.each(L,function(k,F){if(k.depth>=A.length||k===A[k.depth]){var j=l(w,T,k,F,P,y);d(k,j,u,h,A,y)}})}}function c(r,s,u,h){var A=S.extend({},s);return S.each(["color","colorAlpha","colorSaturation"],function(y){var w=r.get(y,!0);w==null&&u&&(w=u[y]),w==null&&(w=s[y]),w==null&&(w=h.get(y)),w!=null&&(A[y]=w)}),A}function o(r){var s=t(r,"color");if(s){var u=t(r,"colorAlpha"),h=t(r,"colorSaturation");return h&&(s=p.modifyHSL(s,null,null,h)),u&&(s=p.modifyAlpha(s,u)),s}}function i(r,s){return s!=null?p.modifyHSL(s,null,null,r):null}function t(r,s){var u=r[s];if(u!=null&&u!=="none")return u}function a(r,s,u,h,A,y){if(!y||!y.length)return;var w=e(s,"color")||A.color!=null&&A.color!=="none"&&(e(s,"colorAlpha")||e(s,"colorSaturation"));if(!w)return;var b=s.get("visualMin"),x=s.get("visualMax"),O=u.dataExtent.slice();b!=null&&b<O[0]&&(O[0]=b),x!=null&&x>O[1]&&(O[1]=x);var T=s.get("colorMappingBy"),E={type:w.name,dataExtent:O,visual:w.range};E.type==="color"&&(T==="index"||T==="id")?(E.mappingMethod="category",E.loop=!0):E.mappingMethod="linear";var C=new v(E);return C.__drColorMappingBy=T,C}function e(r,s){var u=r.get(s);return m(u)&&u.length?{name:s,range:u}:null}function l(r,s,u,h,A,y){var w=S.extend({},s);if(A){var b=A.type,x=b==="color"&&A.__drColorMappingBy,O=x==="index"?h:x==="id"?y.mapIdToIndex(u.getId()):u.getValue(r.get("visualDimension"));w[b]=A.mapValueToVisual(O)}return w}M.exports=f},kPKH:function(M,N,n){"use strict";var v=n("/kpp");N.a=v.a},kaz8:function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("lwsE"),f=n.n(g),d=n("W8MJ"),c=n.n(d),o=n("PJYZ"),i=n.n(o),t=n("7W2i"),a=n.n(t),e=n("LQ03"),l=n.n(e),r=n("q1tI"),s=n("TSYQ"),u=n.n(s),h=n("x1Ya"),A=n("RIqP"),y=n.n(A),w=n("BGR+"),b=n("H84U"),x=function(F,j){var z={};for(var R in F)Object.prototype.hasOwnProperty.call(F,R)&&j.indexOf(R)<0&&(z[R]=F[R]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,R=Object.getOwnPropertySymbols(F);U<R.length;U++)j.indexOf(R[U])<0&&Object.prototype.propertyIsEnumerable.call(F,R[U])&&(z[R[U]]=F[R[U]]);return z},O=r.createContext(null),T=function(F){a()(z,F);var j=l()(z);function z(R){var U;return f()(this,z),U=j.call(this,R),U.cancelValue=function(B){U.setState(function(H){var K=H.registeredValues;return{registeredValues:K.filter(function(V){return V!==B})}})},U.registerValue=function(B){U.setState(function(H){var K=H.registeredValues;return{registeredValues:[].concat(y()(K),[B])}})},U.toggleOption=function(B){var H=U.state.registeredValues,K=U.state.value.indexOf(B.value),V=y()(U.state.value);K===-1?V.push(B.value):V.splice(K,1),"value"in U.props||U.setState({value:V});var W=U.props.onChange;if(W){var G=U.getOptions();W(V.filter(function(re){return H.indexOf(re)!==-1}).sort(function(re,ye){var $=G.findIndex(function(Ce){return Ce.value===re}),ve=G.findIndex(function(Ce){return Ce.value===ye});return $-ve}))}},U.renderGroup=function(B){var H=B.getPrefixCls,K=B.direction,V=i()(U),W=V.props,G=V.state,re=W.prefixCls,ye=W.className,$=W.style,ve=W.options,Ce=x(W,["prefixCls","className","style","options"]),Se=H("checkbox",re),Ke="".concat(Se,"-group"),ue=Object(w.default)(Ce,["children","defaultValue","value","onChange","disabled"]),Le=W.children;ve&&ve.length>0&&(Le=U.getOptions().map(function(et){return r.createElement(P,{prefixCls:Se,key:et.value.toString(),disabled:"disabled"in et?et.disabled:W.disabled,value:et.value,checked:G.value.indexOf(et.value)!==-1,onChange:et.onChange,className:"".concat(Ke,"-item"),style:et.style},et.label)}));var ee={toggleOption:U.toggleOption,value:U.state.value,disabled:U.props.disabled,name:U.props.name,registerValue:U.registerValue,cancelValue:U.cancelValue},le=u()(Ke,ye,p()({},"".concat(Ke,"-rtl"),K==="rtl"));return r.createElement("div",m()({className:le,style:$},ue),r.createElement(O.Provider,{value:ee},Le))},U.state={value:R.value||R.defaultValue||[],registeredValues:[]},U}return c()(z,[{key:"getOptions",value:function(){var U=this.props.options;return U.map(function(B){return typeof B=="string"?{label:B,value:B}:B})}},{key:"render",value:function(){return r.createElement(b.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(U){return"value"in U?{value:U.value||[]}:null}}]),z}(r.PureComponent);T.defaultProps={options:[]};var E=T,C=n("uaoM"),_=function(F,j){var z={};for(var R in F)Object.prototype.hasOwnProperty.call(F,R)&&j.indexOf(R)<0&&(z[R]=F[R]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,R=Object.getOwnPropertySymbols(F);U<R.length;U++)j.indexOf(R[U])<0&&Object.prototype.propertyIsEnumerable.call(F,R[U])&&(z[R[U]]=F[R[U]]);return z},L=function(F){a()(z,F);var j=l()(z);function z(){var R;return f()(this,z),R=j.apply(this,arguments),R.saveCheckbox=function(U){R.rcCheckbox=U},R.renderCheckbox=function(U){var B,H=U.getPrefixCls,K=U.direction,V=i()(R),W=V.props,G=V.context,re=W.prefixCls,ye=W.className,$=W.children,ve=W.indeterminate,Ce=W.style,Se=W.onMouseEnter,Ke=W.onMouseLeave,ue=_(W,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),Le=G,ee=H("checkbox",re),le=m()({},ue);Le&&(le.onChange=function(){ue.onChange&&ue.onChange.apply(ue,arguments),Le.toggleOption({label:$,value:W.value})},le.name=Le.name,le.checked=Le.value.indexOf(W.value)!==-1,le.disabled=W.disabled||Le.disabled);var et=u()(ye,(B={},p()(B,"".concat(ee,"-wrapper"),!0),p()(B,"".concat(ee,"-rtl"),K==="rtl"),p()(B,"".concat(ee,"-wrapper-checked"),le.checked),p()(B,"".concat(ee,"-wrapper-disabled"),le.disabled),B)),Re=u()(p()({},"".concat(ee,"-indeterminate"),ve));return r.createElement("label",{className:et,style:Ce,onMouseEnter:Se,onMouseLeave:Ke},r.createElement(h.a,m()({},le,{prefixCls:ee,className:Re,ref:R.saveCheckbox})),$!==void 0&&r.createElement("span",null,$))},R}return c()(z,[{key:"componentDidMount",value:function(){var U,B=this.props.value;(U=this.context)===null||U===void 0||U.registerValue(B),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(U){var B=U.value,H,K,V=this.props.value;V!==B&&((H=this.context)===null||H===void 0||H.cancelValue(B),(K=this.context)===null||K===void 0||K.registerValue(V))}},{key:"componentWillUnmount",value:function(){var U,B=this.props.value;(U=this.context)===null||U===void 0||U.cancelValue(B)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(b.a,null,this.renderCheckbox)}}]),z}(r.PureComponent);L.__ANT_CHECKBOX=!0,L.defaultProps={indeterminate:!1},L.contextType=O;var P=L;P.Group=E;var k=N.a=P},kj2x:function(M,N,n){var v=n("bYtY"),p=n("OELB"),S=n("7hqr"),m=S.isDimensionStacked,g=v.indexOf;function f(u){return!(isNaN(parseFloat(u.x))&&isNaN(parseFloat(u.y)))}function d(u){return!isNaN(parseFloat(u.x))&&!isNaN(parseFloat(u.y))}function c(u,h,A,y,w,b){var x=[],O=m(h,y),T=O?h.getCalculationInfo("stackResultDimension"):y,E=s(h,T,u),C=h.indicesOfNearest(T,E)[0];x[w]=h.get(A,C),x[b]=h.get(T,C);var _=h.get(y,C),L=p.getPrecision(h.get(y,C));return L=Math.min(L,20),L>=0&&(x[b]=+x[b].toFixed(L)),[x,_]}var o=v.curry,i={min:o(c,"min"),max:o(c,"max"),average:o(c,"average")};function t(u,h){var A=u.getData(),y=u.coordinateSystem;if(h&&!d(h)&&!v.isArray(h.coord)&&y){var w=y.dimensions,b=a(h,A,y,u);if(h=v.clone(h),h.type&&i[h.type]&&b.baseAxis&&b.valueAxis){var x=g(w,b.baseAxis.dim),O=g(w,b.valueAxis.dim),T=i[h.type](A,b.baseDataDim,b.valueDataDim,x,O);h.coord=T[0],h.value=T[1]}else{for(var E=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],C=0;C<2;C++)i[E[C]]&&(E[C]=s(A,A.mapDimension(w[C]),E[C]));h.coord=E}}return h}function a(u,h,A,y){var w={};return u.valueIndex!=null||u.valueDim!=null?(w.valueDataDim=u.valueIndex!=null?h.getDimension(u.valueIndex):u.valueDim,w.valueAxis=A.getAxis(e(y,w.valueDataDim)),w.baseAxis=A.getOtherAxis(w.valueAxis),w.baseDataDim=h.mapDimension(w.baseAxis.dim)):(w.baseAxis=y.getBaseAxis(),w.valueAxis=A.getOtherAxis(w.baseAxis),w.baseDataDim=h.mapDimension(w.baseAxis.dim),w.valueDataDim=h.mapDimension(w.valueAxis.dim)),w}function e(u,h){var A=u.getData(),y=A.dimensions;h=A.getDimension(h);for(var w=0;w<y.length;w++){var b=A.getDimensionInfo(y[w]);if(b.name===h)return b.coordDim}}function l(u,h){return u&&u.containData&&h.coord&&!f(h)?u.containData(h.coord):!0}function r(u,h,A,y){return y<2?u.coord&&u.coord[y]:u.value}function s(u,h,A){if(A==="average"){var y=0,w=0;return u.each(h,function(b,x){isNaN(b)||(y+=b,w++)}),y/w}else return A==="median"?u.getMedian(h):u.getDataExtent(h,!0)[A==="max"?1:0]}N.dataTransform=t,N.getAxisInfo=a,N.dataFilter=l,N.dimValueGetter=r,N.numCalculate=s},knOB:function(M,N,n){var v=n("bYtY"),p=n("hM6l");function S(g,f){p.call(this,"radius",g,f),this.type="category"}S.prototype={constructor:S,pointToData:function(g,f){return this.polar.pointToData(g,f)[this.dim==="radius"?0:1]},dataToRadius:p.prototype.dataToCoord,radiusToData:p.prototype.coordToData},v.inherits(S,p);var m=S;M.exports=m},ko1b:function(M,N,n){var v=n("bYtY"),p=n("T4UG"),S=n("Bsck"),m=n("Qxkt"),g=n("7aKB"),f=g.encodeHTML,d=g.addCommas,c=n("VaxA"),o=c.wrapTreePathInfo,i=p.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(e,l){var r={name:e.name,children:e.data};t(r);var s=e.levels||[];s=e.levels=a(s,l);var u=v.map(s||[],function(y){return new m(y,this,l)},this),h=S.createTree(r,this,null,A);function A(y){y.wrapMethod("getItemModel",function(w,b){var x=h.getNodeByDataIndex(b),O=u[x.depth];return O&&(w.parentModel=O),w})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var l=this.getData(),r=this.getRawValue(e),s=v.isArray(r)?d(r[0]):d(r),u=l.getName(e);return f(u+": "+s)},getDataParams:function(e){var l=p.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return l.treePathInfo=o(r,this),l},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},v.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var l=this._idIndexMap;l||(l=this._idIndexMap=v.createHashMap(),this._idIndexMapCount=0);var r=l.get(e);return r==null&&l.set(e,r=this._idIndexMapCount++),r},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var l=this.getRawData().tree.root;(!e||e!==l&&!l.contains(e))&&(this._viewRoot=l)}});function t(e){var l=0;v.each(e.children,function(s){t(s);var u=s.value;v.isArray(u)&&(u=u[0]),l+=u});var r=e.value;v.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=l),r<0&&(r=0),v.isArray(e.value)?e.value[0]=r:e.value=r}function a(e,l){var r=l.get("color");if(!r)return;e=e||[];var s;if(v.each(e,function(h){var A=new m(h),y=A.get("color");(A.get("itemStyle.color")||y&&y!=="none")&&(s=!0)}),!s){var u=e[0]||(e[0]={});u.color=r.slice()}return e}M.exports=i},kzFp:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v=N.pick=function(S,m){var g={};return m.forEach(function(f){g[f]=S[f]}),g}},kzvK:function(M,N,n){var v=n("sS/r"),p=v.extend({type:"timeline"});M.exports=p},"l+S1":function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="SearchOutlined";var d=N.a=p.forwardRef(f)},lE7J:function(M,N,n){var v=n("OELB"),p=v.round;function S(d,c,o,i){var t={},a=d[1]-d[0],e=t.interval=v.nice(a/c,!0);o!=null&&e<o&&(e=t.interval=o),i!=null&&e>i&&(e=t.interval=i);var l=t.intervalPrecision=m(e),r=t.niceTickExtent=[p(Math.ceil(d[0]/e)*e,l),p(Math.floor(d[1]/e)*e,l)];return f(r,d),t}function m(d){return v.getPrecisionSafe(d)+2}function g(d,c,o){d[c]=Math.max(Math.min(d[c],o[1]),o[0])}function f(d,c){!isFinite(d[0])&&(d[0]=c[0]),!isFinite(d[1])&&(d[1]=c[1]),g(d,0,c),g(d,1,c),d[0]>d[1]&&(d[0]=d[1])}N.intervalScaleNiceTicks=S,N.getIntervalPrecision=m,N.fixExtent=f},lELe:function(M,N,n){var v=n("bYtY");function p(S){var m=[];v.each(S.series,function(g){g&&g.type==="map"&&(m.push(g),g.map=g.map||g.mapType,v.defaults(g,g.mapLocation))})}M.exports=p},lLGD:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("nVfU"),m=S.layout,g=S.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),v.registerLayout(v.PRIORITY.VISUAL.LAYOUT,p.curry(m,"bar")),v.registerLayout(v.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,g),v.registerVisual({seriesType:"bar",reset:function(f){f.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(M,N,n){"use strict";function v(q){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(Vt){return typeof Vt}:v=function(Vt){return Vt&&typeof Symbol=="function"&&Vt.constructor===Symbol&&Vt!==Symbol.prototype?"symbol":typeof Vt},v(q)}Object.defineProperty(N,"__esModule",{value:!0}),N.deflateInit=ke,N.deflateInit2=Ft,N.deflateReset=kt,N.deflateResetKeep=Bt,N.deflateSetHeader=_t,N.deflate=te,N.deflateEnd=Q,N.deflateSetDictionary=qe,N.deflateInfo=N.Z_DEFLATED=N.Z_UNKNOWN=N.Z_DEFAULT_STRATEGY=N.Z_FIXED=N.Z_RLE=N.Z_HUFFMAN_ONLY=N.Z_FILTERED=N.Z_DEFAULT_COMPRESSION=N.Z_BUF_ERROR=N.Z_DATA_ERROR=N.Z_STREAM_ERROR=N.Z_STREAM_END=N.Z_OK=N.Z_BLOCK=N.Z_FINISH=N.Z_FULL_FLUSH=N.Z_PARTIAL_FLUSH=N.Z_NO_FLUSH=void 0;var p=o(n("6BzB")),S=o(n("c5fP")),m=d(n("xlC8")),g=d(n("QV2g")),f=d(n("xSIq"));function d(q){return q&&q.__esModule?q:{default:q}}function c(){if(typeof WeakMap!="function")return null;var q=new WeakMap;return c=function(){return q},q}function o(q){if(q&&q.__esModule)return q;if(q===null||v(q)!=="object"&&typeof q!="function")return{default:q};var wt=c();if(wt&&wt.has(q))return wt.get(q);var Vt={},lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var or in q)if(Object.prototype.hasOwnProperty.call(q,or)){var vr=lt?Object.getOwnPropertyDescriptor(q,or):null;vr&&(vr.get||vr.set)?Object.defineProperty(Vt,or,vr):Vt[or]=q[or]}return Vt.default=q,wt&&wt.set(q,Vt),Vt}var i=0;N.Z_NO_FLUSH=i;var t=1;N.Z_PARTIAL_FLUSH=t;var a=3;N.Z_FULL_FLUSH=a;var e=4;N.Z_FINISH=e;var l=5;N.Z_BLOCK=l;var r=0;N.Z_OK=r;var s=1;N.Z_STREAM_END=s;var u=-2;N.Z_STREAM_ERROR=u;var h=-3;N.Z_DATA_ERROR=h;var A=-5;N.Z_BUF_ERROR=A;var y=-1;N.Z_DEFAULT_COMPRESSION=y;var w=1;N.Z_FILTERED=w;var b=2;N.Z_HUFFMAN_ONLY=b;var x=3;N.Z_RLE=x;var O=4;N.Z_FIXED=O;var T=0;N.Z_DEFAULT_STRATEGY=T;var E=2;N.Z_UNKNOWN=E;var C=8;N.Z_DEFLATED=C;var _=9,L=15,P=8,k=29,F=256,j=F+1+k,z=30,R=19,U=2*j+1,B=15,H=3,K=258,V=K+H+1,W=32,G=42,re=69,ye=73,$=91,ve=103,Ce=113,Se=666,Ke=1,ue=2,Le=3,ee=4,le=3;function et(q,wt){return q.msg=f.default[wt],wt}function Re(q){return(q<<1)-(q>4?9:0)}function Ae(q){for(var wt=q.length;--wt>=0;)q[wt]=0}function oe(q){var wt=q.state,Vt=wt.pending;if(Vt>q.avail_out&&(Vt=q.avail_out),Vt===0)return;p.arraySet(q.output,wt.pending_buf,wt.pending_out,Vt,q.next_out),q.next_out+=Vt,wt.pending_out+=Vt,q.total_out+=Vt,q.avail_out-=Vt,wt.pending-=Vt,wt.pending===0&&(wt.pending_out=0)}function ce(q,wt){S._tr_flush_block(q,q.block_start>=0?q.block_start:-1,q.strstart-q.block_start,wt),q.block_start=q.strstart,oe(q.strm)}function be(q,wt){q.pending_buf[q.pending++]=wt}function Te(q,wt){q.pending_buf[q.pending++]=wt>>>8&255,q.pending_buf[q.pending++]=wt&255}function Be(q,wt,Vt,lt){var or=q.avail_in;return or>lt&&(or=lt),or===0?0:(q.avail_in-=or,p.arraySet(wt,q.input,q.next_in,or,Vt),q.state.wrap===1?q.adler=(0,m.default)(q.adler,wt,or,Vt):q.state.wrap===2&&(q.adler=(0,g.default)(q.adler,wt,or,Vt)),q.next_in+=or,q.total_in+=or,or)}function De(q,wt){var Vt=q.max_chain_length,lt=q.strstart,or,vr,An=q.prev_length,hr=q.nice_match,xr=q.strstart>q.w_size-V?q.strstart-(q.w_size-V):0,nr=q.window,Yt=q.w_mask,gt=q.prev,zr=q.strstart+K,pn=nr[lt+An-1],Nn=nr[lt+An];q.prev_length>=q.good_match&&(Vt>>=2),hr>q.lookahead&&(hr=q.lookahead);do{if(or=wt,nr[or+An]!==Nn||nr[or+An-1]!==pn||nr[or]!==nr[lt]||nr[++or]!==nr[lt+1])continue;lt+=2,or++;do;while(nr[++lt]===nr[++or]&&nr[++lt]===nr[++or]&&nr[++lt]===nr[++or]&&nr[++lt]===nr[++or]&&nr[++lt]===nr[++or]&&nr[++lt]===nr[++or]&&nr[++lt]===nr[++or]&&nr[++lt]===nr[++or]&&lt<zr);if(vr=K-(zr-lt),lt=zr-K,vr>An){if(q.match_start=wt,An=vr,vr>=hr)break;pn=nr[lt+An-1],Nn=nr[lt+An]}}while((wt=gt[wt&Yt])>xr&&--Vt!==0);return An<=q.lookahead?An:q.lookahead}function ae(q){var wt=q.w_size,Vt,lt,or,vr,An;do{if(vr=q.window_size-q.lookahead-q.strstart,q.strstart>=wt+(wt-V)){p.arraySet(q.window,q.window,wt,wt,0),q.match_start-=wt,q.strstart-=wt,q.block_start-=wt,lt=q.hash_size,Vt=lt;do or=q.head[--Vt],q.head[Vt]=or>=wt?or-wt:0;while(--lt);lt=wt,Vt=lt;do or=q.prev[--Vt],q.prev[Vt]=or>=wt?or-wt:0;while(--lt);vr+=wt}if(q.strm.avail_in===0)break;if(lt=Be(q.strm,q.window,q.strstart+q.lookahead,vr),q.lookahead+=lt,q.lookahead+q.insert>=H)for(An=q.strstart-q.insert,q.ins_h=q.window[An],q.ins_h=(q.ins_h<<q.hash_shift^q.window[An+1])&q.hash_mask;q.insert&&!(q.ins_h=(q.ins_h<<q.hash_shift^q.window[An+H-1])&q.hash_mask,q.prev[An&q.w_mask]=q.head[q.ins_h],q.head[q.ins_h]=An,An++,q.insert--,q.lookahead+q.insert<H););}while(q.lookahead<V&&q.strm.avail_in!==0)}function fe(q,wt){var Vt=65535;for(Vt>q.pending_buf_size-5&&(Vt=q.pending_buf_size-5);;){if(q.lookahead<=1){if(ae(q),q.lookahead===0&&wt===i)return Ke;if(q.lookahead===0)break}q.strstart+=q.lookahead,q.lookahead=0;var lt=q.block_start+Vt;if((q.strstart===0||q.strstart>=lt)&&(q.lookahead=q.strstart-lt,q.strstart=lt,ce(q,!1),q.strm.avail_out===0))return Ke;if(q.strstart-q.block_start>=q.w_size-V&&(ce(q,!1),q.strm.avail_out===0))return Ke}return q.insert=0,wt===e?(ce(q,!0),q.strm.avail_out===0?Le:ee):(q.strstart>q.block_start&&(ce(q,!1),q.strm.avail_out===0),Ke)}function Oe(q,wt){for(var Vt,lt;;){if(q.lookahead<V){if(ae(q),q.lookahead<V&&wt===i)return Ke;if(q.lookahead===0)break}if(Vt=0,q.lookahead>=H&&(q.ins_h=(q.ins_h<<q.hash_shift^q.window[q.strstart+H-1])&q.hash_mask,Vt=q.prev[q.strstart&q.w_mask]=q.head[q.ins_h],q.head[q.ins_h]=q.strstart),Vt!==0&&q.strstart-Vt<=q.w_size-V&&(q.match_length=De(q,Vt)),q.match_length>=H)if(lt=S._tr_tally(q,q.strstart-q.match_start,q.match_length-H),q.lookahead-=q.match_length,q.match_length<=q.max_lazy_match&&q.lookahead>=H){q.match_length--;do q.strstart++,q.ins_h=(q.ins_h<<q.hash_shift^q.window[q.strstart+H-1])&q.hash_mask,Vt=q.prev[q.strstart&q.w_mask]=q.head[q.ins_h],q.head[q.ins_h]=q.strstart;while(--q.match_length!==0);q.strstart++}else q.strstart+=q.match_length,q.match_length=0,q.ins_h=q.window[q.strstart],q.ins_h=(q.ins_h<<q.hash_shift^q.window[q.strstart+1])&q.hash_mask;else lt=S._tr_tally(q,0,q.window[q.strstart]),q.lookahead--,q.strstart++;if(lt&&(ce(q,!1),q.strm.avail_out===0))return Ke}return q.insert=q.strstart<H-1?q.strstart:H-1,wt===e?(ce(q,!0),q.strm.avail_out===0?Le:ee):q.last_lit&&(ce(q,!1),q.strm.avail_out===0)?Ke:ue}function Je(q,wt){for(var Vt,lt,or;;){if(q.lookahead<V){if(ae(q),q.lookahead<V&&wt===i)return Ke;if(q.lookahead===0)break}if(Vt=0,q.lookahead>=H&&(q.ins_h=(q.ins_h<<q.hash_shift^q.window[q.strstart+H-1])&q.hash_mask,Vt=q.prev[q.strstart&q.w_mask]=q.head[q.ins_h],q.head[q.ins_h]=q.strstart),q.prev_length=q.match_length,q.prev_match=q.match_start,q.match_length=H-1,Vt!==0&&q.prev_length<q.max_lazy_match&&q.strstart-Vt<=q.w_size-V&&(q.match_length=De(q,Vt),q.match_length<=5&&(q.strategy===w||q.match_length===H&&q.strstart-q.match_start>4096)&&(q.match_length=H-1)),q.prev_length>=H&&q.match_length<=q.prev_length){or=q.strstart+q.lookahead-H,lt=S._tr_tally(q,q.strstart-1-q.prev_match,q.prev_length-H),q.lookahead-=q.prev_length-1,q.prev_length-=2;do++q.strstart<=or&&(q.ins_h=(q.ins_h<<q.hash_shift^q.window[q.strstart+H-1])&q.hash_mask,Vt=q.prev[q.strstart&q.w_mask]=q.head[q.ins_h],q.head[q.ins_h]=q.strstart);while(--q.prev_length!==0);if(q.match_available=0,q.match_length=H-1,q.strstart++,lt&&(ce(q,!1),q.strm.avail_out===0))return Ke}else if(q.match_available){if(lt=S._tr_tally(q,0,q.window[q.strstart-1]),lt&&ce(q,!1),q.strstart++,q.lookahead--,q.strm.avail_out===0)return Ke}else q.match_available=1,q.strstart++,q.lookahead--}return q.match_available&&(lt=S._tr_tally(q,0,q.window[q.strstart-1]),q.match_available=0),q.insert=q.strstart<H-1?q.strstart:H-1,wt===e?(ce(q,!0),q.strm.avail_out===0?Le:ee):q.last_lit&&(ce(q,!1),q.strm.avail_out===0)?Ke:ue}function Et(q,wt){for(var Vt,lt,or,vr,An=q.window;;){if(q.lookahead<=K){if(ae(q),q.lookahead<=K&&wt===i)return Ke;if(q.lookahead===0)break}if(q.match_length=0,q.lookahead>=H&&q.strstart>0&&(or=q.strstart-1,lt=An[or],lt===An[++or]&&lt===An[++or]&&lt===An[++or])){vr=q.strstart+K;do;while(lt===An[++or]&&lt===An[++or]&&lt===An[++or]&&lt===An[++or]&&lt===An[++or]&&lt===An[++or]&&lt===An[++or]&&lt===An[++or]&&or<vr);q.match_length=K-(vr-or),q.match_length>q.lookahead&&(q.match_length=q.lookahead)}if(q.match_length>=H?(Vt=S._tr_tally(q,1,q.match_length-H),q.lookahead-=q.match_length,q.strstart+=q.match_length,q.match_length=0):(Vt=S._tr_tally(q,0,q.window[q.strstart]),q.lookahead--,q.strstart++),Vt&&(ce(q,!1),q.strm.avail_out===0))return Ke}return q.insert=0,wt===e?(ce(q,!0),q.strm.avail_out===0?Le:ee):q.last_lit&&(ce(q,!1),q.strm.avail_out===0)?Ke:ue}function Ze(q,wt){for(var Vt;;){if(q.lookahead===0&&(ae(q),q.lookahead===0)){if(wt===i)return Ke;break}if(q.match_length=0,Vt=S._tr_tally(q,0,q.window[q.strstart]),q.lookahead--,q.strstart++,Vt&&(ce(q,!1),q.strm.avail_out===0))return Ke}return q.insert=0,wt===e?(ce(q,!0),q.strm.avail_out===0?Le:ee):q.last_lit&&(ce(q,!1),q.strm.avail_out===0)?Ke:ue}function Ne(q,wt,Vt,lt,or){this.good_length=q,this.max_lazy=wt,this.nice_length=Vt,this.max_chain=lt,this.func=or}var It;It=[new Ne(0,0,0,0,fe),new Ne(4,4,8,4,Oe),new Ne(4,5,16,8,Oe),new Ne(4,6,32,32,Oe),new Ne(4,4,16,16,Je),new Ne(8,16,32,32,Je),new Ne(8,16,128,128,Je),new Ne(8,32,128,256,Je),new Ne(32,128,258,1024,Je),new Ne(32,258,258,4096,Je)];function Xe(q){q.window_size=2*q.w_size,Ae(q.head),q.max_lazy_match=It[q.level].max_lazy,q.good_match=It[q.level].good_length,q.nice_match=It[q.level].nice_length,q.max_chain_length=It[q.level].max_chain,q.strstart=0,q.block_start=0,q.lookahead=0,q.insert=0,q.match_length=q.prev_length=H-1,q.match_available=0,q.ins_h=0}function Ot(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=C,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new p.Buf16(U*2),this.dyn_dtree=new p.Buf16((2*z+1)*2),this.bl_tree=new p.Buf16((2*R+1)*2),Ae(this.dyn_ltree),Ae(this.dyn_dtree),Ae(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new p.Buf16(B+1),this.heap=new p.Buf16(2*j+1),Ae(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new p.Buf16(2*j+1),Ae(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Bt(q){var wt;return!q||!q.state?et(q,u):(q.total_in=q.total_out=0,q.data_type=E,wt=q.state,wt.pending=0,wt.pending_out=0,wt.wrap<0&&(wt.wrap=-wt.wrap),wt.status=wt.wrap?G:Ce,q.adler=wt.wrap===2?0:1,wt.last_flush=i,S._tr_init(wt),r)}function kt(q){var wt=Bt(q);return wt===r&&Xe(q.state),wt}function _t(q,wt){return!q||!q.state||q.state.wrap!==2?u:(q.state.gzhead=wt,r)}function Ft(q,wt,Vt,lt,or,vr){if(!q)return u;var An=1;if(wt===y&&(wt=6),lt<0?(An=0,lt=-lt):lt>15&&(An=2,lt-=16),or<1||or>_||Vt!==C||lt<8||lt>15||wt<0||wt>9||vr<0||vr>O)return et(q,u);lt===8&&(lt=9);var hr=new Ot;return q.state=hr,hr.strm=q,hr.wrap=An,hr.gzhead=null,hr.w_bits=lt,hr.w_size=1<<hr.w_bits,hr.w_mask=hr.w_size-1,hr.hash_bits=or+7,hr.hash_size=1<<hr.hash_bits,hr.hash_mask=hr.hash_size-1,hr.hash_shift=~~((hr.hash_bits+H-1)/H),hr.window=new p.Buf8(hr.w_size*2),hr.head=new p.Buf16(hr.hash_size),hr.prev=new p.Buf16(hr.w_size),hr.lit_bufsize=1<<or+6,hr.pending_buf_size=hr.lit_bufsize*4,hr.pending_buf=new p.Buf8(hr.pending_buf_size),hr.d_buf=1*hr.lit_bufsize,hr.l_buf=(1+2)*hr.lit_bufsize,hr.level=wt,hr.strategy=vr,hr.method=Vt,kt(q)}function ke(q,wt){return Ft(q,wt,C,L,P,T)}function te(q,wt){var Vt,lt,or,vr;if(!q||!q.state||wt>l||wt<0)return q?et(q,u):u;if(lt=q.state,!q.output||!q.input&&q.avail_in!==0||lt.status===Se&&wt!==e)return et(q,q.avail_out===0?A:u);if(lt.strm=q,Vt=lt.last_flush,lt.last_flush=wt,lt.status===G)if(lt.wrap===2)q.adler=0,be(lt,31),be(lt,139),be(lt,8),lt.gzhead?(be(lt,(lt.gzhead.text?1:0)+(lt.gzhead.hcrc?2:0)+(lt.gzhead.extra?4:0)+(lt.gzhead.name?8:0)+(lt.gzhead.comment?16:0)),be(lt,lt.gzhead.time&255),be(lt,lt.gzhead.time>>8&255),be(lt,lt.gzhead.time>>16&255),be(lt,lt.gzhead.time>>24&255),be(lt,lt.level===9?2:lt.strategy>=b||lt.level<2?4:0),be(lt,lt.gzhead.os&255),lt.gzhead.extra&&lt.gzhead.extra.length&&(be(lt,lt.gzhead.extra.length&255),be(lt,lt.gzhead.extra.length>>8&255)),lt.gzhead.hcrc&&(q.adler=(0,g.default)(q.adler,lt.pending_buf,lt.pending,0)),lt.gzindex=0,lt.status=re):(be(lt,0),be(lt,0),be(lt,0),be(lt,0),be(lt,0),be(lt,lt.level===9?2:lt.strategy>=b||lt.level<2?4:0),be(lt,le),lt.status=Ce);else{var An=C+(lt.w_bits-8<<4)<<8,hr=-1;lt.strategy>=b||lt.level<2?hr=0:lt.level<6?hr=1:lt.level===6?hr=2:hr=3,An|=hr<<6,lt.strstart!==0&&(An|=W),An+=31-An%31,lt.status=Ce,Te(lt,An),lt.strstart!==0&&(Te(lt,q.adler>>>16),Te(lt,q.adler&65535)),q.adler=1}if(lt.status===re)if(lt.gzhead.extra){for(or=lt.pending;lt.gzindex<(lt.gzhead.extra.length&65535)&&!(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>or&&(q.adler=(0,g.default)(q.adler,lt.pending_buf,lt.pending-or,or)),oe(q),or=lt.pending,lt.pending===lt.pending_buf_size));)be(lt,lt.gzhead.extra[lt.gzindex]&255),lt.gzindex++;lt.gzhead.hcrc&&lt.pending>or&&(q.adler=(0,g.default)(q.adler,lt.pending_buf,lt.pending-or,or)),lt.gzindex===lt.gzhead.extra.length&&(lt.gzindex=0,lt.status=ye)}else lt.status=ye;if(lt.status===ye)if(lt.gzhead.name){or=lt.pending;do{if(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>or&&(q.adler=(0,g.default)(q.adler,lt.pending_buf,lt.pending-or,or)),oe(q),or=lt.pending,lt.pending===lt.pending_buf_size)){vr=1;break}lt.gzindex<lt.gzhead.name.length?vr=lt.gzhead.name.charCodeAt(lt.gzindex++)&255:vr=0,be(lt,vr)}while(vr!==0);lt.gzhead.hcrc&&lt.pending>or&&(q.adler=(0,g.default)(q.adler,lt.pending_buf,lt.pending-or,or)),vr===0&&(lt.gzindex=0,lt.status=$)}else lt.status=$;if(lt.status===$)if(lt.gzhead.comment){or=lt.pending;do{if(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>or&&(q.adler=(0,g.default)(q.adler,lt.pending_buf,lt.pending-or,or)),oe(q),or=lt.pending,lt.pending===lt.pending_buf_size)){vr=1;break}lt.gzindex<lt.gzhead.comment.length?vr=lt.gzhead.comment.charCodeAt(lt.gzindex++)&255:vr=0,be(lt,vr)}while(vr!==0);lt.gzhead.hcrc&&lt.pending>or&&(q.adler=(0,g.default)(q.adler,lt.pending_buf,lt.pending-or,or)),vr===0&&(lt.status=ve)}else lt.status=ve;if(lt.status===ve&&(lt.gzhead.hcrc?(lt.pending+2>lt.pending_buf_size&&oe(q),lt.pending+2<=lt.pending_buf_size&&(be(lt,q.adler&255),be(lt,q.adler>>8&255),q.adler=0,lt.status=Ce)):lt.status=Ce),lt.pending!==0){if(oe(q),q.avail_out===0)return lt.last_flush=-1,r}else if(q.avail_in===0&&Re(wt)<=Re(Vt)&&wt!==e)return et(q,A);if(lt.status===Se&&q.avail_in!==0)return et(q,A);if(q.avail_in!==0||lt.lookahead!==0||wt!==i&&lt.status!==Se){var xr=lt.strategy===b?Ze(lt,wt):lt.strategy===x?Et(lt,wt):It[lt.level].func(lt,wt);if((xr===Le||xr===ee)&&(lt.status=Se),xr===Ke||xr===Le)return q.avail_out===0&&(lt.last_flush=-1),r;if(xr===ue&&(wt===t?S._tr_align(lt):wt!==l&&(S._tr_stored_block(lt,0,0,!1),wt===a&&(Ae(lt.head),lt.lookahead===0&&(lt.strstart=0,lt.block_start=0,lt.insert=0))),oe(q),q.avail_out===0))return lt.last_flush=-1,r}return wt!==e?r:lt.wrap<=0?s:(lt.wrap===2?(be(lt,q.adler&255),be(lt,q.adler>>8&255),be(lt,q.adler>>16&255),be(lt,q.adler>>24&255),be(lt,q.total_in&255),be(lt,q.total_in>>8&255),be(lt,q.total_in>>16&255),be(lt,q.total_in>>24&255)):(Te(lt,q.adler>>>16),Te(lt,q.adler&65535)),oe(q),lt.wrap>0&&(lt.wrap=-lt.wrap),lt.pending!==0?r:s)}function Q(q){var wt;return!q||!q.state?u:(wt=q.state.status,wt!==G&&wt!==re&&wt!==ye&&wt!==$&&wt!==ve&&wt!==Ce&&wt!==Se?et(q,u):(q.state=null,wt===Ce?et(q,h):r))}function qe(q,wt){var Vt=wt.length,lt,or,vr,An,hr,xr,nr,Yt;if(!q||!q.state)return u;if(lt=q.state,An=lt.wrap,An===2||An===1&&lt.status!==G||lt.lookahead)return u;for(An===1&&(q.adler=(0,m.default)(q.adler,wt,Vt,0)),lt.wrap=0,Vt>=lt.w_size&&(An===0&&(Ae(lt.head),lt.strstart=0,lt.block_start=0,lt.insert=0),Yt=new p.Buf8(lt.w_size),p.arraySet(Yt,wt,Vt-lt.w_size,lt.w_size,0),wt=Yt,Vt=lt.w_size),hr=q.avail_in,xr=q.next_in,nr=q.input,q.avail_in=Vt,q.next_in=0,q.input=wt,ae(lt);lt.lookahead>=H;){or=lt.strstart,vr=lt.lookahead-(H-1);do lt.ins_h=(lt.ins_h<<lt.hash_shift^lt.window[or+H-1])&lt.hash_mask,lt.prev[or&lt.w_mask]=lt.head[lt.ins_h],lt.head[lt.ins_h]=or,or++;while(--vr);lt.strstart=or,lt.lookahead=H-1,ae(lt)}return lt.strstart+=lt.lookahead,lt.block_start=lt.strstart,lt.insert=lt.lookahead,lt.lookahead=0,lt.match_length=lt.prev_length=H-1,lt.match_available=0,q.next_in=xr,q.input=nr,q.avail_in=hr,lt.wrap=An,r}var je="pako deflate (from Nodeca project)";N.deflateInfo=je},lOQZ:function(M,N,n){var v=n("QBsz"),p=n("U/Mo"),S=p.getSymbolSize,m=p.getNodeGlobalScale,g=Math.PI,f=[];function d(o,i){var t=o.coordinateSystem;if(t&&t.type!=="view")return;var a=t.getBoundingRect(),e=o.getData(),l=e.graph,r=a.width/2+a.x,s=a.height/2+a.y,u=Math.min(a.width,a.height)/2,h=e.count();if(e.setLayout({cx:r,cy:s}),!h)return;c[i](o,t,l,e,u,r,s,h),l.eachEdge(function(A){var y=A.getModel().get("lineStyle.curveness")||0,w=v.clone(A.node1.getLayout()),b=v.clone(A.node2.getLayout()),x,O=(w[0]+b[0])/2,T=(w[1]+b[1])/2;+y&&(y*=3,x=[r*y+O*(1-y),s*y+T*(1-y)]),A.setLayout([w,b,x])})}var c={value:function(o,i,t,a,e,l,r,s){var u=0,h=a.getSum("value"),A=Math.PI*2/(h||s);t.eachNode(function(y){var w=y.getValue("value"),b=A*(h?w:1)/2;u+=b,y.setLayout([e*Math.cos(u)+l,e*Math.sin(u)+r]),u+=b})},symbolSize:function(o,i,t,a,e,l,r,s){var u=0;f.length=s;var h=m(o);t.eachNode(function(w){var b=S(w);isNaN(b)&&(b=2),b<0&&(b=0),b*=h;var x=Math.asin(b/2/e);isNaN(x)&&(x=g/2),f[w.dataIndex]=x,u+=x*2});var A=(2*g-u)/s/2,y=0;t.eachNode(function(w){var b=A+f[w.dataIndex];y+=b,w.setLayout([e*Math.cos(y)+l,e*Math.sin(y)+r]),y+=b})}};N.circularLayout=d},lUTK:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("x54q"),m=n.n(S),g=n("5Dmo")},lZu9:function(M,N,n){(function(v){v(n("VrN/"),n("1eCo"),n("8EBN"))})(function(v){"use strict";v.defineMode("markdown",function(p,S){var m=v.getMode(p,"text/html"),g=m.name=="null";function f(B){if(v.findModeByName){var H=v.findModeByName(B);H&&(B=H.mime||H.mimes[0])}var K=v.getMode(p,B);return K.name=="null"?null:K}S.highlightFormatting===void 0&&(S.highlightFormatting=!1),S.maxBlockquoteDepth===void 0&&(S.maxBlockquoteDepth=0),S.taskLists===void 0&&(S.taskLists=!1),S.strikethrough===void 0&&(S.strikethrough=!1),S.emoji===void 0&&(S.emoji=!1),S.fencedCodeBlockHighlighting===void 0&&(S.fencedCodeBlockHighlighting=!0),S.fencedCodeBlockDefaultMode===void 0&&(S.fencedCodeBlockDefaultMode="text/plain"),S.xml===void 0&&(S.xml=!0),S.tokenTypeOverrides===void 0&&(S.tokenTypeOverrides={});var d={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var c in d)d.hasOwnProperty(c)&&S.tokenTypeOverrides[c]&&(d[c]=S.tokenTypeOverrides[c]);var o=/^([*\-_])(?:\s*\1){2,}\s*$/,i=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,t=/^\[(x| )\](?=\s)/i,a=S.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,e=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,r=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,u=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,h=" ";function A(B,H,K){return H.f=H.inline=K,K(B,H)}function y(B,H,K){return H.f=H.block=K,K(B,H)}function w(B){return!B||!/\S/.test(B.string)}function b(B){if(B.linkTitle=!1,B.linkHref=!1,B.linkText=!1,B.em=!1,B.strong=!1,B.strikethrough=!1,B.quote=0,B.indentedCode=!1,B.f==O){var H=g;if(!H){var K=v.innerMode(m,B.htmlState);H=K.mode.name=="xml"&&K.state.tagStart===null&&!K.state.context&&K.state.tokenize.isInText}H&&(B.f=_,B.block=x,B.htmlState=null)}return B.trailingSpace=0,B.trailingSpaceNewLine=!1,B.prevLine=B.thisLine,B.thisLine={stream:null},null}function x(B,H){var K=B.column()===H.indentation,V=w(H.prevLine.stream),W=H.indentedCode,G=H.prevLine.hr,re=H.list!==!1,ye=(H.listStack[H.listStack.length-1]||0)+3;H.indentedCode=!1;var $=H.indentation;if(H.indentationDiff===null&&(H.indentationDiff=H.indentation,re)){for(H.list=null;$<H.listStack[H.listStack.length-1];)H.listStack.pop(),H.listStack.length?H.indentation=H.listStack[H.listStack.length-1]:H.list=!1;H.list!==!1&&(H.indentationDiff=$-H.listStack[H.listStack.length-1])}var ve=!V&&!G&&!H.prevLine.header&&(!re||!W)&&!H.prevLine.fencedCodeEnd,Ce=(H.list===!1||G||V)&&H.indentation<=ye&&B.match(o),Se=null;if(H.indentationDiff>=4&&(W||H.prevLine.fencedCodeEnd||H.prevLine.header||V))return B.skipToEnd(),H.indentedCode=!0,d.code;if(B.eatSpace())return null;if(K&&H.indentation<=ye&&(Se=B.match(a))&&Se[1].length<=6)return H.quote=0,H.header=Se[1].length,H.thisLine.header=!0,S.highlightFormatting&&(H.formatting="header"),H.f=H.inline,E(H);if(H.indentation<=ye&&B.eat(">"))return H.quote=K?1:H.quote+1,S.highlightFormatting&&(H.formatting="quote"),B.eatSpace(),E(H);if(!Ce&&!H.setext&&K&&H.indentation<=ye&&(Se=B.match(i))){var Ke=Se[1]?"ol":"ul";return H.indentation=$+B.current().length,H.list=!0,H.quote=0,H.listStack.push(H.indentation),H.em=!1,H.strong=!1,H.code=!1,H.strikethrough=!1,S.taskLists&&B.match(t,!1)&&(H.taskList=!0),H.f=H.inline,S.highlightFormatting&&(H.formatting=["list","list-"+Ke]),E(H)}else{if(K&&H.indentation<=ye&&(Se=B.match(r,!0)))return H.quote=0,H.fencedEndRE=new RegExp(Se[1]+"+ *$"),H.localMode=S.fencedCodeBlockHighlighting&&f(Se[2]||S.fencedCodeBlockDefaultMode),H.localMode&&(H.localState=v.startState(H.localMode)),H.f=H.block=T,S.highlightFormatting&&(H.formatting="code-block"),H.code=-1,E(H);if(H.setext||(!ve||!re)&&!H.quote&&H.list===!1&&!H.code&&!Ce&&!s.test(B.string)&&(Se=B.lookAhead(1))&&(Se=Se.match(e)))return H.setext?(H.header=H.setext,H.setext=0,B.skipToEnd(),S.highlightFormatting&&(H.formatting="header")):(H.header=Se[0].charAt(0)=="="?1:2,H.setext=H.header),H.thisLine.header=!0,H.f=H.inline,E(H);if(Ce)return B.skipToEnd(),H.hr=!0,H.thisLine.hr=!0,d.hr;if(B.peek()==="[")return A(B,H,j)}return A(B,H,H.inline)}function O(B,H){var K=m.token(B,H.htmlState);if(!g){var V=v.innerMode(m,H.htmlState);(V.mode.name=="xml"&&V.state.tagStart===null&&!V.state.context&&V.state.tokenize.isInText||H.md_inside&&B.current().indexOf(">")>-1)&&(H.f=_,H.block=x,H.htmlState=null)}return K}function T(B,H){var K=H.listStack[H.listStack.length-1]||0,V=H.indentation<K,W=K+3;if(H.fencedEndRE&&H.indentation<=W&&(V||B.match(H.fencedEndRE))){S.highlightFormatting&&(H.formatting="code-block");var G;return V||(G=E(H)),H.localMode=H.localState=null,H.block=x,H.f=_,H.fencedEndRE=null,H.code=0,H.thisLine.fencedCodeEnd=!0,V?y(B,H,H.block):G}else return H.localMode?H.localMode.token(B,H.localState):(B.skipToEnd(),d.code)}function E(B){var H=[];if(B.formatting){H.push(d.formatting),typeof B.formatting=="string"&&(B.formatting=[B.formatting]);for(var K=0;K<B.formatting.length;K++)H.push(d.formatting+"-"+B.formatting[K]),B.formatting[K]==="header"&&H.push(d.formatting+"-"+B.formatting[K]+"-"+B.header),B.formatting[K]==="quote"&&(!S.maxBlockquoteDepth||S.maxBlockquoteDepth>=B.quote?H.push(d.formatting+"-"+B.formatting[K]+"-"+B.quote):H.push("error"))}if(B.taskOpen)return H.push("meta"),H.length?H.join(" "):null;if(B.taskClosed)return H.push("property"),H.length?H.join(" "):null;if(B.linkHref?H.push(d.linkHref,"url"):(B.strong&&H.push(d.strong),B.em&&H.push(d.em),B.strikethrough&&H.push(d.strikethrough),B.emoji&&H.push(d.emoji),B.linkText&&H.push(d.linkText),B.code&&H.push(d.code),B.image&&H.push(d.image),B.imageAltText&&H.push(d.imageAltText,"link"),B.imageMarker&&H.push(d.imageMarker)),B.header&&H.push(d.header,d.header+"-"+B.header),B.quote&&(H.push(d.quote),!S.maxBlockquoteDepth||S.maxBlockquoteDepth>=B.quote?H.push(d.quote+"-"+B.quote):H.push(d.quote+"-"+S.maxBlockquoteDepth)),B.list!==!1){var V=(B.listStack.length-1)%3;V?V===1?H.push(d.list2):H.push(d.list3):H.push(d.list1)}return B.trailingSpaceNewLine?H.push("trailing-space-new-line"):B.trailingSpace&&H.push("trailing-space-"+(B.trailingSpace%2?"a":"b")),H.length?H.join(" "):null}function C(B,H){return B.match(l,!0)?E(H):void 0}function _(B,H){var K=H.text(B,H);if(typeof K!="undefined")return K;if(H.list)return H.list=null,E(H);if(H.taskList){var V=B.match(t,!0)[1]===" ";return V?H.taskOpen=!0:H.taskClosed=!0,S.highlightFormatting&&(H.formatting="task"),H.taskList=!1,E(H)}if(H.taskOpen=!1,H.taskClosed=!1,H.header&&B.match(/^#+$/,!0))return S.highlightFormatting&&(H.formatting="header"),E(H);var W=B.next();if(H.linkTitle){H.linkTitle=!1;var G=W;W==="("&&(G=")"),G=(G+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var re="^\\s*(?:[^"+G+"\\\\]+|\\\\\\\\|\\\\.)"+G;if(B.match(new RegExp(re),!0))return d.linkHref}if(W==="`"){var ye=H.formatting;S.highlightFormatting&&(H.formatting="code"),B.eatWhile("`");var $=B.current().length;if(H.code==0&&(!H.quote||$==1))return H.code=$,E(H);if($==H.code){var ve=E(H);return H.code=0,ve}else return H.formatting=ye,E(H)}else if(H.code)return E(H);if(W==="\\"&&(B.next(),S.highlightFormatting)){var Ce=E(H),Se=d.formatting+"-escape";return Ce?Ce+" "+Se:Se}if(W==="!"&&B.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return H.imageMarker=!0,H.image=!0,S.highlightFormatting&&(H.formatting="image"),E(H);if(W==="["&&H.imageMarker&&B.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return H.imageMarker=!1,H.imageAltText=!0,S.highlightFormatting&&(H.formatting="image"),E(H);if(W==="]"&&H.imageAltText){S.highlightFormatting&&(H.formatting="image");var Ce=E(H);return H.imageAltText=!1,H.image=!1,H.inline=H.f=P,Ce}if(W==="["&&!H.image)return H.linkText&&B.match(/^.*?\]/)||(H.linkText=!0,S.highlightFormatting&&(H.formatting="link")),E(H);if(W==="]"&&H.linkText){S.highlightFormatting&&(H.formatting="link");var Ce=E(H);return H.linkText=!1,H.inline=H.f=B.match(/\(.*?\)| ?\[.*?\]/,!1)?P:_,Ce}if(W==="<"&&B.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=L,S.highlightFormatting&&(H.formatting="link");var Ce=E(H);return Ce?Ce+=" ":Ce="",Ce+d.linkInline}if(W==="<"&&B.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=L,S.highlightFormatting&&(H.formatting="link");var Ce=E(H);return Ce?Ce+=" ":Ce="",Ce+d.linkEmail}if(S.xml&&W==="<"&&B.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ke=B.string.indexOf(">",B.pos);if(Ke!=-1){var ue=B.string.substring(B.start,Ke);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ue)&&(H.md_inside=!0)}return B.backUp(1),H.htmlState=v.startState(m),y(B,H,O)}if(S.xml&&W==="<"&&B.match(/^\/\w*?>/))return H.md_inside=!1,"tag";if(W==="*"||W==="_"){for(var Le=1,ee=B.pos==1?" ":B.string.charAt(B.pos-2);Le<3&&B.eat(W);)Le++;var le=B.peek()||" ",et=!/\s/.test(le)&&(!u.test(le)||/\s/.test(ee)||u.test(ee)),Re=!/\s/.test(ee)&&(!u.test(ee)||/\s/.test(le)||u.test(le)),Ae=null,oe=null;if(Le%2&&(!H.em&&et&&(W==="*"||!Re||u.test(ee))?Ae=!0:H.em==W&&Re&&(W==="*"||!et||u.test(le))&&(Ae=!1)),Le>1&&(!H.strong&&et&&(W==="*"||!Re||u.test(ee))?oe=!0:H.strong==W&&Re&&(W==="*"||!et||u.test(le))&&(oe=!1)),oe!=null||Ae!=null){S.highlightFormatting&&(H.formatting=Ae==null?"strong":oe==null?"em":"strong em"),Ae===!0&&(H.em=W),oe===!0&&(H.strong=W);var ve=E(H);return Ae===!1&&(H.em=!1),oe===!1&&(H.strong=!1),ve}}else if(W===" "&&(B.eat("*")||B.eat("_"))){if(B.peek()===" ")return E(H);B.backUp(1)}if(S.strikethrough){if(W==="~"&&B.eatWhile(W)){if(H.strikethrough){S.highlightFormatting&&(H.formatting="strikethrough");var ve=E(H);return H.strikethrough=!1,ve}else if(B.match(/^[^\s]/,!1))return H.strikethrough=!0,S.highlightFormatting&&(H.formatting="strikethrough"),E(H)}else if(W===" "&&B.match(/^~~/,!0)){if(B.peek()===" ")return E(H);B.backUp(2)}}if(S.emoji&&W===":"&&B.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){H.emoji=!0,S.highlightFormatting&&(H.formatting="emoji");var ce=E(H);return H.emoji=!1,ce}return W===" "&&(B.match(/^ +$/,!1)?H.trailingSpace++:H.trailingSpace&&(H.trailingSpaceNewLine=!0)),E(H)}function L(B,H){var K=B.next();if(K===">"){H.f=H.inline=_,S.highlightFormatting&&(H.formatting="link");var V=E(H);return V?V+=" ":V="",V+d.linkInline}return B.match(/^[^>]+/,!0),d.linkInline}function P(B,H){if(B.eatSpace())return null;var K=B.next();return K==="("||K==="["?(H.f=H.inline=F(K==="("?")":"]"),S.highlightFormatting&&(H.formatting="link-string"),H.linkHref=!0,E(H)):"error"}var k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function F(B){return function(H,K){var V=H.next();if(V===B){K.f=K.inline=_,S.highlightFormatting&&(K.formatting="link-string");var W=E(K);return K.linkHref=!1,W}return H.match(k[B]),K.linkHref=!0,E(K)}}function j(B,H){return B.match(/^([^\]\\]|\\.)*\]:/,!1)?(H.f=z,B.next(),S.highlightFormatting&&(H.formatting="link"),H.linkText=!0,E(H)):A(B,H,_)}function z(B,H){if(B.match(/^\]:/,!0)){H.f=H.inline=R,S.highlightFormatting&&(H.formatting="link");var K=E(H);return H.linkText=!1,K}return B.match(/^([^\]\\]|\\.)+/,!0),d.linkText}function R(B,H){return B.eatSpace()?null:(B.match(/^[^\s]+/,!0),B.peek()===void 0?H.linkTitle=!0:B.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),H.f=H.inline=_,d.linkHref+" url")}var U={startState:function(){return{f:x,prevLine:{stream:null},thisLine:{stream:null},block:x,htmlState:null,indentation:0,inline:_,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(H){return{f:H.f,prevLine:H.prevLine,thisLine:H.thisLine,block:H.block,htmlState:H.htmlState&&v.copyState(m,H.htmlState),indentation:H.indentation,localMode:H.localMode,localState:H.localMode?v.copyState(H.localMode,H.localState):null,inline:H.inline,text:H.text,formatting:!1,linkText:H.linkText,linkTitle:H.linkTitle,linkHref:H.linkHref,code:H.code,em:H.em,strong:H.strong,strikethrough:H.strikethrough,emoji:H.emoji,header:H.header,setext:H.setext,hr:H.hr,taskList:H.taskList,list:H.list,listStack:H.listStack.slice(0),quote:H.quote,indentedCode:H.indentedCode,trailingSpace:H.trailingSpace,trailingSpaceNewLine:H.trailingSpaceNewLine,md_inside:H.md_inside,fencedEndRE:H.fencedEndRE}},token:function(H,K){if(K.formatting=!1,H!=K.thisLine.stream){if(K.header=0,K.hr=!1,H.match(/^\s*$/,!0))return b(K),null;if(K.prevLine=K.thisLine,K.thisLine={stream:H},K.taskList=!1,K.trailingSpace=0,K.trailingSpaceNewLine=!1,!K.localState&&(K.f=K.block,K.f!=O)){var V=H.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(K.indentation=V,K.indentationDiff=null,V>0)return null}}return K.f(H,K)},innerMode:function(H){return H.block==O?{state:H.htmlState,mode:m}:H.localState?{state:H.localState,mode:H.localMode}:{state:H,mode:U}},indent:function(H,K,V){return H.block==O&&m.indent?m.indent(H.htmlState,K,V):H.localState&&H.localMode.indent?H.localMode.indent(H.localState,K,V):v.Pass},blankLine:b,getType:E,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return U},"xml"),v.defineMIME("text/markdown","markdown"),v.defineMIME("text/x-markdown","markdown")})},laiN:function(M,N,n){var v=n("ProS");n("GVMX"),n("MH26"),v.registerPreprocessor(function(p){p.markLine=p.markLine||{}})},lnY3:function(M,N,n){},loD1:function(M,N){function n(v,p,S,m,g,f,d){if(g===0)return!1;var c=g,o=0,i=v;if(d>p+c&&d>m+c||d<p-c&&d<m-c||f>v+c&&f>S+c||f<v-c&&f<S-c)return!1;if(v!==S)o=(p-m)/(v-S),i=(v*m-S*p)/(v-S);else return Math.abs(f-v)<=c/2;var t=o*f-d+i,a=t*t/(o*o+1);return a<=c/2*c/2}N.containStroke=n},lr6o:function(M,N,n){"use strict";var v=n("rePB"),p=n("Ff2n"),S=n("VTBJ"),m=n("1OyB"),g=n("vuIU"),f=n("JX7q"),d=n("Ji7U"),c=n("LK+K"),o=n("q1tI"),i=n("TSYQ"),t=n.n(i),a=n("FTAc"),e=n("wPhX"),l=function(O){var T=O.prefixCls,E=O.level,C=O.isStart,_=O.isEnd;if(!E)return null;for(var L="".concat(T,"-indent-unit"),P=[],k=0;k<E;k+=1){var F;P.push(o.createElement("span",{key:k,className:t()(L,(F={},Object(v.a)(F,"".concat(L,"-start"),C[k+1]),Object(v.a)(F,"".concat(L,"-end"),_[k+1]),Object(v.a)(F,"".concat(L,"-end-first-level"),!k&&_[0]),F))}))}return o.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},P)},r=l,s=n("c3jg"),u="open",h="close",A="---",y=function(x){Object(d.a)(T,x);var O=Object(c.a)(T);function T(){var E;return Object(m.a)(this,T),E=O.apply(this,arguments),E.state={dragNodeHighlight:!1},E.onSelectorClick=function(C){var _=E.props.context.onNodeClick;_(C,Object(s.b)(E.props)),E.isSelectable()?E.onSelect(C):E.onCheck(C)},E.onSelectorDoubleClick=function(C){var _=E.props.context.onNodeDoubleClick;_(C,Object(s.b)(E.props))},E.onSelect=function(C){if(E.isDisabled())return;var _=E.props.context.onNodeSelect;C.preventDefault(),_(C,Object(s.b)(E.props))},E.onCheck=function(C){if(E.isDisabled())return;var _=E.props,L=_.disableCheckbox,P=_.checked,k=E.props.context.onNodeCheck;if(!E.isCheckable()||L)return;C.preventDefault();var F=!P;k(C,Object(s.b)(E.props),F)},E.onMouseEnter=function(C){var _=E.props.context.onNodeMouseEnter;_(C,Object(s.b)(E.props))},E.onMouseLeave=function(C){var _=E.props.context.onNodeMouseLeave;_(C,Object(s.b)(E.props))},E.onContextMenu=function(C){var _=E.props.context.onNodeContextMenu;_(C,Object(s.b)(E.props))},E.onDragStart=function(C){var _=E.props.context.onNodeDragStart;C.stopPropagation(),E.setState({dragNodeHighlight:!0}),_(C,Object(f.a)(E));try{C.dataTransfer.setData("text/plain","")}catch(L){}},E.onDragEnter=function(C){var _=E.props.context.onNodeDragEnter;C.preventDefault(),C.stopPropagation(),_(C,Object(f.a)(E))},E.onDragOver=function(C){var _=E.props.context.onNodeDragOver;C.preventDefault(),C.stopPropagation(),_(C,Object(f.a)(E))},E.onDragLeave=function(C){var _=E.props.context.onNodeDragLeave;C.stopPropagation(),_(C,Object(f.a)(E))},E.onDragEnd=function(C){var _=E.props.context.onNodeDragEnd;C.stopPropagation(),E.setState({dragNodeHighlight:!1}),_(C,Object(f.a)(E))},E.onDrop=function(C){var _=E.props.context.onNodeDrop;C.preventDefault(),C.stopPropagation(),E.setState({dragNodeHighlight:!1}),_(C,Object(f.a)(E))},E.onExpand=function(C){var _=E.props.context.onNodeExpand;_(C,Object(s.b)(E.props))},E.setSelectHandle=function(C){E.selectHandle=C},E.getNodeState=function(){var C=E.props.expanded;return E.isLeaf()?null:C?u:h},E.hasChildren=function(){var C=E.props.eventKey,_=E.props.context.keyEntities,L=_[C]||{},P=L.children;return!!(P||[]).length},E.isLeaf=function(){var C=E.props,_=C.isLeaf,L=C.loaded,P=E.props.context.loadData,k=E.hasChildren();return _===!1?!1:_||!P&&!k||P&&L&&!k},E.isDisabled=function(){var C=E.props.disabled,_=E.props.context.disabled;return!!(_||C)},E.isCheckable=function(){var C=E.props.checkable,_=E.props.context.checkable;return!_||C===!1?!1:_},E.syncLoadData=function(C){var _=C.expanded,L=C.loading,P=C.loaded,k=E.props.context,F=k.loadData,j=k.onNodeLoad;if(L)return;F&&_&&!E.isLeaf()&&(!E.hasChildren()&&!P&&j(Object(s.b)(E.props)))},E.renderSwitcher=function(){var C=E.props,_=C.expanded,L=C.switcherIcon,P=E.props.context,k=P.prefixCls,F=P.switcherIcon,j=L||F;if(E.isLeaf())return o.createElement("span",{className:t()("".concat(k,"-switcher"),"".concat(k,"-switcher-noop"))},typeof j=="function"?j(Object(S.a)(Object(S.a)({},E.props),{},{isLeaf:!0})):j);var z=t()("".concat(k,"-switcher"),"".concat(k,"-switcher_").concat(_?u:h));return o.createElement("span",{onClick:E.onExpand,className:z},typeof j=="function"?j(Object(S.a)(Object(S.a)({},E.props),{},{isLeaf:!1})):j)},E.renderCheckbox=function(){var C=E.props,_=C.checked,L=C.halfChecked,P=C.disableCheckbox,k=E.props.context.prefixCls,F=E.isDisabled(),j=E.isCheckable();if(!j)return null;var z=typeof j!="boolean"?j:null;return o.createElement("span",{className:t()("".concat(k,"-checkbox"),_&&"".concat(k,"-checkbox-checked"),!_&&L&&"".concat(k,"-checkbox-indeterminate"),(F||P)&&"".concat(k,"-checkbox-disabled")),onClick:E.onCheck},z)},E.renderIcon=function(){var C=E.props.loading,_=E.props.context.prefixCls;return o.createElement("span",{className:t()("".concat(_,"-iconEle"),"".concat(_,"-icon__").concat(E.getNodeState()||"docu"),C&&"".concat(_,"-icon_loading"))})},E.renderSelector=function(){var C=E.state.dragNodeHighlight,_=E.props,L=_.title,P=_.selected,k=_.icon,F=_.loading,j=_.data,z=E.props.context,R=z.prefixCls,U=z.showIcon,B=z.icon,H=z.draggable,K=z.loadData,V=z.titleRender,W=E.isDisabled(),G="".concat(R,"-node-content-wrapper"),re;if(U){var ye=k||B;re=ye?o.createElement("span",{className:t()("".concat(R,"-iconEle"),"".concat(R,"-icon__customize"))},typeof ye=="function"?ye(E.props):ye):E.renderIcon()}else K&&F&&(re=E.renderIcon());var $;typeof L=="function"?$=L(j):V?$=V(j):$=L;var ve=o.createElement("span",{className:"".concat(R,"-title")},$);return o.createElement("span",{ref:E.setSelectHandle,title:typeof L=="string"?L:"",className:t()("".concat(G),"".concat(G,"-").concat(E.getNodeState()||"normal"),!W&&(P||C)&&"".concat(R,"-node-selected"),!W&&H&&"draggable"),draggable:!W&&H||void 0,"aria-grabbed":!W&&H||void 0,onMouseEnter:E.onMouseEnter,onMouseLeave:E.onMouseLeave,onContextMenu:E.onContextMenu,onClick:E.onSelectorClick,onDoubleClick:E.onSelectorDoubleClick,onDragStart:H?E.onDragStart:void 0},re,ve)},E}return Object(g.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,_=this.props.context.selectable;return typeof C=="boolean"?C:_}},{key:"render",value:function(){var C,_=this.props,L=_.eventKey,P=_.className,k=_.style,F=_.dragOver,j=_.dragOverGapTop,z=_.dragOverGapBottom,R=_.isLeaf,U=_.isStart,B=_.isEnd,H=_.expanded,K=_.selected,V=_.checked,W=_.halfChecked,G=_.loading,re=_.domRef,ye=_.active,$=_.onMouseMove,ve=Object(p.a)(_,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Ce=this.props.context,Se=Ce.prefixCls,Ke=Ce.filterTreeNode,ue=Ce.draggable,Le=Ce.keyEntities,ee=this.isDisabled(),le=Object(e.f)(ve),et=Le[L]||{},Re=et.level,Ae=B[B.length-1];return o.createElement("div",Object.assign({ref:re,className:t()(P,"".concat(Se,"-treenode"),(C={},Object(v.a)(C,"".concat(Se,"-treenode-disabled"),ee),Object(v.a)(C,"".concat(Se,"-treenode-switcher-").concat(H?"open":"close"),!R),Object(v.a)(C,"".concat(Se,"-treenode-checkbox-checked"),V),Object(v.a)(C,"".concat(Se,"-treenode-checkbox-indeterminate"),W),Object(v.a)(C,"".concat(Se,"-treenode-selected"),K),Object(v.a)(C,"".concat(Se,"-treenode-loading"),G),Object(v.a)(C,"".concat(Se,"-treenode-active"),ye),Object(v.a)(C,"".concat(Se,"-treenode-leaf-last"),Ae),Object(v.a)(C,"drag-over",!ee&&F),Object(v.a)(C,"drag-over-gap-top",!ee&&j),Object(v.a)(C,"drag-over-gap-bottom",!ee&&z),Object(v.a)(C,"filter-node",Ke&&Ke(Object(s.b)(this.props))),C)),style:k,onDragEnter:ue?this.onDragEnter:void 0,onDragOver:ue?this.onDragOver:void 0,onDragLeave:ue?this.onDragLeave:void 0,onDrop:ue?this.onDrop:void 0,onDragEnd:ue?this.onDragEnd:void 0,onMouseMove:$},le),o.createElement(r,{prefixCls:Se,level:Re,isStart:U,isEnd:B}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),T}(o.Component),w=function(O){return o.createElement(a.a.Consumer,null,function(T){return o.createElement(y,Object.assign({},O,{context:T}))})};w.displayName="TreeNode",w.defaultProps={title:A},w.isTreeNode=1;var b=N.a=w},lrIw:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("cDf5"),m=n.n(S),g=n("J4zp"),f=n.n(g),d=n("q1tI"),c=n.n(d),o=n("Zm9Q"),i=n("TSYQ"),t=n.n(i),a=n("BGR+"),e=n("2fM7"),l=n("H84U"),r=n("uaoM"),s=n("0n0R"),u=e.a.Option,h=e.a;function A(b){return b&&b.type&&(b.type.isSelectOption||b.type.isSelectOptGroup)}var y=function(x,O){var T=x.prefixCls,E=x.className,C=x.children,_=x.dataSource,L=Object(o.a)(C),P=d.useRef();d.useImperativeHandle(O,function(){return P.current});var k;if(L.length===1&&Object(s.b)(L[0])&&!A(L[0])){var F=f()(L,1);k=F[0]}var j=function(){return k},z;return L.length&&A(L[0])?z=C:z=_?_.map(function(R){if(Object(s.b)(R))return R;switch(m()(R)){case"string":return d.createElement(u,{key:R,value:R},R);case"object":{var U=R.value;return d.createElement(u,{key:U,value:U},R.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],d.useEffect(function(){Object(r.a)(!("dataSource"in x),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(r.a)(!k||!("size"in x),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),d.createElement(l.a,null,function(R){var U=R.getPrefixCls,B=U("select",T);return d.createElement(h,p()({ref:P},Object(a.default)(x,["dataSource"]),{prefixCls:B,className:t()(E,"".concat(B,"-auto-complete")),mode:e.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:j}),z)})},w=d.forwardRef(y);w.Option=u,N.a=w},lwQL:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("9wZj"),m=n("c8qY"),g=n("SgGq"),f=n("Ae+d"),d=n("xSat"),c=d.onIrrelevantElement,o=n("IwbS"),i=n("SA8n"),t=n("U/Mo"),a=t.getNodeGlobalScale,e="__focusNodeAdjacency",l="__unfocusNodeAdjacency",r=["itemStyle","opacity"],s=["lineStyle","opacity"];function u(w,b){var x=w.getVisual("opacity");return x!=null?x:w.getModel().get(b)}function h(w,b,x){var O=w.getGraphicEl(),T=u(w,b);x!=null&&(T==null&&(T=1),T*=x),O.downplay&&O.downplay(),O.traverse(function(E){if(!E.isGroup){var C=E.lineLabelOriginalOpacity;(C==null||x!=null)&&(C=T),E.setStyle("opacity",C)}})}function A(w,b){var x=u(w,b),O=w.getGraphicEl();O.traverse(function(T){!T.isGroup&&T.setStyle("opacity",x)}),O.highlight&&O.highlight()}var y=v.extendChartView({type:"graph",init:function(w,b){var x=new S,O=new m,T=this.group;this._controller=new g(b.getZr()),this._controllerHost={target:T},T.add(x.group),T.add(O.group),this._symbolDraw=x,this._lineDraw=O,this._firstRender=!0},render:function(w,b,x){var O=this,T=w.coordinateSystem;this._model=w;var E=this._symbolDraw,C=this._lineDraw,_=this.group;if(T.type==="view"){var L={position:T.position,scale:T.scale};this._firstRender?_.attr(L):o.updateProps(_,L,w)}i(w.getGraph(),a(w));var P=w.getData();E.updateData(P);var k=w.getEdgeData();C.updateData(k),this._updateNodeAndLinkScale(),this._updateController(w,b,x),clearTimeout(this._layoutTimeout);var F=w.forceLayout,j=w.get("force.layoutAnimation");F&&this._startForceLayoutIteration(F,j),P.eachItemGraphicEl(function(B,H){var K=P.getItemModel(H);B.off("drag").off("dragend");var V=K.get("draggable");V&&B.on("drag",function(){F&&(F.warmUp(),!this._layouting&&this._startForceLayoutIteration(F,j),F.setFixed(H),P.setItemLayout(H,B.position))},this).on("dragend",function(){F&&F.setUnfixed(H)},this),B.setDraggable(V&&F),B[e]&&B.off("mouseover",B[e]),B[l]&&B.off("mouseout",B[l]),K.get("focusNodeAdjacency")&&(B.on("mouseover",B[e]=function(){O._clearTimer(),x.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,dataIndex:B.dataIndex})}),B.on("mouseout",B[l]=function(){O._dispatchUnfocus(x)}))},this),P.graph.eachEdge(function(B){var H=B.getGraphicEl();H[e]&&H.off("mouseover",H[e]),H[l]&&H.off("mouseout",H[l]),B.getModel().get("focusNodeAdjacency")&&(H.on("mouseover",H[e]=function(){O._clearTimer(),x.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,edgeDataIndex:B.dataIndex})}),H.on("mouseout",H[l]=function(){O._dispatchUnfocus(x)}))});var z=w.get("layout")==="circular"&&w.get("circular.rotateLabel"),R=P.getLayout("cx"),U=P.getLayout("cy");P.eachItemGraphicEl(function(B,H){var K=P.getItemModel(H),V=K.get("label.rotate")||0,W=B.getSymbolPath();if(z){var G=P.getItemLayout(H),re=Math.atan2(G[1]-U,G[0]-R);re<0&&(re=Math.PI*2+re);var ye=G[0]<R;ye&&(re=re-Math.PI);var $=ye?"left":"right";o.modifyLabelStyle(W,{textRotation:-re,textPosition:$,textOrigin:"center"},{textPosition:$})}else o.modifyLabelStyle(W,{textRotation:V*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(w,b){var x=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){x._unfocusDelayTimer=null,w.dispatchAction({type:"unfocusNodeAdjacency",seriesId:x._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(w,b,x,O){var T=w.getData(),E=T.graph,C=O.dataIndex,_=O.edgeDataIndex,L=E.getNodeByIndex(C),P=E.getEdgeByIndex(_);if(!L&&!P)return;E.eachNode(function(k){h(k,r,.1)}),E.eachEdge(function(k){h(k,s,.1)}),L&&(A(L,r),p.each(L.edges,function(k){if(k.dataIndex<0)return;A(k,s),A(k.node1,r),A(k.node2,r)})),P&&(A(P,s),A(P.node1,r),A(P.node2,r))},unfocusNodeAdjacency:function(w,b,x,O){var T=w.getData().graph;T.eachNode(function(E){h(E,r)}),T.eachEdge(function(E){h(E,s)})},_startForceLayoutIteration:function(w,b){var x=this;(function O(){w.step(function(T){x.updateLayout(x._model),(x._layouting=!T)&&(b?x._layoutTimeout=setTimeout(O,16):O())})})()},_updateController:function(w,b,x){var O=this._controller,T=this._controllerHost,E=this.group;if(O.setPointerChecker(function(C,_,L){var P=E.getBoundingRect();return P.applyTransform(E.transform),P.contain(_,L)&&!c(C,x,w)}),w.coordinateSystem.type!=="view"){O.disable();return}O.enable(w.get("roam")),T.zoomLimit=w.get("scaleLimit"),T.zoom=w.coordinateSystem.getZoom(),O.off("pan").off("zoom").on("pan",function(C){f.updateViewOnPan(T,C.dx,C.dy),x.dispatchAction({seriesId:w.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){f.updateViewOnZoom(T,C.scale,C.originX,C.originY),x.dispatchAction({seriesId:w.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),i(w.getGraph(),a(w)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var w=this._model,b=w.getData(),x=a(w),O=[x,x];b.eachItemGraphicEl(function(T,E){T.attr("scale",O)})},updateLayout:function(w){i(w.getGraph(),a(w)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(w,b){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});M.exports=y},m9t5:function(M,N,n){var v=n("KCsZ"),p=v([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),S={getAreaStyle:function(m,g){return p(this,m,g)}};M.exports=S},mFDi:function(M,N,n){var v=n("QBsz"),p=n("Fofx"),S=v.applyTransform,m=Math.min,g=Math.max;function f(c,o,i,t){i<0&&(c=c+i,i=-i),t<0&&(o=o+t,t=-t),this.x=c,this.y=o,this.width=i,this.height=t}f.prototype={constructor:f,union:function(o){var i=m(o.x,this.x),t=m(o.y,this.y);this.width=g(o.x+o.width,this.x+this.width)-i,this.height=g(o.y+o.height,this.y+this.height)-t,this.x=i,this.y=t},applyTransform:function(){var c=[],o=[],i=[],t=[];return function(a){if(!a)return;c[0]=i[0]=this.x,c[1]=t[1]=this.y,o[0]=t[0]=this.x+this.width,o[1]=i[1]=this.y+this.height,S(c,c,a),S(o,o,a),S(i,i,a),S(t,t,a),this.x=m(c[0],o[0],i[0],t[0]),this.y=m(c[1],o[1],i[1],t[1]);var e=g(c[0],o[0],i[0],t[0]),l=g(c[1],o[1],i[1],t[1]);this.width=e-this.x,this.height=l-this.y}}(),calculateTransform:function(o){var i=this,t=o.width/i.width,a=o.height/i.height,e=p.create();return p.translate(e,e,[-i.x,-i.y]),p.scale(e,e,[t,a]),p.translate(e,e,[o.x,o.y]),e},intersect:function(o){if(!o)return!1;o instanceof f||(o=f.create(o));var i=this,t=i.x,a=i.x+i.width,e=i.y,l=i.y+i.height,r=o.x,s=o.x+o.width,u=o.y,h=o.y+o.height;return!(a<r||s<t||l<u||h<e)},contain:function(o,i){var t=this;return o>=t.x&&o<=t.x+t.width&&i>=t.y&&i<=t.y+t.height},clone:function(){return new f(this.x,this.y,this.width,this.height)},copy:function(o){this.x=o.x,this.y=o.y,this.width=o.width,this.height=o.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},f.create=function(c){return new f(c.x,c.y,c.width,c.height)};var d=f;M.exports=d},mHUz:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Multi_key:65312,XK_Codeinput:65335,XK_SingleCandidate:65340,XK_MultipleCandidate:65341,XK_PreviousCandidate:65342,XK_Kanji:65313,XK_Muhenkan:65314,XK_Henkan_Mode:65315,XK_Henkan:65315,XK_Romaji:65316,XK_Hiragana:65317,XK_Katakana:65318,XK_Hiragana_Katakana:65319,XK_Zenkaku:65320,XK_Hankaku:65321,XK_Zenkaku_Hankaku:65322,XK_Touroku:65323,XK_Massyo:65324,XK_Kana_Lock:65325,XK_Kana_Shift:65326,XK_Eisu_Shift:65327,XK_Eisu_toggle:65328,XK_Kanji_Bangou:65335,XK_Zen_Koho:65341,XK_Mae_Koho:65342,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_ISO_Next_Group:65032,XK_ISO_Prev_Group:65034,XK_ISO_First_Group:65036,XK_ISO_Last_Group:65038,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255,XK_Hangul:65329,XK_Hangul_Hanja:65332,XK_Hangul_Jeonja:65336,XF86XK_ModeLock:269025025,XF86XK_MonBrightnessUp:269025026,XF86XK_MonBrightnessDown:269025027,XF86XK_KbdLightOnOff:269025028,XF86XK_KbdBrightnessUp:269025029,XF86XK_KbdBrightnessDown:269025030,XF86XK_Standby:269025040,XF86XK_AudioLowerVolume:269025041,XF86XK_AudioMute:269025042,XF86XK_AudioRaiseVolume:269025043,XF86XK_AudioPlay:269025044,XF86XK_AudioStop:269025045,XF86XK_AudioPrev:269025046,XF86XK_AudioNext:269025047,XF86XK_HomePage:269025048,XF86XK_Mail:269025049,XF86XK_Start:269025050,XF86XK_Search:269025051,XF86XK_AudioRecord:269025052,XF86XK_Calculator:269025053,XF86XK_Memo:269025054,XF86XK_ToDoList:269025055,XF86XK_Calendar:269025056,XF86XK_PowerDown:269025057,XF86XK_ContrastAdjust:269025058,XF86XK_RockerUp:269025059,XF86XK_RockerDown:269025060,XF86XK_RockerEnter:269025061,XF86XK_Back:269025062,XF86XK_Forward:269025063,XF86XK_Stop:269025064,XF86XK_Refresh:269025065,XF86XK_PowerOff:269025066,XF86XK_WakeUp:269025067,XF86XK_Eject:269025068,XF86XK_ScreenSaver:269025069,XF86XK_WWW:269025070,XF86XK_Sleep:269025071,XF86XK_Favorites:269025072,XF86XK_AudioPause:269025073,XF86XK_AudioMedia:269025074,XF86XK_MyComputer:269025075,XF86XK_VendorHome:269025076,XF86XK_LightBulb:269025077,XF86XK_Shop:269025078,XF86XK_History:269025079,XF86XK_OpenURL:269025080,XF86XK_AddFavorite:269025081,XF86XK_HotLinks:269025082,XF86XK_BrightnessAdjust:269025083,XF86XK_Finance:269025084,XF86XK_Community:269025085,XF86XK_AudioRewind:269025086,XF86XK_BackForward:269025087,XF86XK_Launch0:269025088,XF86XK_Launch1:269025089,XF86XK_Launch2:269025090,XF86XK_Launch3:269025091,XF86XK_Launch4:269025092,XF86XK_Launch5:269025093,XF86XK_Launch6:269025094,XF86XK_Launch7:269025095,XF86XK_Launch8:269025096,XF86XK_Launch9:269025097,XF86XK_LaunchA:269025098,XF86XK_LaunchB:269025099,XF86XK_LaunchC:269025100,XF86XK_LaunchD:269025101,XF86XK_LaunchE:269025102,XF86XK_LaunchF:269025103,XF86XK_ApplicationLeft:269025104,XF86XK_ApplicationRight:269025105,XF86XK_Book:269025106,XF86XK_CD:269025107,XF86XK_Calculater:269025108,XF86XK_Clear:269025109,XF86XK_Close:269025110,XF86XK_Copy:269025111,XF86XK_Cut:269025112,XF86XK_Display:269025113,XF86XK_DOS:269025114,XF86XK_Documents:269025115,XF86XK_Excel:269025116,XF86XK_Explorer:269025117,XF86XK_Game:269025118,XF86XK_Go:269025119,XF86XK_iTouch:269025120,XF86XK_LogOff:269025121,XF86XK_Market:269025122,XF86XK_Meeting:269025123,XF86XK_MenuKB:269025125,XF86XK_MenuPB:269025126,XF86XK_MySites:269025127,XF86XK_New:269025128,XF86XK_News:269025129,XF86XK_OfficeHome:269025130,XF86XK_Open:269025131,XF86XK_Option:269025132,XF86XK_Paste:269025133,XF86XK_Phone:269025134,XF86XK_Q:269025136,XF86XK_Reply:269025138,XF86XK_Reload:269025139,XF86XK_RotateWindows:269025140,XF86XK_RotationPB:269025141,XF86XK_RotationKB:269025142,XF86XK_Save:269025143,XF86XK_ScrollUp:269025144,XF86XK_ScrollDown:269025145,XF86XK_ScrollClick:269025146,XF86XK_Send:269025147,XF86XK_Spell:269025148,XF86XK_SplitScreen:269025149,XF86XK_Support:269025150,XF86XK_TaskPane:269025151,XF86XK_Terminal:269025152,XF86XK_Tools:269025153,XF86XK_Travel:269025154,XF86XK_UserPB:269025156,XF86XK_User1KB:269025157,XF86XK_User2KB:269025158,XF86XK_Video:269025159,XF86XK_WheelButton:269025160,XF86XK_Word:269025161,XF86XK_Xfer:269025162,XF86XK_ZoomIn:269025163,XF86XK_ZoomOut:269025164,XF86XK_Away:269025165,XF86XK_Messenger:269025166,XF86XK_WebCam:269025167,XF86XK_MailForward:269025168,XF86XK_Pictures:269025169,XF86XK_Music:269025170,XF86XK_Battery:269025171,XF86XK_Bluetooth:269025172,XF86XK_WLAN:269025173,XF86XK_UWB:269025174,XF86XK_AudioForward:269025175,XF86XK_AudioRepeat:269025176,XF86XK_AudioRandomPlay:269025177,XF86XK_Subtitle:269025178,XF86XK_AudioCycleTrack:269025179,XF86XK_CycleAngle:269025180,XF86XK_FrameBack:269025181,XF86XK_FrameForward:269025182,XF86XK_Time:269025183,XF86XK_Select:269025184,XF86XK_View:269025185,XF86XK_TopMenu:269025186,XF86XK_Red:269025187,XF86XK_Green:269025188,XF86XK_Yellow:269025189,XF86XK_Blue:269025190,XF86XK_Suspend:269025191,XF86XK_Hibernate:269025192,XF86XK_TouchpadToggle:269025193,XF86XK_TouchpadOn:269025200,XF86XK_TouchpadOff:269025201,XF86XK_AudioMicMute:269025202,XF86XK_Switch_VT_1:269024769,XF86XK_Switch_VT_2:269024770,XF86XK_Switch_VT_3:269024771,XF86XK_Switch_VT_4:269024772,XF86XK_Switch_VT_5:269024773,XF86XK_Switch_VT_6:269024774,XF86XK_Switch_VT_7:269024775,XF86XK_Switch_VT_8:269024776,XF86XK_Switch_VT_9:269024777,XF86XK_Switch_VT_10:269024778,XF86XK_Switch_VT_11:269024779,XF86XK_Switch_VT_12:269024780,XF86XK_Ungrab:269024800,XF86XK_ClearGrab:269024801,XF86XK_Next_VMode:269024802,XF86XK_Prev_VMode:269024803,XF86XK_LogWindowTree:269024804,XF86XK_LogGrabInfo:269024805};N.default=v},mLcG:function(M,N){var n=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(v){setTimeout(v,16)};M.exports=n},"mO/d":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("I9Y+"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},mOdp:function(M,N,n){var v=n("bYtY"),p=v.createHashMap;function S(m){return{getTargetSeries:function(g){var f={},d=p();return g.eachSeriesByType(m,function(c){c.__paletteScope=f,d.set(c.uid,c)}),d},reset:function(g,f){var d=g.getRawData(),c={},o=g.getData();o.each(function(i){var t=o.getRawIndex(i);c[t]=i}),d.each(function(i){var t=c[i],a=t!=null&&o.getItemVisual(t,"color",!0),e=t!=null&&o.getItemVisual(t,"borderColor",!0),l;if((!a||!e)&&(l=d.getItemModel(i)),!a){var r=l.get("itemStyle.color")||g.getColorFromPalette(d.getName(i)||i+"",g.__paletteScope,d.count());t!=null&&o.setItemVisual(t,"color",r)}if(!e){var s=l.get("itemStyle.borderColor");t!=null&&o.setItemVisual(t,"borderColor",s)}})}}}M.exports=S},mTgk:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("mHUz"));function p(c){return c&&c.__esModule?c:{default:c}}var S={};function m(c,o){if(o===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in S)throw new Error('Duplicate entry for key "'+c+'"');S[c]=[o,o,o,o]}function g(c,o,i){if(o===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(i===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in S)throw new Error('Duplicate entry for key "'+c+'"');S[c]=[o,o,i,o]}function f(c,o,i){if(o===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(i===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in S)throw new Error('Duplicate entry for key "'+c+'"');S[c]=[o,o,o,i]}g("Alt",v.default.XK_Alt_L,v.default.XK_Alt_R),m("AltGraph",v.default.XK_ISO_Level3_Shift),m("CapsLock",v.default.XK_Caps_Lock),g("Control",v.default.XK_Control_L,v.default.XK_Control_R),g("Meta",v.default.XK_Super_L,v.default.XK_Super_R),m("NumLock",v.default.XK_Num_Lock),m("ScrollLock",v.default.XK_Scroll_Lock),g("Shift",v.default.XK_Shift_L,v.default.XK_Shift_R),f("Enter",v.default.XK_Return,v.default.XK_KP_Enter),m("Tab",v.default.XK_Tab),f(" ",v.default.XK_space,v.default.XK_KP_Space),f("ArrowDown",v.default.XK_Down,v.default.XK_KP_Down),f("ArrowUp",v.default.XK_Up,v.default.XK_KP_Up),f("ArrowLeft",v.default.XK_Left,v.default.XK_KP_Left),f("ArrowRight",v.default.XK_Right,v.default.XK_KP_Right),f("End",v.default.XK_End,v.default.XK_KP_End),f("Home",v.default.XK_Home,v.default.XK_KP_Home),f("PageDown",v.default.XK_Next,v.default.XK_KP_Next),f("PageUp",v.default.XK_Prior,v.default.XK_KP_Prior),m("Backspace",v.default.XK_BackSpace),f("Clear",v.default.XK_Clear,v.default.XK_KP_Begin),m("Copy",v.default.XF86XK_Copy),m("Cut",v.default.XF86XK_Cut),f("Delete",v.default.XK_Delete,v.default.XK_KP_Delete),f("Insert",v.default.XK_Insert,v.default.XK_KP_Insert),m("Paste",v.default.XF86XK_Paste),m("Redo",v.default.XK_Redo),m("Undo",v.default.XK_Undo),m("Cancel",v.default.XK_Cancel),m("ContextMenu",v.default.XK_Menu),m("Escape",v.default.XK_Escape),m("Execute",v.default.XK_Execute),m("Find",v.default.XK_Find),m("Help",v.default.XK_Help),m("Pause",v.default.XK_Pause),m("Select",v.default.XK_Select),m("ZoomIn",v.default.XF86XK_ZoomIn),m("ZoomOut",v.default.XF86XK_ZoomOut),m("BrightnessDown",v.default.XF86XK_MonBrightnessDown),m("BrightnessUp",v.default.XF86XK_MonBrightnessUp),m("Eject",v.default.XF86XK_Eject),m("LogOff",v.default.XF86XK_LogOff),m("Power",v.default.XF86XK_PowerOff),m("PowerOff",v.default.XF86XK_PowerDown),m("PrintScreen",v.default.XK_Print),m("Hibernate",v.default.XF86XK_Hibernate),m("Standby",v.default.XF86XK_Standby),m("WakeUp",v.default.XF86XK_WakeUp),m("AllCandidates",v.default.XK_MultipleCandidate),m("Alphanumeric",v.default.XK_Eisu_Shift),m("CodeInput",v.default.XK_Codeinput),m("Compose",v.default.XK_Multi_key),m("Convert",v.default.XK_Henkan),m("GroupFirst",v.default.XK_ISO_First_Group),m("GroupLast",v.default.XK_ISO_Last_Group),m("GroupNext",v.default.XK_ISO_Next_Group),m("GroupPrevious",v.default.XK_ISO_Prev_Group),m("NonConvert",v.default.XK_Muhenkan),m("PreviousCandidate",v.default.XK_PreviousCandidate),m("SingleCandidate",v.default.XK_SingleCandidate),m("HangulMode",v.default.XK_Hangul),m("HanjaMode",v.default.XK_Hangul_Hanja),m("JunjuaMode",v.default.XK_Hangul_Jeonja),m("Eisu",v.default.XK_Eisu_toggle),m("Hankaku",v.default.XK_Hankaku),m("Hiragana",v.default.XK_Hiragana),m("HiraganaKatakana",v.default.XK_Hiragana_Katakana),m("KanaMode",v.default.XK_Kana_Shift),m("KanjiMode",v.default.XK_Kanji),m("Katakana",v.default.XK_Katakana),m("Romaji",v.default.XK_Romaji),m("Zenkaku",v.default.XK_Zenkaku),m("ZenkakuHanaku",v.default.XK_Zenkaku_Hankaku),m("F1",v.default.XK_F1),m("F2",v.default.XK_F2),m("F3",v.default.XK_F3),m("F4",v.default.XK_F4),m("F5",v.default.XK_F5),m("F6",v.default.XK_F6),m("F7",v.default.XK_F7),m("F8",v.default.XK_F8),m("F9",v.default.XK_F9),m("F10",v.default.XK_F10),m("F11",v.default.XK_F11),m("F12",v.default.XK_F12),m("F13",v.default.XK_F13),m("F14",v.default.XK_F14),m("F15",v.default.XK_F15),m("F16",v.default.XK_F16),m("F17",v.default.XK_F17),m("F18",v.default.XK_F18),m("F19",v.default.XK_F19),m("F20",v.default.XK_F20),m("F21",v.default.XK_F21),m("F22",v.default.XK_F22),m("F23",v.default.XK_F23),m("F24",v.default.XK_F24),m("F25",v.default.XK_F25),m("F26",v.default.XK_F26),m("F27",v.default.XK_F27),m("F28",v.default.XK_F28),m("F29",v.default.XK_F29),m("F30",v.default.XK_F30),m("F31",v.default.XK_F31),m("F32",v.default.XK_F32),m("F33",v.default.XK_F33),m("F34",v.default.XK_F34),m("F35",v.default.XK_F35),m("Close",v.default.XF86XK_Close),m("MailForward",v.default.XF86XK_MailForward),m("MailReply",v.default.XF86XK_Reply),m("MailSend",v.default.XF86XK_Send),m("MediaFastForward",v.default.XF86XK_AudioForward),m("MediaPause",v.default.XF86XK_AudioPause),m("MediaPlay",v.default.XF86XK_AudioPlay),m("MediaRecord",v.default.XF86XK_AudioRecord),m("MediaRewind",v.default.XF86XK_AudioRewind),m("MediaStop",v.default.XF86XK_AudioStop),m("MediaTrackNext",v.default.XF86XK_AudioNext),m("MediaTrackPrevious",v.default.XF86XK_AudioPrev),m("New",v.default.XF86XK_New),m("Open",v.default.XF86XK_Open),m("Print",v.default.XK_Print),m("Save",v.default.XF86XK_Save),m("SpellCheck",v.default.XF86XK_Spell),m("AudioVolumeDown",v.default.XF86XK_AudioLowerVolume),m("AudioVolumeUp",v.default.XF86XK_AudioRaiseVolume),m("AudioVolumeMute",v.default.XF86XK_AudioMute),m("MicrophoneVolumeMute",v.default.XF86XK_AudioMicMute),m("LaunchApplication1",v.default.XF86XK_MyComputer),m("LaunchApplication2",v.default.XF86XK_Calculator),m("LaunchCalendar",v.default.XF86XK_Calendar),m("LaunchMail",v.default.XF86XK_Mail),m("LaunchMediaPlayer",v.default.XF86XK_AudioMedia),m("LaunchMusicPlayer",v.default.XF86XK_Music),m("LaunchPhone",v.default.XF86XK_Phone),m("LaunchScreenSaver",v.default.XF86XK_ScreenSaver),m("LaunchSpreadsheet",v.default.XF86XK_Excel),m("LaunchWebBrowser",v.default.XF86XK_WWW),m("LaunchWebCam",v.default.XF86XK_WebCam),m("LaunchWordProcessor",v.default.XF86XK_Word),m("BrowserBack",v.default.XF86XK_Back),m("BrowserFavorites",v.default.XF86XK_Favorites),m("BrowserForward",v.default.XF86XK_Forward),m("BrowserHome",v.default.XF86XK_HomePage),m("BrowserRefresh",v.default.XF86XK_Refresh),m("BrowserSearch",v.default.XF86XK_Search),m("BrowserStop",v.default.XF86XK_Stop),m("Dimmer",v.default.XF86XK_BrightnessAdjust),m("MediaAudioTrack",v.default.XF86XK_AudioCycleTrack),m("RandomToggle",v.default.XF86XK_AudioRandomPlay),m("SplitScreenToggle",v.default.XF86XK_SplitScreen),m("Subtitle",v.default.XF86XK_Subtitle),m("VideoModeNext",v.default.XF86XK_Next_VMode),f("=",v.default.XK_equal,v.default.XK_KP_Equal),f("+",v.default.XK_plus,v.default.XK_KP_Add),f("-",v.default.XK_minus,v.default.XK_KP_Subtract),f("*",v.default.XK_asterisk,v.default.XK_KP_Multiply),f("/",v.default.XK_slash,v.default.XK_KP_Divide),f(".",v.default.XK_period,v.default.XK_KP_Decimal),f(",",v.default.XK_comma,v.default.XK_KP_Separator),f("0",v.default.XK_0,v.default.XK_KP_0),f("1",v.default.XK_1,v.default.XK_KP_1),f("2",v.default.XK_2,v.default.XK_KP_2),f("3",v.default.XK_3,v.default.XK_KP_3),f("4",v.default.XK_4,v.default.XK_KP_4),f("5",v.default.XK_5,v.default.XK_KP_5),f("6",v.default.XK_6,v.default.XK_KP_6),f("7",v.default.XK_7,v.default.XK_KP_7),f("8",v.default.XK_8,v.default.XK_KP_8),f("9",v.default.XK_9,v.default.XK_KP_9);var d=S;N.default=d},mYwL:function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("6GrX"),m=Math.PI;function g(f,d){d=d||{},v.defaults(d,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var c=new p.Group,o=new p.Rect({style:{fill:d.maskColor},zlevel:d.zlevel,z:1e4});c.add(o);var i=d.fontSize+" sans-serif",t=new p.Rect({style:{fill:"none",text:d.text,font:i,textPosition:"right",textDistance:10,textFill:d.textColor},zlevel:d.zlevel,z:10001});if(c.add(t),d.showSpinner){var a=new p.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:d.spinnerRadius},style:{stroke:d.color,lineCap:"round",lineWidth:d.lineWidth},zlevel:d.zlevel,z:10001});a.animateShape(!0).when(1e3,{endAngle:m*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:m*3/2}).delay(300).start("circularInOut"),c.add(a)}return c.resize=function(){var e=S.getWidth(d.text,i),l=d.showSpinner?d.spinnerRadius:0,r=(f.getWidth()-l*2-(d.showSpinner&&e?10:0)-e)/2-(d.showSpinner?0:e/2),s=f.getHeight()/2;d.showSpinner&&a.setShape({cx:r,cy:s}),t.setShape({x:r-l,y:s-l,width:l*2,height:l*2}),o.setShape({x:0,y:0,width:f.getWidth(),height:f.getHeight()})},c.resize(),c}M.exports=g},mdZa:function(M,N,n){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(p,S){"use strict";if(p==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(p),g=1;g<arguments.length;g++){var f=arguments[g];if(f!=null)for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&(m[d]=f[d])}return m},writable:!0,configurable:!0}),function(){function v(p,S){S=S||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(p,S.bubbles,S.cancelable,S.detail),m}v.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=v)}(),Number.isInteger=Number.isInteger||function(p){return typeof p=="number"&&isFinite(p)&&Math.floor(p)===p}},mmNF:function(M,N){var n={utf8:{stringToBytes:function(p){return n.bin.stringToBytes(unescape(encodeURIComponent(p)))},bytesToString:function(p){return decodeURIComponent(escape(n.bin.bytesToString(p)))}},bin:{stringToBytes:function(p){for(var S=[],m=0;m<p.length;m++)S.push(p.charCodeAt(m)&255);return S},bytesToString:function(p){for(var S=[],m=0;m<p.length;m++)S.push(String.fromCharCode(p[m]));return S.join("")}}};M.exports=n},mr32:function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("J4zp"),f=n.n(g),d=n("q1tI"),c=n("TSYQ"),o=n.n(c),i=n("BGR+"),t=n("V/uB"),a=n.n(t),e=n("H84U"),l=function(T,E){var C={};for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&E.indexOf(_)<0&&(C[_]=T[_]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,_=Object.getOwnPropertySymbols(T);L<_.length;L++)E.indexOf(_[L])<0&&Object.prototype.propertyIsEnumerable.call(T,_[L])&&(C[_[L]]=T[_[L]]);return C},r=function(E){var C,_=d.useContext(e.b),L=_.getPrefixCls,P=function(H){var K=E.checked,V=E.onChange,W=E.onClick;V&&V(!K),W&&W(H)},k=E.prefixCls,F=E.className,j=E.checked,z=l(E,["prefixCls","className","checked"]),R=L("tag",k),U=o()(R,(C={},p()(C,"".concat(R,"-checkable"),!0),p()(C,"".concat(R,"-checkable-checked"),j),C),F);return delete z.onChange,d.createElement("span",m()({},z,{className:U,onClick:P}))},s=r,u=n("09Wf"),h=n("g0mS"),A=function(T,E){var C={};for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&E.indexOf(_)<0&&(C[_]=T[_]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,_=Object.getOwnPropertySymbols(T);L<_.length;L++)E.indexOf(_[L])<0&&Object.prototype.propertyIsEnumerable.call(T,_[L])&&(C[_[L]]=T[_[L]]);return C},y=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),w=new RegExp("^(".concat(u.b.join("|"),")$")),b=function(E,C){var _,L=E.prefixCls,P=E.className,k=E.style,F=E.children,j=E.icon,z=E.color,R=E.onClose,U=E.closeIcon,B=E.closable,H=B===void 0?!1:B,K=A(E,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),V=d.useContext(e.b),W=V.getPrefixCls,G=V.direction,re=d.useState(!0),ye=f()(re,2),$=ye[0],ve=ye[1];d.useEffect(function(){"visible"in K&&ve(K.visible)},[K.visible]);var Ce=function(){return z?y.test(z)||w.test(z):!1},Se=m()({backgroundColor:z&&!Ce()?z:void 0},k),Ke=Ce(),ue=W("tag",L),Le=o()(ue,(_={},p()(_,"".concat(ue,"-").concat(z),Ke),p()(_,"".concat(ue,"-has-color"),z&&!Ke),p()(_,"".concat(ue,"-hidden"),!$),p()(_,"".concat(ue,"-rtl"),G==="rtl"),_),P),ee=function(Te){if(Te.stopPropagation(),R&&R(Te),Te.defaultPrevented)return;"visible"in K||ve(!1)},le=function(){return H?U?d.createElement("div",{className:"".concat(ue,"-close-icon"),onClick:ee},U):d.createElement(a.a,{className:"".concat(ue,"-close-icon"),onClick:ee}):null},et="onClick"in K||F&&F.type==="a",Re=Object(i.default)(K,["visible"]),Ae=j||null,oe=Ae?d.createElement(d.Fragment,null,Ae,d.createElement("span",null,F)):F,ce=d.createElement("span",m()({},Re,{ref:C,className:Le,style:Se}),oe,le());return et?d.createElement(h.a,null,ce):ce},x=d.forwardRef(b);x.displayName="Tag",x.CheckableTag=s;var O=N.a=x},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(M){if(!0)module.exports=M();else var N})(function(){var define,module,exports;return function(){function M(N,n,v){function p(g,f){if(!n[g]){if(!N[g]){var d=typeof require=="function"&&require;if(!f&&d)return require(g,!0);if(S)return S(g,!0);var c=new Error("Cannot find module '"+g+"'");throw c.code="MODULE_NOT_FOUND",c}var o=n[g]={exports:{}};N[g][0].call(o.exports,function(i){var t=N[g][1][i];return p(t||i)},o,o.exports,M,N,n,v)}return n[g].exports}for(var S=typeof require=="function"&&require,m=0;m<v.length;m++)p(v[m]);return p}return M}()({1:[function(M,N,n){"use strict";var v=M("./browser/client");v.Buffer=M("buffer").Buffer,v.urllib=M("../shims/xhr"),v.version=M("./browser/version").version,N.exports=v},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(M,N,n){(function(v,p){"use strict";var S=M("babel-runtime/core-js/promise"),m=o(S),g=M("babel-runtime/regenerator"),f=o(g),d=M("babel-runtime/core-js/object/assign"),c=o(d);function o(j){return j&&j.__esModule?j:{default:j}}var i=M("debug")("ali-oss"),t=M("copy-to"),a=M("xml2js"),e=M("agentkeepalive"),l=M("merge-descriptors"),r=M("url"),s=M("is-type-of"),u=M("platform"),h=M("utility"),A=M("urllib"),y=M("./version"),w=M("bowser"),b=M("../common/signUtils"),x=M("../common/utils/isIP"),O=x.isIP,T=M("../common/client/initOptions"),E=M("../common/utils/createRequest"),C=E.createRequest,_=new e;function L(){var j=u.name,z=u.version;j&&j.toLowerCase&&j.toLowerCase()==="ie"&&z.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function P(){return location&&location.protocol==="https:"}function k(j,z){if(L(),!(this instanceof k))return new k(j,z);j&&j.inited?this.options=j:this.options=k.initOptions(j),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=A,this.agent=this.options.agent||_),this.ctx=z,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}N.exports=k,k.initOptions=function(z){z.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var R=(0,c.default)({secure:P(),useFetch:!1},z);return T(R)};var F=k.prototype;F.debug=i,l(F,M("./object")),l(F,M("../common/bucket/getBucketWebsite")),l(F,M("../common/bucket/putBucketWebsite")),l(F,M("../common/bucket/deleteBucketWebsite")),l(F,M("../common/bucket/getBucketLifecycle")),l(F,M("../common/bucket/putBucketLifecycle")),l(F,M("../common/bucket/deleteBucketLifecycle")),l(F,M("../common/bucket/putBucketVersioning")),l(F,M("../common/bucket/getBucketVersioning")),l(F,M("./managed-upload")),l(F,M("../common/multipart")),l(F,M("../common/parallel")),F.signature=function(z){return this.debug("authorization stringToSign: %s",z,"info"),b.computeSignature(this.options.accessKeySecret,z)},F.authorization=function(z,R,U,B){var H=b.buildCanonicalString(z.toUpperCase(),R,{headers:B,parameters:U});return b.authorization(this.options.accessKeyId,this.options.accessKeySecret,H)},F.request=function(z){var R,U,B,H,K,V;return f.default.async(function(G){for(;;)switch(G.prev=G.next){case 0:return R=C.call(this,z),this.options.useFetch||(R.params.mode="disable-fetch"),U=void 0,B=void 0,H=!!z.stream,G.prev=5,G.next=8,f.default.awrap(this.urllib.request(R.url,R.params));case 8:U=G.sent,this.debug("response %s %s, got %s, headers: %j",z.method,R.url,U.status,U.headers,"info"),G.next=15;break;case 12:G.prev=12,G.t0=G.catch(5),B=G.t0;case 15:if(K=void 0,!(U&&z.successStatuses&&z.successStatuses.indexOf(U.status)===-1)){G.next=28;break}return G.next=19,f.default.awrap(this.requestError(U));case 19:if(K=G.sent,!(K.code==="RequestTimeTooSkewed"&&!H)){G.next=25;break}return this.options.amendTimeSkewed=+new Date(K.serverTime)-new Date,G.next=24,f.default.awrap(this.request(z));case 24:return G.abrupt("return",G.sent);case 25:K.params=z,G.next=32;break;case 28:if(!B){G.next=32;break}return G.next=31,f.default.awrap(this.requestError(B));case 31:K=G.sent;case 32:if(!K){G.next=34;break}throw K;case 34:if(!z.xmlResponse){G.next=39;break}return G.next=37,f.default.awrap(this.parseXML(U.data));case 37:V=G.sent,U.data=V;case 39:return G.abrupt("return",U);case 40:case"end":return G.stop()}},null,this,[[5,12]])},F._getResource=function(z){var R="/";return z.bucket&&(R+=z.bucket+"/"),z.object&&(R+=z.object),R},F._isIP=O,F._escape=function(z){return h.encodeURIComponent(z).replace(/%2F/g,"/")},F._getReqUrl=function(z){var R={};t(this.options.endpoint).to(R);var U=this._isIP(R.hostname),B=this.options.cname;z.bucket&&!B&&!U&&(R.host=z.bucket+"."+R.host);var H="/";z.bucket&&U&&(H+=z.bucket+"/"),z.object&&(H+=this._escape(z.object).replace(/\+/g,"%2B")),R.pathname=H;var K={};if(z.query&&l(K,z.query),z.subres){var V={};s.string(z.subres)?V[z.subres]="":s.array(z.subres)?z.subres.forEach(function(W){V[W]=""}):V=z.subres,l(K,V)}return R.query=K,r.format(R)},F._getUserAgent=function(){var z=p&&p.browser?"js":"nodejs",R="aliyun-sdk-"+z+"/"+y.version,U=u.description;return!U&&p&&(U="Node.js "+p.version.slice(1)+" on "+p.platform+" "+p.arch),this._checkUserAgent(R+" "+U)},F._checkUserAgent=function(z){var R=z.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return R},F.checkBrowserAndVersion=function(z,R){return w.name===z&&w.version.split(".")[0]===R},F.parseXML=function(z){return new m.default(function(R,U){v.isBuffer(z)&&(z=z.toString()),a.parseString(z,{explicitRoot:!1,explicitArray:!1},function(B,H){B?U(B):R(H)})})},F.requestError=function(z){var R,U,B,H;return f.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(R=null,!(!z.data||!z.data.length)){V.next=5;break}z.status===-1||z.status===-2?(R=new Error(z.message),R.name=z.name,R.status=z.status,R.code=z.name):(z.status===404?(R=new Error("Object not exists"),R.name="NoSuchKeyError",R.status=404,R.code="NoSuchKey"):z.status===412?(R=new Error("Pre condition failed"),R.name="PreconditionFailedError",R.status=412,R.code="PreconditionFailed"):(R=new Error("Unknow error, status: "+z.status),R.name="UnknowError",R.status=z.status),R.requestId=z.headers["x-oss-request-id"],R.host=""),V.next=33;break;case 5:return U=String(z.data),this.debug("request response error data: %s",U,"error"),B=void 0,V.prev=8,V.next=11,f.default.awrap(this.parseXML(U));case 11:if(V.t0=V.sent,V.t0){V.next=14;break}V.t0={};case 14:B=V.t0,V.next=24;break;case 17:return V.prev=17,V.t1=V.catch(8),this.debug(U,"error"),V.t1.message+=`
raw xml: `+U,V.t1.status=z.status,V.t1.requestId=z.headers["x-oss-request-id"],V.abrupt("return",V.t1);case 24:H=B.Message||"unknow request error, status: "+z.status,B.Condition&&(H+=" (condition: "+B.Condition+")"),R=new Error(H),R.name=B.Code?B.Code+"Error":"UnknowError",R.status=z.status,R.code=B.Code,R.requestId=B.RequestId,R.hostId=B.HostId,R.serverTime=B.ServerTime;case 33:return this.debug("generate error %j",R,"error"),V.abrupt("return",R);case 35:case"end":return V.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:M("../../node_modules/is-buffer/index.js")},M("_process"))},{"../../node_modules/is-buffer/index.js":197,"../common/bucket/deleteBucketLifecycle":6,"../common/bucket/deleteBucketWebsite":7,"../common/bucket/getBucketLifecycle":8,"../common/bucket/getBucketVersioning":9,"../common/bucket/getBucketWebsite":10,"../common/bucket/putBucketLifecycle":11,"../common/bucket/putBucketVersioning":12,"../common/bucket/putBucketWebsite":13,"../common/client/initOptions":15,"../common/multipart":18,"../common/parallel":33,"../common/signUtils":34,"../common/utils/createRequest":38,"../common/utils/isIP":45,"./managed-upload":3,"./object":4,"./version":5,_process:208,agentkeepalive:48,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,bowser:70,"copy-to":76,debug:288,"is-type-of":289,"merge-descriptors":200,platform:206,url:238,urllib:291,utility:290,xml2js:249}],3:[function(M,N,n){(function(v){"use strict";var p=M("babel-runtime/core-js/array/from"),S=c(p),m=M("babel-runtime/core-js/promise"),g=c(m),f=M("babel-runtime/regenerator"),d=c(f);function c(b){return b&&b.__esModule?b:{default:b}}var o=M("is-type-of"),i=M("util"),t=M("path"),a=M("mime"),e=M("copy-to"),l=M("../common/utils/isBlob"),r=l.isBlob,s=M("../common/utils/isFile"),u=s.isFile,h=n;h.multipartUpload=function(x,O,T){var E,C,_,L,P,k,F,j,z;return d.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(this.resetCancelFlag(),T=T||{},!(T.checkpoint&&T.checkpoint.uploadId)){U.next=6;break}return U.next=5,d.default.awrap(this._resumeMultipart(T.checkpoint,T));case 5:return U.abrupt("return",U.sent);case 6:return E=100*1024,T.mime||(u(O)?T.mime=a.getType(t.extname(O.name)):r(O)?T.mime=O.type:T.mime=a.getType(t.extname(O))),T.headers=T.headers||{},this._convertMetaToHeaders(T.meta,T.headers),U.next=12,d.default.awrap(this._getFileSize(O));case 12:if(C=U.sent,!(C<E)){U.next=25;break}return _=this._createStream(O,0,C),T.contentLength=C,U.next=18,d.default.awrap(this.putStream(x,_,T));case 18:if(L=U.sent,!(T&&T.progress)){U.next=22;break}return U.next=22,d.default.awrap(T.progress(1));case 22:return P={res:L.res,bucket:this.options.bucket,name:x,etag:L.res.headers.etag},(T.headers&&T.headers["x-oss-callback"]||T.callback)&&(P.data=L.data),U.abrupt("return",P);case 25:if(!(T.partSize&&!(parseInt(T.partSize,10)===T.partSize))){U.next=27;break}throw new Error("partSize must be int number");case 27:if(!(T.partSize&&T.partSize<E)){U.next=29;break}throw new Error("partSize must not be smaller than "+E);case 29:return U.next=31,d.default.awrap(this.initMultipartUpload(x,T));case 31:if(k=U.sent,F=k.uploadId,j=this._getPartSize(C,T.partSize),z={file:O,name:x,fileSize:C,partSize:j,uploadId:F,doneParts:[]},!(T&&T.progress)){U.next=38;break}return U.next=38,d.default.awrap(T.progress(0,z,k.res));case 38:return U.next=40,d.default.awrap(this._resumeMultipart(z,T));case 40:return U.abrupt("return",U.sent);case 41:case"end":return U.stop()}},null,this)},h._resumeMultipart=function(x,O){var T,E,C,_,L,P,k,F,j,z,R,U,B,H,K,V,W,G;return d.default.async(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(T=this,!this.isCancel()){ye.next=3;break}throw this._makeCancelEvent();case 3:return E=x.file,C=x.fileSize,_=x.partSize,L=x.uploadId,P=x.doneParts,k=x.name,F=[],P.length>0&&e(P).to(F),j=this._divideParts(C,_),z=j.length,R=!1,U=function(ve,Ce){var Se=this;return new g.default(function(ue,Le){var ee,le,et,Re;return d.default.async(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(oe.prev=0,ve.isCancel()){oe.next=18;break}return ee=j[Ce-1],le={stream:ve._createStream(E,ee.start,ee.end),size:ee.end-ee.start},oe.next=6,d.default.awrap(ve._uploadPart(k,L,Ce,le));case 6:if(et=oe.sent,!(!ve.isCancel()&&!R)){oe.next=15;break}if(x.doneParts.push({number:Ce,etag:et.res.headers.etag}),!O.progress){oe.next=12;break}return oe.next=12,d.default.awrap(O.progress(P.length/z,x,et.res));case 12:ue({number:Ce,etag:et.res.headers.etag}),oe.next=16;break;case 15:ue();case 16:oe.next=19;break;case 18:ue();case 19:oe.next=30;break;case 21:oe.prev=21,oe.t0=oe.catch(0),Re=new Error,Re.name=oe.t0.name,Re.message=oe.t0.message,Re.stack=oe.t0.stack,Re.partNum=Ce,e(oe.t0).to(Re),Le(Re);case 30:case"end":return oe.stop()}},null,Se,[[0,21]])})},B=(0,S.default)(new Array(z),function($,ve){return ve+1}),H=F.map(function($){return $.number}),K=B.filter(function($){return H.indexOf($)<0}),V=5,W=O.parallel||V,ye.next=17,d.default.awrap(this._parallel(K,W,function($){return new g.default(function(ve,Ce){U(T,$).then(function(Se){Se&&F.push(Se),ve()}).catch(function(Se){Ce(Se)})})}));case 17:if(G=ye.sent,R=!0,!this.isCancel()){ye.next=22;break}throw U=null,this._makeCancelEvent();case 22:if(!(G&&G.length>0)){ye.next=25;break}throw G[0].message="Failed to upload some parts with error: "+G[0].toString()+" part_num: "+G[0].partNum,G[0];case 25:return ye.next=27,d.default.awrap(this.completeMultipartUpload(k,L,F,O));case 27:return ye.abrupt("return",ye.sent);case 28:case"end":return ye.stop()}},null,this)},h._getFileSize=function(x){return d.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!o.buffer(x)){T.next=4;break}return T.abrupt("return",x.length);case 4:if(!(r(x)||u(x))){T.next=6;break}return T.abrupt("return",x.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return T.stop()}},null,this)};var A=M("stream"),y=A.Readable;function w(b,x){if(!(this instanceof w))return new w(b,x);y.call(this,x),this.file=b,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}i.inherits(w,y),w.prototype.readFileAndPush=function(x){if(this.fileBuffer)for(var O=!0;O&&this.fileBuffer&&this.start<this.fileBuffer.length;){var T=this.start,E=T+x;E=E>this.fileBuffer.length?this.fileBuffer.length:E,this.start=E,O=this.push(this.fileBuffer.slice(T,E))}},w.prototype._read=function(x){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var O=16*1024;x=x||O;var T=this;this.reader.onload=function(C){T.fileBuffer=v.from(new Uint8Array(C.target.result)),T.file=null,T.readFileAndPush(x)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(x)},h._createStream=function(x,O,T){if(r(x)||u(x))return new w(x.slice(O,T));throw new Error("_createStream requires File/Blob.")},h._getPartSize=function(x,O){var T=10*1e3,E=1024*1024;return O?Math.max(Math.ceil(x/T),O):E},h._divideParts=function(x,O){for(var T=Math.ceil(x/O),E=[],C=0;C<T;C++){var _=O*C,L=Math.min(_+O,x);E.push({start:_,end:L})}return E}}).call(this,M("buffer").Buffer)},{"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/array/from":52,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,buffer:73,"copy-to":76,"is-type-of":289,mime:202,path:205,stream:230,util:243}],4:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/promise"),p=o(v),S=M("babel-runtime/core-js/object/keys"),m=o(S),g=M("babel-runtime/core-js/object/assign"),f=o(g),d=M("babel-runtime/regenerator"),c=o(d);function o(T){return T&&T.__esModule?T:{default:T}}var i=M("utility"),t=M("fs"),a=M("is-type-of"),e=M("url"),l=M("copy-to"),r=M("path"),s=M("mime"),u=M("../common/callback"),h=M("../common/signUtils"),A=M("merge-descriptors"),y=M("../common/utils/isBlob"),w=y.isBlob,b=M("../common/utils/isFile"),x=b.isFile,O=n;O.append=function(E,C,_){var L;return c.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return _=_||{},_.position===void 0&&(_.position="0"),_.subres={append:"",position:_.position},_.method="POST",k.next=6,c.default.awrap(this.put(E,C,_));case 6:return L=k.sent,L.nextAppendPosition=L.res.headers["x-oss-next-append-position"],k.abrupt("return",L);case 9:case"end":return k.stop()}},null,this)},O.put=function(E,C,_){var L,P,k,F,j,z,R;return c.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:if(L=void 0,_=_||{},E=this._objectName(E),!a.buffer(C)){B.next=7;break}L=C,B.next=33;break;case 7:if(!(w(C)||x(C))){B.next=32;break}return _.mime||(x(C)?_.mime=s.getType(r.extname(C.name)):_.mime=C.type),P=this._createStream(C,0,C.size),B.next=12,c.default.awrap(this._getFileSize(C));case 12:return _.contentLength=B.sent,B.prev=13,B.next=16,c.default.awrap(this.putStream(E,P,_));case 16:return k=B.sent,B.abrupt("return",k);case 20:if(B.prev=20,B.t0=B.catch(13),!(B.t0.code==="RequestTimeTooSkewed")){B.next=29;break}return this.options.amendTimeSkewed=+new Date(B.t0.serverTime)-new Date,B.next=26,c.default.awrap(this.put(E,C,_));case 26:return B.abrupt("return",B.sent);case 29:throw B.t0;case 30:B.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return _.headers=_.headers||{},this._convertMetaToHeaders(_.meta,_.headers),F=_.method||"PUT",j=this._objectRequestParams(F,E,_),u.encodeCallback(j,_),j.mime=_.mime,j.content=L,j.successStatuses=[200],B.next=43,c.default.awrap(this.request(j));case 43:return z=B.sent,R={name:E,url:this._objectUrl(E),res:z.res},j.headers&&j.headers["x-oss-callback"]&&(R.data=JSON.parse(z.data.toString())),B.abrupt("return",R);case 47:case"end":return B.stop()}},null,this,[[13,20]])},O.putStream=function(E,C,_){var L,P,k,F;return c.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:return _=_||{},_.headers=_.headers||{},E=this._objectName(E),_.contentLength?_.headers["Content-Length"]=_.contentLength:_.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(_.meta,_.headers),L=_.method||"PUT",P=this._objectRequestParams(L,E,_),u.encodeCallback(P,_),P.mime=_.mime,P.stream=C,P.successStatuses=[200],z.next=13,c.default.awrap(this.request(P));case 13:return k=z.sent,F={name:E,url:this._objectUrl(E),res:k.res},P.headers&&P.headers["x-oss-callback"]&&(F.data=JSON.parse(k.data.toString())),z.abrupt("return",F);case 17:case"end":return z.stop()}},null,this)},A(O,M("../common/object/copyObject")),A(O,M("../common/object/getObjectTagging")),A(O,M("../common/object/putObjectTagging")),A(O,M("../common/object/deleteObjectTagging")),A(O,M("../common/image")),A(O,M("../common/object/getBucketVersions")),A(O,M("../common/object/getACL")),A(O,M("../common/object/putACL")),A(O,M("../common/object/head")),A(O,M("../common/object/delete")),A(O,M("../common/object/get")),A(O,M("../common/object/putSymlink")),A(O,M("../common/object/getSymlink")),A(O,M("../common/object/deleteMulti")),A(O,M("../common/object/getObjectMeta")),O.putMeta=function(E,C,_){var L;return c.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,c.default.awrap(this.copy(E,E,{meta:C||{},timeout:_&&_.timeout,ctx:_&&_.ctx}));case 2:return L=k.sent,k.abrupt("return",L);case 4:case"end":return k.stop()}},null,this)},O.list=function(E,C){var _,L,P,k,F;return c.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:return _=this._objectRequestParams("GET","",C),_.query=E,_.xmlResponse=!0,_.successStatuses=[200],z.next=6,c.default.awrap(this.request(_));case 6:return L=z.sent,P=L.data.Contents,k=this,P&&(Array.isArray(P)||(P=[P]),P=P.map(function(R){return{name:R.Key,url:k._objectUrl(R.Key),lastModified:R.LastModified,etag:R.ETag,type:R.Type,size:Number(R.Size),storageClass:R.StorageClass,owner:{id:R.Owner.ID,displayName:R.Owner.DisplayName}}})),F=L.data.CommonPrefixes||null,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(R){return R.Prefix})),z.abrupt("return",{res:L.res,objects:P,prefixes:F,nextMarker:L.data.NextMarker||null,isTruncated:L.data.IsTruncated==="true"});case 13:case"end":return z.stop()}},null,this)},O.restore=function(E,C){var _,L;return c.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return C=C||{},C.subres=(0,f.default)({restore:""},C.subres),C.versionId&&(C.subres.versionId=C.versionId),_=this._objectRequestParams("POST",E,C),_.successStatuses=[202],k.next=7,c.default.awrap(this.request(_));case 7:return L=k.sent,k.abrupt("return",{res:L.res});case 9:case"end":return k.stop()}},null,this)},O.signatureUrl=function(E,C){C=C||{},E=this._objectName(E),C.method=C.method||"GET";var _=i.timestamp()+(C.expires||1800),L={bucket:this.options.bucket,object:E},P=this._getResource(L);this.options.stsToken&&(C["security-token"]=this.options.stsToken);var k=h._signatureForURL(this.options.accessKeySecret,C,P,_),F=e.parse(this._getReqUrl(L));return F.query={OSSAccessKeyId:this.options.accessKeyId,Expires:_,Signature:k.Signature},l(k.subResource).to(F.query),F.format()},O.getObjectUrl=function(E,C){return C?C[C.length-1]!=="/"&&(C+="/"):C=this.options.endpoint.format(),C+this._escape(this._objectName(E))},O._objectUrl=function(E){return this._getReqUrl({bucket:this.options.bucket,object:E})},O.generateObjectUrl=function(T,E){if(E)E[E.length-1]!=="/"&&(E+="/");else{E=this.options.endpoint.format();var C=e.parse(E),_=this.options.bucket;C.hostname=_+"."+C.hostname,C.host=_+"."+C.host,E=C.format()}return E+this._escape(this._objectName(T))},O._objectRequestParams=function(E,C,_){if(!this.options.bucket)throw new Error("Please create a bucket first");_=_||{},C=this._objectName(C);var L={object:C,bucket:this.options.bucket,method:E,subres:_&&_.subres,timeout:_&&_.timeout,ctx:_&&_.ctx};return _.headers&&(L.headers={},l(_.headers).to(L.headers)),L},O._objectName=function(E){return E.replace(/^\/+/,"")},O._convertMetaToHeaders=function(E,C){if(!E)return;(0,m.default)(E).forEach(function(_){C["x-oss-meta-"+_]=E[_]})},O._deleteFileSafe=function(E){var C=this;return new p.default(function(_){t.exists(E,function(L){L?t.unlink(E,function(P){P&&C.debug("unlink %j error: %s",E,P,"error"),_()}):_()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(M,N,n){"use strict";n.version="6.10.0"},{}],6:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(d){return d&&d.__esModule?d:{default:d}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=n;f.deleteBucketLifecycle=function(c,o){var i,t;return p.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return g(c),i=this._bucketRequestParams("DELETE",c,"lifecycle",o),i.successStatuses=[204],e.next=5,p.default.awrap(this.request(i));case 5:return t=e.sent,e.abrupt("return",{res:t.res});case 7:case"end":return e.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(d){return d&&d.__esModule?d:{default:d}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=n;f.deleteBucketWebsite=function(c,o){var i,t;return p.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return g(c),i=this._bucketRequestParams("DELETE",c,"website",o),i.successStatuses=[204],e.next=5,p.default.awrap(this.request(i));case 5:return t=e.sent,e.abrupt("return",{res:t.res});case 7:case"end":return e.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(t){return t&&t.__esModule?t:{default:t}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=M("../utils/isArray"),d=f.isArray,c=M("../utils/formatObjKey"),o=c.formatObjKey,i=n;i.getBucketLifecycle=function(a,e){var l,r,s;return p.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return g(a),l=this._bucketRequestParams("GET",a,"lifecycle",e),l.successStatuses=[200],l.xmlResponse=!0,h.next=6,p.default.awrap(this.request(l));case 6:return r=h.sent,s=r.data.Rule||null,s&&(d(s)||(s=[s]),s=s.map(function(A){return A.ID&&(A.id=A.ID,delete A.ID),A.Tag&&!d(A.Tag)&&(A.Tag=[A.Tag]),o(A,"firstLowerCase")})),h.abrupt("return",{rules:s,res:r.res});case 10:case"end":return h.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(d){return d&&d.__esModule?d:{default:d}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=n;f.getBucketVersioning=function(c,o){var i,t,a;return p.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return g(c),i=this._bucketRequestParams("GET",c,"versioning",o),i.xmlResponse=!0,i.successStatuses=[200],l.next=6,p.default.awrap(this.request(i));case 6:return t=l.sent,a=t.data.Status,l.abrupt("return",{status:t.status,versionStatus:a,res:t.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(o){return o&&o.__esModule?o:{default:o}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=M("../utils/isObject"),d=f.isObject,c=n;c.getBucketWebsite=function(i,t){var a,e,l;return p.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return g(i),a=this._bucketRequestParams("GET",i,"website",t),a.successStatuses=[200],a.xmlResponse=!0,s.next=6,p.default.awrap(this.request(a));case 6:return e=s.sent,l=[],e.data.RoutingRules&&e.data.RoutingRules.RoutingRule&&(d(e.data.RoutingRules.RoutingRule)?l=[e.data.RoutingRules.RoutingRule]:l=e.data.RoutingRules.RoutingRule),s.abrupt("return",{index:e.data.IndexDocument&&e.data.IndexDocument.Suffix||"",supportSubDir:e.data.IndexDocument&&e.data.IndexDocument.SupportSubDir||"false",type:e.data.IndexDocument&&e.data.IndexDocument.Type,routingRules:l,error:e.data.ErrorDocument&&e.data.ErrorDocument.Key||null,res:e.res});case 10:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(x){return x&&x.__esModule?x:{default:x}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=M("../utils/isArray"),d=f.isArray,c=M("../utils/deepCopy"),o=c.deepCopy,i=M("../utils/isObject"),t=i.isObject,a=M("../utils/obj2xml"),e=a.obj2xml,l=M("../utils/checkObjectTag"),r=l.checkObjectTag,s=M("../utils/getStrBytesCount"),u=s.getStrBytesCount,h=n;h.putBucketLifecycle=function(O,T,E){var C,_,L,P,k;return p.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(g(O),d(T)){j.next=3;break}throw new Error("rules must be Array");case 3:return C=this._bucketRequestParams("PUT",O,"lifecycle",E),_=[],L={LifecycleConfiguration:{Rule:_}},T.forEach(function(z){A(z),b(z),z.id&&(z.ID=z.id,delete z.id),_.push(z)}),P=e(L,{headers:!0,firstUpperCase:!0}),C.content=P,C.mime="xml",C.successStatuses=[200],j.next=13,p.default.awrap(this.request(C));case 13:return k=j.sent,j.abrupt("return",{res:k.res});case 15:case"end":return j.stop()}},null,this)};function A(x){x.days&&(x.expiration={days:x.days}),x.date&&(x.expiration={createdBeforeDate:x.date})}function y(x,O){var T=x.days,E=x.createdBeforeDate;if(!T&&!E)throw new Error(O+" must includes days or createdBeforeDate");if(T&&!/^[1-9][0-9]*$/.test(T))throw new Error("days must be a positive integer");if(E&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(E))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function w(x){if(!d(x)&&!t(x))throw new Error("tag must be Object or Array");x=t(x)?[x]:x;var O={},T=o(x);T.forEach(function(E){O[E.key]=E.value}),r(O)}function b(x){if(x.id&&u(x.id)>255)throw new Error("ID is composed of 255 bytes at most");if(x.prefix===""||x.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(x.status))throw new Error("Status must be Enabled or Disabled");if(x.transition){if(!["IA","Archive"].includes(x.transition.storageClass))throw new Error("StorageClass must be IA or Archive");y(x.transition,"Transition")}if(x.expiration){if(!x.expiration.expiredObjectDeleteMarker)y(x.expiration,"Expiration");else if(x.expiration.days||x.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(x.abortMultipartUpload&&y(x.abortMultipartUpload,"AbortMultipartUpload"),!x.expiration&&!x.abortMultipartUpload&&!x.transition&&!x.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(x.tag){if(x.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");w(x.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(o){return o&&o.__esModule?o:{default:o}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=M("../utils/obj2xml"),d=f.obj2xml,c=n;c.putBucketVersioning=function(i,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},e,l,r;return p.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(g(i),["Enabled","Suspended"].includes(t)){u.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return e=this._bucketRequestParams("PUT",i,"versioning",a),l={VersioningConfiguration:{Status:t}},e.mime="xml",e.content=d(l,{headers:!0}),u.next=9,p.default.awrap(this.request(e));case 9:return r=u.sent,u.abrupt("return",{res:r.res,status:r.status});case 11:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(t){return t&&t.__esModule?t:{default:t}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=M("../utils/obj2xml"),d=f.obj2xml,c=M("../utils/isArray"),o=c.isArray,i=n;i.putBucketWebsite=function(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],r,s,u,h,A;return p.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:if(g(a),r=this._bucketRequestParams("PUT",a,"website",l),s={Suffix:e.index||"index.html"},u={IndexDocument:s},h={WebsiteConfiguration:u},e.supportSubDir&&(s.SupportSubDir=e.supportSubDir),e.type&&(s.Type=e.type),e.error&&(u.ErrorDocument={Key:e.error}),!(e.routingRules!==void 0)){w.next=12;break}if(o(e.routingRules)){w.next=11;break}throw new Error("RoutingRules must be Array");case 11:u.RoutingRules={RoutingRule:e.routingRules};case 12:return h=d(h),r.content=h,r.mime="xml",r.successStatuses=[200],w.next=18,p.default.awrap(this.request(r));case 18:return A=w.sent,w.abrupt("return",{res:A.res});case 20:case"end":return w.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(M,N,n){(function(v){"use strict";var p=M("babel-runtime/core-js/object/keys"),S=f(p),m=M("babel-runtime/core-js/json/stringify"),g=f(m);function f(d){return d&&d.__esModule?d:{default:d}}n.encodeCallback=function(c,o){if(c.headers=c.headers||{},!Object.prototype.hasOwnProperty.call(c.headers,"x-oss-callback")&&o.callback){var i={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};o.callback.host&&(i.callbackHost=o.callback.host),o.callback.contentType&&(i.callbackBodyType=o.callback.contentType);var t=v.from((0,g.default)(i)).toString("base64");if(c.headers["x-oss-callback"]=t,o.callback.customValue){var a={};(0,S.default)(o.callback.customValue).forEach(function(e){a["x:"+e]=o.callback.customValue[e]}),c.headers["x-oss-callback-var"]=v.from((0,g.default)(a)).toString("base64")}}}}).call(this,M("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/assign"),p=S(v);function S(i){return i&&i.__esModule?i:{default:i}}var m=M("humanize-ms"),g=M("url"),f=M("../utils/checkBucketName"),d=f.checkBucketName;function c(i,t){var a=g.parse(i);if(a.protocol||(a=g.parse("http"+(t?"s":"")+"://"+i)),a.protocol!=="http:"&&a.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return a}function o(i,t,a){var e=a?"https://":"http://",l=t?"-internal.aliyuncs.com":".aliyuncs.com",r="vpc100-oss-cn-";return i.substr(0,r.length)===r&&(l=".aliyuncs.com"),g.parse(e+i+l)}N.exports=function(i){if(!i||!i.accessKeyId||!i.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");i.bucket&&d(i.bucket);var t=(0,p.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},i);if(t.accessKeyId=t.accessKeyId.trim(),t.accessKeySecret=t.accessKeySecret.trim(),t.timeout&&(t.timeout=m(t.timeout)),t.endpoint)t.endpoint=c(t.endpoint,t.secure);else if(t.region)t.endpoint=o(t.region,t.internal,t.secure);else throw new Error("require options.endpoint or options.region");return t.inited=!0,t}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(M,N,n){"use strict";var v=M("merge-descriptors"),p=n;v(p,M("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(t){return t&&t.__esModule?t:{default:t}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,f=M("querystring"),d=M("js-base64"),c=d.Base64.encode,o=n;o.processObjectSave=function(a,e,l,r){var s,u,h,A;return p.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return i(a,"sourceObject"),i(e,"targetObject"),i(l,"process"),e=this._objectName(e),r&&g(r),s=this._objectRequestParams("POST",a,{subres:"x-oss-process"}),u=r?",b_"+c(r):"",e=c(e),h={"x-oss-process":l+"|sys/saveas,o_"+e+u},s.content=f.stringify(h),w.next=12,p.default.awrap(this.request(s));case 12:return A=w.sent,w.abrupt("return",{res:A.res,status:A.res.status});case 14:case"end":return w.stop()}},null,this)};function i(t,a){if(!t)throw new Error(a+" is required");if(typeof t!="string")throw new Error(a+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=S(v);function S(o){return o&&o.__esModule?o:{default:o}}var m=M("copy-to"),g=M("./callback"),f=M("./utils/deepCopy"),d=f.deepCopy,c=n;c.listUploads=function(i,t){var a,e,l,r;return p.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return t=t||{},a={},m(t).to(a),a.subres="uploads",e=this._objectRequestParams("GET","",a),e.query=i,e.xmlResponse=!0,e.successStatuses=[200],u.next=10,p.default.awrap(this.request(e));case 10:return l=u.sent,r=l.data.Upload||[],Array.isArray(r)||(r=[r]),r=r.map(function(h){return{name:h.Key,uploadId:h.UploadId,initiated:h.Initiated}}),u.abrupt("return",{res:l.res,uploads:r,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return u.stop()}},null,this)},c.listParts=function(i,t,a,e){var l,r,s;return p.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return e=e||{},l={},m(e).to(l),l.subres={uploadId:t},r=this._objectRequestParams("GET",i,l),r.query=a,r.xmlResponse=!0,r.successStatuses=[200],h.next=10,p.default.awrap(this.request(r));case 10:return s=h.sent,h.abrupt("return",{res:s.res,uploadId:s.data.UploadId,bucket:s.data.Bucket,name:s.data.Key,partNumberMarker:s.data.PartNumberMarker,nextPartNumberMarker:s.data.NextPartNumberMarker,maxParts:s.data.MaxParts,isTruncated:s.data.IsTruncated,parts:s.data.Part||[]});case 12:case"end":return h.stop()}},null,this)},c.abortMultipartUpload=function(i,t,a){var e,l,r;return p.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),a=a||{},e={},m(a).to(e),e.subres={uploadId:t},l=this._objectRequestParams("DELETE",i,e),l.successStatuses=[204],u.next=9,p.default.awrap(this.request(l));case 9:return r=u.sent,u.abrupt("return",{res:r.res});case 11:case"end":return u.stop()}},null,this)},c.initMultipartUpload=function(i,t){var a,e,l;return p.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return t=t||{},a={},m(t).to(a),a.headers=a.headers||{},this._convertMetaToHeaders(t.meta,a.headers),a.subres="uploads",e=this._objectRequestParams("POST",i,a),e.mime=t.mime,e.xmlResponse=!0,e.successStatuses=[200],s.next=12,p.default.awrap(this.request(e));case 12:return l=s.sent,s.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return s.stop()}},null,this)},c.uploadPart=function(i,t,a,e,l,r,s){var u;return p.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return u={stream:this._createStream(e,l,r),size:r-l},A.next=3,p.default.awrap(this._uploadPart(i,t,a,u,s));case 3:return A.abrupt("return",A.sent);case 4:case"end":return A.stop()}},null,this)},c.completeMultipartUpload=function(i,t,a,e){var l,r,s,u,h,A,y,w;return p.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:for(l=a.concat().sort(function(O,T){return O.number-T.number}).filter(function(O,T,E){return!T||O.number!==E[T-1].number}),r=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,s=0;s<l.length;s++)u=l[s],r+=`<Part>
`,r+="<PartNumber>"+u.number+`</PartNumber>
`,r+="<ETag>"+u.etag+`</ETag>
`,r+=`</Part>
`;return r+="</CompleteMultipartUpload>",e=e||{},h={},h=d(e),h.headers&&delete h.headers["x-oss-server-side-encryption"],h.subres={uploadId:t},A=this._objectRequestParams("POST",i,h),g.encodeCallback(A,h),A.mime="xml",A.content=r,A.headers&&A.headers["x-oss-callback"]||(A.xmlResponse=!0),A.successStatuses=[200],x.next=17,p.default.awrap(this.request(A));case 17:return y=x.sent,w={res:y.res,bucket:A.bucket,name:i,etag:y.res.headers.etag},A.headers&&A.headers["x-oss-callback"]&&(w.data=JSON.parse(y.data.toString())),x.abrupt("return",w);case 21:case"end":return x.stop()}},null,this)},c._uploadPart=function(i,t,a,e,l){var r,s,u;return p.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return l=l||{},r={},m(l).to(r),r.headers={"Content-Length":e.size},r.subres={partNumber:a,uploadId:t},s=this._objectRequestParams("PUT",i,r),s.mime=r.mime,s.stream=e.stream,s.successStatuses=[200],A.next=11,p.default.awrap(this.request(s));case 11:if(u=A.sent,u.res.headers.etag){A.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 14:return e.stream=null,s.stream=null,A.abrupt("return",{name:i,etag:u.res.headers.etag,res:u.res});case 17:case"end":return A.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=d(v),S=M("babel-runtime/core-js/object/keys"),m=d(S),g=M("babel-runtime/helpers/typeof"),f=d(g);function d(t){return t&&t.__esModule?t:{default:t}}var c=M("../utils/checkBucketName"),o=c.checkBucketName,i=n;i.copy=function(a,e,l,r){var s,u,h;return p.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:return(typeof l=="undefined"?"undefined":(0,f.default)(l))==="object"&&(r=l),r=r||{},r.headers=r.headers||{},(0,m.default)(r.headers).forEach(function(w){r.headers["x-oss-copy-source-"+w.toLowerCase()]=r.headers[w]}),r.meta&&(r.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(r.meta,r.headers),e=this._getSourceName(e,l),r.versionId&&(e=e+"?versionId="+r.versionId),r.headers["x-oss-copy-source"]=e,s=this._objectRequestParams("PUT",a,r),s.xmlResponse=!0,s.successStatuses=[200,304],y.next=14,p.default.awrap(this.request(s));case 14:return u=y.sent,h=u.data,h&&(h={etag:h.ETag,lastModified:h.LastModified}),y.abrupt("return",{data:h,res:u.res});case 18:case"end":return y.stop()}},null,this)},i._getSourceName=function(a,e){return typeof e=="string"?a=this._objectName(a):a[0]!=="/"?e=this.options.bucket:(e=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),o(e),a=encodeURI(a),a="/"+e+"/"+a,a}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=n;f.delete=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,t;return p.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return o.subres=(0,m.default)({},o.subres),o.versionId&&(o.subres.versionId=o.versionId),i=this._objectRequestParams("DELETE",c,o),i.successStatuses=[204],e.next=6,p.default.awrap(this.request(i));case 6:return t=e.sent,e.abrupt("return",{res:t.res});case 8:case"end":return e.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(i){return i&&i.__esModule?i:{default:i}}var f=M("utility"),d=M("../utils/obj2xml"),c=d.obj2xml,o=n;o.deleteMulti=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,l,r,s,u,h,A,y,w,b,x,O;return p.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(e=[],!(!t||!t.length)){E.next=3;break}throw new Error("names is required");case 3:for(l=0;l<t.length;l++)r={},typeof t[l]=="string"?r.Key=f.escape(this._objectName(t[l])):(s=t[l],u=s.key,h=s.versionId,r.Key=f.escape(this._objectName(u)),r.VersionId=h),e.push(r);return A={Delete:{Quiet:!!a.quiet,Object:e}},y=c(A,{headers:!0}),a.subres=(0,m.default)({delete:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),w=this._objectRequestParams("POST","",a),w.mime="xml",w.content=y,w.xmlResponse=!0,w.successStatuses=[200],E.next=15,p.default.awrap(this.request(w));case 15:return b=E.sent,x=b.data,O=x&&x.Deleted||null,O&&(Array.isArray(O)||(O=[O])),E.abrupt("return",{res:b.res,deleted:O||[]});case 20:case"end":return E.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=n;f.deleteObjectTagging=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,t;return p.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return o.subres=(0,m.default)({tagging:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),c=this._objectName(c),i=this._objectRequestParams("DELETE",c,o),i.successStatuses=[204],e.next=7,p.default.awrap(this.request(i));case 7:return t=e.sent,e.abrupt("return",{status:t.status,res:t.res});case 9:case"end":return e.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(o){return o&&o.__esModule?o:{default:o}}var f=M("fs"),d=M("is-type-of"),c=n;c.get=function(i,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},e,l,r,s;return p.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return e=null,l=!1,d.writableStream(t)?e=t:d.string(t)?(e=f.createWriteStream(t),l=!0):a=t,a=a||{},a.subres=(0,m.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.process&&(a.subres["x-oss-process"]=a.process),r=void 0,h.prev=8,s=this._objectRequestParams("GET",i,a),s.writeStream=e,s.successStatuses=[200,206,304],h.next=14,p.default.awrap(this.request(s));case 14:r=h.sent,l&&e.destroy(),h.next=25;break;case 18:if(h.prev=18,h.t0=h.catch(8),!l){h.next=24;break}return e.destroy(),h.next=24,p.default.awrap(this._deleteFileSafe(t));case 24:throw h.t0;case 25:return h.abrupt("return",{res:r.res,content:r.data});case 26:case"end":return h.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=n;f.getACL=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,t;return p.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return o.subres=(0,m.default)({acl:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),c=this._objectName(c),i=this._objectRequestParams("GET",c,o),i.successStatuses=[200],i.xmlResponse=!0,e.next=8,p.default.awrap(this.request(i));case 8:return t=e.sent,e.abrupt("return",{acl:t.data.AccessControlList.Grant,owner:{id:t.data.Owner.ID,displayName:t.data.Owner.DisplayName},res:t.res});case 10:case"end":return e.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/keys"),p=d(v),S=M("babel-runtime/regenerator"),m=d(S),g=M("babel-runtime/core-js/object/assign"),f=d(g);function d(s){return s&&s.__esModule?s:{default:s}}var c=n,o=M("../utils/isObject"),i=o.isObject,t=M("../utils/isArray"),a=t.isArray;c.getBucketVersions=e,c.listObjectVersions=e;function e(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h,A,y,w,b,x;return m.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){T.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return u.subres=(0,f.default)({versions:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),h=this._objectRequestParams("GET","",u),h.xmlResponse=!0,h.successStatuses=[200],h.query=r(s),T.next=10,m.default.awrap(this.request(h));case 10:return A=T.sent,y=A.data.Version||[],w=A.data.DeleteMarker||[],b=this,y&&(Array.isArray(y)||(y=[y]),y=y.map(function(E){return{name:E.Key,url:b._objectUrl(E.Key),lastModified:E.LastModified,isLatest:E.IsLatest==="true",versionId:E.VersionId,etag:E.ETag,type:E.Type,size:Number(E.Size),storageClass:E.StorageClass,owner:{id:E.Owner.ID,displayName:E.Owner.DisplayName}}})),w&&(a(w)||(w=[w]),w=w.map(function(E){return{name:E.Key,lastModified:E.LastModified,versionId:E.VersionId,owner:{id:E.Owner.ID,displayName:E.Owner.DisplayName}}})),x=A.data.CommonPrefixes||null,x&&(a(x)||(x=[x]),x=x.map(function(E){return E.Prefix})),T.abrupt("return",{res:A.res,objects:y,deleteMarker:w,prefixes:x,nextMarker:A.data.NextMarker||null,NextVersionIdMarker:A.data.NextVersionIdMarker||null,isTruncated:A.data.IsTruncated==="true"});case 19:case"end":return T.stop()}},null,this)}function l(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function r(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u={};return i(s)&&(0,p.default)(s).forEach(function(h){u[l(h)]=s[h]}),u}},{"../utils/isArray":42,"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],26:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=n;f.getObjectMeta=function(c,o){var i,t;return p.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return o=o||{},c=this._objectName(c),o.subres=(0,m.default)({objectMeta:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),i=this._objectRequestParams("HEAD",c,o),i.successStatuses=[200],e.next=8,p.default.awrap(this.request(i));case 8:return t=e.sent,e.abrupt("return",{status:t.status,res:t.res});case 10:case"end":return e.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(o){return o&&o.__esModule?o:{default:o}}var f=n,d=M("../utils/isObject"),c=d.isObject;f.getObjectTagging=function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,e,l,r,s;return p.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return t.subres=(0,m.default)({tagging:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),i=this._objectName(i),a=this._objectRequestParams("GET",i,t),a.successStatuses=[200],h.next=7,p.default.awrap(this.request(a));case 7:return e=h.sent,h.next=10,p.default.awrap(this.parseXML(e.data));case 10:return l=h.sent,r=l.TagSet.Tag,r=r&&c(r)?[r]:r||[],s={},r.forEach(function(A){s[A.Key]=A.Value}),h.abrupt("return",{status:e.status,res:e.res,tag:s});case 16:case"end":return h.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=n;f.getSymlink=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,t,a;return p.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return o.subres=(0,m.default)({symlink:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),c=this._objectName(c),i=this._objectRequestParams("GET",c,o),i.successStatuses=[200],l.next=7,p.default.awrap(this.request(i));case 7:return t=l.sent,a=t.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(a),res:t.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=d(v),S=M("babel-runtime/core-js/object/keys"),m=d(S),g=M("babel-runtime/core-js/object/assign"),f=d(g);function d(o){return o&&o.__esModule?o:{default:o}}var c=n;c.head=function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,e,l;return p.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return t.subres=(0,f.default)({},t.subres),t.versionId&&(t.subres.versionId=t.versionId),a=this._objectRequestParams("HEAD",i,t),a.successStatuses=[200,304],s.next=6,p.default.awrap(this.request(a));case 6:return e=s.sent,l={meta:null,res:e.res,status:e.status},e.status===200&&(0,m.default)(e.headers).forEach(function(u){u.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[u.substring(11)]=e.headers[u])}),s.abrupt("return",l);case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=n;f.putACL=function(c,o,i){var t,a;return p.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return i=i||{},i.subres=(0,m.default)({acl:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),i.headers=i.headers||{},i.headers["x-oss-object-acl"]=o,c=this._objectName(c),t=this._objectRequestParams("PUT",c,i),t.successStatuses=[200],l.next=10,p.default.awrap(this.request(t));case 10:return a=l.sent,l.abrupt("return",{res:a.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=d(v),S=M("babel-runtime/core-js/object/keys"),m=d(S),g=M("babel-runtime/core-js/object/assign"),f=d(g);function d(e){return e&&e.__esModule?e:{default:e}}var c=M("../utils/obj2xml"),o=c.obj2xml,i=M("../utils/checkObjectTag"),t=i.checkObjectTag,a=n;a.putObjectTagging=function(l,r){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,h,A;return p.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return t(r),s.subres=(0,f.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),l=this._objectName(l),u=this._objectRequestParams("PUT",l,s),u.successStatuses=[200],r=(0,m.default)(r).map(function(b){return{Key:b,Value:r[b]}}),h={Tagging:{TagSet:{Tag:r}}},u.mime="xml",u.content=o(h),w.next=12,p.default.awrap(this.request(u));case 12:return A=w.sent,w.abrupt("return",{res:A.res,status:A.status});case 14:case"end":return w.stop()}},null,this)}},{"../utils/checkObjectTag":36,"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],32:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=n;f.putSymlink=function(c,o,i){var t,a;return p.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return i=i||{},i.headers=i.headers||{},o=this._escape(this._objectName(o)),this._convertMetaToHeaders(i.meta,i.headers),i.headers["x-oss-symlink-target"]=o,i.subres=(0,m.default)({symlink:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),i.storageClass&&(i.headers["x-oss-storage-class"]=i.storageClass),c=this._objectName(c),t=this._objectRequestParams("PUT",c,i),t.successStatuses=[200],l.next=13,p.default.awrap(this.request(t));case 13:return a=l.sent,l.abrupt("return",{res:a.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(M,N,n){"use strict";var v=M("babel-runtime/regenerator"),p=g(v),S=M("babel-runtime/core-js/promise"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=n;f._parallelNode=function(c,o,i,t){var a,e,l,r,s,u,h,A;return p.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:a=this,e=[],l=[],r=c.length/o,s=c.length%o,u=s===0?r:(c.length-s)/o+1,h=1,A=0;case 8:if(!(A<c.length)){w.next=26;break}if(!a.isCancel()){w.next=11;break}return w.abrupt("break",26);case 11:if(t?l.push(i(a,c[A],t)):l.push(i(a,c[A])),!(l.length===o||h===u&&A===c.length-1)){w.next=23;break}return w.prev=13,h+=1,w.next=17,p.default.awrap(m.default.all(l));case 17:w.next=22;break;case 19:w.prev=19,w.t0=w.catch(13),e.push(w.t0);case 22:l=[];case 23:A++,w.next=8;break;case 26:return w.abrupt("return",e);case 27:case"end":return w.stop()}},null,this,[[13,19]])},f._parallel=function(c,o,i){var t=this;return new m.default(function(a){var e=[];if(o<=0||!c){a(e);return}function l(x){return function(){if(x===null)throw new Error("Callback was already called.");var O=x;x=null;for(var T=arguments.length,E=Array(T),C=0;C<T;C++)E[C]=arguments[C];O.apply(this,E)}}function r(x){var O=-1,T=x.length;return function(){return++O<T&&!t.isCancel()?{value:x[O],key:O}:null}}var s=r(c),u=!1,h=0,A=!1;function y(x,O){h-=1,x?(u=!0,e.push(x),a(e)):O==={}||u&&h<=0?(u=!0,a(e)):A||(t.isCancel()?a(e):b())}function w(x,O){i(x).then(function(T){O(null,T)}).catch(function(T){O(T)})}function b(){for(A=!0;h<o&&!u&&!t.isCancel();){var x=s();if(x===null||e.length>0){u=!0,h<=0&&a(e);return}h+=1,w(x.value,l(y))}A=!1}b()})},f.cancel=function(c){this.options.cancelFlag=!0,c&&this.abortMultipartUpload(c.name,c.uploadId,c.options)},f.isCancel=function(){return this.options.cancelFlag},f.resetCancelFlag=function(){this.options.cancelFlag=!1},f._stop=function(){this.options.cancelFlag=!0},f._makeCancelEvent=function(){var c={status:0,name:"cancel"};return c}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(M,N,n){(function(v){"use strict";var p=M("babel-runtime/core-js/json/stringify"),S=f(p),m=M("babel-runtime/core-js/object/keys"),g=f(m);function f(o){return o&&o.__esModule?o:{default:o}}var d=M("./../../shims/crypto/crypto.js"),c=M("is-type-of");n.buildCanonicalizedResource=function(i,t){var a=""+i,e="?";if(c.string(t)&&t.trim()!=="")a+=e+t;else if(c.array(t))t.sort(),a+=e+t.join("&");else if(t){var l=function(u,h){return u[0]>h[0]?1:u[0]<h[0]?-1:0},r=function(u){a+=e+u,t[u]&&(a+="="+t[u]),e="&"};(0,g.default)(t).sort(l).forEach(r)}return a},n.buildCanonicalString=function(i,t,a,e){a=a||{};var l=a.headers||{},r="x-oss-",s=[],u={},h=[i.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],e||l["x-oss-date"]];return(0,g.default)(l).forEach(function(A){var y=A.toLowerCase();y.indexOf(r)===0&&(u[y]=String(l[A]).trim())}),(0,g.default)(u).sort().forEach(function(A){s.push(A+":"+u[A])}),h=h.concat(s),h.push(this.buildCanonicalizedResource(t,a.parameters)),h.join(`
`)},n.computeSignature=function(i,t){var a=d.createHmac("sha1",i);return a.update(v.from(t,"utf8")).digest("base64")},n.authorization=function(i,t,a){return"OSS "+i+":"+this.computeSignature(t,a)},n._signatureForURL=function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments[2],e=arguments[3],l={},r=t.subResource,s=r===void 0?{}:r;if(t.process){var u="x-oss-process";s[u]=t.process}if(t.trafficLimit){var h="x-oss-traffic-limit";s[h]=t.trafficLimit}if(t.response&&(0,g.default)(t.response).forEach(function(b){var x="response-"+b.toLowerCase();s[x]=t.response[b]}),(0,g.default)(t).forEach(function(b){var x=b.toLowerCase(),O=t[b];x.indexOf("x-oss-")===0?l[x]=O:(x.indexOf("content-md5")===0||x.indexOf("content-type")===0)&&(l[b]=O)}),Object.prototype.hasOwnProperty.call(t,"security-token")&&(s["security-token"]=t["security-token"]),Object.prototype.hasOwnProperty.call(t,"callback")){var A={callbackUrl:encodeURI(t.callback.url),callbackBody:t.callback.body};if(t.callback.host&&(A.callbackHost=t.callback.host),t.callback.contentType&&(A.callbackBodyType=t.callback.contentType),s.callback=v.from((0,S.default)(A)).toString("base64"),t.callback.customValue){var y={};(0,g.default)(t.callback.customValue).forEach(function(b){y["x:"+b]=t.callback.customValue[b]}),s["callback-var"]=v.from((0,S.default)(y)).toString("base64")}}var w=this.buildCanonicalString(t.method,a,{headers:l,parameters:s},e.toString());return{Signature:this.computeSignature(i,w),subResource:s}}}).call(this,M("buffer").Buffer)},{"./../../shims/crypto/crypto.js":284,"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73,"is-type-of":289}],35:[function(M,N,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.checkBucketName=void 0,n.checkBucketName=function(v,p){var S=p?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!S.test(v))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/entries"),p=S(v);function S(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0}),n.checkObjectTag=void 0;var m=M("./checkValid"),g=m.checkValid,f=M("./isObject"),d=f.isObject,c=[{validator:function(a){if(typeof a!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],o={key:[].concat(c,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(c,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function i(t){if(!d(t))throw new Error("tag must be Object");var a=(0,p.default)(t);if(a.length>10)throw new Error("maximum of 10 tags for a object");var e=["key","value"];a.forEach(function(l){l.forEach(function(r,s){g(r,o[e[s]])})})}n.checkObjectTag=i},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(M,N,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.checkValid=void 0;function v(p,S){S.forEach(function(m){if(m.validator)m.validator(p);else if(m.pattern&&!m.pattern.test(p))throw new Error(m.msg)})}n.checkValid=v},{}],38:[function(M,N,n){(function(v){"use strict";var p=M("babel-runtime/core-js/object/assign"),S=m(p);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(n,"__esModule",{value:!0}),n.createRequest=void 0;var g=M("./../../../shims/crypto/crypto.js"),f=M("debug")("ali-oss"),d=M("mime"),c=M("dateformat"),o=M("copy-to"),i=M("path");function t(l,r){return l[r]||l[r.toLowerCase()]}function a(l,r){delete l[r],delete l[r.toLowerCase()]}function e(l){var r=new Date;this.options.amendTimeSkewed&&(r=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":c(r,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(s["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,S.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),o(l.headers).to(s),t(s,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?s["Content-Type"]=l.mime:s["Content-Type"]=d.getType(l.mime||i.extname(l.object||""))),t(s,"Content-Type")||a(s,"Content-Type"),l.content&&(s["Content-Md5"]=g.createHash("md5").update(v.from(l.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=l.content.length));var u=this._getResource(l);s.authorization=this.authorization(l.method,u,l.subres,s);var h=this._getReqUrl(l);f("request %s %s, with headers %j, !!stream: %s",l.method,h,s,!!l.stream);var A=l.timeout||this.options.timeout,y={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:A,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(y.agent=this.agent),this.httpsAgent&&(y.httpsAgent=this.httpsAgent),{url:h,params:y}}n.createRequest=e}).call(this,M("buffer").Buffer)},{"./../../../shims/crypto/crypto.js":284,"babel-runtime/core-js/object/assign":54,buffer:73,"copy-to":76,dateformat:190,debug:288,mime:202,path:205}],39:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/keys"),p=g(v),S=M("babel-runtime/helpers/typeof"),m=g(S);function g(f){return f&&f.__esModule?f:{default:f}}Object.defineProperty(n,"__esModule",{value:!0}),n.deepCopy=void 0,n.deepCopy=function(f){if(f===null||(typeof f=="undefined"?"undefined":(0,m.default)(f))!=="object")return f;var d=Array.isArray(f)?[]:{};return(0,p.default)(f).forEach(function(c){d[c]=n.deepCopy(f[c])}),d}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/keys"),p=g(v),S=M("babel-runtime/helpers/typeof"),m=g(S);function g(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(n,"__esModule",{value:!0}),n.formatObjKey=void 0;function f(c,o){if(c===null||(typeof c=="undefined"?"undefined":(0,m.default)(c))!=="object")return c;var i=void 0;if(Array.isArray(c)){i=[];for(var t=0;t<c.length;t++)i.push(f(c[t],o))}else i={},(0,p.default)(c).forEach(function(a){i[d(a,o)]=f(c[a],o)});return i}n.formatObjKey=f;function d(c,o){return o==="firstUpperCase"?c=c.replace(/^./,function(i){return i.toUpperCase()}):o==="firstLowerCase"&&(c=c.replace(/^./,function(i){return i.toLowerCase()})),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(M,N,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getStrBytesCount=void 0;function v(p){for(var S=0,m=0;m<p.length;m++){var g=p.charAt(m);/^[\u00-\uff]$/.test(g)?S+=1:S+=2}return S}n.getStrBytesCount=v},{}],42:[function(M,N,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isArray=void 0,n.isArray=function(v){return Object.prototype.toString.call(v)==="[object Array]"}},{}],43:[function(M,N,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isBlob=void 0;function v(p){return typeof Blob!="undefined"&&p instanceof Blob}n.isBlob=v},{}],44:[function(M,N,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isFile=void 0,n.isFile=function(v){return typeof File!="undefined"&&v instanceof File}},{}],45:[function(M,N,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isIP=void 0,n.isIP=function(v){var p=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,S=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return p.test(v)||S.test(v)}},{}],46:[function(M,N,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isObject=void 0,n.isObject=function(v){return Object.prototype.toString.call(v)==="[object Object]"}},{}],47:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/keys"),p=S(v);function S(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(n,"__esModule",{value:!0}),n.obj2xml=void 0;var m=M("./formatObjKey");function g(d){return Object.prototype.toString.call(d).replace(/(.*? |])/g,"").toLowerCase()}function f(d,c){var o="";return c&&c.headers&&(o=`<?xml version="1.0" encoding="UTF-8"?>
`),c&&c.firstUpperCase&&(d=m.formatObjKey(d,"firstUpperCase")),g(d)==="object"?(0,p.default)(d).forEach(function(i){g(d[i])==="string"||g(d[i])==="number"?o+="<"+i+">"+d[i]+"</"+i+">":g(d[i])==="object"?o+="<"+i+">"+f(d[i])+"</"+i+">":g(d[i])==="array"?o+=d[i].map(function(t){return"<"+i+">"+f(t)+"</"+i+">"}).join(""):o+="<"+i+">"+d[i].toString()+"</"+i+">"}):o+=d.toString(),o}n.obj2xml=f},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(M,N,n){N.exports=v,N.exports.HttpsAgent=v;function v(){}},{}],49:[function(M,N,n){N.exports=M("./register")().Promise},{"./register":51}],50:[function(M,N,n){"use strict";var v="@@any-promise/REGISTRATION",p=null;N.exports=function(S,m){return function(f,d){f=f||null,d=d||{};var c=d.global!==!1;if(p===null&&c&&(p=S[v]||null),p!==null&&f!==null&&p.implementation!==f)throw new Error('any-promise already defined as "'+p.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return p===null&&(f!==null&&typeof d.Promise!="undefined"?p={Promise:d.Promise,implementation:f}:p=m(f),c&&(S[v]=p)),p}}},{}],51:[function(M,N,n){"use strict";N.exports=M("./loader")(window,v);function v(){if(typeof window.Promise=="undefined")throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}},{"./loader":50}],52:[function(M,N,n){N.exports={default:M("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(M,N,n){N.exports={default:M("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(M,N,n){N.exports={default:M("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(M,N,n){N.exports={default:M("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(M,N,n){N.exports={default:M("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(M,N,n){N.exports={default:M("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(M,N,n){N.exports={default:M("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(M,N,n){N.exports={default:M("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(M,N,n){N.exports={default:M("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(M,N,n){N.exports={default:M("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(M,N,n){N.exports={default:M("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(M,N,n){N.exports={default:M("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(M,N,n){N.exports={default:M("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(M,N,n){N.exports={default:M("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(M,N,n){N.exports={default:M("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(M,N,n){"use strict";n.__esModule=!0;var v=M("../core-js/symbol/iterator"),p=f(v),S=M("../core-js/symbol"),m=f(S),g=typeof m.default=="function"&&typeof p.default=="symbol"?function(d){return typeof d}:function(d){return d&&typeof m.default=="function"&&d.constructor===m.default&&d!==m.default.prototype?"symbol":typeof d};function f(d){return d&&d.__esModule?d:{default:d}}n.default=typeof m.default=="function"&&g(p.default)==="symbol"?function(d){return typeof d=="undefined"?"undefined":g(d)}:function(d){return d&&typeof m.default=="function"&&d.constructor===m.default&&d!==m.default.prototype?"symbol":typeof d=="undefined"?"undefined":g(d)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(M,N,n){N.exports=M("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(M,N,n){"use strict";n.byteLength=c,n.toByteArray=i,n.fromByteArray=e;for(var v=[],p=[],S=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,f=m.length;g<f;++g)v[g]=m[g],p[m.charCodeAt(g)]=g;p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63;function d(l){var r=l.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=r);var u=s===r?0:4-s%4;return[s,u]}function c(l){var r=d(l),s=r[0],u=r[1];return(s+u)*3/4-u}function o(l,r,s){return(r+s)*3/4-s}function i(l){var r,s=d(l),u=s[0],h=s[1],A=new S(o(l,u,h)),y=0,w=h>0?u-4:u,b;for(b=0;b<w;b+=4)r=p[l.charCodeAt(b)]<<18|p[l.charCodeAt(b+1)]<<12|p[l.charCodeAt(b+2)]<<6|p[l.charCodeAt(b+3)],A[y++]=r>>16&255,A[y++]=r>>8&255,A[y++]=r&255;return h===2&&(r=p[l.charCodeAt(b)]<<2|p[l.charCodeAt(b+1)]>>4,A[y++]=r&255),h===1&&(r=p[l.charCodeAt(b)]<<10|p[l.charCodeAt(b+1)]<<4|p[l.charCodeAt(b+2)]>>2,A[y++]=r>>8&255,A[y++]=r&255),A}function t(l){return v[l>>18&63]+v[l>>12&63]+v[l>>6&63]+v[l&63]}function a(l,r,s){for(var u,h=[],A=r;A<s;A+=3)u=(l[A]<<16&16711680)+(l[A+1]<<8&65280)+(l[A+2]&255),h.push(t(u));return h.join("")}function e(l){for(var r,s=l.length,u=s%3,h=[],A=16383,y=0,w=s-u;y<w;y+=A)h.push(a(l,y,y+A>w?w:y+A));return u===1?(r=l[s-1],h.push(v[r>>2]+v[r<<4&63]+"==")):u===2&&(r=(l[s-2]<<8)+l[s-1],h.push(v[r>>10]+v[r>>4&63]+v[r<<2&63]+"=")),h.join("")}},{}],70:[function(M,N,n){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/!function(v,p,S){typeof N!="undefined"&&N.exports?N.exports=S():typeof define=="function"&&define.amd?define(p,S):v[p]=S()}(this,"bowser",function(){var v=!0;function p(o){function i(U){var B=o.match(U);return B&&B.length>1&&B[1]||""}function t(U){var B=o.match(U);return B&&B.length>1&&B[2]||""}var a=i(/(ipod|iphone|ipad)/i).toLowerCase(),e=/like android/i.test(o),l=!e&&/android/i.test(o),r=/nexus\s*[0-6]\s*/i.test(o),s=!r&&/nexus\s*[0-9]+/i.test(o),u=/CrOS/.test(o),h=/silk/i.test(o),A=/sailfish/i.test(o),y=/tizen/i.test(o),w=/(web|hpw)(o|0)s/i.test(o),b=/windows phone/i.test(o),x=/SamsungBrowser/i.test(o),O=!b&&/windows/i.test(o),T=!a&&!h&&/macintosh/i.test(o),E=!l&&!A&&!y&&!w&&/linux/i.test(o),C=t(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),_=i(/version\/(\d+(\.\d+)?)/i),L=/tablet/i.test(o)&&!/tablet pc/i.test(o),P=!L&&/[^-]mobi/i.test(o),k=/xbox/i.test(o),F;/opera/i.test(o)?F={name:"Opera",opera:v,version:_||i(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(o)?F={name:"Opera",opera:v,version:i(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(o)?F={name:"Samsung Internet for Android",samsungBrowser:v,version:_||i(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(o)?F={name:"NAVER Whale browser",whale:v,version:i(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(o)?F={name:"MZ Browser",mzbrowser:v,version:i(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(o)?F={name:"Opera Coast",coast:v,version:_||i(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(o)?F={name:"Focus",focus:v,version:i(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(o)?F={name:"Yandex Browser",yandexbrowser:v,version:_||i(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(o)?F={name:"UC Browser",ucbrowser:v,version:i(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(o)?F={name:"Maxthon",maxthon:v,version:i(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(o)?F={name:"Epiphany",epiphany:v,version:i(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(o)?F={name:"Puffin",puffin:v,version:i(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(o)?F={name:"Sleipnir",sleipnir:v,version:i(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(o)?F={name:"K-Meleon",kMeleon:v,version:i(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:b?(F={name:"Windows Phone",osname:"Windows Phone",windowsphone:v},C?(F.msedge=v,F.version=C):(F.msie=v,F.version=i(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(o)?F={name:"Internet Explorer",msie:v,version:i(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?F={name:"Chrome",osname:"Chrome OS",chromeos:v,chromeBook:v,chrome:v,version:i(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(o)?F={name:"Microsoft Edge",msedge:v,version:C}:/vivaldi/i.test(o)?F={name:"Vivaldi",vivaldi:v,version:i(/vivaldi\/(\d+(\.\d+)?)/i)||_}:A?F={name:"Sailfish",osname:"Sailfish OS",sailfish:v,version:i(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(o)?F={name:"SeaMonkey",seamonkey:v,version:i(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(o)?(F={name:"Firefox",firefox:v,version:i(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(o)&&(F.firefoxos=v,F.osname="Firefox OS")):h?F={name:"Amazon Silk",silk:v,version:i(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(o)?F={name:"PhantomJS",phantom:v,version:i(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(o)?F={name:"SlimerJS",slimer:v,version:i(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(o)||/rim\stablet/i.test(o)?F={name:"BlackBerry",osname:"BlackBerry OS",blackberry:v,version:_||i(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:w?(F={name:"WebOS",osname:"WebOS",webos:v,version:_||i(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(o)&&(F.touchpad=v)):/bada/i.test(o)?F={name:"Bada",osname:"Bada",bada:v,version:i(/dolfin\/(\d+(\.\d+)?)/i)}:y?F={name:"Tizen",osname:"Tizen",tizen:v,version:i(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(o)?F={name:"QupZilla",qupzilla:v,version:i(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(o)?F={name:"Chromium",chromium:v,version:i(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(o)?F={name:"Chrome",chrome:v,version:i(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?F={name:"Android",version:_}:/safari|applewebkit/i.test(o)?(F={name:"Safari",safari:v},_&&(F.version=_)):a?(F={name:a=="iphone"?"iPhone":a=="ipad"?"iPad":"iPod"},_&&(F.version=_)):/googlebot/i.test(o)?F={name:"Googlebot",googlebot:v,version:i(/googlebot\/(\d+(\.\d+))/i)||_}:F={name:i(/^(.*)\/(.*) /),version:t(/^(.*)\/(.*) /)},!F.msedge&&/(apple)?webkit/i.test(o)?(/(apple)?webkit\/537\.36/i.test(o)?(F.name=F.name||"Blink",F.blink=v):(F.name=F.name||"Webkit",F.webkit=v),!F.version&&_&&(F.version=_)):!F.opera&&/gecko\//i.test(o)&&(F.name=F.name||"Gecko",F.gecko=v,F.version=F.version||i(/gecko\/(\d+(\.\d+)?)/i)),!F.windowsphone&&(l||F.silk)?(F.android=v,F.osname="Android"):!F.windowsphone&&a?(F[a]=v,F.ios=v,F.osname="iOS"):T?(F.mac=v,F.osname="macOS"):k?(F.xbox=v,F.osname="Xbox"):O?(F.windows=v,F.osname="Windows"):E&&(F.linux=v,F.osname="Linux");function j(U){switch(U){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var z="";F.windows?z=j(i(/Windows ((NT|XP)( \d\d?.\d)?)/i)):F.windowsphone?z=i(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):F.mac?(z=i(/Mac OS X (\d+([_\.\s]\d+)*)/i),z=z.replace(/[_\s]/g,".")):a?(z=i(/os (\d+([_\s]\d+)*) like mac os x/i),z=z.replace(/[_\s]/g,".")):l?z=i(/android[ \/-](\d+(\.\d+)*)/i):F.webos?z=i(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):F.blackberry?z=i(/rim\stablet\sos\s(\d+(\.\d+)*)/i):F.bada?z=i(/bada\/(\d+(\.\d+)*)/i):F.tizen&&(z=i(/tizen[\/\s](\d+(\.\d+)*)/i)),z&&(F.osversion=z);var R=!F.windows&&z.split(".")[0];return L||s||a=="ipad"||l&&(R==3||R>=4&&!P)||F.silk?F.tablet=v:(P||a=="iphone"||a=="ipod"||l||r||F.blackberry||F.webos||F.bada)&&(F.mobile=v),F.msedge||F.msie&&F.version>=10||F.yandexbrowser&&F.version>=15||F.vivaldi&&F.version>=1||F.chrome&&F.version>=20||F.samsungBrowser&&F.version>=4||F.whale&&f([F.version,"1.0"])===1||F.mzbrowser&&f([F.version,"6.0"])===1||F.focus&&f([F.version,"1.0"])===1||F.firefox&&F.version>=20||F.safari&&F.version>=6||F.opera&&F.version>=10||F.ios&&F.osversion&&F.osversion.split(".")[0]>=6||F.blackberry&&F.version>=10.1||F.chromium&&F.version>=20?F.a=v:F.msie&&F.version<10||F.chrome&&F.version<20||F.firefox&&F.version<20||F.safari&&F.version<6||F.opera&&F.version<10||F.ios&&F.osversion&&F.osversion.split(".")[0]<6||F.chromium&&F.version<20?F.c=v:F.x=v,F}var S=p(typeof navigator!="undefined"&&navigator.userAgent||"");S.test=function(o){for(var i=0;i<o.length;++i){var t=o[i];if(typeof t=="string"&&t in S)return!0}return!1};function m(o){return o.split(".").length}function g(o,i){var t=[],a;if(Array.prototype.map)return Array.prototype.map.call(o,i);for(a=0;a<o.length;a++)t.push(i(o[a]));return t}function f(o){for(var i=Math.max(m(o[0]),m(o[1])),t=g(o,function(a){var e=i-m(a);return a=a+new Array(e+1).join(".0"),g(a.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--i>=0;){if(t[0][i]>t[1][i])return 1;if(t[0][i]===t[1][i]){if(i===0)return 0}else return-1}}function d(o,i,t){var a=S;typeof i=="string"&&(t=i,i=void 0),i===void 0&&(i=!1),t&&(a=p(t));var e=""+a.version;for(var l in o)if(o.hasOwnProperty(l)&&a[l]){if(typeof o[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(o));return f([e,o[l]])<0}return i}function c(o,i,t){return!d(o,i,t)}return S.isUnsupportedBrowser=d,S.compareVersions=f,S.check=c,S._detect=p,S.detect=p,S})},{}],71:[function(M,N,n){},{}],72:[function(M,N,n){var v=M("buffer").Buffer,p=v.isEncoding||function(c){switch(c&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function S(c){if(c&&!p(c))throw new Error("Unknown encoding: "+c)}var m=n.StringDecoder=function(c){this.encoding=(c||"utf8").toLowerCase().replace(/[-_]/,""),S(c);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=d;break;default:this.write=g;return}this.charBuffer=new v(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(c){for(var o="";this.charLength;){var i=c.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:c.length;if(c.copy(this.charBuffer,this.charReceived,0,i),this.charReceived+=i,this.charReceived<this.charLength)return"";c=c.slice(i,c.length),o=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var a=o.charCodeAt(o.length-1);if(a>=55296&&a<=56319){this.charLength+=this.surrogateSize,o="";continue}if(this.charReceived=this.charLength=0,c.length===0)return o;break}this.detectIncompleteChar(c);var t=c.length;this.charLength&&(c.copy(this.charBuffer,0,c.length-this.charReceived,t),t-=this.charReceived),o+=c.toString(this.encoding,0,t);var t=o.length-1,a=o.charCodeAt(t);if(a>=55296&&a<=56319){var e=this.surrogateSize;return this.charLength+=e,this.charReceived+=e,this.charBuffer.copy(this.charBuffer,e,0,e),c.copy(this.charBuffer,0,0,e),o.substring(0,t)}return o},m.prototype.detectIncompleteChar=function(c){for(var o=c.length>=3?3:c.length;o>0;o--){var i=c[c.length-o];if(o==1&&i>>5==6){this.charLength=2;break}if(o<=2&&i>>4==14){this.charLength=3;break}if(o<=3&&i>>3==30){this.charLength=4;break}}this.charReceived=o},m.prototype.end=function(c){var o="";if(c&&c.length&&(o=this.write(c)),this.charReceived){var i=this.charReceived,t=this.charBuffer,a=this.encoding;o+=t.slice(0,i).toString(a)}return o};function g(c){return c.toString(this.encoding)}function f(c){this.charReceived=c.length%2,this.charLength=this.charReceived?2:0}function d(c){this.charReceived=c.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(M,N,n){(function(v,p){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/"use strict";var S=M("base64-js"),m=M("ieee754"),g=M("isarray");n.Buffer=p,n.SlowBuffer=h,n.INSPECT_MAX_BYTES=50,p.TYPED_ARRAY_SUPPORT=v.TYPED_ARRAY_SUPPORT!==void 0?v.TYPED_ARRAY_SUPPORT:f(),n.kMaxLength=d();function f(){try{var Re=new Uint8Array(1);return Re.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Re.foo()===42&&typeof Re.subarray=="function"&&Re.subarray(1,1).byteLength===0}catch(Ae){return!1}}function d(){return p.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(Re,Ae){if(d()<Ae)throw new RangeError("Invalid typed array length");return p.TYPED_ARRAY_SUPPORT?(Re=new Uint8Array(Ae),Re.__proto__=p.prototype):(Re===null&&(Re=new p(Ae)),Re.length=Ae),Re}function p(Re,Ae,oe){if(!p.TYPED_ARRAY_SUPPORT&&!(this instanceof p))return new p(Re,Ae,oe);if(typeof Re=="number"){if(typeof Ae=="string")throw new Error("If encoding is specified then the first argument must be a string");return a(this,Re)}return o(this,Re,Ae,oe)}p.poolSize=8192,p._augment=function(Re){return Re.__proto__=p.prototype,Re};function o(Re,Ae,oe,ce){if(typeof Ae=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Ae instanceof ArrayBuffer?r(Re,Ae,oe,ce):typeof Ae=="string"?e(Re,Ae,oe):s(Re,Ae)}p.from=function(Re,Ae,oe){return o(null,Re,Ae,oe)},p.TYPED_ARRAY_SUPPORT&&(p.prototype.__proto__=Uint8Array.prototype,p.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&p[Symbol.species]===p&&Object.defineProperty(p,Symbol.species,{value:null,configurable:!0}));function i(Re){if(typeof Re!="number")throw new TypeError('"size" argument must be a number');if(Re<0)throw new RangeError('"size" argument must not be negative')}function t(Re,Ae,oe,ce){return i(Ae),Ae<=0?c(Re,Ae):oe!==void 0?typeof ce=="string"?c(Re,Ae).fill(oe,ce):c(Re,Ae).fill(oe):c(Re,Ae)}p.alloc=function(Re,Ae,oe){return t(null,Re,Ae,oe)};function a(Re,Ae){if(i(Ae),Re=c(Re,Ae<0?0:u(Ae)|0),!p.TYPED_ARRAY_SUPPORT)for(var oe=0;oe<Ae;++oe)Re[oe]=0;return Re}p.allocUnsafe=function(Re){return a(null,Re)},p.allocUnsafeSlow=function(Re){return a(null,Re)};function e(Re,Ae,oe){if((typeof oe!="string"||oe==="")&&(oe="utf8"),!p.isEncoding(oe))throw new TypeError('"encoding" must be a valid string encoding');var ce=A(Ae,oe)|0;Re=c(Re,ce);var be=Re.write(Ae,oe);return be!==ce&&(Re=Re.slice(0,be)),Re}function l(Re,Ae){var oe=Ae.length<0?0:u(Ae.length)|0;Re=c(Re,oe);for(var ce=0;ce<oe;ce+=1)Re[ce]=Ae[ce]&255;return Re}function r(Re,Ae,oe,ce){if(Ae.byteLength,oe<0||Ae.byteLength<oe)throw new RangeError("'offset' is out of bounds");if(Ae.byteLength<oe+(ce||0))throw new RangeError("'length' is out of bounds");return oe===void 0&&ce===void 0?Ae=new Uint8Array(Ae):ce===void 0?Ae=new Uint8Array(Ae,oe):Ae=new Uint8Array(Ae,oe,ce),p.TYPED_ARRAY_SUPPORT?(Re=Ae,Re.__proto__=p.prototype):Re=l(Re,Ae),Re}function s(Re,Ae){if(p.isBuffer(Ae)){var oe=u(Ae.length)|0;return Re=c(Re,oe),Re.length===0||Ae.copy(Re,0,0,oe),Re}if(Ae){if(typeof ArrayBuffer!="undefined"&&Ae.buffer instanceof ArrayBuffer||"length"in Ae)return typeof Ae.length!="number"||et(Ae.length)?c(Re,0):l(Re,Ae);if(Ae.type==="Buffer"&&g(Ae.data))return l(Re,Ae.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(Re){if(Re>=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return Re|0}function h(Re){return+Re!=Re&&(Re=0),p.alloc(+Re)}p.isBuffer=function(Ae){return!!(Ae!=null&&Ae._isBuffer)},p.compare=function(Ae,oe){if(!p.isBuffer(Ae)||!p.isBuffer(oe))throw new TypeError("Arguments must be Buffers");if(Ae===oe)return 0;for(var ce=Ae.length,be=oe.length,Te=0,Be=Math.min(ce,be);Te<Be;++Te)if(Ae[Te]!==oe[Te]){ce=Ae[Te],be=oe[Te];break}return ce<be?-1:be<ce?1:0},p.isEncoding=function(Ae){switch(String(Ae).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},p.concat=function(Ae,oe){if(!g(Ae))throw new TypeError('"list" argument must be an Array of Buffers');if(Ae.length===0)return p.alloc(0);var ce;if(oe===void 0)for(oe=0,ce=0;ce<Ae.length;++ce)oe+=Ae[ce].length;var be=p.allocUnsafe(oe),Te=0;for(ce=0;ce<Ae.length;++ce){var Be=Ae[ce];if(!p.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(be,Te),Te+=Be.length}return be};function A(Re,Ae){if(p.isBuffer(Re))return Re.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(Re)||Re instanceof ArrayBuffer))return Re.byteLength;typeof Re!="string"&&(Re=""+Re);var oe=Re.length;if(oe===0)return 0;for(var ce=!1;;)switch(Ae){case"ascii":case"latin1":case"binary":return oe;case"utf8":case"utf-8":case void 0:return Ke(Re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oe*2;case"hex":return oe>>>1;case"base64":return ee(Re).length;default:if(ce)return Ke(Re).length;Ae=(""+Ae).toLowerCase(),ce=!0}}p.byteLength=A;function y(Re,Ae,oe){var ce=!1;if((Ae===void 0||Ae<0)&&(Ae=0),Ae>this.length)return"";if((oe===void 0||oe>this.length)&&(oe=this.length),oe<=0)return"";if(oe>>>=0,Ae>>>=0,oe<=Ae)return"";for(Re||(Re="utf8");;)switch(Re){case"hex":return U(this,Ae,oe);case"utf8":case"utf-8":return k(this,Ae,oe);case"ascii":return z(this,Ae,oe);case"latin1":case"binary":return R(this,Ae,oe);case"base64":return P(this,Ae,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,Ae,oe);default:if(ce)throw new TypeError("Unknown encoding: "+Re);Re=(Re+"").toLowerCase(),ce=!0}}p.prototype._isBuffer=!0;function w(Re,Ae,oe){var ce=Re[Ae];Re[Ae]=Re[oe],Re[oe]=ce}p.prototype.swap16=function(){var Ae=this.length;if(Ae%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var oe=0;oe<Ae;oe+=2)w(this,oe,oe+1);return this},p.prototype.swap32=function(){var Ae=this.length;if(Ae%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var oe=0;oe<Ae;oe+=4)w(this,oe,oe+3),w(this,oe+1,oe+2);return this},p.prototype.swap64=function(){var Ae=this.length;if(Ae%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var oe=0;oe<Ae;oe+=8)w(this,oe,oe+7),w(this,oe+1,oe+6),w(this,oe+2,oe+5),w(this,oe+3,oe+4);return this},p.prototype.toString=function(){var Ae=this.length|0;return Ae===0?"":arguments.length===0?k(this,0,Ae):y.apply(this,arguments)},p.prototype.equals=function(Ae){if(!p.isBuffer(Ae))throw new TypeError("Argument must be a Buffer");return this===Ae?!0:p.compare(this,Ae)===0},p.prototype.inspect=function(){var Ae="",oe=n.INSPECT_MAX_BYTES;return this.length>0&&(Ae=this.toString("hex",0,oe).match(/.{2}/g).join(" "),this.length>oe&&(Ae+=" ... ")),"<Buffer "+Ae+">"},p.prototype.compare=function(Ae,oe,ce,be,Te){if(!p.isBuffer(Ae))throw new TypeError("Argument must be a Buffer");if(oe===void 0&&(oe=0),ce===void 0&&(ce=Ae?Ae.length:0),be===void 0&&(be=0),Te===void 0&&(Te=this.length),oe<0||ce>Ae.length||be<0||Te>this.length)throw new RangeError("out of range index");if(be>=Te&&oe>=ce)return 0;if(be>=Te)return-1;if(oe>=ce)return 1;if(oe>>>=0,ce>>>=0,be>>>=0,Te>>>=0,this===Ae)return 0;for(var Be=Te-be,De=ce-oe,ae=Math.min(Be,De),fe=this.slice(be,Te),Oe=Ae.slice(oe,ce),Je=0;Je<ae;++Je)if(fe[Je]!==Oe[Je]){Be=fe[Je],De=Oe[Je];break}return Be<De?-1:De<Be?1:0};function b(Re,Ae,oe,ce,be){if(Re.length===0)return-1;if(typeof oe=="string"?(ce=oe,oe=0):oe>2147483647?oe=2147483647:oe<-2147483648&&(oe=-2147483648),oe=+oe,isNaN(oe)&&(oe=be?0:Re.length-1),oe<0&&(oe=Re.length+oe),oe>=Re.length){if(be)return-1;oe=Re.length-1}else if(oe<0)if(be)oe=0;else return-1;if(typeof Ae=="string"&&(Ae=p.from(Ae,ce)),p.isBuffer(Ae))return Ae.length===0?-1:x(Re,Ae,oe,ce,be);if(typeof Ae=="number")return Ae=Ae&255,p.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?be?Uint8Array.prototype.indexOf.call(Re,Ae,oe):Uint8Array.prototype.lastIndexOf.call(Re,Ae,oe):x(Re,[Ae],oe,ce,be);throw new TypeError("val must be string, number or Buffer")}function x(Re,Ae,oe,ce,be){var Te=1,Be=Re.length,De=Ae.length;if(ce!==void 0&&(ce=String(ce).toLowerCase(),ce==="ucs2"||ce==="ucs-2"||ce==="utf16le"||ce==="utf-16le")){if(Re.length<2||Ae.length<2)return-1;Te=2,Be/=2,De/=2,oe/=2}function ae(Ze,Ne){return Te===1?Ze[Ne]:Ze.readUInt16BE(Ne*Te)}var fe;if(be){var Oe=-1;for(fe=oe;fe<Be;fe++)if(ae(Re,fe)===ae(Ae,Oe===-1?0:fe-Oe)){if(Oe===-1&&(Oe=fe),fe-Oe+1===De)return Oe*Te}else Oe!==-1&&(fe-=fe-Oe),Oe=-1}else for(oe+De>Be&&(oe=Be-De),fe=oe;fe>=0;fe--){for(var Je=!0,Et=0;Et<De;Et++)if(ae(Re,fe+Et)!==ae(Ae,Et)){Je=!1;break}if(Je)return fe}return-1}p.prototype.includes=function(Ae,oe,ce){return this.indexOf(Ae,oe,ce)!==-1},p.prototype.indexOf=function(Ae,oe,ce){return b(this,Ae,oe,ce,!0)},p.prototype.lastIndexOf=function(Ae,oe,ce){return b(this,Ae,oe,ce,!1)};function O(Re,Ae,oe,ce){oe=Number(oe)||0;var be=Re.length-oe;ce?(ce=Number(ce),ce>be&&(ce=be)):ce=be;var Te=Ae.length;if(Te%2!==0)throw new TypeError("Invalid hex string");ce>Te/2&&(ce=Te/2);for(var Be=0;Be<ce;++Be){var De=parseInt(Ae.substr(Be*2,2),16);if(isNaN(De))return Be;Re[oe+Be]=De}return Be}function T(Re,Ae,oe,ce){return le(Ke(Ae,Re.length-oe),Re,oe,ce)}function E(Re,Ae,oe,ce){return le(ue(Ae),Re,oe,ce)}function C(Re,Ae,oe,ce){return E(Re,Ae,oe,ce)}function _(Re,Ae,oe,ce){return le(ee(Ae),Re,oe,ce)}function L(Re,Ae,oe,ce){return le(Le(Ae,Re.length-oe),Re,oe,ce)}p.prototype.write=function(Ae,oe,ce,be){if(oe===void 0)be="utf8",ce=this.length,oe=0;else if(ce===void 0&&typeof oe=="string")be=oe,ce=this.length,oe=0;else if(isFinite(oe))oe=oe|0,isFinite(ce)?(ce=ce|0,be===void 0&&(be="utf8")):(be=ce,ce=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Te=this.length-oe;if((ce===void 0||ce>Te)&&(ce=Te),Ae.length>0&&(ce<0||oe<0)||oe>this.length)throw new RangeError("Attempt to write outside buffer bounds");be||(be="utf8");for(var Be=!1;;)switch(be){case"hex":return O(this,Ae,oe,ce);case"utf8":case"utf-8":return T(this,Ae,oe,ce);case"ascii":return E(this,Ae,oe,ce);case"latin1":case"binary":return C(this,Ae,oe,ce);case"base64":return _(this,Ae,oe,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,Ae,oe,ce);default:if(Be)throw new TypeError("Unknown encoding: "+be);be=(""+be).toLowerCase(),Be=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(Re,Ae,oe){return Ae===0&&oe===Re.length?S.fromByteArray(Re):S.fromByteArray(Re.slice(Ae,oe))}function k(Re,Ae,oe){oe=Math.min(Re.length,oe);for(var ce=[],be=Ae;be<oe;){var Te=Re[be],Be=null,De=Te>239?4:Te>223?3:Te>191?2:1;if(be+De<=oe){var ae,fe,Oe,Je;switch(De){case 1:Te<128&&(Be=Te);break;case 2:ae=Re[be+1],(ae&192)===128&&(Je=(Te&31)<<6|ae&63,Je>127&&(Be=Je));break;case 3:ae=Re[be+1],fe=Re[be+2],(ae&192)===128&&(fe&192)===128&&(Je=(Te&15)<<12|(ae&63)<<6|fe&63,Je>2047&&(Je<55296||Je>57343)&&(Be=Je));break;case 4:ae=Re[be+1],fe=Re[be+2],Oe=Re[be+3],(ae&192)===128&&(fe&192)===128&&(Oe&192)===128&&(Je=(Te&15)<<18|(ae&63)<<12|(fe&63)<<6|Oe&63,Je>65535&&Je<1114112&&(Be=Je))}}Be===null?(Be=65533,De=1):Be>65535&&(Be-=65536,ce.push(Be>>>10&1023|55296),Be=56320|Be&1023),ce.push(Be),be+=De}return j(ce)}var F=4096;function j(Re){var Ae=Re.length;if(Ae<=F)return String.fromCharCode.apply(String,Re);for(var oe="",ce=0;ce<Ae;)oe+=String.fromCharCode.apply(String,Re.slice(ce,ce+=F));return oe}function z(Re,Ae,oe){var ce="";oe=Math.min(Re.length,oe);for(var be=Ae;be<oe;++be)ce+=String.fromCharCode(Re[be]&127);return ce}function R(Re,Ae,oe){var ce="";oe=Math.min(Re.length,oe);for(var be=Ae;be<oe;++be)ce+=String.fromCharCode(Re[be]);return ce}function U(Re,Ae,oe){var ce=Re.length;(!Ae||Ae<0)&&(Ae=0),(!oe||oe<0||oe>ce)&&(oe=ce);for(var be="",Te=Ae;Te<oe;++Te)be+=Se(Re[Te]);return be}function B(Re,Ae,oe){for(var ce=Re.slice(Ae,oe),be="",Te=0;Te<ce.length;Te+=2)be+=String.fromCharCode(ce[Te]+ce[Te+1]*256);return be}p.prototype.slice=function(Ae,oe){var ce=this.length;Ae=~~Ae,oe=oe===void 0?ce:~~oe,Ae<0?(Ae+=ce,Ae<0&&(Ae=0)):Ae>ce&&(Ae=ce),oe<0?(oe+=ce,oe<0&&(oe=0)):oe>ce&&(oe=ce),oe<Ae&&(oe=Ae);var be;if(p.TYPED_ARRAY_SUPPORT)be=this.subarray(Ae,oe),be.__proto__=p.prototype;else{var Te=oe-Ae;be=new p(Te,void 0);for(var Be=0;Be<Te;++Be)be[Be]=this[Be+Ae]}return be};function H(Re,Ae,oe){if(Re%1!==0||Re<0)throw new RangeError("offset is not uint");if(Re+Ae>oe)throw new RangeError("Trying to access beyond buffer length")}p.prototype.readUIntLE=function(Ae,oe,ce){Ae=Ae|0,oe=oe|0,ce||H(Ae,oe,this.length);for(var be=this[Ae],Te=1,Be=0;++Be<oe&&(Te*=256);)be+=this[Ae+Be]*Te;return be},p.prototype.readUIntBE=function(Ae,oe,ce){Ae=Ae|0,oe=oe|0,ce||H(Ae,oe,this.length);for(var be=this[Ae+--oe],Te=1;oe>0&&(Te*=256);)be+=this[Ae+--oe]*Te;return be},p.prototype.readUInt8=function(Ae,oe){return oe||H(Ae,1,this.length),this[Ae]},p.prototype.readUInt16LE=function(Ae,oe){return oe||H(Ae,2,this.length),this[Ae]|this[Ae+1]<<8},p.prototype.readUInt16BE=function(Ae,oe){return oe||H(Ae,2,this.length),this[Ae]<<8|this[Ae+1]},p.prototype.readUInt32LE=function(Ae,oe){return oe||H(Ae,4,this.length),(this[Ae]|this[Ae+1]<<8|this[Ae+2]<<16)+this[Ae+3]*16777216},p.prototype.readUInt32BE=function(Ae,oe){return oe||H(Ae,4,this.length),this[Ae]*16777216+(this[Ae+1]<<16|this[Ae+2]<<8|this[Ae+3])},p.prototype.readIntLE=function(Ae,oe,ce){Ae=Ae|0,oe=oe|0,ce||H(Ae,oe,this.length);for(var be=this[Ae],Te=1,Be=0;++Be<oe&&(Te*=256);)be+=this[Ae+Be]*Te;return Te*=128,be>=Te&&(be-=Math.pow(2,8*oe)),be},p.prototype.readIntBE=function(Ae,oe,ce){Ae=Ae|0,oe=oe|0,ce||H(Ae,oe,this.length);for(var be=oe,Te=1,Be=this[Ae+--be];be>0&&(Te*=256);)Be+=this[Ae+--be]*Te;return Te*=128,Be>=Te&&(Be-=Math.pow(2,8*oe)),Be},p.prototype.readInt8=function(Ae,oe){return oe||H(Ae,1,this.length),this[Ae]&128?(255-this[Ae]+1)*-1:this[Ae]},p.prototype.readInt16LE=function(Ae,oe){oe||H(Ae,2,this.length);var ce=this[Ae]|this[Ae+1]<<8;return ce&32768?ce|4294901760:ce},p.prototype.readInt16BE=function(Ae,oe){oe||H(Ae,2,this.length);var ce=this[Ae+1]|this[Ae]<<8;return ce&32768?ce|4294901760:ce},p.prototype.readInt32LE=function(Ae,oe){return oe||H(Ae,4,this.length),this[Ae]|this[Ae+1]<<8|this[Ae+2]<<16|this[Ae+3]<<24},p.prototype.readInt32BE=function(Ae,oe){return oe||H(Ae,4,this.length),this[Ae]<<24|this[Ae+1]<<16|this[Ae+2]<<8|this[Ae+3]},p.prototype.readFloatLE=function(Ae,oe){return oe||H(Ae,4,this.length),m.read(this,Ae,!0,23,4)},p.prototype.readFloatBE=function(Ae,oe){return oe||H(Ae,4,this.length),m.read(this,Ae,!1,23,4)},p.prototype.readDoubleLE=function(Ae,oe){return oe||H(Ae,8,this.length),m.read(this,Ae,!0,52,8)},p.prototype.readDoubleBE=function(Ae,oe){return oe||H(Ae,8,this.length),m.read(this,Ae,!1,52,8)};function K(Re,Ae,oe,ce,be,Te){if(!p.isBuffer(Re))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ae>be||Ae<Te)throw new RangeError('"value" argument is out of bounds');if(oe+ce>Re.length)throw new RangeError("Index out of range")}p.prototype.writeUIntLE=function(Ae,oe,ce,be){if(Ae=+Ae,oe=oe|0,ce=ce|0,!be){var Te=Math.pow(2,8*ce)-1;K(this,Ae,oe,ce,Te,0)}var Be=1,De=0;for(this[oe]=Ae&255;++De<ce&&(Be*=256);)this[oe+De]=Ae/Be&255;return oe+ce},p.prototype.writeUIntBE=function(Ae,oe,ce,be){if(Ae=+Ae,oe=oe|0,ce=ce|0,!be){var Te=Math.pow(2,8*ce)-1;K(this,Ae,oe,ce,Te,0)}var Be=ce-1,De=1;for(this[oe+Be]=Ae&255;--Be>=0&&(De*=256);)this[oe+Be]=Ae/De&255;return oe+ce},p.prototype.writeUInt8=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,1,255,0),p.TYPED_ARRAY_SUPPORT||(Ae=Math.floor(Ae)),this[oe]=Ae&255,oe+1};function V(Re,Ae,oe,ce){Ae<0&&(Ae=65535+Ae+1);for(var be=0,Te=Math.min(Re.length-oe,2);be<Te;++be)Re[oe+be]=(Ae&255<<8*(ce?be:1-be))>>>(ce?be:1-be)*8}p.prototype.writeUInt16LE=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[oe]=Ae&255,this[oe+1]=Ae>>>8):V(this,Ae,oe,!0),oe+2},p.prototype.writeUInt16BE=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[oe]=Ae>>>8,this[oe+1]=Ae&255):V(this,Ae,oe,!1),oe+2};function W(Re,Ae,oe,ce){Ae<0&&(Ae=4294967295+Ae+1);for(var be=0,Te=Math.min(Re.length-oe,4);be<Te;++be)Re[oe+be]=Ae>>>(ce?be:3-be)*8&255}p.prototype.writeUInt32LE=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[oe+3]=Ae>>>24,this[oe+2]=Ae>>>16,this[oe+1]=Ae>>>8,this[oe]=Ae&255):W(this,Ae,oe,!0),oe+4},p.prototype.writeUInt32BE=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[oe]=Ae>>>24,this[oe+1]=Ae>>>16,this[oe+2]=Ae>>>8,this[oe+3]=Ae&255):W(this,Ae,oe,!1),oe+4},p.prototype.writeIntLE=function(Ae,oe,ce,be){if(Ae=+Ae,oe=oe|0,!be){var Te=Math.pow(2,8*ce-1);K(this,Ae,oe,ce,Te-1,-Te)}var Be=0,De=1,ae=0;for(this[oe]=Ae&255;++Be<ce&&(De*=256);)Ae<0&&ae===0&&this[oe+Be-1]!==0&&(ae=1),this[oe+Be]=(Ae/De>>0)-ae&255;return oe+ce},p.prototype.writeIntBE=function(Ae,oe,ce,be){if(Ae=+Ae,oe=oe|0,!be){var Te=Math.pow(2,8*ce-1);K(this,Ae,oe,ce,Te-1,-Te)}var Be=ce-1,De=1,ae=0;for(this[oe+Be]=Ae&255;--Be>=0&&(De*=256);)Ae<0&&ae===0&&this[oe+Be+1]!==0&&(ae=1),this[oe+Be]=(Ae/De>>0)-ae&255;return oe+ce},p.prototype.writeInt8=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,1,127,-128),p.TYPED_ARRAY_SUPPORT||(Ae=Math.floor(Ae)),Ae<0&&(Ae=255+Ae+1),this[oe]=Ae&255,oe+1},p.prototype.writeInt16LE=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[oe]=Ae&255,this[oe+1]=Ae>>>8):V(this,Ae,oe,!0),oe+2},p.prototype.writeInt16BE=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[oe]=Ae>>>8,this[oe+1]=Ae&255):V(this,Ae,oe,!1),oe+2},p.prototype.writeInt32LE=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,4,2147483647,-2147483648),p.TYPED_ARRAY_SUPPORT?(this[oe]=Ae&255,this[oe+1]=Ae>>>8,this[oe+2]=Ae>>>16,this[oe+3]=Ae>>>24):W(this,Ae,oe,!0),oe+4},p.prototype.writeInt32BE=function(Ae,oe,ce){return Ae=+Ae,oe=oe|0,ce||K(this,Ae,oe,4,2147483647,-2147483648),Ae<0&&(Ae=4294967295+Ae+1),p.TYPED_ARRAY_SUPPORT?(this[oe]=Ae>>>24,this[oe+1]=Ae>>>16,this[oe+2]=Ae>>>8,this[oe+3]=Ae&255):W(this,Ae,oe,!1),oe+4};function G(Re,Ae,oe,ce,be,Te){if(oe+ce>Re.length)throw new RangeError("Index out of range");if(oe<0)throw new RangeError("Index out of range")}function re(Re,Ae,oe,ce,be){return be||G(Re,Ae,oe,4,34028234663852886e22,-34028234663852886e22),m.write(Re,Ae,oe,ce,23,4),oe+4}p.prototype.writeFloatLE=function(Ae,oe,ce){return re(this,Ae,oe,!0,ce)},p.prototype.writeFloatBE=function(Ae,oe,ce){return re(this,Ae,oe,!1,ce)};function ye(Re,Ae,oe,ce,be){return be||G(Re,Ae,oe,8,17976931348623157e292,-17976931348623157e292),m.write(Re,Ae,oe,ce,52,8),oe+8}p.prototype.writeDoubleLE=function(Ae,oe,ce){return ye(this,Ae,oe,!0,ce)},p.prototype.writeDoubleBE=function(Ae,oe,ce){return ye(this,Ae,oe,!1,ce)},p.prototype.copy=function(Ae,oe,ce,be){if(ce||(ce=0),!be&&be!==0&&(be=this.length),oe>=Ae.length&&(oe=Ae.length),oe||(oe=0),be>0&&be<ce&&(be=ce),be===ce)return 0;if(Ae.length===0||this.length===0)return 0;if(oe<0)throw new RangeError("targetStart out of bounds");if(ce<0||ce>=this.length)throw new RangeError("sourceStart out of bounds");if(be<0)throw new RangeError("sourceEnd out of bounds");be>this.length&&(be=this.length),Ae.length-oe<be-ce&&(be=Ae.length-oe+ce);var Te=be-ce,Be;if(this===Ae&&ce<oe&&oe<be)for(Be=Te-1;Be>=0;--Be)Ae[Be+oe]=this[Be+ce];else if(Te<1e3||!p.TYPED_ARRAY_SUPPORT)for(Be=0;Be<Te;++Be)Ae[Be+oe]=this[Be+ce];else Uint8Array.prototype.set.call(Ae,this.subarray(ce,ce+Te),oe);return Te},p.prototype.fill=function(Ae,oe,ce,be){if(typeof Ae=="string"){if(typeof oe=="string"?(be=oe,oe=0,ce=this.length):typeof ce=="string"&&(be=ce,ce=this.length),Ae.length===1){var Te=Ae.charCodeAt(0);Te<256&&(Ae=Te)}if(be!==void 0&&typeof be!="string")throw new TypeError("encoding must be a string");if(typeof be=="string"&&!p.isEncoding(be))throw new TypeError("Unknown encoding: "+be)}else typeof Ae=="number"&&(Ae=Ae&255);if(oe<0||this.length<oe||this.length<ce)throw new RangeError("Out of range index");if(ce<=oe)return this;oe=oe>>>0,ce=ce===void 0?this.length:ce>>>0,Ae||(Ae=0);var Be;if(typeof Ae=="number")for(Be=oe;Be<ce;++Be)this[Be]=Ae;else{var De=p.isBuffer(Ae)?Ae:Ke(new p(Ae,be).toString()),ae=De.length;for(Be=0;Be<ce-oe;++Be)this[Be+oe]=De[Be%ae]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function ve(Re){if(Re=Ce(Re).replace($,""),Re.length<2)return"";for(;Re.length%4!==0;)Re=Re+"=";return Re}function Ce(Re){return Re.trim?Re.trim():Re.replace(/^\s+|\s+$/g,"")}function Se(Re){return Re<16?"0"+Re.toString(16):Re.toString(16)}function Ke(Re,Ae){Ae=Ae||Infinity;for(var oe,ce=Re.length,be=null,Te=[],Be=0;Be<ce;++Be){if(oe=Re.charCodeAt(Be),oe>55295&&oe<57344){if(!be){if(oe>56319){(Ae-=3)>-1&&Te.push(239,191,189);continue}else if(Be+1===ce){(Ae-=3)>-1&&Te.push(239,191,189);continue}be=oe;continue}if(oe<56320){(Ae-=3)>-1&&Te.push(239,191,189),be=oe;continue}oe=(be-55296<<10|oe-56320)+65536}else be&&((Ae-=3)>-1&&Te.push(239,191,189));if(be=null,oe<128){if((Ae-=1)<0)break;Te.push(oe)}else if(oe<2048){if((Ae-=2)<0)break;Te.push(oe>>6|192,oe&63|128)}else if(oe<65536){if((Ae-=3)<0)break;Te.push(oe>>12|224,oe>>6&63|128,oe&63|128)}else if(oe<1114112){if((Ae-=4)<0)break;Te.push(oe>>18|240,oe>>12&63|128,oe>>6&63|128,oe&63|128)}else throw new Error("Invalid code point")}return Te}function ue(Re){for(var Ae=[],oe=0;oe<Re.length;++oe)Ae.push(Re.charCodeAt(oe)&255);return Ae}function Le(Re,Ae){for(var oe,ce,be,Te=[],Be=0;Be<Re.length&&!((Ae-=2)<0);++Be)oe=Re.charCodeAt(Be),ce=oe>>8,be=oe%256,Te.push(be),Te.push(ce);return Te}function ee(Re){return S.toByteArray(ve(Re))}function le(Re,Ae,oe,ce){for(var be=0;be<ce&&!(be+oe>=Ae.length||be>=Re.length);++be)Ae[be+oe]=Re[be];return be}function et(Re){return Re!==Re}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},M("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(M,N,n){N.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(M,N,n){N.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(M,N,n){/*!
* copy-to - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var v=Array.prototype.slice;N.exports=p;function p(m,g){if(!(this instanceof p))return new p(m,g);this.src=m,this._withAccess=g}p.prototype.withAccess=function(m){return this._withAccess=m!==!1,this},p.prototype.pick=function(m){return Array.isArray(m)||(m=v.call(arguments)),m.length&&(this.keys=m),this},p.prototype.to=function(m){if(m=m||{},!this.src)return m;var g=this.keys||Object.keys(this.src);if(!this._withAccess){for(var f=0;f<g.length;f++){if(d=g[f],m[d]!==void 0)continue;m[d]=this.src[d]}return m}for(var f=0;f<g.length;f++){var d=g[f];if(!S(m,d))continue;var c=this.src.__lookupGetter__(d),o=this.src.__lookupSetter__(d);c&&m.__defineGetter__(d,c),o&&m.__defineSetter__(d,o),!c&&!o&&(m[d]=this.src[d])}return m},p.prototype.toCover=function(m){for(var g=this.keys||Object.keys(this.src),f=0;f<g.length;f++){var d=g[f];delete m[d];var c=this.src.__lookupGetter__(d),o=this.src.__lookupSetter__(d);c&&m.__defineGetter__(d,c),o&&m.__defineSetter__(d,o),!c&&!o&&(m[d]=this.src[d])}},p.prototype.override=p.prototype.toCover,p.prototype.and=function(m){var g={};return this.to(g),this.src=m,this.to(g),this.src=g,this};function S(m,g){return m[g]===void 0&&m.__lookupGetter__(g)===void 0&&m.__lookupSetter__(g)===void 0}},{}],77:[function(M,N,n){M("../../modules/es6.string.iterator"),M("../../modules/es6.array.from"),N.exports=M("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(M,N,n){var v=M("../../modules/_core"),p=v.JSON||(v.JSON={stringify:JSON.stringify});N.exports=function(m){return p.stringify.apply(p,arguments)}},{"../../modules/_core":99}],79:[function(M,N,n){M("../../modules/es6.object.assign"),N.exports=M("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(M,N,n){M("../../modules/es6.object.create");var v=M("../../modules/_core").Object;N.exports=function(S,m){return v.create(S,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(M,N,n){M("../../modules/es6.object.define-property");var v=M("../../modules/_core").Object;N.exports=function(S,m,g){return v.defineProperty(S,m,g)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(M,N,n){M("../../modules/es7.object.entries"),N.exports=M("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(M,N,n){M("../../modules/es6.object.get-own-property-names");var v=M("../../modules/_core").Object;N.exports=function(S){return v.getOwnPropertyNames(S)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(M,N,n){M("../../modules/es6.object.get-prototype-of"),N.exports=M("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(M,N,n){M("../../modules/es6.object.keys"),N.exports=M("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(M,N,n){M("../modules/es6.object.to-string"),M("../modules/es6.string.iterator"),M("../modules/web.dom.iterable"),M("../modules/es6.promise"),M("../modules/es7.promise.finally"),M("../modules/es7.promise.try"),N.exports=M("../modules/_core").Promise},{"../modules/_core":99,"../modules/es6.object.to-string":177,"../modules/es6.promise":178,"../modules/es6.string.iterator":180,"../modules/es7.promise.finally":183,"../modules/es7.promise.try":184,"../modules/web.dom.iterable":187}],87:[function(M,N,n){M("../modules/web.immediate"),N.exports=M("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(M,N,n){M("../../modules/es6.string.from-code-point"),N.exports=M("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(M,N,n){M("../../modules/es6.function.has-instance"),N.exports=M("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(M,N,n){M("../../modules/es6.symbol"),M("../../modules/es6.object.to-string"),M("../../modules/es7.symbol.async-iterator"),M("../../modules/es7.symbol.observable"),N.exports=M("../../modules/_core").Symbol},{"../../modules/_core":99,"../../modules/es6.object.to-string":177,"../../modules/es6.symbol":181,"../../modules/es7.symbol.async-iterator":185,"../../modules/es7.symbol.observable":186}],91:[function(M,N,n){M("../../modules/es6.string.iterator"),M("../../modules/web.dom.iterable"),N.exports=M("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(M,N,n){N.exports=function(v){if(typeof v!="function")throw TypeError(v+" is not a function!");return v}},{}],93:[function(M,N,n){N.exports=function(){}},{}],94:[function(M,N,n){N.exports=function(v,p,S,m){if(!(v instanceof p)||m!==void 0&&m in v)throw TypeError(S+": incorrect invocation!");return v}},{}],95:[function(M,N,n){var v=M("./_is-object");N.exports=function(p){if(!v(p))throw TypeError(p+" is not an object!");return p}},{"./_is-object":119}],96:[function(M,N,n){var v=M("./_to-iobject"),p=M("./_to-length"),S=M("./_to-absolute-index");N.exports=function(m){return function(g,f,d){var c=v(g),o=p(c.length),i=S(d,o),t;if(m&&f!=f){for(;o>i;)if(t=c[i++],t!=t)return!0}else for(;o>i;i++)if((m||i in c)&&c[i]===f)return m||i||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(M,N,n){var v=M("./_cof"),p=M("./_wks")("toStringTag"),S=v(function(){return arguments}())=="Arguments",m=function(f,d){try{return f[d]}catch(c){}};N.exports=function(g){var f,d,c;return g===void 0?"Undefined":g===null?"Null":typeof(d=m(f=Object(g),p))=="string"?d:S?v(f):(c=v(f))=="Object"&&typeof f.callee=="function"?"Arguments":c}},{"./_cof":98,"./_wks":166}],98:[function(M,N,n){var v={}.toString;N.exports=function(p){return v.call(p).slice(8,-1)}},{}],99:[function(M,N,n){var v=N.exports={version:"2.6.11"};typeof __e=="number"&&(__e=v)},{}],100:[function(M,N,n){"use strict";var v=M("./_object-dp"),p=M("./_property-desc");N.exports=function(S,m,g){m in S?v.f(S,m,p(0,g)):S[m]=g}},{"./_object-dp":132,"./_property-desc":146}],101:[function(M,N,n){var v=M("./_a-function");N.exports=function(p,S,m){if(v(p),S===void 0)return p;switch(m){case 1:return function(g){return p.call(S,g)};case 2:return function(g,f){return p.call(S,g,f)};case 3:return function(g,f,d){return p.call(S,g,f,d)}}return function(){return p.apply(S,arguments)}}},{"./_a-function":92}],102:[function(M,N,n){N.exports=function(v){if(v==null)throw TypeError("Can't call method on "+v);return v}},{}],103:[function(M,N,n){N.exports=!M("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(M,N,n){var v=M("./_is-object"),p=M("./_global").document,S=v(p)&&v(p.createElement);N.exports=function(m){return S?p.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(M,N,n){N.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(M,N,n){var v=M("./_object-keys"),p=M("./_object-gops"),S=M("./_object-pie");N.exports=function(m){var g=v(m),f=p.f;if(f)for(var d=f(m),c=S.f,o=0,i;d.length>o;)c.call(m,i=d[o++])&&g.push(i);return g}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(M,N,n){var v=M("./_global"),p=M("./_core"),S=M("./_ctx"),m=M("./_hide"),g=M("./_has"),f="prototype",d=function c(o,i,t){var a=o&c.F,e=o&c.G,l=o&c.S,r=o&c.P,s=o&c.B,u=o&c.W,h=e?p:p[i]||(p[i]={}),A=h[f],y=e?v:l?v[i]:(v[i]||{})[f],w,b,x;e&&(t=i);for(w in t){if(b=!a&&y&&y[w]!==void 0,b&&g(h,w))continue;x=b?y[w]:t[w],h[w]=e&&typeof y[w]!="function"?t[w]:s&&b?S(x,v):u&&y[w]==x?function(O){var T=function(C,_,L){if(this instanceof O){switch(arguments.length){case 0:return new O;case 1:return new O(C);case 2:return new O(C,_)}return new O(C,_,L)}return O.apply(this,arguments)};return T[f]=O[f],T}(x):r&&typeof x=="function"?S(Function.call,x):x,r&&((h.virtual||(h.virtual={}))[w]=x,o&c.R&&A&&!A[w]&&m(A,w,x))}};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,N.exports=d},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(M,N,n){N.exports=function(v){try{return!!v()}catch(p){return!0}}},{}],109:[function(M,N,n){var v=M("./_ctx"),p=M("./_iter-call"),S=M("./_is-array-iter"),m=M("./_an-object"),g=M("./_to-length"),f=M("./core.get-iterator-method"),d={},c={},n=N.exports=function(o,i,t,a,e){var l=e?function(){return o}:f(o),r=v(t,a,i?2:1),s=0,u,h,A,y;if(typeof l!="function")throw TypeError(o+" is not iterable!");if(S(l)){for(u=g(o.length);u>s;s++)if(y=i?r(m(h=o[s])[0],h[1]):r(o[s]),y===d||y===c)return y}else for(A=l.call(o);!(h=A.next()).done;)if(y=p(A,r,h.value,i),y===d||y===c)return y};n.BREAK=d,n.RETURN=c},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(M,N,n){var v=N.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=v)},{}],111:[function(M,N,n){var v={}.hasOwnProperty;N.exports=function(p,S){return v.call(p,S)}},{}],112:[function(M,N,n){var v=M("./_object-dp"),p=M("./_property-desc");N.exports=M("./_descriptors")?function(S,m,g){return v.f(S,m,p(1,g))}:function(S,m,g){return S[m]=g,S}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(M,N,n){var v=M("./_global").document;N.exports=v&&v.documentElement},{"./_global":110}],114:[function(M,N,n){N.exports=!M("./_descriptors")&&!M("./_fails")(function(){return Object.defineProperty(M("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(M,N,n){N.exports=function(v,p,S){var m=S===void 0;switch(p.length){case 0:return m?v():v.call(S);case 1:return m?v(p[0]):v.call(S,p[0]);case 2:return m?v(p[0],p[1]):v.call(S,p[0],p[1]);case 3:return m?v(p[0],p[1],p[2]):v.call(S,p[0],p[1],p[2]);case 4:return m?v(p[0],p[1],p[2],p[3]):v.call(S,p[0],p[1],p[2],p[3])}return v.apply(S,p)}},{}],116:[function(M,N,n){var v=M("./_cof");N.exports=Object("z").propertyIsEnumerable(0)?Object:function(p){return v(p)=="String"?p.split(""):Object(p)}},{"./_cof":98}],117:[function(M,N,n){var v=M("./_iterators"),p=M("./_wks")("iterator"),S=Array.prototype;N.exports=function(m){return m!==void 0&&(v.Array===m||S[p]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(M,N,n){var v=M("./_cof");N.exports=Array.isArray||function(S){return v(S)=="Array"}},{"./_cof":98}],119:[function(M,N,n){N.exports=function(v){return typeof v=="object"?v!==null:typeof v=="function"}},{}],120:[function(M,N,n){var v=M("./_an-object");N.exports=function(p,S,m,g){try{return g?S(v(m)[0],m[1]):S(m)}catch(d){var f=p.return;throw f!==void 0&&v(f.call(p)),d}}},{"./_an-object":95}],121:[function(M,N,n){"use strict";var v=M("./_object-create"),p=M("./_property-desc"),S=M("./_set-to-string-tag"),m={};M("./_hide")(m,M("./_wks")("iterator"),function(){return this}),N.exports=function(g,f,d){g.prototype=v(m,{next:p(1,d)}),S(g,f+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(M,N,n){"use strict";var v=M("./_library"),p=M("./_export"),S=M("./_redefine"),m=M("./_hide"),g=M("./_iterators"),f=M("./_iter-create"),d=M("./_set-to-string-tag"),c=M("./_object-gpo"),o=M("./_wks")("iterator"),i=!([].keys&&"next"in[].keys()),t="@@iterator",a="keys",e="values",l=function(){return this};N.exports=function(r,s,u,h,A,y,w){f(u,s,h);var b=function(R){if(!i&&R in E)return E[R];switch(R){case a:return function(){return new u(this,R)};case e:return function(){return new u(this,R)}}return function(){return new u(this,R)}},x=s+" Iterator",O=A==e,T=!1,E=r.prototype,C=E[o]||E[t]||A&&E[A],_=C||b(A),L=A?O?b("entries"):_:void 0,P=s=="Array"&&E.entries||C,k,F,j;if(P&&(j=c(P.call(new r)),j!==Object.prototype&&j.next&&(d(j,x,!0),!v&&typeof j[o]!="function"&&m(j,o,l))),O&&C&&C.name!==e&&(T=!0,_=function(){return C.call(this)}),(!v||w)&&(i||T||!E[o])&&m(E,o,_),g[s]=_,g[x]=l,A)if(k={values:O?_:b(e),keys:y?_:b(a),entries:L},w)for(F in k)F in E||S(E,F,k[F]);else p(p.P+p.F*(i||T),s,k);return k}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(M,N,n){var v=M("./_wks")("iterator"),p=!1;try{var S=[7][v]();S.return=function(){p=!0},Array.from(S,function(){throw 2})}catch(m){}N.exports=function(m,g){if(!g&&!p)return!1;var f=!1;try{var d=[7],c=d[v]();c.next=function(){return{done:f=!0}},d[v]=function(){return c},m(d)}catch(o){}return f}},{"./_wks":166}],124:[function(M,N,n){N.exports=function(v,p){return{value:p,done:!!v}}},{}],125:[function(M,N,n){N.exports={}},{}],126:[function(M,N,n){N.exports=!0},{}],127:[function(M,N,n){var v=M("./_uid")("meta"),p=M("./_is-object"),S=M("./_has"),m=M("./_object-dp").f,g=0,f=Object.isExtensible||function(){return!0},d=!M("./_fails")(function(){return f(Object.preventExtensions({}))}),c=function(l){m(l,v,{value:{i:"O"+ ++g,w:{}}})},o=function(l,r){if(!p(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!S(l,v)){if(!f(l))return"F";if(!r)return"E";c(l)}return l[v].i},i=function(l,r){if(!S(l,v)){if(!f(l))return!0;if(!r)return!1;c(l)}return l[v].w},t=function(l){return d&&a.NEED&&f(l)&&!S(l,v)&&c(l),l},a=N.exports={KEY:v,NEED:!1,fastKey:o,getWeak:i,onFreeze:t}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(M,N,n){var v=M("./_global"),p=M("./_task").set,S=v.MutationObserver||v.WebKitMutationObserver,m=v.process,g=v.Promise,f=M("./_cof")(m)=="process";N.exports=function(){var d,c,o,i=function(){var r,s;for(f&&(r=m.domain)&&r.exit();d;){s=d.fn,d=d.next;try{s()}catch(u){throw d?o():c=void 0,u}}c=void 0,r&&r.enter()};if(f)o=function(){m.nextTick(i)};else if(S&&!(v.navigator&&v.navigator.standalone)){var t=!0,a=document.createTextNode("");new S(i).observe(a,{characterData:!0}),o=function(){a.data=t=!t}}else if(g&&g.resolve){var e=g.resolve(void 0);o=function(){e.then(i)}}else o=function(){p.call(v,i)};return function(l){var r={fn:l,next:void 0};c&&(c.next=r),d||(d=r,o()),c=r}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(M,N,n){"use strict";var v=M("./_a-function");function p(S){var m,g;this.promise=new S(function(f,d){if(m!==void 0||g!==void 0)throw TypeError("Bad Promise constructor");m=f,g=d}),this.resolve=v(m),this.reject=v(g)}N.exports.f=function(S){return new p(S)}},{"./_a-function":92}],130:[function(M,N,n){"use strict";var v=M("./_descriptors"),p=M("./_object-keys"),S=M("./_object-gops"),m=M("./_object-pie"),g=M("./_to-object"),f=M("./_iobject"),d=Object.assign;N.exports=!d||M("./_fails")(function(){var c={},o={},i=Symbol(),t="abcdefghijklmnopqrst";return c[i]=7,t.split("").forEach(function(a){o[a]=a}),d({},c)[i]!=7||Object.keys(d({},o)).join("")!=t})?function(o,i){for(var t=g(o),a=arguments.length,e=1,l=S.f,r=m.f;a>e;)for(var s=f(arguments[e++]),u=l?p(s).concat(l(s)):p(s),h=u.length,A=0,y;h>A;)y=u[A++],(!v||r.call(s,y))&&(t[y]=s[y]);return t}:d},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(M,N,n){var v=M("./_an-object"),p=M("./_object-dps"),S=M("./_enum-bug-keys"),m=M("./_shared-key")("IE_PROTO"),g=function(){},f="prototype",d=function(){var o=M("./_dom-create")("iframe"),i=S.length,t="<",a=">",e;for(o.style.display="none",M("./_html").appendChild(o),o.src="javascript:",e=o.contentWindow.document,e.open(),e.write(t+"script"+a+"document.F=Object"+t+"/script"+a),e.close(),d=e.F;i--;)delete d[f][S[i]];return d()};N.exports=Object.create||function(o,i){var t;return o!==null?(g[f]=v(o),t=new g,g[f]=null,t[m]=o):t=d(),i===void 0?t:p(t,i)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(M,N,n){var v=M("./_an-object"),p=M("./_ie8-dom-define"),S=M("./_to-primitive"),m=Object.defineProperty;n.f=M("./_descriptors")?Object.defineProperty:function(f,d,c){if(v(f),d=S(d,!0),v(c),p)try{return m(f,d,c)}catch(o){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(f[d]=c.value),f}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(M,N,n){var v=M("./_object-dp"),p=M("./_an-object"),S=M("./_object-keys");N.exports=M("./_descriptors")?Object.defineProperties:function(g,f){p(g);for(var d=S(f),c=d.length,o=0,i;c>o;)v.f(g,i=d[o++],f[i]);return g}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(M,N,n){var v=M("./_object-pie"),p=M("./_property-desc"),S=M("./_to-iobject"),m=M("./_to-primitive"),g=M("./_has"),f=M("./_ie8-dom-define"),d=Object.getOwnPropertyDescriptor;n.f=M("./_descriptors")?d:function(o,i){if(o=S(o),i=m(i,!0),f)try{return d(o,i)}catch(t){}if(g(o,i))return p(!v.f.call(o,i),o[i])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(M,N,n){var v=M("./_to-iobject"),p=M("./_object-gopn").f,S={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(d){try{return p(d)}catch(c){return m.slice()}};N.exports.f=function(d){return m&&S.call(d)=="[object Window]"?g(d):p(v(d))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(M,N,n){var v=M("./_object-keys-internal"),p=M("./_enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(m){return v(m,p)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(M,N,n){n.f=Object.getOwnPropertySymbols},{}],138:[function(M,N,n){var v=M("./_has"),p=M("./_to-object"),S=M("./_shared-key")("IE_PROTO"),m=Object.prototype;N.exports=Object.getPrototypeOf||function(g){return g=p(g),v(g,S)?g[S]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(M,N,n){var v=M("./_has"),p=M("./_to-iobject"),S=M("./_array-includes")(!1),m=M("./_shared-key")("IE_PROTO");N.exports=function(g,f){var d=p(g),c=0,o=[],i;for(i in d)i!=m&&(v(d,i)&&o.push(i));for(;f.length>c;)v(d,i=f[c++])&&(~S(o,i)||o.push(i));return o}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(M,N,n){var v=M("./_object-keys-internal"),p=M("./_enum-bug-keys");N.exports=Object.keys||function(m){return v(m,p)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(M,N,n){n.f={}.propertyIsEnumerable},{}],142:[function(M,N,n){var v=M("./_export"),p=M("./_core"),S=M("./_fails");N.exports=function(m,g){var f=(p.Object||{})[m]||Object[m],d={};d[m]=g(f),v(v.S+v.F*S(function(){f(1)}),"Object",d)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(M,N,n){var v=M("./_descriptors"),p=M("./_object-keys"),S=M("./_to-iobject"),m=M("./_object-pie").f;N.exports=function(g){return function(f){for(var d=S(f),c=p(d),o=c.length,i=0,t=[],a;o>i;)a=c[i++],(!v||m.call(d,a))&&t.push(g?[a,d[a]]:d[a]);return t}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(M,N,n){N.exports=function(v){try{return{e:!1,v:v()}}catch(p){return{e:!0,v:p}}}},{}],145:[function(M,N,n){var v=M("./_an-object"),p=M("./_is-object"),S=M("./_new-promise-capability");N.exports=function(m,g){if(v(m),p(g)&&g.constructor===m)return g;var f=S.f(m),d=f.resolve;return d(g),f.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(M,N,n){N.exports=function(v,p){return{enumerable:!(v&1),configurable:!(v&2),writable:!(v&4),value:p}}},{}],147:[function(M,N,n){var v=M("./_hide");N.exports=function(p,S,m){for(var g in S)m&&p[g]?p[g]=S[g]:v(p,g,S[g]);return p}},{"./_hide":112}],148:[function(M,N,n){N.exports=M("./_hide")},{"./_hide":112}],149:[function(M,N,n){"use strict";var v=M("./_global"),p=M("./_core"),S=M("./_object-dp"),m=M("./_descriptors"),g=M("./_wks")("species");N.exports=function(f){var d=typeof p[f]=="function"?p[f]:v[f];m&&d&&!d[g]&&S.f(d,g,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(M,N,n){var v=M("./_object-dp").f,p=M("./_has"),S=M("./_wks")("toStringTag");N.exports=function(m,g,f){m&&!p(m=f?m:m.prototype,S)&&v(m,S,{configurable:!0,value:g})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(M,N,n){var v=M("./_shared")("keys"),p=M("./_uid");N.exports=function(S){return v[S]||(v[S]=p(S))}},{"./_shared":152,"./_uid":162}],152:[function(M,N,n){var v=M("./_core"),p=M("./_global"),S="__core-js_shared__",m=p[S]||(p[S]={});(N.exports=function(g,f){return m[g]||(m[g]=f!==void 0?f:{})})("versions",[]).push({version:v.version,mode:M("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(M,N,n){var v=M("./_an-object"),p=M("./_a-function"),S=M("./_wks")("species");N.exports=function(m,g){var f=v(m).constructor,d;return f===void 0||(d=v(f)[S])==null?g:p(d)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(M,N,n){var v=M("./_to-integer"),p=M("./_defined");N.exports=function(S){return function(m,g){var f=String(p(m)),d=v(g),c=f.length,o,i;return d<0||d>=c?S?"":void 0:(o=f.charCodeAt(d),o<55296||o>56319||d+1===c||(i=f.charCodeAt(d+1))<56320||i>57343?S?f.charAt(d):o:S?f.slice(d,d+2):(o-55296<<10)+(i-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(M,N,n){var v=M("./_ctx"),p=M("./_invoke"),S=M("./_html"),m=M("./_dom-create"),g=M("./_global"),f=g.process,d=g.setImmediate,c=g.clearImmediate,o=g.MessageChannel,i=g.Dispatch,t=0,a={},e="onreadystatechange",l,r,s,u=function(){var y=+this;if(a.hasOwnProperty(y)){var w=a[y];delete a[y],w()}},h=function(y){u.call(y.data)};(!d||!c)&&(d=function(y){for(var w=[],b=1;arguments.length>b;)w.push(arguments[b++]);return a[++t]=function(){p(typeof y=="function"?y:Function(y),w)},l(t),t},c=function(y){delete a[y]},M("./_cof")(f)=="process"?l=function(y){f.nextTick(v(u,y,1))}:i&&i.now?l=function(y){i.now(v(u,y,1))}:o?(r=new o,s=r.port2,r.port1.onmessage=h,l=v(s.postMessage,s,1)):g.addEventListener&&typeof postMessage=="function"&&!g.importScripts?(l=function(y){g.postMessage(y+"","*")},g.addEventListener("message",h,!1)):e in m("script")?l=function(y){S.appendChild(m("script"))[e]=function(){S.removeChild(this),u.call(y)}}:l=function(y){setTimeout(v(u,y,1),0)}),N.exports={set:d,clear:c}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(M,N,n){var v=M("./_to-integer"),p=Math.max,S=Math.min;N.exports=function(m,g){return m=v(m),m<0?p(m+g,0):S(m,g)}},{"./_to-integer":157}],157:[function(M,N,n){var v=Math.ceil,p=Math.floor;N.exports=function(S){return isNaN(S=+S)?0:(S>0?p:v)(S)}},{}],158:[function(M,N,n){var v=M("./_iobject"),p=M("./_defined");N.exports=function(S){return v(p(S))}},{"./_defined":102,"./_iobject":116}],159:[function(M,N,n){var v=M("./_to-integer"),p=Math.min;N.exports=function(S){return S>0?p(v(S),9007199254740991):0}},{"./_to-integer":157}],160:[function(M,N,n){var v=M("./_defined");N.exports=function(p){return Object(v(p))}},{"./_defined":102}],161:[function(M,N,n){var v=M("./_is-object");N.exports=function(p,S){if(!v(p))return p;var m,g;if(S&&typeof(m=p.toString)=="function"&&!v(g=m.call(p)))return g;if(typeof(m=p.valueOf)=="function"&&!v(g=m.call(p)))return g;if(!S&&typeof(m=p.toString)=="function"&&!v(g=m.call(p)))return g;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(M,N,n){var v=0,p=Math.random();N.exports=function(S){return"Symbol(".concat(S===void 0?"":S,")_",(++v+p).toString(36))}},{}],163:[function(M,N,n){var v=M("./_global"),p=v.navigator;N.exports=p&&p.userAgent||""},{"./_global":110}],164:[function(M,N,n){var v=M("./_global"),p=M("./_core"),S=M("./_library"),m=M("./_wks-ext"),g=M("./_object-dp").f;N.exports=function(f){var d=p.Symbol||(p.Symbol=S?{}:v.Symbol||{});f.charAt(0)!="_"&&!(f in d)&&g(d,f,{value:m.f(f)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(M,N,n){n.f=M("./_wks")},{"./_wks":166}],166:[function(M,N,n){var v=M("./_shared")("wks"),p=M("./_uid"),S=M("./_global").Symbol,m=typeof S=="function",g=N.exports=function(f){return v[f]||(v[f]=m&&S[f]||(m?S:p)("Symbol."+f))};g.store=v},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(M,N,n){var v=M("./_classof"),p=M("./_wks")("iterator"),S=M("./_iterators");N.exports=M("./_core").getIteratorMethod=function(m){if(m!=null)return m[p]||m["@@iterator"]||S[v(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(M,N,n){"use strict";var v=M("./_ctx"),p=M("./_export"),S=M("./_to-object"),m=M("./_iter-call"),g=M("./_is-array-iter"),f=M("./_to-length"),d=M("./_create-property"),c=M("./core.get-iterator-method");p(p.S+p.F*!M("./_iter-detect")(function(o){Array.from(o)}),"Array",{from:function(i){var t=S(i),a=typeof this=="function"?this:Array,e=arguments.length,l=e>1?arguments[1]:void 0,r=l!==void 0,s=0,u=c(t),h,A,y,w;if(r&&(l=v(l,e>2?arguments[2]:void 0,2)),u!=null&&!(a==Array&&g(u)))for(w=u.call(t),A=new a;!(y=w.next()).done;s++)d(A,s,r?m(w,l,[y.value,s],!0):y.value);else for(h=f(t.length),A=new a(h);h>s;s++)d(A,s,r?l(t[s],s):t[s]);return A.length=s,A}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(M,N,n){"use strict";var v=M("./_add-to-unscopables"),p=M("./_iter-step"),S=M("./_iterators"),m=M("./_to-iobject");N.exports=M("./_iter-define")(Array,"Array",function(g,f){this._t=m(g),this._i=0,this._k=f},function(){var g=this._t,f=this._k,d=this._i++;return!g||d>=g.length?(this._t=void 0,p(1)):f=="keys"?p(0,d):f=="values"?p(0,g[d]):p(0,[d,g[d]])},"values"),S.Arguments=S.Array,v("keys"),v("values"),v("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(M,N,n){"use strict";var v=M("./_is-object"),p=M("./_object-gpo"),S=M("./_wks")("hasInstance"),m=Function.prototype;S in m||M("./_object-dp").f(m,S,{value:function(f){if(typeof this!="function"||!v(f))return!1;if(!v(this.prototype))return f instanceof this;for(;f=p(f);)if(this.prototype===f)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(M,N,n){var v=M("./_export");v(v.S+v.F,"Object",{assign:M("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(M,N,n){var v=M("./_export");v(v.S,"Object",{create:M("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(M,N,n){var v=M("./_export");v(v.S+v.F*!M("./_descriptors"),"Object",{defineProperty:M("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(M,N,n){M("./_object-sap")("getOwnPropertyNames",function(){return M("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(M,N,n){var v=M("./_to-object"),p=M("./_object-gpo");M("./_object-sap")("getPrototypeOf",function(){return function(m){return p(v(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(M,N,n){var v=M("./_to-object"),p=M("./_object-keys");M("./_object-sap")("keys",function(){return function(m){return p(v(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(M,N,n){arguments[4][71][0].apply(n,arguments)},{dup:71}],178:[function(M,N,n){"use strict";var v=M("./_library"),p=M("./_global"),S=M("./_ctx"),m=M("./_classof"),g=M("./_export"),f=M("./_is-object"),d=M("./_a-function"),c=M("./_an-instance"),o=M("./_for-of"),i=M("./_species-constructor"),t=M("./_task").set,a=M("./_microtask")(),e=M("./_new-promise-capability"),l=M("./_perform"),r=M("./_user-agent"),s=M("./_promise-resolve"),u="Promise",h=p.TypeError,A=p.process,y=A&&A.versions,w=y&&y.v8||"",b=p[u],x=m(A)=="process",O=function(){},T,E,C,_,L=E=e.f,P=!!function(){try{var H=b.resolve(1),K=(H.constructor={})[M("./_wks")("species")]=function(V){V(O,O)};return(x||typeof PromiseRejectionEvent=="function")&&H.then(O)instanceof K&&w.indexOf("6.6")!==0&&r.indexOf("Chrome/66")===-1}catch(V){}}(),k=function(K){var V;return f(K)&&typeof(V=K.then)=="function"?V:!1},F=function(K,V){if(K._n)return;K._n=!0;var W=K._c;a(function(){for(var G=K._v,re=K._s==1,ye=0,$=function(Ce){var Se=re?Ce.ok:Ce.fail,Ke=Ce.resolve,ue=Ce.reject,Le=Ce.domain,ee,le,et;try{Se?(re||(K._h==2&&R(K),K._h=1),Se===!0?ee=G:(Le&&Le.enter(),ee=Se(G),Le&&(Le.exit(),et=!0)),ee===Ce.promise?ue(h("Promise-chain cycle")):(le=k(ee))?le.call(ee,Ke,ue):Ke(ee)):ue(G)}catch(Re){Le&&!et&&Le.exit(),ue(Re)}};W.length>ye;)$(W[ye++]);K._c=[],K._n=!1,V&&!K._h&&j(K)})},j=function(K){t.call(p,function(){var V=K._v,W=z(K),G,re,ye;if(W&&(G=l(function(){x?A.emit("unhandledRejection",V,K):(re=p.onunhandledrejection)?re({promise:K,reason:V}):(ye=p.console)&&ye.error&&ye.error("Unhandled promise rejection",V)}),K._h=x||z(K)?2:1),K._a=void 0,W&&G.e)throw G.v})},z=function(K){return K._h!==1&&(K._a||K._c).length===0},R=function(K){t.call(p,function(){var V;x?A.emit("rejectionHandled",K):(V=p.onrejectionhandled)&&V({promise:K,reason:K._v})})},U=function(K){var V=this;if(V._d)return;V._d=!0,V=V._w||V,V._v=K,V._s=2,V._a||(V._a=V._c.slice()),F(V,!0)},B=function H(K){var V=this,W;if(V._d)return;V._d=!0,V=V._w||V;try{if(V===K)throw h("Promise can't be resolved itself");(W=k(K))?a(function(){var G={_w:V,_d:!1};try{W.call(K,S(H,G,1),S(U,G,1))}catch(re){U.call(G,re)}}):(V._v=K,V._s=1,F(V,!1))}catch(G){U.call({_w:V,_d:!1},G)}};P||(b=function(K){c(this,b,u,"_h"),d(K),T.call(this);try{K(S(B,this,1),S(U,this,1))}catch(V){U.call(this,V)}},T=function(K){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},T.prototype=M("./_redefine-all")(b.prototype,{then:function(K,V){var W=L(i(this,b));return W.ok=typeof K=="function"?K:!0,W.fail=typeof V=="function"&&V,W.domain=x?A.domain:void 0,this._c.push(W),this._a&&this._a.push(W),this._s&&F(this,!1),W.promise},catch:function(K){return this.then(void 0,K)}}),C=function(){var K=new T;this.promise=K,this.resolve=S(B,K,1),this.reject=S(U,K,1)},e.f=L=function(K){return K===b||K===_?new C(K):E(K)}),g(g.G+g.W+g.F*!P,{Promise:b}),M("./_set-to-string-tag")(b,u),M("./_set-species")(u),_=M("./_core")[u],g(g.S+g.F*!P,u,{reject:function(K){var V=L(this),W=V.reject;return W(K),V.promise}}),g(g.S+g.F*(v||!P),u,{resolve:function(K){return s(v&&this===_?b:this,K)}}),g(g.S+g.F*!(P&&M("./_iter-detect")(function(H){b.all(H).catch(O)})),u,{all:function(K){var V=this,W=L(V),G=W.resolve,re=W.reject,ye=l(function(){var $=[],ve=0,Ce=1;o(K,!1,function(Se){var Ke=ve++,ue=!1;$.push(void 0),Ce++,V.resolve(Se).then(function(Le){if(ue)return;ue=!0,$[Ke]=Le,--Ce||G($)},re)}),--Ce||G($)});return ye.e&&re(ye.v),W.promise},race:function(K){var V=this,W=L(V),G=W.reject,re=l(function(){o(K,!1,function(ye){V.resolve(ye).then(W.resolve,G)})});return re.e&&G(re.v),W.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(M,N,n){var v=M("./_export"),p=M("./_to-absolute-index"),S=String.fromCharCode,m=String.fromCodePoint;v(v.S+v.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(f){for(var d=[],c=arguments.length,o=0,i;c>o;){if(i=+arguments[o++],p(i,1114111)!==i)throw RangeError(i+" is not a valid code point");d.push(i<65536?S(i):S(((i-=65536)>>10)+55296,i%1024+56320))}return d.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(M,N,n){"use strict";var v=M("./_string-at")(!0);M("./_iter-define")(String,"String",function(p){this._t=String(p),this._i=0},function(){var p=this._t,S=this._i,m;return S>=p.length?{value:void 0,done:!0}:(m=v(p,S),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(M,N,n){"use strict";var v=M("./_global"),p=M("./_has"),S=M("./_descriptors"),m=M("./_export"),g=M("./_redefine"),f=M("./_meta").KEY,d=M("./_fails"),c=M("./_shared"),o=M("./_set-to-string-tag"),i=M("./_uid"),t=M("./_wks"),a=M("./_wks-ext"),e=M("./_wks-define"),l=M("./_enum-keys"),r=M("./_is-array"),s=M("./_an-object"),u=M("./_is-object"),h=M("./_to-object"),A=M("./_to-iobject"),y=M("./_to-primitive"),w=M("./_property-desc"),b=M("./_object-create"),x=M("./_object-gopn-ext"),O=M("./_object-gopd"),T=M("./_object-gops"),E=M("./_object-dp"),C=M("./_object-keys"),_=O.f,L=E.f,P=x.f,k=v.Symbol,F=v.JSON,j=F&&F.stringify,z="prototype",R=t("_hidden"),U=t("toPrimitive"),B={}.propertyIsEnumerable,H=c("symbol-registry"),K=c("symbols"),V=c("op-symbols"),W=Object[z],G=typeof k=="function"&&!!T.f,re=v.QObject,ye=!re||!re[z]||!re[z].findChild,$=S&&d(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(Te,Be,De){var ae=_(W,Be);ae&&delete W[Be],L(Te,Be,De),ae&&Te!==W&&L(W,Be,ae)}:L,ve=function(Be){var De=K[Be]=b(k[z]);return De._k=Be,De},Ce=G&&typeof k.iterator=="symbol"?function(Te){return typeof Te=="symbol"}:function(Te){return Te instanceof k},Se=function(Be,De,ae){return Be===W&&Se(V,De,ae),s(Be),De=y(De,!0),s(ae),p(K,De)?(ae.enumerable?(p(Be,R)&&Be[R][De]&&(Be[R][De]=!1),ae=b(ae,{enumerable:w(0,!1)})):(p(Be,R)||L(Be,R,w(1,{})),Be[R][De]=!0),$(Be,De,ae)):L(Be,De,ae)},Ke=function(Be,De){s(Be);for(var ae=l(De=A(De)),fe=0,Oe=ae.length,Je;Oe>fe;)Se(Be,Je=ae[fe++],De[Je]);return Be},ue=function(Be,De){return De===void 0?b(Be):Ke(b(Be),De)},Le=function(Be){var De=B.call(this,Be=y(Be,!0));return this===W&&p(K,Be)&&!p(V,Be)?!1:De||!p(this,Be)||!p(K,Be)||p(this,R)&&this[R][Be]?De:!0},ee=function(Be,De){if(Be=A(Be),De=y(De,!0),Be===W&&p(K,De)&&!p(V,De))return;var ae=_(Be,De);return ae&&p(K,De)&&!(p(Be,R)&&Be[R][De])&&(ae.enumerable=!0),ae},le=function(Be){for(var De=P(A(Be)),ae=[],fe=0,Oe;De.length>fe;)!p(K,Oe=De[fe++])&&Oe!=R&&Oe!=f&&ae.push(Oe);return ae},et=function(Be){for(var De=Be===W,ae=P(De?V:A(Be)),fe=[],Oe=0,Je;ae.length>Oe;)p(K,Je=ae[Oe++])&&(De?p(W,Je):!0)&&fe.push(K[Je]);return fe};G||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var Be=i(arguments.length>0?arguments[0]:void 0),De=function ae(fe){this===W&&ae.call(V,fe),p(this,R)&&p(this[R],Be)&&(this[R][Be]=!1),$(this,Be,w(1,fe))};return S&&ye&&$(W,Be,{configurable:!0,set:De}),ve(Be)},g(k[z],"toString",function(){return this._k}),O.f=ee,E.f=Se,M("./_object-gopn").f=x.f=le,M("./_object-pie").f=Le,T.f=et,S&&!M("./_library")&&g(W,"propertyIsEnumerable",Le,!0),a.f=function(Te){return ve(t(Te))}),m(m.G+m.W+m.F*!G,{Symbol:k});for(var Re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ae=0;Re.length>Ae;)t(Re[Ae++]);for(var oe=C(t.store),ce=0;oe.length>ce;)e(oe[ce++]);m(m.S+m.F*!G,"Symbol",{for:function(Be){return p(H,Be+="")?H[Be]:H[Be]=k(Be)},keyFor:function(Be){if(!Ce(Be))throw TypeError(Be+" is not a symbol!");for(var De in H)if(H[De]===Be)return De},useSetter:function(){ye=!0},useSimple:function(){ye=!1}}),m(m.S+m.F*!G,"Object",{create:ue,defineProperty:Se,defineProperties:Ke,getOwnPropertyDescriptor:ee,getOwnPropertyNames:le,getOwnPropertySymbols:et});var be=d(function(){T.f(1)});m(m.S+m.F*be,"Object",{getOwnPropertySymbols:function(Be){return T.f(h(Be))}}),F&&m(m.S+m.F*(!G||d(function(){var Te=k();return j([Te])!="[null]"||j({a:Te})!="{}"||j(Object(Te))!="{}"})),"JSON",{stringify:function(Be){for(var De=[Be],ae=1,fe,Oe;arguments.length>ae;)De.push(arguments[ae++]);return Oe=fe=De[1],!u(fe)&&Be===void 0||Ce(Be)?void 0:(r(fe)||(fe=function(Et,Ze){if(typeof Oe=="function"&&(Ze=Oe.call(this,Et,Ze)),!Ce(Ze))return Ze}),De[1]=fe,j.apply(F,De))}}),k[z][U]||M("./_hide")(k[z],U,k[z].valueOf),o(k,"Symbol"),o(Math,"Math",!0),o(v.JSON,"JSON",!0)},{"./_an-object":95,"./_descriptors":103,"./_enum-keys":106,"./_export":107,"./_fails":108,"./_global":110,"./_has":111,"./_hide":112,"./_is-array":118,"./_is-object":119,"./_library":126,"./_meta":127,"./_object-create":131,"./_object-dp":132,"./_object-gopd":134,"./_object-gopn":136,"./_object-gopn-ext":135,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_property-desc":146,"./_redefine":148,"./_set-to-string-tag":150,"./_shared":152,"./_to-iobject":158,"./_to-object":160,"./_to-primitive":161,"./_uid":162,"./_wks":166,"./_wks-define":164,"./_wks-ext":165}],182:[function(M,N,n){var v=M("./_export"),p=M("./_object-to-array")(!0);v(v.S,"Object",{entries:function(m){return p(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(M,N,n){"use strict";var v=M("./_export"),p=M("./_core"),S=M("./_global"),m=M("./_species-constructor"),g=M("./_promise-resolve");v(v.P+v.R,"Promise",{finally:function(d){var c=m(this,p.Promise||S.Promise),o=typeof d=="function";return this.then(o?function(i){return g(c,d()).then(function(){return i})}:d,o?function(i){return g(c,d()).then(function(){throw i})}:d)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(M,N,n){"use strict";var v=M("./_export"),p=M("./_new-promise-capability"),S=M("./_perform");v(v.S,"Promise",{try:function(g){var f=p.f(this),d=S(g);return(d.e?f.reject:f.resolve)(d.v),f.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(M,N,n){M("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(M,N,n){M("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(M,N,n){M("./es6.array.iterator");for(var v=M("./_global"),p=M("./_hide"),S=M("./_iterators"),m=M("./_wks")("toStringTag"),g="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;f<g.length;f++){var d=g[f],c=v[d],o=c&&c.prototype;o&&!o[m]&&p(o,m,d),S[d]=S.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(M,N,n){var v=M("./_export"),p=M("./_task");v(v.G+v.B,{setImmediate:p.set,clearImmediate:p.clear})},{"./_export":107,"./_task":155}],189:[function(M,N,n){(function(v){"use strict";var p=M("babel-runtime/helpers/typeof"),S=m(p);function m(y){return y&&y.__esModule?y:{default:y}}function g(y){return Array.isArray?Array.isArray(y):A(y)==="[object Array]"}n.isArray=g;function f(y){return typeof y=="boolean"}n.isBoolean=f;function d(y){return y===null}n.isNull=d;function c(y){return y==null}n.isNullOrUndefined=c;function o(y){return typeof y=="number"}n.isNumber=o;function i(y){return typeof y=="string"}n.isString=i;function t(y){return(typeof y=="undefined"?"undefined":(0,S.default)(y))==="symbol"}n.isSymbol=t;function a(y){return y===void 0}n.isUndefined=a;function e(y){return A(y)==="[object RegExp]"}n.isRegExp=e;function l(y){return(typeof y=="undefined"?"undefined":(0,S.default)(y))==="object"&&y!==null}n.isObject=l;function r(y){return A(y)==="[object Date]"}n.isDate=r;function s(y){return A(y)==="[object Error]"||y instanceof Error}n.isError=s;function u(y){return typeof y=="function"}n.isFunction=u;function h(y){return y===null||typeof y=="boolean"||typeof y=="number"||typeof y=="string"||(typeof y=="undefined"?"undefined":(0,S.default)(y))==="symbol"||typeof y=="undefined"}n.isPrimitive=h,n.isBuffer=v.isBuffer;function A(y){return Object.prototype.toString.call(y)}}).call(this,{isBuffer:M("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(M,N,n){"use strict";var v=M("babel-runtime/helpers/typeof"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var g=function(){var i=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,a=/[^-+\dA-Z]/g;return function(e,l,r,s){if(arguments.length===1&&o(e)==="string"&&!/\d/.test(e)&&(l=e,e=void 0),e=e||new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");l=String(g.masks[l]||l||g.masks.default);var u=l.slice(0,4);(u==="UTC:"||u==="GMT:")&&(l=l.slice(4),r=!0,u==="GMT:"&&(s=!0));var h=r?"getUTC":"get",A=e[h+"Date"](),y=e[h+"Day"](),w=e[h+"Month"](),b=e[h+"FullYear"](),x=e[h+"Hours"](),O=e[h+"Minutes"](),T=e[h+"Seconds"](),E=e[h+"Milliseconds"](),C=r?0:e.getTimezoneOffset(),_=d(e),L=c(e),P={d:A,dd:f(A),ddd:g.i18n.dayNames[y],dddd:g.i18n.dayNames[y+7],m:w+1,mm:f(w+1),mmm:g.i18n.monthNames[w],mmmm:g.i18n.monthNames[w+12],yy:String(b).slice(2),yyyy:b,h:x%12||12,hh:f(x%12||12),H:x,HH:f(x),M:O,MM:f(O),s:T,ss:f(T),l:f(E,3),L:f(Math.round(E/10)),t:x<12?"a":"p",tt:x<12?"am":"pm",T:x<12?"A":"P",TT:x<12?"AM":"PM",Z:s?"GMT":r?"UTC":(String(e).match(t)||[""]).pop().replace(a,""),o:(C>0?"-":"+")+f(Math.floor(Math.abs(C)/60)*100+Math.abs(C)%60,4),S:["th","st","nd","rd"][A%10>3?0:(A%100-A%10!=10)*A%10],W:_,N:L};return l.replace(i,function(k){return k in P?P[k]:k.slice(1,k.length-1)})}}();g.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},g.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function f(i,t){for(i=String(i),t=t||2;i.length<t;)i="0"+i;return i}function d(i){var t=new Date(i.getFullYear(),i.getMonth(),i.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var a=new Date(t.getFullYear(),0,4);a.setDate(a.getDate()-(a.getDay()+6)%7+3);var e=t.getTimezoneOffset()-a.getTimezoneOffset();t.setHours(t.getHours()-e);var l=(t-a)/(864e5*7);return 1+Math.floor(l)}function c(i){var t=i.getDay();return t===0&&(t=7),t}function o(i){return i===null?"null":i===void 0?"undefined":(typeof i=="undefined"?"undefined":(0,p.default)(i))!=="object"?typeof i=="undefined"?"undefined":(0,p.default)(i):Array.isArray(i)?"array":{}.toString.call(i).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return g}):(typeof n=="undefined"?"undefined":(0,p.default)(n))==="object"?N.exports=g:m.dateFormat=g})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(M,N,n){/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var v=/["'&<>]/;N.exports=p;function p(S){var m=""+S,g=v.exec(m);if(!g)return m;var f,d="",c=0,o=0;for(c=g.index;c<m.length;c++){switch(m.charCodeAt(c)){case 34:f="&quot;";break;case 38:f="&amp;";break;case 39:f="&#39;";break;case 60:f="&lt;";break;case 62:f="&gt;";break;default:continue}o!==c&&(d+=m.substring(o,c)),o=c+1,d+=f}return o!==c?d+m.substring(o,c):d}},{}],192:[function(M,N,n){function v(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}N.exports=v,v.EventEmitter=v,v.prototype._events=void 0,v.prototype._maxListeners=void 0,v.defaultMaxListeners=10,v.prototype.setMaxListeners=function(f){if(!S(f)||f<0||isNaN(f))throw TypeError("n must be a positive number");return this._maxListeners=f,this},v.prototype.emit=function(f){var d,c,o,i,t,a;if(this._events||(this._events={}),f==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(d=arguments[1],d instanceof Error)throw d;var e=new Error('Uncaught, unspecified "error" event. ('+d+")");throw e.context=d,e}if(c=this._events[f],g(c))return!1;if(p(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),c.apply(this,i)}else if(m(c))for(i=Array.prototype.slice.call(arguments,1),a=c.slice(),o=a.length,t=0;t<o;t++)a[t].apply(this,i);return!0},v.prototype.addListener=function(f,d){var c;if(!p(d))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",f,p(d.listener)?d.listener:d),this._events[f]?m(this._events[f])?this._events[f].push(d):this._events[f]=[this._events[f],d]:this._events[f]=d,m(this._events[f])&&!this._events[f].warned&&(g(this._maxListeners)?c=v.defaultMaxListeners:c=this._maxListeners,c&&c>0&&this._events[f].length>c&&(this._events[f].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[f].length),typeof console.trace=="function"&&console.trace())),this},v.prototype.on=v.prototype.addListener,v.prototype.once=function(f,d){if(!p(d))throw TypeError("listener must be a function");var c=!1;function o(){this.removeListener(f,o),c||(c=!0,d.apply(this,arguments))}return o.listener=d,this.on(f,o),this},v.prototype.removeListener=function(f,d){var c,o,i,t;if(!p(d))throw TypeError("listener must be a function");if(!this._events||!this._events[f])return this;if(c=this._events[f],i=c.length,o=-1,c===d||p(c.listener)&&c.listener===d)delete this._events[f],this._events.removeListener&&this.emit("removeListener",f,d);else if(m(c)){for(t=i;t-- >0;)if(c[t]===d||c[t].listener&&c[t].listener===d){o=t;break}if(o<0)return this;c.length===1?(c.length=0,delete this._events[f]):c.splice(o,1),this._events.removeListener&&this.emit("removeListener",f,d)}return this},v.prototype.removeAllListeners=function(f){var d,c;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[f]&&delete this._events[f],this;if(arguments.length===0){for(d in this._events){if(d==="removeListener")continue;this.removeAllListeners(d)}return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[f],p(c))this.removeListener(f,c);else if(c)for(;c.length;)this.removeListener(f,c[c.length-1]);return delete this._events[f],this},v.prototype.listeners=function(f){var d;return!this._events||!this._events[f]?d=[]:p(this._events[f])?d=[this._events[f]]:d=this._events[f].slice(),d},v.prototype.listenerCount=function(f){if(this._events){var d=this._events[f];if(p(d))return 1;if(d)return d.length}return 0},v.listenerCount=function(f,d){return f.listenerCount(d)};function p(f){return typeof f=="function"}function S(f){return typeof f=="number"}function m(f){return typeof f=="object"&&f!==null}function g(f){return f===void 0}},{}],193:[function(M,N,n){var v=M("http"),p=N.exports;for(var S in v)v.hasOwnProperty(S)&&(p[S]=v[S]);p.request=function(m,g){return m||(m={}),m.scheme="https",m.protocol="https:",v.request.call(this,m,g)}},{http:231}],194:[function(M,N,n){/*!
* humanize-ms - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var v=M("util"),p=M("ms");N.exports=function(S){if(typeof S=="number")return S;var m=p(S);if(m===void 0){var g=new Error(v.format("humanize-ms(%j) result undefined",S));console.warn(g.stack)}return m}},{ms:204,util:243}],195:[function(M,N,n){n.read=function(v,p,S,m,g){var f,d,c=g*8-m-1,o=(1<<c)-1,i=o>>1,t=-7,a=S?g-1:0,e=S?-1:1,l=v[p+a];for(a+=e,f=l&(1<<-t)-1,l>>=-t,t+=c;t>0;f=f*256+v[p+a],a+=e,t-=8);for(d=f&(1<<-t)-1,f>>=-t,t+=m;t>0;d=d*256+v[p+a],a+=e,t-=8);if(f===0)f=1-i;else{if(f===o)return d?NaN:(l?-1:1)*Infinity;d=d+Math.pow(2,m),f=f-i}return(l?-1:1)*d*Math.pow(2,f-m)},n.write=function(v,p,S,m,g,f){var d,c,o,i=f*8-g-1,t=(1<<i)-1,a=t>>1,e=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=m?0:f-1,r=m?1:-1,s=p<0||p===0&&1/p<0?1:0;for(p=Math.abs(p),isNaN(p)||p===Infinity?(c=isNaN(p)?1:0,d=t):(d=Math.floor(Math.log(p)/Math.LN2),p*(o=Math.pow(2,-d))<1&&(d--,o*=2),d+a>=1?p+=e/o:p+=e*Math.pow(2,1-a),p*o>=2&&(d++,o/=2),d+a>=t?(c=0,d=t):d+a>=1?(c=(p*o-1)*Math.pow(2,g),d=d+a):(c=p*Math.pow(2,a-1)*Math.pow(2,g),d=0));g>=8;v[S+l]=c&255,l+=r,c/=256,g-=8);for(d=d<<g|c,i+=g;i>0;v[S+l]=d&255,l+=r,d/=256,i-=8);v[S+l-r]|=s*128}},{}],196:[function(M,N,n){typeof Object.create=="function"?N.exports=function(p,S){S&&(p.super_=S,p.prototype=Object.create(S.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:N.exports=function(p,S){if(S){p.super_=S;var m=function(){};m.prototype=S.prototype,p.prototype=new m,p.prototype.constructor=p}}},{}],197:[function(M,N,n){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/N.exports=function(S){return S!=null&&(v(S)||p(S)||!!S._isBuffer)};function v(S){return!!S.constructor&&typeof S.constructor.isBuffer=="function"&&S.constructor.isBuffer(S)}function p(S){return typeof S.readFloatLE=="function"&&typeof S.slice=="function"&&v(S.slice(0,0))}},{}],198:[function(M,N,n){var v={}.toString;N.exports=Array.isArray||function(p){return v.call(p)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(M,N){typeof exports=="object"&&typeof module!="undefined"?module.exports=N(M):typeof define=="function"&&define.amd?define(N):N(M)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if(typeof module!="undefined"&&module.exports)try{buffer=eval("require('buffer').Buffer")}catch(M){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(M){for(var N={},n=0,v=M.length;n<v;n++)N[M.charAt(n)]=n;return N}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(N){if(N.length<2){var n=N.charCodeAt(0);return n<128?N:n<2048?fromCharCode(192|n>>>6)+fromCharCode(128|n&63):fromCharCode(224|n>>>12&15)+fromCharCode(128|n>>>6&63)+fromCharCode(128|n&63)}else{var n=65536+(N.charCodeAt(0)-55296)*1024+(N.charCodeAt(1)-56320);return fromCharCode(240|n>>>18&7)+fromCharCode(128|n>>>12&63)+fromCharCode(128|n>>>6&63)+fromCharCode(128|n&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(N){return N.replace(re_utob,cb_utob)},cb_encode=function(N){var n=[0,2,1][N.length%3],v=N.charCodeAt(0)<<16|(N.length>1?N.charCodeAt(1):0)<<8|(N.length>2?N.charCodeAt(2):0),p=[b64chars.charAt(v>>>18),b64chars.charAt(v>>>12&63),n>=2?"=":b64chars.charAt(v>>>6&63),n>=1?"=":b64chars.charAt(v&63)];return p.join("")},btoa=global.btoa?function(M){return global.btoa(M)}:function(M){return M.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(N){var n=Object.prototype.toString.call(N)==="[object Uint8Array]";return n?N.toString("base64"):btoa(utob(String(N)))},encode=function(N,n){return n?_encode(String(N)).replace(/[+\/]/g,function(v){return v=="+"?"-":"_"}).replace(/=/g,""):_encode(N)},encodeURI=function(N){return encode(N,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(N){switch(N.length){case 4:var n=(7&N.charCodeAt(0))<<18|(63&N.charCodeAt(1))<<12|(63&N.charCodeAt(2))<<6|63&N.charCodeAt(3),v=n-65536;return fromCharCode((v>>>10)+55296)+fromCharCode((v&1023)+56320);case 3:return fromCharCode((15&N.charCodeAt(0))<<12|(63&N.charCodeAt(1))<<6|63&N.charCodeAt(2));default:return fromCharCode((31&N.charCodeAt(0))<<6|63&N.charCodeAt(1))}},btou=function(N){return N.replace(re_btou,cb_btou)},cb_decode=function(N){var n=N.length,v=n%4,p=(n>0?b64tab[N.charAt(0)]<<18:0)|(n>1?b64tab[N.charAt(1)]<<12:0)|(n>2?b64tab[N.charAt(2)]<<6:0)|(n>3?b64tab[N.charAt(3)]:0),S=[fromCharCode(p>>>16),fromCharCode(p>>>8&255),fromCharCode(p&255)];return S.length-=[0,0,2,1][v],S.join("")},_atob=global.atob?function(M){return global.atob(M)}:function(M){return M.replace(/\S{1,4}/g,cb_decode)},atob=function(N){return _atob(String(N).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(M){return(M.constructor===buffer.constructor?M:buffer.from(M,"base64")).toString()}:function(M){return(M.constructor===buffer.constructor?M:new buffer(M,"base64")).toString()}:function(M){return btou(_atob(M))},decode=function(N){return _decode(String(N).replace(/[-_]/g,function(n){return n=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var N=global.Base64;return global.Base64=_Base64,N};if(global.Base64={VERSION:version,atob,btoa,fromBase64:decode,toBase64:encode,utob,encode,encodeURI,btou,decode,noConflict,__buffer__:buffer},typeof Object.defineProperty=="function"){var noEnum=function(N){return{value:N,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(M){return encode(this,M)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global.Meteor&&(Base64=global.Base64),typeof module!="undefined"&&module.exports?module.exports.Base64=global.Base64:typeof define=="function"&&define.amd&&define([],function(){return global.Base64}),{Base64:global.Base64}})}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],200:[function(M,N,n){/*!
* merge-descriptors
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/"use strict";N.exports=p;var v=Object.prototype.hasOwnProperty;function p(S,m,g){if(!S)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return g===void 0&&(g=!0),Object.getOwnPropertyNames(m).forEach(function(d){if(!g&&v.call(S,d))return;var c=Object.getOwnPropertyDescriptor(m,d);Object.defineProperty(S,d,c)}),S}},{}],201:[function(M,N,n){"use strict";function v(){this._types=Object.create(null),this._extensions=Object.create(null);for(var p=0;p<arguments.length;p++)this.define(arguments[p]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}v.prototype.define=function(p,S){for(var m in p){var g=p[m].map(function(c){return c.toLowerCase()});m=m.toLowerCase();for(var f=0;f<g.length;f++){var d=g[f];if(d[0]=="*")continue;if(!S&&d in this._types)throw new Error('Attempt to change mapping for "'+d+'" extension from "'+this._types[d]+'" to "'+m+'". Pass `force=true` to allow this, otherwise remove "'+d+'" from the list of extensions for "'+m+'".');this._types[d]=m}if(S||!this._extensions[m]){var d=g[0];this._extensions[m]=d[0]!="*"?d:d.substr(1)}}},v.prototype.getType=function(p){p=String(p);var S=p.replace(/^.*[/\\]/,"").toLowerCase(),m=S.replace(/^.*\./,"").toLowerCase(),g=S.length<p.length,f=m.length<S.length-1;return(f||!g)&&this._types[m]||null},v.prototype.getExtension=function(p){return p=/^\s*([^;\s]*)/.test(p)&&RegExp.$1,p&&this._extensions[p.toLowerCase()]||null},N.exports=v},{}],202:[function(M,N,n){"use strict";var v=M("./Mime");N.exports=new v(M("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(M,N,n){N.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],204:[function(M,N,n){var v=1e3,p=v*60,S=p*60,m=S*24,g=m*7,f=m*365.25;N.exports=function(t,a){a=a||{};var e=typeof t;if(e==="string"&&t.length>0)return d(t);if(e==="number"&&isFinite(t))return a.long?o(t):c(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function d(t){if(t=String(t),t.length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!a)return;var e=parseFloat(a[1]),l=(a[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return e*f;case"weeks":case"week":case"w":return e*g;case"days":case"day":case"d":return e*m;case"hours":case"hour":case"hrs":case"hr":case"h":return e*S;case"minutes":case"minute":case"mins":case"min":case"m":return e*p;case"seconds":case"second":case"secs":case"sec":case"s":return e*v;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}function c(t){var a=Math.abs(t);return a>=m?Math.round(t/m)+"d":a>=S?Math.round(t/S)+"h":a>=p?Math.round(t/p)+"m":a>=v?Math.round(t/v)+"s":t+"ms"}function o(t){var a=Math.abs(t);return a>=m?i(t,a,m,"day"):a>=S?i(t,a,S,"hour"):a>=p?i(t,a,p,"minute"):a>=v?i(t,a,v,"second"):t+" ms"}function i(t,a,e,l){var r=a>=e*1.5;return Math.round(t/e)+" "+l+(r?"s":"")}},{}],205:[function(M,N,n){(function(v){function p(f,d){for(var c=0,o=f.length-1;o>=0;o--){var i=f[o];i==="."?f.splice(o,1):i===".."?(f.splice(o,1),c++):c&&(f.splice(o,1),c--)}if(d)for(;c--;c)f.unshift("..");return f}n.resolve=function(){for(var f="",d=!1,c=arguments.length-1;c>=-1&&!d;c--){var o=c>=0?arguments[c]:v.cwd();if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;f=o+"/"+f,d=o.charAt(0)==="/"}return f=p(m(f.split("/"),function(i){return!!i}),!d).join("/"),(d?"/":"")+f||"."},n.normalize=function(f){var d=n.isAbsolute(f),c=g(f,-1)==="/";return f=p(m(f.split("/"),function(o){return!!o}),!d).join("/"),!f&&!d&&(f="."),f&&c&&(f+="/"),(d?"/":"")+f},n.isAbsolute=function(f){return f.charAt(0)==="/"},n.join=function(){var f=Array.prototype.slice.call(arguments,0);return n.normalize(m(f,function(d,c){if(typeof d!="string")throw new TypeError("Arguments to path.join must be strings");return d}).join("/"))},n.relative=function(f,d){f=n.resolve(f).substr(1),d=n.resolve(d).substr(1);function c(r){for(var s=0;s<r.length&&!(r[s]!=="");s++);for(var u=r.length-1;u>=0&&!(r[u]!=="");u--);return s>u?[]:r.slice(s,u-s+1)}for(var o=c(f.split("/")),i=c(d.split("/")),t=Math.min(o.length,i.length),a=t,e=0;e<t;e++)if(o[e]!==i[e]){a=e;break}for(var l=[],e=a;e<o.length;e++)l.push("..");return l=l.concat(i.slice(a)),l.join("/")},n.sep="/",n.delimiter=":",n.dirname=function(f){if(typeof f!="string"&&(f=f+""),f.length===0)return".";for(var d=f.charCodeAt(0),c=d===47,o=-1,i=!0,t=f.length-1;t>=1;--t)if(d=f.charCodeAt(t),d===47){if(!i){o=t;break}}else i=!1;return o===-1?c?"/":".":c&&o===1?"/":f.slice(0,o)};function S(f){typeof f!="string"&&(f=f+"");var d=0,c=-1,o=!0,i;for(i=f.length-1;i>=0;--i)if(f.charCodeAt(i)===47){if(!o){d=i+1;break}}else c===-1&&(o=!1,c=i+1);return c===-1?"":f.slice(d,c)}n.basename=function(f,d){var c=S(f);return d&&c.substr(-1*d.length)===d&&(c=c.substr(0,c.length-d.length)),c},n.extname=function(f){typeof f!="string"&&(f=f+"");for(var d=-1,c=0,o=-1,i=!0,t=0,a=f.length-1;a>=0;--a){var e=f.charCodeAt(a);if(e===47){if(!i){c=a+1;break}continue}o===-1&&(i=!1,o=a+1),e===46?d===-1?d=a:t!==1&&(t=1):d!==-1&&(t=-1)}return d===-1||o===-1||t===0||t===1&&d===o-1&&d===c+1?"":f.slice(d,o)};function m(f,d){if(f.filter)return f.filter(d);for(var c=[],o=0;o<f.length;o++)d(f[o],o,f)&&c.push(f[o]);return c}var g="ab".substr(-1)==="b"?function(f,d,c){return f.substr(d,c)}:function(f,d,c){return d<0&&(d=f.length+d),f.substr(d,c)}}).call(this,M("_process"))},{_process:208}],206:[function(M,N,n){(function(v){/*!
* Platform.js <https://mths.be/platform>
* Copyright 2014-2018 Benjamin Tan <https://bnjmnt4n.now.sh/>
* Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <https://mths.be/mit>
*/(function(){"use strict";var p={function:!0,object:!0},S=p[typeof window]&&window||this,m=S,g=p[typeof n]&&n,f=p[typeof N]&&N&&!N.nodeType&&N,d=g&&f&&typeof v=="object"&&v;d&&(d.global===d||d.window===d||d.self===d)&&(S=d);var c=Math.pow(2,53)-1,o=/\bOpera/,i=this,t=Object.prototype,a=t.hasOwnProperty,e=t.toString;function l(E){return E=String(E),E.charAt(0).toUpperCase()+E.slice(1)}function r(E,C,_){var L={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return C&&_&&/^Win/i.test(E)&&!/^Windows Phone /i.test(E)&&(L=L[/[\d.]+$/.exec(E)])&&(E="Windows "+L),E=String(E),C&&_&&(E=E.replace(RegExp(C,"i"),_)),E=u(E.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),E}function s(E,C){var _=-1,L=E?E.length:0;if(typeof L=="number"&&L>-1&&L<=c)for(;++_<L;)C(E[_],_,E);else h(E,C)}function u(E){return E=x(E),/^(?:webOS|i(?:OS|P))/.test(E)?E:l(E)}function h(E,C){for(var _ in E)a.call(E,_)&&C(E[_],_,E)}function A(E){return E==null?l(E):e.call(E).slice(8,-1)}function y(E,C){var _=E!=null?typeof E[C]:"number";return!/^(?:boolean|number|string|undefined)$/.test(_)&&(_=="object"?!!E[C]:!0)}function w(E){return String(E).replace(/([ -])(?!$)/g,"$1?")}function b(E,C){var _=null;return s(E,function(L,P){_=C(_,L,P,E)}),_}function x(E){return String(E).replace(/^ +| +$/g,"")}function O(E){var C=S,_=E&&typeof E=="object"&&A(E)!="String";_&&(C=E,E=null);var L=C.navigator||{},P=L.userAgent||"";E||(E=P);var k=_||i==m,F=_?!!L.likeChrome:/\bChrome\b/.test(E)&&!/internal|\n/i.test(e.toString()),j="Object",z=_?j:"ScriptBridgingProxyObject",R=_?j:"Environment",U=_&&C.java?"JavaPackage":A(C.java),B=_?j:"RuntimeObject",H=/\bJava/.test(U)&&C.java,K=H&&A(C.environment)==R,V=H?"a":"\u03B1",W=H?"b":"\u03B2",G=C.document||{},re=C.operamini||C.opera,ye=o.test(ye=_&&re?re["[[Class]]"]:A(re))?ye:re=null,$,ve=E,Ce=[],Se=null,Ke=E==P,ue=Ke&&re&&typeof re.version=="function"&&re.version(),Le,ee=oe([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),le=be(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),et=Be([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),Re=ce({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),Ae=Te(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function oe(Oe){return b(Oe,function(Je,Et){return Je||RegExp("\\b"+(Et.pattern||w(Et))+"\\b","i").exec(E)&&(Et.label||Et)})}function ce(Oe){return b(Oe,function(Je,Et,Ze){return Je||(Et[et]||Et[/^[a-z]+(?: +[a-z]+\b)*/i.exec(et)]||RegExp("\\b"+w(Ze)+"(?:\\b|\\w*\\d)","i").exec(E))&&Ze})}function be(Oe){return b(Oe,function(Je,Et){return Je||RegExp("\\b"+(Et.pattern||w(Et))+"\\b","i").exec(E)&&(Et.label||Et)})}function Te(Oe){return b(Oe,function(Je,Et){var Ze=Et.pattern||w(Et);return!Je&&(Je=RegExp("\\b"+Ze+"(?:/[\\d.]+|[ \\w.]*)","i").exec(E))&&(Je=r(Je,Ze,Et.label||Et)),Je})}function Be(Oe){return b(Oe,function(Je,Et){var Ze=Et.pattern||w(Et);return!Je&&(Je=RegExp("\\b"+Ze+" *\\d+[.\\w_]*","i").exec(E)||RegExp("\\b"+Ze+" *\\w+-[\\w]*","i").exec(E)||RegExp("\\b"+Ze+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(E))&&((Je=String(Et.label&&!RegExp(Ze,"i").test(Et.label)?Et.label:Je).split("/"))[1]&&!/[\d.]+/.test(Je[0])&&(Je[0]+=" "+Je[1]),Et=Et.label||Et,Je=u(Je[0].replace(RegExp(Ze,"i"),Et).replace(RegExp("; *(?:"+Et+"[_-])?","i")," ").replace(RegExp("("+Et+")[-_.]?(\\w)","i"),"$1 $2"))),Je})}function De(Oe){return b(Oe,function(Je,Et){return Je||(RegExp(Et+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(E)||0)[1]||null})}function ae(){return this.description||""}if(ee&&(ee=[ee]),Re&&!et&&(et=Be([Re])),($=/\bGoogle TV\b/.exec(et))&&(et=$[0]),/\bSimulator\b/i.test(E)&&(et=(et?et+" ":"")+"Simulator"),le=="Opera Mini"&&/\bOPiOS\b/.test(E)&&Ce.push("running in Turbo/Uncompressed mode"),le=="IE"&&/\blike iPhone OS\b/.test(E)?($=O(E.replace(/like iPhone OS/,"")),Re=$.manufacturer,et=$.product):/^iP/.test(et)?(le||(le="Safari"),Ae="iOS"+(($=/ OS ([\d_]+)/i.exec(E))?" "+$[1].replace(/_/g,"."):"")):le=="Konqueror"&&!/buntu/i.test(Ae)?Ae="Kubuntu":Re&&Re!="Google"&&(/Chrome/.test(le)&&!/\bMobile Safari\b/i.test(E)||/\bVita\b/.test(et))||/\bAndroid\b/.test(Ae)&&/^Chrome/.test(le)&&/\bVersion\//i.test(E)?(le="Android Browser",Ae=/\bAndroid\b/.test(Ae)?Ae:"Android"):le=="Silk"?(/\bMobi/i.test(E)||(Ae="Android",Ce.unshift("desktop mode")),/Accelerated *= *true/i.test(E)&&Ce.unshift("accelerated")):le=="PaleMoon"&&($=/\bFirefox\/([\d.]+)\b/.exec(E))?Ce.push("identifying as Firefox "+$[1]):le=="Firefox"&&($=/\b(Mobile|Tablet|TV)\b/i.exec(E))?(Ae||(Ae="Firefox OS"),et||(et=$[1])):!le||($=!/\bMinefield\b/i.test(E)&&/\b(?:Firefox|Safari)\b/.exec(le))?(le&&!et&&/[\/,]|^[^(]+?\)/.test(E.slice(E.indexOf($+"/")+8))&&(le=null),($=et||Re||Ae)&&(et||Re||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Ae))&&(le=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Ae)?Ae:$)+" Browser")):le=="Electron"&&($=(/\bChrome\/([\d.]+)\b/.exec(E)||0)[1])&&Ce.push("Chromium "+$),ue||(ue=De(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",w(le),"(?:Firefox|Minefield|NetFront)"])),($=ee=="iCab"&&parseFloat(ue)>3&&"WebKit"||/\bOpera\b/.test(le)&&(/\bOPR\b/.test(E)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(E)&&!/^(?:Trident|EdgeHTML)$/.test(ee)&&"WebKit"||!ee&&/\bMSIE\b/i.test(E)&&(Ae=="Mac OS"?"Tasman":"Trident")||ee=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(le)&&"NetFront")&&(ee=[$]),le=="IE"&&($=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(E)||0)[1])?(le+=" Mobile",Ae="Windows Phone "+(/\+$/.test($)?$:$+".x"),Ce.unshift("desktop mode")):/\bWPDesktop\b/i.test(E)?(le="IE Mobile",Ae="Windows Phone 8.x",Ce.unshift("desktop mode"),ue||(ue=(/\brv:([\d.]+)/.exec(E)||0)[1])):le!="IE"&&ee=="Trident"&&($=/\brv:([\d.]+)/.exec(E))&&(le&&Ce.push("identifying as "+le+(ue?" "+ue:"")),le="IE",ue=$[1]),Ke){if(y(C,"global"))if(H&&($=H.lang.System,ve=$.getProperty("os.arch"),Ae=Ae||$.getProperty("os.name")+" "+$.getProperty("os.version")),K){try{ue=C.require("ringo/engine").version.join("."),le="RingoJS"}catch(Oe){($=C.system)&&$.global.system==C.system&&(le="Narwhal",Ae||(Ae=$[0].os||null))}le||(le="Rhino")}else typeof C.process=="object"&&!C.process.browser&&($=C.process)&&(typeof $.versions=="object"&&(typeof $.versions.electron=="string"?(Ce.push("Node "+$.versions.node),le="Electron",ue=$.versions.electron):typeof $.versions.nw=="string"&&(Ce.push("Chromium "+ue,"Node "+$.versions.node),le="NW.js",ue=$.versions.nw)),le||(le="Node.js",ve=$.arch,Ae=$.platform,ue=/[\d.]+/.exec($.version),ue=ue?ue[0]:null));else A($=C.runtime)==z?(le="Adobe AIR",Ae=$.flash.system.Capabilities.os):A($=C.phantom)==B?(le="PhantomJS",ue=($=$.version||null)&&$.major+"."+$.minor+"."+$.patch):typeof G.documentMode=="number"&&($=/\bTrident\/(\d+)/i.exec(E))?(ue=[ue,G.documentMode],($=+$[1]+4)!=ue[1]&&(Ce.push("IE "+ue[1]+" mode"),ee&&(ee[1]=""),ue[1]=$),ue=le=="IE"?String(ue[1].toFixed(1)):ue[0]):typeof G.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(le)&&(Ce.push("masking as "+le+" "+ue),le="IE",ue="11.0",ee=["Trident"],Ae="Windows");Ae=Ae&&u(Ae)}if(ue&&($=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ue)||/(?:alpha|beta)(?: ?\d)?/i.exec(E+";"+(Ke&&L.appMinorVersion))||/\bMinefield\b/i.test(E)&&"a")&&(Se=/b/i.test($)?"beta":"alpha",ue=ue.replace(RegExp($+"\\+?$"),"")+(Se=="beta"?W:V)+(/\d+\+?/.exec($)||"")),le=="Fennec"||le=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(Ae))le="Firefox Mobile";else if(le=="Maxthon"&&ue)ue=ue.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(et))et=="Xbox 360"&&(Ae=null),et=="Xbox 360"&&/\bIEMobile\b/.test(E)&&Ce.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(le)||le&&!et&&!/Browser|Mobi/.test(le))&&(Ae=="Windows CE"||/Mobi/i.test(E)))le+=" Mobile";else if(le=="IE"&&Ke)try{C.external===null&&Ce.unshift("platform preview")}catch(Oe){Ce.unshift("embedded")}else(/\bBlackBerry\b/.test(et)||/\bBB10\b/.test(E))&&($=(RegExp(et.replace(/ +/g," *")+"/([.\\d]+)","i").exec(E)||0)[1]||ue)?($=[$,/BB10/.test(E)],Ae=($[1]?(et=null,Re="BlackBerry"):"Device Software")+" "+$[0],ue=null):this!=h&&et!="Wii"&&(Ke&&re||/Opera/.test(le)&&/\b(?:MSIE|Firefox)\b/i.test(E)||le=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ae)||le=="IE"&&(Ae&&!/^Win/.test(Ae)&&ue>5.5||/\bWindows XP\b/.test(Ae)&&ue>8||ue==8&&!/\bTrident\b/.test(E)))&&!o.test($=O.call(h,E.replace(o,"")+";"))&&$.name&&($="ing as "+$.name+(($=$.version)?" "+$:""),o.test(le)?(/\bIE\b/.test($)&&Ae=="Mac OS"&&(Ae=null),$="identify"+$):($="mask"+$,ye?le=u(ye.replace(/([a-z])([A-Z])/g,"$1 $2")):le="Opera",/\bIE\b/.test($)&&(Ae=null),Ke||(ue=null)),ee=["Presto"],Ce.push($));($=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(E)||0)[1])&&($=[parseFloat($.replace(/\.(\d)$/,".0$1")),$],le=="Safari"&&$[1].slice(-1)=="+"?(le="WebKit Nightly",Se="alpha",ue=$[1].slice(0,-1)):(ue==$[1]||ue==($[2]=(/\bSafari\/([\d.]+\+?)/i.exec(E)||0)[1]))&&(ue=null),$[1]=(/\bChrome\/([\d.]+)/i.exec(E)||0)[1],$[0]==537.36&&$[2]==537.36&&parseFloat($[1])>=28&&ee=="WebKit"&&(ee=["Blink"]),!Ke||!F&&!$[1]?(ee&&(ee[1]="like Safari"),$=($=$[0],$<400?1:$<500?2:$<526?3:$<533?4:$<534?"4+":$<535?5:$<537?6:$<538?7:$<601?8:"8")):(ee&&(ee[1]="like Chrome"),$=$[1]||($=$[0],$<530?1:$<532?2:$<532.05?3:$<533?4:$<534.03?5:$<534.07?6:$<534.1?7:$<534.13?8:$<534.16?9:$<534.24?10:$<534.3?11:$<535.01?12:$<535.02?"13+":$<535.07?15:$<535.11?16:$<535.19?17:$<536.05?18:$<536.1?19:$<537.01?20:$<537.11?"21+":$<537.13?23:$<537.18?24:$<537.24?25:$<537.36?26:ee!="Blink"?"27":"28")),ee&&(ee[1]+=" "+($+=typeof $=="number"?".x":/[.+]/.test($)?"":"+")),le=="Safari"&&(!ue||parseInt(ue)>45)&&(ue=$)),le=="Opera"&&($=/\bzbov|zvav$/.exec(Ae))?(le+=" ",Ce.unshift("desktop mode"),$=="zvav"?(le+="Mini",ue=null):le+="Mobile",Ae=Ae.replace(RegExp(" *"+$+"$"),"")):le=="Safari"&&/\bChrome\b/.exec(ee&&ee[1])&&(Ce.unshift("desktop mode"),le="Chrome Mobile",ue=null,/\bOS X\b/.test(Ae)?(Re="Apple",Ae="iOS 4.3+"):Ae=null),ue&&ue.indexOf($=/[\d.]+$/.exec(Ae))==0&&E.indexOf("/"+$+"-")>-1&&(Ae=x(Ae.replace($,""))),ee&&!/\b(?:Avant|Nook)\b/.test(le)&&(/Browser|Lunascape|Maxthon/.test(le)||le!="Safari"&&/^iOS/.test(Ae)&&/\bSafari\b/.test(ee[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(le)&&ee[1])&&(($=ee[ee.length-1])&&Ce.push($)),Ce.length&&(Ce=["("+Ce.join("; ")+")"]),Re&&et&&et.indexOf(Re)<0&&Ce.push("on "+Re),et&&Ce.push((/^on /.test(Ce[Ce.length-1])?"":"on ")+et),Ae&&($=/ ([\d.+]+)$/.exec(Ae),Le=$&&Ae.charAt(Ae.length-$[0].length-1)=="/",Ae={architecture:32,family:$&&!Le?Ae.replace($[0],""):Ae,version:$?$[1]:null,toString:function(){var Je=this.version;return this.family+(Je&&!Le?" "+Je:"")+(this.architecture==64?" 64-bit":"")}}),($=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ve))&&!/\bi686\b/i.test(ve)?(Ae&&(Ae.architecture=64,Ae.family=Ae.family.replace(RegExp(" *"+$),"")),le&&(/\bWOW64\b/i.test(E)||Ke&&/\w(?:86|32)$/.test(L.cpuClass||L.platform)&&!/\bWin64; x64\b/i.test(E))&&Ce.unshift("32-bit")):Ae&&/^OS X/.test(Ae.family)&&le=="Chrome"&&parseFloat(ue)>=39&&(Ae.architecture=64),E||(E=null);var fe={};return fe.description=E,fe.layout=ee&&ee[0],fe.manufacturer=Re,fe.name=le,fe.prerelease=Se,fe.product=et,fe.ua=E,fe.version=le&&ue,fe.os=Ae||{architecture:null,family:null,version:null,toString:function(){return"null"}},fe.parse=O,fe.toString=ae,fe.version&&Ce.unshift(ue),fe.name&&Ce.unshift(le),Ae&&le&&!(Ae==String(Ae).split(" ")[0]&&(Ae==le.split(" ")[0]||et))&&Ce.push(et?"("+Ae+")":"on "+Ae),Ce.length&&(fe.description=Ce.join(" ")),fe}var T=O();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(S.platform=T,define(function(){return T})):g&&f?h(T,function(E,C){g[C]=E}):S.platform=T}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(M,N,n){(function(v){"use strict";typeof v=="undefined"||!v.version||v.version.indexOf("v0.")===0||v.version.indexOf("v1.")===0&&v.version.indexOf("v1.8.")!==0?N.exports={nextTick:p}:N.exports=v;function p(S,m,g,f){if(typeof S!="function")throw new TypeError('"callback" argument must be a function');var d=arguments.length,c,o;switch(d){case 0:case 1:return v.nextTick(S);case 2:return v.nextTick(function(){S.call(null,m)});case 3:return v.nextTick(function(){S.call(null,m,g)});case 4:return v.nextTick(function(){S.call(null,m,g,f)});default:for(c=new Array(d-1),o=0;o<c.length;)c[o++]=arguments[o];return v.nextTick(function(){S.apply(null,c)})}}}).call(this,M("_process"))},{_process:208}],208:[function(M,N,n){var v=N.exports={},p,S;function m(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?p=setTimeout:p=m}catch(s){p=m}try{typeof clearTimeout=="function"?S=clearTimeout:S=g}catch(s){S=g}})();function f(s){if(p===setTimeout)return setTimeout(s,0);if((p===m||!p)&&setTimeout)return p=setTimeout,setTimeout(s,0);try{return p(s,0)}catch(u){try{return p.call(null,s,0)}catch(h){return p.call(this,s,0)}}}function d(s){if(S===clearTimeout)return clearTimeout(s);if((S===g||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(s);try{return S(s)}catch(u){try{return S.call(null,s)}catch(h){return S.call(this,s)}}}var c=[],o=!1,i,t=-1;function a(){if(!o||!i)return;o=!1,i.length?c=i.concat(c):t=-1,c.length&&e()}function e(){if(o)return;var s=f(a);o=!0;for(var u=c.length;u;){for(i=c,c=[];++t<u;)i&&i[t].run();t=-1,u=c.length}i=null,o=!1,d(s)}v.nextTick=function(s){var u=new Array(arguments.length-1);if(arguments.length>1)for(var h=1;h<arguments.length;h++)u[h-1]=arguments[h];c.push(new l(s,u)),c.length===1&&!o&&f(e)};function l(s,u){this.fun=s,this.array=u}l.prototype.run=function(){this.fun.apply(null,this.array)},v.title="browser",v.browser=!0,v.env={},v.argv=[],v.version="",v.versions={};function r(){}v.on=r,v.addListener=r,v.once=r,v.off=r,v.removeListener=r,v.removeAllListeners=r,v.emit=r,v.prependListener=r,v.prependOnceListener=r,v.listeners=function(s){return[]},v.binding=function(s){throw new Error("process.binding is not supported")},v.cwd=function(){return"/"},v.chdir=function(s){throw new Error("process.chdir is not supported")},v.umask=function(){return 0}},{}],209:[function(M,N,n){(function(v){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(p){var S=typeof n=="object"&&n&&!n.nodeType&&n,m=typeof N=="object"&&N&&!N.nodeType&&N,g=typeof v=="object"&&v;(g.global===g||g.window===g||g.self===g)&&(p=g);var f,d=2147483647,c=36,o=1,i=26,t=38,a=700,e=72,l=128,r="-",s=/^xn--/,u=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=c-o,w=Math.floor,b=String.fromCharCode,x;function O(U){throw new RangeError(A[U])}function T(U,B){for(var H=U.length,K=[];H--;)K[H]=B(U[H]);return K}function E(U,B){var H=U.split("@"),K="";H.length>1&&(K=H[0]+"@",U=H[1]),U=U.replace(h,".");var V=U.split("."),W=T(V,B).join(".");return K+W}function C(U){for(var B=[],H=0,K=U.length,V,W;H<K;)V=U.charCodeAt(H++),V>=55296&&V<=56319&&H<K?(W=U.charCodeAt(H++),(W&64512)==56320?B.push(((V&1023)<<10)+(W&1023)+65536):(B.push(V),H--)):B.push(V);return B}function _(U){return T(U,function(B){var H="";return B>65535&&(B-=65536,H+=b(B>>>10&1023|55296),B=56320|B&1023),H+=b(B),H}).join("")}function L(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:c}function P(U,B){return U+22+75*(U<26)-((B!=0)<<5)}function k(U,B,H){var K=0;for(U=H?w(U/a):U>>1,U+=w(U/B);U>y*i>>1;K+=c)U=w(U/y);return w(K+(y+1)*U/(U+t))}function F(U){var B=[],H=U.length,K,V=0,W=l,G=e,re,ye,$,ve,Ce,Se,Ke,ue,Le;for(re=U.lastIndexOf(r),re<0&&(re=0),ye=0;ye<re;++ye)U.charCodeAt(ye)>=128&&O("not-basic"),B.push(U.charCodeAt(ye));for($=re>0?re+1:0;$<H;){for(ve=V,Ce=1,Se=c;!($>=H&&O("invalid-input"),Ke=L(U.charCodeAt($++)),(Ke>=c||Ke>w((d-V)/Ce))&&O("overflow"),V+=Ke*Ce,ue=Se<=G?o:Se>=G+i?i:Se-G,Ke<ue);Se+=c)Le=c-ue,Ce>w(d/Le)&&O("overflow"),Ce*=Le;K=B.length+1,G=k(V-ve,K,ve==0),w(V/K)>d-W&&O("overflow"),W+=w(V/K),V%=K,B.splice(V++,0,W)}return _(B)}function j(U){var B,H,K,V,W,G,re,ye,$,ve,Ce,Se=[],Ke,ue,Le,ee;for(U=C(U),Ke=U.length,B=l,H=0,W=e,G=0;G<Ke;++G)Ce=U[G],Ce<128&&Se.push(b(Ce));for(K=V=Se.length,V&&Se.push(r);K<Ke;){for(re=d,G=0;G<Ke;++G)Ce=U[G],Ce>=B&&Ce<re&&(re=Ce);for(ue=K+1,re-B>w((d-H)/ue)&&O("overflow"),H+=(re-B)*ue,B=re,G=0;G<Ke;++G)if(Ce=U[G],Ce<B&&++H>d&&O("overflow"),Ce==B){for(ye=H,$=c;!(ve=$<=W?o:$>=W+i?i:$-W,ye<ve);$+=c)ee=ye-ve,Le=c-ve,Se.push(b(P(ve+ee%Le,0))),ye=w(ee/Le);Se.push(b(P(ye,0))),W=k(H,ue,K==V),H=0,++K}++H,++B}return Se.join("")}function z(U){return E(U,function(B){return s.test(B)?F(B.slice(4).toLowerCase()):B})}function R(U){return E(U,function(B){return u.test(B)?"xn--"+j(B):B})}if(f={version:"1.4.1",ucs2:{decode:C,encode:_},decode:F,encode:j,toASCII:R,toUnicode:z},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return f});else if(S&&m)if(N.exports==S)m.exports=f;else for(x in f)f.hasOwnProperty(x)&&(S[x]=f[x]);else p.punycode=f})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(M,N,n){"use strict";function v(S,m){return Object.prototype.hasOwnProperty.call(S,m)}N.exports=function(S,m,g,f){m=m||"&",g=g||"=";var d={};if(typeof S!="string"||S.length===0)return d;var c=/\+/g;S=S.split(m);var o=1e3;f&&typeof f.maxKeys=="number"&&(o=f.maxKeys);var i=S.length;o>0&&i>o&&(i=o);for(var t=0;t<i;++t){var a=S[t].replace(c,"%20"),e=a.indexOf(g),l,r,s,u;e>=0?(l=a.substr(0,e),r=a.substr(e+1)):(l=a,r=""),s=decodeURIComponent(l),u=decodeURIComponent(r),v(d,s)?p(d[s])?d[s].push(u):d[s]=[d[s],u]:d[s]=u}return d};var p=Array.isArray||function(S){return Object.prototype.toString.call(S)==="[object Array]"}},{}],211:[function(M,N,n){"use strict";var v=function(f){switch(typeof f){case"string":return f;case"boolean":return f?"true":"false";case"number":return isFinite(f)?f:"";default:return""}};N.exports=function(g,f,d,c){return f=f||"&",d=d||"=",g===null&&(g=void 0),typeof g=="object"?S(m(g),function(o){var i=encodeURIComponent(v(o))+d;return p(g[o])?S(g[o],function(t){return i+encodeURIComponent(v(t))}).join(f):i+encodeURIComponent(v(g[o]))}).join(f):c?encodeURIComponent(v(c))+d+encodeURIComponent(v(g)):""};var p=Array.isArray||function(g){return Object.prototype.toString.call(g)==="[object Array]"};function S(g,f){if(g.map)return g.map(f);for(var d=[],c=0;c<g.length;c++)d.push(f(g[c],c));return d}var m=Object.keys||function(g){var f=[];for(var d in g)Object.prototype.hasOwnProperty.call(g,d)&&f.push(d);return f}},{}],212:[function(M,N,n){"use strict";n.decode=n.parse=M("./decode"),n.encode=n.stringify=M("./encode")},{"./decode":210,"./encode":211}],213:[function(M,N,n){N.exports=M("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=g(v),S=M("babel-runtime/core-js/object/keys"),m=g(S);function g(u){return u&&u.__esModule?u:{default:u}}var f=M("process-nextick-args"),d=m.default||function(u){var h=[];for(var A in u)h.push(A);return h};N.exports=l;var c=(0,p.default)(M("core-util-is"));c.inherits=M("inherits");var o=M("./_stream_readable"),i=M("./_stream_writable");c.inherits(l,o);for(var t=d(i.prototype),a=0;a<t.length;a++){var e=t[a];l.prototype[e]||(l.prototype[e]=i.prototype[e])}function l(u){if(!(this instanceof l))return new l(u);o.call(this,u),i.call(this,u),u&&u.readable===!1&&(this.readable=!1),u&&u.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,u&&u.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",r)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function r(){if(this.allowHalfOpen||this._writableState.ended)return;f.nextTick(s,this)}function s(u){u.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(h){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=h,this._writableState.destroyed=h}}),l.prototype._destroy=function(u,h){this.push(null),this.end(),f.nextTick(h,u)}},{"./_stream_readable":216,"./_stream_writable":218,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60,"core-util-is":189,inherits:196,"process-nextick-args":207}],215:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(d){return d&&d.__esModule?d:{default:d}}N.exports=f;var m=M("./_stream_transform"),g=(0,p.default)(M("core-util-is"));g.inherits=M("inherits"),g.inherits(f,m);function f(d){if(!(this instanceof f))return new f(d);m.call(this,d)}f.prototype._transform=function(d,c,o){o(null,d)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(M,N,n){(function(v,p){"use strict";var S=M("babel-runtime/core-js/object/get-prototype-of"),m=d(S),g=M("babel-runtime/core-js/object/create"),f=d(g);function d(ee){return ee&&ee.__esModule?ee:{default:ee}}var c=M("process-nextick-args");N.exports=C;var o=M("isarray"),i;C.ReadableState=E;var t=M("events").EventEmitter,a=function(le,et){return le.listeners(et).length},e=M("./internal/streams/stream"),l=M("safe-buffer").Buffer,r=p.Uint8Array||function(){};function s(ee){return l.from(ee)}function u(ee){return l.isBuffer(ee)||ee instanceof r}var h=(0,f.default)(M("core-util-is"));h.inherits=M("inherits");var A=M("util"),y=void 0;A&&A.debuglog?y=A.debuglog("stream"):y=function(){};var w=M("./internal/streams/BufferList"),b=M("./internal/streams/destroy"),x;h.inherits(C,e);var O=["error","close","destroy","pause","resume"];function T(ee,le,et){if(typeof ee.prependListener=="function")return ee.prependListener(le,et);!ee._events||!ee._events[le]?ee.on(le,et):o(ee._events[le])?ee._events[le].unshift(et):ee._events[le]=[et,ee._events[le]]}function E(ee,le){i=i||M("./_stream_duplex"),ee=ee||{};var et=le instanceof i;this.objectMode=!!ee.objectMode,et&&(this.objectMode=this.objectMode||!!ee.readableObjectMode);var Re=ee.highWaterMark,Ae=ee.readableHighWaterMark,oe=this.objectMode?16:16*1024;Re||Re===0?this.highWaterMark=Re:et&&(Ae||Ae===0)?this.highWaterMark=Ae:this.highWaterMark=oe,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new w,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ee.encoding&&(x||(x=M("string_decoder/").StringDecoder),this.decoder=new x(ee.encoding),this.encoding=ee.encoding)}function C(ee){if(i=i||M("./_stream_duplex"),!(this instanceof C))return new C(ee);this._readableState=new E(ee,this),this.readable=!0,ee&&(typeof ee.read=="function"&&(this._read=ee.read),typeof ee.destroy=="function"&&(this._destroy=ee.destroy)),e.call(this)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(le){if(!this._readableState)return;this._readableState.destroyed=le}}),C.prototype.destroy=b.destroy,C.prototype._undestroy=b.undestroy,C.prototype._destroy=function(ee,le){this.push(null),le(ee)},C.prototype.push=function(ee,le){var et=this._readableState,Re;return et.objectMode?Re=!0:typeof ee=="string"&&(le=le||et.defaultEncoding,le!==et.encoding&&(ee=l.from(ee,le),le=""),Re=!0),_(this,ee,le,!1,Re)},C.prototype.unshift=function(ee){return _(this,ee,null,!0,!1)};function _(ee,le,et,Re,Ae){var oe=ee._readableState;if(le===null)oe.reading=!1,R(ee,oe);else{var ce;Ae||(ce=P(oe,le)),ce?ee.emit("error",ce):oe.objectMode||le&&le.length>0?(typeof le!="string"&&!oe.objectMode&&(0,m.default)(le)!==l.prototype&&(le=s(le)),Re?oe.endEmitted?ee.emit("error",new Error("stream.unshift() after end event")):L(ee,oe,le,!0):oe.ended?ee.emit("error",new Error("stream.push() after EOF")):(oe.reading=!1,oe.decoder&&!et?(le=oe.decoder.write(le),oe.objectMode||le.length!==0?L(ee,oe,le,!1):H(ee,oe)):L(ee,oe,le,!1))):Re||(oe.reading=!1)}return k(oe)}function L(ee,le,et,Re){le.flowing&&le.length===0&&!le.sync?(ee.emit("data",et),ee.read(0)):(le.length+=le.objectMode?1:et.length,Re?le.buffer.unshift(et):le.buffer.push(et),le.needReadable&&U(ee)),H(ee,le)}function P(ee,le){var et;return!u(le)&&typeof le!="string"&&le!==void 0&&!ee.objectMode&&(et=new TypeError("Invalid non-string/buffer chunk")),et}function k(ee){return!ee.ended&&(ee.needReadable||ee.length<ee.highWaterMark||ee.length===0)}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(ee){return x||(x=M("string_decoder/").StringDecoder),this._readableState.decoder=new x(ee),this._readableState.encoding=ee,this};var F=8388608;function j(ee){return ee>=F?ee=F:(ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++),ee}function z(ee,le){return ee<=0||le.length===0&&le.ended?0:le.objectMode?1:ee!==ee?le.flowing&&le.length?le.buffer.head.data.length:le.length:(ee>le.highWaterMark&&(le.highWaterMark=j(ee)),ee<=le.length?ee:le.ended?le.length:(le.needReadable=!0,0))}C.prototype.read=function(ee){y("read",ee),ee=parseInt(ee,10);var le=this._readableState,et=ee;if(ee!==0&&(le.emittedReadable=!1),ee===0&&le.needReadable&&(le.length>=le.highWaterMark||le.ended))return y("read: emitReadable",le.length,le.ended),le.length===0&&le.ended?Ke(this):U(this),null;if(ee=z(ee,le),ee===0&&le.ended)return le.length===0&&Ke(this),null;var Re=le.needReadable;y("need readable",Re),(le.length===0||le.length-ee<le.highWaterMark)&&(Re=!0,y("length less than watermark",Re)),le.ended||le.reading?(Re=!1,y("reading or ended",Re)):Re&&(y("do read"),le.reading=!0,le.sync=!0,le.length===0&&(le.needReadable=!0),this._read(le.highWaterMark),le.sync=!1,le.reading||(ee=z(et,le)));var Ae;return ee>0?Ae=$(ee,le):Ae=null,Ae===null?(le.needReadable=!0,ee=0):le.length-=ee,le.length===0&&(le.ended||(le.needReadable=!0),et!==ee&&le.ended&&Ke(this)),Ae!==null&&this.emit("data",Ae),Ae};function R(ee,le){if(le.ended)return;if(le.decoder){var et=le.decoder.end();et&&et.length&&(le.buffer.push(et),le.length+=le.objectMode?1:et.length)}le.ended=!0,U(ee)}function U(ee){var le=ee._readableState;le.needReadable=!1,le.emittedReadable||(y("emitReadable",le.flowing),le.emittedReadable=!0,le.sync?c.nextTick(B,ee):B(ee))}function B(ee){y("emit readable"),ee.emit("readable"),ye(ee)}function H(ee,le){le.readingMore||(le.readingMore=!0,c.nextTick(K,ee,le))}function K(ee,le){for(var et=le.length;!le.reading&&!le.flowing&&!le.ended&&le.length<le.highWaterMark&&!(y("maybeReadMore read 0"),ee.read(0),et===le.length);)et=le.length;le.readingMore=!1}C.prototype._read=function(ee){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(ee,le){var et=this,Re=this._readableState;switch(Re.pipesCount){case 0:Re.pipes=ee;break;case 1:Re.pipes=[Re.pipes,ee];break;default:Re.pipes.push(ee);break}Re.pipesCount+=1,y("pipe count=%d opts=%j",Re.pipesCount,le);var Ae=(!le||le.end!==!1)&&ee!==v.stdout&&ee!==v.stderr,oe=Ae?be:Ze;Re.endEmitted?c.nextTick(oe):et.once("end",oe),ee.on("unpipe",ce);function ce(Ne,It){y("onunpipe"),Ne===et&&(It&&It.hasUnpiped===!1&&(It.hasUnpiped=!0,De()))}function be(){y("onend"),ee.end()}var Te=V(et);ee.on("drain",Te);var Be=!1;function De(){y("cleanup"),ee.removeListener("close",Je),ee.removeListener("finish",Et),ee.removeListener("drain",Te),ee.removeListener("error",Oe),ee.removeListener("unpipe",ce),et.removeListener("end",be),et.removeListener("end",Ze),et.removeListener("data",fe),Be=!0,Re.awaitDrain&&(!ee._writableState||ee._writableState.needDrain)&&Te()}var ae=!1;et.on("data",fe);function fe(Ne){y("ondata"),ae=!1;var It=ee.write(Ne);It===!1&&!ae&&((Re.pipesCount===1&&Re.pipes===ee||Re.pipesCount>1&&Le(Re.pipes,ee)!==-1)&&!Be&&(y("false write response, pause",et._readableState.awaitDrain),et._readableState.awaitDrain++,ae=!0),et.pause())}function Oe(Ne){y("onerror",Ne),Ze(),ee.removeListener("error",Oe),a(ee,"error")===0&&ee.emit("error",Ne)}T(ee,"error",Oe);function Je(){ee.removeListener("finish",Et),Ze()}ee.once("close",Je);function Et(){y("onfinish"),ee.removeListener("close",Je),Ze()}ee.once("finish",Et);function Ze(){y("unpipe"),et.unpipe(ee)}return ee.emit("pipe",et),Re.flowing||(y("pipe resume"),et.resume()),ee};function V(ee){return function(){var le=ee._readableState;y("pipeOnDrain",le.awaitDrain),le.awaitDrain&&le.awaitDrain--,le.awaitDrain===0&&a(ee,"data")&&(le.flowing=!0,ye(ee))}}C.prototype.unpipe=function(ee){var le=this._readableState,et={hasUnpiped:!1};if(le.pipesCount===0)return this;if(le.pipesCount===1)return ee&&ee!==le.pipes?this:(ee||(ee=le.pipes),le.pipes=null,le.pipesCount=0,le.flowing=!1,ee&&ee.emit("unpipe",this,et),this);if(!ee){var Re=le.pipes,Ae=le.pipesCount;le.pipes=null,le.pipesCount=0,le.flowing=!1;for(var oe=0;oe<Ae;oe++)Re[oe].emit("unpipe",this,et);return this}var ce=Le(le.pipes,ee);return ce===-1?this:(le.pipes.splice(ce,1),le.pipesCount-=1,le.pipesCount===1&&(le.pipes=le.pipes[0]),ee.emit("unpipe",this,et),this)},C.prototype.on=function(ee,le){var et=e.prototype.on.call(this,ee,le);if(ee==="data")this._readableState.flowing!==!1&&this.resume();else if(ee==="readable"){var Re=this._readableState;!Re.endEmitted&&!Re.readableListening&&(Re.readableListening=Re.needReadable=!0,Re.emittedReadable=!1,Re.reading?Re.length&&U(this):c.nextTick(W,this))}return et},C.prototype.addListener=C.prototype.on;function W(ee){y("readable nexttick read 0"),ee.read(0)}C.prototype.resume=function(){var ee=this._readableState;return ee.flowing||(y("resume"),ee.flowing=!0,G(this,ee)),this};function G(ee,le){le.resumeScheduled||(le.resumeScheduled=!0,c.nextTick(re,ee,le))}function re(ee,le){le.reading||(y("resume read 0"),ee.read(0)),le.resumeScheduled=!1,le.awaitDrain=0,ee.emit("resume"),ye(ee),le.flowing&&!le.reading&&ee.read(0)}C.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function ye(ee){var le=ee._readableState;for(y("flow",le.flowing);le.flowing&&ee.read()!==null;);}C.prototype.wrap=function(ee){var le=this,et=this._readableState,Re=!1;ee.on("end",function(){if(y("wrapped end"),et.decoder&&!et.ended){var ce=et.decoder.end();ce&&ce.length&&le.push(ce)}le.push(null)}),ee.on("data",function(ce){if(y("wrapped data"),et.decoder&&(ce=et.decoder.write(ce)),et.objectMode&&ce==null)return;if(!et.objectMode&&(!ce||!ce.length))return;var be=le.push(ce);be||(Re=!0,ee.pause())});for(var Ae in ee)this[Ae]===void 0&&typeof ee[Ae]=="function"&&(this[Ae]=function(ce){return function(){return ee[ce].apply(ee,arguments)}}(Ae));for(var oe=0;oe<O.length;oe++)ee.on(O[oe],this.emit.bind(this,O[oe]));return this._read=function(ce){y("wrapped _read",ce),Re&&(Re=!1,ee.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=$;function $(ee,le){if(le.length===0)return null;var et;return le.objectMode?et=le.buffer.shift():!ee||ee>=le.length?(le.decoder?et=le.buffer.join(""):le.buffer.length===1?et=le.buffer.head.data:et=le.buffer.concat(le.length),le.buffer.clear()):et=ve(ee,le.buffer,le.decoder),et}function ve(ee,le,et){var Re;return ee<le.head.data.length?(Re=le.head.data.slice(0,ee),le.head.data=le.head.data.slice(ee)):ee===le.head.data.length?Re=le.shift():Re=et?Ce(ee,le):Se(ee,le),Re}function Ce(ee,le){var et=le.head,Re=1,Ae=et.data;for(ee-=Ae.length;et=et.next;){var oe=et.data,ce=ee>oe.length?oe.length:ee;if(ce===oe.length?Ae+=oe:Ae+=oe.slice(0,ee),ee-=ce,ee===0){ce===oe.length?(++Re,et.next?le.head=et.next:le.head=le.tail=null):(le.head=et,et.data=oe.slice(ce));break}++Re}return le.length-=Re,Ae}function Se(ee,le){var et=l.allocUnsafe(ee),Re=le.head,Ae=1;for(Re.data.copy(et),ee-=Re.data.length;Re=Re.next;){var oe=Re.data,ce=ee>oe.length?oe.length:ee;if(oe.copy(et,et.length-ee,0,ce),ee-=ce,ee===0){ce===oe.length?(++Ae,Re.next?le.head=Re.next:le.head=le.tail=null):(le.head=Re,Re.data=oe.slice(ce));break}++Ae}return le.length-=Ae,et}function Ke(ee){var le=ee._readableState;if(le.length>0)throw new Error('"endReadable()" called on non-empty stream');le.endEmitted||(le.ended=!0,c.nextTick(ue,le,ee))}function ue(ee,le){!ee.endEmitted&&ee.length===0&&(ee.endEmitted=!0,le.readable=!1,le.emit("end"))}function Le(ee,le){for(var et=0,Re=ee.length;et<Re;et++)if(ee[et]===le)return et;return-1}}).call(this,M("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/BufferList":219,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/get-prototype-of":59,"core-util-is":189,events:192,inherits:196,isarray:198,"process-nextick-args":207,"safe-buffer":228,"string_decoder/":235,util:71}],217:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(i){return i&&i.__esModule?i:{default:i}}N.exports=d;var m=M("./_stream_duplex"),g=(0,p.default)(M("core-util-is"));g.inherits=M("inherits"),g.inherits(d,m);function f(i,t){var a=this._transformState;a.transforming=!1;var e=a.writecb;if(!e)return this.emit("error",new Error("write callback called multiple times"));a.writechunk=null,a.writecb=null,t!=null&&this.push(t),e(i);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}function d(i){if(!(this instanceof d))return new d(i);m.call(this,i),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,i&&(typeof i.transform=="function"&&(this._transform=i.transform),typeof i.flush=="function"&&(this._flush=i.flush)),this.on("prefinish",c)}function c(){var i=this;typeof this._flush=="function"?this._flush(function(t,a){o(i,t,a)}):o(this,null,null)}d.prototype.push=function(i,t){return this._transformState.needTransform=!1,m.prototype.push.call(this,i,t)},d.prototype._transform=function(i,t,a){throw new Error("_transform() is not implemented")},d.prototype._write=function(i,t,a){var e=this._transformState;if(e.writecb=a,e.writechunk=i,e.writeencoding=t,!e.transforming){var l=this._readableState;(e.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},d.prototype._read=function(i){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},d.prototype._destroy=function(i,t){var a=this;m.prototype._destroy.call(this,i,function(e){t(e),a.emit("close")})};function o(i,t,a){if(t)return i.emit("error",t);if(a!=null&&i.push(a),i._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(i._transformState.transforming)throw new Error("Calling transform done when still transforming");return i.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(M,N,n){(function(v,p){"use strict";var S=M("babel-runtime/core-js/object/define-property"),m=e(S),g=M("babel-runtime/core-js/symbol/has-instance"),f=e(g),d=M("babel-runtime/core-js/symbol"),c=e(d),o=M("babel-runtime/core-js/object/create"),i=e(o),t=M("babel-runtime/core-js/set-immediate"),a=e(t);function e(Se){return Se&&Se.__esModule?Se:{default:Se}}var l=M("process-nextick-args");N.exports=P;function r(Se,Ke,ue){this.chunk=Se,this.encoding=Ke,this.callback=ue,this.next=null}function s(Se){var Ke=this;this.next=null,this.entry=null,this.finish=function(){Ce(Ke,Se)}}var u=!v.browser&&["v0.10","v0.9."].indexOf(v.version.slice(0,5))>-1?a.default:l.nextTick,h;P.WritableState=_;var A=(0,i.default)(M("core-util-is"));A.inherits=M("inherits");var y={deprecate:M("util-deprecate")},w=M("./internal/streams/stream"),b=M("safe-buffer").Buffer,x=p.Uint8Array||function(){};function O(Se){return b.from(Se)}function T(Se){return b.isBuffer(Se)||Se instanceof x}var E=M("./internal/streams/destroy");A.inherits(P,w);function C(){}function _(Se,Ke){h=h||M("./_stream_duplex"),Se=Se||{};var ue=Ke instanceof h;this.objectMode=!!Se.objectMode,ue&&(this.objectMode=this.objectMode||!!Se.writableObjectMode);var Le=Se.highWaterMark,ee=Se.writableHighWaterMark,le=this.objectMode?16:16*1024;Le||Le===0?this.highWaterMark=Le:ue&&(ee||ee===0)?this.highWaterMark=ee:this.highWaterMark=le,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var et=Se.decodeStrings===!1;this.decodeStrings=!et,this.defaultEncoding=Se.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Re){H(Ke,Re)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}_.prototype.getBuffer=function(){for(var Ke=this.bufferedRequest,ue=[];Ke;)ue.push(Ke),Ke=Ke.next;return ue},function(){try{Object.defineProperty(_.prototype,"buffer",{get:y.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Se){}}();var L;typeof c.default=="function"&&f.default&&typeof Function.prototype[f.default]=="function"?(L=Function.prototype[f.default],(0,m.default)(P,f.default,{value:function(Ke){return L.call(this,Ke)?!0:this!==P?!1:Ke&&Ke._writableState instanceof _}})):L=function(Ke){return Ke instanceof this};function P(Se){if(h=h||M("./_stream_duplex"),!L.call(P,this)&&!(this instanceof h))return new P(Se);this._writableState=new _(Se,this),this.writable=!0,Se&&(typeof Se.write=="function"&&(this._write=Se.write),typeof Se.writev=="function"&&(this._writev=Se.writev),typeof Se.destroy=="function"&&(this._destroy=Se.destroy),typeof Se.final=="function"&&(this._final=Se.final)),w.call(this)}P.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function k(Se,Ke){var ue=new Error("write after end");Se.emit("error",ue),l.nextTick(Ke,ue)}function F(Se,Ke,ue,Le){var ee=!0,le=!1;return ue===null?le=new TypeError("May not write null values to stream"):typeof ue!="string"&&ue!==void 0&&!Ke.objectMode&&(le=new TypeError("Invalid non-string/buffer chunk")),le&&(Se.emit("error",le),l.nextTick(Le,le),ee=!1),ee}P.prototype.write=function(Se,Ke,ue){var Le=this._writableState,ee=!1,le=!Le.objectMode&&T(Se);return le&&!b.isBuffer(Se)&&(Se=O(Se)),typeof Ke=="function"&&(ue=Ke,Ke=null),le?Ke="buffer":Ke||(Ke=Le.defaultEncoding),typeof ue!="function"&&(ue=C),Le.ended?k(this,ue):(le||F(this,Le,Se,ue))&&(Le.pendingcb++,ee=z(this,Le,le,Se,Ke,ue)),ee},P.prototype.cork=function(){var Se=this._writableState;Se.corked++},P.prototype.uncork=function(){var Se=this._writableState;Se.corked&&(Se.corked--,!Se.writing&&!Se.corked&&!Se.finished&&!Se.bufferProcessing&&Se.bufferedRequest&&W(this,Se))},P.prototype.setDefaultEncoding=function(Ke){if(typeof Ke=="string"&&(Ke=Ke.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ke+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ke);return this._writableState.defaultEncoding=Ke,this};function j(Se,Ke,ue){return!Se.objectMode&&Se.decodeStrings!==!1&&typeof Ke=="string"&&(Ke=b.from(Ke,ue)),Ke}Object.defineProperty(P.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function z(Se,Ke,ue,Le,ee,le){if(!ue){var et=j(Ke,Le,ee);Le!==et&&(ue=!0,ee="buffer",Le=et)}var Re=Ke.objectMode?1:Le.length;Ke.length+=Re;var Ae=Ke.length<Ke.highWaterMark;if(Ae||(Ke.needDrain=!0),Ke.writing||Ke.corked){var oe=Ke.lastBufferedRequest;Ke.lastBufferedRequest={chunk:Le,encoding:ee,isBuf:ue,callback:le,next:null},oe?oe.next=Ke.lastBufferedRequest:Ke.bufferedRequest=Ke.lastBufferedRequest,Ke.bufferedRequestCount+=1}else R(Se,Ke,!1,Re,Le,ee,le);return Ae}function R(Se,Ke,ue,Le,ee,le,et){Ke.writelen=Le,Ke.writecb=et,Ke.writing=!0,Ke.sync=!0,ue?Se._writev(ee,Ke.onwrite):Se._write(ee,le,Ke.onwrite),Ke.sync=!1}function U(Se,Ke,ue,Le,ee){--Ke.pendingcb,ue?(l.nextTick(ee,Le),l.nextTick($,Se,Ke),Se._writableState.errorEmitted=!0,Se.emit("error",Le)):(ee(Le),Se._writableState.errorEmitted=!0,Se.emit("error",Le),$(Se,Ke))}function B(Se){Se.writing=!1,Se.writecb=null,Se.length-=Se.writelen,Se.writelen=0}function H(Se,Ke){var ue=Se._writableState,Le=ue.sync,ee=ue.writecb;if(B(ue),Ke)U(Se,ue,Le,Ke,ee);else{var le=G(ue);!le&&!ue.corked&&!ue.bufferProcessing&&ue.bufferedRequest&&W(Se,ue),Le?u(K,Se,ue,le,ee):K(Se,ue,le,ee)}}function K(Se,Ke,ue,Le){ue||V(Se,Ke),Ke.pendingcb--,Le(),$(Se,Ke)}function V(Se,Ke){Ke.length===0&&Ke.needDrain&&(Ke.needDrain=!1,Se.emit("drain"))}function W(Se,Ke){Ke.bufferProcessing=!0;var ue=Ke.bufferedRequest;if(Se._writev&&ue&&ue.next){var Le=Ke.bufferedRequestCount,ee=new Array(Le),le=Ke.corkedRequestsFree;le.entry=ue;for(var et=0,Re=!0;ue;)ee[et]=ue,ue.isBuf||(Re=!1),ue=ue.next,et+=1;ee.allBuffers=Re,R(Se,Ke,!0,Ke.length,ee,"",le.finish),Ke.pendingcb++,Ke.lastBufferedRequest=null,le.next?(Ke.corkedRequestsFree=le.next,le.next=null):Ke.corkedRequestsFree=new s(Ke),Ke.bufferedRequestCount=0}else{for(;ue;){var Ae=ue.chunk,oe=ue.encoding,ce=ue.callback,be=Ke.objectMode?1:Ae.length;if(R(Se,Ke,!1,be,Ae,oe,ce),ue=ue.next,Ke.bufferedRequestCount--,Ke.writing)break}ue===null&&(Ke.lastBufferedRequest=null)}Ke.bufferedRequest=ue,Ke.bufferProcessing=!1}P.prototype._write=function(Se,Ke,ue){ue(new Error("_write() is not implemented"))},P.prototype._writev=null,P.prototype.end=function(Se,Ke,ue){var Le=this._writableState;typeof Se=="function"?(ue=Se,Se=null,Ke=null):typeof Ke=="function"&&(ue=Ke,Ke=null),Se!=null&&this.write(Se,Ke),Le.corked&&(Le.corked=1,this.uncork()),!Le.ending&&!Le.finished&&ve(this,Le,ue)};function G(Se){return Se.ending&&Se.length===0&&Se.bufferedRequest===null&&!Se.finished&&!Se.writing}function re(Se,Ke){Se._final(function(ue){Ke.pendingcb--,ue&&Se.emit("error",ue),Ke.prefinished=!0,Se.emit("prefinish"),$(Se,Ke)})}function ye(Se,Ke){!Ke.prefinished&&!Ke.finalCalled&&(typeof Se._final=="function"?(Ke.pendingcb++,Ke.finalCalled=!0,l.nextTick(re,Se,Ke)):(Ke.prefinished=!0,Se.emit("prefinish")))}function $(Se,Ke){var ue=G(Ke);return ue&&(ye(Se,Ke),Ke.pendingcb===0&&(Ke.finished=!0,Se.emit("finish"))),ue}function ve(Se,Ke,ue){Ke.ending=!0,$(Se,Ke),ue&&(Ke.finished?l.nextTick(ue):Se.once("finish",ue)),Ke.ended=!0,Se.writable=!1}function Ce(Se,Ke,ue){var Le=Se.entry;for(Se.entry=null;Le;){var ee=Le.callback;Ke.pendingcb--,ee(ue),Le=Le.next}Ke.corkedRequestsFree?Ke.corkedRequestsFree.next=Se:Ke.corkedRequestsFree=Se}Object.defineProperty(P.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ke){if(!this._writableState)return;this._writableState.destroyed=Ke}}),P.prototype.destroy=E.destroy,P.prototype._undestroy=E.undestroy,P.prototype._destroy=function(Se,Ke){this.end(),Ke(Se)}}).call(this,M("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/set-immediate":62,"babel-runtime/core-js/symbol":64,"babel-runtime/core-js/symbol/has-instance":65,"core-util-is":189,inherits:196,"process-nextick-args":207,"safe-buffer":228,"util-deprecate":240}],219:[function(M,N,n){"use strict";function v(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}var p=M("safe-buffer").Buffer,S=M("util");function m(g,f,d){g.copy(f,d)}N.exports=function(){function g(){v(this,g),this.head=null,this.tail=null,this.length=0}return g.prototype.push=function(d){var c={data:d,next:null};this.length>0?this.tail.next=c:this.head=c,this.tail=c,++this.length},g.prototype.unshift=function(d){var c={data:d,next:this.head};this.length===0&&(this.tail=c),this.head=c,++this.length},g.prototype.shift=function(){if(this.length===0)return;var d=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,d},g.prototype.clear=function(){this.head=this.tail=null,this.length=0},g.prototype.join=function(d){if(this.length===0)return"";for(var c=this.head,o=""+c.data;c=c.next;)o+=d+c.data;return o},g.prototype.concat=function(d){if(this.length===0)return p.alloc(0);if(this.length===1)return this.head.data;for(var c=p.allocUnsafe(d>>>0),o=this.head,i=0;o;)m(o.data,c,i),i+=o.data.length,o=o.next;return c},g}(),S&&S.inspect&&S.inspect.custom&&(N.exports.prototype[S.inspect.custom]=function(){var g=S.inspect({length:this.length});return this.constructor.name+" "+g})},{"safe-buffer":228,util:71}],220:[function(M,N,n){"use strict";var v=M("process-nextick-args");function p(g,f){var d=this,c=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return c||o?(f?f(g):g&&(!this._writableState||!this._writableState.errorEmitted)&&v.nextTick(m,this,g),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(g||null,function(i){!f&&i?(v.nextTick(m,d,i),d._writableState&&(d._writableState.errorEmitted=!0)):f&&f(i)}),this)}function S(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function m(g,f){g.emit("error",f)}N.exports={destroy:p,undestroy:S}},{"process-nextick-args":207}],221:[function(M,N,n){"use strict";N.exports=M("events").EventEmitter},{events:192}],222:[function(M,N,n){N.exports=M("./readable").PassThrough},{"./readable":223}],223:[function(M,N,n){n=N.exports=M("./lib/_stream_readable.js"),n.Stream=n,n.Readable=n,n.Writable=M("./lib/_stream_writable.js"),n.Duplex=M("./lib/_stream_duplex.js"),n.Transform=M("./lib/_stream_transform.js"),n.PassThrough=M("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(M,N,n){N.exports=M("./readable").Transform},{"./readable":223}],225:[function(M,N,n){N.exports=M("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(M,N,n){var v=function(){return this}()||Function("return this")(),p=v.regeneratorRuntime&&Object.getOwnPropertyNames(v).indexOf("regeneratorRuntime")>=0,S=p&&v.regeneratorRuntime;if(v.regeneratorRuntime=void 0,N.exports=M("./runtime"),p)v.regeneratorRuntime=S;else try{delete v.regeneratorRuntime}catch(m){v.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(M,N,n){!function(v){"use strict";var p=Object.prototype,S=p.hasOwnProperty,m,g=typeof Symbol=="function"?Symbol:{},f=g.iterator||"@@iterator",d=g.asyncIterator||"@@asyncIterator",c=g.toStringTag||"@@toStringTag",o=typeof N=="object",i=v.regeneratorRuntime;if(i){o&&(N.exports=i);return}i=v.regeneratorRuntime=o?N.exports:{};function t(z,R,U,B){var H=R&&R.prototype instanceof h?R:h,K=Object.create(H.prototype),V=new k(B||[]);return K._invoke=C(z,U,V),K}i.wrap=t;function a(z,R,U){try{return{type:"normal",arg:z.call(R,U)}}catch(B){return{type:"throw",arg:B}}}var e="suspendedStart",l="suspendedYield",r="executing",s="completed",u={};function h(){}function A(){}function y(){}var w={};w[f]=function(){return this};var b=Object.getPrototypeOf,x=b&&b(b(F([])));x&&x!==p&&S.call(x,f)&&(w=x);var O=y.prototype=h.prototype=Object.create(w);A.prototype=O.constructor=y,y.constructor=A,y[c]=A.displayName="GeneratorFunction";function T(z){["next","throw","return"].forEach(function(R){z[R]=function(U){return this._invoke(R,U)}})}i.isGeneratorFunction=function(z){var R=typeof z=="function"&&z.constructor;return R?R===A||(R.displayName||R.name)==="GeneratorFunction":!1},i.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,y):(z.__proto__=y,c in z||(z[c]="GeneratorFunction")),z.prototype=Object.create(O),z},i.awrap=function(z){return{__await:z}};function E(z){function R(H,K,V,W){var G=a(z[H],z,K);if(G.type==="throw")W(G.arg);else{var re=G.arg,ye=re.value;return ye&&typeof ye=="object"&&S.call(ye,"__await")?Promise.resolve(ye.__await).then(function($){R("next",$,V,W)},function($){R("throw",$,V,W)}):Promise.resolve(ye).then(function($){re.value=$,V(re)},W)}}var U;function B(H,K){function V(){return new Promise(function(W,G){R(H,K,W,G)})}return U=U?U.then(V,V):V()}this._invoke=B}T(E.prototype),E.prototype[d]=function(){return this},i.AsyncIterator=E,i.async=function(z,R,U,B){var H=new E(t(z,R,U,B));return i.isGeneratorFunction(R)?H:H.next().then(function(K){return K.done?K.value:H.next()})};function C(z,R,U){var B=e;return function(K,V){if(B===r)throw new Error("Generator is already running");if(B===s){if(K==="throw")throw V;return j()}for(U.method=K,U.arg=V;;){var W=U.delegate;if(W){var G=_(W,U);if(G){if(G===u)continue;return G}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(B===e)throw B=s,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);B=r;var re=a(z,R,U);if(re.type==="normal"){if(B=U.done?s:l,re.arg===u)continue;return{value:re.arg,done:U.done}}else re.type==="throw"&&(B=s,U.method="throw",U.arg=re.arg)}}}function _(z,R){var U=z.iterator[R.method];if(U===m){if(R.delegate=null,R.method==="throw"){if(z.iterator.return&&(R.method="return",R.arg=m,_(z,R),R.method==="throw"))return u;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var B=a(U,z.iterator,R.arg);if(B.type==="throw")return R.method="throw",R.arg=B.arg,R.delegate=null,u;var H=B.arg;if(!H)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,u;if(H.done)R[z.resultName]=H.value,R.next=z.nextLoc,R.method!=="return"&&(R.method="next",R.arg=m);else return H;return R.delegate=null,u}T(O),O[c]="Generator",O[f]=function(){return this},O.toString=function(){return"[object Generator]"};function L(z){var R={tryLoc:z[0]};1 in z&&(R.catchLoc=z[1]),2 in z&&(R.finallyLoc=z[2],R.afterLoc=z[3]),this.tryEntries.push(R)}function P(z){var R=z.completion||{};R.type="normal",delete R.arg,z.completion=R}function k(z){this.tryEntries=[{tryLoc:"root"}],z.forEach(L,this),this.reset(!0)}i.keys=function(z){var R=[];for(var U in z)R.push(U);return R.reverse(),function B(){for(;R.length;){var H=R.pop();if(H in z)return B.value=H,B.done=!1,B}return B.done=!0,B}};function F(z){if(z){var R=z[f];if(R)return R.call(z);if(typeof z.next=="function")return z;if(!isNaN(z.length)){var U=-1,B=function H(){for(;++U<z.length;)if(S.call(z,U))return H.value=z[U],H.done=!1,H;return H.value=m,H.done=!0,H};return B.next=B}}return{next:j}}i.values=F;function j(){return{value:m,done:!0}}k.prototype={constructor:k,reset:function(R){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(P),!R)for(var U in this)U.charAt(0)==="t"&&S.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=m)},stop:function(){this.done=!0;var R=this.tryEntries[0],U=R.completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(R){if(this.done)throw R;var U=this;function B(re,ye){return V.type="throw",V.arg=R,U.next=re,ye&&(U.method="next",U.arg=m),!!ye}for(var H=this.tryEntries.length-1;H>=0;--H){var K=this.tryEntries[H],V=K.completion;if(K.tryLoc==="root")return B("end");if(K.tryLoc<=this.prev){var W=S.call(K,"catchLoc"),G=S.call(K,"finallyLoc");if(W&&G){if(this.prev<K.catchLoc)return B(K.catchLoc,!0);if(this.prev<K.finallyLoc)return B(K.finallyLoc)}else if(W){if(this.prev<K.catchLoc)return B(K.catchLoc,!0)}else if(G){if(this.prev<K.finallyLoc)return B(K.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(R,U){for(var B=this.tryEntries.length-1;B>=0;--B){var H=this.tryEntries[B];if(H.tryLoc<=this.prev&&S.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var K=H;break}}K&&(R==="break"||R==="continue")&&K.tryLoc<=U&&U<=K.finallyLoc&&(K=null);var V=K?K.completion:{};return V.type=R,V.arg=U,K?(this.method="next",this.next=K.finallyLoc,u):this.complete(V)},complete:function(R,U){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&U&&(this.next=U),u},finish:function(R){for(var U=this.tryEntries.length-1;U>=0;--U){var B=this.tryEntries[U];if(B.finallyLoc===R)return this.complete(B.completion,B.afterLoc),P(B),u}},catch:function(R){for(var U=this.tryEntries.length-1;U>=0;--U){var B=this.tryEntries[U];if(B.tryLoc===R){var H=B.completion;if(H.type==="throw"){var K=H.arg;P(B)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(R,U,B){return this.delegate={iterator:F(R),resultName:U,nextLoc:B},this.method==="next"&&(this.arg=m),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(M,N,n){var v=M("buffer"),p=v.Buffer;function S(g,f){for(var d in g)f[d]=g[d]}p.from&&p.alloc&&p.allocUnsafe&&p.allocUnsafeSlow?N.exports=v:(S(v,n),n.Buffer=m);function m(g,f,d){return p(g,f,d)}S(p,m),m.from=function(g,f,d){if(typeof g=="number")throw new TypeError("Argument must not be a number");return p(g,f,d)},m.alloc=function(g,f,d){if(typeof g!="number")throw new TypeError("Argument must be a number");var c=p(g);return f!==void 0?typeof d=="string"?c.fill(f,d):c.fill(f):c.fill(0),c},m.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return p(g)},m.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return v.SlowBuffer(g)}},{buffer:73}],229:[function(M,N,n){(function(v){"use strict";var p=M("babel-runtime/core-js/string/from-code-point"),S=l(p),m=M("babel-runtime/core-js/json/stringify"),g=l(m),f=M("babel-runtime/helpers/typeof"),d=l(f),c=M("babel-runtime/core-js/object/define-property"),o=l(c),i=M("babel-runtime/core-js/object/keys"),t=l(i),a=M("babel-runtime/core-js/object/create"),e=l(a);function l(r){return r&&r.__esModule?r:{default:r}}(function(r){r.parser=function(oe,ce){return new u(oe,ce)},r.SAXParser=u,r.SAXStream=O,r.createStream=x,r.MAX_BUFFER_LENGTH=64*1024;var s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];r.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function u(oe,ce){if(!(this instanceof u))return new u(oe,ce);var be=this;A(be),be.q=be.c="",be.bufferCheckPosition=r.MAX_BUFFER_LENGTH,be.opt=ce||{},be.opt.lowercase=be.opt.lowercase||be.opt.lowercasetags,be.looseCase=be.opt.lowercase?"toLowerCase":"toUpperCase",be.tags=[],be.closed=be.closedRoot=be.sawRoot=!1,be.tag=be.error=null,be.strict=!!oe,be.noscript=!!(oe||be.opt.noscript),be.state=K.BEGIN,be.strictEntities=be.opt.strictEntities,be.ENTITIES=be.strictEntities?(0,e.default)(r.XML_ENTITIES):(0,e.default)(r.ENTITIES),be.attribList=[],be.opt.xmlns&&(be.ns=(0,e.default)(L)),be.trackPosition=be.opt.position!==!1,be.trackPosition&&(be.position=be.line=be.column=0),W(be,"onready")}e.default||(Object.create=function(oe){function ce(){}ce.prototype=oe;var be=new ce;return be}),t.default||(Object.keys=function(oe){var ce=[];for(var be in oe)oe.hasOwnProperty(be)&&ce.push(be);return ce});function h(oe){for(var ce=Math.max(r.MAX_BUFFER_LENGTH,10),be=0,Te=0,Be=s.length;Te<Be;Te++){var De=oe[s[Te]].length;if(De>ce)switch(s[Te]){case"textNode":re(oe);break;case"cdata":G(oe,"oncdata",oe.cdata),oe.cdata="";break;case"script":G(oe,"onscript",oe.script),oe.script="";break;default:$(oe,"Max buffer length exceeded: "+s[Te])}be=Math.max(be,De)}var ae=r.MAX_BUFFER_LENGTH-be;oe.bufferCheckPosition=ae+oe.position}function A(oe){for(var ce=0,be=s.length;ce<be;ce++)oe[s[ce]]=""}function y(oe){re(oe),oe.cdata!==""&&(G(oe,"oncdata",oe.cdata),oe.cdata=""),oe.script!==""&&(G(oe,"onscript",oe.script),oe.script="")}u.prototype={end:function(){ve(this)},write:Ae,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){y(this)}};var w;try{w=M("stream").Stream}catch(oe){w=function(){}}var b=r.EVENTS.filter(function(oe){return oe!=="error"&&oe!=="end"});function x(oe,ce){return new O(oe,ce)}function O(oe,ce){if(!(this instanceof O))return new O(oe,ce);w.apply(this),this._parser=new u(oe,ce),this.writable=!0,this.readable=!0;var be=this;this._parser.onend=function(){be.emit("end")},this._parser.onerror=function(Te){be.emit("error",Te),be._parser.error=null},this._decoder=null,b.forEach(function(Te){(0,o.default)(be,"on"+Te,{get:function(){return be._parser["on"+Te]},set:function(De){if(!De)return be.removeAllListeners(Te),be._parser["on"+Te]=De,De;be.on(Te,De)},enumerable:!0,configurable:!1})})}O.prototype=(0,e.default)(w.prototype,{constructor:{value:O}}),O.prototype.write=function(oe){if(typeof v=="function"&&typeof v.isBuffer=="function"&&v.isBuffer(oe)){if(!this._decoder){var ce=M("string_decoder").StringDecoder;this._decoder=new ce("utf8")}oe=this._decoder.write(oe)}return this._parser.write(oe.toString()),this.emit("data",oe),!0},O.prototype.end=function(oe){return oe&&oe.length&&this.write(oe),this._parser.end(),!0},O.prototype.on=function(oe,ce){var be=this;return!be._parser["on"+oe]&&b.indexOf(oe)!==-1&&(be._parser["on"+oe]=function(){var Te=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Te.splice(0,0,oe),be.emit.apply(be,Te)}),w.prototype.on.call(be,oe,ce)};var T="[CDATA[",E="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",_="http://www.w3.org/2000/xmlns/",L={xml:C,xmlns:_},P=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,k=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,F=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,j=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function z(oe){return oe===" "||oe===`
`||oe==="\r"||oe===" "}function R(oe){return oe==='"'||oe==="'"}function U(oe){return oe===">"||z(oe)}function B(oe,ce){return oe.test(ce)}function H(oe,ce){return!B(oe,ce)}var K=0;r.STATE={BEGIN:K++,BEGIN_WHITESPACE:K++,TEXT:K++,TEXT_ENTITY:K++,OPEN_WAKA:K++,SGML_DECL:K++,SGML_DECL_QUOTED:K++,DOCTYPE:K++,DOCTYPE_QUOTED:K++,DOCTYPE_DTD:K++,DOCTYPE_DTD_QUOTED:K++,COMMENT_STARTING:K++,COMMENT:K++,COMMENT_ENDING:K++,COMMENT_ENDED:K++,CDATA:K++,CDATA_ENDING:K++,CDATA_ENDING_2:K++,PROC_INST:K++,PROC_INST_BODY:K++,PROC_INST_ENDING:K++,OPEN_TAG:K++,OPEN_TAG_SLASH:K++,ATTRIB:K++,ATTRIB_NAME:K++,ATTRIB_NAME_SAW_WHITE:K++,ATTRIB_VALUE:K++,ATTRIB_VALUE_QUOTED:K++,ATTRIB_VALUE_CLOSED:K++,ATTRIB_VALUE_UNQUOTED:K++,ATTRIB_VALUE_ENTITY_Q:K++,ATTRIB_VALUE_ENTITY_U:K++,CLOSE_TAG:K++,CLOSE_TAG_SAW_WHITE:K++,SCRIPT:K++,SCRIPT_ENDING:K++},r.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},r.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,t.default)(r.ENTITIES).forEach(function(oe){var ce=r.ENTITIES[oe],be=typeof ce=="number"?String.fromCharCode(ce):ce;r.ENTITIES[oe]=be});for(var V in r.STATE)r.STATE[r.STATE[V]]=V;K=r.STATE;function W(oe,ce,be){oe[ce]&&oe[ce](be)}function G(oe,ce,be){oe.textNode&&re(oe),W(oe,ce,be)}function re(oe){oe.textNode=ye(oe.opt,oe.textNode),oe.textNode&&W(oe,"ontext",oe.textNode),oe.textNode=""}function ye(oe,ce){return oe.trim&&(ce=ce.trim()),oe.normalize&&(ce=ce.replace(/\s+/g," ")),ce}function $(oe,ce){return re(oe),oe.trackPosition&&(ce+=`
Line: `+oe.line+`
Column: `+oe.column+`
Char: `+oe.c),ce=new Error(ce),oe.error=ce,W(oe,"onerror",ce),oe}function ve(oe){return oe.sawRoot&&!oe.closedRoot&&Ce(oe,"Unclosed root tag"),oe.state!==K.BEGIN&&oe.state!==K.BEGIN_WHITESPACE&&oe.state!==K.TEXT&&$(oe,"Unexpected end"),re(oe),oe.c="",oe.closed=!0,W(oe,"onend"),u.call(oe,oe.strict,oe.opt),oe}function Ce(oe,ce){if((typeof oe=="undefined"?"undefined":(0,d.default)(oe))!=="object"||!(oe instanceof u))throw new Error("bad call to strictFail");oe.strict&&$(oe,ce)}function Se(oe){oe.strict||(oe.tagName=oe.tagName[oe.looseCase]());var ce=oe.tags[oe.tags.length-1]||oe,be=oe.tag={name:oe.tagName,attributes:{}};oe.opt.xmlns&&(be.ns=ce.ns),oe.attribList.length=0,G(oe,"onopentagstart",be)}function Ke(oe,ce){var be=oe.indexOf(":"),Te=be<0?["",oe]:oe.split(":"),Be=Te[0],De=Te[1];return ce&&oe==="xmlns"&&(Be="xmlns",De=""),{prefix:Be,local:De}}function ue(oe){if(oe.strict||(oe.attribName=oe.attribName[oe.looseCase]()),oe.attribList.indexOf(oe.attribName)!==-1||oe.tag.attributes.hasOwnProperty(oe.attribName)){oe.attribName=oe.attribValue="";return}if(oe.opt.xmlns){var ce=Ke(oe.attribName,!0),be=ce.prefix,Te=ce.local;if(be==="xmlns")if(Te==="xml"&&oe.attribValue!==C)Ce(oe,"xml: prefix must be bound to "+C+`
Actual: `+oe.attribValue);else if(Te==="xmlns"&&oe.attribValue!==_)Ce(oe,"xmlns: prefix must be bound to "+_+`
Actual: `+oe.attribValue);else{var Be=oe.tag,De=oe.tags[oe.tags.length-1]||oe;Be.ns===De.ns&&(Be.ns=(0,e.default)(De.ns)),Be.ns[Te]=oe.attribValue}oe.attribList.push([oe.attribName,oe.attribValue])}else oe.tag.attributes[oe.attribName]=oe.attribValue,G(oe,"onattribute",{name:oe.attribName,value:oe.attribValue});oe.attribName=oe.attribValue=""}function Le(oe,ce){if(oe.opt.xmlns){var be=oe.tag,Te=Ke(oe.tagName);be.prefix=Te.prefix,be.local=Te.local,be.uri=be.ns[Te.prefix]||"",be.prefix&&!be.uri&&(Ce(oe,"Unbound namespace prefix: "+(0,g.default)(oe.tagName)),be.uri=Te.prefix);var Be=oe.tags[oe.tags.length-1]||oe;be.ns&&Be.ns!==be.ns&&(0,t.default)(be.ns).forEach(function(Ot){G(oe,"onopennamespace",{prefix:Ot,uri:be.ns[Ot]})});for(var De=0,ae=oe.attribList.length;De<ae;De++){var fe=oe.attribList[De],Oe=fe[0],Je=fe[1],Et=Ke(Oe,!0),Ze=Et.prefix,Ne=Et.local,It=Ze===""?"":be.ns[Ze]||"",Xe={name:Oe,value:Je,prefix:Ze,local:Ne,uri:It};Ze&&Ze!=="xmlns"&&!It&&(Ce(oe,"Unbound namespace prefix: "+(0,g.default)(Ze)),Xe.uri=Ze),oe.tag.attributes[Oe]=Xe,G(oe,"onattribute",Xe)}oe.attribList.length=0}oe.tag.isSelfClosing=!!ce,oe.sawRoot=!0,oe.tags.push(oe.tag),G(oe,"onopentag",oe.tag),ce||(!oe.noscript&&oe.tagName.toLowerCase()==="script"?oe.state=K.SCRIPT:oe.state=K.TEXT,oe.tag=null,oe.tagName=""),oe.attribName=oe.attribValue="",oe.attribList.length=0}function ee(oe){if(!oe.tagName){Ce(oe,"Weird empty close tag."),oe.textNode+="</>",oe.state=K.TEXT;return}if(oe.script){if(oe.tagName!=="script"){oe.script+="</"+oe.tagName+">",oe.tagName="",oe.state=K.SCRIPT;return}G(oe,"onscript",oe.script),oe.script=""}var ce=oe.tags.length,be=oe.tagName;oe.strict||(be=be[oe.looseCase]());for(var Te=be;ce--;){var Be=oe.tags[ce];if(Be.name!==Te)Ce(oe,"Unexpected close tag");else break}if(ce<0){Ce(oe,"Unmatched closing tag: "+oe.tagName),oe.textNode+="</"+oe.tagName+">",oe.state=K.TEXT;return}oe.tagName=be;for(var De=oe.tags.length;De-- >ce;){var ae=oe.tag=oe.tags.pop();oe.tagName=oe.tag.name,G(oe,"onclosetag",oe.tagName);var fe={};for(var Oe in ae.ns)fe[Oe]=ae.ns[Oe];var Je=oe.tags[oe.tags.length-1]||oe;oe.opt.xmlns&&ae.ns!==Je.ns&&(0,t.default)(ae.ns).forEach(function(Et){var Ze=ae.ns[Et];G(oe,"onclosenamespace",{prefix:Et,uri:Ze})})}ce===0&&(oe.closedRoot=!0),oe.tagName=oe.attribValue=oe.attribName="",oe.attribList.length=0,oe.state=K.TEXT}function le(oe){var ce=oe.entity,be=ce.toLowerCase(),Te,Be="";return oe.ENTITIES[ce]?oe.ENTITIES[ce]:oe.ENTITIES[be]?oe.ENTITIES[be]:(ce=be,ce.charAt(0)==="#"&&(ce.charAt(1)==="x"?(ce=ce.slice(2),Te=parseInt(ce,16),Be=Te.toString(16)):(ce=ce.slice(1),Te=parseInt(ce,10),Be=Te.toString(10))),ce=ce.replace(/^0+/,""),isNaN(Te)||Be.toLowerCase()!==ce?(Ce(oe,"Invalid character entity"),"&"+oe.entity+";"):(0,S.default)(Te))}function et(oe,ce){ce==="<"?(oe.state=K.OPEN_WAKA,oe.startTagPosition=oe.position):z(ce)||(Ce(oe,"Non-whitespace before first tag."),oe.textNode=ce,oe.state=K.TEXT)}function Re(oe,ce){var be="";return ce<oe.length&&(be=oe.charAt(ce)),be}function Ae(oe){var ce=this;if(this.error)throw this.error;if(ce.closed)return $(ce,"Cannot write after close. Assign an onready handler.");if(oe===null)return ve(ce);(typeof oe=="undefined"?"undefined":(0,d.default)(oe))==="object"&&(oe=oe.toString());for(var be=0,Te="";!(Te=Re(oe,be++),ce.c=Te,!Te);){ce.trackPosition&&(ce.position++,Te===`
`?(ce.line++,ce.column=0):ce.column++);switch(ce.state){case K.BEGIN:if(ce.state=K.BEGIN_WHITESPACE,Te==="\uFEFF")continue;et(ce,Te);continue;case K.BEGIN_WHITESPACE:et(ce,Te);continue;case K.TEXT:if(ce.sawRoot&&!ce.closedRoot){for(var Be=be-1;Te&&Te!=="<"&&Te!=="&";)Te=Re(oe,be++),Te&&ce.trackPosition&&(ce.position++,Te===`
`?(ce.line++,ce.column=0):ce.column++);ce.textNode+=oe.substring(Be,be-1)}Te==="<"&&!(ce.sawRoot&&ce.closedRoot&&!ce.strict)?(ce.state=K.OPEN_WAKA,ce.startTagPosition=ce.position):(!z(Te)&&(!ce.sawRoot||ce.closedRoot)&&Ce(ce,"Text data outside of root node."),Te==="&"?ce.state=K.TEXT_ENTITY:ce.textNode+=Te);continue;case K.SCRIPT:Te==="<"?ce.state=K.SCRIPT_ENDING:ce.script+=Te;continue;case K.SCRIPT_ENDING:Te==="/"?ce.state=K.CLOSE_TAG:(ce.script+="<"+Te,ce.state=K.SCRIPT);continue;case K.OPEN_WAKA:if(Te==="!")ce.state=K.SGML_DECL,ce.sgmlDecl="";else if(!z(Te))if(B(P,Te))ce.state=K.OPEN_TAG,ce.tagName=Te;else if(Te==="/")ce.state=K.CLOSE_TAG,ce.tagName="";else if(Te==="?")ce.state=K.PROC_INST,ce.procInstName=ce.procInstBody="";else{if(Ce(ce,"Unencoded <"),ce.startTagPosition+1<ce.position){var De=ce.position-ce.startTagPosition;Te=new Array(De).join(" ")+Te}ce.textNode+="<"+Te,ce.state=K.TEXT}continue;case K.SGML_DECL:(ce.sgmlDecl+Te).toUpperCase()===T?(G(ce,"onopencdata"),ce.state=K.CDATA,ce.sgmlDecl="",ce.cdata=""):ce.sgmlDecl+Te==="--"?(ce.state=K.COMMENT,ce.comment="",ce.sgmlDecl=""):(ce.sgmlDecl+Te).toUpperCase()===E?(ce.state=K.DOCTYPE,(ce.doctype||ce.sawRoot)&&Ce(ce,"Inappropriately located doctype declaration"),ce.doctype="",ce.sgmlDecl=""):Te===">"?(G(ce,"onsgmldeclaration",ce.sgmlDecl),ce.sgmlDecl="",ce.state=K.TEXT):(R(Te)&&(ce.state=K.SGML_DECL_QUOTED),ce.sgmlDecl+=Te);continue;case K.SGML_DECL_QUOTED:Te===ce.q&&(ce.state=K.SGML_DECL,ce.q=""),ce.sgmlDecl+=Te;continue;case K.DOCTYPE:Te===">"?(ce.state=K.TEXT,G(ce,"ondoctype",ce.doctype),ce.doctype=!0):(ce.doctype+=Te,Te==="["?ce.state=K.DOCTYPE_DTD:R(Te)&&(ce.state=K.DOCTYPE_QUOTED,ce.q=Te));continue;case K.DOCTYPE_QUOTED:ce.doctype+=Te,Te===ce.q&&(ce.q="",ce.state=K.DOCTYPE);continue;case K.DOCTYPE_DTD:ce.doctype+=Te,Te==="]"?ce.state=K.DOCTYPE:R(Te)&&(ce.state=K.DOCTYPE_DTD_QUOTED,ce.q=Te);continue;case K.DOCTYPE_DTD_QUOTED:ce.doctype+=Te,Te===ce.q&&(ce.state=K.DOCTYPE_DTD,ce.q="");continue;case K.COMMENT:Te==="-"?ce.state=K.COMMENT_ENDING:ce.comment+=Te;continue;case K.COMMENT_ENDING:Te==="-"?(ce.state=K.COMMENT_ENDED,ce.comment=ye(ce.opt,ce.comment),ce.comment&&G(ce,"oncomment",ce.comment),ce.comment=""):(ce.comment+="-"+Te,ce.state=K.COMMENT);continue;case K.COMMENT_ENDED:Te!==">"?(Ce(ce,"Malformed comment"),ce.comment+="--"+Te,ce.state=K.COMMENT):ce.state=K.TEXT;continue;case K.CDATA:Te==="]"?ce.state=K.CDATA_ENDING:ce.cdata+=Te;continue;case K.CDATA_ENDING:Te==="]"?ce.state=K.CDATA_ENDING_2:(ce.cdata+="]"+Te,ce.state=K.CDATA);continue;case K.CDATA_ENDING_2:Te===">"?(ce.cdata&&G(ce,"oncdata",ce.cdata),G(ce,"onclosecdata"),ce.cdata="",ce.state=K.TEXT):Te==="]"?ce.cdata+="]":(ce.cdata+="]]"+Te,ce.state=K.CDATA);continue;case K.PROC_INST:Te==="?"?ce.state=K.PROC_INST_ENDING:z(Te)?ce.state=K.PROC_INST_BODY:ce.procInstName+=Te;continue;case K.PROC_INST_BODY:if(!ce.procInstBody&&z(Te))continue;Te==="?"?ce.state=K.PROC_INST_ENDING:ce.procInstBody+=Te;continue;case K.PROC_INST_ENDING:Te===">"?(G(ce,"onprocessinginstruction",{name:ce.procInstName,body:ce.procInstBody}),ce.procInstName=ce.procInstBody="",ce.state=K.TEXT):(ce.procInstBody+="?"+Te,ce.state=K.PROC_INST_BODY);continue;case K.OPEN_TAG:B(k,Te)?ce.tagName+=Te:(Se(ce),Te===">"?Le(ce):Te==="/"?ce.state=K.OPEN_TAG_SLASH:(z(Te)||Ce(ce,"Invalid character in tag name"),ce.state=K.ATTRIB));continue;case K.OPEN_TAG_SLASH:Te===">"?(Le(ce,!0),ee(ce)):(Ce(ce,"Forward-slash in opening tag not followed by >"),ce.state=K.ATTRIB);continue;case K.ATTRIB:if(z(Te))continue;Te===">"?Le(ce):Te==="/"?ce.state=K.OPEN_TAG_SLASH:B(P,Te)?(ce.attribName=Te,ce.attribValue="",ce.state=K.ATTRIB_NAME):Ce(ce,"Invalid attribute name");continue;case K.ATTRIB_NAME:Te==="="?ce.state=K.ATTRIB_VALUE:Te===">"?(Ce(ce,"Attribute without value"),ce.attribValue=ce.attribName,ue(ce),Le(ce)):z(Te)?ce.state=K.ATTRIB_NAME_SAW_WHITE:B(k,Te)?ce.attribName+=Te:Ce(ce,"Invalid attribute name");continue;case K.ATTRIB_NAME_SAW_WHITE:if(Te==="=")ce.state=K.ATTRIB_VALUE;else{if(z(Te))continue;Ce(ce,"Attribute without value"),ce.tag.attributes[ce.attribName]="",ce.attribValue="",G(ce,"onattribute",{name:ce.attribName,value:""}),ce.attribName="",Te===">"?Le(ce):B(P,Te)?(ce.attribName=Te,ce.state=K.ATTRIB_NAME):(Ce(ce,"Invalid attribute name"),ce.state=K.ATTRIB)}continue;case K.ATTRIB_VALUE:if(z(Te))continue;R(Te)?(ce.q=Te,ce.state=K.ATTRIB_VALUE_QUOTED):(Ce(ce,"Unquoted attribute value"),ce.state=K.ATTRIB_VALUE_UNQUOTED,ce.attribValue=Te);continue;case K.ATTRIB_VALUE_QUOTED:if(Te!==ce.q){Te==="&"?ce.state=K.ATTRIB_VALUE_ENTITY_Q:ce.attribValue+=Te;continue}ue(ce),ce.q="",ce.state=K.ATTRIB_VALUE_CLOSED;continue;case K.ATTRIB_VALUE_CLOSED:z(Te)?ce.state=K.ATTRIB:Te===">"?Le(ce):Te==="/"?ce.state=K.OPEN_TAG_SLASH:B(P,Te)?(Ce(ce,"No whitespace between attributes"),ce.attribName=Te,ce.attribValue="",ce.state=K.ATTRIB_NAME):Ce(ce,"Invalid attribute name");continue;case K.ATTRIB_VALUE_UNQUOTED:if(!U(Te)){Te==="&"?ce.state=K.ATTRIB_VALUE_ENTITY_U:ce.attribValue+=Te;continue}ue(ce),Te===">"?Le(ce):ce.state=K.ATTRIB;continue;case K.CLOSE_TAG:if(ce.tagName)Te===">"?ee(ce):B(k,Te)?ce.tagName+=Te:ce.script?(ce.script+="</"+ce.tagName,ce.tagName="",ce.state=K.SCRIPT):(z(Te)||Ce(ce,"Invalid tagname in closing tag"),ce.state=K.CLOSE_TAG_SAW_WHITE);else{if(z(Te))continue;H(P,Te)?ce.script?(ce.script+="</"+Te,ce.state=K.SCRIPT):Ce(ce,"Invalid tagname in closing tag."):ce.tagName=Te}continue;case K.CLOSE_TAG_SAW_WHITE:if(z(Te))continue;Te===">"?ee(ce):Ce(ce,"Invalid characters in closing tag");continue;case K.TEXT_ENTITY:case K.ATTRIB_VALUE_ENTITY_Q:case K.ATTRIB_VALUE_ENTITY_U:var ae,fe;switch(ce.state){case K.TEXT_ENTITY:ae=K.TEXT,fe="textNode";break;case K.ATTRIB_VALUE_ENTITY_Q:ae=K.ATTRIB_VALUE_QUOTED,fe="attribValue";break;case K.ATTRIB_VALUE_ENTITY_U:ae=K.ATTRIB_VALUE_UNQUOTED,fe="attribValue";break}Te===";"?(ce[fe]+=le(ce),ce.entity="",ce.state=ae):B(ce.entity.length?j:F,Te)?ce.entity+=Te:(Ce(ce,"Invalid character in entity name"),ce[fe]+="&"+ce.entity+Te,ce.entity="",ce.state=ae);continue;default:throw new Error(ce,"Unknown state: "+ce.state)}}return ce.position>=ce.bufferCheckPosition&&h(ce),ce}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */S.default||function(){var oe=String.fromCharCode,ce=Math.floor,be=function(){var Be=16384,De=[],ae,fe,Oe=-1,Je=arguments.length;if(!Je)return"";for(var Et="";++Oe<Je;){var Ze=Number(arguments[Oe]);if(!isFinite(Ze)||Ze<0||Ze>1114111||ce(Ze)!==Ze)throw RangeError("Invalid code point: "+Ze);Ze<=65535?De.push(Ze):(Ze-=65536,ae=(Ze>>10)+55296,fe=Ze%1024+56320,De.push(ae,fe)),(Oe+1===Je||De.length>Be)&&(Et+=oe.apply(null,De),De.length=0)}return Et};o.default?Object.defineProperty(String,"fromCodePoint",{value:be,configurable:!0,writable:!0}):String.fromCodePoint=be}()})(typeof n=="undefined"?(void 0).sax={}:n)}).call(this,M("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(M,N,n){N.exports=S;var v=M("events").EventEmitter,p=M("inherits");p(S,v),S.Readable=M("readable-stream/readable.js"),S.Writable=M("readable-stream/writable.js"),S.Duplex=M("readable-stream/duplex.js"),S.Transform=M("readable-stream/transform.js"),S.PassThrough=M("readable-stream/passthrough.js"),S.Stream=S;function S(){v.call(this)}S.prototype.pipe=function(m,g){var f=this;function d(l){m.writable&&(m.write(l)===!1&&f.pause&&f.pause())}f.on("data",d);function c(){f.readable&&f.resume&&f.resume()}m.on("drain",c),!m._isStdio&&(!g||g.end!==!1)&&(f.on("end",i),f.on("close",t));var o=!1;function i(){if(o)return;o=!0,m.end()}function t(){if(o)return;o=!0,typeof m.destroy=="function"&&m.destroy()}function a(l){if(e(),v.listenerCount(this,"error")===0)throw l}f.on("error",a),m.on("error",a);function e(){f.removeListener("data",d),m.removeListener("drain",c),f.removeListener("end",i),f.removeListener("close",t),f.removeListener("error",a),m.removeListener("error",a),f.removeListener("end",e),f.removeListener("close",e),m.removeListener("close",e)}return f.on("end",e),f.on("close",e),m.on("close",e),m.emit("pipe",f),m}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(M,N,n){(function(v){var p=M("./lib/request"),S=M("./lib/response"),m=M("xtend"),g=M("builtin-status-codes"),f=M("url"),d=n;d.request=function(c,o){typeof c=="string"?c=f.parse(c):c=m(c);var i=v.location.protocol.search(/^https?:$/)===-1?"http:":"",t=c.protocol||i,a=c.hostname||c.host,e=c.port,l=c.path||"/";a&&a.indexOf(":")!==-1&&(a="["+a+"]"),c.url=(a?t+"//"+a:"")+(e?":"+e:"")+l,c.method=(c.method||"GET").toUpperCase(),c.headers=c.headers||{};var r=new p(c);return o&&r.on("response",o),r},d.get=function(o,i){var t=d.request(o,i);return t.end(),t},d.ClientRequest=p,d.IncomingMessage=S.IncomingMessage,d.Agent=function(){},d.Agent.defaultMaxSockets=4,d.globalAgent=new d.Agent,d.STATUS_CODES=g,d.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(M,N,n){(function(v){"use strict";n.fetch=d(v.fetch)&&d(v.ReadableStream),n.writableStream=d(v.WritableStream),n.abortController=d(v.AbortController),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(c){}var p;function S(){if(p!==void 0)return p;if(v.XMLHttpRequest){p=new v.XMLHttpRequest;try{p.open("GET",v.XDomainRequest?"/":"https://example.com")}catch(c){p=null}}else p=null;return p}function m(c){var o=S();if(!o)return!1;try{return o.responseType=c,o.responseType===c}catch(i){}return!1}var g=typeof v.ArrayBuffer!="undefined",f=g&&d(v.ArrayBuffer.prototype.slice);n.arraybuffer=n.fetch||g&&m("arraybuffer"),n.msstream=!n.fetch&&f&&m("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&g&&m("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||(S()?d(S().overrideMimeType):!1),n.vbArray=d(v.VBArray);function d(c){return typeof c=="function"}p=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(M,N,n){(function(v,p,S){"use strict";var m=M("babel-runtime/core-js/object/keys"),g=f(m);function f(h){return h&&h.__esModule?h:{default:h}}var d=M("./capability"),c=M("inherits"),o=M("./response"),i=M("readable-stream"),t=M("to-arraybuffer"),a=o.IncomingMessage,e=o.readyStates;function l(h,A){return d.fetch&&A?"fetch":d.mozchunkedarraybuffer?"moz-chunked-arraybuffer":d.msstream?"ms-stream":d.arraybuffer&&h?"arraybuffer":d.vbArray&&h?"text:vbarray":"text"}var r=N.exports=function(h){var A=this;i.Writable.call(A),A._opts=h,A._body=[],A._headers={},h.auth&&A.setHeader("Authorization","Basic "+new S(h.auth).toString("base64")),(0,g.default)(h.headers).forEach(function(b){A.setHeader(b,h.headers[b])});var y,w=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!d.abortController)w=!1,y=!0;else if(h.mode==="prefer-streaming")y=!1;else if(h.mode==="allow-wrong-content-type")y=!d.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")y=!0;else throw new Error("Invalid value for opts.mode");A._mode=l(y,w),A._fetchTimer=null,A.on("finish",function(){A._onFinish()})};c(r,i.Writable),r.prototype.setHeader=function(h,A){var y=this,w=h.toLowerCase();if(u.indexOf(w)!==-1)return;y._headers[w]={name:h,value:A}},r.prototype.getHeader=function(h){var A=this._headers[h.toLowerCase()];return A?A.value:null},r.prototype.removeHeader=function(h){var A=this;delete A._headers[h.toLowerCase()]},r.prototype._onFinish=function(){var h=this;if(h._destroyed)return;var A=h._opts,y=h._headers,w=null;A.method!=="GET"&&A.method!=="HEAD"&&(d.arraybuffer?w=t(S.concat(h._body)):d.blobConstructor?w=new p.Blob(h._body.map(function(C){return t(C)}),{type:(y["content-type"]||{}).value||""}):w=S.concat(h._body).toString());var b=[];if((0,g.default)(y).forEach(function(C){var _=y[C].name,L=y[C].value;Array.isArray(L)?L.forEach(function(P){b.push([_,P])}):b.push([_,L])}),h._mode==="fetch"){var x=null,O=null;if(d.abortController){var T=new AbortController;x=T.signal,h._fetchAbortController=T,"requestTimeout"in A&&A.requestTimeout!==0&&(h._fetchTimer=p.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},A.requestTimeout))}p.fetch(h._opts.url,{method:h._opts.method,headers:b,body:w||void 0,mode:"cors",credentials:A.withCredentials?"include":"same-origin",signal:x}).then(function(C){h._fetchResponse=C,h._connect()},function(C){p.clearTimeout(h._fetchTimer),h._destroyed||h.emit("error",C)})}else{var E=h._xhr=new p.XMLHttpRequest;try{E.open(h._opts.method,h._opts.url,!0)}catch(C){v.nextTick(function(){h.emit("error",C)});return}"responseType"in E&&(E.responseType=h._mode.split(":")[0]),"withCredentials"in E&&(E.withCredentials=!!A.withCredentials),h._mode==="text"&&"overrideMimeType"in E&&E.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in A&&(E.timeout=A.requestTimeout,E.ontimeout=function(){h.emit("requestTimeout")}),b.forEach(function(C){E.setRequestHeader(C[0],C[1])}),h._response=null,E.onreadystatechange=function(){switch(E.readyState){case e.LOADING:case e.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(E.onprogress=function(){h._onXHRProgress()}),E.onerror=function(){if(h._destroyed)return;h.emit("error",new Error("XHR error"))};try{E.send(w)}catch(C){v.nextTick(function(){h.emit("error",C)});return}}};function s(h){try{var A=h.status;return A!==null&&A!==0}catch(y){return!1}}r.prototype._onXHRProgress=function(){var h=this;if(!s(h._xhr)||h._destroyed)return;h._response||h._connect(),h._response._onXHRProgress()},r.prototype._connect=function(){var h=this;if(h._destroyed)return;h._response=new a(h._xhr,h._fetchResponse,h._mode,h._fetchTimer),h._response.on("error",function(A){h.emit("error",A)}),h.emit("response",h._response)},r.prototype._write=function(h,A,y){var w=this;w._body.push(h),y()},r.prototype.abort=r.prototype.destroy=function(){var h=this;h._destroyed=!0,p.clearTimeout(h._fetchTimer),h._response&&(h._response._destroyed=!0),h._xhr?h._xhr.abort():h._fetchAbortController&&h._fetchAbortController.abort()},r.prototype.end=function(h,A,y){var w=this;typeof h=="function"&&(y=h,h=void 0),i.Writable.prototype.end.call(w,h,A,y)},r.prototype.flushHeaders=function(){},r.prototype.setTimeout=function(){},r.prototype.setNoDelay=function(){},r.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,M("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},M("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(M,N,n){(function(v,p,S){"use strict";var m=M("babel-runtime/core-js/promise"),g=f(m);function f(a){return a&&a.__esModule?a:{default:a}}var d=M("./capability"),c=M("inherits"),o=M("readable-stream"),i=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},t=n.IncomingMessage=function(a,e,l,r){var s=this;if(o.Readable.call(s),s._mode=l,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){v.nextTick(function(){s.emit("close")})}),l==="fetch"){var u=function x(){A.read().then(function(O){if(s._destroyed)return;if(O.done){p.clearTimeout(r),s.push(null);return}s.push(new S(O.value)),x()}).catch(function(O){p.clearTimeout(r),s._destroyed||s.emit("error",O)})};if(s._fetchResponse=e,s.url=e.url,s.statusCode=e.status,s.statusMessage=e.statusText,e.headers.forEach(function(x,O){s.headers[O.toLowerCase()]=x,s.rawHeaders.push(O,x)}),d.writableStream){var h=new WritableStream({write:function(O){return new g.default(function(T,E){s._destroyed?E():s.push(new S(O))?T():s._resumeFetch=T})},close:function(){p.clearTimeout(r),s._destroyed||s.push(null)},abort:function(O){s._destroyed||s.emit("error",O)}});try{e.body.pipeTo(h).catch(function(x){p.clearTimeout(r),s._destroyed||s.emit("error",x)});return}catch(x){}}var A=e.body.getReader();u()}else{s._xhr=a,s._pos=0,s.url=a.responseURL,s.statusCode=a.status,s.statusMessage=a.statusText;var y=a.getAllResponseHeaders().split(/\r?\n/);if(y.forEach(function(x){var O=x.match(/^([^:]+):\s*(.*)/);if(O){var T=O[1].toLowerCase();T==="set-cookie"?(s.headers[T]===void 0&&(s.headers[T]=[]),s.headers[T].push(O[2])):s.headers[T]!==void 0?s.headers[T]+=", "+O[2]:s.headers[T]=O[2],s.rawHeaders.push(O[1],O[2])}}),s._charset="x-user-defined",!d.overrideMimeType){var w=s.rawHeaders["mime-type"];if(w){var b=w.match(/;\s*charset=([^;])(;|$)/);b&&(s._charset=b[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};c(t,o.Readable),t.prototype._read=function(){var a=this,e=a._resumeFetch;e&&(a._resumeFetch=null,e())},t.prototype._onXHRProgress=function(){var a=this,e=a._xhr,l=null;switch(a._mode){case"text:vbarray":if(e.readyState!==i.DONE)break;try{l=new p.VBArray(e.responseBody).toArray()}catch(A){}if(l!==null){a.push(new S(l));break}case"text":try{l=e.responseText}catch(A){a._mode="text:vbarray";break}if(l.length>a._pos){var r=l.substr(a._pos);if(a._charset==="x-user-defined"){for(var s=new S(r.length),u=0;u<r.length;u++)s[u]=r.charCodeAt(u)&255;a.push(s)}else a.push(r,a._charset);a._pos=l.length}break;case"arraybuffer":if(e.readyState!==i.DONE||!e.response)break;l=e.response,a.push(new S(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=e.response,e.readyState!==i.LOADING||!l)break;a.push(new S(new Uint8Array(l)));break;case"ms-stream":if(l=e.response,e.readyState!==i.LOADING)break;var h=new p.MSStreamReader;h.onprogress=function(){h.result.byteLength>a._pos&&(a.push(new S(new Uint8Array(h.result.slice(a._pos)))),a._pos=h.result.byteLength)},h.onload=function(){a.push(null)},h.readAsArrayBuffer(l);break}a._xhr.readyState===i.DONE&&a._mode!=="ms-stream"&&a.push(null)}}).call(this,M("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},M("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(M,N,n){"use strict";var v=M("safe-buffer").Buffer,p=v.isEncoding||function(h){h=""+h;switch(h&&h.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function S(h){if(!h)return"utf8";for(var A;;)switch(h){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return h;default:if(A)return;h=(""+h).toLowerCase(),A=!0}}function m(h){var A=S(h);if(typeof A!="string"&&(v.isEncoding===p||!p(h)))throw new Error("Unknown encoding: "+h);return A||h}n.StringDecoder=g;function g(h){this.encoding=m(h);var A;switch(this.encoding){case"utf16le":this.text=a,this.end=e,A=4;break;case"utf8":this.fillLast=o,A=4;break;case"base64":this.text=l,this.end=r,A=3;break;default:this.write=s,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=v.allocUnsafe(A)}g.prototype.write=function(h){if(h.length===0)return"";var A,y;if(this.lastNeed){if(A=this.fillLast(h),A===void 0)return"";y=this.lastNeed,this.lastNeed=0}else y=0;return y<h.length?A?A+this.text(h,y):this.text(h,y):A||""},g.prototype.end=t,g.prototype.text=i,g.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length};function f(h){return h<=127?0:h>>5===6?2:h>>4===14?3:h>>3===30?4:h>>6===2?-1:-2}function d(h,A,y){var w=A.length-1;if(w<y)return 0;var b=f(A[w]);return b>=0?(b>0&&(h.lastNeed=b-1),b):--w<y||b===-2?0:(b=f(A[w]),b>=0?(b>0&&(h.lastNeed=b-2),b):--w<y||b===-2?0:(b=f(A[w]),b>=0?(b>0&&(b===2?b=0:h.lastNeed=b-3),b):0))}function c(h,A,y){if((A[0]&192)!==128)return h.lastNeed=0,"\uFFFD";if(h.lastNeed>1&&A.length>1){if((A[1]&192)!==128)return h.lastNeed=1,"\uFFFD";if(h.lastNeed>2&&A.length>2&&(A[2]&192)!==128)return h.lastNeed=2,"\uFFFD"}}function o(h){var A=this.lastTotal-this.lastNeed,y=c(this,h,A);if(y!==void 0)return y;if(this.lastNeed<=h.length)return h.copy(this.lastChar,A,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,A,0,h.length),this.lastNeed-=h.length}function i(h,A){var y=d(this,h,A);if(!this.lastNeed)return h.toString("utf8",A);this.lastTotal=y;var w=h.length-(y-this.lastNeed);return h.copy(this.lastChar,0,w),h.toString("utf8",A,w)}function t(h){var A=h&&h.length?this.write(h):"";return this.lastNeed?A+"\uFFFD":A}function a(h,A){if((h.length-A)%2===0){var y=h.toString("utf16le",A);if(y){var w=y.charCodeAt(y.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],y.slice(0,-1)}return y}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",A,h.length-1)}function e(h){var A=h&&h.length?this.write(h):"";if(this.lastNeed){var y=this.lastTotal-this.lastNeed;return A+this.lastChar.toString("utf16le",0,y)}return A}function l(h,A){var y=(h.length-A)%3;return y===0?h.toString("base64",A):(this.lastNeed=3-y,this.lastTotal=3,y===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",A,h.length-y))}function r(h){var A=h&&h.length?this.write(h):"";return this.lastNeed?A+this.lastChar.toString("base64",0,3-this.lastNeed):A}function s(h){return h.toString(this.encoding)}function u(h){return h&&h.length?this.write(h):""}},{"safe-buffer":228}],236:[function(M,N,n){(function(v,p){var S=M("process/browser.js").nextTick,m=Function.prototype.apply,g=Array.prototype.slice,f={},d=0;n.setTimeout=function(){return new c(m.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new c(m.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(o){o.close()};function c(o,i){this._id=o,this._clearFn=i}c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(o,i){clearTimeout(o._idleTimeoutId),o._idleTimeout=i},n.unenroll=function(o){clearTimeout(o._idleTimeoutId),o._idleTimeout=-1},n._unrefActive=n.active=function(o){clearTimeout(o._idleTimeoutId);var i=o._idleTimeout;i>=0&&(o._idleTimeoutId=setTimeout(function(){o._onTimeout&&o._onTimeout()},i))},n.setImmediate=typeof v=="function"?v:function(o){var i=d++,t=arguments.length<2?!1:g.call(arguments,1);return f[i]=!0,S(function(){f[i]&&(t?o.apply(null,t):o.call(null),n.clearImmediate(i))}),i},n.clearImmediate=typeof p=="function"?p:function(o){delete f[o]}}).call(this,M("timers").setImmediate,M("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(M,N,n){var v=M("buffer").Buffer;N.exports=function(p){if(p instanceof Uint8Array){if(p.byteOffset===0&&p.byteLength===p.buffer.byteLength)return p.buffer;if(typeof p.buffer.slice=="function")return p.buffer.slice(p.byteOffset,p.byteOffset+p.byteLength)}if(v.isBuffer(p)){for(var S=new Uint8Array(p.length),m=p.length,g=0;g<m;g++)S[g]=p[g];return S.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(M,N,n){"use strict";var v=M("punycode"),p=M("./util");n.parse=A,n.resolve=w,n.resolveObject=b,n.format=y,n.Url=S;function S(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var m=/^([a-z0-9.+-]+:)/i,g=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r",`
`," "],c=["{","}","|","\\","^","`"].concat(d),o=["'"].concat(c),i=["%","/","?",";","#"].concat(o),t=["/","?","#"],a=255,e=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,r={javascript:!0,"javascript:":!0},s={javascript:!0,"javascript:":!0},u={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},h=M("querystring");function A(x,O,T){if(x&&p.isObject(x)&&x instanceof S)return x;var E=new S;return E.parse(x,O,T),E}S.prototype.parse=function(x,O,T){if(!p.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var E=x.indexOf("?"),C=E!==-1&&E<x.indexOf("#")?"?":"#",_=x.split(C),L=/\\/g;_[0]=_[0].replace(L,"/"),x=_.join(C);var P=x;if(P=P.trim(),!T&&x.split("#").length===1){var k=f.exec(P);if(k)return this.path=P,this.href=P,this.pathname=k[1],k[2]?(this.search=k[2],O?this.query=h.parse(this.search.substr(1)):this.query=this.search.substr(1)):O&&(this.search="",this.query={}),this}var F=m.exec(P);if(F){F=F[0];var j=F.toLowerCase();this.protocol=j,P=P.substr(F.length)}if(T||F||P.match(/^\/\/[^@\/]+@[^@\/]+/)){var z=P.substr(0,2)==="//";z&&!(F&&s[F])&&(P=P.substr(2),this.slashes=!0)}if(!s[F]&&(z||F&&!u[F])){for(var R=-1,U=0;U<t.length;U++){var B=P.indexOf(t[U]);B!==-1&&(R===-1||B<R)&&(R=B)}var H,K;R===-1?K=P.lastIndexOf("@"):K=P.lastIndexOf("@",R),K!==-1&&(H=P.slice(0,K),P=P.slice(K+1),this.auth=decodeURIComponent(H)),R=-1;for(var U=0;U<i.length;U++){var B=P.indexOf(i[U]);B!==-1&&(R===-1||B<R)&&(R=B)}R===-1&&(R=P.length),this.host=P.slice(0,R),P=P.slice(R),this.parseHost(),this.hostname=this.hostname||"";var V=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!V)for(var W=this.hostname.split(/\./),U=0,G=W.length;U<G;U++){var re=W[U];if(!re)continue;if(!re.match(e)){for(var ye="",$=0,ve=re.length;$<ve;$++)re.charCodeAt($)>127?ye+="x":ye+=re[$];if(!ye.match(e)){var Ce=W.slice(0,U),Se=W.slice(U+1),Ke=re.match(l);Ke&&(Ce.push(Ke[1]),Se.unshift(Ke[2])),Se.length&&(P="/"+Se.join(".")+P),this.hostname=Ce.join(".");break}}}this.hostname.length>a?this.hostname="":this.hostname=this.hostname.toLowerCase(),V||(this.hostname=v.toASCII(this.hostname));var ue=this.port?":"+this.port:"",Le=this.hostname||"";this.host=Le+ue,this.href+=this.host,V&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),P[0]!=="/"&&(P="/"+P))}if(!r[j])for(var U=0,G=o.length;U<G;U++){var ee=o[U];if(P.indexOf(ee)===-1)continue;var le=encodeURIComponent(ee);le===ee&&(le=escape(ee)),P=P.split(ee).join(le)}var et=P.indexOf("#");et!==-1&&(this.hash=P.substr(et),P=P.slice(0,et));var Re=P.indexOf("?");if(Re!==-1?(this.search=P.substr(Re),this.query=P.substr(Re+1),O&&(this.query=h.parse(this.query)),P=P.slice(0,Re)):O&&(this.search="",this.query={}),P&&(this.pathname=P),u[j]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var ue=this.pathname||"",Ae=this.search||"";this.path=ue+Ae}return this.href=this.format(),this};function y(x){return p.isString(x)&&(x=A(x)),x instanceof S?x.format():S.prototype.format.call(x)}S.prototype.format=function(){var x=this.auth||"";x&&(x=encodeURIComponent(x),x=x.replace(/%3A/i,":"),x+="@");var O=this.protocol||"",T=this.pathname||"",E=this.hash||"",C=!1,_="";this.host?C=x+this.host:this.hostname&&(C=x+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(C+=":"+this.port)),this.query&&p.isObject(this.query)&&Object.keys(this.query).length&&(_=h.stringify(this.query));var L=this.search||_&&"?"+_||"";return O&&O.substr(-1)!==":"&&(O+=":"),this.slashes||(!O||u[O])&&C!==!1?(C="//"+(C||""),T&&T.charAt(0)!=="/"&&(T="/"+T)):C||(C=""),E&&E.charAt(0)!=="#"&&(E="#"+E),L&&L.charAt(0)!=="?"&&(L="?"+L),T=T.replace(/[?#]/g,function(P){return encodeURIComponent(P)}),L=L.replace("#","%23"),O+C+T+L+E};function w(x,O){return A(x,!1,!0).resolve(O)}S.prototype.resolve=function(x){return this.resolveObject(A(x,!1,!0)).format()};function b(x,O){return x?A(x,!1,!0).resolveObject(O):O}S.prototype.resolveObject=function(x){if(p.isString(x)){var O=new S;O.parse(x,!1,!0),x=O}for(var T=new S,E=Object.keys(this),C=0;C<E.length;C++){var _=E[C];T[_]=this[_]}if(T.hash=x.hash,x.href==="")return T.href=T.format(),T;if(x.slashes&&!x.protocol){for(var L=Object.keys(x),P=0;P<L.length;P++){var k=L[P];k!=="protocol"&&(T[k]=x[k])}return u[T.protocol]&&T.hostname&&!T.pathname&&(T.path=T.pathname="/"),T.href=T.format(),T}if(x.protocol&&x.protocol!==T.protocol){if(!u[x.protocol]){for(var F=Object.keys(x),j=0;j<F.length;j++){var z=F[j];T[z]=x[z]}return T.href=T.format(),T}if(T.protocol=x.protocol,!x.host&&!s[x.protocol]){for(var G=(x.pathname||"").split("/");G.length&&!(x.host=G.shift()););x.host||(x.host=""),x.hostname||(x.hostname=""),G[0]!==""&&G.unshift(""),G.length<2&&G.unshift(""),T.pathname=G.join("/")}else T.pathname=x.pathname;if(T.search=x.search,T.query=x.query,T.host=x.host||"",T.auth=x.auth,T.hostname=x.hostname||x.host,T.port=x.port,T.pathname||T.search){var R=T.pathname||"",U=T.search||"";T.path=R+U}return T.slashes=T.slashes||x.slashes,T.href=T.format(),T}var B=T.pathname&&T.pathname.charAt(0)==="/",H=x.host||x.pathname&&x.pathname.charAt(0)==="/",K=H||B||T.host&&x.pathname,V=K,W=T.pathname&&T.pathname.split("/")||[],G=x.pathname&&x.pathname.split("/")||[],re=T.protocol&&!u[T.protocol];if(re&&(T.hostname="",T.port=null,T.host&&(W[0]===""?W[0]=T.host:W.unshift(T.host)),T.host="",x.protocol&&(x.hostname=null,x.port=null,x.host&&(G[0]===""?G[0]=x.host:G.unshift(x.host)),x.host=null),K=K&&(G[0]===""||W[0]==="")),H)T.host=x.host||x.host===""?x.host:T.host,T.hostname=x.hostname||x.hostname===""?x.hostname:T.hostname,T.search=x.search,T.query=x.query,W=G;else if(G.length)W||(W=[]),W.pop(),W=W.concat(G),T.search=x.search,T.query=x.query;else if(!p.isNullOrUndefined(x.search)){if(re){T.hostname=T.host=W.shift();var ye=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;ye&&(T.auth=ye.shift(),T.host=T.hostname=ye.shift())}return T.search=x.search,T.query=x.query,(!p.isNull(T.pathname)||!p.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.href=T.format(),T}if(!W.length)return T.pathname=null,T.search?T.path="/"+T.search:T.path=null,T.href=T.format(),T;for(var $=W.slice(-1)[0],ve=(T.host||x.host||W.length>1)&&($==="."||$==="..")||$==="",Ce=0,Se=W.length;Se>=0;Se--)$=W[Se],$==="."?W.splice(Se,1):$===".."?(W.splice(Se,1),Ce++):Ce&&(W.splice(Se,1),Ce--);if(!K&&!V)for(;Ce--;Ce)W.unshift("..");K&&W[0]!==""&&(!W[0]||W[0].charAt(0)!=="/")&&W.unshift(""),ve&&W.join("/").substr(-1)!=="/"&&W.push("");var Ke=W[0]===""||W[0]&&W[0].charAt(0)==="/";if(re){T.hostname=T.host=Ke?"":W.length?W.shift():"";var ye=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;ye&&(T.auth=ye.shift(),T.host=T.hostname=ye.shift())}return K=K||T.host&&W.length,K&&!Ke&&W.unshift(""),W.length?T.pathname=W.join("/"):(T.pathname=null,T.path=null),(!p.isNull(T.pathname)||!p.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.auth=x.auth||T.auth,T.slashes=T.slashes||x.slashes,T.href=T.format(),T},S.prototype.parseHost=function(){var x=this.host,O=g.exec(x);O&&(O=O[0],O!==":"&&(this.port=O.substr(1)),x=x.substr(0,x.length-O.length)),x&&(this.hostname=x)}},{"./util":239,punycode:209,querystring:212}],239:[function(M,N,n){"use strict";N.exports={isString:function(p){return typeof p=="string"},isObject:function(p){return typeof p=="object"&&p!==null},isNull:function(p){return p===null},isNullOrUndefined:function(p){return p==null}}},{}],240:[function(M,N,n){(function(v){N.exports=p;function p(m,g){if(S("noDeprecation"))return m;var f=!1;function d(){if(!f){if(S("throwDeprecation"))throw new Error(g);S("traceDeprecation")?console.trace(g):console.warn(g),f=!0}return m.apply(this,arguments)}return d}function S(m){try{if(!v.localStorage)return!1}catch(f){return!1}var g=v.localStorage[m];return g==null?!1:String(g).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(M,N,n){typeof Object.create=="function"?N.exports=function(p,S){p.super_=S,p.prototype=Object.create(S.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}})}:N.exports=function(p,S){p.super_=S;var m=function(){};m.prototype=S.prototype,p.prototype=new m,p.prototype.constructor=p}},{}],242:[function(M,N,n){N.exports=function(p){return p&&typeof p=="object"&&typeof p.copy=="function"&&typeof p.fill=="function"&&typeof p.readUInt8=="function"}},{}],243:[function(M,N,n){(function(v,p){var S=/%[sdj%]/g;n.format=function(R){if(!w(R)){for(var U=[],B=0;B<arguments.length;B++)U.push(f(arguments[B]));return U.join(" ")}for(var B=1,H=arguments,K=H.length,V=String(R).replace(S,function(G){if(G==="%%")return"%";if(B>=K)return G;switch(G){case"%s":return String(H[B++]);case"%d":return Number(H[B++]);case"%j":try{return JSON.stringify(H[B++])}catch(re){return"[Circular]"}default:return G}}),W=H[B];B<K;W=H[++B])h(W)||!T(W)?V+=" "+W:V+=" "+f(W);return V},n.deprecate=function(R,U){if(x(p.process))return function(){return n.deprecate(R,U).apply(this,arguments)};if(v.noDeprecation===!0)return R;var B=!1;function H(){if(!B){if(v.throwDeprecation)throw new Error(U);v.traceDeprecation?console.trace(U):console.error(U),B=!0}return R.apply(this,arguments)}return H};var m={},g;n.debuglog=function(R){if(x(g)&&(g=v.env.NODE_DEBUG||""),R=R.toUpperCase(),!m[R])if(new RegExp("\\b"+R+"\\b","i").test(g)){var U=v.pid;m[R]=function(){var B=n.format.apply(n,arguments);console.error("%s %d: %s",R,U,B)}}else m[R]=function(){};return m[R]};function f(R,U){var B={seen:[],stylize:c};return arguments.length>=3&&(B.depth=arguments[2]),arguments.length>=4&&(B.colors=arguments[3]),u(U)?B.showHidden=U:U&&n._extend(B,U),x(B.showHidden)&&(B.showHidden=!1),x(B.depth)&&(B.depth=2),x(B.colors)&&(B.colors=!1),x(B.customInspect)&&(B.customInspect=!0),B.colors&&(B.stylize=d),i(B,R,B.depth)}n.inspect=f,f.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},f.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function d(R,U){var B=f.styles[U];return B?"["+f.colors[B][0]+"m"+R+"["+f.colors[B][1]+"m":R}function c(R,U){return R}function o(R){var U={};return R.forEach(function(B,H){U[B]=!0}),U}function i(R,U,B){if(R.customInspect&&U&&_(U.inspect)&&U.inspect!==n.inspect&&!(U.constructor&&U.constructor.prototype===U)){var H=U.inspect(B,R);return w(H)||(H=i(R,H,B)),H}var K=t(R,U);if(K)return K;var V=Object.keys(U),W=o(V);if(R.showHidden&&(V=Object.getOwnPropertyNames(U)),C(U)&&(V.indexOf("message")>=0||V.indexOf("description")>=0))return a(U);if(V.length===0){if(_(U)){var G=U.name?": "+U.name:"";return R.stylize("[Function"+G+"]","special")}if(O(U))return R.stylize(RegExp.prototype.toString.call(U),"regexp");if(E(U))return R.stylize(Date.prototype.toString.call(U),"date");if(C(U))return a(U)}var re="",ye=!1,$=["{","}"];if(s(U)&&(ye=!0,$=["[","]"]),_(U)){var ve=U.name?": "+U.name:"";re=" [Function"+ve+"]"}if(O(U)&&(re=" "+RegExp.prototype.toString.call(U)),E(U)&&(re=" "+Date.prototype.toUTCString.call(U)),C(U)&&(re=" "+a(U)),V.length===0&&(!ye||U.length==0))return $[0]+re+$[1];if(B<0)return O(U)?R.stylize(RegExp.prototype.toString.call(U),"regexp"):R.stylize("[Object]","special");R.seen.push(U);var Ce;return ye?Ce=e(R,U,B,W,V):Ce=V.map(function(Se){return l(R,U,B,W,Se,ye)}),R.seen.pop(),r(Ce,re,$)}function t(R,U){if(x(U))return R.stylize("undefined","undefined");if(w(U)){var B="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(B,"string")}if(y(U))return R.stylize(""+U,"number");if(u(U))return R.stylize(""+U,"boolean");if(h(U))return R.stylize("null","null")}function a(R){return"["+Error.prototype.toString.call(R)+"]"}function e(R,U,B,H,K){for(var V=[],W=0,G=U.length;W<G;++W)z(U,String(W))?V.push(l(R,U,B,H,String(W),!0)):V.push("");return K.forEach(function(re){re.match(/^\d+$/)||V.push(l(R,U,B,H,re,!0))}),V}function l(R,U,B,H,K,V){var W,G,re;if(re=Object.getOwnPropertyDescriptor(U,K)||{value:U[K]},re.get?re.set?G=R.stylize("[Getter/Setter]","special"):G=R.stylize("[Getter]","special"):re.set&&(G=R.stylize("[Setter]","special")),z(H,K)||(W="["+K+"]"),G||(R.seen.indexOf(re.value)<0?(h(B)?G=i(R,re.value,null):G=i(R,re.value,B-1),G.indexOf(`
`)>-1&&(V?G=G.split(`
`).map(function(ye){return" "+ye}).join(`
`).substr(2):G=`
`+G.split(`
`).map(function(ye){return" "+ye}).join(`
`))):G=R.stylize("[Circular]","special")),x(W)){if(V&&K.match(/^\d+$/))return G;W=JSON.stringify(""+K),W.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.substr(1,W.length-2),W=R.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=R.stylize(W,"string"))}return W+": "+G}function r(R,U,B){var H=0,K=R.reduce(function(V,W){return H++,W.indexOf(`
`)>=0&&H++,V+W.replace(/\u001b\[\d\d?m/g,"").length+1},0);return K>60?B[0]+(U===""?"":U+`
`)+" "+R.join(`,
`)+" "+B[1]:B[0]+U+" "+R.join(", ")+" "+B[1]}function s(R){return Array.isArray(R)}n.isArray=s;function u(R){return typeof R=="boolean"}n.isBoolean=u;function h(R){return R===null}n.isNull=h;function A(R){return R==null}n.isNullOrUndefined=A;function y(R){return typeof R=="number"}n.isNumber=y;function w(R){return typeof R=="string"}n.isString=w;function b(R){return typeof R=="symbol"}n.isSymbol=b;function x(R){return R===void 0}n.isUndefined=x;function O(R){return T(R)&&P(R)==="[object RegExp]"}n.isRegExp=O;function T(R){return typeof R=="object"&&R!==null}n.isObject=T;function E(R){return T(R)&&P(R)==="[object Date]"}n.isDate=E;function C(R){return T(R)&&(P(R)==="[object Error]"||R instanceof Error)}n.isError=C;function _(R){return typeof R=="function"}n.isFunction=_;function L(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||typeof R=="undefined"}n.isPrimitive=L,n.isBuffer=M("./support/isBuffer");function P(R){return Object.prototype.toString.call(R)}function k(R){return R<10?"0"+R.toString(10):R.toString(10)}var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var R=new Date,U=[k(R.getHours()),k(R.getMinutes()),k(R.getSeconds())].join(":");return[R.getDate(),F[R.getMonth()],U].join(" ")}n.log=function(){console.log("%s - %s",j(),n.format.apply(n,arguments))},n.inherits=M("inherits"),n._extend=function(R,U){if(!U||!T(U))return R;for(var B=Object.keys(U),H=B.length;H--;)R[B[H]]=U[B[H]];return R};function z(R,U){return Object.prototype.hasOwnProperty.call(R,U)}}).call(this,M("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(M,N,n){"use strict";(function(){"use strict";n.stripBOM=function(v){return v[0]==="\uFEFF"?v.substring(1):v}}).call(void 0)},{}],245:[function(M,N,n){"use strict";var v=M("babel-runtime/helpers/typeof"),p=g(v),S=M("babel-runtime/core-js/object/keys"),m=g(S);function g(f){return f&&f.__esModule?f:{default:f}}(function(){"use strict";var f,d,c,o,i,t={}.hasOwnProperty;f=M("xmlbuilder"),d=M("./defaults").defaults,o=function(e){return typeof e=="string"&&(e.indexOf("&")>=0||e.indexOf(">")>=0||e.indexOf("<")>=0)},i=function(e){return"<![CDATA["+c(e)+"]]>"},c=function(e){return e.replace("]]>","]]]]><![CDATA[>")},n.Builder=function(){function a(e){var l,r,s;this.options={},r=d["0.2"];for(l in r){if(!t.call(r,l))continue;s=r[l],this.options[l]=s}for(l in e){if(!t.call(e,l))continue;s=e[l],this.options[l]=s}}return a.prototype.buildObject=function(e){var l,r,s,u,h;return l=this.options.attrkey,r=this.options.charkey,(0,m.default)(e).length===1&&this.options.rootName===d["0.2"].rootName?(h=(0,m.default)(e)[0],e=e[h]):h=this.options.rootName,s=function(A){return function(y,w){var b,x,O,T,E,C;if((typeof w=="undefined"?"undefined":(0,p.default)(w))!=="object")A.options.cdata&&o(w)?y.raw(i(w)):y.txt(w);else if(Array.isArray(w))for(T in w){if(!t.call(w,T))continue;x=w[T];for(E in x)O=x[E],y=s(y.ele(E),O).up()}else for(E in w){if(!t.call(w,E))continue;if(x=w[E],E===l){if((typeof x=="undefined"?"undefined":(0,p.default)(x))==="object")for(b in x)C=x[b],y=y.att(b,C)}else if(E===r)A.options.cdata&&o(x)?y=y.raw(i(x)):y=y.txt(x);else if(Array.isArray(x))for(T in x){if(!t.call(x,T))continue;O=x[T],typeof O=="string"?A.options.cdata&&o(O)?y=y.ele(E).raw(i(O)).up():y=y.ele(E,O).up():y=s(y.ele(E),O).up()}else(typeof x=="undefined"?"undefined":(0,p.default)(x))==="object"?y=s(y.ele(E),x).up():typeof x=="string"&&A.options.cdata&&o(x)?y=y.ele(E).raw(i(x)).up():(x==null&&(x=""),y=y.ele(E,x.toString()).up())}return y}}(this),u=f.create(h,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(u,e).end(this.options.renderOpts)},a}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(M,N,n){"use strict";(function(){n.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/promise"),p=o(v),S=M("babel-runtime/core-js/object/get-own-property-names"),m=o(S),g=M("babel-runtime/core-js/object/keys"),f=o(g),d=M("babel-runtime/helpers/typeof"),c=o(d);function o(i){return i&&i.__esModule?i:{default:i}}(function(){"use strict";var i,t,a,e,l,r,s,u,h=function(b,x){return function(){return b.apply(x,arguments)}},A=function(b,x){for(var O in x)y.call(x,O)&&(b[O]=x[O]);function T(){this.constructor=b}return T.prototype=x.prototype,b.prototype=new T,b.__super__=x.prototype,b},y={}.hasOwnProperty;s=M("sax"),a=M("events"),i=M("./bom"),r=M("./processors"),u=M("timers").setImmediate,t=M("./defaults").defaults,e=function(b){return(typeof b=="undefined"?"undefined":(0,c.default)(b))==="object"&&b!=null&&(0,f.default)(b).length===0},l=function(b,x,O){var T,E,C;for(T=0,E=b.length;T<E;T++)C=b[T],x=C(x,O);return x},n.Parser=function(w){A(b,w);function b(x){this.parseStringPromise=h(this.parseStringPromise,this),this.parseString=h(this.parseString,this),this.reset=h(this.reset,this),this.assignOrPush=h(this.assignOrPush,this),this.processAsync=h(this.processAsync,this);var O,T,E;if(!(this instanceof n.Parser))return new n.Parser(x);this.options={},T=t["0.2"];for(O in T){if(!y.call(T,O))continue;E=T[O],this.options[O]=E}for(O in x){if(!y.call(x,O))continue;E=x[O],this.options[O]=E}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(r.normalize)),this.reset()}return b.prototype.processAsync=function(){var x,O;try{return this.remaining.length<=this.options.chunkSize?(x=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(x),this.saxParser.close()):(x=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(x),u(this.processAsync))}catch(T){if(O=T,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(O)}},b.prototype.assignOrPush=function(x,O,T){return O in x?(x[O]instanceof Array||(x[O]=[x[O]]),x[O].push(T)):this.options.explicitArray?x[O]=[T]:x[O]=T},b.prototype.reset=function(){var x,O,T,E;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(C){return function(_){if(C.saxParser.resume(),!C.saxParser.errThrown)return C.saxParser.errThrown=!0,C.emit("error",_)}}(this),this.saxParser.onend=function(C){return function(){if(!C.saxParser.ended)return C.saxParser.ended=!0,C.emit("end",C.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,E=[],x=this.options.attrkey,O=this.options.charkey,this.saxParser.onopentag=function(C){return function(_){var L,P,k,F,j;if(k={},k[O]="",!C.options.ignoreAttrs){j=_.attributes;for(L in j){if(!y.call(j,L))continue;!(x in k)&&!C.options.mergeAttrs&&(k[x]={}),P=C.options.attrValueProcessors?l(C.options.attrValueProcessors,_.attributes[L],L):_.attributes[L],F=C.options.attrNameProcessors?l(C.options.attrNameProcessors,L):L,C.options.mergeAttrs?C.assignOrPush(k,F,P):k[x][F]=P}}return k["#name"]=C.options.tagNameProcessors?l(C.options.tagNameProcessors,_.name):_.name,C.options.xmlns&&(k[C.options.xmlnskey]={uri:_.uri,local:_.local}),E.push(k)}}(this),this.saxParser.onclosetag=function(C){return function(){var _,L,P,k,F,j,z,R,U,B;if(j=E.pop(),F=j["#name"],(!C.options.explicitChildren||!C.options.preserveChildrenOrder)&&delete j["#name"],j.cdata===!0&&(_=j.cdata,delete j.cdata),U=E[E.length-1],j[O].match(/^\s*$/)&&!_?(L=j[O],delete j[O]):(C.options.trim&&(j[O]=j[O].trim()),C.options.normalize&&(j[O]=j[O].replace(/\s{2,}/g," ").trim()),j[O]=C.options.valueProcessors?l(C.options.valueProcessors,j[O],F):j[O],(0,f.default)(j).length===1&&O in j&&!C.EXPLICIT_CHARKEY&&(j=j[O])),e(j)&&(j=C.options.emptyTag!==""?C.options.emptyTag:L),C.options.validator!=null&&(B="/"+function(){var H,K,V;for(V=[],H=0,K=E.length;H<K;H++)k=E[H],V.push(k["#name"]);return V}().concat(F).join("/"),function(){var H;try{return j=C.options.validator(B,U&&U[F],j)}catch(K){return H=K,C.emit("error",H)}}()),C.options.explicitChildren&&!C.options.mergeAttrs&&(typeof j=="undefined"?"undefined":(0,c.default)(j))==="object"){if(!C.options.preserveChildrenOrder)k={},C.options.attrkey in j&&(k[C.options.attrkey]=j[C.options.attrkey],delete j[C.options.attrkey]),!C.options.charsAsChildren&&C.options.charkey in j&&(k[C.options.charkey]=j[C.options.charkey],delete j[C.options.charkey]),(0,m.default)(j).length>0&&(k[C.options.childkey]=j),j=k;else if(U){U[C.options.childkey]=U[C.options.childkey]||[],z={};for(P in j){if(!y.call(j,P))continue;z[P]=j[P]}U[C.options.childkey].push(z),delete j["#name"],(0,f.default)(j).length===1&&O in j&&!C.EXPLICIT_CHARKEY&&(j=j[O])}}return E.length>0?C.assignOrPush(U,F,j):(C.options.explicitRoot&&(R=j,j={},j[F]=R),C.resultObject=j,C.saxParser.ended=!0,C.emit("end",C.resultObject))}}(this),T=function(C){return function(_){var L,P;if(P=E[E.length-1],P)return P[O]+=_,C.options.explicitChildren&&C.options.preserveChildrenOrder&&C.options.charsAsChildren&&(C.options.includeWhiteChars||_.replace(/\\n/g,"").trim()!=="")&&(P[C.options.childkey]=P[C.options.childkey]||[],L={"#name":"__text__"},L[O]=_,C.options.normalize&&(L[O]=L[O].replace(/\s{2,}/g," ").trim()),P[C.options.childkey].push(L)),P}}(this),this.saxParser.ontext=T,this.saxParser.oncdata=function(C){return function(_){var L;if(L=T(_),L)return L.cdata=!0}}(this)},b.prototype.parseString=function(x,O){var T;O!=null&&typeof O=="function"&&(this.on("end",function(E){return this.reset(),O(null,E)}),this.on("error",function(E){return this.reset(),O(E)}));try{return x=x.toString(),x.trim()===""?(this.emit("end",null),!0):(x=i.stripBOM(x),this.options.async?(this.remaining=x,u(this.processAsync),this.saxParser):this.saxParser.write(x).close())}catch(E){if(T=E,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw T}else return this.emit("error",T),this.saxParser.errThrown=!0}},b.prototype.parseStringPromise=function(x){return new p.default(function(O){return function(T,E){return O.parseString(x,function(C,_){return C?E(C):T(_)})}}(this))},b}(a),n.parseString=function(w,b,x){var O,T,E;return x!=null?(typeof x=="function"&&(O=x),(typeof b=="undefined"?"undefined":(0,c.default)(b))==="object"&&(T=b)):(typeof b=="function"&&(O=b),T={}),E=new n.Parser(T),E.parseString(w,O)},n.parseStringPromise=function(w,b){var x,O;return(typeof b=="undefined"?"undefined":(0,c.default)(b))==="object"&&(x=b),O=new n.Parser(x),O.parseStringPromise(w)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(M,N,n){"use strict";(function(){"use strict";var v;v=new RegExp(/(?!xmlns)^.*:/),n.normalize=function(p){return p.toLowerCase()},n.firstCharLowerCase=function(p){return p.charAt(0).toLowerCase()+p.slice(1)},n.stripPrefix=function(p){return p.replace(v,"")},n.parseNumbers=function(p){return isNaN(p)||(p=p%1===0?parseInt(p,10):parseFloat(p)),p},n.parseBooleans=function(p){return/^(?:true|false)$/i.test(p)&&(p=p.toLowerCase()==="true"),p}}).call(void 0)},{}],249:[function(M,N,n){"use strict";(function(){"use strict";var v,p,S,m,g=function(c,o){for(var i in o)f.call(o,i)&&(c[i]=o[i]);function t(){this.constructor=c}return t.prototype=o.prototype,c.prototype=new t,c.__super__=o.prototype,c},f={}.hasOwnProperty;p=M("./defaults"),v=M("./builder"),S=M("./parser"),m=M("./processors"),n.defaults=p.defaults,n.processors=m,n.ValidationError=function(d){g(c,d);function c(o){this.message=o}return c}(Error),n.Builder=v.Builder,n.Parser=S.Parser,n.parseString=S.parseString,n.parseStringPromise=S.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(M,N,n){"use strict";(function(){N.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(M,N,n){"use strict";(function(){N.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/get-prototype-of"),p=d(v),S=M("babel-runtime/helpers/typeof"),m=d(S),g=M("babel-runtime/core-js/object/assign"),f=d(g);function d(c){return c&&c.__esModule?c:{default:c}}(function(){var c,o,i,t,a,e,l,r=[].slice,s={}.hasOwnProperty;c=function(){var h,A,y,w,b,x;if(x=arguments[0],b=2<=arguments.length?r.call(arguments,1):[],a(f.default))f.default.apply(null,arguments);else for(h=0,y=b.length;h<y;h++)if(w=b[h],w!=null)for(A in w){if(!s.call(w,A))continue;x[A]=w[A]}return x},a=function(h){return!!h&&Object.prototype.toString.call(h)==="[object Function]"},e=function(h){var A;return!!h&&((A=typeof h=="undefined"?"undefined":(0,m.default)(h))==="function"||A==="object")},i=function(h){return a(Array.isArray)?Array.isArray(h):Object.prototype.toString.call(h)==="[object Array]"},t=function(h){var A;if(i(h))return!h.length;for(A in h){if(!s.call(h,A))continue;return!1}return!0},l=function(h){var A,y;return e(h)&&(y=(0,p.default)(h))&&(A=y.constructor)&&typeof A=="function"&&A instanceof A&&Function.prototype.toString.call(A)===Function.prototype.toString.call(Object)},o=function(h){return a(h.valueOf)?h.valueOf():h},N.exports.assign=c,N.exports.isFunction=a,N.exports.isObject=e,N.exports.isArray=i,N.exports.isEmpty=t,N.exports.isPlainObject=l,N.exports.getValue=o}).call(void 0)},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/get-prototype-of":59,"babel-runtime/helpers/typeof":67}],253:[function(M,N,n){"use strict";(function(){N.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f;m=M("./NodeType"),f=M("./XMLNode"),N.exports=g=function(){function d(c,o,i){if(this.parent=c,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),o==null)throw new Error("Missing attribute name. "+this.debugInfo(o));this.name=this.stringify.name(o),this.value=this.stringify.attValue(i),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(d.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(d.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(d.prototype,"textContent",{get:function(){return this.value},set:function(o){return this.value=o||""}}),Object.defineProperty(d.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(d.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(d.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(d.prototype,"specified",{get:function(){return!0}}),d.prototype.clone=function(){return(0,p.default)(this)},d.prototype.toString=function(c){return this.options.writer.attribute(this,this.options.writer.filterOptions(c))},d.prototype.debugInfo=function(c){return c=c||this.name,c==null?"parent: <"+this.parent.name+">":"attribute: {"+c+"}, parent: <"+this.parent.name+">"},d.prototype.isEqualNode=function(c){return c.namespaceURI!==this.namespaceURI||(c.prefix!==this.prefix||c.localName!==this.localName)?!1:!(c.value!==this.value)},d}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(i,t){for(var a in t)c.call(t,a)&&(i[a]=t[a]);function e(){this.constructor=i}return e.prototype=t.prototype,i.prototype=new e,i.__super__=t.prototype,i},c={}.hasOwnProperty;m=M("./NodeType"),f=M("./XMLCharacterData"),N.exports=g=function(o){d(i,o);function i(t,a){if(i.__super__.constructor.call(this,t),a==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=m.CData,this.value=this.stringify.cdata(a)}return i.prototype.clone=function(){return(0,p.default)(this)},i.prototype.toString=function(t){return this.options.writer.cdata(this,this.options.writer.filterOptions(t))},i}(f)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f=function(o,i){for(var t in i)d.call(i,t)&&(o[t]=i[t]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},d={}.hasOwnProperty;g=M("./XMLNode"),N.exports=m=function(c){f(o,c);function o(i){o.__super__.constructor.call(this,i),this.value=""}return Object.defineProperty(o.prototype,"data",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(o.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(o.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),o.prototype.clone=function(){return(0,p.default)(this)},o.prototype.substringData=function(i,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.appendData=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.insertData=function(i,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.deleteData=function(i,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.replaceData=function(i,t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.isEqualNode=function(i){return o.__super__.isEqualNode.apply(this,arguments).isEqualNode(i)?!(i.data!==this.data):!1},o}(g)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(i,t){for(var a in t)c.call(t,a)&&(i[a]=t[a]);function e(){this.constructor=i}return e.prototype=t.prototype,i.prototype=new e,i.__super__=t.prototype,i},c={}.hasOwnProperty;m=M("./NodeType"),g=M("./XMLCharacterData"),N.exports=f=function(o){d(i,o);function i(t,a){if(i.__super__.constructor.call(this,t),a==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=m.Comment,this.value=this.stringify.comment(a)}return i.prototype.clone=function(){return(0,p.default)(this)},i.prototype.toString=function(t){return this.options.writer.comment(this,this.options.writer.filterOptions(t))},i}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/keys"),p=g(v),S=M("babel-runtime/core-js/object/create"),m=g(S);function g(f){return f&&f.__esModule?f:{default:f}}(function(){var f,d,c;d=M("./XMLDOMErrorHandler"),c=M("./XMLDOMStringList"),N.exports=f=function(){function o(){var i;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new d,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=i=(0,m.default)(this.defaultParams)}return Object.defineProperty(o.prototype,"parameterNames",{get:function(){return new c((0,p.default)(this.defaultParams))}}),o.prototype.getParameter=function(i){return this.params.hasOwnProperty(i)?this.params[i]:null},o.prototype.canSetParameter=function(i,t){return!0},o.prototype.setParameter=function(i,t){return t!=null?this.params[i]=t:delete this.params[i]},o}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(M,N,n){"use strict";(function(){var v;N.exports=v=function(){function p(){}return p.prototype.handleError=function(S){throw new Error(S)},p}()}).call(void 0)},{}],260:[function(M,N,n){"use strict";(function(){var v;N.exports=v=function(){function p(){}return p.prototype.hasFeature=function(S,m){return!0},p.prototype.createDocumentType=function(S,m,g){throw new Error("This DOM method is not implemented.")},p.prototype.createDocument=function(S,m,g){throw new Error("This DOM method is not implemented.")},p.prototype.createHTMLDocument=function(S){throw new Error("This DOM method is not implemented.")},p.prototype.getFeature=function(S,m){throw new Error("This DOM method is not implemented.")},p}()}).call(void 0)},{}],261:[function(M,N,n){"use strict";(function(){var v;N.exports=v=function(){function p(S){this.arr=S||[]}return Object.defineProperty(p.prototype,"length",{get:function(){return this.arr.length}}),p.prototype.item=function(S){return this.arr[S]||null},p.prototype.contains=function(S){return this.arr.indexOf(S)!==-1},p}()}).call(void 0)},{}],262:[function(M,N,n){"use strict";(function(){var v,p,S,m=function(d,c){for(var o in c)g.call(c,o)&&(d[o]=c[o]);function i(){this.constructor=d}return i.prototype=c.prototype,d.prototype=new i,d.__super__=c.prototype,d},g={}.hasOwnProperty;S=M("./XMLNode"),v=M("./NodeType"),N.exports=p=function(f){m(d,f);function d(c,o,i,t,a,e){if(d.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(i==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(o));if(!t)throw new Error("Missing DTD attribute type. "+this.debugInfo(o));if(!a)throw new Error("Missing DTD attribute default. "+this.debugInfo(o));if(a.indexOf("#")!==0&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(o));if(e&&!a.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(o));this.elementName=this.stringify.name(o),this.type=v.AttributeDeclaration,this.attributeName=this.stringify.name(i),this.attributeType=this.stringify.dtdAttType(t),e&&(this.defaultValue=this.stringify.dtdAttDefault(e)),this.defaultValueType=a}return d.prototype.toString=function(c){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(c))},d}(S)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(M,N,n){"use strict";(function(){var v,p,S,m=function(d,c){for(var o in c)g.call(c,o)&&(d[o]=c[o]);function i(){this.constructor=d}return i.prototype=c.prototype,d.prototype=new i,d.__super__=c.prototype,d},g={}.hasOwnProperty;S=M("./XMLNode"),v=M("./NodeType"),N.exports=p=function(f){m(d,f);function d(c,o,i){if(d.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());i||(i="(#PCDATA)"),Array.isArray(i)&&(i="("+i.join(",")+")"),this.name=this.stringify.name(o),this.type=v.ElementDeclaration,this.value=this.stringify.dtdElementValue(i)}return d.prototype.toString=function(c){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(c))},d}(S)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(M,N,n){"use strict";(function(){var v,p,S,m,g=function(c,o){for(var i in o)f.call(o,i)&&(c[i]=o[i]);function t(){this.constructor=c}return t.prototype=o.prototype,c.prototype=new t,c.__super__=o.prototype,c},f={}.hasOwnProperty;m=M("./Utility").isObject,S=M("./XMLNode"),v=M("./NodeType"),N.exports=p=function(d){g(c,d);function c(o,i,t,a){if(c.__super__.constructor.call(this,o),t==null)throw new Error("Missing DTD entity name. "+this.debugInfo(t));if(a==null)throw new Error("Missing DTD entity value. "+this.debugInfo(t));if(this.pe=!!i,this.name=this.stringify.name(t),this.type=v.EntityDeclaration,!m(a))this.value=this.stringify.dtdEntityValue(a),this.internal=!0;else{if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(t));if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(t));if(this.internal=!1,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID)),a.nData!=null&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(t))}}return Object.defineProperty(c.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(c.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(c.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(c.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(c.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(c.prototype,"xmlVersion",{get:function(){return null}}),c.prototype.toString=function(o){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(o))},c}(S)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(M,N,n){"use strict";(function(){var v,p,S,m=function(d,c){for(var o in c)g.call(c,o)&&(d[o]=c[o]);function i(){this.constructor=d}return i.prototype=c.prototype,d.prototype=new i,d.__super__=c.prototype,d},g={}.hasOwnProperty;S=M("./XMLNode"),v=M("./NodeType"),N.exports=p=function(f){m(d,f);function d(c,o,i){if(d.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD notation name. "+this.debugInfo(o));if(!i.pubID&&!i.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(o));this.name=this.stringify.name(o),this.type=v.NotationDeclaration,i.pubID!=null&&(this.pubID=this.stringify.dtdPubID(i.pubID)),i.sysID!=null&&(this.sysID=this.stringify.dtdSysID(i.sysID))}return Object.defineProperty(d.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(d.prototype,"systemId",{get:function(){return this.sysID}}),d.prototype.toString=function(c){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(c))},d}(S)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(M,N,n){"use strict";(function(){var v,p,S,m,g=function(c,o){for(var i in o)f.call(o,i)&&(c[i]=o[i]);function t(){this.constructor=c}return t.prototype=o.prototype,c.prototype=new t,c.__super__=o.prototype,c},f={}.hasOwnProperty;m=M("./Utility").isObject,S=M("./XMLNode"),v=M("./NodeType"),N.exports=p=function(d){g(c,d);function c(o,i,t,a){var e;c.__super__.constructor.call(this,o),m(i)&&(e=i,i=e.version,t=e.encoding,a=e.standalone),i||(i="1.0"),this.type=v.Declaration,this.version=this.stringify.xmlVersion(i),t!=null&&(this.encoding=this.stringify.xmlEncoding(t)),a!=null&&(this.standalone=this.stringify.xmlStandalone(a))}return c.prototype.toString=function(o){return this.options.writer.declaration(this,this.options.writer.filterOptions(o))},c}(S)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(M,N,n){"use strict";(function(){var v,p,S,m,g,f,d,c,o,i=function(e,l){for(var r in l)t.call(l,r)&&(e[r]=l[r]);function s(){this.constructor=e}return s.prototype=l.prototype,e.prototype=new s,e.__super__=l.prototype,e},t={}.hasOwnProperty;o=M("./Utility").isObject,c=M("./XMLNode"),v=M("./NodeType"),p=M("./XMLDTDAttList"),m=M("./XMLDTDEntity"),S=M("./XMLDTDElement"),g=M("./XMLDTDNotation"),d=M("./XMLNamedNodeMap"),N.exports=f=function(a){i(e,a);function e(l,r,s){var u,h,A,y,w,b;if(e.__super__.constructor.call(this,l),this.type=v.DocType,l.children){for(y=l.children,h=0,A=y.length;h<A;h++)if(u=y[h],u.type===v.Element){this.name=u.name;break}}this.documentObject=l,o(r)&&(w=r,r=w.pubID,s=w.sysID),s==null&&(b=[r,s],s=b[0],r=b[1]),r!=null&&(this.pubID=this.stringify.dtdPubID(r)),s!=null&&(this.sysID=this.stringify.dtdSysID(s))}return Object.defineProperty(e.prototype,"entities",{get:function(){var r,s,u,h,A;for(h={},A=this.children,s=0,u=A.length;s<u;s++)r=A[s],r.type===v.EntityDeclaration&&!r.pe&&(h[r.name]=r);return new d(h)}}),Object.defineProperty(e.prototype,"notations",{get:function(){var r,s,u,h,A;for(h={},A=this.children,s=0,u=A.length;s<u;s++)r=A[s],r.type===v.NotationDeclaration&&(h[r.name]=r);return new d(h)}}),Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(e.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),e.prototype.element=function(l,r){var s;return s=new S(this,l,r),this.children.push(s),this},e.prototype.attList=function(l,r,s,u,h){var A;return A=new p(this,l,r,s,u,h),this.children.push(A),this},e.prototype.entity=function(l,r){var s;return s=new m(this,!1,l,r),this.children.push(s),this},e.prototype.pEntity=function(l,r){var s;return s=new m(this,!0,l,r),this.children.push(s),this},e.prototype.notation=function(l,r){var s;return s=new g(this,l,r),this.children.push(s),this},e.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},e.prototype.ele=function(l,r){return this.element(l,r)},e.prototype.att=function(l,r,s,u,h){return this.attList(l,r,s,u,h)},e.prototype.ent=function(l,r){return this.entity(l,r)},e.prototype.pent=function(l,r){return this.pEntity(l,r)},e.prototype.not=function(l,r){return this.notation(l,r)},e.prototype.up=function(){return this.root()||this.documentObject},e.prototype.isEqualNode=function(l){return e.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},e}(c)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(M,N,n){"use strict";(function(){var v,p,S,m,g,f,d,c,o=function(a,e){for(var l in e)i.call(e,l)&&(a[l]=e[l]);function r(){this.constructor=a}return r.prototype=e.prototype,a.prototype=new r,a.__super__=e.prototype,a},i={}.hasOwnProperty;c=M("./Utility").isPlainObject,S=M("./XMLDOMImplementation"),p=M("./XMLDOMConfiguration"),g=M("./XMLNode"),v=M("./NodeType"),d=M("./XMLStringifier"),f=M("./XMLStringWriter"),N.exports=m=function(t){o(a,t);function a(e){a.__super__.constructor.call(this,null),this.name="#document",this.type=v.Document,this.documentURI=null,this.domConfig=new p,e||(e={}),e.writer||(e.writer=new f),this.options=e,this.stringify=new d(e)}return Object.defineProperty(a.prototype,"implementation",{value:new S}),Object.defineProperty(a.prototype,"doctype",{get:function(){var l,r,s,u;for(u=this.children,r=0,s=u.length;r<s;r++)if(l=u[r],l.type===v.DocType)return l;return null}}),Object.defineProperty(a.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(a.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(a.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(a.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===v.Declaration?this.children[0].encoding:null}}),Object.defineProperty(a.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===v.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(a.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===v.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(a.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(a.prototype,"origin",{get:function(){return null}}),Object.defineProperty(a.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(a.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(a.prototype,"contentType",{get:function(){return null}}),a.prototype.end=function(e){var l;return l={},e?c(e)&&(l=e,e=this.options.writer):e=this.options.writer,e.document(this,e.filterOptions(l))},a.prototype.toString=function(e){return this.options.writer.document(this,this.options.writer.filterOptions(e))},a.prototype.createElement=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createTextNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createComment=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createCDATASection=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createProcessingInstruction=function(e,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createAttribute=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createEntityReference=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.importNode=function(e,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createElementNS=function(e,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createAttributeNS=function(e,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(e,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementById=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.adoptNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.renameNode=function(e,l,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByClassName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createEvent=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createNodeIterator=function(e,l,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.createTreeWalker=function(e,l,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},a}(g)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(M,N,n){"use strict";(function(){var v,p,S,m,g,f,d,c,o,i,t,a,e,l,r,s,u,h,A,y,w,b,x,O,T={}.hasOwnProperty;O=M("./Utility"),b=O.isObject,w=O.isFunction,x=O.isPlainObject,y=O.getValue,v=M("./NodeType"),a=M("./XMLDocument"),l=M("./XMLElement"),m=M("./XMLCData"),g=M("./XMLComment"),s=M("./XMLRaw"),A=M("./XMLText"),r=M("./XMLProcessingInstruction"),i=M("./XMLDeclaration"),t=M("./XMLDocType"),f=M("./XMLDTDAttList"),c=M("./XMLDTDEntity"),d=M("./XMLDTDElement"),o=M("./XMLDTDNotation"),S=M("./XMLAttribute"),h=M("./XMLStringifier"),u=M("./XMLStringWriter"),p=M("./WriterState"),N.exports=e=function(){function E(C,_,L){var P;this.name="?xml",this.type=v.Document,C||(C={}),P={},C.writer?x(C.writer)&&(P=C.writer,C.writer=new u):C.writer=new u,this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(P),this.stringify=new h(C),this.onDataCallback=_||function(){},this.onEndCallback=L||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return E.prototype.createChildNode=function(C){var _,L,P,k,F,j,z,R;switch(C.type){case v.CData:this.cdata(C.value);break;case v.Comment:this.comment(C.value);break;case v.Element:P={},z=C.attribs;for(L in z){if(!T.call(z,L))continue;_=z[L],P[L]=_.value}this.node(C.name,P);break;case v.Dummy:this.dummy();break;case v.Raw:this.raw(C.value);break;case v.Text:this.text(C.value);break;case v.ProcessingInstruction:this.instruction(C.target,C.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+C.constructor.name)}for(R=C.children,F=0,j=R.length;F<j;F++)k=R[F],this.createChildNode(k),k.type===v.Element&&this.up();return this},E.prototype.dummy=function(){return this},E.prototype.node=function(C,_,L){var P;if(C==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(C));return this.openCurrent(),C=y(C),_==null&&(_={}),_=y(_),b(_)||(P=[_,L],L=P[0],_=P[1]),this.currentNode=new l(this,C,_),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,L!=null&&this.text(L),this},E.prototype.element=function(C,_,L){var P,k,F,j,z,R;if(this.currentNode&&this.currentNode.type===v.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(C)||b(C)||w(C))for(j=this.options.noValidation,this.options.noValidation=!0,R=new a(this.options).element("TEMP_ROOT"),R.element(C),this.options.noValidation=j,z=R.children,k=0,F=z.length;k<F;k++)P=z[k],this.createChildNode(P),P.type===v.Element&&this.up();else this.node(C,_,L);return this},E.prototype.attribute=function(C,_){var L,P;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(C));if(C!=null&&(C=y(C)),b(C))for(L in C){if(!T.call(C,L))continue;P=C[L],this.attribute(L,P)}else w(_)&&(_=_.apply()),this.options.keepNullAttributes&&_==null?this.currentNode.attribs[C]=new S(this,C,""):_!=null&&(this.currentNode.attribs[C]=new S(this,C,_));return this},E.prototype.text=function(C){var _;return this.openCurrent(),_=new A(this,C),this.onData(this.writer.text(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.cdata=function(C){var _;return this.openCurrent(),_=new m(this,C),this.onData(this.writer.cdata(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.comment=function(C){var _;return this.openCurrent(),_=new g(this,C),this.onData(this.writer.comment(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.raw=function(C){var _;return this.openCurrent(),_=new s(this,C),this.onData(this.writer.raw(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.instruction=function(C,_){var L,P,k,F,j;if(this.openCurrent(),C!=null&&(C=y(C)),_!=null&&(_=y(_)),Array.isArray(C))for(L=0,F=C.length;L<F;L++)P=C[L],this.instruction(P);else if(b(C))for(P in C){if(!T.call(C,P))continue;k=C[P],this.instruction(P,k)}else w(_)&&(_=_.apply()),j=new r(this,C,_),this.onData(this.writer.processingInstruction(j,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},E.prototype.declaration=function(C,_,L){var P;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return P=new i(this,C,_,L),this.onData(this.writer.declaration(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.doctype=function(C,_,L){if(this.openCurrent(),C==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new t(this,_,L),this.currentNode.rootNodeName=C,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},E.prototype.dtdElement=function(C,_){var L;return this.openCurrent(),L=new d(this,C,_),this.onData(this.writer.dtdElement(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.attList=function(C,_,L,P,k){var F;return this.openCurrent(),F=new f(this,C,_,L,P,k),this.onData(this.writer.dtdAttList(F,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.entity=function(C,_){var L;return this.openCurrent(),L=new c(this,!1,C,_),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.pEntity=function(C,_){var L;return this.openCurrent(),L=new c(this,!0,C,_),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.notation=function(C,_){var L;return this.openCurrent(),L=new o(this,C,_),this.onData(this.writer.dtdNotation(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},E.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},E.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},E.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},E.prototype.openNode=function(C){var _,L,P,k;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===v.Element&&(this.root=C),L="",C.type===v.Element){this.writerOptions.state=p.OpenTag,L=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,k=C.attribs;for(P in k){if(!T.call(k,P))continue;_=k[P],L+=this.writer.attribute(_,this.writerOptions,this.currentLevel)}L+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=p.InsideTag}else this.writerOptions.state=p.OpenTag,L=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+C.rootNodeName,C.pubID&&C.sysID?L+=' PUBLIC "'+C.pubID+'" "'+C.sysID+'"':C.sysID&&(L+=' SYSTEM "'+C.sysID+'"'),C.children?(L+=" [",this.writerOptions.state=p.InsideTag):(this.writerOptions.state=p.CloseTag,L+=">"),L+=this.writer.endline(C,this.writerOptions,this.currentLevel);return this.onData(L,this.currentLevel),C.isOpen=!0}},E.prototype.closeNode=function(C){var _;if(!C.isClosed)return _="",this.writerOptions.state=p.CloseTag,C.type===v.Element?_=this.writer.indent(C,this.writerOptions,this.currentLevel)+"</"+C.name+">"+this.writer.endline(C,this.writerOptions,this.currentLevel):_=this.writer.indent(C,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=p.None,this.onData(_,this.currentLevel),C.isClosed=!0},E.prototype.onData=function(C,_){return this.documentStarted=!0,this.onDataCallback(C,_+1)},E.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},E.prototype.debugInfo=function(C){return C==null?"":"node: <"+C+">"},E.prototype.ele=function(){return this.element.apply(this,arguments)},E.prototype.nod=function(C,_,L){return this.node(C,_,L)},E.prototype.txt=function(C){return this.text(C)},E.prototype.dat=function(C){return this.cdata(C)},E.prototype.com=function(C){return this.comment(C)},E.prototype.ins=function(C,_){return this.instruction(C,_)},E.prototype.dec=function(C,_,L){return this.declaration(C,_,L)},E.prototype.dtd=function(C,_,L){return this.doctype(C,_,L)},E.prototype.e=function(C,_,L){return this.element(C,_,L)},E.prototype.n=function(C,_,L){return this.node(C,_,L)},E.prototype.t=function(C){return this.text(C)},E.prototype.d=function(C){return this.cdata(C)},E.prototype.c=function(C){return this.comment(C)},E.prototype.r=function(C){return this.raw(C)},E.prototype.i=function(C,_){return this.instruction(C,_)},E.prototype.att=function(){return this.currentNode&&this.currentNode.type===v.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},E.prototype.a=function(){return this.currentNode&&this.currentNode.type===v.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},E.prototype.ent=function(C,_){return this.entity(C,_)},E.prototype.pent=function(C,_){return this.pEntity(C,_)},E.prototype.not=function(C,_){return this.notation(C,_)},E}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(i,t){for(var a in t)c.call(t,a)&&(i[a]=t[a]);function e(){this.constructor=i}return e.prototype=t.prototype,i.prototype=new e,i.__super__=t.prototype,i},c={}.hasOwnProperty;f=M("./XMLNode"),m=M("./NodeType"),N.exports=g=function(o){d(i,o);function i(t){i.__super__.constructor.call(this,t),this.type=m.Dummy}return i.prototype.clone=function(){return(0,p.default)(this)},i.prototype.toString=function(t){return""},i}(f)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d,c,o,i,t,a,e=function(s,u){for(var h in u)l.call(u,h)&&(s[h]=u[h]);function A(){this.constructor=s}return A.prototype=u.prototype,s.prototype=new A,s.__super__=u.prototype,s},l={}.hasOwnProperty;a=M("./Utility"),t=a.isObject,i=a.isFunction,o=a.getValue,c=M("./XMLNode"),m=M("./NodeType"),g=M("./XMLAttribute"),d=M("./XMLNamedNodeMap"),N.exports=f=function(r){e(s,r);function s(u,h,A){var y,w,b,x;if(s.__super__.constructor.call(this,u),h==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(h),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,A!=null&&this.attribute(A),u.type===m.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(x=u.children,w=0,b=x.length;w<b;w++)if(y=x[w],y.type===m.DocType){y.name=this.name;break}}}return Object.defineProperty(s.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(s.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(s.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new d(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var u,h,A,y;A=(0,p.default)(this),A.isRoot&&(A.documentObject=null),A.attribs={},y=this.attribs;for(h in y){if(!l.call(y,h))continue;u=y[h],A.attribs[h]=u.clone()}return A.children=[],this.children.forEach(function(w){var b;return b=w.clone(),b.parent=A,A.children.push(b)}),A},s.prototype.attribute=function(u,h){var A,y;if(u!=null&&(u=o(u)),t(u))for(A in u){if(!l.call(u,A))continue;y=u[A],this.attribute(A,y)}else i(h)&&(h=h.apply()),this.options.keepNullAttributes&&h==null?this.attribs[u]=new g(this,u,""):h!=null&&(this.attribs[u]=new g(this,u,h));return this},s.prototype.removeAttribute=function(u){var h,A,y;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=o(u),Array.isArray(u))for(A=0,y=u.length;A<y;A++)h=u[A],delete this.attribs[h];else delete this.attribs[u];return this},s.prototype.toString=function(u){return this.options.writer.element(this,this.options.writer.filterOptions(u))},s.prototype.att=function(u,h){return this.attribute(u,h)},s.prototype.a=function(u,h){return this.attribute(u,h)},s.prototype.getAttribute=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u].value:null},s.prototype.setAttribute=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u]:null},s.prototype.setAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(u,h,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(u){return this.attribs.hasOwnProperty(u)},s.prototype.hasAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(u,h){return this.attribs.hasOwnProperty(u)?this.attribs[u].isId:h},s.prototype.setIdAttributeNS=function(u,h,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(u){var h,A,y;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(u))return!1;if(u.namespaceURI!==this.namespaceURI)return!1;if(u.prefix!==this.prefix)return!1;if(u.localName!==this.localName)return!1;if(u.attribs.length!==this.attribs.length)return!1;for(h=A=0,y=this.attribs.length-1;0<=y?A<=y:A>=y;h=0<=y?++A:--A)if(!this.attribs[h].isEqualNode(u.attribs[h]))return!1;return!0},s}(c)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/keys"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m;N.exports=m=function(){function g(f){this.nodes=f}return Object.defineProperty(g.prototype,"length",{get:function(){return(0,p.default)(this.nodes).length||0}}),g.prototype.clone=function(){return this.nodes=null},g.prototype.getNamedItem=function(f){return this.nodes[f]},g.prototype.setNamedItem=function(f){var d;return d=this.nodes[f.nodeName],this.nodes[f.nodeName]=f,d||null},g.prototype.removeNamedItem=function(f){var d;return d=this.nodes[f],delete this.nodes[f],d||null},g.prototype.item=function(f){return this.nodes[(0,p.default)(this.nodes)[f]]||null},g.prototype.getNamedItemNS=function(f,d){throw new Error("This DOM method is not implemented.")},g.prototype.setNamedItemNS=function(f){throw new Error("This DOM method is not implemented.")},g.prototype.removeNamedItemNS=function(f,d){throw new Error("This DOM method is not implemented.")},g}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(M,N,n){"use strict";(function(){var v,p,S,m,g,f,d,c,o,i,t,a,e,l,r,s,u,h,A,y={}.hasOwnProperty;A=M("./Utility"),h=A.isObject,u=A.isFunction,s=A.isEmpty,r=A.getValue,c=null,S=null,m=null,g=null,f=null,e=null,l=null,a=null,d=null,p=null,t=null,o=null,v=null,N.exports=i=function(){function w(b){this.parent=b,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,c||(c=M("./XMLElement"),S=M("./XMLCData"),m=M("./XMLComment"),g=M("./XMLDeclaration"),f=M("./XMLDocType"),e=M("./XMLRaw"),l=M("./XMLText"),a=M("./XMLProcessingInstruction"),d=M("./XMLDummy"),p=M("./NodeType"),t=M("./XMLNodeList"),o=M("./XMLNamedNodeMap"),v=M("./DocumentPosition"))}return Object.defineProperty(w.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(w.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(w.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(w.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(w.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new t(this.children)),this.childNodeList}}),Object.defineProperty(w.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(w.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){var x;return x=this.parent.children.indexOf(this),this.parent.children[x-1]||null}}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){var x;return x=this.parent.children.indexOf(this),this.parent.children[x+1]||null}}),Object.defineProperty(w.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(w.prototype,"textContent",{get:function(){var x,O,T,E,C;if(this.nodeType===p.Element||this.nodeType===p.DocumentFragment){for(C="",E=this.children,O=0,T=E.length;O<T;O++)x=E[O],x.textContent&&(C+=x.textContent);return C}else return null},set:function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),w.prototype.setParent=function(b){var x,O,T,E,C;for(this.parent=b,b&&(this.options=b.options,this.stringify=b.stringify),E=this.children,C=[],O=0,T=E.length;O<T;O++)x=E[O],C.push(x.setParent(this));return C},w.prototype.element=function(b,x,O){var T,E,C,_,L,P,k,F,j,z,R;if(P=null,x===null&&O==null&&(j=[{},null],x=j[0],O=j[1]),x==null&&(x={}),x=r(x),h(x)||(z=[x,O],O=z[0],x=z[1]),b!=null&&(b=r(b)),Array.isArray(b))for(C=0,k=b.length;C<k;C++)E=b[C],P=this.element(E);else if(u(b))P=this.element(b.apply());else if(h(b))for(L in b){if(!y.call(b,L))continue;if(R=b[L],u(R)&&(R=R.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&L.indexOf(this.stringify.convertAttKey)===0)P=this.attribute(L.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R)&&s(R))P=this.dummy();else if(h(R)&&s(R))P=this.element(L);else if(!this.options.keepNullNodes&&R==null)P=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(R))for(_=0,F=R.length;_<F;_++)E=R[_],T={},T[L]=E,P=this.element(T);else h(R)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?P=this.element(R):(P=this.element(L),P.element(R)):P=this.element(L,R)}else!this.options.keepNullNodes&&O===null?P=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&b.indexOf(this.stringify.convertTextKey)===0?P=this.text(O):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&b.indexOf(this.stringify.convertCDataKey)===0?P=this.cdata(O):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&b.indexOf(this.stringify.convertCommentKey)===0?P=this.comment(O):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&b.indexOf(this.stringify.convertRawKey)===0?P=this.raw(O):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&b.indexOf(this.stringify.convertPIKey)===0?P=this.instruction(b.substr(this.stringify.convertPIKey.length),O):P=this.node(b,x,O);if(P==null)throw new Error("Could not create any elements with: "+b+". "+this.debugInfo());return P},w.prototype.insertBefore=function(b,x,O){var T,E,C,_,L;if(b!=null?b.type:void 0)return C=b,_=x,C.setParent(this),_?(E=children.indexOf(_),L=children.splice(E),children.push(C),Array.prototype.push.apply(children,L)):children.push(C),C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return E=this.parent.children.indexOf(this),L=this.parent.children.splice(E),T=this.parent.element(b,x,O),Array.prototype.push.apply(this.parent.children,L),T},w.prototype.insertAfter=function(b,x,O){var T,E,C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return E=this.parent.children.indexOf(this),C=this.parent.children.splice(E+1),T=this.parent.element(b,x,O),Array.prototype.push.apply(this.parent.children,C),T},w.prototype.remove=function(){var b,x;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return b=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[b,b-b+1].concat(x=[])),this.parent},w.prototype.node=function(b,x,O){var T,E;return b!=null&&(b=r(b)),x||(x={}),x=r(x),h(x)||(E=[x,O],O=E[0],x=E[1]),T=new c(this,b,x),O!=null&&T.text(O),this.children.push(T),T},w.prototype.text=function(b){var x;return h(b)&&this.element(b),x=new l(this,b),this.children.push(x),this},w.prototype.cdata=function(b){var x;return x=new S(this,b),this.children.push(x),this},w.prototype.comment=function(b){var x;return x=new m(this,b),this.children.push(x),this},w.prototype.commentBefore=function(b){var x,O,T;return O=this.parent.children.indexOf(this),T=this.parent.children.splice(O),x=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,T),this},w.prototype.commentAfter=function(b){var x,O,T;return O=this.parent.children.indexOf(this),T=this.parent.children.splice(O+1),x=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,T),this},w.prototype.raw=function(b){var x;return x=new e(this,b),this.children.push(x),this},w.prototype.dummy=function(){var b;return b=new d(this),b},w.prototype.instruction=function(b,x){var O,T,E,C,_;if(b!=null&&(b=r(b)),x!=null&&(x=r(x)),Array.isArray(b))for(C=0,_=b.length;C<_;C++)O=b[C],this.instruction(O);else if(h(b))for(O in b){if(!y.call(b,O))continue;T=b[O],this.instruction(O,T)}else u(x)&&(x=x.apply()),E=new a(this,b,x),this.children.push(E);return this},w.prototype.instructionBefore=function(b,x){var O,T,E;return T=this.parent.children.indexOf(this),E=this.parent.children.splice(T),O=this.parent.instruction(b,x),Array.prototype.push.apply(this.parent.children,E),this},w.prototype.instructionAfter=function(b,x){var O,T,E;return T=this.parent.children.indexOf(this),E=this.parent.children.splice(T+1),O=this.parent.instruction(b,x),Array.prototype.push.apply(this.parent.children,E),this},w.prototype.declaration=function(b,x,O){var T,E;return T=this.document(),E=new g(T,b,x,O),T.children.length===0?T.children.unshift(E):T.children[0].type===p.Declaration?T.children[0]=E:T.children.unshift(E),T.root()||T},w.prototype.dtd=function(b,x){var O,T,E,C,_,L,P,k,F,j;for(T=this.document(),E=new f(T,b,x),F=T.children,C=_=0,P=F.length;_<P;C=++_)if(O=F[C],O.type===p.DocType)return T.children[C]=E,E;for(j=T.children,C=L=0,k=j.length;L<k;C=++L)if(O=j[C],O.isRoot)return T.children.splice(C,0,E),E;return T.children.push(E),E},w.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},w.prototype.root=function(){var b;for(b=this;b;){if(b.type===p.Document)return b.rootObject;if(b.isRoot)return b;b=b.parent}},w.prototype.document=function(){var b;for(b=this;b;){if(b.type===p.Document)return b;b=b.parent}},w.prototype.end=function(b){return this.document().end(b)},w.prototype.prev=function(){var b;if(b=this.parent.children.indexOf(this),b<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[b-1]},w.prototype.next=function(){var b;if(b=this.parent.children.indexOf(this),b===-1||b===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[b+1]},w.prototype.importDocument=function(b){var x;return x=b.root().clone(),x.parent=this,x.isRoot=!1,this.children.push(x),this},w.prototype.debugInfo=function(b){var x,O;return b=b||this.name,b==null&&!((x=this.parent)!=null?x.name:void 0)?"":b==null?"parent: <"+this.parent.name+">":((O=this.parent)!=null?O.name:void 0)?"node: <"+b+">, parent: <"+this.parent.name+">":"node: <"+b+">"},w.prototype.ele=function(b,x,O){return this.element(b,x,O)},w.prototype.nod=function(b,x,O){return this.node(b,x,O)},w.prototype.txt=function(b){return this.text(b)},w.prototype.dat=function(b){return this.cdata(b)},w.prototype.com=function(b){return this.comment(b)},w.prototype.ins=function(b,x){return this.instruction(b,x)},w.prototype.doc=function(){return this.document()},w.prototype.dec=function(b,x,O){return this.declaration(b,x,O)},w.prototype.e=function(b,x,O){return this.element(b,x,O)},w.prototype.n=function(b,x,O){return this.node(b,x,O)},w.prototype.t=function(b){return this.text(b)},w.prototype.d=function(b){return this.cdata(b)},w.prototype.c=function(b){return this.comment(b)},w.prototype.r=function(b){return this.raw(b)},w.prototype.i=function(b,x){return this.instruction(b,x)},w.prototype.u=function(){return this.up()},w.prototype.importXMLBuilder=function(b){return this.importDocument(b)},w.prototype.replaceChild=function(b,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.removeChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.appendChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.hasChildNodes=function(){return this.children.length!==0},w.prototype.cloneNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isSupported=function(b,x){return!0},w.prototype.hasAttributes=function(){return this.attribs.length!==0},w.prototype.compareDocumentPosition=function(b){var x,O;return x=this,x===b?0:this.document()!==b.document()?(O=v.Disconnected|v.ImplementationSpecific,Math.random()<.5?O|=v.Preceding:O|=v.Following,O):x.isAncestor(b)?v.Contains|v.Preceding:x.isDescendant(b)?v.Contains|v.Following:x.isPreceding(b)?v.Preceding:v.Following},w.prototype.isSameNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.lookupPrefix=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isDefaultNamespace=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.lookupNamespaceURI=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isEqualNode=function(b){var x,O,T;if(b.nodeType!==this.nodeType)return!1;if(b.children.length!==this.children.length)return!1;for(x=O=0,T=this.children.length-1;0<=T?O<=T:O>=T;x=0<=T?++O:--O)if(!this.children[x].isEqualNode(b.children[x]))return!1;return!0},w.prototype.getFeature=function(b,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.setUserData=function(b,x,O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.getUserData=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.contains=function(b){return b?b===this||this.isDescendant(b):!1},w.prototype.isDescendant=function(b){var x,O,T,E,C;for(C=this.children,T=0,E=C.length;T<E;T++){if(x=C[T],b===x)return!0;if(O=x.isDescendant(b),O)return!0}return!1},w.prototype.isAncestor=function(b){return b.isDescendant(this)},w.prototype.isPreceding=function(b){var x,O;return x=this.treePosition(b),O=this.treePosition(this),x===-1||O===-1?!1:x<O},w.prototype.isFollowing=function(b){var x,O;return x=this.treePosition(b),O=this.treePosition(this),x===-1||O===-1?!1:x>O},w.prototype.treePosition=function(b){var x,O;return O=0,x=!1,this.foreachTreeNode(this.document(),function(T){if(O++,!x&&T===b)return x=!0}),x?O:-1},w.prototype.foreachTreeNode=function(b,x){var O,T,E,C,_;for(b||(b=this.document()),C=b.children,T=0,E=C.length;T<E;T++){if(O=C[T],_=x(O))return _;if(_=this.foreachTreeNode(O,x),_)return _}},w}()}).call(void 0)},{"./DocumentPosition":250,"./NodeType":251,"./Utility":252,"./XMLCData":255,"./XMLComment":257,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLNamedNodeMap":272,"./XMLNodeList":274,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],274:[function(M,N,n){"use strict";(function(){var v;N.exports=v=function(){function p(S){this.nodes=S}return Object.defineProperty(p.prototype,"length",{get:function(){return this.nodes.length||0}}),p.prototype.clone=function(){return this.nodes=null},p.prototype.item=function(S){return this.nodes[S]||null},p}()}).call(void 0)},{}],275:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(i,t){for(var a in t)c.call(t,a)&&(i[a]=t[a]);function e(){this.constructor=i}return e.prototype=t.prototype,i.prototype=new e,i.__super__=t.prototype,i},c={}.hasOwnProperty;m=M("./NodeType"),g=M("./XMLCharacterData"),N.exports=f=function(o){d(i,o);function i(t,a,e){if(i.__super__.constructor.call(this,t),a==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(a),this.name=this.target,e&&(this.value=this.stringify.insValue(e))}return i.prototype.clone=function(){return(0,p.default)(this)},i.prototype.toString=function(t){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(t))},i.prototype.isEqualNode=function(t){return i.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)?!(t.target!==this.target):!1},i}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(i,t){for(var a in t)c.call(t,a)&&(i[a]=t[a]);function e(){this.constructor=i}return e.prototype=t.prototype,i.prototype=new e,i.__super__=t.prototype,i},c={}.hasOwnProperty;m=M("./NodeType"),g=M("./XMLNode"),N.exports=f=function(o){d(i,o);function i(t,a){if(i.__super__.constructor.call(this,t),a==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=m.Raw,this.value=this.stringify.raw(a)}return i.prototype.clone=function(){return(0,p.default)(this)},i.prototype.toString=function(t){return this.options.writer.raw(this,this.options.writer.filterOptions(t))},i}(g)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(M,N,n){"use strict";(function(){var v,p,S,m,g=function(c,o){for(var i in o)f.call(o,i)&&(c[i]=o[i]);function t(){this.constructor=c}return t.prototype=o.prototype,c.prototype=new t,c.__super__=o.prototype,c},f={}.hasOwnProperty;v=M("./NodeType"),m=M("./XMLWriterBase"),p=M("./WriterState"),N.exports=S=function(d){g(c,d);function c(o,i){this.stream=o,c.__super__.constructor.call(this,i)}return c.prototype.endline=function(o,i,t){return o.isLastRootNode&&i.state===p.CloseTag?"":c.__super__.endline.call(this,o,i,t)},c.prototype.document=function(o,i){var t,a,e,l,r,s,u,h,A;for(u=o.children,a=e=0,r=u.length;e<r;a=++e)t=u[a],t.isLastRootNode=a===o.children.length-1;for(i=this.filterOptions(i),h=o.children,A=[],l=0,s=h.length;l<s;l++)t=h[l],A.push(this.writeChildNode(t,i,0));return A},c.prototype.attribute=function(o,i,t){return this.stream.write(c.__super__.attribute.call(this,o,i,t))},c.prototype.cdata=function(o,i,t){return this.stream.write(c.__super__.cdata.call(this,o,i,t))},c.prototype.comment=function(o,i,t){return this.stream.write(c.__super__.comment.call(this,o,i,t))},c.prototype.declaration=function(o,i,t){return this.stream.write(c.__super__.declaration.call(this,o,i,t))},c.prototype.docType=function(o,i,t){var a,e,l,r;if(t||(t=0),this.openNode(o,i,t),i.state=p.OpenTag,this.stream.write(this.indent(o,i,t)),this.stream.write("<!DOCTYPE "+o.root().name),o.pubID&&o.sysID?this.stream.write(' PUBLIC "'+o.pubID+'" "'+o.sysID+'"'):o.sysID&&this.stream.write(' SYSTEM "'+o.sysID+'"'),o.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(o,i,t)),i.state=p.InsideTag,r=o.children,e=0,l=r.length;e<l;e++)a=r[e],this.writeChildNode(a,i,t+1);i.state=p.CloseTag,this.stream.write("]")}return i.state=p.CloseTag,this.stream.write(i.spaceBeforeSlash+">"),this.stream.write(this.endline(o,i,t)),i.state=p.None,this.closeNode(o,i,t)},c.prototype.element=function(o,i,t){var a,e,l,r,s,u,h,A,y,w;t||(t=0),this.openNode(o,i,t),i.state=p.OpenTag,this.stream.write(this.indent(o,i,t)+"<"+o.name),y=o.attribs;for(h in y){if(!f.call(y,h))continue;a=y[h],this.attribute(a,i,t)}if(l=o.children.length,r=l===0?null:o.children[0],l===0||o.children.every(function(b){return(b.type===v.Text||b.type===v.Raw)&&b.value===""}))i.allowEmpty?(this.stream.write(">"),i.state=p.CloseTag,this.stream.write("</"+o.name+">")):(i.state=p.CloseTag,this.stream.write(i.spaceBeforeSlash+"/>"));else if(i.pretty&&l===1&&(r.type===v.Text||r.type===v.Raw)&&r.value!=null)this.stream.write(">"),i.state=p.InsideTag,i.suppressPrettyCount++,A=!0,this.writeChildNode(r,i,t+1),i.suppressPrettyCount--,A=!1,i.state=p.CloseTag,this.stream.write("</"+o.name+">");else{for(this.stream.write(">"+this.endline(o,i,t)),i.state=p.InsideTag,w=o.children,s=0,u=w.length;s<u;s++)e=w[s],this.writeChildNode(e,i,t+1);i.state=p.CloseTag,this.stream.write(this.indent(o,i,t)+"</"+o.name+">")}return this.stream.write(this.endline(o,i,t)),i.state=p.None,this.closeNode(o,i,t)},c.prototype.processingInstruction=function(o,i,t){return this.stream.write(c.__super__.processingInstruction.call(this,o,i,t))},c.prototype.raw=function(o,i,t){return this.stream.write(c.__super__.raw.call(this,o,i,t))},c.prototype.text=function(o,i,t){return this.stream.write(c.__super__.text.call(this,o,i,t))},c.prototype.dtdAttList=function(o,i,t){return this.stream.write(c.__super__.dtdAttList.call(this,o,i,t))},c.prototype.dtdElement=function(o,i,t){return this.stream.write(c.__super__.dtdElement.call(this,o,i,t))},c.prototype.dtdEntity=function(o,i,t){return this.stream.write(c.__super__.dtdEntity.call(this,o,i,t))},c.prototype.dtdNotation=function(o,i,t){return this.stream.write(c.__super__.dtdNotation.call(this,o,i,t))},c}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(M,N,n){"use strict";(function(){var v,p,S=function(f,d){for(var c in d)m.call(d,c)&&(f[c]=d[c]);function o(){this.constructor=f}return o.prototype=d.prototype,f.prototype=new o,f.__super__=d.prototype,f},m={}.hasOwnProperty;p=M("./XMLWriterBase"),N.exports=v=function(g){S(f,g);function f(d){f.__super__.constructor.call(this,d)}return f.prototype.document=function(d,c){var o,i,t,a,e;for(c=this.filterOptions(c),a="",e=d.children,i=0,t=e.length;i<t;i++)o=e[i],a+=this.writeChildNode(o,c,0);return c.pretty&&a.slice(-c.newline.length)===c.newline&&(a=a.slice(0,-c.newline.length)),a},f}(p)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(M,N,n){"use strict";(function(){var v,p=function(g,f){return function(){return g.apply(f,arguments)}},S={}.hasOwnProperty;N.exports=v=function(){function m(g){this.assertLegalName=p(this.assertLegalName,this),this.assertLegalChar=p(this.assertLegalChar,this);var f,d,c;g||(g={}),this.options=g,this.options.version||(this.options.version="1.0"),d=g.stringify||{};for(f in d){if(!S.call(d,f))continue;c=d[f],this[f]=c}}return m.prototype.name=function(g){return this.options.noValidation?g:this.assertLegalName(""+g||"")},m.prototype.text=function(g){return this.options.noValidation?g:this.assertLegalChar(this.textEscape(""+g||""))},m.prototype.cdata=function(g){return this.options.noValidation?g:(g=""+g||"",g=g.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(g))},m.prototype.comment=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+g);return this.assertLegalChar(g)},m.prototype.raw=function(g){return this.options.noValidation?g:""+g||""},m.prototype.attValue=function(g){return this.options.noValidation?g:this.assertLegalChar(this.attEscape(g=""+g||""))},m.prototype.insTarget=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.insValue=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/\?>/))throw new Error("Invalid processing instruction value: "+g);return this.assertLegalChar(g)},m.prototype.xmlVersion=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+g);return g},m.prototype.xmlEncoding=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+g);return this.assertLegalChar(g)},m.prototype.xmlStandalone=function(g){return this.options.noValidation?g:g?"yes":"no"},m.prototype.dtdPubID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdSysID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdElementValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdAttType=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdAttDefault=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdEntityValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdNData=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.convertAttKey="@",m.prototype.convertPIKey="?",m.prototype.convertTextKey="#text",m.prototype.convertCDataKey="#cdata",m.prototype.convertCommentKey="#comment",m.prototype.convertRawKey="#raw",m.prototype.assertLegalChar=function(g){var f,d;if(this.options.noValidation)return g;if(f="",this.options.version==="1.0"){if(f=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=g.match(f))throw new Error("Invalid character in string: "+g+" at index "+d.index)}else if(this.options.version==="1.1"&&(f=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=g.match(f)))throw new Error("Invalid character in string: "+g+" at index "+d.index);return g},m.prototype.assertLegalName=function(g){var f;if(this.options.noValidation)return g;if(this.assertLegalChar(g),f=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!g.match(f))throw new Error("Invalid character in name");return g},m.prototype.textEscape=function(g){var f;return this.options.noValidation?g:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(f,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},m.prototype.attEscape=function(g){var f;return this.options.noValidation?g:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(f,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},m}()}).call(void 0)},{}],280:[function(M,N,n){"use strict";var v=M("babel-runtime/core-js/object/create"),p=S(v);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(i,t){for(var a in t)c.call(t,a)&&(i[a]=t[a]);function e(){this.constructor=i}return e.prototype=t.prototype,i.prototype=new e,i.__super__=t.prototype,i},c={}.hasOwnProperty;m=M("./NodeType"),g=M("./XMLCharacterData"),N.exports=f=function(o){d(i,o);function i(t,a){if(i.__super__.constructor.call(this,t),a==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=m.Text,this.value=this.stringify.text(a)}return Object.defineProperty(i.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(i.prototype,"wholeText",{get:function(){var a,e,l;for(l="",e=this.previousSibling;e;)l=e.data+l,e=e.previousSibling;for(l+=this.data,a=this.nextSibling;a;)l=l+a.data,a=a.nextSibling;return l}}),i.prototype.clone=function(){return(0,p.default)(this)},i.prototype.toString=function(t){return this.options.writer.text(this,this.options.writer.filterOptions(t))},i.prototype.splitText=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.replaceWholeText=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(M,N,n){"use strict";(function(){var v,p,S,m,g,f,d,c,o,i,t,a,e,l,r,s,u,h={}.hasOwnProperty;u=M("./Utility").assign,v=M("./NodeType"),o=M("./XMLDeclaration"),i=M("./XMLDocType"),S=M("./XMLCData"),m=M("./XMLComment"),a=M("./XMLElement"),l=M("./XMLRaw"),r=M("./XMLText"),e=M("./XMLProcessingInstruction"),t=M("./XMLDummy"),g=M("./XMLDTDAttList"),f=M("./XMLDTDElement"),d=M("./XMLDTDEntity"),c=M("./XMLDTDNotation"),p=M("./WriterState"),N.exports=s=function(){function A(y){var w,b,x;y||(y={}),this.options=y,b=y.writer||{};for(w in b){if(!h.call(b,w))continue;x=b[w],this["_"+w]=this[w],this[w]=x}}return A.prototype.filterOptions=function(y){var w,b,x,O,T,E,C,_;return y||(y={}),y=u({},this.options,y),w={writer:this},w.pretty=y.pretty||!1,w.allowEmpty=y.allowEmpty||!1,w.indent=(b=y.indent)!=null?b:" ",w.newline=(x=y.newline)!=null?x:`
`,w.offset=(O=y.offset)!=null?O:0,w.dontPrettyTextNodes=(T=(E=y.dontPrettyTextNodes)!=null?E:y.dontprettytextnodes)!=null?T:0,w.spaceBeforeSlash=(C=(_=y.spaceBeforeSlash)!=null?_:y.spacebeforeslash)!=null?C:"",w.spaceBeforeSlash===!0&&(w.spaceBeforeSlash=" "),w.suppressPrettyCount=0,w.user={},w.state=p.None,w},A.prototype.indent=function(y,w,b){var x;return!w.pretty||w.suppressPrettyCount?"":w.pretty&&(x=(b||0)+w.offset+1,x>0)?new Array(x).join(w.indent):""},A.prototype.endline=function(y,w,b){return!w.pretty||w.suppressPrettyCount?"":w.newline},A.prototype.attribute=function(y,w,b){var x;return this.openAttribute(y,w,b),x=" "+y.name+'="'+y.value+'"',this.closeAttribute(y,w,b),x},A.prototype.cdata=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b)+"<![CDATA[",w.state=p.InsideTag,x+=y.value,w.state=p.CloseTag,x+="]]>"+this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.comment=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b)+"<!-- ",w.state=p.InsideTag,x+=y.value,w.state=p.CloseTag,x+=" -->"+this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.declaration=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b)+"<?xml",w.state=p.InsideTag,x+=' version="'+y.version+'"',y.encoding!=null&&(x+=' encoding="'+y.encoding+'"'),y.standalone!=null&&(x+=' standalone="'+y.standalone+'"'),w.state=p.CloseTag,x+=w.spaceBeforeSlash+"?>",x+=this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.docType=function(y,w,b){var x,O,T,E,C;if(b||(b=0),this.openNode(y,w,b),w.state=p.OpenTag,E=this.indent(y,w,b),E+="<!DOCTYPE "+y.root().name,y.pubID&&y.sysID?E+=' PUBLIC "'+y.pubID+'" "'+y.sysID+'"':y.sysID&&(E+=' SYSTEM "'+y.sysID+'"'),y.children.length>0){for(E+=" [",E+=this.endline(y,w,b),w.state=p.InsideTag,C=y.children,O=0,T=C.length;O<T;O++)x=C[O],E+=this.writeChildNode(x,w,b+1);w.state=p.CloseTag,E+="]"}return w.state=p.CloseTag,E+=w.spaceBeforeSlash+">",E+=this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),E},A.prototype.element=function(y,w,b){var x,O,T,E,C,_,L,P,k,F,j,z,R,U;b||(b=0),F=!1,j="",this.openNode(y,w,b),w.state=p.OpenTag,j+=this.indent(y,w,b)+"<"+y.name,z=y.attribs;for(k in z){if(!h.call(z,k))continue;x=z[k],j+=this.attribute(x,w,b)}if(T=y.children.length,E=T===0?null:y.children[0],T===0||y.children.every(function(B){return(B.type===v.Text||B.type===v.Raw)&&B.value===""}))w.allowEmpty?(j+=">",w.state=p.CloseTag,j+="</"+y.name+">"+this.endline(y,w,b)):(w.state=p.CloseTag,j+=w.spaceBeforeSlash+"/>"+this.endline(y,w,b));else if(w.pretty&&T===1&&(E.type===v.Text||E.type===v.Raw)&&E.value!=null)j+=">",w.state=p.InsideTag,w.suppressPrettyCount++,F=!0,j+=this.writeChildNode(E,w,b+1),w.suppressPrettyCount--,F=!1,w.state=p.CloseTag,j+="</"+y.name+">"+this.endline(y,w,b);else{if(w.dontPrettyTextNodes){for(R=y.children,C=0,L=R.length;C<L;C++)if(O=R[C],(O.type===v.Text||O.type===v.Raw)&&O.value!=null){w.suppressPrettyCount++,F=!0;break}}for(j+=">"+this.endline(y,w,b),w.state=p.InsideTag,U=y.children,_=0,P=U.length;_<P;_++)O=U[_],j+=this.writeChildNode(O,w,b+1);w.state=p.CloseTag,j+=this.indent(y,w,b)+"</"+y.name+">",F&&w.suppressPrettyCount--,j+=this.endline(y,w,b),w.state=p.None}return this.closeNode(y,w,b),j},A.prototype.writeChildNode=function(y,w,b){switch(y.type){case v.CData:return this.cdata(y,w,b);case v.Comment:return this.comment(y,w,b);case v.Element:return this.element(y,w,b);case v.Raw:return this.raw(y,w,b);case v.Text:return this.text(y,w,b);case v.ProcessingInstruction:return this.processingInstruction(y,w,b);case v.Dummy:return"";case v.Declaration:return this.declaration(y,w,b);case v.DocType:return this.docType(y,w,b);case v.AttributeDeclaration:return this.dtdAttList(y,w,b);case v.ElementDeclaration:return this.dtdElement(y,w,b);case v.EntityDeclaration:return this.dtdEntity(y,w,b);case v.NotationDeclaration:return this.dtdNotation(y,w,b);default:throw new Error("Unknown XML node type: "+y.constructor.name)}},A.prototype.processingInstruction=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b)+"<?",w.state=p.InsideTag,x+=y.target,y.value&&(x+=" "+y.value),w.state=p.CloseTag,x+=w.spaceBeforeSlash+"?>",x+=this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.raw=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b),w.state=p.InsideTag,x+=y.value,w.state=p.CloseTag,x+=this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.text=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b),w.state=p.InsideTag,x+=y.value,w.state=p.CloseTag,x+=this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.dtdAttList=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b)+"<!ATTLIST",w.state=p.InsideTag,x+=" "+y.elementName+" "+y.attributeName+" "+y.attributeType,y.defaultValueType!=="#DEFAULT"&&(x+=" "+y.defaultValueType),y.defaultValue&&(x+=' "'+y.defaultValue+'"'),w.state=p.CloseTag,x+=w.spaceBeforeSlash+">"+this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.dtdElement=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b)+"<!ELEMENT",w.state=p.InsideTag,x+=" "+y.name+" "+y.value,w.state=p.CloseTag,x+=w.spaceBeforeSlash+">"+this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.dtdEntity=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b)+"<!ENTITY",w.state=p.InsideTag,y.pe&&(x+=" %"),x+=" "+y.name,y.value?x+=' "'+y.value+'"':(y.pubID&&y.sysID?x+=' PUBLIC "'+y.pubID+'" "'+y.sysID+'"':y.sysID&&(x+=' SYSTEM "'+y.sysID+'"'),y.nData&&(x+=" NDATA "+y.nData)),w.state=p.CloseTag,x+=w.spaceBeforeSlash+">"+this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.dtdNotation=function(y,w,b){var x;return this.openNode(y,w,b),w.state=p.OpenTag,x=this.indent(y,w,b)+"<!NOTATION",w.state=p.InsideTag,x+=" "+y.name,y.pubID&&y.sysID?x+=' PUBLIC "'+y.pubID+'" "'+y.sysID+'"':y.pubID?x+=' PUBLIC "'+y.pubID+'"':y.sysID&&(x+=' SYSTEM "'+y.sysID+'"'),w.state=p.CloseTag,x+=w.spaceBeforeSlash+">"+this.endline(y,w,b),w.state=p.None,this.closeNode(y,w,b),x},A.prototype.openNode=function(y,w,b){},A.prototype.closeNode=function(y,w,b){},A.prototype.openAttribute=function(y,w,b){},A.prototype.closeAttribute=function(y,w,b){},A}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(M,N,n){"use strict";(function(){var v,p,S,m,g,f,d,c,o,i;i=M("./Utility"),c=i.assign,o=i.isFunction,S=M("./XMLDOMImplementation"),m=M("./XMLDocument"),g=M("./XMLDocumentCB"),d=M("./XMLStringWriter"),f=M("./XMLStreamWriter"),v=M("./NodeType"),p=M("./WriterState"),N.exports.create=function(t,a,e,l){var r,s;if(t==null)throw new Error("Root element needs a name.");return l=c({},a,e,l),r=new m(l),s=r.element(t),l.headless||(r.declaration(l),(l.pubID!=null||l.sysID!=null)&&r.dtd(l)),s},N.exports.begin=function(t,a,e){var l;return o(t)&&(l=[t,a],a=l[0],e=l[1],t={}),a?new g(t,a,e):new m(t)},N.exports.stringWriter=function(t){return new d(t)},N.exports.streamWriter=function(t,a){return new f(t,a)},N.exports.implementation=new S,N.exports.nodeType=v,N.exports.writerState=p}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(M,N,n){N.exports=p;var v=Object.prototype.hasOwnProperty;function p(){for(var S={},m=0;m<arguments.length;m++){var g=arguments[m];for(var f in g)v.call(g,f)&&(S[f]=g[f])}return S}},{}],284:[function(M,N,n){"use strict";var v=M("buffer").Buffer,p=M("./sha"),S=M("./md5"),m={sha1:p,md5:S},g=64,f=v.alloc(g);f.fill(0);function d(i,t,a){v.isBuffer(t)||(t=v.from(t)),v.isBuffer(a)||(a=v.from(a)),t.length>g?t=i(t):t.length<g&&(t=v.concat([t,f],g));for(var e=v.alloc(g),l=v.alloc(g),r=0;r<g;r++)e[r]=t[r]^54,l[r]=t[r]^92;var s=i(v.concat([e,a]));return i(v.concat([l,s]))}function c(i,t){i=i||"sha1";var a=m[i],e=[],l=0;return a||o("algorithm:",i,"is not yet supported"),{update:function(s){return v.isBuffer(s)||(s=v.from(s)),e.push(s),l+=s.length,this},digest:function(s){var u=v.concat(e),h=t?d(a,t,u):a(u);return e=null,s?h.toString(s):h}}}function o(){var i=[].slice.call(arguments).join(" ");throw new Error([i,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}n.createHash=function(i){return c(i)},n.createHmac=function(i,t){return c(i,t)},n.createCredentials=function(){o("sorry,createCredentials is not implemented yet")},n.createCipher=function(){o("sorry,createCipher is not implemented yet")},n.createCipheriv=function(){o("sorry,createCipheriv is not implemented yet")},n.createDecipher=function(){o("sorry,createDecipher is not implemented yet")},n.createDecipheriv=function(){o("sorry,createDecipheriv is not implemented yet")},n.createSign=function(){o("sorry,createSign is not implemented yet")},n.createVerify=function(){o("sorry,createVerify is not implemented yet")},n.createDiffieHellman=function(){o("sorry,createDiffieHellman is not implemented yet")},n.pbkdf2=function(){o("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(M,N,n){"use strict";var v=M("buffer").Buffer,p=4,S=v.alloc(p);S.fill(0);var m=8;function g(c,o){if(c.length%p!==0){var i=c.length+(p-c.length%p);c=v.concat([c,S],i)}for(var t=[],a=o?c.readInt32BE:c.readInt32LE,e=0;e<c.length;e+=p)t.push(a.call(c,e));return t}function f(c,o,i){for(var t=v.alloc(o),a=i?t.writeInt32BE:t.writeInt32LE,e=0;e<c.length;e++)a.call(t,c[e],e*4,!0);return t}function d(c,o,i,t){v.isBuffer(c)||(c=v.from(c));var a=o(g(c,t),c.length*m);return f(a,i,t)}N.exports={hash:d}},{buffer:73}],286:[function(M,N,n){"use strict";var v=M("./helpers");function p(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function S(t,a){t[a>>5]|=128<<a%32,t[(a+64>>>9<<4)+14]=a;for(var e=1732584193,l=-271733879,r=-1732584194,s=271733878,u=0;u<t.length;u+=16){var h=e,A=l,y=r,w=s;e=g(e,l,r,s,t[u+0],7,-680876936),s=g(s,e,l,r,t[u+1],12,-389564586),r=g(r,s,e,l,t[u+2],17,606105819),l=g(l,r,s,e,t[u+3],22,-1044525330),e=g(e,l,r,s,t[u+4],7,-176418897),s=g(s,e,l,r,t[u+5],12,1200080426),r=g(r,s,e,l,t[u+6],17,-1473231341),l=g(l,r,s,e,t[u+7],22,-45705983),e=g(e,l,r,s,t[u+8],7,1770035416),s=g(s,e,l,r,t[u+9],12,-1958414417),r=g(r,s,e,l,t[u+10],17,-42063),l=g(l,r,s,e,t[u+11],22,-1990404162),e=g(e,l,r,s,t[u+12],7,1804603682),s=g(s,e,l,r,t[u+13],12,-40341101),r=g(r,s,e,l,t[u+14],17,-1502002290),l=g(l,r,s,e,t[u+15],22,1236535329),e=f(e,l,r,s,t[u+1],5,-165796510),s=f(s,e,l,r,t[u+6],9,-1069501632),r=f(r,s,e,l,t[u+11],14,643717713),l=f(l,r,s,e,t[u+0],20,-373897302),e=f(e,l,r,s,t[u+5],5,-701558691),s=f(s,e,l,r,t[u+10],9,38016083),r=f(r,s,e,l,t[u+15],14,-660478335),l=f(l,r,s,e,t[u+4],20,-405537848),e=f(e,l,r,s,t[u+9],5,568446438),s=f(s,e,l,r,t[u+14],9,-1019803690),r=f(r,s,e,l,t[u+3],14,-187363961),l=f(l,r,s,e,t[u+8],20,1163531501),e=f(e,l,r,s,t[u+13],5,-1444681467),s=f(s,e,l,r,t[u+2],9,-51403784),r=f(r,s,e,l,t[u+7],14,1735328473),l=f(l,r,s,e,t[u+12],20,-1926607734),e=d(e,l,r,s,t[u+5],4,-378558),s=d(s,e,l,r,t[u+8],11,-2022574463),r=d(r,s,e,l,t[u+11],16,1839030562),l=d(l,r,s,e,t[u+14],23,-35309556),e=d(e,l,r,s,t[u+1],4,-1530992060),s=d(s,e,l,r,t[u+4],11,1272893353),r=d(r,s,e,l,t[u+7],16,-155497632),l=d(l,r,s,e,t[u+10],23,-1094730640),e=d(e,l,r,s,t[u+13],4,681279174),s=d(s,e,l,r,t[u+0],11,-358537222),r=d(r,s,e,l,t[u+3],16,-722521979),l=d(l,r,s,e,t[u+6],23,76029189),e=d(e,l,r,s,t[u+9],4,-640364487),s=d(s,e,l,r,t[u+12],11,-421815835),r=d(r,s,e,l,t[u+15],16,530742520),l=d(l,r,s,e,t[u+2],23,-995338651),e=c(e,l,r,s,t[u+0],6,-198630844),s=c(s,e,l,r,t[u+7],10,1126891415),r=c(r,s,e,l,t[u+14],15,-1416354905),l=c(l,r,s,e,t[u+5],21,-57434055),e=c(e,l,r,s,t[u+12],6,1700485571),s=c(s,e,l,r,t[u+3],10,-1894986606),r=c(r,s,e,l,t[u+10],15,-1051523),l=c(l,r,s,e,t[u+1],21,-2054922799),e=c(e,l,r,s,t[u+8],6,1873313359),s=c(s,e,l,r,t[u+15],10,-30611744),r=c(r,s,e,l,t[u+6],15,-1560198380),l=c(l,r,s,e,t[u+13],21,1309151649),e=c(e,l,r,s,t[u+4],6,-145523070),s=c(s,e,l,r,t[u+11],10,-1120210379),r=c(r,s,e,l,t[u+2],15,718787259),l=c(l,r,s,e,t[u+9],21,-343485551),e=o(e,h),l=o(l,A),r=o(r,y),s=o(s,w)}return Array(e,l,r,s)}function m(t,a,e,l,r,s){return o(i(o(o(a,t),o(l,s)),r),e)}function g(t,a,e,l,r,s,u){return m(a&e|~a&l,t,a,r,s,u)}function f(t,a,e,l,r,s,u){return m(a&l|e&~l,t,a,r,s,u)}function d(t,a,e,l,r,s,u){return m(a^e^l,t,a,r,s,u)}function c(t,a,e,l,r,s,u){return m(e^(a|~l),t,a,r,s,u)}function o(t,a){var e=(t&65535)+(a&65535),l=(t>>16)+(a>>16)+(e>>16);return l<<16|e&65535}function i(t,a){return t<<a|t>>>32-a}N.exports=function(a){return v.hash(a,S,16)}},{"./helpers":285}],287:[function(M,N,n){"use strict";var v=M("./helpers");function p(d,c){d[c>>5]|=128<<24-c%32,d[(c+64>>9<<4)+15]=c;for(var o=Array(80),i=1732584193,t=-271733879,a=-1732584194,e=271733878,l=-1009589776,r=0;r<d.length;r+=16){for(var s=i,u=t,h=a,A=e,y=l,w=0;w<80;w++){w<16?o[w]=d[r+w]:o[w]=f(o[w-3]^o[w-8]^o[w-14]^o[w-16],1);var b=g(g(f(i,5),S(w,t,a,e)),g(g(l,o[w]),m(w)));l=e,e=a,a=f(t,30),t=i,i=b}i=g(i,s),t=g(t,u),a=g(a,h),e=g(e,A),l=g(l,y)}return Array(i,t,a,e,l)}function S(d,c,o,i){return d<20?c&o|~c&i:d<40?c^o^i:d<60?c&o|c&i|o&i:c^o^i}function m(d){return d<20?1518500249:d<40?1859775393:d<60?-1894007588:-899497514}function g(d,c){var o=(d&65535)+(c&65535),i=(d>>16)+(c>>16)+(o>>16);return i<<16|o&65535}function f(d,c){return d<<c|d>>>32-c}N.exports=function(c){return v.hash(c,p,20,!0)}},{"./helpers":285}],288:[function(M,N,n){"use strict";N.exports=function(){return function(){}}},{}],289:[function(M,N,n){(function(v){"use strict";var p=M("babel-runtime/helpers/typeof"),S=m(p);function m(i){return i&&i.__esModule?i:{default:i}}var g=M("stream"),f=g.Stream,d=M("../lib/common/utils/isArray"),c=d.isArray;N.exports.string=function(t){return typeof t=="string"},N.exports.array=c,N.exports.buffer=v.isBuffer;function o(i){return i instanceof f}N.exports.writableStream=function(t){return o(t)&&typeof t._write=="function"&&(0,S.default)(t._writableState)==="object"}}).call(this,{isBuffer:M("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(M,N,n){"use strict";n.encodeURIComponent=function(v){try{return encodeURIComponent(v)}catch(p){return v}},n.escape=M("escape-html"),n.timestamp=function(p){if(p){var S=p;return typeof S=="string"&&(S=Number(S)),String(p).length===10&&(S*=1e3),new Date(S)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(M,N,n){(function(v,p){"use strict";var S=M("babel-runtime/core-js/json/stringify"),m=d(S),g=M("babel-runtime/helpers/typeof"),f=d(g);function d(w){return w&&w.__esModule?w:{default:w}}var c=M("util"),o=M("url"),i=M("http"),t=M("https"),a=M("debug")("urllib"),e=M("humanize-ms"),l,r=0,s=Math.pow(2,31)-10,u=/^https?:\/\//i;function h(w,b){return w===void 0?b:w}function A(w,b){return function(x,O,T){if(x)return b(x);w({data:O,status:T.statusCode,headers:T.headers,res:T})}}n.TIMEOUTS=[e("300s"),e("300s")];var y=["json","text"];n.request=function(b,x,O){return arguments.length===2&&typeof x=="function"&&(O=x,x=null),typeof O=="function"?n.requestWithCallback(b,x,O):(l||(l=M("any-promise")),new l(function(T,E){n.requestWithCallback(b,x,A(T,E))}))},n.requestWithCallback=function(b,x,O){if(!b||typeof b!="string"&&(typeof b=="undefined"?"undefined":(0,f.default)(b))!=="object"){var T=c.format("expect request url to be a string or a http request options, but got %j",b);throw new Error(T)}arguments.length===2&&typeof x=="function"&&(O=x,x=null),x=x||{},r>=s&&(r=0);var E=++r;x.requestUrls=x.requestUrls||[];var C={requestId:E,url:b,args:x,ctx:x.ctx};x.emitter&&x.emitter.emit("request",C),x.timeout=x.timeout||n.TIMEOUTS,x.maxRedirects=x.maxRedirects||10,x.streaming=x.streaming||x.customResponse;var _=Date.now(),L;typeof b=="string"?(u.test(b)||(b="http://"+b),L=o.parse(b)):L=b;var P=(x.type||x.method||L.method||"GET").toUpperCase(),k=L.port||80,F=i,j=h(x.agent,n.agent),z=x.fixJSONCtlChars;L.protocol==="https:"&&(F=t,j=h(x.httpsAgent,n.httpsAgent),L.port||(k=443));var R={host:L.hostname||L.host||"localhost",path:L.path||"/",method:P,port:k,agent:j,headers:x.headers||{},lookup:x.lookup};Array.isArray(x.timeout)?R.requestTimeout=x.timeout[x.timeout.length-1]:typeof x.timeout!="undefined"&&(R.requestTimeout=x.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],B=0;B<U.length;B++){var H=U[B];x.hasOwnProperty(H)&&(R[H]=x[H])}R.rejectUnauthorized===!1&&!R.hasOwnProperty("secureOptions")&&(R.secureOptions=M("constants").SSL_OP_NO_TLSv1_2);var K=x.auth||L.auth;K&&(R.auth=K);var V=x.content||x.data,W=P==="GET"||P==="HEAD"||x.dataAsQueryString;if(!x.content&&(V&&!(typeof V=="string"||p.isBuffer(V))))if(W)V=x.nestedQuerystring?qs.stringify(V):querystring.stringify(V);else{var G=R.headers["Content-Type"]||R.headers["content-type"];G||(x.contentType==="json"?G="application/json":G="application/x-www-form-urlencoded",R.headers["Content-Type"]=G),parseContentType(G).type==="application/json"?V=(0,m.default)(V):V=x.nestedQuerystring?qs.stringify(V):querystring.stringify(V)}W&&V&&(R.path+=(L.query?"&":"?")+V,V=null);var re=0;if(V){var ye=V.length;p.isBuffer(V)||(ye=p.byteLength(V)),re=R.headers["Content-Length"]=ye}x.dataType==="json"&&(R.headers.Accept="application/json"),typeof x.beforeRequest=="function"&&x.beforeRequest(R);var $=null,ve=null,Ce=null,Se=!1,Ke=!1,ue=0,Le=-1,ee=!1,le="",et="",Re=null;x.timing&&(Re={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ae(){$&&(clearTimeout($),$=null)}function oe(){ve&&(clearTimeout(ve),ve=null)}function ce(Ne,It,Xe){if(oe(),!O){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),E,v.pid,R.method,b),Ne&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),E,v.pid,Ne.name,Ne.message,Ne.stack);return}var Ot=O;O=null;var Bt={};if(Xe&&(Le=Xe.statusCode,Bt=Xe.headers),Le===401&&Bt["www-authenticate"]&&(!x.headers||!x.headers.Authorization)&&x.digestAuth){var kt=Bt["www-authenticate"];if(kt.indexOf("Digest ")>=0)return a("Request#%d %s: got digest auth header WWW-Authenticate: %s",E,b,kt),x.headers=x.headers||{},x.headers.Authorization=digestAuthHeader(R.method,R.path,kt,x.digestAuth),a("Request#%d %s: auth with digest header: %s",E,b,x.headers.Authorization),Xe.headers["set-cookie"]&&(x.headers.Cookie=Xe.headers["set-cookie"].join(";")),n.requestWithCallback(b,x,Ot)}var _t=Date.now()-_;Re&&(Re.contentDownload=_t),a("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",_t,ue,Le,R.method,R.host,R.path,Ke,Re);var Ft={status:Le,statusCode:Le,headers:Bt,size:ue,aborted:ee,rt:_t,keepAliveSocket:Ke,data:It,requestUrls:x.requestUrls,timing:Re,remoteAddress:le,remotePort:et};if(Ne){var ke="";j&&typeof j.getCurrentStatus=="function"&&(ke=", agent status: "+(0,m.default)(j.getCurrentStatus())),Ne.message+=", "+R.method+" "+b+" "+Le+" (connected: "+Se+", keepalive socket: "+Ke+ke+`)
headers: `+(0,m.default)(Bt),Ne.data=It,Ne.path=R.path,Ne.status=Le,Ne.headers=Bt,Ne.res=Ft}Ot(Ne,It,x.streaming?Xe:Ft),x.emitter&&(C.url=b,C.socket=Et&&Et.connection,C.options=R,C.size=re,x.emitter.emit("response",{requestId:E,error:Ne,ctx:x.ctx,req:C,res:Ft}))}function be(Ne){var It=null;if(x.followRedirect&&statuses.redirect[Ne.statusCode]){x._followRedirectCount=(x._followRedirectCount||0)+1;var Xe=Ne.headers.location;if(!Xe)It=new Error("Got statusCode "+Ne.statusCode+" but cannot resolve next location from headers"),It.name="FollowRedirectError";else if(x._followRedirectCount>x.maxRedirects)It=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+b),It.name="MaxRedirectError";else{var Ot=x.formatRedirectUrl?x.formatRedirectUrl(b,Xe):o.resolve(b,Xe);a("Request#%d %s: `redirected` from %s to %s",E,R.path,b,Ot),oe(),x.headers&&x.headers.Host&&u.test(Xe)&&(x.headers.Host=null);var Bt=O;return O=null,n.requestWithCallback(Ot,x,Bt),{redirect:!0,error:null}}}return{redirect:!1,error:It}}!R.headers["User-Agent"]&&!R.headers["user-agent"]&&(R.headers["User-Agent"]=navigator.userAgent),x.gzip&&(!R.headers["Accept-Encoding"]&&!R.headers["accept-encoding"]&&(R.headers["Accept-Encoding"]="gzip"));function Te(Ne,It,Xe){var Ot=Ne.headers["content-encoding"];return Xe(null,It,Ot)}var Be=x.writeStream;a("Request#%d %s %s with headers %j, options.path: %s",E,P,b,R.headers,R.path),x.requestUrls.push(b);function De(Ne){if(Re&&(Re.waiting=Date.now()-_),a("Request#%d %s `req response` event emit: status %d, headers: %j",E,b,Ne.statusCode,Ne.headers),x.streaming){var It=be(Ne);if(It.redirect){Ne.resume();return}return It.error?(Ne.resume(),ce(It.error,null,Ne)):ce(null,null,Ne)}if(Ne.on("close",function(){a("Request#%d %s: `res close` event emit, total size %d",E,b,ue)}),Ne.on("error",function(){a("Request#%d %s: `res error` event emit, total size %d",E,b,ue)}),Ne.on("aborted",function(){ee=!0,a("Request#%d %s: `res aborted` event emit, total size %d",E,b,ue)}),Be){var It=be(Ne);if(It.redirect){Ne.resume();return}return It.error?(Ne.resume(),Be.end(),ce(It.error,null,Ne)):(x.consumeWriteStream===!1?Ne.on("end",ce.bind(null,null,null,Ne)):isNode010||isNode012?first([[Be,"close"],[Ne,"aborted"]],function(Bt,kt,_t){a("Request#%d %s: writeStream or res %s event emitted",E,b,_t),ce(Ce||null,null,Ne)}):Be.on("close",function(){a("Request#%d %s: writeStream close event emitted",E,b),ce(Ce||null,null,Ne)}),Ne.pipe(Be))}var Xe=[];Ne.on("data",function(Ot){a("Request#%d %s: `res data` event emit, size %d",E,b,Ot.length),ue+=Ot.length,Xe.push(Ot)}),Ne.on("end",function(){var Ot=p.concat(Xe,ue);if(a("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",E,b,ue,Ne._dumped),Ce)return ce(Ce,Ot,Ne);var Bt=be(Ne);if(Bt.error)return ce(Bt.error,Ot,Ne);if(Bt.redirect)return;Te(Ne,Ot,function(kt,_t,Ft){if(kt)return ce(kt,Ot,Ne);if(!Ft&&y.indexOf(x.dataType)>=0){try{_t=decodeBodyByCharset(_t,Ne)}catch(te){return a("decodeBodyByCharset error: %s",te),ce(null,_t,Ne)}if(x.dataType==="json")if(ue===0)_t=null;else{var ke=parseJSON(_t,z);ke.error?kt=ke.error:_t=ke.data}}ee&&a("Request#%d %s: Remote socket was terminated before `response.end()` was called",E,b),ce(kt,_t,Ne)})})}var ae,fe;Array.isArray(x.timeout)?(ae=e(x.timeout[0]),fe=e(x.timeout[1])):ae=fe=e(x.timeout),a("ConnectTimeout: %d, ResponseTimeout: %d",ae,fe);function Oe(){a("Connect timer ticking, timeout: %d",ae),$=setTimeout(function(){$=null,Le===-1&&(Le=-2);var Ne="Connect timeout for "+ae+"ms",It="ConnectionTimeoutError";Et.socket||(It="SocketAssignTimeoutError",Ne+=", working sockets is full"),Ce=new Error(Ne),Ce.name=It,Ce.requestId=E,a("ConnectTimeout: Request#%d %s %s: %s, connected: %s",E,b,Ce.name,Ne,Se),Ze()},ae)}function Je(){a("Response timer ticking, timeout: %d",fe),ve=setTimeout(function(){ve=null;var Ne="Response timeout for "+fe+"ms",It="ResponseTimeoutError";Ce=new Error(Ne),Ce.name=It,Ce.requestId=E,a("ResponseTimeout: Request#%d %s %s: %s, connected: %s",E,b,Ce.name,Ne,Se),Ze()},fe)}var Et;R.mode=x.mode?x.mode:"";try{Et=F.request(R,De)}catch(Ne){return ce(Ne)}typeof window=="undefined"?Oe():Et.on("requestTimeout",function(){Le===-1&&(Le=-2);var Ne="Connect timeout for "+ae+"ms",It="ConnectionTimeoutError";Ce=new Error(Ne),Ce.name=It,Ce.requestId=E,Ze()});function Ze(){a("Request#%d %s abort, connected: %s",E,b,Se),Et.socket||(Ce.noSocket=!0,ce(Ce)),Et.abort()}return Re&&Et.on("finish",function(){Re.requestSent=Date.now()-_}),Et.once("socket",function(Ne){Re&&(Re.queuing=Date.now()-_),isNode010&&Ne.socket&&(Ne=Ne.socket);var It=Ne.readyState;if(It==="opening"){Ne.once("lookup",function(Xe,Ot,Bt){a("Request#%d %s lookup: %s, %s, %s",E,b,Xe,Ot,Bt),Re&&(Re.dnslookup=Date.now()-_),Ot&&(le=Ot)}),Ne.once("connect",function(){Re&&(Re.connected=Date.now()-_),Ae(),Je(),a("Request#%d %s new socket connected",E,b),Se=!0,le||(le=Ne.remoteAddress),et=Ne.remotePort});return}a("Request#%d %s reuse socket connected, readyState: %s",E,b,It),Se=!0,Ke=!0,le||(le=Ne.remoteAddress),et=Ne.remotePort,Ae(),Je()}),Et.on("error",function(Ne){(Ne.name==="Error"||Ne.name==="TypeError")&&(Ne.name=Se?"ResponseError":"RequestError"),Ne.message+=' (req "error")',a("Request#%d %s `req error` event emit, %s: %s",E,b,Ne.name,Ne.message),ce(Ce||Ne)}),Be&&Be.once("error",function(Ne){Ne.message+=' (writeStream "error")',Ce=Ne,a("Request#%d %s `writeStream error` event emit, %s: %s",E,b,Ne.name,Ne.message),Ze()}),x.stream?(x.stream.pipe(Et),x.stream.once("error",function(Ne){Ne.message+=' (stream "error")',Ce=Ne,a("Request#%d %s `readStream error` event emit, %s: %s",E,b,Ne.name,Ne.message),Ze()})):Et.end(V),Et.requestId=E,Et}}).call(this,M("_process"),M("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(M,N,n){var v=n("hX1E"),p=v.normalizeRadian,S=Math.PI*2;function m(g,f,d,c,o,i,t,a,e){if(t===0)return!1;var l=t;a-=g,e-=f;var r=Math.sqrt(a*a+e*e);if(r-l>d||r+l<d)return!1;if(Math.abs(c-o)%S<1e-4)return!0;if(i){var s=c;c=p(o),o=p(s)}else c=p(c),o=p(o);c>o&&(o+=S);var u=Math.atan2(e,a);return u<0&&(u+=S),u>=c&&u<=o||u+S>=c&&u+S<=o}N.containStroke=m},n4Lv:function(M,N,n){var v=n("7hqr"),p=v.isDimensionStacked,S=n("bYtY"),m=S.map;function g(c,o,i){var t=c.getBaseAxis(),a=c.getOtherAxis(t),e=f(a,i),l=t.dim,r=a.dim,s=o.mapDimension(r),u=o.mapDimension(l),h=r==="x"||r==="radius"?1:0,A=m(c.dimensions,function(b){return o.mapDimension(b)}),y,w=o.getCalculationInfo("stackResultDimension");return(y|=p(o,A[0]))&&(A[0]=w),(y|=p(o,A[1]))&&(A[1]=w),{dataDimsForPoint:A,valueStart:e,valueAxisDim:r,baseAxisDim:l,stacked:!!y,valueDim:s,baseDim:u,baseDataOffset:h,stackedOverDimension:o.getCalculationInfo("stackedOverDimension")}}function f(c,o){var i=0,t=c.scale.getExtent();return o==="start"?i=t[0]:o==="end"?i=t[1]:t[0]>0?i=t[0]:t[1]<0&&(i=t[1]),i}function d(c,o,i,t){var a=NaN;c.stacked&&(a=i.get(i.getCalculationInfo("stackedOverDimension"),t)),isNaN(a)&&(a=c.valueStart);var e=c.baseDataOffset,l=[];return l[e]=i.get(c.baseDim,t),l[1-e]=a,o.dataToPoint(l)}N.prepareDataCoordInfo=g,N.getStackedOnPoint=d},n6Mw:function(M,N,n){var v=n("SrGk"),p=n("bYtY"),S=n("Fofx");function m(f,d){v.call(this,f,d,"clipPath","__clippath_in_use__")}p.inherits(m,v),m.prototype.update=function(f){var d=this.getSvgElement(f);d&&this.updateDom(d,f.__clipPaths,!1);var c=this.getTextSvgElement(f);c&&this.updateDom(c,f.__clipPaths,!0),this.markUsed(f)},m.prototype.updateDom=function(f,d,c){if(d&&d.length>0){var o=this.getDefs(!0),i=d[0],t,a,e=c?"_textDom":"_dom";i[e]?(a=i[e].getAttribute("id"),t=i[e],o.contains(t)||o.appendChild(t)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,t=this.createElement("clipPath"),t.setAttribute("id",a),o.appendChild(t),i[e]=t);var l=this.getSvgProxy(i);if(i.transform&&i.parent.invTransform&&!c){var r=Array.prototype.slice.call(i.transform);S.mul(i.transform,i.parent.invTransform,i.transform),l.brush(i),i.transform=r}else l.brush(i);var s=this.getSvgElement(i);t.innerHTML="",t.appendChild(s.cloneNode()),f.setAttribute("clip-path","url(#"+a+")"),d.length>1&&this.updateDom(t,d.slice(1),c)}else f&&f.setAttribute("clip-path","none")},m.prototype.markUsed=function(f){var d=this;f.__clipPaths&&p.each(f.__clipPaths,function(c){c._dom&&v.prototype.markUsed.call(d,c._dom),c._textDom&&v.prototype.markUsed.call(d,c._textDom)})};var g=m;M.exports=g},nCxF:function(M,N,n){var v=n("QBsz"),p=v.min,S=v.max,m=v.scale,g=v.distance,f=v.add,d=v.clone,c=v.sub;function o(i,t,a,e){var l=[],r=[],s=[],u=[],h,A,y,w;if(e){y=[Infinity,Infinity],w=[-Infinity,-Infinity];for(var b=0,x=i.length;b<x;b++)p(y,y,i[b]),S(w,w,i[b]);p(y,y,e[0]),S(w,w,e[1])}for(var b=0,x=i.length;b<x;b++){var O=i[b];if(a)h=i[b?b-1:x-1],A=i[(b+1)%x];else if(b===0||b===x-1){l.push(d(i[b]));continue}else h=i[b-1],A=i[b+1];c(r,A,h),m(r,r,t);var T=g(O,h),E=g(O,A),C=T+E;C!==0&&(T/=C,E/=C),m(s,r,-T),m(u,r,E);var _=f([],O,s),L=f([],O,u);e&&(S(_,_,y),p(_,_,w),S(L,L,y),p(L,L,w)),l.push(_),l.push(L)}return a&&l.push(l.shift()),l}M.exports=o},nKiI:function(M,N,n){var v=n("bYtY"),p=n("mFDi"),S=n("OELB"),m=S.parsePercent,g=S.MAX_SAFE_INTEGER,f=n("+TT/"),d=n("VaxA"),c=Math.max,o=Math.min,i=v.retrieve,t=v.each,a=["itemStyle","borderWidth"],e=["itemStyle","gapWidth"],l=["upperLabel","show"],r=["upperLabel","height"],s={seriesType:"treemap",reset:function(_,L,P,k){var F=P.getWidth(),j=P.getHeight(),z=_.option,R=f.getLayoutRect(_.getBoxLayoutParams(),{width:P.getWidth(),height:P.getHeight()}),U=z.size||[],B=m(i(R.width,U[0]),F),H=m(i(R.height,U[1]),j),K=k&&k.type,V=["treemapZoomToNode","treemapRootToNode"],W=d.retrieveTargetInfo(k,V,_),G=K==="treemapRender"||K==="treemapMove"?k.rootRect:null,re=_.getViewRoot(),ye=d.getPathToRoot(re);if(K!=="treemapMove"){var $=K==="treemapZoomToNode"?O(_,W,re,B,H):G?[G.width,G.height]:[B,H],ve=z.sort;ve&&ve!=="asc"&&ve!=="desc"&&(ve="desc");var Ce={squareRatio:z.squareRatio,sort:ve,leafDepth:z.leafDepth};re.hostTree.clearLayouts();var Se={x:0,y:0,width:$[0],height:$[1],area:$[0]*$[1]};re.setLayout(Se),u(re,Ce,!1,0);var Se=re.getLayout();t(ye,function(ue,Le){var ee=(ye[Le+1]||re).getValue();ue.setLayout(v.extend({dataExtent:[ee,ee],borderWidth:0,upperHeight:0},Se))})}var Ke=_.getData().tree.root;Ke.setLayout(T(R,G,W),!0),_.setLayoutInfo(R),E(Ke,new p(-R.x,-R.y,F,j),ye,re,0)}};function u(_,L,P,k){var F,j;if(_.isRemoved())return;var z=_.getLayout();F=z.width,j=z.height;var R=_.getModel(),U=R.get(a),B=R.get(e)/2,H=C(R),K=Math.max(U,H),V=U-B,W=K-B,R=_.getModel();_.setLayout({borderWidth:U,upperHeight:K,upperLabelHeight:H},!0),F=c(F-2*V,0),j=c(j-V-W,0);var G=F*j,re=h(_,R,G,L,P,k);if(!re.length)return;var ye={x:V,y:W,width:F,height:j},$=o(F,j),ve=Infinity,Ce=[];Ce.area=0;for(var Se=0,Ke=re.length;Se<Ke;){var ue=re[Se];Ce.push(ue),Ce.area+=ue.getLayout().area;var Le=b(Ce,$,L.squareRatio);Le<=ve?(Se++,ve=Le):(Ce.area-=Ce.pop().getLayout().area,x(Ce,$,ye,B,!1),$=o(ye.width,ye.height),Ce.length=Ce.area=0,ve=Infinity)}if(Ce.length&&x(Ce,$,ye,B,!0),!P){var ee=R.get("childrenVisibleMin");ee!=null&&G<ee&&(P=!0)}for(var Se=0,Ke=re.length;Se<Ke;Se++)u(re[Se],L,P,k+1)}function h(_,L,P,k,F,j){var z=_.children||[],R=k.sort;R!=="asc"&&R!=="desc"&&(R=null);var U=k.leafDepth!=null&&k.leafDepth<=j;if(F&&!U)return _.viewChildren=[];z=v.filter(z,function(W){return!W.isRemoved()}),y(z,R);var B=w(L,z,R);if(B.sum===0)return _.viewChildren=[];if(B.sum=A(L,P,B.sum,R,z),B.sum===0)return _.viewChildren=[];for(var H=0,K=z.length;H<K;H++){var V=z[H].getValue()/B.sum*P;z[H].setLayout({area:V})}return U&&(z.length&&_.setLayout({isLeafRoot:!0},!0),z.length=0),_.viewChildren=z,_.setLayout({dataExtent:B.dataExtent},!0),z}function A(_,L,P,k,F){if(!k)return P;for(var j=_.get("visibleMin"),z=F.length,R=z,U=z-1;U>=0;U--){var B=F[k==="asc"?z-U-1:U].getValue();B/P*L<j&&(R=U,P-=B)}return k==="asc"?F.splice(0,z-R):F.splice(R,z-R),P}function y(_,L){return L&&_.sort(function(P,k){var F=L==="asc"?P.getValue()-k.getValue():k.getValue()-P.getValue();return F===0?L==="asc"?P.dataIndex-k.dataIndex:k.dataIndex-P.dataIndex:F}),_}function w(_,L,P){for(var k=0,F=0,j=L.length;F<j;F++)k+=L[F].getValue();var z=_.get("visualDimension"),R;if(!L||!L.length)R=[NaN,NaN];else if(z==="value"&&P)R=[L[L.length-1].getValue(),L[0].getValue()],P==="asc"&&R.reverse();else{var R=[Infinity,-Infinity];t(L,function(B){var H=B.getValue(z);H<R[0]&&(R[0]=H),H>R[1]&&(R[1]=H)})}return{sum:k,dataExtent:R}}function b(_,L,P){for(var k=0,F=Infinity,j=0,z,R=_.length;j<R;j++)z=_[j].getLayout().area,z&&(z<F&&(F=z),z>k&&(k=z));var U=_.area*_.area,B=L*L*P;return U?c(B*k/U,U/(B*F)):Infinity}function x(_,L,P,k,F){var j=L===P.width?0:1,z=1-j,R=["x","y"],U=["width","height"],B=P[R[j]],H=L?_.area/L:0;(F||H>P[U[z]])&&(H=P[U[z]]);for(var K=0,V=_.length;K<V;K++){var W=_[K],G={},re=H?W.getLayout().area/H:0,ye=G[U[z]]=c(H-2*k,0),$=P[R[j]]+P[U[j]]-B,ve=K===V-1||$<re?$:re,Ce=G[U[j]]=c(ve-2*k,0);G[R[z]]=P[R[z]]+o(k,ye/2),G[R[j]]=B+o(k,Ce/2),B+=ve,W.setLayout(G,!0)}P[R[z]]+=H,P[U[z]]-=H}function O(_,L,P,k,F){var j=(L||{}).node,z=[k,F];if(!j||j===P)return z;for(var R,U=k*F,B=U*_.option.zoomToNodeRatio;R=j.parentNode;){for(var H=0,K=R.children,V=0,W=K.length;V<W;V++)H+=K[V].getValue();var G=j.getValue();if(G===0)return z;B*=H/G;var re=R.getModel(),ye=re.get(a),$=Math.max(ye,C(re,ye));B+=4*ye*ye+(3*ye+$)*Math.pow(B,.5),B>g&&(B=g),j=R}B<U&&(B=U);var ve=Math.pow(B/U,.5);return[k*ve,F*ve]}function T(_,L,P){if(L)return{x:L.x,y:L.y};var k={x:0,y:0};if(!P)return k;var F=P.node,j=F.getLayout();if(!j)return k;for(var z=[j.width/2,j.height/2],R=F;R;){var U=R.getLayout();z[0]+=U.x,z[1]+=U.y,R=R.parentNode}return{x:_.width/2-z[0],y:_.height/2-z[1]}}function E(_,L,P,k,F){var j=_.getLayout(),z=P[F],R=z&&z===_;if(z&&!R||F===P.length&&_!==k)return;_.setLayout({isInView:!0,invisible:!R&&!L.intersect(j),isAboveViewRoot:R},!0);var U=new p(L.x-j.x,L.y-j.y,L.width,L.height);t(_.viewChildren||[],function(B){E(B,U,P,k,F+1)})}function C(_){return _.get(l)?_.get(r):0}M.exports=s},nPnh:function(M,N){var n=Math.round;function v(m,g,f){if(!g)return;var d=g.x1,c=g.x2,o=g.y1,i=g.y2;m.x1=d,m.x2=c,m.y1=o,m.y2=i;var t=f&&f.lineWidth;if(!t)return;n(d*2)===n(c*2)&&(m.x1=m.x2=S(d,t,!0)),n(o*2)===n(i*2)&&(m.y1=m.y2=S(o,t,!0))}function p(m,g,f){if(!g)return;var d=g.x,c=g.y,o=g.width,i=g.height;m.x=d,m.y=c,m.width=o,m.height=i;var t=f&&f.lineWidth;if(!t)return;m.x=S(d,t,!0),m.y=S(c,t,!0),m.width=Math.max(S(d+o,t,!1)-m.x,o===0?0:1),m.height=Math.max(S(c+i,t,!1)-m.y,i===0?0:1)}function S(m,g,f){if(!g)return m;var d=n(m*2);return(d+n(g))%2===0?d/2:(d+(f?1:-1))/2}N.subPixelOptimizeLine=v,N.subPixelOptimizeRect=p,N.subPixelOptimize=S},nRaC:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("0fbx"),m=n.n(S),g=n("OaEy"),f=n("R9oj")},nVfU:function(M,N,n){var v=n("bYtY"),p=n("OELB"),S=p.parsePercent,m=n("7hqr"),g=m.isDimensionStacked,f=n("zM3Q"),d="__ec_stack_",c=.5,o=typeof Float32Array!="undefined"?Float32Array:Array;function i(x){return x.get("stack")||d+x.seriesIndex}function t(x){return x.dim+x.index}function a(x){var O=[],T=x.axis,E="axis0";if(T.type!=="category")return;for(var C=T.getBandWidth(),_=0;_<x.count||0;_++)O.push(v.defaults({bandWidth:C,axisKey:E,stackId:d+_},x));for(var L=s(O),P=[],_=0;_<x.count;_++){var k=L[E][d+_];k.offsetCenter=k.offset+k.width/2,P.push(k)}return P}function e(x,O){var T=[];return O.eachSeriesByType(x,function(E){y(E)&&!w(E)&&T.push(E)}),T}function l(x){var O={};v.each(x,function(k){var F=k.coordinateSystem,j=F.getBaseAxis();if(j.type!=="time"&&j.type!=="value")return;for(var z=k.getData(),R=j.dim+"_"+j.index,U=z.mapDimension(j.dim),B=0,H=z.count();B<H;++B){var K=z.get(U,B);O[R]?O[R].push(K):O[R]=[K]}});var T=[];for(var E in O)if(O.hasOwnProperty(E)){var C=O[E];if(C){C.sort(function(k,F){return k-F});for(var _=null,L=1;L<C.length;++L){var P=C[L]-C[L-1];P>0&&(_=_===null?P:Math.min(_,P))}T[E]=_}}return T}function r(x){var O=l(x),T=[];return v.each(x,function(E){var C=E.coordinateSystem,_=C.getBaseAxis(),L=_.getExtent(),P;if(_.type==="category")P=_.getBandWidth();else if(_.type==="value"||_.type==="time"){var k=_.dim+"_"+_.index,F=O[k],j=Math.abs(L[1]-L[0]),z=_.scale.getExtent(),R=Math.abs(z[1]-z[0]);P=F?j/R*F:j}else{var U=E.getData();P=Math.abs(L[1]-L[0])/U.count()}var B=S(E.get("barWidth"),P),H=S(E.get("barMaxWidth"),P),K=S(E.get("barMinWidth")||1,P),V=E.get("barGap"),W=E.get("barCategoryGap");T.push({bandWidth:P,barWidth:B,barMaxWidth:H,barMinWidth:K,barGap:V,barCategoryGap:W,axisKey:t(_),stackId:i(E)})}),s(T)}function s(x){var O={};v.each(x,function(E,C){var _=E.axisKey,L=E.bandWidth,P=O[_]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},k=P.stacks;O[_]=P;var F=E.stackId;k[F]||P.autoWidthCount++,k[F]=k[F]||{width:0,maxWidth:0};var j=E.barWidth;j&&!k[F].width&&(k[F].width=j,j=Math.min(P.remainedWidth,j),P.remainedWidth-=j);var z=E.barMaxWidth;z&&(k[F].maxWidth=z);var R=E.barMinWidth;R&&(k[F].minWidth=R);var U=E.barGap;U!=null&&(P.gap=U);var B=E.barCategoryGap;B!=null&&(P.categoryGap=B)});var T={};return v.each(O,function(E,C){T[C]={};var _=E.stacks,L=E.bandWidth,P=S(E.categoryGap,L),k=S(E.gap,1),F=E.remainedWidth,j=E.autoWidthCount,z=(F-P)/(j+(j-1)*k);z=Math.max(z,0),v.each(_,function(H){var K=H.maxWidth,V=H.minWidth;if(H.width){var W=H.width;K&&(W=Math.min(W,K)),V&&(W=Math.max(W,V)),H.width=W,F-=W+k*W,j--}else{var W=z;K&&K<W&&(W=Math.min(K,F)),V&&V>W&&(W=V),W!==z&&(H.width=W,F-=W+k*W,j--)}}),z=(F-P)/(j+(j-1)*k),z=Math.max(z,0);var R=0,U;v.each(_,function(H,K){H.width||(H.width=z),U=H,R+=H.width*(1+k)}),U&&(R-=U.width*k);var B=-R/2;v.each(_,function(H,K){T[C][K]=T[C][K]||{bandWidth:L,offset:B,width:H.width},B+=H.width*(1+k)})}),T}function u(x,O,T){if(x&&O){var E=x[t(O)];return E!=null&&T!=null&&(E=E[i(T)]),E}}function h(x,O){var T=e(x,O),E=r(T),C={},_={};v.each(T,function(L){var P=L.getData(),k=L.coordinateSystem,F=k.getBaseAxis(),j=i(L),z=E[t(F)][j],R=z.offset,U=z.width,B=k.getOtherAxis(F),H=L.get("barMinHeight")||0;C[j]=C[j]||[],_[j]=_[j]||[],P.setLayout({bandWidth:z.bandWidth,offset:R,size:U});for(var K=P.mapDimension(B.dim),V=P.mapDimension(F.dim),W=g(P,K),G=B.isHorizontal(),re=b(F,B,W),ye=0,$=P.count();ye<$;ye++){var ve=P.get(K,ye),Ce=P.get(V,ye),Se=ve>=0?"p":"n",Ke=re;W&&(C[j][Ce]||(C[j][Ce]={p:re,n:re}),Ke=C[j][Ce][Se]);var ue,Le,ee,le;if(G){var et=k.dataToPoint([ve,Ce]);ue=Ke,Le=et[1]+R,ee=et[0]-re,le=U,Math.abs(ee)<H&&(ee=(ee<0?-1:1)*H),isNaN(ee)||W&&(C[j][Ce][Se]+=ee)}else{var et=k.dataToPoint([Ce,ve]);ue=et[0]+R,Le=Ke,ee=U,le=et[1]-re,Math.abs(le)<H&&(le=(le<=0?-1:1)*H),isNaN(le)||W&&(C[j][Ce][Se]+=le)}P.setItemLayout(ye,{x:ue,y:Le,width:ee,height:le})}},this)}var A={seriesType:"bar",plan:f(),reset:function(x){if(!y(x)||!w(x))return;var O=x.getData(),T=x.coordinateSystem,E=T.grid.getRect(),C=T.getBaseAxis(),_=T.getOtherAxis(C),L=O.mapDimension(_.dim),P=O.mapDimension(C.dim),k=_.isHorizontal(),F=k?0:1,j=u(r([x]),C,x).width;return j>c||(j=c),{progress:z};function z(R,U){for(var B=R.count,H=new o(B*2),K=new o(B*2),V=new o(B),W,G=[],re=[],ye=0,$=0;(W=R.next())!=null;)re[F]=U.get(L,W),re[1-F]=U.get(P,W),G=T.dataToPoint(re,null,G),K[ye]=k?E.x+E.width:G[0],H[ye++]=G[0],K[ye]=k?G[1]:E.y+E.height,H[ye++]=G[1],V[$++]=W;U.setLayout({largePoints:H,largeDataIndices:V,largeBackgroundPoints:K,barWidth:j,valueAxisStart:b(C,_,!1),backgroundStart:k?E.x:E.y,valueAxisHorizontal:k})}}};function y(x){return x.coordinateSystem&&x.coordinateSystem.type==="cartesian2d"}function w(x){return x.pipelineContext&&x.pipelineContext.large}function b(x,O,T){return O.toGlobalCoord(O.dataToCoord(O.type==="log"?1:0))}N.getLayoutOnAxis=a,N.prepareLayoutBarSeries=e,N.makeColumnLayout=r,N.retrieveColumnLayout=u,N.layout=h,N.largeLayout=A},ngQI:function(M,N,n){"use strict";n.d(N,"a",function(){return tu}),n.d(N,"b",function(){return Iu}),n.d(N,"c",function(){return Wr});var v=n("q1tI"),p=n.n(v),S=n("dI71"),m=n("wx14"),g=n("ANjH"),f=n("/MKj");function d(_e,Y){if(_e.length!==Y.length)return!1;for(var he=0;he<_e.length;he++)if(_e[he]!==Y[he])return!1;return!0}function c(_e,Y){var he=Object(v.useState)(function(){return{inputs:Y,result:_e()}})[0],ze=Object(v.useRef)(!0),at=Object(v.useRef)(he),Rt=ze.current||Boolean(Y&&at.current.inputs&&d(Y,at.current.inputs)),Kt=Rt?at.current:{inputs:Y,result:_e()};return Object(v.useEffect)(function(){ze.current=!1,at.current=Kt},[Kt]),Kt.result}function o(_e,Y){return c(function(){return _e},Y)}var i=c,t=o,a=n("9R94"),e=function(Y){var he=Y.top,ze=Y.right,at=Y.bottom,Rt=Y.left,Kt=ze-Rt,Xt=at-he,Nr={top:he,right:ze,bottom:at,left:Rt,width:Kt,height:Xt,x:Rt,y:he,center:{x:(ze+Rt)/2,y:(at+he)/2}};return Nr},l=function(Y,he){return{top:Y.top-he.top,left:Y.left-he.left,bottom:Y.bottom+he.bottom,right:Y.right+he.right}},r=function(Y,he){return{top:Y.top+he.top,left:Y.left+he.left,bottom:Y.bottom-he.bottom,right:Y.right-he.right}},s=function(Y,he){return{top:Y.top+he.y,left:Y.left+he.x,bottom:Y.bottom+he.y,right:Y.right+he.x}},u={top:0,right:0,bottom:0,left:0},h=function(Y){var he=Y.borderBox,ze=Y.margin,at=ze===void 0?u:ze,Rt=Y.border,Kt=Rt===void 0?u:Rt,Xt=Y.padding,Nr=Xt===void 0?u:Xt,Qr=e(l(he,at)),Tr=e(r(he,Kt)),Er=e(r(Tr,Nr));return{marginBox:Qr,borderBox:e(he),paddingBox:Tr,contentBox:Er,margin:at,border:Kt,padding:Nr}},A=function(Y){var he=Y.slice(0,-2),ze=Y.slice(-2);if(ze!=="px")return 0;var at=Number(he);return isNaN(at)&&Object(a.a)(!1),at},y=function(){return{x:window.pageXOffset,y:window.pageYOffset}},w=function(Y,he){var ze=Y.borderBox,at=Y.border,Rt=Y.margin,Kt=Y.padding,Xt=s(ze,he);return h({borderBox:Xt,border:at,margin:Rt,padding:Kt})},b=function(Y,he){return he===void 0&&(he=y()),w(Y,he)},x=function(Y,he){var ze={top:A(he.marginTop),right:A(he.marginRight),bottom:A(he.marginBottom),left:A(he.marginLeft)},at={top:A(he.paddingTop),right:A(he.paddingRight),bottom:A(he.paddingBottom),left:A(he.paddingLeft)},Rt={top:A(he.borderTopWidth),right:A(he.borderRightWidth),bottom:A(he.borderBottomWidth),left:A(he.borderLeftWidth)};return h({borderBox:Y,margin:ze,padding:at,border:Rt})},O=function(Y){var he=Y.getBoundingClientRect(),ze=window.getComputedStyle(Y);return x(he,ze)},T=Number.isNaN||function(Y){return typeof Y=="number"&&Y!==Y};function E(_e,Y){return _e===Y?!0:!!(T(_e)&&T(Y))}function C(_e,Y){if(_e.length!==Y.length)return!1;for(var he=0;he<_e.length;he++)if(!E(_e[he],Y[he]))return!1;return!0}function _(_e,Y){Y===void 0&&(Y=C);var he,ze=[],at,Rt=!1;function Kt(){for(var Xt=[],Nr=0;Nr<arguments.length;Nr++)Xt[Nr]=arguments[Nr];return Rt&&he===this&&Y(Xt,ze)||(at=_e.apply(this,Xt),Rt=!0,he=this,ze=Xt),at}return Kt}var L=_,P=function(Y){var he=[],ze=null,at=function(){for(var Kt=arguments.length,Xt=new Array(Kt),Nr=0;Nr<Kt;Nr++)Xt[Nr]=arguments[Nr];if(he=Xt,ze)return;ze=requestAnimationFrame(function(){ze=null,Y.apply(void 0,he)})};return at.cancel=function(){if(!ze)return;cancelAnimationFrame(ze),ze=null},at},k=P,F=n("i8i4"),j=n.n(F),z=!0,R=/[ \t]{2,}/g,U=/^[ \t]*/gm,B=function(Y){return Y.replace(R," ").replace(U,"").trim()},H=function(Y){return B(`
%creact-beautiful-dnd
%c`+B(Y)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},K=function(Y){return[H(Y),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},V="__react-beautiful-dnd-disable-dev-warnings";function W(_e,Y){var he;if(z)return;if(typeof window!="undefined"&&window[V])return;(he=console)[_e].apply(he,K(Y))}var G=W.bind(null,"warn"),re=W.bind(null,"error");function ye(){}function $(_e,Y){return Object(m.a)({},_e,{},Y)}function ve(_e,Y,he){var ze=Y.map(function(at){var Rt=$(he,at.options);return _e.addEventListener(at.eventName,at.fn,Rt),function(){_e.removeEventListener(at.eventName,at.fn,Rt)}});return function(){ze.forEach(function(Rt){Rt()})}}var Ce=!0,Se="Invariant failed";function Ke(_e){this.message=_e}Ke.prototype.toString=function(){return this.message};function ue(_e,Y){if(_e)return;throw Ce?new Ke(Se):new Ke(Se+": "+(Y||""))}var Le=function(_e){Object(S.a)(Y,_e);function Y(){for(var ze,at=arguments.length,Rt=new Array(at),Kt=0;Kt<at;Kt++)Rt[Kt]=arguments[Kt];return ze=_e.call.apply(_e,[this].concat(Rt))||this,ze.callbacks=null,ze.unbind=ye,ze.onWindowError=function(Xt){var Nr=ze.getCallbacks();Nr.isDragging()&&Nr.tryAbort();var Qr=Xt.error;Qr instanceof Ke&&Xt.preventDefault()},ze.getCallbacks=function(){if(!ze.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return ze.callbacks},ze.setCallbacks=function(Xt){ze.callbacks=Xt},ze}var he=Y.prototype;return he.componentDidMount=function(){this.unbind=ve(window,[{eventName:"error",fn:this.onWindowError}])},he.componentWillUnmount=function(){this.unbind()},he.componentDidCatch=function(at){if(at instanceof Ke){this.setState({});return}throw at},he.render=function(){return this.props.children(this.setCallbacks)},Y}(p.a.Component),ee=`
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
`,le=function(Y){return Y+1},et=function(Y){return`
You have lifted an item in position `+le(Y.source.index)+`
`},Re=function(Y,he){var ze=Y.droppableId===he.droppableId,at=le(Y.index),Rt=le(he.index);return ze?`
You have moved the item from position `+at+`
to position `+Rt+`
`:`
You have moved the item from position `+at+`
in list `+Y.droppableId+`
to list `+he.droppableId+`
in position `+Rt+`
`},Ae=function(Y,he,ze){var at=he.droppableId===ze.droppableId;return at?`
The item `+Y+`
has been combined with `+ze.draggableId:`
The item `+Y+`
in list `+he.droppableId+`
has been combined with `+ze.draggableId+`
in list `+ze.droppableId+`
`},oe=function(Y){var he=Y.destination;if(he)return Re(Y.source,he);var ze=Y.combine;return ze?Ae(Y.draggableId,Y.source,ze):"You are over an area that cannot be dropped on"},ce=function(Y){return`
The item has returned to its starting position
of `+le(Y.index)+`
`},be=function(Y){if(Y.reason==="CANCEL")return`
Movement cancelled.
`+ce(Y.source)+`
`;var he=Y.destination,ze=Y.combine;return he?`
You have dropped the item.
`+Re(Y.source,he)+`
`:ze?`
You have dropped the item.
`+Ae(Y.draggableId,Y.source,ze)+`
`:`
The item has been dropped while not over a drop area.
`+ce(Y.source)+`
`},Te={dragHandleUsageInstructions:ee,onDragStart:et,onDragUpdate:oe,onDragEnd:be},Be={x:0,y:0},De=function(Y,he){return{x:Y.x+he.x,y:Y.y+he.y}},ae=function(Y,he){return{x:Y.x-he.x,y:Y.y-he.y}},fe=function(Y,he){return Y.x===he.x&&Y.y===he.y},Oe=function(Y){return{x:Y.x!==0?-Y.x:0,y:Y.y!==0?-Y.y:0}},Je=function(Y,he,ze){var at;return ze===void 0&&(ze=0),at={},at[Y]=he,at[Y==="x"?"y":"x"]=ze,at},Et=function(Y,he){return Math.sqrt(Math.pow(he.x-Y.x,2)+Math.pow(he.y-Y.y,2))},Ze=function(Y,he){return Math.min.apply(Math,he.map(function(ze){return Et(Y,ze)}))},Ne=function(Y){return function(he){return{x:Y(he.x),y:Y(he.y)}}},It=function(Y,he){var ze=e({top:Math.max(he.top,Y.top),right:Math.min(he.right,Y.right),bottom:Math.min(he.bottom,Y.bottom),left:Math.max(he.left,Y.left)});return ze.width<=0||ze.height<=0?null:ze},Xe=function(Y,he){return{top:Y.top+he.y,left:Y.left+he.x,bottom:Y.bottom+he.y,right:Y.right+he.x}},Ot=function(Y){return[{x:Y.left,y:Y.top},{x:Y.right,y:Y.top},{x:Y.left,y:Y.bottom},{x:Y.right,y:Y.bottom}]},Bt={top:0,right:0,bottom:0,left:0},kt=function(Y,he){return he?Xe(Y,he.scroll.diff.displacement):Y},_t=function(Y,he,ze){if(ze&&ze.increasedBy){var at;return Object(m.a)({},Y,(at={},at[he.end]=Y[he.end]+ze.increasedBy[he.line],at))}return Y},Ft=function(Y,he){return he&&he.shouldClipSubject?It(he.pageMarginBox,Y):e(Y)},ke=function(Y){var he=Y.page,ze=Y.withPlaceholder,at=Y.axis,Rt=Y.frame,Kt=kt(he.marginBox,Rt),Xt=_t(Kt,at,ze),Nr=Ft(Xt,Rt);return{page:he,withPlaceholder:ze,active:Nr}},te=function(Y,he){Y.frame||ue(!1);var ze=Y.frame,at=ae(he,ze.scroll.initial),Rt=Oe(at),Kt=Object(m.a)({},ze,{scroll:{initial:ze.scroll.initial,current:he,diff:{value:at,displacement:Rt},max:ze.scroll.max}}),Xt=ke({page:Y.subject.page,withPlaceholder:Y.subject.withPlaceholder,axis:Y.axis,frame:Kt}),Nr=Object(m.a)({},Y,{frame:Kt,subject:Xt});return Nr};function Q(_e){return Number.isInteger?Number.isInteger(_e):typeof _e=="number"&&isFinite(_e)&&Math.floor(_e)===_e}function qe(_e){return Object.values?Object.values(_e):Object.keys(_e).map(function(Y){return _e[Y]})}function je(_e,Y){if(_e.findIndex)return _e.findIndex(Y);for(var he=0;he<_e.length;he++)if(Y(_e[he]))return he;return-1}function q(_e,Y){if(_e.find)return _e.find(Y);var he=je(_e,Y);return he!==-1?_e[he]:void 0}function wt(_e){return Array.prototype.slice.call(_e)}var Vt=L(function(_e){return _e.reduce(function(Y,he){return Y[he.descriptor.id]=he,Y},{})}),lt=L(function(_e){return _e.reduce(function(Y,he){return Y[he.descriptor.id]=he,Y},{})}),or=L(function(_e){return qe(_e)}),vr=L(function(_e){return qe(_e)}),An=L(function(_e,Y){var he=vr(Y).filter(function(ze){return _e===ze.descriptor.droppableId}).sort(function(ze,at){return ze.descriptor.index-at.descriptor.index});return he});function hr(_e){return _e.at&&_e.at.type==="REORDER"?_e.at.destination:null}function xr(_e){return _e.at&&_e.at.type==="COMBINE"?_e.at.combine:null}var nr=L(function(_e,Y){return Y.filter(function(he){return he.descriptor.id!==_e.descriptor.id})}),Yt=function(Y){var he=Y.isMovingForward,ze=Y.draggable,at=Y.destination,Rt=Y.insideDestination,Kt=Y.previousImpact;if(!at.isCombineEnabled)return null;var Xt=hr(Kt);if(!Xt)return null;function Nr(ci){var ji={type:"COMBINE",combine:{draggableId:ci,droppableId:at.descriptor.id}};return Object(m.a)({},Kt,{at:ji})}var Qr=Kt.displaced.all,Tr=Qr.length?Qr[0]:null;if(he)return Tr?Nr(Tr):null;var Er=nr(ze,Rt);if(!Tr){if(!Er.length)return null;var Hr=Er[Er.length-1];return Nr(Hr.descriptor.id)}var $r=je(Er,function(ci){return ci.descriptor.id===Tr});$r!==-1||ue(!1);var En=$r-1;if(En<0)return null;var oi=Er[En];return Nr(oi.descriptor.id)},gt=function(Y,he){return Y.descriptor.droppableId===he.descriptor.id},zr={point:Be,value:0},pn={invisible:{},visible:{},all:[]},Nn={displaced:pn,displacedBy:zr,at:null},Vn=function(Y,he){return function(ze){return Y<=ze&&ze<=he}},xi=function(Y){var he=Vn(Y.top,Y.bottom),ze=Vn(Y.left,Y.right);return function(at){var Rt=he(at.top)&&he(at.bottom)&&ze(at.left)&&ze(at.right);if(Rt)return!0;var Kt=he(at.top)||he(at.bottom),Xt=ze(at.left)||ze(at.right),Nr=Kt&&Xt;if(Nr)return!0;var Qr=at.top<Y.top&&at.bottom>Y.bottom,Tr=at.left<Y.left&&at.right>Y.right,Er=Qr&&Tr;if(Er)return!0;var Hr=Qr&&Xt||Tr&&Kt;return Hr}},bn=function(Y){var he=Vn(Y.top,Y.bottom),ze=Vn(Y.left,Y.right);return function(at){var Rt=he(at.top)&&he(at.bottom)&&ze(at.left)&&ze(at.right);return Rt}},Pn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},jt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},At=function(Y){return function(he){var ze=Vn(he.top,he.bottom),at=Vn(he.left,he.right);return function(Rt){return Y===Pn?ze(Rt.top)&&ze(Rt.bottom):at(Rt.left)&&at(Rt.right)}}},xe=function(Y,he){var ze=he.frame?he.frame.scroll.diff.displacement:Be;return Xe(Y,ze)},we=function(Y,he,ze){return he.subject.active?ze(he.subject.active)(Y):!1},Ee=function(Y,he,ze){return ze(he)(Y)},Ge=function(Y){var he=Y.target,ze=Y.destination,at=Y.viewport,Rt=Y.withDroppableDisplacement,Kt=Y.isVisibleThroughFrameFn,Xt=Rt?xe(he,ze):he;return we(Xt,ze,Kt)&&Ee(Xt,at,Kt)},nt=function(Y){return Ge(Object(m.a)({},Y,{isVisibleThroughFrameFn:xi}))},st=function(Y){return Ge(Object(m.a)({},Y,{isVisibleThroughFrameFn:bn}))},Mt=function(Y){return Ge(Object(m.a)({},Y,{isVisibleThroughFrameFn:At(Y.destination.axis)}))},wr=function(Y,he,ze){if(typeof ze=="boolean")return ze;if(!he)return!0;var at=he.invisible,Rt=he.visible;if(at[Y])return!1;var Kt=Rt[Y];return Kt?Kt.shouldAnimate:!0};function Pr(_e,Y){var he=_e.page.marginBox,ze={top:Y.point.y,right:0,bottom:0,left:Y.point.x};return e(l(he,ze))}function qr(_e){var Y=_e.afterDragging,he=_e.destination,ze=_e.displacedBy,at=_e.viewport,Rt=_e.forceShouldAnimate,Kt=_e.last;return Y.reduce(function(Nr,Qr){var Tr=Pr(Qr,ze),Er=Qr.descriptor.id;Nr.all.push(Er);var Hr=nt({target:Tr,destination:he,viewport:at,withDroppableDisplacement:!0});if(!Hr)return Nr.invisible[Qr.descriptor.id]=!0,Nr;var $r=wr(Er,Kt,Rt),En={draggableId:Er,shouldAnimate:$r};return Nr.visible[Er]=En,Nr},{all:[],visible:{},invisible:{}})}function xt(_e,Y){if(!_e.length)return 0;var he=_e[_e.length-1].descriptor.index;return Y.inHomeList?he:he+1}function rt(_e){var Y=_e.insideDestination,he=_e.inHomeList,ze=_e.displacedBy,at=_e.destination,Rt=xt(Y,{inHomeList:he});return{displaced:pn,displacedBy:ze,at:{type:"REORDER",destination:{droppableId:at.descriptor.id,index:Rt}}}}function it(_e){var Y=_e.draggable,he=_e.insideDestination,ze=_e.destination,at=_e.viewport,Rt=_e.displacedBy,Kt=_e.last,Xt=_e.index,Nr=_e.forceShouldAnimate,Qr=gt(Y,ze);if(Xt==null)return rt({insideDestination:he,inHomeList:Qr,displacedBy:Rt,destination:ze});var Tr=q(he,function(oi){return oi.descriptor.index===Xt});if(!Tr)return rt({insideDestination:he,inHomeList:Qr,displacedBy:Rt,destination:ze});var Er=nr(Y,he),Hr=he.indexOf(Tr),$r=Er.slice(Hr),En=qr({afterDragging:$r,destination:ze,displacedBy:Rt,last:Kt,viewport:at.frame,forceShouldAnimate:Nr});return{displaced:En,displacedBy:Rt,at:{type:"REORDER",destination:{droppableId:ze.descriptor.id,index:Xt}}}}function $t(_e,Y){return Boolean(Y.effected[_e])}var Dt=function(Y){var he=Y.isMovingForward,ze=Y.destination,at=Y.draggables,Rt=Y.combine,Kt=Y.afterCritical;if(!ze.isCombineEnabled)return null;var Xt=Rt.draggableId,Nr=at[Xt],Qr=Nr.descriptor.index,Tr=$t(Xt,Kt);return Tr?he?Qr:Qr-1:he?Qr+1:Qr},St=function(Y){var he=Y.isMovingForward,ze=Y.isInHomeList,at=Y.insideDestination,Rt=Y.location;if(!at.length)return null;var Kt=Rt.index,Xt=he?Kt+1:Kt-1,Nr=at[0].descriptor.index,Qr=at[at.length-1].descriptor.index,Tr=ze?Qr:Qr+1;return Xt<Nr||Xt>Tr?null:Xt},Ut=function(Y){var he=Y.isMovingForward,ze=Y.isInHomeList,at=Y.draggable,Rt=Y.draggables,Kt=Y.destination,Xt=Y.insideDestination,Nr=Y.previousImpact,Qr=Y.viewport,Tr=Y.afterCritical,Er=Nr.at;if(Er||ue(!1),Er.type==="REORDER"){var Hr=St({isMovingForward:he,isInHomeList:ze,location:Er.destination,insideDestination:Xt});return Hr==null?null:it({draggable:at,insideDestination:Xt,destination:Kt,viewport:Qr,last:Nr.displaced,displacedBy:Nr.displacedBy,index:Hr})}var $r=Dt({isMovingForward:he,destination:Kt,displaced:Nr.displaced,draggables:Rt,combine:Er.combine,afterCritical:Tr});return $r==null?null:it({draggable:at,insideDestination:Xt,destination:Kt,viewport:Qr,last:Nr.displaced,displacedBy:Nr.displacedBy,index:$r})},vt=function(Y){var he=Y.displaced,ze=Y.afterCritical,at=Y.combineWith,Rt=Y.displacedBy,Kt=Boolean(he.visible[at]||he.invisible[at]);return $t(at,ze)?Kt?Be:Oe(Rt.point):Kt?Rt.point:Be},Pt=function(Y){var he=Y.afterCritical,ze=Y.impact,at=Y.draggables,Rt=xr(ze);Rt||ue(!1);var Kt=Rt.draggableId,Xt=at[Kt].page.borderBox.center,Nr=vt({displaced:ze.displaced,afterCritical:he,combineWith:Kt,displacedBy:ze.displacedBy});return De(Xt,Nr)},br=function(Y,he){return he.margin[Y.start]+he.borderBox[Y.size]/2},ur=function(Y,he){return he.margin[Y.end]+he.borderBox[Y.size]/2},fr=function(Y,he,ze){return he[Y.crossAxisStart]+ze.margin[Y.crossAxisStart]+ze.borderBox[Y.crossAxisSize]/2},Jr=function(Y){var he=Y.axis,ze=Y.moveRelativeTo,at=Y.isMoving;return Je(he.line,ze.marginBox[he.end]+br(he,at),fr(he,ze.marginBox,at))},Zr=function(Y){var he=Y.axis,ze=Y.moveRelativeTo,at=Y.isMoving;return Je(he.line,ze.marginBox[he.start]-ur(he,at),fr(he,ze.marginBox,at))},Fn=function(Y){var he=Y.axis,ze=Y.moveInto,at=Y.isMoving;return Je(he.line,ze.contentBox[he.start]+br(he,at),fr(he,ze.contentBox,at))},Rn=function(Y){var he=Y.impact,ze=Y.draggable,at=Y.draggables,Rt=Y.droppable,Kt=Y.afterCritical,Xt=An(Rt.descriptor.id,at),Nr=ze.page,Qr=Rt.axis;if(!Xt.length)return Fn({axis:Qr,moveInto:Rt.page,isMoving:Nr});var Tr=he.displaced,Er=he.displacedBy,Hr=Tr.all[0];if(Hr){var $r=at[Hr];if($t(Hr,Kt))return Zr({axis:Qr,moveRelativeTo:$r.page,isMoving:Nr});var En=w($r.page,Er.point);return Zr({axis:Qr,moveRelativeTo:En,isMoving:Nr})}var oi=Xt[Xt.length-1];if(oi.descriptor.id===ze.descriptor.id)return Nr.borderBox.center;if($t(oi.descriptor.id,Kt)){var ci=w(oi.page,Oe(Kt.displacedBy.point));return Jr({axis:Qr,moveRelativeTo:ci,isMoving:Nr})}return Jr({axis:Qr,moveRelativeTo:oi.page,isMoving:Nr})},ei=function(Y,he){var ze=Y.frame;return ze?De(he,ze.scroll.diff.displacement):he},di=function(Y){var he=Y.impact,ze=Y.draggable,at=Y.droppable,Rt=Y.draggables,Kt=Y.afterCritical,Xt=ze.page.borderBox.center,Nr=he.at;return at&&Nr?Nr.type==="REORDER"?Rn({impact:he,draggable:ze,draggables:Rt,droppable:at,afterCritical:Kt}):Pt({impact:he,draggables:Rt,afterCritical:Kt}):Xt},gi=function(Y){var he=di(Y),ze=Y.droppable,at=ze?ei(ze,he):he;return at},Ii=function(Y,he){var ze=ae(he,Y.scroll.initial),at=Oe(ze),Rt=e({top:he.y,bottom:he.y+Y.frame.height,left:he.x,right:he.x+Y.frame.width}),Kt={frame:Rt,scroll:{initial:Y.scroll.initial,max:Y.scroll.max,current:he,diff:{value:ze,displacement:at}}};return Kt};function Ye(_e,Y){return _e.map(function(he){return Y[he]})}function ge(_e,Y){for(var he=0;he<Y.length;he++){var ze=Y[he].visible[_e];if(ze)return ze}return null}var Ie=function(Y){var he=Y.impact,ze=Y.viewport,at=Y.destination,Rt=Y.draggables,Kt=Y.maxScrollChange,Xt=Ii(ze,De(ze.scroll.current,Kt)),Nr=at.frame?te(at,De(at.frame.scroll.current,Kt)):at,Qr=he.displaced,Tr=qr({afterDragging:Ye(Qr.all,Rt),destination:at,displacedBy:he.displacedBy,viewport:Xt.frame,last:Qr,forceShouldAnimate:!1}),Er=qr({afterDragging:Ye(Qr.all,Rt),destination:Nr,displacedBy:he.displacedBy,viewport:ze.frame,last:Qr,forceShouldAnimate:!1}),Hr={},$r={},En=[Qr,Tr,Er];Qr.all.forEach(function(ci){var ji=ge(ci,En);if(ji){$r[ci]=ji;return}Hr[ci]=!0});var oi=Object(m.a)({},he,{displaced:{all:Qr.all,invisible:Hr,visible:$r}});return oi},Fe=function(Y,he){return De(Y.scroll.diff.displacement,he)},Ve=function(Y){var he=Y.pageBorderBoxCenter,ze=Y.draggable,at=Y.viewport,Rt=Fe(at,he),Kt=ae(Rt,ze.page.borderBox.center);return De(ze.client.borderBox.center,Kt)},We=function(Y){var he=Y.draggable,ze=Y.destination,at=Y.newPageBorderBoxCenter,Rt=Y.viewport,Kt=Y.withDroppableDisplacement,Xt=Y.onlyOnMainAxis,Nr=Xt===void 0?!1:Xt,Qr=ae(at,he.page.borderBox.center),Tr=Xe(he.page.borderBox,Qr),Er={target:Tr,destination:ze,withDroppableDisplacement:Kt,viewport:Rt};return Nr?Mt(Er):st(Er)},Qe=function(Y){var he=Y.isMovingForward,ze=Y.draggable,at=Y.destination,Rt=Y.draggables,Kt=Y.previousImpact,Xt=Y.viewport,Nr=Y.previousPageBorderBoxCenter,Qr=Y.previousClientSelection,Tr=Y.afterCritical;if(!at.isEnabled)return null;var Er=An(at.descriptor.id,Rt),Hr=gt(ze,at),$r=Yt({isMovingForward:he,draggable:ze,destination:at,insideDestination:Er,previousImpact:Kt})||Ut({isMovingForward:he,isInHomeList:Hr,draggable:ze,draggables:Rt,destination:at,insideDestination:Er,previousImpact:Kt,viewport:Xt,afterCritical:Tr});if(!$r)return null;var En=gi({impact:$r,draggable:ze,droppable:at,draggables:Rt,afterCritical:Tr}),oi=We({draggable:ze,destination:at,newPageBorderBoxCenter:En,viewport:Xt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(oi){var ci=Ve({pageBorderBoxCenter:En,draggable:ze,viewport:Xt});return{clientSelection:ci,impact:$r,scrollJumpRequest:null}}var ji=ae(En,Nr),Oi=Ie({impact:$r,viewport:Xt,destination:at,draggables:Rt,maxScrollChange:ji});return{clientSelection:Qr,impact:Oi,scrollJumpRequest:ji}},yt=function(Y){var he=Y.subject.active;return he||ue(!1),he},ot=function(Y){var he=Y.isMovingForward,ze=Y.pageBorderBoxCenter,at=Y.source,Rt=Y.droppables,Kt=Y.viewport,Xt=at.subject.active;if(!Xt)return null;var Nr=at.axis,Qr=Vn(Xt[Nr.start],Xt[Nr.end]),Tr=or(Rt).filter(function(Hr){return Hr!==at}).filter(function(Hr){return Hr.isEnabled}).filter(function(Hr){return Boolean(Hr.subject.active)}).filter(function(Hr){return xi(Kt.frame)(yt(Hr))}).filter(function(Hr){var $r=yt(Hr);return he?Xt[Nr.crossAxisEnd]<$r[Nr.crossAxisEnd]:$r[Nr.crossAxisStart]<Xt[Nr.crossAxisStart]}).filter(function(Hr){var $r=yt(Hr),En=Vn($r[Nr.start],$r[Nr.end]);return Qr($r[Nr.start])||Qr($r[Nr.end])||En(Xt[Nr.start])||En(Xt[Nr.end])}).sort(function(Hr,$r){var En=yt(Hr)[Nr.crossAxisStart],oi=yt($r)[Nr.crossAxisStart];return he?En-oi:oi-En}).filter(function(Hr,$r,En){return yt(Hr)[Nr.crossAxisStart]===yt(En[0])[Nr.crossAxisStart]});if(!Tr.length)return null;if(Tr.length===1)return Tr[0];var Er=Tr.filter(function(Hr){var $r=Vn(yt(Hr)[Nr.start],yt(Hr)[Nr.end]);return $r(ze[Nr.line])});return Er.length===1?Er[0]:Er.length>1?Er.sort(function(Hr,$r){return yt(Hr)[Nr.start]-yt($r)[Nr.start]})[0]:Tr.sort(function(Hr,$r){var En=Ze(ze,Ot(yt(Hr))),oi=Ze(ze,Ot(yt($r)));return En!==oi?En-oi:yt(Hr)[Nr.start]-yt($r)[Nr.start]})[0]},Zt=function(Y,he){var ze=Y.page.borderBox.center;return $t(Y.descriptor.id,he)?ae(ze,he.displacedBy.point):ze},Rr=function(Y,he){var ze=Y.page.borderBox;return $t(Y.descriptor.id,he)?Xe(ze,Oe(he.displacedBy.point)):ze},Lr=function(Y){var he=Y.pageBorderBoxCenter,ze=Y.viewport,at=Y.destination,Rt=Y.insideDestination,Kt=Y.afterCritical,Xt=Rt.filter(function(Nr){return st({target:Rr(Nr,Kt),destination:at,viewport:ze.frame,withDroppableDisplacement:!0})}).sort(function(Nr,Qr){var Tr=Et(he,ei(at,Zt(Nr,Kt))),Er=Et(he,ei(at,Zt(Qr,Kt)));return Tr<Er?-1:Er<Tr?1:Nr.descriptor.index-Qr.descriptor.index});return Xt[0]||null},Gr=L(function(Y,he){var ze=he[Y.line];return{value:ze,point:Je(Y.line,ze)}}),er=function(Y,he,ze){var at=Y.axis;if(Y.descriptor.mode==="virtual")return Je(at.line,he[at.line]);var Rt=Y.subject.page.contentBox[at.size],Kt=An(Y.descriptor.id,ze),Xt=Kt.reduce(function(Tr,Er){return Tr+Er.client.marginBox[at.size]},0),Nr=Xt+he[at.line],Qr=Nr-Rt;return Qr<=0?null:Je(at.line,Qr)},On=function(Y,he){return Object(m.a)({},Y,{scroll:Object(m.a)({},Y.scroll,{max:he})})},yr=function(Y,he,ze){var at=Y.frame;gt(he,Y)&&ue(!1),Y.subject.withPlaceholder&&ue(!1);var Rt=Gr(Y.axis,he.displaceBy).point,Kt=er(Y,Rt,ze),Xt={placeholderSize:Rt,increasedBy:Kt,oldFrameMaxScroll:Y.frame?Y.frame.scroll.max:null};if(!at){var Nr=ke({page:Y.subject.page,withPlaceholder:Xt,axis:Y.axis,frame:Y.frame});return Object(m.a)({},Y,{subject:Nr})}var Qr=Kt?De(at.scroll.max,Kt):at.scroll.max,Tr=On(at,Qr),Er=ke({page:Y.subject.page,withPlaceholder:Xt,axis:Y.axis,frame:Tr});return Object(m.a)({},Y,{subject:Er,frame:Tr})},gn=function(Y){var he=Y.subject.withPlaceholder;he||ue(!1);var ze=Y.frame;if(!ze){var at=ke({page:Y.subject.page,axis:Y.axis,frame:null,withPlaceholder:null});return Object(m.a)({},Y,{subject:at})}var Rt=he.oldFrameMaxScroll;Rt||ue(!1);var Kt=On(ze,Rt),Xt=ke({page:Y.subject.page,axis:Y.axis,frame:Kt,withPlaceholder:null});return Object(m.a)({},Y,{subject:Xt,frame:Kt})},tn=function(Y){var he=Y.previousPageBorderBoxCenter,ze=Y.moveRelativeTo,at=Y.insideDestination,Rt=Y.draggable,Kt=Y.draggables,Xt=Y.destination,Nr=Y.viewport,Qr=Y.afterCritical;if(!ze){if(at.length)return null;var Tr={displaced:pn,displacedBy:zr,at:{type:"REORDER",destination:{droppableId:Xt.descriptor.id,index:0}}},Er=gi({impact:Tr,draggable:Rt,droppable:Xt,draggables:Kt,afterCritical:Qr}),Hr=gt(Rt,Xt)?Xt:yr(Xt,Rt,Kt),$r=We({draggable:Rt,destination:Hr,newPageBorderBoxCenter:Er,viewport:Nr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return $r?Tr:null}var En=Boolean(he[Xt.axis.line]<=ze.page.borderBox.center[Xt.axis.line]),oi=function(){var ji=ze.descriptor.index;return ze.descriptor.id===Rt.descriptor.id||En?ji:ji+1}(),ci=Gr(Xt.axis,Rt.displaceBy);return it({draggable:Rt,insideDestination:at,destination:Xt,viewport:Nr,displacedBy:ci,last:pn,index:oi})},Fr=function(Y){var he=Y.isMovingForward,ze=Y.previousPageBorderBoxCenter,at=Y.draggable,Rt=Y.isOver,Kt=Y.draggables,Xt=Y.droppables,Nr=Y.viewport,Qr=Y.afterCritical,Tr=ot({isMovingForward:he,pageBorderBoxCenter:ze,source:Rt,droppables:Xt,viewport:Nr});if(!Tr)return null;var Er=An(Tr.descriptor.id,Kt),Hr=Lr({pageBorderBoxCenter:ze,viewport:Nr,destination:Tr,insideDestination:Er,afterCritical:Qr}),$r=tn({previousPageBorderBoxCenter:ze,destination:Tr,draggable:at,draggables:Kt,moveRelativeTo:Hr,insideDestination:Er,viewport:Nr,afterCritical:Qr});if(!$r)return null;var En=gi({impact:$r,draggable:at,droppable:Tr,draggables:Kt,afterCritical:Qr}),oi=Ve({pageBorderBoxCenter:En,draggable:at,viewport:Nr});return{clientSelection:oi,impact:$r,scrollJumpRequest:null}},Xn=function(Y){var he=Y.at;return he?he.type==="REORDER"?he.destination.droppableId:he.combine.droppableId:null},hi=function(Y,he){var ze=Xn(Y);return ze?he[ze]:null},_i=function(Y){var he=Y.state,ze=Y.type,at=hi(he.impact,he.dimensions.droppables),Rt=Boolean(at),Kt=he.dimensions.droppables[he.critical.droppable.id],Xt=at||Kt,Nr=Xt.axis.direction,Qr=Nr==="vertical"&&(ze==="MOVE_UP"||ze==="MOVE_DOWN")||Nr==="horizontal"&&(ze==="MOVE_LEFT"||ze==="MOVE_RIGHT");if(Qr&&!Rt)return null;var Tr=ze==="MOVE_DOWN"||ze==="MOVE_RIGHT",Er=he.dimensions.draggables[he.critical.draggable.id],Hr=he.current.page.borderBoxCenter,$r=he.dimensions,En=$r.draggables,oi=$r.droppables;return Qr?Qe({isMovingForward:Tr,previousPageBorderBoxCenter:Hr,draggable:Er,destination:Xt,draggables:En,viewport:he.viewport,previousClientSelection:he.current.client.selection,previousImpact:he.impact,afterCritical:he.afterCritical}):Fr({isMovingForward:Tr,previousPageBorderBoxCenter:Hr,draggable:Er,isOver:Xt,draggables:En,droppables:oi,viewport:he.viewport,afterCritical:he.afterCritical})};function Ur(_e){return _e.phase==="DRAGGING"||_e.phase==="COLLECTING"}function sn(_e){var Y=Vn(_e.top,_e.bottom),he=Vn(_e.left,_e.right);return function(at){return Y(at.y)&&he(at.x)}}function Cn(_e,Y){return _e.left<Y.right&&_e.right>Y.left&&_e.top<Y.bottom&&_e.bottom>Y.top}function Nt(_e){var Y=_e.pageBorderBox,he=_e.draggable,ze=_e.candidates,at=he.page.borderBox.center,Rt=ze.map(function(Kt){var Xt=Kt.axis,Nr=Je(Kt.axis.line,Y.center[Xt.line],Kt.page.borderBox.center[Xt.crossAxisLine]);return{id:Kt.descriptor.id,distance:Et(at,Nr)}}).sort(function(Kt,Xt){return Xt.distance-Kt.distance});return Rt[0]?Rt[0].id:null}function dt(_e){var Y=_e.pageBorderBox,he=_e.draggable,ze=_e.droppables,at=or(ze).filter(function(Rt){if(!Rt.isEnabled)return!1;var Kt=Rt.subject.active;if(!Kt)return!1;if(!Cn(Y,Kt))return!1;if(sn(Kt)(Y.center))return!0;var Xt=Rt.axis,Nr=Kt.center[Xt.crossAxisLine],Qr=Y[Xt.crossAxisStart],Tr=Y[Xt.crossAxisEnd],Er=Vn(Kt[Xt.crossAxisStart],Kt[Xt.crossAxisEnd]),Hr=Er(Qr),$r=Er(Tr);return!Hr&&!$r?!0:Hr?Qr<Nr:Tr>Nr});return at.length?at.length===1?at[0].descriptor.id:Nt({pageBorderBox:Y,draggable:he,candidates:at}):null}var bt=function(Y,he){return e(Xe(Y,he))},Tt=function(Y,he){var ze=Y.frame;return ze?bt(he,ze.scroll.diff.value):he};function Lt(_e){var Y=_e.displaced,he=_e.id;return Boolean(Y.visible[he]||Y.invisible[he])}function pt(_e){var Y=_e.draggable,he=_e.closest,ze=_e.inHomeList;return he?ze&&he.descriptor.index>Y.descriptor.index?he.descriptor.index-1:he.descriptor.index:null}var Gt=function(Y){var he=Y.pageBorderBoxWithDroppableScroll,ze=Y.draggable,at=Y.destination,Rt=Y.insideDestination,Kt=Y.last,Xt=Y.viewport,Nr=Y.afterCritical,Qr=at.axis,Tr=Gr(at.axis,ze.displaceBy),Er=Tr.value,Hr=he[Qr.start],$r=he[Qr.end],En=nr(ze,Rt),oi=q(En,function(ji){var Oi=ji.descriptor.id,wa=ji.page.borderBox.center[Qr.line],Qi=$t(Oi,Nr),Ua=Lt({displaced:Kt,id:Oi});return Qi?Ua?$r<=wa:Hr<wa-Er:Ua?$r<=wa+Er:Hr<wa}),ci=pt({draggable:ze,closest:oi,inHomeList:gt(ze,at)});return it({draggable:ze,insideDestination:Rt,destination:at,viewport:Xt,last:Kt,displacedBy:Tr,index:ci})},qt=4,rr=function(Y){var he=Y.draggable,ze=Y.pageBorderBoxWithDroppableScroll,at=Y.previousImpact,Rt=Y.destination,Kt=Y.insideDestination,Xt=Y.afterCritical;if(!Rt.isCombineEnabled)return null;var Nr=Rt.axis,Qr=Gr(Rt.axis,he.displaceBy),Tr=Qr.value,Er=ze[Nr.start],Hr=ze[Nr.end],$r=nr(he,Kt),En=q($r,function(ci){var ji=ci.descriptor.id,Oi=ci.page.borderBox,wa=Oi[Nr.size],Qi=wa/qt,Ua=$t(ji,Xt),Sa=Lt({displaced:at.displaced,id:ji});return Ua?Sa?Hr>Oi[Nr.start]+Qi&&Hr<Oi[Nr.end]-Qi:Er>Oi[Nr.start]-Tr+Qi&&Er<Oi[Nr.end]-Tr-Qi:Sa?Hr>Oi[Nr.start]+Tr+Qi&&Hr<Oi[Nr.end]+Tr-Qi:Er>Oi[Nr.start]+Qi&&Er<Oi[Nr.end]-Qi});if(!En)return null;var oi={displacedBy:Qr,displaced:at.displaced,at:{type:"COMBINE",combine:{draggableId:En.descriptor.id,droppableId:Rt.descriptor.id}}};return oi},mr=function(Y){var he=Y.pageOffset,ze=Y.draggable,at=Y.draggables,Rt=Y.droppables,Kt=Y.previousImpact,Xt=Y.viewport,Nr=Y.afterCritical,Qr=bt(ze.page.borderBox,he),Tr=dt({pageBorderBox:Qr,draggable:ze,droppables:Rt});if(!Tr)return Nn;var Er=Rt[Tr],Hr=An(Er.descriptor.id,at),$r=Tt(Er,Qr);return rr({pageBorderBoxWithDroppableScroll:$r,draggable:ze,previousImpact:Kt,destination:Er,insideDestination:Hr,afterCritical:Nr})||Gt({pageBorderBoxWithDroppableScroll:$r,draggable:ze,destination:Er,insideDestination:Hr,last:Kt.displaced,viewport:Xt,afterCritical:Nr})},wn=function(Y,he){var ze;return Object(m.a)({},Y,(ze={},ze[he.descriptor.id]=he,ze))},fn=function(Y){var he=Y.previousImpact,ze=Y.impact,at=Y.droppables,Rt=Xn(he),Kt=Xn(ze);if(!Rt)return at;if(Rt===Kt)return at;var Xt=at[Rt];if(!Xt.subject.withPlaceholder)return at;var Nr=gn(Xt);return wn(at,Nr)},Wn=function(Y){var he=Y.draggable,ze=Y.draggables,at=Y.droppables,Rt=Y.previousImpact,Kt=Y.impact,Xt=fn({previousImpact:Rt,impact:Kt,droppables:at}),Nr=Xn(Kt);if(!Nr)return Xt;var Qr=at[Nr];if(gt(he,Qr))return Xt;if(Qr.subject.withPlaceholder)return Xt;var Tr=yr(Qr,he,ze);return wn(Xt,Tr)},Yr=function(Y){var he=Y.state,ze=Y.clientSelection,at=Y.dimensions,Rt=Y.viewport,Kt=Y.impact,Xt=Y.scrollJumpRequest,Nr=Rt||he.viewport,Qr=at||he.dimensions,Tr=ze||he.current.client.selection,Er=ae(Tr,he.initial.client.selection),Hr={offset:Er,selection:Tr,borderBoxCenter:De(he.initial.client.borderBoxCenter,Er)},$r={selection:De(Hr.selection,Nr.scroll.current),borderBoxCenter:De(Hr.borderBoxCenter,Nr.scroll.current),offset:De(Hr.offset,Nr.scroll.diff.value)},En={client:Hr,page:$r};if(he.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},he,{dimensions:Qr,viewport:Nr,current:En});var oi=Qr.draggables[he.critical.draggable.id],ci=Kt||mr({pageOffset:$r.offset,draggable:oi,draggables:Qr.draggables,droppables:Qr.droppables,previousImpact:he.impact,viewport:Nr,afterCritical:he.afterCritical}),ji=Wn({draggable:oi,impact:ci,previousImpact:he.impact,draggables:Qr.draggables,droppables:Qr.droppables}),Oi=Object(m.a)({},he,{current:En,dimensions:{draggables:Qr.draggables,droppables:ji},impact:ci,viewport:Nr,scrollJumpRequest:Xt||null,forceShouldAnimate:Xt?!1:null});return Oi};function Sr(_e,Y){return _e.map(function(he){return Y[he]})}var ln=function(Y){var he=Y.impact,ze=Y.viewport,at=Y.draggables,Rt=Y.destination,Kt=Y.forceShouldAnimate,Xt=he.displaced,Nr=Sr(Xt.all,at),Qr=qr({afterDragging:Nr,destination:Rt,displacedBy:he.displacedBy,viewport:ze.frame,forceShouldAnimate:Kt,last:Xt});return Object(m.a)({},he,{displaced:Qr})},Tn=function(Y){var he=Y.impact,ze=Y.draggable,at=Y.droppable,Rt=Y.draggables,Kt=Y.viewport,Xt=Y.afterCritical,Nr=gi({impact:he,draggable:ze,draggables:Rt,droppable:at,afterCritical:Xt});return Ve({pageBorderBoxCenter:Nr,draggable:ze,viewport:Kt})},In=function(Y){var he=Y.state,ze=Y.dimensions,at=Y.viewport;he.movementMode==="SNAP"||ue(!1);var Rt=he.impact,Kt=at||he.viewport,Xt=ze||he.dimensions,Nr=Xt.draggables,Qr=Xt.droppables,Tr=Nr[he.critical.draggable.id],Er=Xn(Rt);Er||ue(!1);var Hr=Qr[Er],$r=ln({impact:Rt,viewport:Kt,destination:Hr,draggables:Nr}),En=Tn({impact:$r,draggable:Tr,droppable:Hr,draggables:Nr,viewport:Kt,afterCritical:he.afterCritical});return Yr({impact:$r,clientSelection:En,state:he,dimensions:Xt,viewport:Kt})},Un=function(Y){return{index:Y.index,droppableId:Y.droppableId}},ti=function(Y){var he=Y.draggable,ze=Y.home,at=Y.draggables,Rt=Y.viewport,Kt=Gr(ze.axis,he.displaceBy),Xt=An(ze.descriptor.id,at),Nr=Xt.indexOf(he);Nr!==-1||ue(!1);var Qr=Xt.slice(Nr+1),Tr=Qr.reduce(function(En,oi){return En[oi.descriptor.id]=!0,En},{}),Er={inVirtualList:ze.descriptor.mode==="virtual",displacedBy:Kt,effected:Tr},Hr=qr({afterDragging:Qr,destination:ze,displacedBy:Kt,last:null,viewport:Rt.frame,forceShouldAnimate:!1}),$r={displaced:Hr,displacedBy:Kt,at:{type:"REORDER",destination:Un(he.descriptor)}};return{impact:$r,afterCritical:Er}},li=function(Y,he){return{draggables:Y.draggables,droppables:wn(Y.droppables,he)}},si=function(Y){},ki=function(Y){},zi=function(Y){var he=Y.draggable,ze=Y.offset,at=Y.initialWindowScroll,Rt=w(he.client,ze),Kt=b(Rt,at),Xt=Object(m.a)({},he,{placeholder:Object(m.a)({},he.placeholder,{client:Rt}),client:Rt,page:Kt});return Xt},Ri=function(Y){var he=Y.frame;return he||ue(!1),he},Yi=function(Y){var he=Y.additions,ze=Y.updatedDroppables,at=Y.viewport,Rt=at.scroll.diff.value;return he.map(function(Kt){var Xt=Kt.descriptor.droppableId,Nr=ze[Xt],Qr=Ri(Nr),Tr=Qr.scroll.diff.value,Er=De(Rt,Tr),Hr=zi({draggable:Kt,offset:Er,initialWindowScroll:at.scroll.initial});return Hr})},Zn=function(Y){var he=Y.state,ze=Y.published;si();var at=ze.modified.map(function(Qi){var Ua=he.dimensions.droppables[Qi.droppableId],Sa=te(Ua,Qi.scroll);return Sa}),Rt=Object(m.a)({},he.dimensions.droppables,{},Vt(at)),Kt=lt(Yi({additions:ze.additions,updatedDroppables:Rt,viewport:he.viewport})),Xt=Object(m.a)({},he.dimensions.draggables,{},Kt);ze.removals.forEach(function(Qi){delete Xt[Qi]});var Nr={droppables:Rt,draggables:Xt},Qr=Xn(he.impact),Tr=Qr?Nr.droppables[Qr]:null,Er=Nr.draggables[he.critical.draggable.id],Hr=Nr.droppables[he.critical.droppable.id],$r=ti({draggable:Er,home:Hr,draggables:Xt,viewport:he.viewport}),En=$r.impact,oi=$r.afterCritical,ci=Tr&&Tr.isCombineEnabled?he.impact:En,ji=mr({pageOffset:he.current.page.offset,draggable:Nr.draggables[he.critical.draggable.id],draggables:Nr.draggables,droppables:Nr.droppables,previousImpact:ci,viewport:he.viewport,afterCritical:oi});ki();var Oi=Object(m.a)({phase:"DRAGGING"},he,{phase:"DRAGGING",impact:ji,onLiftImpact:En,dimensions:Nr,afterCritical:oi,forceShouldAnimate:!1});if(he.phase==="COLLECTING")return Oi;var wa=Object(m.a)({phase:"DROP_PENDING"},Oi,{phase:"DROP_PENDING",reason:he.reason,isWaiting:!1});return wa},hn=function(Y){return Y.movementMode==="SNAP"},mi=function(Y,he,ze){var at=li(Y.dimensions,he);return!hn(Y)||ze?Yr({state:Y,dimensions:at}):In({state:Y,dimensions:at})};function Hi(_e){return _e.isDragging&&_e.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},_e,{scrollJumpRequest:null}):_e}var Li={phase:"IDLE",completed:null,shouldFlush:!1},Bi=function(Y,he){if(Y===void 0&&(Y=Li),he.type==="FLUSH")return Object(m.a)({},Li,{shouldFlush:!0});if(he.type==="INITIAL_PUBLISH"){Y.phase==="IDLE"||ue(!1);var ze=he.payload,at=ze.critical,Rt=ze.clientSelection,Kt=ze.viewport,Xt=ze.dimensions,Nr=ze.movementMode,Qr=Xt.draggables[at.draggable.id],Tr=Xt.droppables[at.droppable.id],Er={selection:Rt,borderBoxCenter:Qr.client.borderBox.center,offset:Be},Hr={client:Er,page:{selection:De(Er.selection,Kt.scroll.initial),borderBoxCenter:De(Er.selection,Kt.scroll.initial),offset:De(Er.selection,Kt.scroll.diff.value)}},$r=or(Xt.droppables).every(function(Wo){return!Wo.isFixedOnPage}),En=ti({draggable:Qr,home:Tr,draggables:Xt.draggables,viewport:Kt}),oi=En.impact,ci=En.afterCritical,ji={phase:"DRAGGING",isDragging:!0,critical:at,movementMode:Nr,dimensions:Xt,initial:Hr,current:Hr,isWindowScrollAllowed:$r,impact:oi,afterCritical:ci,onLiftImpact:oi,viewport:Kt,scrollJumpRequest:null,forceShouldAnimate:null};return ji}if(he.type==="COLLECTION_STARTING"){if(Y.phase==="COLLECTING"||Y.phase==="DROP_PENDING")return Y;Y.phase==="DRAGGING"||ue(!1);var Oi=Object(m.a)({phase:"COLLECTING"},Y,{phase:"COLLECTING"});return Oi}if(he.type==="PUBLISH_WHILE_DRAGGING")return Y.phase==="COLLECTING"||Y.phase==="DROP_PENDING"||ue(!1),Zn({state:Y,published:he.payload});if(he.type==="MOVE"){if(Y.phase==="DROP_PENDING")return Y;Ur(Y)||ue(!1);var wa=he.payload.client;return fe(wa,Y.current.client.selection)?Y:Yr({state:Y,clientSelection:wa,impact:hn(Y)?Y.impact:null})}if(he.type==="UPDATE_DROPPABLE_SCROLL"){if(Y.phase==="DROP_PENDING")return Hi(Y);if(Y.phase==="COLLECTING")return Hi(Y);Ur(Y)||ue(!1);var Qi=he.payload,Ua=Qi.id,Sa=Qi.newScroll,So=Y.dimensions.droppables[Ua];if(!So)return Y;var Fo=te(So,Sa);return mi(Y,Fo,!1)}if(he.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(Y.phase==="DROP_PENDING")return Y;Ur(Y)||ue(!1);var I=he.payload,D=I.id,X=I.isEnabled,J=Y.dimensions.droppables[D];J||ue(!1),J.isEnabled!==X||ue(!1);var ne=Object(m.a)({},J,{isEnabled:X});return mi(Y,ne,!0)}if(he.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(Y.phase==="DROP_PENDING")return Y;Ur(Y)||ue(!1);var Pe=he.payload,ct=Pe.id,Ht=Pe.isCombineEnabled,ir=Y.dimensions.droppables[ct];ir||ue(!1),ir.isCombineEnabled!==Ht||ue(!1);var cr=Object(m.a)({},ir,{isCombineEnabled:Ht});return mi(Y,cr,!0)}if(he.type==="MOVE_BY_WINDOW_SCROLL"){if(Y.phase==="DROP_PENDING"||Y.phase==="DROP_ANIMATING")return Y;Ur(Y)||ue(!1),Y.isWindowScrollAllowed||ue(!1);var yn=he.payload.newScroll;if(fe(Y.viewport.scroll.current,yn))return Hi(Y);var Dn=Ii(Y.viewport,yn);return hn(Y)?In({state:Y,viewport:Dn}):Yr({state:Y,viewport:Dn})}if(he.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Ur(Y))return Y;var qn=he.payload.maxScroll;if(fe(qn,Y.viewport.scroll.max))return Y;var ni=Object(m.a)({},Y.viewport,{scroll:Object(m.a)({},Y.viewport.scroll,{max:qn})});return Object(m.a)({phase:"DRAGGING"},Y,{viewport:ni})}if(he.type==="MOVE_UP"||he.type==="MOVE_DOWN"||he.type==="MOVE_LEFT"||he.type==="MOVE_RIGHT"){if(Y.phase==="COLLECTING"||Y.phase==="DROP_PENDING")return Y;Y.phase==="DRAGGING"||ue(!1);var Mi=_i({state:Y,type:he.type});return Mi?Yr({state:Y,impact:Mi.impact,clientSelection:Mi.clientSelection,scrollJumpRequest:Mi.scrollJumpRequest}):Y}if(he.type==="DROP_PENDING"){var Zi=he.payload.reason;Y.phase==="COLLECTING"||ue(!1);var da=Object(m.a)({phase:"DROP_PENDING"},Y,{phase:"DROP_PENDING",isWaiting:!0,reason:Zi});return da}if(he.type==="DROP_ANIMATE"){var ia=he.payload,na=ia.completed,xa=ia.dropDuration,Ma=ia.newHomeClientOffset;Y.phase==="DRAGGING"||Y.phase==="DROP_PENDING"||ue(!1);var Co={phase:"DROP_ANIMATING",completed:na,dropDuration:xa,newHomeClientOffset:Ma,dimensions:Y.dimensions};return Co}if(he.type==="DROP_COMPLETE"){var no=he.payload.completed;return{phase:"IDLE",completed:no,shouldFlush:!1}}return Y},Ar=function(Y){return{type:"BEFORE_INITIAL_CAPTURE",payload:Y}},ar=function(Y){return{type:"LIFT",payload:Y}},on=function(Y){return{type:"INITIAL_PUBLISH",payload:Y}},Qt=function(Y){return{type:"PUBLISH_WHILE_DRAGGING",payload:Y}},gr=function(){return{type:"COLLECTION_STARTING",payload:null}},Or=function(Y){return{type:"UPDATE_DROPPABLE_SCROLL",payload:Y}},Kr=function(Y){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:Y}},mn=function(Y){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:Y}},mt=function(Y){return{type:"MOVE",payload:Y}},dr=function(Y){return{type:"MOVE_BY_WINDOW_SCROLL",payload:Y}},pr=function(Y){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:Y}},kr=function(){return{type:"MOVE_UP",payload:null}},nn=function(){return{type:"MOVE_DOWN",payload:null}},un=function(){return{type:"MOVE_RIGHT",payload:null}},en=function(){return{type:"MOVE_LEFT",payload:null}},Ln=function(){return{type:"FLUSH",payload:null}},xn=function(Y){return{type:"DROP_ANIMATE",payload:Y}},Gn=function(Y){return{type:"DROP_COMPLETE",payload:Y}},ui=function(Y){return{type:"DROP",payload:Y}},Jn=function(Y){return{type:"DROP_PENDING",payload:Y}},pi=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function wi(_e){if(_e.length<=1)return;for(var Y=_e.map(function(Xt){return Xt.descriptor.index}),he={},ze=1;ze<Y.length;ze++){var at=Y[ze],Rt=Y[ze-1];at!==Rt+1&&(he[at]=!0)}if(!Object.keys(he).length)return;var Kt=Y.map(function(Xt){var Nr=Boolean(he[Xt]);return Nr?"[\u{1F525}"+Xt+"]":""+Xt}).join(", ")}function Ni(_e,Y){if(!1)var he}var Si=function(Y){return function(he){var ze=he.getState,at=he.dispatch;return function(Rt){return function(Kt){if(Kt.type!=="LIFT"){Rt(Kt);return}var Xt=Kt.payload,Nr=Xt.id,Qr=Xt.clientSelection,Tr=Xt.movementMode,Er=ze();Er.phase==="DROP_ANIMATING"&&at(Gn({completed:Er.completed})),ze().phase==="IDLE"||ue(!1),at(Ln()),at(Ar({draggableId:Nr,movementMode:Tr}));var Hr={shouldPublishImmediately:Tr==="SNAP"},$r={draggableId:Nr,scrollOptions:Hr},En=Y.startPublishing($r),oi=En.critical,ci=En.dimensions,ji=En.viewport;Ni(oi,ci),at(on({critical:oi,dimensions:ci,clientSelection:Qr,movementMode:Tr,viewport:ji}))}}}},vi=function(Y){return function(){return function(he){return function(ze){ze.type==="INITIAL_PUBLISH"&&Y.dragging(),ze.type==="DROP_ANIMATE"&&Y.dropping(ze.payload.completed.result.reason),(ze.type==="FLUSH"||ze.type==="DROP_COMPLETE")&&Y.resting(),he(ze)}}}},Ai={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Ci={opacity:{drop:0,combining:.7},scale:{drop:.75}},Ui={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},$i=Ui.outOfTheWay+"s "+Ai.outOfTheWay,Di={fluid:"opacity "+$i,snap:"transform "+$i+", opacity "+$i,drop:function(Y){var he=Y+"s "+Ai.drop;return"transform "+he+", opacity "+he},outOfTheWay:"transform "+$i,placeholder:"height "+$i+", width "+$i+", margin "+$i},ua=function(Y){return fe(Y,Be)?null:"translate("+Y.x+"px, "+Y.y+"px)"},aa={moveTo:ua,drop:function(Y,he){var ze=ua(Y);return ze?he?ze+" scale("+Ci.scale.drop+")":ze:null}},Xi=Ui.minDropTime,Vi=Ui.maxDropTime,ta=Vi-Xi,Gi=1500,ga=.6,ra=function(Y){var he=Y.current,ze=Y.destination,at=Y.reason,Rt=Et(he,ze);if(Rt<=0)return Xi;if(Rt>=Gi)return Vi;var Kt=Rt/Gi,Xt=Xi+ta*Kt,Nr=at==="CANCEL"?Xt*ga:Xt;return Number(Nr.toFixed(2))},pa=function(Y){var he=Y.impact,ze=Y.draggable,at=Y.dimensions,Rt=Y.viewport,Kt=Y.afterCritical,Xt=at.draggables,Nr=at.droppables,Qr=Xn(he),Tr=Qr?Nr[Qr]:null,Er=Nr[ze.descriptor.droppableId],Hr=Tn({impact:he,draggable:ze,draggables:Xt,afterCritical:Kt,droppable:Tr||Er,viewport:Rt}),$r=ae(Hr,ze.client.borderBox.center);return $r},_a=function(Y){var he=Y.draggables,ze=Y.reason,at=Y.lastImpact,Rt=Y.home,Kt=Y.viewport,Xt=Y.onLiftImpact;if(!at.at||ze!=="DROP"){var Nr=ln({draggables:he,impact:Xt,destination:Rt,viewport:Kt,forceShouldAnimate:!0});return{impact:Nr,didDropInsideDroppable:!1}}if(at.at.type==="REORDER")return{impact:at,didDropInsideDroppable:!0};var Qr=Object(m.a)({},at,{displaced:pn});return{impact:Qr,didDropInsideDroppable:!0}},Da=function(Y){var he=Y.getState,ze=Y.dispatch;return function(at){return function(Rt){if(Rt.type!=="DROP"){at(Rt);return}var Kt=he(),Xt=Rt.payload.reason;if(Kt.phase==="COLLECTING"){ze(Jn({reason:Xt}));return}if(Kt.phase==="IDLE")return;var Nr=Kt.phase==="DROP_PENDING"&&Kt.isWaiting;Nr&&ue(!1),Kt.phase==="DRAGGING"||Kt.phase==="DROP_PENDING"||ue(!1);var Qr=Kt.critical,Tr=Kt.dimensions,Er=Tr.draggables[Kt.critical.draggable.id],Hr=_a({reason:Xt,lastImpact:Kt.impact,afterCritical:Kt.afterCritical,onLiftImpact:Kt.onLiftImpact,home:Kt.dimensions.droppables[Kt.critical.droppable.id],viewport:Kt.viewport,draggables:Kt.dimensions.draggables}),$r=Hr.impact,En=Hr.didDropInsideDroppable,oi=En?hr($r):null,ci=En?xr($r):null,ji={index:Qr.draggable.index,droppableId:Qr.droppable.id},Oi={draggableId:Er.descriptor.id,type:Er.descriptor.type,source:ji,reason:Xt,mode:Kt.movementMode,destination:oi,combine:ci},wa=pa({impact:$r,draggable:Er,dimensions:Tr,viewport:Kt.viewport,afterCritical:Kt.afterCritical}),Qi={critical:Kt.critical,afterCritical:Kt.afterCritical,result:Oi,impact:$r},Ua=!fe(Kt.current.client.offset,wa)||Boolean(Oi.combine);if(!Ua){ze(Gn({completed:Qi}));return}var Sa=ra({current:Kt.current.client.offset,destination:wa,reason:Xt}),So={newHomeClientOffset:wa,dropDuration:Sa,completed:Qi};ze(xn(So))}}},Ra=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function vo(_e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(he){if(he.target!==window&&he.target!==window.document)return;_e()}}}function ja(_e){var Y=_e.onWindowScroll;function he(){Y(Ra())}var ze=k(he),at=vo(ze),Rt=ye;function Kt(){return Rt!==ye}function Xt(){Kt()&&ue(!1),Rt=ve(window,[at])}function Nr(){Kt()||ue(!1),ze.cancel(),Rt(),Rt=ye}return{start:Xt,stop:Nr,isActive:Kt}}var Ya=function(Y){return Y.type==="DROP_COMPLETE"||Y.type==="DROP_ANIMATE"||Y.type==="FLUSH"},Ia=function(Y){var he=ja({onWindowScroll:function(at){Y.dispatch(dr({newScroll:at}))}});return function(ze){return function(at){!he.isActive()&&at.type==="INITIAL_PUBLISH"&&he.start(),he.isActive()&&Ya(at)&&he.stop(),ze(at)}}},Va=function(Y){var he=!1,ze=!1,at=setTimeout(function(){ze=!0}),Rt=function(Xt){if(he)return;if(ze)return;he=!0,Y(Xt),clearTimeout(at)};return Rt.wasCalled=function(){return he},Rt},co=function(){var Y=[],he=function(Kt){var Xt=je(Y,function(Tr){return Tr.timerId===Kt});Xt!==-1||ue(!1);var Nr=Y.splice(Xt,1),Qr=Nr[0];Qr.callback()},ze=function(Kt){var Xt=setTimeout(function(){return he(Xt)}),Nr={timerId:Xt,callback:Kt};Y.push(Nr)},at=function(){if(!Y.length)return;var Kt=[].concat(Y);Y.length=0,Kt.forEach(function(Xt){clearTimeout(Xt.timerId),Xt.callback()})};return{add:ze,flush:at}},Ta=function(Y,he){return Y==null&&he==null?!0:Y==null||he==null?!1:Y.droppableId===he.droppableId&&Y.index===he.index},yo=function(Y,he){return Y==null&&he==null?!0:Y==null||he==null?!1:Y.draggableId===he.draggableId&&Y.droppableId===he.droppableId},uo=function(Y,he){if(Y===he)return!0;var ze=Y.draggable.id===he.draggable.id&&Y.draggable.droppableId===he.draggable.droppableId&&Y.draggable.type===he.draggable.type&&Y.draggable.index===he.draggable.index,at=Y.droppable.id===he.droppable.id&&Y.droppable.type===he.droppable.type;return ze&&at},Xa=function(Y,he){si(),he(),ki()},Oo=function(Y,he){return{draggableId:Y.draggable.id,type:Y.droppable.type,source:{droppableId:Y.droppable.id,index:Y.draggable.index},mode:he}},oa=function(Y,he,ze,at){if(!Y){ze(at(he));return}var Rt=Va(ze),Kt={announce:Rt};Y(he,Kt),Rt.wasCalled()||ze(at(he))},qa=function(Y,he){var ze=co(),at=null,Rt=function($r,En){at&&ue(!1),Xa("onBeforeCapture",function(){var oi=Y().onBeforeCapture;if(oi){var ci={draggableId:$r,mode:En};oi(ci)}})},Kt=function($r,En){at&&ue(!1),Xa("onBeforeDragStart",function(){var oi=Y().onBeforeDragStart;oi&&oi(Oo($r,En))})},Xt=function($r,En){at&&ue(!1);var oi=Oo($r,En);at={mode:En,lastCritical:$r,lastLocation:oi.source,lastCombine:null},ze.add(function(){Xa("onDragStart",function(){return oa(Y().onDragStart,oi,he,Te.onDragStart)})})},Nr=function($r,En){var oi=hr(En),ci=xr(En);at||ue(!1);var ji=!uo($r,at.lastCritical);ji&&(at.lastCritical=$r);var Oi=!Ta(at.lastLocation,oi);Oi&&(at.lastLocation=oi);var wa=!yo(at.lastCombine,ci);if(wa&&(at.lastCombine=ci),!ji&&!Oi&&!wa)return;var Qi=Object(m.a)({},Oo($r,at.mode),{combine:ci,destination:oi});ze.add(function(){Xa("onDragUpdate",function(){return oa(Y().onDragUpdate,Qi,he,Te.onDragUpdate)})})},Qr=function(){at||ue(!1),ze.flush()},Tr=function($r){at||ue(!1),at=null,Xa("onDragEnd",function(){return oa(Y().onDragEnd,$r,he,Te.onDragEnd)})},Er=function(){if(!at)return;var $r=Object(m.a)({},Oo(at.lastCritical,at.mode),{combine:null,destination:null,reason:"CANCEL"});Tr($r)};return{beforeCapture:Rt,beforeStart:Kt,start:Xt,update:Nr,flush:Qr,drop:Tr,abort:Er}},oo=function(Y,he){var ze=qa(Y,he);return function(at){return function(Rt){return function(Kt){if(Kt.type==="BEFORE_INITIAL_CAPTURE"){ze.beforeCapture(Kt.payload.draggableId,Kt.payload.movementMode);return}if(Kt.type==="INITIAL_PUBLISH"){var Xt=Kt.payload.critical;ze.beforeStart(Xt,Kt.payload.movementMode),Rt(Kt),ze.start(Xt,Kt.payload.movementMode);return}if(Kt.type==="DROP_COMPLETE"){var Nr=Kt.payload.completed.result;ze.flush(),Rt(Kt),ze.drop(Nr);return}if(Rt(Kt),Kt.type==="FLUSH"){ze.abort();return}var Qr=at.getState();Qr.phase==="DRAGGING"&&ze.update(Qr.critical,Qr.impact)}}}},Ro=function(Y){return function(he){return function(ze){if(ze.type!=="DROP_ANIMATION_FINISHED"){he(ze);return}var at=Y.getState();at.phase==="DROP_ANIMATING"||ue(!1),Y.dispatch(Gn({completed:at.completed}))}}},Ga=function(Y){var he=null,ze=null;function at(){ze&&(cancelAnimationFrame(ze),ze=null),he&&(he(),he=null)}return function(Rt){return function(Kt){if((Kt.type==="FLUSH"||Kt.type==="DROP_COMPLETE"||Kt.type==="DROP_ANIMATION_FINISHED")&&at(),Rt(Kt),Kt.type!=="DROP_ANIMATE")return;var Xt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Qr=Y.getState();Qr.phase==="DROP_ANIMATING"&&Y.dispatch(pi())}};ze=requestAnimationFrame(function(){ze=null,he=ve(window,[Xt])})}}},_o=function(Y){return function(){return function(he){return function(ze){(ze.type==="DROP_COMPLETE"||ze.type==="FLUSH"||ze.type==="DROP_ANIMATE")&&Y.stopPublishing(),he(ze)}}}},go=function(Y){var he=!1;return function(){return function(ze){return function(at){if(at.type==="INITIAL_PUBLISH"){he=!0,Y.tryRecordFocus(at.payload.critical.draggable.id),ze(at),Y.tryRestoreFocusRecorded();return}if(ze(at),!he)return;if(at.type==="FLUSH"){he=!1,Y.tryRestoreFocusRecorded();return}if(at.type==="DROP_COMPLETE"){he=!1;var Rt=at.payload.completed.result;Rt.combine&&Y.tryShiftRecord(Rt.draggableId,Rt.combine.draggableId),Y.tryRestoreFocusRecorded()}}}}},Ja=function(Y){return Y.type==="DROP_COMPLETE"||Y.type==="DROP_ANIMATE"||Y.type==="FLUSH"},Fa=function(Y){return function(he){return function(ze){return function(at){if(Ja(at)){Y.stop(),ze(at);return}if(at.type==="INITIAL_PUBLISH"){ze(at);var Rt=he.getState();Rt.phase==="DRAGGING"||ue(!1),Y.start(Rt);return}ze(at),Y.scroll(he.getState())}}}},ha=function(Y){return function(he){return function(ze){if(he(ze),ze.type!=="PUBLISH_WHILE_DRAGGING")return;var at=Y.getState();if(at.phase!=="DROP_PENDING")return;if(at.isWaiting)return;Y.dispatch(ui({reason:at.reason}))}}},tt=g.d,lr=function(Y){var he=Y.dimensionMarshal,ze=Y.focusMarshal,at=Y.styleMarshal,Rt=Y.getResponders,Kt=Y.announce,Xt=Y.autoScroller;return Object(g.e)(Bi,tt(Object(g.a)(vi(at),_o(he),Si(he),Da,Ro,Ga,ha,Fa(Xt),Ia,go(ze),oo(Rt,Kt))))},Mr=function(){return{additions:{},removals:{},modified:{}}};function Ir(_e){var Y=_e.registry,he=_e.callbacks,ze=Mr(),at=null,Rt=function(){if(at)return;he.collectionStarting(),at=requestAnimationFrame(function(){at=null,si();var Tr=ze,Er=Tr.additions,Hr=Tr.removals,$r=Tr.modified,En=Object.keys(Er).map(function(ji){return Y.draggable.getById(ji).getDimension(Be)}).sort(function(ji,Oi){return ji.descriptor.index-Oi.descriptor.index}),oi=Object.keys($r).map(function(ji){var Oi=Y.droppable.getById(ji),wa=Oi.callbacks.getScrollWhileDragging();return{droppableId:ji,scroll:wa}}),ci={additions:En,removals:Object.keys(Hr),modified:oi};ze=Mr(),ki(),he.publish(ci)})},Kt=function(Tr){var Er=Tr.descriptor.id;ze.additions[Er]=Tr,ze.modified[Tr.descriptor.droppableId]=!0,ze.removals[Er]&&delete ze.removals[Er],Rt()},Xt=function(Tr){var Er=Tr.descriptor;ze.removals[Er.id]=!0,ze.modified[Er.droppableId]=!0,ze.additions[Er.id]&&delete ze.additions[Er.id],Rt()},Nr=function(){if(!at)return;cancelAnimationFrame(at),at=null,ze=Mr()};return{add:Kt,remove:Xt,stop:Nr}}var _n=function(Y){var he=Y.scrollHeight,ze=Y.scrollWidth,at=Y.height,Rt=Y.width,Kt=ae({x:ze,y:he},{x:Rt,y:at}),Xt={x:Math.max(0,Kt.x),y:Math.max(0,Kt.y)};return Xt},Vr=function(){var Y=document.documentElement;return Y||ue(!1),Y},_r=function(){var Y=Vr(),he=_n({scrollHeight:Y.scrollHeight,scrollWidth:Y.scrollWidth,width:Y.clientWidth,height:Y.clientHeight});return he},Mn=function(){var Y=Ra(),he=_r(),ze=Y.y,at=Y.x,Rt=Vr(),Kt=Rt.clientWidth,Xt=Rt.clientHeight,Nr=at+Kt,Qr=ze+Xt,Tr=e({top:ze,left:at,right:Nr,bottom:Qr}),Er={frame:Tr,scroll:{initial:Y,current:Y,max:he,diff:{value:Be,displacement:Be}}};return Er},Br=function(Y){var he=Y.critical,ze=Y.scrollOptions,at=Y.registry;si();var Rt=Mn(),Kt=Rt.scroll.current,Xt=he.droppable,Nr=at.droppable.getAllByType(Xt.type).map(function(Hr){return Hr.callbacks.getDimensionAndWatchScroll(Kt,ze)}),Qr=at.draggable.getAllByType(he.draggable.type).map(function(Hr){return Hr.getDimension(Kt)}),Tr={draggables:lt(Qr),droppables:Vt(Nr)};ki();var Er={dimensions:Tr,critical:he,viewport:Rt};return Er};function Sn(_e,Y,he){if(he.descriptor.id===Y.id)return!1;if(he.descriptor.type!==Y.type)return!1;var ze=_e.droppable.getById(he.descriptor.droppableId);return!(ze.descriptor.mode!=="virtual")}var jn=function(Y,he){var ze=null,at=Ir({callbacks:{publish:he.publishWhileDragging,collectionStarting:he.collectionStarting},registry:Y}),Rt=function(En,oi){if(Y.droppable.exists(En)||ue(!1),!ze)return;he.updateDroppableIsEnabled({id:En,isEnabled:oi})},Kt=function(En,oi){if(!ze)return;Y.droppable.exists(En)||ue(!1),he.updateDroppableIsCombineEnabled({id:En,isCombineEnabled:oi})},Xt=function(En,oi){if(!ze)return;Y.droppable.exists(En)||ue(!1),he.updateDroppableScroll({id:En,newScroll:oi})},Nr=function(En,oi){if(!ze)return;Y.droppable.getById(En).callbacks.scroll(oi)},Qr=function(){if(!ze)return;at.stop();var En=ze.critical.droppable;Y.droppable.getAllByType(En.type).forEach(function(oi){return oi.callbacks.dragStopped()}),ze.unsubscribe(),ze=null},Tr=function(En){ze||ue(!1);var oi=ze.critical.draggable;En.type==="ADDITION"&&(Sn(Y,oi,En.value)&&at.add(En.value)),En.type==="REMOVAL"&&(Sn(Y,oi,En.value)&&at.remove(En.value))},Er=function(En){ze&&ue(!1);var oi=Y.draggable.getById(En.draggableId),ci=Y.droppable.getById(oi.descriptor.droppableId),ji={draggable:oi.descriptor,droppable:ci.descriptor},Oi=Y.subscribe(Tr);return ze={critical:ji,unsubscribe:Oi},Br({critical:ji,registry:Y,scrollOptions:En.scrollOptions})},Hr={updateDroppableIsEnabled:Rt,updateDroppableIsCombineEnabled:Kt,scrollDroppable:Nr,updateDroppableScroll:Xt,startPublishing:Er,stopPublishing:Qr};return Hr},Hn=function(Y,he){return Y.phase==="IDLE"?!0:Y.phase!=="DROP_ANIMATING"||Y.completed.result.draggableId===he?!1:Y.completed.result.reason==="DROP"},Bn=function(Y){window.scrollBy(Y.x,Y.y)},ri=L(function(_e){return or(_e).filter(function(Y){return Y.isEnabled?!!Y.frame:!1})}),Yn=function(Y,he){var ze=q(ri(he),function(at){return at.frame||ue(!1),sn(at.frame.pageMarginBox)(Y)});return ze},ii=function(Y){var he=Y.center,ze=Y.destination,at=Y.droppables;if(ze){var Rt=at[ze];return Rt.frame?Rt:null}var Kt=Yn(he,at);return Kt},ai={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(Y){return Math.pow(Y,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Pi=function(Y,he){var ze=Y[he.size]*ai.startFromPercentage,at=Y[he.size]*ai.maxScrollAtPercentage,Rt={startScrollingFrom:ze,maxScrollValueAt:at};return Rt},yi=function(Y){var he=Y.startOfRange,ze=Y.endOfRange,at=Y.current,Rt=ze-he;if(Rt===0)return 0;var Kt=at-he,Xt=Kt/Rt;return Xt},Ki=1,va=function(Y,he){if(Y>he.startScrollingFrom)return 0;if(Y<=he.maxScrollValueAt)return ai.maxPixelScroll;if(Y===he.startScrollingFrom)return Ki;var ze=yi({startOfRange:he.maxScrollValueAt,endOfRange:he.startScrollingFrom,current:Y}),at=1-ze,Rt=ai.maxPixelScroll*ai.ease(at);return Math.ceil(Rt)},ea=ai.durationDampening.accelerateAt,Ji=ai.durationDampening.stopDampeningAt,sa=function(Y,he){var ze=he,at=Ji,Rt=Date.now(),Kt=Rt-ze;if(Kt>=Ji)return Y;if(Kt<ea)return Ki;var Xt=yi({startOfRange:ea,endOfRange:at,current:Kt}),Nr=Y*ai.ease(Xt);return Math.ceil(Nr)},fa=function(Y){var he=Y.distanceToEdge,ze=Y.thresholds,at=Y.dragStartTime,Rt=Y.shouldUseTimeDampening,Kt=va(he,ze);return Kt===0?0:Rt?Math.max(sa(Kt,at),Ki):Kt},xo=function(Y){var he=Y.container,ze=Y.distanceToEdges,at=Y.dragStartTime,Rt=Y.axis,Kt=Y.shouldUseTimeDampening,Xt=Pi(he,Rt),Nr=ze[Rt.end]<ze[Rt.start];return Nr?fa({distanceToEdge:ze[Rt.end],thresholds:Xt,dragStartTime:at,shouldUseTimeDampening:Kt}):-1*fa({distanceToEdge:ze[Rt.start],thresholds:Xt,dragStartTime:at,shouldUseTimeDampening:Kt})},Qa=function(Y){var he=Y.container,ze=Y.subject,at=Y.proposedScroll,Rt=ze.height>he.height,Kt=ze.width>he.width;return!Kt&&!Rt?at:Kt&&Rt?null:{x:Kt?0:at.x,y:Rt?0:at.y}},Wi=Ne(function(_e){return _e===0?0:_e}),qi=function(Y){var he=Y.dragStartTime,ze=Y.container,at=Y.subject,Rt=Y.center,Kt=Y.shouldUseTimeDampening,Xt={top:Rt.y-ze.top,right:ze.right-Rt.x,bottom:ze.bottom-Rt.y,left:Rt.x-ze.left},Nr=xo({container:ze,distanceToEdges:Xt,dragStartTime:he,axis:Pn,shouldUseTimeDampening:Kt}),Qr=xo({container:ze,distanceToEdges:Xt,dragStartTime:he,axis:jt,shouldUseTimeDampening:Kt}),Tr=Wi({x:Qr,y:Nr});if(fe(Tr,Be))return null;var Er=Qa({container:ze,subject:at,proposedScroll:Tr});return Er?fe(Er,Be)?null:Er:null},ca=Ne(function(_e){return _e===0?0:_e>0?1:-1}),ma=function(){var _e=function(he,ze){return he<0?he:he>ze?he-ze:0};return function(Y){var he=Y.current,ze=Y.max,at=Y.change,Rt=De(he,at),Kt={x:_e(Rt.x,ze.x),y:_e(Rt.y,ze.y)};return fe(Kt,Be)?null:Kt}}(),Pa=function(Y){var he=Y.max,ze=Y.current,at=Y.change,Rt={x:Math.max(ze.x,he.x),y:Math.max(ze.y,he.y)},Kt=ca(at),Xt=ma({max:Rt,current:ze,change:Kt});return Xt?Kt.x!==0&&Xt.x===0?!0:Kt.y!==0&&Xt.y===0:!0},La=function(Y,he){return Pa({current:Y.scroll.current,max:Y.scroll.max,change:he})},Za=function(Y,he){if(!La(Y,he))return null;var ze=Y.scroll.max,at=Y.scroll.current;return ma({current:at,max:ze,change:he})},eo=function(Y,he){var ze=Y.frame;return ze?Pa({current:ze.scroll.current,max:ze.scroll.max,change:he}):!1},ko=function(Y,he){var ze=Y.frame;return ze&&eo(Y,he)?ma({current:ze.scroll.current,max:ze.scroll.max,change:he}):null},jo=function(Y){var he=Y.viewport,ze=Y.subject,at=Y.center,Rt=Y.dragStartTime,Kt=Y.shouldUseTimeDampening,Xt=qi({dragStartTime:Rt,container:he.frame,subject:ze,center:at,shouldUseTimeDampening:Kt});return Xt&&La(he,Xt)?Xt:null},cs=function(Y){var he=Y.droppable,ze=Y.subject,at=Y.center,Rt=Y.dragStartTime,Kt=Y.shouldUseTimeDampening,Xt=he.frame;if(!Xt)return null;var Nr=qi({dragStartTime:Rt,container:Xt.pageMarginBox,subject:ze,center:at,shouldUseTimeDampening:Kt});return Nr&&eo(he,Nr)?Nr:null},Mo=function(Y){var he=Y.state,ze=Y.dragStartTime,at=Y.shouldUseTimeDampening,Rt=Y.scrollWindow,Kt=Y.scrollDroppable,Xt=he.current.page.borderBoxCenter,Nr=he.dimensions.draggables[he.critical.draggable.id],Qr=Nr.page.marginBox;if(he.isWindowScrollAllowed){var Tr=he.viewport,Er=jo({dragStartTime:ze,viewport:Tr,subject:Qr,center:Xt,shouldUseTimeDampening:at});if(Er){Rt(Er);return}}var Hr=ii({center:Xt,destination:Xn(he.impact),droppables:he.dimensions.droppables});if(!Hr)return;var $r=cs({dragStartTime:ze,droppable:Hr,subject:Qr,center:Xt,shouldUseTimeDampening:at});$r&&Kt(Hr.descriptor.id,$r)},Lo=function(Y){var he=Y.scrollWindow,ze=Y.scrollDroppable,at=k(he),Rt=k(ze),Kt=null,Xt=function(Er){Kt||ue(!1);var Hr=Kt,$r=Hr.shouldUseTimeDampening,En=Hr.dragStartTime;Mo({state:Er,scrollWindow:at,scrollDroppable:Rt,dragStartTime:En,shouldUseTimeDampening:$r})},Nr=function(Er){si(),Kt&&ue(!1);var Hr=Date.now(),$r=!1,En=function(){$r=!0};Mo({state:Er,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:En,scrollDroppable:En}),Kt={dragStartTime:Hr,shouldUseTimeDampening:$r},ki(),$r&&Xt(Er)},Qr=function(){if(!Kt)return;at.cancel(),Rt.cancel(),Kt=null};return{start:Nr,stop:Qr,scroll:Xt}},Ba=function(Y){var he=Y.move,ze=Y.scrollDroppable,at=Y.scrollWindow,Rt=function(Tr,Er){var Hr=De(Tr.current.client.selection,Er);he({client:Hr})},Kt=function(Tr,Er){if(!eo(Tr,Er))return Er;var Hr=ko(Tr,Er);if(!Hr)return ze(Tr.descriptor.id,Er),null;var $r=ae(Er,Hr);ze(Tr.descriptor.id,$r);var En=ae(Er,$r);return En},Xt=function(Tr,Er,Hr){if(!Tr)return Hr;if(!La(Er,Hr))return Hr;var $r=Za(Er,Hr);if(!$r)return at(Hr),null;var En=ae(Hr,$r);at(En);var oi=ae(Hr,En);return oi},Nr=function(Tr){var Er=Tr.scrollJumpRequest;if(!Er)return;var Hr=Xn(Tr.impact);Hr||ue(!1);var $r=Kt(Tr.dimensions.droppables[Hr],Er);if(!$r)return;var En=Tr.viewport,oi=Xt(Tr.isWindowScrollAllowed,En,$r);if(!oi)return;Rt(Tr,oi)};return Nr},za=function(Y){var he=Y.scrollDroppable,ze=Y.scrollWindow,at=Y.move,Rt=Lo({scrollWindow:ze,scrollDroppable:he}),Kt=Ba({move:at,scrollWindow:ze,scrollDroppable:he}),Xt=function(Tr){if(Tr.phase!=="DRAGGING")return;if(Tr.movementMode==="FLUID"){Rt.scroll(Tr);return}if(!Tr.scrollJumpRequest)return;Kt(Tr)},Nr={scroll:Xt,start:Rt.start,stop:Rt.stop};return Nr},Ca="data-rbd",Po=function(){var _e=Ca+"-drag-handle";return{base:_e,draggableId:_e+"-draggable-id",contextId:_e+"-context-id"}}(),Qo=function(){var _e=Ca+"-draggable";return{base:_e,contextId:_e+"-context-id",id:_e+"-id"}}(),so=function(){var _e=Ca+"-droppable";return{base:_e,contextId:_e+"-context-id",id:_e+"-id"}}(),Os={contextId:Ca+"-scroll-container-context-id"},ho=function(Y){return function(he){return"["+he+'="'+Y+'"]'}},bo=function(Y,he){return Y.map(function(ze){var at=ze.styles[he];return at?ze.selector+" { "+at+" }":""}).join(" ")},ds="pointer-events: none;",Ho=function(Y){var he=ho(Y),ze=function(){var Nr=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:he(Po.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Nr,dragging:ds,dropAnimating:Nr}}}(),at=function(){var Nr=`
transition: `+Di.outOfTheWay+`;
`;return{selector:he(Qo.contextId),styles:{dragging:Nr,dropAnimating:Nr,userCancel:Nr}}}(),Rt={selector:he(so.contextId),styles:{always:"overflow-anchor: none;"}},Kt={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;
`}},Xt=[at,ze,Rt,Kt];return{always:bo(Xt,"always"),resting:bo(Xt,"resting"),dragging:bo(Xt,"dragging"),dropAnimating:bo(Xt,"dropAnimating"),userCancel:bo(Xt,"userCancel")}},zo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?v.useLayoutEffect:v.useEffect,rn=function(){var Y=document.querySelector("head");return Y||ue(!1),Y},es=function(Y){var he=document.createElement("style");return Y&&he.setAttribute("nonce",Y),he.type="text/css",he};function Js(_e,Y){var he=i(function(){return Ho(_e)},[_e]),ze=Object(v.useRef)(null),at=Object(v.useRef)(null),Rt=t(L(function(Er){var Hr=at.current;Hr||ue(!1),Hr.textContent=Er}),[]),Kt=t(function(Er){var Hr=ze.current;Hr||ue(!1),Hr.textContent=Er},[]);zo(function(){!ze.current&&!at.current||ue(!1);var Er=es(Y),Hr=es(Y);return ze.current=Er,at.current=Hr,Er.setAttribute(Ca+"-always",_e),Hr.setAttribute(Ca+"-dynamic",_e),rn().appendChild(Er),rn().appendChild(Hr),Kt(he.always),Rt(he.resting),function(){var $r=function(oi){var ci=oi.current;ci||ue(!1),rn().removeChild(ci),oi.current=null};$r(ze),$r(at)}},[Y,Kt,Rt,he.always,he.resting,_e]);var Xt=t(function(){return Rt(he.dragging)},[Rt,he.dragging]),Nr=t(function(Er){if(Er==="DROP"){Rt(he.dropAnimating);return}Rt(he.userCancel)},[Rt,he.dropAnimating,he.userCancel]),Qr=t(function(){if(!at.current)return;Rt(he.resting)},[Rt,he.resting]),Tr=i(function(){return{dragging:Xt,dropping:Nr,resting:Qr}},[Xt,Nr,Qr]);return Tr}var Es=function(Y){return Y&&Y.ownerDocument?Y.ownerDocument.defaultView:window};function gs(_e){return _e instanceof Es(_e).HTMLElement}function Ko(_e,Y){var he="["+Po.contextId+'="'+_e+'"]',ze=wt(document.querySelectorAll(he));if(!ze.length)return null;var at=q(ze,function(Rt){return Rt.getAttribute(Po.draggableId)===Y});return at&&gs(at)?at:null}function hs(_e){var Y=Object(v.useRef)({}),he=Object(v.useRef)(null),ze=Object(v.useRef)(null),at=Object(v.useRef)(!1),Rt=t(function(Hr,$r){var En={id:Hr,focus:$r};return Y.current[Hr]=En,function(){var ci=Y.current,ji=ci[Hr];ji!==En&&delete ci[Hr]}},[]),Kt=t(function(Hr){var $r=Ko(_e,Hr);$r&&$r!==document.activeElement&&$r.focus()},[_e]),Xt=t(function(Hr,$r){he.current===Hr&&(he.current=$r)},[]),Nr=t(function(){if(ze.current)return;if(!at.current)return;ze.current=requestAnimationFrame(function(){ze.current=null;var Hr=he.current;Hr&&Kt(Hr)})},[Kt]),Qr=t(function(Hr){he.current=null;var $r=document.activeElement;if(!$r)return;if($r.getAttribute(Po.draggableId)!==Hr)return;he.current=Hr},[]);zo(function(){return at.current=!0,function(){at.current=!1;var Hr=ze.current;Hr&&cancelAnimationFrame(Hr)}},[]);var Tr=i(function(){return{register:Rt,tryRecordFocus:Qr,tryRestoreFocusRecorded:Nr,tryShiftRecord:Xt}},[Rt,Qr,Nr,Xt]);return Tr}function bs(){var _e={draggables:{},droppables:{}},Y=[];function he(Er){return Y.push(Er),function(){var $r=Y.indexOf(Er);if($r===-1)return;Y.splice($r,1)}}function ze(Er){Y.length&&Y.forEach(function(Hr){return Hr(Er)})}function at(Er){return _e.draggables[Er]||null}function Rt(Er){var Hr=at(Er);return Hr||ue(!1),Hr}var Kt={register:function(Hr){_e.draggables[Hr.descriptor.id]=Hr,ze({type:"ADDITION",value:Hr})},update:function(Hr,$r){var En=_e.draggables[$r.descriptor.id];if(!En)return;if(En.uniqueId!==Hr.uniqueId)return;delete _e.draggables[$r.descriptor.id],_e.draggables[Hr.descriptor.id]=Hr},unregister:function(Hr){var $r=Hr.descriptor.id,En=at($r);if(!En)return;if(Hr.uniqueId!==En.uniqueId)return;delete _e.draggables[$r],ze({type:"REMOVAL",value:Hr})},getById:Rt,findById:at,exists:function(Hr){return Boolean(at(Hr))},getAllByType:function(Hr){return qe(_e.draggables).filter(function($r){return $r.descriptor.type===Hr})}};function Xt(Er){return _e.droppables[Er]||null}function Nr(Er){var Hr=Xt(Er);return Hr||ue(!1),Hr}var Qr={register:function(Hr){_e.droppables[Hr.descriptor.id]=Hr},unregister:function(Hr){var $r=Xt(Hr.descriptor.id);if(!$r)return;if(Hr.uniqueId!==$r.uniqueId)return;delete _e.droppables[Hr.descriptor.id]},getById:Nr,findById:Xt,exists:function(Hr){return Boolean(Xt(Hr))},getAllByType:function(Hr){return qe(_e.droppables).filter(function($r){return $r.descriptor.type===Hr})}};function Tr(){_e.draggables={},_e.droppables={},Y.length=0}return{draggable:Kt,droppable:Qr,subscribe:he,clean:Tr}}function ws(){var _e=i(bs,[]);return Object(v.useEffect)(function(){return function(){requestAnimationFrame(_e.clean)}},[_e]),_e}var qo=p.a.createContext(null),us=function(){var Y=document.body;return Y||ue(!1),Y},_s={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},As=function(Y){return"rbd-announcement-"+Y};function Ao(_e){var Y=i(function(){return As(_e)},[_e]),he=Object(v.useRef)(null);Object(v.useEffect)(function(){var Rt=document.createElement("div");return he.current=Rt,Rt.id=Y,Rt.setAttribute("aria-live","assertive"),Rt.setAttribute("aria-atomic","true"),Object(m.a)(Rt.style,_s),us().appendChild(Rt),function(){setTimeout(function(){var Nr=us();Nr.contains(Rt)&&Nr.removeChild(Rt),Rt===he.current&&(he.current=null)})}},[Y]);var ze=t(function(at){var Rt=he.current;if(Rt){Rt.textContent=at;return}},[]);return ze}var to=0,Jo={separator:"::"};function ts(){to=0}function Ha(_e,Y){return Y===void 0&&(Y=Jo),i(function(){return""+_e+Y.separator+to++},[Y.separator,_e])}function Ct(_e){var Y=_e.contextId,he=_e.uniqueId;return"rbd-hidden-text-"+Y+"-"+he}function Wt(_e){var Y=_e.contextId,he=_e.text,ze=Ha("hidden-text",{separator:"-"}),at=i(function(){return Ct({contextId:Y,uniqueId:ze})},[ze,Y]);return Object(v.useEffect)(function(){var Kt=document.createElement("div");return Kt.id=at,Kt.textContent=he,Kt.style.display="none",us().appendChild(Kt),function(){var Nr=us();Nr.contains(Kt)&&Nr.removeChild(Kt)}},[at,he]),at}var cn=p.a.createContext(null),zn={react:"^16.8.5","react-dom":"^16.8.5"},ht=/(\d+)\.(\d+)\.(\d+)/,Z=function(Y){var he=ht.exec(Y);he!=null||ue(!1);var ze=Number(he[1]),at=Number(he[2]),Rt=Number(he[3]);return{major:ze,minor:at,patch:Rt,raw:Y}},se=function(Y,he){return he.major>Y.major?!0:he.major<Y.major?!1:he.minor>Y.minor?!0:he.minor<Y.minor?!1:he.patch>=Y.patch},pe=function(Y,he){var ze=Z(Y),at=Z(he);if(se(ze,at))return},Ue=`
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
`,ft=function(Y){var he=Y.doctype;if(!he)return;he.name.toLowerCase()!=="html",he.publicId!==""};function zt(_e){}function Dr(_e,Y){zt(function(){Object(v.useEffect)(function(){try{_e()}catch(he){re(`
A setup problem was encountered.
> `+he.message+`
`)}},Y)})}function Xr(){Dr(function(){pe(zn.react,p.a.version),ft(document)},[])}function dn(_e){var Y=Object(v.useRef)(_e);return Object(v.useEffect)(function(){Y.current=_e}),Y}function Kn(){var _e=null;function Y(){return Boolean(_e)}function he(Kt){return Kt===_e}function ze(Kt){_e&&ue(!1);var Xt={abandon:Kt};return _e=Xt,Xt}function at(){_e||ue(!1),_e=null}function Rt(){_e&&(_e.abandon(),at())}return{isClaimed:Y,isActive:he,claim:ze,release:at,tryAbandon:Rt}}var $n=9,Qn=13,Ei=27,Fi=32,Aa=33,Oa=34,fo=35,wo=36,lo=37,Yo=38,Vo=39,No=40,ao,Ka=(ao={},ao[Qn]=!0,ao[$n]=!0,ao),is=function(Y){Ka[Y.keyCode]&&Y.preventDefault()},Is=function(){var _e="visibilitychange";if(typeof document=="undefined")return _e;var Y=[_e,"ms"+_e,"webkit"+_e,"moz"+_e,"o"+_e],he=q(Y,function(ze){return"on"+ze in document});return he||_e}(),Xo=0,la=5;function Vs(_e,Y){return Math.abs(Y.x-_e.x)>=la||Math.abs(Y.y-_e.y)>=la}var Hs={type:"IDLE"};function fs(_e){var Y=_e.cancel,he=_e.completed,ze=_e.getPhase,at=_e.setPhase;return[{eventName:"mousemove",fn:function(Kt){var Xt=Kt.button,Nr=Kt.clientX,Qr=Kt.clientY;if(Xt!==Xo)return;var Tr={x:Nr,y:Qr},Er=ze();if(Er.type==="DRAGGING"){Kt.preventDefault(),Er.actions.move(Tr);return}Er.type==="PENDING"||ue(!1);var Hr=Er.point;if(!Vs(Hr,Tr))return;Kt.preventDefault();var $r=Er.actions.fluidLift(Tr);at({type:"DRAGGING",actions:$r})}},{eventName:"mouseup",fn:function(Kt){var Xt=ze();if(Xt.type!=="DRAGGING"){Y();return}Kt.preventDefault(),Xt.actions.drop({shouldBlockNextClick:!0}),he()}},{eventName:"mousedown",fn:function(Kt){ze().type==="DRAGGING"&&Kt.preventDefault(),Y()}},{eventName:"keydown",fn:function(Kt){var Xt=ze();if(Xt.type==="PENDING"){Y();return}if(Kt.keyCode===Ei){Kt.preventDefault(),Y();return}is(Kt)}},{eventName:"resize",fn:Y},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ze().type==="PENDING"&&Y()}},{eventName:"webkitmouseforcedown",fn:function(Kt){var Xt=ze();if(Xt.type!=="IDLE"||ue(!1),Xt.actions.shouldRespectForcePress()){Y();return}Kt.preventDefault()}},{eventName:Is,fn:Y}]}function as(_e){var Y=Object(v.useRef)(Hs),he=Object(v.useRef)(ye),ze=i(function(){return{eventName:"mousedown",fn:function(Er){if(Er.defaultPrevented)return;if(Er.button!==Xo)return;if(Er.ctrlKey||Er.metaKey||Er.shiftKey||Er.altKey)return;var Hr=_e.findClosestDraggableId(Er);if(!Hr)return;var $r=_e.tryGetLock(Hr,Kt,{sourceEvent:Er});if(!$r)return;Er.preventDefault();var En={x:Er.clientX,y:Er.clientY};he.current(),Qr($r,En)}}},[_e]),at=i(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Er){if(Er.defaultPrevented)return;var Hr=_e.findClosestDraggableId(Er);if(!Hr)return;var $r=_e.findOptionsForDraggable(Hr);if(!$r)return;if($r.shouldRespectForcePress)return;if(!_e.canGetLock(Hr))return;Er.preventDefault()}}},[_e]),Rt=t(function(){var Er={passive:!1,capture:!0};he.current=ve(window,[at,ze],Er)},[at,ze]),Kt=t(function(){var Tr=Y.current;if(Tr.type==="IDLE")return;Y.current=Hs,he.current(),Rt()},[Rt]),Xt=t(function(){var Tr=Y.current;Kt(),Tr.type==="DRAGGING"&&Tr.actions.cancel({shouldBlockNextClick:!0}),Tr.type==="PENDING"&&Tr.actions.abort()},[Kt]),Nr=t(function(){var Er={capture:!0,passive:!1},Hr=fs({cancel:Xt,completed:Kt,getPhase:function(){return Y.current},setPhase:function(En){Y.current=En}});he.current=ve(window,Hr,Er)},[Xt,Kt]),Qr=t(function(Er,Hr){Y.current.type==="IDLE"||ue(!1),Y.current={type:"PENDING",point:Hr,actions:Er},Nr()},[Nr]);zo(function(){return Rt(),function(){he.current()}},[Rt])}var Ss;function xl(){}var Al=(Ss={},Ss[Oa]=!0,Ss[Aa]=!0,Ss[wo]=!0,Ss[fo]=!0,Ss);function zs(_e,Y){function he(){Y(),_e.cancel()}function ze(){Y(),_e.drop()}return[{eventName:"keydown",fn:function(Rt){if(Rt.keyCode===Ei){Rt.preventDefault(),he();return}if(Rt.keyCode===Fi){Rt.preventDefault(),ze();return}if(Rt.keyCode===No){Rt.preventDefault(),_e.moveDown();return}if(Rt.keyCode===Yo){Rt.preventDefault(),_e.moveUp();return}if(Rt.keyCode===Vo){Rt.preventDefault(),_e.moveRight();return}if(Rt.keyCode===lo){Rt.preventDefault(),_e.moveLeft();return}if(Al[Rt.keyCode]){Rt.preventDefault();return}is(Rt)}},{eventName:"mousedown",fn:he},{eventName:"mouseup",fn:he},{eventName:"click",fn:he},{eventName:"touchstart",fn:he},{eventName:"resize",fn:he},{eventName:"wheel",fn:he,options:{passive:!0}},{eventName:Is,fn:he}]}function Zo(_e){var Y=Object(v.useRef)(xl),he=i(function(){return{eventName:"keydown",fn:function(Rt){if(Rt.defaultPrevented)return;if(Rt.keyCode!==Fi)return;var Kt=_e.findClosestDraggableId(Rt);if(!Kt)return;var Xt=_e.tryGetLock(Kt,Tr,{sourceEvent:Rt});if(!Xt)return;Rt.preventDefault();var Nr=!0,Qr=Xt.snapLift();Y.current();function Tr(){Nr||ue(!1),Nr=!1,Y.current(),ze()}Y.current=ve(window,zs(Qr,Tr),{capture:!0,passive:!1})}}},[_e]),ze=t(function(){var Rt={passive:!1,capture:!0};Y.current=ve(window,[he],Rt)},[he]);zo(function(){return ze(),function(){Y.current()}},[ze])}var vs={type:"IDLE"},nl=120,ks=.15;function po(_e){var Y=_e.cancel,he=_e.getPhase;return[{eventName:"orientationchange",fn:Y},{eventName:"resize",fn:Y},{eventName:"contextmenu",fn:function(at){at.preventDefault()}},{eventName:"keydown",fn:function(at){if(he().type!=="DRAGGING"){Y();return}at.keyCode===Ei&&at.preventDefault(),Y()}},{eventName:Is,fn:Y}]}function Wa(_e){var Y=_e.cancel,he=_e.completed,ze=_e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Rt){var Kt=ze();if(Kt.type!=="DRAGGING"){Y();return}Kt.hasMoved=!0;var Xt=Rt.touches[0],Nr=Xt.clientX,Qr=Xt.clientY,Tr={x:Nr,y:Qr};Rt.preventDefault(),Kt.actions.move(Tr)}},{eventName:"touchend",fn:function(Rt){var Kt=ze();if(Kt.type!=="DRAGGING"){Y();return}Rt.preventDefault(),Kt.actions.drop({shouldBlockNextClick:!0}),he()}},{eventName:"touchcancel",fn:function(Rt){if(ze().type!=="DRAGGING"){Y();return}Rt.preventDefault(),Y()}},{eventName:"touchforcechange",fn:function(Rt){var Kt=ze();Kt.type!=="IDLE"||ue(!1);var Xt=Rt.touches[0];if(!Xt)return;var Nr=Xt.force>=ks;if(!Nr)return;var Qr=Kt.actions.shouldRespectForcePress();if(Kt.type==="PENDING"){Qr&&Y();return}if(Qr){if(Kt.hasMoved){Rt.preventDefault();return}Y();return}Rt.preventDefault()}},{eventName:Is,fn:Y}]}function Eo(_e){var Y=Object(v.useRef)(vs),he=Object(v.useRef)(ye),ze=t(function(){return Y.current},[]),at=t(function($r){Y.current=$r},[]),Rt=i(function(){return{eventName:"touchstart",fn:function($r){if($r.defaultPrevented)return;var En=_e.findClosestDraggableId($r);if(!En)return;var oi=_e.tryGetLock(En,Xt,{sourceEvent:$r});if(!oi)return;var ci=$r.touches[0],ji=ci.clientX,Oi=ci.clientY,wa={x:ji,y:Oi};he.current(),Er(oi,wa)}}},[_e]),Kt=t(function(){var $r={capture:!0,passive:!1};he.current=ve(window,[Rt],$r)},[Rt]),Xt=t(function(){var Hr=Y.current;if(Hr.type==="IDLE")return;Hr.type==="PENDING"&&clearTimeout(Hr.longPressTimerId),at(vs),he.current(),Kt()},[Kt,at]),Nr=t(function(){var Hr=Y.current;Xt(),Hr.type==="DRAGGING"&&Hr.actions.cancel({shouldBlockNextClick:!0}),Hr.type==="PENDING"&&Hr.actions.abort()},[Xt]),Qr=t(function(){var $r={capture:!0,passive:!1},En={cancel:Nr,completed:Xt,getPhase:ze},oi=ve(window,Wa(En),$r),ci=ve(window,po(En),$r);he.current=function(){oi(),ci()}},[Nr,ze,Xt]),Tr=t(function(){var $r=ze();$r.type==="PENDING"||ue(!1);var En=$r.actions.fluidLift($r.point);at({type:"DRAGGING",actions:En,hasMoved:!1})},[ze,at]),Er=t(function($r,En){ze().type==="IDLE"||ue(!1);var oi=setTimeout(Tr,nl);at({type:"PENDING",point:En,actions:$r,longPressTimerId:oi}),Qr()},[Qr,ze,at,Tr]);zo(function(){return Kt(),function(){he.current();var En=ze();En.type==="PENDING"&&(clearTimeout(En.longPressTimerId),at(vs))}},[ze,Kt,at]),zo(function(){var $r=ve(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return $r},[])}function Go(_e){zt(function(){var Y=dn(_e);Dr(function(){Y.current.length===_e.length||ue(!1)})})}var $o={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function To(_e,Y){if(Y==null)return!1;var he=Boolean($o[Y.tagName.toLowerCase()]);if(he)return!0;var ze=Y.getAttribute("contenteditable");return ze==="true"||ze===""?!0:Y===_e?!1:To(_e,Y.parentElement)}function rs(_e,Y){var he=Y.target;return gs(he)?To(_e,he):!1}var os=function(Y){return e(Y.getBoundingClientRect()).center};function Fs(_e){return _e instanceof Es(_e).Element}var ol=function(){var _e="matches";if(typeof document=="undefined")return _e;var Y=[_e,"msMatchesSelector","webkitMatchesSelector"],he=q(Y,function(ze){return ze in Element.prototype});return he||_e}();function Zs(_e,Y){return _e==null?null:_e[ol](Y)?_e:Zs(_e.parentElement,Y)}function dl(_e,Y){return _e.closest?_e.closest(Y):Zs(_e,Y)}function hl(_e){return"["+Po.contextId+'="'+_e+'"]'}function sl(_e,Y){var he=Y.target;if(!Fs(he))return null;var ze=hl(_e),at=dl(he,ze);return at&&gs(at)?at:null}function yl(_e,Y){var he=sl(_e,Y);return he?he.getAttribute(Po.draggableId):null}function Ns(_e,Y){var he="["+Qo.contextId+'="'+_e+'"]',ze=wt(document.querySelectorAll(he)),at=q(ze,function(Rt){return Rt.getAttribute(Qo.id)===Y});return at&&gs(at)?at:null}function ys(_e){_e.preventDefault()}function Ds(_e){var Y=_e.expected,he=_e.phase,ze=_e.isLockActive,at=_e.shouldWarn;return ze()?!(Y!==he):!1}function xs(_e){var Y=_e.lockAPI,he=_e.store,ze=_e.registry,at=_e.draggableId;if(Y.isClaimed())return!1;var Rt=ze.draggable.findById(at);return Rt&&Rt.options.isEnabled?!!Hn(he.getState(),at):!1}function Gs(_e){var Y=_e.lockAPI,he=_e.contextId,ze=_e.store,at=_e.registry,Rt=_e.draggableId,Kt=_e.forceSensorStop,Xt=_e.sourceEvent,Nr=xs({lockAPI:Y,store:ze,registry:at,draggableId:Rt});if(!Nr)return null;var Qr=at.draggable.getById(Rt),Tr=Ns(he,Qr.descriptor.id);if(!Tr)return null;if(Xt&&!Qr.options.canDragInteractiveElements&&rs(Tr,Xt))return null;var Er=Y.claim(Kt||ye),Hr="PRE_DRAG";function $r(){return Qr.options.shouldRespectForcePress}function En(){return Y.isActive(Er)}function oi(Sa,So){Ds({expected:Sa,phase:Hr,isLockActive:En,shouldWarn:!0})&&ze.dispatch(So())}var ci=oi.bind(null,"DRAGGING");function ji(Sa){function So(){Y.release(),Hr="COMPLETED"}Hr!=="PRE_DRAG"&&(So(),Hr==="PRE_DRAG"||ue(!1)),ze.dispatch(ar(Sa.liftActionArgs)),Hr="DRAGGING";function Fo(I,D){if(D===void 0&&(D={shouldBlockNextClick:!1}),Sa.cleanup(),D.shouldBlockNextClick){var X=ve(window,[{eventName:"click",fn:ys,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(X)}So(),ze.dispatch(ui({reason:I}))}return Object(m.a)({isActive:function(){return Ds({expected:"DRAGGING",phase:Hr,isLockActive:En,shouldWarn:!1})},shouldRespectForcePress:$r,drop:function(D){return Fo("DROP",D)},cancel:function(D){return Fo("CANCEL",D)}},Sa.actions)}function Oi(Sa){var So=k(function(I){ci(function(){return mt({client:I})})}),Fo=ji({liftActionArgs:{id:Rt,clientSelection:Sa,movementMode:"FLUID"},cleanup:function(){return So.cancel()},actions:{move:So}});return Object(m.a)({},Fo,{move:So})}function wa(){var Sa={moveUp:function(){return ci(kr)},moveRight:function(){return ci(un)},moveDown:function(){return ci(nn)},moveLeft:function(){return ci(en)}};return ji({liftActionArgs:{id:Rt,clientSelection:os(Tr),movementMode:"SNAP"},cleanup:ye,actions:Sa})}function Qi(){var Sa=Ds({expected:"PRE_DRAG",phase:Hr,isLockActive:En,shouldWarn:!0});Sa&&Y.release()}var Ua={isActive:function(){return Ds({expected:"PRE_DRAG",phase:Hr,isLockActive:En,shouldWarn:!1})},shouldRespectForcePress:$r,fluidLift:Oi,snapLift:wa,abort:Qi};return Ua}var ll=[as,Zo,Eo];function El(_e){var Y=_e.contextId,he=_e.store,ze=_e.registry,at=_e.customSensors,Rt=_e.enableDefaultSensors,Kt=[].concat(Rt?ll:[],at||[]),Xt=Object(v.useState)(function(){return Kn()})[0],Nr=t(function(Oi,wa){Oi.isDragging&&!wa.isDragging&&Xt.tryAbandon()},[Xt]);zo(function(){var Oi=he.getState(),wa=he.subscribe(function(){var Qi=he.getState();Nr(Oi,Qi),Oi=Qi});return wa},[Xt,he,Nr]),zo(function(){return Xt.tryAbandon},[Xt.tryAbandon]);var Qr=t(function(ji){return xs({lockAPI:Xt,registry:ze,store:he,draggableId:ji})},[Xt,ze,he]),Tr=t(function(ji,Oi,wa){return Gs({lockAPI:Xt,registry:ze,contextId:Y,store:he,draggableId:ji,forceSensorStop:Oi,sourceEvent:wa&&wa.sourceEvent?wa.sourceEvent:null})},[Y,Xt,ze,he]),Er=t(function(ji){return yl(Y,ji)},[Y]),Hr=t(function(ji){var Oi=ze.draggable.findById(ji);return Oi?Oi.options:null},[ze.draggable]),$r=t(function(){if(!Xt.isClaimed())return;Xt.tryAbandon(),he.getState().phase!=="IDLE"&&he.dispatch(Ln())},[Xt,he]),En=t(Xt.isClaimed,[Xt]),oi=i(function(){return{canGetLock:Qr,tryGetLock:Tr,findClosestDraggableId:Er,findOptionsForDraggable:Hr,tryReleaseLock:$r,isLockClaimed:En}},[Qr,Tr,Er,Hr,$r,En]);Go(Kt);for(var ci=0;ci<Kt.length;ci++)Kt[ci](oi)}var jl=function(Y){return{onBeforeCapture:Y.onBeforeCapture,onBeforeDragStart:Y.onBeforeDragStart,onDragStart:Y.onDragStart,onDragEnd:Y.onDragEnd,onDragUpdate:Y.onDragUpdate}};function $s(_e){return _e.current||ue(!1),_e.current}function Nl(_e){var Y=_e.contextId,he=_e.setCallbacks,ze=_e.sensors,at=_e.nonce,Rt=_e.dragHandleUsageInstructions,Kt=Object(v.useRef)(null);Xr();var Xt=dn(_e),Nr=t(function(){return jl(Xt.current)},[Xt]),Qr=Ao(Y),Tr=Wt({contextId:Y,text:Rt}),Er=Js(Y,at),Hr=t(function(I){$s(Kt).dispatch(I)},[]),$r=i(function(){return Object(g.b)({publishWhileDragging:Qt,updateDroppableScroll:Or,updateDroppableIsEnabled:Kr,updateDroppableIsCombineEnabled:mn,collectionStarting:gr},Hr)},[Hr]),En=ws(),oi=i(function(){return jn(En,$r)},[En,$r]),ci=i(function(){return za(Object(m.a)({scrollWindow:Bn,scrollDroppable:oi.scrollDroppable},Object(g.b)({move:mt},Hr)))},[oi.scrollDroppable,Hr]),ji=hs(Y),Oi=i(function(){return lr({announce:Qr,autoScroller:ci,dimensionMarshal:oi,focusMarshal:ji,getResponders:Nr,styleMarshal:Er})},[Qr,ci,oi,ji,Nr,Er]);Kt.current=Oi;var wa=t(function(){var I=$s(Kt),D=I.getState();D.phase!=="IDLE"&&I.dispatch(Ln())},[]),Qi=t(function(){var I=$s(Kt).getState();return I.isDragging||I.phase==="DROP_ANIMATING"},[]),Ua=i(function(){return{isDragging:Qi,tryAbort:wa}},[Qi,wa]);he(Ua);var Sa=t(function(I){return Hn($s(Kt).getState(),I)},[]),So=t(function(){return Ur($s(Kt).getState())},[]),Fo=i(function(){return{marshal:oi,focus:ji,contextId:Y,canLift:Sa,isMovementAllowed:So,dragHandleUsageInstructionsId:Tr,registry:En}},[Y,oi,Tr,ji,Sa,So,En]);return El({contextId:Y,store:Oi,registry:En,customSensors:ze,enableDefaultSensors:_e.enableDefaultSensors!==!1}),Object(v.useEffect)(function(){return wa},[wa]),p.a.createElement(cn.Provider,{value:Fo},p.a.createElement(f.a,{context:qo,store:Oi},_e.children))}var Pl=0;function yu(){Pl=0}function cu(){return i(function(){return""+Pl++},[])}function eu(){yu(),ts()}function tu(_e){var Y=cu(),he=_e.dragHandleUsageInstructions||Te.dragHandleUsageInstructions;return p.a.createElement(Le,null,function(ze){return p.a.createElement(Nl,{nonce:_e.nonce,contextId:Y,setCallbacks:ze,dragHandleUsageInstructions:he,enableDefaultSensors:_e.enableDefaultSensors,sensors:_e.sensors,onBeforeCapture:_e.onBeforeCapture,onBeforeDragStart:_e.onBeforeDragStart,onDragStart:_e.onDragStart,onDragUpdate:_e.onDragUpdate,onDragEnd:_e.onDragEnd},_e.children)})}var Vl=function(Y){return function(he){return Y===he}},Ys=Vl("scroll"),il=Vl("auto"),fl=Vl("visible"),kl=function(Y,he){return he(Y.overflowX)||he(Y.overflowY)},du=function(Y,he){return he(Y.overflowX)&&he(Y.overflowY)},ru=function(Y){var he=window.getComputedStyle(Y),ze={overflowX:he.overflowX,overflowY:he.overflowY};return kl(ze,Ys)||kl(ze,il)},nu=function(){return!1;var Y,he;if(!ru(Y))return!1;var ze,at;if(du(at,fl))return!1},Qs=function _e(Y){return Y==null?null:Y===document.body?nu()?Y:null:Y===document.documentElement?null:ru(Y)?Y:_e(Y.parentElement)},iu=function(Y){if(!Y)return;var he=Qs(Y.parentElement);if(!he)return},au=function(Y){return{x:Y.scrollLeft,y:Y.scrollTop}},bu=function _e(Y){if(!Y)return!1;var he=window.getComputedStyle(Y);return he.position==="fixed"?!0:_e(Y.parentElement)},bl=function(Y){var he=Qs(Y),ze=bu(Y);return{closestScrollable:he,isFixedOnPage:ze}},Fl=function(Y){var he=Y.descriptor,ze=Y.isEnabled,at=Y.isCombineEnabled,Rt=Y.isFixedOnPage,Kt=Y.direction,Xt=Y.client,Nr=Y.page,Qr=Y.closest,Tr=function(){if(!Qr)return null;var En=Qr.scrollSize,oi=Qr.client,ci=_n({scrollHeight:En.scrollHeight,scrollWidth:En.scrollWidth,height:oi.paddingBox.height,width:oi.paddingBox.width});return{pageMarginBox:Qr.page.marginBox,frameClient:oi,scrollSize:En,shouldClipSubject:Qr.shouldClipSubject,scroll:{initial:Qr.scroll,current:Qr.scroll,max:ci,diff:{value:Be,displacement:Be}}}}(),Er=Kt==="vertical"?Pn:jt,Hr=ke({page:Nr,withPlaceholder:null,axis:Er,frame:Tr}),$r={descriptor:he,isCombineEnabled:at,isFixedOnPage:Rt,axis:Er,isEnabled:ze,client:Xt,page:Nr,frame:Tr,subject:Hr};return $r},Hl=function(Y,he){var ze=O(Y);if(!he)return ze;if(Y!==he)return ze;var at=ze.paddingBox.top-he.scrollTop,Rt=ze.paddingBox.left-he.scrollLeft,Kt=at+he.scrollHeight,Xt=Rt+he.scrollWidth,Nr={top:at,right:Xt,bottom:Kt,left:Rt},Qr=l(Nr,ze.border),Tr=h({borderBox:Qr,margin:ze.margin,border:ze.border,padding:ze.padding});return Tr},Xl=function(Y){var he=Y.ref,ze=Y.descriptor,at=Y.env,Rt=Y.windowScroll,Kt=Y.direction,Xt=Y.isDropDisabled,Nr=Y.isCombineEnabled,Qr=Y.shouldClipSubject,Tr=at.closestScrollable,Er=Hl(he,Tr),Hr=b(Er,Rt),$r=function(){if(!Tr)return null;var oi=O(Tr),ci={scrollHeight:Tr.scrollHeight,scrollWidth:Tr.scrollWidth};return{client:oi,page:b(oi,Rt),scroll:au(Tr),scrollSize:ci,shouldClipSubject:Qr}}(),En=Fl({descriptor:ze,isEnabled:!Xt,isCombineEnabled:Nr,isFixedOnPage:at.isFixedOnPage,direction:Kt,client:Er,page:Hr,closest:$r});return En},Cl={passive:!1},Cu={passive:!0},Tu=function(Y){return Y.shouldPublishImmediately?Cl:Cu};function Tl(_e){var Y=Object(v.useContext)(_e);return Y||ue(!1),Y}var ou=function(Y){return Y&&Y.env.closestScrollable||null};function hu(_e){var Y=Object(v.useRef)(null),he=Tl(cn),ze=Ha("droppable"),at=he.registry,Rt=he.marshal,Kt=dn(_e),Xt=i(function(){return{id:_e.droppableId,type:_e.type,mode:_e.mode}},[_e.droppableId,_e.mode,_e.type]),Nr=Object(v.useRef)(Xt),Qr=i(function(){return L(function(Qi,Ua){Y.current||ue(!1);var Sa={x:Qi,y:Ua};Rt.updateDroppableScroll(Xt.id,Sa)})},[Xt.id,Rt]),Tr=t(function(){var Qi=Y.current;return!Qi||!Qi.env.closestScrollable?Be:au(Qi.env.closestScrollable)},[]),Er=t(function(){var Qi=Tr();Qr(Qi.x,Qi.y)},[Tr,Qr]),Hr=i(function(){return k(Er)},[Er]),$r=t(function(){var Qi=Y.current,Ua=ou(Qi);Qi&&Ua||ue(!1);var Sa=Qi.scrollOptions;if(Sa.shouldPublishImmediately){Er();return}Hr()},[Hr,Er]),En=t(function(Qi,Ua){Y.current&&ue(!1);var Sa=Kt.current,So=Sa.getDroppableRef();So||ue(!1);var Fo=bl(So),I={ref:So,descriptor:Xt,env:Fo,scrollOptions:Ua};Y.current=I;var D=Xl({ref:So,descriptor:Xt,env:Fo,windowScroll:Qi,direction:Sa.direction,isDropDisabled:Sa.isDropDisabled,isCombineEnabled:Sa.isCombineEnabled,shouldClipSubject:!Sa.ignoreContainerClipping}),X=Fo.closestScrollable;return X&&(X.setAttribute(Os.contextId,he.contextId),X.addEventListener("scroll",$r,Tu(I.scrollOptions))),D},[he.contextId,Xt,$r,Kt]),oi=t(function(){var Qi=Y.current,Ua=ou(Qi);return Qi&&Ua||ue(!1),au(Ua)},[]),ci=t(function(){var Qi=Y.current;Qi||ue(!1);var Ua=ou(Qi);if(Y.current=null,!Ua)return;Hr.cancel(),Ua.removeAttribute(Os.contextId),Ua.removeEventListener("scroll",$r,Tu(Qi.scrollOptions))},[$r,Hr]),ji=t(function(Qi){var Ua=Y.current;Ua||ue(!1);var Sa=ou(Ua);Sa||ue(!1),Sa.scrollTop+=Qi.y,Sa.scrollLeft+=Qi.x},[]),Oi=i(function(){return{getDimensionAndWatchScroll:En,getScrollWhileDragging:oi,dragStopped:ci,scroll:ji}},[ci,En,oi,ji]),wa=i(function(){return{uniqueId:ze,descriptor:Xt,callbacks:Oi}},[Oi,Xt,ze]);zo(function(){return Nr.current=wa.descriptor,at.droppable.register(wa),function(){Y.current&&ci(),at.droppable.unregister(wa)}},[Oi,Xt,ci,wa,Rt,at.droppable]),zo(function(){if(!Y.current)return;Rt.updateDroppableIsEnabled(Nr.current.id,!_e.isDropDisabled)},[_e.isDropDisabled,Rt]),zo(function(){if(!Y.current)return;Rt.updateDroppableIsCombineEnabled(Nr.current.id,_e.isCombineEnabled)},[_e.isCombineEnabled,Rt])}function su(){}var Rs={width:0,height:0,margin:Bt},el=function(Y){var he=Y.isAnimatingOpenOnMount,ze=Y.placeholder,at=Y.animate;return he||at==="close"?Rs:{height:ze.client.borderBox.height,width:ze.client.borderBox.width,margin:ze.client.margin}},Bl=function(Y){var he=Y.isAnimatingOpenOnMount,ze=Y.placeholder,at=Y.animate,Rt=el({isAnimatingOpenOnMount:he,placeholder:ze,animate:at});return{display:ze.display,boxSizing:"border-box",width:Rt.width,height:Rt.height,marginTop:Rt.margin.top,marginRight:Rt.margin.right,marginBottom:Rt.margin.bottom,marginLeft:Rt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:at!=="none"?Di.placeholder:null}};function wu(_e){var Y=Object(v.useRef)(null),he=t(function(){if(!Y.current)return;clearTimeout(Y.current),Y.current=null},[]),ze=_e.animate,at=_e.onTransitionEnd,Rt=_e.onClose,Kt=_e.contextId,Xt=Object(v.useState)(_e.animate==="open"),Nr=Xt[0],Qr=Xt[1];Object(v.useEffect)(function(){return Nr?ze!=="open"?(he(),Qr(!1),su):Y.current?su:(Y.current=setTimeout(function(){Y.current=null,Qr(!1)}),he):su},[ze,Nr,he]);var Tr=t(function(Hr){if(Hr.propertyName!=="height")return;at(),ze==="close"&&Rt()},[ze,Rt,at]),Er=Bl({isAnimatingOpenOnMount:Nr,animate:_e.animate,placeholder:_e.placeholder});return p.a.createElement(_e.placeholder.tagName,{style:Er,"data-rbd-placeholder-context-id":Kt,onTransitionEnd:Tr,ref:_e.innerRef})}var fu=p.a.memo(wu),Gl=p.a.createContext(null);function Kl(_e){_e&&gs(_e)||ue(!1)}function lu(_e){return typeof _e=="boolean"}function pu(_e,Y){Y.forEach(function(he){return he(_e)})}var mu=[function(Y){var he=Y.props;he.droppableId||ue(!1),typeof he.droppableId=="string"||ue(!1)},function(Y){var he=Y.props;lu(he.isDropDisabled)||ue(!1),lu(he.isCombineEnabled)||ue(!1),lu(he.ignoreContainerClipping)||ue(!1)},function(Y){var he=Y.getDroppableRef;Kl(he())}],pl=[function(Y){var he=Y.props,ze=Y.getPlaceholderRef;if(!he.placeholder)return;var at=ze();if(at)return}],wl=[function(Y){var he=Y.props;he.renderClone||ue(!1)},function(Y){var he=Y.getPlaceholderRef;he()&&ue(!1)}];function Dl(_e){Dr(function(){pu(_e,mu),_e.props.mode==="standard"&&pu(_e,pl),_e.props.mode==="virtual"&&pu(_e,wl)})}var Bo=function(_e){Object(S.a)(Y,_e);function Y(){for(var ze,at=arguments.length,Rt=new Array(at),Kt=0;Kt<at;Kt++)Rt[Kt]=arguments[Kt];return ze=_e.call.apply(_e,[this].concat(Rt))||this,ze.state={isVisible:Boolean(ze.props.on),data:ze.props.on,animate:ze.props.shouldAnimate&&ze.props.on?"open":"none"},ze.onClose=function(){if(ze.state.animate!=="close")return;ze.setState({isVisible:!1})},ze}Y.getDerivedStateFromProps=function(at,Rt){return at.shouldAnimate?at.on?{isVisible:!0,data:at.on,animate:"open"}:Rt.isVisible?{isVisible:!0,data:Rt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(at.on),data:at.on,animate:"none"}};var he=Y.prototype;return he.render=function(){if(!this.state.isVisible)return null;var at={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(at)},Y}(p.a.PureComponent),Na={dragging:5e3,dropAnimating:4500},ro=function(Y,he){return he?Di.drop(he.duration):Y?Di.snap:Di.fluid},Io=function(Y,he){return Y?he?Ci.opacity.drop:Ci.opacity.combining:null},Bs=function(Y){return Y.forceShouldAnimate!=null?Y.forceShouldAnimate:Y.mode==="SNAP"};function Ol(_e){var Y=_e.dimension,he=Y.client,ze=_e.offset,at=_e.combineWith,Rt=_e.dropping,Kt=Boolean(at),Xt=Bs(_e),Nr=Boolean(Rt),Qr=Nr?aa.drop(ze,Kt):aa.moveTo(ze),Tr={position:"fixed",top:he.marginBox.top,left:he.marginBox.left,boxSizing:"border-box",width:he.borderBox.width,height:he.borderBox.height,transition:ro(Xt,Rt),transform:Qr,opacity:Io(Kt,Nr),zIndex:Nr?Na.dropAnimating:Na.dragging,pointerEvents:"none"};return Tr}function _l(_e){return{transform:aa.moveTo(_e.offset),transition:_e.shouldAnimateDisplacement?null:"none"}}function ml(_e){return _e.type==="DRAGGING"?Ol(_e):_l(_e)}function vl(_e,Y,he){he===void 0&&(he=Be);var ze=window.getComputedStyle(Y),at=Y.getBoundingClientRect(),Rt=x(at,ze),Kt=b(Rt,he),Xt={client:Rt,tagName:Y.tagName.toLowerCase(),display:ze.display},Nr={x:Rt.marginBox.width,y:Rt.marginBox.height},Qr={descriptor:_e,placeholder:Xt,displaceBy:Nr,client:Rt,page:Kt};return Qr}function Il(_e){var Y=Ha("draggable"),he=_e.descriptor,ze=_e.registry,at=_e.getDraggableRef,Rt=_e.canDragInteractiveElements,Kt=_e.shouldRespectForcePress,Xt=_e.isEnabled,Nr=i(function(){return{canDragInteractiveElements:Rt,shouldRespectForcePress:Kt,isEnabled:Xt}},[Rt,Xt,Kt]),Qr=t(function($r){var En=at();return En||ue(!1),vl(he,En,$r)},[he,at]),Tr=i(function(){return{uniqueId:Y,descriptor:he,options:Nr,getDimension:Qr}},[he,Qr,Nr,Y]),Er=Object(v.useRef)(Tr),Hr=Object(v.useRef)(!0);zo(function(){return ze.draggable.register(Er.current),function(){return ze.draggable.unregister(Er.current)}},[ze.draggable]),zo(function(){if(Hr.current){Hr.current=!1;return}var $r=Er.current;Er.current=Tr,ze.draggable.update(Tr,$r)},[Tr,ze.draggable])}function Ll(_e,Y,he){Dr(function(){function ze(Rt){return"Draggable[id: "+Rt+"]: "}var at=_e.draggableId;if(at||ue(!1),typeof at=="string"||ue(!1),Q(_e.index)||ue(!1),_e.mapped.type==="DRAGGING")return;Kl(he()),_e.isEnabled&&(Ko(Y,at)||ue(!1))})}function Ks(_e){zt(function(){var Y=Object(v.useRef)(_e);Dr(function(){_e===Y.current||ue(!1)},[_e])})}function Yl(_e){_e.preventDefault()}function gu(_e){var Y=Object(v.useRef)(null),he=t(function(I){Y.current=I},[]),ze=t(function(){return Y.current},[]),at=Tl(cn),Rt=at.contextId,Kt=at.dragHandleUsageInstructionsId,Xt=at.registry,Nr=Tl(Gl),Qr=Nr.type,Tr=Nr.droppableId,Er=i(function(){return{id:_e.draggableId,index:_e.index,type:Qr,droppableId:Tr}},[_e.draggableId,_e.index,Qr,Tr]),Hr=_e.children,$r=_e.draggableId,En=_e.isEnabled,oi=_e.shouldRespectForcePress,ci=_e.canDragInteractiveElements,ji=_e.isClone,Oi=_e.mapped,wa=_e.dropAnimationFinished;if(Ll(_e,Rt,ze),Ks(ji),!ji){var Qi=i(function(){return{descriptor:Er,registry:Xt,getDraggableRef:ze,canDragInteractiveElements:ci,shouldRespectForcePress:oi,isEnabled:En}},[Er,Xt,ze,ci,oi,En]);Il(Qi)}var Ua=i(function(){return En?{tabIndex:0,role:"button","aria-describedby":Kt,"data-rbd-drag-handle-draggable-id":$r,"data-rbd-drag-handle-context-id":Rt,draggable:!1,onDragStart:Yl}:null},[Rt,Kt,$r,En]),Sa=t(function(I){if(Oi.type!=="DRAGGING")return;if(!Oi.dropping)return;if(I.propertyName!=="transform")return;wa()},[wa,Oi]),So=i(function(){var I=ml(Oi),D=Oi.type==="DRAGGING"&&Oi.dropping?Sa:null,X={innerRef:he,draggableProps:{"data-rbd-draggable-context-id":Rt,"data-rbd-draggable-id":$r,style:I,onTransitionEnd:D},dragHandleProps:Ua};return X},[Rt,Ua,$r,Oi,Sa,he]),Fo=i(function(){return{draggableId:Er.id,type:Er.type,source:{index:Er.index,droppableId:Er.droppableId}}},[Er.droppableId,Er.id,Er.index,Er.type]);return Hr(So,Oi.snapshot,Fo)}var uu=function(Y,he){return Y===he},Ou=function(Y){var he=Y.combine,ze=Y.destination;return ze?ze.droppableId:he?he.droppableId:null},Vu=function(Y){return Y.combine?Y.combine.draggableId:null},Fu=function(Y){return Y.at&&Y.at.type==="COMBINE"?Y.at.combine.draggableId:null};function ec(){var _e=L(function(at,Rt){return{x:at,y:Rt}}),Y=L(function(at,Rt,Kt,Xt,Nr){return{isDragging:!0,isClone:Rt,isDropAnimating:Boolean(Nr),dropAnimation:Nr,mode:at,draggingOver:Kt,combineWith:Xt,combineTargetFor:null}}),he=L(function(at,Rt,Kt,Xt,Nr,Qr,Tr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Nr,combineWith:Qr,mode:Rt,offset:at,dimension:Kt,forceShouldAnimate:Tr,snapshot:Y(Rt,Xt,Nr,Qr,null)}}}),ze=function(Rt,Kt){if(Rt.isDragging){if(Rt.critical.draggable.id!==Kt.draggableId)return null;var Xt=Rt.current.client.offset,Nr=Rt.dimensions.draggables[Kt.draggableId],Qr=Xn(Rt.impact),Tr=Fu(Rt.impact),Er=Rt.forceShouldAnimate;return he(_e(Xt.x,Xt.y),Rt.movementMode,Nr,Kt.isClone,Qr,Tr,Er)}if(Rt.phase==="DROP_ANIMATING"){var Hr=Rt.completed;if(Hr.result.draggableId!==Kt.draggableId)return null;var $r=Kt.isClone,En=Rt.dimensions.draggables[Kt.draggableId],oi=Hr.result,ci=oi.mode,ji=Ou(oi),Oi=Vu(oi),wa=Rt.dropDuration,Qi={duration:wa,curve:Ai.drop,moveTo:Rt.newHomeClientOffset,opacity:Oi?Ci.opacity.drop:null,scale:Oi?Ci.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Rt.newHomeClientOffset,dimension:En,dropping:Qi,draggingOver:ji,combineWith:Oi,mode:ci,forceShouldAnimate:null,snapshot:Y(ci,$r,ji,Oi,Qi)}}}return null};return ze}function Bu(_e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:_e,combineWith:null}}var Xu={mapped:{type:"SECONDARY",offset:Be,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Bu(null)}};function Gu(){var _e=L(function(Kt,Xt){return{x:Kt,y:Xt}}),Y=L(Bu),he=L(function(Kt,Xt,Nr){return Xt===void 0&&(Xt=null),{mapped:{type:"SECONDARY",offset:Kt,combineTargetFor:Xt,shouldAnimateDisplacement:Nr,snapshot:Y(Xt)}}}),ze=function(Xt){return Xt?he(Be,Xt,!0):null},at=function(Xt,Nr,Qr,Tr){var Er=Qr.displaced.visible[Xt],Hr=Boolean(Tr.inVirtualList&&Tr.effected[Xt]),$r=xr(Qr),En=$r&&$r.draggableId===Xt?Nr:null;if(!Er){if(!Hr)return ze(En);if(Qr.displaced.invisible[Xt])return null;var oi=Oe(Tr.displacedBy.point),ci=_e(oi.x,oi.y);return he(ci,En,!0)}if(Hr)return ze(En);var ji=Qr.displacedBy.point,Oi=_e(ji.x,ji.y);return he(Oi,En,Er.shouldAnimate)},Rt=function(Xt,Nr){if(Xt.isDragging)return Xt.critical.draggable.id===Nr.draggableId?null:at(Nr.draggableId,Xt.critical.draggable.id,Xt.impact,Xt.afterCritical);if(Xt.phase==="DROP_ANIMATING"){var Qr=Xt.completed;return Qr.result.draggableId===Nr.draggableId?null:at(Nr.draggableId,Qr.result.draggableId,Qr.impact,Qr.afterCritical)}return null};return Rt}var Yu=function(){var Y=ec(),he=Gu(),ze=function(Rt,Kt){return Y(Rt,Kt)||he(Rt,Kt)||Xu};return ze},Uu={dropAnimationFinished:pi},_u=Object(f.c)(Yu,Uu,null,{context:qo,pure:!0,areStatePropsEqual:uu})(gu);function Ul(_e){var Y=Tl(Gl),he=Y.isUsingCloneFor;return he===_e.draggableId&&!_e.isClone?null:p.a.createElement(_u,_e)}function Iu(_e){var Y=typeof _e.isDragDisabled=="boolean"?!_e.isDragDisabled:!0,he=Boolean(_e.disableInteractiveElementBlocking),ze=Boolean(_e.shouldRespectForcePress);return p.a.createElement(Ul,Object(m.a)({},_e,{isClone:!1,isEnabled:Y,canDragInteractiveElements:he,shouldRespectForcePress:ze}))}function Wl(_e){var Y=Object(v.useContext)(cn);Y||ue(!1);var he=Y.contextId,ze=Y.isMovementAllowed,at=Object(v.useRef)(null),Rt=Object(v.useRef)(null),Kt=_e.children,Xt=_e.droppableId,Nr=_e.type,Qr=_e.mode,Tr=_e.direction,Er=_e.ignoreContainerClipping,Hr=_e.isDropDisabled,$r=_e.isCombineEnabled,En=_e.snapshot,oi=_e.useClone,ci=_e.updateViewportMaxScroll,ji=_e.getContainerForClone,Oi=t(function(){return at.current},[]),wa=t(function(J){at.current=J},[]),Qi=t(function(){return Rt.current},[]),Ua=t(function(J){Rt.current=J},[]);Dl({props:_e,getDroppableRef:Oi,getPlaceholderRef:Qi});var Sa=t(function(){ze()&&ci({maxScroll:_r()})},[ze,ci]);hu({droppableId:Xt,type:Nr,mode:Qr,direction:Tr,isDropDisabled:Hr,isCombineEnabled:$r,ignoreContainerClipping:Er,getDroppableRef:Oi});var So=p.a.createElement(Bo,{on:_e.placeholder,shouldAnimate:_e.shouldAnimatePlaceholder},function(J){var ne=J.onClose,Pe=J.data,ct=J.animate;return p.a.createElement(fu,{placeholder:Pe,onClose:ne,innerRef:Ua,animate:ct,contextId:he,onTransitionEnd:Sa})}),Fo=i(function(){return{innerRef:wa,placeholder:So,droppableProps:{"data-rbd-droppable-id":Xt,"data-rbd-droppable-context-id":he}}},[he,Xt,So,wa]),I=oi?oi.dragging.draggableId:null,D=i(function(){return{droppableId:Xt,type:Nr,isUsingCloneFor:I}},[Xt,I,Nr]);function X(){if(!oi)return null;var J=oi.dragging,ne=oi.render,Pe=p.a.createElement(Ul,{draggableId:J.draggableId,index:J.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ct,Ht){return ne(ct,Ht,J)});return j.a.createPortal(Pe,ji())}return p.a.createElement(Gl.Provider,{value:D},Kt(Fo,En),X())}var Su=function(Y,he){return Y===he.droppable.type},de=function(Y,he){return he.draggables[Y.draggable.id]},He=function(){var Y={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},he=Object(m.a)({},Y,{shouldAnimatePlaceholder:!1}),ze=L(function(Kt){return{draggableId:Kt.id,type:Kt.type,source:{index:Kt.index,droppableId:Kt.droppableId}}}),at=L(function(Kt,Xt,Nr,Qr,Tr,Er){var Hr=Tr.descriptor.id,$r=Tr.descriptor.droppableId===Kt;if($r){var En=Er?{render:Er,dragging:ze(Tr.descriptor)}:null,oi={isDraggingOver:Nr,draggingOverWith:Nr?Hr:null,draggingFromThisWith:Hr,isUsingPlaceholder:!0};return{placeholder:Tr.placeholder,shouldAnimatePlaceholder:!1,snapshot:oi,useClone:En}}if(!Xt)return he;if(!Qr)return Y;var ci={isDraggingOver:Nr,draggingOverWith:Hr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Tr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ci,useClone:null}}),Rt=function(Xt,Nr){var Qr=Nr.droppableId,Tr=Nr.type,Er=!Nr.isDropDisabled,Hr=Nr.renderClone;if(Xt.isDragging){var $r=Xt.critical;if(!Su(Tr,$r))return he;var En=de($r,Xt.dimensions),oi=Xn(Xt.impact)===Qr;return at(Qr,Er,oi,oi,En,Hr)}if(Xt.phase==="DROP_ANIMATING"){var ci=Xt.completed;if(!Su(Tr,ci.critical))return he;var ji=de(ci.critical,Xt.dimensions);return at(Qr,Er,Ou(ci.result)===Qr,Xn(ci.impact)===Qr,ji,Hr)}if(Xt.phase==="IDLE"&&Xt.completed&&!Xt.shouldFlush){var Oi=Xt.completed;if(!Su(Tr,Oi.critical))return he;var wa=Xn(Oi.impact)===Qr,Qi=Boolean(Oi.impact.at&&Oi.impact.at.type==="COMBINE"),Ua=Oi.critical.droppable.id===Qr;return wa?Qi?Y:he:Ua?Y:he}return he};return Rt},ut={updateViewportMaxScroll:pr};function tr(){return document.body||ue(!1),document.body}var Cr={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:tr},Wr=Object(f.c)(He,ut,null,{context:qo,pure:!0,areStatePropsEqual:uu})(Wl);Wr.defaultProps=Cr},ni6a:function(M,N,n){var v=n("pzxd"),p=n("mFDi"),S=n("gut8"),m=S.WILL_BE_RESTORED,g=new p,f=function(){};f.prototype={constructor:f,drawRectText:function(o,i){var t=this.style;i=t.textRect||i,this.__dirty&&v.normalizeTextStyle(t,!0);var a=t.text;if(a!=null&&(a+=""),!v.needDrawText(a,t))return;o.save();var e=this.transform;t.transformText?this.setTransform(o):e&&(g.copy(i),g.applyTransform(e),i=g),v.renderText(this,o,a,t,i,m),o.restore()}};var d=f;M.exports=d},nkfE:function(M,N,n){var v=n("bYtY"),p=n("ca2m"),S=n("bLfw"),m=n("+TT/"),g=m.getLayoutParams,f=m.mergeLayoutParam,d=n("jkPA"),c=["value","category","time","log"];function o(i,t,a,e){v.each(c,function(l){t.extend({type:i+"Axis."+l,mergeDefaultAndTheme:function(r,s){var u=this.layoutMode,h=u?g(r):{},A=s.getTheme();v.merge(r,A.get(l+"Axis")),v.merge(r,this.getDefaultOption()),r.type=a(i,r),u&&f(r,h,u)},optionUpdated:function(){var r=this.option;r.type==="category"&&(this.__ordinalMeta=d.createByAxisModel(this))},getCategories:function(r){var s=this.option;if(s.type==="category")return r?s.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:v.mergeAll([{},p[l+"Axis"],e],!0)})}),S.registerSubTypeDefaulter(i+"Axis",v.curry(a,i))}M.exports=o},noeP:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("UOVi");v.registerAction("dataZoom",function(m,g){var f=S.createLinkedNodesFinder(p.bind(g.eachComponent,g,"dataZoom"),S.eachAxisDim,function(c,o){return c.get(o.axisIndex)}),d=[];g.eachComponent({mainType:"dataZoom",query:m},function(c,o){d.push.apply(d,f(c).nodes)}),p.each(d,function(c,o){c.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},"o/2+":function(M,N,n){"use strict";var v=n("q1tI"),p=n.n(v),S=Object(v.createContext)({});N.a=S},o40c:function(M,N,n){var v=n("IwbS"),p=n("OS9S"),S=n("loD1"),m=n("aKvl"),g=v.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(o,i){var t=i.segs,a=i.curveness;if(i.polyline)for(var e=0;e<t.length;){var l=t[e++];if(l>0){o.moveTo(t[e++],t[e++]);for(var r=1;r<l;r++)o.lineTo(t[e++],t[e++])}}else for(var e=0;e<t.length;){var s=t[e++],u=t[e++],h=t[e++],A=t[e++];if(o.moveTo(s,u),a>0){var y=(s+h)/2-(u-A)*a,w=(u+A)/2-(h-s)*a;o.quadraticCurveTo(y,w,h,A)}else o.lineTo(h,A)}},findDataIndex:function(o,i){var t=this.shape,a=t.segs,e=t.curveness;if(t.polyline)for(var l=0,r=0;r<a.length;){var s=a[r++];if(s>0)for(var u=a[r++],h=a[r++],A=1;A<s;A++){var y=a[r++],w=a[r++];if(S.containStroke(u,h,y,w))return l}l++}else for(var l=0,r=0;r<a.length;){var u=a[r++],h=a[r++],y=a[r++],w=a[r++];if(e>0){var b=(u+y)/2-(h-w)*e,x=(h+w)/2-(y-u)*e;if(m.containStroke(u,h,b,x,y,w))return l}else if(S.containStroke(u,h,y,w))return l;l++}return-1}});function f(){this.group=new v.Group}var d=f.prototype;d.isPersistent=function(){return!this._incremental},d.updateData=function(o){this.group.removeAll();var i=new g({rectHover:!0,cursor:"default"});i.setShape({segs:o.getLayout("linesPoints")}),this._setCommon(i,o),this.group.add(i),this._incremental=null},d.incrementalPrepareUpdate=function(o){this.group.removeAll(),this._clearIncremental(),o.count()>5e5?(this._incremental||(this._incremental=new p({silent:!0})),this.group.add(this._incremental)):this._incremental=null},d.incrementalUpdate=function(o,i){var t=new g;t.setShape({segs:i.getLayout("linesPoints")}),this._setCommon(t,i,!!this._incremental),this._incremental?this._incremental.addDisplayable(t,!0):(t.rectHover=!0,t.cursor="default",t.__startIndex=o.start,this.group.add(t))},d.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},d._setCommon=function(o,i,t){var a=i.hostModel;o.setShape({polyline:a.get("polyline"),curveness:a.get("lineStyle.curveness")}),o.useStyle(a.getModel("lineStyle").getLineStyle()),o.style.strokeNoScale=!0;var e=i.getVisual("color");e&&o.setStyle("stroke",e),o.setStyle("fill"),t||(o.seriesIndex=a.seriesIndex,o.on("mousemove",function(l){o.dataIndex=null;var r=o.findDataIndex(l.offsetX,l.offsetY);r>0&&(o.dataIndex=r+o.__startIndex)}))},d._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};var c=f;M.exports=c},oBaM:function(M,N,n){var v=n("T4UG"),p=n("5GtS"),S=n("bYtY"),m=n("7aKB"),g=m.encodeHTML,f=n("xKMd"),d=v.extend({type:"series.radar",dependencies:["radar"],init:function(o){d.superApply(this,"init",arguments),this.legendVisualProvider=new f(S.bind(this.getData,this),S.bind(this.getRawData,this))},getInitialData:function(o,i){return p(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(o){var i=this.getData(),t=this.coordinateSystem,a=t.getIndicatorAxes(),e=this.getData().getName(o);return g(e===""?this.name:e)+"<br/>"+S.map(a,function(l,r){var s=i.get(i.mapDimension(l.dim),o);return g(l.name+" : "+s)}).join("<br />")},getTooltipPosition:function(o){if(o!=null){for(var i=this.getData(),t=this.coordinateSystem,a=i.getValues(S.map(t.dimensions,function(s){return i.mapDimension(s)}),o,!0),e=0,l=a.length;e<l;e++)if(!isNaN(a[e])){var r=t.getIndicatorAxes();return t.coordToPoint(r[e].dataToCoord(a[e]),e)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),c=d;M.exports=c},oE7X:function(M,N,n){var v=n("bLfw");v.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(M,N,n){},oVpE:function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("mFDi"),m=n("6GrX"),g=m.calculateTextPosition,f=p.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var h=u.cx,A=u.cy,y=u.width/2,w=u.height/2;s.moveTo(h,A-w),s.lineTo(h+y,A+w),s.lineTo(h-y,A+w),s.closePath()}}),d=p.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var h=u.cx,A=u.cy,y=u.width/2,w=u.height/2;s.moveTo(h,A-w),s.lineTo(h+y,A),s.lineTo(h,A+w),s.lineTo(h-y,A),s.closePath()}}),c=p.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var h=u.x,A=u.y,y=u.width/5*3,w=Math.max(y,u.height),b=y/2,x=b*b/(w-b),O=A-w+b+x,T=Math.asin(x/b),E=Math.cos(T)*b,C=Math.sin(T),_=Math.cos(T),L=b*.6,P=b*.7;s.moveTo(h-E,O+x),s.arc(h,O,b,Math.PI-T,Math.PI*2+T),s.bezierCurveTo(h+E-C*L,O+x+_*L,h,A-P,h,A),s.bezierCurveTo(h,A-P,h-E+C*L,O+x+_*L,h-E,O+x),s.closePath()}}),o=p.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var h=u.height,A=u.width,y=u.x,w=u.y,b=A/3*2;s.moveTo(y,w),s.lineTo(y+b,w+h),s.lineTo(y,w+h/4*3),s.lineTo(y-b,w+h),s.lineTo(y,w),s.closePath()}}),i={line:p.Line,rect:p.Rect,roundRect:p.Rect,square:p.Rect,circle:p.Circle,diamond:d,pin:c,arrow:o,triangle:f},t={line:function(s,u,h,A,y){y.x1=s,y.y1=u+A/2,y.x2=s+h,y.y2=u+A/2},rect:function(s,u,h,A,y){y.x=s,y.y=u,y.width=h,y.height=A},roundRect:function(s,u,h,A,y){y.x=s,y.y=u,y.width=h,y.height=A,y.r=Math.min(h,A)/4},square:function(s,u,h,A,y){var w=Math.min(h,A);y.x=s,y.y=u,y.width=w,y.height=w},circle:function(s,u,h,A,y){y.cx=s+h/2,y.cy=u+A/2,y.r=Math.min(h,A)/2},diamond:function(s,u,h,A,y){y.cx=s+h/2,y.cy=u+A/2,y.width=h,y.height=A},pin:function(s,u,h,A,y){y.x=s+h/2,y.y=u+A/2,y.width=h,y.height=A},arrow:function(s,u,h,A,y){y.x=s+h/2,y.y=u+A/2,y.width=h,y.height=A},triangle:function(s,u,h,A,y){y.cx=s+h/2,y.cy=u+A/2,y.width=h,y.height=A}},a={};v.each(i,function(s,u){a[u]=new s});var e=p.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,u,h){var A=g(s,u,h),y=this.shape;return y&&y.symbolType==="pin"&&u.textPosition==="inside"&&(A.y=h.y+h.height*.4),A},buildPath:function(s,u,h){var A=u.symbolType;if(A!=="none"){var y=a[A];y||(A="rect",y=a[A]),t[A](u.x,u.y,u.width,u.height,y.shape),y.buildPath(s,y.shape,h)}}});function l(s,u){if(this.type!=="image"){var h=this.style,A=this.shape;A&&A.symbolType==="line"?h.stroke=s:this.__isEmptyBrush?(h.stroke=s,h.fill=u||"#fff"):(h.fill&&(h.fill=s),h.stroke&&(h.stroke=s)),this.dirty(!1)}}function r(s,u,h,A,y,w,b){var x=s.indexOf("empty")===0;x&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var O;return s.indexOf("image://")===0?O=p.makeImage(s.slice(8),new S(u,h,A,y),b?"center":"cover"):s.indexOf("path://")===0?O=p.makePath(s.slice(7),{},new S(u,h,A,y),b?"center":"cover"):O=new e({shape:{symbolType:s,x:u,y:h,width:A,height:y}}),O.__isEmptyBrush=x,O.setColor=l,O.setColor(w),O}N.createSymbol=r},oY9F:function(M,N,n){var v=n("OlYY"),p=v.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});M.exports=p},osHv:function(M,N,n){(function(v){v(n("VrN/"))})(function(v){"use strict";var p=v.Pos;function S(u,h){return u.line-h.line||u.ch-h.ch}var m="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",g=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",f=new RegExp("<(/?)(["+m+"]["+g+"]*)","g");function d(u,h,A,y){this.line=h,this.ch=A,this.cm=u,this.text=u.getLine(h),this.min=y?Math.max(y.from,u.firstLine()):u.firstLine(),this.max=y?Math.min(y.to-1,u.lastLine()):u.lastLine()}function c(u,h){var A=u.cm.getTokenTypeAt(p(u.line,h));return A&&/\btag\b/.test(A)}function o(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function i(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function t(u){for(;;){var h=u.text.indexOf(">",u.ch);if(h==-1){if(o(u))continue;return}if(!c(u,h+1)){u.ch=h+1;continue}var A=u.text.lastIndexOf("/",h),y=A>-1&&!/\S/.test(u.text.slice(A+1,h));return u.ch=h+1,y?"selfClose":"regular"}}function a(u){for(;;){var h=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(h==-1){if(i(u))continue;return}if(!c(u,h+1)){u.ch=h;continue}f.lastIndex=h,u.ch=h;var A=f.exec(u.text);if(A&&A.index==h)return A}}function e(u){for(;;){f.lastIndex=u.ch;var h=f.exec(u.text);if(!h){if(o(u))continue;return}if(!c(u,h.index+1)){u.ch=h.index+1;continue}return u.ch=h.index+h[0].length,h}}function l(u){for(;;){var h=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(h==-1){if(i(u))continue;return}if(!c(u,h+1)){u.ch=h;continue}var A=u.text.lastIndexOf("/",h),y=A>-1&&!/\S/.test(u.text.slice(A+1,h));return u.ch=h+1,y?"selfClose":"regular"}}function r(u,h){for(var A=[];;){var y=e(u),w,b=u.line,x=u.ch-(y?y[0].length:0);if(!y||!(w=t(u)))return;if(w=="selfClose")continue;if(y[1]){for(var O=A.length-1;O>=0;--O)if(A[O]==y[2]){A.length=O;break}if(O<0&&(!h||h==y[2]))return{tag:y[2],from:p(b,x),to:p(u.line,u.ch)}}else A.push(y[2])}}function s(u,h){for(var A=[];;){var y=l(u);if(!y)return;if(y=="selfClose"){a(u);continue}var w=u.line,b=u.ch,x=a(u);if(!x)return;if(x[1])A.push(x[2]);else{for(var O=A.length-1;O>=0;--O)if(A[O]==x[2]){A.length=O;break}if(O<0&&(!h||h==x[2]))return{tag:x[2],from:p(u.line,u.ch),to:p(w,b)}}}}v.registerHelper("fold","xml",function(u,h){for(var A=new d(u,h.line,0);;){var y=e(A);if(!y||A.line!=h.line)return;var w=t(A);if(!w)return;if(!y[1]&&w!="selfClose"){var b=p(A.line,A.ch),x=r(A,y[2]);return x&&S(x.from,b)>0?{from:b,to:x.from}:null}}}),v.findMatchingTag=function(u,h,A){var y=new d(u,h.line,h.ch,A);if(y.text.indexOf(">")==-1&&y.text.indexOf("<")==-1)return;var w=t(y),b=w&&p(y.line,y.ch),x=w&&a(y);if(!w||!x||S(y,h)>0)return;var O={from:p(y.line,y.ch),to:b,tag:x[2]};return w=="selfClose"?{open:O,close:null,at:"open"}:x[1]?{open:s(y,x[2]),close:O,at:"close"}:(y=new d(u,b.line,b.ch,A),{open:O,close:r(y,x[2]),at:"open"})},v.findEnclosingTag=function(u,h,A,y){for(var w=new d(u,h.line,h.ch,A);;){var b=s(w,y);if(!b)break;var x=new d(u,h.line,h.ch,A),O=r(x,b.tag);if(O)return{open:b,close:O}}},v.scanForClosingTag=function(u,h,A,y){var w=new d(u,h.line,h.ch,y?{from:0,to:y}:null);return r(w,A)}})},ozfa:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("KxFI"),m=n.n(S)},"p+If":function(M,N,n){var v=n("ProS");n("cpOr"),n("rkZ5");var p=n("ZYIC"),S=n("7ph2");v.registerLayout(p),v.registerVisual(S)},"p/La":function(M,N){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function v(p,S){p==="china"&&S.name==="\u53F0\u6E7E"&&S.geometries.push({type:"polygon",exterior:n[0]})}M.exports=v},p1MT:function(M,N,n){var v=n("Hw7h"),p=n("IwbS"),S=n("6Ic6"),m=n("OELB"),g=m.parsePercent,f=m.round,d=m.linearMap;function c(e,l){var r=e.get("center"),s=l.getWidth(),u=l.getHeight(),h=Math.min(s,u),A=g(r[0],l.getWidth()),y=g(r[1],l.getHeight()),w=g(e.get("radius"),h/2);return{cx:A,cy:y,r:w}}function o(e,l){return l&&(typeof l=="string"?e=l.replace("{value}",e!=null?e:""):typeof l=="function"&&(e=l(e))),e}var i=Math.PI*2,t=S.extend({type:"gauge",render:function(e,l,r){this.group.removeAll();var s=e.get("axisLine.lineStyle.color"),u=c(e,r);this._renderMain(e,l,r,s,u)},dispose:function(){},_renderMain:function(e,l,r,s,u){for(var h=this.group,A=e.getModel("axisLine"),y=A.getModel("lineStyle"),w=e.get("clockwise"),b=-e.get("startAngle")/180*Math.PI,x=-e.get("endAngle")/180*Math.PI,O=(x-b)%i,T=b,E=y.get("width"),C=A.get("show"),_=0;C&&_<s.length;_++){var L=Math.min(Math.max(s[_][0],0),1),x=b+O*L,P=new p.Sector({shape:{startAngle:T,endAngle:x,cx:u.cx,cy:u.cy,clockwise:w,r0:u.r-E,r:u.r},silent:!0});P.setStyle({fill:s[_][1]}),P.setStyle(y.getLineStyle(["color","borderWidth","borderColor"])),h.add(P),T=x}var k=function(j){if(j<=0)return s[0][1];for(var z=0;z<s.length;z++)if(s[z][0]>=j&&(z===0?0:s[z-1][0])<j)return s[z][1];return s[z-1][1]};if(!w){var F=b;b=x,x=F}this._renderTicks(e,l,r,k,u,b,x,w),this._renderPointer(e,l,r,k,u,b,x,w),this._renderTitle(e,l,r,k,u),this._renderDetail(e,l,r,k,u)},_renderTicks:function(e,l,r,s,u,h,A,y){for(var w=this.group,b=u.cx,x=u.cy,O=u.r,T=+e.get("min"),E=+e.get("max"),C=e.getModel("splitLine"),_=e.getModel("axisTick"),L=e.getModel("axisLabel"),P=e.get("splitNumber"),k=_.get("splitNumber"),F=g(C.get("length"),O),j=g(_.get("length"),O),z=h,R=(A-h)/P,U=R/k,B=C.getModel("lineStyle").getLineStyle(),H=_.getModel("lineStyle").getLineStyle(),K=0;K<=P;K++){var V=Math.cos(z),W=Math.sin(z);if(C.get("show")){var G=new p.Line({shape:{x1:V*O+b,y1:W*O+x,x2:V*(O-F)+b,y2:W*(O-F)+x},style:B,silent:!0});B.stroke==="auto"&&G.setStyle({stroke:s(K/P)}),w.add(G)}if(L.get("show")){var re=o(f(K/P*(E-T)+T),L.get("formatter")),ye=L.get("distance"),$=s(K/P);w.add(new p.Text({style:p.setTextStyle({},L,{text:re,x:V*(O-F-ye)+b,y:W*(O-F-ye)+x,textVerticalAlign:W<-.4?"top":W>.4?"bottom":"middle",textAlign:V<-.4?"left":V>.4?"right":"center"},{autoColor:$}),silent:!0}))}if(_.get("show")&&K!==P){for(var ve=0;ve<=k;ve++){var V=Math.cos(z),W=Math.sin(z),Ce=new p.Line({shape:{x1:V*O+b,y1:W*O+x,x2:V*(O-j)+b,y2:W*(O-j)+x},silent:!0,style:H});H.stroke==="auto"&&Ce.setStyle({stroke:s((K+ve/k)/P)}),w.add(Ce),z+=U}z-=U}else z+=R}},_renderPointer:function(e,l,r,s,u,h,A,y){var w=this.group,b=this._data;if(!e.get("pointer.show")){b&&b.eachItemGraphicEl(function(C){w.remove(C)});return}var x=[+e.get("min"),+e.get("max")],O=[h,A],T=e.getData(),E=T.mapDimension("value");T.diff(b).add(function(C){var _=new v({shape:{angle:h}});p.initProps(_,{shape:{angle:d(T.get(E,C),x,O,!0)}},e),w.add(_),T.setItemGraphicEl(C,_)}).update(function(C,_){var L=b.getItemGraphicEl(_);p.updateProps(L,{shape:{angle:d(T.get(E,C),x,O,!0)}},e),w.add(L),T.setItemGraphicEl(C,L)}).remove(function(C){var _=b.getItemGraphicEl(C);w.remove(_)}).execute(),T.eachItemGraphicEl(function(C,_){var L=T.getItemModel(_),P=L.getModel("pointer");C.setShape({x:u.cx,y:u.cy,width:g(P.get("width"),u.r),r:g(P.get("length"),u.r)}),C.useStyle(L.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",s(d(T.get(E,_),x,[0,1],!0))),p.setHoverStyle(C,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(e,l,r,s,u){var h=e.getData(),A=h.mapDimension("value"),y=e.getModel("title");if(y.get("show")){var w=y.get("offsetCenter"),b=u.cx+g(w[0],u.r),x=u.cy+g(w[1],u.r),O=+e.get("min"),T=+e.get("max"),E=e.getData().get(A,0),C=s(d(E,[O,T],[0,1],!0));this.group.add(new p.Text({silent:!0,style:p.setTextStyle({},y,{x:b,y:x,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(e,l,r,s,u){var h=e.getModel("detail"),A=+e.get("min"),y=+e.get("max");if(h.get("show")){var w=h.get("offsetCenter"),b=u.cx+g(w[0],u.r),x=u.cy+g(w[1],u.r),O=g(h.get("width"),u.r),T=g(h.get("height"),u.r),E=e.getData(),C=E.get(E.mapDimension("value"),0),_=s(d(C,[A,y],[0,1],!0));this.group.add(new p.Text({silent:!0,style:p.setTextStyle({},h,{x:b,y:x,text:o(C,h.get("formatter")),textWidth:isNaN(O)?null:O,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}}}),a=t;M.exports=a},"p77/":function(M,N,n){},pC0b:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("xzDV"),m=n.n(S),g=n("5Dmo")},"pED+":function(M,N,n){},pG52:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("WXVj"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},pLH3:function(M,N,n){var v=n("ProS");n("ALo7"),n("TWL2");var p=n("mOdp"),S=n("JLnu"),m=n("0/Rx");v.registerVisual(p("funnel")),v.registerLayout(S),v.registerProcessor(m("funnel"))},pP6R:function(M,N,n){var v=n("ProS"),p="\0_ec_interaction_mutex";function S(d,c,o){var i=f(d);i[c]=o}function m(d,c,o){var i=f(d),t=i[c];t===o&&(i[c]=null)}function g(d,c){return!!f(d)[c]}function f(d){return d[p]||(d[p]={})}v.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),N.take=S,N.release=m,N.isTaken=g},pmaE:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("IwbS"),m=n("DEFe"),g="__seriesMapHighDown",f="__seriesMapCallKey",d=v.extendChartView({type:"map",render:function(i,t,a,e){if(e&&e.type==="mapToggleSelect"&&e.from===this.uid)return;var l=this.group;if(l.removeAll(),i.getHostGeoModel())return;if(e&&e.type==="geoRoam"&&e.componentType==="series"&&e.seriesId===i.id){var r=this._mapDraw;r&&l.add(r.group)}else if(i.needsDrawMap){var r=this._mapDraw||new m(a,!0);l.add(r.group),r.draw(i,t,a,this,e),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;i.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(i,t,a)},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(i,t,a){var e=i.originalData,l=this.group;e.each(e.mapDimension("value"),function(r,s){if(isNaN(r))return;var u=e.getItemLayout(s);if(!u||!u.point)return;var h=u.point,A=u.offset,y=new S.Circle({style:{fill:i.getData().getVisual("color")},shape:{cx:h[0]+A*9,cy:h[1],r:3},silent:!0,z2:8+(A?0:S.Z2_EMPHASIS_LIFT+1)});if(!A){var w=i.mainSeries.getData(),b=e.getName(s),x=w.indexOfName(b),O=e.getItemModel(s),T=O.getModel("label"),E=O.getModel("emphasis.label"),C=w.getItemGraphicEl(x),_=p.retrieve2(i.getFormattedLabel(x,"normal"),b),L=p.retrieve2(i.getFormattedLabel(x,"emphasis"),_),P=C[g],k=Math.random();if(!P){P=C[g]={};var F=p.curry(c,!0),j=p.curry(c,!1);C.on("mouseover",F).on("mouseout",j).on("emphasis",F).on("normal",j)}C[f]=k,p.extend(P,{recordVersion:k,circle:y,labelModel:T,hoverLabelModel:E,emphasisText:L,normalText:_}),o(P,!1)}l.add(y)})}});function c(i){var t=this[g];t&&t.recordVersion===this[f]&&o(t,i)}function o(i,t){var a=i.circle,e=i.labelModel,l=i.hoverLabelModel,r=i.emphasisText,s=i.normalText;t?(a.style.extendFrom(S.setTextStyle({},l,{text:l.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),a.__mapOriginalZ2=a.z2,a.z2+=S.Z2_EMPHASIS_LIFT):(S.setTextStyle(a.style,e,{text:e.get("show")?s:null,textPosition:e.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),a.dirty(!1),a.__mapOriginalZ2!=null&&(a.z2=a.__mapOriginalZ2,a.__mapOriginalZ2=null))}M.exports=d},pwpV:function(M,N,n){},pzxd:function(M,N,n){var v=n("bYtY"),p=v.retrieve2,S=v.retrieve3,m=v.each,g=v.normalizeCssArray,f=v.isString,d=v.isObject,c=n("6GrX"),o=n("VpOo"),i=n("Xnb7"),t=n("fW2E"),a=n("gut8"),e=a.ContextCachedBy,l=a.WILL_BE_RESTORED,r=c.DEFAULT_FONT,s={left:1,right:1,center:1},u={top:1,bottom:1,middle:1},h=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],A={},y={};function w(K){return b(K),m(K.rich,b),K}function b(K){if(K){K.font=c.makeFont(K);var V=K.textAlign;V==="middle"&&(V="center"),K.textAlign=V==null||s[V]?V:"left";var W=K.textVerticalAlign||K.textBaseline;W==="center"&&(W="middle"),K.textVerticalAlign=W==null||u[W]?W:"top";var G=K.textPadding;G&&(K.textPadding=g(K.textPadding))}}function x(K,V,W,G,re,ye){G.rich?T(K,V,W,G,re,ye):O(K,V,W,G,re,ye)}function O(K,V,W,G,re,ye){"use strict";var $=L(G),ve,Ce=!1,Se=V.__attrCachedBy===e.PLAIN_TEXT;ye!==l?(ye&&(ve=ye.style,Ce=!$&&Se&&ve),V.__attrCachedBy=$?e.NONE:e.PLAIN_TEXT):Se&&(V.__attrCachedBy=e.NONE);var Ke=G.font||r;(!Ce||Ke!==(ve.font||r))&&(V.font=Ke);var ue=K.__computedFont;K.__styleFont!==Ke&&(K.__styleFont=Ke,ue=K.__computedFont=V.font);var Le=G.textPadding,ee=G.textLineHeight,le=K.__textCotentBlock;(!le||K.__dirtyText)&&(le=K.__textCotentBlock=c.parsePlainText(W,ue,Le,ee,G.truncate));var et=le.outerHeight,Re=le.lines,Ae=le.lineHeight,oe=F(y,K,G,re),ce=oe.baseX,be=oe.baseY,Te=oe.textAlign||"left",Be=oe.textVerticalAlign;C(V,G,re,ce,be);var De=c.adjustTextY(be,et,Be),ae=ce,fe=De;if($||Le){var Oe=c.getWidth(W,ue),Je=Oe;Le&&(Je+=Le[1]+Le[3]);var Et=c.adjustTextX(ce,Je,Te);$&&P(K,V,G,Et,De,Je,et),Le&&(ae=B(ce,Te,Le),fe+=Le[0])}V.textAlign=Te,V.textBaseline="middle",V.globalAlpha=G.opacity||1;for(var Ze=0;Ze<h.length;Ze++){var Ne=h[Ze],It=Ne[0],Xe=Ne[1],Ot=G[It];(!Ce||Ot!==ve[It])&&(V[Xe]=t(V,Xe,Ot||Ne[2]))}fe+=Ae/2;var Bt=G.textStrokeWidth,kt=Ce?ve.textStrokeWidth:null,_t=!Ce||Bt!==kt,Ft=!Ce||_t||G.textStroke!==ve.textStroke,ke=z(G.textStroke,Bt),te=R(G.textFill);if(ke&&(_t&&(V.lineWidth=Bt),Ft&&(V.strokeStyle=ke)),te&&((!Ce||G.textFill!==ve.textFill)&&(V.fillStyle=te)),Re.length===1)ke&&V.strokeText(Re[0],ae,fe),te&&V.fillText(Re[0],ae,fe);else for(var Ze=0;Ze<Re.length;Ze++)ke&&V.strokeText(Re[Ze],ae,fe),te&&V.fillText(Re[Ze],ae,fe),fe+=Ae}function T(K,V,W,G,re,ye){ye!==l&&(V.__attrCachedBy=e.NONE);var $=K.__textCotentBlock;(!$||K.__dirtyText)&&($=K.__textCotentBlock=c.parseRichText(W,G)),E(K,V,$,G,re)}function E(K,V,W,G,re){var ye=W.width,$=W.outerWidth,ve=W.outerHeight,Ce=G.textPadding,Se=F(y,K,G,re),Ke=Se.baseX,ue=Se.baseY,Le=Se.textAlign,ee=Se.textVerticalAlign;C(V,G,re,Ke,ue);var le=c.adjustTextX(Ke,$,Le),et=c.adjustTextY(ue,ve,ee),Re=le,Ae=et;Ce&&(Re+=Ce[3],Ae+=Ce[0]);var oe=Re+ye;L(G)&&P(K,V,G,le,et,$,ve);for(var ce=0;ce<W.lines.length;ce++){for(var be=W.lines[ce],Te=be.tokens,Be=Te.length,De=be.lineHeight,ae=be.width,fe=0,Oe=Re,Je=oe,Et=Be-1,Ze;fe<Be&&(Ze=Te[fe],!Ze.textAlign||Ze.textAlign==="left");)_(K,V,Ze,G,De,Ae,Oe,"left"),ae-=Ze.width,Oe+=Ze.width,fe++;for(;Et>=0&&(Ze=Te[Et],Ze.textAlign==="right");)_(K,V,Ze,G,De,Ae,Je,"right"),ae-=Ze.width,Je-=Ze.width,Et--;for(Oe+=(ye-(Oe-Re)-(oe-Je)-ae)/2;fe<=Et;)Ze=Te[fe],_(K,V,Ze,G,De,Ae,Oe+Ze.width/2,"center"),Oe+=Ze.width,fe++;Ae+=De}}function C(K,V,W,G,re){if(W&&V.textRotation){var ye=V.textOrigin;ye==="center"?(G=W.width/2+W.x,re=W.height/2+W.y):ye&&(G=ye[0]+W.x,re=ye[1]+W.y),K.translate(G,re),K.rotate(-V.textRotation),K.translate(-G,-re)}}function _(K,V,W,G,re,ye,$,ve){var Ce=G.rich[W.styleName]||{};Ce.text=W.text;var Se=W.textVerticalAlign,Ke=ye+re/2;Se==="top"?Ke=ye+W.height/2:Se==="bottom"&&(Ke=ye+re-W.height/2),!W.isLineHolder&&L(Ce)&&P(K,V,Ce,ve==="right"?$-W.width:ve==="center"?$-W.width/2:$,Ke-W.height/2,W.width,W.height);var ue=W.textPadding;ue&&($=B($,ve,ue),Ke-=W.height/2-ue[2]-W.textHeight/2),j(V,"shadowBlur",S(Ce.textShadowBlur,G.textShadowBlur,0)),j(V,"shadowColor",Ce.textShadowColor||G.textShadowColor||"transparent"),j(V,"shadowOffsetX",S(Ce.textShadowOffsetX,G.textShadowOffsetX,0)),j(V,"shadowOffsetY",S(Ce.textShadowOffsetY,G.textShadowOffsetY,0)),j(V,"textAlign",ve),j(V,"textBaseline","middle"),j(V,"font",W.font||r);var Le=z(Ce.textStroke||G.textStroke,le),ee=R(Ce.textFill||G.textFill),le=p(Ce.textStrokeWidth,G.textStrokeWidth);Le&&(j(V,"lineWidth",le),j(V,"strokeStyle",Le),V.strokeText(W.text,$,Ke)),ee&&(j(V,"fillStyle",ee),V.fillText(W.text,$,Ke))}function L(K){return!!(K.textBackgroundColor||K.textBorderWidth&&K.textBorderColor)}function P(K,V,W,G,re,ye,$){var ve=W.textBackgroundColor,Ce=W.textBorderWidth,Se=W.textBorderColor,Ke=f(ve);if(j(V,"shadowBlur",W.textBoxShadowBlur||0),j(V,"shadowColor",W.textBoxShadowColor||"transparent"),j(V,"shadowOffsetX",W.textBoxShadowOffsetX||0),j(V,"shadowOffsetY",W.textBoxShadowOffsetY||0),Ke||Ce&&Se){V.beginPath();var ue=W.textBorderRadius;ue?o.buildPath(V,{x:G,y:re,width:ye,height:$,r:ue}):V.rect(G,re,ye,$),V.closePath()}if(Ke)if(j(V,"fillStyle",ve),W.fillOpacity!=null){var Le=V.globalAlpha;V.globalAlpha=W.fillOpacity*W.opacity,V.fill(),V.globalAlpha=Le}else V.fill();else if(d(ve)){var ee=ve.image;ee=i.createOrUpdateImage(ee,null,K,k,ve),ee&&i.isImageReady(ee)&&V.drawImage(ee,G,re,ye,$)}if(Ce&&Se)if(j(V,"lineWidth",Ce),j(V,"strokeStyle",Se),W.strokeOpacity!=null){var Le=V.globalAlpha;V.globalAlpha=W.strokeOpacity*W.opacity,V.stroke(),V.globalAlpha=Le}else V.stroke()}function k(K,V){V.image=K}function F(K,V,W,G){var re=W.x||0,ye=W.y||0,$=W.textAlign,ve=W.textVerticalAlign;if(G){var Ce=W.textPosition;if(Ce instanceof Array)re=G.x+U(Ce[0],G.width),ye=G.y+U(Ce[1],G.height);else{var Se=V&&V.calculateTextPosition?V.calculateTextPosition(A,W,G):c.calculateTextPosition(A,W,G);re=Se.x,ye=Se.y,$=$||Se.textAlign,ve=ve||Se.textVerticalAlign}var Ke=W.textOffset;Ke&&(re+=Ke[0],ye+=Ke[1])}return K=K||{},K.baseX=re,K.baseY=ye,K.textAlign=$,K.textVerticalAlign=ve,K}function j(K,V,W){return K[V]=t(K,V,W),K[V]}function z(K,V){return K==null||V<=0||K==="transparent"||K==="none"?null:K.image||K.colorStops?"#000":K}function R(K){return K==null||K==="none"?null:K.image||K.colorStops?"#000":K}function U(K,V){return typeof K=="string"?K.lastIndexOf("%")>=0?parseFloat(K)/100*V:parseFloat(K):K}function B(K,V,W){return V==="right"?K-W[1]:V==="center"?K+W[3]/2-W[1]/2:K+W[3]}function H(K,V){return K!=null&&(K||V.textBackgroundColor||V.textBorderWidth&&V.textBorderColor||V.textPadding)}N.normalizeTextStyle=w,N.renderText=x,N.getBoxPosition=F,N.getStroke=z,N.getFill=R,N.parsePercent=U,N.needDrawText=H},"q/+u":function(M,N,n){var v=n("ProS"),p=n("9wZj"),S=n("yWXo"),m=n("h8O9");v.extendChartView({type:"scatter",render:function(g,f,d){var c=g.getData(),o=this._updateSymbolDraw(c,g);o.updateData(c,{clipShape:this._getClipShape(g)}),this._finished=!0},incrementalPrepareRender:function(g,f,d){var c=g.getData(),o=this._updateSymbolDraw(c,g);o.incrementalPrepareUpdate(c),this._finished=!1},incrementalRender:function(g,f,d){this._symbolDraw.incrementalUpdate(g,f.getData(),{clipShape:this._getClipShape(f)}),this._finished=g.end===f.getData().count()},updateTransform:function(g,f,d){var c=g.getData();if(this.group.dirty(),!this._finished||c.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=m().reset(g);o.progress&&o.progress({start:0,end:c.count()},c),this._symbolDraw.updateLayout(c)},_getClipShape:function(g){var f=g.coordinateSystem,d=f&&f.getArea&&f.getArea();return g.get("clip",!0)?d:null},_updateSymbolDraw:function(g,f){var d=this._symbolDraw,c=f.pipelineContext,o=c.large;return(!d||o!==this._isLargeDraw)&&(d&&d.remove(),d=this._symbolDraw=o?new S:new p,this._isLargeDraw=o,this.group.removeAll()),this.group.add(d.group),d},remove:function(g,f){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(M,N){var n=["lineStyle","normal","opacity"],v={seriesType:"parallel",reset:function(p,S,m){var g=p.getModel("itemStyle"),f=p.getModel("lineStyle"),d=S.get("color"),c=f.get("color")||g.get("color")||d[p.seriesIndex%d.length],o=p.get("inactiveOpacity"),i=p.get("activeOpacity"),t=p.getModel("lineStyle").getLineStyle(),a=p.coordinateSystem,e=p.getData(),l={normal:t.opacity,active:i,inactive:o};e.setVisual("color",c);function r(s,u){a.eachActiveState(u,function(h,A){var y=l[h];if(h==="normal"&&u.hasItemOption){var w=u.getItemModel(A).get(n,!0);w!=null&&(y=w)}u.setItemVisual(A,"opacity",y)},s.start,s.end)}return{progress:r}}};M.exports=v},q4HE:function(M,N){var n="\\ud800-\\udfff",v="\\u0300-\\u036f",p="\\ufe20-\\ufe2f",S="\\u20d0-\\u20ff",m=v+p+S,g="\\ufe0e\\ufe0f",f="["+n+"]",d="["+m+"]",c="\\ud83c[\\udffb-\\udfff]",o="(?:"+d+"|"+c+")",i="[^"+n+"]",t="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",e="\\u200d",l=o+"?",r="["+g+"]?",s="(?:"+e+"(?:"+[i,t,a].join("|")+")"+r+l+")*",u=r+l+s,h="(?:"+[i+d+"?",d,t,a,f].join("|")+")",A=RegExp(c+"(?="+c+")|"+h+u,"g");function y(w){for(var b=A.lastIndex=0;A.test(w);)++b;return b}M.exports=y},q7KB:function(M,N,n){},qH13:function(M,N,n){var v=n("ItGF"),p=n("QBsz"),S=p.applyTransform,m=n("mFDi"),g=n("Qe9p"),f=n("6GrX"),d=n("pzxd"),c=n("ni6a"),o=n("Gev7"),i=n("Dagg"),t=n("dqUG"),a=n("y+Vt"),e=n("IMiH"),l=n("QuXc"),r=n("06Qe"),s=e.CMD,u=Math.round,h=Math.sqrt,A=Math.abs,y=Math.cos,w=Math.sin,b=Math.max;if(!v.canvasSupported){var x=",",O="progid:DXImageTransform.Microsoft",T=21600,E=T/2,C=1e5,_=1e3,L=function(be){be.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",be.coordsize=T+","+T,be.coordorigin="0,0"},P=function(be){return String(be).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},k=function(be,Te,Be){return"rgb("+[be,Te,Be].join(",")+")"},F=function(be,Te){Te&&be&&Te.parentNode!==be&&be.appendChild(Te)},j=function(be,Te){Te&&be&&Te.parentNode===be&&be.removeChild(Te)},z=function(be,Te,Be){return(parseFloat(be)||0)*C+(parseFloat(Te)||0)*_+Be},R=d.parsePercent,U=function(be,Te,Be){var De=g.parse(Te);Be=+Be,isNaN(Be)&&(Be=1),De&&(be.color=k(De[0],De[1],De[2]),be.opacity=Be*De[3])},B=function(be){var Te=g.parse(be);return[k(Te[0],Te[1],Te[2]),Te[3]]},H=function(be,Te,Be){var De=Te.fill;if(De!=null)if(De instanceof l){var ae,fe=0,Oe=[0,0],Je=0,Et=1,Ze=Be.getBoundingRect(),Ne=Ze.width,It=Ze.height;if(De.type==="linear"){ae="gradient";var Xe=Be.transform,Ot=[De.x*Ne,De.y*It],Bt=[De.x2*Ne,De.y2*It];Xe&&(S(Ot,Ot,Xe),S(Bt,Bt,Xe));var kt=Bt[0]-Ot[0],_t=Bt[1]-Ot[1];fe=Math.atan2(kt,_t)*180/Math.PI,fe<0&&(fe+=360),fe<1e-6&&(fe=0)}else{ae="gradientradial";var Ot=[De.x*Ne,De.y*It],Xe=Be.transform,Ft=Be.scale,ke=Ne,te=It;Oe=[(Ot[0]-Ze.x)/ke,(Ot[1]-Ze.y)/te],Xe&&S(Ot,Ot,Xe),ke/=Ft[0]*T,te/=Ft[1]*T;var Q=b(ke,te);Je=2*0/Q,Et=2*De.r/Q-Je}var qe=De.colorStops.slice();qe.sort(function(nr,Yt){return nr.offset-Yt.offset});for(var je=qe.length,q=[],wt=[],Vt=0;Vt<je;Vt++){var lt=qe[Vt],or=B(lt.color);wt.push(lt.offset*Et+Je+" "+or[0]),(Vt===0||Vt===je-1)&&q.push(or)}if(je>=2){var vr=q[0][0],An=q[1][0],hr=q[0][1]*Te.opacity,xr=q[1][1]*Te.opacity;be.type=ae,be.method="none",be.focus="100%",be.angle=fe,be.color=vr,be.color2=An,be.colors=wt.join(","),be.opacity=xr,be.opacity2=hr}ae==="radial"&&(be.focusposition=Oe.join(","))}else U(be,De,Te.opacity)},K=function(be,Te){Te.lineDash&&(be.dashstyle=Te.lineDash.join(" ")),Te.stroke!=null&&!(Te.stroke instanceof l)&&U(be,Te.stroke,Te.opacity)},V=function(be,Te,Be,De){var ae=Te==="fill",fe=be.getElementsByTagName(Te)[0];Be[Te]!=null&&Be[Te]!=="none"&&(ae||!ae&&Be.lineWidth)?(be[ae?"filled":"stroked"]="true",Be[Te]instanceof l&&j(be,fe),fe||(fe=r.createNode(Te)),ae?H(fe,Be,De):K(fe,Be),F(be,fe)):(be[ae?"filled":"stroked"]="false",j(be,fe))},W=[[],[],[]],G=function(be,Te){var Be=s.M,De=s.C,ae=s.L,fe=s.A,Oe=s.Q,Je=[],Et,Ze,Ne,It,Xe,Ot,Bt=be.data,kt=be.len();for(It=0;It<kt;){Ne=Bt[It++],Ze="",Et=0;switch(Ne){case Be:Ze=" m ",Et=1,Xe=Bt[It++],Ot=Bt[It++],W[0][0]=Xe,W[0][1]=Ot;break;case ae:Ze=" l ",Et=1,Xe=Bt[It++],Ot=Bt[It++],W[0][0]=Xe,W[0][1]=Ot;break;case Oe:case De:Ze=" c ",Et=3;var _t=Bt[It++],Ft=Bt[It++],ke=Bt[It++],te=Bt[It++],Q,qe;Ne===Oe?(Q=ke,qe=te,ke=(ke+2*_t)/3,te=(te+2*Ft)/3,_t=(Xe+2*_t)/3,Ft=(Ot+2*Ft)/3):(Q=Bt[It++],qe=Bt[It++]),W[0][0]=_t,W[0][1]=Ft,W[1][0]=ke,W[1][1]=te,W[2][0]=Q,W[2][1]=qe,Xe=Q,Ot=qe;break;case fe:var je=0,q=0,wt=1,Vt=1,lt=0;Te&&(je=Te[4],q=Te[5],wt=h(Te[0]*Te[0]+Te[1]*Te[1]),Vt=h(Te[2]*Te[2]+Te[3]*Te[3]),lt=Math.atan2(-Te[1]/Vt,Te[0]/wt));var or=Bt[It++],vr=Bt[It++],An=Bt[It++],hr=Bt[It++],xr=Bt[It++]+lt,nr=Bt[It++]+xr+lt;It++;var Yt=Bt[It++],gt=or+y(xr)*An,zr=vr+w(xr)*hr,_t=or+y(nr)*An,Ft=vr+w(nr)*hr,pn=Yt?" wa ":" at ";Math.abs(gt-_t)<1e-4&&(Math.abs(nr-xr)>.01?Yt&&(gt+=270/T):Math.abs(zr-vr)<1e-4?Yt&&gt<or||!Yt&&gt>or?Ft-=270/T:Ft+=270/T:Yt&&zr<vr||!Yt&&zr>vr?_t+=270/T:_t-=270/T),Je.push(pn,u(((or-An)*wt+je)*T-E),x,u(((vr-hr)*Vt+q)*T-E),x,u(((or+An)*wt+je)*T-E),x,u(((vr+hr)*Vt+q)*T-E),x,u((gt*wt+je)*T-E),x,u((zr*Vt+q)*T-E),x,u((_t*wt+je)*T-E),x,u((Ft*Vt+q)*T-E)),Xe=_t,Ot=Ft;break;case s.R:var Nn=W[0],Vn=W[1];Nn[0]=Bt[It++],Nn[1]=Bt[It++],Vn[0]=Nn[0]+Bt[It++],Vn[1]=Nn[1]+Bt[It++],Te&&(S(Nn,Nn,Te),S(Vn,Vn,Te)),Nn[0]=u(Nn[0]*T-E),Vn[0]=u(Vn[0]*T-E),Nn[1]=u(Nn[1]*T-E),Vn[1]=u(Vn[1]*T-E),Je.push(" m ",Nn[0],x,Nn[1]," l ",Vn[0],x,Nn[1]," l ",Vn[0],x,Vn[1]," l ",Nn[0],x,Vn[1]);break;case s.Z:Je.push(" x ")}if(Et>0){Je.push(Ze);for(var xi=0;xi<Et;xi++){var bn=W[xi];Te&&S(bn,bn,Te),Je.push(u(bn[0]*T-E),x,u(bn[1]*T-E),xi<Et-1?x:"")}}}return Je.join("")};a.prototype.brushVML=function(ce){var be=this.style,Te=this._vmlEl;Te||(Te=r.createNode("shape"),L(Te),this._vmlEl=Te),V(Te,"fill",be,this),V(Te,"stroke",be,this);var Be=this.transform,De=Be!=null,ae=Te.getElementsByTagName("stroke")[0];if(ae){var fe=be.lineWidth;if(De&&!be.strokeNoScale){var Oe=Be[0]*Be[3]-Be[1]*Be[2];fe*=h(A(Oe))}ae.weight=fe+"px"}var Je=this.path||(this.path=new e);this.__dirtyPath&&(Je.beginPath(),Je.subPixelOptimize=!1,this.buildPath(Je,this.shape),Je.toStatic(),this.__dirtyPath=!1),Te.path=G(Je,this.transform),Te.style.zIndex=z(this.zlevel,this.z,this.z2),F(ce,Te),be.text!=null?this.drawRectText(ce,this.getBoundingRect()):this.removeRectText(ce)},a.prototype.onRemove=function(ce){j(ce,this._vmlEl),this.removeRectText(ce)},a.prototype.onAdd=function(ce){F(ce,this._vmlEl),this.appendRectText(ce)};var re=function(be){return typeof be=="object"&&be.tagName&&be.tagName.toUpperCase()==="IMG"};i.prototype.brushVML=function(ce){var be=this.style,Te=be.image,Be,De;if(re(Te)){var ae=Te.src;if(ae===this._imageSrc)Be=this._imageWidth,De=this._imageHeight;else{var fe=Te.runtimeStyle,Oe=fe.width,Je=fe.height;fe.width="auto",fe.height="auto",Be=Te.width,De=Te.height,fe.width=Oe,fe.height=Je,this._imageSrc=ae,this._imageWidth=Be,this._imageHeight=De}Te=ae}else Te===this._imageSrc&&(Be=this._imageWidth,De=this._imageHeight);if(!Te)return;var Et=be.x||0,Ze=be.y||0,Ne=be.width,It=be.height,Xe=be.sWidth,Ot=be.sHeight,Bt=be.sx||0,kt=be.sy||0,_t=Xe&&Ot,Ft=this._vmlEl;Ft||(Ft=r.doc.createElement("div"),L(Ft),this._vmlEl=Ft);var ke=Ft.style,te=!1,Q,qe=1,je=1;if(this.transform&&(Q=this.transform,qe=h(Q[0]*Q[0]+Q[1]*Q[1]),je=h(Q[2]*Q[2]+Q[3]*Q[3]),te=Q[1]||Q[2]),te){var q=[Et,Ze],wt=[Et+Ne,Ze],Vt=[Et,Ze+It],lt=[Et+Ne,Ze+It];S(q,q,Q),S(wt,wt,Q),S(Vt,Vt,Q),S(lt,lt,Q);var or=b(q[0],wt[0],Vt[0],lt[0]),vr=b(q[1],wt[1],Vt[1],lt[1]),An=[];An.push("M11=",Q[0]/qe,x,"M12=",Q[2]/je,x,"M21=",Q[1]/qe,x,"M22=",Q[3]/je,x,"Dx=",u(Et*qe+Q[4]),x,"Dy=",u(Ze*je+Q[5])),ke.padding="0 "+u(or)+"px "+u(vr)+"px 0",ke.filter=O+".Matrix("+An.join("")+", SizingMethod=clip)"}else Q&&(Et=Et*qe+Q[4],Ze=Ze*je+Q[5]),ke.filter="",ke.left=u(Et)+"px",ke.top=u(Ze)+"px";var hr=this._imageEl,xr=this._cropEl;hr||(hr=r.doc.createElement("div"),this._imageEl=hr);var nr=hr.style;if(_t){if(Be&&De)nr.width=u(qe*Be*Ne/Xe)+"px",nr.height=u(je*De*It/Ot)+"px";else{var Yt=new Image,gt=this;Yt.onload=function(){Yt.onload=null,Be=Yt.width,De=Yt.height,nr.width=u(qe*Be*Ne/Xe)+"px",nr.height=u(je*De*It/Ot)+"px",gt._imageWidth=Be,gt._imageHeight=De,gt._imageSrc=Te},Yt.src=Te}xr||(xr=r.doc.createElement("div"),xr.style.overflow="hidden",this._cropEl=xr);var zr=xr.style;zr.width=u((Ne+Bt*Ne/Xe)*qe),zr.height=u((It+kt*It/Ot)*je),zr.filter=O+".Matrix(Dx="+-Bt*Ne/Xe*qe+",Dy="+-kt*It/Ot*je+")",xr.parentNode||Ft.appendChild(xr),hr.parentNode!==xr&&xr.appendChild(hr)}else nr.width=u(qe*Ne)+"px",nr.height=u(je*It)+"px",Ft.appendChild(hr),xr&&xr.parentNode&&(Ft.removeChild(xr),this._cropEl=null);var pn="",Nn=be.opacity;Nn<1&&(pn+=".Alpha(opacity="+u(Nn*100)+") "),pn+=O+".AlphaImageLoader(src="+Te+", SizingMethod=scale)",nr.filter=pn,Ft.style.zIndex=z(this.zlevel,this.z,this.z2),F(ce,Ft),be.text!=null&&this.drawRectText(ce,this.getBoundingRect())},i.prototype.onRemove=function(ce){j(ce,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(ce)},i.prototype.onAdd=function(ce){F(ce,this._vmlEl),this.appendRectText(ce)};var ye="normal",$={},ve=0,Ce=100,Se=document.createElement("div"),Ke=function(be){var Te=$[be];if(!Te){ve>Ce&&(ve=0,$={});var Be=Se.style,De;try{Be.font=be,De=Be.fontFamily.split(",")[0]}catch(ae){}Te={style:Be.fontStyle||ye,variant:Be.fontVariant||ye,weight:Be.fontWeight||ye,size:parseFloat(Be.fontSize||12)|0,family:De||"Microsoft YaHei"},$[be]=Te,ve++}return Te},ue;f.$override("measureText",function(ce,be){var Te=r.doc;ue||(ue=Te.createElement("div"),ue.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",r.doc.body.appendChild(ue));try{ue.style.font=be}catch(Be){}return ue.innerHTML="",ue.appendChild(Te.createTextNode(ce)),{width:ue.offsetWidth}});for(var Le=new m,ee=function(be,Te,Be,De){var ae=this.style;this.__dirty&&d.normalizeTextStyle(ae,!0);var fe=ae.text;if(fe!=null&&(fe+=""),!fe)return;if(ae.rich){var Oe=f.parseRichText(fe,ae);fe=[];for(var Je=0;Je<Oe.lines.length;Je++){for(var Et=Oe.lines[Je].tokens,Ze=[],Ne=0;Ne<Et.length;Ne++)Ze.push(Et[Ne].text);fe.push(Ze.join(""))}fe=fe.join(`
`)}var It,Xe,Ot=ae.textAlign,Bt=ae.textVerticalAlign,kt=Ke(ae.font),_t=kt.style+" "+kt.variant+" "+kt.weight+" "+kt.size+'px "'+kt.family+'"';Be=Be||f.getBoundingRect(fe,_t,Ot,Bt,ae.textPadding,ae.textLineHeight);var Ft=this.transform;if(Ft&&!De&&(Le.copy(Te),Le.applyTransform(Ft),Te=Le),De)It=Te.x,Xe=Te.y;else{var ke=ae.textPosition;if(ke instanceof Array)It=Te.x+R(ke[0],Te.width),Xe=Te.y+R(ke[1],Te.height),Ot=Ot||"left";else{var te=this.calculateTextPosition?this.calculateTextPosition({},ae,Te):f.calculateTextPosition({},ae,Te);It=te.x,Xe=te.y,Ot=Ot||te.textAlign,Bt=Bt||te.textVerticalAlign}}It=f.adjustTextX(It,Be.width,Ot),Xe=f.adjustTextY(Xe,Be.height,Bt),Xe+=Be.height/2;var Q=r.createNode,qe=this._textVmlEl,je,q,wt;qe?(wt=qe.firstChild,je=wt.nextSibling,q=je.nextSibling):(qe=Q("line"),je=Q("path"),q=Q("textpath"),wt=Q("skew"),q.style["v-text-align"]="left",L(qe),je.textpathok=!0,q.on=!0,qe.from="0 0",qe.to="1000 0.05",F(qe,wt),F(qe,je),F(qe,q),this._textVmlEl=qe);var Vt=[It,Xe],lt=qe.style;Ft&&De?(S(Vt,Vt,Ft),wt.on=!0,wt.matrix=Ft[0].toFixed(3)+x+Ft[2].toFixed(3)+x+Ft[1].toFixed(3)+x+Ft[3].toFixed(3)+",0,0",wt.offset=(u(Vt[0])||0)+","+(u(Vt[1])||0),wt.origin="0 0",lt.left="0px",lt.top="0px"):(wt.on=!1,lt.left=u(It)+"px",lt.top=u(Xe)+"px"),q.string=P(fe);try{q.style.font=_t}catch(or){}V(qe,"fill",{fill:ae.textFill,opacity:ae.opacity},this),V(qe,"stroke",{stroke:ae.textStroke,opacity:ae.opacity,lineDash:ae.lineDash||null},this),qe.style.zIndex=z(this.zlevel,this.z,this.z2),F(be,qe)},le=function(be){j(be,this._textVmlEl),this._textVmlEl=null},et=function(be){F(be,this._textVmlEl)},Re=[c,o,i,a,t],Ae=0;Ae<Re.length;Ae++){var oe=Re[Ae].prototype;oe.drawRectText=ee,oe.removeRectText=le,oe.appendRectText=et}t.prototype.brushVML=function(ce){var be=this.style;be.text!=null?this.drawRectText(ce,{x:be.x||0,y:be.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(ce)},t.prototype.onRemove=function(ce){this.removeRectText(ce)},t.prototype.onAdd=function(ce){this.appendRectText(ce)}}},qJCg:function(M,N,n){var v=n("BlVb"),p=n("mFDi"),S=n("IwbS"),m=S.linePolygonIntersect,g={lineX:f(0),lineY:f(1),rect:{point:function(o,i,t){return o&&t.boundingRect.contain(o[0],o[1])},rect:function(o,i,t){return o&&t.boundingRect.intersect(o)}},polygon:{point:function(o,i,t){return o&&t.boundingRect.contain(o[0],o[1])&&v.contain(t.range,o[0],o[1])},rect:function(o,i,t){var a=t.range;if(!o||a.length<=1)return!1;var e=o.x,l=o.y,r=o.width,s=o.height,u=a[0];if(v.contain(a,e,l)||v.contain(a,e+r,l)||v.contain(a,e,l+s)||v.contain(a,e+r,l+s)||p.create(o).contain(u[0],u[1])||m(e,l,e+r,l,a)||m(e,l,e,l+s,a)||m(e+r,l,e+r,l+s,a)||m(e,l+s,e+r,l+s,a))return!0}}};function f(o){var i=["x","y"],t=["width","height"];return{point:function(a,e,l){if(a){var r=l.range,s=a[o];return d(s,r)}},rect:function(a,e,l){if(a){var r=l.range,s=[a[i[o]],a[i[o]]+a[t[o]]];return s[1]<s[0]&&s.reverse(),d(s[0],r)||d(s[1],r)||d(r[0],s)||d(r[1],s)}}}}function d(o,i){return i[0]<=o&&o<=i[1]}var c=g;M.exports=c},qMZE:function(M,N,n){var v=n("JEkh"),p=v.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});M.exports=p},qOx5:function(M,N,n){"use strict";n.d(N,"a",function(){return f});var v=n("Kwbf");function p(d,c){var o=new Set;return d.forEach(function(i){c.has(i)||o.add(i)}),o}function S(d){var c=d||{},o=c.disabled,i=c.disableCheckbox,t=c.checkable;return!!(o||i)||t===!1}function m(d,c,o,i){for(var t=new Set(d),a=new Set,e=0;e<=o;e+=1){var l=c.get(e)||new Set;l.forEach(function(h){var A=h.key,y=h.node,w=h.children,b=w===void 0?[]:w;t.has(A)&&!i(y)&&b.filter(function(x){return!i(x.node)}).forEach(function(x){t.add(x.key)})})}for(var r=new Set,s=o;s>=0;s-=1){var u=c.get(s)||new Set;u.forEach(function(h){var A=h.parent,y=h.node;if(i(y)||!h.parent||r.has(h.parent.key))return;if(i(h.parent.node)){r.add(A.key);return}var w=!0,b=!1;(A.children||[]).filter(function(x){return!i(x.node)}).forEach(function(x){var O=x.key,T=t.has(O);w&&!T&&(w=!1),!b&&(T||a.has(O))&&(b=!0)}),w&&t.add(A.key),b&&a.add(A.key),r.add(A.key)})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(p(a,t))}}function g(d,c,o,i,t){for(var a=new Set(d),e=new Set(c),l=0;l<=i;l+=1){var r=o.get(l)||new Set;r.forEach(function(A){var y=A.key,w=A.node,b=A.children,x=b===void 0?[]:b;!a.has(y)&&!e.has(y)&&!t(w)&&x.filter(function(O){return!t(O.node)}).forEach(function(O){a.delete(O.key)})})}e=new Set;for(var s=new Set,u=i;u>=0;u-=1){var h=o.get(u)||new Set;h.forEach(function(A){var y=A.parent,w=A.node;if(t(w)||!A.parent||s.has(A.parent.key))return;if(t(A.parent.node)){s.add(y.key);return}var b=!0,x=!1;(y.children||[]).filter(function(O){return!t(O.node)}).forEach(function(O){var T=O.key,E=a.has(T);b&&!E&&(b=!1),!x&&(E||e.has(T))&&(x=!0)}),b||a.delete(y.key),x&&e.add(y.key),s.add(y.key)})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(p(e,a))}}function f(d,c,o,i){var t=[],a;i?a=i:a=S;var e=new Set(d.filter(function(u){var h=!!o[u];return h||t.push(u),h})),l=new Map,r=0;Object.keys(o).forEach(function(u){var h=o[u],A=h.level,y=l.get(A);y||(y=new Set,l.set(A,y)),y.add(h),r=Math.max(r,A)}),Object(v.a)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var s;return c===!0?s=m(e,l,r,a):s=g(e,c.halfCheckedKeys,l,r,a),s}},qPY4:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("u4NN"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},qWUW:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("DL4k")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="CaretDownOutlined";var i=m.forwardRef(o);N.default=i},qWt2:function(M,N,n){var v=n("ProS"),p=v.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});M.exports=p},qZFw:function(M,N,n){var v=n("bYtY"),p=n("6GrX"),S=n("hM6l"),m=n("4NO4"),g=m.makeInner,f=g();function d(o,i){i=i||[0,360],S.call(this,"angle",o,i),this.type="category"}d.prototype={constructor:d,pointToData:function(o,i){return this.polar.pointToData(o,i)[this.dim==="radius"?0:1]},dataToAngle:S.prototype.dataToCoord,angleToData:S.prototype.coordToData,calculateCategoryInterval:function(){var o=this,i=o.getLabelModel(),t=o.scale,a=t.getExtent(),e=t.count();if(a[1]-a[0]<1)return 0;var l=a[0],r=o.dataToCoord(l+1)-o.dataToCoord(l),s=Math.abs(r),u=p.getBoundingRect(l,i.getFont(),"center","top"),h=Math.max(u.height,7),A=h/s;isNaN(A)&&(A=Infinity);var y=Math.max(0,Math.floor(A)),w=f(o.model),b=w.lastAutoInterval,x=w.lastTickCount;return b!=null&&x!=null&&Math.abs(b-y)<=1&&Math.abs(x-e)<=1&&b>y?y=b:(w.lastTickCount=e,w.lastAutoInterval=y),y}},v.inherits(d,S);var c=d;M.exports=c},qgGe:function(M,N,n){var v=n("bYtY"),p=n("T4UG"),S=n("Bsck"),m=n("VaxA"),g=m.wrapTreePathInfo,f=p.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(c,o){var i={name:c.name,children:c.data};d(i);var t=c.levels||[],a={};return a.levels=t,S.createTree(i,this,a).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(c){var o=p.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(c);return o.treePathInfo=g(i,this),o},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(c){c?this._viewRoot=c:c=this._viewRoot;var o=this.getRawData().tree.root;(!c||c!==o&&!o.contains(c))&&(this._viewRoot=o)}});function d(c){var o=0;v.each(c.children,function(t){d(t);var a=t.value;v.isArray(a)&&(a=a[0]),o+=a});var i=c.value;v.isArray(i)&&(i=i[0]),(i==null||isNaN(i))&&(i=o),i<0&&(i=0),v.isArray(c.value)?c.value[0]=i:c.value=i}M.exports=f},qj72:function(M,N,n){var v=n("bYtY");function p(m,g){return g=g||[0,0],v.map(["x","y"],function(f,d){var c=this.getAxis(f),o=g[d],i=m[d]/2;return c.type==="category"?c.getBandWidth():Math.abs(c.dataToCoord(o-i)-c.dataToCoord(o+i))},this)}function S(m){var g=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(f){return m.dataToPoint(f)},size:v.bind(p,m)}}}M.exports=S},qrJ5:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("cDf5"),f=n.n(g),d=n("J4zp"),c=n.n(d),o=n("q1tI"),i=n.n(o),t=n("TSYQ"),a=n.n(t),e=n("H84U"),l=n("o/2+"),r=n("CWQg"),s=n("ACnJ"),u=function(w,b){var x={};for(var O in w)Object.prototype.hasOwnProperty.call(w,O)&&b.indexOf(O)<0&&(x[O]=w[O]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,O=Object.getOwnPropertySymbols(w);T<O.length;T++)b.indexOf(O[T])<0&&Object.prototype.propertyIsEnumerable.call(w,O[T])&&(x[O[T]]=w[O[T]]);return x},h=Object(r.a)("top","middle","bottom","stretch"),A=Object(r.a)("start","end","center","space-around","space-between"),y=o.forwardRef(function(w,b){var x=o.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),O=c()(x,2),T=O[0],E=O[1],C=o.useRef();C.current=w.gutter,o.useEffect(function(){var P=s.a.subscribe(function(k){var F=C.current||0;(!Array.isArray(F)&&f()(F)==="object"||Array.isArray(F)&&(f()(F[0])==="object"||f()(F[1])==="object"))&&E(k)});return function(){s.a.unsubscribe(P)}},[]);var _=function(){var k=[0,0],F=w.gutter,j=F===void 0?0:F,z=Array.isArray(j)?j:[j,0];return z.forEach(function(R,U){if(f()(R)==="object")for(var B=0;B<s.b.length;B++){var H=s.b[B];if(T[H]&&R[H]!==void 0){k[U]=R[H];break}}else k[U]=R||0}),k},L=function(k){var F,j=k.getPrefixCls,z=k.direction,R=w.prefixCls,U=w.justify,B=w.align,H=w.className,K=w.style,V=w.children,W=u(w,["prefixCls","justify","align","className","style","children"]),G=j("row",R),re=_(),ye=a()(G,(F={},m()(F,"".concat(G,"-").concat(U),U),m()(F,"".concat(G,"-").concat(B),B),m()(F,"".concat(G,"-rtl"),z==="rtl"),F),H),$=p()(p()(p()({},re[0]>0?{marginLeft:re[0]/-2,marginRight:re[0]/-2}:{}),re[1]>0?{marginTop:re[1]/-2,marginBottom:re[1]/2}:{}),K),ve=p()({},W);return delete ve.gutter,o.createElement(l.a.Provider,{value:{gutter:re}},o.createElement("div",p()({},ve,{className:ye,style:$,ref:b}),V))};return o.createElement(e.a,null,L)});y.displayName="Row",N.a=y},"qt/9":function(M,N,n){var v=n("ProS"),p=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var S=n("nVfU"),m=S.layout,g=n("f5Yq");n("Ae16"),v.registerLayout(p.curry(m,"pictorialBar")),v.registerVisual(g("pictorialBar","roundRect"))},quyA:function(M,N){var n="\\ud800-\\udfff",v="\\u0300-\\u036f",p="\\ufe20-\\ufe2f",S="\\u20d0-\\u20ff",m=v+p+S,g="\\ufe0e\\ufe0f",f="\\u200d",d=RegExp("["+f+n+m+g+"]");function c(o){return d.test(o)}M.exports=c},qwVE:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("K4ya"),m=n("XxSj"),g=v.PRIORITY.VISUAL.COMPONENT;v.registerVisual(g,{createOnAllSeries:!0,reset:function(d,c){var o=[];return c.eachComponent("visualMap",function(i){var t=d.pipelineContext;if(!i.isTargetSeries(d)||t&&t.large)return;o.push(S.incrementalApplyVisual(i.stateList,i.targetVisuals,p.bind(i.getValueState,i),i.getDataDimension(d.getData())))}),o}}),v.registerVisual(g,{createOnAllSeries:!0,reset:function(d,c){var o=d.getData(),i=[];c.eachComponent("visualMap",function(t){if(t.isTargetSeries(d)){var a=t.getVisualMeta(p.bind(f,null,d,t))||{stops:[],outerColors:[]},e=t.getDataDimension(o),l=o.getDimensionInfo(e);l!=null&&(a.dimension=l.index,i.push(a))}}),d.getData().setVisual("visualMeta",i)}});function f(d,c,o,i){for(var t=c.targetVisuals[i],a=m.prepareVisualTypes(t),e={color:d.getData().getVisual("color")},l=0,r=a.length;l<r;l++){var s=a[l],u=t[s==="opacity"?"__alphaForOpacity":s];u&&u.applyVisual(o,h,A)}return e.color;function h(y){return e[y]}function A(y,w){e[y]=w}}},"r+aA":function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("s2MQ")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="EyeInvisibleOutlined";var i=m.forwardRef(o);N.default=i},"r/2G":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("+Zaj"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},r6Bn:function(M,N,n){var v=n("bYtY"),p=n("ItGF"),S=n("4fz+"),m=n("BPZU");function g(c,o){return c.zlevel===o.zlevel?c.z===o.z?c.z2-o.z2:c.z-o.z:c.zlevel-o.zlevel}var f=function(){this._roots=[],this._displayList=[],this._displayListLen=0};f.prototype={constructor:f,traverse:function(o,i){for(var t=0;t<this._roots.length;t++)this._roots[t].traverse(o,i)},getDisplayList:function(o,i){return i=i||!1,o&&this.updateDisplayList(i),this._displayList},updateDisplayList:function(o){this._displayListLen=0;for(var i=this._roots,t=this._displayList,a=0,e=i.length;a<e;a++)this._updateAndAddDisplayable(i[a],null,o);t.length=this._displayListLen,p.canvasSupported&&m(t,g)},_updateAndAddDisplayable:function(o,i,t){if(o.ignore&&!t)return;o.beforeUpdate(),o.__dirty&&o.update(),o.afterUpdate();var a=o.clipPath;if(a){i?i=i.slice():i=[];for(var e=a,l=o;e;)e.parent=l,e.updateTransform(),i.push(e),l=e,e=e.clipPath}if(o.isGroup){for(var r=o._children,s=0;s<r.length;s++){var u=r[s];o.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,i,t)}o.__dirty=!1}else o.__clipPaths=i,this._displayList[this._displayListLen++]=o},addRoot:function(o){if(o.__storage===this)return;o instanceof S&&o.addChildrenToStorage(this),this.addToStorage(o),this._roots.push(o)},delRoot:function(o){if(o==null){for(var i=0;i<this._roots.length;i++){var t=this._roots[i];t instanceof S&&t.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(o instanceof Array){for(var i=0,a=o.length;i<a;i++)this.delRoot(o[i]);return}var e=v.indexOf(this._roots,o);e>=0&&(this.delFromStorage(o),this._roots.splice(e,1),o instanceof S&&o.delChildrenFromStorage(this))},addToStorage:function(o){return o&&(o.__storage=this,o.dirty(!1)),this},delFromStorage:function(o){return o&&(o.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:g};var d=f;M.exports=d},rA99:function(M,N,n){var v=n("y+Vt"),p=n("QBsz"),S=n("Sj9i"),m=S.quadraticSubdivide,g=S.cubicSubdivide,f=S.quadraticAt,d=S.cubicAt,c=S.quadraticDerivativeAt,o=S.cubicDerivativeAt,i=[];function t(e,l,r){var s=e.cpx2,u=e.cpy2;return s===null||u===null?[(r?o:d)(e.x1,e.cpx1,e.cpx2,e.x2,l),(r?o:d)(e.y1,e.cpy1,e.cpy2,e.y2,l)]:[(r?c:f)(e.x1,e.cpx1,e.x2,l),(r?c:f)(e.y1,e.cpy1,e.y2,l)]}var a=v.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(l,r){var s=r.x1,u=r.y1,h=r.x2,A=r.y2,y=r.cpx1,w=r.cpy1,b=r.cpx2,x=r.cpy2,O=r.percent;if(O===0)return;l.moveTo(s,u),b==null||x==null?(O<1&&(m(s,y,h,O,i),y=i[1],h=i[2],m(u,w,A,O,i),w=i[1],A=i[2]),l.quadraticCurveTo(y,w,h,A)):(O<1&&(g(s,y,b,h,O,i),y=i[1],b=i[2],h=i[3],g(u,w,x,A,O,i),w=i[1],x=i[2],A=i[3]),l.bezierCurveTo(y,w,b,x,h,A))},pointAt:function(l){return t(this.shape,l,!1)},tangentAt:function(l){var r=t(this.shape,l,!0);return p.normalize(r,r)}});M.exports=a},"rAM+":function(M,N,n){"use strict";n.d(N,"a",function(){return p});var v=n("Qw5x");function p(S,m){var g;if(typeof Symbol=="undefined"||S[Symbol.iterator]==null){if(Array.isArray(S)||(g=Object(v.a)(S))||m&&S&&typeof S.length=="number"){g&&(S=g);var f=0,d=function(){};return{s:d,n:function(){return f>=S.length?{done:!0}:{done:!1,value:S[f++]}},e:function(a){throw a},f:d}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c=!0,o=!1,i;return{s:function(){g=S[Symbol.iterator]()},n:function(){var a=g.next();return c=a.done,a},e:function(a){o=!0,i=a},f:function(){try{!c&&g.return!=null&&g.return()}finally{if(o)throw i}}}}},rHrb:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.CopyToClipboard=void 0;var v=S(n("q1tI")),p=S(n("+QRC"));function S(A){return A&&A.__esModule?A:{default:A}}function m(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(w){return typeof w}:m=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},m(A)}function g(A,y){var w=Object.keys(A);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(A);y&&(b=b.filter(function(x){return Object.getOwnPropertyDescriptor(A,x).enumerable})),w.push.apply(w,b)}return w}function f(A){for(var y=1;y<arguments.length;y++){var w=arguments[y]!=null?arguments[y]:{};y%2?g(w,!0).forEach(function(b){u(A,b,w[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(w)):g(w).forEach(function(b){Object.defineProperty(A,b,Object.getOwnPropertyDescriptor(w,b))})}return A}function d(A,y){if(A==null)return{};var w=c(A,y),b,x;if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(A);for(x=0;x<O.length;x++){if(b=O[x],y.indexOf(b)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(A,b))continue;w[b]=A[b]}}return w}function c(A,y){if(A==null)return{};var w={},b=Object.keys(A),x,O;for(O=0;O<b.length;O++){if(x=b[O],y.indexOf(x)>=0)continue;w[x]=A[x]}return w}function o(A,y){if(!(A instanceof y))throw new TypeError("Cannot call a class as a function")}function i(A,y){for(var w=0;w<y.length;w++){var b=y[w];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(A,b.key,b)}}function t(A,y,w){return y&&i(A.prototype,y),w&&i(A,w),A}function a(A,y){return y&&(m(y)==="object"||typeof y=="function")?y:l(A)}function e(A){return e=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},e(A)}function l(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function r(A,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(y&&y.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),y&&s(A,y)}function s(A,y){return s=Object.setPrototypeOf||function(b,x){return b.__proto__=x,b},s(A,y)}function u(A,y,w){return y in A?Object.defineProperty(A,y,{value:w,enumerable:!0,configurable:!0,writable:!0}):A[y]=w,A}var h=function(A){r(y,A);function y(){var w,b;o(this,y);for(var x=arguments.length,O=new Array(x),T=0;T<x;T++)O[T]=arguments[T];return b=a(this,(w=e(y)).call.apply(w,[this].concat(O))),u(l(b),"onClick",function(E){var C=b.props,_=C.text,L=C.onCopy,P=C.children,k=C.options,F=v.default.Children.only(P),j=(0,p.default)(_,k);L&&L(_,j),F&&F.props&&typeof F.props.onClick=="function"&&F.props.onClick(E)}),b}return t(y,[{key:"render",value:function(){var b=this.props,x=b.text,O=b.onCopy,T=b.options,E=b.children,C=d(b,["text","onCopy","options","children"]),_=v.default.Children.only(E);return v.default.cloneElement(_,f({},C,{onClick:this.onClick}))}}]),y}(v.default.PureComponent);N.CopyToClipboard=h,u(h,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="ReloadOutlined";var d=N.a=p.forwardRef(f)},rUJ1:function(M,N){var n=/[&<>"']/,v=/[&<>"']/g,p=/[<>"']|&(?!#?\w+;)/,S=/[<>"']|&(?!#?\w+;)/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},g=function(E){return m[E]};function f(T,E){if(E){if(n.test(T))return T.replace(v,g)}else if(p.test(T))return T.replace(S,g);return T}var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function c(T){return T.replace(d,function(E,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 o=/(^|[^\[])\^/g;function i(T,E){T=T.source||T,E=E||"";var C={replace:function(L,P){return P=P.source||P,P=P.replace(o,"$1"),T=T.replace(L,P),C},getRegex:function(){return new RegExp(T,E)}};return C}var t=/[^\w:]/g,a=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function e(T,E,C){if(T){var _;try{_=decodeURIComponent(c(C)).replace(t,"").toLowerCase()}catch(L){return null}if(_.indexOf("javascript:")===0||_.indexOf("vbscript:")===0||_.indexOf("data:")===0)return null}E&&!a.test(C)&&(C=h(E,C));try{C=encodeURI(C).replace(/%25/g,"%")}catch(L){return null}return C}var l={},r=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(T,E){l[" "+T]||(r.test(T)?l[" "+T]=T+"/":l[" "+T]=b(T,"/",!0)),T=l[" "+T];var C=T.indexOf(":")===-1;return E.substring(0,2)==="//"?C?E:T.replace(s,"$1")+E:E.charAt(0)==="/"?C?E:T.replace(u,"$1")+E:T+E}var A={exec:function(){}};function y(T){for(var E=1,C,_;E<arguments.length;E++){C=arguments[E];for(_ in C)Object.prototype.hasOwnProperty.call(C,_)&&(T[_]=C[_])}return T}function w(T,E){var C=T.replace(/\|/g,function(P,k,F){for(var j=!1,z=k;--z>=0&&F[z]==="\\";)j=!j;return j?"|":" |"}),_=C.split(/ \|/),L=0;if(_.length>E)_.splice(E);else for(;_.length<E;)_.push("");for(;L<_.length;L++)_[L]=_[L].trim().replace(/\\\|/g,"|");return _}function b(T,E,C){var _=T.length;if(_===0)return"";for(var L=0;L<_;){var P=T.charAt(_-L-1);if(P===E&&!C)L++;else if(P!==E&&C)L++;else break}return T.substr(0,_-L)}function x(T,E){if(T.indexOf(E[1])===-1)return-1;for(var C=T.length,_=0,L=0;L<C;L++)if(T[L]==="\\")L++;else if(T[L]===E[0])_++;else if(T[L]===E[1]&&(_--,_<0))return L;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")}M.exports={escape:f,unescape:c,edit:i,cleanUrl:e,resolveUrl:h,noopTest:A,merge:y,splitCells:w,rtrim:b,findClosingBracket:x,checkSanitizeDeprecation:O}},rdUC:function(M,N,n){var v=n("MFOe"),p=v.Global;M.exports={name:"localStorage",read:m,write:g,each:f,remove:d,clearAll:c};function S(){return p.localStorage}function m(o){return S().getItem(o)}function g(o,i){return S().setItem(o,i)}function f(o){for(var i=S().length-1;i>=0;i--){var t=S().key(i);o(m(t),t)}}function d(o){return S().removeItem(o)}function c(){return S().clear()}},rdor:function(M,N,n){var v=n("lOQZ"),p=v.circularLayout;function S(m){m.eachSeriesByType("graph",function(g){g.get("layout")==="circular"&&p(g,"symbolSize")})}M.exports=S},rfSb:function(M,N,n){var v=n("T4UG"),p=n("sdST"),S=n("L0Ub"),m=S.getDimensionTypeByAxis,g=n("YXkt"),f=n("bYtY"),d=n("4NO4"),c=d.groupData,o=n("7aKB"),i=o.encodeHTML,t=n("xKMd"),a=2,e=v.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(r){e.superApply(this,"init",arguments),this.legendVisualProvider=new t(f.bind(this.getData,this),f.bind(this.getRawData,this))},fixData:function(r){var s=r.length,u=c(r,function(F){return F[2]}),h=[];u.buckets.each(function(F,j){h.push({name:j,dataList:F})});for(var A=h.length,y=-1,w=-1,b=0;b<A;++b){var x=h[b].dataList.length;x>y&&(y=x,w=b)}for(var O=0;O<A;++O){if(O===w)continue;for(var T=h[O].name,E=0;E<y;++E){for(var C=h[w].dataList[E][0],_=h[O].dataList.length,L=-1,P=0;P<_;++P){var k=h[O].dataList[P][0];if(k===C){L=P;break}}L===-1&&(r[s]=[],r[s][0]=C,r[s][1]=0,r[s][2]=T,s++)}}return r},getInitialData:function(r,s){for(var u=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],h=u.get("type"),A=f.filter(r.data,function(C){return C[2]!==void 0}),y=this.fixData(A||[]),w=[],b=this.nameMap=f.createHashMap(),x=0,O=0;O<y.length;++O)w.push(y[O][a]),b.get(y[O][a])||(b.set(y[O][a],x),x++);var T=p(y,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),E=new g(T,this);return E.initData(y),E},getLayerSeries:function(){for(var r=this.getData(),s=r.count(),u=[],h=0;h<s;++h)u[h]=h;var A=r.mapDimension("single"),y=c(u,function(b){return r.get("name",b)}),w=[];return y.buckets.each(function(b,x){b.sort(function(O,T){return r.get(A,O)-r.get(A,T)}),w.push({name:x,indices:b})}),w},getAxisTooltipData:function(r,s,u){f.isArray(r)||(r=r?[r]:[]);for(var h=this.getData(),A=this.getLayerSeries(),y=[],w=A.length,b,x=0;x<w;++x){for(var O=Number.MAX_VALUE,T=-1,E=A[x].indices.length,C=0;C<E;++C){var _=h.get(r[0],A[x].indices[C]),L=Math.abs(_-s);L<=O&&(b=_,O=L,T=A[x].indices[C])}y.push(T)}return{dataIndices:y,nestestValue:b}},formatTooltip:function(r){var s=this.getData(),u=s.getName(r),h=s.get(s.mapDimension("value"),r);return(isNaN(h)||h==null)&&(h="-"),i(u+" : "+h)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=e;M.exports=l},rkZ5:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("ProS"),m=n("c8qY"),g=n("D9ME"),f=n("fls0"),d=n("RSch"),c=n("akwb"),o=n("o40c"),i=n("ZYIC"),t=n("sK/D"),a=t.createClipPath,e=S.extendChartView({type:"lines",init:function(){},render:function(l,r,s){var u=l.getData(),h=this._updateLineDraw(u,l),A=l.get("zlevel"),y=l.get("effect.trailLength"),w=s.getZr(),b=w.painter.getType()==="svg";b||w.painter.getLayer(A).clear(!0),this._lastZlevel!=null&&!b&&w.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&y&&(b||w.configLayer(A,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(y/10+.9,1),0)})),h.updateData(u);var x=l.get("clip",!0)&&a(l.coordinateSystem,!1,l);x?this.group.setClipPath(x):this.group.removeClipPath(),this._lastZlevel=A,this._finished=!0},incrementalPrepareRender:function(l,r,s){var u=l.getData(),h=this._updateLineDraw(u,l);h.incrementalPrepareUpdate(u),this._clearLayer(s),this._finished=!1},incrementalRender:function(l,r,s){this._lineDraw.incrementalUpdate(l,r.getData()),this._finished=l.end===r.getData().count()},updateTransform:function(l,r,s){var u=l.getData(),h=l.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var A=i.reset(l);A.progress&&A.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(l,r){var s=this._lineDraw,u=this._showEffect(r),h=!!r.get("polyline"),A=r.pipelineContext,y=A.large;return(!s||u!==this._hasEffet||h!==this._isPolyline||y!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=y?new o:new m(h?u?c:d:u?g:f),this._hasEffet=u,this._isPolyline=h,this._isLargeDraw=y,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var r=l.getZr(),s=r.painter.getType()==="svg";!s&&this._lastZlevel!=null&&r.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,r){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(r)},dispose:function(){}});M.exports=e},rmlV:function(M,N,n){var v=n("y+Vt"),p=v.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,g){var f=.5522848,d=g.cx,c=g.cy,o=g.rx,i=g.ry,t=o*f,a=i*f;m.moveTo(d-o,c),m.bezierCurveTo(d-o,c-a,d-t,c-i,d,c-i),m.bezierCurveTo(d+t,c-i,d+o,c-a,d+o,c),m.bezierCurveTo(d+o,c+a,d+t,c+i,d,c+i),m.bezierCurveTo(d-t,c+i,d-o,c+a,d-o,c),m.closePath()}});M.exports=p},rnVJ:function(M,N,n){var v=n("bYtY"),p=["rect","polygon","keep","clear"];function S(g,f){var d=g&&g.brush;if(v.isArray(d)||(d=d?[d]:[]),!d.length)return;var c=[];v.each(d,function(e){var l=e.hasOwnProperty("toolbox")?e.toolbox:[];l instanceof Array&&(c=c.concat(l))});var o=g&&g.toolbox;v.isArray(o)&&(o=o[0]),o||(o={feature:{}},g.toolbox=[o]);var i=o.feature||(o.feature={}),t=i.brush||(i.brush={}),a=t.type||(t.type=[]);a.push.apply(a,c),m(a),f&&!a.length&&a.push.apply(a,p)}function m(g){var f={};v.each(g,function(d){f[d]=1}),g.length=0,v.each(f,function(d,c){g.push(c)})}M.exports=S},rwxt:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=n("GdRQ");function p(d,c){if(!(d instanceof c))throw new TypeError("Cannot call a class as a function")}function S(d,c){for(var o=0;o<c.length;o++){var i=c[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(d,i.key,i)}}function m(d,c,o){return c&&S(d.prototype,c),o&&S(d,o),d}var g=!v.supportsCursorURIs||v.isTouchDevice,f=function(){function d(){p(this,d),this._target=null,this._canvas=document.createElement("canvas"),g&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return m(d,[{key:"attach",value:function(o){if(this._target&&this.detach(),this._target=o,g){document.body.appendChild(this._canvas);var i={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,i),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,i),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,i),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,i)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(g){var o={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,o),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,o),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,o),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,o),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(o,i,t,a,e){if(a===0||e===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-i,this._position.y=this._position.y+this._hotSpot.y-t,this._hotSpot.x=i,this._hotSpot.y=t;var l=this._canvas.getContext("2d");this._canvas.width=a,this._canvas.height=e;var r;try{r=new ImageData(new Uint8ClampedArray(o),a,e)}catch(u){r=l.createImageData(a,e),r.data.set(new Uint8ClampedArray(o))}if(l.clearRect(0,0,a,e),l.putImageData(r,0,0),g)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+i+" "+t+", default"}}},{key:"clear",value:function(){this._target.style.cursor="none",this._canvas.width=0,this._canvas.height=0,this._position.x=this._position.x+this._hotSpot.x,this._position.y=this._position.y+this._hotSpot.y,this._hotSpot.x=0,this._hotSpot.y=0}},{key:"move",value:function(o,i){if(!g)return;window.visualViewport?(this._position.x=o+window.visualViewport.offsetLeft,this._position.y=i+window.visualViewport.offsetTop):(this._position.x=o,this._position.y=i),this._updatePosition();var t=document.elementFromPoint(o,i);this._updateVisibility(t)}},{key:"_handleMouseOver",value:function(o){this._handleMouseMove(o)}},{key:"_handleMouseLeave",value:function(o){this._updateVisibility(o.relatedTarget)}},{key:"_handleMouseMove",value:function(o){this._updateVisibility(o.target),this._position.x=o.clientX-this._hotSpot.x,this._position.y=o.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(o){var i=this,t=document.elementFromPoint(o.clientX,o.clientY);this._updateVisibility(t),this._captureIsActive()&&window.setTimeout(function(){if(!i._target)return;t=document.elementFromPoint(o.clientX,o.clientY),i._updateVisibility(t)},0)}},{key:"_showCursor",value:function(){this._canvas.style.visibility==="hidden"&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){this._canvas.style.visibility!=="hidden"&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(o){return o?o===this._target?!0:this._target.contains(o)?!(window.getComputedStyle(o).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(o){this._captureIsActive()&&(o=document.captureElement),this._shouldShowCursor(o)?this._showCursor():this._hideCursor()}},{key:"_updatePosition",value:function(){this._canvas.style.left=this._position.x+"px",this._canvas.style.top=this._position.y+"px"}},{key:"_captureIsActive",value:function(){return document.captureElement&&document.documentElement.contains(document.captureElement)}}]),d}();N.default=f},rySg:function(M,N,n){n("SMc4"),n("8nMs")},s2MQ:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};N.default=v},s2lz:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("IwbS"),m=n("gPAo"),g=n("VaxA"),f=n("9hCq"),d=n("SgGq"),c=n("mFDi"),o=n("Fofx"),i=n("5s0K"),t=n("KCsZ"),a=n("7aKB"),e=a.windowOpen,l=p.bind,r=S.Group,s=S.Rect,u=p.each,h=3,A=["label"],y=["emphasis","label"],w=["upperLabel"],b=["emphasis","upperLabel"],x=10,O=1,T=2,E=t([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(F){var j=E(F);return j.stroke=j.fill=j.lineWidth=null,j},_=v.extendChartView({type:"treemap",init:function(F,j){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(F,j,z,R){var U=j.findComponents({mainType:"series",subType:"treemap",query:R});if(p.indexOf(U,F)<0)return;this.seriesModel=F,this.api=z,this.ecModel=j;var B=["treemapZoomToNode","treemapRootToNode"],H=g.retrieveTargetInfo(R,B,F),K=R&&R.type,V=F.layoutInfo,W=!this._oldTree,G=this._storage,re=K==="treemapRootToNode"&&H&&G?{rootNodeGroup:G.nodeGroup[H.node.getRawIndex()],direction:R.direction}:null,ye=this._giveContainerGroup(V),$=this._doRender(ye,F,re);!W&&(!K||K==="treemapZoomToNode"||K==="treemapRootToNode")?this._doAnimation(ye,$,F,re):$.renderFinally(),this._resetController(z),this._renderBreadcrumb(F,z,H)},_giveContainerGroup:function(F){var j=this._containerGroup;return j||(j=this._containerGroup=new r,this._initEvents(j),this.group.add(j)),j.attr("position",[F.x,F.y]),j},_doRender:function(F,j,z){var R=j.getData().tree,U=this._oldTree,B=L(),H=L(),K=this._storage,V=[],W=p.curry(P,j,H,K,z,B,V);re(R.root?[R.root]:[],U&&U.root?[U.root]:[],F,R===U||!U,0);var G=ye(K);return this._oldTree=R,this._storage=H,{lastsForAnimation:B,willDeleteEls:G,renderFinally:$};function re(ve,Ce,Se,Ke,ue){Ke?(Ce=ve,u(ve,function(le,et){!le.isRemoved()&&ee(et,et)})):new m(Ce,ve,Le,Le).add(ee).update(ee).remove(p.curry(ee,null)).execute();function Le(le){return le.getId()}function ee(le,et){var Re=le!=null?ve[le]:null,Ae=et!=null?Ce[et]:null,oe=W(Re,Ae,Se,ue);oe&&re(Re&&Re.viewChildren||[],Ae&&Ae.viewChildren||[],oe,Ke,ue+1)}}function ye(ve){var Ce=L();return ve&&u(ve,function(Se,Ke){var ue=Ce[Ke];u(Se,function(Le){Le&&(ue.push(Le),Le.__tmWillDelete=1)})}),Ce}function $(){u(G,function(ve){u(ve,function(Ce){Ce.parent&&Ce.parent.remove(Ce)})}),u(V,function(ve){ve.invisible=!0,ve.dirty()})}},_doAnimation:function(F,j,z,R){if(!z.get("animation"))return;var U=z.get("animationDurationUpdate"),B=z.get("animationEasing"),H=i.createWrap();u(j.willDeleteEls,function(K,V){u(K,function(W,G){if(W.invisible)return;var re=W.parent,ye;if(R&&R.direction==="drillDown")ye=re===R.rootNodeGroup?{shape:{x:0,y:0,width:re.__tmNodeWidth,height:re.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var $=0,ve=0;re.__tmWillDelete||($=re.__tmNodeWidth/2,ve=re.__tmNodeHeight/2),ye=V==="nodeGroup"?{position:[$,ve],style:{opacity:0}}:{shape:{x:$,y:ve,width:0,height:0},style:{opacity:0}}}ye&&H.add(W,ye,U,B)})}),u(this._storage,function(K,V){u(K,function(W,G){var re=j.lastsForAnimation[V][G],ye={};if(!re)return;V==="nodeGroup"?re.old&&(ye.position=W.position.slice(),W.attr("position",re.old)):(re.old&&(ye.shape=p.extend({},W.shape),W.setShape(re.old)),re.fadein?(W.setStyle("opacity",0),ye.style={opacity:1}):W.style.opacity!==1&&(ye.style={opacity:1})),H.add(W,ye,U,B)})},this),this._state="animating",H.done(l(function(){this._state="ready",j.renderFinally()},this)).start()},_resetController:function(F){var j=this._controller;j||(j=this._controller=new d(F.getZr()),j.enable(this.seriesModel.get("roam")),j.on("pan",l(this._onPan,this)),j.on("zoom",l(this._onZoom,this)));var z=new c(0,0,F.getWidth(),F.getHeight());j.setPointerChecker(function(R,U,B){return z.contain(U,B)})},_clearController:function(){var F=this._controller;F&&(F.dispose(),F=null)},_onPan:function(F){if(this._state!=="animating"&&(Math.abs(F.dx)>h||Math.abs(F.dy)>h)){var j=this.seriesModel.getData().tree.root;if(!j)return;var z=j.getLayout();if(!z)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x+F.dx,y:z.y+F.dy,width:z.width,height:z.height}})}},_onZoom:function(F){var j=F.originX,z=F.originY;if(this._state!=="animating"){var R=this.seriesModel.getData().tree.root;if(!R)return;var U=R.getLayout();if(!U)return;var B=new c(U.x,U.y,U.width,U.height),H=this.seriesModel.layoutInfo;j-=H.x,z-=H.y;var K=o.create();o.translate(K,K,[-j,-z]),o.scale(K,K,[F.scale,F.scale]),o.translate(K,K,[j,z]),B.applyTransform(K),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:B.x,y:B.y,width:B.width,height:B.height}})}},_initEvents:function(F){F.on("click",function(j){if(this._state!=="ready")return;var z=this.seriesModel.get("nodeClick",!0);if(!z)return;var R=this.findTarget(j.offsetX,j.offsetY);if(!R)return;var U=R.node;if(U.getLayout().isLeafRoot)this._rootToNode(R);else if(z==="zoomToNode")this._zoomToNode(R);else if(z==="link"){var B=U.hostTree.data.getItemModel(U.dataIndex),H=B.get("link",!0),K=B.get("target",!0)||"blank";H&&e(H,K)}},this)},_renderBreadcrumb:function(F,j,z){z||(z=F.get("leafDepth",!0)!=null?{node:F.getViewRoot()}:this.findTarget(j.getWidth()/2,j.getHeight()/2),z||(z={node:F.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new f(this.group))).render(F,j,z.node,l(R,this));function R(U){this._state!=="animating"&&(g.aboveViewRoot(F.getViewRoot(),U)?this._rootToNode({node:U}):this._zoomToNode({node:U}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(F){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},_rootToNode:function(F){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},findTarget:function(F,j){var z,R=this.seriesModel.getViewRoot();return R.eachNode({attr:"viewChildren",order:"preorder"},function(U){var B=this._storage.background[U.getRawIndex()];if(B){var H=B.transformCoordToLocal(F,j),K=B.shape;if(K.x<=H[0]&&H[0]<=K.x+K.width&&K.y<=H[1]&&H[1]<=K.y+K.height)z={node:U,offsetX:H[0],offsetY:H[1]};else return!1}},this),z}});function L(){return{nodeGroup:[],background:[],content:[]}}function P(F,j,z,R,U,B,H,K,V,W){if(!H)return;var G=H.getLayout(),re=F.getData();if(re.setItemGraphicEl(H.dataIndex,null),!G||!G.isInView)return;var ye=G.width,$=G.height,ve=G.borderWidth,Ce=G.invisible,Se=H.getRawIndex(),Ke=K&&K.getRawIndex(),ue=H.viewChildren,Le=G.upperHeight,ee=ue&&ue.length,le=H.getModel("itemStyle"),et=H.getModel("emphasis.itemStyle"),Re=fe("nodeGroup",r);if(!Re)return;if(V.add(Re),Re.attr("position",[G.x||0,G.y||0]),Re.__tmNodeWidth=ye,Re.__tmNodeHeight=$,G.isAboveViewRoot)return Re;var Ae=H.getModel(),oe=fe("background",s,W,O);if(oe&&be(Re,oe,ee&&G.upperLabelHeight),ee)S.isHighDownDispatcher(Re)&&S.setAsHighDownDispatcher(Re,!1),oe&&(S.setAsHighDownDispatcher(oe,!0),re.setItemGraphicEl(H.dataIndex,oe));else{var ce=fe("content",s,W,T);ce&&Te(Re,ce),oe&&S.isHighDownDispatcher(oe)&&S.setAsHighDownDispatcher(oe,!1),S.setAsHighDownDispatcher(Re,!0),re.setItemGraphicEl(H.dataIndex,Re)}return Re;function be(Et,Ze,Ne){if(Ze.dataIndex=H.dataIndex,Ze.seriesIndex=F.seriesIndex,Ze.setShape({x:0,y:0,width:ye,height:$}),Ce)Be(Ze);else{Ze.invisible=!1;var It=H.getVisual("borderColor",!0),Xe=et.get("borderColor"),Ot=C(le);Ot.fill=It;var Bt=E(et);if(Bt.fill=Xe,Ne){var kt=ye-2*ve;De(Ot,Bt,It,kt,Le,{x:ve,y:0,width:kt,height:Le})}else Ot.text=Bt.text=null;Ze.setStyle(Ot),S.setElementHoverStyle(Ze,Bt)}Et.add(Ze)}function Te(Et,Ze){Ze.dataIndex=H.dataIndex,Ze.seriesIndex=F.seriesIndex;var Ne=Math.max(ye-2*ve,0),It=Math.max($-2*ve,0);if(Ze.culling=!0,Ze.setShape({x:ve,y:ve,width:Ne,height:It}),Ce)Be(Ze);else{Ze.invisible=!1;var Xe=H.getVisual("color",!0),Ot=C(le);Ot.fill=Xe;var Bt=E(et);De(Ot,Bt,Xe,Ne,It),Ze.setStyle(Ot),S.setElementHoverStyle(Ze,Bt)}Et.add(Ze)}function Be(Et){!Et.invisible&&B.push(Et)}function De(Et,Ze,Ne,It,Xe,Ot){var Bt=Ae.get("name"),kt=Ae.getModel(Ot?w:A),_t=Ae.getModel(Ot?b:y),Ft=kt.getShallow("show");S.setLabelStyle(Et,Ze,kt,_t,{defaultText:Ft?Bt:null,autoColor:Ne,isRectText:!0,labelFetcher:F,labelDataIndex:H.dataIndex,labelProp:Ot?"upperLabel":"label"}),ae(Et,Ot,G),ae(Ze,Ot,G),Ot&&(Et.textRect=p.clone(Ot)),Et.truncate=Ft&&kt.get("ellipsis")?{outerWidth:It,outerHeight:Xe,minChar:2}:null}function ae(Et,Ze,Ne){var It=Et.text;if(!Ze&&Ne.isLeafRoot&&It!=null){var Xe=F.get("drillDownIcon",!0);Et.text=Xe?Xe+" "+It:It}}function fe(Et,Ze,Ne,It){var Xe=Ke!=null&&z[Et][Ke],Ot=U[Et];return Xe?(z[Et][Ke]=null,Oe(Ot,Xe,Et)):Ce||(Xe=new Ze({z:k(Ne,It)}),Xe.__tmDepth=Ne,Xe.__tmStorageName=Et,Je(Ot,Xe,Et)),j[Et][Se]=Xe}function Oe(Et,Ze,Ne){var It=Et[Se]={};It.old=Ne==="nodeGroup"?Ze.position.slice():p.extend({},Ze.shape)}function Je(Et,Ze,Ne){var It=Et[Se]={},Xe=H.parentNode;if(Xe&&(!R||R.direction==="drillDown")){var Ot=0,Bt=0,kt=U.background[Xe.getRawIndex()];!R&&kt&&kt.old&&(Ot=kt.old.width,Bt=kt.old.height),It.old=Ne==="nodeGroup"?[0,Bt]:{x:Ot,y:Bt,width:0,height:0}}It.fadein=Ne!=="nodeGroup"}}function k(F,j){var z=F*x+j;return(z-1)/z}M.exports=_},sAZ8:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("+rIm"),m=n("/IIm"),g=n("9KIM"),f=n("IwbS"),d=["axisLine","axisTickLabel","axisName"],c=v.extendComponentView({type:"parallelAxis",init:function(e,l){c.superApply(this,"init",arguments),(this._brushController=new m(l.getZr())).on("brush",p.bind(this._onBrush,this))},render:function(e,l,r,s){if(o(e,l,s))return;this.axisModel=e,this.api=r,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!e.get("show"))return;var h=t(e,l),A=h.coordinateSystem,y=e.getAreaSelectStyle(),w=y.width,b=e.axis.dim,x=A.getAxisLayout(b),O=p.extend({strokeContainThreshold:w},x),T=new S(e,O);p.each(d,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(O,y,e,h,w,r);var E=s&&s.animation===!1?null:e;f.groupTransition(u,this._axisGroup,E)},_refreshBrushController:function(e,l,r,s,u,h){var A=r.axis.getExtent(),y=A[1]-A[0],w=Math.min(30,Math.abs(y)*.1),b=f.BoundingRect.create({x:A[0],y:-u/2,width:y,height:u});b.x-=w,b.width+=2*w,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:g.makeRectPanelClipPath(b),isTargetByCursor:g.makeRectIsTargetByCursor(b,h,s),getLinearBrushOtherExtent:g.makeLinearBrushOtherExtent(b,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(i(r))},_onBrush:function(e,l){var r=this.axisModel,s=r.axis,u=p.map(e,function(h){return[s.coordToData(h.range[0],!0),s.coordToData(h.range[1],!0)]});(!r.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:r.id,intervals:u})},dispose:function(){this._brushController.dispose()}});function o(e,l,r){return r&&r.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:r})[0]===e}function i(e){var l=e.axis;return p.map(e.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(r[0],!0),l.dataToCoord(r[1],!0)]}})}function t(e,l){return l.getComponent("parallel",e.get("parallelIndex"))}var a=c;M.exports=a},sE09:function(M,N,n){},sGsY:function(M,N,n){"use strict";var v=n("lSNA"),p=n.n(v),S=n("pVnL"),m=n.n(S),g=n("q1tI"),f=n("TSYQ"),d=n.n(f),c=n("H84U"),o=n("B6l+"),i=n.n(o),t=function(H){var K=H.value,V=H.formatter,W=H.precision,G=H.decimalSeparator,re=H.groupSeparator,ye=re===void 0?"":re,$=H.prefixCls,ve;if(typeof V=="function")ve=V(K);else{var Ce=String(K),Se=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Se||Ce==="-")ve=Ce;else{var Ke=Se[1],ue=Se[2]||"0",Le=Se[4]||"";ue=ue.replace(/\B(?=(\d{3})+(?!\d))/g,ye),typeof W=="number"&&(Le=i()(Le,W,"0").slice(0,W)),Le&&(Le="".concat(G).concat(Le)),ve=[g.createElement("span",{key:"int",className:"".concat($,"-content-value-int")},Ke,ue),Le&&g.createElement("span",{key:"decimal",className:"".concat($,"-content-value-decimal")},Le)]}}return g.createElement("span",{className:"".concat($,"-content-value")},ve)},a=t,e=function(H){var K=H.prefixCls,V=H.className,W=H.style,G=H.valueStyle,re=H.value,ye=re===void 0?0:re,$=H.title,ve=H.valueRender,Ce=H.prefix,Se=H.suffix,Ke=H.direction,ue=H.onMouseEnter,Le=H.onMouseLeave,ee=g.createElement(a,m()({},H,{value:ye})),le=d()(K,V,p()({},"".concat(K,"-rtl"),Ke==="rtl"));return g.createElement("div",{className:le,style:W,onMouseEnter:ue,onMouseLeave:Le},$&&g.createElement("div",{className:"".concat(K,"-title")},$),g.createElement("div",{style:G,className:"".concat(K,"-content")},Ce&&g.createElement("span",{className:"".concat(K,"-content-prefix")},Ce),ve?ve(ee):ee,Se&&g.createElement("span",{className:"".concat(K,"-content-suffix")},Se)))};e.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(c.c)({prefixCls:"statistic"})(e),r=l,s=n("lwsE"),u=n.n(s),h=n("W8MJ"),A=n.n(h),y=n("7W2i"),w=n.n(y),b=n("LQ03"),x=n.n(b),O=n("J4zp"),T=n.n(O),E=n("QQZ/"),C=n.n(E),_=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function L(B,H){var K=B,V=/\[[^\]]*]/g,W=(H.match(V)||[]).map(function($){return $.slice(1,-1)}),G=H.replace(V,"[]"),re=_.reduce(function($,ve){var Ce=T()(ve,2),Se=Ce[0],Ke=Ce[1];if($.indexOf(Se)!==-1){var ue=Math.floor(K/Ke);return K-=ue*Ke,$.replace(new RegExp("".concat(Se,"+"),"g"),function(Le){var ee=Le.length;return C()(ue.toString(),ee,"0")})}return $},G),ye=0;return re.replace(V,function(){var $=W[ye];return ye+=1,$})}function P(B,H){var K=H.format,V=K===void 0?"":K,W=new Date(B).getTime(),G=Date.now(),re=Math.max(W-G,0);return L(re,V)}var k=n("0n0R"),F=1e3/30;function j(B){return new Date(B).getTime()}var z=function(B){w()(K,B);var H=x()(K);function K(){var V;return u()(this,K),V=H.apply(this,arguments),V.syncTimer=function(){var W=V.props.value,G=j(W);G>=Date.now()?V.startTimer():V.stopTimer()},V.startTimer=function(){if(V.countdownId)return;V.countdownId=window.setInterval(function(){V.forceUpdate()},F)},V.stopTimer=function(){var W=V.props,G=W.onFinish,re=W.value;if(V.countdownId){clearInterval(V.countdownId),V.countdownId=void 0;var ye=j(re);G&&ye<Date.now()&&G()}},V.formatCountdown=function(W,G){var re=V.props.format;return P(W,m()(m()({},G),{format:re}))},V.valueRender=function(W){return Object(k.a)(W,{title:void 0})},V}return A()(K,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return g.createElement(r,m()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),K}(g.Component);z.defaultProps={format:"HH:mm:ss"};var R=z;r.Countdown=R;var U=N.a=r},"sK/D":function(M,N,n){var v=n("IwbS"),p=n("OELB"),S=p.round;function m(d,c,o){var i=d.getArea(),t=d.getBaseAxis().isHorizontal(),a=i.x,e=i.y,l=i.width,r=i.height,s=o.get("lineStyle.width")||2;a-=s/2,e-=s/2,l+=s,r+=s,a=Math.floor(a),l=Math.round(l);var u=new v.Rect({shape:{x:a,y:e,width:l,height:r}});return c&&(u.shape[t?"width":"height"]=0,v.initProps(u,{shape:{width:l,height:r}},o)),u}function g(d,c,o){var i=d.getArea(),t=new v.Sector({shape:{cx:S(d.cx,1),cy:S(d.cy,1),r0:S(i.r0,1),r:S(i.r,1),startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return c&&(t.shape.endAngle=i.startAngle,v.initProps(t,{shape:{endAngle:i.endAngle}},o)),t}function f(d,c,o){if(d){if(d.type==="polar")return g(d,c,o);if(d.type==="cartesian2d")return m(d,c,o)}else return null;return null}N.createGridClipPath=m,N.createPolarClipPath=g,N.createClipPath=f},sKgW:function(M,N){var n=9007199254740991,v=Math.floor;function p(S,m){var g="";if(!S||m<1||m>n)return g;do m%2&&(g+=S),m=v(m/2),m&&(S+=S);while(m);return g}M.exports=p},sPJy:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("AOa7"),m=n.n(S),g=n("lUTK"),f=n("qVdP")},sPtV:function(M,N,n){"use strict";n.d(N,"a",function(){return m});var v=n("q1tI"),p=n.n(v),S=n("hkKa");function m(g){var f=v.useRef(g),d=Object(S.a)();return[function(){return f.current},function(c){f.current=c,d()}]}},sRBo:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("KCY9"),m=n.n(S)},sRwP:function(M,N,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sS/r":function(M,N,n){var v=n("4fz+"),p=n("iRjW"),S=n("Yl7c"),m=function(){this.group=new v,this.uid=p.getUID("viewComponent")};m.prototype={constructor:m,init:function(d,c){},render:function(d,c,o,i){},dispose:function(){},filterForExposedEvent:null};var g=m.prototype;g.updateView=g.updateLayout=g.updateVisual=function(d,c,o,i){},S.enableClassExtend(m),S.enableClassManagement(m,{registerWhenExtend:!0});var f=m;M.exports=f},"sW+o":function(M,N,n){var v=n("SrGk"),p=n("bYtY"),S=n("SUKs"),m=n("Qe9p");function g(d,c){v.call(this,d,c,["linearGradient","radialGradient"],"__gradient_in_use__")}p.inherits(g,v),g.prototype.addWithoutUpdate=function(d,c){if(c&&c.style){var o=this;p.each(["fill","stroke"],function(i){if(c.style[i]&&(c.style[i].type==="linear"||c.style[i].type==="radial")){var t=c.style[i],a=o.getDefs(!0),e;t._dom?(e=t._dom,a.contains(t._dom)||o.addDom(e)):e=o.add(t),o.markUsed(c);var l=e.getAttribute("id");d.setAttribute(i,"url(#"+l+")")}})}},g.prototype.add=function(d){var c;if(d.type==="linear")c=this.createElement("linearGradient");else if(d.type==="radial")c=this.createElement("radialGradient");else return S("Illegal gradient type."),null;return d.id=d.id||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-gradient-"+d.id),this.updateDom(d,c),this.addDom(c),c},g.prototype.update=function(d){var c=this;v.prototype.update.call(this,d,function(){var o=d.type,i=d._dom.tagName;o==="linear"&&i==="linearGradient"||o==="radial"&&i==="radialGradient"?c.updateDom(d,d._dom):(c.removeDom(d),c.add(d))})},g.prototype.updateDom=function(d,c){if(d.type==="linear")c.setAttribute("x1",d.x),c.setAttribute("y1",d.y),c.setAttribute("x2",d.x2),c.setAttribute("y2",d.y2);else if(d.type==="radial")c.setAttribute("cx",d.x),c.setAttribute("cy",d.y),c.setAttribute("r",d.r);else{S("Illegal gradient type.");return}d.global?c.setAttribute("gradientUnits","userSpaceOnUse"):c.setAttribute("gradientUnits","objectBoundingBox"),c.innerHTML="";for(var o=d.colorStops,i=0,t=o.length;i<t;++i){var a=this.createElement("stop");a.setAttribute("offset",o[i].offset*100+"%");var e=o[i].color;if(e.indexOf("rgba">-1)){var l=m.parse(e)[3],r=m.toHex(e);a.setAttribute("stop-color","#"+r),a.setAttribute("stop-opacity",l)}else a.setAttribute("stop-color",o[i].color);c.appendChild(a)}d._dom=c},g.prototype.markUsed=function(d){if(d.style){var c=d.style.fill;c&&c._dom&&v.prototype.markUsed.call(this,c._dom),c=d.style.stroke,c&&c._dom&&v.prototype.markUsed.call(this,c._dom)}};var f=g;M.exports=f},sdST:function(M,N,n){var v=n("hi0g");function p(S,m){return m=m||{},v(m.coordDimensions||[],S,{dimsDef:m.dimensionsDefine||S.dimensionsDefine,encodeDef:m.encodeDefine||S.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}M.exports=p},sjKO:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=S;var v=30,p=12;function S(m,g){var f,d,c,o,i,t,a,e,l,r,s,u,h,A,y,w,b,x,O,T,E,C,_,L,P;f=m.state,d=m.next_in,L=m.input,c=d+(m.avail_in-5),o=m.next_out,P=m.output,i=o-(g-m.avail_out),t=o+(m.avail_out-257),a=f.dmax,e=f.wsize,l=f.whave,r=f.wnext,s=f.window,u=f.hold,h=f.bits,A=f.lencode,y=f.distcode,w=(1<<f.lenbits)-1,b=(1<<f.distbits)-1;e:do{h<15&&(u+=L[d++]<<h,h+=8,u+=L[d++]<<h,h+=8),x=A[u&w];t:for(;;){if(O=x>>>24,u>>>=O,h-=O,O=x>>>16&255,O===0)P[o++]=x&65535;else if(O&16){T=x&65535,O&=15,O&&(h<O&&(u+=L[d++]<<h,h+=8),T+=u&(1<<O)-1,u>>>=O,h-=O),h<15&&(u+=L[d++]<<h,h+=8,u+=L[d++]<<h,h+=8),x=y[u&b];r:for(;;){if(O=x>>>24,u>>>=O,h-=O,O=x>>>16&255,O&16){if(E=x&65535,O&=15,h<O&&(u+=L[d++]<<h,h+=8,h<O&&(u+=L[d++]<<h,h+=8)),E+=u&(1<<O)-1,E>a){m.msg="invalid distance too far back",f.mode=v;break e}if(u>>>=O,h-=O,O=o-i,E>O){if(O=E-O,O>l&&f.sane){m.msg="invalid distance too far back",f.mode=v;break e}if(C=0,_=s,r===0){if(C+=e-O,O<T){T-=O;do P[o++]=s[C++];while(--O);C=o-E,_=P}}else if(r<O){if(C+=e+r-O,O-=r,O<T){T-=O;do P[o++]=s[C++];while(--O);if(C=0,r<T){O=r,T-=O;do P[o++]=s[C++];while(--O);C=o-E,_=P}}}else if(C+=r-O,O<T){T-=O;do P[o++]=s[C++];while(--O);C=o-E,_=P}for(;T>2;)P[o++]=_[C++],P[o++]=_[C++],P[o++]=_[C++],T-=3;T&&(P[o++]=_[C++],T>1&&(P[o++]=_[C++]))}else{C=o-E;do P[o++]=P[C++],P[o++]=P[C++],P[o++]=P[C++],T-=3;while(T>2);T&&(P[o++]=P[C++],T>1&&(P[o++]=P[C++]))}}else if((O&64)===0){x=y[(x&65535)+(u&(1<<O)-1)];continue r}else{m.msg="invalid distance code",f.mode=v;break e}break}}else if((O&64)===0){x=A[(x&65535)+(u&(1<<O)-1)];continue t}else if(O&32){f.mode=p;break e}else{m.msg="invalid literal/length code",f.mode=v;break e}break}}while(d<c&&o<t);T=h>>3,d-=T,h-=T<<3,u&=(1<<h)-1,m.next_in=d,m.next_out=o,m.avail_in=d<c?5+(c-d):5-(d-c),m.avail_out=o<t?257+(t-o):257-(o-t),f.hold=u,f.bits=h;return}},szbU:function(M,N,n){var v=n("bYtY"),p=v.each;function S(g){var f=g&&g.visualMap;v.isArray(f)||(f=f?[f]:[]),p(f,function(d){if(!d)return;m(d,"splitList")&&!m(d,"pieces")&&(d.pieces=d.splitList,delete d.splitList);var c=d.pieces;c&&v.isArray(c)&&p(c,function(o){v.isObject(o)&&(m(o,"start")&&!m(o,"min")&&(o.min=o.start),m(o,"end")&&!m(o,"max")&&(o.max=o.end))})})}function m(g,f){return g&&g.hasOwnProperty&&g.hasOwnProperty(f)}M.exports=S},t23M:function(M,N,n){"use strict";var v=n("wx14"),p=n("q1tI"),S=n("Zm9Q"),m=n("Kwbf"),g=n("VTBJ"),f=n("c+Xe"),d=n("m+aA"),c=n("bdgK"),o=new Map;function i(C){C.forEach(function(_){var L,P=_.target;(L=o.get(P))===null||L===void 0||L.forEach(function(k){return k(P)})})}var t=new c.default(i),a=null,e=null;function l(C,_){o.has(C)||(o.set(C,new Set),t.observe(C)),o.get(C).add(_)}function r(C,_){o.has(C)&&(o.get(C).delete(_),o.get(C).size||(t.unobserve(C),o.delete(C)))}var s=n("1OyB"),u=n("vuIU"),h=n("Ji7U"),A=n("LK+K"),y=function(C){Object(h.a)(L,C);var _=Object(A.a)(L);function L(){return Object(s.a)(this,L),_.apply(this,arguments)}return Object(u.a)(L,[{key:"render",value:function(){return this.props.children}}]),L}(p.Component),w=p.createContext(null);function b(C){var _=C.children,L=C.onBatchResize,P=p.useRef(0),k=p.useRef([]),F=p.useContext(w),j=p.useCallback(function(z,R,U){P.current+=1;var B=P.current;k.current.push({size:z,element:R,data:U}),Promise.resolve().then(function(){B===P.current&&(L==null||L(k.current),k.current=[])}),F==null||F(z,R,U)},[L,F]);return p.createElement(w.Provider,{value:j},_)}function x(C){var _=C.children,L=C.disabled,P=p.useRef(null),k=p.useRef(null),F=p.useContext(w),j=typeof _=="function",z=j?_(P):_,R=p.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),U=!j&&p.isValidElement(z)&&Object(f.c)(z),B=U?z.ref:null,H=p.useMemo(function(){return Object(f.a)(B,P)},[B,P]),K=p.useRef(C);K.current=C;var V=p.useCallback(function(W){var G=K.current,re=G.onResize,ye=G.data,$=W.getBoundingClientRect(),ve=$.width,Ce=$.height,Se=W.offsetWidth,Ke=W.offsetHeight,ue=Math.floor(ve),Le=Math.floor(Ce);if(R.current.width!==ue||R.current.height!==Le||R.current.offsetWidth!==Se||R.current.offsetHeight!==Ke){var ee={width:ue,height:Le,offsetWidth:Se,offsetHeight:Ke};R.current=ee;var le=Se===Math.round(ve)?ve:Se,et=Ke===Math.round(Ce)?Ce:Ke,Re=Object(g.a)(Object(g.a)({},ee),{},{offsetWidth:le,offsetHeight:et});F==null||F(Re,W,ye),re&&Promise.resolve().then(function(){re(Re,W)})}},[]);return p.useEffect(function(){var W=Object(d.a)(P.current)||Object(d.a)(k.current);return W&&!L&&l(W,V),function(){return r(W,V)}},[P.current,L]),p.createElement(y,{ref:k},U?p.cloneElement(z,{ref:H}):z)}var O="rc-observer-key";function T(C){var _=C.children,L=typeof _=="function"?[_]:Object(S.a)(_);return L.map(function(P,k){var F=(P==null?void 0:P.key)||"".concat(O,"-").concat(k);return p.createElement(x,Object(v.a)({},C,{key:F}),P)})}T.Collection=b;var E=N.a=T},t3Fx:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=Object.assign||function(s){for(var u=1;u<arguments.length;u++){var h=arguments[u];for(var A in h)Object.prototype.hasOwnProperty.call(h,A)&&(s[A]=h[A])}return s},p=function(){function s(u,h){for(var A=0;A<h.length;A++){var y=h[A];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(u,y.key,y)}}return function(u,h,A){return h&&s(u.prototype,h),A&&s(u,A),u}}(),S=n("q1tI"),m=t(S),g=n("17x9"),f=t(g),d=n("tkwv"),c=t(d),o=n("u3os"),i=n("kzFp");function t(s){return s&&s.__esModule?s:{default:s}}function a(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function e(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function l(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var r=function(s){l(u,s);function u(h){a(this,u);var A=e(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,h));return A.getEchartsInstance=function(){return A.echartsLib.getInstanceByDom(A.echartsElement)||A.echartsLib.init(A.echartsElement,A.props.theme,A.props.opts)},A.dispose=function(){if(A.echartsElement){try{(0,o.clear)(A.echartsElement)}catch(y){console.warn(y)}A.echartsLib.dispose(A.echartsElement)}},A.rerender=function(){var y=A.props,w=y.onEvents,b=y.onChartReady,x=A.renderEchartDom();A.bindEvents(x,w||{}),typeof b=="function"&&A.props.onChartReady(x),A.echartsElement&&(0,o.bind)(A.echartsElement,function(){try{x.resize()}catch(O){console.warn(O)}})},A.bindEvents=function(y,w){var b=function(T,E){typeof T=="string"&&typeof E=="function"&&y.on(T,function(C){E(C,y)})};for(var x in w)Object.prototype.hasOwnProperty.call(w,x)&&b(x,w[x])},A.renderEchartDom=function(){var y=A.getEchartsInstance();return y.setOption(A.props.option,A.props.notMerge||!1,A.props.lazyUpdate||!1),A.props.showLoading?y.showLoading(A.props.loadingOption||null):y.hideLoading(),y},A.echartsLib=h.echarts,A.echartsElement=null,A}return p(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(A){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(A,this.props))return;if(!(0,c.default)(A.theme,this.props.theme)||!(0,c.default)(A.opts,this.props.opts)||!(0,c.default)(A.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var y=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,c.default)((0,i.pick)(this.props,y),(0,i.pick)(A,y)))return;var w=this.renderEchartDom();if(!(0,c.default)(A.style,this.props.style)||!(0,c.default)(A.className,this.props.className))try{w.resize()}catch(b){console.warn(b)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var A=this,y=this.props,w=y.style,b=y.className,x=v({height:300},w);return m.default.createElement("div",{ref:function(T){A.echartsElement=T},style:x,className:"echarts-for-react "+b})}}]),u}(S.Component);N.default=r,r.propTypes={option:f.default.object.isRequired,echarts:f.default.object,notMerge:f.default.bool,lazyUpdate:f.default.bool,style:f.default.object,className:f.default.string,theme:f.default.oneOfType([f.default.string,f.default.object]),onChartReady:f.default.func,showLoading:f.default.bool,loadingOption:f.default.object,onEvents:f.default.object,opts:f.default.shape({devicePixelRatio:f.default.number,renderer:f.default.oneOf(["canvas","svg"]),width:f.default.oneOfType([f.default.number,f.default.oneOf([null,void 0,"auto"])]),height:f.default.oneOfType([f.default.number,f.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:f.default.func},r.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(M,N,n){var v=n("bYtY"),p=n("IwbS"),S=n("Qxkt"),m=n("Znkb"),g=n("+rIm"),f=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function d(t,a,e){a[1]>a[0]&&(a=a.slice().reverse());var l=t.coordToPoint([a[0],e]),r=t.coordToPoint([a[1],e]);return{x1:l[0],y1:l[1],x2:r[0],y2:r[1]}}function c(t){var a=t.getRadiusAxis();return a.inverse?0:1}function o(t){var a=t[0],e=t[t.length-1];a&&e&&Math.abs(Math.abs(a.coord-e.coord)-360)<1e-4&&t.pop()}var i=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,a){if(this.group.removeAll(),!t.get("show"))return;var e=t.axis,l=e.polar,r=l.getRadiusAxis().getExtent(),s=e.getTicksCoords(),u=e.getMinorTicksCoords(),h=v.map(e.getViewLabels(),function(A){var A=v.clone(A);return A.coord=e.dataToCoord(A.tickValue),A});o(h),o(s),v.each(f,function(A){t.get(A+".show")&&(!e.scale.isBlank()||A==="axisLine")&&this["_"+A](t,l,s,u,r,h)},this)},_axisLine:function(t,a,e,l,r){var s=t.getModel("axisLine.lineStyle"),u=c(a),h=u?0:1,A;r[h]===0?A=new p.Circle({shape:{cx:a.cx,cy:a.cy,r:r[u]},style:s.getLineStyle(),z2:1,silent:!0}):A=new p.Ring({shape:{cx:a.cx,cy:a.cy,r:r[u],r0:r[h]},style:s.getLineStyle(),z2:1,silent:!0}),A.style.fill=null,this.group.add(A)},_axisTick:function(t,a,e,l,r){var s=t.getModel("axisTick"),u=(s.get("inside")?-1:1)*s.get("length"),h=r[c(a)],A=v.map(e,function(y){return new p.Line({shape:d(a,[h,h+u],y.coord)})});this.group.add(p.mergePath(A,{style:v.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,a,e,l,r){if(!l.length)return;for(var s=t.getModel("axisTick"),u=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*u.get("length"),A=r[c(a)],y=[],w=0;w<l.length;w++)for(var b=0;b<l[w].length;b++)y.push(new p.Line({shape:d(a,[A,A+h],l[w][b].coord)}));this.group.add(p.mergePath(y,{style:v.defaults(u.getModel("lineStyle").getLineStyle(),v.defaults(s.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(t,a,e,l,r,s){var u=t.getCategories(!0),h=t.getModel("axisLabel"),A=h.get("margin"),y=t.get("triggerEvent");v.each(s,function(w,b){var x=h,O=w.tickValue,T=r[c(a)],E=a.coordToPoint([T+A,w.coord]),C=a.cx,_=a.cy,L=Math.abs(E[0]-C)/T<.3?"center":E[0]>C?"left":"right",P=Math.abs(E[1]-_)/T<.3?"middle":E[1]>_?"top":"bottom";u&&u[O]&&u[O].textStyle&&(x=new S(u[O].textStyle,h,h.ecModel));var k=new p.Text({silent:g.isLabelSilent(t)});this.group.add(k),p.setTextStyle(k.style,x,{x:E[0],y:E[1],textFill:x.getTextColor()||t.get("axisLine.lineStyle.color"),text:w.formattedLabel,textAlign:L,textVerticalAlign:P}),y&&(k.eventData=g.makeAxisEventDataBase(t),k.eventData.targetType="axisLabel",k.eventData.value=w.rawLabel)},this)},_splitLine:function(t,a,e,l,r){var s=t.getModel("splitLine"),u=s.getModel("lineStyle"),h=u.get("color"),A=0;h=h instanceof Array?h:[h];for(var y=[],w=0;w<e.length;w++){var b=A++%h.length;y[b]=y[b]||[],y[b].push(new p.Line({shape:d(a,r,e[w].coord)}))}for(var w=0;w<y.length;w++)this.group.add(p.mergePath(y[w],{style:v.defaults({stroke:h[w%h.length]},u.getLineStyle()),silent:!0,z:t.get("z")}))},_minorSplitLine:function(t,a,e,l,r){if(!l.length)return;for(var s=t.getModel("minorSplitLine"),u=s.getModel("lineStyle"),h=[],A=0;A<l.length;A++)for(var y=0;y<l[A].length;y++)h.push(new p.Line({shape:d(a,r,l[A][y].coord)}));this.group.add(p.mergePath(h,{style:u.getLineStyle(),silent:!0,z:t.get("z")}))},_splitArea:function(t,a,e,l,r){if(!e.length)return;var s=t.getModel("splitArea"),u=s.getModel("areaStyle"),h=u.get("color"),A=0;h=h instanceof Array?h:[h];for(var y=[],w=Math.PI/180,b=-e[0].coord*w,x=Math.min(r[0],r[1]),O=Math.max(r[0],r[1]),T=t.get("clockwise"),E=1;E<e.length;E++){var C=A++%h.length;y[C]=y[C]||[],y[C].push(new p.Sector({shape:{cx:a.cx,cy:a.cy,r0:x,r:O,startAngle:b,endAngle:-e[E].coord*w,clockwise:T},silent:!0})),b=-e[E].coord*w}for(var E=0;E<y.length;E++)this.group.add(p.mergePath(y[E],{style:v.defaults({fill:h[E%h.length]},u.getAreaStyle()),silent:!0}))}});M.exports=i},tSko:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("SRve")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="PlusOutlined";var i=m.forwardRef(o);N.default=i},tceW:function(M,N,n){var v=n("KCsZ"),p=v([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),S={getBarItemStyle:function(m){var g=p(this,m);if(this.getBorderLineDash){var f=this.getBorderLineDash();f&&(g.lineDash=f)}return g}};M.exports=S},tkwv:function(M,N,n){"use strict";var v=Array.isArray,p=Object.keys,S=Object.prototype.hasOwnProperty;M.exports=function m(g,f){if(g===f)return!0;if(g&&f&&typeof g=="object"&&typeof f=="object"){var d=v(g),c=v(f),o,i,t;if(d&&c){if(i=g.length,i!=f.length)return!1;for(o=i;o--!==0;)if(!m(g[o],f[o]))return!1;return!0}if(d!=c)return!1;var a=g instanceof Date,e=f instanceof Date;if(a!=e)return!1;if(a&&e)return g.getTime()==f.getTime();var l=g instanceof RegExp,r=f instanceof RegExp;if(l!=r)return!1;if(l&&r)return g.toString()==f.toString();var s=p(g);if(i=s.length,i!==p(f).length)return!1;for(o=i;o--!==0;)if(!S.call(f,s[o]))return!1;for(o=i;o--!==0;)if(t=s[o],!m(g[t],f[t]))return!1;return!0}return g!==g&&f!==f}},txkQ:function(M,N,n){var v=n("aX58");N.zrender=v;var p=n("Fofx");N.matrix=p;var S=n("QBsz");N.vector=S;var m=n("bYtY"),g=n("Qe9p");N.color=g;var f=n("IwbS"),d=n("OELB");N.number=d;var c=n("7aKB");N.format=c;var o=n("iLNv"),i=o.throttle;N.throttle=o.throttle;var t=n("FUi9");N.helper=t;var a=n("vafp");N.parseGeoJSON=a;var e=n("YXkt");N.List=e;var l=n("Qxkt");N.Model=l;var r=n("hM6l");N.Axis=r;var s=n("ItGF");N.env=s;var u=a,h={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(y){h[y]=m[y]});var A={};m.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(y){A[y]=f[y]}),N.parseGeoJson=u,N.util=h,N.graphic=A},u3DP:function(M,N,n){var v=n("6GrX"),p=n("OELB"),S=p.parsePercent,m=Math.PI/180;function g(o,i,t,a,e,l,r,s,u,h){o.sort(function(L,P){return L.y-P.y});function A(L,P,k,F){for(var j=L;j<P&&!(o[j].y+k>u+r);j++)if(o[j].y+=k,j>L&&j+1<P&&o[j+1].y>o[j].y+o[j].height){y(j,k/2);return}y(P-1,k/2)}function y(L,P){for(var k=L;k>=0&&!(o[k].y-P<u);k--)if(o[k].y-=P,k>0&&o[k].y>o[k-1].y+o[k-1].height)break}function w(L,P,k,F,j,z){for(var R=(z>0,P?Number.MAX_VALUE:0),U=0,B=L.length;U<B;U++){if(L[U].labelAlignTo!=="none")continue;var H=Math.abs(L[U].y-F),K=L[U].len,V=L[U].len2,W=H<j+K?Math.sqrt((j+K+V)*(j+K+V)-H*H):Math.abs(L[U].x-k);P&&W>=R&&(W=R-10),!P&&W<=R&&(W=R+10),L[U].x=k+W*z,R=W}}for(var b=0,x,O=o.length,T=[],E=[],C=0;C<O;C++){if(o[C].position==="outer"&&o[C].labelAlignTo==="labelLine"){var _=o[C].x-h;o[C].linePoints[1][0]+=_,o[C].x=h}x=o[C].y-b,x<0&&A(C,O,-x,e),b=o[C].y+o[C].height}r-b<0&&y(O-1,b-r);for(var C=0;C<O;C++)o[C].y>=t?E.push(o[C]):T.push(o[C]);w(T,!1,i,t,a,e),w(E,!0,i,t,a,e)}function f(o,i,t,a,e,l,r,s){for(var u=[],h=[],A=Number.MAX_VALUE,y=-Number.MAX_VALUE,w=0;w<o.length;w++){if(d(o[w]))continue;o[w].x<i?(A=Math.min(A,o[w].x),u.push(o[w])):(y=Math.max(y,o[w].x),h.push(o[w]))}g(h,i,t,a,1,e,l,r,s,y),g(u,i,t,a,-1,e,l,r,s,A);for(var w=0;w<o.length;w++){var b=o[w];if(d(b))continue;var x=b.linePoints;if(x){var O=b.labelAlignTo==="edge",T=b.textRect.width,E;O?b.x<i?E=x[2][0]-b.labelDistance-r-b.labelMargin:E=r+e-b.labelMargin-x[2][0]-b.labelDistance:b.x<i?E=b.x-r-b.bleedMargin:E=r+e-b.x-b.bleedMargin,E<b.textRect.width&&(b.text=v.truncateText(b.text,E,b.font),b.labelAlignTo==="edge"&&(T=v.getWidth(b.text,b.font)));var C=x[1][0]-x[2][0];O?b.x<i?x[2][0]=r+b.labelMargin+T+b.labelDistance:x[2][0]=r+e-b.labelMargin-T-b.labelDistance:(b.x<i?x[2][0]=b.x+b.labelDistance:x[2][0]=b.x-b.labelDistance,x[1][0]=x[2][0]+C),x[1][1]=x[2][1]=b.y}}}function d(o){return o.position==="center"}function c(o,i,t,a,e,l){var r=o.getData(),s=[],u,h,A=!1,y=(o.get("minShowLabelAngle")||0)*m;r.each(function(w){var b=r.getItemLayout(w),x=r.getItemModel(w),O=x.getModel("label"),T=O.get("position")||x.get("emphasis.label.position"),E=O.get("distanceToLabelLine"),C=O.get("alignTo"),_=S(O.get("margin"),t),L=O.get("bleedMargin"),P=O.getFont(),k=x.getModel("labelLine"),F=k.get("length");F=S(F,t);var j=k.get("length2");if(j=S(j,t),b.angle<y)return;var z=(b.startAngle+b.endAngle)/2,R=Math.cos(z),U=Math.sin(z),B,H,K,V;u=b.cx,h=b.cy;var W=o.getFormattedLabel(w,"normal")||r.getName(w),G=v.getBoundingRect(W,P,V,"top"),re=T==="inside"||T==="inner";if(T==="center")B=b.cx,H=b.cy,V="center";else{var ye=(re?(b.r+b.r0)/2*R:b.r*R)+u,$=(re?(b.r+b.r0)/2*U:b.r*U)+h;if(B=ye+R*3,H=$+U*3,!re){var ve=ye+R*(F+i-b.r),Ce=$+U*(F+i-b.r),Se=ve+(R<0?-1:1)*j,Ke=Ce;C==="edge"?B=R<0?e+_:e+t-_:B=Se+(R<0?-E:E),H=Ke,K=[[ye,$],[ve,Ce],[Se,Ke]]}V=re?"center":C==="edge"?R>0?"right":"left":R>0?"left":"right"}var ue,Le=O.get("rotate");typeof Le=="number"?ue=Le*(Math.PI/180):ue=Le?R<0?-z+Math.PI:-z:0,A=!!ue,b.label={x:B,y:H,position:T,height:G.height,len:F,len2:j,linePoints:K,textAlign:V,verticalAlign:"middle",rotation:ue,inside:re,labelDistance:E,labelAlignTo:C,labelMargin:_,bleedMargin:L,textRect:G,text:W,font:P},re||s.push(b.label)}),!A&&o.get("avoidLabelOverlap")&&f(s,u,h,i,t,a,e,l)}M.exports=c},u3os:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.ver=N.clear=N.bind=void 0;var v=n("P4Qj"),p=function(f,d){var c=(0,v.getSensor)(f);return c.bind(d),function(){c.unbind(d)}};N.bind=p;var S=function(f){var d=(0,v.getSensor)(f);(0,v.removeSensor)(d)};N.clear=S;var m="1.0.1";N.ver=m},u4NN:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("Uc92")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="EyeOutlined";var i=m.forwardRef(o);N.default=i},u9fO:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("b80e"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},uAnK:function(M,N,n){var v=n("bYtY"),p=n("Kagy"),S=n("KxfA"),m=S.retrieveRawValue;function g(f,d){var c=d.getModel("aria");if(c.get("show")){if(c.get("description")){f.setAttribute("aria-label",c.get("description"));return}}else return;var o=0;d.eachSeries(function(w,b){++o},this);var i=c.get("data.maxCount")||10,t=c.get("series.maxCount")||10,a=Math.min(o,t),e;if(o<1)return;var l=A();l?e=u(h("general.withTitle"),{title:l}):e=h("general.withoutTitle");var r=[],s=o>1?"series.multiple.prefix":"series.single.prefix";e+=u(h(s),{seriesCount:o}),d.eachSeries(function(w,b){if(b<a){var x,O=w.get("name"),T="series."+(o>1?"multiple":"single")+".";x=h(O?T+"withName":T+"withoutName"),x=u(x,{seriesId:w.seriesIndex,seriesName:w.get("name"),seriesType:y(w.subType)});var E=w.getData();window.data=E,E.count()>i?x+=u(h("data.partialData"),{displayCnt:i}):x+=h("data.allData");for(var C=[],_=0;_<E.count();_++)if(_<i){var L=E.getName(_),P=m(E,_);C.push(u(h(L?"data.withName":"data.withoutName"),{name:L,value:P}))}x+=C.join(h("data.separator.middle"))+h("data.separator.end"),r.push(x)}}),e+=r.join(h("series.multiple.separator.middle"))+h("series.multiple.separator.end"),f.setAttribute("aria-label",e);function u(w,b){if(typeof w!="string")return w;var x=w;return v.each(b,function(O,T){x=x.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),O)}),x}function h(w){var b=c.get(w);if(b==null){for(var x=w.split("."),O=p.aria,T=0;T<x.length;++T)O=O[x[T]];return O}else return b}function A(){var w=d.getModel("title").option;return w&&w.length&&(w=w[0]),w&&w.text}function y(w){return p.series.typeNames[w]||"\u81EA\u5B9A\u4E49\u56FE"}}M.exports=g},uK0f:function(M,N,n){(function(v,p){M.exports=p()})(this,function(){"use strict";function v(p,S,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var g=p||[],f=[],d=0;do{var c=g.filter(function(o){return S(o,d)})[0];if(!c)break;f.push(c),g=c[m.childrenKeyName]||[],d+=1}while(g.length>0);return f}return v})},uOyE:function(M,N,n){var v=n("ProS");v.registerAction({type:"brush",event:"brush"},function(p,S){S.eachComponent({mainType:"brush",query:p},function(m){m.setAreas(p.areas)})}),v.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),v.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(M,N,n){M.exports=v;function v(){return n("gaXo"),{}}},uciX:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("wx14"),S=n("1OyB"),m=n("vuIU"),g=n("JX7q"),f=n("Ji7U"),d=n("LK+K"),c=n("rePB"),o=n("q1tI"),i=n("i8i4"),t=n.n(i),a=n("wgJM"),e=n("l4aY"),l=n("m+aA"),r=n("c+Xe"),s=n("zT1h"),u=n("QC+M"),h=n("TSYQ"),A=n.n(h);function y(le,et,Re){return Re?le[0]===et[0]:le[0]===et[0]&&le[1]===et[1]}function w(le,et,Re){var Ae=le[et]||{};return Object(v.a)(Object(v.a)({},Ae),Re)}function b(le,et,Re,Ae){for(var oe=Re.points,ce=Object.keys(le),be=0;be<ce.length;be+=1){var Te=ce[be];if(y(le[Te].points,oe,Ae))return"".concat(et,"-placement-").concat(Te)}return""}var x=n("ODXe"),O=n("Ff2n"),T=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var le=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(le)||/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(le==null?void 0:le.substr(0,4))},E=n("8XRh");function C(le){var et=le.prefixCls,Re=le.motion,Ae=le.animation,oe=le.transitionName;return Re||(Ae?{motionName:"".concat(et,"-").concat(Ae)}:oe?{motionName:oe}:null)}function _(le){var et=le.prefixCls,Re=le.visible,Ae=le.zIndex,oe=le.mask,ce=le.maskMotion,be=le.maskAnimation,Te=le.maskTransitionName;if(!oe)return null;var Be={};return(ce||Te||be)&&(Be=Object(v.a)({motionAppear:!0},C({motion:ce,prefixCls:et,transitionName:Te,animation:be}))),o.createElement(E.b,Object(p.a)({},Be,{visible:Re,removeOnLeave:!0}),function(De){var ae=De.className;return o.createElement("div",{style:{zIndex:Ae},className:A()("".concat(et,"-mask"),ae)})})}var L=n("9mu1"),P=n("TNol"),k=n("U8pU");function F(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return le};var le={},et=Object.prototype,Re=et.hasOwnProperty,Ae=Object.defineProperty||function(je,q,wt){je[q]=wt.value},oe=typeof Symbol=="function"?Symbol:{},ce=oe.iterator||"@@iterator",be=oe.asyncIterator||"@@asyncIterator",Te=oe.toStringTag||"@@toStringTag";function Be(je,q,wt){return Object.defineProperty(je,q,{value:wt,enumerable:!0,configurable:!0,writable:!0}),je[q]}try{Be({},"")}catch(je){Be=function(wt,Vt,lt){return wt[Vt]=lt}}function De(je,q,wt,Vt){var lt=q&&q.prototype instanceof Oe?q:Oe,or=Object.create(lt.prototype),vr=new te(Vt||[]);return Ae(or,"_invoke",{value:kt(je,wt,vr)}),or}function ae(je,q,wt){try{return{type:"normal",arg:je.call(q,wt)}}catch(Vt){return{type:"throw",arg:Vt}}}le.wrap=De;var fe={};function Oe(){}function Je(){}function Et(){}var Ze={};Be(Ze,ce,function(){return this});var Ne=Object.getPrototypeOf,It=Ne&&Ne(Ne(Q([])));It&&It!==et&&Re.call(It,ce)&&(Ze=It);var Xe=Et.prototype=Oe.prototype=Object.create(Ze);function Ot(je){["next","throw","return"].forEach(function(q){Be(je,q,function(wt){return this._invoke(q,wt)})})}function Bt(je,q){function wt(lt,or,vr,An){var hr=ae(je[lt],je,or);if(hr.type!=="throw"){var xr=hr.arg,nr=xr.value;return nr&&Object(k.a)(nr)=="object"&&Re.call(nr,"__await")?q.resolve(nr.__await).then(function(Yt){wt("next",Yt,vr,An)},function(Yt){wt("throw",Yt,vr,An)}):q.resolve(nr).then(function(Yt){xr.value=Yt,vr(xr)},function(Yt){return wt("throw",Yt,vr,An)})}An(hr.arg)}var Vt;Ae(this,"_invoke",{value:function(or,vr){function An(){return new q(function(hr,xr){wt(or,vr,hr,xr)})}return Vt=Vt?Vt.then(An,An):An()}})}function kt(je,q,wt){var Vt="suspendedStart";return function(lt,or){if(Vt==="executing")throw new Error("Generator is already running");if(Vt==="completed"){if(lt==="throw")throw or;return qe()}for(wt.method=lt,wt.arg=or;;){var vr=wt.delegate;if(vr){var An=_t(vr,wt);if(An){if(An===fe)continue;return An}}if(wt.method==="next")wt.sent=wt._sent=wt.arg;else if(wt.method==="throw"){if(Vt==="suspendedStart")throw Vt="completed",wt.arg;wt.dispatchException(wt.arg)}else wt.method==="return"&&wt.abrupt("return",wt.arg);Vt="executing";var hr=ae(je,q,wt);if(hr.type==="normal"){if(Vt=wt.done?"completed":"suspendedYield",hr.arg===fe)continue;return{value:hr.arg,done:wt.done}}hr.type==="throw"&&(Vt="completed",wt.method="throw",wt.arg=hr.arg)}}}function _t(je,q){var wt=q.method,Vt=je.iterator[wt];if(Vt===void 0)return q.delegate=null,wt==="throw"&&je.iterator.return&&(q.method="return",q.arg=void 0,_t(je,q),q.method==="throw")||wt!=="return"&&(q.method="throw",q.arg=new TypeError("The iterator does not provide a '"+wt+"' method")),fe;var lt=ae(Vt,je.iterator,q.arg);if(lt.type==="throw")return q.method="throw",q.arg=lt.arg,q.delegate=null,fe;var or=lt.arg;return or?or.done?(q[je.resultName]=or.value,q.next=je.nextLoc,q.method!=="return"&&(q.method="next",q.arg=void 0),q.delegate=null,fe):or:(q.method="throw",q.arg=new TypeError("iterator result is not an object"),q.delegate=null,fe)}function Ft(je){var q={tryLoc:je[0]};1 in je&&(q.catchLoc=je[1]),2 in je&&(q.finallyLoc=je[2],q.afterLoc=je[3]),this.tryEntries.push(q)}function ke(je){var q=je.completion||{};q.type="normal",delete q.arg,je.completion=q}function te(je){this.tryEntries=[{tryLoc:"root"}],je.forEach(Ft,this),this.reset(!0)}function Q(je){if(je){var q=je[ce];if(q)return q.call(je);if(typeof je.next=="function")return je;if(!isNaN(je.length)){var wt=-1,Vt=function lt(){for(;++wt<je.length;)if(Re.call(je,wt))return lt.value=je[wt],lt.done=!1,lt;return lt.value=void 0,lt.done=!0,lt};return Vt.next=Vt}}return{next:qe}}function qe(){return{value:void 0,done:!0}}return Je.prototype=Et,Ae(Xe,"constructor",{value:Et,configurable:!0}),Ae(Et,"constructor",{value:Je,configurable:!0}),Je.displayName=Be(Et,Te,"GeneratorFunction"),le.isGeneratorFunction=function(je){var q=typeof je=="function"&&je.constructor;return!!q&&(q===Je||(q.displayName||q.name)==="GeneratorFunction")},le.mark=function(je){return Object.setPrototypeOf?Object.setPrototypeOf(je,Et):(je.__proto__=Et,Be(je,Te,"GeneratorFunction")),je.prototype=Object.create(Xe),je},le.awrap=function(je){return{__await:je}},Ot(Bt.prototype),Be(Bt.prototype,be,function(){return this}),le.AsyncIterator=Bt,le.async=function(je,q,wt,Vt,lt){lt===void 0&&(lt=Promise);var or=new Bt(De(je,q,wt,Vt),lt);return le.isGeneratorFunction(q)?or:or.next().then(function(vr){return vr.done?vr.value:or.next()})},Ot(Xe),Be(Xe,Te,"Generator"),Be(Xe,ce,function(){return this}),Be(Xe,"toString",function(){return"[object Generator]"}),le.keys=function(je){var q=Object(je),wt=[];for(var Vt in q)wt.push(Vt);return wt.reverse(),function lt(){for(;wt.length;){var or=wt.pop();if(or in q)return lt.value=or,lt.done=!1,lt}return lt.done=!0,lt}},le.values=Q,te.prototype={constructor:te,reset:function(q){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(ke),!q)for(var wt in this)wt.charAt(0)==="t"&&Re.call(this,wt)&&!isNaN(+wt.slice(1))&&(this[wt]=void 0)},stop:function(){this.done=!0;var q=this.tryEntries[0].completion;if(q.type==="throw")throw q.arg;return this.rval},dispatchException:function(q){if(this.done)throw q;var wt=this;function Vt(xr,nr){return vr.type="throw",vr.arg=q,wt.next=xr,nr&&(wt.method="next",wt.arg=void 0),!!nr}for(var lt=this.tryEntries.length-1;lt>=0;--lt){var or=this.tryEntries[lt],vr=or.completion;if(or.tryLoc==="root")return Vt("end");if(or.tryLoc<=this.prev){var An=Re.call(or,"catchLoc"),hr=Re.call(or,"finallyLoc");if(An&&hr){if(this.prev<or.catchLoc)return Vt(or.catchLoc,!0);if(this.prev<or.finallyLoc)return Vt(or.finallyLoc)}else if(An){if(this.prev<or.catchLoc)return Vt(or.catchLoc,!0)}else{if(!hr)throw new Error("try statement without catch or finally");if(this.prev<or.finallyLoc)return Vt(or.finallyLoc)}}}},abrupt:function(q,wt){for(var Vt=this.tryEntries.length-1;Vt>=0;--Vt){var lt=this.tryEntries[Vt];if(lt.tryLoc<=this.prev&&Re.call(lt,"finallyLoc")&&this.prev<lt.finallyLoc){var or=lt;break}}or&&(q==="break"||q==="continue")&&or.tryLoc<=wt&&wt<=or.finallyLoc&&(or=null);var vr=or?or.completion:{};return vr.type=q,vr.arg=wt,or?(this.method="next",this.next=or.finallyLoc,fe):this.complete(vr)},complete:function(q,wt){if(q.type==="throw")throw q.arg;return q.type==="break"||q.type==="continue"?this.next=q.arg:q.type==="return"?(this.rval=this.arg=q.arg,this.method="return",this.next="end"):q.type==="normal"&&wt&&(this.next=wt),fe},finish:function(q){for(var wt=this.tryEntries.length-1;wt>=0;--wt){var Vt=this.tryEntries[wt];if(Vt.finallyLoc===q)return this.complete(Vt.completion,Vt.afterLoc),ke(Vt),fe}},catch:function(q){for(var wt=this.tryEntries.length-1;wt>=0;--wt){var Vt=this.tryEntries[wt];if(Vt.tryLoc===q){var lt=Vt.completion;if(lt.type==="throw"){var or=lt.arg;ke(Vt)}return or}}throw new Error("illegal catch attempt")},delegateYield:function(q,wt,Vt){return this.delegate={iterator:Q(q),resultName:wt,nextLoc:Vt},this.method==="next"&&(this.arg=void 0),fe}},le}var j=n("HaE+"),z=n("dm2S"),R=["measure","alignPre","align",null,"motion"],U=function(le,et){var Re=Object(z.a)(null),Ae=Object(x.a)(Re,2),oe=Ae[0],ce=Ae[1],be=Object(o.useRef)();function Te(ae){ce(ae,!0)}function Be(){a.a.cancel(be.current)}function De(ae){Be(),be.current=Object(a.a)(function(){Te(function(fe){switch(oe){case"align":return"motion";case"motion":return"stable";default:}return fe}),ae==null||ae()})}return Object(o.useEffect)(function(){Te("measure")},[le]),Object(o.useEffect)(function(){switch(oe){case"measure":et();break;default:}oe&&(be.current=Object(a.a)(Object(j.a)(F().mark(function ae(){var fe,Oe;return F().wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:fe=R.indexOf(oe),Oe=R[fe+1],Oe&&fe!==-1&&Te(Oe);case 3:case"end":return Et.stop()}},ae)}))))},[oe]),Object(o.useEffect)(function(){return function(){Be()}},[]),[oe,De]},B=function(le){var et=o.useState({width:0,height:0}),Re=Object(x.a)(et,2),Ae=Re[0],oe=Re[1];function ce(Te){var Be=Te.offsetWidth,De=Te.offsetHeight,ae=Te.getBoundingClientRect(),fe=ae.width,Oe=ae.height;Math.abs(Be-fe)<1&&Math.abs(De-Oe)<1&&(Be=fe,De=Oe),oe({width:Be,height:De})}var be=o.useMemo(function(){var Te={};if(le){var Be=Ae.width,De=Ae.height;le.indexOf("height")!==-1&&De?Te.height=De:le.indexOf("minHeight")!==-1&&De&&(Te.minHeight=De),le.indexOf("width")!==-1&&Be?Te.width=Be:le.indexOf("minWidth")!==-1&&Be&&(Te.minWidth=Be)}return Te},[le,Ae]);return[be,ce]},H=o.forwardRef(function(le,et){var Re=le.visible,Ae=le.prefixCls,oe=le.className,ce=le.style,be=le.children,Te=le.zIndex,Be=le.stretch,De=le.destroyPopupOnHide,ae=le.forceRender,fe=le.align,Oe=le.point,Je=le.getRootDomNode,Et=le.getClassNameFromAlign,Ze=le.onAlign,Ne=le.onMouseEnter,It=le.onMouseLeave,Xe=le.onMouseDown,Ot=le.onTouchStart,Bt=le.onClick,kt=Object(o.useRef)(),_t=Object(o.useRef)(),Ft=Object(o.useState)(),ke=Object(x.a)(Ft,2),te=ke[0],Q=ke[1],qe=B(Be),je=Object(x.a)(qe,2),q=je[0],wt=je[1];function Vt(){Be&&wt(Je())}var lt=U(Re,Vt),or=Object(x.a)(lt,2),vr=or[0],An=or[1],hr=Object(o.useState)(0),xr=Object(x.a)(hr,2),nr=xr[0],Yt=xr[1],gt=Object(o.useRef)();Object(P.a)(function(){vr==="alignPre"&&Yt(0)},[vr]);function zr(){return Oe||Je}function pn(){var At;(At=kt.current)===null||At===void 0||At.forceAlign()}function Nn(At,xe){var we=Et(xe);te!==we&&Q(we),Yt(function(Ee){return Ee+1}),vr==="align"&&(Ze==null||Ze(At,xe))}Object(P.a)(function(){vr==="align"&&(nr<3?pn():An(function(){var At;(At=gt.current)===null||At===void 0||At.call(gt)}))},[nr]);var Vn=Object(v.a)({},C(le));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(At){var xe=Vn[At];Vn[At]=function(we,Ee){return An(),xe==null?void 0:xe(we,Ee)}});function xi(){return new Promise(function(At){gt.current=At})}o.useEffect(function(){!Vn.motionName&&vr==="motion"&&An()},[Vn.motionName,vr]),o.useImperativeHandle(et,function(){return{forceAlign:pn,getElement:function(){return _t.current}}});var bn=Object(v.a)(Object(v.a)({},q),{},{zIndex:Te,opacity:vr==="motion"||vr==="stable"||!Re?void 0:0,pointerEvents:!Re&&vr!=="stable"?"none":void 0},ce),Pn=!0;fe!=null&&fe.points&&(vr==="align"||vr==="stable")&&(Pn=!1);var jt=be;return o.Children.count(be)>1&&(jt=o.createElement("div",{className:"".concat(Ae,"-content")},be)),o.createElement(E.b,Object(p.a)({visible:Re,ref:_t,leavedClassName:"".concat(Ae,"-hidden")},Vn,{onAppearPrepare:xi,onEnterPrepare:xi,removeOnLeave:De,forceRender:ae}),function(At,xe){var we=At.className,Ee=At.style,Ge=A()(Ae,oe,te,we);return o.createElement(L.a,{target:zr(),key:"popup",ref:kt,monitorWindowResize:!0,disabled:Pn,align:fe,onAlign:Nn},o.createElement("div",{ref:xe,className:Ge,onMouseEnter:Ne,onMouseLeave:It,onMouseDownCapture:Xe,onTouchStartCapture:Ot,onClick:Bt,style:Object(v.a)(Object(v.a)({},Ee),bn)},jt))})});H.displayName="PopupInner";var K=H,V=o.forwardRef(function(le,et){var Re=le.prefixCls,Ae=le.visible,oe=le.zIndex,ce=le.children,be=le.mobile;be=be===void 0?{}:be;var Te=be.popupClassName,Be=be.popupStyle,De=be.popupMotion,ae=De===void 0?{}:De,fe=be.popupRender,Oe=le.onClick,Je=o.useRef();o.useImperativeHandle(et,function(){return{forceAlign:function(){},getElement:function(){return Je.current}}});var Et=Object(v.a)({zIndex:oe},Be),Ze=ce;return o.Children.count(ce)>1&&(Ze=o.createElement("div",{className:"".concat(Re,"-content")},ce)),fe&&(Ze=fe(Ze)),o.createElement(E.b,Object(p.a)({visible:Ae,ref:Je,removeOnLeave:!0},ae),function(Ne,It){var Xe=Ne.className,Ot=Ne.style,Bt=A()(Re,Te,Xe);return o.createElement("div",{ref:It,className:Bt,onClick:Oe,style:Object(v.a)(Object(v.a)({},Ot),Et)},Ze)})});V.displayName="MobilePopupInner";var W=V,G=["visible","mobile"],re=o.forwardRef(function(le,et){var Re=le.visible,Ae=le.mobile,oe=Object(O.a)(le,G),ce=Object(o.useState)(Re),be=Object(x.a)(ce,2),Te=be[0],Be=be[1],De=Object(o.useState)(!1),ae=Object(x.a)(De,2),fe=ae[0],Oe=ae[1],Je=Object(v.a)(Object(v.a)({},oe),{},{visible:Te});Object(o.useEffect)(function(){Be(Re),Re&&Ae&&Oe(T())},[Re,Ae]);var Et=fe?o.createElement(W,Object(p.a)({},Je,{mobile:Ae,ref:et})):o.createElement(K,Object(p.a)({},Je,{ref:et}));return o.createElement("div",null,o.createElement(_,Je),Et)});re.displayName="Popup";var ye=re,$=o.createContext(null),ve=$;function Ce(){}function Se(){return""}function Ke(le){return le?le.ownerDocument:window.document}var ue=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Le(le){var et=function(Re){Object(f.a)(oe,Re);var Ae=Object(d.a)(oe);function oe(ce){var be;Object(S.a)(this,oe),be=Ae.call(this,ce),Object(c.a)(Object(g.a)(be),"popupRef",o.createRef()),Object(c.a)(Object(g.a)(be),"triggerRef",o.createRef()),Object(c.a)(Object(g.a)(be),"portalContainer",void 0),Object(c.a)(Object(g.a)(be),"attachId",void 0),Object(c.a)(Object(g.a)(be),"clickOutsideHandler",void 0),Object(c.a)(Object(g.a)(be),"touchOutsideHandler",void 0),Object(c.a)(Object(g.a)(be),"contextMenuOutsideHandler1",void 0),Object(c.a)(Object(g.a)(be),"contextMenuOutsideHandler2",void 0),Object(c.a)(Object(g.a)(be),"mouseDownTimeout",void 0),Object(c.a)(Object(g.a)(be),"focusTime",void 0),Object(c.a)(Object(g.a)(be),"preClickTime",void 0),Object(c.a)(Object(g.a)(be),"preTouchTime",void 0),Object(c.a)(Object(g.a)(be),"delayTimer",void 0),Object(c.a)(Object(g.a)(be),"hasPopupMouseDown",void 0),Object(c.a)(Object(g.a)(be),"onMouseEnter",function(Be){var De=be.props.mouseEnterDelay;be.fireEvents("onMouseEnter",Be),be.delaySetPopupVisible(!0,De,De?null:Be)}),Object(c.a)(Object(g.a)(be),"onMouseMove",function(Be){be.fireEvents("onMouseMove",Be),be.setPoint(Be)}),Object(c.a)(Object(g.a)(be),"onMouseLeave",function(Be){be.fireEvents("onMouseLeave",Be),be.delaySetPopupVisible(!1,be.props.mouseLeaveDelay)}),Object(c.a)(Object(g.a)(be),"onPopupMouseEnter",function(){be.clearDelayTimer()}),Object(c.a)(Object(g.a)(be),"onPopupMouseLeave",function(Be){var De;if(Be.relatedTarget&&!Be.relatedTarget.setTimeout&&Object(e.a)((De=be.popupRef.current)===null||De===void 0?void 0:De.getElement(),Be.relatedTarget))return;be.delaySetPopupVisible(!1,be.props.mouseLeaveDelay)}),Object(c.a)(Object(g.a)(be),"onFocus",function(Be){be.fireEvents("onFocus",Be),be.clearDelayTimer(),be.isFocusToShow()&&(be.focusTime=Date.now(),be.delaySetPopupVisible(!0,be.props.focusDelay))}),Object(c.a)(Object(g.a)(be),"onMouseDown",function(Be){be.fireEvents("onMouseDown",Be),be.preClickTime=Date.now()}),Object(c.a)(Object(g.a)(be),"onTouchStart",function(Be){be.fireEvents("onTouchStart",Be),be.preTouchTime=Date.now()}),Object(c.a)(Object(g.a)(be),"onBlur",function(Be){be.fireEvents("onBlur",Be),be.clearDelayTimer(),be.isBlurToHide()&&be.delaySetPopupVisible(!1,be.props.blurDelay)}),Object(c.a)(Object(g.a)(be),"onContextMenu",function(Be){Be.preventDefault(),be.fireEvents("onContextMenu",Be),be.setPopupVisible(!0,Be)}),Object(c.a)(Object(g.a)(be),"onContextMenuClose",function(){be.isContextMenuToShow()&&be.close()}),Object(c.a)(Object(g.a)(be),"onClick",function(Be){if(be.fireEvents("onClick",Be),be.focusTime){var De;if(be.preClickTime&&be.preTouchTime?De=Math.min(be.preClickTime,be.preTouchTime):be.preClickTime?De=be.preClickTime:be.preTouchTime&&(De=be.preTouchTime),Math.abs(De-be.focusTime)<20)return;be.focusTime=0}be.preClickTime=0,be.preTouchTime=0,be.isClickToShow()&&(be.isClickToHide()||be.isBlurToHide())&&Be&&Be.preventDefault&&Be.preventDefault();var ae=!be.state.popupVisible;(be.isClickToHide()&&!ae||ae&&be.isClickToShow())&&be.setPopupVisible(!be.state.popupVisible,Be)}),Object(c.a)(Object(g.a)(be),"onPopupMouseDown",function(){if(be.hasPopupMouseDown=!0,clearTimeout(be.mouseDownTimeout),be.mouseDownTimeout=window.setTimeout(function(){be.hasPopupMouseDown=!1},0),be.context){var Be;(Be=be.context).onPopupMouseDown.apply(Be,arguments)}}),Object(c.a)(Object(g.a)(be),"onDocumentClick",function(Be){if(be.props.mask&&!be.props.maskClosable)return;var De=Be.target,ae=be.getRootDomNode(),fe=be.getPopupDomNode();(!Object(e.a)(ae,De)||be.isContextMenuOnly())&&!Object(e.a)(fe,De)&&!be.hasPopupMouseDown&&be.close()}),Object(c.a)(Object(g.a)(be),"getRootDomNode",function(){var Be=be.props.getTriggerDOMNode;if(Be)return Be(be.triggerRef.current);try{var De=Object(l.a)(be.triggerRef.current);if(De)return De}catch(ae){}return t.a.findDOMNode(Object(g.a)(be))}),Object(c.a)(Object(g.a)(be),"getPopupClassNameFromAlign",function(Be){var De=[],ae=be.props,fe=ae.popupPlacement,Oe=ae.builtinPlacements,Je=ae.prefixCls,Et=ae.alignPoint,Ze=ae.getPopupClassNameFromAlign;return fe&&Oe&&De.push(b(Oe,Je,Be,Et)),Ze&&De.push(Ze(Be)),De.join(" ")}),Object(c.a)(Object(g.a)(be),"getComponent",function(){var Be=be.props,De=Be.prefixCls,ae=Be.destroyPopupOnHide,fe=Be.popupClassName,Oe=Be.onPopupAlign,Je=Be.popupMotion,Et=Be.popupAnimation,Ze=Be.popupTransitionName,Ne=Be.popupStyle,It=Be.mask,Xe=Be.maskAnimation,Ot=Be.maskTransitionName,Bt=Be.maskMotion,kt=Be.zIndex,_t=Be.popup,Ft=Be.stretch,ke=Be.alignPoint,te=Be.mobile,Q=Be.forceRender,qe=Be.onPopupClick,je=be.state,q=je.popupVisible,wt=je.point,Vt=be.getPopupAlign(),lt={};return be.isMouseEnterToShow()&&(lt.onMouseEnter=be.onPopupMouseEnter),be.isMouseLeaveToHide()&&(lt.onMouseLeave=be.onPopupMouseLeave),lt.onMouseDown=be.onPopupMouseDown,lt.onTouchStart=be.onPopupMouseDown,o.createElement(ye,Object(p.a)({prefixCls:De,destroyPopupOnHide:ae,visible:q,point:ke&&wt,className:fe,align:Vt,onAlign:Oe,animation:Et,getClassNameFromAlign:be.getPopupClassNameFromAlign},lt,{stretch:Ft,getRootDomNode:be.getRootDomNode,style:Ne,mask:It,zIndex:kt,transitionName:Ze,maskAnimation:Xe,maskTransitionName:Ot,maskMotion:Bt,ref:be.popupRef,motion:Je,mobile:te,forceRender:Q,onClick:qe}),typeof _t=="function"?_t():_t)}),Object(c.a)(Object(g.a)(be),"attachParent",function(Be){a.a.cancel(be.attachId);var De=be.props,ae=De.getPopupContainer,fe=De.getDocument,Oe=be.getRootDomNode(),Je;ae?(Oe||ae.length===0)&&(Je=ae(Oe)):Je=fe(be.getRootDomNode()).body,Je?Je.appendChild(Be):be.attachId=Object(a.a)(function(){be.attachParent(Be)})}),Object(c.a)(Object(g.a)(be),"getContainer",function(){if(!be.portalContainer){var Be=be.props.getDocument,De=Be(be.getRootDomNode()).createElement("div");De.style.position="absolute",De.style.top="0",De.style.left="0",De.style.width="100%",be.portalContainer=De}return be.attachParent(be.portalContainer),be.portalContainer}),Object(c.a)(Object(g.a)(be),"setPoint",function(Be){var De=be.props.alignPoint;if(!De||!Be)return;be.setState({point:{pageX:Be.pageX,pageY:Be.pageY}})}),Object(c.a)(Object(g.a)(be),"handlePortalUpdate",function(){be.state.prevPopupVisible!==be.state.popupVisible&&be.props.afterPopupVisibleChange(be.state.popupVisible)}),Object(c.a)(Object(g.a)(be),"triggerContextValue",{onPopupMouseDown:be.onPopupMouseDown});var Te;return"popupVisible"in ce?Te=!!ce.popupVisible:Te=!!ce.defaultPopupVisible,be.state={prevPopupVisible:Te,popupVisible:Te},ue.forEach(function(Be){be["fire".concat(Be)]=function(De){be.fireEvents(Be,De)}}),be}return Object(m.a)(oe,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var be=this.props,Te=this.state;if(Te.popupVisible){var Be;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Be=be.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(s.a)(Be,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Be=Be||be.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(s.a)(Be,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Be=Be||be.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(s.a)(Be,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(s.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),a.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var be;return((be=this.popupRef.current)===null||be===void 0?void 0:be.getElement())||null}},{key:"getPopupAlign",value:function(){var be=this.props,Te=be.popupPlacement,Be=be.popupAlign,De=be.builtinPlacements;return Te&&De?w(De,Te,Be):Be}},{key:"setPopupVisible",value:function(be,Te){var Be=this.props.alignPoint,De=this.state.popupVisible;this.clearDelayTimer(),De!==be&&("popupVisible"in this.props||this.setState({popupVisible:be,prevPopupVisible:De}),this.props.onPopupVisibleChange(be)),Be&&Te&&be&&this.setPoint(Te)}},{key:"delaySetPopupVisible",value:function(be,Te,Be){var De=this,ae=Te*1e3;if(this.clearDelayTimer(),ae){var fe=Be?{pageX:Be.pageX,pageY:Be.pageY}:null;this.delayTimer=window.setTimeout(function(){De.setPopupVisible(be,fe),De.clearDelayTimer()},ae)}else this.setPopupVisible(be,Be)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(be){var Te=this.props.children.props,Be=this.props;return Te[be]&&Be[be]?this["fire".concat(be)]:Te[be]||Be[be]}},{key:"isClickToShow",value:function(){var be=this.props,Te=be.action,Be=be.showAction;return Te.indexOf("click")!==-1||Be.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var be=this.props.action;return be==="contextMenu"||be.length===1&&be[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var be=this.props,Te=be.action,Be=be.showAction;return Te.indexOf("contextMenu")!==-1||Be.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var be=this.props,Te=be.action,Be=be.hideAction;return Te.indexOf("click")!==-1||Be.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var be=this.props,Te=be.action,Be=be.showAction;return Te.indexOf("hover")!==-1||Be.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var be=this.props,Te=be.action,Be=be.hideAction;return Te.indexOf("hover")!==-1||Be.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var be=this.props,Te=be.action,Be=be.showAction;return Te.indexOf("focus")!==-1||Be.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var be=this.props,Te=be.action,Be=be.hideAction;return Te.indexOf("focus")!==-1||Be.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var be;(be=this.popupRef.current)===null||be===void 0||be.forceAlign()}}},{key:"fireEvents",value:function(be,Te){var Be=this.props.children.props[be];Be&&Be(Te);var De=this.props[be];De&&De(Te)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var be=this.state.popupVisible,Te=this.props,Be=Te.children,De=Te.forceRender,ae=Te.alignPoint,fe=Te.className,Oe=Te.autoDestroy,Je=o.Children.only(Be),Et={key:"trigger"};this.isContextMenuToShow()?Et.onContextMenu=this.onContextMenu:Et.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Et.onClick=this.onClick,Et.onMouseDown=this.onMouseDown,Et.onTouchStart=this.onTouchStart):(Et.onClick=this.createTwoChains("onClick"),Et.onMouseDown=this.createTwoChains("onMouseDown"),Et.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Et.onMouseEnter=this.onMouseEnter,ae&&(Et.onMouseMove=this.onMouseMove)):Et.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Et.onMouseLeave=this.onMouseLeave:Et.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Et.onFocus=this.onFocus,Et.onBlur=this.onBlur):(Et.onFocus=this.createTwoChains("onFocus"),Et.onBlur=this.createTwoChains("onBlur"));var Ze=A()(Je&&Je.props&&Je.props.className,fe);Ze&&(Et.className=Ze);var Ne=Object(v.a)({},Et);Object(r.c)(Je)&&(Ne.ref=Object(r.a)(this.triggerRef,Je.ref));var It=o.cloneElement(Je,Ne),Xe;return(be||this.popupRef.current||De)&&(Xe=o.createElement(le,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!be&&Oe&&(Xe=null),o.createElement(ve.Provider,{value:this.triggerContextValue},It,Xe)}}],[{key:"getDerivedStateFromProps",value:function(be,Te){var Be=be.popupVisible,De={};return Be!==void 0&&Te.popupVisible!==Be&&(De.popupVisible=Be,De.prevPopupVisible=Te.popupVisible),De}}]),oe}(o.Component);return Object(c.a)(et,"contextType",ve),Object(c.a)(et,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Se,getDocument:Ke,onPopupVisibleChange:Ce,afterPopupVisibleChange:Ce,onPopupAlign:Ce,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),et}var ee=N.a=Le(u.a)},ugBc:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};N.default=v},v56E:function(M,N,n){},v5uJ:function(M,N,n){var v=n("ProS"),p=n("2B6p"),S=p.updateCenterAndZoom;v.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,g){g.eachComponent({mainType:"series",subType:"tree",query:m},function(f){var d=m.dataIndex,c=f.getData().tree,o=c.getNodeByDataIndex(d);o.isExpand=!o.isExpand})}),v.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,g){g.eachComponent({mainType:"series",subType:"tree",query:m},function(f){var d=f.coordinateSystem,c=S(d,m);f.setCenter&&f.setCenter(c.center),f.setZoom&&f.setZoom(c.zoom)})})},"vF/C":function(M,N,n){var v=n("bLfw");v.registerSubTypeDefaulter("visualMap",function(p){return!p.categories&&(!(p.pieces?p.pieces.length>0:p.splitNumber>0)||p.calculable)?"continuous":"piecewise"})},vKoX:function(M,N,n){var v=n("SrGk"),p=n("bYtY");function S(f,d){v.call(this,f,d,["filter"],"__filter_in_use__","_shadowDom")}p.inherits(S,v),S.prototype.addWithoutUpdate=function(f,d){if(d&&m(d.style)){var c;if(d._shadowDom){c=d._shadowDom;var o=this.getDefs(!0);o.contains(d._shadowDom)||this.addDom(c)}else c=this.add(d);this.markUsed(d);var i=c.getAttribute("id");f.style.filter="url(#"+i+")"}},S.prototype.add=function(f){var d=this.createElement("filter");return f._shadowDomId=f._shadowDomId||this.nextId++,d.setAttribute("id","zr"+this._zrId+"-shadow-"+f._shadowDomId),this.updateDom(f,d),this.addDom(d),d},S.prototype.update=function(f,d){var c=d.style;if(m(c)){var o=this;v.prototype.update.call(this,d,function(){o.updateDom(d,d._shadowDom)})}else this.remove(f,d)},S.prototype.remove=function(f,d){d._shadowDomId!=null&&(this.removeDom(f),f.style.filter="")},S.prototype.updateDom=function(f,d){var c=d.getElementsByTagName("feDropShadow");c.length===0?c=this.createElement("feDropShadow"):c=c[0];var o=f.style,i=f.scale&&f.scale[0]||1,t=f.scale&&f.scale[1]||1,a,e,l,r;if(o.shadowBlur||o.shadowOffsetX||o.shadowOffsetY)a=o.shadowOffsetX||0,e=o.shadowOffsetY||0,l=o.shadowBlur,r=o.shadowColor;else if(o.textShadowBlur)a=o.textShadowOffsetX||0,e=o.textShadowOffsetY||0,l=o.textShadowBlur,r=o.textShadowColor;else{this.removeDom(d,o);return}c.setAttribute("dx",a/i),c.setAttribute("dy",e/t),c.setAttribute("flood-color",r);var s=l/2/i,u=l/2/t,h=s+" "+u;c.setAttribute("stdDeviation",h),d.setAttribute("x","-100%"),d.setAttribute("y","-100%"),d.setAttribute("width",Math.ceil(l/2*200)+"%"),d.setAttribute("height",Math.ceil(l/2*200)+"%"),d.appendChild(c),f._shadowDom=d},S.prototype.markUsed=function(f){f._shadowDom&&v.prototype.markUsed.call(this,f._shadowDom)};function m(f){return f&&(f.shadowBlur||f.shadowOffsetX||f.shadowOffsetY||f.textShadowBlur||f.textShadowOffsetX||f.textShadowOffsetY)}var g=S;M.exports=g},vL6D:function(M,N,n){var v=n("bYtY"),p=n("+rIm"),S=n("IwbS"),m=n("7bkD"),g=n("Znkb"),f=n("WN+l"),d=f.rectCoordAxisBuildSplitArea,c=f.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],i=["splitArea","splitLine"],t=g.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,l,r,s){var u=this.group;u.removeAll();var h=this._axisGroup;this._axisGroup=new S.Group;var A=m.layout(e),y=new p(e,A);v.each(o,y.add,y),u.add(this._axisGroup),u.add(y.getGroup()),v.each(i,function(w){e.get(w+".show")&&this["_"+w](e)},this),S.groupTransition(h,this._axisGroup,e),t.superCall(this,"render",e,l,r,s)},remove:function(){c(this)},_splitLine:function(e){var l=e.axis;if(l.scale.isBlank())return;var r=e.getModel("splitLine"),s=r.getModel("lineStyle"),u=s.get("width"),h=s.get("color");h=h instanceof Array?h:[h];for(var A=e.coordinateSystem.getRect(),y=l.isHorizontal(),w=[],b=0,x=l.getTicksCoords({tickModel:r}),O=[],T=[],E=0;E<x.length;++E){var C=l.toGlobalCoord(x[E].coord);y?(O[0]=C,O[1]=A.y,T[0]=C,T[1]=A.y+A.height):(O[0]=A.x,O[1]=C,T[0]=A.x+A.width,T[1]=C);var _=b++%h.length;w[_]=w[_]||[],w[_].push(new S.Line({subPixelOptimize:!0,shape:{x1:O[0],y1:O[1],x2:T[0],y2:T[1]},style:{lineWidth:u},silent:!0}))}for(var E=0;E<w.length;++E)this.group.add(S.mergePath(w[E],{style:{stroke:h[E%h.length],lineDash:s.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(e){d(this,this._axisGroup,e,e)}}),a=t;M.exports=a},vWvF:function(M,N,n){var v=n("Bq2U"),p=n("SUKs"),S=n("bYtY"),m=S.isString,g=S.isFunction,f=S.isObject,d=S.isArrayLike,c=S.indexOf,o=function(){this.animators=[]};o.prototype={constructor:o,animate:function(r,s){var u,h=!1,A=this,y=this.__zr;if(r){var w=r.split("."),b=A;h=w[0]==="shape";for(var x=0,O=w.length;x<O;x++){if(!b)continue;b=b[w[x]]}b&&(u=b)}else u=A;if(!u){p('Property "'+r+'" is not existed in element '+A.id);return}var T=A.animators,E=new v(u,s);return E.during(function(C){A.dirty(h)}).done(function(){T.splice(c(T,E),1)}),T.push(E),y&&y.animation.addAnimator(E),E},stopAnimation:function(r){for(var s=this.animators,u=s.length,h=0;h<u;h++)s[h].stop(r);return s.length=0,this},animateTo:function(r,s,u,h,A,y){i(this,r,s,u,h,A,y)},animateFrom:function(r,s,u,h,A,y){i(this,r,s,u,h,A,y,!0)}};function i(l,r,s,u,h,A,y,w){m(u)?(A=h,h=u,u=0):g(h)?(A=h,h="linear",u=0):g(u)?(A=u,u=0):g(s)?(A=s,s=500):s||(s=500),l.stopAnimation(),t(l,"",l,r,s,u,w);var b=l.animators.slice(),x=b.length;function O(){x--,x||A&&A()}x||A&&A();for(var T=0;T<b.length;T++)b[T].done(O).start(h,y)}function t(l,r,s,u,h,A,y){var w={},b=0;for(var x in u){if(!u.hasOwnProperty(x))continue;s[x]!=null?f(u[x])&&!d(u[x])?t(l,r?r+"."+x:x,s[x],u[x],h,A,y):(y?(w[x]=s[x],a(l,r,x,u[x])):w[x]=u[x],b++):u[x]!=null&&!y&&a(l,r,x,u[x])}b>0&&l.animate(r,!1).when(h==null?500:h,w).delay(A||0)}function a(l,r,s,u){if(!r)l.attr(s,u);else{var h={};h[r]={},h[r][s]=u,l.attr(h)}}var e=o;M.exports=e},vZ6x:function(M,N,n){var v=n("Tghj"),p=v.__DEV__,S=n("bYtY"),m=n("IwbS"),g=n("4NO4"),f=n("9KIM"),d=S.each,c=S.indexOf,o=S.curry,i=["dataToPoint","pointToData"],t=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function a(E,C,_){var L=this._targetInfoList=[],P={},k=r(C,E);d(s,function(F,j){(!_||!_.include||c(_.include,j)>=0)&&F(k,L,P)})}var e=a.prototype;e.setOutputRanges=function(E,C){this.matchOutputRanges(E,C,function(_,L,P){if((_.coordRanges||(_.coordRanges=[])).push(L),!_.coordRange){_.coordRange=L;var k=A[_.brushType](0,P,L);_.__rangeOffset={offset:w[_.brushType](k.values,_.range,[1,1]),xyMinMax:k.xyMinMax}}})},e.matchOutputRanges=function(E,C,_){d(E,function(L){var P=this.findTargetInfo(L,C);P&&P!==!0&&S.each(P.coordSyses,function(k){var F=A[L.brushType](1,k,L.range);_(L,F.values,k,C)})},this)},e.setInputRanges=function(E,C){d(E,function(_){var L=this.findTargetInfo(_,C);if(_.range=_.range||[],L&&L!==!0){_.panelId=L.panelId;var P=A[_.brushType](0,L.coordSys,_.coordRange),k=_.__rangeOffset;_.range=k?w[_.brushType](P.values,k.offset,x(P.xyMinMax,k.xyMinMax)):P.values}},this)},e.makePanelOpts=function(E,C){return S.map(this._targetInfoList,function(_){var L=_.getPanelRect();return{panelId:_.panelId,defaultBrushType:C&&C(_),clipPath:f.makeRectPanelClipPath(L),isTargetByCursor:f.makeRectIsTargetByCursor(L,E,_.coordSysModel),getLinearBrushOtherExtent:f.makeLinearBrushOtherExtent(L)}})},e.controlSeries=function(E,C,_){var L=this.findTargetInfo(E,_);return L===!0||L&&c(L.coordSyses,C.coordinateSystem)>=0},e.findTargetInfo=function(E,C){for(var _=this._targetInfoList,L=r(C,E),P=0;P<_.length;P++){var k=_[P],F=E.panelId;if(F){if(k.panelId===F)return k}else for(var P=0;P<u.length;P++)if(u[P](L,k))return k}return!0};function l(E){return E[0]>E[1]&&E.reverse(),E}function r(E,C){return g.parseFinder(E,C,{includeMainTypes:t})}var s={grid:function(E,C){var _=E.xAxisModels,L=E.yAxisModels,P=E.gridModels,k=S.createHashMap(),F={},j={};if(!_&&!L&&!P)return;d(_,function(z){var R=z.axis.grid.model;k.set(R.id,R),F[R.id]=!0}),d(L,function(z){var R=z.axis.grid.model;k.set(R.id,R),j[R.id]=!0}),d(P,function(z){k.set(z.id,z),F[z.id]=!0,j[z.id]=!0}),k.each(function(z){var R=z.coordinateSystem,U=[];d(R.getCartesians(),function(B,H){(c(_,B.getAxis("x").model)>=0||c(L,B.getAxis("y").model)>=0)&&U.push(B)}),C.push({panelId:"grid--"+z.id,gridModel:z,coordSysModel:z,coordSys:U[0],coordSyses:U,getPanelRect:h.grid,xAxisDeclared:F[z.id],yAxisDeclared:j[z.id]})})},geo:function(E,C){d(E.geoModels,function(_){var L=_.coordinateSystem;C.push({panelId:"geo--"+_.id,geoModel:_,coordSysModel:_,coordSys:L,coordSyses:[L],getPanelRect:h.geo})})}},u=[function(E,C){var _=E.xAxisModel,L=E.yAxisModel,P=E.gridModel;return!P&&_&&(P=_.axis.grid.model),!P&&L&&(P=L.axis.grid.model),P&&P===C.gridModel},function(E,C){var _=E.geoModel;return _&&_===C.geoModel}],h={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var E=this.coordSys,C=E.getBoundingRect().clone();return C.applyTransform(m.getTransform(E)),C}},A={lineX:o(y,0),lineY:o(y,1),rect:function(E,C,_){var L=C[i[E]]([_[0][0],_[1][0]]),P=C[i[E]]([_[0][1],_[1][1]]),k=[l([L[0],P[0]]),l([L[1],P[1]])];return{values:k,xyMinMax:k}},polygon:function(E,C,_){var L=[[Infinity,-Infinity],[Infinity,-Infinity]],P=S.map(_,function(k){var F=C[i[E]](k);return L[0][0]=Math.min(L[0][0],F[0]),L[1][0]=Math.min(L[1][0],F[1]),L[0][1]=Math.max(L[0][1],F[0]),L[1][1]=Math.max(L[1][1],F[1]),F});return{values:P,xyMinMax:L}}};function y(E,C,_,L){var P=_.getAxis(["x","y"][E]),k=l(S.map([0,1],function(j){return C?P.coordToData(P.toLocalCoord(L[j])):P.toGlobalCoord(P.dataToCoord(L[j]))})),F=[];return F[E]=k,F[1-E]=[NaN,NaN],{values:k,xyMinMax:F}}var w={lineX:o(b,0),lineY:o(b,1),rect:function(E,C,_){return[[E[0][0]-_[0]*C[0][0],E[0][1]-_[0]*C[0][1]],[E[1][0]-_[1]*C[1][0],E[1][1]-_[1]*C[1][1]]]},polygon:function(E,C,_){return S.map(E,function(L,P){return[L[0]-_[0]*C[P][0],L[1]-_[1]*C[P][1]]})}};function b(E,C,_,L){return[C[0]-L[E]*_[0],C[1]-L[E]*_[1]]}function x(E,C){var _=O(E),L=O(C),P=[_[0]/L[0],_[1]/L[1]];return isNaN(P[0])&&(P[0]=1),isNaN(P[1])&&(P[1]=1),P}function O(E){return E?[E[0][1]-E[0][0],E[1][1]-E[1][0]]:[NaN,NaN]}var T=a;M.exports=T},vZI5:function(M,N,n){var v=n("bYtY"),p=n("T4UG"),S=n("5GhG"),m=S.seriesModelMixin,g=p.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(d,c,o){var i=c.getItemLayout(d);return i&&o.rect(i.brushRect)}});v.mixin(g,m,!0);var f=g;M.exports=f},vafp:function(M,N,n){var v=n("bYtY"),p=n("8nly");function S(f){if(!f.UTF8Encoding)return f;var d=f.UTF8Scale;d==null&&(d=1024);for(var c=f.features,o=0;o<c.length;o++)for(var i=c[o],t=i.geometry,a=t.coordinates,e=t.encodeOffsets,l=0;l<a.length;l++){var r=a[l];if(t.type==="Polygon")a[l]=m(r,e[l],d);else if(t.type==="MultiPolygon")for(var s=0;s<r.length;s++){var u=r[s];r[s]=m(u,e[l][s],d)}}return f.UTF8Encoding=!1,f}function m(f,d,c){for(var o=[],i=d[0],t=d[1],a=0;a<f.length;a+=2){var e=f.charCodeAt(a)-64,l=f.charCodeAt(a+1)-64;e=e>>1^-(e&1),l=l>>1^-(l&1),e+=i,l+=t,i=e,t=l,o.push([e/c,l/c])}return o}function g(f,d){return S(f),v.map(v.filter(f.features,function(c){return c.geometry&&c.properties&&c.geometry.coordinates.length>0}),function(c){var o=c.properties,i=c.geometry,t=i.coordinates,a=[];i.type==="Polygon"&&a.push({type:"polygon",exterior:t[0],interiors:t.slice(1)}),i.type==="MultiPolygon"&&v.each(t,function(l){l[0]&&a.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var e=new p(o[d||"name"],a,o.cp);return e.properties=o,e})}M.exports=g},vcCh:function(M,N,n){var v=n("ProS");n("0qV/"),v.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(p,S){S.eachComponent({mainType:"series",subType:"sankey",query:p},function(m){m.setNodePosition(p.dataIndex,[p.localX,p.localY])})})},vewr:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.getPointerEvent=v,N.stopEvent=p,N.setCapture=c,N.releaseCapture=o;function v(i){return i.changedTouches?i.changedTouches[0]:i.touches?i.touches[0]:i}function p(i){i.stopPropagation(),i.preventDefault()}var S=!1,m=null;document.captureElement=null;function g(i){if(S)return;var t=new i.constructor(i.type,i);S=!0,document.captureElement?document.captureElement.dispatchEvent(t):m.dispatchEvent(t),S=!1,i.stopPropagation(),t.defaultPrevented&&i.preventDefault(),i.type==="mouseup"&&o()}function f(){var i=document.getElementById("noVNC_mouse_capture_elem");i.style.cursor=window.getComputedStyle(document.captureElement).cursor}var d=new MutationObserver(f);function c(i){if(i.setCapture)i.setCapture(),document.captureElement=i,i.addEventListener("mouseup",o);else{o();var t=document.getElementById("noVNC_mouse_capture_elem");t===null&&(t=document.createElement("div"),t.id="noVNC_mouse_capture_elem",t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.width="100%",t.style.height="100%",t.style.zIndex=1e4,t.style.display="none",document.body.appendChild(t),t.addEventListener("contextmenu",g),t.addEventListener("mousemove",g),t.addEventListener("mouseup",g)),document.captureElement=i,d.observe(i,{attributes:!0}),f(),t.style.display="",window.addEventListener("mousemove",g),window.addEventListener("mouseup",g)}}function o(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;m=document.captureElement,document.captureElement=null,d.disconnect();var i=document.getElementById("noVNC_mouse_capture_elem");i.style.display="none",window.removeEventListener("mousemove",g),window.removeEventListener("mouseup",g)}}},vg9a:function(M,N,n){},"vk+C":function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("RZPm"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},w4Tj:function(M,N,n){"use strict";n.d(N,"a",function(){return S});var v=n("oZsa");function p(m,g){for(;!Object.prototype.hasOwnProperty.call(m,g)&&!(m=Object(v.a)(m),m===null););return m}function S(m,g,f){return typeof Reflect!="undefined"&&Reflect.get?S=Reflect.get:S=function(c,o,i){var t=p(c,o);if(!t)return;var a=Object.getOwnPropertyDescriptor(t,o);return a.get?a.get.call(i):a.value},S(m,g,f||m)}},w5pM:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="PlusCircleOutlined";var d=N.a=p.forwardRef(f)},w6Tc:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("apAg"));function p(m){return m&&m.__esModule?m:{default:m}}var S=v;N.default=S,M.exports=S},wCAj:function(M,N,n){"use strict";var v=n("cDf5"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("J4zp"),f=n.n(g),d=n("pVnL"),c=n.n(d),o=n("q1tI"),i=n("TSYQ"),t=n.n(i),a=n("BGR+"),e=n("rePB"),l=n("VTBJ"),r=n("KQm4"),s=n("U8pU"),u=n("ODXe"),h=n("Gytx"),A=n.n(h),y=n("Kwbf"),w=n("1OyB"),b=n("vuIU"),x=n("Ji7U"),O=n("LK+K"),T=n("m+aA"),E=n("Zm9Q"),C=n("c+Xe"),_=n("bdgK"),L="rc-observer-key",P=function(mt){Object(x.a)(pr,mt);var dr=Object(O.a)(pr);function pr(){var kr;return Object(w.a)(this,pr),kr=dr.apply(this,arguments),kr.resizeObserver=null,kr.childNode=null,kr.currentElement=null,kr.state={width:0,height:0,offsetHeight:0,offsetWidth:0},kr.onResize=function(nn){var un=kr.props.onResize,en=nn[0].target,Ln=en.getBoundingClientRect(),xn=Ln.width,Gn=Ln.height,ui=en.offsetWidth,Jn=en.offsetHeight,pi=Math.floor(xn),wi=Math.floor(Gn);if(kr.state.width!==pi||kr.state.height!==wi||kr.state.offsetWidth!==ui||kr.state.offsetHeight!==Jn){var Ni={width:pi,height:wi,offsetWidth:ui,offsetHeight:Jn};kr.setState(Ni),un&&Promise.resolve().then(function(){un(Object(l.a)(Object(l.a)({},Ni),{},{offsetWidth:ui,offsetHeight:Jn}))})}},kr.setChildNode=function(nn){kr.childNode=nn},kr}return Object(b.a)(pr,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var nn=this.props.disabled;if(nn){this.destroyObserver();return}var un=Object(T.a)(this.childNode||this),en=un!==this.currentElement;en&&(this.destroyObserver(),this.currentElement=un),!this.resizeObserver&&un&&(this.resizeObserver=new _.default(this.onResize),this.resizeObserver.observe(un))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var nn=this.props.children,un=Object(E.a)(nn);if(un.length>1)Object(y.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(un.length===0)return Object(y.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var en=un[0];if(o.isValidElement(en)&&Object(C.c)(en)){var Ln=en.ref;un[0]=o.cloneElement(en,{ref:Object(C.a)(Ln,this.setChildNode)})}return un.length===1?un[0]:un.map(function(xn,Gn){return!o.isValidElement(xn)||"key"in xn&&xn.key!==null?xn:o.cloneElement(xn,{key:"".concat(L,"-").concat(Gn)})})}}]),pr}(o.Component);P.displayName="ResizeObserver";var k=P,F=n("qx4F");function j(mt){return null}var z=j;function R(mt){return null}var U=R,B=n("Ff2n"),H="RC_TABLE_KEY";function K(mt){return mt==null?[]:Array.isArray(mt)?mt:[mt]}function V(mt,dr){if(!dr&&typeof dr!="number")return mt;for(var pr=K(dr),kr=mt,nn=0;nn<pr.length;nn+=1){if(!kr)return null;var un=pr[nn];kr=kr[un]}return kr}function W(mt){var dr=[],pr={};return mt.forEach(function(kr){for(var nn=kr||{},un=nn.key,en=nn.dataIndex,Ln=un||K(en).join("-")||H;pr[Ln];)Ln="".concat(Ln,"_next");pr[Ln]=!0,dr.push(Ln)}),dr}function G(){var mt={};function dr(un,en){en&&Object.keys(en).forEach(function(Ln){var xn=en[Ln];xn&&Object(s.a)(xn)==="object"?(un[Ln]=un[Ln]||{},dr(un[Ln],xn)):un[Ln]=xn})}for(var pr=arguments.length,kr=new Array(pr),nn=0;nn<pr;nn++)kr[nn]=arguments[nn];return kr.forEach(function(un){dr(mt,un)}),mt}function re(mt){return mt!=null}function ye(mt){return mt&&Object(s.a)(mt)==="object"&&!Array.isArray(mt)&&!o.isValidElement(mt)}function $(mt){return typeof mt=="string"?!0:Object(C.c)(mt)}function ve(mt,dr){var pr,kr=mt.prefixCls,nn=mt.className,un=mt.record,en=mt.index,Ln=mt.dataIndex,xn=mt.render,Gn=mt.children,ui=mt.component,Jn=ui===void 0?"td":ui,pi=mt.colSpan,wi=mt.rowSpan,Ni=mt.fixLeft,Si=mt.fixRight,vi=mt.firstFixLeft,Ai=mt.lastFixLeft,Ci=mt.firstFixRight,Ui=mt.lastFixRight,$i=mt.appendNode,Di=mt.additionalProps,ua=Di===void 0?{}:Di,aa=mt.ellipsis,Xi=mt.align,Vi=mt.rowType,ta=mt.isSticky,Gi="".concat(kr,"-cell"),ga,ra;if(Gn)ra=Gn;else{var pa=V(un,Ln);if(ra=pa,xn){var _a=xn(pa,un,en);ye(_a)?(ra=_a.children,ga=_a.props):ra=_a}}Object(s.a)(ra)==="object"&&!Array.isArray(ra)&&!o.isValidElement(ra)&&(ra=null),aa&&(Ai||Ci)&&(ra=o.createElement("span",{className:"".concat(Gi,"-content")},ra));var Da=ga||{},Ra=Da.colSpan,vo=Da.rowSpan,ja=Da.style,Ya=Da.className,Ia=Object(B.a)(Da,["colSpan","rowSpan","style","className"]),Va=Ra!==void 0?Ra:pi,co=vo!==void 0?vo:wi;if(Va===0||co===0)return null;var Ta={},yo=typeof Ni=="number",uo=typeof Si=="number";yo&&(Ta.position="sticky",Ta.left=Ni),uo&&(Ta.position="sticky",Ta.right=Si);var Xa={};Xi&&(Xa.textAlign=Xi);var Oo,oa=aa===!0?{showTitle:!0}:aa;oa&&(oa.showTitle||Vi==="header")&&(typeof ra=="string"||typeof ra=="number"?Oo=ra.toString():o.isValidElement(ra)&&typeof ra.props.children=="string"&&(Oo=ra.props.children));var qa=Object(l.a)(Object(l.a)(Object(l.a)({title:Oo},Ia),ua),{},{colSpan:Va&&Va!==1?Va:null,rowSpan:co&&co!==1?co:null,className:t()(Gi,nn,(pr={},Object(e.a)(pr,"".concat(Gi,"-fix-left"),yo),Object(e.a)(pr,"".concat(Gi,"-fix-left-first"),vi),Object(e.a)(pr,"".concat(Gi,"-fix-left-last"),Ai),Object(e.a)(pr,"".concat(Gi,"-fix-right"),uo),Object(e.a)(pr,"".concat(Gi,"-fix-right-first"),Ci),Object(e.a)(pr,"".concat(Gi,"-fix-right-last"),Ui),Object(e.a)(pr,"".concat(Gi,"-ellipsis"),aa),Object(e.a)(pr,"".concat(Gi,"-with-append"),$i),Object(e.a)(pr,"".concat(Gi,"-fix-sticky"),(yo||uo)&&ta),pr),ua.className,Ya),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},ua.style),Xa),Ta),ja),ref:$(Jn)?dr:null});return o.createElement(Jn,Object.assign({},qa),$i,ra)}var Ce=o.forwardRef(ve);Ce.displayName="Cell";var Se=o.memo(Ce,function(mt,dr){return dr.shouldCellUpdate?!dr.shouldCellUpdate(dr.record,mt.record):!1}),Ke=Se,ue=o.createContext(null),Le=ue;function ee(mt,dr,pr,kr,nn){var un=pr[mt]||{},en=pr[dr]||{},Ln,xn;un.fixed==="left"?Ln=kr.left[mt]:en.fixed==="right"&&(xn=kr.right[dr]);var Gn=!1,ui=!1,Jn=!1,pi=!1,wi=pr[dr+1],Ni=pr[mt-1];if(nn==="rtl"){if(Ln!==void 0){var Si=Ni&&Ni.fixed==="left";pi=!Si}else if(xn!==void 0){var vi=wi&&wi.fixed==="right";Jn=!vi}}else if(Ln!==void 0){var Ai=wi&&wi.fixed==="left";Gn=!Ai}else if(xn!==void 0){var Ci=Ni&&Ni.fixed==="right";ui=!Ci}return{fixLeft:Ln,fixRight:xn,lastFixLeft:Gn,firstFixRight:ui,lastFixRight:Jn,firstFixLeft:pi,isSticky:kr.isSticky}}function le(mt){var dr=mt.cells,pr=mt.stickyOffsets,kr=mt.flattenColumns,nn=mt.rowComponent,un=mt.cellComponent,en=mt.onHeaderRow,Ln=mt.index,xn=o.useContext(Le),Gn=xn.prefixCls,ui=xn.direction,Jn;en&&(Jn=en(dr.map(function(wi){return wi.column}),Ln));var pi=W(dr.map(function(wi){return wi.column}));return o.createElement(nn,Object.assign({},Jn),dr.map(function(wi,Ni){var Si=wi.column,vi=ee(wi.colStart,wi.colEnd,kr,pr,ui),Ai;return Si&&Si.onHeaderCell&&(Ai=wi.column.onHeaderCell(Si)),o.createElement(Ke,Object.assign({},wi,{ellipsis:Si.ellipsis,align:Si.align,component:un,prefixCls:Gn,key:pi[Ni]},vi,{additionalProps:Ai,rowType:"header"}))}))}le.displayName="HeaderRow";var et=le;function Re(mt){var dr=[];function pr(en,Ln){var xn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;dr[xn]=dr[xn]||[];var Gn=Ln,ui=en.filter(Boolean).map(function(Jn){var pi={key:Jn.key,className:Jn.className||"",children:Jn.title,column:Jn,colStart:Gn},wi=1,Ni=Jn.children;return Ni&&Ni.length>0&&(wi=pr(Ni,Gn,xn+1).reduce(function(Si,vi){return Si+vi},0),pi.hasSubColumns=!0),"colSpan"in Jn&&(wi=Jn.colSpan),"rowSpan"in Jn&&(pi.rowSpan=Jn.rowSpan),pi.colSpan=wi,pi.colEnd=pi.colStart+wi-1,dr[xn].push(pi),Gn+=wi,wi});return ui}pr(mt,0);for(var kr=dr.length,nn=function(Ln){dr[Ln].forEach(function(xn){!("rowSpan"in xn)&&!xn.hasSubColumns&&(xn.rowSpan=kr-Ln)})},un=0;un<kr;un+=1)nn(un);return dr}function Ae(mt){var dr=mt.stickyOffsets,pr=mt.columns,kr=mt.flattenColumns,nn=mt.onHeaderRow,un=o.useContext(Le),en=un.prefixCls,Ln=un.getComponent,xn=o.useMemo(function(){return Re(pr)},[pr]),Gn=Ln(["header","wrapper"],"thead"),ui=Ln(["header","row"],"tr"),Jn=Ln(["header","cell"],"th");return o.createElement(Gn,{className:"".concat(en,"-thead")},xn.map(function(pi,wi){var Ni=o.createElement(et,{key:wi,flattenColumns:kr,cells:pi,stickyOffsets:dr,rowComponent:ui,cellComponent:Jn,onHeaderRow:nn,index:wi});return Ni}))}var oe=Ae,ce="RC_TABLE_INTERNAL_COL_DEFINE";function be(mt){var dr=mt.expandable,pr=Object(B.a)(mt,["expandable"]);return"expandable"in mt?Object(l.a)(Object(l.a)({},pr),dr):pr}function Te(mt){return Object.keys(mt).reduce(function(dr,pr){return(pr.substr(0,5)==="data-"||pr.substr(0,5)==="aria-")&&(dr[pr]=mt[pr]),dr},{})}function Be(mt){for(var dr=mt.colWidths,pr=mt.columns,kr=mt.columCount,nn=[],un=kr||pr.length,en=!1,Ln=un-1;Ln>=0;Ln-=1){var xn=dr[Ln],Gn=pr&&pr[Ln],ui=Gn&&Gn[ce];(xn||ui||en)&&(nn.unshift(o.createElement("col",Object.assign({key:Ln,style:{width:xn,minWidth:xn}},ui))),en=!0)}return o.createElement("colgroup",null,nn)}var De=Be;function ae(mt,dr){return Object(o.useMemo)(function(){for(var pr=[],kr=0;kr<dr;kr+=1){var nn=mt[kr];if(nn!==void 0)pr[kr]=nn;else return null}return pr},[mt.join("_"),dr])}var fe=o.forwardRef(function(mt,dr){var pr=mt.noData,kr=mt.columns,nn=mt.flattenColumns,un=mt.colWidths,en=mt.columCount,Ln=mt.stickyOffsets,xn=mt.direction,Gn=mt.fixHeader,ui=mt.offsetHeader,Jn=mt.stickyClassName,pi=mt.onScroll,wi=Object(B.a)(mt,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),Ni=o.useContext(Le),Si=Ni.prefixCls,vi=Ni.scrollbarSize,Ai=Ni.isSticky,Ci=Ai&&!Gn?0:vi,Ui=o.useRef(null),$i=o.useCallback(function(Gi){Object(C.b)(dr,Gi),Object(C.b)(Ui,Gi)},[]);o.useEffect(function(){var Gi;function ga(ra){var pa=ra.currentTarget,_a=ra.deltaX;_a&&(pi({currentTarget:pa,scrollLeft:pa.scrollLeft+_a}),ra.preventDefault())}return(Gi=Ui.current)===null||Gi===void 0||Gi.addEventListener("wheel",ga),function(){var ra;(ra=Ui.current)===null||ra===void 0||ra.removeEventListener("wheel",ga)}},[]);var Di=nn[nn.length-1],ua={fixed:Di?Di.fixed:null,onHeaderCell:function(){return{className:"".concat(Si,"-cell-scrollbar")}}},aa=Object(o.useMemo)(function(){return Ci?[].concat(Object(r.a)(kr),[ua]):kr},[Ci,kr]),Xi=Object(o.useMemo)(function(){return Ci?[].concat(Object(r.a)(nn),[ua]):nn},[Ci,nn]),Vi=Object(o.useMemo)(function(){var Gi=Ln.right,ga=Ln.left;return Object(l.a)(Object(l.a)({},Ln),{},{left:xn==="rtl"?[].concat(Object(r.a)(ga.map(function(ra){return ra+Ci})),[0]):ga,right:xn==="rtl"?Gi:[].concat(Object(r.a)(Gi.map(function(ra){return ra+Ci})),[0]),isSticky:Ai})},[Ci,Ln,Ai]),ta=ae(un,en);return o.createElement("div",{style:Object(l.a)({overflow:"hidden"},Ai?{top:ui}:{}),ref:$i,className:t()("".concat(Si,"-header"),Object(e.a)({},Jn,!!Jn))},o.createElement("table",{style:{tableLayout:"fixed",visibility:pr||ta?null:"hidden"}},o.createElement(De,{colWidths:ta?[].concat(Object(r.a)(ta),[Ci]):[],columCount:en+1,columns:Xi}),o.createElement(oe,Object.assign({},wi,{stickyOffsets:Vi,columns:aa,flattenColumns:Xi}))))});fe.displayName="FixedHeader";var Oe=fe,Je=o.createContext(null),Et=Je;function Ze(mt){var dr=mt.prefixCls,pr=mt.children,kr=mt.component,nn=mt.cellComponent,un=mt.fixHeader,en=mt.fixColumn,Ln=mt.horizonScroll,xn=mt.className,Gn=mt.expanded,ui=mt.componentWidth,Jn=mt.colSpan,pi=o.useContext(Le),wi=pi.scrollbarSize;return o.useMemo(function(){var Ni=pr;return en&&(Ni=o.createElement("div",{style:{width:ui-(un?wi:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(dr,"-expanded-row-fixed")},Ni)),o.createElement(kr,{className:xn,style:{display:Gn?null:"none"}},o.createElement(Ke,{component:nn,prefixCls:dr,colSpan:Jn},Ni))},[pr,kr,un,Ln,xn,Gn,ui,Jn,wi])}var Ne=Ze;function It(mt){var dr=mt.className,pr=mt.style,kr=mt.record,nn=mt.index,un=mt.rowKey,en=mt.getRowKey,Ln=mt.rowExpandable,xn=mt.expandedKeys,Gn=mt.onRow,ui=mt.indent,Jn=ui===void 0?0:ui,pi=mt.rowComponent,wi=mt.cellComponent,Ni=mt.childrenColumnName,Si=o.useContext(Le),vi=Si.prefixCls,Ai=Si.fixedInfoList,Ci=o.useContext(Et),Ui=Ci.fixHeader,$i=Ci.fixColumn,Di=Ci.horizonScroll,ua=Ci.componentWidth,aa=Ci.flattenColumns,Xi=Ci.expandableType,Vi=Ci.expandRowByClick,ta=Ci.onTriggerExpand,Gi=Ci.rowClassName,ga=Ci.expandedRowClassName,ra=Ci.indentSize,pa=Ci.expandIcon,_a=Ci.expandedRowRender,Da=Ci.expandIconColumnIndex,Ra=o.useState(!1),vo=Object(u.a)(Ra,2),ja=vo[0],Ya=vo[1],Ia=xn&&xn.has(mt.recordKey);o.useEffect(function(){Ia&&Ya(!0)},[Ia]);var Va=Xi==="row"&&(!Ln||Ln(kr)),co=Xi==="nest",Ta=Ni&&kr&&kr[Ni],yo=Va||co,uo;Gn&&(uo=Gn(kr,nn));var Xa=function(Ja){if(Vi&&yo&&ta(kr,Ja),uo&&uo.onClick){for(var Fa,ha=arguments.length,tt=new Array(ha>1?ha-1:0),lr=1;lr<ha;lr++)tt[lr-1]=arguments[lr];(Fa=uo).onClick.apply(Fa,[Ja].concat(tt))}},Oo;typeof Gi=="string"?Oo=Gi:typeof Gi=="function"&&(Oo=Gi(kr,nn,Jn));var oa=W(aa),qa=o.createElement(pi,Object.assign({},uo,{"data-row-key":un,className:t()(dr,"".concat(vi,"-row"),"".concat(vi,"-row-level-").concat(Jn),Oo,uo&&uo.className),style:Object(l.a)(Object(l.a)({},pr),uo?uo.style:null),onClick:Xa}),aa.map(function(go,Ja){var Fa=go.render,ha=go.dataIndex,tt=go.className,lr=oa[Ja],Mr=Ai[Ja],Ir;Ja===(Da||0)&&co&&(Ir=o.createElement(o.Fragment,null,o.createElement("span",{style:{paddingLeft:"".concat(ra*Jn,"px")},className:"".concat(vi,"-row-indent indent-level-").concat(Jn)}),pa({prefixCls:vi,expanded:Ia,expandable:Ta,record:kr,onExpand:ta})));var _n;return go.onCell&&(_n=go.onCell(kr,nn)),o.createElement(Ke,Object.assign({className:tt,ellipsis:go.ellipsis,align:go.align,component:wi,prefixCls:vi,key:lr,record:kr,index:nn,dataIndex:ha,render:Fa,shouldCellUpdate:go.shouldCellUpdate},Mr,{appendNode:Ir,additionalProps:_n}))})),oo;if(Va&&(ja||Ia)){var Ro=_a(kr,nn,Jn+1,Ia),Ga=ga&&ga(kr,nn,Jn);oo=o.createElement(Ne,{expanded:Ia,className:t()("".concat(vi,"-expanded-row"),"".concat(vi,"-expanded-row-level-").concat(Jn+1),Ga),prefixCls:vi,fixHeader:Ui,fixColumn:$i,horizonScroll:Di,component:pi,componentWidth:ua,cellComponent:wi,colSpan:aa.length},Ro)}var _o;return Ta&&Ia&&(_o=(kr[Ni]||[]).map(function(go,Ja){var Fa=en(go,Ja);return o.createElement(It,Object.assign({},mt,{key:Fa,rowKey:Fa,record:go,recordKey:Fa,index:Ja,indent:Jn+1}))})),o.createElement(o.Fragment,null,qa,oo,_o)}It.displayName="BodyRow";var Xe=It,Ot=o.createContext(null),Bt=Ot;function kt(mt){var dr=mt.columnKey,pr=mt.onColumnResize,kr=o.useRef();return o.useEffect(function(){kr.current&&pr(dr,kr.current.offsetWidth)},[]),o.createElement(k,{onResize:function(un){var en=un.offsetWidth;pr(dr,en)}},o.createElement("td",{ref:kr,style:{padding:0,border:0,height:0}},o.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function _t(mt){var dr=mt.data,pr=mt.getRowKey,kr=mt.measureColumnWidth,nn=mt.expandedKeys,un=mt.onRow,en=mt.rowExpandable,Ln=mt.emptyNode,xn=mt.childrenColumnName,Gn=o.useContext(Bt),ui=Gn.onColumnResize,Jn=o.useContext(Le),pi=Jn.prefixCls,wi=Jn.getComponent,Ni=o.useContext(Et),Si=Ni.fixHeader,vi=Ni.horizonScroll,Ai=Ni.flattenColumns,Ci=Ni.componentWidth;return o.useMemo(function(){var Ui=wi(["body","wrapper"],"tbody"),$i=wi(["body","row"],"tr"),Di=wi(["body","cell"],"td"),ua;dr.length?ua=dr.map(function(Xi,Vi){var ta=pr(Xi,Vi);return o.createElement(Xe,{key:ta,rowKey:ta,record:Xi,recordKey:ta,index:Vi,rowComponent:$i,cellComponent:Di,expandedKeys:nn,onRow:un,getRowKey:pr,rowExpandable:en,childrenColumnName:xn})}):ua=o.createElement(Ne,{expanded:!0,className:"".concat(pi,"-placeholder"),prefixCls:pi,fixHeader:Si,fixColumn:vi,horizonScroll:vi,component:$i,componentWidth:Ci,cellComponent:Di,colSpan:Ai.length},Ln);var aa=W(Ai);return o.createElement(Ui,{className:"".concat(pi,"-tbody")},kr&&o.createElement("tr",{"aria-hidden":"true",className:"".concat(pi,"-measure-row"),style:{height:0}},aa.map(function(Xi){return o.createElement(kt,{key:Xi,columnKey:Xi,onColumnResize:ui})})),ua)},[dr,pi,un,kr,nn,pr,wi,Ci,Ln,Ai])}var Ft=o.memo(_t);Ft.displayName="Body";var ke=Ft;function te(mt){return Object(E.a)(mt).filter(function(dr){return o.isValidElement(dr)}).map(function(dr){var pr=dr.key,kr=dr.props,nn=kr.children,un=Object(B.a)(kr,["children"]),en=Object(l.a)({key:pr},un);return nn&&(en.children=te(nn)),en})}function Q(mt){return mt.reduce(function(dr,pr){var kr=pr.fixed,nn=kr===!0?"left":kr,un=pr.children;return un&&un.length>0?[].concat(Object(r.a)(dr),Object(r.a)(Q(un).map(function(en){return Object(l.a)({fixed:nn},en)}))):[].concat(Object(r.a)(dr),[Object(l.a)(Object(l.a)({},pr),{},{fixed:nn})])},[])}function qe(mt){for(var dr=!0,pr=0;pr<mt.length;pr+=1){var kr=mt[pr];if(dr&&kr.fixed!=="left")dr=!1;else if(!dr&&kr.fixed==="left"){Object(y.a)(!1,"Index ".concat(pr-1," of `columns` missing `fixed='left'` prop."));break}}for(var nn=!0,un=mt.length-1;un>=0;un-=1){var en=mt[un];if(nn&&en.fixed!=="right")nn=!1;else if(!nn&&en.fixed==="right"){Object(y.a)(!1,"Index ".concat(un+1," of `columns` missing `fixed='right'` prop."));break}}}function je(mt){return mt.map(function(dr){var pr=dr.fixed,kr=Object(B.a)(dr,["fixed"]),nn=pr;return pr==="left"?nn="right":pr==="right"&&(nn="left"),Object(l.a)({fixed:nn},kr)})}function q(mt,dr){var pr=mt.prefixCls,kr=mt.columns,nn=mt.children,un=mt.expandable,en=mt.expandedKeys,Ln=mt.getRowKey,xn=mt.onTriggerExpand,Gn=mt.expandIcon,ui=mt.rowExpandable,Jn=mt.expandIconColumnIndex,pi=mt.direction,wi=mt.expandRowByClick,Ni=o.useMemo(function(){return kr||te(nn)},[kr,nn]),Si=o.useMemo(function(){if(un){var Ci,Ui=Jn||0,$i=Ni[Ui],Di=(Ci={},Object(e.a)(Ci,ce,{className:"".concat(pr,"-expand-icon-col")}),Object(e.a)(Ci,"title",""),Object(e.a)(Ci,"fixed",$i?$i.fixed:null),Object(e.a)(Ci,"className","".concat(pr,"-row-expand-icon-cell")),Object(e.a)(Ci,"render",function(Xi,Vi,ta){var Gi=Ln(Vi,ta),ga=en.has(Gi),ra=ui?ui(Vi):!0,pa=Gn({prefixCls:pr,expanded:ga,expandable:ra,record:Vi,onExpand:xn});return wi?o.createElement("span",{onClick:function(Da){return Da.stopPropagation()}},pa):pa}),Ci),ua=Ni.slice();return Ui>=0&&ua.splice(Ui,0,Di),ua}return Ni},[un,Ni,Ln,en,Gn,pi]),vi=o.useMemo(function(){var Ci=Si;return dr&&(Ci=dr(Ci)),Ci.length||(Ci=[{render:function(){return null}}]),Ci},[dr,Si,pi]),Ai=o.useMemo(function(){return pi==="rtl"?je(Q(vi)):Q(vi)},[vi,pi]);return[vi,Ai]}var wt=q,Vt=n("xEkU"),lt=n.n(Vt);function or(mt){var dr=Object(o.useRef)(mt),pr=Object(o.useState)({}),kr=Object(u.a)(pr,2),nn=kr[1],un=Object(o.useRef)(null),en=Object(o.useRef)([]);function Ln(xn){un.current===null&&(en.current=[],un.current=lt()(function(){en.current.forEach(function(Gn){dr.current=Gn(dr.current)}),un.current=null,nn({})})),en.current.push(xn)}return Object(o.useEffect)(function(){return function(){lt.a.cancel(un.current)}},[]),[dr.current,Ln]}function vr(mt){var dr=Object(o.useRef)(mt),pr=Object(o.useRef)(null);function kr(){window.clearTimeout(pr.current)}function nn(en){dr.current=en,kr(),pr.current=window.setTimeout(function(){dr.current=null,pr.current=null},100)}function un(){return dr.current}return Object(o.useEffect)(function(){return kr},[]),[nn,un]}function An(mt,dr,pr){var kr=Object(o.useMemo)(function(){for(var nn=[],un=[],en=0,Ln=0,xn=0;xn<dr;xn+=1)if(pr==="rtl"){un[xn]=Ln,Ln+=mt[xn]||0;var Gn=dr-xn-1;nn[Gn]=en,en+=mt[Gn]||0}else{nn[xn]=en,en+=mt[xn]||0;var ui=dr-xn-1;un[ui]=Ln,Ln+=mt[ui]||0}return{left:nn,right:un}},[mt,dr,pr]);return kr}var hr=An;function xr(mt){var dr=mt.className,pr=mt.children;return o.createElement("div",{className:dr},pr)}var nr=xr;function Yt(mt){var dr=mt.className,pr=mt.index,kr=mt.children,nn=mt.colSpan,un=mt.rowSpan,en=o.useContext(Le),Ln=en.prefixCls,xn=en.fixedInfoList,Gn=xn[pr];return o.createElement(Ke,Object.assign({className:dr,index:pr,component:"td",prefixCls:Ln,record:null,dataIndex:null,render:function(){return{children:kr,props:{colSpan:nn,rowSpan:un}}}},Gn))}function gt(mt){return o.createElement("tr",Object.assign({},mt))}function zr(mt){var dr=mt.children,pr=o.useContext(Le),kr=pr.prefixCls;return o.createElement("tfoot",{className:"".concat(kr,"-summary")},dr)}var pn=zr,Nn={Cell:Yt,Row:gt};function Vn(mt){var dr,pr=mt.prefixCls,kr=mt.record,nn=mt.onExpand,un=mt.expanded,en=mt.expandable,Ln="".concat(pr,"-row-expand-icon");if(!en)return o.createElement("span",{className:t()(Ln,"".concat(pr,"-row-spaced"))});var xn=function(ui){nn(kr,ui),ui.stopPropagation()};return o.createElement("span",{className:t()(Ln,(dr={},Object(e.a)(dr,"".concat(pr,"-row-expanded"),un),Object(e.a)(dr,"".concat(pr,"-row-collapsed"),!un),dr)),onClick:xn})}function xi(mt,dr,pr){var kr=[];function nn(un){(un||[]).forEach(function(en,Ln){kr.push(dr(en,Ln)),nn(en[pr])})}return nn(mt),kr}var bn=n("zT1h"),Pn=n("y0+3"),jt=function(dr,pr){var kr,nn,un=dr.scrollBodyRef,en=dr.onScroll,Ln=dr.offsetScroll,xn=o.useContext(Le),Gn=xn.prefixCls,ui=((kr=un.current)===null||kr===void 0?void 0:kr.scrollWidth)||0,Jn=((nn=un.current)===null||nn===void 0?void 0:nn.clientWidth)||0,pi=ui&&Jn*(Jn/ui),wi=o.useRef(),Ni=or({scrollLeft:0,isHiddenScrollBar:!1}),Si=Object(u.a)(Ni,2),vi=Si[0],Ai=Si[1],Ci=o.useRef({delta:0,x:0}),Ui=o.useState(!1),$i=Object(u.a)(Ui,2),Di=$i[0],ua=$i[1],aa=function(){ua(!1)},Xi=function(ra){ra.persist(),Ci.current.delta=ra.pageX-vi.scrollLeft,Ci.current.x=0,ua(!0),ra.preventDefault()},Vi=function(ra){var pa,_a=ra||((pa=window)===null||pa===void 0?void 0:pa.event),Da=_a.buttons;if(!Di||Da===0){Di&&ua(!1);return}var Ra=Ci.current.x+ra.pageX-Ci.current.x-Ci.current.delta;Ra<=0&&(Ra=0),Ra+pi>=Jn&&(Ra=Jn-pi),en({scrollLeft:Ra/Jn*(ui+2)}),Ci.current.x=ra.pageX},ta=function(){var ra=Object(Pn.b)(un.current).top,pa=ra+un.current.offsetHeight,_a=document.documentElement.scrollTop+window.innerHeight;pa-Object(F.a)()<=_a||ra>=_a-Ln?Ai(function(Da){return Object(l.a)(Object(l.a)({},Da),{},{isHiddenScrollBar:!0})}):Ai(function(Da){return Object(l.a)(Object(l.a)({},Da),{},{isHiddenScrollBar:!1})})},Gi=function(ra){Ai(function(pa){return Object(l.a)(Object(l.a)({},pa),{},{scrollLeft:ra/ui*Jn||0})})};return o.useImperativeHandle(pr,function(){return{setScrollLeft:Gi}}),o.useEffect(function(){var ga=Object(bn.a)(document.body,"mouseup",aa,!1),ra=Object(bn.a)(document.body,"mousemove",Vi,!1);return ta(),function(){ga.remove(),ra.remove()}},[pi,Di]),o.useEffect(function(){var ga=Object(bn.a)(window,"scroll",ta,!1),ra=Object(bn.a)(window,"resize",ta,!1);return function(){ga.remove(),ra.remove()}},[]),o.useEffect(function(){vi.isHiddenScrollBar||Ai(function(ga){var ra,pa;return Object(l.a)(Object(l.a)({},ga),{},{scrollLeft:un.current.scrollLeft/((ra=un.current)===null||ra===void 0?void 0:ra.scrollWidth)*((pa=un.current)===null||pa===void 0?void 0:pa.clientWidth)})})},[vi.isHiddenScrollBar]),ui<=Jn||!pi||vi.isHiddenScrollBar?null:o.createElement("div",{style:{height:Object(F.a)(),width:Jn,bottom:Ln},className:"".concat(Gn,"-sticky-scroll")},o.createElement("div",{onMouseDown:Xi,ref:wi,className:t()("".concat(Gn,"-sticky-scroll-bar"),Object(e.a)({},"".concat(Gn,"-sticky-scroll-bar-active"),Di)),style:{width:"".concat(pi,"px"),transform:"translate3d(".concat(vi.scrollLeft,"px, 0, 0)")}}))},At=o.forwardRef(jt);function xe(mt,dr){return o.useMemo(function(){var pr=!!mt;return{isSticky:pr,stickyClassName:pr?"".concat(dr,"-sticky-header"):"",offsetHeader:Object(s.a)(mt)==="object"&&mt.offsetHeader||0,offsetScroll:Object(s.a)(mt)==="object"&&mt.offsetScroll||0}},[mt,dr])}var we=[],Ee={},Ge="rc-table-internal-hook",nt=o.memo(function(mt){var dr=mt.children;return dr},function(mt,dr){return A()(mt.props,dr.props)?mt.pingLeft!==dr.pingLeft||mt.pingRight!==dr.pingRight:!1});function st(mt){var dr,pr=mt.prefixCls,kr=mt.className,nn=mt.rowClassName,un=mt.style,en=mt.data,Ln=mt.rowKey,xn=mt.scroll,Gn=mt.tableLayout,ui=mt.direction,Jn=mt.title,pi=mt.footer,wi=mt.summary,Ni=mt.id,Si=mt.showHeader,vi=mt.components,Ai=mt.emptyText,Ci=mt.onRow,Ui=mt.onHeaderRow,$i=mt.internalHooks,Di=mt.transformColumns,ua=mt.internalRefs,aa=mt.sticky,Xi=en||we,Vi=!!Xi.length,ta=o.useState(0),Gi=Object(u.a)(ta,2),ga=Gi[0],ra=Gi[1];o.useEffect(function(){ra(Object(F.a)())});var pa=o.useMemo(function(){return G(vi,{})},[vi]),_a=o.useCallback(function(Ao,to){return V(pa,Ao)||to},[pa]),Da=o.useMemo(function(){return typeof Ln=="function"?Ln:function(Ao){var to=Ao&&Ao[Ln];return to}},[Ln]),Ra=be(mt),vo=Ra.expandIcon,ja=Ra.expandedRowKeys,Ya=Ra.defaultExpandedRowKeys,Ia=Ra.defaultExpandAllRows,Va=Ra.expandedRowRender,co=Ra.onExpand,Ta=Ra.onExpandedRowsChange,yo=Ra.expandRowByClick,uo=Ra.rowExpandable,Xa=Ra.expandIconColumnIndex,Oo=Ra.expandedRowClassName,oa=Ra.childrenColumnName,qa=Ra.indentSize,oo=vo||Vn,Ro=oa||"children",Ga=o.useMemo(function(){return Va?"row":mt.expandable&&$i===Ge&&mt.expandable.__PARENT_RENDER_ICON__||Xi.some(function(Ao){return Ao&&Object(s.a)(Ao)==="object"&&Ao[Ro]})?"nest":!1},[!!Va,Xi]),_o=o.useState(function(){return Ya||(Ia?xi(Xi,Da,Ro):[])}),go=Object(u.a)(_o,2),Ja=go[0],Fa=go[1],ha=o.useMemo(function(){return new Set(ja||Ja||[])},[ja,Ja]),tt=o.useCallback(function(Ao){var to=Da(Ao,Xi.indexOf(Ao)),Jo,ts=ha.has(to);ts?(ha.delete(to),Jo=Object(r.a)(ha)):Jo=[].concat(Object(r.a)(ha),[to]),Fa(Jo),co&&co(!ts,Ao),Ta&&Ta(Jo)},[Da,ha,Xi,co,Ta]),lr=o.useState(0),Mr=Object(u.a)(lr,2),Ir=Mr[0],_n=Mr[1],Vr=wt(Object(l.a)(Object(l.a)(Object(l.a)({},mt),Ra),{},{expandable:!!Va,expandedKeys:ha,getRowKey:Da,onTriggerExpand:tt,expandIcon:oo,expandIconColumnIndex:Xa,direction:ui}),$i===Ge?Di:null),_r=Object(u.a)(Vr,2),Mn=_r[0],Br=_r[1],Sn=o.useMemo(function(){return{columns:Mn,flattenColumns:Br}},[Mn,Br]),jn=o.useRef(),Hn=o.useRef(),Bn=o.useRef(),ri=o.useState(!1),Yn=Object(u.a)(ri,2),ii=Yn[0],ai=Yn[1],Pi=o.useState(!1),yi=Object(u.a)(Pi,2),Ki=yi[0],va=yi[1],ea=or(new Map),Ji=Object(u.a)(ea,2),sa=Ji[0],fa=Ji[1],xo=W(Br),Qa=xo.map(function(Ao){return sa.get(Ao)}),Wi=o.useMemo(function(){return Qa},[Qa.join("_")]),qi=hr(Wi,Br.length,ui),ca=xn&&re(xn.y),ma=xn&&re(xn.x),Pa=ma&&Br.some(function(Ao){var to=Ao.fixed;return to}),La=o.useRef(),Za=xe(aa,pr),eo=Za.isSticky,ko=Za.offsetHeader,jo=Za.offsetScroll,cs=Za.stickyClassName,Mo,Lo,Ba;ca&&(Lo={overflowY:"scroll",maxHeight:xn.y}),ma&&(Mo={overflowX:"auto"},ca||(Lo={overflowY:"hidden"}),Ba={width:xn.x===!0?"auto":xn.x,minWidth:"100%"});var za=o.useCallback(function(Ao,to){fa(function(Jo){var ts=new Map(Jo);return ts.set(Ao,to),ts})},[]),Ca=vr(null),Po=Object(u.a)(Ca,2),Qo=Po[0],so=Po[1];function Os(Ao,to){if(!to)return;typeof to=="function"?to(Ao):to.scrollLeft!==Ao&&(to.scrollLeft=Ao)}var ho=function(to){var Jo=to.currentTarget,ts=to.scrollLeft,Ha=typeof ts=="number"?ts:Jo.scrollLeft,Ct=Jo||Ee;if(!so()||so()===Ct){var Wt;Qo(Ct),Os(Ha,Hn.current),Os(Ha,Bn.current),Os(Ha,(Wt=La.current)===null||Wt===void 0?void 0:Wt.setScrollLeft)}if(Jo){var cn=Jo.scrollWidth,zn=Jo.clientWidth;ai(Ha>0),va(Ha<cn-zn)}},bo=function(){Bn.current&&ho({currentTarget:Bn.current})},ds=function(to){var Jo=to.width;bo(),_n(jn.current?jn.current.offsetWidth:Jo)};o.useEffect(function(){return bo},[]),o.useEffect(function(){ma&&bo()},[ma]),o.useEffect(function(){$i===Ge&&ua&&(ua.body.current=Bn.current)});var Ho=_a(["table"],"table"),zo=o.useMemo(function(){return Gn||(Pa?xn.x==="max-content"?"auto":"fixed":ca||Br.some(function(Ao){var to=Ao.ellipsis;return to})?"fixed":"auto")},[ca,Pa,Br,Gn]),rn,es={colWidths:Wi,columCount:Br.length,stickyOffsets:qi,onHeaderRow:Ui,fixHeader:ca},Js=o.useMemo(function(){return Vi?null:typeof Ai=="function"?Ai():Ai},[Vi,Ai]),Es=o.createElement(ke,{data:Xi,measureColumnWidth:ca||ma||eo,expandedKeys:ha,rowExpandable:uo,getRowKey:Da,onRow:Ci,emptyNode:Js,childrenColumnName:Ro}),gs=o.createElement(De,{colWidths:Br.map(function(Ao){var to=Ao.width;return to}),columns:Br}),Ko=wi&&o.createElement(pn,null,wi(Xi)),hs=_a(["body"]);if(ca||eo){var bs;typeof hs=="function"?(bs=hs(Xi,{scrollbarSize:ga,ref:Bn,onScroll:ho}),es.colWidths=Br.map(function(Ao,to){var Jo=Ao.width,ts=to===Mn.length-1?Jo-ga:Jo;return typeof ts=="number"&&!Number.isNaN(ts)?ts:(Object(y.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):bs=o.createElement("div",{style:Object(l.a)(Object(l.a)({},Mo),Lo),onScroll:ho,ref:Bn,className:t()("".concat(pr,"-body"))},o.createElement(Ho,{style:Object(l.a)(Object(l.a)({},Ba),{},{tableLayout:zo})},gs,Es,Ko),eo&&o.createElement(At,{ref:La,offsetScroll:jo,scrollBodyRef:Bn,onScroll:ho})),rn=o.createElement(o.Fragment,null,Si!==!1&&o.createElement(Oe,Object.assign({noData:!Xi.length},es,Sn,{direction:ui,offsetHeader:ko,stickyClassName:cs,ref:Hn,onScroll:ho})),bs)}else rn=o.createElement("div",{style:Object(l.a)(Object(l.a)({},Mo),Lo),className:t()("".concat(pr,"-content")),onScroll:ho,ref:Bn},o.createElement(Ho,{style:Object(l.a)(Object(l.a)({},Ba),{},{tableLayout:zo})},gs,Si!==!1&&o.createElement(oe,Object.assign({},es,Sn)),Es,Ko));var ws=Te(mt),qo=o.createElement("div",Object.assign({className:t()(pr,kr,(dr={},Object(e.a)(dr,"".concat(pr,"-rtl"),ui==="rtl"),Object(e.a)(dr,"".concat(pr,"-ping-left"),ii),Object(e.a)(dr,"".concat(pr,"-ping-right"),Ki),Object(e.a)(dr,"".concat(pr,"-layout-fixed"),Gn==="fixed"),Object(e.a)(dr,"".concat(pr,"-fixed-header"),ca),Object(e.a)(dr,"".concat(pr,"-fixed-column"),Pa),Object(e.a)(dr,"".concat(pr,"-scroll-horizontal"),ma),Object(e.a)(dr,"".concat(pr,"-has-fix-left"),Br[0]&&Br[0].fixed),Object(e.a)(dr,"".concat(pr,"-has-fix-right"),Br[Br.length-1]&&Br[Br.length-1].fixed==="right"),dr)),style:un,id:Ni,ref:jn},ws),o.createElement(nt,{pingLeft:ii,pingRight:Ki,props:Object(l.a)(Object(l.a)({},mt),{},{stickyOffsets:qi,mergedExpandedKeys:ha})},Jn&&o.createElement(nr,{className:"".concat(pr,"-title")},Jn(Xi)),o.createElement("div",{className:"".concat(pr,"-container")},rn),pi&&o.createElement(nr,{className:"".concat(pr,"-footer")},pi(Xi))));ma&&(qo=o.createElement(k,{onResize:ds},qo));var us=o.useMemo(function(){return{prefixCls:pr,getComponent:_a,scrollbarSize:ga,direction:ui,fixedInfoList:Br.map(function(Ao,to){return ee(to,to,Br,qi,ui)}),isSticky:eo}},[pr,_a,ga,ui,Br,qi,ui,eo]),_s=o.useMemo(function(){return Object(l.a)(Object(l.a)({},Sn),{},{tableLayout:zo,rowClassName:nn,expandedRowClassName:Oo,componentWidth:Ir,fixHeader:ca,fixColumn:Pa,horizonScroll:ma,expandIcon:oo,expandableType:Ga,expandRowByClick:yo,expandedRowRender:Va,onTriggerExpand:tt,expandIconColumnIndex:Xa,indentSize:qa})},[Sn,zo,nn,Oo,Ir,ca,Pa,ma,oo,Ga,yo,Va,tt,Xa,qa]),As=o.useMemo(function(){return{onColumnResize:za}},[za]);return o.createElement(Le.Provider,{value:us},o.createElement(Et.Provider,{value:_s},o.createElement(Bt.Provider,{value:As},qo)))}st.Column=U,st.ColumnGroup=z,st.Summary=Nn,st.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Mt=st,wr=Mt,Pr=n("W9HT"),qr=n("NUBc"),xt=n("H84U"),rt=function(mt,dr){var pr={};for(var kr in mt)Object.prototype.hasOwnProperty.call(mt,kr)&&dr.indexOf(kr)<0&&(pr[kr]=mt[kr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,kr=Object.getOwnPropertySymbols(mt);nn<kr.length;nn++)dr.indexOf(kr[nn])<0&&Object.prototype.propertyIsEnumerable.call(mt,kr[nn])&&(pr[kr[nn]]=mt[kr[nn]]);return pr},it=10;function $t(mt,dr){var pr={current:dr.current,pageSize:dr.pageSize},kr=mt&&p()(mt)==="object"?mt:{};return Object.keys(kr).forEach(function(nn){var un=dr[nn];typeof un!="function"&&(pr[nn]=un)}),pr}function Dt(){for(var mt={},dr=arguments.length,pr=new Array(dr),kr=0;kr<dr;kr++)pr[kr]=arguments[kr];return pr.forEach(function(nn){nn&&Object.keys(nn).forEach(function(un){var en=nn[un];en!==void 0&&(mt[un]=en)})}),mt}function St(mt,dr,pr){var kr=dr&&p()(dr)==="object"?dr:{},nn=kr.total,un=nn===void 0?0:nn,en=rt(kr,["total"]),Ln=Object(o.useState)(function(){return{current:"defaultCurrent"in en?en.defaultCurrent:1,pageSize:"defaultPageSize"in en?en.defaultPageSize:it}}),xn=f()(Ln,2),Gn=xn[0],ui=xn[1],Jn=Dt(Gn,en,{total:un>0?un:mt});if(!un){var pi=Math.ceil(mt/Jn.pageSize);pi<Jn.current&&(Jn.current=1)}var wi=function(){var vi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Ai=arguments.length>1?arguments[1]:void 0;ui(c()(c()({},Jn),{current:vi,pageSize:Ai||Jn.pageSize}))},Ni=function(vi,Ai){var Ci=Jn==null?void 0:Jn.pageSize;Ai&&Ai!==Ci&&(vi=1,dr&&dr.onShowSizeChange&&dr.onShowSizeChange(vi,Ai)),dr&&dr.onChange&&dr.onChange(vi,Ai),wi(vi,Ai),pr(vi,Ai||Ci)};return dr===!1?[{},function(){}]:[c()(c()({},Jn),{onChange:Ni}),wi]}function Ut(mt,dr,pr){var kr=o.useRef({});function nn(un){if(!kr.current||kr.current.data!==mt||kr.current.childrenColumnName!==dr||kr.current.getRowKey!==pr){var en=function xn(Gn){Gn.forEach(function(ui,Jn){var pi=pr(ui,Jn);Ln.set(pi,ui),ui&&p()(ui)==="object"&&dr in ui&&xn(ui[dr]||[])})},Ln=new Map;en(mt),kr.current={data:mt,childrenColumnName:dr,kvMap:Ln,getRowKey:pr}}return kr.current.kvMap.get(un)}return[nn]}var vt=n("SA+Z"),Pt=n.n(vt),br=n("RIqP"),ur=n.n(br),fr=n("HQEm"),Jr=n.n(fr),Zr=n("c3jg"),Fn=n("qOx5"),Rn=n("wPhX"),ei=n("6cGi"),di=n("kaz8"),gi=n("jsC+"),Ii=n("BvKs"),Ye=n("9yH6"),ge=n("uaoM"),Ie="SELECT_ALL",Fe="SELECT_INVERT";function Ve(mt){return mt&&mt.fixed}function We(mt,dr){var pr=[];return(mt||[]).forEach(function(kr){pr.push(kr),kr&&p()(kr)==="object"&&dr in kr&&(pr=[].concat(ur()(pr),ur()(We(kr[dr],dr))))}),pr}function Qe(mt,dr){var pr=mt||{},kr=pr.preserveSelectedRowKeys,nn=pr.selectedRowKeys,un=pr.getCheckboxProps,en=pr.onChange,Ln=pr.onSelect,xn=pr.onSelectAll,Gn=pr.onSelectInvert,ui=pr.onSelectMultiple,Jn=pr.columnWidth,pi=pr.type,wi=pr.selections,Ni=pr.fixed,Si=pr.renderCell,vi=pr.hideSelectAll,Ai=pr.checkStrictly,Ci=Ai===void 0?!0:Ai,Ui=dr.prefixCls,$i=dr.data,Di=dr.pageData,ua=dr.getRecordByKey,aa=dr.getRowKey,Xi=dr.expandType,Vi=dr.childrenColumnName,ta=dr.locale,Gi=dr.expandIconColumnIndex,ga=dr.getPopupContainer,ra=o.useRef(new Map),pa=Object(ei.a)(nn||[],{value:nn}),_a=f()(pa,2),Da=_a[0],Ra=_a[1],vo=Object(o.useMemo)(function(){return Ci?{keyEntities:null}:Object(Zr.a)($i,void 0,aa)},[$i,aa,Ci]),ja=vo.keyEntities,Ya=Object(o.useMemo)(function(){return We(Di,Vi)},[Di,Vi]),Ia=Object(o.useMemo)(function(){var Fa=new Map;return Ya.forEach(function(ha,tt){var lr=aa(ha,tt),Mr=(un?un(ha):null)||{};Fa.set(lr,Mr)}),Fa},[Ya,aa,un]),Va=Object(o.useCallback)(function(Fa){var ha;return!!((ha=Ia.get(aa(Fa)))===null||ha===void 0?void 0:ha.disabled)},[Ia,aa]),co=Object(o.useMemo)(function(){if(Ci)return[Da,[]];var Fa=Object(Fn.a)(Da,!0,ja,Va),ha=Fa.checkedKeys,tt=Fa.halfCheckedKeys;return[ha,tt]},[Da,Ci,ja,Va]),Ta=f()(co,2),yo=Ta[0],uo=Ta[1],Xa=Object(o.useMemo)(function(){var Fa=pi==="radio"?yo.slice(0,1):yo;return new Set(Fa)},[yo,pi]),Oo=Object(o.useMemo)(function(){return pi==="radio"?new Set:new Set(uo)},[uo,pi]),oa=Object(o.useState)(null),qa=f()(oa,2),oo=qa[0],Ro=qa[1];o.useEffect(function(){mt||Ra([])},[!!mt]);var Ga=Object(o.useCallback)(function(Fa){var ha,tt;if(kr){var lr=new Map;ha=Fa,tt=Fa.map(function(Mr){var Ir=ua(Mr);return!Ir&&ra.current.has(Mr)&&(Ir=ra.current.get(Mr)),lr.set(Mr,Ir),Ir}),ra.current=lr}else ha=[],tt=[],Fa.forEach(function(Mr){var Ir=ua(Mr);Ir!==void 0&&(ha.push(Mr),tt.push(Ir))});Ra(ha),en&&en(ha,tt)},[Ra,ua,en,kr]),_o=Object(o.useCallback)(function(Fa,ha,tt,lr){if(Ln){var Mr=tt.map(function(Ir){return ua(Ir)});Ln(ua(Fa),ha,Mr,lr)}Ga(tt)},[Ln,ua,Ga]),go=Object(o.useMemo)(function(){if(!wi||vi)return null;var Fa=wi===!0?[Ie,Fe]:wi;return Fa.map(function(ha){return ha===Ie?{key:"all",text:ta.selectionAll,onSelect:function(){Ga($i.map(function(lr,Mr){return aa(lr,Mr)}))}}:ha===Fe?{key:"invert",text:ta.selectInvert,onSelect:function(){var lr=new Set(Xa);Di.forEach(function(Ir,_n){var Vr=aa(Ir,_n);lr.has(Vr)?lr.delete(Vr):lr.add(Vr)});var Mr=Array.from(lr);Ga(Mr),Gn&&(Object(ge.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Gn(Mr))}}:ha})},[wi,Xa,Di,aa,Gn,Ga]),Ja=Object(o.useCallback)(function(Fa){if(!mt)return Fa;var ha=new Set(Xa),tt=Ya.map(aa).filter(function(ii){return!Ia.get(ii).disabled}),lr=tt.every(function(ii){return ha.has(ii)}),Mr=tt.some(function(ii){return ha.has(ii)}),Ir=function(){var ai=[];lr?tt.forEach(function(yi){ha.delete(yi),ai.push(yi)}):tt.forEach(function(yi){ha.has(yi)||(ha.add(yi),ai.push(yi))});var Pi=Array.from(ha);Ga(Pi),xn&&xn(!lr,Pi.map(function(yi){return ua(yi)}),ai.map(function(yi){return ua(yi)}))},_n;if(pi!=="radio"){var Vr;if(go){var _r=o.createElement(Ii.a,{getPopupContainer:ga},go.map(function(ii,ai){var Pi=ii.key,yi=ii.text,Ki=ii.onSelect;return o.createElement(Ii.a.Item,{key:Pi||ai,onClick:function(){Ki&&Ki(tt)}},yi)}));Vr=o.createElement("div",{className:"".concat(Ui,"-selection-extra")},o.createElement(gi.a,{overlay:_r,getPopupContainer:ga},o.createElement("span",null,o.createElement(Jr.a,null))))}var Mn=Ya.every(function(ii,ai){var Pi=aa(ii,ai),yi=Ia.get(Pi)||{};return yi.disabled});_n=!vi&&o.createElement("div",{className:"".concat(Ui,"-selection")},o.createElement(di.a,{checked:!Mn&&!!Ya.length&&lr,indeterminate:!lr&&Mr,onChange:Ir,disabled:Ya.length===0||Mn}),Vr)}var Br;pi==="radio"?Br=function(ai,Pi,yi){var Ki=aa(Pi,yi),va=ha.has(Ki);return{node:o.createElement(Ye.a,c()({},Ia.get(Ki),{checked:va,onClick:function(Ji){return Ji.stopPropagation()},onChange:function(Ji){ha.has(Ki)||_o(Ki,!0,[Ki],Ji.nativeEvent)}})),checked:va}}:Br=function(ai,Pi,yi){var Ki,va=aa(Pi,yi),ea=ha.has(va),Ji=Oo.has(va),sa=Ia.get(va),fa;return Xi==="nest"?(fa=Ji,Object(ge.a)(!(typeof(sa==null?void 0:sa.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):fa=(Ki=sa==null?void 0:sa.indeterminate)!==null&&Ki!==void 0?Ki:Ji,{node:o.createElement(di.a,c()({},sa,{indeterminate:fa,checked:ea,onClick:function(Qa){return Qa.stopPropagation()},onChange:function(Qa){var Wi=Qa.nativeEvent,qi=Wi.shiftKey,ca=-1,ma=-1;if(qi&&Ci){var Pa=new Set([oo,va]);tt.some(function(Ca,Po){if(Pa.has(Ca))if(ca===-1)ca=Po;else return ma=Po,!0;return!1})}if(ma!==-1&&ca!==ma&&Ci){var La=tt.slice(ca,ma+1),Za=[];ea?La.forEach(function(Ca){ha.has(Ca)&&(Za.push(Ca),ha.delete(Ca))}):La.forEach(function(Ca){ha.has(Ca)||(Za.push(Ca),ha.add(Ca))});var eo=Array.from(ha);Ga(eo),ui&&ui(!ea,eo.map(function(Ca){return ua(Ca)}),Za.map(function(Ca){return ua(Ca)}))}else{var ko=yo;if(Ci){var jo=ea?Object(Rn.b)(ko,va):Object(Rn.a)(ko,va);_o(va,!ea,jo,Wi)}else{var cs=Object(Fn.a)([].concat(ur()(ko),[va]),!0,ja,Va),Mo=cs.checkedKeys,Lo=cs.halfCheckedKeys,Ba=Mo;if(ea){var za=new Set(Mo);za.delete(va),Ba=Object(Fn.a)(Array.from(za),{checked:!1,halfCheckedKeys:Lo},ja,Va).checkedKeys}_o(va,!ea,Ba,Wi)}}Ro(va)}})),checked:ea}};var Sn=function(ai,Pi,yi){var Ki=Br(ai,Pi,yi),va=Ki.node,ea=Ki.checked;return Si?Si(ea,Pi,yi,va):va},jn=m()({width:Jn,className:"".concat(Ui,"-selection-column"),title:mt.columnTitle||_n,render:Sn},ce,{className:"".concat(Ui,"-selection-col")});if(Xi==="row"&&Fa.length&&!Gi){var Hn=Pt()(Fa),Bn=Hn[0],ri=Hn.slice(1),Yn=Ni||Ve(ri[0]);return Yn&&(Bn.fixed=Yn),[Bn,c()(c()({},jn),{fixed:Yn})].concat(ur()(ri))}return[c()(c()({},jn),{fixed:Ni||Ve(Fa[0])})].concat(ur()(Fa))},[aa,Ya,mt,yo,Xa,Oo,Jn,go,Xi,oo,Ia,ui,_o,Va]);return[Ja,Xa]}var yt=n("6SEX"),ot=n.n(yt),Zt=n("i8CU"),Rr=n.n(Zt),Lr=n("3S7+");function Gr(mt,dr){return"key"in mt&&mt.key!==void 0&&mt.key!==null?mt.key:mt.dataIndex?Array.isArray(mt.dataIndex)?mt.dataIndex.join("."):mt.dataIndex:dr}function er(mt,dr){return dr?"".concat(dr,"-").concat(mt):"".concat(mt)}function On(mt,dr){return typeof mt=="function"?mt(dr):mt}var yr="ascend",gn="descend";function tn(mt){return p()(mt.sorter)==="object"&&typeof mt.sorter.multiple=="number"?mt.sorter.multiple:!1}function Fr(mt){return typeof mt=="function"?mt:mt&&p()(mt)==="object"&&mt.compare?mt.compare:!1}function Xn(mt,dr){return dr?mt[mt.indexOf(dr)+1]:mt[0]}function hi(mt,dr,pr){var kr=[];function nn(un,en){kr.push({column:un,key:Gr(un,en),multiplePriority:tn(un),sortOrder:un.sortOrder})}return(mt||[]).forEach(function(un,en){var Ln=er(en,pr);un.children?("sortOrder"in un&&nn(un,Ln),kr=[].concat(ur()(kr),ur()(hi(un.children,dr,Ln)))):un.sorter&&("sortOrder"in un?nn(un,Ln):dr&&un.defaultSortOrder&&kr.push({column:un,key:Gr(un,Ln),multiplePriority:tn(un),sortOrder:un.defaultSortOrder}))}),kr}function _i(mt,dr,pr,kr,nn,un,en,Ln){return(dr||[]).map(function(xn,Gn){var ui=er(Gn,Ln),Jn=xn;if(Jn.sorter){var pi=Jn.sortDirections||nn,wi=Jn.showSorterTooltip===void 0?en:Jn.showSorterTooltip,Ni=Gr(Jn,ui),Si=pr.find(function(Vi){var ta=Vi.key;return ta===Ni}),vi=Si?Si.sortOrder:null,Ai=Xn(pi,vi),Ci=pi.includes(yr)&&o.createElement(Rr.a,{className:t()("".concat(mt,"-column-sorter-up"),{active:vi===yr})}),Ui=pi.includes(gn)&&o.createElement(ot.a,{className:t()("".concat(mt,"-column-sorter-down"),{active:vi===gn})}),$i=un||{},Di=$i.cancelSort,ua=$i.triggerAsc,aa=$i.triggerDesc,Xi=Di;Ai===gn?Xi=aa:Ai===yr&&(Xi=ua),Jn=c()(c()({},Jn),{className:t()(Jn.className,m()({},"".concat(mt,"-column-sort"),vi)),title:function(ta){var Gi=o.createElement("div",{className:"".concat(mt,"-column-sorters")},o.createElement("span",null,On(xn.title,ta)),o.createElement("span",{className:t()("".concat(mt,"-column-sorter"),m()({},"".concat(mt,"-column-sorter-full"),Ci&&Ui))},o.createElement("span",{className:"".concat(mt,"-column-sorter-inner")},Ci,Ui)));return wi?o.createElement(Lr.a,{title:Xi},o.createElement("div",{className:"".concat(mt,"-column-sorters-with-tooltip")},Gi)):Gi},onHeaderCell:function(ta){var Gi=xn.onHeaderCell&&xn.onHeaderCell(ta)||{},ga=Gi.onClick;return Gi.onClick=function(ra){kr({column:xn,key:Ni,sortOrder:Ai,multiplePriority:tn(xn)}),ga&&ga(ra)},Gi.className=t()(Gi.className,"".concat(mt,"-column-has-sorters")),Gi}})}return"children"in Jn&&(Jn=c()(c()({},Jn),{children:_i(mt,Jn.children,pr,kr,nn,un,en,ui)})),Jn})}function Ur(mt){var dr=mt.column,pr=mt.sortOrder;return{column:dr,order:pr,field:dr.dataIndex,columnKey:dr.key}}function sn(mt){var dr=mt.filter(function(pr){var kr=pr.sortOrder;return kr}).map(Ur);return dr.length===0&&mt.length?c()(c()({},Ur(mt[mt.length-1])),{column:void 0}):dr.length<=1?dr[0]||{}:dr}function Cn(mt,dr,pr){var kr=dr.slice().sort(function(en,Ln){return Ln.multiplePriority-en.multiplePriority}),nn=mt.slice(),un=kr.filter(function(en){var Ln=en.column.sorter,xn=en.sortOrder;return Fr(Ln)&&xn});return un.length?nn.sort(function(en,Ln){for(var xn=0;xn<un.length;xn+=1){var Gn=un[xn],ui=Gn.column.sorter,Jn=Gn.sortOrder,pi=Fr(ui);if(pi&&Jn){var wi=pi(en,Ln,Jn);if(wi!==0)return Jn===yr?wi:-wi}}return 0}).map(function(en){var Ln=en[pr];return Ln?c()(c()({},en),m()({},pr,Cn(Ln,dr,pr))):en}):nn}function Nt(mt){var dr=mt.prefixCls,pr=mt.mergedColumns,kr=mt.onSorterChange,nn=mt.sortDirections,un=mt.tableLocale,en=mt.showSorterTooltip,Ln=o.useState(hi(pr,!0)),xn=f()(Ln,2),Gn=xn[0],ui=xn[1],Jn=o.useMemo(function(){var vi=!0,Ai=hi(pr,!1);if(!Ai.length)return Gn;var Ci=[];function Ui(Di){vi?Ci.push(Di):Ci.push(c()(c()({},Di),{sortOrder:null}))}var $i=null;return Ai.forEach(function(Di){$i===null?(Ui(Di),Di.sortOrder&&(Di.multiplePriority===!1?vi=!1:$i=!0)):($i&&Di.multiplePriority!==!1||(vi=!1),Ui(Di))}),Ci},[pr,Gn]),pi=o.useMemo(function(){var vi=Jn.map(function(Ai){var Ci=Ai.column,Ui=Ai.sortOrder;return{column:Ci,order:Ui}});return{sortColumns:vi,sortColumn:vi[0]&&vi[0].column,sortOrder:vi[0]&&vi[0].order}},[Jn]);function wi(vi){var Ai;vi.multiplePriority===!1||!Jn.length||Jn[0].multiplePriority===!1?Ai=[vi]:Ai=[].concat(ur()(Jn.filter(function(Ci){var Ui=Ci.key;return Ui!==vi.key})),[vi]),ui(Ai),kr(sn(Ai),Ai)}var Ni=function(Ai){return _i(dr,Ai,Jn,wi,nn,un,en)},Si=function(){return sn(Jn)};return[Ni,Jn,pi,Si]}var dt=n("Y+p1"),bt=n.n(dt),Tt=n("5Uyt"),Lt=n.n(Tt),pt=n("2/Rp"),Gt=n("ECub"),qt=function(dr){return o.createElement("div",{className:dr.className,onClick:function(kr){return kr.stopPropagation()}},dr.children)},rr=qt,mr=n("sPtV"),wn=Ii.a.SubMenu,fn=Ii.a.Item;function Wn(mt){return mt.some(function(dr){var pr=dr.children;return pr})}function Yr(mt){var dr=mt.filters,pr=mt.prefixCls,kr=mt.filteredKeys,nn=mt.filterMultiple,un=mt.locale;return dr.length===0?o.createElement(o.Fragment,null,o.createElement(Gt.a,{image:Gt.a.PRESENTED_IMAGE_SIMPLE,description:un.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):dr.map(function(en,Ln){var xn=String(en.value);if(en.children)return o.createElement(wn,{key:xn||Ln,title:en.text,popupClassName:"".concat(pr,"-dropdown-submenu")},Yr({filters:en.children,prefixCls:pr,filteredKeys:kr,filterMultiple:nn,locale:un}));var Gn=nn?di.a:Ye.a;return o.createElement(fn,{key:en.value!==void 0?xn:Ln},o.createElement(Gn,{checked:kr.includes(xn)}),o.createElement("span",null,en.text))})}function Sr(mt){var dr,pr=mt.prefixCls,kr=mt.column,nn=mt.dropdownPrefixCls,un=mt.columnKey,en=mt.filterMultiple,Ln=mt.filterState,xn=mt.triggerFilter,Gn=mt.locale,ui=mt.children,Jn=mt.getPopupContainer,pi=kr.filterDropdownVisible,wi=kr.onFilterDropdownVisibleChange,Ni=o.useState(!1),Si=f()(Ni,2),vi=Si[0],Ai=Si[1],Ci=!!(Ln&&(((dr=Ln.filteredKeys)===null||dr===void 0?void 0:dr.length)||Ln.forceFiltered)),Ui=function(qa){Ai(qa),wi&&wi(qa)},$i=typeof pi=="boolean"?pi:vi,Di=Ln&&Ln.filteredKeys,ua=Object(mr.a)(Di||[]),aa=f()(ua,2),Xi=aa[0],Vi=aa[1],ta=function(qa){var oo=qa.selectedKeys;Vi(oo)};o.useEffect(function(){ta({selectedKeys:Di||[]})},[Di]);var Gi=o.useState([]),ga=f()(Gi,2),ra=ga[0],pa=ga[1],_a=o.useRef(),Da=function(qa){_a.current=window.setTimeout(function(){pa(qa)})},Ra=function(){window.clearTimeout(_a.current)};o.useEffect(function(){return function(){window.clearTimeout(_a.current)}},[]);var vo=function(qa){Ui(!1);var oo=qa&&qa.length?qa:null;if(oo===null&&(!Ln||!Ln.filteredKeys))return null;if(bt()(oo,Ln==null?void 0:Ln.filteredKeys))return null;xn({column:kr,key:un,filteredKeys:oo})},ja=function(){vo(Xi())},Ya=function(){Vi([]),vo([])},Ia=function(qa){qa&&Di!==void 0&&Vi(Di||[]),Ui(qa),!qa&&!kr.filterDropdown&&ja()},Va=t()(m()({},"".concat(nn,"-menu-without-submenu"),!Wn(kr.filters||[]))),co;if(typeof kr.filterDropdown=="function")co=kr.filterDropdown({prefixCls:"".concat(nn,"-custom"),setSelectedKeys:function(qa){return ta({selectedKeys:qa})},selectedKeys:Xi(),confirm:ja,clearFilters:Ya,filters:kr.filters,visible:$i});else if(kr.filterDropdown)co=kr.filterDropdown;else{var Ta=Xi()||[];co=o.createElement(o.Fragment,null,o.createElement(Ii.a,{multiple:en,prefixCls:"".concat(nn,"-menu"),className:Va,onClick:Ra,onSelect:ta,onDeselect:ta,selectedKeys:Ta,getPopupContainer:Jn,openKeys:ra,onOpenChange:Da},Yr({filters:kr.filters||[],prefixCls:pr,filteredKeys:Xi(),filterMultiple:en,locale:Gn})),o.createElement("div",{className:"".concat(pr,"-dropdown-btns")},o.createElement(pt.a,{type:"link",size:"small",disabled:Ta.length===0,onClick:Ya},Gn.filterReset),o.createElement(pt.a,{type:"primary",size:"small",onClick:ja},Gn.filterConfirm)))}var yo=o.createElement(rr,{className:"".concat(pr,"-dropdown")},co),uo;typeof kr.filterIcon=="function"?uo=kr.filterIcon(Ci):kr.filterIcon?uo=kr.filterIcon:uo=o.createElement(Lt.a,null);var Xa=o.useContext(xt.b),Oo=Xa.direction;return o.createElement("div",{className:t()("".concat(pr,"-column"))},o.createElement("span",{className:"".concat(pr,"-column-title")},ui),o.createElement("span",{className:t()("".concat(pr,"-trigger-container"),m()({},"".concat(pr,"-trigger-container-open"),$i)),onClick:function(qa){qa.stopPropagation()}},o.createElement(gi.a,{overlay:yo,trigger:["click"],visible:$i,onVisibleChange:Ia,getPopupContainer:Jn,placement:Oo==="rtl"?"bottomLeft":"bottomRight"},o.createElement("span",{role:"button",tabIndex:-1,className:t()("".concat(pr,"-trigger"),{active:Ci})},uo))))}var ln=Sr;function Tn(mt,dr,pr){var kr=[];return(mt||[]).forEach(function(nn,un){var en=er(un,pr);"children"in nn?kr=[].concat(ur()(kr),ur()(Tn(nn.children,dr,en))):(nn.filters||"filterDropdown"in nn||"onFilter"in nn)&&("filteredValue"in nn?kr.push({column:nn,key:Gr(nn,en),filteredKeys:nn.filteredValue,forceFiltered:nn.filtered}):kr.push({column:nn,key:Gr(nn,en),filteredKeys:dr&&nn.defaultFilteredValue?nn.defaultFilteredValue:void 0,forceFiltered:nn.filtered}))}),kr}function In(mt,dr,pr,kr,nn,un,en,Ln){return pr.map(function(xn,Gn){var ui=er(Gn,Ln),Jn=xn.filterMultiple,pi=Jn===void 0?!0:Jn;if(xn.filters||"filterDropdown"in xn){var wi=Gr(xn,ui),Ni=kr.find(function(Si){var vi=Si.key;return wi===vi});return c()(c()({},xn),{title:function(vi){return o.createElement(ln,{prefixCls:"".concat(mt,"-filter"),dropdownPrefixCls:dr,column:xn,columnKey:wi,filterState:Ni,filterMultiple:pi,triggerFilter:nn,locale:en,getPopupContainer:un},On(xn.title,vi))}})}return"children"in xn?c()(c()({},xn),{children:In(mt,dr,xn.children,kr,nn,un,en,ui)}):xn})}function Un(mt){var dr={};return mt.forEach(function(pr){var kr=pr.key,nn=pr.filteredKeys;dr[kr]=nn||null}),dr}function ti(mt){var dr=[];return(mt||[]).forEach(function(pr){var kr=pr.value,nn=pr.children;dr.push(kr),nn&&(dr=[].concat(ur()(dr),ur()(ti(nn))))}),dr}function li(mt,dr){return dr.reduce(function(pr,kr){var nn=kr.column,un=nn.onFilter,en=nn.filters,Ln=kr.filteredKeys;return un&&Ln&&Ln.length?pr.filter(function(xn){return Ln.some(function(Gn){var ui=ti(en),Jn=ui.findIndex(function(wi){return String(wi)===String(Gn)}),pi=Jn!==-1?ui[Jn]:Gn;return un(pi,xn)})}):pr},mt)}function si(mt){var dr=mt.prefixCls,pr=mt.dropdownPrefixCls,kr=mt.mergedColumns,nn=mt.onFilterChange,un=mt.getPopupContainer,en=mt.locale,Ln=o.useState(Tn(kr,!0)),xn=f()(Ln,2),Gn=xn[0],ui=xn[1],Jn=o.useMemo(function(){var Si=Tn(kr,!1);return Si.every(function(vi){var Ai=vi.filteredKeys;return Ai===void 0})?Gn:Si},[kr,Gn]),pi=o.useCallback(function(){return Un(Jn)},[Jn]),wi=function(vi){var Ai=Jn.filter(function(Ci){var Ui=Ci.key;return Ui!==vi.key});Ai.push(vi),ui(Ai),nn(Un(Ai),Ai)},Ni=function(vi){return In(dr,pr,vi,Jn,wi,un,en)};return[Ni,Jn,pi]}var ki=si;function zi(mt,dr){return mt.map(function(pr){var kr=c()({},pr);return kr.title=On(pr.title,dr),"children"in kr&&(kr.children=zi(kr.children,dr)),kr})}function Ri(mt){var dr=o.useCallback(function(pr){return zi(pr,mt)},[mt]);return[dr]}function Yi(mt){return function(pr){var kr,nn=pr.prefixCls,un=pr.onExpand,en=pr.record,Ln=pr.expanded,xn=pr.expandable,Gn="".concat(nn,"-row-expand-icon");return o.createElement("button",{type:"button",onClick:function(Jn){un(en,Jn),Jn.stopPropagation()},className:t()(Gn,(kr={},m()(kr,"".concat(Gn,"-spaced"),!xn),m()(kr,"".concat(Gn,"-expanded"),xn&&Ln),m()(kr,"".concat(Gn,"-collapsed"),xn&&!Ln),kr)),"aria-label":Ln?mt.collapse:mt.expand})}}var Zn=Yi,hn=n("zAh6"),mi=n("ZvpZ"),Hi=mi.a,Li=n("3Nzz");function Bi(mt){return null}var Ar=Bi;function ar(mt){return null}var on=ar,Qt=n("5OYt"),gr=[];function Or(mt){var dr,pr=mt.prefixCls,kr=mt.className,nn=mt.style,un=mt.size,en=mt.bordered,Ln=mt.dropdownPrefixCls,xn=mt.dataSource,Gn=mt.pagination,ui=mt.rowSelection,Jn=mt.rowKey,pi=mt.rowClassName,wi=mt.columns,Ni=mt.children,Si=mt.childrenColumnName,vi=mt.onChange,Ai=mt.getPopupContainer,Ci=mt.loading,Ui=mt.expandIcon,$i=mt.expandable,Di=mt.expandedRowRender,ua=mt.expandIconColumnIndex,aa=mt.indentSize,Xi=mt.scroll,Vi=mt.sortDirections,ta=mt.locale,Gi=mt.showSorterTooltip,ga=Gi===void 0?!0:Gi;Object(ge.a)(!(typeof Jn=="function"&&Jn.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var ra=Object(Qt.a)(),pa=o.useMemo(function(){var za=new Set(Object.keys(ra).filter(function(Ca){return ra[Ca]}));return(wi||te(Ni)).filter(function(Ca){return!Ca.responsive||Ca.responsive.some(function(Po){return za.has(Po)})})},[Ni,wi,ra]),_a=Object(a.default)(mt,["className","style","columns"]),Da=o.useContext(Li.b),Ra=o.useContext(xt.b),vo=Ra.locale,ja=vo===void 0?Hi:vo,Ya=Ra.renderEmpty,Ia=Ra.direction,Va=un||Da,co=c()(c()({},ja.Table),ta),Ta=xn||gr,yo=o.useContext(xt.b),uo=yo.getPrefixCls,Xa=uo("table",pr),Oo=uo("dropdown",Ln),oa=c()({childrenColumnName:Si,expandIconColumnIndex:ua},$i),qa=oa.childrenColumnName,oo=qa===void 0?"children":qa,Ro=o.useMemo(function(){return Ta.some(function(za){var Ca;return(Ca=za)===null||Ca===void 0?void 0:Ca[oo]})?"nest":Di||$i&&$i.expandedRowRender?"row":null},[Ta]),Ga={body:o.useRef()},_o=o.useMemo(function(){return typeof Jn=="function"?Jn:function(za){var Ca;return(Ca=za)===null||Ca===void 0?void 0:Ca[Jn]}},[Jn]),go=Ut(Ta,oo,_o),Ja=f()(go,1),Fa=Ja[0],ha={},tt=function(Ca,Po){var Qo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,so=c()(c()({},ha),Ca);Qo&&(ha.resetPagination(),so.pagination.current&&(so.pagination.current=1),Gn&&Gn.onChange&&Gn.onChange(1,so.pagination.pageSize)),Xi&&Xi.scrollToFirstRowOnChange!==!1&&Ga.body.current&&Object(hn.a)(0,{getContainer:function(){return Ga.body.current}}),vi&&vi(so.pagination,so.filters,so.sorter,{currentDataSource:li(Cn(Ta,so.sorterStates,oo),so.filterStates),action:Po})},lr=function(Ca,Po){tt({sorter:Ca,sorterStates:Po},"sort",!1)},Mr=Nt({prefixCls:Xa,mergedColumns:pa,onSorterChange:lr,sortDirections:Vi||["ascend","descend"],tableLocale:co,showSorterTooltip:ga}),Ir=f()(Mr,4),_n=Ir[0],Vr=Ir[1],_r=Ir[2],Mn=Ir[3],Br=o.useMemo(function(){return Cn(Ta,Vr,oo)},[Ta,Vr]);ha.sorter=Mn(),ha.sorterStates=Vr;var Sn=function(Ca,Po){tt({filters:Ca,filterStates:Po},"filter",!0)},jn=ki({prefixCls:Xa,locale:co,dropdownPrefixCls:Oo,mergedColumns:pa,onFilterChange:Sn,getPopupContainer:Ai}),Hn=f()(jn,3),Bn=Hn[0],ri=Hn[1],Yn=Hn[2],ii=li(Br,ri);ha.filters=Yn(),ha.filterStates=ri;var ai=o.useMemo(function(){return c()({},_r)},[_r]),Pi=Ri(ai),yi=f()(Pi,1),Ki=yi[0],va=function(Ca,Po){tt({pagination:c()(c()({},ha.pagination),{current:Ca,pageSize:Po})},"paginate")},ea=St(ii.length,Gn,va),Ji=f()(ea,2),sa=Ji[0],fa=Ji[1];ha.pagination=Gn===!1?{}:$t(Gn,sa),ha.resetPagination=fa;var xo=o.useMemo(function(){if(Gn===!1||!sa.pageSize)return ii;var za=sa.current,Ca=za===void 0?1:za,Po=sa.total,Qo=sa.pageSize,so=Qo===void 0?it:Qo;return ii.length<Po?ii.length>so?(Object(ge.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."),ii.slice((Ca-1)*so,Ca*so)):ii:ii.slice((Ca-1)*so,Ca*so)},[!!Gn,ii,sa&&sa.current,sa&&sa.pageSize,sa&&sa.total]),Qa=Qe(ui,{prefixCls:Xa,data:ii,pageData:xo,getRowKey:_o,getRecordByKey:Fa,expandType:Ro,childrenColumnName:oo,locale:co,expandIconColumnIndex:oa.expandIconColumnIndex,getPopupContainer:Ai}),Wi=f()(Qa,2),qi=Wi[0],ca=Wi[1],ma=function(Ca,Po,Qo){var so;return typeof pi=="function"?so=t()(pi(Ca,Po,Qo)):so=t()(pi),t()(m()({},"".concat(Xa,"-row-selected"),ca.has(_o(Ca,Po))),so)};oa.__PARENT_RENDER_ICON__=oa.expandIcon,oa.expandIcon=oa.expandIcon||Ui||Zn(co),Ro==="nest"&&oa.expandIconColumnIndex===void 0?oa.expandIconColumnIndex=ui?1:0:oa.expandIconColumnIndex>0&&ui&&(oa.expandIconColumnIndex-=1),typeof oa.indentSize!="number"&&(oa.indentSize=typeof aa=="number"?aa:15);var Pa=o.useCallback(function(za){return Ki(qi(Bn(_n(za))))},[_n,Bn,qi]),La,Za;if(Gn!==!1){var eo;sa.size?eo=sa.size:eo=Va==="small"||Va==="middle"?"small":void 0;var ko=function(Ca){return o.createElement(qr.a,c()({className:"".concat(Xa,"-pagination ").concat(Xa,"-pagination-").concat(Ca)},sa,{size:eo}))},jo=Ia==="rtl"?"left":"right";if(sa.position!==null&&Array.isArray(sa.position)){var cs=sa.position.find(function(za){return za.indexOf("top")!==-1}),Mo=sa.position.find(function(za){return za.indexOf("bottom")!==-1});!cs&&!Mo?Za=ko(jo):(cs&&(La=ko(cs.toLowerCase().replace("top",""))),Mo&&(Za=ko(Mo.toLowerCase().replace("bottom",""))))}else Za=ko(jo)}var Lo;typeof Ci=="boolean"?Lo={spinning:Ci}:p()(Ci)==="object"&&(Lo=c()({spinning:!0},Ci));var Ba=t()("".concat(Xa,"-wrapper"),kr,m()({},"".concat(Xa,"-wrapper-rtl"),Ia==="rtl"));return o.createElement("div",{className:Ba,style:nn},o.createElement(Pr.a,c()({spinning:!1},Lo),La,o.createElement(wr,c()({},_a,{columns:pa,direction:Ia,expandable:oa,prefixCls:Xa,className:t()((dr={},m()(dr,"".concat(Xa,"-middle"),Va==="middle"),m()(dr,"".concat(Xa,"-small"),Va==="small"),m()(dr,"".concat(Xa,"-bordered"),en),m()(dr,"".concat(Xa,"-empty"),Ta.length===0),dr)),data:xo,rowKey:_o,rowClassName:ma,emptyText:ta&&ta.emptyText||Ya("Table"),internalHooks:Ge,internalRefs:Ga,transformColumns:Pa})),ii&&ii.length>0&&Za))}Or.defaultProps={rowKey:"key"},Or.SELECTION_ALL=Ie,Or.SELECTION_INVERT=Fe,Or.Column=Ar,Or.ColumnGroup=on,Or.Summary=Nn;var Kr=Or,mn=N.a=Kr},wDdD:function(M,N,n){var v=n("ProS"),p=n("bYtY");n("98bh"),n("GrNh");var S=n("d4KN"),m=n("mOdp"),g=n("KS52"),f=n("0/Rx");S("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),v.registerVisual(m("pie")),v.registerLayout(p.curry(g,"pie")),v.registerProcessor(f("pie"))},wOnQ:function(M,N,n){/*!
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/(function(v,p){M.exports=p()})(this,function(){"use strict";/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var v=function(ie,me){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Me,$e){Me.__proto__=$e}||function(Me,$e){for(var Jt in $e)Object.prototype.hasOwnProperty.call($e,Jt)&&(Me[Jt]=$e[Jt])},v(ie,me)};function p(sr,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");v(sr,ie);function me(){this.constructor=sr}sr.prototype=ie===null?Object.create(ie):(me.prototype=ie.prototype,new me)}var S=function(){return S=Object.assign||function(me){for(var Me,$e=1,Jt=arguments.length;$e<Jt;$e++){Me=arguments[$e];for(var jr in Me)Object.prototype.hasOwnProperty.call(Me,jr)&&(me[jr]=Me[jr])}return me},S.apply(this,arguments)};function m(sr,ie,me,Me){function $e(Jt){return Jt instanceof me?Jt:new me(function(jr){jr(Jt)})}return new(me||(me=Promise))(function(Jt,jr){function an(bi){try{kn(Me.next(bi))}catch(fi){jr(fi)}}function vn(bi){try{kn(Me.throw(bi))}catch(fi){jr(fi)}}function kn(bi){bi.done?Jt(bi.value):$e(bi.value).then(an,vn)}kn((Me=Me.apply(sr,ie||[])).next())})}function g(sr,ie){var me={label:0,sent:function(){if(Jt[0]&1)throw Jt[1];return Jt[1]},trys:[],ops:[]},Me,$e,Jt,jr;return jr={next:an(0),throw:an(1),return:an(2)},typeof Symbol=="function"&&(jr[Symbol.iterator]=function(){return this}),jr;function an(kn){return function(bi){return vn([kn,bi])}}function vn(kn){if(Me)throw new TypeError("Generator is already executing.");for(;me;)try{if(Me=1,$e&&(Jt=kn[0]&2?$e.return:kn[0]?$e.throw||((Jt=$e.return)&&Jt.call($e),0):$e.next)&&!(Jt=Jt.call($e,kn[1])).done)return Jt;($e=0,Jt)&&(kn=[kn[0]&2,Jt.value]);switch(kn[0]){case 0:case 1:Jt=kn;break;case 4:return me.label++,{value:kn[1],done:!1};case 5:me.label++,$e=kn[1],kn=[0];continue;case 7:kn=me.ops.pop(),me.trys.pop();continue;default:if(!(Jt=me.trys,Jt=Jt.length>0&&Jt[Jt.length-1])&&(kn[0]===6||kn[0]===2)){me=0;continue}if(kn[0]===3&&(!Jt||kn[1]>Jt[0]&&kn[1]<Jt[3])){me.label=kn[1];break}if(kn[0]===6&&me.label<Jt[1]){me.label=Jt[1],Jt=kn;break}if(Jt&&me.label<Jt[2]){me.label=Jt[2],me.ops.push(kn);break}Jt[2]&&me.ops.pop(),me.trys.pop();continue}kn=ie.call(sr,me)}catch(bi){kn=[6,bi],$e=0}finally{Me=Jt=0}if(kn[0]&5)throw kn[1];return{value:kn[0]?kn[1]:void 0,done:!0}}}function f(sr,ie,me){if(me||arguments.length===2)for(var Me=0,$e=ie.length,Jt;Me<$e;Me++)(Jt||!(Me in ie))&&(Jt||(Jt=Array.prototype.slice.call(ie,0,Me)),Jt[Me]=ie[Me]);return sr.concat(Jt||ie)}for(var d=function(){function sr(ie,me,Me,$e){this.left=ie,this.top=me,this.width=Me,this.height=$e}return sr.prototype.add=function(ie,me,Me,$e){return new sr(this.left+ie,this.top+me,this.width+Me,this.height+$e)},sr.fromClientRect=function(ie,me){return new sr(me.left+ie.windowBounds.left,me.top+ie.windowBounds.top,me.width,me.height)},sr.fromDOMRectList=function(ie,me){var Me=Array.from(me).find(function($e){return $e.width!==0});return Me?new sr(Me.left+ie.windowBounds.left,Me.top+ie.windowBounds.top,Me.width,Me.height):sr.EMPTY},sr.EMPTY=new sr(0,0,0,0),sr}(),c=function(ie,me){return d.fromClientRect(ie,me.getBoundingClientRect())},o=function(ie){var me=ie.body,Me=ie.documentElement;if(!me||!Me)throw new Error("Unable to get document size");var $e=Math.max(Math.max(me.scrollWidth,Me.scrollWidth),Math.max(me.offsetWidth,Me.offsetWidth),Math.max(me.clientWidth,Me.clientWidth)),Jt=Math.max(Math.max(me.scrollHeight,Me.scrollHeight),Math.max(me.offsetHeight,Me.offsetHeight),Math.max(me.clientHeight,Me.clientHeight));return new d(0,0,$e,Jt)},i=function(ie){for(var me=[],Me=0,$e=ie.length;Me<$e;){var Jt=ie.charCodeAt(Me++);if(Jt>=55296&&Jt<=56319&&Me<$e){var jr=ie.charCodeAt(Me++);(jr&64512)===56320?me.push(((Jt&1023)<<10)+(jr&1023)+65536):(me.push(Jt),Me--)}else me.push(Jt)}return me},t=function(){for(var ie=[],me=0;me<arguments.length;me++)ie[me]=arguments[me];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ie);var Me=ie.length;if(!Me)return"";for(var $e=[],Jt=-1,jr="";++Jt<Me;){var an=ie[Jt];an<=65535?$e.push(an):(an-=65536,$e.push((an>>10)+55296,an%1024+56320)),(Jt+1===Me||$e.length>16384)&&(jr+=String.fromCharCode.apply(String,$e),$e.length=0)}return jr},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),l=0;l<a.length;l++)e[a.charCodeAt(l)]=l;for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),u=0;u<r.length;u++)s[r.charCodeAt(u)]=u;for(var h=function(ie){var me=ie.length*.75,Me=ie.length,$e,Jt=0,jr,an,vn,kn;ie[ie.length-1]==="="&&(me--,ie[ie.length-2]==="="&&me--);var bi=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(me):new Array(me),fi=Array.isArray(bi)?bi:new Uint8Array(bi);for($e=0;$e<Me;$e+=4)jr=s[ie.charCodeAt($e)],an=s[ie.charCodeAt($e+1)],vn=s[ie.charCodeAt($e+2)],kn=s[ie.charCodeAt($e+3)],fi[Jt++]=jr<<2|an>>4,fi[Jt++]=(an&15)<<4|vn>>2,fi[Jt++]=(vn&3)<<6|kn&63;return bi},A=function(ie){for(var me=ie.length,Me=[],$e=0;$e<me;$e+=2)Me.push(ie[$e+1]<<8|ie[$e]);return Me},y=function(ie){for(var me=ie.length,Me=[],$e=0;$e<me;$e+=4)Me.push(ie[$e+3]<<24|ie[$e+2]<<16|ie[$e+1]<<8|ie[$e]);return Me},w=5,b=6+5,x=2,O=b-w,T=65536>>w,E=1<<w,C=E-1,_=1024>>w,L=T+_,P=L,k=2048>>6,F=P+k,j=65536>>b,z=1<<O,R=z-1,U=function(ie,me,Me){return ie.slice?ie.slice(me,Me):new Uint16Array(Array.prototype.slice.call(ie,me,Me))},B=function(ie,me,Me){return ie.slice?ie.slice(me,Me):new Uint32Array(Array.prototype.slice.call(ie,me,Me))},H=function(ie,me){var Me=h(ie),$e=Array.isArray(Me)?y(Me):new Uint32Array(Me),Jt=Array.isArray(Me)?A(Me):new Uint16Array(Me),jr=24,an=U(Jt,jr/2,$e[4]/2),vn=$e[5]===2?U(Jt,(jr+$e[4])/2):B($e,Math.ceil((jr+$e[4])/4));return new K($e[0],$e[1],$e[2],$e[3],an,vn)},K=function(){function sr(ie,me,Me,$e,Jt,jr){this.initialValue=ie,this.errorValue=me,this.highStart=Me,this.highValueIndex=$e,this.index=Jt,this.data=jr}return sr.prototype.get=function(ie){var me;if(ie>=0){if(ie<55296||ie>56319&&ie<=65535)return me=this.index[ie>>w],me=(me<<x)+(ie&C),this.data[me];if(ie<=65535)return me=this.index[T+(ie-55296>>w)],me=(me<<x)+(ie&C),this.data[me];if(ie<this.highStart)return me=F-j+(ie>>b),me=this.index[me],me+=ie>>w&R,me=this.index[me],me=(me<<x)+(ie&C),this.data[me];if(ie<=1114111)return this.data[this.highValueIndex]}return this.errorValue},sr}(),V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),G=0;G<V.length;G++)W[V.charCodeAt(G)]=G;var re="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ye=50,$=1,ve=2,Ce=3,Se=4,Ke=5,ue=7,Le=8,ee=9,le=10,et=11,Re=12,Ae=13,oe=14,ce=15,be=16,Te=17,Be=18,De=19,ae=20,fe=21,Oe=22,Je=23,Et=24,Ze=25,Ne=26,It=27,Xe=28,Ot=29,Bt=30,kt=31,_t=32,Ft=33,ke=34,te=35,Q=36,qe=37,je=38,q=39,wt=40,Vt=41,lt=42,or=43,vr=[9001,65288],An="!",hr="\xD7",xr="\xF7",nr=H(re),Yt=[Bt,Q],gt=[$,ve,Ce,Ke],zr=[le,Le],pn=[It,Ne],Nn=gt.concat(zr),Vn=[je,q,wt,ke,te],xi=[ce,Ae],bn=function(ie,me){me===void 0&&(me="strict");var Me=[],$e=[],Jt=[];return ie.forEach(function(jr,an){var vn=nr.get(jr);if(vn>ye?(Jt.push(!0),vn-=ye):Jt.push(!1),["normal","auto","loose"].indexOf(me)!==-1&&[8208,8211,12316,12448].indexOf(jr)!==-1)return $e.push(an),Me.push(be);if(vn===Se||vn===et){if(an===0)return $e.push(an),Me.push(Bt);var kn=Me[an-1];return Nn.indexOf(kn)===-1?($e.push($e[an-1]),Me.push(kn)):($e.push(an),Me.push(Bt))}if($e.push(an),vn===kt)return Me.push(me==="strict"?fe:qe);if(vn===lt)return Me.push(Bt);if(vn===Ot)return Me.push(Bt);if(vn===or)return jr>=131072&&jr<=196605||jr>=196608&&jr<=262141?Me.push(qe):Me.push(Bt);Me.push(vn)}),[$e,Me,Jt]},Pn=function(ie,me,Me,$e){var Jt=$e[Me];if(Array.isArray(ie)?ie.indexOf(Jt)!==-1:ie===Jt)for(var jr=Me;jr<=$e.length;){jr++;var an=$e[jr];if(an===me)return!0;if(an!==le)break}if(Jt===le)for(var jr=Me;jr>0;){jr--;var vn=$e[jr];if(Array.isArray(ie)?ie.indexOf(vn)!==-1:ie===vn)for(var kn=Me;kn<=$e.length;){kn++;var an=$e[kn];if(an===me)return!0;if(an!==le)break}if(vn!==le)break}return!1},jt=function(ie,me){for(var Me=ie;Me>=0;){var $e=me[Me];if($e===le)Me--;else return $e}return 0},At=function(ie,me,Me,$e,Jt){if(Me[$e]===0)return hr;var jr=$e-1;if(Array.isArray(Jt)&&Jt[jr]===!0)return hr;var an=jr-1,vn=jr+1,kn=me[jr],bi=an>=0?me[an]:0,fi=me[vn];if(kn===ve&&fi===Ce)return hr;if(gt.indexOf(kn)!==-1)return An;if(gt.indexOf(fi)!==-1)return hr;if(zr.indexOf(fi)!==-1)return hr;if(jt(jr,me)===Le)return xr;if(nr.get(ie[jr])===et)return hr;if((kn===_t||kn===Ft)&&nr.get(ie[vn])===et)return hr;if(kn===ue||fi===ue)return hr;if(kn===ee)return hr;if([le,Ae,ce].indexOf(kn)===-1&&fi===ee)return hr;if([Te,Be,De,Et,Xe].indexOf(fi)!==-1)return hr;if(jt(jr,me)===Oe)return hr;if(Pn(Je,Oe,jr,me))return hr;if(Pn([Te,Be],fe,jr,me))return hr;if(Pn(Re,Re,jr,me))return hr;if(kn===le)return xr;if(kn===Je||fi===Je)return hr;if(fi===be||kn===be)return xr;if([Ae,ce,fe].indexOf(fi)!==-1||kn===oe)return hr;if(bi===Q&&xi.indexOf(kn)!==-1)return hr;if(kn===Xe&&fi===Q)return hr;if(fi===ae)return hr;if(Yt.indexOf(fi)!==-1&&kn===Ze||Yt.indexOf(kn)!==-1&&fi===Ze)return hr;if(kn===It&&[qe,_t,Ft].indexOf(fi)!==-1||[qe,_t,Ft].indexOf(kn)!==-1&&fi===Ne)return hr;if(Yt.indexOf(kn)!==-1&&pn.indexOf(fi)!==-1||pn.indexOf(kn)!==-1&&Yt.indexOf(fi)!==-1)return hr;if([It,Ne].indexOf(kn)!==-1&&(fi===Ze||[Oe,ce].indexOf(fi)!==-1&&me[vn+1]===Ze)||[Oe,ce].indexOf(kn)!==-1&&fi===Ze||kn===Ze&&[Ze,Xe,Et].indexOf(fi)!==-1)return hr;if([Ze,Xe,Et,Te,Be].indexOf(fi)!==-1)for(var Ti=jr;Ti>=0;){var ba=me[Ti];if(ba===Ze)return hr;if([Xe,Et].indexOf(ba)!==-1)Ti--;else break}if([It,Ne].indexOf(fi)!==-1)for(var Ti=[Te,Be].indexOf(kn)!==-1?an:jr;Ti>=0;){var ba=me[Ti];if(ba===Ze)return hr;if([Xe,Et].indexOf(ba)!==-1)Ti--;else break}if(je===kn&&[je,q,ke,te].indexOf(fi)!==-1||[q,ke].indexOf(kn)!==-1&&[q,wt].indexOf(fi)!==-1||[wt,te].indexOf(kn)!==-1&&fi===wt)return hr;if(Vn.indexOf(kn)!==-1&&[ae,Ne].indexOf(fi)!==-1||Vn.indexOf(fi)!==-1&&kn===It)return hr;if(Yt.indexOf(kn)!==-1&&Yt.indexOf(fi)!==-1)return hr;if(kn===Et&&Yt.indexOf(fi)!==-1)return hr;if(Yt.concat(Ze).indexOf(kn)!==-1&&fi===Oe&&vr.indexOf(ie[vn])===-1||Yt.concat(Ze).indexOf(fi)!==-1&&kn===Be)return hr;if(kn===Vt&&fi===Vt){for(var Ea=Me[jr],ka=1;Ea>0&&(Ea--,me[Ea]===Vt);)ka++;if(ka%2!==0)return hr}return kn===_t&&fi===Ft?hr:xr},xe=function(ie,me){me||(me={lineBreak:"normal",wordBreak:"normal"});var Me=bn(ie,me.lineBreak),$e=Me[0],Jt=Me[1],jr=Me[2];(me.wordBreak==="break-all"||me.wordBreak==="break-word")&&(Jt=Jt.map(function(vn){return[Ze,Bt,lt].indexOf(vn)!==-1?qe:vn}));var an=me.wordBreak==="keep-all"?jr.map(function(vn,kn){return vn&&ie[kn]>=19968&&ie[kn]<=40959}):void 0;return[$e,Jt,an]},we=function(){function sr(ie,me,Me,$e){this.codePoints=ie,this.required=me===An,this.start=Me,this.end=$e}return sr.prototype.slice=function(){return t.apply(void 0,this.codePoints.slice(this.start,this.end))},sr}(),Ee=function(ie,me){var Me=i(ie),$e=xe(Me,me),Jt=$e[0],jr=$e[1],an=$e[2],vn=Me.length,kn=0,bi=0;return{next:function(){if(bi>=vn)return{done:!0,value:null};for(var Ti=hr;bi<vn&&(Ti=At(Me,jr,Jt,++bi,an))===hr;);if(Ti!==hr||bi===vn){var ba=new we(Me,Ti,kn,bi);return kn=bi,{value:ba,done:!1}}return{done:!0,value:null}}}},Ge=1<<0,nt=1<<1,st=1<<2,Mt=1<<3,wr=10,Pr=47,qr=92,xt=9,rt=32,it=34,$t=61,Dt=35,St=36,Ut=37,vt=39,Pt=40,br=41,ur=95,fr=45,Jr=33,Zr=60,Fn=62,Rn=64,ei=91,di=93,gi=61,Ii=123,Ye=63,ge=125,Ie=124,Fe=126,Ve=128,We=65533,Qe=42,yt=43,ot=44,Zt=58,Rr=59,Lr=46,Gr=0,er=8,On=11,yr=14,gn=31,tn=127,Fr=-1,Xn=48,hi=97,_i=101,Ur=102,sn=117,Cn=122,Nt=65,dt=69,bt=70,Tt=85,Lt=90,pt=function(ie){return ie>=Xn&&ie<=57},Gt=function(ie){return ie>=55296&&ie<=57343},qt=function(ie){return pt(ie)||ie>=Nt&&ie<=bt||ie>=hi&&ie<=Ur},rr=function(ie){return ie>=hi&&ie<=Cn},mr=function(ie){return ie>=Nt&&ie<=Lt},wn=function(ie){return rr(ie)||mr(ie)},fn=function(ie){return ie>=Ve},Wn=function(ie){return ie===wr||ie===xt||ie===rt},Yr=function(ie){return wn(ie)||fn(ie)||ie===ur},Sr=function(ie){return Yr(ie)||pt(ie)||ie===fr},ln=function(ie){return ie>=Gr&&ie<=er||ie===On||ie>=yr&&ie<=gn||ie===tn},Tn=function(ie,me){return ie!==qr?!1:me!==wr},In=function(ie,me,Me){return ie===fr?Yr(me)||Tn(me,Me):Yr(ie)?!0:!!(ie===qr&&Tn(ie,me))},Un=function(ie,me,Me){return ie===yt||ie===fr?pt(me)?!0:me===Lr&&pt(Me):ie===Lr?pt(me):pt(ie)},ti=function(ie){var me=0,Me=1;(ie[me]===yt||ie[me]===fr)&&(ie[me]===fr&&(Me=-1),me++);for(var $e=[];pt(ie[me]);)$e.push(ie[me++]);var Jt=$e.length?parseInt(t.apply(void 0,$e),10):0;ie[me]===Lr&&me++;for(var jr=[];pt(ie[me]);)jr.push(ie[me++]);var an=jr.length,vn=an?parseInt(t.apply(void 0,jr),10):0;(ie[me]===dt||ie[me]===_i)&&me++;var kn=1;(ie[me]===yt||ie[me]===fr)&&(ie[me]===fr&&(kn=-1),me++);for(var bi=[];pt(ie[me]);)bi.push(ie[me++]);var fi=bi.length?parseInt(t.apply(void 0,bi),10):0;return Me*(Jt+vn*Math.pow(10,-an))*Math.pow(10,kn*fi)},li={type:2},si={type:3},ki={type:4},zi={type:13},Ri={type:8},Yi={type:21},Zn={type:9},hn={type:10},mi={type:11},Hi={type:12},Li={type:14},Bi={type:23},Ar={type:1},ar={type:25},on={type:24},Qt={type:26},gr={type:27},Or={type:28},Kr={type:29},mn={type:31},mt={type:32},dr=function(){function sr(){this._value=[]}return sr.prototype.write=function(ie){this._value=this._value.concat(i(ie))},sr.prototype.read=function(){for(var ie=[],me=this.consumeToken();me!==mt;)ie.push(me),me=this.consumeToken();return ie},sr.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case it:return this.consumeStringToken(it);case Dt:var me=this.peekCodePoint(0),Me=this.peekCodePoint(1),$e=this.peekCodePoint(2);if(Sr(me)||Tn(Me,$e)){var Jt=In(me,Me,$e)?nt:Ge,jr=this.consumeName();return{type:5,value:jr,flags:Jt}}break;case St:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),zi;break;case vt:return this.consumeStringToken(vt);case Pt:return li;case br:return si;case Qe:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),Li;break;case yt:if(Un(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case ot:return ki;case fr:var an=ie,vn=this.peekCodePoint(0),kn=this.peekCodePoint(1);if(Un(an,vn,kn))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(In(an,vn,kn))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(vn===fr&&kn===Fn)return this.consumeCodePoint(),this.consumeCodePoint(),on;break;case Lr:if(Un(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case Pr:if(this.peekCodePoint(0)===Qe)for(this.consumeCodePoint();;){var bi=this.consumeCodePoint();if(bi===Qe&&(bi=this.consumeCodePoint(),bi===Pr))return this.consumeToken();if(bi===Fr)return this.consumeToken()}break;case Zt:return Qt;case Rr:return gr;case Zr:if(this.peekCodePoint(0)===Jr&&this.peekCodePoint(1)===fr&&this.peekCodePoint(2)===fr)return this.consumeCodePoint(),this.consumeCodePoint(),ar;break;case Rn:var fi=this.peekCodePoint(0),Ti=this.peekCodePoint(1),ba=this.peekCodePoint(2);if(In(fi,Ti,ba)){var jr=this.consumeName();return{type:7,value:jr}}break;case ei:return Or;case qr:if(Tn(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case di:return Kr;case gi:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),Ri;break;case Ii:return mi;case ge:return Hi;case sn:case Tt:var Ea=this.peekCodePoint(0),ka=this.peekCodePoint(1);return Ea===yt&&(qt(ka)||ka===Ye)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case Ie:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),Zn;if(this.peekCodePoint(0)===Ie)return this.consumeCodePoint(),Yi;break;case Fe:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),hn;break;case Fr:return mt}return Wn(ie)?(this.consumeWhiteSpace(),mn):pt(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):Yr(ie)?(this.reconsumeCodePoint(ie),this.consumeIdentLikeToken()):{type:6,value:t(ie)}},sr.prototype.consumeCodePoint=function(){var ie=this._value.shift();return typeof ie=="undefined"?-1:ie},sr.prototype.reconsumeCodePoint=function(ie){this._value.unshift(ie)},sr.prototype.peekCodePoint=function(ie){return ie>=this._value.length?-1:this._value[ie]},sr.prototype.consumeUnicodeRangeToken=function(){for(var ie=[],me=this.consumeCodePoint();qt(me)&&ie.length<6;)ie.push(me),me=this.consumeCodePoint();for(var Me=!1;me===Ye&&ie.length<6;)ie.push(me),me=this.consumeCodePoint(),Me=!0;if(Me){var $e=parseInt(t.apply(void 0,ie.map(function(vn){return vn===Ye?Xn:vn})),16),Jt=parseInt(t.apply(void 0,ie.map(function(vn){return vn===Ye?bt:vn})),16);return{type:30,start:$e,end:Jt}}var jr=parseInt(t.apply(void 0,ie),16);if(this.peekCodePoint(0)===fr&&qt(this.peekCodePoint(1))){this.consumeCodePoint(),me=this.consumeCodePoint();for(var an=[];qt(me)&&an.length<6;)an.push(me),me=this.consumeCodePoint();var Jt=parseInt(t.apply(void 0,an),16);return{type:30,start:jr,end:Jt}}else return{type:30,start:jr,end:jr}},sr.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===Pt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Pt?(this.consumeCodePoint(),{type:19,value:ie}):{type:20,value:ie}},sr.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fr)return{type:22,value:""};var me=this.peekCodePoint(0);if(me===vt||me===it){var Me=this.consumeStringToken(this.consumeCodePoint());return Me.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Fr||this.peekCodePoint(0)===br)?(this.consumeCodePoint(),{type:22,value:Me.value}):(this.consumeBadUrlRemnants(),Bi)}for(;;){var $e=this.consumeCodePoint();if($e===Fr||$e===br)return{type:22,value:t.apply(void 0,ie)};if(Wn($e))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Fr||this.peekCodePoint(0)===br?(this.consumeCodePoint(),{type:22,value:t.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),Bi);if($e===it||$e===vt||$e===Pt||ln($e))return this.consumeBadUrlRemnants(),Bi;if($e===qr)if(Tn($e,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Bi;else ie.push($e)}},sr.prototype.consumeWhiteSpace=function(){for(;Wn(this.peekCodePoint(0));)this.consumeCodePoint()},sr.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===br||ie===Fr)return;Tn(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},sr.prototype.consumeStringSlice=function(ie){for(var me=5e4,Me="";ie>0;){var $e=Math.min(me,ie);Me+=t.apply(void 0,this._value.splice(0,$e)),ie-=$e}return this._value.shift(),Me},sr.prototype.consumeStringToken=function(ie){var me="",Me=0;do{var $e=this._value[Me];if($e===Fr||$e===void 0||$e===ie)return me+=this.consumeStringSlice(Me),{type:0,value:me};if($e===wr)return this._value.splice(0,Me),Ar;if($e===qr){var Jt=this._value[Me+1];Jt!==Fr&&Jt!==void 0&&(Jt===wr?(me+=this.consumeStringSlice(Me),Me=-1,this._value.shift()):Tn($e,Jt)&&(me+=this.consumeStringSlice(Me),me+=t(this.consumeEscapedCodePoint()),Me=-1))}Me++}while(!0)},sr.prototype.consumeNumber=function(){var ie=[],me=st,Me=this.peekCodePoint(0);for((Me===yt||Me===fr)&&ie.push(this.consumeCodePoint());pt(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());Me=this.peekCodePoint(0);var $e=this.peekCodePoint(1);if(Me===Lr&&pt($e))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),me=Mt;pt(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());Me=this.peekCodePoint(0),$e=this.peekCodePoint(1);var Jt=this.peekCodePoint(2);if((Me===dt||Me===_i)&&(($e===yt||$e===fr)&&pt(Jt)||pt($e)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),me=Mt;pt(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[ti(ie),me]},sr.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),me=ie[0],Me=ie[1],$e=this.peekCodePoint(0),Jt=this.peekCodePoint(1),jr=this.peekCodePoint(2);if(In($e,Jt,jr)){var an=this.consumeName();return{type:15,number:me,flags:Me,unit:an}}return $e===Ut?(this.consumeCodePoint(),{type:16,number:me,flags:Me}):{type:17,number:me,flags:Me}},sr.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(qt(ie)){for(var me=t(ie);qt(this.peekCodePoint(0))&&me.length<6;)me+=t(this.consumeCodePoint());Wn(this.peekCodePoint(0))&&this.consumeCodePoint();var Me=parseInt(me,16);return Me===0||Gt(Me)||Me>1114111?We:Me}return ie===Fr?We:ie},sr.prototype.consumeName=function(){for(var ie="";;){var me=this.consumeCodePoint();if(Sr(me))ie+=t(me);else if(Tn(me,this.peekCodePoint(0)))ie+=t(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(me),ie}},sr}(),pr=function(){function sr(ie){this._tokens=ie}return sr.create=function(ie){var me=new dr;return me.write(ie),new sr(me.read())},sr.parseValue=function(ie){return sr.create(ie).parseComponentValue()},sr.parseValues=function(ie){return sr.create(ie).parseComponentValues()},sr.prototype.parseComponentValue=function(){for(var ie=this.consumeToken();ie.type===31;)ie=this.consumeToken();if(ie.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ie);var me=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===31);if(ie.type===32)return me;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},sr.prototype.parseComponentValues=function(){for(var ie=[];;){var me=this.consumeComponentValue();if(me.type===32)return ie;ie.push(me),ie.push()}},sr.prototype.consumeComponentValue=function(){var ie=this.consumeToken();switch(ie.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ie.type);case 19:return this.consumeFunction(ie)}return ie},sr.prototype.consumeSimpleBlock=function(ie){for(var me={type:ie,values:[]},Me=this.consumeToken();;){if(Me.type===32||Jn(Me,ie))return me;this.reconsumeToken(Me),me.values.push(this.consumeComponentValue()),Me=this.consumeToken()}},sr.prototype.consumeFunction=function(ie){for(var me={name:ie.value,values:[],type:18};;){var Me=this.consumeToken();if(Me.type===32||Me.type===3)return me;this.reconsumeToken(Me),me.values.push(this.consumeComponentValue())}},sr.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?mt:ie},sr.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},sr}(),kr=function(ie){return ie.type===15},nn=function(ie){return ie.type===17},un=function(ie){return ie.type===20},en=function(ie){return ie.type===0},Ln=function(ie,me){return un(ie)&&ie.value===me},xn=function(ie){return ie.type!==31},Gn=function(ie){return ie.type!==31&&ie.type!==4},ui=function(ie){var me=[],Me=[];return ie.forEach(function($e){if($e.type===4){if(Me.length===0)throw new Error("Error parsing function args, zero tokens for arg");me.push(Me),Me=[];return}$e.type!==31&&Me.push($e)}),Me.length&&me.push(Me),me},Jn=function(ie,me){return me===11&&ie.type===12||me===28&&ie.type===29?!0:me===2&&ie.type===3},pi=function(ie){return ie.type===17||ie.type===15},wi=function(ie){return ie.type===16||pi(ie)},Ni=function(ie){return ie.length>1?[ie[0],ie[1]]:[ie[0]]},Si={type:17,number:0,flags:st},vi={type:16,number:50,flags:st},Ai={type:16,number:100,flags:st},Ci=function(ie,me,Me){var $e=ie[0],Jt=ie[1];return[Ui($e,me),Ui(typeof Jt!="undefined"?Jt:$e,Me)]},Ui=function(ie,me){if(ie.type===16)return ie.number/100*me;if(kr(ie))switch(ie.unit){case"rem":case"em":return 16*ie.number;case"px":default:return ie.number}return ie.number},$i="deg",Di="grad",ua="rad",aa="turn",Xi={name:"angle",parse:function(ie,me){if(me.type===15)switch(me.unit){case $i:return Math.PI*me.number/180;case Di:return Math.PI/200*me.number;case ua:return me.number;case aa:return Math.PI*2*me.number}throw new Error("Unsupported angle type")}},Vi=function(ie){return ie.type===15&&(ie.unit===$i||ie.unit===Di||ie.unit===ua||ie.unit===aa)},ta=function(ie){var me=ie.filter(un).map(function(Me){return Me.value}).join(" ");switch(me){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Si,Si];case"to top":case"bottom":return Gi(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Si,Ai];case"to right":case"left":return Gi(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ai,Ai];case"to bottom":case"top":return Gi(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ai,Si];case"to left":case"right":return Gi(270)}return 0},Gi=function(ie){return Math.PI*ie/180},ga={name:"color",parse:function(ie,me){if(me.type===18){var Me=Ya[me.name];if(typeof Me=="undefined")throw new Error('Attempting to parse an unsupported color function "'+me.name+'"');return Me(ie,me.values)}if(me.type===5){if(me.value.length===3){var $e=me.value.substring(0,1),Jt=me.value.substring(1,2),jr=me.value.substring(2,3);return _a(parseInt($e+$e,16),parseInt(Jt+Jt,16),parseInt(jr+jr,16),1)}if(me.value.length===4){var $e=me.value.substring(0,1),Jt=me.value.substring(1,2),jr=me.value.substring(2,3),an=me.value.substring(3,4);return _a(parseInt($e+$e,16),parseInt(Jt+Jt,16),parseInt(jr+jr,16),parseInt(an+an,16)/255)}if(me.value.length===6){var $e=me.value.substring(0,2),Jt=me.value.substring(2,4),jr=me.value.substring(4,6);return _a(parseInt($e,16),parseInt(Jt,16),parseInt(jr,16),1)}if(me.value.length===8){var $e=me.value.substring(0,2),Jt=me.value.substring(2,4),jr=me.value.substring(4,6),an=me.value.substring(6,8);return _a(parseInt($e,16),parseInt(Jt,16),parseInt(jr,16),parseInt(an,16)/255)}}if(me.type===20){var vn=Va[me.value.toUpperCase()];if(typeof vn!="undefined")return vn}return Va.TRANSPARENT}},ra=function(ie){return(255&ie)===0},pa=function(ie){var me=255&ie,Me=255&ie>>8,$e=255&ie>>16,Jt=255&ie>>24;return me<255?"rgba("+Jt+","+$e+","+Me+","+me/255+")":"rgb("+Jt+","+$e+","+Me+")"},_a=function(ie,me,Me,$e){return(ie<<24|me<<16|Me<<8|Math.round($e*255)<<0)>>>0},Da=function(ie,me){if(ie.type===17)return ie.number;if(ie.type===16){var Me=me===3?1:255;return me===3?ie.number/100*Me:Math.round(ie.number/100*Me)}return 0},Ra=function(ie,me){var Me=me.filter(Gn);if(Me.length===3){var $e=Me.map(Da),Jt=$e[0],jr=$e[1],an=$e[2];return _a(Jt,jr,an,1)}if(Me.length===4){var vn=Me.map(Da),Jt=vn[0],jr=vn[1],an=vn[2],kn=vn[3];return _a(Jt,jr,an,kn)}return 0};function vo(sr,ie,me){return me<0&&(me+=1),me>=1&&(me-=1),me<1/6?(ie-sr)*me*6+sr:me<1/2?ie:me<2/3?(ie-sr)*6*(2/3-me)+sr:sr}var ja=function(ie,me){var Me=me.filter(Gn),$e=Me[0],Jt=Me[1],jr=Me[2],an=Me[3],vn=($e.type===17?Gi($e.number):Xi.parse(ie,$e))/(Math.PI*2),kn=wi(Jt)?Jt.number/100:0,bi=wi(jr)?jr.number/100:0,fi=typeof an!="undefined"&&wi(an)?Ui(an,1):1;if(kn===0)return _a(bi*255,bi*255,bi*255,1);var Ti=bi<=.5?bi*(kn+1):bi+kn-bi*kn,ba=bi*2-Ti,Ea=vo(ba,Ti,vn+1/3),ka=vo(ba,Ti,vn),Do=vo(ba,Ti,vn-1/3);return _a(Ea*255,ka*255,Do*255,fi)},Ya={hsl:ja,hsla:ja,rgb:Ra,rgba:Ra},Ia=function(ie,me){return ga.parse(ie,pr.create(me).parseComponentValue())},Va={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},co={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ie,me){return me.map(function(Me){if(un(Me))switch(Me.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ta={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yo=function(ie,me){var Me=ga.parse(ie,me[0]),$e=me[1];return $e&&wi($e)?{color:Me,stop:$e}:{color:Me,stop:null}},uo=function(ie,me){var Me=ie[0],$e=ie[ie.length-1];Me.stop===null&&(Me.stop=Si),$e.stop===null&&($e.stop=Ai);for(var Jt=[],jr=0,an=0;an<ie.length;an++){var vn=ie[an].stop;if(vn!==null){var kn=Ui(vn,me);kn>jr?Jt.push(kn):Jt.push(jr),jr=kn}else Jt.push(null)}for(var bi=null,an=0;an<Jt.length;an++){var fi=Jt[an];if(fi===null)bi===null&&(bi=an);else if(bi!==null){for(var Ti=an-bi,ba=Jt[bi-1],Ea=(fi-ba)/(Ti+1),ka=1;ka<=Ti;ka++)Jt[bi+ka-1]=Ea*ka;bi=null}}return ie.map(function(Do,mo){var io=Do.color;return{color:io,stop:Math.max(Math.min(1,Jt[mo]/me),0)}})},Xa=function(ie,me,Me){var $e=me/2,Jt=Me/2,jr=Ui(ie[0],me)-$e,an=Jt-Ui(ie[1],Me);return(Math.atan2(an,jr)+Math.PI*2)%(Math.PI*2)},Oo=function(ie,me,Me){var $e=typeof ie=="number"?ie:Xa(ie,me,Me),Jt=Math.abs(me*Math.sin($e))+Math.abs(Me*Math.cos($e)),jr=me/2,an=Me/2,vn=Jt/2,kn=Math.sin($e-Math.PI/2)*vn,bi=Math.cos($e-Math.PI/2)*vn;return[Jt,jr-bi,jr+bi,an-kn,an+kn]},oa=function(ie,me){return Math.sqrt(ie*ie+me*me)},qa=function(ie,me,Me,$e,Jt){var jr=[[0,0],[0,me],[ie,0],[ie,me]];return jr.reduce(function(an,vn){var kn=vn[0],bi=vn[1],fi=oa(Me-kn,$e-bi);return(Jt?fi<an.optimumDistance:fi>an.optimumDistance)?{optimumCorner:vn,optimumDistance:fi}:an},{optimumDistance:Jt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},oo=function(ie,me,Me,$e,Jt){var jr=0,an=0;switch(ie.size){case 0:ie.shape===0?jr=an=Math.min(Math.abs(me),Math.abs(me-$e),Math.abs(Me),Math.abs(Me-Jt)):ie.shape===1&&(jr=Math.min(Math.abs(me),Math.abs(me-$e)),an=Math.min(Math.abs(Me),Math.abs(Me-Jt)));break;case 2:if(ie.shape===0)jr=an=Math.min(oa(me,Me),oa(me,Me-Jt),oa(me-$e,Me),oa(me-$e,Me-Jt));else if(ie.shape===1){var vn=Math.min(Math.abs(Me),Math.abs(Me-Jt))/Math.min(Math.abs(me),Math.abs(me-$e)),kn=qa($e,Jt,me,Me,!0),bi=kn[0],fi=kn[1];jr=oa(bi-me,(fi-Me)/vn),an=vn*jr}break;case 1:ie.shape===0?jr=an=Math.max(Math.abs(me),Math.abs(me-$e),Math.abs(Me),Math.abs(Me-Jt)):ie.shape===1&&(jr=Math.max(Math.abs(me),Math.abs(me-$e)),an=Math.max(Math.abs(Me),Math.abs(Me-Jt)));break;case 3:if(ie.shape===0)jr=an=Math.max(oa(me,Me),oa(me,Me-Jt),oa(me-$e,Me),oa(me-$e,Me-Jt));else if(ie.shape===1){var vn=Math.max(Math.abs(Me),Math.abs(Me-Jt))/Math.max(Math.abs(me),Math.abs(me-$e)),Ti=qa($e,Jt,me,Me,!1),bi=Ti[0],fi=Ti[1];jr=oa(bi-me,(fi-Me)/vn),an=vn*jr}break}return Array.isArray(ie.size)&&(jr=Ui(ie.size[0],$e),an=ie.size.length===2?Ui(ie.size[1],Jt):jr),[jr,an]},Ro=function(ie,me){var Me=Gi(180),$e=[];return ui(me).forEach(function(Jt,jr){if(jr===0){var an=Jt[0];if(an.type===20&&an.value==="to"){Me=ta(Jt);return}else if(Vi(an)){Me=Xi.parse(ie,an);return}}var vn=yo(ie,Jt);$e.push(vn)}),{angle:Me,stops:$e,type:1}},Ga=function(ie,me){var Me=Gi(180),$e=[];return ui(me).forEach(function(Jt,jr){if(jr===0){var an=Jt[0];if(an.type===20&&["top","left","right","bottom"].indexOf(an.value)!==-1){Me=ta(Jt);return}else if(Vi(an)){Me=(Xi.parse(ie,an)+Gi(270))%Gi(360);return}}var vn=yo(ie,Jt);$e.push(vn)}),{angle:Me,stops:$e,type:1}},_o=function(ie,me){var Me=Gi(180),$e=[],Jt=1,jr=0,an=3,vn=[];return ui(me).forEach(function(kn,bi){var fi=kn[0];if(bi===0){if(un(fi)&&fi.value==="linear"){Jt=1;return}else if(un(fi)&&fi.value==="radial"){Jt=2;return}}if(fi.type===18){if(fi.name==="from"){var Ti=ga.parse(ie,fi.values[0]);$e.push({stop:Si,color:Ti})}else if(fi.name==="to"){var Ti=ga.parse(ie,fi.values[0]);$e.push({stop:Ai,color:Ti})}else if(fi.name==="color-stop"){var ba=fi.values.filter(Gn);if(ba.length===2){var Ti=ga.parse(ie,ba[1]),Ea=ba[0];nn(Ea)&&$e.push({stop:{type:16,number:Ea.number*100,flags:Ea.flags},color:Ti})}}}}),Jt===1?{angle:(Me+Gi(180))%Gi(360),stops:$e,type:Jt}:{size:an,shape:jr,stops:$e,position:vn,type:Jt}},go="closest-side",Ja="farthest-side",Fa="closest-corner",ha="farthest-corner",tt="circle",lr="ellipse",Mr="cover",Ir="contain",_n=function(ie,me){var Me=0,$e=3,Jt=[],jr=[];return ui(me).forEach(function(an,vn){var kn=!0;if(vn===0){var bi=!1;kn=an.reduce(function(Ti,ba){if(bi)if(un(ba))switch(ba.value){case"center":return jr.push(vi),Ti;case"top":case"left":return jr.push(Si),Ti;case"right":case"bottom":return jr.push(Ai),Ti}else(wi(ba)||pi(ba))&&jr.push(ba);else if(un(ba))switch(ba.value){case tt:return Me=0,!1;case lr:return Me=1,!1;case"at":return bi=!0,!1;case go:return $e=0,!1;case Mr:case Ja:return $e=1,!1;case Ir:case Fa:return $e=2,!1;case ha:return $e=3,!1}else if(pi(ba)||wi(ba))return Array.isArray($e)||($e=[]),$e.push(ba),!1;return Ti},kn)}if(kn){var fi=yo(ie,an);Jt.push(fi)}}),{size:$e,shape:Me,stops:Jt,position:jr,type:2}},Vr=function(ie,me){var Me=0,$e=3,Jt=[],jr=[];return ui(me).forEach(function(an,vn){var kn=!0;if(vn===0?kn=an.reduce(function(fi,Ti){if(un(Ti))switch(Ti.value){case"center":return jr.push(vi),!1;case"top":case"left":return jr.push(Si),!1;case"right":case"bottom":return jr.push(Ai),!1}else if(wi(Ti)||pi(Ti))return jr.push(Ti),!1;return fi},kn):vn===1&&(kn=an.reduce(function(fi,Ti){if(un(Ti))switch(Ti.value){case tt:return Me=0,!1;case lr:return Me=1,!1;case Ir:case go:return $e=0,!1;case Ja:return $e=1,!1;case Fa:return $e=2,!1;case Mr:case ha:return $e=3,!1}else if(pi(Ti)||wi(Ti))return Array.isArray($e)||($e=[]),$e.push(Ti),!1;return fi},kn)),kn){var bi=yo(ie,an);Jt.push(bi)}}),{size:$e,shape:Me,stops:Jt,position:jr,type:2}},_r=function(ie){return ie.type===1},Mn=function(ie){return ie.type===2},Br={name:"image",parse:function(ie,me){if(me.type===22){var Me={url:me.value,type:0};return ie.cache.addImage(me.value),Me}if(me.type===18){var $e=jn[me.name];if(typeof $e=="undefined")throw new Error('Attempting to parse an unsupported image function "'+me.name+'"');return $e(ie,me.values)}throw new Error("Unsupported image type "+me.type)}};function Sn(sr){return!(sr.type===20&&sr.value==="none")&&(sr.type!==18||!!jn[sr.name])}var jn={"linear-gradient":Ro,"-moz-linear-gradient":Ga,"-ms-linear-gradient":Ga,"-o-linear-gradient":Ga,"-webkit-linear-gradient":Ga,"radial-gradient":_n,"-moz-radial-gradient":Vr,"-ms-radial-gradient":Vr,"-o-radial-gradient":Vr,"-webkit-radial-gradient":Vr,"-webkit-gradient":_o},Hn={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ie,me){if(me.length===0)return[];var Me=me[0];return Me.type===20&&Me.value==="none"?[]:me.filter(function($e){return Gn($e)&&Sn($e)}).map(function($e){return Br.parse(ie,$e)})}},Bn={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ie,me){return me.map(function(Me){if(un(Me))switch(Me.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ri={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ie,me){return ui(me).map(function(Me){return Me.filter(wi)}).map(Ni)}},Yn={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ie,me){return ui(me).map(function(Me){return Me.filter(un).map(function($e){return $e.value}).join(" ")}).map(ii)}},ii=function(ie){switch(ie){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},ai;(function(sr){sr.AUTO="auto",sr.CONTAIN="contain",sr.COVER="cover"})(ai||(ai={}));var Pi={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ie,me){return ui(me).map(function(Me){return Me.filter(yi)})}},yi=function(ie){return un(ie)||wi(ie)},Ki=function(ie){return{name:"border-"+ie+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},va=Ki("top"),ea=Ki("right"),Ji=Ki("bottom"),sa=Ki("left"),fa=function(ie){return{name:"border-radius-"+ie,initialValue:"0 0",prefix:!1,type:1,parse:function(Me,$e){return Ni($e.filter(wi))}}},xo=fa("top-left"),Qa=fa("top-right"),Wi=fa("bottom-right"),qi=fa("bottom-left"),ca=function(ie){return{name:"border-"+ie+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Me,$e){switch($e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},ma=ca("top"),Pa=ca("right"),La=ca("bottom"),Za=ca("left"),eo=function(ie){return{name:"border-"+ie+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Me,$e){return kr($e)?$e.number:0}}},ko=eo("top"),jo=eo("right"),cs=eo("bottom"),Mo=eo("left"),Lo={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ba={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ie,me){switch(me){case"rtl":return 1;case"ltr":default:return 0}}},za={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ie,me){return me.filter(un).reduce(function(Me,$e){return Me|Ca($e.value)},0)}},Ca=function(ie){switch(ie){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Po={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ie,me){switch(me){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Qo={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ie,me){return me.type===20&&me.value==="normal"?0:me.type===17||me.type===15?me.number:0}},so;(function(sr){sr.NORMAL="normal",sr.STRICT="strict"})(so||(so={}));var Os={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ie,me){switch(me){case"strict":return so.STRICT;case"normal":default:return so.NORMAL}}},ho={name:"line-height",initialValue:"normal",prefix:!1,type:4},bo=function(ie,me){return un(ie)&&ie.value==="normal"?1.2*me:ie.type===17?me*ie.number:wi(ie)?Ui(ie,me):me},ds={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ie,me){return me.type===20&&me.value==="none"?null:Br.parse(ie,me)}},Ho={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ie,me){switch(me){case"inside":return 0;case"outside":default:return 1}}},zo={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ie,me){switch(me){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},rn=function(ie){return{name:"margin-"+ie,initialValue:"0",prefix:!1,type:4}},es=rn("top"),Js=rn("right"),Es=rn("bottom"),gs=rn("left"),Ko={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ie,me){return me.filter(un).map(function(Me){switch(Me.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},hs={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ie,me){switch(me){case"break-word":return"break-word";case"normal":default:return"normal"}}},bs=function(ie){return{name:"padding-"+ie,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},ws=bs("top"),qo=bs("right"),us=bs("bottom"),_s=bs("left"),As={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ie,me){switch(me){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ao={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ie,me){switch(me){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},to={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ie,me){return me.length===1&&Ln(me[0],"none")?[]:ui(me).map(function(Me){for(var $e={color:Va.TRANSPARENT,offsetX:Si,offsetY:Si,blur:Si},Jt=0,jr=0;jr<Me.length;jr++){var an=Me[jr];pi(an)?(Jt===0?$e.offsetX=an:Jt===1?$e.offsetY=an:$e.blur=an,Jt++):$e.color=ga.parse(ie,an)}return $e})}},Jo={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(ie,me){switch(me){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},ts={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(ie,me){if(me.type===20&&me.value==="none")return null;if(me.type===18){var Me=Wt[me.name];if(typeof Me=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+me.name+'"');return Me(me.values)}return null}},Ha=function(ie){var me=ie.filter(function(Me){return Me.type===17}).map(function(Me){return Me.number});return me.length===6?me:null},Ct=function(ie){var me=ie.filter(function(kn){return kn.type===17}).map(function(kn){return kn.number}),Me=me[0],$e=me[1];me[2],me[3];var Jt=me[4],jr=me[5];me[6],me[7],me[8],me[9],me[10],me[11];var an=me[12],vn=me[13];return me[14],me[15],me.length===16?[Me,$e,Jt,jr,an,vn]:null},Wt={matrix:Ha,matrix3d:Ct},cn={type:16,number:50,flags:st},zn=[cn,cn],ht={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(ie,me){var Me=me.filter(wi);return Me.length!==2?zn:[Me[0],Me[1]]}},Z={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(ie,me){switch(me){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},se;(function(sr){sr.NORMAL="normal",sr.BREAK_ALL="break-all",sr.KEEP_ALL="keep-all"})(se||(se={}));for(var pe={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(ie,me){switch(me){case"break-all":return se.BREAK_ALL;case"keep-all":return se.KEEP_ALL;case"normal":default:return se.NORMAL}}},Ue={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(ie,me){if(me.type===20)return{auto:!0,order:0};if(nn(me))return{auto:!1,order:me.number};throw new Error("Invalid z-index number parsed")}},ft={name:"time",parse:function(ie,me){if(me.type===15)switch(me.unit.toLowerCase()){case"s":return 1e3*me.number;case"ms":return me.number}throw new Error("Unsupported time type")}},zt={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(ie,me){return nn(me)?me.number:1}},Dr={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Xr={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(ie,me){return me.filter(un).map(function(Me){switch(Me.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Me){return Me!==0})}},dn={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(ie,me){var Me=[],$e=[];return me.forEach(function(Jt){switch(Jt.type){case 20:case 0:Me.push(Jt.value);break;case 17:Me.push(Jt.number.toString());break;case 4:$e.push(Me.join(" ")),Me.length=0;break}}),Me.length&&$e.push(Me.join(" ")),$e.map(function(Jt){return Jt.indexOf(" ")===-1?Jt:"'"+Jt+"'"})}},Kn={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},$n={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(ie,me){if(nn(me))return me.number;if(un(me))switch(me.value){case"bold":return 700;case"normal":default:return 400}return 400}},Qn={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(ie,me){return me.filter(un).map(function(Me){return Me.value})}},Ei={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(ie,me){switch(me){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Fi=function(ie,me){return(ie&me)!==0},Aa={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(ie,me){if(me.length===0)return[];var Me=me[0];return Me.type===20&&Me.value==="none"?[]:me}},Oa={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(ie,me){if(me.length===0)return null;var Me=me[0];if(Me.type===20&&Me.value==="none")return null;for(var $e=[],Jt=me.filter(xn),jr=0;jr<Jt.length;jr++){var an=Jt[jr],vn=Jt[jr+1];if(an.type===20){var kn=vn&&nn(vn)?vn.number:1;$e.push({counter:an.value,increment:kn})}}return $e}},fo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(ie,me){if(me.length===0)return[];for(var Me=[],$e=me.filter(xn),Jt=0;Jt<$e.length;Jt++){var jr=$e[Jt],an=$e[Jt+1];if(un(jr)&&jr.value!=="none"){var vn=an&&nn(an)?an.number:0;Me.push({counter:jr.value,reset:vn})}}return Me}},wo={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(ie,me){return me.filter(kr).map(function(Me){return ft.parse(ie,Me)})}},lo={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(ie,me){if(me.length===0)return null;var Me=me[0];if(Me.type===20&&Me.value==="none")return null;var $e=[],Jt=me.filter(en);if(Jt.length%2!==0)return null;for(var jr=0;jr<Jt.length;jr+=2){var an=Jt[jr].value,vn=Jt[jr+1].value;$e.push({open:an,close:vn})}return $e}},Yo=function(ie,me,Me){if(!ie)return"";var $e=ie[Math.min(me,ie.length-1)];return $e?Me?$e.open:$e.close:""},Vo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ie,me){return me.length===1&&Ln(me[0],"none")?[]:ui(me).map(function(Me){for(var $e={color:255,offsetX:Si,offsetY:Si,blur:Si,spread:Si,inset:!1},Jt=0,jr=0;jr<Me.length;jr++){var an=Me[jr];Ln(an,"inset")?$e.inset=!0:pi(an)?(Jt===0?$e.offsetX=an:Jt===1?$e.offsetY=an:Jt===2?$e.blur=an:$e.spread=an,Jt++):$e.color=ga.parse(ie,an)}return $e})}},No={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(ie,me){var Me=[0,1,2],$e=[];return me.filter(un).forEach(function(Jt){switch(Jt.value){case"stroke":$e.push(1);break;case"fill":$e.push(0);break;case"markers":$e.push(2);break}}),Me.forEach(function(Jt){$e.indexOf(Jt)===-1&&$e.push(Jt)}),$e}},ao={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Ka={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(ie,me){return kr(me)?me.number:0}},is=function(){function sr(ie,me){var Me,$e;this.animationDuration=la(ie,wo,me.animationDuration),this.backgroundClip=la(ie,co,me.backgroundClip),this.backgroundColor=la(ie,Ta,me.backgroundColor),this.backgroundImage=la(ie,Hn,me.backgroundImage),this.backgroundOrigin=la(ie,Bn,me.backgroundOrigin),this.backgroundPosition=la(ie,ri,me.backgroundPosition),this.backgroundRepeat=la(ie,Yn,me.backgroundRepeat),this.backgroundSize=la(ie,Pi,me.backgroundSize),this.borderTopColor=la(ie,va,me.borderTopColor),this.borderRightColor=la(ie,ea,me.borderRightColor),this.borderBottomColor=la(ie,Ji,me.borderBottomColor),this.borderLeftColor=la(ie,sa,me.borderLeftColor),this.borderTopLeftRadius=la(ie,xo,me.borderTopLeftRadius),this.borderTopRightRadius=la(ie,Qa,me.borderTopRightRadius),this.borderBottomRightRadius=la(ie,Wi,me.borderBottomRightRadius),this.borderBottomLeftRadius=la(ie,qi,me.borderBottomLeftRadius),this.borderTopStyle=la(ie,ma,me.borderTopStyle),this.borderRightStyle=la(ie,Pa,me.borderRightStyle),this.borderBottomStyle=la(ie,La,me.borderBottomStyle),this.borderLeftStyle=la(ie,Za,me.borderLeftStyle),this.borderTopWidth=la(ie,ko,me.borderTopWidth),this.borderRightWidth=la(ie,jo,me.borderRightWidth),this.borderBottomWidth=la(ie,cs,me.borderBottomWidth),this.borderLeftWidth=la(ie,Mo,me.borderLeftWidth),this.boxShadow=la(ie,Vo,me.boxShadow),this.color=la(ie,Lo,me.color),this.direction=la(ie,Ba,me.direction),this.display=la(ie,za,me.display),this.float=la(ie,Po,me.cssFloat),this.fontFamily=la(ie,dn,me.fontFamily),this.fontSize=la(ie,Kn,me.fontSize),this.fontStyle=la(ie,Ei,me.fontStyle),this.fontVariant=la(ie,Qn,me.fontVariant),this.fontWeight=la(ie,$n,me.fontWeight),this.letterSpacing=la(ie,Qo,me.letterSpacing),this.lineBreak=la(ie,Os,me.lineBreak),this.lineHeight=la(ie,ho,me.lineHeight),this.listStyleImage=la(ie,ds,me.listStyleImage),this.listStylePosition=la(ie,Ho,me.listStylePosition),this.listStyleType=la(ie,zo,me.listStyleType),this.marginTop=la(ie,es,me.marginTop),this.marginRight=la(ie,Js,me.marginRight),this.marginBottom=la(ie,Es,me.marginBottom),this.marginLeft=la(ie,gs,me.marginLeft),this.opacity=la(ie,zt,me.opacity);var Jt=la(ie,Ko,me.overflow);this.overflowX=Jt[0],this.overflowY=Jt[Jt.length>1?1:0],this.overflowWrap=la(ie,hs,me.overflowWrap),this.paddingTop=la(ie,ws,me.paddingTop),this.paddingRight=la(ie,qo,me.paddingRight),this.paddingBottom=la(ie,us,me.paddingBottom),this.paddingLeft=la(ie,_s,me.paddingLeft),this.paintOrder=la(ie,No,me.paintOrder),this.position=la(ie,Ao,me.position),this.textAlign=la(ie,As,me.textAlign),this.textDecorationColor=la(ie,Dr,(Me=me.textDecorationColor)!==null&&Me!==void 0?Me:me.color),this.textDecorationLine=la(ie,Xr,($e=me.textDecorationLine)!==null&&$e!==void 0?$e:me.textDecoration),this.textShadow=la(ie,to,me.textShadow),this.textTransform=la(ie,Jo,me.textTransform),this.transform=la(ie,ts,me.transform),this.transformOrigin=la(ie,ht,me.transformOrigin),this.visibility=la(ie,Z,me.visibility),this.webkitTextStrokeColor=la(ie,ao,me.webkitTextStrokeColor),this.webkitTextStrokeWidth=la(ie,Ka,me.webkitTextStrokeWidth),this.wordBreak=la(ie,pe,me.wordBreak),this.zIndex=la(ie,Ue,me.zIndex)}return sr.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},sr.prototype.isTransparent=function(){return ra(this.backgroundColor)},sr.prototype.isTransformed=function(){return this.transform!==null},sr.prototype.isPositioned=function(){return this.position!==0},sr.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},sr.prototype.isFloating=function(){return this.float!==0},sr.prototype.isInlineLevel=function(){return Fi(this.display,4)||Fi(this.display,33554432)||Fi(this.display,268435456)||Fi(this.display,536870912)||Fi(this.display,67108864)||Fi(this.display,134217728)},sr}(),Is=function(){function sr(ie,me){this.content=la(ie,Aa,me.content),this.quotes=la(ie,lo,me.quotes)}return sr}(),Xo=function(){function sr(ie,me){this.counterIncrement=la(ie,Oa,me.counterIncrement),this.counterReset=la(ie,fo,me.counterReset)}return sr}(),la=function(ie,me,Me){var $e=new dr,Jt=Me!==null&&typeof Me!="undefined"?Me.toString():me.initialValue;$e.write(Jt);var jr=new pr($e.read());switch(me.type){case 2:var an=jr.parseComponentValue();return me.parse(ie,un(an)?an.value:me.initialValue);case 0:return me.parse(ie,jr.parseComponentValue());case 1:return me.parse(ie,jr.parseComponentValues());case 4:return jr.parseComponentValue();case 3:switch(me.format){case"angle":return Xi.parse(ie,jr.parseComponentValue());case"color":return ga.parse(ie,jr.parseComponentValue());case"image":return Br.parse(ie,jr.parseComponentValue());case"length":var vn=jr.parseComponentValue();return pi(vn)?vn:Si;case"length-percentage":var kn=jr.parseComponentValue();return wi(kn)?kn:Si;case"time":return ft.parse(ie,jr.parseComponentValue())}break}},Vs="data-html2canvas-debug",Hs=function(ie){var me=ie.getAttribute(Vs);switch(me){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},fs=function(ie,me){var Me=Hs(ie);return Me===1||me===Me},as=function(){function sr(ie,me){if(this.context=ie,this.textNodes=[],this.elements=[],this.flags=0,fs(me,3))debugger;this.styles=new is(ie,window.getComputedStyle(me,null)),Iu(me)&&(this.styles.animationDuration.some(function(Me){return Me>0})&&(me.style.animationDuration="0s"),this.styles.transform!==null&&(me.style.transform="none")),this.bounds=c(this.context,me),fs(me,4)&&(this.flags|=16)}return sr}(),Ss="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",xl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Al=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),zs=0;zs<xl.length;zs++)Al[xl.charCodeAt(zs)]=zs;for(var Zo=function(ie){var me=ie.length*.75,Me=ie.length,$e,Jt=0,jr,an,vn,kn;ie[ie.length-1]==="="&&(me--,ie[ie.length-2]==="="&&me--);var bi=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(me):new Array(me),fi=Array.isArray(bi)?bi:new Uint8Array(bi);for($e=0;$e<Me;$e+=4)jr=Al[ie.charCodeAt($e)],an=Al[ie.charCodeAt($e+1)],vn=Al[ie.charCodeAt($e+2)],kn=Al[ie.charCodeAt($e+3)],fi[Jt++]=jr<<2|an>>4,fi[Jt++]=(an&15)<<4|vn>>2,fi[Jt++]=(vn&3)<<6|kn&63;return bi},vs=function(ie){for(var me=ie.length,Me=[],$e=0;$e<me;$e+=2)Me.push(ie[$e+1]<<8|ie[$e]);return Me},nl=function(ie){for(var me=ie.length,Me=[],$e=0;$e<me;$e+=4)Me.push(ie[$e+3]<<24|ie[$e+2]<<16|ie[$e+1]<<8|ie[$e]);return Me},ks=5,po=6+5,Wa=2,Eo=po-ks,Go=65536>>ks,$o=1<<ks,To=$o-1,rs=1024>>ks,os=Go+rs,Fs=os,ol=2048>>6,Zs=Fs+ol,dl=65536>>po,hl=1<<Eo,sl=hl-1,yl=function(ie,me,Me){return ie.slice?ie.slice(me,Me):new Uint16Array(Array.prototype.slice.call(ie,me,Me))},Ns=function(ie,me,Me){return ie.slice?ie.slice(me,Me):new Uint32Array(Array.prototype.slice.call(ie,me,Me))},ys=function(ie,me){var Me=Zo(ie),$e=Array.isArray(Me)?nl(Me):new Uint32Array(Me),Jt=Array.isArray(Me)?vs(Me):new Uint16Array(Me),jr=24,an=yl(Jt,jr/2,$e[4]/2),vn=$e[5]===2?yl(Jt,(jr+$e[4])/2):Ns($e,Math.ceil((jr+$e[4])/4));return new Ds($e[0],$e[1],$e[2],$e[3],an,vn)},Ds=function(){function sr(ie,me,Me,$e,Jt,jr){this.initialValue=ie,this.errorValue=me,this.highStart=Me,this.highValueIndex=$e,this.index=Jt,this.data=jr}return sr.prototype.get=function(ie){var me;if(ie>=0){if(ie<55296||ie>56319&&ie<=65535)return me=this.index[ie>>ks],me=(me<<Wa)+(ie&To),this.data[me];if(ie<=65535)return me=this.index[Go+(ie-55296>>ks)],me=(me<<Wa)+(ie&To),this.data[me];if(ie<this.highStart)return me=Zs-dl+(ie>>po),me=this.index[me],me+=ie>>ks&sl,me=this.index[me],me=(me<<Wa)+(ie&To),this.data[me];if(ie<=1114111)return this.data[this.highValueIndex]}return this.errorValue},sr}(),xs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Gs=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ll=0;ll<xs.length;ll++)Gs[xs.charCodeAt(ll)]=ll;var El=1,jl=2,$s=3,Nl=4,Pl=5,yu=7,cu=8,eu=9,tu=10,Vl=11,Ys=12,il=13,fl=14,kl=15,du=function(ie){for(var me=[],Me=0,$e=ie.length;Me<$e;){var Jt=ie.charCodeAt(Me++);if(Jt>=55296&&Jt<=56319&&Me<$e){var jr=ie.charCodeAt(Me++);(jr&64512)===56320?me.push(((Jt&1023)<<10)+(jr&1023)+65536):(me.push(Jt),Me--)}else me.push(Jt)}return me},ru=function(){for(var ie=[],me=0;me<arguments.length;me++)ie[me]=arguments[me];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ie);var Me=ie.length;if(!Me)return"";for(var $e=[],Jt=-1,jr="";++Jt<Me;){var an=ie[Jt];an<=65535?$e.push(an):(an-=65536,$e.push((an>>10)+55296,an%1024+56320)),(Jt+1===Me||$e.length>16384)&&(jr+=String.fromCharCode.apply(String,$e),$e.length=0)}return jr},nu=ys(Ss),Qs="\xD7",iu="\xF7",au=function(ie){return nu.get(ie)},bu=function(ie,me,Me){var $e=Me-2,Jt=me[$e],jr=me[Me-1],an=me[Me];if(jr===jl&&an===$s)return Qs;if(jr===jl||jr===$s||jr===Nl)return iu;if(an===jl||an===$s||an===Nl)return iu;if(jr===cu&&[cu,eu,Vl,Ys].indexOf(an)!==-1)return Qs;if((jr===Vl||jr===eu)&&(an===eu||an===tu))return Qs;if((jr===Ys||jr===tu)&&an===tu)return Qs;if(an===il||an===Pl)return Qs;if(an===yu)return Qs;if(jr===El)return Qs;if(jr===il&&an===fl){for(;Jt===Pl;)Jt=me[--$e];if(Jt===fl)return Qs}if(jr===kl&&an===kl){for(var vn=0;Jt===kl;)vn++,Jt=me[--$e];if(vn%2===0)return Qs}return iu},bl=function(ie){var me=du(ie),Me=me.length,$e=0,Jt=0,jr=me.map(au);return{next:function(){if($e>=Me)return{done:!0,value:null};for(var vn=Qs;$e<Me&&(vn=bu(me,jr,++$e))===Qs;);if(vn!==Qs||$e===Me){var kn=ru.apply(null,me.slice(Jt,$e));return Jt=$e,{value:kn,done:!1}}return{done:!0,value:null}}}},Fl=function(ie){for(var me=bl(ie),Me=[],$e;!($e=me.next()).done;)$e.value&&Me.push($e.value.slice());return Me},Hl=function(ie){var me=123;if(ie.createRange){var Me=ie.createRange();if(Me.getBoundingClientRect){var $e=ie.createElement("boundtest");$e.style.height=me+"px",$e.style.display="block",ie.body.appendChild($e),Me.selectNode($e);var Jt=Me.getBoundingClientRect(),jr=Math.round(Jt.height);if(ie.body.removeChild($e),jr===me)return!0}}return!1},Xl=function(ie){var me=ie.createElement("boundtest");me.style.width="50px",me.style.display="block",me.style.fontSize="12px",me.style.letterSpacing="0px",me.style.wordSpacing="0px",ie.body.appendChild(me);var Me=ie.createRange();me.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var $e=me.firstChild,Jt=i($e.data).map(function(kn){return t(kn)}),jr=0,an={},vn=Jt.every(function(kn,bi){Me.setStart($e,jr),Me.setEnd($e,jr+kn.length);var fi=Me.getBoundingClientRect();jr+=kn.length;var Ti=fi.x>an.x||fi.y>an.y;return an=fi,bi===0?!0:Ti});return ie.body.removeChild(me),vn},Cl=function(){return typeof new Image().crossOrigin!="undefined"},Cu=function(){return typeof new XMLHttpRequest().responseType=="string"},Tu=function(ie){var me=new Image,Me=ie.createElement("canvas"),$e=Me.getContext("2d");if(!$e)return!1;me.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{$e.drawImage(me,0,0),Me.toDataURL()}catch(Jt){return!1}return!0},Tl=function(ie){return ie[0]===0&&ie[1]===255&&ie[2]===0&&ie[3]===255},ou=function(ie){var me=ie.createElement("canvas"),Me=100;me.width=Me,me.height=Me;var $e=me.getContext("2d");if(!$e)return Promise.reject(!1);$e.fillStyle="rgb(0, 255, 0)",$e.fillRect(0,0,Me,Me);var Jt=new Image,jr=me.toDataURL();Jt.src=jr;var an=hu(Me,Me,0,0,Jt);return $e.fillStyle="red",$e.fillRect(0,0,Me,Me),su(an).then(function(vn){$e.drawImage(vn,0,0);var kn=$e.getImageData(0,0,Me,Me).data;$e.fillStyle="red",$e.fillRect(0,0,Me,Me);var bi=ie.createElement("div");return bi.style.backgroundImage="url("+jr+")",bi.style.height=Me+"px",Tl(kn)?su(hu(Me,Me,0,0,bi)):Promise.reject(!1)}).then(function(vn){return $e.drawImage(vn,0,0),Tl($e.getImageData(0,0,Me,Me).data)}).catch(function(){return!1})},hu=function(ie,me,Me,$e,Jt){var jr="http://www.w3.org/2000/svg",an=document.createElementNS(jr,"svg"),vn=document.createElementNS(jr,"foreignObject");return an.setAttributeNS(null,"width",ie.toString()),an.setAttributeNS(null,"height",me.toString()),vn.setAttributeNS(null,"width","100%"),vn.setAttributeNS(null,"height","100%"),vn.setAttributeNS(null,"x",Me.toString()),vn.setAttributeNS(null,"y",$e.toString()),vn.setAttributeNS(null,"externalResourcesRequired","true"),an.appendChild(vn),vn.appendChild(Jt),an},su=function(ie){return new Promise(function(me,Me){var $e=new Image;$e.onload=function(){return me($e)},$e.onerror=Me,$e.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},Rs={get SUPPORT_RANGE_BOUNDS(){var sr=Hl(document);return Object.defineProperty(Rs,"SUPPORT_RANGE_BOUNDS",{value:sr}),sr},get SUPPORT_WORD_BREAKING(){var sr=Rs.SUPPORT_RANGE_BOUNDS&&Xl(document);return Object.defineProperty(Rs,"SUPPORT_WORD_BREAKING",{value:sr}),sr},get SUPPORT_SVG_DRAWING(){var sr=Tu(document);return Object.defineProperty(Rs,"SUPPORT_SVG_DRAWING",{value:sr}),sr},get SUPPORT_FOREIGNOBJECT_DRAWING(){var sr=typeof Array.from=="function"&&typeof window.fetch=="function"?ou(document):Promise.resolve(!1);return Object.defineProperty(Rs,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:sr}),sr},get SUPPORT_CORS_IMAGES(){var sr=Cl();return Object.defineProperty(Rs,"SUPPORT_CORS_IMAGES",{value:sr}),sr},get SUPPORT_RESPONSE_TYPE(){var sr=Cu();return Object.defineProperty(Rs,"SUPPORT_RESPONSE_TYPE",{value:sr}),sr},get SUPPORT_CORS_XHR(){var sr="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Rs,"SUPPORT_CORS_XHR",{value:sr}),sr},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var sr=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Rs,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:sr}),sr}},el=function(){function sr(ie,me){this.text=ie,this.bounds=me}return sr}(),Bl=function(ie,me,Me,$e){var Jt=lu(me,Me),jr=[],an=0;return Jt.forEach(function(vn){if(Me.textDecorationLine.length||vn.trim().length>0)if(Rs.SUPPORT_RANGE_BOUNDS){var kn=fu($e,an,vn.length).getClientRects();if(kn.length>1){var bi=Gl(vn),fi=0;bi.forEach(function(ba){jr.push(new el(ba,d.fromDOMRectList(ie,fu($e,fi+an,ba.length).getClientRects()))),fi+=ba.length})}else jr.push(new el(vn,d.fromDOMRectList(ie,kn)))}else{var Ti=$e.splitText(vn.length);jr.push(new el(vn,wu(ie,$e))),$e=Ti}else Rs.SUPPORT_RANGE_BOUNDS||($e=$e.splitText(vn.length));an+=vn.length}),jr},wu=function(ie,me){var Me=me.ownerDocument;if(Me){var $e=Me.createElement("html2canvaswrapper");$e.appendChild(me.cloneNode(!0));var Jt=me.parentNode;if(Jt){Jt.replaceChild($e,me);var jr=c(ie,$e);return $e.firstChild&&Jt.replaceChild($e.firstChild,$e),jr}}return d.EMPTY},fu=function(ie,me,Me){var $e=ie.ownerDocument;if(!$e)throw new Error("Node has no owner document");var Jt=$e.createRange();return Jt.setStart(ie,me),Jt.setEnd(ie,me+Me),Jt},Gl=function(ie){if(Rs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var me=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(me.segment(ie)).map(function(Me){return Me.segment})}return Fl(ie)},Kl=function(ie,me){if(Rs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Me=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(Me.segment(ie)).map(function($e){return $e.segment})}return mu(ie,me)},lu=function(ie,me){return me.letterSpacing!==0?Gl(ie):Kl(ie,me)},pu=[32,160,4961,65792,65793,4153,4241],mu=function(ie,me){for(var Me=Ee(ie,{lineBreak:me.lineBreak,wordBreak:me.overflowWrap==="break-word"?"break-word":me.wordBreak}),$e=[],Jt,jr=function(){if(Jt.value){var vn=Jt.value.slice(),kn=i(vn),bi="";kn.forEach(function(fi){pu.indexOf(fi)===-1?bi+=t(fi):(bi.length&&$e.push(bi),$e.push(t(fi)),bi="")}),bi.length&&$e.push(bi)}};!(Jt=Me.next()).done;)jr();return $e},pl=function(){function sr(ie,me,Me){this.text=wl(me.data,Me.textTransform),this.textBounds=Bl(ie,this.text,Me,me)}return sr}(),wl=function(ie,me){switch(me){case 1:return ie.toLowerCase();case 3:return ie.replace(Dl,Bo);case 2:return ie.toUpperCase();default:return ie}},Dl=/(^|\s|:|-|\(|\))([a-z])/g,Bo=function(ie,me,Me){return ie.length>0?me+Me.toUpperCase():ie},Na=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;return $e.src=Me.currentSrc||Me.src,$e.intrinsicWidth=Me.naturalWidth,$e.intrinsicHeight=Me.naturalHeight,$e.context.cache.addImage($e.src),$e}return ie}(as),ro=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;return $e.canvas=Me,$e.intrinsicWidth=Me.width,$e.intrinsicHeight=Me.height,$e}return ie}(as),Io=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this,Jt=new XMLSerializer,jr=c(me,Me);return Me.setAttribute("width",jr.width+"px"),Me.setAttribute("height",jr.height+"px"),$e.svg="data:image/svg+xml,"+encodeURIComponent(Jt.serializeToString(Me)),$e.intrinsicWidth=Me.width.baseVal.value,$e.intrinsicHeight=Me.height.baseVal.value,$e.context.cache.addImage($e.svg),$e}return ie}(as),Bs=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;return $e.value=Me.value,$e}return ie}(as),Ol=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;return $e.start=Me.start,$e.reversed=typeof Me.reversed=="boolean"&&Me.reversed===!0,$e}return ie}(as),_l=[{type:15,flags:0,unit:"px",number:3}],ml=[{type:16,flags:0,number:50}],vl=function(ie){return ie.width>ie.height?new d(ie.left+(ie.width-ie.height)/2,ie.top,ie.height,ie.height):ie.width<ie.height?new d(ie.left,ie.top+(ie.height-ie.width)/2,ie.width,ie.width):ie},Il=function(ie){var me=ie.type===Yl?new Array(ie.value.length+1).join("\u2022"):ie.value;return me.length===0?ie.placeholder||"":me},Ll="checkbox",Ks="radio",Yl="password",gu=707406591,uu=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;$e.type=Me.type.toLowerCase(),$e.checked=Me.checked,$e.value=Il(Me),($e.type===Ll||$e.type===Ks)&&($e.styles.backgroundColor=3739148031,$e.styles.borderTopColor=$e.styles.borderRightColor=$e.styles.borderBottomColor=$e.styles.borderLeftColor=2779096575,$e.styles.borderTopWidth=$e.styles.borderRightWidth=$e.styles.borderBottomWidth=$e.styles.borderLeftWidth=1,$e.styles.borderTopStyle=$e.styles.borderRightStyle=$e.styles.borderBottomStyle=$e.styles.borderLeftStyle=1,$e.styles.backgroundClip=[0],$e.styles.backgroundOrigin=[0],$e.bounds=vl($e.bounds));switch($e.type){case Ll:$e.styles.borderTopRightRadius=$e.styles.borderTopLeftRadius=$e.styles.borderBottomRightRadius=$e.styles.borderBottomLeftRadius=_l;break;case Ks:$e.styles.borderTopRightRadius=$e.styles.borderTopLeftRadius=$e.styles.borderBottomRightRadius=$e.styles.borderBottomLeftRadius=ml;break}return $e}return ie}(as),Ou=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this,Jt=Me.options[Me.selectedIndex||0];return $e.value=Jt&&Jt.text||"",$e}return ie}(as),Vu=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;return $e.value=Me.value,$e}return ie}(as),Fu=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;$e.src=Me.src,$e.width=parseInt(Me.width,10)||0,$e.height=parseInt(Me.height,10)||0,$e.backgroundColor=$e.styles.backgroundColor;try{if(Me.contentWindow&&Me.contentWindow.document&&Me.contentWindow.document.documentElement){$e.tree=Gu(me,Me.contentWindow.document.documentElement);var Jt=Me.contentWindow.document.documentElement?Ia(me,getComputedStyle(Me.contentWindow.document.documentElement).backgroundColor):Va.TRANSPARENT,jr=Me.contentWindow.document.body?Ia(me,getComputedStyle(Me.contentWindow.document.body).backgroundColor):Va.TRANSPARENT;$e.backgroundColor=ra(Jt)?ra(jr)?$e.styles.backgroundColor:jr:Jt}}catch(an){}return $e}return ie}(as),ec=["OL","UL","MENU"],Bu=function sr(ie,me,Me,$e){for(var Jt=me.firstChild,jr=void 0;Jt;Jt=jr)if(jr=Jt.nextSibling,_u(Jt)&&Jt.data.trim().length>0)Me.textNodes.push(new pl(ie,Jt,Me.styles));else if(Ul(Jt))if(Xt(Jt)&&Jt.assignedNodes)Jt.assignedNodes().forEach(function(vn){return sr(ie,vn,Me,$e)});else{var an=Xu(ie,Jt);an.styles.isVisible()&&(Yu(Jt,an,$e)?an.flags|=4:Uu(an.styles)&&(an.flags|=2),ec.indexOf(Jt.tagName)!==-1&&(an.flags|=8),Me.elements.push(an),Jt.slot,Jt.shadowRoot?sr(ie,Jt.shadowRoot,an,$e):!Rt(Jt)&&!tr(Jt)&&!Kt(Jt)&&sr(ie,Jt,an,$e))}},Xu=function(ie,me){return Y(me)?new Na(ie,me):Wr(me)?new ro(ie,me):tr(me)?new Io(ie,me):Su(me)?new Bs(ie,me):de(me)?new Ol(ie,me):He(me)?new uu(ie,me):Kt(me)?new Ou(ie,me):Rt(me)?new Vu(ie,me):he(me)?new Fu(ie,me):new as(ie,me)},Gu=function(ie,me){var Me=Xu(ie,me);return Me.flags|=4,Bu(ie,me,Me,Me),Me},Yu=function(ie,me,Me){return me.styles.isPositionedWithZIndex()||me.styles.opacity<1||me.styles.isTransformed()||Cr(ie)&&Me.styles.isTransparent()},Uu=function(ie){return ie.isPositioned()||ie.isFloating()},_u=function(ie){return ie.nodeType===Node.TEXT_NODE},Ul=function(ie){return ie.nodeType===Node.ELEMENT_NODE},Iu=function(ie){return Ul(ie)&&typeof ie.style!="undefined"&&!Wl(ie)},Wl=function(ie){return typeof ie.className=="object"},Su=function(ie){return ie.tagName==="LI"},de=function(ie){return ie.tagName==="OL"},He=function(ie){return ie.tagName==="INPUT"},ut=function(ie){return ie.tagName==="HTML"},tr=function(ie){return ie.tagName==="svg"},Cr=function(ie){return ie.tagName==="BODY"},Wr=function(ie){return ie.tagName==="CANVAS"},_e=function(ie){return ie.tagName==="VIDEO"},Y=function(ie){return ie.tagName==="IMG"},he=function(ie){return ie.tagName==="IFRAME"},ze=function(ie){return ie.tagName==="STYLE"},at=function(ie){return ie.tagName==="SCRIPT"},Rt=function(ie){return ie.tagName==="TEXTAREA"},Kt=function(ie){return ie.tagName==="SELECT"},Xt=function(ie){return ie.tagName==="SLOT"},Nr=function(ie){return ie.tagName.indexOf("-")>0},Qr=function(){function sr(){this.counters={}}return sr.prototype.getCounterValue=function(ie){var me=this.counters[ie];return me&&me.length?me[me.length-1]:1},sr.prototype.getCounterValues=function(ie){var me=this.counters[ie];return me||[]},sr.prototype.pop=function(ie){var me=this;ie.forEach(function(Me){return me.counters[Me].pop()})},sr.prototype.parse=function(ie){var me=this,Me=ie.counterIncrement,$e=ie.counterReset,Jt=!0;Me!==null&&Me.forEach(function(an){var vn=me.counters[an.counter];vn&&an.increment!==0&&(Jt=!1,vn.length||vn.push(1),vn[Math.max(0,vn.length-1)]+=an.increment)});var jr=[];return Jt&&$e.forEach(function(an){var vn=me.counters[an.counter];jr.push(an.counter),vn||(vn=me.counters[an.counter]=[]),vn.push(an.reset)}),jr},sr}(),Tr={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"]},Er={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"]},Hr={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"]},$r={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"]},En=function(ie,me,Me,$e,Jt,jr){return ie<me||ie>Me?X(ie,Jt,jr.length>0):$e.integers.reduce(function(an,vn,kn){for(;ie>=vn;)ie-=vn,an+=$e.values[kn];return an},"")+jr},oi=function(ie,me,Me,$e){var Jt="";do Me||ie--,Jt=$e(ie)+Jt,ie/=me;while(ie*me>=me);return Jt},ci=function(ie,me,Me,$e,Jt){var jr=Me-me+1;return(ie<0?"-":"")+(oi(Math.abs(ie),jr,$e,function(an){return t(Math.floor(an%jr)+me)})+Jt)},ji=function(ie,me,Me){Me===void 0&&(Me=". ");var $e=me.length;return oi(Math.abs(ie),$e,!1,function(Jt){return me[Math.floor(Jt%$e)]})+Me},Oi=1<<0,wa=1<<1,Qi=1<<2,Ua=1<<3,Sa=function(ie,me,Me,$e,Jt,jr){if(ie<-9999||ie>9999)return X(ie,4,Jt.length>0);var an=Math.abs(ie),vn=Jt;if(an===0)return me[0]+vn;for(var kn=0;an>0&&kn<=4;kn++){var bi=an%10;bi===0&&Fi(jr,Oi)&&vn!==""?vn=me[bi]+vn:bi>1||bi===1&&kn===0||bi===1&&kn===1&&Fi(jr,wa)||bi===1&&kn===1&&Fi(jr,Qi)&&ie>100||bi===1&&kn>1&&Fi(jr,Ua)?vn=me[bi]+(kn>0?Me[kn-1]:"")+vn:bi===1&&kn>0&&(vn=Me[kn-1]+vn),an=Math.floor(an/10)}return(ie<0?$e:"")+vn},So="\u5341\u767E\u5343\u842C",Fo="\u62FE\u4F70\u4EDF\u842C",I="\u30DE\u30A4\u30CA\u30B9",D="\uB9C8\uC774\uB108\uC2A4",X=function(ie,me,Me){var $e=Me?". ":"",Jt=Me?"\u3001":"",jr=Me?", ":"",an=Me?" ":"";switch(me){case 0:return"\u2022"+an;case 1:return"\u25E6"+an;case 2:return"\u25FE"+an;case 5:var vn=ci(ie,48,57,!0,$e);return vn.length<4?"0"+vn:vn;case 4:return ji(ie,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Jt);case 6:return En(ie,1,3999,Tr,3,$e).toLowerCase();case 7:return En(ie,1,3999,Tr,3,$e);case 8:return ci(ie,945,969,!1,$e);case 9:return ci(ie,97,122,!1,$e);case 10:return ci(ie,65,90,!1,$e);case 11:return ci(ie,1632,1641,!0,$e);case 12:case 49:return En(ie,1,9999,Er,3,$e);case 35:return En(ie,1,9999,Er,3,$e).toLowerCase();case 13:return ci(ie,2534,2543,!0,$e);case 14:case 30:return ci(ie,6112,6121,!0,$e);case 15:return ji(ie,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Jt);case 16:return ji(ie,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Jt);case 17:case 48:return Sa(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",So,"\u8CA0",Jt,wa|Qi|Ua);case 47:return Sa(ie,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Fo,"\u8CA0",Jt,Oi|wa|Qi|Ua);case 42:return Sa(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",So,"\u8D1F",Jt,wa|Qi|Ua);case 41:return Sa(ie,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Fo,"\u8D1F",Jt,Oi|wa|Qi|Ua);case 26:return Sa(ie,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",I,Jt,0);case 25:return Sa(ie,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",I,Jt,Oi|wa|Qi);case 31:return Sa(ie,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",D,jr,Oi|wa|Qi);case 33:return Sa(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",D,jr,0);case 32:return Sa(ie,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",D,jr,Oi|wa|Qi);case 18:return ci(ie,2406,2415,!0,$e);case 20:return En(ie,1,19999,$r,3,$e);case 21:return ci(ie,2790,2799,!0,$e);case 22:return ci(ie,2662,2671,!0,$e);case 22:return En(ie,1,10999,Hr,3,$e);case 23:return ji(ie,"\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 24:return ji(ie,"\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 27:return ci(ie,3302,3311,!0,$e);case 28:return ji(ie,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",Jt);case 29:return ji(ie,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",Jt);case 34:return ci(ie,3792,3801,!0,$e);case 37:return ci(ie,6160,6169,!0,$e);case 38:return ci(ie,4160,4169,!0,$e);case 39:return ci(ie,2918,2927,!0,$e);case 40:return ci(ie,1776,1785,!0,$e);case 43:return ci(ie,3046,3055,!0,$e);case 44:return ci(ie,3174,3183,!0,$e);case 45:return ci(ie,3664,3673,!0,$e);case 46:return ci(ie,3872,3881,!0,$e);case 3:default:return ci(ie,48,57,!0,$e)}},J="data-html2canvas-ignore",ne=function(){function sr(ie,me,Me){if(this.context=ie,this.options=Me,this.scrolledElements=[],this.referenceElement=me,this.counters=new Qr,this.quoteDepth=0,!me.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(me.ownerDocument.documentElement,!1)}return sr.prototype.toIFrame=function(ie,me){var Me=this,$e=ct(ie,me);if(!$e.contentWindow)return Promise.reject("Unable to find iframe window");var Jt=ie.defaultView.pageXOffset,jr=ie.defaultView.pageYOffset,an=$e.contentWindow,vn=an.document,kn=cr($e).then(function(){return m(Me,void 0,void 0,function(){var bi,fi;return g(this,function(Ti){switch(Ti.label){case 0:return this.scrolledElements.forEach(Mi),an&&(an.scrollTo(me.left,me.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(an.scrollY!==me.top||an.scrollX!==me.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(an.scrollX-me.left,an.scrollY-me.top,0,0))),bi=this.options.onclone,fi=this.clonedReferenceElement,typeof fi=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:vn.fonts&&vn.fonts.ready?[4,vn.fonts.ready]:[3,2];case 1:Ti.sent(),Ti.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,ir(vn)]:[3,4];case 3:Ti.sent(),Ti.label=4;case 4:return typeof bi=="function"?[2,Promise.resolve().then(function(){return bi(vn,fi)}).then(function(){return $e})]:[2,$e]}})})});return vn.open(),vn.write(qn(document.doctype)+"<html></html>"),ni(this.referenceElement.ownerDocument,Jt,jr),vn.replaceChild(vn.adoptNode(this.documentElement),vn.documentElement),vn.close(),kn},sr.prototype.createElementClone=function(ie){if(fs(ie,2))debugger;if(Wr(ie))return this.createCanvasClone(ie);if(_e(ie))return this.createVideoClone(ie);if(ze(ie))return this.createStyleClone(ie);var me=ie.cloneNode(!1);return Y(me)&&(Y(ie)&&ie.currentSrc&&ie.currentSrc!==ie.src&&(me.src=ie.currentSrc,me.srcset=""),me.loading==="lazy"&&(me.loading="eager")),Nr(me)?this.createCustomElementClone(me):me},sr.prototype.createCustomElementClone=function(ie){var me=document.createElement("html2canvascustomelement");return Dn(ie.style,me),me},sr.prototype.createStyleClone=function(ie){try{var me=ie.sheet;if(me&&me.cssRules){var Me=[].slice.call(me.cssRules,0).reduce(function(Jt,jr){return jr&&typeof jr.cssText=="string"?Jt+jr.cssText:Jt},""),$e=ie.cloneNode(!1);return $e.textContent=Me,$e}}catch(Jt){if(this.context.logger.error("Unable to access cssRules property",Jt),Jt.name!=="SecurityError")throw Jt}return ie.cloneNode(!1)},sr.prototype.createCanvasClone=function(ie){var me;if(this.options.inlineImages&&ie.ownerDocument){var Me=ie.ownerDocument.createElement("img");try{return Me.src=ie.toDataURL(),Me}catch(kn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ie)}}var $e=ie.cloneNode(!1);try{$e.width=ie.width,$e.height=ie.height;var Jt=ie.getContext("2d"),jr=$e.getContext("2d");if(jr)if(!this.options.allowTaint&&Jt)jr.putImageData(Jt.getImageData(0,0,ie.width,ie.height),0,0);else{var an=(me=ie.getContext("webgl2"))!==null&&me!==void 0?me:ie.getContext("webgl");if(an){var vn=an.getContextAttributes();(vn==null?void 0:vn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ie)}jr.drawImage(ie,0,0)}return $e}catch(kn){this.context.logger.info("Unable to clone canvas as it is tainted",ie)}return $e},sr.prototype.createVideoClone=function(ie){var me=ie.ownerDocument.createElement("canvas");me.width=ie.offsetWidth,me.height=ie.offsetHeight;var Me=me.getContext("2d");try{return Me&&(Me.drawImage(ie,0,0,me.width,me.height),this.options.allowTaint||Me.getImageData(0,0,me.width,me.height)),me}catch(Jt){this.context.logger.info("Unable to clone video as it is tainted",ie)}var $e=ie.ownerDocument.createElement("canvas");return $e.width=ie.offsetWidth,$e.height=ie.offsetHeight,$e},sr.prototype.appendChildNode=function(ie,me,Me){(!Ul(me)||!at(me)&&!me.hasAttribute(J)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(me)))&&((!this.options.copyStyles||!Ul(me)||!ze(me))&&ie.appendChild(this.cloneNode(me,Me)))},sr.prototype.cloneChildNodes=function(ie,me,Me){for(var $e=this,Jt=ie.shadowRoot?ie.shadowRoot.firstChild:ie.firstChild;Jt;Jt=Jt.nextSibling)if(Ul(Jt)&&Xt(Jt)&&typeof Jt.assignedNodes=="function"){var jr=Jt.assignedNodes();jr.length&&jr.forEach(function(an){return $e.appendChildNode(me,an,Me)})}else this.appendChildNode(me,Jt,Me)},sr.prototype.cloneNode=function(ie,me){if(_u(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var Me=ie.ownerDocument.defaultView;if(Me&&Ul(ie)&&(Iu(ie)||Wl(ie))){var $e=this.createElementClone(ie);$e.style.transitionProperty="none";var Jt=Me.getComputedStyle(ie),jr=Me.getComputedStyle(ie,":before"),an=Me.getComputedStyle(ie,":after");this.referenceElement===ie&&Iu($e)&&(this.clonedReferenceElement=$e),Cr($e)&&Ma($e);var vn=this.counters.parse(new Xo(this.context,Jt)),kn=this.resolvePseudoContent(ie,$e,jr,Pe.BEFORE);Nr(ie)&&(me=!0),_e(ie)||this.cloneChildNodes(ie,$e,me),kn&&$e.insertBefore(kn,$e.firstChild);var bi=this.resolvePseudoContent(ie,$e,an,Pe.AFTER);return bi&&$e.appendChild(bi),this.counters.pop(vn),(Jt&&(this.options.copyStyles||Wl(ie))&&!he(ie)||me)&&Dn(Jt,$e),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([$e,ie.scrollLeft,ie.scrollTop]),(Rt(ie)||Kt(ie))&&(Rt($e)||Kt($e))&&($e.value=ie.value),$e}return ie.cloneNode(!1)},sr.prototype.resolvePseudoContent=function(ie,me,Me,$e){var Jt=this;if(!Me)return;var jr=Me.content,an=me.ownerDocument;if(!an||!jr||jr==="none"||jr==="-moz-alt-content"||Me.display==="none")return;this.counters.parse(new Xo(this.context,Me));var vn=new Is(this.context,Me),kn=an.createElement("html2canvaspseudoelement");Dn(Me,kn),vn.content.forEach(function(fi){if(fi.type===0)kn.appendChild(an.createTextNode(fi.value));else if(fi.type===22){var Ti=an.createElement("img");Ti.src=fi.value,Ti.style.opacity="1",kn.appendChild(Ti)}else if(fi.type===18){if(fi.name==="attr"){var ba=fi.values.filter(un);ba.length&&kn.appendChild(an.createTextNode(ie.getAttribute(ba[0].value)||""))}else if(fi.name==="counter"){var Ea=fi.values.filter(Gn),ka=Ea[0],Do=Ea[1];if(ka&&un(ka)){var mo=Jt.counters.getCounterValue(ka.value),io=Do&&un(Do)?zo.parse(Jt.context,Do.value):3;kn.appendChild(an.createTextNode(X(mo,io,!1)))}}else if(fi.name==="counters"){var ms=fi.values.filter(Gn),ka=ms[0],Ts=ms[1],Do=ms[2];if(ka&&un(ka)){var ss=Jt.counters.getCounterValues(ka.value),$a=Do&&un(Do)?zo.parse(Jt.context,Do.value):3,Ps=Ts&&Ts.type===0?Ts.value:"",js=ss.map(function(vu){return X(vu,$a,!1)}).join(Ps);kn.appendChild(an.createTextNode(js))}}}else if(fi.type===20)switch(fi.value){case"open-quote":kn.appendChild(an.createTextNode(Yo(vn.quotes,Jt.quoteDepth++,!0)));break;case"close-quote":kn.appendChild(an.createTextNode(Yo(vn.quotes,--Jt.quoteDepth,!1)));break;default:kn.appendChild(an.createTextNode(fi.value))}}),kn.className=ia+" "+na;var bi=$e===Pe.BEFORE?" "+ia:" "+na;return Wl(me)?me.className.baseValue+=bi:me.className+=bi,kn},sr.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},sr}(),Pe;(function(sr){sr[sr.BEFORE=0]="BEFORE",sr[sr.AFTER=1]="AFTER"})(Pe||(Pe={}));var ct=function(ie,me){var Me=ie.createElement("iframe");return Me.className="html2canvas-container",Me.style.visibility="hidden",Me.style.position="fixed",Me.style.left="-10000px",Me.style.top="0px",Me.style.border="0",Me.width=me.width.toString(),Me.height=me.height.toString(),Me.scrolling="no",Me.setAttribute(J,"true"),ie.body.appendChild(Me),Me},Ht=function(ie){return new Promise(function(me){if(ie.complete){me();return}if(!ie.src){me();return}ie.onload=me,ie.onerror=me})},ir=function(ie){return Promise.all([].slice.call(ie.images,0).map(Ht))},cr=function(ie){return new Promise(function(me,Me){var $e=ie.contentWindow;if(!$e)return Me("No window assigned for iframe");var Jt=$e.document;$e.onload=ie.onload=function(){$e.onload=ie.onload=null;var jr=setInterval(function(){Jt.body.childNodes.length>0&&Jt.readyState==="complete"&&(clearInterval(jr),me(ie))},50)}})},yn=["all","d","content"],Dn=function(ie,me){for(var Me=ie.length-1;Me>=0;Me--){var $e=ie.item(Me);yn.indexOf($e)===-1&&me.style.setProperty($e,ie.getPropertyValue($e))}return me},qn=function(ie){var me="";return ie&&(me+="<!DOCTYPE ",ie.name&&(me+=ie.name),ie.internalSubset&&(me+=ie.internalSubset),ie.publicId&&(me+='"'+ie.publicId+'"'),ie.systemId&&(me+='"'+ie.systemId+'"'),me+=">"),me},ni=function(ie,me,Me){ie&&ie.defaultView&&(me!==ie.defaultView.pageXOffset||Me!==ie.defaultView.pageYOffset)&&ie.defaultView.scrollTo(me,Me)},Mi=function(ie){var me=ie[0],Me=ie[1],$e=ie[2];me.scrollLeft=Me,me.scrollTop=$e},Zi=":before",da=":after",ia="___html2canvas___pseudoelement_before",na="___html2canvas___pseudoelement_after",xa=`{
content: "" !important;
display: none !important;
}`,Ma=function(ie){Co(ie,"."+ia+Zi+xa+`
.`+na+da+xa)},Co=function(ie,me){var Me=ie.ownerDocument;if(Me){var $e=Me.createElement("style");$e.textContent=me,ie.appendChild($e)}},no=function(){function sr(){}return sr.getOrigin=function(ie){var me=sr._link;return me?(me.href=ie,me.href=me.href,me.protocol+me.hostname+me.port):"about:blank"},sr.isSameOrigin=function(ie){return sr.getOrigin(ie)===sr._origin},sr.setContext=function(ie){sr._link=ie.document.createElement("a"),sr._origin=sr.getOrigin(ie.location.href)},sr._origin="about:blank",sr}(),Wo=function(){function sr(ie,me){this.context=ie,this._options=me,this._cache={}}return sr.prototype.addImage=function(ie){var me=Promise.resolve();return this.has(ie)||(cl(ie)||tl(ie))&&(this._cache[ie]=this.loadImage(ie)).catch(function(){}),me},sr.prototype.match=function(ie){return this._cache[ie]},sr.prototype.loadImage=function(ie){return m(this,void 0,void 0,function(){var me,Me,$e,Jt,jr=this;return g(this,function(an){switch(an.label){case 0:return me=no.isSameOrigin(ie),Me=!ul(ie)&&this._options.useCORS===!0&&Rs.SUPPORT_CORS_IMAGES&&!me,$e=!ul(ie)&&!me&&!cl(ie)&&typeof this._options.proxy=="string"&&Rs.SUPPORT_CORS_XHR&&!Me,!me&&this._options.allowTaint===!1&&!ul(ie)&&!cl(ie)&&!$e&&!Me?[2]:(Jt=ie,$e?[4,this.proxy(Jt)]:[3,2]);case 1:Jt=an.sent(),an.label=2;case 2:return this.context.logger.debug("Added image "+ie.substring(0,256)),[4,new Promise(function(vn,kn){var bi=new Image;bi.onload=function(){return vn(bi)},bi.onerror=kn,(Xs(Jt)||Me)&&(bi.crossOrigin="anonymous"),bi.src=Jt,bi.complete===!0&&setTimeout(function(){return vn(bi)},500),jr._options.imageTimeout>0&&setTimeout(function(){return kn("Timed out ("+jr._options.imageTimeout+"ms) loading image")},jr._options.imageTimeout)})];case 3:return[2,an.sent()]}})})},sr.prototype.has=function(ie){return typeof this._cache[ie]!="undefined"},sr.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},sr.prototype.proxy=function(ie){var me=this,Me=this._options.proxy;if(!Me)throw new Error("No proxy defined");var $e=ie.substring(0,256);return new Promise(function(Jt,jr){var an=Rs.SUPPORT_RESPONSE_TYPE?"blob":"text",vn=new XMLHttpRequest;vn.onload=function(){if(vn.status===200)if(an==="text")Jt(vn.response);else{var fi=new FileReader;fi.addEventListener("load",function(){return Jt(fi.result)},!1),fi.addEventListener("error",function(Ti){return jr(Ti)},!1),fi.readAsDataURL(vn.response)}else jr("Failed to proxy resource "+$e+" with status code "+vn.status)},vn.onerror=jr;var kn=Me.indexOf("?")>-1?"&":"?";if(vn.open("GET",""+Me+kn+"url="+encodeURIComponent(ie)+"&responseType="+an),an!=="text"&&vn instanceof XMLHttpRequest&&(vn.responseType=an),me._options.imageTimeout){var bi=me._options.imageTimeout;vn.timeout=bi,vn.ontimeout=function(){return jr("Timed out ("+bi+"ms) proxying "+$e)}}vn.send()})},sr}(),ps=/^data:image\/svg\+xml/i,Us=/^data:image\/.*;base64,/i,Cs=/^data:image\/.*/i,tl=function(ie){return Rs.SUPPORT_SVG_DRAWING||!rl(ie)},ul=function(ie){return Cs.test(ie)},Xs=function(ie){return Us.test(ie)},cl=function(ie){return ie.substr(0,4)==="blob"},rl=function(ie){return ie.substr(-3).toLowerCase()==="svg"||ps.test(ie)},ya=function(){function sr(ie,me){this.type=0,this.x=ie,this.y=me}return sr.prototype.add=function(ie,me){return new sr(this.x+ie,this.y+me)},sr}(),Ms=function(ie,me,Me){return new ya(ie.x+(me.x-ie.x)*Me,ie.y+(me.y-ie.y)*Me)},Ls=function(){function sr(ie,me,Me,$e){this.type=1,this.start=ie,this.startControl=me,this.endControl=Me,this.end=$e}return sr.prototype.subdivide=function(ie,me){var Me=Ms(this.start,this.startControl,ie),$e=Ms(this.startControl,this.endControl,ie),Jt=Ms(this.endControl,this.end,ie),jr=Ms(Me,$e,ie),an=Ms($e,Jt,ie),vn=Ms(jr,an,ie);return me?new sr(this.start,Me,jr,vn):new sr(vn,an,Jt,this.end)},sr.prototype.add=function(ie,me){return new sr(this.start.add(ie,me),this.startControl.add(ie,me),this.endControl.add(ie,me),this.end.add(ie,me))},sr.prototype.reverse=function(){return new sr(this.end,this.endControl,this.startControl,this.start)},sr}(),Ws=function(ie){return ie.type===1},Lu=function(){function sr(ie){var me=ie.styles,Me=ie.bounds,$e=Ci(me.borderTopLeftRadius,Me.width,Me.height),Jt=$e[0],jr=$e[1],an=Ci(me.borderTopRightRadius,Me.width,Me.height),vn=an[0],kn=an[1],bi=Ci(me.borderBottomRightRadius,Me.width,Me.height),fi=bi[0],Ti=bi[1],ba=Ci(me.borderBottomLeftRadius,Me.width,Me.height),Ea=ba[0],ka=ba[1],Do=[];Do.push((Jt+vn)/Me.width),Do.push((Ea+fi)/Me.width),Do.push((jr+ka)/Me.height),Do.push((kn+Ti)/Me.height);var mo=Math.max.apply(Math,Do);mo>1&&(Jt/=mo,jr/=mo,vn/=mo,kn/=mo,fi/=mo,Ti/=mo,Ea/=mo,ka/=mo);var io=Me.width-vn,ms=Me.height-Ti,Ts=Me.width-fi,ss=Me.height-ka,$a=me.borderTopWidth,Ps=me.borderRightWidth,js=me.borderBottomWidth,ls=me.borderLeftWidth,$l=Ui(me.paddingTop,ie.bounds.width),vu=Ui(me.paddingRight,ie.bounds.width),ql=Ui(me.paddingBottom,ie.bounds.width),Sl=Ui(me.paddingLeft,ie.bounds.width);this.topLeftBorderDoubleOuterBox=Jt>0||jr>0?Uo(Me.left+ls/3,Me.top+$a/3,Jt-ls/3,jr-$a/3,ns.TOP_LEFT):new ya(Me.left+ls/3,Me.top+$a/3),this.topRightBorderDoubleOuterBox=Jt>0||jr>0?Uo(Me.left+io,Me.top+$a/3,vn-Ps/3,kn-$a/3,ns.TOP_RIGHT):new ya(Me.left+Me.width-Ps/3,Me.top+$a/3),this.bottomRightBorderDoubleOuterBox=fi>0||Ti>0?Uo(Me.left+Ts,Me.top+ms,fi-Ps/3,Ti-js/3,ns.BOTTOM_RIGHT):new ya(Me.left+Me.width-Ps/3,Me.top+Me.height-js/3),this.bottomLeftBorderDoubleOuterBox=Ea>0||ka>0?Uo(Me.left+ls/3,Me.top+ss,Ea-ls/3,ka-js/3,ns.BOTTOM_LEFT):new ya(Me.left+ls/3,Me.top+Me.height-js/3),this.topLeftBorderDoubleInnerBox=Jt>0||jr>0?Uo(Me.left+ls*2/3,Me.top+$a*2/3,Jt-ls*2/3,jr-$a*2/3,ns.TOP_LEFT):new ya(Me.left+ls*2/3,Me.top+$a*2/3),this.topRightBorderDoubleInnerBox=Jt>0||jr>0?Uo(Me.left+io,Me.top+$a*2/3,vn-Ps*2/3,kn-$a*2/3,ns.TOP_RIGHT):new ya(Me.left+Me.width-Ps*2/3,Me.top+$a*2/3),this.bottomRightBorderDoubleInnerBox=fi>0||Ti>0?Uo(Me.left+Ts,Me.top+ms,fi-Ps*2/3,Ti-js*2/3,ns.BOTTOM_RIGHT):new ya(Me.left+Me.width-Ps*2/3,Me.top+Me.height-js*2/3),this.bottomLeftBorderDoubleInnerBox=Ea>0||ka>0?Uo(Me.left+ls*2/3,Me.top+ss,Ea-ls*2/3,ka-js*2/3,ns.BOTTOM_LEFT):new ya(Me.left+ls*2/3,Me.top+Me.height-js*2/3),this.topLeftBorderStroke=Jt>0||jr>0?Uo(Me.left+ls/2,Me.top+$a/2,Jt-ls/2,jr-$a/2,ns.TOP_LEFT):new ya(Me.left+ls/2,Me.top+$a/2),this.topRightBorderStroke=Jt>0||jr>0?Uo(Me.left+io,Me.top+$a/2,vn-Ps/2,kn-$a/2,ns.TOP_RIGHT):new ya(Me.left+Me.width-Ps/2,Me.top+$a/2),this.bottomRightBorderStroke=fi>0||Ti>0?Uo(Me.left+Ts,Me.top+ms,fi-Ps/2,Ti-js/2,ns.BOTTOM_RIGHT):new ya(Me.left+Me.width-Ps/2,Me.top+Me.height-js/2),this.bottomLeftBorderStroke=Ea>0||ka>0?Uo(Me.left+ls/2,Me.top+ss,Ea-ls/2,ka-js/2,ns.BOTTOM_LEFT):new ya(Me.left+ls/2,Me.top+Me.height-js/2),this.topLeftBorderBox=Jt>0||jr>0?Uo(Me.left,Me.top,Jt,jr,ns.TOP_LEFT):new ya(Me.left,Me.top),this.topRightBorderBox=vn>0||kn>0?Uo(Me.left+io,Me.top,vn,kn,ns.TOP_RIGHT):new ya(Me.left+Me.width,Me.top),this.bottomRightBorderBox=fi>0||Ti>0?Uo(Me.left+Ts,Me.top+ms,fi,Ti,ns.BOTTOM_RIGHT):new ya(Me.left+Me.width,Me.top+Me.height),this.bottomLeftBorderBox=Ea>0||ka>0?Uo(Me.left,Me.top+ss,Ea,ka,ns.BOTTOM_LEFT):new ya(Me.left,Me.top+Me.height),this.topLeftPaddingBox=Jt>0||jr>0?Uo(Me.left+ls,Me.top+$a,Math.max(0,Jt-ls),Math.max(0,jr-$a),ns.TOP_LEFT):new ya(Me.left+ls,Me.top+$a),this.topRightPaddingBox=vn>0||kn>0?Uo(Me.left+Math.min(io,Me.width-Ps),Me.top+$a,io>Me.width+Ps?0:Math.max(0,vn-Ps),Math.max(0,kn-$a),ns.TOP_RIGHT):new ya(Me.left+Me.width-Ps,Me.top+$a),this.bottomRightPaddingBox=fi>0||Ti>0?Uo(Me.left+Math.min(Ts,Me.width-ls),Me.top+Math.min(ms,Me.height-js),Math.max(0,fi-Ps),Math.max(0,Ti-js),ns.BOTTOM_RIGHT):new ya(Me.left+Me.width-Ps,Me.top+Me.height-js),this.bottomLeftPaddingBox=Ea>0||ka>0?Uo(Me.left+ls,Me.top+Math.min(ss,Me.height-js),Math.max(0,Ea-ls),Math.max(0,ka-js),ns.BOTTOM_LEFT):new ya(Me.left+ls,Me.top+Me.height-js),this.topLeftContentBox=Jt>0||jr>0?Uo(Me.left+ls+Sl,Me.top+$a+$l,Math.max(0,Jt-(ls+Sl)),Math.max(0,jr-($a+$l)),ns.TOP_LEFT):new ya(Me.left+ls+Sl,Me.top+$a+$l),this.topRightContentBox=vn>0||kn>0?Uo(Me.left+Math.min(io,Me.width+ls+Sl),Me.top+$a+$l,io>Me.width+ls+Sl?0:vn-ls+Sl,kn-($a+$l),ns.TOP_RIGHT):new ya(Me.left+Me.width-(Ps+vu),Me.top+$a+$l),this.bottomRightContentBox=fi>0||Ti>0?Uo(Me.left+Math.min(Ts,Me.width-(ls+Sl)),Me.top+Math.min(ms,Me.height+$a+$l),Math.max(0,fi-(Ps+vu)),Ti-(js+ql),ns.BOTTOM_RIGHT):new ya(Me.left+Me.width-(Ps+vu),Me.top+Me.height-(js+ql)),this.bottomLeftContentBox=Ea>0||ka>0?Uo(Me.left+ls+Sl,Me.top+ss,Math.max(0,Ea-(ls+Sl)),ka-(js+ql),ns.BOTTOM_LEFT):new ya(Me.left+ls+Sl,Me.top+Me.height-(js+ql))}return sr}(),ns;(function(sr){sr[sr.TOP_LEFT=0]="TOP_LEFT",sr[sr.TOP_RIGHT=1]="TOP_RIGHT",sr[sr.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",sr[sr.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ns||(ns={}));var Uo=function(ie,me,Me,$e,Jt){var jr=4*((Math.sqrt(2)-1)/3),an=Me*jr,vn=$e*jr,kn=ie+Me,bi=me+$e;switch(Jt){case ns.TOP_LEFT:return new Ls(new ya(ie,bi),new ya(ie,bi-vn),new ya(kn-an,me),new ya(kn,me));case ns.TOP_RIGHT:return new Ls(new ya(ie,me),new ya(ie+an,me),new ya(kn,bi-vn),new ya(kn,bi));case ns.BOTTOM_RIGHT:return new Ls(new ya(kn,me),new ya(kn,me+vn),new ya(ie+an,bi),new ya(ie,bi));case ns.BOTTOM_LEFT:default:return new Ls(new ya(kn,bi),new ya(kn-an,bi),new ya(ie,me+vn),new ya(ie,me))}},Rl=function(ie){return[ie.topLeftBorderBox,ie.topRightBorderBox,ie.bottomRightBorderBox,ie.bottomLeftBorderBox]},al=function(ie){return[ie.topLeftContentBox,ie.topRightContentBox,ie.bottomRightContentBox,ie.bottomLeftContentBox]},Nu=function(ie){return[ie.topLeftPaddingBox,ie.topRightPaddingBox,ie.bottomRightPaddingBox,ie.bottomLeftPaddingBox]},Ql=function(){function sr(ie,me,Me){this.offsetX=ie,this.offsetY=me,this.matrix=Me,this.type=0,this.target=2|4}return sr}(),Ml=function(){function sr(ie,me){this.path=ie,this.target=me,this.type=1}return sr}(),Au=function(){function sr(ie){this.opacity=ie,this.type=2,this.target=2|4}return sr}(),gl=function(ie){return ie.type===0},Jl=function(ie){return ie.type===1},ju=function(ie){return ie.type===2},Qu=function(ie,me){return ie.length===me.length?ie.some(function(Me,$e){return Me===me[$e]}):!1},Ac=function(ie,me,Me,$e,Jt){return ie.map(function(jr,an){switch(an){case 0:return jr.add(me,Me);case 1:return jr.add(me+$e,Me);case 2:return jr.add(me+$e,Me+Jt);case 3:return jr.add(me,Me+Jt)}return jr})},vc=function(){function sr(ie){this.element=ie,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return sr}(),tc=function(){function sr(ie,me){if(this.container=ie,this.parent=me,this.effects=[],this.curves=new Lu(this.container),this.container.styles.opacity<1&&this.effects.push(new Au(this.container.styles.opacity)),this.container.styles.transform!==null){var Me=this.container.bounds.left+this.container.styles.transformOrigin[0].number,$e=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Jt=this.container.styles.transform;this.effects.push(new Ql(Me,$e,Jt))}if(this.container.styles.overflowX!==0){var jr=Rl(this.curves),an=Nu(this.curves);Qu(jr,an)?this.effects.push(new Ml(jr,2|4)):(this.effects.push(new Ml(jr,2)),this.effects.push(new Ml(an,4)))}}return sr.prototype.getEffects=function(ie){for(var me=[2,3].indexOf(this.container.styles.position)===-1,Me=this.parent,$e=this.effects.slice(0);Me;){var Jt=Me.effects.filter(function(vn){return!Jl(vn)});if(me||Me.container.styles.position!==0||!Me.parent){if($e.unshift.apply($e,Jt),me=[2,3].indexOf(Me.container.styles.position)===-1,Me.container.styles.overflowX!==0){var jr=Rl(Me.curves),an=Nu(Me.curves);Qu(jr,an)||$e.unshift(new Ml(an,2|4))}}else $e.unshift.apply($e,Jt);Me=Me.parent}return $e.filter(function(vn){return Fi(vn.target,ie)})},sr}(),yc=function sr(ie,me,Me,$e){ie.container.elements.forEach(function(Jt){var jr=Fi(Jt.flags,4),an=Fi(Jt.flags,2),vn=new tc(Jt,ie);Fi(Jt.styles.display,2048)&&$e.push(vn);var kn=Fi(Jt.flags,8)?[]:$e;if(jr||an){var bi=jr||Jt.styles.isPositioned()?Me:me,fi=new vc(vn);if(Jt.styles.isPositioned()||Jt.styles.opacity<1||Jt.styles.isTransformed()){var Ti=Jt.styles.zIndex.order;if(Ti<0){var ba=0;bi.negativeZIndex.some(function(ka,Do){return Ti>ka.element.container.styles.zIndex.order?(ba=Do,!1):ba>0}),bi.negativeZIndex.splice(ba,0,fi)}else if(Ti>0){var Ea=0;bi.positiveZIndex.some(function(ka,Do){return Ti>=ka.element.container.styles.zIndex.order?(Ea=Do+1,!1):Ea>0}),bi.positiveZIndex.splice(Ea,0,fi)}else bi.zeroOrAutoZIndexOrTransformedOrOpacity.push(fi)}else Jt.styles.isFloating()?bi.nonPositionedFloats.push(fi):bi.nonPositionedInlineLevel.push(fi);sr(vn,fi,jr?fi:Me,kn)}else Jt.styles.isInlineLevel()?me.inlineLevel.push(vn):me.nonInlineLevel.push(vn),sr(vn,me,Me,kn);Fi(Jt.flags,8)&&sc(Jt,kn)})},sc=function(ie,me){for(var Me=ie instanceof Ol?ie.start:1,$e=ie instanceof Ol?ie.reversed:!1,Jt=0;Jt<me.length;Jt++){var jr=me[Jt];jr.container instanceof Bs&&typeof jr.container.value=="number"&&jr.container.value!==0&&(Me=jr.container.value),jr.listValue=X(Me,jr.container.styles.listStyleType,!0),Me+=$e?-1:1}},Du=function(ie){var me=new tc(ie,null),Me=new vc(me),$e=[];return yc(me,Me,Me,$e),sc(me.container,$e),Me},hc=function(ie,me){switch(me){case 0:return Zl(ie.topLeftBorderBox,ie.topLeftPaddingBox,ie.topRightBorderBox,ie.topRightPaddingBox);case 1:return Zl(ie.topRightBorderBox,ie.topRightPaddingBox,ie.bottomRightBorderBox,ie.bottomRightPaddingBox);case 2:return Zl(ie.bottomRightBorderBox,ie.bottomRightPaddingBox,ie.bottomLeftBorderBox,ie.bottomLeftPaddingBox);case 3:default:return Zl(ie.bottomLeftBorderBox,ie.bottomLeftPaddingBox,ie.topLeftBorderBox,ie.topLeftPaddingBox)}},bc=function(ie,me){switch(me){case 0:return Zl(ie.topLeftBorderBox,ie.topLeftBorderDoubleOuterBox,ie.topRightBorderBox,ie.topRightBorderDoubleOuterBox);case 1:return Zl(ie.topRightBorderBox,ie.topRightBorderDoubleOuterBox,ie.bottomRightBorderBox,ie.bottomRightBorderDoubleOuterBox);case 2:return Zl(ie.bottomRightBorderBox,ie.bottomRightBorderDoubleOuterBox,ie.bottomLeftBorderBox,ie.bottomLeftBorderDoubleOuterBox);case 3:default:return Zl(ie.bottomLeftBorderBox,ie.bottomLeftBorderDoubleOuterBox,ie.topLeftBorderBox,ie.topLeftBorderDoubleOuterBox)}},Cc=function(ie,me){switch(me){case 0:return Zl(ie.topLeftBorderDoubleInnerBox,ie.topLeftPaddingBox,ie.topRightBorderDoubleInnerBox,ie.topRightPaddingBox);case 1:return Zl(ie.topRightBorderDoubleInnerBox,ie.topRightPaddingBox,ie.bottomRightBorderDoubleInnerBox,ie.bottomRightPaddingBox);case 2:return Zl(ie.bottomRightBorderDoubleInnerBox,ie.bottomRightPaddingBox,ie.bottomLeftBorderDoubleInnerBox,ie.bottomLeftPaddingBox);case 3:default:return Zl(ie.bottomLeftBorderDoubleInnerBox,ie.bottomLeftPaddingBox,ie.topLeftBorderDoubleInnerBox,ie.topLeftPaddingBox)}},wc=function(ie,me){switch(me){case 0:return xu(ie.topLeftBorderStroke,ie.topRightBorderStroke);case 1:return xu(ie.topRightBorderStroke,ie.bottomRightBorderStroke);case 2:return xu(ie.bottomRightBorderStroke,ie.bottomLeftBorderStroke);case 3:default:return xu(ie.bottomLeftBorderStroke,ie.topLeftBorderStroke)}},xu=function(ie,me){var Me=[];return Ws(ie)?Me.push(ie.subdivide(.5,!1)):Me.push(ie),Ws(me)?Me.push(me.subdivide(.5,!0)):Me.push(me),Me},Zl=function(ie,me,Me,$e){var Jt=[];return Ws(ie)?Jt.push(ie.subdivide(.5,!1)):Jt.push(ie),Ws(Me)?Jt.push(Me.subdivide(.5,!0)):Jt.push(Me),Ws($e)?Jt.push($e.subdivide(.5,!0).reverse()):Jt.push($e),Ws(me)?Jt.push(me.subdivide(.5,!1).reverse()):Jt.push(me),Jt},fc=function(ie){var me=ie.bounds,Me=ie.styles;return me.add(Me.borderLeftWidth,Me.borderTopWidth,-(Me.borderRightWidth+Me.borderLeftWidth),-(Me.borderTopWidth+Me.borderBottomWidth))},lc=function(ie){var me=ie.styles,Me=ie.bounds,$e=Ui(me.paddingLeft,Me.width),Jt=Ui(me.paddingRight,Me.width),jr=Ui(me.paddingTop,Me.width),an=Ui(me.paddingBottom,Me.width);return Me.add($e+me.borderLeftWidth,jr+me.borderTopWidth,-(me.borderRightWidth+me.borderLeftWidth+$e+Jt),-(me.borderTopWidth+me.borderBottomWidth+jr+an))},Sc=function(ie,me){return ie===0?me.bounds:ie===2?lc(me):fc(me)},Tc=function(ie,me){return ie===0?me.bounds:ie===2?lc(me):fc(me)},Hu=function(ie,me,Me){var $e=Sc(zl(ie.styles.backgroundOrigin,me),ie),Jt=Tc(zl(ie.styles.backgroundClip,me),ie),jr=Eu(zl(ie.styles.backgroundSize,me),Me,$e),an=jr[0],vn=jr[1],kn=Ci(zl(ie.styles.backgroundPosition,me),$e.width-an,$e.height-vn),bi=Mu(zl(ie.styles.backgroundRepeat,me),kn,jr,$e,Jt),fi=Math.round($e.left+kn[0]),Ti=Math.round($e.top+kn[1]);return[bi,fi,Ti,an,vn]},Ru=function(ie){return un(ie)&&ie.value===ai.AUTO},Ku=function(ie){return typeof ie=="number"},Eu=function(ie,me,Me){var $e=me[0],Jt=me[1],jr=me[2],an=ie[0],vn=ie[1];if(!an)return[0,0];if(wi(an)&&vn&&wi(vn))return[Ui(an,Me.width),Ui(vn,Me.height)];var kn=Ku(jr);if(un(an)&&(an.value===ai.CONTAIN||an.value===ai.COVER)){if(Ku(jr)){var bi=Me.width/Me.height;return bi<jr!==(an.value===ai.COVER)?[Me.width,Me.width/jr]:[Me.height*jr,Me.height]}return[Me.width,Me.height]}var fi=Ku($e),Ti=Ku(Jt),ba=fi||Ti;if(Ru(an)&&(!vn||Ru(vn))){if(fi&&Ti)return[$e,Jt];if(!kn&&!ba)return[Me.width,Me.height];if(ba&&kn){var Ea=fi?$e:Jt*jr,ka=Ti?Jt:$e/jr;return[Ea,ka]}var Do=fi?$e:Me.width,mo=Ti?Jt:Me.height;return[Do,mo]}if(kn){var io=0,ms=0;return wi(an)?io=Ui(an,Me.width):wi(vn)&&(ms=Ui(vn,Me.height)),Ru(an)?io=ms*jr:(!vn||Ru(vn))&&(ms=io/jr),[io,ms]}var Ts=null,ss=null;if(wi(an)?Ts=Ui(an,Me.width):vn&&wi(vn)&&(ss=Ui(vn,Me.height)),Ts!==null&&(!vn||Ru(vn))&&(ss=fi&&Ti?Ts/$e*Jt:Me.height),ss!==null&&Ru(an)&&(Ts=fi&&Ti?ss/Jt*$e:Me.width),Ts!==null&&ss!==null)return[Ts,ss];throw new Error("Unable to calculate background-size for element")},zl=function(ie,me){var Me=ie[me];return typeof Me=="undefined"?ie[0]:Me},Mu=function(ie,me,Me,$e,Jt){var jr=me[0],an=me[1],vn=Me[0],kn=Me[1];switch(ie){case 2:return[new ya(Math.round($e.left),Math.round($e.top+an)),new ya(Math.round($e.left+$e.width),Math.round($e.top+an)),new ya(Math.round($e.left+$e.width),Math.round(kn+$e.top+an)),new ya(Math.round($e.left),Math.round(kn+$e.top+an))];case 3:return[new ya(Math.round($e.left+jr),Math.round($e.top)),new ya(Math.round($e.left+jr+vn),Math.round($e.top)),new ya(Math.round($e.left+jr+vn),Math.round($e.height+$e.top)),new ya(Math.round($e.left+jr),Math.round($e.height+$e.top))];case 1:return[new ya(Math.round($e.left+jr),Math.round($e.top+an)),new ya(Math.round($e.left+jr+vn),Math.round($e.top+an)),new ya(Math.round($e.left+jr+vn),Math.round($e.top+an+kn)),new ya(Math.round($e.left+jr),Math.round($e.top+an+kn))];default:return[new ya(Math.round(Jt.left),Math.round(Jt.top)),new ya(Math.round(Jt.left+Jt.width),Math.round(Jt.top)),new ya(Math.round(Jt.left+Jt.width),Math.round(Jt.height+Jt.top)),new ya(Math.round(Jt.left),Math.round(Jt.height+Jt.top))]}},uc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",cc="Hidden Text",xc=function(){function sr(ie){this._data={},this._document=ie}return sr.prototype.parseMetrics=function(ie,me){var Me=this._document.createElement("div"),$e=this._document.createElement("img"),Jt=this._document.createElement("span"),jr=this._document.body;Me.style.visibility="hidden",Me.style.fontFamily=ie,Me.style.fontSize=me,Me.style.margin="0",Me.style.padding="0",Me.style.whiteSpace="nowrap",jr.appendChild(Me),$e.src=uc,$e.width=1,$e.height=1,$e.style.margin="0",$e.style.padding="0",$e.style.verticalAlign="baseline",Jt.style.fontFamily=ie,Jt.style.fontSize=me,Jt.style.margin="0",Jt.style.padding="0",Jt.appendChild(this._document.createTextNode(cc)),Me.appendChild(Jt),Me.appendChild($e);var an=$e.offsetTop-Jt.offsetTop+2;Me.removeChild(Jt),Me.appendChild(this._document.createTextNode(cc)),Me.style.lineHeight="normal",$e.style.verticalAlign="super";var vn=$e.offsetTop-Me.offsetTop+2;return jr.removeChild(Me),{baseline:an,middle:vn}},sr.prototype.getMetrics=function(ie,me){var Me=ie+" "+me;return typeof this._data[Me]=="undefined"&&(this._data[Me]=this.parseMetrics(ie,me)),this._data[Me]},sr}(),Ec=function(){function sr(ie,me){this.context=ie,this.options=me}return sr}(),pc=1e4,mc=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;return $e._activeEffects=[],$e.canvas=Me.canvas?Me.canvas:document.createElement("canvas"),$e.ctx=$e.canvas.getContext("2d"),Me.canvas||($e.canvas.width=Math.floor(Me.width*Me.scale),$e.canvas.height=Math.floor(Me.height*Me.scale),$e.canvas.style.width=Me.width+"px",$e.canvas.style.height=Me.height+"px"),$e.fontMetrics=new xc(document),$e.ctx.scale($e.options.scale,$e.options.scale),$e.ctx.translate(-Me.x,-Me.y),$e.ctx.textBaseline="bottom",$e._activeEffects=[],$e.context.logger.debug("Canvas renderer initialized ("+Me.width+"x"+Me.height+") with scale "+Me.scale),$e}return ie.prototype.applyEffects=function(me){for(var Me=this;this._activeEffects.length;)this.popEffect();me.forEach(function($e){return Me.applyEffect($e)})},ie.prototype.applyEffect=function(me){this.ctx.save(),ju(me)&&(this.ctx.globalAlpha=me.opacity),gl(me)&&(this.ctx.translate(me.offsetX,me.offsetY),this.ctx.transform(me.matrix[0],me.matrix[1],me.matrix[2],me.matrix[3],me.matrix[4],me.matrix[5]),this.ctx.translate(-me.offsetX,-me.offsetY)),Jl(me)&&(this.path(me.path),this.ctx.clip()),this._activeEffects.push(me)},ie.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},ie.prototype.renderStack=function(me){return m(this,void 0,void 0,function(){var Me;return g(this,function($e){switch($e.label){case 0:return Me=me.element.container.styles,Me.isVisible()?[4,this.renderStackContent(me)]:[3,2];case 1:$e.sent(),$e.label=2;case 2:return[2]}})})},ie.prototype.renderNode=function(me){return m(this,void 0,void 0,function(){return g(this,function(Me){switch(Me.label){case 0:if(Fi(me.container.flags,16))debugger;return me.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(me)]:[3,3];case 1:return Me.sent(),[4,this.renderNodeContent(me)];case 2:Me.sent(),Me.label=3;case 3:return[2]}})})},ie.prototype.renderTextWithLetterSpacing=function(me,Me,$e){var Jt=this;if(Me===0)this.ctx.fillText(me.text,me.bounds.left,me.bounds.top+$e);else{var jr=Gl(me.text);jr.reduce(function(an,vn){return Jt.ctx.fillText(vn,an,me.bounds.top+$e),an+Jt.ctx.measureText(vn).width},me.bounds.left)}},ie.prototype.createFontStyle=function(me){var Me=me.fontVariant.filter(function(jr){return jr==="normal"||jr==="small-caps"}).join(""),$e=Nc(me.fontFamily).join(", "),Jt=kr(me.fontSize)?""+me.fontSize.number+me.fontSize.unit:me.fontSize.number+"px";return[[me.fontStyle,Me,me.fontWeight,Jt,$e].join(" "),$e,Jt]},ie.prototype.renderTextNode=function(me,Me){return m(this,void 0,void 0,function(){var $e,Jt,jr,an,vn,kn,bi,fi,Ti=this;return g(this,function(ba){return $e=this.createFontStyle(Me),Jt=$e[0],jr=$e[1],an=$e[2],this.ctx.font=Jt,this.ctx.direction=Me.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",vn=this.fontMetrics.getMetrics(jr,an),kn=vn.baseline,bi=vn.middle,fi=Me.paintOrder,me.textBounds.forEach(function(Ea){fi.forEach(function(ka){switch(ka){case 0:Ti.ctx.fillStyle=pa(Me.color),Ti.renderTextWithLetterSpacing(Ea,Me.letterSpacing,kn);var Do=Me.textShadow;Do.length&&Ea.text.trim().length&&(Do.slice(0).reverse().forEach(function(mo){Ti.ctx.shadowColor=pa(mo.color),Ti.ctx.shadowOffsetX=mo.offsetX.number*Ti.options.scale,Ti.ctx.shadowOffsetY=mo.offsetY.number*Ti.options.scale,Ti.ctx.shadowBlur=mo.blur.number,Ti.renderTextWithLetterSpacing(Ea,Me.letterSpacing,kn)}),Ti.ctx.shadowColor="",Ti.ctx.shadowOffsetX=0,Ti.ctx.shadowOffsetY=0,Ti.ctx.shadowBlur=0),Me.textDecorationLine.length&&(Ti.ctx.fillStyle=pa(Me.textDecorationColor||Me.color),Me.textDecorationLine.forEach(function(mo){switch(mo){case 1:Ti.ctx.fillRect(Ea.bounds.left,Math.round(Ea.bounds.top+kn),Ea.bounds.width,1);break;case 2:Ti.ctx.fillRect(Ea.bounds.left,Math.round(Ea.bounds.top),Ea.bounds.width,1);break;case 3:Ti.ctx.fillRect(Ea.bounds.left,Math.ceil(Ea.bounds.top+bi),Ea.bounds.width,1);break}}));break;case 1:Me.webkitTextStrokeWidth&&Ea.text.trim().length&&(Ti.ctx.strokeStyle=pa(Me.webkitTextStrokeColor),Ti.ctx.lineWidth=Me.webkitTextStrokeWidth,Ti.ctx.lineJoin=window.chrome?"miter":"round",Ti.ctx.strokeText(Ea.text,Ea.bounds.left,Ea.bounds.top+kn)),Ti.ctx.strokeStyle="",Ti.ctx.lineWidth=0,Ti.ctx.lineJoin="miter";break}})}),[2]})})},ie.prototype.renderReplacedElement=function(me,Me,$e){if($e&&me.intrinsicWidth>0&&me.intrinsicHeight>0){var Jt=lc(me),jr=Nu(Me);this.path(jr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage($e,0,0,me.intrinsicWidth,me.intrinsicHeight,Jt.left,Jt.top,Jt.width,Jt.height),this.ctx.restore()}},ie.prototype.renderNodeContent=function(me){return m(this,void 0,void 0,function(){var Me,$e,Jt,jr,an,vn,kn,kn,bi,fi,Ti,ba,Ea,ka,Do,mo,io,ms,Ts,kn,ss,Ea,mo;return g(this,function($a){switch($a.label){case 0:this.applyEffects(me.getEffects(4)),Me=me.container,$e=me.curves,Jt=Me.styles,jr=0,an=Me.textNodes,$a.label=1;case 1:return jr<an.length?(vn=an[jr],[4,this.renderTextNode(vn,Jt)]):[3,4];case 2:$a.sent(),$a.label=3;case 3:return jr++,[3,1];case 4:if(!(Me instanceof Na))return[3,8];$a.label=5;case 5:return $a.trys.push([5,7,,8]),[4,this.context.cache.match(Me.src)];case 6:return kn=$a.sent(),this.renderReplacedElement(Me,$e,kn),[3,8];case 7:return $a.sent(),this.context.logger.error("Error loading image "+Me.src),[3,8];case 8:if(Me instanceof ro&&this.renderReplacedElement(Me,$e,Me.canvas),!(Me instanceof Io))return[3,12];$a.label=9;case 9:return $a.trys.push([9,11,,12]),[4,this.context.cache.match(Me.svg)];case 10:return kn=$a.sent(),this.renderReplacedElement(Me,$e,kn),[3,12];case 11:return $a.sent(),this.context.logger.error("Error loading svg "+Me.svg.substring(0,255)),[3,12];case 12:return Me instanceof Fu&&Me.tree?(bi=new ie(this.context,{scale:this.options.scale,backgroundColor:Me.backgroundColor,x:0,y:0,width:Me.width,height:Me.height}),[4,bi.render(Me.tree)]):[3,14];case 13:fi=$a.sent(),Me.width&&Me.height&&this.ctx.drawImage(fi,0,0,Me.width,Me.height,Me.bounds.left,Me.bounds.top,Me.bounds.width,Me.bounds.height),$a.label=14;case 14:if(Me instanceof uu&&(Ti=Math.min(Me.bounds.width,Me.bounds.height),Me.type===Ll?Me.checked&&(this.ctx.save(),this.path([new ya(Me.bounds.left+Ti*.39363,Me.bounds.top+Ti*.79),new ya(Me.bounds.left+Ti*.16,Me.bounds.top+Ti*.5549),new ya(Me.bounds.left+Ti*.27347,Me.bounds.top+Ti*.44071),new ya(Me.bounds.left+Ti*.39694,Me.bounds.top+Ti*.5649),new ya(Me.bounds.left+Ti*.72983,Me.bounds.top+Ti*.23),new ya(Me.bounds.left+Ti*.84,Me.bounds.top+Ti*.34085),new ya(Me.bounds.left+Ti*.39363,Me.bounds.top+Ti*.79)]),this.ctx.fillStyle=pa(gu),this.ctx.fill(),this.ctx.restore()):Me.type===Ks&&(Me.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Me.bounds.left+Ti/2,Me.bounds.top+Ti/2,Ti/4,0,Math.PI*2,!0),this.ctx.fillStyle=pa(gu),this.ctx.fill(),this.ctx.restore()))),Oc(Me)&&Me.value.length){ba=this.createFontStyle(Jt),Ea=ba[0],ka=ba[1],Do=this.fontMetrics.getMetrics(Ea,ka).baseline,this.ctx.font=Ea,this.ctx.fillStyle=pa(Jt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Ic(Me.styles.textAlign),mo=lc(Me),io=0;switch(Me.styles.textAlign){case 1:io+=mo.width/2;break;case 2:io+=mo.width;break}ms=mo.add(io,0,0,-mo.height/2+1),this.ctx.save(),this.path([new ya(mo.left,mo.top),new ya(mo.left+mo.width,mo.top),new ya(mo.left+mo.width,mo.top+mo.height),new ya(mo.left,mo.top+mo.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new el(Me.value,ms),Jt.letterSpacing,Do),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Fi(Me.styles.display,2048))return[3,20];if(!(Me.styles.listStyleImage!==null))return[3,19];if(Ts=Me.styles.listStyleImage,!(Ts.type===0))return[3,18];kn=void 0,ss=Ts.url,$a.label=15;case 15:return $a.trys.push([15,17,,18]),[4,this.context.cache.match(ss)];case 16:return kn=$a.sent(),this.ctx.drawImage(kn,Me.bounds.left-(kn.width+10),Me.bounds.top),[3,18];case 17:return $a.sent(),this.context.logger.error("Error loading list-style-image "+ss),[3,18];case 18:return[3,20];case 19:me.listValue&&Me.styles.listStyleType!==-1&&(Ea=this.createFontStyle(Jt)[0],this.ctx.font=Ea,this.ctx.fillStyle=pa(Jt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",mo=new d(Me.bounds.left,Me.bounds.top+Ui(Me.styles.paddingTop,Me.bounds.width),Me.bounds.width,bo(Jt.lineHeight,Jt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new el(me.listValue,mo),Jt.letterSpacing,bo(Jt.lineHeight,Jt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),$a.label=20;case 20:return[2]}})})},ie.prototype.renderStackContent=function(me){return m(this,void 0,void 0,function(){var Me,$e,Jt,jr,an,Jt,vn,kn,Jt,bi,fi,Jt,Ti,ba,Jt,Ea,ka,Jt,Do,mo,Jt;return g(this,function(io){switch(io.label){case 0:if(Fi(me.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(me.element)];case 1:io.sent(),Me=0,$e=me.negativeZIndex,io.label=2;case 2:return Me<$e.length?(Jt=$e[Me],[4,this.renderStack(Jt)]):[3,5];case 3:io.sent(),io.label=4;case 4:return Me++,[3,2];case 5:return[4,this.renderNodeContent(me.element)];case 6:io.sent(),jr=0,an=me.nonInlineLevel,io.label=7;case 7:return jr<an.length?(Jt=an[jr],[4,this.renderNode(Jt)]):[3,10];case 8:io.sent(),io.label=9;case 9:return jr++,[3,7];case 10:vn=0,kn=me.nonPositionedFloats,io.label=11;case 11:return vn<kn.length?(Jt=kn[vn],[4,this.renderStack(Jt)]):[3,14];case 12:io.sent(),io.label=13;case 13:return vn++,[3,11];case 14:bi=0,fi=me.nonPositionedInlineLevel,io.label=15;case 15:return bi<fi.length?(Jt=fi[bi],[4,this.renderStack(Jt)]):[3,18];case 16:io.sent(),io.label=17;case 17:return bi++,[3,15];case 18:Ti=0,ba=me.inlineLevel,io.label=19;case 19:return Ti<ba.length?(Jt=ba[Ti],[4,this.renderNode(Jt)]):[3,22];case 20:io.sent(),io.label=21;case 21:return Ti++,[3,19];case 22:Ea=0,ka=me.zeroOrAutoZIndexOrTransformedOrOpacity,io.label=23;case 23:return Ea<ka.length?(Jt=ka[Ea],[4,this.renderStack(Jt)]):[3,26];case 24:io.sent(),io.label=25;case 25:return Ea++,[3,23];case 26:Do=0,mo=me.positiveZIndex,io.label=27;case 27:return Do<mo.length?(Jt=mo[Do],[4,this.renderStack(Jt)]):[3,30];case 28:io.sent(),io.label=29;case 29:return Do++,[3,27];case 30:return[2]}})})},ie.prototype.mask=function(me){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(me.slice(0).reverse()),this.ctx.closePath()},ie.prototype.path=function(me){this.ctx.beginPath(),this.formatPath(me),this.ctx.closePath()},ie.prototype.formatPath=function(me){var Me=this;me.forEach(function($e,Jt){var jr=Ws($e)?$e.start:$e;Jt===0?Me.ctx.moveTo(jr.x,jr.y):Me.ctx.lineTo(jr.x,jr.y),Ws($e)&&Me.ctx.bezierCurveTo($e.startControl.x,$e.startControl.y,$e.endControl.x,$e.endControl.y,$e.end.x,$e.end.y)})},ie.prototype.renderRepeat=function(me,Me,$e,Jt){this.path(me),this.ctx.fillStyle=Me,this.ctx.translate($e,Jt),this.ctx.fill(),this.ctx.translate(-$e,-Jt)},ie.prototype.resizeImage=function(me,Me,$e){var Jt;if(me.width===Me&&me.height===$e)return me;var jr=(Jt=this.canvas.ownerDocument)!==null&&Jt!==void 0?Jt:document,an=jr.createElement("canvas");an.width=Math.max(1,Me),an.height=Math.max(1,$e);var vn=an.getContext("2d");return vn.drawImage(me,0,0,me.width,me.height,0,0,Me,$e),an},ie.prototype.renderBackgroundImage=function(me){return m(this,void 0,void 0,function(){var Me,$e,Jt,jr,an,vn;return g(this,function(kn){switch(kn.label){case 0:Me=me.styles.backgroundImage.length-1,$e=function(fi){var Ti,ba,Ea,ka,Do,mo,io,ms,Ts,ss,ka,Do,mo,io,ms,$a,Ps,js,ls,$l,vu,ql,Sl,rc,Ts,Pu,ka,Ju,Zu,io,ms,$u,Do,mo,nc,ku,qu,ic,ac,Wu,oc,zu;return g(this,function(dc){switch(dc.label){case 0:if(!(fi.type===0))return[3,5];Ti=void 0,ba=fi.url,dc.label=1;case 1:return dc.trys.push([1,3,,4]),[4,Jt.context.cache.match(ba)];case 2:return Ti=dc.sent(),[3,4];case 3:return dc.sent(),Jt.context.logger.error("Error loading background-image "+ba),[3,4];case 4:return Ti&&(Ea=Hu(me,Me,[Ti.width,Ti.height,Ti.width/Ti.height]),ka=Ea[0],Do=Ea[1],mo=Ea[2],io=Ea[3],ms=Ea[4],Ts=Jt.ctx.createPattern(Jt.resizeImage(Ti,io,ms),"repeat"),Jt.renderRepeat(ka,Ts,Do,mo)),[3,6];case 5:_r(fi)?(ss=Hu(me,Me,[null,null,null]),ka=ss[0],Do=ss[1],mo=ss[2],io=ss[3],ms=ss[4],$a=Oo(fi.angle,io,ms),Ps=$a[0],js=$a[1],ls=$a[2],$l=$a[3],vu=$a[4],ql=document.createElement("canvas"),ql.width=io,ql.height=ms,Sl=ql.getContext("2d"),rc=Sl.createLinearGradient(js,$l,ls,vu),uo(fi.stops,Ps).forEach(function(gc){return rc.addColorStop(gc.stop,pa(gc.color))}),Sl.fillStyle=rc,Sl.fillRect(0,0,io,ms),io>0&&ms>0&&(Ts=Jt.ctx.createPattern(ql,"repeat"),Jt.renderRepeat(ka,Ts,Do,mo))):Mn(fi)&&(Pu=Hu(me,Me,[null,null,null]),ka=Pu[0],Ju=Pu[1],Zu=Pu[2],io=Pu[3],ms=Pu[4],$u=fi.position.length===0?[vi]:fi.position,Do=Ui($u[0],io),mo=Ui($u[$u.length-1],ms),nc=oo(fi,Do,mo,io,ms),ku=nc[0],qu=nc[1],ku>0&&qu>0&&(ic=Jt.ctx.createRadialGradient(Ju+Do,Zu+mo,0,Ju+Do,Zu+mo,ku),uo(fi.stops,ku*2).forEach(function(gc){return ic.addColorStop(gc.stop,pa(gc.color))}),Jt.path(ka),Jt.ctx.fillStyle=ic,ku!==qu?(ac=me.bounds.left+.5*me.bounds.width,Wu=me.bounds.top+.5*me.bounds.height,oc=qu/ku,zu=1/oc,Jt.ctx.save(),Jt.ctx.translate(ac,Wu),Jt.ctx.transform(1,0,0,oc,0,0),Jt.ctx.translate(-ac,-Wu),Jt.ctx.fillRect(Ju,zu*(Zu-Wu)+Wu,io,ms*zu),Jt.ctx.restore()):Jt.ctx.fill())),dc.label=6;case 6:return Me--,[2]}})},Jt=this,jr=0,an=me.styles.backgroundImage.slice(0).reverse(),kn.label=1;case 1:return jr<an.length?(vn=an[jr],[5,$e(vn)]):[3,4];case 2:kn.sent(),kn.label=3;case 3:return jr++,[3,1];case 4:return[2]}})})},ie.prototype.renderSolidBorder=function(me,Me,$e){return m(this,void 0,void 0,function(){return g(this,function(Jt){return this.path(hc($e,Me)),this.ctx.fillStyle=pa(me),this.ctx.fill(),[2]})})},ie.prototype.renderDoubleBorder=function(me,Me,$e,Jt){return m(this,void 0,void 0,function(){var jr,an;return g(this,function(vn){switch(vn.label){case 0:return Me<3?[4,this.renderSolidBorder(me,$e,Jt)]:[3,2];case 1:return vn.sent(),[2];case 2:return jr=bc(Jt,$e),this.path(jr),this.ctx.fillStyle=pa(me),this.ctx.fill(),an=Cc(Jt,$e),this.path(an),this.ctx.fill(),[2]}})})},ie.prototype.renderNodeBackgroundAndBorders=function(me){return m(this,void 0,void 0,function(){var Me,$e,Jt,jr,an,vn,kn,bi,fi=this;return g(this,function(Ti){switch(Ti.label){case 0:return this.applyEffects(me.getEffects(2)),Me=me.container.styles,$e=!ra(Me.backgroundColor)||Me.backgroundImage.length,Jt=[{style:Me.borderTopStyle,color:Me.borderTopColor,width:Me.borderTopWidth},{style:Me.borderRightStyle,color:Me.borderRightColor,width:Me.borderRightWidth},{style:Me.borderBottomStyle,color:Me.borderBottomColor,width:Me.borderBottomWidth},{style:Me.borderLeftStyle,color:Me.borderLeftColor,width:Me.borderLeftWidth}],jr=_c(zl(Me.backgroundClip,0),me.curves),$e||Me.boxShadow.length?(this.ctx.save(),this.path(jr),this.ctx.clip(),ra(Me.backgroundColor)||(this.ctx.fillStyle=pa(Me.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(me.container)]):[3,2];case 1:Ti.sent(),this.ctx.restore(),Me.boxShadow.slice(0).reverse().forEach(function(ba){fi.ctx.save();var Ea=Rl(me.curves),ka=ba.inset?0:pc,Do=Ac(Ea,-ka+(ba.inset?1:-1)*ba.spread.number,(ba.inset?1:-1)*ba.spread.number,ba.spread.number*(ba.inset?-2:2),ba.spread.number*(ba.inset?-2:2));ba.inset?(fi.path(Ea),fi.ctx.clip(),fi.mask(Do)):(fi.mask(Ea),fi.ctx.clip(),fi.path(Do)),fi.ctx.shadowOffsetX=ba.offsetX.number+ka,fi.ctx.shadowOffsetY=ba.offsetY.number,fi.ctx.shadowColor=pa(ba.color),fi.ctx.shadowBlur=ba.blur.number,fi.ctx.fillStyle=ba.inset?pa(ba.color):"rgba(0,0,0,1)",fi.ctx.fill(),fi.ctx.restore()}),Ti.label=2;case 2:an=0,vn=0,kn=Jt,Ti.label=3;case 3:return vn<kn.length?(bi=kn[vn],bi.style!==0&&!ra(bi.color)&&bi.width>0?bi.style===2?[4,this.renderDashedDottedBorder(bi.color,bi.width,an,me.curves,2)]:[3,5]:[3,11]):[3,13];case 4:return Ti.sent(),[3,11];case 5:return bi.style===3?[4,this.renderDashedDottedBorder(bi.color,bi.width,an,me.curves,3)]:[3,7];case 6:return Ti.sent(),[3,11];case 7:return bi.style===4?[4,this.renderDoubleBorder(bi.color,bi.width,an,me.curves)]:[3,9];case 8:return Ti.sent(),[3,11];case 9:return[4,this.renderSolidBorder(bi.color,an,me.curves)];case 10:Ti.sent(),Ti.label=11;case 11:an++,Ti.label=12;case 12:return vn++,[3,3];case 13:return[2]}})})},ie.prototype.renderDashedDottedBorder=function(me,Me,$e,Jt,jr){return m(this,void 0,void 0,function(){var an,vn,kn,bi,fi,Ti,ba,Ea,ka,Do,mo,io,ms,Ts,ss,$a,ss,$a;return g(this,function(Ps){return this.ctx.save(),an=wc(Jt,$e),vn=hc(Jt,$e),jr===2&&(this.path(vn),this.ctx.clip()),Ws(vn[0])?(kn=vn[0].start.x,bi=vn[0].start.y):(kn=vn[0].x,bi=vn[0].y),Ws(vn[1])?(fi=vn[1].end.x,Ti=vn[1].end.y):(fi=vn[1].x,Ti=vn[1].y),$e===0||$e===2?ba=Math.abs(kn-fi):ba=Math.abs(bi-Ti),this.ctx.beginPath(),jr===3?this.formatPath(an):this.formatPath(vn.slice(0,2)),Ea=Me<3?Me*3:Me*2,ka=Me<3?Me*2:Me,jr===3&&(Ea=Me,ka=Me),Do=!0,ba<=Ea*2?Do=!1:ba<=Ea*2+ka?(mo=ba/(2*Ea+ka),Ea*=mo,ka*=mo):(io=Math.floor((ba+ka)/(Ea+ka)),ms=(ba-io*Ea)/(io-1),Ts=(ba-(io+1)*Ea)/io,ka=Ts<=0||Math.abs(ka-ms)<Math.abs(ka-Ts)?ms:Ts),Do&&(jr===3?this.ctx.setLineDash([0,Ea+ka]):this.ctx.setLineDash([Ea,ka])),jr===3?(this.ctx.lineCap="round",this.ctx.lineWidth=Me):this.ctx.lineWidth=Me*2+1.1,this.ctx.strokeStyle=pa(me),this.ctx.stroke(),this.ctx.setLineDash([]),jr===2&&(Ws(vn[0])&&(ss=vn[3],$a=vn[0],this.ctx.beginPath(),this.formatPath([new ya(ss.end.x,ss.end.y),new ya($a.start.x,$a.start.y)]),this.ctx.stroke()),Ws(vn[1])&&(ss=vn[1],$a=vn[2],this.ctx.beginPath(),this.formatPath([new ya(ss.end.x,ss.end.y),new ya($a.start.x,$a.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},ie.prototype.render=function(me){return m(this,void 0,void 0,function(){var Me;return g(this,function($e){switch($e.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=pa(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),Me=Du(me),[4,this.renderStack(Me)];case 1:return $e.sent(),this.applyEffects([]),[2,this.canvas]}})})},ie}(Ec),Oc=function(ie){return ie instanceof Vu||ie instanceof Ou?!0:ie instanceof uu&&ie.type!==Ks&&ie.type!==Ll},_c=function(ie,me){switch(ie){case 0:return Rl(me);case 2:return al(me);case 1:default:return Nu(me)}},Ic=function(ie){switch(ie){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Lc=["-apple-system","system-ui"],Nc=function(ie){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?ie.filter(function(me){return Lc.indexOf(me)===-1}):ie},Dc=function(sr){p(ie,sr);function ie(me,Me){var $e=sr.call(this,me,Me)||this;return $e.canvas=Me.canvas?Me.canvas:document.createElement("canvas"),$e.ctx=$e.canvas.getContext("2d"),$e.options=Me,$e.canvas.width=Math.floor(Me.width*Me.scale),$e.canvas.height=Math.floor(Me.height*Me.scale),$e.canvas.style.width=Me.width+"px",$e.canvas.style.height=Me.height+"px",$e.ctx.scale($e.options.scale,$e.options.scale),$e.ctx.translate(-Me.x,-Me.y),$e.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+Me.width+"x"+Me.height+" at "+Me.x+","+Me.y+") with scale "+Me.scale),$e}return ie.prototype.render=function(me){return m(this,void 0,void 0,function(){var Me,$e;return g(this,function(Jt){switch(Jt.label){case 0:return Me=hu(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,me),[4,Rc(Me)];case 1:return $e=Jt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=pa(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage($e,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},ie}(Ec),Rc=function(ie){return new Promise(function(me,Me){var $e=new Image;$e.onload=function(){me($e)},$e.onerror=Me,$e.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},Mc=function(){function sr(ie){var me=ie.id,Me=ie.enabled;this.id=me,this.enabled=Me,this.start=Date.now()}return sr.prototype.debug=function(){for(var ie=[],me=0;me<arguments.length;me++)ie[me]=arguments[me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,f([this.id,this.getTime()+"ms"],ie)):this.info.apply(this,ie))},sr.prototype.getTime=function(){return Date.now()-this.start},sr.prototype.info=function(){for(var ie=[],me=0;me<arguments.length;me++)ie[me]=arguments[me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,f([this.id,this.getTime()+"ms"],ie)))},sr.prototype.warn=function(){for(var ie=[],me=0;me<arguments.length;me++)ie[me]=arguments[me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,f([this.id,this.getTime()+"ms"],ie)):this.info.apply(this,ie))},sr.prototype.error=function(){for(var ie=[],me=0;me<arguments.length;me++)ie[me]=arguments[me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,f([this.id,this.getTime()+"ms"],ie)):this.info.apply(this,ie))},sr.instances={},sr}(),Pc=function(){function sr(ie,me){var Me;this.windowBounds=me,this.instanceName="#"+sr.instanceCount++,this.logger=new Mc({id:this.instanceName,enabled:ie.logging}),this.cache=(Me=ie.cache)!==null&&Me!==void 0?Me:new Wo(this,ie)}return sr.instanceCount=1,sr}(),kc=function(ie,me){return me===void 0&&(me={}),Fc(ie,me)};typeof window!="undefined"&&no.setContext(window);var Fc=function(ie,me){return m(void 0,void 0,void 0,function(){var Me,$e,Jt,jr,an,vn,kn,bi,fi,Ti,ba,Ea,ka,Do,mo,io,ms,Ts,ss,$a,Ps,js,Ps,ls,$l,vu,ql,Sl,rc,Pu,Ju,Zu,$u,nc,ku,qu,ic,ac,Wu,oc;return g(this,function(zu){switch(zu.label){case 0:if(!ie||typeof ie!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(Me=ie.ownerDocument,!Me)throw new Error("Element is not attached to a Document");if($e=Me.defaultView,!$e)throw new Error("Document is not attached to a Window");return Jt={allowTaint:(ls=me.allowTaint)!==null&&ls!==void 0?ls:!1,imageTimeout:($l=me.imageTimeout)!==null&&$l!==void 0?$l:15e3,proxy:me.proxy,useCORS:(vu=me.useCORS)!==null&&vu!==void 0?vu:!1},jr=S({logging:(ql=me.logging)!==null&&ql!==void 0?ql:!0,cache:me.cache},Jt),an={windowWidth:(Sl=me.windowWidth)!==null&&Sl!==void 0?Sl:$e.innerWidth,windowHeight:(rc=me.windowHeight)!==null&&rc!==void 0?rc:$e.innerHeight,scrollX:(Pu=me.scrollX)!==null&&Pu!==void 0?Pu:$e.pageXOffset,scrollY:(Ju=me.scrollY)!==null&&Ju!==void 0?Ju:$e.pageYOffset},vn=new d(an.scrollX,an.scrollY,an.windowWidth,an.windowHeight),kn=new Pc(jr,vn),bi=(Zu=me.foreignObjectRendering)!==null&&Zu!==void 0?Zu:!1,fi={allowTaint:($u=me.allowTaint)!==null&&$u!==void 0?$u:!1,onclone:me.onclone,ignoreElements:me.ignoreElements,inlineImages:bi,copyStyles:bi},kn.logger.debug("Starting document clone with size "+vn.width+"x"+vn.height+" scrolled to "+-vn.left+","+-vn.top),Ti=new ne(kn,ie,fi),ba=Ti.clonedReferenceElement,ba?[4,Ti.toIFrame(Me,vn)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Ea=zu.sent(),ka=Cr(ba)||ut(ba)?o(ba.ownerDocument):c(kn,ba),Do=ka.width,mo=ka.height,io=ka.left,ms=ka.top,Ts=Bc(kn,ba,me.backgroundColor),ss={canvas:me.canvas,backgroundColor:Ts,scale:(ku=(nc=me.scale)!==null&&nc!==void 0?nc:$e.devicePixelRatio)!==null&&ku!==void 0?ku:1,x:((qu=me.x)!==null&&qu!==void 0?qu:0)+io,y:((ic=me.y)!==null&&ic!==void 0?ic:0)+ms,width:(ac=me.width)!==null&&ac!==void 0?ac:Math.ceil(Do),height:(Wu=me.height)!==null&&Wu!==void 0?Wu:Math.ceil(mo)},bi?(kn.logger.debug("Document cloned, using foreign object rendering"),Ps=new Dc(kn,ss),[4,Ps.render(ba)]):[3,3];case 2:return $a=zu.sent(),[3,5];case 3:return kn.logger.debug("Document cloned, element located at "+io+","+ms+" with size "+Do+"x"+mo+" using computed rendering"),kn.logger.debug("Starting DOM parsing"),js=Gu(kn,ba),Ts===js.styles.backgroundColor&&(js.styles.backgroundColor=Va.TRANSPARENT),kn.logger.debug("Starting renderer for element at "+ss.x+","+ss.y+" with size "+ss.width+"x"+ss.height),Ps=new mc(kn,ss),[4,Ps.render(js)];case 4:$a=zu.sent(),zu.label=5;case 5:return((oc=me.removeContainer)!==null&&oc!==void 0?oc:!0)&&(ne.destroy(Ea)||kn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),kn.logger.debug("Finished rendering"),[2,$a]}})})},Bc=function(ie,me,Me){var $e=me.ownerDocument,Jt=$e.documentElement?Ia(ie,getComputedStyle($e.documentElement).backgroundColor):Va.TRANSPARENT,jr=$e.body?Ia(ie,getComputedStyle($e.body).backgroundColor):Va.TRANSPARENT,an=typeof Me=="string"?Ia(ie,Me):Me===null?Va.TRANSPARENT:4294967295;return me===$e.documentElement?ra(Jt)?ra(jr)?an:jr:Jt:an};return kc})},wPhX:function(M,N,n){"use strict";n.d(N,"b",function(){return i}),n.d(N,"a",function(){return t}),n.d(N,"k",function(){return a}),n.d(N,"h",function(){return e}),n.d(N,"i",function(){return l}),n.d(N,"g",function(){return r}),n.d(N,"c",function(){return s}),n.d(N,"d",function(){return u}),n.d(N,"j",function(){return y}),n.d(N,"e",function(){return w}),n.d(N,"f",function(){return b});var v=n("KQm4"),p=n("U8pU"),S=n("Ff2n"),m=n("q1tI"),g=n.n(m),f=n("Kwbf"),d=n("lr6o"),c=.25,o=2;function i(x,O){var T=x.slice(),E=T.indexOf(O);return E>=0&&T.splice(E,1),T}function t(x,O){var T=x.slice();return T.indexOf(O)===-1&&T.push(O),T}function a(x){return x.split("-")}function e(x,O){return"".concat(x,"-").concat(O)}function l(x){return x&&x.type&&x.type.isTreeNode}function r(x,O){var T=[x],E=O[x];function C(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];_.forEach(function(L){var P=L.key,k=L.children;T.push(P),C(k)})}return C(E.children),T}function s(x,O){var T=x.clientY,E=O.selectHandle.getBoundingClientRect(),C=E.top,_=E.bottom,L=E.height,P=Math.max(L*c,o);return T<=C+P?-1:T>=_-P?1:0}function u(x,O){if(!x)return;var T=O.multiple;return T?x.slice():x.length?[x[0]]:x}var h=function(O){return O};function A(x,O){if(!x)return[];var T=O||{},E=T.processProps,C=E===void 0?h:E,_=Array.isArray(x)?x:[x];return _.map(function(L){var P=L.children,k=Object(S.a)(L,["children"]),F=A(P,O);return g.a.createElement(d.a,Object.assign({},C(k)),F)})}function y(x){if(!x)return null;var O;if(Array.isArray(x))O={checkedKeys:x,halfCheckedKeys:void 0};else if(Object(p.a)(x)==="object")O={checkedKeys:x.checked||void 0,halfCheckedKeys:x.halfChecked||void 0};else return Object(f.a)(!1,"`checkedKeys` is not an array or an object"),null;return O}function w(x,O){var T=new Set;function E(C){if(T.has(C))return;var _=O[C];if(!_)return;T.add(C);var L=_.parent,P=_.node;if(P.disabled)return;L&&E(L.key)}return(x||[]).forEach(function(C){E(C)}),Object(v.a)(T)}function b(x){var O={};return Object.keys(x).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(O[T]=x[T])}),O}},wXyp:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("ygfH")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="CheckOutlined";var i=m.forwardRef(o);N.default=i},wYyv:function(M,N,n){"use strict";var v=n("R5yR"),p=n("5wUe"),S=function(f,d,c){var o=d<0?f.length+d:d;if(o>=0&&o<f.length){var i=c<0?f.length+c:c,t=f.splice(d,1),a=p(t,1),e=a[0];f.splice(i,0,e)}},m=function(f,d,c){return f=v(f),S(f,d,c),f};M.exports=m,M.exports.mutate=S},wgjA:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};N.default=v},whVF:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=n("lNSK"),p=S(n("1q3G"));function S(c){return c&&c.__esModule?c:{default:c}}function m(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function g(c,o){for(var i=0;i<o.length;i++){var t=o[i];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(c,t.key,t)}}function f(c,o,i){return o&&g(c.prototype,o),i&&g(c,i),c}var d=function(){function c(){m(this,c),this.strm=new p.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,v.deflateInit)(this.strm,this.windowBits)}return f(c,[{key:"deflate",value:function(i){this.strm.input=i,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0,this.strm.output=this.outputBuffer,this.strm.avail_out=this.chunkSize,this.strm.next_out=0;var t=(0,v.deflate)(this.strm,v.Z_FULL_FLUSH),a=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(t<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var e=[a],l=a.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,t=(0,v.deflate)(this.strm,v.Z_FULL_FLUSH),t<0)throw new Error("zlib deflate failed");var r=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=r.length,e.push(r)}while(this.strm.avail_in>0);for(var s=new Uint8Array(l),u=0,h=0;h<e.length;h++)s.set(e[h],u),u+=e[h].length;a=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,a}}]),c}();N.default=d},wlus:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="MinusCircleOutlined";var d=N.a=p.forwardRef(f)},wr5s:function(M,N,n){var v=n("IwbS"),p=v.extendShape,S=p({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,g){var f=g.cx,d=g.cy,c=Math.max(g.r0||0,0),o=Math.max(g.r,0),i=(o-c)*.5,t=c+i,a=g.startAngle,e=g.endAngle,l=g.clockwise,r=Math.cos(a),s=Math.sin(a),u=Math.cos(e),h=Math.sin(e),A=l?e-a<Math.PI*2:a-e<Math.PI*2;A&&(m.moveTo(r*c+f,s*c+d),m.arc(r*t+f,s*t+d,i,-Math.PI+a,a,!l)),m.arc(f,d,o,a,e,!l),m.moveTo(u*o+f,h*o+d),m.arc(u*t+f,h*t+d,i,e-Math.PI*2,e-Math.PI,!l),c!==0&&(m.arc(f,d,c,e,a,l),m.moveTo(r*c+f,h*c+d)),m.closePath()}});M.exports=S},wt3j:function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("/IIm"),m=n("EMyp"),g=m.layoutCovers,f=v.extendComponentView({type:"brush",init:function(c,o){this.ecModel=c,this.api=o,this.model,(this._brushController=new S(o.getZr())).on("brush",p.bind(this._onBrush,this)).mount()},render:function(c){return this.model=c,d.apply(this,arguments)},updateTransform:function(c,o){return g(o),d.apply(this,arguments)},updateView:d,dispose:function(){this._brushController.dispose()},_onBrush:function(c,o){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(c,this.ecModel),(!o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:p.clone(c),$from:i}),o.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:p.clone(c),$from:i})}});function d(c,o,i,t){(!t||t.$from!==c.id)&&this._brushController.setPanels(c.brushTargetManager.makePanelOpts(i)).enableBrush(c.brushOption).updateCovers(c.areas.slice())}M.exports=f},wy8a:function(M,N,n){var v=n("KxBF");function p(S,m,g){var f=S.length;return g=g===void 0?f:g,!m&&g>=f?S:v(S,m,g)}M.exports=p},x1Ya:function(M,N,n){"use strict";var v=n("wx14"),p=n("rePB"),S=n("Ff2n"),m=n("VTBJ"),g=n("1OyB"),f=n("vuIU"),d=n("Ji7U"),c=n("LK+K"),o=n("q1tI"),i=n.n(o),t=n("TSYQ"),a=n.n(t),e=function(l){Object(d.a)(s,l);var r=Object(c.a)(s);function s(u){var h;Object(g.a)(this,s),h=r.call(this,u),h.handleChange=function(y){var w=h.props,b=w.disabled,x=w.onChange;if(b)return;"checked"in h.props||h.setState({checked:y.target.checked}),x&&x({target:Object(m.a)(Object(m.a)({},h.props),{},{checked:y.target.checked}),stopPropagation:function(){y.stopPropagation()},preventDefault:function(){y.preventDefault()},nativeEvent:y.nativeEvent})},h.saveInput=function(y){h.input=y};var A="checked"in u?u.checked:u.defaultChecked;return h.state={checked:A},h}return Object(f.a)(s,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var h,A=this.props,y=A.prefixCls,w=A.className,b=A.style,x=A.name,O=A.id,T=A.type,E=A.disabled,C=A.readOnly,_=A.tabIndex,L=A.onClick,P=A.onFocus,k=A.onBlur,F=A.onKeyDown,j=A.onKeyPress,z=A.onKeyUp,R=A.autoFocus,U=A.value,B=A.required,H=Object(S.a)(A,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),K=Object.keys(H).reduce(function(G,re){return(re.substr(0,5)==="aria-"||re.substr(0,5)==="data-"||re==="role")&&(G[re]=H[re]),G},{}),V=this.state.checked,W=a()(y,w,(h={},Object(p.a)(h,"".concat(y,"-checked"),V),Object(p.a)(h,"".concat(y,"-disabled"),E),h));return i.a.createElement("span",{className:W,style:b},i.a.createElement("input",Object(v.a)({name:x,id:O,type:T,required:B,readOnly:C,disabled:E,tabIndex:_,className:"".concat(y,"-input"),checked:!!V,onClick:L,onFocus:P,onBlur:k,onKeyUp:z,onKeyDown:F,onKeyPress:j,onChange:this.handleChange,autoFocus:R,ref:this.saveInput,value:U},K)),i.a.createElement("span",{className:"".concat(y,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(h,A){return"checked"in h?Object(m.a)(Object(m.a)({},A),{},{checked:h.checked}):null}}]),s}(o.Component);e.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},N.a=e},x3X8:function(M,N,n){var v=n("KxfA"),p=v.retrieveRawValue;function S(m,g){var f=m.mapDimension("defaultedLabel",!0),d=f.length;if(d===1)return p(m,g,f[0]);if(d){for(var c=[],o=0;o<f.length;o++){var i=p(m,g,f[o]);c.push(i)}return c.join(" ")}}N.getDefaultLabel=S},x54q:function(M,N,n){},x6Kt:function(M,N,n){var v=n("y+Vt"),p=n("VpOo"),S=n("nPnh"),m=S.subPixelOptimizeRect,g={},f=v.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(c,o){var i,t,a,e;this.subPixelOptimize?(m(g,o,this.style),i=g.x,t=g.y,a=g.width,e=g.height,g.r=o.r,o=g):(i=o.x,t=o.y,a=o.width,e=o.height),o.r?p.buildPath(c,o):c.rect(i,t,a,e),c.closePath();return}});M.exports=f},xGfz:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="PlusSquareOutlined";var d=N.a=p.forwardRef(f)},xKMd:function(M,N){function n(p,S){this.getAllNames=function(){var m=S();return m.mapArray(m.getName)},this.containName=function(m){var g=S();return g.indexOfName(m)>=0},this.indexOfName=function(m){var g=p();return g.indexOfName(m)},this.getItemVisual=function(m,g){var f=p();return f.getItemVisual(m,g)}}var v=n;M.exports=v},xO64:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v=p(n("8K/p"));function p(r){return r&&r.__esModule?r:{default:r}}function S(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(u){return typeof u}:S=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},S(r)}function m(r,s){if(!(r instanceof s))throw new TypeError("Cannot call a class as a function")}function g(r,s){for(var u=0;u<s.length;u++){var h=s[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(r,h.key,h)}}function f(r,s,u){return s&&g(r.prototype,s),u&&g(r,u),r}function d(r,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(s&&s.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),s&&c(r,s)}function c(r,s){return c=Object.setPrototypeOf||function(h,A){return h.__proto__=A,h},c(r,s)}function o(r){var s=a();return function(){var h=e(r),A;if(s){var y=e(this).constructor;A=Reflect.construct(h,arguments,y)}else A=h.apply(this,arguments);return i(this,A)}}function i(r,s){return s&&(S(s)==="object"||typeof s=="function")?s:t(r)}function t(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function a(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(r){return!1}}function e(r){return e=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},e(r)}var l=function(r){d(u,r);var s=o(u);function u(){return m(this,u),s.apply(this,arguments)}return f(u,[{key:"_pngRect",value:function(A,y,w,b,x,O,T){var E=this._readData(x);return E===null?!1:(O.imageRect(A,y,w,b,"image/png",E),!0)}},{key:"_basicRect",value:function(A,y,w,b,x,O,T,E){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(v.default);N.default=l},xRUu:function(M,N,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSIq:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var v={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};N.default=v},xSat:function(M,N){var n={axisPointer:1,tooltip:1,brush:1};function v(p,S,m){var g=S.getComponentByElement(p.topTarget),f=g&&g.coordinateSystem;return g&&g!==m&&!n[g.mainType]&&f&&f.model!==m}N.onIrrelevantElement=v},xTNl:function(M,N){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],v={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]};M.exports=v},xb2K:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("5yev")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="RedoOutlined";var i=m.forwardRef(o);N.default=i},xiyX:function(M,N,n){var v=n("bYtY"),p=n("bLfw"),S=n("nkfE"),m=n("ICMv"),g=p.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),f={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function d(o,i){return i.type||(i.data?"category":"value")}v.merge(g.prototype,m),S("single",g,d,f);var c=g;M.exports=c},xlC8:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=v;function v(p,S,m,g){for(var f=p&65535|0,d=p>>>16&65535|0,c=0;m!==0;){c=m>2e3?2e3:m,m-=c;do f=f+S[g++]|0,d=d+f|0;while(--c);f%=65521,d%=65521}return f|d<<16|0}},xvlK:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="PlusOutlined";var d=N.a=p.forwardRef(f)},xzDV:function(M,N,n){},"y+Vt":function(M,N,n){var v=n("Gev7"),p=n("bYtY"),S=n("IMiH"),m=n("2DNl"),g=n("3C/r"),f=g.prototype.getCanvasPattern,d=Math.abs,c=new S(!0);function o(t){v.call(this,t),this.path=null}o.prototype={constructor:o,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(a,e){var l=this.style,r=this.path||c,s=l.hasStroke(),u=l.hasFill(),h=l.fill,A=l.stroke,y=u&&!!h.colorStops,w=s&&!!A.colorStops,b=u&&!!h.image,x=s&&!!A.image;if(l.bind(a,this,e),this.setTransform(a),this.__dirty){var O;y&&(O=O||this.getBoundingRect(),this._fillGradient=l.getGradient(a,h,O)),w&&(O=O||this.getBoundingRect(),this._strokeGradient=l.getGradient(a,A,O))}y?a.fillStyle=this._fillGradient:b&&(a.fillStyle=f.call(h,a)),w?a.strokeStyle=this._strokeGradient:x&&(a.strokeStyle=f.call(A,a));var T=l.lineDash,E=l.lineDashOffset,C=!!a.setLineDash,_=this.getGlobalScale();if(r.setScale(_[0],_[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!C&&s?(r.beginPath(a),T&&!C&&(r.setLineDash(T),r.setLineDashOffset(E)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(a.beginPath(),this.path.rebuildPath(a)),u)if(l.fillOpacity!=null){var L=a.globalAlpha;a.globalAlpha=l.fillOpacity*l.opacity,r.fill(a),a.globalAlpha=L}else r.fill(a);if(T&&C&&(a.setLineDash(T),a.lineDashOffset=E),s)if(l.strokeOpacity!=null){var L=a.globalAlpha;a.globalAlpha=l.strokeOpacity*l.opacity,r.stroke(a),a.globalAlpha=L}else r.stroke(a);T&&C&&a.setLineDash([]),l.text!=null&&(this.restoreTransform(a),this.drawRectText(a,this.getBoundingRect()))},buildPath:function(a,e,l){},createPathProxy:function(){this.path=new S},getBoundingRect:function(){var a=this._rect,e=this.style,l=!a;if(l){var r=this.path;r||(r=this.path=new S),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),a=r.getBoundingRect()}if(this._rect=a,e.hasStroke()){var s=this._rectWithStroke||(this._rectWithStroke=a.clone());if(this.__dirty||l){s.copy(a);var u=e.lineWidth,h=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(u=Math.max(u,this.strokeContainThreshold||4)),h>1e-10&&(s.width+=u/h,s.height+=u/h,s.x-=u/h/2,s.y-=u/h/2)}return s}return a},contain:function(a,e){var l=this.transformCoordToLocal(a,e),r=this.getBoundingRect(),s=this.style;if(a=l[0],e=l[1],r.contain(a,e)){var u=this.path.data;if(s.hasStroke()){var h=s.lineWidth,A=s.strokeNoScale?this.getLineScale():1;if(A>1e-10&&(s.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),m.containStroke(u,h/A,a,e)))return!0}if(s.hasFill())return m.contain(u,a,e)}return!1},dirty:function(a){a==null&&(a=!0),a&&(this.__dirtyPath=a,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(a){return this.animate("shape",a)},attrKV:function(a,e){a==="shape"?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):v.prototype.attrKV.call(this,a,e)},setShape:function(a,e){var l=this.shape;if(l){if(p.isObject(a))for(var r in a)a.hasOwnProperty(r)&&(l[r]=a[r]);else l[a]=e;this.dirty(!0)}return this},getLineScale:function(){var a=this.transform;return a&&d(a[0]-1)>1e-10&&d(a[3]-1)>1e-10?Math.sqrt(d(a[0]*a[3]-a[2]*a[1])):1}},o.extend=function(t){var a=function(r){o.call(this,r),t.style&&this.style.extendFrom(t.style,!1);var s=t.shape;if(s){this.shape=this.shape||{};var u=this.shape;for(var h in s)!u.hasOwnProperty(h)&&s.hasOwnProperty(h)&&(u[h]=s[h])}t.init&&t.init.call(this,r)};p.inherits(a,o);for(var e in t)e!=="style"&&e!=="shape"&&(a.prototype[e]=t[e]);return a},p.inherits(o,v);var i=o;M.exports=i},"y+lR":function(M,N,n){var v=n("bYtY"),p=n("mFDi"),S=n("z35g");function m(f){S.call(this,f)}m.prototype={constructor:m,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(f){var d=this.getAxis("x"),c=this.getAxis("y");return d.contain(d.toLocalCoord(f[0]))&&c.contain(c.toLocalCoord(f[1]))},containData:function(f){return this.getAxis("x").containData(f[0])&&this.getAxis("y").containData(f[1])},dataToPoint:function(f,d,c){var o=this.getAxis("x"),i=this.getAxis("y");return c=c||[],c[0]=o.toGlobalCoord(o.dataToCoord(f[0])),c[1]=i.toGlobalCoord(i.dataToCoord(f[1])),c},clampData:function(f,d){var c=this.getAxis("x").scale,o=this.getAxis("y").scale,i=c.getExtent(),t=o.getExtent(),a=c.parse(f[0]),e=o.parse(f[1]);return d=d||[],d[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),d[1]=Math.min(Math.max(Math.min(t[0],t[1]),e),Math.max(t[0],t[1])),d},pointToData:function(f,d){var c=this.getAxis("x"),o=this.getAxis("y");return d=d||[],d[0]=c.coordToData(c.toLocalCoord(f[0])),d[1]=o.coordToData(o.toLocalCoord(f[1])),d},getOtherAxis:function(f){return this.getAxis(f.dim==="x"?"y":"x")},getArea:function(){var f=this.getAxis("x").getGlobalExtent(),d=this.getAxis("y").getGlobalExtent(),c=Math.min(f[0],f[1]),o=Math.min(d[0],d[1]),i=Math.max(f[0],f[1])-c,t=Math.max(d[0],d[1])-o,a=new p(c,o,i,t);return a}},v.inherits(m,S);var g=m;M.exports=g},"y0+3":function(M,N,n){"use strict";n.d(N,"a",function(){return t}),n.d(N,"b",function(){return e});var v=/margin|padding|width|height|max|min|offset/,p={left:!0,top:!0},S={cssFloat:1,styleFloat:1,float:1};function m(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function g(l,r,s){if(r=r.toLowerCase(),s==="auto"){if(r==="height")return l.offsetHeight;if(r==="width")return l.offsetWidth}return r in p||(p[r]=v.test(r)),p[r]?parseFloat(s)||0:s}function f(l,r){var s=arguments.length,u=m(l);return r=S[r]?"cssFloat"in l.style?"cssFloat":"styleFloat":r,s===1?u:g(l,r,u[r]||l.style[r])}function d(l,r,s){var u=arguments.length;if(r=S[r]?"cssFloat"in l.style?"cssFloat":"styleFloat":r,u===3)return typeof s=="number"&&v.test(r)&&(s="".concat(s,"px")),l.style[r]=s,s;for(var h in r)r.hasOwnProperty(h)&&d(l,h,r[h]);return m(l)}function c(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function o(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function i(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:r}}function t(){var l=document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:r}}function a(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function e(l){var r=l.getBoundingClientRect(),s=document.documentElement;return{left:r.left+(window.pageXOffset||s.scrollLeft)-(s.clientLeft||document.body.clientLeft||0),top:r.top+(window.pageYOffset||s.scrollTop)-(s.clientTop||document.body.clientTop||0)}}},y23F:function(M,N){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}n.prototype={constructor:n,_dragStart:function(m){for(var g=m.target;g&&!g.draggable;)g=g.parent;g&&(this._draggingTarget=g,g.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(v(g,m),"dragstart",m.event))},_drag:function(m){var g=this._draggingTarget;if(g){var f=m.offsetX,d=m.offsetY,c=f-this._x,o=d-this._y;this._x=f,this._y=d,g.drift(c,o,m),this.dispatchToElement(v(g,m),"drag",m.event);var i=this.findHover(f,d,g).target,t=this._dropTarget;this._dropTarget=i,g!==i&&(t&&i!==t&&this.dispatchToElement(v(t,m),"dragleave",m.event),i&&i!==t&&this.dispatchToElement(v(i,m),"dragenter",m.event))}},_dragEnd:function(m){var g=this._draggingTarget;g&&(g.dragging=!1),this.dispatchToElement(v(g,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(v(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function v(S,m){return{target:S,topTarget:m&&m.topTarget}}var p=n;M.exports=p},y2l5:function(M,N,n){var v=n("MwEJ"),p=n("T4UG"),S=p.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,g){return v(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var m=this.option.progressive;return m==null?this.option.large?5e3:this.get("progressive"):m},getProgressiveThreshold:function(){var m=this.option.progressiveThreshold;return m==null?this.option.large?1e4:this.get("progressiveThreshold"):m},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});M.exports=S},y3Kf:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="UpOutlined";var d=N.a=p.forwardRef(f)},y3NT:function(M,N,n){var v=n("OELB"),p=v.parsePercent,S=n("bYtY"),m=Math.PI/180;function g(c,o,i,t){o.eachSeriesByType(c,function(a){var e=a.get("center"),l=a.get("radius");S.isArray(l)||(l=[0,l]),S.isArray(e)||(e=[e,e]);var r=i.getWidth(),s=i.getHeight(),u=Math.min(r,s),h=p(e[0],r),A=p(e[1],s),y=p(l[0],u/2),w=p(l[1],u/2),b=-a.get("startAngle")*m,x=a.get("minAngle")*m,O=a.getData().tree.root,T=a.getViewRoot(),E=T.depth,C=a.get("sort");C!=null&&f(T,C);var _=0;S.each(T.children,function(W){!isNaN(W.getValue())&&_++});var L=T.getValue(),P=Math.PI/(L||_)*2,k=T.depth>0,F=T.height-(k?-1:1),j=(w-y)/(F||1),z=a.get("clockwise"),R=a.get("stillShowZeroSum"),U=z?1:-1,B=function(W,G){if(!W)return;var re=G;if(W!==O){var ye=W.getValue(),$=L===0&&R?P:ye*P;$<x&&($=x),re=G+U*$;var ve=W.depth-E-(k?-1:1),Ce=y+j*ve,Se=y+j*(ve+1),Ke=W.getModel();Ke.get("r0")!=null&&(Ce=p(Ke.get("r0"),u/2)),Ke.get("r")!=null&&(Se=p(Ke.get("r"),u/2)),W.setLayout({angle:$,startAngle:G,endAngle:re,clockwise:z,cx:h,cy:A,r0:Ce,r:Se})}if(W.children&&W.children.length){var ue=0;S.each(W.children,function(Le){ue+=B(Le,G+ue)})}return re-G};if(k){var H=y,K=y+j,V=Math.PI*2;O.setLayout({angle:V,startAngle:b,endAngle:b+V,clockwise:z,cx:h,cy:A,r0:H,r:K})}B(T,b)})}function f(c,o){var i=c.children||[];c.children=d(i,o),i.length&&S.each(c.children,function(t){f(t,o)})}function d(c,o){if(typeof o=="function")return c.sort(o);var i=o==="asc";return c.sort(function(t,a){var e=(t.getValue()-a.getValue())*(i?1:-1);return e===0?(t.dataIndex-a.dataIndex)*(i?-1:1):e})}M.exports=g},y3Yb:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("HBhm")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="PaperClipOutlined";var i=m.forwardRef(o);N.default=i},"y4/Y":function(M,N,n){var v=n("ProS"),p=n("bYtY"),S=n("zTMp"),m=n("62sa");n("SKx+"),n("1LEl"),n("Sp2Z"),v.registerPreprocessor(function(g){if(g){(!g.axisPointer||g.axisPointer.length===0)&&(g.axisPointer={});var f=g.axisPointer.link;f&&!p.isArray(f)&&(g.axisPointer.link=[f])}}),v.registerProcessor(v.PRIORITY.PROCESSOR.STATISTIC,function(g,f){g.getComponent("axisPointer").coordSysAxesInfo=S.collect(g,f)}),v.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(M,N,n){var v=n("bYtY"),p=n("+TT/"),S=p.getLayoutRect;function m(f,d,c){var o=f.option,i=o.align;if(i!=null&&i!=="auto")return i;for(var t={width:d.getWidth(),height:d.getHeight()},a=o.orient==="horizontal"?1:0,e=[["left","right","width"],["top","bottom","height"]],l=e[a],r=[0,null,10],s={},u=0;u<3;u++)s[e[1-a][u]]=r[u],s[l[u]]=u===2?c[0]:o[l[u]];var h=[["x","width",3],["y","height",0]][a],A=S(s,t,o.padding);return l[(A.margin[h[2]]||0)+A[h[0]]+A[h[1]]*.5<t[h[1]]*.5?0:1]}function g(f,d){return v.each(f||[],function(c){c.dataIndex!=null&&(c.dataIndexInside=c.dataIndex,c.dataIndex=null),c.highlightKey="visualMap"+(d?d.componentIndex:"")}),f}N.getItemAlign=m,N.makeHighDownBatch=g},y8nQ:function(M,N,n){"use strict";var v=n("cIOH"),p=n.n(v),S=n("gwTy"),m=n.n(S),g=n("1GLa")},yEEn:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="ArrowDownOutlined";var d=N.a=p.forwardRef(f)},yO87:function(M,N,n){var v=n("bYtY"),p=n("oVpE"),S=p.createSymbol,m=n("IwbS"),g=m.Group,f=n("OELB"),d=f.parsePercent,c=n("FBjb"),o=3;function i(r){return v.isArray(r)||(r=[+r,+r]),r}function t(r,s){var u=s.rippleEffectColor||s.color;r.eachChild(function(h){h.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?u:null,fill:s.brushType==="fill"?u:null}})})}function a(r,s){g.call(this);var u=new c(r,s),h=new g;this.add(u),this.add(h),h.beforeUpdate=function(){this.attr(u.getScale())},this.updateData(r,s)}var e=a.prototype;e.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.startEffectAnimation=function(r){for(var s=r.symbolType,u=r.color,h=this.childAt(1),A=0;A<o;A++){var y=S(s,-1,-1,2,2,u);y.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var w=-A/o*r.period+r.effectOffset;y.animate("",!0).when(r.period,{scale:[r.rippleScale/2,r.rippleScale/2]}).delay(w).start(),y.animateStyle(!0).when(r.period,{opacity:0}).delay(w).start(),h.add(y)}t(h,r)},e.updateEffectAnimation=function(r){for(var s=this._effectCfg,u=this.childAt(1),h=["symbolType","period","rippleScale"],A=0;A<h.length;A++){var y=h[A];if(s[y]!==r[y]){this.stopEffectAnimation(),this.startEffectAnimation(r);return}}t(u,r)},e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.updateData=function(r,s){var u=r.hostModel;this.childAt(0).updateData(r,s);var h=this.childAt(1),A=r.getItemModel(s),y=r.getItemVisual(s,"symbol"),w=i(r.getItemVisual(s,"symbolSize")),b=r.getItemVisual(s,"color");h.attr("scale",w),h.traverse(function(P){P.attr({fill:b})});var x=A.getShallow("symbolOffset");if(x){var O=h.position;O[0]=d(x[0],w[0]),O[1]=d(x[1],w[1])}var T=r.getItemVisual(s,"symbolRotate");h.rotation=(T||0)*Math.PI/180||0;var E={};if(E.showEffectOn=u.get("showEffectOn"),E.rippleScale=A.get("rippleEffect.scale"),E.brushType=A.get("rippleEffect.brushType"),E.period=A.get("rippleEffect.period")*1e3,E.effectOffset=s/r.count(),E.z=A.getShallow("z")||0,E.zlevel=A.getShallow("zlevel")||0,E.symbolType=y,E.color=b,E.rippleEffectColor=A.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),E.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(E):this.startEffectAnimation(E),this._effectCfg=E;else{this._effectCfg=null,this.stopEffectAnimation();var C=this.childAt(0),_=function(){C.highlight(),E.showEffectOn!=="render"&&this.startEffectAnimation(E)},L=function(){C.downplay(),E.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",_,this).on("mouseout",L,this).on("emphasis",_,this).on("normal",L,this)}this._effectCfg=E},e.fadeOut=function(r){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),r&&r()},v.inherits(a,g);var l=a;M.exports=l},yS9w:function(M,N,n){var v=n("MEGo"),p=v.parseSVG,S=v.makeViewBoxTransform,m=n("4fz+"),g=n("x6Kt"),f=n("bYtY"),d=f.assert,c=f.createHashMap,o=n("mFDi"),i=n("4NO4"),t=i.makeInner,a=t(),e={load:function(r,s){var u=a(s).originRoot;if(u)return{root:u,boundingRect:a(s).boundingRect};var h=l(s);return a(s).originRoot=h.root,a(s).boundingRect=h.boundingRect,h},makeGraphic:function(r,s,u){var h=a(s),A=h.rootMap||(h.rootMap=c()),y=A.get(u);if(y)return y;var w=h.originRoot,b=h.boundingRect;return h.originRootHostKey?y=l(s,b).root:(h.originRootHostKey=u,y=w),A.set(u,y)},removeGraphic:function(r,s,u){var h=a(s),A=h.rootMap;A&&A.removeKey(u),u===h.originRootHostKey&&(h.originRootHostKey=null)}};function l(r,s){var u=r.svgXML,h,A;try{h=u&&p(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},A=h.root,d(A!=null)}catch(T){throw new Error(`Invalid svg format
`+T.message)}var y=h.width,w=h.height,b=h.viewBoxRect;if(s||(s=y==null||w==null?A.getBoundingRect():new o(0,0,0,0),y!=null&&(s.width=y),w!=null&&(s.height=w)),b){var x=S(b,s.width,s.height),O=A;A=new m,A.add(O),O.scale=x.scale,O.position=x.position}return A.setClipPath(new g({shape:s.plain()})),{root:A,boundingRect:s}}M.exports=e},yWXo:function(M,N,n){var v=n("IwbS"),p=n("oVpE"),S=p.createSymbol,m=n("OS9S"),g=4,f=v.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(i,t){var a=t.points,e=t.size,l=this.symbolProxy,r=l.shape,s=i.getContext?i.getContext():i,u=s&&e[0]<g;if(u)return;for(var h=0;h<a.length;){var A=a[h++],y=a[h++];if(isNaN(A)||isNaN(y))continue;if(this.softClipShape&&!this.softClipShape.contain(A,y))continue;r.x=A-e[0]/2,r.y=y-e[1]/2,r.width=e[0],r.height=e[1],l.buildPath(i,r,!0)}},afterBrush:function(i){var t=this.shape,a=t.points,e=t.size,l=e[0]<g;if(!l)return;this.setTransform(i);for(var r=0;r<a.length;){var s=a[r++],u=a[r++];if(isNaN(s)||isNaN(u))continue;if(this.softClipShape&&!this.softClipShape.contain(s,u))continue;i.fillRect(s-e[0]/2,u-e[1]/2,e[0],e[1])}this.restoreTransform(i)},findDataIndex:function(i,t){for(var a=this.shape,e=a.points,l=a.size,r=Math.max(l[0],4),s=Math.max(l[1],4),u=e.length/2-1;u>=0;u--){var h=u*2,A=e[h]-r/2,y=e[h+1]-s/2;if(i>=A&&t>=y&&i<=A+r&&t<=y+s)return u}return-1}});function d(){this.group=new v.Group}var c=d.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(i,t){this.group.removeAll();var a=new f({rectHover:!0,cursor:"default"});a.setShape({points:i.getLayout("symbolPoints")}),this._setCommon(a,i,!1,t),this.group.add(a),this._incremental=null},c.updateLayout=function(i){if(this._incremental)return;var t=i.getLayout("symbolPoints");this.group.eachChild(function(a){if(a.startIndex!=null){var e=(a.endIndex-a.startIndex)*2,l=a.startIndex*4*2;t=new Float32Array(t.buffer,l,e)}a.setShape("points",t)})},c.incrementalPrepareUpdate=function(i){this.group.removeAll(),this._clearIncremental(),i.count()>2e6?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(i,t,a){var e;this._incremental?(e=new f,this._incremental.addDisplayable(e,!0)):(e=new f({rectHover:!0,cursor:"default",startIndex:i.start,endIndex:i.end}),e.incremental=!0,this.group.add(e)),e.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(e,t,!!this._incremental,a)},c._setCommon=function(i,t,a,e){var l=t.hostModel;e=e||{};var r=t.getVisual("symbolSize");i.setShape("size",r instanceof Array?r:[r,r]),i.softClipShape=e.clipShape||null,i.symbolProxy=S(t.getVisual("symbol"),0,0,0,0),i.setColor=i.symbolProxy.setColor;var s=i.shape.size[0]<g;i.useStyle(l.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var u=t.getVisual("color");u&&i.setColor(u),a||(i.seriesIndex=l.seriesIndex,i.on("mousemove",function(h){i.dataIndex=null;var A=i.findDataIndex(h.offsetX,h.offsetY);A>=0&&(i.dataIndex=A+(i.startIndex||0))}))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};var o=d;M.exports=o},ycre:function(M,N,n){var v=n("711d"),p=v("length");M.exports=p},ye1Q:function(M,N,n){"use strict";var v=n("VTBJ"),p=n("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},m=S,g=n("6VBw"),f=function(o,i){return p.createElement(g.a,Object(v.a)(Object(v.a)({},o),{},{ref:i,icon:m}))};f.displayName="LoadingOutlined";var d=N.a=p.forwardRef(f)},ygfH:function(M,N,n){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};N.default=v},yik8:function(M,N,n){var v=n("bZqE"),p=v.eachAfter,S=v.eachBefore,m=n("Itpr"),g=m.init,f=m.firstWalk,d=m.secondWalk,c=m.separation,o=m.radialCoordinate,i=m.getViewRect;function t(e,l){e.eachSeriesByType("tree",function(r){a(r,l)})}function a(e,l){var r=i(e,l);e.layoutInfo=r;var s=e.get("layout"),u=0,h=0,A=null;s==="radial"?(u=2*Math.PI,h=Math.min(r.height,r.width)/2,A=c(function(F,j){return(F.parentNode===j.parentNode?1:2)/F.depth})):(u=r.width,h=r.height,A=c());var y=e.getData().tree.root,w=y.children[0];if(w){g(y),p(w,f,A),y.hierNode.modifier=-w.hierNode.prelim,S(w,d);var b=w,x=w,O=w;S(w,function(F){var j=F.getLayout().x;j<b.getLayout().x&&(b=F),j>x.getLayout().x&&(x=F),F.depth>O.depth&&(O=F)});var T=b===x?1:A(b,x)/2,E=T-b.getLayout().x,C=0,_=0,L=0,P=0;if(s==="radial")C=u/(x.getLayout().x+T+E),_=h/(O.depth-1||1),S(w,function(F){L=(F.getLayout().x+E)*C,P=(F.depth-1)*_;var j=o(L,P);F.setLayout({x:j.x,y:j.y,rawX:L,rawY:P},!0)});else{var k=e.getOrient();k==="RL"||k==="LR"?(_=h/(x.getLayout().x+T+E),C=u/(O.depth-1||1),S(w,function(F){P=(F.getLayout().x+E)*_,L=k==="LR"?(F.depth-1)*C:u-(F.depth-1)*C,F.setLayout({x:L,y:P},!0)})):(k==="TB"||k==="BT")&&(C=u/(x.getLayout().x+T+E),_=h/(O.depth-1||1),S(w,function(F){L=(F.getLayout().x+E)*C,P=k==="TB"?(F.depth-1)*_:h-(F.depth-1)*_,F.setLayout({x:L,y:P},!0)}))}}}M.exports=t},ynwM:function(M,N,n){var v=n("MFOe"),p=v.Global;M.exports={name:"oldFF-globalStorage",read:m,write:g,each:f,remove:d,clearAll:c};var S=p.globalStorage;function m(o){return S[o]}function g(o,i){S[o]=i}function f(o){for(var i=S.length-1;i>=0;i--){var t=S.key(i);o(S[t],t)}}function d(o){return S.removeItem(o)}function c(){f(function(o,i){delete S[o]})}},ypgQ:function(M,N,n){var v=n("bYtY"),p=n("4NO4"),S=n("bLfw"),m=v.each,g=v.clone,f=v.map,d=v.merge,c=/^(min|max)?(.+)$/;function o(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}o.prototype={constructor:o,setOption:function(s,u){s&&v.each(p.normalizeToArray(s.series),function(y){y&&y.data&&v.isTypedArray(y.data)&&v.setAsPrimitive(y.data)}),s=g(s);var h=this._optionBackup,A=i.call(this,s,u,!h);this._newBaseOption=A.baseOption,h?(l(h.baseOption,A.baseOption),A.timelineOptions.length&&(h.timelineOptions=A.timelineOptions),A.mediaList.length&&(h.mediaList=A.mediaList),A.mediaDefault&&(h.mediaDefault=A.mediaDefault)):this._optionBackup=A},mountOption:function(s){var u=this._optionBackup;return this._timelineOptions=f(u.timelineOptions,g),this._mediaList=f(u.mediaList,g),this._mediaDefault=g(u.mediaDefault),this._currentMediaIndices=[],g(s?u.baseOption:this._newBaseOption)},getTimelineOption:function(s){var u,h=this._timelineOptions;if(h.length){var A=s.getComponent("timeline");A&&(u=g(h[A.getCurrentIndex()],!0))}return u},getMediaOption:function(s){var u=this._api.getWidth(),h=this._api.getHeight(),A=this._mediaList,y=this._mediaDefault,w=[],b=[];if(!A.length&&!y)return b;for(var x=0,O=A.length;x<O;x++)t(A[x].query,u,h)&&w.push(x);return!w.length&&y&&(w=[-1]),w.length&&!e(w,this._currentMediaIndices)&&(b=f(w,function(T){return g(T===-1?y.option:A[T].option)})),this._currentMediaIndices=w,b}};function i(s,u,h){var A=[],y=[],w,b,x=s.timeline;if(s.baseOption&&(b=s.baseOption),(x||s.options)&&(b=b||{},A=(s.options||[]).slice()),s.media){b=b||{};var O=s.media;m(O,function(T){T&&T.option&&(T.query?y.push(T):w||(w=T))})}return b||(b=s),b.timeline||(b.timeline=x),m([b].concat(A).concat(v.map(y,function(T){return T.option})),function(T){m(u,function(E){E(T,h)})}),{baseOption:b,timelineOptions:A,mediaDefault:w,mediaList:y}}function t(s,u,h){var A={width:u,height:h,aspectratio:u/h},y=!0;return v.each(s,function(w,b){var x=b.match(c);if(!x||!x[1]||!x[2])return;var O=x[1],T=x[2].toLowerCase();a(A[T],w,O)||(y=!1)}),y}function a(s,u,h){return h==="min"?s>=u:h==="max"?s<=u:s===u}function e(s,u){return s.join(",")===u.join(",")}function l(s,u){u=u||{},m(u,function(h,A){if(h==null)return;var y=s[A];if(!S.hasClass(A))s[A]=d(y,h,!0);else{h=p.normalizeToArray(h),y=p.normalizeToArray(y);var w=p.mappingToExists(y,h);s[A]=f(w,function(b){return b.option&&b.exist?d(b.exist,b.option,!0):b.exist||b.option})}})}var r=o;M.exports=r},yxFR:function(M,N,n){var v=n("y+Vt"),p=n("nPnh"),S=p.subPixelOptimizeLine,m={},g=v.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(d,c){var o,i,t,a;this.subPixelOptimize?(S(m,c,this.style),o=m.x1,i=m.y1,t=m.x2,a=m.y2):(o=c.x1,i=c.y1,t=c.x2,a=c.y2);var e=c.percent;if(e===0)return;d.moveTo(o,i),e<1&&(t=o*(1-e)+t*e,a=i*(1-e)+a*e),d.lineTo(t,a)},pointAt:function(d){var c=this.shape;return[c.x1*(1-d)+c.x2*d,c.y1*(1-d)+c.y2*d]}});M.exports=g},z35g:function(M,N,n){var v=n("bYtY");function p(g){return this._axes[g]}var S=function(g){this._axes={},this._dimList=[],this.name=g||""};S.prototype={constructor:S,type:"cartesian",getAxis:function(g){return this._axes[g]},getAxes:function(){return v.map(this._dimList,p,this)},getAxesByScale:function(g){return g=g.toLowerCase(),v.filter(this.getAxes(),function(f){return f.scale.type===g})},addAxis:function(g){var f=g.dim;this._axes[f]=g,this._dimList.push(f)},dataToCoord:function(g){return this._dataCoordConvert(g,"dataToCoord")},coordToData:function(g){return this._dataCoordConvert(g,"coordToData")},_dataCoordConvert:function(g,f){for(var d=this._dimList,c=g instanceof Array?[]:{},o=0;o<d.length;o++){var i=d[o],t=this._axes[i];c[i]=t[f](g[i])}return c}};var m=S;M.exports=m},zAh6:function(M,N,n){"use strict";n.d(N,"a",function(){return g});var v=n("xEkU"),p=n.n(v),S=n("i6bk");function m(f,d,c,o){var i=c-d;return f/=o/2,f<1?i/2*f*f*f+d:i/2*((f-=2)*f*f+2)+d}function g(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=d.getContainer,o=c===void 0?function(){return window}:c,i=d.callback,t=d.duration,a=t===void 0?450:t,e=o(),l=Object(S.a)(e,!0),r=Date.now(),s=function u(){var h=Date.now(),A=h-r,y=m(A>a?a:A,l,f,a);Object(S.b)(e)?e.scrollTo(window.pageXOffset,y):e instanceof HTMLDocument||e.constructor.name==="HTMLDocument"?e.documentElement.scrollTop=y:e.scrollTop=y,A<a?p()(u):typeof i=="function"&&i()};p()(s)}},zDms:function(M,N,n){var v=n("bYtY"),p=n("OELB"),S=n("UOVi"),m=n("72pK"),g=v.each,f=p.asc,d=function(e,l,r,s){this._dimName=e,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=s,this._dataZoomModel=r};d.prototype={constructor:d,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],l=this.ecModel;return l.eachSeries(function(r){if(S.isCoordSupported(r.get("coordinateSystem"))){var s=this._dimName,u=l.queryComponents({mainType:s+"Axis",index:r.get(s+"AxisIndex"),id:r.get(s+"AxisId")})[0];this._axisIndex===(u&&u.componentIndex)&&e.push(r)}},this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e=this._dimName,l=this.ecModel,r=this.getAxisModel(),s=e==="x"||e==="y",u,h;s?(h="gridIndex",u=e==="x"?"y":"x"):(h="polarIndex",u=e==="angle"?"radius":"angle");var A;return l.eachComponent(u+"Axis",function(y){(y.get(h)||0)===(r.get(h)||0)&&(A=y)}),A},getMinMaxSpan:function(){return v.clone(this._minMaxSpan)},calculateDataWindow:function(e){var l=this._dataExtent,r=this.getAxisModel(),s=r.axis.scale,u=this._dataZoomModel.getRangePropMode(),h=[0,100],A=[],y=[],w;g(["start","end"],function(O,T){var E=e[O],C=e[O+"Value"];u[T]==="percent"?(E==null&&(E=h[T]),C=s.parse(p.linearMap(E,h,l))):(w=!0,C=C==null?l[T]:s.parse(C),E=p.linearMap(C,l,h)),y[T]=C,A[T]=E}),f(y),f(A);var b=this._minMaxSpan;w?x(y,A,l,h,!1):x(A,y,h,l,!0);function x(O,T,E,C,_){var L=_?"Span":"ValueSpan";m(0,O,E,"all",b["min"+L],b["max"+L]);for(var P=0;P<2;P++)T[P]=p.linearMap(O[P],E,C,!0),_&&(T[P]=s.parse(T[P]))}return{valueWindow:y,percentWindow:A}},reset:function(e){if(e!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,l),t(this);var r=this.calculateDataWindow(e.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,i(this)},restore:function(e){if(e!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,i(this,!0)},filterData:function(e,l){if(e!==this._dataZoomModel)return;var r=this._dimName,s=this.getTargetSeriesModels(),u=e.get("filterMode"),h=this._valueWindow;if(u==="none")return;g(s,function(y){var w=y.getData(),b=w.mapDimension(r,!0);if(!b.length)return;u==="weakFilter"?w.filterSelf(function(x){for(var O,T,E,C=0;C<b.length;C++){var _=w.get(b[C],x),L=!isNaN(_),P=_<h[0],k=_>h[1];if(L&&!P&&!k)return!0;L&&(E=!0),P&&(O=!0),k&&(T=!0)}return E&&O&&T}):g(b,function(x){if(u==="empty")y.setData(w=w.map(x,function(T){return A(T)?T:NaN}));else{var O={};O[x]=h,w.selectRange(O)}}),g(b,function(x){w.setApproximateExtent(h,x)})});function A(y){return y>=h[0]&&y<=h[1]}}};function c(e,l,r){var s=[Infinity,-Infinity];return g(r,function(u){var h=u.getData();h&&g(h.mapDimension(l,!0),function(A){var y=h.getApproximateExtent(A);y[0]<s[0]&&(s[0]=y[0]),y[1]>s[1]&&(s[1]=y[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),o(e,s),s}function o(e,l){var r=e.getAxisModel(),s=r.getMin(!0),u=r.get("type")==="category",h=u&&r.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?l[0]=s:u&&(l[0]=h>0?0:NaN);var A=r.getMax(!0);return A!=null&&A!=="dataMax"&&typeof A!="function"?l[1]=A:u&&(l[1]=h>0?h-1:NaN),r.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function i(e,l){var r=e.getAxisModel(),s=e._percentWindow,u=e._valueWindow;if(!s)return;var h=p.getPixelPrecision(u,[0,500]);h=Math.min(h,20);var A=l||s[0]===0&&s[1]===100;r.setRange(A?null:+u[0].toFixed(h),A?null:+u[1].toFixed(h))}function t(e){var l=e._minMaxSpan={},r=e._dataZoomModel,s=e._dataExtent;g(["min","max"],function(u){var h=r.get(u+"Span"),A=r.get(u+"ValueSpan");A!=null&&(A=e.getAxisModel().axis.scale.parse(A)),A!=null?h=p.linearMap(s[0]+A,s,[0,100],!0):h!=null&&(A=p.linearMap(h,[0,100],s,!0)-s[0]),l[u+"Span"]=h,l[u+"ValueSpan"]=A})}var a=d;M.exports=a},zM3Q:function(M,N,n){var v=n("4NO4"),p=v.makeInner;function S(){var m=p();return function(g){var f=m(g),d=g.pipelineContext,c=f.large,o=f.progressiveRender,i=f.large=d&&d.large,t=f.progressiveRender=d&&d.progressiveRender;return!!(c^i||o^t)&&"reset"}}M.exports=S},zRKj:function(M,N,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zTMp:function(M,N,n){var v=n("bYtY"),p=n("Qxkt"),S=v.each,m=v.curry;function g(s,u){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return f(h,s,u),h.seriesInvolved&&c(h,s),h}function f(s,u,h){var A=u.getComponent("tooltip"),y=u.getComponent("axisPointer"),w=y.get("link",!0)||[],b=[];S(h.getCoordinateSystems(),function(x){if(!x.axisPointerEnabled)return;var O=r(x.model),T=s.coordSysAxesInfo[O]={};s.coordSysMap[O]=x;var E=x.model,C=E.getModel("tooltip",A);if(S(x.getAxes(),m(k,!1,null)),x.getTooltipAxes&&A&&C.get("show")){var _=C.get("trigger")==="axis",L=C.get("axisPointer.type")==="cross",P=x.getTooltipAxes(C.get("axisPointer.axis"));(_||L)&&S(P.baseAxes,m(k,L?"cross":!0,_)),L&&S(P.otherAxes,m(k,"cross",!1))}function k(F,j,z){var R=z.model.getModel("axisPointer",y),U=R.get("show");if(!U||U==="auto"&&!F&&!l(R))return;j==null&&(j=R.get("triggerTooltip")),R=F?d(z,C,y,u,F,j):R;var B=R.get("snap"),H=r(z.model),K=j||B||z.type==="category",V=s.axesInfo[H]={key:H,axis:z,coordSys:x,axisPointerModel:R,triggerTooltip:j,involveSeries:K,snap:B,useHandle:l(R),seriesModels:[]};T[H]=V,s.seriesInvolved|=K;var W=o(w,z);if(W!=null){var G=b[W]||(b[W]={axesInfo:{}});G.axesInfo[H]=V,G.mapper=w[W].mapper,V.linkGroup=G}}})}function d(s,u,h,A,y,w){var b=u.getModel("axisPointer"),x={};S(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){x[C]=v.clone(b.get(C))}),x.snap=s.type!=="category"&&!!w,b.get("type")==="cross"&&(x.type="line");var O=x.label||(x.label={});if(O.show==null&&(O.show=!1),y==="cross"){var T=b.get("label.show");if(O.show=T!=null?T:!0,!w){var E=x.lineStyle=b.get("crossStyle");E&&v.defaults(O,E.textStyle)}}return s.model.getModel("axisPointer",new p(x,h,A))}function c(s,u){u.eachSeries(function(h){var A=h.coordinateSystem,y=h.get("tooltip.trigger",!0),w=h.get("tooltip.show",!0);if(!A||y==="none"||y===!1||y==="item"||w===!1||h.get("axisPointer.show",!0)===!1)return;S(s.coordSysAxesInfo[r(A.model)],function(b){var x=b.axis;A.getAxis(x.dim)===x&&(b.seriesModels.push(h),b.seriesDataCount==null&&(b.seriesDataCount=0),b.seriesDataCount+=h.getData().count())})},this)}function o(s,u){for(var h=u.model,A=u.dim,y=0;y<s.length;y++){var w=s[y]||{};if(i(w[A+"AxisId"],h.id)||i(w[A+"AxisIndex"],h.componentIndex)||i(w[A+"AxisName"],h.name))return y}}function i(s,u){return s==="all"||v.isArray(s)&&v.indexOf(s,u)>=0||s===u}function t(s){var u=a(s);if(!u)return;var h=u.axisPointerModel,A=u.axis.scale,y=h.option,w=h.get("status"),b=h.get("value");b!=null&&(b=A.parse(b));var x=l(h);w==null&&(y.status=x?"show":"hide");var O=A.getExtent().slice();O[0]>O[1]&&O.reverse(),(b==null||b>O[1])&&(b=O[1]),b<O[0]&&(b=O[0]),y.value=b,x&&(y.status=u.axis.scale.isBlank()?"hide":"show")}function a(s){var u=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return u&&u.axesInfo[r(s)]}function e(s){var u=a(s);return u&&u.axisPointerModel}function l(s){return!!s.get("handle.show")}function r(s){return s.type+"||"+s.id}N.collect=g,N.fixValue=t,N.getAxisInfo=a,N.getAxisPointerModel=e,N.makeKey=r},zYTA:function(M,N,n){var v=n("bYtY"),p=256;function S(){var g=v.createCanvas();this.canvas=g,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}S.prototype={update:function(g,f,d,c,o,i){var t=this._getBrush(),a=this._getGradient(g,o,"inRange"),e=this._getGradient(g,o,"outOfRange"),l=this.pointSize+this.blurSize,r=this.canvas,s=r.getContext("2d"),u=g.length;r.width=f,r.height=d;for(var h=0;h<u;++h){var A=g[h],y=A[0],w=A[1],b=A[2],x=c(b);s.globalAlpha=x,s.drawImage(t,y-l,w-l)}if(!r.width||!r.height)return r;for(var O=s.getImageData(0,0,r.width,r.height),T=O.data,E=0,C=T.length,_=this.minOpacity,L=this.maxOpacity,P=L-_;E<C;){var x=T[E+3]/256,k=Math.floor(x*(p-1))*4;if(x>0){var F=i(x)?a:e;x>0&&(x=x*P+_),T[E++]=F[k],T[E++]=F[k+1],T[E++]=F[k+2],T[E++]=F[k+3]*x*256}else E+=4}return s.putImageData(O,0,0),r},_getBrush:function(){var g=this._brushCanvas||(this._brushCanvas=v.createCanvas()),f=this.pointSize+this.blurSize,d=f*2;g.width=d,g.height=d;var c=g.getContext("2d");return c.clearRect(0,0,d,d),c.shadowOffsetX=d,c.shadowBlur=this.blurSize,c.shadowColor="#000",c.beginPath(),c.arc(-f,f,this.pointSize,0,Math.PI*2,!0),c.closePath(),c.fill(),g},_getGradient:function(g,f,d){for(var c=this._gradientPixels,o=c[d]||(c[d]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],t=0,a=0;a<256;a++)f[d](a/255,!0,i),o[t++]=i[0],o[t++]=i[1],o[t++]=i[2],o[t++]=i[3];return o}};var m=S;M.exports=m},zarK:function(M,N,n){var v=n("YH21"),p=v.addEventListener,S=v.removeEventListener,m=v.normalizeEvent,g=v.getNativeEvent,f=n("bYtY"),d=n("H6uX"),c=n("ItGF"),o=300,i=c.domSupported,t=function(){var F=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],j=["touchstart","touchend","touchmove"],z={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},R=f.map(F,function(U){var B=U.replace("mouse","pointer");return z.hasOwnProperty(B)?B:U});return{mouse:F,touch:j,pointer:R}}(),a={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function e(F){return F==="mousewheel"&&c.browser.firefox?"DOMMouseScroll":F}function l(F){var j=F.pointerType;return j==="pen"||j==="touch"}function r(F){F.touching=!0,F.touchTimer!=null&&(clearTimeout(F.touchTimer),F.touchTimer=null),F.touchTimer=setTimeout(function(){F.touching=!1,F.touchTimer=null},700)}function s(F){F&&(F.zrByTouch=!0)}function u(F,j){return m(F.dom,new A(F,j),!0)}function h(F,j){for(var z=j,R=!1;z&&z.nodeType!==9&&!(R=z.domBelongToZr||z!==j&&z===F.painterRoot);)z=z.parentNode;return R}function A(F,j){this.type=j.type,this.target=this.currentTarget=F.dom,this.pointerType=j.pointerType,this.clientX=j.clientX,this.clientY=j.clientY}var y=A.prototype;y.stopPropagation=y.stopImmediatePropagation=y.preventDefault=f.noop;var w={mousedown:function(j){j=m(this.dom,j),this._mayPointerCapture=[j.zrX,j.zrY],this.trigger("mousedown",j)},mousemove:function(j){j=m(this.dom,j);var z=this._mayPointerCapture;z&&(j.zrX!==z[0]||j.zrY!==z[1])&&C(this,!0),this.trigger("mousemove",j)},mouseup:function(j){j=m(this.dom,j),C(this,!1),this.trigger("mouseup",j)},mouseout:function(j){j=m(this.dom,j),this._pointerCapturing&&(j.zrEventControl="no_globalout");var z=j.toElement||j.relatedTarget;j.zrIsToLocalDOM=h(this,z),this.trigger("mouseout",j)},touchstart:function(j){j=m(this.dom,j),s(j),this._lastTouchMoment=new Date,this.handler.processGesture(j,"start"),w.mousemove.call(this,j),w.mousedown.call(this,j)},touchmove:function(j){j=m(this.dom,j),s(j),this.handler.processGesture(j,"change"),w.mousemove.call(this,j)},touchend:function(j){j=m(this.dom,j),s(j),this.handler.processGesture(j,"end"),w.mouseup.call(this,j),+new Date-this._lastTouchMoment<o&&w.click.call(this,j)},pointerdown:function(j){w.mousedown.call(this,j)},pointermove:function(j){l(j)||w.mousemove.call(this,j)},pointerup:function(j){w.mouseup.call(this,j)},pointerout:function(j){l(j)||w.mouseout.call(this,j)}};f.each(["click","mousewheel","dblclick","contextmenu"],function(F){w[F]=function(j){j=m(this.dom,j),this.trigger(F,j)}});var b={pointermove:function(j){l(j)||b.mousemove.call(this,j)},pointerup:function(j){b.mouseup.call(this,j)},mousemove:function(j){this.trigger("mousemove",j)},mouseup:function(j){var z=this._pointerCapturing;C(this,!1),this.trigger("mouseup",j),z&&(j.zrEventControl="only_globalout",this.trigger("mouseout",j))}};function x(F,j){var z=j.domHandlers;c.pointerEventsSupported?f.each(t.pointer,function(R){T(j,R,function(U){z[R].call(F,U)})}):(c.touchEventsSupported&&f.each(t.touch,function(R){T(j,R,function(U){z[R].call(F,U),r(j)})}),f.each(t.mouse,function(R){T(j,R,function(U){U=g(U),j.touching||z[R].call(F,U)})}))}function O(F,j){c.pointerEventsSupported?f.each(a.pointer,z):c.touchEventsSupported||f.each(a.mouse,z);function z(R){function U(B){B=g(B),h(F,B.target)||(B=u(F,B),j.domHandlers[R].call(F,B))}T(j,R,U,{capture:!0})}}function T(F,j,z,R){F.mounted[j]=z,F.listenerOpts[j]=R,p(F.domTarget,e(j),z,R)}function E(F){var j=F.mounted;for(var z in j)j.hasOwnProperty(z)&&S(F.domTarget,e(z),j[z],F.listenerOpts[z]);F.mounted={}}function C(F,j){if(F._mayPointerCapture=null,i&&F._pointerCapturing^j){F._pointerCapturing=j;var z=F._globalHandlerScope;j?O(F,z):E(z)}}function _(F,j){this.domTarget=F,this.domHandlers=j,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(F,j){d.call(this),this.dom=F,this.painterRoot=j,this._localHandlerScope=new _(F,w),i&&(this._globalHandlerScope=new _(document,b)),this._pointerCapturing=!1,this._mayPointerCapture=null,x(this,this._localHandlerScope)}var P=L.prototype;P.dispose=function(){E(this._localHandlerScope),i&&E(this._globalHandlerScope)},P.setCursor=function(F){this.dom.style&&(this.dom.style.cursor=F||"default")},f.mixin(L,d);var k=L;M.exports=k},zdCA:function(M,N,n){"use strict";var v=n("TqRt"),p=n("cDf5");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=v(n("3tO9")),m=c(n("q1tI")),g=v(n("PSzr")),f=v(n("KQxl"));function d(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,e=new WeakMap;return(d=function(r){return r?e:a})(t)}function c(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||p(t)!=="object"&&typeof t!="function")return{default:t};var e=d(a);if(e&&e.has(t))return e.get(t);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var u=r?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}return l.default=t,e&&e.set(t,l),l}var o=function(a,e){return m.createElement(f.default,(0,S.default)((0,S.default)({},a),{},{ref:e,icon:g.default}))};o.displayName="BarsOutlined";var i=m.forwardRef(o);N.default=i},zeV3:function(M,N,n){"use strict";var v=n("pVnL"),p=n.n(v),S=n("lSNA"),m=n.n(S),g=n("q1tI"),f=n.n(g),d=n("TSYQ"),c=n.n(d),o=n("H84U"),i=function(e,l){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&l.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,s=Object.getOwnPropertySymbols(e);u<s.length;u++)l.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(e,s[u])&&(r[s[u]]=e[s[u]]);return r},t={small:8,middle:16,large:24},a=function(l){var r,s=g.useContext(o.b),u=s.getPrefixCls,h=s.space,A=s.direction,y=l.size,w=y===void 0?(h==null?void 0:h.size)||"small":y,b=l.align,x=l.className,O=l.children,T=l.direction,E=T===void 0?"horizontal":T,C=l.prefixCls,_=i(l,["size","align","className","children","direction","prefixCls"]),L=g.Children.count(O);if(L===0)return null;var P=b===void 0&&E==="horizontal"?"center":b,k=u("space",C),F=c()(k,"".concat(k,"-").concat(E),(r={},m()(r,"".concat(k,"-rtl"),A==="rtl"),m()(r,"".concat(k,"-align-").concat(P),P),r),x),j="".concat(k,"-item"),z=A==="rtl"?"marginLeft":"marginRight";return g.createElement("div",p()({className:F},_),g.Children.map(O,function(R,U){return g.createElement("div",{className:j,key:"".concat(j,"-").concat(U),style:U===L-1||R===null||R===void 0?{}:m()({},E==="vertical"?"marginBottom":z,typeof w=="string"?t[w]:w)},R)}))};N.a=a},zoYe:function(M,N,n){var v=n("nmnc"),p=n("eUgh"),S=n("Z0cm"),m=n("/9aa"),g=1/0,f=v?v.prototype:void 0,d=f?f.toString:void 0;function c(o){if(typeof o=="string")return o;if(S(o))return p(o,c)+"";if(m(o))return d?d.call(o):"";var i=o+"";return i=="0"&&1/o==-g?"-0":i}M.exports=c},zuHt:function(M,N,n){var v=n("bYtY");function p(S){var m={};S.eachSeriesByType("map",function(g){var f=g.getMapType();if(g.getHostGeoModel()||m[f])return;var d={};v.each(g.seriesGroup,function(o){var i=o.coordinateSystem,t=o.originalData;o.get("showLegendSymbol")&&S.getComponent("legend")&&t.each(t.mapDimension("value"),function(a,e){var l=t.getName(e),r=i.getRegion(l);if(!r||isNaN(a))return;var s=d[l]||0,u=i.dataToPoint(r.center);d[l]=s+1,t.setItemLayout(e,{point:u,offset:s})})});var c=g.getData();c.each(function(o){var i=c.getName(o),t=c.getItemLayout(o)||{};t.showLabel=!d[i],c.setItemLayout(o,t)}),m[f]=!0})}M.exports=p}}]);