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.d955a4e2.async.js

950 lines
4.3 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(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("6MrE"),A=d.n(C)},"+QRC":function(H,k,d){"use strict";var _=d("E9nw"),x={"text/plain":"Text","text/html":"Url",default:"Text"},C="Copy to clipboard: #{key}, Enter";function A(m){var p=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return m.replace(/#{\s*key\s*}/g,p)}function b(m,p){var c,o,r,i,n,t,s=!1;p||(p={}),c=p.debug||!1;try{r=_(),i=document.createRange(),n=document.getSelection(),t=document.createElement("span"),t.textContent=m,t.style.all="unset",t.style.position="fixed",t.style.top=0,t.style.clip="rect(0, 0, 0, 0)",t.style.whiteSpace="pre",t.style.webkitUserSelect="text",t.style.MozUserSelect="text",t.style.msUserSelect="text",t.style.userSelect="text",t.addEventListener("copy",function(a){if(a.stopPropagation(),p.format)if(a.preventDefault(),typeof a.clipboardData=="undefined"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=x[p.format]||x.default;window.clipboardData.setData(l,m)}else a.clipboardData.clearData(),a.clipboardData.setData(p.format,m);p.onCopy&&(a.preventDefault(),p.onCopy(a.clipboardData))}),document.body.appendChild(t),i.selectNodeContents(t),n.addRange(i);var e=document.execCommand("copy");if(!e)throw new Error("copy command was unsuccessful");s=!0}catch(a){c&&console.error("unable to copy using execCommand: ",a),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(p.format||"text",m),p.onCopy&&p.onCopy(window.clipboardData),s=!0}catch(l){c&&console.error("unable to copy using clipboardData: ",l),c&&console.error("falling back to prompt"),o=A("message"in p?p.message:C),window.prompt(o,m)}}finally{n&&(typeof n.removeRange=="function"?n.removeRange(i):n.removeAllRanges()),t&&document.body.removeChild(t),r()}return s}H.exports=b},"+TT/":function(H,k,d){var _=d("bYtY"),x=d("mFDi"),C=d("OELB"),A=C.parsePercent,b=d("7aKB"),m=_.each,p=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function o(f,g,v,y,E){var T=0,w=0;y==null&&(y=Infinity),E==null&&(E=Infinity);var S=0;g.eachChild(function(I,L){var O=I.position,N=I.getBoundingRect(),R=g.childAt(L+1),D=R&&R.getBoundingRect(),B,M;if(f==="horizontal"){var U=N.width+(D?-D.x+N.x:0);B=T+U,B>y||I.newline?(T=0,B=U,w+=S+v,S=N.height):S=Math.max(S,N.height)}else{var F=N.height+(D?-D.y+N.y:0);M=w+F,M>E||I.newline?(T+=S+v,w=0,M=F,S=N.width):S=Math.max(S,N.width)}if(I.newline)return;O[0]=T,O[1]=w,f==="horizontal"?T=B+v:w=M+v})}var r=o,i=_.curry(o,"vertical"),n=_.curry(o,"horizontal");function t(f,g,v){var y=g.width,E=g.height,T=A(f.x,y),w=A(f.y,E),S=A(f.x2,y),I=A(f.y2,E);return(isNaN(T)||isNaN(parseFloat(f.x)))&&(T=0),(isNaN(S)||isNaN(parseFloat(f.x2)))&&(S=y),(isNaN(w)||isNaN(parseFloat(f.y)))&&(w=0),(isNaN(I)||isNaN(parseFloat(f.y2)))&&(I=E),v=b.normalizeCssArray(v||0),{width:Math.max(S-T-v[1]-v[3],0),height:Math.max(I-w-v[0]-v[2],0)}}function s(f,g,v){v=b.normalizeCssArray(v||0);var y=g.width,E=g.height,T=A(f.left,y),w=A(f.top,E),S=A(f.right,y),I=A(f.bottom,E),L=A(f.width,y),O=A(f.height,E),N=v[2]+v[0],R=v[1]+v[3],D=f.aspect;isNaN(L)&&(L=y-S-R-T),isNaN(O)&&(O=E-I-N-w),D!=null&&(isNaN(L)&&isNaN(O)&&(D>y/E?L=y*.8:O=E*.8),isNaN(L)&&(L=D*O),isNaN(O)&&(O=L/D)),isNaN(T)&&(T=y-S-L-R),isNaN(w)&&(w=E-I-O-N);switch(f.left||f.right){case"center":T=y/2-L/2-v[3];break;case"right":T=y-L-R;break}switch(f.top||f.bottom){case"middle":case"center":w=E/2-O/2-v[0];break;case"bottom":w=E-O-N;break}T=T||0,w=w||0,isNaN(L)&&(L=y-R-T-(S||0)),isNaN(O)&&(O=E-N-w-(I||0));var B=new x(T+v[3],w+v[0],L,O);return B.margin=v,B}function e(f,g,v,y,E){var T=!E||!E.hv||E.hv[0],w=!E||!E.hv||E.hv[1],S=E&&E.boundingMode||"all";if(!T&&!w)return;var I;if(S==="raw")I=f.type==="group"?new x(0,0,+g.width||0,+g.height||0):f.getBoundingRect();else if(I=f.getBoundingRect(),f.needLocalTransform()){var L=f.getLocalTransform();I=I.clone(),I.applyTransform(L)}g=s(_.defaults({width:I.width,height:I.height},g),v,y);var O=f.position,N=T?g.x-I.x:0,R=w?g.y-I.y:0;f.attr("position",S==="raw"?[N,R]:[O[0]+N,O[1]+R])}function a(f,g){return f[c[g][0]]!=null||f[c[g][1]]!=null&&f[c[g][2]]!=null}function l(f,g,v){!_.isObject(v)&&(v={});var y=v.ignoreSize;!_.isArray(y)&&(y=[y,y]);var E=w(c[0],0),T=w(c[1],1);L(c[0],f,E),L(c[1],f,T);function w(O,N){var R={},D=0,B={},M=0,U=2;if(m(O,function(W){B[W]=f[W]}),m(O,function(W){S(g,W)&&(R[W]=B[W]=g[W]),I(R,W)&&D++,I(B,W)&&M++}),y[N])return I(g,O[1])?B[O[2]]=null:I(g,O[2])&&(B[O[1]]=null),B;if(M===U||!D)return B;if(D>=U)return R;for(var F=0;F<O.length;F++){var j=O[F];if(!S(R,j)&&S(f,j)){R[j]=f[j];break}}return R}function S(O,N){return O.hasOwnProperty(N)}function I(O,N){return O[N]!=null&&O[N]!=="auto"}function L(O,N,R){m(O,function(D){N[D]=R[D]})}}function u(f){return h({},f)}function h(f,g){return g&&f&&m(p,function(v){g.hasOwnProperty(v)&&(f[v]=g[v])}),f}k.LOCATION_PARAMS=p,k.HV_NAMES=c,k.box=r,k.vbox=i,k.hbox=n,k.getAvailableSize=t,k.getLayoutRect=s,k.positionElement=e,k.sizeCalculable=a,k.mergeLayoutParam=l,k.getLayoutParams=u,k.copyLayoutParams=h},"+Zaj":function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("ugBc")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="CalendarOutlined";var c=A.forwardRef(p);k.default=c},"+d4F":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("y3Yb"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},"+eQT":function(H,k,d){"use strict";var _=d("wd/R"),x=d.n(_),C=d("Kwbf"),A={getNow:function(){return x()()},getWeekDay:function(It){var lr=It.clone().locale("en_US");return lr.weekday()+lr.localeData().firstDayOfWeek()},getYear:function(It){return It.year()},getMonth:function(It){return It.month()},getDate:function(It){return It.date()},getHour:function(It){return It.hour()},getMinute:function(It){return It.minute()},getSecond:function(It){return It.second()},addYear:function(It,lr){var sr=It.clone();return sr.add(lr,"year")},addMonth:function(It,lr){var sr=It.clone();return sr.add(lr,"month")},addDate:function(It,lr){var sr=It.clone();return sr.add(lr,"day")},setYear:function(It,lr){var sr=It.clone();return sr.year(lr)},setMonth:function(It,lr){var sr=It.clone();return sr.month(lr)},setDate:function(It,lr){var sr=It.clone();return sr.date(lr)},setHour:function(It,lr){var sr=It.clone();return sr.hour(lr)},setMinute:function(It,lr){var sr=It.clone();return sr.minute(lr)},setSecond:function(It,lr){var sr=It.clone();return sr.second(lr)},isAfter:function(It,lr){return It.isAfter(lr)},isValidate:function(It){return It.isValid()},locale:{getWeekFirstDay:function(It){var lr=x()().locale(It);return lr.localeData().firstDayOfWeek()},getWeek:function(It,lr){var sr=lr.clone(),Lr=sr.locale(It);return Lr.week()},getShortWeekDays:function(It){var lr=x()().locale(It);return lr.localeData().weekdaysMin()},getShortMonths:function(It){var lr=x()().locale(It);return lr.localeData().monthsShort()},format:function(It,lr,sr){var Lr=lr.clone(),Pr=Lr.locale(It);return Pr.format(sr)},parse:function(It,lr,sr){for(var Lr=[],Pr=0;Pr<sr.length;Pr+=1){var Kr=sr[Pr],on=lr;if(Kr.includes("wo")||Kr.includes("Wo")){Kr=Kr.replace(/wo/g,"w").replace(/Wo/g,"W");var xn=Kr.match(/[-YyMmDdHhSsWwGg]+/g),An=on.match(/[-\d]+/g);xn&&An?(Kr=xn.join(""),on=An.join("")):Lr.push(Kr.replace(/o/g,""))}var Pn=x()(on,Kr,It,!0);if(Pn.isValid())return Pn}for(var Un=0;Un<Lr.length;Un+=1){var bn=x()(lr,Lr[Un],It,!1);if(bn.isValid())return Object(C.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),bn}return null}}},b=A,m=d("pVnL"),p=d.n(m),c=d("q1tI"),o=d("2/Rp");function r(Ye){return c.createElement(o.a,p()({size:"small",type:"primary"},Ye))}var i=d("mr32");function n(Ye){return c.createElement(i.a,p()({color:"blue"},Ye))}var t=d("lSNA"),s=d.n(t),e=d("lwsE"),a=d.n(e),l=d("W8MJ"),u=d.n(l),h=d("7W2i"),f=d.n(h),g=d("LQ03"),v=d.n(g),y=d("TSYQ"),E=d.n(y),T=d("r/2G"),w=d.n(T),S=d("XzQk"),I=d.n(S),L=d("kbBi"),O=d.n(L),N=d("1OyB"),R=d("vuIU"),D=d("Ji7U"),B=d("LK+K"),M=d("rePB"),U=d("VTBJ"),F=d("ODXe"),j=d("6cGi"),W=d("U8pU"),V=d("4IlW"),z=c.createContext({}),Y=z,J={visibility:"hidden"};function ie(Ye){var It=Ye.prefixCls,lr=Ye.prevIcon,sr=lr===void 0?"\u2039":lr,Lr=Ye.nextIcon,Pr=Lr===void 0?"\u203A":Lr,Kr=Ye.superPrevIcon,on=Kr===void 0?"\xAB":Kr,xn=Ye.superNextIcon,An=xn===void 0?"\xBB":xn,Pn=Ye.onSuperPrev,Un=Ye.onSuperNext,bn=Ye.onPrev,_n=Ye.onNext,Tn=Ye.children,Wn=c.useContext(Y),Gn=Wn.hideNextBtn,ri=Wn.hidePrevBtn;return c.createElement("div",{className:It},Pn&&c.createElement("button",{type:"button",onClick:Pn,tabIndex:-1,className:"".concat(It,"-super-prev-btn"),style:ri?J:{}},on),bn&&c.createElement("button",{type:"button",onClick:bn,tabIndex:-1,className:"".concat(It,"-prev-btn"),style:ri?J:{}},sr),c.createElement("div",{className:"".concat(It,"-view")},Tn),_n&&c.createElement("button",{type:"button",onClick:_n,tabIndex:-1,className:"".concat(It,"-next-btn"),style:Gn?J:{}},Pr),Un&&c.createElement("button",{type:"button",onClick:Un,tabIndex:-1,className:"".concat(It,"-super-next-btn"),style:Gn?J:{}},An))}var Z=ie;function oe(Ye){var It=c.useContext(Y),lr=It.hideHeader;if(lr)return null;var sr=Ye.prefixCls,Lr=Ye.generateConfig,Pr=Ye.locale,Kr=Ye.value,on=Ye.format,xn="".concat(sr,"-header");return c.createElement(Z,{prefixCls:xn},Kr?Lr.locale.format(Pr.locale,Kr,on):"\xA0")}var ge=oe,pe=d("YrtM"),De=d("KQm4"),ce=new Map;function Oe(Ye,It,lr){if(ce.get(Ye)&&cancelAnimationFrame(ce.get(Ye)),lr<=0){ce.set(Ye,requestAnimationFrame(function(){Ye.scrollTop=It}));return}var sr=It-Ye.scrollTop,Lr=sr/lr*10;ce.set(Ye,requestAnimationFrame(function(){Ye.scrollTop+=Lr,Ye.scrollTop!==It&&Oe(Ye,It,lr-10)}))}function se(Ye,It){var lr=It.onLeftRight,sr=It.onCtrlLeftRight,Lr=It.onUpDown,Pr=It.onPageUpDown,Kr=It.onEnter,on=Ye.which,xn=Ye.ctrlKey,An=Ye.metaKey;switch(on){case V.a.LEFT:if(xn||An){if(sr)return sr(-1),!0}else if(lr)return lr(-1),!0;break;case V.a.RIGHT:if(xn||An){if(sr)return sr(1),!0}else if(lr)return lr(1),!0;break;case V.a.UP:if(Lr)return Lr(-1),!0;break;case V.a.DOWN:if(Lr)return Lr(1),!0;break;case V.a.PAGE_UP:if(Pr)return Pr(-1),!0;break;case V.a.PAGE_DOWN:if(Pr)return Pr(1),!0;break;case V.a.ENTER:if(Kr)return Kr(),!0;break}return!1}function $(Ye,It,lr,sr){var Lr=Ye;if(!Lr)switch(It){case"time":Lr=sr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Lr="gggg-wo";break;case"month":Lr="YYYY-MM";break;case"quarter":Lr="YYYY-[Q]Q";break;case"year":Lr="YYYY";break;default:Lr=lr?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Lr}function ze(Ye,It){var lr=Ye==="time"?8:10;return Math.max(lr,It.length)+2}var re=null,X=new Set;function G(Ye){return!re&&typeof window!="undefined"&&window.addEventListener&&(re=function(lr){Object(De.a)(X).forEach(function(sr){sr(lr)})},window.addEventListener("mousedown",re)),X.add(Ye),function(){X.delete(Ye),X.size===0&&(window.removeEventListener("mousedown",re),re=null)}}var Q=function(It){return It==="month"||It==="date"?"year":It},ve=function(It){return It==="date"?"month":It},de=function(It){return It==="month"||It==="date"?"quarter":It},Ce=function(It){return It==="date"?"week":It},we={year:Q,month:ve,quarter:de,week:Ce,time:null,date:null};function le(Ye,It){return Ye.some(function(lr){return lr&&lr.contains(It)})}function fe(Ye){var It=Ye.prefixCls,lr=Ye.units,sr=Ye.onSelect,Lr=Ye.value,Pr=Ye.active,Kr=Ye.hideDisabledOptions,on="".concat(It,"-cell"),xn=c.useContext(Y),An=xn.open,Pn=c.useRef(null),Un=c.useRef(new Map);return c.useLayoutEffect(function(){var bn=Un.current.get(Lr);bn&&An!==!1&&Oe(Pn.current,bn.offsetTop,120)},[Lr]),c.useLayoutEffect(function(){if(An){var bn=Un.current.get(Lr);bn&&Oe(Pn.current,bn.offsetTop,0)}},[An]),c.createElement("ul",{className:E()("".concat(It,"-column"),Object(M.a)({},"".concat(It,"-column-active"),Pr)),ref:Pn,style:{position:"relative"}},lr.map(function(bn){var _n;return Kr&&bn.disabled?null:c.createElement("li",{key:bn.value,ref:function(Wn){Un.current.set(bn.value,Wn)},className:E()(on,(_n={},Object(M.a)(_n,"".concat(on,"-disabled"),bn.disabled),Object(M.a)(_n,"".concat(on,"-selected"),Lr===bn.value),_n)),onClick:function(){if(bn.disabled)return;sr(bn.value)}},c.createElement("div",{className:"".concat(on,"-inner")},bn.label))}))}var xe=fe;function We(Ye,It){for(var lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",sr=String(Ye);sr.length<It;)sr="".concat(lr).concat(Ye);return sr}var nt=function(){for(var It=arguments.length,lr=new Array(It),sr=0;sr<It;sr++)lr[sr]=arguments[sr];return lr};function $e(Ye){return Ye==null?[]:Array.isArray(Ye)?Ye:[Ye]}function Le(Ye){var It={};return Object.keys(Ye).forEach(function(lr){(lr.substr(0,5)==="data-"||lr.substr(0,5)==="aria-"||lr==="role"||lr==="name")&&lr.substr(0,7)!=="data-__"&&(It[lr]=Ye[lr])}),It}function pt(Ye,It){return Ye?Ye[It]:null}function Qe(Ye,It,lr){var sr=[pt(Ye,0),pt(Ye,1)];return sr[lr]=typeof It=="function"?It(sr[lr]):It,!sr[0]&&!sr[1]?null:sr}function gt(Ye,It,lr,sr,Lr){var Pr=Ye.setHour(It,lr);return Pr=Ye.setMinute(Pr,sr),Pr=Ye.setSecond(Pr,Lr),Pr}function wt(Ye,It,lr,sr,Lr,Pr){var Kr=Math.floor(Ye/sr)*sr;if(Kr<Ye)return[Kr,60-Lr,60-Pr];var on=Math.floor(It/Lr)*Lr;if(on<It)return[Kr,on,60-Pr];var xn=Math.floor(lr/Pr)*Pr;return[Kr,on,xn]}function Et(Ye,It){if(Ye.length!==It.length)return!0;for(var lr=0;lr<Ye.length;lr+=1)if(Ye[lr].disabled!==It[lr].disabled)return!0;return!1}function _t(Ye,It,lr,sr){for(var Lr=[],Pr=Ye;Pr<=It;Pr+=lr)Lr.push({label:We(Pr,2),value:Pr,disabled:(sr||[]).includes(Pr)});return Lr}function Ht(Ye){var It=Ye.generateConfig,lr=Ye.prefixCls,sr=Ye.operationRef,Lr=Ye.activeColumnIndex,Pr=Ye.value,Kr=Ye.showHour,on=Ye.showMinute,xn=Ye.showSecond,An=Ye.use12Hours,Pn=Ye.hourStep,Un=Pn===void 0?1:Pn,bn=Ye.minuteStep,_n=bn===void 0?1:bn,Tn=Ye.secondStep,Wn=Tn===void 0?1:Tn,Gn=Ye.disabledHours,ri=Ye.disabledMinutes,Si=Ye.disabledSeconds,oi=Ye.hideDisabledOptions,Pi=Ye.onSelect,Hi=[],_i="".concat(lr,"-content"),pi="".concat(lr,"-time-panel"),ki,zn=Pr?It.getHour(Pr):-1,ji=Pr?It.getMinute(Pr):-1,Yi=Pr?It.getSecond(Pr):-1,ta=function(fn,Dn,li,di){var Ri=Pr||It.getNow(),la=Math.max(0,Dn),na=Math.max(0,li),ga=Math.max(0,di);return Ri=gt(It,Ri,!An||!fn?la:la+12,na,ga),Ri},Zi=_t(0,23,Un,Gn&&Gn()),br=Object(pe.a)(function(){return Zi},Zi,Et);An&&(ki=zn>=12,zn%=12);var Wr=c.useMemo(function(){if(!An)return[!1,!1];var qr=[!0,!0];return br.forEach(function(fn){var Dn=fn.disabled,li=fn.value;if(Dn)return;li>=12?qr[1]=!1:qr[0]=!1}),qr},[An,br]),nn=Object(F.a)(Wr,2),Nr=nn[0],jt=nn[1],xr=c.useMemo(function(){return An?br.filter(ki?function(qr){return qr.value>=12}:function(qr){return qr.value<12}).map(function(qr){var fn=qr.value%12,Dn=fn===0?"12":We(fn,2);return Object(U.a)(Object(U.a)({},qr),{},{label:Dn,value:fn})}):br},[An,br]),$t=_t(0,59,_n,ri&&ri(zn)),jr=_t(0,59,Wn,Si&&Si(zn,ji));sr.current={onUpDown:function(fn){var Dn=Hi[Lr];if(Dn)for(var li=Dn.units.findIndex(function(na){return na.value===Dn.value}),di=Dn.units.length,Ri=1;Ri<di;Ri+=1){var la=Dn.units[(li+fn*Ri+di)%di];if(la.disabled!==!0){Dn.onSelect(la.value);break}}}};function Hr(qr,fn,Dn,li,di){qr!==!1&&Hi.push({node:c.cloneElement(fn,{prefixCls:pi,value:Dn,active:Lr===Hi.length,onSelect:di,units:li,hideDisabledOptions:oi}),onSelect:di,value:Dn,units:li})}Hr(Kr,c.createElement(xe,{key:"hour"}),zn,xr,function(qr){Pi(ta(ki,qr,ji,Yi),"mouse")}),Hr(on,c.createElement(xe,{key:"minute"}),ji,$t,function(qr){Pi(ta(ki,zn,qr,Yi),"mouse")}),Hr(xn,c.createElement(xe,{key:"second"}),Yi,jr,function(qr){Pi(ta(ki,zn,ji,qr),"mouse")});var ln=-1;return typeof ki=="boolean"&&(ln=ki?1:0),Hr(An===!0,c.createElement(xe,{key:"12hours"}),ln,[{label:"AM",value:0,disabled:Nr},{label:"PM",value:1,disabled:jt}],function(qr){Pi(ta(!!qr,zn,ji,Yi),"mouse")}),c.createElement("div",{className:_i},Hi.map(function(qr){var fn=qr.node;return fn}))}var Ze=Ht,ye=function(It){return It.filter(function(lr){return lr!==!1}).length};function ae(Ye){var It=Ye.generateConfig,lr=Ye.format,sr=lr===void 0?"HH:mm:ss":lr,Lr=Ye.prefixCls,Pr=Ye.active,Kr=Ye.operationRef,on=Ye.showHour,xn=Ye.showMinute,An=Ye.showSecond,Pn=Ye.use12Hours,Un=Pn===void 0?!1:Pn,bn=Ye.onSelect,_n=Ye.value,Tn="".concat(Lr,"-time-panel"),Wn=c.useRef(),Gn=c.useState(-1),ri=Object(F.a)(Gn,2),Si=ri[0],oi=ri[1],Pi=ye([on,xn,An,Un]);return Kr.current={onKeyDown:function(_i){return se(_i,{onLeftRight:function(ki){oi((Si+ki+Pi)%Pi)},onUpDown:function(ki){Si===-1?oi(0):Wn.current&&Wn.current.onUpDown(ki)},onEnter:function(){bn(_n||It.getNow(),"key"),oi(-1)}})},onBlur:function(){oi(-1)}},c.createElement("div",{className:E()(Tn,Object(M.a)({},"".concat(Tn,"-active"),Pr))},c.createElement(ge,Object.assign({},Ye,{format:sr,prefixCls:Lr})),c.createElement(Ze,Object.assign({},Ye,{prefixCls:Lr,activeColumnIndex:Si,operationRef:Wn})))}var yt=ae,et=7;function me(Ye,It){return!Ye&&!It?!0:!Ye||!It?!1:void 0}function Gt(Ye,It,lr){var sr=me(It,lr);if(typeof sr=="boolean")return sr;var Lr=Math.floor(Ye.getYear(It)/10),Pr=Math.floor(Ye.getYear(lr)/10);return Lr===Pr}function rr(Ye,It,lr){var sr=me(It,lr);return typeof sr=="boolean"?sr:Ye.getYear(It)===Ye.getYear(lr)}function ut(Ye,It){var lr=Math.floor(Ye.getMonth(It)/3);return lr+1}function Xt(Ye,It,lr){var sr=me(It,lr);return typeof sr=="boolean"?sr:rr(Ye,It,lr)&&ut(Ye,It)===ut(Ye,lr)}function ur(Ye,It,lr){var sr=me(It,lr);return typeof sr=="boolean"?sr:rr(Ye,It,lr)&&Ye.getMonth(It)===Ye.getMonth(lr)}function Fr(Ye,It,lr){var sr=me(It,lr);return typeof sr=="boolean"?sr:Ye.getYear(It)===Ye.getYear(lr)&&Ye.getMonth(It)===Ye.getMonth(lr)&&Ye.getDate(It)===Ye.getDate(lr)}function er(Ye,It,lr){var sr=me(It,lr);return typeof sr=="boolean"?sr:Ye.getHour(It)===Ye.getHour(lr)&&Ye.getMinute(It)===Ye.getMinute(lr)&&Ye.getSecond(It)===Ye.getSecond(lr)}function nr(Ye,It,lr,sr){var Lr=me(lr,sr);return typeof Lr=="boolean"?Lr:Ye.locale.getWeek(It,lr)===Ye.locale.getWeek(It,sr)}function Lt(Ye,It,lr){return Fr(Ye,It,lr)&&er(Ye,It,lr)}function at(Ye,It,lr,sr){return!It||!lr||!sr?!1:!Fr(Ye,It,sr)&&!Fr(Ye,lr,sr)&&Ye.isAfter(sr,It)&&Ye.isAfter(lr,sr)}function Je(Ye,It,lr){var sr=It.locale.getWeekFirstDay(Ye),Lr=It.setDate(lr,1),Pr=It.getWeekDay(Lr),Kr=It.addDate(Lr,sr-Pr);return It.getMonth(Kr)===It.getMonth(lr)&&It.getDate(Kr)>1&&(Kr=It.addDate(Kr,-7)),Kr}function qt(Ye,It,lr){var sr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(It){case"year":return lr.addYear(Ye,sr*10);case"quarter":case"month":return lr.addYear(Ye,sr);default:return lr.addMonth(Ye,sr)}}var Sr=c.createContext({}),yr=Sr;function fr(Ye){var It=Ye.cellPrefixCls,lr=Ye.generateConfig,sr=Ye.rangedValue,Lr=Ye.hoverRangedValue,Pr=Ye.isInView,Kr=Ye.isSameCell,on=Ye.offsetCell,xn=Ye.today,An=Ye.value;function Pn(Un){var bn,_n=on(Un,-1),Tn=on(Un,1),Wn=pt(sr,0),Gn=pt(sr,1),ri=pt(Lr,0),Si=pt(Lr,1),oi=at(lr,ri,Si,Un);function Pi(ji){return Kr(Wn,ji)}function Hi(ji){return Kr(Gn,ji)}var _i=Kr(ri,Un),pi=Kr(Si,Un),ki=(oi||pi)&&(!Pr(_n)||Hi(_n)),zn=(oi||_i)&&(!Pr(Tn)||Pi(Tn));return bn={},Object(M.a)(bn,"".concat(It,"-in-view"),Pr(Un)),Object(M.a)(bn,"".concat(It,"-in-range"),at(lr,Wn,Gn,Un)),Object(M.a)(bn,"".concat(It,"-range-start"),Pi(Un)),Object(M.a)(bn,"".concat(It,"-range-end"),Hi(Un)),Object(M.a)(bn,"".concat(It,"-range-start-single"),Pi(Un)&&!Gn),Object(M.a)(bn,"".concat(It,"-range-end-single"),Hi(Un)&&!Wn),Object(M.a)(bn,"".concat(It,"-range-start-near-hover"),Pi(Un)&&(Kr(_n,ri)||at(lr,ri,Si,_n))),Object(M.a)(bn,"".concat(It,"-range-end-near-hover"),Hi(Un)&&(Kr(Tn,Si)||at(lr,ri,Si,Tn))),Object(M.a)(bn,"".concat(It,"-range-hover"),oi),Object(M.a)(bn,"".concat(It,"-range-hover-start"),_i),Object(M.a)(bn,"".concat(It,"-range-hover-end"),pi),Object(M.a)(bn,"".concat(It,"-range-hover-edge-start"),ki),Object(M.a)(bn,"".concat(It,"-range-hover-edge-end"),zn),Object(M.a)(bn,"".concat(It,"-range-hover-edge-start-near-range"),ki&&Kr(_n,Gn)),Object(M.a)(bn,"".concat(It,"-range-hover-edge-end-near-range"),zn&&Kr(Tn,Wn)),Object(M.a)(bn,"".concat(It,"-today"),Kr(xn,Un)),Object(M.a)(bn,"".concat(It,"-selected"),Kr(An,Un)),bn}return Pn}function yn(Ye){for(var It=Ye.prefixCls,lr=Ye.disabledDate,sr=Ye.onSelect,Lr=Ye.rowNum,Pr=Ye.colNum,Kr=Ye.prefixColumn,on=Ye.rowClassName,xn=Ye.baseDate,An=Ye.getCellClassName,Pn=Ye.getCellText,Un=Ye.getCellNode,bn=Ye.getCellDate,_n=Ye.titleCell,Tn=Ye.headerCells,Wn=c.useContext(Y),Gn=Wn.onDateMouseEnter,ri=Wn.onDateMouseLeave,Si="".concat(It,"-cell"),oi=[],Pi=0;Pi<Lr;Pi+=1){for(var Hi=[],_i=void 0,pi=function(ji){var Yi=Pi*Pr+ji,ta=bn(xn,Yi),Zi=lr&&lr(ta);ji===0&&(_i=ta,Kr&&Hi.push(Kr(_i))),Hi.push(c.createElement("td",{key:ji,title:_n&&_n(ta),className:E()(Si,Object(U.a)(Object(M.a)({},"".concat(Si,"-disabled"),Zi),An(ta))),onClick:function(){Zi||sr(ta)},onMouseEnter:function(){!Zi&&Gn&&Gn(ta)},onMouseLeave:function(){!Zi&&ri&&ri(ta)}},Un?Un(ta):c.createElement("div",{className:"".concat(Si,"-inner")},Pn(ta))))},ki=0;ki<Pr;ki+=1)pi(ki);oi.push(c.createElement("tr",{key:Pi,className:on&&on(_i)},Hi))}return c.createElement("div",{className:"".concat(It,"-body")},c.createElement("table",{className:"".concat(It,"-content")},Tn&&c.createElement("thead",null,c.createElement("tr",null,Tn)),c.createElement("tbody",null,oi)))}function Jr(Ye){var It=Ye.prefixCls,lr=Ye.generateConfig,sr=Ye.prefixColumn,Lr=Ye.locale,Pr=Ye.rowCount,Kr=Ye.viewDate,on=Ye.value,xn=Ye.dateRender,An=c.useContext(yr),Pn=An.rangedValue,Un=An.hoverRangedValue,bn=Je(Lr.locale,lr,Kr),_n="".concat(It,"-cell"),Tn=lr.locale.getWeekFirstDay(Lr.locale),Wn=lr.getNow(),Gn=[],ri=Lr.shortWeekDays||(lr.locale.getShortWeekDays?lr.locale.getShortWeekDays(Lr.locale):[]);sr&&Gn.push(c.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Si=0;Si<et;Si+=1)Gn.push(c.createElement("th",{key:Si},ri[(Si+Tn)%et]));var oi=fr({cellPrefixCls:_n,today:Wn,value:on,generateConfig:lr,rangedValue:sr?null:Pn,hoverRangedValue:sr?null:Un,isSameCell:function(_i,pi){return Fr(lr,_i,pi)},isInView:function(_i){return ur(lr,_i,Kr)},offsetCell:function(_i,pi){return lr.addDate(_i,pi)}}),Pi=xn?function(Hi){return xn(Hi,Wn)}:void 0;return c.createElement(yn,Object.assign({},Ye,{rowNum:Pr,colNum:et,baseDate:bn,getCellNode:Pi,getCellText:lr.getDate,getCellClassName:oi,getCellDate:lr.addDate,titleCell:function(_i){return lr.locale.format(Lr.locale,_i,"YYYY-MM-DD")},headerCells:Gn}))}var Ln=Jr;function Nt(Ye){var It=Ye.prefixCls,lr=Ye.generateConfig,sr=Ye.locale,Lr=Ye.viewDate,Pr=Ye.onNextMonth,Kr=Ye.onPrevMonth,on=Ye.onNextYear,xn=Ye.onPrevYear,An=Ye.onYearClick,Pn=Ye.onMonthClick,Un=c.useContext(Y),bn=Un.hideHeader;if(bn)return null;var _n="".concat(It,"-header"),Tn=sr.shortMonths||(lr.locale.getShortMonths?lr.locale.getShortMonths(sr.locale):[]),Wn=lr.getMonth(Lr),Gn=c.createElement("button",{type:"button",key:"year",onClick:An,tabIndex:-1,className:"".concat(It,"-year-btn")},lr.locale.format(sr.locale,Lr,sr.yearFormat)),ri=c.createElement("button",{type:"button",key:"month",onClick:Pn,tabIndex:-1,className:"".concat(It,"-month-btn")},sr.monthFormat?lr.locale.format(sr.locale,Lr,sr.monthFormat):Tn[Wn]),Si=sr.monthBeforeYear?[ri,Gn]:[Gn,ri];return c.createElement(Z,Object.assign({},Ye,{prefixCls:_n,onSuperPrev:xn,onPrev:Kr,onNext:Pr,onSuperNext:on}),Si)}var Ve=Nt,_e=6;function ke(Ye){var It=Ye.prefixCls,lr=Ye.panelName,sr=lr===void 0?"date":lr,Lr=Ye.keyboardConfig,Pr=Ye.active,Kr=Ye.operationRef,on=Ye.generateConfig,xn=Ye.value,An=Ye.viewDate,Pn=Ye.onViewDateChange,Un=Ye.onPanelChange,bn=Ye.onSelect,_n="".concat(It,"-").concat(sr,"-panel");Kr.current={onKeyDown:function(ri){return se(ri,Object(U.a)({onLeftRight:function(oi){bn(on.addDate(xn||An,oi),"key")},onCtrlLeftRight:function(oi){bn(on.addYear(xn||An,oi),"key")},onUpDown:function(oi){bn(on.addDate(xn||An,oi*et),"key")},onPageUpDown:function(oi){bn(on.addMonth(xn||An,oi),"key")}},Lr))}};var Tn=function(ri){var Si=on.addYear(An,ri);Pn(Si),Un(null,Si)},Wn=function(ri){var Si=on.addMonth(An,ri);Pn(Si),Un(null,Si)};return c.createElement("div",{className:E()(_n,Object(M.a)({},"".concat(_n,"-active"),Pr))},c.createElement(Ve,Object.assign({},Ye,{prefixCls:It,value:xn,viewDate:An,onPrevYear:function(){Tn(-1)},onNextYear:function(){Tn(1)},onPrevMonth:function(){Wn(-1)},onNextMonth:function(){Wn(1)},onMonthClick:function(){Un("month",An)},onYearClick:function(){Un("year",An)}})),c.createElement(Ln,Object.assign({},Ye,{onSelect:function(ri){return bn(ri,"mouse")},prefixCls:It,value:xn,viewDate:An,rowCount:_e})))}var Pe=ke;function rt(Ye,It,lr){if(!lr)return It;var sr=It;return sr=Ye.setHour(sr,Ye.getHour(lr)),sr=Ye.setMinute(sr,Ye.getMinute(lr)),sr=Ye.setSecond(sr,Ye.getSecond(lr)),sr}var Pt=nt("date","time");function Yt(Ye){var It=Ye.prefixCls,lr=Ye.operationRef,sr=Ye.generateConfig,Lr=Ye.value,Pr=Ye.defaultValue,Kr=Ye.disabledTime,on=Ye.showTime,xn=Ye.onSelect,An="".concat(It,"-datetime-panel"),Pn=c.useState(null),Un=Object(F.a)(Pn,2),bn=Un[0],_n=Un[1],Tn=c.useRef({}),Wn=c.useRef({}),Gn=Object(W.a)(on)==="object"?Object(U.a)({},on):{};function ri(Hi){var _i=Pt.indexOf(bn)+Hi,pi=Pt[_i]||null;return pi}var Si=function(_i){Wn.current.onBlur&&Wn.current.onBlur(_i),_n(null)};lr.current={onKeyDown:function(_i){if(_i.which===V.a.TAB){var pi=ri(_i.shiftKey?-1:1);return _n(pi),pi&&_i.preventDefault(),!0}if(bn){var ki=bn==="date"?Tn:Wn;return ki.current&&ki.current.onKeyDown&&ki.current.onKeyDown(_i),!0}return[V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN].includes(_i.which)?(_n("date"),!0):!1},onBlur:Si,onClose:Si};var oi=function(_i,pi){var ki=_i;pi==="date"&&!Lr&&Gn.defaultValue?(ki=sr.setHour(ki,sr.getHour(Gn.defaultValue)),ki=sr.setMinute(ki,sr.getMinute(Gn.defaultValue)),ki=sr.setSecond(ki,sr.getSecond(Gn.defaultValue))):pi==="time"&&!Lr&&Pr&&(ki=sr.setYear(ki,sr.getYear(Pr)),ki=sr.setMonth(ki,sr.getMonth(Pr)),ki=sr.setDate(ki,sr.getDate(Pr))),xn&&xn(ki,"mouse")},Pi=Kr?Kr(Lr||null):{};return c.createElement("div",{className:E()(An,Object(M.a)({},"".concat(An,"-active"),bn))},c.createElement(Pe,Object.assign({},Ye,{operationRef:Tn,active:bn==="date",onSelect:function(_i){oi(rt(sr,_i,on&&Object(W.a)(on)==="object"?on.defaultValue:null),"date")}})),c.createElement(yt,Object.assign({},Ye,{format:void 0},Gn,Pi,{defaultValue:void 0,operationRef:Wn,active:bn==="time",onSelect:function(_i){oi(_i,"time")}})))}var kt=Yt;function _r(Ye){var It=Ye.prefixCls,lr=Ye.generateConfig,sr=Ye.locale,Lr=Ye.value,Pr="".concat(It,"-cell"),Kr=function(Pn){return c.createElement("td",{key:"week",className:E()(Pr,"".concat(Pr,"-week"))},lr.locale.getWeek(sr.locale,Pn))},on="".concat(It,"-week-panel-row"),xn=function(Pn){return E()(on,Object(M.a)({},"".concat(on,"-selected"),nr(lr,sr.locale,Lr,Pn)))};return c.createElement(Pe,Object.assign({},Ye,{panelName:"week",prefixColumn:Kr,rowClassName:xn,keyboardConfig:{onLeftRight:null}}))}var Rr=_r;function un(Ye){var It=Ye.prefixCls,lr=Ye.generateConfig,sr=Ye.locale,Lr=Ye.viewDate,Pr=Ye.onNextYear,Kr=Ye.onPrevYear,on=Ye.onYearClick,xn=c.useContext(Y),An=xn.hideHeader;if(An)return null;var Pn="".concat(It,"-header");return c.createElement(Z,Object.assign({},Ye,{prefixCls:Pn,onSuperPrev:Kr,onSuperNext:Pr}),c.createElement("button",{type:"button",onClick:on,className:"".concat(It,"-year-btn")},lr.locale.format(sr.locale,Lr,sr.yearFormat)))}var Ut=un,ht=3,ot=4;function Wt(Ye){var It=Ye.prefixCls,lr=Ye.locale,sr=Ye.value,Lr=Ye.viewDate,Pr=Ye.generateConfig,Kr=Ye.monthCellRender,on=c.useContext(yr),xn=on.rangedValue,An=on.hoverRangedValue,Pn="".concat(It,"-cell"),Un=fr({cellPrefixCls:Pn,value:sr,generateConfig:Pr,rangedValue:xn,hoverRangedValue:An,isSameCell:function(Gn,ri){return ur(Pr,Gn,ri)},isInView:function(){return!0},offsetCell:function(Gn,ri){return Pr.addMonth(Gn,ri)}}),bn=lr.shortMonths||(Pr.locale.getShortMonths?Pr.locale.getShortMonths(lr.locale):[]),_n=Pr.setMonth(Lr,0),Tn=Kr?function(Wn){return Kr(Wn,lr)}:void 0;return c.createElement(yn,Object.assign({},Ye,{rowNum:ot,colNum:ht,baseDate:_n,getCellNode:Tn,getCellText:function(Gn){return lr.monthFormat?Pr.locale.format(lr.locale,Gn,lr.monthFormat):bn[Pr.getMonth(Gn)]},getCellClassName:Un,getCellDate:Pr.addMonth,titleCell:function(Gn){return Pr.locale.format(lr.locale,Gn,"YYYY-MM")}}))}var Jt=Wt;function At(Ye){var It=Ye.prefixCls,lr=Ye.operationRef,sr=Ye.onViewDateChange,Lr=Ye.generateConfig,Pr=Ye.value,Kr=Ye.viewDate,on=Ye.onPanelChange,xn=Ye.onSelect,An="".concat(It,"-month-panel");lr.current={onKeyDown:function(bn){return se(bn,{onLeftRight:function(Tn){xn(Lr.addMonth(Pr||Kr,Tn),"key")},onCtrlLeftRight:function(Tn){xn(Lr.addYear(Pr||Kr,Tn),"key")},onUpDown:function(Tn){xn(Lr.addMonth(Pr||Kr,Tn*ht),"key")},onEnter:function(){on("date",Pr||Kr)}})}};var Pn=function(bn){var _n=Lr.addYear(Kr,bn);sr(_n),on(null,_n)};return c.createElement("div",{className:An},c.createElement(Ut,Object.assign({},Ye,{prefixCls:It,onPrevYear:function(){Pn(-1)},onNextYear:function(){Pn(1)},onYearClick:function(){on("year",Kr)}})),c.createElement(Jt,Object.assign({},Ye,{prefixCls:It,onSelect:function(bn){xn(bn,"mouse"),on("date",bn)}})))}var Bt=At;function mt(Ye){var It=Ye.prefixCls,lr=Ye.generateConfig,sr=Ye.locale,Lr=Ye.viewDate,Pr=Ye.onNextYear,Kr=Ye.onPrevYear,on=Ye.onYearClick,xn=c.useContext(Y),An=xn.hideHeader;if(An)return null;var Pn="".concat(It,"-header");return c.createElement(Z,Object.assign({},Ye,{prefixCls:Pn,onSuperPrev:Kr,onSuperNext:Pr}),c.createElement("button",{type:"button",onClick:on,className:"".concat(It,"-year-btn")},lr.locale.format(sr.locale,Lr,sr.yearFormat)))}var Mt=mt,hr=4,or=1;function ar(Ye){var It=Ye.prefixCls,lr=Ye.locale,sr=Ye.value,Lr=Ye.viewDate,Pr=Ye.generateConfig,Kr=c.useContext(yr),on=Kr.rangedValue,xn=Kr.hoverRangedValue,An="".concat(It,"-cell"),Pn=fr({cellPrefixCls:An,value:sr,generateConfig:Pr,rangedValue:on,hoverRangedValue:xn,isSameCell:function(_n,Tn){return Xt(Pr,_n,Tn)},isInView:function(){return!0},offsetCell:function(_n,Tn){return Pr.addMonth(_n,Tn*3)}}),Un=Pr.setDate(Pr.setMonth(Lr,0),1);return c.createElement(yn,Object.assign({},Ye,{rowNum:or,colNum:hr,baseDate:Un,getCellText:function(_n){return Pr.locale.format(lr.locale,_n,lr.quarterFormat||"[Q]Q")},getCellClassName:Pn,getCellDate:function(_n,Tn){return Pr.addMonth(_n,Tn*3)},titleCell:function(_n){return Pr.locale.format(lr.locale,_n,"YYYY-[Q]Q")}}))}var Gr=ar;function Yr(Ye){var It=Ye.prefixCls,lr=Ye.operationRef,sr=Ye.onViewDateChange,Lr=Ye.generateConfig,Pr=Ye.value,Kr=Ye.viewDate,on=Ye.onPanelChange,xn=Ye.onSelect,An="".concat(It,"-quarter-panel");lr.current={onKeyDown:function(bn){return se(bn,{onLeftRight:function(Tn){xn(Lr.addMonth(Pr||Kr,Tn*3),"key")},onCtrlLeftRight:function(Tn){xn(Lr.addYear(Pr||Kr,Tn),"key")},onUpDown:function(Tn){xn(Lr.addYear(Pr||Kr,Tn),"key")}})}};var Pn=function(bn){var _n=Lr.addYear(Kr,bn);sr(_n),on(null,_n)};return c.createElement("div",{className:An},c.createElement(Mt,Object.assign({},Ye,{prefixCls:It,onPrevYear:function(){Pn(-1)},onNextYear:function(){Pn(1)},onYearClick:function(){on("year",Kr)}})),c.createElement(Gr,Object.assign({},Ye,{prefixCls:It,onSelect:function(bn){xn(bn,"mouse")}})))}var In=Yr;function Nn(Ye){var It=Ye.prefixCls,lr=Ye.generateConfig,sr=Ye.viewDate,Lr=Ye.onPrevDecade,Pr=Ye.onNextDecade,Kr=Ye.onDecadeClick,on=c.useContext(Y),xn=on.hideHeader;if(xn)return null;var An="".concat(It,"-header"),Pn=lr.getYear(sr),Un=Math.floor(Pn/Ie)*Ie,bn=Un+Ie-1;return c.createElement(Z,Object.assign({},Ye,{prefixCls:An,onSuperPrev:Lr,onSuperNext:Pr}),c.createElement("button",{type:"button",onClick:Kr,className:"".concat(It,"-decade-btn")},Un,"-",bn))}var Kn=Nn,$n=3,Ii=4;function Mi(Ye){var It=Ye.prefixCls,lr=Ye.value,sr=Ye.viewDate,Lr=Ye.locale,Pr=Ye.generateConfig,Kr=c.useContext(yr),on=Kr.rangedValue,xn=Kr.hoverRangedValue,An="".concat(It,"-cell"),Pn=Pr.getYear(sr),Un=Math.floor(Pn/Ie)*Ie,bn=Un+Ie-1,_n=Pr.setYear(sr,Un-Math.ceil(($n*Ii-Ie)/2)),Tn=function(ri){var Si=Pr.getYear(ri);return Un<=Si&&Si<=bn},Wn=fr({cellPrefixCls:An,value:lr,generateConfig:Pr,rangedValue:on,hoverRangedValue:xn,isSameCell:function(ri,Si){return rr(Pr,ri,Si)},isInView:Tn,offsetCell:function(ri,Si){return Pr.addYear(ri,Si)}});return c.createElement(yn,Object.assign({},Ye,{rowNum:Ii,colNum:$n,baseDate:_n,getCellText:Pr.getYear,getCellClassName:Wn,getCellDate:Pr.addYear,titleCell:function(ri){return Pr.locale.format(Lr.locale,ri,"YYYY")}}))}var Xe=Mi,Ie=10;function Be(Ye){var It=Ye.prefixCls,lr=Ye.operationRef,sr=Ye.onViewDateChange,Lr=Ye.generateConfig,Pr=Ye.value,Kr=Ye.viewDate,on=Ye.sourceMode,xn=Ye.onSelect,An=Ye.onPanelChange,Pn="".concat(It,"-year-panel");lr.current={onKeyDown:function(_n){return se(_n,{onLeftRight:function(Wn){xn(Lr.addYear(Pr||Kr,Wn),"key")},onCtrlLeftRight:function(Wn){xn(Lr.addYear(Pr||Kr,Wn*Ie),"key")},onUpDown:function(Wn){xn(Lr.addYear(Pr||Kr,Wn*$n),"key")},onEnter:function(){An(on==="date"?"date":"month",Pr||Kr)}})}};var Un=function(_n){var Tn=Lr.addYear(Kr,_n*10);sr(Tn),An(null,Tn)};return c.createElement("div",{className:Pn},c.createElement(Kn,Object.assign({},Ye,{prefixCls:It,onPrevDecade:function(){Un(-1)},onNextDecade:function(){Un(1)},onDecadeClick:function(){An("decade",Kr)}})),c.createElement(Xe,Object.assign({},Ye,{prefixCls:It,onSelect:function(_n){An(on==="date"?"date":"month",_n),xn(_n,"mouse")}})))}var Fe=Be;function Ge(Ye){var It=Ye.prefixCls,lr=Ye.generateConfig,sr=Ye.viewDate,Lr=Ye.onPrevDecades,Pr=Ye.onNextDecades,Kr=c.useContext(Y),on=Kr.hideHeader;if(on)return null;var xn="".concat(It,"-header"),An=lr.getYear(sr),Pn=Math.floor(An/pr)*pr,Un=Pn+pr-1;return c.createElement(Z,Object.assign({},Ye,{prefixCls:xn,onSuperPrev:Lr,onSuperNext:Pr}),Pn,"-",Un)}var Ke=Ge,qe=3,vt=4;function lt(Ye){var It=wr-1,lr=Ye.prefixCls,sr=Ye.viewDate,Lr=Ye.generateConfig,Pr=Ye.disabledDate,Kr="".concat(lr,"-cell"),on=Lr.getYear(sr),xn=Math.floor(on/wr)*wr,An=Math.floor(on/pr)*pr,Pn=An+pr-1,Un=Lr.setYear(sr,An-Math.ceil((qe*vt*wr-pr)/2)),bn=function(Tn){var Wn,Gn=Pr&&Pr(Tn),ri=Lr.getYear(Tn),Si=ri+It;return Wn={},Object(M.a)(Wn,"".concat(Kr,"-disabled"),Gn),Object(M.a)(Wn,"".concat(Kr,"-in-view"),An<=ri&&Si<=Pn),Object(M.a)(Wn,"".concat(Kr,"-selected"),ri===xn),Wn};return c.createElement(yn,Object.assign({},Ye,{rowNum:vt,colNum:qe,baseDate:Un,getCellText:function(Tn){var Wn=Lr.getYear(Tn);return"".concat(Wn,"-").concat(Wn+It)},getCellClassName:bn,getCellDate:function(Tn,Wn){return Lr.addYear(Tn,Wn*wr)}}))}var Ft=lt,wr=10,pr=wr*10;function Dr(Ye){var It=Ye.prefixCls,lr=Ye.onViewDateChange,sr=Ye.generateConfig,Lr=Ye.viewDate,Pr=Ye.operationRef,Kr=Ye.onSelect,on=Ye.onPanelChange,xn="".concat(It,"-decade-panel");Pr.current={onKeyDown:function(bn){return se(bn,{onLeftRight:function(Tn){Kr(sr.addYear(Lr,Tn*wr),"key")},onCtrlLeftRight:function(Tn){Kr(sr.addYear(Lr,Tn*pr),"key")},onUpDown:function(Tn){Kr(sr.addYear(Lr,Tn*wr*qe),"key")},onEnter:function(){on("year",Lr)}})}};var An=function(bn){var _n=sr.addYear(Lr,bn*pr);lr(_n),on(null,_n)},Pn=function(bn){Kr(bn,"mouse"),on("year",bn)};return c.createElement("div",{className:xn},c.createElement(Ke,Object.assign({},Ye,{prefixCls:It,onPrevDecades:function(){An(-1)},onNextDecades:function(){An(1)}})),c.createElement(Ft,Object.assign({},Ye,{prefixCls:It,onSelect:Pn})))}var zt=Dr;function hn(Ye,It,lr){return lr?c.createElement("div",{className:"".concat(Ye,"-footer-extra")},lr(It)):null}function ir(Ye){var It=Ye.prefixCls,lr=Ye.rangeList,sr=lr===void 0?[]:lr,Lr=Ye.components,Pr=Lr===void 0?{}:Lr,Kr=Ye.needConfirmButton,on=Ye.onNow,xn=Ye.onOk,An=Ye.okDisabled,Pn=Ye.showNow,Un=Ye.locale,bn,_n;if(sr.length){var Tn=Pr.rangeItem||"span";bn=c.createElement(c.Fragment,null,sr.map(function(Gn){var ri=Gn.label,Si=Gn.onClick,oi=Gn.onMouseEnter,Pi=Gn.onMouseLeave;return c.createElement("li",{key:ri,className:"".concat(It,"-preset")},c.createElement(Tn,{onClick:Si,onMouseEnter:oi,onMouseLeave:Pi},ri))}))}if(Kr){var Wn=Pr.button||"button";on&&!bn&&Pn!==!1&&(bn=c.createElement("li",{className:"".concat(It,"-now")},c.createElement("a",{className:"".concat(It,"-now-btn"),onClick:on},Un.now))),_n=Kr&&c.createElement("li",{className:"".concat(It,"-ok")},c.createElement(Wn,{disabled:An,onClick:xn},Un.ok))}return!bn&&!_n?null:c.createElement("ul",{className:"".concat(It,"-ranges")},bn,_n)}function Xr(Ye){var It,lr=Ye.prefixCls,sr=lr===void 0?"rc-picker":lr,Lr=Ye.className,Pr=Ye.style,Kr=Ye.locale,on=Ye.generateConfig,xn=Ye.value,An=Ye.defaultValue,Pn=Ye.pickerValue,Un=Ye.defaultPickerValue,bn=Ye.disabledDate,_n=Ye.mode,Tn=Ye.picker,Wn=Tn===void 0?"date":Tn,Gn=Ye.tabIndex,ri=Gn===void 0?0:Gn,Si=Ye.showNow,oi=Ye.showTime,Pi=Ye.showToday,Hi=Ye.renderExtraFooter,_i=Ye.hideHeader,pi=Ye.onSelect,ki=Ye.onChange,zn=Ye.onPanelChange,ji=Ye.onMouseDown,Yi=Ye.onPickerValueChange,ta=Ye.onOk,Zi=Ye.components,br=Ye.direction,Wr=Ye.hourStep,nn=Wr===void 0?1:Wr,Nr=Ye.minuteStep,jt=Nr===void 0?1:Nr,xr=Ye.secondStep,$t=xr===void 0?1:xr,jr=Wn==="date"&&!!oi||Wn==="time",Hr=24%nn===0,ln=60%jt===0,qr=60%$t===0,fn=c.useContext(Y),Dn=fn.operationRef,li=fn.panelRef,di=fn.onSelect,Ri=fn.hideRanges,la=fn.defaultOpenValue,na=c.useContext(yr),ga=na.inRange,Fi=na.panelPosition,Ni=na.rangedValue,ia=na.hoverRangedValue,Ji=c.useRef({}),ha=c.useRef(!0),Ta=Object(j.a)(null,{value:xn,defaultValue:An,postState:function(Ki){return!Ki&&la&&Wn==="time"?la:Ki}}),Pa=Object(F.a)(Ta,2),bi=Pa[0],Qn=Pa[1],vi=Object(j.a)(null,{value:Pn,defaultValue:Un||bi,postState:function(Ki){return Ki||on.getNow()}}),Ai=Object(F.a)(vi,2),Gi=Ai[0],Oi=Ai[1],pa=function(Ki){Oi(Ki),Yi&&Yi(Ki)},Ma=function(Ki){var Xa=we[Wn];return Xa?Xa(Ki):Ki},fa=Object(j.a)(function(){return Wn==="time"?"time":Ma("date")},{value:_n}),ua=Object(F.a)(fa,2),ra=ua[0],Ra=ua[1];c.useEffect(function(){Ra(Wn)},[Wn]);var eo=c.useState(function(){return ra}),qi=Object(F.a)(eo,2),qa=qi[0],Ya=qi[1],Ka=function(Ki,Xa){var No=Ma(Ki||ra);Ya(ra),Ra(No),zn&&(ra!==No||Lt(on,Gi,Gi))&&zn(Xa,No)},ao=function(Ki,Xa){var No=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ra===Wn||No)&&(Qn(Ki),pi&&pi(Ki),di&&di(Ki,Xa),ki&&!Lt(on,Ki,bi)&&ki(Ki))},Va=function(Ki){return Ji.current&&Ji.current.onKeyDown?([V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN,V.a.PAGE_UP,V.a.PAGE_DOWN,V.a.ENTER].includes(Ki.which)&&Ki.preventDefault(),Ji.current.onKeyDown(Ki)):(Object(C.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Ba=function(Ki){Ji.current&&Ji.current.onBlur&&Ji.current.onBlur(Ki)};Dn&&Fi!=="right"&&(Dn.current={onKeyDown:Va,onClose:function(){Ji.current&&Ji.current.onClose&&Ji.current.onClose()}}),c.useEffect(function(){xn&&!ha.current&&Oi(xn)},[xn]),c.useEffect(function(){ha.current=!1},[]);var go,so=Object(U.a)(Object(U.a)({},Ye),{},{operationRef:Ji,prefixCls:sr,viewDate:Gi,value:bi,onViewDateChange:pa,sourceMode:qa,onPanelChange:Ka,disabledDate:ra!=="decade"?bn:void 0});delete so.onChange,delete so.onSelect;switch(ra){case"decade":go=c.createElement(zt,Object.assign({},so,{onSelect:function(Ki,Xa){pa(Ki),ao(Ki,Xa)}}));break;case"year":go=c.createElement(Fe,Object.assign({},so,{onSelect:function(Ki,Xa){pa(Ki),ao(Ki,Xa)}}));break;case"month":go=c.createElement(Bt,Object.assign({},so,{onSelect:function(Ki,Xa){pa(Ki),ao(Ki,Xa)}}));break;case"quarter":go=c.createElement(In,Object.assign({},so,{onSelect:function(Ki,Xa){pa(Ki),ao(Ki,Xa)}}));break;case"week":go=c.createElement(Rr,Object.assign({},so,{onSelect:function(Ki,Xa){pa(Ki),ao(Ki,Xa)}}));break;case"time":delete so.showTime,go=c.createElement(yt,Object.assign({},so,Object(W.a)(oi)==="object"?oi:null,{onSelect:function(Ki,Xa){pa(Ki),ao(Ki,Xa)}}));break;default:oi?go=c.createElement(kt,Object.assign({},so,{onSelect:function(Ki,Xa){pa(Ki),ao(Ki,Xa)}})):go=c.createElement(Pe,Object.assign({},so,{onSelect:function(Ki,Xa){pa(Ki),ao(Ki,Xa)}}))}var vo,to,ro=function(){var Ki=on.getNow(),Xa=wt(on.getHour(Ki),on.getMinute(Ki),on.getSecond(Ki),Hr?nn:1,ln?jt:1,qr?$t:1),No=gt(on,Ki,Xa[0],Xa[1],Xa[2]);ao(No,"submit")};Ri||(vo=hn(sr,ra,Hi),to=ir({prefixCls:sr,components:Zi,needConfirmButton:jr,okDisabled:!bi||bn&&bn(bi),locale:Kr,showNow:Si,onNow:jr&&ro,onOk:function(){bi&&(ao(bi,"submit",!0),ta&&ta(bi))}}));var Ca;if(Pi&&ra==="date"&&Wn==="date"&&!oi){var Ha=on.getNow(),Na="".concat(sr,"-today-btn"),oo=bn&&bn(Ha);Ca=c.createElement("a",{className:E()(Na,oo&&"".concat(Na,"-disabled")),"aria-disabled":oo,onClick:function(){oo||ao(Ha,"mouse",!0)}},Kr.today)}return c.createElement(Y.Provider,{value:Object(U.a)(Object(U.a)({},fn),{},{hideHeader:"hideHeader"in Ye?_i:fn.hideHeader,hidePrevBtn:ga&&Fi==="right",hideNextBtn:ga&&Fi==="left"})},c.createElement("div",{tabIndex:ri,className:E()("".concat(sr,"-panel"),Lr,(It={},Object(M.a)(It,"".concat(sr,"-panel-has-range"),Ni&&Ni[0]&&Ni[1]),Object(M.a)(It,"".concat(sr,"-panel-has-range-hover"),ia&&ia[0]&&ia[1]),Object(M.a)(It,"".concat(sr,"-panel-rtl"),br==="rtl"),It)),style:Pr,onKeyDown:Va,onBlur:Ba,onMouseDown:ji,ref:li},go,vo||to||Ca?c.createElement("div",{className:"".concat(sr,"-footer")},vo,to,Ca):null))}var Br=Xr,vr=d("uciX"),Cn={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 kn(Ye){var It,lr=Ye.prefixCls,sr=Ye.popupElement,Lr=Ye.popupStyle,Pr=Ye.visible,Kr=Ye.dropdownClassName,on=Ye.dropdownAlign,xn=Ye.transitionName,An=Ye.getPopupContainer,Pn=Ye.children,Un=Ye.range,bn=Ye.popupPlacement,_n=Ye.direction,Tn="".concat(lr,"-dropdown"),Wn=function(){return bn!==void 0?bn:_n==="rtl"?"bottomRight":"bottomLeft"};return c.createElement(vr.a,{showAction:[],hideAction:[],popupPlacement:Wn(),builtinPlacements:Cn,prefixCls:Tn,popupTransitionName:xn,popup:sr,popupAlign:on,popupVisible:Pr,popupClassName:E()(Kr,(It={},Object(M.a)(It,"".concat(Tn,"-range"),Un),Object(M.a)(It,"".concat(Tn,"-rtl"),_n==="rtl"),It)),popupStyle:Lr,getPopupContainer:An},Pn)}var ei=kn;function ii(Ye){var It=Ye.open,lr=Ye.value,sr=Ye.isClickOutside,Lr=Ye.triggerOpen,Pr=Ye.forwardKeyDown,Kr=Ye.blurToCancel,on=Ye.onSubmit,xn=Ye.onCancel,An=Ye.onFocus,Pn=Ye.onBlur,Un=Object(c.useState)(!1),bn=Object(F.a)(Un,2),_n=bn[0],Tn=bn[1],Wn=Object(c.useState)(!1),Gn=Object(F.a)(Wn,2),ri=Gn[0],Si=Gn[1],oi=Object(c.useRef)(!1),Pi=Object(c.useRef)(!1),Hi={onMouseDown:function(){Tn(!0),Lr(!0)},onKeyDown:function(pi){switch(pi.which){case V.a.ENTER:{It?on()!==!1&&Tn(!0):Lr(!0),pi.preventDefault();return}case V.a.TAB:{_n&&It&&!pi.shiftKey?(Tn(!1),pi.preventDefault()):!_n&&It&&(!Pr(pi)&&pi.shiftKey&&(Tn(!0),pi.preventDefault()));return}case V.a.ESC:{Tn(!0),xn();return}}!It&&![V.a.SHIFT].includes(pi.which)?Lr(!0):_n||Pr(pi)},onFocus:function(pi){Tn(!0),Si(!0),An&&An(pi)},onBlur:function(pi){if(oi.current||!sr(document.activeElement)){oi.current=!1;return}Kr?setTimeout(function(){sr(document.activeElement)&&xn()},0):It&&(Lr(!1),Pi.current&&on()),Si(!1),Pn&&Pn(pi)}};return Object(c.useEffect)(function(){Pi.current=!1},[It]),Object(c.useEffect)(function(){Pi.current=!0},[lr]),Object(c.useEffect)(function(){return G(function(_i){var pi=_i.target;It&&(sr(pi)?ri||Lr(!1):(oi.current=!0,requestAnimationFrame(function(){oi.current=!1})))})}),[Hi,{focused:ri,typing:_n}]}function ti(Ye){var It=Ye.valueTexts,lr=Ye.onTextChange,sr=c.useState(""),Lr=Object(F.a)(sr,2),Pr=Lr[0],Kr=Lr[1],on=c.useRef([]);on.current=It;function xn(Pn){Kr(Pn),lr(Pn)}function An(){Kr(on.current[0])}return c.useEffect(function(){It.every(function(Pn){return Pn!==Pr})&&An()},[It.join("||")]),[Pr,xn,An]}var Ti=d("Gytx"),Bn=d.n(Ti);function Di(Ye,It){var lr=It.formatList,sr=It.generateConfig,Lr=It.locale;return Object(pe.a)(function(){if(!Ye)return[[""],""];for(var Pr="",Kr=[],on=0;on<lr.length;on+=1){var xn=lr[on],An=sr.locale.format(Lr.locale,Ye,xn);Kr.push(An),on===0&&(Pr=An)}return[Kr,Pr]},[Ye,lr],function(Pr,Kr){return Pr[0]!==Kr[0]||!Bn()(Pr[1],Kr[1])})}function gn(Ye,It){var lr=It.formatList,sr=It.generateConfig,Lr=It.locale,Pr=Object(c.useState)(null),Kr=Object(F.a)(Pr,2),on=Kr[0],xn=Kr[1],An=Object(c.useRef)(null);function Pn(Gn){var ri=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(An.current),ri){xn(Gn);return}An.current=requestAnimationFrame(function(){xn(Gn)})}var Un=Di(on,{formatList:lr,generateConfig:sr,locale:Lr}),bn=Object(F.a)(Un,2),_n=bn[1];function Tn(Gn){Pn(Gn)}function Wn(){var Gn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Pn(null,Gn)}return Object(c.useEffect)(function(){Wn(!0)},[Ye]),Object(c.useEffect)(function(){return function(){return cancelAnimationFrame(An.current)}},[]),[_n,Tn,Wn]}function Vr(Ye){var It,lr=Ye.prefixCls,sr=lr===void 0?"rc-picker":lr,Lr=Ye.id,Pr=Ye.tabIndex,Kr=Ye.style,on=Ye.className,xn=Ye.dropdownClassName,An=Ye.dropdownAlign,Pn=Ye.popupStyle,Un=Ye.transitionName,bn=Ye.generateConfig,_n=Ye.locale,Tn=Ye.inputReadOnly,Wn=Ye.allowClear,Gn=Ye.autoFocus,ri=Ye.showTime,Si=Ye.picker,oi=Si===void 0?"date":Si,Pi=Ye.format,Hi=Ye.use12Hours,_i=Ye.value,pi=Ye.defaultValue,ki=Ye.open,zn=Ye.defaultOpen,ji=Ye.defaultOpenValue,Yi=Ye.suffixIcon,ta=Ye.clearIcon,Zi=Ye.disabled,br=Ye.disabledDate,Wr=Ye.placeholder,nn=Ye.getPopupContainer,Nr=Ye.pickerRef,jt=Ye.panelRender,xr=Ye.onChange,$t=Ye.onOpenChange,jr=Ye.onFocus,Hr=Ye.onBlur,ln=Ye.onMouseDown,qr=Ye.onMouseUp,fn=Ye.onMouseEnter,Dn=Ye.onMouseLeave,li=Ye.onContextMenu,di=Ye.onClick,Ri=Ye.direction,la=Ye.autoComplete,na=la===void 0?"off":la,ga=c.useRef(null),Fi=oi==="date"&&!!ri||oi==="time",Ni=$e($(Pi,oi,ri,Hi)),ia=c.useRef(null),Ji=c.useRef(null),ha=Object(j.a)(null,{value:_i,defaultValue:pi}),Ta=Object(F.a)(ha,2),Pa=Ta[0],bi=Ta[1],Qn=c.useState(Pa),vi=Object(F.a)(Qn,2),Ai=vi[0],Gi=vi[1],Oi=c.useRef(null),pa=Object(j.a)(!1,{value:ki,defaultValue:zn,postState:function(Wa){return Zi?!1:Wa},onChange:function(Wa){$t&&$t(Wa),!Wa&&Oi.current&&Oi.current.onClose&&Oi.current.onClose()}}),Ma=Object(F.a)(pa,2),fa=Ma[0],ua=Ma[1],ra=Di(Ai,{formatList:Ni,generateConfig:bn,locale:_n}),Ra=Object(F.a)(ra,2),eo=Ra[0],qi=Ra[1],qa=ti({valueTexts:eo,onTextChange:function(Wa){var Xo=bn.locale.parse(_n.locale,Wa,Ni);Xo&&(!br||!br(Xo))&&Gi(Xo)}}),Ya=Object(F.a)(qa,3),Ka=Ya[0],ao=Ya[1],Va=Ya[2],Ba=function(Wa){Gi(Wa),bi(Wa),xr&&!Lt(bn,Pa,Wa)&&xr(Wa,Wa?bn.locale.format(_n.locale,Wa,Ni[0]):"")},go=function(Wa){if(Zi&&Wa)return;ua(Wa)},so=function(Wa){return fa&&Oi.current&&Oi.current.onKeyDown?Oi.current.onKeyDown(Wa):(Object(C.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},vo=function(){qr&&qr.apply(void 0,arguments),ga.current&&(ga.current.focus(),go(!0))},to=ii({blurToCancel:Fi,open:fa,value:Ka,triggerOpen:go,forwardKeyDown:so,isClickOutside:function(Wa){return!le([ia.current,Ji.current],Wa)},onSubmit:function(){return br&&br(Ai)?!1:(Ba(Ai),go(!1),Va(),!0)},onCancel:function(){go(!1),Gi(Pa),Va()},onFocus:jr,onBlur:Hr}),ro=Object(F.a)(to,2),Ca=ro[0],Ha=ro[1],Na=Ha.focused,oo=Ha.typing;c.useEffect(function(){fa||(Gi(Pa),!eo.length||eo[0]===""?ao(""):qi!==Ka&&Va())},[fa,eo]),c.useEffect(function(){fa||Va()},[oi]),c.useEffect(function(){Gi(Pa)},[Pa]),Nr&&(Nr.current={focus:function(){ga.current&&ga.current.focus()},blur:function(){ga.current&&ga.current.blur()}});var Ga=Object(U.a)(Object(U.a)({},Ye),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),Ki=c.createElement(Br,Object.assign({},Ga,{generateConfig:bn,className:E()(Object(M.a)({},"".concat(sr,"-panel-focused"),!oo)),value:Ai,locale:_n,tabIndex:-1,onChange:Gi,direction:Ri}));jt&&(Ki=jt(Ki));var Xa=c.createElement("div",{className:"".concat(sr,"-panel-container"),onMouseDown:function(Wa){Wa.preventDefault()}},Ki),No;Yi&&(No=c.createElement("span",{className:"".concat(sr,"-suffix")},Yi));var _o;Wn&&Pa&&!Zi&&(_o=c.createElement("span",{onMouseDown:function(Wa){Wa.preventDefault(),Wa.stopPropagation()},onMouseUp:function(Wa){Wa.preventDefault(),Wa.stopPropagation(),Ba(null),go(!1)},className:"".concat(sr,"-clear")},ta||c.createElement("span",{className:"".concat(sr,"-clear-btn")})));var Vo=function(Wa,Xo){(Xo==="submit"||Xo!=="key"&&!Fi)&&(Ba(Wa),go(!1))},Go=Ri==="rtl"?"bottomRight":"bottomLeft",bo=gn(Ka,{formatList:Ni,generateConfig:bn,locale:_n}),Da=Object(F.a)(bo,3),Ho=Da[0],ds=Da[1],fo=Da[2];return c.createElement(Y.Provider,{value:{operationRef:Oi,hideHeader:oi==="time",panelRef:ia,onSelect:Vo,open:fa,defaultOpenValue:ji,onDateMouseEnter:ds,onDateMouseLeave:fo}},c.createElement(ei,{visible:fa,popupElement:Xa,popupStyle:Pn,prefixCls:sr,dropdownClassName:xn,dropdownAlign:An,getPopupContainer:nn,transitionName:Un,popupPlacement:Go,direction:Ri},c.createElement("div",{className:E()(sr,on,(It={},Object(M.a)(It,"".concat(sr,"-disabled"),Zi),Object(M.a)(It,"".concat(sr,"-focused"),Na),Object(M.a)(It,"".concat(sr,"-rtl"),Ri==="rtl"),It)),style:Kr,onMouseDown:ln,onMouseUp:vo,onMouseEnter:fn,onMouseLeave:Dn,onContextMenu:li,onClick:di},c.createElement("div",{className:E()("".concat(sr,"-input"),Object(M.a)({},"".concat(sr,"-input-placeholder"),!!Ho)),ref:Ji},c.createElement("input",Object.assign({id:Lr,tabIndex:Pr,disabled:Zi,readOnly:Tn||!oo,value:Ho||Ka,onChange:function(Wa){ao(Wa.target.value)},autoFocus:Gn,placeholder:Wr,ref:ga,title:Ka},Ca,{size:ze(oi,Ni[0])},Le(Ye),{autoComplete:na})),No,_o))))}var Sn=function(Ye){Object(D.a)(lr,Ye);var It=Object(B.a)(lr);function lr(){var sr;return Object(N.a)(this,lr),sr=It.apply(this,arguments),sr.pickerRef=c.createRef(),sr.focus=function(){sr.pickerRef.current&&sr.pickerRef.current.focus()},sr.blur=function(){sr.pickerRef.current&&sr.pickerRef.current.blur()},sr}return Object(R.a)(lr,[{key:"render",value:function(){return c.createElement(Vr,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),lr}(c.Component),tn=Sn;function ci(Ye,It,lr){var sr=Ye.picker,Lr=Ye.locale,Pr=Ye.selectedValue,Kr=Ye.disabledDate,on=Ye.disabled,xn=Ye.generateConfig,An=pt(Pr,0),Pn=pt(Pr,1);function Un(Gn){var ri=xn.getYear(Gn),Si=xn.locale.getWeek(Lr.locale,Gn);return ri*100+Si}function bn(Gn){var ri=xn.getYear(Gn),Si=xn.getMonth(Gn);return ri*100+Si}function _n(Gn){var ri=xn.getYear(Gn),Si=ut(xn,Gn);return ri*10+Si}var Tn=c.useCallback(function(Gn){if(Kr&&Kr(Gn))return!0;if(on[1]&&Pn)return!Fr(xn,Gn,Pn)&&xn.isAfter(Gn,Pn);if(It&&Pn)switch(sr){case"quarter":return _n(Gn)>_n(Pn);case"month":return bn(Gn)>bn(Pn);case"week":return Un(Gn)>Un(Pn);default:return!Fr(xn,Gn,Pn)&&xn.isAfter(Gn,Pn)}return!1},[Kr,on[1],Pn,It]),Wn=c.useCallback(function(Gn){if(Kr&&Kr(Gn))return!0;if(on[0]&&An)return!Fr(xn,Gn,Pn)&&xn.isAfter(An,Gn);if(lr&&An)switch(sr){case"quarter":return _n(Gn)<_n(An);case"month":return bn(Gn)<bn(An);case"week":return Un(Gn)<Un(An);default:return!Fr(xn,Gn,An)&&xn.isAfter(An,Gn)}return!1},[Kr,on[0],An,lr]);return[Tn,Wn]}function qn(Ye,It,lr,sr){var Lr=qt(Ye,lr,sr,1);function Pr(Kr){return Kr(Ye,It)?"same":Kr(Lr,It)?"closing":"far"}switch(lr){case"year":return Pr(function(Kr,on){return Gt(sr,Kr,on)});case"quarter":case"month":return Pr(function(Kr,on){return rr(sr,Kr,on)});default:return Pr(function(Kr,on){return ur(sr,Kr,on)})}}function wi(Ye,It,lr,sr){var Lr=pt(Ye,0),Pr=pt(Ye,1);if(It===0)return Lr;if(Lr&&Pr){var Kr=qn(Lr,Pr,lr,sr);switch(Kr){case"same":return Lr;case"closing":return Lr;default:return qt(Pr,lr,sr,-1)}}return Lr}function Jn(Ye){var It=Ye.values,lr=Ye.picker,sr=Ye.defaultDates,Lr=Ye.generateConfig,Pr=c.useState(function(){return[pt(sr,0),pt(sr,1)]}),Kr=Object(F.a)(Pr,2),on=Kr[0],xn=Kr[1],An=c.useState(null),Pn=Object(F.a)(An,2),Un=Pn[0],bn=Pn[1],_n=pt(It,0),Tn=pt(It,1);function Wn(ri){return on[ri]?on[ri]:pt(Un,ri)||wi(It,ri,lr,Lr)||_n||Tn||Lr.getNow()}function Gn(ri,Si){if(ri){var oi=Qe(Un,ri,Si);xn(Qe(on,null,Si)||[null,null]);var Pi=(Si+1)%2;pt(It,Pi)||(oi=Qe(oi,ri,Pi)),bn(oi)}else(_n||Tn)&&bn(null)}return[Wn,Gn]}function Qi(Ye,It){return Ye&&Ye[0]&&Ye[1]&&It.isAfter(Ye[0],Ye[1])?[Ye[1],Ye[0]]:Ye}function xi(Ye,It,lr,sr){return Ye||sr&&sr[It]?!0:!!lr[(It+1)%2]}function Ei(Ye){var It,lr,sr,Lr=Ye.prefixCls,Pr=Lr===void 0?"rc-picker":Lr,Kr=Ye.id,on=Ye.style,xn=Ye.className,An=Ye.popupStyle,Pn=Ye.dropdownClassName,Un=Ye.transitionName,bn=Ye.dropdownAlign,_n=Ye.getPopupContainer,Tn=Ye.generateConfig,Wn=Ye.locale,Gn=Ye.placeholder,ri=Ye.autoFocus,Si=Ye.disabled,oi=Ye.format,Pi=Ye.picker,Hi=Pi===void 0?"date":Pi,_i=Ye.showTime,pi=Ye.use12Hours,ki=Ye.separator,zn=ki===void 0?"~":ki,ji=Ye.value,Yi=Ye.defaultValue,ta=Ye.defaultPickerValue,Zi=Ye.open,br=Ye.defaultOpen,Wr=Ye.disabledDate,nn=Ye.disabledTime,Nr=Ye.dateRender,jt=Ye.panelRender,xr=Ye.ranges,$t=Ye.allowEmpty,jr=Ye.allowClear,Hr=Ye.suffixIcon,ln=Ye.clearIcon,qr=Ye.pickerRef,fn=Ye.inputReadOnly,Dn=Ye.mode,li=Ye.renderExtraFooter,di=Ye.onChange,Ri=Ye.onOpenChange,la=Ye.onPanelChange,na=Ye.onCalendarChange,ga=Ye.onFocus,Fi=Ye.onBlur,Ni=Ye.onOk,ia=Ye.components,Ji=Ye.order,ha=Ye.direction,Ta=Ye.activePickerIndex,Pa=Ye.autoComplete,bi=Pa===void 0?"off":Pa,Qn=Hi==="date"&&!!_i||Hi==="time",vi=Object(c.useRef)({}),Ai=Object(c.useRef)(null),Gi=Object(c.useRef)(null),Oi=Object(c.useRef)(null),pa=Object(c.useRef)(null),Ma=Object(c.useRef)(null),fa=Object(c.useRef)(null),ua=Object(c.useRef)(null),ra=$e($(oi,Hi,_i,pi)),Ra=Object(j.a)(0,{value:Ta}),eo=Object(F.a)(Ra,2),qi=eo[0],qa=eo[1],Ya=Object(c.useRef)(null),Ka=c.useMemo(function(){return Array.isArray(Si)?Si:[Si||!1,Si||!1]},[Si]),ao=Object(j.a)(null,{value:ji,defaultValue:Yi,postState:function(Ea){return Hi==="time"&&!Ji?Ea:Qi(Ea,Tn)}}),Va=Object(F.a)(ao,2),Ba=Va[0],go=Va[1],so=Jn({values:Ba,picker:Hi,defaultDates:ta,generateConfig:Tn}),vo=Object(F.a)(so,2),to=vo[0],ro=vo[1],Ca=Object(j.a)(Ba,{postState:function(Ea){var za=Ea;if(Ka[0]&&Ka[1])return za;for(var co=0;co<2;co+=1)Ka[co]&&!pt(za,co)&&!pt($t,co)&&(za=Qe(za,Tn.getNow(),co));return za}}),Ha=Object(F.a)(Ca,2),Na=Ha[0],oo=Ha[1],Ga=Object(j.a)([Hi,Hi],{value:Dn}),Ki=Object(F.a)(Ga,2),Xa=Ki[0],No=Ki[1];Object(c.useEffect)(function(){No([Hi,Hi])},[Hi]);var _o=function(Ea,za){No(Ea),la&&la(za,Ea)},Vo=ci({picker:Hi,selectedValue:Na,locale:Wn,disabled:Ka,disabledDate:Wr,generateConfig:Tn},vi.current[1],vi.current[0]),Go=Object(F.a)(Vo,2),bo=Go[0],Da=Go[1],Ho=Object(j.a)(!1,{value:Zi,defaultValue:br,postState:function(Ea){return Ka[qi]?!1:Ea},onChange:function(Ea){Ri&&Ri(Ea),!Ea&&Ya.current&&Ya.current.onClose&&Ya.current.onClose()}}),ds=Object(F.a)(Ho,2),fo=ds[0],Oo=ds[1],Wa=fo&&qi===0,Xo=fo&&qi===1,Zs=Object(c.useState)(0),Ps=Object(F.a)(Zs,2),_s=Ps[0],Es=Ps[1];Object(c.useEffect)(function(){!fo&&Ai.current&&Es(Ai.current.offsetWidth)},[fo]);var Ts=c.useRef();function ws(Ja,Ea){if(Ja)clearTimeout(Ts.current),vi.current[Ea]=!0,qa(Ea),Oo(Ja),fo||ro(null,Ea);else if(qi===Ea){Oo(Ja);var za=vi.current;Ts.current=setTimeout(function(){za===vi.current&&(vi.current={})})}}function Do(Ja){ws(!0,Ja),setTimeout(function(){var Ea=[fa,ua][Ja];Ea.current&&Ea.current.focus()},0)}function po(Ja,Ea){var za=Ja,co=pt(za,0),$o=pt(za,1);co&&$o&&Tn.isAfter(co,$o)&&(Hi==="week"&&!nr(Tn,Wn.locale,co,$o)||Hi==="quarter"&&!Xt(Tn,co,$o)||Hi!=="week"&&Hi!=="quarter"&&Hi!=="time"&&!Fr(Tn,co,$o)?(Ea===0?(za=[co,null],$o=null):(co=null,za=[null,$o]),vi.current=Object(M.a)({},Ea,!0)):(Hi!=="time"||Ji!==!1)&&(za=Qi(za,Tn))),oo(za);var Hs=za&&za[0]?Tn.locale.format(Wn.locale,za[0],ra[0]):"",As=za&&za[1]?Tn.locale.format(Wn.locale,za[1],ra[0]):"";if(na){var ys={range:Ea===0?"start":"end"};na(za,[Hs,As],ys)}var jo=xi(co,0,Ka,$t),Co=xi($o,1,Ka,$t),qo=za===null||jo&&Co;qo&&(go(za),di&&(!Lt(Tn,pt(Ba,0),co)||!Lt(Tn,pt(Ba,1),$o))&&di(za,[Hs,As]));var So=null;Ea===0&&!Ka[1]?So=1:Ea===1&&!Ka[0]&&(So=0),So!==null&&So!==qi&&(!vi.current[So]||!pt(za,So))&&pt(za,Ea)?Do(So):ws(!1,Ea)}var rs=function(Ea){return fo&&Ya.current&&Ya.current.onKeyDown?Ya.current.onKeyDown(Ea):(Object(C.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Yo={formatList:ra,generateConfig:Tn,locale:Wn},Fo=Di(pt(Na,0),Yo),zr=Object(F.a)(Fo,2),Jo=zr[0],$s=zr[1],Is=Di(pt(Na,1),Yo),ks=Object(F.a)(Is,2),lo=ks[0],Ao=ks[1],Uo=function(Ea,za){var co=Tn.locale.parse(Wn.locale,Ea,ra),$o=za===0?bo:Da;co&&!$o(co)&&(oo(Qe(Na,co,za)),ro(co,za))},hs=ti({valueTexts:Jo,onTextChange:function(Ea){return Uo(Ea,0)}}),vs=Object(F.a)(hs,3),ss=vs[0],Cs=vs[1],ol=vs[2],Ls=ti({valueTexts:lo,onTextChange:function(Ea){return Uo(Ea,1)}}),Xs=Object(F.a)(Ls,3),Os=Xs[0],Ks=Xs[1],Bs=Xs[2],bt=Object(c.useState)(null),Dt=Object(F.a)(bt,2),rn=Dt[0],On=Dt[1],ft=Object(c.useState)(null),ne=Object(F.a)(ft,2),Ae=ne[0],Te=ne[1],je=gn(ss,{formatList:ra,generateConfig:Tn,locale:Wn}),st=Object(F.a)(je,3),xt=st[0],gr=st[1],Ir=st[2],Zr=gn(Os,{formatList:ra,generateConfig:Tn,locale:Wn}),En=Object(F.a)(Zr,3),Hn=En[0],ai=En[1],Ci=En[2],Ui=function(Ea){Te(Qe(Na,Ea,qi)),qi===0?gr(Ea):ai(Ea)},va=function(){Te(Qe(Na,null,qi)),qi===0?Ir():Ci()},_a=function(Ea,za){return{blurToCancel:Qn,forwardKeyDown:rs,onBlur:Fi,isClickOutside:function($o){return!le([Gi.current,Oi.current,pa.current],$o)},onFocus:function($o){qa(Ea),ga&&ga($o)},triggerOpen:function($o){ws($o,Ea)},onSubmit:function(){po(Na,Ea),za()},onCancel:function(){ws(!1,Ea),oo(Ba),za()}}},Za=ii(Object(U.a)(Object(U.a)({},_a(0,ol)),{},{open:Wa,value:ss})),no=Object(F.a)(Za,2),uo=no[0],Io=no[1],Eo=Io.focused,Ro=Io.typing,yo=ii(Object(U.a)(Object(U.a)({},_a(1,Bs)),{},{open:Xo,value:Os})),Lo=Object(F.a)(yo,2),Zo=Lo[0],Ko=Lo[1],To=Ko.focused,aa=Ko.typing,Ns=function(Ea){!fo&&!fa.current.contains(Ea.target)&&!ua.current.contains(Ea.target)&&(Ka[0]?Ka[1]||Do(1):Do(0))},Ss=function(Ea){fo&&(Eo||To)&&!fa.current.contains(Ea.target)&&!ua.current.contains(Ea.target)&&Ea.preventDefault()},is=Ba&&Ba[0]?Tn.locale.format(Wn.locale,Ba[0],"YYYYMMDDHHmmss"):"",Qo=Ba&&Ba[1]?Tn.locale.format(Wn.locale,Ba[1],"YYYYMMDDHHmmss"):"";Object(c.useEffect)(function(){fo||(oo(Ba),!Jo.length||Jo[0]===""?Cs(""):$s!==ss&&ol(),!lo.length||lo[0]===""?Ks(""):Ao!==Os&&Bs())},[fo,Jo,lo]),Object(c.useEffect)(function(){oo(Ba)},[is,Qo]),qr&&(qr.current={focus:function(){fa.current&&fa.current.focus()},blur:function(){fa.current&&fa.current.blur(),ua.current&&ua.current.blur()}});var fs=Object.keys(xr||{}),vl=fs.map(function(Ja){var Ea=xr[Ja],za=typeof Ea=="function"?Ea():Ea;return{label:Ja,onClick:function(){po(za,null),ws(!1,qi)},onMouseEnter:function(){On(za)},onMouseLeave:function(){On(null)}}});function sl(){var Ja=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ea=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},za=null;fo&&Ae&&Ae[0]&&Ae[1]&&Tn.isAfter(Ae[1],Ae[0])&&(za=Ae);var co=_i;if(_i&&Object(W.a)(_i)==="object"&&_i.defaultValue){var $o=_i.defaultValue;co=Object(U.a)(Object(U.a)({},_i),{},{defaultValue:pt($o,qi)||void 0})}var Hs=null;return Nr&&(Hs=function(ys,jo){return Nr(ys,jo,{range:qi?"end":"start"})}),c.createElement(yr.Provider,{value:{inRange:!0,panelPosition:Ja,rangedValue:rn||Na,hoverRangedValue:za}},c.createElement(Br,Object.assign({},Ye,Ea,{dateRender:Hs,showTime:co,mode:Xa[qi],generateConfig:Tn,style:void 0,direction:ha,disabledDate:qi===0?bo:Da,disabledTime:function(ys){return nn?nn(ys,qi===0?"start":"end"):!1},className:E()(Object(M.a)({},"".concat(Pr,"-panel-focused"),qi===0?!Ro:!aa)),value:pt(Na,qi),locale:Wn,tabIndex:-1,onPanelChange:function(ys,jo){_o(Qe(Xa,jo,qi),Qe(Na,ys,qi));var Co=ys;Ja==="right"&&Xa[qi]===jo&&(Co=qt(Co,jo,Tn,-1)),ro(Co,qi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var ps=0,Mo=0;qi&&Oi.current&&Ma.current&&Gi.current&&(ps=Oi.current.offsetWidth+Ma.current.offsetWidth,Gi.current.offsetWidth&&ps>Gi.current.offsetWidth&&(Mo=ps));var ls=ha==="rtl"?{right:ps}:{left:ps};function el(){var Ja,Ea=hn(Pr,Xa[qi],li),za=ir({prefixCls:Pr,components:ia,needConfirmButton:Qn,okDisabled:!pt(Na,qi)||Wr&&Wr(Na[qi]),locale:Wn,rangeList:vl,onOk:function(){pt(Na,qi)&&(po(Na,qi),Ni&&Ni(Na))}});if(Hi!=="time"&&!_i){var co=to(qi),$o=qt(co,Hi,Tn),Hs=Xa[qi],As=Hs===Hi,ys=sl(As?"left":!1,{pickerValue:co,onPickerValueChange:function(So){ro(So,qi)}}),jo=sl("right",{pickerValue:$o,onPickerValueChange:function(So){ro(qt(So,Hi,Tn,-1),qi)}});ha==="rtl"?Ja=c.createElement(c.Fragment,null,jo,As&&ys):Ja=c.createElement(c.Fragment,null,ys,As&&jo)}else Ja=sl();var Co=c.createElement(c.Fragment,null,c.createElement("div",{className:"".concat(Pr,"-panels")},Ja),(Ea||za)&&c.createElement("div",{className:"".concat(Pr,"-footer")},Ea,za));return jt&&(Co=jt(Co)),c.createElement("div",{className:"".concat(Pr,"-panel-container"),style:{marginLeft:Mo},ref:Gi,onMouseDown:function(So){So.preventDefault()}},Co)}var ms=c.createElement("div",{className:E()("".concat(Pr,"-range-wrapper"),"".concat(Pr,"-").concat(Hi,"-range-wrapper")),style:{minWidth:_s}},c.createElement("div",{className:"".concat(Pr,"-range-arrow"),style:ls}),el()),Fs;Hr&&(Fs=c.createElement("span",{className:"".concat(Pr,"-suffix")},Hr));var Us;jr&&(pt(Ba,0)&&!Ka[0]||pt(Ba,1)&&!Ka[1])&&(Us=c.createElement("span",{onMouseDown:function(Ea){Ea.preventDefault(),Ea.stopPropagation()},onMouseUp:function(Ea){Ea.preventDefault(),Ea.stopPropagation();var za=Ba;Ka[0]||(za=Qe(za,null,0)),Ka[1]||(za=Qe(za,null,1)),po(za,null),ws(!1,qi)},className:"".concat(Pr,"-clear")},ln||c.createElement("span",{className:"".concat(Pr,"-clear-btn")})));var Ds={size:ze(Hi,ra[0])},al=0,tl=0;Oi.current&&pa.current&&Ma.current&&(qi===0?tl=Oi.current.offsetWidth:(al=ps,tl=pa.current.offsetWidth));var Ys=ha==="rtl"?{right:al}:{left:al},js=function(Ea,za){var co=Qe(Na,Ea,qi);za==="submit"||za!=="key"&&!Qn?(po(co,qi),qi===0?Ir():Ci()):oo(co)};return c.createElement(Y.Provider,{value:{operationRef:Ya,hideHeader:Hi==="time",onDateMouseEnter:Ui,onDateMouseLeave:va,hideRanges:!0,onSelect:js,open:fo}},c.createElement(ei,{visible:fo,popupElement:ms,popupStyle:An,prefixCls:Pr,dropdownClassName:Pn,dropdownAlign:bn,getPopupContainer:_n,transitionName:Un,range:!0,direction:ha},c.createElement("div",Object.assign({ref:Ai,className:E()(Pr,"".concat(Pr,"-range"),xn,(It={},Object(M.a)(It,"".concat(Pr,"-disabled"),Ka[0]&&Ka[1]),Object(M.a)(It,"".concat(Pr,"-focused"),qi===0?Eo:To),Object(M.a)(It,"".concat(Pr,"-rtl"),ha==="rtl"),It)),style:on,onClick:Ns,onMouseDown:Ss},Le(Ye)),c.createElement("div",{className:E()("".concat(Pr,"-input"),(lr={},Object(M.a)(lr,"".concat(Pr,"-input-active"),qi===0),Object(M.a)(lr,"".concat(Pr,"-input-placeholder"),!!xt),lr)),ref:Oi},c.createElement("input",Object.assign({id:Kr,disabled:Ka[0],readOnly:fn||!Ro,value:xt||ss,onChange:function(Ea){Cs(Ea.target.value)},autoFocus:ri,placeholder:pt(Gn,0)||"",ref:fa},uo,Ds,{autoComplete:bi}))),c.createElement("div",{className:"".concat(Pr,"-range-separator"),ref:Ma},zn),c.createElement("div",{className:E()("".concat(Pr,"-input"),(sr={},Object(M.a)(sr,"".concat(Pr,"-input-active"),qi===1),Object(M.a)(sr,"".concat(Pr,"-input-placeholder"),!!Hn),sr)),ref:pa},c.createElement("input",Object.assign({disabled:Ka[1],readOnly:fn||!aa,value:Hn||Os,onChange:function(Ea){Ks(Ea.target.value)},placeholder:pt(Gn,1)||"",ref:ua},Zo,Ds,{autoComplete:bi}))),c.createElement("div",{className:"".concat(Pr,"-active-bar"),style:Object(U.a)(Object(U.a)({},Ys),{},{width:tl,position:"absolute"})}),Fs,Us)))}var dn=function(Ye){Object(D.a)(lr,Ye);var It=Object(B.a)(lr);function lr(){var sr;return Object(N.a)(this,lr),sr=It.apply(this,arguments),sr.pickerRef=c.createRef(),sr.focus=function(){sr.pickerRef.current&&sr.pickerRef.current.focus()},sr.blur=function(){sr.pickerRef.current&&sr.pickerRef.current.blur()},sr}return Object(R.a)(lr,[{key:"render",value:function(){return c.createElement(Ei,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),lr}(c.Component),Mr=dn,wn=tn,Rn=d("61s2");function Xn(Ye,It,lr){return lr!==void 0?lr:Ye==="year"&&It.lang.yearPlaceholder?It.lang.yearPlaceholder:Ye==="quarter"&&It.lang.quarterPlaceholder?It.lang.quarterPlaceholder:Ye==="month"&&It.lang.monthPlaceholder?It.lang.monthPlaceholder:Ye==="week"&&It.lang.weekPlaceholder?It.lang.weekPlaceholder:Ye==="time"&&It.timePickerLocale.placeholder?It.timePickerLocale.placeholder:It.lang.placeholder}function Zn(Ye,It,lr){return lr!==void 0?lr:Ye==="year"&&It.lang.yearPlaceholder?It.lang.rangeYearPlaceholder:Ye==="month"&&It.lang.monthPlaceholder?It.lang.rangeMonthPlaceholder:Ye==="week"&&It.lang.weekPlaceholder?It.lang.rangeWeekPlaceholder:Ye==="time"&&It.timePickerLocale.placeholder?It.timePickerLocale.rangePlaceholder:It.lang.rangePlaceholder}var hi=d("uaoM"),mi=d("H84U"),gi=d("YMnH"),Vi=d("3Nzz"),ma=function(Ye,It){var lr={};for(var sr in Ye)Object.prototype.hasOwnProperty.call(Ye,sr)&&It.indexOf(sr)<0&&(lr[sr]=Ye[sr]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lr=0,sr=Object.getOwnPropertySymbols(Ye);Lr<sr.length;Lr++)It.indexOf(sr[Lr])<0&&Object.prototype.propertyIsEnumerable.call(Ye,sr[Lr])&&(lr[sr[Lr]]=Ye[sr[Lr]]);return lr};function ca(Ye){function It(xn,An){var Pn=function(Un){f()(_n,Un);var bn=v()(_n);function _n(Tn){var Wn;return a()(this,_n),Wn=bn.call(this,Tn),Wn.pickerRef=c.createRef(),Wn.focus=function(){Wn.pickerRef.current&&Wn.pickerRef.current.focus()},Wn.blur=function(){Wn.pickerRef.current&&Wn.pickerRef.current.blur()},Wn.getDefaultLocale=function(){var Gn=Wn.props.locale,ri=p()(p()({},Rn.a),Gn);return ri.lang=p()(p()({},ri.lang),(Gn||{}).lang),ri},Wn.renderPicker=function(Gn){var ri=Wn.context,Si=ri.getPrefixCls,oi=ri.direction,Pi=ri.getPopupContainer,Hi=Wn.props,_i=Hi.prefixCls,pi=Hi.getPopupContainer,ki=Hi.className,zn=Hi.size,ji=Hi.bordered,Yi=ji===void 0?!0:ji,ta=Hi.placeholder,Zi=ma(Hi,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),br=Wn.props,Wr=br.format,nn=br.showTime,Nr=Si("picker",_i),jt={showToday:!0},xr={};xn&&(xr.picker=xn);var $t=xn||Wn.props.picker;return xr=p()(p()(p()({},xr),nn?da(p()({format:Wr,picker:$t},nn)):{}),$t==="time"?da(p()(p()({format:Wr},Wn.props),{picker:$t})):{}),c.createElement(Vi.b.Consumer,null,function(jr){var Hr,ln=zn||jr;return c.createElement(wn,p()({ref:Wn.pickerRef,placeholder:Xn($t,Gn,ta),suffixIcon:$t==="time"?c.createElement(I.a,null):c.createElement(w.a,null),clearIcon:c.createElement(O.a,null),allowClear:!0,transitionName:"slide-up"},jt,Zi,xr,{locale:Gn.lang,className:E()(ki,(Hr={},s()(Hr,"".concat(Nr,"-").concat(ln),ln),s()(Hr,"".concat(Nr,"-borderless"),!Yi),Hr)),prefixCls:Nr,getPopupContainer:pi||Pi,generateConfig:Ye,prevIcon:c.createElement("span",{className:"".concat(Nr,"-prev-icon")}),nextIcon:c.createElement("span",{className:"".concat(Nr,"-next-icon")}),superPrevIcon:c.createElement("span",{className:"".concat(Nr,"-super-prev-icon")}),superNextIcon:c.createElement("span",{className:"".concat(Nr,"-super-next-icon")}),components:sa,direction:oi}))})},Object(hi.a)(xn!=="quarter",An,"DatePicker.".concat(An," is legacy usage. Please use DatePicker[picker='").concat(xn,"'] directly.")),Wn}return u()(_n,[{key:"render",value:function(){return c.createElement(gi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),_n}(c.Component);return Pn.contextType=mi.b,An&&(Pn.displayName=An),Pn}var lr=It(),sr=It("week","WeekPicker"),Lr=It("month","MonthPicker"),Pr=It("year","YearPicker"),Kr=It("time","TimePicker"),on=It("quarter","QuarterPicker");return{DatePicker:lr,WeekPicker:sr,MonthPicker:Lr,YearPicker:Pr,TimePicker:Kr,QuarterPicker:on}}var ja=d("8ISB"),fi=d.n(ja),cn=function(Ye,It){var lr={};for(var sr in Ye)Object.prototype.hasOwnProperty.call(Ye,sr)&&It.indexOf(sr)<0&&(lr[sr]=Ye[sr]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lr=0,sr=Object.getOwnPropertySymbols(Ye);Lr<sr.length;Lr++)It.indexOf(sr[Lr])<0&&Object.prototype.propertyIsEnumerable.call(Ye,sr[Lr])&&(lr[sr[Lr]]=Ye[sr[Lr]]);return lr};function Bi(Ye){var It=function(lr){f()(Lr,lr);var sr=v()(Lr);function Lr(){var Pr;return a()(this,Lr),Pr=sr.apply(this,arguments),Pr.pickerRef=c.createRef(),Pr.focus=function(){Pr.pickerRef.current&&Pr.pickerRef.current.focus()},Pr.blur=function(){Pr.pickerRef.current&&Pr.pickerRef.current.blur()},Pr.getDefaultLocale=function(){var Kr=Pr.props.locale,on=p()(p()({},Rn.a),Kr);return on.lang=p()(p()({},on.lang),(Kr||{}).lang),on},Pr.renderPicker=function(Kr){var on=Pr.context,xn=on.getPrefixCls,An=on.direction,Pn=on.getPopupContainer,Un=Pr.props,bn=Un.prefixCls,_n=Un.getPopupContainer,Tn=Un.className,Wn=Un.size,Gn=Un.bordered,ri=Gn===void 0?!0:Gn,Si=Un.placeholder,oi=cn(Un,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Pi=Pr.props,Hi=Pi.format,_i=Pi.showTime,pi=Pi.picker,ki=xn("picker",bn),zn={};return zn=p()(p()(p()({},zn),_i?da(p()({format:Hi,picker:pi},_i)):{}),pi==="time"?da(p()(p()({format:Hi},Pr.props),{picker:pi})):{}),c.createElement(Vi.b.Consumer,null,function(ji){var Yi,ta=Wn||ji;return c.createElement(Mr,p()({separator:c.createElement("span",{"aria-label":"to",className:"".concat(ki,"-separator")},c.createElement(fi.a,null)),ref:Pr.pickerRef,placeholder:Zn(pi,Kr,Si),suffixIcon:pi==="time"?c.createElement(I.a,null):c.createElement(w.a,null),clearIcon:c.createElement(O.a,null),allowClear:!0,transitionName:"slide-up"},oi,zn,{className:E()(Tn,(Yi={},s()(Yi,"".concat(ki,"-").concat(ta),ta),s()(Yi,"".concat(ki,"-borderless"),!ri),Yi)),locale:Kr.lang,prefixCls:ki,getPopupContainer:_n||Pn,generateConfig:Ye,prevIcon:c.createElement("span",{className:"".concat(ki,"-prev-icon")}),nextIcon:c.createElement("span",{className:"".concat(ki,"-next-icon")}),superPrevIcon:c.createElement("span",{className:"".concat(ki,"-super-prev-icon")}),superNextIcon:c.createElement("span",{className:"".concat(ki,"-super-next-icon")}),components:sa,direction:An}))})},Pr}return u()(Lr,[{key:"render",value:function(){return c.createElement(gi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Lr}(c.Component);return It.contextType=mi.b,It}var sa={button:r,rangeItem:n};function zi(Ye){return Ye?Array.isArray(Ye)?Ye:[Ye]:[]}function da(Ye){var It=Ye.format,lr=Ye.picker,sr=Ye.showHour,Lr=Ye.showMinute,Pr=Ye.showSecond,Kr=Ye.use12Hours,on=zi(It)[0],xn=p()({},Ye);return on&&(!on.includes("s")&&Pr===void 0&&(xn.showSecond=!1),!on.includes("m")&&Lr===void 0&&(xn.showMinute=!1),!on.includes("H")&&!on.includes("h")&&sr===void 0&&(xn.showHour=!1),(on.includes("a")||on.includes("A"))&&Kr===void 0&&(xn.use12Hours=!0)),lr==="time"?xn:{showTime:xn}}function Vt(Ye){var It=ca(Ye),lr=It.DatePicker,sr=It.WeekPicker,Lr=It.MonthPicker,Pr=It.YearPicker,Kr=It.TimePicker,on=It.QuarterPicker,xn=Bi(Ye),An=lr;return An.WeekPicker=sr,An.MonthPicker=Lr,An.YearPicker=Pr,An.RangePicker=xn,An.TimePicker=Kr,An.QuarterPicker=on,An}var Qr=Vt,an=Qr(b),mn=k.a=an},"+lIL":function(H,k,d){var _=d("ProS");d("/ry/"),d("3OrL");var x=d("L5E0"),C=d("7Phj");_.registerVisual(x),_.registerLayout(C)},"+nKL":function(H,k,d){"use strict";var _=d("q1tI"),x=d("TSYQ"),C=d.n(x),A=d("wx14"),b=d("Zm9Q"),m=d("Kwbf"),p=d("VTBJ"),c=d("c+Xe"),o=d("m+aA"),r=d("bdgK"),i=new Map;function n(Ve){Ve.forEach(function(_e){var ke,Pe=_e.target;(ke=i.get(Pe))===null||ke===void 0||ke.forEach(function(rt){return rt(Pe)})})}var t=new r.default(n),s=null,e=null;function a(Ve,_e){i.has(Ve)||(i.set(Ve,new Set),t.observe(Ve)),i.get(Ve).add(_e)}function l(Ve,_e){i.has(Ve)&&(i.get(Ve).delete(_e),i.get(Ve).size||(t.unobserve(Ve),i.delete(Ve)))}var u=d("1OyB"),h=d("vuIU"),f=d("Ji7U"),g=d("LK+K"),v=function(Ve){Object(f.a)(ke,Ve);var _e=Object(g.a)(ke);function ke(){return Object(u.a)(this,ke),_e.apply(this,arguments)}return Object(h.a)(ke,[{key:"render",value:function(){return this.props.children}}]),ke}(_.Component),y=_.createContext(null);function E(Ve){var _e=Ve.children,ke=Ve.onBatchResize,Pe=_.useRef(0),rt=_.useRef([]),Pt=_.useContext(y),Yt=_.useCallback(function(kt,_r,Rr){Pe.current+=1;var un=Pe.current;rt.current.push({size:kt,element:_r,data:Rr}),Promise.resolve().then(function(){un===Pe.current&&(ke==null||ke(rt.current),rt.current=[])}),Pt==null||Pt(kt,_r,Rr)},[ke,Pt]);return _.createElement(y.Provider,{value:Yt},_e)}function T(Ve){var _e=Ve.children,ke=Ve.disabled,Pe=_.useRef(null),rt=_.useRef(null),Pt=_.useContext(y),Yt=typeof _e=="function",kt=Yt?_e(Pe):_e,_r=_.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Rr=!Yt&&_.isValidElement(kt)&&Object(c.c)(kt),un=Rr?kt.ref:null,Ut=_.useMemo(function(){return Object(c.a)(un,Pe)},[un,Pe]),ht=_.useRef(Ve);ht.current=Ve;var ot=_.useCallback(function(Wt){var Jt=ht.current,At=Jt.onResize,Bt=Jt.data,mt=Wt.getBoundingClientRect(),Mt=mt.width,hr=mt.height,or=Wt.offsetWidth,ar=Wt.offsetHeight,Gr=Math.floor(Mt),Yr=Math.floor(hr);if(_r.current.width!==Gr||_r.current.height!==Yr||_r.current.offsetWidth!==or||_r.current.offsetHeight!==ar){var In={width:Gr,height:Yr,offsetWidth:or,offsetHeight:ar};_r.current=In;var Nn=or===Math.round(Mt)?Mt:or,Kn=ar===Math.round(hr)?hr:ar,$n=Object(p.a)(Object(p.a)({},In),{},{offsetWidth:Nn,offsetHeight:Kn});Pt==null||Pt($n,Wt,Bt),At&&Promise.resolve().then(function(){At($n,Wt)})}},[]);return _.useEffect(function(){var Wt=Object(o.a)(Pe.current)||Object(o.a)(rt.current);return Wt&&!ke&&a(Wt,ot),function(){return l(Wt,ot)}},[Pe.current,ke]),_.createElement(v,{ref:rt},Rr?_.cloneElement(kt,{ref:Ut}):kt)}var w="rc-observer-key";function S(Ve){var _e=Ve.children,ke=typeof _e=="function"?[_e]:Object(b.a)(_e);return ke.map(function(Pe,rt){var Pt=(Pe==null?void 0:Pe.key)||"".concat(w,"-").concat(rt);return _.createElement(T,Object(A.a)({},Ve,{key:Pt}),Pe)})}S.Collection=E;var I=S;function L(Ve,_e){var ke=Object.keys(Ve);if(Object.getOwnPropertySymbols){var Pe=Object.getOwnPropertySymbols(Ve);_e&&(Pe=Pe.filter(function(rt){return Object.getOwnPropertyDescriptor(Ve,rt).enumerable})),ke.push.apply(ke,Pe)}return ke}function O(Ve){for(var _e=1;_e<arguments.length;_e++){var ke=arguments[_e]!=null?arguments[_e]:{};_e%2?L(Object(ke),!0).forEach(function(Pe){N(Ve,Pe,ke[Pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ve,Object.getOwnPropertyDescriptors(ke)):L(Object(ke)).forEach(function(Pe){Object.defineProperty(Ve,Pe,Object.getOwnPropertyDescriptor(ke,Pe))})}return Ve}function N(Ve,_e,ke){return _e in Ve?Object.defineProperty(Ve,_e,{value:ke,enumerable:!0,configurable:!0,writable:!0}):Ve[_e]=ke,Ve}var R=_.forwardRef(function(Ve,_e){var ke=Ve.height,Pe=Ve.offset,rt=Ve.children,Pt=Ve.prefixCls,Yt=Ve.onInnerResize,kt={},_r={display:"flex",flexDirection:"column"};return Pe!==void 0&&(kt={height:ke,position:"relative",overflow:"hidden"},_r=O(O({},_r),{},{transform:"translateY(".concat(Pe,"px)"),position:"absolute",left:0,right:0,top:0})),_.createElement("div",{style:kt},_.createElement(I,{onResize:function(un){var Ut=un.offsetHeight;Ut&&Yt&&Yt()}},_.createElement("div",{style:_r,className:C()(N({},"".concat(Pt,"-holder-inner"),Pt)),ref:_e},rt)))});R.displayName="Filler";var D=R,B=d("wgJM");function M(Ve){return M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_e){return typeof _e}:function(_e){return _e&&typeof Symbol=="function"&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e},M(Ve)}function U(Ve,_e,ke){return _e in Ve?Object.defineProperty(Ve,_e,{value:ke,enumerable:!0,configurable:!0,writable:!0}):Ve[_e]=ke,Ve}function F(Ve,_e){if(!(Ve instanceof _e))throw new TypeError("Cannot call a class as a function")}function j(Ve,_e){for(var ke=0;ke<_e.length;ke++){var Pe=_e[ke];Pe.enumerable=Pe.enumerable||!1,Pe.configurable=!0,"value"in Pe&&(Pe.writable=!0),Object.defineProperty(Ve,Pe.key,Pe)}}function W(Ve,_e,ke){return _e&&j(Ve.prototype,_e),ke&&j(Ve,ke),Object.defineProperty(Ve,"prototype",{writable:!1}),Ve}function V(Ve,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function");Ve.prototype=Object.create(_e&&_e.prototype,{constructor:{value:Ve,writable:!0,configurable:!0}}),Object.defineProperty(Ve,"prototype",{writable:!1}),_e&&z(Ve,_e)}function z(Ve,_e){return z=Object.setPrototypeOf||function(Pe,rt){return Pe.__proto__=rt,Pe},z(Ve,_e)}function Y(Ve){var _e=Z();return function(){var Pe=oe(Ve),rt;if(_e){var Pt=oe(this).constructor;rt=Reflect.construct(Pe,arguments,Pt)}else rt=Pe.apply(this,arguments);return J(this,rt)}}function J(Ve,_e){if(_e&&(M(_e)==="object"||typeof _e=="function"))return _e;if(_e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ie(Ve)}function ie(Ve){if(Ve===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ve}function Z(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Ve){return!1}}function oe(Ve){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(ke){return ke.__proto__||Object.getPrototypeOf(ke)},oe(Ve)}var ge=20;function pe(Ve){return"touches"in Ve?Ve.touches[0].pageY:Ve.pageY}var De=function(Ve){V(ke,Ve);var _e=Y(ke);function ke(){var Pe;F(this,ke);for(var rt=arguments.length,Pt=new Array(rt),Yt=0;Yt<rt;Yt++)Pt[Yt]=arguments[Yt];return Pe=_e.call.apply(_e,[this].concat(Pt)),Pe.moveRaf=null,Pe.scrollbarRef=_.createRef(),Pe.thumbRef=_.createRef(),Pe.visibleTimeout=null,Pe.state={dragging:!1,pageY:null,startTop:null,visible:!1},Pe.delayHidden=function(){clearTimeout(Pe.visibleTimeout),Pe.setState({visible:!0}),Pe.visibleTimeout=setTimeout(function(){Pe.setState({visible:!1})},2e3)},Pe.onScrollbarTouchStart=function(kt){kt.preventDefault()},Pe.onContainerMouseDown=function(kt){kt.stopPropagation(),kt.preventDefault()},Pe.patchEvents=function(){window.addEventListener("mousemove",Pe.onMouseMove),window.addEventListener("mouseup",Pe.onMouseUp),Pe.thumbRef.current.addEventListener("touchmove",Pe.onMouseMove),Pe.thumbRef.current.addEventListener("touchend",Pe.onMouseUp)},Pe.removeEvents=function(){var kt;window.removeEventListener("mousemove",Pe.onMouseMove),window.removeEventListener("mouseup",Pe.onMouseUp),(kt=Pe.scrollbarRef.current)===null||kt===void 0||kt.removeEventListener("touchstart",Pe.onScrollbarTouchStart),Pe.thumbRef.current&&(Pe.thumbRef.current.removeEventListener("touchstart",Pe.onMouseDown),Pe.thumbRef.current.removeEventListener("touchmove",Pe.onMouseMove),Pe.thumbRef.current.removeEventListener("touchend",Pe.onMouseUp)),B.a.cancel(Pe.moveRaf)},Pe.onMouseDown=function(kt){var _r=Pe.props.onStartMove;Pe.setState({dragging:!0,pageY:pe(kt),startTop:Pe.getTop()}),_r(),Pe.patchEvents(),kt.stopPropagation(),kt.preventDefault()},Pe.onMouseMove=function(kt){var _r=Pe.state,Rr=_r.dragging,un=_r.pageY,Ut=_r.startTop,ht=Pe.props.onScroll;if(B.a.cancel(Pe.moveRaf),Rr){var ot=pe(kt)-un,Wt=Ut+ot,Jt=Pe.getEnableScrollRange(),At=Pe.getEnableHeightRange(),Bt=At?Wt/At:0,mt=Math.ceil(Bt*Jt);Pe.moveRaf=Object(B.a)(function(){ht(mt)})}},Pe.onMouseUp=function(){var kt=Pe.props.onStopMove;Pe.setState({dragging:!1}),kt(),Pe.removeEvents()},Pe.getSpinHeight=function(){var kt=Pe.props,_r=kt.height,Rr=kt.count,un=_r/Rr*10;return un=Math.max(un,ge),un=Math.min(un,_r/2),Math.floor(un)},Pe.getEnableScrollRange=function(){var kt=Pe.props,_r=kt.scrollHeight,Rr=kt.height;return _r-Rr||0},Pe.getEnableHeightRange=function(){var kt=Pe.props.height,_r=Pe.getSpinHeight();return kt-_r||0},Pe.getTop=function(){var kt=Pe.props.scrollTop,_r=Pe.getEnableScrollRange(),Rr=Pe.getEnableHeightRange();if(kt===0||_r===0)return 0;var un=kt/_r;return un*Rr},Pe.showScroll=function(){var kt=Pe.props,_r=kt.height,Rr=kt.scrollHeight;return Rr>_r},Pe}return W(ke,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(rt){rt.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var rt=this.state,Pt=rt.dragging,Yt=rt.visible,kt=this.props.prefixCls,_r=this.getSpinHeight(),Rr=this.getTop(),un=this.showScroll(),Ut=un&&Yt;return _.createElement("div",{ref:this.scrollbarRef,className:C()("".concat(kt,"-scrollbar"),U({},"".concat(kt,"-scrollbar-show"),un)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:Ut?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},_.createElement("div",{ref:this.thumbRef,className:C()("".concat(kt,"-scrollbar-thumb"),U({},"".concat(kt,"-scrollbar-thumb-moving"),Pt)),style:{width:"100%",height:_r,top:Rr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),ke}(_.Component);function ce(Ve){var _e=Ve.children,ke=Ve.setRef,Pe=_.useCallback(function(rt){ke(rt)},[]);return _.cloneElement(_e,{ref:Pe})}function Oe(Ve,_e,ke,Pe,rt,Pt){var Yt=Pt.getKey;return Ve.slice(_e,ke+1).map(function(kt,_r){var Rr=_e+_r,un=rt(kt,Rr,{}),Ut=Yt(kt);return _.createElement(ce,{key:Ut,setRef:function(ot){return Pe(kt,ot)}},un)})}function se(Ve,_e){if(!(Ve instanceof _e))throw new TypeError("Cannot call a class as a function")}function $(Ve,_e){for(var ke=0;ke<_e.length;ke++){var Pe=_e[ke];Pe.enumerable=Pe.enumerable||!1,Pe.configurable=!0,"value"in Pe&&(Pe.writable=!0),Object.defineProperty(Ve,Pe.key,Pe)}}function ze(Ve,_e,ke){return _e&&$(Ve.prototype,_e),ke&&$(Ve,ke),Object.defineProperty(Ve,"prototype",{writable:!1}),Ve}var re=function(){function Ve(){se(this,Ve),this.maps=void 0,this.maps=Object.create(null)}return ze(Ve,[{key:"set",value:function(ke,Pe){this.maps[ke]=Pe}},{key:"get",value:function(ke){return this.maps[ke]}}]),Ve}(),X=re;function G(Ve,_e){return we(Ve)||Ce(Ve,_e)||ve(Ve,_e)||Q()}function Q(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ve(Ve,_e){if(!Ve)return;if(typeof Ve=="string")return de(Ve,_e);var ke=Object.prototype.toString.call(Ve).slice(8,-1);if(ke==="Object"&&Ve.constructor&&(ke=Ve.constructor.name),ke==="Map"||ke==="Set")return Array.from(Ve);if(ke==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ke))return de(Ve,_e)}function de(Ve,_e){(_e==null||_e>Ve.length)&&(_e=Ve.length);for(var ke=0,Pe=new Array(_e);ke<_e;ke++)Pe[ke]=Ve[ke];return Pe}function Ce(Ve,_e){var ke=Ve==null?null:typeof Symbol!="undefined"&&Ve[Symbol.iterator]||Ve["@@iterator"];if(ke==null)return;var Pe=[],rt=!0,Pt=!1,Yt,kt;try{for(ke=ke.call(Ve);!(rt=(Yt=ke.next()).done)&&!(Pe.push(Yt.value),_e&&Pe.length===_e);rt=!0);}catch(_r){Pt=!0,kt=_r}finally{try{!rt&&ke.return!=null&&ke.return()}finally{if(Pt)throw kt}}return Pe}function we(Ve){if(Array.isArray(Ve))return Ve}function le(Ve,_e,ke){var Pe=_.useState(0),rt=G(Pe,2),Pt=rt[0],Yt=rt[1],kt=Object(_.useRef)(new Map),_r=Object(_.useRef)(new X),Rr=Object(_.useRef)();function un(){B.a.cancel(Rr.current)}function Ut(){un(),Rr.current=Object(B.a)(function(){kt.current.forEach(function(ot,Wt){if(ot&&ot.offsetParent){var Jt=Object(o.a)(ot),At=Jt.offsetHeight;_r.current.get(Wt)!==At&&_r.current.set(Wt,Jt.offsetHeight)}}),Yt(function(ot){return ot+1})})}function ht(ot,Wt){var Jt=Ve(ot),At=kt.current.get(Jt);Wt?(kt.current.set(Jt,Wt),Ut()):kt.current.delete(Jt),!At!==!Wt&&(Wt?_e==null||_e(ot):ke==null||ke(ot))}return Object(_.useEffect)(function(){return un},[]),[ht,Ut,_r.current,Pt]}function fe(Ve){return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_e){return typeof _e}:function(_e){return _e&&typeof Symbol=="function"&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e},fe(Ve)}function xe(Ve,_e,ke,Pe,rt,Pt,Yt,kt){var _r=_.useRef();return function(Rr){if(Rr==null){kt();return}if(B.a.cancel(_r.current),typeof Rr=="number")Yt(Rr);else if(Rr&&fe(Rr)==="object"){var un,Ut=Rr.align;"index"in Rr?un=Rr.index:un=_e.findIndex(function(Jt){return rt(Jt)===Rr.key});var ht=Rr.offset,ot=ht===void 0?0:ht,Wt=function Jt(At,Bt){if(At<0||!Ve.current)return;var mt=Ve.current.clientHeight,Mt=!1,hr=Bt;if(mt){for(var or=Bt||Ut,ar=0,Gr=0,Yr=0,In=Math.min(_e.length,un),Nn=0;Nn<=In;Nn+=1){var Kn=rt(_e[Nn]);Gr=ar;var $n=ke.get(Kn);Yr=Gr+($n===void 0?Pe:$n),ar=Yr,Nn===un&&$n===void 0&&(Mt=!0)}var Ii=null;switch(or){case"top":Ii=Gr-ot;break;case"bottom":Ii=Yr-mt+ot;break;default:{var Mi=Ve.current.scrollTop,Xe=Mi+mt;Gr<Mi?hr="top":Yr>Xe&&(hr="bottom")}}Ii!==null&&Ii!==Ve.current.scrollTop&&Yt(Ii)}_r.current=Object(B.a)(function(){Mt&&Pt(),Jt(At-1,hr)})};Wt(3)}}}function We(Ve,_e,ke,Pe){var rt=ke-Ve,Pt=_e-ke,Yt=Math.min(rt,Pt)*2;if(Pe<=Yt){var kt=Math.floor(Pe/2);return Pe%2?ke+kt+1:ke-kt}return rt>Pt?ke-(Pe-Pt):ke+(Pe-rt)}function nt(Ve,_e,ke){var Pe=Ve.length,rt=_e.length,Pt,Yt;if(Pe===0&&rt===0)return null;Pe<rt?(Pt=Ve,Yt=_e):(Pt=_e,Yt=Ve);var kt={__EMPTY_ITEM__:!0};function _r(Wt){return Wt!==void 0?ke(Wt):kt}for(var Rr=null,un=Math.abs(Pe-rt)!==1,Ut=0;Ut<Yt.length;Ut+=1){var ht=_r(Pt[Ut]),ot=_r(Yt[Ut]);if(ht!==ot){Rr=Ut,un=un||ht!==_r(Yt[Ut+1]);break}}return Rr===null?null:{index:Rr,multiple:un}}function $e(Ve,_e){return wt(Ve)||gt(Ve,_e)||pt(Ve,_e)||Le()}function Le(){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 pt(Ve,_e){if(!Ve)return;if(typeof Ve=="string")return Qe(Ve,_e);var ke=Object.prototype.toString.call(Ve).slice(8,-1);if(ke==="Object"&&Ve.constructor&&(ke=Ve.constructor.name),ke==="Map"||ke==="Set")return Array.from(Ve);if(ke==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ke))return Qe(Ve,_e)}function Qe(Ve,_e){(_e==null||_e>Ve.length)&&(_e=Ve.length);for(var ke=0,Pe=new Array(_e);ke<_e;ke++)Pe[ke]=Ve[ke];return Pe}function gt(Ve,_e){var ke=Ve==null?null:typeof Symbol!="undefined"&&Ve[Symbol.iterator]||Ve["@@iterator"];if(ke==null)return;var Pe=[],rt=!0,Pt=!1,Yt,kt;try{for(ke=ke.call(Ve);!(rt=(Yt=ke.next()).done)&&!(Pe.push(Yt.value),_e&&Pe.length===_e);rt=!0);}catch(_r){Pt=!0,kt=_r}finally{try{!rt&&ke.return!=null&&ke.return()}finally{if(Pt)throw kt}}return Pe}function wt(Ve){if(Array.isArray(Ve))return Ve}function Et(Ve,_e,ke){var Pe=_.useState(Ve),rt=$e(Pe,2),Pt=rt[0],Yt=rt[1],kt=_.useState(null),_r=$e(kt,2),Rr=_r[0],un=_r[1];return _.useEffect(function(){var Ut=nt(Pt||[],Ve||[],_e);(Ut==null?void 0:Ut.index)!==void 0&&(ke==null||ke(Ut.index),un(Ve[Ut.index])),Yt(Ve)},[Ve]),[Rr]}function _t(Ve){return _t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_e){return typeof _e}:function(_e){return _e&&typeof Symbol=="function"&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e},_t(Ve)}var Ht=(typeof navigator=="undefined"?"undefined":_t(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ze=Ht,ye=function(Ve,_e){var ke=Object(_.useRef)(!1),Pe=Object(_.useRef)(null);function rt(){clearTimeout(Pe.current),ke.current=!0,Pe.current=setTimeout(function(){ke.current=!1},50)}var Pt=Object(_.useRef)({top:Ve,bottom:_e});return Pt.current.top=Ve,Pt.current.bottom=_e,function(Yt){var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_r=Yt<0&&Pt.current.top||Yt>0&&Pt.current.bottom;return kt&&_r?(clearTimeout(Pe.current),ke.current=!1):(!_r||ke.current)&&rt(),!ke.current&&_r}};function ae(Ve,_e,ke,Pe){var rt=Object(_.useRef)(0),Pt=Object(_.useRef)(null),Yt=Object(_.useRef)(null),kt=Object(_.useRef)(!1),_r=ye(_e,ke);function Rr(Ut){if(!Ve)return;B.a.cancel(Pt.current);var ht=Ut.deltaY;if(rt.current+=ht,Yt.current=ht,_r(ht))return;Ze||Ut.preventDefault(),Pt.current=Object(B.a)(function(){var ot=kt.current?10:1;Pe(rt.current*ot),rt.current=0})}function un(Ut){if(!Ve)return;kt.current=Ut.detail===Yt.current}return[Rr,un]}var yt=d("TNol"),et=14/15;function me(Ve,_e,ke){var Pe=Object(_.useRef)(!1),rt=Object(_.useRef)(0),Pt=Object(_.useRef)(null),Yt=Object(_.useRef)(null),kt,_r=function(ht){if(Pe.current){var ot=Math.ceil(ht.touches[0].pageY),Wt=rt.current-ot;rt.current=ot,ke(Wt)&&ht.preventDefault(),clearInterval(Yt.current),Yt.current=setInterval(function(){Wt*=et,(!ke(Wt,!0)||Math.abs(Wt)<=.1)&&clearInterval(Yt.current)},16)}},Rr=function(){Pe.current=!1,kt()},un=function(ht){kt(),ht.touches.length===1&&!Pe.current&&(Pe.current=!0,rt.current=Math.ceil(ht.touches[0].pageY),Pt.current=ht.target,Pt.current.addEventListener("touchmove",_r),Pt.current.addEventListener("touchend",Rr))};kt=function(){Pt.current&&(Pt.current.removeEventListener("touchmove",_r),Pt.current.removeEventListener("touchend",Rr))},Object(yt.a)(function(){return Ve&&_e.current.addEventListener("touchstart",un),function(){var Ut;(Ut=_e.current)===null||Ut===void 0||Ut.removeEventListener("touchstart",un),kt(),clearInterval(Yt.current)}},[Ve])}var Gt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function rr(){return rr=Object.assign||function(Ve){for(var _e=1;_e<arguments.length;_e++){var ke=arguments[_e];for(var Pe in ke)Object.prototype.hasOwnProperty.call(ke,Pe)&&(Ve[Pe]=ke[Pe])}return Ve},rr.apply(this,arguments)}function ut(Ve,_e){var ke=Object.keys(Ve);if(Object.getOwnPropertySymbols){var Pe=Object.getOwnPropertySymbols(Ve);_e&&(Pe=Pe.filter(function(rt){return Object.getOwnPropertyDescriptor(Ve,rt).enumerable})),ke.push.apply(ke,Pe)}return ke}function Xt(Ve){for(var _e=1;_e<arguments.length;_e++){var ke=arguments[_e]!=null?arguments[_e]:{};_e%2?ut(Object(ke),!0).forEach(function(Pe){ur(Ve,Pe,ke[Pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ve,Object.getOwnPropertyDescriptors(ke)):ut(Object(ke)).forEach(function(Pe){Object.defineProperty(Ve,Pe,Object.getOwnPropertyDescriptor(ke,Pe))})}return Ve}function ur(Ve,_e,ke){return _e in Ve?Object.defineProperty(Ve,_e,{value:ke,enumerable:!0,configurable:!0,writable:!0}):Ve[_e]=ke,Ve}function Fr(Ve,_e){return Je(Ve)||at(Ve,_e)||nr(Ve,_e)||er()}function er(){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 nr(Ve,_e){if(!Ve)return;if(typeof Ve=="string")return Lt(Ve,_e);var ke=Object.prototype.toString.call(Ve).slice(8,-1);if(ke==="Object"&&Ve.constructor&&(ke=Ve.constructor.name),ke==="Map"||ke==="Set")return Array.from(Ve);if(ke==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ke))return Lt(Ve,_e)}function Lt(Ve,_e){(_e==null||_e>Ve.length)&&(_e=Ve.length);for(var ke=0,Pe=new Array(_e);ke<_e;ke++)Pe[ke]=Ve[ke];return Pe}function at(Ve,_e){var ke=Ve==null?null:typeof Symbol!="undefined"&&Ve[Symbol.iterator]||Ve["@@iterator"];if(ke==null)return;var Pe=[],rt=!0,Pt=!1,Yt,kt;try{for(ke=ke.call(Ve);!(rt=(Yt=ke.next()).done)&&!(Pe.push(Yt.value),_e&&Pe.length===_e);rt=!0);}catch(_r){Pt=!0,kt=_r}finally{try{!rt&&ke.return!=null&&ke.return()}finally{if(Pt)throw kt}}return Pe}function Je(Ve){if(Array.isArray(Ve))return Ve}function qt(Ve,_e){if(Ve==null)return{};var ke=Sr(Ve,_e),Pe,rt;if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(Ve);for(rt=0;rt<Pt.length;rt++){if(Pe=Pt[rt],_e.indexOf(Pe)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ve,Pe))continue;ke[Pe]=Ve[Pe]}}return ke}function Sr(Ve,_e){if(Ve==null)return{};var ke={},Pe=Object.keys(Ve),rt,Pt;for(Pt=0;Pt<Pe.length;Pt++){if(rt=Pe[Pt],_e.indexOf(rt)>=0)continue;ke[rt]=Ve[rt]}return ke}var yr=[],fr={overflowY:"auto",overflowAnchor:"none"};function yn(Ve,_e){var ke=Ve.prefixCls,Pe=ke===void 0?"rc-virtual-list":ke,rt=Ve.className,Pt=Ve.height,Yt=Ve.itemHeight,kt=Ve.fullHeight,_r=kt===void 0?!0:kt,Rr=Ve.style,un=Ve.data,Ut=Ve.children,ht=Ve.itemKey,ot=Ve.virtual,Wt=Ve.component,Jt=Wt===void 0?"div":Wt,At=Ve.onScroll,Bt=Ve.onVisibleChange,mt=qt(Ve,Gt),Mt=!!(ot!==!1&&Pt&&Yt),hr=Mt&&un&&Yt*un.length>Pt,or=Object(_.useState)(0),ar=Fr(or,2),Gr=ar[0],Yr=ar[1],In=Object(_.useState)(!1),Nn=Fr(In,2),Kn=Nn[0],$n=Nn[1],Ii=C()(Pe,rt),Mi=un||yr,Xe=Object(_.useRef)(),Ie=Object(_.useRef)(),Be=Object(_.useRef)(),Fe=_.useCallback(function(Ei){return typeof ht=="function"?ht(Ei):Ei==null?void 0:Ei[ht]},[ht]),Ge={getKey:Fe};function Ke(Ei){Yr(function(dn){var Mr;typeof Ei=="function"?Mr=Ei(dn):Mr=Ei;var wn=Ti(Mr);return Xe.current.scrollTop=wn,wn})}var qe=Object(_.useRef)({start:0,end:Mi.length}),vt=Object(_.useRef)(),lt=Et(Mi,Fe),Ft=Fr(lt,1),wr=Ft[0];vt.current=wr;var pr=le(Fe,null,null),Dr=Fr(pr,4),zt=Dr[0],hn=Dr[1],ir=Dr[2],Xr=Dr[3],Br=_.useMemo(function(){if(!Mt)return{scrollHeight:void 0,start:0,end:Mi.length-1,offset:void 0};if(!hr){var Ei;return{scrollHeight:((Ei=Ie.current)===null||Ei===void 0?void 0:Ei.offsetHeight)||0,start:0,end:Mi.length-1,offset:void 0}}for(var dn=0,Mr,wn,Rn,Xn=Mi.length,Zn=0;Zn<Xn;Zn+=1){var hi=Mi[Zn],mi=Fe(hi),gi=ir.get(mi),Vi=dn+(gi===void 0?Yt:gi);Vi>=Gr&&Mr===void 0&&(Mr=Zn,wn=dn),Vi>Gr+Pt&&Rn===void 0&&(Rn=Zn),dn=Vi}return Mr===void 0&&(Mr=0,wn=0),Rn===void 0&&(Rn=Mi.length-1),Rn=Math.min(Rn+1,Mi.length),{scrollHeight:dn,start:Mr,end:Rn,offset:wn}},[hr,Mt,Gr,Mi,Xr,Pt]),vr=Br.scrollHeight,Cn=Br.start,kn=Br.end,ei=Br.offset;qe.current.start=Cn,qe.current.end=kn;var ii=vr-Pt,ti=Object(_.useRef)(ii);ti.current=ii;function Ti(Ei){var dn=Ei;return Number.isNaN(ti.current)||(dn=Math.min(dn,ti.current)),dn=Math.max(dn,0),dn}var Bn=Gr<=0,Di=Gr>=ii,gn=ye(Bn,Di);function Vr(Ei){var dn=Ei;Ke(dn)}function Sn(Ei){var dn=Ei.currentTarget.scrollTop;dn!==Gr&&Ke(dn),At==null||At(Ei)}var tn=ae(Mt,Bn,Di,function(Ei){Ke(function(dn){var Mr=dn+Ei;return Mr})}),ci=Fr(tn,2),qn=ci[0],wi=ci[1];me(Mt,Xe,function(Ei,dn){return gn(Ei,dn)?!1:(qn({preventDefault:function(){},deltaY:Ei}),!0)}),Object(yt.a)(function(){function Ei(dn){Mt&&dn.preventDefault()}return Xe.current.addEventListener("wheel",qn),Xe.current.addEventListener("DOMMouseScroll",wi),Xe.current.addEventListener("MozMousePixelScroll",Ei),function(){Xe.current&&(Xe.current.removeEventListener("wheel",qn),Xe.current.removeEventListener("DOMMouseScroll",wi),Xe.current.removeEventListener("MozMousePixelScroll",Ei))}},[Mt]);var Jn=xe(Xe,Mi,ir,Yt,Fe,hn,Ke,function(){var Ei;(Ei=Be.current)===null||Ei===void 0||Ei.delayHidden()});_.useImperativeHandle(_e,function(){return{scrollTo:Jn}}),Object(yt.a)(function(){if(Bt){var Ei=Mi.slice(Cn,kn+1);Bt(Ei,Mi)}},[Cn,kn,Mi]);var Qi=Oe(Mi,Cn,kn,zt,Ut,Ge),xi=null;return Pt&&(xi=Xt(ur({},_r?"height":"maxHeight",Pt),fr),Mt&&(xi.overflowY="hidden",Kn&&(xi.pointerEvents="none"))),_.createElement("div",rr({style:Xt(Xt({},Rr),{},{position:"relative"}),className:Ii},mt),_.createElement(Jt,{className:"".concat(Pe,"-holder"),style:xi,ref:Xe,onScroll:Sn},_.createElement(D,{prefixCls:Pe,height:vr,offset:ei,onInnerResize:hn,ref:Ie},Qi)),Mt&&_.createElement(De,{ref:Be,prefixCls:Pe,scrollTop:Gr,height:Pt,scrollHeight:vr,count:Mi.length,onScroll:Vr,onStartMove:function(){$n(!0)},onStopMove:function(){$n(!1)}}))}var Jr=_.forwardRef(yn);Jr.displayName="List";var Ln=Jr,Nt=k.a=Ln},"+rIm":function(H,k,d){var _=d("bYtY"),x=_.retrieve,C=_.defaults,A=_.extend,b=_.each,m=d("7aKB"),p=d("IwbS"),c=d("Qxkt"),o=d("OELB"),r=o.isRadianAroundZero,i=o.remRadian,n=d("oVpE"),t=n.createSymbol,s=d("Fofx"),e=d("QBsz"),a=e.applyTransform,l=d("aX7z"),u=l.shouldShowAllLabels,h=Math.PI,f=function(M,U){this.opt=U,this.axisModel=M,C(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new p.Group;var F=new p.Group({position:U.position.slice(),rotation:U.rotation});F.updateTransform(),this._transform=F.transform,this._dumbGroup=F};f.prototype={constructor:f,hasBuilder:function(M){return!!g[M]},add:function(M){g[M].call(this)},getGroup:function(){return this.group}};var g={axisLine:function(){var M=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var F=this.axisModel.axis.getExtent(),j=this._transform,W=[F[0],0],V=[F[1],0];j&&(a(W,W,j),a(V,V,j));var z=A({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new p.Line({anid:"line",subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:V[0],y2:V[1]},style:z,strokeContainThreshold:M.strokeContainThreshold||5,silent:!0,z2:1}));var Y=U.get("axisLine.symbol"),J=U.get("axisLine.symbolSize"),ie=U.get("axisLine.symbolOffset")||0;if(typeof ie=="number"&&(ie=[ie,ie]),Y!=null){typeof Y=="string"&&(Y=[Y,Y]),(typeof J=="string"||typeof J=="number")&&(J=[J,J]);var Z=J[0],oe=J[1];b([{rotate:M.rotation+Math.PI/2,offset:ie[0],r:0},{rotate:M.rotation-Math.PI/2,offset:ie[1],r:Math.sqrt((W[0]-V[0])*(W[0]-V[0])+(W[1]-V[1])*(W[1]-V[1]))}],function(ge,pe){if(Y[pe]!=="none"&&Y[pe]!=null){var De=t(Y[pe],-Z/2,-oe/2,Z,oe,z.stroke,!0),ce=ge.r+ge.offset,Oe=[W[0]+ce*Math.cos(M.rotation),W[1]-ce*Math.sin(M.rotation)];De.attr({rotation:ge.rotate,position:Oe,silent:!0,z2:11}),this.group.add(De)}},this)}},axisTickLabel:function(){var M=this.axisModel,U=this.opt,F=N(this,M,U),j=D(this,M,U);w(M,j,F),R(this,M,U)},axisName:function(){var M=this.opt,U=this.axisModel,F=x(M.axisName,U.get("name"));if(!F)return;var j=U.get("nameLocation"),W=M.nameDirection,V=U.getModel("nameTextStyle"),z=U.get("nameGap")||0,Y=this.axisModel.axis.getExtent(),J=Y[0]>Y[1]?-1:1,ie=[j==="start"?Y[0]-J*z:j==="end"?Y[1]+J*z:(Y[0]+Y[1])/2,L(j)?M.labelOffset+W*z:0],Z,oe=U.get("nameRotate");oe!=null&&(oe=oe*h/180);var ge;L(j)?Z=y(M.rotation,oe!=null?oe:M.rotation,W):(Z=E(M,j,oe||0,Y),ge=M.axisNameAvailableWidth,ge!=null&&(ge=Math.abs(ge/Math.sin(Z.rotation)),!isFinite(ge)&&(ge=null)));var pe=V.getFont(),De=U.get("nameTruncate",!0)||{},ce=De.ellipsis,Oe=x(M.nameTruncateMaxWidth,De.maxWidth,ge),se=ce!=null&&Oe!=null?m.truncateText(F,Oe,pe,ce,{minChar:2,placeholder:De.placeholder}):F,$=U.get("tooltip",!0),ze=U.mainType,re={componentType:ze,name:F,$vars:["name"]};re[ze+"Index"]=U.componentIndex;var X=new p.Text({anid:"name",__fullText:F,__truncatedText:se,position:ie,rotation:Z.rotation,silent:T(U),z2:1,tooltip:$&&$.show?A({content:F,formatter:function(){return F},formatterParams:re},$):null});p.setTextStyle(X.style,V,{text:se,textFont:pe,textFill:V.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:V.get("align")||Z.textAlign,textVerticalAlign:V.get("verticalAlign")||Z.textVerticalAlign}),U.get("triggerEvent")&&(X.eventData=v(U),X.eventData.targetType="axisName",X.eventData.name=F),this._dumbGroup.add(X),X.updateTransform(),this.group.add(X),X.decomposeTransform()}},v=f.makeAxisEventDataBase=function(M){var U={componentType:M.mainType,componentIndex:M.componentIndex};return U[M.mainType+"Index"]=M.componentIndex,U},y=f.innerTextLayout=function(M,U,F){var j=i(U-M),W,V;return r(j)?(V=F>0?"top":"bottom",W="center"):r(j-h)?(V=F>0?"bottom":"top",W="center"):(V="middle",j>0&&j<h?W=F>0?"right":"left":W=F>0?"left":"right"),{rotation:j,textAlign:W,textVerticalAlign:V}};function E(M,U,F,j){var W=i(F-M.rotation),V,z,Y=j[0]>j[1],J=U==="start"&&!Y||U!=="start"&&Y;return r(W-h/2)?(z=J?"bottom":"top",V="center"):r(W-h*1.5)?(z=J?"top":"bottom",V="center"):(z="middle",W<h*1.5&&W>h/2?V=J?"left":"right":V=J?"right":"left"),{rotation:W,textAlign:V,textVerticalAlign:z}}var T=f.isLabelSilent=function(M){var U=M.get("tooltip");return M.get("silent")||!(M.get("triggerEvent")||U&&U.show)};function w(M,U,F){if(u(M.axis))return;var j=M.get("axisLabel.showMinLabel"),W=M.get("axisLabel.showMaxLabel");U=U||[],F=F||[];var V=U[0],z=U[1],Y=U[U.length-1],J=U[U.length-2],ie=F[0],Z=F[1],oe=F[F.length-1],ge=F[F.length-2];j===!1?(S(V),S(ie)):I(V,z)&&(j?(S(z),S(Z)):(S(V),S(ie))),W===!1?(S(Y),S(oe)):I(J,Y)&&(W?(S(J),S(ge)):(S(Y),S(oe)))}function S(M){M&&(M.ignore=!0)}function I(M,U,F){var j=M&&M.getBoundingRect().clone(),W=U&&U.getBoundingRect().clone();if(!j||!W)return;var V=s.identity([]);return s.rotate(V,V,-M.rotation),j.applyTransform(s.mul([],V,M.getLocalTransform())),W.applyTransform(s.mul([],V,U.getLocalTransform())),j.intersect(W)}function L(M){return M==="middle"||M==="center"}function O(M,U,F,j,W){for(var V=[],z=[],Y=[],J=0;J<M.length;J++){var ie=M[J].coord;z[0]=ie,z[1]=0,Y[0]=ie,Y[1]=F,U&&(a(z,z,U),a(Y,Y,U));var Z=new p.Line({anid:W+"_"+M[J].tickValue,subPixelOptimize:!0,shape:{x1:z[0],y1:z[1],x2:Y[0],y2:Y[1]},style:j,z2:2,silent:!0});V.push(Z)}return V}function N(M,U,F){var j=U.axis,W=U.getModel("axisTick");if(!W.get("show")||j.scale.isBlank())return;for(var V=W.getModel("lineStyle"),z=F.tickDirection*W.get("length"),Y=j.getTicksCoords(),J=O(Y,M._transform,z,C(V.getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")}),"ticks"),ie=0;ie<J.length;ie++)M.group.add(J[ie]);return J}function R(M,U,F){var j=U.axis,W=U.getModel("minorTick");if(!W.get("show")||j.scale.isBlank())return;var V=j.getMinorTicksCoords();if(!V.length)return;for(var z=W.getModel("lineStyle"),Y=F.tickDirection*W.get("length"),J=C(z.getLineStyle(),C(U.getModel("axisTick").getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")})),ie=0;ie<V.length;ie++)for(var Z=O(V[ie],M._transform,Y,J,"minorticks_"+ie),oe=0;oe<Z.length;oe++)M.group.add(Z[oe])}function D(M,U,F){var j=U.axis,W=x(F.axisLabelShow,U.get("axisLabel.show"));if(!W||j.scale.isBlank())return;var V=U.getModel("axisLabel"),z=V.get("margin"),Y=j.getViewLabels(),J=(x(F.labelRotate,V.get("rotate"))||0)*h/180,ie=y(F.rotation,J,F.labelDirection),Z=U.getCategories&&U.getCategories(!0),oe=[],ge=T(U),pe=U.get("triggerEvent");return b(Y,function(De,ce){var Oe=De.tickValue,se=De.formattedLabel,$=De.rawLabel,ze=V;Z&&Z[Oe]&&Z[Oe].textStyle&&(ze=new c(Z[Oe].textStyle,V,U.ecModel));var re=ze.getTextColor()||U.get("axisLine.lineStyle.color"),X=j.dataToCoord(Oe),G=[X,F.labelOffset+F.labelDirection*z],Q=new p.Text({anid:"label_"+Oe,position:G,rotation:ie.rotation,silent:ge,z2:10});p.setTextStyle(Q.style,ze,{text:se,textAlign:ze.getShallow("align",!0)||ie.textAlign,textVerticalAlign:ze.getShallow("verticalAlign",!0)||ze.getShallow("baseline",!0)||ie.textVerticalAlign,textFill:typeof re=="function"?re(j.type==="category"?$:j.type==="value"?Oe+"":Oe,ce):re}),pe&&(Q.eventData=v(U),Q.eventData.targetType="axisLabel",Q.eventData.value=$),M._dumbGroup.add(Q),Q.updateTransform(),oe.push(Q),M.group.add(Q),Q.decomposeTransform()}),oe}var B=f;H.exports=B},"+wW9":function(H,k,d){var _=d("bYtY"),x=_.each,C=_.isArray,A=_.isObject,b=d("JuEJ"),m=d("4NO4"),p=m.normalizeToArray;function c(s,e){e=e.split(",");for(var a=s,l=0;l<e.length&&!(a=a&&a[e[l]],a==null);l++);return a}function o(s,e,a,l){e=e.split(",");for(var u=s,h,f=0;f<e.length-1;f++)h=e[f],u[h]==null&&(u[h]={}),u=u[h];(l||u[e[f]]==null)&&(u[e[f]]=a)}function r(s){x(i,function(e){e[0]in s&&!(e[1]in s)&&(s[e[1]]=s[e[0]])})}var i=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],n=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function t(s,e){b(s,e),s.series=p(s.series),x(s.series,function(a){if(!A(a))return;var l=a.type;if(l==="line")a.clipOverflow!=null&&(a.clip=a.clipOverflow);else if(l==="pie"||l==="gauge")a.clockWise!=null&&(a.clockwise=a.clockWise);else if(l==="gauge"){var u=c(a,"pointer.color");u!=null&&o(a,"itemStyle.color",u)}r(a)}),s.dataRange&&(s.visualMap=s.dataRange),x(n,function(a){var l=s[a];l&&(C(l)||(l=[l]),x(l,function(u){r(u)}))})}H.exports=t},"/IIm":function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("H6uX"),b=d("IwbS"),m=d("pP6R"),p=d("gPAo"),c=C.curry,o=C.each,r=C.map,i=Math.min,n=Math.max,t=Math.pow,s=1e4,e=6,a=6,l="globalPan",u={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},h={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},f={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},g=0;function v(le){A.call(this),this._zr=le,this.group=new b.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+g++,this._handlers={},o(G,function(fe,xe){this._handlers[xe]=C.bind(fe,this)},this)}v.prototype={constructor:v,enableBrush:function(le){return this._brushType&&E(this),le.brushType&&y(this,le),this},setPanels:function(le){if(le&&le.length){var fe=this._panels={};C.each(le,function(xe){fe[xe.panelId]=C.clone(xe)})}else this._panels=null;return this},mount:function(le){le=le||{},this._enableGlobalPan=le.enableGlobalPan;var fe=this.group;return this._zr.add(fe),fe.attr({position:le.position||[0,0],rotation:le.rotation||0,scale:le.scale||[1,1]}),this._transform=fe.getLocalTransform(),this},eachCover:function(le,fe){o(this._covers,le,fe)},updateCovers:function(le){le=C.map(le,function(wt){return C.merge(C.clone(f),wt,!0)});var fe="\0-brush-index-",xe=this._covers,We=this._covers=[],nt=this,$e=this._creatingCover;return new p(xe,le,pt,Le).add(Qe).update(Qe).remove(gt).execute(),this;function Le(wt,Et){return(wt.id!=null?wt.id:fe+Et)+"-"+wt.brushType}function pt(wt,Et){return Le(wt.__brushOption,Et)}function Qe(wt,Et){var _t=le[wt];if(Et!=null&&xe[Et]===$e)We[wt]=xe[Et];else{var Ht=We[wt]=Et!=null?(xe[Et].__brushOption=_t,xe[Et]):I(nt,S(nt,_t));N(nt,Ht)}}function gt(wt){xe[wt]!==$e&&nt.group.remove(xe[wt])}},unmount:function(){return this.enableBrush(!1),M(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},C.mixin(v,A);function y(le,fe){var xe=le._zr;le._enableGlobalPan||m.take(xe,l,le._uid),T(xe,le._handlers),le._brushType=fe.brushType,le._brushOption=C.merge(C.clone(f),fe,!0)}function E(le){var fe=le._zr;m.release(fe,l,le._uid),w(fe,le._handlers),le._brushType=le._brushOption=null}function T(le,fe){o(fe,function(xe,We){le.on(We,xe)})}function w(le,fe){o(fe,function(xe,We){le.off(We,xe)})}function S(le,fe){var xe=de[fe.brushType].createCover(le,fe);return xe.__brushOption=fe,O(xe,fe),le.group.add(xe),xe}function I(le,fe){var xe=R(fe);return xe.endCreating&&(xe.endCreating(le,fe),O(fe,fe.__brushOption)),fe}function L(le,fe){var xe=fe.__brushOption;R(fe).updateCoverShape(le,fe,xe.range,xe)}function O(le,fe){var xe=fe.z;xe==null&&(xe=s),le.traverse(function(We){We.z=xe,We.z2=xe})}function N(le,fe){R(fe).updateCommon(le,fe),L(le,fe)}function R(le){return de[le.__brushOption.brushType]}function D(le,fe,xe){var We=le._panels;if(!We)return!0;var nt,$e=le._transform;return o(We,function(Le){Le.isTargetByCursor(fe,xe,$e)&&(nt=Le)}),nt}function B(le,fe){var xe=le._panels;if(!xe)return!0;var We=fe.__brushOption.panelId;return We!=null?xe[We]:!0}function M(le){var fe=le._covers,xe=fe.length;return o(fe,function(We){le.group.remove(We)},le),fe.length=0,!!xe}function U(le,fe){var xe=r(le._covers,function(We){var nt=We.__brushOption,$e=C.clone(nt.range);return{brushType:nt.brushType,panelId:nt.panelId,range:$e}});le.trigger("brush",xe,{isEnd:!!fe.isEnd,removeOnClick:!!fe.removeOnClick})}function F(le){var fe=le._track;if(!fe.length)return!1;var xe=fe[fe.length-1],We=fe[0],nt=xe[0]-We[0],$e=xe[1]-We[1],Le=t(nt*nt+$e*$e,.5);return Le>e}function j(le){var fe=le.length-1;return fe<0&&(fe=0),[le[0],le[fe]]}function W(le,fe,xe,We){var nt=new b.Group;return nt.add(new b.Rect({name:"main",style:J(xe),silent:!0,draggable:!0,cursor:"move",drift:c(le,fe,nt,"nswe"),ondragend:c(U,fe,{isEnd:!0})})),o(We,function($e){nt.add(new b.Rect({name:$e,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:c(le,fe,nt,$e),ondragend:c(U,fe,{isEnd:!0})}))}),nt}function V(le,fe,xe,We){var nt=We.brushStyle.lineWidth||0,$e=n(nt,a),Le=xe[0][0],pt=xe[1][0],Qe=Le-nt/2,gt=pt-nt/2,wt=xe[0][1],Et=xe[1][1],_t=wt-$e+nt/2,Ht=Et-$e+nt/2,Ze=wt-Le,ye=Et-pt,ae=Ze+nt,yt=ye+nt;Y(le,fe,"main",Le,pt,Ze,ye),We.transformable&&(Y(le,fe,"w",Qe,gt,$e,yt),Y(le,fe,"e",_t,gt,$e,yt),Y(le,fe,"n",Qe,gt,ae,$e),Y(le,fe,"s",Qe,Ht,ae,$e),Y(le,fe,"nw",Qe,gt,$e,$e),Y(le,fe,"ne",_t,gt,$e,$e),Y(le,fe,"sw",Qe,Ht,$e,$e),Y(le,fe,"se",_t,Ht,$e,$e))}function z(le,fe){var xe=fe.__brushOption,We=xe.transformable,nt=fe.childAt(0);nt.useStyle(J(xe)),nt.attr({silent:!We,cursor:We?"move":"default"}),o(["w","e","n","s","se","sw","ne","nw"],function($e){var Le=fe.childOfName($e),pt=oe(le,$e);Le&&Le.attr({silent:!We,invisible:!We,cursor:We?h[pt]+"-resize":null})})}function Y(le,fe,xe,We,nt,$e,Le){var pt=fe.childOfName(xe);pt&&pt.setShape(Oe(ce(le,fe,[[We,nt],[We+$e,nt+Le]])))}function J(le){return C.defaults({strokeNoScale:!0},le.brushStyle)}function ie(le,fe,xe,We){var nt=[i(le,xe),i(fe,We)],$e=[n(le,xe),n(fe,We)];return[[nt[0],$e[0]],[nt[1],$e[1]]]}function Z(le){return b.getTransform(le.group)}function oe(le,fe){if(fe.length>1){fe=fe.split("");var xe=[oe(le,fe[0]),oe(le,fe[1])];return(xe[0]==="e"||xe[0]==="w")&&xe.reverse(),xe.join("")}else{var We={w:"left",e:"right",n:"top",s:"bottom"},nt={left:"w",right:"e",top:"n",bottom:"s"},xe=b.transformDirection(We[fe],Z(le));return nt[xe]}}function ge(le,fe,xe,We,nt,$e,Le,pt){var Qe=We.__brushOption,gt=le(Qe.range),wt=De(xe,$e,Le);o(nt.split(""),function(Et){var _t=u[Et];gt[_t[0]][_t[1]]+=wt[_t[0]]}),Qe.range=fe(ie(gt[0][0],gt[1][0],gt[0][1],gt[1][1])),N(xe,We),U(xe,{isEnd:!1})}function pe(le,fe,xe,We,nt){var $e=fe.__brushOption.range,Le=De(le,xe,We);o($e,function(pt){pt[0]+=Le[0],pt[1]+=Le[1]}),N(le,fe),U(le,{isEnd:!1})}function De(le,fe,xe){var We=le.group,nt=We.transformCoordToLocal(fe,xe),$e=We.transformCoordToLocal(0,0);return[nt[0]-$e[0],nt[1]-$e[1]]}function ce(le,fe,xe){var We=B(le,fe);return We&&We!==!0?We.clipPath(xe,le._transform):C.clone(xe)}function Oe(le){var fe=i(le[0][0],le[1][0]),xe=i(le[0][1],le[1][1]),We=n(le[0][0],le[1][0]),nt=n(le[0][1],le[1][1]);return{x:fe,y:xe,width:We-fe,height:nt-xe}}function se(le,fe,xe){if(!le._brushType||ve(le,fe))return;var We=le._zr,nt=le._covers,$e=D(le,fe,xe);if(!le._dragging)for(var Le=0;Le<nt.length;Le++){var pt=nt[Le].__brushOption;if($e&&($e===!0||pt.panelId===$e.panelId)&&de[pt.brushType].contain(nt[Le],xe[0],xe[1]))return}$e&&We.setCursorStyle("crosshair")}function $(le){var fe=le.event;fe.preventDefault&&fe.preventDefault()}function ze(le,fe,xe){return le.childOfName("main").contain(fe,xe)}function re(le,fe,xe,We){var nt=le._creatingCover,$e=le._creatingPanel,Le=le._brushOption,pt;if(le._track.push(xe.slice()),F(le)||nt){if($e&&!nt){Le.brushMode==="single"&&M(le);var Qe=C.clone(Le);Qe.brushType=X(Qe.brushType,$e),Qe.panelId=$e===!0?null:$e.panelId,nt=le._creatingCover=S(le,Qe),le._covers.push(nt)}if(nt){var gt=de[X(le._brushType,$e)],wt=nt.__brushOption;wt.range=gt.getCreatingRange(ce(le,nt,le._track)),We&&(I(le,nt),gt.updateCommon(le,nt)),L(le,nt),pt={isEnd:We}}}else We&&Le.brushMode==="single"&&Le.removeOnClick&&(D(le,fe,xe)&&M(le)&&(pt={isEnd:We,removeOnClick:!0}));return pt}function X(le,fe){return le==="auto"?fe.defaultBrushType:le}var G={mousedown:function(le){if(this._dragging)Q(this,le);else if(!le.target||!le.target.draggable){$(le);var fe=this.group.transformCoordToLocal(le.offsetX,le.offsetY);this._creatingCover=null;var xe=this._creatingPanel=D(this,le,fe);xe&&(this._dragging=!0,this._track=[fe.slice()])}},mousemove:function(le){var fe=le.offsetX,xe=le.offsetY,We=this.group.transformCoordToLocal(fe,xe);if(se(this,le,We),this._dragging){$(le);var nt=re(this,le,We,!1);nt&&U(this,nt)}},mouseup:function(le){Q(this,le)}};function Q(le,fe){if(le._dragging){$(fe);var xe=fe.offsetX,We=fe.offsetY,nt=le.group.transformCoordToLocal(xe,We),$e=re(le,fe,nt,!0);le._dragging=!1,le._track=[],le._creatingCover=null,$e&&U(le,$e)}}function ve(le,fe,xe){var We=le._zr;return fe<0||fe>We.getWidth()||xe<0||xe>We.getHeight()}var de={lineX:Ce(0),lineY:Ce(1),rect:{createCover:function(le,fe){return W(c(ge,function(xe){return xe},function(xe){return xe}),le,fe,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(le){var fe=j(le);return ie(fe[1][0],fe[1][1],fe[0][0],fe[0][1])},updateCoverShape:function(le,fe,xe,We){V(le,fe,xe,We)},updateCommon:z,contain:ze},polygon:{createCover:function(le,fe){var xe=new b.Group;return xe.add(new b.Polyline({name:"main",style:J(fe),silent:!0})),xe},getCreatingRange:function(le){return le},endCreating:function(le,fe){fe.remove(fe.childAt(0)),fe.add(new b.Polygon({name:"main",draggable:!0,drift:c(pe,le,fe),ondragend:c(U,le,{isEnd:!0})}))},updateCoverShape:function(le,fe,xe,We){fe.childAt(0).setShape({points:ce(le,fe,xe)})},updateCommon:z,contain:ze}};function Ce(le){return{createCover:function(fe,xe){return W(c(ge,function(We){var nt=[We,[0,100]];return le&&nt.reverse(),nt},function(We){return We[le]}),fe,xe,[["w","e"],["n","s"]][le])},getCreatingRange:function(fe){var xe=j(fe),We=i(xe[0][le],xe[1][le]),nt=n(xe[0][le],xe[1][le]);return[We,nt]},updateCoverShape:function(fe,xe,We,nt){var $e,Le=B(fe,xe);if(Le!==!0&&Le.getLinearBrushOtherExtent)$e=Le.getLinearBrushOtherExtent(le,fe._transform);else{var pt=fe._zr;$e=[0,[pt.getWidth(),pt.getHeight()][1-le]]}var Qe=[We,$e];le&&Qe.reverse(),V(fe,xe,Qe,nt)},updateCommon:z,contain:ze}}var we=v;H.exports=we},"/MfK":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="DeleteOutlined";var p=k.a=x.forwardRef(m)},"/POA":function(H,k,d){!function(_,x){if(!0)H.exports=x();else var C,A}(window,function(){return function(_){var x={};function C(A){if(x[A])return x[A].exports;var b=x[A]={i:A,l:!1,exports:{}};return _[A].call(b.exports,b,b.exports,C),b.l=!0,b.exports}return C.m=_,C.c=x,C.d=function(A,b,m){C.o(A,b)||Object.defineProperty(A,b,{enumerable:!0,get:m})},C.r=function(A){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},C.t=function(A,b){if(1&b&&(A=C(A)),8&b)return A;if(4&b&&typeof A=="object"&&A&&A.__esModule)return A;var m=Object.create(null);if(C.r(m),Object.defineProperty(m,"default",{enumerable:!0,value:A}),2&b&&typeof A!="string")for(var p in A)C.d(m,p,function(c){return A[c]}.bind(null,p));return m},C.n=function(A){var b=A&&A.__esModule?function(){return A.default}:function(){return A};return C.d(b,"a",b),b},C.o=function(A,b){return Object.prototype.hasOwnProperty.call(A,b)},C.p="",C(C.s=34)}([function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.forwardEvent=x.EventEmitter=void 0;var A=function(){function b(){this._listeners=[],this._disposed=!1}return Object.defineProperty(b.prototype,"event",{get:function(){var p=this;return this._event||(this._event=function(c){return p._listeners.push(c),{dispose:function(){if(!p._disposed){for(var r=0;r<p._listeners.length;r++)if(p._listeners[r]===c)return void p._listeners.splice(r,1)}}}}),this._event},enumerable:!1,configurable:!0}),b.prototype.fire=function(m,p){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,m,p)},b.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},b}();x.EventEmitter=A,x.forwardEvent=function(b,m){return b(function(p){return m.fire(p)})}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.IUnicodeService=x.IOptionsService=x.ILogService=x.IInstantiationService=x.IDirtyRowService=x.ICharsetService=x.ICoreService=x.ICoreMouseService=x.IBufferService=void 0;var A=C(14);x.IBufferService=A.createDecorator("BufferService"),x.ICoreMouseService=A.createDecorator("CoreMouseService"),x.ICoreService=A.createDecorator("CoreService"),x.ICharsetService=A.createDecorator("CharsetService"),x.IDirtyRowService=A.createDecorator("DirtyRowService"),x.IInstantiationService=A.createDecorator("InstantiationService"),x.ILogService=A.createDecorator("LogService"),x.IOptionsService=A.createDecorator("OptionsService"),x.IUnicodeService=A.createDecorator("UnicodeService")},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.getDisposeArrayDisposable=x.disposeArray=x.Disposable=void 0;var A=function(){function m(){this._disposables=[],this._isDisposed=!1}return m.prototype.dispose=function(){this._isDisposed=!0;for(var p=0,c=this._disposables;p<c.length;p++)c[p].dispose();this._disposables.length=0},m.prototype.register=function(p){return this._disposables.push(p),p},m.prototype.unregister=function(p){var c=this._disposables.indexOf(p);c!==-1&&this._disposables.splice(c,1)},m}();function b(m){for(var p=0,c=m;p<c.length;p++)c[p].dispose();m.length=0}x.Disposable=A,x.disposeArray=b,x.getDisposeArrayDisposable=function(m){return{dispose:function(){return b(m)}}}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.WHITESPACE_CELL_CODE=x.WHITESPACE_CELL_WIDTH=x.WHITESPACE_CELL_CHAR=x.NULL_CELL_CODE=x.NULL_CELL_WIDTH=x.NULL_CELL_CHAR=x.CHAR_DATA_CODE_INDEX=x.CHAR_DATA_WIDTH_INDEX=x.CHAR_DATA_CHAR_INDEX=x.CHAR_DATA_ATTR_INDEX=x.DEFAULT_ATTR=x.DEFAULT_COLOR=void 0,x.DEFAULT_COLOR=256,x.DEFAULT_ATTR=256|x.DEFAULT_COLOR<<9,x.CHAR_DATA_ATTR_INDEX=0,x.CHAR_DATA_CHAR_INDEX=1,x.CHAR_DATA_WIDTH_INDEX=2,x.CHAR_DATA_CODE_INDEX=3,x.NULL_CELL_CHAR="",x.NULL_CELL_WIDTH=1,x.NULL_CELL_CODE=0,x.WHITESPACE_CELL_CHAR=" ",x.WHITESPACE_CELL_WIDTH=1,x.WHITESPACE_CELL_CODE=32},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(i,n){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var e in s)s.hasOwnProperty(e)&&(t[e]=s[e])})(i,n)},function(r,i){function n(){this.constructor=r}A(r,i),r.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(x,"__esModule",{value:!0}),x.CellData=void 0;var m=C(8),p=C(3),c=C(6),o=function(r){function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.content=0,n.fg=0,n.bg=0,n.extended=new c.ExtendedAttrs,n.combinedData="",n}return b(i,r),i.fromCharData=function(n){var t=new i;return t.setFromCharData(n),t},i.prototype.isCombined=function(){return 2097152&this.content},i.prototype.getWidth=function(){return this.content>>22},i.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?m.stringFromCodePoint(2097151&this.content):""},i.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},i.prototype.setFromCharData=function(n){this.fg=n[p.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(n[p.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(n[p.CHAR_DATA_CHAR_INDEX].length===2){var s=n[p.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=s&&s<=56319){var e=n[p.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=e&&e<=57343?this.content=1024*(s-55296)+e-56320+65536|n[p.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=n[p.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|n[p.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=n[p.CHAR_DATA_CHAR_INDEX],this.content=2097152|n[p.CHAR_DATA_WIDTH_INDEX]<<22)},i.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},i}(c.AttributeData);x.CellData=o},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.ISoundService=x.ISelectionService=x.IRenderService=x.IMouseService=x.ICoreBrowserService=x.ICharSizeService=void 0;var A=C(14);x.ICharSizeService=A.createDecorator("CharSizeService"),x.ICoreBrowserService=A.createDecorator("CoreBrowserService"),x.IMouseService=A.createDecorator("MouseService"),x.IRenderService=A.createDecorator("RenderService"),x.ISelectionService=A.createDecorator("SelectionService"),x.ISoundService=A.createDecorator("SoundService")},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.ExtendedAttrs=x.AttributeData=void 0;var A=function(){function m(){this.fg=0,this.bg=0,this.extended=new b}return m.toColorRGB=function(p){return[p>>>16&255,p>>>8&255,255&p]},m.fromColorRGB=function(p){return(255&p[0])<<16|(255&p[1])<<8|255&p[2]},m.prototype.clone=function(){var p=new m;return p.fg=this.fg,p.bg=this.bg,p.extended=this.extended.clone(),p},m.prototype.isInverse=function(){return 67108864&this.fg},m.prototype.isBold=function(){return 134217728&this.fg},m.prototype.isUnderline=function(){return 268435456&this.fg},m.prototype.isBlink=function(){return 536870912&this.fg},m.prototype.isInvisible=function(){return 1073741824&this.fg},m.prototype.isItalic=function(){return 67108864&this.bg},m.prototype.isDim=function(){return 134217728&this.bg},m.prototype.getFgColorMode=function(){return 50331648&this.fg},m.prototype.getBgColorMode=function(){return 50331648&this.bg},m.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},m.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},m.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},m.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},m.prototype.isFgDefault=function(){return(50331648&this.fg)==0},m.prototype.isBgDefault=function(){return(50331648&this.bg)==0},m.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},m.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},m.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},m.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},m.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},m.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()},m.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},m.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},m.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},m.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},m.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},m}();x.AttributeData=A;var b=function(){function m(p,c){p===void 0&&(p=0),c===void 0&&(c=-1),this.underlineStyle=p,this.underlineColor=c}return m.prototype.clone=function(){return new m(this.underlineStyle,this.underlineColor)},m.prototype.isEmpty=function(){return this.underlineStyle===0},m}();x.ExtendedAttrs=b},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.addDisposableDomListener=void 0,x.addDisposableDomListener=function(A,b,m,p){A.addEventListener(b,m,p);var c=!1;return{dispose:function(){c||(c=!0,A.removeEventListener(b,m,p))}}}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.Utf8ToUtf32=x.StringToUtf32=x.utf32ToString=x.stringFromCodePoint=void 0,x.stringFromCodePoint=function(m){return m>65535?(m-=65536,String.fromCharCode(55296+(m>>10))+String.fromCharCode(m%1024+56320)):String.fromCharCode(m)},x.utf32ToString=function(m,p,c){p===void 0&&(p=0),c===void 0&&(c=m.length);for(var o="",r=p;r<c;++r){var i=m[r];i>65535?(i-=65536,o+=String.fromCharCode(55296+(i>>10))+String.fromCharCode(i%1024+56320)):o+=String.fromCharCode(i)}return o};var A=function(){function m(){this._interim=0}return m.prototype.clear=function(){this._interim=0},m.prototype.decode=function(p,c){var o=p.length;if(!o)return 0;var r=0,i=0;this._interim&&(56320<=(s=p.charCodeAt(i++))&&s<=57343?c[r++]=1024*(this._interim-55296)+s-56320+65536:(c[r++]=this._interim,c[r++]=s),this._interim=0);for(var n=i;n<o;++n){var t=p.charCodeAt(n);if(55296<=t&&t<=56319){if(++n>=o)return this._interim=t,r;var s;56320<=(s=p.charCodeAt(n))&&s<=57343?c[r++]=1024*(t-55296)+s-56320+65536:(c[r++]=t,c[r++]=s)}else c[r++]=t}return r},m}();x.StringToUtf32=A;var b=function(){function m(){this.interim=new Uint8Array(3)}return m.prototype.clear=function(){this.interim.fill(0)},m.prototype.decode=function(p,c){var o=p.length;if(!o)return 0;var r,i,n,t,s=0,e=0,a=0;if(this.interim[0]){var l=!1,u=this.interim[0];u&=(224&u)==192?31:(240&u)==224?15:7;for(var h=0,f=void 0;(f=63&this.interim[++h])&&h<4;)u<<=6,u|=f;for(var g=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,v=g-h;a<v;){if(a>=o)return 0;if((192&(f=p[a++]))!=128){a--,l=!0;break}this.interim[h++]=f,u<<=6,u|=63&f}l||(g===2?u<128?a--:c[s++]=u:g===3?u<2048||u>=55296&&u<=57343||(c[s++]=u):u<65536||u>1114111||(c[s++]=u)),this.interim.fill(0)}for(var y=o-4,E=a;E<o;){for(;!(!(E<y)||128&(r=p[E])||128&(i=p[E+1])||128&(n=p[E+2])||128&(t=p[E+3]));)c[s++]=r,c[s++]=i,c[s++]=n,c[s++]=t,E+=4;if((r=p[E++])<128)c[s++]=r;else if((224&r)==192){if(E>=o)return this.interim[0]=r,s;if((192&(i=p[E++]))!=128){E--;continue}if((e=(31&r)<<6|63&i)<128){E--;continue}c[s++]=e}else if((240&r)==224){if(E>=o)return this.interim[0]=r,s;if((192&(i=p[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=i,s;if((192&(n=p[E++]))!=128){E--;continue}if((e=(15&r)<<12|(63&i)<<6|63&n)<2048||e>=55296&&e<=57343)continue;c[s++]=e}else if((248&r)==240){if(E>=o)return this.interim[0]=r,s;if((192&(i=p[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=i,s;if((192&(n=p[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=i,this.interim[2]=n,s;if((192&(t=p[E++]))!=128){E--;continue}if((e=(7&r)<<18|(63&i)<<12|(63&n)<<6|63&t)<65536||e>1114111)continue;c[s++]=e}}return s},m}();x.Utf8ToUtf32=b},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CHAR_ATLAS_CELL_SPACING=x.DIM_OPACITY=x.INVERTED_DEFAULT_COLOR=void 0,x.INVERTED_DEFAULT_COLOR=257,x.DIM_OPACITY=.5,x.CHAR_ATLAS_CELL_SPACING=1},function(_,x,C){"use strict";var A,b,m,p;function c(r){var i=r.toString(16);return i.length<2?"0"+i:i}function o(r,i){return r<i?(i+.05)/(r+.05):(r+.05)/(i+.05)}Object.defineProperty(x,"__esModule",{value:!0}),x.contrastRatio=x.toPaddedHex=x.rgba=x.rgb=x.css=x.color=x.channels=void 0,function(r){r.toCss=function(i,n,t,s){return s!==void 0?"#"+c(i)+c(n)+c(t)+c(s):"#"+c(i)+c(n)+c(t)},r.toRgba=function(i,n,t,s){return s===void 0&&(s=255),(i<<24|n<<16|t<<8|s)>>>0}}(A=x.channels||(x.channels={})),(b=x.color||(x.color={})).blend=function(r,i){var n=(255&i.rgba)/255;if(n===1)return{css:i.css,rgba:i.rgba};var t=i.rgba>>24&255,s=i.rgba>>16&255,e=i.rgba>>8&255,a=r.rgba>>24&255,l=r.rgba>>16&255,u=r.rgba>>8&255,h=a+Math.round((t-a)*n),f=l+Math.round((s-l)*n),g=u+Math.round((e-u)*n);return{css:A.toCss(h,f,g),rgba:A.toRgba(h,f,g)}},b.isOpaque=function(r){return(255&r.rgba)==255},b.ensureContrastRatio=function(r,i,n){var t=p.ensureContrastRatio(r.rgba,i.rgba,n);if(t)return p.toColor(t>>24&255,t>>16&255,t>>8&255)},b.opaque=function(r){var i=(255|r.rgba)>>>0,n=p.toChannels(i),t=n[0],s=n[1],e=n[2];return{css:A.toCss(t,s,e),rgba:i}},b.opacity=function(r,i){var n=Math.round(255*i),t=p.toChannels(r.rgba),s=t[0],e=t[1],a=t[2];return{css:A.toCss(s,e,a,n),rgba:A.toRgba(s,e,a,n)}},(x.css||(x.css={})).toColor=function(r){switch(r.length){case 7:return{css:r,rgba:(parseInt(r.slice(1),16)<<8|255)>>>0};case 9:return{css:r,rgba:parseInt(r.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(r){function i(n,t,s){var e=n/255,a=t/255,l=s/255;return .2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4))}r.relativeLuminance=function(n){return i(n>>16&255,n>>8&255,255&n)},r.relativeLuminance2=i}(m=x.rgb||(x.rgb={})),function(r){function i(t,s,e){for(var a=t>>24&255,l=t>>16&255,u=t>>8&255,h=s>>24&255,f=s>>16&255,g=s>>8&255,v=o(m.relativeLuminance2(h,g,f),m.relativeLuminance2(a,l,u));v<e&&(h>0||f>0||g>0);)h-=Math.max(0,Math.ceil(.1*h)),f-=Math.max(0,Math.ceil(.1*f)),g-=Math.max(0,Math.ceil(.1*g)),v=o(m.relativeLuminance2(h,g,f),m.relativeLuminance2(a,l,u));return(h<<24|f<<16|g<<8|255)>>>0}function n(t,s,e){for(var a=t>>24&255,l=t>>16&255,u=t>>8&255,h=s>>24&255,f=s>>16&255,g=s>>8&255,v=o(m.relativeLuminance2(h,g,f),m.relativeLuminance2(a,l,u));v<e&&(h<255||f<255||g<255);)h=Math.min(255,h+Math.ceil(.1*(255-h))),f=Math.min(255,f+Math.ceil(.1*(255-f))),g=Math.min(255,g+Math.ceil(.1*(255-g))),v=o(m.relativeLuminance2(h,g,f),m.relativeLuminance2(a,l,u));return(h<<24|f<<16|g<<8|255)>>>0}r.ensureContrastRatio=function(t,s,e){var a=m.relativeLuminance(t>>8),l=m.relativeLuminance(s>>8);if(o(a,l)<e)return l<a?i(t,s,e):n(t,s,e)},r.reduceLuminance=i,r.increaseLuminance=n,r.toChannels=function(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]},r.toColor=function(t,s,e){return{css:A.toCss(t,s,e),rgba:A.toRgba(t,s,e)}}}(p=x.rgba||(x.rgba={})),x.toPaddedHex=c,x.contrastRatio=o},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.isLinux=x.isWindows=x.isIphone=x.isIpad=x.isMac=x.isSafari=x.isFirefox=void 0;var A=typeof navigator=="undefined",b=A?"node":navigator.userAgent,m=A?"node":navigator.platform;function p(c,o){return c.indexOf(o)>=0}x.isFirefox=!!~b.indexOf("Firefox"),x.isSafari=/^((?!chrome|android).)*safari/i.test(b),x.isMac=p(["Macintosh","MacIntel","MacPPC","Mac68K"],m),x.isIpad=m==="iPad",x.isIphone=m==="iPhone",x.isWindows=p(["Windows","Win16","Win32","WinCE"],m),x.isLinux=m.indexOf("Linux")>=0},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.C1=x.C0=void 0,function(A){A.NUL="\0",A.SOH="",A.STX="",A.ETX="",A.EOT="",A.ENQ="",A.ACK="",A.BEL="\x07",A.BS="\b",A.HT=" ",A.LF=`
`,A.VT="\v",A.FF="\f",A.CR="\r",A.SO="",A.SI="",A.DLE="",A.DC1="",A.DC2="",A.DC3="",A.DC4="",A.NAK="",A.SYN="",A.ETB="",A.CAN="",A.EM="",A.SUB="",A.ESC="",A.FS="",A.GS="",A.RS="",A.US="",A.SP=" ",A.DEL="\x7F"}(x.C0||(x.C0={})),function(A){A.PAD="\x80",A.HOP="\x81",A.BPH="\x82",A.NBH="\x83",A.IND="\x84",A.NEL="\x85",A.SSA="\x86",A.ESA="\x87",A.HTS="\x88",A.HTJ="\x89",A.VTS="\x8A",A.PLD="\x8B",A.PLU="\x8C",A.RI="\x8D",A.SS2="\x8E",A.SS3="\x8F",A.DCS="\x90",A.PU1="\x91",A.PU2="\x92",A.STS="\x93",A.CCH="\x94",A.MW="\x95",A.SPA="\x96",A.EPA="\x97",A.SOS="\x98",A.SGCI="\x99",A.SCI="\x9A",A.CSI="\x9B",A.ST="\x9C",A.OSC="\x9D",A.PM="\x9E",A.APC="\x9F"}(x.C1||(x.C1={}))},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.BaseRenderLayer=void 0;var A=C(3),b=C(9),m=C(25),p=C(6),c=C(28),o=C(10),r=C(17),i=function(){function n(t,s,e,a,l,u,h,f){this._container=t,this._alpha=a,this._colors=l,this._rendererId=u,this._bufferService=h,this._optionsService=f,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-"+s+"-layer"),this._canvas.style.zIndex=e.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return n.prototype.dispose=function(){var t;r.removeElementFromParent(this._canvas),(t=this._charAtlas)===null||t===void 0||t.dispose()},n.prototype._initCanvas=function(){this._ctx=c.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},n.prototype.onOptionsChanged=function(){},n.prototype.onBlur=function(){},n.prototype.onFocus=function(){},n.prototype.onCursorMove=function(){},n.prototype.onGridChanged=function(t,s){},n.prototype.onSelectionChanged=function(t,s,e){e===void 0&&(e=!1)},n.prototype.setColors=function(t){this._refreshCharAtlas(t)},n.prototype._setTransparency=function(t){if(t!==this._alpha){var s=this._canvas;this._alpha=t,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,s),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},n.prototype._refreshCharAtlas=function(t){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=m.acquireCharAtlas(this._optionsService.options,this._rendererId,t,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},n.prototype.resize=function(t){this._scaledCellWidth=t.scaledCellWidth,this._scaledCellHeight=t.scaledCellHeight,this._scaledCharWidth=t.scaledCharWidth,this._scaledCharHeight=t.scaledCharHeight,this._scaledCharLeft=t.scaledCharLeft,this._scaledCharTop=t.scaledCharTop,this._canvas.width=t.scaledCanvasWidth,this._canvas.height=t.scaledCanvasHeight,this._canvas.style.width=t.canvasWidth+"px",this._canvas.style.height=t.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},n.prototype._fillCells=function(t,s,e,a){this._ctx.fillRect(t*this._scaledCellWidth,s*this._scaledCellHeight,e*this._scaledCellWidth,a*this._scaledCellHeight)},n.prototype._fillBottomLineAtCells=function(t,s,e){e===void 0&&(e=1),this._ctx.fillRect(t*this._scaledCellWidth,(s+1)*this._scaledCellHeight-window.devicePixelRatio-1,e*this._scaledCellWidth,window.devicePixelRatio)},n.prototype._fillLeftLineAtCell=function(t,s,e){this._ctx.fillRect(t*this._scaledCellWidth,s*this._scaledCellHeight,window.devicePixelRatio*e,this._scaledCellHeight)},n.prototype._strokeRectAtCell=function(t,s,e,a){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(t*this._scaledCellWidth+window.devicePixelRatio/2,s*this._scaledCellHeight+window.devicePixelRatio/2,e*this._scaledCellWidth-window.devicePixelRatio,a*this._scaledCellHeight-window.devicePixelRatio)},n.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))},n.prototype._clearCells=function(t,s,e,a){this._alpha?this._ctx.clearRect(t*this._scaledCellWidth,s*this._scaledCellHeight,e*this._scaledCellWidth,a*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(t*this._scaledCellWidth,s*this._scaledCellHeight,e*this._scaledCellWidth,a*this._scaledCellHeight))},n.prototype._fillCharTrueColor=function(t,s,e){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(e),this._ctx.fillText(t.getChars(),s*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},n.prototype._drawChars=function(t,s,e){var a,l,u=this._getContrastColor(t);u||t.isFgRGB()||t.isBgRGB()?this._drawUncachedChars(t,s,e,u):(t.isInverse()?(a=t.isBgDefault()?b.INVERTED_DEFAULT_COLOR:t.getBgColor(),l=t.isFgDefault()?b.INVERTED_DEFAULT_COLOR:t.getFgColor()):(l=t.isBgDefault()?A.DEFAULT_COLOR:t.getBgColor(),a=t.isFgDefault()?A.DEFAULT_COLOR:t.getFgColor()),a+=this._optionsService.options.drawBoldTextInBrightColors&&t.isBold()&&a<8?8:0,this._currentGlyphIdentifier.chars=t.getChars()||A.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=t.getCode()||A.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=l,this._currentGlyphIdentifier.fg=a,this._currentGlyphIdentifier.bold=!!t.isBold(),this._currentGlyphIdentifier.dim=!!t.isDim(),this._currentGlyphIdentifier.italic=!!t.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,s*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(t,s,e))},n.prototype._drawUncachedChars=function(t,s,e,a){if(this._ctx.save(),this._ctx.font=this._getFont(!!t.isBold(),!!t.isItalic()),this._ctx.textBaseline="middle",t.isInverse())if(a)this._ctx.fillStyle=a.css;else if(t.isBgDefault())this._ctx.fillStyle=o.color.opaque(this._colors.background).css;else if(t.isBgRGB())this._ctx.fillStyle="rgb("+p.AttributeData.toColorRGB(t.getBgColor()).join(",")+")";else{var l=t.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&t.isBold()&&l<8&&(l+=8),this._ctx.fillStyle=this._colors.ansi[l].css}else if(a)this._ctx.fillStyle=a.css;else if(t.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(t.isFgRGB())this._ctx.fillStyle="rgb("+p.AttributeData.toColorRGB(t.getFgColor()).join(",")+")";else{var u=t.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&t.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}this._clipRow(e),t.isDim()&&(this._ctx.globalAlpha=b.DIM_OPACITY),this._ctx.fillText(t.getChars(),s*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},n.prototype._clipRow=function(t){this._ctx.beginPath(),this._ctx.rect(0,t*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},n.prototype._getFont=function(t,s){return(s?"italic":"")+" "+(t?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},n.prototype._getContrastColor=function(t){if(this._optionsService.options.minimumContrastRatio!==1){var s=this._colors.contrastCache.getColor(t.bg,t.fg);if(s!==void 0)return s||void 0;var e=t.getFgColor(),a=t.getFgColorMode(),l=t.getBgColor(),u=t.getBgColorMode(),h=!!t.isInverse(),f=!!t.isInverse();if(h){var g=e;e=l,l=g;var v=a;a=u,u=v}var y=this._resolveBackgroundRgba(u,l,h),E=this._resolveForegroundRgba(a,e,h,f),T=o.rgba.ensureContrastRatio(y,E,this._optionsService.options.minimumContrastRatio);if(T){var w={css:o.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};return this._colors.contrastCache.setColor(t.bg,t.fg,w),w}this._colors.contrastCache.setColor(t.bg,t.fg,null)}},n.prototype._resolveBackgroundRgba=function(t,s,e){switch(t){case 16777216:case 33554432:return this._colors.ansi[s].rgba;case 50331648:return s<<8;case 0:default:return e?this._colors.foreground.rgba:this._colors.background.rgba}},n.prototype._resolveForegroundRgba=function(t,s,e,a){switch(t){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&a&&s<8&&(s+=8),this._colors.ansi[s].rgba;case 50331648:return s<<8;case 0:default:return e?this._colors.background.rgba:this._colors.foreground.rgba}},n}();x.BaseRenderLayer=i},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.createDecorator=x.getServiceDependencies=x.serviceRegistry=void 0;function A(b,m,p){m.di$target===m?m.di$dependencies.push({id:b,index:p}):(m.di$dependencies=[{id:b,index:p}],m.di$target=m)}x.serviceRegistry=new Map,x.getServiceDependencies=function(b){return b.di$dependencies||[]},x.createDecorator=function(b){if(x.serviceRegistry.has(b))return x.serviceRegistry.get(b);var m=function p(c,o,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");A(p,c,r)};return m.toString=function(){return b},x.serviceRegistry.set(b,m),m}},function(_,x,C){"use strict";function A(b,m,p,c){if(p===void 0&&(p=0),c===void 0&&(c=b.length),p>=b.length)return b;p=(b.length+p)%b.length,c=c>=b.length?b.length:(b.length+c)%b.length;for(var o=p;o<c;++o)b[o]=m;return b}Object.defineProperty(x,"__esModule",{value:!0}),x.concat=x.fillFallback=x.fill=void 0,x.fill=function(b,m,p,c){return b.fill?b.fill(m,p,c):A(b,m,p,c)},x.fillFallback=A,x.concat=function(b,m){var p=new b.constructor(b.length+m.length);return p.set(b),p.set(m,b.length),p}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.BufferLine=x.DEFAULT_ATTR_DATA=void 0;var A=C(8),b=C(3),m=C(4),p=C(6);x.DEFAULT_ATTR_DATA=Object.freeze(new p.AttributeData);var c=function(){function o(r,i,n){n===void 0&&(n=!1),this.isWrapped=n,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*r);for(var t=i||m.CellData.fromCharData([0,b.NULL_CELL_CHAR,b.NULL_CELL_WIDTH,b.NULL_CELL_CODE]),s=0;s<r;++s)this.setCell(s,t);this.length=r}return o.prototype.get=function(r){var i=this._data[3*r+0],n=2097151&i;return[this._data[3*r+1],2097152&i?this._combined[r]:n?A.stringFromCodePoint(n):"",i>>22,2097152&i?this._combined[r].charCodeAt(this._combined[r].length-1):n]},o.prototype.set=function(r,i){this._data[3*r+1]=i[b.CHAR_DATA_ATTR_INDEX],i[b.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[r]=i[1],this._data[3*r+0]=2097152|r|i[b.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*r+0]=i[b.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|i[b.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(r){return this._data[3*r+0]>>22},o.prototype.hasWidth=function(r){return 12582912&this._data[3*r+0]},o.prototype.getFg=function(r){return this._data[3*r+1]},o.prototype.getBg=function(r){return this._data[3*r+2]},o.prototype.hasContent=function(r){return 4194303&this._data[3*r+0]},o.prototype.getCodePoint=function(r){var i=this._data[3*r+0];return 2097152&i?this._combined[r].charCodeAt(this._combined[r].length-1):2097151&i},o.prototype.isCombined=function(r){return 2097152&this._data[3*r+0]},o.prototype.getString=function(r){var i=this._data[3*r+0];return 2097152&i?this._combined[r]:2097151&i?A.stringFromCodePoint(2097151&i):""},o.prototype.loadCell=function(r,i){var n=3*r;return i.content=this._data[n+0],i.fg=this._data[n+1],i.bg=this._data[n+2],2097152&i.content&&(i.combinedData=this._combined[r]),268435456&i.bg&&(i.extended=this._extendedAttrs[r]),i},o.prototype.setCell=function(r,i){2097152&i.content&&(this._combined[r]=i.combinedData),268435456&i.bg&&(this._extendedAttrs[r]=i.extended),this._data[3*r+0]=i.content,this._data[3*r+1]=i.fg,this._data[3*r+2]=i.bg},o.prototype.setCellFromCodePoint=function(r,i,n,t,s,e){268435456&s&&(this._extendedAttrs[r]=e),this._data[3*r+0]=i|n<<22,this._data[3*r+1]=t,this._data[3*r+2]=s},o.prototype.addCodepointToCell=function(r,i){var n=this._data[3*r+0];2097152&n?this._combined[r]+=A.stringFromCodePoint(i):(2097151&n?(this._combined[r]=A.stringFromCodePoint(2097151&n)+A.stringFromCodePoint(i),n&=-2097152,n|=2097152):n=i|1<<22,this._data[3*r+0]=n)},o.prototype.insertCells=function(r,i,n,t){if((r%=this.length)&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new p.ExtendedAttrs),i<this.length-r){for(var s=new m.CellData,e=this.length-r-i-1;e>=0;--e)this.setCell(r+i+e,this.loadCell(r+e,s));for(e=0;e<i;++e)this.setCell(r+e,n)}else for(e=r;e<this.length;++e)this.setCell(e,n);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new p.ExtendedAttrs)},o.prototype.deleteCells=function(r,i,n,t){if(r%=this.length,i<this.length-r){for(var s=new m.CellData,e=0;e<this.length-r-i;++e)this.setCell(r+e,this.loadCell(r+i+e,s));for(e=this.length-i;e<this.length;++e)this.setCell(e,n)}else for(e=r;e<this.length;++e)this.setCell(e,n);r&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new p.ExtendedAttrs),this.getWidth(r)!==0||this.hasContent(r)||this.setCellFromCodePoint(r,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new p.ExtendedAttrs)},o.prototype.replaceCells=function(r,i,n,t){for(r&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new p.ExtendedAttrs),i<this.length&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i,0,1,(t==null?void 0:t.fg)||0,(t==null?void 0:t.bg)||0,(t==null?void 0:t.extended)||new p.ExtendedAttrs);r<i&&r<this.length;)this.setCell(r++,n)},o.prototype.resize=function(r,i){if(r!==this.length){if(r>this.length){var n=new Uint32Array(3*r);this.length&&(3*r<this._data.length?n.set(this._data.subarray(0,3*r)):n.set(this._data)),this._data=n;for(var t=this.length;t<r;++t)this.setCell(t,i)}else if(r){(n=new Uint32Array(3*r)).set(this._data.subarray(0,3*r)),this._data=n;var s=Object.keys(this._combined);for(t=0;t<s.length;t++){var e=parseInt(s[t],10);e>=r&&delete this._combined[e]}}else this._data=new Uint32Array(0),this._combined={};this.length=r}},o.prototype.fill=function(r){this._combined={},this._extendedAttrs={};for(var i=0;i<this.length;++i)this.setCell(i,r)},o.prototype.copyFrom=function(r){for(var i in this.length!==r.length?this._data=new Uint32Array(r._data):this._data.set(r._data),this.length=r.length,this._combined={},r._combined)this._combined[i]=r._combined[i];for(var i in this._extendedAttrs={},r._extendedAttrs)this._extendedAttrs[i]=r._extendedAttrs[i];this.isWrapped=r.isWrapped},o.prototype.clone=function(){var r=new o(0);for(var i in r._data=new Uint32Array(this._data),r.length=this.length,this._combined)r._combined[i]=this._combined[i];for(var i in this._extendedAttrs)r._extendedAttrs[i]=this._extendedAttrs[i];return r.isWrapped=this.isWrapped,r},o.prototype.getTrimmedLength=function(){for(var r=this.length-1;r>=0;--r)if(4194303&this._data[3*r+0])return r+(this._data[3*r+0]>>22);return 0},o.prototype.copyCellsFrom=function(r,i,n,t,s){var e=r._data;if(s)for(var a=t-1;a>=0;a--)for(var l=0;l<3;l++)this._data[3*(n+a)+l]=e[3*(i+a)+l];else for(a=0;a<t;a++)for(l=0;l<3;l++)this._data[3*(n+a)+l]=e[3*(i+a)+l];var u=Object.keys(r._combined);for(l=0;l<u.length;l++){var h=parseInt(u[l],10);h>=i&&(this._combined[h-i+n]=r._combined[h])}},o.prototype.translateToString=function(r,i,n){r===void 0&&(r=!1),i===void 0&&(i=0),n===void 0&&(n=this.length),r&&(n=Math.min(n,this.getTrimmedLength()));for(var t="";i<n;){var s=this._data[3*i+0],e=2097151&s;t+=2097152&s?this._combined[i]:e?A.stringFromCodePoint(e):b.WHITESPACE_CELL_CHAR,i+=s>>22||1}return t},o}();x.BufferLine=c},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.removeElementFromParent=void 0,x.removeElementFromParent=function(){for(var A,b=[],m=0;m<arguments.length;m++)b[m]=arguments[m];for(var p=0,c=b;p<c.length;p++){var o=c[p];(A=o==null?void 0:o.parentElement)===null||A===void 0||A.removeChild(o)}}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.tooMuchOutput=x.promptLabel=void 0,x.promptLabel="Terminal input",x.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(T,w){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,I){S.__proto__=I}||function(S,I){for(var L in I)I.hasOwnProperty(L)&&(S[L]=I[L])})(T,w)},function(E,T){function w(){this.constructor=E}A(E,T),E.prototype=T===null?Object.create(T):(w.prototype=T.prototype,new w)});Object.defineProperty(x,"__esModule",{value:!0}),x.InputHandler=x.WindowsOptionsReportType=void 0;var m,p=C(12),c=C(20),o=C(39),r=C(2),i=C(15),n=C(8),t=C(16),s=C(0),e=C(3),a=C(4),l=C(6),u=C(22),h=C(24),f={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function g(E,T){if(E>24)return T.setWinLines||!1;switch(E){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(E){E[E.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",E[E.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(m=x.WindowsOptionsReportType||(x.WindowsOptionsReportType={}));var v=function(){function E(T,w,S,I){this._bufferService=T,this._coreService=w,this._logService=S,this._optionsService=I,this._data=new Uint32Array(0)}return E.prototype.hook=function(T){this._data=new Uint32Array(0)},E.prototype.put=function(T,w,S){this._data=i.concat(this._data,T.subarray(w,S))},E.prototype.unhook=function(T){if(T){var w=n.utf32ToString(this._data);switch(this._data=new Uint32Array(0),w){case'"q':return this._coreService.triggerDataEvent(p.C0.ESC+'P1$r0"q'+p.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(p.C0.ESC+'P1$r61;1"p'+p.C0.ESC+"\\");case"r":var S=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(p.C0.ESC+"P1$r"+S+p.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(p.C0.ESC+"P1$r0m"+p.C0.ESC+"\\");case" q":var I={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return I-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(p.C0.ESC+"P1$r"+I+" q"+p.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",w),this._coreService.triggerDataEvent(p.C0.ESC+"P0$r"+p.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},E}(),y=function(E){function T(w,S,I,L,O,N,R,D,B){B===void 0&&(B=new o.EscapeSequenceParser);var M=E.call(this)||this;M._bufferService=w,M._charsetService=S,M._coreService=I,M._dirtyRowService=L,M._logService=O,M._optionsService=N,M._coreMouseService=R,M._unicodeService=D,M._parser=B,M._parseBuffer=new Uint32Array(4096),M._stringDecoder=new n.StringToUtf32,M._utf8Decoder=new n.Utf8ToUtf32,M._workCell=new a.CellData,M._windowTitle="",M._iconName="",M._windowTitleStack=[],M._iconNameStack=[],M._curAttrData=t.DEFAULT_ATTR_DATA.clone(),M._eraseAttrDataInternal=t.DEFAULT_ATTR_DATA.clone(),M._onRequestBell=new s.EventEmitter,M._onRequestRefreshRows=new s.EventEmitter,M._onRequestReset=new s.EventEmitter,M._onRequestScroll=new s.EventEmitter,M._onRequestSyncScrollBar=new s.EventEmitter,M._onRequestWindowsOptionsReport=new s.EventEmitter,M._onA11yChar=new s.EventEmitter,M._onA11yTab=new s.EventEmitter,M._onCursorMove=new s.EventEmitter,M._onLineFeed=new s.EventEmitter,M._onScroll=new s.EventEmitter,M._onTitleChange=new s.EventEmitter,M.register(M._parser),M._parser.setCsiHandlerFallback(function(W,V){M._logService.debug("Unknown CSI code: ",{identifier:M._parser.identToString(W),params:V.toArray()})}),M._parser.setEscHandlerFallback(function(W){M._logService.debug("Unknown ESC code: ",{identifier:M._parser.identToString(W)})}),M._parser.setExecuteHandlerFallback(function(W){M._logService.debug("Unknown EXECUTE code: ",{code:W})}),M._parser.setOscHandlerFallback(function(W,V,z){M._logService.debug("Unknown OSC code: ",{identifier:W,action:V,data:z})}),M._parser.setDcsHandlerFallback(function(W,V,z){V==="HOOK"&&(z=z.toArray()),M._logService.debug("Unknown DCS code: ",{identifier:M._parser.identToString(W),action:V,payload:z})}),M._parser.setPrintHandler(function(W,V,z){return M.print(W,V,z)}),M._parser.setCsiHandler({final:"@"},function(W){return M.insertChars(W)}),M._parser.setCsiHandler({intermediates:" ",final:"@"},function(W){return M.scrollLeft(W)}),M._parser.setCsiHandler({final:"A"},function(W){return M.cursorUp(W)}),M._parser.setCsiHandler({intermediates:" ",final:"A"},function(W){return M.scrollRight(W)}),M._parser.setCsiHandler({final:"B"},function(W){return M.cursorDown(W)}),M._parser.setCsiHandler({final:"C"},function(W){return M.cursorForward(W)}),M._parser.setCsiHandler({final:"D"},function(W){return M.cursorBackward(W)}),M._parser.setCsiHandler({final:"E"},function(W){return M.cursorNextLine(W)}),M._parser.setCsiHandler({final:"F"},function(W){return M.cursorPrecedingLine(W)}),M._parser.setCsiHandler({final:"G"},function(W){return M.cursorCharAbsolute(W)}),M._parser.setCsiHandler({final:"H"},function(W){return M.cursorPosition(W)}),M._parser.setCsiHandler({final:"I"},function(W){return M.cursorForwardTab(W)}),M._parser.setCsiHandler({final:"J"},function(W){return M.eraseInDisplay(W)}),M._parser.setCsiHandler({prefix:"?",final:"J"},function(W){return M.eraseInDisplay(W)}),M._parser.setCsiHandler({final:"K"},function(W){return M.eraseInLine(W)}),M._parser.setCsiHandler({prefix:"?",final:"K"},function(W){return M.eraseInLine(W)}),M._parser.setCsiHandler({final:"L"},function(W){return M.insertLines(W)}),M._parser.setCsiHandler({final:"M"},function(W){return M.deleteLines(W)}),M._parser.setCsiHandler({final:"P"},function(W){return M.deleteChars(W)}),M._parser.setCsiHandler({final:"S"},function(W){return M.scrollUp(W)}),M._parser.setCsiHandler({final:"T"},function(W){return M.scrollDown(W)}),M._parser.setCsiHandler({final:"X"},function(W){return M.eraseChars(W)}),M._parser.setCsiHandler({final:"Z"},function(W){return M.cursorBackwardTab(W)}),M._parser.setCsiHandler({final:"`"},function(W){return M.charPosAbsolute(W)}),M._parser.setCsiHandler({final:"a"},function(W){return M.hPositionRelative(W)}),M._parser.setCsiHandler({final:"b"},function(W){return M.repeatPrecedingCharacter(W)}),M._parser.setCsiHandler({final:"c"},function(W){return M.sendDeviceAttributesPrimary(W)}),M._parser.setCsiHandler({prefix:">",final:"c"},function(W){return M.sendDeviceAttributesSecondary(W)}),M._parser.setCsiHandler({final:"d"},function(W){return M.linePosAbsolute(W)}),M._parser.setCsiHandler({final:"e"},function(W){return M.vPositionRelative(W)}),M._parser.setCsiHandler({final:"f"},function(W){return M.hVPosition(W)}),M._parser.setCsiHandler({final:"g"},function(W){return M.tabClear(W)}),M._parser.setCsiHandler({final:"h"},function(W){return M.setMode(W)}),M._parser.setCsiHandler({prefix:"?",final:"h"},function(W){return M.setModePrivate(W)}),M._parser.setCsiHandler({final:"l"},function(W){return M.resetMode(W)}),M._parser.setCsiHandler({prefix:"?",final:"l"},function(W){return M.resetModePrivate(W)}),M._parser.setCsiHandler({final:"m"},function(W){return M.charAttributes(W)}),M._parser.setCsiHandler({final:"n"},function(W){return M.deviceStatus(W)}),M._parser.setCsiHandler({prefix:"?",final:"n"},function(W){return M.deviceStatusPrivate(W)}),M._parser.setCsiHandler({intermediates:"!",final:"p"},function(W){return M.softReset(W)}),M._parser.setCsiHandler({intermediates:" ",final:"q"},function(W){return M.setCursorStyle(W)}),M._parser.setCsiHandler({final:"r"},function(W){return M.setScrollRegion(W)}),M._parser.setCsiHandler({final:"s"},function(W){return M.saveCursor(W)}),M._parser.setCsiHandler({final:"t"},function(W){return M.windowOptions(W)}),M._parser.setCsiHandler({final:"u"},function(W){return M.restoreCursor(W)}),M._parser.setCsiHandler({intermediates:"'",final:"}"},function(W){return M.insertColumns(W)}),M._parser.setCsiHandler({intermediates:"'",final:"~"},function(W){return M.deleteColumns(W)}),M._parser.setExecuteHandler(p.C0.BEL,function(){return M.bell()}),M._parser.setExecuteHandler(p.C0.LF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(p.C0.VT,function(){return M.lineFeed()}),M._parser.setExecuteHandler(p.C0.FF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(p.C0.CR,function(){return M.carriageReturn()}),M._parser.setExecuteHandler(p.C0.BS,function(){return M.backspace()}),M._parser.setExecuteHandler(p.C0.HT,function(){return M.tab()}),M._parser.setExecuteHandler(p.C0.SO,function(){return M.shiftOut()}),M._parser.setExecuteHandler(p.C0.SI,function(){return M.shiftIn()}),M._parser.setExecuteHandler(p.C1.IND,function(){return M.index()}),M._parser.setExecuteHandler(p.C1.NEL,function(){return M.nextLine()}),M._parser.setExecuteHandler(p.C1.HTS,function(){return M.tabSet()}),M._parser.setOscHandler(0,new u.OscHandler(function(W){M.setTitle(W),M.setIconName(W)})),M._parser.setOscHandler(1,new u.OscHandler(function(W){return M.setIconName(W)})),M._parser.setOscHandler(2,new u.OscHandler(function(W){return M.setTitle(W)})),M._parser.setEscHandler({final:"7"},function(){return M.saveCursor()}),M._parser.setEscHandler({final:"8"},function(){return M.restoreCursor()}),M._parser.setEscHandler({final:"D"},function(){return M.index()}),M._parser.setEscHandler({final:"E"},function(){return M.nextLine()}),M._parser.setEscHandler({final:"H"},function(){return M.tabSet()}),M._parser.setEscHandler({final:"M"},function(){return M.reverseIndex()}),M._parser.setEscHandler({final:"="},function(){return M.keypadApplicationMode()}),M._parser.setEscHandler({final:">"},function(){return M.keypadNumericMode()}),M._parser.setEscHandler({final:"c"},function(){return M.fullReset()}),M._parser.setEscHandler({final:"n"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"o"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"|"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"}"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"~"},function(){return M.setgLevel(1)}),M._parser.setEscHandler({intermediates:"%",final:"@"},function(){return M.selectDefaultCharset()}),M._parser.setEscHandler({intermediates:"%",final:"G"},function(){return M.selectDefaultCharset()});var U=function(V){F._parser.setEscHandler({intermediates:"(",final:V},function(){return M.selectCharset("("+V)}),F._parser.setEscHandler({intermediates:")",final:V},function(){return M.selectCharset(")"+V)}),F._parser.setEscHandler({intermediates:"*",final:V},function(){return M.selectCharset("*"+V)}),F._parser.setEscHandler({intermediates:"+",final:V},function(){return M.selectCharset("+"+V)}),F._parser.setEscHandler({intermediates:"-",final:V},function(){return M.selectCharset("-"+V)}),F._parser.setEscHandler({intermediates:".",final:V},function(){return M.selectCharset("."+V)}),F._parser.setEscHandler({intermediates:"/",final:V},function(){return M.selectCharset("/"+V)})},F=this;for(var j in c.CHARSETS)U(j);return M._parser.setEscHandler({intermediates:"#",final:"8"},function(){return M.screenAlignmentPattern()}),M._parser.setErrorHandler(function(W){return M._logService.error("Parsing error: ",W),W}),M._parser.setDcsHandler({intermediates:"$",final:"q"},new v(M._bufferService,M._coreService,M._logService,M._optionsService)),M}return b(T,E),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(){E.prototype.dispose.call(this)},T.prototype.parse=function(w){var S=this._bufferService.buffer,I=S.x,L=S.y;if(this._logService.debug("parsing data",w),this._parseBuffer.length<w.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(w.length,131072))),this._dirtyRowService.clearRange(),w.length>131072)for(var O=0;O<w.length;O+=131072){var N=O+131072<w.length?O+131072:w.length,R=typeof w=="string"?this._stringDecoder.decode(w.substring(O,N),this._parseBuffer):this._utf8Decoder.decode(w.subarray(O,N),this._parseBuffer);this._parser.parse(this._parseBuffer,R)}else R=typeof w=="string"?this._stringDecoder.decode(w,this._parseBuffer):this._utf8Decoder.decode(w,this._parseBuffer),this._parser.parse(this._parseBuffer,R);(S=this._bufferService.buffer).x===I&&S.y===L||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},T.prototype.print=function(w,S,I){var L,O,N=this._bufferService.buffer,R=this._charsetService.charset,D=this._optionsService.options.screenReaderMode,B=this._bufferService.cols,M=this._coreService.decPrivateModes.wraparound,U=this._coreService.modes.insertMode,F=this._curAttrData,j=N.lines.get(N.ybase+N.y);this._dirtyRowService.markDirty(N.y),N.x&&I-S>0&&j.getWidth(N.x-1)===2&&j.setCellFromCodePoint(N.x-1,0,1,F.fg,F.bg,F.extended);for(var W=S;W<I;++W){if(L=w[W],O=this._unicodeService.wcwidth(L),L<127&&R){var V=R[String.fromCharCode(L)];V&&(L=V.charCodeAt(0))}if(D&&this._onA11yChar.fire(n.stringFromCodePoint(L)),O||!N.x){if(N.x+O-1>=B){if(M){for(;N.x<B;)j.setCellFromCodePoint(N.x++,0,1,F.fg,F.bg,F.extended);N.x=0,N.y++,N.y===N.scrollBottom+1?(N.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(N.y>=this._bufferService.rows&&(N.y=this._bufferService.rows-1),N.lines.get(N.ybase+N.y).isWrapped=!0),j=N.lines.get(N.ybase+N.y)}else if(N.x=B-1,O===2)continue}if(U&&(j.insertCells(N.x,O,N.getNullCell(F),F),j.getWidth(B-1)===2&&j.setCellFromCodePoint(B-1,e.NULL_CELL_CODE,e.NULL_CELL_WIDTH,F.fg,F.bg,F.extended)),j.setCellFromCodePoint(N.x++,L,O,F.fg,F.bg,F.extended),O>0)for(;--O;)j.setCellFromCodePoint(N.x++,0,0,F.fg,F.bg,F.extended)}else j.getWidth(N.x-1)?j.addCodepointToCell(N.x-1,L):j.addCodepointToCell(N.x-2,L)}I-S>0&&(j.loadCell(N.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),N.x<B&&I-S>0&&j.getWidth(N.x)===0&&!j.hasContent(N.x)&&j.setCellFromCodePoint(N.x,0,1,F.fg,F.bg,F.extended),this._dirtyRowService.markDirty(N.y)},T.prototype.addCsiHandler=function(w,S){var I=this;return w.final!=="t"||w.prefix||w.intermediates?this._parser.addCsiHandler(w,S):this._parser.addCsiHandler(w,function(L){return!g(L.params[0],I._optionsService.options.windowOptions)||S(L)})},T.prototype.addDcsHandler=function(w,S){return this._parser.addDcsHandler(w,new h.DcsHandler(S))},T.prototype.addEscHandler=function(w,S){return this._parser.addEscHandler(w,S)},T.prototype.addOscHandler=function(w,S){return this._parser.addOscHandler(w,new u.OscHandler(S))},T.prototype.bell=function(){this._onRequestBell.fire()},T.prototype.lineFeed=function(){var w=this._bufferService.buffer;this._dirtyRowService.markDirty(w.y),this._optionsService.options.convertEol&&(w.x=0),w.y++,w.y===w.scrollBottom+1?(w.y--,this._onRequestScroll.fire(this._eraseAttrData())):w.y>=this._bufferService.rows&&(w.y=this._bufferService.rows-1),w.x>=this._bufferService.cols&&w.x--,this._dirtyRowService.markDirty(w.y),this._onLineFeed.fire()},T.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},T.prototype.backspace=function(){var w,S=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(S.x>0&&S.x--);if(this._restrictCursor(this._bufferService.cols),S.x>0)S.x--;else if(S.x===0&&S.y>S.scrollTop&&S.y<=S.scrollBottom&&((w=S.lines.get(S.ybase+S.y))===null||w===void 0?void 0:w.isWrapped)){S.lines.get(S.ybase+S.y).isWrapped=!1,S.y--,S.x=this._bufferService.cols-1;var I=S.lines.get(S.ybase+S.y);I.hasWidth(S.x)&&!I.hasContent(S.x)&&S.x--}this._restrictCursor()},T.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var w=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-w)}},T.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},T.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},T.prototype._restrictCursor=function(w){w===void 0&&(w=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(w,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(w,S){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=w,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+S):(this._bufferService.buffer.x=w,this._bufferService.buffer.y=S),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._moveCursor=function(w,S){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+w,this._bufferService.buffer.y+S)},T.prototype.cursorUp=function(w){var S=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;S>=0?this._moveCursor(0,-Math.min(S,w.params[0]||1)):this._moveCursor(0,-(w.params[0]||1))},T.prototype.cursorDown=function(w){var S=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;S>=0?this._moveCursor(0,Math.min(S,w.params[0]||1)):this._moveCursor(0,w.params[0]||1)},T.prototype.cursorForward=function(w){this._moveCursor(w.params[0]||1,0)},T.prototype.cursorBackward=function(w){this._moveCursor(-(w.params[0]||1),0)},T.prototype.cursorNextLine=function(w){this.cursorDown(w),this._bufferService.buffer.x=0},T.prototype.cursorPrecedingLine=function(w){this.cursorUp(w),this._bufferService.buffer.x=0},T.prototype.cursorCharAbsolute=function(w){this._setCursor((w.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.cursorPosition=function(w){this._setCursor(w.length>=2?(w.params[1]||1)-1:0,(w.params[0]||1)-1)},T.prototype.charPosAbsolute=function(w){this._setCursor((w.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.hPositionRelative=function(w){this._moveCursor(w.params[0]||1,0)},T.prototype.linePosAbsolute=function(w){this._setCursor(this._bufferService.buffer.x,(w.params[0]||1)-1)},T.prototype.vPositionRelative=function(w){this._moveCursor(0,w.params[0]||1)},T.prototype.hVPosition=function(w){this.cursorPosition(w)},T.prototype.tabClear=function(w){var S=w.params[0];S===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:S===3&&(this._bufferService.buffer.tabs={})},T.prototype.cursorForwardTab=function(w){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var S=w.params[0]||1;S--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},T.prototype.cursorBackwardTab=function(w){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var S=w.params[0]||1,I=this._bufferService.buffer;S--;)I.x=I.prevStop()},T.prototype._eraseInBufferLine=function(w,S,I,L){L===void 0&&(L=!1);var O=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+w);O.replaceCells(S,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L&&(O.isWrapped=!1)},T.prototype._resetBufferLine=function(w){var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+w);S.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),S.isWrapped=!1},T.prototype.eraseInDisplay=function(w){var S;switch(this._restrictCursor(),w.params[0]){case 0:for(S=this._bufferService.buffer.y,this._dirtyRowService.markDirty(S),this._eraseInBufferLine(S++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);S<this._bufferService.rows;S++)this._resetBufferLine(S);this._dirtyRowService.markDirty(S);break;case 1:for(S=this._bufferService.buffer.y,this._dirtyRowService.markDirty(S),this._eraseInBufferLine(S,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(S+1).isWrapped=!1);S--;)this._resetBufferLine(S);this._dirtyRowService.markDirty(0);break;case 2:for(S=this._bufferService.rows,this._dirtyRowService.markDirty(S-1);S--;)this._resetBufferLine(S);this._dirtyRowService.markDirty(0);break;case 3:var I=this._bufferService.buffer.lines.length-this._bufferService.rows;I>0&&(this._bufferService.buffer.lines.trimStart(I),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-I,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-I,0),this._onScroll.fire(0))}},T.prototype.eraseInLine=function(w){switch(this._restrictCursor(),w.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(w){this._restrictCursor();var S=w.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){for(var L=I.ybase+I.y,O=this._bufferService.rows-1-I.scrollBottom,N=this._bufferService.rows-1+I.ybase-O+1;S--;)I.lines.splice(N-1,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.prototype.deleteLines=function(w){this._restrictCursor();var S=w.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){var L,O=I.ybase+I.y;for(L=this._bufferService.rows-1-I.scrollBottom,L=this._bufferService.rows-1+I.ybase-L;S--;)I.lines.splice(O,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.prototype.insertChars=function(w){this._restrictCursor();var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);S&&(S.insertCells(this._bufferService.buffer.x,w.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.deleteChars=function(w){this._restrictCursor();var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);S&&(S.deleteCells(this._bufferService.buffer.x,w.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.scrollUp=function(w){for(var S=w.params[0]||1,I=this._bufferService.buffer;S--;)I.lines.splice(I.ybase+I.scrollTop,1),I.lines.splice(I.ybase+I.scrollBottom,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},T.prototype.scrollDown=function(w){for(var S=w.params[0]||1,I=this._bufferService.buffer;S--;)I.lines.splice(I.ybase+I.scrollBottom,1),I.lines.splice(I.ybase+I.scrollTop,0,I.getBlankLine(t.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},T.prototype.scrollLeft=function(w){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.y<S.scrollTop)){for(var I=w.params[0]||1,L=S.scrollTop;L<=S.scrollBottom;++L){var O=S.lines.get(S.ybase+L);O.deleteCells(0,I,S.getNullCell(this._eraseAttrData()),this._eraseAttrData()),O.isWrapped=!1}this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}},T.prototype.scrollRight=function(w){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.y<S.scrollTop)){for(var I=w.params[0]||1,L=S.scrollTop;L<=S.scrollBottom;++L){var O=S.lines.get(S.ybase+L);O.insertCells(0,I,S.getNullCell(this._eraseAttrData()),this._eraseAttrData()),O.isWrapped=!1}this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}},T.prototype.insertColumns=function(w){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.y<S.scrollTop)){for(var I=w.params[0]||1,L=S.scrollTop;L<=S.scrollBottom;++L){var O=this._bufferService.buffer.lines.get(S.ybase+L);O.insertCells(S.x,I,S.getNullCell(this._eraseAttrData()),this._eraseAttrData()),O.isWrapped=!1}this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}},T.prototype.deleteColumns=function(w){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.y<S.scrollTop)){for(var I=w.params[0]||1,L=S.scrollTop;L<=S.scrollBottom;++L){var O=S.lines.get(S.ybase+L);O.deleteCells(S.x,I,S.getNullCell(this._eraseAttrData()),this._eraseAttrData()),O.isWrapped=!1}this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}},T.prototype.eraseChars=function(w){this._restrictCursor();var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);S&&(S.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(w.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.repeatPrecedingCharacter=function(w){if(this._parser.precedingCodepoint){for(var S=w.params[0]||1,I=new Uint32Array(S),L=0;L<S;++L)I[L]=this._parser.precedingCodepoint;this.print(I,0,I.length)}},T.prototype.sendDeviceAttributesPrimary=function(w){w.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(p.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(p.C0.ESC+"[?6c"))},T.prototype.sendDeviceAttributesSecondary=function(w){w.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(p.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(p.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(w.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(p.C0.ESC+"[>83;40003;0c"))},T.prototype._is=function(w){return(this._optionsService.options.termName+"").indexOf(w)===0},T.prototype.setMode=function(w){for(var S=0;S<w.length;S++)switch(w.params[S]){case 4:this._coreService.modes.insertMode=!0}},T.prototype.setModePrivate=function(w){for(var S=0;S<w.length;S++)switch(w.params[S]){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(w){for(var S=0;S<w.length;S++)switch(w.params[S]){case 4:this._coreService.modes.insertMode=!1}},T.prototype.resetModePrivate=function(w){for(var S=0;S<w.length;S++)switch(w.params[S]){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(),w.params[S]===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(w,S,I,L,O){return S===2?(w|=50331648,w&=-16777216,w|=l.AttributeData.fromColorRGB([I,L,O])):S===5&&(w&=-50331904,w|=33554432|255&I),w},T.prototype._extractColor=function(w,S,I){var L=[0,0,-1,0,0,0],O=0,N=0;do{if(L[N+O]=w.params[S+N],w.hasSubParams(S+N)){var R=w.getSubParams(S+N),D=0;do L[1]===5&&(O=1),L[N+D+1+O]=R[D];while(++D<R.length&&D+N+1+O<L.length);break}if(L[1]===5&&N+O>=2||L[1]===2&&N+O>=5)break;L[1]&&(O=1)}while(++N+S<w.length&&N+O<L.length);for(D=2;D<L.length;++D)L[D]===-1&&(L[D]=0);switch(L[0]){case 38:I.fg=this._updateAttrColor(I.fg,L[1],L[3],L[4],L[5]);break;case 48:I.bg=this._updateAttrColor(I.bg,L[1],L[3],L[4],L[5]);break;case 58:I.extended=I.extended.clone(),I.extended.underlineColor=this._updateAttrColor(I.extended.underlineColor,L[1],L[3],L[4],L[5])}return N},T.prototype._processUnderline=function(w,S){S.extended=S.extended.clone(),(!~w||w>5)&&(w=1),S.extended.underlineStyle=w,S.fg|=268435456,w===0&&(S.fg&=-268435457),S.updateExtended()},T.prototype.charAttributes=function(w){if(w.length===1&&w.params[0]===0)return this._curAttrData.fg=t.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=t.DEFAULT_ATTR_DATA.bg);for(var S,I=w.length,L=this._curAttrData,O=0;O<I;O++)(S=w.params[O])>=30&&S<=37?(L.fg&=-50331904,L.fg|=16777216|S-30):S>=40&&S<=47?(L.bg&=-50331904,L.bg|=16777216|S-40):S>=90&&S<=97?(L.fg&=-50331904,L.fg|=16777224|S-90):S>=100&&S<=107?(L.bg&=-50331904,L.bg|=16777224|S-100):S===0?(L.fg=t.DEFAULT_ATTR_DATA.fg,L.bg=t.DEFAULT_ATTR_DATA.bg):S===1?L.fg|=134217728:S===3?L.bg|=67108864:S===4?(L.fg|=268435456,this._processUnderline(w.hasSubParams(O)?w.getSubParams(O)[0]:1,L)):S===5?L.fg|=536870912:S===7?L.fg|=67108864:S===8?L.fg|=1073741824:S===2?L.bg|=134217728:S===21?this._processUnderline(2,L):S===22?(L.fg&=-134217729,L.bg&=-134217729):S===23?L.bg&=-67108865:S===24?L.fg&=-268435457:S===25?L.fg&=-536870913:S===27?L.fg&=-67108865:S===28?L.fg&=-1073741825:S===39?(L.fg&=-67108864,L.fg|=16777215&t.DEFAULT_ATTR_DATA.fg):S===49?(L.bg&=-67108864,L.bg|=16777215&t.DEFAULT_ATTR_DATA.bg):S===38||S===48||S===58?O+=this._extractColor(w,O,L):S===59?(L.extended=L.extended.clone(),L.extended.underlineColor=-1,L.updateExtended()):S===100?(L.fg&=-67108864,L.fg|=16777215&t.DEFAULT_ATTR_DATA.fg,L.bg&=-67108864,L.bg|=16777215&t.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",S)},T.prototype.deviceStatus=function(w){switch(w.params[0]){case 5:this._coreService.triggerDataEvent(p.C0.ESC+"[0n");break;case 6:var S=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(p.C0.ESC+"["+S+";"+I+"R")}},T.prototype.deviceStatusPrivate=function(w){switch(w.params[0]){case 6:var S=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(p.C0.ESC+"[?"+S+";"+I+"R")}},T.prototype.softReset=function(w){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=t.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(w){var S=w.params[0]||1;switch(S){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var I=S%2==1;this._optionsService.options.cursorBlink=I},T.prototype.setScrollRegion=function(w){var S,I=w.params[0]||1;(w.length<2||(S=w.params[1])>this._bufferService.rows||S===0)&&(S=this._bufferService.rows),S>I&&(this._bufferService.buffer.scrollTop=I-1,this._bufferService.buffer.scrollBottom=S-1,this._setCursor(0,0))},T.prototype.windowOptions=function(w){if(g(w.params[0],this._optionsService.options.windowOptions)){var S=w.length>1?w.params[1]:0;switch(w.params[0]){case 14:S!==2&&this._onRequestWindowsOptionsReport.fire(m.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(m.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(p.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:S!==0&&S!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),S!==0&&S!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:S!==0&&S!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),S!==0&&S!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},T.prototype.saveCursor=function(w){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(w){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(w){this._windowTitle=w,this._onTitleChange.fire(w)},T.prototype.setIconName=function(w){this._iconName=w},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(w){w.length===2?w[0]!=="/"&&this._charsetService.setgCharset(f[w[0]],c.CHARSETS[w[1]]||c.DEFAULT_CHARSET):this.selectDefaultCharset()},T.prototype.index=function(){this._restrictCursor();var w=this._bufferService.buffer;this._bufferService.buffer.y++,w.y===w.scrollBottom+1?(w.y--,this._onRequestScroll.fire(this._eraseAttrData())):w.y>=this._bufferService.rows&&(w.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 w=this._bufferService.buffer;if(w.y===w.scrollTop){var S=w.scrollBottom-w.scrollTop;w.lines.shiftElements(w.ybase+w.y,S,1),w.lines.set(w.ybase+w.y,w.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom)}else w.y--,this._restrictCursor()},T.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},T.prototype.reset=function(){this._curAttrData=t.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=t.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(w){this._charsetService.setgLevel(w)},T.prototype.screenAlignmentPattern=function(){var w=new a.CellData;w.content=1<<22|"E".charCodeAt(0),w.fg=this._curAttrData.fg,w.bg=this._curAttrData.bg;var S=this._bufferService.buffer;this._setCursor(0,0);for(var I=0;I<this._bufferService.rows;++I){var L=S.ybase+S.y+I,O=S.lines.get(L);O&&(O.fill(w),O.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},T}(r.Disposable);x.InputHandler=y},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.DEFAULT_CHARSET=x.CHARSETS=void 0,x.CHARSETS={},x.DEFAULT_CHARSET=x.CHARSETS.B,x.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"},x.CHARSETS.A={"#":"\xA3"},x.CHARSETS.B=void 0,x.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},x.CHARSETS.C=x.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},x.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},x.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},x.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},x.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},x.CHARSETS.E=x.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},x.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},x.CHARSETS.H=x.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},x.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.Params=void 0;var A=function(){function b(m,p){if(m===void 0&&(m=32),p===void 0&&(p=32),this.maxLength=m,this.maxSubParamsLength=p,p>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(m),this.length=0,this._subParams=new Int32Array(p),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(m),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return b.fromArray=function(m){var p=new b;if(!m.length)return p;for(var c=m[0]instanceof Array?1:0;c<m.length;++c){var o=m[c];if(o instanceof Array)for(var r=0;r<o.length;++r)p.addSubParam(o[r]);else p.addParam(o)}return p},b.prototype.clone=function(){var m=new b(this.maxLength,this.maxSubParamsLength);return m.params.set(this.params),m.length=this.length,m._subParams.set(this._subParams),m._subParamsLength=this._subParamsLength,m._subParamsIdx.set(this._subParamsIdx),m._rejectDigits=this._rejectDigits,m._rejectSubDigits=this._rejectSubDigits,m._digitIsSub=this._digitIsSub,m},b.prototype.toArray=function(){for(var m=[],p=0;p<this.length;++p){m.push(this.params[p]);var c=this._subParamsIdx[p]>>8,o=255&this._subParamsIdx[p];o-c>0&&m.push(Array.prototype.slice.call(this._subParams,c,o))}return m},b.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},b.prototype.addParam=function(m){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(m<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=m>2147483647?2147483647:m}},b.prototype.addSubParam=function(m){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(m<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=m>2147483647?2147483647:m,this._subParamsIdx[this.length-1]++}},b.prototype.hasSubParams=function(m){return(255&this._subParamsIdx[m])-(this._subParamsIdx[m]>>8)>0},b.prototype.getSubParams=function(m){var p=this._subParamsIdx[m]>>8,c=255&this._subParamsIdx[m];return c-p>0?this._subParams.subarray(p,c):null},b.prototype.getSubParamsAll=function(){for(var m={},p=0;p<this.length;++p){var c=this._subParamsIdx[p]>>8,o=255&this._subParamsIdx[p];o-c>0&&(m[p]=this._subParams.slice(c,o))}return m},b.prototype.addDigit=function(m){var p;if(!(this._rejectDigits||!(p=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var c=this._digitIsSub?this._subParams:this.params,o=c[p-1];c[p-1]=~o?Math.min(10*o+m,2147483647):m}},b}();x.Params=A},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.OscHandler=x.OscParser=void 0;var A=C(23),b=C(8),m=function(){function c(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return c.prototype.addHandler=function(o,r){this._handlers[o]===void 0&&(this._handlers[o]=[]);var i=this._handlers[o];return i.push(r),{dispose:function(){var t=i.indexOf(r);t!==-1&&i.splice(t,1)}}},c.prototype.setHandler=function(o,r){this._handlers[o]=[r]},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 r=o.length-1;r>=0;r--)o[r].start();else this._handlerFb(this._id,"START")},c.prototype._put=function(o,r,i){var n=this._handlers[this._id];if(n)for(var t=n.length-1;t>=0;t--)n[t].put(o,r,i);else this._handlerFb(this._id,"PUT",b.utf32ToString(o,r,i))},c.prototype._end=function(o){var r=this._handlers[this._id];if(r){for(var i=r.length-1;i>=0&&r[i].end(o)===!1;i--);for(i--;i>=0;i--)r[i].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,r,i){if(this._state!==3){if(this._state===1)for(;r<i;){var n=o[r++];if(n===59){this._state=2,this._start();break}if(n<48||57<n)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+n-48}this._state===2&&i-r>0&&this._put(o,r,i)}},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}();x.OscParser=m;var p=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,r,i){this._hitLimit||(this._data+=b.utf32ToString(o,r,i),this._data.length>A.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},c.prototype.end=function(o){var r;return this._hitLimit?r=!1:o&&(r=this._handler(this._data)),this._data="",this._hitLimit=!1,r},c}();x.OscHandler=p},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.PAYLOAD_LIMIT=void 0,x.PAYLOAD_LIMIT=1e7},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.DcsHandler=x.DcsParser=void 0;var A=C(8),b=C(21),m=C(23),p=[],c=function(){function r(){this._handlers=Object.create(null),this._active=p,this._ident=0,this._handlerFb=function(){}}return r.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},r.prototype.addHandler=function(i,n){this._handlers[i]===void 0&&(this._handlers[i]=[]);var t=this._handlers[i];return t.push(n),{dispose:function(){var e=t.indexOf(n);e!==-1&&t.splice(e,1)}}},r.prototype.setHandler=function(i,n){this._handlers[i]=[n]},r.prototype.clearHandler=function(i){this._handlers[i]&&delete this._handlers[i]},r.prototype.setHandlerFallback=function(i){this._handlerFb=i},r.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=p,this._ident=0},r.prototype.hook=function(i,n){if(this.reset(),this._ident=i,this._active=this._handlers[i]||p,this._active.length)for(var t=this._active.length-1;t>=0;t--)this._active[t].hook(n);else this._handlerFb(this._ident,"HOOK",n)},r.prototype.put=function(i,n,t){if(this._active.length)for(var s=this._active.length-1;s>=0;s--)this._active[s].put(i,n,t);else this._handlerFb(this._ident,"PUT",A.utf32ToString(i,n,t))},r.prototype.unhook=function(i){if(this._active.length){for(var n=this._active.length-1;n>=0&&this._active[n].unhook(i)===!1;n--);for(n--;n>=0;n--)this._active[n].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",i);this._active=p,this._ident=0},r}();x.DcsParser=c;var o=function(){function r(i){this._handler=i,this._data="",this._hitLimit=!1}return r.prototype.hook=function(i){this._params=i.clone(),this._data="",this._hitLimit=!1},r.prototype.put=function(i,n,t){this._hitLimit||(this._data+=A.utf32ToString(i,n,t),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},r.prototype.unhook=function(i){var n;return this._hitLimit?n=!1:i&&(n=this._handler(this._data,this._params||new b.Params)),this._params=void 0,this._data="",this._hitLimit=!1,n},r}();x.DcsHandler=o},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.removeTerminalFromCache=x.acquireCharAtlas=void 0;var A=C(26),b=C(43),m=[];x.acquireCharAtlas=function(p,c,o,r,i){for(var n=A.generateConfig(r,i,p,o),t=0;t<m.length;t++){var s=(e=m[t]).ownedBy.indexOf(c);if(s>=0){if(A.configEquals(e.config,n))return e.atlas;e.ownedBy.length===1?(e.atlas.dispose(),m.splice(t,1)):e.ownedBy.splice(s,1);break}}for(t=0;t<m.length;t++){var e=m[t];if(A.configEquals(e.config,n))return e.ownedBy.push(c),e.atlas}var a={atlas:new b.DynamicCharAtlas(document,n),config:n,ownedBy:[c]};return m.push(a),a.atlas},x.removeTerminalFromCache=function(p){for(var c=0;c<m.length;c++){var o=m[c].ownedBy.indexOf(p);if(o!==-1){m[c].ownedBy.length===1?(m[c].atlas.dispose(),m.splice(c,1)):m[c].ownedBy.splice(o,1);break}}}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.is256Color=x.configEquals=x.generateConfig=void 0;var A=C(3);x.generateConfig=function(b,m,p,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:b,scaledCharHeight:m,fontFamily:p.fontFamily,fontSize:p.fontSize,fontWeight:p.fontWeight,fontWeightBold:p.fontWeightBold,allowTransparency:p.allowTransparency,colors:o}},x.configEquals=function(b,m){for(var p=0;p<b.colors.ansi.length;p++)if(b.colors.ansi[p].rgba!==m.colors.ansi[p].rgba)return!1;return b.devicePixelRatio===m.devicePixelRatio&&b.fontFamily===m.fontFamily&&b.fontSize===m.fontSize&&b.fontWeight===m.fontWeight&&b.fontWeightBold===m.fontWeightBold&&b.allowTransparency===m.allowTransparency&&b.scaledCharWidth===m.scaledCharWidth&&b.scaledCharHeight===m.scaledCharHeight&&b.colors.foreground===m.colors.foreground&&b.colors.background===m.colors.background},x.is256Color=function(b){return b<A.DEFAULT_COLOR}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.ColorManager=x.DEFAULT_ANSI_COLORS=void 0;var A=C(10),b=C(45),m=A.css.toColor("#ffffff"),p=A.css.toColor("#000000"),c=A.css.toColor("#ffffff"),o=A.css.toColor("#000000"),r={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};x.DEFAULT_ANSI_COLORS=function(){for(var n=[A.css.toColor("#2e3436"),A.css.toColor("#cc0000"),A.css.toColor("#4e9a06"),A.css.toColor("#c4a000"),A.css.toColor("#3465a4"),A.css.toColor("#75507b"),A.css.toColor("#06989a"),A.css.toColor("#d3d7cf"),A.css.toColor("#555753"),A.css.toColor("#ef2929"),A.css.toColor("#8ae234"),A.css.toColor("#fce94f"),A.css.toColor("#729fcf"),A.css.toColor("#ad7fa8"),A.css.toColor("#34e2e2"),A.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],s=0;s<216;s++){var e=t[s/36%6|0],a=t[s/6%6|0],l=t[s%6];n.push({css:A.channels.toCss(e,a,l),rgba:A.channels.toRgba(e,a,l)})}for(s=0;s<24;s++){var u=8+10*s;n.push({css:A.channels.toCss(u,u,u),rgba:A.channels.toRgba(u,u,u)})}return n}();var i=function(){function n(t,s){this.allowTransparency=s;var e=t.createElement("canvas");e.width=1,e.height=1;var a=e.getContext("2d");if(!a)throw new Error("Could not get rendering context");this._ctx=a,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new b.ColorContrastCache,this.colors={foreground:m,background:p,cursor:c,cursorAccent:o,selectionTransparent:r,selectionOpaque:A.color.blend(p,r),ansi:x.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return n.prototype.onOptionsChange=function(t){t==="minimumContrastRatio"&&this._contrastCache.clear()},n.prototype.setTheme=function(t){(t===void 0&&(t={}),this.colors.foreground=this._parseColor(t.foreground,m),this.colors.background=this._parseColor(t.background,p),this.colors.cursor=this._parseColor(t.cursor,c,!0),this.colors.cursorAccent=this._parseColor(t.cursorAccent,o,!0),this.colors.selectionTransparent=this._parseColor(t.selection,r,!0),this.colors.selectionOpaque=A.color.blend(this.colors.background,this.colors.selectionTransparent),A.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=A.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(t.black,x.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(t.red,x.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(t.green,x.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(t.yellow,x.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(t.blue,x.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(t.magenta,x.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(t.cyan,x.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(t.white,x.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(t.brightBlack,x.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(t.brightRed,x.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(t.brightGreen,x.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(t.brightYellow,x.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(t.brightBlue,x.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(t.brightMagenta,x.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(t.brightCyan,x.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(t.brightWhite,x.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},n.prototype._parseColor=function(t,s,e){if(e===void 0&&(e=this.allowTransparency),t===void 0)return s;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=t,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+t+" is invalid using fallback "+s.css),s;this._ctx.fillRect(0,0,1,1);var a=this._ctx.getImageData(0,0,1,1).data;if(a[3]!==255){if(!e)return console.warn("Color: "+t+" is using transparency, but allowTransparency is false. Using fallback "+s.css+"."),s;var l=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(y){return Number(y)}),u=l[0],h=l[1],f=l[2],g=l[3],v=Math.round(255*g);return{rgba:A.channels.toRgba(u,h,f,v),css:t}}return{css:this._ctx.fillStyle,rgba:A.channels.toRgba(a[0],a[1],a[2],a[3])}},n}();x.ColorManager=i},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.throwIfFalsy=void 0,x.throwIfFalsy=function(A){if(!A)throw new Error("value must not be falsy");return A}},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(n,t){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,e){s.__proto__=e}||function(s,e){for(var a in e)e.hasOwnProperty(a)&&(s[a]=e[a])})(n,t)},function(i,n){function t(){this.constructor=i}A(i,n),i.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)});Object.defineProperty(x,"__esModule",{value:!0}),x.CharacterJoinerRegistry=x.JoinedCellData=void 0;var m=C(6),p=C(3),c=C(4),o=function(i){function n(t,s,e){var a=i.call(this)||this;return a.content=0,a.combinedData="",a.fg=t.fg,a.bg=t.bg,a.combinedData=s,a._width=e,a}return b(n,i),n.prototype.isCombined=function(){return 2097152},n.prototype.getWidth=function(){return this._width},n.prototype.getChars=function(){return this.combinedData},n.prototype.getCode=function(){return 2097151},n.prototype.setFromCharData=function(t){throw new Error("not implemented")},n.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},n}(m.AttributeData);x.JoinedCellData=o;var r=function(){function i(n){this._bufferService=n,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new c.CellData}return i.prototype.registerCharacterJoiner=function(n){var t={id:this._nextCharacterJoinerId++,handler:n};return this._characterJoiners.push(t),t.id},i.prototype.deregisterCharacterJoiner=function(n){for(var t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===n)return this._characterJoiners.splice(t,1),!0;return!1},i.prototype.getJoinedCharacters=function(n){if(this._characterJoiners.length===0)return[];var t=this._bufferService.buffer.lines.get(n);if(!t||t.length===0)return[];for(var s=[],e=t.translateToString(!0),a=0,l=0,u=0,h=t.getFg(0),f=t.getBg(0),g=0;g<t.getTrimmedLength();g++)if(t.loadCell(g,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==h||this._workCell.bg!==f){if(g-a>1)for(var v=this._getJoinedRanges(e,u,l,t,a),y=0;y<v.length;y++)s.push(v[y]);a=g,u=l,h=this._workCell.fg,f=this._workCell.bg}l+=this._workCell.getChars().length||p.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-a>1)for(v=this._getJoinedRanges(e,u,l,t,a),y=0;y<v.length;y++)s.push(v[y]);return s},i.prototype._getJoinedRanges=function(n,t,s,e,a){for(var l=n.substring(t,s),u=this._characterJoiners[0].handler(l),h=1;h<this._characterJoiners.length;h++)for(var f=this._characterJoiners[h].handler(l),g=0;g<f.length;g++)i._mergeRanges(u,f[g]);return this._stringRangesToCellRanges(u,e,a),u},i.prototype._stringRangesToCellRanges=function(n,t,s){var e=0,a=!1,l=0,u=n[e];if(u){for(var h=s;h<this._bufferService.cols;h++){var f=t.getWidth(h),g=t.getString(h).length||p.WHITESPACE_CELL_CHAR.length;if(f!==0){if(!a&&u[0]<=l&&(u[0]=h,a=!0),u[1]<=l){if(u[1]=h,!(u=n[++e]))break;u[0]<=l?(u[0]=h,a=!0):a=!1}l+=g}}u&&(u[1]=this._bufferService.cols)}},i._mergeRanges=function(n,t){for(var s=!1,e=0;e<n.length;e++){var a=n[e];if(s){if(t[1]<=a[0])return n[e-1][1]=t[1],n;if(t[1]<=a[1])return n[e-1][1]=Math.max(t[1],a[1]),n.splice(e,1),n;n.splice(e,1),e--}else{if(t[1]<=a[0])return n.splice(e,0,t),n;if(t[1]<=a[1])return a[0]=Math.min(t[0],a[0]),n;t[0]<a[1]&&(a[0]=Math.min(t[0],a[0]),s=!0)}}return s?n[n.length-1][1]=t[1]:n.push(t),n},i}();x.CharacterJoinerRegistry=r},function(_,x,C){"use strict";function A(b,m){var p=m.getBoundingClientRect();return[b.clientX-p.left,b.clientY-p.top]}Object.defineProperty(x,"__esModule",{value:!0}),x.getRawByteCoords=x.getCoords=x.getCoordsRelativeToElement=void 0,x.getCoordsRelativeToElement=A,x.getCoords=function(b,m,p,c,o,r,i,n){if(o){var t=A(b,m);if(t)return t[0]=Math.ceil((t[0]+(n?r/2:0))/r),t[1]=Math.ceil(t[1]/i),t[0]=Math.min(Math.max(t[0],1),p+(n?1:0)),t[1]=Math.min(Math.max(t[1],1),c),t}},x.getRawByteCoords=function(b){if(b)return{x:b[0]+32,y:b[1]+32}}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.RenderDebouncer=void 0;var A=function(){function b(m){this._renderCallback=m}return b.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},b.prototype.refresh=function(m,p,c){var o=this;this._rowCount=c,m=m!==void 0?m:0,p=p!==void 0?p:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,m):m,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,p):p,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return o._innerRefresh()}))},b.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var m=Math.max(this._rowStart,0),p=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(m,p)}},b}();x.RenderDebouncer=A},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(c,o){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)i.hasOwnProperty(n)&&(r[n]=i[n])})(c,o)},function(p,c){function o(){this.constructor=p}A(p,c),p.prototype=c===null?Object.create(c):(o.prototype=c.prototype,new o)});Object.defineProperty(x,"__esModule",{value:!0}),x.ScreenDprMonitor=void 0;var m=function(p){function c(){var o=p!==null&&p.apply(this,arguments)||this;return o._currentDevicePixelRatio=window.devicePixelRatio,o}return b(c,p),c.prototype.setListener=function(o){var r=this;this._listener&&this.clearListener(),this._listener=o,this._outerListener=function(){r._listener&&(r._listener(window.devicePixelRatio,r._currentDevicePixelRatio),r._updateDpr())},this._updateDpr()},c.prototype.dispose=function(){p.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}(C(2).Disposable);x.ScreenDprMonitor=m},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.clone=void 0,x.clone=function A(b,m){if(m===void 0&&(m=5),typeof b!="object")return b;var p=Array.isArray(b)?[]:{};for(var c in b)p[c]=m<=1?b[c]:b[c]?A(b[c],m-1):b[c];return p}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.Terminal=void 0;var A=C(4),b=C(35),m=C(18),p=C(0),c=C(83),o=function(){function e(a){this._core=new b.Terminal(a),this._addonManager=new c.AddonManager}return e.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(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new t(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new s(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),new i(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(a,l){this._verifyIntegers(a,l),this._core.resize(a,l)},e.prototype.open=function(a){this._core.open(a)},e.prototype.attachCustomKeyEventHandler=function(a){this._core.attachCustomKeyEventHandler(a)},e.prototype.registerLinkMatcher=function(a,l,u){return this._checkProposedApi(),this._core.registerLinkMatcher(a,l,u)},e.prototype.deregisterLinkMatcher=function(a){this._checkProposedApi(),this._core.deregisterLinkMatcher(a)},e.prototype.registerLinkProvider=function(a){return this._checkProposedApi(),this._core.registerLinkProvider(a)},e.prototype.registerCharacterJoiner=function(a){return this._checkProposedApi(),this._core.registerCharacterJoiner(a)},e.prototype.deregisterCharacterJoiner=function(a){this._checkProposedApi(),this._core.deregisterCharacterJoiner(a)},e.prototype.registerMarker=function(a){return this._checkProposedApi(),this._verifyIntegers(a),this._core.addMarker(a)},e.prototype.addMarker=function(a){return this.registerMarker(a)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(a,l,u){this._verifyIntegers(a,l,u),this._core.select(a,l,u)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(a,l){this._verifyIntegers(a,l),this._core.selectLines(a,l)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(a){this._verifyIntegers(a),this._core.scrollLines(a)},e.prototype.scrollPages=function(a){this._verifyIntegers(a),this._core.scrollPages(a)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(a){this._verifyIntegers(a),this._core.scrollToLine(a)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(a,l){this._core.write(a,l)},e.prototype.writeUtf8=function(a,l){this._core.write(a,l)},e.prototype.writeln=function(a,l){this._core.write(a),this._core.write(`\r
`,l)},e.prototype.paste=function(a){this._core.paste(a)},e.prototype.getOption=function(a){return this._core.optionsService.getOption(a)},e.prototype.setOption=function(a,l){this._core.optionsService.setOption(a,l)},e.prototype.refresh=function(a,l){this._verifyIntegers(a,l),this._core.refresh(a,l)},e.prototype.reset=function(){this._core.reset()},e.prototype.loadAddon=function(a){return this._addonManager.loadAddon(this,a)},Object.defineProperty(e,"strings",{get:function(){return m},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];for(var u=0,h=a;u<h.length;u++){var f=h[u];if(f===1/0||isNaN(f)||f%1!=0)throw new Error("This API only accepts integers")}},e}();x.Terminal=o;var r=function(){function e(a,l){this._buffer=a,this.type=l}return e.prototype.init=function(a){return this._buffer=a,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(a){var l=this._buffer.lines.get(a);if(l)return new n(l)},e.prototype.getNullCell=function(){return new A.CellData},e}(),i=function(){function e(a){var l=this;this._buffers=a,this._onBufferChange=new p.EventEmitter,this._normal=new r(this._buffers.normal,"normal"),this._alternate=new r(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return l._onBufferChange.fire(l.active)})}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.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(e.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),e}(),n=function(){function e(a){this._line=a}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(a,l){if(!(a<0||a>=this._line.length))return l?(this._line.loadCell(a,l),l):this._line.loadCell(a,new A.CellData)},e.prototype.translateToString=function(a,l,u){return this._line.translateToString(a,l,u)},e}(),t=function(){function e(a){this._core=a}return e.prototype.registerCsiHandler=function(a,l){return this._core.addCsiHandler(a,function(u){return l(u.toArray())})},e.prototype.addCsiHandler=function(a,l){return this.registerCsiHandler(a,l)},e.prototype.registerDcsHandler=function(a,l){return this._core.addDcsHandler(a,function(u,h){return l(u,h.toArray())})},e.prototype.addDcsHandler=function(a,l){return this.registerDcsHandler(a,l)},e.prototype.registerEscHandler=function(a,l){return this._core.addEscHandler(a,l)},e.prototype.addEscHandler=function(a,l){return this.registerEscHandler(a,l)},e.prototype.registerOscHandler=function(a,l){return this._core.addOscHandler(a,l)},e.prototype.addOscHandler=function(a,l){return this.registerOscHandler(a,l)},e}(),s=function(){function e(a){this._core=a}return e.prototype.register=function(a){this._core.unicodeService.register(a)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(l){this._core.unicodeService.activeVersion=l},enumerable:!1,configurable:!0}),e}()},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(M,U){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,j){F.__proto__=j}||function(F,j){for(var W in j)j.hasOwnProperty(W)&&(F[W]=j[W])})(M,U)},function(B,M){function U(){this.constructor=B}A(B,M),B.prototype=M===null?Object.create(M):(U.prototype=M.prototype,new U)});Object.defineProperty(x,"__esModule",{value:!0}),x.Terminal=void 0;var m=C(36),p=C(37),c=C(38),o=C(12),r=C(19),i=C(40),n=C(50),t=C(51),s=C(11),e=C(7),a=C(18),l=C(54),u=C(55),h=C(56),f=C(57),g=C(59),v=C(0),y=C(16),E=C(27),T=C(60),w=C(5),S=C(61),I=C(62),L=C(63),O=C(64),N=C(65),R=typeof window!="undefined"?window.document:null,D=function(B){function M(U){U===void 0&&(U={});var F=B.call(this,U)||this;return F.browser=s,F._keyDownHandled=!1,F._onCursorMove=new v.EventEmitter,F._onKey=new v.EventEmitter,F._onRender=new v.EventEmitter,F._onSelectionChange=new v.EventEmitter,F._onTitleChange=new v.EventEmitter,F._onFocus=new v.EventEmitter,F._onBlur=new v.EventEmitter,F._onA11yCharEmitter=new v.EventEmitter,F._onA11yTabEmitter=new v.EventEmitter,F._setup(),F.linkifier=F._instantiationService.createInstance(n.Linkifier),F.linkifier2=F.register(F._instantiationService.createInstance(L.Linkifier2)),F.register(F._inputHandler.onRequestBell(function(){return F.bell()})),F.register(F._inputHandler.onRequestRefreshRows(function(j,W){return F.refresh(j,W)})),F.register(F._inputHandler.onRequestReset(function(){return F.reset()})),F.register(F._inputHandler.onRequestScroll(function(j,W){return F.scroll(j,W||void 0)})),F.register(F._inputHandler.onRequestWindowsOptionsReport(function(j){return F._reportWindowsOptions(j)})),F.register(v.forwardEvent(F._inputHandler.onCursorMove,F._onCursorMove)),F.register(v.forwardEvent(F._inputHandler.onTitleChange,F._onTitleChange)),F.register(v.forwardEvent(F._inputHandler.onA11yChar,F._onA11yCharEmitter)),F.register(v.forwardEvent(F._inputHandler.onA11yTab,F._onA11yTabEmitter)),F.register(F._bufferService.onResize(function(j){return F._afterResize(j.cols,j.rows)})),F}return b(M,B),Object.defineProperty(M.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),M.prototype.dispose=function(){var U,F,j;this._isDisposed||(B.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(j=(F=this.element)===null||F===void 0?void 0:F.parentNode)===null||j===void 0||j.removeChild(this.element))},M.prototype._setup=function(){B.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(M.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),M.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},M.prototype._updateOptions=function(U){var F,j,W,V;switch(B.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(F=this._renderService)===null||F===void 0||F.clear(),(j=this._charSizeService)===null||j===void 0||j.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(W=this.viewport)===null||W===void 0||W.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new h.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)}},M.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()},M.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},M.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()},M.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),F=this._bufferService.buffer.y*U,j=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=j+"px",this.textarea.style.top=F+"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"}},M.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(e.addDisposableDomListener(this.element,"copy",function(j){U.hasSelection()&&c.copyHandler(j,U._selectionService)}));var F=function(W){return c.handlePasteEvent(W,U.textarea,U._coreService)};this.register(e.addDisposableDomListener(this.textarea,"paste",F)),this.register(e.addDisposableDomListener(this.element,"paste",F)),s.isFirefox?this.register(e.addDisposableDomListener(this.element,"mousedown",function(j){j.button===2&&c.rightClickHandler(j,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(e.addDisposableDomListener(this.element,"contextmenu",function(j){c.rightClickHandler(j,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),s.isLinux&&this.register(e.addDisposableDomListener(this.element,"auxclick",function(j){j.button===1&&c.moveTextAreaUnderMouseCursor(j,U.textarea,U.screenElement)}))},M.prototype._bindKeys=function(){var U=this;this.register(e.addDisposableDomListener(this.textarea,"keyup",function(F){return U._keyUp(F)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keydown",function(F){return U._keyDown(F)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keypress",function(F){return U._keyPress(F)},!0)),this.register(e.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(e.addDisposableDomListener(this.textarea,"compositionupdate",function(F){return U._compositionHelper.compositionupdate(F)})),this.register(e.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(F){return U._queueLinkification(F.start,F.end)}))},M.prototype.open=function(U){var F=this;if(!U)throw new Error("Terminal requires a parent element.");R.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),U.appendChild(this.element);var j=R.createDocumentFragment();this._viewportElement=R.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),j.appendChild(this._viewportElement),this._viewportScrollArea=R.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=R.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=R.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),j.appendChild(this.screenElement),this.textarea=R.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",a.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(e.addDisposableDomListener(this.textarea,"focus",function(z){return F._onTextAreaFocus(z)})),this.register(e.addDisposableDomListener(this.textarea,"blur",function(){return F._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var W=this._instantiationService.createInstance(O.CoreBrowserService,this.textarea);this._instantiationService.setService(w.ICoreBrowserService,W),this._charSizeService=this._instantiationService.createInstance(S.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(w.ICharSizeService,this._charSizeService),this._compositionView=R.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(m.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(j),this._theme=this.options.theme||this._theme,this._colorManager=new E.ColorManager(R,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(z){return F._colorManager.onOptionsChange(z)})),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(w.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(z){return F._onRender.fire(z)})),this.onResize(function(z){return F._renderService.resize(z.cols,z.rows)}),this._soundService=this._instantiationService.createInstance(l.SoundService),this._instantiationService.setService(w.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(I.MouseService),this._instantiationService.setService(w.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(p.Viewport,function(z,Y){return F.scrollLines(z,Y)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return F.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){F._renderService.onCursorMove(),F._syncTextArea()})),this.register(this.onResize(function(){return F._renderService.onResize(F.cols,F.rows)})),this.register(this.onBlur(function(){return F._renderService.onBlur()})),this.register(this.onFocus(function(){return F._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return F.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(t.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(w.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(z){return F.scrollLines(z.amount,z.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return F._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(z){return F._renderService.onSelectionChanged(z.start,z.end,z.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(z){F.textarea.value=z,F.textarea.focus(),F.textarea.select()})),this.register(this.onScroll(function(){F.viewport.syncScrollArea(),F._selectionService.refresh()})),this.register(e.addDisposableDomListener(this._viewportElement,"scroll",function(){return F._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(u.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return F._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(e.addDisposableDomListener(this.element,"mousedown",function(z){return F._selectionService.onMouseDown(z)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new h.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},M.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(i.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(f.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},M.prototype._setTheme=function(U){var F,j,W;this._theme=U,(F=this._colorManager)===null||F===void 0||F.setTheme(U),(j=this._renderService)===null||j===void 0||j.setColors(this._colorManager.colors),(W=this.viewport)===null||W===void 0||W.onThemeChange(this._colorManager.colors)},M.prototype.bindMouse=function(){var U=this,F=this,j=this.element;function W(Z){var oe,ge,pe=F._mouseService.getRawByteCoords(Z,F.screenElement,F.cols,F.rows);if(!pe)return!1;switch(Z.overrideType||Z.type){case"mousemove":ge=32,Z.buttons===void 0?(oe=3,Z.button!==void 0&&(oe=Z.button<3?Z.button:3)):oe=1&Z.buttons?0:4&Z.buttons?1:2&Z.buttons?2:3;break;case"mouseup":ge=0,oe=Z.button<3?Z.button:3;break;case"mousedown":ge=1,oe=Z.button<3?Z.button:3;break;case"wheel":Z.deltaY!==0&&(ge=Z.deltaY<0?0:1),oe=4;break;default:return!1}return!(ge===void 0||oe===void 0||oe>4)&&F._coreMouseService.triggerMouseEvent({col:pe.x-33,row:pe.y-33,button:oe,action:ge,ctrl:Z.ctrlKey,alt:Z.altKey,shift:Z.shiftKey})}var V={mouseup:null,wheel:null,mousedrag:null,mousemove:null},z=function(oe){return W(oe),oe.buttons||(U._document.removeEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.removeEventListener("mousemove",V.mousedrag)),U.cancel(oe)},Y=function(oe){return W(oe),oe.preventDefault(),U.cancel(oe)},J=function(oe){oe.buttons&&W(oe)},ie=function(oe){oe.buttons||W(oe)};this.register(this._coreMouseService.onProtocolChange(function(Z){Z?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents(Z)),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&Z?V.mousemove||(j.addEventListener("mousemove",ie),V.mousemove=ie):(j.removeEventListener("mousemove",V.mousemove),V.mousemove=null),16&Z?V.wheel||(j.addEventListener("wheel",Y,{passive:!1}),V.wheel=Y):(j.removeEventListener("wheel",V.wheel),V.wheel=null),2&Z?V.mouseup||(V.mouseup=z):(U._document.removeEventListener("mouseup",V.mouseup),V.mouseup=null),4&Z?V.mousedrag||(V.mousedrag=J):(U._document.removeEventListener("mousemove",V.mousedrag),V.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(e.addDisposableDomListener(j,"mousedown",function(Z){if(Z.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection(Z))return W(Z),V.mouseup&&U._document.addEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.addEventListener("mousemove",V.mousedrag),U.cancel(Z)})),this.register(e.addDisposableDomListener(j,"wheel",function(Z){if(!V.wheel){if(!U.buffer.hasScrollback){var oe=U.viewport.getLinesScrolled(Z);if(oe===0)return;for(var ge=o.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Z.deltaY<0?"A":"B"),pe="",De=0;De<Math.abs(oe);De++)pe+=ge;U._coreService.triggerDataEvent(pe,!0)}}},{passive:!0})),this.register(e.addDisposableDomListener(j,"wheel",function(Z){if(!V.wheel)return U.viewport.onWheel(Z)?void 0:U.cancel(Z)},{passive:!1})),this.register(e.addDisposableDomListener(j,"touchstart",function(Z){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchStart(Z),U.cancel(Z)},{passive:!0})),this.register(e.addDisposableDomListener(j,"touchmove",function(Z){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchMove(Z)?void 0:U.cancel(Z)},{passive:!1}))},M.prototype.refresh=function(U,F){var j;(j=this._renderService)===null||j===void 0||j.refreshRows(U,F)},M.prototype._queueLinkification=function(U,F){var j;(j=this.linkifier)===null||j===void 0||j.linkifyRows(U,F)},M.prototype.updateCursorStyle=function(U){this._selectionService&&this._selectionService.shouldColumnSelect(U)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},M.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},M.prototype.scrollLines=function(U,F){B.prototype.scrollLines.call(this,U,F),this.refresh(0,this.rows-1)},M.prototype.paste=function(U){c.paste(U,this.textarea,this._coreService)},M.prototype.attachCustomKeyEventHandler=function(U){this._customKeyEventHandler=U},M.prototype.registerLinkMatcher=function(U,F,j){var W=this.linkifier.registerLinkMatcher(U,F,j);return this.refresh(0,this.rows-1),W},M.prototype.deregisterLinkMatcher=function(U){this.linkifier.deregisterLinkMatcher(U)&&this.refresh(0,this.rows-1)},M.prototype.registerLinkProvider=function(U){return this.linkifier2.registerLinkProvider(U)},M.prototype.registerCharacterJoiner=function(U){var F=this._renderService.registerCharacterJoiner(U);return this.refresh(0,this.rows-1),F},M.prototype.deregisterCharacterJoiner=function(U){this._renderService.deregisterCharacterJoiner(U)&&this.refresh(0,this.rows-1)},Object.defineProperty(M.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),M.prototype.addMarker=function(U){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+U)},M.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},M.prototype.select=function(U,F,j){this._selectionService.setSelection(U,F,j)},M.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},M.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]}},M.prototype.clearSelection=function(){var U;(U=this._selectionService)===null||U===void 0||U.clearSelection()},M.prototype.selectAll=function(){var U;(U=this._selectionService)===null||U===void 0||U.selectAll()},M.prototype.selectLines=function(U,F){var j;(j=this._selectionService)===null||j===void 0||j.selectLines(U,F)},M.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 F=g.evaluateKeyboardEvent(U,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(U),F.type===3||F.type===2){var j=this.rows-1;return this.scrollLines(F.type===2?-j:j),this.cancel(U,!0)}return F.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,U)||(F.cancel&&this.cancel(U,!0),!F.key||(F.key!==o.C0.ETX&&F.key!==o.C0.CR||(this.textarea.value=""),this._onKey.fire({key:F.key,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(F.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(U,!0)))},M.prototype._isThirdLevelShift=function(U,F){var j=U.isMac&&!this.options.macOptionIsMeta&&F.altKey&&!F.ctrlKey&&!F.metaKey||U.isWindows&&F.altKey&&F.ctrlKey&&!F.metaKey;return F.type==="keypress"?j:j&&(!F.keyCode||F.keyCode>47)},M.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(F){return F.keyCode===16||F.keyCode===17||F.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},M.prototype._keyPress=function(U){var F;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)F=U.charCode;else if(U.which===null||U.which===void 0)F=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;F=U.which}return!(!F||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(F=String.fromCharCode(F),this._onKey.fire({key:F,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(F,!0),!0)},M.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},M.prototype.resize=function(U,F){U!==this.cols||F!==this.rows?B.prototype.resize.call(this,U,F):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},M.prototype._afterResize=function(U,F){var j,W;(j=this._charSizeService)===null||j===void 0||j.measure(),(W=this.viewport)===null||W===void 0||W.syncScrollArea(!0)},M.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(y.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},M.prototype.reset=function(){var U,F;this.options.rows=this.rows,this.options.cols=this.cols;var j=this._customKeyEventHandler;this._setup(),B.prototype.reset.call(this),(U=this._selectionService)===null||U===void 0||U.reset(),this._customKeyEventHandler=j,this.refresh(0,this.rows-1),(F=this.viewport)===null||F===void 0||F.syncScrollArea()},M.prototype._reportWindowsOptions=function(U){if(this._renderService)switch(U){case r.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var F=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),j=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[4;"+j+";"+F+"t");break;case r.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var W=this._renderService.dimensions.scaledCellWidth.toFixed(0),V=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[6;"+V+";"+W+"t")}},M.prototype.cancel=function(U,F){if(this.options.cancelEvents||F)return U.preventDefault(),U.stopPropagation(),!1},M.prototype._visualBell=function(){return!1},M.prototype._soundBell=function(){return this.options.bellStyle==="sound"},M}(N.CoreTerminal);x.Terminal=D},function(_,x,C){"use strict";var A=this&&this.__decorate||function(o,r,i,n){var t,s=arguments.length,e=s<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,i):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,r,i,n);else for(var a=o.length-1;a>=0;a--)(t=o[a])&&(e=(s<3?t(e):s>3?t(r,i,e):t(r,i))||e);return s>3&&e&&Object.defineProperty(r,i,e),e},b=this&&this.__param||function(o,r){return function(i,n){r(i,n,o)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CompositionHelper=void 0;var m=C(5),p=C(1),c=function(){function o(r,i,n,t,s,e){this._textarea=r,this._compositionView=i,this._bufferService=n,this._optionsService=t,this._charSizeService=s,this._coreService=e,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(r){var i=this;this._compositionView.textContent=r.data,this.updateCompositionElements(),setTimeout(function(){i._compositionPosition.end=i._textarea.value.length},0)},o.prototype.compositionend=function(){this._finalizeComposition(!0)},o.prototype.keydown=function(r){if(this._isComposing||this._isSendingComposition){if(r.keyCode===229)return!1;if(r.keyCode===16||r.keyCode===17||r.keyCode===18)return!1;this._finalizeComposition(!1)}return r.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},o.prototype._finalizeComposition=function(r){var i=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,r){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(i._isSendingComposition){i._isSendingComposition=!1;var s=void 0;s=i._isComposing?i._textarea.value.substring(n.start,n.end):i._textarea.value.substring(n.start),i._coreService.triggerDataEvent(s,!0)}},0)}else{this._isSendingComposition=!1;var t=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(t,!0)}},o.prototype._handleAnyTextareaChanges=function(){var r=this,i=this._textarea.value;setTimeout(function(){if(!r._isComposing){var n=r._textarea.value.replace(i,"");n.length>0&&r._coreService.triggerDataEvent(n,!0)}},0)},o.prototype.updateCompositionElements=function(r){var i=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),t=this._bufferService.buffer.y*n,s=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=s+"px",this._compositionView.style.top=t+"px",this._compositionView.style.height=n+"px",this._compositionView.style.lineHeight=n+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._compositionView.getBoundingClientRect();this._textarea.style.left=s+"px",this._textarea.style.top=t+"px",this._textarea.style.width=e.width+"px",this._textarea.style.height=e.height+"px",this._textarea.style.lineHeight=e.height+"px"}r||setTimeout(function(){return i.updateCompositionElements(!0)},0)}},o=A([b(2,p.IBufferService),b(3,p.IOptionsService),b(4,m.ICharSizeService),b(5,p.ICoreService)],o)}();x.CompositionHelper=c},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,e){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,e)},function(t,s){function e(){this.constructor=t}A(t,s),t.prototype=s===null?Object.create(s):(e.prototype=s.prototype,new e)}),m=this&&this.__decorate||function(t,s,e,a){var l,u=arguments.length,h=u<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(t,s,e,a);else for(var f=t.length-1;f>=0;f--)(l=t[f])&&(h=(u<3?l(h):u>3?l(s,e,h):l(s,e))||h);return u>3&&h&&Object.defineProperty(s,e,h),h},p=this&&this.__param||function(t,s){return function(e,a){s(e,a,t)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Viewport=void 0;var c=C(2),o=C(7),r=C(5),i=C(1),n=function(t){function s(e,a,l,u,h,f,g){var v=t.call(this)||this;return v._scrollLines=e,v._viewportElement=a,v._scrollArea=l,v._bufferService=u,v._optionsService=h,v._charSizeService=f,v._renderService=g,v.scrollBarWidth=0,v._currentRowHeight=0,v._lastRecordedBufferLength=0,v._lastRecordedViewportHeight=0,v._lastRecordedBufferHeight=0,v._lastTouchY=0,v._lastScrollTop=0,v._wheelPartialScroll=0,v._refreshAnimationFrame=null,v._ignoreNextScrollEvent=!1,v.scrollBarWidth=v._viewportElement.offsetWidth-v._scrollArea.offsetWidth||15,v.register(o.addDisposableDomListener(v._viewportElement,"scroll",v._onScroll.bind(v))),setTimeout(function(){return v.syncScrollArea()},0),v}return b(s,t),s.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},s.prototype._refresh=function(e){var a=this;if(e)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return a._innerRefresh()}))},s.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==a&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=a),this._refreshAnimationFrame=null},s.prototype.syncScrollArea=function(e){if(e===void 0&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===a&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)}else this._refresh(e)},s.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var a=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(a,!0)}},s.prototype._bubbleScroll=function(e,a){var l=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(a<0&&this._viewportElement.scrollTop!==0||a>0&&l<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},s.prototype.onWheel=function(e){var a=this._getPixelsScrolled(e);return a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(e,a))},s.prototype._getPixelsScrolled=function(e){if(e.deltaY===0)return 0;var a=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?a*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._currentRowHeight*this._bufferService.rows),a},s.prototype.getLinesScrolled=function(e){if(e.deltaY===0)return 0;var a=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(a/=this._currentRowHeight+0,this._wheelPartialScroll+=a,a=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._bufferService.rows),a},s.prototype._applyScrollModifier=function(e,a){var l=this._optionsService.options.fastScrollModifier;return l==="alt"&&a.altKey||l==="ctrl"&&a.ctrlKey||l==="shift"&&a.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},s.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},s.prototype.onTouchMove=function(e){var a=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(e,a))},s=m([p(3,i.IBufferService),p(4,i.IOptionsService),p(5,r.ICharSizeService),p(6,r.IRenderService)],s)}(c.Disposable);x.Viewport=n},function(_,x,C){"use strict";function A(c){return c.replace(/\r?\n/g,"\r")}function b(c,o){return o?"[200~"+c+"[201~":c}function m(c,o,r){c=b(c=A(c),r.decPrivateModes.bracketedPasteMode),r.triggerDataEvent(c,!0),o.value=""}function p(c,o,r){var i=r.getBoundingClientRect(),n=c.clientX-i.left-10,t=c.clientY-i.top-10;o.style.width="20px",o.style.height="20px",o.style.left=n+"px",o.style.top=t+"px",o.style.zIndex="1000",o.focus()}Object.defineProperty(x,"__esModule",{value:!0}),x.rightClickHandler=x.moveTextAreaUnderMouseCursor=x.paste=x.handlePasteEvent=x.copyHandler=x.bracketTextForPaste=x.prepareTextForTerminal=void 0,x.prepareTextForTerminal=A,x.bracketTextForPaste=b,x.copyHandler=function(c,o){c.clipboardData&&c.clipboardData.setData("text/plain",o.selectionText),c.preventDefault()},x.handlePasteEvent=function(c,o,r){c.stopPropagation(),c.clipboardData&&m(c.clipboardData.getData("text/plain"),o,r)},x.paste=m,x.moveTextAreaUnderMouseCursor=p,x.rightClickHandler=function(c,o,r,i,n){p(c,o,r),n&&!i.isClickInSelection(c)&&i.selectWordAtCursor(c),o.value=i.selectionText,o.select()}},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,e){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,e)},function(t,s){function e(){this.constructor=t}A(t,s),t.prototype=s===null?Object.create(s):(e.prototype=s.prototype,new e)});Object.defineProperty(x,"__esModule",{value:!0}),x.EscapeSequenceParser=x.VT500_TRANSITION_TABLE=x.TransitionTable=void 0;var m=C(2),p=C(15),c=C(21),o=C(22),r=C(24),i=function(){function t(s){this.table=new Uint8Array(s)}return t.prototype.setDefault=function(s,e){p.fill(this.table,s<<4|e)},t.prototype.add=function(s,e,a,l){this.table[e<<8|s]=a<<4|l},t.prototype.addMany=function(s,e,a,l){for(var u=0;u<s.length;u++)this.table[e<<8|s[u]]=a<<4|l},t}();x.TransitionTable=i,x.VT500_TRANSITION_TABLE=function(){var t=new i(4095),s=Array.apply(null,Array(256)).map(function(f,g){return g}),e=function(g,v){return s.slice(g,v)},a=e(32,127),l=e(0,24);l.push(25),l.push.apply(l,e(28,32));var u,h=e(0,14);for(u in t.setDefault(1,0),t.addMany(a,0,2,0),h)t.addMany([24,26,153,154],u,3,0),t.addMany(e(128,144),u,3,0),t.addMany(e(144,152),u,3,0),t.add(156,u,0,0),t.add(27,u,11,1),t.add(157,u,4,8),t.addMany([152,158,159],u,0,7),t.add(155,u,11,3),t.add(144,u,11,9);return t.addMany(l,0,3,0),t.addMany(l,1,3,1),t.add(127,1,0,1),t.addMany(l,8,0,8),t.addMany(l,3,3,3),t.add(127,3,0,3),t.addMany(l,4,3,4),t.add(127,4,0,4),t.addMany(l,6,3,6),t.addMany(l,5,3,5),t.add(127,5,0,5),t.addMany(l,2,3,2),t.add(127,2,0,2),t.add(93,1,4,8),t.addMany(a,8,5,8),t.add(127,8,5,8),t.addMany([156,27,24,26,7],8,6,0),t.addMany(e(28,32),8,0,8),t.addMany([88,94,95],1,0,7),t.addMany(a,7,0,7),t.addMany(l,7,0,7),t.add(156,7,0,0),t.add(127,7,0,7),t.add(91,1,11,3),t.addMany(e(64,127),3,7,0),t.addMany(e(48,60),3,8,4),t.addMany([60,61,62,63],3,9,4),t.addMany(e(48,60),4,8,4),t.addMany(e(64,127),4,7,0),t.addMany([60,61,62,63],4,0,6),t.addMany(e(32,64),6,0,6),t.add(127,6,0,6),t.addMany(e(64,127),6,0,0),t.addMany(e(32,48),3,9,5),t.addMany(e(32,48),5,9,5),t.addMany(e(48,64),5,0,6),t.addMany(e(64,127),5,7,0),t.addMany(e(32,48),4,9,5),t.addMany(e(32,48),1,9,2),t.addMany(e(32,48),2,9,2),t.addMany(e(48,127),2,10,0),t.addMany(e(48,80),1,10,0),t.addMany(e(81,88),1,10,0),t.addMany([89,90,92],1,10,0),t.addMany(e(96,127),1,10,0),t.add(80,1,11,9),t.addMany(l,9,0,9),t.add(127,9,0,9),t.addMany(e(28,32),9,0,9),t.addMany(e(32,48),9,9,12),t.addMany(e(48,60),9,8,10),t.addMany([60,61,62,63],9,9,10),t.addMany(l,11,0,11),t.addMany(e(32,128),11,0,11),t.addMany(e(28,32),11,0,11),t.addMany(l,10,0,10),t.add(127,10,0,10),t.addMany(e(28,32),10,0,10),t.addMany(e(48,60),10,8,10),t.addMany([60,61,62,63],10,0,11),t.addMany(e(32,48),10,9,12),t.addMany(l,12,0,12),t.add(127,12,0,12),t.addMany(e(28,32),12,0,12),t.addMany(e(32,48),12,9,12),t.addMany(e(48,64),12,0,11),t.addMany(e(64,127),12,12,13),t.addMany(e(64,127),10,12,13),t.addMany(e(64,127),9,12,13),t.addMany(l,13,13,13),t.addMany(a,13,13,13),t.add(127,13,0,13),t.addMany([27,156,24,26],13,14,0),t.add(160,0,2,0),t.add(160,8,5,8),t.add(160,6,0,6),t.add(160,11,0,11),t.add(160,13,13,13),t}();var n=function(t){function s(e){e===void 0&&(e=x.VT500_TRANSITION_TABLE);var a=t.call(this)||this;return a._transitions=e,a.initialState=0,a.currentState=a.initialState,a._params=new c.Params,a._params.addParam(0),a._collect=0,a.precedingCodepoint=0,a._printHandlerFb=function(l,u,h){},a._executeHandlerFb=function(l){},a._csiHandlerFb=function(l,u){},a._escHandlerFb=function(l){},a._errorHandlerFb=function(l){return l},a._printHandler=a._printHandlerFb,a._executeHandlers=Object.create(null),a._csiHandlers=Object.create(null),a._escHandlers=Object.create(null),a._oscParser=new o.OscParser,a._dcsParser=new r.DcsParser,a._errorHandler=a._errorHandlerFb,a.setEscHandler({final:"\\"},function(){}),a}return b(s,t),s.prototype._identifier=function(e,a){a===void 0&&(a=[64,126]);var l=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if((l=e.prefix.charCodeAt(0))&&60>l||l>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var u=0;u<e.intermediates.length;++u){var h=e.intermediates.charCodeAt(u);if(32>h||h>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");l<<=8,l|=h}}if(e.final.length!==1)throw new Error("final must be a single byte");var f=e.final.charCodeAt(0);if(a[0]>f||f>a[1])throw new Error("final must be in range "+a[0]+" .. "+a[1]);return l<<=8,l|=f},s.prototype.identToString=function(e){for(var a=[];e;)a.push(String.fromCharCode(255&e)),e>>=8;return a.reverse().join("")},s.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},s.prototype.setPrintHandler=function(e){this._printHandler=e},s.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},s.prototype.addEscHandler=function(e,a){var l=this._identifier(e,[48,126]);this._escHandlers[l]===void 0&&(this._escHandlers[l]=[]);var u=this._escHandlers[l];return u.push(a),{dispose:function(){var f=u.indexOf(a);f!==-1&&u.splice(f,1)}}},s.prototype.setEscHandler=function(e,a){this._escHandlers[this._identifier(e,[48,126])]=[a]},s.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},s.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},s.prototype.setExecuteHandler=function(e,a){this._executeHandlers[e.charCodeAt(0)]=a},s.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},s.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},s.prototype.addCsiHandler=function(e,a){var l=this._identifier(e);this._csiHandlers[l]===void 0&&(this._csiHandlers[l]=[]);var u=this._csiHandlers[l];return u.push(a),{dispose:function(){var f=u.indexOf(a);f!==-1&&u.splice(f,1)}}},s.prototype.setCsiHandler=function(e,a){this._csiHandlers[this._identifier(e)]=[a]},s.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},s.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},s.prototype.addDcsHandler=function(e,a){return this._dcsParser.addHandler(this._identifier(e),a)},s.prototype.setDcsHandler=function(e,a){this._dcsParser.setHandler(this._identifier(e),a)},s.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},s.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},s.prototype.addOscHandler=function(e,a){return this._oscParser.addHandler(e,a)},s.prototype.setOscHandler=function(e,a){this._oscParser.setHandler(e,a)},s.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},s.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},s.prototype.setErrorHandler=function(e){this._errorHandler=e},s.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},s.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},s.prototype.parse=function(e,a){for(var l=0,u=0,h=this.currentState,f=this._oscParser,g=this._dcsParser,v=this._collect,y=this._params,E=this._transitions.table,T=0;T<a;++T){switch((u=E[h<<8|((l=e[T])<160?l:160)])>>4){case 2:for(var w=T+1;;++w){if(w>=a||(l=e[w])<32||l>126&&l<160){this._printHandler(e,T,w),T=w-1;break}if(++w>=a||(l=e[w])<32||l>126&&l<160){this._printHandler(e,T,w),T=w-1;break}if(++w>=a||(l=e[w])<32||l>126&&l<160){this._printHandler(e,T,w),T=w-1;break}if(++w>=a||(l=e[w])<32||l>126&&l<160){this._printHandler(e,T,w),T=w-1;break}}break;case 3:this._executeHandlers[l]?this._executeHandlers[l]():this._executeHandlerFb(l),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:T,code:l,currentState:h,collect:v,params:y,abort:!1}).abort)return;break;case 7:for(var S=this._csiHandlers[v<<8|l],I=S?S.length-1:-1;I>=0&&S[I](y)===!1;I--);I<0&&this._csiHandlerFb(v<<8|l,y),this.precedingCodepoint=0;break;case 8:do switch(l){case 59:y.addParam(0);break;case 58:y.addSubParam(-1);break;default:y.addDigit(l-48)}while(++T<a&&(l=e[T])>47&&l<60);T--;break;case 9:v<<=8,v|=l;break;case 10:for(var L=this._escHandlers[v<<8|l],O=L?L.length-1:-1;O>=0&&L[O]()===!1;O--);O<0&&this._escHandlerFb(v<<8|l),this.precedingCodepoint=0;break;case 11:y.reset(),y.addParam(0),v=0;break;case 12:g.hook(v<<8|l,y);break;case 13:for(var N=T+1;;++N)if(N>=a||(l=e[N])===24||l===26||l===27||l>127&&l<160){g.put(e,T,N),T=N-1;break}break;case 14:g.unhook(l!==24&&l!==26),l===27&&(u|=1),y.reset(),y.addParam(0),v=0,this.precedingCodepoint=0;break;case 4:f.start();break;case 5:for(var R=T+1;;R++)if(R>=a||(l=e[R])<32||l>127&&l<=159){f.put(e,T,R),T=R-1;break}break;case 6:f.end(l!==24&&l!==26),l===27&&(u|=1),y.reset(),y.addParam(0),v=0,this.precedingCodepoint=0}h=15&u}this._collect=v,this.currentState=h},s}(m.Disposable);x.EscapeSequenceParser=n},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(g,v){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,E){y.__proto__=E}||function(y,E){for(var T in E)E.hasOwnProperty(T)&&(y[T]=E[T])})(g,v)},function(f,g){function v(){this.constructor=f}A(f,g),f.prototype=g===null?Object.create(g):(v.prototype=g.prototype,new v)}),m=this&&this.__decorate||function(f,g,v,y){var E,T=arguments.length,w=T<3?g:y===null?y=Object.getOwnPropertyDescriptor(g,v):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(f,g,v,y);else for(var S=f.length-1;S>=0;S--)(E=f[S])&&(w=(T<3?E(w):T>3?E(g,v,w):E(g,v))||w);return T>3&&w&&Object.defineProperty(g,v,w),w},p=this&&this.__param||function(f,g){return function(v,y){g(v,y,f)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Renderer=void 0;var c=C(41),o=C(47),r=C(48),i=C(49),n=C(29),t=C(2),s=C(5),e=C(1),a=C(25),l=C(0),u=1,h=function(f){function g(v,y,E,T,w,S,I,L,O){var N=f.call(this)||this;N._colors=v,N._screenElement=y,N._bufferService=w,N._charSizeService=S,N._optionsService=I,N._id=u++,N._onRequestRedraw=new l.EventEmitter;var R=N._optionsService.options.allowTransparency;return N._characterJoinerRegistry=new n.CharacterJoinerRegistry(N._bufferService),N._renderLayers=[new c.TextRenderLayer(N._screenElement,0,N._colors,N._characterJoinerRegistry,R,N._id,N._bufferService,I),new o.SelectionRenderLayer(N._screenElement,1,N._colors,N._id,N._bufferService,I),new i.LinkRenderLayer(N._screenElement,2,N._colors,N._id,E,T,N._bufferService,I),new r.CursorRenderLayer(N._screenElement,3,N._colors,N._id,N._onRequestRedraw,N._bufferService,I,L,O)],N.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},N._devicePixelRatio=window.devicePixelRatio,N._updateDimensions(),N.onOptionsChanged(),N}return b(g,f),Object.defineProperty(g.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),g.prototype.dispose=function(){for(var v=0,y=this._renderLayers;v<y.length;v++)y[v].dispose();f.prototype.dispose.call(this),a.removeTerminalFromCache(this._id)},g.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},g.prototype.setColors=function(v){this._colors=v;for(var y=0,E=this._renderLayers;y<E.length;y++){var T=E[y];T.setColors(this._colors),T.reset()}},g.prototype.onResize=function(v,y){this._updateDimensions();for(var E=0,T=this._renderLayers;E<T.length;E++)T[E].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},g.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},g.prototype.onBlur=function(){this._runOperation(function(v){return v.onBlur()})},g.prototype.onFocus=function(){this._runOperation(function(v){return v.onFocus()})},g.prototype.onSelectionChanged=function(v,y,E){E===void 0&&(E=!1),this._runOperation(function(T){return T.onSelectionChanged(v,y,E)})},g.prototype.onCursorMove=function(){this._runOperation(function(v){return v.onCursorMove()})},g.prototype.onOptionsChanged=function(){this._runOperation(function(v){return v.onOptionsChanged()})},g.prototype.clear=function(){this._runOperation(function(v){return v.reset()})},g.prototype._runOperation=function(v){for(var y=0,E=this._renderLayers;y<E.length;y++)v(E[y])},g.prototype.renderRows=function(v,y){for(var E=0,T=this._renderLayers;E<T.length;E++)T[E].onGridChanged(v,y)},g.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)},g.prototype.registerCharacterJoiner=function(v){return this._characterJoinerRegistry.registerCharacterJoiner(v)},g.prototype.deregisterCharacterJoiner=function(v){return this._characterJoinerRegistry.deregisterCharacterJoiner(v)},g=m([p(4,e.IBufferService),p(5,s.ICharSizeService),p(6,e.IOptionsService),p(7,e.ICoreService),p(8,s.ICoreBrowserService)],g)}(t.Disposable);x.Renderer=h},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,e){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,e)},function(t,s){function e(){this.constructor=t}A(t,s),t.prototype=s===null?Object.create(s):(e.prototype=s.prototype,new e)});Object.defineProperty(x,"__esModule",{value:!0}),x.TextRenderLayer=void 0;var m=C(42),p=C(13),c=C(6),o=C(3),r=C(29),i=C(4),n=function(t){function s(e,a,l,u,h,f,g,v){var y=t.call(this,e,"text",a,h,l,f,g,v)||this;return y._characterWidth=0,y._characterFont="",y._characterOverlapCache={},y._workCell=new i.CellData,y._state=new m.GridCache,y._characterJoinerRegistry=u,y}return b(s,t),s.prototype.resize=function(e){t.prototype.resize.call(this,e);var a=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===a||(this._characterWidth=e.scaledCharWidth,this._characterFont=a,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},s.prototype.reset=function(){this._state.clear(),this._clearAll()},s.prototype._forEachCell=function(e,a,l,u){for(var h=e;h<=a;h++)for(var f=h+this._bufferService.buffer.ydisp,g=this._bufferService.buffer.lines.get(f),v=l?l.getJoinedCharacters(f):[],y=0;y<this._bufferService.cols;y++){g.loadCell(y,this._workCell);var E=this._workCell,T=!1,w=y;if(E.getWidth()!==0){if(v.length>0&&y===v[0][0]){T=!0;var S=v.shift();E=new r.JoinedCellData(this._workCell,g.translateToString(!0,S[0],S[1]),S[1]-S[0]),w=S[1]-1}!T&&this._isOverlapping(E)&&w<g.length-1&&g.getCodePoint(w+1)===o.NULL_CELL_CODE&&(E.content&=-12582913,E.content|=2<<22),u(E,y,h),y=w}}},s.prototype._drawBackground=function(e,a){var l=this,u=this._ctx,h=this._bufferService.cols,f=0,g=0,v=null;u.save(),this._forEachCell(e,a,null,function(y,E,T){var w=null;y.isInverse()?w=y.isFgDefault()?l._colors.foreground.css:y.isFgRGB()?"rgb("+c.AttributeData.toColorRGB(y.getFgColor()).join(",")+")":l._colors.ansi[y.getFgColor()].css:y.isBgRGB()?w="rgb("+c.AttributeData.toColorRGB(y.getBgColor()).join(",")+")":y.isBgPalette()&&(w=l._colors.ansi[y.getBgColor()].css),v===null&&(f=E,g=T),T!==g?(u.fillStyle=v||"",l._fillCells(f,g,h-f,1),f=E,g=T):v!==w&&(u.fillStyle=v||"",l._fillCells(f,g,E-f,1),f=E,g=T),v=w}),v!==null&&(u.fillStyle=v,this._fillCells(f,g,h-f,1)),u.restore()},s.prototype._drawForeground=function(e,a){var l=this;this._forEachCell(e,a,this._characterJoinerRegistry,function(u,h,f){if(!u.isInvisible()&&(l._drawChars(u,h,f),u.isUnderline())){if(l._ctx.save(),u.isInverse())if(u.isBgDefault())l._ctx.fillStyle=l._colors.background.css;else if(u.isBgRGB())l._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(u.getBgColor()).join(",")+")";else{var g=u.getBgColor();l._optionsService.options.drawBoldTextInBrightColors&&u.isBold()&&g<8&&(g+=8),l._ctx.fillStyle=l._colors.ansi[g].css}else if(u.isFgDefault())l._ctx.fillStyle=l._colors.foreground.css;else if(u.isFgRGB())l._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(u.getFgColor()).join(",")+")";else{var v=u.getFgColor();l._optionsService.options.drawBoldTextInBrightColors&&u.isBold()&&v<8&&(v+=8),l._ctx.fillStyle=l._colors.ansi[v].css}l._fillBottomLineAtCells(h,f,u.getWidth()),l._ctx.restore()}})},s.prototype.onGridChanged=function(e,a){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,a-e+1),this._drawBackground(e,a),this._drawForeground(e,a))},s.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},s.prototype._isOverlapping=function(e){if(e.getWidth()!==1)return!1;if(e.getCode()<256)return!1;var a=e.getChars();if(this._characterOverlapCache.hasOwnProperty(a))return this._characterOverlapCache[a];this._ctx.save(),this._ctx.font=this._characterFont;var l=Math.floor(this._ctx.measureText(a).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[a]=l,l},s}(p.BaseRenderLayer);x.TextRenderLayer=n},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.GridCache=void 0;var A=function(){function b(){this.cache=[]}return b.prototype.resize=function(m,p){for(var c=0;c<m;c++){this.cache.length<=c&&this.cache.push([]);for(var o=this.cache[c].length;o<p;o++)this.cache[c].push(void 0);this.cache[c].length=p}this.cache.length=m},b.prototype.clear=function(){for(var m=0;m<this.cache.length;m++)for(var p=0;p<this.cache[m].length;p++)this.cache[m][p]=void 0},b}();x.GridCache=A},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(u,h){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,g){f.__proto__=g}||function(f,g){for(var v in g)g.hasOwnProperty(v)&&(f[v]=g[v])})(u,h)},function(l,u){function h(){this.constructor=l}A(l,u),l.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)});Object.defineProperty(x,"__esModule",{value:!0}),x.NoneCharAtlas=x.DynamicCharAtlas=x.getGlyphCacheKey=void 0;var m=C(9),p=C(44),c=C(27),o=C(46),r=C(11),i=C(28),n=C(10),t={css:"rgba(0, 0, 0, 0)",rgba:0};function s(l){return l.code<<21|l.bg<<12|l.fg<<3|(l.bold?0:4)+(l.dim?0:2)+(l.italic?0:1)}x.getGlyphCacheKey=s;var e=function(l){function u(h,f){var g=l.call(this)||this;g._config=f,g._drawToCacheCount=0,g._glyphsWaitingOnBitmap=[],g._bitmapCommitTimeout=null,g._bitmap=null,g._cacheCanvas=h.createElement("canvas"),g._cacheCanvas.width=1024,g._cacheCanvas.height=1024,g._cacheCtx=i.throwIfFalsy(g._cacheCanvas.getContext("2d",{alpha:!0}));var v=h.createElement("canvas");v.width=g._config.scaledCharWidth,v.height=g._config.scaledCharHeight,g._tmpCtx=i.throwIfFalsy(v.getContext("2d",{alpha:g._config.allowTransparency})),g._width=Math.floor(1024/g._config.scaledCharWidth),g._height=Math.floor(1024/g._config.scaledCharHeight);var y=g._width*g._height;return g._cacheMap=new o.LRUMap(y),g._cacheMap.prealloc(y),g}return b(u,l),u.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},u.prototype.beginFrame=function(){this._drawToCacheCount=0},u.prototype.draw=function(h,f,g,v){if(f.code===32)return!0;if(!this._canCache(f))return!1;var y=s(f),E=this._cacheMap.get(y);if(E!=null)return this._drawFromCache(h,E,g,v),!0;if(this._drawToCacheCount<100){var T=void 0;T=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var w=this._drawToCache(f,T);return this._cacheMap.set(y,w),this._drawFromCache(h,w,g,v),!0}return!1},u.prototype._canCache=function(h){return h.code<256},u.prototype._toCoordinateX=function(h){return h%this._width*this._config.scaledCharWidth},u.prototype._toCoordinateY=function(h){return Math.floor(h/this._width)*this._config.scaledCharHeight},u.prototype._drawFromCache=function(h,f,g,v){if(!f.isEmpty){var y=this._toCoordinateX(f.index),E=this._toCoordinateY(f.index);h.drawImage(f.inBitmap?this._bitmap:this._cacheCanvas,y,E,this._config.scaledCharWidth,this._config.scaledCharHeight,g,v,this._config.scaledCharWidth,this._config.scaledCharHeight)}},u.prototype._getColorFromAnsiIndex=function(h){return h<this._config.colors.ansi.length?this._config.colors.ansi[h]:c.DEFAULT_ANSI_COLORS[h]},u.prototype._getBackgroundColor=function(h){return this._config.allowTransparency?t:h.bg===m.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:h.bg<256?this._getColorFromAnsiIndex(h.bg):this._config.colors.background},u.prototype._getForegroundColor=function(h){return h.fg===m.INVERTED_DEFAULT_COLOR?n.color.opaque(this._config.colors.background):h.fg<256?this._getColorFromAnsiIndex(h.fg):this._config.colors.foreground},u.prototype._drawToCache=function(h,f){this._drawToCacheCount++,this._tmpCtx.save();var g=this._getBackgroundColor(h);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=g.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var v=h.bold?this._config.fontWeightBold:this._config.fontWeight,y=h.italic?"italic":"";this._tmpCtx.font=y+" "+v+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(h).css,h.dim&&(this._tmpCtx.globalAlpha=m.DIM_OPACITY),this._tmpCtx.fillText(h.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var E=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),T=!1;this._config.allowTransparency||(T=function(L,O){for(var N=!0,R=O.rgba>>>24,D=O.rgba>>>16&255,B=O.rgba>>>8&255,M=0;M<L.data.length;M+=4)L.data[M]===R&&L.data[M+1]===D&&L.data[M+2]===B?L.data[M+3]=0:N=!1;return N}(E,g));var w=this._toCoordinateX(f),S=this._toCoordinateY(f);this._cacheCtx.putImageData(E,w,S);var I={index:f,isEmpty:T,inBitmap:!1};return this._addGlyphToBitmap(I),I},u.prototype._addGlyphToBitmap=function(h){var f=this;!("createImageBitmap"in window)||r.isFirefox||r.isSafari||(this._glyphsWaitingOnBitmap.push(h),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return f._generateBitmap()},100)))},u.prototype._generateBitmap=function(){var h=this,f=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(g){h._bitmap=g;for(var v=0;v<f.length;v++)f[v].inBitmap=!0}),this._bitmapCommitTimeout=null},u}(p.BaseCharAtlas);x.DynamicCharAtlas=e;var a=function(l){function u(h,f){return l.call(this)||this}return b(u,l),u.prototype.draw=function(h,f,g,v){return!1},u}(p.BaseCharAtlas);x.NoneCharAtlas=a},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.BaseCharAtlas=void 0;var A=function(){function b(){this._didWarmUp=!1}return b.prototype.dispose=function(){},b.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},b.prototype._doWarmUp=function(){},b.prototype.beginFrame=function(){},b}();x.BaseCharAtlas=A},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.ColorContrastCache=void 0;var A=function(){function b(){this._color={},this._rgba={}}return b.prototype.clear=function(){this._color={},this._rgba={}},b.prototype.setCss=function(m,p,c){this._rgba[m]||(this._rgba[m]={}),this._rgba[m][p]=c},b.prototype.getCss=function(m,p){return this._rgba[m]?this._rgba[m][p]:void 0},b.prototype.setColor=function(m,p,c){this._color[m]||(this._color[m]={}),this._color[m][p]=c},b.prototype.getColor=function(m,p){return this._color[m]?this._color[m][p]:void 0},b}();x.ColorContrastCache=A},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.LRUMap=void 0;var A=function(){function b(m){this.capacity=m,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return b.prototype._unlinkNode=function(m){var p=m.prev,c=m.next;m===this._head&&(this._head=c),m===this._tail&&(this._tail=p),p!==null&&(p.next=c),c!==null&&(c.prev=p)},b.prototype._appendNode=function(m){var p=this._tail;p!==null&&(p.next=m),m.prev=p,m.next=null,this._tail=m,this._head===null&&(this._head=m)},b.prototype.prealloc=function(m){for(var p=this._nodePool,c=0;c<m;c++)p.push({prev:null,next:null,key:null,value:null})},b.prototype.get=function(m){var p=this._map[m];return p!==void 0?(this._unlinkNode(p),this._appendNode(p),p.value):null},b.prototype.peekValue=function(m){var p=this._map[m];return p!==void 0?p.value:null},b.prototype.peek=function(){var m=this._head;return m===null?null:m.value},b.prototype.set=function(m,p){var c=this._map[m];if(c!==void 0)c=this._map[m],this._unlinkNode(c),c.value=p;else if(this.size>=this.capacity)c=this._head,this._unlinkNode(c),delete this._map[c.key],c.key=m,c.value=p,this._map[m]=c;else{var o=this._nodePool;o.length>0?((c=o.pop()).key=m,c.value=p):c={prev:null,next:null,key:m,value:p},this._map[m]=c,this.size++}this._appendNode(c)},b}();x.LRUMap=A},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(c,o){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)i.hasOwnProperty(n)&&(r[n]=i[n])})(c,o)},function(p,c){function o(){this.constructor=p}A(p,c),p.prototype=c===null?Object.create(c):(o.prototype=c.prototype,new o)});Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionRenderLayer=void 0;var m=function(p){function c(o,r,i,n,t,s){var e=p.call(this,o,"selection",r,!0,i,n,t,s)||this;return e._clearState(),e}return b(c,p),c.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},c.prototype.resize=function(o){p.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,r,i){if(this._didStateChange(o,r,i,this._bufferService.buffer.ydisp))if(this._clearAll(),o&&r){var n=o[1]-this._bufferService.buffer.ydisp,t=r[1]-this._bufferService.buffer.ydisp,s=Math.max(n,0),e=Math.min(t,this._bufferService.rows-1);if(!(s>=this._bufferService.rows||e<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,i){var a=o[0],l=r[0]-a,u=e-s+1;this._fillCells(a,s,l,u)}else{a=n===s?o[0]:0;var h=s===e?r[0]:this._bufferService.cols;this._fillCells(a,s,h-a,1);var f=Math.max(e-s-1,0);if(this._fillCells(0,s+1,this._bufferService.cols,f),s!==e){var g=t===e?r[0]:this._bufferService.cols;this._fillCells(0,e,g,1)}}this._state.start=[o[0],o[1]],this._state.end=[r[0],r[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},c.prototype._didStateChange=function(o,r,i,n){return!this._areCoordinatesEqual(o,this._state.start)||!this._areCoordinatesEqual(r,this._state.end)||i!==this._state.columnSelectMode||n!==this._state.ydisp},c.prototype._areCoordinatesEqual=function(o,r){return!(!o||!r)&&o[0]===r[0]&&o[1]===r[1]},c}(C(13).BaseRenderLayer);x.SelectionRenderLayer=m},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(i,n){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var e in s)s.hasOwnProperty(e)&&(t[e]=s[e])})(i,n)},function(r,i){function n(){this.constructor=r}A(r,i),r.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(x,"__esModule",{value:!0}),x.CursorRenderLayer=void 0;var m=C(13),p=C(4),c=function(r){function i(n,t,s,e,a,l,u,h,f){var g=r.call(this,n,"cursor",t,!0,s,e,l,u)||this;return g._onRequestRedraw=a,g._coreService=h,g._coreBrowserService=f,g._cell=new p.CellData,g._state={x:0,y:0,isFocused:!1,style:"",width:0},g._cursorRenderers={bar:g._renderBarCursor.bind(g),block:g._renderBlockCursor.bind(g),underline:g._renderUnderlineCursor.bind(g)},g}return b(i,r),i.prototype.resize=function(n){r.prototype.resize.call(this,n),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},i.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},i.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onOptionsChanged=function(){var n,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new o(this._coreBrowserService.isFocused,function(){t._render(!0)})):((n=this._cursorBlinkStateManager)===null||n===void 0||n.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},i.prototype.onGridChanged=function(n,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},i.prototype._render=function(n){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,s=t-this._bufferService.buffer.ydisp;if(s<0||s>=this._bufferService.rows)this._clearCursor();else{var e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(t).loadCell(e,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var a=this._optionsService.options.cursorStyle;return a&&a!=="block"?this._cursorRenderers[a](e,s,this._cell):this._renderBlurCursor(e,s,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=s,this._state.isFocused=!1,this._state.style=a,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===e&&this._state.y===s&&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"](e,s,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=s,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},i.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})},i.prototype._renderBarCursor=function(n,t,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(n,t,this._optionsService.options.cursorWidth),this._ctx.restore()},i.prototype._renderBlockCursor=function(n,t,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(n,t,s.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(s,n,t),this._ctx.restore()},i.prototype._renderUnderlineCursor=function(n,t,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(n,t),this._ctx.restore()},i.prototype._renderBlurCursor=function(n,t,s){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(n,t,s.getWidth(),1),this._ctx.restore()},i}(m.BaseRenderLayer);x.CursorRenderLayer=c;var o=function(){function r(i,n){this._renderCallback=n,this.isCursorVisible=!0,i&&this._restartInterval()}return Object.defineProperty(r.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),r.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.restartBlinkAnimation=function(){var i=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0})))},r.prototype._restartInterval=function(i){var n=this;i===void 0&&(i=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(n._animationTimeRestarted){var t=600-(Date.now()-n._animationTimeRestarted);if(n._animationTimeRestarted=void 0,t>0)return void n._restartInterval(t)}n.isCursorVisible=!1,n._animationFrame=window.requestAnimationFrame(function(){n._renderCallback(),n._animationFrame=void 0}),n._blinkInterval=window.setInterval(function(){if(n._animationTimeRestarted){var s=600-(Date.now()-n._animationTimeRestarted);return n._animationTimeRestarted=void 0,void n._restartInterval(s)}n.isCursorVisible=!n.isCursorVisible,n._animationFrame=window.requestAnimationFrame(function(){n._renderCallback(),n._animationFrame=void 0})},600)},i)},r.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},r}()},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(i,n){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var e in s)s.hasOwnProperty(e)&&(t[e]=s[e])})(i,n)},function(r,i){function n(){this.constructor=r}A(r,i),r.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(x,"__esModule",{value:!0}),x.LinkRenderLayer=void 0;var m=C(13),p=C(9),c=C(26),o=function(r){function i(n,t,s,e,a,l,u,h){var f=r.call(this,n,"link",t,!0,s,e,u,h)||this;return a.onShowLinkUnderline(function(g){return f._onShowLinkUnderline(g)}),a.onHideLinkUnderline(function(g){return f._onHideLinkUnderline(g)}),l.onShowLinkUnderline(function(g){return f._onShowLinkUnderline(g)}),l.onHideLinkUnderline(function(g){return f._onHideLinkUnderline(g)}),f}return b(i,r),i.prototype.resize=function(n){r.prototype.resize.call(this,n),this._state=void 0},i.prototype.reset=function(){this._clearCurrentLink()},i.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var n=this._state.y2-this._state.y1-1;n>0&&this._clearCells(0,this._state.y1+1,this._state.cols,n),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},i.prototype._onShowLinkUnderline=function(n){if(n.fg===p.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:n.fg&&c.is256Color(n.fg)?this._ctx.fillStyle=this._colors.ansi[n.fg].css:this._ctx.fillStyle=this._colors.foreground.css,n.y1===n.y2)this._fillBottomLineAtCells(n.x1,n.y1,n.x2-n.x1);else{this._fillBottomLineAtCells(n.x1,n.y1,n.cols-n.x1);for(var t=n.y1+1;t<n.y2;t++)this._fillBottomLineAtCells(0,t,n.cols);this._fillBottomLineAtCells(0,n.y2,n.x2)}this._state=n},i.prototype._onHideLinkUnderline=function(n){this._clearCurrentLink()},i}(m.BaseRenderLayer);x.LinkRenderLayer=o},function(_,x,C){"use strict";var A=this&&this.__decorate||function(r,i,n,t){var s,e=arguments.length,a=e<3?i:t===null?t=Object.getOwnPropertyDescriptor(i,n):t;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,i,n,t);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(e<3?s(a):e>3?s(i,n,a):s(i,n))||a);return e>3&&a&&Object.defineProperty(i,n,a),a},b=this&&this.__param||function(r,i){return function(n,t){i(n,t,r)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseZone=x.Linkifier=void 0;var m=C(0),p=C(1),c=function(){function r(i,n,t){this._bufferService=i,this._logService=n,this._unicodeService=t,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new m.EventEmitter,this._onHideLinkUnderline=new m.EventEmitter,this._onLinkTooltip=new m.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(r.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),r.prototype.attachToDom=function(i,n){this._element=i,this._mouseZoneManager=n},r.prototype.linkifyRows=function(i,n){var t=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=i,this._rowsToLinkify.end=n):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,i),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,n)),this._mouseZoneManager.clearAll(i,n),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return t._linkifyRows()},r._timeBeforeLatency))},r.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var i=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var n=i.ydisp+this._rowsToLinkify.start;if(!(n>=i.lines.length)){for(var t=i.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,s=Math.ceil(2e3/this._bufferService.cols),e=this._bufferService.buffer.iterator(!1,n,t,s,s);e.hasNext();)for(var a=e.next(),l=0;l<this._linkMatchers.length;l++)this._doLinkifyRow(a.range.first,a.content,this._linkMatchers[l]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},r.prototype.registerLinkMatcher=function(i,n,t){if(t===void 0&&(t={}),!n)throw new Error("handler must be defined");var s={id:this._nextLinkMatcherId++,regex:i,handler:n,matchIndex:t.matchIndex,validationCallback:t.validationCallback,hoverTooltipCallback:t.tooltipCallback,hoverLeaveCallback:t.leaveCallback,willLinkActivate:t.willLinkActivate,priority:t.priority||0};return this._addLinkMatcherToList(s),s.id},r.prototype._addLinkMatcherToList=function(i){if(this._linkMatchers.length!==0){for(var n=this._linkMatchers.length-1;n>=0;n--)if(i.priority<=this._linkMatchers[n].priority)return void this._linkMatchers.splice(n+1,0,i);this._linkMatchers.splice(0,0,i)}else this._linkMatchers.push(i)},r.prototype.deregisterLinkMatcher=function(i){for(var n=0;n<this._linkMatchers.length;n++)if(this._linkMatchers[n].id===i)return this._linkMatchers.splice(n,1),!0;return!1},r.prototype._doLinkifyRow=function(i,n,t){for(var s,e=this,a=new RegExp(t.regex.source,(t.regex.flags||"")+"g"),l=-1,u=function(){var g=s[typeof t.matchIndex!="number"?0:t.matchIndex];if(!g)return h._logService.debug("match found without corresponding matchIndex",s,t),"break";if(l=n.indexOf(g,l+1),a.lastIndex=l+g.length,l<0)return"break";var v=h._bufferService.buffer.stringIndexToBufferIndex(i,l);if(v[0]<0)return"break";var y=h._bufferService.buffer.lines.get(v[0]);if(!y)return"break";var E=y.getFg(v[1]),T=E?E>>9&511:void 0;t.validationCallback?t.validationCallback(g,function(w){e._rowsTimeoutId||w&&e._addLink(v[1],v[0]-e._bufferService.buffer.ydisp,g,t,T)}):h._addLink(v[1],v[0]-h._bufferService.buffer.ydisp,g,t,T)},h=this;(s=a.exec(n))!==null&&!(u()==="break"););},r.prototype._addLink=function(i,n,t,s,e){var a=this;if(this._mouseZoneManager&&this._element){var l=this._unicodeService.getStringCellWidth(t),u=i%this._bufferService.cols,h=n+Math.floor(i/this._bufferService.cols),f=(u+l)%this._bufferService.cols,g=h+Math.floor((u+l)/this._bufferService.cols);f===0&&(f=this._bufferService.cols,g--),this._mouseZoneManager.add(new o(u+1,h+1,f+1,g+1,function(v){if(s.handler)return s.handler(v,t);var y=window.open();y?(y.opener=null,y.location.href=t):console.warn("Opening link blocked as opener could not be cleared")},function(){a._onShowLinkUnderline.fire(a._createLinkHoverEvent(u,h,f,g,e)),a._element.classList.add("xterm-cursor-pointer")},function(v){a._onLinkTooltip.fire(a._createLinkHoverEvent(u,h,f,g,e)),s.hoverTooltipCallback&&s.hoverTooltipCallback(v,t,{start:{x:u,y:h},end:{x:f,y:g}})},function(){a._onHideLinkUnderline.fire(a._createLinkHoverEvent(u,h,f,g,e)),a._element.classList.remove("xterm-cursor-pointer"),s.hoverLeaveCallback&&s.hoverLeaveCallback()},function(v){return!s.willLinkActivate||s.willLinkActivate(v,t)}))}},r.prototype._createLinkHoverEvent=function(i,n,t,s,e){return{x1:i,y1:n,x2:t,y2:s,cols:this._bufferService.cols,fg:e}},r._timeBeforeLatency=200,r=A([b(0,p.IBufferService),b(1,p.ILogService),b(2,p.IUnicodeService)],r)}();x.Linkifier=c;var o=function(i,n,t,s,e,a,l,u,h){this.x1=i,this.y1=n,this.x2=t,this.y2=s,this.clickCallback=e,this.hoverCallback=a,this.tooltipCallback=l,this.leaveCallback=u,this.willLinkActivate=h};x.MouseZone=o},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(g,v){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,E){y.__proto__=E}||function(y,E){for(var T in E)E.hasOwnProperty(T)&&(y[T]=E[T])})(g,v)},function(f,g){function v(){this.constructor=f}A(f,g),f.prototype=g===null?Object.create(g):(v.prototype=g.prototype,new v)}),m=this&&this.__decorate||function(f,g,v,y){var E,T=arguments.length,w=T<3?g:y===null?y=Object.getOwnPropertyDescriptor(g,v):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(f,g,v,y);else for(var S=f.length-1;S>=0;S--)(E=f[S])&&(w=(T<3?E(w):T>3?E(g,v,w):E(g,v))||w);return T>3&&w&&Object.defineProperty(g,v,w),w},p=this&&this.__param||function(f,g){return function(v,y){g(v,y,f)}};Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionService=void 0;var c=C(11),o=C(52),r=C(4),i=C(0),n=C(5),t=C(1),s=C(30),e=C(53),a=C(2),l=String.fromCharCode(160),u=new RegExp(l,"g"),h=function(f){function g(v,y,E,T,w,S,I){var L=f.call(this)||this;return L._element=v,L._screenElement=y,L._bufferService=E,L._coreService=T,L._mouseService=w,L._optionsService=S,L._renderService=I,L._dragScrollAmount=0,L._enabled=!0,L._workCell=new r.CellData,L._mouseDownTimeStamp=0,L._onLinuxMouseSelection=L.register(new i.EventEmitter),L._onRedrawRequest=L.register(new i.EventEmitter),L._onSelectionChange=L.register(new i.EventEmitter),L._onRequestScrollLines=L.register(new i.EventEmitter),L._mouseMoveListener=function(O){return L._onMouseMove(O)},L._mouseUpListener=function(O){return L._onMouseUp(O)},L._coreService.onUserInput(function(){L.hasSelection&&L.clearSelection()}),L._trimListener=L._bufferService.buffer.lines.onTrim(function(O){return L._onTrim(O)}),L.register(L._bufferService.buffers.onBufferActivate(function(O){return L._onBufferActivate(O)})),L.enable(),L._model=new o.SelectionModel(L._bufferService),L._activeSelectionMode=0,L}return b(g,f),Object.defineProperty(g.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),g.prototype.dispose=function(){this._removeMouseDownListeners()},g.prototype.reset=function(){this.clearSelection()},g.prototype.disable=function(){this.clearSelection(),this._enabled=!1},g.prototype.enable=function(){this._enabled=!0},Object.defineProperty(g.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"hasSelection",{get:function(){var y=this._model.finalSelectionStart,E=this._model.finalSelectionEnd;return!(!y||!E)&&(y[0]!==E[0]||y[1]!==E[1])},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"selectionText",{get:function(){var y=this._model.finalSelectionStart,E=this._model.finalSelectionEnd;if(!y||!E)return"";var T=this._bufferService.buffer,w=[];if(this._activeSelectionMode===3){if(y[0]===E[0])return"";for(var S=y[1];S<=E[1];S++){var I=T.translateBufferLineToString(S,!0,y[0],E[0]);w.push(I)}}else{var L=y[1]===E[1]?E[0]:void 0;for(w.push(T.translateBufferLineToString(y[1],!0,y[0],L)),S=y[1]+1;S<=E[1]-1;S++){var O=T.lines.get(S);I=T.translateBufferLineToString(S,!0),O&&O.isWrapped?w[w.length-1]+=I:w.push(I)}y[1]!==E[1]&&(O=T.lines.get(E[1]),I=T.translateBufferLineToString(E[1],!0,0,E[0]),O&&O.isWrapped?w[w.length-1]+=I:w.push(I))}return w.map(function(N){return N.replace(u," ")}).join(c.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),g.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},g.prototype.refresh=function(v){var y=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return y._refresh()})),c.isLinux&&v)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},g.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},g.prototype.isClickInSelection=function(v){var y=this._getMouseBufferCoords(v),E=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(E&&T&&y)&&this._areCoordsInSelection(y,E,T)},g.prototype._areCoordsInSelection=function(v,y,E){return v[1]>y[1]&&v[1]<E[1]||y[1]===E[1]&&v[1]===y[1]&&v[0]>=y[0]&&v[0]<E[0]||y[1]<E[1]&&v[1]===E[1]&&v[0]<E[0]||y[1]<E[1]&&v[1]===y[1]&&v[0]>=y[0]},g.prototype.selectWordAtCursor=function(v){var y=this._getMouseBufferCoords(v);y&&(this._selectWordAt(y,!1),this._model.selectionEnd=void 0,this.refresh(!0))},g.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},g.prototype.selectLines=function(v,y){this._model.clearSelection(),v=Math.max(v,0),y=Math.min(y,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,v],this._model.selectionEnd=[this._bufferService.cols,y],this.refresh(),this._onSelectionChange.fire()},g.prototype._onTrim=function(v){this._model.onTrim(v)&&this.refresh()},g.prototype._getMouseBufferCoords=function(v){var y=this._mouseService.getCoords(v,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(y)return y[0]--,y[1]--,y[1]+=this._bufferService.buffer.ydisp,y},g.prototype._getMouseEventScrollAmount=function(v){var y=s.getCoordsRelativeToElement(v,this._screenElement)[1],E=this._renderService.dimensions.canvasHeight;return y>=0&&y<=E?0:(y>E&&(y-=E),y=Math.min(Math.max(y,-50),50),(y/=50)/Math.abs(y)+Math.round(14*y))},g.prototype.shouldForceSelection=function(v){return c.isMac?v.altKey&&this._optionsService.options.macOptionClickForcesSelection:v.shiftKey},g.prototype.onMouseDown=function(v){if(this._mouseDownTimeStamp=v.timeStamp,(v.button!==2||!this.hasSelection)&&v.button===0){if(!this._enabled){if(!this.shouldForceSelection(v))return;v.stopPropagation()}v.preventDefault(),this._dragScrollAmount=0,this._enabled&&v.shiftKey?this._onIncrementalClick(v):v.detail===1?this._onSingleClick(v):v.detail===2?this._onDoubleClick(v):v.detail===3&&this._onTripleClick(v),this._addMouseDownListeners(),this.refresh(!0)}},g.prototype._addMouseDownListeners=function(){var v=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return v._dragScroll()},50)},g.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},g.prototype._onIncrementalClick=function(v){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(v))},g.prototype._onSingleClick=function(v){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(v)?3:0,this._model.selectionStart=this._getMouseBufferCoords(v),this._model.selectionStart){this._model.selectionEnd=void 0;var y=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);y&&y.length!==this._model.selectionStart[0]&&y.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},g.prototype._onDoubleClick=function(v){var y=this._getMouseBufferCoords(v);y&&(this._activeSelectionMode=1,this._selectWordAt(y,!0))},g.prototype._onTripleClick=function(v){var y=this._getMouseBufferCoords(v);y&&(this._activeSelectionMode=2,this._selectLineAt(y[1]))},g.prototype.shouldColumnSelect=function(v){return v.altKey&&!(c.isMac&&this._optionsService.options.macOptionClickForcesSelection)},g.prototype._onMouseMove=function(v){if(v.stopImmediatePropagation(),this._model.selectionStart){var y=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(v),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(v),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var E=this._bufferService.buffer;if(this._model.selectionEnd[1]<E.lines.length){var T=E.lines.get(this._model.selectionEnd[1]);T&&T.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}y&&y[0]===this._model.selectionEnd[0]&&y[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},g.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var v=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(v.ydisp+this._bufferService.rows,v.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=v.ydisp),this.refresh()}},g.prototype._onMouseUp=function(v){var y=v.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&y<500&&v.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var E=this._mouseService.getCoords(v,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(E&&E[0]!==void 0&&E[1]!==void 0){var T=e.moveToCellSequence(E[0]-1,E[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(T,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},g.prototype._onBufferActivate=function(v){var y=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=v.activeBuffer.lines.onTrim(function(E){return y._onTrim(E)})},g.prototype._convertViewportColToCharacterIndex=function(v,y){for(var E=y[0],T=0;y[0]>=T;T++){var w=v.loadCell(T,this._workCell).getChars().length;this._workCell.getWidth()===0?E--:w>1&&y[0]!==T&&(E+=w-1)}return E},g.prototype.setSelection=function(v,y,E){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[v,y],this._model.selectionStartLength=E,this.refresh()},g.prototype._getWordAt=function(v,y,E,T){if(E===void 0&&(E=!0),T===void 0&&(T=!0),!(v[0]>=this._bufferService.cols)){var w=this._bufferService.buffer,S=w.lines.get(v[1]);if(S){var I=w.translateBufferLineToString(v[1],!1),L=this._convertViewportColToCharacterIndex(S,v),O=L,N=v[0]-L,R=0,D=0,B=0,M=0;if(I.charAt(L)===" "){for(;L>0&&I.charAt(L-1)===" ";)L--;for(;O<I.length&&I.charAt(O+1)===" ";)O++}else{var U=v[0],F=v[0];S.getWidth(U)===0&&(R++,U--),S.getWidth(F)===2&&(D++,F++);var j=S.getString(F).length;for(j>1&&(M+=j-1,O+=j-1);U>0&&L>0&&!this._isCharWordSeparator(S.loadCell(U-1,this._workCell));){S.loadCell(U-1,this._workCell);var W=this._workCell.getChars().length;this._workCell.getWidth()===0?(R++,U--):W>1&&(B+=W-1,L-=W-1),L--,U--}for(;F<S.length&&O+1<I.length&&!this._isCharWordSeparator(S.loadCell(F+1,this._workCell));){S.loadCell(F+1,this._workCell);var V=this._workCell.getChars().length;this._workCell.getWidth()===2?(D++,F++):V>1&&(M+=V-1,O+=V-1),O++,F++}}O++;var z=L+N-R+B,Y=Math.min(this._bufferService.cols,O-L+R+D-B-M);if(y||I.slice(L,O).trim()!==""){if(E&&z===0&&S.getCodePoint(0)!==32){var J=w.lines.get(v[1]-1);if(J&&S.isWrapped&&J.getCodePoint(this._bufferService.cols-1)!==32){var ie=this._getWordAt([this._bufferService.cols-1,v[1]-1],!1,!0,!1);if(ie){var Z=this._bufferService.cols-ie.start;z-=Z,Y+=Z}}}if(T&&z+Y===this._bufferService.cols&&S.getCodePoint(this._bufferService.cols-1)!==32){var oe=w.lines.get(v[1]+1);if(oe&&oe.isWrapped&&oe.getCodePoint(0)!==32){var ge=this._getWordAt([0,v[1]+1],!1,!1,!0);ge&&(Y+=ge.length)}}return{start:z,length:Y}}}}},g.prototype._selectWordAt=function(v,y){var E=this._getWordAt(v,y);if(E){for(;E.start<0;)E.start+=this._bufferService.cols,v[1]--;this._model.selectionStart=[E.start,v[1]],this._model.selectionStartLength=E.length}},g.prototype._selectToWordAt=function(v){var y=this._getWordAt(v,!0);if(y){for(var E=v[1];y.start<0;)y.start+=this._bufferService.cols,E--;if(!this._model.areSelectionValuesReversed())for(;y.start+y.length>this._bufferService.cols;)y.length-=this._bufferService.cols,E++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?y.start:y.start+y.length,E]}},g.prototype._isCharWordSeparator=function(v){return v.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(v.getChars())>=0},g.prototype._selectLineAt=function(v){var y=this._bufferService.buffer.getWrappedRangeForLine(v);this._model.selectionStart=[0,y.first],this._model.selectionEnd=[this._bufferService.cols,y.last],this._model.selectionStartLength=0},g=m([p(2,t.IBufferService),p(3,t.ICoreService),p(4,n.IMouseService),p(5,t.IOptionsService),p(6,n.IRenderService)],g)}(a.Disposable);x.SelectionService=h},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionModel=void 0;var A=function(){function b(m){this._bufferService=m,this.isSelectAllActive=!1,this.selectionStartLength=0}return b.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(b.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(b.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 p=this.selectionStart[0]+this.selectionStartLength;return p>this._bufferService.cols?[p%this._bufferService.cols,this.selectionStart[1]+Math.floor(p/this._bufferService.cols)]:[p,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}),b.prototype.areSelectionValuesReversed=function(){var m=this.selectionStart,p=this.selectionEnd;return!(!m||!p)&&(m[1]>p[1]||m[1]===p[1]&&m[0]>p[0])},b.prototype.onTrim=function(m){return this.selectionStart&&(this.selectionStart[1]-=m),this.selectionEnd&&(this.selectionEnd[1]-=m),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},b}();x.SelectionModel=A},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.moveToCellSequence=void 0;var A=C(12);function b(i,n,t,s){var e=i-m(t,i),a=n-m(t,n);return r(Math.abs(e-a)-function(l,u,h){for(var f=0,g=l-m(h,l),v=u-m(h,u),y=0;y<Math.abs(g-v);y++){var E=p(l,u)==="A"?-1:1,T=h.buffer.lines.get(g+E*y);T&&T.isWrapped&&f++}return f}(i,n,t),o(p(i,n),s))}function m(i,n){for(var t=0,s=i.buffer.lines.get(n),e=s&&s.isWrapped;e&&n>=0&&n<i.rows;)t++,e=(s=i.buffer.lines.get(--n))&&s.isWrapped;return t}function p(i,n){return i>n?"A":"B"}function c(i,n,t,s,e,a){for(var l=i,u=n,h="";l!==t||u!==s;)l+=e?1:-1,e&&l>a.cols-1?(h+=a.buffer.translateBufferLineToString(u,!1,i,l),l=0,i=0,u++):!e&&l<0&&(h+=a.buffer.translateBufferLineToString(u,!1,0,i+1),i=l=a.cols-1,u--);return h+a.buffer.translateBufferLineToString(u,!1,i,l)}function o(i,n){var t=n?"O":"[";return A.C0.ESC+t+i}function r(i,n){i=Math.floor(i);for(var t="",s=0;s<i;s++)t+=n;return t}x.moveToCellSequence=function(i,n,t,s){var e,a=t.buffer.x,l=t.buffer.y;if(!t.buffer.hasScrollback)return function(h,f,g,v,y,E){return b(f,v,y,E).length===0?"":r(c(h,f,h,f-m(y,f),!1,y).length,o("D",E))}(a,l,0,n,t,s)+b(l,n,t,s)+function(h,f,g,v,y,E){var T;T=b(f,v,y,E).length>0?v-m(y,v):f;var w=v,S=function(I,L,O,N,R,D){var B;return B=b(O,N,R,D).length>0?N-m(R,N):L,I<O&&B<=N||I>=O&&B<N?"C":"D"}(h,f,g,v,y,E);return r(c(h,T,g,w,S==="C",y).length,o(S,E))}(a,l,i,n,t,s);if(l===n)return e=a>i?"D":"C",r(Math.abs(a-i),o(e,s));e=l>n?"D":"C";var u=Math.abs(l-n);return r(function(h,f){return f.cols-h}(l>n?i:a,t)+(u-1)*t.cols+1+((l>n?a:i)-1),o(e,s))}},function(_,x,C){"use strict";var A=this&&this.__decorate||function(c,o,r,i){var n,t=arguments.length,s=t<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(c,o,r,i);else for(var e=c.length-1;e>=0;e--)(n=c[e])&&(s=(t<3?n(s):t>3?n(o,r,s):n(o,r))||s);return t>3&&s&&Object.defineProperty(o,r,s),s},b=this&&this.__param||function(c,o){return function(r,i){o(r,i,c)}};Object.defineProperty(x,"__esModule",{value:!0}),x.SoundService=void 0;var m=C(1),p=function(){function c(o){this._optionsService=o}return Object.defineProperty(c,"audioContext",{get:function(){if(!c._audioContext){var r=window.AudioContext||window.webkitAudioContext;if(!r)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;c._audioContext=new r}return c._audioContext},enumerable:!1,configurable:!0}),c.prototype.playBellSound=function(){var o=c.audioContext;if(o){var r=o.createBufferSource();o.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(i){r.buffer=i,r.connect(o.destination),r.start(0)})}},c.prototype._base64ToArrayBuffer=function(o){for(var r=window.atob(o),i=r.length,n=new Uint8Array(i),t=0;t<i;t++)n[t]=r.charCodeAt(t);return n.buffer},c.prototype._removeMimeType=function(o){return o.split(",")[1]},c=A([b(0,m.IOptionsService)],c)}();x.SoundService=p},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,e){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,e)},function(t,s){function e(){this.constructor=t}A(t,s),t.prototype=s===null?Object.create(s):(e.prototype=s.prototype,new e)}),m=this&&this.__decorate||function(t,s,e,a){var l,u=arguments.length,h=u<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(t,s,e,a);else for(var f=t.length-1;f>=0;f--)(l=t[f])&&(h=(u<3?l(h):u>3?l(s,e,h):l(s,e))||h);return u>3&&h&&Object.defineProperty(s,e,h),h},p=this&&this.__param||function(t,s){return function(e,a){s(e,a,t)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseZoneManager=void 0;var c=C(2),o=C(7),r=C(5),i=C(1),n=function(t){function s(e,a,l,u,h,f){var g=t.call(this)||this;return g._element=e,g._screenElement=a,g._bufferService=l,g._mouseService=u,g._selectionService=h,g._optionsService=f,g._zones=[],g._areZonesActive=!1,g._lastHoverCoords=[void 0,void 0],g._initialSelectionLength=0,g.register(o.addDisposableDomListener(g._element,"mousedown",function(v){return g._onMouseDown(v)})),g._mouseMoveListener=function(v){return g._onMouseMove(v)},g._mouseLeaveListener=function(v){return g._onMouseLeave(v)},g._clickListener=function(v){return g._onClick(v)},g}return b(s,t),s.prototype.dispose=function(){t.prototype.dispose.call(this),this._deactivate()},s.prototype.add=function(e){this._zones.push(e),this._zones.length===1&&this._activate()},s.prototype.clearAll=function(e,a){if(this._zones.length!==0){e&&a||(e=0,a=this._bufferService.rows-1);for(var l=0;l<this._zones.length;l++){var u=this._zones[l];(u.y1>e&&u.y1<=a+1||u.y2>e&&u.y2<=a+1||u.y1<e&&u.y2>a+1)&&(this._currentZone&&this._currentZone===u&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(l--,1))}this._zones.length===0&&this._deactivate()}},s.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))},s.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))},s.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},s.prototype._onHover=function(e){var a=this,l=this._findZoneEventAt(e);l!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),l&&(this._currentZone=l,l.hoverCallback&&l.hoverCallback(e),this._tooltipTimeout=window.setTimeout(function(){return a._onTooltip(e)},this._optionsService.options.linkTooltipHoverDuration)))},s.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var a=this._findZoneEventAt(e);a&&a.tooltipCallback&&a.tooltipCallback(e)},s.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var a=this._findZoneEventAt(e);(a==null?void 0:a.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},s.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},s.prototype._onClick=function(e){var a=this._findZoneEventAt(e),l=this._getSelectionLength();a&&l===this._initialSelectionLength&&(a.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},s.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},s.prototype._findZoneEventAt=function(e){var a=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(a)for(var l=a[0],u=a[1],h=0;h<this._zones.length;h++){var f=this._zones[h];if(f.y1===f.y2){if(u===f.y1&&l>=f.x1&&l<f.x2)return f}else if(u===f.y1&&l>=f.x1||u===f.y2&&l<f.x2||u>f.y1&&u<f.y2)return f}},s=m([p(2,i.IBufferService),p(3,r.IMouseService),p(4,r.ISelectionService),p(5,i.IOptionsService)],s)}(c.Disposable);x.MouseZoneManager=n},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(e,a){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var h in u)u.hasOwnProperty(h)&&(l[h]=u[h])})(e,a)},function(s,e){function a(){this.constructor=s}A(s,e),s.prototype=e===null?Object.create(e):(a.prototype=e.prototype,new a)});Object.defineProperty(x,"__esModule",{value:!0}),x.AccessibilityManager=void 0;var m=C(18),p=C(11),c=C(31),o=C(7),r=C(2),i=C(32),n=C(17),t=function(s){function e(a,l){var u=s.call(this)||this;u._terminal=a,u._renderService=l,u._liveRegionLineCount=0,u._charsToConsume=[],u._charsToAnnounce="",u._accessibilityTreeRoot=document.createElement("div"),u._accessibilityTreeRoot.classList.add("xterm-accessibility"),u._rowContainer=document.createElement("div"),u._rowContainer.classList.add("xterm-accessibility-tree"),u._rowContainer.setAttribute("role","list"),u._rowElements=[];for(var h=0;h<u._terminal.rows;h++)u._rowElements[h]=u._createAccessibilityTreeNode(),u._rowContainer.appendChild(u._rowElements[h]);if(u._topBoundaryFocusListener=function(f){return u._onBoundaryFocus(f,0)},u._bottomBoundaryFocusListener=function(f){return u._onBoundaryFocus(f,1)},u._rowElements[0].addEventListener("focus",u._topBoundaryFocusListener),u._rowElements[u._rowElements.length-1].addEventListener("focus",u._bottomBoundaryFocusListener),u._refreshRowsDimensions(),u._accessibilityTreeRoot.appendChild(u._rowContainer),u._renderRowsDebouncer=new c.RenderDebouncer(u._renderRows.bind(u)),u._refreshRows(),u._liveRegion=document.createElement("div"),u._liveRegion.classList.add("live-region"),u._liveRegion.setAttribute("aria-live","assertive"),u._accessibilityTreeRoot.appendChild(u._liveRegion),!u._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return u._terminal.element.insertAdjacentElement("afterbegin",u._accessibilityTreeRoot),u.register(u._renderRowsDebouncer),u.register(u._terminal.onResize(function(f){return u._onResize(f.rows)})),u.register(u._terminal.onRender(function(f){return u._refreshRows(f.start,f.end)})),u.register(u._terminal.onScroll(function(){return u._refreshRows()})),u.register(u._terminal.onA11yChar(function(f){return u._onChar(f)})),u.register(u._terminal.onLineFeed(function(){return u._onChar(`
`)})),u.register(u._terminal.onA11yTab(function(f){return u._onTab(f)})),u.register(u._terminal.onKey(function(f){return u._onKey(f.key)})),u.register(u._terminal.onBlur(function(){return u._clearLiveRegion()})),u.register(u._renderService.onDimensionsChange(function(){return u._refreshRowsDimensions()})),u._screenDprMonitor=new i.ScreenDprMonitor,u.register(u._screenDprMonitor),u._screenDprMonitor.setListener(function(){return u._refreshRowsDimensions()}),u.register(o.addDisposableDomListener(window,"resize",function(){return u._refreshRowsDimensions()})),u}return b(e,s),e.prototype.dispose=function(){s.prototype.dispose.call(this),n.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},e.prototype._onBoundaryFocus=function(a,l){var u=a.target,h=this._rowElements[l===0?1:this._rowElements.length-2];if(u.getAttribute("aria-posinset")!==(l===0?"1":""+this._terminal.buffer.lines.length)&&a.relatedTarget===h){var f,g;if(l===0?(f=u,g=this._rowElements.pop(),this._rowContainer.removeChild(g)):(f=this._rowElements.shift(),g=u,this._rowContainer.removeChild(f)),f.removeEventListener("focus",this._topBoundaryFocusListener),g.removeEventListener("focus",this._bottomBoundaryFocusListener),l===0){var v=this._createAccessibilityTreeNode();this._rowElements.unshift(v),this._rowContainer.insertAdjacentElement("afterbegin",v)}else v=this._createAccessibilityTreeNode(),this._rowElements.push(v),this._rowContainer.appendChild(v);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(l===0?-1:1),this._rowElements[l===0?1:this._rowElements.length-2].focus(),a.preventDefault(),a.stopImmediatePropagation()}},e.prototype._onResize=function(a){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var l=this._rowContainer.children.length;l<this._terminal.rows;l++)this._rowElements[l]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[l]);for(;this._rowElements.length>a;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},e.prototype._createAccessibilityTreeNode=function(){var a=document.createElement("div");return a.setAttribute("role","listitem"),a.tabIndex=-1,this._refreshRowDimensions(a),a},e.prototype._onTab=function(a){for(var l=0;l<a;l++)this._onChar(" ")},e.prototype._onChar=function(a){var l=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==a&&(this._charsToAnnounce+=a):this._charsToAnnounce+=a,a===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=m.tooMuchOutput)),p.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){l._accessibilityTreeRoot.appendChild(l._liveRegion)},0))},e.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,p.isMac&&n.removeElementFromParent(this._liveRegion)},e.prototype._onKey=function(a){this._clearLiveRegion(),this._charsToConsume.push(a)},e.prototype._refreshRows=function(a,l){this._renderRowsDebouncer.refresh(a,l,this._terminal.rows)},e.prototype._renderRows=function(a,l){for(var u=this._terminal.buffer,h=u.lines.length.toString(),f=a;f<=l;f++){var g=u.translateBufferLineToString(u.ydisp+f,!0),v=(u.ydisp+f+1).toString(),y=this._rowElements[f];y&&(g.length===0?y.innerHTML="&nbsp;":y.textContent=g,y.setAttribute("aria-posinset",v),y.setAttribute("aria-setsize",h))}this._announceCharacters()},e.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var a=0;a<this._terminal.rows;a++)this._refreshRowDimensions(this._rowElements[a])}},e.prototype._refreshRowDimensions=function(a){a.style.height=this._renderService.dimensions.actualCellHeight+"px"},e.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},e}(r.Disposable);x.AccessibilityManager=t},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(h,f){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var y in v)v.hasOwnProperty(y)&&(g[y]=v[y])})(h,f)},function(u,h){function f(){this.constructor=u}A(u,h),u.prototype=h===null?Object.create(h):(f.prototype=h.prototype,new f)}),m=this&&this.__decorate||function(u,h,f,g){var v,y=arguments.length,E=y<3?h:g===null?g=Object.getOwnPropertyDescriptor(h,f):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(u,h,f,g);else for(var T=u.length-1;T>=0;T--)(v=u[T])&&(E=(y<3?v(E):y>3?v(h,f,E):v(h,f))||E);return y>3&&E&&Object.defineProperty(h,f,E),E},p=this&&this.__param||function(u,h){return function(f,g){h(f,g,u)}};Object.defineProperty(x,"__esModule",{value:!0}),x.DomRenderer=void 0;var c=C(58),o=C(9),r=C(2),i=C(5),n=C(1),t=C(0),s=C(10),e=C(17),a=1,l=function(u){function h(f,g,v,y,E,T,w,S,I){var L=u.call(this)||this;return L._colors=f,L._element=g,L._screenElement=v,L._viewportElement=y,L._linkifier=E,L._linkifier2=T,L._charSizeService=w,L._optionsService=S,L._bufferService=I,L._terminalClass=a++,L._rowElements=[],L._rowContainer=document.createElement("div"),L._rowContainer.classList.add("xterm-rows"),L._rowContainer.style.lineHeight="normal",L._rowContainer.setAttribute("aria-hidden","true"),L._refreshRowElements(L._bufferService.cols,L._bufferService.rows),L._selectionContainer=document.createElement("div"),L._selectionContainer.classList.add("xterm-selection"),L._selectionContainer.setAttribute("aria-hidden","true"),L.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},L._updateDimensions(),L._injectCss(),L._rowFactory=new 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(O){return L._onLinkHover(O)}),L._linkifier.onHideLinkUnderline(function(O){return L._onLinkLeave(O)}),L._linkifier2.onShowLinkUnderline(function(O){return L._onLinkHover(O)}),L._linkifier2.onHideLinkUnderline(function(O){return L._onLinkLeave(O)}),L}return b(h,u),Object.defineProperty(h.prototype,"onRequestRedraw",{get:function(){return new t.EventEmitter().event},enumerable:!1,configurable:!0}),h.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),e.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),u.prototype.dispose.call(this)},h.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 f=0,g=this._rowElements;f<g.length;f++){var v=g[f];v.style.width=this.dimensions.canvasWidth+"px",v.style.height=this.dimensions.actualCellHeight+"px",v.style.lineHeight=this.dimensions.actualCellHeight+"px",v.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var y=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=y,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},h.prototype.setColors=function(f){this._colors=f,this._injectCss()},h.prototype._injectCss=function(){var f=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var g=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";g+=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;}",g+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",g+="@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+"; }}",g+=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;}",g+=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(v,y){g+=f._terminalSelector+" .xterm-fg-"+y+" { color: "+v.css+"; }"+f._terminalSelector+" .xterm-bg-"+y+" { background-color: "+v.css+"; }"}),g+=this._terminalSelector+" .xterm-fg-"+o.INVERTED_DEFAULT_COLOR+" { color: "+s.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+o.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=g},h.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},h.prototype._refreshRowElements=function(f,g){for(var v=this._rowElements.length;v<=g;v++){var y=document.createElement("div");this._rowContainer.appendChild(y),this._rowElements.push(y)}for(;this._rowElements.length>g;)this._rowContainer.removeChild(this._rowElements.pop())},h.prototype.onResize=function(f,g){this._refreshRowElements(f,g),this._updateDimensions()},h.prototype.onCharSizeChanged=function(){this._updateDimensions()},h.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},h.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},h.prototype.onSelectionChanged=function(f,g,v){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(f&&g){var y=f[1]-this._bufferService.buffer.ydisp,E=g[1]-this._bufferService.buffer.ydisp,T=Math.max(y,0),w=Math.min(E,this._bufferService.rows-1);if(!(T>=this._bufferService.rows||w<0)){var S=document.createDocumentFragment();if(v)S.appendChild(this._createSelectionElement(T,f[0],g[0],w-T+1));else{var I=y===T?f[0]:0,L=T===w?g[0]:this._bufferService.cols;S.appendChild(this._createSelectionElement(T,I,L));var O=w-T-1;if(S.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,O)),T!==w){var N=E===w?g[0]:this._bufferService.cols;S.appendChild(this._createSelectionElement(w,0,N))}}this._selectionContainer.appendChild(S)}}},h.prototype._createSelectionElement=function(f,g,v,y){y===void 0&&(y=1);var E=document.createElement("div");return E.style.height=y*this.dimensions.actualCellHeight+"px",E.style.top=f*this.dimensions.actualCellHeight+"px",E.style.left=g*this.dimensions.actualCellWidth+"px",E.style.width=this.dimensions.actualCellWidth*(v-g)+"px",E},h.prototype.onCursorMove=function(){},h.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},h.prototype.clear=function(){for(var f=0,g=this._rowElements;f<g.length;f++)g[f].innerHTML=""},h.prototype.renderRows=function(f,g){for(var v=this._bufferService.buffer.ybase+this._bufferService.buffer.y,y=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),E=this._optionsService.options.cursorBlink,T=f;T<=g;T++){var w=this._rowElements[T];w.innerHTML="";var S=T+this._bufferService.buffer.ydisp,I=this._bufferService.buffer.lines.get(S),L=this._optionsService.options.cursorStyle;w.appendChild(this._rowFactory.createRow(I,S===v,L,y,E,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(h.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),h.prototype.registerCharacterJoiner=function(f){return-1},h.prototype.deregisterCharacterJoiner=function(f){return!1},h.prototype._onLinkHover=function(f){this._setCellUnderline(f.x1,f.x2,f.y1,f.y2,f.cols,!0)},h.prototype._onLinkLeave=function(f){this._setCellUnderline(f.x1,f.x2,f.y1,f.y2,f.cols,!1)},h.prototype._setCellUnderline=function(f,g,v,y,E,T){for(;f!==g||v!==y;){var w=this._rowElements[v];if(!w)return;var S=w.children[f];S&&(S.style.textDecoration=T?"underline":"none"),++f>=E&&(f=0,v++)}},h=m([p(6,i.ICharSizeService),p(7,n.IOptionsService),p(8,n.IBufferService)],h)}(r.Disposable);x.DomRenderer=l},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.DomRendererRowFactory=x.CURSOR_STYLE_UNDERLINE_CLASS=x.CURSOR_STYLE_BAR_CLASS=x.CURSOR_STYLE_BLOCK_CLASS=x.CURSOR_BLINK_CLASS=x.CURSOR_CLASS=x.UNDERLINE_CLASS=x.ITALIC_CLASS=x.DIM_CLASS=x.BOLD_CLASS=void 0;var A=C(9),b=C(3),m=C(4),p=C(10);x.BOLD_CLASS="xterm-bold",x.DIM_CLASS="xterm-dim",x.ITALIC_CLASS="xterm-italic",x.UNDERLINE_CLASS="xterm-underline",x.CURSOR_CLASS="xterm-cursor",x.CURSOR_BLINK_CLASS="xterm-cursor-blink",x.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",x.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",x.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var c=function(){function r(i,n,t){this._document=i,this._optionsService=n,this._colors=t,this._workCell=new m.CellData}return r.prototype.setColors=function(i){this._colors=i},r.prototype.createRow=function(i,n,t,s,e,a,l){for(var u=this._document.createDocumentFragment(),h=0,f=Math.min(i.length,l)-1;f>=0;f--)if(i.loadCell(f,this._workCell).getCode()!==b.NULL_CELL_CODE||n&&f===s){h=f+1;break}for(f=0;f<h;f++){i.loadCell(f,this._workCell);var g=this._workCell.getWidth();if(g!==0){var v=this._document.createElement("span");if(g>1&&(v.style.width=a*g+"px"),n&&f===s)switch(v.classList.add(x.CURSOR_CLASS),e&&v.classList.add(x.CURSOR_BLINK_CLASS),t){case"bar":v.classList.add(x.CURSOR_STYLE_BAR_CLASS);break;case"underline":v.classList.add(x.CURSOR_STYLE_UNDERLINE_CLASS);break;default:v.classList.add(x.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&v.classList.add(x.BOLD_CLASS),this._workCell.isItalic()&&v.classList.add(x.ITALIC_CLASS),this._workCell.isDim()&&v.classList.add(x.DIM_CLASS),this._workCell.isUnderline()&&v.classList.add(x.UNDERLINE_CLASS),this._workCell.isInvisible()?v.textContent=b.WHITESPACE_CELL_CHAR:v.textContent=this._workCell.getChars()||b.WHITESPACE_CELL_CHAR;var y=this._workCell.getFgColor(),E=this._workCell.getFgColorMode(),T=this._workCell.getBgColor(),w=this._workCell.getBgColorMode(),S=!!this._workCell.isInverse();if(S){var I=y;y=T,T=I;var L=E;E=w,w=L}switch(E){case 16777216:case 33554432:this._workCell.isBold()&&y<8&&this._optionsService.options.drawBoldTextInBrightColors&&(y+=8),this._applyMinimumContrast(v,this._colors.background,this._colors.ansi[y])||v.classList.add("xterm-fg-"+y);break;case 50331648:var O=p.rgba.toColor(y>>16&255,y>>8&255,255&y);this._applyMinimumContrast(v,this._colors.background,O)||this._addStyle(v,"color:#"+o(y.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(v,this._colors.background,this._colors.foreground)||S&&v.classList.add("xterm-fg-"+A.INVERTED_DEFAULT_COLOR)}switch(w){case 16777216:case 33554432:v.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(v,"background-color:#"+o(T.toString(16),"0",6));break;case 0:default:S&&v.classList.add("xterm-bg-"+A.INVERTED_DEFAULT_COLOR)}u.appendChild(v)}}return u},r.prototype._applyMinimumContrast=function(i,n,t){if(this._optionsService.options.minimumContrastRatio===1)return!1;var s=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return s===void 0&&(s=p.color.ensureContrastRatio(n,t,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,s!=null?s:null)),!!s&&(this._addStyle(i,"color:"+s.css),!0)},r.prototype._addStyle=function(i,n){i.setAttribute("style",""+(i.getAttribute("style")||"")+n+";")},r}();function o(r,i,n){for(;r.length<n;)r=i+r;return r}x.DomRendererRowFactory=c},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.evaluateKeyboardEvent=void 0;var A=C(12),b={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:["'",'"']};x.evaluateKeyboardEvent=function(m,p,c,o){var r={type:0,cancel:!1,key:void 0},i=(m.shiftKey?1:0)|(m.altKey?2:0)|(m.ctrlKey?4:0)|(m.metaKey?8:0);switch(m.keyCode){case 0:m.key==="UIKeyInputUpArrow"?r.key=p?A.C0.ESC+"OA":A.C0.ESC+"[A":m.key==="UIKeyInputLeftArrow"?r.key=p?A.C0.ESC+"OD":A.C0.ESC+"[D":m.key==="UIKeyInputRightArrow"?r.key=p?A.C0.ESC+"OC":A.C0.ESC+"[C":m.key==="UIKeyInputDownArrow"&&(r.key=p?A.C0.ESC+"OB":A.C0.ESC+"[B");break;case 8:if(m.shiftKey){r.key=A.C0.BS;break}if(m.altKey){r.key=A.C0.ESC+A.C0.DEL;break}r.key=A.C0.DEL;break;case 9:if(m.shiftKey){r.key=A.C0.ESC+"[Z";break}r.key=A.C0.HT,r.cancel=!0;break;case 13:r.key=m.altKey?A.C0.ESC+A.C0.CR:A.C0.CR,r.cancel=!0;break;case 27:r.key=A.C0.ESC,m.altKey&&(r.key=A.C0.ESC+A.C0.ESC),r.cancel=!0;break;case 37:if(m.metaKey)break;i?(r.key=A.C0.ESC+"[1;"+(i+1)+"D",r.key===A.C0.ESC+"[1;3D"&&(r.key=A.C0.ESC+(c?"b":"[1;5D"))):r.key=p?A.C0.ESC+"OD":A.C0.ESC+"[D";break;case 39:if(m.metaKey)break;i?(r.key=A.C0.ESC+"[1;"+(i+1)+"C",r.key===A.C0.ESC+"[1;3C"&&(r.key=A.C0.ESC+(c?"f":"[1;5C"))):r.key=p?A.C0.ESC+"OC":A.C0.ESC+"[C";break;case 38:if(m.metaKey)break;i?(r.key=A.C0.ESC+"[1;"+(i+1)+"A",c||r.key!==A.C0.ESC+"[1;3A"||(r.key=A.C0.ESC+"[1;5A")):r.key=p?A.C0.ESC+"OA":A.C0.ESC+"[A";break;case 40:if(m.metaKey)break;i?(r.key=A.C0.ESC+"[1;"+(i+1)+"B",c||r.key!==A.C0.ESC+"[1;3B"||(r.key=A.C0.ESC+"[1;5B")):r.key=p?A.C0.ESC+"OB":A.C0.ESC+"[B";break;case 45:m.shiftKey||m.ctrlKey||(r.key=A.C0.ESC+"[2~");break;case 46:r.key=i?A.C0.ESC+"[3;"+(i+1)+"~":A.C0.ESC+"[3~";break;case 36:r.key=i?A.C0.ESC+"[1;"+(i+1)+"H":p?A.C0.ESC+"OH":A.C0.ESC+"[H";break;case 35:r.key=i?A.C0.ESC+"[1;"+(i+1)+"F":p?A.C0.ESC+"OF":A.C0.ESC+"[F";break;case 33:m.shiftKey?r.type=2:r.key=A.C0.ESC+"[5~";break;case 34:m.shiftKey?r.type=3:r.key=A.C0.ESC+"[6~";break;case 112:r.key=i?A.C0.ESC+"[1;"+(i+1)+"P":A.C0.ESC+"OP";break;case 113:r.key=i?A.C0.ESC+"[1;"+(i+1)+"Q":A.C0.ESC+"OQ";break;case 114:r.key=i?A.C0.ESC+"[1;"+(i+1)+"R":A.C0.ESC+"OR";break;case 115:r.key=i?A.C0.ESC+"[1;"+(i+1)+"S":A.C0.ESC+"OS";break;case 116:r.key=i?A.C0.ESC+"[15;"+(i+1)+"~":A.C0.ESC+"[15~";break;case 117:r.key=i?A.C0.ESC+"[17;"+(i+1)+"~":A.C0.ESC+"[17~";break;case 118:r.key=i?A.C0.ESC+"[18;"+(i+1)+"~":A.C0.ESC+"[18~";break;case 119:r.key=i?A.C0.ESC+"[19;"+(i+1)+"~":A.C0.ESC+"[19~";break;case 120:r.key=i?A.C0.ESC+"[20;"+(i+1)+"~":A.C0.ESC+"[20~";break;case 121:r.key=i?A.C0.ESC+"[21;"+(i+1)+"~":A.C0.ESC+"[21~";break;case 122:r.key=i?A.C0.ESC+"[23;"+(i+1)+"~":A.C0.ESC+"[23~";break;case 123:r.key=i?A.C0.ESC+"[24;"+(i+1)+"~":A.C0.ESC+"[24~";break;default:if(!m.ctrlKey||m.shiftKey||m.altKey||m.metaKey)if(c&&!o||!m.altKey||m.metaKey)c&&!m.altKey&&!m.ctrlKey&&m.metaKey?m.keyCode===65&&(r.type=1):m.key&&!m.ctrlKey&&!m.altKey&&!m.metaKey&&m.keyCode>=48&&m.key.length===1?r.key=m.key:m.key&&m.ctrlKey&&m.key==="_"&&(r.key=A.C0.US);else{var n=b[m.keyCode],t=n&&n[m.shiftKey?1:0];if(t)r.key=A.C0.ESC+t;else if(m.keyCode>=65&&m.keyCode<=90){var s=m.ctrlKey?m.keyCode-64:m.keyCode+32;r.key=A.C0.ESC+String.fromCharCode(s)}}else m.keyCode>=65&&m.keyCode<=90?r.key=String.fromCharCode(m.keyCode-64):m.keyCode===32?r.key=A.C0.NUL:m.keyCode>=51&&m.keyCode<=55?r.key=String.fromCharCode(m.keyCode-51+27):m.keyCode===56?r.key=A.C0.DEL:m.keyCode===219?r.key=A.C0.ESC:m.keyCode===220?r.key=A.C0.FS:m.keyCode===221&&(r.key=A.C0.GS)}return r}},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(l,u){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,f){h.__proto__=f}||function(h,f){for(var g in f)f.hasOwnProperty(g)&&(h[g]=f[g])})(l,u)},function(a,l){function u(){this.constructor=a}A(a,l),a.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)}),m=this&&this.__decorate||function(a,l,u,h){var f,g=arguments.length,v=g<3?l:h===null?h=Object.getOwnPropertyDescriptor(l,u):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(a,l,u,h);else for(var y=a.length-1;y>=0;y--)(f=a[y])&&(v=(g<3?f(v):g>3?f(l,u,v):f(l,u))||v);return g>3&&v&&Object.defineProperty(l,u,v),v},p=this&&this.__param||function(a,l){return function(u,h){l(u,h,a)}};Object.defineProperty(x,"__esModule",{value:!0}),x.RenderService=void 0;var c=C(31),o=C(0),r=C(2),i=C(32),n=C(7),t=C(1),s=C(5),e=function(a){function l(u,h,f,g,v,y){var E=a.call(this)||this;if(E._renderer=u,E._rowCount=h,E._isPaused=!1,E._needsFullRefresh=!1,E._isNextRenderRedrawOnly=!0,E._needsSelectionRefresh=!1,E._canvasWidth=0,E._canvasHeight=0,E._selectionState={start:void 0,end:void 0,columnSelectMode:!1},E._onDimensionsChange=new o.EventEmitter,E._onRender=new o.EventEmitter,E._onRefreshRequest=new o.EventEmitter,E.register({dispose:function(){return E._renderer.dispose()}}),E._renderDebouncer=new c.RenderDebouncer(function(w,S){return E._renderRows(w,S)}),E.register(E._renderDebouncer),E._screenDprMonitor=new i.ScreenDprMonitor,E._screenDprMonitor.setListener(function(){return E.onDevicePixelRatioChange()}),E.register(E._screenDprMonitor),E.register(y.onResize(function(w){return E._fullRefresh()})),E.register(g.onOptionChange(function(){return E._renderer.onOptionsChanged()})),E.register(v.onCharSizeChange(function(){return E.onCharSizeChanged()})),E._renderer.onRequestRedraw(function(w){return E.refreshRows(w.start,w.end,!0)}),E.register(n.addDisposableDomListener(window,"resize",function(){return E.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var T=new IntersectionObserver(function(w){return E._onIntersectionChange(w[w.length-1])},{threshold:0});T.observe(f),E.register({dispose:function(){return T.disconnect()}})}return E}return b(l,a),Object.defineProperty(l.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),l.prototype._onIntersectionChange=function(u){this._isPaused=u.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},l.prototype.refreshRows=function(u,h,f){f===void 0&&(f=!1),this._isPaused?this._needsFullRefresh=!0:(f||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(u,h,this._rowCount))},l.prototype._renderRows=function(u,h){this._renderer.renderRows(u,h),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:u,end:h}),this._isNextRenderRedrawOnly=!0},l.prototype.resize=function(u,h){this._rowCount=h,this._fireOnCanvasResize()},l.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},l.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},l.prototype.dispose=function(){a.prototype.dispose.call(this)},l.prototype.setRenderer=function(u){var h=this;this._renderer.dispose(),this._renderer=u,this._renderer.onRequestRedraw(function(f){return h.refreshRows(f.start,f.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},l.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},l.prototype.setColors=function(u){this._renderer.setColors(u),this._fullRefresh()},l.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},l.prototype.onResize=function(u,h){this._renderer.onResize(u,h),this._fullRefresh()},l.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},l.prototype.onBlur=function(){this._renderer.onBlur()},l.prototype.onFocus=function(){this._renderer.onFocus()},l.prototype.onSelectionChanged=function(u,h,f){this._selectionState.start=u,this._selectionState.end=h,this._selectionState.columnSelectMode=f,this._renderer.onSelectionChanged(u,h,f)},l.prototype.onCursorMove=function(){this._renderer.onCursorMove()},l.prototype.clear=function(){this._renderer.clear()},l.prototype.registerCharacterJoiner=function(u){return this._renderer.registerCharacterJoiner(u)},l.prototype.deregisterCharacterJoiner=function(u){return this._renderer.deregisterCharacterJoiner(u)},l=m([p(3,t.IOptionsService),p(4,s.ICharSizeService),p(5,t.IBufferService)],l)}(r.Disposable);x.RenderService=e},function(_,x,C){"use strict";var A=this&&this.__decorate||function(r,i,n,t){var s,e=arguments.length,a=e<3?i:t===null?t=Object.getOwnPropertyDescriptor(i,n):t;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,i,n,t);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(e<3?s(a):e>3?s(i,n,a):s(i,n))||a);return e>3&&a&&Object.defineProperty(i,n,a),a},b=this&&this.__param||function(r,i){return function(n,t){i(n,t,r)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CharSizeService=void 0;var m=C(1),p=C(0),c=function(){function r(i,n,t){this._optionsService=t,this.width=0,this.height=0,this._onCharSizeChange=new p.EventEmitter,this._measureStrategy=new o(i,n,this._optionsService)}return Object.defineProperty(r.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),r.prototype.measure=function(){var i=this._measureStrategy.measure();i.width===this.width&&i.height===this.height||(this.width=i.width,this.height=i.height,this._onCharSizeChange.fire())},r=A([b(2,m.IOptionsService)],r)}();x.CharSizeService=c;var o=function(){function r(i,n,t){this._document=i,this._parentElement=n,this._optionsService=t,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return r.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var i=this._measureElement.getBoundingClientRect();return i.width!==0&&i.height!==0&&(this._result.width=i.width,this._result.height=Math.ceil(i.height)),this._result},r}()},function(_,x,C){"use strict";var A=this&&this.__decorate||function(o,r,i,n){var t,s=arguments.length,e=s<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,i):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,r,i,n);else for(var a=o.length-1;a>=0;a--)(t=o[a])&&(e=(s<3?t(e):s>3?t(r,i,e):t(r,i))||e);return s>3&&e&&Object.defineProperty(r,i,e),e},b=this&&this.__param||function(o,r){return function(i,n){r(i,n,o)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseService=void 0;var m=C(5),p=C(30),c=function(){function o(r,i){this._renderService=r,this._charSizeService=i}return o.prototype.getCoords=function(r,i,n,t,s){return p.getCoords(r,i,n,t,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,s)},o.prototype.getRawByteCoords=function(r,i,n,t){var s=this.getCoords(r,i,n,t);return p.getRawByteCoords(s)},o=A([b(0,m.IRenderService),b(1,m.ICharSizeService)],o)}();x.MouseService=c},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,e){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,e)},function(t,s){function e(){this.constructor=t}A(t,s),t.prototype=s===null?Object.create(s):(e.prototype=s.prototype,new e)}),m=this&&this.__decorate||function(t,s,e,a){var l,u=arguments.length,h=u<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(t,s,e,a);else for(var f=t.length-1;f>=0;f--)(l=t[f])&&(h=(u<3?l(h):u>3?l(s,e,h):l(s,e))||h);return u>3&&h&&Object.defineProperty(s,e,h),h},p=this&&this.__param||function(t,s){return function(e,a){s(e,a,t)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Linkifier2=void 0;var c=C(1),o=C(0),r=C(2),i=C(7),n=function(t){function s(e){var a=t.call(this)||this;return a._bufferService=e,a._linkProviders=[],a._linkCacheDisposables=[],a._isMouseOut=!0,a._activeLine=-1,a._onShowLinkUnderline=a.register(new o.EventEmitter),a._onHideLinkUnderline=a.register(new o.EventEmitter),a.register(r.getDisposeArrayDisposable(a._linkCacheDisposables)),a}return b(s,t),Object.defineProperty(s.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),s.prototype.registerLinkProvider=function(e){var a=this;return this._linkProviders.push(e),{dispose:function(){var u=a._linkProviders.indexOf(e);u!==-1&&a._linkProviders.splice(u,1)}}},s.prototype.attachToDom=function(e,a,l){var u=this;this._element=e,this._mouseService=a,this._renderService=l,this.register(i.addDisposableDomListener(this._element,"mouseleave",function(){u._isMouseOut=!0,u._clearCurrentLink()})),this.register(i.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(i.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},s.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var a=this._positionFromMouseEvent(e,this._element,this._mouseService);if(a){this._isMouseOut=!1;for(var l=e.composedPath(),u=0;u<l.length;u++){var h=l[u];if(h.classList.contains("xterm"))break;if(h.classList.contains("xterm-hover"))return}this._lastBufferCell&&a.x===this._lastBufferCell.x&&a.y===this._lastBufferCell.y||(this._onHover(a),this._lastBufferCell=a)}}},s.prototype._onHover=function(e){if(this._activeLine!==e.y)return this._clearCurrentLink(),void this._askForLink(e,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))},s.prototype._askForLink=function(e,a){var l=this;this._activeProviderReplies&&a||(this._activeProviderReplies=new Map,this._activeLine=e.y);var u=!1;this._linkProviders.forEach(function(h,f){var g;a?((g=l._activeProviderReplies)===null||g===void 0?void 0:g.get(f))&&(u=l._checkLinkProviderResult(f,e,u)):h.provideLinks(e.y,function(v){var y,E;if(!l._isMouseOut){var T=v==null?void 0:v.map(function(w){return{link:w}});(y=l._activeProviderReplies)===null||y===void 0||y.set(f,T),u=l._checkLinkProviderResult(f,e,u),((E=l._activeProviderReplies)===null||E===void 0?void 0:E.size)===l._linkProviders.length&&l._removeIntersectingLinks(e.y,l._activeProviderReplies)}})})},s.prototype._removeIntersectingLinks=function(e,a){for(var l=new Set,u=0;u<a.size;u++){var h=a.get(u);if(h)for(var f=0;f<h.length;f++)for(var g=h[f],v=g.link.range.start.y<e?0:g.link.range.start.x,y=g.link.range.end.y>e?this._bufferService.cols:g.link.range.end.x,E=v;E<=y;E++){if(l.has(E)){h.splice(f--,1);break}l.add(E)}}},s.prototype._checkLinkProviderResult=function(e,a,l){var u,h=this;if(!this._activeProviderReplies)return l;for(var f=this._activeProviderReplies.get(e),g=!1,v=0;v<e;v++)this._activeProviderReplies.has(v)&&!this._activeProviderReplies.get(v)||(g=!0);if(!g&&f){var y=f.find(function(T){return h._linkAtPosition(T.link,a)});y&&(l=!0,this._handleNewLink(y))}if(this._activeProviderReplies.size===this._linkProviders.length&&!l)for(v=0;v<this._activeProviderReplies.size;v++){var E=(u=this._activeProviderReplies.get(v))===null||u===void 0?void 0:u.find(function(T){return h._linkAtPosition(T.link,a)});if(E){l=!0,this._handleNewLink(E);break}}return l},s.prototype._onClick=function(e){if(this._element&&this._mouseService&&this._currentLink){var a=this._positionFromMouseEvent(e,this._element,this._mouseService);a&&this._linkAtPosition(this._currentLink.link,a)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},s.prototype._clearCurrentLink=function(e,a){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!a||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=a)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,r.disposeArray(this._linkCacheDisposables))},s.prototype._handleNewLink=function(e){var a=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var l=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);l&&this._linkAtPosition(e.link,l)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:e.link.decorations===void 0||e.link.decorations.underline,pointerCursor:e.link.decorations===void 0||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var h,f;return(f=(h=a._currentLink)===null||h===void 0?void 0:h.state)===null||f===void 0?void 0:f.decorations.pointerCursor},set:function(h){var f,g;((f=a._currentLink)===null||f===void 0?void 0:f.state)&&a._currentLink.state.decorations.pointerCursor!==h&&(a._currentLink.state.decorations.pointerCursor=h,a._currentLink.state.isHovered&&((g=a._element)===null||g===void 0||g.classList.toggle("xterm-cursor-pointer",h)))}},underline:{get:function(){var h,f;return(f=(h=a._currentLink)===null||h===void 0?void 0:h.state)===null||f===void 0?void 0:f.decorations.underline},set:function(h){var f,g,v;((f=a._currentLink)===null||f===void 0?void 0:f.state)&&((v=(g=a._currentLink)===null||g===void 0?void 0:g.state)===null||v===void 0?void 0:v.decorations.underline)!==h&&(a._currentLink.state.decorations.underline=h,a._currentLink.state.isHovered&&a._fireUnderlineEvent(e.link,h))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(u){var h=u.start===0?0:u.start+1+a._bufferService.buffer.ydisp;a._clearCurrentLink(h,u.end+1+a._bufferService.buffer.ydisp)})))}},s.prototype._linkHover=function(e,a,l){var u;((u=this._currentLink)===null||u===void 0?void 0:u.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(a,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),a.hover&&a.hover(l,a.text)},s.prototype._fireUnderlineEvent=function(e,a){var l=e.range,u=this._bufferService.buffer.ydisp,h=this._createLinkUnderlineEvent(l.start.x-1,l.start.y-u-1,l.end.x,l.end.y-u-1,void 0);(a?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(h)},s.prototype._linkLeave=function(e,a,l){var u;((u=this._currentLink)===null||u===void 0?void 0:u.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(a,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),a.leave&&a.leave(l,a.text)},s.prototype._linkAtPosition=function(e,a){var l=e.range.start.y===e.range.end.y,u=e.range.start.y<a.y,h=e.range.end.y>a.y;return(l&&e.range.start.x<=a.x&&e.range.end.x>=a.x||u&&e.range.end.x>=a.x||h&&e.range.start.x<=a.x||u&&h)&&e.range.start.y<=a.y&&e.range.end.y>=a.y},s.prototype._positionFromMouseEvent=function(e,a,l){var u=l.getCoords(e,a,this._bufferService.cols,this._bufferService.rows);if(u)return{x:u[0],y:u[1]+this._bufferService.buffer.ydisp}},s.prototype._createLinkUnderlineEvent=function(e,a,l,u,h){return{x1:e,y1:a,x2:l,y2:u,cols:this._bufferService.cols,fg:h}},s=m([p(0,c.IBufferService)],s)}(r.Disposable);x.Linkifier2=n},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CoreBrowserService=void 0;var A=function(){function b(m){this._textarea=m}return Object.defineProperty(b.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),b}();x.CoreBrowserService=A},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(y,E){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,w){T.__proto__=w}||function(T,w){for(var S in w)w.hasOwnProperty(S)&&(T[S]=w[S])})(y,E)},function(v,y){function E(){this.constructor=v}A(v,y),v.prototype=y===null?Object.create(y):(E.prototype=y.prototype,new E)});Object.defineProperty(x,"__esModule",{value:!0}),x.CoreTerminal=void 0;var m=C(2),p=C(1),c=C(66),o=C(67),r=C(68),i=C(74),n=C(75),t=C(0),s=C(76),e=C(77),a=C(78),l=C(80),u=C(81),h=C(19),f=C(82),g=function(v){function y(E){var T=v.call(this)||this;return T._onBinary=new t.EventEmitter,T._onData=new t.EventEmitter,T._onLineFeed=new t.EventEmitter,T._onResize=new t.EventEmitter,T._onScroll=new t.EventEmitter,T._instantiationService=new c.InstantiationService,T.optionsService=new i.OptionsService(E),T._instantiationService.setService(p.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(r.BufferService)),T._instantiationService.setService(p.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(o.LogService),T._instantiationService.setService(p.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(n.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(p.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(s.CoreMouseService),T._instantiationService.setService(p.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(e.DirtyRowService),T._instantiationService.setService(p.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(a.UnicodeService),T._instantiationService.setService(p.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(l.CharsetService),T._instantiationService.setService(p.ICharsetService,T._charsetService),T._inputHandler=new h.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(t.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(t.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(t.forwardEvent(T._coreService.onData,T._onData)),T.register(t.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(w){return T._updateOptions(w)})),T._writeBuffer=new f.WriteBuffer(function(w){return T._inputHandler.parse(w)}),T}return b(y,v),Object.defineProperty(y.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){var E;this._isDisposed||(v.prototype.dispose.call(this),(E=this._windowsMode)===null||E===void 0||E.dispose(),this._windowsMode=void 0)},y.prototype.write=function(E,T){this._writeBuffer.write(E,T)},y.prototype.writeSync=function(E){this._writeBuffer.writeSync(E)},y.prototype.resize=function(E,T){isNaN(E)||isNaN(T)||(E=Math.max(E,r.MINIMUM_COLS),T=Math.max(T,r.MINIMUM_ROWS),this._bufferService.resize(E,T))},y.prototype.scroll=function(E,T){T===void 0&&(T=!1);var w,S=this._bufferService.buffer;(w=this._cachedBlankLine)&&w.length===this.cols&&w.getFg(0)===E.fg&&w.getBg(0)===E.bg||(w=S.getBlankLine(E,T),this._cachedBlankLine=w),w.isWrapped=T;var I=S.ybase+S.scrollTop,L=S.ybase+S.scrollBottom;if(S.scrollTop===0){var O=S.lines.isFull;L===S.lines.length-1?O?S.lines.recycle().copyFrom(w):S.lines.push(w.clone()):S.lines.splice(L+1,0,w.clone()),O?this._bufferService.isUserScrolling&&(S.ydisp=Math.max(S.ydisp-1,0)):(S.ybase++,this._bufferService.isUserScrolling||S.ydisp++)}else{var N=L-I+1;S.lines.shiftElements(I+1,N-1,-1),S.lines.set(L,w.clone())}this._bufferService.isUserScrolling||(S.ydisp=S.ybase),this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom),this._onScroll.fire(S.ydisp)},y.prototype.scrollLines=function(E,T){var w=this._bufferService.buffer;if(E<0){if(w.ydisp===0)return;this._bufferService.isUserScrolling=!0}else E+w.ydisp>=w.ybase&&(this._bufferService.isUserScrolling=!1);var S=w.ydisp;w.ydisp=Math.max(Math.min(w.ydisp+E,w.ybase),0),S!==w.ydisp&&(T||this._onScroll.fire(w.ydisp))},y.prototype.scrollPages=function(E){this.scrollLines(E*(this.rows-1))},y.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},y.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},y.prototype.scrollToLine=function(E){var T=E-this._bufferService.buffer.ydisp;T!==0&&this.scrollLines(T)},y.prototype.addEscHandler=function(E,T){return this._inputHandler.addEscHandler(E,T)},y.prototype.addDcsHandler=function(E,T){return this._inputHandler.addDcsHandler(E,T)},y.prototype.addCsiHandler=function(E,T){return this._inputHandler.addCsiHandler(E,T)},y.prototype.addOscHandler=function(E,T){return this._inputHandler.addOscHandler(E,T)},y.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},y.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},y.prototype._updateOptions=function(E){var T;switch(E){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)}},y.prototype._enableWindowsMode=function(){var E=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(u.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return u.updateWindowsModeWrappedState(E._bufferService),!1})),this._windowsMode={dispose:function(){for(var S=0,I=T;S<I.length;S++)I[S].dispose()}}}},y}(m.Disposable);x.CoreTerminal=g},function(_,x,C){"use strict";var A=this&&this.__spreadArrays||function(){for(var o=0,r=0,i=arguments.length;r<i;r++)o+=arguments[r].length;var n=Array(o),t=0;for(r=0;r<i;r++)for(var s=arguments[r],e=0,a=s.length;e<a;e++,t++)n[t]=s[e];return n};Object.defineProperty(x,"__esModule",{value:!0}),x.InstantiationService=x.ServiceCollection=void 0;var b=C(1),m=C(14),p=function(){function o(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this._entries=new Map;for(var n=0,t=r;n<t.length;n++){var s=t[n],e=s[0],a=s[1];this.set(e,a)}}return o.prototype.set=function(r,i){var n=this._entries.get(r);return this._entries.set(r,i),n},o.prototype.forEach=function(r){this._entries.forEach(function(i,n){return r(n,i)})},o.prototype.has=function(r){return this._entries.has(r)},o.prototype.get=function(r){return this._entries.get(r)},o}();x.ServiceCollection=p;var c=function(){function o(){this._services=new p,this._services.set(b.IInstantiationService,this)}return o.prototype.setService=function(r,i){this._services.set(r,i)},o.prototype.getService=function(r){return this._services.get(r)},o.prototype.createInstance=function(r){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];for(var t=m.getServiceDependencies(r).sort(function(f,g){return f.index-g.index}),s=[],e=0,a=t;e<a.length;e++){var l=a[e],u=this._services.get(l.id);if(!u)throw new Error("[createInstance] "+r.name+" depends on UNKNOWN service "+l.id+".");s.push(u)}var h=t.length>0?t[0].index:i.length;if(i.length!==h)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(h+1)+" conflicts with "+i.length+" static arguments");return new(r.bind.apply(r,A([void 0],A(i,s))))},o}();x.InstantiationService=c},function(_,x,C){"use strict";var A=this&&this.__decorate||function(i,n,t,s){var e,a=arguments.length,l=a<3?n:s===null?s=Object.getOwnPropertyDescriptor(n,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(i,n,t,s);else for(var u=i.length-1;u>=0;u--)(e=i[u])&&(l=(a<3?e(l):a>3?e(n,t,l):e(n,t))||l);return a>3&&l&&Object.defineProperty(n,t,l),l},b=this&&this.__param||function(i,n){return function(t,s){n(t,s,i)}},m=this&&this.__spreadArrays||function(){for(var i=0,n=0,t=arguments.length;n<t;n++)i+=arguments[n].length;var s=Array(i),e=0;for(n=0;n<t;n++)for(var a=arguments[n],l=0,u=a.length;l<u;l++,e++)s[e]=a[l];return s};Object.defineProperty(x,"__esModule",{value:!0}),x.LogService=x.LogLevel=void 0;var p,c=C(1);!function(i){i[i.DEBUG=0]="DEBUG",i[i.INFO=1]="INFO",i[i.WARN=2]="WARN",i[i.ERROR=3]="ERROR",i[i.OFF=4]="OFF"}(p=x.LogLevel||(x.LogLevel={}));var o={debug:p.DEBUG,info:p.INFO,warn:p.WARN,error:p.ERROR,off:p.OFF},r=function(){function i(n){var t=this;this._optionsService=n,this._updateLogLevel(),this._optionsService.onOptionChange(function(s){s==="logLevel"&&t._updateLogLevel()})}return i.prototype._updateLogLevel=function(){this._logLevel=o[this._optionsService.options.logLevel]},i.prototype._evalLazyOptionalParams=function(n){for(var t=0;t<n.length;t++)typeof n[t]=="function"&&(n[t]=n[t]())},i.prototype._log=function(n,t,s){this._evalLazyOptionalParams(s),n.call.apply(n,m([console,"xterm.js: "+t],s))},i.prototype.debug=function(n){for(var t=[],s=1;s<arguments.length;s++)t[s-1]=arguments[s];this._logLevel<=p.DEBUG&&this._log(console.log,n,t)},i.prototype.info=function(n){for(var t=[],s=1;s<arguments.length;s++)t[s-1]=arguments[s];this._logLevel<=p.INFO&&this._log(console.info,n,t)},i.prototype.warn=function(n){for(var t=[],s=1;s<arguments.length;s++)t[s-1]=arguments[s];this._logLevel<=p.WARN&&this._log(console.warn,n,t)},i.prototype.error=function(n){for(var t=[],s=1;s<arguments.length;s++)t[s-1]=arguments[s];this._logLevel<=p.ERROR&&this._log(console.error,n,t)},i=A([b(0,c.IOptionsService)],i)}();x.LogService=r},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,e){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,e)},function(t,s){function e(){this.constructor=t}A(t,s),t.prototype=s===null?Object.create(s):(e.prototype=s.prototype,new e)}),m=this&&this.__decorate||function(t,s,e,a){var l,u=arguments.length,h=u<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(t,s,e,a);else for(var f=t.length-1;f>=0;f--)(l=t[f])&&(h=(u<3?l(h):u>3?l(s,e,h):l(s,e))||h);return u>3&&h&&Object.defineProperty(s,e,h),h},p=this&&this.__param||function(t,s){return function(e,a){s(e,a,t)}};Object.defineProperty(x,"__esModule",{value:!0}),x.BufferService=x.MINIMUM_ROWS=x.MINIMUM_COLS=void 0;var c=C(1),o=C(69),r=C(0),i=C(2);x.MINIMUM_COLS=2,x.MINIMUM_ROWS=1;var n=function(t){function s(e){var a=t.call(this)||this;return a._optionsService=e,a.isUserScrolling=!1,a._onResize=new r.EventEmitter,a.cols=Math.max(e.options.cols,x.MINIMUM_COLS),a.rows=Math.max(e.options.rows,x.MINIMUM_ROWS),a.buffers=new o.BufferSet(e,a),a}return b(s,t),Object.defineProperty(s.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),s.prototype.dispose=function(){t.prototype.dispose.call(this),this.buffers.dispose()},s.prototype.resize=function(e,a){this.cols=e,this.rows=a,this.buffers.resize(e,a),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:a})},s.prototype.reset=function(){this.buffers.dispose(),this.buffers=new o.BufferSet(this._optionsService,this),this.isUserScrolling=!1},s=m([p(0,c.IOptionsService)],s)}(i.Disposable);x.BufferService=n},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(r,i){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var s in t)t.hasOwnProperty(s)&&(n[s]=t[s])})(r,i)},function(o,r){function i(){this.constructor=o}A(o,r),o.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)});Object.defineProperty(x,"__esModule",{value:!0}),x.BufferSet=void 0;var m=C(70),p=C(0),c=function(o){function r(i,n){var t=o.call(this)||this;return t._onBufferActivate=t.register(new p.EventEmitter),t._normal=new m.Buffer(!0,i,n),t._normal.fillViewportRows(),t._alt=new m.Buffer(!1,i,n),t._activeBuffer=t._normal,t.setupTabStops(),t}return b(r,o),Object.defineProperty(r.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),r.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},r.prototype.activateAltBuffer=function(i){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(i),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},r.prototype.resize=function(i,n){this._normal.resize(i,n),this._alt.resize(i,n)},r.prototype.setupTabStops=function(i){this._normal.setupTabStops(i),this._alt.setupTabStops(i)},r}(C(2).Disposable);x.BufferSet=c},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.BufferStringIterator=x.Buffer=x.MAX_BUFFER_SIZE=void 0;var A=C(71),b=C(16),m=C(4),p=C(3),c=C(72),o=C(73),r=C(20),i=C(6);x.MAX_BUFFER_SIZE=4294967295;var n=function(){function s(e,a,l){this._hasScrollback=e,this._optionsService=a,this._bufferService=l,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=b.DEFAULT_ATTR_DATA.clone(),this.savedCharset=r.DEFAULT_CHARSET,this.markers=[],this._nullCell=m.CellData.fromCharData([0,p.NULL_CELL_CHAR,p.NULL_CELL_WIDTH,p.NULL_CELL_CODE]),this._whitespaceCell=m.CellData.fromCharData([0,p.WHITESPACE_CELL_CHAR,p.WHITESPACE_CELL_WIDTH,p.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new A.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return s.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new i.ExtendedAttrs),this._nullCell},s.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new i.ExtendedAttrs),this._whitespaceCell},s.prototype.getBlankLine=function(e,a){return new b.BufferLine(this._bufferService.cols,this.getNullCell(e),a)},Object.defineProperty(s.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCursorInViewport",{get:function(){var a=this.ybase+this.y-this.ydisp;return a>=0&&a<this._rows},enumerable:!1,configurable:!0}),s.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var a=e+this._optionsService.options.scrollback;return a>x.MAX_BUFFER_SIZE?x.MAX_BUFFER_SIZE:a},s.prototype.fillViewportRows=function(e){if(this.lines.length===0){e===void 0&&(e=b.DEFAULT_ATTR_DATA);for(var a=this._rows;a--;)this.lines.push(this.getBlankLine(e))}},s.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new A.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},s.prototype.resize=function(e,a){var l=this.getNullCell(b.DEFAULT_ATTR_DATA),u=this._getCorrectBufferLength(a);if(u>this.lines.maxLength&&(this.lines.maxLength=u),this.lines.length>0){if(this._cols<e)for(var h=0;h<this.lines.length;h++)this.lines.get(h).resize(e,l);var f=0;if(this._rows<a)for(var g=this._rows;g<a;g++)this.lines.length<a+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new b.BufferLine(e,l)):this.ybase>0&&this.lines.length<=this.ybase+this.y+f+1?(this.ybase--,f++,this.ydisp>0&&this.ydisp--):this.lines.push(new b.BufferLine(e,l)));else for(g=this._rows;g>a;g--)this.lines.length>a+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(u<this.lines.maxLength){var v=this.lines.length-u;v>0&&(this.lines.trimStart(v),this.ybase=Math.max(this.ybase-v,0),this.ydisp=Math.max(this.ydisp-v,0),this.savedY=Math.max(this.savedY-v,0)),this.lines.maxLength=u}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,a-1),f&&(this.y+=f),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=a-1,this._isReflowEnabled&&(this._reflow(e,a),this._cols>e))for(h=0;h<this.lines.length;h++)this.lines.get(h).resize(e,l);this._cols=e,this._rows=a},Object.defineProperty(s.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),s.prototype._reflow=function(e,a){this._cols!==e&&(e>this._cols?this._reflowLarger(e,a):this._reflowSmaller(e,a))},s.prototype._reflowLarger=function(e,a){var l=c.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(b.DEFAULT_ATTR_DATA));if(l.length>0){var u=c.reflowLargerCreateNewLayout(this.lines,l);c.reflowLargerApplyNewLayout(this.lines,u.layout),this._reflowLargerAdjustViewport(e,a,u.countRemoved)}},s.prototype._reflowLargerAdjustViewport=function(e,a,l){for(var u=this.getNullCell(b.DEFAULT_ATTR_DATA),h=l;h-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<a&&this.lines.push(new b.BufferLine(e,u))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-l,0)},s.prototype._reflowSmaller=function(e,a){for(var l=this.getNullCell(b.DEFAULT_ATTR_DATA),u=[],h=0,f=this.lines.length-1;f>=0;f--){var g=this.lines.get(f);if(!(!g||!g.isWrapped&&g.getTrimmedLength()<=e)){for(var v=[g];g.isWrapped&&f>0;)g=this.lines.get(--f),v.unshift(g);var y=this.ybase+this.y;if(!(y>=f&&y<f+v.length)){var E=v[v.length-1].getTrimmedLength(),T=c.reflowSmallerGetNewLineLengths(v,this._cols,e),w=T.length-v.length,S=void 0;S=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+w):Math.max(0,this.lines.length-this.lines.maxLength+w);for(var I=[],L=0;L<w;L++){var O=this.getBlankLine(b.DEFAULT_ATTR_DATA,!0);I.push(O)}I.length>0&&(u.push({start:f+v.length+h,newLines:I}),h+=I.length),v.push.apply(v,I);var N=T.length-1,R=T[N];R===0&&(R=T[--N]);for(var D=v.length-w-1,B=E;D>=0;){var M=Math.min(B,R);if(v[N].copyCellsFrom(v[D],B-M,R-M,M,!0),(R-=M)===0&&(R=T[--N]),(B-=M)===0){D--;var U=Math.max(D,0);B=c.getWrappedLineTrimmedLength(v,U,this._cols)}}for(L=0;L<v.length;L++)T[L]<e&&v[L].setCell(T[L],l);for(var F=w-S;F-- >0;)this.ybase===0?this.y<a-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+h)-a&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+w,this.ybase+a-1)}}}if(u.length>0){var j=[],W=[];for(L=0;L<this.lines.length;L++)W.push(this.lines.get(L));var V=this.lines.length,z=V-1,Y=0,J=u[Y];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+h);var ie=0;for(L=Math.min(this.lines.maxLength-1,V+h-1);L>=0;L--)if(J&&J.start>z+ie){for(var Z=J.newLines.length-1;Z>=0;Z--)this.lines.set(L--,J.newLines[Z]);L++,j.push({index:z+1,amount:J.newLines.length}),ie+=J.newLines.length,J=u[++Y]}else this.lines.set(L,W[z--]);var oe=0;for(L=j.length-1;L>=0;L--)j[L].index+=oe,this.lines.onInsertEmitter.fire(j[L]),oe+=j[L].amount;var ge=Math.max(0,V+h-this.lines.maxLength);ge>0&&this.lines.onTrimEmitter.fire(ge)}},s.prototype.stringIndexToBufferIndex=function(e,a,l){for(l===void 0&&(l=!1);a;){var u=this.lines.get(e);if(!u)return[-1,-1];for(var h=l?u.getTrimmedLength():u.length,f=0;f<h;++f)if(u.get(f)[p.CHAR_DATA_WIDTH_INDEX]&&(a-=u.get(f)[p.CHAR_DATA_CHAR_INDEX].length||1),a<0)return[e,f];e++}return[e,0]},s.prototype.translateBufferLineToString=function(e,a,l,u){l===void 0&&(l=0);var h=this.lines.get(e);return h?h.translateToString(a,l,u):""},s.prototype.getWrappedRangeForLine=function(e){for(var a=e,l=e;a>0&&this.lines.get(a).isWrapped;)a--;for(;l+1<this.lines.length&&this.lines.get(l+1).isWrapped;)l++;return{first:a,last:l}},s.prototype.setupTabStops=function(e){for(e!=null?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},s.prototype.prevStop=function(e){for(e==null&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e},s.prototype.nextStop=function(e){for(e==null&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},s.prototype.addMarker=function(e){var a=this,l=new o.Marker(e);return this.markers.push(l),l.register(this.lines.onTrim(function(u){l.line-=u,l.line<0&&l.dispose()})),l.register(this.lines.onInsert(function(u){l.line>=u.index&&(l.line+=u.amount)})),l.register(this.lines.onDelete(function(u){l.line>=u.index&&l.line<u.index+u.amount&&l.dispose(),l.line>u.index&&(l.line-=u.amount)})),l.register(l.onDispose(function(){return a._removeMarker(l)})),l},s.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},s.prototype.iterator=function(e,a,l,u,h){return new t(this,e,a,l,u,h)},s}();x.Buffer=n;var t=function(){function s(e,a,l,u,h,f){l===void 0&&(l=0),u===void 0&&(u=e.lines.length),h===void 0&&(h=0),f===void 0&&(f=0),this._buffer=e,this._trimRight=a,this._startIndex=l,this._endIndex=u,this._startOverscan=h,this._endOverscan=f,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return s.prototype.hasNext=function(){return this._current<this._endIndex},s.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var a="",l=e.first;l<=e.last;++l)a+=this._buffer.translateBufferLineToString(l,this._trimRight);return this._current=e.last+1,{range:e,content:a}},s}();x.BufferStringIterator=t},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CircularList=void 0;var A=C(0),b=function(){function m(p){this._maxLength=p,this.onDeleteEmitter=new A.EventEmitter,this.onInsertEmitter=new A.EventEmitter,this.onTrimEmitter=new A.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(m.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"maxLength",{get:function(){return this._maxLength},set:function(c){if(this._maxLength!==c){for(var o=new Array(c),r=0;r<Math.min(c,this.length);r++)o[r]=this._array[this._getCyclicIndex(r)];this._array=o,this._maxLength=c,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(m.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}),m.prototype.get=function(p){return this._array[this._getCyclicIndex(p)]},m.prototype.set=function(p,c){this._array[this._getCyclicIndex(p)]=c},m.prototype.push=function(p){this._array[this._getCyclicIndex(this._length)]=p,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},m.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(m.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),m.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},m.prototype.splice=function(p,c){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];if(c){for(var i=p;i<this._length-c;i++)this._array[this._getCyclicIndex(i)]=this._array[this._getCyclicIndex(i+c)];this._length-=c}for(i=this._length-1;i>=p;i--)this._array[this._getCyclicIndex(i+o.length)]=this._array[this._getCyclicIndex(i)];for(i=0;i<o.length;i++)this._array[this._getCyclicIndex(p+i)]=o[i];if(this._length+o.length>this._maxLength){var n=this._length+o.length-this._maxLength;this._startIndex+=n,this._length=this._maxLength,this.onTrimEmitter.fire(n)}else this._length+=o.length},m.prototype.trimStart=function(p){p>this._length&&(p=this._length),this._startIndex+=p,this._length-=p,this.onTrimEmitter.fire(p)},m.prototype.shiftElements=function(p,c,o){if(!(c<=0)){if(p<0||p>=this._length)throw new Error("start argument out of range");if(p+o<0)throw new Error("Cannot shift elements in list beyond index 0");if(o>0){for(var r=c-1;r>=0;r--)this.set(p+r+o,this.get(p+r));var i=p+c+o-this._length;if(i>0)for(this._length+=i;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<c;r++)this.set(p+r+o,this.get(p+r))}},m.prototype._getCyclicIndex=function(p){return(this._startIndex+p)%this._maxLength},m}();x.CircularList=b},function(_,x,C){"use strict";function A(b,m,p){if(m===b.length-1)return b[m].getTrimmedLength();var c=!b[m].hasContent(p-1)&&b[m].getWidth(p-1)===1,o=b[m+1].getWidth(0)===2;return c&&o?p-1:p}Object.defineProperty(x,"__esModule",{value:!0}),x.getWrappedLineTrimmedLength=x.reflowSmallerGetNewLineLengths=x.reflowLargerApplyNewLayout=x.reflowLargerCreateNewLayout=x.reflowLargerGetLinesToRemove=void 0,x.reflowLargerGetLinesToRemove=function(b,m,p,c,o){for(var r=[],i=0;i<b.length-1;i++){var n=i,t=b.get(++n);if(t.isWrapped){for(var s=[b.get(i)];n<b.length&&t.isWrapped;)s.push(t),t=b.get(++n);if(c>=i&&c<n)i+=s.length-1;else{for(var e=0,a=A(s,e,m),l=1,u=0;l<s.length;){var h=A(s,l,m),f=h-u,g=p-a,v=Math.min(f,g);s[e].copyCellsFrom(s[l],u,a,v,!1),(a+=v)===p&&(e++,a=0),(u+=v)===h&&(l++,u=0),a===0&&e!==0&&s[e-1].getWidth(p-1)===2&&(s[e].copyCellsFrom(s[e-1],p-1,a++,1,!1),s[e-1].setCell(p-1,o))}s[e].replaceCells(a,p,o);for(var y=0,E=s.length-1;E>0&&(E>e||s[E].getTrimmedLength()===0);E--)y++;y>0&&(r.push(i+s.length-y),r.push(y)),i+=s.length-1}}}return r},x.reflowLargerCreateNewLayout=function(b,m){for(var p=[],c=0,o=m[c],r=0,i=0;i<b.length;i++)if(o===i){var n=m[++c];b.onDeleteEmitter.fire({index:i-r,amount:n}),i+=n-1,r+=n,o=m[++c]}else p.push(i);return{layout:p,countRemoved:r}},x.reflowLargerApplyNewLayout=function(b,m){for(var p=[],c=0;c<m.length;c++)p.push(b.get(m[c]));for(c=0;c<p.length;c++)b.set(c,p[c]);b.length=m.length},x.reflowSmallerGetNewLineLengths=function(b,m,p){for(var c=[],o=b.map(function(a,l){return A(b,l,m)}).reduce(function(a,l){return a+l}),r=0,i=0,n=0;n<o;){if(o-n<p){c.push(o-n);break}r+=p;var t=A(b,i,m);r>t&&(r-=t,i++);var s=b[i].getWidth(r-1)===2;s&&r--;var e=s?p-1:p;c.push(e),n+=e}return c},x.getWrappedLineTrimmedLength=A},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(o,r){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var t in n)n.hasOwnProperty(t)&&(i[t]=n[t])})(o,r)},function(c,o){function r(){this.constructor=c}A(c,o),c.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)});Object.defineProperty(x,"__esModule",{value:!0}),x.Marker=void 0;var m=C(0),p=function(c){function o(r){var i=c.call(this)||this;return i.line=r,i._id=o._nextId++,i.isDisposed=!1,i._onDispose=new m.EventEmitter,i}return b(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}(C(2).Disposable);x.Marker=p},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.OptionsService=x.DEFAULT_OPTIONS=x.DEFAULT_BELL_SOUND=void 0;var A=C(0),b=C(11),m=C(33);x.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",x.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:x.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:b.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var p=["cols","rows"],c=function(){function o(r){this._onOptionChange=new A.EventEmitter,this.options=m.clone(x.DEFAULT_OPTIONS);for(var i=0,n=Object.keys(r);i<n.length;i++){var t=n[i];if(t in this.options){var s=r[t];this.options[t]=s}}}return Object.defineProperty(o.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),o.prototype.setOption=function(r,i){if(!(r in x.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');if(p.indexOf(r)!==-1)throw new Error('Option "'+r+'" can only be set in the constructor');this.options[r]!==i&&(i=this._sanitizeAndValidateOption(r,i),this.options[r]!==i&&(this.options[r]=i,this._onOptionChange.fire(r)))},o.prototype._sanitizeAndValidateOption=function(r,i){switch(r){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":i||(i=x.DEFAULT_OPTIONS[r]);break;case"cursorWidth":i=Math.floor(i);case"lineHeight":case"tabStopWidth":if(i<1)throw new Error(r+" cannot be less than 1, value: "+i);break;case"minimumContrastRatio":i=Math.max(1,Math.min(21,Math.round(10*i)/10));break;case"scrollback":if((i=Math.min(i,4294967295))<0)throw new Error(r+" cannot be less than 0, value: "+i);break;case"fastScrollSensitivity":case"scrollSensitivity":if(i<=0)throw new Error(r+" cannot be less than or equal to 0, value: "+i)}return i},o.prototype.getOption=function(r){if(!(r in x.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');return this.options[r]},o}();x.OptionsService=c},function(_,x,C){"use strict";var A,b=this&&this.__extends||(A=function(a,l){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,h){u.__proto__=h}||function(u,h){for(var f in h)h.hasOwnProperty(f)&&(u[f]=h[f])})(a,l)},function(e,a){function l(){this.constructor=e}A(e,a),e.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)}),m=this&&this.__decorate||function(e,a,l,u){var h,f=arguments.length,g=f<3?a:u===null?u=Object.getOwnPropertyDescriptor(a,l):u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(e,a,l,u);else for(var v=e.length-1;v>=0;v--)(h=e[v])&&(g=(f<3?h(g):f>3?h(a,l,g):h(a,l))||g);return f>3&&g&&Object.defineProperty(a,l,g),g},p=this&&this.__param||function(e,a){return function(l,u){a(l,u,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CoreService=void 0;var c=C(1),o=C(0),r=C(33),i=C(2),n=Object.freeze({insertMode:!1}),t=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),s=function(e){function a(l,u,h,f){var g=e.call(this)||this;return g._bufferService=u,g._logService=h,g._optionsService=f,g.isCursorInitialized=!1,g.isCursorHidden=!1,g._onData=g.register(new o.EventEmitter),g._onUserInput=g.register(new o.EventEmitter),g._onBinary=g.register(new o.EventEmitter),g._scrollToBottom=l,g.register({dispose:function(){return g._scrollToBottom=void 0}}),g.modes=r.clone(n),g.decPrivateModes=r.clone(t),g}return b(a,e),Object.defineProperty(a.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),a.prototype.reset=function(){this.modes=r.clone(n),this.decPrivateModes=r.clone(t)},a.prototype.triggerDataEvent=function(l,u){if(u===void 0&&(u=!1),!this._optionsService.options.disableStdin){var h=this._bufferService.buffer;h.ybase!==h.ydisp&&this._scrollToBottom(),u&&this._onUserInput.fire(),this._logService.debug('sending data "'+l+'"',function(){return l.split("").map(function(f){return f.charCodeAt(0)})}),this._onData.fire(l)}},a.prototype.triggerBinaryEvent=function(l){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+l+'"',function(){return l.split("").map(function(u){return u.charCodeAt(0)})}),this._onBinary.fire(l))},a=m([p(1,c.IBufferService),p(2,c.ILogService),p(3,c.IOptionsService)],a)}(i.Disposable);x.CoreService=s},function(_,x,C){"use strict";var A=this&&this.__decorate||function(t,s,e,a){var l,u=arguments.length,h=u<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(t,s,e,a);else for(var f=t.length-1;f>=0;f--)(l=t[f])&&(h=(u<3?l(h):u>3?l(s,e,h):l(s,e))||h);return u>3&&h&&Object.defineProperty(s,e,h),h},b=this&&this.__param||function(t,s){return function(e,a){s(e,a,t)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CoreMouseService=void 0;var m=C(1),p=C(0),c={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(s){return s.button!==4&&s.action===1&&(s.ctrl=!1,s.alt=!1,s.shift=!1,!0)}},VT200:{events:19,restrict:function(s){return s.action!==32}},DRAG:{events:23,restrict:function(s){return s.action!==32||s.button!==3}},ANY:{events:31,restrict:function(s){return!0}}};function o(t,s){var e=(t.ctrl?16:0)|(t.shift?4:0)|(t.alt?8:0);return t.button===4?(e|=64,e|=t.action):(e|=3&t.button,4&t.button&&(e|=64),8&t.button&&(e|=128),t.action===32?e|=32:t.action!==0||s||(e|=3)),e}var r=String.fromCharCode,i={DEFAULT:function(s){var e=[o(s,!1)+32,s.col+32,s.row+32];return e[0]>255||e[1]>255||e[2]>255?"":""+r(e[0])+r(e[1])+r(e[2])},SGR:function(s){var e=s.action===0&&s.button!==4?"m":"M";return"[<"+o(s,!0)+";"+s.col+";"+s.row+e}},n=function(){function t(s,e){this._bufferService=s,this._coreService=e,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new p.EventEmitter,this._lastEvent=null;for(var a=0,l=Object.keys(c);a<l.length;a++){var u=l[a];this.addProtocol(u,c[u])}for(var h=0,f=Object.keys(i);h<f.length;h++){var g=f[h];this.addEncoding(g,i[g])}this.reset()}return t.prototype.addProtocol=function(s,e){this._protocols[s]=e},t.prototype.addEncoding=function(s,e){this._encodings[s]=e},Object.defineProperty(t.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(t.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),t.prototype.triggerMouseEvent=function(s){if(s.col<0||s.col>=this._bufferService.cols||s.row<0||s.row>=this._bufferService.rows)return!1;if(s.button===4&&s.action===32)return!1;if(s.button===3&&s.action!==32)return!1;if(s.button!==4&&(s.action===2||s.action===3))return!1;if(s.col++,s.row++,s.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,s))return!1;if(!this._protocols[this._activeProtocol].restrict(s))return!1;var e=this._encodings[this._activeEncoding](s);return e&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=s,!0},t.prototype.explainEvents=function(s){return{down:!!(1&s),up:!!(2&s),drag:!!(4&s),move:!!(8&s),wheel:!!(16&s)}},t.prototype._compareEvents=function(s,e){return s.col===e.col&&s.row===e.row&&s.button===e.button&&s.action===e.action&&s.ctrl===e.ctrl&&s.alt===e.alt&&s.shift===e.shift},t=A([b(0,m.IBufferService),b(1,m.ICoreService)],t)}();x.CoreMouseService=n},function(_,x,C){"use strict";var A=this&&this.__decorate||function(c,o,r,i){var n,t=arguments.length,s=t<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(c,o,r,i);else for(var e=c.length-1;e>=0;e--)(n=c[e])&&(s=(t<3?n(s):t>3?n(o,r,s):n(o,r))||s);return t>3&&s&&Object.defineProperty(o,r,s),s},b=this&&this.__param||function(c,o){return function(r,i){o(r,i,c)}};Object.defineProperty(x,"__esModule",{value:!0}),x.DirtyRowService=void 0;var m=C(1),p=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,r){if(o>r){var i=o;o=r,r=i}o<this._start&&(this._start=o),r>this._end&&(this._end=r)},c.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},c=A([b(0,m.IBufferService)],c)}();x.DirtyRowService=p},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.UnicodeService=void 0;var A=C(0),b=C(79),m=function(){function p(){this._providers=Object.create(null),this._active="",this._onChange=new A.EventEmitter;var c=new b.UnicodeV6;this.register(c),this._active=c.version,this._activeProvider=c}return Object.defineProperty(p.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(p.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}),p.prototype.register=function(c){this._providers[c.version]=c},p.prototype.wcwidth=function(c){return this._activeProvider.wcwidth(c)},p.prototype.getStringCellWidth=function(c){for(var o=0,r=c.length,i=0;i<r;++i){var n=c.charCodeAt(i);if(55296<=n&&n<=56319){if(++i>=r)return o+this.wcwidth(n);var t=c.charCodeAt(i);56320<=t&&t<=57343?n=1024*(n-55296)+t-56320+65536:o+=this.wcwidth(t)}o+=this.wcwidth(n)}return o},p}();x.UnicodeService=m},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.UnicodeV6=void 0;var A,b=C(15),m=[[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]],p=[[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",!A){A=new Uint8Array(65536),b.fill(A,1),A[0]=0,b.fill(A,0,1,32),b.fill(A,0,127,160),b.fill(A,2,4352,4448),A[9001]=2,A[9002]=2,b.fill(A,2,11904,42192),A[12351]=1,b.fill(A,2,44032,55204),b.fill(A,2,63744,64256),b.fill(A,2,65040,65050),b.fill(A,2,65072,65136),b.fill(A,2,65280,65377),b.fill(A,2,65504,65511);for(var r=0;r<m.length;++r)b.fill(A,0,m[r][0],m[r][1]+1)}}return o.prototype.wcwidth=function(r){return r<32?0:r<127?1:r<65536?A[r]:function(i,n){var t,s=0,e=n.length-1;if(i<n[0][0]||i>n[e][1])return!1;for(;e>=s;)if(i>n[t=s+e>>1][1])s=t+1;else{if(!(i<n[t][0]))return!0;e=t-1}return!1}(r,p)?0:r>=131072&&r<=196605||r>=196608&&r<=262141?2:1},o}();x.UnicodeV6=c},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CharsetService=void 0;var A=function(){function b(){this.glevel=0,this._charsets=[]}return b.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},b.prototype.setgLevel=function(m){this.glevel=m,this.charset=this._charsets[m]},b.prototype.setgCharset=function(m,p){this._charsets[m]=p,this.glevel===m&&(this.charset=p)},b}();x.CharsetService=A},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.updateWindowsModeWrappedState=void 0;var A=C(3);x.updateWindowsModeWrappedState=function(b){var m=b.buffer.lines.get(b.buffer.ybase+b.buffer.y-1),p=m==null?void 0:m.get(b.cols-1),c=b.buffer.lines.get(b.buffer.ybase+b.buffer.y);c&&p&&(c.isWrapped=p[A.CHAR_DATA_CODE_INDEX]!==A.NULL_CELL_CODE&&p[A.CHAR_DATA_CODE_INDEX]!==A.WHITESPACE_CELL_CODE)}},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.WriteBuffer=void 0;var A=function(){function b(m){this._action=m,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return b.prototype.writeSync=function(m){if(this._writeBuffer.length){for(var p=this._bufferOffset;p<this._writeBuffer.length;++p){var c=this._writeBuffer[p],o=this._callbacks[p];this._action(c),o&&o()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(m)},b.prototype.write=function(m,p){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+=m.length,this._writeBuffer.push(m),this._callbacks.push(p)},b.prototype._innerWrite=function(){for(var m=this,p=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()-p>=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 m._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},b}();x.WriteBuffer=A},function(_,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.AddonManager=void 0;var A=function(){function b(){this._addons=[]}return b.prototype.dispose=function(){for(var m=this._addons.length-1;m>=0;m--)this._addons[m].instance.dispose()},b.prototype.loadAddon=function(m,p){var c=this,o={instance:p,dispose:p.dispose,isDisposed:!1};this._addons.push(o),p.dispose=function(){return c._wrappedAddonDispose(o)},p.activate(m)},b.prototype._wrappedAddonDispose=function(m){if(!m.isDisposed){for(var p=-1,c=0;c<this._addons.length;c++)if(this._addons[c]===m){p=c;break}if(p===-1)throw new Error("Could not dispose an addon that has not been loaded");m.isDisposed=!0,m.dispose.apply(m.instance),this._addons.splice(p,1)}},b}();x.AddonManager=A}])})},"/SeX":function(H,k,d){var _=d("knOB"),x=d("qZFw"),C=function(b){this.name=b||"",this.cx=0,this.cy=0,this._radiusAxis=new _,this._angleAxis=new x,this._radiusAxis.polar=this._angleAxis.polar=this};C.prototype={type:"polar",axisPointerEnabled:!0,constructor:C,dimensions:["radius","angle"],model:null,containPoint:function(b){var m=this.pointToCoord(b);return this._radiusAxis.contain(m[0])&&this._angleAxis.contain(m[1])},containData:function(b){return this._radiusAxis.containData(b[0])&&this._angleAxis.containData(b[1])},getAxis:function(b){return this["_"+b+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(b){var m=[],p=this._angleAxis,c=this._radiusAxis;return p.scale.type===b&&m.push(p),c.scale.type===b&&m.push(c),m},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(b){var m=this._angleAxis;return b===m?this._radiusAxis:m},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(b){var m=b!=null&&b!=="auto"?this.getAxis(b):this.getBaseAxis();return{baseAxes:[m],otherAxes:[this.getOtherAxis(m)]}},dataToPoint:function(b,m){return this.coordToPoint([this._radiusAxis.dataToRadius(b[0],m),this._angleAxis.dataToAngle(b[1],m)])},pointToData:function(b,m){var p=this.pointToCoord(b);return[this._radiusAxis.radiusToData(p[0],m),this._angleAxis.angleToData(p[1],m)]},pointToCoord:function(b){var m=b[0]-this.cx,p=b[1]-this.cy,c=this.getAngleAxis(),o=c.getExtent(),r=Math.min(o[0],o[1]),i=Math.max(o[0],o[1]);c.inverse?r=i-360:i=r+360;var n=Math.sqrt(m*m+p*p);m/=n,p/=n;for(var t=Math.atan2(-p,m)/Math.PI*180,s=t<r?1:-1;t<r||t>i;)t+=s*360;return[n,t]},coordToPoint:function(b){var m=b[0],p=b[1]/180*Math.PI,c=Math.cos(p)*m+this.cx,o=-Math.sin(p)*m+this.cy;return[c,o]},getArea:function(){var b=this.getAngleAxis(),m=this.getRadiusAxis(),p=m.getExtent().slice();p[0]>p[1]&&p.reverse();var c=b.getExtent(),o=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:p[0],r:p[1],startAngle:-c[0]*o,endAngle:-c[1]*o,clockwise:b.inverse,contain:function(r,i){var n=r-this.cx,t=i-this.cy,s=n*n+t*t,e=this.r,a=this.r0;return s<=e*e&&s>=a*a}}}};var A=C;H.exports=A},"/WM3":function(H,k,d){var _=d("QuXc"),x=d("bYtY"),C=x.isFunction,A={createOnAllSeries:!0,performRawSeries:!0,reset:function(b,m){var p=b.getData(),c=(b.visualColorAccessPath||"itemStyle.color").split("."),o=b.get(c),r=C(o)&&!(o instanceof _)?o:null;(!o||r)&&(o=b.getColorFromPalette(b.name,null,m.getSeriesCount())),p.setVisual("color",o);var i=(b.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),n=b.get(i);if(p.setVisual("borderColor",n),!m.isSeriesFiltered(b)){r&&p.each(function(s){p.setItemVisual(s,"color",r(b.getDataParams(s)))});var t=function(s,e){var a=s.getItemModel(e),l=a.get(c,!0),u=a.get(i,!0);l!=null&&s.setItemVisual(e,"color",l),u!=null&&s.setItemVisual(e,"borderColor",u)};return{dataEach:p.hasItemOption?t:null}}}};H.exports=A},"/d5a":function(H,k){var d={average:function(C){for(var A=0,b=0,m=0;m<C.length;m++)isNaN(C[m])||(A+=C[m],b++);return b===0?NaN:A/b},sum:function(C){for(var A=0,b=0;b<C.length;b++)A+=C[b]||0;return A},max:function(C){for(var A=-Infinity,b=0;b<C.length;b++)C[b]>A&&(A=C[b]);return isFinite(A)?A:NaN},min:function(C){for(var A=Infinity,b=0;b<C.length;b++)C[b]<A&&(A=C[b]);return isFinite(A)?A:NaN},nearest:function(C){return C[0]}},_=function(C,A){return Math.round(C.length/2)};function x(C){return{seriesType:C,modifyOutputEnd:!0,reset:function(A,b,m){var p=A.getData(),c=A.get("sampling"),o=A.coordinateSystem;if(o.type==="cartesian2d"&&c){var r=o.getBaseAxis(),i=o.getOtherAxis(r),n=r.getExtent(),t=n[1]-n[0],s=Math.round(p.count()/t);if(s>1){var e;typeof c=="string"?e=d[c]:typeof c=="function"&&(e=c),e&&A.setData(p.downSample(p.mapDimension(i.dim),1/s,e,_))}}}}}H.exports=x},"/ezw":function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("cDf5"),m=d.n(b),p=d("q1tI"),c=d("TSYQ"),o=d.n(c),r=function(F){var j=F.prefixCls,W=F.className,V=F.width,z=F.style;return p.createElement("h3",{className:o()(j,W),style:A()({width:V},z)})},i=r,n=d("RIqP"),t=d.n(n),s=function(F){var j=function(Z){var oe=F.width,ge=F.rows,pe=ge===void 0?2:ge;return Array.isArray(oe)?oe[Z]:pe-1===Z?oe:void 0},W=F.prefixCls,V=F.className,z=F.style,Y=F.rows,J=t()(Array(Y)).map(function(ie,Z){return p.createElement("li",{key:Z,style:{width:j(Z)}})});return p.createElement("ul",{className:o()(W,V),style:z},J)},e=s,a=d("H84U"),l=function(F){var j,W,V=F.prefixCls,z=F.className,Y=F.style,J=F.size,ie=F.shape,Z=o()((j={},x()(j,"".concat(V,"-lg"),J==="large"),x()(j,"".concat(V,"-sm"),J==="small"),j)),oe=o()((W={},x()(W,"".concat(V,"-circle"),ie==="circle"),x()(W,"".concat(V,"-square"),ie==="square"),x()(W,"".concat(V,"-round"),ie==="round"),W)),ge=typeof J=="number"?{width:J,height:J,lineHeight:"".concat(J,"px")}:{};return p.createElement("span",{className:o()(V,z,Z,oe),style:A()(A()({},ge),Y)})},u=l,h=d("BGR+"),f=function(F){var j=function(V){var z=V.getPrefixCls,Y=F.prefixCls,J=F.className,ie=F.active,Z=z("skeleton",Y),oe=Object(h.default)(F,["prefixCls"]),ge=o()(Z,J,"".concat(Z,"-element"),x()({},"".concat(Z,"-active"),ie));return p.createElement("div",{className:ge},p.createElement(u,A()({prefixCls:"".concat(Z,"-avatar")},oe)))};return p.createElement(a.a,null,j)};f.defaultProps={size:"default",shape:"circle"};var g=f,v=function(F){var j=function(V){var z=V.getPrefixCls,Y=F.prefixCls,J=F.className,ie=F.active,Z=z("skeleton",Y),oe=Object(h.default)(F,["prefixCls"]),ge=o()(Z,J,"".concat(Z,"-element"),x()({},"".concat(Z,"-active"),ie));return p.createElement("div",{className:ge},p.createElement(u,A()({prefixCls:"".concat(Z,"-button")},oe)))};return p.createElement(a.a,null,j)};v.defaultProps={size:"default"};var y=v,E=function(F){var j=function(V){var z=V.getPrefixCls,Y=F.prefixCls,J=F.className,ie=F.active,Z=z("skeleton",Y),oe=Object(h.default)(F,["prefixCls"]),ge=o()(Z,J,"".concat(Z,"-element"),x()({},"".concat(Z,"-active"),ie));return p.createElement("div",{className:ge},p.createElement(u,A()({prefixCls:"".concat(Z,"-input")},oe)))};return p.createElement(a.a,null,j)};E.defaultProps={size:"default"};var T=E,w="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",S=function(F){var j=function(V){var z=V.getPrefixCls,Y=F.prefixCls,J=F.className,ie=F.style,Z=z("skeleton",Y),oe=o()(Z,J,"".concat(Z,"-element"));return p.createElement("div",{className:oe},p.createElement("div",{className:o()("".concat(Z,"-image"),J),style:ie},p.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(Z,"-image-svg")},p.createElement("path",{d:w,className:"".concat(Z,"-image-path")}))))};return p.createElement(a.a,null,j)},I=S;function L(U){return U&&m()(U)==="object"?U:{}}function O(U,F){return U&&!F?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function N(U,F){return!U&&F?{width:"38%"}:U&&F?{width:"50%"}:{}}function R(U,F){var j={};return(!U||!F)&&(j.width="61%"),!U&&F?j.rows=3:j.rows=2,j}var D=function(F){var j=function(V){var z=V.getPrefixCls,Y=V.direction,J=F.prefixCls,ie=F.loading,Z=F.className,oe=F.children,ge=F.avatar,pe=F.title,De=F.paragraph,ce=F.active,Oe=F.round,se=z("skeleton",J);if(ie||!("loading"in F)){var $,ze=!!ge,re=!!pe,X=!!De,G;if(ze){var Q=A()(A()({prefixCls:"".concat(se,"-avatar")},O(re,X)),L(ge));G=p.createElement("div",{className:"".concat(se,"-header")},p.createElement(u,Q))}var ve;if(re||X){var de;if(re){var Ce=A()(A()({prefixCls:"".concat(se,"-title")},N(ze,X)),L(pe));de=p.createElement(i,Ce)}var we;if(X){var le=A()(A()({prefixCls:"".concat(se,"-paragraph")},R(ze,re)),L(De));we=p.createElement(e,le)}ve=p.createElement("div",{className:"".concat(se,"-content")},de,we)}var fe=o()(se,Z,($={},x()($,"".concat(se,"-with-avatar"),ze),x()($,"".concat(se,"-active"),ce),x()($,"".concat(se,"-rtl"),Y==="rtl"),x()($,"".concat(se,"-round"),Oe),$));return p.createElement("div",{className:fe},G,ve)}return oe};return p.createElement(a.a,null,j)};D.defaultProps={avatar:!1,title:!0,paragraph:!0},D.Button=y,D.Avatar=g,D.Input=T,D.Image=I;var B=D,M=k.a=B},"/iHx":function(H,k,d){var _=d("6GrX"),x=d("IwbS"),C=["textStyle","color"],A={getTextColor:function(b){var m=this.ecModel;return this.getShallow("color")||(!b&&m?m.get(C):null)},getFont:function(){return x.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(b){return _.getBoundingRect(b,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};H.exports=A},"/ry/":function(H,k,d){var _=d("bYtY"),x=d("T4UG"),C=d("5GhG"),A=C.seriesModelMixin,b=x.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}});_.mixin(b,A,!0);var m=b;H.exports=m},"/stD":function(H,k,d){var _=d("bYtY"),x=d("IUWy"),C=d("Kagy"),A=C.toolbox.brush;function b(c,o,r){this.model=c,this.ecModel=o,this.api=r,this._brushType,this._brushMode}b.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:_.clone(A.title)};var m=b.prototype;m.render=m.updateView=function(c,o,r){var i,n,t;o.eachComponent({mainType:"brush"},function(s){i=s.brushType,n=s.brushOption.brushMode||"single",t|=s.areas.length}),this._brushType=i,this._brushMode=n,_.each(c.get("type",!0),function(s){c.setIconStatus(s,(s==="keep"?n==="multiple":s==="clear"?t:s===i)?"emphasis":"normal")})},m.getIcons=function(){var c=this.model,o=c.get("icon",!0),r={};return _.each(c.get("type",!0),function(i){o[i]&&(r[i]=o[i])}),r},m.onclick=function(c,o,r){var i=this._brushType,n=this._brushMode;r==="clear"?(o.dispatchAction({type:"axisAreaSelect",intervals:[]}),o.dispatchAction({type:"brush",command:"clear",areas:[]})):o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:r==="keep"?i:i===r?!1:r,brushMode:r==="keep"?n==="multiple"?"single":"multiple":n}})},x.register("brush",b);var p=b;H.exports=p},"/wGt":function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("PJYZ"),r=d.n(o),i=d("7W2i"),n=d.n(i),t=d("LQ03"),s=d.n(t),e=d("q1tI"),a=d("Ff2n"),l=d("1OyB"),u=d("vuIU"),h=d("Ji7U"),f=d("md7G"),g=d("foSv"),v=d("1W/9"),y=d("rePB"),E=d("JX7q"),T=d("TSYQ"),w=d.n(T),S=d("qx4F"),I=d("4IlW");function L(de){return Array.isArray(de)?de:[de]}var O={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},N=Object.keys(O).filter(function(de){if(typeof document=="undefined")return!1;var Ce=document.getElementsByTagName("html")[0];return de in(Ce?Ce.style:{})})[0],R=O[N];function D(de,Ce,we,le){de.addEventListener?de.addEventListener(Ce,we,le):de.attachEvent&&de.attachEvent("on".concat(Ce),we)}function B(de,Ce,we,le){de.removeEventListener?de.removeEventListener(Ce,we,le):de.attachEvent&&de.detachEvent("on".concat(Ce),we)}function M(de,Ce){var we=typeof de=="function"?de(Ce):de;return Array.isArray(we)?we.length===2?we:[we[0],we[1]]:[we]}var U=function(Ce){return!isNaN(parseFloat(Ce))&&isFinite(Ce)},F=!(typeof window!="undefined"&&window.document&&window.document.createElement),j=function de(Ce,we,le,fe){if(!we||we===document||we instanceof Document)return!1;if(we===Ce.parentNode)return!0;var xe=Math.max(Math.abs(le),Math.abs(fe))===Math.abs(fe),We=Math.max(Math.abs(le),Math.abs(fe))===Math.abs(le),nt=we.scrollHeight-we.clientHeight,$e=we.scrollWidth-we.clientWidth,Le=document.defaultView.getComputedStyle(we),pt=Le.overflowY==="auto"||Le.overflowY==="scroll",Qe=Le.overflowX==="auto"||Le.overflowX==="scroll",gt=nt&&pt,wt=$e&&Qe;return xe&&(!gt||gt&&(we.scrollTop>=nt&&fe<0||we.scrollTop<=0&&fe>0))||We&&(!wt||wt&&(we.scrollLeft>=$e&&le<0||we.scrollLeft<=0&&le>0))?de(Ce,we.parentNode,le,fe):!1};function W(de){var Ce=V();return function(){var le=Object(g.a)(de),fe;if(Ce){var xe=Object(g.a)(this).constructor;fe=Reflect.construct(le,arguments,xe)}else fe=le.apply(this,arguments);return Object(f.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(de){return!1}}var z={},Y=function(de){Object(h.a)(we,de);var Ce=W(we);function we(le){var fe;return Object(l.a)(this,we),fe=Ce.call(this,le),fe.domFocus=function(){fe.dom&&fe.dom.focus()},fe.removeStartHandler=function(xe){if(xe.touches.length>1)return;fe.startPos={x:xe.touches[0].clientX,y:xe.touches[0].clientY}},fe.removeMoveHandler=function(xe){if(xe.changedTouches.length>1)return;var We=xe.currentTarget,nt=xe.changedTouches[0].clientX-fe.startPos.x,$e=xe.changedTouches[0].clientY-fe.startPos.y;(We===fe.maskDom||We===fe.handlerDom||We===fe.contentDom&&j(We,xe.target,nt,$e))&&xe.cancelable&&xe.preventDefault()},fe.transitionEnd=function(xe){var We=xe.target;B(We,R,fe.transitionEnd),We.style.transition=""},fe.onKeyDown=function(xe){if(xe.keyCode===I.a.ESC){var We=fe.props.onClose;xe.stopPropagation(),We&&We(xe)}},fe.onWrapperTransitionEnd=function(xe){var We=fe.props,nt=We.open,$e=We.afterVisibleChange;xe.target===fe.contentWrapper&&xe.propertyName.match(/transform$/)&&(fe.dom.style.transition="",!nt&&fe.getCurrentDrawerSome()&&(document.body.style.overflowX="",fe.maskDom&&(fe.maskDom.style.left="",fe.maskDom.style.width="")),$e&&$e(!!nt))},fe.openLevelTransition=function(){var xe=fe.props,We=xe.open,nt=xe.width,$e=xe.height,Le=fe.getHorizontalBoolAndPlacementName(),pt=Le.isHorizontal,Qe=Le.placementName,gt=fe.contentDom?fe.contentDom.getBoundingClientRect()[pt?"width":"height"]:0,wt=(pt?nt:$e)||gt;fe.setLevelAndScrolling(We,Qe,wt)},fe.setLevelTransform=function(xe,We,nt,$e){var Le=fe.props,pt=Le.placement,Qe=Le.levelMove,gt=Le.duration,wt=Le.ease,Et=Le.showMask;fe.levelDom.forEach(function(_t){_t.style.transition="transform ".concat(gt," ").concat(wt),D(_t,R,fe.transitionEnd);var Ht=xe?nt:0;if(Qe){var Ze=M(Qe,{target:_t,open:xe});Ht=xe?Ze[0]:Ze[1]||0}var ye=typeof Ht=="number"?"".concat(Ht,"px"):Ht,ae=pt==="left"||pt==="top"?ye:"-".concat(ye);ae=Et&&pt==="right"&&$e?"calc(".concat(ae," + ").concat($e,"px)"):ae,_t.style.transform=Ht?"".concat(We,"(").concat(ae,")"):""})},fe.setLevelAndScrolling=function(xe,We,nt){var $e=fe.props.onChange;if(!F){var Le=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(S.a)(!0):0;fe.setLevelTransform(xe,We,nt,Le),fe.toggleScrollingToDrawerAndBody(Le)}$e&&$e(xe)},fe.toggleScrollingToDrawerAndBody=function(xe){var We=fe.props,nt=We.getOpenCount,$e=We.getContainer,Le=We.showMask,pt=We.open,Qe=$e&&$e(),gt=nt&&nt();if(Qe&&Qe.parentNode===document.body&&Le){var wt=["touchstart"],Et=[document.body,fe.maskDom,fe.handlerDom,fe.contentDom];pt&&document.body.style.overflow!=="hidden"?(xe&&fe.addScrollingEffect(xe),gt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Et.forEach(function(_t,Ht){if(!_t)return;D(_t,wt[Ht]||"touchmove",Ht?fe.removeMoveHandler:fe.removeStartHandler,fe.passive)})):fe.getCurrentDrawerSome()&&(gt||(document.body.style.overflow=""),document.body.style.touchAction="",xe&&fe.remScrollingEffect(xe),Et.forEach(function(_t,Ht){if(!_t)return;B(_t,wt[Ht]||"touchmove",Ht?fe.removeMoveHandler:fe.removeStartHandler,fe.passive)}))}},fe.addScrollingEffect=function(xe){var We=fe.props,nt=We.placement,$e=We.duration,Le=We.ease,pt=We.getOpenCount,Qe=We.switchScrollingEffect,gt=pt&&pt();gt===1&&Qe();var wt="width ".concat($e," ").concat(Le),Et="transform ".concat($e," ").concat(Le);fe.dom.style.transition="none";switch(nt){case"right":fe.dom.style.transform="translateX(-".concat(xe,"px)");break;case"top":case"bottom":fe.dom.style.width="calc(100% - ".concat(xe,"px)"),fe.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(fe.timeout),fe.timeout=setTimeout(function(){fe.dom&&(fe.dom.style.transition="".concat(Et,",").concat(wt),fe.dom.style.width="",fe.dom.style.transform="")})},fe.remScrollingEffect=function(xe){var We=fe.props,nt=We.placement,$e=We.duration,Le=We.ease,pt=We.getOpenCount,Qe=We.switchScrollingEffect,gt=pt&&pt();gt||Qe(!0),N&&(document.body.style.overflowX="hidden"),fe.dom.style.transition="none";var wt,Et="width ".concat($e," ").concat(Le),_t="transform ".concat($e," ").concat(Le);switch(nt){case"left":{fe.dom.style.width="100%",Et="width 0s ".concat(Le," ").concat($e);break}case"right":{fe.dom.style.transform="translateX(".concat(xe,"px)"),fe.dom.style.width="100%",Et="width 0s ".concat(Le," ").concat($e),fe.maskDom&&(fe.maskDom.style.left="-".concat(xe,"px"),fe.maskDom.style.width="calc(100% + ".concat(xe,"px)"));break}case"top":case"bottom":{fe.dom.style.width="calc(100% + ".concat(xe,"px)"),fe.dom.style.height="100%",fe.dom.style.transform="translateZ(0)",wt="height 0s ".concat(Le," ").concat($e);break}default:break}clearTimeout(fe.timeout),fe.timeout=setTimeout(function(){fe.dom&&(fe.dom.style.transition="".concat(_t,",").concat(wt?"".concat(wt,","):"").concat(Et),fe.dom.style.transform="",fe.dom.style.width="",fe.dom.style.height="")})},fe.getCurrentDrawerSome=function(){return!Object.keys(z).some(function(xe){return z[xe]})},fe.getLevelDom=function(xe){var We=xe.level,nt=xe.getContainer;if(F)return;var $e=nt&&nt(),Le=$e?$e.parentNode:null;if(fe.levelDom=[],We==="all"){var pt=Le?Array.prototype.slice.call(Le.children):[];pt.forEach(function(Qe){Qe.nodeName!=="SCRIPT"&&Qe.nodeName!=="STYLE"&&Qe.nodeName!=="LINK"&&Qe!==$e&&fe.levelDom.push(Qe)})}else We&&L(We).forEach(function(Qe){document.querySelectorAll(Qe).forEach(function(gt){fe.levelDom.push(gt)})})},fe.getHorizontalBoolAndPlacementName=function(){var xe=fe.props.placement,We=xe==="left"||xe==="right",nt="translate".concat(We?"X":"Y");return{isHorizontal:We,placementName:nt}},fe.state={_self:Object(E.a)(fe)},fe}return Object(u.a)(we,[{key:"componentDidMount",value:function(){var fe=this;if(!F){var xe=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return xe=!0,null}}))}catch(pt){}this.passive=xe?{passive:!1}:!1}var We=this.props,nt=We.open,$e=We.getContainer,Le=$e&&$e();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),nt&&(Le&&Le.parentNode===document.body&&(z[this.drawerId]=nt),this.openLevelTransition(),this.forceUpdate(function(){fe.domFocus()}))}},{key:"componentDidUpdate",value:function(fe){var xe=this.props,We=xe.open,nt=xe.getContainer,$e=nt&&nt();We!==fe.open&&(We&&this.domFocus(),$e&&$e.parentNode===document.body&&(z[this.drawerId]=!!We),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var fe=this.props,xe=fe.getOpenCount,We=fe.open,nt=fe.switchScrollingEffect,$e=typeof xe=="function"&&xe();delete z[this.drawerId],We&&(this.setLevelTransform(!1),document.body.style.touchAction=""),$e||(document.body.style.overflow="",nt(!0))}},{key:"render",value:function(){var fe,xe=this,We=this.props,nt=We.className,$e=We.children,Le=We.style,pt=We.width,Qe=We.height,gt=We.defaultOpen,wt=We.open,Et=We.prefixCls,_t=We.placement,Ht=We.level,Ze=We.levelMove,ye=We.ease,ae=We.duration,yt=We.getContainer,et=We.handler,me=We.onChange,Gt=We.afterVisibleChange,rr=We.showMask,ut=We.maskClosable,Xt=We.maskStyle,ur=We.onClose,Fr=We.onHandleClick,er=We.keyboard,nr=We.getOpenCount,Lt=We.switchScrollingEffect,at=Object(a.a)(We,["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"]),Je=this.dom?wt:!1,qt=w()(Et,(fe={},Object(y.a)(fe,"".concat(Et,"-").concat(_t),!0),Object(y.a)(fe,"".concat(Et,"-open"),Je),Object(y.a)(fe,nt||"",!!nt),Object(y.a)(fe,"no-mask",!rr),fe)),Sr=this.getHorizontalBoolAndPlacementName(),yr=Sr.placementName,fr=_t==="left"||_t==="top"?"-100%":"100%",yn=Je?"":"".concat(yr,"(").concat(fr,")"),Jr=et&&e.cloneElement(et,{onClick:function(Nt){et.props.onClick&&et.props.onClick(),Fr&&Fr(Nt)},ref:function(Nt){xe.handlerDom=Nt}});return e.createElement("div",Object.assign({},at,{tabIndex:-1,className:qt,style:Le,ref:function(Nt){xe.dom=Nt},onKeyDown:Je&&er?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),rr&&e.createElement("div",{className:"".concat(Et,"-mask"),onClick:ut?ur:void 0,style:Xt,ref:function(Nt){xe.maskDom=Nt}}),e.createElement("div",{className:"".concat(Et,"-content-wrapper"),style:{transform:yn,msTransform:yn,width:U(pt)?"".concat(pt,"px"):pt,height:U(Qe)?"".concat(Qe,"px"):Qe},ref:function(Nt){xe.contentWrapper=Nt}},e.createElement("div",{className:"".concat(Et,"-content"),ref:function(Nt){xe.contentDom=Nt},onTouchStart:Je&&rr?this.removeStartHandler:void 0,onTouchMove:Je&&rr?this.removeMoveHandler:void 0},$e),Jr))}}],[{key:"getDerivedStateFromProps",value:function(fe,xe){var We=xe.prevProps,nt=xe._self,$e={prevProps:fe};if(We!==void 0){var Le=fe.placement,pt=fe.level;Le!==We.placement&&(nt.contentDom=null),pt!==We.level&&nt.getLevelDom(fe)}return $e}}]),we}(e.Component);Y.defaultProps={switchScrollingEffect:function(){}};var J=Y;function ie(de){var Ce=Z();return function(){var le=Object(g.a)(de),fe;if(Ce){var xe=Object(g.a)(this).constructor;fe=Reflect.construct(le,arguments,xe)}else fe=le.apply(this,arguments);return Object(f.a)(this,fe)}}function Z(){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(de){return!1}}var oe=function(de){Object(h.a)(we,de);var Ce=ie(we);function we(le){var fe;Object(l.a)(this,we),fe=Ce.call(this,le),fe.onHandleClick=function(We){var nt=fe.props,$e=nt.onHandleClick,Le=nt.open;if($e&&$e(We),typeof Le=="undefined"){var pt=fe.state.open;fe.setState({open:!pt})}},fe.onClose=function(We){var nt=fe.props,$e=nt.onClose,Le=nt.open;$e&&$e(We),typeof Le=="undefined"&&fe.setState({open:!1})};var xe=typeof le.open!="undefined"?le.open:!!le.defaultOpen;return fe.state={open:xe},"onMaskClick"in le&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),fe}return Object(u.a)(we,[{key:"render",value:function(){var fe=this,xe=this.props,We=xe.defaultOpen,nt=xe.getContainer,$e=xe.wrapperClassName,Le=xe.forceRender,pt=xe.handler,Qe=Object(a.a)(xe,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),gt=this.state.open;if(!nt)return e.createElement("div",{className:$e,ref:function(_t){fe.dom=_t}},e.createElement(J,Object.assign({},Qe,{open:gt,handler:pt,getContainer:function(){return fe.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var wt=!!pt||Le;return e.createElement(v.a,{visible:gt,forceRender:wt,getContainer:nt,wrapperClassName:$e},function(Et){var _t=Et.visible,Ht=Et.afterClose,Ze=Object(a.a)(Et,["visible","afterClose"]);return e.createElement(J,Object.assign({},Qe,Ze,{open:_t!==void 0?_t:gt,afterVisibleChange:Ht!==void 0?Ht:Qe.afterVisibleChange,handler:pt,onClose:fe.onClose,onHandleClick:fe.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(fe,xe){var We=xe.prevProps,nt={prevProps:fe};return typeof We!="undefined"&&fe.open!==We.open&&(nt.open=fe.open),nt}}]),we}(e.Component);oe.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:e.createElement("div",{className:"drawer-handle"},e.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var ge=oe,pe=ge,De=d("V/uB"),ce=d.n(De),Oe=d("BGR+"),se=d("H84U"),$=d("CWQg"),ze=function(de,Ce){var we={};for(var le in de)Object.prototype.hasOwnProperty.call(de,le)&&Ce.indexOf(le)<0&&(we[le]=de[le]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,le=Object.getOwnPropertySymbols(de);fe<le.length;fe++)Ce.indexOf(le[fe])<0&&Object.prototype.propertyIsEnumerable.call(de,le[fe])&&(we[le[fe]]=de[le[fe]]);return we},re=e.createContext(null),X=Object($.a)("top","right","bottom","left"),G={distance:180},Q=function(de){n()(we,de);var Ce=s()(we);function we(){var le;return m()(this,we),le=Ce.apply(this,arguments),le.state={push:!1},le.push=function(){le.props.push&&le.setState({push:!0})},le.pull=function(){le.props.push&&le.setState({push:!1})},le.onDestroyTransitionEnd=function(){var fe=le.getDestroyOnClose();if(!fe)return;le.props.visible||(le.destroyClose=!0,le.forceUpdate())},le.getDestroyOnClose=function(){return le.props.destroyOnClose&&!le.props.visible},le.getPushDistance=function(){var fe=le.props.push,xe;return typeof fe=="boolean"?xe=fe?G.distance:0:xe=fe.distance,parseFloat(String(xe||0))},le.getPushTransform=function(fe){var xe=le.getPushDistance();if(fe==="left"||fe==="right")return"translateX(".concat(fe==="left"?xe:-xe,"px)");if(fe==="top"||fe==="bottom")return"translateY(".concat(fe==="top"?xe:-xe,"px)")},le.getRcDrawerStyle=function(){var fe=le.props,xe=fe.zIndex,We=fe.placement,nt=fe.mask,$e=fe.style,Le=le.state.push,pt=nt?{}:le.getOffsetStyle();return A()(A()({zIndex:xe,transform:Le?le.getPushTransform(We):void 0},pt),$e)},le.renderBody=function(){var fe=le.props,xe=fe.bodyStyle,We=fe.drawerStyle,nt=fe.prefixCls,$e=fe.visible;if(le.destroyClose&&!$e)return null;le.destroyClose=!1;var Le={},pt=le.getDestroyOnClose();return pt&&(Le.opacity=0,Le.transition="opacity .3s"),e.createElement("div",{className:"".concat(nt,"-wrapper-body"),style:A()(A()({},Le),We),onTransitionEnd:le.onDestroyTransitionEnd},le.renderHeader(),e.createElement("div",{className:"".concat(nt,"-body"),style:xe},le.props.children),le.renderFooter())},le.renderProvider=function(fe){return le.parentDrawer=fe,e.createElement(se.a,null,function(xe){var We=xe.getPopupContainer,nt=xe.getPrefixCls,$e=le.props,Le=$e.prefixCls,pt=$e.placement,Qe=$e.className,gt=$e.mask,wt=$e.direction,Et=$e.visible,_t=ze($e,["prefixCls","placement","className","mask","direction","visible"]),Ht=nt("select",Le),Ze=w()(Qe,x()({"no-mask":!gt},"".concat(Ht,"-rtl"),wt==="rtl")),ye=gt?le.getOffsetStyle():{};return e.createElement(re.Provider,{value:r()(le)},e.createElement(pe,A()({handler:!1},Object(Oe.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&&We?function(){return We(document.body)}:_t.getContainer},ye,{prefixCls:Ht,open:Et,showMask:gt,placement:pt,style:le.getRcDrawerStyle(),className:Ze}),le.renderBody()))})},le}return c()(we,[{key:"componentDidMount",value:function(){var fe=this.props.visible;fe&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(fe){var xe=this.props.visible;fe.visible!==xe&&this.parentDrawer&&(xe?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,xe=fe.placement,We=fe.width,nt=fe.height,$e=fe.visible,Le=fe.mask;if(!$e&&!Le)return{};var pt={};return xe==="left"||xe==="right"?pt.width=We:pt.height=nt,pt}},{key:"renderHeader",value:function(){var fe=this.props,xe=fe.title,We=fe.prefixCls,nt=fe.closable,$e=fe.headerStyle;if(!xe&&!nt)return null;var Le=xe?"".concat(We,"-header"):"".concat(We,"-header-no-title");return e.createElement("div",{className:Le,style:$e},xe&&e.createElement("div",{className:"".concat(We,"-title")},xe),nt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var fe=this.props,xe=fe.footer,We=fe.footerStyle,nt=fe.prefixCls;if(!xe)return null;var $e="".concat(nt,"-footer");return e.createElement("div",{className:$e,style:We},xe)}},{key:"renderCloseIcon",value:function(){var fe=this.props,xe=fe.closable,We=fe.closeIcon,nt=We===void 0?e.createElement(ce.a,null):We,$e=fe.prefixCls,Le=fe.onClose;return xe&&e.createElement("button",{onClick:Le,"aria-label":"Close",className:"".concat($e,"-close"),style:{"--scroll-bar":"".concat(Object(S.a)(),"px")}},nt)}},{key:"render",value:function(){return e.createElement(re.Consumer,null,this.renderProvider)}}]),we}(e.Component);Q.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:G};var ve=k.a=Object(se.c)({prefixCls:"drawer"})(Q)},"/y7N":function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("6GrX"),A=d("7aKB"),b=d("Fofx"),m=d("aX7z"),p=d("+rIm");function c(l){var u=l.get("type"),h=l.getModel(u+"Style"),f;return u==="line"?(f=h.getLineStyle(),f.fill=null):u==="shadow"&&(f=h.getAreaStyle(),f.stroke=null),f}function o(l,u,h,f,g){var v=h.get("value"),y=i(v,u.axis,u.ecModel,h.get("seriesDataIndices"),{precision:h.get("label.precision"),formatter:h.get("label.formatter")}),E=h.getModel("label"),T=A.normalizeCssArray(E.get("padding")||0),w=E.getFont(),S=C.getBoundingRect(y,w),I=g.position,L=S.width+T[1]+T[3],O=S.height+T[0]+T[2],N=g.align;N==="right"&&(I[0]-=L),N==="center"&&(I[0]-=L/2);var R=g.verticalAlign;R==="bottom"&&(I[1]-=O),R==="middle"&&(I[1]-=O/2),r(I,L,O,f);var D=E.get("backgroundColor");(!D||D==="auto")&&(D=u.get("axisLine.lineStyle.color")),l.label={shape:{x:0,y:0,width:L,height:O,r:E.get("borderRadius")},position:I.slice(),style:{text:y,textFont:w,textFill:E.getTextColor(),textPosition:"inside",textPadding:T,fill:D,stroke:E.get("borderColor")||"transparent",lineWidth:E.get("borderWidth")||0,shadowBlur:E.get("shadowBlur"),shadowColor:E.get("shadowColor"),shadowOffsetX:E.get("shadowOffsetX"),shadowOffsetY:E.get("shadowOffsetY")},z2:10}}function r(l,u,h,f){var g=f.getWidth(),v=f.getHeight();l[0]=Math.min(l[0]+u,g)-u,l[1]=Math.min(l[1]+h,v)-h,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0)}function i(l,u,h,f,g){l=u.scale.parse(l);var v=u.scale.getLabel(l,{precision:g.precision}),y=g.formatter;if(y){var E={value:m.getAxisRawValue(u,l),axisDimension:u.dim,axisIndex:u.index,seriesData:[]};_.each(f,function(T){var w=h.getSeriesByIndex(T.seriesIndex),S=T.dataIndexInside,I=w&&w.getDataParams(S);I&&E.seriesData.push(I)}),_.isString(y)?v=y.replace("{value}",v):_.isFunction(y)&&(v=y(E))}return v}function n(l,u,h){var f=b.create();return b.rotate(f,f,h.rotation),b.translate(f,f,h.position),x.applyTransform([l.dataToCoord(u),(h.labelOffset||0)+(h.labelDirection||1)*(h.labelMargin||0)],f)}function t(l,u,h,f,g,v){var y=p.innerTextLayout(h.rotation,0,h.labelDirection);h.labelMargin=g.get("label.margin"),o(u,f,g,v,{position:n(f.axis,l,h),align:y.textAlign,verticalAlign:y.textVerticalAlign})}function s(l,u,h){return h=h||0,{x1:l[h],y1:l[1-h],x2:u[h],y2:u[1-h]}}function e(l,u,h){return h=h||0,{x:l[h],y:l[1-h],width:u[h],height:u[1-h]}}function a(l,u,h,f,g,v){return{cx:l,cy:u,r0:h,r:f,startAngle:g,endAngle:v,clockwise:!0}}k.buildElStyle=c,k.buildLabelElOption=o,k.getValueLabel=i,k.getTransformedPosition=n,k.buildCartesianSingleLabelElOption=t,k.makeLineShape=s,k.makeRectShape=e,k.makeSectorShape=a},"/zsF":function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("bE4E"),A=d.n(C)},"0/Rx":function(H,k){function d(_){return{seriesType:_,reset:function(x,C){var A=C.findComponents({mainType:"legend"});if(!A||!A.length)return;var b=x.getData();b.filterSelf(function(m){for(var p=b.getName(m),c=0;c<A.length;c++)if(!A[c].isSelected(p))return!1;return!0})}}}H.exports=d},"01d+":function(H,k,d){var _=d("bYtY"),x=_.each,C=d("HF/U"),A=C.simpleLayout,b=C.simpleLayoutEdge;function m(p,c){p.eachSeriesByType("graph",function(o){var r=o.get("layout"),i=o.coordinateSystem;if(i&&i.type!=="view"){var n=o.getData(),t=[];x(i.dimensions,function(h){t=t.concat(n.mapDimension(h,!0))});for(var s=0;s<n.count();s++){for(var e=[],a=!1,l=0;l<t.length;l++){var u=n.get(t[l],s);isNaN(u)||(a=!0),e.push(u)}a?n.setItemLayout(s,i.dataToPoint(e)):n.setItemLayout(s,[NaN,NaN])}b(n.graph)}else(!r||r==="none")&&A(o)})}H.exports=m},"06DH":function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("Kagy"),A=d("IUWy"),b=C.toolbox.magicType,m="__ec_magicType_stack__";function p(n){this.model=n}p.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:x.clone(b.title),option:{},seriesIndex:{}};var c=p.prototype;c.getIcons=function(){var n=this.model,t=n.get("icon"),s={};return x.each(n.get("type"),function(e){t[e]&&(s[e]=t[e])}),s};var o={line:function(n,t,s,e){if(n==="bar")return x.merge({id:t,type:"line",data:s.get("data"),stack:s.get("stack"),markPoint:s.get("markPoint"),markLine:s.get("markLine")},e.get("option.line")||{},!0)},bar:function(n,t,s,e){if(n==="line")return x.merge({id:t,type:"bar",data:s.get("data"),stack:s.get("stack"),markPoint:s.get("markPoint"),markLine:s.get("markLine")},e.get("option.bar")||{},!0)},stack:function(n,t,s,e){var a=s.get("stack")===m;if(n==="line"||n==="bar")return e.setIconStatus("stack",a?"normal":"emphasis"),x.merge({id:t,stack:a?"":m},e.get("option.stack")||{},!0)}},r=[["line","bar"],["stack"]];c.onclick=function(n,t,s){var e=this.model,a=e.get("seriesIndex."+s);if(!o[s])return;var l={series:[]},u=function(g){var v=g.subType,y=g.id,E=o[s](v,y,g,e);E&&(x.defaults(E,g.option),l.series.push(E));var T=g.coordinateSystem;if(T&&T.type==="cartesian2d"&&(s==="line"||s==="bar")){var w=T.getAxesByScale("ordinal")[0];if(w){var S=w.dim,I=S+"Axis",L=n.queryComponents({mainType:I,index:g.get(name+"Index"),id:g.get(name+"Id")})[0],O=L.componentIndex;l[I]=l[I]||[];for(var N=0;N<=O;N++)l[I][O]=l[I][O]||{};l[I][O].boundaryGap=s==="bar"}}};x.each(r,function(g){x.indexOf(g,s)>=0&&x.each(g,function(v){e.setIconStatus(v,"normal")})}),e.setIconStatus(s,"emphasis"),n.eachComponent({mainType:"series",query:a==null?null:{seriesIndex:a}},u);var h;if(s==="stack"){var f=l.series&&l.series[0]&&l.series[0].stack===m;h=f?x.merge({stack:b.title.tiled},b.title):x.clone(b.title)}t.dispatchAction({type:"changeMagicType",currentType:s,newOption:l,newTitle:h,featureName:"magicType"})},_.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(n,t){t.mergeOption(n.newOption)}),A.register("magicType",p);var i=p;H.exports=i},"06Qe":function(H,k,d){var _=d("ItGF"),x="urn:schemas-microsoft-com:vml",C=typeof window=="undefined"?null:window,A=!1,b=C&&C.document;function m(o){return p(o)}var p;if(b&&!_.canvasSupported)try{!b.namespaces.zrvml&&b.namespaces.add("zrvml",x),p=function(r){return b.createElement("<zrvml:"+r+' class="zrvml">')}}catch(o){p=function(i){return b.createElement("<"+i+' xmlns="'+x+'" class="zrvml">')}}function c(){if(A||!b)return;A=!0;var o=b.styleSheets;o.length<31?b.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):o[0].addRule(".zrvml","behavior:url(#default#VML)")}k.doc=b,k.createNode=m,k.initVML=c},"09Wf":function(H,k,d){"use strict";d.d(k,"b",function(){return x}),d.d(k,"a",function(){return C});var _=d("CWQg"),x=Object(_.a)("success","processing","error","default","warning"),C=Object(_.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(H,k,d){var _=d("T4UG"),x=d("I3/A"),C=d("7aKB"),A=C.encodeHTML,b=d("Qxkt"),m=d("Tghj"),p=m.__DEV__,c=_.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(r,i){for(var n=r.edges||r.links,t=r.data||r.nodes,s=r.levels,e=this.levelModels={},a=0;a<s.length;a++)s[a].depth!=null&&s[a].depth>=0&&(e[s[a].depth]=new b(s[a],this,i));if(t&&n){var l=x(t,n,this,!0,u);return l.data}function u(h,f){h.wrapMethod("getItemModel",function(g,v){return g.customizeGetParent(function(y){var E=this.parentModel,T=E.getData().getItemLayout(v).depth,w=E.levelModels[T];return w||this.parentModel}),g}),f.wrapMethod("getItemModel",function(g,v){return g.customizeGetParent(function(y){var E=this.parentModel,T=E.getGraph().getEdgeByIndex(v),w=T.node1.getLayout().depth,S=E.levelModels[w];return S||this.parentModel}),g})}},setNodePosition:function(r,i){var n=this.option.data[r];n.localX=i[0],n.localY=i[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(r,i,n){if(n==="edge"){var t=this.getDataParams(r,n),s=t.data,e=s.source+" -- "+s.target;return t.value&&(e+=" : "+t.value),A(e)}else if(n==="node"){var a=this.getGraph().getNodeByIndex(r),l=a.getLayout().value,u=this.getDataParams(r,n).data.name;if(l)var e=u+" : "+l;return A(e)}return c.superCall(this,"formatTooltip",r,i)},optionUpdated:function(){var r=this.option;r.focusNodeAdjacency===!0&&(r.focusNodeAdjacency="allEdges")},getDataParams:function(r,i){var n=c.superCall(this,"getDataParams",r,i);if(n.value==null&&i==="node"){var t=this.getGraph().getNodeByIndex(r),s=t.getLayout().value;n.value=s}return n},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;H.exports=o},"0HBW":function(H,k,d){var _=d("ProS"),x=d("bYtY");d("Hxpc"),d("7uqq"),d("dmGj"),d("SehX");function C(A,b){b.update="updateView",_.registerAction(b,function(m,p){var c={};return p.eachComponent({mainType:"geo",query:m},function(o){o[A](m.name);var r=o.coordinateSystem;x.each(r.regions,function(i){c[i.name]=o.isSelected(i.name)||!1})}),{selected:c,name:m.name}})}C("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),C("select",{type:"geoSelect",event:"geoselected"}),C("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(H,k,d){var _=d("bYtY"),x=d("+TT/"),C=d("OELB"),A=d("IDmD"),b=864e5;function m(o,r,i){this._model=o}m.prototype={constructor:m,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=C.parseDate(o);var r=o.getFullYear(),i=o.getMonth()+1;i=i<10?"0"+i:i;var n=o.getDate();n=n<10?"0"+n:n;var t=o.getDay();return t=Math.abs((t+7-this.getFirstDayOfWeek())%7),{y:r,m:i,d:n,day:t,time:o.getTime(),formatedDate:r+"-"+i+"-"+n,date:o}},getNextNDay:function(o,r){return r=r||0,r===0?this.getDateInfo(o):(o=new Date(this.getDateInfo(o).time),o.setDate(o.getDate()+r),this.getDateInfo(o))},update:function(o,r){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,n=["width","height"],t=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),e=this._orient==="horizontal"?[i,7]:[7,i];_.each([0,1],function(h){u(t,h)&&(s[n[h]]=t[h]*e[h])});var a={width:r.getWidth(),height:r.getHeight()},l=this._rect=x.getLayoutRect(s,a);_.each([0,1],function(h){u(t,h)||(t[h]=l[n[h]]/e[h])});function u(h,f){return h[f]!=null&&h[f]!=="auto"}this._sw=t[0],this._sh=t[1]},dataToPoint:function(o,r){_.isArray(o)&&(o=o[0]),r==null&&(r=!0);var i=this.getDateInfo(o),n=this._rangeInfo,t=i.formatedDate;if(r&&!(i.time>=n.start.time&&i.time<n.end.time+b))return[NaN,NaN];var s=i.day,e=this._getRangeInfo([n.start.time,t]).nthWeek;return this._orient==="vertical"?[this._rect.x+s*this._sw+this._sw/2,this._rect.y+e*this._sh+this._sh/2]:[this._rect.x+e*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]},pointToData:function(o){var r=this.pointToDate(o);return r&&r.time},dataToRect:function(o,r){var i=this.dataToPoint(o,r);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(o){var r=Math.floor((o[0]-this._rect.x)/this._sw)+1,i=Math.floor((o[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(i,r-1,n):this._getDateByWeeksAndDay(r,i-1,n)},convertToPixel:_.curry(p,"dataToPoint"),convertFromPixel:_.curry(p,"pointToData"),_initRangeOption:function(){var o=this._model.get("range"),r=o;if(_.isArray(r)&&r.length===1&&(r=r[0]),/^\d{4}$/.test(r)&&(o=[r+"-01-01",r+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(r)){var i=this.getDateInfo(r),n=i.date;n.setMonth(n.getMonth()+1);var t=this.getNextNDay(n,-1);o=[i.formatedDate,t.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(r)&&(o=[r,r]);var s=this._getRangeInfo(o);return s.start.time>s.end.time&&o.reverse(),o},_getRangeInfo:function(o){o=[this.getDateInfo(o[0]),this.getDateInfo(o[1])];var r;o[0].time>o[1].time&&(r=!0,o.reverse());var i=Math.floor(o[1].time/b)-Math.floor(o[0].time/b)+1,n=new Date(o[0].time),t=n.getDate(),s=o[1].date.getDate();n.setDate(t+i-1);var e=n.getDate();if(e!==s)for(var a=n.getTime()-o[1].time>0?1:-1;(e=n.getDate())!==s&&(n.getTime()-o[1].time)*a>0;)i-=a,n.setDate(e-a);var l=Math.floor((i+o[0].day+6)/7),u=r?-l+1:l-1;return r&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:i,weeks:l,nthWeek:u,fweek:o[0].day,lweek:o[1].day}},_getDateByWeeksAndDay:function(o,r,i){var n=this._getRangeInfo(i);if(o>n.weeks||o===0&&r<n.fweek||o===n.weeks&&r>n.lweek)return!1;var t=(o-1)*7-n.fweek+r,s=new Date(n.start.time);return s.setDate(n.start.d+t),this.getDateInfo(s)}},m.dimensions=m.prototype.dimensions,m.getDimensionsInfo=m.prototype.getDimensionsInfo,m.create=function(o,r){var i=[];return o.eachComponent("calendar",function(n){var t=new m(n,o,r);i.push(t),n.coordinateSystem=t}),o.eachSeries(function(n){n.get("coordinateSystem")==="calendar"&&(n.coordinateSystem=i[n.get("calendarIndex")||0])}),i};function p(o,r,i,n){var t=i.calendarModel,s=i.seriesModel,e=t?t.coordinateSystem:s?s.coordinateSystem:null;return e===this?e[o](n):null}A.register("calendar",m);var c=m;H.exports=c},"0JQy":function(H,k){var d="\\ud800-\\udfff",_="\\u0300-\\u036f",x="\\ufe20-\\ufe2f",C="\\u20d0-\\u20ff",A=_+x+C,b="\\ufe0e\\ufe0f",m="["+d+"]",p="["+A+"]",c="\\ud83c[\\udffb-\\udfff]",o="(?:"+p+"|"+c+")",r="[^"+d+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",n="[\\ud800-\\udbff][\\udc00-\\udfff]",t="\\u200d",s=o+"?",e="["+b+"]?",a="(?:"+t+"(?:"+[r,i,n].join("|")+")"+e+s+")*",l=e+s+a,u="(?:"+[r+p+"?",p,i,n,m].join("|")+")",h=RegExp(c+"(?="+c+")|"+u+l,"g");function f(g){return g.match(h)||[]}H.exports=f},"0NbB":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="CaretDownOutlined";var p=k.a=x.forwardRef(m)},"0V0F":function(H,k,d){var _=d("bYtY"),x=_.createHashMap,C=_.each;function A(m){var p=x();m.eachSeries(function(c){var o=c.get("stack");if(o){var r=p.get(o)||p.set(o,[]),i=c.getData(),n={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:c};if(!n.stackedDimension||!(n.isStackedByIndex||n.stackedByDimension))return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(n)}}),p.each(b)}function b(m){C(m,function(p,c){var o=[],r=[NaN,NaN],i=[p.stackResultDimension,p.stackedOverDimension],n=p.data,t=p.isStackedByIndex,s=n.map(i,function(e,a,l){var u=n.get(p.stackedDimension,l);if(isNaN(u))return r;var h,f;t?f=n.getRawIndex(l):h=n.get(p.stackedByDimension,l);for(var g=NaN,v=c-1;v>=0;v--){var y=m[v];if(t||(f=y.data.rawIndexOf(y.stackedByDimension,h)),f>=0){var E=y.data.getByRawIndex(y.stackResultDimension,f);if(u>=0&&E>0||u<=0&&E<0){u+=E,g=E;break}}}return o[0]=u,o[1]=g,o});n.hostModel.setData(s),p.data=s})}H.exports=A},"0XgM":function(H,k,d){},"0fbx":function(H,k,d){},"0o9m":function(H,k,d){var _=d("ProS");d("hNWo"),d("RlCK"),d("XpcN");var x=d("kDyi"),C=d("bLfw");_.registerProcessor(_.PRIORITY.PROCESSOR.SERIES_FILTER,x),C.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(H,k,d){var _=d("ProS");_.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),_.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(H,k){var d=arguments[3],_=arguments[4],x=arguments[5],C=JSON.stringify;H.exports=function(A,b){for(var m,p=Object.keys(x),c=0,o=p.length;c<o;c++){var r=p[c],i=x[r].exports;if(i===A||i&&i.default===A){m=r;break}}if(!m){m=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var n={},c=0,o=p.length;c<o;c++){var r=p[c];n[r]=r}_[m]=["function(require,module,exports){"+A+"(self); }",n]}var t=Math.floor(Math.pow(16,8)*Math.random()).toString(16),s={};s[m]=m,_[t]=["function(require,module,exports){var f = require("+C(m)+");(f.default ? f.default : f)(self);}",s];var e={};a(t);function a(v){e[v]=!0;for(var y in _[v][1]){var E=_[v][1][y];e[E]||a(E)}}var l="("+d+")({"+Object.keys(e).map(function(v){return C(v)+":["+_[v][0]+","+C(_[v][1])+"]"}).join(",")+"},{},["+C(t)+"])",u=window.URL||window.webkitURL||window.mozURL||window.msURL,h=new Blob([l],{type:"text/javascript"});if(b&&b.bare)return h;var f=u.createObjectURL(h),g=new Worker(f);return g.objectURL=f,g}},"0s+r":function(H,k,d){var _=d("bYtY"),x=d("QBsz"),C=d("y23F"),A=d("H6uX"),b=d("YH21"),m=d("C0SR"),p="silent";function c(a,l,u){return{type:a,event:u,target:l.target,topTarget:l.topTarget,cancelBubble:!1,offsetX:u.zrX,offsetY:u.zrY,gestureEvent:u.gestureEvent,pinchX:u.pinchX,pinchY:u.pinchY,pinchScale:u.pinchScale,wheelDelta:u.zrDelta,zrByTouch:u.zrByTouch,which:u.which,stop:o}}function o(){b.stop(this.event)}function r(){}r.prototype.dispose=function(){};var i=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],n=function(l,u,h,f){A.call(this),this.storage=l,this.painter=u,this.painterRoot=f,h=h||new r,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,C.call(this),this.setHandlerProxy(h)};n.prototype={constructor:n,setHandlerProxy:function(l){this.proxy&&this.proxy.dispose(),l&&(_.each(i,function(u){l.on&&l.on(u,this[u],this)},this),l.handler=this),this.proxy=l},mousemove:function(l){var u=l.zrX,h=l.zrY,f=s(this,u,h),g=this._hovered,v=g.target;v&&!v.__zr&&(g=this.findHover(g.x,g.y),v=g.target);var y=this._hovered=f?{x:u,y:h}:this.findHover(u,h),E=y.target,T=this.proxy;T.setCursor&&T.setCursor(E?E.cursor:"default"),v&&E!==v&&this.dispatchToElement(g,"mouseout",l),this.dispatchToElement(y,"mousemove",l),E&&E!==v&&this.dispatchToElement(y,"mouseover",l)},mouseout:function(l){var u=l.zrEventControl,h=l.zrIsToLocalDOM;u!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",l),u!=="no_globalout"&&(!h&&this.trigger("globalout",{type:"globalout",event:l}))},resize:function(l){this._hovered={}},dispatch:function(l,u){var h=this[l];h&&h.call(this,u)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(l){var u=this.proxy;u.setCursor&&u.setCursor(l)},dispatchToElement:function(l,u,h){l=l||{};var f=l.target;if(f&&f.silent)return;for(var g="on"+u,v=c(u,l,h);f&&!(f[g]&&(v.cancelBubble=f[g].call(f,v)),f.trigger(u,v),f=f.parent,v.cancelBubble););v.cancelBubble||(this.trigger(u,v),this.painter&&this.painter.eachOtherLayer(function(y){typeof y[g]=="function"&&y[g].call(y,v),y.trigger&&y.trigger(u,v)}))},findHover:function(l,u,h){for(var f=this.storage.getDisplayList(),g={x:l,y:u},v=f.length-1;v>=0;v--){var y;if(f[v]!==h&&!f[v].ignore&&(y=t(f[v],l,u))&&(!g.topTarget&&(g.topTarget=f[v]),y!==p)){g.target=f[v];break}}return g},processGesture:function(l,u){this._gestureMgr||(this._gestureMgr=new m);var h=this._gestureMgr;u==="start"&&h.clear();var f=h.recognize(l,this.findHover(l.zrX,l.zrY,null).target,this.proxy.dom);if(u==="end"&&h.clear(),f){var g=f.type;l.gestureEvent=g,this.dispatchToElement({target:f.target},g,f.event)}}},_.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){n.prototype[a]=function(l){var u=l.zrX,h=l.zrY,f=s(this,u,h),g,v;if((a!=="mouseup"||!f)&&(g=this.findHover(u,h),v=g.target),a==="mousedown")this._downEl=v,this._downPoint=[l.zrX,l.zrY],this._upEl=v;else if(a==="mouseup")this._upEl=v;else if(a==="click"){if(this._downEl!==this._upEl||!this._downPoint||x.dist(this._downPoint,[l.zrX,l.zrY])>4)return;this._downPoint=null}this.dispatchToElement(g,a,l)}});function t(a,l,u){if(a[a.rectHover?"rectContain":"contain"](l,u)){for(var h=a,f;h;){if(h.clipPath&&!h.clipPath.contain(l,u))return!1;h.silent&&(f=!0),h=h.parent}return f?p:!0}return!1}function s(a,l,u){var h=a.painter;return l<0||l>h.getWidth()||u<0||u>h.getHeight()}_.mixin(n,A),_.mixin(n,C);var e=n;H.exports=e},"10cm":function(H,k,d){var _=d("ProS"),x=d("2B6p"),C=x.updateCenterAndZoom;d("0qV/");var A={type:"graphRoam",event:"graphRoam",update:"none"};_.registerAction(A,function(b,m){m.eachComponent({mainType:"series",query:b},function(p){var c=p.coordinateSystem,o=C(c,b);p.setCenter&&p.setCenter(o.center),p.setZoom&&p.setZoom(o.zoom)})})},"15/o":function(H,k,d){},"19Vz":function(H,k,d){(function(_){_(d("VrN/"))})(function(_){_.defineOption("placeholder","",function(c,o,r){var i=r&&r!=_.Init;if(o&&!i)c.on("blur",b),c.on("change",m),c.on("swapDoc",m),_.on(c.getInputField(),"compositionupdate",c.state.placeholderCompose=function(){A(c)}),m(c);else if(!o&&i){c.off("blur",b),c.off("change",m),c.off("swapDoc",m),_.off(c.getInputField(),"compositionupdate",c.state.placeholderCompose),x(c);var n=c.getWrapperElement();n.className=n.className.replace(" CodeMirror-empty","")}o&&!c.hasFocus()&&b(c)});function x(c){c.state.placeholder&&(c.state.placeholder.parentNode.removeChild(c.state.placeholder),c.state.placeholder=null)}function C(c){x(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 r=c.getOption("placeholder");typeof r=="string"&&(r=document.createTextNode(r)),o.appendChild(r),c.display.lineSpace.insertBefore(o,c.display.lineSpace.firstChild)}function A(c){setTimeout(function(){var o=!1,r=c.getInputField();r.nodeName=="TEXTAREA"?o=!r.value:c.lineCount()==1&&(o=!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)),o?C(c):x(c)},20)}function b(c){p(c)&&C(c)}function m(c){var o=c.getWrapperElement(),r=p(c);o.className=o.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?C(c):x(c)}function p(c){return c.lineCount()===1&&c.getLine(0)===""}})},"1Jh7":function(H,k,d){var _=d("y+Vt"),x=d("T6xi"),C=_.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(b,m){x.buildPath(b,m,!1)}});H.exports=C},"1LEl":function(H,k,d){var _=d("ProS"),x=d("F9bG"),C=_.extendComponentView({type:"axisPointer",render:function(b,m,p){var c=m.getComponent("tooltip"),o=b.get("triggerOn")||c&&c.get("triggerOn")||"mousemove|click";x.register("axisPointer",p,function(r,i,n){o!=="none"&&(r==="leave"||o.indexOf(r)>=0)&&n({type:"updateAxisPointer",currTrigger:r,x:i&&i.offsetX,y:i&&i.offsetY})})},remove:function(b,m){x.unregister(m.getZr(),"axisPointer"),C.superApply(this._model,"remove",arguments)},dispose:function(b,m){x.unregister("axisPointer",m),C.superApply(this._model,"dispose",arguments)}}),A=C;H.exports=A},"1MYJ":function(H,k,d){var _=d("y+Vt"),x=_.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var A=this.__dirtyPath,b=this.shape.paths,m=0;m<b.length;m++)A=A||b[m].__dirtyPath;this.__dirtyPath=A,this.__dirty=this.__dirty||A},beforeBrush:function(){this._updatePathDirty();for(var A=this.shape.paths||[],b=this.getGlobalScale(),m=0;m<A.length;m++)A[m].path||A[m].createPathProxy(),A[m].path.setScale(b[0],b[1],A[m].segmentIgnoreThreshold)},buildPath:function(A,b){for(var m=b.paths||[],p=0;p<m.length;p++)m[p].buildPath(A,m[p].shape,!0)},afterBrush:function(){for(var A=this.shape.paths||[],b=0;b<A.length;b++)A[b].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),_.prototype.getBoundingRect.call(this)}});H.exports=x},"1NG9":function(H,k,d){var _=d("y+Vt"),x=d("QBsz"),C=d("iXp4"),A=x.min,b=x.max,m=x.scaleAndAdd,p=x.copy,c=[],o=[],r=[];function i(u){return isNaN(u[0])||isNaN(u[1])}function n(u,h,f,g,v,y,E,T,w,S,I){return S==="none"||!S?s.apply(this,arguments):t.apply(this,arguments)}function t(u,h,f,g,v,y,E,T,w,S,I){for(var L=0,O=f,N=0;N<g;N++){var R=h[O];if(O>=v||O<0)break;if(i(R)){if(I){O+=y;continue}break}if(O===f)u[y>0?"moveTo":"lineTo"](R[0],R[1]);else if(w>0){var D=h[L],B=S==="y"?1:0,M=(R[B]-D[B])*w;p(o,D),o[B]=D[B]+M,p(r,R),r[B]=R[B]-M,u.bezierCurveTo(o[0],o[1],r[0],r[1],R[0],R[1])}else u.lineTo(R[0],R[1]);L=O,O+=y}return N}function s(u,h,f,g,v,y,E,T,w,S,I){for(var L=0,O=f,N=0;N<g;N++){var R=h[O];if(O>=v||O<0)break;if(i(R)){if(I){O+=y;continue}break}if(O===f)u[y>0?"moveTo":"lineTo"](R[0],R[1]),p(o,R);else if(w>0){var D=O+y,B=h[D];if(I)for(;B&&i(h[D]);)D+=y,B=h[D];var M=.5,U=h[L],B=h[D];if(!B||i(B))p(r,R);else{i(B)&&!I&&(B=R),x.sub(c,B,U);var F,j;if(S==="x"||S==="y"){var W=S==="x"?0:1;F=Math.abs(R[W]-U[W]),j=Math.abs(R[W]-B[W])}else F=x.dist(R,U),j=x.dist(R,B);M=j/(j+F),m(r,R,c,-w*(1-M))}A(o,o,T),b(o,o,E),A(r,r,T),b(r,r,E),u.bezierCurveTo(o[0],o[1],r[0],r[1],R[0],R[1]),m(o,R,c,w*M)}else u.lineTo(R[0],R[1]);L=O,O+=y}return N}function e(u,h){var f=[Infinity,Infinity],g=[-Infinity,-Infinity];if(h)for(var v=0;v<u.length;v++){var y=u[v];y[0]<f[0]&&(f[0]=y[0]),y[1]<f[1]&&(f[1]=y[1]),y[0]>g[0]&&(g[0]=y[0]),y[1]>g[1]&&(g[1]=y[1])}return{min:h?f:g,max:h?g:f}}var a=_.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:C(_.prototype.brush),buildPath:function(u,h){var f=h.points,g=0,v=f.length,y=e(f,h.smoothConstraint);if(h.connectNulls){for(;v>0&&i(f[v-1]);v--);for(;g<v&&i(f[g]);g++);}for(;g<v;)g+=n(u,f,g,v,v,1,y.min,y.max,h.smooth,h.smoothMonotone,h.connectNulls)+1}}),l=_.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:C(_.prototype.brush),buildPath:function(u,h){var f=h.points,g=h.stackedOnPoints,v=0,y=f.length,E=h.smoothMonotone,T=e(f,h.smoothConstraint),w=e(g,h.smoothConstraint);if(h.connectNulls){for(;y>0&&i(f[y-1]);y--);for(;v<y&&i(f[v]);v++);}for(;v<y;){var S=n(u,f,v,y,y,1,T.min,T.max,h.smooth,E,h.connectNulls);n(u,g,v+S-1,S,y,-1,w.min,w.max,h.stackedOnSmooth,E,h.connectNulls),v+=S+1,u.closePath()}}});k.Polyline=a,k.Polygon=l},"1RvN":function(H,k){var d=function(){this.head=null,this.tail=null,this._len=0},_=d.prototype;_.insert=function(m){var p=new x(m);return this.insertEntry(p),p},_.insertEntry=function(m){this.head?(this.tail.next=m,m.prev=this.tail,m.next=null,this.tail=m):this.head=this.tail=m,this._len++},_.remove=function(m){var p=m.prev,c=m.next;p?p.next=c:this.head=c,c?c.prev=p:this.tail=p,m.next=m.prev=null,this._len--},_.len=function(){return this._len},_.clear=function(){this.head=this.tail=null,this._len=0};var x=function(p){this.value=p,this.next,this.prev},C=function(p){this._list=new d,this._map={},this._maxSize=p||10,this._lastRemovedEntry=null},A=C.prototype;A.put=function(m,p){var c=this._list,o=this._map,r=null;if(o[m]==null){var i=c.len(),n=this._lastRemovedEntry;if(i>=this._maxSize&&i>0){var t=c.head;c.remove(t),delete o[t.key],r=t.value,this._lastRemovedEntry=t}n?n.value=p:n=new x(p),n.key=m,c.insertEntry(n),o[m]=n}return r},A.get=function(m){var p=this._map[m],c=this._list;if(p!=null)return p!==c.tail&&(c.remove(p),c.insertEntry(p)),p.value},A.clear=function(){this._list.clear(),this._map={}};var b=C;H.exports=b},"1bdT":function(H,k,d){var _=d("3gBT"),x=d("H6uX"),C=d("DN4a"),A=d("vWvF"),b=d("bYtY"),m=function(o){C.call(this,o),x.call(this,o),A.call(this,o),this.id=o.id||_()};m.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(o,r){switch(this.draggable){case"horizontal":r=0;break;case"vertical":o=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=o,i[5]+=r,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(o,r){},attrKV:function(o,r){if(o==="position"||o==="scale"||o==="origin"){if(r){var i=this[o];i||(i=this[o]=[]),i[0]=r[0],i[1]=r[1]}}else this[o]=r},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(o,r){if(typeof o=="string")this.attrKV(o,r);else if(b.isObject(o))for(var i in o)o.hasOwnProperty(i)&&this.attrKV(i,o[i]);return this.dirty(!1),this},setClipPath:function(o){var r=this.__zr;r&&o.addSelfToZr(r),this.clipPath&&this.clipPath!==o&&this.removeClipPath(),this.clipPath=o,o.__zr=r,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 r=this.animators;if(r)for(var i=0;i<r.length;i++)o.animation.addAnimator(r[i]);this.clipPath&&this.clipPath.addSelfToZr(o)},removeSelfFromZr:function(o){this.__zr=null;var r=this.animators;if(r)for(var i=0;i<r.length;i++)o.animation.removeAnimator(r[i]);this.clipPath&&this.clipPath.removeSelfFromZr(o)}},b.mixin(m,A),b.mixin(m,C),b.mixin(m,x);var p=m;H.exports=p},"1dTM":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=d("GQ8N"),x=S(d("Lo0S")),C=d("VSMT"),A=d("GdRQ"),b=d("SZEN"),m=d("vewr"),p=T(d("YJ9k")),c=T(d("MZdM")),o=T(d("ItS6")),r=T(d("whVF")),i=T(d("Fv0C")),n=T(d("LCi9")),t=T(d("rwxt")),s=T(d("Mmt2")),e=T(d("iUHT")),a=T(d("mHUz")),l=T(d("P2ho")),u=d("NBmB");d("mdZa");var h=T(d("34/K")),f=T(d("hXwI")),g=T(d("SgaC")),v=T(d("3690")),y=T(d("8K/p")),E=T(d("xO64"));function T(ve){return ve&&ve.__esModule?ve:{default:ve}}function w(){if(typeof WeakMap!="function")return null;var ve=new WeakMap;return w=function(){return ve},ve}function S(ve){if(ve&&ve.__esModule)return ve;if(ve===null||I(ve)!=="object"&&typeof ve!="function")return{default:ve};var de=w();if(de&&de.has(ve))return de.get(ve);var Ce={},we=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var le in ve)if(Object.prototype.hasOwnProperty.call(ve,le)){var fe=we?Object.getOwnPropertyDescriptor(ve,le):null;fe&&(fe.get||fe.set)?Object.defineProperty(Ce,le,fe):Ce[le]=ve[le]}return Ce.default=ve,de&&de.set(ve,Ce),Ce}function I(ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Ce){return typeof Ce}:I=function(Ce){return Ce&&typeof Symbol=="function"&&Ce.constructor===Symbol&&Ce!==Symbol.prototype?"symbol":typeof Ce},I(ve)}function L(ve,de){if(!(ve instanceof de))throw new TypeError("Cannot call a class as a function")}function O(ve,de){for(var Ce=0;Ce<de.length;Ce++){var we=de[Ce];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(ve,we.key,we)}}function N(ve,de,Ce){return de&&O(ve.prototype,de),Ce&&O(ve,Ce),ve}function R(ve,de){if(typeof de!="function"&&de!==null)throw new TypeError("Super expression must either be null or a function");ve.prototype=Object.create(de&&de.prototype,{constructor:{value:ve,writable:!0,configurable:!0}}),de&&D(ve,de)}function D(ve,de){return D=Object.setPrototypeOf||function(we,le){return we.__proto__=le,we},D(ve,de)}function B(ve){var de=F();return function(){var we=j(ve),le;if(de){var fe=j(this).constructor;le=Reflect.construct(we,arguments,fe)}else le=we.apply(this,arguments);return M(this,le)}}function M(ve,de){return de&&(I(de)==="object"||typeof de=="function")?de:U(ve)}function U(ve){if(ve===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve}function F(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ve){return!1}}function j(ve){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(Ce){return Ce.__proto__||Object.getPrototypeOf(Ce)},j(ve)}var W=3,V="rgb(40, 40, 40)",z=17,Y=50,J=19,ie=75,Z=50,oe=1e3,ge=50,pe=1,De=1<<1,ce=1<<2,Oe=1<<3,se=1<<4,$=1<<24,ze=1<<25,re=1<<26,X=1<<27,G=1<<28,Q=function(ve){R(Ce,ve);var de=B(Ce);function Ce(we,le,fe){var xe;if(L(this,Ce),!we)throw new Error("Must specify target");if(!le)throw new Error("Must specify URL");xe=de.call(this),xe._target=we,xe._url=le,fe=fe||{},xe._rfbCredentials=fe.credentials||{},xe._shared="shared"in fe?!!fe.shared:!0,xe._repeaterID=fe.repeaterID||"",xe._wsProtocols=fe.wsProtocols||[],xe._rfbConnectionState="",xe._rfbInitState="",xe._rfbAuthScheme=-1,xe._rfbCleanDisconnect=!0,xe._rfbVersion=0,xe._rfbMaxVersion=3.8,xe._rfbTightVNC=!1,xe._rfbVeNCryptState=0,xe._rfbXvpVer=0,xe._fbWidth=0,xe._fbHeight=0,xe._fbName="",xe._capabilities={power:!1},xe._supportsFence=!1,xe._supportsContinuousUpdates=!1,xe._enabledContinuousUpdates=!1,xe._supportsSetDesktopSize=!1,xe._screenID=0,xe._screenFlags=0,xe._qemuExtKeyEventSupported=!1,xe._clipboardText=null,xe._clipboardServerCapabilitiesActions={},xe._clipboardServerCapabilitiesFormats={},xe._sock=null,xe._display=null,xe._flushing=!1,xe._keyboard=null,xe._gestures=null,xe._disconnTimer=null,xe._resizeTimeout=null,xe._mouseMoveTimer=null,xe._decoders={},xe._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},xe._mousePos={},xe._mouseButtonMask=0,xe._mouseLastMoveTime=0,xe._viewportDragging=!1,xe._viewportDragPos={},xe._viewportHasMoved=!1,xe._accumulatedWheelDeltaX=0,xe._accumulatedWheelDeltaY=0,xe._gestureLastTapTime=null,xe._gestureFirstDoubleTapEv=null,xe._gestureLastMagnitudeX=0,xe._gestureLastMagnitudeY=0,xe._eventHandlers={focusCanvas:xe._focusCanvas.bind(U(xe)),windowResize:xe._windowResize.bind(U(xe)),handleMouse:xe._handleMouse.bind(U(xe)),handleWheel:xe._handleWheel.bind(U(xe)),handleGesture:xe._handleGesture.bind(U(xe))},x.Debug(">> RFB.constructor"),xe._screen=document.createElement("div"),xe._screen.style.display="flex",xe._screen.style.width="100%",xe._screen.style.height="100%",xe._screen.style.overflow="auto",xe._screen.style.background=V,xe._canvas=document.createElement("canvas"),xe._canvas.style.margin="auto",xe._canvas.style.outline="none",xe._canvas.style.flexShrink="0",xe._canvas.width=0,xe._canvas.height=0,xe._canvas.tabIndex=-1,xe._screen.appendChild(xe._canvas),xe._cursor=new t.default,xe._cursorImage=Ce.cursors.none,xe._decoders[u.encodings.encodingRaw]=new h.default,xe._decoders[u.encodings.encodingCopyRect]=new f.default,xe._decoders[u.encodings.encodingRRE]=new g.default,xe._decoders[u.encodings.encodingHextile]=new v.default,xe._decoders[u.encodings.encodingTight]=new y.default,xe._decoders[u.encodings.encodingTightPNG]=new E.default;try{xe._display=new c.default(xe._canvas)}catch(We){throw x.Error("Display exception: "+We),We}return xe._display.onflush=xe._onFlush.bind(U(xe)),xe._keyboard=new i.default(xe._canvas),xe._keyboard.onkeyevent=xe._handleKeyEvent.bind(U(xe)),xe._gestures=new n.default,xe._sock=new s.default,xe._sock.on("message",function(){xe._handleMessage()}),xe._sock.on("open",function(){xe._rfbConnectionState==="connecting"&&xe._rfbInitState===""?(xe._rfbInitState="ProtocolVersion",x.Debug("Starting VNC handshake")):xe._fail("Unexpected server connection while "+xe._rfbConnectionState)}),xe._sock.on("close",function(We){x.Debug("WebSocket on-close event");var nt="";We.code&&(nt="(code: "+We.code,We.reason&&(nt+=", reason: "+We.reason),nt+=")");switch(xe._rfbConnectionState){case"connecting":xe._fail("Connection closed "+nt);break;case"connected":xe._updateConnectionState("disconnecting"),xe._updateConnectionState("disconnected");break;case"disconnecting":xe._updateConnectionState("disconnected");break;case"disconnected":xe._fail("Unexpected server disconnect when already disconnected "+nt);break;default:xe._fail("Unexpected server disconnect before connecting "+nt);break}xe._sock.off("close")}),xe._sock.on("error",function(We){return x.Warn("WebSocket on-error event")}),setTimeout(xe._updateConnectionState.bind(U(xe),"connecting")),x.Debug("<< RFB.constructor"),xe.dragViewport=!1,xe.focusOnClick=!0,xe._viewOnly=!1,xe._clipViewport=!1,xe._scaleViewport=!1,xe._resizeSession=!1,xe._showDotCursor=!1,fe.showDotCursor!==void 0&&(x.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),xe._showDotCursor=fe.showDotCursor),xe._qualityLevel=6,xe._compressionLevel=2,xe}return N(Ce,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(le){this._rfbCredentials=le,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;x.Info("Sending Ctrl-Alt-Del"),this.sendKey(a.default.XK_Control_L,"ControlLeft",!0),this.sendKey(a.default.XK_Alt_L,"AltLeft",!0),this.sendKey(a.default.XK_Delete,"Delete",!0),this.sendKey(a.default.XK_Delete,"Delete",!1),this.sendKey(a.default.XK_Alt_L,"AltLeft",!1),this.sendKey(a.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(le,fe,xe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(xe===void 0){this.sendKey(le,fe,!0),this.sendKey(le,fe,!1);return}var We=l.default[fe];if(this._qemuExtKeyEventSupported&&We)le=le||0,x.Info("Sending key ("+(xe?"down":"up")+"): keysym "+le+", scancode "+We),Ce.messages.QEMUExtendedKeyEvent(this._sock,le,xe,We);else{if(!le)return;x.Info("Sending keysym ("+(xe?"down":"up")+"): "+le),Ce.messages.keyEvent(this._sock,le,xe?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(le){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[pe]&&this._clipboardServerCapabilitiesActions[X])this._clipboardText=le,Ce.messages.extendedClipboardNotify(this._sock,[pe]);else{for(var fe=new Uint8Array(le.length),xe=0;xe<le.length;xe++)fe[xe]=le.charCodeAt(xe);Ce.messages.clientCutText(this._sock,fe)}}},{key:"_connect",value:function(){x.Debug(">> RFB.connect"),x.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(le){le.name==="SyntaxError"?this._fail("Invalid host or port ("+le+")"):this._fail("Error when opening socket ("+le+")")}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),x.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){x.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(le){if(!(le.name==="NotFoundError"))throw le}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),x.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(le){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(le){this._fbName=le,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(le){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 le=this._display.clipViewport,fe=this._clipViewport;if(this._scaleViewport&&(fe=!1),le!==fe&&(this._display.clipViewport=fe),fe){var xe=this._screenSize();this._display.viewportChangeSize(xe.w,xe.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var le=this._screenSize();this._display.autoscale(le.w,le.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var le=this._screenSize();Ce.messages.setDesktopSize(this._sock,Math.floor(le.w),Math.floor(le.h),this._screenID,this._screenFlags),x.Debug("Requested new desktop size: "+le.w+"x"+le.h)}},{key:"_screenSize",value:function(){var le=this._screen.getBoundingClientRect();return{w:le.width,h:le.height}}},{key:"_fixScrollbars",value:function(){var le=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=le}},{key:"_updateConnectionState",value:function(le){var fe=this,xe=this._rfbConnectionState;if(le===xe){x.Debug("Already in state '"+le+"', ignoring");return}if(xe==="disconnected"){x.Error("Tried changing state of a disconnected RFB object");return}switch(le){case"connected":if(xe!=="connecting"){x.Error("Bad transition to connected state, previous connection state: "+xe);return}break;case"disconnected":if(xe!=="disconnecting"){x.Error("Bad transition to disconnected state, previous connection state: "+xe);return}break;case"connecting":if(xe!==""){x.Error("Bad transition to connecting state, previous connection state: "+xe);return}break;case"disconnecting":if(xe!=="connected"&&xe!=="connecting"){x.Error("Bad transition to disconnecting state, previous connection state: "+xe);return}break;default:x.Error("Unknown connection state: "+le);return}this._rfbConnectionState=le,x.Debug("New state '"+le+"', was '"+xe+"'."),this._disconnTimer&&le!=="disconnecting"&&(x.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(le){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){x.Error("Disconnection timed out."),fe._updateConnectionState("disconnected")},W*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(le){switch(this._rfbConnectionState){case"disconnecting":x.Error("Failed when disconnecting: "+le);break;case"connected":x.Error("Failed while connected: "+le);break;case"connecting":x.Error("Failed when connecting: "+le);break;default:x.Error("RFB failure: "+le);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(le,fe){this._capabilities[le]=fe,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){x.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":x.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(le,fe,xe){this.sendKey(le,fe,xe)}},{key:"_handleMouse",value:function(le){if(le.type==="click"&&le.target!==this._canvas)return;if(le.stopPropagation(),le.preventDefault(),le.type==="click"||le.type==="contextmenu")return;var fe=(0,b.clientToElement)(le.clientX,le.clientY,this._canvas);switch(le.type){case"mousedown":(0,m.setCapture)(this._canvas),this._handleMouseButton(fe.x,fe.y,!0,1<<le.button);break;case"mouseup":this._handleMouseButton(fe.x,fe.y,!1,1<<le.button);break;case"mousemove":this._handleMouseMove(fe.x,fe.y);break}}},{key:"_handleMouseButton",value:function(le,fe,xe,We){if(this.dragViewport)if(xe&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:le,y:fe},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(le,fe,We)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(le,fe,this._mouseButtonMask)),xe?this._mouseButtonMask|=We:this._mouseButtonMask&=~We,this._sendMouse(le,fe,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(le,fe){var xe=this;if(this._viewportDragging){var We=this._viewportDragPos.x-le,nt=this._viewportDragPos.y-fe;(this._viewportHasMoved||Math.abs(We)>A.dragThreshold||Math.abs(nt)>A.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:le,y:fe},this._display.viewportChangePos(We,nt));return}if(this._mousePos={x:le,y:fe},this._mouseMoveTimer==null){var $e=Date.now()-this._mouseLastMoveTime;$e>z?(this._sendMouse(le,fe,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){xe._handleDelayedMouseMove()},z-$e)}}},{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(le,fe,xe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Ce.messages.pointerEvent(this._sock,this._display.absX(le),this._display.absY(fe),xe)}},{key:"_handleWheel",value:function(le){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;le.stopPropagation(),le.preventDefault();var fe=(0,b.clientToElement)(le.clientX,le.clientY,this._canvas),xe=le.deltaX,We=le.deltaY;le.deltaMode!==0&&(xe*=J,We*=J),this._accumulatedWheelDeltaX+=xe,this._accumulatedWheelDeltaY+=We,Math.abs(this._accumulatedWheelDeltaX)>=Y&&(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)>=Y&&(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(le,fe,xe){this._handleMouseMove(fe,xe),this._cursor.move(le.detail.clientX,le.detail.clientY)}},{key:"_handleTapEvent",value:function(le,fe){var xe=(0,b.clientToElement)(le.detail.clientX,le.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<oe&&this._gestureFirstDoubleTapEv.detail.type===le.detail.type){var We=this._gestureFirstDoubleTapEv.detail.clientX-le.detail.clientX,nt=this._gestureFirstDoubleTapEv.detail.clientY-le.detail.clientY,$e=Math.hypot(We,nt);$e<ge?xe=(0,b.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=le}else this._gestureFirstDoubleTapEv=le;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,fe),this._handleMouseButton(xe.x,xe.y,!1,fe)}},{key:"_handleGesture",value:function(le){var fe,xe=(0,b.clientToElement)(le.detail.clientX,le.detail.clientY,this._canvas);switch(le.type){case"gesturestart":switch(le.detail.type){case"onetap":this._handleTapEvent(le,1);break;case"twotap":this._handleTapEvent(le,4);break;case"threetap":this._handleTapEvent(le,2);break;case"drag":this._fakeMouseMove(le,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,1);break;case"longpress":this._fakeMouseMove(le,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=le.detail.magnitudeX,this._gestureLastMagnitudeY=le.detail.magnitudeY,this._fakeMouseMove(le,xe.x,xe.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(le.detail.magnitudeX,le.detail.magnitudeY),this._fakeMouseMove(le,xe.x,xe.y);break}break;case"gesturemove":switch(le.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(le,xe.x,xe.y);break;case"twodrag":for(this._fakeMouseMove(le,xe.x,xe.y);le.detail.magnitudeY-this._gestureLastMagnitudeY>Z;)this._handleMouseButton(xe.x,xe.y,!0,8),this._handleMouseButton(xe.x,xe.y,!1,8),this._gestureLastMagnitudeY+=Z;for(;le.detail.magnitudeY-this._gestureLastMagnitudeY<-Z;)this._handleMouseButton(xe.x,xe.y,!0,16),this._handleMouseButton(xe.x,xe.y,!1,16),this._gestureLastMagnitudeY-=Z;for(;le.detail.magnitudeX-this._gestureLastMagnitudeX>Z;)this._handleMouseButton(xe.x,xe.y,!0,32),this._handleMouseButton(xe.x,xe.y,!1,32),this._gestureLastMagnitudeX+=Z;for(;le.detail.magnitudeX-this._gestureLastMagnitudeX<-Z;)this._handleMouseButton(xe.x,xe.y,!0,64),this._handleMouseButton(xe.x,xe.y,!1,64),this._gestureLastMagnitudeX-=Z;break;case"pinch":if(this._fakeMouseMove(le,xe.x,xe.y),fe=Math.hypot(le.detail.magnitudeX,le.detail.magnitudeY),Math.abs(fe-this._gestureLastMagnitudeX)>ie){for(this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!0);fe-this._gestureLastMagnitudeX>ie;)this._handleMouseButton(xe.x,xe.y,!0,8),this._handleMouseButton(xe.x,xe.y,!1,8),this._gestureLastMagnitudeX+=ie;for(;fe-this._gestureLastMagnitudeX<-ie;)this._handleMouseButton(xe.x,xe.y,!0,16),this._handleMouseButton(xe.x,xe.y,!1,16),this._gestureLastMagnitudeX-=ie}this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(le.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(le,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!1,1);break;case"longpress":this._fakeMouseMove(le,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var le=this._sock.rQshiftStr(12).substr(4,7);x.Info("Server ProtocolVersion: "+le);var fe=0;switch(le){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 "+le)}if(fe){for(var xe="ID:"+this._repeaterID;xe.length<250;)xe+="\0";return this._sock.sendString(xe),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var We="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+We+`
`),x.Debug("Sent ProtocolVersion: "+We),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function le(We,nt){for(var $e=0;$e<nt.length;$e++)if(nt[$e]===We)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 xe=this._sock.rQshiftBytes(fe);if(x.Debug("Server security types: "+xe),le(1,xe))this._rfbAuthScheme=1;else if(le(22,xe))this._rfbAuthScheme=22;else if(le(16,xe))this._rfbAuthScheme=16;else if(le(2,xe))this._rfbAuthScheme=2;else if(le(19,xe))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+xe+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",x.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var le=this._sock.rQshift32(),fe="";if(le>0){if(this._sock.rQwait("reason",le,4))return!1;fe=this._sock.rQshiftStr(le)}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 le=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(le),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var le=this._sock.rQshift8(),fe=this._sock.rQshift8();if(!(le==0&&fe==2))return this._fail("Unsupported VeNCrypt version "+le+"."+fe);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var xe=this._sock.rQshift8();if(xe!=0)return this._fail("VeNCrypt failure "+xe);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var We=this._sock.rQshift8();if(We<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=We,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var nt=[],$e=0;$e<this._rfbVeNCryptSubtypesLength;$e++)nt.push(this._sock.rQshift32());if(nt.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 Le=(0,C.encodeUTF8)(this._rfbCredentials.username),pt=(0,C.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Le.length]),this._sock.send([0,0,0,pt.length]),this._sock.sendString(Le),this._sock.sendString(pt),this._rfbInitState="SecurityResult",!0}}},{key:"_negotiateStdVNCAuth",value:function(){if(this._sock.rQwait("auth challenge",16))return!1;if(this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;var le=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),fe=Ce.genDES(this._rfbCredentials.password,le);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(le){for(var fe={0:{vendor:"TGHT",signature:"NOTUNNEL"}},xe={},We=0;We<le;We++){var nt=this._sock.rQshift32(),$e=this._sock.rQshiftStr(4),Le=this._sock.rQshiftStr(8);xe[nt]={vendor:$e,signature:Le}}return x.Debug("Server Tight tunnel types: "+xe),xe[1]&&xe[1].vendor==="SICR"&&xe[1].signature==="SCHANNEL"&&(x.Debug("Detected Siemens server. Assuming NOTUNNEL support."),xe[0]={vendor:"TGHT",signature:"NOTUNNEL"}),xe[0]?xe[0].vendor!=fe[0].vendor||xe[0].signature!=fe[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(x.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 le=this._sock.rQshift32();if(le>0&&this._sock.rQwait("tunnel capabilities",16*le,4))return!1;if(this._rfbTightVNC=!0,le>0)return this._negotiateTightTunnels(le),!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 xe={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},We=[],nt=0;nt<fe;nt++){this._sock.rQshift32();var $e=this._sock.rQshiftStr(12);We.push($e)}x.Debug("Server Tight authentication types: "+We);for(var Le in xe)if(We.indexOf(Le)!=-1){this._sock.send([0,0,0,xe[Le]]),x.Debug("Selected authentication type: "+Le);switch(Le){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: "+Le+")")}}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 le=this._sock.rQshift32();return le===0?(this._rfbInitState="ClientInitialisation",x.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=le,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:le}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var le=this._sock.rQshift16(),fe=this._sock.rQshift16(),xe=this._sock.rQshift8(),We=this._sock.rQshift8(),nt=this._sock.rQshift8(),$e=this._sock.rQshift8(),Le=this._sock.rQshift16(),pt=this._sock.rQshift16(),Qe=this._sock.rQshift16(),gt=this._sock.rQshift8(),wt=this._sock.rQshift8(),Et=this._sock.rQshift8();this._sock.rQskipBytes(3);var _t=this._sock.rQshift32();if(this._sock.rQwait("server init name",_t,24))return!1;var Ht=this._sock.rQshiftStr(_t);if(Ht=(0,C.decodeUTF8)(Ht,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+_t))return!1;var Ze=this._sock.rQshift16(),ye=this._sock.rQshift16(),ae=this._sock.rQshift16();this._sock.rQskipBytes(2);var yt=(Ze+ye+ae)*16;if(this._sock.rQwait("TightVNC extended server init header",yt,32+_t))return!1;this._sock.rQskipBytes(16*Ze),this._sock.rQskipBytes(16*ye),this._sock.rQskipBytes(16*ae)}return x.Info("Screen: "+le+"x"+fe+", bpp: "+xe+", depth: "+We+", bigEndian: "+nt+", trueColor: "+$e+", redMax: "+Le+", greenMax: "+pt+", blueMax: "+Qe+", redShift: "+gt+", greenShift: "+wt+", blueShift: "+Et),this._setDesktopName(Ht),this._resize(le,fe),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(x.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Ce.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Ce.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var le=[];le.push(u.encodings.encodingCopyRect),this._fbDepth==24&&(le.push(u.encodings.encodingTight),le.push(u.encodings.encodingTightPNG),le.push(u.encodings.encodingHextile),le.push(u.encodings.encodingRRE)),le.push(u.encodings.encodingRaw),le.push(u.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),le.push(u.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),le.push(u.encodings.pseudoEncodingDesktopSize),le.push(u.encodings.pseudoEncodingLastRect),le.push(u.encodings.pseudoEncodingQEMUExtendedKeyEvent),le.push(u.encodings.pseudoEncodingExtendedDesktopSize),le.push(u.encodings.pseudoEncodingXvp),le.push(u.encodings.pseudoEncodingFence),le.push(u.encodings.pseudoEncodingContinuousUpdates),le.push(u.encodings.pseudoEncodingDesktopName),le.push(u.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(le.push(u.encodings.pseudoEncodingVMwareCursor),le.push(u.encodings.pseudoEncodingCursor)),Ce.messages.clientEncodings(this._sock,le)}},{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 x.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(x.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var le=this._sock.rQshift32();if(le=(0,_.toSigned32bit)(le),this._sock.rQwait("ServerCutText content",Math.abs(le),8))return!1;if(le>=0){var fe=this._sock.rQshiftStr(le);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:fe}}))}else{le=Math.abs(le);var xe=this._sock.rQshift32(),We=xe&65535,nt=xe&4278190080,$e=!!(nt&$);if($e){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Le=0;Le<=15;Le++){var pt=1<<Le;We&pt&&(this._clipboardServerCapabilitiesFormats[pt]=!0,this._sock.rQshift32())}for(var Qe=24;Qe<=31;Qe++){var gt=1<<Qe;this._clipboardServerCapabilitiesActions[gt]=!!(nt&gt)}var wt=[$,ze,re,X,G];Ce.messages.extendedClipboardCaps(this._sock,wt,{extendedClipboardFormatText:0})}else if(nt===ze){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[G]&&(We&pe&&Ce.messages.extendedClipboardProvide(this._sock,[pe],[this._clipboardText]))}else if(nt===re){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[X]&&(this._clipboardText!=null?Ce.messages.extendedClipboardNotify(this._sock,[pe]):Ce.messages.extendedClipboardNotify(this._sock,[]))}else if(nt===X){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[ze]&&(We&pe&&Ce.messages.extendedClipboardRequest(this._sock,[pe]))}else if(nt===G){if(this._viewOnly)return!0;if(!(We&pe))return!0;this._clipboardText=null;var Et=this._sock.rQshiftBytes(le-4),_t=new o.default,Ht=null;_t.setInput(Et);for(var Ze=0;Ze<=15;Ze++){var ye=1<<Ze;if(We&ye){var ae=0,yt=_t.inflate(4);ae|=yt[0]<<24,ae|=yt[1]<<16,ae|=yt[2]<<8,ae|=yt[3];var et=_t.inflate(ae);ye===pe&&(Ht=et)}}if(_t.setInput(null),Ht!==null){for(var me="",Gt=0;Gt<Ht.length;Gt++)me+=String.fromCharCode(Ht[Gt]);Ht=me,Ht=(0,C.decodeUTF8)(Ht),Ht.length>0&&Ht.charAt(Ht.length-1)==="\0"&&(Ht=Ht.slice(0,-1)),Ht=Ht.replace(`\r
`,`
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Ht}}))}}else return this._fail("Unexpected action in extended clipboard message: "+nt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var le=this._sock.rQshift32(),fe=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",fe,9))return!1;fe>64&&(x.Warn("Bad payload length ("+fe+") in fence response"),fe=64);var xe=this._sock.rQshiftStr(fe);return this._supportsFence=!0,le&1<<31?(le&=1<<0|1<<1,Ce.messages.clientFence(this._sock,le,xe),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var le=this._sock.rQshift8(),fe=this._sock.rQshift8();switch(fe){case 0:x.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=le,x.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 le;this._FBU.rects>0?le=0:le=this._sock.rQshift8();var fe,xe;switch(le){case 0:return xe=this._framebufferUpdate(),xe&&!this._enabledContinuousUpdates&&Ce.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),xe;case 1:return this._handleSetColourMapMsg();case 2:return x.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(),x.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+le+")"),x.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 le=this._sock.rQshiftBytes(12);this._FBU.x=(le[0]<<8)+le[1],this._FBU.y=(le[2]<<8)+le[3],this._FBU.width=(le[4]<<8)+le[5],this._FBU.height=(le[6]<<8)+le[7],this._FBU.encoding=parseInt((le[8]<<24)+(le[9]<<16)+(le[10]<<8)+le[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 u.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case u.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case u.encodings.pseudoEncodingCursor:return this._handleCursor();case u.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var le=document.createEvent("keyboardEvent");le.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(fe){}return!0;case u.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case u.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case u.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var le=this._FBU.x,fe=this._FBU.y,xe=this._FBU.width,We=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var nt=this._sock.rQshift8();this._sock.rQshift8();var $e,Le=4;if(nt==0){var pt=4294967040|0;if($e=new Array(xe*We*Le),this._sock.rQwait("VMware cursor classic encoding",xe*We*Le*2,2))return!1;for(var Qe=new Array(xe*We),gt=0;gt<xe*We;gt++)Qe[gt]=this._sock.rQshift32();for(var wt=new Array(xe*We),Et=0;Et<xe*We;Et++)wt[Et]=this._sock.rQshift32();for(var _t=0;_t<xe*We;_t++)if(Qe[_t]==0){var Ht=wt[_t],Ze=Ht>>8&255,ye=Ht>>16&255,ae=Ht>>24&255;$e[_t*Le]=Ze,$e[_t*Le+1]=ye,$e[_t*Le+2]=ae,$e[_t*Le+3]=255}else(Qe[_t]&pt)==pt?wt[_t]==0?($e[_t*Le]=0,$e[_t*Le+1]=0,$e[_t*Le+2]=0,$e[_t*Le+3]=0):((wt[_t]&pt)==pt,$e[_t*Le]=0,$e[_t*Le+1]=0,$e[_t*Le+2]=0,$e[_t*Le+3]=255):($e[_t*Le]=0,$e[_t*Le+1]=0,$e[_t*Le+2]=0,$e[_t*Le+3]=255)}else if(nt==1){if(this._sock.rQwait("VMware cursor alpha encoding",xe*We*4,2))return!1;$e=new Array(xe*We*Le);for(var yt=0;yt<xe*We;yt++){var et=this._sock.rQshift32();$e[yt*4]=et>>24&255,$e[yt*4+1]=et>>16&255,$e[yt*4+2]=et>>8&255,$e[yt*4+3]=et&255}}else return x.Warn("The given cursor type is not supported: "+nt+" given."),!1;return this._updateCursor($e,le,fe,xe,We),!0}},{key:"_handleCursor",value:function(){var le=this._FBU.x,fe=this._FBU.y,xe=this._FBU.width,We=this._FBU.height,nt=xe*We*4,$e=Math.ceil(xe/8)*We,Le=nt+$e;if(this._sock.rQwait("cursor encoding",Le))return!1;for(var pt=this._sock.rQshiftBytes(nt),Qe=this._sock.rQshiftBytes($e),gt=new Uint8Array(xe*We*4),wt=0,Et=0;Et<We;Et++)for(var _t=0;_t<xe;_t++){var Ht=Et*Math.ceil(xe/8)+Math.floor(_t/8),Ze=Qe[Ht]<<_t%8&128?255:0;gt[wt]=pt[wt+2],gt[wt+1]=pt[wt+1],gt[wt+2]=pt[wt],gt[wt+3]=Ze,wt+=4}return this._updateCursor(gt,le,fe,xe,We),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var le=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",le,4))return!1;var fe=this._sock.rQshiftStr(le);return fe=(0,C.decodeUTF8)(fe,!0),this._setDesktopName(fe),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var le=this._sock.rQpeek8(),fe=4+le*16;if(this._sock.rQwait("ExtendedDesktopSize",fe))return!1;var xe=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,xe&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var We=0;We<le;We+=1)We===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 nt="";switch(this._FBU.y){case 1:nt="Resize is administratively prohibited";break;case 2:nt="Out of resources";break;case 3:nt="Invalid screen layout";break;default:nt="Unknown reason";break}x.Warn("Server did not accept the resize request: "+nt)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var le=this._decoders[this._FBU.encoding];if(!le)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return le.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;Ce.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(le,fe){this._fbWidth=le,this._fbHeight=fe,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(le,fe){if(this._rfbXvpVer<le)return;x.Info("Sending XVP operation "+fe+" (version "+le+")"),Ce.messages.xvpOp(this._sock,le,fe)}},{key:"_updateCursor",value:function(le,fe,xe,We,nt){this._cursorImage={rgbaPixels:le,hotx:fe,hoty:xe,w:We,h:nt},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var le=3;le<this._cursorImage.rgbaPixels.length;le+=4)if(this._cursorImage.rgbaPixels[le])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var le=this._shouldShowDotCursor()?Ce.cursors.dot:this._cursorImage;this._cursor.change(le.rgbaPixels,le.hotx,le.hoty,le.w,le.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(le){this._viewOnly=le,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(le?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(le){x.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(le){this._clipViewport=le,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(le){this._scaleViewport=le,le&&this._clipViewport&&this._updateClip(),this._updateScale(),!le&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(le){this._resizeSession=le,le&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(le){this._showDotCursor=le,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(le){this._screen.style.background=le}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(le){if(!Number.isInteger(le)||le<0||le>9){x.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===le)return;this._qualityLevel=le,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(le){if(!Number.isInteger(le)||le<0||le>9){x.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===le)return;this._compressionLevel=le,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(le,fe){var xe=le.split("").map(function(We){return We.charCodeAt(0)});return new e.default(xe).encrypt(fe)}}]),Ce}(p.default);k.default=Q,Q.messages={keyEvent:function(de,Ce,we){var le=de._sQ,fe=de._sQlen;le[fe]=4,le[fe+1]=we,le[fe+2]=0,le[fe+3]=0,le[fe+4]=Ce>>24,le[fe+5]=Ce>>16,le[fe+6]=Ce>>8,le[fe+7]=Ce,de._sQlen+=8,de.flush()},QEMUExtendedKeyEvent:function(de,Ce,we,le){function fe($e){var Le=le>>8,pt=le&255;return Le===224&&pt<127?pt|128:$e}var xe=de._sQ,We=de._sQlen;xe[We]=255,xe[We+1]=0,xe[We+2]=we>>8,xe[We+3]=we,xe[We+4]=Ce>>24,xe[We+5]=Ce>>16,xe[We+6]=Ce>>8,xe[We+7]=Ce;var nt=fe(le);xe[We+8]=nt>>24,xe[We+9]=nt>>16,xe[We+10]=nt>>8,xe[We+11]=nt,de._sQlen+=12,de.flush()},pointerEvent:function(de,Ce,we,le){var fe=de._sQ,xe=de._sQlen;fe[xe]=5,fe[xe+1]=le,fe[xe+2]=Ce>>8,fe[xe+3]=Ce,fe[xe+4]=we>>8,fe[xe+5]=we,de._sQlen+=6,de.flush()},_buildExtendedClipboardFlags:function(de,Ce){for(var we=new Uint8Array(4),le=0,fe=0,xe=0;xe<de.length;xe++)fe|=de[xe];for(var We=0;We<Ce.length;We++)le|=Ce[We];return we[0]=fe>>24,we[1]=0,we[2]=0,we[3]=le,we},extendedClipboardProvide:function(de,Ce,we){for(var le=new r.default,fe=[],xe=0;xe<Ce.length;xe++){if(Ce[xe]!=pe)throw new Error("Unsupported extended clipboard format for Provide message.");we[xe]=we[xe].replace(/\r\n|\r|\n/gm,`\r
`);var We=(0,C.encodeUTF8)(we[xe]+"\0");fe.push(We.length>>24&255,We.length>>16&255,We.length>>8&255,We.length&255);for(var nt=0;nt<We.length;nt++)fe.push(We.charCodeAt(nt))}var $e=le.deflate(new Uint8Array(fe)),Le=new Uint8Array(4+$e.length);Le.set(Q.messages._buildExtendedClipboardFlags([G],Ce)),Le.set($e,4),Q.messages.clientCutText(de,Le,!0)},extendedClipboardNotify:function(de,Ce){var we=Q.messages._buildExtendedClipboardFlags([X],Ce);Q.messages.clientCutText(de,we,!0)},extendedClipboardRequest:function(de,Ce){var we=Q.messages._buildExtendedClipboardFlags([ze],Ce);Q.messages.clientCutText(de,we,!0)},extendedClipboardCaps:function(de,Ce,we){var le=Object.keys(we),fe=new Uint8Array(4+4*le.length);le.map(function(nt){return parseInt(nt)}),le.sort(function(nt,$e){return nt-$e}),fe.set(Q.messages._buildExtendedClipboardFlags(Ce,[]));for(var xe=4,We=0;We<le.length;We++)fe[xe]=we[le[We]]>>24,fe[xe+1]=we[le[We]]>>16,fe[xe+2]=we[le[We]]>>8,fe[xe+3]=we[le[We]]>>0,xe+=4,fe[3]|=1<<le[We];Q.messages.clientCutText(de,fe,!0)},clientCutText:function(de,Ce){var we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,le=de._sQ,fe=de._sQlen;le[fe]=6,le[fe+1]=0,le[fe+2]=0,le[fe+3]=0;var xe;we?xe=(0,_.toUnsigned32bit)(-Ce.length):xe=Ce.length,le[fe+4]=xe>>24,le[fe+5]=xe>>16,le[fe+6]=xe>>8,le[fe+7]=xe,de._sQlen+=8;for(var We=0,nt=Ce.length;nt>0;){for(var $e=Math.min(nt,de._sQbufferSize-de._sQlen),Le=0;Le<$e;Le++)le[de._sQlen+Le]=Ce[We+Le];de._sQlen+=$e,de.flush(),nt-=$e,We+=$e}},setDesktopSize:function(de,Ce,we,le,fe){var xe=de._sQ,We=de._sQlen;xe[We]=251,xe[We+1]=0,xe[We+2]=Ce>>8,xe[We+3]=Ce,xe[We+4]=we>>8,xe[We+5]=we,xe[We+6]=1,xe[We+7]=0,xe[We+8]=le>>24,xe[We+9]=le>>16,xe[We+10]=le>>8,xe[We+11]=le,xe[We+12]=0,xe[We+13]=0,xe[We+14]=0,xe[We+15]=0,xe[We+16]=Ce>>8,xe[We+17]=Ce,xe[We+18]=we>>8,xe[We+19]=we,xe[We+20]=fe>>24,xe[We+21]=fe>>16,xe[We+22]=fe>>8,xe[We+23]=fe,de._sQlen+=24,de.flush()},clientFence:function(de,Ce,we){var le=de._sQ,fe=de._sQlen;le[fe]=248,le[fe+1]=0,le[fe+2]=0,le[fe+3]=0,le[fe+4]=Ce>>24,le[fe+5]=Ce>>16,le[fe+6]=Ce>>8,le[fe+7]=Ce;var xe=we.length;le[fe+8]=xe;for(var We=0;We<xe;We++)le[fe+9+We]=we.charCodeAt(We);de._sQlen+=9+xe,de.flush()},enableContinuousUpdates:function(de,Ce,we,le,fe,xe){var We=de._sQ,nt=de._sQlen;We[nt]=150,We[nt+1]=Ce,We[nt+2]=we>>8,We[nt+3]=we,We[nt+4]=le>>8,We[nt+5]=le,We[nt+6]=fe>>8,We[nt+7]=fe,We[nt+8]=xe>>8,We[nt+9]=xe,de._sQlen+=10,de.flush()},pixelFormat:function(de,Ce,we){var le=de._sQ,fe=de._sQlen,xe;Ce>16?xe=32:Ce>8?xe=16:xe=8;var We=Math.floor(Ce/3);le[fe]=0,le[fe+1]=0,le[fe+2]=0,le[fe+3]=0,le[fe+4]=xe,le[fe+5]=Ce,le[fe+6]=0,le[fe+7]=we?1:0,le[fe+8]=0,le[fe+9]=(1<<We)-1,le[fe+10]=0,le[fe+11]=(1<<We)-1,le[fe+12]=0,le[fe+13]=(1<<We)-1,le[fe+14]=We*2,le[fe+15]=We*1,le[fe+16]=We*0,le[fe+17]=0,le[fe+18]=0,le[fe+19]=0,de._sQlen+=20,de.flush()},clientEncodings:function(de,Ce){var we=de._sQ,le=de._sQlen;we[le]=2,we[le+1]=0,we[le+2]=Ce.length>>8,we[le+3]=Ce.length;for(var fe=le+4,xe=0;xe<Ce.length;xe++){var We=Ce[xe];we[fe]=We>>24,we[fe+1]=We>>16,we[fe+2]=We>>8,we[fe+3]=We,fe+=4}de._sQlen+=fe-le,de.flush()},fbUpdateRequest:function(de,Ce,we,le,fe,xe){var We=de._sQ,nt=de._sQlen;typeof we=="undefined"&&(we=0),typeof le=="undefined"&&(le=0),We[nt]=3,We[nt+1]=Ce?1:0,We[nt+2]=we>>8&255,We[nt+3]=we&255,We[nt+4]=le>>8&255,We[nt+5]=le&255,We[nt+6]=fe>>8&255,We[nt+7]=fe&255,We[nt+8]=xe>>8&255,We[nt+9]=xe&255,de._sQlen+=10,de.flush()},xvpOp:function(de,Ce,we){var le=de._sQ,fe=de._sQlen;le[fe]=250,le[fe+1]=0,le[fe+2]=Ce,le[fe+3]=we,de._sQlen+=4,de.flush()}},Q.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(H,k,d){(function(_){_(d("VrN/"))})(function(_){"use strict";var x={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},C={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};_.defineMode("xml",function(A,b){var m=A.indentUnit,p={},c=b.htmlMode?x:C;for(var o in c)p[o]=c[o];for(var o in b)p[o]=b[o];var r,i;function n(L,O){function N(B){return O.tokenize=B,B(L,O)}var R=L.next();if(R=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?N(e("atom","]]>")):null:L.match("--")?N(e("comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),N(a(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),O.tokenize=e("meta","?>"),"meta"):(r=L.eat("/")?"closeTag":"openTag",O.tokenize=t,"tag bracket");if(R=="&"){var D;return L.eat("#")?L.eat("x")?D=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):D=L.eatWhile(/[\d]/)&&L.eat(";"):D=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),D?"atom":"error"}else return L.eatWhile(/[^&<]/),null}n.isInText=!0;function t(L,O){var N=L.next();if(N==">"||N=="/"&&L.eat(">"))return O.tokenize=n,r=N==">"?"endTag":"selfcloseTag","tag bracket";if(N=="=")return r="equals",null;if(N=="<"){O.tokenize=n,O.state=f,O.tagName=O.tagStart=null;var R=O.tokenize(L,O);return R?R+" tag error":"tag error"}else return/[\'\"]/.test(N)?(O.tokenize=s(N),O.stringStartCol=L.column(),O.tokenize(L,O)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(L){var O=function(R,D){for(;!R.eol();)if(R.next()==L){D.tokenize=t;break}return"string"};return O.isInAttribute=!0,O}function e(L,O){return function(N,R){for(;!N.eol();){if(N.match(O)){R.tokenize=n;break}N.next()}return L}}function a(L){return function(O,N){for(var R;(R=O.next())!=null;){if(R=="<")return N.tokenize=a(L+1),N.tokenize(O,N);if(R==">")if(L==1){N.tokenize=n;break}else return N.tokenize=a(L-1),N.tokenize(O,N)}return"meta"}}function l(L,O,N){this.prev=L.context,this.tagName=O,this.indent=L.indented,this.startOfLine=N,(p.doNotIndent.hasOwnProperty(O)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function u(L){L.context&&(L.context=L.context.prev)}function h(L,O){for(var N;;){if(!L.context)return;if(N=L.context.tagName,!p.contextGrabbers.hasOwnProperty(N)||!p.contextGrabbers[N].hasOwnProperty(O))return;u(L)}}function f(L,O,N){return L=="openTag"?(N.tagStart=O.column(),g):L=="closeTag"?v:f}function g(L,O,N){return L=="word"?(N.tagName=O.current(),i="tag",T):p.allowMissingTagName&&L=="endTag"?(i="tag bracket",T(L,O,N)):(i="error",g)}function v(L,O,N){if(L=="word"){var R=O.current();return N.context&&N.context.tagName!=R&&p.implicitlyClosed.hasOwnProperty(N.context.tagName)&&u(N),N.context&&N.context.tagName==R||p.matchClosing===!1?(i="tag",y):(i="tag error",E)}else return p.allowMissingTagName&&L=="endTag"?(i="tag bracket",y(L,O,N)):(i="error",E)}function y(L,O,N){return L!="endTag"?(i="error",y):(u(N),f)}function E(L,O,N){return i="error",y(L,O,N)}function T(L,O,N){if(L=="word")return i="attribute",w;if(L=="endTag"||L=="selfcloseTag"){var R=N.tagName,D=N.tagStart;return N.tagName=N.tagStart=null,L=="selfcloseTag"||p.autoSelfClosers.hasOwnProperty(R)?h(N,R):(h(N,R),N.context=new l(N,R,D==N.indented)),f}return i="error",T}function w(L,O,N){return L=="equals"?S:(p.allowMissing||(i="error"),T(L,O,N))}function S(L,O,N){return L=="string"?I:L=="word"&&p.allowUnquoted?(i="string",T):(i="error",T(L,O,N))}function I(L,O,N){return L=="string"?I:T(L,O,N)}return{startState:function(O){var N={tokenize:n,state:f,indented:O||0,tagName:null,tagStart:null,context:null};return O!=null&&(N.baseIndent=O),N},token:function(O,N){if(!N.tagName&&O.sol()&&(N.indented=O.indentation()),O.eatSpace())return null;r=null;var R=N.tokenize(O,N);return(R||r)&&R!="comment"&&(i=null,N.state=N.state(r||R,O,N),i&&(R=i=="error"?R+" error":i)),R},indent:function(O,N,R){var D=O.context;if(O.tokenize.isInAttribute)return O.tagStart==O.indented?O.stringStartCol+1:O.indented+m;if(D&&D.noIndent)return _.Pass;if(O.tokenize!=t&&O.tokenize!=n)return R?R.match(/^(\s*)/)[0].length:0;if(O.tagName)return p.multilineTagIndentPastTag!==!1?O.tagStart+O.tagName.length+2:O.tagStart+m*(p.multilineTagIndentFactor||1);if(p.alignCDATA&&/<!\[CDATA\[/.test(N))return 0;var B=N&&/^<(\/)?([\w_:\.-]*)/.exec(N);if(B&&B[1])for(;D;)if(D.tagName==B[2]){D=D.prev;break}else if(p.implicitlyClosed.hasOwnProperty(D.tagName))D=D.prev;else break;else if(B)for(;D;){var M=p.contextGrabbers[D.tagName];if(M&&M.hasOwnProperty(B[2]))D=D.prev;else break}for(;D&&D.prev&&!D.startOfLine;)D=D.prev;return D?D.indent+m:O.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:p.htmlMode?"html":"xml",helperType:p.htmlMode?"html":"xml",skipAttribute:function(O){O.state==S&&(O.state=T)},xmlCurrentTag:function(O){return O.tagName?{name:O.tagName,close:O.type=="closeTag"}:null},xmlCurrentContext:function(O){for(var N=[],R=O.context;R;R=R.prev)R.tagName&&N.push(R.tagName);return N.reverse()}}}),_.defineMIME("text/xml","xml"),_.defineMIME("application/xml","xml"),_.mimeModes.hasOwnProperty("text/html")||_.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(H,k,d){(function(_,x){/*!
* html2pdf.js v0.10.1
* Copyright (c) 2021 Erik Koopmans
* Released under the MIT License.
*/(function(A,b){H.exports=b(d("dtIV"),d("wOnQ"))})(self,function(C,A){return function(){var b={"./src/plugin/hyperlinks.js":function(r,i,n){"use strict";n.r(i);var t=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),s=n.n(t),e=n("./node_modules/core-js/modules/es.string.link.js"),a=n.n(e),l=n("./src/worker.js"),u=n("./src/utils.js"),h=[],f={toContainer:l.default.prototype.toContainer,toPdf:l.default.prototype.toPdf};l.default.prototype.toContainer=function(){return f.toContainer.call(this).then(function(){if(this.opt.enableLinks){var y=this.prop.container,E=y.querySelectorAll("a"),T=(0,u.unitConvert)(y.getBoundingClientRect(),this.prop.pageSize.k);h=[],Array.prototype.forEach.call(E,function(w){for(var S=w.getClientRects(),I=0;I<S.length;I++){var L=(0,u.unitConvert)(S[I],this.prop.pageSize.k);L.left-=T.left,L.top-=T.top;var O=Math.floor(L.top/this.prop.pageSize.inner.height)+1,N=this.opt.margin[0]+L.top%this.prop.pageSize.inner.height,R=this.opt.margin[1]+L.left;h.push({page:O,top:N,left:R,clientRect:L,link:w})}},this)}})},l.default.prototype.toPdf=function(){return f.toPdf.call(this).then(function(){if(this.opt.enableLinks){h.forEach(function(E){this.prop.pdf.setPage(E.page),this.prop.pdf.link(E.left,E.top,E.clientRect.width,E.clientRect.height,{url:E.link.href})},this);var y=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(y)}})}},"./src/plugin/jspdf-plugin.js":function(r,i,n){"use strict";n.r(i);var t=n("./node_modules/core-js/modules/es.symbol.js"),s=n.n(t),e=n("./node_modules/core-js/modules/es.symbol.description.js"),a=n.n(e),l=n("./node_modules/core-js/modules/es.object.to-string.js"),u=n.n(l),h=n("./node_modules/core-js/modules/es.symbol.iterator.js"),f=n.n(h),g=n("./node_modules/core-js/modules/es.array.iterator.js"),v=n.n(g),y=n("./node_modules/core-js/modules/es.string.iterator.js"),E=n.n(y),T=n("./node_modules/core-js/modules/web.dom-collections.iterator.js"),w=n.n(T),S=n("jspdf"),I=n.n(S);function L(O){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(R){return typeof R}:L=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},L(O)}S.jsPDF.getPageSize=function(O,N,R){if(L(O)==="object"){var D=O;O=D.orientation,N=D.unit||N,R=D.format||R}N=N||"mm",R=R||"a4",O=(""+(O||"P")).toLowerCase();var B=(""+R).toLowerCase(),M={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(N){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: "+N}if(M.hasOwnProperty(B))var F=M[B][1]/U,j=M[B][0]/U;else try{var F=R[1],j=R[0]}catch(z){throw new Error("Invalid format: "+R)}if(O==="p"||O==="portrait"){if(O="p",j>F){var W=j;j=F,F=W}}else if(O==="l"||O==="landscape"){if(O="l",F>j){var W=j;j=F,F=W}}else throw"Invalid orientation: "+O;var V={width:j,height:F,unit:N,k:U};return V},i.default=S.jsPDF},"./src/plugin/pagebreaks.js":function(r,i,n){"use strict";n.r(i);var t=n("./node_modules/core-js/modules/es.array.concat.js"),s=n.n(t),e=n("./node_modules/core-js/modules/es.array.slice.js"),a=n.n(e),l=n("./node_modules/core-js/modules/es.array.join.js"),u=n.n(l),h=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),f=n.n(h),g=n("./node_modules/core-js/modules/es.object.keys.js"),v=n.n(g),y=n("./src/worker.js"),E=n("./src/utils.js"),T={toContainer:y.default.prototype.toContainer};y.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},y.default.prototype.toContainer=function(){return T.toContainer.call(this).then(function(){var I=this.prop.container,L=this.prop.pageSize.inner.px.height,O=[].concat(this.opt.pagebreak.mode),N={avoidAll:O.indexOf("avoid-all")!==-1,css:O.indexOf("css")!==-1,legacy:O.indexOf("legacy")!==-1},R={},D=this;["before","after","avoid"].forEach(function(U){var F=N.avoidAll&&U==="avoid";R[U]=F?[]:[].concat(D.opt.pagebreak[U]||[]),R[U].length>0&&(R[U]=Array.prototype.slice.call(I.querySelectorAll(R[U].join(", "))))});var B=I.querySelectorAll(".html2pdf__page-break");B=Array.prototype.slice.call(B);var M=I.querySelectorAll("*");Array.prototype.forEach.call(M,function(F){var j={before:!1,after:N.legacy&&B.indexOf(F)!==-1,avoid:N.avoidAll};if(N.css){var W=window.getComputedStyle(F),V=["always","page","left","right"],z=["avoid","avoid-page"];j={before:j.before||V.indexOf(W.breakBefore||W.pageBreakBefore)!==-1,after:j.after||V.indexOf(W.breakAfter||W.pageBreakAfter)!==-1,avoid:j.avoid||z.indexOf(W.breakInside||W.pageBreakInside)!==-1}}Object.keys(j).forEach(function(ge){j[ge]=j[ge]||R[ge].indexOf(F)!==-1});var Y=F.getBoundingClientRect();if(j.avoid&&!j.before){var J=Math.floor(Y.top/L),ie=Math.floor(Y.bottom/L),Z=Math.abs(Y.bottom-Y.top)/L;ie!==J&&Z<=1&&(j.before=!0)}if(j.before){var oe=(0,E.createElement)("div",{style:{display:"block",height:L-Y.top%L+"px"}});F.parentNode.insertBefore(oe,F)}if(j.after){var oe=(0,E.createElement)("div",{style:{display:"block",height:L-Y.bottom%L+"px"}});F.parentNode.insertBefore(oe,F.nextSibling)}})})}},"./src/utils.js":function(r,i,n){"use strict";n.r(i),n.d(i,{objType:function(){return O},createElement:function(){return N},cloneNode:function(){return R},unitConvert:function(){return D},toPx:function(){return B}});var t=n("./node_modules/core-js/modules/es.number.constructor.js"),s=n.n(t),e=n("./node_modules/core-js/modules/es.symbol.js"),a=n.n(e),l=n("./node_modules/core-js/modules/es.symbol.description.js"),u=n.n(l),h=n("./node_modules/core-js/modules/es.object.to-string.js"),f=n.n(h),g=n("./node_modules/core-js/modules/es.symbol.iterator.js"),v=n.n(g),y=n("./node_modules/core-js/modules/es.array.iterator.js"),E=n.n(y),T=n("./node_modules/core-js/modules/es.string.iterator.js"),w=n.n(T),S=n("./node_modules/core-js/modules/web.dom-collections.iterator.js"),I=n.n(S);function L(M){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(M)}var O=function(U){var F=L(U);return F==="undefined"?"undefined":F==="string"||U instanceof String?"string":F==="number"||U instanceof Number?"number":F==="function"||U instanceof Function?"function":!!U&&U.constructor===Array?"array":U&&U.nodeType===1?"element":F==="object"?"object":"unknown"},N=function(U,F){var j=document.createElement(U);if(F.className&&(j.className=F.className),F.innerHTML){j.innerHTML=F.innerHTML;for(var W=j.getElementsByTagName("script"),V=W.length;V-- >0;null)W[V].parentNode.removeChild(W[V])}for(var z in F.style)j.style[z]=F.style[z];return j},R=function M(U,F){for(var j=U.nodeType===3?document.createTextNode(U.nodeValue):U.cloneNode(!1),W=U.firstChild;W;W=W.nextSibling)(F===!0||W.nodeType!==1||W.nodeName!=="SCRIPT")&&j.appendChild(M(W,F));return U.nodeType===1&&(U.nodeName==="CANVAS"?(j.width=U.width,j.height=U.height,j.getContext("2d").drawImage(U,0,0)):(U.nodeName==="TEXTAREA"||U.nodeName==="SELECT")&&(j.value=U.value),j.addEventListener("load",function(){j.scrollTop=U.scrollTop,j.scrollLeft=U.scrollLeft},!0)),j},D=function(U,F){if(O(U)==="number")return U*72/96/F;var j={};for(var W in U)j[W]=U[W]*72/96/F;return j},B=function(U,F){return Math.floor(U*F/72*96)}},"./src/worker.js":function(r,i,n){"use strict";n.r(i);var t=n("./node_modules/core-js/modules/es.object.assign.js"),s=n.n(t),e=n("./node_modules/core-js/modules/es.array.map.js"),a=n.n(e),l=n("./node_modules/core-js/modules/es.object.keys.js"),u=n.n(l),h=n("./node_modules/core-js/modules/es.array.concat.js"),f=n.n(h),g=n("./node_modules/core-js/modules/es.object.to-string.js"),v=n.n(g),y=n("./node_modules/core-js/modules/es.regexp.to-string.js"),E=n.n(y),T=n("./node_modules/core-js/modules/es.function.name.js"),w=n.n(T),S=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),I=n.n(S),L=n("jspdf"),O=n.n(L),N=n("html2canvas"),R=n.n(N),D=n("./src/utils.js"),B=n("./node_modules/es6-promise/dist/es6-promise.js"),M=n.n(B),U=M().Promise,F=function j(W){var V=Object.assign(j.convert(U.resolve()),JSON.parse(JSON.stringify(j.template))),z=j.convert(U.resolve(),V);return z=z.setProgress(1,j,1,[j]),z=z.set(W),z};F.prototype=Object.create(U.prototype),F.prototype.constructor=F,F.convert=function(W,V){return W.__proto__=V||F.prototype,W},F.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:{}}},F.prototype.from=function(W,V){function z(Y){switch((0,D.objType)(Y)){case"string":return"string";case"element":return Y.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){V=V||z(W);switch(V){case"string":return this.set({src:(0,D.createElement)("div",{innerHTML:W})});case"element":return this.set({src:W});case"canvas":return this.set({canvas:W});case"img":return this.set({img:W});default:return this.error("Unknown source type.")}})},F.prototype.to=function(W){switch(W){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.")}},F.prototype.toContainer=function(){var W=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(W).then(function(){var z={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Y={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};z.opacity=0;var J=(0,D.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,D.createElement)("div",{className:"html2pdf__overlay",style:z}),this.prop.container=(0,D.createElement)("div",{className:"html2pdf__container",style:Y}),this.prop.container.appendChild(J),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},F.prototype.toCanvas=function(){var W=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(W).then(function(){var z=Object.assign({},this.opt.html2canvas);return delete z.onrendered,N(this.prop.container,z)}).then(function(z){var Y=this.opt.html2canvas.onrendered||function(){};Y(z),this.prop.canvas=z,document.body.removeChild(this.prop.overlay)})},F.prototype.toImg=function(){var W=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(W).then(function(){var z=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=z})},F.prototype.toPdf=function(){var W=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(W).then(function(){var z=this.prop.canvas,Y=this.opt,J=z.height,ie=Math.floor(z.width*this.prop.pageSize.inner.ratio),Z=Math.ceil(J/ie),oe=this.prop.pageSize.inner.height,ge=document.createElement("canvas"),pe=ge.getContext("2d");ge.width=z.width,ge.height=ie,this.prop.pdf=this.prop.pdf||new L.jsPDF(Y.jsPDF);for(var De=0;De<Z;De++){De===Z-1&&J%ie!==0&&(ge.height=J%ie,oe=ge.height*this.prop.pageSize.inner.width/ge.width);var ce=ge.width,Oe=ge.height;pe.fillStyle="white",pe.fillRect(0,0,ce,Oe),pe.drawImage(z,0,De*ie,ce,Oe,0,0,ce,Oe),De&&this.prop.pdf.addPage();var se=ge.toDataURL("image/"+Y.image.type,Y.image.quality);this.prop.pdf.addImage(se,Y.image.type,Y.margin[1],Y.margin[0],this.prop.pageSize.inner.width,oe)}})},F.prototype.output=function(W,V,z){return z=z||"pdf",z.toLowerCase()==="img"||z.toLowerCase()==="image"?this.outputImg(W,V):this.outputPdf(W,V)},F.prototype.outputPdf=function(W,V){var z=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(z).then(function(){return this.prop.pdf.output(W,V)})},F.prototype.outputImg=function(W,V){var z=[function(){return this.prop.img||this.toImg()}];return this.thenList(z).then(function(){switch(W){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 "'+W+'" is not supported.'}})},F.prototype.save=function(W){var V=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(V).set(W?{filename:W}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},F.prototype.set=function(W){if((0,D.objType)(W)!=="object")return this;var V=Object.keys(W||{}).map(function(z){switch(z){case"margin":return this.setMargin.bind(this,W.margin);case"jsPDF":return function(){return this.opt.jsPDF=W.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,W.pageSize);default:return z in F.template.prop?function(){this.prop[z]=W[z]}:function(){this.opt[z]=W[z]}}},this);return this.then(function(){return this.thenList(V)})},F.prototype.get=function(W,V){return this.then(function(){var Y=W in F.template.prop?this.prop[W]:this.opt[W];return V?V(Y):Y})},F.prototype.setMargin=function(W){return this.then(function(){switch((0,D.objType)(W)){case"number":W=[W,W,W,W];case"array":if(W.length===2&&(W=[W[0],W[1],W[0],W[1]]),W.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=W}).then(this.setPageSize)},F.prototype.setPageSize=function(W){return this.then(function(){W=W||L.jsPDF.getPageSize(this.opt.jsPDF),W.hasOwnProperty("inner")||(W.inner={width:W.width-this.opt.margin[1]-this.opt.margin[3],height:W.height-this.opt.margin[0]-this.opt.margin[2]},W.inner.px={width:(0,D.toPx)(W.inner.width,W.k),height:(0,D.toPx)(W.inner.height,W.k)},W.inner.ratio=W.inner.height/W.inner.width),this.prop.pageSize=W})},F.prototype.setProgress=function(W,V,z,Y){return W!=null&&(this.progress.val=W),V!=null&&(this.progress.state=V),z!=null&&(this.progress.n=z),Y!=null&&(this.progress.stack=Y),this.progress.ratio=this.progress.val/this.progress.state,this},F.prototype.updateProgress=function(W,V,z,Y){return this.setProgress(W?this.progress.val+W:null,V||null,z?this.progress.n+z:null,Y?this.progress.stack.concat(Y):null)},F.prototype.then=function(W,V){var z=this;return this.thenCore(W,V,function(J,ie){return z.updateProgress(null,null,1,[J]),U.prototype.then.call(this,function(oe){return z.updateProgress(null,J),oe}).then(J,ie).then(function(oe){return z.updateProgress(1),oe})})},F.prototype.thenCore=function(W,V,z){z=z||U.prototype.then;var Y=this;W&&(W=W.bind(Y)),V&&(V=V.bind(Y));var J=U.toString().indexOf("[native code]")!==-1&&U.name==="Promise",ie=J?Y:F.convert(Object.assign({},Y),U.prototype),Z=z.call(ie,W,V);return F.convert(Z,Y.__proto__)},F.prototype.thenExternal=function(W,V){return U.prototype.then.call(this,W,V)},F.prototype.thenList=function(W){var V=this;return W.forEach(function(Y){V=V.thenCore(Y)}),V},F.prototype.catch=function(j){j&&(j=j.bind(this));var W=U.prototype.catch.call(this,j);return F.convert(W,this)},F.prototype.catchExternal=function(W){return U.prototype.catch.call(this,W)},F.prototype.error=function(W){return this.then(function(){throw new Error(W)})},F.prototype.using=F.prototype.set,F.prototype.saveAs=F.prototype.save,F.prototype.export=F.prototype.output,F.prototype.run=F.prototype.then,i.default=F},"./node_modules/core-js/internals/a-function.js":function(r){r.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"./node_modules/core-js/internals/a-possible-prototype.js":function(r,i,n){var t=n("./node_modules/core-js/internals/is-object.js");r.exports=function(s){if(!t(s)&&s!==null)throw TypeError("Can't set "+String(s)+" as a prototype");return s}},"./node_modules/core-js/internals/add-to-unscopables.js":function(r,i,n){var t=n("./node_modules/core-js/internals/well-known-symbol.js"),s=n("./node_modules/core-js/internals/object-create.js"),e=n("./node_modules/core-js/internals/object-define-property.js"),a=t("unscopables"),l=Array.prototype;l[a]==null&&e.f(l,a,{configurable:!0,value:s(null)}),r.exports=function(u){l[a][u]=!0}},"./node_modules/core-js/internals/an-object.js":function(r,i,n){var t=n("./node_modules/core-js/internals/is-object.js");r.exports=function(s){if(!t(s))throw TypeError(String(s)+" is not an object");return s}},"./node_modules/core-js/internals/array-for-each.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/array-iteration.js").forEach,s=n("./node_modules/core-js/internals/array-method-is-strict.js"),e=s("forEach");r.exports=e?[].forEach:function(l){return t(this,l,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/to-length.js"),e=n("./node_modules/core-js/internals/to-absolute-index.js"),a=function(u){return function(h,f,g){var v=t(h),y=s(v.length),E=e(g,y),T;if(u&&f!=f){for(;y>E;)if(T=v[E++],T!=T)return!0}else for(;y>E;E++)if((u||E in v)&&v[E]===f)return u||E||0;return!u&&-1}};r.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(r,i,n){var t=n("./node_modules/core-js/internals/function-bind-context.js"),s=n("./node_modules/core-js/internals/indexed-object.js"),e=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/to-length.js"),l=n("./node_modules/core-js/internals/array-species-create.js"),u=[].push,h=function(g){var v=g==1,y=g==2,E=g==3,T=g==4,w=g==6,S=g==7,I=g==5||w;return function(L,O,N,R){for(var D=e(L),B=s(D),M=t(O,N,3),U=a(B.length),F=0,j=R||l,W=v?j(L,U):y||S?j(L,0):void 0,V,z;U>F;F++)if((I||F in B)&&(V=B[F],z=M(V,F,D),g))if(v)W[F]=z;else if(z)switch(g){case 3:return!0;case 5:return V;case 6:return F;case 2:u.call(W,V)}else switch(g){case 4:return!1;case 7:u.call(W,V)}return w?-1:E||T?T:W}};r.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(r,i,n){var t=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js"),e=n("./node_modules/core-js/internals/engine-v8-version.js"),a=s("species");r.exports=function(l){return e>=51||!t(function(){var u=[],h=u.constructor={};return h[a]=function(){return{foo:1}},u[l](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/fails.js");r.exports=function(s,e){var a=[][s];return!!a&&t(function(){a.call(null,e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(r,i,n){var t=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/is-array.js"),e=n("./node_modules/core-js/internals/well-known-symbol.js"),a=e("species");r.exports=function(l){var u;return s(l)&&(u=l.constructor,typeof u=="function"&&(u===Array||s(u.prototype))?u=void 0:t(u)&&(u=u[a],u===null&&(u=void 0))),u===void 0?Array:u}},"./node_modules/core-js/internals/array-species-create.js":function(r,i,n){var t=n("./node_modules/core-js/internals/array-species-constructor.js");r.exports=function(s,e){return new(t(s))(e===0?0:e)}},"./node_modules/core-js/internals/classof-raw.js":function(r){var i={}.toString;r.exports=function(n){return i.call(n).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/classof-raw.js"),e=n("./node_modules/core-js/internals/well-known-symbol.js"),a=e("toStringTag"),l=s(function(){return arguments}())=="Arguments",u=function(f,g){try{return f[g]}catch(v){}};r.exports=t?s:function(h){var f,g,v;return h===void 0?"Undefined":h===null?"Null":typeof(g=u(f=Object(h),a))=="string"?g:l?s(f):(v=s(f))=="Object"&&typeof f.callee=="function"?"Arguments":v}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(r,i,n){var t=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/own-keys.js"),e=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=n("./node_modules/core-js/internals/object-define-property.js");r.exports=function(l,u){for(var h=s(u),f=a.f,g=e.f,v=0;v<h.length;v++){var y=h[v];t(l,y)||f(l,y,g(u,y))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(r,i,n){var t=n("./node_modules/core-js/internals/fails.js");r.exports=!t(function(){function s(){}return s.prototype.constructor=null,Object.getPrototypeOf(new s)!==s.prototype})},"./node_modules/core-js/internals/create-html.js":function(r,i,n){var t=n("./node_modules/core-js/internals/require-object-coercible.js"),s=n("./node_modules/core-js/internals/to-string.js"),e=/"/g;r.exports=function(a,l,u,h){var f=s(t(a)),g="<"+l;return u!==""&&(g+=" "+u+'="'+s(h).replace(e,"&quot;")+'"'),g+">"+f+"</"+l+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,s=n("./node_modules/core-js/internals/object-create.js"),e=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/set-to-string-tag.js"),l=n("./node_modules/core-js/internals/iterators.js"),u=function(){return this};r.exports=function(h,f,g){var v=f+" Iterator";return h.prototype=s(t,{next:e(1,g)}),a(h,v,!1,!0),l[v]=u,h}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(r,i,n){var t=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),e=n("./node_modules/core-js/internals/create-property-descriptor.js");r.exports=t?function(a,l,u){return s.f(a,l,e(1,u))}:function(a,l,u){return a[l]=u,a}},"./node_modules/core-js/internals/create-property-descriptor.js":function(r){r.exports=function(i,n){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:n}}},"./node_modules/core-js/internals/create-property.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/to-property-key.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),e=n("./node_modules/core-js/internals/create-property-descriptor.js");r.exports=function(a,l,u){var h=t(l);h in a?s.f(a,h,e(0,u)):a[h]=u}},"./node_modules/core-js/internals/define-iterator.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/create-iterator-constructor.js"),e=n("./node_modules/core-js/internals/object-get-prototype-of.js"),a=n("./node_modules/core-js/internals/object-set-prototype-of.js"),l=n("./node_modules/core-js/internals/set-to-string-tag.js"),u=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=n("./node_modules/core-js/internals/redefine.js"),f=n("./node_modules/core-js/internals/well-known-symbol.js"),g=n("./node_modules/core-js/internals/is-pure.js"),v=n("./node_modules/core-js/internals/iterators.js"),y=n("./node_modules/core-js/internals/iterators-core.js"),E=y.IteratorPrototype,T=y.BUGGY_SAFARI_ITERATORS,w=f("iterator"),S="keys",I="values",L="entries",O=function(){return this};r.exports=function(N,R,D,B,M,U,F){s(D,R,B);var j=function(De){if(De===M&&J)return J;if(!T&&De in z)return z[De];switch(De){case S:return function(){return new D(this,De)};case I:return function(){return new D(this,De)};case L:return function(){return new D(this,De)}}return function(){return new D(this)}},W=R+" Iterator",V=!1,z=N.prototype,Y=z[w]||z["@@iterator"]||M&&z[M],J=!T&&Y||j(M),ie=R=="Array"&&z.entries||Y,Z,oe,ge;if(ie&&(Z=e(ie.call(new N)),E!==Object.prototype&&Z.next&&(!g&&e(Z)!==E&&(a?a(Z,E):typeof Z[w]!="function"&&u(Z,w,O)),l(Z,W,!0,!0),g&&(v[W]=O))),M==I&&Y&&Y.name!==I&&(V=!0,J=function(){return Y.call(this)}),(!g||F)&&z[w]!==J&&u(z,w,J),v[R]=J,M)if(oe={values:j(I),keys:U?J:j(S),entries:j(L)},F)for(ge in oe)(T||V||!(ge in z))&&h(z,ge,oe[ge]);else t({target:R,proto:!0,forced:T||V},oe);return oe}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(r,i,n){var t=n("./node_modules/core-js/internals/path.js"),s=n("./node_modules/core-js/internals/has.js"),e=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=n("./node_modules/core-js/internals/object-define-property.js").f;r.exports=function(l){var u=t.Symbol||(t.Symbol={});s(u,l)||a(u,l,{value:e.f(l)})}},"./node_modules/core-js/internals/descriptors.js":function(r,i,n){var t=n("./node_modules/core-js/internals/fails.js");r.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/is-object.js"),e=t.document,a=s(e)&&s(e.createElement);r.exports=function(l){return a?e.createElement(l):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(r){r.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(r,i,n){var t=n("./node_modules/core-js/internals/get-built-in.js");r.exports=t("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/engine-user-agent.js"),e=t.process,a=t.Deno,l=e&&e.versions||a&&a.version,u=l&&l.v8,h,f;u?(h=u.split("."),f=h[0]<4?1:h[0]+h[1]):s&&(h=s.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=s.match(/Chrome\/(\d+)/),h&&(f=h[1]))),r.exports=f&&+f},"./node_modules/core-js/internals/enum-bug-keys.js":function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,e=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/redefine.js"),l=n("./node_modules/core-js/internals/set-global.js"),u=n("./node_modules/core-js/internals/copy-constructor-properties.js"),h=n("./node_modules/core-js/internals/is-forced.js");r.exports=function(f,g){var v=f.target,y=f.global,E=f.stat,T,w,S,I,L,O;if(y?w=t:E?w=t[v]||l(v,{}):w=(t[v]||{}).prototype,w)for(S in g){if(L=g[S],f.noTargetGet?(O=s(w,S),I=O&&O.value):I=w[S],T=h(y?S:v+(E?".":"#")+S,f.forced),!T&&I!==void 0){if(typeof L===typeof I)continue;u(L,I)}(f.sham||I&&I.sham)&&e(L,"sham",!0),a(w,S,L,f)}}},"./node_modules/core-js/internals/fails.js":function(r){r.exports=function(i){try{return!!i()}catch(n){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(r,i,n){var t=n("./node_modules/core-js/internals/a-function.js");r.exports=function(s,e,a){if(t(s),e===void 0)return s;switch(a){case 0:return function(){return s.call(e)};case 1:return function(l){return s.call(e,l)};case 2:return function(l,u){return s.call(e,l,u)};case 3:return function(l,u,h){return s.call(e,l,u,h)}}return function(){return s.apply(e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=function(a){return typeof a=="function"?a:void 0};r.exports=function(e,a){return arguments.length<2?s(t[e]):t[e]&&t[e][a]}},"./node_modules/core-js/internals/global.js":function(r){var i=function(t){return t&&t.Math==Math&&t};r.exports=i(typeof globalThis=="object"&&globalThis)||i(typeof window=="object"&&window)||i(typeof self=="object"&&self)||i(typeof _=="object"&&_)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-object.js"),s={}.hasOwnProperty;r.exports=Object.hasOwn||function(a,l){return s.call(t(a),l)}},"./node_modules/core-js/internals/hidden-keys.js":function(r){r.exports={}},"./node_modules/core-js/internals/html.js":function(r,i,n){var t=n("./node_modules/core-js/internals/get-built-in.js");r.exports=t("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(r,i,n){var t=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/fails.js"),e=n("./node_modules/core-js/internals/document-create-element.js");r.exports=!t&&!s(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(r,i,n){var t=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/classof-raw.js"),e="".split;r.exports=t(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return s(a)=="String"?e.call(a,""):Object(a)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(r,i,n){var t=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/object-set-prototype-of.js");r.exports=function(e,a,l){var u,h;return s&&typeof(u=a.constructor)=="function"&&u!==l&&t(h=u.prototype)&&h!==l.prototype&&s(e,h),e}},"./node_modules/core-js/internals/inspect-source.js":function(r,i,n){var t=n("./node_modules/core-js/internals/shared-store.js"),s=Function.toString;typeof t.inspectSource!="function"&&(t.inspectSource=function(e){return s.call(e)}),r.exports=t.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(r,i,n){var t=n("./node_modules/core-js/internals/native-weak-map.js"),s=n("./node_modules/core-js/internals/global.js"),e=n("./node_modules/core-js/internals/is-object.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("./node_modules/core-js/internals/has.js"),u=n("./node_modules/core-js/internals/shared-store.js"),h=n("./node_modules/core-js/internals/shared-key.js"),f=n("./node_modules/core-js/internals/hidden-keys.js"),g="Object already initialized",v=s.WeakMap,y,E,T,w=function(B){return T(B)?E(B):y(B,{})},S=function(B){return function(M){var U;if(!e(M)||(U=E(M)).type!==B)throw TypeError("Incompatible receiver, "+B+" required");return U}};if(t||u.state){var I=u.state||(u.state=new v),L=I.get,O=I.has,N=I.set;y=function(B,M){if(O.call(I,B))throw new TypeError(g);return M.facade=B,N.call(I,B,M),M},E=function(B){return L.call(I,B)||{}},T=function(B){return O.call(I,B)}}else{var R=h("state");f[R]=!0,y=function(B,M){if(l(B,R))throw new TypeError(g);return M.facade=B,a(B,R,M),M},E=function(B){return l(B,R)?B[R]:{}},T=function(B){return l(B,R)}}r.exports={set:y,get:E,has:T,enforce:w,getterFor:S}},"./node_modules/core-js/internals/is-array.js":function(r,i,n){var t=n("./node_modules/core-js/internals/classof-raw.js");r.exports=Array.isArray||function(e){return t(e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(r,i,n){var t=n("./node_modules/core-js/internals/fails.js"),s=/#|\.prototype\./,e=function(g,v){var y=l[a(g)];return y==h?!0:y==u?!1:typeof v=="function"?t(v):!!v},a=e.normalize=function(f){return String(f).replace(s,".").toLowerCase()},l=e.data={},u=e.NATIVE="N",h=e.POLYFILL="P";r.exports=e},"./node_modules/core-js/internals/is-object.js":function(r){r.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},"./node_modules/core-js/internals/is-pure.js":function(r){r.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(r,i,n){var t=n("./node_modules/core-js/internals/get-built-in.js"),s=n("./node_modules/core-js/internals/use-symbol-as-uid.js");r.exports=s?function(e){return typeof e=="symbol"}:function(e){var a=t("Symbol");return typeof a=="function"&&Object(e)instanceof a}},"./node_modules/core-js/internals/iterators-core.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/object-get-prototype-of.js"),e=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/well-known-symbol.js"),u=n("./node_modules/core-js/internals/is-pure.js"),h=l("iterator"),f=!1,g=function(){return this},v,y,E;[].keys&&(E=[].keys(),"next"in E?(y=s(s(E)),y!==Object.prototype&&(v=y)):f=!0);var T=v==null||t(function(){var w={};return v[h].call(w)!==w});T&&(v={}),(!u||T)&&!a(v,h)&&e(v,h,g),r.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:f}},"./node_modules/core-js/internals/iterators.js":function(r){r.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(r,i,n){var t=n("./node_modules/core-js/internals/engine-v8-version.js"),s=n("./node_modules/core-js/internals/fails.js");r.exports=!!Object.getOwnPropertySymbols&&!s(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})},"./node_modules/core-js/internals/native-weak-map.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/inspect-source.js"),e=t.WeakMap;r.exports=typeof e=="function"&&/native code/.test(s(e))},"./node_modules/core-js/internals/object-assign.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/fails.js"),e=n("./node_modules/core-js/internals/object-keys.js"),a=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),u=n("./node_modules/core-js/internals/to-object.js"),h=n("./node_modules/core-js/internals/indexed-object.js"),f=Object.assign,g=Object.defineProperty;r.exports=!f||s(function(){if(t&&f({b:1},f(g({},"a",{enumerable:!0,get:function(){g(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var v={},y={},E=Symbol(),T="abcdefghijklmnopqrst";return v[E]=7,T.split("").forEach(function(w){y[w]=w}),f({},v)[E]!=7||e(f({},y)).join("")!=T})?function(y,E){for(var T=u(y),w=arguments.length,S=1,I=a.f,L=l.f;w>S;)for(var O=h(arguments[S++]),N=I?e(O).concat(I(O)):e(O),R=N.length,D=0,B;R>D;)B=N[D++],(!t||L.call(O,B))&&(T[B]=O[B]);return T}:f},"./node_modules/core-js/internals/object-create.js":function(r,i,n){var t=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/object-define-properties.js"),e=n("./node_modules/core-js/internals/enum-bug-keys.js"),a=n("./node_modules/core-js/internals/hidden-keys.js"),l=n("./node_modules/core-js/internals/html.js"),u=n("./node_modules/core-js/internals/document-create-element.js"),h=n("./node_modules/core-js/internals/shared-key.js"),f=">",g="<",v="prototype",y="script",E=h("IE_PROTO"),T=function(){},w=function(R){return g+y+f+R+g+"/"+y+f},S=function(R){R.write(w("")),R.close();var D=R.parentWindow.Object;return R=null,D},I=function(){var R=u("iframe"),D="java"+y+":",B;if(R.style)return R.style.display="none",l.appendChild(R),R.src=String(D),B=R.contentWindow.document,B.open(),B.write(w("document.F=Object")),B.close(),B.F},L,O=function(){try{L=new ActiveXObject("htmlfile")}catch(D){}O=document.domain&&L?S(L):I()||S(L);for(var R=e.length;R--;)delete O[v][e[R]];return O()};a[E]=!0,r.exports=Object.create||function(R,D){var B;return R!==null?(T[v]=t(R),B=new T,T[v]=null,B[E]=R):B=O(),D===void 0?B:s(B,D)}},"./node_modules/core-js/internals/object-define-properties.js":function(r,i,n){var t=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),e=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/object-keys.js");r.exports=t?Object.defineProperties:function(u,h){e(u);for(var f=a(h),g=f.length,v=0,y;g>v;)s.f(u,y=f[v++],h[y]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(r,i,n){var t=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/ie8-dom-define.js"),e=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/to-property-key.js"),l=Object.defineProperty;i.f=t?l:function(h,f,g){if(e(h),f=a(f),e(g),s)try{return l(h,f,g)}catch(v){}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[f]=g.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(r,i,n){var t=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),e=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/to-indexed-object.js"),l=n("./node_modules/core-js/internals/to-property-key.js"),u=n("./node_modules/core-js/internals/has.js"),h=n("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;i.f=t?f:function(v,y){if(v=a(v),y=l(y),h)try{return f(v,y)}catch(E){}if(u(v,y))return e(!s.f.call(v,y),v[y])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,e={}.toString,a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(h){try{return s(h)}catch(f){return a.slice()}};r.exports.f=function(h){return a&&e.call(h)=="[object Window]"?l(h):s(t(h))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(r,i,n){var t=n("./node_modules/core-js/internals/object-keys-internal.js"),s=n("./node_modules/core-js/internals/enum-bug-keys.js"),e=s.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(l){return t(l,e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(r,i){i.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(r,i,n){var t=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/to-object.js"),e=n("./node_modules/core-js/internals/shared-key.js"),a=n("./node_modules/core-js/internals/correct-prototype-getter.js"),l=e("IE_PROTO"),u=Object.prototype;r.exports=a?Object.getPrototypeOf:function(h){return h=s(h),t(h,l)?h[l]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(r,i,n){var t=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/to-indexed-object.js"),e=n("./node_modules/core-js/internals/array-includes.js").indexOf,a=n("./node_modules/core-js/internals/hidden-keys.js");r.exports=function(l,u){var h=s(l),f=0,g=[],v;for(v in h)!t(a,v)&&t(h,v)&&g.push(v);for(;u.length>f;)t(h,v=u[f++])&&(~e(g,v)||g.push(v));return g}},"./node_modules/core-js/internals/object-keys.js":function(r,i,n){var t=n("./node_modules/core-js/internals/object-keys-internal.js"),s=n("./node_modules/core-js/internals/enum-bug-keys.js");r.exports=Object.keys||function(a){return t(a,s)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(r,i){"use strict";var n={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,s=t&&!n.call({1:2},1);i.f=s?function(a){var l=t(this,a);return!!l&&l.enumerable}:n},"./node_modules/core-js/internals/object-set-prototype-of.js":function(r,i,n){var t=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/a-possible-prototype.js");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),e=a instanceof Array}catch(u){}return function(h,f){return t(h),s(f),e?l.call(h,f):h.__proto__=f,h}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/classof.js");r.exports=t?{}.toString:function(){return"[object "+s(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(r,i,n){var t=n("./node_modules/core-js/internals/is-object.js");r.exports=function(s,e){var a,l;if(e==="string"&&typeof(a=s.toString)=="function"&&!t(l=a.call(s)))return l;if(typeof(a=s.valueOf)=="function"&&!t(l=a.call(s)))return l;if(e!=="string"&&typeof(a=s.toString)=="function"&&!t(l=a.call(s)))return l;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(r,i,n){var t=n("./node_modules/core-js/internals/get-built-in.js"),s=n("./node_modules/core-js/internals/object-get-own-property-names.js"),e=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=n("./node_modules/core-js/internals/an-object.js");r.exports=t("Reflect","ownKeys")||function(u){var h=s.f(a(u)),f=e.f;return f?h.concat(f(u)):h}},"./node_modules/core-js/internals/path.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js");r.exports=t},"./node_modules/core-js/internals/redefine.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),e=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/inspect-source.js"),u=n("./node_modules/core-js/internals/internal-state.js"),h=u.get,f=u.enforce,g=String(String).split("String");(r.exports=function(v,y,E,T){var w=T?!!T.unsafe:!1,S=T?!!T.enumerable:!1,I=T?!!T.noTargetGet:!1,L;if(typeof E=="function"&&(typeof y=="string"&&!e(E,"name")&&s(E,"name",y),L=f(E),L.source||(L.source=g.join(typeof y=="string"?y:""))),v===t){S?v[y]=E:a(y,E);return}else w?!I&&v[y]&&(S=!0):delete v[y];S?v[y]=E:s(v,y,E)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||l(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/an-object.js");r.exports=function(){var s=t(this),e="";return s.global&&(e+="g"),s.ignoreCase&&(e+="i"),s.multiline&&(e+="m"),s.dotAll&&(e+="s"),s.unicode&&(e+="u"),s.sticky&&(e+="y"),e}},"./node_modules/core-js/internals/require-object-coercible.js":function(r){r.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"./node_modules/core-js/internals/set-global.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js");r.exports=function(s,e){try{Object.defineProperty(t,s,{value:e,configurable:!0,writable:!0})}catch(a){t[s]=e}return e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(r,i,n){var t=n("./node_modules/core-js/internals/object-define-property.js").f,s=n("./node_modules/core-js/internals/has.js"),e=n("./node_modules/core-js/internals/well-known-symbol.js"),a=e("toStringTag");r.exports=function(l,u,h){l&&!s(l=h?l:l.prototype,a)&&t(l,a,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(r,i,n){var t=n("./node_modules/core-js/internals/shared.js"),s=n("./node_modules/core-js/internals/uid.js"),e=t("keys");r.exports=function(a){return e[a]||(e[a]=s(a))}},"./node_modules/core-js/internals/shared-store.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/set-global.js"),e="__core-js_shared__",a=t[e]||s(e,{});r.exports=a},"./node_modules/core-js/internals/shared.js":function(r,i,n){var t=n("./node_modules/core-js/internals/is-pure.js"),s=n("./node_modules/core-js/internals/shared-store.js");(r.exports=function(e,a){return s[e]||(s[e]=a!==void 0?a:{})})("versions",[]).push({version:"3.16.0",mode:t?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(r,i,n){var t=n("./node_modules/core-js/internals/fails.js");r.exports=function(s){return t(function(){var e=""[s]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-integer.js"),s=n("./node_modules/core-js/internals/to-string.js"),e=n("./node_modules/core-js/internals/require-object-coercible.js"),a=function(u){return function(h,f){var g=s(e(h)),v=t(f),y=g.length,E,T;return v<0||v>=y?u?"":void 0:(E=g.charCodeAt(v),E<55296||E>56319||v+1===y||(T=g.charCodeAt(v+1))<56320||T>57343?u?g.charAt(v):E:u?g.slice(v,v+2):(E-55296<<10)+(T-56320)+65536)}};r.exports={codeAt:a(!1),charAt:a(!0)}},"./node_modules/core-js/internals/string-trim.js":function(r,i,n){var t=n("./node_modules/core-js/internals/require-object-coercible.js"),s=n("./node_modules/core-js/internals/to-string.js"),e=n("./node_modules/core-js/internals/whitespaces.js"),a="["+e+"]",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(g){return function(v){var y=s(t(v));return g&1&&(y=y.replace(l,"")),g&2&&(y=y.replace(u,"")),y}};r.exports={start:h(1),end:h(2),trim:h(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-integer.js"),s=Math.max,e=Math.min;r.exports=function(a,l){var u=t(a);return u<0?s(u+l,0):e(u,l)}},"./node_modules/core-js/internals/to-indexed-object.js":function(r,i,n){var t=n("./node_modules/core-js/internals/indexed-object.js"),s=n("./node_modules/core-js/internals/require-object-coercible.js");r.exports=function(e){return t(s(e))}},"./node_modules/core-js/internals/to-integer.js":function(r){var i=Math.ceil,n=Math.floor;r.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},"./node_modules/core-js/internals/to-length.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-integer.js"),s=Math.min;r.exports=function(e){return e>0?s(t(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(r,i,n){var t=n("./node_modules/core-js/internals/require-object-coercible.js");r.exports=function(s){return Object(t(s))}},"./node_modules/core-js/internals/to-primitive.js":function(r,i,n){var t=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/is-symbol.js"),e=n("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=n("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toPrimitive");r.exports=function(u,h){if(!t(u)||s(u))return u;var f=u[l],g;if(f!==void 0){if(h===void 0&&(h="default"),g=f.call(u,h),!t(g)||s(g))return g;throw TypeError("Can't convert object to primitive value")}return h===void 0&&(h="number"),e(u,h)}},"./node_modules/core-js/internals/to-property-key.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-primitive.js"),s=n("./node_modules/core-js/internals/is-symbol.js");r.exports=function(e){var a=t(e,"string");return s(a)?a:String(a)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(r,i,n){var t=n("./node_modules/core-js/internals/well-known-symbol.js"),s=t("toStringTag"),e={};e[s]="z",r.exports=String(e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(r,i,n){var t=n("./node_modules/core-js/internals/is-symbol.js");r.exports=function(s){if(t(s))throw TypeError("Cannot convert a Symbol value to a string");return String(s)}},"./node_modules/core-js/internals/uid.js":function(r){var i=0,n=Math.random();r.exports=function(t){return"Symbol("+String(t===void 0?"":t)+")_"+(++i+n).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(r,i,n){var t=n("./node_modules/core-js/internals/native-symbol.js");r.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(r,i,n){var t=n("./node_modules/core-js/internals/well-known-symbol.js");i.f=t},"./node_modules/core-js/internals/well-known-symbol.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/shared.js"),e=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/uid.js"),l=n("./node_modules/core-js/internals/native-symbol.js"),u=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),h=s("wks"),f=t.Symbol,g=u?f:f&&f.withoutSetter||a;r.exports=function(v){return(!e(h,v)||!(l||typeof h[v]=="string"))&&(l&&e(f,v)?h[v]=f[v]:h[v]=g("Symbol."+v)),h[v]}},"./node_modules/core-js/internals/whitespaces.js":function(r){r.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(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/fails.js"),e=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/is-object.js"),l=n("./node_modules/core-js/internals/to-object.js"),u=n("./node_modules/core-js/internals/to-length.js"),h=n("./node_modules/core-js/internals/create-property.js"),f=n("./node_modules/core-js/internals/array-species-create.js"),g=n("./node_modules/core-js/internals/array-method-has-species-support.js"),v=n("./node_modules/core-js/internals/well-known-symbol.js"),y=n("./node_modules/core-js/internals/engine-v8-version.js"),E=v("isConcatSpreadable"),T=9007199254740991,w="Maximum allowed index exceeded",S=y>=51||!s(function(){var N=[];return N[E]=!1,N.concat()[0]!==N}),I=g("concat"),L=function(R){if(!a(R))return!1;var D=R[E];return D!==void 0?!!D:e(R)},O=!S||!I;t({target:"Array",proto:!0,forced:O},{concat:function(R){var D=l(this),B=f(D,0),M=0,U,F,j,W,V;for(U=-1,j=arguments.length;U<j;U++)if(V=U===-1?D:arguments[U],L(V)){if(W=u(V.length),M+W>T)throw TypeError(w);for(F=0;F<W;F++,M++)F in V&&h(B,M,V[F])}else{if(M>=T)throw TypeError(w);h(B,M++,V)}return B.length=M,B}})},"./node_modules/core-js/modules/es.array.iterator.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/add-to-unscopables.js"),e=n("./node_modules/core-js/internals/iterators.js"),a=n("./node_modules/core-js/internals/internal-state.js"),l=n("./node_modules/core-js/internals/define-iterator.js"),u="Array Iterator",h=a.set,f=a.getterFor(u);r.exports=l(Array,"Array",function(g,v){h(this,{type:u,target:t(g),index:0,kind:v})},function(){var g=f(this),v=g.target,y=g.kind,E=g.index++;return!v||E>=v.length?(g.target=void 0,{value:void 0,done:!0}):y=="keys"?{value:E,done:!1}:y=="values"?{value:v[E],done:!1}:{value:[E,v[E]],done:!1}},"values"),e.Arguments=e.Array,s("keys"),s("values"),s("entries")},"./node_modules/core-js/modules/es.array.join.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/indexed-object.js"),e=n("./node_modules/core-js/internals/to-indexed-object.js"),a=n("./node_modules/core-js/internals/array-method-is-strict.js"),l=[].join,u=s!=Object,h=a("join",",");t({target:"Array",proto:!0,forced:u||!h},{join:function(g){return l.call(e(this),g===void 0?",":g)}})},"./node_modules/core-js/modules/es.array.map.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/array-iteration.js").map,e=n("./node_modules/core-js/internals/array-method-has-species-support.js"),a=e("map");t({target:"Array",proto:!0,forced:!a},{map:function(u){return s(this,u,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/is-object.js"),e=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/to-absolute-index.js"),l=n("./node_modules/core-js/internals/to-length.js"),u=n("./node_modules/core-js/internals/to-indexed-object.js"),h=n("./node_modules/core-js/internals/create-property.js"),f=n("./node_modules/core-js/internals/well-known-symbol.js"),g=n("./node_modules/core-js/internals/array-method-has-species-support.js"),v=g("slice"),y=f("species"),E=[].slice,T=Math.max;t({target:"Array",proto:!0,forced:!v},{slice:function(S,I){var L=u(this),O=l(L.length),N=a(S,O),R=a(I===void 0?O:I,O),D,B,M;if(e(L)&&(D=L.constructor,typeof D=="function"&&(D===Array||e(D.prototype))?D=void 0:s(D)&&(D=D[y],D===null&&(D=void 0)),D===Array||D===void 0))return E.call(L,N,R);for(B=new(D===void 0?Array:D)(T(R-N,0)),M=0;N<R;N++,M++)N in L&&h(B,M,L[N]);return B.length=M,B}})},"./node_modules/core-js/modules/es.function.name.js":function(r,i,n){var t=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-define-property.js").f,e=Function.prototype,a=e.toString,l=/^\s*function ([^ (]*)/,u="name";t&&!(u in e)&&s(e,u,{configurable:!0,get:function(){try{return a.call(this).match(l)[1]}catch(f){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/global.js"),e=n("./node_modules/core-js/internals/is-forced.js"),a=n("./node_modules/core-js/internals/redefine.js"),l=n("./node_modules/core-js/internals/has.js"),u=n("./node_modules/core-js/internals/classof-raw.js"),h=n("./node_modules/core-js/internals/inherit-if-required.js"),f=n("./node_modules/core-js/internals/is-symbol.js"),g=n("./node_modules/core-js/internals/to-primitive.js"),v=n("./node_modules/core-js/internals/fails.js"),y=n("./node_modules/core-js/internals/object-create.js"),E=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,T=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,w=n("./node_modules/core-js/internals/object-define-property.js").f,S=n("./node_modules/core-js/internals/string-trim.js").trim,I="Number",L=s[I],O=L.prototype,N=u(y(O))==I,R=function(j){if(f(j))throw TypeError("Cannot convert a Symbol value to a number");var W=g(j,"number"),V,z,Y,J,ie,Z,oe,ge;if(typeof W=="string"&&W.length>2){if(W=S(W),V=W.charCodeAt(0),V===43||V===45){if(z=W.charCodeAt(2),z===88||z===120)return NaN}else if(V===48){switch(W.charCodeAt(1)){case 66:case 98:Y=2,J=49;break;case 79:case 111:Y=8,J=55;break;default:return+W}for(ie=W.slice(2),Z=ie.length,oe=0;oe<Z;oe++)if(ge=ie.charCodeAt(oe),ge<48||ge>J)return NaN;return parseInt(ie,Y)}}return+W};if(e(I,!L(" 0o1")||!L("0b1")||L("+0x1"))){for(var D=function(j){var W=arguments.length<1?0:j,V=this;return V instanceof D&&(N?v(function(){O.valueOf.call(V)}):u(V)!=I)?h(new L(R(W)),V,D):R(W)},B=t?E(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(","),M=0,U;B.length>M;M++)l(L,U=B[M])&&!l(D,U)&&w(D,U,T(L,U));D.prototype=O,O.constructor=D,a(s,I,D)}},"./node_modules/core-js/modules/es.object.assign.js":function(r,i,n){var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/object-assign.js");t({target:"Object",stat:!0,forced:Object.assign!==s},{assign:s})},"./node_modules/core-js/modules/es.object.keys.js":function(r,i,n){var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/to-object.js"),e=n("./node_modules/core-js/internals/object-keys.js"),a=n("./node_modules/core-js/internals/fails.js"),l=a(function(){e(1)});t({target:"Object",stat:!0,forced:l},{keys:function(h){return e(s(h))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(r,i,n){var t=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/redefine.js"),e=n("./node_modules/core-js/internals/object-to-string.js");t||s(Object.prototype,"toString",e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/an-object.js"),e=n("./node_modules/core-js/internals/to-string.js"),a=n("./node_modules/core-js/internals/fails.js"),l=n("./node_modules/core-js/internals/regexp-flags.js"),u="toString",h=RegExp.prototype,f=h[u],g=a(function(){return f.call({source:"a",flags:"b"})!="/a/b"}),v=f.name!=u;(g||v)&&t(RegExp.prototype,u,function(){var E=s(this),T=e(E.source),w=E.flags,S=e(w===void 0&&E instanceof RegExp&&!("flags"in h)?l.call(E):w);return"/"+T+"/"+S},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/string-multibyte.js").charAt,s=n("./node_modules/core-js/internals/to-string.js"),e=n("./node_modules/core-js/internals/internal-state.js"),a=n("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",u=e.set,h=e.getterFor(l);a(String,"String",function(f){u(this,{type:l,string:s(f),index:0})},function(){var g=h(this),v=g.string,y=g.index,E;return y>=v.length?{value:void 0,done:!0}:(E=t(v,y),g.index+=E.length,{value:E,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/create-html.js"),e=n("./node_modules/core-js/internals/string-html-forced.js");t({target:"String",proto:!0,forced:e("link")},{link:function(l){return s(this,"a","href",l)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/descriptors.js"),e=n("./node_modules/core-js/internals/global.js"),a=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/is-object.js"),u=n("./node_modules/core-js/internals/object-define-property.js").f,h=n("./node_modules/core-js/internals/copy-constructor-properties.js"),f=e.Symbol;if(s&&typeof f=="function"&&(!("description"in f.prototype)||f().description!==void 0)){var g={},v=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof v?new f(I):I===void 0?f():f(I);return I===""&&(g[L]=!0),L};h(v,f);var y=v.prototype=f.prototype;y.constructor=v;var E=y.toString,T=String(f("test"))=="Symbol(test)",w=/^Symbol\((.*)\)[^)]+$/;u(y,"description",{configurable:!0,get:function(){var I=l(this)?this.valueOf():this,L=E.call(I);if(a(g,I))return"";var O=T?L.slice(7,-1):L.replace(w,"$1");return O===""?void 0:O}}),t({global:!0,forced:!0},{Symbol:v})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(r,i,n){var t=n("./node_modules/core-js/internals/define-well-known-symbol.js");t("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(r,i,n){"use strict";var t=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/global.js"),e=n("./node_modules/core-js/internals/get-built-in.js"),a=n("./node_modules/core-js/internals/is-pure.js"),l=n("./node_modules/core-js/internals/descriptors.js"),u=n("./node_modules/core-js/internals/native-symbol.js"),h=n("./node_modules/core-js/internals/fails.js"),f=n("./node_modules/core-js/internals/has.js"),g=n("./node_modules/core-js/internals/is-array.js"),v=n("./node_modules/core-js/internals/is-object.js"),y=n("./node_modules/core-js/internals/is-symbol.js"),E=n("./node_modules/core-js/internals/an-object.js"),T=n("./node_modules/core-js/internals/to-object.js"),w=n("./node_modules/core-js/internals/to-indexed-object.js"),S=n("./node_modules/core-js/internals/to-property-key.js"),I=n("./node_modules/core-js/internals/to-string.js"),L=n("./node_modules/core-js/internals/create-property-descriptor.js"),O=n("./node_modules/core-js/internals/object-create.js"),N=n("./node_modules/core-js/internals/object-keys.js"),R=n("./node_modules/core-js/internals/object-get-own-property-names.js"),D=n("./node_modules/core-js/internals/object-get-own-property-names-external.js"),B=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),M=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),U=n("./node_modules/core-js/internals/object-define-property.js"),F=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),j=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),W=n("./node_modules/core-js/internals/redefine.js"),V=n("./node_modules/core-js/internals/shared.js"),z=n("./node_modules/core-js/internals/shared-key.js"),Y=n("./node_modules/core-js/internals/hidden-keys.js"),J=n("./node_modules/core-js/internals/uid.js"),ie=n("./node_modules/core-js/internals/well-known-symbol.js"),Z=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),oe=n("./node_modules/core-js/internals/define-well-known-symbol.js"),ge=n("./node_modules/core-js/internals/set-to-string-tag.js"),pe=n("./node_modules/core-js/internals/internal-state.js"),De=n("./node_modules/core-js/internals/array-iteration.js").forEach,ce=z("hidden"),Oe="Symbol",se="prototype",$=ie("toPrimitive"),ze=pe.set,re=pe.getterFor(Oe),X=Object[se],G=s.Symbol,Q=e("JSON","stringify"),ve=M.f,de=U.f,Ce=D.f,we=F.f,le=V("symbols"),fe=V("op-symbols"),xe=V("string-to-symbol-registry"),We=V("symbol-to-string-registry"),nt=V("wks"),$e=s.QObject,Le=!$e||!$e[se]||!$e[se].findChild,pt=l&&h(function(){return O(de({},"a",{get:function(){return de(this,"a",{value:7}).a}})).a!=7})?function(yt,et,me){var Gt=ve(X,et);Gt&&delete X[et],de(yt,et,me),Gt&&yt!==X&&de(X,et,Gt)}:de,Qe=function(et,me){var Gt=le[et]=O(G[se]);return ze(Gt,{type:Oe,tag:et,description:me}),l||(Gt.description=me),Gt},gt=function(et,me,Gt){et===X&&gt(fe,me,Gt),E(et);var rr=S(me);return E(Gt),f(le,rr)?(Gt.enumerable?(f(et,ce)&&et[ce][rr]&&(et[ce][rr]=!1),Gt=O(Gt,{enumerable:L(0,!1)})):(f(et,ce)||de(et,ce,L(1,{})),et[ce][rr]=!0),pt(et,rr,Gt)):de(et,rr,Gt)},wt=function(et,me){E(et);var Gt=w(me),rr=N(Gt).concat(ye(Gt));return De(rr,function(ut){(!l||_t.call(Gt,ut))&&gt(et,ut,Gt[ut])}),et},Et=function(et,me){return me===void 0?O(et):wt(O(et),me)},_t=function(et){var me=S(et),Gt=we.call(this,me);return this===X&&f(le,me)&&!f(fe,me)?!1:Gt||!f(this,me)||!f(le,me)||f(this,ce)&&this[ce][me]?Gt:!0},Ht=function(et,me){var Gt=w(et),rr=S(me);if(Gt===X&&f(le,rr)&&!f(fe,rr))return;var ut=ve(Gt,rr);return ut&&f(le,rr)&&!(f(Gt,ce)&&Gt[ce][rr])&&(ut.enumerable=!0),ut},Ze=function(et){var me=Ce(w(et)),Gt=[];return De(me,function(rr){!f(le,rr)&&!f(Y,rr)&&Gt.push(rr)}),Gt},ye=function(et){var me=et===X,Gt=Ce(me?fe:w(et)),rr=[];return De(Gt,function(ut){f(le,ut)&&(!me||f(X,ut))&&rr.push(le[ut])}),rr};if(u||(G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var et=!arguments.length||arguments[0]===void 0?void 0:I(arguments[0]),me=J(et),Gt=function rr(ut){this===X&&rr.call(fe,ut),f(this,ce)&&f(this[ce],me)&&(this[ce][me]=!1),pt(this,me,L(1,ut))};return l&&Le&&pt(X,me,{configurable:!0,set:Gt}),Qe(me,et)},W(G[se],"toString",function(){return re(this).tag}),W(G,"withoutSetter",function(yt){return Qe(J(yt),yt)}),F.f=_t,U.f=gt,M.f=Ht,R.f=D.f=Ze,B.f=ye,Z.f=function(yt){return Qe(ie(yt),yt)},l&&(de(G[se],"description",{configurable:!0,get:function(){return re(this).description}}),a||W(X,"propertyIsEnumerable",_t,{unsafe:!0}))),t({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),De(N(nt),function(yt){oe(yt)}),t({target:Oe,stat:!0,forced:!u},{for:function(et){var me=I(et);if(f(xe,me))return xe[me];var Gt=G(me);return xe[me]=Gt,We[Gt]=me,Gt},keyFor:function(et){if(!y(et))throw TypeError(et+" is not a symbol");if(f(We,et))return We[et]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!l},{create:Et,defineProperty:gt,defineProperties:wt,getOwnPropertyDescriptor:Ht}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:Ze,getOwnPropertySymbols:ye}),t({target:"Object",stat:!0,forced:h(function(){B.f(1)})},{getOwnPropertySymbols:function(et){return B.f(T(et))}}),Q){var ae=!u||h(function(){var yt=G();return Q([yt])!="[null]"||Q({a:yt})!="{}"||Q(Object(yt))!="{}"});t({target:"JSON",stat:!0,forced:ae},{stringify:function(et,me,Gt){for(var rr=[et],ut=1,Xt;arguments.length>ut;)rr.push(arguments[ut++]);return Xt=me,!v(me)&&et===void 0||y(et)?void 0:(g(me)||(me=function(Fr,er){if(typeof Xt=="function"&&(er=Xt.call(this,Fr,er)),!y(er))return er}),rr[1]=me,Q.apply(null,rr))}})}G[se][$]||j(G[se],$,G[se].valueOf),ge(G,Oe),Y[ce]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/dom-iterables.js"),e=n("./node_modules/core-js/internals/array-for-each.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var l in s){var u=t[l],h=u&&u.prototype;if(h&&h.forEach!==e)try{a(h,"forEach",e)}catch(f){h.forEach=e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(r,i,n){var t=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/dom-iterables.js"),e=n("./node_modules/core-js/modules/es.array.iterator.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("./node_modules/core-js/internals/well-known-symbol.js"),u=l("iterator"),h=l("toStringTag"),f=e.values;for(var g in s){var v=t[g],y=v&&v.prototype;if(y){if(y[u]!==f)try{a(y,u,f)}catch(T){y[u]=f}if(y[h]||a(y,h,g),s[g]){for(var E in e)if(y[E]!==e[E])try{a(y,E,e[E])}catch(T){y[E]=e[E]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(r){/*!
* @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(i,n){r.exports=n()})(this,function(){"use strict";function i($e){var Le=typeof $e;return $e!==null&&(Le==="object"||Le==="function")}function n($e){return typeof $e=="function"}var t=void 0;Array.isArray?t=Array.isArray:t=function(Le){return Object.prototype.toString.call(Le)==="[object Array]"};var s=t,e=0,a=void 0,l=void 0,u=function(Le,pt){N[e]=Le,N[e+1]=pt,e+=2,e===2&&(l?l(R):B())};function h($e){l=$e}function f($e){u=$e}var g=typeof window!="undefined"?window:void 0,v=g||{},y=v.MutationObserver||v.WebKitMutationObserver,E=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",T=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function w(){return function(){return x.nextTick(R)}}function S(){return typeof a!="undefined"?function(){a(R)}:O()}function I(){var $e=0,Le=new y(R),pt=document.createTextNode("");return Le.observe(pt,{characterData:!0}),function(){pt.data=$e=++$e%2}}function L(){var $e=new MessageChannel;return $e.port1.onmessage=R,function(){return $e.port2.postMessage(0)}}function O(){var $e=setTimeout;return function(){return $e(R,1)}}var N=new Array(1e3);function R(){for(var $e=0;$e<e;$e+=2){var Le=N[$e],pt=N[$e+1];Le(pt),N[$e]=void 0,N[$e+1]=void 0}e=0}function D(){try{var $e=Function("return this")().require("vertx");return a=$e.runOnLoop||$e.runOnContext,S()}catch(Le){return O()}}var B=void 0;E?B=w():y?B=I():T?B=L():g===void 0&&!0?B=D():B=O();function M($e,Le){var pt=this,Qe=new this.constructor(j);Qe[F]===void 0&&Q(Qe);var gt=pt._state;if(gt){var wt=arguments[gt-1];u(function(){return ze(gt,Qe,wt,pt._result)})}else se(pt,Qe,$e,Le);return Qe}function U($e){var Le=this;if($e&&typeof $e=="object"&&$e.constructor===Le)return $e;var pt=new Le(j);return pe(pt,$e),pt}var F=Math.random().toString(36).substring(2);function j(){}var W=void 0,V=1,z=2;function Y(){return new TypeError("You cannot resolve a promise with itself")}function J(){return new TypeError("A promises callback cannot return that same promise.")}function ie($e,Le,pt,Qe){try{$e.call(Le,pt,Qe)}catch(gt){return gt}}function Z($e,Le,pt){u(function(Qe){var gt=!1,wt=ie(pt,Le,function(Et){if(gt)return;gt=!0,Le!==Et?pe(Qe,Et):ce(Qe,Et)},function(Et){if(gt)return;gt=!0,Oe(Qe,Et)},"Settle: "+(Qe._label||" unknown promise"));!gt&&wt&&(gt=!0,Oe(Qe,wt))},$e)}function oe($e,Le){Le._state===V?ce($e,Le._result):Le._state===z?Oe($e,Le._result):se(Le,void 0,function(pt){return pe($e,pt)},function(pt){return Oe($e,pt)})}function ge($e,Le,pt){Le.constructor===$e.constructor&&pt===M&&Le.constructor.resolve===U?oe($e,Le):pt===void 0?ce($e,Le):n(pt)?Z($e,Le,pt):ce($e,Le)}function pe($e,Le){if($e===Le)Oe($e,Y());else if(i(Le)){var pt=void 0;try{pt=Le.then}catch(Qe){Oe($e,Qe);return}ge($e,Le,pt)}else ce($e,Le)}function De($e){$e._onerror&&$e._onerror($e._result),$($e)}function ce($e,Le){if($e._state!==W)return;$e._result=Le,$e._state=V,$e._subscribers.length!==0&&u($,$e)}function Oe($e,Le){if($e._state!==W)return;$e._state=z,$e._result=Le,u(De,$e)}function se($e,Le,pt,Qe){var gt=$e._subscribers,wt=gt.length;$e._onerror=null,gt[wt]=Le,gt[wt+V]=pt,gt[wt+z]=Qe,wt===0&&$e._state&&u($,$e)}function $($e){var Le=$e._subscribers,pt=$e._state;if(Le.length===0)return;for(var Qe=void 0,gt=void 0,wt=$e._result,Et=0;Et<Le.length;Et+=3)Qe=Le[Et],gt=Le[Et+pt],Qe?ze(pt,Qe,gt,wt):gt(wt);$e._subscribers.length=0}function ze($e,Le,pt,Qe){var gt=n(pt),wt=void 0,Et=void 0,_t=!0;if(gt){try{wt=pt(Qe)}catch(Ht){_t=!1,Et=Ht}if(Le===wt){Oe(Le,J());return}}else wt=Qe;Le._state!==W||(gt&&_t?pe(Le,wt):_t===!1?Oe(Le,Et):$e===V?ce(Le,wt):$e===z&&Oe(Le,wt))}function re($e,Le){try{Le(function(Qe){pe($e,Qe)},function(Qe){Oe($e,Qe)})}catch(pt){Oe($e,pt)}}var X=0;function G(){return X++}function Q($e){$e[F]=X++,$e._state=void 0,$e._result=void 0,$e._subscribers=[]}function ve(){return new Error("Array Methods must be provided an Array")}var de=function(){function $e(Le,pt){this._instanceConstructor=Le,this.promise=new Le(j),this.promise[F]||Q(this.promise),s(pt)?(this.length=pt.length,this._remaining=pt.length,this._result=new Array(this.length),this.length===0?ce(this.promise,this._result):(this.length=this.length||0,this._enumerate(pt),this._remaining===0&&ce(this.promise,this._result))):Oe(this.promise,ve())}return $e.prototype._enumerate=function(pt){for(var Qe=0;this._state===W&&Qe<pt.length;Qe++)this._eachEntry(pt[Qe],Qe)},$e.prototype._eachEntry=function(pt,Qe){var gt=this._instanceConstructor,wt=gt.resolve;if(wt===U){var Et=void 0,_t=void 0,Ht=!1;try{Et=pt.then}catch(ye){Ht=!0,_t=ye}if(Et===M&&pt._state!==W)this._settledAt(pt._state,Qe,pt._result);else if(typeof Et!="function")this._remaining--,this._result[Qe]=pt;else if(gt===We){var Ze=new gt(j);Ht?Oe(Ze,_t):ge(Ze,pt,Et),this._willSettleAt(Ze,Qe)}else this._willSettleAt(new gt(function(ye){return ye(pt)}),Qe)}else this._willSettleAt(wt(pt),Qe)},$e.prototype._settledAt=function(pt,Qe,gt){var wt=this.promise;wt._state===W&&(this._remaining--,pt===z?Oe(wt,gt):this._result[Qe]=gt),this._remaining===0&&ce(wt,this._result)},$e.prototype._willSettleAt=function(pt,Qe){var gt=this;se(pt,void 0,function(wt){return gt._settledAt(V,Qe,wt)},function(wt){return gt._settledAt(z,Qe,wt)})},$e}();function Ce($e){return new de(this,$e).promise}function we($e){var Le=this;return s($e)?new Le(function(pt,Qe){for(var gt=$e.length,wt=0;wt<gt;wt++)Le.resolve($e[wt]).then(pt,Qe)}):new Le(function(pt,Qe){return Qe(new TypeError("You must pass an array to race."))})}function le($e){var Le=this,pt=new Le(j);return Oe(pt,$e),pt}function fe(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function xe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var We=function(){function $e(Le){this[F]=G(),this._result=this._state=void 0,this._subscribers=[],j!==Le&&(typeof Le!="function"&&fe(),this instanceof $e?re(this,Le):xe())}return $e.prototype.catch=function(pt){return this.then(null,pt)},$e.prototype.finally=function(pt){var Qe=this,gt=Qe.constructor;return n(pt)?Qe.then(function(wt){return gt.resolve(pt()).then(function(){return wt})},function(wt){return gt.resolve(pt()).then(function(){throw wt})}):Qe.then(pt,pt)},$e}();We.prototype.then=M,We.all=Ce,We.race=we,We.resolve=U,We.reject=le,We._setScheduler=h,We._setAsap=f,We._asap=u;function nt(){var $e=void 0;if(typeof _!="undefined")$e=_;else if(typeof self!="undefined")$e=self;else try{$e=Function("return this")()}catch(Qe){throw new Error("polyfill failed because global object is unavailable in this environment")}var Le=$e.Promise;if(Le){var pt=null;try{pt=Object.prototype.toString.call(Le.resolve())}catch(Qe){}if(pt==="[object Promise]"&&!Le.cast)return}$e.Promise=We}return We.polyfill=nt,We.Promise=We,We})},html2canvas:function(r){"use strict";r.exports=A},jspdf:function(r){"use strict";r.exports=C}},m={};function p(o){var r=m[o];if(r!==void 0)return r.exports;var i=m[o]={exports:{}};return b[o].call(i.exports,i,i.exports,p),i.exports}!function(){p.n=function(o){var r=o&&o.__esModule?function(){return o.default}:function(){return o};return p.d(r,{a:r}),r}}(),!function(){p.d=function(o,r){for(var i in r)p.o(r,i)&&!p.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:r[i]})}}(),!function(){p.o=function(o,r){return Object.prototype.hasOwnProperty.call(o,r)}}(),!function(){p.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 ***!
\**********************/p.r(c);var o=p("./src/worker.js"),r=p("./src/plugin/jspdf-plugin.js"),i=p("./src/plugin/pagebreaks.js"),n=p("./src/plugin/hyperlinks.js"),t=function s(e,a){var l=new s.Worker(a);return e?l.from(e).save():l};t.Worker=o.default,c.default=t}(),c=c.default,c}()})}).call(this,d("yLpj"),d("Q2Ig"))},"1q3G":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=_;function _(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"1tlw":function(H,k,d){var _=d("MBQ8"),x=_.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(A){return A.stack=null,x.superApply(this,"getInitialData",arguments)}}),C=x;H.exports=C},"1u/T":function(H,k,d){var _=d("ProS"),x={type:"selectDataRange",event:"dataRangeSelected",update:"update"};_.registerAction(x,function(C,A){A.eachComponent({mainType:"visualMap",query:C},function(b){b.setSelected(C.selected)})})},"1uat":function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("MlIO"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.Hasher,b=x.x64,m=b.Word,p=b.WordArray,c=x.algo;function o(){return m.create.apply(m,arguments)}var r=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],i=[];(function(){for(var t=0;t<80;t++)i[t]=o()})();var n=c.SHA512=A.extend({_doReset:function(){this._hash=new p.init([new m.init(1779033703,4089235720),new m.init(3144134277,2227873595),new m.init(1013904242,4271175723),new m.init(2773480762,1595750129),new m.init(1359893119,2917565137),new m.init(2600822924,725511199),new m.init(528734635,4215389547),new m.init(1541459225,327033209)])},_doProcessBlock:function(s,e){for(var a=this._hash.words,l=a[0],u=a[1],h=a[2],f=a[3],g=a[4],v=a[5],y=a[6],E=a[7],T=l.high,w=l.low,S=u.high,I=u.low,L=h.high,O=h.low,N=f.high,R=f.low,D=g.high,B=g.low,M=v.high,U=v.low,F=y.high,j=y.low,W=E.high,V=E.low,z=T,Y=w,J=S,ie=I,Z=L,oe=O,ge=N,pe=R,De=D,ce=B,Oe=M,se=U,$=F,ze=j,re=W,X=V,G=0;G<80;G++){var Q,ve,de=i[G];if(G<16)ve=de.high=s[e+G*2]|0,Q=de.low=s[e+G*2+1]|0;else{var Ce=i[G-15],we=Ce.high,le=Ce.low,fe=(we>>>1|le<<31)^(we>>>8|le<<24)^we>>>7,xe=(le>>>1|we<<31)^(le>>>8|we<<24)^(le>>>7|we<<25),We=i[G-2],nt=We.high,$e=We.low,Le=(nt>>>19|$e<<13)^(nt<<3|$e>>>29)^nt>>>6,pt=($e>>>19|nt<<13)^($e<<3|nt>>>29)^($e>>>6|nt<<26),Qe=i[G-7],gt=Qe.high,wt=Qe.low,Et=i[G-16],_t=Et.high,Ht=Et.low;Q=xe+wt,ve=fe+gt+(Q>>>0<xe>>>0?1:0),Q=Q+pt,ve=ve+Le+(Q>>>0<pt>>>0?1:0),Q=Q+Ht,ve=ve+_t+(Q>>>0<Ht>>>0?1:0),de.high=ve,de.low=Q}var Ze=De&Oe^~De&$,ye=ce&se^~ce&ze,ae=z&J^z&Z^J&Z,yt=Y&ie^Y&oe^ie&oe,et=(z>>>28|Y<<4)^(z<<30|Y>>>2)^(z<<25|Y>>>7),me=(Y>>>28|z<<4)^(Y<<30|z>>>2)^(Y<<25|z>>>7),Gt=(De>>>14|ce<<18)^(De>>>18|ce<<14)^(De<<23|ce>>>9),rr=(ce>>>14|De<<18)^(ce>>>18|De<<14)^(ce<<23|De>>>9),ut=r[G],Xt=ut.high,ur=ut.low,Fr=X+rr,er=re+Gt+(Fr>>>0<X>>>0?1:0),Fr=Fr+ye,er=er+Ze+(Fr>>>0<ye>>>0?1:0),Fr=Fr+ur,er=er+Xt+(Fr>>>0<ur>>>0?1:0),Fr=Fr+Q,er=er+ve+(Fr>>>0<Q>>>0?1:0),nr=me+yt,Lt=et+ae+(nr>>>0<me>>>0?1:0);re=$,X=ze,$=Oe,ze=se,Oe=De,se=ce,ce=pe+Fr|0,De=ge+er+(ce>>>0<pe>>>0?1:0)|0,ge=Z,pe=oe,Z=J,oe=ie,J=z,ie=Y,Y=Fr+nr|0,z=er+Lt+(Y>>>0<Fr>>>0?1:0)|0}w=l.low=w+Y,l.high=T+z+(w>>>0<Y>>>0?1:0),I=u.low=I+ie,u.high=S+J+(I>>>0<ie>>>0?1:0),O=h.low=O+oe,h.high=L+Z+(O>>>0<oe>>>0?1:0),R=f.low=R+pe,f.high=N+ge+(R>>>0<pe>>>0?1:0),B=g.low=B+ce,g.high=D+De+(B>>>0<ce>>>0?1:0),U=v.low=U+se,v.high=M+Oe+(U>>>0<se>>>0?1:0),j=y.low=j+ze,y.high=F+$+(j>>>0<ze>>>0?1:0),V=E.low=V+X,E.high=W+re+(V>>>0<X>>>0?1:0)},_doFinalize:function(){var s=this._data,e=s.words,a=this._nDataBytes*8,l=s.sigBytes*8;e[l>>>5]|=128<<24-l%32,e[(l+128>>>10<<5)+30]=Math.floor(a/4294967296),e[(l+128>>>10<<5)+31]=a,s.sigBytes=e.length*4,this._process();var u=this._hash.toX32();return u},clone:function(){var s=A.clone.call(this);return s._hash=this._hash.clone(),s},blockSize:1024/32});x.SHA512=A._createHelper(n),x.HmacSHA512=A._createHmacHelper(n)}(),_.SHA512})},"1vzs":function(H,k,d){"use strict";d.d(k,"a",function(){return e});var _=d("q1tI"),x=d.n(_),C=d("HQEm"),A=d.n(C),b=d("gZBC"),m=d.n(b),p=d("NAnI"),c=d.n(p),o=d("V/uB"),r=d.n(o),i=d("kbBi"),n=d.n(i),t=d("w6Tc"),s=d.n(t);function e(a){var l=a.suffixIcon,u=a.clearIcon,h=a.menuItemSelectedIcon,f=a.removeIcon,g=a.loading,v=a.multiple,y=a.prefixCls,E=u;u||(E=_.createElement(n.a,null));var T=null;if(l!==void 0)T=l;else if(g)T=_.createElement(m.a,{spin:!0});else{var w="".concat(y,"-suffix");T=function(O){var N=O.open,R=O.showSearch;return N&&R?_.createElement(s.a,{className:w}):_.createElement(A.a,{className:w})}}var S=null;h!==void 0?S=h:v?S=_.createElement(c.a,null):S=null;var I=null;return f!==void 0?I=f:I=_.createElement(r.a,null),{clearIcon:E,suffixIcon:T,itemIcon:S,removeIcon:I}}},"1xaR":function(H,k,d){var _=d("ProS"),x=d("bYtY");d("qgGe"),d("NA0q"),d("RPvy");var C=d("mOdp"),A=d("y3NT"),b=d("0/Rx");_.registerVisual(x.curry(C,"sunburst")),_.registerLayout(x.curry(A,"sunburst")),_.registerProcessor(x.curry(b,"sunburst"))},"24YM":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.SensorTabIndex=k.SensorClassName=k.SizeSensorId=void 0;var _="size-sensor-id";k.SizeSensorId=_;var x="size-sensor-object";k.SensorClassName=x;var C="-1";k.SensorTabIndex=C},"2548":function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("6GrX"),A=d("IUWy"),b=d("IwbS"),m=d("Qxkt"),p=d("gPAo"),c=d("eRkO"),o=_.extendComponentView({type:"toolbox",render:function(i,n,t,s){var e=this.group;if(e.removeAll(),!i.get("show"))return;var a=+i.get("itemSize"),l=i.get("feature")||{},u=this._features||(this._features={}),h=[];x.each(l,function(v,y){h.push(y)}),new p(this._featureNames||[],h).add(f).update(f).remove(x.curry(f,null)).execute(),this._featureNames=h;function f(v,y){var E=h[v],T=h[y],w=l[E],S=new m(w,i,i.ecModel),I;if(s&&s.newTitle!=null&&s.featureName===E&&(w.title=s.newTitle),E&&!T){if(r(E))I={model:S,onclick:S.option.onclick,featureName:E};else{var L=A.get(E);if(!L)return;I=new L(S,n,t)}u[E]=I}else{if(I=u[T],!I)return;I.model=S,I.ecModel=n,I.api=t}if(!E&&T){I.dispose&&I.dispose(n,t);return}if(!S.get("show")||I.unusable){I.remove&&I.remove(n,t);return}g(S,I,E),S.setIconStatus=function(O,N){var R=this.option,D=this.iconPaths;R.iconStatus=R.iconStatus||{},R.iconStatus[O]=N,D[O]&&D[O].trigger(N)},I.render&&I.render(S,n,t,s)}function g(v,y,E){var T=v.getModel("iconStyle"),w=v.getModel("emphasis.iconStyle"),S=y.getIcons?y.getIcons():v.get("icon"),I=v.get("title")||{};if(typeof S=="string"){var L=S,O=I;S={},I={},S[E]=L,I[E]=O}var N=v.iconPaths={};x.each(S,function(R,D){var B=b.createIcon(R,{},{x:-a/2,y:-a/2,width:a,height:a});B.setStyle(T.getItemStyle()),B.hoverStyle=w.getItemStyle(),B.setStyle({text:I[D],textAlign:w.get("textAlign"),textBorderRadius:w.get("textBorderRadius"),textPadding:w.get("textPadding"),textFill:null});var M=i.getModel("tooltip");M&&M.get("show")&&B.attr("tooltip",x.extend({content:I[D],formatter:M.get("formatter",!0)||function(){return I[D]},formatterParams:{componentType:"toolbox",name:D,title:I[D],$vars:["name","title"]},position:M.get("position",!0)||"bottom"},M.option)),b.setHoverStyle(B),i.get("showTitle")&&(B.__title=I[D],B.on("mouseover",function(){var U=w.getItemStyle(),F=i.get("orient")==="vertical"?i.get("right")==null?"right":"left":i.get("bottom")==null?"bottom":"top";B.setStyle({textFill:w.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:w.get("textBackgroundColor"),textPosition:w.get("textPosition")||F})}).on("mouseout",function(){B.setStyle({textFill:null,textBackgroundColor:null})})),B.trigger(v.get("iconStatus."+D)||"normal"),e.add(B),B.on("click",x.bind(y.onclick,y,n,t,D)),N[D]=B})}c.layout(e,i,t),e.add(c.makeBackground(e.getBoundingRect(),i)),e.eachChild(function(v){var y=v.__title,E=v.hoverStyle;if(E&&y){var T=C.getBoundingRect(y,C.makeFont(E)),w=v.position[0]+e.position[0],S=v.position[1]+e.position[1]+a,I=!1;S+T.height>t.getHeight()&&(E.textPosition="top",I=!0);var L=I?-5-T.height:a+8;w+T.width/2>t.getWidth()?(E.textPosition=["100%",L],E.textAlign="right"):w-T.width/2<0&&(E.textPosition=[0,L],E.textAlign="left")}})},updateView:function(i,n,t,s){x.each(this._features,function(e){e.updateView&&e.updateView(e.model,n,t,s)})},remove:function(i,n){x.each(this._features,function(t){t.remove&&t.remove(i,n)}),this.group.removeAll()},dispose:function(i,n){x.each(this._features,function(t){t.dispose&&t.dispose(i,n)})}});function r(i){return i.indexOf("my")===0}H.exports=o},"2B6p":function(H,k){function d(_,x,C){var A=_.getZoom(),b=_.getCenter(),m=x.zoom,p=_.dataToPoint(b);if(x.dx!=null&&x.dy!=null){p[0]-=x.dx,p[1]-=x.dy;var b=_.pointToData(p);_.setCenter(b)}if(m!=null){if(C){var c=C.min||0,o=C.max||Infinity;m=Math.max(Math.min(A*m,o),c)/A}_.scale[0]*=m,_.scale[1]*=m;var r=_.position,i=(x.originX-r[0])*(m-1),n=(x.originY-r[1])*(m-1);r[0]-=i,r[1]-=n,_.updateTransform();var b=_.pointToData(p);_.setCenter(b),_.setZoom(m*A)}return{center:_.getCenter(),zoom:_.getZoom()}}k.updateCenterAndZoom=d},"2BaD":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="CloseCircleOutlined";var p=k.a=x.forwardRef(m)},"2DNl":function(H,k,d){var _=d("IMiH"),x=d("loD1"),C=d("59Ip"),A=d("aKvl"),b=d("n1HI"),m=d("hX1E"),p=m.normalizeRadian,c=d("Sj9i"),o=d("hyiK"),r=_.CMD,i=Math.PI*2,n=1e-4;function t(y,E){return Math.abs(y-E)<n}var s=[-1,-1,-1],e=[-1,-1];function a(){var y=e[0];e[0]=e[1],e[1]=y}function l(y,E,T,w,S,I,L,O,N,R){if(R>E&&R>w&&R>I&&R>O||R<E&&R<w&&R<I&&R<O)return 0;var D=c.cubicRootAt(E,w,I,O,R,s);if(D===0)return 0;for(var B=0,M=-1,U,F,j=0;j<D;j++){var W=s[j],V=W===0||W===1?.5:1,z=c.cubicAt(y,T,S,L,W);if(z<N)continue;M<0&&(M=c.cubicExtrema(E,w,I,O,e),e[1]<e[0]&&M>1&&a(),U=c.cubicAt(E,w,I,O,e[0]),M>1&&(F=c.cubicAt(E,w,I,O,e[1]))),M===2?W<e[0]?B+=U<E?V:-V:W<e[1]?B+=F<U?V:-V:B+=O<F?V:-V:W<e[0]?B+=U<E?V:-V:B+=O<U?V:-V}return B}function u(y,E,T,w,S,I,L,O){if(O>E&&O>w&&O>I||O<E&&O<w&&O<I)return 0;var N=c.quadraticRootAt(E,w,I,O,s);if(N===0)return 0;var R=c.quadraticExtremum(E,w,I);if(R>=0&&R<=1){for(var D=0,B=c.quadraticAt(E,w,I,R),M=0;M<N;M++){var U=s[M]===0||s[M]===1?.5:1,F=c.quadraticAt(y,T,S,s[M]);if(F<L)continue;s[M]<R?D+=B<E?U:-U:D+=I<B?U:-U}return D}else{var U=s[0]===0||s[0]===1?.5:1,F=c.quadraticAt(y,T,S,s[0]);return F<L?0:I<E?U:-U}}function h(y,E,T,w,S,I,L,O){if(O-=E,O>T||O<-T)return 0;var N=Math.sqrt(T*T-O*O);s[0]=-N,s[1]=N;var R=Math.abs(w-S);if(R<1e-4)return 0;if(R%i<1e-4){w=0,S=i;var D=I?1:-1;return L>=s[0]+y&&L<=s[1]+y?D:0}if(I){var N=w;w=p(S),S=p(N)}else w=p(w),S=p(S);w>S&&(S+=i);for(var B=0,M=0;M<2;M++){var U=s[M];if(U+y>L){var F=Math.atan2(O,U),D=I?1:-1;F<0&&(F=i+F),(F>=w&&F<=S||F+i>=w&&F+i<=S)&&(F>Math.PI/2&&F<Math.PI*1.5&&(D=-D),B+=D)}}return B}function f(y,E,T,w,S){for(var I=0,L=0,O=0,N=0,R=0,D=0;D<y.length;){var B=y[D++];B===r.M&&D>1&&(T||(I+=o(L,O,N,R,w,S))),D===1&&(L=y[D],O=y[D+1],N=L,R=O);switch(B){case r.M:N=y[D++],R=y[D++],L=N,O=R;break;case r.L:if(T){if(x.containStroke(L,O,y[D],y[D+1],E,w,S))return!0}else I+=o(L,O,y[D],y[D+1],w,S)||0;L=y[D++],O=y[D++];break;case r.C:if(T){if(C.containStroke(L,O,y[D++],y[D++],y[D++],y[D++],y[D],y[D+1],E,w,S))return!0}else I+=l(L,O,y[D++],y[D++],y[D++],y[D++],y[D],y[D+1],w,S)||0;L=y[D++],O=y[D++];break;case r.Q:if(T){if(A.containStroke(L,O,y[D++],y[D++],y[D],y[D+1],E,w,S))return!0}else I+=u(L,O,y[D++],y[D++],y[D],y[D+1],w,S)||0;L=y[D++],O=y[D++];break;case r.A:var M=y[D++],U=y[D++],F=y[D++],j=y[D++],W=y[D++],V=y[D++];D+=1;var z=1-y[D++],Y=Math.cos(W)*F+M,J=Math.sin(W)*j+U;D>1?I+=o(L,O,Y,J,w,S):(N=Y,R=J);var ie=(w-M)*j/F+M;if(T){if(b.containStroke(M,U,j,W,W+V,z,E,ie,S))return!0}else I+=h(M,U,j,W,W+V,z,ie,S);L=Math.cos(W+V)*F+M,O=Math.sin(W+V)*j+U;break;case r.R:N=L=y[D++],R=O=y[D++];var Z=y[D++],oe=y[D++],Y=N+Z,J=R+oe;if(T){if(x.containStroke(N,R,Y,R,E,w,S)||x.containStroke(Y,R,Y,J,E,w,S)||x.containStroke(Y,J,N,J,E,w,S)||x.containStroke(N,J,N,R,E,w,S))return!0}else I+=o(Y,R,Y,J,w,S),I+=o(N,J,N,R,w,S);break;case r.Z:if(T){if(x.containStroke(L,O,N,R,E,w,S))return!0}else I+=o(L,O,N,R,w,S);L=N,O=R;break}}return!T&&!t(O,R)&&(I+=o(L,O,N,R,w,S)||0),I!==0}function g(y,E,T){return f(y,0,!1,E,T)}function v(y,E,T,w){return f(y,E,!0,T,w)}k.contain=g,k.containStroke=v},"2KFj":function(H,k,d){"use strict";d.d(k,"a",function(){return C});var _=d("XPR9");function x(A,b){for(;!Object.prototype.hasOwnProperty.call(A,b)&&!(A=Object(_.a)(A),A===null););return A}function C(A,b,m){return typeof Reflect!="undefined"&&Reflect.get?C=Reflect.get:C=function(c,o,r){var i=x(c,o);if(!i)return;var n=Object.getOwnPropertyDescriptor(i,o);return n.get?n.get.call(r):n.value},C(A,b,m||A)}},"2Qr1":function(H,k,d){"use strict";d.d(k,"d",function(){return o}),d.d(k,"c",function(){return i}),d.d(k,"e",function(){return n}),d.d(k,"b",function(){return e}),d.d(k,"f",function(){return a}),d.d(k,"g",function(){return l}),d.d(k,"a",function(){return u});var _=d("rePB"),x=d("KQm4"),C=d("T5bk"),A=d("U8pU"),b=d("VTBJ"),m=d("Kwbf"),p=d("WKfj");function c(h,f){var g=h.key,v;return"value"in h&&(v=h.value),g!=null?g:v!==void 0?v:"rc-index-key-".concat(f)}function o(h){var f=[];function g(v,y){v.forEach(function(E){y||!("options"in E)?f.push({key:c(E,f.length),groupOption:y,data:E}):(f.push({key:c(E,f.length),group:!0,data:E}),g(E.options,!0))})}return g(h,!1),f}function r(h){var f=Object(b.a)({},h);return"props"in f||Object.defineProperty(f,"props",{get:function(){return Object(m.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),f}}),f}function i(h,f){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=g.prevValueOptions,y=v===void 0?[]:v,E=new Map;return f.forEach(function(T){if(!T.group){var w=T.data;E.set(w.value,w)}}),h.map(function(T){var w=E.get(T);return w||(w=Object(b.a)({},y.find(function(S){return S._INTERNAL_OPTION_VALUE_===T}))),r(w)})}var n=function(f,g){var v=g.options,y=g.prevValue,E=g.labelInValue,T=g.optionLabelProp,w=i([f],v)[0],S={value:f},I,L=Object(p.d)(y);return E&&(I=L.find(function(O){return Object(A.a)(O)==="object"&&"value"in O?O.value===f:O.key===f})),I&&Object(A.a)(I)==="object"&&"label"in I?(S.label=I.label,w&&typeof I.label=="string"&&typeof w[T]=="string"&&I.label.trim()!==w[T].trim()&&Object(m.a)(!1,"`label` of `value` is not same as `label` in Select options.")):w&&T in w?S.label=w[T]:S.label=f,S.key=S.value,S};function t(h){return Object(p.d)(h).join("")}function s(h){return function(f,g){var v=f.toLowerCase();if("options"in g)return t(g.label).toLowerCase().includes(v);var y=g[h],E=t(y).toLowerCase();return E.includes(v)}}function e(h,f,g){var v=g.optionFilterProp,y=g.filterOption,E=[],T;return y===!1?f:(typeof y=="function"?T=y:T=s(v),f.forEach(function(w){if("options"in w){var S=T(h,w);if(S)E.push(w);else{var I=w.options.filter(function(L){return T(h,L)});I.length&&E.push(Object(b.a)(Object(b.a)({},w),{},{options:I}))}return}T(h,r(w))&&E.push(w)}),E)}function a(h,f){if(!f||!f.length)return null;var g=!1;function v(E,T){var w=Object(C.a)(T),S=w[0],I=w.slice(1);if(!S)return[E];var L=E.split(S);return g=g||L.length>1,L.reduce(function(O,N){return[].concat(Object(x.a)(O),Object(x.a)(v(N,I)))},[]).filter(function(O){return O})}var y=v(h,f);return g?y:null}function l(h,f){var g=i([h],f)[0];return g.disabled}function u(h,f,g,v){var y=Object(p.d)(f).slice().sort(),E=Object(x.a)(h),T=new Set;return h.forEach(function(w){w.options?w.options.forEach(function(S){T.add(S.value)}):T.add(w.value)}),y.forEach(function(w){var S=v?w.value:w;if(!T.has(S)){var I;E.push(v?(I={},Object(_.a)(I,g,w.label),Object(_.a)(I,"value",S),I):{value:S})}}),E}},"2dDv":function(H,k,d){var _=d("bYtY"),x=d("Fofx"),C=d("+TT/"),A=d("aX7z"),b=d("D1WM"),m=d("IwbS"),p=d("OELB"),c=d("72pK"),o=_.each,r=Math.min,i=Math.max,n=Math.floor,t=Math.ceil,s=p.round,e=Math.PI;function a(g,v,y){this._axesMap=_.createHashMap(),this._axesLayout={},this.dimensions=g.dimensions,this._rect,this._model=g,this._init(g,v,y)}a.prototype={type:"parallel",constructor:a,_init:function(g,v,y){var E=g.dimensions,T=g.parallelAxisIndex;o(E,function(w,S){var I=T[S],L=v.getComponent("parallelAxis",I),O=this._axesMap.set(w,new b(w,A.createScaleByModel(L),[0,0],L.get("type"),I)),N=O.type==="category";O.onBand=N&&L.get("boundaryGap"),O.inverse=L.get("inverse"),L.axis=O,O.model=L,O.coordinateSystem=L.coordinateSystem=this},this)},update:function(g,v){this._updateAxesFromSeries(this._model,g)},containPoint:function(g){var v=this._makeLayoutInfo(),y=v.axisBase,E=v.layoutBase,T=v.pixelDimIndex,w=g[1-T],S=g[T];return w>=y&&w<=y+v.axisLength&&S>=E&&S<=E+v.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(g,v){v.eachSeries(function(y){if(!g.contains(y,v))return;var E=y.getData();o(this.dimensions,function(T){var w=this._axesMap.get(T);w.scale.unionExtentFromData(E,E.mapDimension(T)),A.niceScaleExtent(w.scale,w.model)},this)},this)},resize:function(g,v){this._rect=C.getLayoutRect(g.getBoxLayoutParams(),{width:v.getWidth(),height:v.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var g=this._model,v=this._rect,y=["x","y"],E=["width","height"],T=g.get("layout"),w=T==="horizontal"?0:1,S=v[E[w]],I=[0,S],L=this.dimensions.length,O=l(g.get("axisExpandWidth"),I),N=l(g.get("axisExpandCount")||0,[0,L]),R=g.get("axisExpandable")&&L>3&&L>N&&N>1&&O>0&&S>0,D=g.get("axisExpandWindow"),B;if(D)B=l(D[1]-D[0],I),D[1]=D[0]+B;else{B=l(O*(N-1),I);var M=g.get("axisExpandCenter")||n(L/2);D=[O*M-B/2],D[1]=D[0]+B}var U=(S-B)/(L-N);U<3&&(U=0);var F=[n(s(D[0]/O,1))+1,t(s(D[1]/O,1))-1],j=U/O*D[0];return{layout:T,pixelDimIndex:w,layoutBase:v[y[w]],layoutLength:S,axisBase:v[y[1-w]],axisLength:v[E[1-w]],axisExpandable:R,axisExpandWidth:O,axisCollapseWidth:U,axisExpandWindow:D,axisCount:L,winInnerIndices:F,axisExpandWindow0Pos:j}},_layoutAxes:function(){var g=this._rect,v=this._axesMap,y=this.dimensions,E=this._makeLayoutInfo(),T=E.layout;v.each(function(w){var S=[0,E.axisLength],I=w.inverse?1:0;w.setExtent(S[I],S[1-I])}),o(y,function(w,S){var I=(E.axisExpandable?h:u)(S,E),L={horizontal:{x:I.position,y:E.axisLength},vertical:{x:0,y:I.position}},O={horizontal:e/2,vertical:0},N=[L[T].x+g.x,L[T].y+g.y],R=O[T],D=x.create();x.rotate(D,D,R),x.translate(D,D,N),this._axesLayout[w]={position:N,rotation:R,transform:D,axisNameAvailableWidth:I.axisNameAvailableWidth,axisLabelShow:I.axisLabelShow,nameTruncateMaxWidth:I.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(g){return this._axesMap.get(g)},dataToPoint:function(g,v){return this.axisCoordToPoint(this._axesMap.get(v).dataToCoord(g),v)},eachActiveState:function(g,v,y,E){y==null&&(y=0),E==null&&(E=g.count());var T=this._axesMap,w=this.dimensions,S=[],I=[];_.each(w,function(U){S.push(g.mapDimension(U)),I.push(T.get(U).model)});for(var L=this.hasAxisBrushed(),O=y;O<E;O++){var N;if(!L)N="normal";else{N="active";for(var R=g.getValues(S,O),D=0,B=w.length;D<B;D++){var M=I[D].getActiveState(R[D]);if(M==="inactive"){N="inactive";break}}}v(N,O)}},hasAxisBrushed:function(){for(var g=this.dimensions,v=this._axesMap,y=!1,E=0,T=g.length;E<T;E++)v.get(g[E]).model.getActiveState()!=="normal"&&(y=!0);return y},axisCoordToPoint:function(g,v){var y=this._axesLayout[v];return m.applyTransform([g,0],y.transform)},getAxisLayout:function(g){return _.clone(this._axesLayout[g])},getSlidedAxisExpandWindow:function(g){var v=this._makeLayoutInfo(),y=v.pixelDimIndex,E=v.axisExpandWindow.slice(),T=E[1]-E[0],w=[0,v.axisExpandWidth*(v.axisCount-1)];if(!this.containPoint(g))return{behavior:"none",axisExpandWindow:E};var S=g[y]-v.layoutBase-v.axisExpandWindow0Pos,I,L="slide",O=v.axisCollapseWidth,N=this._model.get("axisExpandSlideTriggerArea"),R=N[0]!=null;if(O)R&&O&&S<T*N[0]?(L="jump",I=S-T*N[2]):R&&O&&S>T*(1-N[0])?(L="jump",I=S-T*(1-N[2])):(I=S-T*N[1])>=0&&(I=S-T*(1-N[1]))<=0&&(I=0),I*=v.axisExpandWidth/O,I?c(I,E,w,"all"):L="none";else{var T=E[1]-E[0],D=w[1]*S/T;E=[i(0,D-T/2)],E[1]=r(w[1],E[0]+T),E[0]=E[1]-T}return{axisExpandWindow:E,behavior:L}}};function l(g,v){return r(i(g,v[0]),v[1])}function u(g,v){var y=v.layoutLength/(v.axisCount-1);return{position:y*g,axisNameAvailableWidth:y,axisLabelShow:!0}}function h(g,v){var y=v.layoutLength,E=v.axisExpandWidth,T=v.axisCount,w=v.axisCollapseWidth,S=v.winInnerIndices,I,L=w,O=!1,N;return g<S[0]?(I=g*w,N=w):g<=S[1]?(I=v.axisExpandWindow0Pos+g*E-v.axisExpandWindow[0],L=E,O=!0):(I=y-(T-1-g)*w,N=w),{position:I,axisNameAvailableWidth:L,axisLabelShow:O,nameTruncateMaxWidth:N}}var f=a;H.exports=f},"2fGM":function(H,k,d){var _=d("bYtY"),x=d("bLfw"),C=d("nkfE"),A=d("ICMv"),b=x.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});_.merge(b.prototype,A);var m={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function p(c,o){return o.type||(o.data?"category":"value")}C("angle",b,p,m.angle),C("radius",b,p,m.radius)},"2fM7":function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("7W2i"),r=d.n(o),i=d("LQ03"),n=d.n(i),t=d("q1tI"),s=d("BGR+"),e=d("TSYQ"),a=d.n(e),l=d("1OyB"),u=d("vuIU"),h=d("Ji7U"),f=d("LK+K"),g=d("rePB"),v=d("Ff2n"),y=d("ODXe"),E=d("4IlW"),T=d("bX4T"),w=d("YrtM"),S=d("+nKL"),I=d("8OUc"),L=function(G,Q){var ve=G.prefixCls,de=G.id,Ce=G.flattenOptions,we=G.childrenAsData,le=G.values,fe=G.searchValue,xe=G.multiple,We=G.defaultActiveFirstOption,nt=G.height,$e=G.itemHeight,Le=G.notFoundContent,pt=G.open,Qe=G.menuItemSelectedIcon,gt=G.virtual,wt=G.onSelect,Et=G.onToggleOpen,_t=G.onActiveValue,Ht=G.onScroll,Ze=G.onMouseEnter,ye="".concat(ve,"-item"),ae=Object(w.a)(function(){return Ce},[pt,Ce],function(Lt,at){return at[0]&&Lt[1]!==at[1]}),yt=t.useRef(null),et=function(at){at.preventDefault()},me=function(at){yt.current&&yt.current.scrollTo({index:at})},Gt=function(at){for(var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,qt=ae.length,Sr=0;Sr<qt;Sr+=1){var yr=(at+Sr*Je+qt)%qt,fr=ae[yr],yn=fr.group,Jr=fr.data;if(!yn&&!Jr.disabled)return yr}return-1},rr=t.useState(function(){return Gt(0)}),ut=Object(y.a)(rr,2),Xt=ut[0],ur=ut[1],Fr=function(at){ur(at);var Je=ae[at];if(!Je){_t(null,-1);return}_t(Je.data.value,at)};t.useEffect(function(){Fr(We!==!1?Gt(0):-1)},[ae.length,fe]),t.useEffect(function(){var Lt=setTimeout(function(){if(!xe&&pt&&le.size===1){var at=Array.from(le)[0],Je=ae.findIndex(function(qt){var Sr=qt.data;return Sr.value===at});Fr(Je),me(Je)}});return function(){return clearTimeout(Lt)}},[pt]);var er=function(at){at!==void 0&&wt(at,{selected:!le.has(at)}),xe||Et(!1)};if(t.useImperativeHandle(Q,function(){return{onKeyDown:function(at){var Je=at.which;switch(Je){case E.a.UP:case E.a.DOWN:{var qt=0;if(Je===E.a.UP?qt=-1:Je===E.a.DOWN&&(qt=1),qt!==0){var Sr=Gt(Xt+qt,qt);me(Sr),Fr(Sr)}break}case E.a.ENTER:{var yr=ae[Xt];yr&&!yr.data.disabled?er(yr.data.value):er(void 0),pt&&at.preventDefault();break}case E.a.ESC:Et(!1)}},onKeyUp:function(){},scrollTo:function(at){me(at)}}}),ae.length===0)return t.createElement("div",{role:"listbox",id:"".concat(de,"_list"),className:"".concat(ye,"-empty"),onMouseDown:et},Le);function nr(Lt){var at=ae[Lt];if(!at)return null;var Je=at.data||{},qt=Je.value,Sr=Je.label,yr=Je.children,fr=Object(T.a)(Je,!0),yn=we?yr:Sr;return at?t.createElement("div",Object.assign({"aria-label":typeof yn=="string"?yn:null},fr,{key:Lt,role:"option",id:"".concat(de,"_list_").concat(Lt),"aria-selected":le.has(qt)}),qt):null}return t.createElement(t.Fragment,null,t.createElement("div",{role:"listbox",id:"".concat(de,"_list"),style:{height:0,width:0,overflow:"hidden"}},nr(Xt-1),nr(Xt),nr(Xt+1)),t.createElement(S.a,{itemKey:"key",ref:yt,data:ae,height:nt,itemHeight:$e,fullHeight:!1,onMouseDown:et,onScroll:Ht,virtual:gt,onMouseEnter:Ze},function(Lt,at){var Je,qt=Lt.group,Sr=Lt.groupOption,yr=Lt.data,fr=yr.label,yn=yr.key;if(qt)return t.createElement("div",{className:a()(ye,"".concat(ye,"-group"))},fr!==void 0?fr:yn);var Jr=yr.disabled,Ln=yr.value,Nt=yr.title,Ve=yr.children,_e=yr.style,ke=yr.className,Pe=Object(v.a)(yr,["disabled","value","title","children","style","className"]),rt=le.has(Ln),Pt="".concat(ye,"-option"),Yt=a()(ye,Pt,ke,(Je={},Object(g.a)(Je,"".concat(Pt,"-grouped"),Sr),Object(g.a)(Je,"".concat(Pt,"-active"),Xt===at&&!Jr),Object(g.a)(Je,"".concat(Pt,"-disabled"),Jr),Object(g.a)(Je,"".concat(Pt,"-selected"),rt),Je)),kt=we?Ve:fr,_r=!Qe||typeof Qe=="function"||rt;return t.createElement("div",Object.assign({},Pe,{"aria-selected":rt,className:Yt,title:Nt,onMouseMove:function(){if(Xt===at||Jr)return;Fr(at)},onClick:function(){Jr||er(Ln)},style:_e}),t.createElement("div",{className:"".concat(Pt,"-content")},kt||Ln),t.isValidElement(Qe)||rt,_r&&t.createElement(I.a,{className:"".concat(ye,"-option-state"),customizeIcon:Qe,customizeIconProps:{isSelected:rt}},rt?"\u2713":null))}))},O=t.forwardRef(L);O.displayName="OptionList";var N=O,R=function(){return null};R.isSelectOption=!0;var D=R,B=function(){return null};B.isSelectOptGroup=!0;var M=B,U=d("VTBJ"),F=d("Zm9Q");function j(X){var G=X.key,Q=X.props,ve=Q.children,de=Q.value,Ce=Object(v.a)(Q,["children","value"]);return Object(U.a)({key:G,value:de!==void 0?de:G,children:ve},Ce)}function W(X){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(F.a)(X).map(function(Q,ve){if(!t.isValidElement(Q)||!Q.type)return null;var de=Q.type.isSelectOptGroup,Ce=Q.key,we=Q.props,le=we.children,fe=Object(v.a)(we,["children"]);return G||!de?j(Q):Object(U.a)(Object(U.a)({key:"__RC_SELECT_GRP__".concat(Ce===null?ve:Ce,"__"),label:Ce},fe),{},{options:W(le)})}).filter(function(Q){return Q})}var V=d("2Qr1"),z=d("qNPg"),Y=d("U8pU"),J=d("Kwbf"),ie=d("WKfj");function Z(X){var G=X.mode,Q=X.options,ve=X.children,de=X.backfill,Ce=X.allowClear,we=X.placeholder,le=X.getInputElement,fe=X.showSearch,xe=X.onSearch,We=X.defaultOpen,nt=X.autoFocus,$e=X.labelInValue,Le=X.value,pt=X.inputValue,Qe=X.optionLabelProp,gt=G==="multiple"||G==="tags",wt=fe!==void 0?fe:gt||G==="combobox",Et=Q||W(ve);if(Object(J.a)(G!=="tags"||Et.every(function(ye){return!ye.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),G==="tags"||G==="combobox"){var _t=Et.some(function(ye){return ye.options?ye.options.some(function(ae){return typeof("value"in ae?ae.value:ae.key)=="number"}):typeof("value"in ye?ye.value:ye.key)=="number"});Object(J.a)(!_t,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(J.a)(G!=="combobox"||!Qe,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(J.a)(G==="combobox"||!de,"`backfill` only works with `combobox` mode."),Object(J.a)(G==="combobox"||!le,"`getInputElement` only work with `combobox` mode."),Object(J.b)(G!=="combobox"||!le||!Ce||!we,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),xe&&!wt&&G!=="combobox"&&G!=="tags"&&Object(J.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(J.b)(!We||nt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Le!=null){var Ht=Object(ie.d)(Le);Object(J.a)(!$e||Ht.every(function(ye){return Object(Y.a)(ye)==="object"&&("key"in ye||"value"in ye)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(J.a)(!gt||Array.isArray(Le),"`value` should be array when `mode` is `multiple` or `tags`")}if(ve){var Ze=null;Object(F.a)(ve).some(function(ye){if(!t.isValidElement(ye)||!ye.type)return!1;var ae=ye.type;if(ae.isSelectOption)return!1;if(ae.isSelectOptGroup){var yt=Object(F.a)(ye.props.children).every(function(et){return!t.isValidElement(et)||!ye.type||et.type.isSelectOption?!0:(Ze=et.type,!1)});return!yt}return Ze=ae,!0}),Ze&&Object(J.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ze.displayName||Ze.name||Ze,"`.")),Object(J.a)(pt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var oe=Z,ge=Object(z.a)({prefixCls:"rc-select",components:{optionList:N},convertChildrenToData:W,flattenOptions:V.d,getLabeledValue:V.e,filterOptions:V.b,isValueDisabled:V.g,findValueOption:V.c,warningProps:oe,fillOptionsWithMissingValue:V.a}),pe=function(X){Object(h.a)(Q,X);var G=Object(f.a)(Q);function Q(){var ve;return Object(l.a)(this,Q),ve=G.apply(this,arguments),ve.selectRef=t.createRef(),ve.focus=function(){ve.selectRef.current.focus()},ve.blur=function(){ve.selectRef.current.blur()},ve}return Object(u.a)(Q,[{key:"render",value:function(){return t.createElement(ge,Object.assign({ref:this.selectRef},this.props))}}]),Q}(t.Component);pe.Option=D,pe.OptGroup=M;var De=pe,ce=De,Oe=d("H84U"),se=d("1vzs"),$=d("3Nzz"),ze=function(X){r()(Q,X);var G=n()(Q);function Q(){var ve;return m()(this,Q),ve=G.apply(this,arguments),ve.selectRef=t.createRef(),ve.focus=function(){ve.selectRef.current&&ve.selectRef.current.focus()},ve.blur=function(){ve.selectRef.current&&ve.selectRef.current.blur()},ve.getMode=function(){var de=ve.props.mode;return de==="combobox"?void 0:de===Q.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":de},ve.renderSelect=function(de){var Ce=de.getPopupContainer,we=de.getPrefixCls,le=de.renderEmpty,fe=de.direction,xe=de.virtual,We=de.dropdownMatchSelectWidth,nt=ve.props,$e=nt.prefixCls,Le=nt.notFoundContent,pt=nt.className,Qe=nt.size,gt=nt.listHeight,wt=gt===void 0?256:gt,Et=nt.listItemHeight,_t=Et===void 0?24:Et,Ht=nt.getPopupContainer,Ze=nt.dropdownClassName,ye=nt.bordered,ae=we("select",$e),yt=ve.getMode(),et=yt==="multiple"||yt==="tags",me;Le!==void 0?me=Le:yt==="combobox"?me=null:me=le("Select");var Gt=Object(se.a)(A()(A()({},ve.props),{multiple:et,prefixCls:ae})),rr=Gt.suffixIcon,ut=Gt.itemIcon,Xt=Gt.removeIcon,ur=Gt.clearIcon,Fr=Object(s.default)(ve.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),er=a()(Ze,x()({},"".concat(ae,"-dropdown-").concat(fe),fe==="rtl"));return t.createElement($.b.Consumer,null,function(nr){var Lt,at=Qe||nr,Je=a()(pt,(Lt={},x()(Lt,"".concat(ae,"-lg"),at==="large"),x()(Lt,"".concat(ae,"-sm"),at==="small"),x()(Lt,"".concat(ae,"-rtl"),fe==="rtl"),x()(Lt,"".concat(ae,"-borderless"),!ye),Lt));return t.createElement(ce,A()({ref:ve.selectRef,virtual:xe,dropdownMatchSelectWidth:We},Fr,{listHeight:wt,listItemHeight:_t,mode:yt,prefixCls:ae,direction:fe,inputIcon:rr,menuItemSelectedIcon:ut,removeIcon:Xt,clearIcon:ur,notFoundContent:me,className:Je,getPopupContainer:Ht||Ce,dropdownClassName:er}))})},ve}return c()(Q,[{key:"render",value:function(){return t.createElement(Oe.a,null,this.renderSelect)}}]),Q}(t.Component);ze.Option=D,ze.OptGroup=M,ze.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",ze.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var re=k.a=ze},"2fw6":function(H,k,d){var _=d("y+Vt"),x=_.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(A,b,m){m&&A.moveTo(b.cx+b.r,b.cy),A.arc(b.cx,b.cy,b.r,0,Math.PI*2,!0)}});H.exports=x},"2jpz":function(H,k,d){"use strict";d.d(k,"a",function(){return u});var _=d("cDf5"),x=d.n(_),C=d("q1tI"),A=d.n(C),b=d("TSYQ"),m=d.n(b),p=d("gZBC"),c=d.n(p),o=d("vk+C"),r=d.n(o),i=d("pG52"),n=d.n(i),t=d("Csr3"),s=d.n(t),e=d("e5VY"),a=d.n(e),l=d("0n0R");function u(h,f,g,v){var y=v.isLeaf,E=v.expanded,T=v.loading;if(T)return C.createElement(c.a,{className:"".concat(h,"-switcher-loading-icon")});var w;if(g&&x()(g)==="object"&&(w=g.showLeafIcon),y)return g?x()(g)==="object"&&!w?C.createElement("span",{className:"".concat(h,"-switcher-leaf-line")}):C.createElement(r.a,{className:"".concat(h,"-switcher-line-icon")}):null;var S="".concat(h,"-switcher-icon");return Object(l.b)(f)?Object(l.a)(f,{className:m()(f.props.className||"",S)}):f||(g?E?C.createElement(n.a,{className:"".concat(h,"-switcher-line-icon")}):C.createElement(s.a,{className:"".concat(h,"-switcher-line-icon")}):C.createElement(a.a,{className:S}))}},"2oIt":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},"2uGb":function(H,k,d){var _=d("ProS");d("ko1b"),d("s2lz"),d("RBEP");var x=d("kMLO"),C=d("nKiI");_.registerVisual(x),_.registerLayout(C)},"2w7y":function(H,k,d){var _=d("ProS");d("qMZE"),d("g0SD"),_.registerPreprocessor(function(x){x.markPoint=x.markPoint||{}})},"33Ds":function(H,k,d){var _=d("ProS"),x=d("b9oc"),C=d("Kagy"),A=d("IUWy"),b=C.toolbox.restore;function m(o){this.model=o}m.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:b.title};var p=m.prototype;p.onclick=function(o,r,i){x.clear(o),r.dispatchAction({type:"restore",from:this.uid})},A.register("restore",m),_.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(o,r){r.resetOption("recreate")});var c=m;H.exports=c},"34/K":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;function _(b,m){if(!(b instanceof m))throw new TypeError("Cannot call a class as a function")}function x(b,m){for(var p=0;p<m.length;p++){var c=m[p];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(b,c.key,c)}}function C(b,m,p){return m&&x(b.prototype,m),p&&x(b,p),b}var A=function(){function b(){_(this,b),this._lines=0}return C(b,[{key:"decodeRect",value:function(p,c,o,r,i,n,t){this._lines===0&&(this._lines=r);var s=t==8?1:4,e=o*s;if(i.rQwait("RAW",e))return!1;var a=c+(r-this._lines),l=Math.min(this._lines,Math.floor(i.rQlen/e)),u=i.rQ,h=i.rQi;if(t==8){for(var f=o*l,g=new Uint8Array(f*4),v=0;v<f;v++)g[v*4+0]=(u[h+v]>>0&3)*255/3,g[v*4+1]=(u[h+v]>>2&3)*255/3,g[v*4+2]=(u[h+v]>>4&3)*255/3,g[v*4+4]=0;u=g,h=0}return n.blitImage(p,a,o,l,u,h),i.rQskipBytes(l*e),this._lines-=l,!(this._lines>0)}}]),b}();k.default=A},"3690":function(H,k,d){"use strict";function _(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(i){return typeof i}:_=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_(o)}Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var x=A(d("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return C=function(){return o},o}function A(o){if(o&&o.__esModule)return o;if(o===null||_(o)!=="object"&&typeof o!="function")return{default:o};var r=C();if(r&&r.has(o))return r.get(o);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in o)if(Object.prototype.hasOwnProperty.call(o,t)){var s=n?Object.getOwnPropertyDescriptor(o,t):null;s&&(s.get||s.set)?Object.defineProperty(i,t,s):i[t]=o[t]}return i.default=o,r&&r.set(o,i),i}function b(o,r){if(!(o instanceof r))throw new TypeError("Cannot call a class as a function")}function m(o,r){for(var i=0;i<r.length;i++){var n=r[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(o,n.key,n)}}function p(o,r,i){return r&&m(o.prototype,r),i&&m(o,i),o}var c=function(){function o(){b(this,o),this._tiles=0,this._lastsubencoding=0}return p(o,[{key:"decodeRect",value:function(i,n,t,s,e,a,l){for(this._tiles===0&&(this._tilesX=Math.ceil(t/16),this._tilesY=Math.ceil(s/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var u=1;if(e.rQwait("HEXTILE",u))return!1;var h=e.rQ,f=e.rQi,g=h[f];if(g>30)throw new Error("Illegal hextile subencoding (subencoding: "+g+")");var v=this._totalTiles-this._tiles,y=v%this._tilesX,E=Math.floor(v/this._tilesX),T=i+y*16,w=n+E*16,S=Math.min(16,i+t-T),I=Math.min(16,n+s-w);if(g&1)u+=S*I*4;else if(g&2&&(u+=4),g&4&&(u+=4),g&8){if(u++,e.rQwait("HEXTILE",u))return!1;var L=h[f+u-1];g&16?u+=L*(4+2):u+=L*2}if(e.rQwait("HEXTILE",u))return!1;if(f++,g===0)this._lastsubencoding&1?x.Debug(" Ignoring blank after RAW"):a.fillRect(T,w,S,I,this._background);else if(g&1)a.blitImage(T,w,S,I,h,f),f+=u-1;else{if(g&2&&(this._background=[h[f],h[f+1],h[f+2],h[f+3]],f+=4),g&4&&(this._foreground=[h[f],h[f+1],h[f+2],h[f+3]],f+=4),a.startTile(T,w,S,I,this._background),g&8){var O=h[f];f++;for(var N=0;N<O;N++){var R=void 0;g&16?(R=[h[f],h[f+1],h[f+2],h[f+3]],f+=4):R=this._foreground;var D=h[f];f++;var B=D>>4,M=D&15,U=h[f];f++;var F=(U>>4)+1,j=(U&15)+1;a.subTile(B,M,F,j,R)}}a.finishTile()}e.rQi=f,this._lastsubencoding=g,this._tiles--}return!0}}]),o}();k.default=c},"3C/r":function(H,k){var d=function(C,A){this.image=C,this.repeat=A,this.type="pattern"};d.prototype.getCanvasPattern=function(x){return x.createPattern(this.image,this.repeat||"repeat")};var _=d;H.exports=_},"3CBa":function(H,k,d){var _=d("hydK"),x=_.createElement,C=d("bYtY"),A=d("SUKs"),b=d("y+Vt"),m=d("Dagg"),p=d("dqUG"),c=d("DBLp"),o=d("sW+o"),r=d("n6Mw"),i=d("vKoX"),n=d("P47w"),t=n.path,s=n.image,e=n.text;function a(S){return parseInt(S,10)}function l(S){return S instanceof b?t:S instanceof m?s:S instanceof p?e:t}function u(S,I){return I&&S&&I.parentNode!==S}function h(S,I,L){if(u(S,I)&&L){var O=L.nextSibling;O?S.insertBefore(I,O):S.appendChild(I)}}function f(S,I){if(u(S,I)){var L=S.firstChild;L?S.insertBefore(I,L):S.appendChild(I)}}function g(S,I){I&&S&&I.parentNode===S&&S.removeChild(I)}function v(S){return S.__textSvgEl}function y(S){return S.__svgEl}var E=function(I,L,O,N){this.root=I,this.storage=L,this._opts=O=C.extend({},O||{});var R=x("svg");R.setAttribute("xmlns","http://www.w3.org/2000/svg"),R.setAttribute("version","1.1"),R.setAttribute("baseProfile","full"),R.style.cssText="user-select:none;position:absolute;left:0;top:0;";var D=x("g");R.appendChild(D);var B=x("g");R.appendChild(B),this.gradientManager=new o(N,B),this.clipPathManager=new r(N,B),this.shadowManager=new i(N,B);var M=document.createElement("div");M.style.cssText="overflow:hidden;position:relative",this._svgDom=R,this._svgRoot=B,this._backgroundRoot=D,this._viewport=M,I.appendChild(M),M.appendChild(R),this.resize(O.width,O.height),this._visibleList=[]};E.prototype={constructor:E,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var I=this.getViewportRoot();if(I)return{offsetLeft:I.offsetLeft||0,offsetTop:I.offsetTop||0}},refresh:function(){var I=this.storage.getDisplayList(!0);this._paintList(I)},setBackgroundColor:function(I){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var L=x("rect");L.setAttribute("width",this.getWidth()),L.setAttribute("height",this.getHeight()),L.setAttribute("x",0),L.setAttribute("y",0),L.setAttribute("id",0),L.style.fill=I,this._backgroundRoot.appendChild(L),this._backgroundNode=L},_paintList:function(I){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var L=this._svgRoot,O=this._visibleList,N=I.length,R=[],D;for(D=0;D<N;D++){var B=I[D],M=l(B),U=y(B)||v(B);B.invisible||(B.__dirty&&(M&&M.brush(B),this.clipPathManager.update(B),B.style&&(this.gradientManager.update(B.style.fill),this.gradientManager.update(B.style.stroke),this.shadowManager.update(U,B)),B.__dirty=!1),R.push(B))}var F=c(O,R),j;for(D=0;D<F.length;D++){var W=F[D];if(W.removed)for(var V=0;V<W.count;V++){var B=O[W.indices[V]],U=y(B),z=v(B);g(L,U),g(L,z)}}for(D=0;D<F.length;D++){var W=F[D];if(W.added)for(var V=0;V<W.count;V++){var B=R[W.indices[V]],U=y(B),z=v(B);j?h(L,U,j):f(L,U),U?h(L,z,U):j?h(L,z,j):f(L,z),h(L,z,U),j=z||U||j,this.gradientManager.addWithoutUpdate(U||z,B),this.shadowManager.addWithoutUpdate(U||z,B),this.clipPathManager.markUsed(B)}else if(!W.removed)for(var V=0;V<W.count;V++){var B=R[W.indices[V]],U=y(B),z=v(B),U=y(B),z=v(B);this.gradientManager.markUsed(B),this.gradientManager.addWithoutUpdate(U||z,B),this.shadowManager.markUsed(B),this.shadowManager.addWithoutUpdate(U||z,B),this.clipPathManager.markUsed(B),z&&h(L,z,U),j=U||z||j}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=R},_getDefs:function(I){var L=this._svgDom,O=L.getElementsByTagName("defs");if(O.length===0)if(I){var O=L.insertBefore(x("defs"),L.firstChild);return O.contains||(O.contains=function(R){var D=O.children;if(!D)return!1;for(var B=D.length-1;B>=0;--B)if(D[B]===R)return!0;return!1}),O}else return null;else return O[0]},resize:function(I,L){var O=this._viewport;O.style.display="none";var N=this._opts;if(I!=null&&(N.width=I),L!=null&&(N.height=L),I=this._getSize(0),L=this._getSize(1),O.style.display="",this._width!==I||this._height!==L){this._width=I,this._height=L;var R=O.style;R.width=I+"px",R.height=L+"px";var D=this._svgDom;D.setAttribute("width",I),D.setAttribute("height",L)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",I),this._backgroundNode.setAttribute("height",L))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(I){var L=this._opts,O=["width","height"][I],N=["clientWidth","clientHeight"][I],R=["paddingLeft","paddingTop"][I],D=["paddingRight","paddingBottom"][I];if(L[O]!=null&&L[O]!=="auto")return parseFloat(L[O]);var B=this.root,M=document.defaultView.getComputedStyle(B);return(B[N]||a(M[O])||a(B.style[O]))-(a(M[R])||0)-(a(M[D])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var I=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
\r<`));return"data:image/svg+xml;charset=UTF-8,"+I}};function T(S){return function(){A('In SVG mode painter not support method "'+S+'"')}}C.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(S){E.prototype[S]=T(S)});var w=E;H.exports=w},"3LNs":function(H,k,d){var _=d("bYtY"),x=d("Yl7c"),C=d("IwbS"),A=d("zTMp"),b=d("YH21"),m=d("iLNv"),p=d("4NO4"),c=p.makeInner,o=c(),r=_.clone,i=_.bind;function n(){}n.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(h,f,g,v){var y=f.get("value"),E=f.get("status");if(this._axisModel=h,this._axisPointerModel=f,this._api=g,!v&&this._lastValue===y&&this._lastStatus===E)return;this._lastValue=y,this._lastStatus=E;var T=this._group,w=this._handle;if(!E||E==="hide"){T&&T.hide(),w&&w.hide();return}T&&T.show(),w&&w.show();var S={};this.makeElOption(S,y,h,f,g);var I=S.graphicKey;I!==this._lastGraphicKey&&this.clear(g),this._lastGraphicKey=I;var L=this._moveAnimation=this.determineAnimation(h,f);if(!T)T=this._group=new C.Group,this.createPointerEl(T,S,h,f),this.createLabelEl(T,S,h,f),g.getZr().add(T);else{var O=_.curry(t,f,L);this.updatePointerEl(T,S,O,f),this.updateLabelEl(T,S,O,f)}l(T,f,!0),this._renderHandle(y)},remove:function(h){this.clear(h)},dispose:function(h){this.clear(h)},determineAnimation:function(h,f){var g=f.get("animation"),v=h.axis,y=v.type==="category",E=f.get("snap");if(!E&&!y)return!1;if(g==="auto"||g==null){var T=this.animationThreshold;if(y&&v.getBandWidth()>T)return!0;if(E){var w=A.getAxisInfo(h).seriesDataCount,S=v.getExtent();return Math.abs(S[0]-S[1])/w>T}return!1}return g===!0},makeElOption:function(h,f,g,v,y){},createPointerEl:function(h,f,g,v){var y=f.pointer;if(y){var E=o(h).pointerEl=new C[y.type](r(f.pointer));h.add(E)}},createLabelEl:function(h,f,g,v){if(f.label){var y=o(h).labelEl=new C.Rect(r(f.label));h.add(y),e(y,v)}},updatePointerEl:function(h,f,g){var v=o(h).pointerEl;v&&f.pointer&&(v.setStyle(f.pointer.style),g(v,{shape:f.pointer.shape}))},updateLabelEl:function(h,f,g,v){var y=o(h).labelEl;y&&(y.setStyle(f.label.style),g(y,{shape:f.label.shape,position:f.label.position}),e(y,v))},_renderHandle:function(h){if(this._dragging||!this.updateHandleTransform)return;var f=this._axisPointerModel,g=this._api.getZr(),v=this._handle,y=f.getModel("handle"),E=f.get("status");if(!y.get("show")||!E||E==="hide"){v&&g.remove(v),this._handle=null;return}var T;this._handle||(T=!0,v=this._handle=C.createIcon(y.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){b.stop(I.event)},onmousedown:i(this._onHandleDragMove,this,0,0),drift:i(this._onHandleDragMove,this),ondragend:i(this._onHandleDragEnd,this)}),g.add(v)),l(v,f,!1);var w=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];v.setStyle(y.getItemStyle(null,w));var S=y.get("size");_.isArray(S)||(S=[S,S]),v.attr("scale",[S[0]/2,S[1]/2]),m.createOrUpdate(this,"_doDispatchAxisPointer",y.get("throttle")||0,"fixRate"),this._moveHandleToValue(h,T)},_moveHandleToValue:function(h,f){t(this._axisPointerModel,!f&&this._moveAnimation,this._handle,a(this.getHandleTransform(h,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(h,f){var g=this._handle;if(!g)return;this._dragging=!0;var v=this.updateHandleTransform(a(g),[h,f],this._axisModel,this._axisPointerModel);this._payloadInfo=v,g.stopAnimation(),g.attr(a(v)),o(g).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var h=this._handle;if(!h)return;var f=this._payloadInfo,g=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:f.cursorPoint[0],y:f.cursorPoint[1],tooltipOption:f.tooltipOption,axesInfo:[{axisDim:g.axis.dim,axisIndex:g.componentIndex}]})},_onHandleDragEnd:function(h){this._dragging=!1;var f=this._handle;if(!f)return;var g=this._axisPointerModel.get("value");this._moveHandleToValue(g),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(h){this._lastValue=null,this._lastStatus=null;var f=h.getZr(),g=this._group,v=this._handle;f&&g&&(this._lastGraphicKey=null,g&&f.remove(g),v&&f.remove(v),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(h,f,g){return g=g||0,{x:h[g],y:h[1-g],width:f[g],height:f[1-g]}}},n.prototype.constructor=n;function t(h,f,g,v){s(o(g).lastProp,v)||(o(g).lastProp=v,f?C.updateProps(g,v,h):(g.stopAnimation(),g.attr(v)))}function s(h,f){if(_.isObject(h)&&_.isObject(f)){var g=!0;return _.each(f,function(v,y){g=g&&s(h[y],v)}),!!g}else return h===f}function e(h,f){h[f.get("label.show")?"show":"hide"]()}function a(h){return{position:h.position.slice(),rotation:h.rotation||0}}function l(h,f,g){var v=f.get("z"),y=f.get("zlevel");h&&h.traverse(function(E){E.type!=="group"&&(v!=null&&(E.z=v),y!=null&&(E.zlevel=y),E.silent=g)})}x.enableClassExtend(n);var u=n;H.exports=u},"3OrL":function(H,k,d){var _=d("bYtY"),x=d("6Ic6"),C=d("IwbS"),A=d("y+Vt"),b=["itemStyle"],m=["emphasis","itemStyle"],p=x.extend({type:"boxplot",render:function(t,s,e){var a=t.getData(),l=this.group,u=this._data;this._data||l.removeAll();var h=t.get("layout")==="horizontal"?1:0;a.diff(u).add(function(f){if(a.hasValue(f)){var g=a.getItemLayout(f),v=o(g,a,f,h,!0);a.setItemGraphicEl(f,v),l.add(v)}}).update(function(f,g){var v=u.getItemGraphicEl(g);if(!a.hasValue(f)){l.remove(v);return}var y=a.getItemLayout(f);v?r(y,v,a,f):v=o(y,a,f,h),l.add(v),a.setItemGraphicEl(f,v)}).remove(function(f){var g=u.getItemGraphicEl(f);g&&l.remove(g)}).execute(),this._data=a},remove:function(t){var s=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(a){a&&s.remove(a)})},dispose:_.noop}),c=A.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,s){var e=s.points,a=0;for(t.moveTo(e[a][0],e[a][1]),a++;a<4;a++)t.lineTo(e[a][0],e[a][1]);for(t.closePath();a<e.length;a++)t.moveTo(e[a][0],e[a][1]),a++,t.lineTo(e[a][0],e[a][1])}});function o(t,s,e,a,l){var u=t.ends,h=new c({shape:{points:l?i(u,a,t):u}});return r(t,h,s,e,l),h}function r(t,s,e,a,l){var u=e.hostModel,h=C[l?"initProps":"updateProps"];h(s,{shape:{points:t.ends}},u,a);var f=e.getItemModel(a),g=f.getModel(b),v=e.getItemVisual(a,"color"),y=g.getItemStyle(["borderColor"]);y.stroke=v,y.strokeNoScale=!0,s.useStyle(y),s.z2=100;var E=f.getModel(m).getItemStyle();C.setHoverStyle(s,E)}function i(t,s,e){return _.map(t,function(a){return a=a.slice(),a[s]=e.initBaseline,a})}var n=p;H.exports=n},"3S7+":function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("J4zp"),A=d.n(C),b=d("pVnL"),m=d.n(b),p=d("q1tI"),c=d("U8pU"),o=d("VTBJ"),r=d("Ff2n"),i=d("uciX"),n={adjustX:1,adjustY:1},t=[0,0],s={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:t},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:t},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:t},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:t},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:t},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:t},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:t},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:t},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:t},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:t},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:t},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:t}},e=s,a=function(F){var j=F.overlay,W=F.prefixCls,V=F.id,z=F.overlayInnerStyle;return p.createElement("div",{className:"".concat(W,"-inner"),id:V,role:"tooltip",style:z},typeof j=="function"?j():j)},l=a,u=function(F,j){var W=F.overlayClassName,V=F.trigger,z=V===void 0?["hover"]:V,Y=F.mouseEnterDelay,J=Y===void 0?0:Y,ie=F.mouseLeaveDelay,Z=ie===void 0?.1:ie,oe=F.overlayStyle,ge=F.prefixCls,pe=ge===void 0?"rc-tooltip":ge,De=F.children,ce=F.onVisibleChange,Oe=F.afterVisibleChange,se=F.transitionName,$=F.animation,ze=F.placement,re=ze===void 0?"right":ze,X=F.align,G=X===void 0?{}:X,Q=F.destroyTooltipOnHide,ve=Q===void 0?!1:Q,de=F.defaultVisible,Ce=F.getTooltipContainer,we=F.overlayInnerStyle,le=Object(r.a)(F,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),fe=Object(p.useRef)(null);Object(p.useImperativeHandle)(j,function(){return fe.current});var xe=Object(o.a)({},le);"visible"in F&&(xe.popupVisible=F.visible);var We=function(){var Qe=F.arrowContent,gt=Qe===void 0?null:Qe,wt=F.overlay,Et=F.id;return[p.createElement("div",{className:"".concat(pe,"-arrow"),key:"arrow"},gt),p.createElement(l,{key:"content",prefixCls:pe,id:Et,overlay:wt,overlayInnerStyle:we})]},nt=!1,$e=!1;if(typeof ve=="boolean")nt=ve;else if(ve&&Object(c.a)(ve)==="object"){var Le=ve.keepParent;nt=Le===!0,$e=Le===!1}return p.createElement(i.a,Object.assign({popupClassName:W,prefixCls:pe,popup:We,action:z,builtinPlacements:s,popupPlacement:re,ref:fe,popupAlign:G,getPopupContainer:Ce,onPopupVisibleChange:ce,afterPopupVisibleChange:Oe,popupTransitionName:se,popupAnimation:$,defaultPopupVisible:de,destroyPopupOnHide:nt,autoDestroy:$e,mouseLeaveDelay:Z,popupStyle:oe,mouseEnterDelay:J},xe),De)},h=Object(p.forwardRef)(u),f=h,g=d("TSYQ"),v=d.n(g),y={adjustX:1,adjustY:1},E={adjustX:0,adjustY:0},T=[0,0];function w(U){return typeof U=="boolean"?U?y:E:m()(m()({},E),U)}function S(U){var F=U.arrowWidth,j=F===void 0?5:F,W=U.horizontalArrowShift,V=W===void 0?16:W,z=U.verticalArrowShift,Y=z===void 0?8:z,J=U.autoAdjustOverflow,ie={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:[-(V+j),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(Y+j)]},topRight:{points:["br","tc"],offset:[V+j,-4]},rightTop:{points:["tl","cr"],offset:[4,-(Y+j)]},bottomRight:{points:["tr","bc"],offset:[V+j,4]},rightBottom:{points:["bl","cr"],offset:[4,Y+j]},bottomLeft:{points:["tl","bc"],offset:[-(V+j),4]},leftBottom:{points:["br","cl"],offset:[-4,Y+j]}};return Object.keys(ie).forEach(function(Z){ie[Z]=U.arrowPointAtCenter?m()(m()({},ie[Z]),{overflow:w(J),targetOffset:T}):m()(m()({},s[Z]),{overflow:w(J)}),ie[Z].ignoreShake=!0}),ie}var I=d("0n0R"),L=d("H84U"),O=d("09Wf"),N=function(F,j){var W={},V=m()({},F);return j.forEach(function(z){F&&z in F&&(W[z]=F[z],delete V[z])}),{picked:W,omitted:V}},R=new RegExp("^(".concat(O.a.join("|"),")(-inverse)?$"));function D(U,F){var j=U.type;if((j.__ANT_BUTTON===!0||j.__ANT_SWITCH===!0||j.__ANT_CHECKBOX===!0||U.type==="button")&&U.props.disabled){var W=N(U.props.style,["position","left","right","top","bottom","float","display","zIndex"]),V=W.picked,z=W.omitted,Y=m()(m()({display:"inline-block"},V),{cursor:"not-allowed",width:U.props.block?"100%":null}),J=m()(m()({},z),{pointerEvents:"none"}),ie=Object(I.a)(U,{style:J,className:null});return p.createElement("span",{style:Y,className:v()(U.props.className,"".concat(F,"-disabled-compatible-wrapper"))},ie)}return U}var B=p.forwardRef(function(U,F){var j,W=p.useContext(L.b),V=W.getPopupContainer,z=W.getPrefixCls,Y=W.direction,J=p.useState(!!U.visible||!!U.defaultVisible),ie=A()(J,2),Z=ie[0],oe=ie[1];p.useEffect(function(){"visible"in U&&oe(U.visible)},[U.visible]);var ge=function(){var Le=U.title,pt=U.overlay;return!Le&&!pt&&Le!==0},pe=function(Le){"visible"in U||oe(ge()?!1:Le),U.onVisibleChange&&!ge()&&U.onVisibleChange(Le)},De=function(){var Le=U.builtinPlacements,pt=U.arrowPointAtCenter,Qe=U.autoAdjustOverflow;return Le||S({arrowPointAtCenter:pt,autoAdjustOverflow:Qe})},ce=function(Le,pt){var Qe=De(),gt=Object.keys(Qe).filter(function(_t){return Qe[_t].points[0]===pt.points[0]&&Qe[_t].points[1]===pt.points[1]})[0];if(!gt)return;var wt=Le.getBoundingClientRect(),Et={top:"50%",left:"50%"};gt.indexOf("top")>=0||gt.indexOf("Bottom")>=0?Et.top="".concat(wt.height-pt.offset[1],"px"):(gt.indexOf("Top")>=0||gt.indexOf("bottom")>=0)&&(Et.top="".concat(-pt.offset[1],"px")),gt.indexOf("left")>=0||gt.indexOf("Right")>=0?Et.left="".concat(wt.width-pt.offset[0],"px"):(gt.indexOf("right")>=0||gt.indexOf("Left")>=0)&&(Et.left="".concat(-pt.offset[0],"px")),Le.style.transformOrigin="".concat(Et.left," ").concat(Et.top)},Oe=function(){var Le=U.title,pt=U.overlay;return Le===0?Le:pt||Le||""},se=U.prefixCls,$=U.openClassName,ze=U.getPopupContainer,re=U.getTooltipContainer,X=U.overlayClassName,G=U.color,Q=U.overlayInnerStyle,ve=U.children,de=z("tooltip",se),Ce=Z;!("visible"in U)&&ge()&&(Ce=!1);var we=D(Object(I.b)(ve)?ve:p.createElement("span",null,ve),de),le=we.props,fe=v()(le.className,x()({},$||"".concat(de,"-open"),!0)),xe=v()(X,(j={},x()(j,"".concat(de,"-rtl"),Y==="rtl"),x()(j,"".concat(de,"-").concat(G),G&&R.test(G)),j)),We,nt;return G&&!R.test(G)&&(We=m()(m()({},Q),{background:G}),nt={background:G}),p.createElement(f,m()({},U,{prefixCls:de,overlayClassName:xe,getTooltipContainer:ze||re||V,ref:F,builtinPlacements:De(),overlay:Oe(),visible:Ce,onVisibleChange:pe,onPopupAlign:ce,overlayInnerStyle:We,arrowContent:p.createElement("span",{className:"".concat(de,"-arrow-content"),style:nt})}),Ce?Object(I.a)(we,{className:fe}):we)});B.displayName="Tooltip",B.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var M=k.a=B},"3TkU":function(H,k,d){d("aTJb"),d("OlYY"),d("fc+c"),d("QUw5"),d("Swgg"),d("LBfv"),d("noeP")},"3X6L":function(H,k,d){var _=d("bYtY"),x=d("7a+S"),C=d("OKJ2"),A=x.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:[]}});_.mixin(A,C);var b=A;H.exports=b},"3e3G":function(H,k,d){var _=d("bYtY"),x=d("QuXc"),C=function(m,p,c,o,r){this.x=m==null?.5:m,this.y=p==null?.5:p,this.r=c==null?.5:c,this.type="radial",this.global=r||!1,x.call(this,o)};C.prototype={constructor:C},_.inherits(C,x);var A=C;H.exports=A},"3gBT":function(H,k){var d=2311;function _(){return d++}H.exports=_},"3hzK":function(H,k){var d={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};H.exports=d},"3m61":function(H,k){function d(x){return x instanceof Array||(x=[x,x]),x}function _(x){x.eachSeriesByType("graph",function(C){var A=C.getGraph(),b=C.getEdgeData(),m=d(C.get("edgeSymbol")),p=d(C.get("edgeSymbolSize")),c="lineStyle.color".split("."),o="lineStyle.opacity".split(".");b.setVisual("fromSymbol",m&&m[0]),b.setVisual("toSymbol",m&&m[1]),b.setVisual("fromSymbolSize",p&&p[0]),b.setVisual("toSymbolSize",p&&p[1]),b.setVisual("color",C.get(c)),b.setVisual("opacity",C.get(o)),b.each(function(r){var i=b.getItemModel(r),n=A.getEdgeByIndex(r),t=d(i.getShallow("symbol",!0)),s=d(i.getShallow("symbolSize",!0)),e=i.get(c),a=i.get(o);switch(e){case"source":e=n.node1.getVisual("color");break;case"target":e=n.node2.getVisual("color");break}t[0]&&n.setVisual("fromSymbol",t[0]),t[1]&&n.setVisual("toSymbol",t[1]),s[0]&&n.setVisual("fromSymbolSize",s[0]),s[1]&&n.setVisual("toSymbolSize",s[1]),n.setVisual("color",e),n.setVisual("opacity",a)})})}H.exports=_},"3ouR":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="CloseSquareOutlined";var p=k.a=x.forwardRef(m)},"3y9D":function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.WordArray,b=C.Hasher,m=x.algo,p=[],c=m.SHA1=b.extend({_doReset:function(){this._hash=new A.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,i){for(var n=this._hash.words,t=n[0],s=n[1],e=n[2],a=n[3],l=n[4],u=0;u<80;u++){if(u<16)p[u]=r[i+u]|0;else{var h=p[u-3]^p[u-8]^p[u-14]^p[u-16];p[u]=h<<1|h>>>31}var f=(t<<5|t>>>27)+l+p[u];u<20?f+=(s&e|~s&a)+1518500249:u<40?f+=(s^e^a)+1859775393:u<60?f+=(s&e|s&a|e&a)-1894007588:f+=(s^e^a)-899497514,l=a,a=e,e=s<<30|s>>>2,s=t,t=f}n[0]=n[0]+t|0,n[1]=n[1]+s|0,n[2]=n[2]+e|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0},_doFinalize:function(){var r=this._data,i=r.words,n=this._nDataBytes*8,t=r.sigBytes*8;return i[t>>>5]|=128<<24-t%32,i[(t+64>>>9<<4)+14]=Math.floor(n/4294967296),i[(t+64>>>9<<4)+15]=n,r.sigBytes=i.length*4,this._process(),this._hash},clone:function(){var r=b.clone.call(this);return r._hash=this._hash.clone(),r}});x.SHA1=b._createHelper(c),x.HmacSHA1=b._createHmacHelper(c)}(),_.SHA1})},"3zoK":function(H,k,d){var _=d("bYtY"),x=d("bLfw"),C=d("KCsZ"),A=d("nkfE"),b=d("OELB"),m=d("ICMv"),p=x.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return C([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(i){var n=this.activeIntervals=_.clone(i);if(n)for(var t=n.length-1;t>=0;t--)b.asc(n[t])},getActiveState:function(i){var n=this.activeIntervals;if(!n.length)return"normal";if(i==null||isNaN(i))return"inactive";if(n.length===1){var t=n[0];if(t[0]<=i&&i<=t[1])return"active"}else for(var s=0,e=n.length;s<e;s++)if(n[s][0]<=i&&i<=n[s][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};_.merge(p.prototype,m);function o(i,n){return n.type||(n.data?"category":"value")}A("parallel",p,o,c);var r=p;H.exports=r},"4Feb":function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("IwbS"),b=d("x3X8"),m=b.getDefaultLabel,p=d("MwEJ"),c=d("nVfU"),o=c.getLayoutOnAxis,r=d("gPAo"),i=d("T4UG"),n=d("Qxkt"),t=d("6Ic6"),s=d("sK/D"),e=s.createClipPath,a=d("qj72"),l=d("ANjR"),u=d("MHtr"),h=d("6usn"),f=d("Rx6q"),g=A.CACHED_LABEL_STYLE_PROPERTIES,v=["itemStyle"],y=["emphasis","itemStyle"],E=["label"],T=["emphasis","label"],w="e\0\0",S={cartesian2d:a,geo:l,singleAxis:u,polar:h,calendar:f};i.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(Z,oe){return p(this.getSource(),this)},getDataParams:function(Z,oe,ge){var pe=i.prototype.getDataParams.apply(this,arguments);return ge&&(pe.info=ge.info),pe}}),t.extend({type:"custom",_data:null,render:function(Z,oe,ge,pe){var De=this._data,ce=Z.getData(),Oe=this.group,se=N(Z,ce,oe,ge);ce.diff(De).add(function(ze){D(null,ze,se(ze,pe),Z,Oe,ce)}).update(function(ze,re){var X=De.getItemGraphicEl(re);D(X,ze,se(ze,pe),Z,Oe,ce)}).remove(function(ze){var re=De.getItemGraphicEl(ze);re&&Oe.remove(re)}).execute();var $=Z.get("clip",!0)?e(Z.coordinateSystem,!1,Z):null;$?Oe.setClipPath($):Oe.removeClipPath(),this._data=ce},incrementalPrepareRender:function(Z,oe,ge){this.group.removeAll(),this._data=null},incrementalRender:function(Z,oe,ge,pe,De){var ce=oe.getData(),Oe=N(oe,ce,ge,pe);function se(re){re.isGroup||(re.incremental=!0,re.useHoverLayer=!0)}for(var $=Z.start;$<Z.end;$++){var ze=D(null,$,Oe($,De),oe,this.group,ce);ze.traverse(se)}},dispose:C.noop,filterForExposedEvent:function(Z,oe,ge,pe){var De=oe.element;if(De==null||ge.name===De)return!0;for(;(ge=ge.parent)&&ge!==this.group;)if(ge.name===De)return!0;return!1}});function I(Z){var oe=Z.type,ge;if(oe==="path"){var pe=Z.shape,De=pe.width!=null&&pe.height!=null?{x:pe.x||0,y:pe.y||0,width:pe.width,height:pe.height}:null,ce=Y(pe);ge=A.makePath(ce,null,De,pe.layout||"center"),ge.__customPathData=ce}else if(oe==="image")ge=new A.Image({}),ge.__customImagePath=Z.style.image;else if(oe==="text")ge=new A.Text({}),ge.__customText=Z.style.text;else if(oe==="group")ge=new A.Group;else{if(oe==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var Oe=A.getShapeClass(oe);ge=new Oe}return ge.__customGraphicType=oe,ge.name=Z.name,ge}function L(Z,oe,ge,pe,De,ce,Oe){var se={},$=ge.style||{};if(ge.shape&&(se.shape=C.clone(ge.shape)),ge.position&&(se.position=ge.position.slice()),ge.scale&&(se.scale=ge.scale.slice()),ge.origin&&(se.origin=ge.origin.slice()),ge.rotation&&(se.rotation=ge.rotation),Z.type==="image"&&ge.style){var ze=se.style={};C.each(["x","y","width","height"],function(G){O(G,ze,$,Z.style,ce)})}if(Z.type==="text"&&ge.style){var ze=se.style={};C.each(["x","y"],function(Q){O(Q,ze,$,Z.style,ce)}),!$.hasOwnProperty("textFill")&&$.fill&&($.textFill=$.fill),!$.hasOwnProperty("textStroke")&&$.stroke&&($.textStroke=$.stroke)}if(Z.type!=="group"&&(Z.useStyle($),ce)){Z.style.opacity=0;var re=$.opacity;re==null&&(re=1),A.initProps(Z,{style:{opacity:re}},pe,oe)}ce?Z.attr(se):A.updateProps(Z,se,pe,oe),ge.hasOwnProperty("z2")&&Z.attr("z2",ge.z2||0),ge.hasOwnProperty("silent")&&Z.attr("silent",ge.silent),ge.hasOwnProperty("invisible")&&Z.attr("invisible",ge.invisible),ge.hasOwnProperty("ignore")&&Z.attr("ignore",ge.ignore),ge.hasOwnProperty("info")&&Z.attr("info",ge.info);var X=ge.styleEmphasis;A.setElementHoverStyle(Z,X),Oe&&A.setAsHighDownDispatcher(Z,X!==!1)}function O(Z,oe,ge,pe,De){ge[Z]!=null&&!De&&(oe[Z]=ge[Z],ge[Z]=pe[Z])}function N(Z,oe,ge,pe){var De=Z.get("renderItem"),ce=Z.coordinateSystem,Oe={};ce&&(Oe=ce.prepareCustoms?ce.prepareCustoms():S[ce.type](ce));var se=C.defaults({getWidth:pe.getWidth,getHeight:pe.getHeight,getZr:pe.getZr,getDevicePixelRatio:pe.getDevicePixelRatio,value:Ce,style:we,styleEmphasis:le,visual:fe,barLayout:xe,currentSeriesIndices:We,font:nt},Oe.api||{}),$={context:{},seriesId:Z.id,seriesName:Z.name,seriesIndex:Z.seriesIndex,coordSys:Oe.coordSys,dataInsideLength:oe.count(),encode:R(Z.getData())},ze,re=!0,X,G,Q,ve;return function($e,Le){return ze=$e,re=!0,De&&De(C.defaults({dataIndexInside:$e,dataIndex:oe.getRawIndex($e),actionType:Le?Le.type:null},$),se)};function de($e){$e==null&&($e=ze),re&&(X=oe.getItemModel($e),G=X.getModel(E),Q=X.getModel(T),ve=oe.getItemVisual($e,"color"),re=!1)}function Ce($e,Le){return Le==null&&(Le=ze),oe.get(oe.getDimension($e||0),Le)}function we($e,Le){Le==null&&(Le=ze),de(Le);var pt=X.getModel(v).getItemStyle();ve!=null&&(pt.fill=ve);var Qe=oe.getItemVisual(Le,"opacity");Qe!=null&&(pt.opacity=Qe);var gt=$e?W($e,G):G;return A.setTextStyle(pt,gt,null,{autoColor:ve,isRectText:!0}),pt.text=gt.getShallow("show")?C.retrieve2(Z.getFormattedLabel(Le,"normal"),m(oe,Le)):null,$e&&V(pt,$e),pt}function le($e,Le){Le==null&&(Le=ze),de(Le);var pt=X.getModel(y).getItemStyle(),Qe=$e?W($e,Q):Q;return A.setTextStyle(pt,Qe,null,{isRectText:!0},!0),pt.text=Qe.getShallow("show")?C.retrieve3(Z.getFormattedLabel(Le,"emphasis"),Z.getFormattedLabel(Le,"normal"),m(oe,Le)):null,$e&&V(pt,$e),pt}function fe($e,Le){return Le==null&&(Le=ze),oe.getItemVisual(Le,$e)}function xe($e){if(ce.getBaseAxis){var Le=ce.getBaseAxis();return o(C.defaults({axis:Le},$e),pe)}}function We(){return ge.getCurrentSeriesIndices()}function nt($e){return A.getFont($e,ge)}}function R(Z){var oe={};return C.each(Z.dimensions,function(ge,pe){var De=Z.getDimensionInfo(ge);if(!De.isExtraCoord){var ce=De.coordDim,Oe=oe[ce]=oe[ce]||[];Oe[De.coordDimIndex]=pe}}),oe}function D(Z,oe,ge,pe,De,ce){return Z=B(Z,oe,ge,pe,De,ce,!0),Z&&ce.setItemGraphicEl(oe,Z),Z}function B(Z,oe,ge,pe,De,ce,Oe){var se=!ge;ge=ge||{};var $=ge.type,ze=ge.shape,re=ge.style;if(Z&&(se||$!=null&&$!==Z.__customGraphicType||$==="path"&&J(ze)&&Y(ze)!==Z.__customPathData||$==="image"&&ie(re,"image")&&re.image!==Z.__customImagePath||$==="text"&&ie(ze,"text")&&re.text!==Z.__customText)&&(De.remove(Z),Z=null),se)return;var X=!Z;return!Z&&(Z=I(ge)),L(Z,oe,ge,pe,ce,X,Oe),$==="group"&&M(Z,oe,ge,pe,ce),De.add(Z),Z}function M(Z,oe,ge,pe,De){var ce=ge.children,Oe=ce?ce.length:0,se=ge.$mergeChildren,$=se==="byName"||ge.diffChildrenByName,ze=se===!1;if(!Oe&&!$&&!ze)return;if($){U({oldChildren:Z.children()||[],newChildren:ce||[],dataIndex:oe,animatableModel:pe,group:Z,data:De});return}ze&&Z.removeAll();for(var re=0;re<Oe;re++)ce[re]&&B(Z.childAt(re),oe,ce[re],pe,Z,De)}function U(Z){new r(Z.oldChildren,Z.newChildren,F,F,Z).add(j).update(j).remove(z).execute()}function F(Z,oe){var ge=Z&&Z.name;return ge!=null?ge:w+oe}function j(Z,oe){var ge=this.context,pe=Z!=null?ge.newChildren[Z]:null,De=oe!=null?ge.oldChildren[oe]:null;B(De,ge.dataIndex,pe,ge.animatableModel,ge.group,ge.data)}function W(Z,oe){var ge=new n({},oe);return C.each(g,function(pe,De){Z.hasOwnProperty(pe)&&(ge.option[De]=Z[pe])}),ge}function V(Z,oe){for(var ge in oe)(oe.hasOwnProperty(ge)||!g.hasOwnProperty(ge))&&(Z[ge]=oe[ge])}function z(Z){var oe=this.context,ge=oe.oldChildren[Z];ge&&oe.group.remove(ge)}function Y(Z){return Z&&(Z.pathData||Z.d)}function J(Z){return Z&&(Z.hasOwnProperty("pathData")||Z.hasOwnProperty("d"))}function ie(Z,oe){return Z&&Z.hasOwnProperty(oe)}},"4HMb":function(H,k,d){var _=d("bYtY"),x=d("6GrX"),C=d("4NO4"),A=C.makeInner,b=d("aX7z"),m=b.makeLabelFormatter,p=b.getOptionCategoryInterval,c=b.shouldShowAllLabels,o=A();function r(E){return E.type==="category"?n(E):e(E)}function i(E,T){return E.type==="category"?s(E,T):{ticks:E.scale.getTicks()}}function n(E){var T=E.getLabelModel(),w=t(E,T);return!T.get("show")||E.scale.isBlank()?{labels:[],labelCategoryInterval:w.labelCategoryInterval}:w}function t(E,T){var w=a(E,"labels"),S=p(T),I=l(w,S);if(I)return I;var L,O;return _.isFunction(S)?L=y(E,S):(O=S==="auto"?h(E):S,L=v(E,O)),u(w,S,{labels:L,labelCategoryInterval:O})}function s(E,T){var w=a(E,"ticks"),S=p(T),I=l(w,S);if(I)return I;var L,O;if((!T.get("show")||E.scale.isBlank())&&(L=[]),_.isFunction(S))L=y(E,S,!0);else if(S==="auto"){var N=t(E,E.getLabelModel());O=N.labelCategoryInterval,L=_.map(N.labels,function(R){return R.tickValue})}else O=S,L=v(E,O,!0);return u(w,S,{ticks:L,tickCategoryInterval:O})}function e(E){var T=E.scale.getTicks(),w=m(E);return{labels:_.map(T,function(S,I){return{formattedLabel:w(S,I),rawLabel:E.scale.getLabel(S),tickValue:S}})}}function a(E,T){return o(E)[T]||(o(E)[T]=[])}function l(E,T){for(var w=0;w<E.length;w++)if(E[w].key===T)return E[w].value}function u(E,T,w){return E.push({key:T,value:w}),w}function h(E){var T=o(E).autoInterval;return T!=null?T:o(E).autoInterval=E.calculateCategoryInterval()}function f(E){var T=g(E),w=m(E),S=(T.axisRotate-T.labelRotate)/180*Math.PI,I=E.scale,L=I.getExtent(),O=I.count();if(L[1]-L[0]<1)return 0;var N=1;O>40&&(N=Math.max(1,Math.floor(O/40)));for(var R=L[0],D=E.dataToCoord(R+1)-E.dataToCoord(R),B=Math.abs(D*Math.cos(S)),M=Math.abs(D*Math.sin(S)),U=0,F=0;R<=L[1];R+=N){var j=0,W=0,V=x.getBoundingRect(w(R),T.font,"center","top");j=V.width*1.3,W=V.height*1.3,U=Math.max(U,j,7),F=Math.max(F,W,7)}var z=U/B,Y=F/M;isNaN(z)&&(z=Infinity),isNaN(Y)&&(Y=Infinity);var J=Math.max(0,Math.floor(Math.min(z,Y))),ie=o(E.model),Z=E.getExtent(),oe=ie.lastAutoInterval,ge=ie.lastTickCount;return oe!=null&&ge!=null&&Math.abs(oe-J)<=1&&Math.abs(ge-O)<=1&&oe>J&&ie.axisExtend0===Z[0]&&ie.axisExtend1===Z[1]?J=oe:(ie.lastTickCount=O,ie.lastAutoInterval=J,ie.axisExtend0=Z[0],ie.axisExtend1=Z[1]),J}function g(E){var T=E.getLabelModel();return{axisRotate:E.getRotate?E.getRotate():E.isHorizontal&&!E.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function v(E,T,w){var S=m(E),I=E.scale,L=I.getExtent(),O=E.getLabelModel(),N=[],R=Math.max((T||0)+1,1),D=L[0],B=I.count();D!==0&&R>1&&B/R>2&&(D=Math.round(Math.ceil(D/R)*R));var M=c(E),U=O.get("showMinLabel")||M,F=O.get("showMaxLabel")||M;U&&D!==L[0]&&W(L[0]);for(var j=D;j<=L[1];j+=R)W(j);F&&j-R!==L[1]&&W(L[1]);function W(V){N.push(w?V:{formattedLabel:S(V),rawLabel:I.getLabel(V),tickValue:V})}return N}function y(E,T,w){var S=E.scale,I=m(E),L=[];return _.each(S.getTicks(),function(O){var N=S.getLabel(O);T(O,N)&&L.push(w?O:{formattedLabel:I(O),rawLabel:N,tickValue:O})}),L}k.createAxisLabels=r,k.createAxisTicks=i,k.calculateCategoryInterval=f},"4NO4":function(H,k,d){var _=d("bYtY"),x=d("ItGF"),C=_.each,A=_.isObject,b=_.isArray,m="series\0";function p(w){return w instanceof Array?w:w==null?[]:[w]}function c(w,S,I){if(w){w[S]=w[S]||{},w.emphasis=w.emphasis||{},w.emphasis[S]=w.emphasis[S]||{};for(var L=0,O=I.length;L<O;L++){var N=I[L];!w.emphasis[S].hasOwnProperty(N)&&w[S].hasOwnProperty(N)&&(w.emphasis[S][N]=w[S][N])}}}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 r(w){return A(w)&&!b(w)&&!(w instanceof Date)?w.value:w}function i(w){return A(w)&&!(w instanceof Array)}function n(w,S){S=(S||[]).slice();var I=_.map(w||[],function(L,O){return{exist:L}});return C(S,function(L,O){if(!A(L))return;for(var N=0;N<I.length;N++)if(!I[N].option&&L.id!=null&&I[N].exist.id===L.id+""){I[N].option=L,S[O]=null;return}for(var N=0;N<I.length;N++){var R=I[N].exist;if(!I[N].option&&(R.id==null||L.id==null)&&L.name!=null&&!e(L)&&!e(R)&&R.name===L.name+""){I[N].option=L,S[O]=null;return}}}),C(S,function(L,O){if(!A(L))return;for(var N=0;N<I.length;N++){var R=I[N].exist;if(!I[N].option&&!e(R)&&L.id==null){I[N].option=L;break}}N>=I.length&&I.push({option:L})}),I}function t(w){var S=_.createHashMap();C(w,function(I,L){var O=I.exist;O&&S.set(O.id,I)}),C(w,function(I,L){var O=I.option;_.assert(!O||O.id==null||!S.get(O.id)||S.get(O.id)===I,"id duplicates: "+(O&&O.id)),O&&O.id!=null&&S.set(O.id,I),!I.keyInfo&&(I.keyInfo={})}),C(w,function(I,L){var O=I.exist,N=I.option,R=I.keyInfo;if(!A(N))return;if(R.name=N.name!=null?N.name+"":O?O.name:m+L,O)R.id=O.id;else if(N.id!=null)R.id=N.id+"";else{var D=0;do R.id="\0"+R.name+"\0"+D++;while(S.get(R.id))}S.set(R.id,I)})}function s(w){var S=w.name;return!!(S&&S.indexOf(m))}function e(w){return A(w)&&w.id&&(w.id+"").indexOf("\0_ec_\0")===0}function a(w,S){var I={},L={};return O(w||[],I),O(S||[],L,I),[N(I),N(L)];function O(R,D,B){for(var M=0,U=R.length;M<U;M++)for(var F=R[M].seriesId,j=p(R[M].dataIndex),W=B&&B[F],V=0,z=j.length;V<z;V++){var Y=j[V];W&&W[Y]?W[Y]=null:(D[F]||(D[F]={}))[Y]=1}}function N(R,D){var B=[];for(var M in R)if(R.hasOwnProperty(M)&&R[M]!=null)if(D)B.push(+M);else{var U=N(R[M],!0);U.length&&B.push({seriesId:M,dataIndex:U})}return B}}function l(w,S){if(S.dataIndexInside!=null)return S.dataIndexInside;if(S.dataIndex!=null)return _.isArray(S.dataIndex)?_.map(S.dataIndex,function(I){return w.indexOfRawIndex(I)}):w.indexOfRawIndex(S.dataIndex);if(S.name!=null)return _.isArray(S.name)?_.map(S.name,function(I){return w.indexOfName(I)}):w.indexOfName(S.name)}function u(){var w="__\0ec_inner_"+h+++"_"+Math.random().toFixed(5);return function(S){return S[w]||(S[w]={})}}var h=0;function f(w,S,I){if(_.isString(S)){var L={};L[S+"Index"]=0,S=L}var O=I&&I.defaultMainType;O&&!g(S,O+"Index")&&!g(S,O+"Id")&&!g(S,O+"Name")&&(S[O+"Index"]=0);var N={};return C(S,function(R,D){var R=S[D];if(D==="dataIndex"||D==="dataIndexInside"){N[D]=R;return}var B=D.match(/^(\w+)(Index|Id|Name)$/)||[],M=B[1],U=(B[2]||"").toLowerCase();if(!M||!U||R==null||U==="index"&&R==="none"||I&&I.includeMainTypes&&_.indexOf(I.includeMainTypes,M)<0)return;var F={mainType:M};(U!=="index"||R!=="all")&&(F[U]=R);var j=w.queryComponents(F);N[M+"Models"]=j,N[M+"Model"]=j[0]}),N}function g(w,S){return w&&w.hasOwnProperty(S)}function v(w,S,I){w.setAttribute?w.setAttribute(S,I):w[S]=I}function y(w,S){return w.getAttribute?w.getAttribute(S):w[S]}function E(w){return w==="auto"?x.domSupported?"html":"richText":w||"html"}function T(w,S){var I=_.createHashMap(),L=[];return _.each(w,function(O){var N=S(O);(I.get(N)||(L.push(N),I.set(N,[]))).push(O)}),{keys:L,buckets:I}}k.normalizeToArray=p,k.defaultEmphasis=c,k.TEXT_STYLE_OPTIONS=o,k.getDataItemValue=r,k.isDataItemOption=i,k.mappingToExists=n,k.makeIdAndName=t,k.isNameSpecified=s,k.isIdInner=e,k.compressBatches=a,k.queryDataIndex=l,k.makeInner=u,k.parseFinder=f,k.setAttribute=v,k.getAttribute=y,k.getTooltipRenderMode=E,k.groupData=T},"4NgU":function(H,k,d){var _=d("Yl7c");function x(A){this._setting=A||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}x.prototype.parse=function(A){return A},x.prototype.getSetting=function(A){return this._setting[A]},x.prototype.contain=function(A){var b=this._extent;return A>=b[0]&&A<=b[1]},x.prototype.normalize=function(A){var b=this._extent;return b[1]===b[0]?.5:(A-b[0])/(b[1]-b[0])},x.prototype.scale=function(A){var b=this._extent;return A*(b[1]-b[0])+b[0]},x.prototype.unionExtent=function(A){var b=this._extent;A[0]<b[0]&&(b[0]=A[0]),A[1]>b[1]&&(b[1]=A[1])},x.prototype.unionExtentFromData=function(A,b){this.unionExtent(A.getApproximateExtent(b))},x.prototype.getExtent=function(){return this._extent.slice()},x.prototype.setExtent=function(A,b){var m=this._extent;isNaN(A)||(m[0]=A),isNaN(b)||(m[1]=b)},x.prototype.isBlank=function(){return this._isBlank},x.prototype.setBlank=function(A){this._isBlank=A},x.prototype.getLabel=null,_.enableClassExtend(x),_.enableClassManagement(x,{registerWhenExtend:!0});var C=x;H.exports=C},"4fz+":function(H,k,d){var _=d("bYtY"),x=d("1bdT"),C=d("mFDi"),A=function(p){p=p||{},x.call(this,p);for(var c in p)p.hasOwnProperty(c)&&(this[c]=p[c]);this._children=[],this.__storage=null,this.__dirty=!0};A.prototype={constructor:A,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(p){return this._children[p]},childOfName:function(p){for(var c=this._children,o=0;o<c.length;o++)if(c[o].name===p)return c[o]},childCount:function(){return this._children.length},add:function(p){return p&&p!==this&&p.parent!==this&&(this._children.push(p),this._doAdd(p)),this},addBefore:function(p,c){if(p&&p!==this&&p.parent!==this&&c&&c.parent===this){var o=this._children,r=o.indexOf(c);r>=0&&(o.splice(r,0,p),this._doAdd(p))}return this},_doAdd:function(p){p.parent&&p.parent.remove(p),p.parent=this;var c=this.__storage,o=this.__zr;c&&c!==p.__storage&&(c.addToStorage(p),p instanceof A&&p.addChildrenToStorage(c)),o&&o.refresh()},remove:function(p){var c=this.__zr,o=this.__storage,r=this._children,i=_.indexOf(r,p);return i<0?this:(r.splice(i,1),p.parent=null,o&&(o.delFromStorage(p),p instanceof A&&p.delChildrenFromStorage(o)),c&&c.refresh(),this)},removeAll:function(){var p=this._children,c=this.__storage,o,r;for(r=0;r<p.length;r++)o=p[r],c&&(c.delFromStorage(o),o instanceof A&&o.delChildrenFromStorage(c)),o.parent=null;return p.length=0,this},eachChild:function(p,c){for(var o=this._children,r=0;r<o.length;r++){var i=o[r];p.call(c,i,r)}return this},traverse:function(p,c){for(var o=0;o<this._children.length;o++){var r=this._children[o];p.call(c,r),r.type==="group"&&r.traverse(p,c)}return this},addChildrenToStorage:function(p){for(var c=0;c<this._children.length;c++){var o=this._children[c];p.addToStorage(o),o instanceof A&&o.addChildrenToStorage(p)}},delChildrenFromStorage:function(p){for(var c=0;c<this._children.length;c++){var o=this._children[c];p.delFromStorage(o),o instanceof A&&o.delChildrenFromStorage(p)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(p){for(var c=null,o=new C(0,0,0,0),r=p||this._children,i=[],n=0;n<r.length;n++){var t=r[n];if(t.ignore||t.invisible)continue;var s=t.getBoundingRect(),e=t.getLocalTransform(i);e?(o.copy(s),o.applyTransform(e),c=c||o.clone(),c.union(o)):(c=c||s.clone(),c.union(s))}return c||o}},_.inherits(A,x);var b=A;H.exports=b},"4i/N":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="CloseOutlined";var p=k.a=x.forwardRef(m)},"4mN7":function(H,k,d){var _=d("QBsz"),x=d("Sj9i"),C=Math.min,A=Math.max,b=Math.sin,m=Math.cos,p=Math.PI*2,c=_.create(),o=_.create(),r=_.create();function i(u,h,f){if(u.length===0)return;var g=u[0],v=g[0],y=g[0],E=g[1],T=g[1],w;for(w=1;w<u.length;w++)g=u[w],v=C(v,g[0]),y=A(y,g[0]),E=C(E,g[1]),T=A(T,g[1]);h[0]=v,h[1]=E,f[0]=y,f[1]=T}function n(u,h,f,g,v,y){v[0]=C(u,f),v[1]=C(h,g),y[0]=A(u,f),y[1]=A(h,g)}var t=[],s=[];function e(u,h,f,g,v,y,E,T,w,S){var I=x.cubicExtrema,L=x.cubicAt,O,N=I(u,f,v,E,t);for(w[0]=Infinity,w[1]=Infinity,S[0]=-Infinity,S[1]=-Infinity,O=0;O<N;O++){var R=L(u,f,v,E,t[O]);w[0]=C(R,w[0]),S[0]=A(R,S[0])}for(N=I(h,g,y,T,s),O=0;O<N;O++){var D=L(h,g,y,T,s[O]);w[1]=C(D,w[1]),S[1]=A(D,S[1])}w[0]=C(u,w[0]),S[0]=A(u,S[0]),w[0]=C(E,w[0]),S[0]=A(E,S[0]),w[1]=C(h,w[1]),S[1]=A(h,S[1]),w[1]=C(T,w[1]),S[1]=A(T,S[1])}function a(u,h,f,g,v,y,E,T){var w=x.quadraticExtremum,S=x.quadraticAt,I=A(C(w(u,f,v),1),0),L=A(C(w(h,g,y),1),0),O=S(u,f,v,I),N=S(h,g,y,L);E[0]=C(u,v,O),E[1]=C(h,y,N),T[0]=A(u,v,O),T[1]=A(h,y,N)}function l(u,h,f,g,v,y,E,T,w){var S=_.min,I=_.max,L=Math.abs(v-y);if(L%p<1e-4&&L>1e-4){T[0]=u-f,T[1]=h-g,w[0]=u+f,w[1]=h+g;return}if(c[0]=m(v)*f+u,c[1]=b(v)*g+h,o[0]=m(y)*f+u,o[1]=b(y)*g+h,S(T,c,o),I(w,c,o),v=v%p,v<0&&(v=v+p),y=y%p,y<0&&(y=y+p),v>y&&!E?y+=p:v<y&&E&&(v+=p),E){var O=y;y=v,v=O}for(var N=0;N<y;N+=Math.PI/2)N>v&&(r[0]=m(N)*f+u,r[1]=b(N)*g+h,S(T,r,T),I(w,r,w))}k.fromPoints=i,k.fromLine=n,k.fromCubic=e,k.fromQuadratic=a,k.fromArc=l},"4vCz":function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("X2/X")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="PlusSquareOutlined";var c=A.forwardRef(p);k.default=c},"4xFK":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},"56rv":function(H,k,d){var _=d("IwbS"),x=d("x3X8"),C=x.getDefaultLabel;function A(m,p,c,o,r,i,n){var t=c.getModel("label"),s=c.getModel("emphasis.label");_.setLabelStyle(m,p,t,s,{labelFetcher:r,labelDataIndex:i,defaultText:C(r.getData(),i),isRectText:!0,autoColor:o}),b(m),b(p)}function b(m,p){m.textPosition==="outside"&&(m.textPosition=p)}k.setLabel=A},"59Ip":function(H,k,d){var _=d("Sj9i");function x(C,A,b,m,p,c,o,r,i,n,t){if(i===0)return!1;var s=i;if(t>A+s&&t>m+s&&t>c+s&&t>r+s||t<A-s&&t<m-s&&t<c-s&&t<r-s||n>C+s&&n>b+s&&n>p+s&&n>o+s||n<C-s&&n<b-s&&n<p-s&&n<o-s)return!1;var e=_.cubicProjectPoint(C,A,b,m,p,c,o,r,n,t,null);return e<=s/2}k.containStroke=x},"5Dmo":function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("5YgA"),A=d.n(C)},"5GOC":function(H,k,d){"use strict";var _=d("cIOH"),x=d("b56q"),C=d("15/o")},"5GhG":function(H,k,d){var _=d("5GtS"),x=d("bYtY"),C=d("L0Ub"),A=C.getDimensionTypeByAxis,b=d("D5nY"),m=b.makeSeriesEncodeForAxisCoordSys,p={_baseAxisDim:null,getInitialData:function(c,o){var r,i=o.getComponent("xAxis",this.get("xAxisIndex")),n=o.getComponent("yAxis",this.get("yAxisIndex")),t=i.get("type"),s=n.get("type"),e;t==="category"?(c.layout="horizontal",r=i.getOrdinalMeta(),e=!0):s==="category"?(c.layout="vertical",r=n.getOrdinalMeta(),e=!0):c.layout=c.layout||"horizontal";var a=["x","y"],l=c.layout==="horizontal"?0:1,u=this._baseAxisDim=a[l],h=a[1-l],f=[i,n],g=f[l].get("type"),v=f[1-l].get("type"),y=c.data;if(y&&e){var E=[];x.each(y,function(S,I){var L;S.value&&x.isArray(S.value)?(L=S.value.slice(),S.value.unshift(I)):x.isArray(S)?(L=S.slice(),S.unshift(I)):L=S,E.push(L)}),c.data=E}var T=this.defaultValueDimensions,w=[{name:u,type:A(g),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:A(v),dimsDef:T.slice()}];return _(this,{coordDimensions:w,dimensionsCount:T.length+1,encodeDefaulter:x.curry(m,w,this)})},getBaseAxis:function(){var c=this._baseAxisDim;return this.ecModel.getComponent(c+"Axis",this.get(c+"AxisIndex")).axis}};k.seriesModelMixin=p},"5GtS":function(H,k,d){var _=d("sdST"),x=d("YXkt"),C=d("bYtY"),A=C.extend,b=C.isArray;function m(p,c,o){c=b(c)&&{coordDimensions:c}||A({},c);var r=p.getSource(),i=_(r,c),n=new x(i,p);return n.initData(r,o),n}H.exports=m},"5Hur":function(H,k,d){var _=d("4NO4"),x=_.makeInner,C=_.normalizeToArray,A=x();function b(p,c){for(var o=p.length,r=0;r<o;r++)if(p[r].length>c)return p[r];return p[o-1]}var m={clearColorPalette:function(){A(this).colorIdx=0,A(this).colorNameMap={}},getColorFromPalette:function(p,c,o){c=c||this;var r=A(c),i=r.colorIdx||0,n=r.colorNameMap=r.colorNameMap||{};if(n.hasOwnProperty(p))return n[p];var t=C(this.get("color",!0)),s=this.get("colorLayer",!0),e=o==null||!s?t:b(s,o);if(e=e||t,!e||!e.length)return;var a=e[i];return p&&(n[p]=a),r.colorIdx=(i+1)%e.length,a}};H.exports=m},"5NDa":function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("OnYD"),A=d.n(C),b=d("+L6B")},"5NHt":function(H,k,d){d("aTJb"),d("OlYY"),d("fc+c"),d("N5BQ"),d("IyUQ"),d("LBfv"),d("noeP")},"5OYt":function(H,k,d){"use strict";var _=d("J4zp"),x=d.n(_),C=d("q1tI"),A=d.n(C),b=d("ACnJ");function m(){var p=Object(C.useState)({}),c=x()(p,2),o=c[0],r=c[1];return Object(C.useEffect)(function(){var i=b.a.subscribe(function(n){r(n)});return function(){return b.a.unsubscribe(i)}},[]),o}k.a=m},"5RzL":function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("7W2i"),r=d.n(o),i=d("LQ03"),n=d.n(i),t=d("q1tI"),s=d("1OyB"),e=d("vuIU"),a=d("Ji7U"),l=d("LK+K"),u=d("KQm4"),h=d("U8pU"),f=d("ODXe"),g=d("VTBJ"),v=d("qNPg"),y=d("2Qr1"),E=d("815F"),T=d("NvD2"),w=d("wPlo"),S=d("6cGi"),I=d("Kwbf"),L=d("4IlW"),O=d("YrtM"),N=d("fAei"),R=t.createContext(null);function D(ut,Xt){if(!ut)return!0;var ur=ut.data,Fr=ur.disabled,er=ur.disableCheckbox;switch(Xt){case"select":return Fr;case"checkbox":return Fr||er}return!1}function B(ut,Xt){var ur=t.useCallback(function(er){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Lt=arguments.length>2?arguments[2]:void 0,at=ut.get(er);return!Lt&&D(at,nr)?null:at},[ut]),Fr=t.useCallback(function(er){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Lt=arguments.length>2?arguments[2]:void 0,at=Xt.get(er);return!Lt&&D(at,nr)?null:at},[Xt]);return[ur,Fr]}function M(ut){return t.useMemo(function(){var Xt=new Map,ur=new Map;return ut.forEach(function(Fr){Xt.set(Fr.key,Fr),ur.set(Fr.data.value,Fr)}),[Xt,ur]},[ut])}var U={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},F=function(Xt,ur){var Fr=Xt.prefixCls,er=Xt.height,nr=Xt.itemHeight,Lt=Xt.virtual,at=Xt.options,Je=Xt.flattenOptions,qt=Xt.multiple,Sr=Xt.searchValue,yr=Xt.onSelect,fr=Xt.onToggleOpen,yn=Xt.open,Jr=Xt.notFoundContent,Ln=Xt.onMouseEnter,Nt=t.useContext(R),Ve=Nt.checkable,_e=Nt.checkedKeys,ke=Nt.halfCheckedKeys,Pe=Nt.treeExpandedKeys,rt=Nt.treeDefaultExpandAll,Pt=Nt.treeDefaultExpandedKeys,Yt=Nt.onTreeExpand,kt=Nt.treeIcon,_r=Nt.showTreeIcon,Rr=Nt.switcherIcon,un=Nt.treeLine,Ut=Nt.treeNodeFilterProp,ht=Nt.loadData,ot=Nt.treeLoadedKeys,Wt=Nt.treeMotion,Jt=Nt.onTreeLoad,At=t.useRef(),Bt=Object(O.a)(function(){return at},[yn,at],function(Br,vr){return vr[0]&&Br[1]!==vr[1]}),mt=M(Je),Mt=Object(f.a)(mt,2),hr=Mt[0],or=Mt[1],ar=B(hr,or),Gr=Object(f.a)(ar,2),Yr=Gr[0],In=Gr[1],Nn=t.useMemo(function(){return _e.map(function(Br){var vr=In(Br);return vr?vr.key:null})},[_e]),Kn=t.useMemo(function(){return Ve?{checked:Nn,halfChecked:ke}:null},[Nn,ke,Ve]);t.useEffect(function(){if(yn&&!qt&&Nn.length){var Br;(Br=At.current)===null||Br===void 0||Br.scrollTo({key:Nn[0]})}},[yn]);var $n=String(Sr).toLowerCase(),Ii=function(vr){return $n?String(vr[Ut]).toLowerCase().includes($n):!1},Mi=t.useState(Pt),Xe=Object(f.a)(Mi,2),Ie=Xe[0],Be=Xe[1],Fe=t.useState(null),Ge=Object(f.a)(Fe,2),Ke=Ge[0],qe=Ge[1],vt=t.useMemo(function(){return Pe?Object(u.a)(Pe):Sr?Ke:Ie},[Ie,Ke,$n,Pe]);t.useEffect(function(){Sr&&qe(Je.map(function(Br){return Br.key}))},[Sr]);var lt=function(vr){Be(vr),qe(vr),Yt&&Yt(vr)},Ft=function(vr){vr.preventDefault()},wr=function(vr,Cn){var kn=Cn.node.key,ei=Yr(kn,Ve?"checkbox":"select");ei!==null&&yr(ei.data.value,{selected:!_e.includes(ei.data.value)}),qt||fr(!1)},pr=t.useState(null),Dr=Object(f.a)(pr,2),zt=Dr[0],hn=Dr[1],ir=Yr(zt);if(t.useImperativeHandle(ur,function(){return{onKeyDown:function(vr){var Cn,kn=vr.which;switch(kn){case L.a.UP:case L.a.DOWN:case L.a.LEFT:case L.a.RIGHT:(Cn=At.current)===null||Cn===void 0||Cn.onKeyDown(vr);break;case L.a.ENTER:{ir!==null&&wr(null,{node:{key:zt},selected:!_e.includes(ir.data.value)});break}case L.a.ESC:fr(!1)}},onKeyUp:function(){}}}),Bt.length===0)return t.createElement("div",{role:"listbox",className:"".concat(Fr,"-empty"),onMouseDown:Ft},Jr);var Xr={};return ot&&(Xr.loadedKeys=ot),vt&&(Xr.expandedKeys=vt),t.createElement("div",{onMouseDown:Ft,onMouseEnter:Ln},ir&&yn&&t.createElement("span",{style:U,"aria-live":"assertive"},ir.data.value),t.createElement(N.b,Object.assign({ref:At,focusable:!1,prefixCls:"".concat(Fr,"-tree"),treeData:Bt,height:er,itemHeight:nr,virtual:Lt,multiple:qt,icon:kt,showIcon:_r,switcherIcon:Rr,showLine:un,loadData:Sr?null:ht,motion:Wt,checkable:Ve,checkStrictly:!0,checkedKeys:Kn,selectedKeys:Ve?[]:Nn,defaultExpandAll:rt},Xr,{onActiveChange:hn,onSelect:wr,onCheck:wr,onExpand:lt,onLoad:Jt,filterTreeNode:Ii})))},j=t.forwardRef(F);j.displayName="OptionList";var W=j,V=function(){return null},z=V,Y=d("Ff2n"),J=d("Zm9Q");function ie(ut){return Object(J.a)(ut).map(function(Xt){if(!t.isValidElement(Xt)||!Xt.type)return null;var ur=Xt.key,Fr=Xt.props,er=Fr.children,nr=Fr.value,Lt=Object(Y.a)(Fr,["children","value"]),at=Object(g.a)({key:ur,value:nr},Lt),Je=ie(er);return Je.length&&(at.children=Je),at}).filter(function(Xt){return Xt})}function Z(ut){if(!ut)return ut;var Xt=Object(g.a)({},ut);return"props"in Xt||Object.defineProperty(Xt,"props",{get:function(){return Object(I.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Xt}}),Xt}function oe(ut,Xt,ur,Fr,er){var nr=null,Lt=null;function at(){function Je(qt){var Sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",yr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return qt.map(function(fr,yn){var Jr="".concat(Sr,"-").concat(yn),Ln=ur.includes(fr.value),Nt=Je(fr.children||[],Jr,Ln),Ve=t.createElement(z,Object.assign({},fr),Nt.map(function(ke){return ke.node}));if(Xt===fr.value&&(nr=Ve),Ln){var _e={pos:Jr,node:Ve,children:Nt};return yr||Lt.push(_e),_e}return null}).filter(function(fr){return fr})}Lt||(Lt=[],Je(Fr),Lt.sort(function(qt,Sr){var yr=qt.node.props.value,fr=Sr.node.props.value,yn=ur.indexOf(yr),Jr=ur.indexOf(fr);return yn-Jr}))}Object.defineProperty(ut,"triggerNode",{get:function(){return Object(I.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),at(),nr}}),Object.defineProperty(ut,"allCheckedNodes",{get:function(){return Object(I.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),at(),er?Lt:Lt.map(function(qt){var Sr=qt.node;return Sr})}})}function ge(ut){return Array.isArray(ut)?ut:ut!==void 0?[ut]:[]}function pe(ut,Xt){var ur=new Map;return Xt.forEach(function(Fr){var er=Fr.data;ur.set(er.value,er)}),ut.map(function(Fr){return Z(ur.get(Fr))})}function De(ut,Xt){var ur=pe([ut],Xt)[0];return ur?ur.disabled:!1}function ce(ut){return ut.disabled||ut.disableCheckbox||ut.checkable===!1}function Oe(ut){for(var Xt=ut.parent,ur=0,Fr=Xt;Fr;)Fr=Fr.parent,ur+=1;return ur}function se(ut){function Xt(Fr){return(Fr||[]).map(function(er){var nr=er.value,Lt=er.key,at=er.children,Je=Object(g.a)(Object(g.a)({},er),{},{key:"key"in er?Lt:nr});return at&&(Je.children=Xt(at)),Je})}var ur=Object(E.d)(Xt(ut),!0);return ur.map(function(Fr){return{key:Fr.data.key,data:Fr.data,level:Oe(Fr)}})}function $(ut){return function(Xt,ur){var Fr=ur[ut];return String(Fr).toLowerCase().includes(String(Xt).toLowerCase())}}function ze(ut,Xt,ur){var Fr=ur.optionFilterProp,er=ur.filterOption;if(er===!1)return Xt;var nr;typeof er=="function"?nr=er:nr=$(Fr);function Lt(at){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return at.map(function(qt){var Sr=qt.children,yr=Je||nr(ut,Z(qt)),fr=Lt(Sr||[],yr);return yr||fr.length?Object(g.a)(Object(g.a)({},qt),{},{children:fr}):null}).filter(function(qt){return qt})}return Lt(Xt)}function re(ut,Xt,ur,Fr){var er=new Map;return ge(Xt).forEach(function(nr){nr&&Object(h.a)(nr)==="object"&&"value"in nr&&er.set(nr.value,nr)}),ut.map(function(nr){var Lt={value:nr},at=ur(nr,"select",!0),Je=at?Fr(at.data):nr;if(er.has(nr)){var qt=er.get(nr);Lt.label="label"in qt?qt.label:Je,"halfChecked"in qt&&(Lt.halfChecked=qt.halfChecked)}else Lt.label=Je;return Lt})}function X(ut,Xt){var ur=new Set(ut);return ur.add(Xt),Array.from(ur)}function G(ut,Xt){var ur=new Set(ut);return ur.delete(Xt),Array.from(ur)}function Q(ut){var Xt=ut.searchPlaceholder,ur=ut.treeCheckStrictly,Fr=ut.treeCheckable,er=ut.labelInValue,nr=ut.value,Lt=ut.multiple;Object(I.a)(!Xt,"`searchPlaceholder` has been removed."),ur&&er===!1&&Object(I.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(er||ur)&&Object(I.a)(ge(nr).every(function(at){return at&&Object(h.a)(at)==="object"&&"value"in at}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),ur||Lt||Fr?Object(I.a)(!nr||Array.isArray(nr),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(I.a)(!Array.isArray(nr),"`value` should not be array when `TreeSelect` is single mode.")}var ve=Q,de=10;function Ce(ut,Xt){var ur=Xt.id,Fr=Xt.pId,er=Xt.rootPId,nr={},Lt=[],at=ut.map(function(Je){var qt=Object(g.a)({},Je),Sr=qt[ur];return nr[Sr]=qt,qt.key=qt.key||Sr,qt});return at.forEach(function(Je){var qt=Je[Fr],Sr=nr[qt];Sr&&(Sr.children=Sr.children||[],Sr.children.push(Je)),(qt===er||!Sr&&er===null)&&Lt.push(Je)}),Lt}function we(ut,Xt){var ur=0,Fr=new Set;function er(nr){return(nr||[]).map(function(Lt){var at=Lt.key,Je=Lt.value,qt=Lt.children,Sr=Object(Y.a)(Lt,["key","value","children"]),yr="value"in Lt?Je:at,fr=Object(g.a)(Object(g.a)({},Sr),{},{key:at!=null?at:yr,value:yr,title:Xt(Lt)});return"children"in Lt&&(fr.children=er(qt)),fr})}return er(ut)}function le(ut,Xt,ur){var Fr=ur.getLabelProp,er=ur.simpleMode,nr=t.useRef({});return ut?(nr.current.formatTreeData=nr.current.treeData===ut?nr.current.formatTreeData:we(er?Ce(ut,Object(g.a)({id:"id",pId:"pId",rootPId:null},er!==!0?er:{})):ut,Fr),nr.current.treeData=ut):nr.current.formatTreeData=nr.current.children===Xt?nr.current.formatTreeData:we(ie(Xt),Fr),nr.current.formatTreeData}var fe="SHOW_ALL",xe="SHOW_PARENT",We="SHOW_CHILD";function nt(ut,Xt,ur){var Fr=new Set(ut);return Xt===We?ut.filter(function(er){var nr=ur[er];return!(nr&&nr.children&&nr.children.every(function(Lt){var at=Lt.node;return ce(at)||Fr.has(at.key)}))}):Xt===xe?ut.filter(function(er){var nr=ur[er],Lt=nr?nr.parent:null;return!(Lt&&!ce(Lt.node)&&Fr.has(Lt.node.key))}):ut}function $e(ut,Xt){var ur=Xt.value,Fr=Xt.getEntityByValue,er=Xt.getEntityByKey,nr=Xt.treeConduction,Lt=Xt.showCheckedStrategy,at=Xt.conductKeyEntities,Je=Xt.getLabelProp;return t.useMemo(function(){var qt=ut;if(nr){var Sr=nt(ut.map(function(yr){var fr=Fr(yr);return fr?fr.key:yr}),Lt,at);qt=Sr.map(function(yr){var fr=er(yr);return fr?fr.data.value:yr})}return re(qt,ur,Fr,Je)},[ut,ur,nr,Lt,Fr])}var Le=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],pt=Object(v.a)({prefixCls:"rc-tree-select",components:{optionList:W},convertChildrenToData:function(){return null},flattenOptions:se,getLabeledValue:y.e,filterOptions:ze,isValueDisabled:De,findValueOption:pe,omitDOMProps:function(Xt){var ur=Object(g.a)({},Xt);return Le.forEach(function(Fr){delete ur[Fr]}),ur}});pt.displayName="Select";var Qe=t.forwardRef(function(ut,Xt){var ur=ut.multiple,Fr=ut.treeCheckable,er=ut.treeCheckStrictly,nr=ut.showCheckedStrategy,Lt=nr===void 0?"SHOW_CHILD":nr,at=ut.labelInValue,Je=ut.loadData,qt=ut.treeLoadedKeys,Sr=ut.treeNodeFilterProp,yr=Sr===void 0?"value":Sr,fr=ut.treeNodeLabelProp,yn=ut.treeDataSimpleMode,Jr=ut.treeData,Ln=ut.treeExpandedKeys,Nt=ut.treeDefaultExpandedKeys,Ve=ut.treeDefaultExpandAll,_e=ut.children,ke=ut.treeIcon,Pe=ut.showTreeIcon,rt=ut.switcherIcon,Pt=ut.treeLine,Yt=ut.treeMotion,kt=ut.filterTreeNode,_r=ut.dropdownPopupAlign,Rr=ut.onChange,un=ut.onTreeExpand,Ut=ut.onTreeLoad,ht=ut.onDropdownVisibleChange,ot=ut.onSelect,Wt=ut.onDeselect,Jt=Fr||er,At=ur||Jt,Bt=Fr&&!er,mt=er||at,Mt=t.useRef(null);t.useImperativeHandle(Xt,function(){return{focus:Mt.current.focus,blur:Mt.current.blur}});var hr=function(kn){return Jr&&kn.label||kn.title},or=function(kn){return fr?kn[fr]:hr(kn)},ar=le(Jr,_e,{getLabelProp:hr,simpleMode:yn}),Gr=Object(t.useMemo)(function(){return se(ar)},[ar]),Yr=M(Gr),In=Object(f.a)(Yr,2),Nn=In[0],Kn=In[1],$n=B(Nn,Kn),Ii=Object(f.a)($n,2),Mi=Ii[0],Xe=Ii[1],Ie=Object(t.useMemo)(function(){return Bt?Object(E.a)(ar):{keyEntities:null}},[ar,Fr,er]),Be=Ie.keyEntities,Fe=Object(S.a)(ut.defaultValue,{value:ut.value}),Ge=Object(f.a)(Fe,2),Ke=Ge[0],qe=Ge[1],vt=function(kn){var ei=[],ii=[];return kn.forEach(function(ti){Xe(ti)?ii.push(ti):ei.push(ti)}),{missingRawValues:ei,existRawValues:ii}},lt=Object(t.useMemo)(function(){var Cn=[],kn=[];if(ge(Ke).forEach(function(Vr){if(Vr&&Object(h.a)(Vr)==="object"&&"value"in Vr)if(Vr.halfChecked&&er){var Sn=Xe(Vr.value);Cn.push(Sn?Sn.key:Vr.value)}else kn.push(Vr.value);else kn.push(Vr)}),Bt){var ei=vt(kn),ii=ei.missingRawValues,ti=ei.existRawValues,Ti=ti.map(function(Vr){return Xe(Vr).key}),Bn=Object(T.a)(Ti,!0,Be),Di=Bn.checkedKeys,gn=Bn.halfCheckedKeys;return[[].concat(Object(u.a)(ii),Object(u.a)(Di.map(function(Vr){return Mi(Vr).data.value}))),gn]}return[kn,Cn]},[Ke,At,mt,Fr,er]),Ft=Object(f.a)(lt,2),wr=Ft[0],pr=Ft[1],Dr=$e(wr,{treeConduction:Bt,value:Ke,showCheckedStrategy:Lt,conductKeyEntities:Be,getEntityByValue:Xe,getEntityByKey:Mi,getLabelProp:or}),zt=function(kn,ei,ii){if(qe(At?kn:kn[0]),Rr){var ti=kn;if(Bt&&Lt!=="SHOW_ALL"){var Ti=kn.map(function(wi){var Jn=Xe(wi);return Jn?Jn.key:wi}),Bn=nt(Ti,Lt,Be);ti=Bn.map(function(wi){var Jn=Mi(wi);return Jn?Jn.data.value:wi})}var Di=ei||{triggerValue:void 0,selected:void 0},gn=Di.triggerValue,Vr=Di.selected,Sn=mt?re(ti,Ke,Xe,or):ti;if(er){var tn=pr.map(function(wi){var Jn=Mi(wi);return Jn?Jn.data.value:wi}).filter(function(wi){return!ti.includes(wi)});Sn=[].concat(Object(u.a)(Sn),Object(u.a)(re(tn,Ke,Xe,or)))}var ci={preValue:Dr,triggerValue:gn},qn=!0;(er||ii==="selection"&&!Vr)&&(qn=!1),oe(ci,gn,kn,ar,qn),Jt?ci.checked=Vr:ci.selected=Vr,Rr(At?Sn:Sn[0],mt?null:ti.map(function(wi){var Jn=Xe(wi);return Jn?or(Jn.data):null}),ci)}},hn=function(kn,ei,ii){var ti=kn;if(!At)zt([kn],{selected:!0,triggerValue:kn},ii);else{var Ti=X(wr,kn);if(Bt){var Bn=vt(Ti),Di=Bn.missingRawValues,gn=Bn.existRawValues,Vr=gn.map(function(ci){return Xe(ci).key}),Sn=Object(T.a)(Vr,!0,Be),tn=Sn.checkedKeys;Ti=[].concat(Object(u.a)(Di),Object(u.a)(tn.map(function(ci){return Mi(ci).data.value})))}zt(Ti,{selected:!0,triggerValue:kn},ii)}ot&&ot(ti,ei)},ir=function(kn,ei,ii){var ti=kn,Ti=G(wr,kn);if(Bt){var Bn=vt(Ti),Di=Bn.missingRawValues,gn=Bn.existRawValues,Vr=gn.map(function(ci){return Xe(ci).key}),Sn=Object(T.a)(Vr,{checked:!1,halfCheckedKeys:pr},Be),tn=Sn.checkedKeys;Ti=[].concat(Object(u.a)(Di),Object(u.a)(tn.map(function(ci){return Mi(ci).data.value})))}zt(Ti,{selected:!1,triggerValue:kn},ii),Wt&&Wt(ti,ei)},Xr=function(){zt([],null,"clear")},Br=t.useCallback(function(Cn){if(ht){var kn={};Object.defineProperty(kn,"documentClickClose",{get:function(){return Object(I.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),ht(Cn,kn)}},[ht]),vr={optionLabelProp:null,optionFilterProp:yr,dropdownAlign:_r,internalProps:{mark:w.a,onClear:Xr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:hn,onRawDeselect:ir}};return"filterTreeNode"in ut&&(vr.filterOption=kt),t.createElement(R.Provider,{value:{checkable:Jt,loadData:Je,treeLoadedKeys:qt,onTreeLoad:Ut,checkedKeys:wr,halfCheckedKeys:pr,treeDefaultExpandAll:Ve,treeExpandedKeys:Ln,treeDefaultExpandedKeys:Nt,onTreeExpand:un,treeIcon:ke,treeMotion:Yt,showTreeIcon:Pe,switcherIcon:rt,treeLine:Pt,treeNodeFilterProp:yr}},t.createElement(pt,Object.assign({ref:Mt,mode:At?"multiple":null},ut,vr,{value:Dr,labelInValue:!0,options:ar,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Br})))}),gt=function(ut){Object(a.a)(ur,ut);var Xt=Object(l.a)(ur);function ur(){var Fr;return Object(s.a)(this,ur),Fr=Xt.apply(this,arguments),Fr.selectRef=t.createRef(),Fr.focus=function(){Fr.selectRef.current.focus()},Fr.blur=function(){Fr.selectRef.current.blur()},Fr}return Object(e.a)(ur,[{key:"render",value:function(){return t.createElement(Qe,Object.assign({ref:this.selectRef},this.props))}}]),ur}(t.Component);gt.TreeNode=z,gt.SHOW_ALL=fe,gt.SHOW_PARENT=xe,gt.SHOW_CHILD=We;var wt=gt,Et=wt,_t=d("TSYQ"),Ht=d.n(_t),Ze=d("BGR+"),ye=d("H84U"),ae=d("uaoM"),yt=d("1vzs"),et=d("2jpz"),me=d("3Nzz"),Gt=function(ut){r()(ur,ut);var Xt=n()(ur);function ur(Fr){var er;return m()(this,ur),er=Xt.call(this,Fr),er.selectRef=t.createRef(),er.renderTreeSelect=function(nr){var Lt=nr.getPopupContainer,at=nr.getPrefixCls,Je=nr.renderEmpty,qt=nr.direction,Sr=nr.virtual,yr=nr.dropdownMatchSelectWidth,fr=er.props,yn=fr.prefixCls,Jr=fr.size,Ln=fr.className,Nt=fr.treeCheckable,Ve=fr.multiple,_e=fr.listHeight,ke=_e===void 0?256:_e,Pe=fr.listItemHeight,rt=Pe===void 0?26:Pe,Pt=fr.notFoundContent,Yt=fr.switcherIcon,kt=fr.treeLine,_r=fr.getPopupContainer,Rr=fr.dropdownClassName,un=fr.bordered,Ut=fr.treeIcon,ht=Ut===void 0?!1:Ut,ot=at("select",yn),Wt=at("select-tree",yn),Jt=at("tree-select",yn),At=Ht()(Rr,"".concat(Jt,"-dropdown"),A()({},"".concat(Jt,"-dropdown-rtl"),qt==="rtl")),Bt=!!(Nt||Ve),mt=Object(yt.a)(x()(x()({},er.props),{multiple:Bt,prefixCls:ot})),Mt=mt.suffixIcon,hr=mt.itemIcon,or=mt.removeIcon,ar=mt.clearIcon,Gr;Pt!==void 0?Gr=Pt:Gr=Je("Select");var Yr=Object(Ze.default)(er.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return t.createElement(me.b.Consumer,null,function(In){var Nn,Kn=Jr||In,$n=Ht()(!yn&&Jt,(Nn={},A()(Nn,"".concat(ot,"-lg"),Kn==="large"),A()(Nn,"".concat(ot,"-sm"),Kn==="small"),A()(Nn,"".concat(ot,"-rtl"),qt==="rtl"),A()(Nn,"".concat(ot,"-borderless"),!un),Nn),Ln);return t.createElement(Et,x()({virtual:Sr,dropdownMatchSelectWidth:yr},Yr,{ref:er.selectRef,prefixCls:ot,className:$n,listHeight:ke,listItemHeight:rt,treeCheckable:Nt&&t.createElement("span",{className:"".concat(ot,"-tree-checkbox-inner")}),inputIcon:Mt,menuItemSelectedIcon:hr,removeIcon:or,clearIcon:ar,switcherIcon:function(Mi){return Object(et.a)(Wt,Yt,kt,Mi)},showTreeIcon:ht,notFoundContent:Gr,getPopupContainer:_r||Lt,treeMotion:null,dropdownClassName:At}))})},Object(ae.a)(Fr.multiple!==!1||!Fr.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),er}return c()(ur,[{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 t.createElement(ye.a,null,this.renderTreeSelect)}}]),ur}(t.Component);Gt.TreeNode=z,Gt.SHOW_ALL=fe,Gt.SHOW_PARENT=xe,Gt.SHOW_CHILD=We,Gt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var rr=k.a=Gt},"5Uyt":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("KmBX"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},"5YOS":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("xb2K"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},"5YgA":function(H,k,d){},"5bA4":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="LeftOutlined";var p=k.a=x.forwardRef(m)},"5hvy":function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("MlIO"))})(this,function(_){return function(x){var C=_,A=C.lib,b=A.WordArray,m=A.Hasher,p=C.x64,c=p.Word,o=C.algo,r=[],i=[],n=[];(function(){for(var e=1,a=0,l=0;l<24;l++){r[e+5*a]=(l+1)*(l+2)/2%64;var u=a%5,h=(2*e+3*a)%5;e=u,a=h}for(var e=0;e<5;e++)for(var a=0;a<5;a++)i[e+5*a]=a+(2*e+3*a)%5*5;for(var f=1,g=0;g<24;g++){for(var v=0,y=0,E=0;E<7;E++){if(f&1){var T=(1<<E)-1;T<32?y^=1<<T:v^=1<<T-32}f&128?f=f<<1^113:f<<=1}n[g]=c.create(v,y)}})();var t=[];(function(){for(var e=0;e<25;e++)t[e]=c.create()})();var s=o.SHA3=m.extend({cfg:m.cfg.extend({outputLength:512}),_doReset:function(){for(var a=this._state=[],l=0;l<25;l++)a[l]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(a,l){for(var u=this._state,h=this.blockSize/2,f=0;f<h;f++){var g=a[l+2*f],v=a[l+2*f+1];g=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360;var y=u[f];y.high^=v,y.low^=g}for(var E=0;E<24;E++){for(var T=0;T<5;T++){for(var w=0,S=0,I=0;I<5;I++){var y=u[T+5*I];w^=y.high,S^=y.low}var L=t[T];L.high=w,L.low=S}for(var T=0;T<5;T++)for(var O=t[(T+4)%5],N=t[(T+1)%5],R=N.high,D=N.low,w=O.high^(R<<1|D>>>31),S=O.low^(D<<1|R>>>31),I=0;I<5;I++){var y=u[T+5*I];y.high^=w,y.low^=S}for(var B=1;B<25;B++){var w,S,y=u[B],M=y.high,U=y.low,F=r[B];F<32?(w=M<<F|U>>>32-F,S=U<<F|M>>>32-F):(w=U<<F-32|M>>>64-F,S=M<<F-32|U>>>64-F);var j=t[i[B]];j.high=w,j.low=S}var W=t[0],V=u[0];W.high=V.high,W.low=V.low;for(var T=0;T<5;T++)for(var I=0;I<5;I++){var B=T+5*I,y=u[B],z=t[B],Y=t[(T+1)%5+5*I],J=t[(T+2)%5+5*I];y.high=z.high^~Y.high&J.high,y.low=z.low^~Y.low&J.low}var y=u[0],ie=n[E];y.high^=ie.high,y.low^=ie.low}},_doFinalize:function(){var a=this._data,l=a.words,u=this._nDataBytes*8,h=a.sigBytes*8,f=this.blockSize*32;l[h>>>5]|=1<<24-h%32,l[(x.ceil((h+1)/f)*f>>>5)-1]|=128,a.sigBytes=l.length*4,this._process();for(var g=this._state,v=this.cfg.outputLength/8,y=v/8,E=[],T=0;T<y;T++){var w=g[T],S=w.high,I=w.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,E.push(I),E.push(S)}return new b.init(E,v)},clone:function(){for(var a=m.clone.call(this),l=a._state=this._state.slice(0),u=0;u<25;u++)l[u]=l[u].clone();return a}});C.SHA3=m._createHelper(s),C.HmacSHA3=m._createHmacHelper(s)}(Math),_.SHA3})},"5nXd":function(H,k,d){var _=d("MFOe"),x=_.slice,C=_.pluck,A=_.each,b=_.bind,m=_.create,p=_.isList,c=_.isFunction,o=_.isObject;H.exports={createStore:n};var r={version:"2.0.12",enabled:!1,get:function(s,e){var a=this.storage.read(this._namespacePrefix+s);return this._deserialize(a,e)},set:function(s,e){return e===void 0?this.remove(s):(this.storage.write(this._namespacePrefix+s,this._serialize(e)),e)},remove:function(s){this.storage.remove(this._namespacePrefix+s)},each:function(s){var e=this;this.storage.each(function(a,l){s.call(e,e._deserialize(a),(l||"").replace(e._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(s){return this._namespacePrefix=="__storejs_"+s+"_"},createStore:function(){return n.apply(this,arguments)},addPlugin:function(s){this._addPlugin(s)},namespace:function(s){return n(this.storage,this.plugins,s)}};function i(){var t=typeof console=="undefined"?null:console;if(!t)return;var s=t.warn?t.warn:t.log;s.apply(t,arguments)}function n(t,s,e){e||(e=""),t&&!p(t)&&(t=[t]),s&&!p(s)&&(s=[s]);var a=e?"__storejs_"+e+"_":"",l=e?new RegExp("^"+a):null,u=/^[a-zA-Z0-9_\-]*$/;if(!u.test(e))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:a,_namespaceRegexp:l,_testStorage:function(v){try{var y="__storejs__test__";v.write(y,y);var E=v.read(y)===y;return v.remove(y),E}catch(T){return!1}},_assignPluginFnProp:function(v,y){var E=this[y];this[y]=function(){var w=x(arguments,0),S=this;function I(){return E?(A(arguments,function(O,N){w[N]=O}),E.apply(S,w)):void 0}var L=[I].concat(w);return v.apply(S,L)}},_serialize:function(v){return JSON.stringify(v)},_deserialize:function(v,y){if(!v)return y;var E="";try{E=JSON.parse(v)}catch(T){E=v}return E!==void 0?E:y},_addStorage:function(v){if(this.enabled)return;this._testStorage(v)&&(this.storage=v,this.enabled=!0)},_addPlugin:function(v){var y=this;if(p(v)){A(v,function(w){y._addPlugin(w)});return}var E=C(this.plugins,function(w){return v===w});if(E)return;if(this.plugins.push(v),!c(v))throw new Error("Plugins must be function values that return objects");var T=v.call(this);if(!o(T))throw new Error("Plugins must return an object of function properties");A(T,function(w,S){if(!c(w))throw new Error("Bad plugin property: "+S+" from plugin "+v.name+". Plugins should only return functions.");y._assignPluginFnProp(w,S)})},addStorage:function(v){i("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(v)}},f=m(h,r,{plugins:[]});return f.raw={},A(f,function(g,v){c(g)&&(f.raw[v]=b(f,g))}),A(t,function(g){f._addStorage(g)}),A(s,function(g){f._addPlugin(g)}),f}},"5rEg":function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lwsE"),A=d.n(C),b=d("W8MJ"),m=d.n(b),p=d("7W2i"),c=d.n(p),o=d("LQ03"),r=d.n(o),i=d("lSNA"),n=d.n(i),t=d("q1tI"),s=d("TSYQ"),e=d.n(s),a=d("BGR+"),l=d("kbBi"),u=d.n(l),h=d("CWQg"),f=d("0n0R"),g=Object(h.a)("text","input");function v(Q){return!!(Q.prefix||Q.suffix||Q.allowClear)}var y=function(Q){c()(de,Q);var ve=r()(de);function de(){var Ce;return A()(this,de),Ce=ve.apply(this,arguments),Ce.containerRef=t.createRef(),Ce.onInputMouseUp=function(we){var le;if((le=Ce.containerRef.current)===null||le===void 0?void 0:le.contains(we.target)){var fe=Ce.props.triggerFocus;fe()}},Ce}return m()(de,[{key:"renderClearIcon",value:function(we){var le=this.props,fe=le.allowClear,xe=le.value,We=le.disabled,nt=le.readOnly,$e=le.inputType,Le=le.handleReset;if(!fe)return null;var pt=!We&&!nt&&xe,Qe=$e===g[0]?"".concat(we,"-textarea-clear-icon"):"".concat(we,"-clear-icon");return t.createElement(u.a,{onClick:Le,className:e()(Qe,n()({},"".concat(Qe,"-hidden"),!pt)),role:"button"})}},{key:"renderSuffix",value:function(we){var le=this.props,fe=le.suffix,xe=le.allowClear;return fe||xe?t.createElement("span",{className:"".concat(we,"-suffix")},this.renderClearIcon(we),fe):null}},{key:"renderLabeledIcon",value:function(we,le){var fe,xe=this.props,We=xe.focused,nt=xe.value,$e=xe.prefix,Le=xe.className,pt=xe.size,Qe=xe.suffix,gt=xe.disabled,wt=xe.allowClear,Et=xe.direction,_t=xe.style,Ht=xe.readOnly,Ze=xe.bordered,ye=this.renderSuffix(we);if(!v(this.props))return Object(f.a)(le,{value:nt});var ae=$e?t.createElement("span",{className:"".concat(we,"-prefix")},$e):null,yt=e()(Le,"".concat(we,"-affix-wrapper"),(fe={},n()(fe,"".concat(we,"-affix-wrapper-focused"),We),n()(fe,"".concat(we,"-affix-wrapper-disabled"),gt),n()(fe,"".concat(we,"-affix-wrapper-sm"),pt==="small"),n()(fe,"".concat(we,"-affix-wrapper-lg"),pt==="large"),n()(fe,"".concat(we,"-affix-wrapper-input-with-clear-btn"),Qe&&wt&&nt),n()(fe,"".concat(we,"-affix-wrapper-rtl"),Et==="rtl"),n()(fe,"".concat(we,"-affix-wrapper-readonly"),Ht),n()(fe,"".concat(we,"-affix-wrapper-borderless"),!Ze),fe));return t.createElement("span",{ref:this.containerRef,className:yt,style:_t,onMouseUp:this.onInputMouseUp},ae,Object(f.a)(le,{style:null,value:nt,className:O(we,Ze,pt,gt)}),ye)}},{key:"renderInputWithLabel",value:function(we,le){var fe,xe,We=this.props,nt=We.addonBefore,$e=We.addonAfter,Le=We.style,pt=We.size,Qe=We.className,gt=We.direction;if(!nt&&!$e)return le;var wt="".concat(we,"-group"),Et="".concat(wt,"-addon"),_t=nt?t.createElement("span",{className:Et},nt):null,Ht=$e?t.createElement("span",{className:Et},$e):null,Ze=e()("".concat(we,"-wrapper"),(fe={},n()(fe,wt,nt||$e),n()(fe,"".concat(wt,"-rtl"),gt==="rtl"),fe)),ye=e()(Qe,"".concat(we,"-group-wrapper"),(xe={},n()(xe,"".concat(we,"-group-wrapper-sm"),pt==="small"),n()(xe,"".concat(we,"-group-wrapper-lg"),pt==="large"),n()(xe,"".concat(we,"-group-wrapper-rtl"),gt==="rtl"),xe));return t.createElement("span",{className:ye,style:Le},t.createElement("span",{className:Ze},_t,Object(f.a)(le,{style:null}),Ht))}},{key:"renderTextAreaWithClearIcon",value:function(we,le){var fe,xe=this.props,We=xe.value,nt=xe.allowClear,$e=xe.className,Le=xe.style,pt=xe.direction,Qe=xe.bordered;if(!nt)return Object(f.a)(le,{value:We});var gt=e()($e,"".concat(we,"-affix-wrapper"),"".concat(we,"-affix-wrapper-textarea-with-clear-btn"),(fe={},n()(fe,"".concat(we,"-affix-wrapper-rtl"),pt==="rtl"),n()(fe,"".concat(we,"-affix-wrapper-borderless"),!Qe),fe));return t.createElement("span",{className:gt,style:Le},Object(f.a)(le,{style:null,value:We}),this.renderClearIcon(we))}},{key:"render",value:function(){var we=this.props,le=we.prefixCls,fe=we.inputType,xe=we.element;return fe===g[0]?this.renderTextAreaWithClearIcon(le,xe):this.renderInputWithLabel(le,this.renderLabeledIcon(le,xe))}}]),de}(t.Component),E=y,T=d("H84U"),w=d("3Nzz"),S=d("uaoM");function I(Q){return typeof Q=="undefined"||Q===null?"":Q}function L(Q,ve,de){if(de){var Ce=ve;if(ve.type==="click"){Ce=Object.create(ve),Ce.target=Q,Ce.currentTarget=Q;var we=Q.value;Q.value="",de(Ce),Q.value=we;return}de(Ce)}}function O(Q,ve,de,Ce,we){var le;return e()(Q,(le={},n()(le,"".concat(Q,"-sm"),de==="small"),n()(le,"".concat(Q,"-lg"),de==="large"),n()(le,"".concat(Q,"-disabled"),Ce),n()(le,"".concat(Q,"-rtl"),we==="rtl"),n()(le,"".concat(Q,"-borderless"),!ve),le))}var N=function(Q){c()(de,Q);var ve=r()(de);function de(Ce){var we;A()(this,de),we=ve.call(this,Ce),we.direction="ltr",we.focus=function(){we.input.focus()},we.saveClearableInput=function(fe){we.clearableInput=fe},we.saveInput=function(fe){we.input=fe},we.onFocus=function(fe){var xe=we.props.onFocus;we.setState({focused:!0},we.clearPasswordValueAttribute),xe&&xe(fe)},we.onBlur=function(fe){var xe=we.props.onBlur;we.setState({focused:!1},we.clearPasswordValueAttribute),xe&&xe(fe)},we.handleReset=function(fe){we.setValue("",function(){we.focus()}),L(we.input,fe,we.props.onChange)},we.renderInput=function(fe,xe,We){var nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},$e=we.props,Le=$e.className,pt=$e.addonBefore,Qe=$e.addonAfter,gt=$e.size,wt=$e.disabled,Et=Object(a.default)(we.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return t.createElement("input",x()({autoComplete:nt.autoComplete},Et,{onChange:we.handleChange,onFocus:we.onFocus,onBlur:we.onBlur,onKeyDown:we.handleKeyDown,className:e()(O(fe,We,gt||xe,wt,we.direction),n()({},Le,Le&&!pt&&!Qe)),ref:we.saveInput}))},we.clearPasswordValueAttribute=function(){we.removePasswordTimeout=setTimeout(function(){we.input&&we.input.getAttribute("type")==="password"&&we.input.hasAttribute("value")&&we.input.removeAttribute("value")})},we.handleChange=function(fe){we.setValue(fe.target.value,we.clearPasswordValueAttribute),L(we.input,fe,we.props.onChange)},we.handleKeyDown=function(fe){var xe=we.props,We=xe.onPressEnter,nt=xe.onKeyDown;fe.keyCode===13&&We&&We(fe),nt&&nt(fe)},we.renderComponent=function(fe){var xe=fe.getPrefixCls,We=fe.direction,nt=fe.input,$e=we.state,Le=$e.value,pt=$e.focused,Qe=we.props,gt=Qe.prefixCls,wt=Qe.bordered,Et=wt===void 0?!0:wt,_t=xe("input",gt);return we.direction=We,t.createElement(w.b.Consumer,null,function(Ht){return t.createElement(E,x()({size:Ht},we.props,{prefixCls:_t,inputType:"input",value:I(Le),element:we.renderInput(_t,Ht,Et,nt),handleReset:we.handleReset,ref:we.saveClearableInput,direction:We,focused:pt,triggerFocus:we.focus,bordered:Et}))})};var le=typeof Ce.value=="undefined"?Ce.defaultValue:Ce.value;return we.state={value:le,focused:!1,prevValue:Ce.value},we}return m()(de,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(we){return v(we)!==v(this.props)&&Object(S.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(we,le){this.props.value===void 0&&this.setState({value:we},le)}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(we,le){var fe=le.prevValue,xe={prevValue:we.value};return(we.value!==void 0||fe!==we.value)&&(xe.value=we.value),xe}}]),de}(t.Component);N.defaultProps={type:"text"};var R=N,D=function(ve){return t.createElement(T.a,null,function(de){var Ce,we=de.getPrefixCls,le=de.direction,fe=ve.prefixCls,xe=ve.className,We=xe===void 0?"":xe,nt=we("input-group",fe),$e=e()(nt,(Ce={},n()(Ce,"".concat(nt,"-lg"),ve.size==="large"),n()(Ce,"".concat(nt,"-sm"),ve.size==="small"),n()(Ce,"".concat(nt,"-compact"),ve.compact),n()(Ce,"".concat(nt,"-rtl"),le==="rtl"),Ce),We);return t.createElement("span",{className:$e,style:ve.style,onMouseEnter:ve.onMouseEnter,onMouseLeave:ve.onMouseLeave,onFocus:ve.onFocus,onBlur:ve.onBlur},ve.children)})},B=D,M=d("c+Xe"),U=d("w6Tc"),F=d.n(U),j=d("gZBC"),W=d.n(j),V=d("2/Rp"),z=function(Q,ve){var de={};for(var Ce in Q)Object.prototype.hasOwnProperty.call(Q,Ce)&&ve.indexOf(Ce)<0&&(de[Ce]=Q[Ce]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ce=Object.getOwnPropertySymbols(Q);we<Ce.length;we++)ve.indexOf(Ce[we])<0&&Object.prototype.propertyIsEnumerable.call(Q,Ce[we])&&(de[Ce[we]]=Q[Ce[we]]);return de},Y=t.forwardRef(function(Q,ve){var de=t.useRef(null),Ce=function(Le){var pt=Q.onChange,Qe=Q.onSearch;Le&&Le.target&&Le.type==="click"&&Qe&&Qe(Le.target.value,Le),pt&&pt(Le)},we=function(Le){var pt;document.activeElement===((pt=de.current)===null||pt===void 0?void 0:pt.input)&&Le.preventDefault()},le=function(Le){var pt,Qe=Q.onSearch,gt=Q.loading,wt=Q.disabled;if(gt||wt)return;Qe&&Qe((pt=de.current)===null||pt===void 0?void 0:pt.input.value,Le)},fe=function(Le){var pt=Q.enterButton,Qe=Q.size;return pt?t.createElement(w.b.Consumer,{key:"enterButton"},function(gt){return t.createElement(V.a,{className:"".concat(Le,"-button"),type:"primary",size:Qe||gt},t.createElement(W.a,null))}):t.createElement(W.a,{className:"".concat(Le,"-icon"),key:"loadingIcon"})},xe=function(Le){var pt=Q.suffix,Qe=Q.enterButton,gt=Q.loading;if(gt&&!Qe)return[pt,fe(Le)];if(Qe)return pt;var wt=t.createElement(F.a,{className:"".concat(Le,"-icon"),key:"searchIcon",onClick:le});return pt?[Object(f.c)(pt,null,{key:"suffix"}),wt]:wt},We=function(Le,pt){var Qe=Q.enterButton,gt=Q.disabled,wt=Q.addonAfter,Et=Q.loading,_t="".concat(Le,"-button");if(Et&&Qe)return[fe(Le),wt];if(!Qe)return wt;var Ht,Ze=Qe,ye=Ze.type&&Ze.type.__ANT_BUTTON===!0;return ye||Ze.type==="button"?Ht=Object(f.a)(Ze,x()({onMouseDown:we,onClick:le,key:"enterButton"},ye?{className:_t,size:pt}:{})):Ht=t.createElement(V.a,{className:_t,type:"primary",size:pt,disabled:gt,key:"enterButton",onMouseDown:we,onClick:le},Qe===!0?t.createElement(F.a,null):Qe),wt?[Ht,Object(f.c)(wt,null,{key:"addonAfter"})]:Ht},nt=function(Le){var pt=Le.getPrefixCls,Qe=Le.direction,gt=Q.prefixCls,wt=Q.inputPrefixCls,Et=Q.enterButton,_t=Q.className,Ht=Q.size,Ze=z(Q,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ze.onSearch,delete Ze.loading;var ye=pt("input-search",gt),ae=pt("input",wt),yt=function(me){var Gt;if(Et){var rr;Gt=e()(ye,_t,(rr={},n()(rr,"".concat(ye,"-rtl"),Qe==="rtl"),n()(rr,"".concat(ye,"-enter-button"),!!Et),n()(rr,"".concat(ye,"-").concat(me),!!me),rr))}else Gt=e()(ye,_t,n()({},"".concat(ye,"-rtl"),Qe==="rtl"));return Gt};return t.createElement(w.b.Consumer,null,function(et){return t.createElement(R,x()({ref:Object(M.a)(de,ve),onPressEnter:le},Ze,{size:Ht||et,prefixCls:ae,addonAfter:We(ye,Ht||et),suffix:xe(ye),onChange:Ce,className:yt(Ht||et)}))})};return t.createElement(T.a,null,nt)});Y.defaultProps={enterButton:!1},Y.displayName="Search";var J=Y,ie=d("Y1PL"),Z=function(Q){c()(de,Q);var ve=r()(de);function de(Ce){var we;A()(this,de),we=ve.call(this,Ce),we.focus=function(){we.resizableTextArea.textArea.focus()},we.saveTextArea=function(fe){we.resizableTextArea=fe==null?void 0:fe.resizableTextArea},we.saveClearableInput=function(fe){we.clearableInput=fe},we.handleChange=function(fe){we.setValue(fe.target.value),L(we.resizableTextArea.textArea,fe,we.props.onChange)},we.handleReset=function(fe){we.setValue("",function(){we.focus()}),L(we.resizableTextArea.textArea,fe,we.props.onChange)},we.renderTextArea=function(fe,xe){return t.createElement(ie.default,x()({},Object(a.default)(we.props,["allowClear","bordered"]),{className:e()(we.props.className,n()({},"".concat(fe,"-borderless"),!xe)),prefixCls:fe,onChange:we.handleChange,ref:we.saveTextArea}))},we.renderComponent=function(fe){var xe=fe.getPrefixCls,We=fe.direction,nt=we.state.value,$e=we.props,Le=$e.prefixCls,pt=$e.bordered,Qe=pt===void 0?!0:pt,gt=xe("input",Le);return t.createElement(E,x()({},we.props,{prefixCls:gt,direction:We,inputType:"text",value:I(nt),element:we.renderTextArea(gt,Qe),handleReset:we.handleReset,ref:we.saveClearableInput,triggerFocus:we.focus,bordered:Qe}))};var le=typeof Ce.value=="undefined"?Ce.defaultValue:Ce.value;return we.state={value:le},we}return m()(de,[{key:"setValue",value:function(we,le){this.props.value===void 0&&this.setState({value:we},le)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(we){return we.value!==void 0?{value:we.value}:null}}]),de}(t.Component),oe=Z,ge=d("J4zp"),pe=d.n(ge),De=d("qPY4"),ce=d.n(De),Oe=d("fUL4"),se=d.n(Oe),$=function(Q,ve){var de={};for(var Ce in Q)Object.prototype.hasOwnProperty.call(Q,Ce)&&ve.indexOf(Ce)<0&&(de[Ce]=Q[Ce]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ce=Object.getOwnPropertySymbols(Q);we<Ce.length;we++)ve.indexOf(Ce[we])<0&&Object.prototype.propertyIsEnumerable.call(Q,Ce[we])&&(de[Ce[we]]=Q[Ce[we]]);return de},ze={click:"onClick",hover:"onMouseOver"},re=t.forwardRef(function(Q,ve){var de=Object(t.useState)(!1),Ce=pe()(de,2),we=Ce[0],le=Ce[1],fe=function(){var $e=Q.disabled;if($e)return;le(!we)},xe=function($e){var Le,pt=Q.action,Qe=Q.iconRender,gt=Qe===void 0?function(){return null}:Qe,wt=ze[pt]||"",Et=gt(we),_t=(Le={},n()(Le,wt,fe),n()(Le,"className","".concat($e,"-icon")),n()(Le,"key","passwordIcon"),n()(Le,"onMouseDown",function(Ze){Ze.preventDefault()}),n()(Le,"onMouseUp",function(Ze){Ze.preventDefault()}),Le);return t.cloneElement(t.isValidElement(Et)?Et:t.createElement("span",null,Et),_t)},We=function($e){var Le=$e.getPrefixCls,pt=Q.className,Qe=Q.prefixCls,gt=Q.inputPrefixCls,wt=Q.size,Et=Q.visibilityToggle,_t=$(Q,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Ht=Le("input",gt),Ze=Le("input-password",Qe),ye=Et&&xe(Ze),ae=e()(Ze,pt,n()({},"".concat(Ze,"-").concat(wt),!!wt)),yt=x()(x()({},Object(a.default)(_t,["suffix","iconRender"])),{type:we?"text":"password",className:ae,prefixCls:Ht,suffix:ye});return wt&&(yt.size=wt),t.createElement(R,x()({ref:ve},yt))};return t.createElement(T.a,null,We)});re.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(ve){return ve?t.createElement(ce.a,null):t.createElement(se.a,null)}},re.displayName="Password";var X=re;R.Group=B,R.Search=J,R.TextArea=oe,R.Password=X;var G=k.a=R},"5s0K":function(H,k,d){var _=d("bYtY");function x(){var C=[],A={},b;return{add:function(m,p,c,o,r){return _.isString(o)&&(r=o,o=0),A[m.id]?!1:(A[m.id]=1,C.push({el:m,target:p,time:c,delay:o,easing:r}),!0)},done:function(m){return b=m,this},start:function(){for(var m=C.length,p=0,c=C.length;p<c;p++){var o=C[p];o.el.animateTo(o.target,o.time,o.delay,o.easing,r)}return this;function r(){m--,m||(C.length=0,A={},b&&b())}}}}k.createWrap=x},"5yev":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};k.default=_},"6/nd":function(H,k,d){var _=d("ProS");_.registerAction("legendScroll","legendscroll",function(x,C){var A=x.scrollDataIndex;A!=null&&C.eachComponent({mainType:"legend",subType:"scroll",query:x},function(b){b.setScrollDataIndex(A)})})},"62sa":function(H,k,d){var _=d("bYtY"),x=d("4NO4"),C=x.makeInner,A=d("zTMp"),b=d("Ez2D"),m=_.each,p=_.curry,c=C();function o(f,g,v){var y=f.currTrigger,E=[f.x,f.y],T=f,w=f.dispatchAction||_.bind(v.dispatchAction,v),S=g.getComponent("axisPointer").coordSysAxesInfo;if(!S)return;h(E)&&(E=b({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},g).point);var I=h(E),L=T.axesInfo,O=S.axesInfo,N=y==="leave"||h(E),R={},D={},B={list:[],map:{}},M={showPointer:p(n,D),showTooltip:p(t,B)};m(S.coordSysMap,function(F,j){var W=I||F.containPoint(E);m(S.coordSysAxesInfo[j],function(V,z){var Y=V.axis,J=l(L,V);if(!N&&W&&(!L||J)){var ie=J&&J.value;ie==null&&!I&&(ie=Y.pointToData(E)),ie!=null&&r(V,ie,M,!1,R)}})});var U={};return m(O,function(F,j){var W=F.linkGroup;W&&!D[j]&&m(W.axesInfo,function(V,z){var Y=D[z];if(V!==F&&Y){var J=Y.value;W.mapper&&(J=F.axis.scale.parse(W.mapper(J,u(V),u(F)))),U[F.key]=J}})}),m(U,function(F,j){r(O[j],F,M,!0,R)}),s(D,O,R),e(B,E,f,w),a(O,w,v),R}function r(f,g,v,y,E){var T=f.axis;if(T.scale.isBlank()||!T.containData(g))return;if(!f.involveSeries){v.showPointer(f,g);return}var w=i(g,f),S=w.payloadBatch,I=w.snapToValue;S[0]&&E.seriesIndex==null&&_.extend(E,S[0]),!y&&f.snap&&(T.containData(I)&&I!=null&&(g=I)),v.showPointer(f,g,S,E),v.showTooltip(f,w,I)}function i(f,g){var v=g.axis,y=v.dim,E=f,T=[],w=Number.MAX_VALUE,S=-1;return m(g.seriesModels,function(I,L){var O=I.getData().mapDimension(y,!0),N,R;if(I.getAxisTooltipData){var D=I.getAxisTooltipData(O,f,v);R=D.dataIndices,N=D.nestestValue}else{if(R=I.getData().indicesOfNearest(O[0],f,v.type==="category"?.5:null),!R.length)return;N=I.getData().get(O[0],R[0])}if(N==null||!isFinite(N))return;var B=f-N,M=Math.abs(B);M<=w&&((M<w||B>=0&&S<0)&&(w=M,S=B,E=N,T.length=0),m(R,function(U){T.push({seriesIndex:I.seriesIndex,dataIndexInside:U,dataIndex:I.getData().getRawIndex(U)})}))}),{payloadBatch:T,snapToValue:E}}function n(f,g,v,y){f[g.key]={value:v,payloadBatch:y}}function t(f,g,v,y){var E=v.payloadBatch,T=g.axis,w=T.model,S=g.axisPointerModel;if(!g.triggerTooltip||!E.length)return;var I=g.coordSys.model,L=A.makeKey(I),O=f.map[L];O||(O=f.map[L]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},f.list.push(O)),O.dataByAxis.push({axisDim:T.dim,axisIndex:w.componentIndex,axisType:w.type,axisId:w.id,value:y,valueLabelOpt:{precision:S.get("label.precision"),formatter:S.get("label.formatter")},seriesDataIndices:E.slice()})}function s(f,g,v){var y=v.axesInfo=[];m(g,function(E,T){var w=E.axisPointerModel.option,S=f[T];S?(!E.useHandle&&(w.status="show"),w.value=S.value,w.seriesDataIndices=(S.payloadBatch||[]).slice()):!E.useHandle&&(w.status="hide"),w.status==="show"&&y.push({axisDim:E.axis.dim,axisIndex:E.axis.model.componentIndex,value:w.value})})}function e(f,g,v,y){if(h(g)||!f.list.length){y({type:"hideTip"});return}var E=((f.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};y({type:"showTip",escapeConnect:!0,x:g[0],y:g[1],tooltipOption:v.tooltipOption,position:v.position,dataIndexInside:E.dataIndexInside,dataIndex:E.dataIndex,seriesIndex:E.seriesIndex,dataByCoordSys:f.list})}function a(f,g,v){var y=v.getZr(),E="axisPointerLastHighlights",T=c(y)[E]||{},w=c(y)[E]={};m(f,function(L,O){var N=L.axisPointerModel.option;N.status==="show"&&m(N.seriesDataIndices,function(R){var D=R.seriesIndex+" | "+R.dataIndex;w[D]=R})});var S=[],I=[];_.each(T,function(L,O){!w[O]&&I.push(L)}),_.each(w,function(L,O){!T[O]&&S.push(L)}),I.length&&v.dispatchAction({type:"downplay",escapeConnect:!0,batch:I}),S.length&&v.dispatchAction({type:"highlight",escapeConnect:!0,batch:S})}function l(f,g){for(var v=0;v<(f||[]).length;v++){var y=f[v];if(g.axis.dim===y.axisDim&&g.axis.model.componentIndex===y.axisIndex)return y}}function u(f){var g=f.axis.model,v={},y=v.axisDim=f.axis.dim;return v.axisIndex=v[y+"AxisIndex"]=g.componentIndex,v.axisName=v[y+"AxisName"]=g.name,v.axisId=v[y+"AxisId"]=g.id,v}function h(f){return!f||f[0]==null||isNaN(f[0])||f[1]==null||isNaN(f[1])}H.exports=o},"6BzB":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.shrinkBuf=_,k.arraySet=x,k.flattenChunks=C,k.Buf32=k.Buf16=k.Buf8=void 0;function _(p,c){return p.length===c?p:p.subarray?p.subarray(0,c):(p.length=c,p)}function x(p,c,o,r,i){if(c.subarray&&p.subarray){p.set(c.subarray(o,o+r),i);return}for(var n=0;n<r;n++)p[i+n]=c[o+n]}function C(p){var c,o,r,i,n,t;for(r=0,c=0,o=p.length;c<o;c++)r+=p[c].length;for(t=new Uint8Array(r),i=0,c=0,o=p.length;c<o;c++)n=p[c],t.set(n,i),i+=n.length;return t}var A=Uint8Array;k.Buf8=A;var b=Uint16Array;k.Buf16=b;var m=Int32Array;k.Buf32=m},"6D9b":function(H,k,d){},"6GrX":function(H,k,d){var _=d("mFDi"),x=d("Xnb7"),C=d("bYtY"),A=C.getContext,b=C.extend,m=C.retrieve2,p=C.retrieve3,c=C.trim,o={},r=0,i=5e3,n=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,t="12px sans-serif",s={};function e(B,M){s[B]=M}function a(B,M){M=M||t;var U=B+":"+M;if(o[U])return o[U];for(var F=(B+"").split(`
`),j=0,W=0,V=F.length;W<V;W++)j=Math.max(L(F[W],M).width,j);return r>i&&(r=0,o={}),r++,o[U]=j,j}function l(B,M,U,F,j,W,V,z){return V?h(B,M,U,F,j,W,V,z):u(B,M,U,F,j,W,z)}function u(B,M,U,F,j,W,V){var z=O(B,M,j,W,V),Y=a(B,M);j&&(Y+=j[1]+j[3]);var J=z.outerHeight,ie=f(0,Y,U),Z=g(0,J,F),oe=new _(ie,Z,Y,J);return oe.lineHeight=z.lineHeight,oe}function h(B,M,U,F,j,W,V,z){var Y=N(B,{rich:V,truncate:z,font:M,textAlign:U,textPadding:j,textLineHeight:W}),J=Y.outerWidth,ie=Y.outerHeight,Z=f(0,J,U),oe=g(0,ie,F);return new _(Z,oe,J,ie)}function f(B,M,U){return U==="right"?B-=M:U==="center"&&(B-=M/2),B}function g(B,M,U){return U==="middle"?B-=M/2:U==="bottom"&&(B-=M),B}function v(B,M,U){var F=M.textPosition,j=M.textDistance,W=U.x,V=U.y;j=j||0;var z=U.height,Y=U.width,J=z/2,ie="left",Z="top";switch(F){case"left":W-=j,V+=J,ie="right",Z="middle";break;case"right":W+=j+Y,V+=J,Z="middle";break;case"top":W+=Y/2,V-=j,ie="center",Z="bottom";break;case"bottom":W+=Y/2,V+=z+j,ie="center";break;case"inside":W+=Y/2,V+=J,ie="center",Z="middle";break;case"insideLeft":W+=j,V+=J,Z="middle";break;case"insideRight":W+=Y-j,V+=J,ie="right",Z="middle";break;case"insideTop":W+=Y/2,V+=j,ie="center";break;case"insideBottom":W+=Y/2,V+=z-j,ie="center",Z="bottom";break;case"insideTopLeft":W+=j,V+=j;break;case"insideTopRight":W+=Y-j,V+=j,ie="right";break;case"insideBottomLeft":W+=j,V+=z-j,Z="bottom";break;case"insideBottomRight":W+=Y-j,V+=z-j,ie="right",Z="bottom";break}return B=B||{},B.x=W,B.y=V,B.textAlign=ie,B.textVerticalAlign=Z,B}function y(B,M,U){var F={textPosition:B,textDistance:U};return v({},F,M)}function E(B,M,U,F,j){if(!M)return"";var W=(B+"").split(`
`);j=T(M,U,F,j);for(var V=0,z=W.length;V<z;V++)W[V]=w(W[V],j);return W.join(`
`)}function T(B,M,U,F){F=b({},F),F.font=M;var U=m(U,"...");F.maxIterations=m(F.maxIterations,2);var j=F.minChar=m(F.minChar,0);F.cnCharWidth=a("\u56FD",M);var W=F.ascCharWidth=a("a",M);F.placeholder=m(F.placeholder,"");for(var V=B=Math.max(0,B-1),z=0;z<j&&V>=W;z++)V-=W;var Y=a(U,M);return Y>V&&(U="",Y=0),V=B-Y,F.ellipsis=U,F.ellipsisWidth=Y,F.contentWidth=V,F.containerWidth=B,F}function w(B,M){var U=M.containerWidth,F=M.font,j=M.contentWidth;if(!U)return"";var W=a(B,F);if(W<=U)return B;for(var V=0;;V++){if(W<=j||V>=M.maxIterations){B+=M.ellipsis;break}var z=V===0?S(B,j,M.ascCharWidth,M.cnCharWidth):W>0?Math.floor(B.length*j/W):0;B=B.substr(0,z),W=a(B,F)}return B===""&&(B=M.placeholder),B}function S(B,M,U,F){for(var j=0,W=0,V=B.length;W<V&&j<M;W++){var z=B.charCodeAt(W);j+=0<=z&&z<=127?U:F}return W}function I(B){return a("\u56FD",B)}function L(B,M){return s.measureText(B,M)}s.measureText=function(B,M){var U=A();return U.font=M||t,U.measureText(B)};function O(B,M,U,F,j){B!=null&&(B+="");var W=m(F,I(M)),V=B?B.split(`
`):[],z=V.length*W,Y=z,J=!0;if(U&&(Y+=U[0]+U[2]),B&&j){J=!1;var ie=j.outerHeight,Z=j.outerWidth;if(ie!=null&&Y>ie)B="",V=[];else if(Z!=null)for(var oe=T(Z-(U?U[1]+U[3]:0),M,j.ellipsis,{minChar:j.minChar,placeholder:j.placeholder}),ge=0,pe=V.length;ge<pe;ge++)V[ge]=w(V[ge],oe)}return{lines:V,height:z,outerHeight:Y,lineHeight:W,canCacheByTextString:J}}function N(B,M){var U={lines:[],width:0,height:0};if(B!=null&&(B+=""),!B)return U;for(var F=n.lastIndex=0,j;(j=n.exec(B))!=null;){var W=j.index;W>F&&R(U,B.substring(F,W)),R(U,j[2],j[1]),F=n.lastIndex}F<B.length&&R(U,B.substring(F,B.length));var V=U.lines,z=0,Y=0,J=[],ie=M.textPadding,Z=M.truncate,oe=Z&&Z.outerWidth,ge=Z&&Z.outerHeight;ie&&(oe!=null&&(oe-=ie[1]+ie[3]),ge!=null&&(ge-=ie[0]+ie[2]));for(var pe=0;pe<V.length;pe++){for(var De=V[pe],ce=0,Oe=0,se=0;se<De.tokens.length;se++){var $=De.tokens[se],ze=$.styleName&&M.rich[$.styleName]||{},re=$.textPadding=ze.textPadding,X=$.font=ze.font||M.font,G=$.textHeight=m(ze.textHeight,I(X));if(re&&(G+=re[0]+re[2]),$.height=G,$.lineHeight=p(ze.textLineHeight,M.textLineHeight,G),$.textAlign=ze&&ze.textAlign||M.textAlign,$.textVerticalAlign=ze&&ze.textVerticalAlign||"middle",ge!=null&&z+$.lineHeight>ge)return{lines:[],width:0,height:0};$.textWidth=a($.text,X);var Q=ze.textWidth,ve=Q==null||Q==="auto";if(typeof Q=="string"&&Q.charAt(Q.length-1)==="%")$.percentWidth=Q,J.push($),Q=0;else{if(ve){Q=$.textWidth;var de=ze.textBackgroundColor,Ce=de&&de.image;Ce&&(Ce=x.findExistImage(Ce),x.isImageReady(Ce)&&(Q=Math.max(Q,Ce.width*G/Ce.height)))}var we=re?re[1]+re[3]:0;Q+=we;var le=oe!=null?oe-Oe:null;le!=null&&le<Q&&(!ve||le<we?($.text="",$.textWidth=Q=0):($.text=E($.text,le-we,X,Z.ellipsis,{minChar:Z.minChar}),$.textWidth=a($.text,X),Q=$.textWidth+we))}Oe+=$.width=Q,ze&&(ce=Math.max(ce,$.lineHeight))}De.width=Oe,De.lineHeight=ce,z+=ce,Y=Math.max(Y,Oe)}U.outerWidth=U.width=m(M.textWidth,Y),U.outerHeight=U.height=m(M.textHeight,z),ie&&(U.outerWidth+=ie[1]+ie[3],U.outerHeight+=ie[0]+ie[2]);for(var pe=0;pe<J.length;pe++){var $=J[pe],fe=$.percentWidth;$.width=parseInt(fe,10)/100*Y}return U}function R(B,M,U){for(var F=M==="",j=M.split(`
`),W=B.lines,V=0;V<j.length;V++){var z=j[V],Y={styleName:U,text:z,isLineHolder:!z&&!F};if(V)W.push({tokens:[Y]});else{var J=(W[W.length-1]||(W[0]={tokens:[]})).tokens,ie=J.length;ie===1&&J[0].isLineHolder?J[0]=Y:(z||!ie||F)&&J.push(Y)}}}function D(B){var M=(B.fontSize||B.fontFamily)&&[B.fontStyle,B.fontWeight,(B.fontSize||12)+"px",B.fontFamily||"sans-serif"].join(" ");return M&&c(M)||B.textFont||B.font}k.DEFAULT_FONT=t,k.$override=e,k.getWidth=a,k.getBoundingRect=l,k.adjustTextX=f,k.adjustTextY=g,k.calculateTextPosition=v,k.adjustTextPositionOnRect=y,k.truncateText=E,k.getLineHeight=I,k.measureText=L,k.parsePlainText=O,k.parseRichText=N,k.makeFont=D},"6Hfg":function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("FhB9")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="SwapRightOutlined";var c=A.forwardRef(p);k.default=c},"6Ic6":function(H,k,d){var _=d("bYtY"),x=_.each,C=d("4fz+"),A=d("iRjW"),b=d("Yl7c"),m=d("4NO4"),p=d("IwbS"),c=d("9H2F"),o=c.createTask,r=d("zM3Q"),i=m.makeInner(),n=r();function t(){this.group=new C,this.uid=A.getUID("viewChart"),this.renderTask=o({plan:l,reset:u}),this.renderTask.context={view:this}}t.prototype={type:"chart",init:function(g,v){},render:function(g,v,y,E){},highlight:function(g,v,y,E){a(g.getData(),E,"emphasis")},downplay:function(g,v,y,E){a(g.getData(),E,"normal")},remove:function(g,v){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var s=t.prototype;s.updateView=s.updateLayout=s.updateVisual=function(g,v,y,E){this.render(g,v,y,E)};function e(g,v,y){if(g&&(g.trigger(v,y),g.isGroup&&!p.isHighDownDispatcher(g)))for(var E=0,T=g.childCount();E<T;E++)e(g.childAt(E),v,y)}function a(g,v,y){var E=m.queryDataIndex(g,v),T=v&&v.highlightKey!=null?p.getHighlightDigit(v.highlightKey):null;E!=null?x(m.normalizeToArray(E),function(w){e(g.getItemGraphicEl(w),y,T)}):g.eachItemGraphicEl(function(w){e(w,y,T)})}b.enableClassExtend(t,["dispose"]),b.enableClassManagement(t,{registerWhenExtend:!0}),t.markUpdateMethod=function(g,v){i(g).updateMethod=v};function l(g){return n(g.model)}function u(g){var v=g.model,y=g.ecModel,E=g.api,T=g.payload,w=v.pipelineContext.progressiveRender,S=g.view,I=T&&i(T).updateMethod,L=w?"incrementalPrepareRender":I&&S[I]?I:"render";return L!=="render"&&S[L](v,y,E,T),h[L]}var h={incrementalPrepareRender:{progress:function(g,v){v.view.incrementalRender(g,v.model,v.ecModel,v.api,v.payload)}},render:{forceFirstProgress:!0,progress:function(g,v){v.view.render(v.model,v.ecModel,v.api,v.payload)}}},f=t;H.exports=f},"6MrE":function(H,k,d){},"6Qwc":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _={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"};k.default=_},"6SEX":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("qWUW"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},"6UJt":function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("v56E"),A=d.n(C),b=d("R9oj"),m=d("5NDa")},"6VBw":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("ODXe"),C=d("rePB"),A=d("Ff2n"),b=d("q1tI"),m=d("TSYQ"),p=d.n(m),c=d("Pw59"),o=d("Qi1f"),r=["icon","className","onClick","style","primaryColor","secondaryColor"],i={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function n(g){var v=g.primaryColor,y=g.secondaryColor;i.primaryColor=v,i.secondaryColor=y||Object(o.b)(v),i.calculated=!!y}function t(){return Object(_.a)({},i)}var s=function(v){var y=v.icon,E=v.className,T=v.onClick,w=v.style,S=v.primaryColor,I=v.secondaryColor,L=Object(A.a)(v,r),O=i;if(S&&(O={primaryColor:S,secondaryColor:I||Object(o.b)(S)}),Object(o.f)(),Object(o.g)(Object(o.c)(y),"icon should be icon definiton, but got ".concat(y)),!Object(o.c)(y))return null;var N=y;return N&&typeof N.icon=="function"&&(N=Object(_.a)(Object(_.a)({},N),{},{icon:N.icon(O.primaryColor,O.secondaryColor)})),Object(o.a)(N.icon,"svg-".concat(N.name),Object(_.a)({className:E,onClick:T,style:w,"data-icon":N.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},L))};s.displayName="IconReact",s.getTwoToneColors=t,s.setTwoToneColors=n;var e=s;function a(g){var v=Object(o.d)(g),y=Object(x.a)(v,2),E=y[0],T=y[1];return e.setTwoToneColors({primaryColor:E,secondaryColor:T})}function l(){var g=e.getTwoToneColors();return g.calculated?[g.primaryColor,g.secondaryColor]:g.primaryColor}var u=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];a("#1890ff");var h=b.forwardRef(function(g,v){var y,E=g.className,T=g.icon,w=g.spin,S=g.rotate,I=g.tabIndex,L=g.onClick,O=g.twoToneColor,N=Object(A.a)(g,u),R=b.useContext(c.a),D=R.prefixCls,B=D===void 0?"anticon":D,M=p()(B,(y={},Object(C.a)(y,"".concat(B,"-").concat(T.name),!!T.name),Object(C.a)(y,"".concat(B,"-spin"),!!w||T.name==="loading"),y),E),U=I;U===void 0&&L&&(U=-1);var F=S?{msTransform:"rotate(".concat(S,"deg)"),transform:"rotate(".concat(S,"deg)")}:void 0,j=Object(o.d)(O),W=Object(x.a)(j,2),V=W[0],z=W[1];return b.createElement("span",Object(_.a)(Object(_.a)({role:"img","aria-label":T.name},N),{},{ref:v,tabIndex:U,onClick:L,className:M}),b.createElement(e,{icon:T,primaryColor:V,secondaryColor:z,style:F}))});h.displayName="AntdIcon",h.getTwoToneColor=l,h.setTwoToneColor=a;var f=k.a=h},"6cGi":function(H,k,d){"use strict";d.d(k,"a",function(){return b});var _=d("ODXe"),x=d("q1tI"),C=d.n(x),A=d("dm2S");function b(m,p){var c=p||{},o=c.defaultValue,r=c.value,i=c.onChange,n=c.postState,t=Object(A.a)(function(){return r!==void 0?r:o!==void 0?typeof o=="function"?o():o:typeof m=="function"?m():m}),s=Object(_.a)(t,2),e=s[0],a=s[1],l=r!==void 0?r:e;n&&(l=n(l));var u=x.useRef(i);u.current=i;var h=x.useCallback(function(g,v){a(g,v),l!==g&&u.current&&u.current(g,l)},[l,u]),f=x.useRef(r);return x.useEffect(function(){r===void 0&&r!==f.current&&a(r),f.current=r},[r]),[l,h]}},"6fms":function(H,k,d){var _=d("SUKs"),x=d("06Qe"),C=d("bYtY"),A=C.each;function b(o){return parseInt(o,10)}function m(o,r){x.initVML(),this.root=o,this.storage=r;var i=document.createElement("div"),n=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",n.style.cssText="position:absolute;left:0;top:0;",o.appendChild(i),this._vmlRoot=n,this._vmlViewport=i,this.resize();var t=r.delFromStorage,s=r.addToStorage;r.delFromStorage=function(e){t.call(r,e),e&&(e.onRemove&&e.onRemove(n))},r.addToStorage=function(e){e.onAdd&&e.onAdd(n),s.call(r,e)},this._firstPaint=!0}m.prototype={constructor:m,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var r=this.getViewportRoot();if(r)return{offsetLeft:r.offsetLeft||0,offsetTop:r.offsetTop||0}},refresh:function(){var r=this.storage.getDisplayList(!0,!0);this._paintList(r)},_paintList:function(r){for(var i=this._vmlRoot,n=0;n<r.length;n++){var t=r[n];t.invisible||t.ignore?(t.__alreadyNotVisible||t.onRemove(i),t.__alreadyNotVisible=!0):(t.__alreadyNotVisible&&t.onAdd(i),t.__alreadyNotVisible=!1,t.__dirty&&(t.beforeBrush&&t.beforeBrush(),(t.brushVML||t.brush).call(t,i),t.afterBrush&&t.afterBrush())),t.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(i),this._firstPaint=!1)},resize:function(r,i){var r=r==null?this._getWidth():r,i=i==null?this._getHeight():i;if(this._width!==r||this._height!==i){this._width=r,this._height=i;var n=this._vmlViewport.style;n.width=r+"px",n.height=i+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var r=this.root,i=r.currentStyle;return(r.clientWidth||b(i.width))-b(i.paddingLeft)-b(i.paddingRight)|0},_getHeight:function(){var r=this.root,i=r.currentStyle;return(r.clientHeight||b(i.height))-b(i.paddingTop)-b(i.paddingBottom)|0}};function p(o){return function(){_('In IE8.0 VML mode painter not support method "'+o+'"')}}A(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(o){m.prototype[o]=p(o)});var c=m;H.exports=c},"6r85":function(H,k,d){var _=d("bYtY");function x(C){if(!C||!_.isArray(C.series))return;_.each(C.series,function(A){_.isObject(A)&&A.type==="k"&&(A.type="candlestick")})}H.exports=x},"6uqw":function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("ItGF"),A=d("YOMW"),b=d("XxSj"),m=d("K4ya"),p=d("4NO4"),c=d("OELB"),o=b.mapVisual,r=b.eachVisual,i=x.isArray,n=x.each,t=c.asc,s=c.linearMap,e=x.noop,a=_.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(u,h,f){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(u,f)},optionUpdated:function(u,h){var f=this.option;C.canvasSupported||(f.realtime=!1),!h&&m.replaceVisualOption(f,u,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(u){var h=this.stateList;u=x.bind(u,this),this.controllerVisuals=m.createVisualMappings(this.option.controller,h,u),this.targetVisuals=m.createVisualMappings(this.option.target,h,u)},getTargetSeriesIndices:function(){var u=this.option.seriesIndex,h=[];return u==null||u==="all"?this.ecModel.eachSeries(function(f,g){h.push(g)}):h=p.normalizeToArray(u),h},eachTargetSeries:function(u,h){x.each(this.getTargetSeriesIndices(),function(f){u.call(h,this.ecModel.getSeriesByIndex(f))},this)},isTargetSeries:function(u){var h=!1;return this.eachTargetSeries(function(f){f===u&&(h=!0)}),h},formatValueText:function(u,h,f){var g=this.option,v=g.precision,y=this.dataBound,E=g.formatter,T,w;if(f=f||["<",">"],x.isArray(u)&&(u=u.slice(),T=!0),w=h?u:T?[S(u[0]),S(u[1])]:S(u),x.isString(E))return E.replace("{value}",T?w[0]:w).replace("{value2}",T?w[1]:w);if(x.isFunction(E))return T?E(u[0],u[1]):E(u);if(T)return u[0]===y[0]?f[0]+" "+w[1]:u[1]===y[1]?f[1]+" "+w[0]:w[0]+" - "+w[1];return w;function S(I){return I===y[0]?"min":I===y[1]?"max":(+I).toFixed(Math.min(v,20))}},resetExtent:function(){var u=this.option,h=t([u.min,u.max]);this._dataExtent=h},getDataDimension:function(u){var h=this.option.dimension,f=u.dimensions;if(h==null&&!f.length)return;if(h!=null)return u.getDimension(h);for(var g=u.dimensions,v=g.length-1;v>=0;v--){var y=g[v],E=u.getDimensionInfo(y);if(!E.isCalculationCoord)return y}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var u=this.ecModel,h=this.option,f={inRange:h.inRange,outOfRange:h.outOfRange},g=h.target||(h.target={}),v=h.controller||(h.controller={});x.merge(g,f),x.merge(v,f);var y=this.isCategory();E.call(this,g),E.call(this,v),T.call(this,g,"inRange","outOfRange"),w.call(this,v);function E(S){i(h.color)&&!S.inRange&&(S.inRange={color:h.color.slice().reverse()}),S.inRange=S.inRange||{color:u.get("gradientColor")},n(this.stateList,function(I){var L=S[I];if(x.isString(L)){var O=A.get(L,"active",y);O?(S[I]={},S[I][L]=O):delete S[I]}},this)}function T(S,I,L){var O=S[I],N=S[L];O&&!N&&(N=S[L]={},n(O,function(R,D){if(!b.isValidType(D))return;var B=A.get(D,"inactive",y);B!=null&&(N[D]=B,D==="color"&&!N.hasOwnProperty("opacity")&&!N.hasOwnProperty("colorAlpha")&&(N.opacity=[0,0]))}))}function w(S){var I=(S.inRange||{}).symbol||(S.outOfRange||{}).symbol,L=(S.inRange||{}).symbolSize||(S.outOfRange||{}).symbolSize,O=this.get("inactiveColor");n(this.stateList,function(N){var R=this.itemSize,D=S[N];D||(D=S[N]={color:y?O:[O]}),D.symbol==null&&(D.symbol=I&&x.clone(I)||(y?"roundRect":["roundRect"])),D.symbolSize==null&&(D.symbolSize=L&&x.clone(L)||(y?R[0]:[R[0],R[0]])),D.symbol=o(D.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var B=D.symbolSize;if(B!=null){var M=-Infinity;r(B,function(U){U>M&&(M=U)}),D.symbolSize=o(B,function(U){return s(U,[0,M],[0,R[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:e,getValueState:e,getVisualMeta:e}),l=a;H.exports=l},"6usn":function(H,k,d){var _=d("bYtY");function x(A,b){return _.map(["Radius","Angle"],function(m,p){var c=this["get"+m+"Axis"](),o=b[p],r=A[p]/2,i="dataTo"+m,n=c.type==="category"?c.getBandWidth():Math.abs(c[i](o-r)-c[i](o+r));return m==="Angle"&&(n=n*Math.PI/180),n},this)}function C(A){var b=A.getRadiusAxis(),m=A.getAngleAxis(),p=b.getExtent();return p[0]>p[1]&&p.reverse(),{coordSys:{type:"polar",cx:A.cx,cy:A.cy,r:p[1],r0:p[0]},api:{coord:_.bind(function(c){var o=b.dataToRadius(c[0]),r=m.dataToAngle(c[1]),i=A.coordToPoint([o,r]);return i.push(o,r*Math.PI/180),i}),size:_.bind(x,A)}}}H.exports=C},"6xvX":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("V7ic"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},"711d":function(H,k){function d(_){return function(x){return x==null?void 0:x[_]}}H.exports=d},"72pK":function(H,k){function d(C,A,b,m,p,c){C=C||0;var o=b[1]-b[0];if(p!=null&&(p=x(p,[0,o])),c!=null&&(c=Math.max(c,p!=null?p:0)),m==="all"){var r=Math.abs(A[1]-A[0]);r=x(r,[0,o]),p=c=x(r,[p,c]),m=0}A[0]=x(A[0],b),A[1]=x(A[1],b);var i=_(A,m);A[m]+=C;var n=p||0,t=b.slice();i.sign<0?t[0]+=n:t[1]-=n,A[m]=x(A[m],t);var s=_(A,m);p!=null&&(s.sign!==i.sign||s.span<p)&&(A[1-m]=A[m]+i.sign*p);var s=_(A,m);return c!=null&&s.span>c&&(A[1-m]=A[m]+s.sign*c),A}function _(C,A){var b=C[A]-C[1-A];return{span:Math.abs(b),sign:b>0?-1:b<0?1:A?-1:1}}function x(C,A){return Math.min(A[1]!=null?A[1]:Infinity,Math.max(A[0]!=null?A[0]:-Infinity,C))}H.exports=d},"75ce":function(H,k,d){var _=d("ProS");d("IXuL"),d("8X+K");var x=d("f5Yq"),C=d("h8O9"),A=d("/d5a");d("Ae16"),_.registerVisual(x("line","circle","line")),_.registerLayout(C("line")),_.registerProcessor(_.PRIORITY.PROCESSOR.STATISTIC,A("line"))},"75ev":function(H,k,d){var _=d("ProS");d("IWNH"),d("bNin"),d("v5uJ");var x=d("f5Yq"),C=d("yik8");_.registerVisual(x("tree","circle")),_.registerLayout(C)},"7AJT":function(H,k,d){var _=d("bYtY"),x=d("hM6l"),C=function(b,m,p,c,o){x.call(this,b,m,p),this.type=c||"value",this.position=o||"bottom"};C.prototype={constructor:C,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var b=this.position;return b==="top"||b==="bottom"},getGlobalExtent:function(b){var m=this.getExtent();return m[0]=this.toGlobalCoord(m[0]),m[1]=this.toGlobalCoord(m[1]),b&&m[0]>m[1]&&m.reverse(),m},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(b,m){return this.coordToData(this.toLocalCoord(b[this.dim==="x"?0:1]),m)},toLocalCoord:null,toGlobalCoord:null},_.inherits(C,x);var A=C;H.exports=A},"7Cbv":function(H,k,d){"use strict";var _=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),x=new Uint8Array(16);function C(){if(!_)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return _(x)}var A=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function b(t){return typeof t=="string"&&A.test(t)}for(var m=b,p=[],c=0;c<256;++c)p.push((c+256).toString(16).substr(1));function o(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=(p[t[s+0]]+p[t[s+1]]+p[t[s+2]]+p[t[s+3]]+"-"+p[t[s+4]]+p[t[s+5]]+"-"+p[t[s+6]]+p[t[s+7]]+"-"+p[t[s+8]]+p[t[s+9]]+"-"+p[t[s+10]]+p[t[s+11]]+p[t[s+12]]+p[t[s+13]]+p[t[s+14]]+p[t[s+15]]).toLowerCase();if(!m(e))throw TypeError("Stringified UUID is invalid");return e}var r=o;function i(t,s,e){t=t||{};var a=t.random||(t.rng||C)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,s){e=e||0;for(var l=0;l<16;++l)s[e+l]=a[l];return s}return r(a)}var n=k.a=i},"7DRL":function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=C.createHashMap,b=C.isString,m=C.isArray,p=C.each,c=C.assert,o=d("MEGo"),r=o.parseXML,i=A(),n={registerMap:function(s,e,a){var l;return m(e)?l=e:e.svg?l=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(a=e.specialAreas,e=e.geoJson),l=[{type:"geoJSON",source:e,specialAreas:a}]),p(l,function(u){var h=u.type;h==="geoJson"&&(h=u.type="geoJSON");var f=t[h];f(u)}),i.set(s,l)},retrieveMap:function(s){return i.get(s)}},t={geoJSON:function(s){var e=s.source;s.geoJSON=b(e)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(s){s.svgXML=r(s.source)}};H.exports=n},"7G+c":function(H,k,d){var _=d("bYtY"),x=_.createHashMap,C=_.isTypedArray,A=d("Yl7c"),b=A.enableClassCheck,m=d("k9D9"),p=m.SOURCE_FORMAT_ORIGINAL,c=m.SERIES_LAYOUT_BY_COLUMN,o=m.SOURCE_FORMAT_UNKNOWN,r=m.SOURCE_FORMAT_TYPED_ARRAY,i=m.SOURCE_FORMAT_KEYED_COLUMNS;function n(s){this.fromDataset=s.fromDataset,this.data=s.data||(s.sourceFormat===i?{}:[]),this.sourceFormat=s.sourceFormat||o,this.seriesLayoutBy=s.seriesLayoutBy||c,this.dimensionsDefine=s.dimensionsDefine,this.encodeDefine=s.encodeDefine&&x(s.encodeDefine),this.startIndex=s.startIndex||0,this.dimensionsDetectCount=s.dimensionsDetectCount}n.seriesDataToSource=function(s){return new n({data:s,sourceFormat:C(s)?r:p,fromDataset:!1})},b(n);var t=n;H.exports=t},"7Kak":function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("KPFz"),A=d.n(C)},"7Phj":function(H,k,d){var _=d("bYtY"),x=d("OELB"),C=x.parsePercent,A=_.each;function b(o){var r=m(o);A(r,function(i){var n=i.seriesModels;if(!n.length)return;p(i),A(n,function(t,s){c(t,i.boxOffsetList[s],i.boxWidthList[s])})})}function m(o){var r=[],i=[];return o.eachSeriesByType("boxplot",function(n){var t=n.getBaseAxis(),s=_.indexOf(i,t);s<0&&(s=i.length,i[s]=t,r[s]={axis:t,seriesModels:[]}),r[s].seriesModels.push(n)}),r}function p(o){var r,i=o.axis,n=o.seriesModels,t=n.length,s=o.boxWidthList=[],e=o.boxOffsetList=[],a=[],l;if(i.type==="category")l=i.getBandWidth();else{var u=0;A(n,function(y){u=Math.max(u,y.getData().count())}),r=i.getExtent(),Math.abs(r[1]-r[0])/u}A(n,function(y){var E=y.get("boxWidth");_.isArray(E)||(E=[E,E]),a.push([C(E[0],l)||0,C(E[1],l)||0])});var h=l*.8-2,f=h/t*.3,g=(h-f*(t-1))/t,v=g/2-h/2;A(n,function(y,E){e.push(v),v+=f+g,s.push(Math.min(Math.max(g,a[E][0]),a[E][1]))})}function c(o,r,i){var n=o.coordinateSystem,t=o.getData(),s=i/2,e=o.get("layout")==="horizontal"?0:1,a=1-e,l=["x","y"],u=t.mapDimension(l[e]),h=t.mapDimension(l[a],!0);if(u==null||h.length<5)return;for(var f=0;f<t.count();f++){var g=t.get(u,f),v=I(g,h[2],f),y=I(g,h[0],f),E=I(g,h[1],f),T=I(g,h[3],f),w=I(g,h[4],f),S=[];L(S,E,0),L(S,T,1),S.push(y,E,w,T),O(S,y),O(S,w),O(S,v),t.setItemLayout(f,{initBaseline:v[a],ends:S})}function I(N,R,D){var B=t.get(R,D),M=[];M[e]=N,M[a]=B;var U;return isNaN(N)||isNaN(B)?U=[NaN,NaN]:(U=n.dataToPoint(M),U[e]+=r),U}function L(N,R,D){var B=R.slice(),M=R.slice();B[e]+=s,M[e]-=s,D?N.push(B,M):N.push(M,B)}function O(N,R){var D=R.slice(),B=R.slice();D[e]-=s,B[e]+=s,N.push(D,B)}}H.exports=b},"7SHv":function(H,k,d){var _=d("LPTA"),x=_.devicePixelRatio,C=d("bYtY"),A=d("SUKs"),b=d("mFDi"),m=d("BPZU"),p=d("Xmg4"),c=d("mLcG"),o=d("Dagg"),r=d("ItGF"),i=1e5,n=314159,t=.01,s=.001;function e(T){return parseInt(T,10)}function a(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var l=new b(0,0,0,0),u=new b(0,0,0,0);function h(T,w,S){return l.copy(T.getBoundingRect()),T.transform&&l.applyTransform(T.transform),u.width=w,u.height=S,!l.intersect(u)}function f(T,w){if(T===w)return!1;if(!T||!w||T.length!==w.length)return!0;for(var S=0;S<T.length;S++)if(T[S]!==w[S])return!0;return!1}function g(T,w){for(var S=0;S<T.length;S++){var I=T[S];I.setTransform(w),w.beginPath(),I.buildPath(w,I.shape),w.clip(),I.restoreTransform(w)}}function v(T,w){var S=document.createElement("div");return S.style.cssText=["position:relative","width:"+T+"px","height:"+w+"px","padding:0","margin:0","border-width:0"].join(";")+";",S}var y=function(w,S,I){this.type="canvas";var L=!w.nodeName||w.nodeName.toUpperCase()==="CANVAS";this._opts=I=C.extend({},I||{}),this.dpr=I.devicePixelRatio||x,this._singleCanvas=L,this.root=w;var O=w.style;O&&(O["-webkit-tap-highlight-color"]="transparent",O["-webkit-user-select"]=O["user-select"]=O["-webkit-touch-callout"]="none",w.innerHTML=""),this.storage=S;var N=this._zlevelList=[],R=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,L){var B=w.width,M=w.height;I.width!=null&&(B=I.width),I.height!=null&&(M=I.height),this.dpr=I.devicePixelRatio||1,w.width=B*this.dpr,w.height=M*this.dpr,this._width=B,this._height=M;var U=new p(w,this,this.dpr);U.__builtin__=!0,U.initContext(),R[n]=U,U.zlevel=n,N.push(n),this._domRoot=w}else{this._width=this._getSize(0),this._height=this._getSize(1);var D=this._domRoot=v(this._width,this._height);w.appendChild(D)}this._hoverlayer=null,this._hoverElements=[]};y.prototype={constructor:y,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var w=this.getViewportRoot();if(w)return{offsetLeft:w.offsetLeft||0,offsetTop:w.offsetTop||0}},refresh:function(w){var S=this.storage.getDisplayList(!0),I=this._zlevelList;this._redrawId=Math.random(),this._paintList(S,w,this._redrawId);for(var L=0;L<I.length;L++){var O=I[L],N=this._layers[O];if(!N.__builtin__&&N.refresh){var R=L===0?this._backgroundColor:null;N.refresh(R)}}return this.refreshHover(),this},addHover:function(w,S){if(w.__hoverMir)return;var I=new w.constructor({style:w.style,shape:w.shape,z:w.z,z2:w.z2,silent:w.silent});return I.__from=w,w.__hoverMir=I,S&&I.setStyle(S),this._hoverElements.push(I),I},removeHover:function(w){var S=w.__hoverMir,I=this._hoverElements,L=C.indexOf(I,S);L>=0&&I.splice(L,1),w.__hoverMir=null},clearHover:function(w){for(var S=this._hoverElements,I=0;I<S.length;I++){var L=S[I].__from;L&&(L.__hoverMir=null)}S.length=0},refreshHover:function(){var w=this._hoverElements,S=w.length,I=this._hoverlayer;if(I&&I.clear(),!S)return;m(w,this.storage.displayableSortFunc),I||(I=this._hoverlayer=this.getLayer(i));var L={};I.ctx.save();for(var O=0;O<S;){var N=w[O],R=N.__from;if(!(R&&R.__zr)){w.splice(O,1),R.__hoverMir=null,S--;continue}O++,R.invisible||(N.transform=R.transform,N.invTransform=R.invTransform,N.__clipPaths=R.__clipPaths,this._doPaintEl(N,I,!0,L))}I.ctx.restore()},getHoverLayer:function(){return this.getLayer(i)},_paintList:function(w,S,I){if(this._redrawId!==I)return;S=S||!1,this._updateLayerStatus(w);var L=this._doPaintList(w,S);if(this._needsManuallyCompositing&&this._compositeManually(),!L){var O=this;c(function(){O._paintList(w,S,I)})}},_compositeManually:function(){var w=this.getLayer(n).ctx,S=this._domRoot.width,I=this._domRoot.height;w.clearRect(0,0,S,I),this.eachBuiltinLayer(function(L){L.virtual&&w.drawImage(L.dom,0,0,S,I)})},_doPaintList:function(w,S){for(var I=[],L=0;L<this._zlevelList.length;L++){var O=this._zlevelList[L],N=this._layers[O];N.__builtin__&&N!==this._hoverlayer&&(N.__dirty||S)&&I.push(N)}for(var R=!0,D=0;D<I.length;D++){var N=I[D],B=N.ctx,M={};B.save();var U=S?N.__startIndex:N.__drawIndex,F=!S&&N.incremental&&Date.now,j=F&&Date.now(),W=N.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(N.__startIndex===N.__endIndex)N.clear(!1,W);else if(U===N.__startIndex){var V=w[U];(!V.incremental||!V.notClear||S)&&N.clear(!1,W)}U===-1&&(console.error("For some unknown reason. drawIndex is -1"),U=N.__startIndex);for(var z=U;z<N.__endIndex;z++){var Y=w[z];if(this._doPaintEl(Y,N,S,M),Y.__dirty=Y.__dirtyText=!1,F){var J=Date.now()-j;if(J>15)break}}N.__drawIndex=z,N.__drawIndex<N.__endIndex&&(R=!1),M.prevElClipPaths&&B.restore(),B.restore()}return r.wxa&&C.each(this._layers,function(ie){ie&&ie.ctx&&ie.ctx.draw&&ie.ctx.draw()}),R},_doPaintEl:function(w,S,I,L){var O=S.ctx,N=w.transform;if((S.__dirty||I)&&!w.invisible&&w.style.opacity!==0&&!(N&&!N[0]&&!N[3])&&!(w.culling&&h(w,this._width,this._height))){var R=w.__clipPaths,D=L.prevElClipPaths;(!D||f(R,D))&&(D&&(O.restore(),L.prevElClipPaths=null,L.prevEl=null),R&&(O.save(),g(R,O),L.prevElClipPaths=R)),w.beforeBrush&&w.beforeBrush(O),w.brush(O,L.prevEl||null),L.prevEl=w,w.afterBrush&&w.afterBrush(O)}},getLayer:function(w,S){this._singleCanvas&&!this._needsManuallyCompositing&&(w=n);var I=this._layers[w];return I||(I=new p("zr_"+w,this,this.dpr),I.zlevel=w,I.__builtin__=!0,this._layerConfig[w]?C.merge(I,this._layerConfig[w],!0):this._layerConfig[w-t]&&C.merge(I,this._layerConfig[w-t],!0),S&&(I.virtual=S),this.insertLayer(w,I),I.initContext()),I},insertLayer:function(w,S){var I=this._layers,L=this._zlevelList,O=L.length,N=null,R=-1,D=this._domRoot;if(I[w]){A("ZLevel "+w+" has been used already");return}if(!a(S)){A("Layer of zlevel "+w+" is not valid");return}if(O>0&&w>L[0]){for(R=0;R<O-1&&!(L[R]<w&&L[R+1]>w);R++);N=I[L[R]]}if(L.splice(R+1,0,w),I[w]=S,!S.virtual)if(N){var B=N.dom;B.nextSibling?D.insertBefore(S.dom,B.nextSibling):D.appendChild(S.dom)}else D.firstChild?D.insertBefore(S.dom,D.firstChild):D.appendChild(S.dom)},eachLayer:function(w,S){var I=this._zlevelList,L,O;for(O=0;O<I.length;O++)L=I[O],w.call(S,this._layers[L],L)},eachBuiltinLayer:function(w,S){var I=this._zlevelList,L,O,N;for(N=0;N<I.length;N++)O=I[N],L=this._layers[O],L.__builtin__&&w.call(S,L,O)},eachOtherLayer:function(w,S){var I=this._zlevelList,L,O,N;for(N=0;N<I.length;N++)O=I[N],L=this._layers[O],L.__builtin__||w.call(S,L,O)},getLayers:function(){return this._layers},_updateLayerStatus:function(w){this.eachBuiltinLayer(function(M,U){M.__dirty=M.__used=!1});function S(M){O&&(O.__endIndex!==M&&(O.__dirty=!0),O.__endIndex=M)}if(this._singleCanvas)for(var I=1;I<w.length;I++){var L=w[I];if(L.zlevel!==w[I-1].zlevel||L.incremental){this._needsManuallyCompositing=!0;break}}for(var O=null,N=0,R,I=0;I<w.length;I++){var L=w[I],D=L.zlevel,B;R!==D&&(R=D,N=0),L.incremental?(B=this.getLayer(D+s,this._needsManuallyCompositing),B.incremental=!0,N=1):B=this.getLayer(D+(N>0?t:0),this._needsManuallyCompositing),B.__builtin__||A("ZLevel "+D+" has been used by unkown layer "+B.id),B!==O&&(B.__used=!0,B.__startIndex!==I&&(B.__dirty=!0),B.__startIndex=I,B.incremental?B.__drawIndex=-1:B.__drawIndex=I,S(I),O=B),L.__dirty&&(B.__dirty=!0,B.incremental&&B.__drawIndex<0&&(B.__drawIndex=I))}S(I),this.eachBuiltinLayer(function(M,U){!M.__used&&M.getElementCount()>0&&(M.__dirty=!0,M.__startIndex=M.__endIndex=M.__drawIndex=0),M.__dirty&&M.__drawIndex<0&&(M.__drawIndex=M.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(w){w.clear()},setBackgroundColor:function(w){this._backgroundColor=w},configLayer:function(w,S){if(S){var I=this._layerConfig;I[w]?C.merge(I[w],S,!0):I[w]=S;for(var L=0;L<this._zlevelList.length;L++){var O=this._zlevelList[L];if(O===w||O===w+t){var N=this._layers[O];C.merge(N,I[w],!0)}}}},delLayer:function(w){var S=this._layers,I=this._zlevelList,L=S[w];if(!L)return;L.dom.parentNode.removeChild(L.dom),delete S[w],I.splice(C.indexOf(I,w),1)},resize:function(w,S){if(this._domRoot.style){var I=this._domRoot;I.style.display="none";var L=this._opts;if(w!=null&&(L.width=w),S!=null&&(L.height=S),w=this._getSize(0),S=this._getSize(1),I.style.display="",this._width!==w||S!==this._height){I.style.width=w+"px",I.style.height=S+"px";for(var O in this._layers)this._layers.hasOwnProperty(O)&&this._layers[O].resize(w,S);C.each(this._progressiveLayers,function(N){N.resize(w,S)}),this.refresh(!0)}this._width=w,this._height=S}else{if(w==null||S==null)return;this._width=w,this._height=S,this.getLayer(n).resize(w,S)}return this},clearLayer:function(w){var S=this._layers[w];S&&S.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(w){if(w=w||{},this._singleCanvas&&!this._compositeManually)return this._layers[n].dom;var S=new p("image",this,w.pixelRatio||this.dpr);if(S.initContext(),S.clear(!1,w.backgroundColor||this._backgroundColor),w.pixelRatio<=this.dpr){this.refresh();var I=S.dom.width,L=S.dom.height,O=S.ctx;this.eachLayer(function(M){M.__builtin__?O.drawImage(M.dom,0,0,I,L):M.renderToCanvas&&(S.ctx.save(),M.renderToCanvas(S.ctx),S.ctx.restore())})}else for(var N={},R=this.storage.getDisplayList(!0),D=0;D<R.length;D++){var B=R[D];this._doPaintEl(B,S,!0,N)}return S.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(w){var S=this._opts,I=["width","height"][w],L=["clientWidth","clientHeight"][w],O=["paddingLeft","paddingTop"][w],N=["paddingRight","paddingBottom"][w];if(S[I]!=null&&S[I]!=="auto")return parseFloat(S[I]);var R=this.root,D=document.defaultView.getComputedStyle(R);return(R[L]||e(D[I])||e(R.style[I]))-(e(D[O])||0)-(e(D[N])||0)|0},pathToImage:function(w,S){S=S||this.dpr;var I=document.createElement("canvas"),L=I.getContext("2d"),O=w.getBoundingRect(),N=w.style,R=N.shadowBlur*S,D=N.shadowOffsetX*S,B=N.shadowOffsetY*S,M=N.hasStroke()?N.lineWidth:0,U=Math.max(M/2,-D+R),F=Math.max(M/2,D+R),j=Math.max(M/2,-B+R),W=Math.max(M/2,B+R),V=O.width+U+F,z=O.height+j+W;I.width=V*S,I.height=z*S,L.scale(S,S),L.clearRect(0,0,V,z),L.dpr=S;var Y={position:w.position,rotation:w.rotation,scale:w.scale};w.position=[U-O.x,j-O.y],w.rotation=0,w.scale=[1,1],w.updateTransform(),w&&w.brush(L);var J=o,ie=new J({style:{x:0,y:0,image:I}});return Y.position!=null&&(ie.position=w.position=Y.position),Y.rotation!=null&&(ie.rotation=w.rotation=Y.rotation),Y.scale!=null&&(ie.scale=w.scale=Y.scale),ie}};var E=y;H.exports=E},"7a+S":function(H,k,d){var _=d("bYtY"),x=d("bLfw"),C=d("YXkt"),A=d("4NO4"),b=x.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(p,c,o){this._data,this._names,this.mergeDefaultAndTheme(p,o),this._initData()},mergeOption:function(p){b.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(p){p==null&&(p=this.option.currentIndex);var c=this._data.count();this.option.loop?p=(p%c+c)%c:(p>=c&&(p=c-1),p<0&&(p=0)),this.option.currentIndex=p},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(p){this.option.autoPlay=!!p},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var p=this.option,c=p.data||[],o=p.axisType,r=this._names=[];if(o==="category"){var i=[];_.each(c,function(s,e){var a=A.getDataItemValue(s),l;_.isObject(s)?(l=_.clone(s),l.value=e):l=e,i.push(l),!_.isString(a)&&(a==null||isNaN(a))&&(a=""),r.push(a+"")}),c=i}var n={category:"ordinal",time:"time"}[o]||"number",t=this._data=new C([{name:"value",type:n}],this);t.initData(c,r)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),m=b;H.exports=m},"7aKB":function(H,k,d){var _=d("bYtY"),x=d("6GrX"),C=d("OELB");function A(v){return isNaN(v)?"-":(v=(v+"").split("."),v[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(v.length>1?"."+v[1]:""))}function b(v,y){return v=(v||"").toLowerCase().replace(/-(.)/g,function(E,T){return T.toUpperCase()}),y&&v&&(v=v.charAt(0).toUpperCase()+v.slice(1)),v}var m=_.normalizeCssArray,p=/([&<>"'])/g,c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function o(v){return v==null?"":(v+"").replace(p,function(y,E){return c[E]})}var r=["a","b","c","d","e","f","g"],i=function(v,y){return"{"+v+(y==null?"":y)+"}"};function n(v,y,E){_.isArray(y)||(y=[y]);var T=y.length;if(!T)return"";for(var w=y[0].$vars||[],S=0;S<w.length;S++){var I=r[S];v=v.replace(i(I),i(I,0))}for(var L=0;L<T;L++)for(var O=0;O<w.length;O++){var N=y[L][w[O]];v=v.replace(i(r[O],L),E?o(N):N)}return v}function t(v,y,E){return _.each(y,function(T,w){v=v.replace("{"+w+"}",E?o(T):T)}),v}function s(v,y){v=_.isString(v)?{color:v,extraCssText:y}:v||{};var E=v.color,T=v.type,y=v.extraCssText,w=v.renderMode||"html",S=v.markerId||"X";return E?w==="html"?T==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+o(E)+";"+(y||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+o(E)+";"+(y||"")+'"></span>':{renderMode:w,content:"{marker"+S+"|} ",style:{color:E}}:""}function e(v,y){return v+="","0000".substr(0,y-v.length)+v}function a(v,y,E){(v==="week"||v==="month"||v==="quarter"||v==="half-year"||v==="year")&&(v=`MM-dd
yyyy`);var T=C.parseDate(y),w=E?"UTC":"",S=T["get"+w+"FullYear"](),I=T["get"+w+"Month"]()+1,L=T["get"+w+"Date"](),O=T["get"+w+"Hours"](),N=T["get"+w+"Minutes"](),R=T["get"+w+"Seconds"](),D=T["get"+w+"Milliseconds"]();return v=v.replace("MM",e(I,2)).replace("M",I).replace("yyyy",S).replace("yy",S%100).replace("dd",e(L,2)).replace("d",L).replace("hh",e(O,2)).replace("h",O).replace("mm",e(N,2)).replace("m",N).replace("ss",e(R,2)).replace("s",R).replace("SSS",e(D,3)),v}function l(v){return v&&v.charAt(0).toUpperCase()+v.substr(1)}var u=x.truncateText;function h(v){return x.getBoundingRect(v.text,v.font,v.textAlign,v.textVerticalAlign,v.textPadding,v.textLineHeight,v.rich,v.truncate)}function f(v,y,E,T,w,S,I,L){return x.getBoundingRect(v,y,E,T,w,L,S,I)}function g(v,y){if(y==="_blank"||y==="blank"){var E=window.open();E.opener=null,E.location=v}else window.open(v,y)}k.addCommas=A,k.toCamelCase=b,k.normalizeCssArray=m,k.encodeHTML=o,k.formatTpl=n,k.formatTplSimple=t,k.getTooltipMarker=s,k.formatTime=a,k.capitalFirst=l,k.truncateText=u,k.getTextBoundingRect=h,k.getTextRect=f,k.windowOpen=g},"7bkD":function(H,k,d){var _=d("bYtY");function x(C,A){A=A||{};var b=C.coordinateSystem,m=C.axis,p={},c=m.position,o=m.orient,r=b.getRect(),i=[r.x,r.x+r.width,r.y,r.y+r.height],n={horizontal:{top:i[2],bottom:i[3]},vertical:{left:i[0],right:i[1]}};p.position=[o==="vertical"?n.vertical[c]:i[0],o==="horizontal"?n.horizontal[c]:i[3]];var t={horizontal:0,vertical:1};p.rotation=Math.PI/2*t[o];var s={top:-1,bottom:1,right:1,left:-1};p.labelDirection=p.tickDirection=p.nameDirection=s[c],C.get("axisTick.inside")&&(p.tickDirection=-p.tickDirection),_.retrieve(A.labelInside,C.get("axisLabel.inside"))&&(p.labelDirection=-p.labelDirection);var e=A.rotate;return e==null&&(e=C.get("axisLabel.rotate")),p.labelRotation=c==="top"?-e:e,p.z2=1,p}k.layout=x},"7hqr":function(H,k,d){var _=d("bYtY"),x=_.each,C=_.isString;function A(p,c,o){o=o||{};var r=o.byIndex,i=o.stackedCoordDimension,n=!!(p&&p.get("stack")),t,s,e,a;if(x(c,function(f,g){C(f)&&(c[g]=f={name:f}),n&&!f.isExtraCoord&&(!r&&!t&&f.ordinalMeta&&(t=f),!s&&f.type!=="ordinal"&&f.type!=="time"&&(!i||i===f.coordDim)&&(s=f))}),s&&!r&&!t&&(r=!0),s){e="__\0ecstackresult",a="__\0ecstackedover",t&&(t.createInvertedIndices=!0);var l=s.coordDim,u=s.type,h=0;x(c,function(f){f.coordDim===l&&h++}),c.push({name:e,coordDim:l,coordDimIndex:h,type:u,isExtraCoord:!0,isCalculationCoord:!0}),h++,c.push({name:a,coordDim:a,coordDimIndex:h,type:u,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:s&&s.name,stackedByDimension:t&&t.name,isStackedByIndex:r,stackedOverDimension:a,stackResultDimension:e}}function b(p,c){return!!c&&c===p.getCalculationInfo("stackedDimension")}function m(p,c){return b(p,c)?p.getCalculationInfo("stackResultDimension"):c}k.enableDataStack=A,k.isDimensionStacked=b,k.getStackedDimension=m},"7mYs":function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("IwbS"),A=d("7aKB"),b=d("OELB"),m={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"]},p={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},c=_.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(o,r,i){var n=this.group;n.removeAll();var t=o.coordinateSystem,s=t.getRangeInfo(),e=t.getOrient();this._renderDayRect(o,s,n),this._renderLines(o,s,e,n),this._renderYearText(o,s,e,n),this._renderMonthText(o,e,n),this._renderWeekText(o,s,e,n)},_renderDayRect:function(o,r,i){for(var n=o.coordinateSystem,t=o.getModel("itemStyle").getItemStyle(),s=n.getCellWidth(),e=n.getCellHeight(),a=r.start.time;a<=r.end.time;a=n.getNextNDay(a,1).time){var l=n.dataToRect([a],!1).tl,u=new C.Rect({shape:{x:l[0],y:l[1],width:s,height:e},cursor:"default",style:t});i.add(u)}},_renderLines:function(o,r,i,n){var t=this,s=o.coordinateSystem,e=o.getModel("splitLine.lineStyle").getLineStyle(),a=o.get("splitLine.show"),l=e.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=r.start,h=0;u.time<=r.end.time;h++){g(u.formatedDate),h===0&&(u=s.getDateInfo(r.start.y+"-"+r.start.m));var f=u.date;f.setMonth(f.getMonth()+1),u=s.getDateInfo(f)}g(s.getNextNDay(r.end.time,1).formatedDate);function g(v){t._firstDayOfMonth.push(s.getDateInfo(v)),t._firstDayPoints.push(s.dataToRect([v],!1).tl);var y=t._getLinePointsOfOneWeek(o,v,i);t._tlpoints.push(y[0]),t._blpoints.push(y[y.length-1]),a&&t._drawSplitline(y,e,n)}a&&this._drawSplitline(t._getEdgesPoints(t._tlpoints,l,i),e,n),a&&this._drawSplitline(t._getEdgesPoints(t._blpoints,l,i),e,n)},_getEdgesPoints:function(o,r,i){var n=[o[0].slice(),o[o.length-1].slice()],t=i==="horizontal"?0:1;return n[0][t]=n[0][t]-r/2,n[1][t]=n[1][t]+r/2,n},_drawSplitline:function(o,r,i){var n=new C.Polyline({z2:20,shape:{points:o},style:r});i.add(n)},_getLinePointsOfOneWeek:function(o,r,i){var n=o.coordinateSystem;r=n.getDateInfo(r);for(var t=[],s=0;s<7;s++){var e=n.getNextNDay(r.time,s),a=n.dataToRect([e.time],!1);t[2*e.day]=a.tl,t[2*e.day+1]=a[i==="horizontal"?"bl":"tr"]}return t},_formatterLabel:function(o,r){return typeof o=="string"&&o?A.formatTplSimple(o,r):typeof o=="function"?o(r):r.nameMap},_yearTextPositionControl:function(o,r,i,n,t){r=r.slice();var s=["center","bottom"];n==="bottom"?(r[1]+=t,s=["center","top"]):n==="left"?r[0]-=t:n==="right"?(r[0]+=t,s=["center","top"]):r[1]-=t;var e=0;return(n==="left"||n==="right")&&(e=Math.PI/2),{rotation:e,position:r,style:{textAlign:s[0],textVerticalAlign:s[1]}}},_renderYearText:function(o,r,i,n){var t=o.getModel("yearLabel");if(!t.get("show"))return;var s=t.get("margin"),e=t.get("position");e||(e=i!=="horizontal"?"top":"left");var a=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(a[0][0]+a[1][0])/2,u=(a[0][1]+a[1][1])/2,h=i==="horizontal"?0:1,f={top:[l,a[h][1]],bottom:[l,a[1-h][1]],left:[a[1-h][0],u],right:[a[h][0],u]},g=r.start.y;+r.end.y>+r.start.y&&(g=g+"-"+r.end.y);var v=t.get("formatter"),y={start:r.start.y,end:r.end.y,nameMap:g},E=this._formatterLabel(v,y),T=new C.Text({z2:30});C.setTextStyle(T.style,t,{text:E}),T.attr(this._yearTextPositionControl(T,f[e],i,e,s)),n.add(T)},_monthTextPositionControl:function(o,r,i,n,t){var s="left",e="top",a=o[0],l=o[1];return i==="horizontal"?(l=l+t,r&&(s="center"),n==="start"&&(e="bottom")):(a=a+t,r&&(e="middle"),n==="start"&&(s="right")),{x:a,y:l,textAlign:s,textVerticalAlign:e}},_renderMonthText:function(o,r,i){var n=o.getModel("monthLabel");if(!n.get("show"))return;var t=n.get("nameMap"),s=n.get("margin"),e=n.get("position"),a=n.get("align"),l=[this._tlpoints,this._blpoints];x.isString(t)&&(t=m[t.toUpperCase()]||[]);var u=e==="start"?0:1,h=r==="horizontal"?0:1;s=e==="start"?-s:s;for(var f=a==="center",g=0;g<l[u].length-1;g++){var v=l[u][g].slice(),y=this._firstDayOfMonth[g];if(f){var E=this._firstDayPoints[g];v[h]=(E[h]+l[0][g+1][h])/2}var T=n.get("formatter"),w=t[+y.m-1],S={yyyy:y.y,yy:(y.y+"").slice(2),MM:y.m,M:+y.m,nameMap:w},I=this._formatterLabel(T,S),L=new C.Text({z2:30});x.extend(C.setTextStyle(L.style,n,{text:I}),this._monthTextPositionControl(v,f,r,e,s)),i.add(L)}},_weekTextPositionControl:function(o,r,i,n,t){var s="center",e="middle",a=o[0],l=o[1],u=i==="start";return r==="horizontal"?(a=a+n+(u?1:-1)*t[0]/2,s=u?"right":"left"):(l=l+n+(u?1:-1)*t[1]/2,e=u?"bottom":"top"),{x:a,y:l,textAlign:s,textVerticalAlign:e}},_renderWeekText:function(o,r,i,n){var t=o.getModel("dayLabel");if(!t.get("show"))return;var s=o.coordinateSystem,e=t.get("position"),a=t.get("nameMap"),l=t.get("margin"),u=s.getFirstDayOfWeek();x.isString(a)&&(a=p[a.toUpperCase()]||[]);var h=s.getNextNDay(r.end.time,7-r.lweek).time,f=[s.getCellWidth(),s.getCellHeight()];l=b.parsePercent(l,f[i==="horizontal"?0:1]),e==="start"&&(h=s.getNextNDay(r.start.time,-(7+r.fweek)).time,l=-l);for(var g=0;g<7;g++){var v=s.getNextNDay(h,g),y=s.dataToRect([v.time],!1).center,E=g;E=Math.abs((g+u)%7);var T=new C.Text({z2:30});x.extend(C.setTextStyle(T.style,t,{text:a[E]}),this._weekTextPositionControl(y,i,e,l,f)),n.add(T)}}});H.exports=c},"7oTu":function(H,k,d){var _=d("IMiH"),x=d("QBsz"),C=x.applyTransform,A=_.CMD,b=[[],[],[]],m=Math.sqrt,p=Math.atan2;function c(o,r){var i=o.data,n,t,s,e,a,l,u=A.M,h=A.C,f=A.L,g=A.R,v=A.A,y=A.Q;for(s=0,e=0;s<i.length;){n=i[s++],e=s,t=0;switch(n){case u:t=1;break;case f:t=1;break;case h:t=3;break;case y:t=2;break;case v:var E=r[4],T=r[5],w=m(r[0]*r[0]+r[1]*r[1]),S=m(r[2]*r[2]+r[3]*r[3]),I=p(-r[1]/S,r[0]/w);i[s]*=w,i[s++]+=E,i[s]*=S,i[s++]+=T,i[s++]*=w,i[s++]*=S,i[s++]+=I,i[s++]+=I,s+=2,e=s;break;case g:l[0]=i[s++],l[1]=i[s++],C(l,l,r),i[e++]=l[0],i[e++]=l[1],l[0]+=i[s++],l[1]+=i[s++],C(l,l,r),i[e++]=l[0],i[e++]=l[1]}for(a=0;a<t;a++){var l=b[a];l[0]=i[s++],l[1]=i[s++],C(l,l,r),i[e++]=l[0],i[e++]=l[1]}}}H.exports=c},"7pVf":function(H,k,d){var _=d("ProS"),x=d("ZqQs");d("oE7X"),d("OUJF"),d("3X6L"),d("NH9N"),_.registerPreprocessor(x)},"7ph2":function(H,k){function d(C){return C instanceof Array||(C=[C,C]),C}var _="lineStyle.opacity".split("."),x={seriesType:"lines",reset:function(C,A,b){var m=d(C.get("symbol")),p=d(C.get("symbolSize")),c=C.getData();c.setVisual("fromSymbol",m&&m[0]),c.setVisual("toSymbol",m&&m[1]),c.setVisual("fromSymbolSize",p&&p[0]),c.setVisual("toSymbolSize",p&&p[1]),c.setVisual("opacity",C.get(_));function o(r,i){var n=r.getItemModel(i),t=d(n.getShallow("symbol",!0)),s=d(n.getShallow("symbolSize",!0)),e=n.get(_);t[0]&&r.setItemVisual(i,"fromSymbol",t[0]),t[1]&&r.setItemVisual(i,"toSymbol",t[1]),s[0]&&r.setItemVisual(i,"fromSymbolSize",s[0]),s[1]&&r.setItemVisual(i,"toSymbolSize",s[1]),r.setItemVisual(i,"opacity",e)}return{dataEach:c.hasItemOption?o:null}}};H.exports=x},"7uqq":function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("AUH6"),m=d("+TT/"),p=d("OELB"),c=d("W4dC"),o=d("7DRL");function r(s,e){var a=s.get("boundingCoords");if(a!=null){var l=a[0],u=a[1];isNaN(l[0])||isNaN(l[1])||isNaN(u[0])||isNaN(u[1])||this.setBoundingRect(l[0],l[1],u[0]-l[0],u[1]-l[1])}var h=this.getBoundingRect(),f,g=s.get("layoutCenter"),v=s.get("layoutSize"),y=e.getWidth(),E=e.getHeight(),T=h.width/h.height*this.aspectScale,w=!1;g&&v&&(g=[p.parsePercent(g[0],y),p.parsePercent(g[1],E)],v=p.parsePercent(v,Math.min(y,E)),!isNaN(g[0])&&!isNaN(g[1])&&!isNaN(v)&&(w=!0));var S;if(w){var S={};T>1?(S.width=v,S.height=v/T):(S.height=v,S.width=v*T),S.y=g[1]-S.height/2,S.x=g[0]-S.width/2}else f=s.getBoxLayoutParams(),f.aspect=T,S=m.getLayoutRect(f,{width:y,height:E});this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(s.get("center")),this.setZoom(s.get("zoom"))}function i(s,e){A.each(e.get("geoCoord"),function(a,l){s.addGeoCoord(l,a)})}var n={dimensions:b.prototype.dimensions,create:function(s,e){var a=[];s.eachComponent("geo",function(u,h){var f=u.get("map"),g=u.get("aspectScale"),v=!0,y=o.retrieveMap(f);y&&y[0]&&y[0].type==="svg"?(g==null&&(g=1),v=!1):g==null&&(g=.75);var E=new b(f+h,f,u.get("nameMap"),v);E.aspectScale=g,E.zoomLimit=u.get("scaleLimit"),a.push(E),i(E,u),u.coordinateSystem=E,E.model=u,E.resize=r,E.resize(u,e)}),s.eachSeries(function(u){var h=u.get("coordinateSystem");if(h==="geo"){var f=u.get("geoIndex")||0;u.coordinateSystem=a[f]}});var l={};return s.eachSeriesByType("map",function(u){if(!u.getHostGeoModel()){var h=u.getMapType();l[h]=l[h]||[],l[h].push(u)}}),A.each(l,function(u,h){var f=A.map(u,function(v){return v.get("nameMap")}),g=new b(h,h,A.mergeAll(f));g.zoomLimit=A.retrieve.apply(null,A.map(u,function(v){return v.get("scaleLimit")})),a.push(g),g.resize=r,g.aspectScale=u[0].get("aspectScale"),g.resize(u[0],e),A.each(u,function(v){v.coordinateSystem=g,i(g,v)})}),a},getFilledRegions:function(s,e,a){for(var l=(s||[]).slice(),u=A.createHashMap(),h=0;h<l.length;h++)u.set(l[h].name,l[h]);var f=c.load(e,a);return A.each(f.regions,function(g){var v=g.name;!u.get(v)&&l.push({name:v})}),l}};C.registerCoordinateSystem("geo",n);var t=n;H.exports=t},"7yuC":function(H,k,d){var _=d("QBsz"),x=_.scaleAndAdd;function C(A,b,m){for(var p=m.rect,c=p.width,o=p.height,r=[p.x+c/2,p.y+o/2],i=m.gravity==null?.1:m.gravity,n=0;n<A.length;n++){var t=A[n];t.p||(t.p=_.create(c*(Math.random()-.5)+r[0],o*(Math.random()-.5)+r[1])),t.pp=_.clone(t.p),t.edges=null}var s=m.friction==null?.6:m.friction,e=s;return{warmUp:function(){e=s*.8},setFixed:function(a){A[a].fixed=!0},setUnfixed:function(a){A[a].fixed=!1},step:function(a){for(var l=[],u=A.length,h=0;h<b.length;h++){var f=b[h];if(f.ignoreForceLayout)continue;var g=f.n1,v=f.n2;_.sub(l,v.p,g.p);var y=_.len(l)-f.d,E=v.w/(g.w+v.w);isNaN(E)&&(E=0),_.normalize(l,l),!g.fixed&&x(g.p,g.p,l,E*y*e),!v.fixed&&x(v.p,v.p,l,-(1-E)*y*e)}for(var h=0;h<u;h++){var T=A[h];T.fixed||(_.sub(l,r,T.p),x(T.p,T.p,l,i*e))}for(var h=0;h<u;h++)for(var g=A[h],w=h+1;w<u;w++){var v=A[w];_.sub(l,v.p,g.p);var y=_.len(l);y===0&&(_.set(l,Math.random()-.5,Math.random()-.5),y=1);var S=(g.rep+v.rep)/y/y;!g.fixed&&x(g.pp,g.pp,l,S),!v.fixed&&x(v.pp,v.pp,l,-S)}for(var I=[],h=0;h<u;h++){var T=A[h];T.fixed||(_.sub(I,T.p,T.pp),x(T.p,T.p,I,e),_.copy(T.pp,T.p))}e=e*.992,a&&a(A,b,e<.01)}}}k.forceLayout=C},"8+yF":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _={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},x={lookup:function(A){if(A>=32&&A<=255)return A;var b=_[A];return b!==void 0?b:16777216|A}};k.default=x},"815F":function(H,k,d){"use strict";d.d(k,"e",function(){return p}),d.d(k,"c",function(){return o}),d.d(k,"d",function(){return r}),d.d(k,"a",function(){return n}),d.d(k,"f",function(){return t}),d.d(k,"b",function(){return s});var _=d("KQm4"),x=d("VTBJ"),C=d("Ff2n"),A=d("Zm9Q"),b=d("Kwbf"),m=d("OZM5");function p(e,a){return e!=null?e:a}function c(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=new Map;function l(u){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(u||[]).forEach(function(f){var g=f.key,v=f.children;Object(b.a)(g!=null,"Tree node must have a certain key: [".concat(h).concat(g,"]"));var y=String(g);Object(b.a)(!a.has(y)||g===null||g===void 0,"Same 'key' exist in the Tree: ".concat(y)),a.set(y,!0),l(v,"".concat(h).concat(y," > "))})}l(e)}function o(e){function a(l){var u=Object(A.a)(l);return u.map(function(h){if(!Object(m.i)(h))return Object(b.a)(!h,"Tree/TreeNode can only accept TreeNode as children."),null;var f=h.key,g=h.props,v=g.children,y=Object(C.a)(g,["children"]),E=Object(x.a)({key:f},y),T=a(v);return T.length&&(E.children=T),E}).filter(function(h){return h})}return a(e)}function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],l=new Set(a===!0?[]:a),u=[];function h(f){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return f.map(function(v,y){var E=Object(m.h)(g?g.pos:"0",y),T=p(v.key,E),w=Object(x.a)(Object(x.a)({},v),{},{parent:g,pos:E,children:null,data:v,isStart:[].concat(Object(_.a)(g?g.isStart:[]),[y===0]),isEnd:[].concat(Object(_.a)(g?g.isEnd:[]),[y===f.length-1])});return u.push(w),a===!0||l.has(T)?w.children=h(v.children||[],w):w.children=[],w})}return h(e),u}function i(e,a,l){var u;l?typeof l=="string"?u=function(g){return g[l]}:typeof l=="function"&&(u=function(g){return l(g)}):u=function(g,v){return p(g.key,v)};function h(f,g,v){var y=f?f.children:e,E=f?Object(m.h)(v.pos,g):"0";if(f){var T=u(f,E),w={node:f,index:g,pos:E,key:T,parentPos:v.node?v.pos:null,level:v.level+1};a(w)}y&&y.forEach(function(S,I){h(S,I,{node:f,pos:E,level:v?v.level+1:-1})})}h(null)}function n(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=a.initWrapper,u=a.processEntity,h=a.onProcessFinished,f=arguments.length>2?arguments[2]:void 0,g={},v={},y={posEntities:g,keyEntities:v};return l&&(y=l(y)||y),i(e,function(E){var T=E.node,w=E.index,S=E.pos,I=E.key,L=E.parentPos,O=E.level,N={node:T,index:w,key:I,pos:S,level:O},R=p(I,S);g[S]=N,v[R]=N,N.parent=g[L],N.parent&&(N.parent.children=N.parent.children||[],N.parent.children.push(N)),u&&u(N,y)},f),h&&h(y),y}function t(e,a){var l=a.expandedKeys,u=a.selectedKeys,h=a.loadedKeys,f=a.loadingKeys,g=a.checkedKeys,v=a.halfCheckedKeys,y=a.dragOverNodeKey,E=a.dropPosition,T=a.keyEntities,w=T[e],S={eventKey:e,expanded:l.indexOf(e)!==-1,selected:u.indexOf(e)!==-1,loaded:h.indexOf(e)!==-1,loading:f.indexOf(e)!==-1,checked:g.indexOf(e)!==-1,halfChecked:v.indexOf(e)!==-1,pos:String(w?w.pos:""),dragOver:y===e&&E===0,dragOverGapTop:y===e&&E===-1,dragOverGapBottom:y===e&&E===1};return S}function s(e){var a=e.data,l=e.expanded,u=e.selected,h=e.checked,f=e.loaded,g=e.loading,v=e.halfChecked,y=e.dragOver,E=e.dragOverGapTop,T=e.dragOverGapBottom,w=e.pos,S=e.active,I=Object(x.a)(Object(x.a)({},a),{},{expanded:l,selected:u,checked:h,loaded:f,loading:g,halfChecked:v,dragOver:y,dragOverGapTop:E,dragOverGapBottom:T,pos:w,active:S});return"props"in I||Object.defineProperty(I,"props",{get:function(){return Object(b.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),I}},"8CQX":function(H,k,d){"use strict";function _(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(a){return typeof a}:_=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_(s)}Object.defineProperty(k,"__esModule",{value:!0}),k.getKeycode=i,k.getKey=n,k.getKeysym=t;var x=r(d("mHUz")),C=r(d("8+yF")),A=r(d("6Qwc")),b=r(d("gIYZ")),m=r(d("mTgk")),p=o(d("GdRQ"));function c(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return c=function(){return s},s}function o(s){if(s&&s.__esModule)return s;if(s===null||_(s)!=="object"&&typeof s!="function")return{default:s};var e=c();if(e&&e.has(s))return e.get(s);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in s)if(Object.prototype.hasOwnProperty.call(s,u)){var h=l?Object.getOwnPropertyDescriptor(s,u):null;h&&(h.get||h.set)?Object.defineProperty(a,u,h):a[u]=s[u]}return a.default=s,e&&e.set(s,a),a}function r(s){return s&&s.__esModule?s:{default:s}}function i(s){if(s.code){switch(s.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return s.code}if(s.type!=="keypress"&&s.keyCode in A.default){var e=A.default[s.keyCode];if(p.isMac()&&e==="ContextMenu"&&(e="MetaRight"),s.location===2)switch(e){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(s.location===3)switch(e){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 e}return"Unidentified"}function n(s){if(s.key!==void 0){switch(s.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 s.char}switch(s.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(s.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(s.key==="\0"&&s.code==="NumpadDecimal")return"Delete";if(!p.isIE()&&!p.isEdge())return s.key;if(s.key.length!==1&&s.key!=="Unidentified")return s.key}var e=i(s);return e in b.default?b.default[e]:s.charCode?String.fromCharCode(s.charCode):"Unidentified"}function t(s){var e=n(s);if(e==="Unidentified")return null;if(e in m.default){var a=s.location;if(e==="Meta"&&a===0&&(a=2),e==="Clear"&&a===3){var l=i(s);l==="NumLock"&&(a=0)}if((a===void 0||a>3)&&(a=0),e==="Meta"){var u=i(s);if(u==="AltLeft")return x.default.XK_Meta_L;if(u==="AltRight")return x.default.XK_Meta_R}if(e==="Clear"){var h=i(s);if(h==="NumLock")return x.default.XK_Num_Lock}return m.default[e][a]}if(e.length!==1)return null;var f=e.charCodeAt();return f?C.default.lookup(f):null}},"8EBN":function(H,k,d){(function(_){_(d("VrN/"))})(function(_){"use strict";_.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 x=0;x<_.modeInfo.length;x++){var C=_.modeInfo[x];C.mimes&&(C.mime=C.mimes[0])}_.findModeByMIME=function(A){A=A.toLowerCase();for(var b=0;b<_.modeInfo.length;b++){var m=_.modeInfo[b];if(m.mime==A)return m;if(m.mimes){for(var p=0;p<m.mimes.length;p++)if(m.mimes[p]==A)return m}}if(/\+xml$/.test(A))return _.findModeByMIME("application/xml");if(/\+json$/.test(A))return _.findModeByMIME("application/json")},_.findModeByExtension=function(A){A=A.toLowerCase();for(var b=0;b<_.modeInfo.length;b++){var m=_.modeInfo[b];if(m.ext){for(var p=0;p<m.ext.length;p++)if(m.ext[p]==A)return m}}},_.findModeByFileName=function(A){for(var b=0;b<_.modeInfo.length;b++){var m=_.modeInfo[b];if(m.file&&m.file.test(A))return m}var p=A.lastIndexOf("."),c=p>-1&&A.substring(p+1,A.length);if(c)return _.findModeByExtension(c)},_.findModeByName=function(A){A=A.toLowerCase();for(var b=0;b<_.modeInfo.length;b++){var m=_.modeInfo[b];if(m.name.toLowerCase()==A)return m;if(m.alias){for(var p=0;p<m.alias.length;p++)if(m.alias[p].toLowerCase()==A)return m}}}})},"8IMR":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},"8ISB":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("6Hfg"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},"8K/p":function(H,k,d){"use strict";function _(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(t){return typeof t}:_=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(i)}Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var x=m(d("Lo0S")),C=A(d("ItS6"));function A(i){return i&&i.__esModule?i:{default:i}}function b(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return b=function(){return i},i}function m(i){if(i&&i.__esModule)return i;if(i===null||_(i)!=="object"&&typeof i!="function")return{default:i};var n=b();if(n&&n.has(i))return n.get(i);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e)){var a=s?Object.getOwnPropertyDescriptor(i,e):null;a&&(a.get||a.set)?Object.defineProperty(t,e,a):t[e]=i[e]}return t.default=i,n&&n.set(i,t),t}function p(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function c(i,n){for(var t=0;t<n.length;t++){var s=n[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}function o(i,n,t){return n&&c(i.prototype,n),t&&c(i,t),i}var r=function(){function i(){p(this,i),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var n=0;n<4;n++)this._zlibs[n]=new C.default}return o(i,[{key:"decodeRect",value:function(t,s,e,a,l,u,h){if(this._ctl===null){if(l.rQwait("TIGHT compression-control",1))return!1;this._ctl=l.rQshift8();for(var f=0;f<4;f++)this._ctl>>f&1&&(this._zlibs[f].reset(),x.Info("Reset zlib stream "+f));this._ctl=this._ctl>>4}var g;if(this._ctl===8)g=this._fillRect(t,s,e,a,l,u,h);else if(this._ctl===9)g=this._jpegRect(t,s,e,a,l,u,h);else if(this._ctl===10)g=this._pngRect(t,s,e,a,l,u,h);else if((this._ctl&128)==0)g=this._basicRect(this._ctl,t,s,e,a,l,u,h);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return g&&(this._ctl=null),g}},{key:"_fillRect",value:function(t,s,e,a,l,u,h){if(l.rQwait("TIGHT",3))return!1;var f=l.rQi,g=l.rQ;return u.fillRect(t,s,e,a,[g[f+2],g[f+1],g[f]],!1),l.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(t,s,e,a,l,u,h){var f=this._readData(l);return f===null?!1:(u.imageRect(t,s,e,a,"image/jpeg",f),!0)}},{key:"_pngRect",value:function(t,s,e,a,l,u,h){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(t,s,e,a,l,u,h,f){if(this._filter===null)if(t&4){if(u.rQwait("TIGHT",1))return!1;this._filter=u.rQshift8()}else this._filter=0;var g=t&3,v;switch(this._filter){case 0:v=this._copyFilter(g,s,e,a,l,u,h,f);break;case 1:v=this._paletteFilter(g,s,e,a,l,u,h,f);break;case 2:v=this._gradientFilter(g,s,e,a,l,u,h,f);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return v&&(this._filter=null),v}},{key:"_copyFilter",value:function(t,s,e,a,l,u,h,f){var g=a*l*3,v;if(g<12){if(u.rQwait("TIGHT",g))return!1;v=u.rQshiftBytes(g)}else{if(v=this._readData(u),v===null)return!1;this._zlibs[t].setInput(v),v=this._zlibs[t].inflate(g),this._zlibs[t].setInput(null)}return h.blitRgbImage(s,e,a,l,v,0,!1),!0}},{key:"_paletteFilter",value:function(t,s,e,a,l,u,h,f){if(this._numColors===0){if(u.rQwait("TIGHT palette",1))return!1;var g=u.rQpeek8()+1,v=g*3;if(u.rQwait("TIGHT palette",1+v))return!1;this._numColors=g,u.rQskipBytes(1),u.rQshiftTo(this._palette,v)}var y=this._numColors<=2?1:8,E=Math.floor((a*y+7)/8),T=E*l,w;if(T<12){if(u.rQwait("TIGHT",T))return!1;w=u.rQshiftBytes(T)}else{if(w=this._readData(u),w===null)return!1;this._zlibs[t].setInput(w),w=this._zlibs[t].inflate(T),this._zlibs[t].setInput(null)}return this._numColors==2?this._monoRect(s,e,a,l,w,this._palette,h):this._paletteRect(s,e,a,l,w,this._palette,h),this._numColors=0,!0}},{key:"_monoRect",value:function(t,s,e,a,l,u,h){for(var f=this._getScratchBuffer(e*a*4),g=Math.floor((e+7)/8),v=Math.floor(e/8),y=0;y<a;y++){var E=void 0,T=void 0,w=void 0;for(w=0;w<v;w++)for(var S=7;S>=0;S--)E=(y*e+w*8+7-S)*4,T=(l[y*g+w]>>S&1)*3,f[E]=u[T],f[E+1]=u[T+1],f[E+2]=u[T+2],f[E+3]=255;for(var I=7;I>=8-e%8;I--)E=(y*e+w*8+7-I)*4,T=(l[y*g+w]>>I&1)*3,f[E]=u[T],f[E+1]=u[T+1],f[E+2]=u[T+2],f[E+3]=255}h.blitRgbxImage(t,s,e,a,f,0,!1)}},{key:"_paletteRect",value:function(t,s,e,a,l,u,h){for(var f=this._getScratchBuffer(e*a*4),g=e*a*4,v=0,y=0;v<g;v+=4,y++){var E=l[y]*3;f[v]=u[E],f[v+1]=u[E+1],f[v+2]=u[E+2],f[v+3]=255}h.blitRgbxImage(t,s,e,a,f,0,!1)}},{key:"_gradientFilter",value:function(t,s,e,a,l,u,h,f){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(t){if(this._len===0){if(t.rQwait("TIGHT",3))return null;var s;s=t.rQshift8(),this._len=s&127,s&128&&(s=t.rQshift8(),this._len|=(s&127)<<7,s&128&&(s=t.rQshift8(),this._len|=s<<14))}if(t.rQwait("TIGHT",this._len))return null;var e=t.rQshiftBytes(this._len);return this._len=0,e}},{key:"_getScratchBuffer",value:function(t){return(!this._scratchBuffer||this._scratchBuffer.length<t)&&(this._scratchBuffer=new Uint8Array(t)),this._scratchBuffer}}]),i}();k.default=r},"8OUc":function(H,k,d){"use strict";var _=d("q1tI"),x=d.n(_),C=d("TSYQ"),A=d.n(C),b=function(p){var c=p.className,o=p.customizeIcon,r=p.customizeIconProps,i=p.onMouseDown,n=p.onClick,t=p.children,s;return typeof o=="function"?s=o(r):s=o,_.createElement("span",{className:c,onMouseDown:function(a){a.preventDefault(),i&&i(a)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:n,"aria-hidden":!0},s!==void 0?s:_.createElement("span",{className:A()(c.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},t))};k.a=b},"8SMY":function(H,k,d){var _=d("n4Lv"),x=_.prepareDataCoordInfo,C=_.getStackedOnPoint;function A(m,p){var c=[];return p.diff(m).add(function(o){c.push({cmd:"+",idx:o})}).update(function(o,r){c.push({cmd:"=",idx:r,idx1:o})}).remove(function(o){c.push({cmd:"-",idx:o})}).execute(),c}function b(m,p,c,o,r,i,n,t){for(var s=A(m,p),e=[],a=[],l=[],u=[],h=[],f=[],g=[],v=x(r,p,n),y=x(i,m,t),E=0;E<s.length;E++){var T=s[E],w=!0;switch(T.cmd){case"=":var S=m.getItemLayout(T.idx),I=p.getItemLayout(T.idx1);(isNaN(S[0])||isNaN(S[1]))&&(S=I.slice()),e.push(S),a.push(I),l.push(c[T.idx]),u.push(o[T.idx1]),g.push(p.getRawIndex(T.idx1));break;case"+":var L=T.idx;e.push(r.dataToPoint([p.get(v.dataDimsForPoint[0],L),p.get(v.dataDimsForPoint[1],L)])),a.push(p.getItemLayout(L).slice()),l.push(C(v,r,p,L)),u.push(o[L]),g.push(p.getRawIndex(L));break;case"-":var L=T.idx,O=m.getRawIndex(L);O!==L?(e.push(m.getItemLayout(L)),a.push(i.dataToPoint([m.get(y.dataDimsForPoint[0],L),m.get(y.dataDimsForPoint[1],L)])),l.push(c[L]),u.push(C(y,i,m,L)),g.push(O)):w=!1}w&&(h.push(T),f.push(f.length))}f.sort(function(U,F){return g[U]-g[F]});for(var N=[],R=[],D=[],B=[],M=[],E=0;E<f.length;E++){var L=f[E];N[E]=e[L],R[E]=a[L],D[E]=l[L],B[E]=u[L],M[E]=h[L]}return{current:N,next:R,stackedOnCurrent:D,stackedOnNext:B,status:M}}H.exports=b},"8Skl":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="DownOutlined";var p=k.a=x.forwardRef(m)},"8Th4":function(H,k,d){var _=d("3LNs"),x=d("/y7N"),C=d("7bkD"),A=d("Znkb"),b=["x","y"],m=["width","height"],p=_.extend({makeElOption:function(n,t,s,e,a){var l=s.axis,u=l.coordinateSystem,h=r(u,1-o(l)),f=u.dataToPoint(t)[0],g=e.get("type");if(g&&g!=="none"){var v=x.buildElStyle(e),y=c[g](l,f,h);y.style=v,n.graphicKey=y.type,n.pointer=y}var E=C.layout(s);x.buildCartesianSingleLabelElOption(t,n,E,s,e,a)},getHandleTransform:function(n,t,s){var e=C.layout(t,{labelInside:!1});return e.labelMargin=s.get("handle.margin"),{position:x.getTransformedPosition(t.axis,n,e),rotation:e.rotation+(e.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(n,t,s,e){var a=s.axis,l=a.coordinateSystem,u=o(a),h=r(l,u),f=n.position;f[u]+=t[u],f[u]=Math.min(h[1],f[u]),f[u]=Math.max(h[0],f[u]);var g=r(l,1-u),v=(g[1]+g[0])/2,y=[v,v];return y[u]=f[u],{position:f,rotation:n.rotation,cursorPoint:y,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(n,t,s){var e=x.makeLineShape([t,s[0]],[t,s[1]],o(n));return{type:"Line",subPixelOptimize:!0,shape:e}},shadow:function(n,t,s){var e=n.getBandWidth(),a=s[1]-s[0];return{type:"Rect",shape:x.makeRectShape([t-e/2,s[0]],[e,a],o(n))}}};function o(n){return n.isHorizontal()?0:1}function r(n,t){var s=n.getRect();return[s[b[t]],s[b[t]]+s[m[t]]]}A.registerAxisPointerClass("SingleAxisPointer",p);var i=p;H.exports=i},"8Uz6":function(H,k,d){var _=d("hNWo"),x=d("+TT/"),C=x.mergeLayoutParam,A=x.getLayoutParams,b=_.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,r,i){var n=A(c);b.superCall(this,"init",c,o,r,i),m(this,c,n)},mergeOption:function(c,o){b.superCall(this,"mergeOption",c,o),m(this,this.option,c)}});function m(c,o,r){var i=c.getOrient(),n=[1,1];n[i.index]=0,C(o,r,{type:"box",ignoreSize:n})}var p=b;H.exports=p},"8X+K":function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("4mN7"),b=A.fromPoints,m=d("9wZj"),p=d("FBjb"),c=d("8SMY"),o=d("IwbS"),r=d("4NO4"),i=d("1NG9"),n=i.Polyline,t=i.Polygon,s=d("6Ic6"),e=d("n4Lv"),a=e.prepareDataCoordInfo,l=e.getStackedOnPoint,u=d("sK/D"),h=u.createGridClipPath,f=u.createPolarClipPath;function g(N,R){if(N.length!==R.length)return;for(var D=0;D<N.length;D++){var B=N[D],M=R[D];if(B[0]!==M[0]||B[1]!==M[1])return}return!0}function v(N,R){var D=[],B=[],M=[],U=[];return b(N,D,B),b(R,M,U),Math.max(Math.abs(D[0]-M[0]),Math.abs(D[1]-M[1]),Math.abs(B[0]-U[0]),Math.abs(B[1]-U[1]))}function y(N){return typeof N=="number"?N:N?.5:0}function E(N,R,D){if(!D.valueDim)return[];for(var B=[],M=0,U=R.count();M<U;M++)B.push(l(D,N,R,M));return B}function T(N,R,D){for(var B=R.getBaseAxis(),M=B.dim==="x"||B.dim==="radius"?0:1,U=[],F=0;F<N.length-1;F++){var j=N[F+1],W=N[F];U.push(W);var V=[];switch(D){case"end":V[M]=j[M],V[1-M]=W[1-M],U.push(V);break;case"middle":var z=(W[M]+j[M])/2,Y=[];V[M]=Y[M]=z,V[1-M]=W[1-M],Y[1-M]=j[1-M],U.push(V),U.push(Y);break;default:V[M]=W[M],V[1-M]=j[1-M],U.push(V)}}return N[F]&&U.push(N[F]),U}function w(N,R){var D=N.getVisual("visualMeta");if(!D||!D.length||!N.count())return;if(R.type!=="cartesian2d")return;for(var B,M,U=D.length-1;U>=0;U--){var F=D[U].dimension,j=N.dimensions[F],W=N.getDimensionInfo(j);if(B=W&&W.coordDim,B==="x"||B==="y"){M=D[U];break}}if(!M)return;var V=R.getAxis(B),z=C.map(M.stops,function(De){return{coord:V.toGlobalCoord(V.dataToCoord(De.value)),color:De.color}}),Y=z.length,J=M.outerColors.slice();Y&&z[0].coord>z[Y-1].coord&&(z.reverse(),J.reverse());var ie=10,Z=z[0].coord-ie,oe=z[Y-1].coord+ie,ge=oe-Z;if(ge<.001)return"transparent";C.each(z,function(De){De.offset=(De.coord-Z)/ge}),z.push({offset:Y?z[Y-1].offset:.5,color:J[1]||"transparent"}),z.unshift({offset:Y?z[0].offset:.5,color:J[0]||"transparent"});var pe=new o.LinearGradient(0,0,0,0,z,!0);return pe[B]=Z,pe[B+"2"]=oe,pe}function S(N,R,D){var B=N.get("showAllSymbol"),M=B==="auto";if(B&&!M)return;var U=D.getAxesByScale("ordinal")[0];if(!U)return;if(M&&I(U,R))return;var F=R.mapDimension(U.dim),j={};return C.each(U.getViewLabels(),function(W){j[W.tickValue]=1}),function(W){return!j.hasOwnProperty(R.get(F,W))}}function I(N,R){var D=N.getExtent(),B=Math.abs(D[1]-D[0])/N.scale.count();isNaN(B)&&(B=0);for(var M=R.count(),U=Math.max(1,Math.round(M/5)),F=0;F<M;F+=U)if(p.getSymbolSize(R,F)[N.isHorizontal()?1:0]*1.5>B)return!1;return!0}function L(N,R,D){if(N.type==="cartesian2d"){var B=N.getBaseAxis().isHorizontal(),M=h(N,R,D);if(!D.get("clip",!0)){var U=M.shape,F=Math.max(U.width,U.height);B?(U.y-=F,U.height+=F*2):(U.x-=F,U.width+=F*2)}return M}else return f(N,R,D)}var O=s.extend({type:"line",init:function(){var N=new o.Group,R=new m;this.group.add(R.group),this._symbolDraw=R,this._lineGroup=N},render:function(N,R,D){var B=N.coordinateSystem,M=this.group,U=N.getData(),F=N.getModel("lineStyle"),j=N.getModel("areaStyle"),W=U.mapArray(U.getItemLayout),V=B.type==="polar",z=this._coordSys,Y=this._symbolDraw,J=this._polyline,ie=this._polygon,Z=this._lineGroup,oe=N.get("animation"),ge=!j.isEmpty(),pe=j.get("origin"),De=a(B,U,pe),ce=E(B,U,De),Oe=N.get("showSymbol"),se=Oe&&!V&&S(N,U,B),$=this._data;$&&$.eachItemGraphicEl(function(de,Ce){de.__temp&&(M.remove(de),$.setItemGraphicEl(Ce,null))}),Oe||Y.remove(),M.add(Z);var ze=!V&&N.get("step"),re;B&&B.getArea&&N.get("clip",!0)&&(re=B.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,J&&z.type===B.type&&ze===this._step?(ge&&!ie?ie=this._newPolygon(W,ce,B,oe):ie&&!ge&&(Z.remove(ie),ie=this._polygon=null),Z.setClipPath(L(B,!1,N)),Oe&&Y.updateData(U,{isIgnore:se,clipShape:re}),U.eachItemGraphicEl(function(de){de.stopAnimation(!0)}),(!g(this._stackedOnPoints,ce)||!g(this._points,W))&&(oe?this._updateAnimation(U,ce,B,D,ze,pe):(ze&&(W=T(W,B,ze),ce=T(ce,B,ze)),J.setShape({points:W}),ie&&ie.setShape({points:W,stackedOnPoints:ce})))):(Oe&&Y.updateData(U,{isIgnore:se,clipShape:re}),ze&&(W=T(W,B,ze),ce=T(ce,B,ze)),J=this._newPolyline(W,B,oe),ge&&(ie=this._newPolygon(W,ce,B,oe)),Z.setClipPath(L(B,!0,N)));var X=w(U,B)||U.getVisual("color");J.useStyle(C.defaults(F.getLineStyle(),{fill:"none",stroke:X,lineJoin:"bevel"}));var G=N.get("smooth");if(G=y(N.get("smooth")),J.setShape({smooth:G,smoothMonotone:N.get("smoothMonotone"),connectNulls:N.get("connectNulls")}),ie){var Q=U.getCalculationInfo("stackedOnSeries"),ve=0;ie.useStyle(C.defaults(j.getAreaStyle(),{fill:X,opacity:.7,lineJoin:"bevel"})),Q&&(ve=y(Q.get("smooth"))),ie.setShape({smooth:G,stackedOnSmooth:ve,smoothMonotone:N.get("smoothMonotone"),connectNulls:N.get("connectNulls")})}this._data=U,this._coordSys=B,this._stackedOnPoints=ce,this._points=W,this._step=ze,this._valueOrigin=pe},dispose:function(){},highlight:function(N,R,D,B){var M=N.getData(),U=r.queryDataIndex(M,B);if(!(U instanceof Array)&&U!=null&&U>=0){var F=M.getItemGraphicEl(U);if(!F){var j=M.getItemLayout(U);if(!j)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(j[0],j[1]))return;F=new p(M,U),F.position=j,F.setZ(N.get("zlevel"),N.get("z")),F.ignore=isNaN(j[0])||isNaN(j[1]),F.__temp=!0,M.setItemGraphicEl(U,F),F.stopSymbolAnimation(!0),this.group.add(F)}F.highlight()}else s.prototype.highlight.call(this,N,R,D,B)},downplay:function(N,R,D,B){var M=N.getData(),U=r.queryDataIndex(M,B);if(U!=null&&U>=0){var F=M.getItemGraphicEl(U);F&&(F.__temp?(M.setItemGraphicEl(U,null),this.group.remove(F)):F.downplay())}else s.prototype.downplay.call(this,N,R,D,B)},_newPolyline:function(N){var R=this._polyline;return R&&this._lineGroup.remove(R),R=new n({shape:{points:N},silent:!0,z2:10}),this._lineGroup.add(R),this._polyline=R,R},_newPolygon:function(N,R){var D=this._polygon;return D&&this._lineGroup.remove(D),D=new t({shape:{points:N,stackedOnPoints:R},silent:!0}),this._lineGroup.add(D),this._polygon=D,D},_updateAnimation:function(N,R,D,B,M,U){var F=this._polyline,j=this._polygon,W=N.hostModel,V=c(this._data,N,this._stackedOnPoints,R,this._coordSys,D,this._valueOrigin,U),z=V.current,Y=V.stackedOnCurrent,J=V.next,ie=V.stackedOnNext;if(M&&(z=T(V.current,D,M),Y=T(V.stackedOnCurrent,D,M),J=T(V.next,D,M),ie=T(V.stackedOnNext,D,M)),v(z,J)>3e3||j&&v(Y,ie)>3e3){F.setShape({points:J}),j&&j.setShape({points:J,stackedOnPoints:ie});return}F.shape.__points=V.current,F.shape.points=z,o.updateProps(F,{shape:{points:J}},W),j&&(j.setShape({points:z,stackedOnPoints:Y}),o.updateProps(j,{shape:{points:J,stackedOnPoints:ie}},W));for(var Z=[],oe=V.status,ge=0;ge<oe.length;ge++){var pe=oe[ge].cmd;if(pe==="="){var De=N.getItemGraphicEl(oe[ge].idx1);De&&Z.push({el:De,ptIdx:ge})}}F.animators&&F.animators.length&&F.animators[0].during(function(){for(var ce=0;ce<Z.length;ce++){var Oe=Z[ce].el;Oe.attr("position",F.shape.__points[Z[ce].ptIdx])}})},remove:function(N){var R=this.group,D=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),D&&D.eachItemGraphicEl(function(B,M){B.__temp&&(R.remove(B),D.setItemGraphicEl(M,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});H.exports=O},"8XDt":function(H,k,d){d("qH13");var _=d("aX58"),x=_.registerPainter,C=d("6fms");x("vml",C)},"8hn6":function(H,k){var d="#eee",_=function(){return{axisLine:{lineStyle:{color:d}},axisTick:{lineStyle:{color:d}},axisLabel:{textStyle:{color:d}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:d}}}},x=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],C={color:x,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:d},crossStyle:{color:d},label:{color:"#000"}}},legend:{textStyle:{color:d}},textStyle:{color:d},title:{textStyle:{color:d}},toolbox:{iconStyle:{normal:{borderColor:d}}},dataZoom:{textStyle:{color:d}},visualMap:{textStyle:{color:d}},timeline:{lineStyle:{color:d},itemStyle:{normal:{color:x[1]}},label:{normal:{textStyle:{color:d}}},controlStyle:{normal:{color:d,borderColor:d}}},timeAxis:_(),logAxis:_(),valueAxis:_(),categoryAxis:_(),line:{symbol:"circle"},graph:{color:x},gauge:{title:{textStyle:{color:d}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};C.categoryAxis.splitLine.show=!1;var A=C;H.exports=A},"8nMs":function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("+rIm"),A=d("Znkb"),b=d("AVZG"),m=d("WN+l"),p=m.rectCoordAxisBuildSplitArea,c=m.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine","minorSplitLine"],i=A.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(n,t,s,e){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new x.Group,this.group.add(this._axisGroup),!n.get("show"))return;var l=n.getCoordSysModel(),u=b.layout(l,n),h=new C(n,u);_.each(o,h.add,h),this._axisGroup.add(h.getGroup()),_.each(r,function(f){n.get(f+".show")&&this["_"+f](n,l)},this),x.groupTransition(a,this._axisGroup,n),i.superCall(this,"render",n,t,s,e)},remove:function(){c(this)},_splitLine:function(n,t){var s=n.axis;if(s.scale.isBlank())return;var e=n.getModel("splitLine"),a=e.getModel("lineStyle"),l=a.get("color");l=_.isArray(l)?l:[l];for(var u=t.coordinateSystem.getRect(),h=s.isHorizontal(),f=0,g=s.getTicksCoords({tickModel:e}),v=[],y=[],E=a.getLineStyle(),T=0;T<g.length;T++){var w=s.toGlobalCoord(g[T].coord);h?(v[0]=w,v[1]=u.y,y[0]=w,y[1]=u.y+u.height):(v[0]=u.x,v[1]=w,y[0]=u.x+u.width,y[1]=w);var S=f++%l.length,I=g[T].tickValue;this._axisGroup.add(new x.Line({anid:I!=null?"line_"+g[T].tickValue:null,subPixelOptimize:!0,shape:{x1:v[0],y1:v[1],x2:y[0],y2:y[1]},style:_.defaults({stroke:l[S]},E),silent:!0}))}},_minorSplitLine:function(n,t){var s=n.axis,e=n.getModel("minorSplitLine"),a=e.getModel("lineStyle"),l=t.coordinateSystem.getRect(),u=s.isHorizontal(),h=s.getMinorTicksCoords();if(!h.length)return;for(var f=[],g=[],v=a.getLineStyle(),y=0;y<h.length;y++)for(var E=0;E<h[y].length;E++){var T=s.toGlobalCoord(h[y][E].coord);u?(f[0]=T,f[1]=l.y,g[0]=T,g[1]=l.y+l.height):(f[0]=l.x,f[1]=T,g[0]=l.x+l.width,g[1]=T),this._axisGroup.add(new x.Line({anid:"minor_line_"+h[y][E].tickValue,subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:g[0],y2:g[1]},style:v,silent:!0}))}},_splitArea:function(n,t){p(this,this._axisGroup,n,t)}});i.extend({type:"xAxis"}),i.extend({type:"yAxis"})},"8nly":function(H,k,d){var _=d("mFDi"),x=d("4mN7"),C=d("QBsz"),A=d("BlVb");function b(p,c,o){if(this.name=p,this.geometries=c,o)o=[o[0],o[1]];else{var r=this.getBoundingRect();o=[r.x+r.width/2,r.y+r.height/2]}this.center=o}b.prototype={constructor:b,properties:null,getBoundingRect:function(){var p=this._rect;if(p)return p;for(var c=Number.MAX_VALUE,o=[c,c],r=[-c,-c],i=[],n=[],t=this.geometries,s=0;s<t.length;s++){if(t[s].type!=="polygon")continue;var e=t[s].exterior;x.fromPoints(e,i,n),C.min(o,o,i),C.max(r,r,n)}return s===0&&(o[0]=o[1]=r[0]=r[1]=0),this._rect=new _(o[0],o[1],r[0]-o[0],r[1]-o[1])},contain:function(p){var c=this.getBoundingRect(),o=this.geometries;if(!c.contain(p[0],p[1]))return!1;e:for(var r=0,i=o.length;r<i;r++){if(o[r].type!=="polygon")continue;var n=o[r].exterior,t=o[r].interiors;if(A.contain(n,p[0],p[1])){for(var s=0;s<(t?t.length:0);s++)if(A.contain(t[s]))continue e;return!0}}return!1},transformTo:function(p,c,o,r){var i=this.getBoundingRect(),n=i.width/i.height;o?r||(r=o/n):o=n*r;for(var t=new _(p,c,o,r),s=i.calculateTransform(t),e=this.geometries,a=0;a<e.length;a++){if(e[a].type!=="polygon")continue;for(var l=e[a].exterior,u=e[a].interiors,h=0;h<l.length;h++)C.applyTransform(l[h],l[h],s);for(var f=0;f<(u?u.length:0);f++)for(var h=0;h<u[f].length;h++)C.applyTransform(u[f][h],u[f][h],s)}i=this._rect,i.copy(t),this.center=[i.x+i.width/2,i.y+i.height/2]},cloneShallow:function(p){p==null&&(p=this.name);var c=new b(p,this.geometries,this.center);return c._rect=this._rect,c.transformTo=null,c}};var m=b;H.exports=m},"8txm":function(H,k,d){},"8waO":function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("iLNv"),A=d("ZWlE");d("hJvP"),d("IXyC"),d("xRUu");var b=5;_.extendComponentView({type:"parallel",render:function(c,o,r){this._model=c,this._api=r,this._handlers||(this._handlers={},x.each(m,function(i,n){r.getZr().on(n,this._handlers[n]=x.bind(i,this))},this)),C.createOrUpdate(this,"_throttledDispatchExpand",c.get("axisExpandRate"),"fixRate")},dispose:function(c,o){x.each(this._handlers,function(r,i){o.getZr().off(i,r)}),this._handlers=null},_throttledDispatchExpand:function(c){this._dispatchExpand(c)},_dispatchExpand:function(c){c&&this._api.dispatchAction(x.extend({type:"parallelAxisExpand"},c))}});var m={mousedown:function(c){p(this,"click")&&(this._mouseDownPoint=[c.offsetX,c.offsetY])},mouseup:function(c){var o=this._mouseDownPoint;if(p(this,"click")&&o){var r=[c.offsetX,c.offsetY],i=Math.pow(o[0]-r[0],2)+Math.pow(o[1]-r[1],2);if(i>b)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]);n.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(c){if(this._mouseDownPoint||!p(this,"mousemove"))return;var o=this._model,r=o.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]),i=r.behavior;i==="jump"&&this._throttledDispatchExpand.debounceNextCall(o.get("axisExpandDebounce")),this._throttledDispatchExpand(i==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:i==="jump"?null:!1})}};function p(c,o){var r=c._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===o}_.registerPreprocessor(A)},"8x+h":function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("K4ya"),m=d("Qxkt"),p=["#ddd"],c=C.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(i,n){var t=this.option;!n&&b.replaceVisualOption(t,i,["inBrush","outOfBrush"]);var s=t.inBrush=t.inBrush||{};t.outOfBrush=t.outOfBrush||{color:p},s.hasOwnProperty("liftZ")||(s.liftZ=5)},setAreas:function(i){if(!i)return;this.areas=A.map(i,function(n){return o(this.option,n)},this)},setBrushOption:function(i){this.brushOption=o(this.option,i),this.brushType=this.brushOption.brushType}});function o(i,n){return A.merge({brushType:i.brushType,brushMode:i.brushMode,transformable:i.transformable,brushStyle:new m(i.brushStyle).getItemStyle(),removeOnClick:i.removeOnClick,z:i.z},n,!0)}var r=c;H.exports=r},"8z0m":function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("RIqP"),A=d.n(C),b=d("pVnL"),m=d.n(b),p=d("J4zp"),c=d.n(p),o=d("q1tI"),r=d.n(o),i=d("TSYQ"),n=d.n(i);function t(er,nr){var Lt="cannot "+er.method+" "+er.action+" "+nr.status+"'",at=new Error(Lt);return at.status=nr.status,at.method=er.method,at.url=er.action,at}function s(er){var nr=er.responseText||er.response;if(!nr)return nr;try{return JSON.parse(nr)}catch(Lt){return nr}}function e(er){var nr=new XMLHttpRequest;er.onProgress&&nr.upload&&(nr.upload.onprogress=function(qt){qt.total>0&&(qt.percent=qt.loaded/qt.total*100),er.onProgress(qt)});var Lt=new FormData;er.data&&Object.keys(er.data).forEach(function(Je){var qt=er.data[Je];if(Array.isArray(qt)){qt.forEach(function(Sr){Lt.append(Je+"[]",Sr)});return}Lt.append(Je,er.data[Je])}),er.file instanceof Blob?Lt.append(er.filename,er.file,er.file.name):Lt.append(er.filename,er.file),nr.onerror=function(qt){er.onError(qt)},nr.onload=function(){return nr.status<200||nr.status>=300?er.onError(t(er,nr),s(nr)):er.onSuccess(s(nr),nr)},nr.open(er.method,er.action,!0),er.withCredentials&&"withCredentials"in nr&&(nr.withCredentials=!0);var at=er.headers||{};return at["X-Requested-With"]!==null&&nr.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(at).forEach(function(Je){at[Je]!==null&&nr.setRequestHeader(Je,at[Je])}),nr.send(Lt),{abort:function(){nr.abort()}}}var a=+new Date,l=0;function u(){return"rc-upload-"+a+"-"+ ++l}function h(er,nr){return er.indexOf(nr,er.length-nr.length)!==-1}var f=function(er,nr){if(er&&nr){var Lt=Array.isArray(nr)?nr:nr.split(","),at=er.name||"",Je=er.type||"",qt=Je.replace(/\/.*$/,"");return Lt.some(function(Sr){var yr=Sr.trim();return yr.charAt(0)==="."?h(at.toLowerCase(),yr.toLowerCase()):/\/\*$/.test(yr)?qt===yr.replace(/\/.*$/,""):Je===yr})}return!0};function g(er,nr){var Lt=er.createReader(),at=[];function Je(){Lt.readEntries(function(qt){var Sr=Array.prototype.slice.apply(qt);at=at.concat(Sr);var yr=!Sr.length;yr?nr(at):Je()})}Je()}var v=function(nr,Lt,at){var Je=function qt(Sr,yr){yr=yr||"",Sr.isFile?Sr.file(function(fr){at(fr)&&(Sr.fullPath&&!fr.webkitRelativePath&&(Object.defineProperties(fr,{webkitRelativePath:{writable:!0}}),fr.webkitRelativePath=Sr.fullPath.replace(/^\//,""),Object.defineProperties(fr,{webkitRelativePath:{writable:!1}})),Lt([fr]))}):Sr.isDirectory&&g(Sr,function(fr){fr.forEach(function(yn){qt(yn,""+yr+Sr.name+"/")})})};nr.forEach(function(qt){Je(qt.webkitGetAsEntry())})},y=v,E=Object.assign||function(er){for(var nr=1;nr<arguments.length;nr++){var Lt=arguments[nr];for(var at in Lt)Object.prototype.hasOwnProperty.call(Lt,at)&&(er[at]=Lt[at])}return er},T=function(){function er(nr,Lt){var at=[],Je=!0,qt=!1,Sr=void 0;try{for(var yr=nr[Symbol.iterator](),fr;!(Je=(fr=yr.next()).done)&&!(at.push(fr.value),Lt&&at.length===Lt);Je=!0);}catch(yn){qt=!0,Sr=yn}finally{try{!Je&&yr.return&&yr.return()}finally{if(qt)throw Sr}}return at}return function(nr,Lt){if(Array.isArray(nr))return nr;if(Symbol.iterator in Object(nr))return er(nr,Lt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),w=function(){function er(nr,Lt){for(var at=0;at<Lt.length;at++){var Je=Lt[at];Je.enumerable=Je.enumerable||!1,Je.configurable=!0,"value"in Je&&(Je.writable=!0),Object.defineProperty(nr,Je.key,Je)}}return function(nr,Lt,at){return Lt&&er(nr.prototype,Lt),at&&er(nr,at),nr}}();function S(er,nr,Lt){return nr in er?Object.defineProperty(er,nr,{value:Lt,enumerable:!0,configurable:!0,writable:!0}):er[nr]=Lt,er}function I(er,nr){var Lt={};for(var at in er){if(nr.indexOf(at)>=0)continue;if(!Object.prototype.hasOwnProperty.call(er,at))continue;Lt[at]=er[at]}return Lt}function L(er,nr){if(!(er instanceof nr))throw new TypeError("Cannot call a class as a function")}function O(er,nr){if(!er)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return nr&&(typeof nr=="object"||typeof nr=="function")?nr:er}function N(er,nr){if(typeof nr!="function"&&nr!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof nr);er.prototype=Object.create(nr&&nr.prototype,{constructor:{value:er,enumerable:!1,writable:!0,configurable:!0}}),nr&&(Object.setPrototypeOf?Object.setPrototypeOf(er,nr):er.__proto__=nr)}var R=function(nr){return Object.keys(nr).reduce(function(Lt,at){return(at.substr(0,5)==="data-"||at.substr(0,5)==="aria-"||at==="role")&&(Lt[at]=nr[at]),Lt},{})},D=function(er){N(nr,er);function nr(){var Lt,at,Je,qt;L(this,nr);for(var Sr=arguments.length,yr=Array(Sr),fr=0;fr<Sr;fr++)yr[fr]=arguments[fr];return qt=(at=(Je=O(this,(Lt=nr.__proto__||Object.getPrototypeOf(nr)).call.apply(Lt,[this].concat(yr))),Je),Je.state={uid:u()},Je.reqs={},Je.onChange=function(yn){var Jr=yn.target.files;Je.uploadFiles(Jr),Je.reset()},Je.onClick=function(yn){var Jr=Je.fileInput;if(!Jr)return;var Ln=Je.props,Nt=Ln.children,Ve=Ln.onClick;Nt&&Nt.type==="button"&&(Jr.parentNode.focus(),Jr.parentNode.querySelector("button").blur()),Jr.click(),Ve&&Ve(yn)},Je.onKeyDown=function(yn){yn.key==="Enter"&&Je.onClick()},Je.onFileDrop=function(yn){var Jr=Je.props.multiple;if(yn.preventDefault(),yn.type==="dragover")return;if(Je.props.directory)y(Array.prototype.slice.call(yn.dataTransfer.items),Je.uploadFiles,function(Nt){return f(Nt,Je.props.accept)});else{var Ln=Array.prototype.slice.call(yn.dataTransfer.files).filter(function(Nt){return f(Nt,Je.props.accept)});Jr===!1&&(Ln=Ln.slice(0,1)),Je.uploadFiles(Ln)}},Je.uploadFiles=function(yn){var Jr=Array.prototype.slice.call(yn);Jr.map(function(Ln){return Ln.uid=u(),Ln}).forEach(function(Ln){Je.upload(Ln,Jr)})},Je.saveFileInput=function(yn){Je.fileInput=yn},at),O(Je,qt)}return w(nr,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(at,Je){var qt=this,Sr=this.props;if(!Sr.beforeUpload)return setTimeout(function(){return qt.post(at)},0);var yr=Sr.beforeUpload(at,Je);yr&&yr.then?yr.then(function(fr){var yn=Object.prototype.toString.call(fr);return yn==="[object File]"||yn==="[object Blob]"?qt.post(fr):qt.post(at)}).catch(function(fr){console.log(fr)}):yr!==!1&&setTimeout(function(){return qt.post(at)},0);return}},{key:"post",value:function(at){var Je=this;if(!this._isMounted)return;var qt=this.props,Sr=qt.onStart,yr=qt.onProgress,fr=qt.transformFile,yn=fr===void 0?function(Jr){return Jr}:fr;new Promise(function(Jr){var Ln=qt.action;return typeof Ln=="function"&&(Ln=Ln(at)),Jr(Ln)}).then(function(Jr){var Ln=at.uid,Nt=qt.customRequest||e,Ve=Promise.resolve(yn(at)).then(function(_e){var ke=qt.data;return typeof ke=="function"&&(ke=ke(_e)),Promise.all([_e,ke])}).catch(function(_e){console.error(_e)});Ve.then(function(_e){var ke=T(_e,2),Pe=ke[0],rt=ke[1],Pt={action:Jr,filename:qt.name,data:rt,file:Pe,headers:qt.headers,withCredentials:qt.withCredentials,method:qt.method||"post",onProgress:yr?function(Yt){yr(Yt,at)}:null,onSuccess:function(kt,_r){delete Je.reqs[Ln],qt.onSuccess(kt,at,_r)},onError:function(kt,_r){delete Je.reqs[Ln],qt.onError(kt,_r,at)}};Sr(at),Je.reqs[Ln]=Nt(Pt)})})}},{key:"reset",value:function(){this.setState({uid:u()})}},{key:"abort",value:function(at){var Je=this.reqs;if(at){var qt=at;at&&at.uid&&(qt=at.uid),Je[qt]&&Je[qt].abort&&Je[qt].abort(),delete Je[qt]}else Object.keys(Je).forEach(function(Sr){Je[Sr]&&Je[Sr].abort&&Je[Sr].abort(),delete Je[Sr]})}},{key:"render",value:function(){var at,Je=this.props,qt=Je.component,Sr=Je.prefixCls,yr=Je.className,fr=Je.disabled,yn=Je.id,Jr=Je.style,Ln=Je.multiple,Nt=Je.accept,Ve=Je.children,_e=Je.directory,ke=Je.openFileDialogOnClick,Pe=Je.onMouseEnter,rt=Je.onMouseLeave,Pt=I(Je,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Yt=n()((at={},S(at,Sr,!0),S(at,Sr+"-disabled",fr),S(at,yr,yr),at)),kt=fr?{}:{onClick:ke?this.onClick:function(){},onKeyDown:ke?this.onKeyDown:function(){},onMouseEnter:Pe,onMouseLeave:rt,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return r.a.createElement(qt,E({},kt,{className:Yt,role:"button",style:Jr}),r.a.createElement("input",E({},R(Pt),{id:yn,type:"file",ref:this.saveFileInput,onClick:function(Rr){return Rr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Nt,directory:_e?"directory":null,webkitdirectory:_e?"webkitdirectory":null,multiple:Ln,onChange:this.onChange})),Ve)}}]),nr}(o.Component),B=D,M=Object.assign||function(er){for(var nr=1;nr<arguments.length;nr++){var Lt=arguments[nr];for(var at in Lt)Object.prototype.hasOwnProperty.call(Lt,at)&&(er[at]=Lt[at])}return er},U=function(){function er(nr,Lt){for(var at=0;at<Lt.length;at++){var Je=Lt[at];Je.enumerable=Je.enumerable||!1,Je.configurable=!0,"value"in Je&&(Je.writable=!0),Object.defineProperty(nr,Je.key,Je)}}return function(nr,Lt,at){return Lt&&er(nr.prototype,Lt),at&&er(nr,at),nr}}();function F(er,nr){if(!(er instanceof nr))throw new TypeError("Cannot call a class as a function")}function j(er,nr){if(!er)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return nr&&(typeof nr=="object"||typeof nr=="function")?nr:er}function W(er,nr){if(typeof nr!="function"&&nr!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof nr);er.prototype=Object.create(nr&&nr.prototype,{constructor:{value:er,enumerable:!1,writable:!0,configurable:!0}}),nr&&(Object.setPrototypeOf?Object.setPrototypeOf(er,nr):er.__proto__=nr)}function V(){}var z=function(er){W(nr,er);function nr(){var Lt,at,Je,qt;F(this,nr);for(var Sr=arguments.length,yr=Array(Sr),fr=0;fr<Sr;fr++)yr[fr]=arguments[fr];return qt=(at=(Je=j(this,(Lt=nr.__proto__||Object.getPrototypeOf(nr)).call.apply(Lt,[this].concat(yr))),Je),Je.saveUploader=function(yn){Je.uploader=yn},at),j(Je,qt)}return U(nr,[{key:"abort",value:function(at){this.uploader.abort(at)}},{key:"render",value:function(){return r.a.createElement(B,M({},this.props,{ref:this.saveUploader}))}}]),nr}(o.Component);z.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:V,onError:V,onSuccess:V,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Y=z,J=Y,ie=function(er,nr){var Lt={};for(var at in er)Object.prototype.hasOwnProperty.call(er,at)&&nr.indexOf(at)<0&&(Lt[at]=er[at]);if(er!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,at=Object.getOwnPropertySymbols(er);Je<at.length;Je++)nr.indexOf(at[Je])<0&&Object.prototype.propertyIsEnumerable.call(er,at[Je])&&(Lt[at[Je]]=er[at[Je]]);return Lt},Z=function(nr,Lt){var at=nr.style,Je=nr.height,qt=ie(nr,["style","height"]);return o.createElement(ur,m()({ref:Lt},qt,{type:"drag",style:m()(m()({},at),{height:Je})}))},oe=o.forwardRef(Z);oe.displayName="Dragger";var ge=oe,pe=d("MFj2"),De=d("gZBC"),ce=d.n(De),Oe=d("+d4F"),se=d.n(Oe),$=d("XAae"),ze=d.n($),re=d("6xvX"),X=d.n(re),G=d("qPY4"),Q=d.n(G),ve=d("QB+1"),de=d.n(ve),Ce=d("Qs3X"),we=d.n(Ce),le=d("0n0R");function fe(){return!0}function xe(er){return m()(m()({},er),{lastModified:er.lastModified,lastModifiedDate:er.lastModifiedDate,name:er.name,size:er.size,type:er.type,uid:er.uid,percent:0,originFileObj:er})}function We(er,nr){var Lt=er.uid!==void 0?"uid":"name";return nr.filter(function(at){return at[Lt]===er[Lt]})[0]}function nt(er,nr){var Lt=er.uid!==void 0?"uid":"name",at=nr.filter(function(Je){return Je[Lt]!==er[Lt]});return at.length===nr.length?null:at}var $e=function(){var nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Lt=nr.split("/"),at=Lt[Lt.length-1],Je=at.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Je)||[""])[0]},Le=function(nr){return nr.indexOf("image/")===0},pt=function(nr){if(nr.type&&!nr.thumbUrl)return Le(nr.type);var Lt=nr.thumbUrl||nr.url,at=$e(Lt);return/^data:image\//.test(Lt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(at)?!0:/^data:/.test(Lt)?!1:!at},Qe=200;function gt(er){return new Promise(function(nr){if(!er.type||!Le(er.type)){nr("");return}var Lt=document.createElement("canvas");Lt.width=Qe,Lt.height=Qe,Lt.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Qe,"px; height: ").concat(Qe,"px; z-index: 9999; display: none;"),document.body.appendChild(Lt);var at=Lt.getContext("2d"),Je=new Image;Je.onload=function(){var qt=Je.width,Sr=Je.height,yr=Qe,fr=Qe,yn=0,Jr=0;qt<Sr?(fr=Sr*(Qe/qt),Jr=-(fr-yr)/2):(yr=qt*(Qe/Sr),yn=-(yr-fr)/2),at.drawImage(Je,yn,Jr,yr,fr);var Ln=Lt.toDataURL();document.body.removeChild(Lt),nr(Ln)},Je.src=window.URL.createObjectURL(er)})}var wt=d("3S7+"),Et=d("CFYs"),_t=d("H84U"),Ht=d("2/Rp"),Ze=d("hkKa"),ye=function(nr,Lt){var at,Je=nr.listType,qt=nr.previewFile,Sr=nr.onPreview,yr=nr.onDownload,fr=nr.onRemove,yn=nr.locale,Jr=nr.iconRender,Ln=nr.isImageUrl,Nt=nr.prefixCls,Ve=nr.items,_e=Ve===void 0?[]:Ve,ke=nr.showPreviewIcon,Pe=nr.showRemoveIcon,rt=nr.showDownloadIcon,Pt=nr.removeIcon,Yt=nr.downloadIcon,kt=nr.progress,_r=Object(Ze.a)();o.useEffect(function(){if(Je!=="picture"&&Je!=="picture-card")return;(_e||[]).forEach(function(or){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(or.originFileObj instanceof File||or.originFileObj instanceof Blob)||or.thumbUrl!==void 0)return;or.thumbUrl="",qt&&qt(or.originFileObj).then(function(ar){or.thumbUrl=ar||"",_r()})})},[Je,_e,qt]);var Rr=function(ar,Gr){return Sr?(Gr.preventDefault(),Sr(ar)):void 0},un=function(ar){typeof yr=="function"?yr(ar):ar.url&&window.open(ar.url)},Ut=function(ar){fr&&fr(ar)},ht=function(ar){if(Jr)return Jr(ar,Je);var Gr=ar.status==="uploading",Yr=Ln&&Ln(ar)?o.createElement(ze.a,null):o.createElement(X.a,null),In=Gr?o.createElement(ce.a,null):o.createElement(se.a,null);return Je==="picture"?In=Gr?o.createElement(ce.a,null):Yr:Je==="picture-card"&&(In=Gr?yn.uploading:Yr),In},ot=function(ar,Gr,Yr,In){var Nn={type:"text",size:"small",title:In,onClick:function(Ii){Gr(),Object(le.b)(ar)&&ar.props.onClick&&ar.props.onClick(Ii)},className:"".concat(Yr,"-list-item-card-actions-btn")};if(Object(le.b)(ar)){var Kn=Object(le.a)(ar,m()(m()({},ar.props),{onClick:function(){}}));return o.createElement(Ht.a,m()({},Nn,{icon:Kn}))}return o.createElement(Ht.a,Nn,o.createElement("span",null,ar))};o.useImperativeHandle(Lt,function(){return{handlePreview:Rr,handleDownload:un}});var Wt=o.useContext(_t.b),Jt=Wt.getPrefixCls,At=Wt.direction,Bt=Jt("upload",Nt),mt=_e.map(function(or){var ar,Gr,Yr,In=ht(or),Nn=o.createElement("div",{className:"".concat(Bt,"-text-icon")},In);if(Je==="picture"||Je==="picture-card")if(or.status==="uploading"||!or.thumbUrl&&!or.url){var Kn,$n=n()((Kn={},x()(Kn,"".concat(Bt,"-list-item-thumbnail"),!0),x()(Kn,"".concat(Bt,"-list-item-file"),or.status!=="uploading"),Kn));Nn=o.createElement("div",{className:$n},In)}else{var Ii,Mi=Ln&&Ln(or)?o.createElement("img",{src:or.thumbUrl||or.url,alt:or.name,className:"".concat(Bt,"-list-item-image")}):In,Xe=n()((Ii={},x()(Ii,"".concat(Bt,"-list-item-thumbnail"),!0),x()(Ii,"".concat(Bt,"-list-item-file"),Ln&&!Ln(or)),Ii));Nn=o.createElement("a",{className:Xe,onClick:function(Br){return Rr(or,Br)},href:or.url||or.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Mi)}if(or.status==="uploading"){var Ie="percent"in or?o.createElement(Et.a,m()({},kt,{type:"line",percent:or.percent})):null;Yr=o.createElement("div",{className:"".concat(Bt,"-list-item-progress"),key:"progress"},Ie)}var Be=n()((ar={},x()(ar,"".concat(Bt,"-list-item"),!0),x()(ar,"".concat(Bt,"-list-item-").concat(or.status),!0),x()(ar,"".concat(Bt,"-list-item-list-type-").concat(Je),!0),ar)),Fe=typeof or.linkProps=="string"?JSON.parse(or.linkProps):or.linkProps,Ge=Pe?ot(Pt||o.createElement(de.a,null),function(){return Ut(or)},Bt,yn.removeFile):null,Ke=rt&&or.status==="done"?ot(Yt||o.createElement(we.a,null),function(){return un(or)},Bt,yn.downloadFile):null,qe=Je!=="picture-card"&&o.createElement("span",{key:"download-delete",className:"".concat(Bt,"-list-item-card-actions ").concat(Je==="picture"?"picture":"")},Ke,Ge),vt=n()((Gr={},x()(Gr,"".concat(Bt,"-list-item-name"),!0),x()(Gr,"".concat(Bt,"-list-item-name-icon-count-").concat([Ke,Ge].filter(function(Xr){return Xr}).length),!0),Gr)),lt=or.url?[o.createElement("a",m()({key:"view",target:"_blank",rel:"noopener noreferrer",className:vt,title:or.name},Fe,{href:or.url,onClick:function(Br){return Rr(or,Br)}}),or.name),qe]:[o.createElement("span",{key:"view",className:vt,onClick:function(Br){return Rr(or,Br)},title:or.name},or.name),qe],Ft={pointerEvents:"none",opacity:.5},wr=ke?o.createElement("a",{href:or.url||or.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:or.url||or.thumbUrl?void 0:Ft,onClick:function(Br){return Rr(or,Br)},title:yn.previewFile},o.createElement(Q.a,null)):null,pr=Je==="picture-card"&&or.status!=="uploading"&&o.createElement("span",{className:"".concat(Bt,"-list-item-actions")},wr,or.status==="done"&&Ke,Ge),Dr;or.response&&typeof or.response=="string"?Dr=or.response:Dr=or.error&&or.error.statusText||yn.uploadError;var zt=o.createElement("span",null,Nn,lt),hn=o.createElement("div",{className:Be},o.createElement("div",{className:"".concat(Bt,"-list-item-info")},zt),pr,o.createElement(pe.a,{transitionName:"fade",component:""},Yr)),ir=n()(x()({},"".concat(Bt,"-list-picture-card-container"),Je==="picture-card"));return o.createElement("div",{key:or.uid,className:ir},or.status==="error"?o.createElement(wt.a,{title:Dr,getPopupContainer:function(Br){return Br.parentNode}},hn):o.createElement("span",null,hn))}),Mt=n()((at={},x()(at,"".concat(Bt,"-list"),!0),x()(at,"".concat(Bt,"-list-").concat(Je),!0),x()(at,"".concat(Bt,"-list-rtl"),At==="rtl"),at)),hr=Je==="picture-card"?"animate-inline":"animate";return o.createElement(pe.a,{transitionName:"".concat(Bt,"-").concat(hr),component:"div",className:Mt},mt)},ae=o.forwardRef(ye);ae.displayName="UploadList",ae.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:gt,isImageUrl:pt};var yt=ae,et=d("YMnH"),me=d("ZvpZ"),Gt=d("uaoM"),rr=d("sPtV"),ut=function(nr,Lt){var at,Je=nr.fileList,qt=nr.defaultFileList,Sr=nr.onRemove,yr=nr.showUploadList,fr=nr.listType,yn=nr.onPreview,Jr=nr.onDownload,Ln=nr.previewFile,Nt=nr.disabled,Ve=nr.locale,_e=nr.iconRender,ke=nr.isImageUrl,Pe=nr.progress,rt=nr.prefixCls,Pt=nr.className,Yt=nr.type,kt=nr.children,_r=nr.style,Rr=Object(rr.a)(Je||qt||[]),un=c()(Rr,2),Ut=un[0],ht=un[1],ot=o.useState("drop"),Wt=c()(ot,2),Jt=Wt[0],At=Wt[1],Bt=o.useRef();o.useEffect(function(){ht(Je||qt||[]),Object(Gt.a)("fileList"in nr||!("value"in nr),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),o.useEffect(function(){"fileList"in nr&&ht(Je||[])},[Je]);var mt=function(lt){"fileList"in nr||ht(lt.fileList);var Ft=nr.onChange;Ft&&Ft(m()(m()({},lt),{fileList:A()(lt.fileList)}))},Mt=function(lt){var Ft=xe(lt);Ft.status="uploading";var wr=Ut().concat(),pr=wr.findIndex(function(Dr){var zt=Dr.uid;return zt===Ft.uid});pr===-1?wr.push(Ft):wr[pr]=Ft,mt({file:Ft,fileList:wr})},hr=function(lt,Ft,wr){try{typeof lt=="string"&&(lt=JSON.parse(lt))}catch(Dr){}var pr=We(Ft,Ut());if(!pr)return;pr.status="done",pr.response=lt,pr.xhr=wr,mt({file:m()({},pr),fileList:Ut().concat()})},or=function(lt,Ft){var wr=We(Ft,Ut());if(!wr)return;wr.percent=lt.percent,mt({event:lt,file:m()({},wr),fileList:Ut().concat()})},ar=function(lt,Ft,wr){var pr=We(wr,Ut());if(!pr)return;pr.error=lt,pr.response=Ft,pr.status="error",mt({file:m()({},pr),fileList:Ut().concat()})},Gr=function(lt){Promise.resolve(typeof Sr=="function"?Sr(lt):Sr).then(function(Ft){if(Ft===!1)return;var wr=nt(lt,Ut());wr&&(lt.status="removed",Bt.current&&Bt.current.abort(lt),mt({file:lt,fileList:wr}))})},Yr=function(lt){At(lt.type)},In=function(lt,Ft){var wr=nr.beforeUpload;if(!wr)return!0;var pr=wr(lt,Ft);if(pr===!1){var Dr=[];return Ut().concat(Ft.map(xe)).forEach(function(zt){Dr.every(function(hn){return hn.uid!==zt.uid})&&Dr.push(zt)}),mt({file:lt,fileList:Dr}),!1}return pr&&pr.then?pr:!0},Nn=Object(Ze.a)();o.useImperativeHandle(Lt,function(){return{onStart:Mt,onSuccess:hr,onProgress:or,onError:ar,fileList:Ut(),upload:Bt.current,forceUpdate:Nn}});var Kn=function(lt){var Ft=yr.showRemoveIcon,wr=yr.showPreviewIcon,pr=yr.showDownloadIcon,Dr=yr.removeIcon,zt=yr.downloadIcon;return o.createElement(yt,{listType:fr,items:Ut(),previewFile:Ln,onPreview:yn,onDownload:Jr,onRemove:Gr,showRemoveIcon:!Nt&&Ft,showPreviewIcon:wr,showDownloadIcon:pr,removeIcon:Dr,downloadIcon:zt,iconRender:_e,locale:m()(m()({},lt),Ve),isImageUrl:ke,progress:Pe})},$n=o.useContext(_t.b),Ii=$n.getPrefixCls,Mi=$n.direction,Xe=Ii("upload",rt),Ie=m()(m()({onStart:Mt,onError:ar,onProgress:or,onSuccess:hr},nr),{prefixCls:Xe,beforeUpload:In});delete Ie.className,delete Ie.style,(!kt||Nt)&&delete Ie.id;var Be=yr?o.createElement(et.a,{componentName:"Upload",defaultLocale:me.a.Upload},Kn):null;if(Yt==="drag"){var Fe,Ge=n()(Xe,(Fe={},x()(Fe,"".concat(Xe,"-drag"),!0),x()(Fe,"".concat(Xe,"-drag-uploading"),Ut().some(function(vt){return vt.status==="uploading"})),x()(Fe,"".concat(Xe,"-drag-hover"),Jt==="dragover"),x()(Fe,"".concat(Xe,"-disabled"),Nt),x()(Fe,"".concat(Xe,"-rtl"),Mi==="rtl"),Fe),Pt);return o.createElement("span",null,o.createElement("div",{className:Ge,onDrop:Yr,onDragOver:Yr,onDragLeave:Yr,style:_r},o.createElement(J,m()({},Ie,{ref:Bt,className:"".concat(Xe,"-btn")}),o.createElement("div",{className:"".concat(Xe,"-drag-container")},kt))),Be)}var Ke=n()(Xe,(at={},x()(at,"".concat(Xe,"-select"),!0),x()(at,"".concat(Xe,"-select-").concat(fr),!0),x()(at,"".concat(Xe,"-disabled"),Nt),x()(at,"".concat(Xe,"-rtl"),Mi==="rtl"),at)),qe=o.createElement("div",{className:Ke,style:kt?void 0:{display:"none"}},o.createElement(J,m()({},Ie,{ref:Bt})));return fr==="picture-card"?o.createElement("span",{className:n()(Pt,"".concat(Xe,"-picture-card-wrapper"))},Be,qe):o.createElement("span",{className:Pt},qe,Be)},Xt=o.forwardRef(ut);Xt.Dragger=ge,Xt.displayName="Upload",Xt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:fe,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var ur=Xt;ur.Dragger=ge;var Fr=k.a=ur},"98bh":function(H,k,d){var _=d("ProS"),x=d("5GtS"),C=d("bYtY"),A=d("4NO4"),b=d("OELB"),m=b.getPercentWithPrecision,p=d("cCMj"),c=d("KxfA"),o=c.retrieveRawAttr,r=d("D5nY"),i=r.makeSeriesEncodeForNameBased,n=d("xKMd"),t=_.extendSeriesModel({type:"series.pie",init:function(e){t.superApply(this,"init",arguments),this.legendVisualProvider=new n(C.bind(this.getData,this),C.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){t.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,a){return x(this,{coordDimensions:["value"],encodeDefaulter:C.curry(i,this)})},_createSelectableList:function(){for(var e=this.getRawData(),a=e.mapDimension("value"),l=[],u=0,h=e.count();u<h;u++)l.push({name:e.getName(u),value:e.get(a,u),selected:o(e,u,"selected")});return l},getDataParams:function(e){var a=this.getData(),l=t.superCall(this,"getDataParams",e),u=[];return a.each(a.mapDimension("value"),function(h){u.push(h)}),l.percent=m(u,e,a.hostModel.get("percentPrecision")),l.$vars.push("percent"),l},_defaultLabelLine:function(e){A.defaultEmphasis(e,"labelLine",["show"]);var a=e.labelLine,l=e.emphasis.labelLine;a.show=a.show&&e.label.show,l.show=l.show&&e.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"}});C.mixin(t,p);var s=t;H.exports=s},"9H2F":function(H,k,d){var _=d("bYtY"),x=_.assert,C=_.isArray,A=d("Tghj"),b=A.__DEV__;function m(n){return new p(n)}function p(n){n=n||{},this._reset=n.reset,this._plan=n.plan,this._count=n.count,this._onDirty=n.onDirty,this._dirty=!0,this.context}var c=p.prototype;c.perform=function(n){var t=this._upstream,s=n&&n.skip;if(this._dirty&&t){var e=this.context;e.data=e.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!s&&(a=this._plan(this.context));var l=g(this._modBy),u=this._modDataCount||0,h=g(n&&n.modBy),f=n&&n.modDataCount||0;(l!==h||u!==f)&&(a="reset");function g(L){return!(L>=1)&&(L=1),L}var v;(this._dirty||a==="reset")&&(this._dirty=!1,v=i(this,s)),this._modBy=h,this._modDataCount=f;var y=n&&n.step;if(t?this._dueEnd=t._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var E=this._dueIndex,T=Math.min(y!=null?this._dueIndex+y:Infinity,this._dueEnd);if(!s&&(v||E<T)){var w=this._progress;if(C(w))for(var S=0;S<w.length;S++)r(this,w[S],E,T,h,f);else r(this,w,E,T,h,f)}this._dueIndex=T;var I=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=I}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var o=function(){var n,t,s,e,a,l={reset:function(f,g,v,y){t=f,n=g,s=v,e=y,a=Math.ceil(e/s),l.next=s>1&&e>0?h:u}};return l;function u(){return t<n?t++:null}function h(){var f=t%a*s+Math.ceil(t/a),g=t>=n?null:f<e?f:t;return t++,g}}();c.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function r(n,t,s,e,a,l){o.reset(s,e,a,l),n._callingProgress=t,n._callingProgress({start:s,end:e,count:e-s,next:o.next},n.context)}function i(n,t){n._dueIndex=n._outputDueEnd=n._dueEnd=0,n._settedOutputEnd=null;var s,e;!t&&n._reset&&(s=n._reset(n.context),s&&s.progress&&(e=s.forceFirstProgress,s=s.progress),C(s)&&!s.length&&(s=null)),n._progress=s,n._modBy=n._modDataCount=null;var a=n._downstream;return a&&a.dirty(),e}c.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},c.pipe=function(n){(this._downstream!==n||this._dirty)&&(this._downstream=n,n._upstream=this,n.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(n){this._outputDueEnd=this._settedOutputEnd=n},k.createTask=m},"9KIM":function(H,k,d){var _=d("mFDi"),x=d("xSat"),C=x.onIrrelevantElement,A=d("IwbS");function b(o){return o=c(o),function(r,i){return A.clipPointsByRect(r,o)}}function m(o,r){return o=c(o),function(i){var n=r!=null?r:i,t=n?o.width:o.height,s=n?o.x:o.y;return[s,s+(t||0)]}}function p(o,r,i){return o=c(o),function(n,t,s){return o.contain(t[0],t[1])&&!C(n,r,i)}}function c(o){return _.create(o)}k.makeRectPanelClipPath=b,k.makeLinearBrushOtherExtent=m,k.makeRectIsTargetByCursor=p},"9OqN":function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.mode.CTR=function(){var x=_.lib.BlockCipherMode.extend(),C=x.Encryptor=x.extend({processBlock:function(b,m){var p=this._cipher,c=p.blockSize,o=this._iv,r=this._counter;o&&(r=this._counter=o.slice(0),this._iv=void 0);var i=r.slice(0);p.encryptBlock(i,0),r[c-1]=r[c-1]+1|0;for(var n=0;n<c;n++)b[m+n]^=i[n]}});return x.Decryptor=C,x}(),_.mode.CTR})},"9ama":function(H,k,d){},"9eas":function(H,k,d){d("HM/N"),d("tBnm")},"9hCq":function(H,k,d){var _=d("IwbS"),x=d("+TT/"),C=d("bYtY"),A=d("VaxA"),b=A.wrapTreePathInfo,m=8,p=8,c=5;function o(t){this.group=new _.Group,t.add(this.group)}o.prototype={constructor:o,render:function(t,s,e,a){var l=t.getModel("breadcrumb"),u=this.group;if(u.removeAll(),!l.get("show")||!e)return;var h=l.getModel("itemStyle"),f=h.getModel("textStyle"),g={pos:{left:l.get("left"),right:l.get("right"),top:l.get("top"),bottom:l.get("bottom")},box:{width:s.getWidth(),height:s.getHeight()},emptyItemWidth:l.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(e,g,f),this._renderContent(t,g,h,f,a),x.positionElement(u,g.pos,g.box)},_prepare:function(t,s,e){for(var a=t;a;a=a.parentNode){var l=a.getModel().get("name"),u=e.getTextRect(l),h=Math.max(u.width+m*2,s.emptyItemWidth);s.totalWidth+=h+p,s.renderList.push({node:a,text:l,width:h})}},_renderContent:function(t,s,e,a,l){for(var u=0,h=s.emptyItemWidth,f=t.get("breadcrumb.height"),g=x.getAvailableSize(s.pos,s.box),v=s.totalWidth,y=s.renderList,E=y.length-1;E>=0;E--){var T=y[E],w=T.node,S=T.width,I=T.text;v>g.width&&(v-=S-h,S=h,I=null);var L=new _.Polygon({shape:{points:r(u,0,S,f,E===y.length-1,E===0)},style:C.defaults(e.getItemStyle(),{lineJoin:"bevel",text:I,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:C.curry(l,w)});this.group.add(L),i(L,t,w),u+=S+p}},remove:function(){this.group.removeAll()}};function r(t,s,e,a,l,u){var h=[[l?t:t-c,s],[t+e,s],[t+e,s+a],[l?t:t-c,s+a]];return!u&&h.splice(2,0,[t+e+c,s+a/2]),!l&&h.push([t,s+a/2]),h}function i(t,s,e){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:s.componentIndex,seriesIndex:s.componentIndex,seriesName:s.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&b(e,s)}}var n=o;H.exports=n},"9u0u":function(H,k,d){var _=d("bYtY");function x(A,b){var m={};return _.each(A,function(p){p.each(p.mapDimension("value"),function(c,o){var r="ec-"+p.getName(o);m[r]=m[r]||[],isNaN(c)||m[r].push(c)})}),A[0].map(A[0].mapDimension("value"),function(p,c){for(var o="ec-"+A[0].getName(c),r=0,i=Infinity,n=-Infinity,t=m[o].length,s=0;s<t;s++)i=Math.min(i,m[o][s]),n=Math.max(n,m[o][s]),r+=m[o][s];var e;return b==="min"?e=i:b==="max"?e=n:b==="average"?e=r/t:e=r,t===0?NaN:e})}function C(A){var b={};A.eachSeriesByType("map",function(m){var p=m.getHostGeoModel(),c=p?"o"+p.id:"i"+m.getMapType();(b[c]=b[c]||[]).push(m)}),_.each(b,function(m,p){for(var c=x(_.map(m,function(r){return r.getData()}),m[0].get("mapValueCalculation")),o=0;o<m.length;o++)m[o].originalData=m[o].getData();for(var o=0;o<m.length;o++)m[o].seriesGroup=m,m[o].needsDrawMap=o===0&&!m[o].getHostGeoModel(),m[o].setData(c.cloneShallow()),m[o].mainSeries=m[0]})}H.exports=C},"9wZj":function(H,k,d){var _=d("IwbS"),x=d("FBjb"),C=d("bYtY"),A=C.isObject;function b(i){this.group=new _.Group,this._symbolCtor=i||x}var m=b.prototype;function p(i,n,t,s){return n&&!isNaN(n[0])&&!isNaN(n[1])&&!(s.isIgnore&&s.isIgnore(t))&&!(s.clipShape&&!s.clipShape.contain(n[0],n[1]))&&i.getItemVisual(t,"symbol")!=="none"}m.updateData=function(i,n){n=c(n);var t=this.group,s=i.hostModel,e=this._data,a=this._symbolCtor,l=o(i);e||t.removeAll(),i.diff(e).add(function(u){var h=i.getItemLayout(u);if(p(i,h,u,n)){var f=new a(i,u,l);f.attr("position",h),i.setItemGraphicEl(u,f),t.add(f)}}).update(function(u,h){var f=e.getItemGraphicEl(h),g=i.getItemLayout(u);if(!p(i,g,u,n)){t.remove(f);return}f?(f.updateData(i,u,l),_.updateProps(f,{position:g},s)):(f=new a(i,u),f.attr("position",g)),t.add(f),i.setItemGraphicEl(u,f)}).remove(function(u){var h=e.getItemGraphicEl(u);h&&h.fadeOut(function(){t.remove(h)})}).execute(),this._data=i},m.isPersistent=function(){return!0},m.updateLayout=function(){var i=this._data;i&&i.eachItemGraphicEl(function(n,t){var s=i.getItemLayout(t);n.attr("position",s)})},m.incrementalPrepareUpdate=function(i){this._seriesScope=o(i),this._data=null,this.group.removeAll()},m.incrementalUpdate=function(i,n,t){t=c(t);function s(u){u.isGroup||(u.incremental=u.useHoverLayer=!0)}for(var e=i.start;e<i.end;e++){var a=n.getItemLayout(e);if(p(n,a,e,t)){var l=new this._symbolCtor(n,e,this._seriesScope);l.traverse(s),l.attr("position",a),this.group.add(l),n.setItemGraphicEl(e,l)}}};function c(i){return i!=null&&!A(i)&&(i={isIgnore:i}),i||{}}m.remove=function(i){var n=this.group,t=this._data;t&&i?t.eachItemGraphicEl(function(s){s.fadeOut(function(){n.remove(s)})}):n.removeAll()};function o(i){var n=i.hostModel;return{itemStyle:n.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:n.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:n.get("symbolRotate"),symbolOffset:n.get("symbolOffset"),hoverAnimation:n.get("hoverAnimation"),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label"),cursorStyle:n.get("cursor")}}var r=b;H.exports=r},"9yH6":function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("q1tI"),m=d("x1Ya"),p=d("TSYQ"),c=d.n(p),o=d("H84U"),r=b.createContext(null),i=r.Provider,n=r,t=d("cDf5"),s=d.n(t);function e(D,B){typeof D=="function"?D(B):s()(D)==="object"&&D&&"current"in D&&(D.current=B)}function a(){for(var D=arguments.length,B=new Array(D),M=0;M<D;M++)B[M]=arguments[M];return function(U){B.forEach(function(F){e(F,U)})}}var l=d("uaoM"),u=function(D,B){var M={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&B.indexOf(U)<0&&(M[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,U=Object.getOwnPropertySymbols(D);F<U.length;F++)B.indexOf(U[F])<0&&Object.prototype.propertyIsEnumerable.call(D,U[F])&&(M[U[F]]=D[U[F]]);return M},h=function(B,M){var U,F=b.useContext(n),j=b.useContext(o.b),W=j.getPrefixCls,V=j.direction,z=b.useRef(),Y=a(M,z);b.useEffect(function(){Object(l.a)(!("optionType"in B),"Radio","`optionType` is only support in Radio.Group.")},[]);var J=function($){B.onChange&&B.onChange($),(F==null?void 0:F.onChange)&&F.onChange($)},ie=B.prefixCls,Z=B.className,oe=B.children,ge=B.style,pe=u(B,["prefixCls","className","children","style"]),De=W("radio",ie),ce=A()({},pe);F&&(ce.name=F.name,ce.onChange=J,ce.checked=B.value===F.value,ce.disabled=B.disabled||F.disabled);var Oe=c()(Z,(U={},x()(U,"".concat(De,"-wrapper"),!0),x()(U,"".concat(De,"-wrapper-checked"),ce.checked),x()(U,"".concat(De,"-wrapper-disabled"),ce.disabled),x()(U,"".concat(De,"-wrapper-rtl"),V==="rtl"),U));return b.createElement("label",{className:Oe,style:ge,onMouseEnter:B.onMouseEnter,onMouseLeave:B.onMouseLeave},b.createElement(m.a,A()({},ce,{prefixCls:De,ref:Y})),oe!==void 0?b.createElement("span",null,oe):null)},f=b.forwardRef(h);f.displayName="Radio",f.defaultProps={type:"radio"};var g=f,v=d("J4zp"),y=d.n(v),E=d("6cGi"),T=d("3Nzz"),w=b.forwardRef(function(D,B){var M=b.useContext(o.b),U=M.getPrefixCls,F=M.direction,j=b.useContext(T.b),W=Object(E.a)(D.defaultValue,{value:D.value}),V=y()(W,2),z=V[0],Y=V[1],J=function(oe){var ge=z,pe=oe.target.value;"value"in D||Y(pe);var De=D.onChange;De&&pe!==ge&&De(oe)},ie=function(){var oe,ge=D.prefixCls,pe=D.className,De=pe===void 0?"":pe,ce=D.options,Oe=D.optionType,se=D.buttonStyle,$=D.disabled,ze=D.children,re=D.size,X=D.style,G=D.id,Q=D.onMouseEnter,ve=D.onMouseLeave,de=U("radio",ge),Ce="".concat(de,"-group"),we=ze;if(ce&&ce.length>0){var le=Oe==="button"?"".concat(de,"-button"):de;we=ce.map(function(We){return typeof We=="string"?b.createElement(g,{ref:B,key:We,prefixCls:le,disabled:$,value:We,checked:z===We},We):b.createElement(g,{ref:B,key:"radio-group-value-options-".concat(We.value),prefixCls:le,disabled:We.disabled||$,value:We.value,checked:z===We.value,style:We.style},We.label)})}var fe=re||j,xe=c()(Ce,"".concat(Ce,"-").concat(se),(oe={},x()(oe,"".concat(Ce,"-").concat(fe),fe),x()(oe,"".concat(Ce,"-rtl"),F==="rtl"),oe),De);return b.createElement("div",{className:xe,style:X,onMouseEnter:Q,onMouseLeave:ve,id:G},we)};return b.createElement(i,{value:{onChange:J,value:z,disabled:D.disabled,name:D.name}},ie())});w.defaultProps={buttonStyle:"outline"};var S=b.memo(w),I=function(D,B){var M={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&B.indexOf(U)<0&&(M[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,U=Object.getOwnPropertySymbols(D);F<U.length;F++)B.indexOf(U[F])<0&&Object.prototype.propertyIsEnumerable.call(D,U[F])&&(M[U[F]]=D[U[F]]);return M},L=function(B,M){var U=b.useContext(n),F=b.useContext(o.b),j=F.getPrefixCls,W=B.prefixCls,V=I(B,["prefixCls"]),z=j("radio-button",W);return U&&(V.checked=B.value===U.value,V.disabled=B.disabled||U.disabled),b.createElement(g,A()({prefixCls:z},V,{type:"radio",ref:M}))},O=b.forwardRef(L),N=g;N.Button=O,N.Group=S;var R=k.a=N},A1Ka:function(H,k,d){var _=d("bLfw"),x=d("sS/r"),C=d("D5nY"),A=C.detectSourceFormat,b=d("k9D9"),m=b.SERIES_LAYOUT_BY_COLUMN;_.extend({type:"dataset",defaultOption:{seriesLayoutBy:m,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){A(this)}}),x.extend({type:"dataset"})},ABKa:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("Qs9O")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="FolderOutlined";var c=A.forwardRef(p);k.default=c},AE9C:function(H,k,d){var _=d("bYtY"),x=d("crZl"),C=d("IwbS"),A=d("oVpE"),b=A.createSymbol,m=d("+TT/"),p=d("y7Aq"),c=x.extend({type:"visualMap.piecewise",doRender:function(){var r=this.group;r.removeAll();var i=this.visualMapModel,n=i.get("textGap"),t=i.textStyleModel,s=t.getFont(),e=t.getTextColor(),a=this._getItemAlign(),l=i.itemSize,u=this._getViewData(),h=u.endsText,f=_.retrieve(i.get("showLabel",!0),!h);h&&this._renderEndsText(r,h[0],l,f,a),_.each(u.viewPieceList,g,this),h&&this._renderEndsText(r,h[1],l,f,a),m.box(i.get("orient"),r,i.get("itemGap")),this.renderBackground(r),this.positionGroup(r);function g(v){var y=v.piece,E=new C.Group;E.onclick=_.bind(this._onItemClick,this,y),this._enableHoverLink(E,v.indexInModelPieceList);var T=i.getRepresentValue(y);if(this._createItemSymbol(E,T,[0,0,l[0],l[1]]),f){var w=this.visualMapModel.getValueState(T);E.add(new C.Text({style:{x:a==="right"?-n:l[0]+n,y:l[1]/2,text:y.text,textVerticalAlign:"middle",textAlign:a,textFont:s,textFill:e,opacity:w==="outOfRange"?.5:1}}))}r.add(E)}},_enableHoverLink:function(r,i){r.on("mouseover",_.bind(n,this,"highlight")).on("mouseout",_.bind(n,this,"downplay"));function n(t){var s=this.visualMapModel;s.option.hoverLink&&this.api.dispatchAction({type:t,batch:p.makeHighDownBatch(s.findTargetDataIndices(i),s)})}},_getItemAlign:function(){var r=this.visualMapModel,i=r.option;if(i.orient==="vertical")return p.getItemAlign(r,this.api,r.itemSize);var n=i.align;return(!n||n==="auto")&&(n="left"),n},_renderEndsText:function(r,i,n,t,s){if(!i)return;var e=new C.Group,a=this.visualMapModel.textStyleModel;e.add(new C.Text({style:{x:t?s==="right"?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:t?s:"center",text:i,textFont:a.getFont(),textFill:a.getTextColor()}})),r.add(e)},_getViewData:function(){var r=this.visualMapModel,i=_.map(r.getPieceList(),function(e,a){return{piece:e,indexInModelPieceList:a}}),n=r.get("text"),t=r.get("orient"),s=r.get("inverse");return(t==="horizontal"?s:!s)?i.reverse():n&&(n=n.slice().reverse()),{viewPieceList:i,endsText:n}},_createItemSymbol:function(r,i,n){r.add(b(this.getControllerVisual(i,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(i,"color")))},_onItemClick:function(r){var i=this.visualMapModel,n=i.option,t=_.clone(n.selected),s=i.getSelectedMapKey(r);n.selectedMode==="single"?(t[s]=!0,_.each(t,function(e,a){t[a]=a===s})):t[s]=!t[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:t})}}),o=c;H.exports=o},AEZ6:function(H,k,d){var _=d("bYtY"),x=_.each,C=_.createHashMap,A=d("T4UG"),b=d("MwEJ"),m=A.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(o,r){var i=this.getSource();return p(i,this),b(i,this)},getRawIndicesByActiveState:function(o){var r=this.coordinateSystem,i=this.getData(),n=[];return r.eachActiveState(i,function(t,s){o===t&&n.push(i.getRawIndex(s))}),n},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 p(o,r){if(o.encodeDefine)return;var i=r.ecModel.getComponent("parallel",r.get("parallelIndex"));if(!i)return;var n=o.encodeDefine=C();x(i.dimensions,function(t){var s=c(t);n.set(t,s)})}function c(o){return+o.replace("dim","")}H.exports=m},AH3D:function(H,k,d){var _=d("ProS");d("y4/Y"),d("qWt2"),d("Qvb6"),_.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),_.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("5GtS"),A=d("4NO4"),b=A.defaultEmphasis,m=d("D5nY"),p=m.makeSeriesEncodeForNameBased,c=d("xKMd"),o=_.extendSeriesModel({type:"series.funnel",init:function(i){o.superApply(this,"init",arguments),this.legendVisualProvider=new c(x.bind(this.getData,this),x.bind(this.getRawData,this)),this._defaultLabelLine(i)},getInitialData:function(i,n){return C(this,{coordDimensions:["value"],encodeDefaulter:x.curry(p,this)})},_defaultLabelLine:function(i){b(i,"labelLine",["show"]);var n=i.labelLine,t=i.emphasis.labelLine;n.show=n.show&&i.label.show,t.show=t.show&&i.emphasis.label.show},getDataParams:function(i){var n=this.getData(),t=o.superCall(this,"getDataParams",i),s=n.mapDimension("value"),e=n.getSum(s);return t.percent=e?+(n.get(s,i)/e*100).toFixed(2):0,t.$vars.push("percent"),t},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),r=o;H.exports=r},ALsQ:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.mode.CFB=function(){var x=_.lib.BlockCipherMode.extend();x.Encryptor=x.extend({processBlock:function(b,m){var p=this._cipher,c=p.blockSize;C.call(this,b,m,c,p),this._prevBlock=b.slice(m,m+c)}}),x.Decryptor=x.extend({processBlock:function(b,m){var p=this._cipher,c=p.blockSize,o=b.slice(m,m+c);C.call(this,b,m,c,p),this._prevBlock=o}});function C(A,b,m,p){var c,o=this._iv;o?(c=o.slice(0),this._iv=void 0):c=this._prevBlock,p.encryptBlock(c,0);for(var r=0;r<m;r++)A[b+r]^=c[r]}return x}(),_.mode.CFB})},ANjR:function(H,k,d){var _=d("bYtY");function x(A,b){return b=b||[0,0],_.map([0,1],function(m){var p=b[m],c=A[m]/2,o=[],r=[];return o[m]=p-c,r[m]=p+c,o[1-m]=r[1-m]=b[1-m],Math.abs(this.dataToPoint(o)[m]-this.dataToPoint(r)[m])},this)}function C(A){var b=A.getBoundingRect();return{coordSys:{type:"geo",x:b.x,y:b.y,width:b.width,height:b.height,zoom:A.getZoom()},api:{coord:function(m){return A.dataToPoint(m)},size:_.bind(x,A)}}}H.exports=C},AOa7:function(H,k,d){},AUH6:function(H,k,d){var _=d("bYtY"),x=d("mFDi"),C=d("bMXI"),A=d("W4dC");function b(c,o,r,i){C.call(this,c),this.map=o;var n=A.load(o,r);this._nameCoordMap=n.nameCoordMap,this._regionsMap=n.regionsMap,this._invertLongitute=i==null?!0:i,this.regions=n.regions,this._rect=n.boundingRect}b.prototype={constructor:b,type:"geo",dimensions:["lng","lat"],containCoord:function(c){for(var o=this.regions,r=0;r<o.length;r++)if(o[r].contain(c))return!0;return!1},transformTo:function(c,o,r,i){var n=this.getBoundingRect(),t=this._invertLongitute;n=n.clone(),t&&(n.y=-n.y-n.height);var s=this._rawTransformable;if(s.transform=n.calculateTransform(new x(c,o,r,i)),s.decomposeTransform(),t){var e=s.scale;e[1]=-e[1]}s.updateTransform(),this._updateTransform()},getRegion:function(c){return this._regionsMap.get(c)},getRegionByCoord:function(c){for(var o=this.regions,r=0;r<o.length;r++)if(o[r].contain(c))return o[r]},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,r){if(typeof c=="string"&&(c=this.getGeoCoord(c)),c)return C.prototype.dataToPoint.call(this,c,o,r)},convertToPixel:_.curry(m,"dataToPoint"),convertFromPixel:_.curry(m,"pointToData")},_.mixin(b,C);function m(c,o,r,i){var n=r.geoModel,t=r.seriesModel,s=n?n.coordinateSystem:t?t.coordinateSystem||(t.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return s===this?s[c](i):null}var p=b;H.exports=p},AVZG:function(H,k,d){var _=d("bYtY");function x(C,A,b){b=b||{};var m=C.coordinateSystem,p=A.axis,c={},o=p.getAxesOnZeroOf()[0],r=p.position,i=o?"onZero":r,n=p.dim,t=m.getRect(),s=[t.x,t.x+t.width,t.y,t.y+t.height],e={left:0,right:1,top:0,bottom:1,onZero:2},a=A.get("offset")||0,l=n==="x"?[s[2]-a,s[3]+a]:[s[0]-a,s[1]+a];if(o){var u=o.toGlobalCoord(o.dataToCoord(0));l[e.onZero]=Math.max(Math.min(u,l[1]),l[0])}c.position=[n==="y"?l[e[i]]:s[0],n==="x"?l[e[i]]:s[3]],c.rotation=Math.PI/2*(n==="x"?0:1);var h={top:-1,bottom:1,left:-1,right:1};c.labelDirection=c.tickDirection=c.nameDirection=h[r],c.labelOffset=o?l[e[r]]-l[e.onZero]:0,A.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),_.retrieve(b.labelInside,A.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var f=A.get("axisLabel.rotate");return c.labelRotate=i==="top"?-f:f,c.z2=1,c}k.layout=x},"Ae+d":function(H,k){function d(x,C,A){var b=x.target,m=b.position;m[0]+=C,m[1]+=A,b.dirty()}function _(x,C,A,b){var m=x.target,p=x.zoomLimit,c=m.position,o=m.scale,r=x.zoom=x.zoom||1;if(r*=C,p){var i=p.min||0,n=p.max||Infinity;r=Math.max(Math.min(n,r),i)}var t=r/x.zoom;x.zoom=r,c[0]-=(A-c[0])*(t-1),c[1]-=(b-c[1])*(t-1),o[0]*=t,o[1]*=t,m.dirty()}k.updateViewOnPan=d,k.updateViewOnZoom=_},Ae16:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("IwbS");d("Wqna"),d("rySg"),_.extendComponentView({type:"grid",render:function(A,b){this.group.removeAll(),A.get("show")&&this.group.add(new C.Rect({shape:A.coordinateSystem.getRect(),style:x.defaults({fill:A.get("backgroundColor")},A.getItemStyle()),silent:!0,z2:-1}))}}),_.registerPreprocessor(function(A){A.xAxis&&A.yAxis&&!A.grid&&(A.grid={})})},Awhp:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("PQMj"),A=d.n(C)},"B+YJ":function(H,k,d){d("TYVI"),d("p1MT")},"B6l+":function(H,k,d){var _=d("Sq3C"),x=d("Z1HP"),C=d("Sxd8"),A=d("dt0z");function b(m,p,c){m=A(m),p=C(p);var o=p?x(m):0;return p&&o<p?m+_(p-o,c):m}H.exports=b},B9cy:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("0XgM"),A=d.n(C)},B9fm:function(H,k,d){var _=d("bYtY"),x=d("Qe9p"),C=d("YH21"),A=d("Ze12"),b=d("ItGF"),m=d("7aKB"),p=_.each,c=m.toCamelCase,o=["","-webkit-","-moz-","-o-"],r="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function i(l){var u="cubic-bezier(0.23, 1, 0.32, 1)",h="left "+l+"s "+u+",top "+l+"s "+u;return _.map(o,function(f){return f+"transition:"+h}).join(";")}function n(l){var u=[],h=l.get("fontSize"),f=l.getTextColor();return f&&u.push("color:"+f),u.push("font:"+l.getFont()),h&&u.push("line-height:"+Math.round(h*3/2)+"px"),p(["decoration","align"],function(g){var v=l.get(g);v&&u.push("text-"+g+":"+v)}),u.join(";")}function t(l){var u=[],h=l.get("transitionDuration"),f=l.get("backgroundColor"),g=l.getModel("textStyle"),v=l.get("padding");return h&&u.push(i(h)),f&&(b.canvasSupported?u.push("background-Color:"+f):(u.push("background-Color:#"+x.toHex(f)),u.push("filter:alpha(opacity=70)"))),p(["width","color","radius"],function(y){var E="border-"+y,T=c(E),w=l.get(T);w!=null&&u.push(E+":"+w+(y==="color"?"":"px"))}),u.push(n(g)),v!=null&&u.push("padding:"+m.normalizeCssArray(v).join("px ")+"px"),u.join(";")+";"}function s(l,u,h,f,g){var v=u&&u.painter;if(h){var y=v&&v.getViewportRoot();y&&A.transformLocalCoord(l,y,document.body,f,g)}else{l[0]=f,l[1]=g;var E=v&&v.getViewportRootOffset();E&&(l[0]+=E.offsetLeft,l[1]+=E.offsetTop)}}function e(l,u,h){if(b.wxa)return null;var f=document.createElement("div");f.domBelongToZr=!0,this.el=f;var g=this._zr=u.getZr(),v=this._appendToBody=h&&h.appendToBody;this._styleCoord=[0,0],s(this._styleCoord,g,v,u.getWidth()/2,u.getHeight()/2),v?document.body.appendChild(f):l.appendChild(f),this._container=l,this._show=!1,this._hideTimeout;var y=this;f.onmouseenter=function(){y._enterable&&(clearTimeout(y._hideTimeout),y._show=!0),y._inContent=!0},f.onmousemove=function(E){if(E=E||window.event,!y._enterable){var T=g.handler,w=g.painter.getViewportRoot();C.normalizeEvent(w,E,!0),T.dispatch("mousemove",E)}},f.onmouseleave=function(){y._enterable&&(y._show&&y.hideLater(y._hideDelay)),y._inContent=!1}}e.prototype={constructor:e,_enterable:!0,update:function(){var l=this._container,u=l.currentStyle||document.defaultView.getComputedStyle(l),h=l.style;h.position!=="absolute"&&u.position!=="absolute"&&(h.position="relative")},show:function(l){clearTimeout(this._hideTimeout);var u=this.el,h=this._styleCoord;u.style.cssText=r+t(l)+";left:"+h[0]+"px;top:"+h[1]+"px;"+(l.get("extraCssText")||""),u.style.display=u.innerHTML?"block":"none",u.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(l){this.el.innerHTML=l==null?"":l},setEnterable:function(l){this._enterable=l},getSize:function(){var l=this.el;return[l.clientWidth,l.clientHeight]},moveTo:function(l,u){var h=this._styleCoord;s(h,this._zr,this._appendToBody,l,u);var f=this.el.style;f.left=h[0]+"px",f.top=h[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(l){this._show&&!(this._inContent&&this._enterable)&&(l?(this._hideDelay=l,this._show=!1,this._hideTimeout=setTimeout(_.bind(this.hide,this),l)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var l=this.el.clientWidth,u=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var h=document.defaultView.getComputedStyle(this.el);h&&(l+=parseInt(h.borderLeftWidth,10)+parseInt(h.borderRightWidth,10),u+=parseInt(h.borderTopWidth,10)+parseInt(h.borderBottomWidth,10))}return{width:l,height:u}}};var a=e;H.exports=a},BPZU:function(H,k){var d=32,_=7,x=256;function C(i){for(var n=0;i>=d;)n|=i&1,i>>=1;return i+n}function A(i,n,t,s){var e=n+1;if(e===t)return 1;if(s(i[e++],i[n])<0){for(;e<t&&s(i[e],i[e-1])<0;)e++;b(i,n,e)}else for(;e<t&&s(i[e],i[e-1])>=0;)e++;return e-n}function b(i,n,t){for(t--;n<t;){var s=i[n];i[n++]=i[t],i[t--]=s}}function m(i,n,t,s,e){for(s===n&&s++;s<t;s++){for(var a=i[s],l=n,u=s,h;l<u;)h=l+u>>>1,e(a,i[h])<0?u=h:l=h+1;var f=s-l;switch(f){case 3:i[l+3]=i[l+2];case 2:i[l+2]=i[l+1];case 1:i[l+1]=i[l];break;default:for(;f>0;)i[l+f]=i[l+f-1],f--}i[l]=a}}function p(i,n,t,s,e,a){var l=0,u=0,h=1;if(a(i,n[t+e])>0){for(u=s-e;h<u&&a(i,n[t+e+h])>0;)l=h,h=(h<<1)+1,h<=0&&(h=u);h>u&&(h=u),l+=e,h+=e}else{for(u=e+1;h<u&&a(i,n[t+e-h])<=0;)l=h,h=(h<<1)+1,h<=0&&(h=u);h>u&&(h=u);var f=l;l=e-h,h=e-f}for(l++;l<h;){var g=l+(h-l>>>1);a(i,n[t+g])>0?l=g+1:h=g}return h}function c(i,n,t,s,e,a){var l=0,u=0,h=1;if(a(i,n[t+e])<0){for(u=e+1;h<u&&a(i,n[t+e-h])<0;)l=h,h=(h<<1)+1,h<=0&&(h=u);h>u&&(h=u);var f=l;l=e-h,h=e-f}else{for(u=s-e;h<u&&a(i,n[t+e+h])>=0;)l=h,h=(h<<1)+1,h<=0&&(h=u);h>u&&(h=u),l+=e,h+=e}for(l++;l<h;){var g=l+(h-l>>>1);a(i,n[t+g])<0?h=g:l=g+1}return h}function o(i,n){var t=_,s=0,e=x,a=0,l,u,h=0;s=i.length,s<2*x&&(e=s>>>1);var f=[];a=s<120?5:s<1542?10:s<119151?19:40,l=[],u=[];function g(S,I){l[h]=S,u[h]=I,h+=1}function v(){for(;h>1;){var S=h-2;if(S>=1&&u[S-1]<=u[S]+u[S+1]||S>=2&&u[S-2]<=u[S]+u[S-1])u[S-1]<u[S+1]&&S--;else if(u[S]>u[S+1])break;E(S)}}function y(){for(;h>1;){var S=h-2;S>0&&u[S-1]<u[S+1]&&S--,E(S)}}function E(S){var I=l[S],L=u[S],O=l[S+1],N=u[S+1];u[S]=L+N,S===h-3&&(l[S+1]=l[S+2],u[S+1]=u[S+2]),h--;var R=c(i[O],i,I,L,0,n);if(I+=R,L-=R,L===0)return;if(N=p(i[I+L-1],i,O,N,N-1,n),N===0)return;L<=N?T(I,L,O,N):w(I,L,O,N)}function T(S,I,L,O){var N=0;for(N=0;N<I;N++)f[N]=i[S+N];var R=0,D=L,B=S;if(i[B++]=i[D++],--O===0){for(N=0;N<I;N++)i[B+N]=f[R+N];return}if(I===1){for(N=0;N<O;N++)i[B+N]=i[D+N];i[B+O]=f[R];return}for(var M=t,U,F,j;;){U=0,F=0,j=!1;do if(n(i[D],f[R])<0){if(i[B++]=i[D++],F++,U=0,--O===0){j=!0;break}}else if(i[B++]=f[R++],U++,F=0,--I===1){j=!0;break}while((U|F)<M);if(j)break;do{if(U=c(i[D],f,R,I,0,n),U!==0){for(N=0;N<U;N++)i[B+N]=f[R+N];if(B+=U,R+=U,I-=U,I<=1){j=!0;break}}if(i[B++]=i[D++],--O===0){j=!0;break}if(F=p(f[R],i,D,O,0,n),F!==0){for(N=0;N<F;N++)i[B+N]=i[D+N];if(B+=F,D+=F,O-=F,O===0){j=!0;break}}if(i[B++]=f[R++],--I===1){j=!0;break}M--}while(U>=_||F>=_);if(j)break;M<0&&(M=0),M+=2}if(t=M,t<1&&(t=1),I===1){for(N=0;N<O;N++)i[B+N]=i[D+N];i[B+O]=f[R]}else{if(I===0)throw new Error;for(N=0;N<I;N++)i[B+N]=f[R+N]}}function w(S,I,L,O){var N=0;for(N=0;N<O;N++)f[N]=i[L+N];var R=S+I-1,D=O-1,B=L+O-1,M=0,U=0;if(i[B--]=i[R--],--I===0){for(M=B-(O-1),N=0;N<O;N++)i[M+N]=f[N];return}if(O===1){for(B-=I,R-=I,U=B+1,M=R+1,N=I-1;N>=0;N--)i[U+N]=i[M+N];i[B]=f[D];return}for(var F=t;;){var j=0,W=0,V=!1;do if(n(f[D],i[R])<0){if(i[B--]=i[R--],j++,W=0,--I===0){V=!0;break}}else if(i[B--]=f[D--],W++,j=0,--O===1){V=!0;break}while((j|W)<F);if(V)break;do{if(j=I-c(f[D],i,S,I,I-1,n),j!==0){for(B-=j,R-=j,I-=j,U=B+1,M=R+1,N=j-1;N>=0;N--)i[U+N]=i[M+N];if(I===0){V=!0;break}}if(i[B--]=f[D--],--O===1){V=!0;break}if(W=O-p(i[R],f,0,O,O-1,n),W!==0){for(B-=W,D-=W,O-=W,U=B+1,M=D+1,N=0;N<W;N++)i[U+N]=f[M+N];if(O<=1){V=!0;break}}if(i[B--]=i[R--],--I===0){V=!0;break}F--}while(j>=_||W>=_);if(V)break;F<0&&(F=0),F+=2}if(t=F,t<1&&(t=1),O===1){for(B-=I,R-=I,U=B+1,M=R+1,N=I-1;N>=0;N--)i[U+N]=i[M+N];i[B]=f[D]}else{if(O===0)throw new Error;for(M=B-(O-1),N=0;N<O;N++)i[M+N]=f[N]}}this.mergeRuns=v,this.forceMergeRuns=y,this.pushRun=g}function r(i,n,t,s){t||(t=0),s||(s=i.length);var e=s-t;if(e<2)return;var a=0;if(e<d){a=A(i,t,s,n),m(i,t,s,t+a,n);return}var l=new o(i,n),u=C(e);do{if(a=A(i,t,s,n),a<u){var h=e;h>u&&(h=u),m(i,t,t+h,t+a,n),a=h}l.pushRun(t,a),l.mergeRuns(),e-=a,t+=a}while(e!==0);l.forceMergeRuns()}H.exports=r},Bd2K:function(H,k,d){(function(_){_(d("VrN/"),d("osHv"))})(function(_){_.defineOption("autoCloseTags",!1,function(o,r,i){if(i!=_.Init&&i&&o.removeKeyMap("autoCloseTags"),!r)return;var n={name:"autoCloseTags"};(typeof r!="object"||r.whenClosing!==!1)&&(n["'/'"]=function(t){return m(t)}),(typeof r!="object"||r.whenOpening!==!1)&&(n["'>'"]=function(t){return A(t)}),o.addKeyMap(n)});var x=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],C=["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 A(o){if(o.getOption("disableInput"))return _.Pass;for(var r=o.listSelections(),i=[],n=o.getOption("autoCloseTags"),t=0;t<r.length;t++){if(!r[t].empty())return _.Pass;var s=r[t].head,e=o.getTokenAt(s),a=_.innerMode(o.getMode(),e.state),l=a.state,u=a.mode.xmlCurrentTag&&a.mode.xmlCurrentTag(l),h=u&&u.name;if(!h)return _.Pass;var f=a.mode.configuration=="html",g=typeof n=="object"&&n.dontCloseTags||f&&x,v=typeof n=="object"&&n.indentTags||f&&C;e.end>s.ch&&(h=h.slice(0,h.length-e.end+s.ch));var y=h.toLowerCase();if(!h||e.type=="string"&&(e.end!=s.ch||!/[\"\']/.test(e.string.charAt(e.string.length-1))||e.string.length==1)||e.type=="tag"&&u.close||e.string.indexOf("/")==s.ch-e.start-1||g&&p(g,y)>-1||c(o,a.mode.xmlCurrentContext&&a.mode.xmlCurrentContext(l)||[],h,s,!0))return _.Pass;var E=typeof n=="object"&&n.emptyTags;if(E&&p(E,h)>-1){i[t]={text:"/>",newPos:_.Pos(s.line,s.ch+2)};continue}var T=v&&p(v,y)>-1;i[t]={indent:T,text:">"+(T?`
`:"")+"</"+h+">",newPos:T?_.Pos(s.line+1,0):_.Pos(s.line,s.ch+1)}}for(var w=typeof n=="object"&&n.dontIndentOnAutoClose,t=r.length-1;t>=0;t--){var S=i[t];o.replaceRange(S.text,r[t].head,r[t].anchor,"+insert");var I=o.listSelections().slice(0);I[t]={head:S.newPos,anchor:S.newPos},o.setSelections(I),!w&&S.indent&&(o.indentLine(S.newPos.line,null,!0),o.indentLine(S.newPos.line+1,null,!0))}}function b(o,r){for(var i=o.listSelections(),n=[],t=r?"/":"</",s=o.getOption("autoCloseTags"),e=typeof s=="object"&&s.dontIndentOnSlash,a=0;a<i.length;a++){if(!i[a].empty())return _.Pass;var l=i[a].head,u=o.getTokenAt(l),h=_.innerMode(o.getMode(),u.state),f=h.state;if(r&&(u.type=="string"||u.string.charAt(0)!="<"||u.start!=l.ch-1))return _.Pass;var g,v=h.mode.name!="xml"&&o.getMode().name=="htmlmixed";if(v&&h.mode.name=="javascript")g=t+"script";else if(v&&h.mode.name=="css")g=t+"style";else{var y=h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(f);if(!y||y.length&&c(o,y,y[y.length-1],l))return _.Pass;g=t+y[y.length-1]}o.getLine(l.line).charAt(u.end)!=">"&&(g+=">"),n[a]=g}if(o.replaceSelections(n),i=o.listSelections(),!e)for(var a=0;a<i.length;a++)(a==i.length-1||i[a].head.line<i[a+1].head.line)&&o.indentLine(i[a].head.line)}function m(o){return o.getOption("disableInput")?_.Pass:b(o,!0)}_.commands.closeTag=function(o){return b(o)};function p(o,r){if(o.indexOf)return o.indexOf(r);for(var i=0,n=o.length;i<n;++i)if(o[i]==r)return i;return-1}function c(o,r,i,n,t){if(!_.scanForClosingTag)return!1;var s=Math.min(o.lastLine()+1,n.line+500),e=_.scanForClosingTag(o,n,null,s);if(!e||e.tag!=i)return!1;for(var a=t?1:0,l=r.length-1;l>=0&&r[l]==i;l--)++a;n=e.to;for(var l=1;l<a;l++){var u=_.scanForClosingTag(o,n,null,s);if(!u||u.tag!=i)return!1;n=u.to}return!0}})},BlVb:function(H,k,d){var _=d("hyiK"),x=1e-8;function C(b,m){return Math.abs(b-m)<x}function A(b,m,p){var c=0,o=b[0];if(!o)return!1;for(var r=1;r<b.length;r++){var i=b[r];c+=_(o[0],o[1],i[0],i[1],m,p),o=i}var n=b[0];return(!C(o[0],n[0])||!C(o[1],n[1]))&&(c+=_(o[0],o[1],n[0],n[1],m,p)),c!==0}k.contain=A},BoS7:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("czTT"),A=d.n(C)},Bq2U:function(H,k,d){var _=d("RDYZ"),x=d("Qe9p"),C=d("bYtY"),A=C.isArrayLike,b=Array.prototype.slice;function m(g,v){return g[v]}function p(g,v,y){g[v]=y}function c(g,v,y){return(v-g)*y+g}function o(g,v,y){return y>.5?v:g}function r(g,v,y,E,T){var w=g.length;if(T===1)for(var S=0;S<w;S++)E[S]=c(g[S],v[S],y);else for(var I=w&&g[0].length,S=0;S<w;S++)for(var L=0;L<I;L++)E[S][L]=c(g[S][L],v[S][L],y)}function i(g,v,y){var E=g.length,T=v.length;if(E!==T){var w=E>T;if(w)g.length=T;else for(var S=E;S<T;S++)g.push(y===1?v[S]:b.call(v[S]))}for(var I=g[0]&&g[0].length,S=0;S<g.length;S++)if(y===1)isNaN(g[S])&&(g[S]=v[S]);else for(var L=0;L<I;L++)isNaN(g[S][L])&&(g[S][L]=v[S][L])}function n(g,v,y){if(g===v)return!0;var E=g.length;if(E!==v.length)return!1;if(y===1){for(var T=0;T<E;T++)if(g[T]!==v[T])return!1}else for(var w=g[0].length,T=0;T<E;T++)for(var S=0;S<w;S++)if(g[T][S]!==v[T][S])return!1;return!0}function t(g,v,y,E,T,w,S,I,L){var O=g.length;if(L===1)for(var N=0;N<O;N++)I[N]=s(g[N],v[N],y[N],E[N],T,w,S);else for(var R=g[0].length,N=0;N<O;N++)for(var D=0;D<R;D++)I[N][D]=s(g[N][D],v[N][D],y[N][D],E[N][D],T,w,S)}function s(g,v,y,E,T,w,S){var I=(y-g)*.5,L=(E-v)*.5;return(2*(v-y)+I+L)*S+(-3*(v-y)-2*I-L)*w+I*T+v}function e(g){if(A(g)){var v=g.length;if(A(g[0])){for(var y=[],E=0;E<v;E++)y.push(b.call(g[E]));return y}return b.call(g)}return g}function a(g){return g[0]=Math.floor(g[0]),g[1]=Math.floor(g[1]),g[2]=Math.floor(g[2]),"rgba("+g.join(",")+")"}function l(g){var v=g[g.length-1].value;return A(v&&v[0])?2:1}function u(g,v,y,E,T,w){var S=g._getter,I=g._setter,L=v==="spline",O=E.length;if(!O)return;var N=E[0].value,R=A(N),D=!1,B=!1,M=R?l(E):0,U;E.sort(function(X,G){return X.time-G.time}),U=E[O-1].time;for(var F=[],j=[],W=E[0].value,V=!0,z=0;z<O;z++){F.push(E[z].time/U);var Y=E[z].value;if(R&&n(Y,W,M)||!R&&Y===W||(V=!1),W=Y,typeof Y=="string"){var J=x.parse(Y);J?(Y=J,D=!0):B=!0}j.push(Y)}if(!w&&V)return;for(var ie=j[O-1],z=0;z<O-1;z++)R?i(j[z],ie,M):isNaN(j[z])&&!isNaN(ie)&&!B&&!D&&(j[z]=ie);R&&i(S(g._target,T),ie,M);var Z=0,oe=0,ge,pe,De,ce,Oe,se;if(D)var $=[0,0,0,0];var ze=function(G,Q){var ve;if(Q<0)ve=0;else if(Q<oe){for(ge=Math.min(Z+1,O-1),ve=ge;ve>=0&&!(F[ve]<=Q);ve--);ve=Math.min(ve,O-2)}else{for(ve=Z;ve<O&&!(F[ve]>Q);ve++);ve=Math.min(ve-1,O-2)}Z=ve,oe=Q;var de=F[ve+1]-F[ve];if(de===0)return;if(pe=(Q-F[ve])/de,L)if(ce=j[ve],De=j[ve===0?ve:ve-1],Oe=j[ve>O-2?O-1:ve+1],se=j[ve>O-3?O-1:ve+2],R)t(De,ce,Oe,se,pe,pe*pe,pe*pe*pe,S(G,T),M);else{var Ce;if(D)Ce=t(De,ce,Oe,se,pe,pe*pe,pe*pe*pe,$,1),Ce=a($);else{if(B)return o(ce,Oe,pe);Ce=s(De,ce,Oe,se,pe,pe*pe,pe*pe*pe)}I(G,T,Ce)}else if(R)r(j[ve],j[ve+1],pe,S(G,T),M);else{var Ce;if(D)r(j[ve],j[ve+1],pe,$,1),Ce=a($);else{if(B)return o(j[ve],j[ve+1],pe);Ce=c(j[ve],j[ve+1],pe)}I(G,T,Ce)}},re=new _({target:g._target,life:U,loop:g._loop,delay:g._delay,onframe:ze,ondestroy:y});return v&&v!=="spline"&&(re.easing=v),re}var h=function(v,y,E,T){this._tracks={},this._target=v,this._loop=y||!1,this._getter=E||m,this._setter=T||p,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};h.prototype={when:function(v,y){var E=this._tracks;for(var T in y){if(!y.hasOwnProperty(T))continue;if(!E[T]){E[T]=[];var w=this._getter(this._target,T);if(w==null)continue;v!==0&&E[T].push({time:0,value:e(w)})}E[T].push({time:v,value:y[T]})}return this},during:function(v){return this._onframeList.push(v),this},pause:function(){for(var v=0;v<this._clipList.length;v++)this._clipList[v].pause();this._paused=!0},resume:function(){for(var v=0;v<this._clipList.length;v++)this._clipList[v].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var v=this._doneList,y=v.length,E=0;E<y;E++)v[E].call(this)},start:function(v,y){var E=this,T=0,w=function(){T--,T||E._doneCallback()},S;for(var I in this._tracks){if(!this._tracks.hasOwnProperty(I))continue;var L=u(this,v,w,this._tracks[I],I,y);L&&(this._clipList.push(L),T++,this.animation&&this.animation.addClip(L),S=L)}if(S){var O=S.onframe;S.onframe=function(N,R){O(N,R);for(var D=0;D<E._onframeList.length;D++)E._onframeList[D](N,R)}}return T||this._doneCallback(),this},stop:function(v){for(var y=this._clipList,E=this.animation,T=0;T<y.length;T++){var w=y[T];v&&w.onframe(this._target,1),E&&E.removeClip(w)}y.length=0},delay:function(v){return this._delay=v,this},done:function(v){return v&&this._doneList.push(v),this},getClips:function(){return this._clipList}};var f=h;H.exports=f},Bqw1:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},Bsck:function(H,k,d){var _=d("bYtY"),x=d("Qxkt"),C=d("Mdki"),A=d("YXkt"),b=d("sdST"),m=function(r,i){this.name=r||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=i};m.prototype={constructor:m,isRemoved:function(){return this.dataIndex<0},eachNode:function(r,i,n){typeof r=="function"&&(n=i,i=r,r=null),r=r||{},_.isString(r)&&(r={order:r});var t=r.order||"preorder",s=this[r.attr||"children"],e;t==="preorder"&&(e=i.call(n,this));for(var a=0;!e&&a<s.length;a++)s[a].eachNode(r,i,n);t==="postorder"&&i.call(n,this)},updateDepthAndHeight:function(r){var i=0;this.depth=r;for(var n=0;n<this.children.length;n++){var t=this.children[n];t.updateDepthAndHeight(r+1),t.height>i&&(i=t.height)}this.height=i+1},getNodeById:function(r){if(this.getId()===r)return this;for(var i=0,n=this.children,t=n.length;i<t;i++){var s=n[i].getNodeById(r);if(s)return s}},contains:function(r){if(r===this)return!0;for(var i=0,n=this.children,t=n.length;i<t;i++){var s=n[i].contains(r);if(s)return s}},getAncestors:function(r){for(var i=[],n=r?this:this.parentNode;n;)i.push(n),n=n.parentNode;return i.reverse(),i},getValue:function(r){var i=this.hostTree.data;return i.get(i.getDimension(r||"value"),this.dataIndex)},setLayout:function(r,i){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,i)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(r){if(this.dataIndex<0)return;var i=this.hostTree,n=i.data.getItemModel(this.dataIndex),t=this.getLevelModel();return t?n.getModel(r,t.getModel(r)):n.getModel(r)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(r,i){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,i)},getVisual:function(r,i){return this.hostTree.data.getItemVisual(this.dataIndex,r,i)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(r){for(var i=r.parentNode;i;){if(i===this)return!0;i=i.parentNode}return!1},isDescendantOf:function(r){return r!==this&&r.isAncestorOf(this)}};function p(r,i){this.root,this.data,this._nodes=[],this.hostModel=r,this.levelModels=_.map(i||[],function(n){return new x(n,r,r.ecModel)})}p.prototype={constructor:p,type:"tree",eachNode:function(r,i,n){this.root.eachNode(r,i,n)},getNodeByDataIndex:function(r){var i=this.data.getRawIndex(r);return this._nodes[i]},getNodeByName:function(r){return this.root.getNodeByName(r)},update:function(){for(var r=this.data,i=this._nodes,n=0,t=i.length;n<t;n++)i[n].dataIndex=-1;for(var n=0,t=r.count();n<t;n++)i[r.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},p.createTree=function(r,i,n,t){var s=new p(i,n&&n.levels),e=[],a=1;l(r);function l(f,g){var v=f.value;a=Math.max(a,_.isArray(v)?v.length:1),e.push(f);var y=new m(f.name,s);g?c(y,g):s.root=y,s._nodes.push(y);var E=f.children;if(E)for(var T=0;T<E.length;T++)l(E[T],y)}s.root.updateDepthAndHeight(0);var u=b(e,{coordDimensions:["value"],dimensionsCount:a}),h=new A(u,i);return h.initData(e),t&&t(h),C({mainData:h,struct:s,structAttr:"tree"}),s.update(),s};function c(r,i){var n=i.children;if(r.parentNode===i)return;n.push(r),r.parentNode=i}var o=p;H.exports=o},BtR2:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="LikeOutlined";var p=k.a=x.forwardRef(m)},BuqR:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("6uqw"),b=d("XxSj"),m=d("YOMW"),p=d("OELB"),c=p.reformIntervals,o=A.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(t,s){o.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var e=this._mode=this._determineMode();r[this._mode].call(this),this._resetSelected(t,s);var a=this.option.categories;this.resetVisual(function(l,u){e==="categories"?(l.mappingMethod="category",l.categories=C.clone(a)):(l.dataExtent=this.getExtent(),l.mappingMethod="piecewise",l.pieceList=C.map(this._pieceList,function(h){var h=C.clone(h);return u!=="inRange"&&(h.visual=null),h}))})},completeVisualOption:function(){var t=this.option,s={},e=b.listVisualTypes(),a=this.isCategory();C.each(t.pieces,function(u){C.each(e,function(h){u.hasOwnProperty(h)&&(s[h]=1)})}),C.each(s,function(u,h){var f=0;C.each(this.stateList,function(g){f|=l(t,g,h)||l(t.target,g,h)},this),!f&&C.each(this.stateList,function(g){(t[g]||(t[g]={}))[h]=m.get(h,g==="inRange"?"active":"inactive",a)})},this);function l(u,h,f){return u&&u[h]&&(C.isObject(u[h])?u[h].hasOwnProperty(f):u[h]===f)}A.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,s){var e=this.option,a=this._pieceList,l=(s?e:t).selected||{};if(e.selected=l,C.each(a,function(h,f){var g=this.getSelectedMapKey(h);l.hasOwnProperty(g)||(l[g]=!0)},this),e.selectedMode==="single"){var u=!1;C.each(a,function(h,f){var g=this.getSelectedMapKey(h);l[g]&&(u?l[g]=!1:u=!0)},this)}},getSelectedMapKey:function(t){return this._mode==="categories"?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=C.clone(t)},getValueState:function(t){var s=b.findPieceIndex(t,this._pieceList);return s!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[s])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var s=[];return this.eachTargetSeries(function(e){var a=[],l=e.getData();l.each(this.getDataDimension(l),function(u,h){var f=b.findPieceIndex(u,this._pieceList);f===t&&a.push(h)},this),s.push({seriesId:e.id,dataIndex:a})},this),s},getRepresentValue:function(t){var s;if(this.isCategory())s=t.value;else if(t.value!=null)s=t.value;else{var e=t.interval||[];s=e[0]===-Infinity&&e[1]===Infinity?0:(e[0]+e[1])/2}return s},getVisualMeta:function(t){if(this.isCategory())return;var s=[],e=[],a=this;function l(g,v){var y=a.getRepresentValue({interval:g});v||(v=a.getValueState(y));var E=t(y,v);g[0]===-Infinity?e[0]=E:g[1]===Infinity?e[1]=E:s.push({value:g[0],color:E},{value:g[1],color:E})}var u=this._pieceList.slice();if(!u.length)u.push({interval:[-Infinity,Infinity]});else{var h=u[0].interval[0];h!==-Infinity&&u.unshift({interval:[-Infinity,h]}),h=u[u.length-1].interval[1],h!==Infinity&&u.push({interval:[h,Infinity]})}var f=-Infinity;return C.each(u,function(g){var v=g.interval;v&&(v[0]>f&&l([f,v[0]],"outOfRange"),l(v.slice()),f=v[1])},this),{stops:s,outerColors:e}}}),r={splitNumber:function(){var t=this.option,s=this._pieceList,e=Math.min(t.precision,20),a=this.getExtent(),l=t.splitNumber;l=Math.max(parseInt(l,10),1),t.splitNumber=l;for(var u=(a[1]-a[0])/l;+u.toFixed(e)!==u&&e<5;)e++;t.precision=e,u=+u.toFixed(e),t.minOpen&&s.push({interval:[-Infinity,a[0]],close:[0,0]});for(var h=0,f=a[0];h<l;f+=u,h++){var g=h===l-1?a[1]:f+u;s.push({interval:[f,g],close:[1,1]})}t.maxOpen&&s.push({interval:[a[1],Infinity],close:[0,0]}),c(s),C.each(s,function(v,y){v.index=y,v.text=this.formatValueText(v.interval)},this)},categories:function(){var t=this.option;C.each(t.categories,function(s){this._pieceList.push({text:this.formatValueText(s,!0),value:s})},this),i(t,this._pieceList)},pieces:function(){var t=this.option,s=this._pieceList;C.each(t.pieces,function(e,a){C.isObject(e)||(e={value:e});var l={text:"",index:a};if(e.label!=null&&(l.text=e.label),e.hasOwnProperty("value")){var u=l.value=e.value;l.interval=[u,u],l.close=[1,1]}else{for(var h=l.interval=[],f=l.close=[0,0],g=[1,0,1],v=[-Infinity,Infinity],y=[],E=0;E<2;E++){for(var T=[["gte","gt","min"],["lte","lt","max"]][E],w=0;w<3&&h[E]==null;w++)h[E]=e[T[w]],f[E]=g[w],y[E]=w===2;h[E]==null&&(h[E]=v[E])}y[0]&&h[1]===Infinity&&(f[0]=0),y[1]&&h[0]===-Infinity&&(f[1]=0),h[0]===h[1]&&f[0]&&f[1]&&(l.value=h[0])}l.visual=b.retrieveVisuals(e),s.push(l)},this),i(t,s),c(s),C.each(s,function(e){var a=e.close,l=[["<","\u2264"][a[1]],[">","\u2265"][a[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,l)},this)}};function i(t,s){var e=t.inverse;(t.orient==="vertical"?!e:e)&&s.reverse()}var n=o;H.exports=n},BvKs:function(H,k,d){"use strict";d.d(k,"a",function(){return Ut});var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("7W2i"),r=d.n(o),i=d("LQ03"),n=d.n(i),t=d("q1tI"),s=d("VTBJ"),e=d("1OyB"),a=d("vuIU"),l=d("JX7q"),u=d("Ji7U"),h=d("LK+K"),f=d("I8Z2"),g=d("BGR+"),v=d("wx14"),y=d("rePB"),E=d("4IlW"),T=d("2GS6"),w=d("Gytx"),S=d.n(w),I=d("TSYQ"),L=d.n(I),O=d("U8pU"),N=d("ODXe"),R=/iPhone/i,D=/iPod/i,B=/iPad/i,M=/\bAndroid(?:.+)Mobile\b/i,U=/Android/i,F=/\bAndroid(?:.+)SD4930UR\b/i,j=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,W=/Windows Phone/i,V=/\bWindows(?:.+)ARM\b/i,z=/BlackBerry/i,Y=/BB10/i,J=/Opera Mini/i,ie=/\b(CriOS|Chrome)(?:.+)Mobile/i,Z=/Mobile(?:.+)Firefox\b/i;function oe(ht,ot){return ht.test(ot)}function ge(ht){var ot=ht||(typeof navigator!="undefined"?navigator.userAgent:""),Wt=ot.split("[FBAN");if(typeof Wt[1]!="undefined"){var Jt=Wt,At=Object(N.a)(Jt,1);ot=At[0]}if(Wt=ot.split("Twitter"),typeof Wt[1]!="undefined"){var Bt=Wt,mt=Object(N.a)(Bt,1);ot=mt[0]}var Mt={apple:{phone:oe(R,ot)&&!oe(W,ot),ipod:oe(D,ot),tablet:!oe(R,ot)&&oe(B,ot)&&!oe(W,ot),device:(oe(R,ot)||oe(D,ot)||oe(B,ot))&&!oe(W,ot)},amazon:{phone:oe(F,ot),tablet:!oe(F,ot)&&oe(j,ot),device:oe(F,ot)||oe(j,ot)},android:{phone:!oe(W,ot)&&oe(F,ot)||!oe(W,ot)&&oe(M,ot),tablet:!oe(W,ot)&&!oe(F,ot)&&!oe(M,ot)&&(oe(j,ot)||oe(U,ot)),device:!oe(W,ot)&&(oe(F,ot)||oe(j,ot)||oe(M,ot)||oe(U,ot))||oe(/\bokhttp\b/i,ot)},windows:{phone:oe(W,ot),tablet:oe(V,ot),device:oe(W,ot)||oe(V,ot)},other:{blackberry:oe(z,ot),blackberry10:oe(Y,ot),opera:oe(J,ot),firefox:oe(Z,ot),chrome:oe(ie,ot),device:oe(z,ot)||oe(Y,ot)||oe(J,ot)||oe(Z,ot)||oe(ie,ot)},any:null,phone:null,tablet:null};return Mt.any=Mt.apple.device||Mt.android.device||Mt.windows.device||Mt.other.device,Mt.phone=Mt.apple.phone||Mt.android.phone||Mt.windows.phone,Mt.tablet=Mt.apple.tablet||Mt.android.tablet||Mt.windows.tablet,Mt}var pe=Object(s.a)(Object(s.a)({},ge()),{},{isMobile:ge}),De=pe;function ce(){}function Oe(ht,ot,Wt){var Jt=ot||"";return ht.key||"".concat(Jt,"item_").concat(Wt)}function se(ht){return"".concat(ht,"-menu-")}function $(ht,ot){var Wt=-1;t.Children.forEach(ht,function(Jt){Wt+=1,Jt&&Jt.type&&Jt.type.isMenuItemGroup?t.Children.forEach(Jt.props.children,function(At){Wt+=1,ot(At,Wt)}):ot(Jt,Wt)})}function ze(ht,ot,Wt){if(!ht||Wt.find)return;t.Children.forEach(ht,function(Jt){if(Jt){var At=Jt.type;if(!At||!(At.isSubMenu||At.isMenuItem||At.isMenuItemGroup))return;ot.indexOf(Jt.key)!==-1?Wt.find=!0:Jt.props.children&&ze(Jt.props.children,ot,Wt)}})}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"],X=function(ot){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jt=ot&&typeof ot.getBoundingClientRect=="function"&&ot.getBoundingClientRect().width;if(Jt){if(Wt){var At=getComputedStyle(ot),Bt=At.marginLeft,mt=At.marginRight;Jt+=+Bt.replace("px","")+ +mt.replace("px","")}Jt=+Jt.toFixed(6)}return Jt||0},G=function(ot,Wt,Jt){ot&&Object(O.a)(ot.style)==="object"&&(ot.style[Wt]=Jt)},Q=function(){return De.any},ve=d("KQm4"),de=d("Ff2n"),Ce=d("i8i4"),we=d("bdgK"),le=d("uciX"),fe=d("8XRh"),xe={adjustX:1,adjustY:1},We={topLeft:{points:["bl","tl"],overflow:xe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:xe,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:xe,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:xe,offset:[4,0]}},nt={topLeft:{points:["bl","tl"],overflow:xe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:xe,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:xe,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:xe,offset:[4,0]}},$e=We,Le=0,pt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Qe=function(ot,Wt,Jt){var At=se(Wt),Bt=ot.getState();ot.setState({defaultActiveFirst:Object(s.a)(Object(s.a)({},Bt.defaultActiveFirst),{},Object(y.a)({},At,Jt))})},gt=function(ht){Object(u.a)(Wt,ht);var ot=Object(h.a)(Wt);function Wt(Jt){var At;Object(e.a)(this,Wt),At=ot.call(this,Jt),At.onDestroy=function(ar){At.props.onDestroy(ar)},At.onKeyDown=function(ar){var Gr=ar.keyCode,Yr=At.menuInstance,In=At.props,Nn=In.isOpen,Kn=In.store;if(Gr===E.a.ENTER)return At.onTitleClick(ar),Qe(Kn,At.props.eventKey,!0),!0;if(Gr===E.a.RIGHT)return Nn?Yr.onKeyDown(ar):(At.triggerOpenChange(!0),Qe(Kn,At.props.eventKey,!0)),!0;if(Gr===E.a.LEFT){var $n;if(Nn)$n=Yr.onKeyDown(ar);else return;return $n||(At.triggerOpenChange(!1),$n=!0),$n}return Nn&&(Gr===E.a.UP||Gr===E.a.DOWN)?Yr.onKeyDown(ar):void 0},At.onOpenChange=function(ar){At.props.onOpenChange(ar)},At.onPopupVisibleChange=function(ar){At.triggerOpenChange(ar,ar?"mouseenter":"mouseleave")},At.onMouseEnter=function(ar){var Gr=At.props,Yr=Gr.eventKey,In=Gr.onMouseEnter,Nn=Gr.store;Qe(Nn,At.props.eventKey,!1),In({key:Yr,domEvent:ar})},At.onMouseLeave=function(ar){var Gr=At.props,Yr=Gr.parentMenu,In=Gr.eventKey,Nn=Gr.onMouseLeave;Yr.subMenuInstance=Object(l.a)(At),Nn({key:In,domEvent:ar})},At.onTitleMouseEnter=function(ar){var Gr=At.props,Yr=Gr.eventKey,In=Gr.onItemHover,Nn=Gr.onTitleMouseEnter;In({key:Yr,hover:!0}),Nn({key:Yr,domEvent:ar})},At.onTitleMouseLeave=function(ar){var Gr=At.props,Yr=Gr.parentMenu,In=Gr.eventKey,Nn=Gr.onItemHover,Kn=Gr.onTitleMouseLeave;Yr.subMenuInstance=Object(l.a)(At),Nn({key:In,hover:!1}),Kn({key:In,domEvent:ar})},At.onTitleClick=function(ar){var Gr=Object(l.a)(At),Yr=Gr.props;if(Yr.onTitleClick({key:Yr.eventKey,domEvent:ar}),Yr.triggerSubMenuAction==="hover")return;At.triggerOpenChange(!Yr.isOpen,"click"),Qe(Yr.store,At.props.eventKey,!1)},At.onSubMenuClick=function(ar){typeof At.props.onClick=="function"&&At.props.onClick(At.addKeyPath(ar))},At.onSelect=function(ar){At.props.onSelect(ar)},At.onDeselect=function(ar){At.props.onDeselect(ar)},At.getPrefixCls=function(){return"".concat(At.props.rootPrefixCls,"-submenu")},At.getActiveClassName=function(){return"".concat(At.getPrefixCls(),"-active")},At.getDisabledClassName=function(){return"".concat(At.getPrefixCls(),"-disabled")},At.getSelectedClassName=function(){return"".concat(At.getPrefixCls(),"-selected")},At.getOpenClassName=function(){return"".concat(At.props.rootPrefixCls,"-submenu-open")},At.saveMenuInstance=function(ar){At.menuInstance=ar},At.addKeyPath=function(ar){return Object(s.a)(Object(s.a)({},ar),{},{keyPath:(ar.keyPath||[]).concat(At.props.eventKey)})},At.triggerOpenChange=function(ar,Gr){var Yr=At.props.eventKey,In=function(){At.onOpenChange({key:Yr,item:Object(l.a)(At),trigger:Gr,open:ar})};Gr==="mouseenter"?At.mouseenterTimeout=setTimeout(function(){In()},0):In()},At.isChildrenSelected=function(){var ar={find:!1};return ze(At.props.children,At.props.selectedKeys,ar),ar.find},At.isOpen=function(){return At.props.openKeys.indexOf(At.props.eventKey)!==-1},At.adjustWidth=function(){if(!At.subMenuTitle||!At.menuInstance)return;var ar=Ce.findDOMNode(At.menuInstance);if(ar.offsetWidth>=At.subMenuTitle.offsetWidth)return;ar.style.minWidth="".concat(At.subMenuTitle.offsetWidth,"px")},At.saveSubMenuTitle=function(ar){At.subMenuTitle=ar},At.getBaseProps=function(){var ar=Object(l.a)(At),Gr=ar.props;return{mode:Gr.mode==="horizontal"?"vertical":Gr.mode,visible:At.props.isOpen,level:Gr.level+1,inlineIndent:Gr.inlineIndent,focusable:!1,onClick:At.onSubMenuClick,onSelect:At.onSelect,onDeselect:At.onDeselect,onDestroy:At.onDestroy,selectedKeys:Gr.selectedKeys,eventKey:"".concat(Gr.eventKey,"-menu-"),openKeys:Gr.openKeys,motion:Gr.motion,onOpenChange:At.onOpenChange,subMenuOpenDelay:Gr.subMenuOpenDelay,parentMenu:Object(l.a)(At),subMenuCloseDelay:Gr.subMenuCloseDelay,forceSubMenuRender:Gr.forceSubMenuRender,triggerSubMenuAction:Gr.triggerSubMenuAction,builtinPlacements:Gr.builtinPlacements,defaultActiveFirst:Gr.store.getState().defaultActiveFirst[se(Gr.eventKey)],multiple:Gr.multiple,prefixCls:Gr.rootPrefixCls,id:At.internalMenuId,manualRef:At.saveMenuInstance,itemIcon:Gr.itemIcon,expandIcon:Gr.expandIcon,direction:Gr.direction}},At.getMotion=function(ar,Gr){var Yr=Object(l.a)(At),In=Yr.haveRendered,Nn=At.props,Kn=Nn.motion,$n=Nn.rootPrefixCls,Ii=Object(s.a)(Object(s.a)({},Kn),{},{leavedClassName:"".concat($n,"-hidden"),removeOnLeave:!1,motionAppear:In||!Gr||ar!=="inline"});return Ii};var Bt=Jt.store,mt=Jt.eventKey,Mt=Bt.getState(),hr=Mt.defaultActiveFirst;At.isRootMenu=!1;var or=!1;return hr&&(or=hr[mt]),Qe(Bt,mt,or),At}return Object(a.a)(Wt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var At=this,Bt=this.props,mt=Bt.mode,Mt=Bt.parentMenu,hr=Bt.manualRef;if(hr&&hr(this),mt!=="horizontal"||!Mt.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return At.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var At=this.props,Bt=At.onDestroy,mt=At.eventKey;Bt&&Bt(mt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(At){var Bt=this,mt=this.getBaseProps(),Mt=this.getMotion(mt.mode,mt.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||mt.visible||mt.forceSubMenuRender,!this.haveOpened)return t.createElement("div",null);var hr=mt.direction;return t.createElement(fe.default,Object.assign({visible:mt.visible},Mt),function(or){var ar=or.className,Gr=or.style,Yr=L()("".concat(mt.prefixCls,"-sub"),ar,Object(y.a)({},"".concat(mt.prefixCls,"-rtl"),hr==="rtl"));return t.createElement(Xt,Object.assign({},mt,{id:Bt.internalMenuId,className:Yr,style:Gr}),At)})}},{key:"render",value:function(){var At,Bt=Object(s.a)({},this.props),mt=Bt.isOpen,Mt=this.getPrefixCls(),hr=Bt.mode==="inline",or=L()(Mt,"".concat(Mt,"-").concat(Bt.mode),(At={},Object(y.a)(At,Bt.className,!!Bt.className),Object(y.a)(At,this.getOpenClassName(),mt),Object(y.a)(At,this.getActiveClassName(),Bt.active||mt&&!hr),Object(y.a)(At,this.getDisabledClassName(),Bt.disabled),Object(y.a)(At,this.getSelectedClassName(),this.isChildrenSelected()),At));this.internalMenuId||(Bt.eventKey?this.internalMenuId="".concat(Bt.eventKey,"$Menu"):(Le+=1,this.internalMenuId="$__$".concat(Le,"$Menu")));var ar={},Gr={},Yr={};Bt.disabled||(ar={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Gr={onClick:this.onTitleClick},Yr={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var In={},Nn=Bt.direction;hr&&(Nn==="rtl"?In.paddingRight=Bt.inlineIndent*Bt.level:In.paddingLeft=Bt.inlineIndent*Bt.level);var Kn={};this.props.isOpen&&(Kn={"aria-owns":this.internalMenuId});var $n=null;Bt.mode!=="horizontal"&&($n=this.props.expandIcon,typeof this.props.expandIcon=="function"&&($n=t.createElement(this.props.expandIcon,Object(s.a)({},this.props))));var Ii=t.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:In,className:"".concat(Mt,"-title"),role:"button"},Yr,Gr,{"aria-expanded":mt},Kn,{"aria-haspopup":"true",title:typeof Bt.title=="string"?Bt.title:void 0}),Bt.title,$n||t.createElement("i",{className:"".concat(Mt,"-arrow")})),Mi=this.renderChildren(Bt.children),Xe=Bt.parentMenu.isRootMenu?Bt.parentMenu.props.getPopupContainer:function(pr){return pr.parentNode},Ie=pt[Bt.mode],Be=Bt.popupOffset?{offset:Bt.popupOffset}:{},Fe=Bt.mode==="inline"?"":Bt.popupClassName;Fe+=Nn==="rtl"?" ".concat(Mt,"-rtl"):"";var Ge=Bt.disabled,Ke=Bt.triggerSubMenuAction,qe=Bt.subMenuOpenDelay,vt=Bt.forceSubMenuRender,lt=Bt.subMenuCloseDelay,Ft=Bt.builtinPlacements;re.forEach(function(pr){return delete Bt[pr]}),delete Bt.onClick;var wr=Nn==="rtl"?Object.assign({},nt,Ft):Object.assign({},We,Ft);return delete Bt.direction,t.createElement("li",Object.assign({},Bt,ar,{className:or,role:"menuitem"}),hr&&Ii,hr&&Mi,!hr&&t.createElement(le.a,{prefixCls:Mt,popupClassName:L()("".concat(Mt,"-popup"),Fe),getPopupContainer:Xe,builtinPlacements:wr,popupPlacement:Ie,popupVisible:mt,popupAlign:Be,popup:Mi,action:Ge?[]:[Ke],mouseEnterDelay:qe,mouseLeaveDelay:lt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:vt},Ii))}}]),Wt}(t.Component);gt.defaultProps={onMouseEnter:ce,onMouseLeave:ce,onTitleMouseEnter:ce,onTitleMouseLeave:ce,onTitleClick:ce,manualRef:ce,mode:"vertical",title:""};var wt=Object(f.b)(function(ht,ot){var Wt=ht.openKeys,Jt=ht.activeKey,At=ht.selectedKeys,Bt=ot.eventKey,mt=ot.subMenuKey;return{isOpen:Wt.indexOf(Bt)>-1,active:Jt[mt]===Bt,selectedKeys:At}})(gt);wt.isSubMenu=!0;var Et=wt,_t="menuitem-overflowed",Ht=.5,Ze=function(ht){Object(u.a)(Wt,ht);var ot=Object(h.a)(Wt);function Wt(){var Jt;return Object(e.a)(this,Wt),Jt=ot.apply(this,arguments),Jt.resizeObserver=null,Jt.mutationObserver=null,Jt.originalTotalWidth=0,Jt.overflowedItems=[],Jt.menuItemSizes=[],Jt.cancelFrameId=null,Jt.state={lastVisibleIndex:void 0},Jt.getMenuItemNodes=function(){var At=Jt.props.prefixCls,Bt=Ce.findDOMNode(Object(l.a)(Jt));return Bt?[].slice.call(Bt.children).filter(function(mt){return mt.className.split(" ").indexOf("".concat(At,"-overflowed-submenu"))<0}):[]},Jt.getOverflowedSubMenuItem=function(At,Bt,mt){var Mt=Jt.props,hr=Mt.overflowedIndicator,or=Mt.level,ar=Mt.mode,Gr=Mt.prefixCls,Yr=Mt.theme;if(or!==1||ar!=="horizontal")return null;var In=Jt.props.children[0],Nn=In.props,Kn=Nn.children,$n=Nn.title,Ii=Nn.style,Mi=Object(de.a)(Nn,["children","title","style"]),Xe=Object(s.a)({},Ii),Ie="".concat(At,"-overflowed-indicator"),Be="".concat(At,"-overflowed-indicator");Bt.length===0&&mt!==!0?Xe=Object(s.a)(Object(s.a)({},Xe),{},{display:"none"}):mt&&(Xe=Object(s.a)(Object(s.a)({},Xe),{},{visibility:"hidden",position:"absolute"}),Ie="".concat(Ie,"-placeholder"),Be="".concat(Be,"-placeholder"));var Fe=Yr?"".concat(Gr,"-").concat(Yr):"",Ge={};return re.forEach(function(Ke){Mi[Ke]!==void 0&&(Ge[Ke]=Mi[Ke])}),t.createElement(Et,Object.assign({title:hr,className:"".concat(Gr,"-overflowed-submenu"),popupClassName:Fe},Ge,{key:Ie,eventKey:Be,disabled:!1,style:Xe}),Bt)},Jt.setChildrenWidthAndResize=function(){if(Jt.props.mode!=="horizontal")return;var At=Ce.findDOMNode(Object(l.a)(Jt));if(!At)return;var Bt=At.children;if(!Bt||Bt.length===0)return;var mt=At.children[Bt.length-1];G(mt,"display","inline-block");var Mt=Jt.getMenuItemNodes(),hr=Mt.filter(function(or){return or.className.split(" ").indexOf(_t)>=0});hr.forEach(function(or){G(or,"display","inline-block")}),Jt.menuItemSizes=Mt.map(function(or){return X(or,!0)}),hr.forEach(function(or){G(or,"display","none")}),Jt.overflowedIndicatorWidth=X(At.children[At.children.length-1],!0),Jt.originalTotalWidth=Jt.menuItemSizes.reduce(function(or,ar){return or+ar},0),Jt.handleResize(),G(mt,"display","none")},Jt.handleResize=function(){if(Jt.props.mode!=="horizontal")return;var At=Ce.findDOMNode(Object(l.a)(Jt));if(!At)return;var Bt=X(At);Jt.overflowedItems=[];var mt=0,Mt;Jt.originalTotalWidth>Bt+Ht&&(Mt=-1,Jt.menuItemSizes.forEach(function(hr){mt+=hr,mt+Jt.overflowedIndicatorWidth<=Bt&&(Mt+=1)})),Jt.setState({lastVisibleIndex:Mt})},Jt}return Object(a.a)(Wt,[{key:"componentDidMount",value:function(){var At=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Bt=Ce.findDOMNode(this);if(!Bt)return;this.resizeObserver=new we.default(function(mt){mt.forEach(function(){var Mt=At.cancelFrameId;cancelAnimationFrame(Mt),At.cancelFrameId=requestAnimationFrame(At.setChildrenWidthAndResize)})}),[].slice.call(Bt.children).concat(Bt).forEach(function(mt){At.resizeObserver.observe(mt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){At.resizeObserver.disconnect(),[].slice.call(Bt.children).concat(Bt).forEach(function(mt){At.resizeObserver.observe(mt)}),At.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(At){var Bt=this,mt=this.state.lastVisibleIndex;return(At||[]).reduce(function(Mt,hr,or){var ar=hr;if(Bt.props.mode==="horizontal"){var Gr=Bt.getOverflowedSubMenuItem(hr.props.eventKey,[]);mt!==void 0&&Bt.props.className.indexOf("".concat(Bt.props.prefixCls,"-root"))!==-1&&(or>mt&&(ar=t.cloneElement(hr,{style:{display:"none"},eventKey:"".concat(hr.props.eventKey,"-hidden"),className:"".concat(_t)})),or===mt+1&&(Bt.overflowedItems=At.slice(mt+1).map(function(In){return t.cloneElement(In,{key:In.props.eventKey,mode:"vertical-left"})}),Gr=Bt.getOverflowedSubMenuItem(hr.props.eventKey,Bt.overflowedItems)));var Yr=[].concat(Object(ve.a)(Mt),[Gr,ar]);return or===At.length-1&&Yr.push(Bt.getOverflowedSubMenuItem(hr.props.eventKey,[],!0)),Yr}return[].concat(Object(ve.a)(Mt),[ar])},[])}},{key:"render",value:function(){var At=this.props,Bt=At.visible,mt=At.prefixCls,Mt=At.overflowedIndicator,hr=At.mode,or=At.level,ar=At.tag,Gr=At.children,Yr=At.theme,In=Object(de.a)(At,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Nn=ar;return t.createElement(Nn,Object.assign({},In),this.renderChildren(Gr))}}]),Wt}(t.Component);Ze.defaultProps={tag:"div",className:""};var ye=Ze;function ae(ht){return ht.length?ht.every(function(ot){return!!ot.props.disabled}):!0}function yt(ht,ot,Wt){var Jt=ht.getState();ht.setState({activeKey:Object(s.a)(Object(s.a)({},Jt.activeKey),{},Object(y.a)({},ot,Wt))})}function et(ht){return ht.eventKey||"0-menu-"}function me(ht,ot){var Wt=ot,Jt=ht.children,At=ht.eventKey;if(Wt){var Bt;if($(Jt,function(mt,Mt){mt&&mt.props&&!mt.props.disabled&&Wt===Oe(mt,At,Mt)&&(Bt=!0)}),Bt)return Wt}return Wt=null,ht.defaultActiveFirst&&$(Jt,function(mt,Mt){!Wt&&mt&&!mt.props.disabled&&(Wt=Oe(mt,At,Mt))}),Wt}function Gt(ht){if(ht){var ot=this.instanceArray.indexOf(ht);ot!==-1?this.instanceArray[ot]=ht:this.instanceArray.push(ht)}}var rr=function(ht){Object(u.a)(Wt,ht);var ot=Object(h.a)(Wt);function Wt(Jt){var At;return Object(e.a)(this,Wt),At=ot.call(this,Jt),At.onKeyDown=function(Bt,mt){var Mt=Bt.keyCode,hr;if(At.getFlatInstanceArray().forEach(function(ar){ar&&ar.props.active&&ar.onKeyDown&&(hr=ar.onKeyDown(Bt))}),hr)return 1;var or=null;return(Mt===E.a.UP||Mt===E.a.DOWN)&&(or=At.step(Mt===E.a.UP?-1:1)),or?(Bt.preventDefault(),yt(At.props.store,et(At.props),or.props.eventKey),typeof mt=="function"&&mt(or),1):void 0},At.onItemHover=function(Bt){var mt=Bt.key,Mt=Bt.hover;yt(At.props.store,et(At.props),Mt?mt:null)},At.onDeselect=function(Bt){At.props.onDeselect(Bt)},At.onSelect=function(Bt){At.props.onSelect(Bt)},At.onClick=function(Bt){At.props.onClick(Bt)},At.onOpenChange=function(Bt){At.props.onOpenChange(Bt)},At.onDestroy=function(Bt){At.props.onDestroy(Bt)},At.getFlatInstanceArray=function(){return At.instanceArray},At.step=function(Bt){var mt=At.getFlatInstanceArray(),Mt=At.props.store.getState().activeKey[et(At.props)],hr=mt.length;if(!hr)return null;Bt<0&&(mt=mt.concat().reverse());var or=-1;if(mt.every(function(In,Nn){return In&&In.props.eventKey===Mt?(or=Nn,!1):!0}),!At.props.defaultActiveFirst&&or!==-1&&ae(mt.slice(or,hr-1)))return;var ar=(or+1)%hr,Gr=ar;do{var Yr=mt[Gr];if(!Yr||Yr.props.disabled)Gr=(Gr+1)%hr;else return Yr}while(Gr!==ar);return null},At.renderCommonMenuItem=function(Bt,mt,Mt){var hr=At.props.store.getState(),or=Object(l.a)(At),ar=or.props,Gr=Oe(Bt,ar.eventKey,mt),Yr=Bt.props;if(!Yr||typeof Bt.type=="string")return Bt;var In=Gr===hr.activeKey,Nn=Object(s.a)(Object(s.a)({mode:Yr.mode||ar.mode,level:ar.level,inlineIndent:ar.inlineIndent,renderMenuItem:At.renderMenuItem,rootPrefixCls:ar.prefixCls,index:mt,parentMenu:ar.parentMenu,manualRef:Yr.disabled?void 0:Object(T.a)(Bt.ref,Gt.bind(Object(l.a)(At))),eventKey:Gr,active:!Yr.disabled&&In,multiple:ar.multiple,onClick:function($n){(Yr.onClick||ce)($n),At.onClick($n)},onItemHover:At.onItemHover,motion:ar.motion,subMenuOpenDelay:ar.subMenuOpenDelay,subMenuCloseDelay:ar.subMenuCloseDelay,forceSubMenuRender:ar.forceSubMenuRender,onOpenChange:At.onOpenChange,onDeselect:At.onDeselect,onSelect:At.onSelect,builtinPlacements:ar.builtinPlacements,itemIcon:Yr.itemIcon||At.props.itemIcon,expandIcon:Yr.expandIcon||At.props.expandIcon},Mt),{},{direction:ar.direction});return(ar.mode==="inline"||Q())&&(Nn.triggerSubMenuAction="click"),t.cloneElement(Bt,Nn)},At.renderMenuItem=function(Bt,mt,Mt){if(!Bt)return null;var hr=At.props.store.getState(),or={openKeys:hr.openKeys,selectedKeys:hr.selectedKeys,triggerSubMenuAction:At.props.triggerSubMenuAction,subMenuKey:Mt};return At.renderCommonMenuItem(Bt,mt,or)},Jt.store.setState({activeKey:Object(s.a)(Object(s.a)({},Jt.store.getState().activeKey),{},Object(y.a)({},Jt.eventKey,me(Jt,Jt.activeKey)))}),At.instanceArray=[],At}return Object(a.a)(Wt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(At){return this.props.visible||At.visible||this.props.className!==At.className||!S()(this.props.style,At.style)}},{key:"componentDidUpdate",value:function(At){var Bt=this.props,mt="activeKey"in Bt?Bt.activeKey:Bt.store.getState().activeKey[et(Bt)],Mt=me(Bt,mt);if(Mt!==mt)yt(Bt.store,et(Bt),Mt);else if("activeKey"in At){var hr=me(At,At.activeKey);Mt!==hr&&yt(Bt.store,et(Bt),Mt)}}},{key:"render",value:function(){var At=this,Bt=Object(v.a)({},this.props);this.instanceArray=[];var mt=L()(Bt.prefixCls,Bt.className,"".concat(Bt.prefixCls,"-").concat(Bt.mode)),Mt={className:mt,role:Bt.role||"menu"};Bt.id&&(Mt.id=Bt.id),Bt.focusable&&(Mt.tabIndex=0,Mt.onKeyDown=this.onKeyDown);var hr=Bt.prefixCls,or=Bt.eventKey,ar=Bt.visible,Gr=Bt.level,Yr=Bt.mode,In=Bt.overflowedIndicator,Nn=Bt.theme;return re.forEach(function(Kn){return delete Bt[Kn]}),delete Bt.onClick,t.createElement(ye,Object.assign({},Bt,{prefixCls:hr,mode:Yr,tag:"ul",level:Gr,theme:Nn,visible:ar,overflowedIndicator:In},Mt),t.Children.map(Bt.children,function(Kn,$n){return At.renderMenuItem(Kn,$n,or||"0-menu-")}))}}]),Wt}(t.Component);rr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ce};var ut=Object(f.b)()(rr),Xt=ut,ur=d("Kwbf");function Fr(ht,ot,Wt){var Jt=ht.prefixCls,At=ht.motion,Bt=ht.defaultMotions,mt=Bt===void 0?{}:Bt,Mt=ht.openAnimation,hr=ht.openTransitionName,or=ot.switchingModeFromInline;if(At)return At;if(Object(O.a)(Mt)==="object"&&Mt)Object(ur.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Mt=="string")return{motionName:"".concat(Jt,"-open-").concat(Mt)};if(hr)return{motionName:hr};var ar=mt[Wt];return ar||(or?null:mt.other)}var er=function(ht){Object(u.a)(Wt,ht);var ot=Object(h.a)(Wt);function Wt(Jt){var At;Object(e.a)(this,Wt),At=ot.call(this,Jt),At.inlineOpenKeys=[],At.onSelect=function(Mt){var hr=Object(l.a)(At),or=hr.props;if(or.selectable){var ar=At.store.getState(),Gr=ar.selectedKeys,Yr=Mt.key;or.multiple?Gr=Gr.concat([Yr]):Gr=[Yr],"selectedKeys"in or||At.store.setState({selectedKeys:Gr}),or.onSelect(Object(s.a)(Object(s.a)({},Mt),{},{selectedKeys:Gr}))}},At.onClick=function(Mt){var hr=At.getRealMenuMode(),or=Object(l.a)(At),ar=or.store,Gr=or.props.onOpenChange;hr!=="inline"&&!("openKeys"in At.props)&&(ar.setState({openKeys:[]}),Gr([])),At.props.onClick(Mt)},At.onKeyDown=function(Mt,hr){At.innerMenu.getWrappedInstance().onKeyDown(Mt,hr)},At.onOpenChange=function(Mt){var hr=Object(l.a)(At),or=hr.props,ar=At.store.getState().openKeys.concat(),Gr=!1,Yr=function(Nn){var Kn=!1;if(Nn.open)Kn=ar.indexOf(Nn.key)===-1,Kn&&ar.push(Nn.key);else{var $n=ar.indexOf(Nn.key);Kn=$n!==-1,Kn&&ar.splice($n,1)}Gr=Gr||Kn};Array.isArray(Mt)?Mt.forEach(Yr):Yr(Mt),Gr&&("openKeys"in At.props||At.store.setState({openKeys:ar}),or.onOpenChange(ar))},At.onDeselect=function(Mt){var hr=Object(l.a)(At),or=hr.props;if(or.selectable){var ar=At.store.getState().selectedKeys.concat(),Gr=Mt.key,Yr=ar.indexOf(Gr);Yr!==-1&&ar.splice(Yr,1),"selectedKeys"in or||At.store.setState({selectedKeys:ar}),or.onDeselect(Object(s.a)(Object(s.a)({},Mt),{},{selectedKeys:ar}))}},At.onMouseEnter=function(Mt){At.restoreModeVerticalFromInline();var hr=At.props.onMouseEnter;hr&&hr(Mt)},At.onTransitionEnd=function(Mt){var hr=Mt.propertyName==="width"&&Mt.target===Mt.currentTarget,or=Mt.target.className,ar=Object.prototype.toString.call(or)==="[object SVGAnimatedString]"?or.animVal:or,Gr=Mt.propertyName==="font-size"&&ar.indexOf("anticon")>=0;(hr||Gr)&&At.restoreModeVerticalFromInline()},At.setInnerMenu=function(Mt){At.innerMenu=Mt},At.isRootMenu=!0;var Bt=Jt.defaultSelectedKeys,mt=Jt.defaultOpenKeys;return"selectedKeys"in Jt&&(Bt=Jt.selectedKeys||[]),"openKeys"in Jt&&(mt=Jt.openKeys||[]),At.store=Object(f.c)({selectedKeys:Bt,openKeys:mt,activeKey:{"0-menu-":me(Jt,Jt.activeKey)}}),At.state={switchingModeFromInline:!1},At}return Object(a.a)(Wt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(At){this.updateOpentKeysWhenSwitchMode(At),this.updateMiniStore();var Bt=this.props,mt=Bt.siderCollapsed,Mt=Bt.inlineCollapsed,hr=Bt.onOpenChange;(!At.inlineCollapsed&&Mt||!At.siderCollapsed&&mt)&&hr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(At){var Bt=this.props,mt=this.store,Mt=this.inlineOpenKeys,hr=mt.getState(),or={};At.mode==="inline"&&Bt.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Bt||((Bt.inlineCollapsed&&!At.inlineCollapsed||Bt.siderCollapsed&&!At.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=hr.openKeys.concat(),or.openKeys=[]),(!Bt.inlineCollapsed&&At.inlineCollapsed||!Bt.siderCollapsed&&At.siderCollapsed)&&(or.openKeys=Mt,this.inlineOpenKeys=[])),Object.keys(or).length&&mt.setState(or)}},{key:"updateMenuDisplay",value:function(){var At=this.props.collapsedWidth,Bt=this.store,mt=this.prevOpenKeys,Mt=this.getInlineCollapsed()&&(At===0||At==="0"||At==="0px");Mt?(this.prevOpenKeys=Bt.getState().openKeys.concat(),this.store.setState({openKeys:[]})):mt&&(this.store.setState({openKeys:mt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var At=this.props.mode,Bt=this.state.switchingModeFromInline,mt=this.getInlineCollapsed();return Bt&&mt?"inline":mt?"vertical":At}},{key:"getInlineCollapsed",value:function(){var At=this.props,Bt=At.inlineCollapsed,mt=At.siderCollapsed;return mt!==void 0?mt:Bt}},{key:"restoreModeVerticalFromInline",value:function(){var At=this.state.switchingModeFromInline;At&&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 At=Object(s.a)({},Object(g.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Bt=this.getRealMenuMode();return At.className+=" ".concat(At.prefixCls,"-root"),At.direction==="rtl"&&(At.className+=" ".concat(At.prefixCls,"-rtl")),At=Object(s.a)(Object(s.a)({},At),{},{mode:Bt,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Fr(this.props,this.state,Bt)}),delete At.openAnimation,delete At.openTransitionName,t.createElement(f.a,{store:this.store},t.createElement(Xt,Object.assign({},At,{ref:this.setInnerMenu}),this.props.children))}}]),Wt}(t.Component);er.defaultProps={selectable:!0,onClick:ce,onSelect:ce,onOpenChange:ce,onDeselect:ce,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:t.createElement("span",null,"\xB7\xB7\xB7")};var nr=er,Lt=function(ht){Object(u.a)(Wt,ht);var ot=Object(h.a)(Wt);function Wt(){var Jt;return Object(e.a)(this,Wt),Jt=ot.apply(this,arguments),Jt.onKeyDown=function(At){var Bt=At.keyCode;return Bt===E.a.ENTER?(Jt.onClick(At),!0):void 0},Jt.onMouseLeave=function(At){var Bt=Jt.props,mt=Bt.eventKey,Mt=Bt.onItemHover,hr=Bt.onMouseLeave;Mt({key:mt,hover:!1}),hr({key:mt,domEvent:At})},Jt.onMouseEnter=function(At){var Bt=Jt.props,mt=Bt.eventKey,Mt=Bt.onItemHover,hr=Bt.onMouseEnter;Mt({key:mt,hover:!0}),hr({key:mt,domEvent:At})},Jt.onClick=function(At){var Bt=Jt.props,mt=Bt.eventKey,Mt=Bt.multiple,hr=Bt.onClick,or=Bt.onSelect,ar=Bt.onDeselect,Gr=Bt.isSelected,Yr={key:mt,keyPath:[mt],item:Object(l.a)(Jt),domEvent:At};hr(Yr),Mt?Gr?ar(Yr):or(Yr):Gr||or(Yr)},Jt.saveNode=function(At){Jt.node=At},Jt}return Object(a.a)(Wt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var At=this.props;At.onDestroy&&At.onDestroy(At.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 At,Bt=Object(s.a)({},this.props),mt=L()(this.getPrefixCls(),Bt.className,(At={},Object(y.a)(At,this.getActiveClassName(),!Bt.disabled&&Bt.active),Object(y.a)(At,this.getSelectedClassName(),Bt.isSelected),Object(y.a)(At,this.getDisabledClassName(),Bt.disabled),At)),Mt=Object(s.a)(Object(s.a)({},Bt.attribute),{},{title:typeof Bt.title=="string"?Bt.title:void 0,className:mt,role:Bt.role||"menuitem","aria-disabled":Bt.disabled});Bt.role==="option"?Mt=Object(s.a)(Object(s.a)({},Mt),{},{role:"option","aria-selected":Bt.isSelected}):(Bt.role===null||Bt.role==="none")&&(Mt.role="none");var hr={onClick:Bt.disabled?null:this.onClick,onMouseLeave:Bt.disabled?null:this.onMouseLeave,onMouseEnter:Bt.disabled?null:this.onMouseEnter},or=Object(s.a)({},Bt.style);Bt.mode==="inline"&&(Bt.direction==="rtl"?or.paddingRight=Bt.inlineIndent*Bt.level:or.paddingLeft=Bt.inlineIndent*Bt.level),re.forEach(function(Gr){return delete Bt[Gr]}),delete Bt.direction;var ar=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(ar=t.createElement(this.props.itemIcon,this.props)),t.createElement("li",Object.assign({},Object(g.default)(Bt,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Mt,hr,{style:or,ref:this.saveNode}),Bt.children,ar)}}]),Wt}(t.Component);Lt.isMenuItem=!0,Lt.defaultProps={onSelect:ce,onMouseEnter:ce,onMouseLeave:ce,manualRef:ce};var at=Object(f.b)(function(ht,ot){var Wt=ht.activeKey,Jt=ht.selectedKeys,At=ot.eventKey,Bt=ot.subMenuKey;return{active:Wt[Bt]===At,isSelected:Jt.indexOf(At)!==-1}})(Lt),Je=at,qt=function(ht){Object(u.a)(Wt,ht);var ot=Object(h.a)(Wt);function Wt(){var Jt;return Object(e.a)(this,Wt),Jt=ot.apply(this,arguments),Jt.renderInnerMenuItem=function(At){var Bt=Jt.props,mt=Bt.renderMenuItem,Mt=Bt.index;return mt(At,Mt,Jt.props.subMenuKey)},Jt}return Object(a.a)(Wt,[{key:"render",value:function(){var At=Object(v.a)({},this.props),Bt=At.className,mt=Bt===void 0?"":Bt,Mt=At.rootPrefixCls,hr="".concat(Mt,"-item-group-title"),or="".concat(Mt,"-item-group-list"),ar=At.title,Gr=At.children;return re.forEach(function(Yr){return delete At[Yr]}),delete At.onClick,delete At.direction,t.createElement("li",Object.assign({},At,{className:"".concat(mt," ").concat(Mt,"-item-group")}),t.createElement("div",{className:hr,title:typeof ar=="string"?ar:void 0},ar),t.createElement("ul",{className:or},t.Children.map(Gr,this.renderInnerMenuItem)))}}]),Wt}(t.Component);qt.isMenuItemGroup=!0,qt.defaultProps={disabled:!0};var Sr=qt,yr=function(ot){var Wt=ot.className,Jt=ot.rootPrefixCls,At=ot.style;return t.createElement("li",{className:"".concat(Wt," ").concat(Jt,"-item-divider"),style:At})};yr.defaultProps={disabled:!0,className:"",style:{}};var fr=yr,yn=nr,Jr=Object(t.createContext)({inlineCollapsed:!1}),Ln=Jr,Nt=d("0n0R"),Ve=function(ht){r()(Wt,ht);var ot=n()(Wt);function Wt(){return m()(this,Wt),ot.apply(this,arguments)}return c()(Wt,[{key:"renderTitle",value:function(At){var Bt=this.props,mt=Bt.icon,Mt=Bt.title,hr=Bt.level,or=Bt.rootPrefixCls;if(!mt)return At&&hr===1&&Mt&&typeof Mt=="string"?t.createElement("div",{className:"".concat(or,"-inline-collapsed-noicon")},Mt.charAt(0)):Mt;var ar=Object(Nt.b)(Mt)&&Mt.type==="span";return t.createElement(t.Fragment,null,mt,ar?Mt:t.createElement("span",null,Mt))}},{key:"render",value:function(){var At=this,Bt=this.props,mt=Bt.rootPrefixCls,Mt=Bt.popupClassName;return t.createElement(Ln.Consumer,null,function(hr){var or=hr.inlineCollapsed,ar=hr.antdMenuTheme;return t.createElement(Et,x()({},Object(g.default)(At.props,["icon"]),{title:At.renderTitle(or),popupClassName:L()(mt,"".concat(mt,"-").concat(ar),Mt)}))})}}]),Wt}(t.Component);Ve.contextType=Ln,Ve.isSubMenu=1;var _e=Ve,ke=d("Zm9Q"),Pe=d("3S7+"),rt=d("ZX9x"),Pt=function(ht,ot){var Wt={};for(var Jt in ht)Object.prototype.hasOwnProperty.call(ht,Jt)&&ot.indexOf(Jt)<0&&(Wt[Jt]=ht[Jt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Jt=Object.getOwnPropertySymbols(ht);At<Jt.length;At++)ot.indexOf(Jt[At])<0&&Object.prototype.propertyIsEnumerable.call(ht,Jt[At])&&(Wt[Jt[At]]=ht[Jt[At]]);return Wt},Yt=function(ht){r()(Wt,ht);var ot=n()(Wt);function Wt(){var Jt;return m()(this,Wt),Jt=ot.apply(this,arguments),Jt.renderItem=function(At){var Bt=At.siderCollapsed,mt=Jt.props,Mt=mt.level,hr=mt.className,or=mt.children,ar=mt.rootPrefixCls,Gr=Jt.props,Yr=Gr.title,In=Gr.icon,Nn=Gr.danger,Kn=Pt(Gr,["title","icon","danger"]);return t.createElement(Ln.Consumer,null,function($n){var Ii,Mi=$n.inlineCollapsed,Xe=$n.direction,Ie=Yr;typeof Yr=="undefined"?Ie=Mt===1?or:"":Yr===!1&&(Ie="");var Be={title:Ie};!Bt&&!Mi&&(Be.title=null,Be.visible=!1);var Fe=Object(ke.a)(or).length;return t.createElement(Pe.a,x()({},Be,{placement:Xe==="rtl"?"left":"right",overlayClassName:"".concat(ar,"-inline-collapsed-tooltip")}),t.createElement(Je,x()({},Kn,{className:L()(hr,(Ii={},A()(Ii,"".concat(ar,"-item-danger"),Nn),A()(Ii,"".concat(ar,"-item-only-child"),(In?Fe+1:Fe)===1),Ii)),title:Yr}),In,Jt.renderItemChildren(Mi)))})},Jt}return c()(Wt,[{key:"renderItemChildren",value:function(At){var Bt=this.props,mt=Bt.icon,Mt=Bt.children,hr=Bt.level,or=Bt.rootPrefixCls;return!mt||Object(Nt.b)(Mt)&&Mt.type==="span"?Mt&&At&&hr===1&&typeof Mt=="string"?t.createElement("div",{className:"".concat(or,"-inline-collapsed-noicon")},Mt.charAt(0)):Mt:t.createElement("span",null,Mt)}},{key:"render",value:function(){return t.createElement(rt.a.Consumer,null,this.renderItem)}}]),Wt}(t.Component);Yt.isMenuItem=!0;var kt=d("H84U"),_r=d("uaoM"),Rr=d("EXcs"),un=function(ht){r()(Wt,ht);var ot=n()(Wt);function Wt(Jt){var At;return m()(this,Wt),At=ot.call(this,Jt),At.renderMenu=function(Bt){var mt=Bt.getPopupContainer,Mt=Bt.getPrefixCls,hr=Bt.direction,or=At.props,ar=or.prefixCls,Gr=or.className,Yr=or.theme,In={horizontal:{motionName:"slide-up"},inline:Rr.a,other:{motionName:"zoom-big"}},Nn=Mt("menu",ar),Kn=L()(Gr,"".concat(Nn,"-").concat(Yr),A()({},"".concat(Nn,"-inline-collapsed"),At.getInlineCollapsed()));return t.createElement(Ln.Provider,{value:{inlineCollapsed:At.getInlineCollapsed()||!1,antdMenuTheme:Yr,direction:hr}},t.createElement(yn,x()({getPopupContainer:mt},At.props,{className:Kn,prefixCls:Nn,direction:hr,defaultMotions:In})))},Object(_r.a)(!("inlineCollapsed"in Jt&&Jt.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(_r.a)(!(Jt.siderCollapsed!==void 0&&"inlineCollapsed"in Jt),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),At}return c()(Wt,[{key:"getInlineCollapsed",value:function(){var At=this.props,Bt=At.inlineCollapsed,mt=At.siderCollapsed;return mt!==void 0?mt:Bt}},{key:"render",value:function(){return t.createElement(kt.a,null,this.renderMenu)}}]),Wt}(t.Component);un.defaultProps={className:"",theme:"light",focusable:!1};var Ut=function(ht){r()(Wt,ht);var ot=n()(Wt);function Wt(){return m()(this,Wt),ot.apply(this,arguments)}return c()(Wt,[{key:"render",value:function(){var At=this;return t.createElement(rt.a.Consumer,null,function(Bt){return t.createElement(un,x()({},At.props,Bt))})}}]),Wt}(t.Component);Ut.Divider=fr,Ut.Item=Yt,Ut.SubMenu=_e,Ut.ItemGroup=Sr},C0SR:function(H,k,d){var _=d("YH21"),x=function(){this._track=[]};x.prototype={constructor:x,recognize:function(c,o,r){return this._doTrack(c,o,r),this._recognize(c)},clear:function(){return this._track.length=0,this},_doTrack:function(c,o,r){var i=c.touches;if(!i)return;for(var n={points:[],touches:[],target:o,event:c},t=0,s=i.length;t<s;t++){var e=i[t],a=_.clientToLocal(r,e,{});n.points.push([a.zrX,a.zrY]),n.touches.push(e)}this._track.push(n)},_recognize:function(c){for(var o in b)if(b.hasOwnProperty(o)){var r=b[o](this._track,c);if(r)return r}}};function C(p){var c=p[1][0]-p[0][0],o=p[1][1]-p[0][1];return Math.sqrt(c*c+o*o)}function A(p){return[(p[0][0]+p[1][0])/2,(p[0][1]+p[1][1])/2]}var b={pinch:function(c,o){var r=c.length;if(!r)return;var i=(c[r-1]||{}).points,n=(c[r-2]||{}).points||i;if(n&&n.length>1&&i&&i.length>1){var t=C(i)/C(n);!isFinite(t)&&(t=1),o.pinchScale=t;var s=A(i);return o.pinchX=s[0],o.pinchY=s[1],{type:"pinch",target:c[0].target,event:o}}}},m=x;H.exports=m},C0tN:function(H,k,d){d("0o9m"),d("8Uz6"),d("Ducp"),d("6/nd")},CBdT:function(H,k,d){var _=d("ProS");d("8waO"),d("AEZ6"),d("YNf1");var x=d("q3GZ");_.registerVisual(x)},CF2D:function(H,k,d){var _=d("ProS");d("vZI5"),d("GeKi");var x=d("6r85"),C=d("TJmX"),A=d("CbHG");_.registerPreprocessor(x),_.registerVisual(C),_.registerLayout(A)},CFYs:function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("PJYZ"),r=d.n(o),i=d("7W2i"),n=d.n(i),t=d("LQ03"),s=d.n(t),e=d("q1tI"),a=d.n(e),l=d("TSYQ"),u=d.n(l),h=d("BGR+"),f=d("V/uB"),g=d.n(f),v=d("NAnI"),y=d.n(v),E=d("J84W"),T=d.n(E),w=d("kbBi"),S=d.n(w),I=d("H84U"),L=d("CWQg"),O=d("uaoM"),N=d("Zss7"),R=d.n(N),D=2,B=.16,M=.05,U=.05,F=.15,j=5,W=4,V=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function z(Yt,kt,_r){var Rr;return Math.round(Yt.h)>=60&&Math.round(Yt.h)<=240?Rr=_r?Math.round(Yt.h)-D*kt:Math.round(Yt.h)+D*kt:Rr=_r?Math.round(Yt.h)+D*kt:Math.round(Yt.h)-D*kt,Rr<0?Rr+=360:Rr>=360&&(Rr-=360),Rr}function Y(Yt,kt,_r){if(Yt.h===0&&Yt.s===0)return Yt.s;var Rr;return _r?Rr=Yt.s-B*kt:kt===W?Rr=Yt.s+B:Rr=Yt.s+M*kt,Rr>1&&(Rr=1),_r&&kt===j&&Rr>.1&&(Rr=.1),Rr<.06&&(Rr=.06),Number(Rr.toFixed(2))}function J(Yt,kt,_r){var Rr;return _r?Rr=Yt.v+U*kt:Rr=Yt.v-F*kt,Rr>1&&(Rr=1),Number(Rr.toFixed(2))}function ie(Yt){for(var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_r=[],Rr=R()(Yt),un=j;un>0;un-=1){var Ut=Rr.toHsv(),ht=R()({h:z(Ut,un,!0),s:Y(Ut,un,!0),v:J(Ut,un,!0)}).toHexString();_r.push(ht)}_r.push(Rr.toHexString());for(var ot=1;ot<=W;ot+=1){var Wt=Rr.toHsv(),Jt=R()({h:z(Wt,ot),s:Y(Wt,ot),v:J(Wt,ot)}).toHexString();_r.push(Jt)}return kt.theme==="dark"?V.map(function(At){var Bt=At.index,mt=At.opacity,Mt=R.a.mix(kt.backgroundColor||"#141414",_r[Bt],mt*100).toHexString();return Mt}):_r}var Z={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"},oe={},ge={};Object.keys(Z).forEach(function(Yt){oe[Yt]=ie(Z[Yt]),oe[Yt].primary=oe[Yt][5],ge[Yt]=ie(Z[Yt],{theme:"dark",backgroundColor:"#141414"}),ge[Yt].primary=ge[Yt][5]});var pe=oe.red,De=oe.volcano,ce=oe.gold,Oe=oe.orange,se=oe.yellow,$=oe.lime,ze=oe.green,re=oe.cyan,X=oe.blue,G=oe.geekblue,Q=oe.purple,ve=oe.magenta,de=oe.grey;function Ce(Yt){return!Yt||Yt<0?0:Yt>100?100:Yt}function we(Yt){var kt=Yt.success,_r=Yt.successPercent,Rr=_r;return kt&&"progress"in kt&&(Object(O.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Rr=kt.progress),kt&&"percent"in kt&&(Rr=kt.percent),Rr}var le=function(Yt,kt){var _r={};for(var Rr in Yt)Object.prototype.hasOwnProperty.call(Yt,Rr)&&kt.indexOf(Rr)<0&&(_r[Rr]=Yt[Rr]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Rr=Object.getOwnPropertySymbols(Yt);un<Rr.length;un++)kt.indexOf(Rr[un])<0&&Object.prototype.propertyIsEnumerable.call(Yt,Rr[un])&&(_r[Rr[un]]=Yt[Rr[un]]);return _r},fe=function(kt){var _r=[];return Object.keys(kt).forEach(function(Rr){var un=parseFloat(Rr.replace(/%/g,""));isNaN(un)||_r.push({key:un,value:kt[Rr]})}),_r=_r.sort(function(Rr,un){return Rr.key-un.key}),_r.map(function(Rr){var un=Rr.key,Ut=Rr.value;return"".concat(Ut," ").concat(un,"%")}).join(", ")},xe=function(kt){var _r=kt.from,Rr=_r===void 0?Z.blue:_r,un=kt.to,Ut=un===void 0?Z.blue:un,ht=kt.direction,ot=ht===void 0?"to right":ht,Wt=le(kt,["from","to","direction"]);if(Object.keys(Wt).length!==0){var Jt=fe(Wt);return{backgroundImage:"linear-gradient(".concat(ot,", ").concat(Jt,")")}}return{backgroundImage:"linear-gradient(".concat(ot,", ").concat(Rr,", ").concat(Ut,")")}},We=function(kt){var _r=kt.prefixCls,Rr=kt.percent,un=kt.strokeWidth,Ut=kt.size,ht=kt.strokeColor,ot=kt.strokeLinecap,Wt=kt.children,Jt=kt.trailColor,At=kt.success,Bt=ht&&typeof ht!="string"?xe(ht):{background:ht},mt=Jt?{backgroundColor:Jt}:void 0,Mt=A()({width:"".concat(Ce(Rr),"%"),height:un||(Ut==="small"?6:8),borderRadius:ot==="square"?0:""},Bt),hr=we(kt),or={width:"".concat(Ce(hr),"%"),height:un||(Ut==="small"?6:8),borderRadius:ot==="square"?0:"",backgroundColor:At==null?void 0:At.strokeColor},ar=hr!==void 0?e.createElement("div",{className:"".concat(_r,"-success-bg"),style:or}):null;return e.createElement(e.Fragment,null,e.createElement("div",{className:"".concat(_r,"-outer")},e.createElement("div",{className:"".concat(_r,"-inner"),style:mt},e.createElement("div",{className:"".concat(_r,"-bg"),style:Mt}),ar)),Wt)},nt=We,$e={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Le=function(kt){var _r=kt.map(function(){return Object(e.useRef)()}),Rr=Object(e.useRef)();return Object(e.useEffect)(function(){var un=Date.now(),Ut=!1;Object.keys(_r).forEach(function(ht){var ot=_r[ht].current;if(!ot)return;Ut=!0;var Wt=ot.style;Wt.transitionDuration=".3s, .3s, .3s, .06s",Rr.current&&un-Rr.current<100&&(Wt.transitionDuration="0s, 0s")}),Ut&&(Rr.current=Date.now())}),[_r]};function pt(){return pt=Object.assign||function(Yt){for(var kt=1;kt<arguments.length;kt++){var _r=arguments[kt];for(var Rr in _r)Object.prototype.hasOwnProperty.call(_r,Rr)&&(Yt[Rr]=_r[Rr])}return Yt},pt.apply(this,arguments)}function Qe(Yt,kt){return Ht(Yt)||_t(Yt,kt)||wt(Yt,kt)||gt()}function gt(){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 wt(Yt,kt){if(!Yt)return;if(typeof Yt=="string")return Et(Yt,kt);var _r=Object.prototype.toString.call(Yt).slice(8,-1);if(_r==="Object"&&Yt.constructor&&(_r=Yt.constructor.name),_r==="Map"||_r==="Set")return Array.from(Yt);if(_r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_r))return Et(Yt,kt)}function Et(Yt,kt){(kt==null||kt>Yt.length)&&(kt=Yt.length);for(var _r=0,Rr=new Array(kt);_r<kt;_r++)Rr[_r]=Yt[_r];return Rr}function _t(Yt,kt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Yt)))return;var _r=[],Rr=!0,un=!1,Ut=void 0;try{for(var ht=Yt[Symbol.iterator](),ot;!(Rr=(ot=ht.next()).done)&&!(_r.push(ot.value),kt&&_r.length===kt);Rr=!0);}catch(Wt){un=!0,Ut=Wt}finally{try{!Rr&&ht.return!=null&&ht.return()}finally{if(un)throw Ut}}return _r}function Ht(Yt){if(Array.isArray(Yt))return Yt}function Ze(Yt,kt){if(Yt==null)return{};var _r=ye(Yt,kt),Rr,un;if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(Yt);for(un=0;un<Ut.length;un++){if(Rr=Ut[un],kt.indexOf(Rr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Yt,Rr))continue;_r[Rr]=Yt[Rr]}}return _r}function ye(Yt,kt){if(Yt==null)return{};var _r={},Rr=Object.keys(Yt),un,Ut;for(Ut=0;Ut<Rr.length;Ut++){if(un=Rr[Ut],kt.indexOf(un)>=0)continue;_r[un]=Yt[un]}return _r}var ae=function(kt){var _r=kt.className,Rr=kt.percent,un=kt.prefixCls,Ut=kt.strokeColor,ht=kt.strokeLinecap,ot=kt.strokeWidth,Wt=kt.style,Jt=kt.trailColor,At=kt.trailWidth,Bt=kt.transition,mt=Ze(kt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete mt.gapPosition;var Mt=Array.isArray(Rr)?Rr:[Rr],hr=Array.isArray(Ut)?Ut:[Ut],or=Le(Mt),ar=Qe(or,1),Gr=ar[0],Yr=ot/2,In=100-ot/2,Nn="M ".concat(ht==="round"?Yr:0,",").concat(Yr,`
L `).concat(ht==="round"?In:100,",").concat(Yr),Kn="0 0 100 ".concat(ot),$n=0;return a.a.createElement("svg",pt({className:u()("".concat(un,"-line"),_r),viewBox:Kn,preserveAspectRatio:"none",style:Wt},mt),a.a.createElement("path",{className:"".concat(un,"-line-trail"),d:Nn,strokeLinecap:ht,stroke:Jt,strokeWidth:At||ot,fillOpacity:"0"}),Mt.map(function(Ii,Mi){var Xe={strokeDasharray:"".concat(Ii,"px, 100px"),strokeDashoffset:"-".concat($n,"px"),transition:Bt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ie=hr[Mi]||hr[hr.length-1];return $n+=Ii,a.a.createElement("path",{key:Mi,className:"".concat(un,"-line-path"),d:Nn,strokeLinecap:ht,stroke:Ie,strokeWidth:ot,fillOpacity:"0",ref:Gr[Mi],style:Xe})}))};ae.defaultProps=$e;var yt=ae;function et(){return et=Object.assign||function(Yt){for(var kt=1;kt<arguments.length;kt++){var _r=arguments[kt];for(var Rr in _r)Object.prototype.hasOwnProperty.call(_r,Rr)&&(Yt[Rr]=_r[Rr])}return Yt},et.apply(this,arguments)}function me(Yt,kt){return ur(Yt)||Xt(Yt,kt)||rr(Yt,kt)||Gt()}function Gt(){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 rr(Yt,kt){if(!Yt)return;if(typeof Yt=="string")return ut(Yt,kt);var _r=Object.prototype.toString.call(Yt).slice(8,-1);if(_r==="Object"&&Yt.constructor&&(_r=Yt.constructor.name),_r==="Map"||_r==="Set")return Array.from(Yt);if(_r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_r))return ut(Yt,kt)}function ut(Yt,kt){(kt==null||kt>Yt.length)&&(kt=Yt.length);for(var _r=0,Rr=new Array(kt);_r<kt;_r++)Rr[_r]=Yt[_r];return Rr}function Xt(Yt,kt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Yt)))return;var _r=[],Rr=!0,un=!1,Ut=void 0;try{for(var ht=Yt[Symbol.iterator](),ot;!(Rr=(ot=ht.next()).done)&&!(_r.push(ot.value),kt&&_r.length===kt);Rr=!0);}catch(Wt){un=!0,Ut=Wt}finally{try{!Rr&&ht.return!=null&&ht.return()}finally{if(un)throw Ut}}return _r}function ur(Yt){if(Array.isArray(Yt))return Yt}function Fr(Yt,kt){if(Yt==null)return{};var _r=er(Yt,kt),Rr,un;if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(Yt);for(un=0;un<Ut.length;un++){if(Rr=Ut[un],kt.indexOf(Rr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Yt,Rr))continue;_r[Rr]=Yt[Rr]}}return _r}function er(Yt,kt){if(Yt==null)return{};var _r={},Rr=Object.keys(Yt),un,Ut;for(Ut=0;Ut<Rr.length;Ut++){if(un=Rr[Ut],kt.indexOf(un)>=0)continue;_r[un]=Yt[un]}return _r}var nr=0;function Lt(Yt){return+Yt.replace("%","")}function at(Yt){return Array.isArray(Yt)?Yt:[Yt]}function Je(Yt,kt,_r,Rr){var un=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Ut=arguments.length>5?arguments[5]:void 0,ht=50-Rr/2,ot=0,Wt=-ht,Jt=0,At=-2*ht;switch(Ut){case"left":ot=-ht,Wt=0,Jt=2*ht,At=0;break;case"right":ot=ht,Wt=0,Jt=-2*ht,At=0;break;case"bottom":Wt=ht,At=2*ht;break;default:}var Bt="M 50,50 m ".concat(ot,",").concat(Wt,`
a `).concat(ht,",").concat(ht," 0 1 1 ").concat(Jt,",").concat(-At,`
a `).concat(ht,",").concat(ht," 0 1 1 ").concat(-Jt,",").concat(At),mt=Math.PI*2*ht,Mt={stroke:_r,strokeDasharray:"".concat(kt/100*(mt-un),"px ").concat(mt,"px"),strokeDashoffset:"-".concat(un/2+Yt/100*(mt-un),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Bt,pathStyle:Mt}}var qt=function(kt){var _r=kt.prefixCls,Rr=kt.strokeWidth,un=kt.trailWidth,Ut=kt.gapDegree,ht=kt.gapPosition,ot=kt.trailColor,Wt=kt.strokeLinecap,Jt=kt.style,At=kt.className,Bt=kt.strokeColor,mt=kt.percent,Mt=Fr(kt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),hr=Object(e.useMemo)(function(){return nr+=1,nr},[]),or=Je(0,100,ot,Rr,Ut,ht),ar=or.pathString,Gr=or.pathStyle,Yr=at(mt),In=at(Bt),Nn=In.find(function(Xe){return Object.prototype.toString.call(Xe)==="[object Object]"}),Kn=Le(Yr),$n=me(Kn,1),Ii=$n[0],Mi=function(){var Ie=0;return Yr.map(function(Be,Fe){var Ge=In[Fe]||In[In.length-1],Ke=Object.prototype.toString.call(Ge)==="[object Object]"?"url(#".concat(_r,"-gradient-").concat(hr,")"):"",qe=Je(Ie,Be,Ge,Rr,Ut,ht);return Ie+=Be,a.a.createElement("path",{key:Fe,className:"".concat(_r,"-circle-path"),d:qe.pathString,stroke:Ke,strokeLinecap:Wt,strokeWidth:Rr,opacity:Be===0?0:1,fillOpacity:"0",style:qe.pathStyle,ref:Ii[Fe]})})};return a.a.createElement("svg",et({className:u()("".concat(_r,"-circle"),At),viewBox:"0 0 100 100",style:Jt},Mt),Nn&&a.a.createElement("defs",null,a.a.createElement("linearGradient",{id:"".concat(_r,"-gradient-").concat(hr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Nn).sort(function(Xe,Ie){return Lt(Xe)-Lt(Ie)}).map(function(Xe,Ie){return a.a.createElement("stop",{key:Ie,offset:Xe,stopColor:Nn[Xe]})}))),a.a.createElement("path",{className:"".concat(_r,"-circle-trail"),d:ar,stroke:ot,strokeLinecap:Wt,strokeWidth:un||Rr,fillOpacity:"0",style:Gr}),Mi().reverse())};qt.defaultProps=$e;var Sr=qt,yr={Line:yt,Circle:Sr};function fr(Yt){var kt=Yt.percent,_r=Yt.success,Rr=Yt.successPercent,un=Ce(kt),Ut=we({success:_r,successPercent:Rr});return Ut?[Ce(Ut),Ce(un-Ce(Ut))]:un}function yn(Yt){var kt=Yt.success,_r=Yt.strokeColor,Rr=Yt.successPercent,un=_r||null,Ut=we({success:kt,successPercent:Rr});return Ut?[Z.green,un]:un}var Jr=function(kt){var _r=kt.prefixCls,Rr=kt.width,un=kt.strokeWidth,Ut=kt.trailColor,ht=kt.strokeLinecap,ot=kt.gapPosition,Wt=kt.gapDegree,Jt=kt.type,At=kt.children,Bt=Rr||120,mt={width:Bt,height:Bt,fontSize:Bt*.15+6},Mt=un||6,hr=ot||Jt==="dashboard"&&"bottom"||"top",or=function(){return Wt||Wt===0?Wt:Jt==="dashboard"?75:void 0},ar=yn(kt),Gr=Object.prototype.toString.call(ar)==="[object Object]",Yr=u()("".concat(_r,"-inner"),x()({},"".concat(_r,"-circle-gradient"),Gr));return e.createElement("div",{className:Yr,style:mt},e.createElement(Sr,{percent:fr(kt),strokeWidth:Mt,trailWidth:Mt,strokeColor:ar,strokeLinecap:ht,trailColor:Ut,prefixCls:_r,gapDegree:or(),gapPosition:hr}),At)},Ln=Jr,Nt=function(kt){for(var _r=kt.size,Rr=kt.steps,un=kt.percent,Ut=un===void 0?0:un,ht=kt.strokeWidth,ot=ht===void 0?8:ht,Wt=kt.strokeColor,Jt=kt.trailColor,At=kt.prefixCls,Bt=kt.children,mt=Math.floor(Rr*(Ut/100)),Mt=_r==="small"?2:14,hr=[],or=0;or<Rr;or+=1)hr.push(e.createElement("div",{key:or,className:u()("".concat(At,"-steps-item"),x()({},"".concat(At,"-steps-item-active"),or<=mt-1)),style:{backgroundColor:or<=mt-1?Wt:Jt,width:Mt,height:ot}}));return e.createElement("div",{className:"".concat(At,"-steps-outer")},hr,Bt)},Ve=Nt,_e=function(Yt,kt){var _r={};for(var Rr in Yt)Object.prototype.hasOwnProperty.call(Yt,Rr)&&kt.indexOf(Rr)<0&&(_r[Rr]=Yt[Rr]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Rr=Object.getOwnPropertySymbols(Yt);un<Rr.length;un++)kt.indexOf(Rr[un])<0&&Object.prototype.propertyIsEnumerable.call(Yt,Rr[un])&&(_r[Rr[un]]=Yt[Rr[un]]);return _r},ke=Object(L.a)("line","circle","dashboard"),Pe=Object(L.a)("normal","exception","active","success"),rt=function(Yt){n()(_r,Yt);var kt=s()(_r);function _r(){var Rr;return m()(this,_r),Rr=kt.apply(this,arguments),Rr.renderProgress=function(un){var Ut,ht=un.getPrefixCls,ot=un.direction,Wt=r()(Rr),Jt=Wt.props,At=Jt.prefixCls,Bt=Jt.className,mt=Jt.size,Mt=Jt.type,hr=Jt.steps,or=Jt.showInfo,ar=Jt.strokeColor,Gr=_e(Jt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),Yr=ht("progress",At),In=Rr.getProgressStatus(),Nn=Rr.renderProcessInfo(Yr,In);Object(O.a)(!("successPercent"in Jt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var Kn;Mt==="line"?Kn=hr?e.createElement(Ve,A()({},Rr.props,{strokeColor:typeof ar=="string"?ar:void 0,prefixCls:Yr,steps:hr}),Nn):e.createElement(nt,A()({},Rr.props,{prefixCls:Yr}),Nn):(Mt==="circle"||Mt==="dashboard")&&(Kn=e.createElement(Ln,A()({},Rr.props,{prefixCls:Yr,progressStatus:In}),Nn));var $n=u()(Yr,(Ut={},x()(Ut,"".concat(Yr,"-").concat(Mt==="dashboard"&&"circle"||hr&&"steps"||Mt),!0),x()(Ut,"".concat(Yr,"-status-").concat(In),!0),x()(Ut,"".concat(Yr,"-show-info"),or),x()(Ut,"".concat(Yr,"-").concat(mt),mt),x()(Ut,"".concat(Yr,"-rtl"),ot==="rtl"),Ut),Bt);return e.createElement("div",A()({},Object(h.default)(Gr,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:$n}),Kn)},Rr}return c()(_r,[{key:"getPercentNumber",value:function(){var un=this.props.percent,Ut=un===void 0?0:un,ht=we(this.props);return parseInt(ht!==void 0?ht.toString():Ut.toString(),10)}},{key:"getProgressStatus",value:function(){var un=this.props.status;return Pe.indexOf(un)<0&&this.getPercentNumber()>=100?"success":un||"normal"}},{key:"renderProcessInfo",value:function(un,Ut){var ht=this.props,ot=ht.showInfo,Wt=ht.format,Jt=ht.type,At=ht.percent,Bt=we(this.props);if(!ot)return null;var mt,Mt=Wt||function(or){return"".concat(or,"%")},hr=Jt==="line";return Wt||Ut!=="exception"&&Ut!=="success"?mt=Mt(Ce(At),Ce(Bt)):Ut==="exception"?mt=hr?e.createElement(S.a,null):e.createElement(g.a,null):Ut==="success"&&(mt=hr?e.createElement(T.a,null):e.createElement(y.a,null)),e.createElement("span",{className:"".concat(un,"-text"),title:typeof mt=="string"?mt:void 0},mt)}},{key:"render",value:function(){return e.createElement(I.a,null,this.renderProgress)}}]),_r}(e.Component);rt.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Pt=k.a=rt},"CMP+":function(H,k,d){var _=d("bYtY"),x=d("hM6l"),C=function(b,m,p,c){x.call(this,b,m,p),this.type=c||"value",this.model=null};C.prototype={constructor:C,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},_.inherits(C,x);var A=C;H.exports=A},CP8R:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},"CWI+":function(H,k,d){},CbHG:function(H,k,d){var _=d("IwbS"),x=_.subPixelOptimize,C=d("zM3Q"),A=d("OELB"),b=A.parsePercent,m=d("bYtY"),p=m.retrieve2,c=typeof Float32Array!="undefined"?Float32Array:Array,o={seriesType:"candlestick",plan:C(),reset:function(n){var t=n.coordinateSystem,s=n.getData(),e=i(n,s),a=0,l=1,u=["x","y"],h=s.mapDimension(u[a]),f=s.mapDimension(u[l],!0),g=f[0],v=f[1],y=f[2],E=f[3];if(s.setLayout({candleWidth:e,isSimpleBox:e<=1.3}),h==null||f.length<4)return;return{progress:n.pipelineContext.large?w:T};function T(S,I){for(var L;(L=S.next())!=null;){var O=I.get(h,L),N=I.get(g,L),R=I.get(v,L),D=I.get(y,L),B=I.get(E,L),M=Math.min(N,R),U=Math.max(N,R),F=Y(M,O),j=Y(U,O),W=Y(D,O),V=Y(B,O),z=[];J(z,j,0),J(z,F,1),z.push(Z(V),Z(j),Z(W),Z(F)),I.setItemLayout(L,{sign:r(I,L,N,R,v),initBaseline:N>R?j[l]:F[l],ends:z,brushRect:ie(D,B,O)})}function Y(oe,ge){var pe=[];return pe[a]=ge,pe[l]=oe,isNaN(ge)||isNaN(oe)?[NaN,NaN]:t.dataToPoint(pe)}function J(oe,ge,pe){var De=ge.slice(),ce=ge.slice();De[a]=x(De[a]+e/2,1,!1),ce[a]=x(ce[a]-e/2,1,!0),pe?oe.push(De,ce):oe.push(ce,De)}function ie(oe,ge,pe){var De=Y(oe,pe),ce=Y(ge,pe);return De[a]-=e/2,ce[a]-=e/2,{x:De[0],y:De[1],width:l?e:ce[0]-De[0],height:l?ce[1]-De[1]:e}}function Z(oe){return oe[a]=x(oe[a],1),oe}}function w(S,I){for(var L=new c(S.count*4),O=0,N,R=[],D=[],B;(B=S.next())!=null;){var M=I.get(h,B),U=I.get(g,B),F=I.get(v,B),j=I.get(y,B),W=I.get(E,B);if(isNaN(M)||isNaN(j)||isNaN(W)){L[O++]=NaN,O+=3;continue}L[O++]=r(I,B,U,F,v),R[a]=M,R[l]=j,N=t.dataToPoint(R,null,D),L[O++]=N?N[0]:NaN,L[O++]=N?N[1]:NaN,R[l]=W,N=t.dataToPoint(R,null,D),L[O++]=N?N[1]:NaN}I.setLayout("largePoints",L)}}};function r(n,t,s,e,a){var l;return s>e?l=-1:s<e?l=1:l=t>0?n.get(a,t-1)<=e?1:-1:1,l}function i(n,t){var s=n.getBaseAxis(),e,a=s.type==="category"?s.getBandWidth():(e=s.getExtent(),Math.abs(e[1]-e[0])/t.count()),l=b(p(n.get("barMaxWidth"),a),a),u=b(p(n.get("barMinWidth"),1),a),h=n.get("barWidth");return h!=null?b(h,a):Math.max(Math.min(a/2,l),u)}H.exports=o},Cm0C:function(H,k,d){d("5NHt"),d("f3JH")},Cmcn:function(H,k,d){"use strict";d.d(k,"a",function(){return x});var _=d("0HTW");function x(C,A){var b;if(typeof Symbol=="undefined"||C[Symbol.iterator]==null){if(Array.isArray(C)||(b=Object(_.a)(C))||A&&C&&typeof C.length=="number"){b&&(C=b);var m=0,p=function(){};return{s:p,n:function(){return m>=C.length?{done:!0}:{done:!1,value:C[m++]}},e:function(n){throw n},f:p}}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,r;return{s:function(){b=C[Symbol.iterator]()},n:function(){var n=b.next();return c=n.done,n},e:function(n){o=!0,r=n},f:function(){try{!c&&b.return!=null&&b.return()}finally{if(o)throw r}}}}},CrYA:function(H,k,d){var _=d("MFOe"),x=_.Global;H.exports={name:"sessionStorage",read:A,write:b,each:m,remove:p,clearAll:c};function C(){return x.sessionStorage}function A(o){return C().getItem(o)}function b(o,r){return C().setItem(o,r)}function m(o){for(var r=C().length-1;r>=0;r--){var i=C().key(r);o(A(i),i)}}function p(o){return C().removeItem(o)}function c(){return C().clear()}},Csr3:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("4vCz"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},D1WM:function(H,k,d){var _=d("bYtY"),x=d("hM6l"),C=function(b,m,p,c,o){x.call(this,b,m,p),this.type=c||"value",this.axisIndex=o};C.prototype={constructor:C,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},_.inherits(C,x);var A=C;H.exports=A},D5nY:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("4NO4"),A=C.makeInner,b=C.getDataItemValue,m=d("bYtY"),p=m.createHashMap,c=m.each,o=m.map,r=m.isArray,i=m.isString,n=m.isObject,t=m.isTypedArray,s=m.isArrayLike,e=m.extend,a=m.assert,l=d("7G+c"),u=d("k9D9"),h=u.SOURCE_FORMAT_ORIGINAL,f=u.SOURCE_FORMAT_ARRAY_ROWS,g=u.SOURCE_FORMAT_OBJECT_ROWS,v=u.SOURCE_FORMAT_KEYED_COLUMNS,y=u.SOURCE_FORMAT_UNKNOWN,E=u.SOURCE_FORMAT_TYPED_ARRAY,T=u.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},S=A();function I(z){var Y=z.option.source,J=y;if(t(Y))J=E;else if(r(Y)){Y.length===0&&(J=f);for(var ie=0,Z=Y.length;ie<Z;ie++){var oe=Y[ie];if(oe==null)continue;if(r(oe)){J=f;break}else if(n(oe)){J=g;break}}}else if(n(Y)){for(var ge in Y)if(Y.hasOwnProperty(ge)&&s(Y[ge])){J=v;break}}else if(Y!=null)throw new Error("Invalid data");S(z).sourceFormat=J}function L(z){return S(z).source}function O(z){S(z).datasetMap=p()}function N(z){var Y=z.option,J=Y.data,ie=t(J)?E:h,Z=!1,oe=Y.seriesLayoutBy,ge=Y.sourceHeader,pe=Y.dimensions,De=j(z);if(De){var ce=De.option;J=ce.source,ie=S(De).sourceFormat,Z=!0,oe=oe||ce.seriesLayoutBy,ge==null&&(ge=ce.sourceHeader),pe=pe||ce.dimensions}var Oe=R(J,ie,oe,ge,pe);S(z).source=new l({data:J,fromDataset:Z,seriesLayoutBy:oe,sourceFormat:ie,dimensionsDefine:Oe.dimensionsDefine,startIndex:Oe.startIndex,dimensionsDetectCount:Oe.dimensionsDetectCount,encodeDefine:Y.encode})}function R(z,Y,J,ie,Z){if(!z)return{dimensionsDefine:D(Z)};var oe,ge;if(Y===f)ie==="auto"||ie==null?B(function(De){De!=null&&De!=="-"&&(i(De)?ge==null&&(ge=1):ge=0)},J,z,10):ge=ie?1:0,!Z&&ge===1&&(Z=[],B(function(De,ce){Z[ce]=De!=null?De:""},J,z)),oe=Z?Z.length:J===T?z.length:z[0]?z[0].length:null;else if(Y===g)Z||(Z=M(z));else if(Y===v)Z||(Z=[],c(z,function(De,ce){Z.push(ce)}));else if(Y===h){var pe=b(z[0]);oe=r(pe)&&pe.length||1}else Y===E;return{startIndex:ge,dimensionsDefine:D(Z),dimensionsDetectCount:oe}}function D(z){if(!z)return;var Y=p();return o(z,function(J,ie){if(J=e({},n(J)?J:{name:J}),J.name==null)return J;J.name+="",J.displayName==null&&(J.displayName=J.name);var Z=Y.get(J.name);return Z?J.name+="-"+Z.count++:Y.set(J.name,{count:1}),J})}function B(z,Y,J,ie){if(ie==null&&(ie=Infinity),Y===T)for(var Z=0;Z<J.length&&Z<ie;Z++)z(J[Z]?J[Z][0]:null,Z);else for(var oe=J[0]||[],Z=0;Z<oe.length&&Z<ie;Z++)z(oe[Z],Z)}function M(z){for(var Y=0,J;Y<z.length&&!(J=z[Y++]););if(J){var ie=[];return c(J,function(Z,oe){ie.push(oe)}),ie}}function U(z,Y,J){var ie={},Z=j(Y);if(!Z||!z)return ie;var oe=[],ge=[],pe=Y.ecModel,De=S(pe).datasetMap,ce=Z.uid+"_"+J.seriesLayoutBy,Oe,se;z=z.slice(),c(z,function(X,G){!n(X)&&(z[G]={name:X}),X.type==="ordinal"&&Oe==null&&(Oe=G,se=re(z[G])),ie[X.name]=[]});var $=De.get(ce)||De.set(ce,{categoryWayDim:se,valueWayDim:0});c(z,function(X,G){var Q=X.name,ve=re(X);if(Oe==null){var de=$.valueWayDim;ze(ie[Q],de,ve),ze(ge,de,ve),$.valueWayDim+=ve}else if(Oe===G)ze(ie[Q],0,ve),ze(oe,0,ve);else{var de=$.categoryWayDim;ze(ie[Q],de,ve),ze(ge,de,ve),$.categoryWayDim+=ve}});function ze(X,G,Q){for(var ve=0;ve<Q;ve++)X.push(G+ve)}function re(X){var G=X.dimsDef;return G?G.length:1}return oe.length&&(ie.itemName=oe),ge.length&&(ie.seriesName=ge),ie}function F(z,Y,J){var ie={},Z=j(z);if(!Z)return ie;var oe=Y.sourceFormat,ge=Y.dimensionsDefine,pe;(oe===g||oe===v)&&c(ge,function(Oe,se){(n(Oe)?Oe.name:Oe)==="name"&&(pe=se)});var De=function(){for(var Oe={},se={},$=[],ze=0,re=Math.min(5,J);ze<re;ze++){var X=V(Y.data,oe,Y.seriesLayoutBy,ge,Y.startIndex,ze);$.push(X);var G=X===w.Not;if(G&&Oe.v==null&&ze!==pe&&(Oe.v=ze),(Oe.n==null||Oe.n===Oe.v||!G&&$[Oe.n]===w.Not)&&(Oe.n=ze),Q(Oe)&&$[Oe.n]!==w.Not)return Oe;G||(X===w.Might&&se.v==null&&ze!==pe&&(se.v=ze),(se.n==null||se.n===se.v)&&(se.n=ze))}function Q(ve){return ve.v!=null&&ve.n!=null}return Q(Oe)?Oe:Q(se)?se:null}();if(De){ie.value=De.v;var ce=pe!=null?pe:De.n;ie.itemName=[ce],ie.seriesName=[ce]}return ie}function j(z){var Y=z.option,J=Y.data;if(!J)return z.ecModel.getComponent("dataset",Y.datasetIndex||0)}function W(z,Y){return V(z.data,z.sourceFormat,z.seriesLayoutBy,z.dimensionsDefine,z.startIndex,Y)}function V(z,Y,J,ie,Z,oe){var ge,pe=5;if(t(z))return w.Not;var De,ce;if(ie){var Oe=ie[oe];n(Oe)?(De=Oe.name,ce=Oe.type):i(Oe)&&(De=Oe)}if(ce!=null)return ce==="ordinal"?w.Must:w.Not;if(Y===f)if(J===T){for(var se=z[oe],$=0;$<(se||[]).length&&$<pe;$++)if((ge=G(se[Z+$]))!=null)return ge}else for(var $=0;$<z.length&&$<pe;$++){var ze=z[Z+$];if(ze&&(ge=G(ze[oe]))!=null)return ge}else if(Y===g){if(!De)return w.Not;for(var $=0;$<z.length&&$<pe;$++){var re=z[$];if(re&&(ge=G(re[De]))!=null)return ge}}else if(Y===v){if(!De)return w.Not;var se=z[De];if(!se||t(se))return w.Not;for(var $=0;$<se.length&&$<pe;$++)if((ge=G(se[$]))!=null)return ge}else if(Y===h)for(var $=0;$<z.length&&$<pe;$++){var re=z[$],X=b(re);if(!r(X))return w.Not;if((ge=G(X[oe]))!=null)return ge}function G(Q){var ve=i(Q);if(Q!=null&&isFinite(Q)&&Q!=="")return ve?w.Might:w.Not;if(ve&&Q!=="-")return w.Must}return w.Not}k.BE_ORDINAL=w,k.detectSourceFormat=I,k.getSource=L,k.resetSourceDefaulter=O,k.prepareSource=N,k.makeSeriesEncodeForAxisCoordSys=U,k.makeSeriesEncodeForNameBased=F,k.guessOrdinal=W},D9ME:function(H,k,d){var _=d("IwbS"),x=d("fls0"),C=d("bYtY"),A=d("oVpE"),b=A.createSymbol,m=d("QBsz"),p=d("Sj9i");function c(i,n,t){_.Group.call(this),this.add(this.createLine(i,n,t)),this._updateEffectSymbol(i,n)}var o=c.prototype;o.createLine=function(i,n,t){return new x(i,n,t)},o._updateEffectSymbol=function(i,n){var t=i.getItemModel(n),s=t.getModel("effect"),e=s.get("symbolSize"),a=s.get("symbol");C.isArray(e)||(e=[e,e]);var l=s.get("color")||i.getItemVisual(n,"color"),u=this.childAt(1);if(this._symbolType!==a&&(this.remove(u),u=b(a,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),!u)return;u.setStyle("shadowColor",l),u.setStyle(s.getItemStyle(["color"])),u.attr("scale",e),u.setColor(l),u.attr("scale",e),this._symbolType=a,this._symbolScale=e,this._updateEffectAnimation(i,s,n)},o._updateEffectAnimation=function(i,n,t){var s=this.childAt(1);if(!s)return;var e=this,a=i.getItemLayout(t),l=n.get("period")*1e3,u=n.get("loop"),h=n.get("constantSpeed"),f=C.retrieve(n.get("delay"),function(E){return E/i.count()*l/3}),g=typeof f=="function";if(s.ignore=!0,this.updateAnimationPoints(s,a),h>0&&(l=this.getLineLength(s)/h*1e3),l!==this._period||u!==this._loop){s.stopAnimation();var v=f;g&&(v=f(t)),s.__t>0&&(v=-l*s.__t),s.__t=0;var y=s.animate("",u).when(l,{__t:1}).delay(v).during(function(){e.updateSymbolPosition(s)});u||y.done(function(){e.remove(s)}),y.start()}this._period=l,this._loop=u},o.getLineLength=function(i){return m.dist(i.__p1,i.__cp1)+m.dist(i.__cp1,i.__p2)},o.updateAnimationPoints=function(i,n){i.__p1=n[0],i.__p2=n[1],i.__cp1=n[2]||[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]},o.updateData=function(i,n,t){this.childAt(0).updateData(i,n,t),this._updateEffectSymbol(i,n)},o.updateSymbolPosition=function(i){var n=i.__p1,t=i.__p2,s=i.__cp1,e=i.__t,a=i.position,l=[a[0],a[1]],u=p.quadraticAt,h=p.quadraticDerivativeAt;a[0]=u(n[0],s[0],t[0],e),a[1]=u(n[1],s[1],t[1],e);var f=h(n[0],s[0],t[0],e),g=h(n[1],s[1],t[1],e);if(i.rotation=-Math.atan2(g,f)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(i.__lastT!==void 0&&i.__lastT<i.__t){var v=m.dist(l,a)*1.05;i.attr("scale",[i.scale[0],v]),e===1&&(a[0]=l[0]+(a[0]-l[0])/2,a[1]=l[1]+(a[1]-l[1])/2)}else if(i.__lastT===1){var v=2*m.dist(n,a);i.attr("scale",[i.scale[0],v])}else i.attr("scale",this._symbolScale);i.__lastT=i.__t,i.ignore=!1},o.updateLayout=function(i,n){this.childAt(0).updateLayout(i,n);var t=i.getItemModel(n).getModel("effect");this._updateEffectAnimation(i,t,n)},C.inherits(c,_.Group);var r=c;H.exports=r},DBLp:function(H,k){function d(){}d.prototype={diff:function(m,p,c){c||(c=function(g,v){return g===v}),this.equals=c;var o=this;m=m.slice(),p=p.slice();var r=p.length,i=m.length,n=1,t=r+i,s=[{newPos:-1,components:[]}],e=this.extractCommon(s[0],p,m,0);if(s[0].newPos+1>=r&&e+1>=i){for(var a=[],l=0;l<p.length;l++)a.push(l);return[{indices:a,count:p.length}]}function u(){for(var f=-1*n;f<=n;f+=2){var g,v=s[f-1],y=s[f+1],E=(y?y.newPos:0)-f;v&&(s[f-1]=void 0);var T=v&&v.newPos+1<r,w=y&&0<=E&&E<i;if(!T&&!w){s[f]=void 0;continue}if(!T||w&&v.newPos<y.newPos?(g=x(y),o.pushComponent(g.components,void 0,!0)):(g=v,g.newPos++,o.pushComponent(g.components,!0,void 0)),E=o.extractCommon(g,p,m,f),g.newPos+1>=r&&E+1>=i)return _(o,g.components,p,m);s[f]=g}n++}for(;n<=t;){var h=u();if(h)return h}},pushComponent:function(m,p,c){var o=m[m.length-1];o&&o.added===p&&o.removed===c?m[m.length-1]={count:o.count+1,added:p,removed:c}:m.push({count:1,added:p,removed:c})},extractCommon:function(m,p,c,o){for(var r=p.length,i=c.length,n=m.newPos,t=n-o,s=0;n+1<r&&t+1<i&&this.equals(p[n+1],c[t+1]);)n++,t++,s++;return s&&m.components.push({count:s}),m.newPos=n,t},tokenize:function(m){return m.slice()},join:function(m){return m.slice()}};function _(b,m,p,c){for(var o=0,r=m.length,i=0,n=0;o<r;o++){var t=m[o];if(t.removed){for(var s=[],e=n;e<n+t.count;e++)s.push(e);t.indices=s,n+=t.count}else{for(var s=[],e=i;e<i+t.count;e++)s.push(e);t.indices=s,i+=t.count,t.added||(n+=t.count)}}return m}function x(b){return{newPos:b.newPos,components:b.components.slice(0)}}var C=new d;function A(b,m,p){return C.diff(b,m,p)}H.exports=A},DEFe:function(H,k,d){var _=d("bYtY"),x=d("SgGq"),C=d("Ae+d"),A=d("xSat"),b=A.onIrrelevantElement,m=d("IwbS"),p=d("W4dC"),c=d("iRjW"),o=c.getUID,r=d("DN4a");function i(a){var l=a.getItemStyle(),u=a.get("areaColor");return u!=null&&(l.fill=u),l}function n(a,l,u,h,f){u.off("click"),u.off("mousedown"),l.get("selectedMode")&&(u.on("mousedown",function(){a._mouseDownFlag=!0}),u.on("click",function(g){if(!a._mouseDownFlag)return;a._mouseDownFlag=!1;for(var v=g.target;!v.__regions;)v=v.parent;if(!v)return;var y={type:(l.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:_.map(v.__regions,function(E){return{name:E.name,from:f.uid}})};y[l.mainType+"Id"]=l.id,h.dispatchAction(y),t(l,u)}))}function t(a,l){l.eachChild(function(u){_.each(u.__regions,function(h){u.trigger(a.isSelected(h.name)?"emphasis":"normal")})})}function s(a,l){var u=new m.Group;this.uid=o("ec_map_draw"),this._controller=new x(a.getZr()),this._controllerHost={target:l?u:null},this.group=u,this._updateGroup=l,this._mouseDownFlag,this._mapName,this._initialized,u.add(this._regionsGroup=new m.Group),u.add(this._backgroundGroup=new m.Group)}s.prototype={constructor:s,draw:function(a,l,u,h,f){var g=a.mainType==="geo",v=a.getData&&a.getData();g&&l.eachComponent({mainType:"series",subType:"map"},function(j){!v&&j.getHostGeoModel()===a&&(v=j.getData())});var y=a.coordinateSystem;this._updateBackground(y);var E=this._regionsGroup,T=this.group,w=y.getTransformInfo(),S=!E.childAt(0)||f,I;if(S)T.transform=w.roamTransform,T.decomposeTransform(),T.dirty();else{var L=new r;L.transform=w.roamTransform,L.decomposeTransform();var O={scale:L.scale,position:L.position};I=L.scale,m.updateProps(T,O,a)}var N=w.rawScale,R=w.rawPosition;E.removeAll();var D=["itemStyle"],B=["emphasis","itemStyle"],M=["label"],U=["emphasis","label"],F=_.createHashMap();_.each(y.regions,function(j){var W=F.get(j.name)||F.set(j.name,new m.Group),V=new m.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});W.add(V);var z=a.getRegionModel(j.name)||a,Y=z.getModel(D),J=z.getModel(B),ie=i(Y),Z=i(J),oe=z.getModel(M),ge=z.getModel(U),pe;if(v){pe=v.indexOfName(j.name);var De=v.getItemVisual(pe,"color",!0);De&&(ie.fill=De)}var ce=function(de){return[de[0]*N[0]+R[0],de[1]*N[1]+R[1]]};_.each(j.geometries,function(de){if(de.type!=="polygon")return;for(var Ce=[],we=0;we<de.exterior.length;++we)Ce.push(ce(de.exterior[we]));V.shape.paths.push(new m.Polygon({segmentIgnoreThreshold:1,shape:{points:Ce}}));for(var we=0;we<(de.interiors?de.interiors.length:0);++we){for(var le=de.interiors[we],Ce=[],fe=0;fe<le.length;++fe)Ce.push(ce(le[fe]));V.shape.paths.push(new m.Polygon({segmentIgnoreThreshold:1,shape:{points:Ce}}))}}),V.setStyle(ie),V.style.strokeNoScale=!0,V.culling=!0;var Oe=oe.get("show"),se=ge.get("show"),$=v&&isNaN(v.get(v.mapDimension("value"),pe)),ze=v&&v.getItemLayout(pe);if(g||$&&(Oe||se)||ze&&ze.showLabel){var re=g?j.name:pe,X;(!v||pe>=0)&&(X=a);var G=new m.Text({position:ce(j.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(m.setLabelStyle(G.style,G.hoverStyle={},oe,ge,{labelFetcher:X,labelDataIndex:re,defaultText:j.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!S){var Q=[1/I[0],1/I[1]];m.updateProps(G,{scale:Q},a)}W.add(G)}if(v)v.setItemGraphicEl(pe,W);else{var z=a.getRegionModel(j.name);V.eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:j.name,region:z&&z.option||{}}}var ve=W.__regions||(W.__regions=[]);ve.push(j),W.highDownSilentOnTouch=!!a.get("selectedMode"),m.setHoverStyle(W,Z),E.add(W)}),this._updateController(a,l,u),n(this,a,E,u,h),t(a,E)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&p.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(a){var l=a.map;this._mapName!==l&&_.each(p.makeGraphic(l,this.uid),function(u){this._backgroundGroup.add(u)},this),this._mapName=l},_updateController:function(a,l,u){var h=a.coordinateSystem,f=this._controller,g=this._controllerHost;g.zoomLimit=a.get("scaleLimit"),g.zoom=h.getZoom(),f.enable(a.get("roam")||!1);var v=a.mainType;function y(){var E={type:"geoRoam",componentType:v};return E[v+"Id"]=a.id,E}f.off("pan").on("pan",function(E){this._mouseDownFlag=!1,C.updateViewOnPan(g,E.dx,E.dy),u.dispatchAction(_.extend(y(),{dx:E.dx,dy:E.dy}))},this),f.off("zoom").on("zoom",function(E){if(this._mouseDownFlag=!1,C.updateViewOnZoom(g,E.scale,E.originX,E.originY),u.dispatchAction(_.extend(y(),{zoom:E.scale,originX:E.originX,originY:E.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(w){w.type==="text"&&w.attr("scale",[1/T[0],1/T[1]])})}},this),f.setPointerChecker(function(E,T,w){return h.getViewRectAfterRoam().contain(T,w)&&!b(E,u,a)})}};var e=s;H.exports=e},DFOY:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("PJYZ"),r=d.n(o),i=d("7W2i"),n=d.n(i),t=d("LQ03"),s=d.n(t),e=d("q1tI"),a=d("uciX"),l=d("2W6z"),u=d.n(l),h=d("4IlW"),f=d("uK0f"),g=d.n(f);function v(at,Je){if(at===Je)return!0;if(!at||!Je)return!1;var qt=at.length;if(Je.length!==qt)return!1;for(var Sr=0;Sr<qt;Sr++)if(at[Sr]!==Je[Sr])return!1;return!0}function y(at){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(qt){return typeof qt}:y=function(qt){return qt&&typeof Symbol=="function"&&qt.constructor===Symbol&&qt!==Symbol.prototype?"symbol":typeof qt},y(at)}function E(at,Je){if(!(at instanceof Je))throw new TypeError("Cannot call a class as a function")}function T(at,Je){for(var qt=0;qt<Je.length;qt++){var Sr=Je[qt];Sr.enumerable=Sr.enumerable||!1,Sr.configurable=!0,"value"in Sr&&(Sr.writable=!0),Object.defineProperty(at,Sr.key,Sr)}}function w(at,Je,qt){return Je&&T(at.prototype,Je),qt&&T(at,qt),at}function S(at,Je){if(typeof Je!="function"&&Je!==null)throw new TypeError("Super expression must either be null or a function");at.prototype=Object.create(Je&&Je.prototype,{constructor:{value:at,writable:!0,configurable:!0}}),Je&&I(at,Je)}function I(at,Je){return I=Object.setPrototypeOf||function(Sr,yr){return Sr.__proto__=yr,Sr},I(at,Je)}function L(at){var Je=R();return function(){var qt=D(at),Sr;if(Je){var yr=D(this).constructor;Sr=Reflect.construct(qt,arguments,yr)}else Sr=qt.apply(this,arguments);return O(this,Sr)}}function O(at,Je){return Je&&(y(Je)==="object"||typeof Je=="function")?Je:N(at)}function N(at){if(at===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return at}function R(){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(at){return!1}}function D(at){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(qt){return qt.__proto__||Object.getPrototypeOf(qt)},D(at)}var B=function(){var at=function(Je){S(Sr,Je);var qt=L(Sr);function Sr(){var yr;return E(this,Sr),yr=qt.apply(this,arguments),yr.menuItems={},yr.saveMenuItem=function(fr){return function(yn){yr.menuItems[fr]=yn}},yr}return w(Sr,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(fr){!fr.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(fr){var yn=this.props,Jr=yn.fieldNames,Ln=yn.defaultFieldNames;return Jr[fr]||Ln[fr]}},{key:"getOption",value:function(fr,yn){var Jr=this.props,Ln=Jr.prefixCls,Nt=Jr.expandTrigger,Ve=Jr.expandIcon,_e=Jr.loadingIcon,ke=this.props.onSelect.bind(this,fr,yn),Pe=this.props.onItemDoubleClick.bind(this,fr,yn),rt={onClick:ke,onDoubleClick:Pe},Pt="".concat(Ln,"-menu-item"),Yt=null,kt=fr[this.getFieldName("children")]&&fr[this.getFieldName("children")].length>0;(kt||fr.isLeaf===!1)&&(Pt+=" ".concat(Ln,"-menu-item-expand"),fr.loading||(Yt=e.createElement("span",{className:"".concat(Ln,"-menu-item-expand-icon")},Ve))),Nt==="hover"&&(kt||fr.isLeaf===!1)&&(rt={onMouseEnter:this.delayOnSelect.bind(this,ke),onMouseLeave:this.delayOnSelect.bind(this),onClick:ke}),this.isActiveOption(fr,yn)&&(Pt+=" ".concat(Ln,"-menu-item-active"),rt.ref=this.saveMenuItem(yn)),fr.disabled&&(Pt+=" ".concat(Ln,"-menu-item-disabled"));var _r=null;fr.loading&&(Pt+=" ".concat(Ln,"-menu-item-loading"),_r=_e||null);var Rr="";return"title"in fr?Rr=fr.title:typeof fr[this.getFieldName("label")]=="string"&&(Rr=fr[this.getFieldName("label")]),e.createElement("li",Object.assign({key:fr[this.getFieldName("value")],className:Pt,title:Rr},rt,{role:"menuitem",onMouseDown:function(Ut){return Ut.preventDefault()}}),fr[this.getFieldName("label")],Yt,_r)}},{key:"getActiveOptions",value:function(fr){var yn=this,Jr=this.props.options,Ln=fr||this.props.activeValue;return g()(Jr,function(Nt,Ve){return Nt[yn.getFieldName("value")]===Ln[Ve]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var fr=this,yn=this.props.options,Jr=this.getActiveOptions().map(function(Ln){return Ln[fr.getFieldName("children")]}).filter(function(Ln){return!!Ln});return Jr.unshift(yn),Jr}},{key:"delayOnSelect",value:function(fr){for(var yn=this,Jr=arguments.length,Ln=new Array(Jr>1?Jr-1:0),Nt=1;Nt<Jr;Nt++)Ln[Nt-1]=arguments[Nt];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof fr=="function"&&(this.delayTimer=window.setTimeout(function(){fr(Ln),yn.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var fr=this.getShowOptions().length,yn=0;yn<fr;yn++){var Jr=this.menuItems[yn];Jr&&Jr.parentElement&&(Jr.parentElement.scrollTop=Jr.offsetTop)}}},{key:"isActiveOption",value:function(fr,yn){var Jr=this.props.activeValue,Ln=Jr===void 0?[]:Jr;return Ln[yn]===fr[this.getFieldName("value")]}},{key:"render",value:function(){var fr=this,yn=this.props,Jr=yn.prefixCls,Ln=yn.dropdownMenuColumnStyle;return e.createElement("div",null,this.getShowOptions().map(function(Nt,Ve){return e.createElement("ul",{className:"".concat(Jr,"-menu"),key:Ve,style:Ln},Nt.map(function(_e){return fr.getOption(_e,Ve)}))}))}}]),Sr}(e.Component);return at.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},at}(),M=B,U={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}}},F=U;function j(at){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?j=function(qt){return typeof qt}:j=function(qt){return qt&&typeof Symbol=="function"&&qt.constructor===Symbol&&qt!==Symbol.prototype?"symbol":typeof qt},j(at)}function W(at,Je){if(at==null)return{};var qt=V(at,Je),Sr,yr;if(Object.getOwnPropertySymbols){var fr=Object.getOwnPropertySymbols(at);for(yr=0;yr<fr.length;yr++){if(Sr=fr[yr],Je.indexOf(Sr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(at,Sr))continue;qt[Sr]=at[Sr]}}return qt}function V(at,Je){if(at==null)return{};var qt={},Sr=Object.keys(at),yr,fr;for(fr=0;fr<Sr.length;fr++){if(yr=Sr[fr],Je.indexOf(yr)>=0)continue;qt[yr]=at[yr]}return qt}function z(at){return Z(at)||ie(at)||J(at)||Y()}function Y(){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 J(at,Je){if(!at)return;if(typeof at=="string")return oe(at,Je);var qt=Object.prototype.toString.call(at).slice(8,-1);if(qt==="Object"&&at.constructor&&(qt=at.constructor.name),qt==="Map"||qt==="Set")return Array.from(at);if(qt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(qt))return oe(at,Je)}function ie(at){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(at))return Array.from(at)}function Z(at){if(Array.isArray(at))return oe(at)}function oe(at,Je){(Je==null||Je>at.length)&&(Je=at.length);for(var qt=0,Sr=new Array(Je);qt<Je;qt++)Sr[qt]=at[qt];return Sr}function ge(at,Je){if(!(at instanceof Je))throw new TypeError("Cannot call a class as a function")}function pe(at,Je){for(var qt=0;qt<Je.length;qt++){var Sr=Je[qt];Sr.enumerable=Sr.enumerable||!1,Sr.configurable=!0,"value"in Sr&&(Sr.writable=!0),Object.defineProperty(at,Sr.key,Sr)}}function De(at,Je,qt){return Je&&pe(at.prototype,Je),qt&&pe(at,qt),at}function ce(at,Je){if(typeof Je!="function"&&Je!==null)throw new TypeError("Super expression must either be null or a function");at.prototype=Object.create(Je&&Je.prototype,{constructor:{value:at,writable:!0,configurable:!0}}),Je&&Oe(at,Je)}function Oe(at,Je){return Oe=Object.setPrototypeOf||function(Sr,yr){return Sr.__proto__=yr,Sr},Oe(at,Je)}function se(at){var Je=re();return function(){var qt=X(at),Sr;if(Je){var yr=X(this).constructor;Sr=Reflect.construct(qt,arguments,yr)}else Sr=qt.apply(this,arguments);return $(this,Sr)}}function $(at,Je){return Je&&(j(Je)==="object"||typeof Je=="function")?Je:ze(at)}function ze(at){if(at===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return at}function re(){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(at){return!1}}function X(at){return X=Object.setPrototypeOf?Object.getPrototypeOf:function(qt){return qt.__proto__||Object.getPrototypeOf(qt)},X(at)}var G=function(){var at=function(Je){ce(Sr,Je);var qt=se(Sr);function Sr(yr){var fr;ge(this,Sr),fr=qt.call(this,yr),fr.setPopupVisible=function(Jr){var Ln=fr.state.value;"popupVisible"in fr.props||fr.setState({popupVisible:Jr}),Jr&&!fr.state.popupVisible&&fr.setState({activeValue:Ln}),fr.props.onPopupVisibleChange(Jr)},fr.handleChange=function(Jr,Ln,Nt){var Ve=Ln.visible;(Nt.type!=="keydown"||Nt.keyCode===h.a.ENTER)&&(fr.props.onChange(Jr.map(function(_e){return _e[fr.getFieldName("value")]}),Jr),fr.setPopupVisible(Ve))},fr.handlePopupVisibleChange=function(Jr){fr.setPopupVisible(Jr)},fr.handleMenuSelect=function(Jr,Ln,Nt){var Ve=fr.trigger.getRootDomNode();Ve&&Ve.focus&&Ve.focus();var _e=fr.props,ke=_e.changeOnSelect,Pe=_e.loadData,rt=_e.expandTrigger;if(!Jr||Jr.disabled)return;var Pt=fr.state.activeValue;Pt=Pt.slice(0,Ln+1),Pt[Ln]=Jr[fr.getFieldName("value")];var Yt=fr.getActiveOptions(Pt);if(Jr.isLeaf===!1&&!Jr[fr.getFieldName("children")]&&Pe){ke&&fr.handleChange(Yt,{visible:!0},Nt),fr.setState({activeValue:Pt}),Pe(Yt);return}var kt={};!Jr[fr.getFieldName("children")]||!Jr[fr.getFieldName("children")].length?(fr.handleChange(Yt,{visible:!1},Nt),kt.value=Pt):ke&&(Nt.type==="click"||Nt.type==="keydown")&&(rt==="hover"?fr.handleChange(Yt,{visible:!1},Nt):fr.handleChange(Yt,{visible:!0},Nt),kt.value=Pt),kt.activeValue=Pt,("value"in fr.props||Nt.type==="keydown"&&Nt.keyCode!==h.a.ENTER)&&delete kt.value,fr.setState(kt)},fr.handleItemDoubleClick=function(){var Jr=fr.props.changeOnSelect;Jr&&fr.setPopupVisible(!1)},fr.handleKeyDown=function(Jr){var Ln=fr.props.children;if(Ln&&Ln.props.onKeyDown){Ln.props.onKeyDown(Jr);return}var Nt=z(fr.state.activeValue),Ve=Nt.length-1<0?0:Nt.length-1,_e=fr.getCurrentLevelOptions(),ke=_e.map(function(Yt){return Yt[fr.getFieldName("value")]}).indexOf(Nt[Ve]);if(Jr.keyCode!==h.a.DOWN&&Jr.keyCode!==h.a.UP&&Jr.keyCode!==h.a.LEFT&&Jr.keyCode!==h.a.RIGHT&&Jr.keyCode!==h.a.ENTER&&Jr.keyCode!==h.a.SPACE&&Jr.keyCode!==h.a.BACKSPACE&&Jr.keyCode!==h.a.ESC&&Jr.keyCode!==h.a.TAB)return;if(!fr.state.popupVisible&&Jr.keyCode!==h.a.BACKSPACE&&Jr.keyCode!==h.a.LEFT&&Jr.keyCode!==h.a.RIGHT&&Jr.keyCode!==h.a.ESC&&Jr.keyCode!==h.a.TAB){fr.setPopupVisible(!0);return}if(Jr.keyCode===h.a.DOWN||Jr.keyCode===h.a.UP){Jr.preventDefault();var Pe=ke;Pe!==-1?Jr.keyCode===h.a.DOWN?(Pe+=1,Pe=Pe>=_e.length?0:Pe):(Pe-=1,Pe=Pe<0?_e.length-1:Pe):Pe=0,Nt[Ve]=_e[Pe][fr.getFieldName("value")]}else if(Jr.keyCode===h.a.LEFT||Jr.keyCode===h.a.BACKSPACE)Jr.preventDefault(),Nt.splice(Nt.length-1,1);else if(Jr.keyCode===h.a.RIGHT)Jr.preventDefault(),_e[ke]&&_e[ke][fr.getFieldName("children")]&&Nt.push(_e[ke][fr.getFieldName("children")][0][fr.getFieldName("value")]);else if(Jr.keyCode===h.a.ESC||Jr.keyCode===h.a.TAB){fr.setPopupVisible(!1);return}(!Nt||Nt.length===0)&&fr.setPopupVisible(!1);var rt=fr.getActiveOptions(Nt),Pt=rt[rt.length-1];fr.handleMenuSelect(Pt,rt.length-1,Jr),fr.props.onKeyDown&&fr.props.onKeyDown(Jr)},fr.saveTrigger=function(Jr){fr.trigger=Jr};var yn=[];return"value"in yr?yn=yr.value||[]:"defaultValue"in yr&&(yn=yr.defaultValue||[]),u()(!("filedNames"in yr),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),fr.state={popupVisible:yr.popupVisible,activeValue:yn,value:yn,prevProps:yr},fr.defaultFieldNames={label:"label",value:"value",children:"children"},fr}return De(Sr,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(fr){var yn=this.defaultFieldNames,Jr=this.props,Ln=Jr.fieldNames,Nt=Jr.filedNames;return"filedNames"in this.props?Nt[fr]||yn[fr]:Ln[fr]||yn[fr]}},{key:"getFieldNames",value:function(){var fr=this.props,yn=fr.fieldNames,Jr=fr.filedNames;return"filedNames"in this.props?Jr:yn}},{key:"getCurrentLevelOptions",value:function(){var fr=this,yn=this.props.options,Jr=yn===void 0?[]:yn,Ln=this.state.activeValue,Nt=Ln===void 0?[]:Ln,Ve=g()(Jr,function(_e,ke){return _e[fr.getFieldName("value")]===Nt[ke]},{childrenKeyName:this.getFieldName("children")});return Ve[Ve.length-2]?Ve[Ve.length-2][this.getFieldName("children")]:z(Jr).filter(function(_e){return!_e.disabled})}},{key:"getActiveOptions",value:function(fr){var yn=this;return g()(this.props.options||[],function(Jr,Ln){return Jr[yn.getFieldName("value")]===fr[Ln]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var fr=this.props,yn=fr.prefixCls,Jr=fr.transitionName,Ln=fr.popupClassName,Nt=fr.options,Ve=Nt===void 0?[]:Nt,_e=fr.disabled,ke=fr.builtinPlacements,Pe=fr.popupPlacement,rt=fr.children,Pt=fr.dropdownRender,Yt=W(fr,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),kt=e.createElement("div",null),_r="";Ve&&Ve.length>0?kt=e.createElement(M,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):_r=" ".concat(yn,"-menus-empty");var Rr=kt;return Pt&&(Rr=Pt(kt)),e.createElement(a.a,Object.assign({ref:this.saveTrigger},Yt,{popupPlacement:Pe,builtinPlacements:ke,popupTransitionName:Jr,action:_e?[]:["click"],popupVisible:_e?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(yn,"-menus"),popupClassName:Ln+_r,popup:Rr}),e.cloneElement(rt,{onKeyDown:this.handleKeyDown,tabIndex:_e?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(fr,yn){var Jr=yn.prevProps,Ln=Jr===void 0?{}:Jr,Nt={prevProps:fr};return"value"in fr&&!v(Ln.value,fr.value)&&(Nt.value=fr.value||[],"loadData"in fr||(Nt.activeValue=fr.value||[])),"popupVisible"in fr&&(Nt.popupVisible=fr.popupVisible),Nt}}]),Sr}(e.Component);return at.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:F,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},at}(),Q=G,ve=Q,de=d("TSYQ"),Ce=d.n(de),we=d("BGR+"),le=d("kbBi"),fe=d.n(le),xe=d("HQEm"),We=d.n(xe),nt=d("fEPi"),$e=d.n(nt),Le=d("5YOS"),pt=d.n(Le),Qe=d("DFhj"),gt=d.n(Qe),wt=d("5rEg"),Et=d("H84U"),_t=d("YMnH"),Ht=d("uaoM"),Ze=d("3Nzz"),ye=d("0n0R"),ae=function(at,Je){var qt={};for(var Sr in at)Object.prototype.hasOwnProperty.call(at,Sr)&&Je.indexOf(Sr)<0&&(qt[Sr]=at[Sr]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yr=0,Sr=Object.getOwnPropertySymbols(at);yr<Sr.length;yr++)Je.indexOf(Sr[yr])<0&&Object.prototype.propertyIsEnumerable.call(at,Sr[yr])&&(qt[Sr[yr]]=at[Sr[yr]]);return qt},yt=50;function et(at,Je,qt){return at.split(Je).map(function(Sr,yr){return yr===0?Sr:[e.createElement("span",{className:"".concat(qt,"-menu-item-keyword"),key:"seperator"},Je),Sr]})}function me(at,Je,qt){return Je.some(function(Sr){return Sr[qt.label].indexOf(at)>-1})}function Gt(at,Je,qt,Sr){return Je.map(function(yr,fr){var yn=yr[Sr.label],Jr=yn.indexOf(at)>-1?et(yn,at,qt):yn;return fr===0?Jr:[" / ",Jr]})}function rr(at,Je,qt,Sr){function yr(fr){return fr[Sr.label].indexOf(qt)>-1}return at.findIndex(yr)-Je.findIndex(yr)}function ut(at){var Je=at.fieldNames;return Je}function Xt(at){var Je=ut(at)||{},qt={children:Je.children||"children",label:Je.label||"label",value:Je.value||"value"};return qt}function ur(at,Je){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Sr=Xt(Je),yr=[],fr=Sr.children;return at.forEach(function(yn){var Jr=qt.concat(yn);(Je.changeOnSelect||!yn[fr]||!yn[fr].length)&&yr.push(Jr),yn[fr]&&(yr=yr.concat(ur(yn[fr],Je,Jr)))}),yr}var Fr=function(Je){return Je.join(" / ")};function er(at){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(at||[]).forEach(function(qt){var Sr=Je.value||"value";Object(Ht.a)(Sr in qt,"Cascader","Not found `value` in `options`."),er(qt[Je.children||"children"],Je)})}var nr=function(at){n()(qt,at);var Je=s()(qt);function qt(Sr){var yr;return m()(this,qt),yr=Je.call(this,Sr),yr.cachedOptions=[],yr.setValue=function(fr){var yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in yr.props||yr.setState({value:fr});var Jr=yr.props.onChange;Jr&&Jr(fr,yn)},yr.saveInput=function(fr){yr.input=fr},yr.handleChange=function(fr,yn){if(yr.setState({inputValue:""}),yn[0].__IS_FILTERED_OPTION){var Jr=fr[0],Ln=yn[0].path;yr.setValue(Jr,Ln);return}yr.setValue(fr,yn)},yr.handlePopupVisibleChange=function(fr){"popupVisible"in yr.props||yr.setState(function(Jr){return{popupVisible:fr,inputFocused:fr,inputValue:fr?Jr.inputValue:""}});var yn=yr.props.onPopupVisibleChange;yn&&yn(fr)},yr.handleInputBlur=function(){yr.setState({inputFocused:!1})},yr.handleInputClick=function(fr){var yn=yr.state,Jr=yn.inputFocused,Ln=yn.popupVisible;(Jr||Ln)&&fr.stopPropagation()},yr.handleKeyDown=function(fr){(fr.keyCode===h.a.BACKSPACE||fr.keyCode===h.a.SPACE)&&fr.stopPropagation()},yr.handleInputChange=function(fr){var yn=yr.state.popupVisible,Jr=fr.target.value;yn||yr.handlePopupVisibleChange(!0),yr.setState({inputValue:Jr})},yr.clearSelection=function(fr){var yn=yr.state.inputValue;fr.preventDefault(),fr.stopPropagation(),yn?yr.setState({inputValue:""}):(yr.handlePopupVisibleChange(!1),yr.clearSelectionTimeout=setTimeout(function(){yr.setValue([])},200))},yr.renderCascader=function(fr,yn){var Jr=fr.getPopupContainer,Ln=fr.getPrefixCls,Nt=fr.renderEmpty,Ve=fr.direction;return e.createElement(Ze.b.Consumer,null,function(_e){var ke,Pe,rt,Pt,Yt=r()(yr),kt=Yt.props,_r=Yt.state,Rr=kt.prefixCls,un=kt.inputPrefixCls,Ut=kt.children,ht=kt.placeholder,ot=ht===void 0?yn.placeholder||"Please select":ht,Wt=kt.size,Jt=kt.disabled,At=kt.className,Bt=kt.style,mt=kt.allowClear,Mt=kt.showSearch,hr=Mt===void 0?!1:Mt,or=kt.suffixIcon,ar=kt.expandIcon,Gr=kt.notFoundContent,Yr=kt.popupClassName,In=kt.bordered,Nn=kt.dropdownRender,Kn=ae(kt,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),$n=Wt||_e,Ii=_r.value,Mi=_r.inputFocused,Xe=Ve==="rtl",Ie=Ln("cascader",Rr),Be=Ln("input",un),Fe=Ce()((ke={},A()(ke,"".concat(Be,"-lg"),$n==="large"),A()(ke,"".concat(Be,"-sm"),$n==="small"),ke)),Ge=mt&&!Jt&&Ii.length>0||_r.inputValue?e.createElement(fe.a,{className:"".concat(Ie,"-picker-clear"),onClick:yr.clearSelection}):null,Ke=Ce()((Pe={},A()(Pe,"".concat(Ie,"-picker-arrow"),!0),A()(Pe,"".concat(Ie,"-picker-arrow-expand"),_r.popupVisible),Pe)),qe=Ce()(At,"".concat(Ie,"-picker"),(rt={},A()(rt,"".concat(Ie,"-picker-rtl"),Xe),A()(rt,"".concat(Ie,"-picker-with-value"),_r.inputValue),A()(rt,"".concat(Ie,"-picker-disabled"),Jt),A()(rt,"".concat(Ie,"-picker-").concat($n),!!$n),A()(rt,"".concat(Ie,"-picker-show-search"),!!hr),A()(rt,"".concat(Ie,"-picker-focused"),Mi),A()(rt,"".concat(Ie,"-picker-borderless"),!In),rt)),vt=Object(we.default)(Kn,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),lt=kt.options,Ft=Xt(yr.props);if(lt&&lt.length>0)_r.inputValue&&(lt=yr.generateFilteredOptions(Ie,Nt));else{var wr;lt=[(wr={},A()(wr,Ft.label,Gr||Nt("Cascader")),A()(wr,Ft.value,"ANT_CASCADER_NOT_FOUND"),wr)]}_r.popupVisible?yr.cachedOptions=lt:lt=yr.cachedOptions;var pr={},Dr=(lt||[]).length===1&&lt[0].isEmptyNode;Dr&&(pr.height="auto");var zt=hr.matchInputWidth!==!1;zt&&(_r.inputValue||Dr)&&yr.input&&(pr.width=yr.input.input.offsetWidth);var hn;or?hn=Object(ye.c)(or,e.createElement("span",{className:"".concat(Ie,"-picker-arrow")},or),function(){var ei;return{className:Ce()((ei={},A()(ei,or.props.className,or.props.className),A()(ei,"".concat(Ie,"-picker-arrow"),!0),ei))}}):hn=e.createElement(We.a,{className:Ke});var ir=Ut||e.createElement("span",{style:Bt,className:qe},e.createElement("span",{className:"".concat(Ie,"-picker-label")},yr.getLabel()),e.createElement(wt.a,x()({},vt,{tabIndex:"-1",ref:yr.saveInput,prefixCls:Be,placeholder:Ii&&Ii.length>0?void 0:ot,className:"".concat(Ie,"-input ").concat(Fe),value:_r.inputValue,disabled:Jt,readOnly:!hr,autoComplete:vt.autoComplete||"off",onClick:hr?yr.handleInputClick:void 0,onBlur:hr?yr.handleInputBlur:void 0,onKeyDown:yr.handleKeyDown,onChange:hr?yr.handleInputChange:void 0})),Ge,hn),Xr;ar?Xr=ar:Xr=Xe?e.createElement(gt.a,null):e.createElement($e.a,null);var Br=e.createElement("span",{className:"".concat(Ie,"-menu-item-loading-icon")},e.createElement(pt.a,{spin:!0})),vr=kt.getPopupContainer||Jr,Cn=Object(we.default)(kt,["inputIcon","expandIcon","loadingIcon","bordered"]),kn=Ce()(Yr,(Pt={},A()(Pt,"".concat(Ie,"-menu-").concat(Ve),Ve==="rtl"),A()(Pt,"".concat(Ie,"-menu-empty"),lt.length===1&&lt[0].value==="ANT_CASCADER_NOT_FOUND"),Pt));return e.createElement(ve,x()({},Cn,{prefixCls:Ie,getPopupContainer:vr,options:lt,value:Ii,popupVisible:_r.popupVisible,onPopupVisibleChange:yr.handlePopupVisibleChange,onChange:yr.handleChange,dropdownMenuColumnStyle:pr,expandIcon:Xr,loadingIcon:Br,popupClassName:kn,popupPlacement:yr.getPopupPlacement(Ve),dropdownRender:Nn}),ir)})},yr.state={value:Sr.value||Sr.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Sr.popupVisible,flattenOptions:Sr.showSearch?ur(Sr.options,Sr):void 0,prevProps:Sr},yr}return c()(qt,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var yr=this.props,fr=yr.options,yn=yr.displayRender,Jr=yn===void 0?Fr:yn,Ln=Xt(this.props),Nt=this.state.value,Ve=Array.isArray(Nt[0])?Nt[0]:Nt,_e=g()(fr,function(Pe,rt){return Pe[Ln.value]===Ve[rt]},{childrenKeyName:Ln.children}),ke=_e.length?_e.map(function(Pe){return Pe[Ln.label]}):Nt;return Jr(ke,_e)}},{key:"generateFilteredOptions",value:function(yr,fr){var yn=this,Jr,Ln=this.props,Nt=Ln.showSearch,Ve=Ln.notFoundContent,_e=Xt(this.props),ke=Nt.filter,Pe=ke===void 0?me:ke,rt=Nt.render,Pt=rt===void 0?Gt:rt,Yt=Nt.sort,kt=Yt===void 0?rr:Yt,_r=Nt.limit,Rr=_r===void 0?yt:_r,un=this.state,Ut=un.flattenOptions,ht=Ut===void 0?[]:Ut,ot=un.inputValue,Wt;if(Rr>0){Wt=[];var Jt=0;ht.some(function(At){var Bt=Pe(yn.state.inputValue,At,_e);return Bt&&(Wt.push(At),Jt+=1),Jt>=Rr})}else Object(Ht.a)(typeof Rr!="number","Cascader","'limit' of showSearch should be positive number or false."),Wt=ht.filter(function(At){return Pe(yn.state.inputValue,At,_e)});return Wt=Wt.sort(function(At,Bt){return kt(At,Bt,ot,_e)}),Wt.length>0?Wt.map(function(At){var Bt;return Bt={__IS_FILTERED_OPTION:!0,path:At},A()(Bt,_e.value,At.map(function(mt){return mt[_e.value]})),A()(Bt,_e.label,Pt(ot,At,yr,_e)),A()(Bt,"disabled",At.some(function(mt){return!!mt.disabled})),A()(Bt,"isEmptyNode",!0),Bt}):[(Jr={},A()(Jr,_e.value,"ANT_CASCADER_NOT_FOUND"),A()(Jr,_e.label,Ve||fr("Cascader")),A()(Jr,"disabled",!0),A()(Jr,"isEmptyNode",!0),Jr)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",fr=this.props.popupPlacement;return fr!==void 0?fr:yr==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var yr=this;return e.createElement(Et.a,null,function(fr){return e.createElement(_t.a,null,function(yn){return yr.renderCascader(fr,yn)})})}}],[{key:"getDerivedStateFromProps",value:function(yr,fr){var yn=fr.prevProps,Jr={prevProps:yr};return"value"in yr&&(Jr.value=yr.value||[]),"popupVisible"in yr&&(Jr.popupVisible=yr.popupVisible),yr.showSearch&&yn.options!==yr.options&&(Jr.flattenOptions=ur(yr.options,yr)),Jr}}]),qt}(e.Component);nr.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Lt=k.a=nr},DFhj:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("GGyF"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},DL4k:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},DN4a:function(H,k,d){var _=d("Fofx"),x=d("QBsz"),C=_.identity,A=5e-5;function b(n){return n>A||n<-A}var m=function(t){t=t||{},t.position||(this.position=[0,0]),t.rotation==null&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},p=m.prototype;p.transform=null,p.needLocalTransform=function(){return b(this.rotation)||b(this.position[0])||b(this.position[1])||b(this.scale[0]-1)||b(this.scale[1]-1)};var c=[];p.updateTransform=function(){var n=this.parent,t=n&&n.transform,s=this.needLocalTransform(),e=this.transform;if(!(s||t)){e&&C(e);return}e=e||_.create(),s?this.getLocalTransform(e):C(e),t&&(s?_.mul(e,n.transform,e):_.copy(e,n.transform)),this.transform=e;var a=this.globalScaleRatio;if(a!=null&&a!==1){this.getGlobalScale(c);var l=c[0]<0?-1:1,u=c[1]<0?-1:1,h=((c[0]-l)*a+l)/c[0]||0,f=((c[1]-u)*a+u)/c[1]||0;e[0]*=h,e[1]*=h,e[2]*=f,e[3]*=f}this.invTransform=this.invTransform||_.create(),_.invert(this.invTransform,e)},p.getLocalTransform=function(n){return m.getLocalTransform(this,n)},p.setTransform=function(n){var t=this.transform,s=n.dpr||1;t?n.setTransform(s*t[0],s*t[1],s*t[2],s*t[3],s*t[4],s*t[5]):n.setTransform(s,0,0,s,0,0)},p.restoreTransform=function(n){var t=n.dpr||1;n.setTransform(t,0,0,t,0,0)};var o=[],r=_.create();p.setLocalTransform=function(n){if(!n)return;var t=n[0]*n[0]+n[1]*n[1],s=n[2]*n[2]+n[3]*n[3],e=this.position,a=this.scale;b(t-1)&&(t=Math.sqrt(t)),b(s-1)&&(s=Math.sqrt(s)),n[0]<0&&(t=-t),n[3]<0&&(s=-s),e[0]=n[4],e[1]=n[5],a[0]=t,a[1]=s,this.rotation=Math.atan2(-n[1]/s,n[0]/t)},p.decomposeTransform=function(){if(!this.transform)return;var n=this.parent,t=this.transform;n&&n.transform&&(_.mul(o,n.invTransform,t),t=o);var s=this.origin;s&&(s[0]||s[1])&&(r[4]=s[0],r[5]=s[1],_.mul(o,t,r),o[4]-=s[0],o[5]-=s[1],t=o),this.setLocalTransform(t)},p.getGlobalScale=function(n){var t=this.transform;return n=n||[],t?(n[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),n[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(n[0]=-n[0]),t[3]<0&&(n[1]=-n[1]),n):(n[0]=1,n[1]=1,n)},p.transformCoordToLocal=function(n,t){var s=[n,t],e=this.invTransform;return e&&x.applyTransform(s,s,e),s},p.transformCoordToGlobal=function(n,t){var s=[n,t],e=this.transform;return e&&x.applyTransform(s,s,e),s},m.getLocalTransform=function(n,t){t=t||[],C(t);var s=n.origin,e=n.scale||[1,1],a=n.rotation||0,l=n.position||[0,0];return s&&(t[4]-=s[0],t[5]-=s[1]),_.scale(t,t,e),a&&_.rotate(t,t,a),s&&(t[4]+=s[0],t[5]+=s[1]),t[4]+=l[0],t[5]+=l[1],t};var i=m;H.exports=i},DO2E:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},DYRE:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("OPEp"),A=d.n(C)},DZo9:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("JGo8"),A=d.n(C),b=d("+L6B"),m=d("MXD1"),p=d("5Dmo")},Dagg:function(H,k,d){var _=d("Gev7"),x=d("mFDi"),C=d("bYtY"),A=d("Xnb7");function b(p){_.call(this,p)}b.prototype={constructor:b,type:"image",brush:function(c,o){var r=this.style,i=r.image;r.bind(c,this,o);var n=this._image=A.createOrUpdateImage(i,this._image,this,this.onload);if(!n||!A.isImageReady(n))return;var t=r.x||0,s=r.y||0,e=r.width,a=r.height,l=n.width/n.height;if(e==null&&a!=null?e=a*l:a==null&&e!=null?a=e/l:e==null&&a==null&&(e=n.width,a=n.height),this.setTransform(c),r.sWidth&&r.sHeight){var u=r.sx||0,h=r.sy||0;c.drawImage(n,u,h,r.sWidth,r.sHeight,t,s,e,a)}else if(r.sx&&r.sy){var u=r.sx,h=r.sy,f=e-u,g=a-h;c.drawImage(n,u,h,f,g,t,s,e,a)}else c.drawImage(n,t,s,e,a);r.text!=null&&(this.restoreTransform(c),this.drawRectText(c,this.getBoundingRect()))},getBoundingRect:function(){var c=this.style;return this._rect||(this._rect=new x(c.x||0,c.y||0,c.width||0,c.height||0)),this._rect}},C.inherits(b,_);var m=b;H.exports=m},Dg8C:function(H,k,d){var _=d("XxSj"),x=d("bYtY");function C(A,b){A.eachSeriesByType("sankey",function(m){var p=m.getGraph(),c=p.nodes;if(c.length){var o=Infinity,r=-Infinity;x.each(c,function(i){var n=i.getLayout().value;n<o&&(o=n),n>r&&(r=n)}),x.each(c,function(i){var n=new _({type:"color",mappingMethod:"linear",dataExtent:[o,r],visual:m.get("color")}),t=n.mapValueToVisual(i.getLayout().value),s=i.getModel().get("itemStyle.color");s!=null?i.setVisual("color",s):i.setVisual("color",t)})}})}H.exports=C},DjyN:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("Urep"),A=d.n(C),b=d("OaEy")},DlQD:function(H,k,d){(function(_,x){H.exports=x()})(this,function(){"use strict";function _(Et,_t){for(var Ht=0;Ht<_t.length;Ht++){var Ze=_t[Ht];Ze.enumerable=Ze.enumerable||!1,Ze.configurable=!0,"value"in Ze&&(Ze.writable=!0),Object.defineProperty(Et,Ze.key,Ze)}}function x(Et,_t,Ht){return _t&&_(Et.prototype,_t),Ht&&_(Et,Ht),Et}function C(Et,_t){if(!Et)return;if(typeof Et=="string")return A(Et,_t);var Ht=Object.prototype.toString.call(Et).slice(8,-1);if(Ht==="Object"&&Et.constructor&&(Ht=Et.constructor.name),Ht==="Map"||Ht==="Set")return Array.from(Et);if(Ht==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ht))return A(Et,_t)}function A(Et,_t){(_t==null||_t>Et.length)&&(_t=Et.length);for(var Ht=0,Ze=new Array(_t);Ht<_t;Ht++)Ze[Ht]=Et[Ht];return Ze}function b(Et,_t){var Ht;if(typeof Symbol=="undefined"||Et[Symbol.iterator]==null){if(Array.isArray(Et)||(Ht=C(Et))||_t&&Et&&typeof Et.length=="number"){Ht&&(Et=Ht);var Ze=0;return function(){return Ze>=Et.length?{done:!0}:{done:!1,value:Et[Ze++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ht=Et[Symbol.iterator](),Ht.next.bind(Ht)}function m(Et,_t){return _t={exports:{}},Et(_t,_t.exports),_t.exports}var p=m(function(Et){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 Ht(Ze){Et.exports.defaults=Ze}Et.exports={defaults:_t(),getDefaults:_t,changeDefaults:Ht}}),c=p.defaults,o=p.getDefaults,r=p.changeDefaults,i=/[&<>"']/,n=/[&<>"']/g,t=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},a=function(_t){return e[_t]};function l(Et,_t){if(_t){if(i.test(Et))return Et.replace(n,a)}else if(t.test(Et))return Et.replace(s,a);return Et}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(Et){return Et.replace(u,function(_t,Ht){return Ht=Ht.toLowerCase(),Ht==="colon"?":":Ht.charAt(0)==="#"?Ht.charAt(1)==="x"?String.fromCharCode(parseInt(Ht.substring(2),16)):String.fromCharCode(+Ht.substring(1)):""})}var f=/(^|[^\[])\^/g;function g(Et,_t){Et=Et.source||Et,_t=_t||"";var Ht={replace:function(ye,ae){return ae=ae.source||ae,ae=ae.replace(f,"$1"),Et=Et.replace(ye,ae),Ht},getRegex:function(){return new RegExp(Et,_t)}};return Ht}var v=/[^\w:]/g,y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function E(Et,_t,Ht){if(Et){var Ze;try{Ze=decodeURIComponent(h(Ht)).replace(v,"").toLowerCase()}catch(ye){return null}if(Ze.indexOf("javascript:")===0||Ze.indexOf("vbscript:")===0||Ze.indexOf("data:")===0)return null}_t&&!y.test(Ht)&&(Ht=L(_t,Ht));try{Ht=encodeURI(Ht).replace(/%25/g,"%")}catch(ye){return null}return Ht}var T={},w=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(Et,_t){T[" "+Et]||(w.test(Et)?T[" "+Et]=Et+"/":T[" "+Et]=D(Et,"/",!0)),Et=T[" "+Et];var Ht=Et.indexOf(":")===-1;return _t.substring(0,2)==="//"?Ht?_t:Et.replace(S,"$1")+_t:_t.charAt(0)==="/"?Ht?_t:Et.replace(I,"$1")+_t:Et+_t}var O={exec:function(){}};function N(Et){for(var _t=1,Ht,Ze;_t<arguments.length;_t++){Ht=arguments[_t];for(Ze in Ht)Object.prototype.hasOwnProperty.call(Ht,Ze)&&(Et[Ze]=Ht[Ze])}return Et}function R(Et,_t){var Ht=Et.replace(/\|/g,function(ae,yt,et){for(var me=!1,Gt=yt;--Gt>=0&&et[Gt]==="\\";)me=!me;return me?"|":" |"}),Ze=Ht.split(/ \|/),ye=0;if(Ze.length>_t)Ze.splice(_t);else for(;Ze.length<_t;)Ze.push("");for(;ye<Ze.length;ye++)Ze[ye]=Ze[ye].trim().replace(/\\\|/g,"|");return Ze}function D(Et,_t,Ht){var Ze=Et.length;if(Ze===0)return"";for(var ye=0;ye<Ze;){var ae=Et.charAt(Ze-ye-1);if(ae===_t&&!Ht)ye++;else if(ae!==_t&&Ht)ye++;else break}return Et.substr(0,Ze-ye)}function B(Et,_t){if(Et.indexOf(_t[1])===-1)return-1;for(var Ht=Et.length,Ze=0,ye=0;ye<Ht;ye++)if(Et[ye]==="\\")ye++;else if(Et[ye]===_t[0])Ze++;else if(Et[ye]===_t[1]&&(Ze--,Ze<0))return ye;return-1}function M(Et){Et&&Et.sanitize&&!Et.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var U={escape:l,unescape:h,edit:g,cleanUrl:E,resolveUrl:L,noopTest:O,merge:N,splitCells:R,rtrim:D,findClosingBracket:B,checkSanitizeDeprecation:M},F=p.defaults,j=U.rtrim,W=U.splitCells,V=U.escape,z=U.findClosingBracket;function Y(Et,_t,Ht){var Ze=_t.href,ye=_t.title?V(_t.title):null,ae=Et[1].replace(/\\([\[\]])/g,"$1");return Et[0].charAt(0)!=="!"?{type:"link",raw:Ht,href:Ze,title:ye,text:ae}:{type:"image",raw:Ht,href:Ze,title:ye,text:V(ae)}}function J(Et,_t){var Ht=Et.match(/^(\s+)(?:```)/);if(Ht===null)return _t;var Ze=Ht[1];return _t.split(`
`).map(function(ye){var ae=ye.match(/^\s+/);if(ae===null)return ye;var yt=ae[0];return yt.length>=Ze.length?ye.slice(Ze.length):ye}).join(`
`)}var ie=function(){function Et(Ht){this.options=Ht||F}var _t=Et.prototype;return _t.space=function(Ze){var ye=this.rules.block.newline.exec(Ze);if(ye)return ye[0].length>1?{type:"space",raw:ye[0]}:{raw:`
`}},_t.code=function(Ze,ye){var ae=this.rules.block.code.exec(Ze);if(ae){var yt=ye[ye.length-1];if(yt&&yt.type==="paragraph")return{raw:ae[0],text:ae[0].trimRight()};var et=ae[0].replace(/^ {4}/gm,"");return{type:"code",raw:ae[0],codeBlockStyle:"indented",text:this.options.pedantic?et:j(et,`
`)}}},_t.fences=function(Ze){var ye=this.rules.block.fences.exec(Ze);if(ye){var ae=ye[0],yt=J(ae,ye[3]||"");return{type:"code",raw:ae,lang:ye[2]?ye[2].trim():ye[2],text:yt}}},_t.heading=function(Ze){var ye=this.rules.block.heading.exec(Ze);if(ye)return{type:"heading",raw:ye[0],depth:ye[1].length,text:ye[2]}},_t.nptable=function(Ze){var ye=this.rules.block.nptable.exec(Ze);if(ye){var ae={type:"table",header:W(ye[1].replace(/^ *| *\| *$/g,"")),align:ye[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ye[3]?ye[3].replace(/\n$/,"").split(`
`):[],raw:ye[0]};if(ae.header.length===ae.align.length){var yt=ae.align.length,et;for(et=0;et<yt;et++)/^ *-+: *$/.test(ae.align[et])?ae.align[et]="right":/^ *:-+: *$/.test(ae.align[et])?ae.align[et]="center":/^ *:-+ *$/.test(ae.align[et])?ae.align[et]="left":ae.align[et]=null;for(yt=ae.cells.length,et=0;et<yt;et++)ae.cells[et]=W(ae.cells[et],ae.header.length);return ae}}},_t.hr=function(Ze){var ye=this.rules.block.hr.exec(Ze);if(ye)return{type:"hr",raw:ye[0]}},_t.blockquote=function(Ze){var ye=this.rules.block.blockquote.exec(Ze);if(ye){var ae=ye[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:ye[0],text:ae}}},_t.list=function(Ze){var ye=this.rules.block.list.exec(Ze);if(ye){for(var ae=ye[0],yt=ye[2],et=yt.length>1,me=yt[yt.length-1]===")",Gt={type:"list",raw:ae,ordered:et,start:et?+yt.slice(0,-1):"",loose:!1,items:[]},rr=ye[0].match(this.rules.block.item),ut=!1,Xt,ur,Fr,er,nr,Lt,at,Je=rr.length,qt=0;qt<Je;qt++)Xt=rr[qt],ae=Xt,ur=Xt.length,Xt=Xt.replace(/^ *([*+-]|\d+[.)]) */,""),~Xt.indexOf(`
`)&&(ur-=Xt.length,Xt=this.options.pedantic?Xt.replace(/^ {1,4}/gm,""):Xt.replace(new RegExp("^ {1,"+ur+"}","gm"),"")),qt!==Je-1&&(Fr=this.rules.block.bullet.exec(rr[qt+1])[0],(et?Fr.length===1||!me&&Fr[Fr.length-1]===")":Fr.length>1||this.options.smartLists&&Fr!==yt)&&(er=rr.slice(qt+1).join(`
`),Gt.raw=Gt.raw.substring(0,Gt.raw.length-er.length),qt=Je-1)),nr=ut||/\n\n(?!\s*$)/.test(Xt),qt!==Je-1&&(ut=Xt.charAt(Xt.length-1)===`
`,nr||(nr=ut)),nr&&(Gt.loose=!0),Lt=/^\[[ xX]\] /.test(Xt),at=void 0,Lt&&(at=Xt[1]!==" ",Xt=Xt.replace(/^\[[ xX]\] +/,"")),Gt.items.push({type:"list_item",raw:ae,task:Lt,checked:at,loose:nr,text:Xt});return Gt}},_t.html=function(Ze){var ye=this.rules.block.html.exec(Ze);if(ye)return{type:this.options.sanitize?"paragraph":"html",raw:ye[0],pre:!this.options.sanitizer&&(ye[1]==="pre"||ye[1]==="script"||ye[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ye[0]):V(ye[0]):ye[0]}},_t.def=function(Ze){var ye=this.rules.block.def.exec(Ze);if(ye){ye[3]&&(ye[3]=ye[3].substring(1,ye[3].length-1));var ae=ye[1].toLowerCase().replace(/\s+/g," ");return{tag:ae,raw:ye[0],href:ye[2],title:ye[3]}}},_t.table=function(Ze){var ye=this.rules.block.table.exec(Ze);if(ye){var ae={type:"table",header:W(ye[1].replace(/^ *| *\| *$/g,"")),align:ye[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ye[3]?ye[3].replace(/\n$/,"").split(`
`):[]};if(ae.header.length===ae.align.length){ae.raw=ye[0];var yt=ae.align.length,et;for(et=0;et<yt;et++)/^ *-+: *$/.test(ae.align[et])?ae.align[et]="right":/^ *:-+: *$/.test(ae.align[et])?ae.align[et]="center":/^ *:-+ *$/.test(ae.align[et])?ae.align[et]="left":ae.align[et]=null;for(yt=ae.cells.length,et=0;et<yt;et++)ae.cells[et]=W(ae.cells[et].replace(/^ *\| *| *\| *$/g,""),ae.header.length);return ae}}},_t.lheading=function(Ze){var ye=this.rules.block.lheading.exec(Ze);if(ye)return{type:"heading",raw:ye[0],depth:ye[2].charAt(0)==="="?1:2,text:ye[1]}},_t.paragraph=function(Ze){var ye=this.rules.block.paragraph.exec(Ze);if(ye)return{type:"paragraph",raw:ye[0],text:ye[1].charAt(ye[1].length-1)===`
`?ye[1].slice(0,-1):ye[1]}},_t.text=function(Ze,ye){var ae=this.rules.block.text.exec(Ze);if(ae){var yt=ye[ye.length-1];return yt&&yt.type==="text"?{raw:ae[0],text:ae[0]}:{type:"text",raw:ae[0],text:ae[0]}}},_t.escape=function(Ze){var ye=this.rules.inline.escape.exec(Ze);if(ye)return{type:"escape",raw:ye[0],text:V(ye[1])}},_t.tag=function(Ze,ye,ae){var yt=this.rules.inline.tag.exec(Ze);if(yt)return!ye&&/^<a /i.test(yt[0])?ye=!0:ye&&/^<\/a>/i.test(yt[0])&&(ye=!1),!ae&&/^<(pre|code|kbd|script)(\s|>)/i.test(yt[0])?ae=!0:ae&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(yt[0])&&(ae=!1),{type:this.options.sanitize?"text":"html",raw:yt[0],inLink:ye,inRawBlock:ae,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(yt[0]):V(yt[0]):yt[0]}},_t.link=function(Ze){var ye=this.rules.inline.link.exec(Ze);if(ye){var ae=z(ye[2],"()");if(ae>-1){var yt=ye[0].indexOf("!")===0?5:4,et=yt+ye[1].length+ae;ye[2]=ye[2].substring(0,ae),ye[0]=ye[0].substring(0,et).trim(),ye[3]=""}var me=ye[2],Gt="";if(this.options.pedantic){var rr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(me);rr?(me=rr[1],Gt=rr[3]):Gt=""}else Gt=ye[3]?ye[3].slice(1,-1):"";me=me.trim().replace(/^<([\s\S]*)>$/,"$1");var ut=Y(ye,{href:me&&me.replace(this.rules.inline._escapes,"$1"),title:Gt&&Gt.replace(this.rules.inline._escapes,"$1")},ye[0]);return ut}},_t.reflink=function(Ze,ye){var ae;if((ae=this.rules.inline.reflink.exec(Ze))||(ae=this.rules.inline.nolink.exec(Ze))){var yt=(ae[2]||ae[1]).replace(/\s+/g," ");if(yt=ye[yt.toLowerCase()],!yt||!yt.href){var et=ae[0].charAt(0);return{type:"text",raw:et,text:et}}var me=Y(ae,yt,ae[0]);return me}},_t.strong=function(Ze,ye,ae){ae===void 0&&(ae="");var yt=this.rules.inline.strong.start.exec(Ze);if(yt&&(!yt[1]||yt[1]&&(ae===""||this.rules.inline.punctuation.exec(ae)))){ye=ye.slice(-1*Ze.length);var et=yt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;et.lastIndex=0;for(var me;(yt=et.exec(ye))!=null;)if(me=this.rules.inline.strong.middle.exec(ye.slice(0,yt.index+3)),me)return{type:"strong",raw:Ze.slice(0,me[0].length),text:Ze.slice(2,me[0].length-2)}}},_t.em=function(Ze,ye,ae){ae===void 0&&(ae="");var yt=this.rules.inline.em.start.exec(Ze);if(yt&&(!yt[1]||yt[1]&&(ae===""||this.rules.inline.punctuation.exec(ae)))){ye=ye.slice(-1*Ze.length);var et=yt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;et.lastIndex=0;for(var me;(yt=et.exec(ye))!=null;)if(me=this.rules.inline.em.middle.exec(ye.slice(0,yt.index+2)),me)return{type:"em",raw:Ze.slice(0,me[0].length),text:Ze.slice(1,me[0].length-1)}}},_t.codespan=function(Ze){var ye=this.rules.inline.code.exec(Ze);if(ye){var ae=ye[2].replace(/\n/g," "),yt=/[^ ]/.test(ae),et=ae.startsWith(" ")&&ae.endsWith(" ");return yt&&et&&(ae=ae.substring(1,ae.length-1)),ae=V(ae,!0),{type:"codespan",raw:ye[0],text:ae}}},_t.br=function(Ze){var ye=this.rules.inline.br.exec(Ze);if(ye)return{type:"br",raw:ye[0]}},_t.del=function(Ze){var ye=this.rules.inline.del.exec(Ze);if(ye)return{type:"del",raw:ye[0],text:ye[1]}},_t.autolink=function(Ze,ye){var ae=this.rules.inline.autolink.exec(Ze);if(ae){var yt,et;return ae[2]==="@"?(yt=V(this.options.mangle?ye(ae[1]):ae[1]),et="mailto:"+yt):(yt=V(ae[1]),et=yt),{type:"link",raw:ae[0],text:yt,href:et,tokens:[{type:"text",raw:yt,text:yt}]}}},_t.url=function(Ze,ye){var ae;if(ae=this.rules.inline.url.exec(Ze)){var yt,et;if(ae[2]==="@")yt=V(this.options.mangle?ye(ae[0]):ae[0]),et="mailto:"+yt;else{var me;do me=ae[0],ae[0]=this.rules.inline._backpedal.exec(ae[0])[0];while(me!==ae[0]);yt=V(ae[0]),ae[1]==="www."?et="http://"+yt:et=yt}return{type:"link",raw:ae[0],text:yt,href:et,tokens:[{type:"text",raw:yt,text:yt}]}}},_t.inlineText=function(Ze,ye,ae){var yt=this.rules.inline.text.exec(Ze);if(yt){var et;return ye?et=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(yt[0]):V(yt[0]):yt[0]:et=V(this.options.smartypants?ae(yt[0]):yt[0]),{type:"text",raw:yt[0],text:et}}},Et}(),Z=U.noopTest,oe=U.edit,ge=U.merge,pe={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:Z,table:Z,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};pe._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,pe._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,pe.def=oe(pe.def).replace("label",pe._label).replace("title",pe._title).getRegex(),pe.bullet=/(?:[*+-]|\d{1,9}[.)])/,pe.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,pe.item=oe(pe.item,"gm").replace(/bull/g,pe.bullet).getRegex(),pe.list=oe(pe.list).replace(/bull/g,pe.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+pe.def.source+")").getRegex(),pe._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",pe._comment=/<!--(?!-?>)[\s\S]*?-->/,pe.html=oe(pe.html,"i").replace("comment",pe._comment).replace("tag",pe._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pe.paragraph=oe(pe._paragraph).replace("hr",pe.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",pe._tag).getRegex(),pe.blockquote=oe(pe.blockquote).replace("paragraph",pe.paragraph).getRegex(),pe.normal=ge({},pe),pe.gfm=ge({},pe.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*|$)"}),pe.gfm.nptable=oe(pe.gfm.nptable).replace("hr",pe.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",pe._tag).getRegex(),pe.gfm.table=oe(pe.gfm.table).replace("hr",pe.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",pe._tag).getRegex(),pe.pedantic=ge({},pe.normal,{html:oe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",pe._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:Z,paragraph:oe(pe.normal._paragraph).replace("hr",pe.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",pe.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var De={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Z,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:Z,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};De._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",De.punctuation=oe(De.punctuation).replace(/punctuation/g,De._punctuation).getRegex(),De._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",De._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",De.em.start=oe(De.em.start).replace(/punctuation/g,De._punctuation).getRegex(),De.em.middle=oe(De.em.middle).replace(/punctuation/g,De._punctuation).replace(/overlapSkip/g,De._overlapSkip).getRegex(),De.em.endAst=oe(De.em.endAst,"g").replace(/punctuation/g,De._punctuation).getRegex(),De.em.endUnd=oe(De.em.endUnd,"g").replace(/punctuation/g,De._punctuation).getRegex(),De.strong.start=oe(De.strong.start).replace(/punctuation/g,De._punctuation).getRegex(),De.strong.middle=oe(De.strong.middle).replace(/punctuation/g,De._punctuation).replace(/blockSkip/g,De._blockSkip).getRegex(),De.strong.endAst=oe(De.strong.endAst,"g").replace(/punctuation/g,De._punctuation).getRegex(),De.strong.endUnd=oe(De.strong.endUnd,"g").replace(/punctuation/g,De._punctuation).getRegex(),De.blockSkip=oe(De._blockSkip,"g").getRegex(),De.overlapSkip=oe(De._overlapSkip,"g").getRegex(),De._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,De._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,De._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])?)+(?![-_])/,De.autolink=oe(De.autolink).replace("scheme",De._scheme).replace("email",De._email).getRegex(),De._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,De.tag=oe(De.tag).replace("comment",pe._comment).replace("attribute",De._attribute).getRegex(),De._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,De._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,De._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,De.link=oe(De.link).replace("label",De._label).replace("href",De._href).replace("title",De._title).getRegex(),De.reflink=oe(De.reflink).replace("label",De._label).getRegex(),De.reflinkSearch=oe(De.reflinkSearch,"g").replace("reflink",De.reflink).replace("nolink",De.nolink).getRegex(),De.normal=ge({},De),De.pedantic=ge({},De.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:oe(/^!?\[(label)\]\((.*?)\)/).replace("label",De._label).getRegex(),reflink:oe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",De._label).getRegex()}),De.gfm=ge({},De.normal,{escape:oe(De.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),De.gfm.url=oe(De.gfm.url,"i").replace("email",De.gfm._extended_email).getRegex(),De.breaks=ge({},De.gfm,{br:oe(De.br).replace("{2,}","*").getRegex(),text:oe(De.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var ce={block:pe,inline:De},Oe=p.defaults,se=ce.block,$=ce.inline;function ze(Et){return Et.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function re(Et){var _t="",Ht,Ze,ye=Et.length;for(Ht=0;Ht<ye;Ht++)Ze=Et.charCodeAt(Ht),Math.random()>.5&&(Ze="x"+Ze.toString(16)),_t+="&#"+Ze+";";return _t}var X=function(){function Et(Ht){this.tokens=[],this.tokens.links=Object.create(null),this.options=Ht||Oe,this.options.tokenizer=this.options.tokenizer||new ie,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ze={block:se.normal,inline:$.normal};this.options.pedantic?(Ze.block=se.pedantic,Ze.inline=$.pedantic):this.options.gfm&&(Ze.block=se.gfm,this.options.breaks?Ze.inline=$.breaks:Ze.inline=$.gfm),this.tokenizer.rules=Ze}Et.lex=function(Ze,ye){var ae=new Et(ye);return ae.lex(Ze)};var _t=Et.prototype;return _t.lex=function(Ze){return Ze=Ze.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(Ze,this.tokens,!0),this.inline(this.tokens),this.tokens},_t.blockTokens=function(Ze,ye,ae){ye===void 0&&(ye=[]),ae===void 0&&(ae=!0),Ze=Ze.replace(/^ +$/gm,"");for(var yt,et,me,Gt;Ze;){if(yt=this.tokenizer.space(Ze)){Ze=Ze.substring(yt.raw.length),yt.type&&ye.push(yt);continue}if(yt=this.tokenizer.code(Ze,ye)){Ze=Ze.substring(yt.raw.length),yt.type?ye.push(yt):(Gt=ye[ye.length-1],Gt.raw+=`
`+yt.raw,Gt.text+=`
`+yt.text);continue}if(yt=this.tokenizer.fences(Ze)){Ze=Ze.substring(yt.raw.length),ye.push(yt);continue}if(yt=this.tokenizer.heading(Ze)){Ze=Ze.substring(yt.raw.length),ye.push(yt);continue}if(yt=this.tokenizer.nptable(Ze)){Ze=Ze.substring(yt.raw.length),ye.push(yt);continue}if(yt=this.tokenizer.hr(Ze)){Ze=Ze.substring(yt.raw.length),ye.push(yt);continue}if(yt=this.tokenizer.blockquote(Ze)){Ze=Ze.substring(yt.raw.length),yt.tokens=this.blockTokens(yt.text,[],ae),ye.push(yt);continue}if(yt=this.tokenizer.list(Ze)){for(Ze=Ze.substring(yt.raw.length),me=yt.items.length,et=0;et<me;et++)yt.items[et].tokens=this.blockTokens(yt.items[et].text,[],!1);ye.push(yt);continue}if(yt=this.tokenizer.html(Ze)){Ze=Ze.substring(yt.raw.length),ye.push(yt);continue}if(ae&&(yt=this.tokenizer.def(Ze))){Ze=Ze.substring(yt.raw.length),this.tokens.links[yt.tag]||(this.tokens.links[yt.tag]={href:yt.href,title:yt.title});continue}if(yt=this.tokenizer.table(Ze)){Ze=Ze.substring(yt.raw.length),ye.push(yt);continue}if(yt=this.tokenizer.lheading(Ze)){Ze=Ze.substring(yt.raw.length),ye.push(yt);continue}if(ae&&(yt=this.tokenizer.paragraph(Ze))){Ze=Ze.substring(yt.raw.length),ye.push(yt);continue}if(yt=this.tokenizer.text(Ze,ye)){Ze=Ze.substring(yt.raw.length),yt.type?ye.push(yt):(Gt=ye[ye.length-1],Gt.raw+=`
`+yt.raw,Gt.text+=`
`+yt.text);continue}if(Ze){var rr="Infinite loop on byte: "+Ze.charCodeAt(0);if(this.options.silent){console.error(rr);break}else throw new Error(rr)}}return ye},_t.inline=function(Ze){var ye,ae,yt,et,me,Gt,rr=Ze.length;for(ye=0;ye<rr;ye++){Gt=Ze[ye];switch(Gt.type){case"paragraph":case"text":case"heading":{Gt.tokens=[],this.inlineTokens(Gt.text,Gt.tokens);break}case"table":{for(Gt.tokens={header:[],cells:[]},et=Gt.header.length,ae=0;ae<et;ae++)Gt.tokens.header[ae]=[],this.inlineTokens(Gt.header[ae],Gt.tokens.header[ae]);for(et=Gt.cells.length,ae=0;ae<et;ae++)for(me=Gt.cells[ae],Gt.tokens.cells[ae]=[],yt=0;yt<me.length;yt++)Gt.tokens.cells[ae][yt]=[],this.inlineTokens(me[yt],Gt.tokens.cells[ae][yt]);break}case"blockquote":{this.inline(Gt.tokens);break}case"list":{for(et=Gt.items.length,ae=0;ae<et;ae++)this.inline(Gt.items[ae].tokens);break}}}return Ze},_t.inlineTokens=function(Ze,ye,ae,yt,et){ye===void 0&&(ye=[]),ae===void 0&&(ae=!1),yt===void 0&&(yt=!1),et===void 0&&(et="");var me,Gt=Ze,rr;if(this.tokens.links){var ut=Object.keys(this.tokens.links);if(ut.length>0)for(;(rr=this.tokenizer.rules.inline.reflinkSearch.exec(Gt))!=null;)ut.includes(rr[0].slice(rr[0].lastIndexOf("[")+1,-1))&&(Gt=Gt.slice(0,rr.index)+"["+"a".repeat(rr[0].length-2)+"]"+Gt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(rr=this.tokenizer.rules.inline.blockSkip.exec(Gt))!=null;)Gt=Gt.slice(0,rr.index)+"["+"a".repeat(rr[0].length-2)+"]"+Gt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ze;){if(me=this.tokenizer.escape(Ze)){Ze=Ze.substring(me.raw.length),ye.push(me);continue}if(me=this.tokenizer.tag(Ze,ae,yt)){Ze=Ze.substring(me.raw.length),ae=me.inLink,yt=me.inRawBlock,ye.push(me);continue}if(me=this.tokenizer.link(Ze)){Ze=Ze.substring(me.raw.length),me.type==="link"&&(me.tokens=this.inlineTokens(me.text,[],!0,yt)),ye.push(me);continue}if(me=this.tokenizer.reflink(Ze,this.tokens.links)){Ze=Ze.substring(me.raw.length),me.type==="link"&&(me.tokens=this.inlineTokens(me.text,[],!0,yt)),ye.push(me);continue}if(me=this.tokenizer.strong(Ze,Gt,et)){Ze=Ze.substring(me.raw.length),me.tokens=this.inlineTokens(me.text,[],ae,yt),ye.push(me);continue}if(me=this.tokenizer.em(Ze,Gt,et)){Ze=Ze.substring(me.raw.length),me.tokens=this.inlineTokens(me.text,[],ae,yt),ye.push(me);continue}if(me=this.tokenizer.codespan(Ze)){Ze=Ze.substring(me.raw.length),ye.push(me);continue}if(me=this.tokenizer.br(Ze)){Ze=Ze.substring(me.raw.length),ye.push(me);continue}if(me=this.tokenizer.del(Ze)){Ze=Ze.substring(me.raw.length),me.tokens=this.inlineTokens(me.text,[],ae,yt),ye.push(me);continue}if(me=this.tokenizer.autolink(Ze,re)){Ze=Ze.substring(me.raw.length),ye.push(me);continue}if(!ae&&(me=this.tokenizer.url(Ze,re))){Ze=Ze.substring(me.raw.length),ye.push(me);continue}if(me=this.tokenizer.inlineText(Ze,yt,ze)){Ze=Ze.substring(me.raw.length),et=me.raw.slice(-1),ye.push(me);continue}if(Ze){var Xt="Infinite loop on byte: "+Ze.charCodeAt(0);if(this.options.silent){console.error(Xt);break}else throw new Error(Xt)}}return ye},x(Et,null,[{key:"rules",get:function(){return{block:se,inline:$}}}]),Et}(),G=p.defaults,Q=U.cleanUrl,ve=U.escape,de=function(){function Et(Ht){this.options=Ht||G}var _t=Et.prototype;return _t.code=function(Ze,ye,ae){var yt=(ye||"").match(/\S*/)[0];if(this.options.highlight){var et=this.options.highlight(Ze,yt);et!=null&&et!==Ze&&(ae=!0,Ze=et)}return yt?'<pre><code class="'+this.options.langPrefix+ve(yt,!0)+'">'+(ae?Ze:ve(Ze,!0))+`</code></pre>
`:"<pre><code>"+(ae?Ze:ve(Ze,!0))+`</code></pre>
`},_t.blockquote=function(Ze){return`<blockquote>
`+Ze+`</blockquote>
`},_t.html=function(Ze){return Ze},_t.heading=function(Ze,ye,ae,yt){return this.options.headerIds?"<h"+ye+' id="'+this.options.headerPrefix+yt.slug(ae)+'">'+Ze+"</h"+ye+`>
`:"<h"+ye+">"+Ze+"</h"+ye+`>
`},_t.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},_t.list=function(Ze,ye,ae){var yt=ye?"ol":"ul",et=ye&&ae!==1?' start="'+ae+'"':"";return"<"+yt+et+`>
`+Ze+"</"+yt+`>
`},_t.listitem=function(Ze){return"<li>"+Ze+`</li>
`},_t.checkbox=function(Ze){return"<input "+(Ze?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},_t.paragraph=function(Ze){return"<p>"+Ze+`</p>
`},_t.table=function(Ze,ye){return ye&&(ye="<tbody>"+ye+"</tbody>"),`<table>
<thead>
`+Ze+`</thead>
`+ye+`</table>
`},_t.tablerow=function(Ze){return`<tr>
`+Ze+`</tr>
`},_t.tablecell=function(Ze,ye){var ae=ye.header?"th":"td",yt=ye.align?"<"+ae+' align="'+ye.align+'">':"<"+ae+">";return yt+Ze+"</"+ae+`>
`},_t.strong=function(Ze){return"<strong>"+Ze+"</strong>"},_t.em=function(Ze){return"<em>"+Ze+"</em>"},_t.codespan=function(Ze){return"<code>"+Ze+"</code>"},_t.br=function(){return this.options.xhtml?"<br/>":"<br>"},_t.del=function(Ze){return"<del>"+Ze+"</del>"},_t.link=function(Ze,ye,ae){if(Ze=Q(this.options.sanitize,this.options.baseUrl,Ze),Ze===null)return ae;var yt='<a href="'+ve(Ze)+'"';return ye&&(yt+=' title="'+ye+'"'),yt+=">"+ae+"</a>",yt},_t.image=function(Ze,ye,ae){if(Ze=Q(this.options.sanitize,this.options.baseUrl,Ze),Ze===null)return ae;var yt='<img src="'+Ze+'" alt="'+ae+'"';return ye&&(yt+=' title="'+ye+'"'),yt+=this.options.xhtml?"/>":">",yt},_t.text=function(Ze){return Ze},Et}(),Ce=function(){function Et(){}var _t=Et.prototype;return _t.strong=function(Ze){return Ze},_t.em=function(Ze){return Ze},_t.codespan=function(Ze){return Ze},_t.del=function(Ze){return Ze},_t.html=function(Ze){return Ze},_t.text=function(Ze){return Ze},_t.link=function(Ze,ye,ae){return""+ae},_t.image=function(Ze,ye,ae){return""+ae},_t.br=function(){return""},Et}(),we=function(){function Et(){this.seen={}}var _t=Et.prototype;return _t.slug=function(Ze){var ye=Ze.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(ye)){var ae=ye;do this.seen[ae]++,ye=ae+"-"+this.seen[ae];while(this.seen.hasOwnProperty(ye))}return this.seen[ye]=0,ye},Et}(),le=p.defaults,fe=U.unescape,xe=function(){function Et(Ht){this.options=Ht||le,this.options.renderer=this.options.renderer||new de,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ce,this.slugger=new we}Et.parse=function(Ze,ye){var ae=new Et(ye);return ae.parse(Ze)};var _t=Et.prototype;return _t.parse=function(Ze,ye){ye===void 0&&(ye=!0);var ae="",yt,et,me,Gt,rr,ut,Xt,ur,Fr,er,nr,Lt,at,Je,qt,Sr,yr,fr,yn=Ze.length;for(yt=0;yt<yn;yt++){er=Ze[yt];switch(er.type){case"space":continue;case"hr":{ae+=this.renderer.hr();continue}case"heading":{ae+=this.renderer.heading(this.parseInline(er.tokens),er.depth,fe(this.parseInline(er.tokens,this.textRenderer)),this.slugger);continue}case"code":{ae+=this.renderer.code(er.text,er.lang,er.escaped);continue}case"table":{for(ur="",Xt="",Gt=er.header.length,et=0;et<Gt;et++)Xt+=this.renderer.tablecell(this.parseInline(er.tokens.header[et]),{header:!0,align:er.align[et]});for(ur+=this.renderer.tablerow(Xt),Fr="",Gt=er.cells.length,et=0;et<Gt;et++){for(ut=er.tokens.cells[et],Xt="",rr=ut.length,me=0;me<rr;me++)Xt+=this.renderer.tablecell(this.parseInline(ut[me]),{header:!1,align:er.align[me]});Fr+=this.renderer.tablerow(Xt)}ae+=this.renderer.table(ur,Fr);continue}case"blockquote":{Fr=this.parse(er.tokens),ae+=this.renderer.blockquote(Fr);continue}case"list":{for(nr=er.ordered,Lt=er.start,at=er.loose,Gt=er.items.length,Fr="",et=0;et<Gt;et++)qt=er.items[et],Sr=qt.checked,yr=qt.task,Je="",qt.task&&(fr=this.renderer.checkbox(Sr),at?qt.tokens.length>0&&qt.tokens[0].type==="text"?(qt.tokens[0].text=fr+" "+qt.tokens[0].text,qt.tokens[0].tokens&&qt.tokens[0].tokens.length>0&&qt.tokens[0].tokens[0].type==="text"&&(qt.tokens[0].tokens[0].text=fr+" "+qt.tokens[0].tokens[0].text)):qt.tokens.unshift({type:"text",text:fr}):Je+=fr),Je+=this.parse(qt.tokens,at),Fr+=this.renderer.listitem(Je,yr,Sr);ae+=this.renderer.list(Fr,nr,Lt);continue}case"html":{ae+=this.renderer.html(er.text);continue}case"paragraph":{ae+=this.renderer.paragraph(this.parseInline(er.tokens));continue}case"text":{for(Fr=er.tokens?this.parseInline(er.tokens):er.text;yt+1<yn&&Ze[yt+1].type==="text";)er=Ze[++yt],Fr+=`
`+(er.tokens?this.parseInline(er.tokens):er.text);ae+=ye?this.renderer.paragraph(Fr):Fr;continue}default:{var Jr='Token with "'+er.type+'" type was not found.';if(this.options.silent){console.error(Jr);return}else throw new Error(Jr)}}}return ae},_t.parseInline=function(Ze,ye){ye=ye||this.renderer;var ae="",yt,et,me=Ze.length;for(yt=0;yt<me;yt++){et=Ze[yt];switch(et.type){case"escape":{ae+=ye.text(et.text);break}case"html":{ae+=ye.html(et.text);break}case"link":{ae+=ye.link(et.href,et.title,this.parseInline(et.tokens,ye));break}case"image":{ae+=ye.image(et.href,et.title,et.text);break}case"strong":{ae+=ye.strong(this.parseInline(et.tokens,ye));break}case"em":{ae+=ye.em(this.parseInline(et.tokens,ye));break}case"codespan":{ae+=ye.codespan(et.text);break}case"br":{ae+=ye.br();break}case"del":{ae+=ye.del(this.parseInline(et.tokens,ye));break}case"text":{ae+=ye.text(et.text);break}default:{var Gt='Token with "'+et.type+'" type was not found.';if(this.options.silent){console.error(Gt);return}else throw new Error(Gt)}}}return ae},Et}(),We=U.merge,nt=U.checkSanitizeDeprecation,$e=U.escape,Le=p.getDefaults,pt=p.changeDefaults,Qe=p.defaults;function gt(Et,_t,Ht){if(typeof Et=="undefined"||Et===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Et!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Et)+", string expected");if(typeof _t=="function"&&(Ht=_t,_t=null),_t=We({},gt.defaults,_t||{}),nt(_t),Ht){var Ze=_t.highlight,ye;try{ye=X.lex(Et,_t)}catch(me){return Ht(me)}var ae=function(Gt){var rr;if(!Gt)try{rr=xe.parse(ye,_t)}catch(ut){Gt=ut}return _t.highlight=Ze,Gt?Ht(Gt):Ht(null,rr)};if(!Ze||Ze.length<3)return ae();if(delete _t.highlight,!ye.length)return ae();var yt=0;gt.walkTokens(ye,function(me){me.type==="code"&&(yt++,setTimeout(function(){Ze(me.text,me.lang,function(Gt,rr){if(Gt)return ae(Gt);rr!=null&&rr!==me.text&&(me.text=rr,me.escaped=!0),yt--,yt===0&&ae()})},0))}),yt===0&&ae();return}try{var et=X.lex(Et,_t);return _t.walkTokens&&gt.walkTokens(et,_t.walkTokens),xe.parse(et,_t)}catch(me){if(me.message+=`
Please report this to https://github.com/markedjs/marked.`,_t.silent)return"<p>An error occurred:</p><pre>"+$e(me.message+"",!0)+"</pre>";throw me}}gt.options=gt.setOptions=function(Et){return We(gt.defaults,Et),pt(gt.defaults),gt},gt.getDefaults=Le,gt.defaults=Qe,gt.use=function(Et){var _t=We({},Et);if(Et.renderer&&function(){var Ze=gt.defaults.renderer||new de,ye=function(et){var me=Ze[et];Ze[et]=function(){for(var Gt=arguments.length,rr=new Array(Gt),ut=0;ut<Gt;ut++)rr[ut]=arguments[ut];var Xt=Et.renderer[et].apply(Ze,rr);return Xt===!1&&(Xt=me.apply(Ze,rr)),Xt}};for(var ae in Et.renderer)ye(ae);_t.renderer=Ze}(),Et.tokenizer&&function(){var Ze=gt.defaults.tokenizer||new ie,ye=function(et){var me=Ze[et];Ze[et]=function(){for(var Gt=arguments.length,rr=new Array(Gt),ut=0;ut<Gt;ut++)rr[ut]=arguments[ut];var Xt=Et.tokenizer[et].apply(Ze,rr);return Xt===!1&&(Xt=me.apply(Ze,rr)),Xt}};for(var ae in Et.tokenizer)ye(ae);_t.tokenizer=Ze}(),Et.walkTokens){var Ht=gt.defaults.walkTokens;_t.walkTokens=function(Ze){Et.walkTokens(Ze),Ht&&Ht(Ze)}}gt.setOptions(_t)},gt.walkTokens=function(Et,_t){for(var Ht=b(Et),Ze;!(Ze=Ht()).done;){var ye=Ze.value;_t(ye);switch(ye.type){case"table":{for(var ae=b(ye.tokens.header),yt;!(yt=ae()).done;){var et=yt.value;gt.walkTokens(et,_t)}for(var me=b(ye.tokens.cells),Gt;!(Gt=me()).done;)for(var rr=Gt.value,ut=b(rr),Xt;!(Xt=ut()).done;){var ur=Xt.value;gt.walkTokens(ur,_t)}break}case"list":{gt.walkTokens(ye.items,_t);break}default:ye.tokens&&gt.walkTokens(ye.tokens,_t)}}},gt.Parser=xe,gt.parser=xe.parse,gt.Renderer=de,gt.TextRenderer=Ce,gt.Lexer=X,gt.lexer=X.lex,gt.Tokenizer=ie,gt.Slugger=we,gt.parse=gt;var wt=gt;return wt})},"DlR+":function(H,k,d){var _=d("MFOe"),x=_.Global,C=_.trim;H.exports={name:"cookieStorage",read:b,write:p,each:m,remove:c,clearAll:o};var A=x.document;function b(i){if(!i||!r(i))return null;var n="(?:^|.*;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(A.cookie.replace(new RegExp(n),"$1"))}function m(i){for(var n=A.cookie.split(/; ?/g),t=n.length-1;t>=0;t--){if(!C(n[t]))continue;var s=n[t].split("="),e=unescape(s[0]),a=unescape(s[1]);i(a,e)}}function p(i,n){if(!i)return;A.cookie=escape(i)+"="+escape(n)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function c(i){if(!i||!r(i))return;A.cookie=escape(i)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function o(){m(function(i,n){c(n)})}function r(i){return new RegExp("(?:^|;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(A.cookie)}},Ducp:function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("+TT/"),A=d("XpcN"),b=x.Group,m=["width","height"],p=["x","y"],c=A.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new b),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new b),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(r,i,n,t,s,e,a){var l=this;c.superCall(this,"renderInner",r,i,n,t,s,e,a);var u=this._controllerGroup,h=i.get("pageIconSize",!0);_.isArray(h)||(h=[h,h]),g("pagePrev",0);var f=i.getModel("pageTextStyle");u.add(new x.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),g("pageNext",1);function g(v,y){var E=v+"DataIndex",T=x.createIcon(i.get("pageIcons",!0)[i.getOrient().name][y],{onclick:_.bind(l._pageGo,l,E,i,t)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});T.name=v,u.add(T)}},layoutInner:function(r,i,n,t,s,e){var a=this.getSelectorGroup(),l=r.getOrient().index,u=m[l],h=p[l],f=m[1-l],g=p[1-l];s&&C.box("horizontal",a,r.get("selectorItemGap",!0));var v=r.get("selectorButtonGap",!0),y=a.getBoundingRect(),E=[-y.x,-y.y],T=_.clone(n);s&&(T[u]=n[u]-y[u]-v);var w=this._layoutContentAndController(r,t,T,l,u,f,g);if(s){if(e==="end")E[l]+=w[u]+v;else{var S=y[u]+v;E[l]-=S,w[h]-=S}w[u]+=y[u]+v,E[1-l]+=w[g]+w[f]/2-y[f]/2,w[f]=Math.max(w[f],y[f]),w[g]=Math.min(w[g],y[g]+E[1-l]),a.attr("position",E)}return w},_layoutContentAndController:function(r,i,n,t,s,e,a){var l=this.getContentGroup(),u=this._containerGroup,h=this._controllerGroup;C.box(r.get("orient"),l,r.get("itemGap"),t?n.width:null,t?null:n.height),C.box("horizontal",h,r.get("pageButtonItemGap",!0));var f=l.getBoundingRect(),g=h.getBoundingRect(),v=this._showController=f[s]>n[s],y=[-f.x,-f.y];i||(y[t]=l.position[t]);var E=[0,0],T=[-g.x,-g.y],w=_.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(v){var S=r.get("pageButtonPosition",!0);S==="end"?T[t]+=n[s]-g[s]:E[t]+=g[s]+w}T[1-t]+=f[e]/2-g[e]/2,l.attr("position",y),u.attr("position",E),h.attr("position",T);var I={x:0,y:0};if(I[s]=v?n[s]:f[s],I[e]=Math.max(f[e],g[e]),I[a]=Math.min(0,g[a]+T[1-t]),u.__rectSize=n[s],v){var L={x:0,y:0};L[s]=Math.max(n[s]-g[s]-w,0),L[e]=I[e],u.setClipPath(new x.Rect({shape:L})),u.__rectSize=L[s]}else h.eachChild(function(N){N.attr({invisible:!0,silent:!0})});var O=this._getPageInfo(r);return O.pageIndex!=null&&x.updateProps(l,{position:O.contentPosition},v?r:!1),this._updatePageInfoView(r,O),I},_pageGo:function(r,i,n){var t=this._getPageInfo(i)[r];t!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:i.id})},_updatePageInfoView:function(r,i){var n=this._controllerGroup;_.each(["pagePrev","pageNext"],function(u){var h=i[u+"DataIndex"]!=null,f=n.childOfName(u);f&&(f.setStyle("fill",h?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),f.cursor=h?"pointer":"default")});var t=n.childOfName("pageText"),s=r.get("pageFormatter"),e=i.pageIndex,a=e!=null?e+1:0,l=i.pageCount;t&&s&&t.setStyle("text",_.isString(s)?s.replace("{current}",a).replace("{total}",l):s({current:a,total:l}))},_getPageInfo:function(r){var i=r.get("scrollDataIndex",!0),n=this.getContentGroup(),t=this._containerGroup.__rectSize,s=r.getOrient().index,e=m[s],a=p[s],l=this._findTargetItemIndex(i),u=n.children(),h=u[l],f=u.length,g=f?1:0,v={contentPosition:n.position.slice(),pageCount:g,pageIndex:g-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return v;var y=I(h);v.contentPosition[s]=-y.s;for(var E=l+1,T=y,w=y,S=null;E<=f;++E)S=I(u[E]),(!S&&w.e>T.s+t||S&&!L(S,T.s))&&(w.i>T.i?T=w:T=S,T&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=T.i),++v.pageCount)),w=S;for(var E=l-1,T=y,w=y,S=null;E>=-1;--E)S=I(u[E]),(!S||!L(w,S.s))&&T.i<w.i&&(w=T,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=T.i),++v.pageCount,++v.pageIndex),T=S;return v;function I(O){if(O){var N=O.getBoundingRect(),R=N[a]+O.position[s];return{s:R,e:R+N[e],i:O.__legendDataIndex}}}function L(O,N){return O.e>=N&&O.s<=N+t}},_findTargetItemIndex:function(r){if(!this._showController)return 0;var i,n=this.getContentGroup(),t;return n.eachChild(function(s,e){var a=s.__legendDataIndex;t==null&&a!=null&&(t=e),a===r&&(i=e)}),i!=null?i:t}}),o=c;H.exports=o},"E/ki":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},E2g8:function(H,k,d){(function(_,x){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.8+1e68dce6
*/(function(C,A){H.exports=A()})(this,function(){"use strict";function C(de){var Ce=typeof de;return de!==null&&(Ce==="object"||Ce==="function")}function A(de){return typeof de=="function"}var b=void 0;Array.isArray?b=Array.isArray:b=function(Ce){return Object.prototype.toString.call(Ce)==="[object Array]"};var m=b,p=0,c=void 0,o=void 0,r=function(Ce,we){y[p]=Ce,y[p+1]=we,p+=2,p===2&&(o?o(E):w())};function i(de){o=de}function n(de){r=de}var t=typeof window!="undefined"?window:void 0,s=t||{},e=s.MutationObserver||s.WebKitMutationObserver,a=typeof self=="undefined"&&typeof _!="undefined"&&{}.toString.call(_)==="[object process]",l=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function u(){return function(){return _.nextTick(E)}}function h(){return typeof c!="undefined"?function(){c(E)}:v()}function f(){var de=0,Ce=new e(E),we=document.createTextNode("");return Ce.observe(we,{characterData:!0}),function(){we.data=de=++de%2}}function g(){var de=new MessageChannel;return de.port1.onmessage=E,function(){return de.port2.postMessage(0)}}function v(){var de=setTimeout;return function(){return de(E,1)}}var y=new Array(1e3);function E(){for(var de=0;de<p;de+=2){var Ce=y[de],we=y[de+1];Ce(we),y[de]=void 0,y[de+1]=void 0}p=0}function T(){try{var de=Function("return this")().require("vertx");return c=de.runOnLoop||de.runOnContext,h()}catch(Ce){return v()}}var w=void 0;a?w=u():e?w=f():l?w=g():t===void 0&&!0?w=T():w=v();function S(de,Ce){var we=this,le=new this.constructor(O);le[L]===void 0&&ce(le);var fe=we._state;if(fe){var xe=arguments[fe-1];r(function(){return oe(fe,le,xe,we._result)})}else ie(we,le,de,Ce);return le}function I(de){var Ce=this;if(de&&typeof de=="object"&&de.constructor===Ce)return de;var we=new Ce(O);return V(we,de),we}var L=Math.random().toString(36).substring(2);function O(){}var N=void 0,R=1,D=2;function B(){return new TypeError("You cannot resolve a promise with itself")}function M(){return new TypeError("A promises callback cannot return that same promise.")}function U(de,Ce,we,le){try{de.call(Ce,we,le)}catch(fe){return fe}}function F(de,Ce,we){r(function(le){var fe=!1,xe=U(we,Ce,function(We){if(fe)return;fe=!0,Ce!==We?V(le,We):Y(le,We)},function(We){if(fe)return;fe=!0,J(le,We)},"Settle: "+(le._label||" unknown promise"));!fe&&xe&&(fe=!0,J(le,xe))},de)}function j(de,Ce){Ce._state===R?Y(de,Ce._result):Ce._state===D?J(de,Ce._result):ie(Ce,void 0,function(we){return V(de,we)},function(we){return J(de,we)})}function W(de,Ce,we){Ce.constructor===de.constructor&&we===S&&Ce.constructor.resolve===I?j(de,Ce):we===void 0?Y(de,Ce):A(we)?F(de,Ce,we):Y(de,Ce)}function V(de,Ce){if(de===Ce)J(de,B());else if(C(Ce)){var we=void 0;try{we=Ce.then}catch(le){J(de,le);return}W(de,Ce,we)}else Y(de,Ce)}function z(de){de._onerror&&de._onerror(de._result),Z(de)}function Y(de,Ce){if(de._state!==N)return;de._result=Ce,de._state=R,de._subscribers.length!==0&&r(Z,de)}function J(de,Ce){if(de._state!==N)return;de._state=D,de._result=Ce,r(z,de)}function ie(de,Ce,we,le){var fe=de._subscribers,xe=fe.length;de._onerror=null,fe[xe]=Ce,fe[xe+R]=we,fe[xe+D]=le,xe===0&&de._state&&r(Z,de)}function Z(de){var Ce=de._subscribers,we=de._state;if(Ce.length===0)return;for(var le=void 0,fe=void 0,xe=de._result,We=0;We<Ce.length;We+=3)le=Ce[We],fe=Ce[We+we],le?oe(we,le,fe,xe):fe(xe);de._subscribers.length=0}function oe(de,Ce,we,le){var fe=A(we),xe=void 0,We=void 0,nt=!0;if(fe){try{xe=we(le)}catch($e){nt=!1,We=$e}if(Ce===xe){J(Ce,M());return}}else xe=le;Ce._state!==N||(fe&&nt?V(Ce,xe):nt===!1?J(Ce,We):de===R?Y(Ce,xe):de===D&&J(Ce,xe))}function ge(de,Ce){try{Ce(function(le){V(de,le)},function(le){J(de,le)})}catch(we){J(de,we)}}var pe=0;function De(){return pe++}function ce(de){de[L]=pe++,de._state=void 0,de._result=void 0,de._subscribers=[]}function Oe(){return new Error("Array Methods must be provided an Array")}var se=function(){function de(Ce,we){this._instanceConstructor=Ce,this.promise=new Ce(O),this.promise[L]||ce(this.promise),m(we)?(this.length=we.length,this._remaining=we.length,this._result=new Array(this.length),this.length===0?Y(this.promise,this._result):(this.length=this.length||0,this._enumerate(we),this._remaining===0&&Y(this.promise,this._result))):J(this.promise,Oe())}return de.prototype._enumerate=function(we){for(var le=0;this._state===N&&le<we.length;le++)this._eachEntry(we[le],le)},de.prototype._eachEntry=function(we,le){var fe=this._instanceConstructor,xe=fe.resolve;if(xe===I){var We=void 0,nt=void 0,$e=!1;try{We=we.then}catch(pt){$e=!0,nt=pt}if(We===S&&we._state!==N)this._settledAt(we._state,le,we._result);else if(typeof We!="function")this._remaining--,this._result[le]=we;else if(fe===Q){var Le=new fe(O);$e?J(Le,nt):W(Le,we,We),this._willSettleAt(Le,le)}else this._willSettleAt(new fe(function(pt){return pt(we)}),le)}else this._willSettleAt(xe(we),le)},de.prototype._settledAt=function(we,le,fe){var xe=this.promise;xe._state===N&&(this._remaining--,we===D?J(xe,fe):this._result[le]=fe),this._remaining===0&&Y(xe,this._result)},de.prototype._willSettleAt=function(we,le){var fe=this;ie(we,void 0,function(xe){return fe._settledAt(R,le,xe)},function(xe){return fe._settledAt(D,le,xe)})},de}();function $(de){return new se(this,de).promise}function ze(de){var Ce=this;return m(de)?new Ce(function(we,le){for(var fe=de.length,xe=0;xe<fe;xe++)Ce.resolve(de[xe]).then(we,le)}):new Ce(function(we,le){return le(new TypeError("You must pass an array to race."))})}function re(de){var Ce=this,we=new Ce(O);return J(we,de),we}function X(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function G(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Q=function(){function de(Ce){this[L]=De(),this._result=this._state=void 0,this._subscribers=[],O!==Ce&&(typeof Ce!="function"&&X(),this instanceof de?ge(this,Ce):G())}return de.prototype.catch=function(we){return this.then(null,we)},de.prototype.finally=function(we){var le=this,fe=le.constructor;return A(we)?le.then(function(xe){return fe.resolve(we()).then(function(){return xe})},function(xe){return fe.resolve(we()).then(function(){throw xe})}):le.then(we,we)},de}();Q.prototype.then=S,Q.all=$,Q.race=ze,Q.resolve=I,Q.reject=re,Q._setScheduler=i,Q._setAsap=n,Q._asap=r;function ve(){var de=void 0;if(typeof x!="undefined")de=x;else if(typeof self!="undefined")de=self;else try{de=Function("return this")()}catch(le){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ce=de.Promise;if(Ce){var we=null;try{we=Object.prototype.toString.call(Ce.resolve())}catch(le){}if(we==="[object Promise]"&&!Ce.cast)return}de.Promise=Q}return Q.polyfill=ve,Q.Promise=Q,Q})}).call(this,d("Q2Ig"),d("yLpj"))},E4JC:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("ETIr"),d("cv67"),d("K3mO"),d("OLod"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.StreamCipher,b=x.algo,m=[],p=[],c=[],o=b.Rabbit=A.extend({_doReset:function(){for(var n=this._key.words,t=this.cfg.iv,s=0;s<4;s++)n[s]=(n[s]<<8|n[s]>>>24)&16711935|(n[s]<<24|n[s]>>>8)&4278255360;var e=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],a=this._C=[n[2]<<16|n[2]>>>16,n[0]&4294901760|n[1]&65535,n[3]<<16|n[3]>>>16,n[1]&4294901760|n[2]&65535,n[0]<<16|n[0]>>>16,n[2]&4294901760|n[3]&65535,n[1]<<16|n[1]>>>16,n[3]&4294901760|n[0]&65535];this._b=0;for(var s=0;s<4;s++)r.call(this);for(var s=0;s<8;s++)a[s]^=e[s+4&7];if(t){var l=t.words,u=l[0],h=l[1],f=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360,g=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,v=f>>>16|g&4294901760,y=g<<16|f&65535;a[0]^=f,a[1]^=v,a[2]^=g,a[3]^=y,a[4]^=f,a[5]^=v,a[6]^=g,a[7]^=y;for(var s=0;s<4;s++)r.call(this)}},_doProcessBlock:function(n,t){var s=this._X;r.call(this),m[0]=s[0]^s[5]>>>16^s[3]<<16,m[1]=s[2]^s[7]>>>16^s[5]<<16,m[2]=s[4]^s[1]>>>16^s[7]<<16,m[3]=s[6]^s[3]>>>16^s[1]<<16;for(var e=0;e<4;e++)m[e]=(m[e]<<8|m[e]>>>24)&16711935|(m[e]<<24|m[e]>>>8)&4278255360,n[t+e]^=m[e]},blockSize:128/32,ivSize:64/32});function r(){for(var i=this._X,n=this._C,t=0;t<8;t++)p[t]=n[t];n[0]=n[0]+1295307597+this._b|0,n[1]=n[1]+3545052371+(n[0]>>>0<p[0]>>>0?1:0)|0,n[2]=n[2]+886263092+(n[1]>>>0<p[1]>>>0?1:0)|0,n[3]=n[3]+1295307597+(n[2]>>>0<p[2]>>>0?1:0)|0,n[4]=n[4]+3545052371+(n[3]>>>0<p[3]>>>0?1:0)|0,n[5]=n[5]+886263092+(n[4]>>>0<p[4]>>>0?1:0)|0,n[6]=n[6]+1295307597+(n[5]>>>0<p[5]>>>0?1:0)|0,n[7]=n[7]+3545052371+(n[6]>>>0<p[6]>>>0?1:0)|0,this._b=n[7]>>>0<p[7]>>>0?1:0;for(var t=0;t<8;t++){var s=i[t]+n[t],e=s&65535,a=s>>>16,l=((e*e>>>17)+e*a>>>15)+a*a,u=((s&4294901760)*s|0)+((s&65535)*s|0);c[t]=l^u}i[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,i[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,i[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,i[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,i[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,i[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,i[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,i[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}x.Rabbit=A._createHelper(o)}(),_.Rabbit})},E9nw:function(H,k){H.exports=function(){var d=document.getSelection();if(!d.rangeCount)return function(){};for(var _=document.activeElement,x=[],C=0;C<d.rangeCount;C++)x.push(d.getRangeAt(C));switch(_.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":_.blur();break;default:_=null;break}return d.removeAllRanges(),function(){d.type==="Caret"&&d.removeAllRanges(),d.rangeCount||x.forEach(function(A){d.addRange(A)}),_&&_.focus()}}},ELLl:function(H,k,d){(function(_){_(d("VrN/"))})(function(_){var x={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},C=_.Pos;_.defineOption("autoCloseBrackets",!1,function(e,a,l){l&&l!=_.Init&&(e.removeKeyMap(b),e.state.closeBrackets=null),a&&(m(A(a,"pairs")),e.state.closeBrackets=a,e.addKeyMap(b))});function A(e,a){return a=="pairs"&&typeof e=="string"?e:typeof e=="object"&&e[a]!=null?e[a]:x[a]}var b={Backspace:o,Enter:r};function m(e){for(var a=0;a<e.length;a++){var l=e.charAt(a),u="'"+l+"'";b[u]||(b[u]=p(l))}}m(x.pairs+"`");function p(e){return function(a){return n(a,e)}}function c(e){var a=e.state.closeBrackets;if(!a||a.override)return a;var l=e.getModeAt(e.getCursor());return l.closeBrackets||a}function o(e){var a=c(e);if(!a||e.getOption("disableInput"))return _.Pass;for(var l=A(a,"pairs"),u=e.listSelections(),h=0;h<u.length;h++){if(!u[h].empty())return _.Pass;var f=t(e,u[h].head);if(!f||l.indexOf(f)%2!=0)return _.Pass}for(var h=u.length-1;h>=0;h--){var g=u[h].head;e.replaceRange("",C(g.line,g.ch-1),C(g.line,g.ch+1),"+delete")}}function r(e){var a=c(e),l=a&&A(a,"explode");if(!l||e.getOption("disableInput"))return _.Pass;for(var u=e.listSelections(),h=0;h<u.length;h++){if(!u[h].empty())return _.Pass;var f=t(e,u[h].head);if(!f||l.indexOf(f)%2!=0)return _.Pass}e.operation(function(){var g=e.lineSeparator()||`
`;e.replaceSelection(g+g,null),e.execCommand("goCharLeft"),u=e.listSelections();for(var v=0;v<u.length;v++){var y=u[v].head.line;e.indentLine(y,null,!0),e.indentLine(y+1,null,!0)}})}function i(e){var a=_.cmpPos(e.anchor,e.head)>0;return{anchor:new C(e.anchor.line,e.anchor.ch+(a?-1:1)),head:new C(e.head.line,e.head.ch+(a?1:-1))}}function n(e,a){var l=c(e);if(!l||e.getOption("disableInput"))return _.Pass;var u=A(l,"pairs"),h=u.indexOf(a);if(h==-1)return _.Pass;for(var f=A(l,"closeBefore"),g=A(l,"triples"),v=u.charAt(h+1)==a,y=e.listSelections(),E=h%2==0,T,w=0;w<y.length;w++){var S=y[w],I=S.head,L,O=e.getRange(I,C(I.line,I.ch+1));if(E&&!S.empty())L="surround";else if((v||!E)&&O==a)v&&s(e,I)?L="both":g.indexOf(a)>=0&&e.getRange(I,C(I.line,I.ch+3))==a+a+a?L="skipThree":L="skip";else if(v&&I.ch>1&&g.indexOf(a)>=0&&e.getRange(C(I.line,I.ch-2),I)==a+a){if(I.ch>2&&/\bstring/.test(e.getTokenTypeAt(C(I.line,I.ch-2))))return _.Pass;L="addFour"}else if(v){var N=I.ch==0?" ":e.getRange(C(I.line,I.ch-1),I);if(!_.isWordChar(O)&&N!=a&&!_.isWordChar(N))L="both";else return _.Pass}else if(E&&(O.length===0||/\s/.test(O)||f.indexOf(O)>-1))L="both";else return _.Pass;if(!T)T=L;else if(T!=L)return _.Pass}var R=h%2?u.charAt(h-1):a,D=h%2?a:u.charAt(h+1);e.operation(function(){if(T=="skip")e.execCommand("goCharRight");else if(T=="skipThree")for(var B=0;B<3;B++)e.execCommand("goCharRight");else if(T=="surround"){for(var M=e.getSelections(),B=0;B<M.length;B++)M[B]=R+M[B]+D;e.replaceSelections(M,"around"),M=e.listSelections().slice();for(var B=0;B<M.length;B++)M[B]=i(M[B]);e.setSelections(M)}else T=="both"?(e.replaceSelection(R+D,null),e.triggerElectric(R+D),e.execCommand("goCharLeft")):T=="addFour"&&(e.replaceSelection(R+R+R+R,"before"),e.execCommand("goCharRight"))})}function t(e,a){var l=e.getRange(C(a.line,a.ch-1),C(a.line,a.ch+1));return l.length==2?l:null}function s(e,a){var l=e.getTokenAt(C(a.line,a.ch+1));return/\bstring/.test(l.type)&&l.start==a.ch&&(a.ch==0||!/\bstring/.test(e.getTokenTypeAt(a)))}})},ELcG:function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){/** @preserve
(c) 2012 by Cédric Mesnil. 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.
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 HOLDER 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.
*/return function(x){var C=_,A=C.lib,b=A.WordArray,m=A.Hasher,p=C.algo,c=b.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),o=b.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),r=b.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),i=b.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),n=b.create([0,1518500249,1859775393,2400959708,2840853838]),t=b.create([1352829926,1548603684,1836072691,2053994217,0]),s=p.RIPEMD160=m.extend({_doReset:function(){this._hash=b.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(v,y){for(var E=0;E<16;E++){var T=y+E,w=v[T];v[T]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var S=this._hash.words,I=n.words,L=t.words,O=c.words,N=o.words,R=r.words,D=i.words,B,M,U,F,j,W,V,z,Y,J;W=B=S[0],V=M=S[1],z=U=S[2],Y=F=S[3],J=j=S[4];for(var ie,E=0;E<80;E+=1)ie=B+v[y+O[E]]|0,E<16?ie+=e(M,U,F)+I[0]:E<32?ie+=a(M,U,F)+I[1]:E<48?ie+=l(M,U,F)+I[2]:E<64?ie+=u(M,U,F)+I[3]:ie+=h(M,U,F)+I[4],ie=ie|0,ie=f(ie,R[E]),ie=ie+j|0,B=j,j=F,F=f(U,10),U=M,M=ie,ie=W+v[y+N[E]]|0,E<16?ie+=h(V,z,Y)+L[0]:E<32?ie+=u(V,z,Y)+L[1]:E<48?ie+=l(V,z,Y)+L[2]:E<64?ie+=a(V,z,Y)+L[3]:ie+=e(V,z,Y)+L[4],ie=ie|0,ie=f(ie,D[E]),ie=ie+J|0,W=J,J=Y,Y=f(z,10),z=V,V=ie;ie=S[1]+U+Y|0,S[1]=S[2]+F+J|0,S[2]=S[3]+j+W|0,S[3]=S[4]+B+V|0,S[4]=S[0]+M+z|0,S[0]=ie},_doFinalize:function(){var v=this._data,y=v.words,E=this._nDataBytes*8,T=v.sigBytes*8;y[T>>>5]|=128<<24-T%32,y[(T+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,v.sigBytes=(y.length+1)*4,this._process();for(var w=this._hash,S=w.words,I=0;I<5;I++){var L=S[I];S[I]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360}return w},clone:function(){var v=m.clone.call(this);return v._hash=this._hash.clone(),v}});function e(g,v,y){return g^v^y}function a(g,v,y){return g&v|~g&y}function l(g,v,y){return(g|~v)^y}function u(g,v,y){return g&y|v&~y}function h(g,v,y){return g^(v|~y)}function f(g,v){return g<<v|g>>>32-v}C.RIPEMD160=m._createHelper(s),C.HmacRIPEMD160=m._createHmacHelper(s)}(Math),_.RIPEMD160})},EMyp:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("mFDi"),A=d("K4ya"),b=d("qJCg"),m=d("iLNv"),p=d("vZ6x"),c=["inBrush","outOfBrush"],o="__ecBrushSelect",r="__ecInBrushSelectEvent",i=_.PRIORITY.VISUAL.BRUSH;_.registerLayout(i,function(g,v,y){g.eachComponent({mainType:"brush"},function(E){y&&y.type==="takeGlobalCursor"&&E.setBrushOption(y.key==="brush"?y.brushOption:{brushType:!1})}),n(g)});function n(g){g.eachComponent({mainType:"brush"},function(v){var y=v.brushTargetManager=new p(v.option,g);y.setInputRanges(v.areas,g)})}_.registerVisual(i,function(g,v,y){var E=[],T,w;g.eachComponent({mainType:"brush"},function(S,I){var L={brushId:S.id,brushIndex:I,brushName:S.name,areas:x.clone(S.areas),selected:[]};E.push(L);var O=S.option,N=O.brushLink,R=[],D=[],B=[],M=0;I||(T=O.throttleType,w=O.throttleDelay);var U=x.map(S.areas,function(Y){return u(x.defaults({boundingRect:h[Y.brushType](Y)},Y))}),F=A.createVisualMappings(S.option,c,function(Y){Y.mappingMethod="fixed"});x.isArray(N)&&x.each(N,function(Y){R[Y]=1});function j(Y){return N==="all"||R[Y]}function W(Y){return!!Y.length}g.eachSeries(function(Y,J){var ie=B[J]=[];Y.subType==="parallel"?V(Y,J,ie):z(Y,J,ie)});function V(Y,J){var ie=Y.coordinateSystem;M|=ie.hasAxisBrushed(),j(J)&&ie.eachActiveState(Y.getData(),function(Z,oe){Z==="active"&&(D[oe]=1)})}function z(Y,J,ie){var Z=a(Y);if(!Z||l(S,J))return;if(x.each(U,function(ge){Z[ge.brushType]&&S.brushTargetManager.controlSeries(ge,Y,g)&&ie.push(ge),M|=W(ie)}),j(J)&&W(ie)){var oe=Y.getData();oe.each(function(ge){e(Z,ie,oe,ge)&&(D[ge]=1)})}}g.eachSeries(function(Y,J){var ie={seriesId:Y.id,seriesIndex:J,seriesName:Y.name,dataIndex:[]};L.selected.push(ie);var Z=a(Y),oe=B[J],ge=Y.getData(),pe=j(J)?function(De){return D[De]?(ie.dataIndex.push(ge.getRawIndex(De)),"inBrush"):"outOfBrush"}:function(De){return e(Z,oe,ge,De)?(ie.dataIndex.push(ge.getRawIndex(De)),"inBrush"):"outOfBrush"};(j(J)?M:W(oe))&&A.applyVisual(c,F,ge,pe)})}),t(v,T,w,E,y)});function t(g,v,y,E,T){if(!T)return;var w=g.getZr();if(w[r])return;w[o]||(w[o]=s);var S=m.createOrUpdate(w,o,y,v);S(g,E)}function s(g,v){if(!g.isDisposed()){var y=g.getZr();y[r]=!0,g.dispatchAction({type:"brushSelect",batch:v}),y[r]=!1}}function e(g,v,y,E){for(var T=0,w=v.length;T<w;T++){var S=v[T];if(g[S.brushType](E,y,S.selectors,S))return!0}}function a(g){var v=g.brushSelector;if(x.isString(v)){var y=[];return x.each(b,function(T,w){y[w]=function(S,I,L,O){var N=I.getItemLayout(S);return T[v](N,L,O)}}),y}else if(x.isFunction(v)){var E={};return x.each(b,function(T,w){E[w]=v}),E}return v}function l(g,v){var y=g.option.seriesIndex;return y!=null&&y!=="all"&&(x.isArray(y)?x.indexOf(y,v)<0:v!==y)}function u(g){var v=g.selectors={};return x.each(b[g.brushType],function(y,E){v[E]=function(T){return y(T,v,g)}}),g}var h={lineX:x.noop,lineY:x.noop,rect:function(g){return f(g.range)},polygon:function(g){for(var v,y=g.range,E=0,T=y.length;E<T;E++){v=v||[[Infinity,-Infinity],[Infinity,-Infinity]];var w=y[E];w[0]<v[0][0]&&(v[0][0]=w[0]),w[0]>v[0][1]&&(v[0][1]=w[0]),w[1]<v[1][0]&&(v[1][0]=w[1]),w[1]>v[1][1]&&(v[1][1]=w[1])}return v&&f(v)}};function f(g){return new C(g[0][0],g[1][0],g[0][1]-g[0][0],g[1][1]-g[1][0])}k.layoutCovers=n},ERHi:function(H,k,d){var _=d("ProS");d("Z6js"),d("R4Th");var x=d("f5Yq"),C=d("h8O9");_.registerVisual(x("effectScatter","circle")),_.registerLayout(C("effectScatter"))},ETIr:function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.WordArray,b=x.enc,m=b.Base64={stringify:function(o){var r=o.words,i=o.sigBytes,n=this._map;o.clamp();for(var t=[],s=0;s<i;s+=3)for(var e=r[s>>>2]>>>24-s%4*8&255,a=r[s+1>>>2]>>>24-(s+1)%4*8&255,l=r[s+2>>>2]>>>24-(s+2)%4*8&255,u=e<<16|a<<8|l,h=0;h<4&&s+h*.75<i;h++)t.push(n.charAt(u>>>6*(3-h)&63));var f=n.charAt(64);if(f)for(;t.length%4;)t.push(f);return t.join("")},parse:function(o){var r=o.length,i=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var t=0;t<i.length;t++)n[i.charCodeAt(t)]=t}var s=i.charAt(64);if(s){var e=o.indexOf(s);e!==-1&&(r=e)}return p(o,r,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function p(c,o,r){for(var i=[],n=0,t=0;t<o;t++)if(t%4){var s=r[c.charCodeAt(t-1)]<<t%4*2,e=r[c.charCodeAt(t)]>>>6-t%4*2,a=s|e;i[n>>>2]|=a<<24-n%4*8,n++}return A.create(i,n)}}(),_.enc.Base64})},EXcs:function(H,k,d){"use strict";var _=function(){return{height:0,opacity:0}},x=function(p){return{height:p.scrollHeight,opacity:1}},C=function(p){return{height:p.offsetHeight}},A=function(p,c){return c.propertyName==="height"},b={motionName:"ant-motion-collapse",onAppearStart:_,onEnterStart:_,onAppearActive:x,onEnterActive:x,onLeaveStart:C,onLeaveActive:_,onAppearEnd:A,onEnterEnd:A,onLeaveEnd:A,motionDeadline:500};k.a=b},Em2t:function(H,k,d){var _=d("bahg"),x=d("quyA"),C=d("0JQy");function A(b){return x(b)?C(b):_(b)}H.exports=A},Ez2D:function(H,k,d){var _=d("bYtY"),x=d("4NO4");function C(A,b){var m=[],p=A.seriesIndex,c;if(p==null||!(c=b.getSeriesByIndex(p)))return{point:[]};var o=c.getData(),r=x.queryDataIndex(o,A);if(r==null||r<0||_.isArray(r))return{point:[]};var i=o.getItemGraphicEl(r),n=c.coordinateSystem;if(c.getTooltipPosition)m=c.getTooltipPosition(r)||[];else if(n&&n.dataToPoint)m=n.dataToPoint(o.getValues(_.map(n.dimensions,function(s){return o.mapDimension(s)}),r,!0))||[];else if(i){var t=i.getBoundingRect().clone();t.applyTransform(i.transform),m=[t.x+t.width/2,t.y+t.height/2]}return{point:m,el:i}}H.exports=C},"F+F2":function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){return function(){if(typeof ArrayBuffer!="function")return;var x=_,C=x.lib,A=C.WordArray,b=A.init,m=A.init=function(p){if(p instanceof ArrayBuffer&&(p=new Uint8Array(p)),(p instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&p instanceof Uint8ClampedArray||p instanceof Int16Array||p instanceof Uint16Array||p instanceof Int32Array||p instanceof Uint32Array||p instanceof Float32Array||p instanceof Float64Array)&&(p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength)),p instanceof Uint8Array){for(var c=p.byteLength,o=[],r=0;r<c;r++)o[r>>>2]|=p[r]<<24-r%4*8;b.call(this,o,c)}else b.apply(this,arguments)};m.prototype=A}(),_.lib.WordArray})},F0hE:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("ca2m"),A=d("Qxkt"),b=d("ICMv"),m=C.valueAxis;function p(r,i){return x.defaults({show:i},r)}var c=_.extendComponentModel({type:"radar",optionUpdated:function(){var r=this.get("boundaryGap"),i=this.get("splitNumber"),n=this.get("scale"),t=this.get("axisLine"),s=this.get("axisTick"),e=this.get("axisType"),a=this.get("axisLabel"),l=this.get("name"),u=this.get("name.show"),h=this.get("name.formatter"),f=this.get("nameGap"),g=this.get("triggerEvent"),v=x.map(this.get("indicator")||[],function(y){y.max!=null&&y.max>0&&!y.min?y.min=0:y.min!=null&&y.min<0&&!y.max&&(y.max=0);var E=l;if(y.color!=null&&(E=x.defaults({color:y.color},l)),y=x.merge(x.clone(y),{boundaryGap:r,splitNumber:i,scale:n,axisLine:t,axisTick:s,axisType:e,axisLabel:a,name:y.text,nameLocation:"end",nameGap:f,nameTextStyle:E,triggerEvent:g},!1),u||(y.name=""),typeof h=="string"){var T=y.name;y.name=h.replace("{value}",T!=null?T:"")}else typeof h=="function"&&(y.name=h(y.name,y));var w=x.extend(new A(y,null,this.ecModel),b);return w.mainType="radar",w.componentIndex=this.componentIndex,w},this);this.getIndicatorModels=function(){return v}},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:x.merge({lineStyle:{color:"#bbb"}},m.axisLine),axisLabel:p(m.axisLabel,!1),axisTick:p(m.axisTick,!1),axisType:"interval",splitLine:p(m.splitLine,!0),splitArea:p(m.splitArea,!0),indicator:[]}}),o=c;H.exports=o},F5Ls:function(H,k){var d={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function _(x,C){if(x==="china"){var A=d[C.name];if(A){var b=C.center;b[0]+=A[0]/10.5,b[1]+=-A[1]/(10.5/.75)}}}H.exports=_},F7hV:function(H,k,d){var _=d("MBQ8"),x=_.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var C=this.get("progressiveThreshold"),A=this.get("largeThreshold");return A>C&&(C=A),C},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}}});H.exports=x},F9bG:function(H,k,d){var _=d("bYtY"),x=d("ItGF"),C=d("4NO4"),A=C.makeInner,b=A(),m=_.each;function p(s,e,a){if(x.node)return;var l=e.getZr();b(l).records||(b(l).records={}),c(l,e);var u=b(l).records[s]||(b(l).records[s]={});u.handler=a}function c(s,e){if(b(s).initialized)return;b(s).initialized=!0,a("click",_.curry(i,"click")),a("mousemove",_.curry(i,"mousemove")),a("globalout",r);function a(l,u){s.on(l,function(h){var f=n(e);m(b(s).records,function(g){g&&u(g,h,f.dispatchAction)}),o(f.pendings,e)})}}function o(s,e){var a=s.showTip.length,l=s.hideTip.length,u;a?u=s.showTip[a-1]:l&&(u=s.hideTip[l-1]),u&&(u.dispatchAction=null,e.dispatchAction(u))}function r(s,e,a){s.handler("leave",null,a)}function i(s,e,a,l){e.handler(s,a,l)}function n(s){var e={showTip:[],hideTip:[]},a=function(l){var u=e[l.type];u?u.push(l):(l.dispatchAction=a,s.dispatchAction(l))};return{dispatchAction:a,pendings:e}}function t(s,e){if(x.node)return;var a=e.getZr(),l=(b(a).records||{})[s];l&&(b(a).records[s]=null)}k.register=p,k.unregister=t},FBjb:function(H,k,d){var _=d("bYtY"),x=d("oVpE"),C=x.createSymbol,A=d("IwbS"),b=d("OELB"),m=b.parsePercent,p=d("x3X8"),c=p.getDefaultLabel;function o(f,g,v){A.Group.call(this),this.updateData(f,g,v)}var r=o.prototype,i=o.getSymbolSize=function(f,g){var v=f.getItemVisual(g,"symbolSize");return v instanceof Array?v.slice():[+v,+v]};function n(f){return[f[0]/2,f[1]/2]}function t(f,g){this.parent.drift(f,g)}r._createSymbol=function(f,g,v,y,E){this.removeAll();var T=g.getItemVisual(v,"color"),w=C(f,-1,-1,2,2,T,E);w.attr({z2:100,culling:!0,scale:n(y)}),w.drift=t,this._symbolType=f,this.add(w)},r.stopSymbolAnimation=function(f){this.childAt(0).stopAnimation(f)},r.getSymbolPath=function(){return this.childAt(0)},r.getScale=function(){return this.childAt(0).scale},r.highlight=function(){this.childAt(0).trigger("emphasis")},r.downplay=function(){this.childAt(0).trigger("normal")},r.setZ=function(f,g){var v=this.childAt(0);v.zlevel=f,v.z=g},r.setDraggable=function(f){var g=this.childAt(0);g.draggable=f,g.cursor=f?"move":g.cursor},r.updateData=function(f,g,v){this.silent=!1;var y=f.getItemVisual(g,"symbol")||"circle",E=f.hostModel,T=i(f,g),w=y!==this._symbolType;if(w){var S=f.getItemVisual(g,"symbolKeepAspect");this._createSymbol(y,f,g,T,S)}else{var I=this.childAt(0);I.silent=!1,A.updateProps(I,{scale:n(T)},E,g)}if(this._updateCommon(f,g,T,v),w){var I=this.childAt(0),L=v&&v.fadeIn,O={scale:I.scale.slice()};L&&(O.style={opacity:I.style.opacity}),I.scale=[0,0],L&&(I.style.opacity=0),A.initProps(I,O,E,g)}this._seriesModel=E};var s=["itemStyle"],e=["emphasis","itemStyle"],a=["label"],l=["emphasis","label"];r._updateCommon=function(f,g,v,y){var E=this.childAt(0),T=f.hostModel,w=f.getItemVisual(g,"color");E.type!=="image"?E.useStyle({strokeNoScale:!0}):E.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var S=y&&y.itemStyle,I=y&&y.hoverItemStyle,L=y&&y.symbolOffset,O=y&&y.labelModel,N=y&&y.hoverLabelModel,R=y&&y.hoverAnimation,D=y&&y.cursorStyle;if(!y||f.hasItemOption){var B=y&&y.itemModel?y.itemModel:f.getItemModel(g);S=B.getModel(s).getItemStyle(["color"]),I=B.getModel(e).getItemStyle(),L=B.getShallow("symbolOffset"),O=B.getModel(a),N=B.getModel(l),R=B.getShallow("hoverAnimation"),D=B.getShallow("cursor")}else I=_.extend({},I);var M=E.style,U=f.getItemVisual(g,"symbolRotate");E.attr("rotation",(U||0)*Math.PI/180||0),L&&E.attr("position",[m(L[0],v[0]),m(L[1],v[1])]),D&&E.attr("cursor",D),E.setColor(w,y&&y.symbolInnerColor),E.setStyle(S);var F=f.getItemVisual(g,"opacity");F!=null&&(M.opacity=F);var j=f.getItemVisual(g,"liftZ"),W=E.__z2Origin;j!=null?W==null&&(E.__z2Origin=E.z2,E.z2+=j):W!=null&&(E.z2=W,E.__z2Origin=null);var V=y&&y.useNameLabel;A.setLabelStyle(M,I,O,N,{labelFetcher:T,labelDataIndex:g,defaultText:z,isRectText:!0,autoColor:w});function z(Y,J){return V?f.getName(Y):c(f,Y)}E.__symbolOriginalScale=n(v),E.hoverStyle=I,E.highDownOnUpdate=R&&T.isAnimationEnabled()?u:null,A.setHoverStyle(E)};function u(f,g){if(this.incremental||this.useHoverLayer)return;if(g==="emphasis"){var v=this.__symbolOriginalScale,y=v[1]/v[0],E={scale:[Math.max(v[0]*1.1,v[0]+3),Math.max(v[1]*1.1,v[1]+3*y)]};this.animateTo(E,400,"elasticOut")}else g==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(f,g){var v=this.childAt(0);this.silent=v.silent=!0,!(g&&g.keepLabel)&&(v.style.text=null),A.updateProps(v,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,f)},_.inherits(o,A.Group);var h=o;H.exports=h},FGaS:function(H,k,d){var _=d("ProS"),x=d("IwbS"),C=d("bYtY"),A=d("oVpE");function b(p){return C.isArray(p)||(p=[+p,+p]),p}var m=_.extendChartView({type:"radar",render:function(p,c,o){var r=p.coordinateSystem,i=this.group,n=p.getData(),t=this._data;function s(l,u){var h=l.getItemVisual(u,"symbol")||"circle",f=l.getItemVisual(u,"color");if(h==="none")return;var g=b(l.getItemVisual(u,"symbolSize")),v=A.createSymbol(h,-1,-1,2,2,f);return v.attr({style:{strokeNoScale:!0},z2:100,scale:[g[0]/2,g[1]/2]}),v}function e(l,u,h,f,g,v){h.removeAll();for(var y=0;y<u.length-1;y++){var E=s(f,g);E&&(E.__dimIdx=y,l[y]?(E.attr("position",l[y]),x[v?"initProps":"updateProps"](E,{position:u[y]},p,g)):E.attr("position",u[y]),h.add(E))}}function a(l){return C.map(l,function(u){return[r.cx,r.cy]})}n.diff(t).add(function(l){var u=n.getItemLayout(l);if(!u)return;var h=new x.Polygon,f=new x.Polyline,g={shape:{points:u}};h.shape.points=a(u),f.shape.points=a(u),x.initProps(h,g,p,l),x.initProps(f,g,p,l);var v=new x.Group,y=new x.Group;v.add(f),v.add(h),v.add(y),e(f.shape.points,u,y,n,l,!0),n.setItemGraphicEl(l,v)}).update(function(l,u){var h=t.getItemGraphicEl(u),f=h.childAt(0),g=h.childAt(1),v=h.childAt(2),y={shape:{points:n.getItemLayout(l)}};if(!y.shape.points)return;e(f.shape.points,y.shape.points,v,n,l,!1),x.updateProps(f,y,p),x.updateProps(g,y,p),n.setItemGraphicEl(l,h)}).remove(function(l){i.remove(t.getItemGraphicEl(l))}).execute(),n.eachItemGraphicEl(function(l,u){var h=n.getItemModel(u),f=l.childAt(0),g=l.childAt(1),v=l.childAt(2),y=n.getItemVisual(u,"color");i.add(l),f.useStyle(C.defaults(h.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:y})),f.hoverStyle=h.getModel("emphasis.lineStyle").getLineStyle();var E=h.getModel("areaStyle"),T=h.getModel("emphasis.areaStyle"),w=E.isEmpty()&&E.parentModel.isEmpty(),S=T.isEmpty()&&T.parentModel.isEmpty();S=S&&w,g.ignore=w,g.useStyle(C.defaults(E.getAreaStyle(),{fill:y,opacity:.7})),g.hoverStyle=T.getAreaStyle();var I=h.getModel("itemStyle").getItemStyle(["color"]),L=h.getModel("emphasis.itemStyle").getItemStyle(),O=h.getModel("label"),N=h.getModel("emphasis.label");v.eachChild(function(R){R.setStyle(I),R.hoverStyle=C.clone(L);var D=n.get(n.dimensions[R.__dimIdx],u);(D==null||isNaN(D))&&(D=""),x.setLabelStyle(R.style,R.hoverStyle,O,N,{labelFetcher:n.hostModel,labelDataIndex:u,labelDimIndex:R.__dimIdx,defaultText:D,autoColor:y,isRectText:!0})}),l.highDownOnUpdate=function(R,D){g.attr("ignore",D==="emphasis"?S:w)},x.setHoverStyle(l)}),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});H.exports=m},FH2Y:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("ZMnZ"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},FJo9:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("8txm"),A=d.n(C),b=d("MXD1")},FNN5:function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("+rIm"),A=d("Znkb"),b=["axisLine","axisTickLabel","axisName"],m=["splitLine","splitArea","minorSplitLine"],p=A.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(o,r){if(this.group.removeAll(),!o.get("show"))return;var i=o.axis,n=i.polar,t=n.getAngleAxis(),s=i.getTicksCoords(),e=i.getMinorTicksCoords(),a=t.getExtent()[0],l=i.getExtent(),u=c(n,o,a),h=new C(o,u);_.each(b,h.add,h),this.group.add(h.getGroup()),_.each(m,function(f){o.get(f+".show")&&!i.scale.isBlank()&&this["_"+f](o,n,a,l,s,e)},this)},_splitLine:function(o,r,i,n,t){var s=o.getModel("splitLine"),e=s.getModel("lineStyle"),a=e.get("color"),l=0;a=a instanceof Array?a:[a];for(var u=[],h=0;h<t.length;h++){var f=l++%a.length;u[f]=u[f]||[],u[f].push(new x.Circle({shape:{cx:r.cx,cy:r.cy,r:t[h].coord}}))}for(var h=0;h<u.length;h++)this.group.add(x.mergePath(u[h],{style:_.defaults({stroke:a[h%a.length],fill:null},e.getLineStyle()),silent:!0}))},_minorSplitLine:function(o,r,i,n,t,s){if(!s.length)return;for(var e=o.getModel("minorSplitLine"),a=e.getModel("lineStyle"),l=[],u=0;u<s.length;u++)for(var h=0;h<s[u].length;h++)l.push(new x.Circle({shape:{cx:r.cx,cy:r.cy,r:s[u][h].coord}}));this.group.add(x.mergePath(l,{style:_.defaults({fill:null},a.getLineStyle()),silent:!0}))},_splitArea:function(o,r,i,n,t){if(!t.length)return;var s=o.getModel("splitArea"),e=s.getModel("areaStyle"),a=e.get("color"),l=0;a=a instanceof Array?a:[a];for(var u=[],h=t[0].coord,f=1;f<t.length;f++){var g=l++%a.length;u[g]=u[g]||[],u[g].push(new x.Sector({shape:{cx:r.cx,cy:r.cy,r0:h,r:t[f].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),h=t[f].coord}for(var f=0;f<u.length;f++)this.group.add(x.mergePath(u[f],{style:_.defaults({fill:a[f%a.length]},e.getAreaStyle()),silent:!0}))}});function c(o,r,i){return{position:[o.cx,o.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:r.getModel("axisLabel").get("rotate"),z2:1}}H.exports=p},FUi9:function(H,k,d){var _=d("bYtY"),x=d("MwEJ"),C=d("aX7z"),A=d("ICMv"),b=d("Qxkt"),m=d("+TT/"),p=m.getLayoutRect;k.getLayoutRect=m.getLayoutRect;var c=d("7hqr"),o=c.enableDataStack,r=c.isDimensionStacked,i=c.getStackedDimension,n=d("hi0g");k.completeDimensions=n;var t=d("sdST");k.createDimensions=t;var s=d("oVpE");k.createSymbol=s.createSymbol;function e(h){return x(h.getSource(),h)}var a={isDimensionStacked:r,enableDataStack:o,getStackedDimension:i};function l(h,f){var g=f;b.isInstance(f)||(g=new b(f),_.mixin(g,A));var v=C.createScaleByModel(g);return v.setExtent(h[0],h[1]),C.niceScaleExtent(v,g),v}function u(h){_.mixin(h,A)}k.createList=e,k.dataStack=a,k.createScale=l,k.mixinAxisModelCommonMethods=u},"Fa/5":function(H,k,d){var _=d("ProS");d("y2l5"),d("q/+u");var x=d("f5Yq"),C=d("h8O9");d("Ae16"),_.registerVisual(x("scatter","circle")),_.registerLayout(C("scatter"))},FhB9:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},"Fm1+":function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("a7Wl")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="CaretUpOutlined";var c=A.forwardRef(p);k.default=c},Fofx:function(H,k){var d=typeof Float32Array=="undefined"?Array:Float32Array;function _(){var r=new d(6);return x(r),r}function x(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function C(r,i){return r[0]=i[0],r[1]=i[1],r[2]=i[2],r[3]=i[3],r[4]=i[4],r[5]=i[5],r}function A(r,i,n){var t=i[0]*n[0]+i[2]*n[1],s=i[1]*n[0]+i[3]*n[1],e=i[0]*n[2]+i[2]*n[3],a=i[1]*n[2]+i[3]*n[3],l=i[0]*n[4]+i[2]*n[5]+i[4],u=i[1]*n[4]+i[3]*n[5]+i[5];return r[0]=t,r[1]=s,r[2]=e,r[3]=a,r[4]=l,r[5]=u,r}function b(r,i,n){return r[0]=i[0],r[1]=i[1],r[2]=i[2],r[3]=i[3],r[4]=i[4]+n[0],r[5]=i[5]+n[1],r}function m(r,i,n){var t=i[0],s=i[2],e=i[4],a=i[1],l=i[3],u=i[5],h=Math.sin(n),f=Math.cos(n);return r[0]=t*f+a*h,r[1]=-t*h+a*f,r[2]=s*f+l*h,r[3]=-s*h+f*l,r[4]=f*e+h*u,r[5]=f*u-h*e,r}function p(r,i,n){var t=n[0],s=n[1];return r[0]=i[0]*t,r[1]=i[1]*s,r[2]=i[2]*t,r[3]=i[3]*s,r[4]=i[4]*t,r[5]=i[5]*s,r}function c(r,i){var n=i[0],t=i[2],s=i[4],e=i[1],a=i[3],l=i[5],u=n*a-e*t;return u?(u=1/u,r[0]=a*u,r[1]=-e*u,r[2]=-t*u,r[3]=n*u,r[4]=(t*l-a*s)*u,r[5]=(e*s-n*l)*u,r):null}function o(r){var i=_();return C(i,r),i}k.create=_,k.identity=x,k.copy=C,k.mul=A,k.translate=b,k.rotate=m,k.scale=p,k.invert=c,k.clone=o},Fv0C:function(H,k,d){"use strict";function _(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(a){return typeof a}:_=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_(s)}Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var x=o(d("Lo0S")),C=d("vewr"),A=o(d("8CQX")),b=p(d("mHUz")),m=o(d("GdRQ"));function p(s){return s&&s.__esModule?s:{default:s}}function c(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return c=function(){return s},s}function o(s){if(s&&s.__esModule)return s;if(s===null||_(s)!=="object"&&typeof s!="function")return{default:s};var e=c();if(e&&e.has(s))return e.get(s);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in s)if(Object.prototype.hasOwnProperty.call(s,u)){var h=l?Object.getOwnPropertyDescriptor(s,u):null;h&&(h.get||h.set)?Object.defineProperty(a,u,h):a[u]=s[u]}return a.default=s,e&&e.set(s,a),a}function r(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}function i(s,e){for(var a=0;a<e.length;a++){var l=e[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(s,l.key,l)}}function n(s,e,a){return e&&i(s.prototype,e),a&&i(s,a),s}var t=function(){function s(e){r(this,s),this._target=e||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 n(s,[{key:"_sendKeyEvent",value:function(a,l,u){if(u)this._keyDownList[l]=a;else{if(!(l in this._keyDownList))return;delete this._keyDownList[l]}x.Debug("onkeyevent "+(u?"down":"up")+", keysym: "+a,", code: "+l),this.onkeyevent(a,l,u)}},{key:"_getKeyCode",value:function(a){var l=A.getKeycode(a);if(l!=="Unidentified")return l;if(a.keyCode&&a.type!=="keypress"&&a.keyCode!==229)return"Platform"+a.keyCode;if(a.keyIdentifier){if(a.keyIdentifier.substr(0,2)!=="U+")return a.keyIdentifier;var u=parseInt(a.keyIdentifier.substr(2),16),h=String.fromCharCode(u).toUpperCase();return"Platform"+h.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(a){var l=this._getKeyCode(a),u=A.getKeysym(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),l==="AltRight"&&a.timeStamp-this._altGrCtrlTime<50?u=b.default.XK_ISO_Level3_Shift:this._sendKeyEvent(b.default.XK_Control_L,"ControlLeft",!0)),l==="Unidentified"){u&&(this._sendKeyEvent(u,l,!0),this._sendKeyEvent(u,l,!1)),(0,C.stopEvent)(a);return}if(m.isMac()||m.isIOS())switch(u){case b.default.XK_Super_L:u=b.default.XK_Alt_L;break;case b.default.XK_Super_R:u=b.default.XK_Super_L;break;case b.default.XK_Alt_L:u=b.default.XK_Mode_switch;break;case b.default.XK_Alt_R:u=b.default.XK_ISO_Level3_Shift;break}if(l in this._keyDownList&&(u=this._keyDownList[l]),(m.isMac()||m.isIOS())&&l==="CapsLock"){this._sendKeyEvent(b.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(b.default.XK_Caps_Lock,"CapsLock",!1),(0,C.stopEvent)(a);return}if(!u&&(!a.key||m.isIE()||m.isEdge())){this._pendingKey=l,setTimeout(this._handleKeyPressTimeout.bind(this),10,a);return}if(this._pendingKey=null,(0,C.stopEvent)(a),l==="ControlLeft"&&m.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=a.timeStamp;return}this._sendKeyEvent(u,l,!0)}},{key:"_handleKeyPress",value:function(a){if((0,C.stopEvent)(a),this._pendingKey===null)return;var l=this._getKeyCode(a),u=A.getKeysym(a);if(l!=="Unidentified"&&l!=this._pendingKey)return;if(l=this._pendingKey,this._pendingKey=null,!u){x.Info("keypress with no keysym:",a);return}this._sendKeyEvent(u,l,!0)}},{key:"_handleKeyPressTimeout",value:function(a){if(this._pendingKey===null)return;var l,u=this._pendingKey;if(this._pendingKey=null,a.keyCode>=48&&a.keyCode<=57)l=a.keyCode;else if(a.keyCode>=65&&a.keyCode<=90){var h=String.fromCharCode(a.keyCode);a.shiftKey?h=h.toUpperCase():h=h.toLowerCase(),l=h.charCodeAt()}else l=0;this._sendKeyEvent(l,u,!0)}},{key:"_handleKeyUp",value:function(a){(0,C.stopEvent)(a);var l=this._getKeyCode(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(b.default.XK_Control_L,"ControlLeft",!0)),(m.isMac()||m.isIOS())&&l==="CapsLock"){this._sendKeyEvent(b.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(b.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[l],l,!1),m.isWindows()&&(l==="ShiftLeft"||l==="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(b.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){x.Debug(">> Keyboard.allKeysUp");for(var a in this._keyDownList)this._sendKeyEvent(this._keyDownList[a],a,!1);x.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(a){if(a.skipCheckAlt)return;if(a.altKey)return;var l=this._target,u=this._keyDownList;["AltLeft","AltRight"].forEach(function(h){if(!(h in u))return;var f=new KeyboardEvent("keyup",{key:u[h],code:h});f.skipCheckAlt=!0,l.dispatchEvent(f)})}},{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),m.isWindows()&&m.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(l){return document.addEventListener(l,a,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(m.isWindows()&&m.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(l){return document.removeEventListener(l,a)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),s}();k.default=t},FxDU:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.createSensor=void 0;var _=d("QO+J"),x=d("j5sG"),C=typeof ResizeObserver!="undefined"?x.createSensor:_.createSensor;k.createSensor=C},GGyF:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("wgjA")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="LeftOutlined";var c=A.forwardRef(p);k.default=c},GIiI:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="PoweroffOutlined";var p=k.a=x.forwardRef(m)},GMDS:function(H,k,d){var _=d("bYtY"),x=d("4NgU"),C=d("jkPA"),A=x.prototype,b=x.extend({type:"ordinal",init:function(p,c){(!p||_.isArray(p))&&(p=new C({categories:p})),this._ordinalMeta=p,this._extent=c||[0,p.categories.length-1]},parse:function(p){return typeof p=="string"?this._ordinalMeta.getOrdinal(p):Math.round(p)},contain:function(p){return p=this.parse(p),A.contain.call(this,p)&&this._ordinalMeta.categories[p]!=null},normalize:function(p){return A.normalize.call(this,this.parse(p))},scale:function(p){return Math.round(A.scale.call(this,p))},getTicks:function(){for(var p=[],c=this._extent,o=c[0];o<=c[1];)p.push(o),o++;return p},getLabel:function(p){if(!this.isBlank())return this._ordinalMeta.categories[p]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(p,c){this.unionExtent(p.getApproximateExtent(c))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:_.noop,niceExtent:_.noop});b.create=function(){return new b};var m=b;H.exports=m},GQ8N:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.toUnsigned32bit=_,k.toSigned32bit=x;function _(C){return C>>>0}function x(C){return C|0}},GRuw:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("lPiR"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.WordArray,b=x.algo,m=b.SHA256,p=b.SHA224=m.extend({_doReset:function(){this._hash=new A.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=m._doFinalize.call(this);return o.sigBytes-=4,o}});x.SHA224=m._createHelper(p),x.HmacSHA224=m._createHmacHelper(p)}(),_.SHA224})},GUcZ:function(H,k,d){"use strict";var _=d("XKWP"),x=d("N7Kx"),C=function(){function Nt(){Object(_.a)(this,Nt)}return Object(x.a)(Nt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(_e,ke){return _e.__proto__=ke,_e},Object.assign=Object.assign||function(_e){if(_e==null)throw new TypeError("Cannot convert undefined or null to object");for(var ke=Object(_e),Pe=1;Pe<arguments.length;Pe++){var rt=arguments[Pe];if(rt!=null)for(var Pt in rt)rt.hasOwnProperty(Pt)&&(ke[Pt]=rt[Pt])}return ke},typeof self.Promise!="function"&&d("E2g8").polyfill()}}]),Nt}();C.install();var A=C,b=d("+qE3"),m=d.n(b),p=function(){function Nt(){Object(_.a)(this,Nt)}return Object(x.a)(Nt,null,[{key:"e",value:function(_e,ke){(!_e||Nt.FORCE_GLOBAL_TAG)&&(_e=Nt.GLOBAL_TAG);var Pe="[".concat(_e,"] > ").concat(ke);if(Nt.ENABLE_CALLBACK&&Nt.emitter.emit("log","error",Pe),!Nt.ENABLE_ERROR)return;console.error?console.error(Pe):console.warn?console.warn(Pe):console.log(Pe)}},{key:"i",value:function(_e,ke){(!_e||Nt.FORCE_GLOBAL_TAG)&&(_e=Nt.GLOBAL_TAG);var Pe="[".concat(_e,"] > ").concat(ke);if(Nt.ENABLE_CALLBACK&&Nt.emitter.emit("log","info",Pe),!Nt.ENABLE_INFO)return;console.info?console.info(Pe):console.log(Pe)}},{key:"w",value:function(_e,ke){(!_e||Nt.FORCE_GLOBAL_TAG)&&(_e=Nt.GLOBAL_TAG);var Pe="[".concat(_e,"] > ").concat(ke);if(Nt.ENABLE_CALLBACK&&Nt.emitter.emit("log","warn",Pe),!Nt.ENABLE_WARN)return;console.warn?console.warn(Pe):console.log(Pe)}},{key:"d",value:function(_e,ke){(!_e||Nt.FORCE_GLOBAL_TAG)&&(_e=Nt.GLOBAL_TAG);var Pe="[".concat(_e,"] > ").concat(ke);if(Nt.ENABLE_CALLBACK&&Nt.emitter.emit("log","debug",Pe),!Nt.ENABLE_DEBUG)return;console.debug?console.debug(Pe):console.log(Pe)}},{key:"v",value:function(_e,ke){(!_e||Nt.FORCE_GLOBAL_TAG)&&(_e=Nt.GLOBAL_TAG);var Pe="[".concat(_e,"] > ").concat(ke);if(Nt.ENABLE_CALLBACK&&Nt.emitter.emit("log","verbose",Pe),!Nt.ENABLE_VERBOSE)return;console.log(Pe)}}]),Nt}();p.GLOBAL_TAG="flv.js",p.FORCE_GLOBAL_TAG=!1,p.ENABLE_ERROR=!0,p.ENABLE_INFO=!0,p.ENABLE_WARN=!0,p.ENABLE_DEBUG=!0,p.ENABLE_VERBOSE=!0,p.ENABLE_CALLBACK=!1,p.emitter=new m.a;var c=p,o=function(){function Nt(){Object(_.a)(this,Nt),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(x.a)(Nt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(_e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=_e,this._totalBytes+=_e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=_e,this._totalBytes+=_e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=_e,this._totalBytes+=_e,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var _e=(this._now()-this._lastCheckpoint)/1e3;return _e==0&&(_e=1),this._intervalBytes/_e/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 _e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/_e/1024}}]),Nt}(),r=o,i=d("kFHX"),n=d("4jIl"),t=function(){function Nt(Ve){Object(_.a)(this,Nt),this._message=Ve}return Object(x.a)(Nt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),Nt}(),s=function(Nt){Object(i.a)(_e,Nt);var Ve=Object(n.a)(_e);function _e(ke){return Object(_.a)(this,_e),Ve.call(this,ke)}return Object(x.a)(_e,[{key:"name",get:function(){return"IllegalStateException"}}]),_e}(t),e=function(Nt){Object(i.a)(_e,Nt);var Ve=Object(n.a)(_e);function _e(ke){return Object(_.a)(this,_e),Ve.call(this,ke)}return Object(x.a)(_e,[{key:"name",get:function(){return"InvalidArgumentException"}}]),_e}(t),a=function(Nt){Object(i.a)(_e,Nt);var Ve=Object(n.a)(_e);function _e(ke){return Object(_.a)(this,_e),Ve.call(this,ke)}return Object(x.a)(_e,[{key:"name",get:function(){return"NotImplementedException"}}]),_e}(t),l={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},u={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},h=function(){function Nt(Ve){Object(_.a)(this,Nt),this._type=Ve||"undefined",this._status=l.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(x.a)(Nt,[{key:"destroy",value:function(){this._status=l.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===l.kConnecting||this._status===l.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(_e){this._onContentLengthKnown=_e}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(_e){this._onURLRedirect=_e}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(_e){this._onDataArrival=_e}},{key:"onError",get:function(){return this._onError},set:function(_e){this._onError=_e}},{key:"onComplete",get:function(){return this._onComplete},set:function(_e){this._onComplete=_e}},{key:"open",value:function(_e,ke){throw new a("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new a("Unimplemented abstract function!")}}]),Nt}(),f=d("2KFj"),g=d("XPR9"),v={};function y(){var Nt=self.navigator.userAgent.toLowerCase(),Ve=/(edge)\/([\w.]+)/.exec(Nt)||/(opr)[\/]([\w.]+)/.exec(Nt)||/(chrome)[ \/]([\w.]+)/.exec(Nt)||/(iemobile)[\/]([\w.]+)/.exec(Nt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Nt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Nt)||/(webkit)[ \/]([\w.]+)/.exec(Nt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Nt)||/(msie) ([\w.]+)/.exec(Nt)||Nt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Nt)||Nt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Nt)||[],_e=/(ipad)/.exec(Nt)||/(ipod)/.exec(Nt)||/(windows phone)/.exec(Nt)||/(iphone)/.exec(Nt)||/(kindle)/.exec(Nt)||/(android)/.exec(Nt)||/(windows)/.exec(Nt)||/(mac)/.exec(Nt)||/(linux)/.exec(Nt)||/(cros)/.exec(Nt)||[],ke={browser:Ve[5]||Ve[3]||Ve[1]||"",version:Ve[2]||Ve[4]||"0",majorVersion:Ve[4]||Ve[2]||"0",platform:_e[0]||""},Pe={};if(ke.browser){Pe[ke.browser]=!0;var rt=ke.majorVersion.split(".");Pe.version={major:parseInt(ke.majorVersion,10),string:ke.version},rt.length>1&&(Pe.version.minor=parseInt(rt[1],10)),rt.length>2&&(Pe.version.build=parseInt(rt[2],10))}if(ke.platform&&(Pe[ke.platform]=!0),(Pe.chrome||Pe.opr||Pe.safari)&&(Pe.webkit=!0),Pe.rv||Pe.iemobile){Pe.rv&&delete Pe.rv;var Pt="msie";ke.browser=Pt,Pe[Pt]=!0}if(Pe.edge){delete Pe.edge;var Yt="msedge";ke.browser=Yt,Pe[Yt]=!0}if(Pe.opr){var kt="opera";ke.browser=kt,Pe[kt]=!0}if(Pe.safari&&Pe.android){var _r="android";ke.browser=_r,Pe[_r]=!0}Pe.name=ke.browser,Pe.platform=ke.platform;for(var Rr in v)v.hasOwnProperty(Rr)&&delete v[Rr];Object.assign(v,Pe)}y();var E=v,T=function(Nt){Object(i.a)(_e,Nt);var Ve=Object(n.a)(_e);function _e(ke,Pe){var rt;return Object(_.a)(this,_e),rt=Ve.call(this,"fetch-stream-loader"),rt.TAG="FetchStreamLoader",rt._seekHandler=ke,rt._config=Pe,rt._needStash=!0,rt._requestAbort=!1,rt._contentLength=null,rt._receivedLength=0,rt}return Object(x.a)(_e,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(f.a)(Object(g.a)(_e.prototype),"destroy",this).call(this)}},{key:"open",value:function(Pe,rt){var Pt=this;this._dataSource=Pe,this._range=rt;var Yt=Pe.url;this._config.reuseRedirectedURL&&Pe.redirectedURL!=null&&(Yt=Pe.redirectedURL);var kt=this._seekHandler.getConfig(Yt,rt),_r=new self.Headers;if(typeof kt.headers=="object"){var Rr=kt.headers;for(var un in Rr)Rr.hasOwnProperty(un)&&_r.append(un,Rr[un])}var Ut={method:"GET",headers:_r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var ht in this._config.headers)_r.append(ht,this._config.headers[ht]);Pe.cors===!1&&(Ut.mode="same-origin"),Pe.withCredentials&&(Ut.credentials="include"),Pe.referrerPolicy&&(Ut.referrerPolicy=Pe.referrerPolicy),this._status=l.kConnecting,self.fetch(kt.url,Ut).then(function(ot){if(Pt._requestAbort){Pt._requestAbort=!1,Pt._status=l.kIdle;return}if(ot.ok&&ot.status>=200&&ot.status<=299){if(ot.url!==kt.url&&Pt._onURLRedirect){var Wt=Pt._seekHandler.removeURLParameters(ot.url);Pt._onURLRedirect(Wt)}var Jt=ot.headers.get("Content-Length");return Jt!=null&&(Pt._contentLength=parseInt(Jt),Pt._contentLength!==0&&(Pt._onContentLengthKnown&&Pt._onContentLengthKnown(Pt._contentLength))),Pt._pump.call(Pt,ot.body.getReader())}else if(Pt._status=l.kError,Pt._onError)Pt._onError(u.HTTP_STATUS_CODE_INVALID,{code:ot.status,msg:ot.statusText});else throw new t("FetchStreamLoader: Http code invalid, "+ot.status+" "+ot.statusText)}).catch(function(ot){if(Pt._status=l.kError,Pt._onError)Pt._onError(u.EXCEPTION,{code:-1,msg:ot.message});else throw ot})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Pe){var rt=this;return Pe.read().then(function(Pt){if(Pt.done)if(rt._contentLength!==null&&rt._receivedLength<rt._contentLength){rt._status=l.kError;var Yt=u.EARLY_EOF,kt={code:-1,msg:"Fetch stream meet Early-EOF"};if(rt._onError)rt._onError(Yt,kt);else throw new t(kt.msg)}else rt._status=l.kComplete,rt._onComplete&&rt._onComplete(rt._range.from,rt._range.from+rt._receivedLength-1);else{if(rt._requestAbort===!0)return rt._requestAbort=!1,rt._status=l.kComplete,Pe.cancel();rt._status=l.kBuffering;var _r=Pt.value.buffer,Rr=rt._range.from+rt._receivedLength;rt._receivedLength+=_r.byteLength,rt._onDataArrival&&rt._onDataArrival(_r,Rr,rt._receivedLength),rt._pump(Pe)}}).catch(function(Pt){if(Pt.code===11&&E.msedge)return;rt._status=l.kError;var Yt=0,kt=null;if((Pt.code===19||Pt.message==="network error")&&(rt._contentLength===null||rt._contentLength!==null&&rt._receivedLength<rt._contentLength)?(Yt=u.EARLY_EOF,kt={code:Pt.code,msg:"Fetch stream meet Early-EOF"}):(Yt=u.EXCEPTION,kt={code:Pt.code,msg:Pt.message}),rt._onError)rt._onError(Yt,kt);else throw new t(kt.msg)})}}],[{key:"isSupported",value:function(){try{var Pe=E.msedge&&E.version.minor>=15048,rt=E.msedge?Pe:!0;return self.fetch&&self.ReadableStream&&rt}catch(Pt){return!1}}}]),_e}(h),w=T,S=function(Nt){Object(i.a)(_e,Nt);var Ve=Object(n.a)(_e);function _e(ke,Pe){var rt;return Object(_.a)(this,_e),rt=Ve.call(this,"xhr-moz-chunked-loader"),rt.TAG="MozChunkedLoader",rt._seekHandler=ke,rt._config=Pe,rt._needStash=!0,rt._xhr=null,rt._requestAbort=!1,rt._contentLength=null,rt._receivedLength=0,rt}return Object(x.a)(_e,[{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(f.a)(Object(g.a)(_e.prototype),"destroy",this).call(this)}},{key:"open",value:function(Pe,rt){this._dataSource=Pe,this._range=rt;var Pt=Pe.url;this._config.reuseRedirectedURL&&Pe.redirectedURL!=null&&(Pt=Pe.redirectedURL);var Yt=this._seekHandler.getConfig(Pt,rt);this._requestURL=Yt.url;var kt=this._xhr=new XMLHttpRequest;if(kt.open("GET",Yt.url,!0),kt.responseType="moz-chunked-arraybuffer",kt.onreadystatechange=this._onReadyStateChange.bind(this),kt.onprogress=this._onProgress.bind(this),kt.onloadend=this._onLoadEnd.bind(this),kt.onerror=this._onXhrError.bind(this),Pe.withCredentials&&(kt.withCredentials=!0),typeof Yt.headers=="object"){var _r=Yt.headers;for(var Rr in _r)_r.hasOwnProperty(Rr)&&kt.setRequestHeader(Rr,_r[Rr])}if(typeof this._config.headers=="object"){var un=this._config.headers;for(var Ut in un)un.hasOwnProperty(Ut)&&kt.setRequestHeader(Ut,un[Ut])}this._status=l.kConnecting,kt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=l.kComplete}},{key:"_onReadyStateChange",value:function(Pe){var rt=Pe.target;if(rt.readyState===2){if(rt.responseURL!=null&&rt.responseURL!==this._requestURL&&this._onURLRedirect){var Pt=this._seekHandler.removeURLParameters(rt.responseURL);this._onURLRedirect(Pt)}if(rt.status!==0&&(rt.status<200||rt.status>299))if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new t("MozChunkedLoader: Http code invalid, "+rt.status+" "+rt.statusText);else this._status=l.kBuffering}}},{key:"_onProgress",value:function(Pe){if(this._status===l.kError)return;this._contentLength===null&&(Pe.total!==null&&Pe.total!==0&&(this._contentLength=Pe.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var rt=Pe.target.response,Pt=this._range.from+this._receivedLength;this._receivedLength+=rt.byteLength,this._onDataArrival&&this._onDataArrival(rt,Pt,this._receivedLength)}},{key:"_onLoadEnd",value:function(Pe){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===l.kError)return;this._status=l.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Pe){this._status=l.kError;var rt=0,Pt=null;if(this._contentLength&&Pe.loaded<this._contentLength?(rt=u.EARLY_EOF,Pt={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(rt=u.EXCEPTION,Pt={code:-1,msg:Pe.constructor.name+" "+Pe.type}),this._onError)this._onError(rt,Pt);else throw new t(Pt.msg)}}],[{key:"isSupported",value:function(){try{var Pe=new XMLHttpRequest;return Pe.open("GET","https://example.com",!0),Pe.responseType="moz-chunked-arraybuffer",Pe.responseType==="moz-chunked-arraybuffer"}catch(rt){return c.w("MozChunkedLoader",rt.message),!1}}}]),_e}(h),I=S,L=function(Nt){Object(i.a)(_e,Nt);var Ve=Object(n.a)(_e);function _e(ke,Pe){var rt;return Object(_.a)(this,_e),rt=Ve.call(this,"xhr-msstream-loader"),rt.TAG="MSStreamLoader",rt._seekHandler=ke,rt._config=Pe,rt._needStash=!0,rt._xhr=null,rt._reader=null,rt._totalRange=null,rt._currentRange=null,rt._currentRequestURL=null,rt._currentRedirectedURL=null,rt._contentLength=null,rt._receivedLength=0,rt._bufferLimit=16*1024*1024,rt._lastTimeBufferSize=0,rt._isReconnecting=!1,rt}return Object(x.a)(_e,[{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(f.a)(Object(g.a)(_e.prototype),"destroy",this).call(this)}},{key:"open",value:function(Pe,rt){this._internalOpen(Pe,rt,!1)}},{key:"_internalOpen",value:function(Pe,rt,Pt){this._dataSource=Pe,Pt?this._currentRange=rt:this._totalRange=rt;var Yt=Pe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Yt=this._currentRedirectedURL:Pe.redirectedURL!=null&&(Yt=Pe.redirectedURL));var kt=this._seekHandler.getConfig(Yt,rt);this._currentRequestURL=kt.url;var _r=this._reader=new self.MSStreamReader;_r.onprogress=this._msrOnProgress.bind(this),_r.onload=this._msrOnLoad.bind(this),_r.onerror=this._msrOnError.bind(this);var Rr=this._xhr=new XMLHttpRequest;if(Rr.open("GET",kt.url,!0),Rr.responseType="ms-stream",Rr.onreadystatechange=this._xhrOnReadyStateChange.bind(this),Rr.onerror=this._xhrOnError.bind(this),Pe.withCredentials&&(Rr.withCredentials=!0),typeof kt.headers=="object"){var un=kt.headers;for(var Ut in un)un.hasOwnProperty(Ut)&&Rr.setRequestHeader(Ut,un[Ut])}if(typeof this._config.headers=="object"){var ht=this._config.headers;for(var ot in ht)ht.hasOwnProperty(ot)&&Rr.setRequestHeader(ot,ht[ot])}this._isReconnecting?this._isReconnecting=!1:this._status=l.kConnecting,Rr.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=l.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(Pe){var rt=Pe.target;if(rt.readyState===2)if(rt.status>=200&&rt.status<=299){if(this._status=l.kBuffering,rt.responseURL!=null){var Pt=this._seekHandler.removeURLParameters(rt.responseURL);rt.responseURL!==this._currentRequestURL&&Pt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Pt,this._onURLRedirect&&this._onURLRedirect(Pt))}var Yt=rt.getResponseHeader("Content-Length");if(Yt!=null&&this._contentLength==null){var kt=parseInt(Yt);kt>0&&(this._contentLength=kt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new t("MSStreamLoader: Http code invalid, "+rt.status+" "+rt.statusText);else if(rt.readyState===3&&(rt.status>=200&&rt.status<=299)){this._status=l.kBuffering;var _r=rt.response;this._reader.readAsArrayBuffer(_r)}}},{key:"_xhrOnError",value:function(Pe){this._status=l.kError;var rt=u.EXCEPTION,Pt={code:-1,msg:Pe.constructor.name+" "+Pe.type};if(this._onError)this._onError(rt,Pt);else throw new t(Pt.msg)}},{key:"_msrOnProgress",value:function(Pe){var rt=Pe.target,Pt=rt.result;if(Pt==null){this._doReconnectIfNeeded();return}var Yt=Pt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Pt.byteLength;var kt=this._totalRange.from+this._receivedLength;this._receivedLength+=Yt.byteLength,this._onDataArrival&&this._onDataArrival(Yt,kt,this._receivedLength),Pt.byteLength>=this._bufferLimit&&(c.v(this.TAG,"MSStream buffer exceeded max size near ".concat(kt+Yt.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 Pe={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Pe,!0)}}},{key:"_msrOnLoad",value:function(Pe){this._status=l.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Pe){this._status=l.kError;var rt=0,Pt=null;if(this._contentLength&&this._receivedLength<this._contentLength?(rt=u.EARLY_EOF,Pt={code:-1,msg:"MSStream meet Early-Eof"}):(rt=u.EARLY_EOF,Pt={code:-1,msg:Pe.constructor.name+" "+Pe.type}),this._onError)this._onError(rt,Pt);else throw new t(Pt.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Pe=new XMLHttpRequest;return Pe.open("GET","https://example.com",!0),Pe.responseType="ms-stream",Pe.responseType==="ms-stream"}catch(rt){return c.w("MSStreamLoader",rt.message),!1}}}]),_e}(h),O=L,N=function(Nt){Object(i.a)(_e,Nt);var Ve=Object(n.a)(_e);function _e(ke,Pe){var rt;return Object(_.a)(this,_e),rt=Ve.call(this,"xhr-range-loader"),rt.TAG="RangeLoader",rt._seekHandler=ke,rt._config=Pe,rt._needStash=!1,rt._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],rt._currentChunkSizeKB=384,rt._currentSpeedNormalized=0,rt._zeroSpeedChunkCount=0,rt._xhr=null,rt._speedSampler=new r,rt._requestAbort=!1,rt._waitForTotalLength=!1,rt._totalLengthReceived=!1,rt._currentRequestURL=null,rt._currentRedirectedURL=null,rt._currentRequestRange=null,rt._totalLength=null,rt._contentLength=null,rt._receivedLength=0,rt._lastTimeLoaded=0,rt}return Object(x.a)(_e,[{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(f.a)(Object(g.a)(_e.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Pe,rt){this._dataSource=Pe,this._range=rt,this._status=l.kConnecting;var Pt=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Pt=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Pt?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Pe=this._currentChunkSizeKB*1024,rt=this._range.from+this._receivedLength,Pt=rt+Pe;this._contentLength!=null&&(Pt-this._range.from>=this._contentLength&&(Pt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:rt,to:Pt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Pe,rt){this._lastTimeLoaded=0;var Pt=Pe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Pt=this._currentRedirectedURL:Pe.redirectedURL!=null&&(Pt=Pe.redirectedURL));var Yt=this._seekHandler.getConfig(Pt,rt);this._currentRequestURL=Yt.url;var kt=this._xhr=new XMLHttpRequest;if(kt.open("GET",Yt.url,!0),kt.responseType="arraybuffer",kt.onreadystatechange=this._onReadyStateChange.bind(this),kt.onprogress=this._onProgress.bind(this),kt.onload=this._onLoad.bind(this),kt.onerror=this._onXhrError.bind(this),Pe.withCredentials&&(kt.withCredentials=!0),typeof Yt.headers=="object"){var _r=Yt.headers;for(var Rr in _r)_r.hasOwnProperty(Rr)&&kt.setRequestHeader(Rr,_r[Rr])}if(typeof this._config.headers=="object"){var un=this._config.headers;for(var Ut in un)un.hasOwnProperty(Ut)&&kt.setRequestHeader(Ut,un[Ut])}kt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=l.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(Pe){var rt=Pe.target;if(rt.readyState===2){if(rt.responseURL!=null){var Pt=this._seekHandler.removeURLParameters(rt.responseURL);rt.responseURL!==this._currentRequestURL&&Pt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Pt,this._onURLRedirect&&this._onURLRedirect(Pt))}if(rt.status>=200&&rt.status<=299){if(this._waitForTotalLength)return;this._status=l.kBuffering}else if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new t("RangeLoader: Http code invalid, "+rt.status+" "+rt.statusText)}}},{key:"_onProgress",value:function(Pe){if(this._status===l.kError)return;if(this._contentLength===null){var rt=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,rt=!0;var Pt=Pe.total;this._internalAbort(),Pt!=null&Pt!==0&&(this._totalLength=Pt)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,rt){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Yt=Pe.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Pe.loaded,this._speedSampler.addBytes(Yt)}},{key:"_normalizeSpeed",value:function(Pe){var rt=this._chunkSizeKBList,Pt=rt.length-1,Yt=0,kt=0,_r=Pt;if(Pe<rt[0])return rt[0];for(;kt<=_r;){if(Yt=kt+Math.floor((_r-kt)/2),Yt===Pt||Pe>=rt[Yt]&&Pe<rt[Yt+1])return rt[Yt];rt[Yt]<Pe?kt=Yt+1:_r=Yt-1}}},{key:"_onLoad",value:function(Pe){if(this._status===l.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var rt=this._speedSampler.lastSecondKBps;if(rt===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(rt=this._speedSampler.currentKBps)),rt!==0){var Pt=this._normalizeSpeed(rt);this._currentSpeedNormalized!==Pt&&(this._currentSpeedNormalized=Pt,this._currentChunkSizeKB=Pt)}var Yt=Pe.target.response,kt=this._range.from+this._receivedLength;this._receivedLength+=Yt.byteLength;var _r=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():_r=!0,this._onDataArrival&&this._onDataArrival(Yt,kt,this._receivedLength),_r&&(this._status=l.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Pe){this._status=l.kError;var rt=0,Pt=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(rt=u.EARLY_EOF,Pt={code:-1,msg:"RangeLoader meet Early-Eof"}):(rt=u.EXCEPTION,Pt={code:-1,msg:Pe.constructor.name+" "+Pe.type}),this._onError)this._onError(rt,Pt);else throw new t(Pt.msg)}}],[{key:"isSupported",value:function(){try{var Pe=new XMLHttpRequest;return Pe.open("GET","https://example.com",!0),Pe.responseType="arraybuffer",Pe.responseType==="arraybuffer"}catch(rt){return c.w("RangeLoader",rt.message),!1}}}]),_e}(h),R=N,D=function(Nt){Object(i.a)(_e,Nt);var Ve=Object(n.a)(_e);function _e(){var ke;return Object(_.a)(this,_e),ke=Ve.call(this,"websocket-loader"),ke.TAG="WebSocketLoader",ke._needStash=!0,ke._ws=null,ke._requestAbort=!1,ke._receivedLength=0,ke}return Object(x.a)(_e,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(f.a)(Object(g.a)(_e.prototype),"destroy",this).call(this)}},{key:"open",value:function(Pe){try{var rt=this._ws=new self.WebSocket(Pe.url);rt.binaryType="arraybuffer",rt.onopen=this._onWebSocketOpen.bind(this),rt.onclose=this._onWebSocketClose.bind(this),rt.onmessage=this._onWebSocketMessage.bind(this),rt.onerror=this._onWebSocketError.bind(this),this._status=l.kConnecting}catch(Yt){this._status=l.kError;var Pt={code:Yt.code,msg:Yt.message};if(this._onError)this._onError(u.EXCEPTION,Pt);else throw new t(Pt.msg)}}},{key:"abort",value:function(){var Pe=this._ws;Pe&&(Pe.readyState===0||Pe.readyState===1)&&(this._requestAbort=!0,Pe.close()),this._ws=null,this._status=l.kComplete}},{key:"_onWebSocketOpen",value:function(Pe){this._status=l.kBuffering}},{key:"_onWebSocketClose",value:function(Pe){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=l.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Pe){var rt=this;if(Pe.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Pe.data);else if(Pe.data instanceof Blob){var Pt=new FileReader;Pt.onload=function(){rt._dispatchArrayBuffer(Pt.result)},Pt.readAsArrayBuffer(Pe.data)}else{this._status=l.kError;var Yt={code:-1,msg:"Unsupported WebSocket message type: "+Pe.data.constructor.name};if(this._onError)this._onError(u.EXCEPTION,Yt);else throw new t(Yt.msg)}}},{key:"_dispatchArrayBuffer",value:function(Pe){var rt=Pe,Pt=this._receivedLength;this._receivedLength+=rt.byteLength,this._onDataArrival&&this._onDataArrival(rt,Pt,this._receivedLength)}},{key:"_onWebSocketError",value:function(Pe){this._status=l.kError;var rt={code:Pe.code,msg:Pe.message};if(this._onError)this._onError(u.EXCEPTION,rt);else throw new t(rt.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Pe){return!1}}}]),_e}(h),B=D,M=function(){function Nt(Ve){Object(_.a)(this,Nt),this._zeroStart=Ve||!1}return Object(x.a)(Nt,[{key:"getConfig",value:function(_e,ke){var Pe={};if(ke.from!==0||ke.to!==-1){var rt;ke.to!==-1?rt="bytes=".concat(ke.from.toString(),"-").concat(ke.to.toString()):rt="bytes=".concat(ke.from.toString(),"-"),Pe.Range=rt}else this._zeroStart&&(Pe.Range="bytes=0-");return{url:_e,headers:Pe}}},{key:"removeURLParameters",value:function(_e){return _e}}]),Nt}(),U=M,F=function(){function Nt(Ve,_e){Object(_.a)(this,Nt),this._startName=Ve,this._endName=_e}return Object(x.a)(Nt,[{key:"getConfig",value:function(_e,ke){var Pe=_e;if(ke.from!==0||ke.to!==-1){var rt=!0;Pe.indexOf("?")===-1&&(Pe+="?",rt=!1),rt&&(Pe+="&"),Pe+="".concat(this._startName,"=").concat(ke.from.toString()),ke.to!==-1&&(Pe+="&".concat(this._endName,"=").concat(ke.to.toString()))}return{url:Pe,headers:{}}}},{key:"removeURLParameters",value:function(_e){var ke=_e.split("?")[0],Pe=void 0,rt=_e.indexOf("?");rt!==-1&&(Pe=_e.substring(rt+1));var Pt="";if(Pe!=null&&Pe.length>0)for(var Yt=Pe.split("&"),kt=0;kt<Yt.length;kt++){var _r=Yt[kt].split("="),Rr=kt>0;_r[0]!==this._startName&&_r[0]!==this._endName&&(Rr&&(Pt+="&"),Pt+=Yt[kt])}return Pt.length===0?ke:ke+"?"+Pt}}]),Nt}(),j=F,W=function(){function Nt(Ve,_e,ke){Object(_.a)(this,Nt),this.TAG="IOController",this._config=_e,this._extraData=ke,this._stashInitialSize=1024*384,_e.stashInitialSize!=null&&_e.stashInitialSize>0&&(this._stashInitialSize=_e.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,_e.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=Ve,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(Ve.url),this._refTotalLength=Ve.filesize?Ve.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new r,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(x.a)(Nt,[{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(_e){this._extraData=_e}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(_e){this._onDataArrival=_e}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(_e){this._onSeeked=_e}},{key:"onError",get:function(){return this._onError},set:function(_e){this._onError=_e}},{key:"onComplete",get:function(){return this._onComplete},set:function(_e){this._onComplete=_e}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(_e){this._onRedirect=_e}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(_e){this._onRecoveredEarlyEof=_e}},{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===R?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var _e=this._config;if(_e.seekType==="range")this._seekHandler=new U(this._config.rangeLoadZeroStart);else if(_e.seekType==="param"){var ke=_e.seekParamStart||"bstart",Pe=_e.seekParamEnd||"bend";this._seekHandler=new j(ke,Pe)}else if(_e.seekType==="custom"){if(typeof _e.customSeekHandler!="function")throw new e("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new _e.customSeekHandler}else throw new e("Invalid seekType in config: ".concat(_e.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=B;else if(w.isSupported())this._loaderClass=w;else if(I.isSupported())this._loaderClass=I;else if(R.isSupported())this._loaderClass=R;else throw new t("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(_e){this._currentRange={from:0,to:-1},_e&&(this._currentRange.from=_e),this._speedSampler.reset(),_e||(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 _e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(_e,!0)}}},{key:"seek",value:function(_e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(_e,!0)}},{key:"_internalSeek",value:function(_e,ke){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(ke),this._loader.destroy(),this._loader=null;var Pe={from:_e,to:-1};this._currentRange={from:Pe.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Pe),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(_e){if(!_e||typeof _e!="string"||_e.length===0)throw new e("Url must be a non-empty string!");this._dataSource.url=_e}},{key:"_expandBuffer",value:function(_e){for(var ke=this._stashSize;ke+1024*1024*1<_e;)ke*=2;if(ke+=1024*1024*1,ke===this._bufferSize)return;var Pe=new ArrayBuffer(ke);if(this._stashUsed>0){var rt=new Uint8Array(this._stashBuffer,0,this._stashUsed),Pt=new Uint8Array(Pe,0,ke);Pt.set(rt,0)}this._stashBuffer=Pe,this._bufferSize=ke}},{key:"_normalizeSpeed",value:function(_e){var ke=this._speedNormalizeList,Pe=ke.length-1,rt=0,Pt=0,Yt=Pe;if(_e<ke[0])return ke[0];for(;Pt<=Yt;){if(rt=Pt+Math.floor((Yt-Pt)/2),rt===Pe||_e>=ke[rt]&&_e<ke[rt+1])return ke[rt];ke[rt]<_e?Pt=rt+1:Yt=rt-1}}},{key:"_adjustStashSize",value:function(_e){var ke=0;this._config.isLive||_e<512?ke=_e:_e>=512&&_e<=1024?ke=Math.floor(_e*1.5):ke=_e*2,ke>8192&&(ke=8192);var Pe=ke*1024+1024*1024*1;this._bufferSize<Pe&&this._expandBuffer(Pe),this._stashSize=ke*1024}},{key:"_dispatchChunks",value:function(_e,ke){return this._currentRange.to=ke+_e.byteLength-1,this._onDataArrival(_e,ke)}},{key:"_onURLRedirect",value:function(_e){this._redirectedURL=_e,this._onRedirect&&this._onRedirect(_e)}},{key:"_onContentLengthKnown",value:function(_e){_e&&this._fullRequestFlag&&(this._totalLength=_e,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(_e,ke,Pe){if(!this._onDataArrival)throw new s("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(_e.byteLength);var rt=this._speedSampler.lastSecondKBps;if(rt!==0){var Pt=this._normalizeSpeed(rt);this._speedNormalized!==Pt&&(this._speedNormalized=Pt,this._adjustStashSize(Pt))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=ke),this._stashUsed+_e.byteLength<=this._stashSize){var ht=new Uint8Array(this._stashBuffer,0,this._stashSize);ht.set(new Uint8Array(_e),this._stashUsed),this._stashUsed+=_e.byteLength}else{var ot=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Wt=this._stashBuffer.slice(0,this._stashUsed),Jt=this._dispatchChunks(Wt,this._stashByteStart);if(Jt<Wt.byteLength){if(Jt>0){var At=new Uint8Array(Wt,Jt);ot.set(At,0),this._stashUsed=At.byteLength,this._stashByteStart+=Jt}}else this._stashUsed=0,this._stashByteStart+=Jt;this._stashUsed+_e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+_e.byteLength),ot=new Uint8Array(this._stashBuffer,0,this._bufferSize)),ot.set(new Uint8Array(_e),this._stashUsed),this._stashUsed+=_e.byteLength}else{var Bt=this._dispatchChunks(_e,ke);if(Bt<_e.byteLength){var mt=_e.byteLength-Bt;mt>this._bufferSize&&(this._expandBuffer(mt),ot=new Uint8Array(this._stashBuffer,0,this._bufferSize)),ot.set(new Uint8Array(_e,Bt),0),this._stashUsed+=mt,this._stashByteStart=ke+Bt}}}else if(this._stashUsed===0){var Yt=this._dispatchChunks(_e,ke);if(Yt<_e.byteLength){var kt=_e.byteLength-Yt;kt>this._bufferSize&&this._expandBuffer(kt);var _r=new Uint8Array(this._stashBuffer,0,this._bufferSize);_r.set(new Uint8Array(_e,Yt),0),this._stashUsed+=kt,this._stashByteStart=ke+Yt}}else{this._stashUsed+_e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+_e.byteLength);var Rr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Rr.set(new Uint8Array(_e),this._stashUsed),this._stashUsed+=_e.byteLength;var un=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(un<this._stashUsed&&un>0){var Ut=new Uint8Array(this._stashBuffer,un);Rr.set(Ut,0)}this._stashUsed-=un,this._stashByteStart+=un}}},{key:"_flushStashBuffer",value:function(_e){if(this._stashUsed>0){var ke=this._stashBuffer.slice(0,this._stashUsed),Pe=this._dispatchChunks(ke,this._stashByteStart),rt=ke.byteLength-Pe;if(Pe<ke.byteLength)if(_e)c.w(this.TAG,"".concat(rt," bytes unconsumed data remain when flush buffer, dropped"));else{if(Pe>0){var Pt=new Uint8Array(this._stashBuffer,0,this._bufferSize),Yt=new Uint8Array(ke,Pe);Pt.set(Yt,0),this._stashUsed=Yt.byteLength,this._stashByteStart+=Pe}return 0}return this._stashUsed=0,this._stashByteStart=0,rt}return 0}},{key:"_onLoaderComplete",value:function(_e,ke){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(_e,ke){c.e(this.TAG,"Loader error, code = ".concat(ke.code,", msg = ").concat(ke.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,_e=u.UNRECOVERABLE_EARLY_EOF);switch(_e){case u.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Pe=this._currentRange.to+1;Pe<this._totalLength&&(c.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Pe,!1));return}_e=u.UNRECOVERABLE_EARLY_EOF;break}case u.UNRECOVERABLE_EARLY_EOF:case u.CONNECTING_TIMEOUT:case u.HTTP_STATUS_CODE_INVALID:case u.EXCEPTION:break}if(this._onError)this._onError(_e,ke);else throw new t("IOException: "+ke.msg)}}]),Nt}(),V=W,z={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 Y(){return Object.assign({},z)}var J=function(){function Nt(){Object(_.a)(this,Nt)}return Object(x.a)(Nt,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var _e=new V({},Y()),ke=_e.loaderType;return _e.destroy(),ke=="fetch-stream-loader"||ke=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var _e=new V({},Y()),ke=_e.loaderType;return _e.destroy(),ke}},{key:"supportNativeMediaPlayback",value:function(_e){Nt.videoElement==null&&(Nt.videoElement=window.document.createElement("video"));var ke=Nt.videoElement.canPlayType(_e);return ke==="probably"||ke=="maybe"}},{key:"getFeatureList",value:function(){var _e={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return _e.mseFlvPlayback=Nt.supportMSEH264Playback(),_e.networkStreamIO=Nt.supportNetworkStreamIO(),_e.networkLoaderName=Nt.getNetworkLoaderTypeName(),_e.mseLiveFlvPlayback=_e.mseFlvPlayback&&_e.networkStreamIO,_e.nativeMP4H264Playback=Nt.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),_e.nativeWebmVP8Playback=Nt.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),_e.nativeWebmVP9Playback=Nt.supportNativeMediaPlayback('video/webm; codecs="vp9"'),_e}}]),Nt}(),ie=J,Z={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"},oe=Z,ge=function(){function Nt(){Object(_.a)(this,Nt)}return Object(x.a)(Nt,null,[{key:"forceGlobalTag",get:function(){return c.FORCE_GLOBAL_TAG},set:function(_e){c.FORCE_GLOBAL_TAG=_e,Nt._notifyChange()}},{key:"globalTag",get:function(){return c.GLOBAL_TAG},set:function(_e){c.GLOBAL_TAG=_e,Nt._notifyChange()}},{key:"enableAll",get:function(){return c.ENABLE_VERBOSE&&c.ENABLE_DEBUG&&c.ENABLE_INFO&&c.ENABLE_WARN&&c.ENABLE_ERROR},set:function(_e){c.ENABLE_VERBOSE=_e,c.ENABLE_DEBUG=_e,c.ENABLE_INFO=_e,c.ENABLE_WARN=_e,c.ENABLE_ERROR=_e,Nt._notifyChange()}},{key:"enableDebug",get:function(){return c.ENABLE_DEBUG},set:function(_e){c.ENABLE_DEBUG=_e,Nt._notifyChange()}},{key:"enableVerbose",get:function(){return c.ENABLE_VERBOSE},set:function(_e){c.ENABLE_VERBOSE=_e,Nt._notifyChange()}},{key:"enableInfo",get:function(){return c.ENABLE_INFO},set:function(_e){c.ENABLE_INFO=_e,Nt._notifyChange()}},{key:"enableWarn",get:function(){return c.ENABLE_WARN},set:function(_e){c.ENABLE_WARN=_e,Nt._notifyChange()}},{key:"enableError",get:function(){return c.ENABLE_ERROR},set:function(_e){c.ENABLE_ERROR=_e,Nt._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(_e){c.GLOBAL_TAG=_e.globalTag,c.FORCE_GLOBAL_TAG=_e.forceGlobalTag,c.ENABLE_VERBOSE=_e.enableVerbose,c.ENABLE_DEBUG=_e.enableDebug,c.ENABLE_INFO=_e.enableInfo,c.ENABLE_WARN=_e.enableWarn,c.ENABLE_ERROR=_e.enableError,c.ENABLE_CALLBACK=_e.enableCallback}},{key:"_notifyChange",value:function(){var _e=Nt.emitter;if(_e.listenerCount("change")>0){var ke=Nt.getConfig();_e.emit("change",ke)}}},{key:"registerListener",value:function(_e){Nt.emitter.addListener("change",_e)}},{key:"removeListener",value:function(_e){Nt.emitter.removeListener("change",_e)}},{key:"addLogListener",value:function(_e){c.emitter.addListener("log",_e),c.emitter.listenerCount("log")>0&&(c.ENABLE_CALLBACK=!0,Nt._notifyChange())}},{key:"removeLogListener",value:function(_e){c.emitter.removeListener("log",_e),c.emitter.listenerCount("log")===0&&(c.ENABLE_CALLBACK=!1,Nt._notifyChange())}}]),Nt}();ge.emitter=new m.a;var pe=ge,De=function(){function Nt(){Object(_.a)(this,Nt),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(x.a)(Nt,[{key:"isComplete",value:function(){var _e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,ke=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&&_e&&ke}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(_e){if(this.keyframesIndex==null)return null;var ke=this.keyframesIndex,Pe=this._search(ke.times,_e);return{index:Pe,milliseconds:ke.times[Pe],fileposition:ke.filepositions[Pe]}}},{key:"_search",value:function(_e,ke){var Pe=0,rt=_e.length-1,Pt=0,Yt=0,kt=rt;for(ke<_e[0]&&(Pe=0,Yt=kt+1);Yt<=kt;)if(Pt=Yt+Math.floor((kt-Yt)/2),Pt===rt||ke>=_e[Pt]&&ke<_e[Pt+1]){Pe=Pt;break}else _e[Pt]<ke?Yt=Pt+1:kt=Pt-1;return Pe}}]),Nt}(),ce=De;function Oe(Nt,Ve,_e){var ke=Nt;if(Ve+_e<ke.length){for(;_e--;)if((ke[++Ve]&192)!==128)return!1;return!0}else return!1}function se(Nt){for(var Ve=[],_e=Nt,ke=0,Pe=Nt.length;ke<Pe;){if(_e[ke]<128){Ve.push(String.fromCharCode(_e[ke])),++ke;continue}else if(!(_e[ke]<192)){if(_e[ke]<224){if(Oe(_e,ke,1)){var rt=(_e[ke]&31)<<6|_e[ke+1]&63;if(rt>=128){Ve.push(String.fromCharCode(rt&65535)),ke+=2;continue}}}else if(_e[ke]<240){if(Oe(_e,ke,2)){var Pt=(_e[ke]&15)<<12|(_e[ke+1]&63)<<6|_e[ke+2]&63;if(Pt>=2048&&(Pt&63488)!==55296){Ve.push(String.fromCharCode(Pt&65535)),ke+=3;continue}}}else if(_e[ke]<248&&Oe(_e,ke,3)){var Yt=(_e[ke]&7)<<18|(_e[ke+1]&63)<<12|(_e[ke+2]&63)<<6|_e[ke+3]&63;if(Yt>65536&&Yt<1114112){Yt-=65536,Ve.push(String.fromCharCode(Yt>>>10|55296)),Ve.push(String.fromCharCode(Yt&1023|56320)),ke+=4;continue}}}Ve.push(String.fromCharCode(65533)),++ke}return Ve.join("")}var $=se,ze=function(){var Nt=new ArrayBuffer(2);return new DataView(Nt).setInt16(0,256,!0),new Int16Array(Nt)[0]===256}(),re=function(){function Nt(){Object(_.a)(this,Nt)}return Object(x.a)(Nt,null,[{key:"parseScriptData",value:function(_e,ke,Pe){var rt={};try{var Pt=Nt.parseValue(_e,ke,Pe),Yt=Nt.parseValue(_e,ke+Pt.size,Pe-Pt.size);rt[Pt.data]=Yt.data}catch(kt){c.e("AMF",kt.toString())}return rt}},{key:"parseObject",value:function(_e,ke,Pe){if(Pe<3)throw new s("Data not enough when parse ScriptDataObject");var rt=Nt.parseString(_e,ke,Pe),Pt=Nt.parseValue(_e,ke+rt.size,Pe-rt.size),Yt=Pt.objectEnd;return{data:{name:rt.data,value:Pt.data},size:rt.size+Pt.size,objectEnd:Yt}}},{key:"parseVariable",value:function(_e,ke,Pe){return Nt.parseObject(_e,ke,Pe)}},{key:"parseString",value:function(_e,ke,Pe){if(Pe<2)throw new s("Data not enough when parse String");var rt=new DataView(_e,ke,Pe),Pt=rt.getUint16(0,!ze),Yt;return Pt>0?Yt=$(new Uint8Array(_e,ke+2,Pt)):Yt="",{data:Yt,size:2+Pt}}},{key:"parseLongString",value:function(_e,ke,Pe){if(Pe<4)throw new s("Data not enough when parse LongString");var rt=new DataView(_e,ke,Pe),Pt=rt.getUint32(0,!ze),Yt;return Pt>0?Yt=$(new Uint8Array(_e,ke+4,Pt)):Yt="",{data:Yt,size:4+Pt}}},{key:"parseDate",value:function(_e,ke,Pe){if(Pe<10)throw new s("Data size invalid when parse Date");var rt=new DataView(_e,ke,Pe),Pt=rt.getFloat64(0,!ze),Yt=rt.getInt16(8,!ze);return Pt+=Yt*60*1e3,{data:new Date(Pt),size:8+2}}},{key:"parseValue",value:function(_e,ke,Pe){if(Pe<1)throw new s("Data not enough when parse Value");var rt=new DataView(_e,ke,Pe),Pt=1,Yt=rt.getUint8(0),kt,_r=!1;try{switch(Yt){case 0:kt=rt.getFloat64(1,!ze),Pt+=8;break;case 1:{var Rr=rt.getUint8(1);kt=!!Rr,Pt+=1;break}case 2:{var un=Nt.parseString(_e,ke+1,Pe-1);kt=un.data,Pt+=un.size;break}case 3:{kt={};var Ut=0;for((rt.getUint32(Pe-4,!ze)&16777215)===9&&(Ut=3);Pt<Pe-4;){var ht=Nt.parseObject(_e,ke+Pt,Pe-Pt-Ut);if(ht.objectEnd)break;kt[ht.data.name]=ht.data.value,Pt+=ht.size}if(Pt<=Pe-3){var ot=rt.getUint32(Pt-1,!ze)&16777215;ot===9&&(Pt+=3)}break}case 8:{kt={},Pt+=4;var Wt=0;for((rt.getUint32(Pe-4,!ze)&16777215)===9&&(Wt=3);Pt<Pe-8;){var Jt=Nt.parseVariable(_e,ke+Pt,Pe-Pt-Wt);if(Jt.objectEnd)break;kt[Jt.data.name]=Jt.data.value,Pt+=Jt.size}if(Pt<=Pe-3){var At=rt.getUint32(Pt-1,!ze)&16777215;At===9&&(Pt+=3)}break}case 9:kt=void 0,Pt=1,_r=!0;break;case 10:{kt=[];var Bt=rt.getUint32(1,!ze);Pt+=4;for(var mt=0;mt<Bt;mt++){var Mt=Nt.parseValue(_e,ke+Pt,Pe-Pt);kt.push(Mt.data),Pt+=Mt.size}break}case 11:{var hr=Nt.parseDate(_e,ke+1,Pe-1);kt=hr.data,Pt+=hr.size;break}case 12:{var or=Nt.parseString(_e,ke+1,Pe-1);kt=or.data,Pt+=or.size;break}default:Pt=Pe,c.w("AMF","Unsupported AMF value type "+Yt)}}catch(ar){c.e("AMF",ar.toString())}return{data:kt,size:Pt,objectEnd:_r}}}]),Nt}(),X=re,G=function(){function Nt(Ve){Object(_.a)(this,Nt),this.TAG="ExpGolomb",this._buffer=Ve,this._buffer_index=0,this._total_bytes=Ve.byteLength,this._total_bits=Ve.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(x.a)(Nt,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var _e=this._total_bytes-this._buffer_index;if(_e<=0)throw new s("ExpGolomb: _fillCurrentWord() but no bytes available");var ke=Math.min(4,_e),Pe=new Uint8Array(4);Pe.set(this._buffer.subarray(this._buffer_index,this._buffer_index+ke)),this._current_word=new DataView(Pe.buffer).getUint32(0,!1),this._buffer_index+=ke,this._current_word_bits_left=ke*8}},{key:"readBits",value:function(_e){if(_e>32)throw new e("ExpGolomb: readBits() bits exceeded max 32bits!");if(_e<=this._current_word_bits_left){var ke=this._current_word>>>32-_e;return this._current_word<<=_e,this._current_word_bits_left-=_e,ke}var Pe=this._current_word_bits_left?this._current_word:0;Pe=Pe>>>32-this._current_word_bits_left;var rt=_e-this._current_word_bits_left;this._fillCurrentWord();var Pt=Math.min(rt,this._current_word_bits_left),Yt=this._current_word>>>32-Pt;return this._current_word<<=Pt,this._current_word_bits_left-=Pt,Pe=Pe<<Pt|Yt,Pe}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var _e;for(_e=0;_e<this._current_word_bits_left;_e++)if((this._current_word&2147483648>>>_e)!==0)return this._current_word<<=_e,this._current_word_bits_left-=_e,_e;return this._fillCurrentWord(),_e+this._skipLeadingZero()}},{key:"readUEG",value:function(){var _e=this._skipLeadingZero();return this.readBits(_e+1)-1}},{key:"readSEG",value:function(){var _e=this.readUEG();return _e&1?_e+1>>>1:-1*(_e>>>1)}}]),Nt}(),Q=G,ve=function(){function Nt(){Object(_.a)(this,Nt)}return Object(x.a)(Nt,null,[{key:"_ebsp2rbsp",value:function(_e){for(var ke=_e,Pe=ke.byteLength,rt=new Uint8Array(Pe),Pt=0,Yt=0;Yt<Pe;Yt++){if(Yt>=2&&(ke[Yt]===3&&ke[Yt-1]===0&&ke[Yt-2]===0))continue;rt[Pt]=ke[Yt],Pt++}return new Uint8Array(rt.buffer,0,Pt)}},{key:"parseSPS",value:function(_e){var ke=Nt._ebsp2rbsp(_e),Pe=new Q(ke);Pe.readByte();var rt=Pe.readByte();Pe.readByte();var Pt=Pe.readByte();Pe.readUEG();var Yt=Nt.getProfileString(rt),kt=Nt.getLevelString(Pt),_r=1,Rr=420,un=[0,420,422,444],Ut=8;if((rt===100||rt===110||rt===122||rt===244||rt===44||rt===83||rt===86||rt===118||rt===128||rt===138||rt===144)&&(_r=Pe.readUEG(),_r===3&&Pe.readBits(1),_r<=3&&(Rr=un[_r]),Ut=Pe.readUEG()+8,Pe.readUEG(),Pe.readBits(1),Pe.readBool()))for(var ht=_r!==3?8:12,ot=0;ot<ht;ot++)Pe.readBool()&&(ot<6?Nt._skipScalingList(Pe,16):Nt._skipScalingList(Pe,64));Pe.readUEG();var Wt=Pe.readUEG();if(Wt===0)Pe.readUEG();else if(Wt===1){Pe.readBits(1),Pe.readSEG(),Pe.readSEG();for(var Jt=Pe.readUEG(),At=0;At<Jt;At++)Pe.readSEG()}var Bt=Pe.readUEG();Pe.readBits(1);var mt=Pe.readUEG(),Mt=Pe.readUEG(),hr=Pe.readBits(1);hr===0&&Pe.readBits(1),Pe.readBits(1);var or=0,ar=0,Gr=0,Yr=0,In=Pe.readBool();In&&(or=Pe.readUEG(),ar=Pe.readUEG(),Gr=Pe.readUEG(),Yr=Pe.readUEG());var Nn=1,Kn=1,$n=0,Ii=!0,Mi=0,Xe=0,Ie=Pe.readBool();if(Ie){if(Pe.readBool()){var Be=Pe.readByte(),Fe=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Ge=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Be>0&&Be<16?(Nn=Fe[Be-1],Kn=Ge[Be-1]):Be===255&&(Nn=Pe.readByte()<<8|Pe.readByte(),Kn=Pe.readByte()<<8|Pe.readByte())}if(Pe.readBool()&&Pe.readBool(),Pe.readBool()&&(Pe.readBits(4),Pe.readBool()&&Pe.readBits(24)),Pe.readBool()&&(Pe.readUEG(),Pe.readUEG()),Pe.readBool()){var Ke=Pe.readBits(32),qe=Pe.readBits(32);Ii=Pe.readBool(),Mi=qe,Xe=Ke*2,$n=Mi/Xe}}var vt=1;(Nn!==1||Kn!==1)&&(vt=Nn/Kn);var lt=0,Ft=0;if(_r===0)lt=1,Ft=2-hr;else{var wr=_r===3?1:2,pr=_r===1?2:1;lt=wr,Ft=pr*(2-hr)}var Dr=(mt+1)*16,zt=(2-hr)*((Mt+1)*16);Dr-=(or+ar)*lt,zt-=(Gr+Yr)*Ft;var hn=Math.ceil(Dr*vt);return Pe.destroy(),Pe=null,{profile_string:Yt,level_string:kt,bit_depth:Ut,ref_frames:Bt,chroma_format:Rr,chroma_format_string:Nt.getChromaFormatString(Rr),frame_rate:{fixed:Ii,fps:$n,fps_den:Xe,fps_num:Mi},sar_ratio:{width:Nn,height:Kn},codec_size:{width:Dr,height:zt},present_size:{width:hn,height:zt}}}},{key:"_skipScalingList",value:function(_e,ke){for(var Pe=8,rt=8,Pt=0,Yt=0;Yt<ke;Yt++)rt!==0&&(Pt=_e.readSEG(),rt=(Pe+Pt+256)%256),Pe=rt===0?Pe:rt}},{key:"getProfileString",value:function(_e){switch(_e){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(_e){return(_e/10).toFixed(1)}},{key:"getChromaFormatString",value:function(_e){switch(_e){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),Nt}(),de=ve,Ce={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},we=Ce;function le(Nt){return Nt>>>8&255|(Nt&255)<<8}function fe(Nt){return(Nt&4278190080)>>>24|(Nt&16711680)>>>8|(Nt&65280)<<8|(Nt&255)<<24}function xe(Nt,Ve){return Nt[Ve]<<24|Nt[Ve+1]<<16|Nt[Ve+2]<<8|Nt[Ve+3]}var We=function(){function Nt(Ve,_e){Object(_.a)(this,Nt),this.TAG="FLVDemuxer",this._config=_e,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=Ve.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=Ve.hasAudioTrack,this._hasVideo=Ve.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new ce,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 ke=new ArrayBuffer(2);return new DataView(ke).setInt16(0,256,!0),new Int16Array(ke)[0]===256}()}return Object(x.a)(Nt,[{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(_e){return _e.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(_e){this._onTrackMetadata=_e}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(_e){this._onMediaInfo=_e}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(_e){this._onMetaDataArrived=_e}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(_e){this._onScriptDataArrived=_e}},{key:"onError",get:function(){return this._onError},set:function(_e){this._onError=_e}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(_e){this._onDataAvailable=_e}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(_e){this._timestampBase=_e}},{key:"overridedDuration",get:function(){return this._duration},set:function(_e){this._durationOverrided=!0,this._duration=_e,this._mediaInfo.duration=_e}},{key:"overridedHasAudio",set:function(_e){this._hasAudioFlagOverrided=!0,this._hasAudio=_e,this._mediaInfo.hasAudio=_e}},{key:"overridedHasVideo",set:function(_e){this._hasVideoFlagOverrided=!0,this._hasVideo=_e,this._mediaInfo.hasVideo=_e}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new ce}},{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(_e,ke){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new s("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Pe=0,rt=this._littleEndian;if(ke===0)if(_e.byteLength>13){var Pt=Nt.probe(_e);Pe=Pt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,ke+Pe!==this._dataOffset&&c.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Yt=new DataView(_e,Pe),kt=Yt.getUint32(0,!rt);kt!==0&&c.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Pe+=4}for(;Pe<_e.byteLength;){this._dispatch=!0;var _r=new DataView(_e,Pe);if(Pe+11+4>_e.byteLength)break;var Rr=_r.getUint8(0),un=_r.getUint32(0,!rt)&16777215;if(Pe+11+un+4>_e.byteLength)break;if(Rr!==8&&Rr!==9&&Rr!==18){c.w(this.TAG,"Unsupported tag type ".concat(Rr,", skipped")),Pe+=11+un+4;continue}var Ut=_r.getUint8(4),ht=_r.getUint8(5),ot=_r.getUint8(6),Wt=_r.getUint8(7),Jt=ot|ht<<8|Ut<<16|Wt<<24,At=_r.getUint32(7,!rt)&16777215;At!==0&&c.w(this.TAG,"Meet tag which has StreamID != 0!");var Bt=Pe+11;switch(Rr){case 8:this._parseAudioData(_e,Bt,un,Jt);break;case 9:this._parseVideoData(_e,Bt,un,Jt,ke+Pe);break;case 18:this._parseScriptData(_e,Bt,un);break}var mt=_r.getUint32(11+un,!rt);mt!==11+un&&c.w(this.TAG,"Invalid PrevTagSize ".concat(mt)),Pe+=11+un+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Pe}},{key:"_parseScriptData",value:function(_e,ke,Pe){var rt=X.parseScriptData(_e,ke,Pe);if(rt.hasOwnProperty("onMetaData")){if(rt.onMetaData==null||typeof rt.onMetaData!="object"){c.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&c.w(this.TAG,"Found another onMetaData tag!"),this._metadata=rt;var Pt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Pt)),typeof Pt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Pt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Pt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Pt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Pt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Pt.audiodatarate),typeof Pt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Pt.videodatarate),typeof Pt.width=="number"&&(this._mediaInfo.width=Pt.width),typeof Pt.height=="number"&&(this._mediaInfo.height=Pt.height),typeof Pt.duration=="number"){if(!this._durationOverrided){var Yt=Math.floor(Pt.duration*this._timescale);this._duration=Yt,this._mediaInfo.duration=Yt}}else this._mediaInfo.duration=0;if(typeof Pt.framerate=="number"){var kt=Math.floor(Pt.framerate*1e3);if(kt>0){var _r=kt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=_r,this._referenceFrameRate.fps_num=kt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=_r}}if(typeof Pt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Rr=Pt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Rr),Pt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Pt,c.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(rt).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},rt)))}},{key:"_parseKeyframesIndex",value:function(_e){for(var ke=[],Pe=[],rt=1;rt<_e.times.length;rt++){var Pt=this._timestampBase+Math.floor(_e.times[rt]*1e3);ke.push(Pt),Pe.push(_e.filepositions[rt])}return{times:ke,filepositions:Pe}}},{key:"_parseAudioData",value:function(_e,ke,Pe,rt){if(Pe<=1){c.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Pt=this._littleEndian,Yt=new DataView(_e,ke,Pe),kt=Yt.getUint8(0),_r=kt>>>4;if(_r!==2&&_r!==10){this._onError(we.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+_r);return}var Rr=0,un=(kt&12)>>>2;if(un>=0&&un<=4)Rr=this._flvSoundRateTable[un];else{this._onError(we.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+un);return}var Ut=(kt&2)>>>1,ht=kt&1,ot=this._audioMetadata,Wt=this._audioTrack;if(ot||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),ot=this._audioMetadata={},ot.type="audio",ot.id=Wt.id,ot.timescale=this._timescale,ot.duration=this._duration,ot.audioSampleRate=Rr,ot.channelCount=ht===0?1:2),_r===10){var Jt=this._parseAACAudioData(_e,ke+1,Pe-1);if(Jt==null)return;if(Jt.packetType===0){ot.config&&c.w(this.TAG,"Found another AudioSpecificConfig!");var At=Jt.data;ot.audioSampleRate=At.samplingRate,ot.channelCount=At.channelCount,ot.codec=At.codec,ot.originalCodec=At.originalCodec,ot.config=At.config,ot.refSampleDuration=1024/ot.audioSampleRate*ot.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",ot);var Bt=this._mediaInfo;Bt.audioCodec=ot.originalCodec,Bt.audioSampleRate=ot.audioSampleRate,Bt.audioChannelCount=ot.channelCount,Bt.hasVideo?Bt.videoCodec!=null&&(Bt.mimeType='video/x-flv; codecs="'+Bt.videoCodec+","+Bt.audioCodec+'"'):Bt.mimeType='video/x-flv; codecs="'+Bt.audioCodec+'"',Bt.isComplete()&&this._onMediaInfo(Bt)}else if(Jt.packetType===1){var mt=this._timestampBase+rt,Mt={unit:Jt.data,length:Jt.data.byteLength,dts:mt,pts:mt};Wt.samples.push(Mt),Wt.length+=Jt.data.length}else c.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Jt.packetType))}else if(_r===2){if(!ot.codec){var hr=this._parseMP3AudioData(_e,ke+1,Pe-1,!0);if(hr==null)return;ot.audioSampleRate=hr.samplingRate,ot.channelCount=hr.channelCount,ot.codec=hr.codec,ot.originalCodec=hr.originalCodec,ot.refSampleDuration=1152/ot.audioSampleRate*ot.timescale,c.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",ot);var or=this._mediaInfo;or.audioCodec=ot.codec,or.audioSampleRate=ot.audioSampleRate,or.audioChannelCount=ot.channelCount,or.audioDataRate=hr.bitRate,or.hasVideo?or.videoCodec!=null&&(or.mimeType='video/x-flv; codecs="'+or.videoCodec+","+or.audioCodec+'"'):or.mimeType='video/x-flv; codecs="'+or.audioCodec+'"',or.isComplete()&&this._onMediaInfo(or)}var ar=this._parseMP3AudioData(_e,ke+1,Pe-1,!1);if(ar==null)return;var Gr=this._timestampBase+rt,Yr={unit:ar,length:ar.byteLength,dts:Gr,pts:Gr};Wt.samples.push(Yr),Wt.length+=ar.length}}},{key:"_parseAACAudioData",value:function(_e,ke,Pe){if(Pe<=1){c.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var rt={},Pt=new Uint8Array(_e,ke,Pe);return rt.packetType=Pt[0],Pt[0]===0?rt.data=this._parseAACAudioSpecificConfig(_e,ke+1,Pe-1):rt.data=Pt.subarray(1),rt}},{key:"_parseAACAudioSpecificConfig",value:function(_e,ke,Pe){var rt=new Uint8Array(_e,ke,Pe),Pt=null,Yt=0,kt=0,_r=null,Rr=0,un=null;if(Yt=kt=rt[0]>>>3,Rr=(rt[0]&7)<<1|rt[1]>>>7,Rr<0||Rr>=this._mpegSamplingRates.length){this._onError(we.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Ut=this._mpegSamplingRates[Rr],ht=(rt[1]&120)>>>3;if(ht<0||ht>=8){this._onError(we.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Yt===5&&(un=(rt[1]&7)<<1|rt[2]>>>7,_r=(rt[2]&124)>>>2);var ot=self.navigator.userAgent.toLowerCase();return ot.indexOf("firefox")!==-1?Rr>=6?(Yt=5,Pt=new Array(4),un=Rr-3):(Yt=2,Pt=new Array(2),un=Rr):ot.indexOf("android")!==-1?(Yt=2,Pt=new Array(2),un=Rr):(Yt=5,un=Rr,Pt=new Array(4),Rr>=6?un=Rr-3:ht===1&&(Yt=2,Pt=new Array(2),un=Rr)),Pt[0]=Yt<<3,Pt[0]|=(Rr&15)>>>1,Pt[1]=(Rr&15)<<7,Pt[1]|=(ht&15)<<3,Yt===5&&(Pt[1]|=(un&15)>>>1,Pt[2]=(un&1)<<7,Pt[2]|=2<<2,Pt[3]=0),{config:Pt,samplingRate:Ut,channelCount:ht,codec:"mp4a.40."+Yt,originalCodec:"mp4a.40."+kt}}},{key:"_parseMP3AudioData",value:function(_e,ke,Pe,rt){if(Pe<4){c.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Pt=this._littleEndian,Yt=new Uint8Array(_e,ke,Pe),kt=null;if(rt){if(Yt[0]!==255)return;var _r=Yt[1]>>>3&3,Rr=(Yt[1]&6)>>1,un=(Yt[2]&240)>>>4,Ut=(Yt[2]&12)>>>2,ht=Yt[3]>>>6&3,ot=ht!==3?2:1,Wt=0,Jt=0,At=34,Bt="mp3";switch(_r){case 0:Wt=this._mpegAudioV25SampleRateTable[Ut];break;case 2:Wt=this._mpegAudioV20SampleRateTable[Ut];break;case 3:Wt=this._mpegAudioV10SampleRateTable[Ut];break}switch(Rr){case 1:At=34,un<this._mpegAudioL3BitRateTable.length&&(Jt=this._mpegAudioL3BitRateTable[un]);break;case 2:At=33,un<this._mpegAudioL2BitRateTable.length&&(Jt=this._mpegAudioL2BitRateTable[un]);break;case 3:At=32,un<this._mpegAudioL1BitRateTable.length&&(Jt=this._mpegAudioL1BitRateTable[un]);break}kt={bitRate:Jt,samplingRate:Wt,channelCount:ot,codec:Bt,originalCodec:Bt}}else kt=Yt;return kt}},{key:"_parseVideoData",value:function(_e,ke,Pe,rt,Pt){if(Pe<=1){c.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Yt=new Uint8Array(_e,ke,Pe)[0],kt=(Yt&240)>>>4,_r=Yt&15;if(_r!==7){this._onError(we.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(_r));return}this._parseAVCVideoPacket(_e,ke+1,Pe-1,rt,Pt,kt)}},{key:"_parseAVCVideoPacket",value:function(_e,ke,Pe,rt,Pt,Yt){if(Pe<4){c.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var kt=this._littleEndian,_r=new DataView(_e,ke,Pe),Rr=_r.getUint8(0),un=_r.getUint32(0,!kt)&16777215,Ut=un<<8>>8;if(Rr===0)this._parseAVCDecoderConfigurationRecord(_e,ke+4,Pe-4);else if(Rr===1)this._parseAVCVideoData(_e,ke+4,Pe-4,rt,Pt,Yt,Ut);else if(!(Rr===2)){this._onError(we.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Rr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(_e,ke,Pe){if(Pe<7){c.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var rt=this._videoMetadata,Pt=this._videoTrack,Yt=this._littleEndian,kt=new DataView(_e,ke,Pe);rt?typeof rt.avcc!="undefined"&&c.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),rt=this._videoMetadata={},rt.type="video",rt.id=Pt.id,rt.timescale=this._timescale,rt.duration=this._duration);var _r=kt.getUint8(0),Rr=kt.getUint8(1),un=kt.getUint8(2),Ut=kt.getUint8(3);if(_r!==1||Rr===0){this._onError(we.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(kt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(we.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var ht=kt.getUint8(5)&31;if(ht===0){this._onError(we.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else ht>1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(ht));for(var ot=6,Wt=0;Wt<ht;Wt++){var Jt=kt.getUint16(ot,!Yt);if(ot+=2,Jt===0)continue;var At=new Uint8Array(_e,ke+ot,Jt);ot+=Jt;var Bt=de.parseSPS(At);if(Wt!==0)continue;rt.codecWidth=Bt.codec_size.width,rt.codecHeight=Bt.codec_size.height,rt.presentWidth=Bt.present_size.width,rt.presentHeight=Bt.present_size.height,rt.profile=Bt.profile_string,rt.level=Bt.level_string,rt.bitDepth=Bt.bit_depth,rt.chromaFormat=Bt.chroma_format,rt.sarRatio=Bt.sar_ratio,rt.frameRate=Bt.frame_rate,(Bt.frame_rate.fixed===!1||Bt.frame_rate.fps_num===0||Bt.frame_rate.fps_den===0)&&(rt.frameRate=this._referenceFrameRate);var mt=rt.frameRate.fps_den,Mt=rt.frameRate.fps_num;rt.refSampleDuration=rt.timescale*(mt/Mt);for(var hr=At.subarray(1,4),or="avc1.",ar=0;ar<3;ar++){var Gr=hr[ar].toString(16);Gr.length<2&&(Gr="0"+Gr),or+=Gr}rt.codec=or;var Yr=this._mediaInfo;Yr.width=rt.codecWidth,Yr.height=rt.codecHeight,Yr.fps=rt.frameRate.fps,Yr.profile=rt.profile,Yr.level=rt.level,Yr.refFrames=Bt.ref_frames,Yr.chromaFormat=Bt.chroma_format_string,Yr.sarNum=rt.sarRatio.width,Yr.sarDen=rt.sarRatio.height,Yr.videoCodec=or,Yr.hasAudio?Yr.audioCodec!=null&&(Yr.mimeType='video/x-flv; codecs="'+Yr.videoCodec+","+Yr.audioCodec+'"'):Yr.mimeType='video/x-flv; codecs="'+Yr.videoCodec+'"',Yr.isComplete()&&this._onMediaInfo(Yr)}var In=kt.getUint8(ot);if(In===0){this._onError(we.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else In>1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(In));ot++;for(var Nn=0;Nn<In;Nn++){var Kn=kt.getUint16(ot,!Yt);if(ot+=2,Kn===0)continue;ot+=Kn}rt.avcc=new Uint8Array(Pe),rt.avcc.set(new Uint8Array(_e,ke,Pe),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",rt)}},{key:"_parseAVCVideoData",value:function(_e,ke,Pe,rt,Pt,Yt,kt){for(var _r=this._littleEndian,Rr=new DataView(_e,ke,Pe),un=[],Ut=0,ht=0,ot=this._naluLengthSize,Wt=this._timestampBase+rt,Jt=Yt===1;ht<Pe;){if(ht+4>=Pe){c.w(this.TAG,"Malformed Nalu near timestamp ".concat(Wt,", offset = ").concat(ht,", dataSize = ").concat(Pe));break}var At=Rr.getUint32(ht,!_r);if(ot===3&&(At>>>=8),At>Pe-ot){c.w(this.TAG,"Malformed Nalus near timestamp ".concat(Wt,", NaluSize > DataSize!"));return}var Bt=Rr.getUint8(ht+ot)&31;Bt===5&&(Jt=!0);var mt=new Uint8Array(_e,ke+ht,ot+At),Mt={type:Bt,data:mt};un.push(Mt),Ut+=mt.byteLength,ht+=ot+At}if(un.length){var hr=this._videoTrack,or={units:un,length:Ut,isKeyframe:Jt,dts:Wt,cts:kt,pts:Wt+kt};Jt&&(or.fileposition=Pt),hr.samples.push(or),hr.length+=Ut}}}],[{key:"probe",value:function(_e){var ke=new Uint8Array(_e),Pe={match:!1};if(ke[0]!==70||ke[1]!==76||ke[2]!==86||ke[3]!==1)return Pe;var rt=(ke[4]&4)>>>2!==0,Pt=(ke[4]&1)!==0,Yt=xe(ke,5);return Yt<9?Pe:{match:!0,consumed:Yt,dataOffset:Yt,hasAudioTrack:rt,hasVideoTrack:Pt}}}]),Nt}(),nt=We,$e=function(){function Nt(){Object(_.a)(this,Nt)}return Object(x.a)(Nt,null,[{key:"init",value:function(){Nt.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 _e in Nt.types)Nt.types.hasOwnProperty(_e)&&(Nt.types[_e]=[_e.charCodeAt(0),_e.charCodeAt(1),_e.charCodeAt(2),_e.charCodeAt(3)]);var ke=Nt.constants={};ke.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),ke.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),ke.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),ke.STSC=ke.STCO=ke.STTS,ke.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),ke.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]),ke.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]),ke.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),ke.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),ke.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(_e){for(var ke=8,Pe=null,rt=Array.prototype.slice.call(arguments,1),Pt=rt.length,Yt=0;Yt<Pt;Yt++)ke+=rt[Yt].byteLength;Pe=new Uint8Array(ke),Pe[0]=ke>>>24&255,Pe[1]=ke>>>16&255,Pe[2]=ke>>>8&255,Pe[3]=ke&255,Pe.set(_e,4);for(var kt=8,_r=0;_r<Pt;_r++)Pe.set(rt[_r],kt),kt+=rt[_r].byteLength;return Pe}},{key:"generateInitSegment",value:function(_e){var ke=Nt.box(Nt.types.ftyp,Nt.constants.FTYP),Pe=Nt.moov(_e),rt=new Uint8Array(ke.byteLength+Pe.byteLength);return rt.set(ke,0),rt.set(Pe,ke.byteLength),rt}},{key:"moov",value:function(_e){var ke=Nt.mvhd(_e.timescale,_e.duration),Pe=Nt.trak(_e),rt=Nt.mvex(_e);return Nt.box(Nt.types.moov,ke,Pe,rt)}},{key:"mvhd",value:function(_e,ke){return Nt.box(Nt.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&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(_e){return Nt.box(Nt.types.trak,Nt.tkhd(_e),Nt.mdia(_e))}},{key:"tkhd",value:function(_e){var ke=_e.id,Pe=_e.duration,rt=_e.presentWidth,Pt=_e.presentHeight;return Nt.box(Nt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255,0,0,0,0,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&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,rt>>>8&255,rt&255,0,0,Pt>>>8&255,Pt&255,0,0]))}},{key:"mdia",value:function(_e){return Nt.box(Nt.types.mdia,Nt.mdhd(_e),Nt.hdlr(_e),Nt.minf(_e))}},{key:"mdhd",value:function(_e){var ke=_e.timescale,Pe=_e.duration;return Nt.box(Nt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&255,85,196,0,0]))}},{key:"hdlr",value:function(_e){var ke=null;return _e.type==="audio"?ke=Nt.constants.HDLR_AUDIO:ke=Nt.constants.HDLR_VIDEO,Nt.box(Nt.types.hdlr,ke)}},{key:"minf",value:function(_e){var ke=null;return _e.type==="audio"?ke=Nt.box(Nt.types.smhd,Nt.constants.SMHD):ke=Nt.box(Nt.types.vmhd,Nt.constants.VMHD),Nt.box(Nt.types.minf,ke,Nt.dinf(),Nt.stbl(_e))}},{key:"dinf",value:function(){var _e=Nt.box(Nt.types.dinf,Nt.box(Nt.types.dref,Nt.constants.DREF));return _e}},{key:"stbl",value:function(_e){var ke=Nt.box(Nt.types.stbl,Nt.stsd(_e),Nt.box(Nt.types.stts,Nt.constants.STTS),Nt.box(Nt.types.stsc,Nt.constants.STSC),Nt.box(Nt.types.stsz,Nt.constants.STSZ),Nt.box(Nt.types.stco,Nt.constants.STCO));return ke}},{key:"stsd",value:function(_e){return _e.type==="audio"?_e.codec==="mp3"?Nt.box(Nt.types.stsd,Nt.constants.STSD_PREFIX,Nt.mp3(_e)):Nt.box(Nt.types.stsd,Nt.constants.STSD_PREFIX,Nt.mp4a(_e)):Nt.box(Nt.types.stsd,Nt.constants.STSD_PREFIX,Nt.avc1(_e))}},{key:"mp3",value:function(_e){var ke=_e.channelCount,Pe=_e.audioSampleRate,rt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ke,0,16,0,0,0,0,Pe>>>8&255,Pe&255,0,0]);return Nt.box(Nt.types[".mp3"],rt)}},{key:"mp4a",value:function(_e){var ke=_e.channelCount,Pe=_e.audioSampleRate,rt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ke,0,16,0,0,0,0,Pe>>>8&255,Pe&255,0,0]);return Nt.box(Nt.types.mp4a,rt,Nt.esds(_e))}},{key:"esds",value:function(_e){var ke=_e.config||[],Pe=ke.length,rt=new Uint8Array([0,0,0,0,3,23+Pe,0,1,0,4,15+Pe,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Pe]).concat(ke).concat([6,1,2]));return Nt.box(Nt.types.esds,rt)}},{key:"avc1",value:function(_e){var ke=_e.avcc,Pe=_e.codecWidth,rt=_e.codecHeight,Pt=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,Pe>>>8&255,Pe&255,rt>>>8&255,rt&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 Nt.box(Nt.types.avc1,Pt,Nt.box(Nt.types.avcC,ke))}},{key:"mvex",value:function(_e){return Nt.box(Nt.types.mvex,Nt.trex(_e))}},{key:"trex",value:function(_e){var ke=_e.id,Pe=new Uint8Array([0,0,0,0,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return Nt.box(Nt.types.trex,Pe)}},{key:"moof",value:function(_e,ke){return Nt.box(Nt.types.moof,Nt.mfhd(_e.sequenceNumber),Nt.traf(_e,ke))}},{key:"mfhd",value:function(_e){var ke=new Uint8Array([0,0,0,0,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255]);return Nt.box(Nt.types.mfhd,ke)}},{key:"traf",value:function(_e,ke){var Pe=_e.id,rt=Nt.box(Nt.types.tfhd,new Uint8Array([0,0,0,0,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&255])),Pt=Nt.box(Nt.types.tfdt,new Uint8Array([0,0,0,0,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255])),Yt=Nt.sdtp(_e),kt=Nt.trun(_e,Yt.byteLength+16+16+8+16+8+8);return Nt.box(Nt.types.traf,rt,Pt,kt,Yt)}},{key:"sdtp",value:function(_e){for(var ke=_e.samples||[],Pe=ke.length,rt=new Uint8Array(4+Pe),Pt=0;Pt<Pe;Pt++){var Yt=ke[Pt].flags;rt[Pt+4]=Yt.isLeading<<6|Yt.dependsOn<<4|Yt.isDependedOn<<2|Yt.hasRedundancy}return Nt.box(Nt.types.sdtp,rt)}},{key:"trun",value:function(_e,ke){var Pe=_e.samples||[],rt=Pe.length,Pt=12+16*rt,Yt=new Uint8Array(Pt);ke+=8+Pt,Yt.set([0,0,15,1,rt>>>24&255,rt>>>16&255,rt>>>8&255,rt&255,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255],0);for(var kt=0;kt<rt;kt++){var _r=Pe[kt].duration,Rr=Pe[kt].size,un=Pe[kt].flags,Ut=Pe[kt].cts;Yt.set([_r>>>24&255,_r>>>16&255,_r>>>8&255,_r&255,Rr>>>24&255,Rr>>>16&255,Rr>>>8&255,Rr&255,un.isLeading<<2|un.dependsOn,un.isDependedOn<<6|un.hasRedundancy<<4|un.isNonSync,0,0,Ut>>>24&255,Ut>>>16&255,Ut>>>8&255,Ut&255],12+16*kt)}return Nt.box(Nt.types.trun,Yt)}},{key:"mdat",value:function(_e){return Nt.box(Nt.types.mdat,_e)}}]),Nt}();$e.init();var Le=$e,pt=function(){function Nt(){Object(_.a)(this,Nt)}return Object(x.a)(Nt,null,[{key:"getSilentFrame",value:function(_e,ke){if(_e==="mp4a.40.2"){if(ke===1)return new Uint8Array([0,200,0,128,35,128]);if(ke===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(ke===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(ke===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(ke===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(ke===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(ke===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(ke===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(ke===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}}]),Nt}(),Qe=pt,gt=Object(x.a)(function Nt(Ve,_e,ke,Pe,rt){Object(_.a)(this,Nt),this.dts=Ve,this.pts=_e,this.duration=ke,this.originalDts=Pe,this.isSyncPoint=rt,this.fileposition=null}),wt=function(){function Nt(){Object(_.a)(this,Nt),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(x.a)(Nt,[{key:"appendSyncPoint",value:function(_e){_e.isSyncPoint=!0,this.syncPoints.push(_e)}}]),Nt}(),Et=function(){function Nt(){Object(_.a)(this,Nt),this._list=[]}return Object(x.a)(Nt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(_e){var ke=this._list;if(_e.length===0)return;ke.length>0&&_e[0].originalDts<ke[ke.length-1].originalDts&&this.clear(),Array.prototype.push.apply(ke,_e)}},{key:"getLastSyncPointBeforeDts",value:function(_e){if(this._list.length==0)return null;var ke=this._list,Pe=0,rt=ke.length-1,Pt=0,Yt=0,kt=rt;for(_e<ke[0].dts&&(Pe=0,Yt=kt+1);Yt<=kt;)if(Pt=Yt+Math.floor((kt-Yt)/2),Pt===rt||_e>=ke[Pt].dts&&_e<ke[Pt+1].dts){Pe=Pt;break}else ke[Pt].dts<_e?Yt=Pt+1:kt=Pt-1;return this._list[Pe]}}]),Nt}(),_t=function(){function Nt(Ve){Object(_.a)(this,Nt),this._type=Ve,this._list=[],this._lastAppendLocation=-1}return Object(x.a)(Nt,[{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(_e){var ke=this._list;if(ke.length===0)return-2;var Pe=ke.length-1,rt=0,Pt=0,Yt=Pe,kt=0;if(_e<ke[0].originalBeginDts)return kt=-1,kt;for(;Pt<=Yt;)if(rt=Pt+Math.floor((Yt-Pt)/2),rt===Pe||_e>ke[rt].lastSample.originalDts&&_e<ke[rt+1].originalBeginDts){kt=rt;break}else ke[rt].originalBeginDts<_e?Pt=rt+1:Yt=rt-1;return kt}},{key:"_searchNearestSegmentAfter",value:function(_e){return this._searchNearestSegmentBefore(_e)+1}},{key:"append",value:function(_e){var ke=this._list,Pe=_e,rt=this._lastAppendLocation,Pt=0;rt!==-1&&rt<ke.length&&Pe.originalBeginDts>=ke[rt].lastSample.originalDts&&(rt===ke.length-1||rt<ke.length-1&&Pe.originalBeginDts<ke[rt+1].originalBeginDts)?Pt=rt+1:ke.length>0&&(Pt=this._searchNearestSegmentBefore(Pe.originalBeginDts)+1),this._lastAppendLocation=Pt,this._list.splice(Pt,0,Pe)}},{key:"getLastSegmentBefore",value:function(_e){var ke=this._searchNearestSegmentBefore(_e);return ke>=0?this._list[ke]:null}},{key:"getLastSampleBefore",value:function(_e){var ke=this.getLastSegmentBefore(_e);return ke!=null?ke.lastSample:null}},{key:"getLastSyncPointBefore",value:function(_e){for(var ke=this._searchNearestSegmentBefore(_e),Pe=this._list[ke].syncPoints;Pe.length===0&&ke>0;)ke--,Pe=this._list[ke].syncPoints;return Pe.length>0?Pe[Pe.length-1]:null}}]),Nt}(),Ht=function(){function Nt(Ve){Object(_.a)(this,Nt),this.TAG="MP4Remuxer",this._config=Ve,this._isLive=Ve.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=!!(E.chrome&&(E.version.major<50||E.version.major===50&&E.version.build<2661)),this._fillSilentAfterSeek=E.msedge||E.msie,this._mp3UseMpegAudio=!E.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(x.a)(Nt,[{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(_e){return _e.onDataAvailable=this.remux.bind(this),_e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(_e){this._onInitSegment=_e}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(_e){this._onMediaSegment=_e}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(_e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(_e,ke){if(!this._onMediaSegment)throw new s("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(_e,ke),this._remuxVideo(ke),this._remuxAudio(_e)}},{key:"_onTrackMetadataReceived",value:function(_e,ke){var Pe=null,rt="mp4",Pt=ke.codec;if(_e==="audio")this._audioMeta=ke,ke.codec==="mp3"&&this._mp3UseMpegAudio?(rt="mpeg",Pt="",Pe=new Uint8Array):Pe=Le.generateInitSegment(ke);else if(_e==="video")this._videoMeta=ke,Pe=Le.generateInitSegment(ke);else return;if(!this._onInitSegment)throw new s("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(_e,{type:_e,data:Pe.buffer,codec:Pt,container:"".concat(_e,"/").concat(rt),mediaDuration:ke.duration})}},{key:"_calculateDtsBase",value:function(_e,ke){if(this._dtsBaseInited)return;_e.samples&&_e.samples.length&&(this._audioDtsBase=_e.samples[0].dts),ke.samples&&ke.samples.length&&(this._videoDtsBase=ke.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var _e=this._videoStashedLastSample,ke=this._audioStashedLastSample,Pe={type:"video",id:1,sequenceNumber:0,samples:[],length:0};_e!=null&&(Pe.samples.push(_e),Pe.length=_e.length);var rt={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};ke!=null&&(rt.samples.push(ke),rt.length=ke.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Pe,!0),this._remuxAudio(rt,!0)}},{key:"_remuxAudio",value:function(_e,ke){if(this._audioMeta==null)return;var Pe=_e,rt=Pe.samples,Pt=void 0,Yt=-1,kt=-1,_r=-1,Rr=this._audioMeta.refSampleDuration,un=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ut=this._dtsBaseInited&&this._audioNextDts===void 0,ht=!1;if(!rt||rt.length===0)return;if(rt.length===1&&!ke)return;var ot=0,Wt=null,Jt=0;un?(ot=0,Jt=Pe.length):(ot=8,Jt=8+Pe.length);var At=null;if(rt.length>1&&(At=rt.pop(),Jt-=At.length),this._audioStashedLastSample!=null){var Bt=this._audioStashedLastSample;this._audioStashedLastSample=null,rt.unshift(Bt),Jt+=Bt.length}At!=null&&(this._audioStashedLastSample=At);var mt=rt[0].dts-this._dtsBase;if(this._audioNextDts)Pt=mt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Pt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(ht=!0));else{var Mt=this._audioSegmentInfoList.getLastSampleBefore(mt);if(Mt!=null){var hr=mt-(Mt.originalDts+Mt.duration);hr<=3&&(hr=0);var or=Mt.dts+Mt.duration+hr;Pt=mt-or}else Pt=0}if(ht){var ar=mt-Pt,Gr=this._videoSegmentInfoList.getLastSegmentBefore(mt);if(Gr!=null&&Gr.beginDts<ar){var Yr=Qe.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Yr){var In=Gr.beginDts,Nn=ar-Gr.beginDts;c.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(In,", duration: ").concat(Nn)),rt.unshift({unit:Yr,dts:In,pts:In}),Jt+=Yr.byteLength}}else ht=!1}for(var Kn=[],$n=0;$n<rt.length;$n++){var Ii=rt[$n],Mi=Ii.unit,Xe=Ii.dts-this._dtsBase,Ie=Xe-Pt;Yt===-1&&(Yt=Ie);var Be=0;if($n!==rt.length-1){var Fe=rt[$n+1].dts-this._dtsBase-Pt;Be=Fe-Ie}else if(At!=null){var Ge=At.dts-this._dtsBase-Pt;Be=Ge-Ie}else Kn.length>=1?Be=Kn[Kn.length-1].duration:Be=Math.floor(Rr);var Ke=!1,qe=null;if(Be>Rr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!E.safari){Ke=!0;var vt=Math.abs(Be-Rr),lt=Math.ceil(vt/Rr),Ft=Ie+Rr;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(Ie+Be," ms, expected: ").concat(Ie+Math.round(Rr)," ms, ")+"delta: ".concat(Math.round(vt)," ms, generate: ").concat(lt," frames"));var wr=Qe.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);wr==null&&(c.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),wr=Mi),qe=[];for(var pr=0;pr<lt;pr++){var Dr=Math.round(Ft);if(qe.length>0){var zt=qe[qe.length-1];zt.duration=Dr-zt.dts}var hn={dts:Dr,pts:Dr,cts:0,unit:wr,size:wr.byteLength,duration:0,originalDts:Xe,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};qe.push(hn),Jt+=hn.size,Ft+=Rr}var ir=qe[qe.length-1];ir.duration=Ie+Be-ir.dts,Be=Math.round(Rr)}Kn.push({dts:Ie,pts:Ie,cts:0,unit:Ii.unit,size:Ii.unit.byteLength,duration:Be,originalDts:Xe,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Ke&&Kn.push.apply(Kn,qe)}un?Wt=new Uint8Array(Jt):(Wt=new Uint8Array(Jt),Wt[0]=Jt>>>24&255,Wt[1]=Jt>>>16&255,Wt[2]=Jt>>>8&255,Wt[3]=Jt&255,Wt.set(Le.types.mdat,4));for(var Xr=0;Xr<Kn.length;Xr++){var Br=Kn[Xr].unit;Wt.set(Br,ot),ot+=Br.byteLength}var vr=Kn[Kn.length-1];kt=vr.dts+vr.duration,this._audioNextDts=kt;var Cn=new wt;Cn.beginDts=Yt,Cn.endDts=kt,Cn.beginPts=Yt,Cn.endPts=kt,Cn.originalBeginDts=Kn[0].originalDts,Cn.originalEndDts=vr.originalDts+vr.duration,Cn.firstSample=new gt(Kn[0].dts,Kn[0].pts,Kn[0].duration,Kn[0].originalDts,!1),Cn.lastSample=new gt(vr.dts,vr.pts,vr.duration,vr.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Cn),Pe.samples=Kn,Pe.sequenceNumber++;var kn=null;un?kn=new Uint8Array:kn=Le.moof(Pe,Yt),Pe.samples=[],Pe.length=0;var ei={type:"audio",data:this._mergeBoxes(kn,Wt).buffer,sampleCount:Kn.length,info:Cn};un&&Ut&&(ei.timestampOffset=Yt),this._onMediaSegment("audio",ei)}},{key:"_remuxVideo",value:function(_e,ke){if(this._videoMeta==null)return;var Pe=_e,rt=Pe.samples,Pt=void 0,Yt=-1,kt=-1,_r=-1,Rr=-1;if(!rt||rt.length===0)return;if(rt.length===1&&!ke)return;var un=8,Ut=null,ht=8+_e.length,ot=null;if(rt.length>1&&(ot=rt.pop(),ht-=ot.length),this._videoStashedLastSample!=null){var Wt=this._videoStashedLastSample;this._videoStashedLastSample=null,rt.unshift(Wt),ht+=Wt.length}ot!=null&&(this._videoStashedLastSample=ot);var Jt=rt[0].dts-this._dtsBase;if(this._videoNextDts)Pt=Jt-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Pt=0;else{var At=this._videoSegmentInfoList.getLastSampleBefore(Jt);if(At!=null){var Bt=Jt-(At.originalDts+At.duration);Bt<=3&&(Bt=0);var mt=At.dts+At.duration+Bt;Pt=Jt-mt}else Pt=0}for(var Mt=new wt,hr=[],or=0;or<rt.length;or++){var ar=rt[or],Gr=ar.dts-this._dtsBase,Yr=ar.isKeyframe,In=Gr-Pt,Nn=ar.cts,Kn=In+Nn;Yt===-1&&(Yt=In,_r=Kn);var $n=0;if(or!==rt.length-1){var Ii=rt[or+1].dts-this._dtsBase-Pt;$n=Ii-In}else if(ot!=null){var Mi=ot.dts-this._dtsBase-Pt;$n=Mi-In}else hr.length>=1?$n=hr[hr.length-1].duration:$n=Math.floor(this._videoMeta.refSampleDuration);if(Yr){var Xe=new gt(In,Kn,$n,ar.dts,!0);Xe.fileposition=ar.fileposition,Mt.appendSyncPoint(Xe)}hr.push({dts:In,pts:Kn,cts:Nn,units:ar.units,size:ar.length,isKeyframe:Yr,duration:$n,originalDts:Gr,flags:{isLeading:0,dependsOn:Yr?2:1,isDependedOn:Yr?1:0,hasRedundancy:0,isNonSync:Yr?0:1}})}Ut=new Uint8Array(ht),Ut[0]=ht>>>24&255,Ut[1]=ht>>>16&255,Ut[2]=ht>>>8&255,Ut[3]=ht&255,Ut.set(Le.types.mdat,4);for(var Ie=0;Ie<hr.length;Ie++)for(var Be=hr[Ie].units;Be.length;){var Fe=Be.shift(),Ge=Fe.data;Ut.set(Ge,un),un+=Ge.byteLength}var Ke=hr[hr.length-1];if(kt=Ke.dts+Ke.duration,Rr=Ke.pts+Ke.duration,this._videoNextDts=kt,Mt.beginDts=Yt,Mt.endDts=kt,Mt.beginPts=_r,Mt.endPts=Rr,Mt.originalBeginDts=hr[0].originalDts,Mt.originalEndDts=Ke.originalDts+Ke.duration,Mt.firstSample=new gt(hr[0].dts,hr[0].pts,hr[0].duration,hr[0].originalDts,hr[0].isKeyframe),Mt.lastSample=new gt(Ke.dts,Ke.pts,Ke.duration,Ke.originalDts,Ke.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Mt),Pe.samples=hr,Pe.sequenceNumber++,this._forceFirstIDR){var qe=hr[0].flags;qe.dependsOn=2,qe.isNonSync=0}var vt=Le.moof(Pe,Yt);Pe.samples=[],Pe.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(vt,Ut).buffer,sampleCount:hr.length,info:Mt})}},{key:"_mergeBoxes",value:function(_e,ke){var Pe=new Uint8Array(_e.byteLength+ke.byteLength);return Pe.set(_e,0),Pe.set(ke,_e.byteLength),Pe}}]),Nt}(),Ze=Ht,ye={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},ae=ye,yt=function(){function Nt(Ve,_e){Object(_.a)(this,Nt),this.TAG="TransmuxingController",this._emitter=new m.a,this._config=_e,Ve.segments||(Ve.segments=[{duration:Ve.duration,filesize:Ve.filesize,url:Ve.url}]),typeof Ve.cors!="boolean"&&(Ve.cors=!0),typeof Ve.withCredentials!="boolean"&&(Ve.withCredentials=!1),this._mediaDataSource=Ve,this._currentSegmentIndex=0;var ke=0;this._mediaDataSource.segments.forEach(function(Pe){Pe.timestampBase=ke,ke+=Pe.duration,Pe.cors=Ve.cors,Pe.withCredentials=Ve.withCredentials,_e.referrerPolicy&&(Pe.referrerPolicy=_e.referrerPolicy)}),!isNaN(ke)&&this._mediaDataSource.duration!==ke&&(this._mediaDataSource.duration=ke),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(x.a)(Nt,[{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(_e,ke){this._emitter.addListener(_e,ke)}},{key:"off",value:function(_e,ke){this._emitter.removeListener(_e,ke)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(_e,ke){this._currentSegmentIndex=_e;var Pe=this._mediaDataSource.segments[_e],rt=this._ioctl=new V(Pe,this._config,_e);rt.onError=this._onIOException.bind(this),rt.onSeeked=this._onIOSeeked.bind(this),rt.onComplete=this._onIOComplete.bind(this),rt.onRedirect=this._onIORedirect.bind(this),rt.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),ke?this._demuxer.bindDataSource(this._ioctl):rt.onDataArrival=this._onInitChunkArrival.bind(this),rt.open(ke)}},{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(_e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var ke=this._searchSegmentIndexContains(_e);if(ke===this._currentSegmentIndex){var Pe=this._mediaInfo.segments[ke];if(Pe==null)this._pendingSeekTime=_e;else{var rt=Pe.getNearestKeyframe(_e);this._remuxer.seek(rt.milliseconds),this._ioctl.seek(rt.fileposition),this._pendingResolveSeekPoint=rt.milliseconds}}else{var Pt=this._mediaInfo.segments[ke];if(Pt==null)this._pendingSeekTime=_e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(ke);else{var Yt=Pt.getNearestKeyframe(_e);this._internalAbort(),this._remuxer.seek(_e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[ke].timestampBase,this._loadSegment(ke,Yt.fileposition),this._pendingResolveSeekPoint=Yt.milliseconds,this._reportSegmentMediaInfo(ke)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(_e){for(var ke=this._mediaDataSource.segments,Pe=ke.length-1,rt=0;rt<ke.length;rt++)if(_e<ke[rt].timestampBase){Pe=rt-1;break}return Pe}},{key:"_onInitChunkArrival",value:function(_e,ke){var Pe=this,rt=null,Pt=0;if(ke>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Pt=this._demuxer.parseChunks(_e,ke);else if((rt=nt.probe(_e)).match){this._demuxer=new nt(rt,this._config),this._remuxer||(this._remuxer=new Ze(this._config));var Yt=this._mediaDataSource;Yt.duration!=null&&!isNaN(Yt.duration)&&(this._demuxer.overridedDuration=Yt.duration),typeof Yt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Yt.hasAudio),typeof Yt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Yt.hasVideo),this._demuxer.timestampBase=Yt.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),Pt=this._demuxer.parseChunks(_e,ke)}else rt=null,c.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Pe._internalAbort()}),this._emitter.emit(ae.DEMUX_ERROR,we.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Pt=0;return Pt}},{key:"_onMediaInfo",value:function(_e){var ke=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},_e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,ce.prototype));var Pe=Object.assign({},_e);Object.setPrototypeOf(Pe,ce.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Pe,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var rt=ke._pendingSeekTime;ke._pendingSeekTime=null,ke.seek(rt)})}},{key:"_onMetaDataArrived",value:function(_e){this._emitter.emit(ae.METADATA_ARRIVED,_e)}},{key:"_onScriptDataArrived",value:function(_e){this._emitter.emit(ae.SCRIPTDATA_ARRIVED,_e)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(_e){var ke=_e,Pe=ke+1;Pe<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Pe)):(this._remuxer.flushStashedSamples(),this._emitter.emit(ae.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(_e){var ke=this._ioctl.extraData;this._mediaDataSource.segments[ke].redirectedURL=_e}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(ae.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(_e,ke){c.e(this.TAG,"IOException: type = ".concat(_e,", code = ").concat(ke.code,", msg = ").concat(ke.msg)),this._emitter.emit(ae.IO_ERROR,_e,ke),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(_e,ke){c.e(this.TAG,"DemuxException: type = ".concat(_e,", info = ").concat(ke)),this._emitter.emit(ae.DEMUX_ERROR,_e,ke)}},{key:"_onRemuxerInitSegmentArrival",value:function(_e,ke){this._emitter.emit(ae.INIT_SEGMENT,_e,ke)}},{key:"_onRemuxerMediaSegmentArrival",value:function(_e,ke){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(ae.MEDIA_SEGMENT,_e,ke),this._pendingResolveSeekPoint!=null&&_e==="video"){var Pe=ke.info.syncPoints,rt=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,E.safari&&Pe.length>0&&Pe[0].originalDts===rt&&(rt=Pe[0].pts),this._emitter.emit(ae.RECOMMEND_SEEKPOINT,rt)}}},{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(_e){var ke=this._mediaInfo.segments[_e],Pe=Object.assign({},ke);Pe.duration=this._mediaInfo.duration,Pe.segmentCount=this._mediaInfo.segmentCount,delete Pe.segments,delete Pe.keyframesIndex,this._emitter.emit(ae.MEDIA_INFO,Pe)}},{key:"_reportStatisticsInfo",value:function(){var _e={};_e.url=this._ioctl.currentURL,_e.hasRedirect=this._ioctl.hasRedirect,_e.hasRedirect&&(_e.redirectedURL=this._ioctl.currentRedirectedURL),_e.speed=this._ioctl.currentSpeed,_e.loaderType=this._ioctl.loaderType,_e.currentSegmentIndex=this._currentSegmentIndex,_e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(ae.STATISTICS_INFO,_e)}}]),Nt}(),et=yt,me=function(Ve){var _e="TransmuxingWorker",ke=null,Pe=Jt.bind(this);A.install(),Ve.addEventListener("message",function(At){switch(At.data.cmd){case"init":ke=new et(At.data.param[0],At.data.param[1]),ke.on(ae.IO_ERROR,ht.bind(this)),ke.on(ae.DEMUX_ERROR,ot.bind(this)),ke.on(ae.INIT_SEGMENT,rt.bind(this)),ke.on(ae.MEDIA_SEGMENT,Pt.bind(this)),ke.on(ae.LOADING_COMPLETE,Yt.bind(this)),ke.on(ae.RECOVERED_EARLY_EOF,kt.bind(this)),ke.on(ae.MEDIA_INFO,_r.bind(this)),ke.on(ae.METADATA_ARRIVED,Rr.bind(this)),ke.on(ae.SCRIPTDATA_ARRIVED,un.bind(this)),ke.on(ae.STATISTICS_INFO,Ut.bind(this)),ke.on(ae.RECOMMEND_SEEKPOINT,Wt.bind(this));break;case"destroy":ke&&(ke.destroy(),ke=null),Ve.postMessage({msg:"destroyed"});break;case"start":ke.start();break;case"stop":ke.stop();break;case"seek":ke.seek(At.data.param);break;case"pause":ke.pause();break;case"resume":ke.resume();break;case"logging_config":{var Bt=At.data.param;pe.applyConfig(Bt),Bt.enableCallback===!0?pe.addLogListener(Pe):pe.removeLogListener(Pe);break}}});function rt(At,Bt){var mt={msg:ae.INIT_SEGMENT,data:{type:At,data:Bt}};Ve.postMessage(mt,[Bt.data])}function Pt(At,Bt){var mt={msg:ae.MEDIA_SEGMENT,data:{type:At,data:Bt}};Ve.postMessage(mt,[Bt.data])}function Yt(){var At={msg:ae.LOADING_COMPLETE};Ve.postMessage(At)}function kt(){var At={msg:ae.RECOVERED_EARLY_EOF};Ve.postMessage(At)}function _r(At){var Bt={msg:ae.MEDIA_INFO,data:At};Ve.postMessage(Bt)}function Rr(At){var Bt={msg:ae.METADATA_ARRIVED,data:At};Ve.postMessage(Bt)}function un(At){var Bt={msg:ae.SCRIPTDATA_ARRIVED,data:At};Ve.postMessage(Bt)}function Ut(At){var Bt={msg:ae.STATISTICS_INFO,data:At};Ve.postMessage(Bt)}function ht(At,Bt){Ve.postMessage({msg:ae.IO_ERROR,data:{type:At,info:Bt}})}function ot(At,Bt){Ve.postMessage({msg:ae.DEMUX_ERROR,data:{type:At,info:Bt}})}function Wt(At){Ve.postMessage({msg:ae.RECOMMEND_SEEKPOINT,data:At})}function Jt(At,Bt){Ve.postMessage({msg:"logcat_callback",data:{type:At,logcat:Bt}})}},Gt=me,rr=function(){function Nt(Ve,_e){if(Object(_.a)(this,Nt),this.TAG="Transmuxer",this._emitter=new m.a,_e.enableWorker&&typeof Worker!="undefined")try{var ke=d("0r65");this._worker=ke(Gt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[Ve,_e]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},pe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:pe.getConfig()})}catch(rt){c.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new et(Ve,_e)}else this._controller=new et(Ve,_e);if(this._controller){var Pe=this._controller;Pe.on(ae.IO_ERROR,this._onIOError.bind(this)),Pe.on(ae.DEMUX_ERROR,this._onDemuxError.bind(this)),Pe.on(ae.INIT_SEGMENT,this._onInitSegment.bind(this)),Pe.on(ae.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Pe.on(ae.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Pe.on(ae.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Pe.on(ae.MEDIA_INFO,this._onMediaInfo.bind(this)),Pe.on(ae.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Pe.on(ae.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Pe.on(ae.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Pe.on(ae.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(x.a)(Nt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),pe.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(_e,ke){this._emitter.addListener(_e,ke)}},{key:"off",value:function(_e,ke){this._emitter.removeListener(_e,ke)}},{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(_e){this._worker?this._worker.postMessage({cmd:"seek",param:_e}):this._controller.seek(_e)}},{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(_e,ke){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(ae.INIT_SEGMENT,_e,ke)})}},{key:"_onMediaSegment",value:function(_e,ke){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(ae.MEDIA_SEGMENT,_e,ke)})}},{key:"_onLoadingComplete",value:function(){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(ae.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(ae.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(ae.MEDIA_INFO,_e)})}},{key:"_onMetaDataArrived",value:function(_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(ae.METADATA_ARRIVED,_e)})}},{key:"_onScriptDataArrived",value:function(_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(ae.SCRIPTDATA_ARRIVED,_e)})}},{key:"_onStatisticsInfo",value:function(_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(ae.STATISTICS_INFO,_e)})}},{key:"_onIOError",value:function(_e,ke){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(ae.IO_ERROR,_e,ke)})}},{key:"_onDemuxError",value:function(_e,ke){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(ae.DEMUX_ERROR,_e,ke)})}},{key:"_onRecommendSeekpoint",value:function(_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(ae.RECOMMEND_SEEKPOINT,_e)})}},{key:"_onLoggingConfigChanged",value:function(_e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:_e})}},{key:"_onWorkerMessage",value:function(_e){var ke=_e.data,Pe=ke.data;if(ke.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(ke.msg){case ae.INIT_SEGMENT:case ae.MEDIA_SEGMENT:this._emitter.emit(ke.msg,Pe.type,Pe.data);break;case ae.LOADING_COMPLETE:case ae.RECOVERED_EARLY_EOF:this._emitter.emit(ke.msg);break;case ae.MEDIA_INFO:Object.setPrototypeOf(Pe,ce.prototype),this._emitter.emit(ke.msg,Pe);break;case ae.METADATA_ARRIVED:case ae.SCRIPTDATA_ARRIVED:case ae.STATISTICS_INFO:this._emitter.emit(ke.msg,Pe);break;case ae.IO_ERROR:case ae.DEMUX_ERROR:this._emitter.emit(ke.msg,Pe.type,Pe.info);break;case ae.RECOMMEND_SEEKPOINT:this._emitter.emit(ke.msg,Pe);break;case"logcat_callback":c.emitter.emit("log",Pe.type,Pe.logcat);break;default:break}}}]),Nt}(),ut=rr,Xt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},ur=Xt,Fr=function(){function Nt(Ve){Object(_.a)(this,Nt),this.TAG="MSEController",this._config=Ve,this._emitter=new m.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Et}return Object(x.a)(Nt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(_e,ke){this._emitter.addListener(_e,ke)}},{key:"off",value:function(_e,ke){this._emitter.removeListener(_e,ke)}},{key:"attachMediaElement",value:function(_e){if(this._mediaSource)throw new s("MediaSource has been attached to an HTMLMediaElement!");var ke=this._mediaSource=new window.MediaSource;ke.addEventListener("sourceopen",this.e.onSourceOpen),ke.addEventListener("sourceended",this.e.onSourceEnded),ke.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=_e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),_e.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var _e=this._mediaSource;for(var ke in this._sourceBuffers){var Pe=this._pendingSegments[ke];Pe.splice(0,Pe.length),this._pendingSegments[ke]=null,this._pendingRemoveRanges[ke]=null,this._lastInitSegments[ke]=null;var rt=this._sourceBuffers[ke];if(rt){if(_e.readyState!=="closed"){try{_e.removeSourceBuffer(rt)}catch(Pt){c.e(this.TAG,Pt.message)}rt.removeEventListener("error",this.e.onSourceBufferError),rt.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[ke]=null,this._sourceBuffers[ke]=null}}if(_e.readyState==="open")try{_e.endOfStream()}catch(Pt){c.e(this.TAG,Pt.message)}_e.removeEventListener("sourceopen",this.e.onSourceOpen),_e.removeEventListener("sourceended",this.e.onSourceEnded),_e.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(_e,ke){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(_e),this._pendingSegments[_e.type].push(_e);return}var Pe=_e,rt="".concat(Pe.container);Pe.codec&&Pe.codec.length>0&&(rt+=";codecs=".concat(Pe.codec));var Pt=!1;if(c.v(this.TAG,"Received Initialization Segment, mimeType: "+rt),this._lastInitSegments[Pe.type]=Pe,rt!==this._mimeTypes[Pe.type]){if(this._mimeTypes[Pe.type])c.v(this.TAG,"Notice: ".concat(Pe.type," mimeType changed, origin: ").concat(this._mimeTypes[Pe.type],", target: ").concat(rt));else{Pt=!0;try{var Yt=this._sourceBuffers[Pe.type]=this._mediaSource.addSourceBuffer(rt);Yt.addEventListener("error",this.e.onSourceBufferError),Yt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(kt){c.e(this.TAG,kt.message),this._emitter.emit(ur.ERROR,{code:kt.code,msg:kt.message});return}}this._mimeTypes[Pe.type]=rt}ke||this._pendingSegments[Pe.type].push(Pe),Pt||this._sourceBuffers[Pe.type]&&!this._sourceBuffers[Pe.type].updating&&this._doAppendSegments(),E.safari&&Pe.container==="audio/mpeg"&&Pe.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Pe.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(_e){var ke=_e;this._pendingSegments[ke.type].push(ke),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Pe=this._sourceBuffers[ke.type];Pe&&!Pe.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(_e){for(var ke in this._sourceBuffers){if(!this._sourceBuffers[ke])continue;var Pe=this._sourceBuffers[ke];if(this._mediaSource.readyState==="open")try{Pe.abort()}catch(Rr){c.e(this.TAG,Rr.message)}this._idrList.clear();var rt=this._pendingSegments[ke];if(rt.splice(0,rt.length),this._mediaSource.readyState==="closed")continue;for(var Pt=0;Pt<Pe.buffered.length;Pt++){var Yt=Pe.buffered.start(Pt),kt=Pe.buffered.end(Pt);this._pendingRemoveRanges[ke].push({start:Yt,end:kt})}if(Pe.updating||this._doRemoveRanges(),E.safari){var _r=this._lastInitSegments[ke];_r&&(this._pendingSegments[ke].push(_r),Pe.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var _e=this._mediaSource,ke=this._sourceBuffers;if(!_e||_e.readyState!=="open"){_e&&_e.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}ke.video&&ke.video.updating||ke.audio&&ke.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,_e.endOfStream())}},{key:"getNearestKeyframe",value:function(_e){return this._idrList.getLastSyncPointBeforeDts(_e)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var _e=this._mediaElement.currentTime;for(var ke in this._sourceBuffers){var Pe=this._sourceBuffers[ke];if(Pe){var rt=Pe.buffered;if(rt.length>=1&&_e-rt.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var _e=this._mediaElement.currentTime;for(var ke in this._sourceBuffers){var Pe=this._sourceBuffers[ke];if(Pe){for(var rt=Pe.buffered,Pt=!1,Yt=0;Yt<rt.length;Yt++){var kt=rt.start(Yt),_r=rt.end(Yt);if(kt<=_e&&_e<_r+3){if(_e-kt>=this._config.autoCleanupMaxBackwardDuration){Pt=!0;var Rr=_e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[ke].push({start:kt,end:Rr})}}else _r<_e&&(Pt=!0,this._pendingRemoveRanges[ke].push({start:kt,end:_r}))}Pt&&!Pe.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var _e=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(_e.video&&_e.video.updating||_e.audio&&_e.audio.updating)return;var ke=this._mediaSource.duration,Pe=this._pendingMediaDuration;Pe>0&&(isNaN(ke)||Pe>ke)&&(c.v(this.TAG,"Update MediaSource duration from ".concat(ke," to ").concat(Pe)),this._mediaSource.duration=Pe),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var _e in this._pendingRemoveRanges){if(!this._sourceBuffers[_e]||this._sourceBuffers[_e].updating)continue;for(var ke=this._sourceBuffers[_e],Pe=this._pendingRemoveRanges[_e];Pe.length&&!ke.updating;){var rt=Pe.shift();ke.remove(rt.start,rt.end)}}}},{key:"_doAppendSegments",value:function(){var _e=this._pendingSegments;for(var ke in _e){if(!this._sourceBuffers[ke]||this._sourceBuffers[ke].updating)continue;if(_e[ke].length>0){var Pe=_e[ke].shift();if(Pe.timestampOffset){var rt=this._sourceBuffers[ke].timestampOffset,Pt=Pe.timestampOffset/1e3,Yt=Math.abs(rt-Pt);Yt>.1&&(c.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(rt," to ").concat(Pt)),this._sourceBuffers[ke].timestampOffset=Pt),delete Pe.timestampOffset}if(!Pe.data||Pe.data.byteLength===0)continue;try{this._sourceBuffers[ke].appendBuffer(Pe.data),this._isBufferFull=!1,ke==="video"&&Pe.hasOwnProperty("info")&&this._idrList.appendArray(Pe.info.syncPoints)}catch(kt){this._pendingSegments[ke].unshift(Pe),kt.code===22?(this._isBufferFull||this._emitter.emit(ur.BUFFER_FULL),this._isBufferFull=!0):(c.e(this.TAG,kt.message),this._emitter.emit(ur.ERROR,{code:kt.code,msg:kt.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 _e=this._pendingSourceBufferInit;_e.length;){var ke=_e.shift();this.appendInitSegment(ke,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(ur.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 _e=this._pendingSegments;return _e.video.length>0||_e.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var _e=this._pendingRemoveRanges;return _e.video.length>0||_e.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(ur.UPDATE_END)}},{key:"_onSourceBufferError",value:function(_e){c.e(this.TAG,"SourceBuffer Error: ".concat(_e))}}]),Nt}(),er=Fr,nr={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Lt={NETWORK_EXCEPTION:u.EXCEPTION,NETWORK_STATUS_CODE_INVALID:u.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:u.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:u.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:we.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:we.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:we.CODEC_UNSUPPORTED},at=function(){function Nt(Ve,_e){if(Object(_.a)(this,Nt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new m.a,this._config=Y(),typeof _e=="object"&&Object.assign(this._config,_e),Ve.type.toLowerCase()!=="flv")throw new e("FlvPlayer requires an flv MediaDataSource input!");Ve.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=Ve,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 ke=E.chrome&&(E.version.major<50||E.version.major===50&&E.version.build<2661);this._alwaysSeekKeyframe=!!(ke||E.msedge||E.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(x.a)(Nt,[{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(_e,ke){var Pe=this;_e===oe.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Pe._emitter.emit(oe.MEDIA_INFO,Pe.mediaInfo)}):_e===oe.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Pe._emitter.emit(oe.STATISTICS_INFO,Pe.statisticsInfo)})),this._emitter.addListener(_e,ke)}},{key:"off",value:function(_e,ke){this._emitter.removeListener(_e,ke)}},{key:"attachMediaElement",value:function(_e){var ke=this;if(this._mediaElement=_e,_e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),_e.addEventListener("seeking",this.e.onvSeeking),_e.addEventListener("canplay",this.e.onvCanPlay),_e.addEventListener("stalled",this.e.onvStalled),_e.addEventListener("progress",this.e.onvProgress),this._msectl=new er(this._config),this._msectl.on(ur.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(ur.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(ur.SOURCE_OPEN,function(){ke._mseSourceOpened=!0,ke._hasPendingLoad&&(ke._hasPendingLoad=!1,ke.load())}),this._msectl.on(ur.ERROR,function(Pe){ke._emitter.emit(oe.ERROR,nr.MEDIA_ERROR,Lt.MEDIA_MSE_ERROR,Pe)}),this._msectl.attachMediaElement(_e),this._pendingSeekTime!=null)try{_e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Pe){}}},{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 _e=this;if(!this._mediaElement)throw new s("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new s("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 ut(this._mediaDataSource,this._config),this._transmuxer.on(ae.INIT_SEGMENT,function(ke,Pe){_e._msectl.appendInitSegment(Pe)}),this._transmuxer.on(ae.MEDIA_SEGMENT,function(ke,Pe){if(_e._msectl.appendMediaSegment(Pe),_e._config.lazyLoad&&!_e._config.isLive){var rt=_e._mediaElement.currentTime;Pe.info.endDts>=(rt+_e._config.lazyLoadMaxDuration)*1e3&&(_e._progressChecker==null&&(c.v(_e.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),_e._suspendTransmuxer()))}}),this._transmuxer.on(ae.LOADING_COMPLETE,function(){_e._msectl.endOfStream(),_e._emitter.emit(oe.LOADING_COMPLETE)}),this._transmuxer.on(ae.RECOVERED_EARLY_EOF,function(){_e._emitter.emit(oe.RECOVERED_EARLY_EOF)}),this._transmuxer.on(ae.IO_ERROR,function(ke,Pe){_e._emitter.emit(oe.ERROR,nr.NETWORK_ERROR,ke,Pe)}),this._transmuxer.on(ae.DEMUX_ERROR,function(ke,Pe){_e._emitter.emit(oe.ERROR,nr.MEDIA_ERROR,ke,{code:-1,msg:Pe})}),this._transmuxer.on(ae.MEDIA_INFO,function(ke){_e._mediaInfo=ke,_e._emitter.emit(oe.MEDIA_INFO,Object.assign({},ke))}),this._transmuxer.on(ae.METADATA_ARRIVED,function(ke){_e._emitter.emit(oe.METADATA_ARRIVED,ke)}),this._transmuxer.on(ae.SCRIPTDATA_ARRIVED,function(ke){_e._emitter.emit(oe.SCRIPTDATA_ARRIVED,ke)}),this._transmuxer.on(ae.STATISTICS_INFO,function(ke){_e._statisticsInfo=_e._fillStatisticsInfo(ke),_e._emitter.emit(oe.STATISTICS_INFO,Object.assign({},_e._statisticsInfo))}),this._transmuxer.on(ae.RECOMMEND_SEEKPOINT,function(ke){_e._mediaElement&&!_e._config.accurateSeek&&(_e._requestSetTime=!0,_e._mediaElement.currentTime=ke/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(_e){this._mediaElement.volume=_e}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(_e){this._mediaElement.muted=_e}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(_e){this._mediaElement?this._internalSeek(_e):this._pendingSeekTime=_e}},{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(_e){if(_e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return _e;var ke=!0,Pe=0,rt=0;if(this._mediaElement.getVideoPlaybackQuality){var Pt=this._mediaElement.getVideoPlaybackQuality();Pe=Pt.totalVideoFrames,rt=Pt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Pe=this._mediaElement.webkitDecodedFrameCount,rt=this._mediaElement.webkitDroppedFrameCount):ke=!1;return ke&&(_e.decodedFrames=Pe,_e.droppedFrames=rt),_e}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var _e=this._mediaElement.buffered,ke=this._mediaElement.currentTime,Pe=0,rt=0,Pt=0;Pt<_e.length;Pt++){var Yt=_e.start(Pt),kt=_e.end(Pt);if(Yt<=ke&&ke<kt){Pe=Yt,rt=kt;break}}rt>=ke+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 _e=this._mediaElement.currentTime,ke=this._mediaElement.buffered,Pe=!1,rt=0;rt<ke.length;rt++){var Pt=ke.start(rt),Yt=ke.end(rt);if(_e>=Pt&&_e<Yt){_e>=Yt-this._config.lazyLoadRecoverDuration&&(Pe=!0);break}}Pe&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Pe&&(c.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(_e){for(var ke=this._mediaElement.buffered,Pe=0;Pe<ke.length;Pe++){var rt=ke.start(Pe),Pt=ke.end(Pe);if(_e>=rt&&_e<Pt)return!0}return!1}},{key:"_internalSeek",value:function(_e){var ke=this._isTimepointBuffered(_e),Pe=!1,rt=0;if(_e<1&&this._mediaElement.buffered.length>0){var Pt=this._mediaElement.buffered.start(0);(Pt<1&&_e<Pt||E.safari)&&(Pe=!0,rt=E.safari?.1:Pt)}if(Pe)this._requestSetTime=!0,this._mediaElement.currentTime=rt;else if(ke){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=_e;else{var Yt=this._msectl.getNearestKeyframe(Math.floor(_e*1e3));this._requestSetTime=!0,Yt!=null?this._mediaElement.currentTime=Yt.dts/1e3:this._mediaElement.currentTime=_e}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(_e),this._transmuxer.seek(Math.floor(_e*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=_e)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var _e=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(_e)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(_e),this._transmuxer.seek(Math.floor(_e*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=_e))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(_e){var ke=this._mediaElement;if(_e||!this._receivedCanPlay||ke.readyState<2){var Pe=ke.buffered;Pe.length>0&&ke.currentTime<Pe.start(0)&&(c.w(this.TAG,"Playback seems stuck at ".concat(ke.currentTime,", seek to ").concat(Pe.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Pe.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(_e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(_e){var ke=this._mediaElement.currentTime,Pe=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(ke<1&&Pe.length>0){var rt=Pe.start(0);if(rt<1&&ke<rt||E.safari){this._requestSetTime=!0,this._mediaElement.currentTime=E.safari?.1:rt;return}}if(this._isTimepointBuffered(ke)){if(this._alwaysSeekKeyframe){var Pt=this._msectl.getNearestKeyframe(Math.floor(ke*1e3));Pt!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Pt.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:ke,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(_e){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(_e){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(_e){this._checkAndResumeStuckPlayback()}}]),Nt}(),Je=at,qt=function(){function Nt(Ve,_e){if(Object(_.a)(this,Nt),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new m.a,this._config=Y(),typeof _e=="object"&&Object.assign(this._config,_e),Ve.type.toLowerCase()==="flv")throw new e("NativePlayer does't support flv MediaDataSource input!");if(Ve.hasOwnProperty("segments"))throw new e("NativePlayer(".concat(Ve.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=Ve,this._mediaElement=null}return Object(x.a)(Nt,[{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(_e,ke){var Pe=this;_e===oe.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Pe._emitter.emit(oe.MEDIA_INFO,Pe.mediaInfo)}):_e===oe.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Pe._emitter.emit(oe.STATISTICS_INFO,Pe.statisticsInfo)})),this._emitter.addListener(_e,ke)}},{key:"off",value:function(_e,ke){this._emitter.removeListener(_e,ke)}},{key:"attachMediaElement",value:function(_e){if(this._mediaElement=_e,_e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{_e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(ke){}}},{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 s("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(_e){this._mediaElement.volume=_e}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(_e){this._mediaElement.muted=_e}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(_e){this._mediaElement?this._mediaElement.currentTime=_e:this._pendingSeekTime=_e}},{key:"mediaInfo",get:function(){var _e=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",ke={mimeType:_e+this._mediaDataSource.type};return this._mediaElement&&(ke.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(ke.width=this._mediaElement.videoWidth,ke.height=this._mediaElement.videoHeight)),ke}},{key:"statisticsInfo",get:function(){var _e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return _e;var ke=!0,Pe=0,rt=0;if(this._mediaElement.getVideoPlaybackQuality){var Pt=this._mediaElement.getVideoPlaybackQuality();Pe=Pt.totalVideoFrames,rt=Pt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Pe=this._mediaElement.webkitDecodedFrameCount,rt=this._mediaElement.webkitDroppedFrameCount):ke=!1;return ke&&(_e.decodedFrames=Pe,_e.droppedFrames=rt),_e}},{key:"_onvLoadedMetadata",value:function(_e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(oe.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(oe.STATISTICS_INFO,this.statisticsInfo)}}]),Nt}(),Sr=qt;A.install();function yr(Nt,Ve){var _e=Nt;if(_e==null||typeof _e!="object")throw new e("MediaDataSource must be an javascript object!");if(!_e.hasOwnProperty("type"))throw new e("MediaDataSource must has type field to indicate video file type!");switch(_e.type){case"flv":return new Je(_e,Ve);default:return new Sr(_e,Ve)}}function fr(){return ie.supportMSEH264Playback()}function yn(){return ie.getFeatureList()}var Jr={};Jr.createPlayer=yr,Jr.isSupported=fr,Jr.getFeatureList=yn,Jr.BaseLoader=h,Jr.LoaderStatus=l,Jr.LoaderErrors=u,Jr.Events=oe,Jr.ErrorTypes=nr,Jr.ErrorDetails=Lt,Jr.FlvPlayer=Je,Jr.NativePlayer=Sr,Jr.LoggingControl=pe,Object.defineProperty(Jr,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Ln=k.a=Jr},GVMX:function(H,k,d){var _=d("JEkh"),x=_.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"}});H.exports=x},GdRQ:function(H,k,d){"use strict";function _(E){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(w){return typeof w}:_=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},_(E)}Object.defineProperty(k,"__esModule",{value:!0}),k.isMac=l,k.isWindows=u,k.isIOS=h,k.isSafari=f,k.isIE=g,k.isEdge=v,k.isFirefox=y,k.hasScrollbarGutter=k.supportsImageMetadata=k.supportsCursorURIs=k.dragThreshold=k.isTouchDevice=void 0;var x=A(d("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var E=new WeakMap;return C=function(){return E},E}function A(E){if(E&&E.__esModule)return E;if(E===null||_(E)!=="object"&&typeof E!="function")return{default:E};var T=C();if(T&&T.has(E))return T.get(E);var w={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in E)if(Object.prototype.hasOwnProperty.call(E,I)){var L=S?Object.getOwnPropertyDescriptor(E,I):null;L&&(L.get||L.set)?Object.defineProperty(w,I,L):w[I]=E[I]}return w.default=E,T&&T.set(E,w),w}var b="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;k.isTouchDevice=b,window.addEventListener("touchstart",function E(){k.isTouchDevice=b=!0,window.removeEventListener("touchstart",E,!1)},!1);var m=10*(window.devicePixelRatio||1);k.dragThreshold=m;var p=!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?(x.Info("Data URI scheme cursor supported"),p=!0):x.Warn("Data URI scheme cursor not supported")}catch(E){x.Error("Data URI scheme cursor test exception: "+E)}var o=p;k.supportsCursorURIs=o;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(E){}var i=r;k.supportsImageMetadata=i;var n=!0;try{var t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",document.body.appendChild(t);var s=document.createElement("div");t.appendChild(s);var e=t.offsetWidth-s.offsetWidth;t.parentNode.removeChild(t),n=e!=0}catch(E){x.Error("Scrollbar test exception: "+E)}var a=n;k.hasScrollbarGutter=a;function l(){return navigator&&!!/mac/i.exec(navigator.platform)}function u(){return navigator&&!!/win/i.exec(navigator.platform)}function h(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function f(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function g(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function v(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function y(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(H,k,d){var _=d("bYtY"),x=d("6Ic6"),C=d("IwbS"),A=d("y+Vt"),b=d("sK/D"),m=b.createClipPath,p=["itemStyle"],c=["emphasis","itemStyle"],o=["color","color0","borderColor","borderColor0"],r=x.extend({type:"candlestick",render:function(f,g,v){this.group.removeClipPath(),this._updateDrawMode(f),this._isLargeDraw?this._renderLarge(f):this._renderNormal(f)},incrementalPrepareRender:function(f,g,v){this._clear(),this._updateDrawMode(f)},incrementalRender:function(f,g,v,y){this._isLargeDraw?this._incrementalRenderLarge(f,g):this._incrementalRenderNormal(f,g)},_updateDrawMode:function(f){var g=f.pipelineContext.large;(this._isLargeDraw==null||g^this._isLargeDraw)&&(this._isLargeDraw=g,this._clear())},_renderNormal:function(f){var g=f.getData(),v=this._data,y=this.group,E=g.getLayout("isSimpleBox"),T=f.get("clip",!0),w=f.coordinateSystem,S=w.getArea&&w.getArea();this._data||y.removeAll(),g.diff(v).add(function(I){if(g.hasValue(I)){var L,O=g.getItemLayout(I);if(T&&t(S,O))return;L=n(O,I,!0),C.initProps(L,{shape:{points:O.ends}},f,I),s(L,g,I,E),y.add(L),g.setItemGraphicEl(I,L)}}).update(function(I,L){var O=v.getItemGraphicEl(L);if(!g.hasValue(I)){y.remove(O);return}var N=g.getItemLayout(I);if(T&&t(S,N)){y.remove(O);return}O?C.updateProps(O,{shape:{points:N.ends}},f,I):O=n(N,I),s(O,g,I,E),y.add(O),g.setItemGraphicEl(I,O)}).remove(function(I){var L=v.getItemGraphicEl(I);L&&y.remove(L)}).execute(),this._data=g},_renderLarge:function(f){this._clear(),l(f,this.group);var g=f.get("clip",!0)?m(f.coordinateSystem,!1,f):null;g?this.group.setClipPath(g):this.group.removeClipPath()},_incrementalRenderNormal:function(f,g){for(var v=g.getData(),y=v.getLayout("isSimpleBox"),E;(E=f.next())!=null;){var T,w=v.getItemLayout(E);T=n(w,E),s(T,v,E,y),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(f,g){l(g,this.group,!0)},remove:function(f){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:_.noop}),i=A.extend({type:"normalCandlestickBox",shape:{},buildPath:function(f,g){var v=g.points;this.__simpleBox?(f.moveTo(v[4][0],v[4][1]),f.lineTo(v[6][0],v[6][1])):(f.moveTo(v[0][0],v[0][1]),f.lineTo(v[1][0],v[1][1]),f.lineTo(v[2][0],v[2][1]),f.lineTo(v[3][0],v[3][1]),f.closePath(),f.moveTo(v[4][0],v[4][1]),f.lineTo(v[5][0],v[5][1]),f.moveTo(v[6][0],v[6][1]),f.lineTo(v[7][0],v[7][1]))}});function n(f,g,v){var y=f.ends;return new i({shape:{points:v?e(y,f):y},z2:100})}function t(f,g){for(var v=!0,y=0;y<g.ends.length;y++)if(f.contain(g.ends[y][0],g.ends[y][1])){v=!1;break}return v}function s(f,g,v,y){var E=g.getItemModel(v),T=E.getModel(p),w=g.getItemVisual(v,"color"),S=g.getItemVisual(v,"borderColor")||w,I=T.getItemStyle(o);f.useStyle(I),f.style.strokeNoScale=!0,f.style.fill=w,f.style.stroke=S,f.__simpleBox=y;var L=E.getModel(c).getItemStyle();C.setHoverStyle(f,L)}function e(f,g){return _.map(f,function(v){return v=v.slice(),v[1]=g.initBaseline,v})}var a=A.extend({type:"largeCandlestickBox",shape:{},buildPath:function(f,g){for(var v=g.points,y=0;y<v.length;)if(this.__sign===v[y++]){var E=v[y++];f.moveTo(E,v[y++]),f.lineTo(E,v[y++])}else y+=3}});function l(f,g,v){var y=f.getData(),E=y.getLayout("largePoints"),T=new a({shape:{points:E},__sign:1});g.add(T);var w=new a({shape:{points:E},__sign:-1});g.add(w),u(1,T,f,y),u(-1,w,f,y),v&&(T.incremental=!0,w.incremental=!0)}function u(f,g,v,y){var E=f>0?"P":"N",T=y.getVisual("borderColor"+E)||y.getVisual("color"+E),w=v.getModel(p).getItemStyle(o);g.useStyle(w),g.style.fill=null,g.style.stroke=T}var h=r;H.exports=h},Gev7:function(H,k,d){var _=d("bYtY"),x=d("K2GJ"),C=d("1bdT"),A=d("ni6a");function b(p){p=p||{},C.call(this,p);for(var c in p)p.hasOwnProperty(c)&&c!=="style"&&(this[c]=p[c]);this.style=new x(p.style,this),this._rect=null,this.__clipPaths=null}b.prototype={constructor:b,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 r=this.transformCoordToLocal(c,o),i=this.getBoundingRect();return i.contain(r[0],r[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"?C.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 x(c,this),this.dirty(!1),this},calculateTextPosition:null},_.inherits(b,C),_.mixin(b,A);var m=b;H.exports=m},GrNh:function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("6Ic6");function A(r,i,n,t){var s=i.getData(),e=this.dataIndex,a=s.getName(e),l=i.get("selectedOffset");t.dispatchAction({type:"pieToggleSelect",from:r,name:a,seriesId:i.id}),s.each(function(u){b(s.getItemGraphicEl(u),s.getItemLayout(u),i.isSelected(s.getName(u)),l,n)})}function b(r,i,n,t,s){var e=(i.startAngle+i.endAngle)/2,a=Math.cos(e),l=Math.sin(e),u=n?t:0,h=[a*u,l*u];s?r.animate().when(200,{position:h}).start("bounceOut"):r.attr("position",h)}function m(r,i){x.Group.call(this);var n=new x.Sector({z2:2}),t=new x.Polyline,s=new x.Text;this.add(n),this.add(t),this.add(s),this.updateData(r,i,!0)}var p=m.prototype;p.updateData=function(r,i,n){var t=this.childAt(0),s=this.childAt(1),e=this.childAt(2),a=r.hostModel,l=r.getItemModel(i),u=r.getItemLayout(i),h=_.extend({},u);h.label=null;var f=a.getShallow("animationTypeUpdate");if(n){t.setShape(h);var g=a.getShallow("animationType");g==="scale"?(t.shape.r=u.r0,x.initProps(t,{shape:{r:u.r}},a,i)):(t.shape.endAngle=u.startAngle,x.updateProps(t,{shape:{endAngle:u.endAngle}},a,i))}else f==="expansion"?t.setShape(h):x.updateProps(t,{shape:h},a,i);var v=r.getItemVisual(i,"color");t.useStyle(_.defaults({lineJoin:"bevel",fill:v},l.getModel("itemStyle").getItemStyle())),t.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var y=l.getShallow("cursor");y&&t.attr("cursor",y),b(this,r.getItemLayout(i),a.isSelected(r.getName(i)),a.get("selectedOffset"),a.get("animation"));var E=!n&&f==="transition";this._updateLabel(r,i,E),this.highDownOnUpdate=a.get("silent")?null:function(T,w){var S=a.isAnimationEnabled()&&l.get("hoverAnimation");w==="emphasis"?(s.ignore=s.hoverIgnore,e.ignore=e.hoverIgnore,S&&(t.stopAnimation(!0),t.animateTo({shape:{r:u.r+a.get("hoverOffset")}},300,"elasticOut"))):(s.ignore=s.normalIgnore,e.ignore=e.normalIgnore,S&&(t.stopAnimation(!0),t.animateTo({shape:{r:u.r}},300,"elasticOut")))},x.setHoverStyle(this)},p._updateLabel=function(r,i,n){var t=this.childAt(1),s=this.childAt(2),e=r.hostModel,a=r.getItemModel(i),l=r.getItemLayout(i),u=l.label,h=r.getItemVisual(i,"color");if(!u||isNaN(u.x)||isNaN(u.y)){s.ignore=s.normalIgnore=s.hoverIgnore=t.ignore=t.normalIgnore=t.hoverIgnore=!0;return}var f={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},g={x:u.x,y:u.y};n?(x.updateProps(t,{shape:f},e,i),x.updateProps(s,{style:g},e,i)):(t.attr({shape:f}),s.attr({style:g})),s.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var v=a.getModel("label"),y=a.getModel("emphasis.label"),E=a.getModel("labelLine"),T=a.getModel("emphasis.labelLine"),h=r.getItemVisual(i,"color");x.setLabelStyle(s.style,s.hoverStyle={},v,y,{labelFetcher:r.hostModel,labelDataIndex:i,defaultText:u.text,autoColor:h,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:r.getItemVisual(i,"opacity")}),s.ignore=s.normalIgnore=!v.get("show"),s.hoverIgnore=!y.get("show"),t.ignore=t.normalIgnore=!E.get("show"),t.hoverIgnore=!T.get("show"),t.setStyle({stroke:h,opacity:r.getItemVisual(i,"opacity")}),t.setStyle(E.getModel("lineStyle").getLineStyle()),t.hoverStyle=T.getModel("lineStyle").getLineStyle();var w=E.get("smooth");w&&w===!0&&(w=.4),t.setShape({smooth:w})},_.inherits(m,x.Group);var c=C.extend({type:"pie",init:function(){var r=new x.Group;this._sectorGroup=r},render:function(r,i,n,t){if(t&&t.from===this.uid)return;var s=r.getData(),e=this._data,a=this.group,l=i.get("animation"),u=!e,h=r.get("animationType"),f=r.get("animationTypeUpdate"),g=_.curry(A,this.uid,r,l,n),v=r.get("selectedMode");if(s.diff(e).add(function(S){var I=new m(s,S);u&&h!=="scale"&&I.eachChild(function(L){L.stopAnimation(!0)}),v&&I.on("click",g),s.setItemGraphicEl(S,I),a.add(I)}).update(function(S,I){var L=e.getItemGraphicEl(I);!u&&f!=="transition"&&L.eachChild(function(O){O.stopAnimation(!0)}),L.updateData(s,S),L.off("click"),v&&L.on("click",g),a.add(L),s.setItemGraphicEl(S,L)}).remove(function(S){var I=e.getItemGraphicEl(S);a.remove(I)}).execute(),l&&s.count()>0&&(u?h!=="scale":f!=="transition")){for(var y=s.getItemLayout(0),E=1;isNaN(y.startAngle)&&E<s.count();++E)y=s.getItemLayout(E);var T=Math.max(n.getWidth(),n.getHeight())/2,w=_.bind(a.removeClipPath,a);a.setClipPath(this._createClipPath(y.cx,y.cy,T,y.startAngle,y.clockwise,w,r,u))}else a.removeClipPath();this._data=s},dispose:function(){},_createClipPath:function(r,i,n,t,s,e,a,l){var u=new x.Sector({shape:{cx:r,cy:i,r0:0,r:n,startAngle:t,endAngle:t,clockwise:s}}),h=l?x.initProps:x.updateProps;return h(u,{shape:{endAngle:t+(s?1:-1)*Math.PI*2}},a,e),u},containPoint:function(r,i){var n=i.getData(),t=n.getItemLayout(0);if(t){var s=r[0]-t.cx,e=r[1]-t.cy,a=Math.sqrt(s*s+e*e);return a<=t.r&&a>=t.r0}}}),o=c;H.exports=o},Gytx:function(H,k){H.exports=function(_,x,C,A){var b=C?C.call(A,_,x):void 0;if(b!==void 0)return!!b;if(_===x)return!0;if(typeof _!="object"||!_||typeof x!="object"||!x)return!1;var m=Object.keys(_),p=Object.keys(x);if(m.length!==p.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(x),o=0;o<m.length;o++){var r=m[o];if(!c(r))return!1;var i=_[r],n=x[r];if(b=C?C.call(A,i,n,r):void 0,b===!1||b===void 0&&i!==n)return!1}return!0}},GzdX:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("q1tI"),A=d.n(C),b=d("rePB"),m=d("1OyB"),p=d("vuIU"),c=d("Ji7U"),o=d("md7G"),r=d("foSv"),i=d("m+aA"),n=d("TSYQ"),t=d.n(n),s=d("4IlW");function e(U){var F=U.pageXOffset,j="scrollLeft";if(typeof F!="number"){var W=U.document;F=W.documentElement[j],typeof F!="number"&&(F=W.body[j])}return F}function a(U){var F,j,W=U.ownerDocument,V=W.body,z=W&&W.documentElement,Y=U.getBoundingClientRect();return F=Y.left,j=Y.top,F-=z.clientLeft||V.clientLeft||0,j-=z.clientTop||V.clientTop||0,{left:F,top:j}}function l(U){var F=a(U),j=U.ownerDocument,W=j.defaultView||j.parentWindow;return F.left+=e(W),F.left}function u(U){var F=h();return function(){var W=Object(r.a)(U),V;if(F){var z=Object(r.a)(this).constructor;V=Reflect.construct(W,arguments,z)}else V=W.apply(this,arguments);return Object(o.a)(this,V)}}function h(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(U){return!1}}var f=function(U){Object(c.a)(j,U);var F=u(j);function j(){var W;return Object(m.a)(this,j),W=F.apply(this,arguments),W.onHover=function(V){var z=W.props,Y=z.onHover,J=z.index;Y(V,J)},W.onClick=function(V){var z=W.props,Y=z.onClick,J=z.index;Y(V,J)},W.onKeyDown=function(V){var z=W.props,Y=z.onClick,J=z.index;V.keyCode===13&&Y(V,J)},W}return Object(p.a)(j,[{key:"getClassName",value:function(){var V=this.props,z=V.prefixCls,Y=V.index,J=V.value,ie=V.allowHalf,Z=V.focused,oe=Y+1,ge=z;return J===0&&Y===0&&Z?ge+=" ".concat(z,"-focused"):ie&&J+.5>=oe&&J<oe?(ge+=" ".concat(z,"-half ").concat(z,"-active"),Z&&(ge+=" ".concat(z,"-focused"))):(ge+=oe<=J?" ".concat(z,"-full"):" ".concat(z,"-zero"),oe===J&&Z&&(ge+=" ".concat(z,"-focused"))),ge}},{key:"render",value:function(){var V=this.onHover,z=this.onClick,Y=this.onKeyDown,J=this.props,ie=J.disabled,Z=J.prefixCls,oe=J.character,ge=J.characterRender,pe=J.index,De=J.count,ce=J.value,Oe=typeof oe=="function"?oe(this.props):oe,se=A.a.createElement("li",{className:this.getClassName()},A.a.createElement("div",{onClick:ie?null:z,onKeyDown:ie?null:Y,onMouseMove:ie?null:V,role:"radio","aria-checked":ce>pe?"true":"false","aria-posinset":pe+1,"aria-setsize":De,tabIndex:ie?-1:0},A.a.createElement("div",{className:"".concat(Z,"-first")},Oe),A.a.createElement("div",{className:"".concat(Z,"-second")},Oe)));return ge&&(se=ge(se,this.props)),se}}]),j}(A.a.Component);function g(U,F){var j=Object.keys(U);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(U);F&&(W=W.filter(function(V){return Object.getOwnPropertyDescriptor(U,V).enumerable})),j.push.apply(j,W)}return j}function v(U){for(var F=1;F<arguments.length;F++){var j=arguments[F]!=null?arguments[F]:{};F%2?g(Object(j),!0).forEach(function(W){Object(b.a)(U,W,j[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(j)):g(Object(j)).forEach(function(W){Object.defineProperty(U,W,Object.getOwnPropertyDescriptor(j,W))})}return U}function y(U){var F=E();return function(){var W=Object(r.a)(U),V;if(F){var z=Object(r.a)(this).constructor;V=Reflect.construct(W,arguments,z)}else V=W.apply(this,arguments);return Object(o.a)(this,V)}}function E(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(U){return!1}}function T(){}var w=function(U){Object(c.a)(j,U);var F=y(j);function j(W){var V;Object(m.a)(this,j),V=F.call(this,W),V.onHover=function(Y,J){var ie=V.props.onHoverChange,Z=V.getStarValue(J,Y.pageX),oe=V.state.cleanedValue;Z!==oe&&V.setState({hoverValue:Z,cleanedValue:null}),ie(Z)},V.onMouseLeave=function(){var Y=V.props.onHoverChange;V.setState({hoverValue:void 0,cleanedValue:null}),Y(void 0)},V.onClick=function(Y,J){var ie=V.props.allowClear,Z=V.state.value,oe=V.getStarValue(J,Y.pageX),ge=!1;ie&&(ge=oe===Z),V.onMouseLeave(),V.changeValue(ge?0:oe),V.setState({cleanedValue:ge?oe:null})},V.onFocus=function(){var Y=V.props.onFocus;V.setState({focused:!0}),Y&&Y()},V.onBlur=function(){var Y=V.props.onBlur;V.setState({focused:!1}),Y&&Y()},V.onKeyDown=function(Y){var J=Y.keyCode,ie=V.props,Z=ie.count,oe=ie.allowHalf,ge=ie.onKeyDown,pe=ie.direction,De=pe==="rtl",ce=V.state.value;J===s.a.RIGHT&&ce<Z&&!De?(oe?ce+=.5:ce+=1,V.changeValue(ce),Y.preventDefault()):J===s.a.LEFT&&ce>0&&!De||J===s.a.RIGHT&&ce>0&&De?(oe?ce-=.5:ce-=1,V.changeValue(ce),Y.preventDefault()):J===s.a.LEFT&&ce<Z&&De&&(oe?ce+=.5:ce+=1,V.changeValue(ce),Y.preventDefault()),ge&&ge(Y)},V.saveRef=function(Y){return function(J){V.stars[Y]=J}},V.saveRate=function(Y){V.rate=Y};var z=W.value;return z===void 0&&(z=W.defaultValue),V.stars={},V.state={value:z,focused:!1,cleanedValue:null},V}return Object(p.a)(j,[{key:"componentDidMount",value:function(){var V=this.props,z=V.autoFocus,Y=V.disabled;z&&!Y&&this.focus()}},{key:"getStarDOM",value:function(V){return Object(i.a)(this.stars[V])}},{key:"getStarValue",value:function(V,z){var Y=this.props,J=Y.allowHalf,ie=Y.direction,Z=ie==="rtl",oe=V+1;if(J){var ge=this.getStarDOM(V),pe=l(ge),De=ge.clientWidth;(Z&&z-pe>De/2||!Z&&z-pe<De/2)&&(oe-=.5)}return oe}},{key:"focus",value:function(){var V=this.props.disabled;V||this.rate.focus()}},{key:"blur",value:function(){var V=this.props.disabled;V||this.rate.blur()}},{key:"changeValue",value:function(V){var z=this.props.onChange;"value"in this.props||this.setState({value:V}),z(V)}},{key:"render",value:function(){for(var V=this.props,z=V.count,Y=V.allowHalf,J=V.style,ie=V.prefixCls,Z=V.disabled,oe=V.className,ge=V.character,pe=V.characterRender,De=V.tabIndex,ce=V.direction,Oe=this.state,se=Oe.value,$=Oe.hoverValue,ze=Oe.focused,re=[],X=Z?"".concat(ie,"-disabled"):"",G=0;G<z;G+=1)re.push(A.a.createElement(f,{ref:this.saveRef(G),index:G,count:z,disabled:Z,prefixCls:"".concat(ie,"-star"),allowHalf:Y,value:$===void 0?se:$,onClick:this.onClick,onHover:this.onHover,key:G,character:ge,characterRender:pe,focused:ze}));var Q=t()(ie,X,oe,Object(b.a)({},"".concat(ie,"-rtl"),ce==="rtl"));return A.a.createElement("ul",{className:Q,style:J,onMouseLeave:Z?null:this.onMouseLeave,tabIndex:Z?-1:De,onFocus:Z?null:this.onFocus,onBlur:Z?null:this.onBlur,onKeyDown:Z?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},re)}}],[{key:"getDerivedStateFromProps",value:function(V,z){return"value"in V&&V.value!==void 0?v(v({},z),{},{value:V.value}):z}}]),j}(A.a.Component);w.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:T,character:"\u2605",onHoverChange:T,tabIndex:0,direction:"ltr"};var S=w,I=S,L=d("Lerx"),O=d.n(L),N=d("3S7+"),R=d("H84U"),D=function(U,F){var j={};for(var W in U)Object.prototype.hasOwnProperty.call(U,W)&&F.indexOf(W)<0&&(j[W]=U[W]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,W=Object.getOwnPropertySymbols(U);V<W.length;V++)F.indexOf(W[V])<0&&Object.prototype.propertyIsEnumerable.call(U,W[V])&&(j[W[V]]=U[W[V]]);return j},B=C.forwardRef(function(U,F){var j=U.prefixCls,W=U.tooltips,V=D(U,["prefixCls","tooltips"]),z=function(ge,pe){var De=pe.index;return W?C.createElement(N.a,{title:W[De]},ge):ge},Y=C.useContext(R.b),J=Y.getPrefixCls,ie=Y.direction,Z=J("rate",j);return C.createElement(I,x()({ref:F,characterRender:z},V,{prefixCls:Z,direction:ie}))});B.displayName="Rate",B.defaultProps={character:C.createElement(O.a,null)};var M=k.a=B},H6uX:function(H,k){var d=Array.prototype.slice,_=function(m){this._$handlers={},this._$eventProcessor=m};_.prototype={constructor:_,one:function(m,p,c,o){return C(this,m,p,c,o,!0)},on:function(m,p,c,o){return C(this,m,p,c,o,!1)},isSilent:function(m){var p=this._$handlers;return!p[m]||!p[m].length},off:function(m,p){var c=this._$handlers;if(!m)return this._$handlers={},this;if(p){if(c[m]){for(var o=[],r=0,i=c[m].length;r<i;r++)c[m][r].h!==p&&o.push(c[m][r]);c[m]=o}c[m]&&c[m].length===0&&delete c[m]}else delete c[m];return this},trigger:function(m){var p=this._$handlers[m],c=this._$eventProcessor;if(p){var o=arguments,r=o.length;r>3&&(o=d.call(o,1));for(var i=p.length,n=0;n<i;){var t=p[n];if(c&&c.filter&&t.query!=null&&!c.filter(m,t.query)){n++;continue}switch(r){case 1:t.h.call(t.ctx);break;case 2:t.h.call(t.ctx,o[1]);break;case 3:t.h.call(t.ctx,o[1],o[2]);break;default:t.h.apply(t.ctx,o);break}t.one?(p.splice(n,1),i--):n++}}return c&&c.afterTrigger&&c.afterTrigger(m),this},triggerWithContext:function(m){var p=this._$handlers[m],c=this._$eventProcessor;if(p){var o=arguments,r=o.length;r>4&&(o=d.call(o,1,o.length-1));for(var i=o[o.length-1],n=p.length,t=0;t<n;){var s=p[t];if(c&&c.filter&&s.query!=null&&!c.filter(m,s.query)){t++;continue}switch(r){case 1:s.h.call(i);break;case 2:s.h.call(i,o[1]);break;case 3:s.h.call(i,o[1],o[2]);break;default:s.h.apply(i,o);break}s.one?(p.splice(t,1),n--):t++}}return c&&c.afterTrigger&&c.afterTrigger(m),this}};function x(b,m){var p=b._$eventProcessor;return m!=null&&p&&p.normalizeQuery&&(m=p.normalizeQuery(m)),m}function C(b,m,p,c,o,r){var i=b._$handlers;if(typeof p=="function"&&(o=c,c=p,p=null),!c||!m)return b;p=x(b,p),i[m]||(i[m]=[]);for(var n=0;n<i[m].length;n++)if(i[m][n].h===c)return b;var t={h:c,one:r,query:p,ctx:o||b,callAtLast:c.zrEventfulCallAtLast},s=i[m].length-1,e=i[m][s];return e&&e.callAtLast?i[m].splice(s,0,t):i[m].push(t),b}var A=_;H.exports=A},H7XF:function(H,k,d){"use strict";k.byteLength=c,k.toByteArray=r,k.fromByteArray=t;for(var _=[],x=[],C=typeof Uint8Array!="undefined"?Uint8Array:Array,A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,m=A.length;b<m;++b)_[b]=A[b],x[A.charCodeAt(b)]=b;x["-".charCodeAt(0)]=62,x["_".charCodeAt(0)]=63;function p(s){var e=s.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=s.indexOf("=");a===-1&&(a=e);var l=a===e?0:4-a%4;return[a,l]}function c(s){var e=p(s),a=e[0],l=e[1];return(a+l)*3/4-l}function o(s,e,a){return(e+a)*3/4-a}function r(s){var e,a=p(s),l=a[0],u=a[1],h=new C(o(s,l,u)),f=0,g=u>0?l-4:l,v;for(v=0;v<g;v+=4)e=x[s.charCodeAt(v)]<<18|x[s.charCodeAt(v+1)]<<12|x[s.charCodeAt(v+2)]<<6|x[s.charCodeAt(v+3)],h[f++]=e>>16&255,h[f++]=e>>8&255,h[f++]=e&255;return u===2&&(e=x[s.charCodeAt(v)]<<2|x[s.charCodeAt(v+1)]>>4,h[f++]=e&255),u===1&&(e=x[s.charCodeAt(v)]<<10|x[s.charCodeAt(v+1)]<<4|x[s.charCodeAt(v+2)]>>2,h[f++]=e>>8&255,h[f++]=e&255),h}function i(s){return _[s>>18&63]+_[s>>12&63]+_[s>>6&63]+_[s&63]}function n(s,e,a){for(var l,u=[],h=e;h<a;h+=3)l=(s[h]<<16&16711680)+(s[h+1]<<8&65280)+(s[h+2]&255),u.push(i(l));return u.join("")}function t(s){for(var e,a=s.length,l=a%3,u=[],h=16383,f=0,g=a-l;f<g;f+=h)u.push(n(s,f,f+h>g?g:f+h));return l===1?(e=s[a-1],u.push(_[e>>2]+_[e<<4&63]+"==")):l===2&&(e=(s[a-2]<<8)+s[a-1],u.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),u.join("")}},HBhm:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},HDXh:function(H,k,d){"use strict";(function(_){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/var x=d("H7XF"),C=d("kVK+"),A=d("v3Qx");k.Buffer=c,k.SlowBuffer=u,k.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=_.TYPED_ARRAY_SUPPORT!==void 0?_.TYPED_ARRAY_SUPPORT:b(),k.kMaxLength=m();function b(){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(X){return!1}}function m(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(re,X){if(m()<X)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(re=new Uint8Array(X),re.__proto__=c.prototype):(re===null&&(re=new c(X)),re.length=X),re}function c(re,X,G){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(re,X,G);if(typeof re=="number"){if(typeof X=="string")throw new Error("If encoding is specified then the first argument must be a string");return n(this,re)}return o(this,re,X,G)}c.poolSize=8192,c._augment=function(re){return re.__proto__=c.prototype,re};function o(re,X,G,Q){if(typeof X=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&X instanceof ArrayBuffer?e(re,X,G,Q):typeof X=="string"?t(re,X,G):a(re,X)}c.from=function(re,X,G){return o(null,re,X,G)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0}));function r(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 i(re,X,G,Q){return r(X),X<=0?p(re,X):G!==void 0?typeof Q=="string"?p(re,X).fill(G,Q):p(re,X).fill(G):p(re,X)}c.alloc=function(re,X,G){return i(null,re,X,G)};function n(re,X){if(r(X),re=p(re,X<0?0:l(X)|0),!c.TYPED_ARRAY_SUPPORT)for(var G=0;G<X;++G)re[G]=0;return re}c.allocUnsafe=function(re){return n(null,re)},c.allocUnsafeSlow=function(re){return n(null,re)};function t(re,X,G){if((typeof G!="string"||G==="")&&(G="utf8"),!c.isEncoding(G))throw new TypeError('"encoding" must be a valid string encoding');var Q=h(X,G)|0;re=p(re,Q);var ve=re.write(X,G);return ve!==Q&&(re=re.slice(0,ve)),re}function s(re,X){var G=X.length<0?0:l(X.length)|0;re=p(re,G);for(var Q=0;Q<G;Q+=1)re[Q]=X[Q]&255;return re}function e(re,X,G,Q){if(X.byteLength,G<0||X.byteLength<G)throw new RangeError("'offset' is out of bounds");if(X.byteLength<G+(Q||0))throw new RangeError("'length' is out of bounds");return G===void 0&&Q===void 0?X=new Uint8Array(X):Q===void 0?X=new Uint8Array(X,G):X=new Uint8Array(X,G,Q),c.TYPED_ARRAY_SUPPORT?(re=X,re.__proto__=c.prototype):re=s(re,X),re}function a(re,X){if(c.isBuffer(X)){var G=l(X.length)|0;return re=p(re,G),re.length===0||X.copy(re,0,0,G),re}if(X){if(typeof ArrayBuffer!="undefined"&&X.buffer instanceof ArrayBuffer||"length"in X)return typeof X.length!="number"||ze(X.length)?p(re,0):s(re,X);if(X.type==="Buffer"&&A(X.data))return s(re,X.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function l(re){if(re>=m())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+m().toString(16)+" bytes");return re|0}function u(re){return+re!=re&&(re=0),c.alloc(+re)}c.isBuffer=function(X){return!!(X!=null&&X._isBuffer)},c.compare=function(X,G){if(!c.isBuffer(X)||!c.isBuffer(G))throw new TypeError("Arguments must be Buffers");if(X===G)return 0;for(var Q=X.length,ve=G.length,de=0,Ce=Math.min(Q,ve);de<Ce;++de)if(X[de]!==G[de]){Q=X[de],ve=G[de];break}return Q<ve?-1:ve<Q?1:0},c.isEncoding=function(X){switch(String(X).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(X,G){if(!A(X))throw new TypeError('"list" argument must be an Array of Buffers');if(X.length===0)return c.alloc(0);var Q;if(G===void 0)for(G=0,Q=0;Q<X.length;++Q)G+=X[Q].length;var ve=c.allocUnsafe(G),de=0;for(Q=0;Q<X.length;++Q){var Ce=X[Q];if(!c.isBuffer(Ce))throw new TypeError('"list" argument must be an Array of Buffers');Ce.copy(ve,de),de+=Ce.length}return ve};function h(re,X){if(c.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 G=re.length;if(G===0)return 0;for(var Q=!1;;)switch(X){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":case void 0:return De(re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G*2;case"hex":return G>>>1;case"base64":return se(re).length;default:if(Q)return De(re).length;X=(""+X).toLowerCase(),Q=!0}}c.byteLength=h;function f(re,X,G){var Q=!1;if((X===void 0||X<0)&&(X=0),X>this.length)return"";if((G===void 0||G>this.length)&&(G=this.length),G<=0)return"";if(G>>>=0,X>>>=0,G<=X)return"";for(re||(re="utf8");;)switch(re){case"hex":return U(this,X,G);case"utf8":case"utf-8":return N(this,X,G);case"ascii":return B(this,X,G);case"latin1":case"binary":return M(this,X,G);case"base64":return O(this,X,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,X,G);default:if(Q)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),Q=!0}}c.prototype._isBuffer=!0;function g(re,X,G){var Q=re[X];re[X]=re[G],re[G]=Q}c.prototype.swap16=function(){var X=this.length;if(X%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var G=0;G<X;G+=2)g(this,G,G+1);return this},c.prototype.swap32=function(){var X=this.length;if(X%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var G=0;G<X;G+=4)g(this,G,G+3),g(this,G+1,G+2);return this},c.prototype.swap64=function(){var X=this.length;if(X%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var G=0;G<X;G+=8)g(this,G,G+7),g(this,G+1,G+6),g(this,G+2,G+5),g(this,G+3,G+4);return this},c.prototype.toString=function(){var X=this.length|0;return X===0?"":arguments.length===0?N(this,0,X):f.apply(this,arguments)},c.prototype.equals=function(X){if(!c.isBuffer(X))throw new TypeError("Argument must be a Buffer");return this===X?!0:c.compare(this,X)===0},c.prototype.inspect=function(){var X="",G=k.INSPECT_MAX_BYTES;return this.length>0&&(X=this.toString("hex",0,G).match(/.{2}/g).join(" "),this.length>G&&(X+=" ... ")),"<Buffer "+X+">"},c.prototype.compare=function(X,G,Q,ve,de){if(!c.isBuffer(X))throw new TypeError("Argument must be a Buffer");if(G===void 0&&(G=0),Q===void 0&&(Q=X?X.length:0),ve===void 0&&(ve=0),de===void 0&&(de=this.length),G<0||Q>X.length||ve<0||de>this.length)throw new RangeError("out of range index");if(ve>=de&&G>=Q)return 0;if(ve>=de)return-1;if(G>=Q)return 1;if(G>>>=0,Q>>>=0,ve>>>=0,de>>>=0,this===X)return 0;for(var Ce=de-ve,we=Q-G,le=Math.min(Ce,we),fe=this.slice(ve,de),xe=X.slice(G,Q),We=0;We<le;++We)if(fe[We]!==xe[We]){Ce=fe[We],we=xe[We];break}return Ce<we?-1:we<Ce?1:0};function v(re,X,G,Q,ve){if(re.length===0)return-1;if(typeof G=="string"?(Q=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),G=+G,isNaN(G)&&(G=ve?0:re.length-1),G<0&&(G=re.length+G),G>=re.length){if(ve)return-1;G=re.length-1}else if(G<0)if(ve)G=0;else return-1;if(typeof X=="string"&&(X=c.from(X,Q)),c.isBuffer(X))return X.length===0?-1:y(re,X,G,Q,ve);if(typeof X=="number")return X=X&255,c.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ve?Uint8Array.prototype.indexOf.call(re,X,G):Uint8Array.prototype.lastIndexOf.call(re,X,G):y(re,[X],G,Q,ve);throw new TypeError("val must be string, number or Buffer")}function y(re,X,G,Q,ve){var de=1,Ce=re.length,we=X.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(re.length<2||X.length<2)return-1;de=2,Ce/=2,we/=2,G/=2}function le($e,Le){return de===1?$e[Le]:$e.readUInt16BE(Le*de)}var fe;if(ve){var xe=-1;for(fe=G;fe<Ce;fe++)if(le(re,fe)===le(X,xe===-1?0:fe-xe)){if(xe===-1&&(xe=fe),fe-xe+1===we)return xe*de}else xe!==-1&&(fe-=fe-xe),xe=-1}else for(G+we>Ce&&(G=Ce-we),fe=G;fe>=0;fe--){for(var We=!0,nt=0;nt<we;nt++)if(le(re,fe+nt)!==le(X,nt)){We=!1;break}if(We)return fe}return-1}c.prototype.includes=function(X,G,Q){return this.indexOf(X,G,Q)!==-1},c.prototype.indexOf=function(X,G,Q){return v(this,X,G,Q,!0)},c.prototype.lastIndexOf=function(X,G,Q){return v(this,X,G,Q,!1)};function E(re,X,G,Q){G=Number(G)||0;var ve=re.length-G;Q?(Q=Number(Q),Q>ve&&(Q=ve)):Q=ve;var de=X.length;if(de%2!==0)throw new TypeError("Invalid hex string");Q>de/2&&(Q=de/2);for(var Ce=0;Ce<Q;++Ce){var we=parseInt(X.substr(Ce*2,2),16);if(isNaN(we))return Ce;re[G+Ce]=we}return Ce}function T(re,X,G,Q){return $(De(X,re.length-G),re,G,Q)}function w(re,X,G,Q){return $(ce(X),re,G,Q)}function S(re,X,G,Q){return w(re,X,G,Q)}function I(re,X,G,Q){return $(se(X),re,G,Q)}function L(re,X,G,Q){return $(Oe(X,re.length-G),re,G,Q)}c.prototype.write=function(X,G,Q,ve){if(G===void 0)ve="utf8",Q=this.length,G=0;else if(Q===void 0&&typeof G=="string")ve=G,Q=this.length,G=0;else if(isFinite(G))G=G|0,isFinite(Q)?(Q=Q|0,ve===void 0&&(ve="utf8")):(ve=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var de=this.length-G;if((Q===void 0||Q>de)&&(Q=de),X.length>0&&(Q<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");ve||(ve="utf8");for(var Ce=!1;;)switch(ve){case"hex":return E(this,X,G,Q);case"utf8":case"utf-8":return T(this,X,G,Q);case"ascii":return w(this,X,G,Q);case"latin1":case"binary":return S(this,X,G,Q);case"base64":return I(this,X,G,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,X,G,Q);default:if(Ce)throw new TypeError("Unknown encoding: "+ve);ve=(""+ve).toLowerCase(),Ce=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(re,X,G){return X===0&&G===re.length?x.fromByteArray(re):x.fromByteArray(re.slice(X,G))}function N(re,X,G){G=Math.min(re.length,G);for(var Q=[],ve=X;ve<G;){var de=re[ve],Ce=null,we=de>239?4:de>223?3:de>191?2:1;if(ve+we<=G){var le,fe,xe,We;switch(we){case 1:de<128&&(Ce=de);break;case 2:le=re[ve+1],(le&192)===128&&(We=(de&31)<<6|le&63,We>127&&(Ce=We));break;case 3:le=re[ve+1],fe=re[ve+2],(le&192)===128&&(fe&192)===128&&(We=(de&15)<<12|(le&63)<<6|fe&63,We>2047&&(We<55296||We>57343)&&(Ce=We));break;case 4:le=re[ve+1],fe=re[ve+2],xe=re[ve+3],(le&192)===128&&(fe&192)===128&&(xe&192)===128&&(We=(de&15)<<18|(le&63)<<12|(fe&63)<<6|xe&63,We>65535&&We<1114112&&(Ce=We))}}Ce===null?(Ce=65533,we=1):Ce>65535&&(Ce-=65536,Q.push(Ce>>>10&1023|55296),Ce=56320|Ce&1023),Q.push(Ce),ve+=we}return D(Q)}var R=4096;function D(re){var X=re.length;if(X<=R)return String.fromCharCode.apply(String,re);for(var G="",Q=0;Q<X;)G+=String.fromCharCode.apply(String,re.slice(Q,Q+=R));return G}function B(re,X,G){var Q="";G=Math.min(re.length,G);for(var ve=X;ve<G;++ve)Q+=String.fromCharCode(re[ve]&127);return Q}function M(re,X,G){var Q="";G=Math.min(re.length,G);for(var ve=X;ve<G;++ve)Q+=String.fromCharCode(re[ve]);return Q}function U(re,X,G){var Q=re.length;(!X||X<0)&&(X=0),(!G||G<0||G>Q)&&(G=Q);for(var ve="",de=X;de<G;++de)ve+=pe(re[de]);return ve}function F(re,X,G){for(var Q=re.slice(X,G),ve="",de=0;de<Q.length;de+=2)ve+=String.fromCharCode(Q[de]+Q[de+1]*256);return ve}c.prototype.slice=function(X,G){var Q=this.length;X=~~X,G=G===void 0?Q:~~G,X<0?(X+=Q,X<0&&(X=0)):X>Q&&(X=Q),G<0?(G+=Q,G<0&&(G=0)):G>Q&&(G=Q),G<X&&(G=X);var ve;if(c.TYPED_ARRAY_SUPPORT)ve=this.subarray(X,G),ve.__proto__=c.prototype;else{var de=G-X;ve=new c(de,void 0);for(var Ce=0;Ce<de;++Ce)ve[Ce]=this[Ce+X]}return ve};function j(re,X,G){if(re%1!==0||re<0)throw new RangeError("offset is not uint");if(re+X>G)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUIntLE=function(X,G,Q){X=X|0,G=G|0,Q||j(X,G,this.length);for(var ve=this[X],de=1,Ce=0;++Ce<G&&(de*=256);)ve+=this[X+Ce]*de;return ve},c.prototype.readUIntBE=function(X,G,Q){X=X|0,G=G|0,Q||j(X,G,this.length);for(var ve=this[X+--G],de=1;G>0&&(de*=256);)ve+=this[X+--G]*de;return ve},c.prototype.readUInt8=function(X,G){return G||j(X,1,this.length),this[X]},c.prototype.readUInt16LE=function(X,G){return G||j(X,2,this.length),this[X]|this[X+1]<<8},c.prototype.readUInt16BE=function(X,G){return G||j(X,2,this.length),this[X]<<8|this[X+1]},c.prototype.readUInt32LE=function(X,G){return G||j(X,4,this.length),(this[X]|this[X+1]<<8|this[X+2]<<16)+this[X+3]*16777216},c.prototype.readUInt32BE=function(X,G){return G||j(X,4,this.length),this[X]*16777216+(this[X+1]<<16|this[X+2]<<8|this[X+3])},c.prototype.readIntLE=function(X,G,Q){X=X|0,G=G|0,Q||j(X,G,this.length);for(var ve=this[X],de=1,Ce=0;++Ce<G&&(de*=256);)ve+=this[X+Ce]*de;return de*=128,ve>=de&&(ve-=Math.pow(2,8*G)),ve},c.prototype.readIntBE=function(X,G,Q){X=X|0,G=G|0,Q||j(X,G,this.length);for(var ve=G,de=1,Ce=this[X+--ve];ve>0&&(de*=256);)Ce+=this[X+--ve]*de;return de*=128,Ce>=de&&(Ce-=Math.pow(2,8*G)),Ce},c.prototype.readInt8=function(X,G){return G||j(X,1,this.length),this[X]&128?(255-this[X]+1)*-1:this[X]},c.prototype.readInt16LE=function(X,G){G||j(X,2,this.length);var Q=this[X]|this[X+1]<<8;return Q&32768?Q|4294901760:Q},c.prototype.readInt16BE=function(X,G){G||j(X,2,this.length);var Q=this[X+1]|this[X]<<8;return Q&32768?Q|4294901760:Q},c.prototype.readInt32LE=function(X,G){return G||j(X,4,this.length),this[X]|this[X+1]<<8|this[X+2]<<16|this[X+3]<<24},c.prototype.readInt32BE=function(X,G){return G||j(X,4,this.length),this[X]<<24|this[X+1]<<16|this[X+2]<<8|this[X+3]},c.prototype.readFloatLE=function(X,G){return G||j(X,4,this.length),C.read(this,X,!0,23,4)},c.prototype.readFloatBE=function(X,G){return G||j(X,4,this.length),C.read(this,X,!1,23,4)},c.prototype.readDoubleLE=function(X,G){return G||j(X,8,this.length),C.read(this,X,!0,52,8)},c.prototype.readDoubleBE=function(X,G){return G||j(X,8,this.length),C.read(this,X,!1,52,8)};function W(re,X,G,Q,ve,de){if(!c.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(X>ve||X<de)throw new RangeError('"value" argument is out of bounds');if(G+Q>re.length)throw new RangeError("Index out of range")}c.prototype.writeUIntLE=function(X,G,Q,ve){if(X=+X,G=G|0,Q=Q|0,!ve){var de=Math.pow(2,8*Q)-1;W(this,X,G,Q,de,0)}var Ce=1,we=0;for(this[G]=X&255;++we<Q&&(Ce*=256);)this[G+we]=X/Ce&255;return G+Q},c.prototype.writeUIntBE=function(X,G,Q,ve){if(X=+X,G=G|0,Q=Q|0,!ve){var de=Math.pow(2,8*Q)-1;W(this,X,G,Q,de,0)}var Ce=Q-1,we=1;for(this[G+Ce]=X&255;--Ce>=0&&(we*=256);)this[G+Ce]=X/we&255;return G+Q},c.prototype.writeUInt8=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,1,255,0),c.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),this[G]=X&255,G+1};function V(re,X,G,Q){X<0&&(X=65535+X+1);for(var ve=0,de=Math.min(re.length-G,2);ve<de;++ve)re[G+ve]=(X&255<<8*(Q?ve:1-ve))>>>(Q?ve:1-ve)*8}c.prototype.writeUInt16LE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[G]=X&255,this[G+1]=X>>>8):V(this,X,G,!0),G+2},c.prototype.writeUInt16BE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[G]=X>>>8,this[G+1]=X&255):V(this,X,G,!1),G+2};function z(re,X,G,Q){X<0&&(X=4294967295+X+1);for(var ve=0,de=Math.min(re.length-G,4);ve<de;++ve)re[G+ve]=X>>>(Q?ve:3-ve)*8&255}c.prototype.writeUInt32LE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[G+3]=X>>>24,this[G+2]=X>>>16,this[G+1]=X>>>8,this[G]=X&255):z(this,X,G,!0),G+4},c.prototype.writeUInt32BE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[G]=X>>>24,this[G+1]=X>>>16,this[G+2]=X>>>8,this[G+3]=X&255):z(this,X,G,!1),G+4},c.prototype.writeIntLE=function(X,G,Q,ve){if(X=+X,G=G|0,!ve){var de=Math.pow(2,8*Q-1);W(this,X,G,Q,de-1,-de)}var Ce=0,we=1,le=0;for(this[G]=X&255;++Ce<Q&&(we*=256);)X<0&&le===0&&this[G+Ce-1]!==0&&(le=1),this[G+Ce]=(X/we>>0)-le&255;return G+Q},c.prototype.writeIntBE=function(X,G,Q,ve){if(X=+X,G=G|0,!ve){var de=Math.pow(2,8*Q-1);W(this,X,G,Q,de-1,-de)}var Ce=Q-1,we=1,le=0;for(this[G+Ce]=X&255;--Ce>=0&&(we*=256);)X<0&&le===0&&this[G+Ce+1]!==0&&(le=1),this[G+Ce]=(X/we>>0)-le&255;return G+Q},c.prototype.writeInt8=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,1,127,-128),c.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),X<0&&(X=255+X+1),this[G]=X&255,G+1},c.prototype.writeInt16LE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[G]=X&255,this[G+1]=X>>>8):V(this,X,G,!0),G+2},c.prototype.writeInt16BE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[G]=X>>>8,this[G+1]=X&255):V(this,X,G,!1),G+2},c.prototype.writeInt32LE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[G]=X&255,this[G+1]=X>>>8,this[G+2]=X>>>16,this[G+3]=X>>>24):z(this,X,G,!0),G+4},c.prototype.writeInt32BE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,4,2147483647,-2147483648),X<0&&(X=4294967295+X+1),c.TYPED_ARRAY_SUPPORT?(this[G]=X>>>24,this[G+1]=X>>>16,this[G+2]=X>>>8,this[G+3]=X&255):z(this,X,G,!1),G+4};function Y(re,X,G,Q,ve,de){if(G+Q>re.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function J(re,X,G,Q,ve){return ve||Y(re,X,G,4,34028234663852886e22,-34028234663852886e22),C.write(re,X,G,Q,23,4),G+4}c.prototype.writeFloatLE=function(X,G,Q){return J(this,X,G,!0,Q)},c.prototype.writeFloatBE=function(X,G,Q){return J(this,X,G,!1,Q)};function ie(re,X,G,Q,ve){return ve||Y(re,X,G,8,17976931348623157e292,-17976931348623157e292),C.write(re,X,G,Q,52,8),G+8}c.prototype.writeDoubleLE=function(X,G,Q){return ie(this,X,G,!0,Q)},c.prototype.writeDoubleBE=function(X,G,Q){return ie(this,X,G,!1,Q)},c.prototype.copy=function(X,G,Q,ve){if(Q||(Q=0),!ve&&ve!==0&&(ve=this.length),G>=X.length&&(G=X.length),G||(G=0),ve>0&&ve<Q&&(ve=Q),ve===Q)return 0;if(X.length===0||this.length===0)return 0;if(G<0)throw new RangeError("targetStart out of bounds");if(Q<0||Q>=this.length)throw new RangeError("sourceStart out of bounds");if(ve<0)throw new RangeError("sourceEnd out of bounds");ve>this.length&&(ve=this.length),X.length-G<ve-Q&&(ve=X.length-G+Q);var de=ve-Q,Ce;if(this===X&&Q<G&&G<ve)for(Ce=de-1;Ce>=0;--Ce)X[Ce+G]=this[Ce+Q];else if(de<1e3||!c.TYPED_ARRAY_SUPPORT)for(Ce=0;Ce<de;++Ce)X[Ce+G]=this[Ce+Q];else Uint8Array.prototype.set.call(X,this.subarray(Q,Q+de),G);return de},c.prototype.fill=function(X,G,Q,ve){if(typeof X=="string"){if(typeof G=="string"?(ve=G,G=0,Q=this.length):typeof Q=="string"&&(ve=Q,Q=this.length),X.length===1){var de=X.charCodeAt(0);de<256&&(X=de)}if(ve!==void 0&&typeof ve!="string")throw new TypeError("encoding must be a string");if(typeof ve=="string"&&!c.isEncoding(ve))throw new TypeError("Unknown encoding: "+ve)}else typeof X=="number"&&(X=X&255);if(G<0||this.length<G||this.length<Q)throw new RangeError("Out of range index");if(Q<=G)return this;G=G>>>0,Q=Q===void 0?this.length:Q>>>0,X||(X=0);var Ce;if(typeof X=="number")for(Ce=G;Ce<Q;++Ce)this[Ce]=X;else{var we=c.isBuffer(X)?X:De(new c(X,ve).toString()),le=we.length;for(Ce=0;Ce<Q-G;++Ce)this[Ce+G]=we[Ce%le]}return this};var Z=/[^+\/0-9A-Za-z-_]/g;function oe(re){if(re=ge(re).replace(Z,""),re.length<2)return"";for(;re.length%4!==0;)re=re+"=";return re}function ge(re){return re.trim?re.trim():re.replace(/^\s+|\s+$/g,"")}function pe(re){return re<16?"0"+re.toString(16):re.toString(16)}function De(re,X){X=X||Infinity;for(var G,Q=re.length,ve=null,de=[],Ce=0;Ce<Q;++Ce){if(G=re.charCodeAt(Ce),G>55295&&G<57344){if(!ve){if(G>56319){(X-=3)>-1&&de.push(239,191,189);continue}else if(Ce+1===Q){(X-=3)>-1&&de.push(239,191,189);continue}ve=G;continue}if(G<56320){(X-=3)>-1&&de.push(239,191,189),ve=G;continue}G=(ve-55296<<10|G-56320)+65536}else ve&&((X-=3)>-1&&de.push(239,191,189));if(ve=null,G<128){if((X-=1)<0)break;de.push(G)}else if(G<2048){if((X-=2)<0)break;de.push(G>>6|192,G&63|128)}else if(G<65536){if((X-=3)<0)break;de.push(G>>12|224,G>>6&63|128,G&63|128)}else if(G<1114112){if((X-=4)<0)break;de.push(G>>18|240,G>>12&63|128,G>>6&63|128,G&63|128)}else throw new Error("Invalid code point")}return de}function ce(re){for(var X=[],G=0;G<re.length;++G)X.push(re.charCodeAt(G)&255);return X}function Oe(re,X){for(var G,Q,ve,de=[],Ce=0;Ce<re.length&&!((X-=2)<0);++Ce)G=re.charCodeAt(Ce),Q=G>>8,ve=G%256,de.push(ve),de.push(Q);return de}function se(re){return x.toByteArray(oe(re))}function $(re,X,G,Q){for(var ve=0;ve<Q&&!(ve+G>=X.length||ve>=re.length);++ve)X[ve+G]=re[ve];return ve}function ze(re){return re!==re}}).call(this,d("yLpj"))},"HF/U":function(H,k,d){var _=d("QBsz");function x(A){var b=A.coordinateSystem;if(b&&b.type!=="view")return;var m=A.getGraph();m.eachNode(function(p){var c=p.getModel();p.setLayout([+c.get("x"),+c.get("y")])}),C(m)}function C(A){A.eachEdge(function(b){var m=b.getModel().get("lineStyle.curveness")||0,p=_.clone(b.node1.getLayout()),c=_.clone(b.node2.getLayout()),o=[p,c];+m&&o.push([(p[0]+c[0])/2-(p[1]-c[1])*m,(p[1]+c[1])/2-(c[0]-p[0])*m]),b.setLayout(o)})}k.simpleLayout=x,k.simpleLayoutEdge=C},"HM/N":function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("/SeX"),b=d("OELB"),m=b.parsePercent,p=d("aX7z"),c=p.createScaleByModel,o=p.niceScaleExtent,r=d("IDmD"),i=d("7hqr"),n=i.getStackedDimension;d("ePAk");function t(l,u,h){var f=u.get("center"),g=h.getWidth(),v=h.getHeight();l.cx=m(f[0],g),l.cy=m(f[1],v);var y=l.getRadiusAxis(),E=Math.min(g,v)/2,T=u.get("radius");T==null?T=[0,"100%"]:C.isArray(T)||(T=[0,T]),T=[m(T[0],E),m(T[1],E)],y.inverse?y.setExtent(T[1],T[0]):y.setExtent(T[0],T[1])}function s(l,u){var h=this,f=h.getAngleAxis(),g=h.getRadiusAxis();if(f.scale.setExtent(Infinity,-Infinity),g.scale.setExtent(Infinity,-Infinity),l.eachSeries(function(E){if(E.coordinateSystem===h){var T=E.getData();C.each(T.mapDimension("radius",!0),function(w){g.scale.unionExtentFromData(T,n(T,w))}),C.each(T.mapDimension("angle",!0),function(w){f.scale.unionExtentFromData(T,n(T,w))})}}),o(f.scale,f.model),o(g.scale,g.model),f.type==="category"&&!f.onBand){var v=f.getExtent(),y=360/f.scale.count();f.inverse?v[1]+=y:v[1]-=y,f.setExtent(v[0],v[1])}}function e(l,u){if(l.type=u.get("type"),l.scale=c(u),l.onBand=u.get("boundaryGap")&&l.type==="category",l.inverse=u.get("inverse"),u.mainType==="angleAxis"){l.inverse^=u.get("clockwise");var h=u.get("startAngle");l.setExtent(h,h+(l.inverse?-360:360))}u.axis=l,l.model=u}var a={dimensions:A.prototype.dimensions,create:function(l,u){var h=[];return l.eachComponent("polar",function(f,g){var v=new A(g);v.update=s;var y=v.getRadiusAxis(),E=v.getAngleAxis(),T=f.findAxisModel("radiusAxis"),w=f.findAxisModel("angleAxis");e(y,T),e(E,w),t(v,f,u),h.push(v),f.coordinateSystem=v,v.model=f}),l.eachSeries(function(f){if(f.get("coordinateSystem")==="polar"){var g=l.queryComponents({mainType:"polar",index:f.get("polarIndex"),id:f.get("polarId")})[0];f.coordinateSystem=g.coordinateSystem}}),h}};r.register("polar",a)},HQEm:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("Sj0X"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},HjIi:function(H,k,d){var _=d("bYtY"),x=d("OELB"),C=x.parsePercent,A=d("7hqr"),b=A.isDimensionStacked;function m(i){return i.get("stack")||"__ec_stack_"+i.seriesIndex}function p(i,n){return n.dim+i.model.componentIndex}function c(i,n,t){var s={},e=o(_.filter(n.getSeriesByType(i),function(a){return!n.isSeriesFiltered(a)&&a.coordinateSystem&&a.coordinateSystem.type==="polar"}));n.eachSeriesByType(i,function(a){if(a.coordinateSystem.type!=="polar")return;var l=a.getData(),u=a.coordinateSystem,h=u.getBaseAxis(),f=p(u,h),g=m(a),v=e[f][g],y=v.offset,E=v.width,T=u.getOtherAxis(h),w=a.coordinateSystem.cx,S=a.coordinateSystem.cy,I=a.get("barMinHeight")||0,L=a.get("barMinAngle")||0;s[g]=s[g]||[];for(var O=l.mapDimension(T.dim),N=l.mapDimension(h.dim),R=b(l,O),D=h.dim!=="radius"||!a.get("roundCap",!0),B=T.getExtent()[0],M=0,U=l.count();M<U;M++){var F=l.get(O,M),j=l.get(N,M),W=F>=0?"p":"n",V=B;R&&(s[g][j]||(s[g][j]={p:B,n:B}),V=s[g][j][W]);var z,Y,J,ie;if(T.dim==="radius"){var Z=T.dataToRadius(F)-B,oe=h.dataToAngle(j);Math.abs(Z)<I&&(Z=(Z<0?-1:1)*I),z=V,Y=V+Z,J=oe-y,ie=J-E,R&&(s[g][j][W]=Y)}else{var ge=T.dataToAngle(F,D)-B,pe=h.dataToRadius(j);Math.abs(ge)<L&&(ge=(ge<0?-1:1)*L),z=pe+y,Y=z+E,J=V,ie=V+ge,R&&(s[g][j][W]=ie)}l.setItemLayout(M,{cx:w,cy:S,r0:z,r:Y,startAngle:-J*Math.PI/180,endAngle:-ie*Math.PI/180})}},this)}function o(i,n){var t={};_.each(i,function(e,a){var l=e.getData(),u=e.coordinateSystem,h=u.getBaseAxis(),f=p(u,h),g=h.getExtent(),v=h.type==="category"?h.getBandWidth():Math.abs(g[1]-g[0])/l.count(),y=t[f]||{bandWidth:v,remainedWidth:v,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},E=y.stacks;t[f]=y;var T=m(e);E[T]||y.autoWidthCount++,E[T]=E[T]||{width:0,maxWidth:0};var w=C(e.get("barWidth"),v),S=C(e.get("barMaxWidth"),v),I=e.get("barGap"),L=e.get("barCategoryGap");w&&!E[T].width&&(w=Math.min(y.remainedWidth,w),E[T].width=w,y.remainedWidth-=w),S&&(E[T].maxWidth=S),I!=null&&(y.gap=I),L!=null&&(y.categoryGap=L)});var s={};return _.each(t,function(e,a){s[a]={};var l=e.stacks,u=e.bandWidth,h=C(e.categoryGap,u),f=C(e.gap,1),g=e.remainedWidth,v=e.autoWidthCount,y=(g-h)/(v+(v-1)*f);y=Math.max(y,0),_.each(l,function(S,I){var L=S.maxWidth;L&&L<y&&(L=Math.min(L,g),S.width&&(L=Math.min(L,S.width)),g-=L,S.width=L,v--)}),y=(g-h)/(v+(v-1)*f),y=Math.max(y,0);var E=0,T;_.each(l,function(S,I){S.width||(S.width=y),T=S,E+=S.width*(1+f)}),T&&(E-=T.width*f);var w=-E/2;_.each(l,function(S,I){s[a][I]=s[a][I]||{offset:w,width:S.width},w+=S.width*(1+f)})}),s}var r=c;H.exports=r},HjOm:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _={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"},x=_;k.default=x},Hw7h:function(H,k,d){var _=d("y+Vt"),x=_.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(C,A){var b=Math.cos,m=Math.sin,p=A.r,c=A.width,o=A.angle,r=A.x-b(o)*c*(c>=p/3?1:2),i=A.y-m(o)*c*(c>=p/3?1:2);o=A.angle-Math.PI/2,C.moveTo(r,i),C.lineTo(A.x+b(o)*c,A.y+m(o)*c),C.lineTo(A.x+b(A.angle)*p,A.y+m(A.angle)*p),C.lineTo(A.x-b(o)*c,A.y-m(o)*c),C.lineTo(r,i);return}});H.exports=x},Hxpc:function(H,k,d){var _=d("bYtY"),x=d("4NO4"),C=d("bLfw"),A=d("Qxkt"),b=d("cCMj"),m=d("7uqq"),p=C.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(o){C.prototype.init.apply(this,arguments),x.defaultEmphasis(o,"label",["show"])},optionUpdated:function(){var o=this.option,r=this;o.regions=m.getFilledRegions(o.regions,o.map,o.nameMap),this._optionModelMap=_.reduce(o.regions||[],function(i,n){return n.name&&i.set(n.name,new A(n,r)),i},_.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 A(null,this,this.ecModel)},getFormattedLabel:function(o,r){var i=this.getRegionModel(o),n=i.get("label"+(r==="normal"?".":r+".")+"formatter"),t={name:o};if(typeof n=="function")return t.status=r,n(t);if(typeof n=="string")return n.replace("{a}",o!=null?o:"")},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o}});_.mixin(p,b);var c=p;H.exports=c},"I+77":function(H,k,d){var _=d("ProS");d("h54F"),d("lwQL"),d("10cm");var x=d("Z1r0"),C=d("f5Yq"),A=d("KUOm"),b=d("3m61"),m=d("01d+"),p=d("rdor"),c=d("WGYa"),o=d("ewwo");_.registerProcessor(x),_.registerVisual(C("graph","circle",null)),_.registerVisual(A),_.registerVisual(b),_.registerLayout(m),_.registerLayout(_.PRIORITY.VISUAL.POST_CHART_LAYOUT,p),_.registerLayout(c),_.registerCoordinateSystem("graphView",{create:o})},"I+Bx":function(H,k,d){var _=d("bYtY"),x=d("eIcI"),C=d("ieMj"),A=d("OELB"),b=d("aX7z"),m=b.getScaleExtent,p=b.niceScaleExtent,c=d("IDmD"),o=d("jCoz");function r(n,t,s){this._model=n,this.dimensions=[],this._indicatorAxes=_.map(n.getIndicatorModels(),function(e,a){var l="indicator_"+a,u=new x(l,e.get("axisType")==="log"?new o:new C);return u.name=e.get("name"),u.model=e,e.axis=u,this.dimensions.push(l),u},this),this.resize(n,s),this.cx,this.cy,this.r,this.r0,this.startAngle}r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(n,t){var s=this._indicatorAxes[t];return this.coordToPoint(s.dataToCoord(n),t)},r.prototype.coordToPoint=function(n,t){var s=this._indicatorAxes[t],e=s.angle,a=this.cx+n*Math.cos(e),l=this.cy-n*Math.sin(e);return[a,l]},r.prototype.pointToData=function(n){var t=n[0]-this.cx,s=n[1]-this.cy,e=Math.sqrt(t*t+s*s);t/=e,s/=e;for(var a=Math.atan2(-s,t),l=Infinity,u,h=-1,f=0;f<this._indicatorAxes.length;f++){var g=this._indicatorAxes[f],v=Math.abs(a-g.angle);v<l&&(u=g,h=f,l=v)}return[h,+(u&&u.coordToData(e))]},r.prototype.resize=function(n,t){var s=n.get("center"),e=t.getWidth(),a=t.getHeight(),l=Math.min(e,a)/2;this.cx=A.parsePercent(s[0],e),this.cy=A.parsePercent(s[1],a),this.startAngle=n.get("startAngle")*Math.PI/180;var u=n.get("radius");(typeof u=="string"||typeof u=="number")&&(u=[0,u]),this.r0=A.parsePercent(u[0],l),this.r=A.parsePercent(u[1],l),_.each(this._indicatorAxes,function(h,f){h.setExtent(this.r0,this.r);var g=this.startAngle+f*Math.PI*2/this._indicatorAxes.length;g=Math.atan2(Math.sin(g),Math.cos(g)),h.angle=g},this)},r.prototype.update=function(n,t){var s=this._indicatorAxes,e=this._model;_.each(s,function(u){u.scale.setExtent(Infinity,-Infinity)}),n.eachSeriesByType("radar",function(u,h){if(u.get("coordinateSystem")!=="radar"||n.getComponent("radar",u.get("radarIndex"))!==e)return;var f=u.getData();_.each(s,function(g){g.scale.unionExtentFromData(f,f.mapDimension(g.dim))})},this);var a=e.get("splitNumber");function l(u){var h=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),f=u/h;return f===2?f=5:f*=2,f*h}_.each(s,function(u,h){var f=m(u.scale,u.model).extent;p(u.scale,u.model);var g=u.model,v=u.scale,y=g.getMin(),E=g.getMax(),T=v.getInterval();if(y!=null&&E!=null)v.setExtent(+y,+E),v.setInterval((E-y)/a);else if(y!=null){var w;do w=y+T*a,v.setExtent(+y,w),v.setInterval(T),T=l(T);while(w<f[1]&&isFinite(w)&&isFinite(f[1]))}else if(E!=null){var S;do S=E-T*a,v.setExtent(S,+E),v.setInterval(T),T=l(T);while(S>f[0]&&isFinite(S)&&isFinite(f[0]))}else{var I=v.getTicks().length-1;I>a&&(T=l(T));var w=Math.ceil(f[1]/T)*T,S=A.round(w-T*a);v.setExtent(S,w),v.setInterval(T)}})},r.dimensions=[],r.create=function(n,t){var s=[];return n.eachComponent("radar",function(e){var a=new r(e,n,t);s.push(a),e.coordinateSystem=a}),n.eachSeriesByType("radar",function(e){e.get("coordinateSystem")==="radar"&&(e.coordinateSystem=s[e.get("radarIndex")||0])}),s},c.register("radar",r);var i=r;H.exports=i},"I3/A":function(H,k,d){var _=d("bYtY"),x=d("YXkt"),C=d("c2i1"),A=d("Mdki"),b=d("sdST"),m=d("IDmD"),p=d("MwEJ");function c(o,r,i,n,t){for(var s=new C(n),e=0;e<o.length;e++)s.addNode(_.retrieve(o[e].id,o[e].name,e),e);for(var a=[],l=[],u=0,e=0;e<r.length;e++){var h=r[e],f=h.source,g=h.target;s.addEdge(f,g,u)&&(l.push(h),a.push(_.retrieve(h.id,f+" > "+g)),u++)}var v=i.get("coordinateSystem"),y;if(v==="cartesian2d"||v==="polar")y=p(o,i);else{var E=m.get(v),T=E&&E.type!=="view"?E.dimensions||[]:[];_.indexOf(T,"value")<0&&T.concat(["value"]);var w=b(o,{coordDimensions:T});y=new x(w,i),y.initData(o)}var S=new x(["value"],i);return S.initData(l,a),t&&t(y,S),A({mainData:y,struct:s,structAttr:"graph",datas:{node:y,edge:S},datasAttr:{node:"data",edge:"edgeData"}}),s.update(),s}H.exports=c},I8Z2:function(H,k,d){"use strict";d.d(k,"a",function(){return A}),d.d(k,"b",function(){return t}),d.d(k,"c",function(){return e});var _=d("q1tI"),x=function(){var a=function(u,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,g){f.__proto__=g}||function(f,g){for(var v in g)g.hasOwnProperty(v)&&(f[v]=g[v])},a(u,h)};return function(l,u){a(l,u);function h(){this.constructor=l}l.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}}(),C=_.createContext(null),A=function(a){x(l,a);function l(){return a!==null&&a.apply(this,arguments)||this}return l.prototype.render=function(){return _.createElement(C.Provider,{value:this.props.store},this.props.children)},l}(_.Component),b=d("Gytx"),m=d.n(b),p=d("2mql"),c=d.n(p),o=function(){var a=function(u,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,g){f.__proto__=g}||function(f,g){for(var v in g)g.hasOwnProperty(v)&&(f[v]=g[v])},a(u,h)};return function(l,u){a(l,u);function h(){this.constructor=l}l.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}}(),r=function(){return r=Object.assign||function(a){for(var l,u=1,h=arguments.length;u<h;u++){l=arguments[u];for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(a[f]=l[f])}return a},r.apply(this,arguments)};function i(a){return a.displayName||a.name||"Component"}var n=function(){return{}};function t(a,l){l===void 0&&(l={});var u=!!a,h=a||n;return function(g){var v=function(E){o(T,E);function T(w,S){var I=E.call(this,w,S)||this;return I.unsubscribe=null,I.handleChange=function(){if(!I.unsubscribe)return;var L=h(I.store.getState(),I.props);I.setState({subscribed:L})},I.store=I.context,I.state={subscribed:h(I.store.getState(),w),store:I.store,props:w},I}return T.getDerivedStateFromProps=function(w,S){return a&&a.length===2&&w!==S.props?{subscribed:h(S.store.getState(),w),props:w}:{props:w}},T.prototype.componentDidMount=function(){this.trySubscribe()},T.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},T.prototype.shouldComponentUpdate=function(w,S){return!m()(this.props,w)||!m()(this.state.subscribed,S.subscribed)},T.prototype.trySubscribe=function(){u&&(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 w=r(r(r({},this.props),this.state.subscribed),{store:this.store});return _.createElement(g,r({},w,{ref:this.props.miniStoreForwardedRef}))},T.displayName="Connect("+i(g)+")",T.contextType=C,T}(_.Component);if(l.forwardRef){var y=_.forwardRef(function(E,T){return _.createElement(v,r({},E,{miniStoreForwardedRef:T}))});return c()(y,g)}return c()(v,g)}}var s=function(){return s=Object.assign||function(a){for(var l,u=1,h=arguments.length;u<h;u++){l=arguments[u];for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(a[f]=l[f])}return a},s.apply(this,arguments)};function e(a){var l=a,u=[];function h(v){l=s(s({},l),v);for(var y=0;y<u.length;y++)u[y]()}function f(){return l}function g(v){return u.push(v),function(){var E=u.indexOf(v);u.splice(E,1)}}return{setState:h,getState:f,subscribe:g}}},"I9Y+":function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("4xFK")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="DoubleRightOutlined";var c=A.forwardRef(p);k.default=c},ICMv:function(H,k,d){var _=d("bYtY"),x={getMin:function(C){var A=this.option,b=!C&&A.rangeStart!=null?A.rangeStart:A.min;return this.axis&&b!=null&&b!=="dataMin"&&typeof b!="function"&&!_.eqNaN(b)&&(b=this.axis.scale.parse(b)),b},getMax:function(C){var A=this.option,b=!C&&A.rangeEnd!=null?A.rangeEnd:A.max;return this.axis&&b!=null&&b!=="dataMax"&&typeof b!="function"&&!_.eqNaN(b)&&(b=this.axis.scale.parse(b)),b},getNeedCrossZero:function(){var C=this.option;return C.rangeStart!=null||C.rangeEnd!=null?!1:!C.scale},getCoordSysModel:_.noop,setRange:function(C,A){this.option.rangeStart=C,this.option.rangeEnd=A},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};H.exports=x},IDmD:function(H,k,d){var _=d("bYtY"),x={};function C(){this._coordinateSystems=[]}C.prototype={constructor:C,create:function(b,m){var p=[];_.each(x,function(c,o){var r=c.create(b,m);p=p.concat(r||[])}),this._coordinateSystems=p},update:function(b,m){_.each(this._coordinateSystems,function(p){p.update&&p.update(b,m)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},C.register=function(b,m){x[b]=m},C.get=function(b){return x[b]};var A=C;H.exports=A},IMiH:function(H,k,d){var _=d("Sj9i"),x=d("QBsz"),C=d("4mN7"),A=d("mFDi"),b=d("LPTA"),m=b.devicePixelRatio,p={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],o=[],r=[],i=[],n=Math.min,t=Math.max,s=Math.cos,e=Math.sin,a=Math.sqrt,l=Math.abs,u=typeof Float32Array!="undefined",h=function(v){this._saveData=!(v||!1),this._saveData&&(this.data=[]),this._ctx=null};h.prototype={constructor:h,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(v,y,E){E=E||0,this._ux=l(E/m/v)||0,this._uy=l(E/m/y)||0},getContext:function(){return this._ctx},beginPath:function(v){return this._ctx=v,v&&v.beginPath(),v&&(this.dpr=v.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(v,y){return this.addData(p.M,v,y),this._ctx&&this._ctx.moveTo(v,y),this._x0=v,this._y0=y,this._xi=v,this._yi=y,this},lineTo:function(v,y){var E=l(v-this._xi)>this._ux||l(y-this._yi)>this._uy||this._len<5;return this.addData(p.L,v,y),this._ctx&&E&&(this._needsDash()?this._dashedLineTo(v,y):this._ctx.lineTo(v,y)),E&&(this._xi=v,this._yi=y),this},bezierCurveTo:function(v,y,E,T,w,S){return this.addData(p.C,v,y,E,T,w,S),this._ctx&&(this._needsDash()?this._dashedBezierTo(v,y,E,T,w,S):this._ctx.bezierCurveTo(v,y,E,T,w,S)),this._xi=w,this._yi=S,this},quadraticCurveTo:function(v,y,E,T){return this.addData(p.Q,v,y,E,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(v,y,E,T):this._ctx.quadraticCurveTo(v,y,E,T)),this._xi=E,this._yi=T,this},arc:function(v,y,E,T,w,S){return this.addData(p.A,v,y,E,E,T,w-T,0,S?0:1),this._ctx&&this._ctx.arc(v,y,E,T,w,S),this._xi=s(w)*E+v,this._yi=e(w)*E+y,this},arcTo:function(v,y,E,T,w){return this._ctx&&this._ctx.arcTo(v,y,E,T,w),this},rect:function(v,y,E,T){return this._ctx&&this._ctx.rect(v,y,E,T),this.addData(p.R,v,y,E,T),this},closePath:function(){this.addData(p.Z);var v=this._ctx,y=this._x0,E=this._y0;return v&&(this._needsDash()&&this._dashedLineTo(y,E),v.closePath()),this._xi=y,this._yi=E,this},fill:function(v){v&&v.fill(),this.toStatic()},stroke:function(v){v&&v.stroke(),this.toStatic()},setLineDash:function(v){if(v instanceof Array){this._lineDash=v,this._dashIdx=0;for(var y=0,E=0;E<v.length;E++)y+=v[E];this._dashSum=y}return this},setLineDashOffset:function(v){return this._dashOffset=v,this},len:function(){return this._len},setData:function(v){var y=v.length;!(this.data&&this.data.length===y)&&u&&(this.data=new Float32Array(y));for(var E=0;E<y;E++)this.data[E]=v[E];this._len=y},appendPath:function(v){v instanceof Array||(v=[v]);for(var y=v.length,E=0,T=this._len,w=0;w<y;w++)E+=v[w].len();u&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+E));for(var w=0;w<y;w++)for(var S=v[w].data,I=0;I<S.length;I++)this.data[T++]=S[I];this._len=T},addData:function(v){if(!this._saveData)return;var y=this.data;this._len+arguments.length>y.length&&(this._expandData(),y=this.data);for(var E=0;E<arguments.length;E++)y[this._len++]=arguments[E];this._prevCmd=v},_expandData:function(){if(!(this.data instanceof Array)){for(var v=[],y=0;y<this._len;y++)v[y]=this.data[y];this.data=v}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(v,y){var E=this._dashSum,T=this._dashOffset,w=this._lineDash,S=this._ctx,I=this._xi,L=this._yi,O=v-I,N=y-L,R=a(O*O+N*N),D=I,B=L,M,U=w.length,F;for(O/=R,N/=R,T<0&&(T=E+T),T%=E,D-=T*O,B-=T*N;O>0&&D<=v||O<0&&D>=v||O===0&&(N>0&&B<=y||N<0&&B>=y);){if(F=this._dashIdx,M=w[F],D+=O*M,B+=N*M,this._dashIdx=(F+1)%U,O>0&&D<I||O<0&&D>I||N>0&&B<L||N<0&&B>L)continue;S[F%2?"moveTo":"lineTo"](O>=0?n(D,v):t(D,v),N>=0?n(B,y):t(B,y))}O=D-v,N=B-y,this._dashOffset=-a(O*O+N*N)},_dashedBezierTo:function(v,y,E,T,w,S){var I=this._dashSum,L=this._dashOffset,O=this._lineDash,N=this._ctx,R=this._xi,D=this._yi,B,M,U,F=_.cubicAt,j=0,W=this._dashIdx,V=O.length,z,Y,J=0;for(L<0&&(L=I+L),L%=I,B=0;B<1;B+=.1)M=F(R,v,E,w,B+.1)-F(R,v,E,w,B),U=F(D,y,T,S,B+.1)-F(D,y,T,S,B),j+=a(M*M+U*U);for(;W<V&&!(J+=O[W],J>L);W++);for(B=(J-L)/j;B<=1;)z=F(R,v,E,w,B),Y=F(D,y,T,S,B),W%2?N.moveTo(z,Y):N.lineTo(z,Y),B+=O[W]/j,W=(W+1)%V;W%2!==0&&N.lineTo(w,S),M=w-z,U=S-Y,this._dashOffset=-a(M*M+U*U)},_dashedQuadraticTo:function(v,y,E,T){var w=E,S=T;E=(E+2*v)/3,T=(T+2*y)/3,v=(this._xi+2*v)/3,y=(this._yi+2*y)/3,this._dashedBezierTo(v,y,E,T,w,S)},toStatic:function(){var v=this.data;v instanceof Array&&(v.length=this._len,u&&(this.data=new Float32Array(v)))},getBoundingRect:function(){c[0]=c[1]=r[0]=r[1]=Number.MAX_VALUE,o[0]=o[1]=i[0]=i[1]=-Number.MAX_VALUE;for(var v=this.data,y=0,E=0,T=0,w=0,S=0;S<v.length;){var I=v[S++];S===1&&(y=v[S],E=v[S+1],T=y,w=E);switch(I){case p.M:T=v[S++],w=v[S++],y=T,E=w,r[0]=T,r[1]=w,i[0]=T,i[1]=w;break;case p.L:C.fromLine(y,E,v[S],v[S+1],r,i),y=v[S++],E=v[S++];break;case p.C:C.fromCubic(y,E,v[S++],v[S++],v[S++],v[S++],v[S],v[S+1],r,i),y=v[S++],E=v[S++];break;case p.Q:C.fromQuadratic(y,E,v[S++],v[S++],v[S],v[S+1],r,i),y=v[S++],E=v[S++];break;case p.A:var L=v[S++],O=v[S++],N=v[S++],R=v[S++],D=v[S++],B=v[S++]+D;S+=1;var M=1-v[S++];S===1&&(T=s(D)*N+L,w=e(D)*R+O),C.fromArc(L,O,N,R,D,B,M,r,i),y=s(B)*N+L,E=e(B)*R+O;break;case p.R:T=y=v[S++],w=E=v[S++];var U=v[S++],F=v[S++];C.fromLine(T,w,T+U,w+F,r,i);break;case p.Z:y=T,E=w;break}x.min(c,c,r),x.max(o,o,i)}return S===0&&(c[0]=c[1]=o[0]=o[1]=0),new A(c[0],c[1],o[0]-c[0],o[1]-c[1])},rebuildPath:function(v){for(var y=this.data,E,T,w,S,I,L,O=this._ux,N=this._uy,R=this._len,D=0;D<R;){var B=y[D++];D===1&&(w=y[D],S=y[D+1],E=w,T=S);switch(B){case p.M:E=w=y[D++],T=S=y[D++],v.moveTo(w,S);break;case p.L:I=y[D++],L=y[D++],(l(I-w)>O||l(L-S)>N||D===R-1)&&(v.lineTo(I,L),w=I,S=L);break;case p.C:v.bezierCurveTo(y[D++],y[D++],y[D++],y[D++],y[D++],y[D++]),w=y[D-2],S=y[D-1];break;case p.Q:v.quadraticCurveTo(y[D++],y[D++],y[D++],y[D++]),w=y[D-2],S=y[D-1];break;case p.A:var M=y[D++],U=y[D++],F=y[D++],j=y[D++],W=y[D++],V=y[D++],z=y[D++],Y=y[D++],J=F>j?F:j,ie=F>j?1:F/j,Z=F>j?j/F:1,oe=Math.abs(F-j)>.001,ge=W+V;oe?(v.translate(M,U),v.rotate(z),v.scale(ie,Z),v.arc(0,0,J,W,ge,1-Y),v.scale(1/ie,1/Z),v.rotate(-z),v.translate(-M,-U)):v.arc(M,U,J,W,ge,1-Y),D===1&&(E=s(W)*F+M,T=e(W)*j+U),w=s(ge)*F+M,S=e(ge)*j+U;break;case p.R:E=w=y[D],T=S=y[D+1],v.rect(y[D++],y[D++],y[D++],y[D++]);break;case p.Z:v.closePath(),w=E,S=T}}}},h.CMD=p;var f=h;H.exports=f},IUWy:function(H,k){var d={};function _(C,A){d[C]=A}function x(C){return d[C]}k.register=_,k.get=x},IWNH:function(H,k,d){var _=d("T4UG"),x=d("Bsck"),C=d("7aKB"),A=C.encodeHTML,b=d("Qxkt"),m=_.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(p){var c={name:p.name,children:p.data},o=p.leaves||{},r=new b(o,this,this.ecModel),i=x.createTree(c,this,{},n);function n(a){a.wrapMethod("getItemModel",function(l,u){var h=i.getNodeByDataIndex(u);return(!h.children.length||!h.isExpand)&&(l.parentModel=r),l})}var t=0;i.eachNode("preorder",function(a){a.depth>t&&(t=a.depth)});var s=p.expandAndCollapse,e=s&&p.initialTreeDepth>=0?p.initialTreeDepth:t;return i.root.eachNode("preorder",function(a){var l=a.hostTree.data.getRawDataItem(a.dataIndex);a.isExpand=l&&l.collapsed!=null?!l.collapsed:a.depth<=e}),i.data},getOrient:function(){var p=this.get("orient");return p==="horizontal"?p="LR":p==="vertical"&&(p="TB"),p},setZoom:function(p){this.option.zoom=p},setCenter:function(p){this.option.center=p},formatTooltip:function(p){for(var c=this.getData().tree,o=c.root.children[0],r=c.getNodeByDataIndex(p),i=r.getValue(),n=r.name;r&&r!==o;)n=r.parentNode.name+"."+n,r=r.parentNode;return A(n+(isNaN(i)||i==null?"":" : "+i))},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}});H.exports=m},IWp7:function(H,k,d){var _=d("bYtY"),x=d("OELB"),C=d("7aKB"),A=d("lE7J"),b=d("ieMj"),m=b.prototype,p=Math.ceil,c=Math.floor,o=1e3,r=o*60,i=r*60,n=i*24,t=function(l,u,h,f){for(;h<f;){var g=h+f>>>1;l[g][1]<u?h=g+1:f=g}return h},s=b.extend({type:"time",getLabel:function(l){var u=this._stepLvl,h=new Date(l);return C.formatTime(u[0],h,this.getSetting("useUTC"))},niceExtent:function(l){var u=this._extent;if(u[0]===u[1]&&(u[0]-=n,u[1]+=n),u[1]===-Infinity&&u[0]===Infinity){var h=new Date;u[1]=+new Date(h.getFullYear(),h.getMonth(),h.getDate()),u[0]=u[1]-n}this.niceTicks(l.splitNumber,l.minInterval,l.maxInterval);var f=this._interval;l.fixMin||(u[0]=x.round(c(u[0]/f)*f)),l.fixMax||(u[1]=x.round(p(u[1]/f)*f))},niceTicks:function(l,u,h){l=l||10;var f=this._extent,g=f[1]-f[0],v=g/l;u!=null&&v<u&&(v=u),h!=null&&v>h&&(v=h);var y=e.length,E=t(e,v,0,y),T=e[Math.min(E,y-1)],w=T[1];if(T[0]==="year"){var S=g/w,I=x.nice(S/l,!0);w*=I}var L=this.getSetting("useUTC")?0:new Date(+f[0]||+f[1]).getTimezoneOffset()*60*1e3,O=[Math.round(p((f[0]-L)/w)*w+L),Math.round(c((f[1]-L)/w)*w+L)];A.fixExtent(O,f),this._stepLvl=T,this._interval=w,this._niceExtent=O},parse:function(l){return+x.parseDate(l)}});_.each(["contain","normalize"],function(l){s.prototype[l]=function(u){return m[l].call(this,this.parse(u))}});var e=[["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`,r],[`hh:mm
MM-dd`,r*5],[`hh:mm
MM-dd`,r*10],[`hh:mm
MM-dd`,r*15],[`hh:mm
MM-dd`,r*30],[`hh:mm
MM-dd`,i],[`hh:mm
MM-dd`,i*2],[`hh:mm
MM-dd`,i*6],[`hh:mm
MM-dd`,i*12],[`MM-dd
yyyy`,n],[`MM-dd
yyyy`,n*2],[`MM-dd
yyyy`,n*3],[`MM-dd
yyyy`,n*4],[`MM-dd
yyyy`,n*5],[`MM-dd
yyyy`,n*6],["week",n*7],[`MM-dd
yyyy`,n*10],["week",n*14],["week",n*21],["month",n*31],["week",n*42],["month",n*62],["week",n*70],["quarter",n*95],["month",n*31*4],["month",n*31*5],["half-year",n*380/2],["month",n*31*8],["month",n*31*10],["year",n*380]];s.create=function(l){return new s({useUTC:l.ecModel.get("useUTC")})};var a=s;H.exports=a},IXuL:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("MwEJ"),A=d("T4UG"),b=A.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(m,p){return C(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}});H.exports=b},IXyC:function(H,k,d){var _=d("bYtY"),x=d("bLfw");d("3zoK");var C=x.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(){x.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(A){var b=this.option;A&&_.merge(b,A,!0),this._initDimensions()},contains:function(A,b){var m=A.get("parallelIndex");return m!=null&&b.getComponent("parallel",m)===this},setAxisExpand:function(A){_.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(b){A.hasOwnProperty(b)&&(this.option[b]=A[b])},this)},_initDimensions:function(){var A=this.dimensions=[],b=this.parallelAxisIndex=[],m=_.filter(this.dependentModels.parallelAxis,function(p){return(p.get("parallelIndex")||0)===this.componentIndex},this);_.each(m,function(p){A.push("dim"+p.get("dim")),b.push(p.componentIndex)})}});H.exports=C},Ib8C:function(H,k,d){(function(_){(function(x,C){H.exports=k=C()})(this,function(){var x=x||function(C,A){var b;if(typeof window!="undefined"&&window.crypto&&(b=window.crypto),typeof self!="undefined"&&self.crypto&&(b=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(b=globalThis.crypto),!b&&typeof window!="undefined"&&window.msCrypto&&(b=window.msCrypto),!b&&typeof _!="undefined"&&_.crypto&&(b=_.crypto),!b&&!0)try{b=d(4)}catch(h){}var m=function(){if(b){if(typeof b.getRandomValues=="function")try{return b.getRandomValues(new Uint32Array(1))[0]}catch(f){}if(typeof b.randomBytes=="function")try{return b.randomBytes(4).readInt32LE()}catch(f){}}throw new Error("Native crypto module could not be used to get secure random number.")},p=Object.create||function(){function h(){}return function(f){var g;return h.prototype=f,g=new h,h.prototype=null,g}}(),c={},o=c.lib={},r=o.Base=function(){return{extend:function(f){var g=p(this);return f&&g.mixIn(f),(!g.hasOwnProperty("init")||this.init===g.init)&&(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var g in f)f.hasOwnProperty(g)&&(this[g]=f[g]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),i=o.WordArray=r.extend({init:function(f,g){f=this.words=f||[],g!=A?this.sigBytes=g:this.sigBytes=f.length*4},toString:function(f){return(f||t).stringify(this)},concat:function(f){var g=this.words,v=f.words,y=this.sigBytes,E=f.sigBytes;if(this.clamp(),y%4)for(var T=0;T<E;T++){var w=v[T>>>2]>>>24-T%4*8&255;g[y+T>>>2]|=w<<24-(y+T)%4*8}else for(var S=0;S<E;S+=4)g[y+S>>>2]=v[S>>>2];return this.sigBytes+=E,this},clamp:function(){var f=this.words,g=this.sigBytes;f[g>>>2]&=4294967295<<32-g%4*8,f.length=C.ceil(g/4)},clone:function(){var f=r.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var g=[],v=0;v<f;v+=4)g.push(m());return new i.init(g,f)}}),n=c.enc={},t=n.Hex={stringify:function(f){for(var g=f.words,v=f.sigBytes,y=[],E=0;E<v;E++){var T=g[E>>>2]>>>24-E%4*8&255;y.push((T>>>4).toString(16)),y.push((T&15).toString(16))}return y.join("")},parse:function(f){for(var g=f.length,v=[],y=0;y<g;y+=2)v[y>>>3]|=parseInt(f.substr(y,2),16)<<24-y%8*4;return new i.init(v,g/2)}},s=n.Latin1={stringify:function(f){for(var g=f.words,v=f.sigBytes,y=[],E=0;E<v;E++){var T=g[E>>>2]>>>24-E%4*8&255;y.push(String.fromCharCode(T))}return y.join("")},parse:function(f){for(var g=f.length,v=[],y=0;y<g;y++)v[y>>>2]|=(f.charCodeAt(y)&255)<<24-y%4*8;return new i.init(v,g)}},e=n.Utf8={stringify:function(f){try{return decodeURIComponent(escape(s.stringify(f)))}catch(g){throw new Error("Malformed UTF-8 data")}},parse:function(f){return s.parse(unescape(encodeURIComponent(f)))}},a=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(f){typeof f=="string"&&(f=e.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var g,v=this._data,y=v.words,E=v.sigBytes,T=this.blockSize,w=T*4,S=E/w;f?S=C.ceil(S):S=C.max((S|0)-this._minBufferSize,0);var I=S*T,L=C.min(I*4,E);if(I){for(var O=0;O<I;O+=T)this._doProcessBlock(y,O);g=y.splice(0,I),v.sigBytes-=L}return new i.init(g,L)},clone:function(){var f=r.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0}),l=o.Hasher=a.extend({cfg:r.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){a.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){f&&this._append(f);var g=this._doFinalize();return g},blockSize:512/32,_createHelper:function(f){return function(g,v){return new f.init(v).finalize(g)}},_createHmacHelper:function(f){return function(g,v){return new u.HMAC.init(f,v).finalize(g)}}}),u=c.algo={};return c}(Math);return x})}).call(this,d("yLpj"))},ItGF:function(H,k){var d={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?d={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?d={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?d={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:d=x(navigator.userAgent);var _=d;function x(C){var A={},b={},m=C.match(/Firefox\/([\d.]+)/),p=C.match(/MSIE\s([\d.]+)/)||C.match(/Trident\/.+?rv:(([\d.]+))/),c=C.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(C);return m&&(b.firefox=!0,b.version=m[1]),p&&(b.ie=!0,b.version=p[1]),c&&(b.edge=!0,b.version=c[1]),o&&(b.weChat=!0),{browser:b,os:A,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!b.ie&&!b.edge,pointerEventsSupported:"onpointerdown"in window&&(b.edge||b.ie&&b.version>=11),domSupported:typeof document!="undefined"}}H.exports=_},ItS6:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=d("eP3c"),x=C(d("1q3G"));function C(c){return c&&c.__esModule?c:{default:c}}function A(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function b(c,o){for(var r=0;r<o.length;r++){var i=o[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(c,i.key,i)}}function m(c,o,r){return o&&b(c.prototype,o),r&&b(c,r),c}var p=function(){function c(){A(this,c),this.strm=new x.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,_.inflateInit)(this.strm,this.windowBits)}return m(c,[{key:"setInput",value:function(r){r?(this.strm.input=r,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0):(this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0)}},{key:"inflate",value:function(r){r>this.chunkSize&&(this.chunkSize=r,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=r;var i=(0,_.inflate)(this.strm,0);if(i<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=r)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,_.inflateReset)(this.strm)}}]),c}();k.default=p},Itpr:function(H,k,d){var _=d("+TT/");function x(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var a=[e],l,u;l=a.pop();)if(u=l.children,l.isExpand&&u.length)for(var h=u.length,f=h-1;f>=0;f--){var g=u[f];g.hierNode={defaultAncestor:null,ancestor:g,prelim:0,modifier:0,change:0,shift:0,i:f,thread:null},a.push(g)}}function C(e,a){var l=e.isExpand?e.children:[],u=e.parentNode.children,h=e.hierNode.i?u[e.hierNode.i-1]:null;if(l.length){c(e);var f=(l[0].hierNode.prelim+l[l.length-1].hierNode.prelim)/2;h?(e.hierNode.prelim=h.hierNode.prelim+a(e,h),e.hierNode.modifier=e.hierNode.prelim-f):e.hierNode.prelim=f}else h&&(e.hierNode.prelim=h.hierNode.prelim+a(e,h));e.parentNode.hierNode.defaultAncestor=o(e,h,e.parentNode.hierNode.defaultAncestor||u[0],a)}function A(e){var a=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:a},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function b(e){return arguments.length?e:s}function m(e,a){var l={};return e-=Math.PI/2,l.x=a*Math.cos(e),l.y=a*Math.sin(e),l}function p(e,a){return _.getLayoutRect(e.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function c(e){for(var a=e.children,l=a.length,u=0,h=0;--l>=0;){var f=a[l];f.hierNode.prelim+=u,f.hierNode.modifier+=u,h+=f.hierNode.change,u+=f.hierNode.shift+h}}function o(e,a,l,u){if(a){for(var h=e,f=e,g=f.parentNode.children[0],v=a,y=h.hierNode.modifier,E=f.hierNode.modifier,T=g.hierNode.modifier,w=v.hierNode.modifier;v=r(v),f=i(f),v&&f;){h=r(h),g=i(g),h.hierNode.ancestor=e;var S=v.hierNode.prelim+w-f.hierNode.prelim-E+u(v,f);S>0&&(t(n(v,e,l),e,S),E+=S,y+=S),w+=v.hierNode.modifier,E+=f.hierNode.modifier,y+=h.hierNode.modifier,T+=g.hierNode.modifier}v&&!r(h)&&(h.hierNode.thread=v,h.hierNode.modifier+=w-y),f&&!i(g)&&(g.hierNode.thread=f,g.hierNode.modifier+=E-T,l=e)}return l}function r(e){var a=e.children;return a.length&&e.isExpand?a[a.length-1]:e.hierNode.thread}function i(e){var a=e.children;return a.length&&e.isExpand?a[0]:e.hierNode.thread}function n(e,a,l){return e.hierNode.ancestor.parentNode===a.parentNode?e.hierNode.ancestor:l}function t(e,a,l){var u=l/(a.hierNode.i-e.hierNode.i);a.hierNode.change-=u,a.hierNode.shift+=l,a.hierNode.modifier+=l,a.hierNode.prelim+=l,e.hierNode.change+=u}function s(e,a){return e.parentNode===a.parentNode?1:2}k.init=x,k.firstWalk=C,k.secondWalk=A,k.separation=b,k.radialCoordinate=m,k.getViewRect=p},IwbS:function(H,k,d){var _=d("bYtY"),x=d("NC18"),C=d("Qe9p"),A=d("Fofx"),b=d("QBsz"),m=d("y+Vt"),p=d("DN4a"),c=d("Dagg");k.Image=c;var o=d("4fz+");k.Group=o;var r=d("dqUG");k.Text=r;var i=d("2fw6");k.Circle=i;var n=d("SqI9");k.Sector=n;var t=d("RXMa");k.Ring=t;var s=d("h7HQ");k.Polygon=s;var e=d("1Jh7");k.Polyline=e;var a=d("x6Kt");k.Rect=a;var l=d("yxFR");k.Line=l;var u=d("rA99");k.BezierCurve=u;var h=d("jTL6");k.Arc=h;var f=d("1MYJ");k.CompoundPath=f;var g=d("SKnc");k.LinearGradient=g;var v=d("3e3G");k.RadialGradient=v;var y=d("mFDi");k.BoundingRect=y;var E=d("OS9S");k.IncrementalDisplayable=E;var T=d("nPnh"),w=Math.max,S=Math.min,I={},L=1,O={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},N="emphasis",R="normal",D=1,B={},M={};function U(at){return m.extend(at)}function F(at,Je){return x.extendFromString(at,Je)}function j(at,Je){M[at]=Je}function W(at){if(M.hasOwnProperty(at))return M[at]}function V(at,Je,qt,Sr){var yr=x.createFromString(at,Je);return qt&&(Sr==="center"&&(qt=Y(qt,yr.getBoundingRect())),ie(yr,qt)),yr}function z(at,Je,qt){var Sr=new c({style:{image:at,x:Je.x,y:Je.y,width:Je.width,height:Je.height},onload:function(yr){if(qt==="center"){var fr={width:yr.width,height:yr.height};Sr.setStyle(Y(Je,fr))}}});return Sr}function Y(at,Je){var qt=Je.width/Je.height,Sr=at.height*qt,yr;Sr<=at.width?yr=at.height:(Sr=at.width,yr=Sr/qt);var fr=at.x+at.width/2,yn=at.y+at.height/2;return{x:fr-Sr/2,y:yn-yr/2,width:Sr,height:yr}}var J=x.mergePath;function ie(at,Je){if(!at.applyTransform)return;var qt=at.getBoundingRect(),Sr=qt.calculateTransform(Je);at.applyTransform(Sr)}function Z(at){return T.subPixelOptimizeLine(at.shape,at.shape,at.style),at}function oe(at){return T.subPixelOptimizeRect(at.shape,at.shape,at.style),at}var ge=T.subPixelOptimize;function pe(at){return at!=null&&at!=="none"}var De=_.createHashMap(),ce=0;function Oe(at){if(typeof at!="string")return at;var Je=De.get(at);return Je||(Je=C.lift(at,-.1),ce<1e4&&(De.set(at,Je),ce++)),Je}function se(at){if(!at.__hoverStlDirty)return;at.__hoverStlDirty=!1;var Je=at.__hoverStl;if(!Je){at.__cachedNormalStl=at.__cachedNormalZ2=null;return}var qt=at.__cachedNormalStl={};at.__cachedNormalZ2=at.z2;var Sr=at.style;for(var yr in Je)Je[yr]!=null&&(qt[yr]=Sr[yr]);qt.fill=Sr.fill,qt.stroke=Sr.stroke}function $(at){var Je=at.__hoverStl;if(!Je||at.__highlighted)return;var qt=at.__zr,Sr=at.useHoverLayer&&qt&&qt.painter.type==="canvas";if(at.__highlighted=Sr?"layer":"plain",at.isGroup||!qt&&at.useHoverLayer)return;var yr=at,fr=at.style;Sr&&(yr=qt.addHover(at),fr=yr.style),Ht(fr),Sr||se(yr),fr.extendFrom(Je),ze(fr,Je,"fill"),ze(fr,Je,"stroke"),_t(fr),Sr||(at.dirty(!1),at.z2+=L)}function ze(at,Je,qt){!pe(Je[qt])&&pe(at[qt])&&(at[qt]=Oe(at[qt]))}function re(at){var Je=at.__highlighted;if(!Je)return;if(at.__highlighted=!1,at.isGroup)return;if(Je==="layer")at.__zr&&at.__zr.removeHover(at);else{var qt=at.style,Sr=at.__cachedNormalStl;Sr&&(Ht(qt),at.setStyle(Sr),_t(qt));var yr=at.__cachedNormalZ2;yr!=null&&at.z2-yr===L&&(at.z2=yr)}}function X(at,Je,qt){var Sr=R,yr=R,fr;at.__highlighted&&(Sr=N,fr=!0),Je(at,qt),at.__highlighted&&(yr=N,fr=!0),at.isGroup&&at.traverse(function(yn){!yn.isGroup&&Je(yn,qt)}),fr&&at.__highDownOnUpdate&&at.__highDownOnUpdate(Sr,yr)}function G(at,Je){Je=at.__hoverStl=Je!==!1&&(at.hoverStyle||Je||{}),at.__hoverStlDirty=!0,at.__highlighted&&(at.__cachedNormalStl=null,re(at),$(at))}function Q(at){!we(this,at)&&!this.__highByOuter&&X(this,$)}function ve(at){!we(this,at)&&!this.__highByOuter&&X(this,re)}function de(at){this.__highByOuter|=1<<(at||0),X(this,$)}function Ce(at){!(this.__highByOuter&=~(1<<(at||0)))&&X(this,re)}function we(at,Je){return at.__highDownSilentOnTouch&&Je.zrByTouch}function le(at,Je){fe(at,!0),X(at,G,Je)}function fe(at,Je){var qt=Je===!1;if(at.__highDownSilentOnTouch=at.highDownSilentOnTouch,at.__highDownOnUpdate=at.highDownOnUpdate,!qt||at.__highDownDispatcher){var Sr=qt?"off":"on";at[Sr]("mouseover",Q)[Sr]("mouseout",ve),at[Sr]("emphasis",de)[Sr]("normal",Ce),at.__highByOuter=at.__highByOuter||0,at.__highDownDispatcher=!qt}}function xe(at){return!!(at&&at.__highDownDispatcher)}function We(at){var Je=B[at];return Je==null&&D<=32&&(Je=B[at]=D++),Je}function nt(at,Je,qt,Sr,yr,fr,yn){yr=yr||I;var Jr=yr.labelFetcher,Ln=yr.labelDataIndex,Nt=yr.labelDimIndex,Ve=yr.labelProp,_e=qt.getShallow("show"),ke=Sr.getShallow("show"),Pe;(_e||ke)&&(Jr&&(Pe=Jr.getFormattedLabel(Ln,"normal",null,Nt,Ve)),Pe==null&&(Pe=_.isFunction(yr.defaultText)?yr.defaultText(Ln,yr):yr.defaultText));var rt=_e?Pe:null,Pt=ke?_.retrieve2(Jr?Jr.getFormattedLabel(Ln,"emphasis",null,Nt,Ve):null,Pe):null;(rt!=null||Pt!=null)&&(Le(at,qt,fr,yr),Le(Je,Sr,yn,yr,!0)),at.text=rt,Je.text=Pt}function $e(at,Je,qt){var Sr=at.style;Je&&(Ht(Sr),at.setStyle(Je),_t(Sr)),Sr=at.__hoverStl,qt&&Sr&&(Ht(Sr),_.extend(Sr,qt),_t(Sr))}function Le(at,Je,qt,Sr,yr){return Qe(at,Je,Sr,yr),qt&&_.extend(at,qt),at}function pt(at,Je,qt){var Sr={isRectText:!0},yr;qt===!1?yr=!0:Sr.autoColor=qt,Qe(at,Je,Sr,yr)}function Qe(at,Je,qt,Sr){if(qt=qt||I,qt.isRectText){var yr;qt.getTextPosition?yr=qt.getTextPosition(Je,Sr):(yr=Je.getShallow("position")||(Sr?null:"inside"),yr==="outside"&&(yr="top")),at.textPosition=yr,at.textOffset=Je.getShallow("offset");var fr=Je.getShallow("rotate");fr!=null&&(fr*=Math.PI/180),at.textRotation=fr,at.textDistance=_.retrieve2(Je.getShallow("distance"),Sr?null:5)}var yn=Je.ecModel,Jr=yn&&yn.option.textStyle,Ln=gt(Je),Nt;if(Ln){Nt={};for(var Ve in Ln)if(Ln.hasOwnProperty(Ve)){var _e=Je.getModel(["rich",Ve]);wt(Nt[Ve]={},_e,Jr,qt,Sr)}}return at.rich=Nt,wt(at,Je,Jr,qt,Sr,!0),qt.forceRich&&!qt.textStyle&&(qt.textStyle={}),at}function gt(at){for(var Je;at&&at!==at.ecModel;){var qt=(at.option||I).rich;if(qt){Je=Je||{};for(var Sr in qt)qt.hasOwnProperty(Sr)&&(Je[Sr]=1)}at=at.parentModel}return Je}function wt(at,Je,qt,Sr,yr,fr){qt=!yr&&qt||I,at.textFill=Et(Je.getShallow("color"),Sr)||qt.color,at.textStroke=Et(Je.getShallow("textBorderColor"),Sr)||qt.textBorderColor,at.textStrokeWidth=_.retrieve2(Je.getShallow("textBorderWidth"),qt.textBorderWidth),yr||(fr&&(at.insideRollbackOpt=Sr,_t(at)),at.textFill==null&&(at.textFill=Sr.autoColor)),at.fontStyle=Je.getShallow("fontStyle")||qt.fontStyle,at.fontWeight=Je.getShallow("fontWeight")||qt.fontWeight,at.fontSize=Je.getShallow("fontSize")||qt.fontSize,at.fontFamily=Je.getShallow("fontFamily")||qt.fontFamily,at.textAlign=Je.getShallow("align"),at.textVerticalAlign=Je.getShallow("verticalAlign")||Je.getShallow("baseline"),at.textLineHeight=Je.getShallow("lineHeight"),at.textWidth=Je.getShallow("width"),at.textHeight=Je.getShallow("height"),at.textTag=Je.getShallow("tag"),(!fr||!Sr.disableBox)&&(at.textBackgroundColor=Et(Je.getShallow("backgroundColor"),Sr),at.textPadding=Je.getShallow("padding"),at.textBorderColor=Et(Je.getShallow("borderColor"),Sr),at.textBorderWidth=Je.getShallow("borderWidth"),at.textBorderRadius=Je.getShallow("borderRadius"),at.textBoxShadowColor=Je.getShallow("shadowColor"),at.textBoxShadowBlur=Je.getShallow("shadowBlur"),at.textBoxShadowOffsetX=Je.getShallow("shadowOffsetX"),at.textBoxShadowOffsetY=Je.getShallow("shadowOffsetY")),at.textShadowColor=Je.getShallow("textShadowColor")||qt.textShadowColor,at.textShadowBlur=Je.getShallow("textShadowBlur")||qt.textShadowBlur,at.textShadowOffsetX=Je.getShallow("textShadowOffsetX")||qt.textShadowOffsetX,at.textShadowOffsetY=Je.getShallow("textShadowOffsetY")||qt.textShadowOffsetY}function Et(at,Je){return at!=="auto"?at:Je&&Je.autoColor?Je.autoColor:null}function _t(at){var Je=at.textPosition,qt=at.insideRollbackOpt,Sr;if(qt&&at.textFill==null){var yr=qt.autoColor,fr=qt.isRectText,yn=qt.useInsideStyle,Jr=yn!==!1&&(yn===!0||fr&&Je&&typeof Je=="string"&&Je.indexOf("inside")>=0),Ln=!Jr&&yr!=null;(Jr||Ln)&&(Sr={textFill:at.textFill,textStroke:at.textStroke,textStrokeWidth:at.textStrokeWidth}),Jr&&(at.textFill="#fff",at.textStroke==null&&(at.textStroke=yr,at.textStrokeWidth==null&&(at.textStrokeWidth=2))),Ln&&(at.textFill=yr)}at.insideRollback=Sr}function Ht(at){var Je=at.insideRollback;Je&&(at.textFill=Je.textFill,at.textStroke=Je.textStroke,at.textStrokeWidth=Je.textStrokeWidth,at.insideRollback=null)}function Ze(at,Je){var qt=Je&&Je.getModel("textStyle");return _.trim([at.fontStyle||qt&&qt.getShallow("fontStyle")||"",at.fontWeight||qt&&qt.getShallow("fontWeight")||"",(at.fontSize||qt&&qt.getShallow("fontSize")||12)+"px",at.fontFamily||qt&&qt.getShallow("fontFamily")||"sans-serif"].join(" "))}function ye(at,Je,qt,Sr,yr,fr){typeof yr=="function"&&(fr=yr,yr=null);var yn=Sr&&Sr.isAnimationEnabled();if(yn){var Jr=at?"Update":"",Ln=Sr.getShallow("animationDuration"+Jr),Nt=Sr.getShallow("animationEasing"+Jr),Ve=Sr.getShallow("animationDelay"+Jr);typeof Ve=="function"&&(Ve=Ve(yr,Sr.getAnimationDelayParams?Sr.getAnimationDelayParams(Je,yr):null)),typeof Ln=="function"&&(Ln=Ln(yr)),Ln>0?Je.animateTo(qt,Ln,Ve||0,Nt,fr,!!fr):(Je.stopAnimation(),Je.attr(qt),fr&&fr())}else Je.stopAnimation(),Je.attr(qt),fr&&fr()}function ae(at,Je,qt,Sr,yr){ye(!0,at,Je,qt,Sr,yr)}function yt(at,Je,qt,Sr,yr){ye(!1,at,Je,qt,Sr,yr)}function et(at,Je){for(var qt=A.identity([]);at&&at!==Je;)A.mul(qt,at.getLocalTransform(),qt),at=at.parent;return qt}function me(at,Je,qt){return Je&&!_.isArrayLike(Je)&&(Je=p.getLocalTransform(Je)),qt&&(Je=A.invert([],Je)),b.applyTransform([],at,Je)}function Gt(at,Je,qt){var Sr=Je[4]===0||Je[5]===0||Je[0]===0?1:Math.abs(2*Je[4]/Je[0]),yr=Je[4]===0||Je[5]===0||Je[2]===0?1:Math.abs(2*Je[4]/Je[2]),fr=[at==="left"?-Sr:at==="right"?Sr:0,at==="top"?-yr:at==="bottom"?yr:0];return fr=me(fr,Je,qt),Math.abs(fr[0])>Math.abs(fr[1])?fr[0]>0?"right":"left":fr[1]>0?"bottom":"top"}function rr(at,Je,qt,Sr){if(!at||!Je)return;function yr(Jr){var Ln={};return Jr.traverse(function(Nt){!Nt.isGroup&&Nt.anid&&(Ln[Nt.anid]=Nt)}),Ln}function fr(Jr){var Ln={position:b.clone(Jr.position),rotation:Jr.rotation};return Jr.shape&&(Ln.shape=_.extend({},Jr.shape)),Ln}var yn=yr(at);Je.traverse(function(Jr){if(!Jr.isGroup&&Jr.anid){var Ln=yn[Jr.anid];if(Ln){var Nt=fr(Jr);Jr.attr(fr(Ln)),ae(Jr,Nt,qt,Jr.dataIndex)}}})}function ut(at,Je){return _.map(at,function(qt){var Sr=qt[0];Sr=w(Sr,Je.x),Sr=S(Sr,Je.x+Je.width);var yr=qt[1];return yr=w(yr,Je.y),yr=S(yr,Je.y+Je.height),[Sr,yr]})}function Xt(at,Je){var qt=w(at.x,Je.x),Sr=S(at.x+at.width,Je.x+Je.width),yr=w(at.y,Je.y),fr=S(at.y+at.height,Je.y+Je.height);if(Sr>=qt&&fr>=yr)return{x:qt,y:yr,width:Sr-qt,height:fr-yr}}function ur(at,Je,qt){Je=_.extend({rectHover:!0},Je);var Sr=Je.style={strokeNoScale:!0};if(qt=qt||{x:-1,y:-1,width:2,height:2},at)return at.indexOf("image://")===0?(Sr.image=at.slice(8),_.defaults(Sr,qt),new c(Je)):V(at.replace("path://",""),Je,qt,"center")}function Fr(at,Je,qt,Sr,yr){for(var fr=0,yn=yr[yr.length-1];fr<yr.length;fr++){var Jr=yr[fr];if(er(at,Je,qt,Sr,Jr[0],Jr[1],yn[0],yn[1]))return!0;yn=Jr}}function er(at,Je,qt,Sr,yr,fr,yn,Jr){var Ln=qt-at,Nt=Sr-Je,Ve=yn-yr,_e=Jr-fr,ke=nr(Ve,_e,Ln,Nt);if(Lt(ke))return!1;var Pe=at-yr,rt=Je-fr,Pt=nr(Pe,rt,Ln,Nt)/ke;if(Pt<0||Pt>1)return!1;var Yt=nr(Pe,rt,Ve,_e)/ke;return!(Yt<0||Yt>1)}function nr(at,Je,qt,Sr){return at*Sr-qt*Je}function Lt(at){return at<=1e-6&&at>=-1e-6}j("circle",i),j("sector",n),j("ring",t),j("polygon",s),j("polyline",e),j("rect",a),j("line",l),j("bezierCurve",u),j("arc",h),k.Z2_EMPHASIS_LIFT=L,k.CACHED_LABEL_STYLE_PROPERTIES=O,k.extendShape=U,k.extendPath=F,k.registerShape=j,k.getShapeClass=W,k.makePath=V,k.makeImage=z,k.mergePath=J,k.resizePath=ie,k.subPixelOptimizeLine=Z,k.subPixelOptimizeRect=oe,k.subPixelOptimize=ge,k.setElementHoverStyle=G,k.setHoverStyle=le,k.setAsHighDownDispatcher=fe,k.isHighDownDispatcher=xe,k.getHighlightDigit=We,k.setLabelStyle=nt,k.modifyLabelStyle=$e,k.setTextStyle=Le,k.setText=pt,k.getFont=Ze,k.updateProps=ae,k.initProps=yt,k.getTransform=et,k.applyTransform=me,k.transformDirection=Gt,k.groupTransition=rr,k.clipPointsByRect=ut,k.clipRectByRect=Xt,k.createIcon=ur,k.linePolygonIntersect=Fr,k.lineLineIntersect=er},IyUQ:function(H,k,d){var _=d("bYtY"),x=d("YH21"),C=d("IwbS"),A=d("iLNv"),b=d("fc+c"),m=d("OELB"),p=d("+TT/"),c=d("72pK"),o=C.Rect,r=m.linearMap,i=m.asc,n=_.bind,t=_.each,s=7,e=1,a=30,l="horizontal",u="vertical",h=5,f=["line","bar","candlestick","scatter"],g=b.extend({type:"dataZoom.slider",init:function(T,w){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=w},render:function(T,w,S,I){if(g.superApply(this,"render",arguments),A.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!I||I.type!=="dataZoom"||I.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){g.superApply(this,"remove",arguments),A.clear(this,"_dispatchZoomAction")},dispose:function(){g.superApply(this,"dispose",arguments),A.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var w=this._displayables.barGroup=new C.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(w),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,w=this.api,S=this._findCoordRect(),I={width:w.getWidth(),height:w.getHeight()},L=this._orient===l?{right:I.width-S.x-S.width,top:I.height-a-s,width:S.width,height:a}:{right:s,top:S.y,width:a,height:S.height},O=p.getLayoutParams(T.option);_.each(["right","top","width","height"],function(R){O[R]==="ph"&&(O[R]=L[R])});var N=p.getLayoutRect(O,I,T.padding);this._location={x:N.x,y:N.y},this._size=[N.width,N.height],this._orient===u&&this._size.reverse()},_positionGroup:function(){var T=this.group,w=this._location,S=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),L=I&&I.get("inverse"),O=this._displayables.barGroup,N=(this._dataShadowInfo||{}).otherAxisInverse;O.attr(S===l&&!L?{scale:N?[1,1]:[1,-1]}:S===l&&L?{scale:N?[-1,1]:[-1,-1]}:S===u&&!L?{scale:N?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:N?[-1,-1]:[-1,1],rotation:Math.PI/2});var R=T.getBoundingRect([O]);T.attr("position",[w.x-R.x,w.y-R.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,w=this._size,S=this._displayables.barGroup;S.add(new o({silent:!0,shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:T.get("backgroundColor")},z2:-40})),S.add(new o({shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:"transparent"},z2:0,onclick:_.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var w=this._size,S=T.series,I=S.getRawData(),L=S.getShadowDim?S.getShadowDim():T.otherDim;if(L==null)return;var O=I.getDataExtent(L),N=(O[1]-O[0])*.3;O=[O[0]-N,O[1]+N];var R=[0,w[1]],D=[0,w[0]],B=[[w[0],0],[0,0]],M=[],U=D[1]/(I.count()-1),F=0,j=Math.round(I.count()/w[0]),W;I.each([L],function(z,Y){if(j>0&&Y%j){F+=U;return}var J=z==null||isNaN(z)||z==="",ie=J?0:r(z,O,R,!0);J&&!W&&Y?(B.push([B[B.length-1][0],0]),M.push([M[M.length-1][0],0])):!J&&W&&(B.push([F,0]),M.push([F,0])),B.push([F,ie]),M.push([F,ie]),F+=U,W=J});var V=this.dataZoomModel;this._displayables.barGroup.add(new C.Polygon({shape:{points:B},style:_.defaults({fill:V.get("dataBackgroundColor")},V.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new C.Polyline({shape:{points:M},style:V.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,w=T.get("showDataShadow");if(w===!1)return;var S,I=this.ecModel;return T.eachTargetAxis(function(L,O){var N=T.getAxisProxy(L.name,O).getTargetSeriesModels();_.each(N,function(R){if(S)return;if(w!==!0&&_.indexOf(f,R.get("type"))<0)return;var D=I.getComponent(L.axis,O).axis,B=v(L.name),M,U=R.coordinateSystem;B!=null&&U.getOtherAxis&&(M=U.getOtherAxis(D).inverse),B=R.getData().mapDimension(B),S={thisAxis:D,series:R,thisDim:L.name,otherDim:B,otherAxisInverse:M}},this)},this),S},_renderHandle:function(){var T=this._displayables,w=T.handles=[],S=T.handleLabels=[],I=this._displayables.barGroup,L=this._size,O=this.dataZoomModel;I.add(T.filler=new o({draggable:!0,cursor:y(this._orient),drift:n(this._onDragMove,this,"all"),ondragstart:n(this._showDataInfo,this,!0),ondragend:n(this._onDragEnd,this),onmouseover:n(this._showDataInfo,this,!0),onmouseout:n(this._showDataInfo,this,!1),style:{fill:O.get("fillerColor"),textPosition:"inside"}})),I.add(new o({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:O.get("dataBackgroundColor")||O.get("borderColor"),lineWidth:e,fill:"rgba(0,0,0,0)"}})),t([0,1],function(N){var R=C.createIcon(O.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:n(this._onDragMove,this,N),ondragend:n(this._onDragEnd,this),onmouseover:n(this._showDataInfo,this,!0),onmouseout:n(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),D=R.getBoundingRect();this._handleHeight=m.parsePercent(O.get("handleSize"),this._size[1]),this._handleWidth=D.width/D.height*this._handleHeight,R.setStyle(O.getModel("handleStyle").getItemStyle());var B=O.get("handleColor");B!=null&&(R.style.fill=B),I.add(w[N]=R);var M=O.textStyleModel;this.group.add(S[N]=new C.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:M.getTextColor(),textFont:M.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),w=this._getViewExtent();this._handleEnds=[r(T[0],[0,100],w,!0),r(T[1],[0,100],w,!0)]},_updateInterval:function(T,w){var S=this.dataZoomModel,I=this._handleEnds,L=this._getViewExtent(),O=S.findRepresentativeAxisProxy().getMinMaxSpan(),N=[0,100];c(w,I,L,S.get("zoomLock")?"all":T,O.minSpan!=null?r(O.minSpan,N,L,!0):null,O.maxSpan!=null?r(O.maxSpan,N,L,!0):null);var R=this._range,D=this._range=i([r(I[0],L,N,!0),r(I[1],L,N,!0)]);return!R||R[0]!==D[0]||R[1]!==D[1]},_updateView:function(T){var w=this._displayables,S=this._handleEnds,I=i(S.slice()),L=this._size;t([0,1],function(O){var N=w.handles[O],R=this._handleHeight;N.attr({scale:[R/2,R/2],position:[S[O],L[1]/2-R/2]})},this),w.filler.setShape({x:I[0],y:0,width:I[1]-I[0],height:L[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var w=this.dataZoomModel,S=this._displayables,I=S.handleLabels,L=this._orient,O=["",""];if(w.get("showDetail")){var N=w.findRepresentativeAxisProxy();if(N){var R=N.getAxisModel().axis,D=this._range,B=T?N.calculateDataWindow({start:D[0],end:D[1]}).valueWindow:N.getDataValueWindow();O=[this._formatLabel(B[0],R),this._formatLabel(B[1],R)]}}var M=i(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(F){var j=C.getTransform(S.handles[F].parent,this.group),W=C.transformDirection(F===0?"right":"left",j),V=this._handleWidth/2+h,z=C.applyTransform([M[F]+(F===0?-V:V),this._size[1]/2],j);I[F].setStyle({x:z[0],y:z[1],textVerticalAlign:L===l?"middle":W,textAlign:L===l?W:"center",text:O[F]})}},_formatLabel:function(T,w){var S=this.dataZoomModel,I=S.get("labelFormatter"),L=S.get("labelPrecision");(L==null||L==="auto")&&(L=w.getPixelPrecision());var O=T==null||isNaN(T)?"":w.type==="category"||w.type==="time"?w.scale.getLabel(Math.round(T)):T.toFixed(Math.min(L,20));return _.isFunction(I)?I(T,O):_.isString(I)?I.replace("{value}",O):O},_showDataInfo:function(T){T=this._dragging||T;var w=this._displayables.handleLabels;w[0].attr("invisible",!T),w[1].attr("invisible",!T)},_onDragMove:function(T,w,S,I){this._dragging=!0,x.stop(I.event);var L=this._displayables.barGroup.getLocalTransform(),O=C.applyTransform([w,S],L,!0),N=this._updateInterval(T,O[0]),R=this.dataZoomModel.get("realtime");this._updateView(!R),N&&R&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var w=this._size,S=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(S[0]<0||S[0]>w[0]||S[1]<0||S[1]>w[1])return;var I=this._handleEnds,L=(I[0]+I[1])/2,O=this._updateInterval("all",S[0]-L);this._updateView(),O&&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(t(this.getTargetCoordInfo(),function(I){if(!T&&I.length){var L=I[0].model.coordinateSystem;T=L.getRect&&L.getRect()}}),!T){var w=this.api.getWidth(),S=this.api.getHeight();T={x:w*.2,y:S*.2,width:w*.6,height:S*.6}}return T}});function v(T){var w={x:"y",y:"x",radius:"angle",angle:"radius"};return w[T]}function y(T){return T==="vertical"?"ns-resize":"ew-resize"}var E=g;H.exports=E},IzEo:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("lnY3"),A=d.n(C),b=d("Znn+"),m=d("14J3"),p=d("jCWc")},J66h:function(H,k,d){(function(_){var x,C;(function(A,b){H.exports=b(A)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof _!="undefined"?_:this,function(A){"use strict";A=A||{};var b=A.Base64,m="2.6.4",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(R){for(var D={},B=0,M=R.length;B<M;B++)D[R.charAt(B)]=B;return D}(p),o=String.fromCharCode,r=function(D){if(D.length<2){var B=D.charCodeAt(0);return B<128?D:B<2048?o(192|B>>>6)+o(128|B&63):o(224|B>>>12&15)+o(128|B>>>6&63)+o(128|B&63)}else{var B=65536+(D.charCodeAt(0)-55296)*1024+(D.charCodeAt(1)-56320);return o(240|B>>>18&7)+o(128|B>>>12&63)+o(128|B>>>6&63)+o(128|B&63)}},i=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,n=function(D){return D.replace(i,r)},t=function(D){var B=[0,2,1][D.length%3],M=D.charCodeAt(0)<<16|(D.length>1?D.charCodeAt(1):0)<<8|(D.length>2?D.charCodeAt(2):0),U=[p.charAt(M>>>18),p.charAt(M>>>12&63),B>=2?"=":p.charAt(M>>>6&63),B>=1?"=":p.charAt(M&63)];return U.join("")},s=A.btoa&&typeof A.btoa=="function"?function(R){return A.btoa(R)}:function(R){if(R.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return R.replace(/[\s\S]{1,3}/g,t)},e=function(D){return s(n(String(D)))},a=function(D){return D.replace(/[+\/]/g,function(B){return B=="+"?"-":"_"}).replace(/=/g,"")},l=function(D,B){return B?a(e(D)):e(D)},u=function(D){return l(D,!0)},h;A.Uint8Array&&(h=function(D,B){for(var M="",U=0,F=D.length;U<F;U+=3){var j=D[U],W=D[U+1],V=D[U+2],z=j<<16|W<<8|V;M+=p.charAt(z>>>18)+p.charAt(z>>>12&63)+(typeof W!="undefined"?p.charAt(z>>>6&63):"=")+(typeof V!="undefined"?p.charAt(z&63):"=")}return B?a(M):M});var f=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,g=function(D){switch(D.length){case 4:var B=(7&D.charCodeAt(0))<<18|(63&D.charCodeAt(1))<<12|(63&D.charCodeAt(2))<<6|63&D.charCodeAt(3),M=B-65536;return o((M>>>10)+55296)+o((M&1023)+56320);case 3:return o((15&D.charCodeAt(0))<<12|(63&D.charCodeAt(1))<<6|63&D.charCodeAt(2));default:return o((31&D.charCodeAt(0))<<6|63&D.charCodeAt(1))}},v=function(D){return D.replace(f,g)},y=function(D){var B=D.length,M=B%4,U=(B>0?c[D.charAt(0)]<<18:0)|(B>1?c[D.charAt(1)]<<12:0)|(B>2?c[D.charAt(2)]<<6:0)|(B>3?c[D.charAt(3)]:0),F=[o(U>>>16),o(U>>>8&255),o(U&255)];return F.length-=[0,0,2,1][M],F.join("")},E=A.atob&&typeof A.atob=="function"?function(R){return A.atob(R)}:function(R){return R.replace(/\S{1,4}/g,y)},T=function(D){return E(String(D).replace(/[^A-Za-z0-9\+\/]/g,""))},w=function(D){return v(E(D))},S=function(D){return String(D).replace(/[-_]/g,function(B){return B=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(D){return w(S(D))},L;A.Uint8Array&&(L=function(D){return Uint8Array.from(T(S(D)),function(B){return B.charCodeAt(0)})});var O=function(){var D=A.Base64;return A.Base64=b,D};if(A.Base64={VERSION:m,atob:T,btoa:s,fromBase64:I,toBase64:l,utob:n,encode:l,encodeURI:u,btou:v,decode:I,noConflict:O,fromUint8Array:h,toUint8Array:L},typeof Object.defineProperty=="function"){var N=function(D){return{value:D,enumerable:!1,writable:!0,configurable:!0}};A.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",N(function(R){return l(this,R)})),Object.defineProperty(String.prototype,"toBase64URI",N(function(){return l(this,!0)}))}}return A.Meteor&&(Base64=A.Base64),H.exports?H.exports.Base64=A.Base64:!(x=[],C=function(){return A.Base64}.apply(k,x),C!==void 0&&(H.exports=C)),{Base64:A.Base64}})}).call(this,d("yLpj"))},JEkh:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("ItGF"),m=d("4NO4"),p=d("7aKB"),c=d("OKJ2"),o=p.addCommas,r=p.encodeHTML;function i(s){m.defaultEmphasis(s,"label",["show"])}var n=C.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(s,e,a){this.mergeDefaultAndTheme(s,a),this._mergeOption(s,a,!1,!0)},isAnimationEnabled:function(){if(b.node)return!1;var s=this.__hostSeries;return this.getShallow("animation")&&s&&s.isAnimationEnabled()},mergeOption:function(s,e){this._mergeOption(s,e,!1,!1)},_mergeOption:function(s,e,a,l){var u=this.constructor,h=this.mainType+"Model";a||e.eachSeries(function(f){var g=f.get(this.mainType,!0),v=f[h];if(!g||!g.data){f[h]=null;return}v?v._mergeOption(g,e,!0):(l&&i(g),A.each(g.data,function(y){y instanceof Array?(i(y[0]),i(y[1])):i(y)}),v=new u(g,this,e),A.extend(v,{mainType:this.mainType,seriesIndex:f.seriesIndex,name:f.name,createdBySelf:!0}),v.__hostSeries=f),f[h]=v},this)},formatTooltip:function(s){var e=this.getData(),a=this.getRawValue(s),l=A.isArray(a)?A.map(a,o).join(", "):o(a),u=e.getName(s),h=r(this.name);return(a!=null||u)&&(h+="<br />"),u&&(h+=r(u),a!=null&&(h+=" : ")),a!=null&&(h+=r(l)),h},getData:function(){return this._data},setData:function(s){this._data=s}});A.mixin(n,c);var t=n;H.exports=t},JGo8:function(H,k,d){},JLnu:function(H,k,d){var _=d("+TT/"),x=d("OELB"),C=x.parsePercent,A=x.linearMap;function b(o,r){return _.getLayoutRect(o.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function m(o,r){for(var i=o.mapDimension("value"),n=o.mapArray(i,function(l){return l}),t=[],s=r==="ascending",e=0,a=o.count();e<a;e++)t[e]=e;return typeof r=="function"?t.sort(r):r!=="none"&&t.sort(function(l,u){return s?n[l]-n[u]:n[u]-n[l]}),t}function p(o){o.each(function(r){var i=o.getItemModel(r),n=i.getModel("label"),t=n.get("position"),s=i.getModel("labelLine"),e=o.getItemLayout(r),a=e.points,l=t==="inner"||t==="inside"||t==="center"||t==="insideLeft"||t==="insideRight",u,h,f,g;if(l)t==="insideLeft"?(h=(a[0][0]+a[3][0])/2+5,f=(a[0][1]+a[3][1])/2,u="left"):t==="insideRight"?(h=(a[1][0]+a[2][0])/2-5,f=(a[1][1]+a[2][1])/2,u="right"):(h=(a[0][0]+a[1][0]+a[2][0]+a[3][0])/4,f=(a[0][1]+a[1][1]+a[2][1]+a[3][1])/4,u="center"),g=[[h,f],[h,f]];else{var v,y,E,T=s.get("length");t==="left"?(v=(a[3][0]+a[0][0])/2,y=(a[3][1]+a[0][1])/2,E=v-T,h=E-5,u="right"):t==="right"?(v=(a[1][0]+a[2][0])/2,y=(a[1][1]+a[2][1])/2,E=v+T,h=E+5,u="left"):t==="rightTop"?(v=a[1][0],y=a[1][1],E=v+T,h=E+5,u="top"):t==="rightBottom"?(v=a[2][0],y=a[2][1],E=v+T,h=E+5,u="bottom"):t==="leftTop"?(v=a[0][0],y=a[1][1],E=v-T,h=E-5,u="right"):t==="leftBottom"?(v=a[3][0],y=a[2][1],E=v-T,h=E-5,u="right"):(v=(a[1][0]+a[2][0])/2,y=(a[1][1]+a[2][1])/2,E=v+T,h=E+5,u="left");var w=y;g=[[v,y],[E,w]],f=w}e.label={linePoints:g,x:h,y:f,verticalAlign:"middle",textAlign:u,inside:l}})}function c(o,r,i){o.eachSeriesByType("funnel",function(n){var t=n.getData(),s=t.mapDimension("value"),e=n.get("sort"),a=b(n,r),l=m(t,e),u=[C(n.get("minSize"),a.width),C(n.get("maxSize"),a.width)],h=t.getDataExtent(s),f=n.get("min"),g=n.get("max");f==null&&(f=Math.min(h[0],0)),g==null&&(g=h[1]);var v=n.get("funnelAlign"),y=n.get("gap"),E=(a.height-y*(t.count()-1))/t.count(),T=a.y,w=function(B,M){var U=t.get(s,B)||0,F=A(U,[f,g],u,!0),j;switch(v){case"left":j=a.x;break;case"center":j=a.x+(a.width-F)/2;break;case"right":j=a.x+a.width-F;break}return[[j,M],[j+F,M]]};e==="ascending"&&(E=-E,y=-y,T+=a.height,l=l.reverse());for(var S=0;S<l.length;S++){var I=l[S],L=l[S+1],O=t.getItemModel(I),N=O.get("itemStyle.height");N==null?N=E:(N=C(N,a.height),e==="ascending"&&(N=-N));var R=w(I,T),D=w(L,T+N);T+=N+y,t.setItemLayout(I,{points:R.concat(D.slice().reverse())})}p(t)})}H.exports=c},JSwD:function(H,k,d){"use strict";function _(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(u){return typeof u}:_=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},_(a)}Object.defineProperty(k,"__esModule",{value:!0}),k.default=e;var x=A(d("6BzB"));function C(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return C=function(){return a},a}function A(a){if(a&&a.__esModule)return a;if(a===null||_(a)!=="object"&&typeof a!="function")return{default:a};var l=C();if(l&&l.has(a))return l.get(a);var u={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(Object.prototype.hasOwnProperty.call(a,f)){var g=h?Object.getOwnPropertyDescriptor(a,f):null;g&&(g.get||g.set)?Object.defineProperty(u,f,g):u[f]=a[f]}return u.default=a,l&&l.set(a,u),u}var b=15,m=852,p=592,c=0,o=1,r=2,i=[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],n=[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],t=[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],s=[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 e(a,l,u,h,f,g,v,y){var E=y.bits,T=0,w=0,S=0,I=0,L=0,O=0,N=0,R=0,D=0,B=0,M,U,F,j,W,V=null,z=0,Y,J=new x.Buf16(b+1),ie=new x.Buf16(b+1),Z=null,oe=0,ge,pe,De;for(T=0;T<=b;T++)J[T]=0;for(w=0;w<h;w++)J[l[u+w]]++;for(L=E,I=b;I>=1&&!(J[I]!==0);I--);if(L>I&&(L=I),I===0)return f[g++]=1<<24|64<<16|0,f[g++]=1<<24|64<<16|0,y.bits=1,0;for(S=1;S<I&&!(J[S]!==0);S++);for(L<S&&(L=S),R=1,T=1;T<=b;T++)if(R<<=1,R-=J[T],R<0)return-1;if(R>0&&(a===c||I!==1))return-1;for(ie[1]=0,T=1;T<b;T++)ie[T+1]=ie[T]+J[T];for(w=0;w<h;w++)l[u+w]!==0&&(v[ie[l[u+w]]++]=w);if(a===c?(V=Z=v,Y=19):a===o?(V=i,z-=257,Z=n,oe-=257,Y=256):(V=t,Z=s,Y=-1),B=0,w=0,T=S,W=g,O=L,N=0,F=-1,D=1<<L,j=D-1,a===o&&D>m||a===r&&D>p)return 1;for(;;){ge=T-N,v[w]<Y?(pe=0,De=v[w]):v[w]>Y?(pe=Z[oe+v[w]],De=V[z+v[w]]):(pe=32+64,De=0),M=1<<T-N,U=1<<O,S=U;do U-=M,f[W+(B>>N)+U]=ge<<24|pe<<16|De|0;while(U!==0);for(M=1<<T-1;B&M;)M>>=1;if(M!==0?(B&=M-1,B+=M):B=0,w++,--J[T]===0){if(T===I)break;T=l[u+v[w]]}if(T>L&&(B&j)!==F){for(N===0&&(N=L),W+=S,O=T-N,R=1<<O;O+N<I&&!(R-=J[O+N],R<=0);)O++,R<<=1;if(D+=1<<O,a===o&&D>m||a===r&&D>p)return 1;F=B&j,f[F]=L<<24|O<<16|W-g|0}}return B!==0&&(f[W+B]=T-N<<24|64<<16|0),y.bits=L,0}},JVwQ:function(H,k,d){var _=d("ProS"),x=d("1NG9"),C=x.Polygon,A=d("IwbS"),b=d("bYtY"),m=b.bind,p=b.extend,c=d("gPAo"),o=_.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(i,n,t){var s=i.getData(),e=this.group,a=i.getLayerSeries(),l=s.getLayout("layoutInfo"),u=l.rect,h=l.boundaryGap;e.attr("position",[0,u.y+h[0]]);function f(E){return E.name}var g=new c(this._layersSeries||[],a,f,f),v={};g.add(m(y,this,"add")).update(m(y,this,"update")).remove(m(y,this,"remove")).execute();function y(E,T,w){var S=this._layers;if(E==="remove"){e.remove(S[T]);return}for(var I=[],L=[],O,N=a[T].indices,R=0;R<N.length;R++){var D=s.getItemLayout(N[R]),B=D.x,M=D.y0,U=D.y;I.push([B,M]),L.push([B,M+U]),O=s.getItemVisual(N[R],"color")}var F,j,W=s.getItemLayout(N[0]),V=s.getItemModel(N[R-1]),z=V.getModel("label"),Y=z.get("margin");if(E==="add"){var J=v[T]=new A.Group;F=new C({shape:{points:I,stackedOnPoints:L,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),j=new A.Text({style:{x:W.x-Y,y:W.y0+W.y/2}}),J.add(F),J.add(j),e.add(J),F.setClipPath(r(F.getBoundingRect(),i,function(){F.removeClipPath()}))}else{var J=S[w];F=J.childAt(0),j=J.childAt(1),e.add(J),v[T]=J,A.updateProps(F,{shape:{points:I,stackedOnPoints:L}},i),A.updateProps(j,{style:{x:W.x-Y,y:W.y0+W.y/2}},i)}var ie=V.getModel("emphasis.itemStyle"),Z=V.getModel("itemStyle");A.setTextStyle(j.style,z,{text:z.get("show")?i.getFormattedLabel(N[R-1],"normal")||s.getName(N[R-1]):null,textVerticalAlign:"middle"}),F.setStyle(p({fill:O},Z.getItemStyle(["color"]))),A.setHoverStyle(F,ie.getItemStyle())}this._layersSeries=a,this._layers=v},dispose:function(){}});function r(i,n,t){var s=new A.Rect({shape:{x:i.x-10,y:i.y-10,width:0,height:i.height+20}});return A.initProps(s,{shape:{width:i.width+20,height:i.height+20}},n,t),s}H.exports=o},JgUQ:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},JsLm:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("PJYZ"),r=d.n(o),i=d("7W2i"),n=d.n(i),t=d("LQ03"),s=d.n(t),e=d("q1tI"),a=d("i8i4"),l=d("TSYQ"),u=d.n(l),h=d("zT1h"),f=d("cDf5"),g=d.n(f),v=d("BGR+"),y=d("t23M"),E=d("H84U"),T=d("RIqP"),w=d.n(T),S=d("xEkU"),I=d.n(S);function L(re){var X,G=function(de){return function(){X=null,re.apply(void 0,w()(de))}},Q=function(){if(X==null){for(var de=arguments.length,Ce=new Array(de),we=0;we<de;we++)Ce[we]=arguments[we];X=I()(G(Ce))}};return Q.cancel=function(){return I.a.cancel(X)},Q}function O(){return function(re,X,G){var Q=G.value,ve=!1;return{configurable:!0,get:function(){if(ve||this===re.prototype||this.hasOwnProperty(X))return Q;var Ce=L(Q.bind(this));return ve=!0,Object.defineProperty(this,X,{value:Ce,configurable:!0,writable:!0}),ve=!1,Ce}}}}function N(re){return re!==window?re.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function R(re,X,G){return G!==void 0&&X.top>re.top-G?G+X.top:void 0}function D(re,X,G){if(G!==void 0&&X.bottom<re.bottom+G){var Q=window.innerHeight-X.bottom;return G+Q}return}var B=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],M=[];function U(){return M}function F(re,X){if(!re)return;var G=M.find(function(Q){return Q.target===re});G?G.affixList.push(X):(G={target:re,affixList:[X],eventHandlers:{}},M.push(G),B.forEach(function(Q){G.eventHandlers[Q]=Object(h.a)(re,Q,function(){G.affixList.forEach(function(ve){ve.lazyUpdatePosition()})})}))}function j(re){var X=M.find(function(G){var Q=G.affixList.some(function(ve){return ve===re});return Q&&(G.affixList=G.affixList.filter(function(ve){return ve!==re})),Q});X&&X.affixList.length===0&&(M=M.filter(function(G){return G!==X}),B.forEach(function(G){var Q=X.eventHandlers[G];Q&&Q.remove&&Q.remove()}))}var W=function(re,X,G,Q){var ve=arguments.length,de=ve<3?X:Q===null?Q=Object.getOwnPropertyDescriptor(X,G):Q,Ce;if((typeof Reflect=="undefined"?"undefined":g()(Reflect))==="object"&&typeof Reflect.decorate=="function")de=Reflect.decorate(re,X,G,Q);else for(var we=re.length-1;we>=0;we--)(Ce=re[we])&&(de=(ve<3?Ce(de):ve>3?Ce(X,G,de):Ce(X,G))||de);return ve>3&&de&&Object.defineProperty(X,G,de),de};function V(){return typeof window!="undefined"?window:null}var z;(function(re){re[re.None=0]="None",re[re.Prepare=1]="Prepare"})(z||(z={}));var Y=function(re){n()(G,re);var X=s()(G);function G(){var Q;return m()(this,G),Q=X.apply(this,arguments),Q.state={status:z.None,lastAffix:!1,prevTarget:null},Q.getOffsetTop=function(){var ve=Q.props.offsetBottom,de=Q.props.offsetTop;return ve===void 0&&de===void 0&&(de=0),de},Q.getOffsetBottom=function(){return Q.props.offsetBottom},Q.savePlaceholderNode=function(ve){Q.placeholderNode=ve},Q.saveFixedNode=function(ve){Q.fixedNode=ve},Q.measure=function(){var ve=Q.state,de=ve.status,Ce=ve.lastAffix,we=Q.props.onChange,le=Q.getTargetFunc();if(de!==z.Prepare||!Q.fixedNode||!Q.placeholderNode||!le)return;var fe=Q.getOffsetTop(),xe=Q.getOffsetBottom(),We=le();if(!We)return;var nt={status:z.None},$e=N(We),Le=N(Q.placeholderNode),pt=R(Le,$e,fe),Qe=D(Le,$e,xe);pt!==void 0?(nt.affixStyle={position:"fixed",top:pt,width:Le.width,height:Le.height},nt.placeholderStyle={width:Le.width,height:Le.height}):Qe!==void 0&&(nt.affixStyle={position:"fixed",bottom:Qe,width:Le.width,height:Le.height},nt.placeholderStyle={width:Le.width,height:Le.height}),nt.lastAffix=!!nt.affixStyle,we&&Ce!==nt.lastAffix&&we(nt.lastAffix),Q.setState(nt)},Q.prepareMeasure=function(){if(Q.setState({status:z.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var ve},Q.render=function(){var ve=Q.context.getPrefixCls,de=Q.state,Ce=de.affixStyle,we=de.placeholderStyle,le=Q.props,fe=le.prefixCls,xe=le.children,We=u()(A()({},ve("affix",fe),Ce)),nt=Object(v.default)(Q.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return e.createElement(y.a,{onResize:function(){Q.updatePosition()}},e.createElement("div",x()({},nt,{ref:Q.savePlaceholderNode}),Ce&&e.createElement("div",{style:we,"aria-hidden":"true"}),e.createElement("div",{className:We,ref:Q.saveFixedNode,style:Ce},e.createElement(y.a,{onResize:function(){Q.updatePosition()}},xe))))},Q}return c()(G,[{key:"getTargetFunc",value:function(){var ve=this.context.getTargetContainer,de=this.props.target;return de!==void 0?de:ve||V}},{key:"componentDidMount",value:function(){var ve=this,de=this.getTargetFunc();de&&(this.timeout=setTimeout(function(){F(de(),ve),ve.updatePosition()}))}},{key:"componentDidUpdate",value:function(ve){var de=this.state.prevTarget,Ce=this.getTargetFunc(),we=null;Ce&&(we=Ce()||null),de!==we&&(j(this),we&&(F(we,this),this.updatePosition()),this.setState({prevTarget:we})),(ve.offsetTop!==this.props.offsetTop||ve.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),j(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var ve=this.getTargetFunc(),de=this.state.affixStyle;if(ve&&de){var Ce=this.getOffsetTop(),we=this.getOffsetBottom(),le=ve();if(le&&this.placeholderNode){var fe=N(le),xe=N(this.placeholderNode),We=R(xe,fe,Ce),nt=D(xe,fe,we);if(We!==void 0&&de.top===We||nt!==void 0&&de.bottom===nt)return}}this.prepareMeasure()}}]),G}(e.Component);Y.contextType=E.b,W([O()],Y.prototype,"updatePosition",null),W([O()],Y.prototype,"lazyUpdatePosition",null);var J=Y,ie=d("zAh6"),Z=d("i6bk"),oe=e.createContext(null),ge=oe;function pe(){return window}function De(re,X){if(!re.getClientRects().length)return 0;var G=re.getBoundingClientRect();return G.width||G.height?X===window?(X=re.ownerDocument.documentElement,G.top-X.clientTop):G.top-X.getBoundingClientRect().top:G.top}var ce=/#(\S+)$/,Oe=function(re){n()(G,re);var X=s()(G);function G(){var Q;return m()(this,G),Q=X.apply(this,arguments),Q.state={activeLink:null},Q.links=[],Q.registerLink=function(ve){Q.links.includes(ve)||Q.links.push(ve)},Q.unregisterLink=function(ve){var de=Q.links.indexOf(ve);de!==-1&&Q.links.splice(de,1)},Q.getContainer=function(){var ve=Q.context.getTargetContainer,de=Q.props.getContainer,Ce=de||ve||pe;return Ce()},Q.handleScrollTo=function(ve){var de=Q.props,Ce=de.offsetTop,we=de.targetOffset;Q.setCurrentActiveLink(ve);var le=Q.getContainer(),fe=Object(Z.a)(le,!0),xe=ce.exec(ve);if(!xe)return;var We=document.getElementById(xe[1]);if(!We)return;var nt=De(We,le),$e=fe+nt;$e-=we!==void 0?we:Ce||0,Q.animating=!0,Object(ie.a)($e,{callback:function(){Q.animating=!1},getContainer:Q.getContainer})},Q.saveInkNode=function(ve){Q.inkNode=ve},Q.setCurrentActiveLink=function(ve){var de=Q.state.activeLink,Ce=Q.props.onChange;de!==ve&&(Q.setState({activeLink:ve}),Ce&&Ce(ve))},Q.handleScroll=function(){if(Q.animating)return;var ve=Q.props,de=ve.offsetTop,Ce=ve.bounds,we=ve.targetOffset,le=Q.getCurrentAnchor(we!==void 0?we:de||0,Ce);Q.setCurrentActiveLink(le)},Q.updateInk=function(){var ve=r()(Q),de=ve.prefixCls,Ce=a.findDOMNode(r()(Q)),we=Ce.getElementsByClassName("".concat(de,"-link-title-active"))[0];we&&(Q.inkNode.style.top="".concat(we.offsetTop+we.clientHeight/2-4.5,"px"))},Q.render=function(){var ve=Q.context,de=ve.getPrefixCls,Ce=ve.direction,we=Q.props,le=we.prefixCls,fe=we.className,xe=fe===void 0?"":fe,We=we.style,nt=we.offsetTop,$e=we.affix,Le=we.showInkInFixed,pt=we.children,Qe=Q.state.activeLink,gt=de("anchor",le);Q.prefixCls=gt;var wt=u()("".concat(gt,"-ink-ball"),{visible:Qe}),Et=u()(xe,"".concat(gt,"-wrapper"),A()({},"".concat(gt,"-rtl"),Ce==="rtl")),_t=u()(gt,{fixed:!$e&&!Le}),Ht=x()({maxHeight:nt?"calc(100vh - ".concat(nt,"px)"):"100vh"},We),Ze=e.createElement("div",{className:Et,style:Ht},e.createElement("div",{className:_t},e.createElement("div",{className:"".concat(gt,"-ink")},e.createElement("span",{className:wt,ref:Q.saveInkNode})),pt));return e.createElement(ge.Provider,{value:{registerLink:Q.registerLink,unregisterLink:Q.unregisterLink,activeLink:Q.state.activeLink,scrollTo:Q.handleScrollTo,onClick:Q.props.onClick}},$e?e.createElement(J,{offsetTop:nt,target:Q.getContainer},Ze):Ze)},Q}return c()(G,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(h.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var ve=this.getContainer();this.scrollContainer!==ve&&(this.scrollContainer=ve,this.scrollEvent.remove(),this.scrollEvent=Object(h.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Ce=this.props.getCurrentAnchor;if(typeof Ce=="function")return Ce();var we=[],le=this.getContainer();if(this.links.forEach(function(xe){var We=ce.exec(xe.toString());if(!We)return;var nt=document.getElementById(We[1]);if(nt){var $e=De(nt,le);$e<ve+de&&we.push({link:xe,top:$e})}}),we.length){var fe=we.reduce(function(xe,We){return We.top>xe.top?We:xe});return fe.link}return""}}]),G}(e.Component);Oe.defaultProps={affix:!0,showInkInFixed:!1},Oe.contextType=E.b;var se=function(re){n()(G,re);var X=s()(G);function G(){var Q;return m()(this,G),Q=X.apply(this,arguments),Q.handleClick=function(ve){var de=Q.context,Ce=de.scrollTo,we=de.onClick,le=Q.props,fe=le.href,xe=le.title;we&&we(ve,{title:xe,href:fe}),Ce(fe)},Q.renderAnchorLink=function(ve){var de=ve.getPrefixCls,Ce=Q.props,we=Ce.prefixCls,le=Ce.href,fe=Ce.title,xe=Ce.children,We=Ce.className,nt=Ce.target,$e=de("anchor",we),Le=Q.context.activeLink===le,pt=u()(We,"".concat($e,"-link"),A()({},"".concat($e,"-link-active"),Le)),Qe=u()("".concat($e,"-link-title"),A()({},"".concat($e,"-link-title-active"),Le));return e.createElement("div",{className:pt},e.createElement("a",{className:Qe,href:le,title:typeof fe=="string"?fe:"",target:nt,onClick:Q.handleClick},fe),xe)},Q}return c()(G,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(ve){var de=ve.href,Ce=this.props.href;de!==Ce&&(this.context.unregisterLink(de),this.context.registerLink(Ce))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return e.createElement(E.a,null,this.renderAnchorLink)}}]),G}(e.Component);se.defaultProps={href:"#"},se.contextType=ge;var $=se;Oe.Link=$;var ze=k.a=Oe},JuEJ:function(H,k,d){var _=d("bYtY"),x=d("4NO4"),C=_.each,A=_.isObject,b=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function m(e){var a=e&&e.itemStyle;if(!a)return;for(var l=0,u=b.length;l<u;l++){var h=b[l],f=a.normal,g=a.emphasis;f&&f[h]&&(e[h]=e[h]||{},e[h].normal?_.merge(e[h].normal,f[h]):e[h].normal=f[h],f[h]=null),g&&g[h]&&(e[h]=e[h]||{},e[h].emphasis?_.merge(e[h].emphasis,g[h]):e[h].emphasis=g[h],g[h]=null)}}function p(e,a,l){if(e&&e[a]&&(e[a].normal||e[a].emphasis)){var u=e[a].normal,h=e[a].emphasis;u&&(l?(e[a].normal=e[a].emphasis=null,_.defaults(e[a],u)):e[a]=u),h&&(e.emphasis=e.emphasis||{},e.emphasis[a]=h)}}function c(e){p(e,"itemStyle"),p(e,"lineStyle"),p(e,"areaStyle"),p(e,"label"),p(e,"labelLine"),p(e,"upperLabel"),p(e,"edgeLabel")}function o(e,a){var l=A(e)&&e[a],u=A(l)&&l.textStyle;if(u)for(var h=0,f=x.TEXT_STYLE_OPTIONS.length;h<f;h++){var a=x.TEXT_STYLE_OPTIONS[h];u.hasOwnProperty(a)&&(l[a]=u[a])}}function r(e){e&&(c(e),o(e,"label"),e.emphasis&&o(e.emphasis,"label"))}function i(e){if(!A(e))return;m(e),c(e),o(e,"label"),o(e,"upperLabel"),o(e,"edgeLabel"),e.emphasis&&(o(e.emphasis,"label"),o(e.emphasis,"upperLabel"),o(e.emphasis,"edgeLabel"));var a=e.markPoint;a&&(m(a),r(a));var l=e.markLine;l&&(m(l),r(l));var u=e.markArea;u&&r(u);var h=e.data;if(e.type==="graph"){h=h||e.nodes;var f=e.links||e.edges;if(f&&!_.isTypedArray(f))for(var g=0;g<f.length;g++)r(f[g]);_.each(e.categories,function(E){c(E)})}if(h&&!_.isTypedArray(h))for(var g=0;g<h.length;g++)r(h[g]);var a=e.markPoint;if(a&&a.data)for(var v=a.data,g=0;g<v.length;g++)r(v[g]);var l=e.markLine;if(l&&l.data)for(var y=l.data,g=0;g<y.length;g++)_.isArray(y[g])?(r(y[g][0]),r(y[g][1])):r(y[g]);e.type==="gauge"?(o(e,"axisLabel"),o(e,"title"),o(e,"detail")):e.type==="treemap"?(p(e.breadcrumb,"itemStyle"),_.each(e.levels,function(E){c(E)})):e.type==="tree"&&c(e.leaves)}function n(e){return _.isArray(e)?e:e?[e]:[]}function t(e){return(_.isArray(e)?e[0]:e)||{}}function s(e,a){C(n(e.series),function(u){A(u)&&i(u)});var l=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];a&&l.push("valueAxis","categoryAxis","logAxis","timeAxis"),C(l,function(u){C(n(e[u]),function(h){h&&(o(h,"axisLabel"),o(h.axisPointer,"label"))})}),C(n(e.parallel),function(u){var h=u&&u.parallelAxisDefault;o(h,"axisLabel"),o(h&&h.axisPointer,"label")}),C(n(e.calendar),function(u){p(u,"itemStyle"),o(u,"dayLabel"),o(u,"monthLabel"),o(u,"yearLabel")}),C(n(e.radar),function(u){o(u,"name")}),C(n(e.geo),function(u){A(u)&&(r(u),C(n(u.regions),function(h){r(h)}))}),C(n(e.timeline),function(u){r(u),p(u,"label"),p(u,"itemStyle"),p(u,"controlStyle",!0);var h=u.data;_.isArray(h)&&_.each(h,function(f){_.isObject(f)&&(p(f,"label"),p(f,"itemStyle"))})}),C(n(e.toolbox),function(u){p(u,"iconStyle"),C(u.feature,function(h){p(h,"iconStyle")})}),o(t(e.axisPointer),"label"),o(t(e.tooltip).axisPointer,"label")}H.exports=s},K2GJ:function(H,k,d){var _=d("fW2E"),x=d("gut8"),C=x.ContextCachedBy,A=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],b=function(t){this.extendFrom(t,!1)};function m(n,t,s){var e=t.x==null?0:t.x,a=t.x2==null?1:t.x2,l=t.y==null?0:t.y,u=t.y2==null?0:t.y2;t.global||(e=e*s.width+s.x,a=a*s.width+s.x,l=l*s.height+s.y,u=u*s.height+s.y),e=isNaN(e)?0:e,a=isNaN(a)?1:a,l=isNaN(l)?0:l,u=isNaN(u)?0:u;var h=n.createLinearGradient(e,l,a,u);return h}function p(n,t,s){var e=s.width,a=s.height,l=Math.min(e,a),u=t.x==null?.5:t.x,h=t.y==null?.5:t.y,f=t.r==null?.5:t.r;t.global||(u=u*e+s.x,h=h*a+s.y,f=f*l);var g=n.createRadialGradient(u,h,0,u,h,f);return g}b.prototype={constructor:b,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(t,s,e){var a=this,l=e&&e.style,u=!l||t.__attrCachedBy!==C.STYLE_BIND;t.__attrCachedBy=C.STYLE_BIND;for(var h=0;h<A.length;h++){var f=A[h],g=f[0];(u||a[g]!==l[g])&&(t[g]=_(t,g,a[g]||f[1]))}if((u||a.fill!==l.fill)&&(t.fillStyle=a.fill),(u||a.stroke!==l.stroke)&&(t.strokeStyle=a.stroke),(u||a.opacity!==l.opacity)&&(t.globalAlpha=a.opacity==null?1:a.opacity),(u||a.blend!==l.blend)&&(t.globalCompositeOperation=a.blend||"source-over"),this.hasStroke()){var v=a.lineWidth;t.lineWidth=v/(this.strokeNoScale&&s&&s.getLineScale?s.getLineScale():1)}},hasFill:function(){var t=this.fill;return t!=null&&t!=="none"},hasStroke:function(){var t=this.stroke;return t!=null&&t!=="none"&&this.lineWidth>0},extendFrom:function(t,s){if(t)for(var e in t)t.hasOwnProperty(e)&&(s===!0||(s===!1?!this.hasOwnProperty(e):t[e]!=null))&&(this[e]=t[e])},set:function(t,s){typeof t=="string"?this[t]=s:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,s,e){for(var a=s.type==="radial"?p:m,l=a(t,s,e),u=s.colorStops,h=0;h<u.length;h++)l.addColorStop(u[h].offset,u[h].color);return l}};for(var c=b.prototype,o=0;o<A.length;o++){var r=A[o];r[0]in c||(c[r[0]]=r[1])}b.getGradient=c.getGradient;var i=b;H.exports=i},K3mO:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("3y9D"),d("WYAk"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.Base,b=C.WordArray,m=x.algo,p=m.MD5,c=m.EvpKDF=A.extend({cfg:A.extend({keySize:128/32,hasher:p,iterations:1}),init:function(r){this.cfg=this.cfg.extend(r)},compute:function(r,i){for(var n,t=this.cfg,s=t.hasher.create(),e=b.create(),a=e.words,l=t.keySize,u=t.iterations;a.length<l;){n&&s.update(n),n=s.update(r).finalize(i),s.reset();for(var h=1;h<u;h++)n=s.finalize(n),s.reset();e.concat(n)}return e.sigBytes=l*4,e}});x.EvpKDF=function(o,r,i){return c.create(i).compute(o,r)}}(),_.EvpKDF})},K4ya:function(H,k,d){var _=d("bYtY"),x=d("XxSj"),C=_.each;function A(o){if(o){for(var r in o)if(o.hasOwnProperty(r))return!0}}function b(o,r,i){var n={};return C(r,function(s){var e=n[s]=t();C(o[s],function(a,l){if(!x.isValidType(l))return;var u={type:l,visual:a};i&&i(u,s),e[l]=new x(u),l==="opacity"&&(u=_.clone(u),u.type="colorAlpha",e.__hidden.__alphaForOpacity=new x(u))})}),n;function t(){var s=function(){};s.prototype.__hidden=s.prototype;var e=new s;return e}}function m(o,r,i){var n;_.each(i,function(t){r.hasOwnProperty(t)&&A(r[t])&&(n=!0)}),n&&_.each(i,function(t){r.hasOwnProperty(t)&&A(r[t])?o[t]=_.clone(r[t]):delete o[t]})}function p(o,r,i,n,t,s){var e={};_.each(o,function(f){var g=x.prepareVisualTypes(r[f]);e[f]=g});var a;function l(f){return i.getItemVisual(a,f)}function u(f,g){i.setItemVisual(a,f,g)}s==null?i.each(h):i.each([s],h);function h(f,g){a=s==null?f:g;var v=i.getRawDataItem(a);if(v&&v.visualMap===!1)return;for(var y=n.call(t,f),E=r[y],T=e[y],w=0,S=T.length;w<S;w++){var I=T[w];E[I]&&E[I].applyVisual(f,l,u)}}}function c(o,r,i,n){var t={};_.each(o,function(e){var a=x.prepareVisualTypes(r[e]);t[e]=a});function s(e,a){n!=null&&(n=a.getDimension(n));function l(I){return a.getItemVisual(h,I)}function u(I,L){a.setItemVisual(h,I,L)}for(var h;(h=e.next())!=null;){var f=a.getRawDataItem(h);if(f&&f.visualMap===!1)continue;for(var g=n!=null?a.get(n,h,!0):h,v=i(g),y=r[v],E=t[v],T=0,w=E.length;T<w;T++){var S=E[T];y[S]&&y[S].applyVisual(g,l,u)}}}return{progress:s}}k.createVisualMappings=b,k.replaceVisualOption=m,k.applyVisual=p,k.incrementalApplyVisual=c},KCsZ:function(H,k,d){var _=d("bYtY");function x(C){for(var A=0;A<C.length;A++)C[A][1]||(C[A][1]=C[A][0]);return function(b,m,p){for(var c={},o=0;o<C.length;o++){var r=C[o][1];if(m&&_.indexOf(m,r)>=0||p&&_.indexOf(p,r)<0)continue;var i=b.getShallow(r);i!=null&&(c[C[o][0]]=i)}return c}}H.exports=x},KPFz:function(H,k,d){},KQeH:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},KS52:function(H,k,d){var _=d("OELB"),x=_.parsePercent,C=_.linearMap,A=d("+TT/"),b=d("u3DP"),m=d("bYtY"),p=Math.PI*2,c=Math.PI/180;function o(i,n){return A.getLayoutRect(i.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function r(i,n,t,s){n.eachSeriesByType(i,function(e){var a=e.getData(),l=a.mapDimension("value"),u=o(e,t),h=e.get("center"),f=e.get("radius");m.isArray(f)||(f=[0,f]),m.isArray(h)||(h=[h,h]);var g=x(u.width,t.getWidth()),v=x(u.height,t.getHeight()),y=Math.min(g,v),E=x(h[0],g)+u.x,T=x(h[1],v)+u.y,w=x(f[0],y/2),S=x(f[1],y/2),I=-e.get("startAngle")*c,L=e.get("minAngle")*c,O=0;a.each(l,function(Y){!isNaN(Y)&&O++});var N=a.getSum(l),R=Math.PI/(N||O)*2,D=e.get("clockwise"),B=e.get("roseType"),M=e.get("stillShowZeroSum"),U=a.getDataExtent(l);U[0]=0;var F=p,j=0,W=I,V=D?1:-1;if(a.each(l,function(Y,J){var ie;if(isNaN(Y)){a.setItemLayout(J,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:D,cx:E,cy:T,r0:w,r:B?NaN:S,viewRect:u});return}B!=="area"?ie=N===0&&M?R:Y*R:ie=p/O,ie<L?(ie=L,F-=L):j+=Y;var Z=W+V*ie;a.setItemLayout(J,{angle:ie,startAngle:W,endAngle:Z,clockwise:D,cx:E,cy:T,r0:w,r:B?C(Y,U,[w,S]):S,viewRect:u}),W=Z}),F<p&&O)if(F<=.001){var z=p/O;a.each(l,function(Y,J){if(!isNaN(Y)){var ie=a.getItemLayout(J);ie.angle=z,ie.startAngle=I+V*J*z,ie.endAngle=I+V*(J+1)*z}})}else R=F/j,W=I,a.each(l,function(Y,J){if(!isNaN(Y)){var ie=a.getItemLayout(J),Z=ie.angle===L?L:Y*R;ie.startAngle=W,ie.endAngle=W+V*Z,W+=V*Z}});b(e,S,u.width,u.height,u.x,u.y)})}H.exports=r},KUOm:function(H,k){function d(_){var x={};_.eachSeriesByType("graph",function(C){var A=C.getCategoriesData(),b=C.getData(),m={};A.each(function(p){var c=A.getName(p);m["ec-"+c]=p;var o=A.getItemModel(p),r=o.get("itemStyle.color")||C.getColorFromPalette(c,x);A.setItemVisual(p,"color",r);for(var i=["opacity","symbol","symbolSize","symbolKeepAspect"],n=0;n<i.length;n++){var t=o.getShallow(i[n],!0);t!=null&&A.setItemVisual(p,i[n],t)}}),A.count()&&b.each(function(p){var c=b.getItemModel(p),o=c.getShallow("category");if(o!=null){typeof o=="string"&&(o=m["ec-"+o]);for(var r=["color","opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<r.length;i++)b.getItemVisual(p,r[i],!0)==null&&b.setItemVisual(p,r[i],A.getItemVisual(o,r[i]))}})})}H.exports=d},Kagy:function(H,k){var d={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};H.exports=d},KamJ:function(H,k,d){var _=d("ProS"),x=d("szbU");d("vF/C"),d("qwVE"),d("BuqR"),d("AE9C"),d("1u/T"),_.registerPreprocessor(x)},KmBX:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("CP8R")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="FilterFilled";var c=A.forwardRef(p);k.default=c},KmYQ:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.pad.ZeroPadding={pad:function(C,A){var b=A*4;C.clamp(),C.sigBytes+=b-(C.sigBytes%b||b)},unpad:function(C){for(var A=C.words,b=C.sigBytes-1,b=C.sigBytes-1;b>=0;b--)if(A[b>>>2]>>>24-b%4*8&255){C.sigBytes=b+1;break}}},_.pad.ZeroPadding})},"KpQ+":function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("E/ki")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="ClockCircleOutlined";var c=A.forwardRef(p);k.default=c},KrTs:function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("cDf5"),A=d.n(C),b=d("pVnL"),m=d.n(b),p=d("q1tI"),c=d("MFj2"),o=d("TSYQ"),r=d.n(o),i=d("J4zp"),n=d.n(i),t=d("H84U"),s=d("0n0R"),e=function(S,I){var L={};for(var O in S)Object.prototype.hasOwnProperty.call(S,O)&&I.indexOf(O)<0&&(L[O]=S[O]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,O=Object.getOwnPropertySymbols(S);N<O.length;N++)I.indexOf(O[N])<0&&Object.prototype.propertyIsEnumerable.call(S,O[N])&&(L[O[N]]=S[O[N]]);return L};function a(S){return S?S.toString().split("").reverse().map(function(I){var L=Number(I);return isNaN(L)?I:L}):[]}function l(S,I){for(var L=[],O=0;O<30;O++)L.push(p.createElement("p",{key:O.toString(),className:r()(I,{current:S===O})},O%10));return L}var u=function(I){var L=I.prefixCls,O=I.count,N=I.className,R=I.style,D=I.title,B=I.component,M=B===void 0?"sup":B,U=I.displayComponent,F=I.onAnimated,j=F===void 0?function(){}:F,W=e(I,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),V=p.useState(!0),z=n()(V,2),Y=z[0],J=z[1],ie=p.useState(O),Z=n()(ie,2),oe=Z[0],ge=Z[1],pe=p.useState(O),De=n()(pe,2),ce=De[0],Oe=De[1],se=p.useState(O),$=n()(se,2),ze=$[0],re=$[1],X=p.useContext(t.b),G=X.getPrefixCls,Q=G("scroll-number",L);ce!==O&&(J(!0),Oe(O)),p.useEffect(function(){re(oe);var le;return Y&&(le=setTimeout(function(){J(!1),ge(O),j()})),function(){le&&clearTimeout(le)}},[Y,O,j]);var ve=function(fe,xe){var We=Math.abs(Number(oe)),nt=Math.abs(Number(ze)),$e=Math.abs(a(oe)[xe]),Le=Math.abs(a(nt)[xe]);return Y?10+fe:We>nt?$e>=Le?10+fe:20+fe:$e<=Le?10+fe:fe},de=function(fe,xe){if(typeof fe=="number"){var We=ve(fe,xe),nt=Y||a(ze)[xe]===void 0;return p.createElement("span",{className:"".concat(Q,"-only"),style:{transition:nt?"none":void 0,msTransform:"translateY(".concat(-We*100,"%)"),WebkitTransform:"translateY(".concat(-We*100,"%)"),transform:"translateY(".concat(-We*100,"%)")},key:xe},l(We,"".concat(Q,"-only-unit")))}return p.createElement("span",{key:"symbol",className:"".concat(Q,"-symbol")},fe)},Ce=function(){return oe&&Number(oe)%1===0?a(oe).map(function(fe,xe){return de(fe,xe)}).reverse():oe},we=m()(m()({},W),{style:R,className:r()(Q,N),title:D});return R&&R.borderColor&&(we.style=m()(m()({},R),{boxShadow:"0 0 0 1px ".concat(R.borderColor," inset")})),U?Object(s.a)(U,{className:r()("".concat(Q,"-custom-component"),U.props&&U.props.className)}):p.createElement(M,we,Ce())},h=u,f=d("09Wf");function g(S){return f.a.indexOf(S)!==-1}var v=function(I){var L,O=I.className,N=I.prefixCls,R=I.style,D=I.color,B=I.children,M=I.text,U=I.placement,F=U===void 0?"end":U,j=p.useContext(t.b),W=j.getPrefixCls,V=j.direction,z=W("ribbon",N),Y=g(D),J=r()(z,O,"".concat(z,"-placement-").concat(F),(L={},x()(L,"".concat(z,"-rtl"),V==="rtl"),x()(L,"".concat(z,"-color-").concat(D),Y),L)),ie={},Z={};return D&&!Y&&(ie.background=D,Z.color=D),p.createElement("div",{className:"".concat(z,"-wrapper")},B,p.createElement("div",{className:J,style:m()(m()({},ie),R)},M,p.createElement("div",{className:"".concat(z,"-corner"),style:Z})))},y=v,E=function(S,I){var L={};for(var O in S)Object.prototype.hasOwnProperty.call(S,O)&&I.indexOf(O)<0&&(L[O]=S[O]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,O=Object.getOwnPropertySymbols(S);N<O.length;N++)I.indexOf(O[N])<0&&Object.prototype.propertyIsEnumerable.call(S,O[N])&&(L[O[N]]=S[O[N]]);return L},T=function(I){var L,O,N=I.prefixCls,R=I.scrollNumberPrefixCls,D=I.children,B=I.status,M=I.text,U=I.color,F=I.count,j=F===void 0?null:F,W=I.overflowCount,V=W===void 0?99:W,z=I.dot,Y=z===void 0?!1:z,J=I.size,ie=J===void 0?"default":J,Z=I.title,oe=I.offset,ge=I.style,pe=I.className,De=I.showZero,ce=De===void 0?!1:De,Oe=E(I,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),se=p.useContext(t.b),$=se.getPrefixCls,ze=se.direction,re=$("badge",N),X=function(){var wt=j>V?"".concat(V,"+"):j;return wt},G=function(){return!!B||!!U},Q=function(){var wt=X();return wt==="0"||wt===0},ve=function(){return Y&&!Q()||G()},de=function(){return ve()?"":X()},Ce=function(){return Z||(typeof j=="string"||typeof j=="number"?j:void 0)},we=function(){return ze==="rtl"?oe?m()({left:parseInt(oe[0],10),marginTop:oe[1]},ge):ge:oe?m()({right:-parseInt(oe[0],10),marginTop:oe[1]},ge):ge},le=function(){var wt=de(),Et=wt==null||wt==="";return(Et||Q()&&!ce)&&!ve()},fe=function(){var wt=le();return wt||!M?null:p.createElement("span",{className:"".concat(re,"-status-text")},M)},xe=function(){var wt=j;return!wt||A()(wt)!=="object"?void 0:Object(s.a)(wt,{style:m()(m()({},we()),wt.props&&wt.props.style)})},We=function(){var wt,Et=$("scroll-number",R),_t=de(),Ht=ve(),Ze=le(),ye=r()((wt={},x()(wt,"".concat(re,"-dot"),Ht),x()(wt,"".concat(re,"-count"),!Ht),x()(wt,"".concat(re,"-count-sm"),ie==="small"),x()(wt,"".concat(re,"-multiple-words"),!Ht&&j&&j.toString&&j.toString().length>1),x()(wt,"".concat(re,"-status-").concat(B),!!B),x()(wt,"".concat(re,"-status-").concat(U),g(U)),wt)),ae=we();return U&&!g(U)&&(ae=ae||{},ae.background=U),Ze?null:p.createElement(h,{prefixCls:Et,"data-show":!Ze,className:ye,count:_t,displayComponent:xe(),title:Ce(),style:ae,key:"scrollNumber"})},nt=r()((L={},x()(L,"".concat(re,"-status-dot"),G()),x()(L,"".concat(re,"-status-").concat(B),!!B),x()(L,"".concat(re,"-status-").concat(U),g(U)),L)),$e={};U&&!g(U)&&($e.background=U);var Le=r()(pe,re,(O={},x()(O,"".concat(re,"-status"),G()),x()(O,"".concat(re,"-not-a-wrapper"),!D),x()(O,"".concat(re,"-rtl"),ze==="rtl"),O));if(!D&&G()){var pt=we(),Qe=pt&&pt.color;return p.createElement("span",m()({},Oe,{className:Le,style:pt}),p.createElement("span",{className:nt,style:$e}),p.createElement("span",{style:{color:Qe},className:"".concat(re,"-status-text")},M))}return p.createElement("span",m()({},Oe,{className:Le}),D,p.createElement(c.a,{component:"",showProp:"data-show",transitionName:D?"".concat(re,"-zoom"):"",transitionAppear:!0},We()),fe())};T.Ribbon=y;var w=k.a=T},Kvyg:function(H,k,d){},KxBF:function(H,k){function d(_,x,C){var A=-1,b=_.length;x<0&&(x=-x>b?0:b+x),C=C>b?b:C,C<0&&(C+=b),b=x>C?0:C-x>>>0,x>>>=0;for(var m=Array(b);++A<b;)m[A]=_[A+x];return m}H.exports=d},KxFI:function(H,k,d){},KxfA:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=C.isTypedArray,b=C.extend,m=C.assert,p=C.each,c=C.isObject,o=d("4NO4"),r=o.getDataItemValue,i=o.isDataItemOption,n=d("OELB"),t=n.parseDate,s=d("7G+c"),e=d("k9D9"),a=e.SOURCE_FORMAT_TYPED_ARRAY,l=e.SOURCE_FORMAT_ARRAY_ROWS,u=e.SOURCE_FORMAT_ORIGINAL,h=e.SOURCE_FORMAT_OBJECT_ROWS;function f(D,B){s.isInstance(D)||(D=s.seriesDataToSource(D)),this._source=D;var M=this._data=D.data,U=D.sourceFormat;U===a&&(this._offset=0,this._dimSize=B,this._data=M);var F=v[U===l?U+"_"+D.seriesLayoutBy:U];b(this,F)}var g=f.prototype;g.pure=!1,g.persistent=!0,g.getSource=function(){return this._source};var v={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(D){return this._data[D+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var D=this._data[0];return D?Math.max(0,D.length-this._source.startIndex):0},getItem:function(D){D+=this._source.startIndex;for(var B=[],M=this._data,U=0;U<M.length;U++){var F=M[U];B.push(F?F[D]:null)}return B},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:y,getItem:E,appendData:T},keyedColumns:{pure:!0,count:function(){var D=this._source.dimensionsDefine[0].name,B=this._data[D];return B?B.length:0},getItem:function(D){for(var B=[],M=this._source.dimensionsDefine,U=0;U<M.length;U++){var F=this._data[M[U].name];B.push(F?F[D]:null)}return B},appendData:function(D){var B=this._data;p(D,function(M,U){for(var F=B[U]||(B[U]=[]),j=0;j<(M||[]).length;j++)F.push(M[j])})}},original:{count:y,getItem:E,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(D,B){D=D-this._offset,B=B||[];for(var M=this._dimSize*D,U=0;U<this._dimSize;U++)B[U]=this._data[M+U];return B},appendData:function(D){this._data=D},clean:function(){this._offset+=this.count(),this._data=null}}};function y(){return this._data.length}function E(D){return this._data[D]}function T(D){for(var B=0;B<D.length;B++)this._data.push(D[B])}var w={arrayRows:S,objectRows:function(D,B,M,U){return M!=null?D[U]:D},keyedColumns:S,original:function(D,B,M,U){var F=r(D);return M==null||!(F instanceof Array)?F:F[M]},typedArray:S};function S(D,B,M,U){return M!=null?D[M]:D}var I={arrayRows:L,objectRows:function(D,B,M,U){return O(D[B],this._dimensionInfos[B])},keyedColumns:L,original:function(D,B,M,U){var F=D&&(D.value==null?D:D.value);return!this._rawData.pure&&i(D)&&(this.hasItemOption=!0),O(F instanceof Array?F[U]:F,this._dimensionInfos[B])},typedArray:function(D,B,M,U){return D[U]}};function L(D,B,M,U){return O(D[U],this._dimensionInfos[B])}function O(D,B){var M=B&&B.type;if(M==="ordinal"){var U=B&&B.ordinalMeta;return U?U.parseAndCollect(D):D}return M==="time"&&typeof D!="number"&&D!=null&&D!=="-"&&(D=+t(D)),D==null||D===""?NaN:+D}function N(D,B,M){if(!D)return;var U=D.getRawDataItem(B);if(U==null)return;var F=D.getProvider().getSource().sourceFormat,j,W,V=D.getDimensionInfo(M);return V&&(j=V.name,W=V.index),w[F](U,B,W,j)}function R(D,B,M){if(!D)return;var U=D.getProvider().getSource().sourceFormat;if(U!==u&&U!==h)return;var F=D.getRawDataItem(B);if(U===u&&!c(F)&&(F=null),F)return F[M]}k.DefaultDataProvider=f,k.defaultDimValueGetters=I,k.retrieveRawValue=N,k.retrieveRawAttr=R},L0Ub:function(H,k,d){var _=d("bYtY"),x=_.each,C=_.createHashMap,A=_.assert,b=d("Tghj"),m=b.__DEV__,p=C(["tooltip","label","itemName","itemId","seriesName"]);function c(n){var t={},s=t.encode={},e=C(),a=[],l=[],u=t.userOutput={dimensionNames:n.dimensions.slice(),encode:{}};x(n.dimensions,function(y){var E=n.getDimensionInfo(y),T=E.coordDim;if(T){var w=E.coordDimIndex;o(s,T)[w]=y,E.isExtraCoord||(e.set(T,1),i(E.type)&&(a[0]=y),o(u.encode,T)[w]=E.index),E.defaultTooltip&&l.push(y)}p.each(function(S,I){var L=o(s,I),O=E.otherDims[I];O!=null&&O!==!1&&(L[O]=E.name)})});var h=[],f={};e.each(function(y,E){var T=s[E];f[E]=T[0],h=h.concat(T)}),t.dataDimsOnCoord=h,t.encodeFirstDimNotExtra=f;var g=s.label;g&&g.length&&(a=g.slice());var v=s.tooltip;return v&&v.length?l=v.slice():l.length||(l=a.slice()),s.defaultedLabel=a,s.defaultedTooltip=l,t}function o(n,t){return n.hasOwnProperty(t)||(n[t]=[]),n[t]}function r(n){return n==="category"?"ordinal":n==="time"?"time":"float"}function i(n){return!(n==="ordinal"||n==="time")}k.OTHER_DIMENSIONS=p,k.summarizeDimensions=c,k.getDimensionTypeByAxis=r},L3Oj:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("HjIi");d("HM/N"),d("9eas"),d("eS4l"),d("y4/Y"),d("as94"),_.registerLayout(x.curry(C,"bar")),_.extendComponentView({type:"polar"})},L41K:function(H,k,d){"use strict";d.d(k,"a",function(){return j});var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("7W2i"),r=d.n(o),i=d("LQ03"),n=d.n(i),t=d("q1tI"),s=d.n(t),e=d("BGR+"),a=d("VTBJ"),l=d("rePB"),u=d("Ff2n"),h=d("1OyB"),f=d("vuIU"),g=d("Ji7U"),v=d("LK+K"),y=d("Zm9Q"),E=d("TSYQ"),T=d.n(E),w=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick"];function S(W){return typeof W=="string"}var I=function(W){Object(g.a)(z,W);var V=Object(v.a)(z);function z(){var Y;return Object(h.a)(this,z),Y=V.apply(this,arguments),Y.onClick=function(){var J=Y.props,ie=J.onClick,Z=J.onStepClick,oe=J.stepIndex;ie&&ie.apply(void 0,arguments),Z(oe)},Y}return Object(f.a)(z,[{key:"renderIconNode",value:function(){var J,ie=this.props,Z=ie.prefixCls,oe=ie.progressDot,ge=ie.stepIcon,pe=ie.stepNumber,De=ie.status,ce=ie.title,Oe=ie.description,se=ie.icon,$=ie.iconPrefix,ze=ie.icons,re,X=T()("".concat(Z,"-icon"),"".concat($,"icon"),(J={},Object(l.a)(J,"".concat($,"icon-").concat(se),se&&S(se)),Object(l.a)(J,"".concat($,"icon-check"),!se&&De==="finish"&&(ze&&!ze.finish||!ze)),Object(l.a)(J,"".concat($,"icon-cross"),!se&&De==="error"&&(ze&&!ze.error||!ze)),J)),G=t.createElement("span",{className:"".concat(Z,"-icon-dot")});return oe?typeof oe=="function"?re=t.createElement("span",{className:"".concat(Z,"-icon")},oe(G,{index:pe-1,status:De,title:ce,description:Oe})):re=t.createElement("span",{className:"".concat(Z,"-icon")},G):se&&!S(se)?re=t.createElement("span",{className:"".concat(Z,"-icon")},se):ze&&ze.finish&&De==="finish"?re=t.createElement("span",{className:"".concat(Z,"-icon")},ze.finish):ze&&ze.error&&De==="error"?re=t.createElement("span",{className:"".concat(Z,"-icon")},ze.error):se||De==="finish"||De==="error"?re=t.createElement("span",{className:X}):re=t.createElement("span",{className:"".concat(Z,"-icon")},pe),ge&&(re=ge({index:pe-1,status:De,title:ce,description:Oe,node:re})),re}},{key:"render",value:function(){var J,ie=this.props,Z=ie.className,oe=ie.prefixCls,ge=ie.style,pe=ie.active,De=ie.status,ce=De===void 0?"wait":De,Oe=ie.iconPrefix,se=ie.icon,$=ie.wrapperStyle,ze=ie.stepNumber,re=ie.disabled,X=ie.description,G=ie.title,Q=ie.subTitle,ve=ie.progressDot,de=ie.stepIcon,Ce=ie.tailContent,we=ie.icons,le=ie.stepIndex,fe=ie.onStepClick,xe=ie.onClick,We=Object(u.a)(ie,w),nt=T()("".concat(oe,"-item"),"".concat(oe,"-item-").concat(ce),Z,(J={},Object(l.a)(J,"".concat(oe,"-item-custom"),se),Object(l.a)(J,"".concat(oe,"-item-active"),pe),Object(l.a)(J,"".concat(oe,"-item-disabled"),re===!0),J)),$e=Object(a.a)({},ge),Le={};return fe&&!re&&(Le.role="button",Le.tabIndex=0,Le.onClick=this.onClick),t.createElement("div",Object.assign({},We,{className:nt,style:$e}),t.createElement("div",Object.assign({onClick:xe},Le,{className:"".concat(oe,"-item-container")}),t.createElement("div",{className:"".concat(oe,"-item-tail")},Ce),t.createElement("div",{className:"".concat(oe,"-item-icon")},this.renderIconNode()),t.createElement("div",{className:"".concat(oe,"-item-content")},t.createElement("div",{className:"".concat(oe,"-item-title")},G,Q&&t.createElement("div",{title:typeof Q=="string"?Q:void 0,className:"".concat(oe,"-item-subtitle")},Q)),X&&t.createElement("div",{className:"".concat(oe,"-item-description")},X))))}}]),z}(t.Component),L=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange"],O=function(W){Object(g.a)(z,W);var V=Object(v.a)(z);function z(){var Y;return Object(h.a)(this,z),Y=V.apply(this,arguments),Y.onStepClick=function(J){var ie=Y.props,Z=ie.onChange,oe=ie.current;Z&&oe!==J&&Z(J)},Y}return Object(f.a)(z,[{key:"render",value:function(){var J,ie=this,Z=this.props,oe=Z.prefixCls,ge=Z.style,pe=ge===void 0?{}:ge,De=Z.className,ce=Z.children,Oe=Z.direction,se=Z.type,$=Z.labelPlacement,ze=Z.iconPrefix,re=Z.status,X=Z.size,G=Z.current,Q=Z.progressDot,ve=Z.stepIcon,de=Z.initial,Ce=Z.icons,we=Z.onChange,le=Object(u.a)(Z,L),fe=se==="navigation",xe=Q?"vertical":$,We=T()(oe,"".concat(oe,"-").concat(Oe),De,(J={},Object(l.a)(J,"".concat(oe,"-").concat(X),X),Object(l.a)(J,"".concat(oe,"-label-").concat(xe),Oe==="horizontal"),Object(l.a)(J,"".concat(oe,"-dot"),!!Q),Object(l.a)(J,"".concat(oe,"-navigation"),fe),J));return s.a.createElement("div",Object.assign({className:We,style:pe},le),Object(y.a)(ce).map(function(nt,$e){var Le=de+$e,pt=Object(a.a)({stepNumber:"".concat(Le+1),stepIndex:Le,key:Le,prefixCls:oe,iconPrefix:ze,wrapperStyle:pe,progressDot:Q,stepIcon:ve,icons:Ce,onStepClick:we&&ie.onStepClick},nt.props);return re==="error"&&$e===G-1&&(pt.className="".concat(oe,"-next-error")),nt.props.status||(Le===G?pt.status=re:Le<G?pt.status="finish":pt.status="wait"),pt.active=Le===G,Object(t.cloneElement)(nt,pt)}))}}]),z}(s.a.Component);O.Step=I,O.defaultProps={type:"default",prefixCls:"rc-steps",iconPrefix:"rc",direction:"horizontal",labelPlacement:"horizontal",initial:0,current:0,status:"process",size:"",progressDot:!1};var N=O,R=d("NAnI"),D=d.n(R),B=d("V/uB"),M=d.n(B),U=d("H84U"),F=d("CFYs"),j=function(W){r()(z,W);var V=n()(z);function z(){var Y;return m()(this,z),Y=V.apply(this,arguments),Y.renderSteps=function(J){var ie=J.getPrefixCls,Z=J.direction,oe=ie("steps",Y.props.prefixCls),ge=ie("",Y.props.iconPrefix),pe=Y.props,De=pe.percent,ce=pe.size,Oe=T()(Y.props.className,A()({},"".concat(oe,"-rtl"),Z==="rtl")),se={finish:t.createElement(D.a,{className:"".concat(oe,"-finish-icon")}),error:t.createElement(M.a,{className:"".concat(oe,"-error-icon")})},$=function(re){var X=re.node,G=re.status;if(G==="process"&&De!==void 0){var Q=ce==="small"?32:40,ve=t.createElement("div",{className:"".concat(oe,"-progress-icon")},t.createElement(F.a,{type:"circle",percent:De,width:Q,strokeWidth:4,format:function(){return null}}),X);return ve}return X};return t.createElement(N,x()({icons:se},Object(e.default)(Y.props,["progress"]),{stepIcon:$,prefixCls:oe,iconPrefix:ge,className:Oe}))},Y}return c()(z,[{key:"render",value:function(){return t.createElement(U.a,null,this.renderSteps)}}]),z}(t.Component);j.Step=N.Step,j.defaultProps={current:0}},L5E0:function(H,k){var d=["itemStyle","borderColor"];function _(x,C){var A=x.get("color");x.eachRawSeriesByType("boxplot",function(b){var m=A[b.seriesIndex%A.length],p=b.getData();p.setVisual({legendSymbol:"roundRect",color:b.get(d)||m}),x.isSeriesFiltered(b)||p.each(function(c){var o=p.getItemModel(c);p.setItemVisual(c,{color:o.get(d,!0)})})})}H.exports=_},LBfv:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=x.createHashMap,A=x.each;_.registerProcessor({getTargetSeries:function(b){var m=C();return b.eachComponent("dataZoom",function(p){p.eachTargetAxis(function(c,o,r){var i=r.getAxisProxy(c.name,o);A(i.getTargetSeriesModels(),function(n){m.set(n.uid,n)})})}),m},modifyOutputEnd:!0,overallReset:function(b,m){b.eachComponent("dataZoom",function(p){p.eachTargetAxis(function(c,o,r){r.getAxisProxy(c.name,o).reset(r,m)}),p.eachTargetAxis(function(c,o,r){r.getAxisProxy(c.name,o).filterData(r,m)})}),b.eachComponent("dataZoom",function(p){var c=p.findRepresentativeAxisProxy(),o=c.getDataPercentWindow(),r=c.getDataValueWindow();p.setCalculatedRange({start:o[0],end:o[1],startValue:r[0],endValue:r[1]})})}})},LCi9:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;function _(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")}function x(f,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(f,y.key,y)}}function C(f,g,v){return g&&x(f.prototype,g),v&&x(f,v),f}var A=0,b=1,m=2,p=4,c=8,o=16,r=32,i=64,n=127,t=50,s=90,e=250,a=1e3,l=1e3,u=50,h=function(){function f(){_(this,f),this._target=null,this._state=n,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return C(f,[{key:"attach",value:function(v){this.detach(),this._target=v,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(v){var y;v.stopPropagation(),v.preventDefault();switch(v.type){case"touchstart":y=this._touchStart;break;case"touchmove":y=this._touchMove;break;case"touchend":case"touchcancel":y=this._touchEnd;break}for(var E=0;E<v.changedTouches.length;E++){var T=v.changedTouches[E];y.call(this,T.identifier,T.clientX,T.clientY)}}},{key:"_touchStart",value:function(v,y,E){if(this._hasDetectedGesture()||this._state===A){this._ignored.push(v);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>e){this._state=A,this._ignored.push(v);return}if(this._waitingRelease){this._state=A,this._ignored.push(v);return}this._tracked.push({id:v,started:Date.now(),active:!0,firstX:y,firstY:E,lastX:y,lastY:E,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(b|c|o),this._stopLongpressTimeout();break;case 3:this._state&=~(m|r|i);break;default:this._state=A}}},{key:"_touchMove",value:function(v,y,E){var T=this._tracked.find(function(N){return N.id===v});if(T===void 0)return;T.lastX=y,T.lastY=E;var w=y-T.firstX,S=E-T.firstY;if((T.firstX!==T.lastX||T.firstY!==T.lastY)&&(T.angle=Math.atan2(S,w)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(w,S)<t)return;if(this._state&=~(b|m|p|o),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~c),this._tracked.length!==2&&(this._state&=~(r|i)),this._tracked.length===2){var I=this._tracked.find(function(N){return N.id!==v}),L=Math.hypot(I.firstX-I.lastX,I.firstY-I.lastY);if(L>t){var O=Math.abs(T.angle-I.angle);O=Math.abs((O+180)%360-180),O>s?this._state&=~r:this._state&=~i,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(v,y,E){if(this._ignored.indexOf(v)!==-1){this._ignored.splice(this._ignored.indexOf(v),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=n,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=A),!this._hasDetectedGesture()&&(this._state&=~(c|r|i),this._state&=~o,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(m|p);break;case 2:this._state&=~(b|p);break}}if(this._waitingRelease){Date.now()-this._releaseStart>e&&(this._state=A),this._tracked.some(function(S){return Date.now()-S.started>a})&&(this._state=A);var T=this._tracked.find(function(S){return S.id===v});if(T.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==A)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var w=0;w<this._tracked.length;w++)this._tracked[w].active&&this._ignored.push(this._tracked[w].id);this._tracked=[],this._state=A,this._ignored.indexOf(v)!==-1&&this._ignored.splice(this._ignored.indexOf(v),1),this._ignored.length===0&&(this._state=n,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===A||this._state&this._state-1?!1:!(this._state&(b|m|p)&&this._tracked.some(function(v){return v.active}))}},{key:"_startLongpressTimeout",value:function(){var v=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return v._longpressTimeout()},l)}},{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 v=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return v._twoTouchTimeout()},u)}},{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 v=this._getAverageMovement(),y=Math.abs(v.x),E=Math.abs(v.y),T=this._getAverageDistance(),w=Math.abs(Math.hypot(T.first.x,T.first.y)-Math.hypot(T.last.x,T.last.y));E<w&&y<w?this._state=i:this._state=r,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(v){var y={type:this._stateToGesture(this._state)},E=this._getPosition(),T=E.last;v==="gesturestart"&&(T=E.first);switch(this._state){case r:case i:T=E.first;break}if(y.clientX=T.x,y.clientY=T.y,this._state===i){var w=this._getAverageDistance();v==="gesturestart"?(y.magnitudeX=w.first.x,y.magnitudeY=w.first.y):(y.magnitudeX=w.last.x,y.magnitudeY=w.last.y)}else if(this._state===r)if(v==="gesturestart")y.magnitudeX=0,y.magnitudeY=0;else{var S=this._getAverageMovement();y.magnitudeX=S.x,y.magnitudeY=S.y}var I=new CustomEvent(v,{detail:y});this._target.dispatchEvent(I)}},{key:"_stateToGesture",value:function(v){switch(v){case b:return"onetap";case m:return"twotap";case p:return"threetap";case c:return"drag";case o:return"longpress";case r:return"twodrag";case i:return"pinch"}throw new Error("Unknown gesture state: "+v)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var v=this._tracked.length,y=0,E=0,T=0,w=0,S=0;S<this._tracked.length;S++)y+=this._tracked[S].firstX,E+=this._tracked[S].firstY,T+=this._tracked[S].lastX,w+=this._tracked[S].lastY;return{first:{x:y/v,y:E/v},last:{x:T/v,y:w/v}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var v,y;v=y=0;for(var E=this._tracked.length,T=0;T<this._tracked.length;T++)v+=this._tracked[T].lastX-this._tracked[T].firstX,y+=this._tracked[T].lastY-this._tracked[T].firstY;return{x:v/E,y:y/E}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var v=this._tracked[0],y=this._tracked[this._tracked.length-1],E=Math.abs(y.firstX-v.firstX),T=Math.abs(y.firstY-v.firstY),w=Math.abs(y.lastX-v.lastX),S=Math.abs(y.lastY-v.lastY);return{first:{x:E,y:T},last:{x:w,y:S}}}}]),f}();k.default=h},LPTA:function(H,k){var d=1;typeof window!="undefined"&&(d=Math.max(window.devicePixelRatio||1,1));var _=0,x=d;k.debugMode=_,k.devicePixelRatio=x},LPzL:function(H,k,d){var _=d("ProS");d("QzjZ"),d("vL6D"),d("xiyX"),d("y4/Y"),d("8Th4"),_.extendComponentView({type:"single"})},LSTS:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _=function(){function n(t,s){for(var e=0;e<s.length;e++){var a=s[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,s,e){return s&&n(t.prototype,s),e&&n(t,e),t}}(),x=d("q1tI"),C=m(x),A=d("17x9"),b=m(A);function m(n){return n&&n.__esModule?n:{default:n}}function p(n,t){var s={};for(var e in n){if(t.indexOf(e)>=0)continue;if(!Object.prototype.hasOwnProperty.call(n,e))continue;s[e]=n[e]}return s}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function r(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var i=function(n){r(t,n);function t(s){c(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,s));return e.scrollListener=e.scrollListener.bind(e),e.eventListenerOptions=e.eventListenerOptions.bind(e),e.mousewheelListener=e.mousewheelListener.bind(e),e}return _(t,[{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 e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,a={get passive(){e=!0}};try{document.addEventListener("test",null,a),document.removeEventListener("test",null,a)}catch(l){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;this.props.useWindow===!1&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;this.props.useWindow===!1&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var a=this.props.getScrollParent&&this.props.getScrollParent();return a!=null?a:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!e)return;var a=window;this.props.useWindow===!1&&(a=e),a.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),a.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(e){e.deltaY===1&&!this.isPassiveSupported()&&e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,a=window,l=this.getParentElement(e),u=void 0;if(this.props.useWindow){var h=document.documentElement||document.body.parentNode||document.body,f=a.pageYOffset!==void 0?a.pageYOffset:h.scrollTop;this.props.isReverse?u=f:u=this.calculateOffset(e,f)}else this.props.isReverse?u=l.scrollTop:u=e.scrollHeight-l.scrollTop-l.clientHeight;u<Number(this.props.threshold)&&e&&e.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=l.scrollHeight,this.beforeScrollTop=l.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(e,a){return e?this.calculateTopPosition(e)+(e.offsetHeight-a-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,a=this.filterProps(this.props),l=a.children,u=a.element,h=a.hasMore,f=a.initialLoad,g=a.isReverse,v=a.loader,y=a.loadMore,E=a.pageStart,T=a.ref,w=a.threshold,S=a.useCapture,I=a.useWindow,L=a.getScrollParent,O=p(a,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);O.ref=function(R){e.scrollComponent=R,T&&T(R)};var N=[l];return h&&(v?g?N.unshift(v):N.push(v):this.defaultLoader&&(g?N.unshift(this.defaultLoader):N.push(this.defaultLoader))),C.default.createElement(u,O,N)}}]),t}(x.Component);i.propTypes={children:b.default.node.isRequired,element:b.default.node,hasMore:b.default.bool,initialLoad:b.default.bool,isReverse:b.default.bool,loader:b.default.node,loadMore:b.default.func.isRequired,pageStart:b.default.number,ref:b.default.func,getScrollParent:b.default.func,threshold:b.default.number,useCapture:b.default.bool,useWindow:b.default.bool},i.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},k.default=i,H.exports=k.default},Lerx:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("Mds0"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},Llu2:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="DeliveredProcedureOutlined";var p=k.a=x.forwardRef(m)},Lo0S:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.initLogging=m,k.getLogging=p,k.Error=k.Warn=k.Info=k.Debug=void 0;var _="warn",x=function(){};k.Debug=x;var C=function(){};k.Info=C;var A=function(){};k.Warn=A;var b=function(){};k.Error=b;function m(c){if(typeof c=="undefined"?c=_:_=c,k.Debug=x=k.Info=C=k.Warn=A=k.Error=b=function(){},typeof window.console!="undefined")switch(c){case"debug":k.Debug=x=console.debug.bind(window.console);case"info":k.Info=C=console.info.bind(window.console);case"warn":k.Warn=A=console.warn.bind(window.console);case"error":k.Error=b=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+c+"'")}}function p(){return _}m()},LtfV:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="InboxOutlined";var p=k.a=x.forwardRef(m)},Lyp1:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="QuestionCircleOutlined";var p=k.a=x.forwardRef(m)},LzGr:function(H,k,d){var _=d("ProS"),x=d("rnVJ");d("EMyp"),d("8x+h"),d("wt3j"),d("uOyE"),d("/stD"),_.registerPreprocessor(x)},MBQ8:function(H,k,d){var _=d("T4UG"),x=d("MwEJ"),C=_.extend({type:"series.__base_bar__",getInitialData:function(A,b){return x(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(A){var b=this.coordinateSystem;if(b){var m=b.dataToPoint(b.clampData(A)),p=this.getData(),c=p.getLayout("offset"),o=p.getLayout("size"),r=b.getBaseAxis().isHorizontal()?0:1;return m[r]+=c+o/2,m}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:{}}});H.exports=C},MEGo:function(H,k,d){var _=d("4fz+"),x=d("Dagg"),C=d("dqUG"),A=d("2fw6"),b=d("x6Kt"),m=d("rmlV"),p=d("yxFR"),c=d("y+Vt"),o=d("h7HQ"),r=d("1Jh7"),i=d("SKnc"),n=d("K2GJ"),t=d("Fofx"),s=d("NC18"),e=s.createFromString,a=d("bYtY"),l=a.isString,u=a.extend,h=a.defaults,f=a.trim,g=a.each,v=/[\s,]+/;function y(V){if(l(V)){var z=new DOMParser;V=z.parseFromString(V,"text/xml")}for(V.nodeType===9&&(V=V.firstChild);V.nodeName.toLowerCase()!=="svg"||V.nodeType!==1;)V=V.nextSibling;return V}function E(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}E.prototype.parse=function(V,z){z=z||{};var Y=y(V);if(!Y)throw new Error("Illegal svg");var J=new _;this._root=J;var ie=Y.getAttribute("viewBox")||"",Z=parseFloat(Y.getAttribute("width")||z.width),oe=parseFloat(Y.getAttribute("height")||z.height);isNaN(Z)&&(Z=null),isNaN(oe)&&(oe=null),N(Y,J,null,!0);for(var ge=Y.firstChild;ge;)this._parseNode(ge,J),ge=ge.nextSibling;var pe,De;if(ie){var ce=f(ie).split(v);ce.length>=4&&(pe={x:parseFloat(ce[0]||0),y:parseFloat(ce[1]||0),width:parseFloat(ce[2]),height:parseFloat(ce[3])})}if(pe&&Z!=null&&oe!=null&&(De=j(pe,Z,oe),!z.ignoreViewBox)){var Oe=J;J=new _,J.add(Oe),Oe.scale=De.scale.slice(),Oe.position=De.position.slice()}return!z.ignoreRootClip&&Z!=null&&oe!=null&&J.setClipPath(new b({shape:{x:0,y:0,width:Z,height:oe}})),{root:J,width:Z,height:oe,viewBoxRect:pe,viewBoxTransform:De}},E.prototype._parseNode=function(V,z){var Y=V.nodeName.toLowerCase();Y==="defs"?this._isDefine=!0:Y==="text"&&(this._isText=!0);var J;if(this._isDefine){var ie=w[Y];if(ie){var Z=ie.call(this,V),oe=V.getAttribute("id");oe&&(this._defs[oe]=Z)}}else{var ie=T[Y];ie&&(J=ie.call(this,V,z),z.add(J))}for(var ge=V.firstChild;ge;)ge.nodeType===1&&this._parseNode(ge,J),ge.nodeType===3&&this._isText&&this._parseText(ge,J),ge=ge.nextSibling;Y==="defs"?this._isDefine=!1:Y==="text"&&(this._isText=!1)},E.prototype._parseText=function(V,z){if(V.nodeType===1){var Y=V.getAttribute("dx")||0,J=V.getAttribute("dy")||0;this._textX+=parseFloat(Y),this._textY+=parseFloat(J)}var ie=new C({style:{text:V.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(z,ie),N(V,ie,this._defs);var Z=ie.style.fontSize;Z&&Z<9&&(ie.style.fontSize=9,ie.scale=ie.scale||[1,1],ie.scale[0]*=Z/9,ie.scale[1]*=Z/9);var oe=ie.getBoundingRect();return this._textX+=oe.width,z.add(ie),ie};var T={g:function(z,Y){var J=new _;return I(Y,J),N(z,J,this._defs),J},rect:function(z,Y){var J=new b;return I(Y,J),N(z,J,this._defs),J.setShape({x:parseFloat(z.getAttribute("x")||0),y:parseFloat(z.getAttribute("y")||0),width:parseFloat(z.getAttribute("width")||0),height:parseFloat(z.getAttribute("height")||0)}),J},circle:function(z,Y){var J=new A;return I(Y,J),N(z,J,this._defs),J.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),r:parseFloat(z.getAttribute("r")||0)}),J},line:function(z,Y){var J=new p;return I(Y,J),N(z,J,this._defs),J.setShape({x1:parseFloat(z.getAttribute("x1")||0),y1:parseFloat(z.getAttribute("y1")||0),x2:parseFloat(z.getAttribute("x2")||0),y2:parseFloat(z.getAttribute("y2")||0)}),J},ellipse:function(z,Y){var J=new m;return I(Y,J),N(z,J,this._defs),J.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),rx:parseFloat(z.getAttribute("rx")||0),ry:parseFloat(z.getAttribute("ry")||0)}),J},polygon:function(z,Y){var J=z.getAttribute("points");J&&(J=L(J));var ie=new o({shape:{points:J||[]}});return I(Y,ie),N(z,ie,this._defs),ie},polyline:function(z,Y){var J=new c;I(Y,J),N(z,J,this._defs);var ie=z.getAttribute("points");ie&&(ie=L(ie));var Z=new r({shape:{points:ie||[]}});return Z},image:function(z,Y){var J=new x;return I(Y,J),N(z,J,this._defs),J.setStyle({image:z.getAttribute("xlink:href"),x:z.getAttribute("x"),y:z.getAttribute("y"),width:z.getAttribute("width"),height:z.getAttribute("height")}),J},text:function(z,Y){var J=z.getAttribute("x")||0,ie=z.getAttribute("y")||0,Z=z.getAttribute("dx")||0,oe=z.getAttribute("dy")||0;this._textX=parseFloat(J)+parseFloat(Z),this._textY=parseFloat(ie)+parseFloat(oe);var ge=new _;return I(Y,ge),N(z,ge,this._defs),ge},tspan:function(z,Y){var J=z.getAttribute("x"),ie=z.getAttribute("y");J!=null&&(this._textX=parseFloat(J)),ie!=null&&(this._textY=parseFloat(ie));var Z=z.getAttribute("dx")||0,oe=z.getAttribute("dy")||0,ge=new _;return I(Y,ge),N(z,ge,this._defs),this._textX+=Z,this._textY+=oe,ge},path:function(z,Y){var J=z.getAttribute("d")||"",ie=e(J);return I(Y,ie),N(z,ie,this._defs),ie}},w={lineargradient:function(z){var Y=parseInt(z.getAttribute("x1")||0,10),J=parseInt(z.getAttribute("y1")||0,10),ie=parseInt(z.getAttribute("x2")||10,10),Z=parseInt(z.getAttribute("y2")||0,10),oe=new i(Y,J,ie,Z);return S(z,oe),oe},radialgradient:function(z){}};function S(V,z){for(var Y=V.firstChild;Y;){if(Y.nodeType===1){var J=Y.getAttribute("offset");J.indexOf("%")>0?J=parseInt(J,10)/100:J?J=parseFloat(J):J=0;var ie=Y.getAttribute("stop-color")||"#000000";z.addColorStop(J,ie)}Y=Y.nextSibling}}function I(V,z){V&&V.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),h(z.__inheritedStyle,V.__inheritedStyle))}function L(V){for(var z=f(V).split(v),Y=[],J=0;J<z.length;J+=2){var ie=parseFloat(z[J]),Z=parseFloat(z[J+1]);Y.push([ie,Z])}return Y}var O={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 N(V,z,Y,J){var ie=z.__inheritedStyle||{},Z=z.type==="text";if(V.nodeType===1&&(M(V,z),u(ie,F(V)),!J)){for(var oe in O)if(O.hasOwnProperty(oe)){var ge=V.getAttribute(oe);ge!=null&&(ie[O[oe]]=ge)}}var pe=Z?"textFill":"fill",De=Z?"textStroke":"stroke";z.style=z.style||new n;var ce=z.style;ie.fill!=null&&ce.set(pe,D(ie.fill,Y)),ie.stroke!=null&&ce.set(De,D(ie.stroke,Y)),g(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Oe){var se=Oe==="lineWidth"&&Z?"textStrokeWidth":Oe;ie[Oe]!=null&&ce.set(se,parseFloat(ie[Oe]))}),(!ie.textBaseline||ie.textBaseline==="auto")&&(ie.textBaseline="alphabetic"),ie.textBaseline==="alphabetic"&&(ie.textBaseline="bottom"),ie.textAlign==="start"&&(ie.textAlign="left"),ie.textAlign==="end"&&(ie.textAlign="right"),g(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(Oe){ie[Oe]!=null&&ce.set(Oe,ie[Oe])}),ie.lineDash&&(z.style.lineDash=f(ie.lineDash).split(v)),ce[De]&&ce[De]!=="none"&&(z[De]=!0),z.__inheritedStyle=ie}var R=/url\(\s*#(.*?)\)/;function D(V,z){var Y=z&&V&&V.match(R);if(Y){var J=f(Y[1]),ie=z[J];return ie}return V}var B=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function M(V,z){var Y=V.getAttribute("transform");if(Y){Y=Y.replace(/,/g," ");var J=null,ie=[];Y.replace(B,function(pe,De,ce){ie.push(De,ce)});for(var Z=ie.length-1;Z>0;Z-=2){var oe=ie[Z],ge=ie[Z-1];J=J||t.create();switch(ge){case"translate":oe=f(oe).split(v),t.translate(J,J,[parseFloat(oe[0]),parseFloat(oe[1]||0)]);break;case"scale":oe=f(oe).split(v),t.scale(J,J,[parseFloat(oe[0]),parseFloat(oe[1]||oe[0])]);break;case"rotate":oe=f(oe).split(v),t.rotate(J,J,parseFloat(oe[0]));break;case"skew":oe=f(oe).split(v),console.warn("Skew transform is not supported yet");break;case"matrix":var oe=f(oe).split(v);J[0]=parseFloat(oe[0]),J[1]=parseFloat(oe[1]),J[2]=parseFloat(oe[2]),J[3]=parseFloat(oe[3]),J[4]=parseFloat(oe[4]),J[5]=parseFloat(oe[5]);break}}z.setLocalTransform(J)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(V){var z=V.getAttribute("style"),Y={};if(!z)return Y;var J={};U.lastIndex=0;for(var ie;(ie=U.exec(z))!=null;)J[ie[1]]=ie[2];for(var Z in O)O.hasOwnProperty(Z)&&J[Z]!=null&&(Y[O[Z]]=J[Z]);return Y}function j(V,z,Y){var J=z/V.width,ie=Y/V.height,Z=Math.min(J,ie),oe=[Z,Z],ge=[-(V.x+V.width/2)*Z+z/2,-(V.y+V.height/2)*Z+Y/2];return{scale:oe,position:ge}}function W(V,z){var Y=new E;return Y.parse(V,z)}k.parseXML=y,k.makeViewBoxTransform=j,k.parseSVG=W},MFOe:function(H,k,d){(function(_){var x=m(),C=p(),A=c(),b=typeof window!="undefined"?window:_;H.exports={assign:x,create:C,trim:A,bind:o,slice:r,each:i,map:n,pluck:t,isList:s,isFunction:e,isObject:a,Global:b};function m(){return Object.assign?Object.assign:function(u,h,f,g){for(var v=1;v<arguments.length;v++)i(Object(arguments[v]),function(y,E){u[E]=y});return u}}function p(){if(Object.create)return function(h,f,g,v){var y=r(arguments,1);return x.apply(this,[Object.create(h)].concat(y))};var l=function(){};return function(h,f,g,v){var y=r(arguments,1);return l.prototype=h,x.apply(this,[new l].concat(y))}}function c(){return String.prototype.trim?function(u){return String.prototype.trim.call(u)}:function(u){return u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function o(l,u){return function(){return u.apply(l,Array.prototype.slice.call(arguments,0))}}function r(l,u){return Array.prototype.slice.call(l,u||0)}function i(l,u){t(l,function(h,f){return u(h,f),!1})}function n(l,u){var h=s(l)?[]:{};return t(l,function(f,g){return h[g]=u(f,g),!1}),h}function t(l,u){if(s(l)){for(var h=0;h<l.length;h++)if(u(l[h],h))return l[h]}else for(var f in l)if(l.hasOwnProperty(f)&&u(l[f],f))return l[f]}function s(l){return l!=null&&typeof l!="function"&&typeof l.length=="number"}function e(l){return l&&{}.toString.call(l)==="[object Function]"}function a(l){return l&&{}.toString.call(l)==="[object Object]"}}).call(this,d("yLpj"))},MH26:function(H,k,d){var _=d("bYtY"),x=d("YXkt"),C=d("OELB"),A=d("kj2x"),b=d("c8qY"),m=d("iPDy"),p=d("7hqr"),c=p.getStackedDimension,o=function(a,l,u,h){var f=a.getData(),g=h.type;if(!_.isArray(h)&&(g==="min"||g==="max"||g==="average"||g==="median"||h.xAxis!=null||h.yAxis!=null)){var v,y;if(h.yAxis!=null||h.xAxis!=null)v=l.getAxis(h.yAxis!=null?"y":"x"),y=_.retrieve(h.yAxis,h.xAxis);else{var E=A.getAxisInfo(h,f,l,a);v=E.valueAxis;var T=c(f,E.valueDataDim);y=A.numCalculate(f,T,g)}var w=v.dim==="x"?0:1,S=1-w,I=_.clone(h),L={};I.type=null,I.coord=[],L.coord=[],I.coord[S]=-Infinity,L.coord[S]=Infinity;var O=u.get("precision");O>=0&&typeof y=="number"&&(y=+y.toFixed(Math.min(O,20))),I.coord[w]=L.coord[w]=y,h=[I,L,{type:g,valueIndex:h.valueIndex,value:y}]}return h=[A.dataTransform(a,h[0]),A.dataTransform(a,h[1]),_.extend({},h[2])],h[2].type=h[2].type||"",_.merge(h[2],h[0]),_.merge(h[2],h[1]),h};function r(a){return!isNaN(a)&&!isFinite(a)}function i(a,l,u,h){var f=1-a,g=h.dimensions[a];return r(l[f])&&r(u[f])&&l[a]===u[a]&&h.getAxis(g).containData(l[a])}function n(a,l){if(a.type==="cartesian2d"){var u=l[0].coord,h=l[1].coord;if(u&&h&&(i(1,u,h,a)||i(0,u,h,a)))return!0}return A.dataFilter(a,l[0])&&A.dataFilter(a,l[1])}function t(a,l,u,h,f){var g=h.coordinateSystem,v=a.getItemModel(l),y,E=C.parsePercent(v.get("x"),f.getWidth()),T=C.parsePercent(v.get("y"),f.getHeight());if(!isNaN(E)&&!isNaN(T))y=[E,T];else{if(h.getMarkerPosition)y=h.getMarkerPosition(a.getValues(a.dimensions,l));else{var w=g.dimensions,S=a.get(w[0],l),I=a.get(w[1],l);y=g.dataToPoint([S,I])}if(g.type==="cartesian2d"){var L=g.getAxis("x"),O=g.getAxis("y"),w=g.dimensions;r(a.get(w[0],l))?y[0]=L.toGlobalCoord(L.getExtent()[u?0:1]):r(a.get(w[1],l))&&(y[1]=O.toGlobalCoord(O.getExtent()[u?0:1]))}isNaN(E)||(y[0]=E),isNaN(T)||(y[1]=T)}a.setItemLayout(l,y)}var s=m.extend({type:"markLine",updateTransform:function(a,l,u){l.eachSeries(function(h){var f=h.markLineModel;if(f){var g=f.getData(),v=f.__from,y=f.__to;v.each(function(E){t(v,E,!0,h,u),t(y,E,!1,h,u)}),g.each(function(E){g.setItemLayout(E,[v.getItemLayout(E),y.getItemLayout(E)])}),this.markerGroupMap.get(h.id).updateLayout()}},this)},renderSeries:function(a,l,u,h){var f=a.coordinateSystem,g=a.id,v=a.getData(),y=this.markerGroupMap,E=y.get(g)||y.set(g,new b);this.group.add(E.group);var T=e(f,a,l),w=T.from,S=T.to,I=T.line;l.__from=w,l.__to=S,l.setData(I);var L=l.get("symbol"),O=l.get("symbolSize");_.isArray(L)||(L=[L,L]),typeof O=="number"&&(O=[O,O]),T.from.each(function(R){N(w,R,!0),N(S,R,!1)}),I.each(function(R){var D=I.getItemModel(R).get("lineStyle.color");I.setItemVisual(R,{color:D||w.getItemVisual(R,"color")}),I.setItemLayout(R,[w.getItemLayout(R),S.getItemLayout(R)]),I.setItemVisual(R,{fromSymbolSize:w.getItemVisual(R,"symbolSize"),fromSymbol:w.getItemVisual(R,"symbol"),toSymbolSize:S.getItemVisual(R,"symbolSize"),toSymbol:S.getItemVisual(R,"symbol")})}),E.updateData(I),T.line.eachItemGraphicEl(function(R,D){R.traverse(function(B){B.dataModel=l})});function N(R,D,B){var M=R.getItemModel(D);t(R,D,B,a,h),R.setItemVisual(D,{symbolSize:M.get("symbolSize")||O[B?0:1],symbol:M.get("symbol",!0)||L[B?0:1],color:M.get("itemStyle.color")||v.getVisual("color")})}E.__keep=!0,E.group.silent=l.get("silent")||a.get("silent")}});function e(a,l,u){var h;a?h=_.map(a&&a.dimensions,function(T){var w=l.getData().getDimensionInfo(l.getData().mapDimension(T))||{};return _.defaults({name:T},w)}):h=[{name:"value",type:"float"}];var f=new x(h,u),g=new x(h,u),v=new x([],u),y=_.map(u.get("data"),_.curry(o,l,a,u));a&&(y=_.filter(y,_.curry(n,a)));var E=a?A.dimValueGetter:function(T){return T.value};return f.initData(_.map(y,function(T){return T[0]}),null,E),g.initData(_.map(y,function(T){return T[1]}),null,E),v.initData(_.map(y,function(T){return T[2]})),v.hasItemOption=!0,{from:f,to:g,line:v}}H.exports=s},MHoB:function(H,k,d){var _=d("bYtY"),x=d("6uqw"),C=d("OELB"),A=[20,140],b=x.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){b.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){b.superApply(this,"resetItemSize",arguments);var c=this.itemSize;this._orient==="horizontal"&&c.reverse(),(c[0]==null||isNaN(c[0]))&&(c[0]=A[0]),(c[1]==null||isNaN(c[1]))&&(c[1]=A[1])},_resetRange:function(){var c=this.getExtent(),o=this.option.range;!o||o.auto?(c.auto=1,this.option.range=c):_.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(){x.prototype.completeVisualOption.apply(this,arguments),_.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=C.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,r=this.getExtent();return(o[0]<=r[0]||o[0]<=c)&&(o[1]>=r[1]||c<=o[1])?"inRange":"outOfRange"},findTargetDataIndices:function(c){var o=[];return this.eachTargetSeries(function(r){var i=[],n=r.getData();n.each(this.getDataDimension(n),function(t,s){c[0]<=t&&t<=c[1]&&i.push(s)},this),o.push({seriesId:r.id,dataIndex:i})},this),o},getVisualMeta:function(c){var o=m(this,"outOfRange",this.getExtent()),r=m(this,"inRange",this.option.range.slice()),i=[];function n(h,f){i.push({value:h,color:c(h,f)})}for(var t=0,s=0,e=r.length,a=o.length;s<a&&(!r.length||o[s]<=r[0]);s++)o[s]<r[t]&&n(o[s],"outOfRange");for(var l=1;t<e;t++,l=0)l&&i.length&&n(r[t],"outOfRange"),n(r[t],"inRange");for(var l=1;s<a;s++)(!r.length||r[r.length-1]<o[s])&&(l&&(i.length&&n(i[i.length-1].value,"outOfRange"),l=0),n(o[s],"outOfRange"));var u=i.length;return{stops:i,outerColors:[u?i[0].color:"transparent",u?i[u-1].color:"transparent"]}}});function m(c,o,r){if(r[0]===r[1])return r.slice();for(var i=200,n=(r[1]-r[0])/i,t=r[0],s=[],e=0;e<=i&&t<r[1];e++)s.push(t),t+=n;return s.push(r[1]),s}var p=b;H.exports=p},MHtr:function(H,k,d){var _=d("bYtY");function x(A,b){var m=this.getAxis(),p=b instanceof Array?b[0]:b,c=(A instanceof Array?A[0]:A)/2;return m.type==="category"?m.getBandWidth():Math.abs(m.dataToCoord(p-c)-m.dataToCoord(p+c))}function C(A){var b=A.getRect();return{coordSys:{type:"singleAxis",x:b.x,y:b.y,width:b.width,height:b.height},api:{coord:function(m){return A.dataToPoint(m)},size:_.bind(x,A)}}}H.exports=C},MJZm:function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("q1tI"),m=d("fAei"),p=d("TSYQ"),c=d.n(p),o=d("RIqP"),r=d.n(o),i=d("J4zp"),n=d.n(i),t=d("sEfC"),s=d.n(t),e=d("OZM5"),a=d("815F"),l=d("vk+C"),u=d.n(l),h=d("Vy0f"),f=d.n(h),g=d("kGiB"),v=d.n(g),y=d("H84U"),E;(function(W){W[W.None=0]="None",W[W.Start=1]="Start",W[W.End=2]="End"})(E||(E={}));function T(W,V){function z(Y){var J=Y.key,ie=Y.children;V(J,Y)!==!1&&T(ie||[],V)}W.forEach(z)}function w(W){var V=W.treeData,z=W.expandedKeys,Y=W.startKey,J=W.endKey,ie=[],Z=E.None;if(Y&&Y===J)return[Y];if(!Y||!J)return[];function oe(ge){return ge===Y||ge===J}return T(V,function(ge){if(Z===E.End)return!1;if(oe(ge)){if(ie.push(ge),Z===E.None)Z=E.Start;else if(Z===E.Start)return Z=E.End,!1}else Z===E.Start&&ie.push(ge);return!(z.indexOf(ge)===-1)}),ie}function S(W,V){var z=r()(V),Y=[];return T(W,function(J,ie){var Z=z.indexOf(J);return Z!==-1&&(Y.push(ie),z.splice(Z,1)),!!z.length}),Y}var I=function(W,V){var z={};for(var Y in W)Object.prototype.hasOwnProperty.call(W,Y)&&V.indexOf(Y)<0&&(z[Y]=W[Y]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,Y=Object.getOwnPropertySymbols(W);J<Y.length;J++)V.indexOf(Y[J])<0&&Object.prototype.propertyIsEnumerable.call(W,Y[J])&&(z[Y[J]]=W[Y[J]]);return z};function L(W){var V=W.isLeaf,z=W.expanded;return V?b.createElement(u.a,null):z?b.createElement(f.a,null):b.createElement(v.a,null)}function O(W){var V=W.treeData,z=W.children;return V||Object(a.c)(z)}var N=function(V,z){var Y=V.defaultExpandAll,J=V.defaultExpandParent,ie=V.defaultExpandedKeys,Z=I(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),oe=b.useRef(),ge=b.useRef(),pe=b.createRef();b.useImperativeHandle(z,function(){return pe.current});var De=function(){var wt=Object(a.a)(O(Z)),Et=wt.keyEntities,_t;return Y?_t=Object.keys(Et):J?_t=Object(e.e)(Z.expandedKeys||ie,Et):_t=Z.expandedKeys||ie,_t},ce=b.useState(Z.selectedKeys||Z.defaultSelectedKeys||[]),Oe=n()(ce,2),se=Oe[0],$=Oe[1],ze=b.useState(De()),re=n()(ze,2),X=re[0],G=re[1];b.useEffect(function(){"selectedKeys"in Z&&$(Z.selectedKeys)},[Z.selectedKeys]),b.useEffect(function(){"expandedKeys"in Z&&G(Z.expandedKeys)},[Z.expandedKeys]);var Q=function(wt,Et){var _t=Et.isLeaf;if(_t||wt.shiftKey||wt.metaKey||wt.ctrlKey)return;pe.current.onNodeExpand(wt,Et)},ve=s()(Q,200,{leading:!0}),de=function(wt,Et){return"expandedKeys"in Z||G(wt),Z.onExpand?Z.onExpand(wt,Et):void 0},Ce=function(wt,Et){var _t=Z.expandAction;_t==="click"&&ve(wt,Et),Z.onClick&&Z.onClick(wt,Et)},we=function(wt,Et){var _t=Z.expandAction;_t==="doubleClick"&&ve(wt,Et),Z.onDoubleClick&&Z.onDoubleClick(wt,Et)},le=function(wt,Et){var _t=Z.multiple,Ht=Et.node,Ze=Et.nativeEvent,ye=Ht.key,ae=ye===void 0?"":ye,yt=O(Z),et=A()(A()({},Et),{selected:!0}),me=Ze.ctrlKey||Ze.metaKey,Gt=Ze.shiftKey,rr;_t&&me?(rr=wt,oe.current=ae,ge.current=rr,et.selectedNodes=S(yt,rr)):_t&&Gt?(rr=Array.from(new Set([].concat(r()(ge.current||[]),r()(w({treeData:yt,expandedKeys:X,startKey:ae,endKey:oe.current}))))),et.selectedNodes=S(yt,rr)):(rr=[ae],oe.current=ae,ge.current=rr,et.selectedNodes=S(yt,rr)),Z.onSelect&&Z.onSelect(rr,et),"selectedKeys"in Z||$(rr)},fe=b.useContext(y.b),xe=fe.getPrefixCls,We=fe.direction,nt=Z.prefixCls,$e=Z.className,Le=I(Z,["prefixCls","className"]),pt=xe("tree",nt),Qe=c()("".concat(pt,"-directory"),$e,x()({},"".concat(pt,"-directory-rtl"),We==="rtl"));return b.createElement(F,A()({icon:L,ref:pe,blockNode:!0},Le,{prefixCls:pt,className:Qe,expandedKeys:X,selectedKeys:se,onSelect:le,onClick:Ce,onDoubleClick:we,onExpand:de}))},R=b.forwardRef(N);R.displayName="DirectoryTree",R.defaultProps={showIcon:!0,expandAction:"click"};var D=R,B=d("EXcs"),M=d("2jpz"),U=b.forwardRef(function(W,V){var z,Y=b.useContext(y.b),J=Y.getPrefixCls,ie=Y.direction,Z=Y.virtual,oe=W.prefixCls,ge=W.className,pe=W.showIcon,De=W.showLine,ce=W.switcherIcon,Oe=W.blockNode,se=W.children,$=W.checkable,ze=A()(A()({},W),{showLine:Boolean(De)}),re=J("tree",oe);return b.createElement(m.b,A()({itemHeight:20,ref:V,virtual:Z},ze,{prefixCls:re,className:c()(ge,(z={},x()(z,"".concat(re,"-icon-hide"),!pe),x()(z,"".concat(re,"-block-node"),Oe),x()(z,"".concat(re,"-rtl"),ie==="rtl"),z)),checkable:$&&b.createElement("span",{className:"".concat(re,"-checkbox-inner")}),switcherIcon:function(G){return Object(M.a)(re,ce,De,G)}}),se)});U.TreeNode=m.a,U.DirectoryTree=D,U.defaultProps={checkable:!1,showIcon:!1,motion:A()(A()({},B.a),{motionAppear:!1}),blockNode:!1};var F=U,j=k.a=F},MKOG:function(H,k,d){var _=d("bYtY"),x=d("YH21"),C=x.Dispatcher,A=d("mLcG"),b=d("Bq2U"),m=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,C.call(this)};m.prototype={constructor:m,addClip:function(o){this._clips.push(o)},addAnimator:function(o){o.animation=this;for(var r=o.getClips(),i=0;i<r.length;i++)this.addClip(r[i])},removeClip:function(o){var r=_.indexOf(this._clips,o);r>=0&&this._clips.splice(r,1)},removeAnimator:function(o){for(var r=o.getClips(),i=0;i<r.length;i++)this.removeClip(r[i]);o.animation=null},_update:function(){for(var o=new Date().getTime()-this._pausedTime,r=o-this._time,i=this._clips,n=i.length,t=[],s=[],e=0;e<n;e++){var a=i[e],l=a.step(o,r);l&&(t.push(l),s.push(a))}for(var e=0;e<n;)i[e]._needsRemove?(i[e]=i[n-1],i.pop(),n--):e++;n=t.length;for(var e=0;e<n;e++)s[e].fire(t[e]);this._time=o,this.onframe(r),this.trigger("frame",r),this.stage.update&&this.stage.update()},_startLoop:function(){var o=this;this._running=!0;function r(){o._running&&(A(r),!o._paused&&o._update())}A(r)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(o,r){r=r||{};var i=new b(o,r.loop,r.getter,r.setter);return this.addAnimator(i),i}},_.mixin(m,C);var p=m;H.exports=p},MRoa:function(H,k,d){var _=d("ProS");d("0Bwj"),d("W2nI"),d("vcCh");var x=d("gawk"),C=d("Dg8C");_.registerLayout(x),_.registerVisual(C)},MT78:function(H,k,d){var _=d("ProS");(function(){for(var C in _){if(_==null||!_.hasOwnProperty(C)||C==="default"||C==="__esModule")return;k[C]=_[C]}})();var x=d("txkQ");(function(){for(var C in x){if(x==null||!x.hasOwnProperty(C)||C==="default"||C==="__esModule")return;k[C]=x[C]}})(),d("A1Ka"),d("75ce"),d("lLGD"),d("wDdD"),d("Fa/5"),d("jett"),d("Z1wy"),d("75ev"),d("2uGb"),d("I+77"),d("B+YJ"),d("pLH3"),d("CBdT"),d("MRoa"),d("+lIL"),d("CF2D"),d("ERHi"),d("p+If"),d("XOKv"),d("qt/9"),d("bBL8"),d("1xaR"),d("4Feb"),d("zRKj"),d("L3Oj"),d("0HBW"),d("LPzL"),d("8waO"),d("k5C7"),d("f1nB"),d("sRwP"),d("AH3D"),d("y4/Y"),d("LzGr"),d("Ynxi"),d("7pVf"),d("2w7y"),d("laiN"),d("fjKi"),d("C0tN"),d("0o9m"),d("Cm0C"),d("f3JH"),d("5NHt"),d("VFCP"),d("dBmv"),d("KamJ"),d("8XDt"),d("juDX")},MXD1:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("Kvyg"),A=d.n(C)},MZdM:function(H,k,d){"use strict";function _(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(e){return typeof e}:_=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(t)}Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var x=c(d("Lo0S")),C=m(d("N/zr")),A=d("GdRQ"),b=d("GQ8N");function m(t){return t&&t.__esModule?t:{default:t}}function p(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return p=function(){return t},t}function c(t){if(t&&t.__esModule)return t;if(t===null||_(t)!=="object"&&typeof t!="function")return{default:t};var s=p();if(s&&s.has(t))return s.get(t);var e={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l)){var u=a?Object.getOwnPropertyDescriptor(t,l):null;u&&(u.get||u.set)?Object.defineProperty(e,l,u):e[l]=t[l]}return e.default=t,s&&s.set(t,e),e}function o(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function r(t,s){for(var e=0;e<s.length;e++){var a=s[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function i(t,s,e){return s&&r(t.prototype,s),e&&r(t,e),t}var n=function(){function t(s){if(o(this,t),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,x.Debug(">> Display.constructor"),this._target=s,!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},x.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),x.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return i(t,[{key:"viewportChangePos",value:function(e,a){var l=this._viewportLoc;e=Math.floor(e),a=Math.floor(a),this._clipViewport||(e=-l.w,a=-l.h);var u=l.x+l.w-1,h=l.y+l.h-1;if(e<0&&l.x+e<0&&(e=-l.x),u+e>=this._fbWidth&&(e-=u+e-this._fbWidth+1),l.y+a<0&&(a=-l.y),h+a>=this._fbHeight&&(a-=h+a-this._fbHeight+1),e===0&&a===0)return;x.Debug("viewportChange deltaX: "+e+", deltaY: "+a),l.x+=e,l.y+=a,this._damage(l.x,l.y,l.w,l.h),this.flip()}},{key:"viewportChangeSize",value:function(e,a){(!this._clipViewport||typeof e=="undefined"||typeof a=="undefined")&&(x.Debug("Setting viewport to full display region"),e=this._fbWidth,a=this._fbHeight),e=Math.floor(e),a=Math.floor(a),e>this._fbWidth&&(e=this._fbWidth),a>this._fbHeight&&(a=this._fbHeight);var l=this._viewportLoc;if(l.w!==e||l.h!==a){l.w=e,l.h=a;var u=this._target;u.width=e,u.height=a,this.viewportChangePos(0,0),this._damage(l.x,l.y,l.w,l.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(e){return this._scale===0?0:(0,b.toSigned32bit)(e/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(e){return this._scale===0?0:(0,b.toSigned32bit)(e/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(e,a){this._prevDrawStyle="",this._fbWidth=e,this._fbHeight=a;var l=this._backbuffer;if(l.width!==e||l.height!==a){var u=null;l.width>0&&l.height>0&&(u=this._drawCtx.getImageData(0,0,l.width,l.height)),l.width!==e&&(l.width=e),l.height!==a&&(l.height=a),u&&this._drawCtx.putImageData(u,0,0)}var h=this._viewportLoc;this.viewportChangeSize(h.w,h.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(e,a,l,u){e<this._damageBounds.left&&(this._damageBounds.left=e),a<this._damageBounds.top&&(this._damageBounds.top=a),e+l>this._damageBounds.right&&(this._damageBounds.right=e+l),a+u>this._damageBounds.bottom&&(this._damageBounds.bottom=a+u)}},{key:"flip",value:function(e){if(this._renderQ.length!==0&&!e)this._renderQPush({type:"flip"});else{var a=this._damageBounds.left,l=this._damageBounds.top,u=this._damageBounds.right-a,h=this._damageBounds.bottom-l,f=a-this._viewportLoc.x,g=l-this._viewportLoc.y;f<0&&(u+=f,a-=f,f=0),g<0&&(h+=g,l-=g,g=0),f+u>this._viewportLoc.w&&(u=this._viewportLoc.w-f),g+h>this._viewportLoc.h&&(h=this._viewportLoc.h-g),u>0&&h>0&&this._targetCtx.drawImage(this._backbuffer,a,l,u,h,f,g,u,h),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(e,a,l,u,h,f){this._renderQ.length!==0&&!f?this._renderQPush({type:"fill",x:e,y:a,width:l,height:u,color:h}):(this._setFillColor(h),this._drawCtx.fillRect(e,a,l,u),this._damage(e,a,l,u))}},{key:"copyImage",value:function(e,a,l,u,h,f,g){this._renderQ.length!==0&&!g?this._renderQPush({type:"copy",oldX:e,oldY:a,x:l,y:u,width:h,height:f}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,e,a,h,f,l,u,h,f),this._damage(l,u,h,f))}},{key:"imageRect",value:function(e,a,l,u,h,f){if(l===0||u===0)return;var g=new Image;g.src="data: "+h+";base64,"+C.default.encode(f),this._renderQPush({type:"img",img:g,x:e,y:a,width:l,height:u})}},{key:"startTile",value:function(e,a,l,u,h){this._tileX=e,this._tileY=a,l===16&&u===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(l,u);for(var f=h[2],g=h[1],v=h[0],y=this._tile.data,E=0;E<l*u*4;E+=4)y[E]=f,y[E+1]=g,y[E+2]=v,y[E+3]=255}},{key:"subTile",value:function(e,a,l,u,h){for(var f=h[2],g=h[1],v=h[0],y=e+l,E=a+u,T=this._tile.data,w=this._tile.width,S=a;S<E;S++)for(var I=e;I<y;I++){var L=(I+S*w)*4;T[L]=f,T[L+1]=g,T[L+2]=v,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(e,a,l,u,h,f,g){if(this._renderQ.length!==0&&!g){var v=new Uint8Array(l*u*4);v.set(new Uint8Array(h.buffer,0,v.length)),this._renderQPush({type:"blit",data:v,x:e,y:a,width:l,height:u})}else this._bgrxImageData(e,a,l,u,h,f)}},{key:"blitRgbImage",value:function(e,a,l,u,h,f,g){if(this._renderQ.length!==0&&!g){var v=new Uint8Array(l*u*3);v.set(new Uint8Array(h.buffer,0,v.length)),this._renderQPush({type:"blitRgb",data:v,x:e,y:a,width:l,height:u})}else this._rgbImageData(e,a,l,u,h,f)}},{key:"blitRgbxImage",value:function(e,a,l,u,h,f,g){if(this._renderQ.length!==0&&!g){var v=new Uint8Array(l*u*4);v.set(new Uint8Array(h.buffer,0,v.length)),this._renderQPush({type:"blitRgbx",data:v,x:e,y:a,width:l,height:u})}else this._rgbxImageData(e,a,l,u,h,f)}},{key:"drawImage",value:function(e,a,l){this._drawCtx.drawImage(e,a,l),this._damage(a,l,e.width,e.height)}},{key:"autoscale",value:function(e,a){var l;if(e===0||a===0)l=0;else{var u=this._viewportLoc,h=e/a,f=u.w/u.h;f>=h?l=e/u.w:l=a/u.h}this._rescale(l)}},{key:"_rescale",value:function(e){this._scale=e;var a=this._viewportLoc,l=e*a.w+"px",u=e*a.h+"px";(this._target.style.width!==l||this._target.style.height!==u)&&(this._target.style.width=l,this._target.style.height=u)}},{key:"_setFillColor",value:function(e){var a="rgb("+e[2]+","+e[1]+","+e[0]+")";a!==this._prevDrawStyle&&(this._drawCtx.fillStyle=a,this._prevDrawStyle=a)}},{key:"_rgbImageData",value:function(e,a,l,u,h,f){for(var g=this._drawCtx.createImageData(l,u),v=g.data,y=0,E=f;y<l*u*4;y+=4,E+=3)v[y]=h[E],v[y+1]=h[E+1],v[y+2]=h[E+2],v[y+3]=255;this._drawCtx.putImageData(g,e,a),this._damage(e,a,g.width,g.height)}},{key:"_bgrxImageData",value:function(e,a,l,u,h,f){for(var g=this._drawCtx.createImageData(l,u),v=g.data,y=0,E=f;y<l*u*4;y+=4,E+=4)v[y]=h[E+2],v[y+1]=h[E+1],v[y+2]=h[E],v[y+3]=255;this._drawCtx.putImageData(g,e,a),this._damage(e,a,g.width,g.height)}},{key:"_rgbxImageData",value:function(e,a,l,u,h,f){var g;A.supportsImageMetadata?g=new ImageData(new Uint8ClampedArray(h.buffer,h.byteOffset,l*u*4),l,u):(g=this._drawCtx.createImageData(l,u),g.data.set(new Uint8ClampedArray(h.buffer,h.byteOffset,l*u*4))),this._drawCtx.putImageData(g,e,a),this._damage(e,a,g.width,g.height)}},{key:"_renderQPush",value:function(e){this._renderQ.push(e),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 e=!0;e&&this._renderQ.length>0;){var a=this._renderQ[0];switch(a.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(a.oldX,a.oldY,a.x,a.y,a.width,a.height,!0);break;case"fill":this.fillRect(a.x,a.y,a.width,a.height,a.color,!0);break;case"blit":this.blitImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgb":this.blitRgbImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"img":if(a.img.complete&&a.img.width!==0&&a.img.height!==0){if(a.img.width!==a.width||a.img.height!==a.height){x.Error("Decoded image has incorrect dimensions. Got "+a.img.width+"x"+a.img.height+". Expected "+a.width+"x"+a.height+".");return}this.drawImage(a.img,a.x,a.y)}else a.img._noVNCDisplay=this,a.img.addEventListener("load",this._resumeRenderQ),e=!1;break}e&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(e){this._rescale(e)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(e){this._clipViewport=e;var a=this._viewportLoc;this.viewportChangeSize(a.w,a.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),t}();k.default=n},Mdki:function(H,k,d){var _=d("bYtY"),x=_.each,C="\0__link_datas",A="\0__link_mainData";function b(s){var e=s.mainData,a=s.datas;a||(a={main:e},s.datasAttr={main:"data"}),s.datas=s.mainData=null,i(e,a,s),x(a,function(l){x(e.TRANSFERABLE_METHODS,function(u){l.wrapMethod(u,_.curry(m,s))})}),e.wrapMethod("cloneShallow",_.curry(c,s)),x(e.CHANGABLE_METHODS,function(l){e.wrapMethod(l,_.curry(p,s))}),_.assert(a[e.dataType]===e)}function m(s,e){if(r(this)){var a=_.extend({},this[C]);a[this.dataType]=e,i(e,a,s)}else n(e,this.dataType,this[A],s);return e}function p(s,e){return s.struct&&s.struct.update(this),e}function c(s,e){return x(e[C],function(a,l){a!==e&&n(a.cloneShallow(),l,e,s)}),e}function o(s){var e=this[A];return s==null||e==null?e:e[C][s]}function r(s){return s[A]===s}function i(s,e,a){s[C]={},x(e,function(l,u){n(l,u,s,a)})}function n(s,e,a,l){a[C][e]=s,s[A]=a,s.dataType=e,l.struct&&(s[l.structAttr]=l.struct,l.struct[l.datasAttr[e]]=s),s.getLinkedData=o}var t=b;H.exports=t},Mds0:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("8IMR")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="StarFilled";var c=A.forwardRef(p);k.default=c},Mgri:function(H,k,d){for(var _=d("bYtY"),x=d("8nly"),C=[126,25],A=[[[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]]],b=0;b<A.length;b++)for(var m=0;m<A[b].length;m++)A[b][m][0]/=10.5,A[b][m][1]/=-10.5/.75,A[b][m][0]+=C[0],A[b][m][1]+=C[1];function p(c,o){c==="china"&&o.push(new x("\u5357\u6D77\u8BF8\u5C9B",_.map(A,function(r){return{type:"polygon",exterior:r}}),C))}H.exports=p},MlIO:function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){return function(x){var C=_,A=C.lib,b=A.Base,m=A.WordArray,p=C.x64={},c=p.Word=b.extend({init:function(i,n){this.high=i,this.low=n}}),o=p.WordArray=b.extend({init:function(i,n){i=this.words=i||[],n!=x?this.sigBytes=n:this.sigBytes=i.length*8},toX32:function(){for(var i=this.words,n=i.length,t=[],s=0;s<n;s++){var e=i[s];t.push(e.high),t.push(e.low)}return m.create(t,this.sigBytes)},clone:function(){for(var i=b.clone.call(this),n=i.words=this.words.slice(0),t=n.length,s=0;s<t;s++)n[s]=n[s].clone();return i}})}(),_})},Mmt2:function(H,k,d){"use strict";function _(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(t){return typeof t}:_=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(i)}Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var x=A(d("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return C=function(){return i},i}function A(i){if(i&&i.__esModule)return i;if(i===null||_(i)!=="object"&&typeof i!="function")return{default:i};var n=C();if(n&&n.has(i))return n.get(i);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e)){var a=s?Object.getOwnPropertyDescriptor(i,e):null;a&&(a.get||a.set)?Object.defineProperty(t,e,a):t[e]=i[e]}return t.default=i,n&&n.set(i,t),t}function b(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function m(i,n){for(var t=0;t<n.length;t++){var s=n[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}function p(i,n,t){return n&&m(i.prototype,n),t&&m(i,t),i}var c=!1,o=40*1024*1024,r=function(){function i(){b(this,i),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 p(i,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(t){this._rQi+=t}},{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(t){for(var s=0,e=t-1;e>=0;e--)s+=this._rQ[this._rQi++]<<e*8;return s}},{key:"rQshiftStr",value:function(t){typeof t=="undefined"&&(t=this.rQlen);for(var s="",e=0;e<t;e+=4096){var a=this.rQshiftBytes(Math.min(4096,t-e));s+=String.fromCharCode.apply(null,a)}return s}},{key:"rQshiftBytes",value:function(t){return typeof t=="undefined"&&(t=this.rQlen),this._rQi+=t,new Uint8Array(this._rQ.buffer,this._rQi-t,t)}},{key:"rQshiftTo",value:function(t,s){s===void 0&&(s=this.rQlen),t.set(new Uint8Array(this._rQ.buffer,this._rQi,s)),this._rQi+=s}},{key:"rQslice",value:function(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+t,s-t)}},{key:"rQwait",value:function(t,s,e){if(this.rQlen<s){if(e){if(this._rQi<e)throw new Error("rQwait cannot backup "+e+" bytes");this._rQi-=e}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(t){this._sQ.set(t,this._sQlen),this._sQlen+=t.length,this.flush()}},{key:"sendString",value:function(t){this.send(t.split("").map(function(s){return s.charCodeAt(0)}))}},{key:"off",value:function(t){this._eventHandlers[t]=function(){}}},{key:"on",value:function(t,s){this._eventHandlers[t]=s}},{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(t,s){var e=this;this.init(),this._websocket=new WebSocket(t,s),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){x.Debug(">> WebSock.onopen"),e._websocket.protocol&&x.Info("Server choose sub-protocol: "+e._websocket.protocol),e._eventHandlers.open(),x.Debug("<< WebSock.onopen")},this._websocket.onclose=function(a){x.Debug(">> WebSock.onclose"),e._eventHandlers.close(a),x.Debug("<< WebSock.onclose")},this._websocket.onerror=function(a){x.Debug(">> WebSock.onerror: "+a),e._eventHandlers.error(a),x.Debug("<< WebSock.onerror: "+a)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(x.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(t){var s=(this._rQlen-this._rQi+t)*8,e=this._rQbufferSize<s;if(e&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,s)),this._rQbufferSize>o&&(this._rQbufferSize=o,this._rQbufferSize-this.rQlen<t))throw new Error("Receive Queue buffer exceeded "+o+" bytes, and the new message could not fit");if(e){var a=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(a,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(t){var s=new Uint8Array(t);s.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(s.length),this._rQ.set(s,this._rQlen),this._rQlen+=s.length}},{key:"_recvMessage",value:function(t){this._DecodeMessage(t.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):x.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(t){this._rQi=t}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),i}();k.default=r},MqEG:function(H,k,d){var _=d("bYtY"),x=d("fc+c"),C=d("72pK"),A=d("VXYp"),b=_.bind,m=x.extend({type:"dataZoom.inside",init:function(i,n){this._range},render:function(i,n,t,s){m.superApply(this,"render",arguments),this._range=i.getPercentRange(),_.each(this.getTargetCoordInfo(),function(e,a){var l=_.map(e,function(u){return A.generateCoordId(u.model)});_.each(e,function(u){var h=u.model,f={};_.each(["pan","zoom","scrollMove"],function(g){f[g]=b(p[g],this,u,a)},this),A.register(t,{coordId:A.generateCoordId(h),allCoordIds:l,containsPoint:function(g,v,y){return h.coordinateSystem.containPoint([v,y])},dataZoomId:i.id,dataZoomModel:i,getRange:f})},this)},this)},dispose:function(){A.unregister(this.api,this.dataZoomModel.id),m.superApply(this,"dispose",arguments),this._range=null}}),p={zoom:function(i,n,t,s){var e=this._range,a=e.slice(),l=i.axisModels[0];if(!l)return;var u=o[n](null,[s.originX,s.originY],l,t,i),h=(u.signal>0?u.pixelStart+u.pixelLength-u.pixel:u.pixel-u.pixelStart)/u.pixelLength*(a[1]-a[0])+a[0],f=Math.max(1/s.scale,0);a[0]=(a[0]-h)*f+h,a[1]=(a[1]-h)*f+h;var g=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(C(0,a,[0,100],0,g.minSpan,g.maxSpan),this._range=a,e[0]!==a[0]||e[1]!==a[1])return a},pan:c(function(i,n,t,s,e,a){var l=o[s]([a.oldX,a.oldY],[a.newX,a.newY],n,e,t);return l.signal*(i[1]-i[0])*l.pixel/l.pixelLength}),scrollMove:c(function(i,n,t,s,e,a){var l=o[s]([0,0],[a.scrollDelta,a.scrollDelta],n,e,t);return l.signal*(i[1]-i[0])*a.scrollDelta})};function c(i){return function(n,t,s,e){var a=this._range,l=a.slice(),u=n.axisModels[0];if(!u)return;var h=i(l,u,n,t,s,e);if(C(h,l,[0,100],"all"),this._range=l,a[0]!==l[0]||a[1]!==l[1])return l}}var o={grid:function(i,n,t,s,e){var a=t.axis,l={},u=e.model.coordinateSystem.getRect();return i=i||[0,0],a.dim==="x"?(l.pixel=n[0]-i[0],l.pixelLength=u.width,l.pixelStart=u.x,l.signal=a.inverse?1:-1):(l.pixel=n[1]-i[1],l.pixelLength=u.height,l.pixelStart=u.y,l.signal=a.inverse?-1:1),l},polar:function(i,n,t,s,e){var a=t.axis,l={},u=e.model.coordinateSystem,h=u.getRadiusAxis().getExtent(),f=u.getAngleAxis().getExtent();return i=i?u.pointToCoord(i):[0,0],n=u.pointToCoord(n),t.mainType==="radiusAxis"?(l.pixel=n[0]-i[0],l.pixelLength=h[1]-h[0],l.pixelStart=h[0],l.signal=a.inverse?1:-1):(l.pixel=n[1]-i[1],l.pixelLength=f[1]-f[0],l.pixelStart=f[0],l.signal=a.inverse?-1:1),l},singleAxis:function(i,n,t,s,e){var a=t.axis,l=e.model.coordinateSystem.getRect(),u={};return i=i||[0,0],a.orient==="horizontal"?(u.pixel=n[0]-i[0],u.pixelLength=l.width,u.pixelStart=l.x,u.signal=a.inverse?1:-1):(u.pixel=n[1]-i[1],u.pixelLength=l.height,u.pixelStart=l.y,u.signal=a.inverse?-1:1),u}},r=m;H.exports=r},MwEJ:function(H,k,d){var _=d("bYtY"),x=d("YXkt"),C=d("sdST"),A=d("k9D9"),b=A.SOURCE_FORMAT_ORIGINAL,m=d("L0Ub"),p=m.getDimensionTypeByAxis,c=d("4NO4"),o=c.getDataItemValue,r=d("IDmD"),i=d("i38C"),n=i.getCoordSysInfoBySeries,t=d("7G+c"),s=d("7hqr"),e=s.enableDataStack,a=d("D5nY"),l=a.makeSeriesEncodeForAxisCoordSys;function u(v,y,E){E=E||{},t.isInstance(v)||(v=t.seriesDataToSource(v));var T=y.get("coordinateSystem"),w=r.get(T),S=n(y),I;S&&(I=_.map(S.coordSysDims,function(M){var U={name:M},F=S.axisMap.get(M);if(F){var j=F.get("type");U.type=p(j)}return U})),I||(I=w&&(w.getDimensionsInfo?w.getDimensionsInfo():w.dimensions.slice())||["x","y"]);var L=C(v,{coordDimensions:I,generateCoord:E.generateCoord,encodeDefaulter:E.useEncodeDefaulter?_.curry(l,I,y):null}),O,N;S&&_.each(L,function(M,U){var F=M.coordDim,j=S.categoryAxisMap.get(F);j&&(O==null&&(O=U),M.ordinalMeta=j.getOrdinalMeta()),M.otherDims.itemName!=null&&(N=!0)}),!N&&O!=null&&(L[O].otherDims.itemName=0);var R=e(y,L),D=new x(L,y);D.setCalculationInfo(R);var B=O!=null&&h(v)?function(M,U,F,j){return j===O?F:this.defaultDimValueGetter(M,U,F,j)}:null;return D.hasItemOption=!1,D.initData(v,null,B),D}function h(v){if(v.sourceFormat===b){var y=f(v.data||[]);return y!=null&&!_.isArray(o(y))}}function f(v){for(var y=0;y<v.length&&v[y]==null;)y++;return v[y]}var g=u;H.exports=g},Mylv:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("IwbS"),A=d("oVpE"),b=A.createSymbol,m=d("OELB"),p=m.parsePercent,c=m.isNumeric,o=d("56rv"),r=o.setLabel,i=["itemStyle","borderWidth"],n=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],t=new C.Circle,s=_.extendChartView({type:"pictorialBar",render:function(W,V,z){var Y=this.group,J=W.getData(),ie=this._data,Z=W.coordinateSystem,oe=Z.getBaseAxis(),ge=!!oe.isHorizontal(),pe=Z.grid.getRect(),De={ecSize:{width:z.getWidth(),height:z.getHeight()},seriesModel:W,coordSys:Z,coordSysExtent:[[pe.x,pe.x+pe.width],[pe.y,pe.y+pe.height]],isHorizontal:ge,valueDim:n[+ge],categoryDim:n[1-ge]};return J.diff(ie).add(function(ce){if(!J.hasValue(ce))return;var Oe=w(J,ce),se=e(J,ce,Oe,De),$=O(J,De,se);J.setItemGraphicEl(ce,$),Y.add($),U($,De,se)}).update(function(ce,Oe){var se=ie.getItemGraphicEl(Oe);if(!J.hasValue(ce)){Y.remove(se);return}var $=w(J,ce),ze=e(J,ce,$,De),re=D(J,ze);se&&re!==se.__pictorialShapeStr&&(Y.remove(se),J.setItemGraphicEl(ce,null),se=null),se?N(se,De,ze):se=O(J,De,ze,!0),J.setItemGraphicEl(ce,se),se.__pictorialSymbolMeta=ze,Y.add(se),U(se,De,ze)}).remove(function(ce){var Oe=ie.getItemGraphicEl(ce);Oe&&R(ie,ce,Oe.__pictorialSymbolMeta.animationModel,Oe)}).execute(),this._data=J,this.group},dispose:x.noop,remove:function(W,V){var z=this.group,Y=this._data;W.get("animation")?Y&&Y.eachItemGraphicEl(function(J){R(Y,J.dataIndex,W,J)}):z.removeAll()}});function e(W,V,z,Y){var J=W.getItemLayout(V),ie=z.get("symbolRepeat"),Z=z.get("symbolClip"),oe=z.get("symbolPosition")||"start",ge=z.get("symbolRotate"),pe=(ge||0)*Math.PI/180||0,De=z.get("symbolPatternSize")||2,ce=z.isAnimationEnabled(),Oe={dataIndex:V,layout:J,itemModel:z,symbolType:W.getItemVisual(V,"symbol")||"circle",color:W.getItemVisual(V,"color"),symbolClip:Z,symbolRepeat:ie,symbolRepeatDirection:z.get("symbolRepeatDirection"),symbolPatternSize:De,rotation:pe,animationModel:ce?z:null,hoverAnimation:ce&&z.get("hoverAnimation"),z2:z.getShallow("z",!0)||0};a(z,ie,J,Y,Oe),u(W,V,J,ie,Z,Oe.boundingLength,Oe.pxSign,De,Y,Oe),h(z,Oe.symbolScale,pe,Y,Oe);var se=Oe.symbolSize,$=z.get("symbolOffset");return x.isArray($)&&($=[p($[0],se[0]),p($[1],se[1])]),f(z,se,J,ie,Z,$,oe,Oe.valueLineWidth,Oe.boundingLength,Oe.repeatCutLength,Y,Oe),Oe}function a(W,V,z,Y,J){var ie=Y.valueDim,Z=W.get("symbolBoundingData"),oe=Y.coordSys.getOtherAxis(Y.coordSys.getBaseAxis()),ge=oe.toGlobalCoord(oe.dataToCoord(0)),pe=1-+(z[ie.wh]<=0),De;if(x.isArray(Z)){var ce=[l(oe,Z[0])-ge,l(oe,Z[1])-ge];ce[1]<ce[0]&&ce.reverse(),De=ce[pe]}else Z!=null?De=l(oe,Z)-ge:V?De=Y.coordSysExtent[ie.index][pe]-ge:De=z[ie.wh];J.boundingLength=De,V&&(J.repeatCutLength=z[ie.wh]),J.pxSign=De>0?1:De<0?-1:0}function l(W,V){return W.toGlobalCoord(W.dataToCoord(W.scale.parse(V)))}function u(W,V,z,Y,J,ie,Z,oe,ge,pe){var De=ge.valueDim,ce=ge.categoryDim,Oe=Math.abs(z[ce.wh]),se=W.getItemVisual(V,"symbolSize");x.isArray(se)?se=se.slice():(se==null&&(se="100%"),se=[se,se]),se[ce.index]=p(se[ce.index],Oe),se[De.index]=p(se[De.index],Y?Oe:Math.abs(ie)),pe.symbolSize=se;var $=pe.symbolScale=[se[0]/oe,se[1]/oe];$[De.index]*=(ge.isHorizontal?-1:1)*Z}function h(W,V,z,Y,J){var ie=W.get(i)||0;ie&&(t.attr({scale:V.slice(),rotation:z}),t.updateTransform(),ie/=t.getLineScale(),ie*=V[Y.valueDim.index]),J.valueLineWidth=ie}function f(W,V,z,Y,J,ie,Z,oe,ge,pe,De,ce){var Oe=De.categoryDim,se=De.valueDim,$=ce.pxSign,ze=Math.max(V[se.index]+oe,0),re=ze;if(Y){var X=Math.abs(ge),G=x.retrieve(W.get("symbolMargin"),"15%")+"",Q=!1;G.lastIndexOf("!")===G.length-1&&(Q=!0,G=G.slice(0,G.length-1)),G=p(G,V[se.index]);var ve=Math.max(ze+G*2,0),de=Q?0:G*2,Ce=c(Y),we=Ce?Y:F((X+de)/ve),le=X-we*ze;G=le/2/(Q?we:we-1),ve=ze+G*2,de=Q?0:G*2,!Ce&&Y!=="fixed"&&(we=pe?F((Math.abs(pe)+de)/ve):0),re=we*ve-de,ce.repeatTimes=we,ce.symbolMargin=G}var fe=$*(re/2),xe=ce.pathPosition=[];xe[Oe.index]=z[Oe.wh]/2,xe[se.index]=Z==="start"?fe:Z==="end"?ge-fe:ge/2,ie&&(xe[0]+=ie[0],xe[1]+=ie[1]);var We=ce.bundlePosition=[];We[Oe.index]=z[Oe.xy],We[se.index]=z[se.xy];var nt=ce.barRectShape=x.extend({},z);nt[se.wh]=$*Math.max(Math.abs(z[se.wh]),Math.abs(xe[se.index]+fe)),nt[Oe.wh]=z[Oe.wh];var $e=ce.clipShape={};$e[Oe.xy]=-z[Oe.xy],$e[Oe.wh]=De.ecSize[Oe.wh],$e[se.xy]=0,$e[se.wh]=z[se.wh]}function g(W){var V=W.symbolPatternSize,z=b(W.symbolType,-V/2,-V/2,V,V,W.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function v(W,V,z,Y){var J=W.__pictorialBundle,ie=z.symbolSize,Z=z.valueLineWidth,oe=z.pathPosition,ge=V.valueDim,pe=z.repeatTimes||0,De=0,ce=ie[V.valueDim.index]+Z+z.symbolMargin*2;for(B(W,function(X){X.__pictorialAnimationIndex=De,X.__pictorialRepeatTimes=pe,De<pe?M(X,null,$(De),z,Y):M(X,null,{scale:[0,0]},z,Y,function(){J.remove(X)}),L(X,z),De++});De<pe;De++){var Oe=g(z);Oe.__pictorialAnimationIndex=De,Oe.__pictorialRepeatTimes=pe,J.add(Oe);var se=$(De);M(Oe,{position:se.position,scale:[0,0]},{scale:se.scale,rotation:se.rotation},z,Y),Oe.on("mouseover",ze).on("mouseout",re),L(Oe,z)}function $(X){var G=oe.slice(),Q=z.pxSign,ve=X;return(z.symbolRepeatDirection==="start"?Q>0:Q<0)&&(ve=pe-1-X),G[ge.index]=ce*(ve-pe/2+.5)+oe[ge.index],{position:G,scale:z.symbolScale.slice(),rotation:z.rotation}}function ze(){B(W,function(X){X.trigger("emphasis")})}function re(){B(W,function(X){X.trigger("normal")})}}function y(W,V,z,Y){var J=W.__pictorialBundle,ie=W.__pictorialMainPath;ie?M(ie,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,Y):(ie=W.__pictorialMainPath=g(z),J.add(ie),M(ie,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,Y),ie.on("mouseover",Z).on("mouseout",oe)),L(ie,z);function Z(){this.trigger("emphasis")}function oe(){this.trigger("normal")}}function E(W,V,z){var Y=x.extend({},V.barRectShape),J=W.__pictorialBarRect;J?M(J,null,{shape:Y},V,z):(J=W.__pictorialBarRect=new C.Rect({z2:2,shape:Y,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),W.add(J))}function T(W,V,z,Y){if(z.symbolClip){var J=W.__pictorialClipPath,ie=x.extend({},z.clipShape),Z=V.valueDim,oe=z.animationModel,ge=z.dataIndex;if(J)C.updateProps(J,{shape:ie},oe,ge);else{ie[Z.wh]=0,J=new C.Rect({shape:ie}),W.__pictorialBundle.setClipPath(J),W.__pictorialClipPath=J;var pe={};pe[Z.wh]=z.clipShape[Z.wh],C[Y?"updateProps":"initProps"](J,{shape:pe},oe,ge)}}}function w(W,V){var z=W.getItemModel(V);return z.getAnimationDelayParams=S,z.isAnimationEnabled=I,z}function S(W){return{index:W.__pictorialAnimationIndex,count:W.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(W,V){W.off("emphasis").off("normal");var z=V.symbolScale.slice();V.hoverAnimation&&W.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function O(W,V,z,Y){var J=new C.Group,ie=new C.Group;return J.add(ie),J.__pictorialBundle=ie,ie.attr("position",z.bundlePosition.slice()),z.symbolRepeat?v(J,V,z):y(J,V,z),E(J,z,Y),T(J,V,z,Y),J.__pictorialShapeStr=D(W,z),J.__pictorialSymbolMeta=z,J}function N(W,V,z){var Y=z.animationModel,J=z.dataIndex,ie=W.__pictorialBundle;C.updateProps(ie,{position:z.bundlePosition.slice()},Y,J),z.symbolRepeat?v(W,V,z,!0):y(W,V,z,!0),E(W,z,!0),T(W,V,z,!0)}function R(W,V,z,Y){var J=Y.__pictorialBarRect;J&&(J.style.text=null);var ie=[];B(Y,function(Z){ie.push(Z)}),Y.__pictorialMainPath&&ie.push(Y.__pictorialMainPath),Y.__pictorialClipPath&&(z=null),x.each(ie,function(Z){C.updateProps(Z,{scale:[0,0]},z,V,function(){Y.parent&&Y.parent.remove(Y)})}),W.setItemGraphicEl(V,null)}function D(W,V){return[W.getItemVisual(V.dataIndex,"symbol")||"none",!!V.symbolRepeat,!!V.symbolClip].join(":")}function B(W,V,z){x.each(W.__pictorialBundle.children(),function(Y){Y!==W.__pictorialBarRect&&V.call(z,Y)})}function M(W,V,z,Y,J,ie){V&&W.attr(V),Y.symbolClip&&!J?z&&W.attr(z):z&&C[J?"updateProps":"initProps"](W,z,Y.animationModel,Y.dataIndex,ie)}function U(W,V,z){var Y=z.color,J=z.dataIndex,ie=z.itemModel,Z=ie.getModel("itemStyle").getItemStyle(["color"]),oe=ie.getModel("emphasis.itemStyle").getItemStyle(),ge=ie.getShallow("cursor");B(W,function(Oe){Oe.setColor(Y),Oe.setStyle(x.defaults({fill:Y,opacity:z.opacity},Z)),C.setHoverStyle(Oe,oe),ge&&(Oe.cursor=ge),Oe.z2=z.z2});var pe={},De=V.valueDim.posDesc[+(z.boundingLength>0)],ce=W.__pictorialBarRect;r(ce.style,pe,ie,Y,V.seriesModel,J,De),C.setHoverStyle(ce,pe)}function F(W){var V=Math.round(W);return Math.abs(W-V)<1e-4?V:Math.ceil(W)}var j=s;H.exports=j},"N/zr":function(H,k,d){"use strict";function _(m){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(c){return typeof c}:_=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},_(m)}Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var x=A(d("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var m=new WeakMap;return C=function(){return m},m}function A(m){if(m&&m.__esModule)return m;if(m===null||_(m)!=="object"&&typeof m!="function")return{default:m};var p=C();if(p&&p.has(m))return p.get(m);var c={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in m)if(Object.prototype.hasOwnProperty.call(m,r)){var i=o?Object.getOwnPropertyDescriptor(m,r):null;i&&(i.get||i.set)?Object.defineProperty(c,r,i):c[r]=m[r]}return c.default=m,p&&p.set(m,c),c}var b={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(p){"use strict";for(var c="",o=p.length,r=o%3,i=0;i<o-2;i+=3)c+=this.toBase64Table[p[i]>>2],c+=this.toBase64Table[((p[i]&3)<<4)+(p[i+1]>>4)],c+=this.toBase64Table[((p[i+1]&15)<<2)+(p[i+2]>>6)],c+=this.toBase64Table[p[i+2]&63];var n=o-r;return r===2?(c+=this.toBase64Table[p[n]>>2],c+=this.toBase64Table[((p[n]&3)<<4)+(p[n+1]>>4)],c+=this.toBase64Table[(p[n+1]&15)<<2],c+=this.toBase64Table[64]):r===1&&(c+=this.toBase64Table[p[n]>>2],c+=this.toBase64Table[(p[n]&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(p){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=p.indexOf("=")-c;o<0&&(o=p.length-c);for(var r=(o>>2)*3+Math.floor(o%4/1.5),i=new Array(r),n=0,t=0,s=0,e=c;e<p.length;e++){var a=this.toBinaryTable[p.charCodeAt(e)&127],l=p.charAt(e)===this.base64Pad;if(a===-1){x.Error("Illegal character code "+p.charCodeAt(e)+" at position "+e);continue}t=t<<6|a,n+=6,n>=8&&(n-=8,l||(i[s++]=t>>n&255),t&=(1<<n)-1)}if(n){var u=new Error("Corrupted base64 string");throw u.name="Base64-Error",u}return i}};k.default=b},N5BQ:function(H,k,d){var _=d("OlYY"),x=_.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"}}}),C=x;H.exports=C},NA0q:function(H,k,d){var _=d("bYtY"),x=d("6Ic6"),C=d("TkdX"),A=d("gPAo"),b=d("7aKB"),m=b.windowOpen,p="sunburstRootToNode",c=x.extend({type:"sunburst",init:function(){},render:function(r,i,n,t){var s=this;this.seriesModel=r,this.api=n,this.ecModel=i;var e=r.getData(),a=e.tree.root,l=r.getViewRoot(),u=this.group,h=r.get("renderLabelForZeroData"),f=[];l.eachNode(function(I){f.push(I)});var g=this._oldChildren||[];if(E(f,g),S(a,l),t&&t.highlight&&t.highlight.piece){var v=r.getShallow("highlightPolicy");t.highlight.piece.onEmphasis(v)}else if(t&&t.unhighlight){var y=this.virtualPiece;!y&&a.children.length&&(y=a.children[0].piece),y&&y.onNormal()}this._initEvents(),this._oldChildren=f;function E(I,L){if(I.length===0&&L.length===0)return;new A(L,I,O,O).add(N).update(N).remove(_.curry(N,null)).execute();function O(R){return R.getId()}function N(R,D){var B=R==null?null:I[R],M=D==null?null:L[D];T(B,M)}}function T(I,L){if(!h&&I&&!I.getValue()&&(I=null),I!==a&&L!==a){if(L&&L.piece)I?(L.piece.updateData(!1,I,"normal",r,i),e.setItemGraphicEl(I.dataIndex,L.piece)):w(L);else if(I){var O=new C(I,r,i);u.add(O),e.setItemGraphicEl(I.dataIndex,O)}}}function w(I){if(!I)return;I.piece&&(u.remove(I.piece),I.piece=null)}function S(I,L){if(L.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,I,"normal",r,i):(s.virtualPiece=new C(I,r,i),u.add(s.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var O=function(N){s._rootToNode(L.parentNode)};L.piece._onclickEvent=O,s.virtualPiece.on("click",O)}else s.virtualPiece&&(u.remove(s.virtualPiece),s.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var r=this,i=function(n){var t=!1,s=r.seriesModel.getViewRoot();s.eachNode(function(e){if(!t&&e.piece&&e.piece.childAt(0)===n.target){var a=e.getModel().get("nodeClick");if(a==="rootToNode")r._rootToNode(e);else if(a==="link"){var l=e.getModel(),u=l.get("link");if(u){var h=l.get("target",!0)||"_blank";m(u,h)}}t=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",i),this.group._onclickEvent=i},_rootToNode:function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:p,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},containPoint:function(r,i){var n=i.getData(),t=n.getItemLayout(0);if(t){var s=r[0]-t.cx,e=r[1]-t.cy,a=Math.sqrt(s*s+e*e);return a<=t.r&&a>=t.r0}}}),o=c;H.exports=o},NAnI:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("wXyp"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},NBmB:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.encodingName=x,k.encodings=void 0;var _={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};k.encodings=_;function x(C){switch(C){case _.encodingRaw:return"Raw";case _.encodingCopyRect:return"CopyRect";case _.encodingRRE:return"RRE";case _.encodingHextile:return"Hextile";case _.encodingTight:return"Tight";case _.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+C+"]"}}},NC18:function(H,k,d){var _=d("y+Vt"),x=d("IMiH"),C=d("7oTu"),A=Math.sqrt,b=Math.sin,m=Math.cos,p=Math.PI,c=function(f){return Math.sqrt(f[0]*f[0]+f[1]*f[1])},o=function(f,g){return(f[0]*g[0]+f[1]*g[1])/(c(f)*c(g))},r=function(f,g){return(f[0]*g[1]<f[1]*g[0]?-1:1)*Math.acos(o(f,g))};function i(h,f,g,v,y,E,T,w,S,I,L){var O=S*(p/180),N=m(O)*(h-g)/2+b(O)*(f-v)/2,R=-1*b(O)*(h-g)/2+m(O)*(f-v)/2,D=N*N/(T*T)+R*R/(w*w);D>1&&(T*=A(D),w*=A(D));var B=(y===E?-1:1)*A((T*T*(w*w)-T*T*(R*R)-w*w*(N*N))/(T*T*(R*R)+w*w*(N*N)))||0,M=B*T*R/w,U=B*-w*N/T,F=(h+g)/2+m(O)*M-b(O)*U,j=(f+v)/2+b(O)*M+m(O)*U,W=r([1,0],[(N-M)/T,(R-U)/w]),V=[(N-M)/T,(R-U)/w],z=[(-1*N-M)/T,(-1*R-U)/w],Y=r(V,z);o(V,z)<=-1&&(Y=p),o(V,z)>=1&&(Y=0),E===0&&Y>0&&(Y=Y-2*p),E===1&&Y<0&&(Y=Y+2*p),L.addData(I,F,j,T,w,W,Y,O,E)}var n=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,t=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function s(h){if(!h)return new x;for(var f=0,g=0,v=f,y=g,E,T=new x,w=x.CMD,S=h.match(n),I=0;I<S.length;I++){for(var L=S[I],O=L.charAt(0),N,R=L.match(t)||[],D=R.length,B=0;B<D;B++)R[B]=parseFloat(R[B]);for(var M=0;M<D;){var U,F,j,W,V,z,Y,J=f,ie=g;switch(O){case"l":f+=R[M++],g+=R[M++],N=w.L,T.addData(N,f,g);break;case"L":f=R[M++],g=R[M++],N=w.L,T.addData(N,f,g);break;case"m":f+=R[M++],g+=R[M++],N=w.M,T.addData(N,f,g),v=f,y=g,O="l";break;case"M":f=R[M++],g=R[M++],N=w.M,T.addData(N,f,g),v=f,y=g,O="L";break;case"h":f+=R[M++],N=w.L,T.addData(N,f,g);break;case"H":f=R[M++],N=w.L,T.addData(N,f,g);break;case"v":g+=R[M++],N=w.L,T.addData(N,f,g);break;case"V":g=R[M++],N=w.L,T.addData(N,f,g);break;case"C":N=w.C,T.addData(N,R[M++],R[M++],R[M++],R[M++],R[M++],R[M++]),f=R[M-2],g=R[M-1];break;case"c":N=w.C,T.addData(N,R[M++]+f,R[M++]+g,R[M++]+f,R[M++]+g,R[M++]+f,R[M++]+g),f+=R[M-2],g+=R[M-1];break;case"S":U=f,F=g;var Z=T.len(),oe=T.data;E===w.C&&(U+=f-oe[Z-4],F+=g-oe[Z-3]),N=w.C,J=R[M++],ie=R[M++],f=R[M++],g=R[M++],T.addData(N,U,F,J,ie,f,g);break;case"s":U=f,F=g;var Z=T.len(),oe=T.data;E===w.C&&(U+=f-oe[Z-4],F+=g-oe[Z-3]),N=w.C,J=f+R[M++],ie=g+R[M++],f+=R[M++],g+=R[M++],T.addData(N,U,F,J,ie,f,g);break;case"Q":J=R[M++],ie=R[M++],f=R[M++],g=R[M++],N=w.Q,T.addData(N,J,ie,f,g);break;case"q":J=R[M++]+f,ie=R[M++]+g,f+=R[M++],g+=R[M++],N=w.Q,T.addData(N,J,ie,f,g);break;case"T":U=f,F=g;var Z=T.len(),oe=T.data;E===w.Q&&(U+=f-oe[Z-4],F+=g-oe[Z-3]),f=R[M++],g=R[M++],N=w.Q,T.addData(N,U,F,f,g);break;case"t":U=f,F=g;var Z=T.len(),oe=T.data;E===w.Q&&(U+=f-oe[Z-4],F+=g-oe[Z-3]),f+=R[M++],g+=R[M++],N=w.Q,T.addData(N,U,F,f,g);break;case"A":j=R[M++],W=R[M++],V=R[M++],z=R[M++],Y=R[M++],J=f,ie=g,f=R[M++],g=R[M++],N=w.A,i(J,ie,f,g,z,Y,j,W,V,N,T);break;case"a":j=R[M++],W=R[M++],V=R[M++],z=R[M++],Y=R[M++],J=f,ie=g,f+=R[M++],g+=R[M++],N=w.A,i(J,ie,f,g,z,Y,j,W,V,N,T);break}}(O==="z"||O==="Z")&&(N=w.Z,T.addData(N),f=v,g=y),E=N}return T.toStatic(),T}function e(h,f){var g=s(h);return f=f||{},f.buildPath=function(v){if(v.setData){v.setData(g.data);var y=v.getContext();y&&v.rebuildPath(y)}else{var y=v;g.rebuildPath(y)}},f.applyTransform=function(v){C(g,v),this.dirty(!0)},f}function a(h,f){return new _(e(h,f))}function l(h,f){return _.extend(e(h,f))}function u(h,f){for(var g=[],v=h.length,y=0;y<v;y++){var E=h[y];E.path||E.createPathProxy(),E.__dirtyPath&&E.buildPath(E.path,E.shape,!0),g.push(E.path)}var T=new _(f);return T.createPathProxy(),T.buildPath=function(w){w.appendPath(g);var S=w.getContext();S&&w.rebuildPath(S)},T}k.createFromString=a,k.extendFromString=l,k.mergePath=u},NFKh:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("MlIO"),d("F+F2"),d("qM6L"),d("ETIr"),d("wbyO"),d("cv67"),d("3y9D"),d("lPiR"),d("GRuw"),d("1uat"),d("uGsb"),d("5hvy"),d("ELcG"),d("WYAk"),d("e7zE"),d("K3mO"),d("OLod"),d("ALsQ"),d("9OqN"),d("qu8F"),d("S6kV"),d("gb/T"),d("qBft"),d("oRuE"),d("jO9C"),d("KmYQ"),d("uGxW"),d("bQjk"),d("wZgz"),d("pA7S"),d("w7YG"),d("E4JC"),d("PVpz"))})(this,function(_){return _})},NH9N:function(H,k,d){var _=d("bYtY"),x=d("mFDi"),C=d("Fofx"),A=d("IwbS"),b=d("+TT/"),m=d("kzvK"),p=d("CMP+"),c=d("oVpE"),o=c.createSymbol,r=d("aX7z"),i=d("OELB"),n=d("7aKB"),t=n.encodeHTML,s=_.bind,e=_.each,a=Math.PI,l=m.extend({type:"timeline.slider",init:function(v,y){this.api=y,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(v,y,E,T){if(this.model=v,this.api=E,this.ecModel=y,this.group.removeAll(),v.get("show",!0)){var w=this._layout(v,E),S=this._createGroup("mainGroup"),I=this._createGroup("labelGroup"),L=this._axis=this._createAxis(w,v);v.formatTooltip=function(O){return t(L.scale.getLabel(O))},e(["AxisLine","AxisTick","Control","CurrentPointer"],function(O){this["_render"+O](w,S,L,v)},this),this._renderAxisLabel(w,I,L,v),this._position(w,v)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(v,y){var E=v.get("label.position"),T=v.get("orient"),w=u(v,y);E==null||E==="auto"?E=T==="horizontal"?w.y+w.height/2<y.getHeight()/2?"-":"+":w.x+w.width/2<y.getWidth()/2?"+":"-":isNaN(E)&&(E={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][E]);var S={horizontal:"center",vertical:E>=0||E==="+"?"left":"right"},I={horizontal:E>=0||E==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:a/2},O=T==="vertical"?w.height:w.width,N=v.getModel("controlStyle"),R=N.get("show",!0),D=R?N.get("itemSize"):0,B=R?N.get("itemGap"):0,M=D+B,U=v.get("label.rotate")||0;U=U*a/180;var F,j,W,V,z=N.get("position",!0),Y=R&&N.get("showPlayBtn",!0),J=R&&N.get("showPrevBtn",!0),ie=R&&N.get("showNextBtn",!0),Z=0,oe=O;return z==="left"||z==="bottom"?(Y&&(F=[0,0],Z+=M),J&&(j=[Z,0],Z+=M),ie&&(W=[oe-D,0],oe-=M)):(Y&&(F=[oe-D,0],oe-=M),J&&(j=[0,0],Z+=M),ie&&(W=[oe-D,0],oe-=M)),V=[Z,oe],v.get("inverse")&&V.reverse(),{viewRect:w,mainLength:O,orient:T,rotation:L[T],labelRotation:U,labelPosOpt:E,labelAlign:v.get("label.align")||S[T],labelBaseline:v.get("label.verticalAlign")||v.get("label.baseline")||I[T],playPosition:F,prevBtnPosition:j,nextBtnPosition:W,axisExtent:V,controlSize:D,controlGap:B}},_position:function(v,y){var E=this._mainGroup,T=this._labelGroup,w=v.viewRect;if(v.orient==="vertical"){var S=C.create(),I=w.x,L=w.y+w.height;C.translate(S,S,[-I,-L]),C.rotate(S,S,-a/2),C.translate(S,S,[I,L]),w=w.clone(),w.applyTransform(S)}var O=j(w),N=j(E.getBoundingRect()),R=j(T.getBoundingRect()),D=E.position,B=T.position;B[0]=D[0]=O[0][0];var M=v.labelPosOpt;if(isNaN(M)){var U=M==="+"?0:1;W(D,N,O,1,U),W(B,R,O,1,1-U)}else{var U=M>=0?0:1;W(D,N,O,1,U),B[1]=D[1]+M}E.attr("position",D),T.attr("position",B),E.rotation=T.rotation=v.rotation,F(E),F(T);function F(V){var z=V.position;V.origin=[O[0][0]-z[0],O[1][0]-z[1]]}function j(V){return[[V.x,V.x+V.width],[V.y,V.y+V.height]]}function W(V,z,Y,J,ie){V[J]+=Y[J][ie]-z[J][ie]}},_createAxis:function(v,y){var E=y.getData(),T=y.get("axisType"),w=r.createScaleByModel(y,T);w.getTicks=function(){return E.mapArray(["value"],function(L){return L})};var S=E.getDataExtent("value");w.setExtent(S[0],S[1]),w.niceTicks();var I=new p("value",w,v.axisExtent,T);return I.model=y,I},_createGroup:function(v){var y=this["_"+v]=new A.Group;return this.group.add(y),y},_renderAxisLine:function(v,y,E,T){var w=E.getExtent();if(!T.get("lineStyle.show"))return;y.add(new A.Line({shape:{x1:w[0],y1:0,x2:w[1],y2:0},style:_.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(v,y,E,T){var w=T.getData(),S=E.scale.getTicks();e(S,function(I){var L=E.dataToCoord(I),O=w.getItemModel(I),N=O.getModel("itemStyle"),R=O.getModel("emphasis.itemStyle"),D={position:[L,0],onclick:s(this._changeTimeline,this,I)},B=f(O,N,y,D);A.setHoverStyle(B,R.getItemStyle()),O.get("tooltip")?(B.dataIndex=I,B.dataModel=T):B.dataIndex=B.dataModel=null},this)},_renderAxisLabel:function(v,y,E,T){var w=E.getLabelModel();if(!w.get("show"))return;var S=T.getData(),I=E.getViewLabels();e(I,function(L){var O=L.tickValue,N=S.getItemModel(O),R=N.getModel("label"),D=N.getModel("emphasis.label"),B=E.dataToCoord(L.tickValue),M=new A.Text({position:[B,0],rotation:v.labelRotation-v.rotation,onclick:s(this._changeTimeline,this,O),silent:!1});A.setTextStyle(M.style,R,{text:L.formattedLabel,textAlign:v.labelAlign,textVerticalAlign:v.labelBaseline}),y.add(M),A.setHoverStyle(M,A.setTextStyle({},D))},this)},_renderControl:function(v,y,E,T){var w=v.controlSize,S=v.rotation,I=T.getModel("controlStyle").getItemStyle(),L=T.getModel("emphasis.controlStyle").getItemStyle(),O=[0,-w/2,w,w],N=T.getPlayState(),R=T.get("inverse",!0);D(v.nextBtnPosition,"controlStyle.nextIcon",s(this._changeTimeline,this,R?"-":"+")),D(v.prevBtnPosition,"controlStyle.prevIcon",s(this._changeTimeline,this,R?"+":"-")),D(v.playPosition,"controlStyle."+(N?"stopIcon":"playIcon"),s(this._handlePlayClick,this,!N),!0);function D(B,M,U,F){if(!B)return;var j={position:B,origin:[w/2,0],rotation:F?-S:0,rectHover:!0,style:I,onclick:U},W=h(T,M,O,j);y.add(W),A.setHoverStyle(W,L)}},_renderCurrentPointer:function(v,y,E,T){var w=T.getData(),S=T.getCurrentIndex(),I=w.getItemModel(S).getModel("checkpointStyle"),L=this,O={onCreate:function(N){N.draggable=!0,N.drift=s(L._handlePointerDrag,L),N.ondragend=s(L._handlePointerDragend,L),g(N,S,E,T,!0)},onUpdate:function(N){g(N,S,E,T)}};this._currentPointer=f(I,I,this._mainGroup,{},this._currentPointer,O)},_handlePlayClick:function(v){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:v,from:this.uid})},_handlePointerDrag:function(v,y,E){this._clearTimer(),this._pointerChangeTimeline([E.offsetX,E.offsetY])},_handlePointerDragend:function(v){this._pointerChangeTimeline([v.offsetX,v.offsetY],!0)},_pointerChangeTimeline:function(v,y){var E=this._toAxisCoord(v)[0],T=this._axis,w=i.asc(T.getExtent().slice());E>w[1]&&(E=w[1]),E<w[0]&&(E=w[0]),this._currentPointer.position[0]=E,this._currentPointer.dirty();var S=this._findNearestTick(E),I=this.model;(y||S!==I.getCurrentIndex()&&I.get("realtime"))&&this._changeTimeline(S)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(s(v,this),this.model.get("playInterval")));function v(){var y=this.model;this._changeTimeline(y.getCurrentIndex()+(y.get("rewind",!0)?-1:1))}},_toAxisCoord:function(v){var y=this._mainGroup.getLocalTransform();return A.applyTransform(v,y,!0)},_findNearestTick:function(v){var y=this.model.getData(),E=Infinity,T,w=this._axis;return y.each(["value"],function(S,I){var L=w.dataToCoord(S),O=Math.abs(L-v);O<E&&(E=O,T=I)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(v){var y=this.model.getCurrentIndex();v==="+"?v=y+1:v==="-"&&(v=y-1),this.api.dispatchAction({type:"timelineChange",currentIndex:v,from:this.uid})}});function u(v,y){return b.getLayoutRect(v.getBoxLayoutParams(),{width:y.getWidth(),height:y.getHeight()},v.get("padding"))}function h(v,y,E,T){var w=A.makePath(v.get(y).replace(/^path:\/\//,""),_.clone(T||{}),new x(E[0],E[1],E[2],E[3]),"center");return w}function f(v,y,E,T,w,S){var I=y.get("color");if(w)w.setColor(I),E.add(w),S&&S.onUpdate(w);else{var L=v.get("symbol");w=o(L,-1,-1,2,2,I),w.setStyle("strokeNoScale",!0),E.add(w),S&&S.onCreate(w)}var O=y.getItemStyle(["color","symbol","symbolSize"]);w.setStyle(O),T=_.merge({rectHover:!0,z2:100},T,!0);var N=v.get("symbolSize");N=N instanceof Array?N.slice():[+N,+N],N[0]/=2,N[1]/=2,T.scale=N;var R=v.get("symbolOffset");if(R){var D=T.position=T.position||[0,0];D[0]+=i.parsePercent(R[0],N[0]),D[1]+=i.parsePercent(R[1],N[1])}var B=v.get("symbolRotate");return T.rotation=(B||0)*Math.PI/180||0,w.attr(T),w.updateTransform(),w}function g(v,y,E,T,w){if(v.dragging)return;var S=T.getModel("checkpointStyle"),I=E.dataToCoord(T.getData().get(["value"],y));w||!S.get("animation",!0)?v.attr({position:[I,0]}):(v.stopAnimation(!0),v.animateTo({position:[I,0]},S.get("animationDuration",!0),S.get("animationEasing",!0)))}H.exports=l},NJEC:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("J4zp"),A=d.n(C),b=d("q1tI"),m=d.n(b),p=d("TSYQ"),c=d.n(p),o=d("sKbD"),r=d.n(o),i=d("4IlW"),n=d("3S7+"),t=d("2/Rp"),s=d("zvFY"),e=d("YMnH"),a=d("ZvpZ"),l=d("H84U"),u=d("bogI"),h=d("0n0R"),f=void 0,g=function(y,E){var T={};for(var w in y)Object.prototype.hasOwnProperty.call(y,w)&&E.indexOf(w)<0&&(T[w]=y[w]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,w=Object.getOwnPropertySymbols(y);S<w.length;S++)E.indexOf(w[S])<0&&Object.prototype.propertyIsEnumerable.call(y,w[S])&&(T[w[S]]=y[w[S]]);return T},v=b.forwardRef(function(y,E){var T=b.useState(y.visible),w=A()(T,2),S=w[0],I=w[1];b.useEffect(function(){"visible"in y&&I(y.visible)},[y.visible]),b.useEffect(function(){"defaultVisible"in y&&I(y.defaultVisible)},[y.defaultVisible]);var L=function(ge,pe){"visible"in y||I(ge),y.onVisibleChange&&y.onVisibleChange(ge,pe)},O=function(ge){L(!1,ge),y.onConfirm&&y.onConfirm.call(f,ge)},N=function(ge){L(!1,ge),y.onCancel&&y.onCancel.call(f,ge)},R=function(ge){ge.keyCode===i.a.ESC&&S&&L(!1,ge)},D=function(ge){var pe=y.disabled;if(pe)return;L(ge)},B=function(ge,pe){var De=y.okButtonProps,ce=y.cancelButtonProps,Oe=y.title,se=y.cancelText,$=y.okText,ze=y.okType,re=y.icon;return b.createElement("div",{className:"".concat(ge,"-inner-content")},b.createElement("div",{className:"".concat(ge,"-message")},re,b.createElement("div",{className:"".concat(ge,"-message-title")},Object(u.a)(Oe))),b.createElement("div",{className:"".concat(ge,"-buttons")},b.createElement(t.a,x()({onClick:N,size:"small"},ce),se||pe.cancelText),b.createElement(t.a,x()({onClick:O},Object(s.a)(ze),{size:"small"},De),$||pe.okText)))},M=b.useContext(l.b),U=M.getPrefixCls,F=y.prefixCls,j=y.placement,W=y.children,V=y.overlayClassName,z=g(y,["prefixCls","placement","children","overlayClassName"]),Y=U("popover",F),J=U("popconfirm",F),ie=c()(J,V),Z=b.createElement(e.a,{componentName:"Popconfirm",defaultLocale:a.a.Popconfirm},function(oe){return B(Y,oe)});return b.createElement(n.a,x()({},z,{prefixCls:Y,placement:j,onVisibleChange:D,visible:S,overlay:Z,overlayClassName:ie,ref:E}),Object(h.a)(W,{onKeyDown:function(ge){var pe,De;(De=W==null?void 0:(pe=W.props).onKeyDown)===null||De===void 0||De.call(pe,ge),R(ge)}}))});v.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:b.createElement(r.a,null),disabled:!1},k.a=v},NUBc:function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("q1tI"),m=d.n(b),p=d("wx14"),c=d("rePB"),o=d("VTBJ"),r=d("1OyB"),i=d("vuIU"),n=d("Ji7U"),t=d("LK+K"),s=d("TSYQ"),e=d.n(s),a=function(pe){var De,ce="".concat(pe.rootPrefixCls,"-item"),Oe=e()(ce,"".concat(ce,"-").concat(pe.page),(De={},Object(c.a)(De,"".concat(ce,"-active"),pe.active),Object(c.a)(De,pe.className,!!pe.className),Object(c.a)(De,"".concat(ce,"-disabled"),!pe.page),De)),se=function(){pe.onClick(pe.page)},$=function(re){pe.onKeyPress(re,pe.onClick,pe.page)};return m.a.createElement("li",{title:pe.showTitle?pe.page:null,className:Oe,onClick:se,onKeyPress:$,tabIndex:"0"},pe.itemRender(pe.page,"page",m.a.createElement("a",{rel:"nofollow"},pe.page)))},l=a,u={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},h=function(ge){Object(n.a)(De,ge);var pe=Object(t.a)(De);function De(){var ce;Object(r.a)(this,De);for(var Oe=arguments.length,se=new Array(Oe),$=0;$<Oe;$++)se[$]=arguments[$];return ce=pe.call.apply(pe,[this].concat(se)),ce.state={goInputText:""},ce.buildOptionText=function(ze){return"".concat(ze," ").concat(ce.props.locale.items_per_page)},ce.changeSize=function(ze){ce.props.changeSize(Number(ze))},ce.handleChange=function(ze){ce.setState({goInputText:ze.target.value})},ce.handleBlur=function(ze){var re=ce.props,X=re.goButton,G=re.quickGo,Q=re.rootPrefixCls,ve=ce.state.goInputText;if(X||ve==="")return;if(ze.relatedTarget&&(ze.relatedTarget.className.indexOf("".concat(Q,"-prev"))>=0||ze.relatedTarget.className.indexOf("".concat(Q,"-next"))>=0))return;ce.setState({goInputText:""}),G(ce.getValidValue())},ce.go=function(ze){var re=ce.state.goInputText;if(re==="")return;(ze.keyCode===u.ENTER||ze.type==="click")&&(ce.setState({goInputText:""}),ce.props.quickGo(ce.getValidValue()))},ce}return Object(i.a)(De,[{key:"getValidValue",value:function(){var Oe=this.state,se=Oe.goInputText,$=Oe.current;return!se||isNaN(se)?$:Number(se)}},{key:"getPageSizeOptions",value:function(){var Oe=this.props,se=Oe.pageSize,$=Oe.pageSizeOptions;return $.some(function(ze){return ze.toString()===se.toString()})?$:$.concat([se.toString()]).sort(function(ze,re){var X=isNaN(Number(ze))?0:Number(ze),G=isNaN(Number(re))?0:Number(re);return X-G})}},{key:"render",value:function(){var Oe=this,se=this.props,$=se.pageSize,ze=se.locale,re=se.rootPrefixCls,X=se.changeSize,G=se.quickGo,Q=se.goButton,ve=se.selectComponentClass,de=se.buildOptionText,Ce=se.selectPrefixCls,we=se.disabled,le=this.state.goInputText,fe="".concat(re,"-options"),xe=ve,We=null,nt=null,$e=null;if(!X&&!G)return null;var Le=this.getPageSizeOptions();if(X&&xe){var pt=Le.map(function(Qe,gt){return m.a.createElement(xe.Option,{key:gt,value:Qe.toString()},(de||Oe.buildOptionText)(Qe))});We=m.a.createElement(xe,{disabled:we,prefixCls:Ce,showSearch:!1,className:"".concat(fe,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:($||Le[0]).toString(),onChange:this.changeSize,getPopupContainer:function(gt){return gt.parentNode}},pt)}return G&&(Q&&($e=typeof Q=="boolean"?m.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:we,className:"".concat(fe,"-quick-jumper-button")},ze.jump_to_confirm):m.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Q)),nt=m.a.createElement("div",{className:"".concat(fe,"-quick-jumper")},ze.jump_to,m.a.createElement("input",{disabled:we,type:"text",value:le,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),ze.page,$e)),m.a.createElement("li",{className:"".concat(fe)},We,nt)}}]),De}(m.a.Component);h.defaultProps={pageSizeOptions:["10","20","50","100"]};var f=h,g=d("N2Kk");function v(){}function y(ge){return typeof ge=="number"&&isFinite(ge)&&Math.floor(ge)===ge}function E(ge,pe,De){return De}function T(ge,pe,De){var ce=typeof ge=="undefined"?pe.pageSize:ge;return Math.floor((De.total-1)/ce)+1}var w=function(ge){Object(n.a)(De,ge);var pe=Object(t.a)(De);function De(ce){var Oe;Object(r.a)(this,De),Oe=pe.call(this,ce),Oe.getJumpPrevPage=function(){return Math.max(1,Oe.state.current-(Oe.props.showLessItems?3:5))},Oe.getJumpNextPage=function(){return Math.min(T(void 0,Oe.state,Oe.props),Oe.state.current+(Oe.props.showLessItems?3:5))},Oe.getItemIcon=function(X,G){var Q=Oe.props.prefixCls,ve=X||m.a.createElement("button",{type:"button","aria-label":G,className:"".concat(Q,"-item-link")});return typeof X=="function"&&(ve=m.a.createElement(X,Object(o.a)({},Oe.props))),ve},Oe.savePaginationNode=function(X){Oe.paginationNode=X},Oe.isValid=function(X){return y(X)&&X!==Oe.state.current},Oe.shouldDisplayQuickJumper=function(){var X=Oe.props,G=X.showQuickJumper,Q=X.pageSize,ve=X.total;return ve<=Q?!1:G},Oe.handleKeyDown=function(X){(X.keyCode===u.ARROW_UP||X.keyCode===u.ARROW_DOWN)&&X.preventDefault()},Oe.handleKeyUp=function(X){var G=Oe.getValidValue(X),Q=Oe.state.currentInputValue;G!==Q&&Oe.setState({currentInputValue:G}),X.keyCode===u.ENTER?Oe.handleChange(G):X.keyCode===u.ARROW_UP?Oe.handleChange(G-1):X.keyCode===u.ARROW_DOWN&&Oe.handleChange(G+1)},Oe.changePageSize=function(X){var G=Oe.state.current,Q=T(X,Oe.state,Oe.props);G=G>Q?Q:G,Q===0&&(G=Oe.state.current),typeof X=="number"&&("pageSize"in Oe.props||Oe.setState({pageSize:X}),"current"in Oe.props||Oe.setState({current:G,currentInputValue:G})),Oe.props.onShowSizeChange(G,X),"onChange"in Oe.props&&Oe.props.onChange&&Oe.props.onChange(G,X)},Oe.handleChange=function(X){var G=Oe.props.disabled,Q=X;if(Oe.isValid(Q)&&!G){var ve=T(void 0,Oe.state,Oe.props);Q>ve?Q=ve:Q<1&&(Q=1),"current"in Oe.props||Oe.setState({current:Q,currentInputValue:Q});var de=Oe.state.pageSize;return Oe.props.onChange(Q,de),Q}return Oe.state.current},Oe.prev=function(){Oe.hasPrev()&&Oe.handleChange(Oe.state.current-1)},Oe.next=function(){Oe.hasNext()&&Oe.handleChange(Oe.state.current+1)},Oe.jumpPrev=function(){Oe.handleChange(Oe.getJumpPrevPage())},Oe.jumpNext=function(){Oe.handleChange(Oe.getJumpNextPage())},Oe.hasPrev=function(){return Oe.state.current>1},Oe.hasNext=function(){return Oe.state.current<T(void 0,Oe.state,Oe.props)},Oe.runIfEnter=function(X,G){if(X.key==="Enter"||X.charCode===13){for(var Q=arguments.length,ve=new Array(Q>2?Q-2:0),de=2;de<Q;de++)ve[de-2]=arguments[de];G.apply(void 0,ve)}},Oe.runIfEnterPrev=function(X){Oe.runIfEnter(X,Oe.prev)},Oe.runIfEnterNext=function(X){Oe.runIfEnter(X,Oe.next)},Oe.runIfEnterJumpPrev=function(X){Oe.runIfEnter(X,Oe.jumpPrev)},Oe.runIfEnterJumpNext=function(X){Oe.runIfEnter(X,Oe.jumpNext)},Oe.handleGoTO=function(X){(X.keyCode===u.ENTER||X.type==="click")&&Oe.handleChange(Oe.state.currentInputValue)};var se=ce.onChange!==v,$="current"in ce;$&&!se&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ze=ce.defaultCurrent;"current"in ce&&(ze=ce.current);var re=ce.defaultPageSize;return"pageSize"in ce&&(re=ce.pageSize),ze=Math.min(ze,T(re,void 0,ce)),Oe.state={current:ze,currentInputValue:ze,pageSize:re},Oe}return Object(i.a)(De,[{key:"componentDidUpdate",value:function(Oe,se){var $=this.props.prefixCls;if(se.current!==this.state.current&&this.paginationNode){var ze=this.paginationNode.querySelector(".".concat($,"-item-").concat(se.current));ze&&document.activeElement===ze&&ze.blur()}}},{key:"getValidValue",value:function(Oe){var se=Oe.target.value,$=T(void 0,this.state,this.props),ze=this.state.currentInputValue,re;return se===""?re=se:isNaN(Number(se))?re=ze:se>=$?re=$:re=Number(se),re}},{key:"getShowSizeChanger",value:function(){var Oe=this.props,se=Oe.showSizeChanger,$=Oe.total,ze=Oe.totalBoundaryShowSizeChanger;return typeof se!="undefined"?se:$>ze}},{key:"renderPrev",value:function(Oe){var se=this.props,$=se.prevIcon,ze=se.itemRender,re=ze(Oe,"prev",this.getItemIcon($,"prev page")),X=!this.hasPrev();return Object(b.isValidElement)(re)?Object(b.cloneElement)(re,{disabled:X}):re}},{key:"renderNext",value:function(Oe){var se=this.props,$=se.nextIcon,ze=se.itemRender,re=ze(Oe,"next",this.getItemIcon($,"next page")),X=!this.hasNext();return Object(b.isValidElement)(re)?Object(b.cloneElement)(re,{disabled:X}):re}},{key:"render",value:function(){var Oe=this,se=this.props,$=se.prefixCls,ze=se.className,re=se.style,X=se.disabled,G=se.hideOnSinglePage,Q=se.total,ve=se.locale,de=se.showQuickJumper,Ce=se.showLessItems,we=se.showTitle,le=se.showTotal,fe=se.simple,xe=se.itemRender,We=se.showPrevNextJumpers,nt=se.jumpPrevIcon,$e=se.jumpNextIcon,Le=se.selectComponentClass,pt=se.selectPrefixCls,Qe=se.pageSizeOptions,gt=this.state,wt=gt.current,Et=gt.pageSize,_t=gt.currentInputValue;if(G===!0&&Q<=Et)return null;var Ht=T(void 0,this.state,this.props),Ze=[],ye=null,ae=null,yt=null,et=null,me=null,Gt=de&&de.goButton,rr=Ce?1:2,ut=wt-1>0?wt-1:0,Xt=wt+1<Ht?wt+1:Ht,ur=Object.keys(this.props).reduce(function(Ln,Nt){return(Nt.substr(0,5)==="data-"||Nt.substr(0,5)==="aria-"||Nt==="role")&&(Ln[Nt]=Oe.props[Nt]),Ln},{});if(fe)return Gt&&(typeof Gt=="boolean"?me=m.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ve.jump_to_confirm):me=m.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Gt),me=m.a.createElement("li",{title:we?"".concat(ve.jump_to).concat(wt,"/").concat(Ht):null,className:"".concat($,"-simple-pager")},me)),m.a.createElement("ul",Object(p.a)({className:e()($,"".concat($,"-simple"),Object(c.a)({},"".concat($,"-disabled"),X),ze),style:re,ref:this.savePaginationNode},ur),m.a.createElement("li",{title:we?ve.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:e()("".concat($,"-prev"),Object(c.a)({},"".concat($,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(ut)),m.a.createElement("li",{title:we?"".concat(wt,"/").concat(Ht):null,className:"".concat($,"-simple-pager")},m.a.createElement("input",{type:"text",value:_t,disabled:X,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),m.a.createElement("span",{className:"".concat($,"-slash")},"/"),Ht),m.a.createElement("li",{title:we?ve.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:e()("".concat($,"-next"),Object(c.a)({},"".concat($,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Xt)),me);if(Ht<=3+rr*2){var Fr={locale:ve,rootPrefixCls:$,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:we,itemRender:xe};Ht||Ze.push(m.a.createElement(l,Object(p.a)({},Fr,{key:"noPager",page:Ht,className:"".concat($,"-disabled")})));for(var er=1;er<=Ht;er+=1){var nr=wt===er;Ze.push(m.a.createElement(l,Object(p.a)({},Fr,{key:er,page:er,active:nr})))}}else{var Lt=Ce?ve.prev_3:ve.prev_5,at=Ce?ve.next_3:ve.next_5;We&&(ye=m.a.createElement("li",{title:we?Lt:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:e()("".concat($,"-jump-prev"),Object(c.a)({},"".concat($,"-jump-prev-custom-icon"),!!nt))},xe(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(nt,"prev page"))),ae=m.a.createElement("li",{title:we?at:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:e()("".concat($,"-jump-next"),Object(c.a)({},"".concat($,"-jump-next-custom-icon"),!!$e))},xe(this.getJumpNextPage(),"jump-next",this.getItemIcon($e,"next page")))),et=m.a.createElement(l,{locale:ve,last:!0,rootPrefixCls:$,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ht,page:Ht,active:!1,showTitle:we,itemRender:xe}),yt=m.a.createElement(l,{locale:ve,rootPrefixCls:$,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:we,itemRender:xe});var Je=Math.max(1,wt-rr),qt=Math.min(wt+rr,Ht);wt-1<=rr&&(qt=1+rr*2),Ht-wt<=rr&&(Je=Ht-rr*2);for(var Sr=Je;Sr<=qt;Sr+=1){var yr=wt===Sr;Ze.push(m.a.createElement(l,{locale:ve,rootPrefixCls:$,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Sr,page:Sr,active:yr,showTitle:we,itemRender:xe}))}wt-1>=rr*2&&wt!==1+2&&(Ze[0]=Object(b.cloneElement)(Ze[0],{className:"".concat($,"-item-after-jump-prev")}),Ze.unshift(ye)),Ht-wt>=rr*2&&wt!==Ht-2&&(Ze[Ze.length-1]=Object(b.cloneElement)(Ze[Ze.length-1],{className:"".concat($,"-item-before-jump-next")}),Ze.push(ae)),Je!==1&&Ze.unshift(yt),qt!==Ht&&Ze.push(et)}var fr=null;le&&(fr=m.a.createElement("li",{className:"".concat($,"-total-text")},le(Q,[Q===0?0:(wt-1)*Et+1,wt*Et>Q?Q:wt*Et])));var yn=!this.hasPrev()||!Ht,Jr=!this.hasNext()||!Ht;return m.a.createElement("ul",Object(p.a)({className:e()($,ze,Object(c.a)({},"".concat($,"-disabled"),X)),style:re,unselectable:"unselectable",ref:this.savePaginationNode},ur),fr,m.a.createElement("li",{title:we?ve.prev_page:null,onClick:this.prev,tabIndex:yn?null:0,onKeyPress:this.runIfEnterPrev,className:e()("".concat($,"-prev"),Object(c.a)({},"".concat($,"-disabled"),yn)),"aria-disabled":yn},this.renderPrev(ut)),Ze,m.a.createElement("li",{title:we?ve.next_page:null,onClick:this.next,tabIndex:Jr?null:0,onKeyPress:this.runIfEnterNext,className:e()("".concat($,"-next"),Object(c.a)({},"".concat($,"-disabled"),Jr)),"aria-disabled":Jr},this.renderNext(Xt)),m.a.createElement(f,{disabled:X,locale:ve,rootPrefixCls:$,selectComponentClass:Le,selectPrefixCls:pt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:wt,pageSize:Et,pageSizeOptions:Qe,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Gt}))}}],[{key:"getDerivedStateFromProps",value:function(Oe,se){var $={};if("current"in Oe&&($.current=Oe.current,Oe.current!==se.current&&($.currentInputValue=$.current)),"pageSize"in Oe&&Oe.pageSize!==se.pageSize){var ze=se.current,re=T(Oe.pageSize,se,Oe);ze=ze>re?re:ze,"current"in Oe||($.current=ze,$.currentInputValue=ze),$.pageSize=Oe.pageSize}return $}}]),De}(m.a.Component);w.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:v,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:v,locale:g.a,style:{},itemRender:E,totalBoundaryShowSizeChanger:50};var S=w,I=d("H4fg"),L=d("DFhj"),O=d.n(L),N=d("fEPi"),R=d.n(N),D=d("u9fO"),B=d.n(D),M=d("mO/d"),U=d.n(M),F=d("2fM7"),j=function(pe){return b.createElement(F.a,A()({size:"small"},pe))};j.Option=F.a.Option;var W=j,V=d("YMnH"),z=d("H84U"),Y=d("5OYt"),J=function(ge,pe){var De={};for(var ce in ge)Object.prototype.hasOwnProperty.call(ge,ce)&&pe.indexOf(ce)<0&&(De[ce]=ge[ce]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,ce=Object.getOwnPropertySymbols(ge);Oe<ce.length;Oe++)pe.indexOf(ce[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ge,ce[Oe])&&(De[ce[Oe]]=ge[ce[Oe]]);return De},ie=function(pe){var De=pe.prefixCls,ce=pe.selectPrefixCls,Oe=pe.className,se=pe.size,$=pe.locale,ze=J(pe,["prefixCls","selectPrefixCls","className","size","locale"]),re=Object(Y.a)(),X=re.xs,G=b.useContext(z.b),Q=G.getPrefixCls,ve=G.direction,de=Q("pagination",De),Ce=function(){var fe=b.createElement("span",{className:"".concat(de,"-item-ellipsis")},"\u2022\u2022\u2022"),xe=b.createElement("button",{className:"".concat(de,"-item-link"),type:"button",tabIndex:-1},b.createElement(O.a,null)),We=b.createElement("button",{className:"".concat(de,"-item-link"),type:"button",tabIndex:-1},b.createElement(R.a,null)),nt=b.createElement("a",{className:"".concat(de,"-item-link")},b.createElement("div",{className:"".concat(de,"-item-container")},b.createElement(B.a,{className:"".concat(de,"-item-link-icon")}),fe)),$e=b.createElement("a",{className:"".concat(de,"-item-link")},b.createElement("div",{className:"".concat(de,"-item-container")},b.createElement(U.a,{className:"".concat(de,"-item-link-icon")}),fe));if(ve==="rtl"){var Le=[We,xe];xe=Le[0],We=Le[1];var pt=[$e,nt];nt=pt[0],$e=pt[1]}return{prevIcon:xe,nextIcon:We,jumpPrevIcon:nt,jumpNextIcon:$e}},we=function(fe){var xe=A()(A()({},fe),$),We=se==="small"||!!(X&&!se&&ze.responsive),nt=Q("select",ce),$e=e()(Oe,x()({mini:We},"".concat(de,"-rtl"),ve==="rtl"));return b.createElement(S,A()({},ze,{prefixCls:de,selectPrefixCls:nt},Ce(),{className:$e,selectComponentClass:We?W:F.a,locale:xe}))};return b.createElement(V.a,{componentName:"Pagination",defaultLocale:I.a},we)},Z=ie,oe=k.a=Z},NohK:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=function(C){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,b=null;return function(){for(var m=this,p=arguments.length,c=new Array(p),o=0;o<p;o++)c[o]=arguments[o];clearTimeout(b),b=setTimeout(function(){C.apply(m,c)},A)}};k.default=_},Nu4q:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={icon:function(C,A){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:C}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:A}},{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:A}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:A}},{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:C}}]}},name:"picture",theme:"twotone"};k.default=_},NvD2:function(H,k,d){"use strict";d.d(k,"a",function(){return m});var _=d("Kwbf");function x(p,c){var o=new Set;return p.forEach(function(r){c.has(r)||o.add(r)}),o}function C(p){var c=p||{},o=c.disabled,r=c.disableCheckbox,i=c.checkable;return!!(o||r)||i===!1}function A(p,c,o,r){for(var i=new Set(p),n=new Set,t=0;t<=o;t+=1){var s=c.get(t)||new Set;s.forEach(function(u){var h=u.key,f=u.node,g=u.children,v=g===void 0?[]:g;i.has(h)&&!r(f)&&v.filter(function(y){return!r(y.node)}).forEach(function(y){i.add(y.key)})})}for(var e=new Set,a=o;a>=0;a-=1){var l=c.get(a)||new Set;l.forEach(function(u){var h=u.parent,f=u.node;if(r(f)||!u.parent||e.has(u.parent.key))return;if(r(u.parent.node)){e.add(h.key);return}var g=!0,v=!1;(h.children||[]).filter(function(y){return!r(y.node)}).forEach(function(y){var E=y.key,T=i.has(E);g&&!T&&(g=!1),!v&&(T||n.has(E))&&(v=!0)}),g&&i.add(h.key),v&&n.add(h.key),e.add(h.key)})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(x(n,i))}}function b(p,c,o,r,i){for(var n=new Set(p),t=new Set(c),s=0;s<=r;s+=1){var e=o.get(s)||new Set;e.forEach(function(h){var f=h.key,g=h.node,v=h.children,y=v===void 0?[]:v;!n.has(f)&&!t.has(f)&&!i(g)&&y.filter(function(E){return!i(E.node)}).forEach(function(E){n.delete(E.key)})})}t=new Set;for(var a=new Set,l=r;l>=0;l-=1){var u=o.get(l)||new Set;u.forEach(function(h){var f=h.parent,g=h.node;if(i(g)||!h.parent||a.has(h.parent.key))return;if(i(h.parent.node)){a.add(f.key);return}var v=!0,y=!1;(f.children||[]).filter(function(E){return!i(E.node)}).forEach(function(E){var T=E.key,w=n.has(T);v&&!w&&(v=!1),!y&&(w||t.has(T))&&(y=!0)}),v||n.delete(f.key),y&&t.add(f.key),a.add(f.key)})}return{checkedKeys:Array.from(n),halfCheckedKeys:Array.from(x(t,n))}}function m(p,c,o,r){var i=[],n;r?n=r:n=C;var t=new Set(p.filter(function(l){var u=!!o[l];return u||i.push(l),u})),s=new Map,e=0;Object.keys(o).forEach(function(l){var u=o[l],h=u.level,f=s.get(h);f||(f=new Set,s.set(h,f)),f.add(u),e=Math.max(e,h)}),Object(_.a)(!i.length,"Tree missing follow keys: ".concat(i.slice(0,100).map(function(l){return"'".concat(l,"'")}).join(", ")));var a;return c===!0?a=A(t,s,e,n):a=b(t,c.halfCheckedKeys,s,e,n),a}},"O/iA":function(H,k,d){},O3gP:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("O/iA"),A=d.n(C),b=d("OaEy")},OELB:function(H,k,d){var _=d("bYtY"),x=1e-4;function C(y){return y.replace(/^\s+|\s+$/g,"")}function A(y,E,T,w){var S=E[1]-E[0],I=T[1]-T[0];if(S===0)return I===0?T[0]:(T[0]+T[1])/2;if(w)if(S>0){if(y<=E[0])return T[0];if(y>=E[1])return T[1]}else{if(y>=E[0])return T[0];if(y<=E[1])return T[1]}else{if(y===E[0])return T[0];if(y===E[1])return T[1]}return(y-E[0])/S*I+T[0]}function b(y,E){switch(y){case"center":case"middle":y="50%";break;case"left":case"top":y="0%";break;case"right":case"bottom":y="100%";break}return typeof y=="string"?C(y).match(/%$/)?parseFloat(y)/100*E:parseFloat(y):y==null?NaN:+y}function m(y,E,T){return E==null&&(E=10),E=Math.min(Math.max(0,E),20),y=(+y).toFixed(E),T?y:+y}function p(y){return y.sort(function(E,T){return E-T}),y}function c(y){if(y=+y,isNaN(y))return 0;for(var E=1,T=0;Math.round(y*E)/E!==y;)E*=10,T++;return T}function o(y){var E=y.toString(),T=E.indexOf("e");if(T>0){var w=+E.slice(T+1);return w<0?-w:0}else{var S=E.indexOf(".");return S<0?0:E.length-1-S}}function r(y,E){var T=Math.log,w=Math.LN10,S=Math.floor(T(y[1]-y[0])/w),I=Math.round(T(Math.abs(E[1]-E[0]))/w),L=Math.min(Math.max(-S+I,0),20);return isFinite(L)?L:20}function i(y,E,T){if(!y[E])return 0;var w=_.reduce(y,function(F,j){return F+(isNaN(j)?0:j)},0);if(w===0)return 0;for(var S=Math.pow(10,T),I=_.map(y,function(F){return(isNaN(F)?0:F)/w*S*100}),L=S*100,O=_.map(I,function(F){return Math.floor(F)}),N=_.reduce(O,function(F,j){return F+j},0),R=_.map(I,function(F,j){return F-O[j]});N<L;){for(var D=Number.NEGATIVE_INFINITY,B=null,M=0,U=R.length;M<U;++M)R[M]>D&&(D=R[M],B=M);++O[B],R[B]=0,++N}return O[E]/S}var n=9007199254740991;function t(y){var E=Math.PI*2;return(y%E+E)%E}function s(y){return y>-x&&y<x}var e=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function a(y){if(y instanceof Date)return y;if(typeof y=="string"){var E=e.exec(y);if(!E)return new Date(NaN);if(E[8]){var T=+E[4]||0;return E[8].toUpperCase()!=="Z"&&(T-=E[8].slice(0,3)),new Date(Date.UTC(+E[1],+(E[2]||1)-1,+E[3]||1,T,+(E[5]||0),+E[6]||0,+E[7]||0))}else return new Date(+E[1],+(E[2]||1)-1,+E[3]||1,+E[4]||0,+(E[5]||0),+E[6]||0,+E[7]||0)}else if(y==null)return new Date(NaN);return new Date(Math.round(y))}function l(y){return Math.pow(10,u(y))}function u(y){if(y===0)return 0;var E=Math.floor(Math.log(y)/Math.LN10);return y/Math.pow(10,E)>=10&&E++,E}function h(y,E){var T=u(y),w=Math.pow(10,T),S=y/w,I;return E?S<1.5?I=1:S<2.5?I=2:S<4?I=3:S<7?I=5:I=10:S<1?I=1:S<2?I=2:S<3?I=3:S<5?I=5:I=10,y=I*w,T>=-20?+y.toFixed(T<0?-T:0):y}function f(y,E){var T=(y.length-1)*E+1,w=Math.floor(T),S=+y[w-1],I=T-w;return I?S+I*(y[w]-S):S}function g(y){y.sort(function(N,R){return O(N,R,0)?-1:1});for(var E=-Infinity,T=1,w=0;w<y.length;){for(var S=y[w].interval,I=y[w].close,L=0;L<2;L++)S[L]<=E&&(S[L]=E,I[L]=L?1:1-T),E=S[L],T=I[L];S[0]===S[1]&&I[0]*I[1]!==1?y.splice(w,1):w++}return y;function O(N,R,D){return N.interval[D]<R.interval[D]||N.interval[D]===R.interval[D]&&(N.close[D]-R.close[D]===(D?-1:1)||!D&&O(N,R,1))}}function v(y){return y-parseFloat(y)>=0}k.linearMap=A,k.parsePercent=b,k.round=m,k.asc=p,k.getPrecision=c,k.getPrecisionSafe=o,k.getPixelPrecision=r,k.getPercentWithPrecision=i,k.MAX_SAFE_INTEGER=n,k.remRadian=t,k.isRadianAroundZero=s,k.parseDate=a,k.quantity=l,k.quantityExponent=u,k.nice=h,k.quantile=f,k.reformIntervals=g,k.isNumeric=v},OKJ2:function(H,k,d){var _=d("KxfA"),x=_.retrieveRawValue,C=d("7aKB"),A=C.getTooltipMarker,b=C.formatTpl,m=d("4NO4"),p=m.getTooltipRenderMode,c=/\{@(.+?)\}/g,o={getDataParams:function(r,i){var n=this.getData(i),t=this.getRawValue(r,i),s=n.getRawIndex(r),e=n.getName(r),a=n.getRawDataItem(r),l=n.getItemVisual(r,"color"),u=n.getItemVisual(r,"borderColor"),h=this.ecModel.getComponent("tooltip"),f=h&&h.get("renderMode"),g=p(f),v=this.mainType,y=v==="series",E=n.userOutput;return{componentType:v,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:y?this.subType:null,seriesIndex:this.seriesIndex,seriesId:y?this.id:null,seriesName:y?this.name:null,name:e,dataIndex:s,data:a,dataType:i,value:t,color:l,borderColor:u,dimensionNames:E?E.dimensionNames:null,encode:E?E.encode:null,marker:A({color:l,renderMode:g}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(r,i,n,t,s){i=i||"normal";var e=this.getData(n),a=e.getItemModel(r),l=this.getDataParams(r,n);t!=null&&l.value instanceof Array&&(l.value=l.value[t]);var u=a.get(i==="normal"?[s||"label","formatter"]:[i,s||"label","formatter"]);if(typeof u=="function")return l.status=i,l.dimensionIndex=t,u(l);if(typeof u=="string"){var h=b(u,l);return h.replace(c,function(f,g){var v=g.length;return g.charAt(0)==="["&&g.charAt(v-1)==="]"&&(g=+g.slice(1,v-1)),x(e,r,g)})}},getRawValue:function(r,i){return x(this.getData(i),r)},formatTooltip:function(){}};H.exports=o},OLod:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("K3mO"))})(this,function(_){_.lib.Cipher||function(x){var C=_,A=C.lib,b=A.Base,m=A.WordArray,p=A.BufferedBlockAlgorithm,c=C.enc,o=c.Utf8,r=c.Base64,i=C.algo,n=i.EvpKDF,t=A.Cipher=p.extend({cfg:b.extend(),createEncryptor:function(L,O){return this.create(this._ENC_XFORM_MODE,L,O)},createDecryptor:function(L,O){return this.create(this._DEC_XFORM_MODE,L,O)},init:function(L,O,N){this.cfg=this.cfg.extend(N),this._xformMode=L,this._key=O,this.reset()},reset:function(){p.reset.call(this),this._doReset()},process:function(L){return this._append(L),this._process()},finalize:function(L){L&&this._append(L);var O=this._doFinalize();return O},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function I(L){return typeof L=="string"?S:E}return function(L){return{encrypt:function(N,R,D){return I(R).encrypt(L,N,R,D)},decrypt:function(N,R,D){return I(R).decrypt(L,N,R,D)}}}}()}),s=A.StreamCipher=t.extend({_doFinalize:function(){var L=this._process(!0);return L},blockSize:1}),e=C.mode={},a=A.BlockCipherMode=b.extend({createEncryptor:function(L,O){return this.Encryptor.create(L,O)},createDecryptor:function(L,O){return this.Decryptor.create(L,O)},init:function(L,O){this._cipher=L,this._iv=O}}),l=e.CBC=function(){var I=a.extend();I.Encryptor=I.extend({processBlock:function(N,R){var D=this._cipher,B=D.blockSize;L.call(this,N,R,B),D.encryptBlock(N,R),this._prevBlock=N.slice(R,R+B)}}),I.Decryptor=I.extend({processBlock:function(N,R){var D=this._cipher,B=D.blockSize,M=N.slice(R,R+B);D.decryptBlock(N,R),L.call(this,N,R,B),this._prevBlock=M}});function L(O,N,R){var D,B=this._iv;B?(D=B,this._iv=x):D=this._prevBlock;for(var M=0;M<R;M++)O[N+M]^=D[M]}return I}(),u=C.pad={},h=u.Pkcs7={pad:function(L,O){for(var N=O*4,R=N-L.sigBytes%N,D=R<<24|R<<16|R<<8|R,B=[],M=0;M<R;M+=4)B.push(D);var U=m.create(B,R);L.concat(U)},unpad:function(L){var O=L.words[L.sigBytes-1>>>2]&255;L.sigBytes-=O}},f=A.BlockCipher=t.extend({cfg:t.cfg.extend({mode:l,padding:h}),reset:function(){var L;t.reset.call(this);var O=this.cfg,N=O.iv,R=O.mode;this._xformMode==this._ENC_XFORM_MODE?L=R.createEncryptor:(L=R.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==L?this._mode.init(this,N&&N.words):(this._mode=L.call(R,this,N&&N.words),this._mode.__creator=L)},_doProcessBlock:function(L,O){this._mode.processBlock(L,O)},_doFinalize:function(){var L,O=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(O.pad(this._data,this.blockSize),L=this._process(!0)):(L=this._process(!0),O.unpad(L)),L},blockSize:128/32}),g=A.CipherParams=b.extend({init:function(L){this.mixIn(L)},toString:function(L){return(L||this.formatter).stringify(this)}}),v=C.format={},y=v.OpenSSL={stringify:function(L){var O,N=L.ciphertext,R=L.salt;return R?O=m.create([1398893684,1701076831]).concat(R).concat(N):O=N,O.toString(r)},parse:function(L){var O,N=r.parse(L),R=N.words;return R[0]==1398893684&&R[1]==1701076831&&(O=m.create(R.slice(2,4)),R.splice(0,4),N.sigBytes-=16),g.create({ciphertext:N,salt:O})}},E=A.SerializableCipher=b.extend({cfg:b.extend({format:y}),encrypt:function(L,O,N,R){R=this.cfg.extend(R);var D=L.createEncryptor(N,R),B=D.finalize(O),M=D.cfg;return g.create({ciphertext:B,key:N,iv:M.iv,algorithm:L,mode:M.mode,padding:M.padding,blockSize:L.blockSize,formatter:R.format})},decrypt:function(L,O,N,R){R=this.cfg.extend(R),O=this._parse(O,R.format);var D=L.createDecryptor(N,R).finalize(O.ciphertext);return D},_parse:function(L,O){return typeof L=="string"?O.parse(L,this):L}}),T=C.kdf={},w=T.OpenSSL={execute:function(L,O,N,R){R||(R=m.random(64/8));var D=n.create({keySize:O+N}).compute(L,R),B=m.create(D.words.slice(O),N*4);return D.sigBytes=O*4,g.create({key:D,iv:B,salt:R})}},S=A.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:w}),encrypt:function(L,O,N,R){R=this.cfg.extend(R);var D=R.kdf.execute(N,L.keySize,L.ivSize);R.iv=D.iv;var B=E.encrypt.call(this,L,O,D.key,R);return B.mixIn(D),B},decrypt:function(L,O,N,R){R=this.cfg.extend(R),O=this._parse(O,R.format);var D=R.kdf.execute(N,L.keySize,L.ivSize,O.salt);R.iv=D.iv;var B=E.decrypt.call(this,L,O,D.key,R);return B}})}()})},OPEp:function(H,k,d){},OQFs:function(H,k,d){var _=d("KCsZ"),x=_([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C={getLineStyle:function(A){var b=x(this,A);return b.lineDash=this.getLineDash(b.lineWidth),b},getLineDash:function(A){A==null&&(A=1);var b=this.get("type"),m=Math.max(A,2),p=A*4;return b==="solid"||b==null?!1:b==="dashed"?[p,p]:[m,m]}};H.exports=C},OS9S:function(H,k,d){var _=d("bYtY"),x=_.inherits,C=d("Gev7"),A=d("mFDi");function b(c){C.call(this,c),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}b.prototype.incremental=!0,b.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},b.prototype.addDisplayable=function(c,o){o?this._temporaryDisplayables.push(c):this._displayables.push(c),this.dirty()},b.prototype.addDisplayables=function(c,o){o=o||!1;for(var r=0;r<c.length;r++)this.addDisplayable(c[r],o)},b.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])},b.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}},b.prototype.brush=function(c,o){for(var r=this._cursor;r<this._displayables.length;r++){var i=this._displayables[r];i.beforeBrush&&i.beforeBrush(c),i.brush(c,r===this._cursor?null:this._displayables[r-1]),i.afterBrush&&i.afterBrush(c)}this._cursor=r;for(var r=0;r<this._temporaryDisplayables.length;r++){var i=this._temporaryDisplayables[r];i.beforeBrush&&i.beforeBrush(c),i.brush(c,r===0?null:this._temporaryDisplayables[r-1]),i.afterBrush&&i.afterBrush(c)}this._temporaryDisplayables=[],this.notClear=!0};var m=[];b.prototype.getBoundingRect=function(){if(!this._rect){for(var c=new A(Infinity,Infinity,-Infinity,-Infinity),o=0;o<this._displayables.length;o++){var r=this._displayables[o],i=r.getBoundingRect().clone();r.needLocalTransform()&&i.applyTransform(r.getLocalTransform(m)),c.union(i)}this._rect=c}return this._rect},b.prototype.contain=function(c,o){var r=this.transformCoordToLocal(c,o),i=this.getBoundingRect();if(i.contain(r[0],r[1]))for(var n=0;n<this._displayables.length;n++){var t=this._displayables[n];if(t.contain(c,o))return!0}return!1},x(b,C);var p=b;H.exports=p},OUJF:function(H,k,d){var _=d("ProS"),x=d("bYtY");_.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(C,A){var b=A.getComponent("timeline");return b&&C.currentIndex!=null&&(b.setCurrentIndex(C.currentIndex),!b.get("loop",!0)&&b.isIndexMax()&&b.setPlayState(!1)),A.resetOption("timeline"),x.defaults({currentIndex:b.option.currentIndex},C)}),_.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(C,A){var b=A.getComponent("timeline");b&&C.playState!=null&&b.setPlayState(C.playState)})},OXB0:function(H,k,d){var _=d("T4UG"),x=d("MwEJ"),C=d("IDmD"),A=_.extend({type:"series.heatmap",getInitialData:function(b,m){return x(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var b=C.get(this.get("coordinateSystem"));if(b&&b.dimensions)return b.dimensions[0]==="lng"&&b.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});H.exports=A},OZM5:function(H,k,d){"use strict";d.d(k,"b",function(){return r}),d.d(k,"a",function(){return i}),d.d(k,"k",function(){return n}),d.d(k,"h",function(){return t}),d.d(k,"i",function(){return s}),d.d(k,"g",function(){return e}),d.d(k,"c",function(){return a}),d.d(k,"d",function(){return l}),d.d(k,"j",function(){return f}),d.d(k,"e",function(){return g}),d.d(k,"f",function(){return v});var _=d("KQm4"),x=d("U8pU"),C=d("Ff2n"),A=d("q1tI"),b=d.n(A),m=d("Kwbf"),p=d("WaYH"),c=.25,o=2;function r(y,E){var T=y.slice(),w=T.indexOf(E);return w>=0&&T.splice(w,1),T}function i(y,E){var T=y.slice();return T.indexOf(E)===-1&&T.push(E),T}function n(y){return y.split("-")}function t(y,E){return"".concat(y,"-").concat(E)}function s(y){return y&&y.type&&y.type.isTreeNode}function e(y,E){var T=[y],w=E[y];function S(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];I.forEach(function(L){var O=L.key,N=L.children;T.push(O),S(N)})}return S(w.children),T}function a(y,E){var T=y.clientY,w=E.selectHandle.getBoundingClientRect(),S=w.top,I=w.bottom,L=w.height,O=Math.max(L*c,o);return T<=S+O?-1:T>=I-O?1:0}function l(y,E){if(!y)return;var T=E.multiple;return T?y.slice():y.length?[y[0]]:y}var u=function(E){return E};function h(y,E){if(!y)return[];var T=E||{},w=T.processProps,S=w===void 0?u:w,I=Array.isArray(y)?y:[y];return I.map(function(L){var O=L.children,N=Object(C.a)(L,["children"]),R=h(O,E);return b.a.createElement(p.a,Object.assign({},S(N)),R)})}function f(y){if(!y)return null;var E;if(Array.isArray(y))E={checkedKeys:y,halfCheckedKeys:void 0};else if(Object(x.a)(y)==="object")E={checkedKeys:y.checked||void 0,halfCheckedKeys:y.halfChecked||void 0};else return Object(m.a)(!1,"`checkedKeys` is not an array or an object"),null;return E}function g(y,E){var T=new Set;function w(S){if(T.has(S))return;var I=E[S];if(!I)return;T.add(S);var L=I.parent,O=I.node;if(O.disabled)return;L&&w(L.key)}return(y||[]).forEach(function(S){w(S)}),Object(_.a)(T)}function v(y){var E={};return Object.keys(y).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(E[T]=y[T])}),E}},OaEy:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("bKJz"),A=d.n(C),b=d("R9oj")},Ol7k:function(H,k,d){"use strict";var _=d("PKem"),x=d("ZX9x");_.b.Sider=x.b,k.a=_.b},OlYY:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("ItGF"),m=d("4NO4"),p=d("UOVi"),c=d("zDms"),o=A.each,r=p.eachAxisDim,i=C.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(e,a,l){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var u=n(e);this.settledOption=u,this.mergeDefaultAndTheme(e,l),this.doInit(u)},mergeOption:function(e){var a=n(e);A.merge(this.option,e,!0),A.merge(this.settledOption,a,!0),this.doInit(a)},doInit:function(e){var a=this.option;b.canvasSupported||(a.realtime=!1),this._setDefaultThrottle(e),t(this,e);var l=this.settledOption;o([["start","startValue"],["end","endValue"]],function(u,h){this._rangePropMode[h]==="value"&&(a[u[0]]=l[u[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis(function(a,l,u,h){var f=this.dependentModels[a.axis][l],g=f.__dzAxisProxy||(f.__dzAxisProxy=new c(a.name,l,this,h));e[a.name+"_"+l]=g},this)},_resetTarget:function(){var e=this.option,a=this._judgeAutoMode();r(function(l){var u=l.axisIndex;e[u]=m.normalizeToArray(e[u])},this),a==="axisIndex"?this._autoSetAxisIndex():a==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,a=!1;r(function(u){e[u.axisIndex]!=null&&(a=!0)},this);var l=e.orient;if(l==null&&a)return"orient";if(!a)return l==null&&(e.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var e=!0,a=this.get("orient",!0),l=this.option,u=this.dependentModels;if(e){var h=a==="vertical"?"y":"x";u[h+"Axis"].length?(l[h+"AxisIndex"]=[0],e=!1):o(u.singleAxis,function(f){e&&f.get("orient",!0)===a&&(l.singleAxisIndex=[f.componentIndex],e=!1)})}e&&r(function(f){if(!e)return;var g=[],v=this.dependentModels[f.axis];if(v.length&&!g.length)for(var y=0,E=v.length;y<E;y++)v[y].get("type")==="category"&&g.push(y);l[f.axisIndex]=g,g.length&&(e=!1)},this),e&&this.ecModel.eachSeries(function(f){this._isSeriesHasAllAxesTypeOf(f,"value")&&r(function(g){var v=l[g.axisIndex],y=f.get(g.axisIndex),E=f.get(g.axisId),T=f.ecModel.queryComponents({mainType:g.axis,index:y,id:E})[0];y=T.componentIndex,A.indexOf(v,y)<0&&v.push(y)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(a){!e&&(e=a.name)},this),this.option.orient=e==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,a){var l=!0;return r(function(u){var h=e.get(u.axisIndex),f=this.dependentModels[u.axis][h];(!f||f.get("type")!==a)&&(l=!1)},this),l},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return r(function(a){if(e==null){var l=this.get(a.axisIndex);l.length&&(e=this.dependentModels[a.axis][l[0]])}},this),e},eachTargetAxis:function(e,a){var l=this.ecModel;r(function(u){o(this.get(u.axisIndex),function(h){e.call(a,u,h,this,l)},this)},this)},getAxisProxy:function(e,a){return this._axisProxies[e+"_"+a]},getAxisModel:function(e,a){var l=this.getAxisProxy(e,a);return l&&l.getAxisModel()},setRawRange:function(e){var a=this.option,l=this.settledOption;o([["start","startValue"],["end","endValue"]],function(u){(e[u[0]]!=null||e[u[1]]!=null)&&(a[u[0]]=l[u[0]]=e[u[0]],a[u[1]]=l[u[1]]=e[u[1]])},this),t(this,e)},setCalculatedRange:function(e){var a=this.option;o(["start","startValue","end","endValue"],function(l){a[l]=e[l]})},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,a){if(e==null&&a==null){var l=this.findRepresentativeAxisProxy();if(l)return l.getDataValueWindow()}else return this.getAxisProxy(e,a).getDataValueWindow()},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var a=this._axisProxies;for(var l in a)if(a.hasOwnProperty(l)&&a[l].hostedBy(this))return a[l];for(var l in a)if(a.hasOwnProperty(l)&&!a[l].hostedBy(this))return a[l]},getRangePropMode:function(){return this._rangePropMode.slice()}});function n(e){var a={};return o(["start","end","startValue","endValue","throttle"],function(l){e.hasOwnProperty(l)&&(a[l]=e[l])}),a}function t(e,a){var l=e._rangePropMode,u=e.get("rangeMode");o([["start","startValue"],["end","endValue"]],function(h,f){var g=a[h[0]]!=null,v=a[h[1]]!=null;g&&!v?l[f]="percent":!g&&v?l[f]="value":u?l[f]=u[f]:g&&(l[f]="percent")})}var s=i;H.exports=s},OnYD:function(H,k,d){},"Oy/b":function(H,k,d){(function(x,C){H.exports=C()})(typeof self!="undefined"?self:this,function(){return function(_){var x={};function C(A){if(x[A])return x[A].exports;var b=x[A]={i:A,l:!1,exports:{}};return _[A].call(b.exports,b,b.exports,C),b.l=!0,b.exports}return C.m=_,C.c=x,C.d=function(A,b,m){C.o(A,b)||Object.defineProperty(A,b,{enumerable:!0,get:m})},C.r=function(A){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},C.t=function(A,b){if(b&1&&(A=C(A)),b&8)return A;if(b&4&&typeof A=="object"&&A&&A.__esModule)return A;var m=Object.create(null);if(C.r(m),Object.defineProperty(m,"default",{enumerable:!0,value:A}),b&2&&typeof A!="string")for(var p in A)C.d(m,p,function(c){return A[c]}.bind(null,p));return m},C.n=function(A){var b=A&&A.__esModule?function(){return A.default}:function(){return A};return C.d(b,"a",b),b},C.o=function(A,b){return Object.prototype.hasOwnProperty.call(A,b)},C.p="",C(C.s=1)}([function(_,x,C){},function(_,x,C){"use strict";C.r(x);var A=C(0),b=function(){function ft(ne,Ae,Te){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=ne,this.start=Ae,this.end=Te}return ft.range=function(Ae,Te){return Te?!Ae||!Ae.loc||!Te.loc||Ae.loc.lexer!==Te.loc.lexer?null:new ft(Ae.loc.lexer,Ae.loc.start,Te.loc.end):Ae&&Ae.loc},ft}(),m=function(){function ft(Ae,Te){this.text=void 0,this.loc=void 0,this.text=Ae,this.loc=Te}var ne=ft.prototype;return ne.range=function(Te,je){return new ft(je,b.range(this,Te))},ft}(),p=function ft(ne,Ae){this.position=void 0;var Te="KaTeX parse error: "+ne,je,st=Ae&&Ae.loc;if(st&&st.start<=st.end){var xt=st.lexer.input;je=st.start;var gr=st.end;je===xt.length?Te+=" at end of input: ":Te+=" at position "+(je+1)+": ";var Ir=xt.slice(je,gr).replace(/[^]/g,"$&\u0332"),Zr;je>15?Zr="\u2026"+xt.slice(je-15,je):Zr=xt.slice(0,je);var En;gr+15<xt.length?En=xt.slice(gr,gr+15)+"\u2026":En=xt.slice(gr),Te+=Zr+Ir+En}var Hn=new Error(Te);return Hn.name="ParseError",Hn.__proto__=ft.prototype,Hn.position=je,Hn};p.prototype.__proto__=Error.prototype;var c=p,o=function(ne,Ae){return ne.indexOf(Ae)!==-1},r=function(ne,Ae){return ne===void 0?Ae:ne},i=/([A-Z])/g,n=function(ne){return ne.replace(i,"-$1").toLowerCase()},t={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},s=/[&><"']/g;function e(ft){return String(ft).replace(s,function(ne){return t[ne]})}var a=function ft(ne){return ne.type==="ordgroup"||ne.type==="color"?ne.body.length===1?ft(ne.body[0]):ne:ne.type==="font"?ft(ne.body):ne},l=function(ne){var Ae=a(ne);return Ae.type==="mathord"||Ae.type==="textord"||Ae.type==="atom"},u=function(ne){if(!ne)throw new Error("Expected non-null, but got "+String(ne));return ne},h=function(ne){var Ae=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(ne);return Ae!=null?Ae[1]:"_relative"},f={contains:o,deflt:r,escape:e,hyphenate:n,getBaseElem:a,isCharacterBox:l,protocolFromUrl:h},g=function(){function ft(Ae){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,Ae=Ae||{},this.displayMode=f.deflt(Ae.displayMode,!1),this.output=f.deflt(Ae.output,"htmlAndMathml"),this.leqno=f.deflt(Ae.leqno,!1),this.fleqn=f.deflt(Ae.fleqn,!1),this.throwOnError=f.deflt(Ae.throwOnError,!0),this.errorColor=f.deflt(Ae.errorColor,"#cc0000"),this.macros=Ae.macros||{},this.minRuleThickness=Math.max(0,f.deflt(Ae.minRuleThickness,0)),this.colorIsTextColor=f.deflt(Ae.colorIsTextColor,!1),this.strict=f.deflt(Ae.strict,"warn"),this.trust=f.deflt(Ae.trust,!1),this.maxSize=Math.max(0,f.deflt(Ae.maxSize,Infinity)),this.maxExpand=Math.max(0,f.deflt(Ae.maxExpand,1e3))}var ne=ft.prototype;return ne.reportNonstrict=function(Te,je,st){var xt=this.strict;if(typeof xt=="function"&&(xt=xt(Te,je,st)),!xt||xt==="ignore")return;if(xt===!0||xt==="error")throw new c("LaTeX-incompatible input and strict mode is set to 'error': "+(je+" ["+Te+"]"),st);xt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(je+" ["+Te+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+xt+"': "+je+" ["+Te+"]"))},ne.useStrictBehavior=function(Te,je,st){var xt=this.strict;if(typeof xt=="function")try{xt=xt(Te,je,st)}catch(gr){xt="error"}return!xt||xt==="ignore"?!1:xt===!0||xt==="error"?!0:xt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(je+" ["+Te+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+xt+"': "+je+" ["+Te+"]")),!1)},ne.isTrusted=function(Te){Te.url&&!Te.protocol&&(Te.protocol=f.protocolFromUrl(Te.url));var je=typeof this.trust=="function"?this.trust(Te):this.trust;return Boolean(je)},ft}(),v=function(){function ft(Ae,Te,je){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Ae,this.size=Te,this.cramped=je}var ne=ft.prototype;return ne.sup=function(){return N[R[this.id]]},ne.sub=function(){return N[D[this.id]]},ne.fracNum=function(){return N[B[this.id]]},ne.fracDen=function(){return N[M[this.id]]},ne.cramp=function(){return N[U[this.id]]},ne.text=function(){return N[F[this.id]]},ne.isTight=function(){return this.size>=2},ft}(),y=0,E=1,T=2,w=3,S=4,I=5,L=6,O=7,N=[new v(y,0,!1),new v(E,0,!0),new v(T,1,!1),new v(w,1,!0),new v(S,2,!1),new v(I,2,!0),new v(L,3,!1),new v(O,3,!0)],R=[S,I,S,I,L,O,L,O],D=[I,I,I,I,O,O,O,O],B=[T,w,S,I,L,O,L,O],M=[w,w,I,I,O,O,O,O],U=[E,E,w,w,I,I,O,O],F=[y,E,T,w,T,w,T,w],j={DISPLAY:N[y],TEXT:N[T],SCRIPT:N[S],SCRIPTSCRIPT:N[L]},W=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function V(ft){for(var ne=0;ne<W.length;ne++)for(var Ae=W[ne],Te=0;Te<Ae.blocks.length;Te++){var je=Ae.blocks[Te];if(ft>=je[0]&&ft<=je[1])return Ae.name}return null}var z=[];W.forEach(function(ft){return ft.blocks.forEach(function(ne){return z.push.apply(z,ne)})});function Y(ft){for(var ne=0;ne<z.length;ne+=2)if(ft>=z[ne]&&ft<=z[ne+1])return!0;return!1}var J=80,ie=function(ne,Ae){return"M95,"+(622+ne+Ae)+`
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`+ne/2.075+" -"+ne+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+ne)+`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+ne)+" "+Ae+"h400000v"+(40+ne)+"h-400000z"},Z=function(ne,Ae){return"M263,"+(601+ne+Ae)+`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`+ne/2.084+" -"+ne+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+ne)+`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+ne)+" "+Ae+"h400000v"+(40+ne)+"h-400000z"},oe=function(ne,Ae){return"M983 "+(10+ne+Ae)+`
l`+ne/3.13+" -"+ne+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+ne)+`
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+ne)+" "+Ae+"h400000v"+(40+ne)+"h-400000z"},ge=function(ne,Ae){return"M424,"+(2398+ne+Ae)+`
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`+ne/4.223+" -"+ne+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+ne)+`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+ne)+" "+Ae+`
h400000v`+(40+ne)+"h-400000z"},pe=function(ne,Ae){return"M473,"+(2713+ne+Ae)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+ne/5.298+" -"+ne+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+ne)+`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+ne)+" "+Ae+"h400000v"+(40+ne)+"H1017.7z"},De=function(ne,Ae,Te){var je=Te-54-Ae-ne;return"M702 "+(ne+Ae)+"H400000"+(40+ne)+`
H742v`+je+`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 `+Ae+"H400000v"+(40+ne)+"H742z"},ce=function(ne,Ae,Te){Ae=1e3*Ae;var je="";switch(ne){case"sqrtMain":je=ie(Ae,J);break;case"sqrtSize1":je=Z(Ae,J);break;case"sqrtSize2":je=oe(Ae,J);break;case"sqrtSize3":je=ge(Ae,J);break;case"sqrtSize4":je=pe(Ae,J);break;case"sqrtTall":je=De(Ae,J,Te)}return je},Oe={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`},se=function(){function ft(Ae){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=Ae,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var ne=ft.prototype;return ne.hasClass=function(Te){return f.contains(this.classes,Te)},ne.toNode=function(){for(var Te=document.createDocumentFragment(),je=0;je<this.children.length;je++)Te.appendChild(this.children[je].toNode());return Te},ne.toMarkup=function(){for(var Te="",je=0;je<this.children.length;je++)Te+=this.children[je].toMarkup();return Te},ne.toText=function(){var Te=function(st){return st.toText()};return this.children.map(Te).join("")},ft}(),$=function(ne){return ne.filter(function(Ae){return Ae}).join(" ")},ze=function(ne,Ae,Te){if(this.classes=ne||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Te||{},Ae){Ae.style.isTight()&&this.classes.push("mtight");var je=Ae.getColor();je&&(this.style.color=je)}},re=function(ne){var Ae=document.createElement(ne);Ae.className=$(this.classes);for(var Te in this.style)this.style.hasOwnProperty(Te)&&(Ae.style[Te]=this.style[Te]);for(var je in this.attributes)this.attributes.hasOwnProperty(je)&&Ae.setAttribute(je,this.attributes[je]);for(var st=0;st<this.children.length;st++)Ae.appendChild(this.children[st].toNode());return Ae},X=function(ne){var Ae="<"+ne;this.classes.length&&(Ae+=' class="'+f.escape($(this.classes))+'"');var Te="";for(var je in this.style)this.style.hasOwnProperty(je)&&(Te+=f.hyphenate(je)+":"+this.style[je]+";");Te&&(Ae+=' style="'+f.escape(Te)+'"');for(var st in this.attributes)this.attributes.hasOwnProperty(st)&&(Ae+=" "+st+'="'+f.escape(this.attributes[st])+'"');Ae+=">";for(var xt=0;xt<this.children.length;xt++)Ae+=this.children[xt].toMarkup();return Ae+="</"+ne+">",Ae},G=function(){function ft(Ae,Te,je,st){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,ze.call(this,Ae,je,st),this.children=Te||[]}var ne=ft.prototype;return ne.setAttribute=function(Te,je){this.attributes[Te]=je},ne.hasClass=function(Te){return f.contains(this.classes,Te)},ne.toNode=function(){return re.call(this,"span")},ne.toMarkup=function(){return X.call(this,"span")},ft}(),Q=function(){function ft(Ae,Te,je,st){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,ze.call(this,Te,st),this.children=je||[],this.setAttribute("href",Ae)}var ne=ft.prototype;return ne.setAttribute=function(Te,je){this.attributes[Te]=je},ne.hasClass=function(Te){return f.contains(this.classes,Te)},ne.toNode=function(){return re.call(this,"a")},ne.toMarkup=function(){return X.call(this,"a")},ft}(),ve=function(){function ft(Ae,Te,je){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=Te,this.src=Ae,this.classes=["mord"],this.style=je}var ne=ft.prototype;return ne.hasClass=function(Te){return f.contains(this.classes,Te)},ne.toNode=function(){var Te=document.createElement("img");Te.src=this.src,Te.alt=this.alt,Te.className="mord";for(var je in this.style)this.style.hasOwnProperty(je)&&(Te.style[je]=this.style[je]);return Te},ne.toMarkup=function(){var Te="<img src='"+this.src+" 'alt='"+this.alt+"' ",je="";for(var st in this.style)this.style.hasOwnProperty(st)&&(je+=f.hyphenate(st)+":"+this.style[st]+";");return je&&(Te+=' style="'+f.escape(je)+'"'),Te+="'/>",Te},ft}(),de={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ce=function(){function ft(Ae,Te,je,st,xt,gr,Ir,Zr){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=Ae,this.height=Te||0,this.depth=je||0,this.italic=st||0,this.skew=xt||0,this.width=gr||0,this.classes=Ir||[],this.style=Zr||{},this.maxFontSize=0;var En=V(this.text.charCodeAt(0));En&&this.classes.push(En+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=de[this.text])}var ne=ft.prototype;return ne.hasClass=function(Te){return f.contains(this.classes,Te)},ne.toNode=function(){var Te=document.createTextNode(this.text),je=null;this.italic>0&&(je=document.createElement("span"),je.style.marginRight=this.italic+"em"),this.classes.length>0&&(je=je||document.createElement("span"),je.className=$(this.classes));for(var st in this.style)this.style.hasOwnProperty(st)&&(je=je||document.createElement("span"),je.style[st]=this.style[st]);return je?(je.appendChild(Te),je):Te},ne.toMarkup=function(){var Te=!1,je="<span";this.classes.length&&(Te=!0,je+=' class="',je+=f.escape($(this.classes)),je+='"');var st="";this.italic>0&&(st+="margin-right:"+this.italic+"em;");for(var xt in this.style)this.style.hasOwnProperty(xt)&&(st+=f.hyphenate(xt)+":"+this.style[xt]+";");st&&(Te=!0,je+=' style="'+f.escape(st)+'"');var gr=f.escape(this.text);return Te?(je+=">",je+=gr,je+="</span>",je):gr},ft}(),we=function(){function ft(Ae,Te){this.children=void 0,this.attributes=void 0,this.children=Ae||[],this.attributes=Te||{}}var ne=ft.prototype;return ne.toNode=function(){var Te="http://www.w3.org/2000/svg",je=document.createElementNS(Te,"svg");for(var st in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,st)&&je.setAttribute(st,this.attributes[st]);for(var xt=0;xt<this.children.length;xt++)je.appendChild(this.children[xt].toNode());return je},ne.toMarkup=function(){var Te="<svg";for(var je in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,je)&&(Te+=" "+je+"='"+this.attributes[je]+"'");Te+=">";for(var st=0;st<this.children.length;st++)Te+=this.children[st].toMarkup();return Te+="</svg>",Te},ft}(),le=function(){function ft(Ae,Te){this.pathName=void 0,this.alternate=void 0,this.pathName=Ae,this.alternate=Te}var ne=ft.prototype;return ne.toNode=function(){var Te="http://www.w3.org/2000/svg",je=document.createElementNS(Te,"path");return this.alternate?je.setAttribute("d",this.alternate):je.setAttribute("d",Oe[this.pathName]),je},ne.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Oe[this.pathName]+"'/>"},ft}(),fe=function(){function ft(Ae){this.attributes=void 0,this.attributes=Ae||{}}var ne=ft.prototype;return ne.toNode=function(){var Te="http://www.w3.org/2000/svg",je=document.createElementNS(Te,"line");for(var st in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,st)&&je.setAttribute(st,this.attributes[st]);return je},ne.toMarkup=function(){var Te="<line";for(var je in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,je)&&(Te+=" "+je+"='"+this.attributes[je]+"'");return Te+="/>",Te},ft}();function xe(ft){if(ft instanceof Ce)return ft;throw new Error("Expected symbolNode but got "+String(ft)+".")}function We(ft){if(ft instanceof G)return ft;throw new Error("Expected span<HtmlDomNode> but got "+String(ft)+".")}var nt={"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]}},$e={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]},Le={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function pt(ft,ne){nt[ft]=ne}function Qe(ft,ne,Ae){if(!nt[ne])throw new Error("Font metrics not found for font: "+ne+".");var Te=ft.charCodeAt(0),je=nt[ne][Te];if(!je&&ft[0]in Le&&(Te=Le[ft[0]].charCodeAt(0),je=nt[ne][Te]),!je&&Ae==="text"&&(Y(Te)&&(je=nt[ne][77])),je)return{depth:je[0],height:je[1],italic:je[2],skew:je[3],width:je[4]}}var gt={};function wt(ft){var ne;if(ft>=5?ne=0:ft>=3?ne=1:ne=2,!gt[ne]){var Ae=gt[ne]={cssEmPerMu:$e.quad[ne]/18};for(var Te in $e)$e.hasOwnProperty(Te)&&(Ae[Te]=$e[Te][ne])}return gt[ne]}var Et={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},Ht={math:{},text:{}},Ze=Ht;function ye(ft,ne,Ae,Te,je,st){Ht[ft][je]={font:ne,group:Ae,replace:Te},st&&Te&&(Ht[ft][Te]=Ht[ft][je])}var ae="math",yt="text",et="main",me="ams",Gt="accent-token",rr="bin",ut="close",Xt="inner",ur="mathord",Fr="op-token",er="open",nr="punct",Lt="rel",at="spacing",Je="textord";ye(ae,et,Lt,"\u2261","\\equiv",!0),ye(ae,et,Lt,"\u227A","\\prec",!0),ye(ae,et,Lt,"\u227B","\\succ",!0),ye(ae,et,Lt,"\u223C","\\sim",!0),ye(ae,et,Lt,"\u22A5","\\perp"),ye(ae,et,Lt,"\u2AAF","\\preceq",!0),ye(ae,et,Lt,"\u2AB0","\\succeq",!0),ye(ae,et,Lt,"\u2243","\\simeq",!0),ye(ae,et,Lt,"\u2223","\\mid",!0),ye(ae,et,Lt,"\u226A","\\ll",!0),ye(ae,et,Lt,"\u226B","\\gg",!0),ye(ae,et,Lt,"\u224D","\\asymp",!0),ye(ae,et,Lt,"\u2225","\\parallel"),ye(ae,et,Lt,"\u22C8","\\bowtie",!0),ye(ae,et,Lt,"\u2323","\\smile",!0),ye(ae,et,Lt,"\u2291","\\sqsubseteq",!0),ye(ae,et,Lt,"\u2292","\\sqsupseteq",!0),ye(ae,et,Lt,"\u2250","\\doteq",!0),ye(ae,et,Lt,"\u2322","\\frown",!0),ye(ae,et,Lt,"\u220B","\\ni",!0),ye(ae,et,Lt,"\u221D","\\propto",!0),ye(ae,et,Lt,"\u22A2","\\vdash",!0),ye(ae,et,Lt,"\u22A3","\\dashv",!0),ye(ae,et,Lt,"\u220B","\\owns"),ye(ae,et,nr,".","\\ldotp"),ye(ae,et,nr,"\u22C5","\\cdotp"),ye(ae,et,Je,"#","\\#"),ye(yt,et,Je,"#","\\#"),ye(ae,et,Je,"&","\\&"),ye(yt,et,Je,"&","\\&"),ye(ae,et,Je,"\u2135","\\aleph",!0),ye(ae,et,Je,"\u2200","\\forall",!0),ye(ae,et,Je,"\u210F","\\hbar",!0),ye(ae,et,Je,"\u2203","\\exists",!0),ye(ae,et,Je,"\u2207","\\nabla",!0),ye(ae,et,Je,"\u266D","\\flat",!0),ye(ae,et,Je,"\u2113","\\ell",!0),ye(ae,et,Je,"\u266E","\\natural",!0),ye(ae,et,Je,"\u2663","\\clubsuit",!0),ye(ae,et,Je,"\u2118","\\wp",!0),ye(ae,et,Je,"\u266F","\\sharp",!0),ye(ae,et,Je,"\u2662","\\diamondsuit",!0),ye(ae,et,Je,"\u211C","\\Re",!0),ye(ae,et,Je,"\u2661","\\heartsuit",!0),ye(ae,et,Je,"\u2111","\\Im",!0),ye(ae,et,Je,"\u2660","\\spadesuit",!0),ye(yt,et,Je,"\xA7","\\S",!0),ye(yt,et,Je,"\xB6","\\P",!0),ye(ae,et,Je,"\u2020","\\dag"),ye(yt,et,Je,"\u2020","\\dag"),ye(yt,et,Je,"\u2020","\\textdagger"),ye(ae,et,Je,"\u2021","\\ddag"),ye(yt,et,Je,"\u2021","\\ddag"),ye(yt,et,Je,"\u2021","\\textdaggerdbl"),ye(ae,et,ut,"\u23B1","\\rmoustache",!0),ye(ae,et,er,"\u23B0","\\lmoustache",!0),ye(ae,et,ut,"\u27EF","\\rgroup",!0),ye(ae,et,er,"\u27EE","\\lgroup",!0),ye(ae,et,rr,"\u2213","\\mp",!0),ye(ae,et,rr,"\u2296","\\ominus",!0),ye(ae,et,rr,"\u228E","\\uplus",!0),ye(ae,et,rr,"\u2293","\\sqcap",!0),ye(ae,et,rr,"\u2217","\\ast"),ye(ae,et,rr,"\u2294","\\sqcup",!0),ye(ae,et,rr,"\u25EF","\\bigcirc"),ye(ae,et,rr,"\u2219","\\bullet"),ye(ae,et,rr,"\u2021","\\ddagger"),ye(ae,et,rr,"\u2240","\\wr",!0),ye(ae,et,rr,"\u2A3F","\\amalg"),ye(ae,et,rr,"&","\\And"),ye(ae,et,Lt,"\u27F5","\\longleftarrow",!0),ye(ae,et,Lt,"\u21D0","\\Leftarrow",!0),ye(ae,et,Lt,"\u27F8","\\Longleftarrow",!0),ye(ae,et,Lt,"\u27F6","\\longrightarrow",!0),ye(ae,et,Lt,"\u21D2","\\Rightarrow",!0),ye(ae,et,Lt,"\u27F9","\\Longrightarrow",!0),ye(ae,et,Lt,"\u2194","\\leftrightarrow",!0),ye(ae,et,Lt,"\u27F7","\\longleftrightarrow",!0),ye(ae,et,Lt,"\u21D4","\\Leftrightarrow",!0),ye(ae,et,Lt,"\u27FA","\\Longleftrightarrow",!0),ye(ae,et,Lt,"\u21A6","\\mapsto",!0),ye(ae,et,Lt,"\u27FC","\\longmapsto",!0),ye(ae,et,Lt,"\u2197","\\nearrow",!0),ye(ae,et,Lt,"\u21A9","\\hookleftarrow",!0),ye(ae,et,Lt,"\u21AA","\\hookrightarrow",!0),ye(ae,et,Lt,"\u2198","\\searrow",!0),ye(ae,et,Lt,"\u21BC","\\leftharpoonup",!0),ye(ae,et,Lt,"\u21C0","\\rightharpoonup",!0),ye(ae,et,Lt,"\u2199","\\swarrow",!0),ye(ae,et,Lt,"\u21BD","\\leftharpoondown",!0),ye(ae,et,Lt,"\u21C1","\\rightharpoondown",!0),ye(ae,et,Lt,"\u2196","\\nwarrow",!0),ye(ae,et,Lt,"\u21CC","\\rightleftharpoons",!0),ye(ae,me,Lt,"\u226E","\\nless",!0),ye(ae,me,Lt,"\uE010","\\@nleqslant"),ye(ae,me,Lt,"\uE011","\\@nleqq"),ye(ae,me,Lt,"\u2A87","\\lneq",!0),ye(ae,me,Lt,"\u2268","\\lneqq",!0),ye(ae,me,Lt,"\uE00C","\\@lvertneqq"),ye(ae,me,Lt,"\u22E6","\\lnsim",!0),ye(ae,me,Lt,"\u2A89","\\lnapprox",!0),ye(ae,me,Lt,"\u2280","\\nprec",!0),ye(ae,me,Lt,"\u22E0","\\npreceq",!0),ye(ae,me,Lt,"\u22E8","\\precnsim",!0),ye(ae,me,Lt,"\u2AB9","\\precnapprox",!0),ye(ae,me,Lt,"\u2241","\\nsim",!0),ye(ae,me,Lt,"\uE006","\\@nshortmid"),ye(ae,me,Lt,"\u2224","\\nmid",!0),ye(ae,me,Lt,"\u22AC","\\nvdash",!0),ye(ae,me,Lt,"\u22AD","\\nvDash",!0),ye(ae,me,Lt,"\u22EA","\\ntriangleleft"),ye(ae,me,Lt,"\u22EC","\\ntrianglelefteq",!0),ye(ae,me,Lt,"\u228A","\\subsetneq",!0),ye(ae,me,Lt,"\uE01A","\\@varsubsetneq"),ye(ae,me,Lt,"\u2ACB","\\subsetneqq",!0),ye(ae,me,Lt,"\uE017","\\@varsubsetneqq"),ye(ae,me,Lt,"\u226F","\\ngtr",!0),ye(ae,me,Lt,"\uE00F","\\@ngeqslant"),ye(ae,me,Lt,"\uE00E","\\@ngeqq"),ye(ae,me,Lt,"\u2A88","\\gneq",!0),ye(ae,me,Lt,"\u2269","\\gneqq",!0),ye(ae,me,Lt,"\uE00D","\\@gvertneqq"),ye(ae,me,Lt,"\u22E7","\\gnsim",!0),ye(ae,me,Lt,"\u2A8A","\\gnapprox",!0),ye(ae,me,Lt,"\u2281","\\nsucc",!0),ye(ae,me,Lt,"\u22E1","\\nsucceq",!0),ye(ae,me,Lt,"\u22E9","\\succnsim",!0),ye(ae,me,Lt,"\u2ABA","\\succnapprox",!0),ye(ae,me,Lt,"\u2246","\\ncong",!0),ye(ae,me,Lt,"\uE007","\\@nshortparallel"),ye(ae,me,Lt,"\u2226","\\nparallel",!0),ye(ae,me,Lt,"\u22AF","\\nVDash",!0),ye(ae,me,Lt,"\u22EB","\\ntriangleright"),ye(ae,me,Lt,"\u22ED","\\ntrianglerighteq",!0),ye(ae,me,Lt,"\uE018","\\@nsupseteqq"),ye(ae,me,Lt,"\u228B","\\supsetneq",!0),ye(ae,me,Lt,"\uE01B","\\@varsupsetneq"),ye(ae,me,Lt,"\u2ACC","\\supsetneqq",!0),ye(ae,me,Lt,"\uE019","\\@varsupsetneqq"),ye(ae,me,Lt,"\u22AE","\\nVdash",!0),ye(ae,me,Lt,"\u2AB5","\\precneqq",!0),ye(ae,me,Lt,"\u2AB6","\\succneqq",!0),ye(ae,me,Lt,"\uE016","\\@nsubseteqq"),ye(ae,me,rr,"\u22B4","\\unlhd"),ye(ae,me,rr,"\u22B5","\\unrhd"),ye(ae,me,Lt,"\u219A","\\nleftarrow",!0),ye(ae,me,Lt,"\u219B","\\nrightarrow",!0),ye(ae,me,Lt,"\u21CD","\\nLeftarrow",!0),ye(ae,me,Lt,"\u21CF","\\nRightarrow",!0),ye(ae,me,Lt,"\u21AE","\\nleftrightarrow",!0),ye(ae,me,Lt,"\u21CE","\\nLeftrightarrow",!0),ye(ae,me,Lt,"\u25B3","\\vartriangle"),ye(ae,me,Je,"\u210F","\\hslash"),ye(ae,me,Je,"\u25BD","\\triangledown"),ye(ae,me,Je,"\u25CA","\\lozenge"),ye(ae,me,Je,"\u24C8","\\circledS"),ye(ae,me,Je,"\xAE","\\circledR"),ye(yt,me,Je,"\xAE","\\circledR"),ye(ae,me,Je,"\u2221","\\measuredangle",!0),ye(ae,me,Je,"\u2204","\\nexists"),ye(ae,me,Je,"\u2127","\\mho"),ye(ae,me,Je,"\u2132","\\Finv",!0),ye(ae,me,Je,"\u2141","\\Game",!0),ye(ae,me,Je,"\u2035","\\backprime"),ye(ae,me,Je,"\u25B2","\\blacktriangle"),ye(ae,me,Je,"\u25BC","\\blacktriangledown"),ye(ae,me,Je,"\u25A0","\\blacksquare"),ye(ae,me,Je,"\u29EB","\\blacklozenge"),ye(ae,me,Je,"\u2605","\\bigstar"),ye(ae,me,Je,"\u2222","\\sphericalangle",!0),ye(ae,me,Je,"\u2201","\\complement",!0),ye(ae,me,Je,"\xF0","\\eth",!0),ye(ae,me,Je,"\u2571","\\diagup"),ye(ae,me,Je,"\u2572","\\diagdown"),ye(ae,me,Je,"\u25A1","\\square"),ye(ae,me,Je,"\u25A1","\\Box"),ye(ae,me,Je,"\u25CA","\\Diamond"),ye(ae,me,Je,"\xA5","\\yen",!0),ye(yt,me,Je,"\xA5","\\yen",!0),ye(ae,me,Je,"\u2713","\\checkmark",!0),ye(yt,me,Je,"\u2713","\\checkmark"),ye(ae,me,Je,"\u2136","\\beth",!0),ye(ae,me,Je,"\u2138","\\daleth",!0),ye(ae,me,Je,"\u2137","\\gimel",!0),ye(ae,me,Je,"\u03DD","\\digamma",!0),ye(ae,me,Je,"\u03F0","\\varkappa"),ye(ae,me,er,"\u250C","\\ulcorner",!0),ye(ae,me,ut,"\u2510","\\urcorner",!0),ye(ae,me,er,"\u2514","\\llcorner",!0),ye(ae,me,ut,"\u2518","\\lrcorner",!0),ye(ae,me,Lt,"\u2266","\\leqq",!0),ye(ae,me,Lt,"\u2A7D","\\leqslant",!0),ye(ae,me,Lt,"\u2A95","\\eqslantless",!0),ye(ae,me,Lt,"\u2272","\\lesssim",!0),ye(ae,me,Lt,"\u2A85","\\lessapprox",!0),ye(ae,me,Lt,"\u224A","\\approxeq",!0),ye(ae,me,rr,"\u22D6","\\lessdot"),ye(ae,me,Lt,"\u22D8","\\lll",!0),ye(ae,me,Lt,"\u2276","\\lessgtr",!0),ye(ae,me,Lt,"\u22DA","\\lesseqgtr",!0),ye(ae,me,Lt,"\u2A8B","\\lesseqqgtr",!0),ye(ae,me,Lt,"\u2251","\\doteqdot"),ye(ae,me,Lt,"\u2253","\\risingdotseq",!0),ye(ae,me,Lt,"\u2252","\\fallingdotseq",!0),ye(ae,me,Lt,"\u223D","\\backsim",!0),ye(ae,me,Lt,"\u22CD","\\backsimeq",!0),ye(ae,me,Lt,"\u2AC5","\\subseteqq",!0),ye(ae,me,Lt,"\u22D0","\\Subset",!0),ye(ae,me,Lt,"\u228F","\\sqsubset",!0),ye(ae,me,Lt,"\u227C","\\preccurlyeq",!0),ye(ae,me,Lt,"\u22DE","\\curlyeqprec",!0),ye(ae,me,Lt,"\u227E","\\precsim",!0),ye(ae,me,Lt,"\u2AB7","\\precapprox",!0),ye(ae,me,Lt,"\u22B2","\\vartriangleleft"),ye(ae,me,Lt,"\u22B4","\\trianglelefteq"),ye(ae,me,Lt,"\u22A8","\\vDash",!0),ye(ae,me,Lt,"\u22AA","\\Vvdash",!0),ye(ae,me,Lt,"\u2323","\\smallsmile"),ye(ae,me,Lt,"\u2322","\\smallfrown"),ye(ae,me,Lt,"\u224F","\\bumpeq",!0),ye(ae,me,Lt,"\u224E","\\Bumpeq",!0),ye(ae,me,Lt,"\u2267","\\geqq",!0),ye(ae,me,Lt,"\u2A7E","\\geqslant",!0),ye(ae,me,Lt,"\u2A96","\\eqslantgtr",!0),ye(ae,me,Lt,"\u2273","\\gtrsim",!0),ye(ae,me,Lt,"\u2A86","\\gtrapprox",!0),ye(ae,me,rr,"\u22D7","\\gtrdot"),ye(ae,me,Lt,"\u22D9","\\ggg",!0),ye(ae,me,Lt,"\u2277","\\gtrless",!0),ye(ae,me,Lt,"\u22DB","\\gtreqless",!0),ye(ae,me,Lt,"\u2A8C","\\gtreqqless",!0),ye(ae,me,Lt,"\u2256","\\eqcirc",!0),ye(ae,me,Lt,"\u2257","\\circeq",!0),ye(ae,me,Lt,"\u225C","\\triangleq",!0),ye(ae,me,Lt,"\u223C","\\thicksim"),ye(ae,me,Lt,"\u2248","\\thickapprox"),ye(ae,me,Lt,"\u2AC6","\\supseteqq",!0),ye(ae,me,Lt,"\u22D1","\\Supset",!0),ye(ae,me,Lt,"\u2290","\\sqsupset",!0),ye(ae,me,Lt,"\u227D","\\succcurlyeq",!0),ye(ae,me,Lt,"\u22DF","\\curlyeqsucc",!0),ye(ae,me,Lt,"\u227F","\\succsim",!0),ye(ae,me,Lt,"\u2AB8","\\succapprox",!0),ye(ae,me,Lt,"\u22B3","\\vartriangleright"),ye(ae,me,Lt,"\u22B5","\\trianglerighteq"),ye(ae,me,Lt,"\u22A9","\\Vdash",!0),ye(ae,me,Lt,"\u2223","\\shortmid"),ye(ae,me,Lt,"\u2225","\\shortparallel"),ye(ae,me,Lt,"\u226C","\\between",!0),ye(ae,me,Lt,"\u22D4","\\pitchfork",!0),ye(ae,me,Lt,"\u221D","\\varpropto"),ye(ae,me,Lt,"\u25C0","\\blacktriangleleft"),ye(ae,me,Lt,"\u2234","\\therefore",!0),ye(ae,me,Lt,"\u220D","\\backepsilon"),ye(ae,me,Lt,"\u25B6","\\blacktriangleright"),ye(ae,me,Lt,"\u2235","\\because",!0),ye(ae,me,Lt,"\u22D8","\\llless"),ye(ae,me,Lt,"\u22D9","\\gggtr"),ye(ae,me,rr,"\u22B2","\\lhd"),ye(ae,me,rr,"\u22B3","\\rhd"),ye(ae,me,Lt,"\u2242","\\eqsim",!0),ye(ae,et,Lt,"\u22C8","\\Join"),ye(ae,me,Lt,"\u2251","\\Doteq",!0),ye(ae,me,rr,"\u2214","\\dotplus",!0),ye(ae,me,rr,"\u2216","\\smallsetminus"),ye(ae,me,rr,"\u22D2","\\Cap",!0),ye(ae,me,rr,"\u22D3","\\Cup",!0),ye(ae,me,rr,"\u2A5E","\\doublebarwedge",!0),ye(ae,me,rr,"\u229F","\\boxminus",!0),ye(ae,me,rr,"\u229E","\\boxplus",!0),ye(ae,me,rr,"\u22C7","\\divideontimes",!0),ye(ae,me,rr,"\u22C9","\\ltimes",!0),ye(ae,me,rr,"\u22CA","\\rtimes",!0),ye(ae,me,rr,"\u22CB","\\leftthreetimes",!0),ye(ae,me,rr,"\u22CC","\\rightthreetimes",!0),ye(ae,me,rr,"\u22CF","\\curlywedge",!0),ye(ae,me,rr,"\u22CE","\\curlyvee",!0),ye(ae,me,rr,"\u229D","\\circleddash",!0),ye(ae,me,rr,"\u229B","\\circledast",!0),ye(ae,me,rr,"\u22C5","\\centerdot"),ye(ae,me,rr,"\u22BA","\\intercal",!0),ye(ae,me,rr,"\u22D2","\\doublecap"),ye(ae,me,rr,"\u22D3","\\doublecup"),ye(ae,me,rr,"\u22A0","\\boxtimes",!0),ye(ae,me,Lt,"\u21E2","\\dashrightarrow",!0),ye(ae,me,Lt,"\u21E0","\\dashleftarrow",!0),ye(ae,me,Lt,"\u21C7","\\leftleftarrows",!0),ye(ae,me,Lt,"\u21C6","\\leftrightarrows",!0),ye(ae,me,Lt,"\u21DA","\\Lleftarrow",!0),ye(ae,me,Lt,"\u219E","\\twoheadleftarrow",!0),ye(ae,me,Lt,"\u21A2","\\leftarrowtail",!0),ye(ae,me,Lt,"\u21AB","\\looparrowleft",!0),ye(ae,me,Lt,"\u21CB","\\leftrightharpoons",!0),ye(ae,me,Lt,"\u21B6","\\curvearrowleft",!0),ye(ae,me,Lt,"\u21BA","\\circlearrowleft",!0),ye(ae,me,Lt,"\u21B0","\\Lsh",!0),ye(ae,me,Lt,"\u21C8","\\upuparrows",!0),ye(ae,me,Lt,"\u21BF","\\upharpoonleft",!0),ye(ae,me,Lt,"\u21C3","\\downharpoonleft",!0),ye(ae,me,Lt,"\u22B8","\\multimap",!0),ye(ae,me,Lt,"\u21AD","\\leftrightsquigarrow",!0),ye(ae,me,Lt,"\u21C9","\\rightrightarrows",!0),ye(ae,me,Lt,"\u21C4","\\rightleftarrows",!0),ye(ae,me,Lt,"\u21A0","\\twoheadrightarrow",!0),ye(ae,me,Lt,"\u21A3","\\rightarrowtail",!0),ye(ae,me,Lt,"\u21AC","\\looparrowright",!0),ye(ae,me,Lt,"\u21B7","\\curvearrowright",!0),ye(ae,me,Lt,"\u21BB","\\circlearrowright",!0),ye(ae,me,Lt,"\u21B1","\\Rsh",!0),ye(ae,me,Lt,"\u21CA","\\downdownarrows",!0),ye(ae,me,Lt,"\u21BE","\\upharpoonright",!0),ye(ae,me,Lt,"\u21C2","\\downharpoonright",!0),ye(ae,me,Lt,"\u21DD","\\rightsquigarrow",!0),ye(ae,me,Lt,"\u21DD","\\leadsto"),ye(ae,me,Lt,"\u21DB","\\Rrightarrow",!0),ye(ae,me,Lt,"\u21BE","\\restriction"),ye(ae,et,Je,"\u2018","`"),ye(ae,et,Je,"$","\\$"),ye(yt,et,Je,"$","\\$"),ye(yt,et,Je,"$","\\textdollar"),ye(ae,et,Je,"%","\\%"),ye(yt,et,Je,"%","\\%"),ye(ae,et,Je,"_","\\_"),ye(yt,et,Je,"_","\\_"),ye(yt,et,Je,"_","\\textunderscore"),ye(ae,et,Je,"\u2220","\\angle",!0),ye(ae,et,Je,"\u221E","\\infty",!0),ye(ae,et,Je,"\u2032","\\prime"),ye(ae,et,Je,"\u25B3","\\triangle"),ye(ae,et,Je,"\u0393","\\Gamma",!0),ye(ae,et,Je,"\u0394","\\Delta",!0),ye(ae,et,Je,"\u0398","\\Theta",!0),ye(ae,et,Je,"\u039B","\\Lambda",!0),ye(ae,et,Je,"\u039E","\\Xi",!0),ye(ae,et,Je,"\u03A0","\\Pi",!0),ye(ae,et,Je,"\u03A3","\\Sigma",!0),ye(ae,et,Je,"\u03A5","\\Upsilon",!0),ye(ae,et,Je,"\u03A6","\\Phi",!0),ye(ae,et,Je,"\u03A8","\\Psi",!0),ye(ae,et,Je,"\u03A9","\\Omega",!0),ye(ae,et,Je,"A","\u0391"),ye(ae,et,Je,"B","\u0392"),ye(ae,et,Je,"E","\u0395"),ye(ae,et,Je,"Z","\u0396"),ye(ae,et,Je,"H","\u0397"),ye(ae,et,Je,"I","\u0399"),ye(ae,et,Je,"K","\u039A"),ye(ae,et,Je,"M","\u039C"),ye(ae,et,Je,"N","\u039D"),ye(ae,et,Je,"O","\u039F"),ye(ae,et,Je,"P","\u03A1"),ye(ae,et,Je,"T","\u03A4"),ye(ae,et,Je,"X","\u03A7"),ye(ae,et,Je,"\xAC","\\neg",!0),ye(ae,et,Je,"\xAC","\\lnot"),ye(ae,et,Je,"\u22A4","\\top"),ye(ae,et,Je,"\u22A5","\\bot"),ye(ae,et,Je,"\u2205","\\emptyset"),ye(ae,me,Je,"\u2205","\\varnothing"),ye(ae,et,ur,"\u03B1","\\alpha",!0),ye(ae,et,ur,"\u03B2","\\beta",!0),ye(ae,et,ur,"\u03B3","\\gamma",!0),ye(ae,et,ur,"\u03B4","\\delta",!0),ye(ae,et,ur,"\u03F5","\\epsilon",!0),ye(ae,et,ur,"\u03B6","\\zeta",!0),ye(ae,et,ur,"\u03B7","\\eta",!0),ye(ae,et,ur,"\u03B8","\\theta",!0),ye(ae,et,ur,"\u03B9","\\iota",!0),ye(ae,et,ur,"\u03BA","\\kappa",!0),ye(ae,et,ur,"\u03BB","\\lambda",!0),ye(ae,et,ur,"\u03BC","\\mu",!0),ye(ae,et,ur,"\u03BD","\\nu",!0),ye(ae,et,ur,"\u03BE","\\xi",!0),ye(ae,et,ur,"\u03BF","\\omicron",!0),ye(ae,et,ur,"\u03C0","\\pi",!0),ye(ae,et,ur,"\u03C1","\\rho",!0),ye(ae,et,ur,"\u03C3","\\sigma",!0),ye(ae,et,ur,"\u03C4","\\tau",!0),ye(ae,et,ur,"\u03C5","\\upsilon",!0),ye(ae,et,ur,"\u03D5","\\phi",!0),ye(ae,et,ur,"\u03C7","\\chi",!0),ye(ae,et,ur,"\u03C8","\\psi",!0),ye(ae,et,ur,"\u03C9","\\omega",!0),ye(ae,et,ur,"\u03B5","\\varepsilon",!0),ye(ae,et,ur,"\u03D1","\\vartheta",!0),ye(ae,et,ur,"\u03D6","\\varpi",!0),ye(ae,et,ur,"\u03F1","\\varrho",!0),ye(ae,et,ur,"\u03C2","\\varsigma",!0),ye(ae,et,ur,"\u03C6","\\varphi",!0),ye(ae,et,rr,"\u2217","*"),ye(ae,et,rr,"+","+"),ye(ae,et,rr,"\u2212","-"),ye(ae,et,rr,"\u22C5","\\cdot",!0),ye(ae,et,rr,"\u2218","\\circ"),ye(ae,et,rr,"\xF7","\\div",!0),ye(ae,et,rr,"\xB1","\\pm",!0),ye(ae,et,rr,"\xD7","\\times",!0),ye(ae,et,rr,"\u2229","\\cap",!0),ye(ae,et,rr,"\u222A","\\cup",!0),ye(ae,et,rr,"\u2216","\\setminus"),ye(ae,et,rr,"\u2227","\\land"),ye(ae,et,rr,"\u2228","\\lor"),ye(ae,et,rr,"\u2227","\\wedge",!0),ye(ae,et,rr,"\u2228","\\vee",!0),ye(ae,et,Je,"\u221A","\\surd"),ye(ae,et,er,"(","("),ye(ae,et,er,"[","["),ye(ae,et,er,"\u27E8","\\langle",!0),ye(ae,et,er,"\u2223","\\lvert"),ye(ae,et,er,"\u2225","\\lVert"),ye(ae,et,ut,")",")"),ye(ae,et,ut,"]","]"),ye(ae,et,ut,"?","?"),ye(ae,et,ut,"!","!"),ye(ae,et,ut,"\u27E9","\\rangle",!0),ye(ae,et,ut,"\u2223","\\rvert"),ye(ae,et,ut,"\u2225","\\rVert"),ye(ae,et,Lt,"=","="),ye(ae,et,Lt,"<","<"),ye(ae,et,Lt,">",">"),ye(ae,et,Lt,":",":"),ye(ae,et,Lt,"\u2248","\\approx",!0),ye(ae,et,Lt,"\u2245","\\cong",!0),ye(ae,et,Lt,"\u2265","\\ge"),ye(ae,et,Lt,"\u2265","\\geq",!0),ye(ae,et,Lt,"\u2190","\\gets"),ye(ae,et,Lt,">","\\gt"),ye(ae,et,Lt,"\u2208","\\in",!0),ye(ae,et,Lt,"\uE020","\\@not"),ye(ae,et,Lt,"\u2282","\\subset",!0),ye(ae,et,Lt,"\u2283","\\supset",!0),ye(ae,et,Lt,"\u2286","\\subseteq",!0),ye(ae,et,Lt,"\u2287","\\supseteq",!0),ye(ae,me,Lt,"\u2288","\\nsubseteq",!0),ye(ae,me,Lt,"\u2289","\\nsupseteq",!0),ye(ae,et,Lt,"\u22A8","\\models"),ye(ae,et,Lt,"\u2190","\\leftarrow",!0),ye(ae,et,Lt,"\u2264","\\le"),ye(ae,et,Lt,"\u2264","\\leq",!0),ye(ae,et,Lt,"<","\\lt"),ye(ae,et,Lt,"\u2192","\\rightarrow",!0),ye(ae,et,Lt,"\u2192","\\to"),ye(ae,me,Lt,"\u2271","\\ngeq",!0),ye(ae,me,Lt,"\u2270","\\nleq",!0),ye(ae,et,at,"\xA0","\\ "),ye(ae,et,at,"\xA0","~"),ye(ae,et,at,"\xA0","\\space"),ye(ae,et,at,"\xA0","\\nobreakspace"),ye(yt,et,at,"\xA0","\\ "),ye(yt,et,at,"\xA0","~"),ye(yt,et,at,"\xA0","\\space"),ye(yt,et,at,"\xA0","\\nobreakspace"),ye(ae,et,at,null,"\\nobreak"),ye(ae,et,at,null,"\\allowbreak"),ye(ae,et,nr,",",","),ye(ae,et,nr,";",";"),ye(ae,me,rr,"\u22BC","\\barwedge",!0),ye(ae,me,rr,"\u22BB","\\veebar",!0),ye(ae,et,rr,"\u2299","\\odot",!0),ye(ae,et,rr,"\u2295","\\oplus",!0),ye(ae,et,rr,"\u2297","\\otimes",!0),ye(ae,et,Je,"\u2202","\\partial",!0),ye(ae,et,rr,"\u2298","\\oslash",!0),ye(ae,me,rr,"\u229A","\\circledcirc",!0),ye(ae,me,rr,"\u22A1","\\boxdot",!0),ye(ae,et,rr,"\u25B3","\\bigtriangleup"),ye(ae,et,rr,"\u25BD","\\bigtriangledown"),ye(ae,et,rr,"\u2020","\\dagger"),ye(ae,et,rr,"\u22C4","\\diamond"),ye(ae,et,rr,"\u22C6","\\star"),ye(ae,et,rr,"\u25C3","\\triangleleft"),ye(ae,et,rr,"\u25B9","\\triangleright"),ye(ae,et,er,"{","\\{"),ye(yt,et,Je,"{","\\{"),ye(yt,et,Je,"{","\\textbraceleft"),ye(ae,et,ut,"}","\\}"),ye(yt,et,Je,"}","\\}"),ye(yt,et,Je,"}","\\textbraceright"),ye(ae,et,er,"{","\\lbrace"),ye(ae,et,ut,"}","\\rbrace"),ye(ae,et,er,"[","\\lbrack"),ye(yt,et,Je,"[","\\lbrack"),ye(ae,et,ut,"]","\\rbrack"),ye(yt,et,Je,"]","\\rbrack"),ye(ae,et,er,"(","\\lparen"),ye(ae,et,ut,")","\\rparen"),ye(yt,et,Je,"<","\\textless"),ye(yt,et,Je,">","\\textgreater"),ye(ae,et,er,"\u230A","\\lfloor",!0),ye(ae,et,ut,"\u230B","\\rfloor",!0),ye(ae,et,er,"\u2308","\\lceil",!0),ye(ae,et,ut,"\u2309","\\rceil",!0),ye(ae,et,Je,"\\","\\backslash"),ye(ae,et,Je,"\u2223","|"),ye(ae,et,Je,"\u2223","\\vert"),ye(yt,et,Je,"|","\\textbar"),ye(ae,et,Je,"\u2225","\\|"),ye(ae,et,Je,"\u2225","\\Vert"),ye(yt,et,Je,"\u2225","\\textbardbl"),ye(yt,et,Je,"~","\\textasciitilde"),ye(yt,et,Je,"\\","\\textbackslash"),ye(yt,et,Je,"^","\\textasciicircum"),ye(ae,et,Lt,"\u2191","\\uparrow",!0),ye(ae,et,Lt,"\u21D1","\\Uparrow",!0),ye(ae,et,Lt,"\u2193","\\downarrow",!0),ye(ae,et,Lt,"\u21D3","\\Downarrow",!0),ye(ae,et,Lt,"\u2195","\\updownarrow",!0),ye(ae,et,Lt,"\u21D5","\\Updownarrow",!0),ye(ae,et,Fr,"\u2210","\\coprod"),ye(ae,et,Fr,"\u22C1","\\bigvee"),ye(ae,et,Fr,"\u22C0","\\bigwedge"),ye(ae,et,Fr,"\u2A04","\\biguplus"),ye(ae,et,Fr,"\u22C2","\\bigcap"),ye(ae,et,Fr,"\u22C3","\\bigcup"),ye(ae,et,Fr,"\u222B","\\int"),ye(ae,et,Fr,"\u222B","\\intop"),ye(ae,et,Fr,"\u222C","\\iint"),ye(ae,et,Fr,"\u222D","\\iiint"),ye(ae,et,Fr,"\u220F","\\prod"),ye(ae,et,Fr,"\u2211","\\sum"),ye(ae,et,Fr,"\u2A02","\\bigotimes"),ye(ae,et,Fr,"\u2A01","\\bigoplus"),ye(ae,et,Fr,"\u2A00","\\bigodot"),ye(ae,et,Fr,"\u222E","\\oint"),ye(ae,et,Fr,"\u222F","\\oiint"),ye(ae,et,Fr,"\u2230","\\oiiint"),ye(ae,et,Fr,"\u2A06","\\bigsqcup"),ye(ae,et,Fr,"\u222B","\\smallint"),ye(yt,et,Xt,"\u2026","\\textellipsis"),ye(ae,et,Xt,"\u2026","\\mathellipsis"),ye(yt,et,Xt,"\u2026","\\ldots",!0),ye(ae,et,Xt,"\u2026","\\ldots",!0),ye(ae,et,Xt,"\u22EF","\\@cdots",!0),ye(ae,et,Xt,"\u22F1","\\ddots",!0),ye(ae,et,Je,"\u22EE","\\varvdots"),ye(ae,et,Gt,"\u02CA","\\acute"),ye(ae,et,Gt,"\u02CB","\\grave"),ye(ae,et,Gt,"\xA8","\\ddot"),ye(ae,et,Gt,"~","\\tilde"),ye(ae,et,Gt,"\u02C9","\\bar"),ye(ae,et,Gt,"\u02D8","\\breve"),ye(ae,et,Gt,"\u02C7","\\check"),ye(ae,et,Gt,"^","\\hat"),ye(ae,et,Gt,"\u20D7","\\vec"),ye(ae,et,Gt,"\u02D9","\\dot"),ye(ae,et,Gt,"\u02DA","\\mathring"),ye(ae,et,ur,"\u0131","\\imath",!0),ye(ae,et,ur,"\u0237","\\jmath",!0),ye(yt,et,Je,"\u0131","\\i",!0),ye(yt,et,Je,"\u0237","\\j",!0),ye(yt,et,Je,"\xDF","\\ss",!0),ye(yt,et,Je,"\xE6","\\ae",!0),ye(yt,et,Je,"\xE6","\\ae",!0),ye(yt,et,Je,"\u0153","\\oe",!0),ye(yt,et,Je,"\xF8","\\o",!0),ye(yt,et,Je,"\xC6","\\AE",!0),ye(yt,et,Je,"\u0152","\\OE",!0),ye(yt,et,Je,"\xD8","\\O",!0),ye(yt,et,Gt,"\u02CA","\\'"),ye(yt,et,Gt,"\u02CB","\\`"),ye(yt,et,Gt,"\u02C6","\\^"),ye(yt,et,Gt,"\u02DC","\\~"),ye(yt,et,Gt,"\u02C9","\\="),ye(yt,et,Gt,"\u02D8","\\u"),ye(yt,et,Gt,"\u02D9","\\."),ye(yt,et,Gt,"\u02DA","\\r"),ye(yt,et,Gt,"\u02C7","\\v"),ye(yt,et,Gt,"\xA8",'\\"'),ye(yt,et,Gt,"\u02DD","\\H"),ye(yt,et,Gt,"\u25EF","\\textcircled");var qt={"--":!0,"---":!0,"``":!0,"''":!0};ye(yt,et,Je,"\u2013","--"),ye(yt,et,Je,"\u2013","\\textendash"),ye(yt,et,Je,"\u2014","---"),ye(yt,et,Je,"\u2014","\\textemdash"),ye(yt,et,Je,"\u2018","`"),ye(yt,et,Je,"\u2018","\\textquoteleft"),ye(yt,et,Je,"\u2019","'"),ye(yt,et,Je,"\u2019","\\textquoteright"),ye(yt,et,Je,"\u201C","``"),ye(yt,et,Je,"\u201C","\\textquotedblleft"),ye(yt,et,Je,"\u201D","''"),ye(yt,et,Je,"\u201D","\\textquotedblright"),ye(ae,et,Je,"\xB0","\\degree",!0),ye(yt,et,Je,"\xB0","\\degree"),ye(yt,et,Je,"\xB0","\\textdegree",!0),ye(ae,et,ur,"\xA3","\\pounds"),ye(ae,et,ur,"\xA3","\\mathsterling",!0),ye(yt,et,ur,"\xA3","\\pounds"),ye(yt,et,ur,"\xA3","\\textsterling",!0),ye(ae,me,Je,"\u2720","\\maltese"),ye(yt,me,Je,"\u2720","\\maltese"),ye(yt,et,at,"\xA0","\\ "),ye(yt,et,at,"\xA0"," "),ye(yt,et,at,"\xA0","~");for(var Sr='0123456789/@."',yr=0;yr<Sr.length;yr++){var fr=Sr.charAt(yr);ye(ae,et,Je,fr,fr)}for(var yn='0123456789!@*()-=+[]<>|";:?/.,',Jr=0;Jr<yn.length;Jr++){var Ln=yn.charAt(Jr);ye(yt,et,Je,Ln,Ln)}for(var Nt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ve=0;Ve<Nt.length;Ve++){var _e=Nt.charAt(Ve);ye(ae,et,ur,_e,_e),ye(yt,et,Je,_e,_e)}ye(ae,me,Je,"C","\u2102"),ye(yt,me,Je,"C","\u2102"),ye(ae,me,Je,"H","\u210D"),ye(yt,me,Je,"H","\u210D"),ye(ae,me,Je,"N","\u2115"),ye(yt,me,Je,"N","\u2115"),ye(ae,me,Je,"P","\u2119"),ye(yt,me,Je,"P","\u2119"),ye(ae,me,Je,"Q","\u211A"),ye(yt,me,Je,"Q","\u211A"),ye(ae,me,Je,"R","\u211D"),ye(yt,me,Je,"R","\u211D"),ye(ae,me,Je,"Z","\u2124"),ye(yt,me,Je,"Z","\u2124"),ye(ae,et,ur,"h","\u210E"),ye(yt,et,ur,"h","\u210E");for(var ke="",Pe=0;Pe<Nt.length;Pe++){var rt=Nt.charAt(Pe);ke=String.fromCharCode(55349,56320+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),ke=String.fromCharCode(55349,56372+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),ke=String.fromCharCode(55349,56424+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),ke=String.fromCharCode(55349,56580+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),ke=String.fromCharCode(55349,56736+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),ke=String.fromCharCode(55349,56788+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),ke=String.fromCharCode(55349,56840+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),ke=String.fromCharCode(55349,56944+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),Pe<26&&(ke=String.fromCharCode(55349,56632+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke),ke=String.fromCharCode(55349,56476+Pe),ye(ae,et,ur,rt,ke),ye(yt,et,Je,rt,ke))}ke=String.fromCharCode(55349,56668),ye(ae,et,ur,"k",ke),ye(yt,et,Je,"k",ke);for(var Pt=0;Pt<10;Pt++){var Yt=Pt.toString();ke=String.fromCharCode(55349,57294+Pt),ye(ae,et,ur,Yt,ke),ye(yt,et,Je,Yt,ke),ke=String.fromCharCode(55349,57314+Pt),ye(ae,et,ur,Yt,ke),ye(yt,et,Je,Yt,ke),ke=String.fromCharCode(55349,57324+Pt),ye(ae,et,ur,Yt,ke),ye(yt,et,Je,Yt,ke),ke=String.fromCharCode(55349,57334+Pt),ye(ae,et,ur,Yt,ke),ye(yt,et,Je,Yt,ke)}for(var kt="\xC7\xD0\xDE\xE7\xFE",_r=0;_r<kt.length;_r++){var Rr=kt.charAt(_r);ye(ae,et,ur,Rr,Rr),ye(yt,et,Je,Rr,Rr)}ye(yt,et,Je,"\xF0","\xF0"),ye(yt,et,Je,"\u2013","\u2013"),ye(yt,et,Je,"\u2014","\u2014"),ye(yt,et,Je,"\u2018","\u2018"),ye(yt,et,Je,"\u2019","\u2019"),ye(yt,et,Je,"\u201C","\u201C"),ye(yt,et,Je,"\u201D","\u201D");var un=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ut=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],ht=function(ne,Ae){var Te=ne.charCodeAt(0),je=ne.charCodeAt(1),st=(Te-55296)*1024+(je-56320)+65536,xt=Ae==="math"?0:1;if(119808<=st&&st<120484){var gr=Math.floor((st-119808)/26);return[un[gr][2],un[gr][xt]]}else if(120782<=st&&st<=120831){var Ir=Math.floor((st-120782)/10);return[Ut[Ir][2],Ut[Ir][xt]]}else{if(st===120485||st===120486)return[un[0][2],un[0][xt]];if(120486<st&&st<120782)return["",""];throw new c("Unsupported character: "+ne)}},ot=[[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]],Wt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Jt=function(ne,Ae){return Ae.size<2?ne:ot[ne-1][Ae.size-1]},At=function(){function ft(Ae){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=Ae.style,this.color=Ae.color,this.size=Ae.size||ft.BASESIZE,this.textSize=Ae.textSize||this.size,this.phantom=!!Ae.phantom,this.font=Ae.font||"",this.fontFamily=Ae.fontFamily||"",this.fontWeight=Ae.fontWeight||"",this.fontShape=Ae.fontShape||"",this.sizeMultiplier=Wt[this.size-1],this.maxSize=Ae.maxSize,this.minRuleThickness=Ae.minRuleThickness,this._fontMetrics=void 0}var ne=ft.prototype;return ne.extend=function(Te){var je={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 st in Te)Te.hasOwnProperty(st)&&(je[st]=Te[st]);return new ft(je)},ne.havingStyle=function(Te){return this.style===Te?this:this.extend({style:Te,size:Jt(this.textSize,Te)})},ne.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},ne.havingSize=function(Te){return this.size===Te&&this.textSize===Te?this:this.extend({style:this.style.text(),size:Te,textSize:Te,sizeMultiplier:Wt[Te-1]})},ne.havingBaseStyle=function(Te){Te=Te||this.style.text();var je=Jt(ft.BASESIZE,Te);return this.size===je&&this.textSize===ft.BASESIZE&&this.style===Te?this:this.extend({style:Te,size:je})},ne.havingBaseSizing=function(){var Te;switch(this.style.id){case 4:case 5:Te=3;break;case 6:case 7:Te=1;break;default:Te=6}return this.extend({style:this.style.text(),size:Te})},ne.withColor=function(Te){return this.extend({color:Te})},ne.withPhantom=function(){return this.extend({phantom:!0})},ne.withFont=function(Te){return this.extend({font:Te})},ne.withTextFontFamily=function(Te){return this.extend({fontFamily:Te,font:""})},ne.withTextFontWeight=function(Te){return this.extend({fontWeight:Te,font:""})},ne.withTextFontShape=function(Te){return this.extend({fontShape:Te,font:""})},ne.sizingClasses=function(Te){return Te.size!==this.size?["sizing","reset-size"+Te.size,"size"+this.size]:[]},ne.baseSizingClasses=function(){return this.size!==ft.BASESIZE?["sizing","reset-size"+this.size,"size"+ft.BASESIZE]:[]},ne.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=wt(this.size)),this._fontMetrics},ne.getColor=function(){return this.phantom?"transparent":this.color},ft}();At.BASESIZE=6;var Bt=At,mt={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},Mt={ex:!0,em:!0,mu:!0},hr=function(ne){return typeof ne!="string"&&(ne=ne.unit),ne in mt||ne in Mt||ne==="ex"},or=function(ne,Ae){var Te;if(ne.unit in mt)Te=mt[ne.unit]/Ae.fontMetrics().ptPerEm/Ae.sizeMultiplier;else if(ne.unit==="mu")Te=Ae.fontMetrics().cssEmPerMu;else{var je;if(Ae.style.isTight()?je=Ae.havingStyle(Ae.style.text()):je=Ae,ne.unit==="ex")Te=je.fontMetrics().xHeight;else if(ne.unit==="em")Te=je.fontMetrics().quad;else throw new c("Invalid unit: '"+ne.unit+"'");je!==Ae&&(Te*=je.sizeMultiplier/Ae.sizeMultiplier)}return Math.min(ne.number*Te,Ae.maxSize)},ar=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Gr=function(ne,Ae,Te){return Ze[Te][ne]&&Ze[Te][ne].replace&&(ne=Ze[Te][ne].replace),{value:ne,metrics:Qe(ne,Ae,Te)}},Yr=function(ne,Ae,Te,je,st){var xt=Gr(ne,Ae,Te),gr=xt.metrics;ne=xt.value;var Ir;if(gr){var Zr=gr.italic;(Te==="text"||je&&je.font==="mathit")&&(Zr=0),Ir=new Ce(ne,gr.height,gr.depth,Zr,gr.skew,gr.width,st)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+ne+"' in style '"+Ae+"' and mode '"+Te+"'")),Ir=new Ce(ne,0,0,0,0,0,st);if(je){Ir.maxFontSize=je.sizeMultiplier,je.style.isTight()&&Ir.classes.push("mtight");var En=je.getColor();En&&(Ir.style.color=En)}return Ir},In=function(ne,Ae,Te,je){return je===void 0&&(je=[]),Te.font==="boldsymbol"&&Gr(ne,"Main-Bold",Ae).metrics?Yr(ne,"Main-Bold",Ae,Te,je.concat(["mathbf"])):ne==="\\"||Ze[Ae][ne].font==="main"?Yr(ne,"Main-Regular",Ae,Te,je):Yr(ne,"AMS-Regular",Ae,Te,je.concat(["amsrm"]))},Nn=function(ne,Ae,Te,je){return/[0-9]/.test(ne.charAt(0))||f.contains(ar,ne)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Kn=function(ne,Ae,Te,je){return f.contains(ar,ne)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(ne.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},$n=function(ne,Ae,Te,je){return Gr(ne,"Math-BoldItalic",Ae).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Ii=function(ne,Ae,Te){var je=ne.mode,st=ne.text,xt=["mord"],gr=je==="math"||je==="text"&&Ae.font,Ir=gr?Ae.font:Ae.fontFamily;if(st.charCodeAt(0)===55349){var Zr=ht(st,je),En=Zr[0],Hn=Zr[1];return Yr(st,En,je,Ae,xt.concat(Hn))}else if(Ir){var ai,Ci;if(Ir==="boldsymbol"||Ir==="mathnormal"){var Ui=Ir==="boldsymbol"?$n(st,je,Ae,xt):Kn(st,je,Ae,xt);ai=Ui.fontName,Ci=[Ui.fontClass]}else f.contains(ar,st)?(ai="Main-Italic",Ci=["mathit"]):gr?(ai=Dr[Ir].fontName,Ci=[Ir]):(ai=pr(Ir,Ae.fontWeight,Ae.fontShape),Ci=[Ir,Ae.fontWeight,Ae.fontShape]);if(Gr(st,ai,je).metrics)return Yr(st,ai,je,Ae,xt.concat(Ci));if(qt.hasOwnProperty(st)&&ai.substr(0,10)==="Typewriter"){for(var va=[],_a=0;_a<st.length;_a++)va.push(Yr(st[_a],ai,je,Ae,xt.concat(Ci)));return qe(va)}}if(Te==="mathord"){var Za=Nn(st,je,Ae,xt);return Yr(st,Za.fontName,je,Ae,xt.concat([Za.fontClass]))}else if(Te==="textord"){var no=Ze[je][st]&&Ze[je][st].font;if(no==="ams"){var uo=pr("amsrm",Ae.fontWeight,Ae.fontShape);return Yr(st,uo,je,Ae,xt.concat("amsrm",Ae.fontWeight,Ae.fontShape))}else if(no==="main"||!no){var Io=pr("textrm",Ae.fontWeight,Ae.fontShape);return Yr(st,Io,je,Ae,xt.concat(Ae.fontWeight,Ae.fontShape))}else{var Eo=pr(no,Ae.fontWeight,Ae.fontShape);return Yr(st,Eo,je,Ae,xt.concat(Eo,Ae.fontWeight,Ae.fontShape))}}else throw new Error("unexpected type: "+Te+" in makeOrd")},Mi=function(ne,Ae){if($(ne.classes)!==$(Ae.classes)||ne.skew!==Ae.skew||ne.maxFontSize!==Ae.maxFontSize)return!1;for(var Te in ne.style)if(ne.style.hasOwnProperty(Te)&&ne.style[Te]!==Ae.style[Te])return!1;for(var je in Ae.style)if(Ae.style.hasOwnProperty(je)&&ne.style[je]!==Ae.style[je])return!1;return!0},Xe=function(ne){for(var Ae=0;Ae<ne.length-1;Ae++){var Te=ne[Ae],je=ne[Ae+1];Te instanceof Ce&&je instanceof Ce&&Mi(Te,je)&&(Te.text+=je.text,Te.height=Math.max(Te.height,je.height),Te.depth=Math.max(Te.depth,je.depth),Te.italic=je.italic,ne.splice(Ae+1,1),Ae--)}return ne},Ie=function(ne){for(var Ae=0,Te=0,je=0,st=0;st<ne.children.length;st++){var xt=ne.children[st];xt.height>Ae&&(Ae=xt.height),xt.depth>Te&&(Te=xt.depth),xt.maxFontSize>je&&(je=xt.maxFontSize)}ne.height=Ae,ne.depth=Te,ne.maxFontSize=je},Be=function(ne,Ae,Te,je){var st=new G(ne,Ae,Te,je);return Ie(st),st},Fe=function(ne,Ae,Te,je){return new G(ne,Ae,Te,je)},Ge=function(ne,Ae,Te){var je=Be([ne],[],Ae);return je.height=Math.max(Te||Ae.fontMetrics().defaultRuleThickness,Ae.minRuleThickness),je.style.borderBottomWidth=je.height+"em",je.maxFontSize=1,je},Ke=function(ne,Ae,Te,je){var st=new Q(ne,Ae,Te,je);return Ie(st),st},qe=function(ne){var Ae=new se(ne);return Ie(Ae),Ae},vt=function(ne,Ae){return ne instanceof se?Be([],[ne],Ae):ne},lt=function(ne){if(ne.positionType==="individualShift"){for(var Ae=ne.children,Te=[Ae[0]],je=-Ae[0].shift-Ae[0].elem.depth,st=je,xt=1;xt<Ae.length;xt++){var gr=-Ae[xt].shift-st-Ae[xt].elem.depth,Ir=gr-(Ae[xt-1].elem.height+Ae[xt-1].elem.depth);st=st+gr,Te.push({type:"kern",size:Ir}),Te.push(Ae[xt])}return{children:Te,depth:je}}var Zr;if(ne.positionType==="top"){for(var En=ne.positionData,Hn=0;Hn<ne.children.length;Hn++){var ai=ne.children[Hn];En-=ai.type==="kern"?ai.size:ai.elem.height+ai.elem.depth}Zr=En}else if(ne.positionType==="bottom")Zr=-ne.positionData;else{var Ci=ne.children[0];if(Ci.type!=="elem")throw new Error('First child must have type "elem".');if(ne.positionType==="shift")Zr=-Ci.elem.depth-ne.positionData;else if(ne.positionType==="firstBaseline")Zr=-Ci.elem.depth;else throw new Error("Invalid positionType "+ne.positionType+".")}return{children:ne.children,depth:Zr}},Ft=function(ne,Ae){for(var Te=lt(ne),je=Te.children,st=Te.depth,xt=0,gr=0;gr<je.length;gr++){var Ir=je[gr];if(Ir.type==="elem"){var Zr=Ir.elem;xt=Math.max(xt,Zr.maxFontSize,Zr.height)}}xt+=2;var En=Be(["pstrut"],[]);En.style.height=xt+"em";for(var Hn=[],ai=st,Ci=st,Ui=st,va=0;va<je.length;va++){var _a=je[va];if(_a.type==="kern")Ui+=_a.size;else{var Za=_a.elem,no=_a.wrapperClasses||[],uo=_a.wrapperStyle||{},Io=Be(no,[En,Za],void 0,uo);Io.style.top=-xt-Ui-Za.depth+"em",_a.marginLeft&&(Io.style.marginLeft=_a.marginLeft),_a.marginRight&&(Io.style.marginRight=_a.marginRight),Hn.push(Io),Ui+=Za.height+Za.depth}ai=Math.min(ai,Ui),Ci=Math.max(Ci,Ui)}var Eo=Be(["vlist"],Hn);Eo.style.height=Ci+"em";var Ro;if(ai<0){var yo=Be([],[]),Lo=Be(["vlist"],[yo]);Lo.style.height=-ai+"em";var Zo=Be(["vlist-s"],[new Ce("\u200B")]);Ro=[Be(["vlist-r"],[Eo,Zo]),Be(["vlist-r"],[Lo])]}else Ro=[Be(["vlist-r"],[Eo])];var Ko=Be(["vlist-t"],Ro);return Ro.length===2&&Ko.classes.push("vlist-t2"),Ko.height=Ci,Ko.depth=-ai,Ko},wr=function(ne,Ae){var Te=Be(["mspace"],[],Ae),je=or(ne,Ae);return Te.style.marginRight=je+"em",Te},pr=function(ne,Ae,Te){var je="";switch(ne){case"amsrm":je="AMS";break;case"textrm":je="Main";break;case"textsf":je="SansSerif";break;case"texttt":je="Typewriter";break;default:je=ne}var st;return Ae==="textbf"&&Te==="textit"?st="BoldItalic":Ae==="textbf"?st="Bold":Ae==="textit"?st="Italic":st="Regular",je+"-"+st},Dr={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"}},zt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},hn=function(ne,Ae){var Te=zt[ne],je=Te[0],st=Te[1],xt=Te[2],gr=new le(je),Ir=new we([gr],{width:st+"em",height:xt+"em",style:"width:"+st+"em",viewBox:"0 0 "+1e3*st+" "+1e3*xt,preserveAspectRatio:"xMinYMin"}),Zr=Fe(["overlay"],[Ir],Ae);return Zr.height=xt,Zr.style.height=xt+"em",Zr.style.width=st+"em",Zr},ir={fontMap:Dr,makeSymbol:Yr,mathsym:In,makeSpan:Be,makeSvgSpan:Fe,makeLineSpan:Ge,makeAnchor:Ke,makeFragment:qe,wrapFragment:vt,makeVList:Ft,makeOrd:Ii,makeGlue:wr,staticSvg:hn,svgData:zt,tryCombineChars:Xe};function Xr(ft,ne){var Ae=Br(ft,ne);if(!Ae)throw new Error("Expected node of type "+ne+", but got "+(ft?"node of type "+ft.type:String(ft)));return Ae}function Br(ft,ne){return ft&&ft.type===ne?ft:null}function vr(ft,ne){var Ae=Cn(ft,ne);if(!Ae)throw new Error('Expected node of type "atom" and family "'+ne+'", but got '+(ft?ft.type==="atom"?"atom of family "+ft.family:"node of type "+ft.type:String(ft)));return Ae}function Cn(ft,ne){return ft&&ft.type==="atom"&&ft.family===ne?ft:null}function kn(ft){var ne=ei(ft);if(!ne)throw new Error("Expected node of symbol group type, but got "+(ft?"node of type "+ft.type:String(ft)));return ne}function ei(ft){return ft&&(ft.type==="atom"||_t.hasOwnProperty(ft.type))?ft:null}var ii={number:3,unit:"mu"},ti={number:4,unit:"mu"},Ti={number:5,unit:"mu"},Bn={mord:{mop:ii,mbin:ti,mrel:Ti,minner:ii},mop:{mord:ii,mop:ii,mrel:Ti,minner:ii},mbin:{mord:ti,mop:ti,mopen:ti,minner:ti},mrel:{mord:Ti,mop:Ti,mopen:Ti,minner:Ti},mopen:{},mclose:{mop:ii,mbin:ti,mrel:Ti,minner:ii},mpunct:{mord:ii,mop:ii,mrel:Ti,mopen:ii,mclose:ii,mpunct:ii,minner:ii},minner:{mord:ii,mop:ii,mbin:ti,mrel:Ti,mopen:ii,mpunct:ii,minner:ii}},Di={mord:{mop:ii},mop:{mord:ii,mop:ii},mbin:{},mrel:{},mopen:{},mclose:{mop:ii},mpunct:{},minner:{mop:ii}},gn={},Vr={},Sn={};function tn(ft){for(var ne=ft.type,Ae=ft.names,Te=ft.props,je=ft.handler,st=ft.htmlBuilder,xt=ft.mathmlBuilder,gr={type:ne,numArgs:Te.numArgs,argTypes:Te.argTypes,greediness:Te.greediness===void 0?1:Te.greediness,allowedInText:!!Te.allowedInText,allowedInMath:Te.allowedInMath===void 0?!0:Te.allowedInMath,numOptionalArgs:Te.numOptionalArgs||0,infix:!!Te.infix,handler:je},Ir=0;Ir<Ae.length;++Ir)gn[Ae[Ir]]=gr;ne&&(st&&(Vr[ne]=st),xt&&(Sn[ne]=xt))}function ci(ft){var ne=ft.type,Ae=ft.htmlBuilder,Te=ft.mathmlBuilder;tn({type:ne,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Ae,mathmlBuilder:Te})}var qn=function(ne){var Ae=Br(ne,"ordgroup");return Ae?Ae.body:[ne]},wi=ir.makeSpan,Jn=["leftmost","mbin","mopen","mrel","mop","mpunct"],Qi=["rightmost","mrel","mclose","mpunct"],xi={display:j.DISPLAY,text:j.TEXT,script:j.SCRIPT,scriptscript:j.SCRIPTSCRIPT},Ei={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},dn=function(ne,Ae,Te,je){je===void 0&&(je=[null,null]);for(var st=[],xt=0;xt<ne.length;xt++){var gr=hi(ne[xt],Ae);if(gr instanceof se){var Ir=gr.children;st.push.apply(st,Ir)}else st.push(gr)}if(!Te)return st;var Zr=Ae;if(ne.length===1){var En=Br(ne[0],"sizing")||Br(ne[0],"styling");En&&(En.type==="sizing"?Zr=Ae.havingSize(En.size):En.type==="styling"&&(Zr=Ae.havingStyle(xi[En.style])))}var Hn=wi([je[0]||"leftmost"],[],Ae),ai=wi([je[1]||"rightmost"],[],Ae);return Mr(st,function(Ci,Ui){var va=Ui.classes[0],_a=Ci.classes[0];va==="mbin"&&f.contains(Qi,_a)?Ui.classes[0]="mord":_a==="mbin"&&f.contains(Jn,va)&&(Ci.classes[0]="mord")},{node:Hn},ai),Mr(st,function(Ci,Ui){var va=Xn(Ui),_a=Xn(Ci),Za=va&&_a?Ci.hasClass("mtight")?Di[va][_a]:Bn[va][_a]:null;if(Za)return ir.makeGlue(Za,Zr)},{node:Hn},ai),st},Mr=function ft(ne,Ae,Te,je){je&&ne.push(je);for(var st=0;st<ne.length;st++){var xt=ne[st],gr=wn(xt);if(gr){ft(gr.children,Ae,Te);continue}if(xt.classes[0]==="mspace")continue;var Ir=Ae(xt,Te.node);Ir&&(Te.insertAfter?Te.insertAfter(Ir):(ne.unshift(Ir),st++)),Te.node=xt,Te.insertAfter=function(Zr){return function(En){ne.splice(Zr+1,0,En),st++}}(st)}je&&ne.pop()},wn=function(ne){return ne instanceof se||ne instanceof Q?ne:null},Rn=function ft(ne,Ae){var Te=wn(ne);if(Te){var je=Te.children;if(je.length){if(Ae==="right")return ft(je[je.length-1],"right");if(Ae==="left")return ft(je[0],"left")}}return ne},Xn=function(ne,Ae){return ne?(Ae&&(ne=Rn(ne,Ae)),Ei[ne.classes[0]]||null):null},Zn=function(ne,Ae){var Te=["nulldelimiter"].concat(ne.baseSizingClasses());return wi(Ae.concat(Te))},hi=function(ne,Ae,Te){if(!ne)return wi();if(Vr[ne.type]){var je=Vr[ne.type](ne,Ae);if(Te&&Ae.size!==Te.size){je=wi(Ae.sizingClasses(Te),[je],Ae);var st=Ae.sizeMultiplier/Te.sizeMultiplier;je.height*=st,je.depth*=st}return je}else throw new c("Got group of unknown type: '"+ne.type+"'")};function mi(ft,ne){var Ae=wi(["base"],ft,ne),Te=wi(["strut"]);return Te.style.height=Ae.height+Ae.depth+"em",Te.style.verticalAlign=-Ae.depth+"em",Ae.children.unshift(Te),Ae}function gi(ft,ne){var Ae=null;ft.length===1&&ft[0].type==="tag"&&(Ae=ft[0].tag,ft=ft[0].body);for(var Te=dn(ft,ne,!0),je=[],st=[],xt=0;xt<Te.length;xt++)if(st.push(Te[xt]),Te[xt].hasClass("mbin")||Te[xt].hasClass("mrel")||Te[xt].hasClass("allowbreak")){for(var gr=!1;xt<Te.length-1&&Te[xt+1].hasClass("mspace")&&!Te[xt+1].hasClass("newline");)xt++,st.push(Te[xt]),Te[xt].hasClass("nobreak")&&(gr=!0);gr||(je.push(mi(st,ne)),st=[])}else Te[xt].hasClass("newline")&&(st.pop(),st.length>0&&(je.push(mi(st,ne)),st=[]),je.push(Te[xt]));st.length>0&&je.push(mi(st,ne));var Ir;Ae&&(Ir=mi(dn(Ae,ne,!0)),Ir.classes=["tag"],je.push(Ir));var Zr=wi(["katex-html"],je);if(Zr.setAttribute("aria-hidden","true"),Ir){var En=Ir.children[0];En.style.height=Zr.height+Zr.depth+"em",En.style.verticalAlign=-Zr.depth+"em"}return Zr}function Vi(ft){return new se(ft)}var ma=function(){function ft(Ae,Te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Ae,this.attributes={},this.children=Te||[]}var ne=ft.prototype;return ne.setAttribute=function(Te,je){this.attributes[Te]=je},ne.getAttribute=function(Te){return this.attributes[Te]},ne.toNode=function(){var Te=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var je in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,je)&&Te.setAttribute(je,this.attributes[je]);for(var st=0;st<this.children.length;st++)Te.appendChild(this.children[st].toNode());return Te},ne.toMarkup=function(){var Te="<"+this.type;for(var je in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,je)&&(Te+=" "+je+'="',Te+=f.escape(this.attributes[je]),Te+='"');Te+=">";for(var st=0;st<this.children.length;st++)Te+=this.children[st].toMarkup();return Te+="</"+this.type+">",Te},ne.toText=function(){return this.children.map(function(Te){return Te.toText()}).join("")},ft}(),ca=function(){function ft(Ae){this.text=void 0,this.text=Ae}var ne=ft.prototype;return ne.toNode=function(){return document.createTextNode(this.text)},ne.toMarkup=function(){return f.escape(this.toText())},ne.toText=function(){return this.text},ft}(),ja=function(){function ft(Ae){this.width=void 0,this.character=void 0,this.width=Ae,Ae>=.05555&&Ae<=.05556?this.character="\u200A":Ae>=.1666&&Ae<=.1667?this.character="\u2009":Ae>=.2222&&Ae<=.2223?this.character="\u2005":Ae>=.2777&&Ae<=.2778?this.character="\u2005\u200A":Ae>=-.05556&&Ae<=-.05555?this.character="\u200A\u2063":Ae>=-.1667&&Ae<=-.1666?this.character="\u2009\u2063":Ae>=-.2223&&Ae<=-.2222?this.character="\u205F\u2063":Ae>=-.2778&&Ae<=-.2777?this.character="\u2005\u2063":this.character=null}var ne=ft.prototype;return ne.toNode=function(){if(this.character)return document.createTextNode(this.character);var Te=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Te.setAttribute("width",this.width+"em"),Te},ne.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},ne.toText=function(){return this.character?this.character:" "},ft}(),fi={MathNode:ma,TextNode:ca,SpaceNode:ja,newDocumentFragment:Vi},cn=function(ne,Ae,Te){return Ze[Ae][ne]&&Ze[Ae][ne].replace&&ne.charCodeAt(0)!==55349&&!(qt.hasOwnProperty(ne)&&Te&&(Te.fontFamily&&Te.fontFamily.substr(4,2)==="tt"||Te.font&&Te.font.substr(4,2)==="tt"))&&(ne=Ze[Ae][ne].replace),new fi.TextNode(ne)},Bi=function(ne){return ne.length===1?ne[0]:new fi.MathNode("mrow",ne)},sa=function(ne,Ae){if(Ae.fontFamily==="texttt")return"monospace";if(Ae.fontFamily==="textsf")return Ae.fontShape==="textit"&&Ae.fontWeight==="textbf"?"sans-serif-bold-italic":Ae.fontShape==="textit"?"sans-serif-italic":Ae.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Ae.fontShape==="textit"&&Ae.fontWeight==="textbf")return"bold-italic";if(Ae.fontShape==="textit")return"italic";if(Ae.fontWeight==="textbf")return"bold";var Te=Ae.font;if(!Te||Te==="mathnormal")return null;var je=ne.mode;if(Te==="mathit")return"italic";if(Te==="boldsymbol")return"bold-italic";if(Te==="mathbf")return"bold";if(Te==="mathbb")return"double-struck";if(Te==="mathfrak")return"fraktur";if(Te==="mathscr"||Te==="mathcal")return"script";if(Te==="mathsf")return"sans-serif";if(Te==="mathtt")return"monospace";var st=ne.text;if(f.contains(["\\imath","\\jmath"],st))return null;Ze[je][st]&&Ze[je][st].replace&&(st=Ze[je][st].replace);var xt=ir.fontMap[Te].fontName;return Qe(st,xt,je)?ir.fontMap[Te].variant:null},zi=function(ne,Ae,Te){if(ne.length===1){var je=Vt(ne[0],Ae);return Te&&je instanceof ma&&je.type==="mo"&&(je.setAttribute("lspace","0em"),je.setAttribute("rspace","0em")),[je]}for(var st=[],xt,gr=0;gr<ne.length;gr++){var Ir=Vt(ne[gr],Ae);if(Ir instanceof ma&&xt instanceof ma){if(Ir.type==="mtext"&&xt.type==="mtext"&&Ir.getAttribute("mathvariant")===xt.getAttribute("mathvariant")){var Zr;(Zr=xt.children).push.apply(Zr,Ir.children);continue}else if(Ir.type==="mn"&&xt.type==="mn"){var En;(En=xt.children).push.apply(En,Ir.children);continue}else if(Ir.type==="mi"&&Ir.children.length===1&&xt.type==="mn"){var Hn=Ir.children[0];if(Hn instanceof ca&&Hn.text==="."){var ai;(ai=xt.children).push.apply(ai,Ir.children);continue}}else if(xt.type==="mi"&&xt.children.length===1){var Ci=xt.children[0];if(Ci instanceof ca&&Ci.text==="\u0338"&&(Ir.type==="mo"||Ir.type==="mi"||Ir.type==="mn")){var Ui=Ir.children[0];Ui instanceof ca&&Ui.text.length>0&&(Ui.text=Ui.text.slice(0,1)+"\u0338"+Ui.text.slice(1),st.pop())}}}st.push(Ir),xt=Ir}return st},da=function(ne,Ae,Te){return Bi(zi(ne,Ae,Te))},Vt=function(ne,Ae){if(!ne)return new fi.MathNode("mrow");if(Sn[ne.type]){var Te=Sn[ne.type](ne,Ae);return Te}else throw new c("Got group of unknown type: '"+ne.type+"'")};function Qr(ft,ne,Ae,Te){var je=zi(ft,Ae),st;je.length===1&&je[0]instanceof ma&&f.contains(["mrow","mtable"],je[0].type)?st=je[0]:st=new fi.MathNode("mrow",je);var xt=new fi.MathNode("annotation",[new fi.TextNode(ne)]);xt.setAttribute("encoding","application/x-tex");var gr=new fi.MathNode("semantics",[st,xt]),Ir=new fi.MathNode("math",[gr]);Ir.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Zr=Te?"katex":"katex-mathml";return ir.makeSpan([Zr],[Ir])}var an=function(ne){return new Bt({style:ne.displayMode?j.DISPLAY:j.TEXT,maxSize:ne.maxSize,minRuleThickness:ne.minRuleThickness})},mn=function(ne,Ae){if(Ae.displayMode){var Te=["katex-display"];Ae.leqno&&Te.push("leqno"),Ae.fleqn&&Te.push("fleqn"),ne=ir.makeSpan(Te,[ne])}return ne},Ye=function(ne,Ae,Te){var je=an(Te),st;if(Te.output==="mathml")return Qr(ne,Ae,je,!0);if(Te.output==="html"){var xt=gi(ne,je);st=ir.makeSpan(["katex"],[xt])}else{var gr=Qr(ne,Ae,je,!1),Ir=gi(ne,je);st=ir.makeSpan(["katex"],[gr,Ir])}return mn(st,Te)},It=function(ne,Ae,Te){var je=an(Te),st=gi(ne,je),xt=ir.makeSpan(["katex"],[st]);return mn(xt,Te)},lr=Ye,sr={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"},Lr=function(ne){var Ae=new fi.MathNode("mo",[new fi.TextNode(sr[ne.substr(1)])]);return Ae.setAttribute("stretchy","true"),Ae},Pr={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]},Kr=function(ne){return ne.type==="ordgroup"?ne.body.length:1},on=function(ne,Ae){function Te(){var Ir=4e5,Zr=ne.label.substr(1);if(f.contains(["widehat","widecheck","widetilde","utilde"],Zr)){var En=ne,Hn=Kr(En.base),ai,Ci,Ui;if(Hn>5)Zr==="widehat"||Zr==="widecheck"?(ai=420,Ir=2364,Ui=.42,Ci=Zr+"4"):(ai=312,Ir=2340,Ui=.34,Ci="tilde4");else{var va=[1,1,2,2,3,3][Hn];Zr==="widehat"||Zr==="widecheck"?(Ir=[0,1062,2364,2364,2364][va],ai=[0,239,300,360,420][va],Ui=[0,.24,.3,.3,.36,.42][va],Ci=Zr+va):(Ir=[0,600,1033,2339,2340][va],ai=[0,260,286,306,312][va],Ui=[0,.26,.286,.3,.306,.34][va],Ci="tilde"+va)}var _a=new le(Ci),Za=new we([_a],{width:"100%",height:Ui+"em",viewBox:"0 0 "+Ir+" "+ai,preserveAspectRatio:"none"});return{span:ir.makeSvgSpan([],[Za],Ae),minWidth:0,height:Ui}}else{var no=[],uo=Pr[Zr],Io=uo[0],Eo=uo[1],Ro=uo[2],yo=Ro/1e3,Lo=Io.length,Zo,Ko;if(Lo===1){var To=uo[3];Zo=["hide-tail"],Ko=[To]}else if(Lo===2)Zo=["halfarrow-left","halfarrow-right"],Ko=["xMinYMin","xMaxYMin"];else if(Lo===3)Zo=["brace-left","brace-center","brace-right"],Ko=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Lo+" children.");for(var aa=0;aa<Lo;aa++){var Ns=new le(Io[aa]),Ss=new we([Ns],{width:"400em",height:yo+"em",viewBox:"0 0 "+Ir+" "+Ro,preserveAspectRatio:Ko[aa]+" slice"}),is=ir.makeSvgSpan([Zo[aa]],[Ss],Ae);if(Lo===1)return{span:is,minWidth:Eo,height:yo};is.style.height=yo+"em",no.push(is)}return{span:ir.makeSpan(["stretchy"],no,Ae),minWidth:Eo,height:yo}}}var je=Te(),st=je.span,xt=je.minWidth,gr=je.height;return st.height=gr,st.style.height=gr+"em",xt>0&&(st.style.minWidth=xt+"em"),st},xn=function(ne,Ae,Te,je){var st,xt=ne.height+ne.depth+2*Te;if(/fbox|color/.test(Ae)){if(st=ir.makeSpan(["stretchy",Ae],[],je),Ae==="fbox"){var gr=je.color&&je.getColor();gr&&(st.style.borderColor=gr)}}else{var Ir=[];/^[bx]cancel$/.test(Ae)&&Ir.push(new fe({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Ae)&&Ir.push(new fe({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Zr=new we(Ir,{width:"100%",height:xt+"em"});st=ir.makeSvgSpan([],[Zr],je)}return st.height=xt,st.style.height=xt+"em",st},An={encloseSpan:xn,mathMLnode:Lr,svgSpan:on},Pn=function(ne,Ae){var Te,je,st=Br(ne,"supsub"),xt;st?(je=Xr(st.base,"accent"),Te=je.base,st.base=Te,xt=We(hi(st,Ae)),st.base=je):(je=Xr(ne,"accent"),Te=je.base);var gr=hi(Te,Ae.havingCrampedStyle()),Ir=je.isShifty&&f.isCharacterBox(Te),Zr=0;if(Ir){var En=f.getBaseElem(Te),Hn=hi(En,Ae.havingCrampedStyle());Zr=xe(Hn).skew}var ai=Math.min(gr.height,Ae.fontMetrics().xHeight),Ci;if(je.isStretchy)Ci=An.svgSpan(je,Ae),Ci=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:gr},{type:"elem",elem:Ci,wrapperClasses:["svg-align"],wrapperStyle:Zr>0?{width:"calc(100% - "+2*Zr+"em)",marginLeft:2*Zr+"em"}:void 0}]},Ae);else{var Ui,va;je.label==="\\vec"?(Ui=ir.staticSvg("vec",Ae),va=ir.svgData.vec[1]):(Ui=ir.makeOrd({mode:je.mode,text:je.label},Ae,"textord"),Ui=xe(Ui),Ui.italic=0,va=Ui.width),Ci=ir.makeSpan(["accent-body"],[Ui]);var _a=je.label==="\\textcircled";_a&&(Ci.classes.push("accent-full"),ai=gr.height);var Za=Zr;_a||(Za-=va/2),Ci.style.left=Za+"em",je.label==="\\textcircled"&&(Ci.style.top=".2em"),Ci=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:gr},{type:"kern",size:-ai},{type:"elem",elem:Ci}]},Ae)}var no=ir.makeSpan(["mord","accent"],[Ci],Ae);return xt?(xt.children[0]=no,xt.height=Math.max(no.height,xt.height),xt.classes[0]="mord",xt):no},Un=function(ne,Ae){var Te=ne.isStretchy?An.mathMLnode(ne.label):new fi.MathNode("mo",[cn(ne.label,ne.mode)]),je=new fi.MathNode("mover",[Vt(ne.base,Ae),Te]);return je.setAttribute("accent","true"),je},bn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(ft){return"\\"+ft}).join("|"));tn({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(ne,Ae){var Te=Ae[0],je=!bn.test(ne.funcName),st=!je||ne.funcName==="\\widehat"||ne.funcName==="\\widetilde"||ne.funcName==="\\widecheck";return{type:"accent",mode:ne.parser.mode,label:ne.funcName,isStretchy:je,isShifty:st,base:Te}},htmlBuilder:Pn,mathmlBuilder:Un}),tn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(ne,Ae){var Te=Ae[0];return{type:"accent",mode:ne.parser.mode,label:ne.funcName,isStretchy:!1,isShifty:!0,base:Te}},htmlBuilder:Pn,mathmlBuilder:Un}),tn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0];return{type:"accentUnder",mode:Te.mode,label:je,base:st}},htmlBuilder:function(ne,Ae){var Te=hi(ne.base,Ae),je=An.svgSpan(ne,Ae),st=ne.label==="\\utilde"?.12:0,xt=ir.makeVList({positionType:"bottom",positionData:je.height+st,children:[{type:"elem",elem:je,wrapperClasses:["svg-align"]},{type:"kern",size:st},{type:"elem",elem:Te}]},Ae);return ir.makeSpan(["mord","accentunder"],[xt],Ae)},mathmlBuilder:function(ne,Ae){var Te=An.mathMLnode(ne.label),je=new fi.MathNode("munder",[Vt(ne.base,Ae),Te]);return je.setAttribute("accentunder","true"),je}});var _n=function(ne){var Ae=new fi.MathNode("mpadded",ne?[ne]:[]);return Ae.setAttribute("width","+0.6em"),Ae.setAttribute("lspace","0.3em"),Ae};tn({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(ne,Ae,Te){var je=ne.parser,st=ne.funcName;return{type:"xArrow",mode:je.mode,label:st,body:Ae[0],below:Te[0]}},htmlBuilder:function(ne,Ae){var Te=Ae.style,je=Ae.havingStyle(Te.sup()),st=ir.wrapFragment(hi(ne.body,je,Ae),Ae);st.classes.push("x-arrow-pad");var xt;ne.below&&(je=Ae.havingStyle(Te.sub()),xt=ir.wrapFragment(hi(ne.below,je,Ae),Ae),xt.classes.push("x-arrow-pad"));var gr=An.svgSpan(ne,Ae),Ir=-Ae.fontMetrics().axisHeight+.5*gr.height,Zr=-Ae.fontMetrics().axisHeight-.5*gr.height-.111;(st.depth>.25||ne.label==="\\xleftequilibrium")&&(Zr-=st.depth);var En;if(xt){var Hn=-Ae.fontMetrics().axisHeight+xt.height+.5*gr.height+.111;En=ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:st,shift:Zr},{type:"elem",elem:gr,shift:Ir},{type:"elem",elem:xt,shift:Hn}]},Ae)}else En=ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:st,shift:Zr},{type:"elem",elem:gr,shift:Ir}]},Ae);return En.children[0].children[0].children[1].classes.push("svg-align"),ir.makeSpan(["mrel","x-arrow"],[En],Ae)},mathmlBuilder:function(ne,Ae){var Te=An.mathMLnode(ne.label),je;if(ne.body){var st=_n(Vt(ne.body,Ae));if(ne.below){var xt=_n(Vt(ne.below,Ae));je=new fi.MathNode("munderover",[Te,xt,st])}else je=new fi.MathNode("mover",[Te,st])}else if(ne.below){var gr=_n(Vt(ne.below,Ae));je=new fi.MathNode("munder",[Te,gr])}else je=_n(),je=new fi.MathNode("mover",[Te,je]);return je}}),tn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(ne,Ae){for(var Te=ne.parser,je=Xr(Ae[0],"ordgroup"),st=je.body,xt="",gr=0;gr<st.length;gr++){var Ir=Xr(st[gr],"textord");xt+=Ir.text}var Zr=parseInt(xt);if(isNaN(Zr))throw new c("\\@char has non-numeric argument "+xt);return{type:"textord",mode:Te.mode,text:String.fromCharCode(Zr)}}});var Tn=function(ne,Ae){var Te=dn(ne.body,Ae.withColor(ne.color),!1);return ir.makeFragment(Te)},Wn=function(ne,Ae){var Te=zi(ne.body,Ae.withColor(ne.color)),je=new fi.MathNode("mstyle",Te);return je.setAttribute("mathcolor",ne.color),je};tn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(ne,Ae){var Te=ne.parser,je=Xr(Ae[0],"color-token").color,st=Ae[1];return{type:"color",mode:Te.mode,color:je,body:qn(st)}},htmlBuilder:Tn,mathmlBuilder:Wn}),tn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(ne,Ae){var Te=ne.parser,je=ne.breakOnTokenText,st=Xr(Ae[0],"color-token").color;Te.gullet.macros.set("\\current@color",st);var xt=Te.parseExpression(!0,je);return{type:"color",mode:Te.mode,color:st,body:xt}},htmlBuilder:Tn,mathmlBuilder:Wn}),tn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ne,Ae,Te){var je=ne.parser,st=ne.funcName,xt=Te[0],gr=st==="\\cr",Ir=!1;return gr||(je.settings.displayMode&&je.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ir=!1:Ir=!0),{type:"cr",mode:je.mode,newLine:Ir,newRow:gr,size:xt&&Xr(xt,"size").value}},htmlBuilder:function(ne,Ae){if(ne.newRow)throw new c("\\cr valid only within a tabular/array environment");var Te=ir.makeSpan(["mspace"],[],Ae);return ne.newLine&&(Te.classes.push("newline"),ne.size&&(Te.style.marginTop=or(ne.size,Ae)+"em")),Te},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mspace");return ne.newLine&&(Te.setAttribute("linebreak","newline"),ne.size&&Te.setAttribute("height",or(ne.size,Ae)+"em")),Te}});var Gn=function(ne,Ae,Te){var je=Ze.math[ne]&&Ze.math[ne].replace,st=Qe(je||ne,Ae,Te);if(!st)throw new Error("Unsupported symbol "+ne+" and font size "+Ae+".");return st},ri=function(ne,Ae,Te,je){var st=Te.havingBaseStyle(Ae),xt=ir.makeSpan(je.concat(st.sizingClasses(Te)),[ne],Te),gr=st.sizeMultiplier/Te.sizeMultiplier;return xt.height*=gr,xt.depth*=gr,xt.maxFontSize=st.sizeMultiplier,xt},Si=function(ne,Ae,Te){var je=Ae.havingBaseStyle(Te),st=(1-Ae.sizeMultiplier/je.sizeMultiplier)*Ae.fontMetrics().axisHeight;ne.classes.push("delimcenter"),ne.style.top=st+"em",ne.height-=st,ne.depth+=st},oi=function(ne,Ae,Te,je,st,xt){var gr=ir.makeSymbol(ne,"Main-Regular",st,je),Ir=ri(gr,Ae,je,xt);return Te&&Si(Ir,je,Ae),Ir},Pi=function(ne,Ae,Te,je){return ir.makeSymbol(ne,"Size"+Ae+"-Regular",Te,je)},Hi=function(ne,Ae,Te,je,st,xt){var gr=Pi(ne,Ae,st,je),Ir=ri(ir.makeSpan(["delimsizing","size"+Ae],[gr],je),j.TEXT,je,xt);return Te&&Si(Ir,je,j.TEXT),Ir},_i=function(ne,Ae,Te){var je;Ae==="Size1-Regular"?je="delim-size1":je="delim-size4";var st=ir.makeSpan(["delimsizinginner",je],[ir.makeSpan([],[ir.makeSymbol(ne,Ae,Te)])]);return{type:"elem",elem:st}},pi={type:"kern",size:-.005},ki=function(ne,Ae,Te,je,st,xt){var gr,Ir,Zr,En;gr=Zr=En=ne,Ir=null;var Hn="Size1-Regular";ne==="\\uparrow"?Zr=En="\u23D0":ne==="\\Uparrow"?Zr=En="\u2016":ne==="\\downarrow"?gr=Zr="\u23D0":ne==="\\Downarrow"?gr=Zr="\u2016":ne==="\\updownarrow"?(gr="\\uparrow",Zr="\u23D0",En="\\downarrow"):ne==="\\Updownarrow"?(gr="\\Uparrow",Zr="\u2016",En="\\Downarrow"):ne==="["||ne==="\\lbrack"?(gr="\u23A1",Zr="\u23A2",En="\u23A3",Hn="Size4-Regular"):ne==="]"||ne==="\\rbrack"?(gr="\u23A4",Zr="\u23A5",En="\u23A6",Hn="Size4-Regular"):ne==="\\lfloor"||ne==="\u230A"?(Zr=gr="\u23A2",En="\u23A3",Hn="Size4-Regular"):ne==="\\lceil"||ne==="\u2308"?(gr="\u23A1",Zr=En="\u23A2",Hn="Size4-Regular"):ne==="\\rfloor"||ne==="\u230B"?(Zr=gr="\u23A5",En="\u23A6",Hn="Size4-Regular"):ne==="\\rceil"||ne==="\u2309"?(gr="\u23A4",Zr=En="\u23A5",Hn="Size4-Regular"):ne==="("||ne==="\\lparen"?(gr="\u239B",Zr="\u239C",En="\u239D",Hn="Size4-Regular"):ne===")"||ne==="\\rparen"?(gr="\u239E",Zr="\u239F",En="\u23A0",Hn="Size4-Regular"):ne==="\\{"||ne==="\\lbrace"?(gr="\u23A7",Ir="\u23A8",En="\u23A9",Zr="\u23AA",Hn="Size4-Regular"):ne==="\\}"||ne==="\\rbrace"?(gr="\u23AB",Ir="\u23AC",En="\u23AD",Zr="\u23AA",Hn="Size4-Regular"):ne==="\\lgroup"||ne==="\u27EE"?(gr="\u23A7",En="\u23A9",Zr="\u23AA",Hn="Size4-Regular"):ne==="\\rgroup"||ne==="\u27EF"?(gr="\u23AB",En="\u23AD",Zr="\u23AA",Hn="Size4-Regular"):ne==="\\lmoustache"||ne==="\u23B0"?(gr="\u23A7",En="\u23AD",Zr="\u23AA",Hn="Size4-Regular"):(ne==="\\rmoustache"||ne==="\u23B1")&&(gr="\u23AB",En="\u23A9",Zr="\u23AA",Hn="Size4-Regular");var ai=Gn(gr,Hn,st),Ci=ai.height+ai.depth,Ui=Gn(Zr,Hn,st),va=Ui.height+Ui.depth,_a=Gn(En,Hn,st),Za=_a.height+_a.depth,no=0,uo=1;if(Ir!==null){var Io=Gn(Ir,Hn,st);no=Io.height+Io.depth,uo=2}var Eo=Ci+Za+no,Ro=Math.max(0,Math.ceil((Ae-Eo)/(uo*va))),yo=Eo+Ro*uo*va,Lo=je.fontMetrics().axisHeight;Te&&(Lo*=je.sizeMultiplier);var Zo=yo/2-Lo,Ko=(Ro+1)*.005-va,To=[];if(To.push(_i(En,Hn,st)),Ir===null)for(var aa=0;aa<Ro;aa++)To.push(pi),To.push(_i(Zr,Hn,st));else{for(var Ns=0;Ns<Ro;Ns++)To.push(pi),To.push(_i(Zr,Hn,st));To.push({type:"kern",size:Ko}),To.push(_i(Zr,Hn,st)),To.push(pi),To.push(_i(Ir,Hn,st));for(var Ss=0;Ss<Ro;Ss++)To.push(pi),To.push(_i(Zr,Hn,st))}To.push({type:"kern",size:Ko}),To.push(_i(Zr,Hn,st)),To.push(pi),To.push(_i(gr,Hn,st));var is=je.havingBaseStyle(j.TEXT),Qo=ir.makeVList({positionType:"bottom",positionData:Zo,children:To},is);return ri(ir.makeSpan(["delimsizing","mult"],[Qo],is),j.TEXT,je,xt)},zn=80,ji=.08,Yi=function(ne,Ae,Te,je,st){var xt=ce(ne,je,Te),gr=new le(ne,xt),Ir=new we([gr],{width:"400em",height:Ae+"em",viewBox:"0 0 400000 "+Te,preserveAspectRatio:"xMinYMin slice"});return ir.makeSvgSpan(["hide-tail"],[Ir],st)},ta=function(ne,Ae){var Te=Ae.havingBaseSizing(),je=Hr("\\surd",ne*Te.sizeMultiplier,$t,Te),st=Te.sizeMultiplier,xt=Math.max(0,Ae.minRuleThickness-Ae.fontMetrics().sqrtRuleThickness),gr,Ir=0,Zr=0,En=0,Hn;return je.type==="small"?(En=1e3+1e3*xt+zn,ne<1?st=1:ne<1.4&&(st=.7),Ir=(1+xt+ji)/st,Zr=(1+xt)/st,gr=Yi("sqrtMain",Ir,En,xt,Ae),gr.style.minWidth="0.853em",Hn=.833/st):je.type==="large"?(En=(1e3+zn)*nn[je.size],Zr=(nn[je.size]+xt)/st,Ir=(nn[je.size]+xt+ji)/st,gr=Yi("sqrtSize"+je.size,Ir,En,xt,Ae),gr.style.minWidth="1.02em",Hn=1/st):(Ir=ne+xt+ji,Zr=ne+xt,En=Math.floor(1e3*ne+xt)+zn,gr=Yi("sqrtTall",Ir,En,xt,Ae),gr.style.minWidth="0.742em",Hn=1.056),gr.height=Zr,gr.style.height=Ir+"em",{span:gr,advanceWidth:Hn,ruleWidth:(Ae.fontMetrics().sqrtRuleThickness+xt)*st}},Zi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],br=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Wr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],nn=[0,1.2,1.8,2.4,3],Nr=function(ne,Ae,Te,je,st){if(ne==="<"||ne==="\\lt"||ne==="\u27E8"?ne="\\langle":(ne===">"||ne==="\\gt"||ne==="\u27E9")&&(ne="\\rangle"),f.contains(Zi,ne)||f.contains(Wr,ne))return Hi(ne,Ae,!1,Te,je,st);if(f.contains(br,ne))return ki(ne,nn[Ae],!1,Te,je,st);throw new c("Illegal delimiter: '"+ne+"'")},jt=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],xr=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"stack"}],$t=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],jr=function(ne){if(ne.type==="small")return"Main-Regular";if(ne.type==="large")return"Size"+ne.size+"-Regular";if(ne.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+ne.type+"' here.")},Hr=function(ne,Ae,Te,je){for(var st=Math.min(2,3-je.style.size),xt=st;xt<Te.length&&!(Te[xt].type==="stack");xt++){var gr=Gn(ne,jr(Te[xt]),"math"),Ir=gr.height+gr.depth;if(Te[xt].type==="small"){var Zr=je.havingBaseStyle(Te[xt].style);Ir*=Zr.sizeMultiplier}if(Ir>Ae)return Te[xt]}return Te[Te.length-1]},ln=function(ne,Ae,Te,je,st,xt){ne==="<"||ne==="\\lt"||ne==="\u27E8"?ne="\\langle":(ne===">"||ne==="\\gt"||ne==="\u27E9")&&(ne="\\rangle");var gr;f.contains(Wr,ne)?gr=jt:f.contains(Zi,ne)?gr=$t:gr=xr;var Ir=Hr(ne,Ae,gr,je);return Ir.type==="small"?oi(ne,Ir.style,Te,je,st,xt):Ir.type==="large"?Hi(ne,Ir.size,Te,je,st,xt):ki(ne,Ae,Te,je,st,xt)},qr=function(ne,Ae,Te,je,st,xt){var gr=je.fontMetrics().axisHeight*je.sizeMultiplier,Ir=901,Zr=5/je.fontMetrics().ptPerEm,En=Math.max(Ae-gr,Te+gr),Hn=Math.max(En/500*Ir,2*En-Zr);return ln(ne,Hn,!0,je,st,xt)},fn={sqrtImage:ta,sizedDelim:Nr,customSizedDelim:ln,leftRightDelim:qr},Dn={"\\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}},li=["(","\\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 di(ft,ne){var Ae=ei(ft);if(Ae&&f.contains(li,Ae.text))return Ae;throw new c("Invalid delimiter: '"+(Ae?Ae.text:JSON.stringify(ft))+"' after '"+ne.funcName+"'",ft)}tn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(ne,Ae){var Te=di(Ae[0],ne);return{type:"delimsizing",mode:ne.parser.mode,size:Dn[ne.funcName].size,mclass:Dn[ne.funcName].mclass,delim:Te.text}},htmlBuilder:function(ne,Ae){return ne.delim==="."?ir.makeSpan([ne.mclass]):fn.sizedDelim(ne.delim,ne.size,Ae,ne.mode,[ne.mclass])},mathmlBuilder:function(ne){var Ae=[];ne.delim!=="."&&Ae.push(cn(ne.delim,ne.mode));var Te=new fi.MathNode("mo",Ae);return ne.mclass==="mopen"||ne.mclass==="mclose"?Te.setAttribute("fence","true"):Te.setAttribute("fence","false"),Te}});function Ri(ft){if(!ft.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}tn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(ne,Ae){var Te=ne.parser.gullet.macros.get("\\current@color");if(Te&&typeof Te!="string")throw new c("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:ne.parser.mode,delim:di(Ae[0],ne).text,color:Te}}}),tn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(ne,Ae){var Te=di(Ae[0],ne),je=ne.parser;++je.leftrightDepth;var st=je.parseExpression(!1);--je.leftrightDepth,je.expect("\\right",!1);var xt=Xr(je.parseFunction(),"leftright-right");return{type:"leftright",mode:je.mode,body:st,left:Te.text,right:xt.delim,rightColor:xt.color}},htmlBuilder:function(ne,Ae){Ri(ne);for(var Te=dn(ne.body,Ae,!0,["mopen","mclose"]),je=0,st=0,xt=!1,gr=0;gr<Te.length;gr++)Te[gr].isMiddle?xt=!0:(je=Math.max(Te[gr].height,je),st=Math.max(Te[gr].depth,st));je*=Ae.sizeMultiplier,st*=Ae.sizeMultiplier;var Ir;if(ne.left==="."?Ir=Zn(Ae,["mopen"]):Ir=fn.leftRightDelim(ne.left,je,st,Ae,ne.mode,["mopen"]),Te.unshift(Ir),xt)for(var Zr=1;Zr<Te.length;Zr++){var En=Te[Zr],Hn=En.isMiddle;Hn&&(Te[Zr]=fn.leftRightDelim(Hn.delim,je,st,Hn.options,ne.mode,[]))}var ai;if(ne.right===".")ai=Zn(Ae,["mclose"]);else{var Ci=ne.rightColor?Ae.withColor(ne.rightColor):Ae;ai=fn.leftRightDelim(ne.right,je,st,Ci,ne.mode,["mclose"])}return Te.push(ai),ir.makeSpan(["minner"],Te,Ae)},mathmlBuilder:function(ne,Ae){Ri(ne);var Te=zi(ne.body,Ae);if(ne.left!=="."){var je=new fi.MathNode("mo",[cn(ne.left,ne.mode)]);je.setAttribute("fence","true"),Te.unshift(je)}if(ne.right!=="."){var st=new fi.MathNode("mo",[cn(ne.right,ne.mode)]);st.setAttribute("fence","true"),ne.rightColor&&st.setAttribute("mathcolor",ne.rightColor),Te.push(st)}return Bi(Te)}}),tn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(ne,Ae){var Te=di(Ae[0],ne);if(!ne.parser.leftrightDepth)throw new c("\\middle without preceding \\left",Te);return{type:"middle",mode:ne.parser.mode,delim:Te.text}},htmlBuilder:function(ne,Ae){var Te;if(ne.delim===".")Te=Zn(Ae,[]);else{Te=fn.sizedDelim(ne.delim,1,Ae,ne.mode,[]);var je={delim:ne.delim,options:Ae};Te.isMiddle=je}return Te},mathmlBuilder:function(ne,Ae){var Te=ne.delim==="\\vert"||ne.delim==="|"?cn("|","text"):cn(ne.delim,ne.mode),je=new fi.MathNode("mo",[Te]);return je.setAttribute("fence","true"),je.setAttribute("lspace","0.05em"),je.setAttribute("rspace","0.05em"),je}});var la=function(ne,Ae){var Te=ir.wrapFragment(hi(ne.body,Ae),Ae),je=ne.label.substr(1),st=Ae.sizeMultiplier,xt,gr=0,Ir=f.isCharacterBox(ne.body);if(je==="sout")xt=ir.makeSpan(["stretchy","sout"]),xt.height=Ae.fontMetrics().defaultRuleThickness/st,gr=-.5*Ae.fontMetrics().xHeight;else{/cancel/.test(je)?Ir||Te.classes.push("cancel-pad"):Te.classes.push("boxpad");var Zr=0,En=0;/box/.test(je)?(En=Math.max(Ae.fontMetrics().fboxrule,Ae.minRuleThickness),Zr=Ae.fontMetrics().fboxsep+(je==="colorbox"?0:En)):Zr=Ir?.2:0,xt=An.encloseSpan(Te,je,Zr,Ae),/fbox|boxed|fcolorbox/.test(je)&&(xt.style.borderStyle="solid",xt.style.borderWidth=En+"em"),gr=Te.depth+Zr,ne.backgroundColor&&(xt.style.backgroundColor=ne.backgroundColor,ne.borderColor&&(xt.style.borderColor=ne.borderColor))}var Hn;return ne.backgroundColor?Hn=ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:xt,shift:gr},{type:"elem",elem:Te,shift:0}]},Ae):Hn=ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:0},{type:"elem",elem:xt,shift:gr,wrapperClasses:/cancel/.test(je)?["svg-align"]:[]}]},Ae),/cancel/.test(je)&&(Hn.height=Te.height,Hn.depth=Te.depth),/cancel/.test(je)&&!Ir?ir.makeSpan(["mord","cancel-lap"],[Hn],Ae):ir.makeSpan(["mord"],[Hn],Ae)},na=function(ne,Ae){var Te=0,je=new fi.MathNode(ne.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Vt(ne.body,Ae)]);switch(ne.label){case"\\cancel":je.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":je.setAttribute("notation","downdiagonalstrike");break;case"\\sout":je.setAttribute("notation","horizontalstrike");break;case"\\fbox":je.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Te=Ae.fontMetrics().fboxsep*Ae.fontMetrics().ptPerEm,je.setAttribute("width","+"+2*Te+"pt"),je.setAttribute("height","+"+2*Te+"pt"),je.setAttribute("lspace",Te+"pt"),je.setAttribute("voffset",Te+"pt"),ne.label==="\\fcolorbox"){var st=Math.max(Ae.fontMetrics().fboxrule,Ae.minRuleThickness);je.setAttribute("style","border: "+st+"em solid "+String(ne.borderColor))}break;case"\\xcancel":je.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return ne.backgroundColor&&je.setAttribute("mathbackground",ne.backgroundColor),je};tn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(ne,Ae,Te){var je=ne.parser,st=ne.funcName,xt=Xr(Ae[0],"color-token").color,gr=Ae[1];return{type:"enclose",mode:je.mode,label:st,backgroundColor:xt,body:gr}},htmlBuilder:la,mathmlBuilder:na}),tn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(ne,Ae,Te){var je=ne.parser,st=ne.funcName,xt=Xr(Ae[0],"color-token").color,gr=Xr(Ae[1],"color-token").color,Ir=Ae[2];return{type:"enclose",mode:je.mode,label:st,backgroundColor:gr,borderColor:xt,body:Ir}},htmlBuilder:la,mathmlBuilder:na}),tn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser;return{type:"enclose",mode:Te.mode,label:"\\fbox",body:Ae[0]}}}),tn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(ne,Ae,Te){var je=ne.parser,st=ne.funcName,xt=Ae[0];return{type:"enclose",mode:je.mode,label:st,body:xt}},htmlBuilder:la,mathmlBuilder:na});var ga={};function Fi(ft){for(var ne=ft.type,Ae=ft.names,Te=ft.props,je=ft.handler,st=ft.htmlBuilder,xt=ft.mathmlBuilder,gr={type:ne,numArgs:Te.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:je},Ir=0;Ir<Ae.length;++Ir)ga[Ae[Ir]]=gr;st&&(Vr[ne]=st),xt&&(Sn[ne]=xt)}function Ni(ft){var ne=[];ft.consumeSpaces();for(var Ae=ft.fetch().text;Ae==="\\hline"||Ae==="\\hdashline";)ft.consume(),ne.push(Ae==="\\hdashline"),ft.consumeSpaces(),Ae=ft.fetch().text;return ne}function ia(ft,ne,Ae){var Te=ne.hskipBeforeAndAfter,je=ne.addJot,st=ne.cols,xt=ne.arraystretch,gr=ne.colSeparationType;if(ft.gullet.beginGroup(),ft.gullet.macros.set("\\\\","\\cr"),!xt){var Ir=ft.gullet.expandMacroAsText("\\arraystretch");if(Ir==null)xt=1;else if(xt=parseFloat(Ir),!xt||xt<0)throw new c("Invalid \\arraystretch: "+Ir)}ft.gullet.beginGroup();var Zr=[],En=[Zr],Hn=[],ai=[];for(ai.push(Ni(ft));;){var Ci=ft.parseExpression(!1,"\\cr");ft.gullet.endGroup(),ft.gullet.beginGroup(),Ci={type:"ordgroup",mode:ft.mode,body:Ci},Ae&&(Ci={type:"styling",mode:ft.mode,style:Ae,body:[Ci]}),Zr.push(Ci);var Ui=ft.fetch().text;if(Ui==="&")ft.consume();else if(Ui==="\\end"){Zr.length===1&&Ci.type==="styling"&&Ci.body[0].body.length===0&&En.pop(),ai.length<En.length+1&&ai.push([]);break}else if(Ui==="\\cr"){var va=Xr(ft.parseFunction(),"cr");Hn.push(va.size),ai.push(Ni(ft)),Zr=[],En.push(Zr)}else throw new c("Expected & or \\\\ or \\cr or \\end",ft.nextToken)}return ft.gullet.endGroup(),ft.gullet.endGroup(),{type:"array",mode:ft.mode,addJot:je,arraystretch:xt,body:En,cols:st,rowGaps:Hn,hskipBeforeAndAfter:Te,hLinesBeforeRow:ai,colSeparationType:gr}}function Ji(ft){return ft.substr(0,1)==="d"?"display":"text"}var ha=function(ne,Ae){var Te,je,st=ne.body.length,xt=ne.hLinesBeforeRow,gr=0,Ir=new Array(st),Zr=[],En=Math.max(Ae.fontMetrics().arrayRuleWidth,Ae.minRuleThickness),Hn=1/Ae.fontMetrics().ptPerEm,ai=5*Hn;if(ne.colSeparationType&&ne.colSeparationType==="small"){var Ci=Ae.havingStyle(j.SCRIPT).sizeMultiplier;ai=.2778*(Ci/Ae.sizeMultiplier)}var Ui=12*Hn,va=3*Hn,_a=ne.arraystretch*Ui,Za=.7*_a,no=.3*_a,uo=0;function Io(js){for(var Ja=0;Ja<js.length;++Ja)Ja>0&&(uo+=.25),Zr.push({pos:uo,isDashed:js[Ja]})}for(Io(xt[0]),Te=0;Te<ne.body.length;++Te){var Eo=ne.body[Te],Ro=Za,yo=no;gr<Eo.length&&(gr=Eo.length);var Lo=new Array(Eo.length);for(je=0;je<Eo.length;++je){var Zo=hi(Eo[je],Ae);yo<Zo.depth&&(yo=Zo.depth),Ro<Zo.height&&(Ro=Zo.height),Lo[je]=Zo}var Ko=ne.rowGaps[Te],To=0;Ko&&(To=or(Ko,Ae),To>0&&(To+=no,yo<To&&(yo=To),To=0)),ne.addJot&&(yo+=va),Lo.height=Ro,Lo.depth=yo,uo+=Ro,Lo.pos=uo,uo+=yo+To,Ir[Te]=Lo,Io(xt[Te+1])}var aa=uo/2+Ae.fontMetrics().axisHeight,Ns=ne.cols||[],Ss=[],is,Qo;for(je=0,Qo=0;je<gr||Qo<Ns.length;++je,++Qo){for(var fs=Ns[Qo]||{},vl=!0;fs.type==="separator";){if(vl||(is=ir.makeSpan(["arraycolsep"],[]),is.style.width=Ae.fontMetrics().doubleRuleSep+"em",Ss.push(is)),fs.separator==="|"||fs.separator===":"){var sl=fs.separator==="|"?"solid":"dashed",ps=ir.makeSpan(["vertical-separator"],[],Ae);ps.style.height=uo+"em",ps.style.borderRightWidth=En+"em",ps.style.borderRightStyle=sl,ps.style.margin="0 -"+En/2+"em",ps.style.verticalAlign=-(uo-aa)+"em",Ss.push(ps)}else throw new c("Invalid separator type: "+fs.separator);Qo++,fs=Ns[Qo]||{},vl=!1}if(je>=gr)continue;var Mo=void 0;(je>0||ne.hskipBeforeAndAfter)&&(Mo=f.deflt(fs.pregap,ai),Mo!==0&&(is=ir.makeSpan(["arraycolsep"],[]),is.style.width=Mo+"em",Ss.push(is)));var ls=[];for(Te=0;Te<st;++Te){var el=Ir[Te],ms=el[je];if(!ms)continue;var Fs=el.pos-aa;ms.depth=el.depth,ms.height=el.height,ls.push({type:"elem",elem:ms,shift:Fs})}ls=ir.makeVList({positionType:"individualShift",children:ls},Ae),ls=ir.makeSpan(["col-align-"+(fs.align||"c")],[ls]),Ss.push(ls),(je<gr-1||ne.hskipBeforeAndAfter)&&(Mo=f.deflt(fs.postgap,ai),Mo!==0&&(is=ir.makeSpan(["arraycolsep"],[]),is.style.width=Mo+"em",Ss.push(is)))}if(Ir=ir.makeSpan(["mtable"],Ss),Zr.length>0){for(var Us=ir.makeLineSpan("hline",Ae,En),Ds=ir.makeLineSpan("hdashline",Ae,En),al=[{type:"elem",elem:Ir,shift:0}];Zr.length>0;){var tl=Zr.pop(),Ys=tl.pos-aa;tl.isDashed?al.push({type:"elem",elem:Ds,shift:Ys}):al.push({type:"elem",elem:Us,shift:Ys})}Ir=ir.makeVList({positionType:"individualShift",children:al},Ae)}return ir.makeSpan(["mord"],[Ir],Ae)},Ta={c:"center ",l:"left ",r:"right "},Pa=function(ne,Ae){var Te=new fi.MathNode("mtable",ne.body.map(function(uo){return new fi.MathNode("mtr",uo.map(function(Io){return new fi.MathNode("mtd",[Vt(Io,Ae)])}))})),je=ne.arraystretch===.5?.1:.16+ne.arraystretch-1+(ne.addJot?.09:0);Te.setAttribute("rowspacing",je+"em");var st="",xt="";if(ne.cols){var gr=ne.cols,Ir="",Zr=!1,En=0,Hn=gr.length;gr[0].type==="separator"&&(st+="top ",En=1),gr[gr.length-1].type==="separator"&&(st+="bottom ",Hn-=1);for(var ai=En;ai<Hn;ai++)gr[ai].type==="align"?(xt+=Ta[gr[ai].align],Zr&&(Ir+="none "),Zr=!0):gr[ai].type==="separator"&&(Zr&&(Ir+=gr[ai].separator==="|"?"solid ":"dashed ",Zr=!1));Te.setAttribute("columnalign",xt.trim()),/[sd]/.test(Ir)&&Te.setAttribute("columnlines",Ir.trim())}if(ne.colSeparationType==="align"){for(var Ci=ne.cols||[],Ui="",va=1;va<Ci.length;va++)Ui+=va%2?"0em ":"1em ";Te.setAttribute("columnspacing",Ui.trim())}else ne.colSeparationType==="alignat"?Te.setAttribute("columnspacing","0em"):ne.colSeparationType==="small"?Te.setAttribute("columnspacing","0.2778em"):Te.setAttribute("columnspacing","1em");var _a="",Za=ne.hLinesBeforeRow;st+=Za[0].length>0?"left ":"",st+=Za[Za.length-1].length>0?"right ":"";for(var no=1;no<Za.length-1;no++)_a+=Za[no].length===0?"none ":Za[no][0]?"dashed ":"solid ";return/[sd]/.test(_a)&&Te.setAttribute("rowlines",_a.trim()),st!==""&&(Te=new fi.MathNode("menclose",[Te]),Te.setAttribute("notation",st.trim())),ne.arraystretch&&ne.arraystretch<1&&(Te=new fi.MathNode("mstyle",[Te]),Te.setAttribute("scriptlevel","1")),Te},bi=function(ne,Ae){var Te=[],je=ia(ne.parser,{cols:Te,addJot:!0},"display"),st,xt=0,gr={type:"ordgroup",mode:ne.mode,body:[]},Ir=Br(Ae[0],"ordgroup");if(Ir){for(var Zr="",En=0;En<Ir.body.length;En++){var Hn=Xr(Ir.body[En],"textord");Zr+=Hn.text}st=Number(Zr),xt=st*2}var ai=!xt;je.body.forEach(function(_a){for(var Za=1;Za<_a.length;Za+=2){var no=Xr(_a[Za],"styling"),uo=Xr(no.body[0],"ordgroup");uo.body.unshift(gr)}if(ai)xt<_a.length&&(xt=_a.length);else{var Io=_a.length/2;if(st<Io)throw new c("Too many math in a row: "+("expected "+st+", but got "+Io),_a[0])}});for(var Ci=0;Ci<xt;++Ci){var Ui="r",va=0;Ci%2===1?Ui="l":Ci>0&&ai&&(va=1),Te[Ci]={type:"align",align:Ui,pregap:va,postgap:0}}return je.colSeparationType=ai?"align":"alignat",je};Fi({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(ne,Ae){var Te=ei(Ae[0]),je=Te?[Ae[0]]:Xr(Ae[0],"ordgroup").body,st=je.map(function(gr){var Ir=kn(gr),Zr=Ir.text;if("lcr".indexOf(Zr)!==-1)return{type:"align",align:Zr};if(Zr==="|")return{type:"separator",separator:"|"};if(Zr===":")return{type:"separator",separator:":"};throw new c("Unknown column alignment: "+Zr,gr)}),xt={cols:st,hskipBeforeAndAfter:!0};return ia(ne.parser,xt,Ji(ne.envName))},htmlBuilder:ha,mathmlBuilder:Pa}),Fi({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(ne){var Ae={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[ne.envName],Te={hskipBeforeAndAfter:!1},je=ia(ne.parser,Te,Ji(ne.envName));return Ae?{type:"leftright",mode:ne.mode,body:[je],left:Ae[0],right:Ae[1],rightColor:void 0}:je},htmlBuilder:ha,mathmlBuilder:Pa}),Fi({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(ne){var Ae={arraystretch:.5},Te=ia(ne.parser,Ae,"script");return Te.colSeparationType="small",Te},htmlBuilder:ha,mathmlBuilder:Pa}),Fi({type:"array",names:["subarray"],props:{numArgs:1},handler:function(ne,Ae){var Te=ei(Ae[0]),je=Te?[Ae[0]]:Xr(Ae[0],"ordgroup").body,st=je.map(function(gr){var Ir=kn(gr),Zr=Ir.text;if("lc".indexOf(Zr)!==-1)return{type:"align",align:Zr};throw new c("Unknown column alignment: "+Zr,gr)});if(st.length>1)throw new c("{subarray} can contain only one column");var xt={cols:st,hskipBeforeAndAfter:!1,arraystretch:.5};if(xt=ia(ne.parser,xt,"script"),xt.body[0].length>1)throw new c("{subarray} can contain only one column");return xt},htmlBuilder:ha,mathmlBuilder:Pa}),Fi({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(ne){var Ae={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Te=ia(ne.parser,Ae,Ji(ne.envName));return{type:"leftright",mode:ne.mode,body:[Te],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:ha,mathmlBuilder:Pa}),Fi({type:"array",names:["aligned"],props:{numArgs:0},handler:bi,htmlBuilder:ha,mathmlBuilder:Pa}),Fi({type:"array",names:["gathered"],props:{numArgs:0},handler:function(ne){var Ae={cols:[{type:"align",align:"c"}],addJot:!0};return ia(ne.parser,Ae,"display")},htmlBuilder:ha,mathmlBuilder:Pa}),Fi({type:"array",names:["alignedat"],props:{numArgs:1},handler:bi,htmlBuilder:ha,mathmlBuilder:Pa}),tn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(ne,Ae){throw new c(ne.funcName+" valid only within array environment")}});var Qn=ga,vi=Qn;tn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0];if(st.type!=="ordgroup")throw new c("Invalid environment name",st);for(var xt="",gr=0;gr<st.body.length;++gr)xt+=Xr(st.body[gr],"textord").text;if(je==="\\begin"){if(!vi.hasOwnProperty(xt))throw new c("No such environment: "+xt,st);var Ir=vi[xt],Zr=Te.parseArguments("\\begin{"+xt+"}",Ir),En=Zr.args,Hn=Zr.optArgs,ai={mode:Te.mode,envName:xt,parser:Te},Ci=Ir.handler(ai,En,Hn);Te.expect("\\end",!1);var Ui=Te.nextToken,va=Xr(Te.parseFunction(),"environment");if(va.name!==xt)throw new c("Mismatch: \\begin{"+xt+"} matched by \\end{"+va.name+"}",Ui);return Ci}return{type:"environment",mode:Te.mode,name:xt,nameGroup:st}}});var Ai=ir.makeSpan;function Gi(ft,ne){var Ae=dn(ft.body,ne,!0);return Ai([ft.mclass],Ae,ne)}function Oi(ft,ne){var Ae,Te=zi(ft.body,ne);return ft.mclass==="minner"?fi.newDocumentFragment(Te):(ft.mclass==="mord"?ft.isCharacterBox?(Ae=Te[0],Ae.type="mi"):Ae=new fi.MathNode("mi",Te):(ft.isCharacterBox?(Ae=Te[0],Ae.type="mo"):Ae=new fi.MathNode("mo",Te),ft.mclass==="mbin"?(Ae.attributes.lspace="0.22em",Ae.attributes.rspace="0.22em"):ft.mclass==="mpunct"?(Ae.attributes.lspace="0em",Ae.attributes.rspace="0.17em"):(ft.mclass==="mopen"||ft.mclass==="mclose")&&(Ae.attributes.lspace="0em",Ae.attributes.rspace="0em")),Ae)}tn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0];return{type:"mclass",mode:Te.mode,mclass:"m"+je.substr(5),body:qn(st),isCharacterBox:f.isCharacterBox(st)}},htmlBuilder:Gi,mathmlBuilder:Oi});var pa=function(ne){var Ae=ne.type==="ordgroup"&&ne.body.length?ne.body[0]:ne;return Ae.type==="atom"&&(Ae.family==="bin"||Ae.family==="rel")?"m"+Ae.family:"mord"};tn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(ne,Ae){var Te=ne.parser;return{type:"mclass",mode:Te.mode,mclass:pa(Ae[0]),body:[Ae[1]],isCharacterBox:f.isCharacterBox(Ae[1])}}}),tn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[1],xt=Ae[0],gr;je!=="\\stackrel"?gr=pa(st):gr="mrel";var Ir={type:"op",mode:st.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:je!=="\\stackrel",body:qn(st)},Zr={type:"supsub",mode:xt.mode,base:Ir,sup:je==="\\underset"?null:xt,sub:je==="\\underset"?xt:null};return{type:"mclass",mode:Te.mode,mclass:gr,body:[Zr],isCharacterBox:f.isCharacterBox(Zr)}},htmlBuilder:Gi,mathmlBuilder:Oi});var Ma=function(ne,Ae){var Te=ne.font,je=Ae.withFont(Te);return hi(ne.body,je)},fa=function(ne,Ae){var Te=ne.font,je=Ae.withFont(Te);return Vt(ne.body,je)},ua={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};tn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0],xt=je;return xt in ua&&(xt=ua[xt]),{type:"font",mode:Te.mode,font:xt.slice(1),body:st}},htmlBuilder:Ma,mathmlBuilder:fa}),tn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(ne,Ae){var Te=ne.parser,je=Ae[0],st=f.isCharacterBox(je);return{type:"mclass",mode:Te.mode,mclass:pa(je),body:[{type:"font",mode:Te.mode,font:"boldsymbol",body:je}],isCharacterBox:st}}}),tn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=ne.breakOnTokenText,xt=Te.mode,gr=Te.parseExpression(!0,st),Ir="math"+je.slice(1);return{type:"font",mode:xt,font:Ir,body:{type:"ordgroup",mode:Te.mode,body:gr}}},htmlBuilder:Ma,mathmlBuilder:fa});var ra=function(ne,Ae){var Te=Ae;return ne==="display"?Te=Te.id>=j.SCRIPT.id?Te.text():j.DISPLAY:ne==="text"&&Te.size===j.DISPLAY.size?Te=j.TEXT:ne==="script"?Te=j.SCRIPT:ne==="scriptscript"&&(Te=j.SCRIPTSCRIPT),Te},Ra=function(ne,Ae){var Te=ra(ne.size,Ae.style),je=Te.fracNum(),st=Te.fracDen(),xt;xt=Ae.havingStyle(je);var gr=hi(ne.numer,xt,Ae);if(ne.continued){var Ir=8.5/Ae.fontMetrics().ptPerEm,Zr=3.5/Ae.fontMetrics().ptPerEm;gr.height=gr.height<Ir?Ir:gr.height,gr.depth=gr.depth<Zr?Zr:gr.depth}xt=Ae.havingStyle(st);var En=hi(ne.denom,xt,Ae),Hn,ai,Ci;ne.hasBarLine?(ne.barSize?(ai=or(ne.barSize,Ae),Hn=ir.makeLineSpan("frac-line",Ae,ai)):Hn=ir.makeLineSpan("frac-line",Ae),ai=Hn.height,Ci=Hn.height):(Hn=null,ai=0,Ci=Ae.fontMetrics().defaultRuleThickness);var Ui,va,_a;Te.size===j.DISPLAY.size||ne.size==="display"?(Ui=Ae.fontMetrics().num1,ai>0?va=3*Ci:va=7*Ci,_a=Ae.fontMetrics().denom1):(ai>0?(Ui=Ae.fontMetrics().num2,va=Ci):(Ui=Ae.fontMetrics().num3,va=3*Ci),_a=Ae.fontMetrics().denom2);var Za;if(Hn){var uo=Ae.fontMetrics().axisHeight;Ui-gr.depth-(uo+.5*ai)<va&&(Ui+=va-(Ui-gr.depth-(uo+.5*ai))),uo-.5*ai-(En.height-_a)<va&&(_a+=va-(uo-.5*ai-(En.height-_a)));var Io=-(uo-.5*ai);Za=ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:En,shift:_a},{type:"elem",elem:Hn,shift:Io},{type:"elem",elem:gr,shift:-Ui}]},Ae)}else{var no=Ui-gr.depth-(En.height-_a);no<va&&(Ui+=.5*(va-no),_a+=.5*(va-no)),Za=ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:En,shift:_a},{type:"elem",elem:gr,shift:-Ui}]},Ae)}xt=Ae.havingStyle(Te),Za.height*=xt.sizeMultiplier/Ae.sizeMultiplier,Za.depth*=xt.sizeMultiplier/Ae.sizeMultiplier;var Eo;Te.size===j.DISPLAY.size?Eo=Ae.fontMetrics().delim1:Eo=Ae.fontMetrics().delim2;var Ro,yo;return ne.leftDelim==null?Ro=Zn(Ae,["mopen"]):Ro=fn.customSizedDelim(ne.leftDelim,Eo,!0,Ae.havingStyle(Te),ne.mode,["mopen"]),ne.continued?yo=ir.makeSpan([]):ne.rightDelim==null?yo=Zn(Ae,["mclose"]):yo=fn.customSizedDelim(ne.rightDelim,Eo,!0,Ae.havingStyle(Te),ne.mode,["mclose"]),ir.makeSpan(["mord"].concat(xt.sizingClasses(Ae)),[Ro,ir.makeSpan(["mfrac"],[Za]),yo],Ae)},eo=function(ne,Ae){var Te=new fi.MathNode("mfrac",[Vt(ne.numer,Ae),Vt(ne.denom,Ae)]);if(!ne.hasBarLine)Te.setAttribute("linethickness","0px");else if(ne.barSize){var je=or(ne.barSize,Ae);Te.setAttribute("linethickness",je+"em")}var st=ra(ne.size,Ae.style);if(st.size!==Ae.style.size){Te=new fi.MathNode("mstyle",[Te]);var xt=st.size===j.DISPLAY.size?"true":"false";Te.setAttribute("displaystyle",xt),Te.setAttribute("scriptlevel","0")}if(ne.leftDelim!=null||ne.rightDelim!=null){var gr=[];if(ne.leftDelim!=null){var Ir=new fi.MathNode("mo",[new fi.TextNode(ne.leftDelim.replace("\\",""))]);Ir.setAttribute("fence","true"),gr.push(Ir)}if(gr.push(Te),ne.rightDelim!=null){var Zr=new fi.MathNode("mo",[new fi.TextNode(ne.rightDelim.replace("\\",""))]);Zr.setAttribute("fence","true"),gr.push(Zr)}return Bi(gr)}return Te};tn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0],xt=Ae[1],gr,Ir=null,Zr=null,En="auto";switch(je){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":gr=!0;break;case"\\\\atopfrac":gr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":gr=!1,Ir="(",Zr=")";break;case"\\\\bracefrac":gr=!1,Ir="\\{",Zr="\\}";break;case"\\\\brackfrac":gr=!1,Ir="[",Zr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(je){case"\\cfrac":case"\\dfrac":case"\\dbinom":En="display";break;case"\\tfrac":case"\\tbinom":En="text";break}return{type:"genfrac",mode:Te.mode,continued:je==="\\cfrac",numer:st,denom:xt,hasBarLine:gr,leftDelim:Ir,rightDelim:Zr,size:En,barSize:null}},htmlBuilder:Ra,mathmlBuilder:eo}),tn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(ne){var Ae=ne.parser,Te=ne.funcName,je=ne.token,st;switch(Te){case"\\over":st="\\frac";break;case"\\choose":st="\\binom";break;case"\\atop":st="\\\\atopfrac";break;case"\\brace":st="\\\\bracefrac";break;case"\\brack":st="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Ae.mode,replaceWith:st,token:je}}});var qi=["display","text","script","scriptscript"],qa=function(ne){var Ae=null;return ne.length>0&&(Ae=ne,Ae=Ae==="."?null:Ae),Ae};tn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(ne,Ae){var Te=ne.parser,je=Ae[4],st=Ae[5],xt=Br(Ae[0],"atom");xt&&(xt=vr(Ae[0],"open"));var gr=xt?qa(xt.text):null,Ir=Br(Ae[1],"atom");Ir&&(Ir=vr(Ae[1],"close"));var Zr=Ir?qa(Ir.text):null,En=Xr(Ae[2],"size"),Hn,ai=null;En.isBlank?Hn=!0:(ai=En.value,Hn=ai.number>0);var Ci="auto",Ui=Br(Ae[3],"ordgroup");if(Ui){if(Ui.body.length>0){var va=Xr(Ui.body[0],"textord");Ci=qi[Number(va.text)]}}else Ui=Xr(Ae[3],"textord"),Ci=qi[Number(Ui.text)];return{type:"genfrac",mode:Te.mode,numer:je,denom:st,continued:!1,hasBarLine:Hn,barSize:ai,leftDelim:gr,rightDelim:Zr,size:Ci}},htmlBuilder:Ra,mathmlBuilder:eo}),tn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=ne.token;return{type:"infix",mode:Te.mode,replaceWith:"\\\\abovefrac",size:Xr(Ae[0],"size").value,token:st}}}),tn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0],xt=u(Xr(Ae[1],"infix").size),gr=Ae[2],Ir=xt.number>0;return{type:"genfrac",mode:Te.mode,numer:st,denom:gr,continued:!1,hasBarLine:Ir,barSize:xt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ra,mathmlBuilder:eo});var Ya=function(ne,Ae){var Te=Ae.style,je,st,xt=Br(ne,"supsub");xt?(je=xt.sup?hi(xt.sup,Ae.havingStyle(Te.sup()),Ae):hi(xt.sub,Ae.havingStyle(Te.sub()),Ae),st=Xr(xt.base,"horizBrace")):st=Xr(ne,"horizBrace");var gr=hi(st.base,Ae.havingBaseStyle(j.DISPLAY)),Ir=An.svgSpan(st,Ae),Zr;if(st.isOver?(Zr=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:gr},{type:"kern",size:.1},{type:"elem",elem:Ir}]},Ae),Zr.children[0].children[0].children[1].classes.push("svg-align")):(Zr=ir.makeVList({positionType:"bottom",positionData:gr.depth+.1+Ir.height,children:[{type:"elem",elem:Ir},{type:"kern",size:.1},{type:"elem",elem:gr}]},Ae),Zr.children[0].children[0].children[0].classes.push("svg-align")),je){var En=ir.makeSpan(["mord",st.isOver?"mover":"munder"],[Zr],Ae);st.isOver?Zr=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:En},{type:"kern",size:.2},{type:"elem",elem:je}]},Ae):Zr=ir.makeVList({positionType:"bottom",positionData:En.depth+.2+je.height+je.depth,children:[{type:"elem",elem:je},{type:"kern",size:.2},{type:"elem",elem:En}]},Ae)}return ir.makeSpan(["mord",st.isOver?"mover":"munder"],[Zr],Ae)},Ka=function(ne,Ae){var Te=An.mathMLnode(ne.label);return new fi.MathNode(ne.isOver?"mover":"munder",[Vt(ne.base,Ae),Te])};tn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName;return{type:"horizBrace",mode:Te.mode,label:je,isOver:/^\\over/.test(je),base:Ae[0]}},htmlBuilder:Ya,mathmlBuilder:Ka}),tn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=Ae[1],st=Xr(Ae[0],"url").url;return Te.settings.isTrusted({command:"\\href",url:st})?{type:"href",mode:Te.mode,href:st,body:qn(je)}:Te.formatUnsupportedCmd("\\href")},htmlBuilder:function(ne,Ae){var Te=dn(ne.body,Ae,!1);return ir.makeAnchor(ne.href,[],Te,Ae)},mathmlBuilder:function(ne,Ae){var Te=da(ne.body,Ae);return Te instanceof ma||(Te=new ma("mrow",[Te])),Te.setAttribute("href",ne.href),Te}}),tn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=Xr(Ae[0],"url").url;if(!Te.settings.isTrusted({command:"\\url",url:je}))return Te.formatUnsupportedCmd("\\url");for(var st=[],xt=0;xt<je.length;xt++){var gr=je[xt];gr==="~"&&(gr="\\textasciitilde"),st.push({type:"textord",mode:"text",text:gr})}var Ir={type:"text",mode:Te.mode,font:"\\texttt",body:st};return{type:"href",mode:Te.mode,href:je,body:qn(Ir)}}}),tn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser;return{type:"htmlmathml",mode:Te.mode,html:qn(Ae[0]),mathml:qn(Ae[1])}},htmlBuilder:function(ne,Ae){var Te=dn(ne.html,Ae,!1);return ir.makeFragment(Te)},mathmlBuilder:function(ne,Ae){return da(ne.mathml,Ae)}});var ao=function(ne){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(ne))return{number:+ne,unit:"bp"};var Ae=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ne);if(!Ae)throw new c("Invalid size: '"+ne+"' in \\includegraphics");var Te={number:+(Ae[1]+Ae[2]),unit:Ae[3]};if(!hr(Te))throw new c("Invalid unit: '"+Te.unit+"' in \\includegraphics.");return Te};tn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(ne,Ae,Te){var je=ne.parser,st={number:0,unit:"em"},xt={number:.9,unit:"em"},gr={number:0,unit:"em"},Ir="";if(Te[0])for(var Zr=Xr(Te[0],"raw").string,En=Zr.split(","),Hn=0;Hn<En.length;Hn++){var ai=En[Hn].split("=");if(ai.length===2){var Ci=ai[1].trim();switch(ai[0].trim()){case"alt":Ir=Ci;break;case"width":st=ao(Ci);break;case"height":xt=ao(Ci);break;case"totalheight":gr=ao(Ci);break;default:throw new c("Invalid key: '"+ai[0]+"' in \\includegraphics.")}}}var Ui=Xr(Ae[0],"url").url;return Ir===""&&(Ir=Ui,Ir=Ir.replace(/^.*[\\/]/,""),Ir=Ir.substring(0,Ir.lastIndexOf("."))),je.settings.isTrusted({command:"\\includegraphics",url:Ui})?{type:"includegraphics",mode:je.mode,alt:Ir,width:st,height:xt,totalheight:gr,src:Ui}:je.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(ne,Ae){var Te=or(ne.height,Ae),je=0;ne.totalheight.number>0&&(je=or(ne.totalheight,Ae)-Te,je=Number(je.toFixed(2)));var st=0;ne.width.number>0&&(st=or(ne.width,Ae));var xt={height:Te+je+"em"};st>0&&(xt.width=st+"em"),je>0&&(xt.verticalAlign=-je+"em");var gr=new ve(ne.src,ne.alt,xt);return gr.height=Te,gr.depth=je,gr},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mglyph",[]);Te.setAttribute("alt",ne.alt);var je=or(ne.height,Ae),st=0;if(ne.totalheight.number>0&&(st=or(ne.totalheight,Ae)-je,st=st.toFixed(2),Te.setAttribute("valign","-"+st+"em")),Te.setAttribute("height",je+st+"em"),ne.width.number>0){var xt=or(ne.width,Ae);Te.setAttribute("width",xt+"em")}return Te.setAttribute("src",ne.src),Te}}),tn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Xr(Ae[0],"size");if(Te.settings.strict){var xt=je[1]==="m",gr=st.value.unit==="mu";xt?(gr||Te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+je+" supports only mu units, "+("not "+st.value.unit+" units")),Te.mode!=="math"&&Te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+je+" works only in math mode")):gr&&Te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+je+" doesn't support mu units")}return{type:"kern",mode:Te.mode,dimension:st.value}},htmlBuilder:function(ne,Ae){return ir.makeGlue(ne.dimension,Ae)},mathmlBuilder:function(ne,Ae){var Te=or(ne.dimension,Ae);return new fi.SpaceNode(Te)}}),tn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0];return{type:"lap",mode:Te.mode,alignment:je.slice(5),body:st}},htmlBuilder:function(ne,Ae){var Te;ne.alignment==="clap"?(Te=ir.makeSpan([],[hi(ne.body,Ae)]),Te=ir.makeSpan(["inner"],[Te],Ae)):Te=ir.makeSpan(["inner"],[hi(ne.body,Ae)]);var je=ir.makeSpan(["fix"],[]),st=ir.makeSpan([ne.alignment],[Te,je],Ae),xt=ir.makeSpan(["strut"]);return xt.style.height=st.height+st.depth+"em",xt.style.verticalAlign=-st.depth+"em",st.children.unshift(xt),st=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:st}]},Ae),ir.makeSpan(["mord"],[st],Ae)},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mpadded",[Vt(ne.body,Ae)]);if(ne.alignment!=="rlap"){var je=ne.alignment==="llap"?"-1":"-0.5";Te.setAttribute("lspace",je+"width")}return Te.setAttribute("width","0px"),Te}}),tn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ne,Ae){var Te=ne.funcName,je=ne.parser,st=je.mode;je.switchMode("math");var xt=Te==="\\("?"\\)":"$",gr=je.parseExpression(!1,xt);return je.expect(xt),je.switchMode(st),{type:"styling",mode:je.mode,style:"text",body:gr}}}),tn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ne,Ae){throw new c("Mismatched "+ne.funcName)}});var Va=function(ne,Ae){switch(Ae.style.size){case j.DISPLAY.size:return ne.display;case j.TEXT.size:return ne.text;case j.SCRIPT.size:return ne.script;case j.SCRIPTSCRIPT.size:return ne.scriptscript;default:return ne.text}};tn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(ne,Ae){var Te=ne.parser;return{type:"mathchoice",mode:Te.mode,display:qn(Ae[0]),text:qn(Ae[1]),script:qn(Ae[2]),scriptscript:qn(Ae[3])}},htmlBuilder:function(ne,Ae){var Te=Va(ne,Ae),je=dn(Te,Ae,!1);return ir.makeFragment(je)},mathmlBuilder:function(ne,Ae){var Te=Va(ne,Ae);return da(Te,Ae)}});var Ba=function(ne,Ae,Te,je,st,xt,gr){ne=ir.makeSpan([],[ne]);var Ir,Zr;if(Ae){var En=hi(Ae,je.havingStyle(st.sup()),je);Zr={elem:En,kern:Math.max(je.fontMetrics().bigOpSpacing1,je.fontMetrics().bigOpSpacing3-En.depth)}}if(Te){var Hn=hi(Te,je.havingStyle(st.sub()),je);Ir={elem:Hn,kern:Math.max(je.fontMetrics().bigOpSpacing2,je.fontMetrics().bigOpSpacing4-Hn.height)}}var ai;if(Zr&&Ir){var Ci=je.fontMetrics().bigOpSpacing5+Ir.elem.height+Ir.elem.depth+Ir.kern+ne.depth+gr;ai=ir.makeVList({positionType:"bottom",positionData:Ci,children:[{type:"kern",size:je.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ir.elem,marginLeft:-xt+"em"},{type:"kern",size:Ir.kern},{type:"elem",elem:ne},{type:"kern",size:Zr.kern},{type:"elem",elem:Zr.elem,marginLeft:xt+"em"},{type:"kern",size:je.fontMetrics().bigOpSpacing5}]},je)}else if(Ir){var Ui=ne.height-gr;ai=ir.makeVList({positionType:"top",positionData:Ui,children:[{type:"kern",size:je.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ir.elem,marginLeft:-xt+"em"},{type:"kern",size:Ir.kern},{type:"elem",elem:ne}]},je)}else if(Zr){var va=ne.depth+gr;ai=ir.makeVList({positionType:"bottom",positionData:va,children:[{type:"elem",elem:ne},{type:"kern",size:Zr.kern},{type:"elem",elem:Zr.elem,marginLeft:xt+"em"},{type:"kern",size:je.fontMetrics().bigOpSpacing5}]},je)}else return ne;return ir.makeSpan(["mop","op-limits"],[ai],je)},go=["\\smallint"],so=function(ne,Ae){var Te,je,st=!1,xt,gr=Br(ne,"supsub");gr?(Te=gr.sup,je=gr.sub,xt=Xr(gr.base,"op"),st=!0):xt=Xr(ne,"op");var Ir=Ae.style,Zr=!1;Ir.size===j.DISPLAY.size&&xt.symbol&&!f.contains(go,xt.name)&&(Zr=!0);var En;if(xt.symbol){var Hn=Zr?"Size2-Regular":"Size1-Regular",ai="";if((xt.name==="\\oiint"||xt.name==="\\oiiint")&&(ai=xt.name.substr(1),xt.name=ai==="oiint"?"\\iint":"\\iiint"),En=ir.makeSymbol(xt.name,Hn,"math",Ae,["mop","op-symbol",Zr?"large-op":"small-op"]),ai.length>0){var Ci=En.italic,Ui=ir.staticSvg(ai+"Size"+(Zr?"2":"1"),Ae);En=ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:En,shift:0},{type:"elem",elem:Ui,shift:Zr?.08:0}]},Ae),xt.name="\\"+ai,En.classes.unshift("mop"),En.italic=Ci}}else if(xt.body){var va=dn(xt.body,Ae,!0);va.length===1&&va[0]instanceof Ce?(En=va[0],En.classes[0]="mop"):En=ir.makeSpan(["mop"],ir.tryCombineChars(va),Ae)}else{for(var _a=[],Za=1;Za<xt.name.length;Za++)_a.push(ir.mathsym(xt.name[Za],xt.mode,Ae));En=ir.makeSpan(["mop"],_a,Ae)}var no=0,uo=0;return(En instanceof Ce||xt.name==="\\oiint"||xt.name==="\\oiiint")&&!xt.suppressBaseShift&&(no=(En.height-En.depth)/2-Ae.fontMetrics().axisHeight,uo=En.italic),st?Ba(En,Te,je,Ae,Ir,uo,no):(no&&(En.style.position="relative",En.style.top=no+"em"),En)},vo=function(ne,Ae){var Te;if(ne.symbol)Te=new ma("mo",[cn(ne.name,ne.mode)]),f.contains(go,ne.name)&&Te.setAttribute("largeop","false");else if(ne.body)Te=new ma("mo",zi(ne.body,Ae));else{Te=new ma("mi",[new ca(ne.name.slice(1))]);var je=new ma("mo",[cn("\u2061","text")]);ne.parentIsSupSub?Te=new ma("mo",[Te,je]):Te=Vi([Te,je])}return Te},to={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};tn({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(ne,Ae){var Te=ne.parser,je=ne.funcName,st=je;return st.length===1&&(st=to[st]),{type:"op",mode:Te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:st}},htmlBuilder:so,mathmlBuilder:vo}),tn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(ne,Ae){var Te=ne.parser,je=Ae[0];return{type:"op",mode:Te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:qn(je)}},htmlBuilder:so,mathmlBuilder:vo});var ro={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};tn({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(ne){var Ae=ne.parser,Te=ne.funcName;return{type:"op",mode:Ae.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Te}},htmlBuilder:so,mathmlBuilder:vo}),tn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(ne){var Ae=ne.parser,Te=ne.funcName;return{type:"op",mode:Ae.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Te}},htmlBuilder:so,mathmlBuilder:vo}),tn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(ne){var Ae=ne.parser,Te=ne.funcName,je=Te;return je.length===1&&(je=ro[je]),{type:"op",mode:Ae.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:je}},htmlBuilder:so,mathmlBuilder:vo});var Ca=function(ne,Ae){var Te,je,st=!1,xt,gr=Br(ne,"supsub");gr?(Te=gr.sup,je=gr.sub,xt=Xr(gr.base,"operatorname"),st=!0):xt=Xr(ne,"operatorname");var Ir;if(xt.body.length>0){for(var Zr=xt.body.map(function(Ci){var Ui=Ci.text;return typeof Ui=="string"?{type:"textord",mode:Ci.mode,text:Ui}:Ci}),En=dn(Zr,Ae.withFont("mathrm"),!0),Hn=0;Hn<En.length;Hn++){var ai=En[Hn];ai instanceof Ce&&(ai.text=ai.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ir=ir.makeSpan(["mop"],En,Ae)}else Ir=ir.makeSpan(["mop"],[],Ae);return st?Ba(Ir,Te,je,Ae,Ae.style,0,0):Ir},Ha=function(ne,Ae){for(var Te=zi(ne.body,Ae.withFont("mathrm")),je=!0,st=0;st<Te.length;st++){var xt=Te[st];if(!(xt instanceof fi.SpaceNode))if(xt instanceof fi.MathNode)switch(xt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var gr=xt.children[0];xt.children.length===1&&gr instanceof fi.TextNode?gr.text=gr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):je=!1;break}default:je=!1}else je=!1}if(je){var Ir=Te.map(function(Hn){return Hn.toText()}).join("");Te=[new fi.TextNode(Ir)]}var Zr=new fi.MathNode("mi",Te);Zr.setAttribute("mathvariant","normal");var En=new fi.MathNode("mo",[cn("\u2061","text")]);return ne.parentIsSupSub?new fi.MathNode("mo",[Zr,En]):fi.newDocumentFragment([Zr,En])};tn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0];return{type:"operatorname",mode:Te.mode,body:qn(st),alwaysHandleSupSub:je==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ca,mathmlBuilder:Ha}),ci({type:"ordgroup",htmlBuilder:function(ne,Ae){return ne.semisimple?ir.makeFragment(dn(ne.body,Ae,!1)):ir.makeSpan(["mord"],dn(ne.body,Ae,!0),Ae)},mathmlBuilder:function(ne,Ae){return da(ne.body,Ae,!0)}}),tn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(ne,Ae){var Te=ne.parser,je=Ae[0];return{type:"overline",mode:Te.mode,body:je}},htmlBuilder:function(ne,Ae){var Te=hi(ne.body,Ae.havingCrampedStyle()),je=ir.makeLineSpan("overline-line",Ae),st=Ae.fontMetrics().defaultRuleThickness,xt=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te},{type:"kern",size:3*st},{type:"elem",elem:je},{type:"kern",size:st}]},Ae);return ir.makeSpan(["mord","overline"],[xt],Ae)},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mo",[new fi.TextNode("\u203E")]);Te.setAttribute("stretchy","true");var je=new fi.MathNode("mover",[Vt(ne.body,Ae),Te]);return je.setAttribute("accent","true"),je}}),tn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=Ae[0];return{type:"phantom",mode:Te.mode,body:qn(je)}},htmlBuilder:function(ne,Ae){var Te=dn(ne.body,Ae.withPhantom(),!1);return ir.makeFragment(Te)},mathmlBuilder:function(ne,Ae){var Te=zi(ne.body,Ae);return new fi.MathNode("mphantom",Te)}}),tn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=Ae[0];return{type:"hphantom",mode:Te.mode,body:je}},htmlBuilder:function(ne,Ae){var Te=ir.makeSpan([],[hi(ne.body,Ae.withPhantom())]);if(Te.height=0,Te.depth=0,Te.children)for(var je=0;je<Te.children.length;je++)Te.children[je].height=0,Te.children[je].depth=0;return Te=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},Ae),ir.makeSpan(["mord"],[Te],Ae)},mathmlBuilder:function(ne,Ae){var Te=zi(qn(ne.body),Ae),je=new fi.MathNode("mphantom",Te),st=new fi.MathNode("mpadded",[je]);return st.setAttribute("height","0px"),st.setAttribute("depth","0px"),st}}),tn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=Ae[0];return{type:"vphantom",mode:Te.mode,body:je}},htmlBuilder:function(ne,Ae){var Te=ir.makeSpan(["inner"],[hi(ne.body,Ae.withPhantom())]),je=ir.makeSpan(["fix"],[]);return ir.makeSpan(["mord","rlap"],[Te,je],Ae)},mathmlBuilder:function(ne,Ae){var Te=zi(qn(ne.body),Ae),je=new fi.MathNode("mphantom",Te),st=new fi.MathNode("mpadded",[je]);return st.setAttribute("width","0px"),st}}),tn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=Xr(Ae[0],"size").value,st=Ae[1];return{type:"raisebox",mode:Te.mode,dy:je,body:st}},htmlBuilder:function(ne,Ae){var Te=hi(ne.body,Ae),je=or(ne.dy,Ae);return ir.makeVList({positionType:"shift",positionData:-je,children:[{type:"elem",elem:Te}]},Ae)},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mpadded",[Vt(ne.body,Ae)]),je=ne.dy.number+ne.dy.unit;return Te.setAttribute("voffset",je),Te}}),tn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(ne,Ae,Te){var je=ne.parser,st=Te[0],xt=Xr(Ae[0],"size"),gr=Xr(Ae[1],"size");return{type:"rule",mode:je.mode,shift:st&&Xr(st,"size").value,width:xt.value,height:gr.value}},htmlBuilder:function(ne,Ae){var Te=ir.makeSpan(["mord","rule"],[],Ae),je=or(ne.width,Ae),st=or(ne.height,Ae),xt=ne.shift?or(ne.shift,Ae):0;return Te.style.borderRightWidth=je+"em",Te.style.borderTopWidth=st+"em",Te.style.bottom=xt+"em",Te.width=je,Te.height=st+xt,Te.depth=-xt,Te.maxFontSize=st*1.125*Ae.sizeMultiplier,Te},mathmlBuilder:function(ne,Ae){var Te=or(ne.width,Ae),je=or(ne.height,Ae),st=ne.shift?or(ne.shift,Ae):0,xt=Ae.color&&Ae.getColor()||"black",gr=new fi.MathNode("mspace");gr.setAttribute("mathbackground",xt),gr.setAttribute("width",Te+"em"),gr.setAttribute("height",je+"em");var Ir=new fi.MathNode("mpadded",[gr]);return st>=0?Ir.setAttribute("height","+"+st+"em"):(Ir.setAttribute("height",st+"em"),Ir.setAttribute("depth","+"+-st+"em")),Ir.setAttribute("voffset",st+"em"),Ir}});function Na(ft,ne,Ae){for(var Te=dn(ft,ne,!1),je=ne.sizeMultiplier/Ae.sizeMultiplier,st=0;st<Te.length;st++){var xt=Te[st].classes.indexOf("sizing");xt<0?Array.prototype.push.apply(Te[st].classes,ne.sizingClasses(Ae)):Te[st].classes[xt+1]==="reset-size"+ne.size&&(Te[st].classes[xt+1]="reset-size"+Ae.size),Te[st].height*=je,Te[st].depth*=je}return ir.makeFragment(Te)}var oo=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ga=function(ne,Ae){var Te=Ae.havingSize(ne.size);return Na(ne.body,Te,Ae)};tn({type:"sizing",names:oo,props:{numArgs:0,allowedInText:!0},handler:function(ne,Ae){var Te=ne.breakOnTokenText,je=ne.funcName,st=ne.parser,xt=st.parseExpression(!1,Te);return{type:"sizing",mode:st.mode,size:oo.indexOf(je)+1,body:xt}},htmlBuilder:Ga,mathmlBuilder:function(ne,Ae){var Te=Ae.havingSize(ne.size),je=zi(ne.body,Te),st=new fi.MathNode("mstyle",je);return st.setAttribute("mathsize",Te.sizeMultiplier+"em"),st}}),tn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(ne,Ae,Te){var je=ne.parser,st=!1,xt=!1,gr=Te[0]&&Xr(Te[0],"ordgroup");if(gr)for(var Ir="",Zr=0;Zr<gr.body.length;++Zr){var En=gr.body[Zr];if(Ir=En.text,Ir==="t")st=!0;else if(Ir==="b")xt=!0;else{st=!1,xt=!1;break}}else st=!0,xt=!0;var Hn=Ae[0];return{type:"smash",mode:je.mode,body:Hn,smashHeight:st,smashDepth:xt}},htmlBuilder:function(ne,Ae){var Te=ir.makeSpan([],[hi(ne.body,Ae)]);if(!ne.smashHeight&&!ne.smashDepth)return Te;if(ne.smashHeight&&(Te.height=0,Te.children))for(var je=0;je<Te.children.length;je++)Te.children[je].height=0;if(ne.smashDepth&&(Te.depth=0,Te.children))for(var st=0;st<Te.children.length;st++)Te.children[st].depth=0;var xt=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},Ae);return ir.makeSpan(["mord"],[xt],Ae)},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mpadded",[Vt(ne.body,Ae)]);return ne.smashHeight&&Te.setAttribute("height","0px"),ne.smashDepth&&Te.setAttribute("depth","0px"),Te}}),tn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(ne,Ae,Te){var je=ne.parser,st=Te[0],xt=Ae[0];return{type:"sqrt",mode:je.mode,body:xt,index:st}},htmlBuilder:function(ne,Ae){var Te=hi(ne.body,Ae.havingCrampedStyle());Te.height===0&&(Te.height=Ae.fontMetrics().xHeight),Te=ir.wrapFragment(Te,Ae);var je=Ae.fontMetrics(),st=je.defaultRuleThickness,xt=st;Ae.style.id<j.TEXT.id&&(xt=Ae.fontMetrics().xHeight);var gr=st+xt/4,Ir=Te.height+Te.depth+gr+st,Zr=fn.sqrtImage(Ir,Ae),En=Zr.span,Hn=Zr.ruleWidth,ai=Zr.advanceWidth,Ci=En.height-Hn;Ci>Te.height+Te.depth+gr&&(gr=(gr+Ci-Te.height-Te.depth)/2);var Ui=En.height-Te.height-gr-Hn;Te.style.paddingLeft=ai+"em";var va=ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te,wrapperClasses:["svg-align"]},{type:"kern",size:-(Te.height+Ui)},{type:"elem",elem:En},{type:"kern",size:Hn}]},Ae);if(ne.index){var _a=Ae.havingStyle(j.SCRIPTSCRIPT),Za=hi(ne.index,_a,Ae),no=.6*(va.height-va.depth),uo=ir.makeVList({positionType:"shift",positionData:-no,children:[{type:"elem",elem:Za}]},Ae),Io=ir.makeSpan(["root"],[uo]);return ir.makeSpan(["mord","sqrt"],[Io,va],Ae)}else return ir.makeSpan(["mord","sqrt"],[va],Ae)},mathmlBuilder:function(ne,Ae){var Te=ne.body,je=ne.index;return je?new fi.MathNode("mroot",[Vt(Te,Ae),Vt(je,Ae)]):new fi.MathNode("msqrt",[Vt(Te,Ae)])}});var Ki={display:j.DISPLAY,text:j.TEXT,script:j.SCRIPT,scriptscript:j.SCRIPTSCRIPT};tn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(ne,Ae){var Te=ne.breakOnTokenText,je=ne.funcName,st=ne.parser,xt=st.parseExpression(!0,Te),gr=je.slice(1,je.length-5);return{type:"styling",mode:st.mode,style:gr,body:xt}},htmlBuilder:function(ne,Ae){var Te=Ki[ne.style],je=Ae.havingStyle(Te).withFont("");return Na(ne.body,je,Ae)},mathmlBuilder:function(ne,Ae){var Te=Ki[ne.style],je=Ae.havingStyle(Te),st=zi(ne.body,je),xt=new fi.MathNode("mstyle",st),gr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ir=gr[ne.style];return xt.setAttribute("scriptlevel",Ir[0]),xt.setAttribute("displaystyle",Ir[1]),xt}});var Xa=function(ne,Ae){var Te=ne.base;if(Te)if(Te.type==="op"){var je=Te.limits&&(Ae.style.size===j.DISPLAY.size||Te.alwaysHandleSupSub);return je?so:null}else if(Te.type==="operatorname"){var st=Te.alwaysHandleSupSub&&(Ae.style.size===j.DISPLAY.size||Te.limits);return st?Ca:null}else{if(Te.type==="accent")return f.isCharacterBox(Te.base)?Pn:null;if(Te.type==="horizBrace"){var xt=!ne.sub;return xt===Te.isOver?Ya:null}else return null}else return null};ci({type:"supsub",htmlBuilder:function(ne,Ae){var Te=Xa(ne,Ae);if(Te)return Te(ne,Ae);var je=ne.base,st=ne.sup,xt=ne.sub,gr=hi(je,Ae),Ir,Zr,En=Ae.fontMetrics(),Hn=0,ai=0,Ci=je&&f.isCharacterBox(je);if(st){var Ui=Ae.havingStyle(Ae.style.sup());Ir=hi(st,Ui,Ae),Ci||(Hn=gr.height-Ui.fontMetrics().supDrop*Ui.sizeMultiplier/Ae.sizeMultiplier)}if(xt){var va=Ae.havingStyle(Ae.style.sub());Zr=hi(xt,va,Ae),Ci||(ai=gr.depth+va.fontMetrics().subDrop*va.sizeMultiplier/Ae.sizeMultiplier)}var _a;Ae.style===j.DISPLAY?_a=En.sup1:Ae.style.cramped?_a=En.sup3:_a=En.sup2;var Za=Ae.sizeMultiplier,no=.5/En.ptPerEm/Za+"em",uo=null;if(Zr){var Io=ne.base&&ne.base.type==="op"&&ne.base.name&&(ne.base.name==="\\oiint"||ne.base.name==="\\oiiint");(gr instanceof Ce||Io)&&(uo=-gr.italic+"em")}var Eo;if(Ir&&Zr){Hn=Math.max(Hn,_a,Ir.depth+.25*En.xHeight),ai=Math.max(ai,En.sub2);var Ro=En.defaultRuleThickness,yo=4*Ro;if(Hn-Ir.depth-(Zr.height-ai)<yo){ai=yo-(Hn-Ir.depth)+Zr.height;var Lo=.8*En.xHeight-(Hn-Ir.depth);Lo>0&&(Hn+=Lo,ai-=Lo)}var Zo=[{type:"elem",elem:Zr,shift:ai,marginRight:no,marginLeft:uo},{type:"elem",elem:Ir,shift:-Hn,marginRight:no}];Eo=ir.makeVList({positionType:"individualShift",children:Zo},Ae)}else if(Zr){ai=Math.max(ai,En.sub1,Zr.height-.8*En.xHeight);var Ko=[{type:"elem",elem:Zr,marginLeft:uo,marginRight:no}];Eo=ir.makeVList({positionType:"shift",positionData:ai,children:Ko},Ae)}else if(Ir)Hn=Math.max(Hn,_a,Ir.depth+.25*En.xHeight),Eo=ir.makeVList({positionType:"shift",positionData:-Hn,children:[{type:"elem",elem:Ir,marginRight:no}]},Ae);else throw new Error("supsub must have either sup or sub.");var To=Xn(gr,"right")||"mord";return ir.makeSpan([To],[gr,ir.makeSpan(["msupsub"],[Eo])],Ae)},mathmlBuilder:function(ne,Ae){var Te=!1,je,st,xt=Br(ne.base,"horizBrace");xt&&(st=!!ne.sup,st===xt.isOver&&(Te=!0,je=xt.isOver)),ne.base&&(ne.base.type==="op"||ne.base.type==="operatorname")&&(ne.base.parentIsSupSub=!0);var gr=[Vt(ne.base,Ae)];ne.sub&&gr.push(Vt(ne.sub,Ae)),ne.sup&&gr.push(Vt(ne.sup,Ae));var Ir;if(Te)Ir=je?"mover":"munder";else if(ne.sub)if(ne.sup){var Hn=ne.base;Hn&&Hn.type==="op"&&Hn.limits&&Ae.style===j.DISPLAY||Hn&&Hn.type==="operatorname"&&Hn.alwaysHandleSupSub&&(Ae.style===j.DISPLAY||Hn.limits)?Ir="munderover":Ir="msubsup"}else{var En=ne.base;En&&En.type==="op"&&En.limits&&(Ae.style===j.DISPLAY||En.alwaysHandleSupSub)||En&&En.type==="operatorname"&&En.alwaysHandleSupSub&&(En.limits||Ae.style===j.DISPLAY)?Ir="munder":Ir="msub"}else{var Zr=ne.base;Zr&&Zr.type==="op"&&Zr.limits&&(Ae.style===j.DISPLAY||Zr.alwaysHandleSupSub)||Zr&&Zr.type==="operatorname"&&Zr.alwaysHandleSupSub&&(Zr.limits||Ae.style===j.DISPLAY)?Ir="mover":Ir="msup"}var ai=new fi.MathNode(Ir,gr);return ai}}),ci({type:"atom",htmlBuilder:function(ne,Ae){return ir.mathsym(ne.text,ne.mode,Ae,["m"+ne.family])},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mo",[cn(ne.text,ne.mode)]);if(ne.family==="bin"){var je=sa(ne,Ae);je==="bold-italic"&&Te.setAttribute("mathvariant",je)}else ne.family==="punct"?Te.setAttribute("separator","true"):(ne.family==="open"||ne.family==="close")&&Te.setAttribute("stretchy","false");return Te}});var No={mi:"italic",mn:"normal",mtext:"normal"};ci({type:"mathord",htmlBuilder:function(ne,Ae){return ir.makeOrd(ne,Ae,"mathord")},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mi",[cn(ne.text,ne.mode,Ae)]),je=sa(ne,Ae)||"italic";return je!==No[Te.type]&&Te.setAttribute("mathvariant",je),Te}}),ci({type:"textord",htmlBuilder:function(ne,Ae){return ir.makeOrd(ne,Ae,"textord")},mathmlBuilder:function(ne,Ae){var Te=cn(ne.text,ne.mode,Ae),je=sa(ne,Ae)||"normal",st;return ne.mode==="text"?st=new fi.MathNode("mtext",[Te]):/[0-9]/.test(ne.text)?st=new fi.MathNode("mn",[Te]):ne.text==="\\prime"?st=new fi.MathNode("mo",[Te]):st=new fi.MathNode("mi",[Te]),je!==No[st.type]&&st.setAttribute("mathvariant",je),st}});var _o={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Vo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ci({type:"spacing",htmlBuilder:function(ne,Ae){if(Vo.hasOwnProperty(ne.text)){var Te=Vo[ne.text].className||"";if(ne.mode==="text"){var je=ir.makeOrd(ne,Ae,"textord");return je.classes.push(Te),je}else return ir.makeSpan(["mspace",Te],[ir.mathsym(ne.text,ne.mode,Ae)],Ae)}else{if(_o.hasOwnProperty(ne.text))return ir.makeSpan(["mspace",_o[ne.text]],[],Ae);throw new c('Unknown type of space "'+ne.text+'"')}},mathmlBuilder:function(ne,Ae){var Te;if(Vo.hasOwnProperty(ne.text))Te=new fi.MathNode("mtext",[new fi.TextNode("\xA0")]);else{if(_o.hasOwnProperty(ne.text))return new fi.MathNode("mspace");throw new c('Unknown type of space "'+ne.text+'"')}return Te}});var Go=function(){var ne=new fi.MathNode("mtd",[]);return ne.setAttribute("width","50%"),ne};ci({type:"tag",mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mtable",[new fi.MathNode("mtr",[Go(),new fi.MathNode("mtd",[da(ne.body,Ae)]),Go(),new fi.MathNode("mtd",[da(ne.tag,Ae)])])]);return Te.setAttribute("width","100%"),Te}});var bo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Da={"\\textbf":"textbf","\\textmd":"textmd"},Ho={"\\textit":"textit","\\textup":"textup"},ds=function(ne,Ae){var Te=ne.font;return Te?bo[Te]?Ae.withTextFontFamily(bo[Te]):Da[Te]?Ae.withTextFontWeight(Da[Te]):Ae.withTextFontShape(Ho[Te]):Ae};tn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser,je=ne.funcName,st=Ae[0];return{type:"text",mode:Te.mode,body:qn(st),font:je}},htmlBuilder:function(ne,Ae){var Te=ds(ne,Ae),je=dn(ne.body,Te,!0);return ir.makeSpan(["mord","text"],ir.tryCombineChars(je),Te)},mathmlBuilder:function(ne,Ae){var Te=ds(ne,Ae);return da(ne.body,Te)}}),tn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(ne,Ae){var Te=ne.parser;return{type:"underline",mode:Te.mode,body:Ae[0]}},htmlBuilder:function(ne,Ae){var Te=hi(ne.body,Ae),je=ir.makeLineSpan("underline-line",Ae),st=Ae.fontMetrics().defaultRuleThickness,xt=ir.makeVList({positionType:"top",positionData:Te.height,children:[{type:"kern",size:st},{type:"elem",elem:je},{type:"kern",size:3*st},{type:"elem",elem:Te}]},Ae);return ir.makeSpan(["mord","underline"],[xt],Ae)},mathmlBuilder:function(ne,Ae){var Te=new fi.MathNode("mo",[new fi.TextNode("\u203E")]);Te.setAttribute("stretchy","true");var je=new fi.MathNode("munder",[Vt(ne.body,Ae),Te]);return je.setAttribute("accentunder","true"),je}}),tn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(ne,Ae,Te){throw new c("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(ne,Ae){for(var Te=fo(ne),je=[],st=Ae.havingStyle(Ae.style.text()),xt=0;xt<Te.length;xt++){var gr=Te[xt];gr==="~"&&(gr="\\textasciitilde"),je.push(ir.makeSymbol(gr,"Typewriter-Regular",ne.mode,st,["mord","texttt"]))}return ir.makeSpan(["mord","text"].concat(st.sizingClasses(Ae)),ir.tryCombineChars(je),st)},mathmlBuilder:function(ne,Ae){var Te=new fi.TextNode(fo(ne)),je=new fi.MathNode("mtext",[Te]);return je.setAttribute("mathvariant","monospace"),je}});var fo=function(ne){return ne.body.replace(/ /g,ne.star?"\u2423":"\xA0")},Oo=gn,Wa=Oo,Xo=`[ \r
]`,Zs="\\\\[a-zA-Z@]+",Ps="\\\\[^\uD800-\uDFFF]",_s=""+Zs+Xo+"*",Es=new RegExp("^("+Zs+")"+Xo+"*$"),Ts="[\u0300-\u036F]",ws=new RegExp(Ts+"+$"),Do="("+Xo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ts+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ts+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+_s)+("|"+Ps+")"),po=function(){function ft(Ae,Te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Ae,this.settings=Te,this.tokenRegex=new RegExp(Do,"g"),this.catcodes={"%":14}}var ne=ft.prototype;return ne.setCatcode=function(Te,je){this.catcodes[Te]=je},ne.lex=function(){var Te=this.input,je=this.tokenRegex.lastIndex;if(je===Te.length)return new m("EOF",new b(this,je,je));var st=this.tokenRegex.exec(Te);if(st===null||st.index!==je)throw new c("Unexpected character: '"+Te[je]+"'",new m(Te[je],new b(this,je,je+1)));var xt=st[2]||" ";if(this.catcodes[xt]===14){var gr=Te.indexOf(`
`,this.tokenRegex.lastIndex);return gr===-1?(this.tokenRegex.lastIndex=Te.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=gr+1,this.lex()}var Ir=xt.match(Es);return Ir&&(xt=Ir[1]),new m(xt,new b(this,je,this.tokenRegex.lastIndex))},ft}(),rs=function(){function ft(Ae,Te){Ae===void 0&&(Ae={}),Te===void 0&&(Te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Te,this.builtins=Ae,this.undefStack=[]}var ne=ft.prototype;return ne.beginGroup=function(){this.undefStack.push({})},ne.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 Te=this.undefStack.pop();for(var je in Te)Te.hasOwnProperty(je)&&(Te[je]===void 0?delete this.current[je]:this.current[je]=Te[je])},ne.has=function(Te){return this.current.hasOwnProperty(Te)||this.builtins.hasOwnProperty(Te)},ne.get=function(Te){return this.current.hasOwnProperty(Te)?this.current[Te]:this.builtins[Te]},ne.set=function(Te,je,st){if(st===void 0&&(st=!1),st){for(var xt=0;xt<this.undefStack.length;xt++)delete this.undefStack[xt][Te];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Te]=je)}else{var gr=this.undefStack[this.undefStack.length-1];gr&&!gr.hasOwnProperty(Te)&&(gr[Te]=this.current[Te])}this.current[Te]=je},ft}(),Yo={},Fo=Yo;function zr(ft,ne){Yo[ft]=ne}zr("\\@firstoftwo",function(ft){var ne=ft.consumeArgs(2);return{tokens:ne[0],numArgs:0}}),zr("\\@secondoftwo",function(ft){var ne=ft.consumeArgs(2);return{tokens:ne[1],numArgs:0}}),zr("\\@ifnextchar",function(ft){var ne=ft.consumeArgs(3),Ae=ft.future();return ne[0].length===1&&ne[0][0].text===Ae.text?{tokens:ne[1],numArgs:0}:{tokens:ne[2],numArgs:0}}),zr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),zr("\\TextOrMath",function(ft){var ne=ft.consumeArgs(2);return ft.mode==="text"?{tokens:ne[0],numArgs:0}:{tokens:ne[1],numArgs:0}});var Jo={"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};zr("\\char",function(ft){var ne=ft.popToken(),Ae,Te="";if(ne.text==="'")Ae=8,ne=ft.popToken();else if(ne.text==='"')Ae=16,ne=ft.popToken();else if(ne.text==="`")if(ne=ft.popToken(),ne.text[0]==="\\")Te=ne.text.charCodeAt(1);else{if(ne.text==="EOF")throw new c("\\char` missing argument");Te=ne.text.charCodeAt(0)}else Ae=10;if(Ae){if(Te=Jo[ne.text],Te==null||Te>=Ae)throw new c("Invalid base-"+Ae+" digit "+ne.text);for(var je;(je=Jo[ft.future().text])!=null&&je<Ae;)Te*=Ae,Te+=je,ft.popToken()}return"\\@char{"+Te+"}"});var $s=function(ne,Ae){var Te=ne.consumeArgs(1)[0];if(Te.length!==1)throw new c("\\gdef's first argument must be a macro name");var je=Te[0].text,st=0;for(Te=ne.consumeArgs(1)[0];Te.length===1&&Te[0].text==="#";){if(Te=ne.consumeArgs(1)[0],Te.length!==1)throw new c('Invalid argument number length "'+Te.length+'"');if(!/^[1-9]$/.test(Te[0].text))throw new c('Invalid argument number "'+Te[0].text+'"');if(st++,parseInt(Te[0].text)!==st)throw new c('Argument number "'+Te[0].text+'" out of order');Te=ne.consumeArgs(1)[0]}return ne.macros.set(je,{tokens:Te,numArgs:st},Ae),""};zr("\\gdef",function(ft){return $s(ft,!0)}),zr("\\def",function(ft){return $s(ft,!1)}),zr("\\global",function(ft){var ne=ft.consumeArgs(1)[0];if(ne.length!==1)throw new c("Invalid command after \\global");var Ae=ne[0].text;if(Ae==="\\def")return $s(ft,!0);throw new c("Invalid command '"+Ae+"' after \\global")});var Is=function(ne,Ae,Te){var je=ne.consumeArgs(1)[0];if(je.length!==1)throw new c("\\newcommand's first argument must be a macro name");var st=je[0].text,xt=ne.isDefined(st);if(xt&&!Ae)throw new c("\\newcommand{"+st+"} attempting to redefine "+(st+"; use \\renewcommand"));if(!xt&&!Te)throw new c("\\renewcommand{"+st+"} when command "+st+" does not yet exist; use \\newcommand");var gr=0;if(je=ne.consumeArgs(1)[0],je.length===1&&je[0].text==="["){for(var Ir="",Zr=ne.expandNextToken();Zr.text!=="]"&&Zr.text!=="EOF";)Ir+=Zr.text,Zr=ne.expandNextToken();if(!Ir.match(/^\s*[0-9]+\s*$/))throw new c("Invalid number of arguments: "+Ir);gr=parseInt(Ir),je=ne.consumeArgs(1)[0]}return ne.macros.set(st,{tokens:je,numArgs:gr}),""};zr("\\newcommand",function(ft){return Is(ft,!1,!0)}),zr("\\renewcommand",function(ft){return Is(ft,!0,!1)}),zr("\\providecommand",function(ft){return Is(ft,!0,!0)}),zr("\\bgroup","{"),zr("\\egroup","}"),zr("\\lq","`"),zr("\\rq","'"),zr("\\aa","\\r a"),zr("\\AA","\\r A"),zr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),zr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),zr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),zr("\u212C","\\mathscr{B}"),zr("\u2130","\\mathscr{E}"),zr("\u2131","\\mathscr{F}"),zr("\u210B","\\mathscr{H}"),zr("\u2110","\\mathscr{I}"),zr("\u2112","\\mathscr{L}"),zr("\u2133","\\mathscr{M}"),zr("\u211B","\\mathscr{R}"),zr("\u212D","\\mathfrak{C}"),zr("\u210C","\\mathfrak{H}"),zr("\u2128","\\mathfrak{Z}"),zr("\\Bbbk","\\Bbb{k}"),zr("\xB7","\\cdotp"),zr("\\llap","\\mathllap{\\textrm{#1}}"),zr("\\rlap","\\mathrlap{\\textrm{#1}}"),zr("\\clap","\\mathclap{\\textrm{#1}}"),zr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),zr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),zr("\\ne","\\neq"),zr("\u2260","\\neq"),zr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),zr("\u2209","\\notin"),zr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),zr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),zr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),zr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),zr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),zr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),zr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),zr("\u27C2","\\perp"),zr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),zr("\u220C","\\notni"),zr("\u231C","\\ulcorner"),zr("\u231D","\\urcorner"),zr("\u231E","\\llcorner"),zr("\u231F","\\lrcorner"),zr("\xA9","\\copyright"),zr("\xAE","\\textregistered"),zr("\uFE0F","\\textregistered"),zr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),zr("\u22EE","\\vdots"),zr("\\varGamma","\\mathit{\\Gamma}"),zr("\\varDelta","\\mathit{\\Delta}"),zr("\\varTheta","\\mathit{\\Theta}"),zr("\\varLambda","\\mathit{\\Lambda}"),zr("\\varXi","\\mathit{\\Xi}"),zr("\\varPi","\\mathit{\\Pi}"),zr("\\varSigma","\\mathit{\\Sigma}"),zr("\\varUpsilon","\\mathit{\\Upsilon}"),zr("\\varPhi","\\mathit{\\Phi}"),zr("\\varPsi","\\mathit{\\Psi}"),zr("\\varOmega","\\mathit{\\Omega}"),zr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),zr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),zr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),zr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),zr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),zr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ks={",":"\\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"};zr("\\dots",function(ft){var ne="\\dotso",Ae=ft.expandAfterFuture().text;return Ae in ks?ne=ks[Ae]:Ae.substr(0,4)==="\\not"?ne="\\dotsb":Ae in Ze.math&&(f.contains(["bin","rel"],Ze.math[Ae].group)&&(ne="\\dotsb")),ne});var lo={")":!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};zr("\\dotso",function(ft){var ne=ft.future().text;return ne in lo?"\\ldots\\,":"\\ldots"}),zr("\\dotsc",function(ft){var ne=ft.future().text;return ne in lo&&ne!==","?"\\ldots\\,":"\\ldots"}),zr("\\cdots",function(ft){var ne=ft.future().text;return ne in lo?"\\@cdots\\,":"\\@cdots"}),zr("\\dotsb","\\cdots"),zr("\\dotsm","\\cdots"),zr("\\dotsi","\\!\\cdots"),zr("\\dotsx","\\ldots\\,"),zr("\\DOTSI","\\relax"),zr("\\DOTSB","\\relax"),zr("\\DOTSX","\\relax"),zr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),zr("\\,","\\tmspace+{3mu}{.1667em}"),zr("\\thinspace","\\,"),zr("\\>","\\mskip{4mu}"),zr("\\:","\\tmspace+{4mu}{.2222em}"),zr("\\medspace","\\:"),zr("\\;","\\tmspace+{5mu}{.2777em}"),zr("\\thickspace","\\;"),zr("\\!","\\tmspace-{3mu}{.1667em}"),zr("\\negthinspace","\\!"),zr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),zr("\\negthickspace","\\tmspace-{5mu}{.277em}"),zr("\\enspace","\\kern.5em "),zr("\\enskip","\\hskip.5em\\relax"),zr("\\quad","\\hskip1em\\relax"),zr("\\qquad","\\hskip2em\\relax"),zr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),zr("\\tag@paren","\\tag@literal{({#1})}"),zr("\\tag@literal",function(ft){if(ft.macros.get("\\df@tag"))throw new c("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),zr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),zr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),zr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),zr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),zr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),zr("\\\\","\\newline"),zr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ao=nt["Main-Regular"]["T".charCodeAt(0)][1]-.7*nt["Main-Regular"]["A".charCodeAt(0)][1]+"em";zr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ao+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),zr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ao+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),zr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),zr("\\@hspace","\\hskip #1\\relax"),zr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),zr("\\ordinarycolon",":"),zr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),zr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),zr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),zr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),zr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),zr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),zr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),zr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),zr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),zr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),zr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),zr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),zr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),zr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),zr("\u2237","\\dblcolon"),zr("\u2239","\\eqcolon"),zr("\u2254","\\coloneqq"),zr("\u2255","\\eqqcolon"),zr("\u2A74","\\Coloneqq"),zr("\\ratio","\\vcentcolon"),zr("\\coloncolon","\\dblcolon"),zr("\\colonequals","\\coloneqq"),zr("\\coloncolonequals","\\Coloneqq"),zr("\\equalscolon","\\eqqcolon"),zr("\\equalscoloncolon","\\Eqqcolon"),zr("\\colonminus","\\coloneq"),zr("\\coloncolonminus","\\Coloneq"),zr("\\minuscolon","\\eqcolon"),zr("\\minuscoloncolon","\\Eqcolon"),zr("\\coloncolonapprox","\\Colonapprox"),zr("\\coloncolonsim","\\Colonsim"),zr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),zr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),zr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),zr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),zr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),zr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),zr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),zr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),zr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),zr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),zr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),zr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),zr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),zr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),zr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),zr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),zr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),zr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),zr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),zr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),zr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),zr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),zr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),zr("\u27E6","\\llbracket"),zr("\u27E7","\\rrbracket"),zr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),zr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),zr("\u2983","\\lBrace"),zr("\u2984","\\rBrace"),zr("\\darr","\\downarrow"),zr("\\dArr","\\Downarrow"),zr("\\Darr","\\Downarrow"),zr("\\lang","\\langle"),zr("\\rang","\\rangle"),zr("\\uarr","\\uparrow"),zr("\\uArr","\\Uparrow"),zr("\\Uarr","\\Uparrow"),zr("\\N","\\mathbb{N}"),zr("\\R","\\mathbb{R}"),zr("\\Z","\\mathbb{Z}"),zr("\\alef","\\aleph"),zr("\\alefsym","\\aleph"),zr("\\Alpha","\\mathrm{A}"),zr("\\Beta","\\mathrm{B}"),zr("\\bull","\\bullet"),zr("\\Chi","\\mathrm{X}"),zr("\\clubs","\\clubsuit"),zr("\\cnums","\\mathbb{C}"),zr("\\Complex","\\mathbb{C}"),zr("\\Dagger","\\ddagger"),zr("\\diamonds","\\diamondsuit"),zr("\\empty","\\emptyset"),zr("\\Epsilon","\\mathrm{E}"),zr("\\Eta","\\mathrm{H}"),zr("\\exist","\\exists"),zr("\\harr","\\leftrightarrow"),zr("\\hArr","\\Leftrightarrow"),zr("\\Harr","\\Leftrightarrow"),zr("\\hearts","\\heartsuit"),zr("\\image","\\Im"),zr("\\infin","\\infty"),zr("\\Iota","\\mathrm{I}"),zr("\\isin","\\in"),zr("\\Kappa","\\mathrm{K}"),zr("\\larr","\\leftarrow"),zr("\\lArr","\\Leftarrow"),zr("\\Larr","\\Leftarrow"),zr("\\lrarr","\\leftrightarrow"),zr("\\lrArr","\\Leftrightarrow"),zr("\\Lrarr","\\Leftrightarrow"),zr("\\Mu","\\mathrm{M}"),zr("\\natnums","\\mathbb{N}"),zr("\\Nu","\\mathrm{N}"),zr("\\Omicron","\\mathrm{O}"),zr("\\plusmn","\\pm"),zr("\\rarr","\\rightarrow"),zr("\\rArr","\\Rightarrow"),zr("\\Rarr","\\Rightarrow"),zr("\\real","\\Re"),zr("\\reals","\\mathbb{R}"),zr("\\Reals","\\mathbb{R}"),zr("\\Rho","\\mathrm{P}"),zr("\\sdot","\\cdot"),zr("\\sect","\\S"),zr("\\spades","\\spadesuit"),zr("\\sub","\\subset"),zr("\\sube","\\subseteq"),zr("\\supe","\\supseteq"),zr("\\Tau","\\mathrm{T}"),zr("\\thetasym","\\vartheta"),zr("\\weierp","\\wp"),zr("\\Zeta","\\mathrm{Z}"),zr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),zr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),zr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),zr("\\blue","\\textcolor{##6495ed}{#1}"),zr("\\orange","\\textcolor{##ffa500}{#1}"),zr("\\pink","\\textcolor{##ff00af}{#1}"),zr("\\red","\\textcolor{##df0030}{#1}"),zr("\\green","\\textcolor{##28ae7b}{#1}"),zr("\\gray","\\textcolor{gray}{#1}"),zr("\\purple","\\textcolor{##9d38bd}{#1}"),zr("\\blueA","\\textcolor{##ccfaff}{#1}"),zr("\\blueB","\\textcolor{##80f6ff}{#1}"),zr("\\blueC","\\textcolor{##63d9ea}{#1}"),zr("\\blueD","\\textcolor{##11accd}{#1}"),zr("\\blueE","\\textcolor{##0c7f99}{#1}"),zr("\\tealA","\\textcolor{##94fff5}{#1}"),zr("\\tealB","\\textcolor{##26edd5}{#1}"),zr("\\tealC","\\textcolor{##01d1c1}{#1}"),zr("\\tealD","\\textcolor{##01a995}{#1}"),zr("\\tealE","\\textcolor{##208170}{#1}"),zr("\\greenA","\\textcolor{##b6ffb0}{#1}"),zr("\\greenB","\\textcolor{##8af281}{#1}"),zr("\\greenC","\\textcolor{##74cf70}{#1}"),zr("\\greenD","\\textcolor{##1fab54}{#1}"),zr("\\greenE","\\textcolor{##0d923f}{#1}"),zr("\\goldA","\\textcolor{##ffd0a9}{#1}"),zr("\\goldB","\\textcolor{##ffbb71}{#1}"),zr("\\goldC","\\textcolor{##ff9c39}{#1}"),zr("\\goldD","\\textcolor{##e07d10}{#1}"),zr("\\goldE","\\textcolor{##a75a05}{#1}"),zr("\\redA","\\textcolor{##fca9a9}{#1}"),zr("\\redB","\\textcolor{##ff8482}{#1}"),zr("\\redC","\\textcolor{##f9685d}{#1}"),zr("\\redD","\\textcolor{##e84d39}{#1}"),zr("\\redE","\\textcolor{##bc2612}{#1}"),zr("\\maroonA","\\textcolor{##ffbde0}{#1}"),zr("\\maroonB","\\textcolor{##ff92c6}{#1}"),zr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),zr("\\maroonD","\\textcolor{##ca337c}{#1}"),zr("\\maroonE","\\textcolor{##9e034e}{#1}"),zr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),zr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),zr("\\purpleC","\\textcolor{##aa87ff}{#1}"),zr("\\purpleD","\\textcolor{##7854ab}{#1}"),zr("\\purpleE","\\textcolor{##543b78}{#1}"),zr("\\mintA","\\textcolor{##f5f9e8}{#1}"),zr("\\mintB","\\textcolor{##edf2df}{#1}"),zr("\\mintC","\\textcolor{##e0e5cc}{#1}"),zr("\\grayA","\\textcolor{##f6f7f7}{#1}"),zr("\\grayB","\\textcolor{##f0f1f2}{#1}"),zr("\\grayC","\\textcolor{##e3e5e6}{#1}"),zr("\\grayD","\\textcolor{##d6d8da}{#1}"),zr("\\grayE","\\textcolor{##babec2}{#1}"),zr("\\grayF","\\textcolor{##888d93}{#1}"),zr("\\grayG","\\textcolor{##626569}{#1}"),zr("\\grayH","\\textcolor{##3b3e40}{#1}"),zr("\\grayI","\\textcolor{##21242c}{#1}"),zr("\\kaBlue","\\textcolor{##314453}{#1}"),zr("\\kaGreen","\\textcolor{##71B307}{#1}");var Uo={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},hs=function(){function ft(Ae,Te,je){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=Te,this.expansionCount=0,this.feed(Ae),this.macros=new rs(Fo,Te.macros),this.mode=je,this.stack=[]}var ne=ft.prototype;return ne.feed=function(Te){this.lexer=new po(Te,this.settings)},ne.switchMode=function(Te){this.mode=Te},ne.beginGroup=function(){this.macros.beginGroup()},ne.endGroup=function(){this.macros.endGroup()},ne.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},ne.popToken=function(){return this.future(),this.stack.pop()},ne.pushToken=function(Te){this.stack.push(Te)},ne.pushTokens=function(Te){var je;(je=this.stack).push.apply(je,Te)},ne.consumeSpaces=function(){for(;;){var Te=this.future();if(Te.text===" ")this.stack.pop();else break}},ne.consumeArgs=function(Te){for(var je=[],st=0;st<Te;++st){this.consumeSpaces();var xt=this.popToken();if(xt.text==="{"){for(var gr=[],Ir=1;Ir!==0;){var Zr=this.popToken();if(gr.push(Zr),Zr.text==="{")++Ir;else if(Zr.text==="}")--Ir;else if(Zr.text==="EOF")throw new c("End of input in macro argument",xt)}gr.pop(),gr.reverse(),je[st]=gr}else{if(xt.text==="EOF")throw new c("End of input expecting macro argument");je[st]=[xt]}}return je},ne.expandOnce=function(){var Te=this.popToken(),je=Te.text,st=this._getExpansion(je);if(st==null)return this.pushToken(Te),Te;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new c("Too many expansions: infinite loop or need to increase maxExpand setting");var xt=st.tokens;if(st.numArgs){var gr=this.consumeArgs(st.numArgs);xt=xt.slice();for(var Ir=xt.length-1;Ir>=0;--Ir){var Zr=xt[Ir];if(Zr.text==="#"){if(Ir===0)throw new c("Incomplete placeholder at end of macro body",Zr);if(Zr=xt[--Ir],Zr.text==="#")xt.splice(Ir+1,1);else if(/^[1-9]$/.test(Zr.text)){var En;(En=xt).splice.apply(En,[Ir,2].concat(gr[+Zr.text-1]))}else throw new c("Not a valid argument number",Zr)}}}return this.pushTokens(xt),xt},ne.expandAfterFuture=function(){return this.expandOnce(),this.future()},ne.expandNextToken=function(){for(;;){var Te=this.expandOnce();if(Te instanceof m)if(Te.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},ne.expandMacro=function(Te){if(!this.macros.get(Te))return;var je=[],st=this.stack.length;for(this.pushToken(new m(Te));this.stack.length>st;){var xt=this.expandOnce();xt instanceof m&&je.push(this.stack.pop())}return je},ne.expandMacroAsText=function(Te){var je=this.expandMacro(Te);return je&&je.map(function(st){return st.text}).join("")},ne._getExpansion=function(Te){var je=this.macros.get(Te);if(je==null)return je;var st=typeof je=="function"?je(this):je;if(typeof st=="string"){var xt=0;if(st.indexOf("#")!==-1)for(var gr=st.replace(/##/g,"");gr.indexOf("#"+(xt+1))!==-1;)++xt;for(var Ir=new po(st,this.settings),Zr=[],En=Ir.lex();En.text!=="EOF";)Zr.push(En),En=Ir.lex();Zr.reverse();var Hn={tokens:Zr,numArgs:xt};return Hn}return st},ne.isDefined=function(Te){return this.macros.has(Te)||Wa.hasOwnProperty(Te)||Ze.math.hasOwnProperty(Te)||Ze.text.hasOwnProperty(Te)||Uo.hasOwnProperty(Te)},ft}(),vs={"\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"}},ss={\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"},Cs=function(){function ft(Ae,Te){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 hs(Ae,Te,this.mode),this.settings=Te,this.leftrightDepth=0}var ne=ft.prototype;return ne.expect=function(Te,je){if(je===void 0&&(je=!0),this.fetch().text!==Te)throw new c("Expected '"+Te+"', got '"+this.fetch().text+"'",this.fetch());je&&this.consume()},ne.consume=function(){this.nextToken=null},ne.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},ne.switchMode=function(Te){this.mode=Te,this.gullet.switchMode(Te)},ne.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Te=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Te},ne.parseExpression=function(Te,je){for(var st=[];;){this.mode==="math"&&this.consumeSpaces();var xt=this.fetch();if(ft.endOfExpression.indexOf(xt.text)!==-1)break;if(je&&xt.text===je)break;if(Te&&Wa[xt.text]&&Wa[xt.text].infix)break;var gr=this.parseAtom(je);if(!gr)break;st.push(gr)}return this.mode==="text"&&this.formLigatures(st),this.handleInfixNodes(st)},ne.handleInfixNodes=function(Te){for(var je=-1,st,xt=0;xt<Te.length;xt++){var gr=Br(Te[xt],"infix");if(gr){if(je!==-1)throw new c("only one infix operator per group",gr.token);je=xt,st=gr.replaceWith}}if(je!==-1&&st){var Ir,Zr,En=Te.slice(0,je),Hn=Te.slice(je+1);En.length===1&&En[0].type==="ordgroup"?Ir=En[0]:Ir={type:"ordgroup",mode:this.mode,body:En},Hn.length===1&&Hn[0].type==="ordgroup"?Zr=Hn[0]:Zr={type:"ordgroup",mode:this.mode,body:Hn};var ai;return st==="\\\\abovefrac"?ai=this.callFunction(st,[Ir,Te[je],Zr],[]):ai=this.callFunction(st,[Ir,Zr],[]),[ai]}else return Te},ne.handleSupSubscript=function(Te){var je=this.fetch(),st=je.text;this.consume();var xt=this.parseGroup(Te,!1,ft.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!xt)throw new c("Expected group after '"+st+"'",je);return xt},ne.formatUnsupportedCmd=function(Te){for(var je=[],st=0;st<Te.length;st++)je.push({type:"textord",mode:"text",text:Te[st]});var xt={type:"text",mode:this.mode,body:je},gr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[xt]};return gr},ne.parseAtom=function(Te){var je=this.parseGroup("atom",!1,null,Te);if(this.mode==="text")return je;for(var st,xt;;){this.consumeSpaces();var gr=this.fetch();if(gr.text==="\\limits"||gr.text==="\\nolimits"){var Ir=Br(je,"op");if(Ir){var Zr=gr.text==="\\limits";Ir.limits=Zr,Ir.alwaysHandleSupSub=!0}else if(Ir=Br(je,"operatorname"),Ir&&Ir.alwaysHandleSupSub){var En=gr.text==="\\limits";Ir.limits=En}else throw new c("Limit controls must follow a math operator",gr);this.consume()}else if(gr.text==="^"){if(st)throw new c("Double superscript",gr);st=this.handleSupSubscript("superscript")}else if(gr.text==="_"){if(xt)throw new c("Double subscript",gr);xt=this.handleSupSubscript("subscript")}else if(gr.text==="'"){if(st)throw new c("Double superscript",gr);var Hn={type:"textord",mode:this.mode,text:"\\prime"},ai=[Hn];for(this.consume();this.fetch().text==="'";)ai.push(Hn),this.consume();this.fetch().text==="^"&&ai.push(this.handleSupSubscript("superscript")),st={type:"ordgroup",mode:this.mode,body:ai}}else break}return st||xt?{type:"supsub",mode:this.mode,base:je,sup:st,sub:xt}:je},ne.parseFunction=function(Te,je,st){var xt=this.fetch(),gr=xt.text,Ir=Wa[gr];if(!Ir)return null;if(this.consume(),st!=null&&Ir.greediness<=st)throw new c("Got function '"+gr+"' with no arguments"+(je?" as "+je:""),xt);if(this.mode==="text"&&!Ir.allowedInText)throw new c("Can't use function '"+gr+"' in text mode",xt);if(this.mode==="math"&&Ir.allowedInMath===!1)throw new c("Can't use function '"+gr+"' in math mode",xt);var Zr=this.parseArguments(gr,Ir),En=Zr.args,Hn=Zr.optArgs;return this.callFunction(gr,En,Hn,xt,Te)},ne.callFunction=function(Te,je,st,xt,gr){var Ir={funcName:Te,parser:this,token:xt,breakOnTokenText:gr},Zr=Wa[Te];if(Zr&&Zr.handler)return Zr.handler(Ir,je,st);throw new c("No function handler for "+Te)},ne.parseArguments=function(Te,je){var st=je.numArgs+je.numOptionalArgs;if(st===0)return{args:[],optArgs:[]};for(var xt=je.greediness,gr=[],Ir=[],Zr=0;Zr<st;Zr++){var En=je.argTypes&&je.argTypes[Zr],Hn=Zr<je.numOptionalArgs,ai=Zr>0&&!Hn||Zr===0&&!Hn&&this.mode==="math",Ci=this.parseGroupOfType("argument to '"+Te+"'",En,Hn,xt,ai);if(!Ci){if(Hn){Ir.push(null);continue}throw new c("Expected group after '"+Te+"'",this.fetch())}(Hn?Ir:gr).push(Ci)}return{args:gr,optArgs:Ir}},ne.parseGroupOfType=function(Te,je,st,xt,gr){switch(je){case"color":return gr&&this.consumeSpaces(),this.parseColorGroup(st);case"size":return gr&&this.consumeSpaces(),this.parseSizeGroup(st);case"url":return this.parseUrlGroup(st,gr);case"math":case"text":return this.parseGroup(Te,st,xt,void 0,je,gr);case"hbox":{var Ir=this.parseGroup(Te,st,xt,void 0,"text",gr);if(!Ir)return Ir;var Zr={type:"styling",mode:Ir.mode,body:[Ir],style:"text"};return Zr}case"raw":{if(gr&&this.consumeSpaces(),st&&this.fetch().text==="{")return null;var En=this.parseStringGroup("raw",st,!0);if(En)return{type:"raw",mode:"text",string:En.text};throw new c("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Te,st,xt,void 0,void 0,gr);default:throw new c("Unknown group type as "+Te,this.fetch())}},ne.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},ne.parseStringGroup=function(Te,je,st){var xt=je?"[":"{",gr=je?"]":"}",Ir=this.fetch();if(Ir.text!==xt){if(je)return null;if(st&&Ir.text!=="EOF"&&/[^{}[\]]/.test(Ir.text))return this.consume(),Ir}var Zr=this.mode;this.mode="text",this.expect(xt);for(var En="",Hn=this.fetch(),ai=0,Ci=Hn,Ui;(Ui=this.fetch()).text!==gr||st&&ai>0;){switch(Ui.text){case"EOF":throw new c("Unexpected end of input in "+Te,Hn.range(Ci,En));case xt:ai++;break;case gr:ai--;break}Ci=Ui,En+=Ci.text,this.consume()}return this.expect(gr),this.mode=Zr,Hn.range(Ci,En)},ne.parseRegexGroup=function(Te,je){var st=this.mode;this.mode="text";for(var xt=this.fetch(),gr=xt,Ir="",Zr;(Zr=this.fetch()).text!=="EOF"&&Te.test(Ir+Zr.text);)gr=Zr,Ir+=gr.text,this.consume();if(Ir==="")throw new c("Invalid "+je+": '"+xt.text+"'",xt);return this.mode=st,xt.range(gr,Ir)},ne.parseColorGroup=function(Te){var je=this.parseStringGroup("color",Te);if(!je)return null;var st=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(je.text);if(!st)throw new c("Invalid color: '"+je.text+"'",je);var xt=st[0];return/^[0-9a-f]{6}$/i.test(xt)&&(xt="#"+xt),{type:"color-token",mode:this.mode,color:xt}},ne.parseSizeGroup=function(Te){var je,st=!1;if(!Te&&this.fetch().text!=="{"?je=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):je=this.parseStringGroup("size",Te),!je)return null;!Te&&je.text.length===0&&(je.text="0pt",st=!0);var xt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(je.text);if(!xt)throw new c("Invalid size: '"+je.text+"'",je);var gr={number:+(xt[1]+xt[2]),unit:xt[3]};if(!hr(gr))throw new c("Invalid unit: '"+gr.unit+"'",je);return{type:"size",mode:this.mode,value:gr,isBlank:st}},ne.parseUrlGroup=function(Te,je){this.gullet.lexer.setCatcode("%",13);var st=this.parseStringGroup("url",Te,!0);if(this.gullet.lexer.setCatcode("%",14),!st)return null;var xt=st.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:xt}},ne.parseGroup=function(Te,je,st,xt,gr,Ir){var Zr=this.mode;gr&&this.switchMode(gr),Ir&&this.consumeSpaces();var En=this.fetch(),Hn=En.text,ai;if(je?Hn==="[":Hn==="{"||Hn==="\\begingroup"){this.consume();var Ci=ft.endOfGroup[Hn];this.gullet.beginGroup();var Ui=this.parseExpression(!1,Ci),va=this.fetch();this.expect(Ci),this.gullet.endGroup(),ai={type:"ordgroup",mode:this.mode,loc:b.range(En,va),body:Ui,semisimple:Hn==="\\begingroup"||void 0}}else if(je)ai=null;else if(ai=this.parseFunction(xt,Te,st)||this.parseSymbol(),ai==null&&Hn[0]==="\\"&&!Uo.hasOwnProperty(Hn)){if(this.settings.throwOnError)throw new c("Undefined control sequence: "+Hn,En);ai=this.formatUnsupportedCmd(Hn),this.consume()}return gr&&this.switchMode(Zr),ai},ne.formLigatures=function(Te){for(var je=Te.length-1,st=0;st<je;++st){var xt=Te[st],gr=xt.text;gr==="-"&&Te[st+1].text==="-"&&(st+1<je&&Te[st+2].text==="-"?(Te.splice(st,3,{type:"textord",mode:"text",loc:b.range(xt,Te[st+2]),text:"---"}),je-=2):(Te.splice(st,2,{type:"textord",mode:"text",loc:b.range(xt,Te[st+1]),text:"--"}),je-=1)),(gr==="'"||gr==="`")&&Te[st+1].text===gr&&(Te.splice(st,2,{type:"textord",mode:"text",loc:b.range(xt,Te[st+1]),text:gr+gr}),je-=1)}},ne.parseSymbol=function(){var Te=this.fetch(),je=Te.text;if(/^\\verb[^a-zA-Z]/.test(je)){this.consume();var st=je.slice(5),xt=st.charAt(0)==="*";if(xt&&(st=st.slice(1)),st.length<2||st.charAt(0)!==st.slice(-1))throw new c(`\\verb assertion failed --
please report what input caused this bug`);return st=st.slice(1,-1),{type:"verb",mode:"text",body:st,star:xt}}ss.hasOwnProperty(je[0])&&!Ze[this.mode][je[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+je[0]+'" used in math mode',Te),je=ss[je[0]]+je.substr(1));var gr=ws.exec(je);gr&&(je=je.substring(0,gr.index),je==="i"?je="\u0131":je==="j"&&(je="\u0237"));var Ir;if(Ze[this.mode][je]){this.settings.strict&&this.mode==="math"&&kt.indexOf(je)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+je[0]+'" used in math mode',Te);var Zr=Ze[this.mode][je].group,En=b.range(Te),Hn;if(Et.hasOwnProperty(Zr)){var ai=Zr;Hn={type:"atom",mode:this.mode,family:ai,loc:En,text:je}}else Hn={type:Zr,mode:this.mode,loc:En,text:je};Ir=Hn}else if(je.charCodeAt(0)>=128)this.settings.strict&&(Y(je.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+je[0]+'" used in math mode',Te):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+je[0]+'"'+(" ("+je.charCodeAt(0)+")"),Te)),Ir={type:"textord",mode:"text",loc:b.range(Te),text:je};else return null;if(this.consume(),gr)for(var Ci=0;Ci<gr[0].length;Ci++){var Ui=gr[0][Ci];if(!vs[Ui])throw new c("Unknown accent ' "+Ui+"'",Te);var va=vs[Ui][this.mode];if(!va)throw new c("Accent "+Ui+" unsupported in "+this.mode+" mode",Te);Ir={type:"accent",mode:this.mode,loc:b.range(Te),label:va,isStretchy:!1,isShifty:!0,base:Ir}}return Ir},ft}();Cs.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Cs.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Cs.SUPSUB_GREEDINESS=1;var ol=function(ne,Ae){if(!(typeof ne=="string"||ne instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Te=new Cs(ne,Ae);delete Te.gullet.macros.current["\\df@tag"];var je=Te.parse();if(Te.gullet.macros.get("\\df@tag")){if(!Ae.displayMode)throw new c("\\tag works only in display equations");Te.gullet.feed("\\df@tag"),je=[{type:"tag",mode:"text",body:je,tag:Te.parse()}]}return je},Ls=ol,Xs=function(ne,Ae,Te){Ae.textContent="";var je=bt(ne,Te).toNode();Ae.appendChild(je)};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."),Xs=function(){throw new c("KaTeX doesn't work in quirks mode.")}));var Os=function(ne,Ae){var Te=bt(ne,Ae).toMarkup();return Te},Ks=function(ne,Ae){var Te=new g(Ae);return Ls(ne,Te)},Bs=function(ne,Ae,Te){if(Te.throwOnError||!(ne instanceof c))throw ne;var je=ir.makeSpan(["katex-error"],[new Ce(Ae)]);return je.setAttribute("title",ne.toString()),je.setAttribute("style","color:"+Te.errorColor),je},bt=function(ne,Ae){var Te=new g(Ae);try{var je=Ls(ne,Te);return Ye(je,ne,Te)}catch(st){return Bs(st,ne,Te)}},Dt=function(ne,Ae){var Te=new g(Ae);try{var je=Ls(ne,Te);return It(je,ne,Te)}catch(st){return Bs(st,ne,Te)}},rn={version:"0.11.1",render:Xs,renderToString:Os,ParseError:c,__parse:Ks,__renderToDomTree:bt,__renderToHTMLTree:Dt,__setFontMetrics:pt,__defineSymbol:ye,__defineMacro:zr,__domTree:{Span:G,Anchor:Q,SymbolNode:Ce,SvgNode:we,PathNode:le,LineNode:fe}},On=x.default=rn}]).default})},P2fV:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("Q9mQ"),A=d("+L6B"),b=d("sE09"),m=d.n(b)},P2ho:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _={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};k.default=_},P47w:function(H,k,d){var _=d("hydK"),x=_.createElement,C=d("IMiH"),A=d("mFDi"),b=d("Fofx"),m=d("6GrX"),p=d("pzxd"),c=d("dqUG"),o=C.CMD,r=Array.prototype.join,i="none",n=Math.round,t=Math.sin,s=Math.cos,e=Math.PI,a=Math.PI*2,l=180/e,u=1e-4;function h(V){return n(V*1e4)/1e4}function f(V){return V<u&&V>-u}function g(V,z){var Y=z?V.textFill:V.fill;return Y!=null&&Y!==i}function v(V,z){var Y=z?V.textStroke:V.stroke;return Y!=null&&Y!==i}function y(V,z){z&&E(V,"transform","matrix("+r.call(z,",")+")")}function E(V,z,Y){(!Y||Y.type!=="linear"&&Y.type!=="radial")&&V.setAttribute(z,Y)}function T(V,z,Y){V.setAttributeNS("http://www.w3.org/1999/xlink",z,Y)}function w(V,z,Y,J){if(g(z,Y)){var ie=Y?z.textFill:z.fill;ie=ie==="transparent"?i:ie,E(V,"fill",ie),E(V,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else E(V,"fill",i);if(v(z,Y)){var Z=Y?z.textStroke:z.stroke;Z=Z==="transparent"?i:Z,E(V,"stroke",Z);var oe=Y?z.textStrokeWidth:z.lineWidth,ge=!Y&&z.strokeNoScale?J.getLineScale():1;E(V,"stroke-width",oe/ge),E(V,"paint-order",Y?"stroke":"fill"),E(V,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var pe=z.lineDash;pe?(E(V,"stroke-dasharray",z.lineDash.join(",")),E(V,"stroke-dashoffset",n(z.lineDashOffset||0))):E(V,"stroke-dasharray",""),z.lineCap&&E(V,"stroke-linecap",z.lineCap),z.lineJoin&&E(V,"stroke-linejoin",z.lineJoin),z.miterLimit&&E(V,"stroke-miterlimit",z.miterLimit)}else E(V,"stroke",i)}function S(V){for(var z=[],Y=V.data,J=V.len(),ie=0;ie<J;){var Z=Y[ie++],oe="",ge=0;switch(Z){case o.M:oe="M",ge=2;break;case o.L:oe="L",ge=2;break;case o.Q:oe="Q",ge=4;break;case o.C:oe="C",ge=6;break;case o.A:var pe=Y[ie++],De=Y[ie++],ce=Y[ie++],Oe=Y[ie++],se=Y[ie++],$=Y[ie++],ze=Y[ie++],re=Y[ie++],X=Math.abs($),G=f(X-a)||(re?$>=a:-$>=a),Q=$>0?$%a:$%a+a,ve=!1;G?ve=!0:f(X)?ve=!1:ve=Q>=e===!!re;var de=h(pe+ce*s(se)),Ce=h(De+Oe*t(se));G&&(re?$=a-1e-4:$=-a+1e-4,ve=!0,ie===9&&z.push("M",de,Ce));var we=h(pe+ce*s(se+$)),le=h(De+Oe*t(se+$));z.push("A",h(ce),h(Oe),n(ze*l),+ve,+re,we,le);break;case o.Z:oe="Z";break;case o.R:var we=h(Y[ie++]),le=h(Y[ie++]),fe=h(Y[ie++]),xe=h(Y[ie++]);z.push("M",we,le,"L",we+fe,le,"L",we+fe,le+xe,"L",we,le+xe,"L",we,le);break}oe&&z.push(oe);for(var We=0;We<ge;We++)z.push(h(Y[ie++]))}return z.join(" ")}var I={};I.brush=function(V){var z=V.style,Y=V.__svgEl;Y||(Y=x("path"),V.__svgEl=Y),V.path||V.createPathProxy();var J=V.path;if(V.__dirtyPath){J.beginPath(),J.subPixelOptimize=!1,V.buildPath(J,V.shape),V.__dirtyPath=!1;var ie=S(J);ie.indexOf("NaN")<0&&E(Y,"d",ie)}w(Y,z,!1,V),y(Y,V.transform),z.text!=null?M(V,V.getBoundingRect()):W(V)};var L={};L.brush=function(V){var z=V.style,Y=z.image;if(Y instanceof HTMLImageElement){var J=Y.src;Y=J}if(!Y)return;var ie=z.x||0,Z=z.y||0,oe=z.width,ge=z.height,pe=V.__svgEl;pe||(pe=x("image"),V.__svgEl=pe),Y!==V.__imageSrc&&(T(pe,"href",Y),V.__imageSrc=Y),E(pe,"width",oe),E(pe,"height",ge),E(pe,"x",ie),E(pe,"y",Z),y(pe,V.transform),z.text!=null?M(V,V.getBoundingRect()):W(V)};var O={},N=new A,R={},D=[],B={left:"start",right:"end",center:"middle",middle:"middle"},M=function(z,Y){var J=z.style,ie=z.transform,Z=z instanceof c||J.transformText;z.__dirty&&p.normalizeTextStyle(J,!0);var oe=J.text;if(oe!=null&&(oe+=""),!p.needDrawText(oe,J))return;oe==null&&(oe=""),!Z&&ie&&(N.copy(Y),N.applyTransform(ie),Y=N);var ge=z.__textSvgEl;ge||(ge=x("text"),z.__textSvgEl=ge);var pe=ge.style,De=J.font||m.DEFAULT_FONT,ce=ge.__computedFont;De!==ge.__styleFont&&(pe.font=ge.__styleFont=De,ce=ge.__computedFont=pe.font);var Oe=J.textPadding,se=J.textLineHeight,$=z.__textCotentBlock;(!$||z.__dirtyText)&&($=z.__textCotentBlock=m.parsePlainText(oe,ce,Oe,se,J.truncate));var ze=$.outerHeight,re=$.lineHeight;p.getBoxPosition(R,z,J,Y);var X=R.baseX,G=R.baseY,Q=R.textAlign||"left",ve=R.textVerticalAlign;U(ge,Z,ie,J,Y,X,G);var de=m.adjustTextY(G,ze,ve),Ce=X,we=de;Oe&&(Ce=F(X,Q,Oe),we+=Oe[0]),we+=re/2,w(ge,J,!0,z);var le=$.canCacheByTextString,fe=z.__tspanList||(z.__tspanList=[]),xe=fe.length;if(le&&z.__canCacheByTextString&&z.__text===oe){if(z.__dirtyText&&xe)for(var We=0;We<xe;++We)j(fe[We],Q,Ce,we+We*re)}else{z.__text=oe,z.__canCacheByTextString=le;for(var nt=$.lines,$e=nt.length,We=0;We<$e;We++){var Le=fe[We],pt=nt[We];Le?Le.__zrText!==pt&&(Le.innerHTML="",Le.appendChild(document.createTextNode(pt))):(Le=fe[We]=x("tspan"),ge.appendChild(Le),Le.appendChild(document.createTextNode(pt))),j(Le,Q,Ce,we+We*re)}if(xe>$e){for(;We<xe;We++)ge.removeChild(fe[We]);fe.length=$e}}};function U(V,z,Y,J,ie,Z,oe){b.identity(D),z&&Y&&b.copy(D,Y);var ge=J.textRotation;if(ie&&ge){var pe=J.textOrigin;pe==="center"?(Z=ie.width/2+ie.x,oe=ie.height/2+ie.y):pe&&(Z=pe[0]+ie.x,oe=pe[1]+ie.y),D[4]-=Z,D[5]-=oe,b.rotate(D,D,ge),D[4]+=Z,D[5]+=oe}y(V,D)}function F(V,z,Y){return z==="right"?V-Y[1]:z==="center"?V+Y[3]/2-Y[1]/2:V+Y[3]}function j(V,z,Y,J){E(V,"dominant-baseline","middle"),E(V,"text-anchor",B[z]),E(V,"x",Y),E(V,"y",J)}function W(V){V&&V.__textSvgEl&&(V.__textSvgEl.parentNode&&V.__textSvgEl.parentNode.removeChild(V.__textSvgEl),V.__textSvgEl=null,V.__tspanList=[],V.__text=null)}O.drawRectText=M,O.brush=function(V){var z=V.style;z.text!=null?M(V,!1):W(V)},k.path=I,k.image=L,k.text=O},P4Qj:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.removeSensor=k.getSensor=void 0;var _=A(d("chpo")),x=d("FxDU"),C=d("24YM");function A(c){return c&&c.__esModule?c:{default:c}}var b={},m=function(o){var r=o.getAttribute(C.SizeSensorId);if(r&&b[r])return b[r];var i=(0,_.default)();o.setAttribute(C.SizeSensorId,i);var n=(0,x.createSensor)(o);return b[i]=n,n};k.getSensor=m;var p=function(o){var r=o.element.getAttribute(C.SizeSensorId);o.element.removeAttribute(C.SizeSensorId),o.destroy(),r&&b[r]&&delete b[r]};k.removeSensor=p},P5Jw:function(H,k,d){"use strict";var _=d("rHrb"),x=_.CopyToClipboard;x.CopyToClipboard=x,H.exports=x},PArb:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("q1tI"),m=d.n(b),p=d("TSYQ"),c=d.n(p),o=d("H84U"),r=function(n,t){var s={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&t.indexOf(e)<0&&(s[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,e=Object.getOwnPropertySymbols(n);a<e.length;a++)t.indexOf(e[a])<0&&Object.prototype.propertyIsEnumerable.call(n,e[a])&&(s[e[a]]=n[e[a]]);return s},i=function(t){return b.createElement(o.a,null,function(s){var e,a=s.getPrefixCls,l=s.direction,u=t.prefixCls,h=t.type,f=h===void 0?"horizontal":h,g=t.orientation,v=g===void 0?"center":g,y=t.className,E=t.children,T=t.dashed,w=t.plain,S=r(t,["prefixCls","type","orientation","className","children","dashed","plain"]),I=a("divider",u),L=v.length>0?"-".concat(v):v,O=!!E,N=c()(y,I,"".concat(I,"-").concat(f),(e={},A()(e,"".concat(I,"-with-text"),O),A()(e,"".concat(I,"-with-text").concat(L),O),A()(e,"".concat(I,"-dashed"),!!T),A()(e,"".concat(I,"-plain"),!!w),A()(e,"".concat(I,"-rtl"),l==="rtl"),e));return b.createElement("div",x()({className:N},S,{role:"separator"}),E&&b.createElement("span",{className:"".concat(I,"-inner-text")},E))})};k.a=i},PD8m:function(H,k){H.exports={name:"memoryStorage",read:_,write:x,each:C,remove:A,clearAll:b};var d={};function _(m){return d[m]}function x(m,p){d[m]=p}function C(m){for(var p in d)d.hasOwnProperty(p)&&m(d[p],p)}function A(m){delete d[m]}function b(m){d={}}},PKem:function(H,k,d){"use strict";d.d(k,"a",function(){return g});var _=d("RIqP"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("pVnL"),m=d.n(b),p=d("lwsE"),c=d.n(p),o=d("W8MJ"),r=d.n(o),i=d("7W2i"),n=d.n(i),t=d("LQ03"),s=d.n(t),e=d("q1tI"),a=d.n(e),l=d("TSYQ"),u=d.n(l),h=d("H84U"),f=function(L,O){var N={};for(var R in L)Object.prototype.hasOwnProperty.call(L,R)&&O.indexOf(R)<0&&(N[R]=L[R]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,R=Object.getOwnPropertySymbols(L);D<R.length;D++)O.indexOf(R[D])<0&&Object.prototype.propertyIsEnumerable.call(L,R[D])&&(N[R[D]]=L[R[D]]);return N},g=e.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function v(L){var O=L.suffixCls,N=L.tagName,R=L.displayName;return function(D){var B;return B=function(M){n()(F,M);var U=s()(F);function F(){var j;return c()(this,F),j=U.apply(this,arguments),j.renderComponent=function(W){var V=W.getPrefixCls,z=j.props.prefixCls,Y=V(O,z);return e.createElement(D,m()({prefixCls:Y,tagName:N},j.props))},j}return r()(F,[{key:"render",value:function(){return e.createElement(h.a,null,this.renderComponent)}}]),F}(e.Component),B.displayName=R,B}}var y=function(O){var N=O.prefixCls,R=O.className,D=O.children,B=O.tagName,M=f(O,["prefixCls","className","children","tagName"]),U=u()(N,R);return e.createElement(B,m()({className:U},M),D)},E=function(L){n()(N,L);var O=s()(N);function N(){var R;return c()(this,N),R=O.apply(this,arguments),R.state={siders:[]},R.renderComponent=function(D){var B,M=D.direction,U=R.props,F=U.prefixCls,j=U.className,W=U.children,V=U.hasSider,z=U.tagName,Y=f(U,["prefixCls","className","children","hasSider","tagName"]),J=u()(F,(B={},A()(B,"".concat(F,"-has-sider"),typeof V=="boolean"?V:R.state.siders.length>0),A()(B,"".concat(F,"-rtl"),M==="rtl"),B),j);return e.createElement(g.Provider,{value:{siderHook:R.getSiderHook()}},e.createElement(z,m()({className:J},Y),W))},R}return r()(N,[{key:"getSiderHook",value:function(){var D=this;return{addSider:function(M){D.setState(function(U){return{siders:[].concat(x()(U.siders),[M])}})},removeSider:function(M){D.setState(function(U){return{siders:U.siders.filter(function(F){return F!==M})}})}}}},{key:"render",value:function(){return e.createElement(h.a,null,this.renderComponent)}}]),N}(e.Component),T=v({suffixCls:"layout",tagName:"section",displayName:"Layout"})(E),w=v({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(y),S=v({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(y),I=v({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(y);T.Header=w,T.Footer=S,T.Content=I,k.b=T},PNag:function(H,k,d){var _=d("bYtY"),x=d("SKnc"),C=d("YH21"),A=d("crZl"),b=d("IwbS"),m=d("OELB"),p=d("72pK"),c=d("y7Aq"),o=d("4NO4"),r=m.linearMap,i=_.each,n=Math.min,t=Math.max,s=12,e=6,a=A.extend({type:"visualMap.continuous",init:function(){a.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(E,T,w,S){(!S||S.type!=="selectDataRange"||S.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var E=this.visualMapModel,T=this.group;this._orient=E.get("orient"),this._useHandle=E.get("calculable"),this._resetInterval(),this._renderBar(T);var w=E.get("text");this._renderEndsText(T,w,0),this._renderEndsText(T,w,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(E,T,w){if(!T)return;var S=T[1-w];S=S!=null?S+"":"";var I=this.visualMapModel,L=I.get("textGap"),O=I.itemSize,N=this._shapes.barGroup,R=this._applyTransform([O[0]/2,w===0?-L:O[1]+L],N),D=this._applyTransform(w===0?"bottom":"top",N),B=this._orient,M=this.visualMapModel.textStyleModel;this.group.add(new b.Text({style:{x:R[0],y:R[1],textVerticalAlign:B==="horizontal"?"middle":D,textAlign:B==="horizontal"?D:"center",text:S,textFont:M.getFont(),textFill:M.getTextColor()}}))},_renderBar:function(E){var T=this.visualMapModel,w=this._shapes,S=T.itemSize,I=this._orient,L=this._useHandle,O=c.getItemAlign(T,this.api,S),N=w.barGroup=this._createBarGroup(O);N.add(w.outOfRange=l()),N.add(w.inRange=l(null,L?v(this._orient):null,_.bind(this._dragHandle,this,"all",!1),_.bind(this._dragHandle,this,"all",!0)));var R=T.textStyleModel.getTextRect("\u56FD"),D=t(R.width,R.height);L&&(w.handleThumbs=[],w.handleLabels=[],w.handleLabelPoints=[],this._createHandle(N,0,S,D,I,O),this._createHandle(N,1,S,D,I,O)),this._createIndicator(N,S,D,I),E.add(N)},_createHandle:function(E,T,w,S,I){var L=_.bind(this._dragHandle,this,T,!1),O=_.bind(this._dragHandle,this,T,!0),N=l(u(T,S),v(this._orient),L,O);N.position[0]=w[0],E.add(N);var R=this.visualMapModel.textStyleModel,D=new b.Text({draggable:!0,drift:L,onmousemove:function(U){C.stop(U.event)},ondragend:O,style:{x:0,y:0,text:"",textFont:R.getFont(),textFill:R.getTextColor()}});this.group.add(D);var B=[I==="horizontal"?S/2:S*1.5,I==="horizontal"?T===0?-(S*1.5):S*1.5:T===0?-S/2:S/2],M=this._shapes;M.handleThumbs[T]=N,M.handleLabelPoints[T]=B,M.handleLabels[T]=D},_createIndicator:function(E,T,w,S){var I=l([[0,0]],"move");I.position[0]=T[0],I.attr({invisible:!0,silent:!0}),E.add(I);var L=this.visualMapModel.textStyleModel,O=new b.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:L.getFont(),textFill:L.getTextColor()}});this.group.add(O);var N=[S==="horizontal"?w/2:e+3,0],R=this._shapes;R.indicator=I,R.indicatorLabel=O,R.indicatorLabelPoint=N},_dragHandle:function(E,T,w,S){if(!this._useHandle)return;if(this._dragging=!T,!T){var I=this._applyTransform([w,S],this._shapes.barGroup,!0);this._updateInterval(E,I[1]),this._updateView()}T===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),T?!this._hovering&&this._clearHoverLinkToSeries():g(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[E],!1)},_resetInterval:function(){var E=this.visualMapModel,T=this._dataInterval=E.getSelected(),w=E.getExtent(),S=[0,E.itemSize[1]];this._handleEnds=[r(T[0],w,S,!0),r(T[1],w,S,!0)]},_updateInterval:function(E,T){T=T||0;var w=this.visualMapModel,S=this._handleEnds,I=[0,w.itemSize[1]];p(T,S,I,E,0);var L=w.getExtent();this._dataInterval=[r(S[0],I,L,!0),r(S[1],I,L,!0)]},_updateView:function(E){var T=this.visualMapModel,w=T.getExtent(),S=this._shapes,I=[0,T.itemSize[1]],L=E?I:this._handleEnds,O=this._createBarVisual(this._dataInterval,w,L,"inRange"),N=this._createBarVisual(w,w,I,"outOfRange");S.inRange.setStyle({fill:O.barColor,opacity:O.opacity}).setShape("points",O.barPoints),S.outOfRange.setStyle({fill:N.barColor,opacity:N.opacity}).setShape("points",N.barPoints),this._updateHandle(L,O)},_createBarVisual:function(E,T,w,S){var I={forceState:S,convertOpacityToAlpha:!0},L=this._makeColorGradient(E,I),O=[this.getControllerVisual(E[0],"symbolSize",I),this.getControllerVisual(E[1],"symbolSize",I)],N=this._createBarPoints(w,O);return{barColor:new x(0,0,0,1,L),barPoints:N,handlesColor:[L[0].color,L[L.length-1].color]}},_makeColorGradient:function(E,T){var w=100,S=[],I=(E[1]-E[0])/w;S.push({color:this.getControllerVisual(E[0],"color",T),offset:0});for(var L=1;L<w;L++){var O=E[0]+I*L;if(O>E[1])break;S.push({color:this.getControllerVisual(O,"color",T),offset:L/w})}return S.push({color:this.getControllerVisual(E[1],"color",T),offset:1}),S},_createBarPoints:function(E,T){var w=this.visualMapModel.itemSize;return[[w[0]-T[0],E[0]],[w[0],E[0]],[w[0],E[1]],[w[0]-T[1],E[1]]]},_createBarGroup:function(E){var T=this._orient,w=this.visualMapModel.get("inverse");return new b.Group(T==="horizontal"&&!w?{scale:E==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&w?{scale:E==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!w?{scale:E==="left"?[1,-1]:[-1,-1]}:{scale:E==="left"?[1,1]:[-1,1]})},_updateHandle:function(E,T){if(!this._useHandle)return;var w=this._shapes,S=this.visualMapModel,I=w.handleThumbs,L=w.handleLabels;i([0,1],function(O){var N=I[O];N.setStyle("fill",T.handlesColor[O]),N.position[1]=E[O];var R=b.applyTransform(w.handleLabelPoints[O],b.getTransform(N,this.group));L[O].setStyle({x:R[0],y:R[1],text:S.formatValueText(this._dataInterval[O]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?O===0?"bottom":"top":"left",w.barGroup)})},this)},_showIndicator:function(E,T,w,S){var I=this.visualMapModel,L=I.getExtent(),O=I.itemSize,N=[0,O[1]],R=r(E,L,N,!0),D=this._shapes,B=D.indicator;if(!B)return;B.position[1]=R,B.attr("invisible",!1),B.setShape("points",h(!!w,S,R,O[1]));var M={convertOpacityToAlpha:!0},U=this.getControllerVisual(E,"color",M);B.setStyle("fill",U);var F=b.applyTransform(D.indicatorLabelPoint,b.getTransform(B,this.group)),j=D.indicatorLabel;j.attr("invisible",!1);var W=this._applyTransform("left",D.barGroup),V=this._orient;j.setStyle({text:(w||"")+I.formatValueText(T),textVerticalAlign:V==="horizontal"?W:"middle",textAlign:V==="horizontal"?"center":W,x:F[0],y:F[1]})},_enableHoverLinkToSeries:function(){var E=this;this._shapes.barGroup.on("mousemove",function(T){if(E._hovering=!0,!E._dragging){var w=E.visualMapModel.itemSize,S=E._applyTransform([T.offsetX,T.offsetY],E._shapes.barGroup,!0,!0);S[1]=n(t(0,S[1]),w[1]),E._doHoverLinkToSeries(S[1],0<=S[0]&&S[0]<=w[0])}}).on("mouseout",function(){E._hovering=!1,!E._dragging&&E._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var E=this.api.getZr();this.visualMapModel.option.hoverLink?(E.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),E.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(E,T){var w=this.visualMapModel,S=w.itemSize;if(!w.option.hoverLink)return;var I=[0,S[1]],L=w.getExtent();E=n(t(I[0],E),I[1]);var O=f(w,L,I),N=[E-O,E+O],R=r(E,I,L,!0),D=[r(N[0],I,L,!0),r(N[1],I,L,!0)];N[0]<I[0]&&(D[0]=-Infinity),N[1]>I[1]&&(D[1]=Infinity),T&&(D[0]===-Infinity?this._showIndicator(R,D[1],"< ",O):D[1]===Infinity?this._showIndicator(R,D[0],"> ",O):this._showIndicator(R,R,"\u2248 ",O));var B=this._hoverLinkDataIndices,M=[];(T||g(w))&&(M=this._hoverLinkDataIndices=w.findTargetDataIndices(D));var U=o.compressBatches(B,M);this._dispatchHighDown("downplay",c.makeHighDownBatch(U[0],w)),this._dispatchHighDown("highlight",c.makeHighDownBatch(U[1],w))},_hoverLinkFromSeriesMouseOver:function(E){var T=E.target,w=this.visualMapModel;if(!T||T.dataIndex==null)return;var S=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!w.isTargetSeries(S))return;var I=S.getData(T.dataType),L=I.get(w.getDataDimension(I),T.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)},_hideIndicator:function(){var E=this._shapes;E.indicator&&E.indicator.attr("invisible",!0),E.indicatorLabel&&E.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var E=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(E,this.visualMapModel)),E.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var E=this.api.getZr();E.off("mouseover",this._hoverLinkFromSeriesMouseOver),E.off("mouseout",this._hideIndicator)},_applyTransform:function(E,T,w,S){var I=b.getTransform(T,S?null:this.group);return b[_.isArray(E)?"applyTransform":"transformDirection"](E,I,w)},_dispatchHighDown:function(E,T){T&&T.length&&this.api.dispatchAction({type:E,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function l(E,T,w,S){return new b.Polygon({shape:{points:E},draggable:!!w,cursor:T,drift:w,onmousemove:function(I){C.stop(I.event)},ondragend:S})}function u(E,T){return E===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function h(E,T,w,S){return E?[[0,-n(T,t(w,0))],[e,0],[0,n(T,t(S-w,0))]]:[[0,0],[5,-5],[5,5]]}function f(E,T,w){var S=s/2,I=E.get("hoverLinkDataSize");return I&&(S=r(I,T,w,!0)/2),S}function g(E){var T=E.get("hoverLinkOnHandle");return!!(T==null?E.get("realtime"):T)}function v(E){return E==="vertical"?"ns-resize":"ew-resize"}var y=a;H.exports=y},PQMj:function(H,k,d){},PSzr:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},PVpz:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("ETIr"),d("cv67"),d("K3mO"),d("OLod"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.StreamCipher,b=x.algo,m=[],p=[],c=[],o=b.RabbitLegacy=A.extend({_doReset:function(){var n=this._key.words,t=this.cfg.iv,s=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],e=this._C=[n[2]<<16|n[2]>>>16,n[0]&4294901760|n[1]&65535,n[3]<<16|n[3]>>>16,n[1]&4294901760|n[2]&65535,n[0]<<16|n[0]>>>16,n[2]&4294901760|n[3]&65535,n[1]<<16|n[1]>>>16,n[3]&4294901760|n[0]&65535];this._b=0;for(var a=0;a<4;a++)r.call(this);for(var a=0;a<8;a++)e[a]^=s[a+4&7];if(t){var l=t.words,u=l[0],h=l[1],f=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360,g=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,v=f>>>16|g&4294901760,y=g<<16|f&65535;e[0]^=f,e[1]^=v,e[2]^=g,e[3]^=y,e[4]^=f,e[5]^=v,e[6]^=g,e[7]^=y;for(var a=0;a<4;a++)r.call(this)}},_doProcessBlock:function(n,t){var s=this._X;r.call(this),m[0]=s[0]^s[5]>>>16^s[3]<<16,m[1]=s[2]^s[7]>>>16^s[5]<<16,m[2]=s[4]^s[1]>>>16^s[7]<<16,m[3]=s[6]^s[3]>>>16^s[1]<<16;for(var e=0;e<4;e++)m[e]=(m[e]<<8|m[e]>>>24)&16711935|(m[e]<<24|m[e]>>>8)&4278255360,n[t+e]^=m[e]},blockSize:128/32,ivSize:64/32});function r(){for(var i=this._X,n=this._C,t=0;t<8;t++)p[t]=n[t];n[0]=n[0]+1295307597+this._b|0,n[1]=n[1]+3545052371+(n[0]>>>0<p[0]>>>0?1:0)|0,n[2]=n[2]+886263092+(n[1]>>>0<p[1]>>>0?1:0)|0,n[3]=n[3]+1295307597+(n[2]>>>0<p[2]>>>0?1:0)|0,n[4]=n[4]+3545052371+(n[3]>>>0<p[3]>>>0?1:0)|0,n[5]=n[5]+886263092+(n[4]>>>0<p[4]>>>0?1:0)|0,n[6]=n[6]+1295307597+(n[5]>>>0<p[5]>>>0?1:0)|0,n[7]=n[7]+3545052371+(n[6]>>>0<p[6]>>>0?1:0)|0,this._b=n[7]>>>0<p[7]>>>0?1:0;for(var t=0;t<8;t++){var s=i[t]+n[t],e=s&65535,a=s>>>16,l=((e*e>>>17)+e*a>>>15)+a*a,u=((s&4294901760)*s|0)+((s&65535)*s|0);c[t]=l^u}i[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,i[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,i[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,i[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,i[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,i[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,i[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,i[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}x.RabbitLegacy=A._createHelper(o)}(),_.RabbitLegacy})},ProS:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("aX58"),A=d("bYtY"),b=d("Qe9p"),m=d("ItGF"),p=d("BPZU"),c=d("H6uX"),o=d("fmMI"),r=d("hD7B"),i=d("IDmD"),n=d("ypgQ"),t=d("+wW9"),s=d("0V0F"),e=d("bLfw"),a=d("T4UG"),l=d("sS/r"),u=d("6Ic6"),h=d("IwbS"),f=d("4NO4"),g=d("iLNv"),v=g.throttle,y=d("/WM3"),E=d("uAnK"),T=d("mYwL"),w=d("af/B"),S=d("xTNl"),I=d("8hn6");d("A1Ka");var L=d("7DRL"),O=A.assert,N=A.each,R=A.isFunction,D=A.isObject,B=e.parseClassType,M="4.8.0",U={zrender:"4.3.1"},F=1,j=1e3,W=800,V=900,z=5e3,Y=1e3,J=1100,ie=2e3,Z=3e3,oe=3500,ge=4e3,pe=5e3,De={PROCESSOR:{FILTER:j,SERIES_FILTER:W,STATISTIC:z},VISUAL:{LAYOUT:Y,PROGRESSIVE_LAYOUT:J,GLOBAL:ie,CHART:Z,POST_CHART_LAYOUT:oe,COMPONENT:ge,BRUSH:pe}},ce="__flagInMainProcess",Oe="__optionUpdated",se=/^[a-zA-Z0-9_]+$/;function $(mt,Mt){return function(hr,or,ar){if(!Mt&&this._disposed){wt(this.id);return}hr=hr&&hr.toLowerCase(),c.prototype[mt].call(this,hr,or,ar)}}function ze(){c.call(this)}ze.prototype.on=$("on",!0),ze.prototype.off=$("off",!0),ze.prototype.one=$("one",!0),A.mixin(ze,c);function re(mt,Mt,hr){hr=hr||{},typeof Mt=="string"&&(Mt=ut[Mt]),this.id,this.group,this._dom=mt;var or="canvas",ar=this._zr=C.init(mt,{renderer:hr.renderer||or,devicePixelRatio:hr.devicePixelRatio,width:hr.width,height:hr.height});this._throttledZrFlush=v(A.bind(ar.flush,ar),17);var Mt=A.clone(Mt);Mt&&t(Mt,!0),this._theme=Mt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new i;var Gr=this._api=Ze(this);function Yr(In,Nn){return In.__prio-Nn.__prio}p(rr,Yr),p(et,Yr),this._scheduler=new w(this,Gr,et,rr),c.call(this,this._ecEventProcessor=new ye),this._messageCenter=new ze,this._initEvents(),this.resize=A.bind(this.resize,this),this._pendingActions=[],ar.animation.on("frame",this._onframe,this),xe(ar,this),A.setAsPrimitive(this)}var X=re.prototype;X._onframe=function(){if(this._disposed)return;var mt=this._scheduler;if(this[Oe]){var Mt=this[Oe].silent;this[ce]=!0,ve(this),Q.update.call(this),this[ce]=!1,this[Oe]=!1,le.call(this,Mt),fe.call(this,Mt)}else if(mt.unfinished){var hr=F,or=this._model,ar=this._api;mt.unfinished=!1;do{var Gr=+new Date;mt.performSeriesTasks(or),mt.performDataProcessorTasks(or),Ce(this,or),mt.performVisualTasks(or),pt(this,this._model,ar,"remain"),hr-=+new Date-Gr}while(hr>0&&mt.unfinished);mt.unfinished||this._zr.flush()}},X.getDom=function(){return this._dom},X.getZr=function(){return this._zr},X.setOption=function(mt,Mt,hr){if(this._disposed){wt(this.id);return}var or;if(D(Mt)&&(hr=Mt.lazyUpdate,or=Mt.silent,Mt=Mt.notMerge),this[ce]=!0,!this._model||Mt){var ar=new n(this._api),Gr=this._theme,Yr=this._model=new o;Yr.scheduler=this._scheduler,Yr.init(null,null,Gr,ar)}this._model.setOption(mt,me),hr?(this[Oe]={silent:or},this[ce]=!1):(ve(this),Q.update.call(this),this._zr.flush(),this[Oe]=!1,this[ce]=!1,le.call(this,or),fe.call(this,or))},X.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},X.getModel=function(){return this._model},X.getOption=function(){return this._model&&this._model.getOption()},X.getWidth=function(){return this._zr.getWidth()},X.getHeight=function(){return this._zr.getHeight()},X.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},X.getRenderedCanvas=function(mt){if(!m.canvasSupported)return;mt=mt||{},mt.pixelRatio=mt.pixelRatio||1,mt.backgroundColor=mt.backgroundColor||this._model.get("backgroundColor");var Mt=this._zr;return Mt.painter.getRenderedCanvas(mt)},X.getSvgDataURL=function(){if(!m.svgSupported)return;var mt=this._zr,Mt=mt.storage.getDisplayList();return A.each(Mt,function(hr){hr.stopAnimation(!0)}),mt.painter.toDataURL()},X.getDataURL=function(mt){if(this._disposed){wt(this.id);return}mt=mt||{};var Mt=mt.excludeComponents,hr=this._model,or=[],ar=this;N(Mt,function(Yr){hr.eachComponent({mainType:Yr},function(In){var Nn=ar._componentsMap[In.__viewId];Nn.group.ignore||(or.push(Nn),Nn.group.ignore=!0)})});var Gr=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(mt).toDataURL("image/"+(mt&&mt.type||"png"));return N(or,function(Yr){Yr.group.ignore=!1}),Gr},X.getConnectedDataURL=function(mt){if(this._disposed){wt(this.id);return}if(!m.canvasSupported)return;var Mt=mt.type==="svg",hr=this.group,or=Math.min,ar=Math.max,Gr=Infinity;if(Fr[hr]){var Yr=Gr,In=Gr,Nn=-Gr,Kn=-Gr,$n=[],Ii=mt&&mt.pixelRatio||1;A.each(ur,function(Ge,Ke){if(Ge.group===hr){var qe=Mt?Ge.getZr().painter.getSvgDom().innerHTML:Ge.getRenderedCanvas(A.clone(mt)),vt=Ge.getDom().getBoundingClientRect();Yr=or(vt.left,Yr),In=or(vt.top,In),Nn=ar(vt.right,Nn),Kn=ar(vt.bottom,Kn),$n.push({dom:qe,left:vt.left,top:vt.top})}}),Yr*=Ii,In*=Ii,Nn*=Ii,Kn*=Ii;var Mi=Nn-Yr,Xe=Kn-In,Ie=A.createCanvas(),Be=C.init(Ie,{renderer:Mt?"svg":"canvas"});if(Be.resize({width:Mi,height:Xe}),Mt){var Fe="";return N($n,function(Ge){var Ke=Ge.left-Yr,qe=Ge.top-In;Fe+='<g transform="translate('+Ke+","+qe+')">'+Ge.dom+"</g>"}),Be.painter.getSvgRoot().innerHTML=Fe,mt.connectedBackgroundColor&&Be.painter.setBackgroundColor(mt.connectedBackgroundColor),Be.refreshImmediately(),Be.painter.toDataURL()}else return mt.connectedBackgroundColor&&Be.add(new h.Rect({shape:{x:0,y:0,width:Mi,height:Xe},style:{fill:mt.connectedBackgroundColor}})),N($n,function(Ge){var Ke=new h.Image({style:{x:Ge.left*Ii-Yr,y:Ge.top*Ii-In,image:Ge.dom}});Be.add(Ke)}),Be.refreshImmediately(),Ie.toDataURL("image/"+(mt&&mt.type||"png"))}else return this.getDataURL(mt)},X.convertToPixel=A.curry(G,"convertToPixel"),X.convertFromPixel=A.curry(G,"convertFromPixel");function G(mt,Mt,hr){if(this._disposed){wt(this.id);return}var or=this._model,ar=this._coordSysMgr.getCoordinateSystems(),Gr;Mt=f.parseFinder(or,Mt);for(var Yr=0;Yr<ar.length;Yr++){var In=ar[Yr];if(In[mt]&&(Gr=In[mt](or,Mt,hr))!=null)return Gr}}X.containPixel=function(mt,Mt){if(this._disposed){wt(this.id);return}var hr=this._model,or;return mt=f.parseFinder(hr,mt),A.each(mt,function(ar,Gr){Gr.indexOf("Models")>=0&&A.each(ar,function(Yr){var In=Yr.coordinateSystem;if(In&&In.containPoint)or|=!!In.containPoint(Mt);else if(Gr==="seriesModels"){var Nn=this._chartsMap[Yr.__viewId];Nn&&Nn.containPoint&&(or|=Nn.containPoint(Mt,Yr))}},this)},this),!!or},X.getVisual=function(mt,Mt){var hr=this._model;mt=f.parseFinder(hr,mt,{defaultMainType:"series"});var or=mt.seriesModel,ar=or.getData(),Gr=mt.hasOwnProperty("dataIndexInside")?mt.dataIndexInside:mt.hasOwnProperty("dataIndex")?ar.indexOfRawIndex(mt.dataIndex):null;return Gr!=null?ar.getItemVisual(Gr,Mt):ar.getVisual(Mt)},X.getViewOfComponentModel=function(mt){return this._componentsMap[mt.__viewId]},X.getViewOfSeriesModel=function(mt){return this._chartsMap[mt.__viewId]};var Q={prepareAndUpdate:function(mt){ve(this),Q.update.call(this,mt)},update:function(mt){var Mt=this._model,hr=this._api,or=this._zr,ar=this._coordSysMgr,Gr=this._scheduler;if(!Mt)return;Gr.restoreData(Mt,mt),Gr.performSeriesTasks(Mt),ar.create(Mt,hr),Gr.performDataProcessorTasks(Mt,mt),Ce(this,Mt),ar.update(Mt,hr),nt(Mt),Gr.performVisualTasks(Mt,mt),$e(this,Mt,hr,mt);var Yr=Mt.get("backgroundColor")||"transparent";if(m.canvasSupported)or.setBackgroundColor(Yr);else{var In=b.parse(Yr);Yr=b.stringify(In,"rgb"),In[3]===0&&(Yr="transparent")}Qe(Mt,hr)},updateTransform:function(mt){var Mt=this._model,hr=this,or=this._api;if(!Mt)return;var ar=[];Mt.eachComponent(function(Yr,In){var Nn=hr.getViewOfComponentModel(In);if(Nn&&Nn.__alive)if(Nn.updateTransform){var Kn=Nn.updateTransform(In,Mt,or,mt);Kn&&Kn.update&&ar.push(Nn)}else ar.push(Nn)});var Gr=A.createHashMap();Mt.eachSeries(function(Yr){var In=hr._chartsMap[Yr.__viewId];if(In.updateTransform){var Nn=In.updateTransform(Yr,Mt,or,mt);Nn&&Nn.update&&Gr.set(Yr.uid,1)}else Gr.set(Yr.uid,1)}),nt(Mt),this._scheduler.performVisualTasks(Mt,mt,{setDirty:!0,dirtyMap:Gr}),pt(hr,Mt,or,mt,Gr),Qe(Mt,this._api)},updateView:function(mt){var Mt=this._model;if(!Mt)return;u.markUpdateMethod(mt,"updateView"),nt(Mt),this._scheduler.performVisualTasks(Mt,mt,{setDirty:!0}),$e(this,this._model,this._api,mt),Qe(Mt,this._api)},updateVisual:function(mt){Q.update.call(this,mt)},updateLayout:function(mt){Q.update.call(this,mt)}};function ve(mt){var Mt=mt._model,hr=mt._scheduler;hr.restorePipelines(Mt),hr.prepareStageTasks(),We(mt,"component",Mt,hr),We(mt,"chart",Mt,hr),hr.plan()}function de(mt,Mt,hr,or,ar){var Gr=mt._model;if(!or){N(mt._componentsViews.concat(mt._chartsViews),Kn);return}var Yr={};Yr[or+"Id"]=hr[or+"Id"],Yr[or+"Index"]=hr[or+"Index"],Yr[or+"Name"]=hr[or+"Name"];var In={mainType:or,query:Yr};ar&&(In.subType=ar);var Nn=hr.excludeSeriesId;Nn!=null&&(Nn=A.createHashMap(f.normalizeToArray(Nn))),Gr&&Gr.eachComponent(In,function($n){(!Nn||Nn.get($n.id)==null)&&Kn(mt[or==="series"?"_chartsMap":"_componentsMap"][$n.__viewId])},mt);function Kn($n){$n&&$n.__alive&&$n[Mt]&&$n[Mt]($n.__model,Gr,mt._api,hr)}}X.resize=function(mt){if(this._disposed){wt(this.id);return}this._zr.resize(mt);var Mt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Mt)return;var hr=Mt.resetOption("media"),or=mt&&mt.silent;this[ce]=!0,hr&&ve(this),Q.update.call(this),this[ce]=!1,le.call(this,or),fe.call(this,or)};function Ce(mt,Mt){var hr=mt._chartsMap,or=mt._scheduler;Mt.eachSeries(function(ar){or.updateStreamModes(ar,hr[ar.__viewId])})}X.showLoading=function(mt,Mt){if(this._disposed){wt(this.id);return}if(D(mt)&&(Mt=mt,mt=""),mt=mt||"default",this.hideLoading(),!Xt[mt])return;var hr=Xt[mt](this._api,Mt),or=this._zr;this._loadingFX=hr,or.add(hr)},X.hideLoading=function(){if(this._disposed){wt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},X.makeActionFromEvent=function(mt){var Mt=A.extend({},mt);return Mt.type=yt[mt.type],Mt},X.dispatchAction=function(mt,Mt){if(this._disposed){wt(this.id);return}if(D(Mt)||(Mt={silent:!!Mt}),!ae[mt.type])return;if(!this._model)return;if(this[ce]){this._pendingActions.push(mt);return}we.call(this,mt,Mt.silent),Mt.flush?this._zr.flush(!0):Mt.flush!==!1&&m.browser.weChat&&this._throttledZrFlush(),le.call(this,Mt.silent),fe.call(this,Mt.silent)};function we(mt,Mt){var hr=mt.type,or=mt.escapeConnect,ar=ae[hr],Gr=ar.actionInfo,Yr=(Gr.update||"update").split(":"),In=Yr.pop();Yr=Yr[0]!=null&&B(Yr[0]),this[ce]=!0;var Nn=[mt],Kn=!1;mt.batch&&(Kn=!0,Nn=A.map(mt.batch,function(Xe){return Xe=A.defaults(A.extend({},Xe),mt),Xe.batch=null,Xe}));var $n=[],Ii,Mi=hr==="highlight"||hr==="downplay";N(Nn,function(Xe){Ii=ar.action(Xe,this._model,this._api),Ii=Ii||A.extend({},Xe),Ii.type=Gr.event||Ii.type,$n.push(Ii),Mi?de(this,In,Xe,"series"):Yr&&de(this,In,Xe,Yr.main,Yr.sub)},this),In!=="none"&&!Mi&&!Yr&&(this[Oe]?(ve(this),Q.update.call(this,mt),this[Oe]=!1):Q[In].call(this,mt)),Kn?Ii={type:Gr.event||hr,escapeConnect:or,batch:$n}:Ii=$n[0],this[ce]=!1,!Mt&&this._messageCenter.trigger(Ii.type,Ii)}function le(mt){for(var Mt=this._pendingActions;Mt.length;){var hr=Mt.shift();we.call(this,hr,mt)}}function fe(mt){!mt&&this.trigger("updated")}function xe(mt,Mt){mt.on("rendered",function(){Mt.trigger("rendered"),mt.animation.isFinished()&&!Mt[Oe]&&!Mt._scheduler.unfinished&&!Mt._pendingActions.length&&Mt.trigger("finished")})}X.appendData=function(mt){if(this._disposed){wt(this.id);return}var Mt=mt.seriesIndex,hr=this.getModel(),or=hr.getSeriesByIndex(Mt);or.appendData(mt),this._scheduler.unfinished=!0},X.on=$("on",!1),X.off=$("off",!1),X.one=$("one",!1);function We(mt,Mt,hr,or){for(var ar=Mt==="component",Gr=ar?mt._componentsViews:mt._chartsViews,Yr=ar?mt._componentsMap:mt._chartsMap,In=mt._zr,Nn=mt._api,Kn=0;Kn<Gr.length;Kn++)Gr[Kn].__alive=!1;ar?hr.eachComponent(function(Mi,Xe){Mi!=="series"&&$n(Xe)}):hr.eachSeries($n);function $n(Mi){var Xe="_ec_"+Mi.id+"_"+Mi.type,Ie=Yr[Xe];if(!Ie){var Be=B(Mi.type),Fe=ar?l.getClass(Be.main,Be.sub):u.getClass(Be.sub);Ie=new Fe,Ie.init(hr,Nn),Yr[Xe]=Ie,Gr.push(Ie),In.add(Ie.group)}Mi.__viewId=Ie.__id=Xe,Ie.__alive=!0,Ie.__model=Mi,Ie.group.__ecComponentInfo={mainType:Mi.mainType,index:Mi.componentIndex},!ar&&or.prepareView(Ie,Mi,hr,Nn)}for(var Kn=0;Kn<Gr.length;){var Ii=Gr[Kn];Ii.__alive?Kn++:(!ar&&Ii.renderTask.dispose(),In.remove(Ii.group),Ii.dispose(hr,Nn),Gr.splice(Kn,1),delete Yr[Ii.__id],Ii.__id=Ii.group.__ecComponentInfo=null)}}function nt(mt){mt.clearColorPalette(),mt.eachSeries(function(Mt){Mt.clearColorPalette()})}function $e(mt,Mt,hr,or){Le(mt,Mt,hr,or),N(mt._chartsViews,function(ar){ar.__alive=!1}),pt(mt,Mt,hr,or),N(mt._chartsViews,function(ar){ar.__alive||ar.remove(Mt,hr)})}function Le(mt,Mt,hr,or,ar){N(ar||mt._componentsViews,function(Gr){var Yr=Gr.__model;Gr.render(Yr,Mt,hr,or),Ht(Yr,Gr)})}function pt(mt,Mt,hr,or,ar){var Gr=mt._scheduler,Yr;Mt.eachSeries(function(In){var Nn=mt._chartsMap[In.__viewId];Nn.__alive=!0;var Kn=Nn.renderTask;Gr.updatePayload(Kn,or),ar&&ar.get(In.uid)&&Kn.dirty(),Yr|=Kn.perform(Gr.getPerformArgs(Kn)),Nn.group.silent=!!In.get("silent"),Ht(In,Nn),_t(In,Nn)}),Gr.unfinished|=Yr,Et(mt,Mt),E(mt._zr.dom,Mt)}function Qe(mt,Mt){N(Gt,function(hr){hr(mt,Mt)})}var gt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];X._initEvents=function(){N(gt,function(mt){var Mt=function(hr){var or=this.getModel(),ar=hr.target,Gr,Yr=mt==="globalout";if(Yr)Gr={};else if(ar&&ar.dataIndex!=null){var In=ar.dataModel||or.getSeriesByIndex(ar.seriesIndex);Gr=In&&In.getDataParams(ar.dataIndex,ar.dataType,ar)||{}}else ar&&ar.eventData&&(Gr=A.extend({},ar.eventData));if(Gr){var Nn=Gr.componentType,Kn=Gr.componentIndex;(Nn==="markLine"||Nn==="markPoint"||Nn==="markArea")&&(Nn="series",Kn=Gr.seriesIndex);var $n=Nn&&Kn!=null&&or.getComponent(Nn,Kn),Ii=$n&&this[$n.mainType==="series"?"_chartsMap":"_componentsMap"][$n.__viewId];Gr.event=hr,Gr.type=mt,this._ecEventProcessor.eventInfo={targetEl:ar,packedEvent:Gr,model:$n,view:Ii},this.trigger(mt,Gr)}};Mt.zrEventfulCallAtLast=!0,this._zr.on(mt,Mt,this)},this),N(yt,function(mt,Mt){this._messageCenter.on(Mt,function(hr){this.trigger(Mt,hr)},this)},this)},X.isDisposed=function(){return this._disposed},X.clear=function(){if(this._disposed){wt(this.id);return}this.setOption({series:[]},!0)},X.dispose=function(){if(this._disposed){wt(this.id);return}this._disposed=!0,f.setAttribute(this.getDom(),Lt,"");var mt=this._api,Mt=this._model;N(this._componentsViews,function(hr){hr.dispose(Mt,mt)}),N(this._chartsViews,function(hr){hr.dispose(Mt,mt)}),this._zr.dispose(),delete ur[this.id]},A.mixin(re,c);function wt(mt){}function Et(mt,Mt){var hr=mt._zr,or=hr.storage,ar=0;or.traverse(function(Gr){ar++}),ar>Mt.get("hoverLayerThreshold")&&!m.node&&Mt.eachSeries(function(Gr){if(Gr.preventUsingHoverLayer)return;var Yr=mt._chartsMap[Gr.__viewId];Yr.__alive&&Yr.group.traverse(function(In){In.useHoverLayer=!0})})}function _t(mt,Mt){var hr=mt.get("blendMode")||null;Mt.group.traverse(function(or){or.isGroup||or.style.blend!==hr&&or.setStyle("blend",hr),or.eachPendingDisplayable&&or.eachPendingDisplayable(function(ar){ar.setStyle("blend",hr)})})}function Ht(mt,Mt){var hr=mt.get("z"),or=mt.get("zlevel");Mt.group.traverse(function(ar){ar.type!=="group"&&(hr!=null&&(ar.z=hr),or!=null&&(ar.zlevel=or))})}function Ze(mt){var Mt=mt._coordSysMgr;return A.extend(new r(mt),{getCoordinateSystems:A.bind(Mt.getCoordinateSystems,Mt),getComponentByElement:function(hr){for(;hr;){var or=hr.__ecComponentInfo;if(or!=null)return mt._model.getComponent(or.mainType,or.index);hr=hr.parent}}})}function ye(){this.eventInfo}ye.prototype={constructor:ye,normalizeQuery:function(mt){var Mt={},hr={},or={};if(A.isString(mt)){var ar=B(mt);Mt.mainType=ar.main||null,Mt.subType=ar.sub||null}else{var Gr=["Index","Name","Id"],Yr={name:1,dataIndex:1,dataType:1};A.each(mt,function(In,Nn){for(var Kn=!1,$n=0;$n<Gr.length;$n++){var Ii=Gr[$n],Mi=Nn.lastIndexOf(Ii);if(Mi>0&&Mi===Nn.length-Ii.length){var Xe=Nn.slice(0,Mi);Xe!=="data"&&(Mt.mainType=Xe,Mt[Ii.toLowerCase()]=In,Kn=!0)}}Yr.hasOwnProperty(Nn)&&(hr[Nn]=In,Kn=!0),Kn||(or[Nn]=In)})}return{cptQuery:Mt,dataQuery:hr,otherQuery:or}},filter:function(mt,Mt,hr){var or=this.eventInfo;if(!or)return!0;var ar=or.targetEl,Gr=or.packedEvent,Yr=or.model,In=or.view;if(!Yr||!In)return!0;var Nn=Mt.cptQuery,Kn=Mt.dataQuery;return $n(Nn,Yr,"mainType")&&$n(Nn,Yr,"subType")&&$n(Nn,Yr,"index","componentIndex")&&$n(Nn,Yr,"name")&&$n(Nn,Yr,"id")&&$n(Kn,Gr,"name")&&$n(Kn,Gr,"dataIndex")&&$n(Kn,Gr,"dataType")&&(!In.filterForExposedEvent||In.filterForExposedEvent(mt,Mt.otherQuery,ar,Gr));function $n(Ii,Mi,Xe,Ie){return Ii[Xe]==null||Mi[Ie||Xe]===Ii[Xe]}},afterTrigger:function(){this.eventInfo=null}};var ae={},yt={},et=[],me=[],Gt=[],rr=[],ut={},Xt={},ur={},Fr={},er=new Date-0,nr=new Date-0,Lt="_echarts_instance_";function at(mt){var Mt=0,hr=1,or=2,ar="__connectUpdateStatus";function Gr(Yr,In){for(var Nn=0;Nn<Yr.length;Nn++){var Kn=Yr[Nn];Kn[ar]=In}}N(yt,function(Yr,In){mt._messageCenter.on(In,function(Nn){if(Fr[mt.group]&&mt[ar]!==Mt){if(Nn&&Nn.escapeConnect)return;var Kn=mt.makeActionFromEvent(Nn),$n=[];N(ur,function(Ii){Ii!==mt&&Ii.group===mt.group&&$n.push(Ii)}),Gr($n,Mt),N($n,function(Ii){Ii[ar]!==hr&&Ii.dispatchAction(Kn)}),Gr($n,or)}})})}function Je(mt,Mt,hr){var or=yn(mt);if(or)return or;var ar=new re(mt,Mt,hr);return ar.id="ec_"+er++,ur[ar.id]=ar,f.setAttribute(mt,Lt,ar.id),at(ar),ar}function qt(mt){if(A.isArray(mt)){var Mt=mt;mt=null,N(Mt,function(hr){hr.group!=null&&(mt=hr.group)}),mt=mt||"g_"+nr++,N(Mt,function(hr){hr.group=mt})}return Fr[mt]=!0,mt}function Sr(mt){Fr[mt]=!1}var yr=Sr;function fr(mt){typeof mt=="string"?mt=ur[mt]:mt instanceof re||(mt=yn(mt)),mt instanceof re&&!mt.isDisposed()&&mt.dispose()}function yn(mt){return ur[f.getAttribute(mt,Lt)]}function Jr(mt){return ur[mt]}function Ln(mt,Mt){ut[mt]=Mt}function Nt(mt){me.push(mt)}function Ve(mt,Mt){kt(et,mt,Mt,j)}function _e(mt){Gt.push(mt)}function ke(mt,Mt,hr){typeof Mt=="function"&&(hr=Mt,Mt="");var or=D(mt)?mt.type:[mt,mt={event:Mt}][0];mt.event=(mt.event||or).toLowerCase(),Mt=mt.event,O(se.test(or)&&se.test(Mt)),ae[or]||(ae[or]={action:hr,actionInfo:mt}),yt[Mt]=or}function Pe(mt,Mt){i.register(mt,Mt)}function rt(mt){var Mt=i.get(mt);if(Mt)return Mt.getDimensionsInfo?Mt.getDimensionsInfo():Mt.dimensions.slice()}function Pt(mt,Mt){kt(rr,mt,Mt,Y,"layout")}function Yt(mt,Mt){kt(rr,mt,Mt,Z,"visual")}function kt(mt,Mt,hr,or,ar){(R(Mt)||D(Mt))&&(hr=Mt,Mt=or);var Gr=w.wrapStageHandler(hr,ar);return Gr.__prio=Mt,Gr.__raw=hr,mt.push(Gr),Gr}function _r(mt,Mt){Xt[mt]=Mt}function Rr(mt){return e.extend(mt)}function un(mt){return l.extend(mt)}function Ut(mt){return a.extend(mt)}function ht(mt){return u.extend(mt)}function ot(mt){A.$override("createCanvas",mt)}function Wt(mt,Mt,hr){L.registerMap(mt,Mt,hr)}function Jt(mt){var Mt=L.retrieveMap(mt);return Mt&&Mt[0]&&{geoJson:Mt[0].geoJSON,specialAreas:Mt[0].specialAreas}}Yt(ie,y),Nt(t),Ve(V,s),_r("default",T),ke({type:"highlight",event:"highlight",update:"highlight"},A.noop),ke({type:"downplay",event:"downplay",update:"downplay"},A.noop),Ln("light",S),Ln("dark",I);var At={};k.version=M,k.dependencies=U,k.PRIORITY=De,k.init=Je,k.connect=qt,k.disConnect=Sr,k.disconnect=yr,k.dispose=fr,k.getInstanceByDom=yn,k.getInstanceById=Jr,k.registerTheme=Ln,k.registerPreprocessor=Nt,k.registerProcessor=Ve,k.registerPostUpdate=_e,k.registerAction=ke,k.registerCoordinateSystem=Pe,k.getCoordinateSystemDimensions=rt,k.registerLayout=Pt,k.registerVisual=Yt,k.registerLoading=_r,k.extendComponentModel=Rr,k.extendComponentView=un,k.extendSeriesModel=Ut,k.extendChartView=ht,k.setCanvasCreator=ot,k.registerMap=Wt,k.getMap=Jt,k.dataTool=At;var Bt=d("txkQ");(function(){for(var mt in Bt)Bt.hasOwnProperty(mt)&&(k[mt]=Bt[mt])})()},Pw59:function(H,k,d){"use strict";var _=d("q1tI"),x=d.n(_),C=Object(_.createContext)({});k.a=C},Q7if:function(H,k,d){var _=d("JEkh"),x=_.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"}}}});H.exports=x},Q9mQ:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("UADf"),A=d.n(C)},"QB+1":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("Ywus"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},QBsz:function(H,k){var d=typeof Float32Array=="undefined"?Array:Float32Array;function _(w,S){var I=new d(2);return w==null&&(w=0),S==null&&(S=0),I[0]=w,I[1]=S,I}function x(w,S){return w[0]=S[0],w[1]=S[1],w}function C(w){var S=new d(2);return S[0]=w[0],S[1]=w[1],S}function A(w,S,I){return w[0]=S,w[1]=I,w}function b(w,S,I){return w[0]=S[0]+I[0],w[1]=S[1]+I[1],w}function m(w,S,I,L){return w[0]=S[0]+I[0]*L,w[1]=S[1]+I[1]*L,w}function p(w,S,I){return w[0]=S[0]-I[0],w[1]=S[1]-I[1],w}function c(w){return Math.sqrt(r(w))}var o=c;function r(w){return w[0]*w[0]+w[1]*w[1]}var i=r;function n(w,S,I){return w[0]=S[0]*I[0],w[1]=S[1]*I[1],w}function t(w,S,I){return w[0]=S[0]/I[0],w[1]=S[1]/I[1],w}function s(w,S){return w[0]*S[0]+w[1]*S[1]}function e(w,S,I){return w[0]=S[0]*I,w[1]=S[1]*I,w}function a(w,S){var I=c(S);return I===0?(w[0]=0,w[1]=0):(w[0]=S[0]/I,w[1]=S[1]/I),w}function l(w,S){return Math.sqrt((w[0]-S[0])*(w[0]-S[0])+(w[1]-S[1])*(w[1]-S[1]))}var u=l;function h(w,S){return(w[0]-S[0])*(w[0]-S[0])+(w[1]-S[1])*(w[1]-S[1])}var f=h;function g(w,S){return w[0]=-S[0],w[1]=-S[1],w}function v(w,S,I,L){return w[0]=S[0]+L*(I[0]-S[0]),w[1]=S[1]+L*(I[1]-S[1]),w}function y(w,S,I){var L=S[0],O=S[1];return w[0]=I[0]*L+I[2]*O+I[4],w[1]=I[1]*L+I[3]*O+I[5],w}function E(w,S,I){return w[0]=Math.min(S[0],I[0]),w[1]=Math.min(S[1],I[1]),w}function T(w,S,I){return w[0]=Math.max(S[0],I[0]),w[1]=Math.max(S[1],I[1]),w}k.create=_,k.copy=x,k.clone=C,k.set=A,k.add=b,k.scaleAndAdd=m,k.sub=p,k.len=c,k.length=o,k.lenSquare=r,k.lengthSquare=i,k.mul=n,k.div=t,k.dot=s,k.scale=e,k.normalize=a,k.distance=l,k.dist=u,k.distanceSquare=h,k.distSquare=f,k.negate=g,k.lerp=v,k.applyTransform=y,k.min=E,k.max=T},"QO+J":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.createSensor=void 0;var _=C(d("NohK")),x=d("24YM");function C(b){return b&&b.__esModule?b:{default:b}}var A=function(m){var p=void 0,c=[],o=function(){getComputedStyle(m).position==="static"&&(m.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",r),r()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",x.SensorClassName),e.setAttribute("tabindex",x.SensorTabIndex),e.type="text/html",m.appendChild(e),e.data="about:blank",e},r=(0,_.default)(function(){c.forEach(function(s){s(m)})}),i=function(e){p||(p=o()),c.indexOf(e)===-1&&c.push(e)},n=function(){p&&p.parentNode&&(p.contentDocument&&p.contentDocument.defaultView.removeEventListener("resize",r),p.parentNode.removeChild(p),p=void 0,c=[])},t=function(e){var a=c.indexOf(e);a!==-1&&c.splice(a,1),c.length===0&&p&&n()};return{element:m,bind:i,destroy:n,unbind:t}};k.createSensor=A},"QQZ/":function(H,k,d){var _=d("Sq3C"),x=d("Z1HP"),C=d("Sxd8"),A=d("dt0z");function b(m,p,c){m=A(m),p=C(p);var o=p?x(m):0;return p&&o<p?_(p-o,c)+m:m}H.exports=b},QUw5:function(H,k,d){var _=d("OlYY"),x=_.extend({type:"dataZoom.select"});H.exports=x},QV2g:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=_;function _(){for(var A,b=[],m=0;m<256;m++){A=m;for(var p=0;p<8;p++)A=A&1?3988292384^A>>>1:A>>>1;b[m]=A}return b}var x=_();function C(A,b,m,p){var c=x,o=p+m;A^=-1;for(var r=p;r<o;r++)A=A>>>8^c[(A^b[r])&255];return A^-1}},QbM5:function(H,k,d){},Qe9p:function(H,k,d){var _=d("1RvN"),x={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 C(S){return S=Math.round(S),S<0?0:S>255?255:S}function A(S){return S=Math.round(S),S<0?0:S>360?360:S}function b(S){return S<0?0:S>1?1:S}function m(S){return S.length&&S.charAt(S.length-1)==="%"?C(parseFloat(S)/100*255):C(parseInt(S,10))}function p(S){return S.length&&S.charAt(S.length-1)==="%"?b(parseFloat(S)/100):b(parseFloat(S))}function c(S,I,L){return L<0?L+=1:L>1&&(L-=1),L*6<1?S+(I-S)*L*6:L*2<1?I:L*3<2?S+(I-S)*(2/3-L)*6:S}function o(S,I,L){return S+(I-S)*L}function r(S,I,L,O,N){return S[0]=I,S[1]=L,S[2]=O,S[3]=N,S}function i(S,I){return S[0]=I[0],S[1]=I[1],S[2]=I[2],S[3]=I[3],S}var n=new _(20),t=null;function s(S,I){t&&i(t,I),t=n.put(S,t||I.slice())}function e(S,I){if(!S)return;I=I||[];var L=n.get(S);if(L)return i(I,L);S=S+"";var O=S.replace(/ /g,"").toLowerCase();if(O in x)return i(I,x[O]),s(S,I),I;if(O.charAt(0)==="#"){if(O.length===4){var N=parseInt(O.substr(1),16);if(!(N>=0&&N<=4095)){r(I,0,0,0,1);return}return r(I,(N&3840)>>4|(N&3840)>>8,N&240|(N&240)>>4,N&15|(N&15)<<4,1),s(S,I),I}else if(O.length===7){var N=parseInt(O.substr(1),16);if(!(N>=0&&N<=16777215)){r(I,0,0,0,1);return}return r(I,(N&16711680)>>16,(N&65280)>>8,N&255,1),s(S,I),I}return}var R=O.indexOf("("),D=O.indexOf(")");if(R!==-1&&D+1===O.length){var B=O.substr(0,R),M=O.substr(R+1,D-(R+1)).split(","),U=1;switch(B){case"rgba":if(M.length!==4){r(I,0,0,0,1);return}U=p(M.pop());case"rgb":if(M.length!==3){r(I,0,0,0,1);return}return r(I,m(M[0]),m(M[1]),m(M[2]),U),s(S,I),I;case"hsla":if(M.length!==4){r(I,0,0,0,1);return}return M[3]=p(M[3]),a(M,I),s(S,I),I;case"hsl":if(M.length!==3){r(I,0,0,0,1);return}return a(M,I),s(S,I),I;default:return}}r(I,0,0,0,1);return}function a(S,I){var L=(parseFloat(S[0])%360+360)%360/360,O=p(S[1]),N=p(S[2]),R=N<=.5?N*(O+1):N+O-N*O,D=N*2-R;return I=I||[],r(I,C(c(D,R,L+1/3)*255),C(c(D,R,L)*255),C(c(D,R,L-1/3)*255),1),S.length===4&&(I[3]=S[3]),I}function l(S){if(!S)return;var I=S[0]/255,L=S[1]/255,O=S[2]/255,N=Math.min(I,L,O),R=Math.max(I,L,O),D=R-N,B=(R+N)/2,M,U;if(D===0)M=0,U=0;else{B<.5?U=D/(R+N):U=D/(2-R-N);var F=((R-I)/6+D/2)/D,j=((R-L)/6+D/2)/D,W=((R-O)/6+D/2)/D;I===R?M=W-j:L===R?M=1/3+F-W:O===R&&(M=2/3+j-F),M<0&&(M+=1),M>1&&(M-=1)}var V=[M*360,U,B];return S[3]!=null&&V.push(S[3]),V}function u(S,I){var L=e(S);if(L){for(var O=0;O<3;O++)I<0?L[O]=L[O]*(1-I)|0:L[O]=(255-L[O])*I+L[O]|0,L[O]>255?L[O]=255:S[O]<0&&(L[O]=0);return w(L,L.length===4?"rgba":"rgb")}}function h(S){var I=e(S);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function f(S,I,L){if(!(I&&I.length)||!(S>=0&&S<=1))return;L=L||[];var O=S*(I.length-1),N=Math.floor(O),R=Math.ceil(O),D=I[N],B=I[R],M=O-N;return L[0]=C(o(D[0],B[0],M)),L[1]=C(o(D[1],B[1],M)),L[2]=C(o(D[2],B[2],M)),L[3]=b(o(D[3],B[3],M)),L}var g=f;function v(S,I,L){if(!(I&&I.length)||!(S>=0&&S<=1))return;var O=S*(I.length-1),N=Math.floor(O),R=Math.ceil(O),D=e(I[N]),B=e(I[R]),M=O-N,U=w([C(o(D[0],B[0],M)),C(o(D[1],B[1],M)),C(o(D[2],B[2],M)),b(o(D[3],B[3],M))],"rgba");return L?{color:U,leftIndex:N,rightIndex:R,value:O}:U}var y=v;function E(S,I,L,O){if(S=e(S),S)return S=l(S),I!=null&&(S[0]=A(I)),L!=null&&(S[1]=p(L)),O!=null&&(S[2]=p(O)),w(a(S),"rgba")}function T(S,I){if(S=e(S),S&&I!=null)return S[3]=b(I),w(S,"rgba")}function w(S,I){if(!S||!S.length)return;var L=S[0]+","+S[1]+","+S[2];return(I==="rgba"||I==="hsva"||I==="hsla")&&(L+=","+S[3]),I+"("+L+")"}k.parse=e,k.lift=u,k.toHex=h,k.fastLerp=f,k.fastMapToColor=g,k.lerp=v,k.mapToColor=y,k.modifyHSL=E,k.modifyAlpha=T,k.stringify=w},Qi1f:function(H,k,d){"use strict";d.d(k,"g",function(){return l}),d.d(k,"c",function(){return u}),d.d(k,"a",function(){return f}),d.d(k,"b",function(){return g}),d.d(k,"d",function(){return v}),d.d(k,"e",function(){return y}),d.d(k,"f",function(){return T});var _=d("VTBJ"),x=d("U8pU"),C=d("u3cA"),A=d("q1tI"),b=d.n(A),m=d("Kwbf"),p=d("MNnm"),c="rc-util-key";function o(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=w.mark;return S?S.startsWith("data-")?S:"data-".concat(S):c}function r(w){if(w.attachTo)return w.attachTo;var S=document.querySelector("head");return S||document.body}function i(w){var S,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(p.a)())return null;var L=document.createElement("style");if((S=I.csp)===null||S===void 0?void 0:S.nonce){var O;L.nonce=(O=I.csp)===null||O===void 0?void 0:O.nonce}L.innerHTML=w;var N=r(I),R=N.firstChild;return I.prepend&&N.prepend?N.prepend(L):I.prepend&&R?N.insertBefore(L,R):N.appendChild(L),L}var n=new Map;function t(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=r(S);return Array.from(n.get(I).children).find(function(L){return L.tagName==="STYLE"&&L.getAttribute(o(S))===w})}function s(w){var S,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=t(w,I);L==null||((S=L.parentNode)===null||S===void 0)||S.removeChild(L)}function e(w,S){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},L=r(I);if(!n.has(L)){var O=i("",I),N=O.parentNode;n.set(L,N),N.removeChild(O)}var R=t(S,I);if(R){var D,B;if(((D=I.csp)===null||D===void 0?void 0:D.nonce)&&R.nonce!==((B=I.csp)===null||B===void 0?void 0:B.nonce)){var M;R.nonce=(M=I.csp)===null||M===void 0?void 0:M.nonce}return R.innerHTML!==w&&(R.innerHTML=w),R}var U=i(w,I);return U.setAttribute(o(I),S),U}var a=d("Pw59");function l(w,S){Object(m.a)(w,"[@ant-design/icons] ".concat(S))}function u(w){return Object(x.a)(w)==="object"&&typeof w.name=="string"&&typeof w.theme=="string"&&(Object(x.a)(w.icon)==="object"||typeof w.icon=="function")}function h(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(S,I){var L=w[I];switch(I){case"class":S.className=L,delete S.class;break;default:S[I]=L}return S},{})}function f(w,S,I){return I?b.a.createElement(w.tag,Object(_.a)(Object(_.a)({key:S},h(w.attrs)),I),(w.children||[]).map(function(L,O){return f(L,"".concat(S,"-").concat(w.tag,"-").concat(O))})):b.a.createElement(w.tag,Object(_.a)({key:S},h(w.attrs)),(w.children||[]).map(function(L,O){return f(L,"".concat(S,"-").concat(w.tag,"-").concat(O))}))}function g(w){return Object(C.generate)(w)[0]}function v(w){return w?Array.isArray(w)?w:[w]:[]}var y={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},E=`
.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);
}
}
`,T=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,I=Object(A.useContext)(a.a),L=I.csp;Object(A.useEffect)(function(){e(S,"@ant-design-icons",{prepend:!0,csp:L})},[])}},Qs3X:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("X+im"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},Qs9O:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},QuXc:function(H,k){var d=function(C){this.colorStops=C||[]};d.prototype={constructor:d,addColorStop:function(C,A){this.colorStops.push({offset:C,color:A})}};var _=d;H.exports=_},Qvb6:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("ItGF"),A=d("B9fm"),b=d("gvm7"),m=d("7aKB"),p=d("OELB"),c=d("IwbS"),o=d("Ez2D"),r=d("+TT/"),i=d("Qxkt"),n=d("F9bG"),t=d("aX7z"),s=d("/y7N"),e=d("4NO4"),a=e.getTooltipRenderMode,l=x.bind,u=x.each,h=p.parsePercent,f=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),g=_.extendComponentView({type:"tooltip",init:function(I,L){if(C.node)return;var O=I.getComponent("tooltip"),N=O.get("renderMode");this._renderMode=a(N);var R;this._renderMode==="html"?(R=new A(L.getDom(),L,{appendToBody:O.get("appendToBody",!0)}),this._newLine="<br/>"):(R=new b(L),this._newLine=`
`),this._tooltipContent=R},render:function(I,L,O){if(C.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=L,this._api=O,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var N=this._tooltipContent;N.update(),N.setEnterable(I.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var I=this._tooltipModel,L=I.get("triggerOn");n.register("itemTooltip",this._api,l(function(O,N,R){L!=="none"&&(L.indexOf(O)>=0?this._tryShow(N,R):O==="leave"&&this._hide(R))},this))},_keepShow:function(){var I=this._tooltipModel,L=this._ecModel,O=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var N=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!O.isDisposed()&&N.manuallyShowTip(I,L,O,{x:N._lastX,y:N._lastY})})}},manuallyShowTip:function(I,L,O,N){if(N.from===this.uid||C.node)return;var R=y(N,O);this._ticket="";var D=N.dataByCoordSys;if(N.tooltip&&N.x!=null&&N.y!=null){var B=f;B.position=[N.x,N.y],B.update(),B.tooltip=N.tooltip,this._tryShow({offsetX:N.x,offsetY:N.y,target:B},R)}else if(D)this._tryShow({offsetX:N.x,offsetY:N.y,position:N.position,dataByCoordSys:N.dataByCoordSys,tooltipOption:N.tooltipOption},R);else if(N.seriesIndex!=null){if(this._manuallyAxisShowTip(I,L,O,N))return;var M=o(N,L),U=M.point[0],F=M.point[1];U!=null&&F!=null&&this._tryShow({offsetX:U,offsetY:F,position:N.position,target:M.el},R)}else N.x!=null&&N.y!=null&&(O.dispatchAction({type:"updateAxisPointer",x:N.x,y:N.y}),this._tryShow({offsetX:N.x,offsetY:N.y,position:N.position,target:O.getZr().findHover(N.x,N.y).target},R))},manuallyHideTip:function(I,L,O,N){var R=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&R.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,N.from!==this.uid&&this._hide(y(N,O))},_manuallyAxisShowTip:function(I,L,O,N){var R=N.seriesIndex,D=N.dataIndex,B=L.getComponent("axisPointer").coordSysAxesInfo;if(R==null||D==null||B==null)return;var M=L.getSeriesByIndex(R);if(!M)return;var U=M.getData(),I=v([U.getItemModel(D),M,(M.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(O.dispatchAction({type:"updateAxisPointer",seriesIndex:R,dataIndex:D,position:N.position}),!0)},_tryShow:function(I,L){var O=I.target,N=this._tooltipModel;if(!N)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var R=I.dataByCoordSys;R&&R.length?this._showAxisTooltip(R,I):O&&O.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,O,L)):O&&O.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,O,L)):(this._lastDataByCoordSys=null,this._hide(L))},_showOrMove:function(I,L){var O=I.get("showDelay");L=x.bind(L,this),clearTimeout(this._showTimout),O>0?this._showTimout=setTimeout(L,O):L()},_showAxisTooltip:function(I,L){var O=this._ecModel,N=this._tooltipModel,R=[L.offsetX,L.offsetY],D=[],B=[],M=v([L.tooltipOption,N]),U=this._renderMode,F=this._newLine,j={};u(I,function(V){u(V.dataByAxis,function(z){var Y=O.getComponent(z.axisDim+"Axis",z.axisIndex),J=z.value,ie=[];if(!Y||J==null)return;var Z=s.getValueLabel(J,Y.axis,O,z.seriesDataIndices,z.valueLabelOpt);x.each(z.seriesDataIndices,function(ge){var pe=O.getSeriesByIndex(ge.seriesIndex),De=ge.dataIndexInside,ce=pe&&pe.getDataParams(De);if(ce.axisDim=z.axisDim,ce.axisIndex=z.axisIndex,ce.axisType=z.axisType,ce.axisId=z.axisId,ce.axisValue=t.getAxisRawValue(Y.axis,J),ce.axisValueLabel=Z,ce){B.push(ce);var Oe=pe.formatTooltip(De,!0,null,U),se;if(x.isObject(Oe)){se=Oe.html;var $=Oe.markers;x.merge(j,$)}else se=Oe;ie.push(se)}});var oe=Z;U!=="html"?D.push(ie.join(F)):D.push((oe?m.encodeHTML(oe)+F:"")+ie.join(F))})},this),D.reverse(),D=D.join(this._newLine+this._newLine);var W=L.position;this._showOrMove(M,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(M,W,R[0],R[1],this._tooltipContent,B):this._showTooltipContent(M,D,B,Math.random(),R[0],R[1],W,void 0,j)})},_showSeriesItemTooltip:function(I,L,O){var N=this._ecModel,R=L.seriesIndex,D=N.getSeriesByIndex(R),B=L.dataModel||D,M=L.dataIndex,U=L.dataType,F=B.getData(U),j=v([F.getItemModel(M),B,D&&(D.coordinateSystem||{}).model,this._tooltipModel]),W=j.get("trigger");if(W!=null&&W!=="item")return;var V=B.getDataParams(M,U),z=B.formatTooltip(M,!1,U,this._renderMode),Y,J;x.isObject(z)?(Y=z.html,J=z.markers):(Y=z,J=null);var ie="item_"+B.name+"_"+M;this._showOrMove(j,function(){this._showTooltipContent(j,Y,V,ie,I.offsetX,I.offsetY,I.position,I.target,J)}),O({type:"showTip",dataIndexInside:M,dataIndex:F.getRawIndex(M),seriesIndex:R,from:this.uid})},_showComponentItemTooltip:function(I,L,O){var N=L.tooltip;if(typeof N=="string"){var R=N;N={content:R,formatter:R}}var D=new i(N,this._tooltipModel,this._ecModel),B=D.get("content"),M=Math.random();this._showOrMove(D,function(){this._showTooltipContent(D,B,D.get("formatterParams")||{},M,I.offsetX,I.offsetY,I.position,L)}),O({type:"showTip",from:this.uid})},_showTooltipContent:function(I,L,O,N,R,D,B,M,U){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var F=this._tooltipContent,j=I.get("formatter");B=B||I.get("position");var W=L;if(j&&typeof j=="string")W=m.formatTpl(j,O,!0);else if(typeof j=="function"){var V=l(function(z,Y){z===this._ticket&&(F.setContent(Y,U,I),this._updatePosition(I,B,R,D,F,O,M))},this);this._ticket=N,W=j(O,N,V)}F.setContent(W,U,I),F.show(I),this._updatePosition(I,B,R,D,F,O,M)},_updatePosition:function(I,L,O,N,R,D,B){var M=this._api.getWidth(),U=this._api.getHeight();L=L||I.get("position");var F=R.getSize(),j=I.get("align"),W=I.get("verticalAlign"),V=B&&B.getBoundingRect().clone();if(B&&V.applyTransform(B.transform),typeof L=="function"&&(L=L([O,N],D,R.el,V,{viewSize:[M,U],contentSize:F.slice()})),x.isArray(L))O=h(L[0],M),N=h(L[1],U);else if(x.isObject(L)){L.width=F[0],L.height=F[1];var z=r.getLayoutRect(L,{width:M,height:U});O=z.x,N=z.y,j=null,W=null}else if(typeof L=="string"&&B){var Y=w(L,V,F);O=Y[0],N=Y[1]}else{var Y=E(O,N,R,M,U,j?null:20,W?null:20);O=Y[0],N=Y[1]}if(j&&(O-=S(j)?F[0]/2:j==="right"?F[0]:0),W&&(N-=S(W)?F[1]/2:W==="bottom"?F[1]:0),I.get("confine")){var Y=T(O,N,R,M,U);O=Y[0],N=Y[1]}R.moveTo(O,N)},_updateContentNotChangedOnAxis:function(I){var L=this._lastDataByCoordSys,O=!!L&&L.length===I.length;return O&&u(L,function(N,R){var D=N.dataByAxis||{},B=I[R]||{},M=B.dataByAxis||[];O&=D.length===M.length,O&&u(D,function(U,F){var j=M[F]||{},W=U.seriesDataIndices||[],V=j.seriesDataIndices||[];O&=U.value===j.value&&U.axisType===j.axisType&&U.axisId===j.axisId&&W.length===V.length,O&&u(W,function(z,Y){var J=V[Y];O&=z.seriesIndex===J.seriesIndex&&z.dataIndex===J.dataIndex})})}),this._lastDataByCoordSys=I,!!O},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,L){if(C.node)return;this._tooltipContent.dispose(),n.unregister("itemTooltip",L)}});function v(I){for(var L=I.pop();I.length;){var O=I.pop();O&&(i.isInstance(O)&&(O=O.get("tooltip",!0)),typeof O=="string"&&(O={formatter:O}),L=new i(O,L,L.ecModel))}return L}function y(I,L){return I.dispatchAction||x.bind(L.dispatchAction,L)}function E(I,L,O,N,R,D,B){var M=O.getOuterSize(),U=M.width,F=M.height;return D!=null&&(I+U+D>N?I-=U+D:I+=D),B!=null&&(L+F+B>R?L-=F+B:L+=B),[I,L]}function T(I,L,O,N,R){var D=O.getOuterSize(),B=D.width,M=D.height;return I=Math.min(I+B,N)-B,L=Math.min(L+M,R)-M,I=Math.max(I,0),L=Math.max(L,0),[I,L]}function w(I,L,O){var N=O[0],R=O[1],D=5,B=0,M=0,U=L.width,F=L.height;switch(I){case"inside":B=L.x+U/2-N/2,M=L.y+F/2-R/2;break;case"top":B=L.x+U/2-N/2,M=L.y-R-D;break;case"bottom":B=L.x+U/2-N/2,M=L.y+F+D;break;case"left":B=L.x-N-D,M=L.y+F/2-R/2;break;case"right":B=L.x+U+D,M=L.y+F/2-R/2}return[B,M]}function S(I){return I==="center"||I==="middle"}H.exports=g},Qxkt:function(H,k,d){var _=d("bYtY"),x=d("ItGF"),C=d("4NO4"),A=C.makeInner,b=d("Yl7c"),m=b.enableClassExtend,p=b.enableClassCheck,c=d("OQFs"),o=d("m9t5"),r=d("/iHx"),i=d("VR9l"),n=_.mixin,t=A();function s(u,h,f){this.parentModel=h,this.ecModel=f,this.option=u}s.prototype={constructor:s,init:null,mergeOption:function(u){_.merge(this.option,u,!0)},get:function(u,h){return u==null?this.option:e(this.option,this.parsePath(u),!h&&a(this,u))},getShallow:function(u,h){var f=this.option,g=f==null?f:f[u],v=!h&&a(this,u);return g==null&&v&&(g=v.getShallow(u)),g},getModel:function(u,h){var f=u==null?this.option:e(this.option,u=this.parsePath(u)),g;return h=h||(g=a(this,u))&&g.getModel(u),new s(f,h,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var u=this.constructor;return new u(_.clone(this.option))},setReadOnly:function(u){},parsePath:function(u){return typeof u=="string"&&(u=u.split(".")),u},customizeGetParent:function(u){t(this).getParent=u},isAnimationEnabled:function(){if(!x.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function e(u,h,f){for(var g=0;g<h.length;g++){if(!h[g])continue;if(u=u&&typeof u=="object"?u[h[g]]:null,u==null)break}return u==null&&f&&(u=f.get(h)),u}function a(u,h){var f=t(u).getParent;return f?f.call(u,h):u.parentModel}m(s),p(s),n(s,c),n(s,o),n(s,r),n(s,i);var l=s;H.exports=l},QyFq:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},QzjZ:function(H,k,d){var _=d("S/Yl"),x=d("IDmD");function C(A,b){var m=[];return A.eachComponent("singleAxis",function(p,c){var o=new _(p,A,b);o.name="single_"+c,o.resize(p,b),p.coordinateSystem=o,m.push(o)}),A.eachSeries(function(p){if(p.get("coordinateSystem")==="singleAxis"){var c=A.queryComponents({mainType:"singleAxis",index:p.get("singleAxisIndex"),id:p.get("singleAxisId")})[0];p.coordinateSystem=c&&c.coordinateSystem}}),m}x.register("single",{create:C,dimensions:_.prototype.dimensions})},R4Th:function(H,k,d){var _=d("ProS"),x=d("9wZj"),C=d("yO87"),A=d("Fofx"),b=d("h8O9"),m=_.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new x(C)},render:function(p,c,o){var r=p.getData(),i=this._symbolDraw;i.updateData(r),this.group.add(i.group)},updateTransform:function(p,c,o){var r=p.getData();this.group.dirty();var i=b().reset(p);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(p){var c=p.coordinateSystem;c&&c.getRoamTransform&&(this.group.transform=A.clone(c.getRoamTransform()),this.group.decomposeTransform())},remove:function(p,c){this._symbolDraw&&this._symbolDraw.remove(c)},dispose:function(){}});H.exports=m},R9oj:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("pwpV"),A=d.n(C)},RBEP:function(H,k,d){for(var _=d("ProS"),x=d("VaxA"),C=function(){},A=["treemapZoomToNode","treemapRender","treemapMove"],b=0;b<A.length;b++)_.registerAction({type:A[b],update:"updateView"},C);_.registerAction({type:"treemapRootToNode",update:"updateView"},function(m,p){p.eachComponent({mainType:"series",subType:"treemap",query:m},c);function c(o,r){var i=["treemapZoomToNode","treemapRootToNode"],n=x.retrieveTargetInfo(m,i,o);if(n){var t=o.getViewRoot();t&&(m.direction=x.aboveViewRoot(t,n.node)?"rollUp":"drillDown"),o.resetViewRoot(n.node)}}})},RCxd:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="ExclamationCircleOutlined";var p=k.a=x.forwardRef(m)},RDYZ:function(H,k,d){var _=d("dMvE");function x(A){this._target=A.target,this._life=A.life||1e3,this._delay=A.delay||0,this._initialized=!1,this.loop=A.loop==null?!1:A.loop,this.gap=A.gap||0,this.easing=A.easing||"Linear",this.onframe=A.onframe,this.ondestroy=A.ondestroy,this.onrestart=A.onrestart,this._pausedTime=0,this._paused=!1}x.prototype={constructor:x,step:function(b,m){if(this._initialized||(this._startTime=b+this._delay,this._initialized=!0),this._paused){this._pausedTime+=m;return}var p=(b-this._startTime-this._pausedTime)/this._life;if(p<0)return;p=Math.min(p,1);var c=this.easing,o=typeof c=="string"?_[c]:c,r=typeof o=="function"?o(p):p;return this.fire("frame",r),p===1?this.loop?(this.restart(b),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(b){var m=(b-this._startTime-this._pausedTime)%this._life;this._startTime=b-m+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(b,m){b="on"+b,this[b]&&this[b](this._target,m)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var C=x;H.exports=C},RELg:function(H,k,d){var _=d("MFOe"),x=_.Global;H.exports={name:"oldIE-userDataStorage",write:p,read:c,each:o,remove:r,clearAll:i};var C="storejs",A=x.document,b=s(),m=(x.navigator?x.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function p(e,a){if(m)return;var l=t(e);b(function(u){u.setAttribute(l,a),u.save(C)})}function c(e){if(m)return;var a=t(e),l=null;return b(function(u){l=u.getAttribute(a)}),l}function o(e){b(function(a){for(var l=a.XMLDocument.documentElement.attributes,u=l.length-1;u>=0;u--){var h=l[u];e(a.getAttribute(h.name),h.name)}})}function r(e){var a=t(e);b(function(l){l.removeAttribute(a),l.save(C)})}function i(){b(function(e){var a=e.XMLDocument.documentElement.attributes;e.load(C);for(var l=a.length-1;l>=0;l--)e.removeAttribute(a[l].name);e.save(C)})}var n=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function t(e){return e.replace(/^\d/,"___$&").replace(n,"___")}function s(){if(!A||!A.documentElement||!A.documentElement.addBehavior)return null;var e="script",a,l,u;try{l=new ActiveXObject("htmlfile"),l.open(),l.write("<"+e+">document.w=window</"+e+'><iframe src="/favicon.ico"></iframe>'),l.close(),a=l.w.frames[0].document,u=a.createElement("div")}catch(h){u=A.createElement("div"),a=A.body}return function(h){var f=[].slice.call(arguments,0);f.unshift(u),a.appendChild(u),u.addBehavior("#default#userData"),u.load(C),h.apply(this,f),a.removeChild(u);return}}},RPvy:function(H,k,d){var _=d("ProS"),x=d("VaxA"),C="sunburstRootToNode";_.registerAction({type:C,update:"updateView"},function(m,p){p.eachComponent({mainType:"series",subType:"sunburst",query:m},c);function c(o,r){var i=x.retrieveTargetInfo(m,[C],o);if(i){var n=o.getViewRoot();n&&(m.direction=x.aboveViewRoot(n,i.node)?"rollUp":"drillDown"),o.resetViewRoot(i.node)}}});var A="sunburstHighlight";_.registerAction({type:A,update:"updateView"},function(m,p){p.eachComponent({mainType:"series",subType:"sunburst",query:m},c);function c(o,r){var i=x.retrieveTargetInfo(m,[A],o);i&&(m.highlight=i.node)}});var b="sunburstUnhighlight";_.registerAction({type:b,update:"updateView"},function(m,p){p.eachComponent({mainType:"series",subType:"sunburst",query:m},c);function c(o,r){m.unhighlight=!0}})},RSch:function(H,k,d){var _=d("IwbS"),x=d("bYtY");function C(m,p,c){_.Group.call(this),this._createPolyline(m,p,c)}var A=C.prototype;A._createPolyline=function(m,p,c){var o=m.getItemLayout(p),r=new _.Polyline({shape:{points:o}});this.add(r),this._updateCommonStl(m,p,c)},A.updateData=function(m,p,c){var o=m.hostModel,r=this.childAt(0),i={shape:{points:m.getItemLayout(p)}};_.updateProps(r,i,o,p),this._updateCommonStl(m,p,c)},A._updateCommonStl=function(m,p,c){var o=this.childAt(0),r=m.getItemModel(p),i=m.getItemVisual(p,"color"),n=c&&c.lineStyle,t=c&&c.hoverLineStyle;(!c||m.hasItemOption)&&(n=r.getModel("lineStyle").getLineStyle(),t=r.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(x.defaults({strokeNoScale:!0,fill:"none",stroke:i},n)),o.hoverStyle=t,_.setHoverStyle(this)},A.updateLayout=function(m,p){var c=this.childAt(0);c.setShape("points",m.getItemLayout(p))},x.inherits(C,_.Group);var b=C;H.exports=b},RXMa:function(H,k,d){var _=d("y+Vt"),x=_.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(A,b){var m=b.cx,p=b.cy,c=Math.PI*2;A.moveTo(m+b.r,p),A.arc(m,p,b.r,0,c,!1),A.moveTo(m+b.r0,p),A.arc(m,p,b.r0,0,c,!0)}});H.exports=x},RZPm:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("JgUQ")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="FileOutlined";var c=A.forwardRef(p);k.default=c},RlCK:function(H,k,d){var _=d("ProS"),x=d("bYtY");function C(A,b,m){var p={},c=A==="toggleSelected",o;return m.eachComponent("legend",function(r){c&&o!=null?r[o?"select":"unSelect"](b.name):A==="allSelect"||A==="inverseSelect"?r[A]():(r[A](b.name),o=r.isSelected(b.name));var i=r.getData();x.each(i,function(n){var t=n.get("name");if(t===`
`||t==="")return;var s=r.isSelected(t);p.hasOwnProperty(t)?p[t]=p[t]&&s:p[t]=s})}),A==="allSelect"||A==="inverseSelect"?{selected:p}:{name:b.name,selected:p}}_.registerAction("legendToggleSelect","legendselectchanged",x.curry(C,"toggleSelected")),_.registerAction("legendAllSelect","legendselectall",x.curry(C,"allSelect")),_.registerAction("legendInverseSelect","legendinverseselect",x.curry(C,"inverseSelect")),_.registerAction("legendSelect","legendselected",x.curry(C,"select")),_.registerAction("legendUnSelect","legendunselected",x.curry(C,"unSelect"))},RotF:function(H,k,d){H.exports=d("LSTS")},Rx6q:function(H,k){function d(_){var x=_.getRect(),C=_.getRangeInfo();return{coordSys:{type:"calendar",x:x.x,y:x.y,width:x.width,height:x.height,cellWidth:_.getCellWidth(),cellHeight:_.getCellHeight(),rangeInfo:{start:C.start,end:C.end,weeks:C.weeks,dayCount:C.allDay}},api:{coord:function(A,b){return _.dataToPoint(A,b)}}}}H.exports=d},"S/Yl":function(H,k,d){var _=d("Zvw2"),x=d("aX7z"),C=d("+TT/"),A=C.getLayoutRect,b=d("bYtY"),m=b.each;function p(o,r,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(o,r,i),this.model=o}p.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:p,_init:function(o,r,i){var n=this.dimension,t=new _(n,x.createScaleByModel(o),[0,0],o.get("type"),o.get("position")),s=t.type==="category";t.onBand=s&&o.get("boundaryGap"),t.inverse=o.get("inverse"),t.orient=o.get("orient"),o.axis=t,t.model=o,t.coordinateSystem=this,this._axis=t},update:function(o,r){o.eachSeries(function(i){if(i.coordinateSystem===this){var n=i.getData();m(n.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(n,t)},this),x.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(o,r){this._rect=A({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:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var o=this._rect,r=this._axis,i=r.isHorizontal(),n=i?[0,o.width]:[0,o.height],t=r.reverse?1:0;r.setExtent(n[t],n[1-t]),this._updateAxisTransform(r,i?o.x:o.y)},_updateAxisTransform:function(o,r){var i=o.getExtent(),n=i[0]+i[1],t=o.isHorizontal();o.toGlobalCoord=t?function(s){return s+r}:function(s){return n-s+r},o.toLocalCoord=t?function(s){return s-r}:function(s){return n-s+r}},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 r=this.getRect(),i=this.getAxis(),n=i.orient;return n==="horizontal"?i.contain(i.toLocalCoord(o[0]))&&o[1]>=r.y&&o[1]<=r.y+r.height:i.contain(i.toLocalCoord(o[1]))&&o[0]>=r.y&&o[0]<=r.y+r.height},pointToData:function(o){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(o[r.orient==="horizontal"?0:1]))]},dataToPoint:function(o){var r=this.getAxis(),i=this.getRect(),n=[],t=r.orient==="horizontal"?0:1;return o instanceof Array&&(o=o[0]),n[t]=r.toGlobalCoord(r.dataToCoord(+o)),n[1-t]=t===0?i.y+i.height/2:i.x+i.width/2,n}};var c=p;H.exports=c},S6kV:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.mode.OFB=function(){var x=_.lib.BlockCipherMode.extend(),C=x.Encryptor=x.extend({processBlock:function(b,m){var p=this._cipher,c=p.blockSize,o=this._iv,r=this._keystream;o&&(r=this._keystream=o.slice(0),this._iv=void 0),p.encryptBlock(r,0);for(var i=0;i<c;i++)b[m+i]^=r[i]}});return x.Decryptor=C,x}(),_.mode.OFB})},"SA+Z":function(H,k,d){var _=d("wTVA"),x=d("EbDI"),C=d("ZhPi"),A=d("wkBT");function b(m){return _(m)||x(m)||C(m)||A()}H.exports=b,H.exports.__esModule=!0,H.exports.default=H.exports},"SA4+":function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("IwbS"),b=d("zYTA"),m=d("bYtY");function p(i,n,t){var s=i[1]-i[0];n=m.map(n,function(l){return{interval:[(l.interval[0]-i[0])/s,(l.interval[1]-i[0])/s]}});var e=n.length,a=0;return function(l){for(var u=a;u<e;u++){var h=n[u].interval;if(h[0]<=l&&l<=h[1]){a=u;break}}if(u===e)for(var u=a-1;u>=0;u--){var h=n[u].interval;if(h[0]<=l&&l<=h[1]){a=u;break}}return u>=0&&u<e&&t[u]}}function c(i,n){var t=i[1]-i[0];return n=[(n[0]-i[0])/t,(n[1]-i[0])/t],function(s){return s>=n[0]&&s<=n[1]}}function o(i){var n=i.dimensions;return n[0]==="lng"&&n[1]==="lat"}var r=C.extendChartView({type:"heatmap",render:function(i,n,t){var s;n.eachComponent("visualMap",function(a){a.eachTargetSeries(function(l){l===i&&(s=a)})}),this.group.removeAll(),this._incrementalDisplayable=null;var e=i.coordinateSystem;e.type==="cartesian2d"||e.type==="calendar"?this._renderOnCartesianAndCalendar(i,t,0,i.getData().count()):o(e)&&this._renderOnGeo(e,i,s,t)},incrementalPrepareRender:function(i,n,t){this.group.removeAll()},incrementalRender:function(i,n,t,s){var e=n.coordinateSystem;e&&this._renderOnCartesianAndCalendar(n,s,i.start,i.end,!0)},_renderOnCartesianAndCalendar:function(i,n,t,s,e){var a=i.coordinateSystem,l,u;if(a.type==="cartesian2d"){var h=a.getAxis("x"),f=a.getAxis("y");l=h.getBandWidth(),u=f.getBandWidth()}for(var g=this.group,v=i.getData(),y="itemStyle",E="emphasis.itemStyle",T="label",w="emphasis.label",S=i.getModel(y).getItemStyle(["color"]),I=i.getModel(E).getItemStyle(),L=i.getModel(T),O=i.getModel(w),N=a.type,R=N==="cartesian2d"?[v.mapDimension("x"),v.mapDimension("y"),v.mapDimension("value")]:[v.mapDimension("time"),v.mapDimension("value")],D=t;D<s;D++){var B;if(N==="cartesian2d"){if(isNaN(v.get(R[2],D)))continue;var M=a.dataToPoint([v.get(R[0],D),v.get(R[1],D)]);B=new A.Rect({shape:{x:Math.floor(Math.round(M[0])-l/2),y:Math.floor(Math.round(M[1])-u/2),width:Math.ceil(l),height:Math.ceil(u)},style:{fill:v.getItemVisual(D,"color"),opacity:v.getItemVisual(D,"opacity")}})}else{if(isNaN(v.get(R[1],D)))continue;B=new A.Rect({z2:1,shape:a.dataToRect([v.get(R[0],D)]).contentShape,style:{fill:v.getItemVisual(D,"color"),opacity:v.getItemVisual(D,"opacity")}})}var U=v.getItemModel(D);v.hasItemOption&&(S=U.getModel(y).getItemStyle(["color"]),I=U.getModel(E).getItemStyle(),L=U.getModel(T),O=U.getModel(w));var F=i.getRawValue(D),j="-";F&&F[2]!=null&&(j=F[2]),A.setLabelStyle(S,I,L,O,{labelFetcher:i,labelDataIndex:D,defaultText:j,isRectText:!0}),B.setStyle(S),A.setHoverStyle(B,v.hasItemOption?I:m.extend({},I)),B.incremental=e,e&&(B.useHoverLayer=!0),g.add(B),v.setItemGraphicEl(D,B)}},_renderOnGeo:function(i,n,t,s){var e=t.targetVisuals.inRange,a=t.targetVisuals.outOfRange,l=n.getData(),u=this._hmLayer||this._hmLayer||new b;u.blurSize=n.get("blurSize"),u.pointSize=n.get("pointSize"),u.minOpacity=n.get("minOpacity"),u.maxOpacity=n.get("maxOpacity");var h=i.getViewRect().clone(),f=i.getRoamTransform();h.applyTransform(f);var g=Math.max(h.x,0),v=Math.max(h.y,0),y=Math.min(h.width+h.x,s.getWidth()),E=Math.min(h.height+h.y,s.getHeight()),T=y-g,w=E-v,S=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],I=l.mapArray(S,function(R,D,B){var M=i.dataToPoint([R,D]);return M[0]-=g,M[1]-=v,M.push(B),M}),L=t.getExtent(),O=t.type==="visualMap.continuous"?c(L,t.option.range):p(L,t.getPieceList(),t.option.selected);u.update(I,T,w,e.color.getNormalizer(),{inRange:e.color.getColorMapper(),outOfRange:a.color.getColorMapper()},O);var N=new A.Image({style:{width:T,height:w,x:g,y:v,image:u.canvas},silent:!0});this.group.add(N)},dispose:function(){}});H.exports=r},SA8n:function(H,k,d){var _=d("Sj9i"),x=d("QBsz"),C=d("U/Mo"),A=C.getSymbolSize,b=[],m=[],p=[],c=_.quadraticAt,o=x.distSquare,r=Math.abs;function i(t,s,e){for(var a=t[0],l=t[1],u=t[2],h=Infinity,f,g=e*e,v=.1,y=.1;y<=.9;y+=.1){b[0]=c(a[0],l[0],u[0],y),b[1]=c(a[1],l[1],u[1],y);var E=r(o(b,s)-g);E<h&&(h=E,f=y)}for(var T=0;T<32;T++){var w=f+v;m[0]=c(a[0],l[0],u[0],f),m[1]=c(a[1],l[1],u[1],f),p[0]=c(a[0],l[0],u[0],w),p[1]=c(a[1],l[1],u[1],w);var E=o(m,s)-g;if(r(E)<.01)break;var S=o(p,s)-g;v/=2,E<0?S>=0?f=f+v:f=f-v:S>=0?f=f-v:f=f+v}return f}function n(t,s){var e=[],a=_.quadraticSubdivide,l=[[],[],[]],u=[[],[]],h=[];s/=2,t.eachEdge(function(f,g){var v=f.getLayout(),y=f.getVisual("fromSymbol"),E=f.getVisual("toSymbol");v.__original||(v.__original=[x.clone(v[0]),x.clone(v[1])],v[2]&&v.__original.push(x.clone(v[2])));var T=v.__original;if(v[2]!=null){if(x.copy(l[0],T[0]),x.copy(l[1],T[2]),x.copy(l[2],T[1]),y&&y!=="none"){var w=A(f.node1),S=i(l,T[0],w*s);a(l[0][0],l[1][0],l[2][0],S,e),l[0][0]=e[3],l[1][0]=e[4],a(l[0][1],l[1][1],l[2][1],S,e),l[0][1]=e[3],l[1][1]=e[4]}if(E&&E!=="none"){var w=A(f.node2),S=i(l,T[1],w*s);a(l[0][0],l[1][0],l[2][0],S,e),l[1][0]=e[1],l[2][0]=e[2],a(l[0][1],l[1][1],l[2][1],S,e),l[1][1]=e[1],l[2][1]=e[2]}x.copy(v[0],l[0]),x.copy(v[1],l[2]),x.copy(v[2],l[1])}else{if(x.copy(u[0],T[0]),x.copy(u[1],T[1]),x.sub(h,u[1],u[0]),x.normalize(h,h),y&&y!=="none"){var w=A(f.node1);x.scaleAndAdd(u[0],u[0],h,w*s)}if(E&&E!=="none"){var w=A(f.node2);x.scaleAndAdd(u[1],u[1],h,-w*s)}x.copy(v[0],u[0]),x.copy(v[1],u[1])}})}H.exports=n},SJMd:function(H,k){/**
* @license
* Copyright (C) 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var d,_,x,C=!1,A,b;window.PR_SHOULD_USE_CONTINUATION=!0;var m,p;(function(){var c=window,o=["break,continue,do,else,for,if,return,while"],r=[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"],i=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],n=[i,"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"],t=[i,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[i,"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"],e="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",a=[i,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="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",u=[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"],h=[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"],f=[o,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],g=[n,s,t,a,l,u,h,f],v=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,y="str",E="kwd",T="com",w="typ",S="lit",I="pun",L="pln",O="tag",N="dec",R="src",D="atn",B="atv",M="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function F(re){for(var X=0,G=!1,Q=!1,ve=0,de=re.length;ve<de;++ve){var Ce=re[ve];if(Ce.ignoreCase)Q=!0;else if(/[a-z]/i.test(Ce.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){G=!0,Q=!1;break}}var we={b:8,t:9,n:10,v:11,f:12,r:13};function le($e){var Le=$e.charCodeAt(0);if(Le!==92)return Le;var pt=$e.charAt(1);return Le=we[pt],Le||("0"<=pt&&pt<="7"?parseInt($e.substring(1),8):pt==="u"||pt==="x"?parseInt($e.substring(2),16):$e.charCodeAt(1))}function fe($e){if($e<32)return($e<16?"\\x0":"\\x")+$e.toString(16);var Le=String.fromCharCode($e);return Le==="\\"||Le==="-"||Le==="]"||Le==="^"?"\\"+Le:Le}function xe($e){var Le=$e.substring(1,$e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),pt=[],Qe=Le[0]==="^",gt=["["];Qe&&gt.push("^");for(var wt=Qe?1:0,Et=Le.length;wt<Et;++wt){var _t=Le[wt];if(/\\[bdsw]/i.test(_t))gt.push(_t);else{var Ht=le(_t),Ze;wt+2<Et&&Le[wt+1]==="-"?(Ze=le(Le[wt+2]),wt+=2):Ze=Ht,pt.push([Ht,Ze]),Ze<65||Ht>122||(Ze<65||Ht>90||pt.push([Math.max(65,Ht)|32,Math.min(Ze,90)|32]),Ze<97||Ht>122||pt.push([Math.max(97,Ht)&~32,Math.min(Ze,122)&~32]))}}pt.sort(function(et,me){return et[0]-me[0]||me[1]-et[1]});for(var ye=[],ae=[],wt=0;wt<pt.length;++wt){var yt=pt[wt];yt[0]<=ae[1]+1?ae[1]=Math.max(ae[1],yt[1]):ye.push(ae=yt)}for(var wt=0;wt<ye.length;++wt){var yt=ye[wt];gt.push(fe(yt[0])),yt[1]>yt[0]&&(yt[1]+1>yt[0]&&gt.push("-"),gt.push(fe(yt[1])))}return gt.push("]"),gt.join("")}function We($e){for(var Le=$e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),pt=Le.length,Qe=[],gt=0,wt=0;gt<pt;++gt){var Et=Le[gt];if(Et==="(")++wt;else if(Et.charAt(0)==="\\"){var _t=+Et.substring(1);_t&&(_t<=wt?Qe[_t]=-1:Le[gt]=fe(_t))}}for(var gt=1;gt<Qe.length;++gt)Qe[gt]===-1&&(Qe[gt]=++X);for(var gt=0,wt=0;gt<pt;++gt){var Et=Le[gt];if(Et==="(")++wt,Qe[wt]||(Le[gt]="(?:");else if(Et.charAt(0)==="\\"){var _t=+Et.substring(1);_t&&_t<=wt&&(Le[gt]="\\"+Qe[_t])}}for(var gt=0;gt<pt;++gt)Le[gt]==="^"&&Le[gt+1]!=="^"&&(Le[gt]="");if($e.ignoreCase&&G)for(var gt=0;gt<pt;++gt){var Et=Le[gt],Ht=Et.charAt(0);Et.length>=2&&Ht==="["?Le[gt]=xe(Et):Ht!=="\\"&&(Le[gt]=Et.replace(/[a-zA-Z]/g,function(ae){var yt=ae.charCodeAt(0);return"["+String.fromCharCode(yt&~32,yt|32)+"]"}))}return Le.join("")}for(var nt=[],ve=0,de=re.length;ve<de;++ve){var Ce=re[ve];if(Ce.global||Ce.multiline)throw new Error(""+Ce);nt.push("(?:"+We(Ce)+")")}return new RegExp(nt.join("|"),Q?"gi":"g")}function j(re,X){var G=/(?:^|\s)nocode(?:\s|$)/,Q=[],ve=0,de=[],Ce=0;function we(le){var fe=le.nodeType;if(fe==1){if(G.test(le.className))return;for(var xe=le.firstChild;xe;xe=xe.nextSibling)we(xe);var We=le.nodeName.toLowerCase();(We==="br"||We==="li")&&(Q[Ce]=`
`,de[Ce<<1]=ve++,de[Ce++<<1|1]=le)}else if(fe==3||fe==4){var nt=le.nodeValue;nt.length&&(X?nt=nt.replace(/\r\n?/g,`
`):nt=nt.replace(/[ \t\r\n]+/g," "),Q[Ce]=nt,de[Ce<<1]=ve,ve+=nt.length,de[Ce++<<1|1]=le)}}return we(re),{sourceCode:Q.join("").replace(/\n$/,""),spans:de}}function W(re,X,G,Q,ve){if(!G)return;var de={sourceNode:re,pre:1,langExtension:null,numberLines:null,sourceCode:G,spans:null,basePos:X,decorations:null};Q(de),ve.push.apply(ve,de.decorations)}var V=/\S/;function z(re){for(var X=void 0,G=re.firstChild;G;G=G.nextSibling){var Q=G.nodeType;X=Q===1?X?re:G:Q===3&&V.test(G.nodeValue)?re:X}return X===re?void 0:X}function Y(re,X){var G={},Q;(function(){for(var Ce=re.concat(X),we=[],le={},fe=0,xe=Ce.length;fe<xe;++fe){var We=Ce[fe],nt=We[3];if(nt)for(var $e=nt.length;--$e>=0;)G[nt.charAt($e)]=We;var Le=We[1],pt=""+Le;le.hasOwnProperty(pt)||(we.push(Le),le[pt]=null)}we.push(/[\0-\uffff]/),Q=F(we)})();var ve=X.length,de=function Ce(we){for(var le=we.sourceCode,fe=we.basePos,xe=we.sourceNode,We=[fe,L],nt=0,$e=le.match(Q)||[],Le={},pt=0,Qe=$e.length;pt<Qe;++pt){var gt=$e[pt],wt=Le[gt],Et=void 0,_t;if(typeof wt=="string")_t=!1;else{var Ht=G[gt.charAt(0)];if(Ht)Et=gt.match(Ht[1]),wt=Ht[0];else{for(var Ze=0;Ze<ve;++Ze)if(Ht=X[Ze],Et=gt.match(Ht[1]),Et){wt=Ht[0];break}Et||(wt=L)}_t=wt.length>=5&&wt.substring(0,5)==="lang-",_t&&!(Et&&typeof Et[1]=="string")&&(_t=!1,wt=R),_t||(Le[gt]=wt)}var ye=nt;if(nt+=gt.length,!_t)We.push(fe+ye,wt);else{var ae=Et[1],yt=gt.indexOf(ae),et=yt+ae.length;Et[2]&&(et=gt.length-Et[2].length,yt=et-ae.length);var me=wt.substring(5);W(xe,fe+ye,gt.substring(0,yt),Ce,We),W(xe,fe+ye+yt,ae,De(me,ae),We),W(xe,fe+ye+et,gt.substring(et),Ce,We)}}we.decorations=We};return de}function J(re){var X=[],G=[];re.tripleQuotedStrings?X.push([y,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):re.multiLineStrings?X.push([y,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):X.push([y,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),re.verbatimStrings&&G.push([y,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Q=re.hashComments;Q&&(re.cStyleComments?(Q>1?X.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):X.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),G.push([y,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):X.push([T,/^#[^\r\n]*/,null,"#"])),re.cStyleComments&&(G.push([T,/^\/\/[^\r\n]*/,null]),G.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ve=re.regexLiterals;if(ve){var de=ve>1?"":`
\r`,Ce=de?".":"[\\S\\s]",we="/(?=[^/*"+de+"])(?:[^/\\x5B\\x5C"+de+"]|\\x5C"+Ce+"|\\x5B(?:[^\\x5C\\x5D"+de+"]|\\x5C"+Ce+")*(?:\\x5D|$))+/";G.push(["lang-regex",RegExp("^"+U+"("+we+")")])}var le=re.types;le&&G.push([w,le]);var fe=(""+re.keywords).replace(/^ | $/g,"");fe.length&&G.push([E,new RegExp("^(?:"+fe.replace(/[\s,]+/g,"|")+")\\b"),null]),X.push([L,/^\s+/,null,` \r
\xA0`]);var xe="^.[^\\s\\w.$@'\"`/\\\\]*";return re.regexLiterals&&(xe+="(?!s*/)"),G.push([S,/^@[a-z_$][a-z_$@0-9]*/i,null],[w,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[L,/^[a-z_$][a-z_$@0-9]*/i,null],[S,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[L,/^\\[\s\S]?/,null],[I,new RegExp(xe),null]),Y(X,G)}var ie=J({keywords:g,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Z(re,X,G){for(var Q=/(?:^|\s)nocode(?:\s|$)/,ve=/\r\n?|\n/,de=re.ownerDocument,Ce=de.createElement("li");re.firstChild;)Ce.appendChild(re.firstChild);var we=[Ce];function le(Le){var pt=Le.nodeType;if(pt==1&&!Q.test(Le.className))if(Le.nodeName==="br")fe(Le),Le.parentNode&&Le.parentNode.removeChild(Le);else for(var Qe=Le.firstChild;Qe;Qe=Qe.nextSibling)le(Qe);else if((pt==3||pt==4)&&G){var gt=Le.nodeValue,wt=gt.match(ve);if(wt){var Et=gt.substring(0,wt.index);Le.nodeValue=Et;var _t=gt.substring(wt.index+wt[0].length);if(_t){var Ht=Le.parentNode;Ht.insertBefore(de.createTextNode(_t),Le.nextSibling)}fe(Le),Et||Le.parentNode.removeChild(Le)}}}function fe(Le){for(;!Le.nextSibling;)if(Le=Le.parentNode,!Le)return;function pt(wt,Et){var _t=Et?wt.cloneNode(!1):wt,Ht=wt.parentNode;if(Ht){var Ze=pt(Ht,1),ye=wt.nextSibling;Ze.appendChild(_t);for(var ae=ye;ae;ae=ye)ye=ae.nextSibling,Ze.appendChild(ae)}return _t}for(var Qe=pt(Le.nextSibling,0),gt;(gt=Qe.parentNode)&&gt.nodeType===1;)Qe=gt;we.push(Qe)}for(var xe=0;xe<we.length;++xe)le(we[xe]);X===(X|0)&&we[0].setAttribute("value",X);var We=de.createElement("ol");We.className="linenums";for(var nt=Math.max(0,X-1|0)||0,xe=0,$e=we.length;xe<$e;++xe)Ce=we[xe],Ce.className="L"+(xe+nt)%10,Ce.firstChild||Ce.appendChild(de.createTextNode("\xA0")),We.appendChild(Ce);re.appendChild(We)}function oe(re){var X=/\bMSIE\s(\d+)/.exec(navigator.userAgent);X=X&&+X[1]<=8;var G=/\n/g,Q=re.sourceCode,ve=Q.length,de=0,Ce=re.spans,we=Ce.length,le=0,fe=re.decorations,xe=fe.length,We=0;fe[xe]=ve;var nt,$e;for($e=nt=0;$e<xe;)fe[$e]!==fe[$e+2]?(fe[nt++]=fe[$e++],fe[nt++]=fe[$e++]):$e+=2;for(xe=nt,$e=nt=0;$e<xe;){for(var Le=fe[$e],pt=fe[$e+1],Qe=$e+2;Qe+2<=xe&&fe[Qe+1]===pt;)Qe+=2;fe[nt++]=Le,fe[nt++]=pt,$e=Qe}xe=fe.length=nt;var gt=re.sourceNode,wt="";gt&&(wt=gt.style.display,gt.style.display="none");try{for(var Et=null;le<we;){var _t=Ce[le],Ht=Ce[le+2]||ve,Ze=fe[We+2]||ve,Qe=Math.min(Ht,Ze),ye=Ce[le+1],ae;if(ye.nodeType!==1&&(ae=Q.substring(de,Qe))){X&&(ae=ae.replace(G,"\r")),ye.nodeValue=ae;var yt=ye.ownerDocument,et=yt.createElement("span");et.className=fe[We+1];var me=ye.parentNode;me.replaceChild(et,ye),et.appendChild(ye),de<Ht&&(Ce[le+1]=ye=yt.createTextNode(Q.substring(Qe,Ht)),me.insertBefore(ye,et.nextSibling))}de=Qe,de>=Ht&&(le+=2),de>=Ze&&(We+=2)}}finally{gt&&(gt.style.display=wt)}}var ge={};function pe(re,X){for(var G=X.length;--G>=0;){var Q=X[G];ge.hasOwnProperty(Q)?c.console&&console.warn("cannot override language handler %s",Q):ge[Q]=re}}function De(re,X){return re&&ge.hasOwnProperty(re)||(re=/^\s*</.test(X)?"default-markup":"default-code"),ge[re]}pe(ie,["default-code"]),pe(Y([],[[L,/^[^<?]+/],[N,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[I,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),pe(Y([[L,/^[\s]+/,null,` \r
`],[B,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[O,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[D,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[I,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),pe(Y([],[[B,/^[\s\S]+/]]),["uq.val"]),pe(J({keywords:n,hashComments:!0,cStyleComments:!0,types:v}),["c","cc","cpp","cxx","cyc","m"]),pe(J({keywords:"null,true,false"}),["json"]),pe(J({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:v}),["cs"]),pe(J({keywords:t,cStyleComments:!0}),["java"]),pe(J({keywords:f,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),pe(J({keywords:u,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),pe(J({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),pe(J({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),pe(J({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),pe(J({keywords:e,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),pe(Y([],[[y,/^[\s\S]+/]]),["regex"]);function ce(re){var X=re.langExtension;try{var G=j(re.sourceNode,re.pre),Q=G.sourceCode;re.sourceCode=Q,re.spans=G.spans,re.basePos=0,De(X,Q)(re),oe(re)}catch(ve){c.console&&console.log(ve&&ve.stack||ve)}}function Oe(re,X,G){var Q=G||!1,ve=X||null,de=document.createElement("div");de.innerHTML="<pre>"+re+"</pre>",de=de.firstChild,Q&&Z(de,Q,!0);var Ce={langExtension:ve,numberLines:Q,sourceNode:de,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return ce(Ce),de.innerHTML}function se(re,X){var G=X||document.body,Q=G.ownerDocument||document;function ve(_t){return G.getElementsByTagName(_t)}for(var de=[ve("pre"),ve("code"),ve("xmp")],Ce=[],we=0;we<de.length;++we)for(var le=0,fe=de[we].length;le<fe;++le)Ce.push(de[we][le]);de=null;var xe=Date;xe.now||(xe={now:function(){return+new Date}});var We=0,nt=/\blang(?:uage)?-([\w.]+)(?!\S)/,$e=/\bprettyprint\b/,Le=/\bprettyprinted\b/,pt=/pre|xmp/i,Qe=/^code$/i,gt=/^(?:pre|code|xmp)$/i,wt={};function Et(){for(var _t=c.PR_SHOULD_USE_CONTINUATION?xe.now()+250:Infinity;We<Ce.length&&xe.now()<_t;We++){for(var Ht=Ce[We],Ze=wt,ye=Ht;ye=ye.previousSibling;){var ae=ye.nodeType,yt=(ae===7||ae===8)&&ye.nodeValue;if(yt?!/^\??prettify\b/.test(yt):ae!==3||/\S/.test(ye.nodeValue))break;if(yt){Ze={},yt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Je,qt,Sr){Ze[qt]=Sr});break}}var et=Ht.className;if((Ze!==wt||$e.test(et))&&!Le.test(et)){for(var me=!1,Gt=Ht.parentNode;Gt;Gt=Gt.parentNode){var rr=Gt.tagName;if(gt.test(rr)&&Gt.className&&$e.test(Gt.className)){me=!0;break}}if(!me){Ht.className+=" prettyprinted";var ut=Ze.lang;if(!ut){ut=et.match(nt);var Xt;!ut&&(Xt=z(Ht))&&Qe.test(Xt.tagName)&&(ut=Xt.className.match(nt)),ut&&(ut=ut[1])}var ur;if(pt.test(Ht.tagName))ur=1;else{var Fr=Ht.currentStyle,er=Q.defaultView,nr=Fr?Fr.whiteSpace:er&&er.getComputedStyle?er.getComputedStyle(Ht,null).getPropertyValue("white-space"):0;ur=nr&&nr.substring(0,3)==="pre"}var Lt=Ze.linenums;(Lt=Lt==="true"||+Lt)||(Lt=et.match(/\blinenums\b(?::(\d+))?/),Lt=Lt?Lt[1]&&Lt[1].length?+Lt[1]:!0:!1),Lt&&Z(Ht,Lt,ur);var at={langExtension:ut,sourceNode:Ht,numberLines:Lt,pre:ur,sourceCode:null,basePos:null,spans:null,decorations:null};ce(at)}}}We<Ce.length?c.setTimeout(Et,250):typeof re=="function"&&re()}Et()}var $=c.PR={createSimpleLexer:Y,registerLangHandler:pe,sourceDecorator:J,PR_ATTRIB_NAME:D,PR_ATTRIB_VALUE:B,PR_COMMENT:T,PR_DECLARATION:N,PR_KEYWORD:E,PR_LITERAL:S,PR_NOCODE:M,PR_PLAIN:L,PR_PUNCTUATION:I,PR_SOURCE:R,PR_STRING:y,PR_TAG:O,PR_TYPE:w,prettyPrintOne:C?c.prettyPrintOne=Oe:m=Oe,prettyPrint:p=C?c.prettyPrint=se:p=se},ze=c.define;typeof ze=="function"&&ze.amd&&ze("google-code-prettify",[],function(){return $})})()},SKnc:function(H,k,d){var _=d("bYtY"),x=d("QuXc"),C=function(m,p,c,o,r,i){this.x=m==null?0:m,this.y=p==null?0:p,this.x2=c==null?1:c,this.y2=o==null?0:o,this.type="linear",this.global=i||!1,x.call(this,r)};C.prototype={constructor:C},_.inherits(C,x);var A=C;H.exports=A},"SKx+":function(H,k,d){var _=d("ProS"),x=_.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}}}),C=x;H.exports=C},SMc4:function(H,k,d){var _=d("bYtY"),x=d("bLfw"),C=d("nkfE"),A=d("ICMv"),b=x.extend({type:"cartesian2dAxis",axis:null,init:function(){b.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){b.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){b.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function m(o,r){return r.type||(r.data?"category":"value")}_.merge(b.prototype,A);var p={offset:0};C("x",b,m,p),C("y",b,m,p);var c=b;H.exports=c},SRve:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},SUKs:function(H,k,d){var _=d("LPTA"),x=_.debugMode,C=function(){};x===1&&(C=console.error);var A=C;H.exports=A},SZEN:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.clientToElement=_;function _(x,C,A){var b=A.getBoundingClientRect(),m={x:0,y:0};return x<b.left?m.x=0:x>=b.right?m.x=b.width-1:m.x=x-b.left,C<b.top?m.y=0:C>=b.bottom?m.y=b.height-1:m.y=C-b.top,m}},Sdc0:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("q1tI"),m=d("rePB"),p=d("ODXe"),c=d("Ff2n"),o=d("TSYQ"),r=d.n(o),i=d("6cGi"),n=d("4IlW"),t=b.forwardRef(function(E,T){var w,S=E.prefixCls,I=S===void 0?"rc-switch":S,L=E.className,O=E.checked,N=E.defaultChecked,R=E.disabled,D=E.loadingIcon,B=E.checkedChildren,M=E.unCheckedChildren,U=E.onClick,F=E.onChange,j=E.onKeyDown,W=Object(c.a)(E,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),V=Object(i.a)(!1,{value:O,defaultValue:N}),z=Object(p.a)(V,2),Y=z[0],J=z[1];function ie(pe,De){var ce=Y;return R||(ce=pe,J(ce),F==null||F(ce,De)),ce}function Z(pe){pe.which===n.a.LEFT?ie(!1,pe):pe.which===n.a.RIGHT&&ie(!0,pe),j==null||j(pe)}function oe(pe){var De=ie(!Y,pe);U==null||U(De,pe)}var ge=r()(I,L,(w={},Object(m.a)(w,"".concat(I,"-checked"),Y),Object(m.a)(w,"".concat(I,"-disabled"),R),w));return b.createElement("button",Object.assign({},W,{type:"button",role:"switch","aria-checked":Y,disabled:R,className:ge,ref:T,onKeyDown:Z,onClick:oe}),D,b.createElement("span",{className:"".concat(I,"-inner")},Y?B:M))});t.displayName="Switch";var s=t,e=d("gZBC"),a=d.n(e),l=d("g0mS"),u=d("H84U"),h=d("3Nzz"),f=d("uaoM"),g=function(E,T){var w={};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&T.indexOf(S)<0&&(w[S]=E[S]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,S=Object.getOwnPropertySymbols(E);I<S.length;I++)T.indexOf(S[I])<0&&Object.prototype.propertyIsEnumerable.call(E,S[I])&&(w[S[I]]=E[S[I]]);return w},v=b.forwardRef(function(E,T){var w,S=E.prefixCls,I=E.size,L=E.loading,O=E.className,N=O===void 0?"":O,R=E.disabled,D=g(E,["prefixCls","size","loading","className","disabled"]);Object(f.a)("checked"in D||!("value"in D),"Switch","`value` is not a valid prop, do you mean `checked`?");var B=b.useContext(u.b),M=B.getPrefixCls,U=B.direction,F=b.useContext(h.b),j=M("switch",S),W=b.createElement("div",{className:"".concat(j,"-handle")},L&&b.createElement(a.a,{className:"".concat(j,"-loading-icon")})),V=r()(N,(w={},A()(w,"".concat(j,"-small"),(I||F)==="small"),A()(w,"".concat(j,"-loading"),L),A()(w,"".concat(j,"-rtl"),U==="rtl"),w));return b.createElement(l.a,{insertExtraNode:!0},b.createElement(s,x()({},D,{prefixCls:j,className:V,disabled:R||L,ref:T,loadingIcon:W})))});v.__ANT_SWITCH=!0,v.displayName="Switch";var y=k.a=v},SehX:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("2B6p"),A=C.updateCenterAndZoom;_.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(b,m){var p=b.componentType||"series";m.eachComponent({mainType:p,query:b},function(c){var o=c.coordinateSystem;if(o.type!=="geo")return;var r=A(o,b,c.get("scaleLimit"));c.setCenter&&c.setCenter(r.center),c.setZoom&&c.setZoom(r.zoom),p==="series"&&x.each(c.seriesGroup,function(i){i.setCenter(r.center),i.setZoom(r.zoom)})})})},SgGq:function(H,k,d){var _=d("bYtY"),x=d("H6uX"),C=d("YH21"),A=d("pP6R");function b(e){this.pointerChecker,this._zr=e,this._opt={};var a=_.bind,l=a(m,this),u=a(p,this),h=a(c,this),f=a(o,this),g=a(r,this);x.call(this),this.setPointerChecker=function(v){this.pointerChecker=v},this.enable=function(v,y){this.disable(),this._opt=_.defaults(_.clone(y)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),v==null&&(v=!0),(v===!0||v==="move"||v==="pan")&&(e.on("mousedown",l),e.on("mousemove",u),e.on("mouseup",h)),(v===!0||v==="scale"||v==="zoom")&&(e.on("mousewheel",f),e.on("pinch",g))},this.disable=function(){e.off("mousedown",l),e.off("mousemove",u),e.off("mouseup",h),e.off("mousewheel",f),e.off("pinch",g)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}_.mixin(b,x);function m(e){if(C.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)return;var a=e.offsetX,l=e.offsetY;this.pointerChecker&&this.pointerChecker(e,a,l)&&(this._x=a,this._y=l,this._dragging=!0)}function p(e){if(!this._dragging||!t("moveOnMouseMove",e,this._opt)||e.gestureEvent==="pinch"||A.isTaken(this._zr,"globalPan"))return;var a=e.offsetX,l=e.offsetY,u=this._x,h=this._y,f=a-u,g=l-h;this._x=a,this._y=l,this._opt.preventDefaultMouseMove&&C.stop(e.event),n(this,"pan","moveOnMouseMove",e,{dx:f,dy:g,oldX:u,oldY:h,newX:a,newY:l})}function c(e){C.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function o(e){var a=t("zoomOnMouseWheel",e,this._opt),l=t("moveOnMouseWheel",e,this._opt),u=e.wheelDelta,h=Math.abs(u),f=e.offsetX,g=e.offsetY;if(u===0||!a&&!l)return;if(a){var v=h>3?1.4:h>1?1.2:1.1,y=u>0?v:1/v;i(this,"zoom","zoomOnMouseWheel",e,{scale:y,originX:f,originY:g})}if(l){var E=Math.abs(u),T=(u>0?1:-1)*(E>3?.4:E>1?.15:.05);i(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:T,originX:f,originY:g})}}function r(e){if(A.isTaken(this._zr,"globalPan"))return;var a=e.pinchScale>1?1.1:1/1.1;i(this,"zoom",null,e,{scale:a,originX:e.pinchX,originY:e.pinchY})}function i(e,a,l,u,h){e.pointerChecker&&e.pointerChecker(u,h.originX,h.originY)&&(C.stop(u.event),n(e,a,l,u,h))}function n(e,a,l,u,h){h.isAvailableBehavior=_.bind(t,null,l,u),e.trigger(a,h)}function t(e,a,l){var u=l[e];return!e||u&&(!_.isString(u)||a.event[u+"Key"])}var s=b;H.exports=s},SgaC:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;function _(b,m){if(!(b instanceof m))throw new TypeError("Cannot call a class as a function")}function x(b,m){for(var p=0;p<m.length;p++){var c=m[p];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(b,c.key,c)}}function C(b,m,p){return m&&x(b.prototype,m),p&&x(b,p),b}var A=function(){function b(){_(this,b),this._subrects=0}return C(b,[{key:"decodeRect",value:function(p,c,o,r,i,n,t){if(this._subrects===0){if(i.rQwait("RRE",4+4))return!1;this._subrects=i.rQshift32();var s=i.rQshiftBytes(4);n.fillRect(p,c,o,r,s)}for(;this._subrects>0;){if(i.rQwait("RRE",4+8))return!1;var e=i.rQshiftBytes(4),a=i.rQshift16(),l=i.rQshift16(),u=i.rQshift16(),h=i.rQshift16();n.fillRect(p+a,c+l,u,h,e),this._subrects--}return!0}}]),b}();k.default=A},Sj0X:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("XuBP")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="DownOutlined";var c=A.forwardRef(p);k.default=c},Sj9i:function(H,k,d){var _=d("QBsz"),x=_.create,C=_.distSquare,A=Math.pow,b=Math.sqrt,m=1e-8,p=1e-4,c=b(3),o=1/3,r=x(),i=x(),n=x();function t(S){return S>-m&&S<m}function s(S){return S>m||S<-m}function e(S,I,L,O,N){var R=1-N;return R*R*(R*S+3*N*I)+N*N*(N*O+3*R*L)}function a(S,I,L,O,N){var R=1-N;return 3*(((I-S)*R+2*(L-I)*N)*R+(O-L)*N*N)}function l(S,I,L,O,N,R){var D=O+3*(I-L)-S,B=3*(L-I*2+S),M=3*(I-S),U=S-N,F=B*B-3*D*M,j=B*M-9*D*U,W=M*M-3*B*U,V=0;if(t(F)&&t(j))if(t(B))R[0]=0;else{var z=-M/B;z>=0&&z<=1&&(R[V++]=z)}else{var Y=j*j-4*F*W;if(t(Y)){var J=j/F,z=-B/D+J,ie=-J/2;z>=0&&z<=1&&(R[V++]=z),ie>=0&&ie<=1&&(R[V++]=ie)}else if(Y>0){var Z=b(Y),oe=F*B+1.5*D*(-j+Z),ge=F*B+1.5*D*(-j-Z);oe<0?oe=-A(-oe,o):oe=A(oe,o),ge<0?ge=-A(-ge,o):ge=A(ge,o);var z=(-B-(oe+ge))/(3*D);z>=0&&z<=1&&(R[V++]=z)}else{var pe=(2*F*B-3*D*j)/(2*b(F*F*F)),De=Math.acos(pe)/3,ce=b(F),Oe=Math.cos(De),z=(-B-2*ce*Oe)/(3*D),ie=(-B+ce*(Oe+c*Math.sin(De)))/(3*D),se=(-B+ce*(Oe-c*Math.sin(De)))/(3*D);z>=0&&z<=1&&(R[V++]=z),ie>=0&&ie<=1&&(R[V++]=ie),se>=0&&se<=1&&(R[V++]=se)}}return V}function u(S,I,L,O,N){var R=6*L-12*I+6*S,D=9*I+3*O-3*S-9*L,B=3*I-3*S,M=0;if(t(D)){if(s(R)){var U=-B/R;U>=0&&U<=1&&(N[M++]=U)}}else{var F=R*R-4*D*B;if(t(F))N[0]=-R/(2*D);else if(F>0){var j=b(F),U=(-R+j)/(2*D),W=(-R-j)/(2*D);U>=0&&U<=1&&(N[M++]=U),W>=0&&W<=1&&(N[M++]=W)}}return M}function h(S,I,L,O,N,R){var D=(I-S)*N+S,B=(L-I)*N+I,M=(O-L)*N+L,U=(B-D)*N+D,F=(M-B)*N+B,j=(F-U)*N+U;R[0]=S,R[1]=D,R[2]=U,R[3]=j,R[4]=j,R[5]=F,R[6]=M,R[7]=O}function f(S,I,L,O,N,R,D,B,M,U,F){var j,W=.005,V=Infinity,z,Y,J,ie;r[0]=M,r[1]=U;for(var Z=0;Z<1;Z+=.05)i[0]=e(S,L,N,D,Z),i[1]=e(I,O,R,B,Z),J=C(r,i),J<V&&(j=Z,V=J);V=Infinity;for(var oe=0;oe<32&&!(W<p);oe++)z=j-W,Y=j+W,i[0]=e(S,L,N,D,z),i[1]=e(I,O,R,B,z),J=C(i,r),z>=0&&J<V?(j=z,V=J):(n[0]=e(S,L,N,D,Y),n[1]=e(I,O,R,B,Y),ie=C(n,r),Y<=1&&ie<V?(j=Y,V=ie):W*=.5);return F&&(F[0]=e(S,L,N,D,j),F[1]=e(I,O,R,B,j)),b(V)}function g(S,I,L,O){var N=1-O;return N*(N*S+2*O*I)+O*O*L}function v(S,I,L,O){return 2*((1-O)*(I-S)+O*(L-I))}function y(S,I,L,O,N){var R=S-2*I+L,D=2*(I-S),B=S-O,M=0;if(t(R)){if(s(D)){var U=-B/D;U>=0&&U<=1&&(N[M++]=U)}}else{var F=D*D-4*R*B;if(t(F)){var U=-D/(2*R);U>=0&&U<=1&&(N[M++]=U)}else if(F>0){var j=b(F),U=(-D+j)/(2*R),W=(-D-j)/(2*R);U>=0&&U<=1&&(N[M++]=U),W>=0&&W<=1&&(N[M++]=W)}}return M}function E(S,I,L){var O=S+L-2*I;return O===0?.5:(S-I)/O}function T(S,I,L,O,N){var R=(I-S)*O+S,D=(L-I)*O+I,B=(D-R)*O+R;N[0]=S,N[1]=R,N[2]=B,N[3]=B,N[4]=D,N[5]=L}function w(S,I,L,O,N,R,D,B,M){var U,F=.005,j=Infinity;r[0]=D,r[1]=B;for(var W=0;W<1;W+=.05){i[0]=g(S,L,N,W),i[1]=g(I,O,R,W);var V=C(r,i);V<j&&(U=W,j=V)}j=Infinity;for(var z=0;z<32&&!(F<p);z++){var Y=U-F,J=U+F;i[0]=g(S,L,N,Y),i[1]=g(I,O,R,Y);var V=C(i,r);if(Y>=0&&V<j)U=Y,j=V;else{n[0]=g(S,L,N,J),n[1]=g(I,O,R,J);var ie=C(n,r);J<=1&&ie<j?(U=J,j=ie):F*=.5}}return M&&(M[0]=g(S,L,N,U),M[1]=g(I,O,R,U)),b(j)}k.cubicAt=e,k.cubicDerivativeAt=a,k.cubicRootAt=l,k.cubicExtrema=u,k.cubicSubdivide=h,k.cubicProjectPoint=f,k.quadraticAt=g,k.quadraticDerivativeAt=v,k.quadraticRootAt=y,k.quadraticExtremum=E,k.quadraticSubdivide=T,k.quadraticProjectPoint=w},Sp2Z:function(H,k,d){var _=d("3LNs"),x=d("/y7N"),C=d("AVZG"),A=d("Znkb"),b=_.extend({makeElOption:function(r,i,n,t,s){var e=n.axis,a=e.grid,l=t.get("type"),u=m(a,e).getOtherAxis(e).getGlobalExtent(),h=e.toGlobalCoord(e.dataToCoord(i,!0));if(l&&l!=="none"){var f=x.buildElStyle(t),g=p[l](e,h,u);g.style=f,r.graphicKey=g.type,r.pointer=g}var v=C.layout(a.model,n);x.buildCartesianSingleLabelElOption(i,r,v,n,t,s)},getHandleTransform:function(r,i,n){var t=C.layout(i.axis.grid.model,i,{labelInside:!1});return t.labelMargin=n.get("handle.margin"),{position:x.getTransformedPosition(i.axis,r,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(r,i,n,t){var s=n.axis,e=s.grid,a=s.getGlobalExtent(!0),l=m(e,s).getOtherAxis(s).getGlobalExtent(),u=s.dim==="x"?0:1,h=r.position;h[u]+=i[u],h[u]=Math.min(a[1],h[u]),h[u]=Math.max(a[0],h[u]);var f=(l[1]+l[0])/2,g=[f,f];g[u]=h[u];var v=[{verticalAlign:"middle"},{align:"center"}];return{position:h,rotation:r.rotation,cursorPoint:g,tooltipOption:v[u]}}});function m(r,i){var n={};return n[i.dim+"AxisIndex"]=i.index,r.getCartesian(n)}var p={line:function(r,i,n){var t=x.makeLineShape([i,n[0]],[i,n[1]],c(r));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(r,i,n){var t=Math.max(1,r.getBandWidth()),s=n[1]-n[0];return{type:"Rect",shape:x.makeRectShape([i-t/2,n[0]],[t,s],c(r))}}};function c(r){return r.dim==="x"?0:1}A.registerAxisPointerClass("CartesianAxisPointer",b);var o=b;H.exports=o},Sq3C:function(H,k,d){var _=d("sKgW"),x=d("zoYe"),C=d("wy8a"),A=d("quyA"),b=d("Z1HP"),m=d("Em2t"),p=Math.ceil;function c(o,r){r=r===void 0?" ":x(r);var i=r.length;if(i<2)return i?_(r,o):r;var n=_(r,p(o/b(r)));return A(r)?C(m(n),0,o).join(""):n.slice(0,o)}H.exports=c},SqI9:function(H,k,d){var _=d("y+Vt"),x=d("iXp4"),C=_.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:x(_.prototype.brush),buildPath:function(b,m){var p=m.cx,c=m.cy,o=Math.max(m.r0||0,0),r=Math.max(m.r,0),i=m.startAngle,n=m.endAngle,t=m.clockwise,s=Math.cos(i),e=Math.sin(i);b.moveTo(s*o+p,e*o+c),b.lineTo(s*r+p,e*r+c),b.arc(p,c,r,i,n,!t),b.lineTo(Math.cos(n)*o+p,Math.sin(n)*o+c),o!==0&&b.arc(p,c,o,n,i,t),b.closePath()}});H.exports=C},SrGk:function(H,k,d){var _=d("hydK"),x=_.createElement,C=d("bYtY"),A=d("y+Vt"),b=d("Dagg"),m=d("dqUG"),p=d("P47w"),c=p.path,o=p.image,r=p.text,i="0",n="1";function t(e,a,l,u,h){this._zrId=e,this._svgRoot=a,this._tagNames=typeof l=="string"?[l]:l,this._markLabel=u,this._domName=h||"_dom",this.nextId=0}t.prototype.createElement=x,t.prototype.getDefs=function(e){var a=this._svgRoot,l=this._svgRoot.getElementsByTagName("defs");return l.length===0?e?(l=a.insertBefore(this.createElement("defs"),a.firstChild),l.contains||(l.contains=function(u){var h=l.children;if(!h)return!1;for(var f=h.length-1;f>=0;--f)if(h[f]===u)return!0;return!1}),l):null:l[0]},t.prototype.update=function(e,a){if(!e)return;var l=this.getDefs(!1);if(e[this._domName]&&l.contains(e[this._domName]))typeof a=="function"&&a(e);else{var u=this.add(e);u&&(e[this._domName]=u)}},t.prototype.addDom=function(e){var a=this.getDefs(!0);a.appendChild(e)},t.prototype.removeDom=function(e){var a=this.getDefs(!1);a&&e[this._domName]&&(a.removeChild(e[this._domName]),e[this._domName]=null)},t.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var a=[];return C.each(this._tagNames,function(l){var u=e.getElementsByTagName(l);a=a.concat([].slice.call(u))}),a},t.prototype.markAllUnused=function(){var e=this.getDoms(),a=this;C.each(e,function(l){l[a._markLabel]=i})},t.prototype.markUsed=function(e){e&&(e[this._markLabel]=n)},t.prototype.removeUnused=function(){var e=this.getDefs(!1);if(!e)return;var a=this.getDoms(),l=this;C.each(a,function(u){u[l._markLabel]!==n&&e.removeChild(u)})},t.prototype.getSvgProxy=function(e){return e instanceof A?c:e instanceof b?o:e instanceof m?r:c},t.prototype.getTextSvgElement=function(e){return e.__textSvgEl},t.prototype.getSvgElement=function(e){return e.__svgEl};var s=t;H.exports=s},Swgg:function(H,k,d){var _=d("fc+c"),x=_.extend({type:"dataZoom.select"});H.exports=x},Sxd8:function(H,k,d){var _=d("ZCgT");function x(C){var A=_(C),b=A%1;return A===A?b?A-b:A:0}H.exports=x},T1rO:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("zdCA"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},T4UG:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("ItGF"),b=d("7aKB"),m=b.formatTime,p=b.encodeHTML,c=b.addCommas,o=b.getTooltipMarker,r=d("4NO4"),i=d("bLfw"),n=d("5Hur"),t=d("OKJ2"),s=d("+TT/"),e=s.getLayoutParams,a=s.mergeLayoutParam,l=d("9H2F"),u=l.createTask,h=d("D5nY"),f=h.prepareSource,g=h.getSource,v=d("KxfA"),y=v.retrieveRawValue,E=r.makeInner(),T=i.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(M,U,F,j){this.seriesIndex=this.componentIndex,this.dataTask=u({count:I,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(M,F),f(this);var W=this.getInitialData(M,F);N(W,this),this.dataTask.context.data=W,E(this).dataBeforeProcessed=W,w(this)},mergeDefaultAndTheme:function(M,U){var F=this.layoutMode,j=F?e(M):{},W=this.subType;i.hasClass(W)&&(W+="Series"),C.merge(M,U.getTheme().get(this.subType)),C.merge(M,this.getDefaultOption()),r.defaultEmphasis(M,"label",["show"]),this.fillDataTextStyle(M.data),F&&a(M,j,F)},mergeOption:function(M,U){M=C.merge(this.option,M,!0),this.fillDataTextStyle(M.data);var F=this.layoutMode;F&&a(this.option,M,F),f(this);var j=this.getInitialData(M,U);N(j,this),this.dataTask.dirty(),this.dataTask.context.data=j,E(this).dataBeforeProcessed=j,w(this)},fillDataTextStyle:function(M){if(M&&!C.isTypedArray(M))for(var U=["show"],F=0;F<M.length;F++)M[F]&&M[F].label&&r.defaultEmphasis(M[F],"label",U)},getInitialData:function(){},appendData:function(M){var U=this.getRawData();U.appendData(M.data)},getData:function(M){var U=D(this);if(U){var F=U.context.data;return M==null?F:F.getLinkedData(M)}else return E(this).data},setData:function(M){var U=D(this);if(U){var F=U.context;F.data!==M&&U.modifyOutputEnd&&U.setOutputEnd(M.count()),F.outputData=M,U!==this.dataTask&&(F.data=M)}E(this).data=M},getSource:function(){return g(this)},getRawData:function(){return E(this).dataBeforeProcessed},getBaseAxis:function(){var M=this.coordinateSystem;return M&&M.getBaseAxis&&M.getBaseAxis()},formatTooltip:function(M,U,F,j){var W=this;j=j||"html";var V=j==="html"?"<br/>":`
`,z=j==="richText",Y={},J=0;function ie(de){var Ce=C.reduce(de,function(We,nt,$e){var Le=oe.getDimensionInfo($e);return We|=Le&&Le.tooltip!==!1&&Le.displayName!=null},0),we=[];ge.length?C.each(ge,function(We){le(y(oe,M,We),We)}):C.each(de,le);function le(We,nt){var $e=oe.getDimensionInfo(nt);if(!$e||$e.otherDims.tooltip===!1)return;var Le=$e.type,pt="sub"+W.seriesIndex+"at"+J,Qe=o({color:Oe,type:"subItem",renderMode:j,markerId:pt}),gt=typeof Qe=="string"?Qe:Qe.content,wt=(Ce?gt+p($e.displayName||"-")+": ":"")+p(Le==="ordinal"?We+"":Le==="time"?U?"":m("yyyy/MM/dd hh:mm:ss",We):c(We));wt&&we.push(wt),z&&(Y[pt]=Oe,++J)}var fe=Ce?z?`
`:"<br/>":"",xe=fe+we.join(fe||", ");return{renderMode:j,content:xe,style:Y}}function Z(de){return{renderMode:j,content:p(c(de)),style:Y}}var oe=this.getData(),ge=oe.mapDimension("defaultedTooltip",!0),pe=ge.length,De=this.getRawValue(M),ce=C.isArray(De),Oe=oe.getItemVisual(M,"color");C.isObject(Oe)&&Oe.colorStops&&(Oe=(Oe.colorStops[0]||{}).color),Oe=Oe||"transparent";var se=pe>1||ce&&!pe?ie(De):Z(pe?y(oe,M,ge[0]):ce?De[0]:De),$=se.content,ze=W.seriesIndex+"at"+J,re=o({color:Oe,type:"item",renderMode:j,markerId:ze});Y[ze]=Oe,++J;var X=oe.getName(M),G=this.name;r.isNameSpecified(this)||(G=""),G=G?p(G)+(U?": ":V):"";var Q=typeof re=="string"?re:re.content,ve=U?Q+G+$:G+Q+(X?p(X)+": "+$:$);return{html:ve,markers:Y}},isAnimationEnabled:function(){if(A.node)return!1;var M=this.getShallow("animation");return M&&(this.getData().count()>this.getShallow("animationThreshold")&&(M=!1)),M},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(M,U,F){var j=this.ecModel,W=n.getColorFromPalette.call(this,M,U,F);return W||(W=j.getColorFromPalette(M,U,F)),W},coordDimToDataDim:function(M){return this.getRawData().mapDimension(M,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});C.mixin(T,t),C.mixin(T,n);function w(M){var U=M.name;r.isNameSpecified(M)||(M.name=S(M)||U)}function S(M){var U=M.getRawData(),F=U.mapDimension("seriesName",!0),j=[];return C.each(F,function(W){var V=U.getDimensionInfo(W);V.displayName&&j.push(V.displayName)}),j.join(" ")}function I(M){return M.model.getRawData().count()}function L(M){var U=M.model;return U.setData(U.getRawData().cloneShallow()),O}function O(M,U){U.outputData&&M.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function N(M,U){C.each(M.CHANGABLE_METHODS,function(F){M.wrapMethod(F,C.curry(R,U))})}function R(M){var U=D(M);U&&U.setOutputEnd(this.count())}function D(M){var U=(M.ecModel||{}).scheduler,F=U&&U.getPipeline(M.uid);if(F){var j=F.currentTask;if(j){var W=j.agentStubMap;W&&(j=W.get(M.uid))}return j}}var B=T;H.exports=B},T6xi:function(H,k,d){var _=d("YgsL"),x=d("nCxF");function C(A,b,m){var p=b.points,c=b.smooth;if(p&&p.length>=2){if(c&&c!=="spline"){var o=x(p,c,m,b.smoothConstraint);A.moveTo(p[0][0],p[0][1]);for(var r=p.length,i=0;i<(m?r:r-1);i++){var n=o[i*2],t=o[i*2+1],s=p[(i+1)%r];A.bezierCurveTo(n[0],n[1],t[0],t[1],s[0],s[1])}}else{c==="spline"&&(p=_(p,m)),A.moveTo(p[0][0],p[0][1]);for(var i=1,e=p.length;i<e;i++)A.lineTo(p[i][0],p[i][1])}m&&A.closePath()}}k.buildPath=C},TIY9:function(H,k,d){var _=d("bYtY"),x=_.each,C=d("vafp"),A=d("4NO4"),b=A.makeInner,m=d("Mgri"),p=d("F5Ls"),c=d("a9QJ"),o=d("p/La"),r=b(),i={load:function(t,s,e){var a=r(s).parsed;if(a)return a;var l=s.specialAreas||{},u=s.geoJSON,h;try{h=u?C(u,e):[]}catch(f){throw new Error(`Invalid geoJson format
`+f.message)}return m(t,h),x(h,function(f){var g=f.name;p(t,f),c(t,f),o(t,f);var v=l[g];v&&f.transformTo(v.left,v.top,v.width,v.height)}),r(s).parsed={regions:h,boundingRect:n(h)}}};function n(t){for(var s,e=0;e<t.length;e++){var a=t[e].getBoundingRect();s=s||a.clone(),s.union(a)}return s}H.exports=i},TJmX:function(H,k,d){var _=d("zM3Q"),x=["itemStyle","borderColor"],C=["itemStyle","borderColor0"],A=["itemStyle","color"],b=["itemStyle","color0"],m={seriesType:"candlestick",plan:_(),performRawSeries:!0,reset:function(p,c){var o=p.getData();if(o.setVisual({legendSymbol:"roundRect",colorP:n(1,p),colorN:n(-1,p),borderColorP:t(1,p),borderColorN:t(-1,p)}),c.isSeriesFiltered(p))return;var r=p.pipelineContext.large;return!r&&{progress:i};function i(s,e){for(var a;(a=s.next())!=null;){var l=e.getItemModel(a),u=e.getItemLayout(a).sign;e.setItemVisual(a,{color:n(u,l),borderColor:t(u,l)})}}function n(s,e){return e.get(s>0?A:b)}function t(s,e){return e.get(s>0?x:C)}}};H.exports=m},TNol:function(H,k,d){"use strict";var _=d("q1tI"),x=d.n(_),C=d("MNnm"),A=Object(C.a)()?_.useLayoutEffect:_.useEffect;k.a=A},TWL2:function(H,k,d){var _=d("IwbS"),x=d("bYtY"),C=d("6Ic6");function A(o,r){_.Group.call(this);var i=new _.Polygon,n=new _.Polyline,t=new _.Text;this.add(i),this.add(n),this.add(t),this.highDownOnUpdate=function(s,e){e==="emphasis"?(n.ignore=n.hoverIgnore,t.ignore=t.hoverIgnore):(n.ignore=n.normalIgnore,t.ignore=t.normalIgnore)},this.updateData(o,r,!0)}var b=A.prototype,m=["itemStyle","opacity"];b.updateData=function(o,r,i){var n=this.childAt(0),t=o.hostModel,s=o.getItemModel(r),e=o.getItemLayout(r),a=o.getItemModel(r).get(m);a=a==null?1:a,n.useStyle({}),i?(n.setShape({points:e.points}),n.setStyle({opacity:0}),_.initProps(n,{style:{opacity:a}},t,r)):_.updateProps(n,{style:{opacity:a},shape:{points:e.points}},t,r);var l=s.getModel("itemStyle"),u=o.getItemVisual(r,"color");n.setStyle(x.defaults({lineJoin:"round",fill:u},l.getItemStyle(["opacity"]))),n.hoverStyle=l.getModel("emphasis").getItemStyle(),this._updateLabel(o,r),_.setHoverStyle(this)},b._updateLabel=function(o,r){var i=this.childAt(1),n=this.childAt(2),t=o.hostModel,s=o.getItemModel(r),e=o.getItemLayout(r),a=e.label,l=o.getItemVisual(r,"color");_.updateProps(i,{shape:{points:a.linePoints||a.linePoints}},t,r),_.updateProps(n,{style:{x:a.x,y:a.y}},t,r),n.attr({rotation:a.rotation,origin:[a.x,a.y],z2:10});var u=s.getModel("label"),h=s.getModel("emphasis.label"),f=s.getModel("labelLine"),g=s.getModel("emphasis.labelLine"),l=o.getItemVisual(r,"color");_.setLabelStyle(n.style,n.hoverStyle={},u,h,{labelFetcher:o.hostModel,labelDataIndex:r,defaultText:o.getName(r),autoColor:l,useInsideStyle:!!a.inside},{textAlign:a.textAlign,textVerticalAlign:a.verticalAlign}),n.ignore=n.normalIgnore=!u.get("show"),n.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!f.get("show"),i.hoverIgnore=!g.get("show"),i.setStyle({stroke:l}),i.setStyle(f.getModel("lineStyle").getLineStyle()),i.hoverStyle=g.getModel("lineStyle").getLineStyle()},x.inherits(A,_.Group);var p=C.extend({type:"funnel",render:function(o,r,i){var n=o.getData(),t=this._data,s=this.group;n.diff(t).add(function(e){var a=new A(n,e);n.setItemGraphicEl(e,a),s.add(a)}).update(function(e,a){var l=t.getItemGraphicEl(a);l.updateData(n,e),s.add(l),n.setItemGraphicEl(e,l)}).remove(function(e){var a=t.getItemGraphicEl(e);s.remove(a)}).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=p;H.exports=c},TYVI:function(H,k,d){var _=d("5GtS"),x=d("T4UG"),C=x.extend({type:"series.gauge",getInitialData:function(b,m){return _(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}}}),A=C;H.exports=A},Tghj:function(H,k,d){(function(_){var x;typeof window!="undefined"?x=window.__DEV__:typeof _!="undefined"&&(x=_.__DEV__),typeof x=="undefined"&&(x=!0);var C=x;k.__DEV__=C}).call(this,d("yLpj"))},ThAp:function(H,k,d){var _=d("bYtY"),x=d("5GtS"),C=d("T4UG"),A=d("7aKB"),b=A.encodeHTML,m=A.addCommas,p=d("cCMj"),c=d("KxfA"),o=c.retrieveRawAttr,r=d("W4dC"),i=d("D5nY"),n=i.makeSeriesEncodeForNameBased,t=C.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var a=x(this,{coordDimensions:["value"],encodeDefaulter:_.curry(n,this)}),l=a.mapDimension("value"),u=_.createHashMap(),h=[],f=[],g=0,v=a.count();g<v;g++){var y=a.getName(g);u.set(y,!0),h.push({name:y,value:a.get(l,g),selected:o(a,g,"selected")})}var E=r.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return _.each(E.regions,function(T){var w=T.name;u.get(w)||(h.push({name:w}),f.push(w))}),this.updateSelectedMap(h),a.appendValues([],f),a},getHostGeoModel:function(){var e=this.option.geoIndex;return e!=null?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var a=this.getData();return a.get(a.mapDimension("value"),e)},getRegionModel:function(e){var a=this.getData();return a.getItemModel(a.indexOfName(e))},formatTooltip:function(e){for(var a=this.getData(),l=m(this.getRawValue(e)),u=a.getName(e),h=this.seriesGroup,f=[],g=0;g<h.length;g++){var v=h[g].originalData.indexOfName(u),y=a.mapDimension("value");isNaN(h[g].originalData.get(y,v))||f.push(b(h[g].name))}return f.join(", ")+"<br />"+b(u+" : "+l)},getTooltipPosition:function(e){if(e!=null){var a=this.getData().getName(e),l=this.coordinateSystem,u=l.getRegion(a);return u&&l.dataToPoint(u.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},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"}});_.mixin(t,p);var s=t;H.exports=s},TkdX:function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},A=2,b=4;function m(t,s,e){x.Group.call(this);var a=new x.Sector({z2:A});a.seriesIndex=s.seriesIndex;var l=new x.Text({z2:b,silent:t.getModel("label").get("silent")});this.add(a),this.add(l),this.updateData(!0,t,"normal",s,e);function u(){l.ignore=l.hoverIgnore}function h(){l.ignore=l.normalIgnore}this.on("emphasis",u).on("normal",h).on("mouseover",u).on("mouseout",h)}var p=m.prototype;p.updateData=function(t,s,e,a,l){this.node=s,s.piece=this,a=a||this._seriesModel,l=l||this._ecModel;var u=this.childAt(0);u.dataIndex=s.dataIndex;var h=s.getModel(),f=s.getLayout(),g=_.extend({},f);g.label=null;var v=o(s,a,l);n(s,a,v);var y=h.getModel("itemStyle").getItemStyle(),E;if(e==="normal")E=y;else{var T=h.getModel(e+".itemStyle").getItemStyle();E=_.merge(T,y)}E=_.defaults({lineJoin:"bevel",fill:E.fill||v},E),t?(u.setShape(g),u.shape.r=f.r0,x.updateProps(u,{shape:{r:f.r}},a,s.dataIndex),u.useStyle(E)):typeof E.fill=="object"&&E.fill.type||typeof u.style.fill=="object"&&u.style.fill.type?(x.updateProps(u,{shape:g},a),u.useStyle(E)):x.updateProps(u,{shape:g,style:E},a),this._updateLabel(a,v,e);var w=h.getShallow("cursor");if(w&&u.attr("cursor",w),t){var S=a.getShallow("highlightPolicy");this._initEvents(u,s,a,S)}this._seriesModel=a||this._seriesModel,this._ecModel=l||this._ecModel,x.setHoverStyle(this)},p.onEmphasis=function(t){var s=this;this.node.hostTree.root.eachNode(function(e){e.piece&&(s.node===e?e.piece.updateData(!1,e,"emphasis"):i(e,s.node,t)?e.piece.childAt(0).trigger("highlight"):t!==C.NONE&&e.piece.childAt(0).trigger("downplay"))})},p.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},p.onHighlight=function(){this.updateData(!1,this.node,"highlight")},p.onDownplay=function(){this.updateData(!1,this.node,"downplay")},p._updateLabel=function(t,s,e){var a=this.node.getModel(),l=a.getModel("label"),u=e==="normal"||e==="emphasis"?l:a.getModel(e+".label"),h=a.getModel("emphasis.label"),f=_.retrieve(t.getFormattedLabel(this.node.dataIndex,e,null,null,"label"),this.node.name);U("show")===!1&&(f="");var g=this.node.getLayout(),v=u.get("minAngle");v==null&&(v=l.get("minAngle")),v=v/180*Math.PI;var y=g.endAngle-g.startAngle;v!=null&&Math.abs(y)<v&&(f="");var E=this.childAt(1);x.setLabelStyle(E.style,E.hoverStyle||{},l,h,{defaultText:u.getShallow("show")?f:null,autoColor:s,useInsideStyle:!0});var T=(g.startAngle+g.endAngle)/2,w=Math.cos(T),S=Math.sin(T),I,L=U("position"),O=U("distance")||0,N=U("align");L==="outside"?(I=g.r+O,N=T>Math.PI/2?"right":"left"):!N||N==="center"?(I=(g.r+g.r0)/2,N="center"):N==="left"?(I=g.r0+O,T>Math.PI/2&&(N="right")):N==="right"&&(I=g.r-O,T>Math.PI/2&&(N="left")),E.attr("style",{text:f,textAlign:N,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var R=I*w+g.cx,D=I*S+g.cy;E.attr("position",[R,D]);var B=U("rotate"),M=0;B==="radial"?(M=-T,M<-Math.PI/2&&(M+=Math.PI)):B==="tangential"?(M=Math.PI/2-T,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):typeof B=="number"&&(M=B*Math.PI/180),E.attr("rotation",M);function U(F){var j=u.get(F);return j==null?l.get(F):j}},p._initEvents=function(t,s,e,a){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var l=this,u=function(){l.onEmphasis(a)},h=function(){l.onNormal()},f=function(){l.onDownplay()},g=function(){l.onHighlight()};e.isAnimationEnabled()&&t.on("mouseover",u).on("mouseout",h).on("emphasis",u).on("normal",h).on("downplay",f).on("highlight",g)},_.inherits(m,x.Group);var c=m;function o(t,s,e){var a=t.getVisual("color"),l=t.getVisual("visualMeta");(!l||l.length===0)&&(a=null);var u=t.getModel("itemStyle").get("color");if(u)return u;if(a)return a;if(t.depth===0)return e.option.color[0];var h=e.option.color.length;return u=e.option.color[r(t)%h],u}function r(t){for(var s=t;s.depth>1;)s=s.parentNode;var e=t.getAncestors()[0];return _.indexOf(e.children,s)}function i(t,s,e){return e===C.NONE?!1:e===C.SELF?t===s:e===C.ANCESTOR?t===s||t.isAncestorOf(s):t===s||t.isDescendantOf(s)}function n(t,s,e){var a=s.getData();a.setItemVisual(t.dataIndex,"color",e)}H.exports=c},Tp9H:function(H,k,d){var _=d("ItGF"),x=d("Kagy"),C=d("IUWy"),A=x.toolbox.saveAsImage;function b(c){this.model=c}b.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:A.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:A.lang.slice()},b.prototype.unusable=!_.canvasSupported;var m=b.prototype;m.onclick=function(c,o){var r=this.model,i=r.get("name")||c.get("title.0.text")||"echarts",n=o.getZr().painter.getType()==="svg",t=n?"svg":r.get("type",!0)||"png",s=o.getConnectedDataURL({type:t,backgroundColor:r.get("backgroundColor",!0)||c.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")});if(typeof MouseEvent=="function"&&!_.browser.ie&&!_.browser.edge){var e=document.createElement("a");e.download=i+"."+t,e.target="_blank",e.href=s;var a=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});e.dispatchEvent(a)}else if(window.navigator.msSaveOrOpenBlob){for(var l=atob(s.split(",")[1]),u=l.length,h=new Uint8Array(u);u--;)h[u]=l.charCodeAt(u);var f=new Blob([h]);window.navigator.msSaveOrOpenBlob(f,i+"."+t)}else{var g=r.get("lang"),v='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(g&&g[0]||"")+'" /></body>',y=window.open();y.document.write(v)}},C.register("saveAsImage",b);var p=b;H.exports=p},"U/Mo":function(H,k){function d(x){var C=x.coordinateSystem;if(C.type!=="view")return 1;var A=x.option.nodeScaleRatio,b=C.scale,m=b&&b[0]||1,p=C.getZoom(),c=(p-1)*A+1;return c/m}function _(x){var C=x.getVisual("symbolSize");return C instanceof Array&&(C=(C[0]+C[1])/2),+C}k.getNodeGlobalScale=d,k.getSymbolSize=_},UADf:function(H,k,d){},UESt:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="RightOutlined";var p=k.a=x.forwardRef(m)},UOVi:function(H,k,d){var _=d("bYtY"),x=d("7aKB"),C=["x","y","z","radius","angle","single"],A=["cartesian2d","polar","singleAxis"];function b(o){return _.indexOf(A,o)>=0}function m(o,r){o=o.slice();var i=_.map(o,x.capitalFirst);r=(r||[]).slice();var n=_.map(r,x.capitalFirst);return function(t,s){_.each(o,function(e,a){for(var l={name:e,capital:i[a]},u=0;u<r.length;u++)l[r[u]]=e+n[u];t.call(s,l)})}}var p=m(C,["axisIndex","axis","index","id"]);function c(o,r,i){return function(e){var a={nodes:[],records:{}};if(r(function(h){a.records[h.name]={}}),!e)return a;s(e,a);var l;do l=!1,o(u);while(l);function u(h){!n(h,a)&&t(h,a)&&(s(h,a),l=!0)}return a};function n(e,a){return _.indexOf(a.nodes,e)>=0}function t(e,a){var l=!1;return r(function(u){_.each(i(e,u)||[],function(h){a.records[u.name][h]&&(l=!0)})}),l}function s(e,a){a.nodes.push(e),r(function(l){_.each(i(e,l)||[],function(u){a.records[l.name][u]=!0})})}}k.isCoordSupported=b,k.createNameEach=m,k.eachAxisDim=p,k.createLinkedNodesFinder=c},Uc92:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},UnoB:function(H,k,d){var _=d("bYtY"),x=d("OELB");function C(m,p){m.eachSeriesByType("themeRiver",function(c){var o=c.getData(),r=c.coordinateSystem,i={},n=r.getRect();i.rect=n;var t=c.get("boundaryGap"),s=r.getAxis();if(i.boundaryGap=t,s.orient==="horizontal"){t[0]=x.parsePercent(t[0],n.height),t[1]=x.parsePercent(t[1],n.height);var e=n.height-t[0]-t[1];A(o,c,e)}else{t[0]=x.parsePercent(t[0],n.width),t[1]=x.parsePercent(t[1],n.width);var a=n.width-t[0]-t[1];A(o,c,a)}o.setLayout("layoutInfo",i)})}function A(m,p,c){if(!m.count())return;for(var o=p.coordinateSystem,r=p.getLayerSeries(),i=m.mapDimension("single"),n=m.mapDimension("value"),t=_.map(r,function(v){return _.map(v.indices,function(y){var E=o.dataToPoint(m.get(i,y));return E[1]=m.get(n,y),E})}),s=b(t),e=s.y0,a=c/s.max,l=r.length,u=r[0].indices.length,h,f=0;f<u;++f){h=e[f]*a,m.setItemLayout(r[0].indices[f],{layerIndex:0,x:t[0][f][0],y0:h,y:t[0][f][1]*a});for(var g=1;g<l;++g)h+=t[g-1][f][1]*a,m.setItemLayout(r[g].indices[f],{layerIndex:g,x:t[g][f][0],y0:h,y:t[g][f][1]*a})}}function b(m){for(var p=m.length,c=m[0].length,o=[],r=[],i=0,n,t={},s=0;s<c;++s){for(var e=0,n=0;e<p;++e)n+=m[e][s][1];n>i&&(i=n),o.push(n)}for(var a=0;a<c;++a)r[a]=(i-o[a])/2;i=0;for(var l=0;l<c;++l){var u=o[l]+r[l];u>i&&(i=u)}return t.y0=r,t.max=i,t}H.exports=C},Urep:function(H,k,d){},V7ic:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("digP")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="FileTwoTone";var c=A.forwardRef(p);k.default=c},VFCP:function(H,k,d){d("dBmv"),d("KamJ")},VPsl:function(H,k){function d(_){_.eachSeriesByType("map",function(x){var C=x.get("color"),A=x.getModel("itemStyle"),b=A.get("areaColor"),m=A.get("color")||C[x.seriesIndex%C.length];x.getData().setVisual({areaColor:b,color:m})})}H.exports=d},VR9l:function(H,k,d){var _=d("KCsZ"),x=_([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),C={getItemStyle:function(A,b){var m=x(this,A,b),p=this.getBorderLineDash();return p&&(m.lineDash=p),m},getBorderLineDash:function(){var A=this.get("borderType");return A==="solid"||A==null?null:A==="dashed"?[5,5]:[1,1]}};H.exports=C},VSLf:function(H,k,d){d("I+Bx"),d("F0hE"),d("bBKM")},VSMT:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.decodeUTF8=_,k.encodeUTF8=x;function _(C){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(C))}catch(b){if(b instanceof URIError&&A)return C;throw b}}function x(C){return unescape(encodeURIComponent(C))}},VXYp:function(H,k,d){var _=d("bYtY"),x=d("SgGq"),C=d("iLNv"),A="\0_ec_dataZoom_roams";function b(t,s){var e=c(t),a=s.dataZoomId,l=s.coordId;_.each(e,function(f,g){var v=f.dataZoomInfos;v[a]&&_.indexOf(s.allCoordIds,l)<0&&(delete v[a],f.count--)}),r(e);var u=e[l];u||(u=e[l]={coordId:l,dataZoomInfos:{},count:0},u.controller=o(t,u),u.dispatchAction=_.curry(i,t)),!u.dataZoomInfos[a]&&u.count++,u.dataZoomInfos[a]=s;var h=n(u.dataZoomInfos);u.controller.enable(h.controlType,h.opt),u.controller.setPointerChecker(s.containsPoint),C.createOrUpdate(u,"dispatchAction",s.dataZoomModel.get("throttle",!0),"fixRate")}function m(t,s){var e=c(t);_.each(e,function(a){a.controller.dispose();var l=a.dataZoomInfos;l[s]&&(delete l[s],a.count--)}),r(e)}function p(t){return t.type+"\0_"+t.id}function c(t){var s=t.getZr();return s[A]||(s[A]={})}function o(t,s){var e=new x(t.getZr());return _.each(["pan","zoom","scrollMove"],function(a){e.on(a,function(l){var u=[];_.each(s.dataZoomInfos,function(h){if(!l.isAvailableBehavior(h.dataZoomModel.option))return;var f=(h.getRange||{})[a],g=f&&f(s.controller,l);!h.dataZoomModel.get("disabled",!0)&&g&&u.push({dataZoomId:h.dataZoomId,start:g[0],end:g[1]})}),u.length&&s.dispatchAction(u)})}),e}function r(t){_.each(t,function(s,e){s.count||(s.controller.dispose(),delete t[e])})}function i(t,s){t.dispatchAction({type:"dataZoom",batch:s})}function n(t){var s,e="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},l=!0;return _.each(t,function(u){var h=u.dataZoomModel,f=h.get("disabled",!0)?!1:h.get("zoomLock",!0)?"move":!0;a[e+f]>a[e+s]&&(s=f),l&=h.get("preventDefaultMouseMove",!0)}),{controlType:s,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!l}}}k.register=b,k.unregister=m,k.generateCoordId=p},VaxA:function(H,k,d){var _=d("bYtY");function x(m,p,c){if(m&&_.indexOf(p,m.type)>=0){var o=c.getData().tree.root,r=m.targetNode;if(typeof r=="string"&&(r=o.getNodeById(r)),r&&o.contains(r))return{node:r};var i=m.targetNodeId;if(i!=null&&(r=o.getNodeById(i)))return{node:r}}}function C(m){for(var p=[];m;)m=m.parentNode,m&&p.push(m);return p.reverse()}function A(m,p){var c=C(m);return _.indexOf(c,p)>=0}function b(m,p){for(var c=[];m;){var o=m.dataIndex;c.push({name:m.name,dataIndex:o,value:p.getRawValue(o)}),m=m.parentNode}return c.reverse(),c}k.retrieveTargetInfo=x,k.getPathToRoot=C,k.aboveViewRoot=A,k.wrapTreePathInfo=b},Vi4m:function(H,k,d){var _=d("bYtY");function x(A){A!=null&&_.extend(this,A),this.otherDims={}}var C=x;H.exports=C},Vl3Y:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("J4zp"),A=d.n(C),b=d("lSNA"),m=d.n(b),p=d("q1tI"),c=d("TSYQ"),o=d.n(c),r=d("85Yc"),i=d("H84U"),n=d("BGR+"),t=p.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),s=p.createContext({updateItemErrors:function(){}}),e=function(Gt){var rr=Object(n.default)(Gt,["prefixCls"]);return p.createElement(r.FormProvider,rr)};function a(me){return typeof me=="object"&&me!=null&&me.nodeType===1}function l(me,Gt){return(!Gt||me!=="hidden")&&me!=="visible"&&me!=="clip"}function u(me,Gt){if(me.clientHeight<me.scrollHeight||me.clientWidth<me.scrollWidth){var rr=getComputedStyle(me,null);return l(rr.overflowY,Gt)||l(rr.overflowX,Gt)||function(ut){var Xt=function(ur){if(!ur.ownerDocument||!ur.ownerDocument.defaultView)return null;try{return ur.ownerDocument.defaultView.frameElement}catch(Fr){return null}}(ut);return!!Xt&&(Xt.clientHeight<ut.scrollHeight||Xt.clientWidth<ut.scrollWidth)}(me)}return!1}function h(me,Gt,rr,ut,Xt,ur,Fr,er){return ur<me&&Fr>Gt||ur>me&&Fr<Gt?0:ur<=me&&er<=rr||Fr>=Gt&&er>=rr?ur-me-ut:Fr>Gt&&er<rr||ur<me&&er>rr?Fr-Gt+Xt:0}var f=function(me,Gt){var rr=window,ut=Gt.scrollMode,Xt=Gt.block,ur=Gt.inline,Fr=Gt.boundary,er=Gt.skipOverflowHiddenElements,nr=typeof Fr=="function"?Fr:function(Nn){return Nn!==Fr};if(!a(me))throw new TypeError("Invalid target");for(var Lt=document.scrollingElement||document.documentElement,at=[],Je=me;a(Je)&&nr(Je);){if((Je=Je.parentElement)===Lt){at.push(Je);break}Je!=null&&Je===document.body&&u(Je)&&!u(document.documentElement)||Je!=null&&u(Je,er)&&at.push(Je)}for(var qt=rr.visualViewport?rr.visualViewport.width:innerWidth,Sr=rr.visualViewport?rr.visualViewport.height:innerHeight,yr=window.scrollX||pageXOffset,fr=window.scrollY||pageYOffset,yn=me.getBoundingClientRect(),Jr=yn.height,Ln=yn.width,Nt=yn.top,Ve=yn.right,_e=yn.bottom,ke=yn.left,Pe=Xt==="start"||Xt==="nearest"?Nt:Xt==="end"?_e:Nt+Jr/2,rt=ur==="center"?ke+Ln/2:ur==="end"?Ve:ke,Pt=[],Yt=0;Yt<at.length;Yt++){var kt=at[Yt],_r=kt.getBoundingClientRect(),Rr=_r.height,un=_r.width,Ut=_r.top,ht=_r.right,ot=_r.bottom,Wt=_r.left;if(ut==="if-needed"&&Nt>=0&&ke>=0&&_e<=Sr&&Ve<=qt&&Nt>=Ut&&_e<=ot&&ke>=Wt&&Ve<=ht)return Pt;var Jt=getComputedStyle(kt),At=parseInt(Jt.borderLeftWidth,10),Bt=parseInt(Jt.borderTopWidth,10),mt=parseInt(Jt.borderRightWidth,10),Mt=parseInt(Jt.borderBottomWidth,10),hr=0,or=0,ar="offsetWidth"in kt?kt.offsetWidth-kt.clientWidth-At-mt:0,Gr="offsetHeight"in kt?kt.offsetHeight-kt.clientHeight-Bt-Mt:0;if(Lt===kt)hr=Xt==="start"?Pe:Xt==="end"?Pe-Sr:Xt==="nearest"?h(fr,fr+Sr,Sr,Bt,Mt,fr+Pe,fr+Pe+Jr,Jr):Pe-Sr/2,or=ur==="start"?rt:ur==="center"?rt-qt/2:ur==="end"?rt-qt:h(yr,yr+qt,qt,At,mt,yr+rt,yr+rt+Ln,Ln),hr=Math.max(0,hr+fr),or=Math.max(0,or+yr);else{hr=Xt==="start"?Pe-Ut-Bt:Xt==="end"?Pe-ot+Mt+Gr:Xt==="nearest"?h(Ut,ot,Rr,Bt,Mt+Gr,Pe,Pe+Jr,Jr):Pe-(Ut+Rr/2)+Gr/2,or=ur==="start"?rt-Wt-At:ur==="center"?rt-(Wt+un/2)+ar/2:ur==="end"?rt-ht+mt+ar:h(Wt,ht,un,At,mt+ar,rt,rt+Ln,Ln);var Yr=kt.scrollLeft,In=kt.scrollTop;Pe+=In-(hr=Math.max(0,Math.min(In+hr,kt.scrollHeight-Rr+Gr))),rt+=Yr-(or=Math.max(0,Math.min(Yr+or,kt.scrollWidth-un+ar)))}Pt.push({el:kt,top:hr,left:or})}return Pt};function g(me){return me===Object(me)&&Object.keys(me).length!==0}function v(me,Gt){Gt===void 0&&(Gt="auto");var rr="scrollBehavior"in document.body.style;me.forEach(function(ut){var Xt=ut.el,ur=ut.top,Fr=ut.left;Xt.scroll&&rr?Xt.scroll({top:ur,left:Fr,behavior:Gt}):(Xt.scrollTop=ur,Xt.scrollLeft=Fr)})}function y(me){return me===!1?{block:"end",inline:"nearest"}:g(me)?me:{block:"start",inline:"nearest"}}function E(me,Gt){var rr=me.isConnected||me.ownerDocument.documentElement.contains(me);if(g(Gt)&&typeof Gt.behavior=="function")return Gt.behavior(rr?f(me,Gt):[]);if(!rr)return;var ut=y(Gt);return v(f(me,ut),ut.behavior)}var T=E;function w(me){return me===void 0||me===!1?[]:Array.isArray(me)?me:[me]}function S(me,Gt){if(!me.length)return;var rr=me.join("_");return Gt?"".concat(Gt,"_").concat(rr):rr}function I(me){var Gt=w(me);return Gt.join("_")}function L(me){var Gt=Object(r.useForm)(),rr=A()(Gt,1),ut=rr[0],Xt=Object(p.useRef)({}),ur=Object(p.useMemo)(function(){return me||x()(x()({},ut),{__INTERNAL__:{itemRef:function(er){return function(nr){var Lt=I(er);nr?Xt.current[Lt]=nr:delete Xt.current[Lt]}}},scrollToField:function(er){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Lt=w(er),at=S(Lt,ur.__INTERNAL__.name),Je=at?document.getElementById(at):null;Je&&T(Je,x()({scrollMode:"if-needed",block:"nearest"},nr))},getFieldInstance:function(er){var nr=I(er);return Xt.current[nr]}})},[me,ut]);return[ur]}var O=d("3Nzz"),N=function(me,Gt){var rr={};for(var ut in me)Object.prototype.hasOwnProperty.call(me,ut)&&Gt.indexOf(ut)<0&&(rr[ut]=me[ut]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,ut=Object.getOwnPropertySymbols(me);Xt<ut.length;Xt++)Gt.indexOf(ut[Xt])<0&&Object.prototype.propertyIsEnumerable.call(me,ut[Xt])&&(rr[ut[Xt]]=me[ut[Xt]]);return rr},R=function(Gt,rr){var ut,Xt=p.useContext(O.b),ur=p.useContext(i.b),Fr=ur.getPrefixCls,er=ur.direction,nr=Gt.name,Lt=Gt.prefixCls,at=Gt.className,Je=at===void 0?"":at,qt=Gt.size,Sr=qt===void 0?Xt:qt,yr=Gt.form,fr=Gt.colon,yn=Gt.labelAlign,Jr=Gt.labelCol,Ln=Gt.wrapperCol,Nt=Gt.hideRequiredMark,Ve=Gt.layout,_e=Ve===void 0?"horizontal":Ve,ke=Gt.scrollToFirstError,Pe=Gt.requiredMark,rt=Gt.onFinishFailed,Pt=N(Gt,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Yt=Object(p.useMemo)(function(){return Pe!==void 0?Pe:!Nt},[Nt,Pe]),kt=Fr("form",Lt),_r=o()(kt,(ut={},m()(ut,"".concat(kt,"-").concat(_e),!0),m()(ut,"".concat(kt,"-hide-required-mark"),Yt===!1),m()(ut,"".concat(kt,"-rtl"),er==="rtl"),m()(ut,"".concat(kt,"-").concat(Sr),Sr),ut),Je),Rr=L(yr),un=A()(Rr,1),Ut=un[0],ht=Ut.__INTERNAL__;ht.name=nr;var ot=Object(p.useMemo)(function(){return{name:nr,labelAlign:yn,labelCol:Jr,wrapperCol:Ln,vertical:_e==="vertical",colon:fr,requiredMark:Yt,itemRef:ht.itemRef}},[nr,yn,Jr,Ln,_e,fr,Yt]);p.useImperativeHandle(rr,function(){return Ut});var Wt=function(At){rt&&rt(At),ke&&At.errorFields.length&&Ut.scrollToField(At.errorFields[0].name)};return p.createElement(O.a,{size:Sr},p.createElement(t.Provider,{value:ot},p.createElement(r.default,x()({id:nr},Pt,{onFinishFailed:Wt,form:Ut,className:_r}))))},D=p.forwardRef(R),B=D,M=d("cDf5"),U=d.n(M),F=d("RIqP"),j=d.n(F),W=d("Y+p1"),V=d.n(W),z=d("KW7l"),Y=d("c+Xe"),J=d("qrJ5"),ie=d("CWQg"),Z=d("uaoM"),oe=d("/kpp"),ge=d("YMnH"),pe=d("ZvpZ"),De=function(Gt){var rr=Gt.prefixCls,ut=Gt.label,Xt=Gt.htmlFor,ur=Gt.labelCol,Fr=Gt.labelAlign,er=Gt.colon,nr=Gt.required,Lt=Gt.requiredMark,at=Object(ge.b)("Form"),Je=A()(at,1),qt=Je[0];return ut?p.createElement(t.Consumer,{key:"label"},function(Sr){var yr,fr=Sr.vertical,yn=Sr.labelAlign,Jr=Sr.labelCol,Ln=Sr.colon,Nt,Ve=ur||Jr||{},_e=Fr||yn,ke="".concat(rr,"-item-label"),Pe=o()(ke,_e==="left"&&"".concat(ke,"-left"),Ve.className),rt=ut,Pt=er===!0||Ln!==!1&&er!==!1,Yt=Pt&&!fr;Yt&&typeof ut=="string"&&ut.trim()!==""&&(rt=ut.replace(/[:|]\s*$/,"")),Lt==="optional"&&!nr&&(rt=p.createElement(p.Fragment,null,rt,p.createElement("span",{className:"".concat(rr,"-item-optional")},(qt==null?void 0:qt.optional)||((Nt=pe.a.Form)===null||Nt===void 0?void 0:Nt.optional))));var kt=o()((yr={},m()(yr,"".concat(rr,"-item-required"),nr),m()(yr,"".concat(rr,"-item-required-mark-optional"),Lt==="optional"),m()(yr,"".concat(rr,"-item-no-colon"),!Pt),yr));return p.createElement(oe.a,x()({},Ve,{className:Pe}),p.createElement("label",{htmlFor:Xt,className:kt,title:typeof ut=="string"?ut:""},rt))}):null},ce=De,Oe=d("gZBC"),se=d.n(Oe),$=d("kbBi"),ze=d.n($),re=d("J84W"),X=d.n(re),G=d("sKbD"),Q=d.n(G),ve=d("YrtM"),de=d("8XRh"),Ce=d("hkKa");function we(me,Gt,rr){var ut=p.useRef({errors:me,visible:!!me.length}),Xt=Object(Ce.a)(),ur=function(){var er=ut.current.visible,nr=!!me.length,Lt=ut.current.errors;ut.current.errors=me,ut.current.visible=nr,er!==nr?Gt(nr):(Lt.length!==me.length||Lt.some(function(at,Je){return at!==me[Je]}))&&Xt()};return p.useEffect(function(){if(!rr){var Fr=setTimeout(ur,10);return function(){return clearTimeout(Fr)}}},[me]),rr&&ur(),[ut.current.visible,ut.current.errors]}var le={success:X.a,warning:Q.a,error:ze.a,validating:se.a},fe=function(Gt){var rr=Gt.prefixCls,ut=Gt.wrapperCol,Xt=Gt.children,ur=Gt.help,Fr=Gt.errors,er=Gt.onDomErrorVisibleChange,nr=Gt.hasFeedback,Lt=Gt.validateStatus,at=Gt.extra,Je=Object(Ce.a)(),qt="".concat(rr,"-item"),Sr=p.useContext(t),yr=ut||Sr.wrapperCol||{},fr=o()("".concat(qt,"-control"),yr.className),yn=we(Fr,function(rt){rt&&Promise.resolve().then(function(){er(!0)}),Je()},!!ur),Jr=A()(yn,2),Ln=Jr[0],Nt=Jr[1];p.useEffect(function(){return function(){er(!1)}},[]);var Ve=Object(ve.a)(function(){return Nt},Ln,function(rt,Pt){return Pt}),_e=Lt&&le[Lt],ke=nr&&_e?p.createElement("span",{className:"".concat(qt,"-children-icon")},p.createElement(_e,null)):null,Pe=x()({},Sr);return delete Pe.labelCol,delete Pe.wrapperCol,p.createElement(t.Provider,{value:Pe},p.createElement(oe.a,x()({},yr,{className:fr}),p.createElement("div",{className:"".concat(qt,"-control-input")},p.createElement("div",{className:"".concat(qt,"-control-input-content")},Xt),ke),p.createElement(de.default,{motionDeadline:500,visible:Ln,motionName:"show-help",onLeaveEnd:function(){er(!1)},motionAppear:!0,removeOnLeave:!0},function(rt){var Pt=rt.className;return p.createElement("div",{className:o()("".concat(qt,"-explain"),Pt),key:"help"},Ve.map(function(Yt,kt){return p.createElement("div",{key:kt,role:"alert"},Yt)}))}),at&&p.createElement("div",{className:"".concat(qt,"-extra")},at)))},xe=fe,We=d("0n0R"),nt=d("xEkU"),$e=d.n(nt);function Le(me){var Gt=p.useState(me),rr=A()(Gt,2),ut=rr[0],Xt=rr[1],ur=Object(p.useRef)(null),Fr=Object(p.useRef)([]),er=Object(p.useRef)(!1);p.useEffect(function(){return function(){er.current=!0,$e.a.cancel(ur.current)}},[]);function nr(Lt){if(er.current)return;ur.current===null&&(Fr.current=[],ur.current=$e()(function(){ur.current=null,Xt(function(at){var Je=at;return Fr.current.forEach(function(qt){Je=qt(Je)}),Je})})),Fr.current.push(Lt)}return[ut,nr]}function pt(){var me=p.useContext(t),Gt=me.itemRef,rr=p.useRef({});function ut(Xt,ur){var Fr=ur&&U()(ur)==="object"&&ur.ref,er=Xt.join("_");return(rr.current.name!==er||rr.current.originRef!==Fr)&&(rr.current.name=er,rr.current.originRef=Fr,rr.current.ref=Object(Y.a)(Gt(Xt),Fr)),rr.current.ref}return ut}var Qe=function(me,Gt){var rr={};for(var ut in me)Object.prototype.hasOwnProperty.call(me,ut)&&Gt.indexOf(ut)<0&&(rr[ut]=me[ut]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,ut=Object.getOwnPropertySymbols(me);Xt<ut.length;Xt++)Gt.indexOf(ut[Xt])<0&&Object.prototype.propertyIsEnumerable.call(me,ut[Xt])&&(rr[ut[Xt]]=me[ut[Xt]]);return rr},gt=Object(ie.a)("success","warning","error","validating",""),wt=p.memo(function(me){var Gt=me.children;return Gt},function(me,Gt){return me.value===Gt.value&&me.update===Gt.update});function Et(me){return me===null&&Object(Z.a)(!1,"Form.Item","`null` is passed as `name` property"),!(me==null)}function _t(me){var Gt=me.name,rr=me.fieldKey,ut=me.noStyle,Xt=me.dependencies,ur=me.prefixCls,Fr=me.style,er=me.className,nr=me.shouldUpdate,Lt=me.hasFeedback,at=me.help,Je=me.rules,qt=me.validateStatus,Sr=me.children,yr=me.required,fr=me.label,yn=me.trigger,Jr=yn===void 0?"onChange":yn,Ln=me.validateTrigger,Nt=me.hidden,Ve=Qe(me,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),_e=p.useRef(!1),ke=p.useContext(i.b),Pe=ke.getPrefixCls,rt=p.useContext(t),Pt=rt.name,Yt=rt.requiredMark,kt=p.useContext(s),_r=kt.updateItemErrors,Rr=p.useState(!!at),un=A()(Rr,2),Ut=un[0],ht=un[1],ot=p.useRef(qt),Wt=Le({}),Jt=A()(Wt,2),At=Jt[0],Bt=Jt[1],mt=p.useContext(z.b),Mt=mt.validateTrigger,hr=Ln!==void 0?Ln:Mt;function or(Xe){_e.current||ht(Xe)}var ar=Et(Gt),Gr=p.useRef([]);p.useEffect(function(){return function(){_e.current=!0,_r(Gr.current.join("__SPLIT__"),[])}},[]);var Yr=Pe("form",ur),In=ut?_r:function(Xe,Ie){Bt(function(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return V()(Be[Xe],Ie)?Be:x()(x()({},Be),m()({},Xe,Ie))})},Nn=pt();function Kn(Xe,Ie,Be,Fe){var Ge,Ke;if(ut&&!Nt)return Xe;var qe=[];Object.keys(At).forEach(function(wr){qe=[].concat(j()(qe),j()(At[wr]||[]))});var vt;at!=null?vt=w(at):(vt=Be?Be.errors:[],vt=[].concat(j()(vt),j()(qe)));var lt="";qt!==void 0?lt=qt:(Be==null?void 0:Be.validating)?lt="validating":((Ke=Be==null?void 0:Be.errors)===null||Ke===void 0?void 0:Ke.length)||qe.length?lt="error":(Be==null?void 0:Be.touched)&&(lt="success"),Ut&&at&&(ot.current=lt);var Ft=(Ge={},m()(Ge,"".concat(Yr,"-item"),!0),m()(Ge,"".concat(Yr,"-item-with-help"),Ut||at),m()(Ge,"".concat(er),!!er),m()(Ge,"".concat(Yr,"-item-has-feedback"),lt&&Lt),m()(Ge,"".concat(Yr,"-item-has-success"),lt==="success"),m()(Ge,"".concat(Yr,"-item-has-warning"),lt==="warning"),m()(Ge,"".concat(Yr,"-item-has-error"),lt==="error"),m()(Ge,"".concat(Yr,"-item-has-error-leave"),!at&&Ut&&ot.current==="error"),m()(Ge,"".concat(Yr,"-item-is-validating"),lt==="validating"),m()(Ge,"".concat(Yr,"-item-hidden"),Nt),Ge);return p.createElement(J.a,x()({className:o()(Ft),style:Fr,key:"row"},Object(n.default)(Ve,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),p.createElement(ce,x()({htmlFor:Ie,required:Fe,requiredMark:Yt},me,{prefixCls:Yr})),p.createElement(xe,x()({},me,Be,{errors:vt,prefixCls:Yr,onDomErrorVisibleChange:or,validateStatus:lt}),p.createElement(s.Provider,{value:{updateItemErrors:In}},Xe)))}var $n=typeof Sr=="function",Ii=p.useRef(0);if(Ii.current+=1,!ar&&!$n&&!Xt)return Kn(Sr);var Mi={};return typeof fr=="string"&&(Mi.label=fr),p.createElement(r.Field,x()({},me,{messageVariables:Mi,trigger:Jr,validateTrigger:hr,onReset:function(){or(!1)}}),function(Xe,Ie,Be){var Fe=Ie.errors,Ge=w(Gt).length&&Ie?Ie.name:[],Ke=S(Ge,Pt);if(ut){if(Gr.current=j()(Ge),rr){var qe=Array.isArray(rr)?rr:[rr];Gr.current=[].concat(j()(Ge.slice(0,-1)),j()(qe))}_r(Gr.current.join("__SPLIT__"),Fe)}var vt=yr!==void 0?yr:!!(Je&&Je.some(function(Dr){if(Dr&&U()(Dr)==="object"&&Dr.required)return!0;if(typeof Dr=="function"){var zt=Dr(Be);return zt&&zt.required}return!1})),lt=x()({},Xe),Ft=null;if(Object(Z.a)(!(nr&&Xt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Sr)&&ar)Object(Z.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Ft=Sr;else if($n&&(!(nr||Xt)||ar))Object(Z.a)(!!(nr||Xt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(Z.a)(!ar,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(Xt&&!$n&&!ar)Object(Z.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(We.b)(Sr)){Object(Z.a)(Sr.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var wr=x()(x()({},Sr.props),lt);wr.id||(wr.id=Ke),Object(Y.c)(Sr)&&(wr.ref=Nn(Ge,Sr));var pr=new Set([].concat(j()(w(Jr)),j()(w(hr))));pr.forEach(function(Dr){wr[Dr]=function(){for(var zt,hn,ir,Xr,Br,vr=arguments.length,Cn=new Array(vr),kn=0;kn<vr;kn++)Cn[kn]=arguments[kn];(ir=lt[Dr])===null||ir===void 0||(zt=ir).call.apply(zt,[lt].concat(Cn)),(Br=(Xr=Sr.props)[Dr])===null||Br===void 0||(hn=Br).call.apply(hn,[Xr].concat(Cn))}}),Ft=p.createElement(wt,{value:lt[me.valuePropName||"value"],update:Ii.current},Object(We.a)(Sr,wr))}else $n&&(nr||Xt)&&!ar?Ft=Sr(Be):(Object(Z.a)(!Ge.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),Ft=Sr);return Kn(Ft,Ke,Ie,vt)})}var Ht=_t,Ze=function(me,Gt){var rr={};for(var ut in me)Object.prototype.hasOwnProperty.call(me,ut)&&Gt.indexOf(ut)<0&&(rr[ut]=me[ut]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,ut=Object.getOwnPropertySymbols(me);Xt<ut.length;Xt++)Gt.indexOf(ut[Xt])<0&&Object.prototype.propertyIsEnumerable.call(me,ut[Xt])&&(rr[ut[Xt]]=me[ut[Xt]]);return rr},ye=function(Gt){var rr=Gt.children,ut=Ze(Gt,["children"]);return Object(Z.a)(!!ut.name,"Form.List","Miss `name` prop."),p.createElement(r.List,ut,function(Xt,ur){return rr(Xt.map(function(Fr){return x()(x()({},Fr),{fieldKey:Fr.key})}),ur)})},ae=ye,yt=B;yt.Item=Ht,yt.List=ae,yt.useForm=L,yt.Provider=e,yt.create=function(){Object(Z.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var et=k.a=yt},VpOo:function(H,k){function d(_,x){var C=x.x,A=x.y,b=x.width,m=x.height,p=x.r,c,o,r,i;b<0&&(C=C+b,b=-b),m<0&&(A=A+m,m=-m),typeof p=="number"?c=o=r=i=p:p instanceof Array?p.length===1?c=o=r=i=p[0]:p.length===2?(c=r=p[0],o=i=p[1]):p.length===3?(c=p[0],o=i=p[1],r=p[2]):(c=p[0],o=p[1],r=p[2],i=p[3]):c=o=r=i=0;var n;c+o>b&&(n=c+o,c*=b/n,o*=b/n),r+i>b&&(n=r+i,r*=b/n,i*=b/n),o+r>m&&(n=o+r,o*=m/n,r*=m/n),c+i>m&&(n=c+i,c*=m/n,i*=m/n),_.moveTo(C+c,A),_.lineTo(C+b-o,A),o!==0&&_.arc(C+b-o,A+o,o,-Math.PI/2,0),_.lineTo(C+b,A+m-r),r!==0&&_.arc(C+b-r,A+m-r,r,0,Math.PI/2),_.lineTo(C+i,A+m),i!==0&&_.arc(C+i,A+m-i,i,Math.PI/2,Math.PI),_.lineTo(C,A+c),c!==0&&_.arc(C+c,A+c,c,Math.PI,Math.PI*1.5)}k.buildPath=d},"VrN/":function(H,k,d){(function(_,x){H.exports=x()})(this,function(){"use strict";var _=navigator.userAgent,x=navigator.platform,C=/gecko\/\d/i.test(_),A=/MSIE \d/.test(_),b=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(_),m=/Edge\/(\d+)/.exec(_),p=A||b||m,c=p&&(A?document.documentMode||6:+(m||b)[1]),o=!m&&/WebKit\//.test(_),r=o&&/Qt\/\d+\.\d+/.test(_),i=!m&&/Chrome\//.test(_),n=/Opera\//.test(_),t=/Apple Computer/.test(navigator.vendor),s=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(_),e=/PhantomJS/.test(_),a=!m&&/AppleWebKit/.test(_)&&/Mobile\/\w+/.test(_),l=/Android/.test(_),u=a||l||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(_),h=a||/Mac/.test(x),f=/\bCrOS\b/.test(_),g=/win/i.test(x),v=n&&_.match(/Version\/(\d*\.\d*)/);v&&(v=Number(v[1])),v&&v>=15&&(n=!1,o=!0);var y=h&&(r||n&&(v==null||v<12.11)),E=C||p&&c>=9;function T(P){return new RegExp("(^|\\s)"+P+"(?:$|\\s)\\s*")}var w=function(K,q){var te=K.className,ue=T(q).exec(te);if(ue){var Me=te.slice(ue.index+ue[0].length);K.className=te.slice(0,ue.index)+(Me?ue[1]+Me:"")}};function S(P){for(var K=P.childNodes.length;K>0;--K)P.removeChild(P.firstChild);return P}function I(P,K){return S(P).appendChild(K)}function L(P,K,q,te){var ue=document.createElement(P);if(q&&(ue.className=q),te&&(ue.style.cssText=te),typeof K=="string")ue.appendChild(document.createTextNode(K));else if(K)for(var Me=0;Me<K.length;++Me)ue.appendChild(K[Me]);return ue}function O(P,K,q,te){var ue=L(P,K,q,te);return ue.setAttribute("role","presentation"),ue}var N;document.createRange?N=function(K,q,te,ue){var Me=document.createRange();return Me.setEnd(ue||K,te),Me.setStart(K,q),Me}:N=function(K,q,te){var ue=document.body.createTextRange();try{ue.moveToElementText(K.parentNode)}catch(Me){return ue}return ue.collapse(!0),ue.moveEnd("character",te),ue.moveStart("character",q),ue};function R(P,K){if(K.nodeType==3&&(K=K.parentNode),P.contains)return P.contains(K);do if(K.nodeType==11&&(K=K.host),K==P)return!0;while(K=K.parentNode)}function D(){var P;try{P=document.activeElement}catch(K){P=document.body||null}for(;P&&P.shadowRoot&&P.shadowRoot.activeElement;)P=P.shadowRoot.activeElement;return P}function B(P,K){var q=P.className;T(K).test(q)||(P.className+=(q?" ":"")+K)}function M(P,K){for(var q=P.split(" "),te=0;te<q.length;te++)q[te]&&!T(q[te]).test(K)&&(K+=" "+q[te]);return K}var U=function(K){K.select()};a?U=function(K){K.selectionStart=0,K.selectionEnd=K.value.length}:p&&(U=function(K){try{K.select()}catch(q){}});function F(P){var K=Array.prototype.slice.call(arguments,1);return function(){return P.apply(null,K)}}function j(P,K,q){K||(K={});for(var te in P)P.hasOwnProperty(te)&&(q!==!1||!K.hasOwnProperty(te))&&(K[te]=P[te]);return K}function W(P,K,q,te,ue){K==null&&(K=P.search(/[^\s\u00a0]/),K==-1&&(K=P.length));for(var Me=te||0,dt=ue||0;;){var Tt=P.indexOf(" ",Me);if(Tt<0||Tt>=K)return dt+(K-Me);dt+=Tt-Me,dt+=q-dt%q,Me=Tt+1}}var V=function(){this.id=null,this.f=null,this.time=0,this.handler=F(this.onTimeout,this)};V.prototype.onTimeout=function(P){P.id=0,P.time<=+new Date?P.f():setTimeout(P.handler,P.time-+new Date)},V.prototype.set=function(P,K){this.f=K;var q=+new Date+P;(!this.id||q<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,P),this.time=q)};function z(P,K){for(var q=0;q<P.length;++q)if(P[q]==K)return q;return-1}var Y=50,J={toString:function(){return"CodeMirror.Pass"}},ie={scroll:!1},Z={origin:"*mouse"},oe={origin:"+move"};function ge(P,K,q){for(var te=0,ue=0;;){var Me=P.indexOf(" ",te);Me==-1&&(Me=P.length);var dt=Me-te;if(Me==P.length||ue+dt>=K)return te+Math.min(dt,K-ue);if(ue+=Me-te,ue+=q-ue%q,te=Me+1,ue>=K)return te}}var pe=[""];function De(P){for(;pe.length<=P;)pe.push(ce(pe)+" ");return pe[P]}function ce(P){return P[P.length-1]}function Oe(P,K){for(var q=[],te=0;te<P.length;te++)q[te]=K(P[te],te);return q}function se(P,K,q){for(var te=0,ue=q(K);te<P.length&&q(P[te])<=ue;)te++;P.splice(te,0,K)}function $(){}function ze(P,K){var q;return Object.create?q=Object.create(P):($.prototype=P,q=new $),K&&j(K,q),q}var re=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function X(P){return/\w/.test(P)||P>"\x80"&&(P.toUpperCase()!=P.toLowerCase()||re.test(P))}function G(P,K){return K?K.source.indexOf("\\w")>-1&&X(P)?!0:K.test(P):X(P)}function Q(P){for(var K in P)if(P.hasOwnProperty(K)&&P[K])return!1;return!0}var ve=/[\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 de(P){return P.charCodeAt(0)>=768&&ve.test(P)}function Ce(P,K,q){for(;(q<0?K>0:K<P.length)&&de(P.charAt(K));)K+=q;return K}function we(P,K,q){for(var te=K>q?-1:1;;){if(K==q)return K;var ue=(K+q)/2,Me=te<0?Math.ceil(ue):Math.floor(ue);if(Me==K)return P(Me)?K:q;P(Me)?q=Me:K=Me+te}}function le(P,K,q,te){if(!P)return te(K,q,"ltr",0);for(var ue=!1,Me=0;Me<P.length;++Me){var dt=P[Me];(dt.from<q&&dt.to>K||K==q&&dt.to==K)&&(te(Math.max(dt.from,K),Math.min(dt.to,q),dt.level==1?"rtl":"ltr",Me),ue=!0)}ue||te(K,q,"ltr")}var fe=null;function xe(P,K,q){var te;fe=null;for(var ue=0;ue<P.length;++ue){var Me=P[ue];if(Me.from<K&&Me.to>K)return ue;Me.to==K&&(Me.from!=Me.to&&q=="before"?te=ue:fe=ue),Me.from==K&&(Me.from!=Me.to&&q!="before"?te=ue:fe=ue)}return te!=null?te:fe}var We=function(){var P="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",K="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function q(tr){return tr<=247?P.charAt(tr):1424<=tr&&tr<=1524?"R":1536<=tr&&tr<=1785?K.charAt(tr-1536):1774<=tr&&tr<=2220?"r":8192<=tr&&tr<=8203?"w":tr==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,Me=/[LRr]/,dt=/[Lb1n]/,Tt=/[1n]/;function Qt(tr,en,pn){this.level=tr,this.from=en,this.to=pn}return function(tr,en){var pn=en=="ltr"?"L":"R";if(tr.length==0||en=="ltr"&&!te.test(tr))return!1;for(var Mn=tr.length,Fn=[],yi=0;yi<Mn;++yi)Fn.push(q(tr.charCodeAt(yi)));for(var Xi=0,oa=pn;Xi<Mn;++Xi){var ea=Fn[Xi];ea=="m"?Fn[Xi]=oa:oa=ea}for(var $i=0,Sa=pn;$i<Mn;++$i){var Ia=Fn[$i];Ia=="1"&&Sa=="r"?Fn[$i]="n":Me.test(Ia)&&(Sa=Ia,Ia=="r"&&(Fn[$i]="R"))}for(var io=1,Fa=Fn[0];io<Mn-1;++io){var xo=Fn[io];xo=="+"&&Fa=="1"&&Fn[io+1]=="1"?Fn[io]="1":xo==","&&Fa==Fn[io+1]&&(Fa=="1"||Fa=="n")&&(Fn[io]=Fa),Fa=xo}for(var Wo=0;Wo<Mn;++Wo){var us=Fn[Wo];if(us==",")Fn[Wo]="N";else if(us=="%"){var es=void 0;for(es=Wo+1;es<Mn&&Fn[es]=="%";++es);for(var Rs=Wo&&Fn[Wo-1]=="!"||es<Mn&&Fn[es]=="1"?"1":"N",Qs=Wo;Qs<es;++Qs)Fn[Qs]=Rs;Wo=es-1}}for(var xs=0,Js=pn;xs<Mn;++xs){var Ms=Fn[xs];Js=="L"&&Ms=="1"?Fn[xs]="L":Me.test(Ms)&&(Js=Ms)}for(var Aa=0;Aa<Mn;++Aa)if(ue.test(Fn[Aa])){var as=void 0;for(as=Aa+1;as<Mn&&ue.test(Fn[as]);++as);for(var ns=(Aa?Fn[Aa-1]:pn)=="L",gs=(as<Mn?Fn[as]:pn)=="L",Au=ns==gs?ns?"L":"R":pn,Po=Aa;Po<as;++Po)Fn[Po]=Au;Aa=as-1}for(var wo=[],ml,Gs=0;Gs<Mn;)if(dt.test(Fn[Gs])){var yu=Gs;for(++Gs;Gs<Mn&&dt.test(Fn[Gs]);++Gs);wo.push(new Qt(0,yu,Gs))}else{var Dl=Gs,gl=wo.length,Xl=en=="rtl"?1:0;for(++Gs;Gs<Mn&&Fn[Gs]!="L";++Gs);for(var il=Dl;il<Gs;)if(Tt.test(Fn[il])){Dl<il&&(wo.splice(gl,0,new Qt(1,Dl,il)),gl+=Xl);var Rl=il;for(++il;il<Gs&&Tt.test(Fn[il]);++il);wo.splice(gl,0,new Qt(2,Rl,il)),gl+=Xl,Dl=il}else++il;Dl<Gs&&wo.splice(gl,0,new Qt(1,Dl,Gs))}return en=="ltr"&&(wo[0].level==1&&(ml=tr.match(/^\s+/))&&(wo[0].from=ml[0].length,wo.unshift(new Qt(0,0,ml[0].length))),ce(wo).level==1&&(ml=tr.match(/\s+$/))&&(ce(wo).to-=ml[0].length,wo.push(new Qt(0,Mn-ml[0].length,Mn)))),en=="rtl"?wo.reverse():wo}}();function nt(P,K){var q=P.order;return q==null&&(q=P.order=We(P.text,K)),q}var $e=[],Le=function(K,q,te){if(K.addEventListener)K.addEventListener(q,te,!1);else if(K.attachEvent)K.attachEvent("on"+q,te);else{var ue=K._handlers||(K._handlers={});ue[q]=(ue[q]||$e).concat(te)}};function pt(P,K){return P._handlers&&P._handlers[K]||$e}function Qe(P,K,q){if(P.removeEventListener)P.removeEventListener(K,q,!1);else if(P.detachEvent)P.detachEvent("on"+K,q);else{var te=P._handlers,ue=te&&te[K];if(ue){var Me=z(ue,q);Me>-1&&(te[K]=ue.slice(0,Me).concat(ue.slice(Me+1)))}}}function gt(P,K){var q=pt(P,K);if(!q.length)return;for(var te=Array.prototype.slice.call(arguments,2),ue=0;ue<q.length;++ue)q[ue].apply(null,te)}function wt(P,K,q){return typeof K=="string"&&(K={type:K,preventDefault:function(){this.defaultPrevented=!0}}),gt(P,q||K.type,P,K),ae(K)||K.codemirrorIgnore}function Et(P){var K=P._handlers&&P._handlers.cursorActivity;if(!K)return;for(var q=P.curOp.cursorActivityHandlers||(P.curOp.cursorActivityHandlers=[]),te=0;te<K.length;++te)z(q,K[te])==-1&&q.push(K[te])}function _t(P,K){return pt(P,K).length>0}function Ht(P){P.prototype.on=function(K,q){Le(this,K,q)},P.prototype.off=function(K,q){Qe(this,K,q)}}function Ze(P){P.preventDefault?P.preventDefault():P.returnValue=!1}function ye(P){P.stopPropagation?P.stopPropagation():P.cancelBubble=!0}function ae(P){return P.defaultPrevented!=null?P.defaultPrevented:P.returnValue==!1}function yt(P){Ze(P),ye(P)}function et(P){return P.target||P.srcElement}function me(P){var K=P.which;return K==null&&(P.button&1?K=1:P.button&2?K=3:P.button&4&&(K=2)),h&&P.ctrlKey&&K==1&&(K=3),K}var Gt=function(){if(p&&c<9)return!1;var P=L("div");return"draggable"in P||"dragDrop"in P}(),rr;function ut(P){if(rr==null){var K=L("span","\u200B");I(P,L("span",[K,document.createTextNode("x")])),P.firstChild.offsetHeight!=0&&(rr=K.offsetWidth<=1&&K.offsetHeight>2&&!(p&&c<8))}var q=rr?L("span","\u200B"):L("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return q.setAttribute("cm-text",""),q}var Xt;function ur(P){if(Xt!=null)return Xt;var K=I(P,document.createTextNode("A\u062EA")),q=N(K,0,1).getBoundingClientRect(),te=N(K,1,2).getBoundingClientRect();return S(P),!q||q.left==q.right?!1:Xt=te.right-q.right<3}var Fr=`
b`.split(/\n/).length!=3?function(P){for(var K=0,q=[],te=P.length;K<=te;){var ue=P.indexOf(`
`,K);ue==-1&&(ue=P.length);var Me=P.slice(K,P.charAt(ue-1)=="\r"?ue-1:ue),dt=Me.indexOf("\r");dt!=-1?(q.push(Me.slice(0,dt)),K+=dt+1):(q.push(Me),K=ue+1)}return q}:function(P){return P.split(/\r\n?|\n/)},er=window.getSelection?function(P){try{return P.selectionStart!=P.selectionEnd}catch(K){return!1}}:function(P){var K;try{K=P.ownerDocument.selection.createRange()}catch(q){}return!K||K.parentElement()!=P?!1:K.compareEndPoints("StartToEnd",K)!=0},nr=function(){var P=L("div");return"oncopy"in P?!0:(P.setAttribute("oncopy","return;"),typeof P.oncopy=="function")}(),Lt=null;function at(P){if(Lt!=null)return Lt;var K=I(P,L("span","x")),q=K.getBoundingClientRect(),te=N(K,0,1).getBoundingClientRect();return Lt=Math.abs(q.left-te.left)>1}var Je={},qt={};function Sr(P,K){arguments.length>2&&(K.dependencies=Array.prototype.slice.call(arguments,2)),Je[P]=K}function yr(P,K){qt[P]=K}function fr(P){if(typeof P=="string"&&qt.hasOwnProperty(P))P=qt[P];else if(P&&typeof P.name=="string"&&qt.hasOwnProperty(P.name)){var K=qt[P.name];typeof K=="string"&&(K={name:K}),P=ze(K,P),P.name=K.name}else{if(typeof P=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(P))return fr("application/xml");if(typeof P=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(P))return fr("application/json")}return typeof P=="string"?{name:P}:P||{name:"null"}}function yn(P,K){K=fr(K);var q=Je[K.name];if(!q)return yn(P,"text/plain");var te=q(P,K);if(Jr.hasOwnProperty(K.name)){var ue=Jr[K.name];for(var Me in ue){if(!ue.hasOwnProperty(Me))continue;te.hasOwnProperty(Me)&&(te["_"+Me]=te[Me]),te[Me]=ue[Me]}}if(te.name=K.name,K.helperType&&(te.helperType=K.helperType),K.modeProps)for(var dt in K.modeProps)te[dt]=K.modeProps[dt];return te}var Jr={};function Ln(P,K){var q=Jr.hasOwnProperty(P)?Jr[P]:Jr[P]={};j(K,q)}function Nt(P,K){if(K===!0)return K;if(P.copyState)return P.copyState(K);var q={};for(var te in K){var ue=K[te];ue instanceof Array&&(ue=ue.concat([])),q[te]=ue}return q}function Ve(P,K){for(var q;P.innerMode&&!(q=P.innerMode(K),!q||q.mode==P);)K=q.state,P=q.mode;return q||{mode:P,state:K}}function _e(P,K,q){return P.startState?P.startState(K,q):!0}var ke=function(K,q,te){this.pos=this.start=0,this.string=K,this.tabSize=q||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=te};ke.prototype.eol=function(){return this.pos>=this.string.length},ke.prototype.sol=function(){return this.pos==this.lineStart},ke.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ke.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},ke.prototype.eat=function(P){var K=this.string.charAt(this.pos),q;if(typeof P=="string"?q=K==P:q=K&&(P.test?P.test(K):P(K)),q)return++this.pos,K},ke.prototype.eatWhile=function(P){for(var K=this.pos;this.eat(P););return this.pos>K},ke.prototype.eatSpace=function(){for(var P=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>P},ke.prototype.skipToEnd=function(){this.pos=this.string.length},ke.prototype.skipTo=function(P){var K=this.string.indexOf(P,this.pos);if(K>-1)return this.pos=K,!0},ke.prototype.backUp=function(P){this.pos-=P},ke.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=W(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},ke.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},ke.prototype.match=function(P,K,q){if(typeof P=="string"){var te=function(Tt){return q?Tt.toLowerCase():Tt},ue=this.string.substr(this.pos,P.length);if(te(ue)==te(P))return K!==!1&&(this.pos+=P.length),!0}else{var Me=this.string.slice(this.pos).match(P);return Me&&Me.index>0?null:(Me&&K!==!1&&(this.pos+=Me[0].length),Me)}},ke.prototype.current=function(){return this.string.slice(this.start,this.pos)},ke.prototype.hideFirstChars=function(P,K){this.lineStart+=P;try{return K()}finally{this.lineStart-=P}},ke.prototype.lookAhead=function(P){var K=this.lineOracle;return K&&K.lookAhead(P)},ke.prototype.baseToken=function(){var P=this.lineOracle;return P&&P.baseToken(this.pos)};function Pe(P,K){if(K-=P.first,K<0||K>=P.size)throw new Error("There is no line "+(K+P.first)+" in the document.");for(var q=P;!q.lines;)for(var te=0;;++te){var ue=q.children[te],Me=ue.chunkSize();if(K<Me){q=ue;break}K-=Me}return q.lines[K]}function rt(P,K,q){var te=[],ue=K.line;return P.iter(K.line,q.line+1,function(Me){var dt=Me.text;ue==q.line&&(dt=dt.slice(0,q.ch)),ue==K.line&&(dt=dt.slice(K.ch)),te.push(dt),++ue}),te}function Pt(P,K,q){var te=[];return P.iter(K,q,function(ue){te.push(ue.text)}),te}function Yt(P,K){var q=K-P.height;if(q)for(var te=P;te;te=te.parent)te.height+=q}function kt(P){if(P.parent==null)return null;for(var K=P.parent,q=z(K.lines,P),te=K.parent;te;K=te,te=te.parent)for(var ue=0;!(te.children[ue]==K);++ue)q+=te.children[ue].chunkSize();return q+K.first}function _r(P,K){var q=P.first;e:do{for(var te=0;te<P.children.length;++te){var ue=P.children[te],Me=ue.height;if(K<Me){P=ue;continue e}K-=Me,q+=ue.chunkSize()}return q}while(!P.lines);for(var dt=0;dt<P.lines.length;++dt){var Tt=P.lines[dt],Qt=Tt.height;if(K<Qt)break;K-=Qt}return q+dt}function Rr(P,K){return K>=P.first&&K<P.first+P.size}function un(P,K){return String(P.lineNumberFormatter(K+P.firstLineNumber))}function Ut(P,K,q){if(q===void 0&&(q=null),!(this instanceof Ut))return new Ut(P,K,q);this.line=P,this.ch=K,this.sticky=q}function ht(P,K){return P.line-K.line||P.ch-K.ch}function ot(P,K){return P.sticky==K.sticky&&ht(P,K)==0}function Wt(P){return Ut(P.line,P.ch)}function Jt(P,K){return ht(P,K)<0?K:P}function At(P,K){return ht(P,K)<0?P:K}function Bt(P,K){return Math.max(P.first,Math.min(K,P.first+P.size-1))}function mt(P,K){if(K.line<P.first)return Ut(P.first,0);var q=P.first+P.size-1;return K.line>q?Ut(q,Pe(P,q).text.length):Mt(K,Pe(P,K.line).text.length)}function Mt(P,K){var q=P.ch;return q==null||q>K?Ut(P.line,K):q<0?Ut(P.line,0):P}function hr(P,K){for(var q=[],te=0;te<K.length;te++)q[te]=mt(P,K[te]);return q}var or=function(K,q){this.state=K,this.lookAhead=q},ar=function(K,q,te,ue){this.state=q,this.doc=K,this.line=te,this.maxLookAhead=ue||0,this.baseTokens=null,this.baseTokenPos=1};ar.prototype.lookAhead=function(P){var K=this.doc.getLine(this.line+P);return K!=null&&P>this.maxLookAhead&&(this.maxLookAhead=P),K},ar.prototype.baseToken=function(P){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=P;)this.baseTokenPos+=2;var K=this.baseTokens[this.baseTokenPos+1];return{type:K&&K.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-P}},ar.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ar.fromSaved=function(P,K,q){return K instanceof or?new ar(P,Nt(P.mode,K.state),q,K.lookAhead):new ar(P,Nt(P.mode,K),q)},ar.prototype.save=function(P){var K=P!==!1?Nt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new or(K,this.maxLookAhead):K};function Gr(P,K,q,te){var ue=[P.state.modeGen],Me={};Ie(P,K.text,P.doc.mode,q,function(tr,en){return ue.push(tr,en)},Me,te);for(var dt=q.state,Tt=function(en){q.baseTokens=ue;var pn=P.state.overlays[en],Mn=1,Fn=0;q.state=!0,Ie(P,K.text,pn.mode,q,function(yi,Xi){for(var oa=Mn;Fn<yi;){var ea=ue[Mn];ea>yi&&ue.splice(Mn,1,yi,ue[Mn+1],ea),Mn+=2,Fn=Math.min(yi,ea)}if(!Xi)return;if(pn.opaque)ue.splice(oa,Mn-oa,yi,"overlay "+Xi),Mn=oa+2;else for(;oa<Mn;oa+=2){var $i=ue[oa+1];ue[oa+1]=($i?$i+" ":"")+"overlay "+Xi}},Me),q.state=dt,q.baseTokens=null,q.baseTokenPos=1},Qt=0;Qt<P.state.overlays.length;++Qt)Tt(Qt);return{styles:ue,classes:Me.bgClass||Me.textClass?Me:null}}function Yr(P,K,q){if(!K.styles||K.styles[0]!=P.state.modeGen){var te=In(P,kt(K)),ue=K.text.length>P.options.maxHighlightLength&&Nt(P.doc.mode,te.state),Me=Gr(P,K,te);ue&&(te.state=ue),K.stateAfter=te.save(!ue),K.styles=Me.styles,Me.classes?K.styleClasses=Me.classes:K.styleClasses&&(K.styleClasses=null),q===P.doc.highlightFrontier&&(P.doc.modeFrontier=Math.max(P.doc.modeFrontier,++P.doc.highlightFrontier))}return K.styles}function In(P,K,q){var te=P.doc,ue=P.display;if(!te.mode.startState)return new ar(te,!0,K);var Me=Be(P,K,q),dt=Me>te.first&&Pe(te,Me-1).stateAfter,Tt=dt?ar.fromSaved(te,dt,Me):new ar(te,_e(te.mode),Me);return te.iter(Me,K,function(Qt){Nn(P,Qt.text,Tt);var tr=Tt.line;Qt.stateAfter=tr==K-1||tr%5==0||tr>=ue.viewFrom&&tr<ue.viewTo?Tt.save():null,Tt.nextLine()}),q&&(te.modeFrontier=Tt.line),Tt}function Nn(P,K,q,te){var ue=P.doc.mode,Me=new ke(K,P.options.tabSize,q);for(Me.start=Me.pos=te||0,K==""&&Kn(ue,q.state);!Me.eol();)$n(ue,Me,q.state),Me.start=Me.pos}function Kn(P,K){if(P.blankLine)return P.blankLine(K);if(!P.innerMode)return;var q=Ve(P,K);if(q.mode.blankLine)return q.mode.blankLine(q.state)}function $n(P,K,q,te){for(var ue=0;ue<10;ue++){te&&(te[0]=Ve(P,q).mode);var Me=P.token(K,q);if(K.pos>K.start)return Me}throw new Error("Mode "+P.name+" failed to advance stream.")}var Ii=function(K,q,te){this.start=K.start,this.end=K.pos,this.string=K.current(),this.type=q||null,this.state=te};function Mi(P,K,q,te){var ue=P.doc,Me=ue.mode,dt;K=mt(ue,K);var Tt=Pe(ue,K.line),Qt=In(P,K.line,q),tr=new ke(Tt.text,P.options.tabSize,Qt),en;for(te&&(en=[]);(te||tr.pos<K.ch)&&!tr.eol();)tr.start=tr.pos,dt=$n(Me,tr,Qt.state),te&&en.push(new Ii(tr,dt,Nt(ue.mode,Qt.state)));return te?en:new Ii(tr,dt,Qt.state)}function Xe(P,K){if(P)for(;;){var q=P.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!q)break;P=P.slice(0,q.index)+P.slice(q.index+q[0].length);var te=q[1]?"bgClass":"textClass";K[te]==null?K[te]=q[2]:new RegExp("(?:^|\\s)"+q[2]+"(?:$|\\s)").test(K[te])||(K[te]+=" "+q[2])}return P}function Ie(P,K,q,te,ue,Me,dt){var Tt=q.flattenSpans;Tt==null&&(Tt=P.options.flattenSpans);var Qt=0,tr=null,en=new ke(K,P.options.tabSize,te),pn,Mn=P.options.addModeClass&&[null];for(K==""&&Xe(Kn(q,te.state),Me);!en.eol();){if(en.pos>P.options.maxHighlightLength?(Tt=!1,dt&&Nn(P,K,te,en.pos),en.pos=K.length,pn=null):pn=Xe($n(q,en,te.state,Mn),Me),Mn){var Fn=Mn[0].name;Fn&&(pn="m-"+(pn?Fn+" "+pn:Fn))}if(!Tt||tr!=pn){for(;Qt<en.start;)Qt=Math.min(en.start,Qt+5e3),ue(Qt,tr);tr=pn}en.start=en.pos}for(;Qt<en.pos;){var yi=Math.min(en.pos,Qt+5e3);ue(yi,tr),Qt=yi}}function Be(P,K,q){for(var te,ue,Me=P.doc,dt=q?-1:K-(P.doc.mode.innerMode?1e3:100),Tt=K;Tt>dt;--Tt){if(Tt<=Me.first)return Me.first;var Qt=Pe(Me,Tt-1),tr=Qt.stateAfter;if(tr&&(!q||Tt+(tr instanceof or?tr.lookAhead:0)<=Me.modeFrontier))return Tt;var en=W(Qt.text,null,P.options.tabSize);(ue==null||te>en)&&(ue=Tt-1,te=en)}return ue}function Fe(P,K){if(P.modeFrontier=Math.min(P.modeFrontier,K),P.highlightFrontier<K-10)return;for(var q=P.first,te=K-1;te>q;te--){var ue=Pe(P,te).stateAfter;if(ue&&(!(ue instanceof or)||te+ue.lookAhead<K)){q=te+1;break}}P.highlightFrontier=Math.min(P.highlightFrontier,q)}var Ge=!1,Ke=!1;function qe(){Ge=!0}function vt(){Ke=!0}function lt(P,K,q){this.marker=P,this.from=K,this.to=q}function Ft(P,K){if(P)for(var q=0;q<P.length;++q){var te=P[q];if(te.marker==K)return te}}function wr(P,K){for(var q,te=0;te<P.length;++te)P[te]!=K&&(q||(q=[])).push(P[te]);return q}function pr(P,K){P.markedSpans=P.markedSpans?P.markedSpans.concat([K]):[K],K.marker.attachLine(P)}function Dr(P,K,q){var te;if(P)for(var ue=0;ue<P.length;++ue){var Me=P[ue],dt=Me.marker,Tt=Me.from==null||(dt.inclusiveLeft?Me.from<=K:Me.from<K);if(Tt||Me.from==K&&dt.type=="bookmark"&&(!q||!Me.marker.insertLeft)){var Qt=Me.to==null||(dt.inclusiveRight?Me.to>=K:Me.to>K);(te||(te=[])).push(new lt(dt,Me.from,Qt?null:Me.to))}}return te}function zt(P,K,q){var te;if(P)for(var ue=0;ue<P.length;++ue){var Me=P[ue],dt=Me.marker,Tt=Me.to==null||(dt.inclusiveRight?Me.to>=K:Me.to>K);if(Tt||Me.from==K&&dt.type=="bookmark"&&(!q||Me.marker.insertLeft)){var Qt=Me.from==null||(dt.inclusiveLeft?Me.from<=K:Me.from<K);(te||(te=[])).push(new lt(dt,Qt?null:Me.from-K,Me.to==null?null:Me.to-K))}}return te}function hn(P,K){if(K.full)return null;var q=Rr(P,K.from.line)&&Pe(P,K.from.line).markedSpans,te=Rr(P,K.to.line)&&Pe(P,K.to.line).markedSpans;if(!q&&!te)return null;var ue=K.from.ch,Me=K.to.ch,dt=ht(K.from,K.to)==0,Tt=Dr(q,ue,dt),Qt=zt(te,Me,dt),tr=K.text.length==1,en=ce(K.text).length+(tr?ue:0);if(Tt)for(var pn=0;pn<Tt.length;++pn){var Mn=Tt[pn];if(Mn.to==null){var Fn=Ft(Qt,Mn.marker);Fn?tr&&(Mn.to=Fn.to==null?null:Fn.to+en):Mn.to=ue}}if(Qt)for(var yi=0;yi<Qt.length;++yi){var Xi=Qt[yi];if(Xi.to!=null&&(Xi.to+=en),Xi.from==null){var oa=Ft(Tt,Xi.marker);oa||(Xi.from=en,tr&&(Tt||(Tt=[])).push(Xi))}else Xi.from+=en,tr&&(Tt||(Tt=[])).push(Xi)}Tt&&(Tt=ir(Tt)),Qt&&Qt!=Tt&&(Qt=ir(Qt));var ea=[Tt];if(!tr){var $i=K.text.length-2,Sa;if($i>0&&Tt)for(var Ia=0;Ia<Tt.length;++Ia)Tt[Ia].to==null&&(Sa||(Sa=[])).push(new lt(Tt[Ia].marker,null,null));for(var io=0;io<$i;++io)ea.push(Sa);ea.push(Qt)}return ea}function ir(P){for(var K=0;K<P.length;++K){var q=P[K];q.from!=null&&q.from==q.to&&q.marker.clearWhenEmpty!==!1&&P.splice(K--,1)}return P.length?P:null}function Xr(P,K,q){var te=null;if(P.iter(K.line,q.line+1,function(Fn){if(Fn.markedSpans)for(var yi=0;yi<Fn.markedSpans.length;++yi){var Xi=Fn.markedSpans[yi].marker;Xi.readOnly&&(!te||z(te,Xi)==-1)&&(te||(te=[])).push(Xi)}}),!te)return null;for(var ue=[{from:K,to:q}],Me=0;Me<te.length;++Me)for(var dt=te[Me],Tt=dt.find(0),Qt=0;Qt<ue.length;++Qt){var tr=ue[Qt];if(ht(tr.to,Tt.from)<0||ht(tr.from,Tt.to)>0)continue;var en=[Qt,1],pn=ht(tr.from,Tt.from),Mn=ht(tr.to,Tt.to);(pn<0||!dt.inclusiveLeft&&!pn)&&en.push({from:tr.from,to:Tt.from}),(Mn>0||!dt.inclusiveRight&&!Mn)&&en.push({from:Tt.to,to:tr.to}),ue.splice.apply(ue,en),Qt+=en.length-3}return ue}function Br(P){var K=P.markedSpans;if(!K)return;for(var q=0;q<K.length;++q)K[q].marker.detachLine(P);P.markedSpans=null}function vr(P,K){if(!K)return;for(var q=0;q<K.length;++q)K[q].marker.attachLine(P);P.markedSpans=K}function Cn(P){return P.inclusiveLeft?-1:0}function kn(P){return P.inclusiveRight?1:0}function ei(P,K){var q=P.lines.length-K.lines.length;if(q!=0)return q;var te=P.find(),ue=K.find(),Me=ht(te.from,ue.from)||Cn(P)-Cn(K);if(Me)return-Me;var dt=ht(te.to,ue.to)||kn(P)-kn(K);return dt||K.id-P.id}function ii(P,K){var q=Ke&&P.markedSpans,te;if(q)for(var ue=void 0,Me=0;Me<q.length;++Me)ue=q[Me],ue.marker.collapsed&&(K?ue.from:ue.to)==null&&(!te||ei(te,ue.marker)<0)&&(te=ue.marker);return te}function ti(P){return ii(P,!0)}function Ti(P){return ii(P,!1)}function Bn(P,K){var q=Ke&&P.markedSpans,te;if(q)for(var ue=0;ue<q.length;++ue){var Me=q[ue];Me.marker.collapsed&&(Me.from==null||Me.from<K)&&(Me.to==null||Me.to>K)&&(!te||ei(te,Me.marker)<0)&&(te=Me.marker)}return te}function Di(P,K,q,te,ue){var Me=Pe(P,K),dt=Ke&&Me.markedSpans;if(dt)for(var Tt=0;Tt<dt.length;++Tt){var Qt=dt[Tt];if(!Qt.marker.collapsed)continue;var tr=Qt.marker.find(0),en=ht(tr.from,q)||Cn(Qt.marker)-Cn(ue),pn=ht(tr.to,te)||kn(Qt.marker)-kn(ue);if(en>=0&&pn<=0||en<=0&&pn>=0)continue;if(en<=0&&(Qt.marker.inclusiveRight&&ue.inclusiveLeft?ht(tr.to,q)>=0:ht(tr.to,q)>0)||en>=0&&(Qt.marker.inclusiveRight&&ue.inclusiveLeft?ht(tr.from,te)<=0:ht(tr.from,te)<0))return!0}}function gn(P){for(var K;K=ti(P);)P=K.find(-1,!0).line;return P}function Vr(P){for(var K;K=Ti(P);)P=K.find(1,!0).line;return P}function Sn(P){for(var K,q;K=Ti(P);)P=K.find(1,!0).line,(q||(q=[])).push(P);return q}function tn(P,K){var q=Pe(P,K),te=gn(q);return q==te?K:kt(te)}function ci(P,K){if(K>P.lastLine())return K;var q=Pe(P,K),te;if(!qn(P,q))return K;for(;te=Ti(q);)q=te.find(1,!0).line;return kt(q)+1}function qn(P,K){var q=Ke&&K.markedSpans;if(q)for(var te=void 0,ue=0;ue<q.length;++ue){if(te=q[ue],!te.marker.collapsed)continue;if(te.from==null)return!0;if(te.marker.widgetNode)continue;if(te.from==0&&te.marker.inclusiveLeft&&wi(P,K,te))return!0}}function wi(P,K,q){if(q.to==null){var te=q.marker.find(1,!0);return wi(P,te.line,Ft(te.line.markedSpans,q.marker))}if(q.marker.inclusiveRight&&q.to==K.text.length)return!0;for(var ue=void 0,Me=0;Me<K.markedSpans.length;++Me)if(ue=K.markedSpans[Me],ue.marker.collapsed&&!ue.marker.widgetNode&&ue.from==q.to&&(ue.to==null||ue.to!=q.from)&&(ue.marker.inclusiveLeft||q.marker.inclusiveRight)&&wi(P,K,ue))return!0}function Jn(P){P=gn(P);for(var K=0,q=P.parent,te=0;te<q.lines.length;++te){var ue=q.lines[te];if(ue==P)break;K+=ue.height}for(var Me=q.parent;Me;q=Me,Me=q.parent)for(var dt=0;dt<Me.children.length;++dt){var Tt=Me.children[dt];if(Tt==q)break;K+=Tt.height}return K}function Qi(P){if(P.height==0)return 0;for(var K=P.text.length,q,te=P;q=ti(te);){var ue=q.find(0,!0);te=ue.from.line,K+=ue.from.ch-ue.to.ch}for(te=P;q=Ti(te);){var Me=q.find(0,!0);K-=te.text.length-Me.from.ch,te=Me.to.line,K+=te.text.length-Me.to.ch}return K}function xi(P){var K=P.display,q=P.doc;K.maxLine=Pe(q,q.first),K.maxLineLength=Qi(K.maxLine),K.maxLineChanged=!0,q.iter(function(te){var ue=Qi(te);ue>K.maxLineLength&&(K.maxLineLength=ue,K.maxLine=te)})}var Ei=function(K,q,te){this.text=K,vr(this,q),this.height=te?te(this):1};Ei.prototype.lineNo=function(){return kt(this)},Ht(Ei);function dn(P,K,q,te){P.text=K,P.stateAfter&&(P.stateAfter=null),P.styles&&(P.styles=null),P.order!=null&&(P.order=null),Br(P),vr(P,q);var ue=te?te(P):1;ue!=P.height&&Yt(P,ue)}function Mr(P){P.parent=null,Br(P)}var wn={},Rn={};function Xn(P,K){if(!P||/^\s*$/.test(P))return null;var q=K.addModeClass?Rn:wn;return q[P]||(q[P]=P.replace(/\S+/g,"cm-$&"))}function Zn(P,K){var q=O("span",null,null,o?"padding-right: .1px":null),te={pre:O("pre",[q],"CodeMirror-line"),content:q,col:0,pos:0,cm:P,trailingSpace:!1,splitSpaces:P.getOption("lineWrapping")};K.measure={};for(var ue=0;ue<=(K.rest?K.rest.length:0);ue++){var Me=ue?K.rest[ue-1]:K.line,dt=void 0;te.pos=0,te.addToken=mi,ur(P.display.measure)&&(dt=nt(Me,P.doc.direction))&&(te.addToken=Vi(te.addToken,dt)),te.map=[];var Tt=K!=P.display.externalMeasured&&kt(Me);ca(Me,te,Yr(P,Me,Tt)),Me.styleClasses&&(Me.styleClasses.bgClass&&(te.bgClass=M(Me.styleClasses.bgClass,te.bgClass||"")),Me.styleClasses.textClass&&(te.textClass=M(Me.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(ut(P.display.measure))),ue==0?(K.measure.map=te.map,K.measure.cache={}):((K.measure.maps||(K.measure.maps=[])).push(te.map),(K.measure.caches||(K.measure.caches=[])).push({}))}if(o){var Qt=te.content.lastChild;(/\bcm-tab\b/.test(Qt.className)||Qt.querySelector&&Qt.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return gt(P,"renderLine",P,K.line,te.pre),te.pre.className&&(te.textClass=M(te.pre.className,te.textClass||"")),te}function hi(P){var K=L("span","\u2022","cm-invalidchar");return K.title="\\u"+P.charCodeAt(0).toString(16),K.setAttribute("aria-label",K.title),K}function mi(P,K,q,te,ue,Me,dt){if(!K)return;var Tt=P.splitSpaces?gi(K,P.trailingSpace):K,Qt=P.cm.state.specialChars,tr=!1,en;if(!Qt.test(K))P.col+=K.length,en=document.createTextNode(Tt),P.map.push(P.pos,P.pos+K.length,en),p&&c<9&&(tr=!0),P.pos+=K.length;else{en=document.createDocumentFragment();for(var pn=0;;){Qt.lastIndex=pn;var Mn=Qt.exec(K),Fn=Mn?Mn.index-pn:K.length-pn;if(Fn){var yi=document.createTextNode(Tt.slice(pn,pn+Fn));p&&c<9?en.appendChild(L("span",[yi])):en.appendChild(yi),P.map.push(P.pos,P.pos+Fn,yi),P.col+=Fn,P.pos+=Fn}if(!Mn)break;pn+=Fn+1;var Xi=void 0;if(Mn[0]==" "){var oa=P.cm.options.tabSize,ea=oa-P.col%oa;Xi=en.appendChild(L("span",De(ea),"cm-tab")),Xi.setAttribute("role","presentation"),Xi.setAttribute("cm-text"," "),P.col+=ea}else Mn[0]=="\r"||Mn[0]==`
`?(Xi=en.appendChild(L("span",Mn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Xi.setAttribute("cm-text",Mn[0]),P.col+=1):(Xi=P.cm.options.specialCharPlaceholder(Mn[0]),Xi.setAttribute("cm-text",Mn[0]),p&&c<9?en.appendChild(L("span",[Xi])):en.appendChild(Xi),P.col+=1);P.map.push(P.pos,P.pos+1,Xi),P.pos++}}if(P.trailingSpace=Tt.charCodeAt(K.length-1)==32,q||te||ue||tr||Me||dt){var $i=q||"";te&&($i+=te),ue&&($i+=ue);var Sa=L("span",[en],$i,Me);if(dt)for(var Ia in dt)dt.hasOwnProperty(Ia)&&Ia!="style"&&Ia!="class"&&Sa.setAttribute(Ia,dt[Ia]);return P.content.appendChild(Sa)}P.content.appendChild(en)}function gi(P,K){if(P.length>1&&!/ /.test(P))return P;for(var q=K,te="",ue=0;ue<P.length;ue++){var Me=P.charAt(ue);Me==" "&&q&&(ue==P.length-1||P.charCodeAt(ue+1)==32)&&(Me="\xA0"),te+=Me,q=Me==" "}return te}function Vi(P,K){return function(q,te,ue,Me,dt,Tt,Qt){ue=ue?ue+" cm-force-border":"cm-force-border";for(var tr=q.pos,en=tr+te.length;;){for(var pn=void 0,Mn=0;Mn<K.length&&!(pn=K[Mn],pn.to>tr&&pn.from<=tr);Mn++);if(pn.to>=en)return P(q,te,ue,Me,dt,Tt,Qt);P(q,te.slice(0,pn.to-tr),ue,Me,null,Tt,Qt),Me=null,te=te.slice(pn.to-tr),tr=pn.to}}}function ma(P,K,q,te){var ue=!te&&q.widgetNode;ue&&P.map.push(P.pos,P.pos+K,ue),!te&&P.cm.display.input.needsContentAttribute&&(ue||(ue=P.content.appendChild(document.createElement("span"))),ue.setAttribute("cm-marker",q.id)),ue&&(P.cm.display.input.setUneditable(ue),P.content.appendChild(ue)),P.pos+=K,P.trailingSpace=!1}function ca(P,K,q){var te=P.markedSpans,ue=P.text,Me=0;if(!te){for(var dt=1;dt<q.length;dt+=2)K.addToken(K,ue.slice(Me,Me=q[dt]),Xn(q[dt+1],K.cm.options));return}for(var Tt=ue.length,Qt=0,tr=1,en="",pn,Mn,Fn=0,yi,Xi,oa,ea,$i;;){if(Fn==Qt){yi=Xi=oa=Mn="",$i=null,ea=null,Fn=Infinity;for(var Sa=[],Ia=void 0,io=0;io<te.length;++io){var Fa=te[io],xo=Fa.marker;if(xo.type=="bookmark"&&Fa.from==Qt&&xo.widgetNode)Sa.push(xo);else if(Fa.from<=Qt&&(Fa.to==null||Fa.to>Qt||xo.collapsed&&Fa.to==Qt&&Fa.from==Qt)){if(Fa.to!=null&&Fa.to!=Qt&&Fn>Fa.to&&(Fn=Fa.to,Xi=""),xo.className&&(yi+=" "+xo.className),xo.css&&(Mn=(Mn?Mn+";":"")+xo.css),xo.startStyle&&Fa.from==Qt&&(oa+=" "+xo.startStyle),xo.endStyle&&Fa.to==Fn&&(Ia||(Ia=[])).push(xo.endStyle,Fa.to),xo.title&&(($i||($i={})).title=xo.title),xo.attributes)for(var Wo in xo.attributes)($i||($i={}))[Wo]=xo.attributes[Wo];xo.collapsed&&(!ea||ei(ea.marker,xo)<0)&&(ea=Fa)}else Fa.from>Qt&&Fn>Fa.from&&(Fn=Fa.from)}if(Ia)for(var us=0;us<Ia.length;us+=2)Ia[us+1]==Fn&&(Xi+=" "+Ia[us]);if(!ea||ea.from==Qt)for(var es=0;es<Sa.length;++es)ma(K,0,Sa[es]);if(ea&&(ea.from||0)==Qt){if(ma(K,(ea.to==null?Tt+1:ea.to)-Qt,ea.marker,ea.from==null),ea.to==null)return;ea.to==Qt&&(ea=!1)}}if(Qt>=Tt)break;for(var Rs=Math.min(Tt,Fn);;){if(en){var Qs=Qt+en.length;if(!ea){var xs=Qs>Rs?en.slice(0,Rs-Qt):en;K.addToken(K,xs,pn?pn+yi:yi,oa,Qt+xs.length==Fn?Xi:"",Mn,$i)}if(Qs>=Rs){en=en.slice(Rs-Qt),Qt=Rs;break}Qt=Qs,oa=""}en=ue.slice(Me,Me=q[tr++]),pn=Xn(q[tr++],K.cm.options)}}}function ja(P,K,q){this.line=K,this.rest=Sn(K),this.size=this.rest?kt(ce(this.rest))-q+1:1,this.node=this.text=null,this.hidden=qn(P,K)}function fi(P,K,q){for(var te=[],ue,Me=K;Me<q;Me=ue){var dt=new ja(P.doc,Pe(P.doc,Me),Me);ue=Me+dt.size,te.push(dt)}return te}var cn=null;function Bi(P){cn?cn.ops.push(P):P.ownsGroup=cn={ops:[P],delayedCallbacks:[]}}function sa(P){var K=P.delayedCallbacks,q=0;do{for(;q<K.length;q++)K[q].call(null);for(var te=0;te<P.ops.length;te++){var ue=P.ops[te];if(ue.cursorActivityHandlers)for(;ue.cursorActivityCalled<ue.cursorActivityHandlers.length;)ue.cursorActivityHandlers[ue.cursorActivityCalled++].call(null,ue.cm)}}while(q<K.length)}function zi(P,K){var q=P.ownsGroup;if(!q)return;try{sa(q)}finally{cn=null,K(q)}}var da=null;function Vt(P,K){var q=pt(P,K);if(!q.length)return;var te=Array.prototype.slice.call(arguments,2),ue;cn?ue=cn.delayedCallbacks:da?ue=da:(ue=da=[],setTimeout(Qr,0));for(var Me=function(Qt){ue.push(function(){return q[Qt].apply(null,te)})},dt=0;dt<q.length;++dt)Me(dt)}function Qr(){var P=da;da=null;for(var K=0;K<P.length;++K)P[K]()}function an(P,K,q,te){for(var ue=0;ue<K.changes.length;ue++){var Me=K.changes[ue];Me=="text"?lr(P,K):Me=="gutter"?Lr(P,K,q,te):Me=="class"?sr(P,K):Me=="widget"&&Pr(P,K,te)}K.changes=null}function mn(P){return P.node==P.text&&(P.node=L("div",null,null,"position: relative"),P.text.parentNode&&P.text.parentNode.replaceChild(P.node,P.text),P.node.appendChild(P.text),p&&c<8&&(P.node.style.zIndex=2)),P.node}function Ye(P,K){var q=K.bgClass?K.bgClass+" "+(K.line.bgClass||""):K.line.bgClass;if(q&&(q+=" CodeMirror-linebackground"),K.background)q?K.background.className=q:(K.background.parentNode.removeChild(K.background),K.background=null);else if(q){var te=mn(K);K.background=te.insertBefore(L("div",null,q),te.firstChild),P.display.input.setUneditable(K.background)}}function It(P,K){var q=P.display.externalMeasured;return q&&q.line==K.line?(P.display.externalMeasured=null,K.measure=q.measure,q.built):Zn(P,K)}function lr(P,K){var q=K.text.className,te=It(P,K);K.text==K.node&&(K.node=te.pre),K.text.parentNode.replaceChild(te.pre,K.text),K.text=te.pre,te.bgClass!=K.bgClass||te.textClass!=K.textClass?(K.bgClass=te.bgClass,K.textClass=te.textClass,sr(P,K)):q&&(K.text.className=q)}function sr(P,K){Ye(P,K),K.line.wrapClass?mn(K).className=K.line.wrapClass:K.node!=K.text&&(K.node.className="");var q=K.textClass?K.textClass+" "+(K.line.textClass||""):K.line.textClass;K.text.className=q||""}function Lr(P,K,q,te){if(K.gutter&&(K.node.removeChild(K.gutter),K.gutter=null),K.gutterBackground&&(K.node.removeChild(K.gutterBackground),K.gutterBackground=null),K.line.gutterClass){var ue=mn(K);K.gutterBackground=L("div",null,"CodeMirror-gutter-background "+K.line.gutterClass,"left: "+(P.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px; width: "+te.gutterTotalWidth+"px"),P.display.input.setUneditable(K.gutterBackground),ue.insertBefore(K.gutterBackground,K.text)}var Me=K.line.gutterMarkers;if(P.options.lineNumbers||Me){var dt=mn(K),Tt=K.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(P.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(P.display.input.setUneditable(Tt),dt.insertBefore(Tt,K.text),K.line.gutterClass&&(Tt.className+=" "+K.line.gutterClass),P.options.lineNumbers&&(!Me||!Me["CodeMirror-linenumbers"])&&(K.lineNumber=Tt.appendChild(L("div",un(P.options,q),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+te.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+P.display.lineNumInnerWidth+"px"))),Me)for(var Qt=0;Qt<P.display.gutterSpecs.length;++Qt){var tr=P.display.gutterSpecs[Qt].className,en=Me.hasOwnProperty(tr)&&Me[tr];en&&Tt.appendChild(L("div",[en],"CodeMirror-gutter-elt","left: "+te.gutterLeft[tr]+"px; width: "+te.gutterWidth[tr]+"px"))}}}function Pr(P,K,q){K.alignable&&(K.alignable=null);for(var te=T("CodeMirror-linewidget"),ue=K.node.firstChild,Me=void 0;ue;ue=Me)Me=ue.nextSibling,te.test(ue.className)&&K.node.removeChild(ue);on(P,K,q)}function Kr(P,K,q,te){var ue=It(P,K);return K.text=K.node=ue.pre,ue.bgClass&&(K.bgClass=ue.bgClass),ue.textClass&&(K.textClass=ue.textClass),sr(P,K),Lr(P,K,q,te),on(P,K,te),K.node}function on(P,K,q){if(xn(P,K.line,K,q,!0),K.rest)for(var te=0;te<K.rest.length;te++)xn(P,K.rest[te],K,q,!1)}function xn(P,K,q,te,ue){if(!K.widgets)return;for(var Me=mn(q),dt=0,Tt=K.widgets;dt<Tt.length;++dt){var Qt=Tt[dt],tr=L("div",[Qt.node],"CodeMirror-linewidget"+(Qt.className?" "+Qt.className:""));Qt.handleMouseEvents||tr.setAttribute("cm-ignore-events","true"),An(Qt,tr,q,te),P.display.input.setUneditable(tr),ue&&Qt.above?Me.insertBefore(tr,q.gutter||q.text):Me.appendChild(tr),Vt(Qt,"redraw")}}function An(P,K,q,te){if(P.noHScroll){(q.alignable||(q.alignable=[])).push(K);var ue=te.wrapperWidth;K.style.left=te.fixedPos+"px",P.coverGutter||(ue-=te.gutterTotalWidth,K.style.paddingLeft=te.gutterTotalWidth+"px"),K.style.width=ue+"px"}P.coverGutter&&(K.style.zIndex=5,K.style.position="relative",P.noHScroll||(K.style.marginLeft=-te.gutterTotalWidth+"px"))}function Pn(P){if(P.height!=null)return P.height;var K=P.doc.cm;if(!K)return 0;if(!R(document.body,P.node)){var q="position: relative;";P.coverGutter&&(q+="margin-left: -"+K.display.gutters.offsetWidth+"px;"),P.noHScroll&&(q+="width: "+K.display.wrapper.clientWidth+"px;"),I(K.display.measure,L("div",[P.node],null,q))}return P.height=P.node.parentNode.offsetHeight}function Un(P,K){for(var q=et(K);q!=P.wrapper;q=q.parentNode)if(!q||q.nodeType==1&&q.getAttribute("cm-ignore-events")=="true"||q.parentNode==P.sizer&&q!=P.mover)return!0}function bn(P){return P.lineSpace.offsetTop}function _n(P){return P.mover.offsetHeight-P.lineSpace.offsetHeight}function Tn(P){if(P.cachedPaddingH)return P.cachedPaddingH;var K=I(P.measure,L("pre","x","CodeMirror-line-like")),q=window.getComputedStyle?window.getComputedStyle(K):K.currentStyle,te={left:parseInt(q.paddingLeft),right:parseInt(q.paddingRight)};return!isNaN(te.left)&&!isNaN(te.right)&&(P.cachedPaddingH=te),te}function Wn(P){return Y-P.display.nativeBarWidth}function Gn(P){return P.display.scroller.clientWidth-Wn(P)-P.display.barWidth}function ri(P){return P.display.scroller.clientHeight-Wn(P)-P.display.barHeight}function Si(P,K,q){var te=P.options.lineWrapping,ue=te&&Gn(P);if(!K.measure.heights||te&&K.measure.width!=ue){var Me=K.measure.heights=[];if(te){K.measure.width=ue;for(var dt=K.text.firstChild.getClientRects(),Tt=0;Tt<dt.length-1;Tt++){var Qt=dt[Tt],tr=dt[Tt+1];Math.abs(Qt.bottom-tr.bottom)>2&&Me.push((Qt.bottom+tr.top)/2-q.top)}}Me.push(q.bottom-q.top)}}function oi(P,K,q){if(P.line==K)return{map:P.measure.map,cache:P.measure.cache};for(var te=0;te<P.rest.length;te++)if(P.rest[te]==K)return{map:P.measure.maps[te],cache:P.measure.caches[te]};for(var ue=0;ue<P.rest.length;ue++)if(kt(P.rest[ue])>q)return{map:P.measure.maps[ue],cache:P.measure.caches[ue],before:!0}}function Pi(P,K){K=gn(K);var q=kt(K),te=P.display.externalMeasured=new ja(P.doc,K,q);te.lineN=q;var ue=te.built=Zn(P,te);return te.text=ue.pre,I(P.display.lineMeasure,ue.pre),te}function Hi(P,K,q,te){return ki(P,pi(P,K),q,te)}function _i(P,K){if(K>=P.display.viewFrom&&K<P.display.viewTo)return P.display.view[Qn(P,K)];var q=P.display.externalMeasured;if(q&&K>=q.lineN&&K<q.lineN+q.size)return q}function pi(P,K){var q=kt(K),te=_i(P,q);te&&!te.text?te=null:te&&te.changes&&(an(P,te,q,Ji(P)),P.curOp.forceUpdate=!0),te||(te=Pi(P,K));var ue=oi(te,K,q);return{line:K,view:te,rect:null,map:ue.map,cache:ue.cache,before:ue.before,hasHeights:!1}}function ki(P,K,q,te,ue){K.before&&(q=-1);var Me=q+(te||""),dt;return K.cache.hasOwnProperty(Me)?dt=K.cache[Me]:(K.rect||(K.rect=K.view.text.getBoundingClientRect()),K.hasHeights||(Si(P,K.view,K.rect),K.hasHeights=!0),dt=ta(P,K,q,te),dt.bogus||(K.cache[Me]=dt)),{left:dt.left,right:dt.right,top:ue?dt.rtop:dt.top,bottom:ue?dt.rbottom:dt.bottom}}var zn={left:0,right:0,top:0,bottom:0};function ji(P,K,q){for(var te,ue,Me,dt,Tt,Qt,tr=0;tr<P.length;tr+=3)if(Tt=P[tr],Qt=P[tr+1],K<Tt?(ue=0,Me=1,dt="left"):K<Qt?(ue=K-Tt,Me=ue+1):(tr==P.length-3||K==Qt&&P[tr+3]>K)&&(Me=Qt-Tt,ue=Me-1,K>=Qt&&(dt="right")),ue!=null){if(te=P[tr+2],Tt==Qt&&q==(te.insertLeft?"left":"right")&&(dt=q),q=="left"&&ue==0)for(;tr&&P[tr-2]==P[tr-3]&&P[tr-1].insertLeft;)te=P[(tr-=3)+2],dt="left";if(q=="right"&&ue==Qt-Tt)for(;tr<P.length-3&&P[tr+3]==P[tr+4]&&!P[tr+5].insertLeft;)te=P[(tr+=3)+2],dt="right";break}return{node:te,start:ue,end:Me,collapse:dt,coverStart:Tt,coverEnd:Qt}}function Yi(P,K){var q=zn;if(K=="left")for(var te=0;te<P.length&&!((q=P[te]).left!=q.right);te++);else for(var ue=P.length-1;ue>=0&&!((q=P[ue]).left!=q.right);ue--);return q}function ta(P,K,q,te){var ue=ji(K.map,q,te),Me=ue.node,dt=ue.start,Tt=ue.end,Qt=ue.collapse,tr;if(Me.nodeType==3){for(var en=0;en<4;en++){for(;dt&&de(K.line.text.charAt(ue.coverStart+dt));)--dt;for(;ue.coverStart+Tt<ue.coverEnd&&de(K.line.text.charAt(ue.coverStart+Tt));)++Tt;if(p&&c<9&&dt==0&&Tt==ue.coverEnd-ue.coverStart?tr=Me.parentNode.getBoundingClientRect():tr=Yi(N(Me,dt,Tt).getClientRects(),te),tr.left||tr.right||dt==0)break;Tt=dt,dt=dt-1,Qt="right"}p&&c<11&&(tr=Zi(P.display.measure,tr))}else{dt>0&&(Qt=te="right");var pn;P.options.lineWrapping&&(pn=Me.getClientRects()).length>1?tr=pn[te=="right"?pn.length-1:0]:tr=Me.getBoundingClientRect()}if(p&&c<9&&!dt&&(!tr||!tr.left&&!tr.right)){var Mn=Me.parentNode.getClientRects()[0];Mn?tr={left:Mn.left,right:Mn.left+ia(P.display),top:Mn.top,bottom:Mn.bottom}:tr=zn}for(var Fn=tr.top-K.rect.top,yi=tr.bottom-K.rect.top,Xi=(Fn+yi)/2,oa=K.view.measure.heights,ea=0;ea<oa.length-1&&!(Xi<oa[ea]);ea++);var $i=ea?oa[ea-1]:0,Sa=oa[ea],Ia={left:(Qt=="right"?tr.right:tr.left)-K.rect.left,right:(Qt=="left"?tr.left:tr.right)-K.rect.left,top:$i,bottom:Sa};return!tr.left&&!tr.right&&(Ia.bogus=!0),P.options.singleCursorHeightPerLine||(Ia.rtop=Fn,Ia.rbottom=yi),Ia}function Zi(P,K){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!at(P))return K;var q=screen.logicalXDPI/screen.deviceXDPI,te=screen.logicalYDPI/screen.deviceYDPI;return{left:K.left*q,right:K.right*q,top:K.top*te,bottom:K.bottom*te}}function br(P){if(P.measure&&(P.measure.cache={},P.measure.heights=null,P.rest))for(var K=0;K<P.rest.length;K++)P.measure.caches[K]={}}function Wr(P){P.display.externalMeasure=null,S(P.display.lineMeasure);for(var K=0;K<P.display.view.length;K++)br(P.display.view[K])}function nn(P){Wr(P),P.display.cachedCharWidth=P.display.cachedTextHeight=P.display.cachedPaddingH=null,P.options.lineWrapping||(P.display.maxLineChanged=!0),P.display.lineNumChars=null}function Nr(){return i&&l?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function jt(){return i&&l?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function xr(P){var K=0;if(P.widgets)for(var q=0;q<P.widgets.length;++q)P.widgets[q].above&&(K+=Pn(P.widgets[q]));return K}function $t(P,K,q,te,ue){if(!ue){var Me=xr(K);q.top+=Me,q.bottom+=Me}if(te=="line")return q;te||(te="local");var dt=Jn(K);if(te=="local"?dt+=bn(P.display):dt-=P.display.viewOffset,te=="page"||te=="window"){var Tt=P.display.lineSpace.getBoundingClientRect();dt+=Tt.top+(te=="window"?0:jt());var Qt=Tt.left+(te=="window"?0:Nr());q.left+=Qt,q.right+=Qt}return q.top+=dt,q.bottom+=dt,q}function jr(P,K,q){if(q=="div")return K;var te=K.left,ue=K.top;if(q=="page")te-=Nr(),ue-=jt();else if(q=="local"||!q){var Me=P.display.sizer.getBoundingClientRect();te+=Me.left,ue+=Me.top}var dt=P.display.lineSpace.getBoundingClientRect();return{left:te-dt.left,top:ue-dt.top}}function Hr(P,K,q,te,ue){return te||(te=Pe(P.doc,K.line)),$t(P,te,Hi(P,te,K.ch,ue),q)}function ln(P,K,q,te,ue,Me){te=te||Pe(P.doc,K.line),ue||(ue=pi(P,te));function dt(yi,Xi){var oa=ki(P,ue,yi,Xi?"right":"left",Me);return Xi?oa.left=oa.right:oa.right=oa.left,$t(P,te,oa,q)}var Tt=nt(te,P.doc.direction),Qt=K.ch,tr=K.sticky;if(Qt>=te.text.length?(Qt=te.text.length,tr="before"):Qt<=0&&(Qt=0,tr="after"),!Tt)return dt(tr=="before"?Qt-1:Qt,tr=="before");function en(yi,Xi,oa){var ea=Tt[Xi],$i=ea.level==1;return dt(oa?yi-1:yi,$i!=oa)}var pn=xe(Tt,Qt,tr),Mn=fe,Fn=en(Qt,pn,tr=="before");return Mn!=null&&(Fn.other=en(Qt,Mn,tr!="before")),Fn}function qr(P,K){var q=0;K=mt(P.doc,K),P.options.lineWrapping||(q=ia(P.display)*K.ch);var te=Pe(P.doc,K.line),ue=Jn(te)+bn(P.display);return{left:q,right:q,top:ue,bottom:ue+te.height}}function fn(P,K,q,te,ue){var Me=Ut(P,K,q);return Me.xRel=ue,te&&(Me.outside=te),Me}function Dn(P,K,q){var te=P.doc;if(q+=P.display.viewOffset,q<0)return fn(te.first,0,null,-1,-1);var ue=_r(te,q),Me=te.first+te.size-1;if(ue>Me)return fn(te.first+te.size-1,Pe(te,Me).text.length,null,1,1);K<0&&(K=0);for(var dt=Pe(te,ue);;){var Tt=la(P,dt,ue,K,q),Qt=Bn(dt,Tt.ch+(Tt.xRel>0||Tt.outside>0?1:0));if(!Qt)return Tt;var tr=Qt.find(1);if(tr.line==ue)return tr;dt=Pe(te,ue=tr.line)}}function li(P,K,q,te){te-=xr(K);var ue=K.text.length,Me=we(function(dt){return ki(P,q,dt-1).bottom<=te},ue,0);return ue=we(function(dt){return ki(P,q,dt).top>te},Me,ue),{begin:Me,end:ue}}function di(P,K,q,te){q||(q=pi(P,K));var ue=$t(P,K,ki(P,q,te),"line").top;return li(P,K,q,ue)}function Ri(P,K,q,te){return P.bottom<=q?!1:P.top>q?!0:(te?P.left:P.right)>K}function la(P,K,q,te,ue){ue-=Jn(K);var Me=pi(P,K),dt=xr(K),Tt=0,Qt=K.text.length,tr=!0,en=nt(K,P.doc.direction);if(en){var pn=(P.options.lineWrapping?ga:na)(P,K,q,Me,en,te,ue);tr=pn.level!=1,Tt=tr?pn.from:pn.to-1,Qt=tr?pn.to:pn.from-1}var Mn=null,Fn=null,yi=we(function(io){var Fa=ki(P,Me,io);return Fa.top+=dt,Fa.bottom+=dt,Ri(Fa,te,ue,!1)?(Fa.top<=ue&&Fa.left<=te&&(Mn=io,Fn=Fa),!0):!1},Tt,Qt),Xi,oa,ea=!1;if(Fn){var $i=te-Fn.left<Fn.right-te,Sa=$i==tr;yi=Mn+(Sa?0:1),oa=Sa?"after":"before",Xi=$i?Fn.left:Fn.right}else{!tr&&(yi==Qt||yi==Tt)&&yi++,oa=yi==0?"after":yi==K.text.length?"before":ki(P,Me,yi-(tr?1:0)).bottom+dt<=ue==tr?"after":"before";var Ia=ln(P,Ut(q,yi,oa),"line",K,Me);Xi=Ia.left,ea=ue<Ia.top?-1:ue>=Ia.bottom?1:0}return yi=Ce(K.text,yi,1),fn(q,yi,oa,ea,te-Xi)}function na(P,K,q,te,ue,Me,dt){var Tt=we(function(pn){var Mn=ue[pn],Fn=Mn.level!=1;return Ri(ln(P,Ut(q,Fn?Mn.to:Mn.from,Fn?"before":"after"),"line",K,te),Me,dt,!0)},0,ue.length-1),Qt=ue[Tt];if(Tt>0){var tr=Qt.level!=1,en=ln(P,Ut(q,tr?Qt.from:Qt.to,tr?"after":"before"),"line",K,te);Ri(en,Me,dt,!0)&&en.top>dt&&(Qt=ue[Tt-1])}return Qt}function ga(P,K,q,te,ue,Me,dt){var Tt=li(P,K,te,dt),Qt=Tt.begin,tr=Tt.end;/\s/.test(K.text.charAt(tr-1))&&tr--;for(var en=null,pn=null,Mn=0;Mn<ue.length;Mn++){var Fn=ue[Mn];if(Fn.from>=tr||Fn.to<=Qt)continue;var yi=Fn.level!=1,Xi=ki(P,te,yi?Math.min(tr,Fn.to)-1:Math.max(Qt,Fn.from)).right,oa=Xi<Me?Me-Xi+1e9:Xi-Me;(!en||pn>oa)&&(en=Fn,pn=oa)}return en||(en=ue[ue.length-1]),en.from<Qt&&(en={from:Qt,to:en.to,level:en.level}),en.to>tr&&(en={from:en.from,to:tr,level:en.level}),en}var Fi;function Ni(P){if(P.cachedTextHeight!=null)return P.cachedTextHeight;if(Fi==null){Fi=L("pre",null,"CodeMirror-line-like");for(var K=0;K<49;++K)Fi.appendChild(document.createTextNode("x")),Fi.appendChild(L("br"));Fi.appendChild(document.createTextNode("x"))}I(P.measure,Fi);var q=Fi.offsetHeight/50;return q>3&&(P.cachedTextHeight=q),S(P.measure),q||1}function ia(P){if(P.cachedCharWidth!=null)return P.cachedCharWidth;var K=L("span","xxxxxxxxxx"),q=L("pre",[K],"CodeMirror-line-like");I(P.measure,q);var te=K.getBoundingClientRect(),ue=(te.right-te.left)/10;return ue>2&&(P.cachedCharWidth=ue),ue||10}function Ji(P){for(var K=P.display,q={},te={},ue=K.gutters.clientLeft,Me=K.gutters.firstChild,dt=0;Me;Me=Me.nextSibling,++dt){var Tt=P.display.gutterSpecs[dt].className;q[Tt]=Me.offsetLeft+Me.clientLeft+ue,te[Tt]=Me.clientWidth}return{fixedPos:ha(K),gutterTotalWidth:K.gutters.offsetWidth,gutterLeft:q,gutterWidth:te,wrapperWidth:K.wrapper.clientWidth}}function ha(P){return P.scroller.getBoundingClientRect().left-P.sizer.getBoundingClientRect().left}function Ta(P){var K=Ni(P.display),q=P.options.lineWrapping,te=q&&Math.max(5,P.display.scroller.clientWidth/ia(P.display)-3);return function(ue){if(qn(P.doc,ue))return 0;var Me=0;if(ue.widgets)for(var dt=0;dt<ue.widgets.length;dt++)ue.widgets[dt].height&&(Me+=ue.widgets[dt].height);return q?Me+(Math.ceil(ue.text.length/te)||1)*K:Me+K}}function Pa(P){var K=P.doc,q=Ta(P);K.iter(function(te){var ue=q(te);ue!=te.height&&Yt(te,ue)})}function bi(P,K,q,te){var ue=P.display;if(!q&&et(K).getAttribute("cm-not-content")=="true")return null;var Me,dt,Tt=ue.lineSpace.getBoundingClientRect();try{Me=K.clientX-Tt.left,dt=K.clientY-Tt.top}catch(pn){return null}var Qt=Dn(P,Me,dt),tr;if(te&&Qt.xRel>0&&(tr=Pe(P.doc,Qt.line).text).length==Qt.ch){var en=W(tr,tr.length,P.options.tabSize)-tr.length;Qt=Ut(Qt.line,Math.max(0,Math.round((Me-Tn(P.display).left)/ia(P.display))-en))}return Qt}function Qn(P,K){if(K>=P.display.viewTo)return null;if(K-=P.display.viewFrom,K<0)return null;for(var q=P.display.view,te=0;te<q.length;te++)if(K-=q[te].size,K<0)return te}function vi(P,K,q,te){K==null&&(K=P.doc.first),q==null&&(q=P.doc.first+P.doc.size),te||(te=0);var ue=P.display;if(te&&q<ue.viewTo&&(ue.updateLineNumbers==null||ue.updateLineNumbers>K)&&(ue.updateLineNumbers=K),P.curOp.viewChanged=!0,K>=ue.viewTo)Ke&&tn(P.doc,K)<ue.viewTo&&Gi(P);else if(q<=ue.viewFrom)Ke&&ci(P.doc,q+te)>ue.viewFrom?Gi(P):(ue.viewFrom+=te,ue.viewTo+=te);else if(K<=ue.viewFrom&&q>=ue.viewTo)Gi(P);else if(K<=ue.viewFrom){var Me=Oi(P,q,q+te,1);Me?(ue.view=ue.view.slice(Me.index),ue.viewFrom=Me.lineN,ue.viewTo+=te):Gi(P)}else if(q>=ue.viewTo){var dt=Oi(P,K,K,-1);dt?(ue.view=ue.view.slice(0,dt.index),ue.viewTo=dt.lineN):Gi(P)}else{var Tt=Oi(P,K,K,-1),Qt=Oi(P,q,q+te,1);Tt&&Qt?(ue.view=ue.view.slice(0,Tt.index).concat(fi(P,Tt.lineN,Qt.lineN)).concat(ue.view.slice(Qt.index)),ue.viewTo+=te):Gi(P)}var tr=ue.externalMeasured;tr&&(q<tr.lineN?tr.lineN+=te:K<tr.lineN+tr.size&&(ue.externalMeasured=null))}function Ai(P,K,q){P.curOp.viewChanged=!0;var te=P.display,ue=P.display.externalMeasured;if(ue&&K>=ue.lineN&&K<ue.lineN+ue.size&&(te.externalMeasured=null),K<te.viewFrom||K>=te.viewTo)return;var Me=te.view[Qn(P,K)];if(Me.node==null)return;var dt=Me.changes||(Me.changes=[]);z(dt,q)==-1&&dt.push(q)}function Gi(P){P.display.viewFrom=P.display.viewTo=P.doc.first,P.display.view=[],P.display.viewOffset=0}function Oi(P,K,q,te){var ue=Qn(P,K),Me,dt=P.display.view;if(!Ke||q==P.doc.first+P.doc.size)return{index:ue,lineN:q};for(var Tt=P.display.viewFrom,Qt=0;Qt<ue;Qt++)Tt+=dt[Qt].size;if(Tt!=K){if(te>0){if(ue==dt.length-1)return null;Me=Tt+dt[ue].size-K,ue++}else Me=Tt-K;K+=Me,q+=Me}for(;tn(P.doc,q)!=q;){if(ue==(te<0?0:dt.length-1))return null;q+=te*dt[ue-(te<0?1:0)].size,ue+=te}return{index:ue,lineN:q}}function pa(P,K,q){var te=P.display,ue=te.view;ue.length==0||K>=te.viewTo||q<=te.viewFrom?(te.view=fi(P,K,q),te.viewFrom=K):(te.viewFrom>K?te.view=fi(P,K,te.viewFrom).concat(te.view):te.viewFrom<K&&(te.view=te.view.slice(Qn(P,K))),te.viewFrom=K,te.viewTo<q?te.view=te.view.concat(fi(P,te.viewTo,q)):te.viewTo>q&&(te.view=te.view.slice(0,Qn(P,q)))),te.viewTo=q}function Ma(P){for(var K=P.display.view,q=0,te=0;te<K.length;te++){var ue=K[te];!ue.hidden&&(!ue.node||ue.changes)&&++q}return q}function fa(P){P.display.input.showSelection(P.display.input.prepareSelection())}function ua(P,K){K===void 0&&(K=!0);for(var q=P.doc,te={},ue=te.cursors=document.createDocumentFragment(),Me=te.selection=document.createDocumentFragment(),dt=0;dt<q.sel.ranges.length;dt++){if(!K&&dt==q.sel.primIndex)continue;var Tt=q.sel.ranges[dt];if(Tt.from().line>=P.display.viewTo||Tt.to().line<P.display.viewFrom)continue;var Qt=Tt.empty();(Qt||P.options.showCursorWhenSelecting)&&ra(P,Tt.head,ue),Qt||eo(P,Tt,Me)}return te}function ra(P,K,q){var te=ln(P,K,"div",null,null,!P.options.singleCursorHeightPerLine),ue=q.appendChild(L("div","\xA0","CodeMirror-cursor"));if(ue.style.left=te.left+"px",ue.style.top=te.top+"px",ue.style.height=Math.max(0,te.bottom-te.top)*P.options.cursorHeight+"px",te.other){var Me=q.appendChild(L("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Me.style.display="",Me.style.left=te.other.left+"px",Me.style.top=te.other.top+"px",Me.style.height=(te.other.bottom-te.other.top)*.85+"px"}}function Ra(P,K){return P.top-K.top||P.left-K.left}function eo(P,K,q){var te=P.display,ue=P.doc,Me=document.createDocumentFragment(),dt=Tn(P.display),Tt=dt.left,Qt=Math.max(te.sizerWidth,Gn(P)-te.sizer.offsetLeft)-dt.right,tr=ue.direction=="ltr";function en(Sa,Ia,io,Fa){Ia<0&&(Ia=0),Ia=Math.round(Ia),Fa=Math.round(Fa),Me.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+Sa+`px;
top: `+Ia+"px; width: "+(io==null?Qt-Sa:io)+`px;
height: `+(Fa-Ia)+"px"))}function pn(Sa,Ia,io){var Fa=Pe(ue,Sa),xo=Fa.text.length,Wo,us;function es(xs,Js){return Hr(P,Ut(Sa,xs),"div",Fa,Js)}function Rs(xs,Js,Ms){var Aa=di(P,Fa,null,xs),as=Js=="ltr"==(Ms=="after")?"left":"right",ns=Ms=="after"?Aa.begin:Aa.end-(/\s/.test(Fa.text.charAt(Aa.end-1))?2:1);return es(ns,as)[as]}var Qs=nt(Fa,ue.direction);return le(Qs,Ia||0,io==null?xo:io,function(xs,Js,Ms,Aa){var as=Ms=="ltr",ns=es(xs,as?"left":"right"),gs=es(Js-1,as?"right":"left"),Au=Ia==null&&xs==0,Po=io==null&&Js==xo,wo=Aa==0,ml=!Qs||Aa==Qs.length-1;if(gs.top-ns.top<=3){var Gs=(tr?Au:Po)&&wo,yu=(tr?Po:Au)&&ml,Dl=Gs?Tt:(as?ns:gs).left,gl=yu?Qt:(as?gs:ns).right;en(Dl,ns.top,gl-Dl,ns.bottom)}else{var Xl,il,Rl,Mu;as?(Xl=tr&&Au&&wo?Tt:ns.left,il=tr?Qt:Rs(xs,Ms,"before"),Rl=tr?Tt:Rs(Js,Ms,"after"),Mu=tr&&Po&&ml?Qt:gs.right):(Xl=tr?Rs(xs,Ms,"before"):Tt,il=!tr&&Au&&wo?Qt:ns.right,Rl=!tr&&Po&&ml?Tt:gs.left,Mu=tr?Rs(Js,Ms,"after"):Qt),en(Xl,ns.top,il-Xl,ns.bottom),ns.bottom<gs.top&&en(Tt,ns.bottom,null,gs.top),en(Rl,gs.top,Mu-Rl,gs.bottom)}(!Wo||Ra(ns,Wo)<0)&&(Wo=ns),Ra(gs,Wo)<0&&(Wo=gs),(!us||Ra(ns,us)<0)&&(us=ns),Ra(gs,us)<0&&(us=gs)}),{start:Wo,end:us}}var Mn=K.from(),Fn=K.to();if(Mn.line==Fn.line)pn(Mn.line,Mn.ch,Fn.ch);else{var yi=Pe(ue,Mn.line),Xi=Pe(ue,Fn.line),oa=gn(yi)==gn(Xi),ea=pn(Mn.line,Mn.ch,oa?yi.text.length+1:null).end,$i=pn(Fn.line,oa?0:null,Fn.ch).start;oa&&(ea.top<$i.top-2?(en(ea.right,ea.top,null,ea.bottom),en(Tt,$i.top,$i.left,$i.bottom)):en(ea.right,ea.top,$i.left-ea.right,ea.bottom)),ea.bottom<$i.top&&en(Tt,ea.bottom,null,$i.top)}q.appendChild(Me)}function qi(P){if(!P.state.focused)return;var K=P.display;clearInterval(K.blinker);var q=!0;K.cursorDiv.style.visibility="",P.options.cursorBlinkRate>0?K.blinker=setInterval(function(){P.hasFocus()||ao(P),K.cursorDiv.style.visibility=(q=!q)?"":"hidden"},P.options.cursorBlinkRate):P.options.cursorBlinkRate<0&&(K.cursorDiv.style.visibility="hidden")}function qa(P){P.state.focused||(P.display.input.focus(),Ka(P))}function Ya(P){P.state.delayingBlurEvent=!0,setTimeout(function(){P.state.delayingBlurEvent&&(P.state.delayingBlurEvent=!1,ao(P))},100)}function Ka(P,K){if(P.state.delayingBlurEvent&&(P.state.delayingBlurEvent=!1),P.options.readOnly=="nocursor")return;P.state.focused||(gt(P,"focus",P,K),P.state.focused=!0,B(P.display.wrapper,"CodeMirror-focused"),!P.curOp&&P.display.selForContextMenu!=P.doc.sel&&(P.display.input.reset(),o&&setTimeout(function(){return P.display.input.reset(!0)},20)),P.display.input.receivedFocus()),qi(P)}function ao(P,K){if(P.state.delayingBlurEvent)return;P.state.focused&&(gt(P,"blur",P,K),P.state.focused=!1,w(P.display.wrapper,"CodeMirror-focused")),clearInterval(P.display.blinker),setTimeout(function(){P.state.focused||(P.display.shift=!1)},150)}function Va(P){for(var K=P.display,q=K.lineDiv.offsetTop,te=0;te<K.view.length;te++){var ue=K.view[te],Me=P.options.lineWrapping,dt=void 0,Tt=0;if(ue.hidden)continue;if(p&&c<8){var Qt=ue.node.offsetTop+ue.node.offsetHeight;dt=Qt-q,q=Qt}else{var tr=ue.node.getBoundingClientRect();dt=tr.bottom-tr.top,!Me&&ue.text.firstChild&&(Tt=ue.text.firstChild.getBoundingClientRect().right-tr.left-1)}var en=ue.line.height-dt;if((en>.005||en<-.005)&&(Yt(ue.line,dt),Ba(ue.line),ue.rest))for(var pn=0;pn<ue.rest.length;pn++)Ba(ue.rest[pn]);if(Tt>P.display.sizerWidth){var Mn=Math.ceil(Tt/ia(P.display));Mn>P.display.maxLineLength&&(P.display.maxLineLength=Mn,P.display.maxLine=ue.line,P.display.maxLineChanged=!0)}}}function Ba(P){if(P.widgets)for(var K=0;K<P.widgets.length;++K){var q=P.widgets[K],te=q.node.parentNode;te&&(q.height=te.offsetHeight)}}function go(P,K,q){var te=q&&q.top!=null?Math.max(0,q.top):P.scroller.scrollTop;te=Math.floor(te-bn(P));var ue=q&&q.bottom!=null?q.bottom:te+P.wrapper.clientHeight,Me=_r(K,te),dt=_r(K,ue);if(q&&q.ensure){var Tt=q.ensure.from.line,Qt=q.ensure.to.line;Tt<Me?(Me=Tt,dt=_r(K,Jn(Pe(K,Tt))+P.wrapper.clientHeight)):Math.min(Qt,K.lastLine())>=dt&&(Me=_r(K,Jn(Pe(K,Qt))-P.wrapper.clientHeight),dt=Qt)}return{from:Me,to:Math.max(dt,Me+1)}}function so(P,K){if(wt(P,"scrollCursorIntoView"))return;var q=P.display,te=q.sizer.getBoundingClientRect(),ue=null;if(K.top+te.top<0?ue=!0:K.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ue=!1),ue!=null&&!e){var Me=L("div","\u200B",null,`position: absolute;
top: `+(K.top-q.viewOffset-bn(P.display))+`px;
height: `+(K.bottom-K.top+Wn(P)+q.barHeight)+`px;
left: `+K.left+"px; width: "+Math.max(2,K.right-K.left)+"px;");P.display.lineSpace.appendChild(Me),Me.scrollIntoView(ue),P.display.lineSpace.removeChild(Me)}}function vo(P,K,q,te){te==null&&(te=0);var ue;!P.options.lineWrapping&&K==q&&(K=K.ch?Ut(K.line,K.sticky=="before"?K.ch-1:K.ch,"after"):K,q=K.sticky=="before"?Ut(K.line,K.ch+1,"before"):K);for(var Me=0;Me<5;Me++){var dt=!1,Tt=ln(P,K),Qt=!q||q==K?Tt:ln(P,q);ue={left:Math.min(Tt.left,Qt.left),top:Math.min(Tt.top,Qt.top)-te,right:Math.max(Tt.left,Qt.left),bottom:Math.max(Tt.bottom,Qt.bottom)+te};var tr=ro(P,ue),en=P.doc.scrollTop,pn=P.doc.scrollLeft;if(tr.scrollTop!=null&&(Xa(P,tr.scrollTop),Math.abs(P.doc.scrollTop-en)>1&&(dt=!0)),tr.scrollLeft!=null&&(_o(P,tr.scrollLeft),Math.abs(P.doc.scrollLeft-pn)>1&&(dt=!0)),!dt)break}return ue}function to(P,K){var q=ro(P,K);q.scrollTop!=null&&Xa(P,q.scrollTop),q.scrollLeft!=null&&_o(P,q.scrollLeft)}function ro(P,K){var q=P.display,te=Ni(P.display);K.top<0&&(K.top=0);var ue=P.curOp&&P.curOp.scrollTop!=null?P.curOp.scrollTop:q.scroller.scrollTop,Me=ri(P),dt={};K.bottom-K.top>Me&&(K.bottom=K.top+Me);var Tt=P.doc.height+_n(q),Qt=K.top<te,tr=K.bottom>Tt-te;if(K.top<ue)dt.scrollTop=Qt?0:K.top;else if(K.bottom>ue+Me){var en=Math.min(K.top,(tr?Tt:K.bottom)-Me);en!=ue&&(dt.scrollTop=en)}var pn=P.options.fixedGutter?0:q.gutters.offsetWidth,Mn=P.curOp&&P.curOp.scrollLeft!=null?P.curOp.scrollLeft:q.scroller.scrollLeft-pn,Fn=Gn(P)-q.gutters.offsetWidth,yi=K.right-K.left>Fn;return yi&&(K.right=K.left+Fn),K.left<10?dt.scrollLeft=0:K.left<Mn?dt.scrollLeft=Math.max(0,K.left+pn-(yi?0:10)):K.right>Fn+Mn-3&&(dt.scrollLeft=K.right+(yi?0:10)-Fn),dt}function Ca(P,K){if(K==null)return;Ga(P),P.curOp.scrollTop=(P.curOp.scrollTop==null?P.doc.scrollTop:P.curOp.scrollTop)+K}function Ha(P){Ga(P);var K=P.getCursor();P.curOp.scrollToPos={from:K,to:K,margin:P.options.cursorScrollMargin}}function Na(P,K,q){(K!=null||q!=null)&&Ga(P),K!=null&&(P.curOp.scrollLeft=K),q!=null&&(P.curOp.scrollTop=q)}function oo(P,K){Ga(P),P.curOp.scrollToPos=K}function Ga(P){var K=P.curOp.scrollToPos;if(K){P.curOp.scrollToPos=null;var q=qr(P,K.from),te=qr(P,K.to);Ki(P,q,te,K.margin)}}function Ki(P,K,q,te){var ue=ro(P,{left:Math.min(K.left,q.left),top:Math.min(K.top,q.top)-te,right:Math.max(K.right,q.right),bottom:Math.max(K.bottom,q.bottom)+te});Na(P,ue.scrollLeft,ue.scrollTop)}function Xa(P,K){if(Math.abs(P.doc.scrollTop-K)<2)return;C||Uo(P,{top:K}),No(P,K,!0),C&&Uo(P),Fo(P,100)}function No(P,K,q){if(K=Math.max(0,Math.min(P.display.scroller.scrollHeight-P.display.scroller.clientHeight,K)),P.display.scroller.scrollTop==K&&!q)return;P.doc.scrollTop=K,P.display.scrollbars.setScrollTop(K),P.display.scroller.scrollTop!=K&&(P.display.scroller.scrollTop=K)}function _o(P,K,q,te){if(K=Math.max(0,Math.min(K,P.display.scroller.scrollWidth-P.display.scroller.clientWidth)),(q?K==P.doc.scrollLeft:Math.abs(P.doc.scrollLeft-K)<2)&&!te)return;P.doc.scrollLeft=K,Cs(P),P.display.scroller.scrollLeft!=K&&(P.display.scroller.scrollLeft=K),P.display.scrollbars.setScrollLeft(K)}function Vo(P){var K=P.display,q=K.gutters.offsetWidth,te=Math.round(P.doc.height+_n(P.display));return{clientHeight:K.scroller.clientHeight,viewHeight:K.wrapper.clientHeight,scrollWidth:K.scroller.scrollWidth,clientWidth:K.scroller.clientWidth,viewWidth:K.wrapper.clientWidth,barLeft:P.options.fixedGutter?q:0,docHeight:te,scrollHeight:te+Wn(P)+K.barHeight,nativeBarWidth:K.nativeBarWidth,gutterWidth:q}}var Go=function(K,q,te){this.cm=te;var ue=this.vert=L("div",[L("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Me=this.horiz=L("div",[L("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ue.tabIndex=Me.tabIndex=-1,K(ue),K(Me),Le(ue,"scroll",function(){ue.clientHeight&&q(ue.scrollTop,"vertical")}),Le(Me,"scroll",function(){Me.clientWidth&&q(Me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,p&&c<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Go.prototype.update=function(P){var K=P.scrollWidth>P.clientWidth+1,q=P.scrollHeight>P.clientHeight+1,te=P.nativeBarWidth;if(q){this.vert.style.display="block",this.vert.style.bottom=K?te+"px":"0";var ue=P.viewHeight-(K?te:0);this.vert.firstChild.style.height=Math.max(0,P.scrollHeight-P.clientHeight+ue)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(K){this.horiz.style.display="block",this.horiz.style.right=q?te+"px":"0",this.horiz.style.left=P.barLeft+"px";var Me=P.viewWidth-P.barLeft-(q?te:0);this.horiz.firstChild.style.width=Math.max(0,P.scrollWidth-P.clientWidth+Me)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&P.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:q?te:0,bottom:K?te:0}},Go.prototype.setScrollLeft=function(P){this.horiz.scrollLeft!=P&&(this.horiz.scrollLeft=P),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Go.prototype.setScrollTop=function(P){this.vert.scrollTop!=P&&(this.vert.scrollTop=P),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Go.prototype.zeroWidthHack=function(){var P=h&&!s?"12px":"18px";this.horiz.style.height=this.vert.style.width=P,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new V,this.disableVert=new V},Go.prototype.enableZeroWidthBar=function(P,K,q){P.style.pointerEvents="auto";function te(){var ue=P.getBoundingClientRect(),Me=q=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);Me!=P?P.style.pointerEvents="none":K.set(1e3,te)}K.set(1e3,te)},Go.prototype.clear=function(){var P=this.horiz.parentNode;P.removeChild(this.horiz),P.removeChild(this.vert)};var bo=function(){};bo.prototype.update=function(){return{bottom:0,right:0}},bo.prototype.setScrollLeft=function(){},bo.prototype.setScrollTop=function(){},bo.prototype.clear=function(){};function Da(P,K){K||(K=Vo(P));var q=P.display.barWidth,te=P.display.barHeight;Ho(P,K);for(var ue=0;ue<4&&q!=P.display.barWidth||te!=P.display.barHeight;ue++)q!=P.display.barWidth&&P.options.lineWrapping&&Va(P),Ho(P,Vo(P)),q=P.display.barWidth,te=P.display.barHeight}function Ho(P,K){var q=P.display,te=q.scrollbars.update(K);q.sizer.style.paddingRight=(q.barWidth=te.right)+"px",q.sizer.style.paddingBottom=(q.barHeight=te.bottom)+"px",q.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(q.scrollbarFiller.style.display="block",q.scrollbarFiller.style.height=te.bottom+"px",q.scrollbarFiller.style.width=te.right+"px"):q.scrollbarFiller.style.display="",te.bottom&&P.options.coverGutterNextToScrollbar&&P.options.fixedGutter?(q.gutterFiller.style.display="block",q.gutterFiller.style.height=te.bottom+"px",q.gutterFiller.style.width=K.gutterWidth+"px"):q.gutterFiller.style.display=""}var ds={native:Go,null:bo};function fo(P){P.display.scrollbars&&(P.display.scrollbars.clear(),P.display.scrollbars.addClass&&w(P.display.wrapper,P.display.scrollbars.addClass)),P.display.scrollbars=new ds[P.options.scrollbarStyle](function(K){P.display.wrapper.insertBefore(K,P.display.scrollbarFiller),Le(K,"mousedown",function(){P.state.focused&&setTimeout(function(){return P.display.input.focus()},0)}),K.setAttribute("cm-not-content","true")},function(K,q){q=="horizontal"?_o(P,K):Xa(P,K)},P),P.display.scrollbars.addClass&&B(P.display.wrapper,P.display.scrollbars.addClass)}var Oo=0;function Wa(P){P.curOp={cm:P,viewChanged:!1,startHeight:P.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:++Oo},Bi(P.curOp)}function Xo(P){var K=P.curOp;K&&zi(K,function(q){for(var te=0;te<q.ops.length;te++)q.ops[te].cm.curOp=null;Zs(q)})}function Zs(P){for(var K=P.ops,q=0;q<K.length;q++)Ps(K[q]);for(var te=0;te<K.length;te++)_s(K[te]);for(var ue=0;ue<K.length;ue++)Es(K[ue]);for(var Me=0;Me<K.length;Me++)Ts(K[Me]);for(var dt=0;dt<K.length;dt++)ws(K[dt])}function Ps(P){var K=P.cm,q=K.display;$s(K),P.updateMaxLine&&xi(K),P.mustUpdate=P.viewChanged||P.forceUpdate||P.scrollTop!=null||P.scrollToPos&&(P.scrollToPos.from.line<q.viewFrom||P.scrollToPos.to.line>=q.viewTo)||q.maxLineChanged&&K.options.lineWrapping,P.update=P.mustUpdate&&new Jo(K,P.mustUpdate&&{top:P.scrollTop,ensure:P.scrollToPos},P.forceUpdate)}function _s(P){P.updatedDisplay=P.mustUpdate&&lo(P.cm,P.update)}function Es(P){var K=P.cm,q=K.display;P.updatedDisplay&&Va(K),P.barMeasure=Vo(K),q.maxLineChanged&&!K.options.lineWrapping&&(P.adjustWidthTo=Hi(K,q.maxLine,q.maxLine.text.length).left+3,K.display.sizerWidth=P.adjustWidthTo,P.barMeasure.scrollWidth=Math.max(q.scroller.clientWidth,q.sizer.offsetLeft+P.adjustWidthTo+Wn(K)+K.display.barWidth),P.maxScrollLeft=Math.max(0,q.sizer.offsetLeft+P.adjustWidthTo-Gn(K))),(P.updatedDisplay||P.selectionChanged)&&(P.preparedSelection=q.input.prepareSelection())}function Ts(P){var K=P.cm;P.adjustWidthTo!=null&&(K.display.sizer.style.minWidth=P.adjustWidthTo+"px",P.maxScrollLeft<K.doc.scrollLeft&&_o(K,Math.min(K.display.scroller.scrollLeft,P.maxScrollLeft),!0),K.display.maxLineChanged=!1);var q=P.focus&&P.focus==D();P.preparedSelection&&K.display.input.showSelection(P.preparedSelection,q),(P.updatedDisplay||P.startHeight!=K.doc.height)&&Da(K,P.barMeasure),P.updatedDisplay&&ss(K,P.barMeasure),P.selectionChanged&&qi(K),K.state.focused&&P.updateInput&&K.display.input.reset(P.typing),q&&qa(P.cm)}function ws(P){var K=P.cm,q=K.display,te=K.doc;if(P.updatedDisplay&&Ao(K,P.update),q.wheelStartX!=null&&(P.scrollTop!=null||P.scrollLeft!=null||P.scrollToPos)&&(q.wheelStartX=q.wheelStartY=null),P.scrollTop!=null&&No(K,P.scrollTop,P.forceScroll),P.scrollLeft!=null&&_o(K,P.scrollLeft,!0,!0),P.scrollToPos){var ue=vo(K,mt(te,P.scrollToPos.from),mt(te,P.scrollToPos.to),P.scrollToPos.margin);so(K,ue)}var Me=P.maybeHiddenMarkers,dt=P.maybeUnhiddenMarkers;if(Me)for(var Tt=0;Tt<Me.length;++Tt)Me[Tt].lines.length||gt(Me[Tt],"hide");if(dt)for(var Qt=0;Qt<dt.length;++Qt)dt[Qt].lines.length&&gt(dt[Qt],"unhide");q.wrapper.offsetHeight&&(te.scrollTop=K.display.scroller.scrollTop),P.changeObjs&&gt(K,"changes",K,P.changeObjs),P.update&&P.update.finish()}function Do(P,K){if(P.curOp)return K();Wa(P);try{return K()}finally{Xo(P)}}function po(P,K){return function(){if(P.curOp)return K.apply(P,arguments);Wa(P);try{return K.apply(P,arguments)}finally{Xo(P)}}}function rs(P){return function(){if(this.curOp)return P.apply(this,arguments);Wa(this);try{return P.apply(this,arguments)}finally{Xo(this)}}}function Yo(P){return function(){var K=this.cm;if(!K||K.curOp)return P.apply(this,arguments);Wa(K);try{return P.apply(this,arguments)}finally{Xo(K)}}}function Fo(P,K){P.doc.highlightFrontier<P.display.viewTo&&P.state.highlight.set(K,F(zr,P))}function zr(P){var K=P.doc;if(K.highlightFrontier>=P.display.viewTo)return;var q=+new Date+P.options.workTime,te=In(P,K.highlightFrontier),ue=[];K.iter(te.line,Math.min(K.first+K.size,P.display.viewTo+500),function(Me){if(te.line>=P.display.viewFrom){var dt=Me.styles,Tt=Me.text.length>P.options.maxHighlightLength?Nt(K.mode,te.state):null,Qt=Gr(P,Me,te,!0);Tt&&(te.state=Tt),Me.styles=Qt.styles;var tr=Me.styleClasses,en=Qt.classes;en?Me.styleClasses=en:tr&&(Me.styleClasses=null);for(var pn=!dt||dt.length!=Me.styles.length||tr!=en&&(!tr||!en||tr.bgClass!=en.bgClass||tr.textClass!=en.textClass),Mn=0;!pn&&Mn<dt.length;++Mn)pn=dt[Mn]!=Me.styles[Mn];pn&&ue.push(te.line),Me.stateAfter=te.save(),te.nextLine()}else Me.text.length<=P.options.maxHighlightLength&&Nn(P,Me.text,te),Me.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>q)return Fo(P,P.options.workDelay),!0}),K.highlightFrontier=te.line,K.modeFrontier=Math.max(K.modeFrontier,te.line),ue.length&&Do(P,function(){for(var Me=0;Me<ue.length;Me++)Ai(P,ue[Me],"text")})}var Jo=function(K,q,te){var ue=K.display;this.viewport=q,this.visible=go(ue,K.doc,q),this.editorIsHidden=!ue.wrapper.offsetWidth,this.wrapperHeight=ue.wrapper.clientHeight,this.wrapperWidth=ue.wrapper.clientWidth,this.oldDisplayWidth=Gn(K),this.force=te,this.dims=Ji(K),this.events=[]};Jo.prototype.signal=function(P,K){_t(P,K)&&this.events.push(arguments)},Jo.prototype.finish=function(){for(var P=0;P<this.events.length;P++)gt.apply(null,this.events[P])};function $s(P){var K=P.display;!K.scrollbarsClipped&&K.scroller.offsetWidth&&(K.nativeBarWidth=K.scroller.offsetWidth-K.scroller.clientWidth,K.heightForcer.style.height=Wn(P)+"px",K.sizer.style.marginBottom=-K.nativeBarWidth+"px",K.sizer.style.borderRightWidth=Wn(P)+"px",K.scrollbarsClipped=!0)}function Is(P){if(P.hasFocus())return null;var K=D();if(!K||!R(P.display.lineDiv,K))return null;var q={activeElt:K};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&R(P.display.lineDiv,te.anchorNode)&&(q.anchorNode=te.anchorNode,q.anchorOffset=te.anchorOffset,q.focusNode=te.focusNode,q.focusOffset=te.focusOffset)}return q}function ks(P){if(!P||!P.activeElt||P.activeElt==D())return;if(P.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(P.activeElt.nodeName)&&P.anchorNode&&R(document.body,P.anchorNode)&&R(document.body,P.focusNode)){var K=window.getSelection(),q=document.createRange();q.setEnd(P.anchorNode,P.anchorOffset),q.collapse(!1),K.removeAllRanges(),K.addRange(q),K.extend(P.focusNode,P.focusOffset)}}function lo(P,K){var q=P.display,te=P.doc;if(K.editorIsHidden)return Gi(P),!1;if(!K.force&&K.visible.from>=q.viewFrom&&K.visible.to<=q.viewTo&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo)&&q.renderedView==q.view&&Ma(P)==0)return!1;ol(P)&&(Gi(P),K.dims=Ji(P));var ue=te.first+te.size,Me=Math.max(K.visible.from-P.options.viewportMargin,te.first),dt=Math.min(ue,K.visible.to+P.options.viewportMargin);q.viewFrom<Me&&Me-q.viewFrom<20&&(Me=Math.max(te.first,q.viewFrom)),q.viewTo>dt&&q.viewTo-dt<20&&(dt=Math.min(ue,q.viewTo)),Ke&&(Me=tn(P.doc,Me),dt=ci(P.doc,dt));var Tt=Me!=q.viewFrom||dt!=q.viewTo||q.lastWrapHeight!=K.wrapperHeight||q.lastWrapWidth!=K.wrapperWidth;pa(P,Me,dt),q.viewOffset=Jn(Pe(P.doc,q.viewFrom)),P.display.mover.style.top=q.viewOffset+"px";var Qt=Ma(P);if(!Tt&&Qt==0&&!K.force&&q.renderedView==q.view&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo))return!1;var tr=Is(P);return Qt>4&&(q.lineDiv.style.display="none"),hs(P,q.updateLineNumbers,K.dims),Qt>4&&(q.lineDiv.style.display=""),q.renderedView=q.view,ks(tr),S(q.cursorDiv),S(q.selectionDiv),q.gutters.style.height=q.sizer.style.minHeight=0,Tt&&(q.lastWrapHeight=K.wrapperHeight,q.lastWrapWidth=K.wrapperWidth,Fo(P,400)),q.updateLineNumbers=null,!0}function Ao(P,K){for(var q=K.viewport,te=!0;;te=!1){if(!te||!P.options.lineWrapping||K.oldDisplayWidth==Gn(P)){if(q&&q.top!=null&&(q={top:Math.min(P.doc.height+_n(P.display)-ri(P),q.top)}),K.visible=go(P.display,P.doc,q),K.visible.from>=P.display.viewFrom&&K.visible.to<=P.display.viewTo)break}else te&&(K.visible=go(P.display,P.doc,q));if(!lo(P,K))break;Va(P);var ue=Vo(P);fa(P),Da(P,ue),ss(P,ue),K.force=!1}K.signal(P,"update",P),(P.display.viewFrom!=P.display.reportedViewFrom||P.display.viewTo!=P.display.reportedViewTo)&&(K.signal(P,"viewportChange",P,P.display.viewFrom,P.display.viewTo),P.display.reportedViewFrom=P.display.viewFrom,P.display.reportedViewTo=P.display.viewTo)}function Uo(P,K){var q=new Jo(P,K);if(lo(P,q)){Va(P),Ao(P,q);var te=Vo(P);fa(P),Da(P,te),ss(P,te),q.finish()}}function hs(P,K,q){var te=P.display,ue=P.options.lineNumbers,Me=te.lineDiv,dt=Me.firstChild;function Tt(yi){var Xi=yi.nextSibling;return o&&h&&P.display.currentWheelTarget==yi?yi.style.display="none":yi.parentNode.removeChild(yi),Xi}for(var Qt=te.view,tr=te.viewFrom,en=0;en<Qt.length;en++){var pn=Qt[en];if(!pn.hidden)if(!pn.node||pn.node.parentNode!=Me){var Mn=Kr(P,pn,tr,q);Me.insertBefore(Mn,dt)}else{for(;dt!=pn.node;)dt=Tt(dt);var Fn=ue&&K!=null&&K<=tr&&pn.lineNumber;pn.changes&&(z(pn.changes,"gutter")>-1&&(Fn=!1),an(P,pn,tr,q)),Fn&&(S(pn.lineNumber),pn.lineNumber.appendChild(document.createTextNode(un(P.options,tr)))),dt=pn.node.nextSibling}tr+=pn.size}for(;dt;)dt=Tt(dt)}function vs(P){var K=P.gutters.offsetWidth;P.sizer.style.marginLeft=K+"px"}function ss(P,K){P.display.sizer.style.minHeight=K.docHeight+"px",P.display.heightForcer.style.top=K.docHeight+"px",P.display.gutters.style.height=K.docHeight+P.display.barHeight+Wn(P)+"px"}function Cs(P){var K=P.display,q=K.view;if(!K.alignWidgets&&(!K.gutters.firstChild||!P.options.fixedGutter))return;for(var te=ha(K)-K.scroller.scrollLeft+P.doc.scrollLeft,ue=K.gutters.offsetWidth,Me=te+"px",dt=0;dt<q.length;dt++)if(!q[dt].hidden){P.options.fixedGutter&&(q[dt].gutter&&(q[dt].gutter.style.left=Me),q[dt].gutterBackground&&(q[dt].gutterBackground.style.left=Me));var Tt=q[dt].alignable;if(Tt)for(var Qt=0;Qt<Tt.length;Qt++)Tt[Qt].style.left=Me}P.options.fixedGutter&&(K.gutters.style.left=te+ue+"px")}function ol(P){if(!P.options.lineNumbers)return!1;var K=P.doc,q=un(P.options,K.first+K.size-1),te=P.display;if(q.length!=te.lineNumChars){var ue=te.measure.appendChild(L("div",[L("div",q)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Me=ue.firstChild.offsetWidth,dt=ue.offsetWidth-Me;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(Me,te.lineGutter.offsetWidth-dt)+1,te.lineNumWidth=te.lineNumInnerWidth+dt,te.lineNumChars=te.lineNumInnerWidth?q.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",vs(P.display),!0}return!1}function Ls(P,K){for(var q=[],te=!1,ue=0;ue<P.length;ue++){var Me=P[ue],dt=null;if(typeof Me!="string"&&(dt=Me.style,Me=Me.className),Me=="CodeMirror-linenumbers")if(K)te=!0;else continue;q.push({className:Me,style:dt})}return K&&!te&&q.push({className:"CodeMirror-linenumbers",style:null}),q}function Xs(P){var K=P.gutters,q=P.gutterSpecs;S(K),P.lineGutter=null;for(var te=0;te<q.length;++te){var ue=q[te],Me=ue.className,dt=ue.style,Tt=K.appendChild(L("div",null,"CodeMirror-gutter "+Me));dt&&(Tt.style.cssText=dt),Me=="CodeMirror-linenumbers"&&(P.lineGutter=Tt,Tt.style.width=(P.lineNumWidth||1)+"px")}K.style.display=q.length?"":"none",vs(P)}function Os(P){Xs(P.display),vi(P),Cs(P)}function Ks(P,K,q,te){var ue=this;this.input=q,ue.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),ue.scrollbarFiller.setAttribute("cm-not-content","true"),ue.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),ue.gutterFiller.setAttribute("cm-not-content","true"),ue.lineDiv=O("div",null,"CodeMirror-code"),ue.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),ue.cursorDiv=L("div",null,"CodeMirror-cursors"),ue.measure=L("div",null,"CodeMirror-measure"),ue.lineMeasure=L("div",null,"CodeMirror-measure"),ue.lineSpace=O("div",[ue.measure,ue.lineMeasure,ue.selectionDiv,ue.cursorDiv,ue.lineDiv],null,"position: relative; outline: none");var Me=O("div",[ue.lineSpace],"CodeMirror-lines");ue.mover=L("div",[Me],null,"position: relative"),ue.sizer=L("div",[ue.mover],"CodeMirror-sizer"),ue.sizerWidth=null,ue.heightForcer=L("div",null,null,"position: absolute; height: "+Y+"px; width: 1px;"),ue.gutters=L("div",null,"CodeMirror-gutters"),ue.lineGutter=null,ue.scroller=L("div",[ue.sizer,ue.heightForcer,ue.gutters],"CodeMirror-scroll"),ue.scroller.setAttribute("tabIndex","-1"),ue.wrapper=L("div",[ue.scrollbarFiller,ue.gutterFiller,ue.scroller],"CodeMirror"),p&&c<8&&(ue.gutters.style.zIndex=-1,ue.scroller.style.paddingRight=0),!o&&!(C&&u)&&(ue.scroller.draggable=!0),P&&(P.appendChild?P.appendChild(ue.wrapper):P(ue.wrapper)),ue.viewFrom=ue.viewTo=K.first,ue.reportedViewFrom=ue.reportedViewTo=K.first,ue.view=[],ue.renderedView=null,ue.externalMeasured=null,ue.viewOffset=0,ue.lastWrapHeight=ue.lastWrapWidth=0,ue.updateLineNumbers=null,ue.nativeBarWidth=ue.barHeight=ue.barWidth=0,ue.scrollbarsClipped=!1,ue.lineNumWidth=ue.lineNumInnerWidth=ue.lineNumChars=null,ue.alignWidgets=!1,ue.cachedCharWidth=ue.cachedTextHeight=ue.cachedPaddingH=null,ue.maxLine=null,ue.maxLineLength=0,ue.maxLineChanged=!1,ue.wheelDX=ue.wheelDY=ue.wheelStartX=ue.wheelStartY=null,ue.shift=!1,ue.selForContextMenu=null,ue.activeTouch=null,ue.gutterSpecs=Ls(te.gutters,te.lineNumbers),Xs(ue),q.init(ue)}var Bs=0,bt=null;p?bt=-.53:C?bt=15:i?bt=-.7:t&&(bt=-1/3);function Dt(P){var K=P.wheelDeltaX,q=P.wheelDeltaY;return K==null&&P.detail&&P.axis==P.HORIZONTAL_AXIS&&(K=P.detail),q==null&&P.detail&&P.axis==P.VERTICAL_AXIS?q=P.detail:q==null&&(q=P.wheelDelta),{x:K,y:q}}function rn(P){var K=Dt(P);return K.x*=bt,K.y*=bt,K}function On(P,K){var q=Dt(K),te=q.x,ue=q.y,Me=P.display,dt=Me.scroller,Tt=dt.scrollWidth>dt.clientWidth,Qt=dt.scrollHeight>dt.clientHeight;if(!(te&&Tt||ue&&Qt))return;if(ue&&h&&o){e:for(var tr=K.target,en=Me.view;tr!=dt;tr=tr.parentNode)for(var pn=0;pn<en.length;pn++)if(en[pn].node==tr){P.display.currentWheelTarget=tr;break e}}if(te&&!C&&!n&&bt!=null){ue&&Qt&&Xa(P,Math.max(0,dt.scrollTop+ue*bt)),_o(P,Math.max(0,dt.scrollLeft+te*bt)),(!ue||ue&&Qt)&&Ze(K),Me.wheelStartX=null;return}if(ue&&bt!=null){var Mn=ue*bt,Fn=P.doc.scrollTop,yi=Fn+Me.wrapper.clientHeight;Mn<0?Fn=Math.max(0,Fn+Mn-50):yi=Math.min(P.doc.height,yi+Mn+50),Uo(P,{top:Fn,bottom:yi})}Bs<20&&(Me.wheelStartX==null?(Me.wheelStartX=dt.scrollLeft,Me.wheelStartY=dt.scrollTop,Me.wheelDX=te,Me.wheelDY=ue,setTimeout(function(){if(Me.wheelStartX==null)return;var Xi=dt.scrollLeft-Me.wheelStartX,oa=dt.scrollTop-Me.wheelStartY,ea=oa&&Me.wheelDY&&oa/Me.wheelDY||Xi&&Me.wheelDX&&Xi/Me.wheelDX;if(Me.wheelStartX=Me.wheelStartY=null,!ea)return;bt=(bt*Bs+ea)/(Bs+1),++Bs},200)):(Me.wheelDX+=te,Me.wheelDY+=ue))}var ft=function(K,q){this.ranges=K,this.primIndex=q};ft.prototype.primary=function(){return this.ranges[this.primIndex]},ft.prototype.equals=function(P){if(P==this)return!0;if(P.primIndex!=this.primIndex||P.ranges.length!=this.ranges.length)return!1;for(var K=0;K<this.ranges.length;K++){var q=this.ranges[K],te=P.ranges[K];if(!ot(q.anchor,te.anchor)||!ot(q.head,te.head))return!1}return!0},ft.prototype.deepCopy=function(){for(var P=[],K=0;K<this.ranges.length;K++)P[K]=new ne(Wt(this.ranges[K].anchor),Wt(this.ranges[K].head));return new ft(P,this.primIndex)},ft.prototype.somethingSelected=function(){for(var P=0;P<this.ranges.length;P++)if(!this.ranges[P].empty())return!0;return!1},ft.prototype.contains=function(P,K){K||(K=P);for(var q=0;q<this.ranges.length;q++){var te=this.ranges[q];if(ht(K,te.from())>=0&&ht(P,te.to())<=0)return q}return-1};var ne=function(K,q){this.anchor=K,this.head=q};ne.prototype.from=function(){return At(this.anchor,this.head)},ne.prototype.to=function(){return Jt(this.anchor,this.head)},ne.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ae(P,K,q){var te=P&&P.options.selectionsMayTouch,ue=K[q];K.sort(function(Mn,Fn){return ht(Mn.from(),Fn.from())}),q=z(K,ue);for(var Me=1;Me<K.length;Me++){var dt=K[Me],Tt=K[Me-1],Qt=ht(Tt.to(),dt.from());if(te&&!dt.empty()?Qt>0:Qt>=0){var tr=At(Tt.from(),dt.from()),en=Jt(Tt.to(),dt.to()),pn=Tt.empty()?dt.from()==dt.head:Tt.from()==Tt.head;Me<=q&&--q,K.splice(--Me,2,new ne(pn?en:tr,pn?tr:en))}}return new ft(K,q)}function Te(P,K){return new ft([new ne(P,K||P)],0)}function je(P){return P.text?Ut(P.from.line+P.text.length-1,ce(P.text).length+(P.text.length==1?P.from.ch:0)):P.to}function st(P,K){if(ht(P,K.from)<0)return P;if(ht(P,K.to)<=0)return je(K);var q=P.line+K.text.length-(K.to.line-K.from.line)-1,te=P.ch;return P.line==K.to.line&&(te+=je(K).ch-K.to.ch),Ut(q,te)}function xt(P,K){for(var q=[],te=0;te<P.sel.ranges.length;te++){var ue=P.sel.ranges[te];q.push(new ne(st(ue.anchor,K),st(ue.head,K)))}return Ae(P.cm,q,P.sel.primIndex)}function gr(P,K,q){return P.line==K.line?Ut(q.line,P.ch-K.ch+q.ch):Ut(q.line+(P.line-K.line),P.ch)}function Ir(P,K,q){for(var te=[],ue=Ut(P.first,0),Me=ue,dt=0;dt<K.length;dt++){var Tt=K[dt],Qt=gr(Tt.from,ue,Me),tr=gr(je(Tt),ue,Me);if(ue=Tt.to,Me=tr,q=="around"){var en=P.sel.ranges[dt],pn=ht(en.head,en.anchor)<0;te[dt]=new ne(pn?tr:Qt,pn?Qt:tr)}else te[dt]=new ne(Qt,Qt)}return new ft(te,P.sel.primIndex)}function Zr(P){P.doc.mode=yn(P.options,P.doc.modeOption),En(P)}function En(P){P.doc.iter(function(K){K.stateAfter&&(K.stateAfter=null),K.styles&&(K.styles=null)}),P.doc.modeFrontier=P.doc.highlightFrontier=P.doc.first,Fo(P,100),P.state.modeGen++,P.curOp&&vi(P)}function Hn(P,K){return K.from.ch==0&&K.to.ch==0&&ce(K.text)==""&&(!P.cm||P.cm.options.wholeLineUpdateBefore)}function ai(P,K,q,te){function ue($i){return q?q[$i]:null}function Me($i,Sa,Ia){dn($i,Sa,Ia,te),Vt($i,"change",$i,K)}function dt($i,Sa){for(var Ia=[],io=$i;io<Sa;++io)Ia.push(new Ei(tr[io],ue(io),te));return Ia}var Tt=K.from,Qt=K.to,tr=K.text,en=Pe(P,Tt.line),pn=Pe(P,Qt.line),Mn=ce(tr),Fn=ue(tr.length-1),yi=Qt.line-Tt.line;if(K.full)P.insert(0,dt(0,tr.length)),P.remove(tr.length,P.size-tr.length);else if(Hn(P,K)){var Xi=dt(0,tr.length-1);Me(pn,pn.text,Fn),yi&&P.remove(Tt.line,yi),Xi.length&&P.insert(Tt.line,Xi)}else if(en==pn)if(tr.length==1)Me(en,en.text.slice(0,Tt.ch)+Mn+en.text.slice(Qt.ch),Fn);else{var oa=dt(1,tr.length-1);oa.push(new Ei(Mn+en.text.slice(Qt.ch),Fn,te)),Me(en,en.text.slice(0,Tt.ch)+tr[0],ue(0)),P.insert(Tt.line+1,oa)}else if(tr.length==1)Me(en,en.text.slice(0,Tt.ch)+tr[0]+pn.text.slice(Qt.ch),ue(0)),P.remove(Tt.line+1,yi);else{Me(en,en.text.slice(0,Tt.ch)+tr[0],ue(0)),Me(pn,Mn+pn.text.slice(Qt.ch),Fn);var ea=dt(1,tr.length-1);yi>1&&P.remove(Tt.line+1,yi-1),P.insert(Tt.line+1,ea)}Vt(P,"change",P,K)}function Ci(P,K,q){function te(ue,Me,dt){if(ue.linked)for(var Tt=0;Tt<ue.linked.length;++Tt){var Qt=ue.linked[Tt];if(Qt.doc==Me)continue;var tr=dt&&Qt.sharedHist;if(q&&!tr)continue;K(Qt.doc,tr),te(Qt.doc,ue,tr)}}te(P,null,!0)}function Ui(P,K){if(K.cm)throw new Error("This document is already in use.");P.doc=K,K.cm=P,Pa(P),Zr(P),va(P),P.options.lineWrapping||xi(P),P.options.mode=K.modeOption,vi(P)}function va(P){(P.doc.direction=="rtl"?B:w)(P.display.lineDiv,"CodeMirror-rtl")}function _a(P){Do(P,function(){va(P),vi(P)})}function Za(P){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=P||1}function no(P,K){var q={from:Wt(K.from),to:je(K),text:rt(P,K.from,K.to)};return Zo(P,q,K.from.line,K.to.line+1),Ci(P,function(te){return Zo(te,q,K.from.line,K.to.line+1)},!0),q}function uo(P){for(;P.length;){var K=ce(P);if(K.ranges)P.pop();else break}}function Io(P,K){if(K)return uo(P.done),ce(P.done);if(P.done.length&&!ce(P.done).ranges)return ce(P.done);if(P.done.length>1&&!P.done[P.done.length-2].ranges)return P.done.pop(),ce(P.done)}function Eo(P,K,q,te){var ue=P.history;ue.undone.length=0;var Me=+new Date,dt,Tt;if((ue.lastOp==te||ue.lastOrigin==K.origin&&K.origin&&(K.origin.charAt(0)=="+"&&ue.lastModTime>Me-(P.cm?P.cm.options.historyEventDelay:500)||K.origin.charAt(0)=="*"))&&(dt=Io(ue,ue.lastOp==te)))Tt=ce(dt.changes),ht(K.from,K.to)==0&&ht(K.from,Tt.to)==0?Tt.to=je(K):dt.changes.push(no(P,K));else{var Qt=ce(ue.done);for((!Qt||!Qt.ranges)&&Lo(P.sel,ue.done),dt={changes:[no(P,K)],generation:ue.generation},ue.done.push(dt);ue.done.length>ue.undoDepth;)ue.done.shift(),ue.done[0].ranges||ue.done.shift()}ue.done.push(q),ue.generation=++ue.maxGeneration,ue.lastModTime=ue.lastSelTime=Me,ue.lastOp=ue.lastSelOp=te,ue.lastOrigin=ue.lastSelOrigin=K.origin,Tt||gt(P,"historyAdded")}function Ro(P,K,q,te){var ue=K.charAt(0);return ue=="*"||ue=="+"&&q.ranges.length==te.ranges.length&&q.somethingSelected()==te.somethingSelected()&&new Date-P.history.lastSelTime<=(P.cm?P.cm.options.historyEventDelay:500)}function yo(P,K,q,te){var ue=P.history,Me=te&&te.origin;q==ue.lastSelOp||Me&&ue.lastSelOrigin==Me&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==Me||Ro(P,Me,ce(ue.done),K))?ue.done[ue.done.length-1]=K:Lo(K,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=Me,ue.lastSelOp=q,te&&te.clearRedo!==!1&&uo(ue.undone)}function Lo(P,K){var q=ce(K);q&&q.ranges&&q.equals(P)||K.push(P)}function Zo(P,K,q,te){var ue=K["spans_"+P.id],Me=0;P.iter(Math.max(P.first,q),Math.min(P.first+P.size,te),function(dt){dt.markedSpans&&((ue||(ue=K["spans_"+P.id]={}))[Me]=dt.markedSpans),++Me})}function Ko(P){if(!P)return null;for(var K,q=0;q<P.length;++q)P[q].marker.explicitlyCleared?K||(K=P.slice(0,q)):K&&K.push(P[q]);return K?K.length?K:null:P}function To(P,K){var q=K["spans_"+P.id];if(!q)return null;for(var te=[],ue=0;ue<K.text.length;++ue)te.push(Ko(q[ue]));return te}function aa(P,K){var q=To(P,K),te=hn(P,K);if(!q)return te;if(!te)return q;for(var ue=0;ue<q.length;++ue){var Me=q[ue],dt=te[ue];if(Me&&dt){e:for(var Tt=0;Tt<dt.length;++Tt){for(var Qt=dt[Tt],tr=0;tr<Me.length;++tr)if(Me[tr].marker==Qt.marker)continue e;Me.push(Qt)}}else dt&&(q[ue]=dt)}return q}function Ns(P,K,q){for(var te=[],ue=0;ue<P.length;++ue){var Me=P[ue];if(Me.ranges){te.push(q?ft.prototype.deepCopy.call(Me):Me);continue}var dt=Me.changes,Tt=[];te.push({changes:Tt});for(var Qt=0;Qt<dt.length;++Qt){var tr=dt[Qt],en=void 0;if(Tt.push({from:tr.from,to:tr.to,text:tr.text}),K)for(var pn in tr)(en=pn.match(/^spans_(\d+)$/))&&(z(K,Number(en[1]))>-1&&(ce(Tt)[pn]=tr[pn],delete tr[pn]))}}return te}function Ss(P,K,q,te){if(te){var ue=P.anchor;if(q){var Me=ht(K,ue)<0;Me!=ht(q,ue)<0?(ue=K,K=q):Me!=ht(K,q)<0&&(K=q)}return new ne(ue,K)}else return new ne(q||K,K)}function is(P,K,q,te,ue){ue==null&&(ue=P.cm&&(P.cm.display.shift||P.extend)),Mo(P,new ft([Ss(P.sel.primary(),K,q,ue)],0),te)}function Qo(P,K,q){for(var te=[],ue=P.cm&&(P.cm.display.shift||P.extend),Me=0;Me<P.sel.ranges.length;Me++)te[Me]=Ss(P.sel.ranges[Me],K[Me],null,ue);var dt=Ae(P.cm,te,P.sel.primIndex);Mo(P,dt,q)}function fs(P,K,q,te){var ue=P.sel.ranges.slice(0);ue[K]=q,Mo(P,Ae(P.cm,ue,P.sel.primIndex),te)}function vl(P,K,q,te){Mo(P,Te(K,q),te)}function sl(P,K,q){var te={ranges:K.ranges,update:function(Me){this.ranges=[];for(var dt=0;dt<Me.length;dt++)this.ranges[dt]=new ne(mt(P,Me[dt].anchor),mt(P,Me[dt].head))},origin:q&&q.origin};return gt(P,"beforeSelectionChange",P,te),P.cm&&gt(P.cm,"beforeSelectionChange",P.cm,te),te.ranges!=K.ranges?Ae(P.cm,te.ranges,te.ranges.length-1):K}function ps(P,K,q){var te=P.history.done,ue=ce(te);ue&&ue.ranges?(te[te.length-1]=K,ls(P,K,q)):Mo(P,K,q)}function Mo(P,K,q){ls(P,K,q),yo(P,P.sel,P.cm?P.cm.curOp.id:NaN,q)}function ls(P,K,q){(_t(P,"beforeSelectionChange")||P.cm&&_t(P.cm,"beforeSelectionChange"))&&(K=sl(P,K,q));var te=q&&q.bias||(ht(K.primary().head,P.sel.primary().head)<0?-1:1);el(P,Fs(P,K,te,!0)),!(q&&q.scroll===!1)&&P.cm&&Ha(P.cm)}function el(P,K){if(K.equals(P.sel))return;P.sel=K,P.cm&&(P.cm.curOp.updateInput=1,P.cm.curOp.selectionChanged=!0,Et(P.cm)),Vt(P,"cursorActivity",P)}function ms(P){el(P,Fs(P,P.sel,null,!1))}function Fs(P,K,q,te){for(var ue,Me=0;Me<K.ranges.length;Me++){var dt=K.ranges[Me],Tt=K.ranges.length==P.sel.ranges.length&&P.sel.ranges[Me],Qt=Ds(P,dt.anchor,Tt&&Tt.anchor,q,te),tr=Ds(P,dt.head,Tt&&Tt.head,q,te);(ue||Qt!=dt.anchor||tr!=dt.head)&&(ue||(ue=K.ranges.slice(0,Me)),ue[Me]=new ne(Qt,tr))}return ue?Ae(P.cm,ue,K.primIndex):K}function Us(P,K,q,te,ue){var Me=Pe(P,K.line);if(Me.markedSpans)for(var dt=0;dt<Me.markedSpans.length;++dt){var Tt=Me.markedSpans[dt],Qt=Tt.marker,tr="selectLeft"in Qt?!Qt.selectLeft:Qt.inclusiveLeft,en="selectRight"in Qt?!Qt.selectRight:Qt.inclusiveRight;if((Tt.from==null||(tr?Tt.from<=K.ch:Tt.from<K.ch))&&(Tt.to==null||(en?Tt.to>=K.ch:Tt.to>K.ch))){if(ue&&(gt(Qt,"beforeCursorEnter"),Qt.explicitlyCleared))if(Me.markedSpans){--dt;continue}else break;if(!Qt.atomic)continue;if(q){var pn=Qt.find(te<0?1:-1),Mn=void 0;if((te<0?en:tr)&&(pn=al(P,pn,-te,pn&&pn.line==K.line?Me:null)),pn&&pn.line==K.line&&(Mn=ht(pn,q))&&(te<0?Mn<0:Mn>0))return Us(P,pn,K,te,ue)}var Fn=Qt.find(te<0?-1:1);return(te<0?tr:en)&&(Fn=al(P,Fn,te,Fn.line==K.line?Me:null)),Fn?Us(P,Fn,K,te,ue):null}}return K}function Ds(P,K,q,te,ue){var Me=te||1,dt=Us(P,K,q,Me,ue)||!ue&&Us(P,K,q,Me,!0)||Us(P,K,q,-Me,ue)||!ue&&Us(P,K,q,-Me,!0);return dt||(P.cantEdit=!0,Ut(P.first,0))}function al(P,K,q,te){return q<0&&K.ch==0?K.line>P.first?mt(P,Ut(K.line-1)):null:q>0&&K.ch==(te||Pe(P,K.line)).text.length?K.line<P.first+P.size-1?Ut(K.line+1,0):null:new Ut(K.line,K.ch+q)}function tl(P){P.setSelection(Ut(P.firstLine(),0),Ut(P.lastLine()),ie)}function Ys(P,K,q){var te={canceled:!1,from:K.from,to:K.to,text:K.text,origin:K.origin,cancel:function(){return te.canceled=!0}};return q&&(te.update=function(ue,Me,dt,Tt){ue&&(te.from=mt(P,ue)),Me&&(te.to=mt(P,Me)),dt&&(te.text=dt),Tt!==void 0&&(te.origin=Tt)}),gt(P,"beforeChange",P,te),P.cm&&gt(P.cm,"beforeChange",P.cm,te),te.canceled?(P.cm&&(P.cm.curOp.updateInput=2),null):{from:te.from,to:te.to,text:te.text,origin:te.origin}}function js(P,K,q){if(P.cm){if(!P.cm.curOp)return po(P.cm,js)(P,K,q);if(P.cm.state.suppressEdits)return}if((_t(P,"beforeChange")||P.cm&&_t(P.cm,"beforeChange"))&&(K=Ys(P,K,!0),!K))return;var te=Ge&&!q&&Xr(P,K.from,K.to);if(te)for(var ue=te.length-1;ue>=0;--ue)Ja(P,{from:te[ue].from,to:te[ue].to,text:ue?[""]:K.text,origin:K.origin});else Ja(P,K)}function Ja(P,K){if(K.text.length==1&&K.text[0]==""&&ht(K.from,K.to)==0)return;var q=xt(P,K);Eo(P,K,q,P.cm?P.cm.curOp.id:NaN),co(P,K,q,hn(P,K));var te=[];Ci(P,function(ue,Me){!Me&&z(te,ue.history)==-1&&(jo(ue.history,K),te.push(ue.history)),co(ue,K,null,hn(ue,K))})}function Ea(P,K,q){var te=P.cm&&P.cm.state.suppressEdits;if(te&&!q)return;for(var ue=P.history,Me,dt=P.sel,Tt=K=="undo"?ue.done:ue.undone,Qt=K=="undo"?ue.undone:ue.done,tr=0;tr<Tt.length&&!(Me=Tt[tr],q?Me.ranges&&!Me.equals(P.sel):!Me.ranges);tr++);if(tr==Tt.length)return;for(ue.lastOrigin=ue.lastSelOrigin=null;;)if(Me=Tt.pop(),Me.ranges){if(Lo(Me,Qt),q&&!Me.equals(P.sel)){Mo(P,Me,{clearRedo:!1});return}dt=Me}else if(te){Tt.push(Me);return}else break;var en=[];Lo(dt,Qt),Qt.push({changes:en,generation:ue.generation}),ue.generation=Me.generation||++ue.maxGeneration;for(var pn=_t(P,"beforeChange")||P.cm&&_t(P.cm,"beforeChange"),Mn=function(oa){var ea=Me.changes[oa];if(ea.origin=K,pn&&!Ys(P,ea,!1))return Tt.length=0,{};en.push(no(P,ea));var $i=oa?xt(P,ea):ce(Tt);co(P,ea,$i,aa(P,ea)),!oa&&P.cm&&P.cm.scrollIntoView({from:ea.from,to:je(ea)});var Sa=[];Ci(P,function(Ia,io){!io&&z(Sa,Ia.history)==-1&&(jo(Ia.history,ea),Sa.push(Ia.history)),co(Ia,ea,null,aa(Ia,ea))})},Fn=Me.changes.length-1;Fn>=0;--Fn){var yi=Mn(Fn);if(yi)return yi.v}}function za(P,K){if(K==0)return;if(P.first+=K,P.sel=new ft(Oe(P.sel.ranges,function(ue){return new ne(Ut(ue.anchor.line+K,ue.anchor.ch),Ut(ue.head.line+K,ue.head.ch))}),P.sel.primIndex),P.cm){vi(P.cm,P.first,P.first-K,K);for(var q=P.cm.display,te=q.viewFrom;te<q.viewTo;te++)Ai(P.cm,te,"gutter")}}function co(P,K,q,te){if(P.cm&&!P.cm.curOp)return po(P.cm,co)(P,K,q,te);if(K.to.line<P.first){za(P,K.text.length-1-(K.to.line-K.from.line));return}if(K.from.line>P.lastLine())return;if(K.from.line<P.first){var ue=K.text.length-1-(P.first-K.from.line);za(P,ue),K={from:Ut(P.first,0),to:Ut(K.to.line+ue,K.to.ch),text:[ce(K.text)],origin:K.origin}}var Me=P.lastLine();K.to.line>Me&&(K={from:K.from,to:Ut(Me,Pe(P,Me).text.length),text:[K.text[0]],origin:K.origin}),K.removed=rt(P,K.from,K.to),q||(q=xt(P,K)),P.cm?$o(P.cm,K,te):ai(P,K,te),ls(P,q,ie),P.cantEdit&&Ds(P,Ut(P.firstLine(),0))&&(P.cantEdit=!1)}function $o(P,K,q){var te=P.doc,ue=P.display,Me=K.from,dt=K.to,Tt=!1,Qt=Me.line;P.options.lineWrapping||(Qt=kt(gn(Pe(te,Me.line))),te.iter(Qt,dt.line+1,function(Fn){if(Fn==ue.maxLine)return Tt=!0,!0})),te.sel.contains(K.from,K.to)>-1&&Et(P),ai(te,K,q,Ta(P)),P.options.lineWrapping||(te.iter(Qt,Me.line+K.text.length,function(Fn){var yi=Qi(Fn);yi>ue.maxLineLength&&(ue.maxLine=Fn,ue.maxLineLength=yi,ue.maxLineChanged=!0,Tt=!1)}),Tt&&(P.curOp.updateMaxLine=!0)),Fe(te,Me.line),Fo(P,400);var tr=K.text.length-(dt.line-Me.line)-1;K.full?vi(P):Me.line==dt.line&&K.text.length==1&&!Hn(P.doc,K)?Ai(P,Me.line,"text"):vi(P,Me.line,dt.line+1,tr);var en=_t(P,"changes"),pn=_t(P,"change");if(pn||en){var Mn={from:Me,to:dt,text:K.text,removed:K.removed,origin:K.origin};pn&&Vt(P,"change",P,Mn),en&&(P.curOp.changeObjs||(P.curOp.changeObjs=[])).push(Mn)}P.display.selForContextMenu=null}function Hs(P,K,q,te,ue){var Me;te||(te=q),ht(te,q)<0&&(Me=[te,q],q=Me[0],te=Me[1]),typeof K=="string"&&(K=P.splitLines(K)),js(P,{from:q,to:te,text:K,origin:ue})}function As(P,K,q,te){q<P.line?P.line+=te:K<P.line&&(P.line=K,P.ch=0)}function ys(P,K,q,te){for(var ue=0;ue<P.length;++ue){var Me=P[ue],dt=!0;if(Me.ranges){Me.copied||(Me=P[ue]=Me.deepCopy(),Me.copied=!0);for(var Tt=0;Tt<Me.ranges.length;Tt++)As(Me.ranges[Tt].anchor,K,q,te),As(Me.ranges[Tt].head,K,q,te);continue}for(var Qt=0;Qt<Me.changes.length;++Qt){var tr=Me.changes[Qt];if(q<tr.from.line)tr.from=Ut(tr.from.line+te,tr.from.ch),tr.to=Ut(tr.to.line+te,tr.to.ch);else if(K<=tr.to.line){dt=!1;break}}dt||(P.splice(0,ue+1),ue=0)}}function jo(P,K){var q=K.from.line,te=K.to.line,ue=K.text.length-(te-q)-1;ys(P.done,q,te,ue),ys(P.undone,q,te,ue)}function Co(P,K,q,te){var ue=K,Me=K;return typeof K=="number"?Me=Pe(P,Bt(P,K)):ue=kt(K),ue==null?null:(te(Me,ue)&&P.cm&&Ai(P.cm,ue,q),Me)}function qo(P){this.lines=P,this.parent=null;for(var K=0,q=0;q<P.length;++q)P[q].parent=this,K+=P[q].height;this.height=K}qo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(K,q){for(var te=K,ue=K+q;te<ue;++te){var Me=this.lines[te];this.height-=Me.height,Mr(Me),Vt(Me,"delete")}this.lines.splice(K,q)},collapse:function(K){K.push.apply(K,this.lines)},insertInner:function(K,q,te){this.height+=te,this.lines=this.lines.slice(0,K).concat(q).concat(this.lines.slice(K));for(var ue=0;ue<q.length;++ue)q[ue].parent=this},iterN:function(K,q,te){for(var ue=K+q;K<ue;++K)if(te(this.lines[K]))return!0}};function So(P){this.children=P;for(var K=0,q=0,te=0;te<P.length;++te){var ue=P[te];K+=ue.chunkSize(),q+=ue.height,ue.parent=this}this.size=K,this.height=q,this.parent=null}So.prototype={chunkSize:function(){return this.size},removeInner:function(K,q){this.size-=q;for(var te=0;te<this.children.length;++te){var ue=this.children[te],Me=ue.chunkSize();if(K<Me){var dt=Math.min(q,Me-K),Tt=ue.height;if(ue.removeInner(K,dt),this.height-=Tt-ue.height,Me==dt&&(this.children.splice(te--,1),ue.parent=null),(q-=dt)==0)break;K=0}else K-=Me}if(this.size-q<25&&(this.children.length>1||!(this.children[0]instanceof qo))){var Qt=[];this.collapse(Qt),this.children=[new qo(Qt)],this.children[0].parent=this}},collapse:function(K){for(var q=0;q<this.children.length;++q)this.children[q].collapse(K)},insertInner:function(K,q,te){this.size+=q.length,this.height+=te;for(var ue=0;ue<this.children.length;++ue){var Me=this.children[ue],dt=Me.chunkSize();if(K<=dt){if(Me.insertInner(K,q,te),Me.lines&&Me.lines.length>50){for(var Tt=Me.lines.length%25+25,Qt=Tt;Qt<Me.lines.length;){var tr=new qo(Me.lines.slice(Qt,Qt+=25));Me.height-=tr.height,this.children.splice(++ue,0,tr),tr.parent=this}Me.lines=Me.lines.slice(0,Tt),this.maybeSpill()}break}K-=dt}},maybeSpill:function(){if(this.children.length<=10)return;var K=this;do{var q=K.children.splice(K.children.length-5,5),te=new So(q);if(K.parent){K.size-=te.size,K.height-=te.height;var Me=z(K.parent.children,K);K.parent.children.splice(Me+1,0,te)}else{var ue=new So(K.children);ue.parent=K,K.children=[ue,te],K=ue}te.parent=K.parent}while(K.children.length>10);K.parent.maybeSpill()},iterN:function(K,q,te){for(var ue=0;ue<this.children.length;++ue){var Me=this.children[ue],dt=Me.chunkSize();if(K<dt){var Tt=Math.min(q,dt-K);if(Me.iterN(K,Tt,te))return!0;if((q-=Tt)==0)break;K=0}else K-=dt}}};var Ws=function(K,q,te){if(te)for(var ue in te)te.hasOwnProperty(ue)&&(this[ue]=te[ue]);this.doc=K,this.node=q};Ws.prototype.clear=function(){var P=this.doc.cm,K=this.line.widgets,q=this.line,te=kt(q);if(te==null||!K)return;for(var ue=0;ue<K.length;++ue)K[ue]==this&&K.splice(ue--,1);K.length||(q.widgets=null);var Me=Pn(this);Yt(q,Math.max(0,q.height-Me)),P&&(Do(P,function(){Sl(P,q,-Me),Ai(P,te,"widget")}),Vt(P,"lineWidgetCleared",P,this,te))},Ws.prototype.changed=function(){var P=this,K=this.height,q=this.doc.cm,te=this.line;this.height=null;var ue=Pn(this)-K;if(!ue)return;qn(this.doc,te)||Yt(te,te.height+ue),q&&Do(q,function(){q.curOp.forceUpdate=!0,Sl(q,te,ue),Vt(q,"lineWidgetChanged",q,P,kt(te))})},Ht(Ws);function Sl(P,K,q){Jn(K)<(P.curOp&&P.curOp.scrollTop||P.doc.scrollTop)&&Ca(P,q)}function xl(P,K,q,te){var ue=new Ws(P,q,te),Me=P.cm;return Me&&ue.noHScroll&&(Me.display.alignWidgets=!0),Co(P,K,"widget",function(dt){var Tt=dt.widgets||(dt.widgets=[]);if(ue.insertAt==null?Tt.push(ue):Tt.splice(Math.min(Tt.length-1,Math.max(0,ue.insertAt)),0,ue),ue.line=dt,Me&&!qn(P,dt)){var Qt=Jn(dt)<P.scrollTop;Yt(dt,dt.height+Pn(ue)),Qt&&Ca(Me,ue.height),Me.curOp.forceUpdate=!0}return!0}),Me&&Vt(Me,"lineWidgetAdded",Me,ue,typeof K=="number"?K:kt(K)),ue}var Bl=0,rl=function(K,q){this.lines=[],this.type=q,this.doc=K,this.id=++Bl};rl.prototype.clear=function(){if(this.explicitlyCleared)return;var P=this.doc.cm,K=P&&!P.curOp;if(K&&Wa(P),_t(this,"clear")){var q=this.find();q&&Vt(this,"clear",q.from,q.to)}for(var te=null,ue=null,Me=0;Me<this.lines.length;++Me){var dt=this.lines[Me],Tt=Ft(dt.markedSpans,this);P&&!this.collapsed?Ai(P,kt(dt),"text"):P&&(Tt.to!=null&&(ue=kt(dt)),Tt.from!=null&&(te=kt(dt))),dt.markedSpans=wr(dt.markedSpans,Tt),Tt.from==null&&this.collapsed&&!qn(this.doc,dt)&&P&&Yt(dt,Ni(P.display))}if(P&&this.collapsed&&!P.options.lineWrapping)for(var Qt=0;Qt<this.lines.length;++Qt){var tr=gn(this.lines[Qt]),en=Qi(tr);en>P.display.maxLineLength&&(P.display.maxLine=tr,P.display.maxLineLength=en,P.display.maxLineChanged=!0)}te!=null&&P&&this.collapsed&&vi(P,te,ue+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,P&&ms(P.doc)),P&&Vt(P,"markerCleared",P,this,te,ue),K&&Xo(P),this.parent&&this.parent.clear()},rl.prototype.find=function(P,K){P==null&&this.type=="bookmark"&&(P=1);for(var q,te,ue=0;ue<this.lines.length;++ue){var Me=this.lines[ue],dt=Ft(Me.markedSpans,this);if(dt.from!=null&&(q=Ut(K?Me:kt(Me),dt.from),P==-1))return q;if(dt.to!=null&&(te=Ut(K?Me:kt(Me),dt.to),P==1))return te}return q&&{from:q,to:te}},rl.prototype.changed=function(){var P=this,K=this.find(-1,!0),q=this,te=this.doc.cm;if(!K||!te)return;Do(te,function(){var ue=K.line,Me=kt(K.line),dt=_i(te,Me);if(dt&&(br(dt),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!qn(q.doc,ue)&&q.height!=null){var Tt=q.height;q.height=null;var Qt=Pn(q)-Tt;Qt&&Yt(ue,ue.height+Qt)}Vt(te,"markerChanged",te,P)})},rl.prototype.attachLine=function(P){if(!this.lines.length&&this.doc.cm){var K=this.doc.cm.curOp;(!K.maybeHiddenMarkers||z(K.maybeHiddenMarkers,this)==-1)&&(K.maybeUnhiddenMarkers||(K.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(P)},rl.prototype.detachLine=function(P){if(this.lines.splice(z(this.lines,P),1),!this.lines.length&&this.doc.cm){var K=this.doc.cm.curOp;(K.maybeHiddenMarkers||(K.maybeHiddenMarkers=[])).push(this)}},Ht(rl);function Il(P,K,q,te,ue){if(te&&te.shared)return Uu(P,K,q,te,ue);if(P.cm&&!P.cm.curOp)return po(P.cm,Il)(P,K,q,te,ue);var Me=new rl(P,ue),dt=ht(K,q);if(te&&j(te,Me,!1),dt>0||dt==0&&Me.clearWhenEmpty!==!1)return Me;if(Me.replacedWith&&(Me.collapsed=!0,Me.widgetNode=O("span",[Me.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||Me.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(Me.widgetNode.insertLeft=!0)),Me.collapsed){if(Di(P,K.line,K,q,Me)||K.line!=q.line&&Di(P,q.line,K,q,Me))throw new Error("Inserting collapsed marker partially overlapping an existing one");vt()}Me.addToHistory&&Eo(P,{from:K,to:q,origin:"markText"},P.sel,NaN);var Tt=K.line,Qt=P.cm,tr;if(P.iter(Tt,q.line+1,function(pn){Qt&&Me.collapsed&&!Qt.options.lineWrapping&&gn(pn)==Qt.display.maxLine&&(tr=!0),Me.collapsed&&Tt!=K.line&&Yt(pn,0),pr(pn,new lt(Me,Tt==K.line?K.ch:null,Tt==q.line?q.ch:null)),++Tt}),Me.collapsed&&P.iter(K.line,q.line+1,function(pn){qn(P,pn)&&Yt(pn,0)}),Me.clearOnEnter&&Le(Me,"beforeCursorEnter",function(){return Me.clear()}),Me.readOnly&&(qe(),(P.history.done.length||P.history.undone.length)&&P.clearHistory()),Me.collapsed&&(Me.id=++Bl,Me.atomic=!0),Qt){if(tr&&(Qt.curOp.updateMaxLine=!0),Me.collapsed)vi(Qt,K.line,q.line+1);else if(Me.className||Me.startStyle||Me.endStyle||Me.css||Me.attributes||Me.title)for(var en=K.line;en<=q.line;en++)Ai(Qt,en,"text");Me.atomic&&ms(Qt.doc),Vt(Qt,"markerAdded",Qt,Me)}return Me}var Ll=function(K,q){this.markers=K,this.primary=q;for(var te=0;te<K.length;++te)K[te].parent=this};Ll.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var P=0;P<this.markers.length;++P)this.markers[P].clear();Vt(this,"clear")},Ll.prototype.find=function(P,K){return this.primary.find(P,K)},Ht(Ll);function Uu(P,K,q,te,ue){te=j(te),te.shared=!1;var Me=[Il(P,K,q,te,ue)],dt=Me[0],Tt=te.widgetNode;return Ci(P,function(Qt){Tt&&(te.widgetNode=Tt.cloneNode(!0)),Me.push(Il(Qt,mt(Qt,K),mt(Qt,q),te,ue));for(var tr=0;tr<Qt.linked.length;++tr)if(Qt.linked[tr].isParent)return;dt=ce(Me)}),new Ll(Me,dt)}function iu(P){return P.findMarks(Ut(P.first,0),P.clipPos(Ut(P.lastLine())),function(K){return K.parent})}function Tu(P,K){for(var q=0;q<K.length;q++){var te=K[q],ue=te.find(),Me=P.clipPos(ue.from),dt=P.clipPos(ue.to);if(ht(Me,dt)){var Tt=Il(P,Me,dt,te.primary,te.primary.type);te.markers.push(Tt),Tt.parent=te}}}function au(P){for(var K=function(ue){var Me=P[ue],dt=[Me.primary.doc];Ci(Me.primary.doc,function(tr){return dt.push(tr)});for(var Tt=0;Tt<Me.markers.length;Tt++){var Qt=Me.markers[Tt];z(dt,Qt.doc)==-1&&(Qt.parent=null,Me.markers.splice(Tt--,1))}},q=0;q<P.length;q++)K(q)}var Hl=0,zs=function P(K,q,te,ue,Me){if(!(this instanceof P))return new P(K,q,te,ue,Me);te==null&&(te=0),So.call(this,[new qo([new Ei("",null)])]),this.first=te,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=te;var dt=Ut(te,0);this.sel=Te(dt),this.history=new Za(null),this.id=++Hl,this.modeOption=q,this.lineSep=ue,this.direction=Me=="rtl"?"rtl":"ltr",this.extend=!1,typeof K=="string"&&(K=this.splitLines(K)),ai(this,{from:dt,to:dt,text:K}),Mo(this,Te(dt),ie)};zs.prototype=ze(So.prototype,{constructor:zs,iter:function(K,q,te){te?this.iterN(K-this.first,q-K,te):this.iterN(this.first,this.first+this.size,K)},insert:function(K,q){for(var te=0,ue=0;ue<q.length;++ue)te+=q[ue].height;this.insertInner(K-this.first,q,te)},remove:function(K,q){this.removeInner(K-this.first,q)},getValue:function(K){var q=Pt(this,this.first,this.first+this.size);return K===!1?q:q.join(K||this.lineSeparator())},setValue:Yo(function(P){var K=Ut(this.first,0),q=this.first+this.size-1;js(this,{from:K,to:Ut(q,Pe(this,q).text.length),text:this.splitLines(P),origin:"setValue",full:!0},!0),this.cm&&Na(this.cm,0,0),Mo(this,Te(K),ie)}),replaceRange:function(K,q,te,ue){q=mt(this,q),te=te?mt(this,te):q,Hs(this,K,q,te,ue)},getRange:function(K,q,te){var ue=rt(this,mt(this,K),mt(this,q));return te===!1?ue:ue.join(te||this.lineSeparator())},getLine:function(K){var q=this.getLineHandle(K);return q&&q.text},getLineHandle:function(K){if(Rr(this,K))return Pe(this,K)},getLineNumber:function(K){return kt(K)},getLineHandleVisualStart:function(K){return typeof K=="number"&&(K=Pe(this,K)),gn(K)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(K){return mt(this,K)},getCursor:function(K){var q=this.sel.primary(),te;return K==null||K=="head"?te=q.head:K=="anchor"?te=q.anchor:K=="end"||K=="to"||K===!1?te=q.to():te=q.from(),te},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Yo(function(P,K,q){vl(this,mt(this,typeof P=="number"?Ut(P,K||0):P),null,q)}),setSelection:Yo(function(P,K,q){vl(this,mt(this,P),mt(this,K||P),q)}),extendSelection:Yo(function(P,K,q){is(this,mt(this,P),K&&mt(this,K),q)}),extendSelections:Yo(function(P,K){Qo(this,hr(this,P),K)}),extendSelectionsBy:Yo(function(P,K){var q=Oe(this.sel.ranges,P);Qo(this,hr(this,q),K)}),setSelections:Yo(function(P,K,q){if(!P.length)return;for(var te=[],ue=0;ue<P.length;ue++)te[ue]=new ne(mt(this,P[ue].anchor),mt(this,P[ue].head));K==null&&(K=Math.min(P.length-1,this.sel.primIndex)),Mo(this,Ae(this.cm,te,K),q)}),addSelection:Yo(function(P,K,q){var te=this.sel.ranges.slice(0);te.push(new ne(mt(this,P),mt(this,K||P))),Mo(this,Ae(this.cm,te,te.length-1),q)}),getSelection:function(K){for(var q=this.sel.ranges,te,ue=0;ue<q.length;ue++){var Me=rt(this,q[ue].from(),q[ue].to());te=te?te.concat(Me):Me}return K===!1?te:te.join(K||this.lineSeparator())},getSelections:function(K){for(var q=[],te=this.sel.ranges,ue=0;ue<te.length;ue++){var Me=rt(this,te[ue].from(),te[ue].to());K!==!1&&(Me=Me.join(K||this.lineSeparator())),q[ue]=Me}return q},replaceSelection:function(K,q,te){for(var ue=[],Me=0;Me<this.sel.ranges.length;Me++)ue[Me]=K;this.replaceSelections(ue,q,te||"+input")},replaceSelections:Yo(function(P,K,q){for(var te=[],ue=this.sel,Me=0;Me<ue.ranges.length;Me++){var dt=ue.ranges[Me];te[Me]={from:dt.from(),to:dt.to(),text:this.splitLines(P[Me]),origin:q}}for(var Tt=K&&K!="end"&&Ir(this,te,K),Qt=te.length-1;Qt>=0;Qt--)js(this,te[Qt]);Tt?ps(this,Tt):this.cm&&Ha(this.cm)}),undo:Yo(function(){Ea(this,"undo")}),redo:Yo(function(){Ea(this,"redo")}),undoSelection:Yo(function(){Ea(this,"undo",!0)}),redoSelection:Yo(function(){Ea(this,"redo",!0)}),setExtending:function(K){this.extend=K},getExtending:function(){return this.extend},historySize:function(){for(var K=this.history,q=0,te=0,ue=0;ue<K.done.length;ue++)K.done[ue].ranges||++q;for(var Me=0;Me<K.undone.length;Me++)K.undone[Me].ranges||++te;return{undo:q,redo:te}},clearHistory:function(){var K=this;this.history=new Za(this.history.maxGeneration),Ci(this,function(q){return q.history=K.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(K){return K&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(K){return this.history.generation==(K||this.cleanGeneration)},getHistory:function(){return{done:Ns(this.history.done),undone:Ns(this.history.undone)}},setHistory:function(K){var q=this.history=new Za(this.history.maxGeneration);q.done=Ns(K.done.slice(0),null,!0),q.undone=Ns(K.undone.slice(0),null,!0)},setGutterMarker:Yo(function(P,K,q){return Co(this,P,"gutter",function(te){var ue=te.gutterMarkers||(te.gutterMarkers={});return ue[K]=q,!q&&Q(ue)&&(te.gutterMarkers=null),!0})}),clearGutter:Yo(function(P){var K=this;this.iter(function(q){q.gutterMarkers&&q.gutterMarkers[P]&&Co(K,q,"gutter",function(){return q.gutterMarkers[P]=null,Q(q.gutterMarkers)&&(q.gutterMarkers=null),!0})})}),lineInfo:function(K){var q;if(typeof K=="number"){if(!Rr(this,K))return null;if(q=K,K=Pe(this,K),!K)return null}else if(q=kt(K),q==null)return null;return{line:q,handle:K,text:K.text,gutterMarkers:K.gutterMarkers,textClass:K.textClass,bgClass:K.bgClass,wrapClass:K.wrapClass,widgets:K.widgets}},addLineClass:Yo(function(P,K,q){return Co(this,P,K=="gutter"?"gutter":"class",function(te){var ue=K=="text"?"textClass":K=="background"?"bgClass":K=="gutter"?"gutterClass":"wrapClass";if(!te[ue])te[ue]=q;else{if(T(q).test(te[ue]))return!1;te[ue]+=" "+q}return!0})}),removeLineClass:Yo(function(P,K,q){return Co(this,P,K=="gutter"?"gutter":"class",function(te){var ue=K=="text"?"textClass":K=="background"?"bgClass":K=="gutter"?"gutterClass":"wrapClass",Me=te[ue];if(Me)if(q==null)te[ue]=null;else{var dt=Me.match(T(q));if(!dt)return!1;var Tt=dt.index+dt[0].length;te[ue]=Me.slice(0,dt.index)+(!dt.index||Tt==Me.length?"":" ")+Me.slice(Tt)||null}else return!1;return!0})}),addLineWidget:Yo(function(P,K,q){return xl(this,P,K,q)}),removeLineWidget:function(K){K.clear()},markText:function(K,q,te){return Il(this,mt(this,K),mt(this,q),te,te&&te.type||"range")},setBookmark:function(K,q){var te={replacedWith:q&&(q.nodeType==null?q.widget:q),insertLeft:q&&q.insertLeft,clearWhenEmpty:!1,shared:q&&q.shared,handleMouseEvents:q&&q.handleMouseEvents};return K=mt(this,K),Il(this,K,K,te,"bookmark")},findMarksAt:function(K){K=mt(this,K);var q=[],te=Pe(this,K.line).markedSpans;if(te)for(var ue=0;ue<te.length;++ue){var Me=te[ue];(Me.from==null||Me.from<=K.ch)&&(Me.to==null||Me.to>=K.ch)&&q.push(Me.marker.parent||Me.marker)}return q},findMarks:function(K,q,te){K=mt(this,K),q=mt(this,q);var ue=[],Me=K.line;return this.iter(K.line,q.line+1,function(dt){var Tt=dt.markedSpans;if(Tt)for(var Qt=0;Qt<Tt.length;Qt++){var tr=Tt[Qt];!(tr.to!=null&&Me==K.line&&K.ch>=tr.to||tr.from==null&&Me!=K.line||tr.from!=null&&Me==q.line&&tr.from>=q.ch)&&(!te||te(tr.marker))&&ue.push(tr.marker.parent||tr.marker)}++Me}),ue},getAllMarks:function(){var K=[];return this.iter(function(q){var te=q.markedSpans;if(te)for(var ue=0;ue<te.length;++ue)te[ue].from!=null&&K.push(te[ue].marker)}),K},posFromIndex:function(K){var q,te=this.first,ue=this.lineSeparator().length;return this.iter(function(Me){var dt=Me.text.length+ue;if(dt>K)return q=K,!0;K-=dt,++te}),mt(this,Ut(te,q))},indexFromPos:function(K){K=mt(this,K);var q=K.ch;if(K.line<this.first||K.ch<0)return 0;var te=this.lineSeparator().length;return this.iter(this.first,K.line,function(ue){q+=ue.text.length+te}),q},copy:function(K){var q=new zs(Pt(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return q.scrollTop=this.scrollTop,q.scrollLeft=this.scrollLeft,q.sel=this.sel,q.extend=!1,K&&(q.history.undoDepth=this.history.undoDepth,q.setHistory(this.getHistory())),q},linkedDoc:function(K){K||(K={});var q=this.first,te=this.first+this.size;K.from!=null&&K.from>q&&(q=K.from),K.to!=null&&K.to<te&&(te=K.to);var ue=new zs(Pt(this,q,te),K.mode||this.modeOption,q,this.lineSep,this.direction);return K.sharedHist&&(ue.history=this.history),(this.linked||(this.linked=[])).push({doc:ue,sharedHist:K.sharedHist}),ue.linked=[{doc:this,isParent:!0,sharedHist:K.sharedHist}],Tu(ue,iu(this)),ue},unlinkDoc:function(K){if(K instanceof dr&&(K=K.doc),this.linked)for(var q=0;q<this.linked.length;++q){var te=this.linked[q];if(te.doc!=K)continue;this.linked.splice(q,1),K.unlinkDoc(this),au(iu(this));break}if(K.history==this.history){var ue=[K.id];Ci(K,function(Me){return ue.push(Me.id)},!0),K.history=new Za(null),K.history.done=Ns(this.history.done,ue),K.history.undone=Ns(this.history.undone,ue)}},iterLinkedDocs:function(K){Ci(this,K)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(K){return this.lineSep?K.split(this.lineSep):Fr(K)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Yo(function(P){if(P!="rtl"&&(P="ltr"),P==this.direction)return;this.direction=P,this.iter(function(K){return K.order=null}),this.cm&&_a(this.cm)})}),zs.prototype.eachLine=zs.prototype.iter;var nl=0;function ll(P){var K=this;if(su(K),wt(K,P)||Un(K.display,P))return;Ze(P),p&&(nl=+new Date);var q=bi(K,P,!0),te=P.dataTransfer.files;if(!q||K.isReadOnly())return;if(te&&te.length&&window.FileReader&&window.File)for(var ue=te.length,Me=Array(ue),dt=0,Tt=function(){++dt==ue&&po(K,function(){q=mt(K.doc,q);var yi={from:q,to:q,text:K.doc.splitLines(Me.filter(function(Xi){return Xi!=null}).join(K.doc.lineSeparator())),origin:"paste"};js(K.doc,yi),ps(K.doc,Te(mt(K.doc,q),mt(K.doc,je(yi))))})()},Qt=function(yi,Xi){if(K.options.allowDropFileTypes&&z(K.options.allowDropFileTypes,yi.type)==-1){Tt();return}var oa=new FileReader;oa.onerror=function(){return Tt()},oa.onload=function(){var ea=oa.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ea)){Tt();return}Me[Xi]=ea,Tt()},oa.readAsText(yi)},tr=0;tr<te.length;tr++)Qt(te[tr],tr);else{if(K.state.draggingText&&K.doc.sel.contains(q)>-1){K.state.draggingText(P),setTimeout(function(){return K.display.input.focus()},20);return}try{var en=P.dataTransfer.getData("Text");if(en){var pn;if(K.state.draggingText&&!K.state.draggingText.copy&&(pn=K.listSelections()),ls(K.doc,Te(q,q)),pn)for(var Mn=0;Mn<pn.length;++Mn)Hs(K.doc,"",pn[Mn].anchor,pn[Mn].head,"drag");K.replaceSelection(en,"around","paste"),K.display.input.focus()}}catch(Fn){}}}function Fl(P,K){if(p&&(!P.state.draggingText||+new Date-nl<100)){yt(K);return}if(wt(P,K)||Un(P.display,K))return;if(K.dataTransfer.setData("Text",P.getSelection()),K.dataTransfer.effectAllowed="copyMove",K.dataTransfer.setDragImage&&!t){var q=L("img",null,null,"position: fixed; left: 0; top: 0;");q.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",n&&(q.width=q.height=1,P.display.wrapper.appendChild(q),q._top=q.offsetTop),K.dataTransfer.setDragImage(q,0,0),n&&q.parentNode.removeChild(q)}}function ou(P,K){var q=bi(P,K);if(!q)return;var te=document.createDocumentFragment();ra(P,q,te),P.display.dragCursor||(P.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),P.display.lineSpace.insertBefore(P.display.dragCursor,P.display.cursorDiv)),I(P.display.dragCursor,te)}function su(P){P.display.dragCursor&&(P.display.lineSpace.removeChild(P.display.dragCursor),P.display.dragCursor=null)}function Ql(P){if(!document.getElementsByClassName)return;for(var K=document.getElementsByClassName("CodeMirror"),q=[],te=0;te<K.length;te++){var ue=K[te].CodeMirror;ue&&q.push(ue)}q.length&&q[0].operation(function(){for(var Me=0;Me<q.length;Me++)P(q[Me])})}var Vs=!1;function lu(){if(Vs)return;uu(),Vs=!0}function uu(){var P;Le(window,"resize",function(){P==null&&(P=setTimeout(function(){P=null,Ql(Cu)},100))}),Le(window,"blur",function(){return Ql(ao)})}function Cu(P){var K=P.display;K.cachedCharWidth=K.cachedTextHeight=K.cachedPaddingH=null,K.scrollbarsClipped=!1,P.setSize()}for(var Al={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"},Ol=0;Ol<10;Ol++)Al[Ol+48]=Al[Ol+96]=String(Ol);for(var Kl=65;Kl<=90;Kl++)Al[Kl]=String.fromCharCode(Kl);for(var Jl=1;Jl<=12;Jl++)Al[Jl+111]=Al[Jl+63235]="F"+Jl;var El={};El.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"},El.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"},El.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"},El.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"]},El.default=h?El.macDefault:El.pcDefault;function ju(P){var K=P.split(/-(?!$)/);P=K[K.length-1];for(var q,te,ue,Me,dt=0;dt<K.length-1;dt++){var Tt=K[dt];if(/^(cmd|meta|m)$/i.test(Tt))Me=!0;else if(/^a(lt)?$/i.test(Tt))q=!0;else if(/^(c|ctrl|control)$/i.test(Tt))te=!0;else if(/^s(hift)?$/i.test(Tt))ue=!0;else throw new Error("Unrecognized modifier name: "+Tt)}return q&&(P="Alt-"+P),te&&(P="Ctrl-"+P),Me&&(P="Cmd-"+P),ue&&(P="Shift-"+P),P}function Hu(P){var K={};for(var q in P)if(P.hasOwnProperty(q)){var te=P[q];if(/^(name|fallthrough|(de|at)tach)$/.test(q))continue;if(te=="..."){delete P[q];continue}for(var ue=Oe(q.split(" "),ju),Me=0;Me<ue.length;Me++){var dt=void 0,Tt=void 0;Me==ue.length-1?(Tt=ue.join(" "),dt=te):(Tt=ue.slice(0,Me+1).join(" "),dt="...");var Qt=K[Tt];if(!Qt)K[Tt]=dt;else if(Qt!=dt)throw new Error("Inconsistent bindings for "+Tt)}delete P[q]}for(var tr in K)P[tr]=K[tr];return P}function yl(P,K,q,te){K=bs(K);var ue=K.call?K.call(P,te):K[P];if(ue===!1)return"nothing";if(ue==="...")return"multi";if(ue!=null&&q(ue))return"handled";if(K.fallthrough){if(Object.prototype.toString.call(K.fallthrough)!="[object Array]")return yl(P,K.fallthrough,q,te);for(var Me=0;Me<K.fallthrough.length;Me++){var dt=yl(P,K.fallthrough[Me],q,te);if(dt)return dt}}}function Zl(P){var K=typeof P=="string"?P:Al[P.keyCode];return K=="Ctrl"||K=="Alt"||K=="Shift"||K=="Mod"}function cu(P,K,q){var te=P;return K.altKey&&te!="Alt"&&(P="Alt-"+P),(y?K.metaKey:K.ctrlKey)&&te!="Ctrl"&&(P="Ctrl-"+P),(y?K.ctrlKey:K.metaKey)&&te!="Mod"&&(P="Cmd-"+P),!q&&K.shiftKey&&te!="Shift"&&(P="Shift-"+P),P}function $l(P,K){if(n&&P.keyCode==34&&P.char)return!1;var q=Al[P.keyCode];return q==null||P.altGraphKey?!1:(P.keyCode==3&&P.code&&(q=P.code),cu(q,P,K))}function bs(P){return typeof P=="string"?El[P]:P}function dl(P,K){for(var q=P.doc.sel.ranges,te=[],ue=0;ue<q.length;ue++){for(var Me=K(q[ue]);te.length&&ht(Me.from,ce(te).to)<=0;){var dt=te.pop();if(ht(dt.from,Me.from)<0){Me.from=dt.from;break}}te.push(Me)}Do(P,function(){for(var Tt=te.length-1;Tt>=0;Tt--)Hs(P.doc,"",te[Tt].from,te[Tt].to,"+delete");Ha(P)})}function Ul(P,K,q){var te=Ce(P.text,K+q,q);return te<0||te>P.text.length?null:te}function _u(P,K,q){var te=Ul(P,K.ch,q);return te==null?null:new Ut(K.line,te,q<0?"after":"before")}function du(P,K,q,te,ue){if(P){K.doc.direction=="rtl"&&(ue=-ue);var Me=nt(q,K.doc.direction);if(Me){var dt=ue<0?ce(Me):Me[0],Tt=ue<0==(dt.level==1),Qt=Tt?"after":"before",tr;if(dt.level>0||K.doc.direction=="rtl"){var en=pi(K,q);tr=ue<0?q.text.length-1:0;var pn=ki(K,en,tr).top;tr=we(function(Mn){return ki(K,en,Mn).top==pn},ue<0==(dt.level==1)?dt.from:dt.to-1,tr),Qt=="before"&&(tr=Ul(q,tr,1))}else tr=ue<0?dt.to:dt.from;return new Ut(te,tr,Qt)}}return new Ut(te,ue<0?q.text.length:0,ue<0?"before":"after")}function Wl(P,K,q,te){var ue=nt(K,P.doc.direction);if(!ue)return _u(K,q,te);q.ch>=K.text.length?(q.ch=K.text.length,q.sticky="before"):q.ch<=0&&(q.ch=0,q.sticky="after");var Me=xe(ue,q.ch,q.sticky),dt=ue[Me];if(P.doc.direction=="ltr"&&dt.level%2==0&&(te>0?dt.to>q.ch:dt.from<q.ch))return _u(K,q,te);var Tt=function($i,Sa){return Ul(K,$i instanceof Ut?$i.ch:$i,Sa)},Qt,tr=function($i){return P.options.lineWrapping?(Qt=Qt||pi(P,K),di(P,K,Qt,$i)):{begin:0,end:K.text.length}},en=tr(q.sticky=="before"?Tt(q,-1):q.ch);if(P.doc.direction=="rtl"||dt.level==1){var pn=dt.level==1==te<0,Mn=Tt(q,pn?1:-1);if(Mn!=null&&(pn?Mn<=dt.to&&Mn<=en.end:Mn>=dt.from&&Mn>=en.begin)){var Fn=pn?"before":"after";return new Ut(q.line,Mn,Fn)}}var yi=function($i,Sa,Ia){for(var io=function(es,Rs){return Rs?new Ut(q.line,Tt(es,1),"before"):new Ut(q.line,es,"after")};$i>=0&&$i<ue.length;$i+=Sa){var Fa=ue[$i],xo=Sa>0==(Fa.level!=1),Wo=xo?Ia.begin:Tt(Ia.end,-1);if(Fa.from<=Wo&&Wo<Fa.to)return io(Wo,xo);if(Wo=xo?Fa.from:Tt(Fa.to,-1),Ia.begin<=Wo&&Wo<Ia.end)return io(Wo,xo)}},Xi=yi(Me+te,te,en);if(Xi)return Xi;var oa=te>0?en.end:Tt(en.begin,-1);return oa!=null&&!(te>0&&oa==K.text.length)&&(Xi=yi(te>0?0:ue.length-1,te,tr(oa)),Xi)?Xi:null}var zl={selectAll:tl,singleSelection:function(K){return K.setSelection(K.getCursor("anchor"),K.getCursor("head"),ie)},killLine:function(K){return dl(K,function(q){if(q.empty()){var te=Pe(K.doc,q.head.line).text.length;return q.head.ch==te&&q.head.line<K.lastLine()?{from:q.head,to:Ut(q.head.line+1,0)}:{from:q.head,to:Ut(q.head.line,te)}}else return{from:q.from(),to:q.to()}})},deleteLine:function(K){return dl(K,function(q){return{from:Ut(q.from().line,0),to:mt(K.doc,Ut(q.to().line+1,0))}})},delLineLeft:function(K){return dl(K,function(q){return{from:Ut(q.from().line,0),to:q.from()}})},delWrappedLineLeft:function(K){return dl(K,function(q){var te=K.charCoords(q.head,"div").top+5,ue=K.coordsChar({left:0,top:te},"div");return{from:ue,to:q.from()}})},delWrappedLineRight:function(K){return dl(K,function(q){var te=K.charCoords(q.head,"div").top+5,ue=K.coordsChar({left:K.display.lineDiv.offsetWidth+100,top:te},"div");return{from:q.from(),to:ue}})},undo:function(K){return K.undo()},redo:function(K){return K.redo()},undoSelection:function(K){return K.undoSelection()},redoSelection:function(K){return K.redoSelection()},goDocStart:function(K){return K.extendSelection(Ut(K.firstLine(),0))},goDocEnd:function(K){return K.extendSelection(Ut(K.lastLine()))},goLineStart:function(K){return K.extendSelectionsBy(function(q){return hu(K,q.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(K){return K.extendSelectionsBy(function(q){return Ku(K,q.head)},{origin:"+move",bias:1})},goLineEnd:function(K){return K.extendSelectionsBy(function(q){return Iu(K,q.head.line)},{origin:"+move",bias:-1})},goLineRight:function(K){return K.extendSelectionsBy(function(q){var te=K.cursorCoords(q.head,"div").top+5;return K.coordsChar({left:K.display.lineDiv.offsetWidth+100,top:te},"div")},oe)},goLineLeft:function(K){return K.extendSelectionsBy(function(q){var te=K.cursorCoords(q.head,"div").top+5;return K.coordsChar({left:0,top:te},"div")},oe)},goLineLeftSmart:function(K){return K.extendSelectionsBy(function(q){var te=K.cursorCoords(q.head,"div").top+5,ue=K.coordsChar({left:0,top:te},"div");return ue.ch<K.getLine(ue.line).search(/\S/)?Ku(K,q.head):ue},oe)},goLineUp:function(K){return K.moveV(-1,"line")},goLineDown:function(K){return K.moveV(1,"line")},goPageUp:function(K){return K.moveV(-1,"page")},goPageDown:function(K){return K.moveV(1,"page")},goCharLeft:function(K){return K.moveH(-1,"char")},goCharRight:function(K){return K.moveH(1,"char")},goColumnLeft:function(K){return K.moveH(-1,"column")},goColumnRight:function(K){return K.moveH(1,"column")},goWordLeft:function(K){return K.moveH(-1,"word")},goGroupRight:function(K){return K.moveH(1,"group")},goGroupLeft:function(K){return K.moveH(-1,"group")},goWordRight:function(K){return K.moveH(1,"word")},delCharBefore:function(K){return K.deleteH(-1,"codepoint")},delCharAfter:function(K){return K.deleteH(1,"char")},delWordBefore:function(K){return K.deleteH(-1,"word")},delWordAfter:function(K){return K.deleteH(1,"word")},delGroupBefore:function(K){return K.deleteH(-1,"group")},delGroupAfter:function(K){return K.deleteH(1,"group")},indentAuto:function(K){return K.indentSelection("smart")},indentMore:function(K){return K.indentSelection("add")},indentLess:function(K){return K.indentSelection("subtract")},insertTab:function(K){return K.replaceSelection(" ")},insertSoftTab:function(K){for(var q=[],te=K.listSelections(),ue=K.options.tabSize,Me=0;Me<te.length;Me++){var dt=te[Me].from(),Tt=W(K.getLine(dt.line),dt.ch,ue);q.push(De(ue-Tt%ue))}K.replaceSelections(q)},defaultTab:function(K){K.somethingSelected()?K.indentSelection("add"):K.execCommand("insertTab")},transposeChars:function(K){return Do(K,function(){for(var q=K.listSelections(),te=[],ue=0;ue<q.length;ue++){if(!q[ue].empty())continue;var Me=q[ue].head,dt=Pe(K.doc,Me.line).text;if(dt){if(Me.ch==dt.length&&(Me=new Ut(Me.line,Me.ch-1)),Me.ch>0)Me=new Ut(Me.line,Me.ch+1),K.replaceRange(dt.charAt(Me.ch-1)+dt.charAt(Me.ch-2),Ut(Me.line,Me.ch-2),Me,"+transpose");else if(Me.line>K.doc.first){var Tt=Pe(K.doc,Me.line-1).text;Tt&&(Me=new Ut(Me.line,1),K.replaceRange(dt.charAt(0)+K.doc.lineSeparator()+Tt.charAt(Tt.length-1),Ut(Me.line-1,Tt.length-1),Me,"+transpose"))}}te.push(new ne(Me,Me))}K.setSelections(te)})},newlineAndIndent:function(K){return Do(K,function(){for(var q=K.listSelections(),te=q.length-1;te>=0;te--)K.replaceRange(K.doc.lineSeparator(),q[te].anchor,q[te].head,"+input");q=K.listSelections();for(var ue=0;ue<q.length;ue++)K.indentLine(q[ue].from().line,null,!0);Ha(K)})},openLine:function(K){return K.replaceSelection(`
`,"start")},toggleOverwrite:function(K){return K.toggleOverwrite()}};function hu(P,K){var q=Pe(P.doc,K),te=gn(q);return te!=q&&(K=kt(te)),du(!0,P,te,K,1)}function Iu(P,K){var q=Pe(P.doc,K),te=Vr(q);return te!=q&&(K=kt(te)),du(!0,P,q,K,-1)}function Ku(P,K){var q=hu(P,K.line),te=Pe(P.doc,q.line),ue=nt(te,P.doc.direction);if(!ue||ue[0].level==0){var Me=Math.max(q.ch,te.text.search(/\S/)),dt=K.line==q.line&&K.ch<=Me&&K.ch;return Ut(q.line,dt?0:Me,q.sticky)}return q}function hl(P,K,q){if(typeof K=="string"&&(K=zl[K],!K))return!1;P.display.input.ensurePolled();var te=P.display.shift,ue=!1;try{P.isReadOnly()&&(P.state.suppressEdits=!0),q&&(P.display.shift=!1),ue=K(P)!=J}finally{P.display.shift=te,P.state.suppressEdits=!1}return ue}function fl(P,K,q){for(var te=0;te<P.state.keyMaps.length;te++){var ue=yl(K,P.state.keyMaps[te],q,P);if(ue)return ue}return P.options.extraKeys&&yl(K,P.options.extraKeys,q,P)||yl(K,P.options.keyMap,q,P)}var Tl=new V;function ql(P,K,q,te){var ue=P.state.keySeq;if(ue){if(Zl(K))return"handled";if(/\'$/.test(K)?P.state.keySeq=null:Tl.set(50,function(){P.state.keySeq==ue&&(P.state.keySeq=null,P.display.input.reset())}),eu(P,ue+" "+K,q,te))return!0}return eu(P,K,q,te)}function eu(P,K,q,te){var ue=fl(P,K,te);return ue=="multi"&&(P.state.keySeq=K),ue=="handled"&&Vt(P,"keyHandled",P,K,q),(ue=="handled"||ue=="multi")&&(Ze(q),qi(P)),!!ue}function bl(P,K){var q=$l(K,!0);return q?K.shiftKey&&!P.state.keySeq?ql(P,"Shift-"+q,K,function(te){return hl(P,te,!0)})||ql(P,q,K,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return hl(P,te)}):ql(P,q,K,function(te){return hl(P,te)}):!1}function ul(P,K,q){return ql(P,"'"+q+"'",K,function(te){return hl(P,te,!0)})}var fu=null;function pu(P){var K=this;if(P.target&&P.target!=K.display.input.getField())return;if(K.curOp.focus=D(),wt(K,P))return;p&&c<11&&P.keyCode==27&&(P.returnValue=!1);var q=P.keyCode;K.display.shift=q==16||P.shiftKey;var te=bl(K,P);n&&(fu=te?q:null,!te&&q==88&&!nr&&(h?P.metaKey:P.ctrlKey)&&K.replaceSelection("",null,"cut")),C&&!h&&!te&&q==46&&P.shiftKey&&!P.ctrlKey&&document.execCommand&&document.execCommand("cut"),q==18&&!/\bCodeMirror-crosshair\b/.test(K.display.lineDiv.className)&&Wu(K)}function Wu(P){var K=P.display.lineDiv;B(K,"CodeMirror-crosshair");function q(te){(te.keyCode==18||!te.altKey)&&(w(K,"CodeMirror-crosshair"),Qe(document,"keyup",q),Qe(document,"mouseover",q))}Le(document,"keyup",q),Le(document,"mouseover",q)}function Lu(P){P.keyCode==16&&(this.doc.sel.shift=!1),wt(this,P)}function Ou(P){var K=this;if(P.target&&P.target!=K.display.input.getField())return;if(Un(K.display,P)||wt(K,P)||P.ctrlKey&&!P.altKey||h&&P.metaKey)return;var q=P.keyCode,te=P.charCode;if(n&&q==fu){fu=null,Ze(P);return}if(n&&(!P.which||P.which<10)&&bl(K,P))return;var ue=String.fromCharCode(te==null?q:te);if(ue=="\b")return;if(ul(K,P,ue))return;K.display.input.onKeyPress(P)}var zu=400,Vl=function(K,q,te){this.time=K,this.pos=q,this.button=te};Vl.prototype.compare=function(P,K,q){return this.time+zu>P&&ht(K,this.pos)==0&&q==this.button};var pl,Nl;function Gl(P,K){var q=+new Date;return Nl&&Nl.compare(q,P,K)?(pl=Nl=null,"triple"):pl&&pl.compare(q,P,K)?(Nl=new Vl(q,P,K),pl=null,"double"):(pl=new Vl(q,P,K),Nl=null,"single")}function jl(P){var K=this,q=K.display;if(wt(K,P)||q.activeTouch&&q.input.supportsTouch())return;if(q.input.ensurePolled(),q.shift=P.shiftKey,Un(q,P)){o||(q.scroller.draggable=!1,setTimeout(function(){return q.scroller.draggable=!0},100));return}if(Ru(K,P))return;var te=bi(K,P),ue=me(P),Me=te?Gl(te,ue):"single";if(window.focus(),ue==1&&K.state.selectingText&&K.state.selectingText(P),te&&mu(K,ue,te,Me,P))return;ue==1?te?Nu(K,te,Me,P):et(P)==q.scroller&&Ze(P):ue==2?(te&&is(K.doc,te),setTimeout(function(){return q.input.focus()},20)):ue==3&&(E?K.display.input.onContextMenu(P):Ya(K))}function mu(P,K,q,te,ue){var Me="Click";return te=="double"?Me="Double"+Me:te=="triple"&&(Me="Triple"+Me),Me=(K==1?"Left":K==2?"Middle":"Right")+Me,ql(P,cu(Me,ue),ue,function(dt){if(typeof dt=="string"&&(dt=zl[dt]),!dt)return!1;var Tt=!1;try{P.isReadOnly()&&(P.state.suppressEdits=!0),Tt=dt(P,q)!=J}finally{P.state.suppressEdits=!1}return Tt})}function Vu(P,K,q){var te=P.getOption("configureMouse"),ue=te?te(P,K,q):{};if(ue.unit==null){var Me=f?q.shiftKey&&q.metaKey:q.altKey;ue.unit=Me?"rectangle":K=="single"?"char":K=="double"?"word":"line"}return(ue.extend==null||P.doc.extend)&&(ue.extend=P.doc.extend||q.shiftKey),ue.addNew==null&&(ue.addNew=h?q.metaKey:q.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(h?q.altKey:q.ctrlKey)),ue}function Nu(P,K,q,te){p?setTimeout(F(qa,P),0):P.curOp.focus=D();var ue=Vu(P,q,te),Me=P.doc.sel,dt;P.options.dragDrop&&Gt&&!P.isReadOnly()&&q=="single"&&(dt=Me.contains(K))>-1&&(ht((dt=Me.ranges[dt]).from(),K)<0||K.xRel>0)&&(ht(dt.to(),K)>0||K.xRel<0)?ec(P,te,K,ue):Gu(P,te,K,ue)}function ec(P,K,q,te){var ue=P.display,Me=!1,dt=po(P,function(tr){o&&(ue.scroller.draggable=!1),P.state.draggingText=!1,Qe(ue.wrapper.ownerDocument,"mouseup",dt),Qe(ue.wrapper.ownerDocument,"mousemove",Tt),Qe(ue.scroller,"dragstart",Qt),Qe(ue.scroller,"drop",dt),Me||(Ze(tr),te.addNew||is(P.doc,q,null,null,te.extend),o&&!t||p&&c==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),Tt=function(en){Me=Me||Math.abs(K.clientX-en.clientX)+Math.abs(K.clientY-en.clientY)>=10},Qt=function(){return Me=!0};o&&(ue.scroller.draggable=!0),P.state.draggingText=dt,dt.copy=!te.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),Le(ue.wrapper.ownerDocument,"mouseup",dt),Le(ue.wrapper.ownerDocument,"mousemove",Tt),Le(ue.scroller,"dragstart",Qt),Le(ue.scroller,"drop",dt),Ya(P),setTimeout(function(){return ue.input.focus()},20)}function Du(P,K,q){if(q=="char")return new ne(K,K);if(q=="word")return P.findWordAt(K);if(q=="line")return new ne(Ut(K.line,0),mt(P.doc,Ut(K.line+1,0)));var te=q(P,K);return new ne(te.from,te.to)}function Gu(P,K,q,te){var ue=P.display,Me=P.doc;Ze(K);var dt,Tt,Qt=Me.sel,tr=Qt.ranges;if(te.addNew&&!te.extend?(Tt=Me.sel.contains(q),Tt>-1?dt=tr[Tt]:dt=new ne(q,q)):(dt=Me.sel.primary(),Tt=Me.sel.primIndex),te.unit=="rectangle")te.addNew||(dt=new ne(q,q)),q=bi(P,K,!0,!0),Tt=-1;else{var en=Du(P,q,te.unit);te.extend?dt=Ss(dt,en.anchor,en.head,te.extend):dt=en}te.addNew?Tt==-1?(Tt=tr.length,Mo(Me,Ae(P,tr.concat([dt]),Tt),{scroll:!1,origin:"*mouse"})):tr.length>1&&tr[Tt].empty()&&te.unit=="char"&&!te.extend?(Mo(Me,Ae(P,tr.slice(0,Tt).concat(tr.slice(Tt+1)),0),{scroll:!1,origin:"*mouse"}),Qt=Me.sel):fs(Me,Tt,dt,Z):(Tt=0,Mo(Me,new ft([dt],0),Z),Qt=Me.sel);var pn=q;function Mn(Sa){if(ht(pn,Sa)==0)return;if(pn=Sa,te.unit=="rectangle"){for(var Ia=[],io=P.options.tabSize,Fa=W(Pe(Me,q.line).text,q.ch,io),xo=W(Pe(Me,Sa.line).text,Sa.ch,io),Wo=Math.min(Fa,xo),us=Math.max(Fa,xo),es=Math.min(q.line,Sa.line),Rs=Math.min(P.lastLine(),Math.max(q.line,Sa.line));es<=Rs;es++){var Qs=Pe(Me,es).text,xs=ge(Qs,Wo,io);Wo==us?Ia.push(new ne(Ut(es,xs),Ut(es,xs))):Qs.length>xs&&Ia.push(new ne(Ut(es,xs),Ut(es,ge(Qs,us,io))))}Ia.length||Ia.push(new ne(q,q)),Mo(Me,Ae(P,Qt.ranges.slice(0,Tt).concat(Ia),Tt),{origin:"*mouse",scroll:!1}),P.scrollIntoView(Sa)}else{var Js=dt,Ms=Du(P,Sa,te.unit),Aa=Js.anchor,as;ht(Ms.anchor,Aa)>0?(as=Ms.head,Aa=At(Js.from(),Ms.anchor)):(as=Ms.anchor,Aa=Jt(Js.to(),Ms.head));var ns=Qt.ranges.slice(0);ns[Tt]=Xu(P,new ne(mt(Me,Aa),as)),Mo(Me,Ae(P,ns,Tt),Z)}}var Fn=ue.wrapper.getBoundingClientRect(),yi=0;function Xi(Sa){var Ia=++yi,io=bi(P,Sa,!0,te.unit=="rectangle");if(!io)return;if(ht(io,pn)!=0){P.curOp.focus=D(),Mn(io);var Fa=go(ue,Me);(io.line>=Fa.to||io.line<Fa.from)&&setTimeout(po(P,function(){yi==Ia&&Xi(Sa)}),150)}else{var xo=Sa.clientY<Fn.top?-20:Sa.clientY>Fn.bottom?20:0;xo&&setTimeout(po(P,function(){if(yi!=Ia)return;ue.scroller.scrollTop+=xo,Xi(Sa)}),50)}}function oa(Sa){P.state.selectingText=!1,yi=Infinity,Sa&&(Ze(Sa),ue.input.focus()),Qe(ue.wrapper.ownerDocument,"mousemove",ea),Qe(ue.wrapper.ownerDocument,"mouseup",$i),Me.history.lastSelOrigin=null}var ea=po(P,function(Sa){Sa.buttons===0||!me(Sa)?oa(Sa):Xi(Sa)}),$i=po(P,oa);P.state.selectingText=$i,Le(ue.wrapper.ownerDocument,"mousemove",ea),Le(ue.wrapper.ownerDocument,"mouseup",$i)}function Xu(P,K){var q=K.anchor,te=K.head,ue=Pe(P.doc,q.line);if(ht(q,te)==0&&q.sticky==te.sticky)return K;var Me=nt(ue);if(!Me)return K;var dt=xe(Me,q.ch,q.sticky),Tt=Me[dt];if(Tt.from!=q.ch&&Tt.to!=q.ch)return K;var Qt=dt+(Tt.from==q.ch==(Tt.level!=1)?0:1);if(Qt==0||Qt==Me.length)return K;var tr;if(te.line!=q.line)tr=(te.line-q.line)*(P.doc.direction=="ltr"?1:-1)>0;else{var en=xe(Me,te.ch,te.sticky),pn=en-dt||(te.ch-q.ch)*(Tt.level==1?-1:1);en==Qt-1||en==Qt?tr=pn<0:tr=pn>0}var Mn=Me[Qt+(tr?-1:0)],Fn=tr==(Mn.level==1),yi=Fn?Mn.from:Mn.to,Xi=Fn?"after":"before";return q.ch==yi&&q.sticky==Xi?K:new ne(new Ut(q.line,yi,Xi),te)}function Yu(P,K,q,te){var ue,Me;if(K.touches)ue=K.touches[0].clientX,Me=K.touches[0].clientY;else try{ue=K.clientX,Me=K.clientY}catch(Mn){return!1}if(ue>=Math.floor(P.display.gutters.getBoundingClientRect().right))return!1;te&&Ze(K);var dt=P.display,Tt=dt.lineDiv.getBoundingClientRect();if(Me>Tt.bottom||!_t(P,q))return ae(K);Me-=Tt.top-dt.viewOffset;for(var Qt=0;Qt<P.display.gutterSpecs.length;++Qt){var tr=dt.gutters.childNodes[Qt];if(tr&&tr.getBoundingClientRect().right>=ue){var en=_r(P.doc,Me),pn=P.display.gutterSpecs[Qt];return gt(P,q,P,en,pn.className,K),ae(K)}}}function Ru(P,K){return Yu(P,K,"gutterClick",!0)}function gu(P,K){if(Un(P.display,K)||wl(P,K))return;if(wt(P,K,"contextmenu"))return;E||P.display.input.onContextMenu(K)}function wl(P,K){return _t(P,"gutterContextMenu")?Yu(P,K,"gutterContextMenu",!1):!1}function vu(P){P.display.wrapper.className=P.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+P.options.theme.replace(/(^|\s)\s*/g," cm-s-"),nn(P)}var Cl={toString:function(){return"CodeMirror.Init"}},tu={},be={};function Ue(P){var K=P.optionHandlers;function q(te,ue,Me,dt){P.defaults[te]=ue,Me&&(K[te]=dt?function(Tt,Qt,tr){tr!=Cl&&Me(Tt,Qt,tr)}:Me)}P.defineOption=q,P.Init=Cl,q("value","",function(te,ue){return te.setValue(ue)},!0),q("mode",null,function(te,ue){te.doc.modeOption=ue,Zr(te)},!0),q("indentUnit",2,Zr,!0),q("indentWithTabs",!1),q("smartIndent",!0),q("tabSize",4,function(te){En(te),nn(te),vi(te)},!0),q("lineSeparator",null,function(te,ue){if(te.doc.lineSep=ue,!ue)return;var Me=[],dt=te.doc.first;te.doc.iter(function(Qt){for(var tr=0;;){var en=Qt.text.indexOf(ue,tr);if(en==-1)break;tr=en+ue.length,Me.push(Ut(dt,en))}dt++});for(var Tt=Me.length-1;Tt>=0;Tt--)Hs(te.doc,ue,Me[Tt],Ut(Me[Tt].line,Me[Tt].ch+ue.length))}),q("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ue,Me){te.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),Me!=Cl&&te.refresh()}),q("specialCharPlaceholder",hi,function(te){return te.refresh()},!0),q("electricChars",!0),q("inputStyle",u?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),q("spellcheck",!1,function(te,ue){return te.getInputField().spellcheck=ue},!0),q("autocorrect",!1,function(te,ue){return te.getInputField().autocorrect=ue},!0),q("autocapitalize",!1,function(te,ue){return te.getInputField().autocapitalize=ue},!0),q("rtlMoveVisually",!g),q("wholeLineUpdateBefore",!0),q("theme","default",function(te){vu(te),Os(te)},!0),q("keyMap","default",function(te,ue,Me){var dt=bs(ue),Tt=Me!=Cl&&bs(Me);Tt&&Tt.detach&&Tt.detach(te,dt),dt.attach&&dt.attach(te,Tt||null)}),q("extraKeys",null),q("configureMouse",null),q("lineWrapping",!1,Kt,!0),q("gutters",[],function(te,ue){te.display.gutterSpecs=Ls(ue,te.options.lineNumbers),Os(te)},!0),q("fixedGutter",!0,function(te,ue){te.display.gutters.style.left=ue?ha(te.display)+"px":"0",te.refresh()},!0),q("coverGutterNextToScrollbar",!1,function(te){return Da(te)},!0),q("scrollbarStyle","native",function(te){fo(te),Da(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),q("lineNumbers",!1,function(te,ue){te.display.gutterSpecs=Ls(te.options.gutters,ue),Os(te)},!0),q("firstLineNumber",1,Os,!0),q("lineNumberFormatter",function(te){return te},Os,!0),q("showCursorWhenSelecting",!1,fa,!0),q("resetSelectionOnContextMenu",!0),q("lineWiseCopyCut",!0),q("pasteLinesPerSelection",!0),q("selectionsMayTouch",!1),q("readOnly",!1,function(te,ue){ue=="nocursor"&&(ao(te),te.display.input.blur()),te.display.input.readOnlyChanged(ue)}),q("screenReaderLabel",null,function(te,ue){ue=ue===""?null:ue,te.display.input.screenReaderLabelChanged(ue)}),q("disableInput",!1,function(te,ue){ue||te.display.input.reset()},!0),q("dragDrop",!0,ct),q("allowDropFileTypes",null),q("cursorBlinkRate",530),q("cursorScrollMargin",0),q("cursorHeight",1,fa,!0),q("singleCursorHeightPerLine",!0,fa,!0),q("workTime",100),q("workDelay",100),q("flattenSpans",!0,En,!0),q("addModeClass",!1,En,!0),q("pollInterval",100),q("undoDepth",200,function(te,ue){return te.doc.history.undoDepth=ue}),q("historyEventDelay",1250),q("viewportMargin",10,function(te){return te.refresh()},!0),q("maxHighlightLength",1e4,En,!0),q("moveInputWithCursor",!0,function(te,ue){ue||te.display.input.resetPosition()}),q("tabindex",null,function(te,ue){return te.display.input.getField().tabIndex=ue||""}),q("autofocus",null),q("direction","ltr",function(te,ue){return te.doc.setDirection(ue)},!0),q("phrases",null)}function ct(P,K,q){var te=q&&q!=Cl;if(!K!=!te){var ue=P.display.dragFunctions,Me=K?Le:Qe;Me(P.display.scroller,"dragstart",ue.start),Me(P.display.scroller,"dragenter",ue.enter),Me(P.display.scroller,"dragover",ue.over),Me(P.display.scroller,"dragleave",ue.leave),Me(P.display.scroller,"drop",ue.drop)}}function Kt(P){P.options.lineWrapping?(B(P.display.wrapper,"CodeMirror-wrap"),P.display.sizer.style.minWidth="",P.display.sizerWidth=null):(w(P.display.wrapper,"CodeMirror-wrap"),xi(P)),Pa(P),vi(P),nn(P),setTimeout(function(){return Da(P)},100)}function dr(P,K){var q=this;if(!(this instanceof dr))return new dr(P,K);this.options=K=K?j(K):{},j(tu,K,!1);var te=K.value;typeof te=="string"?te=new zs(te,K.mode,null,K.lineSeparator,K.direction):K.mode&&(te.modeOption=K.mode),this.doc=te;var ue=new dr.inputStyles[K.inputStyle](this),Me=this.display=new Ks(P,te,ue,K);Me.wrapper.CodeMirror=this,vu(this),K.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),fo(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},K.autofocus&&!u&&Me.input.focus(),p&&c<11&&setTimeout(function(){return q.display.input.reset(!0)},20),Cr(this),lu(),Wa(this),this.curOp.forceUpdate=!0,Ui(this,te),K.autofocus&&!u||this.hasFocus()?setTimeout(function(){q.hasFocus()&&!q.state.focused&&Ka(q)},20):ao(this);for(var dt in be)be.hasOwnProperty(dt)&&be[dt](this,K[dt],Cl);ol(this),K.finishInit&&K.finishInit(this);for(var Tt=0;Tt<Ne.length;++Tt)Ne[Tt](this);Xo(this),o&&K.lineWrapping&&getComputedStyle(Me.lineDiv).textRendering=="optimizelegibility"&&(Me.lineDiv.style.textRendering="auto")}dr.defaults=tu,dr.optionHandlers=be;function Cr(P){var K=P.display;Le(K.scroller,"mousedown",po(P,jl)),p&&c<11?Le(K.scroller,"dblclick",po(P,function(Qt){if(wt(P,Qt))return;var tr=bi(P,Qt);if(!tr||Ru(P,Qt)||Un(P.display,Qt))return;Ze(Qt);var en=P.findWordAt(tr);is(P.doc,en.anchor,en.head)})):Le(K.scroller,"dblclick",function(Qt){return wt(P,Qt)||Ze(Qt)}),Le(K.scroller,"contextmenu",function(Qt){return gu(P,Qt)}),Le(K.input.getField(),"contextmenu",function(Qt){K.scroller.contains(Qt.target)||gu(P,Qt)});var q,te={end:0};function ue(){K.activeTouch&&(q=setTimeout(function(){return K.activeTouch=null},1e3),te=K.activeTouch,te.end=+new Date)}function Me(Qt){if(Qt.touches.length!=1)return!1;var tr=Qt.touches[0];return tr.radiusX<=1&&tr.radiusY<=1}function dt(Qt,tr){if(tr.left==null)return!0;var en=tr.left-Qt.left,pn=tr.top-Qt.top;return en*en+pn*pn>20*20}Le(K.scroller,"touchstart",function(Qt){if(!wt(P,Qt)&&!Me(Qt)&&!Ru(P,Qt)){K.input.ensurePolled(),clearTimeout(q);var tr=+new Date;K.activeTouch={start:tr,moved:!1,prev:tr-te.end<=300?te:null},Qt.touches.length==1&&(K.activeTouch.left=Qt.touches[0].pageX,K.activeTouch.top=Qt.touches[0].pageY)}}),Le(K.scroller,"touchmove",function(){K.activeTouch&&(K.activeTouch.moved=!0)}),Le(K.scroller,"touchend",function(Qt){var tr=K.activeTouch;if(tr&&!Un(K,Qt)&&tr.left!=null&&!tr.moved&&new Date-tr.start<300){var en=P.coordsChar(K.activeTouch,"page"),pn;!tr.prev||dt(tr,tr.prev)?pn=new ne(en,en):!tr.prev.prev||dt(tr,tr.prev.prev)?pn=P.findWordAt(en):pn=new ne(Ut(en.line,0),mt(P.doc,Ut(en.line+1,0))),P.setSelection(pn.anchor,pn.head),P.focus(),Ze(Qt)}ue()}),Le(K.scroller,"touchcancel",ue),Le(K.scroller,"scroll",function(){K.scroller.clientHeight&&(Xa(P,K.scroller.scrollTop),_o(P,K.scroller.scrollLeft,!0),gt(P,"scroll",P))}),Le(K.scroller,"mousewheel",function(Qt){return On(P,Qt)}),Le(K.scroller,"DOMMouseScroll",function(Qt){return On(P,Qt)}),Le(K.wrapper,"scroll",function(){return K.wrapper.scrollTop=K.wrapper.scrollLeft=0}),K.dragFunctions={enter:function(tr){wt(P,tr)||yt(tr)},over:function(tr){wt(P,tr)||(ou(P,tr),yt(tr))},start:function(tr){return Fl(P,tr)},drop:po(P,ll),leave:function(tr){wt(P,tr)||su(P)}};var Tt=K.input.getField();Le(Tt,"keyup",function(Qt){return Lu.call(P,Qt)}),Le(Tt,"keydown",po(P,pu)),Le(Tt,"keypress",po(P,Ou)),Le(Tt,"focus",function(Qt){return Ka(P,Qt)}),Le(Tt,"blur",function(Qt){return ao(P,Qt)})}var Ne=[];dr.defineInitHook=function(P){return Ne.push(P)};function ee(P,K,q,te){var ue=P.doc,Me;q==null&&(q="add"),q=="smart"&&(ue.mode.indent?Me=In(P,K).state:q="prev");var dt=P.options.tabSize,Tt=Pe(ue,K),Qt=W(Tt.text,null,dt);Tt.stateAfter&&(Tt.stateAfter=null);var tr=Tt.text.match(/^\s*/)[0],en;if(!te&&!/\S/.test(Tt.text))en=0,q="not";else if(q=="smart"&&(en=ue.mode.indent(Me,Tt.text.slice(tr.length),Tt.text),en==J||en>150)){if(!te)return;q="prev"}q=="prev"?K>ue.first?en=W(Pe(ue,K-1).text,null,dt):en=0:q=="add"?en=Qt+P.options.indentUnit:q=="subtract"?en=Qt-P.options.indentUnit:typeof q=="number"&&(en=Qt+q),en=Math.max(0,en);var pn="",Mn=0;if(P.options.indentWithTabs)for(var Fn=Math.floor(en/dt);Fn;--Fn)Mn+=dt,pn+=" ";if(Mn<en&&(pn+=De(en-Mn)),pn!=tr)return Hs(ue,pn,Ut(K,0),Ut(K,tr.length),"+input"),Tt.stateAfter=null,!0;for(var yi=0;yi<ue.sel.ranges.length;yi++){var Xi=ue.sel.ranges[yi];if(Xi.head.line==K&&Xi.head.ch<tr.length){var oa=Ut(K,tr.length);fs(ue,yi,new ne(oa,oa));break}}}var Se=null;function He(P){Se=P}function it(P,K,q,te,ue){var Me=P.doc;P.display.shift=!1,te||(te=Me.sel);var dt=+new Date-200,Tt=ue=="paste"||P.state.pasteIncoming>dt,Qt=Fr(K),tr=null;if(Tt&&te.ranges.length>1)if(Se&&Se.text.join(`
`)==K){if(te.ranges.length%Se.text.length==0){tr=[];for(var en=0;en<Se.text.length;en++)tr.push(Me.splitLines(Se.text[en]))}}else Qt.length==te.ranges.length&&P.options.pasteLinesPerSelection&&(tr=Oe(Qt,function(ea){return[ea]}));for(var pn=P.curOp.updateInput,Mn=te.ranges.length-1;Mn>=0;Mn--){var Fn=te.ranges[Mn],yi=Fn.from(),Xi=Fn.to();Fn.empty()&&(q&&q>0?yi=Ut(yi.line,yi.ch-q):P.state.overwrite&&!Tt?Xi=Ut(Xi.line,Math.min(Pe(Me,Xi.line).text.length,Xi.ch+ce(Qt).length)):Tt&&Se&&Se.lineWise&&Se.text.join(`
`)==Qt.join(`
`)&&(yi=Xi=Ut(yi.line,0)));var oa={from:yi,to:Xi,text:tr?tr[Mn%tr.length]:Qt,origin:ue||(Tt?"paste":P.state.cutIncoming>dt?"cut":"+input")};js(P.doc,oa),Vt(P,"inputRead",P,oa)}K&&!Tt&&Ct(P,K),Ha(P),P.curOp.updateInput<2&&(P.curOp.updateInput=pn),P.curOp.typing=!0,P.state.pasteIncoming=P.state.cutIncoming=-1}function St(P,K){var q=P.clipboardData&&P.clipboardData.getData("Text");if(q)return P.preventDefault(),!K.isReadOnly()&&!K.options.disableInput&&Do(K,function(){return it(K,q,0,null,"paste")}),!0}function Ct(P,K){if(!P.options.electricChars||!P.options.smartIndent)return;for(var q=P.doc.sel,te=q.ranges.length-1;te>=0;te--){var ue=q.ranges[te];if(ue.head.ch>100||te&&q.ranges[te-1].head.line==ue.head.line)continue;var Me=P.getModeAt(ue.head),dt=!1;if(Me.electricChars){for(var Tt=0;Tt<Me.electricChars.length;Tt++)if(K.indexOf(Me.electricChars.charAt(Tt))>-1){dt=ee(P,ue.head.line,"smart");break}}else Me.electricInput&&(Me.electricInput.test(Pe(P.doc,ue.head.line).text.slice(0,ue.head.ch))&&(dt=ee(P,ue.head.line,"smart")));dt&&Vt(P,"electricInput",P,ue.head.line)}}function Ot(P){for(var K=[],q=[],te=0;te<P.doc.sel.ranges.length;te++){var ue=P.doc.sel.ranges[te].head.line,Me={anchor:Ut(ue,0),head:Ut(ue+1,0)};q.push(Me),K.push(P.getRange(Me.anchor,Me.head))}return{text:K,ranges:q}}function Ar(P,K,q,te){P.setAttribute("autocorrect",q?"":"off"),P.setAttribute("autocapitalize",te?"":"off"),P.setAttribute("spellcheck",!!K)}function Or(){var P=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),K=L("div",[P],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return o?P.style.width="1000px":P.setAttribute("wrap","off"),a&&(P.style.border="1px solid black"),Ar(P),K}function mr(P){var K=P.optionHandlers,q=P.helpers={};P.prototype={constructor:P,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ue,Me){var dt=this.options,Tt=dt[ue];if(dt[ue]==Me&&ue!="mode")return;dt[ue]=Me,K.hasOwnProperty(ue)&&po(this,K[ue])(this,Me,Tt),gt(this,"optionChange",this,ue)},getOption:function(ue){return this.options[ue]},getDoc:function(){return this.doc},addKeyMap:function(ue,Me){this.state.keyMaps[Me?"push":"unshift"](bs(ue))},removeKeyMap:function(ue){for(var Me=this.state.keyMaps,dt=0;dt<Me.length;++dt)if(Me[dt]==ue||Me[dt].name==ue)return Me.splice(dt,1),!0},addOverlay:rs(function(te,ue){var Me=te.token?te:P.getMode(this.options,te);if(Me.startState)throw new Error("Overlays may not be stateful.");se(this.state.overlays,{mode:Me,modeSpec:te,opaque:ue&&ue.opaque,priority:ue&&ue.priority||0},function(dt){return dt.priority}),this.state.modeGen++,vi(this)}),removeOverlay:rs(function(te){for(var ue=this.state.overlays,Me=0;Me<ue.length;++Me){var dt=ue[Me].modeSpec;if(dt==te||typeof te=="string"&&dt.name==te){ue.splice(Me,1),this.state.modeGen++,vi(this);return}}}),indentLine:rs(function(te,ue,Me){typeof ue!="string"&&typeof ue!="number"&&(ue==null?ue=this.options.smartIndent?"smart":"prev":ue=ue?"add":"subtract"),Rr(this.doc,te)&&ee(this,te,ue,Me)}),indentSelection:rs(function(te){for(var ue=this.doc.sel.ranges,Me=-1,dt=0;dt<ue.length;dt++){var Tt=ue[dt];if(Tt.empty())Tt.head.line>Me&&(ee(this,Tt.head.line,te,!0),Me=Tt.head.line,dt==this.doc.sel.primIndex&&Ha(this));else{var Qt=Tt.from(),tr=Tt.to(),en=Math.max(Me,Qt.line);Me=Math.min(this.lastLine(),tr.line-(tr.ch?0:1))+1;for(var pn=en;pn<Me;++pn)ee(this,pn,te);var Mn=this.doc.sel.ranges;Qt.ch==0&&ue.length==Mn.length&&Mn[dt].from().ch>0&&fs(this.doc,dt,new ne(Qt,Mn[dt].to()),ie)}}}),getTokenAt:function(ue,Me){return Mi(this,ue,Me)},getLineTokens:function(ue,Me){return Mi(this,Ut(ue),Me,!0)},getTokenTypeAt:function(ue){ue=mt(this.doc,ue);var Me=Yr(this,Pe(this.doc,ue.line)),dt=0,Tt=(Me.length-1)/2,Qt=ue.ch,tr;if(Qt==0)tr=Me[2];else for(;;){var en=dt+Tt>>1;if((en?Me[en*2-1]:0)>=Qt)Tt=en;else if(Me[en*2+1]<Qt)dt=en+1;else{tr=Me[en*2+2];break}}var pn=tr?tr.indexOf("overlay "):-1;return pn<0?tr:pn==0?null:tr.slice(0,pn-1)},getModeAt:function(ue){var Me=this.doc.mode;return Me.innerMode?P.innerMode(Me,this.getTokenAt(ue).state).mode:Me},getHelper:function(ue,Me){return this.getHelpers(ue,Me)[0]},getHelpers:function(ue,Me){var dt=[];if(!q.hasOwnProperty(Me))return dt;var Tt=q[Me],Qt=this.getModeAt(ue);if(typeof Qt[Me]=="string")Tt[Qt[Me]]&&dt.push(Tt[Qt[Me]]);else if(Qt[Me])for(var tr=0;tr<Qt[Me].length;tr++){var en=Tt[Qt[Me][tr]];en&&dt.push(en)}else Qt.helperType&&Tt[Qt.helperType]?dt.push(Tt[Qt.helperType]):Tt[Qt.name]&&dt.push(Tt[Qt.name]);for(var pn=0;pn<Tt._global.length;pn++){var Mn=Tt._global[pn];Mn.pred(Qt,this)&&z(dt,Mn.val)==-1&&dt.push(Mn.val)}return dt},getStateAfter:function(ue,Me){var dt=this.doc;return ue=Bt(dt,ue==null?dt.first+dt.size-1:ue),In(this,ue+1,Me).state},cursorCoords:function(ue,Me){var dt,Tt=this.doc.sel.primary();return ue==null?dt=Tt.head:typeof ue=="object"?dt=mt(this.doc,ue):dt=ue?Tt.from():Tt.to(),ln(this,dt,Me||"page")},charCoords:function(ue,Me){return Hr(this,mt(this.doc,ue),Me||"page")},coordsChar:function(ue,Me){return ue=jr(this,ue,Me||"page"),Dn(this,ue.left,ue.top)},lineAtHeight:function(ue,Me){return ue=jr(this,{top:ue,left:0},Me||"page").top,_r(this.doc,ue+this.display.viewOffset)},heightAtLine:function(ue,Me,dt){var Tt=!1,Qt;if(typeof ue=="number"){var tr=this.doc.first+this.doc.size-1;ue<this.doc.first?ue=this.doc.first:ue>tr&&(ue=tr,Tt=!0),Qt=Pe(this.doc,ue)}else Qt=ue;return $t(this,Qt,{top:0,left:0},Me||"page",dt||Tt).top+(Tt?this.doc.height-Jn(Qt):0)},defaultTextHeight:function(){return Ni(this.display)},defaultCharWidth:function(){return ia(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ue,Me,dt,Tt,Qt){var tr=this.display;ue=ln(this,mt(this.doc,ue));var en=ue.bottom,pn=ue.left;if(Me.style.position="absolute",Me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Me),tr.sizer.appendChild(Me),Tt=="over")en=ue.top;else if(Tt=="above"||Tt=="near"){var Mn=Math.max(tr.wrapper.clientHeight,this.doc.height),Fn=Math.max(tr.sizer.clientWidth,tr.lineSpace.clientWidth);(Tt=="above"||ue.bottom+Me.offsetHeight>Mn)&&ue.top>Me.offsetHeight?en=ue.top-Me.offsetHeight:ue.bottom+Me.offsetHeight<=Mn&&(en=ue.bottom),pn+Me.offsetWidth>Fn&&(pn=Fn-Me.offsetWidth)}Me.style.top=en+"px",Me.style.left=Me.style.right="",Qt=="right"?(pn=tr.sizer.clientWidth-Me.offsetWidth,Me.style.right="0px"):(Qt=="left"?pn=0:Qt=="middle"&&(pn=(tr.sizer.clientWidth-Me.offsetWidth)/2),Me.style.left=pn+"px"),dt&&to(this,{left:pn,top:en,right:pn+Me.offsetWidth,bottom:en+Me.offsetHeight})},triggerOnKeyDown:rs(pu),triggerOnKeyPress:rs(Ou),triggerOnKeyUp:Lu,triggerOnMouseDown:rs(jl),execCommand:function(ue){if(zl.hasOwnProperty(ue))return zl[ue].call(null,this)},triggerElectric:rs(function(te){Ct(this,te)}),findPosH:function(ue,Me,dt,Tt){var Qt=1;Me<0&&(Qt=-1,Me=-Me);for(var tr=mt(this.doc,ue),en=0;en<Me&&!(tr=cr(this.doc,tr,Qt,dt,Tt),tr.hitSide);++en);return tr},moveH:rs(function(te,ue){var Me=this;this.extendSelectionsBy(function(dt){return Me.display.shift||Me.doc.extend||dt.empty()?cr(Me.doc,dt.head,te,ue,Me.options.rtlMoveVisually):te<0?dt.from():dt.to()},oe)}),deleteH:rs(function(te,ue){var Me=this.doc.sel,dt=this.doc;Me.somethingSelected()?dt.replaceSelection("",null,"+delete"):dl(this,function(Tt){var Qt=cr(dt,Tt.head,te,ue,!1);return te<0?{from:Qt,to:Tt.head}:{from:Tt.head,to:Qt}})}),findPosV:function(ue,Me,dt,Tt){var Qt=1,tr=Tt;Me<0&&(Qt=-1,Me=-Me);for(var en=mt(this.doc,ue),pn=0;pn<Me;++pn){var Mn=ln(this,en,"div");if(tr==null?tr=Mn.left:Mn.left=tr,en=Tr(this,Mn,Qt,dt),en.hitSide)break}return en},moveV:rs(function(te,ue){var Me=this,dt=this.doc,Tt=[],Qt=!this.display.shift&&!dt.extend&&dt.sel.somethingSelected();if(dt.extendSelectionsBy(function(en){if(Qt)return te<0?en.from():en.to();var pn=ln(Me,en.head,"div");en.goalColumn!=null&&(pn.left=en.goalColumn),Tt.push(pn.left);var Mn=Tr(Me,pn,te,ue);return ue=="page"&&en==dt.sel.primary()&&Ca(Me,Hr(Me,Mn,"div").top-pn.top),Mn},oe),Tt.length)for(var tr=0;tr<dt.sel.ranges.length;tr++)dt.sel.ranges[tr].goalColumn=Tt[tr]}),findWordAt:function(ue){var Me=this.doc,dt=Pe(Me,ue.line).text,Tt=ue.ch,Qt=ue.ch;if(dt){var tr=this.getHelper(ue,"wordChars");(ue.sticky=="before"||Qt==dt.length)&&Tt?--Tt:++Qt;for(var en=dt.charAt(Tt),pn=G(en,tr)?function(Mn){return G(Mn,tr)}:/\s/.test(en)?function(Mn){return/\s/.test(Mn)}:function(Mn){return!/\s/.test(Mn)&&!G(Mn)};Tt>0&&pn(dt.charAt(Tt-1));)--Tt;for(;Qt<dt.length&&pn(dt.charAt(Qt));)++Qt}return new ne(Ut(ue.line,Tt),Ut(ue.line,Qt))},toggleOverwrite:function(ue){if(ue!=null&&ue==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?B(this.display.cursorDiv,"CodeMirror-overwrite"):w(this.display.cursorDiv,"CodeMirror-overwrite"),gt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==D()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:rs(function(te,ue){Na(this,te,ue)}),getScrollInfo:function(){var ue=this.display.scroller;return{left:ue.scrollLeft,top:ue.scrollTop,height:ue.scrollHeight-Wn(this)-this.display.barHeight,width:ue.scrollWidth-Wn(this)-this.display.barWidth,clientHeight:ri(this),clientWidth:Gn(this)}},scrollIntoView:rs(function(te,ue){te==null?(te={from:this.doc.sel.primary().head,to:null},ue==null&&(ue=this.options.cursorScrollMargin)):typeof te=="number"?te={from:Ut(te,0),to:null}:te.from==null&&(te={from:te,to:null}),te.to||(te.to=te.from),te.margin=ue||0,te.from.line!=null?oo(this,te):Ki(this,te.from,te.to,te.margin)}),setSize:rs(function(te,ue){var Me=this,dt=function(tr){return typeof tr=="number"||/^\d+$/.test(String(tr))?tr+"px":tr};te!=null&&(this.display.wrapper.style.width=dt(te)),ue!=null&&(this.display.wrapper.style.height=dt(ue)),this.options.lineWrapping&&Wr(this);var Tt=this.display.viewFrom;this.doc.iter(Tt,this.display.viewTo,function(Qt){if(Qt.widgets){for(var tr=0;tr<Qt.widgets.length;tr++)if(Qt.widgets[tr].noHScroll){Ai(Me,Tt,"widget");break}}++Tt}),this.curOp.forceUpdate=!0,gt(this,"refresh",this)}),operation:function(ue){return Do(this,ue)},startOperation:function(){return Wa(this)},endOperation:function(){return Xo(this)},refresh:rs(function(){var te=this.display.cachedTextHeight;vi(this),this.curOp.forceUpdate=!0,nn(this),Na(this,this.doc.scrollLeft,this.doc.scrollTop),vs(this.display),(te==null||Math.abs(te-Ni(this.display))>.5||this.options.lineWrapping)&&Pa(this),gt(this,"refresh",this)}),swapDoc:rs(function(te){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Ui(this,te),nn(this),this.display.input.reset(),Na(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,Vt(this,"swapDoc",this,ue),ue}),phrase:function(ue){var Me=this.options.phrases;return Me&&Object.prototype.hasOwnProperty.call(Me,ue)?Me[ue]:ue},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ht(P),P.registerHelper=function(te,ue,Me){q.hasOwnProperty(te)||(q[te]=P[te]={_global:[]}),q[te][ue]=Me},P.registerGlobalHelper=function(te,ue,Me,dt){P.registerHelper(te,ue,dt),q[te]._global.push({pred:Me,val:dt})}}function cr(P,K,q,te,ue){var Me=K,dt=q,Tt=Pe(P,K.line),Qt=ue&&P.direction=="rtl"?-q:q;function tr(){var $i=K.line+Qt;return $i<P.first||$i>=P.first+P.size?!1:(K=new Ut($i,K.ch,K.sticky),Tt=Pe(P,$i))}function en($i){var Sa;if(te=="codepoint"){var Ia=Tt.text.charCodeAt(K.ch+(te>0?0:-1));isNaN(Ia)?Sa=null:Sa=new Ut(K.line,Math.max(0,Math.min(Tt.text.length,K.ch+q*(Ia>=55296&&Ia<56320?2:1))),-q)}else ue?Sa=Wl(P.cm,Tt,K,q):Sa=_u(Tt,K,q);if(Sa==null)if(!$i&&tr())K=du(ue,P.cm,Tt,K.line,Qt);else return!1;else K=Sa;return!0}if(te=="char"||te=="codepoint")en();else if(te=="column")en(!0);else if(te=="word"||te=="group")for(var pn=null,Mn=te=="group",Fn=P.cm&&P.cm.getHelper(K,"wordChars"),yi=!0;!(q<0&&!en(!yi));yi=!1){var Xi=Tt.text.charAt(K.ch)||`
`,oa=G(Xi,Fn)?"w":Mn&&Xi==`
`?"n":!Mn||/\s/.test(Xi)?null:"p";if(Mn&&!yi&&!oa&&(oa="s"),pn&&pn!=oa){q<0&&(q=1,en(),K.sticky="after");break}if(oa&&(pn=oa),q>0&&!en(!yi))break}var ea=Ds(P,K,Me,dt,!0);return ot(Me,ea)&&(ea.hitSide=!0),ea}function Tr(P,K,q,te){var ue=P.doc,Me=K.left,dt;if(te=="page"){var Tt=Math.min(P.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Qt=Math.max(Tt-.5*Ni(P.display),3);dt=(q>0?K.bottom:K.top)+q*Qt}else te=="line"&&(dt=q>0?K.bottom+3:K.top-3);for(var tr;!(tr=Dn(P,Me,dt),!tr.outside);){if(q<0?dt<=0:dt>=ue.height){tr.hitSide=!0;break}dt+=q*5}return tr}var kr=function(K){this.cm=K,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};kr.prototype.init=function(P){var K=this,q=this,te=q.cm,ue=q.div=P.lineDiv;Ar(ue,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function Me(Tt){for(var Qt=Tt.target;Qt;Qt=Qt.parentNode){if(Qt==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Qt.className))break}return!1}Le(ue,"paste",function(Tt){if(!Me(Tt)||wt(te,Tt)||St(Tt,te))return;c<=11&&setTimeout(po(te,function(){return K.updateFromDOM()}),20)}),Le(ue,"compositionstart",function(Tt){K.composing={data:Tt.data,done:!1}}),Le(ue,"compositionupdate",function(Tt){K.composing||(K.composing={data:Tt.data,done:!1})}),Le(ue,"compositionend",function(Tt){K.composing&&(Tt.data!=K.composing.data&&K.readFromDOMSoon(),K.composing.done=!0)}),Le(ue,"touchstart",function(){return q.forceCompositionEnd()}),Le(ue,"input",function(){K.composing||K.readFromDOMSoon()});function dt(Tt){if(!Me(Tt)||wt(te,Tt))return;if(te.somethingSelected())He({lineWise:!1,text:te.getSelections()}),Tt.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Qt=Ot(te);He({lineWise:!0,text:Qt.text}),Tt.type=="cut"&&te.operation(function(){te.setSelections(Qt.ranges,0,ie),te.replaceSelection("",null,"cut")})}else return;if(Tt.clipboardData){Tt.clipboardData.clearData();var tr=Se.text.join(`
`);if(Tt.clipboardData.setData("Text",tr),Tt.clipboardData.getData("Text")==tr){Tt.preventDefault();return}}var en=Or(),pn=en.firstChild;te.display.lineSpace.insertBefore(en,te.display.lineSpace.firstChild),pn.value=Se.text.join(`
`);var Mn=document.activeElement;U(pn),setTimeout(function(){te.display.lineSpace.removeChild(en),Mn.focus(),Mn==ue&&q.showPrimarySelection()},50)}Le(ue,"copy",dt),Le(ue,"cut",dt)},kr.prototype.screenReaderLabelChanged=function(P){P?this.div.setAttribute("aria-label",P):this.div.removeAttribute("aria-label")},kr.prototype.prepareSelection=function(){var P=ua(this.cm,!1);return P.focus=document.activeElement==this.div,P},kr.prototype.showSelection=function(P,K){if(!P||!this.cm.display.view.length)return;(P.focus||K)&&this.showPrimarySelection(),this.showMultipleSelections(P)},kr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},kr.prototype.showPrimarySelection=function(){var P=this.getSelection(),K=this.cm,q=K.doc.sel.primary(),te=q.from(),ue=q.to();if(K.display.viewTo==K.display.viewFrom||te.line>=K.display.viewTo||ue.line<K.display.viewFrom){P.removeAllRanges();return}var Me=ui(K,P.anchorNode,P.anchorOffset),dt=ui(K,P.focusNode,P.focusOffset);if(Me&&!Me.bad&&dt&&!dt.bad&&ht(At(Me,dt),te)==0&&ht(Jt(Me,dt),ue)==0)return;var Tt=K.display.view,Qt=te.line>=K.display.viewFrom&&sn(K,te)||{node:Tt[0].measure.map[2],offset:0},tr=ue.line<K.display.viewTo&&sn(K,ue);if(!tr){var en=Tt[Tt.length-1].measure,pn=en.maps?en.maps[en.maps.length-1]:en.map;tr={node:pn[pn.length-1],offset:pn[pn.length-2]-pn[pn.length-3]}}if(!Qt||!tr){P.removeAllRanges();return}var Mn=P.rangeCount&&P.getRangeAt(0),Fn;try{Fn=N(Qt.node,Qt.offset,tr.offset,tr.node)}catch(yi){}Fn&&(!C&&K.state.focused?(P.collapse(Qt.node,Qt.offset),Fn.collapsed||(P.removeAllRanges(),P.addRange(Fn))):(P.removeAllRanges(),P.addRange(Fn)),Mn&&P.anchorNode==null?P.addRange(Mn):C&&this.startGracePeriod()),this.rememberSelection()},kr.prototype.startGracePeriod=function(){var P=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){P.gracePeriod=!1,P.selectionChanged()&&P.cm.operation(function(){return P.cm.curOp.selectionChanged=!0})},20)},kr.prototype.showMultipleSelections=function(P){I(this.cm.display.cursorDiv,P.cursors),I(this.cm.display.selectionDiv,P.selection)},kr.prototype.rememberSelection=function(){var P=this.getSelection();this.lastAnchorNode=P.anchorNode,this.lastAnchorOffset=P.anchorOffset,this.lastFocusNode=P.focusNode,this.lastFocusOffset=P.focusOffset},kr.prototype.selectionInEditor=function(){var P=this.getSelection();if(!P.rangeCount)return!1;var K=P.getRangeAt(0).commonAncestorContainer;return R(this.div,K)},kr.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},kr.prototype.blur=function(){this.div.blur()},kr.prototype.getField=function(){return this.div},kr.prototype.supportsTouch=function(){return!0},kr.prototype.receivedFocus=function(){var P=this;this.selectionInEditor()?this.pollSelection():Do(this.cm,function(){return P.cm.curOp.selectionChanged=!0});function K(){P.cm.state.focused&&(P.pollSelection(),P.polling.set(P.cm.options.pollInterval,K))}this.polling.set(this.cm.options.pollInterval,K)},kr.prototype.selectionChanged=function(){var P=this.getSelection();return P.anchorNode!=this.lastAnchorNode||P.anchorOffset!=this.lastAnchorOffset||P.focusNode!=this.lastFocusNode||P.focusOffset!=this.lastFocusOffset},kr.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var P=this.getSelection(),K=this.cm;if(l&&i&&this.cm.display.gutterSpecs.length&&jn(P.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var q=ui(K,P.anchorNode,P.anchorOffset),te=ui(K,P.focusNode,P.focusOffset);q&&te&&Do(K,function(){Mo(K.doc,Te(q,te),ie),(q.bad||te.bad)&&(K.curOp.selectionChanged=!0)})},kr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var P=this.cm,K=P.display,q=P.doc.sel.primary(),te=q.from(),ue=q.to();if(te.ch==0&&te.line>P.firstLine()&&(te=Ut(te.line-1,Pe(P.doc,te.line-1).length)),ue.ch==Pe(P.doc,ue.line).text.length&&ue.line<P.lastLine()&&(ue=Ut(ue.line+1,0)),te.line<K.viewFrom||ue.line>K.viewTo-1)return!1;var Me,dt,Tt;te.line==K.viewFrom||(Me=Qn(P,te.line))==0?(dt=kt(K.view[0].line),Tt=K.view[0].node):(dt=kt(K.view[Me].line),Tt=K.view[Me-1].node.nextSibling);var Qt=Qn(P,ue.line),tr,en;if(Qt==K.view.length-1?(tr=K.viewTo-1,en=K.lineDiv.lastChild):(tr=kt(K.view[Qt+1].line)-1,en=K.view[Qt+1].node.previousSibling),!Tt)return!1;for(var pn=P.doc.splitLines(Li(P,Tt,en,dt,tr)),Mn=rt(P.doc,Ut(dt,0),Ut(tr,Pe(P.doc,tr).text.length));pn.length>1&&Mn.length>1;)if(ce(pn)==ce(Mn))pn.pop(),Mn.pop(),tr--;else if(pn[0]==Mn[0])pn.shift(),Mn.shift(),dt++;else break;for(var Fn=0,yi=0,Xi=pn[0],oa=Mn[0],ea=Math.min(Xi.length,oa.length);Fn<ea&&Xi.charCodeAt(Fn)==oa.charCodeAt(Fn);)++Fn;for(var $i=ce(pn),Sa=ce(Mn),Ia=Math.min($i.length-(pn.length==1?Fn:0),Sa.length-(Mn.length==1?Fn:0));yi<Ia&&$i.charCodeAt($i.length-yi-1)==Sa.charCodeAt(Sa.length-yi-1);)++yi;if(pn.length==1&&Mn.length==1&&dt==te.line)for(;Fn&&Fn>te.ch&&$i.charCodeAt($i.length-yi-1)==Sa.charCodeAt(Sa.length-yi-1);)Fn--,yi++;pn[pn.length-1]=$i.slice(0,$i.length-yi).replace(/^\u200b+/,""),pn[0]=pn[0].slice(Fn).replace(/\u200b+$/,"");var io=Ut(dt,Fn),Fa=Ut(tr,Mn.length?ce(Mn).length-yi:0);if(pn.length>1||pn[0]||ht(io,Fa))return Hs(P.doc,pn,io,Fa,"+input"),!0},kr.prototype.ensurePolled=function(){this.forceCompositionEnd()},kr.prototype.reset=function(){this.forceCompositionEnd()},kr.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},kr.prototype.readFromDOMSoon=function(){var P=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(P.readDOMTimeout=null,P.composing)if(P.composing.done)P.composing=null;else return;P.updateFromDOM()},80)},kr.prototype.updateFromDOM=function(){var P=this;(this.cm.isReadOnly()||!this.pollContent())&&Do(this.cm,function(){return vi(P.cm)})},kr.prototype.setUneditable=function(P){P.contentEditable="false"},kr.prototype.onKeyPress=function(P){if(P.charCode==0||this.composing)return;P.preventDefault(),this.cm.isReadOnly()||po(this.cm,it)(this.cm,String.fromCharCode(P.charCode==null?P.keyCode:P.charCode),0)},kr.prototype.readOnlyChanged=function(P){this.div.contentEditable=String(P!="nocursor")},kr.prototype.onContextMenu=function(){},kr.prototype.resetPosition=function(){},kr.prototype.needsContentAttribute=!0;function sn(P,K){var q=_i(P,K.line);if(!q||q.hidden)return null;var te=Pe(P.doc,K.line),ue=oi(q,te,K.line),Me=nt(te,P.doc.direction),dt="left";if(Me){var Tt=xe(Me,K.ch);dt=Tt%2?"right":"left"}var Qt=ji(ue.map,K.ch,dt);return Qt.offset=Qt.collapse=="right"?Qt.end:Qt.start,Qt}function jn(P){for(var K=P;K;K=K.parentNode)if(/CodeMirror-gutter-wrapper/.test(K.className))return!0;return!1}function Vn(P,K){return K&&(P.bad=!0),P}function Li(P,K,q,te,ue){var Me="",dt=!1,Tt=P.doc.lineSeparator(),Qt=!1;function tr(Fn){return function(yi){return yi.id==Fn}}function en(){dt&&(Me+=Tt,Qt&&(Me+=Tt),dt=Qt=!1)}function pn(Fn){Fn&&(en(),Me+=Fn)}function Mn(Fn){if(Fn.nodeType==1){var yi=Fn.getAttribute("cm-text");if(yi){pn(yi);return}var Xi=Fn.getAttribute("cm-marker"),oa;if(Xi){var ea=P.findMarks(Ut(te,0),Ut(ue+1,0),tr(+Xi));ea.length&&(oa=ea[0].find(0))&&pn(rt(P.doc,oa.from,oa.to).join(Tt));return}if(Fn.getAttribute("contenteditable")=="false")return;var $i=/^(pre|div|p|li|table|br)$/i.test(Fn.nodeName);if(!/^br$/i.test(Fn.nodeName)&&Fn.textContent.length==0)return;$i&&en();for(var Sa=0;Sa<Fn.childNodes.length;Sa++)Mn(Fn.childNodes[Sa]);/^(pre|p)$/i.test(Fn.nodeName)&&(Qt=!0),$i&&(dt=!0)}else Fn.nodeType==3&&pn(Fn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(Mn(K),K==q);)K=K.nextSibling,Qt=!1;return Me}function ui(P,K,q){var te;if(K==P.display.lineDiv){if(te=P.display.lineDiv.childNodes[q],!te)return Vn(P.clipPos(Ut(P.display.viewTo-1)),!0);K=null,q=0}else for(te=K;;te=te.parentNode){if(!te||te==P.display.lineDiv)return null;if(te.parentNode&&te.parentNode==P.display.lineDiv)break}for(var ue=0;ue<P.display.view.length;ue++){var Me=P.display.view[ue];if(Me.node==te)return ba(Me,K,q)}}function ba(P,K,q){var te=P.text.firstChild,ue=!1;if(!K||!R(te,K))return Vn(Ut(kt(P.line),0),!0);if(K==te&&(ue=!0,K=te.childNodes[q],q=0,!K)){var Me=P.rest?ce(P.rest):P.line;return Vn(Ut(kt(Me),Me.text.length),ue)}var dt=K.nodeType==3?K:null,Tt=K;for(!dt&&K.childNodes.length==1&&K.firstChild.nodeType==3&&(dt=K.firstChild,q&&(q=dt.nodeValue.length));Tt.parentNode!=te;)Tt=Tt.parentNode;var Qt=P.measure,tr=Qt.maps;function en(oa,ea,$i){for(var Sa=-1;Sa<(tr?tr.length:0);Sa++)for(var Ia=Sa<0?Qt.map:tr[Sa],io=0;io<Ia.length;io+=3){var Fa=Ia[io+2];if(Fa==oa||Fa==ea){var xo=kt(Sa<0?P.line:P.rest[Sa]),Wo=Ia[io]+$i;return($i<0||Fa!=oa)&&(Wo=Ia[io+($i?1:0)]),Ut(xo,Wo)}}}var pn=en(dt,Tt,q);if(pn)return Vn(pn,ue);for(var Mn=Tt.nextSibling,Fn=dt?dt.nodeValue.length-q:0;Mn;Mn=Mn.nextSibling){if(pn=en(Mn,Mn.firstChild,0),pn)return Vn(Ut(pn.line,pn.ch-Fn),ue);Fn+=Mn.textContent.length}for(var yi=Tt.previousSibling,Xi=q;yi;yi=yi.previousSibling){if(pn=en(yi,yi.firstChild,-1),pn)return Vn(Ut(pn.line,pn.ch+Xi),ue);Xi+=yi.textContent.length}}var Wi=function(K){this.cm=K,this.prevInput="",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Wi.prototype.init=function(P){var K=this,q=this,te=this.cm;this.createField(P);var ue=this.textarea;P.wrapper.insertBefore(this.wrapper,P.wrapper.firstChild),a&&(ue.style.width="0px"),Le(ue,"input",function(){p&&c>=9&&K.hasSelection&&(K.hasSelection=null),q.poll()}),Le(ue,"paste",function(dt){if(wt(te,dt)||St(dt,te))return;te.state.pasteIncoming=+new Date,q.fastPoll()});function Me(dt){if(wt(te,dt))return;if(te.somethingSelected())He({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var Tt=Ot(te);He({lineWise:!0,text:Tt.text}),dt.type=="cut"?te.setSelections(Tt.ranges,null,ie):(q.prevInput="",ue.value=Tt.text.join(`
`),U(ue))}else return;dt.type=="cut"&&(te.state.cutIncoming=+new Date)}Le(ue,"cut",Me),Le(ue,"copy",Me),Le(P.scroller,"paste",function(dt){if(Un(P,dt)||wt(te,dt))return;if(!ue.dispatchEvent){te.state.pasteIncoming=+new Date,q.focus();return}var Tt=new Event("paste");Tt.clipboardData=dt.clipboardData,ue.dispatchEvent(Tt)}),Le(P.lineSpace,"selectstart",function(dt){Un(P,dt)||Ze(dt)}),Le(ue,"compositionstart",function(){var dt=te.getCursor("from");q.composing&&q.composing.range.clear(),q.composing={start:dt,range:te.markText(dt,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Le(ue,"compositionend",function(){q.composing&&(q.poll(),q.composing.range.clear(),q.composing=null)})},Wi.prototype.createField=function(P){this.wrapper=Or(),this.textarea=this.wrapper.firstChild},Wi.prototype.screenReaderLabelChanged=function(P){P?this.textarea.setAttribute("aria-label",P):this.textarea.removeAttribute("aria-label")},Wi.prototype.prepareSelection=function(){var P=this.cm,K=P.display,q=P.doc,te=ua(P);if(P.options.moveInputWithCursor){var ue=ln(P,q.sel.primary().head,"div"),Me=K.wrapper.getBoundingClientRect(),dt=K.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(K.wrapper.clientHeight-10,ue.top+dt.top-Me.top)),te.teLeft=Math.max(0,Math.min(K.wrapper.clientWidth-10,ue.left+dt.left-Me.left))}return te},Wi.prototype.showSelection=function(P){var K=this.cm,q=K.display;I(q.cursorDiv,P.cursors),I(q.selectionDiv,P.selection),P.teTop!=null&&(this.wrapper.style.top=P.teTop+"px",this.wrapper.style.left=P.teLeft+"px")},Wi.prototype.reset=function(P){if(this.contextMenuPending||this.composing)return;var K=this.cm;if(K.somethingSelected()){this.prevInput="";var q=K.getSelection();this.textarea.value=q,K.state.focused&&U(this.textarea),p&&c>=9&&(this.hasSelection=q)}else P||(this.prevInput=this.textarea.value="",p&&c>=9&&(this.hasSelection=null))},Wi.prototype.getField=function(){return this.textarea},Wi.prototype.supportsTouch=function(){return!1},Wi.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!u||D()!=this.textarea))try{this.textarea.focus()}catch(P){}},Wi.prototype.blur=function(){this.textarea.blur()},Wi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Wi.prototype.receivedFocus=function(){this.slowPoll()},Wi.prototype.slowPoll=function(){var P=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){P.poll(),P.cm.state.focused&&P.slowPoll()})},Wi.prototype.fastPoll=function(){var P=!1,K=this;K.pollingFast=!0;function q(){var te=K.poll();!te&&!P?(P=!0,K.polling.set(60,q)):(K.pollingFast=!1,K.slowPoll())}K.polling.set(20,q)},Wi.prototype.poll=function(){var P=this,K=this.cm,q=this.textarea,te=this.prevInput;if(this.contextMenuPending||!K.state.focused||er(q)&&!te&&!this.composing||K.isReadOnly()||K.options.disableInput||K.state.keySeq)return!1;var ue=q.value;if(ue==te&&!K.somethingSelected())return!1;if(p&&c>=9&&this.hasSelection===ue||h&&/[\uf700-\uf7ff]/.test(ue))return K.display.input.reset(),!1;if(K.doc.sel==K.display.selForContextMenu){var Me=ue.charCodeAt(0);if(Me==8203&&!te&&(te="\u200B"),Me==8666)return this.reset(),this.cm.execCommand("undo")}for(var dt=0,Tt=Math.min(te.length,ue.length);dt<Tt&&te.charCodeAt(dt)==ue.charCodeAt(dt);)++dt;return Do(K,function(){it(K,ue.slice(dt),te.length-dt,null,P.composing?"*compose":null),ue.length>1e3||ue.indexOf(`
`)>-1?q.value=P.prevInput="":P.prevInput=ue,P.composing&&(P.composing.range.clear(),P.composing.range=K.markText(P.composing.start,K.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Wi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Wi.prototype.onKeyPress=function(){p&&c>=9&&(this.hasSelection=null),this.fastPoll()},Wi.prototype.onContextMenu=function(P){var K=this,q=K.cm,te=q.display,ue=K.textarea;K.contextMenuPending&&K.contextMenuPending();var Me=bi(q,P),dt=te.scroller.scrollTop;if(!Me||n)return;var Tt=q.options.resetSelectionOnContextMenu;Tt&&q.doc.sel.contains(Me)==-1&&po(q,Mo)(q.doc,Te(Me),ie);var Qt=ue.style.cssText,tr=K.wrapper.style.cssText,en=K.wrapper.offsetParent.getBoundingClientRect();K.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(P.clientY-en.top-5)+"px; left: "+(P.clientX-en.left-5)+`px;
z-index: 1000; background: `+(p?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var pn;o&&(pn=window.scrollY),te.input.focus(),o&&window.scrollTo(null,pn),te.input.reset(),q.somethingSelected()||(ue.value=K.prevInput=" "),K.contextMenuPending=Fn,te.selForContextMenu=q.doc.sel,clearTimeout(te.detectingSelectAll);function Mn(){if(ue.selectionStart!=null){var Xi=q.somethingSelected(),oa="\u200B"+(Xi?ue.value:"");ue.value="\u21DA",ue.value=oa,K.prevInput=Xi?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=oa.length,te.selForContextMenu=q.doc.sel}}function Fn(){if(K.contextMenuPending!=Fn)return;if(K.contextMenuPending=!1,K.wrapper.style.cssText=tr,ue.style.cssText=Qt,p&&c<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=dt),ue.selectionStart!=null){(!p||p&&c<9)&&Mn();var Xi=0,oa=function ea(){te.selForContextMenu==q.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&K.prevInput=="\u200B"?po(q,tl)(q):Xi++<10?te.detectingSelectAll=setTimeout(ea,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(oa,200)}}if(p&&c>=9&&Mn(),E){yt(P);var yi=function Xi(){Qe(window,"mouseup",Xi),setTimeout(Fn,20)};Le(window,"mouseup",yi)}else setTimeout(Fn,50)},Wi.prototype.readOnlyChanged=function(P){P||this.reset(),this.textarea.disabled=P=="nocursor",this.textarea.readOnly=!!P},Wi.prototype.setUneditable=function(){},Wi.prototype.needsContentAttribute=!1;function Oa(P,K){if(K=K?j(K):{},K.value=P.value,!K.tabindex&&P.tabIndex&&(K.tabindex=P.tabIndex),!K.placeholder&&P.placeholder&&(K.placeholder=P.placeholder),K.autofocus==null){var q=D();K.autofocus=q==P||P.getAttribute("autofocus")!=null&&q==document.body}function te(){P.value=Tt.getValue()}var ue;if(P.form&&(Le(P.form,"submit",te),!K.leaveSubmitMethodAlone)){var Me=P.form;ue=Me.submit;try{var dt=Me.submit=function(){te(),Me.submit=ue,Me.submit(),Me.submit=dt}}catch(Qt){}}K.finishInit=function(Qt){Qt.save=te,Qt.getTextArea=function(){return P},Qt.toTextArea=function(){Qt.toTextArea=isNaN,te(),P.parentNode.removeChild(Qt.getWrapperElement()),P.style.display="",P.form&&(Qe(P.form,"submit",te),!K.leaveSubmitMethodAlone&&typeof P.form.submit=="function"&&(P.form.submit=ue))}},P.style.display="none";var Tt=dr(function(Qt){return P.parentNode.insertBefore(Qt,P.nextSibling)},K);return Tt}function wa(P){P.off=Qe,P.on=Le,P.wheelEventPixels=rn,P.Doc=zs,P.splitLines=Fr,P.countColumn=W,P.findColumn=ge,P.isWordChar=X,P.Pass=J,P.signal=gt,P.Line=Ei,P.changeEnd=je,P.scrollbarModel=ds,P.Pos=Ut,P.cmpPos=ht,P.modes=Je,P.mimeModes=qt,P.resolveMode=fr,P.getMode=yn,P.modeExtensions=Jr,P.extendMode=Ln,P.copyState=Nt,P.startState=_e,P.innerMode=Ve,P.commands=zl,P.keyMap=El,P.keyName=$l,P.isModifierKey=Zl,P.lookupKey=yl,P.normalizeKeyMap=Hu,P.StringStream=ke,P.SharedTextMarker=Ll,P.TextMarker=rl,P.LineWidget=Ws,P.e_preventDefault=Ze,P.e_stopPropagation=ye,P.e_stop=yt,P.addClass=B,P.contains=R,P.rmClass=w,P.keyNames=Al}Ue(dr),mr(dr);var $a="iter insert remove copy getEditor constructor".split(" ");for(var mo in zs.prototype)zs.prototype.hasOwnProperty(mo)&&z($a,mo)<0&&(dr.prototype[mo]=function(P){return function(){return P.apply(this.doc,arguments)}}(zs.prototype[mo]));return Ht(zs),dr.inputStyles={textarea:Wi,contenteditable:kr},dr.defineMode=function(P){!dr.defaults.mode&&P!="null"&&(dr.defaults.mode=P),Sr.apply(this,arguments)},dr.defineMIME=yr,dr.defineMode("null",function(){return{token:function(K){return K.skipToEnd()}}}),dr.defineMIME("text/plain","null"),dr.defineExtension=function(P,K){dr.prototype[P]=K},dr.defineDocExtension=function(P,K){zs.prototype[P]=K},dr.fromTextArea=Oa,wa(dr),dr.version="5.58.2",dr})},Vy0f:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("iYpf"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},W2nI:function(H,k,d){var _=d("IwbS"),x=d("ProS"),C=d("bYtY"),A=["itemStyle","opacity"],b=["emphasis","itemStyle","opacity"],m=["lineStyle","opacity"],p=["emphasis","lineStyle","opacity"];function c(s,e){return s.getVisual("opacity")||s.getModel().get(e)}function o(s,e,a){var l=s.getGraphicEl(),u=c(s,e);a!=null&&(u==null&&(u=1),u*=a),l.downplay&&l.downplay(),l.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",u)})}function r(s,e){var a=c(s,e),l=s.getGraphicEl();l.traverse(function(u){u.type!=="group"&&u.setStyle("opacity",a)}),l.highlight&&l.highlight()}var i=_.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(s,e){var a=e.extent;s.moveTo(e.x1,e.y1),s.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),e.orient==="vertical"?(s.lineTo(e.x2+a,e.y2),s.bezierCurveTo(e.cpx2+a,e.cpy2,e.cpx1+a,e.cpy1,e.x1+a,e.y1)):(s.lineTo(e.x2,e.y2+a),s.bezierCurveTo(e.cpx2,e.cpy2+a,e.cpx1,e.cpy1+a,e.x1,e.y1+a)),s.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),n=x.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(s,e,a){var l=this,u=s.getGraph(),h=this.group,f=s.layoutInfo,g=f.width,v=f.height,y=s.getData(),E=s.getData("edge"),T=s.get("orient");this._model=s,h.removeAll(),h.attr("position",[f.x,f.y]),u.eachEdge(function(w){var S=new i;S.dataIndex=w.dataIndex,S.seriesIndex=s.seriesIndex,S.dataType="edge";var I=w.getModel("lineStyle"),L=I.get("curveness"),O=w.node1.getLayout(),N=w.node1.getModel(),R=N.get("localX"),D=N.get("localY"),B=w.node2.getLayout(),M=w.node2.getModel(),U=M.get("localX"),F=M.get("localY"),j=w.getLayout(),W,V,z,Y,J,ie,Z,oe;S.shape.extent=Math.max(1,j.dy),S.shape.orient=T,T==="vertical"?(W=(R!=null?R*g:O.x)+j.sy,V=(D!=null?D*v:O.y)+O.dy,z=(U!=null?U*g:B.x)+j.ty,Y=F!=null?F*v:B.y,J=W,ie=V*(1-L)+Y*L,Z=z,oe=V*L+Y*(1-L)):(W=(R!=null?R*g:O.x)+O.dx,V=(D!=null?D*v:O.y)+j.sy,z=U!=null?U*g:B.x,Y=(F!=null?F*v:B.y)+j.ty,J=W*(1-L)+z*L,ie=V,Z=W*L+z*(1-L),oe=Y),S.setShape({x1:W,y1:V,x2:z,y2:Y,cpx1:J,cpy1:ie,cpx2:Z,cpy2:oe}),S.setStyle(I.getItemStyle());switch(S.style.fill){case"source":S.style.fill=w.node1.getVisual("color");break;case"target":S.style.fill=w.node2.getVisual("color");break}_.setHoverStyle(S,w.getModel("emphasis.lineStyle").getItemStyle()),h.add(S),E.setItemGraphicEl(w.dataIndex,S)}),u.eachNode(function(w){var S=w.getLayout(),I=w.getModel(),L=I.get("localX"),O=I.get("localY"),N=I.getModel("label"),R=I.getModel("emphasis.label"),D=new _.Rect({shape:{x:L!=null?L*g:S.x,y:O!=null?O*v:S.y,width:S.dx,height:S.dy},style:I.getModel("itemStyle").getItemStyle()}),B=w.getModel("emphasis.itemStyle").getItemStyle();_.setLabelStyle(D.style,B,N,R,{labelFetcher:s,labelDataIndex:w.dataIndex,defaultText:w.id,isRectText:!0}),D.setStyle("fill",w.getVisual("color")),_.setHoverStyle(D,B),h.add(D),y.setItemGraphicEl(w.dataIndex,D),D.dataType="node"}),y.eachItemGraphicEl(function(w,S){var I=y.getItemModel(S);I.get("draggable")&&(w.drift=function(L,O){l._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=O,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:s.id,dataIndex:y.getRawIndex(S),localX:this.shape.x/g,localY:this.shape.y/v})},w.ondragend=function(){l._focusAdjacencyDisabled=!1},w.draggable=!0,w.cursor="move"),w.highlight=function(){this.trigger("emphasis")},w.downplay=function(){this.trigger("normal")},w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){l._focusAdjacencyDisabled||(l._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:s.id,dataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){l._focusAdjacencyDisabled||l._dispatchUnfocus(a)}))}),E.eachItemGraphicEl(function(w,S){var I=E.getItemModel(S);w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){l._focusAdjacencyDisabled||(l._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:s.id,edgeDataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){l._focusAdjacencyDisabled||l._dispatchUnfocus(a)}))}),!this._data&&s.get("animation")&&h.setClipPath(t(h.getBoundingRect(),s,function(){h.removeClipPath()})),this._data=s.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(s){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){e._unfocusDelayTimer=null,s.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(s,e,a,l){var u=s.getData(),h=u.graph,f=l.dataIndex,g=u.getItemModel(f),v=l.edgeDataIndex;if(f==null&&v==null)return;var y=h.getNodeByIndex(f),E=h.getEdgeByIndex(v);if(h.eachNode(function(w){o(w,A,.1)}),h.eachEdge(function(w){o(w,m,.1)}),y){r(y,b);var T=g.get("focusNodeAdjacency");T==="outEdges"?C.each(y.outEdges,function(w){if(w.dataIndex<0)return;r(w,p),r(w.node2,b)}):T==="inEdges"?C.each(y.inEdges,function(w){if(w.dataIndex<0)return;r(w,p),r(w.node1,b)}):T==="allEdges"&&C.each(y.edges,function(w){if(w.dataIndex<0)return;r(w,p),w.node1!==y&&r(w.node1,b),w.node2!==y&&r(w.node2,b)})}E&&(r(E,p),r(E.node1,b),r(E.node2,b))},unfocusNodeAdjacency:function(s,e,a,l){var u=s.getGraph();u.eachNode(function(h){o(h,A)}),u.eachEdge(function(h){o(h,m)})}});function t(s,e,a){var l=new _.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return _.initProps(l,{shape:{width:s.width+20}},e,a),l}H.exports=n},W4dC:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=C.each,b=C.createHashMap,m=d("7DRL"),p=d("TIY9"),c=d("yS9w"),o=d("mFDi"),r={geoJSON:p,svg:c},i={load:function(e,a,l){var u=[],h=b(),f=b(),g,v=s(e);return A(v,function(y){var E=r[y.type].load(e,y,l);A(E.regions,function(w){var S=w.name;a&&a.hasOwnProperty(S)&&(w=w.cloneShallow(S=a[S])),u.push(w),h.set(S,w),f.set(S,w.center)});var T=E.boundingRect;T&&(g?g.union(T):g=T.clone())}),{regions:u,regionsMap:h,nameCoordMap:f,boundingRect:g||new o(0,0,0,0)}},makeGraphic:n("makeGraphic"),removeGraphic:n("removeGraphic")};function n(e){return function(a,l){var u=s(a),h=[];return A(u,function(f){var g=r[f.type][e];g&&h.push(g(a,f,l))}),h}}function t(e){}function s(e){var a=m.retrieveMap(e)||[];return a}H.exports=i},WGYa:function(H,k,d){var _=d("7yuC"),x=_.forceLayout,C=d("HF/U"),A=C.simpleLayout,b=d("lOQZ"),m=b.circularLayout,p=d("OELB"),c=p.linearMap,o=d("QBsz"),r=d("bYtY");function i(n){n.eachSeriesByType("graph",function(t){var s=t.coordinateSystem;if(s&&s.type!=="view")return;if(t.get("layout")==="force"){var e=t.preservedPoints||{},a=t.getGraph(),l=a.data,u=a.edgeData,h=t.getModel("force"),f=h.get("initLayout");t.preservedPoints?l.each(function(N){var R=l.getId(N);l.setItemLayout(N,e[R]||[NaN,NaN])}):!f||f==="none"?A(t):f==="circular"&&m(t,"value");var g=l.getDataExtent("value"),v=u.getDataExtent("value"),y=h.get("repulsion"),E=h.get("edgeLength");r.isArray(y)||(y=[y,y]),r.isArray(E)||(E=[E,E]),E=[E[1],E[0]];var T=l.mapArray("value",function(N,R){var D=l.getItemLayout(R),B=c(N,g,y);return isNaN(B)&&(B=(y[0]+y[1])/2),{w:B,rep:B,fixed:l.getItemModel(R).get("fixed"),p:!D||isNaN(D[0])||isNaN(D[1])?null:D}}),w=u.mapArray("value",function(N,R){var D=a.getEdgeByIndex(R),B=c(N,v,E);isNaN(B)&&(B=(E[0]+E[1])/2);var M=D.getModel();return{n1:T[D.node1.dataIndex],n2:T[D.node2.dataIndex],d:B,curveness:M.get("lineStyle.curveness")||0,ignoreForceLayout:M.get("ignoreForceLayout")}}),s=t.coordinateSystem,S=s.getBoundingRect(),I=x(T,w,{rect:S,gravity:h.get("gravity"),friction:h.get("friction")}),L=I.step;I.step=function(N){for(var R=0,D=T.length;R<D;R++)T[R].fixed&&o.copy(T[R].p,a.getNodeByIndex(R).getLayout());L(function(B,M,U){for(var F=0,j=B.length;F<j;F++)B[F].fixed||a.getNodeByIndex(F).setLayout(B[F].p),e[l.getId(F)]=B[F].p;for(var F=0,j=M.length;F<j;F++){var W=M[F],V=a.getEdgeByIndex(F),z=W.n1.p,Y=W.n2.p,J=V.getLayout();J=J?J.slice():[],J[0]=J[0]||[],J[1]=J[1]||[],o.copy(J[0],z),o.copy(J[1],Y),+W.curveness&&(J[2]=[(z[0]+Y[0])/2-(z[1]-Y[1])*W.curveness,(z[1]+Y[1])/2-(Y[0]-z[0])*W.curveness]),V.setLayout(J)}N&&N(U)})},t.forceLayout=I,t.preservedPoints=e,I.step()}else t.forceLayout=null})}H.exports=i},WKfj:function(H,k,d){"use strict";d.d(k,"d",function(){return x}),d.d(k,"e",function(){return C}),d.d(k,"f",function(){return A}),d.d(k,"c",function(){return b}),d.d(k,"b",function(){return p}),d.d(k,"a",function(){return o});var _=d("KQm4");function x(r){return Array.isArray(r)?r:r!==void 0?[r]:[]}function C(r,i){var n=i.labelInValue,t=i.combobox;if(r===void 0||r===""&&t)return[];var s=Array.isArray(r)?r:[r];return n?s.map(function(e){var a=e.key,l=e.value;return l!==void 0?l:a}):s}function A(r,i){var n=i.optionLabelProp,t=i.labelInValue,s=i.prevValue,e=i.options,a=i.getLabeledValue,l=r;return t&&(l=l.map(function(u){return a(u,{options:e,prevValue:s,labelInValue:t,optionLabelProp:n})})),l}function b(r,i){var n=Object(_.a)(i),t;for(t=r.length-1;t>=0&&r[t].disabled;t-=1);var s=null;return t!==-1&&(s=n[t],n.splice(t,1)),{values:n,removedValue:s}}var m=typeof window!="undefined"&&window.document&&window.document.documentElement,p=m,c=0;function o(){var r;return p?(r=c,c+=1):r="TEST_OR_SSR",r}},"WN+l":function(H,k,d){var _=d("bYtY"),x=d("IwbS");function C(b,m,p,c){var o=p.axis;if(o.scale.isBlank())return;var r=p.getModel("splitArea"),i=r.getModel("areaStyle"),n=i.get("color"),t=c.coordinateSystem.getRect(),s=o.getTicksCoords({tickModel:r,clamp:!0});if(!s.length)return;var e=n.length,a=b.__splitAreaColors,l=_.createHashMap(),u=0;if(a)for(var h=0;h<s.length;h++){var f=a.get(s[h].tickValue);if(f!=null){u=(f+(e-1)*h)%e;break}}var g=o.toGlobalCoord(s[0].coord),v=i.getAreaStyle();n=_.isArray(n)?n:[n];for(var h=1;h<s.length;h++){var y=o.toGlobalCoord(s[h].coord),E,T,w,S;o.isHorizontal()?(E=g,T=t.y,w=y-E,S=t.height,g=E+w):(E=t.x,T=g,w=t.width,S=y-T,g=T+S);var I=s[h-1].tickValue;I!=null&&l.set(I,u),m.add(new x.Rect({anid:I!=null?"area_"+I:null,shape:{x:E,y:T,width:w,height:S},style:_.defaults({fill:n[u]},v),silent:!0})),u=(u+1)%e}b.__splitAreaColors=l}function A(b){b.__splitAreaColors=null}k.rectCoordAxisBuildSplitArea=C,k.rectCoordAxisHandleRemove=A},WXVj:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("Bqw1")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="MinusSquareOutlined";var c=A.forwardRef(p);k.default=c},WYAk:function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){(function(){var x=_,C=x.lib,A=C.Base,b=x.enc,m=b.Utf8,p=x.algo,c=p.HMAC=A.extend({init:function(r,i){r=this._hasher=new r.init,typeof i=="string"&&(i=m.parse(i));var n=r.blockSize,t=n*4;i.sigBytes>t&&(i=r.finalize(i)),i.clamp();for(var s=this._oKey=i.clone(),e=this._iKey=i.clone(),a=s.words,l=e.words,u=0;u<n;u++)a[u]^=1549556828,l[u]^=909522486;s.sigBytes=e.sigBytes=t,this.reset()},reset:function(){var r=this._hasher;r.reset(),r.update(this._iKey)},update:function(r){return this._hasher.update(r),this},finalize:function(r){var i=this._hasher,n=i.finalize(r);i.reset();var t=i.finalize(this._oKey.clone().concat(n));return t}})})()})},WaYH:function(H,k,d){"use strict";var _=d("rePB"),x=d("Ff2n"),C=d("VTBJ"),A=d("1OyB"),b=d("vuIU"),m=d("JX7q"),p=d("Ji7U"),c=d("LK+K"),o=d("q1tI"),r=d("TSYQ"),i=d.n(r),n=d("sboe"),t=d("OZM5"),s=function(E){var T=E.prefixCls,w=E.level,S=E.isStart,I=E.isEnd;if(!w)return null;for(var L="".concat(T,"-indent-unit"),O=[],N=0;N<w;N+=1){var R;O.push(o.createElement("span",{key:N,className:i()(L,(R={},Object(_.a)(R,"".concat(L,"-start"),S[N+1]),Object(_.a)(R,"".concat(L,"-end"),I[N+1]),Object(_.a)(R,"".concat(L,"-end-first-level"),!N&&I[0]),R))}))}return o.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},O)},e=s,a=d("815F"),l="open",u="close",h="---",f=function(y){Object(p.a)(T,y);var E=Object(c.a)(T);function T(){var w;return Object(A.a)(this,T),w=E.apply(this,arguments),w.state={dragNodeHighlight:!1},w.onSelectorClick=function(S){var I=w.props.context.onNodeClick;I(S,Object(a.b)(w.props)),w.isSelectable()?w.onSelect(S):w.onCheck(S)},w.onSelectorDoubleClick=function(S){var I=w.props.context.onNodeDoubleClick;I(S,Object(a.b)(w.props))},w.onSelect=function(S){if(w.isDisabled())return;var I=w.props.context.onNodeSelect;S.preventDefault(),I(S,Object(a.b)(w.props))},w.onCheck=function(S){if(w.isDisabled())return;var I=w.props,L=I.disableCheckbox,O=I.checked,N=w.props.context.onNodeCheck;if(!w.isCheckable()||L)return;S.preventDefault();var R=!O;N(S,Object(a.b)(w.props),R)},w.onMouseEnter=function(S){var I=w.props.context.onNodeMouseEnter;I(S,Object(a.b)(w.props))},w.onMouseLeave=function(S){var I=w.props.context.onNodeMouseLeave;I(S,Object(a.b)(w.props))},w.onContextMenu=function(S){var I=w.props.context.onNodeContextMenu;I(S,Object(a.b)(w.props))},w.onDragStart=function(S){var I=w.props.context.onNodeDragStart;S.stopPropagation(),w.setState({dragNodeHighlight:!0}),I(S,Object(m.a)(w));try{S.dataTransfer.setData("text/plain","")}catch(L){}},w.onDragEnter=function(S){var I=w.props.context.onNodeDragEnter;S.preventDefault(),S.stopPropagation(),I(S,Object(m.a)(w))},w.onDragOver=function(S){var I=w.props.context.onNodeDragOver;S.preventDefault(),S.stopPropagation(),I(S,Object(m.a)(w))},w.onDragLeave=function(S){var I=w.props.context.onNodeDragLeave;S.stopPropagation(),I(S,Object(m.a)(w))},w.onDragEnd=function(S){var I=w.props.context.onNodeDragEnd;S.stopPropagation(),w.setState({dragNodeHighlight:!1}),I(S,Object(m.a)(w))},w.onDrop=function(S){var I=w.props.context.onNodeDrop;S.preventDefault(),S.stopPropagation(),w.setState({dragNodeHighlight:!1}),I(S,Object(m.a)(w))},w.onExpand=function(S){var I=w.props.context.onNodeExpand;I(S,Object(a.b)(w.props))},w.setSelectHandle=function(S){w.selectHandle=S},w.getNodeState=function(){var S=w.props.expanded;return w.isLeaf()?null:S?l:u},w.hasChildren=function(){var S=w.props.eventKey,I=w.props.context.keyEntities,L=I[S]||{},O=L.children;return!!(O||[]).length},w.isLeaf=function(){var S=w.props,I=S.isLeaf,L=S.loaded,O=w.props.context.loadData,N=w.hasChildren();return I===!1?!1:I||!O&&!N||O&&L&&!N},w.isDisabled=function(){var S=w.props.disabled,I=w.props.context.disabled;return!!(I||S)},w.isCheckable=function(){var S=w.props.checkable,I=w.props.context.checkable;return!I||S===!1?!1:I},w.syncLoadData=function(S){var I=S.expanded,L=S.loading,O=S.loaded,N=w.props.context,R=N.loadData,D=N.onNodeLoad;if(L)return;R&&I&&!w.isLeaf()&&(!w.hasChildren()&&!O&&D(Object(a.b)(w.props)))},w.renderSwitcher=function(){var S=w.props,I=S.expanded,L=S.switcherIcon,O=w.props.context,N=O.prefixCls,R=O.switcherIcon,D=L||R;if(w.isLeaf())return o.createElement("span",{className:i()("".concat(N,"-switcher"),"".concat(N,"-switcher-noop"))},typeof D=="function"?D(Object(C.a)(Object(C.a)({},w.props),{},{isLeaf:!0})):D);var B=i()("".concat(N,"-switcher"),"".concat(N,"-switcher_").concat(I?l:u));return o.createElement("span",{onClick:w.onExpand,className:B},typeof D=="function"?D(Object(C.a)(Object(C.a)({},w.props),{},{isLeaf:!1})):D)},w.renderCheckbox=function(){var S=w.props,I=S.checked,L=S.halfChecked,O=S.disableCheckbox,N=w.props.context.prefixCls,R=w.isDisabled(),D=w.isCheckable();if(!D)return null;var B=typeof D!="boolean"?D:null;return o.createElement("span",{className:i()("".concat(N,"-checkbox"),I&&"".concat(N,"-checkbox-checked"),!I&&L&&"".concat(N,"-checkbox-indeterminate"),(R||O)&&"".concat(N,"-checkbox-disabled")),onClick:w.onCheck},B)},w.renderIcon=function(){var S=w.props.loading,I=w.props.context.prefixCls;return o.createElement("span",{className:i()("".concat(I,"-iconEle"),"".concat(I,"-icon__").concat(w.getNodeState()||"docu"),S&&"".concat(I,"-icon_loading"))})},w.renderSelector=function(){var S=w.state.dragNodeHighlight,I=w.props,L=I.title,O=I.selected,N=I.icon,R=I.loading,D=I.data,B=w.props.context,M=B.prefixCls,U=B.showIcon,F=B.icon,j=B.draggable,W=B.loadData,V=B.titleRender,z=w.isDisabled(),Y="".concat(M,"-node-content-wrapper"),J;if(U){var ie=N||F;J=ie?o.createElement("span",{className:i()("".concat(M,"-iconEle"),"".concat(M,"-icon__customize"))},typeof ie=="function"?ie(w.props):ie):w.renderIcon()}else W&&R&&(J=w.renderIcon());var Z;typeof L=="function"?Z=L(D):V?Z=V(D):Z=L;var oe=o.createElement("span",{className:"".concat(M,"-title")},Z);return o.createElement("span",{ref:w.setSelectHandle,title:typeof L=="string"?L:"",className:i()("".concat(Y),"".concat(Y,"-").concat(w.getNodeState()||"normal"),!z&&(O||S)&&"".concat(M,"-node-selected"),!z&&j&&"draggable"),draggable:!z&&j||void 0,"aria-grabbed":!z&&j||void 0,onMouseEnter:w.onMouseEnter,onMouseLeave:w.onMouseLeave,onContextMenu:w.onContextMenu,onClick:w.onSelectorClick,onDoubleClick:w.onSelectorDoubleClick,onDragStart:j?w.onDragStart:void 0},J,oe)},w}return Object(b.a)(T,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var S=this.props.selectable,I=this.props.context.selectable;return typeof S=="boolean"?S:I}},{key:"render",value:function(){var S,I=this.props,L=I.eventKey,O=I.className,N=I.style,R=I.dragOver,D=I.dragOverGapTop,B=I.dragOverGapBottom,M=I.isLeaf,U=I.isStart,F=I.isEnd,j=I.expanded,W=I.selected,V=I.checked,z=I.halfChecked,Y=I.loading,J=I.domRef,ie=I.active,Z=I.onMouseMove,oe=Object(x.a)(I,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),ge=this.props.context,pe=ge.prefixCls,De=ge.filterTreeNode,ce=ge.draggable,Oe=ge.keyEntities,se=this.isDisabled(),$=Object(t.f)(oe),ze=Oe[L]||{},re=ze.level,X=F[F.length-1];return o.createElement("div",Object.assign({ref:J,className:i()(O,"".concat(pe,"-treenode"),(S={},Object(_.a)(S,"".concat(pe,"-treenode-disabled"),se),Object(_.a)(S,"".concat(pe,"-treenode-switcher-").concat(j?"open":"close"),!M),Object(_.a)(S,"".concat(pe,"-treenode-checkbox-checked"),V),Object(_.a)(S,"".concat(pe,"-treenode-checkbox-indeterminate"),z),Object(_.a)(S,"".concat(pe,"-treenode-selected"),W),Object(_.a)(S,"".concat(pe,"-treenode-loading"),Y),Object(_.a)(S,"".concat(pe,"-treenode-active"),ie),Object(_.a)(S,"".concat(pe,"-treenode-leaf-last"),X),Object(_.a)(S,"drag-over",!se&&R),Object(_.a)(S,"drag-over-gap-top",!se&&D),Object(_.a)(S,"drag-over-gap-bottom",!se&&B),Object(_.a)(S,"filter-node",De&&De(Object(a.b)(this.props))),S)),style:N,onDragEnter:ce?this.onDragEnter:void 0,onDragOver:ce?this.onDragOver:void 0,onDragLeave:ce?this.onDragLeave:void 0,onDrop:ce?this.onDrop:void 0,onDragEnd:ce?this.onDragEnd:void 0,onMouseMove:Z},$),o.createElement(e,{prefixCls:pe,level:re,isStart:U,isEnd:F}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),T}(o.Component),g=function(E){return o.createElement(n.a.Consumer,null,function(T){return o.createElement(f,Object.assign({},E,{context:T}))})};g.displayName="TreeNode",g.defaultProps={title:h},g.isTreeNode=1;var v=k.a=g},Wqna:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=C.isObject,b=C.each,m=C.map,p=C.indexOf,c=C.retrieve,o=d("+TT/"),r=o.getLayoutRect,i=d("aX7z"),n=i.createScaleByModel,t=i.ifAxisCrossZero,s=i.niceScaleExtent,e=i.estimateLabelUnionRect,a=d("y+lR"),l=d("7AJT"),u=d("IDmD"),h=d("7hqr"),f=h.getStackedDimension;d("jtI2");function g(N,R,D){return N.getCoordSysModel()===R}function v(N,R,D){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(N,R,D),this.model=N}var y=v.prototype;y.type="grid",y.axisPointerEnabled=!0,y.getRect=function(){return this._rect},y.update=function(N,R){var D=this._axesMap;this._updateScale(N,this.model),b(D.x,function(M){s(M.scale,M.model)}),b(D.y,function(M){s(M.scale,M.model)});var B={};b(D.x,function(M){E(D,"y",M,B)}),b(D.y,function(M){E(D,"x",M,B)}),this.resize(this.model,R)};function E(N,R,D,B){D.getAxesOnZeroOf=function(){return U?[U]:[]};var M=N[R],U,F=D.model,j=F.get("axisLine.onZero"),W=F.get("axisLine.onZeroAxisIndex");if(!j)return;if(W!=null)T(M[W])&&(U=M[W]);else for(var V in M)if(M.hasOwnProperty(V)&&T(M[V])&&!B[z(M[V])]){U=M[V];break}U&&(B[z(U)]=!0);function z(Y){return Y.dim+"_"+Y.index}}function T(N){return N&&N.type!=="category"&&N.type!=="time"&&t(N)}y.resize=function(N,R,D){var B=r(N.getBoxLayoutParams(),{width:R.getWidth(),height:R.getHeight()});this._rect=B;var M=this._axesList;U(),!D&&N.get("containLabel")&&(b(M,function(F){if(!F.model.get("axisLabel.inside")){var j=e(F);if(j){var W=F.isHorizontal()?"height":"width",V=F.model.get("axisLabel.margin");B[W]-=j[W]+V,F.position==="top"?B.y+=j.height+V:F.position==="left"&&(B.x+=j.width+V)}}}),U());function U(){b(M,function(F){var j=F.isHorizontal(),W=j?[0,B.width]:[0,B.height],V=F.inverse?1:0;F.setExtent(W[V],W[1-V]),w(F,j?B.x:B.y)})}},y.getAxis=function(N,R){var D=this._axesMap[N];if(D!=null){if(R==null){for(var B in D)if(D.hasOwnProperty(B))return D[B]}return D[R]}},y.getAxes=function(){return this._axesList.slice()},y.getCartesian=function(N,R){if(N!=null&&R!=null){var D="x"+N+"y"+R;return this._coordsMap[D]}A(N)&&(R=N.yAxisIndex,N=N.xAxisIndex);for(var B=0,M=this._coordsList;B<M.length;B++)if(M[B].getAxis("x").index===N||M[B].getAxis("y").index===R)return M[B]},y.getCartesians=function(){return this._coordsList.slice()},y.convertToPixel=function(N,R,D){var B=this._findConvertTarget(N,R);return B.cartesian?B.cartesian.dataToPoint(D):B.axis?B.axis.toGlobalCoord(B.axis.dataToCoord(D)):null},y.convertFromPixel=function(N,R,D){var B=this._findConvertTarget(N,R);return B.cartesian?B.cartesian.pointToData(D):B.axis?B.axis.coordToData(B.axis.toLocalCoord(D)):null},y._findConvertTarget=function(N,R){var D=R.seriesModel,B=R.xAxisModel||D&&D.getReferringComponents("xAxis")[0],M=R.yAxisModel||D&&D.getReferringComponents("yAxis")[0],U=R.gridModel,F=this._coordsList,j,W;if(D)j=D.coordinateSystem,p(F,j)<0&&(j=null);else if(B&&M)j=this.getCartesian(B.componentIndex,M.componentIndex);else if(B)W=this.getAxis("x",B.componentIndex);else if(M)W=this.getAxis("y",M.componentIndex);else if(U){var V=U.coordinateSystem;V===this&&(j=this._coordsList[0])}return{cartesian:j,axis:W}},y.containPoint=function(N){var R=this._coordsList[0];if(R)return R.containPoint(N)},y._initCartesian=function(N,R,D){var B={left:!1,right:!1,top:!1,bottom:!1},M={x:{},y:{}},U={x:0,y:0};if(R.eachComponent("xAxis",F("x"),this),R.eachComponent("yAxis",F("y"),this),!U.x||!U.y){this._axesMap={},this._axesList=[];return}this._axesMap=M,b(M.x,function(j,W){b(M.y,function(V,z){var Y="x"+W+"y"+z,J=new a(Y);J.grid=this,J.model=N,this._coordsMap[Y]=J,this._coordsList.push(J),J.addAxis(j),J.addAxis(V)},this)},this);function F(j){return function(W,V){if(!g(W,N,R))return;var z=W.get("position");j==="x"?z!=="top"&&z!=="bottom"&&(z=B.bottom?"top":"bottom"):z!=="left"&&z!=="right"&&(z=B.left?"right":"left"),B[z]=!0;var Y=new l(j,n(W),[0,0],W.get("type"),z),J=Y.type==="category";Y.onBand=J&&W.get("boundaryGap"),Y.inverse=W.get("inverse"),W.axis=Y,Y.model=W,Y.grid=this,Y.index=V,this._axesList.push(Y),M[j][V]=Y,U[j]++}}},y._updateScale=function(N,R){b(this._axesList,function(B){B.scale.setExtent(Infinity,-Infinity)}),N.eachSeries(function(B){if(L(B)){var M=I(B,N),U=M[0],F=M[1];if(!g(U,R,N)||!g(F,R,N))return;var j=this.getCartesian(U.componentIndex,F.componentIndex),W=B.getData(),V=j.getAxis("x"),z=j.getAxis("y");W.type==="list"&&(D(W,V,B),D(W,z,B))}},this);function D(B,M,U){b(B.mapDimension(M.dim,!0),function(F){M.scale.unionExtentFromData(B,f(B,F))})}},y.getTooltipAxes=function(N){var R=[],D=[];return b(this.getCartesians(),function(B){var M=N!=null&&N!=="auto"?B.getAxis(N):B.getBaseAxis(),U=B.getOtherAxis(M);p(R,M)<0&&R.push(M),p(D,U)<0&&D.push(U)}),{baseAxes:R,otherAxes:D}};function w(N,R){var D=N.getExtent(),B=D[0]+D[1];N.toGlobalCoord=N.dim==="x"?function(M){return M+R}:function(M){return B-M+R},N.toLocalCoord=N.dim==="x"?function(M){return M-R}:function(M){return B-M+R}}var S=["xAxis","yAxis"];function I(N,R){return m(S,function(D){var B=N.getReferringComponents(D)[0];return B})}function L(N){return N.get("coordinateSystem")==="cartesian2d"}v.create=function(N,R){var D=[];return N.eachComponent("grid",function(B,M){var U=new v(B,N,R);U.name="grid_"+M,U.resize(B,R,!0),B.coordinateSystem=U,D.push(U)}),N.eachSeries(function(B){if(!L(B))return;var M=I(B,N),U=M[0],F=M[1],j=U.getCoordSysModel(),W=j.coordinateSystem;B.coordinateSystem=W.getCartesian(U.componentIndex,F.componentIndex)}),D},v.dimensions=v.prototype.dimensions=a.prototype.dimensions,u.register("cartesian2d",v);var O=v;H.exports=O},"X+im":function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("KQeH")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="DownloadOutlined";var c=A.forwardRef(p);k.default=c},"X2/X":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},XAae:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("hwYd"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},XOKv:function(H,k,d){d("OXB0"),d("SA4+")},Xmg4:function(H,k,d){var _=d("bYtY"),x=d("LPTA"),C=x.devicePixelRatio,A=d("K2GJ"),b=d("3C/r");function m(){return!1}function p(r,i,n){var t=_.createCanvas(),s=i.getWidth(),e=i.getHeight(),a=t.style;return a&&(a.position="absolute",a.left=0,a.top=0,a.width=s+"px",a.height=e+"px",t.setAttribute("data-zr-dom-id",r)),t.width=s*n,t.height=e*n,t}var c=function(i,n,t){var s;t=t||C,typeof i=="string"?s=p(i,n,t):_.isObject(i)&&(s=i,i=s.id),this.id=i,this.dom=s;var e=s.style;e&&(s.onselectstart=m,e["-webkit-user-select"]="none",e["user-select"]="none",e["-webkit-touch-callout"]="none",e["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",e.padding=0,e.margin=0,e["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=n,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=t};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 i=this.dpr;this.domBack=p("back-"+this.id,this.painter,i),this.ctxBack=this.domBack.getContext("2d"),i!==1&&this.ctxBack.scale(i,i)},resize:function(i,n){var t=this.dpr,s=this.dom,e=s.style,a=this.domBack;e&&(e.width=i+"px",e.height=n+"px"),s.width=i*t,s.height=n*t,a&&(a.width=i*t,a.height=n*t,t!==1&&this.ctxBack.scale(t,t))},clear:function(i,n){var t=this.dom,s=this.ctx,e=t.width,a=t.height,n=n||this.clearColor,l=this.motionBlur&&!i,u=this.lastFrameAlpha,h=this.dpr;if(l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(t,0,0,e/h,a/h)),s.clearRect(0,0,e,a),n&&n!=="transparent"){var f;n.colorStops?(f=n.__canvasGradient||A.getGradient(s,n,{x:0,y:0,width:e,height:a}),n.__canvasGradient=f):n.image&&(f=b.prototype.getCanvasPattern.call(n,s)),s.save(),s.fillStyle=f||n,s.fillRect(0,0,e,a),s.restore()}if(l){var g=this.domBack;s.save(),s.globalAlpha=u,s.drawImage(g,0,0,e,a),s.restore()}}};var o=c;H.exports=o},Xnb7:function(H,k,d){var _=d("1RvN"),x=new _(50);function C(p){if(typeof p=="string"){var c=x.get(p);return c&&c.image}else return p}function A(p,c,o,r,i){if(p)if(typeof p=="string"){if(c&&c.__zrImageSrc===p||!o)return c;var n=x.get(p),t={hostEl:o,cb:r,cbPayload:i};return n?(c=n.image,!m(c)&&n.pending.push(t)):(c=new Image,c.onload=c.onerror=b,x.put(p,c.__cachedImgObj={image:c,pending:[t]}),c.src=c.__zrImageSrc=p),c}else return p;else return c}function b(){var p=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var c=0;c<p.pending.length;c++){var o=p.pending[c],r=o.cb;r&&r(this,o.cbPayload),o.hostEl.dirty()}p.pending.length=0}function m(p){return p&&p.width&&p.height}k.findExistImage=C,k.createOrUpdateImage=A,k.isImageReady=m},XpcN:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("oVpE"),m=b.createSymbol,p=d("IwbS"),c=d("eRkO"),o=c.makeBackground,r=d("+TT/"),i=A.curry,n=A.each,t=p.Group,s=C.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new t),this._backgroundEl,this.group.add(this._selectorGroup=new t),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(h,f,g){var v=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!h.get("show",!0))return;var y=h.get("align"),E=h.get("orient");(!y||y==="auto")&&(y=h.get("left")==="right"&&E==="vertical"?"right":"left");var T=h.get("selector",!0),w=h.get("selectorPosition",!0);T&&(!w||w==="auto")&&(w=E==="horizontal"?"end":"start"),this.renderInner(y,h,f,g,T,E,w);var S=h.getBoxLayoutParams(),I={width:g.getWidth(),height:g.getHeight()},L=h.get("padding"),O=r.getLayoutRect(S,I,L),N=this.layoutInner(h,y,O,v,T,w),R=r.getLayoutRect(A.defaults({width:N.width,height:N.height},S),I,L);this.group.attr("position",[R.x-N.x,R.y-N.y]),this.group.add(this._backgroundEl=o(N,h))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(h,f,g,v,y,E,T){var w=this.getContentGroup(),S=A.createHashMap(),I=f.get("selectedMode"),L=[];g.eachRawSeries(function(O){!O.get("legendHoverLink")&&L.push(O.id)}),n(f.getData(),function(O,N){var R=O.get("name");if(!this.newlineDisabled&&(R===""||R===`
`)){w.add(new t({newline:!0}));return}var D=g.getSeriesByName(R)[0];if(S.get(R))return;if(D){var B=D.getData(),M=B.getVisual("color"),U=B.getVisual("borderColor");typeof M=="function"&&(M=M(D.getDataParams(0))),typeof U=="function"&&(U=U(D.getDataParams(0)));var F=B.getVisual("legendSymbol")||"roundRect",j=B.getVisual("symbol"),W=this._createItem(R,N,O,f,F,j,h,M,U,I);W.on("click",i(a,R,null,v,L)).on("mouseover",i(l,D.name,null,v,L)).on("mouseout",i(u,D.name,null,v,L)),S.set(R,!0)}else g.eachRawSeries(function(V){if(S.get(R))return;if(V.legendVisualProvider){var z=V.legendVisualProvider;if(!z.containName(R))return;var Y=z.indexOfName(R),J=z.getItemVisual(Y,"color"),ie=z.getItemVisual(Y,"borderColor"),Z="roundRect",oe=this._createItem(R,N,O,f,Z,null,h,J,ie,I);oe.on("click",i(a,null,R,v,L)).on("mouseover",i(l,null,R,v,L)).on("mouseout",i(u,null,R,v,L)),S.set(R,!0)}},this)},this),y&&this._createSelector(y,f,v,E,T)},_createSelector:function(h,f,g,v,y){var E=this.getSelectorGroup();n(h,function(w){T(w)});function T(w){var S=w.type,I=new p.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){g.dispatchAction({type:S==="all"?"legendAllSelect":"legendInverseSelect"})}});E.add(I);var L=f.getModel("selectorLabel"),O=f.getModel("emphasis.selectorLabel");p.setLabelStyle(I.style,I.hoverStyle={},L,O,{defaultText:w.title,isRectText:!1}),p.setHoverStyle(I)}},_createItem:function(h,f,g,v,y,E,T,w,S,I){var L=v.get("itemWidth"),O=v.get("itemHeight"),N=v.get("inactiveColor"),R=v.get("inactiveBorderColor"),D=v.get("symbolKeepAspect"),B=v.getModel("itemStyle"),M=v.isSelected(h),U=new t,F=g.getModel("textStyle"),j=g.get("icon"),W=g.getModel("tooltip"),V=W.parentModel;y=j||y;var z=m(y,0,0,L,O,M?w:N,D==null?!0:D);if(U.add(e(z,y,B,S,R,M)),!j&&E&&(E!==y||E==="none")){var Y=O*.8;E==="none"&&(E="circle");var J=m(E,(L-Y)/2,(O-Y)/2,Y,Y,M?w:N,D==null?!0:D);U.add(e(J,E,B,S,R,M))}var ie=T==="left"?L+5:-5,Z=T,oe=v.get("formatter"),ge=h;typeof oe=="string"&&oe?ge=oe.replace("{name}",h!=null?h:""):typeof oe=="function"&&(ge=oe(h)),U.add(new p.Text({style:p.setTextStyle({},F,{text:ge,x:ie,y:O/2,textFill:M?F.getTextColor():N,textAlign:Z,textVerticalAlign:"middle"})}));var pe=new p.Rect({shape:U.getBoundingRect(),invisible:!0,tooltip:W.get("show")?A.extend({content:h,formatter:V.get("formatter",!0)||function(){return h},formatterParams:{componentType:"legend",legendIndex:v.componentIndex,name:h,$vars:["name"]}},W.option):null});return U.add(pe),U.eachChild(function(De){De.silent=!0}),pe.silent=!I,this.getContentGroup().add(U),p.setHoverStyle(U),U.__legendDataIndex=f,U},layoutInner:function(h,f,g,v,y,E){var T=this.getContentGroup(),w=this.getSelectorGroup();r.box(h.get("orient"),T,h.get("itemGap"),g.width,g.height);var S=T.getBoundingRect(),I=[-S.x,-S.y];if(y){r.box("horizontal",w,h.get("selectorItemGap",!0));var L=w.getBoundingRect(),O=[-L.x,-L.y],N=h.get("selectorButtonGap",!0),R=h.getOrient().index,D=R===0?"width":"height",B=R===0?"height":"width",M=R===0?"y":"x";E==="end"?O[R]+=S[D]+N:I[R]+=L[D]+N,O[1-R]+=S[B]/2-L[B]/2,w.attr("position",O),T.attr("position",I);var U={x:0,y:0};return U[D]=S[D]+N+L[D],U[B]=Math.max(S[B],L[B]),U[M]=Math.min(0,L[M]+O[1-R]),U}else return T.attr("position",I),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function e(h,f,g,v,y,E){var T;return f!=="line"&&f.indexOf("empty")<0?(T=g.getItemStyle(),h.style.stroke=v,E||(T.stroke=y)):T=g.getItemStyle(["borderWidth","borderColor"]),h.setStyle(T)}function a(h,f,g,v){u(h,f,g,v),g.dispatchAction({type:"legendToggleSelect",name:h!=null?h:f}),l(h,f,g,v)}function l(h,f,g,v){var y=g.getZr().storage.getDisplayList()[0];y&&y.useHoverLayer||g.dispatchAction({type:"highlight",seriesName:h,name:f,excludeSeriesId:v})}function u(h,f,g,v){var y=g.getZr().storage.getDisplayList()[0];y&&y.useHoverLayer||g.dispatchAction({type:"downplay",seriesName:h,name:f,excludeSeriesId:v})}H.exports=s},XuBP:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},XxSj:function(H,k,d){var _=d("bYtY"),x=d("Qe9p"),C=d("OELB"),A=C.linearMap,b=_.each,m=_.isObject,p=-1,c=function(E){var T=E.mappingMethod,w=E.type,S=this.option=_.clone(E);this.type=w,this.mappingMethod=T,this._normalizeData=g[T];var I=o[w];this.applyVisual=I.applyVisual,this.getColorMapper=I.getColorMapper,this._doMap=I._doMap[T],T==="piecewise"?(n(S),r(S)):T==="category"?S.categories?i(S):n(S,!0):(_.assert(T!=="linear"||S.dataExtent),n(S))};c.prototype={constructor:c,mapValueToVisual:function(E){var T=this._normalizeData(E);return this._doMap(T,E)},getNormalizer:function(){return _.bind(this._normalizeData,this)}};var o=c.visualHandlers={color:{applyVisual:e("color"),getColorMapper:function(){var E=this.option;return _.bind(E.mappingMethod==="category"?function(T,w){return!w&&(T=this._normalizeData(T)),a.call(this,T)}:function(T,w,S){var I=!!S;return!w&&(T=this._normalizeData(T)),S=x.fastLerp(T,E.parsedVisual,S),I?S:x.stringify(S,"rgba")},this)},_doMap:{linear:function(E){return x.stringify(x.fastLerp(E,this.option.parsedVisual),"rgba")},category:a,piecewise:function(E,T){var w=h.call(this,T);return w==null&&(w=x.stringify(x.fastLerp(E,this.option.parsedVisual),"rgba")),w},fixed:l}},colorHue:t(function(E,T){return x.modifyHSL(E,T)}),colorSaturation:t(function(E,T){return x.modifyHSL(E,null,T)}),colorLightness:t(function(E,T){return x.modifyHSL(E,null,null,T)}),colorAlpha:t(function(E,T){return x.modifyAlpha(E,T)}),opacity:{applyVisual:e("opacity"),_doMap:u([0,1])},liftZ:{applyVisual:e("liftZ"),_doMap:{linear:l,category:l,piecewise:l,fixed:l}},symbol:{applyVisual:function(E,T,w){var S=this.mapValueToVisual(E);if(_.isString(S))w("symbol",S);else if(m(S))for(var I in S)S.hasOwnProperty(I)&&w(I,S[I])},_doMap:{linear:s,category:a,piecewise:function(E,T){var w=h.call(this,T);return w==null&&(w=s.call(this,E)),w},fixed:l}},symbolSize:{applyVisual:e("symbolSize"),_doMap:u([0,1])}};function r(E){var T=E.pieceList;E.hasSpecialVisual=!1,_.each(T,function(w,S){w.originIndex=S,w.visual!=null&&(E.hasSpecialVisual=!0)})}function i(E){var T=E.categories,w=E.visual,S=E.categoryMap={};if(b(T,function(O,N){S[O]=N}),!_.isArray(w)){var I=[];_.isObject(w)?b(w,function(O,N){var R=S[N];I[R!=null?R:p]=O}):I[p]=w,w=f(E,I)}for(var L=T.length-1;L>=0;L--)w[L]==null&&(delete S[T[L]],T.pop())}function n(E,T){var w=E.visual,S=[];_.isObject(w)?b(w,function(L){S.push(L)}):w!=null&&S.push(w);var I={color:1,symbol:1};!T&&S.length===1&&!I.hasOwnProperty(E.type)&&(S[1]=S[0]),f(E,S)}function t(E){return{applyVisual:function(T,w,S){T=this.mapValueToVisual(T),S("color",E(w("color"),T))},_doMap:u([0,1])}}function s(E){var T=this.option.visual;return T[Math.round(A(E,[0,1],[0,T.length-1],!0))]||{}}function e(E){return function(T,w,S){S(E,this.mapValueToVisual(T))}}function a(E){var T=this.option.visual;return T[this.option.loop&&E!==p?E%T.length:E]}function l(){return this.option.visual[0]}function u(E){return{linear:function(T){return A(T,E,this.option.visual,!0)},category:a,piecewise:function(T,w){var S=h.call(this,w);return S==null&&(S=A(T,E,this.option.visual,!0)),S},fixed:l}}function h(E){var T=this.option,w=T.pieceList;if(T.hasSpecialVisual){var S=c.findPieceIndex(E,w),I=w[S];if(I&&I.visual)return I.visual[this.type]}}function f(E,T){return E.visual=T,E.type==="color"&&(E.parsedVisual=_.map(T,function(w){return x.parse(w)})),T}var g={linear:function(E){return A(E,this.option.dataExtent,[0,1],!0)},piecewise:function(E){var T=this.option.pieceList,w=c.findPieceIndex(E,T,!0);if(w!=null)return A(w,[0,T.length-1],[0,1],!0)},category:function(E){var T=this.option.categories?this.option.categoryMap[E]:E;return T==null?p:T},fixed:_.noop};c.listVisualTypes=function(){var E=[];return _.each(o,function(T,w){E.push(w)}),E},c.addVisualHandler=function(E,T){o[E]=T},c.isValidType=function(E){return o.hasOwnProperty(E)},c.eachVisual=function(E,T,w){_.isObject(E)?_.each(E,T,w):T.call(w,E)},c.mapVisual=function(E,T,w){var S,I=_.isArray(E)?[]:_.isObject(E)?{}:(S=!0,null);return c.eachVisual(E,function(L,O){var N=T.call(w,L,O);S?I=N:I[O]=N}),I},c.retrieveVisuals=function(E){var T={},w;return E&&b(o,function(S,I){E.hasOwnProperty(I)&&(T[I]=E[I],w=!0)}),w?T:null},c.prepareVisualTypes=function(E){if(m(E)){var T=[];b(E,function(w,S){T.push(S)}),E=T}else if(_.isArray(E))E=E.slice();else return[];return E.sort(function(w,S){return S==="color"&&w!=="color"&&w.indexOf("color")===0?1:-1}),E},c.dependsOn=function(E,T){return T==="color"?!!(E&&E.indexOf(T)===0):E===T},c.findPieceIndex=function(E,T,w){for(var S,I=Infinity,L=0,O=T.length;L<O;L++){var N=T[L].value;if(N!=null){if(N===E||typeof N=="string"&&N===E+"")return L;w&&M(N,L)}}for(var L=0,O=T.length;L<O;L++){var R=T[L],D=R.interval,B=R.close;if(D){if(D[0]===-Infinity){if(v(B[1],E,D[1]))return L}else if(D[1]===Infinity){if(v(B[0],D[0],E))return L}else if(v(B[0],D[0],E)&&v(B[1],E,D[1]))return L;w&&M(D[0],L),w&&M(D[1],L)}}if(w)return E===Infinity?T.length-1:E===-Infinity?0:S;function M(U,F){var j=Math.abs(U-E);j<I&&(I=j,S=F)}};function v(E,T,w){return E?T<=w:T<w}var y=c;H.exports=y},XzQk:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("KpQ+"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},Y1PL:function(H,k,d){"use strict";d.r(k),d.d(k,"ResizableTextArea",function(){return z});var _=d("wx14"),x=d("1OyB"),C=d("vuIU"),A=d("Ji7U"),b=d("LK+K"),m=d("q1tI"),p=d("VTBJ"),c=d("rePB"),o=d("Zm9Q"),r=d("Kwbf"),i=d("c+Xe"),n=d("m+aA"),t=d("bdgK"),s=new Map;function e(ie){ie.forEach(function(Z){var oe,ge=Z.target;(oe=s.get(ge))===null||oe===void 0||oe.forEach(function(pe){return pe(ge)})})}var a=new t.default(e),l=null,u=null;function h(ie,Z){s.has(ie)||(s.set(ie,new Set),a.observe(ie)),s.get(ie).add(Z)}function f(ie,Z){s.has(ie)&&(s.get(ie).delete(Z),s.get(ie).size||(a.unobserve(ie),s.delete(ie)))}var g=function(ie){Object(A.a)(oe,ie);var Z=Object(b.a)(oe);function oe(){return Object(x.a)(this,oe),Z.apply(this,arguments)}return Object(C.a)(oe,[{key:"render",value:function(){return this.props.children}}]),oe}(m.Component),v=m.createContext(null);function y(ie){var Z=ie.children,oe=ie.onBatchResize,ge=m.useRef(0),pe=m.useRef([]),De=m.useContext(v),ce=m.useCallback(function(Oe,se,$){ge.current+=1;var ze=ge.current;pe.current.push({size:Oe,element:se,data:$}),Promise.resolve().then(function(){ze===ge.current&&(oe==null||oe(pe.current),pe.current=[])}),De==null||De(Oe,se,$)},[oe,De]);return m.createElement(v.Provider,{value:ce},Z)}function E(ie){var Z=ie.children,oe=ie.disabled,ge=m.useRef(null),pe=m.useRef(null),De=m.useContext(v),ce=typeof Z=="function",Oe=ce?Z(ge):Z,se=m.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),$=!ce&&m.isValidElement(Oe)&&Object(i.c)(Oe),ze=$?Oe.ref:null,re=m.useMemo(function(){return Object(i.a)(ze,ge)},[ze,ge]),X=m.useRef(ie);X.current=ie;var G=m.useCallback(function(Q){var ve=X.current,de=ve.onResize,Ce=ve.data,we=Q.getBoundingClientRect(),le=we.width,fe=we.height,xe=Q.offsetWidth,We=Q.offsetHeight,nt=Math.floor(le),$e=Math.floor(fe);if(se.current.width!==nt||se.current.height!==$e||se.current.offsetWidth!==xe||se.current.offsetHeight!==We){var Le={width:nt,height:$e,offsetWidth:xe,offsetHeight:We};se.current=Le;var pt=xe===Math.round(le)?le:xe,Qe=We===Math.round(fe)?fe:We,gt=Object(p.a)(Object(p.a)({},Le),{},{offsetWidth:pt,offsetHeight:Qe});De==null||De(gt,Q,Ce),de&&Promise.resolve().then(function(){de(gt,Q)})}},[]);return m.useEffect(function(){var Q=Object(n.a)(ge.current)||Object(n.a)(pe.current);return Q&&!oe&&h(Q,G),function(){return f(Q,G)}},[ge.current,oe]),m.createElement(g,{ref:pe},$?m.cloneElement(Oe,{ref:re}):Oe)}var T="rc-observer-key";function w(ie){var Z=ie.children,oe=typeof Z=="function"?[Z]:Object(o.a)(Z);return oe.map(function(ge,pe){var De=(ge==null?void 0:ge.key)||"".concat(T,"-").concat(pe);return m.createElement(E,Object(_.a)({},ie,{key:De}),ge)})}w.Collection=y;var S=w,I=d("bT9E"),L=d("TSYQ"),O=d.n(L),N=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important
`,R=["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"],D={},B;function M(ie){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=ie.getAttribute("id")||ie.getAttribute("data-reactid")||ie.getAttribute("name");if(Z&&D[oe])return D[oe];var ge=window.getComputedStyle(ie),pe=ge.getPropertyValue("box-sizing")||ge.getPropertyValue("-moz-box-sizing")||ge.getPropertyValue("-webkit-box-sizing"),De=parseFloat(ge.getPropertyValue("padding-bottom"))+parseFloat(ge.getPropertyValue("padding-top")),ce=parseFloat(ge.getPropertyValue("border-bottom-width"))+parseFloat(ge.getPropertyValue("border-top-width")),Oe=R.map(function($){return"".concat($,":").concat(ge.getPropertyValue($))}).join(";"),se={sizingStyle:Oe,paddingSize:De,borderSize:ce,boxSizing:pe};return Z&&oe&&(D[oe]=se),se}function U(ie){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;B||(B=document.createElement("textarea"),B.setAttribute("tab-index","-1"),B.setAttribute("aria-hidden","true"),document.body.appendChild(B)),ie.getAttribute("wrap")?B.setAttribute("wrap",ie.getAttribute("wrap")):B.removeAttribute("wrap");var pe=M(ie,Z),De=pe.paddingSize,ce=pe.borderSize,Oe=pe.boxSizing,se=pe.sizingStyle;B.setAttribute("style","".concat(se,";").concat(N)),B.value=ie.value||ie.placeholder||"";var $=Number.MIN_SAFE_INTEGER,ze=Number.MAX_SAFE_INTEGER,re=B.scrollHeight,X;if(Oe==="border-box"?re+=ce:Oe==="content-box"&&(re-=De),oe!==null||ge!==null){B.value=" ";var G=B.scrollHeight-De;oe!==null&&($=G*oe,Oe==="border-box"&&($=$+De+ce),re=Math.max($,re)),ge!==null&&(ze=G*ge,Oe==="border-box"&&(ze=ze+De+ce),X=re>ze?"":"hidden",re=Math.min(ze,re))}return{height:re,minHeight:$,maxHeight:ze,overflowY:X,resize:"none"}}var F=d("Gytx"),j=d.n(F),W;(function(ie){ie[ie.NONE=0]="NONE",ie[ie.RESIZING=1]="RESIZING",ie[ie.RESIZED=2]="RESIZED"})(W||(W={}));var V=function(ie){Object(A.a)(oe,ie);var Z=Object(b.a)(oe);function oe(ge){var pe;return Object(x.a)(this,oe),pe=Z.call(this,ge),pe.nextFrameActionId=void 0,pe.resizeFrameId=void 0,pe.textArea=void 0,pe.saveTextArea=function(De){pe.textArea=De},pe.handleResize=function(De){var ce=pe.state.resizeStatus,Oe=pe.props,se=Oe.autoSize,$=Oe.onResize;if(ce!==W.NONE)return;typeof $=="function"&&$(De),se&&pe.resizeOnNextFrame()},pe.resizeOnNextFrame=function(){cancelAnimationFrame(pe.nextFrameActionId),pe.nextFrameActionId=requestAnimationFrame(pe.resizeTextarea)},pe.resizeTextarea=function(){var De=pe.props.autoSize;if(!De||!pe.textArea)return;var ce=De.minRows,Oe=De.maxRows,se=U(pe.textArea,!1,ce,Oe);pe.setState({textareaStyles:se,resizeStatus:W.RESIZING},function(){cancelAnimationFrame(pe.resizeFrameId),pe.resizeFrameId=requestAnimationFrame(function(){pe.setState({resizeStatus:W.RESIZED},function(){pe.resizeFrameId=requestAnimationFrame(function(){pe.setState({resizeStatus:W.NONE}),pe.fixFirefoxAutoScroll()})})})})},pe.renderTextArea=function(){var De=pe.props,ce=De.prefixCls,Oe=ce===void 0?"rc-textarea":ce,se=De.autoSize,$=De.onResize,ze=De.className,re=De.disabled,X=pe.state,G=X.textareaStyles,Q=X.resizeStatus,ve=Object(I.a)(pe.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),de=O()(Oe,ze,Object(c.a)({},"".concat(Oe,"-disabled"),re));"value"in ve&&(ve.value=ve.value||"");var Ce=Object(p.a)(Object(p.a)(Object(p.a)({},pe.props.style),G),Q===W.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return m.createElement(S,{onResize:pe.handleResize,disabled:!(se||$)},m.createElement("textarea",Object(_.a)({},ve,{className:de,style:Ce,ref:pe.saveTextArea})))},pe.state={textareaStyles:{},resizeStatus:W.NONE},pe}return Object(C.a)(oe,[{key:"componentDidUpdate",value:function(pe){(pe.value!==this.props.value||!j()(pe.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 pe=this.textArea.selectionStart,De=this.textArea.selectionEnd;this.textArea.setSelectionRange(pe,De)}}catch(ce){}}},{key:"render",value:function(){return this.renderTextArea()}}]),oe}(m.Component),z=V,Y=function(ie){Object(A.a)(oe,ie);var Z=Object(b.a)(oe);function oe(ge){var pe;Object(x.a)(this,oe),pe=Z.call(this,ge),pe.resizableTextArea=void 0,pe.focus=function(){pe.resizableTextArea.textArea.focus()},pe.saveTextArea=function(ce){pe.resizableTextArea=ce},pe.handleChange=function(ce){var Oe=pe.props.onChange;pe.setValue(ce.target.value,function(){pe.resizableTextArea.resizeTextarea()}),Oe&&Oe(ce)},pe.handleKeyDown=function(ce){var Oe=pe.props,se=Oe.onPressEnter,$=Oe.onKeyDown;ce.keyCode===13&&se&&se(ce),$&&$(ce)};var De=typeof ge.value=="undefined"||ge.value===null?ge.defaultValue:ge.value;return pe.state={value:De},pe}return Object(C.a)(oe,[{key:"setValue",value:function(pe,De){"value"in this.props||this.setState({value:pe},De)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return m.createElement(z,Object(_.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(pe){return"value"in pe?{value:pe.value}:null}}]),oe}(m.Component),J=k.default=Y},YH21:function(H,k,d){var _=d("H6uX");k.Dispatcher=_;var x=d("ItGF"),C=d("Ze12"),A=C.isCanvasEl,b=C.transformCoordWithViewport,m=typeof window!="undefined"&&!!window.addEventListener,p=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function o(u,h,f,g){return f=f||{},g||!x.canvasSupported?r(u,h,f):x.browser.firefox&&h.layerX!=null&&h.layerX!==h.offsetX?(f.zrX=h.layerX,f.zrY=h.layerY):h.offsetX!=null?(f.zrX=h.offsetX,f.zrY=h.offsetY):r(u,h,f),f}function r(u,h,f){if(x.domSupported&&u.getBoundingClientRect){var g=h.clientX,v=h.clientY;if(A(u)){var y=u.getBoundingClientRect();f.zrX=g-y.left,f.zrY=v-y.top;return}else if(b(c,u,g,v)){f.zrX=c[0],f.zrY=c[1];return}}f.zrX=f.zrY=0}function i(u){return u||window.event}function n(u,h,f){if(h=i(h),h.zrX!=null)return h;var g=h.type,v=g&&g.indexOf("touch")>=0;if(!v)o(u,h,h,f),h.zrDelta=h.wheelDelta?h.wheelDelta/120:-(h.detail||0)/3;else{var y=g!=="touchend"?h.targetTouches[0]:h.changedTouches[0];y&&o(u,y,h,f)}var E=h.button;return h.which==null&&E!==void 0&&p.test(h.type)&&(h.which=E&1?1:E&2?3:E&4?2:0),h}function t(u,h,f,g){m?u.addEventListener(h,f,g):u.attachEvent("on"+h,f)}function s(u,h,f,g){m?u.removeEventListener(h,f,g):u.detachEvent("on"+h,f)}var e=m?function(u){u.preventDefault(),u.stopPropagation(),u.cancelBubble=!0}:function(u){u.returnValue=!1,u.cancelBubble=!0};function a(u){return u.which===2||u.which===3}function l(u){return u.which>1}k.clientToLocal=o,k.getNativeEvent=i,k.normalizeEvent=n,k.addEventListener=t,k.removeEventListener=s,k.stop=e,k.isMiddleOrRightButtonOnMouseUpDown=a,k.notLeftMouse=l},YJ9k:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;function _(b,m){if(!(b instanceof m))throw new TypeError("Cannot call a class as a function")}function x(b,m){for(var p=0;p<m.length;p++){var c=m[p];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(b,c.key,c)}}function C(b,m,p){return m&&x(b.prototype,m),p&&x(b,p),b}var A=function(){function b(){_(this,b),this._listeners=new Map}return C(b,[{key:"addEventListener",value:function(p,c){this._listeners.has(p)||this._listeners.set(p,new Set),this._listeners.get(p).add(c)}},{key:"removeEventListener",value:function(p,c){this._listeners.has(p)&&this._listeners.get(p).delete(c)}},{key:"dispatchEvent",value:function(p){var c=this;return this._listeners.has(p.type)?(this._listeners.get(p.type).forEach(function(o){return o.call(c,p)}),!p.defaultPrevented):!0}}]),b}();k.default=A},YJCA:function(H,k,d){"use strict";d.d(k,"a",function(){return Q}),d.d(k,"b",function(){return Ce});var _=d("wx14"),x=d("ODXe"),C=d("vpQ4"),A=d("1OyB"),b=d("vuIU"),m=d("md7G"),p=d("foSv"),c=d("Ji7U"),o=d("JX7q"),r=d("rePB"),i=d("q1tI"),n=d.n(i),t=d("17x9"),s=d.n(t),e=d("i8i4"),a=d.n(e),l=d("QLaP"),u=d.n(l),h=d("KQm4"),f=function(){function we(){Object(A.a)(this,we),Object(r.a)(this,"refs",{})}return Object(b.a)(we,[{key:"add",value:function(fe,xe){this.refs[fe]||(this.refs[fe]=[]),this.refs[fe].push(xe)}},{key:"remove",value:function(fe,xe){var We=this.getIndex(fe,xe);We!==-1&&this.refs[fe].splice(We,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var fe=this;return this.refs[this.active.collection].find(function(xe){var We=xe.node;return We.sortableInfo.index==fe.active.index})}},{key:"getIndex",value:function(fe,xe){return this.refs[fe].indexOf(xe)}},{key:"getOrderedRefs",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[fe].sort(g)}}]),we}();function g(we,le){var fe=we.node.sortableInfo.index,xe=le.node.sortableInfo.index;return fe-xe}function v(we,le,fe){return we=we.slice(),we.splice(fe<0?we.length+fe:fe,0,we.splice(le,1)[0]),we}function y(we,le){return Object.keys(we).reduce(function(fe,xe){return le.indexOf(xe)===-1&&(fe[xe]=we[xe]),fe},{})}var E={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var we=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],le=(Array.prototype.slice.call(we).join("").match(/-(moz|webkit|ms)-/)||we.OLink===""&&["","o"])[1];switch(le){case"ms":return"ms";default:return le&&le.length?le[0].toUpperCase()+le.substr(1):""}}();function w(we,le){Object.keys(le).forEach(function(fe){we.style[fe]=le[fe]})}function S(we,le){we.style["".concat(T,"Transform")]=le==null?"":"translate3d(".concat(le.x,"px,").concat(le.y,"px,0)")}function I(we,le){we.style["".concat(T,"TransitionDuration")]=le==null?"":"".concat(le,"ms")}function L(we,le){for(;we;){if(le(we))return we;we=we.parentNode}return null}function O(we,le,fe){return Math.max(we,Math.min(fe,le))}function N(we){return we.substr(-2)==="px"?parseFloat(we):0}function R(we){var le=window.getComputedStyle(we);return{bottom:N(le.marginBottom),left:N(le.marginLeft),right:N(le.marginRight),top:N(le.marginTop)}}function D(we,le){var fe=le.displayName||le.name;return fe?"".concat(we,"(").concat(fe,")"):we}function B(we,le){var fe=we.getBoundingClientRect();return{top:fe.top+le.top,left:fe.left+le.left}}function M(we){return we.touches&&we.touches.length?{x:we.touches[0].pageX,y:we.touches[0].pageY}:we.changedTouches&&we.changedTouches.length?{x:we.changedTouches[0].pageX,y:we.changedTouches[0].pageY}:{x:we.pageX,y:we.pageY}}function U(we){return we.touches&&we.touches.length||we.changedTouches&&we.changedTouches.length}function F(we,le){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!we)return;var xe={left:fe.left+we.offsetLeft,top:fe.top+we.offsetTop};return we.parentNode===le?xe:F(we.parentNode,le,xe)}function j(we,le,fe){return we<fe&&we>le?we-1:we>fe&&we<le?we+1:we}function W(we){var le=we.lockOffset,fe=we.width,xe=we.height,We=le,nt=le,$e="px";if(typeof le=="string"){var Le=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(le);u()(Le!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',le),We=parseFloat(le),nt=parseFloat(le),$e=Le[1]}return u()(isFinite(We)&&isFinite(nt),"lockOffset value should be a finite. Given %s",le),$e==="%"&&(We=We*fe/100,nt=nt*xe/100),{x:We,y:nt}}function V(we){var le=we.height,fe=we.width,xe=we.lockOffset,We=Array.isArray(xe)?xe:[xe,xe];u()(We.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",xe);var nt=Object(x.a)(We,2),$e=nt[0],Le=nt[1];return[W({height:le,lockOffset:$e,width:fe}),W({height:le,lockOffset:Le,width:fe})]}function z(we){var le=window.getComputedStyle(we),fe=/(auto|scroll)/,xe=["overflow","overflowX","overflowY"];return xe.find(function(We){return fe.test(le[We])})}function Y(we){return we instanceof HTMLElement?z(we)?we:Y(we.parentNode):null}function J(we){var le=window.getComputedStyle(we);return le.display==="grid"?{x:N(le.gridColumnGap),y:N(le.gridRowGap)}:{x:0,y:0}}var ie={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},Z={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function oe(we){var le="input, textarea, select, canvas, [contenteditable]",fe=we.querySelectorAll(le),xe=we.cloneNode(!0),We=Object(h.a)(xe.querySelectorAll(le));return We.forEach(function(nt,$e){if(nt.type!=="file"&&(nt.value=fe[$e].value),nt.type==="radio"&&nt.name&&(nt.name="__sortableClone__".concat(nt.name)),nt.tagName===Z.Canvas&&fe[$e].width>0&&fe[$e].height>0){var Le=nt.getContext("2d");Le.drawImage(fe[$e],0,0)}}),xe}function ge(we){var le,fe,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=le=function(We){Object(c.a)(nt,We);function nt(){return Object(A.a)(this,nt),Object(m.a)(this,Object(p.a)(nt).apply(this,arguments))}return Object(b.a)(nt,[{key:"componentDidMount",value:function(){var Le=Object(e.findDOMNode)(this);Le.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return u()(xe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Le=xe.withRef?"wrappedInstance":null;return Object(i.createElement)(we,Object(_.a)({ref:Le},this.props))}}]),nt}(i.Component),Object(r.a)(le,"displayName",D("sortableHandle",we)),fe}function pe(we){return we.sortableHandle!=null}var De=function(){function we(le,fe){Object(A.a)(this,we),this.container=le,this.onScrollCallback=fe}return Object(b.a)(we,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(fe){var xe=this,We=fe.translate,nt=fe.minTranslate,$e=fe.maxTranslate,Le=fe.width,pt=fe.height,Qe={x:0,y:0},gt={x:1,y:1},wt={x:10,y:10},Et=this.container,_t=Et.scrollTop,Ht=Et.scrollLeft,Ze=Et.scrollHeight,ye=Et.scrollWidth,ae=Et.clientHeight,yt=Et.clientWidth,et=_t===0,me=Ze-_t-ae===0,Gt=Ht===0,rr=ye-Ht-yt===0;We.y>=$e.y-pt/2&&!me?(Qe.y=1,gt.y=wt.y*Math.abs(($e.y-pt/2-We.y)/pt)):We.x>=$e.x-Le/2&&!rr?(Qe.x=1,gt.x=wt.x*Math.abs(($e.x-Le/2-We.x)/Le)):We.y<=nt.y+pt/2&&!et?(Qe.y=-1,gt.y=wt.y*Math.abs((We.y-pt/2-nt.y)/pt)):We.x<=nt.x+Le/2&&!Gt&&(Qe.x=-1,gt.x=wt.x*Math.abs((We.x-Le/2-nt.x)/Le)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Qe.x!==0||Qe.y!==0)&&(this.interval=setInterval(function(){xe.isAutoScrolling=!0;var ut={left:gt.x*Qe.x,top:gt.y*Qe.y};xe.container.scrollTop+=ut.top,xe.container.scrollLeft+=ut.left,xe.onScrollCallback(ut)},5))}}]),we}();function ce(we){var le=we.node;return{height:le.offsetHeight,width:le.offsetWidth}}function Oe(we){var le=[Z.Input,Z.Textarea,Z.Select,Z.Option,Z.Button];return le.indexOf(we.target.tagName)!==-1?!0:!!L(we.target,function(fe){return fe.contentEditable==="true"})}var se={axis:s.a.oneOf(["x","y","xy"]),contentWindow:s.a.any,disableAutoscroll:s.a.bool,distance:s.a.number,getContainer:s.a.func,getHelperDimensions:s.a.func,helperClass:s.a.string,helperContainer:s.a.oneOfType([s.a.func,typeof HTMLElement=="undefined"?s.a.any:s.a.instanceOf(HTMLElement)]),hideSortableGhost:s.a.bool,keyboardSortingTransitionDuration:s.a.number,lockAxis:s.a.string,lockOffset:s.a.oneOfType([s.a.number,s.a.string,s.a.arrayOf(s.a.oneOfType([s.a.number,s.a.string]))]),lockToContainerEdges:s.a.bool,onSortEnd:s.a.func,onSortMove:s.a.func,onSortOver:s.a.func,onSortStart:s.a.func,pressDelay:s.a.number,pressThreshold:s.a.number,keyCodes:s.a.shape({lift:s.a.arrayOf(s.a.number),drop:s.a.arrayOf(s.a.number),cancel:s.a.arrayOf(s.a.number),up:s.a.arrayOf(s.a.number),down:s.a.arrayOf(s.a.number)}),shouldCancelStart:s.a.func,transitionDuration:s.a.number,updateBeforeSortStart:s.a.func,useDragHandle:s.a.bool,useWindowAsScrollContainer:s.a.bool},$={lift:[ie.SPACE],drop:[ie.SPACE],cancel:[ie.ESC],up:[ie.UP,ie.LEFT],down:[ie.DOWN,ie.RIGHT]},ze={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:ce,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:$,shouldCancelStart:Oe,transitionDuration:300,useWindowAsScrollContainer:!1},re=Object.keys(se);function X(we){u()(!(we.distance&&we.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 G(we,le){try{var fe=we()}catch(xe){return le(!0,xe)}return fe&&fe.then?fe.then(le.bind(null,!1),le.bind(null,!0)):le(!1,value)}function Q(we){var le,fe,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=le=function(We){Object(c.a)(nt,We);function nt($e){var Le;return Object(A.a)(this,nt),Le=Object(m.a)(this,Object(p.a)(nt).call(this,$e)),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"state",{}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"handleStart",function(pt){var Qe=Le.props,gt=Qe.distance,wt=Qe.shouldCancelStart;if(pt.button===2||wt(pt))return;Le.touched=!0,Le.position=M(pt);var Et=L(pt.target,function(yt){return yt.sortableInfo!=null});if(Et&&Et.sortableInfo&&Le.nodeIsChild(Et)&&!Le.state.sorting){var _t=Le.props.useDragHandle,Ht=Et.sortableInfo,Ze=Ht.index,ye=Ht.collection,ae=Ht.disabled;if(ae)return;if(_t&&!L(pt.target,pe))return;Le.manager.active={collection:ye,index:Ze},!U(pt)&&pt.target.tagName===Z.Anchor&&pt.preventDefault(),gt||(Le.props.pressDelay===0?Le.handlePress(pt):Le.pressTimer=setTimeout(function(){return Le.handlePress(pt)},Le.props.pressDelay))}}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"nodeIsChild",function(pt){return pt.sortableInfo.manager===Le.manager}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"handleMove",function(pt){var Qe=Le.props,gt=Qe.distance,wt=Qe.pressThreshold;if(!Le.state.sorting&&Le.touched&&!Le._awaitingUpdateBeforeSortStart){var Et=M(pt),_t={x:Le.position.x-Et.x,y:Le.position.y-Et.y},Ht=Math.abs(_t.x)+Math.abs(_t.y);Le.delta=_t,!gt&&(!wt||Ht>=wt)?(clearTimeout(Le.cancelTimer),Le.cancelTimer=setTimeout(Le.cancel,0)):gt&&Ht>=gt&&Le.manager.isActive()&&Le.handlePress(pt)}}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"handleEnd",function(){Le.touched=!1,Le.cancel()}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"cancel",function(){var pt=Le.props.distance,Qe=Le.state.sorting;Qe||(pt||clearTimeout(Le.pressTimer),Le.manager.active=null)}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"handlePress",function(pt){try{var Qe=Le.manager.getActive(),gt=function(){if(Qe){var wt=function(){var ur=me.sortableInfo.index,Fr=R(me),er=J(Le.container),nr=Le.scrollContainer.getBoundingClientRect(),Lt=Ht({index:ur,node:me,collection:Gt});if(Le.node=me,Le.margin=Fr,Le.gridGap=er,Le.width=Lt.width,Le.height=Lt.height,Le.marginOffset={x:Le.margin.left+Le.margin.right+Le.gridGap.x,y:Math.max(Le.margin.top,Le.margin.bottom,Le.gridGap.y)},Le.boundingClientRect=me.getBoundingClientRect(),Le.containerBoundingRect=nr,Le.index=ur,Le.newIndex=ur,Le.axis={x:_t.indexOf("x")>=0,y:_t.indexOf("y")>=0},Le.offsetEdge=F(me,Le.container),rr?Le.initialOffset=M(Object(C.a)({},pt,{pageX:Le.boundingClientRect.left,pageY:Le.boundingClientRect.top})):Le.initialOffset=M(pt),Le.initialScroll={left:Le.scrollContainer.scrollLeft,top:Le.scrollContainer.scrollTop},Le.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Le.helper=Le.helperContainer.appendChild(oe(me)),w(Le.helper,{boxSizing:"border-box",height:"".concat(Le.height,"px"),left:"".concat(Le.boundingClientRect.left-Fr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Le.boundingClientRect.top-Fr.top,"px"),width:"".concat(Le.width,"px")}),rr&&Le.helper.focus(),ye&&(Le.sortableGhost=me,w(me,{opacity:0,visibility:"hidden"})),Le.minTranslate={},Le.maxTranslate={},rr){var at=et?{top:0,left:0,width:Le.contentWindow.innerWidth,height:Le.contentWindow.innerHeight}:Le.containerBoundingRect,Je=at.top,qt=at.left,Sr=at.width,yr=at.height,fr=Je+yr,yn=qt+Sr;Le.axis.x&&(Le.minTranslate.x=qt-Le.boundingClientRect.left,Le.maxTranslate.x=yn-(Le.boundingClientRect.left+Le.width)),Le.axis.y&&(Le.minTranslate.y=Je-Le.boundingClientRect.top,Le.maxTranslate.y=fr-(Le.boundingClientRect.top+Le.height))}else Le.axis.x&&(Le.minTranslate.x=(et?0:nr.left)-Le.boundingClientRect.left-Le.width/2,Le.maxTranslate.x=(et?Le.contentWindow.innerWidth:nr.left+nr.width)-Le.boundingClientRect.left-Le.width/2),Le.axis.y&&(Le.minTranslate.y=(et?0:nr.top)-Le.boundingClientRect.top-Le.height/2,Le.maxTranslate.y=(et?Le.contentWindow.innerHeight:nr.top+nr.height)-Le.boundingClientRect.top-Le.height/2);Ze&&Ze.split(" ").forEach(function(Jr){return Le.helper.classList.add(Jr)}),Le.listenerNode=pt.touches?me:Le.contentWindow,rr?(Le.listenerNode.addEventListener("wheel",Le.handleKeyEnd,!0),Le.listenerNode.addEventListener("mousedown",Le.handleKeyEnd,!0),Le.listenerNode.addEventListener("keydown",Le.handleKeyDown)):(E.move.forEach(function(Jr){return Le.listenerNode.addEventListener(Jr,Le.handleSortMove,!1)}),E.end.forEach(function(Jr){return Le.listenerNode.addEventListener(Jr,Le.handleSortEnd,!1)})),Le.setState({sorting:!0,sortingIndex:ur}),yt&&yt({node:me,index:ur,collection:Gt,isKeySorting:rr,nodes:Le.manager.getOrderedRefs(),helper:Le.helper},pt),rr&&Le.keyMove(0)},Et=Le.props,_t=Et.axis,Ht=Et.getHelperDimensions,Ze=Et.helperClass,ye=Et.hideSortableGhost,ae=Et.updateBeforeSortStart,yt=Et.onSortStart,et=Et.useWindowAsScrollContainer,me=Qe.node,Gt=Qe.collection,rr=Le.manager.isKeySorting,ut=function(){if(typeof ae=="function"){Le._awaitingUpdateBeforeSortStart=!0;var Xt=G(function(){var ur=me.sortableInfo.index;return Promise.resolve(ae({collection:Gt,index:ur,node:me,isKeySorting:rr},pt)).then(function(){})},function(ur,Fr){if(Le._awaitingUpdateBeforeSortStart=!1,ur)throw Fr;return Fr});if(Xt&&Xt.then)return Xt.then(function(){})}}();return ut&&ut.then?ut.then(wt):wt(ut)}}();return Promise.resolve(gt&&gt.then?gt.then(function(){}):void 0)}catch(wt){return Promise.reject(wt)}}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"handleSortMove",function(pt){var Qe=Le.props.onSortMove;typeof pt.preventDefault=="function"&&pt.preventDefault(),Le.updateHelperPosition(pt),Le.animateNodes(),Le.autoscroll(),Qe&&Qe(pt)}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"handleSortEnd",function(pt){var Qe=Le.props,gt=Qe.hideSortableGhost,wt=Qe.onSortEnd,Et=Le.manager,_t=Et.active.collection,Ht=Et.isKeySorting,Ze=Le.manager.getOrderedRefs();Le.listenerNode&&(Ht?(Le.listenerNode.removeEventListener("wheel",Le.handleKeyEnd,!0),Le.listenerNode.removeEventListener("mousedown",Le.handleKeyEnd,!0),Le.listenerNode.removeEventListener("keydown",Le.handleKeyDown)):(E.move.forEach(function(me){return Le.listenerNode.removeEventListener(me,Le.handleSortMove)}),E.end.forEach(function(me){return Le.listenerNode.removeEventListener(me,Le.handleSortEnd)}))),Le.helper.parentNode.removeChild(Le.helper),gt&&Le.sortableGhost&&w(Le.sortableGhost,{opacity:"",visibility:""});for(var ye=0,ae=Ze.length;ye<ae;ye++){var yt=Ze[ye],et=yt.node;yt.edgeOffset=null,yt.boundingClientRect=null,S(et,null),I(et,null),yt.translate=null}Le.autoScroller.clear(),Le.manager.active=null,Le.manager.isKeySorting=!1,Le.setState({sorting:!1,sortingIndex:null}),typeof wt=="function"&&wt({collection:_t,newIndex:Le.newIndex,oldIndex:Le.index,isKeySorting:Ht,nodes:Ze},pt),Le.touched=!1}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"autoscroll",function(){var pt=Le.props.disableAutoscroll,Qe=Le.manager.isKeySorting;if(pt){Le.autoScroller.clear();return}if(Qe){var gt=Object(C.a)({},Le.translate),wt=0,Et=0;Le.axis.x&&(gt.x=Math.min(Le.maxTranslate.x,Math.max(Le.minTranslate.x,Le.translate.x)),wt=Le.translate.x-gt.x),Le.axis.y&&(gt.y=Math.min(Le.maxTranslate.y,Math.max(Le.minTranslate.y,Le.translate.y)),Et=Le.translate.y-gt.y),Le.translate=gt,S(Le.helper,Le.translate),Le.scrollContainer.scrollLeft+=wt,Le.scrollContainer.scrollTop+=Et;return}Le.autoScroller.update({height:Le.height,maxTranslate:Le.maxTranslate,minTranslate:Le.minTranslate,translate:Le.translate,width:Le.width})}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"onAutoScroll",function(pt){Le.translate.x+=pt.left,Le.translate.y+=pt.top,Le.animateNodes()}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"handleKeyDown",function(pt){var Qe=pt.keyCode,gt=Le.props,wt=gt.shouldCancelStart,Et=gt.keyCodes,_t=Et===void 0?{}:Et,Ht=Object(C.a)({},$,_t);if(Le.manager.active&&!Le.manager.isKeySorting||!Le.manager.active&&(!Ht.lift.includes(Qe)||wt(pt)||!Le.isValidSortingTarget(pt)))return;pt.stopPropagation(),pt.preventDefault(),Ht.lift.includes(Qe)&&!Le.manager.active?Le.keyLift(pt):Ht.drop.includes(Qe)&&Le.manager.active?Le.keyDrop(pt):Ht.cancel.includes(Qe)?(Le.newIndex=Le.manager.active.index,Le.keyDrop(pt)):Ht.up.includes(Qe)?Le.keyMove(-1):Ht.down.includes(Qe)&&Le.keyMove(1)}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"keyLift",function(pt){var Qe=pt.target,gt=L(Qe,function(Ht){return Ht.sortableInfo!=null}),wt=gt.sortableInfo,Et=wt.index,_t=wt.collection;Le.initialFocusedNode=Qe,Le.manager.isKeySorting=!0,Le.manager.active={index:Et,collection:_t},Le.handlePress(pt)}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"keyMove",function(pt){var Qe=Le.manager.getOrderedRefs(),gt=Qe[Qe.length-1].node.sortableInfo.index,wt=Le.newIndex+pt,Et=Le.newIndex;if(wt<0||wt>gt)return;Le.prevIndex=Et,Le.newIndex=wt;var _t=j(Le.newIndex,Le.prevIndex,Le.index),Ht=Qe.find(function(rr){var ut=rr.node;return ut.sortableInfo.index===_t}),Ze=Ht.node,ye=Le.containerScrollDelta,ae=Ht.boundingClientRect||B(Ze,ye),yt=Ht.translate||{x:0,y:0},et={top:ae.top+yt.y-ye.top,left:ae.left+yt.x-ye.left},me=Et<wt,Gt={x:me&&Le.axis.x?Ze.offsetWidth-Le.width:0,y:me&&Le.axis.y?Ze.offsetHeight-Le.height:0};Le.handleSortMove({pageX:et.left+Gt.x,pageY:et.top+Gt.y,ignoreTransition:pt===0})}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"keyDrop",function(pt){Le.handleSortEnd(pt),Le.initialFocusedNode&&Le.initialFocusedNode.focus()}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"handleKeyEnd",function(pt){Le.manager.active&&Le.keyDrop(pt)}),Object(r.a)(Object(o.a)(Object(o.a)(Le)),"isValidSortingTarget",function(pt){var Qe=Le.props.useDragHandle,gt=pt.target,wt=L(gt,function(Et){return Et.sortableInfo!=null});return wt&&wt.sortableInfo&&!wt.sortableInfo.disabled&&(Qe?pe(gt):gt.sortableInfo)}),X($e),Le.manager=new f,Le.events={end:Le.handleEnd,move:Le.handleMove,start:Le.handleStart},Le}return Object(b.a)(nt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Le=this,pt=this.props.useWindowAsScrollContainer,Qe=this.getContainer();Promise.resolve(Qe).then(function(gt){Le.container=gt,Le.document=Le.container.ownerDocument||document;var wt=Le.props.contentWindow||Le.document.defaultView||window;Le.contentWindow=typeof wt=="function"?wt():wt,Le.scrollContainer=pt?Le.document.scrollingElement||Le.document.documentElement:Y(Le.container)||Le.container,Le.autoScroller=new De(Le.scrollContainer,Le.onAutoScroll),Object.keys(Le.events).forEach(function(Et){return E[Et].forEach(function(_t){return Le.container.addEventListener(_t,Le.events[Et],!1)})}),Le.container.addEventListener("keydown",Le.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Le=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(pt){return E[pt].forEach(function(Qe){return Le.container.removeEventListener(Qe,Le.events[pt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Le){var pt=this.props,Qe=pt.lockAxis,gt=pt.lockOffset,wt=pt.lockToContainerEdges,Et=pt.transitionDuration,_t=pt.keyboardSortingTransitionDuration,Ht=_t===void 0?Et:_t,Ze=this.manager.isKeySorting,ye=Le.ignoreTransition,ae=M(Le),yt={x:ae.x-this.initialOffset.x,y:ae.y-this.initialOffset.y};if(yt.y-=window.pageYOffset-this.initialWindowScroll.top,yt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=yt,wt){var et=V({height:this.height,lockOffset:gt,width:this.width}),me=Object(x.a)(et,2),Gt=me[0],rr=me[1],ut={x:this.width/2-Gt.x,y:this.height/2-Gt.y},Xt={x:this.width/2-rr.x,y:this.height/2-rr.y};yt.x=O(this.minTranslate.x+ut.x,this.maxTranslate.x-Xt.x,yt.x),yt.y=O(this.minTranslate.y+ut.y,this.maxTranslate.y-Xt.y,yt.y)}Qe==="x"?yt.y=0:Qe==="y"&&(yt.x=0),Ze&&Ht&&!ye&&I(this.helper,Ht),S(this.helper,yt)}},{key:"animateNodes",value:function(){var Le=this.props,pt=Le.transitionDuration,Qe=Le.hideSortableGhost,gt=Le.onSortOver,wt=this.containerScrollDelta,Et=this.windowScrollDelta,_t=this.manager.getOrderedRefs(),Ht={left:this.offsetEdge.left+this.translate.x+wt.left,top:this.offsetEdge.top+this.translate.y+wt.top},Ze=this.manager.isKeySorting,ye=this.newIndex;this.newIndex=null;for(var ae=0,yt=_t.length;ae<yt;ae++){var et=_t[ae].node,me=et.sortableInfo.index,Gt=et.offsetWidth,rr=et.offsetHeight,ut={height:this.height>rr?rr/2:this.height/2,width:this.width>Gt?Gt/2:this.width/2},Xt=Ze&&me>this.index&&me<=ye,ur=Ze&&me<this.index&&me>=ye,Fr={x:0,y:0},er=_t[ae].edgeOffset;er||(er=F(et,this.container),_t[ae].edgeOffset=er,Ze&&(_t[ae].boundingClientRect=B(et,wt)));var nr=ae<_t.length-1&&_t[ae+1],Lt=ae>0&&_t[ae-1];if(nr&&!nr.edgeOffset&&(nr.edgeOffset=F(nr.node,this.container),Ze&&(nr.boundingClientRect=B(nr.node,wt))),me===this.index){Qe&&(this.sortableGhost=et,w(et,{opacity:0,visibility:"hidden"}));continue}pt&&I(et,pt),this.axis.x?this.axis.y?ur||me<this.index&&(Ht.left+Et.left-ut.width<=er.left&&Ht.top+Et.top<=er.top+ut.height||Ht.top+Et.top+ut.height<=er.top)?(Fr.x=this.width+this.marginOffset.x,er.left+Fr.x>this.containerBoundingRect.width-ut.width&&(nr&&(Fr.x=nr.edgeOffset.left-er.left,Fr.y=nr.edgeOffset.top-er.top)),this.newIndex===null&&(this.newIndex=me)):(Xt||me>this.index&&(Ht.left+Et.left+ut.width>=er.left&&Ht.top+Et.top+ut.height>=er.top||Ht.top+Et.top+ut.height>=er.top+rr))&&(Fr.x=-(this.width+this.marginOffset.x),er.left+Fr.x<this.containerBoundingRect.left+ut.width&&(Lt&&(Fr.x=Lt.edgeOffset.left-er.left,Fr.y=Lt.edgeOffset.top-er.top)),this.newIndex=me):Xt||me>this.index&&Ht.left+Et.left+ut.width>=er.left?(Fr.x=-(this.width+this.marginOffset.x),this.newIndex=me):(ur||me<this.index&&Ht.left+Et.left<=er.left+ut.width)&&(Fr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=me)):this.axis.y&&(Xt||me>this.index&&Ht.top+Et.top+ut.height>=er.top?(Fr.y=-(this.height+this.marginOffset.y),this.newIndex=me):(ur||me<this.index&&Ht.top+Et.top<=er.top+ut.height)&&(Fr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=me))),S(et,Fr),_t[ae].translate=Fr}this.newIndex==null&&(this.newIndex=this.index),Ze&&(this.newIndex=ye);var at=Ze?this.prevIndex:ye;gt&&this.newIndex!==at&&gt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:at,isKeySorting:Ze,nodes:_t,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return u()(xe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Le=this.props.getContainer;return typeof Le!="function"?Object(e.findDOMNode)(this):Le(xe.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Le=xe.withRef?"wrappedInstance":null;return Object(i.createElement)(we,Object(_.a)({ref:Le},y(this.props,re)))}},{key:"helperContainer",get:function(){var Le=this.props.helperContainer;return typeof Le=="function"?Le():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Le=this.props.useWindowAsScrollContainer;return Le?{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}}}]),nt}(i.Component),Object(r.a)(le,"displayName",D("sortableList",we)),Object(r.a)(le,"defaultProps",ze),Object(r.a)(le,"propTypes",se),Object(r.a)(le,"childContextTypes",{manager:s.a.object.isRequired}),fe}var ve={index:s.a.number.isRequired,collection:s.a.oneOfType([s.a.number,s.a.string]),disabled:s.a.bool},de=Object.keys(ve);function Ce(we){var le,fe,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=le=function(We){Object(c.a)(nt,We);function nt(){return Object(A.a)(this,nt),Object(m.a)(this,Object(p.a)(nt).apply(this,arguments))}return Object(b.a)(nt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Le){this.node&&(Le.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Le.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Le.collection!==this.props.collection&&(this.unregister(Le.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Le=this.props,pt=Le.collection,Qe=Le.disabled,gt=Le.index,wt=Object(e.findDOMNode)(this);wt.sortableInfo={collection:pt,disabled:Qe,index:gt,manager:this.context.manager},this.node=wt,this.ref={node:wt},this.context.manager.add(pt,this.ref)}},{key:"unregister",value:function(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Le,this.ref)}},{key:"getWrappedInstance",value:function(){return u()(xe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Le=xe.withRef?"wrappedInstance":null;return Object(i.createElement)(we,Object(_.a)({ref:Le},y(this.props,de)))}}]),nt}(i.Component),Object(r.a)(le,"displayName",D("sortableElement",we)),Object(r.a)(le,"contextTypes",{manager:s.a.object.isRequired}),Object(r.a)(le,"propTypes",ve),Object(r.a)(le,"defaultProps",{collection:0}),fe}},YNAk:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("QyFq")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="CaretDownFilled";var c=A.forwardRef(p);k.default=c},YNf1:function(H,k,d){var _=d("IwbS"),x=d("6Ic6"),C=.3,A=x.extend({type:"parallel",init:function(){this._dataGroup=new _.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(n,t,s,e){var a=this._dataGroup,l=n.getData(),u=this._data,h=n.coordinateSystem,f=h.dimensions,g=c(n);l.diff(u).add(v).update(y).remove(E).execute();function v(w){var S=p(l,a,w,f,h);o(S,l,w,g)}function y(w,S){var I=u.getItemGraphicEl(S),L=m(l,w,f,h);l.setItemGraphicEl(w,I);var O=e&&e.animation===!1?null:n;_.updateProps(I,{shape:{points:L}},O,w),o(I,l,w,g)}function E(w){var S=u.getItemGraphicEl(w);a.remove(S)}if(!this._initialized){this._initialized=!0;var T=b(h,n,function(){setTimeout(function(){a.removeClipPath()})});a.setClipPath(T)}this._data=l},incrementalPrepareRender:function(n,t,s){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(n,t,s){for(var e=t.getData(),a=t.coordinateSystem,l=a.dimensions,u=c(t),h=n.start;h<n.end;h++){var f=p(e,this._dataGroup,h,l,a);f.incremental=!0,o(f,e,h,u)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function b(n,t,s){var e=n.model,a=n.getRect(),l=new _.Rect({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),u=e.get("layout")==="horizontal"?"width":"height";return l.setShape(u,0),_.initProps(l,{shape:{width:a.width,height:a.height}},t,s),l}function m(n,t,s,e){for(var a=[],l=0;l<s.length;l++){var u=s[l],h=n.get(n.mapDimension(u),t);r(h,e.getAxis(u).type)||a.push(e.dataToPoint(h,u))}return a}function p(n,t,s,e,a){var l=m(n,s,e,a),u=new _.Polyline({shape:{points:l},silent:!0,z2:10});return t.add(u),n.setItemGraphicEl(s,u),u}function c(n){var t=n.get("smooth",!0);return t===!0&&(t=C),{lineStyle:n.getModel("lineStyle").getLineStyle(),smooth:t!=null?t:C}}function o(n,t,s,e){var a=e.lineStyle;if(t.hasItemOption){var l=t.getItemModel(s).getModel("lineStyle");a=l.getLineStyle()}n.useStyle(a);var u=n.style;u.fill=null,u.stroke=t.getItemVisual(s,"color"),u.opacity=t.getItemVisual(s,"opacity"),e.smooth&&(n.shape.smooth=e.smooth)}function r(n,t){return t==="category"?n==null:n==null||isNaN(n)}var i=A;H.exports=i},YOMW:function(H,k,d){var _=d("bYtY"),x={get:function(b,m,p){var c=_.clone((C[b]||{})[m]);return p&&_.isArray(c)?c[c.length-1]:c}},C={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]}},A=x;H.exports=A},YXkt:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("Qxkt"),b=d("gPAo"),m=d("7G+c"),p=d("KxfA"),c=p.defaultDimValueGetters,o=p.DefaultDataProvider,r=d("L0Ub"),i=r.summarizeDimensions,n=d("Vi4m"),t=C.isObject,s="undefined",e=-1,a="e\0\0",l={float:typeof Float64Array===s?Array:Float64Array,int:typeof Int32Array===s?Array:Int32Array,ordinal:Array,number:Array,time:Array},u=typeof Uint32Array===s?Array:Uint32Array,h=typeof Int32Array===s?Array:Int32Array,f=typeof Uint16Array===s?Array:Uint16Array;function g(z){return z._rawCount>65535?u:f}function v(z){var Y=z.constructor;return Y===Array?z.slice():new Y(z)}var y=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],E=["_extent","_approximateExtent","_rawExtent"];function T(z,Y){C.each(y.concat(Y.__wrappedMethods||[]),function(J){Y.hasOwnProperty(J)&&(z[J]=Y[J])}),z.__wrappedMethods=Y.__wrappedMethods,C.each(E,function(J){z[J]=C.clone(Y[J])}),z._calculationInfo=C.extend(Y._calculationInfo)}var w=function(z,Y){z=z||["x","y"];for(var J={},ie=[],Z={},oe=0;oe<z.length;oe++){var ge=z[oe];C.isString(ge)?ge=new n({name:ge}):ge instanceof n||(ge=new n(ge));var pe=ge.name;ge.type=ge.type||"float",ge.coordDim||(ge.coordDim=pe,ge.coordDimIndex=0),ge.otherDims=ge.otherDims||{},ie.push(pe),J[pe]=ge,ge.index=oe,ge.createInvertedIndices&&(Z[pe]=[])}this.dimensions=ie,this._dimensionInfos=J,this.hostModel=Y,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=i(this),this._invertedIndicesMap=Z,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},S=w.prototype;S.type="list",S.hasItemOption=!0,S.getDimension=function(z){return(typeof z=="number"||!isNaN(z)&&!this._dimensionInfos.hasOwnProperty(z))&&(z=this.dimensions[z]),z},S.getDimensionInfo=function(z){return this._dimensionInfos[this.getDimension(z)]},S.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},S.mapDimension=function(z,Y){var J=this._dimensionsSummary;if(Y==null)return J.encodeFirstDimNotExtra[z];var ie=J.encode[z];return Y===!0?(ie||[]).slice():ie&&ie[Y]},S.initData=function(z,Y,J){var ie=m.isInstance(z)||C.isArrayLike(z);ie&&(z=new o(z,this.dimensions.length)),this._rawData=z,this._storage={},this._indices=null,this._nameList=Y||[],this._idList=[],this._nameRepeatCount={},J||(this.hasItemOption=!1),this.defaultDimValueGetter=c[this._rawData.getSource().sourceFormat],this._dimValueGetter=J=J||this.defaultDimValueGetter,this._dimValueGetterArrayRows=c.arrayRows,this._rawExtent={},this._initDataFromProvider(0,z.count()),z.pure&&(this.hasItemOption=!1)},S.getProvider=function(){return this._rawData},S.appendData=function(z){var Y=this._rawData,J=this.count();Y.appendData(z);var ie=Y.count();Y.persistent||(ie+=J),this._initDataFromProvider(J,ie)},S.appendValues=function(z,Y){for(var J=this._chunkSize,ie=this._storage,Z=this.dimensions,oe=Z.length,ge=this._rawExtent,pe=this.count(),De=pe+Math.max(z.length,Y?Y.length:0),ce=this._chunkCount,Oe=0;Oe<oe;Oe++){var se=Z[Oe];ge[se]||(ge[se]=j()),ie[se]||(ie[se]=[]),I(ie,this._dimensionInfos[se],J,ce,De),this._chunkCount=ie[se].length}for(var $=new Array(oe),ze=pe;ze<De;ze++){for(var re=ze-pe,X=Math.floor(ze/J),G=ze%J,Q=0;Q<oe;Q++){var se=Z[Q],ve=this._dimValueGetterArrayRows(z[re]||$,se,re,Q);ie[se][X][G]=ve;var de=ge[se];ve<de[0]&&(de[0]=ve),ve>de[1]&&(de[1]=ve)}Y&&(this._nameList[ze]=Y[re])}this._rawCount=this._count=De,this._extent={},L(this)},S._initDataFromProvider=function(z,Y){if(z>=Y)return;for(var J=this._chunkSize,ie=this._rawData,Z=this._storage,oe=this.dimensions,ge=oe.length,pe=this._dimensionInfos,De=this._nameList,ce=this._idList,Oe=this._rawExtent,se=this._nameRepeatCount={},$,ze=this._chunkCount,re=0;re<ge;re++){var X=oe[re];Oe[X]||(Oe[X]=j());var G=pe[X];G.otherDims.itemName===0&&($=this._nameDimIdx=re),G.otherDims.itemId===0&&(this._idDimIdx=re),Z[X]||(Z[X]=[]),I(Z,G,J,ze,Y),this._chunkCount=Z[X].length}for(var Q=new Array(ge),ve=z;ve<Y;ve++){Q=ie.getItem(ve,Q);for(var de=Math.floor(ve/J),Ce=ve%J,we=0;we<ge;we++){var X=oe[we],le=Z[X][de],fe=this._dimValueGetter(Q,X,ve,we);le[Ce]=fe;var xe=Oe[X];fe<xe[0]&&(xe[0]=fe),fe>xe[1]&&(xe[1]=fe)}if(!ie.pure){var We=De[ve];if(Q&&We==null){if(Q.name!=null)De[ve]=We=Q.name;else if($!=null){var nt=oe[$],$e=Z[nt][de];if($e){We=$e[Ce];var Le=pe[nt].ordinalMeta;Le&&Le.categories.length&&(We=Le.categories[We])}}}var pt=Q==null?null:Q.id;pt==null&&We!=null&&(se[We]=se[We]||0,pt=We,se[We]>0&&(pt+="__ec__"+se[We]),se[We]++),pt!=null&&(ce[ve]=pt)}}!ie.persistent&&ie.clean&&ie.clean(),this._rawCount=this._count=Y,this._extent={},L(this)};function I(z,Y,J,ie,Z){var oe=l[Y.type],ge=ie-1,pe=Y.name,De=z[pe][ge];if(De&&De.length<J){for(var ce=new oe(Math.min(Z-ge*J,J)),Oe=0;Oe<De.length;Oe++)ce[Oe]=De[Oe];z[pe][ge]=ce}for(var se=ie*J;se<Z;se+=J)z[pe].push(new oe(Math.min(Z-se,J)))}function L(z){var Y=z._invertedIndicesMap;C.each(Y,function(J,ie){var Z=z._dimensionInfos[ie],oe=Z.ordinalMeta;if(oe){J=Y[ie]=new h(oe.categories.length);for(var ge=0;ge<J.length;ge++)J[ge]=e;for(var ge=0;ge<z._count;ge++)J[z.get(ie,ge)]=ge}})}function O(z,Y,J){var ie;if(Y!=null){var Z=z._chunkSize,oe=Math.floor(J/Z),ge=J%Z,pe=z.dimensions[Y],De=z._storage[pe][oe];if(De){ie=De[ge];var ce=z._dimensionInfos[pe].ordinalMeta;ce&&ce.categories.length&&(ie=ce.categories[ie])}}return ie}S.count=function(){return this._count},S.getIndices=function(){var z,Y=this._indices;if(Y){var J=Y.constructor,ie=this._count;if(J===Array){z=new J(ie);for(var Z=0;Z<ie;Z++)z[Z]=Y[Z]}else z=new J(Y.buffer,0,ie)}else for(var J=g(this),z=new J(this.count()),Z=0;Z<z.length;Z++)z[Z]=Z;return z},S.get=function(z,Y){if(!(Y>=0&&Y<this._count))return NaN;var J=this._storage;if(!J[z])return NaN;Y=this.getRawIndex(Y);var ie=Math.floor(Y/this._chunkSize),Z=Y%this._chunkSize,oe=J[z][ie],ge=oe[Z];return ge},S.getByRawIndex=function(z,Y){if(!(Y>=0&&Y<this._rawCount))return NaN;var J=this._storage[z];if(!J)return NaN;var ie=Math.floor(Y/this._chunkSize),Z=Y%this._chunkSize,oe=J[ie];return oe[Z]},S._getFast=function(z,Y){var J=Math.floor(Y/this._chunkSize),ie=Y%this._chunkSize,Z=this._storage[z][J];return Z[ie]},S.getValues=function(z,Y){var J=[];C.isArray(z)||(Y=z,z=this.dimensions);for(var ie=0,Z=z.length;ie<Z;ie++)J.push(this.get(z[ie],Y));return J},S.hasValue=function(z){for(var Y=this._dimensionsSummary.dataDimsOnCoord,J=0,ie=Y.length;J<ie;J++)if(isNaN(this.get(Y[J],z)))return!1;return!0},S.getDataExtent=function(z){z=this.getDimension(z);var Y=this._storage[z],J=j();if(!Y)return J;var ie=this.count(),Z=!this._indices,oe;if(Z)return this._rawExtent[z].slice();if(oe=this._extent[z],oe)return oe.slice();oe=J;for(var ge=oe[0],pe=oe[1],De=0;De<ie;De++){var ce=this._getFast(z,this.getRawIndex(De));ce<ge&&(ge=ce),ce>pe&&(pe=ce)}return oe=[ge,pe],this._extent[z]=oe,oe},S.getApproximateExtent=function(z){return z=this.getDimension(z),this._approximateExtent[z]||this.getDataExtent(z)},S.setApproximateExtent=function(z,Y){Y=this.getDimension(Y),this._approximateExtent[Y]=z.slice()},S.getCalculationInfo=function(z){return this._calculationInfo[z]},S.setCalculationInfo=function(z,Y){t(z)?C.extend(this._calculationInfo,z):this._calculationInfo[z]=Y},S.getSum=function(z){var Y=this._storage[z],J=0;if(Y)for(var ie=0,Z=this.count();ie<Z;ie++){var oe=this.get(z,ie);isNaN(oe)||(J+=oe)}return J},S.getMedian=function(z){var Y=[];this.each(z,function(Z,oe){isNaN(Z)||Y.push(Z)});var J=[].concat(Y).sort(function(Z,oe){return Z-oe}),ie=this.count();return ie===0?0:ie%2===1?J[(ie-1)/2]:(J[ie/2]+J[ie/2-1])/2},S.rawIndexOf=function(z,Y){var J=z&&this._invertedIndicesMap[z],ie=J[Y];return ie==null||isNaN(ie)?e:ie},S.indexOfName=function(z){for(var Y=0,J=this.count();Y<J;Y++)if(this.getName(Y)===z)return Y;return-1},S.indexOfRawIndex=function(z){if(z>=this._rawCount||z<0)return-1;if(!this._indices)return z;var Y=this._indices,J=Y[z];if(J!=null&&J<this._count&&J===z)return z;for(var ie=0,Z=this._count-1;ie<=Z;){var oe=(ie+Z)/2|0;if(Y[oe]<z)ie=oe+1;else if(Y[oe]>z)Z=oe-1;else return oe}return-1},S.indicesOfNearest=function(z,Y,J){var ie=this._storage,Z=ie[z],oe=[];if(!Z)return oe;J==null&&(J=Infinity);for(var ge=Infinity,pe=-1,De=0,ce=0,Oe=this.count();ce<Oe;ce++){var se=Y-this.get(z,ce),$=Math.abs(se);$<=J&&(($<ge||$===ge&&se>=0&&pe<0)&&(ge=$,pe=se,De=0),se===pe&&(oe[De++]=ce))}return oe.length=De,oe},S.getRawIndex=N;function N(z){return z}function R(z){return z<this._count&&z>=0?this._indices[z]:-1}S.getRawDataItem=function(z){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(z));for(var Y=[],J=0;J<this.dimensions.length;J++){var ie=this.dimensions[J];Y.push(this.get(ie,z))}return Y},S.getName=function(z){var Y=this.getRawIndex(z);return this._nameList[Y]||O(this,this._nameDimIdx,Y)||""},S.getId=function(z){return D(this,this.getRawIndex(z))};function D(z,Y){var J=z._idList[Y];return J==null&&(J=O(z,z._idDimIdx,Y)),J==null&&(J=a+Y),J}function B(z){return C.isArray(z)||(z=[z]),z}function M(z,Y){for(var J=0;J<Y.length;J++)z._dimensionInfos[Y[J]]||console.error("Unkown dimension "+Y[J])}S.each=function(z,Y,J,ie){"use strict";if(!this._count)return;typeof z=="function"&&(ie=J,J=Y,Y=z,z=[]),J=J||ie||this,z=C.map(B(z),this.getDimension,this);for(var Z=z.length,oe=0;oe<this.count();oe++)switch(Z){case 0:Y.call(J,oe);break;case 1:Y.call(J,this.get(z[0],oe),oe);break;case 2:Y.call(J,this.get(z[0],oe),this.get(z[1],oe),oe);break;default:for(var ge=0,pe=[];ge<Z;ge++)pe[ge]=this.get(z[ge],oe);pe[ge]=oe,Y.apply(J,pe)}},S.filterSelf=function(z,Y,J,ie){"use strict";if(!this._count)return;typeof z=="function"&&(ie=J,J=Y,Y=z,z=[]),J=J||ie||this,z=C.map(B(z),this.getDimension,this);for(var Z=this.count(),oe=g(this),ge=new oe(Z),pe=[],De=z.length,ce=0,Oe=z[0],se=0;se<Z;se++){var $,ze=this.getRawIndex(se);if(De===0)$=Y.call(J,se);else if(De===1){var re=this._getFast(Oe,ze);$=Y.call(J,re,se)}else{for(var X=0;X<De;X++)pe[X]=this._getFast(Oe,ze);pe[X]=se,$=Y.apply(J,pe)}$&&(ge[ce++]=ze)}return ce<Z&&(this._indices=ge),this._count=ce,this._extent={},this.getRawIndex=this._indices?R:N,this},S.selectRange=function(z){"use strict";if(!this._count)return;var Y=[];for(var J in z)z.hasOwnProperty(J)&&Y.push(J);var ie=Y.length;if(!ie)return;var Z=this.count(),oe=g(this),ge=new oe(Z),pe=0,De=Y[0],ce=z[De][0],Oe=z[De][1],se=!1;if(!this._indices){var $=0;if(ie===1){for(var ze=this._storage[Y[0]],re=0;re<this._chunkCount;re++)for(var X=ze[re],G=Math.min(this._count-re*this._chunkSize,this._chunkSize),Q=0;Q<G;Q++){var ve=X[Q];(ve>=ce&&ve<=Oe||isNaN(ve))&&(ge[pe++]=$),$++}se=!0}else if(ie===2){for(var ze=this._storage[De],de=this._storage[Y[1]],Ce=z[Y[1]][0],we=z[Y[1]][1],re=0;re<this._chunkCount;re++)for(var X=ze[re],le=de[re],G=Math.min(this._count-re*this._chunkSize,this._chunkSize),Q=0;Q<G;Q++){var ve=X[Q],fe=le[Q];(ve>=ce&&ve<=Oe||isNaN(ve))&&(fe>=Ce&&fe<=we||isNaN(fe))&&(ge[pe++]=$),$++}se=!0}}if(!se)if(ie===1)for(var Q=0;Q<Z;Q++){var xe=this.getRawIndex(Q),ve=this._getFast(De,xe);(ve>=ce&&ve<=Oe||isNaN(ve))&&(ge[pe++]=xe)}else for(var Q=0;Q<Z;Q++){for(var We=!0,xe=this.getRawIndex(Q),re=0;re<ie;re++){var nt=Y[re],ve=this._getFast(J,xe);(ve<z[nt][0]||ve>z[nt][1])&&(We=!1)}We&&(ge[pe++]=this.getRawIndex(Q))}return pe<Z&&(this._indices=ge),this._count=pe,this._extent={},this.getRawIndex=this._indices?R:N,this},S.mapArray=function(z,Y,J,ie){"use strict";typeof z=="function"&&(ie=J,J=Y,Y=z,z=[]),J=J||ie||this;var Z=[];return this.each(z,function(){Z.push(Y&&Y.apply(this,arguments))},J),Z};function U(z,Y){var J=z.dimensions,ie=new w(C.map(J,z.getDimensionInfo,z),z.hostModel);T(ie,z);for(var Z=ie._storage={},oe=z._storage,ge=0;ge<J.length;ge++){var pe=J[ge];oe[pe]&&(C.indexOf(Y,pe)>=0?(Z[pe]=F(oe[pe]),ie._rawExtent[pe]=j(),ie._extent[pe]=null):Z[pe]=oe[pe])}return ie}function F(z){for(var Y=new Array(z.length),J=0;J<z.length;J++)Y[J]=v(z[J]);return Y}function j(){return[Infinity,-Infinity]}S.map=function(z,Y,J,ie){"use strict";J=J||ie||this,z=C.map(B(z),this.getDimension,this);var Z=U(this,z);Z._indices=this._indices,Z.getRawIndex=Z._indices?R:N;for(var oe=Z._storage,ge=[],pe=this._chunkSize,De=z.length,ce=this.count(),Oe=[],se=Z._rawExtent,$=0;$<ce;$++){for(var ze=0;ze<De;ze++)Oe[ze]=this.get(z[ze],$);Oe[De]=$;var re=Y&&Y.apply(J,Oe);if(re!=null){typeof re!="object"&&(ge[0]=re,re=ge);for(var X=this.getRawIndex($),G=Math.floor(X/pe),Q=X%pe,ve=0;ve<re.length;ve++){var de=z[ve],Ce=re[ve],we=se[de],le=oe[de];le&&(le[G][Q]=Ce),Ce<we[0]&&(we[0]=Ce),Ce>we[1]&&(we[1]=Ce)}}}return Z},S.downSample=function(z,Y,J,ie){for(var Z=U(this,[z]),oe=Z._storage,ge=[],pe=Math.floor(1/Y),De=oe[z],ce=this.count(),Oe=this._chunkSize,se=Z._rawExtent[z],$=new(g(this))(ce),ze=0,re=0;re<ce;re+=pe){pe>ce-re&&(pe=ce-re,ge.length=pe);for(var X=0;X<pe;X++){var G=this.getRawIndex(re+X),Q=Math.floor(G/Oe),ve=G%Oe;ge[X]=De[Q][ve]}var de=J(ge),Ce=this.getRawIndex(Math.min(re+ie(ge,de)||0,ce-1)),we=Math.floor(Ce/Oe),le=Ce%Oe;De[we][le]=de,de<se[0]&&(se[0]=de),de>se[1]&&(se[1]=de),$[ze++]=Ce}return Z._count=ze,Z._indices=$,Z.getRawIndex=R,Z},S.getItemModel=function(z){var Y=this.hostModel;return new A(this.getRawDataItem(z),Y,Y&&Y.ecModel)},S.diff=function(z){var Y=this;return new b(z?z.getIndices():[],this.getIndices(),function(J){return D(z,J)},function(J){return D(Y,J)})},S.getVisual=function(z){var Y=this._visual;return Y&&Y[z]},S.setVisual=function(z,Y){if(t(z)){for(var J in z)z.hasOwnProperty(J)&&this.setVisual(J,z[J]);return}this._visual=this._visual||{},this._visual[z]=Y},S.setLayout=function(z,Y){if(t(z)){for(var J in z)z.hasOwnProperty(J)&&this.setLayout(J,z[J]);return}this._layout[z]=Y},S.getLayout=function(z){return this._layout[z]},S.getItemLayout=function(z){return this._itemLayouts[z]},S.setItemLayout=function(z,Y,J){this._itemLayouts[z]=J?C.extend(this._itemLayouts[z]||{},Y):Y},S.clearItemLayouts=function(){this._itemLayouts.length=0},S.getItemVisual=function(z,Y,J){var ie=this._itemVisuals[z],Z=ie&&ie[Y];return Z==null&&!J?this.getVisual(Y):Z},S.setItemVisual=function(z,Y,J){var ie=this._itemVisuals[z]||{},Z=this.hasItemVisual;if(this._itemVisuals[z]=ie,t(Y)){for(var oe in Y)Y.hasOwnProperty(oe)&&(ie[oe]=Y[oe],Z[oe]=!0);return}ie[Y]=J,Z[Y]=!0},S.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var W=function(z){z.seriesIndex=this.seriesIndex,z.dataIndex=this.dataIndex,z.dataType=this.dataType};S.setItemGraphicEl=function(z,Y){var J=this.hostModel;Y&&(Y.dataIndex=z,Y.dataType=this.dataType,Y.seriesIndex=J&&J.seriesIndex,Y.type==="group"&&Y.traverse(W,Y)),this._graphicEls[z]=Y},S.getItemGraphicEl=function(z){return this._graphicEls[z]},S.eachItemGraphicEl=function(z,Y){C.each(this._graphicEls,function(J,ie){J&&(z&&z.call(Y,J,ie))})},S.cloneShallow=function(z){if(!z){var Y=C.map(this.dimensions,this.getDimensionInfo,this);z=new w(Y,this.hostModel)}if(z._storage=this._storage,T(z,this),this._indices){var J=this._indices.constructor;z._indices=new J(this._indices)}else z._indices=null;return z.getRawIndex=z._indices?R:N,z},S.wrapMethod=function(z,Y){var J=this[z];if(typeof J!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var ie=J.apply(this,arguments);return Y.apply(this,[ie].concat(C.slice(arguments)))}},S.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],S.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=w;H.exports=V},YgsL:function(H,k,d){var _=d("QBsz"),x=_.distance;function C(b,m,p,c,o,r,i){var n=(p-b)*.5,t=(c-m)*.5;return(2*(m-p)+n+t)*i+(-3*(m-p)-2*n-t)*r+n*o+m}function A(b,m){for(var p=b.length,c=[],o=0,r=1;r<p;r++)o+=x(b[r-1],b[r]);var i=o/2;i=i<p?p:i;for(var r=0;r<i;r++){var n=r/(i-1)*(m?p:p-1),t=Math.floor(n),s=n-t,e,a=b[t%p],l,u;m?(e=b[(t-1+p)%p],l=b[(t+1)%p],u=b[(t+2)%p]):(e=b[t===0?t:t-1],l=b[t>p-2?p-1:t+1],u=b[t>p-3?p-1:t+2]);var h=s*s,f=s*h;c.push([C(e[0],a[0],l[0],u[0],s,h,f),C(e[1],a[1],l[1],u[1],s,h,f)])}return c}H.exports=A},Yl7c:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=".",b="___EC__COMPONENT__CONTAINER___";function m(e){var a={main:"",sub:""};return e&&(e=e.split(A),a.main=e[0]||"",a.sub=e[1]||""),a}function p(e){C.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function c(e,a){e.$constructor=e,e.extend=function(l){var u=this,h=function(){l.$constructor?l.$constructor.apply(this,arguments):u.apply(this,arguments)};return C.extend(h.prototype,l),h.extend=this.extend,h.superCall=i,h.superApply=n,C.inherits(h,this),h.superClass=u,h}}var o=0;function r(e){var a=["__\0is_clz",o++,Math.random().toFixed(3)].join("_");e.prototype[a]=!0,e.isInstance=function(l){return!!(l&&l[a])}}function i(e,a){var l=C.slice(arguments,2);return this.superClass.prototype[a].apply(e,l)}function n(e,a,l){return this.superClass.prototype[a].apply(e,l)}function t(e,a){a=a||{};var l={};e.registerClass=function(f,g){if(g){if(p(g),g=m(g),!g.sub)l[g.main]=f;else if(g.sub!==b){var v=u(g);v[g.sub]=f}}return f},e.getClass=function(f,g,v){var y=l[f];if(y&&y[b]&&(y=g?y[g]:null),v&&!y)throw new Error(g?"Component "+f+"."+(g||"")+" not exists. Load it first.":f+".type should be specified.");return y},e.getClassesByMainType=function(f){f=m(f);var g=[],v=l[f.main];return v&&v[b]?C.each(v,function(y,E){E!==b&&g.push(y)}):g.push(v),g},e.hasClass=function(f){return f=m(f),!!l[f.main]},e.getAllClassMainTypes=function(){var f=[];return C.each(l,function(g,v){f.push(v)}),f},e.hasSubTypes=function(f){f=m(f);var g=l[f.main];return g&&g[b]},e.parseClassType=m;function u(f){var g=l[f.main];return(!g||!g[b])&&(g=l[f.main]={},g[b]=!0),g}if(a.registerWhenExtend){var h=e.extend;h&&(e.extend=function(f){var g=h.call(this,f);return e.registerClass(g,f.type)})}return e}function s(e,a){}k.parseClassType=m,k.enableClassExtend=c,k.enableClassCheck=r,k.enableClassManagement=t,k.setReadOnly=s},Ynxi:function(H,k,d){var _=d("bYtY"),x=d("ProS"),C=d("IwbS"),A=d("+TT/"),b=A.getLayoutRect,m=d("7aKB"),p=m.windowOpen;x.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"}}}),x.extendComponentView({type:"title",render:function(c,o,r){if(this.group.removeAll(),!c.get("show"))return;var i=this.group,n=c.getModel("textStyle"),t=c.getModel("subtextStyle"),s=c.get("textAlign"),e=_.retrieve2(c.get("textBaseline"),c.get("textVerticalAlign")),a=new C.Text({style:C.setTextStyle({},n,{text:c.get("text"),textFill:n.getTextColor()},{disableBox:!0}),z2:10}),l=a.getBoundingRect(),u=c.get("subtext"),h=new C.Text({style:C.setTextStyle({},t,{text:u,textFill:t.getTextColor(),y:l.height+c.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),f=c.get("link"),g=c.get("sublink"),v=c.get("triggerEvent",!0);a.silent=!f&&!v,h.silent=!g&&!v,f&&a.on("click",function(){p(f,"_"+c.get("target"))}),g&&h.on("click",function(){p(f,"_"+c.get("subtarget"))}),a.eventData=h.eventData=v?{componentType:"title",componentIndex:c.componentIndex}:null,i.add(a),u&&i.add(h);var y=i.getBoundingRect(),E=c.getBoxLayoutParams();E.width=y.width,E.height=y.height;var T=b(E,{width:r.getWidth(),height:r.getHeight()},c.get("padding"));s||(s=c.get("left")||c.get("right"),s==="middle"&&(s="center"),s==="right"?T.x+=T.width:s==="center"&&(T.x+=T.width/2)),e||(e=c.get("top")||c.get("bottom"),e==="center"&&(e="middle"),e==="bottom"?T.y+=T.height:e==="middle"&&(T.y+=T.height/2),e=e||"top"),i.attr("position",[T.x,T.y]);var w={textAlign:s,textVerticalAlign:e};a.setStyle(w),h.setStyle(w),y=i.getBoundingRect();var S=T.margin,I=c.getItemStyle(["color","opacity"]);I.fill=c.get("backgroundColor");var L=new C.Rect({shape:{x:y.x-S[3],y:y.y-S[0],width:y.width+S[1]+S[3],height:y.height+S[0]+S[2],r:c.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});i.add(L)}})},Ywus:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("DO2E")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="DeleteOutlined";var c=A.forwardRef(p);k.default=c},Z0Lh:function(H,k,d){"use strict";var _=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var x=_(d("pVnL")),C=_(d("HjOm")),A=_(d("Z6rY")),b={lang:(0,x.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"]},C.default),timePickerLocale:(0,x.default)({},A.default)};b.lang.ok="\u786E \u5B9A";var m=b;k.default=m},Z1HP:function(H,k,d){var _=d("ycre"),x=d("quyA"),C=d("q4HE");function A(b){return x(b)?C(b):_(b)}H.exports=A},Z1r0:function(H,k){function d(_){var x=_.findComponents({mainType:"legend"});if(!x||!x.length)return;_.eachSeriesByType("graph",function(C){var A=C.getCategoriesData(),b=C.getGraph(),m=b.data,p=A.mapArray(A.getName);m.filterSelf(function(c){var o=m.getItemModel(c),r=o.getShallow("category");if(r!=null){typeof r=="number"&&(r=p[r]);for(var i=0;i<x.length;i++)if(!x[i].isSelected(r))return!1}return!0})},this)}H.exports=d},Z1wy:function(H,k,d){var _=d("ProS");d("ThAp"),d("pmaE"),d("SehX"),d("7uqq");var x=d("zuHt"),C=d("VPsl"),A=d("9u0u"),b=d("lELe"),m=d("d4KN");_.registerLayout(x),_.registerVisual(C),_.registerProcessor(_.PRIORITY.PROCESSOR.STATISTIC,A),_.registerPreprocessor(b),m("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(H,k,d){var _=d("MwEJ"),x=d("T4UG"),C=x.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(A,b){return _(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}});H.exports=C},Z6rY:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},x=_;k.default=x},Z8zF:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("IwbS"),m=d("56rv"),p=m.setLabel,c=d("Qxkt"),o=d("tceW"),r=d("y+Vt"),i=d("4fz+"),n=d("iLNv"),t=n.throttle,s=d("sK/D"),e=s.createClipPath,a=d("wr5s"),l=["itemStyle","barBorderWidth"],u=[0,0];A.extend(c.prototype,o);function h(W,V){var z=W.getArea&&W.getArea();if(W.type==="cartesian2d"){var Y=W.getBaseAxis();if(Y.type!=="category"||!Y.onBand){var J=V.getLayout("bandWidth");Y.isHorizontal()?(z.x-=J,z.width+=J*2):(z.y-=J,z.height+=J*2)}}return z}var f=C.extendChartView({type:"bar",render:function(W,V,z){this._updateDrawMode(W);var Y=W.get("coordinateSystem");return(Y==="cartesian2d"||Y==="polar")&&(this._isLargeDraw?this._renderLarge(W,V,z):this._renderNormal(W,V,z)),this.group},incrementalPrepareRender:function(W,V,z){this._clear(),this._updateDrawMode(W)},incrementalRender:function(W,V,z,Y){this._incrementalRenderLarge(W,V)},_updateDrawMode:function(W){var V=W.pipelineContext.large;(this._isLargeDraw==null||V^this._isLargeDraw)&&(this._isLargeDraw=V,this._clear())},_renderNormal:function(W,V,z){var Y=this.group,J=W.getData(),ie=this._data,Z=W.coordinateSystem,oe=Z.getBaseAxis(),ge;Z.type==="cartesian2d"?ge=oe.isHorizontal():Z.type==="polar"&&(ge=oe.dim==="angle");var pe=W.isAnimationEnabled()?W:null,De=W.get("clip",!0),ce=h(Z,J);Y.removeClipPath();var Oe=W.get("roundCap",!0),se=W.get("showBackground",!0),$=W.getModel("backgroundStyle"),ze=$.get("barBorderRadius")||0,re=[],X=this._backgroundEls||[];J.diff(ie).add(function(ve){var de=J.getItemModel(ve),Ce=S[Z.type](J,ve,de);if(se){var we=S[Z.type](J,ve),le=j(Z,ge,we);le.useStyle($.getBarItemStyle()),Z.type==="cartesian2d"&&le.setShape("r",ze),re[ve]=le}if(!J.hasValue(ve))return;if(De){var fe=y[Z.type](ce,Ce);if(fe){Y.remove(xe);return}}var xe=E[Z.type](ve,Ce,ge,pe,!1,Oe);J.setItemGraphicEl(ve,xe),Y.add(xe),L(xe,J,ve,de,Ce,W,ge,Z.type==="polar")}).update(function(ve,de){var Ce=J.getItemModel(ve),we=S[Z.type](J,ve,Ce);if(se){var le=X[de];le.useStyle($.getBarItemStyle()),Z.type==="cartesian2d"&&le.setShape("r",ze),re[ve]=le;var fe=S[Z.type](J,ve),xe=F(ge,fe,Z);b.updateProps(le,{shape:xe},pe,ve)}var We=ie.getItemGraphicEl(de);if(!J.hasValue(ve)){Y.remove(We);return}if(De){var nt=y[Z.type](ce,we);if(nt){Y.remove(We);return}}We?b.updateProps(We,{shape:we},pe,ve):We=E[Z.type](ve,we,ge,pe,!0,Oe),J.setItemGraphicEl(ve,We),Y.add(We),L(We,J,ve,Ce,we,W,ge,Z.type==="polar")}).remove(function(ve){var de=ie.getItemGraphicEl(ve);Z.type==="cartesian2d"?de&&T(ve,pe,de):de&&w(ve,pe,de)}).execute();var G=this._backgroundGroup||(this._backgroundGroup=new i);G.removeAll();for(var Q=0;Q<re.length;++Q)G.add(re[Q]);Y.add(G),this._backgroundEls=re,this._data=J},_renderLarge:function(W,V,z){this._clear(),R(W,this.group);var Y=W.get("clip",!0)?e(W.coordinateSystem,!1,W):null;Y?this.group.setClipPath(Y):this.group.removeClipPath()},_incrementalRenderLarge:function(W,V){this._removeBackground(),R(V,this.group,!0)},dispose:A.noop,remove:function(W){this._clear(W)},_clear:function(W){var V=this.group,z=this._data;W&&W.get("animation")&&z&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],z.eachItemGraphicEl(function(Y){Y.type==="sector"?w(Y.dataIndex,W,Y):T(Y.dataIndex,W,Y)})):V.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),g=Math.max,v=Math.min,y={cartesian2d:function(W,V){var z=V.width<0?-1:1,Y=V.height<0?-1:1;z<0&&(V.x+=V.width,V.width=-V.width),Y<0&&(V.y+=V.height,V.height=-V.height);var J=g(V.x,W.x),ie=v(V.x+V.width,W.x+W.width),Z=g(V.y,W.y),oe=v(V.y+V.height,W.y+W.height);V.x=J,V.y=Z,V.width=ie-J,V.height=oe-Z;var ge=V.width<0||V.height<0;return z<0&&(V.x+=V.width,V.width=-V.width),Y<0&&(V.y+=V.height,V.height=-V.height),ge},polar:function(W){return!1}},E={cartesian2d:function(W,V,z,Y,J){var ie=new b.Rect({shape:A.extend({},V),z2:1});if(ie.name="item",Y){var Z=ie.shape,oe=z?"height":"width",ge={};Z[oe]=0,ge[oe]=V[oe],b[J?"updateProps":"initProps"](ie,{shape:ge},Y,W)}return ie},polar:function(W,V,z,Y,J,ie){var Z=V.startAngle<V.endAngle,oe=!z&&ie?a:b.Sector,ge=new oe({shape:A.defaults({clockwise:Z},V),z2:1});if(ge.name="item",Y){var pe=ge.shape,De=z?"r":"endAngle",ce={};pe[De]=z?0:V.startAngle,ce[De]=V[De],b[J?"updateProps":"initProps"](ge,{shape:ce},Y,W)}return ge}};function T(W,V,z){z.style.text=null,b.updateProps(z,{shape:{width:0}},V,W,function(){z.parent&&z.parent.remove(z)})}function w(W,V,z){z.style.text=null,b.updateProps(z,{shape:{r:z.shape.r0}},V,W,function(){z.parent&&z.parent.remove(z)})}var S={cartesian2d:function(W,V,z){var Y=W.getItemLayout(V),J=z?O(z,Y):0,ie=Y.width>0?1:-1,Z=Y.height>0?1:-1;return{x:Y.x+ie*J/2,y:Y.y+Z*J/2,width:Y.width-ie*J,height:Y.height-Z*J}},polar:function(W,V,z){var Y=W.getItemLayout(V);return{cx:Y.cx,cy:Y.cy,r0:Y.r0,r:Y.r,startAngle:Y.startAngle,endAngle:Y.endAngle}}};function I(W){return W.startAngle!=null&&W.endAngle!=null&&W.startAngle===W.endAngle}function L(W,V,z,Y,J,ie,Z,oe){var ge=V.getItemVisual(z,"color"),pe=V.getItemVisual(z,"opacity"),De=V.getVisual("borderColor"),ce=Y.getModel("itemStyle"),Oe=Y.getModel("emphasis.itemStyle").getBarItemStyle();oe||W.setShape("r",ce.get("barBorderRadius")||0),W.useStyle(A.defaults({stroke:I(J)?"none":De,fill:I(J)?"none":ge,opacity:pe},ce.getBarItemStyle()));var se=Y.getShallow("cursor");se&&W.attr("cursor",se);var $=Z?J.height>0?"bottom":"top":J.width>0?"left":"right";oe||p(W.style,Oe,Y,ge,ie,z,$),I(J)&&(Oe.fill=Oe.stroke="none"),b.setHoverStyle(W,Oe)}function O(W,V){var z=W.get(l)||0,Y=isNaN(V.width)?Number.MAX_VALUE:Math.abs(V.width),J=isNaN(V.height)?Number.MAX_VALUE:Math.abs(V.height);return Math.min(z,Y,J)}var N=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(W,V){for(var z=V.points,Y=this.__startPoint,J=this.__baseDimIdx,ie=0;ie<z.length;ie+=2)Y[J]=z[ie+J],W.moveTo(Y[0],Y[1]),W.lineTo(z[ie],z[ie+1])}});function R(W,V,z){var Y=W.getData(),J=[],ie=Y.getLayout("valueAxisHorizontal")?1:0;J[1-ie]=Y.getLayout("valueAxisStart");var Z=Y.getLayout("largeDataIndices"),oe=Y.getLayout("barWidth"),ge=W.getModel("backgroundStyle"),pe=W.get("showBackground",!0);if(pe){var De=Y.getLayout("largeBackgroundPoints"),ce=[];ce[1-ie]=Y.getLayout("backgroundStart");var Oe=new N({shape:{points:De},incremental:!!z,__startPoint:ce,__baseDimIdx:ie,__largeDataIndices:Z,__barWidth:oe,silent:!0,z2:0});U(Oe,ge,Y),V.add(Oe)}var se=new N({shape:{points:Y.getLayout("largePoints")},incremental:!!z,__startPoint:J,__baseDimIdx:ie,__largeDataIndices:Z,__barWidth:oe});V.add(se),M(se,W,Y),se.seriesIndex=W.seriesIndex,W.get("silent")||(se.on("mousedown",D),se.on("mousemove",D))}var D=t(function(W){var V=this,z=B(V,W.offsetX,W.offsetY);V.dataIndex=z>=0?z:null},30,!1);function B(W,V,z){var Y=W.__baseDimIdx,J=1-Y,ie=W.shape.points,Z=W.__largeDataIndices,oe=Math.abs(W.__barWidth/2),ge=W.__startPoint[J];u[0]=V,u[1]=z;for(var pe=u[Y],De=u[1-Y],ce=pe-oe,Oe=pe+oe,se=0,$=ie.length/2;se<$;se++){var ze=se*2,re=ie[ze+Y],X=ie[ze+J];if(re>=ce&&re<=Oe&&(ge<=X?De>=ge&&De<=X:De>=X&&De<=ge))return Z[se]}return-1}function M(W,V,z){var Y=z.getVisual("borderColor")||z.getVisual("color"),J=V.getModel("itemStyle").getItemStyle(["color","borderColor"]);W.useStyle(J),W.style.fill=null,W.style.stroke=Y,W.style.lineWidth=z.getLayout("barWidth")}function U(W,V,z){var Y=V.get("borderColor")||V.get("color"),J=V.getItemStyle(["color","borderColor"]);W.useStyle(J),W.style.fill=null,W.style.stroke=Y,W.style.lineWidth=z.getLayout("barWidth")}function F(W,V,z){var Y,J=z.type==="polar";return J?Y=z.getArea():Y=z.grid.getRect(),J?{cx:Y.cx,cy:Y.cy,r0:W?Y.r0:V.r0,r:W?Y.r:V.r,startAngle:W?V.startAngle:0,endAngle:W?V.endAngle:Math.PI*2}:{x:W?V.x:Y.x,y:W?Y.y:V.y,width:W?V.width:Y.width,height:W?Y.height:V.height}}function j(W,V,z){var Y=W.type==="polar"?b.Sector:b.Rect;return new Y({shape:F(V,z,W),silent:!0,z2:0})}H.exports=f},ZCgT:function(H,k,d){var _=d("tLB3"),x=1/0,C=17976931348623157e292;function A(b){if(!b)return b===0?b:0;if(b=_(b),b===x||b===-x){var m=b<0?-1:1;return m*C}return b===b?b:0}H.exports=A},ZLWo:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},ZMnZ:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("2oIt")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="UpOutlined";var c=A.forwardRef(p);k.default=c},ZTPi:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("q1tI"),m=d("rePB"),p=d("ODXe"),c=d("Ff2n"),o=d("VTBJ"),r=d("TSYQ"),i=d.n(r),n=d("Zm9Q"),t=d("6cGi"),s=d("KQm4"),e=d("xEkU"),a=d.n(e),l=d("t23M");function u(br){var Wr=Object(b.useRef)(),nn=Object(b.useRef)(!1);function Nr(){for(var jt=arguments.length,xr=new Array(jt),$t=0;$t<jt;$t++)xr[$t]=arguments[$t];nn.current||(a.a.cancel(Wr.current),Wr.current=a()(function(){br.apply(void 0,xr)}))}return Object(b.useEffect)(function(){return function(){nn.current=!0,a.a.cancel(Wr.current)}},[]),Nr}function h(br){var Wr=Object(b.useRef)([]),nn=Object(b.useState)({}),Nr=Object(p.a)(nn,2),jt=Nr[1],xr=Object(b.useRef)(typeof br=="function"?br():br),$t=u(function(){var Hr=xr.current;Wr.current.forEach(function(ln){Hr=ln(Hr)}),Wr.current=[],xr.current=Hr,jt({})});function jr(Hr){Wr.current.push(Hr),$t()}return[xr.current,jr]}var f=d("4IlW");function g(br,Wr){var nn,Nr=br.prefixCls,jt=br.id,xr=br.active,$t=br.rtl,jr=br.tab,Hr=jr.key,ln=jr.tab,qr=jr.disabled,fn=jr.closeIcon,Dn=br.tabBarGutter,li=br.tabPosition,di=br.closable,Ri=br.renderWrapper,la=br.removeAriaLabel,na=br.editable,ga=br.onClick,Fi=br.onRemove,Ni=br.onFocus,ia="".concat(Nr,"-tab");b.useEffect(function(){return Fi},[]);var Ji={};li==="top"||li==="bottom"?Ji[$t?"marginLeft":"marginRight"]=Dn:Ji.marginBottom=Dn;var ha=na&&di!==!1&&!qr;function Ta(Qn){if(qr)return;ga(Qn)}function Pa(Qn){Qn.preventDefault(),Qn.stopPropagation(),na.onEdit("remove",{key:Hr,event:Qn})}var bi=b.createElement("div",{key:Hr,ref:Wr,className:i()(ia,(nn={},Object(m.a)(nn,"".concat(ia,"-with-remove"),ha),Object(m.a)(nn,"".concat(ia,"-active"),xr),Object(m.a)(nn,"".concat(ia,"-disabled"),qr),nn)),style:Ji,onClick:Ta},b.createElement("div",{role:"tab","aria-selected":xr,id:jt&&"".concat(jt,"-tab-").concat(Hr),className:"".concat(ia,"-btn"),"aria-controls":jt&&"".concat(jt,"-panel-").concat(Hr),"aria-disabled":qr,tabIndex:qr?null:0,onClick:function(vi){vi.stopPropagation(),Ta(vi)},onKeyDown:function(vi){[f.a.SPACE,f.a.ENTER].includes(vi.which)&&(vi.preventDefault(),Ta(vi))},onFocus:Ni},ln),ha&&b.createElement("button",{type:"button","aria-label":la||"remove",tabIndex:0,className:"".concat(ia,"-remove"),onClick:function(vi){vi.stopPropagation(),Pa(vi)}},fn||na.removeIcon||"\xD7"));return Ri&&(bi=Ri(bi)),bi}var v=b.forwardRef(g),y={width:0,height:0,left:0,top:0};function E(br,Wr,nn){return Object(b.useMemo)(function(){for(var Nr,jt=new Map,xr=Wr.get((Nr=br[0])===null||Nr===void 0?void 0:Nr.key)||y,$t=xr.left+xr.width,jr=0;jr<br.length;jr+=1){var Hr=br[jr].key,ln=Wr.get(Hr);if(!ln){var qr;ln=Wr.get((qr=br[jr-1])===null||qr===void 0?void 0:qr.key)||y}var fn=jt.get(Hr)||Object(o.a)({},ln);fn.right=$t-fn.left-fn.width,jt.set(Hr,fn)}return jt},[br.map(function(Nr){return Nr.key}).join("_"),Wr,nn])}var T={width:0,height:0,left:0,top:0,right:0};function w(br,Wr,nn,Nr,jt){var xr=jt.tabs,$t=jt.tabPosition,jr=jt.rtl,Hr,ln,qr;["top","bottom"].includes($t)?(Hr="width",ln=jr?"right":"left",qr=Math.abs(Wr.left)):(Hr="height",ln="top",qr=-Wr.top);var fn=Wr[Hr],Dn=nn[Hr],li=Nr[Hr],di=fn;return Dn+li>fn&&(di=fn-li),Object(b.useMemo)(function(){if(!xr.length)return[0,0];for(var Ri=xr.length,la=Ri,na=0;na<Ri;na+=1){var ga=br.get(xr[na].key)||T;if(ga[ln]+ga[Hr]>qr+di){la=na-1;break}}for(var Fi=0,Ni=Ri-1;Ni>=0;Ni-=1){var ia=br.get(xr[Ni].key)||T;if(ia[ln]<qr){Fi=Ni+1;break}}return[Fi,la]},[br,qr,di,$t,xr.map(function(Ri){return Ri.key}).join("_"),jr])}var S=d("wx14"),I=d("1OyB"),L=d("vuIU"),O=d("JX7q"),N=d("Ji7U"),R=d("LK+K"),D=d("I8Z2"),B=d("bT9E"),M=d("2GS6"),U=d("Gytx"),F=d.n(U),j=d("U8pU"),W=/iPhone/i,V=/iPod/i,z=/iPad/i,Y=/\bAndroid(?:.+)Mobile\b/i,J=/Android/i,ie=/\bAndroid(?:.+)SD4930UR\b/i,Z=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,oe=/Windows Phone/i,ge=/\bWindows(?:.+)ARM\b/i,pe=/BlackBerry/i,De=/BB10/i,ce=/Opera Mini/i,Oe=/\b(CriOS|Chrome)(?:.+)Mobile/i,se=/Mobile(?:.+)Firefox\b/i;function $(br,Wr){return br.test(Wr)}function ze(br){var Wr=br||(typeof navigator!="undefined"?navigator.userAgent:""),nn=(Wr||"").split("[FBAN");if(typeof nn[1]!="undefined"){var Nr=nn,jt=Object(p.a)(Nr,1);Wr=jt[0]}if(nn=Wr.split("Twitter"),typeof nn[1]!="undefined"){var xr=nn,$t=Object(p.a)(xr,1);Wr=$t[0]}var jr={apple:{phone:$(W,Wr)&&!$(oe,Wr),ipod:$(V,Wr),tablet:!$(W,Wr)&&$(z,Wr)&&!$(oe,Wr),device:($(W,Wr)||$(V,Wr)||$(z,Wr))&&!$(oe,Wr)},amazon:{phone:$(ie,Wr),tablet:!$(ie,Wr)&&$(Z,Wr),device:$(ie,Wr)||$(Z,Wr)},android:{phone:!$(oe,Wr)&&$(ie,Wr)||!$(oe,Wr)&&$(Y,Wr),tablet:!$(oe,Wr)&&!$(ie,Wr)&&!$(Y,Wr)&&($(Z,Wr)||$(J,Wr)),device:!$(oe,Wr)&&($(ie,Wr)||$(Z,Wr)||$(Y,Wr)||$(J,Wr))||$(/\bokhttp\b/i,Wr)},windows:{phone:$(oe,Wr),tablet:$(ge,Wr),device:$(oe,Wr)||$(ge,Wr)},other:{blackberry:$(pe,Wr),blackberry10:$(De,Wr),opera:$(ce,Wr),firefox:$(se,Wr),chrome:$(Oe,Wr),device:$(pe,Wr)||$(De,Wr)||$(ce,Wr)||$(se,Wr)||$(Oe,Wr)},any:null,phone:null,tablet:null};return jr.any=jr.apple.device||jr.android.device||jr.windows.device||jr.other.device,jr.phone=jr.apple.phone||jr.android.phone||jr.windows.phone,jr.tablet=jr.apple.tablet||jr.android.tablet||jr.windows.tablet,jr}var re=Object(o.a)(Object(o.a)({},ze()),{},{isMobile:ze}),X=re;function G(){}function Q(br,Wr,nn){var Nr=Wr||"";return br.key||"".concat(Nr,"item_").concat(nn)}function ve(br){return"".concat(br,"-menu-")}function de(br,Wr){var nn=-1;b.Children.forEach(br,function(Nr){nn+=1,Nr&&Nr.type&&Nr.type.isMenuItemGroup?b.Children.forEach(Nr.props.children,function(jt){nn+=1,Wr(jt,nn)}):Wr(Nr,nn)})}function Ce(br,Wr,nn){if(!br||nn.find)return;b.Children.forEach(br,function(Nr){if(Nr){var jt=Nr.type;if(!jt||!(jt.isSubMenu||jt.isMenuItem||jt.isMenuItemGroup))return;Wr.indexOf(Nr.key)!==-1?nn.find=!0:Nr.props.children&&Ce(Nr.props.children,Wr,nn)}})}var we=["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"],le=function(Wr){var nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nr=Wr&&typeof Wr.getBoundingClientRect=="function"&&Wr.getBoundingClientRect().width;if(Nr){if(nn){var jt=getComputedStyle(Wr),xr=jt.marginLeft,$t=jt.marginRight;Nr+=+xr.replace("px","")+ +$t.replace("px","")}Nr=+Nr.toFixed(6)}return Nr||0},fe=function(Wr,nn,Nr){Wr&&Object(j.a)(Wr.style)==="object"&&(Wr.style[nn]=Nr)},xe=function(){return X.any},We=d("bdgK"),nt=d("i8i4"),$e=d.n(nt),Le=d("wgJM"),pt=d("l4aY"),Qe=d("m+aA"),gt=d("c+Xe"),wt=d("zT1h"),Et=d("QC+M");function _t(br,Wr,nn){return nn?br[0]===Wr[0]:br[0]===Wr[0]&&br[1]===Wr[1]}function Ht(br,Wr,nn){var Nr=br[Wr]||{};return Object(o.a)(Object(o.a)({},Nr),nn)}function Ze(br,Wr,nn,Nr){for(var jt=nn.points,xr=Object.keys(br),$t=0;$t<xr.length;$t+=1){var jr=xr[$t];if(_t(br[jr].points,jt,Nr))return"".concat(Wr,"-placement-").concat(jr)}return""}var ye=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var br=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(br)||/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(br==null?void 0:br.substr(0,4)))},ae=d("MNnm");function yt(br,Wr){var nn={};return nn[br.toLowerCase()]=Wr.toLowerCase(),nn["Webkit".concat(br)]="webkit".concat(Wr),nn["Moz".concat(br)]="moz".concat(Wr),nn["ms".concat(br)]="MS".concat(Wr),nn["O".concat(br)]="o".concat(Wr.toLowerCase()),nn}function et(br,Wr){var nn={animationend:yt("Animation","AnimationEnd"),transitionend:yt("Transition","TransitionEnd")};return br&&("AnimationEvent"in Wr||delete nn.animationend.animation,"TransitionEvent"in Wr||delete nn.transitionend.transition),nn}var me=et(Object(ae.a)(),typeof window!="undefined"?window:{}),Gt={};if(Object(ae.a)()){var rr=document.createElement("div");Gt=rr.style}var ut={};function Xt(br){if(ut[br])return ut[br];var Wr=me[br];if(Wr)for(var nn=Object.keys(Wr),Nr=nn.length,jt=0;jt<Nr;jt+=1){var xr=nn[jt];if(Object.prototype.hasOwnProperty.call(Wr,xr)&&xr in Gt)return ut[br]=Wr[xr],ut[br]}return""}var ur=Xt("animationend"),Fr=Xt("transitionend"),er=!!(ur&&Fr),nr=ur||"animationend",Lt=Fr||"transitionend";function at(br,Wr){if(!br)return null;if(Object(j.a)(br)==="object"){var nn=Wr.replace(/-\w/g,function(Nr){return Nr[1].toUpperCase()});return br[nn]}return"".concat(br,"-").concat(Wr)}var Je="none",qt="appear",Sr="enter",yr="leave",fr="none",yn="prepare",Jr="start",Ln="active",Nt="end",Ve=d("dm2S"),_e=function(){var br=b.useRef(null);function Wr(){Le.a.cancel(br.current)}function nn(Nr){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Wr();var xr=Object(Le.a)(function(){jt<=1?Nr({isCanceled:function(){return xr!==br.current}}):nn(Nr,jt-1)});br.current=xr}return b.useEffect(function(){return function(){Wr()}},[]),[nn,Wr]},ke=Object(ae.a)()?b.useLayoutEffect:b.useEffect,Pe=ke,rt=[yn,Jr,Ln,Nt],Pt=!1,Yt=!0;function kt(br){return br===Ln||br===Nt}var _r=function(br,Wr){var nn=Object(Ve.a)(fr),Nr=Object(p.a)(nn,2),jt=Nr[0],xr=Nr[1],$t=_e(),jr=Object(p.a)($t,2),Hr=jr[0],ln=jr[1];function qr(){xr(yn,!0)}return Pe(function(){if(jt!==fr&&jt!==Nt){var fn=rt.indexOf(jt),Dn=rt[fn+1],li=Wr(jt);li===Pt?xr(Dn,!0):Hr(function(di){function Ri(){if(di.isCanceled())return;xr(Dn,!0)}li===!0?Ri():Promise.resolve(li).then(Ri)})}},[br,jt]),b.useEffect(function(){return function(){ln()}},[]),[qr,jt]},Rr=function(br){var Wr=Object(b.useRef)(),nn=Object(b.useRef)(br);nn.current=br;var Nr=b.useCallback(function($t){nn.current($t)},[]);function jt($t){$t&&($t.removeEventListener(Lt,Nr),$t.removeEventListener(nr,Nr))}function xr($t){Wr.current&&Wr.current!==$t&&jt(Wr.current),$t&&$t!==Wr.current&&($t.addEventListener(Lt,Nr),$t.addEventListener(nr,Nr),Wr.current=$t)}return b.useEffect(function(){return function(){jt(Wr.current)}},[]),[xr,jt]};function un(br,Wr,nn,Nr){var jt=Nr.motionEnter,xr=jt===void 0?!0:jt,$t=Nr.motionAppear,jr=$t===void 0?!0:$t,Hr=Nr.motionLeave,ln=Hr===void 0?!0:Hr,qr=Nr.motionDeadline,fn=Nr.motionLeaveImmediately,Dn=Nr.onAppearPrepare,li=Nr.onEnterPrepare,di=Nr.onLeavePrepare,Ri=Nr.onAppearStart,la=Nr.onEnterStart,na=Nr.onLeaveStart,ga=Nr.onAppearActive,Fi=Nr.onEnterActive,Ni=Nr.onLeaveActive,ia=Nr.onAppearEnd,Ji=Nr.onEnterEnd,ha=Nr.onLeaveEnd,Ta=Nr.onVisibleChanged,Pa=Object(Ve.a)(),bi=Object(p.a)(Pa,2),Qn=bi[0],vi=bi[1],Ai=Object(Ve.a)(Je),Gi=Object(p.a)(Ai,2),Oi=Gi[0],pa=Gi[1],Ma=Object(Ve.a)(null),fa=Object(p.a)(Ma,2),ua=fa[0],ra=fa[1],Ra=Object(b.useRef)(!1),eo=Object(b.useRef)(null);function qi(){return nn()}var qa=Object(b.useRef)(!1);function Ya(Ha){var Na=qi();if(Ha&&!Ha.deadline&&Ha.target!==Na)return;var oo=qa.current,Ga;Oi===qt&&oo?Ga=ia==null?void 0:ia(Na,Ha):Oi===Sr&&oo?Ga=Ji==null?void 0:Ji(Na,Ha):Oi===yr&&oo&&(Ga=ha==null?void 0:ha(Na,Ha)),Oi!==Je&&oo&&Ga!==!1&&(pa(Je,!0),ra(null,!0))}var Ka=Rr(Ya),ao=Object(p.a)(Ka,1),Va=ao[0],Ba=b.useMemo(function(){var Ha,Na,oo;switch(Oi){case qt:return Ha={},Object(m.a)(Ha,yn,Dn),Object(m.a)(Ha,Jr,Ri),Object(m.a)(Ha,Ln,ga),Ha;case Sr:return Na={},Object(m.a)(Na,yn,li),Object(m.a)(Na,Jr,la),Object(m.a)(Na,Ln,Fi),Na;case yr:return oo={},Object(m.a)(oo,yn,di),Object(m.a)(oo,Jr,na),Object(m.a)(oo,Ln,Ni),oo;default:return{}}},[Oi]),go=_r(Oi,function(Ha){if(Ha===yn){var Na=Ba[yn];return Na?Na(qi()):Pt}if(to in Ba){var oo;ra(((oo=Ba[to])===null||oo===void 0?void 0:oo.call(Ba,qi(),null))||null)}return to===Ln&&(Va(qi()),qr>0&&(clearTimeout(eo.current),eo.current=setTimeout(function(){Ya({deadline:!0})},qr))),Yt}),so=Object(p.a)(go,2),vo=so[0],to=so[1],ro=kt(to);qa.current=ro,Pe(function(){vi(Wr);var Ha=Ra.current;if(Ra.current=!0,!br)return;var Na;!Ha&&Wr&&jr&&(Na=qt),Ha&&Wr&&xr&&(Na=Sr),(Ha&&!Wr&&ln||!Ha&&fn&&!Wr&&ln)&&(Na=yr),Na&&(pa(Na),vo())},[Wr]),Object(b.useEffect)(function(){(Oi===qt&&!jr||Oi===Sr&&!xr||Oi===yr&&!ln)&&pa(Je)},[jr,xr,ln]),Object(b.useEffect)(function(){return function(){Ra.current=!1,clearTimeout(eo.current)}},[]),Object(b.useEffect)(function(){Qn!==void 0&&Oi===Je&&(Ta==null||Ta(Qn))},[Qn,Oi]);var Ca=ua;return Ba[yn]&&to===Jr&&(Ca=Object(o.a)({transition:"none"},Ca)),[Oi,to,Ca,Qn!=null?Qn:Wr]}var Ut=function(br){Object(N.a)(nn,br);var Wr=Object(R.a)(nn);function nn(){return Object(I.a)(this,nn),Wr.apply(this,arguments)}return Object(L.a)(nn,[{key:"render",value:function(){return this.props.children}}]),nn}(b.Component),ht=Ut;function ot(br){var Wr=br;Object(j.a)(br)==="object"&&(Wr=br.transitionSupport);function nn(jt){return!!(jt.motionName&&Wr)}var Nr=b.forwardRef(function(jt,xr){var $t=jt.visible,jr=$t===void 0?!0:$t,Hr=jt.removeOnLeave,ln=Hr===void 0?!0:Hr,qr=jt.forceRender,fn=jt.children,Dn=jt.motionName,li=jt.leavedClassName,di=jt.eventProps,Ri=nn(jt),la=Object(b.useRef)(),na=Object(b.useRef)();function ga(){try{return la.current instanceof HTMLElement?la.current:Object(Qe.a)(na.current)}catch(Ma){return null}}var Fi=un(Ri,jr,ga,jt),Ni=Object(p.a)(Fi,4),ia=Ni[0],Ji=Ni[1],ha=Ni[2],Ta=Ni[3],Pa=b.useRef(Ta);Ta&&(Pa.current=!0);var bi=b.useCallback(function(Ma){la.current=Ma,Object(gt.b)(xr,Ma)},[xr]),Qn,vi=Object(o.a)(Object(o.a)({},di),{},{visible:jr});if(!fn)Qn=null;else if(ia===Je||!nn(jt))Ta?Qn=fn(Object(o.a)({},vi),bi):!ln&&Pa.current?Qn=fn(Object(o.a)(Object(o.a)({},vi),{},{className:li}),bi):qr?Qn=fn(Object(o.a)(Object(o.a)({},vi),{},{style:{display:"none"}}),bi):Qn=null;else{var Ai,Gi;Ji===yn?Gi="prepare":kt(Ji)?Gi="active":Ji===Jr&&(Gi="start"),Qn=fn(Object(o.a)(Object(o.a)({},vi),{},{className:i()(at(Dn,ia),(Ai={},Object(m.a)(Ai,at(Dn,"".concat(ia,"-").concat(Gi)),Gi),Object(m.a)(Ai,Dn,typeof Dn=="string"),Ai)),style:ha}),bi)}if(b.isValidElement(Qn)&&Object(gt.c)(Qn)){var Oi=Qn,pa=Oi.ref;pa||(Qn=b.cloneElement(Qn,{ref:bi}))}return b.createElement(ht,{ref:na},Qn)});return Nr.displayName="CSSMotion",Nr}var Wt=ot(er),Jt="add",At="keep",Bt="remove",mt="removed";function Mt(br){var Wr;return br&&Object(j.a)(br)==="object"&&"key"in br?Wr=br:Wr={key:br},Object(o.a)(Object(o.a)({},Wr),{},{key:String(Wr.key)})}function hr(){var br=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return br.map(Mt)}function or(){var br=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],nn=[],Nr=0,jt=Wr.length,xr=hr(br),$t=hr(Wr);xr.forEach(function(ln){for(var qr=!1,fn=Nr;fn<jt;fn+=1){var Dn=$t[fn];if(Dn.key===ln.key){Nr<fn&&(nn=nn.concat($t.slice(Nr,fn).map(function(li){return Object(o.a)(Object(o.a)({},li),{},{status:Jt})})),Nr=fn),nn.push(Object(o.a)(Object(o.a)({},Dn),{},{status:At})),Nr+=1,qr=!0;break}}qr||nn.push(Object(o.a)(Object(o.a)({},ln),{},{status:Bt}))}),Nr<jt&&(nn=nn.concat($t.slice(Nr).map(function(ln){return Object(o.a)(Object(o.a)({},ln),{},{status:Jt})})));var jr={};nn.forEach(function(ln){var qr=ln.key;jr[qr]=(jr[qr]||0)+1});var Hr=Object.keys(jr).filter(function(ln){return jr[ln]>1});return Hr.forEach(function(ln){nn=nn.filter(function(qr){var fn=qr.key,Dn=qr.status;return fn!==ln||Dn!==Bt}),nn.forEach(function(qr){qr.key===ln&&(qr.status=At)})}),nn}var ar=["component","children","onVisibleChanged","onAllRemoved"],Gr=["status"],Yr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function In(br){var Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Wt,nn=function(Nr){Object(N.a)(xr,Nr);var jt=Object(R.a)(xr);function xr(){var $t;Object(I.a)(this,xr);for(var jr=arguments.length,Hr=new Array(jr),ln=0;ln<jr;ln++)Hr[ln]=arguments[ln];return $t=jt.call.apply(jt,[this].concat(Hr)),$t.state={keyEntities:[]},$t.removeKey=function(qr){var fn=$t.state.keyEntities,Dn=fn.map(function(li){return li.key!==qr?li:Object(o.a)(Object(o.a)({},li),{},{status:mt})});return $t.setState({keyEntities:Dn}),Dn.filter(function(li){var di=li.status;return di!==mt}).length},$t}return Object(L.a)(xr,[{key:"render",value:function(){var jr=this,Hr=this.state.keyEntities,ln=this.props,qr=ln.component,fn=ln.children,Dn=ln.onVisibleChanged,li=ln.onAllRemoved,di=Object(c.a)(ln,ar),Ri=qr||b.Fragment,la={};return Yr.forEach(function(na){la[na]=di[na],delete di[na]}),delete di.keys,b.createElement(Ri,di,Hr.map(function(na){var ga=na.status,Fi=Object(c.a)(na,Gr),Ni=ga===Jt||ga===At;return b.createElement(Wr,Object(S.a)({},la,{key:Fi.key,visible:Ni,eventProps:Fi,onVisibleChanged:function(Ji){if(Dn==null||Dn(Ji,{key:Fi.key}),!Ji){var ha=jr.removeKey(Fi.key);ha===0&&li&&li()}}}),fn)}))}}],[{key:"getDerivedStateFromProps",value:function(jr,Hr){var ln=jr.keys,qr=Hr.keyEntities,fn=hr(ln),Dn=or(qr,fn);return{keyEntities:Dn.filter(function(li){var di=qr.find(function(Ri){var la=Ri.key;return li.key===la});return!(di&&di.status===mt&&li.status===Bt)})}}}]),xr}(b.Component);return nn.defaultProps={component:"div"},nn}var Nn=In(er),Kn=Wt;function $n(br){var Wr=br.prefixCls,nn=br.motion,Nr=br.animation,jt=br.transitionName;return nn||(Nr?{motionName:"".concat(Wr,"-").concat(Nr)}:jt?{motionName:jt}:null)}function Ii(br){var Wr=br.prefixCls,nn=br.visible,Nr=br.zIndex,jt=br.mask,xr=br.maskMotion,$t=br.maskAnimation,jr=br.maskTransitionName;if(!jt)return null;var Hr={};return(xr||jr||$t)&&(Hr=Object(o.a)({motionAppear:!0},$n({motion:xr,prefixCls:Wr,transitionName:jr,animation:$t}))),b.createElement(Kn,Object(S.a)({},Hr,{visible:nn,removeOnLeave:!0}),function(ln){var qr=ln.className;return b.createElement("div",{style:{zIndex:Nr},className:i()("".concat(Wr,"-mask"),qr)})})}var Mi=d("9mu1"),Xe=d("TNol");function Ie(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ie=function(){return br};var br={},Wr=Object.prototype,nn=Wr.hasOwnProperty,Nr=typeof Symbol=="function"?Symbol:{},jt=Nr.iterator||"@@iterator",xr=Nr.asyncIterator||"@@asyncIterator",$t=Nr.toStringTag||"@@toStringTag";function jr(bi,Qn,vi){return Object.defineProperty(bi,Qn,{value:vi,enumerable:!0,configurable:!0,writable:!0}),bi[Qn]}try{jr({},"")}catch(bi){jr=function(vi,Ai,Gi){return vi[Ai]=Gi}}function Hr(bi,Qn,vi,Ai){var Gi=Qn&&Qn.prototype instanceof fn?Qn:fn,Oi=Object.create(Gi.prototype),pa=new ha(Ai||[]);return Oi._invoke=function(Ma,fa,ua){var ra="suspendedStart";return function(Ra,eo){if(ra==="executing")throw new Error("Generator is already running");if(ra==="completed"){if(Ra==="throw")throw eo;return Pa()}for(ua.method=Ra,ua.arg=eo;;){var qi=ua.delegate;if(qi){var qa=Ni(qi,ua);if(qa){if(qa===qr)continue;return qa}}if(ua.method==="next")ua.sent=ua._sent=ua.arg;else if(ua.method==="throw"){if(ra==="suspendedStart")throw ra="completed",ua.arg;ua.dispatchException(ua.arg)}else ua.method==="return"&&ua.abrupt("return",ua.arg);ra="executing";var Ya=ln(Ma,fa,ua);if(Ya.type==="normal"){if(ra=ua.done?"completed":"suspendedYield",Ya.arg===qr)continue;return{value:Ya.arg,done:ua.done}}Ya.type==="throw"&&(ra="completed",ua.method="throw",ua.arg=Ya.arg)}}}(bi,vi,pa),Oi}function ln(bi,Qn,vi){try{return{type:"normal",arg:bi.call(Qn,vi)}}catch(Ai){return{type:"throw",arg:Ai}}}br.wrap=Hr;var qr={};function fn(){}function Dn(){}function li(){}var di={};jr(di,jt,function(){return this});var Ri=Object.getPrototypeOf,la=Ri&&Ri(Ri(Ta([])));la&&la!==Wr&&nn.call(la,jt)&&(di=la);var na=li.prototype=fn.prototype=Object.create(di);function ga(bi){["next","throw","return"].forEach(function(Qn){jr(bi,Qn,function(vi){return this._invoke(Qn,vi)})})}function Fi(bi,Qn){function vi(Gi,Oi,pa,Ma){var fa=ln(bi[Gi],bi,Oi);if(fa.type!=="throw"){var ua=fa.arg,ra=ua.value;return ra&&Object(j.a)(ra)=="object"&&nn.call(ra,"__await")?Qn.resolve(ra.__await).then(function(Ra){vi("next",Ra,pa,Ma)},function(Ra){vi("throw",Ra,pa,Ma)}):Qn.resolve(ra).then(function(Ra){ua.value=Ra,pa(ua)},function(Ra){return vi("throw",Ra,pa,Ma)})}Ma(fa.arg)}var Ai;this._invoke=function(Gi,Oi){function pa(){return new Qn(function(Ma,fa){vi(Gi,Oi,Ma,fa)})}return Ai=Ai?Ai.then(pa,pa):pa()}}function Ni(bi,Qn){var vi=bi.iterator[Qn.method];if(vi===void 0){if(Qn.delegate=null,Qn.method==="throw"){if(bi.iterator.return&&(Qn.method="return",Qn.arg=void 0,Ni(bi,Qn),Qn.method==="throw"))return qr;Qn.method="throw",Qn.arg=new TypeError("The iterator does not provide a 'throw' method")}return qr}var Ai=ln(vi,bi.iterator,Qn.arg);if(Ai.type==="throw")return Qn.method="throw",Qn.arg=Ai.arg,Qn.delegate=null,qr;var Gi=Ai.arg;return Gi?Gi.done?(Qn[bi.resultName]=Gi.value,Qn.next=bi.nextLoc,Qn.method!=="return"&&(Qn.method="next",Qn.arg=void 0),Qn.delegate=null,qr):Gi:(Qn.method="throw",Qn.arg=new TypeError("iterator result is not an object"),Qn.delegate=null,qr)}function ia(bi){var Qn={tryLoc:bi[0]};1 in bi&&(Qn.catchLoc=bi[1]),2 in bi&&(Qn.finallyLoc=bi[2],Qn.afterLoc=bi[3]),this.tryEntries.push(Qn)}function Ji(bi){var Qn=bi.completion||{};Qn.type="normal",delete Qn.arg,bi.completion=Qn}function ha(bi){this.tryEntries=[{tryLoc:"root"}],bi.forEach(ia,this),this.reset(!0)}function Ta(bi){if(bi){var Qn=bi[jt];if(Qn)return Qn.call(bi);if(typeof bi.next=="function")return bi;if(!isNaN(bi.length)){var vi=-1,Ai=function Gi(){for(;++vi<bi.length;)if(nn.call(bi,vi))return Gi.value=bi[vi],Gi.done=!1,Gi;return Gi.value=void 0,Gi.done=!0,Gi};return Ai.next=Ai}}return{next:Pa}}function Pa(){return{value:void 0,done:!0}}return Dn.prototype=li,jr(na,"constructor",li),jr(li,"constructor",Dn),Dn.displayName=jr(li,$t,"GeneratorFunction"),br.isGeneratorFunction=function(bi){var Qn=typeof bi=="function"&&bi.constructor;return!!Qn&&(Qn===Dn||(Qn.displayName||Qn.name)==="GeneratorFunction")},br.mark=function(bi){return Object.setPrototypeOf?Object.setPrototypeOf(bi,li):(bi.__proto__=li,jr(bi,$t,"GeneratorFunction")),bi.prototype=Object.create(na),bi},br.awrap=function(bi){return{__await:bi}},ga(Fi.prototype),jr(Fi.prototype,xr,function(){return this}),br.AsyncIterator=Fi,br.async=function(bi,Qn,vi,Ai,Gi){Gi===void 0&&(Gi=Promise);var Oi=new Fi(Hr(bi,Qn,vi,Ai),Gi);return br.isGeneratorFunction(Qn)?Oi:Oi.next().then(function(pa){return pa.done?pa.value:Oi.next()})},ga(na),jr(na,$t,"Generator"),jr(na,jt,function(){return this}),jr(na,"toString",function(){return"[object Generator]"}),br.keys=function(bi){var Qn=[];for(var vi in bi)Qn.push(vi);return Qn.reverse(),function Ai(){for(;Qn.length;){var Gi=Qn.pop();if(Gi in bi)return Ai.value=Gi,Ai.done=!1,Ai}return Ai.done=!0,Ai}},br.values=Ta,ha.prototype={constructor:ha,reset:function(Qn){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(Ji),!Qn)for(var vi in this)vi.charAt(0)==="t"&&nn.call(this,vi)&&!isNaN(+vi.slice(1))&&(this[vi]=void 0)},stop:function(){this.done=!0;var Qn=this.tryEntries[0].completion;if(Qn.type==="throw")throw Qn.arg;return this.rval},dispatchException:function(Qn){if(this.done)throw Qn;var vi=this;function Ai(ua,ra){return pa.type="throw",pa.arg=Qn,vi.next=ua,ra&&(vi.method="next",vi.arg=void 0),!!ra}for(var Gi=this.tryEntries.length-1;Gi>=0;--Gi){var Oi=this.tryEntries[Gi],pa=Oi.completion;if(Oi.tryLoc==="root")return Ai("end");if(Oi.tryLoc<=this.prev){var Ma=nn.call(Oi,"catchLoc"),fa=nn.call(Oi,"finallyLoc");if(Ma&&fa){if(this.prev<Oi.catchLoc)return Ai(Oi.catchLoc,!0);if(this.prev<Oi.finallyLoc)return Ai(Oi.finallyLoc)}else if(Ma){if(this.prev<Oi.catchLoc)return Ai(Oi.catchLoc,!0)}else{if(!fa)throw new Error("try statement without catch or finally");if(this.prev<Oi.finallyLoc)return Ai(Oi.finallyLoc)}}}},abrupt:function(Qn,vi){for(var Ai=this.tryEntries.length-1;Ai>=0;--Ai){var Gi=this.tryEntries[Ai];if(Gi.tryLoc<=this.prev&&nn.call(Gi,"finallyLoc")&&this.prev<Gi.finallyLoc){var Oi=Gi;break}}Oi&&(Qn==="break"||Qn==="continue")&&Oi.tryLoc<=vi&&vi<=Oi.finallyLoc&&(Oi=null);var pa=Oi?Oi.completion:{};return pa.type=Qn,pa.arg=vi,Oi?(this.method="next",this.next=Oi.finallyLoc,qr):this.complete(pa)},complete:function(Qn,vi){if(Qn.type==="throw")throw Qn.arg;return Qn.type==="break"||Qn.type==="continue"?this.next=Qn.arg:Qn.type==="return"?(this.rval=this.arg=Qn.arg,this.method="return",this.next="end"):Qn.type==="normal"&&vi&&(this.next=vi),qr},finish:function(Qn){for(var vi=this.tryEntries.length-1;vi>=0;--vi){var Ai=this.tryEntries[vi];if(Ai.finallyLoc===Qn)return this.complete(Ai.completion,Ai.afterLoc),Ji(Ai),qr}},catch:function(Qn){for(var vi=this.tryEntries.length-1;vi>=0;--vi){var Ai=this.tryEntries[vi];if(Ai.tryLoc===Qn){var Gi=Ai.completion;if(Gi.type==="throw"){var Oi=Gi.arg;Ji(Ai)}return Oi}}throw new Error("illegal catch attempt")},delegateYield:function(Qn,vi,Ai){return this.delegate={iterator:Ta(Qn),resultName:vi,nextLoc:Ai},this.method==="next"&&(this.arg=void 0),qr}},br}var Be=d("HaE+"),Fe=["measure","alignPre","align",null,"motion"],Ge=function(br,Wr){var nn=Object(Ve.a)(null),Nr=Object(p.a)(nn,2),jt=Nr[0],xr=Nr[1],$t=Object(b.useRef)();function jr(qr){xr(qr,!0)}function Hr(){Le.a.cancel($t.current)}function ln(qr){Hr(),$t.current=Object(Le.a)(function(){jr(function(fn){switch(jt){case"align":return"motion";case"motion":return"stable";default:}return fn}),qr==null||qr()})}return Object(b.useEffect)(function(){jr("measure")},[br]),Object(b.useEffect)(function(){switch(jt){case"measure":Wr();break;default:}jt&&($t.current=Object(Le.a)(Object(Be.a)(Ie().mark(function qr(){var fn,Dn;return Ie().wrap(function(di){for(;;)switch(di.prev=di.next){case 0:fn=Fe.indexOf(jt),Dn=Fe[fn+1],Dn&&fn!==-1&&jr(Dn);case 3:case"end":return di.stop()}},qr)}))))},[jt]),Object(b.useEffect)(function(){return function(){Hr()}},[]),[jt,ln]},Ke=function(br){var Wr=b.useState({width:0,height:0}),nn=Object(p.a)(Wr,2),Nr=nn[0],jt=nn[1];function xr(jr){jt({width:jr.offsetWidth,height:jr.offsetHeight})}var $t=b.useMemo(function(){var jr={};if(br){var Hr=Nr.width,ln=Nr.height;br.indexOf("height")!==-1&&ln?jr.height=ln:br.indexOf("minHeight")!==-1&&ln&&(jr.minHeight=ln),br.indexOf("width")!==-1&&Hr?jr.width=Hr:br.indexOf("minWidth")!==-1&&Hr&&(jr.minWidth=Hr)}return jr},[br,Nr]);return[$t,xr]},qe=b.forwardRef(function(br,Wr){var nn=br.visible,Nr=br.prefixCls,jt=br.className,xr=br.style,$t=br.children,jr=br.zIndex,Hr=br.stretch,ln=br.destroyPopupOnHide,qr=br.forceRender,fn=br.align,Dn=br.point,li=br.getRootDomNode,di=br.getClassNameFromAlign,Ri=br.onAlign,la=br.onMouseEnter,na=br.onMouseLeave,ga=br.onMouseDown,Fi=br.onTouchStart,Ni=br.onClick,ia=Object(b.useRef)(),Ji=Object(b.useRef)(),ha=Object(b.useState)(),Ta=Object(p.a)(ha,2),Pa=Ta[0],bi=Ta[1],Qn=Ke(Hr),vi=Object(p.a)(Qn,2),Ai=vi[0],Gi=vi[1];function Oi(){Hr&&Gi(li())}var pa=Ge(nn,Oi),Ma=Object(p.a)(pa,2),fa=Ma[0],ua=Ma[1],ra=Object(b.useState)(0),Ra=Object(p.a)(ra,2),eo=Ra[0],qi=Ra[1],qa=Object(b.useRef)();Object(Xe.a)(function(){fa==="alignPre"&&qi(0)},[fa]);function Ya(){return Dn||li}function Ka(){var to;(to=ia.current)===null||to===void 0||to.forceAlign()}function ao(to,ro){var Ca=di(ro);Pa!==Ca&&bi(Ca),qi(function(Ha){return Ha+1}),fa==="align"&&(Ri==null||Ri(to,ro))}Object(Xe.a)(function(){fa==="align"&&(eo<2?Ka():ua(function(){var to;(to=qa.current)===null||to===void 0||to.call(qa)}))},[eo]);var Va=Object(o.a)({},$n(br));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(to){var ro=Va[to];Va[to]=function(Ca,Ha){return ua(),ro==null?void 0:ro(Ca,Ha)}});function Ba(){return new Promise(function(to){qa.current=to})}b.useEffect(function(){!Va.motionName&&fa==="motion"&&ua()},[Va.motionName,fa]),b.useImperativeHandle(Wr,function(){return{forceAlign:Ka,getElement:function(){return Ji.current}}});var go=Object(o.a)(Object(o.a)({},Ai),{},{zIndex:jr,opacity:fa==="motion"||fa==="stable"||!nn?void 0:0,pointerEvents:!nn&&fa!=="stable"?"none":void 0},xr),so=!0;(fn==null?void 0:fn.points)&&(fa==="align"||fa==="stable")&&(so=!1);var vo=$t;return b.Children.count($t)>1&&(vo=b.createElement("div",{className:"".concat(Nr,"-content")},$t)),b.createElement(Kn,Object(S.a)({visible:nn,ref:Ji,leavedClassName:"".concat(Nr,"-hidden")},Va,{onAppearPrepare:Ba,onEnterPrepare:Ba,removeOnLeave:ln,forceRender:qr}),function(to,ro){var Ca=to.className,Ha=to.style,Na=i()(Nr,jt,Pa,Ca);return b.createElement(Mi.a,{target:Ya(),key:"popup",ref:ia,monitorWindowResize:!0,disabled:so,align:fn,onAlign:ao},b.createElement("div",{ref:ro,className:Na,onMouseEnter:la,onMouseLeave:na,onMouseDownCapture:ga,onTouchStartCapture:Fi,onClick:Ni,style:Object(o.a)(Object(o.a)({},Ha),go)},vo))})});qe.displayName="PopupInner";var vt=qe,lt=b.forwardRef(function(br,Wr){var nn=br.prefixCls,Nr=br.visible,jt=br.zIndex,xr=br.children,$t=br.mobile;$t=$t===void 0?{}:$t;var jr=$t.popupClassName,Hr=$t.popupStyle,ln=$t.popupMotion,qr=ln===void 0?{}:ln,fn=$t.popupRender,Dn=br.onClick,li=b.useRef();b.useImperativeHandle(Wr,function(){return{forceAlign:function(){},getElement:function(){return li.current}}});var di=Object(o.a)({zIndex:jt},Hr),Ri=xr;return b.Children.count(xr)>1&&(Ri=b.createElement("div",{className:"".concat(nn,"-content")},xr)),fn&&(Ri=fn(Ri)),b.createElement(Kn,Object(S.a)({visible:Nr,ref:li,removeOnLeave:!0},qr),function(la,na){var ga=la.className,Fi=la.style,Ni=i()(nn,jr,ga);return b.createElement("div",{ref:na,className:Ni,onClick:Dn,style:Object(o.a)(Object(o.a)({},Fi),di)},Ri)})});lt.displayName="MobilePopupInner";var Ft=lt,wr=["visible","mobile"],pr=b.forwardRef(function(br,Wr){var nn=br.visible,Nr=br.mobile,jt=Object(c.a)(br,wr),xr=Object(b.useState)(nn),$t=Object(p.a)(xr,2),jr=$t[0],Hr=$t[1],ln=Object(b.useState)(!1),qr=Object(p.a)(ln,2),fn=qr[0],Dn=qr[1],li=Object(o.a)(Object(o.a)({},jt),{},{visible:jr});Object(b.useEffect)(function(){Hr(nn),nn&&Nr&&Dn(ye())},[nn,Nr]);var di=fn?b.createElement(Ft,Object(S.a)({},li,{mobile:Nr,ref:Wr})):b.createElement(vt,Object(S.a)({},li,{ref:Wr}));return b.createElement("div",null,b.createElement(Ii,li),di)});pr.displayName="Popup";var Dr=pr,zt=b.createContext(null),hn=zt;function ir(){}function Xr(){return""}function Br(br){return br?br.ownerDocument:window.document}var vr=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Cn(br){var Wr=function(nn){Object(N.a)(jt,nn);var Nr=Object(R.a)(jt);function jt(xr){var $t;Object(I.a)(this,jt),$t=Nr.call(this,xr),$t.popupRef=b.createRef(),$t.triggerRef=b.createRef(),$t.portalContainer=void 0,$t.attachId=void 0,$t.clickOutsideHandler=void 0,$t.touchOutsideHandler=void 0,$t.contextMenuOutsideHandler1=void 0,$t.contextMenuOutsideHandler2=void 0,$t.mouseDownTimeout=void 0,$t.focusTime=void 0,$t.preClickTime=void 0,$t.preTouchTime=void 0,$t.delayTimer=void 0,$t.hasPopupMouseDown=void 0,$t.onMouseEnter=function(Hr){var ln=$t.props.mouseEnterDelay;$t.fireEvents("onMouseEnter",Hr),$t.delaySetPopupVisible(!0,ln,ln?null:Hr)},$t.onMouseMove=function(Hr){$t.fireEvents("onMouseMove",Hr),$t.setPoint(Hr)},$t.onMouseLeave=function(Hr){$t.fireEvents("onMouseLeave",Hr),$t.delaySetPopupVisible(!1,$t.props.mouseLeaveDelay)},$t.onPopupMouseEnter=function(){$t.clearDelayTimer()},$t.onPopupMouseLeave=function(Hr){var ln;if(Hr.relatedTarget&&!Hr.relatedTarget.setTimeout&&Object(pt.a)((ln=$t.popupRef.current)===null||ln===void 0?void 0:ln.getElement(),Hr.relatedTarget))return;$t.delaySetPopupVisible(!1,$t.props.mouseLeaveDelay)},$t.onFocus=function(Hr){$t.fireEvents("onFocus",Hr),$t.clearDelayTimer(),$t.isFocusToShow()&&($t.focusTime=Date.now(),$t.delaySetPopupVisible(!0,$t.props.focusDelay))},$t.onMouseDown=function(Hr){$t.fireEvents("onMouseDown",Hr),$t.preClickTime=Date.now()},$t.onTouchStart=function(Hr){$t.fireEvents("onTouchStart",Hr),$t.preTouchTime=Date.now()},$t.onBlur=function(Hr){$t.fireEvents("onBlur",Hr),$t.clearDelayTimer(),$t.isBlurToHide()&&$t.delaySetPopupVisible(!1,$t.props.blurDelay)},$t.onContextMenu=function(Hr){Hr.preventDefault(),$t.fireEvents("onContextMenu",Hr),$t.setPopupVisible(!0,Hr)},$t.onContextMenuClose=function(){$t.isContextMenuToShow()&&$t.close()},$t.onClick=function(Hr){if($t.fireEvents("onClick",Hr),$t.focusTime){var ln;if($t.preClickTime&&$t.preTouchTime?ln=Math.min($t.preClickTime,$t.preTouchTime):$t.preClickTime?ln=$t.preClickTime:$t.preTouchTime&&(ln=$t.preTouchTime),Math.abs(ln-$t.focusTime)<20)return;$t.focusTime=0}$t.preClickTime=0,$t.preTouchTime=0,$t.isClickToShow()&&($t.isClickToHide()||$t.isBlurToHide())&&Hr&&Hr.preventDefault&&Hr.preventDefault();var qr=!$t.state.popupVisible;($t.isClickToHide()&&!qr||qr&&$t.isClickToShow())&&$t.setPopupVisible(!$t.state.popupVisible,Hr)},$t.onPopupMouseDown=function(){if($t.hasPopupMouseDown=!0,clearTimeout($t.mouseDownTimeout),$t.mouseDownTimeout=window.setTimeout(function(){$t.hasPopupMouseDown=!1},0),$t.context){var Hr;(Hr=$t.context).onPopupMouseDown.apply(Hr,arguments)}},$t.onDocumentClick=function(Hr){if($t.props.mask&&!$t.props.maskClosable)return;var ln=Hr.target,qr=$t.getRootDomNode(),fn=$t.getPopupDomNode();(!Object(pt.a)(qr,ln)||$t.isContextMenuOnly())&&!Object(pt.a)(fn,ln)&&!$t.hasPopupMouseDown&&$t.close()},$t.getRootDomNode=function(){var Hr=$t.props.getTriggerDOMNode;if(Hr)return Hr($t.triggerRef.current);try{var ln=Object(Qe.a)($t.triggerRef.current);if(ln)return ln}catch(qr){}return $e.a.findDOMNode(Object(O.a)($t))},$t.getPopupClassNameFromAlign=function(Hr){var ln=[],qr=$t.props,fn=qr.popupPlacement,Dn=qr.builtinPlacements,li=qr.prefixCls,di=qr.alignPoint,Ri=qr.getPopupClassNameFromAlign;return fn&&Dn&&ln.push(Ze(Dn,li,Hr,di)),Ri&&ln.push(Ri(Hr)),ln.join(" ")},$t.getComponent=function(){var Hr=$t.props,ln=Hr.prefixCls,qr=Hr.destroyPopupOnHide,fn=Hr.popupClassName,Dn=Hr.onPopupAlign,li=Hr.popupMotion,di=Hr.popupAnimation,Ri=Hr.popupTransitionName,la=Hr.popupStyle,na=Hr.mask,ga=Hr.maskAnimation,Fi=Hr.maskTransitionName,Ni=Hr.maskMotion,ia=Hr.zIndex,Ji=Hr.popup,ha=Hr.stretch,Ta=Hr.alignPoint,Pa=Hr.mobile,bi=Hr.forceRender,Qn=Hr.onPopupClick,vi=$t.state,Ai=vi.popupVisible,Gi=vi.point,Oi=$t.getPopupAlign(),pa={};return $t.isMouseEnterToShow()&&(pa.onMouseEnter=$t.onPopupMouseEnter),$t.isMouseLeaveToHide()&&(pa.onMouseLeave=$t.onPopupMouseLeave),pa.onMouseDown=$t.onPopupMouseDown,pa.onTouchStart=$t.onPopupMouseDown,b.createElement(Dr,Object(S.a)({prefixCls:ln,destroyPopupOnHide:qr,visible:Ai,point:Ta&&Gi,className:fn,align:Oi,onAlign:Dn,animation:di,getClassNameFromAlign:$t.getPopupClassNameFromAlign},pa,{stretch:ha,getRootDomNode:$t.getRootDomNode,style:la,mask:na,zIndex:ia,transitionName:Ri,maskAnimation:ga,maskTransitionName:Fi,maskMotion:Ni,ref:$t.popupRef,motion:li,mobile:Pa,forceRender:bi,onClick:Qn}),typeof Ji=="function"?Ji():Ji)},$t.attachParent=function(Hr){Le.a.cancel($t.attachId);var ln=$t.props,qr=ln.getPopupContainer,fn=ln.getDocument,Dn=$t.getRootDomNode(),li;qr?(Dn||qr.length===0)&&(li=qr(Dn)):li=fn($t.getRootDomNode()).body,li?li.appendChild(Hr):$t.attachId=Object(Le.a)(function(){$t.attachParent(Hr)})},$t.getContainer=function(){if(!$t.portalContainer){var Hr=$t.props.getDocument,ln=Hr($t.getRootDomNode()).createElement("div");ln.style.position="absolute",ln.style.top="0",ln.style.left="0",ln.style.width="100%",$t.portalContainer=ln}return $t.attachParent($t.portalContainer),$t.portalContainer},$t.setPoint=function(Hr){var ln=$t.props.alignPoint;if(!ln||!Hr)return;$t.setState({point:{pageX:Hr.pageX,pageY:Hr.pageY}})},$t.handlePortalUpdate=function(){$t.state.prevPopupVisible!==$t.state.popupVisible&&$t.props.afterPopupVisibleChange($t.state.popupVisible)},$t.triggerContextValue={onPopupMouseDown:$t.onPopupMouseDown};var jr;return"popupVisible"in xr?jr=!!xr.popupVisible:jr=!!xr.defaultPopupVisible,$t.state={prevPopupVisible:jr,popupVisible:jr},vr.forEach(function(Hr){$t["fire".concat(Hr)]=function(ln){$t.fireEvents(Hr,ln)}}),$t}return Object(L.a)(jt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var $t=this.props,jr=this.state;if(jr.popupVisible){var Hr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Hr=$t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(wt.a)(Hr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Hr=Hr||$t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(wt.a)(Hr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Hr=Hr||$t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(wt.a)(Hr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(wt.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Le.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var $t;return(($t=this.popupRef.current)===null||$t===void 0?void 0:$t.getElement())||null}},{key:"getPopupAlign",value:function(){var $t=this.props,jr=$t.popupPlacement,Hr=$t.popupAlign,ln=$t.builtinPlacements;return jr&&ln?Ht(ln,jr,Hr):Hr}},{key:"setPopupVisible",value:function($t,jr){var Hr=this.props.alignPoint,ln=this.state.popupVisible;this.clearDelayTimer(),ln!==$t&&("popupVisible"in this.props||this.setState({popupVisible:$t,prevPopupVisible:ln}),this.props.onPopupVisibleChange($t)),Hr&&jr&&$t&&this.setPoint(jr)}},{key:"delaySetPopupVisible",value:function($t,jr,Hr){var ln=this,qr=jr*1e3;if(this.clearDelayTimer(),qr){var fn=Hr?{pageX:Hr.pageX,pageY:Hr.pageY}:null;this.delayTimer=window.setTimeout(function(){ln.setPopupVisible($t,fn),ln.clearDelayTimer()},qr)}else this.setPopupVisible($t,Hr)}},{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($t){var jr=this.props.children.props,Hr=this.props;return jr[$t]&&Hr[$t]?this["fire".concat($t)]:jr[$t]||Hr[$t]}},{key:"isClickToShow",value:function(){var $t=this.props,jr=$t.action,Hr=$t.showAction;return jr.indexOf("click")!==-1||Hr.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var $t=this.props.action;return $t==="contextMenu"||$t.length===1&&$t[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var $t=this.props,jr=$t.action,Hr=$t.showAction;return jr.indexOf("contextMenu")!==-1||Hr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var $t=this.props,jr=$t.action,Hr=$t.hideAction;return jr.indexOf("click")!==-1||Hr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var $t=this.props,jr=$t.action,Hr=$t.showAction;return jr.indexOf("hover")!==-1||Hr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var $t=this.props,jr=$t.action,Hr=$t.hideAction;return jr.indexOf("hover")!==-1||Hr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var $t=this.props,jr=$t.action,Hr=$t.showAction;return jr.indexOf("focus")!==-1||Hr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var $t=this.props,jr=$t.action,Hr=$t.hideAction;return jr.indexOf("focus")!==-1||Hr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var $t;($t=this.popupRef.current)===null||$t===void 0||$t.forceAlign()}}},{key:"fireEvents",value:function($t,jr){var Hr=this.props.children.props[$t];Hr&&Hr(jr);var ln=this.props[$t];ln&&ln(jr)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var $t=this.state.popupVisible,jr=this.props,Hr=jr.children,ln=jr.forceRender,qr=jr.alignPoint,fn=jr.className,Dn=jr.autoDestroy,li=b.Children.only(Hr),di={key:"trigger"};this.isContextMenuToShow()?di.onContextMenu=this.onContextMenu:di.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(di.onClick=this.onClick,di.onMouseDown=this.onMouseDown,di.onTouchStart=this.onTouchStart):(di.onClick=this.createTwoChains("onClick"),di.onMouseDown=this.createTwoChains("onMouseDown"),di.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(di.onMouseEnter=this.onMouseEnter,qr&&(di.onMouseMove=this.onMouseMove)):di.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?di.onMouseLeave=this.onMouseLeave:di.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(di.onFocus=this.onFocus,di.onBlur=this.onBlur):(di.onFocus=this.createTwoChains("onFocus"),di.onBlur=this.createTwoChains("onBlur"));var Ri=i()(li&&li.props&&li.props.className,fn);Ri&&(di.className=Ri);var la=Object(o.a)({},di);Object(gt.c)(li)&&(la.ref=Object(gt.a)(this.triggerRef,li.ref));var na=b.cloneElement(li,la),ga;return($t||this.popupRef.current||ln)&&(ga=b.createElement(br,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!$t&&Dn&&(ga=null),b.createElement(hn.Provider,{value:this.triggerContextValue},na,ga)}}],[{key:"getDerivedStateFromProps",value:function($t,jr){var Hr=$t.popupVisible,ln={};return Hr!==void 0&&jr.popupVisible!==Hr&&(ln.popupVisible=Hr,ln.prevPopupVisible=jr.popupVisible),ln}}]),jt}(b.Component);return Wr.contextType=hn,Wr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Xr,getDocument:Br,onPopupVisibleChange:ir,afterPopupVisibleChange:ir,onPopupAlign:ir,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Wr}var kn=Cn(Et.a),ei={adjustX:1,adjustY:1},ii={topLeft:{points:["bl","tl"],overflow:ei,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ei,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:ei,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:ei,offset:[4,0]}},ti={topLeft:{points:["bl","tl"],overflow:ei,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ei,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:ei,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:ei,offset:[4,0]}},Ti=ii,Bn=0,Di={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},gn=function(Wr,nn,Nr){var jt=ve(nn),xr=Wr.getState();Wr.setState({defaultActiveFirst:Object(o.a)(Object(o.a)({},xr.defaultActiveFirst),{},Object(m.a)({},jt,Nr))})},Vr=function(br){Object(N.a)(nn,br);var Wr=Object(R.a)(nn);function nn(Nr){var jt;Object(I.a)(this,nn),jt=Wr.call(this,Nr),jt.onDestroy=function(qr){jt.props.onDestroy(qr)},jt.onKeyDown=function(qr){var fn=qr.keyCode,Dn=jt.menuInstance,li=jt.props.store,di=jt.getVisible();if(fn===f.a.ENTER)return jt.onTitleClick(qr),gn(li,jt.props.eventKey,!0),!0;if(fn===f.a.RIGHT)return di?Dn.onKeyDown(qr):(jt.triggerOpenChange(!0),gn(li,jt.props.eventKey,!0)),!0;if(fn===f.a.LEFT){var Ri;if(di)Ri=Dn.onKeyDown(qr);else return;return Ri||(jt.triggerOpenChange(!1),Ri=!0),Ri}return di&&(fn===f.a.UP||fn===f.a.DOWN)?Dn.onKeyDown(qr):void 0},jt.onOpenChange=function(qr){jt.props.onOpenChange(qr)},jt.onPopupVisibleChange=function(qr){jt.triggerOpenChange(qr,qr?"mouseenter":"mouseleave")},jt.onMouseEnter=function(qr){var fn=jt.props,Dn=fn.eventKey,li=fn.onMouseEnter,di=fn.store;gn(di,jt.props.eventKey,!1),li({key:Dn,domEvent:qr})},jt.onMouseLeave=function(qr){var fn=jt.props,Dn=fn.parentMenu,li=fn.eventKey,di=fn.onMouseLeave;Dn.subMenuInstance=Object(O.a)(jt),di({key:li,domEvent:qr})},jt.onTitleMouseEnter=function(qr){var fn=jt.props,Dn=fn.eventKey,li=fn.onItemHover,di=fn.onTitleMouseEnter;li({key:Dn,hover:!0}),di({key:Dn,domEvent:qr})},jt.onTitleMouseLeave=function(qr){var fn=jt.props,Dn=fn.parentMenu,li=fn.eventKey,di=fn.onItemHover,Ri=fn.onTitleMouseLeave;Dn.subMenuInstance=Object(O.a)(jt),di({key:li,hover:!1}),Ri({key:li,domEvent:qr})},jt.onTitleClick=function(qr){var fn=Object(O.a)(jt),Dn=fn.props;if(Dn.onTitleClick({key:Dn.eventKey,domEvent:qr}),Dn.triggerSubMenuAction==="hover")return;jt.triggerOpenChange(!jt.getVisible(),"click"),gn(Dn.store,jt.props.eventKey,!1)},jt.onSubMenuClick=function(qr){typeof jt.props.onClick=="function"&&jt.props.onClick(jt.addKeyPath(qr))},jt.onSelect=function(qr){jt.props.onSelect(qr)},jt.onDeselect=function(qr){jt.props.onDeselect(qr)},jt.getPrefixCls=function(){return"".concat(jt.props.rootPrefixCls,"-submenu")},jt.getActiveClassName=function(){return"".concat(jt.getPrefixCls(),"-active")},jt.getDisabledClassName=function(){return"".concat(jt.getPrefixCls(),"-disabled")},jt.getSelectedClassName=function(){return"".concat(jt.getPrefixCls(),"-selected")},jt.getOpenClassName=function(){return"".concat(jt.props.rootPrefixCls,"-submenu-open")},jt.getVisible=function(){return jt.state.isOpen},jt.getMode=function(){return jt.state.mode},jt.saveMenuInstance=function(qr){jt.menuInstance=qr},jt.addKeyPath=function(qr){return Object(o.a)(Object(o.a)({},qr),{},{keyPath:(qr.keyPath||[]).concat(jt.props.eventKey)})},jt.triggerOpenChange=function(qr,fn){var Dn=jt.props.eventKey,li=function(){jt.onOpenChange({key:Dn,item:Object(O.a)(jt),trigger:fn,open:qr})};fn==="mouseenter"?jt.mouseenterTimeout=setTimeout(function(){li()},0):li()},jt.isChildrenSelected=function(){var qr={find:!1};return Ce(jt.props.children,jt.props.selectedKeys,qr),qr.find},jt.isInlineMode=function(){return jt.getMode()==="inline"},jt.adjustWidth=function(){if(!jt.subMenuTitle||!jt.menuInstance)return;var qr=nt.findDOMNode(jt.menuInstance);if(qr.offsetWidth>=jt.subMenuTitle.offsetWidth)return;qr.style.minWidth="".concat(jt.subMenuTitle.offsetWidth,"px")},jt.saveSubMenuTitle=function(qr){jt.subMenuTitle=qr},jt.getBaseProps=function(){var qr=Object(O.a)(jt),fn=qr.props,Dn=jt.getMode();return{mode:Dn==="horizontal"?"vertical":Dn,visible:jt.getVisible(),level:fn.level+1,inlineIndent:fn.inlineIndent,focusable:!1,onClick:jt.onSubMenuClick,onSelect:jt.onSelect,onDeselect:jt.onDeselect,onDestroy:jt.onDestroy,selectedKeys:fn.selectedKeys,eventKey:"".concat(fn.eventKey,"-menu-"),openKeys:fn.openKeys,motion:fn.motion,onOpenChange:jt.onOpenChange,subMenuOpenDelay:fn.subMenuOpenDelay,parentMenu:Object(O.a)(jt),subMenuCloseDelay:fn.subMenuCloseDelay,forceSubMenuRender:fn.forceSubMenuRender,triggerSubMenuAction:fn.triggerSubMenuAction,builtinPlacements:fn.builtinPlacements,defaultActiveFirst:fn.store.getState().defaultActiveFirst[ve(fn.eventKey)],multiple:fn.multiple,prefixCls:fn.rootPrefixCls,id:jt.internalMenuId,manualRef:jt.saveMenuInstance,itemIcon:fn.itemIcon,expandIcon:fn.expandIcon,direction:fn.direction}},jt.getMotion=function(qr,fn){var Dn=Object(O.a)(jt),li=Dn.haveRendered,di=jt.props,Ri=di.motion,la=di.rootPrefixCls,na=Object(o.a)(Object(o.a)({},Ri),{},{leavedClassName:"".concat(la,"-hidden"),removeOnLeave:!1,motionAppear:li||!fn||qr!=="inline"});return na};var xr=Nr.store,$t=Nr.eventKey,jr=xr.getState(),Hr=jr.defaultActiveFirst;jt.isRootMenu=!1;var ln=!1;return Hr&&(ln=Hr[$t]),gn(xr,$t,ln),jt.state={mode:Nr.mode,isOpen:Nr.isOpen},jt}return Object(L.a)(nn,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var jt=this,xr=this.props,$t=xr.mode,jr=xr.parentMenu,Hr=xr.manualRef,ln=xr.isOpen,qr=function(){jt.setState({mode:$t,isOpen:ln})},fn=ln!==this.state.isOpen,Dn=$t!==this.state.mode;if((Dn||fn)&&(Le.a.cancel(this.updateStateRaf),Dn?this.updateStateRaf=Object(Le.a)(qr):qr()),Hr&&Hr(this),$t!=="horizontal"||!(jr==null?void 0:jr.isRootMenu)||!ln)return;this.minWidthTimeout=setTimeout(function(){return jt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var jt=this.props,xr=jt.onDestroy,$t=jt.eventKey;xr&&xr($t),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Le.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(jt,xr){var $t=this.getBaseProps();return b.createElement(Xn,Object(S.a)({},$t,{id:this.internalMenuId,className:jt,style:xr}),this.props.children)}},{key:"renderChildren",value:function(){var jt=this,xr=this.getBaseProps(),$t=xr.mode,jr=xr.visible,Hr=xr.forceSubMenuRender,ln=xr.direction,qr=this.getMotion($t,jr);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||jr||Hr,!this.haveOpened)return b.createElement("div",null);var fn=i()("".concat(xr.prefixCls,"-sub"),Object(m.a)({},"".concat(xr.prefixCls,"-rtl"),ln==="rtl"));return this.isInlineMode()?b.createElement(Kn,Object(S.a)({visible:xr.visible,forceRender:Hr},qr),function(Dn){var li=Dn.className,di=Dn.style,Ri=i()(fn,li);return jt.renderPopupMenu(Ri,di)}):this.renderPopupMenu(fn)}},{key:"render",value:function(){var jt,xr,$t,jr=Object(o.a)({},this.props),Hr=this.getVisible(),ln=this.getPrefixCls(),qr=this.isInlineMode(),fn=this.getMode(),Dn=i()(ln,"".concat(ln,"-").concat(fn),(jt={},Object(m.a)(jt,jr.className,!!jr.className),Object(m.a)(jt,this.getOpenClassName(),Hr),Object(m.a)(jt,this.getActiveClassName(),jr.active||Hr&&!qr),Object(m.a)(jt,this.getDisabledClassName(),jr.disabled),Object(m.a)(jt,this.getSelectedClassName(),this.isChildrenSelected()),jt));this.internalMenuId||(jr.eventKey?this.internalMenuId="".concat(jr.eventKey,"$Menu"):(Bn+=1,this.internalMenuId="$__$".concat(Bn,"$Menu")));var li={},di={},Ri={};jr.disabled||(li={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},di={onClick:this.onTitleClick},Ri={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var la={},na=jr.direction,ga=na==="rtl";qr&&(ga?la.paddingRight=jr.inlineIndent*jr.level:la.paddingLeft=jr.inlineIndent*jr.level);var Fi={};this.getVisible()&&(Fi={"aria-owns":this.internalMenuId});var Ni=null;fn!=="horizontal"&&(Ni=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Ni=b.createElement(this.props.expandIcon,Object(o.a)({},this.props))));var ia=b.createElement("div",Object(S.a)({ref:this.saveSubMenuTitle,style:la,className:"".concat(ln,"-title"),role:"button"},Ri,di,{"aria-expanded":Hr},Fi,{"aria-haspopup":"true",title:typeof jr.title=="string"?jr.title:void 0}),jr.title,Ni||b.createElement("i",{className:"".concat(ln,"-arrow")})),Ji=this.renderChildren(),ha=((xr=jr.parentMenu)===null||xr===void 0?void 0:xr.isRootMenu)?jr.parentMenu.props.getPopupContainer:function(ra){return ra.parentNode},Ta=Di[fn],Pa=jr.popupOffset?{offset:jr.popupOffset}:{},bi=i()(($t={},Object(m.a)($t,jr.popupClassName,jr.popupClassName&&!qr),Object(m.a)($t,"".concat(ln,"-rtl"),ga),$t)),Qn=jr.disabled,vi=jr.triggerSubMenuAction,Ai=jr.subMenuOpenDelay,Gi=jr.forceSubMenuRender,Oi=jr.subMenuCloseDelay,pa=jr.builtinPlacements;we.forEach(function(ra){return delete jr[ra]}),delete jr.onClick;var Ma=ga?Object(o.a)(Object(o.a)({},ti),pa):Object(o.a)(Object(o.a)({},ii),pa);delete jr.direction;var fa=this.getBaseProps(),ua=qr?null:this.getMotion(fa.mode,fa.visible);return b.createElement("li",Object(S.a)({},jr,li,{className:Dn,role:"menuitem"}),b.createElement(kn,{prefixCls:ln,popupClassName:i()("".concat(ln,"-popup"),bi),getPopupContainer:ha,builtinPlacements:Ma,popupPlacement:Ta,popupVisible:qr?!1:Hr,popupAlign:Pa,popup:qr?null:Ji,action:Qn||qr?[]:[vi],mouseEnterDelay:Ai,mouseLeaveDelay:Oi,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Gi,popupMotion:ua},ia),qr?Ji:null)}}]),nn}(b.Component);Vr.defaultProps={onMouseEnter:G,onMouseLeave:G,onTitleMouseEnter:G,onTitleMouseLeave:G,onTitleClick:G,manualRef:G,mode:"vertical",title:""};var Sn=Object(D.b)(function(br,Wr){var nn=br.openKeys,Nr=br.activeKey,jt=br.selectedKeys,xr=Wr.eventKey,$t=Wr.subMenuKey;return{isOpen:nn.indexOf(xr)>-1,active:Nr[$t]===xr,selectedKeys:jt}})(Vr);Sn.isSubMenu=!0;var tn=Sn,ci="menuitem-overflowed",qn=.5,wi=function(br){Object(N.a)(nn,br);var Wr=Object(R.a)(nn);function nn(){var Nr;return Object(I.a)(this,nn),Nr=Wr.apply(this,arguments),Nr.resizeObserver=null,Nr.mutationObserver=null,Nr.originalTotalWidth=0,Nr.overflowedItems=[],Nr.menuItemSizes=[],Nr.cancelFrameId=null,Nr.state={lastVisibleIndex:void 0},Nr.childRef=b.createRef(),Nr.getMenuItemNodes=function(){var jt=Nr.props.prefixCls,xr=Nr.childRef.current;return xr?[].slice.call(xr.children).filter(function($t){return $t.className.split(" ").indexOf("".concat(jt,"-overflowed-submenu"))<0}):[]},Nr.getOverflowedSubMenuItem=function(jt,xr,$t){var jr=Nr.props,Hr=jr.overflowedIndicator,ln=jr.level,qr=jr.mode,fn=jr.prefixCls,Dn=jr.theme;if(ln!==1||qr!=="horizontal")return null;var li=Nr.props.children[0],di=li.props,Ri=di.children,la=di.title,na=di.style,ga=Object(c.a)(di,["children","title","style"]),Fi=Object(o.a)({},na),Ni="".concat(jt,"-overflowed-indicator"),ia="".concat(jt,"-overflowed-indicator");xr.length===0&&$t!==!0?Fi=Object(o.a)(Object(o.a)({},Fi),{},{display:"none"}):$t&&(Fi=Object(o.a)(Object(o.a)({},Fi),{},{visibility:"hidden",position:"absolute"}),Ni="".concat(Ni,"-placeholder"),ia="".concat(ia,"-placeholder"));var Ji=Dn?"".concat(fn,"-").concat(Dn):"",ha={};return we.forEach(function(Ta){ga[Ta]!==void 0&&(ha[Ta]=ga[Ta])}),b.createElement(tn,Object(S.a)({title:Hr,className:"".concat(fn,"-overflowed-submenu"),popupClassName:Ji},ha,{key:Ni,eventKey:ia,disabled:!1,style:Fi}),xr)},Nr.setChildrenWidthAndResize=function(){if(Nr.props.mode!=="horizontal")return;var jt=Nr.childRef.current;if(!jt)return;var xr=jt.children;if(!xr||xr.length===0)return;var $t=jt.children[xr.length-1];fe($t,"display","inline-block");var jr=Nr.getMenuItemNodes(),Hr=jr.filter(function(ln){return ln.className.split(" ").indexOf(ci)>=0});Hr.forEach(function(ln){fe(ln,"display","inline-block")}),Nr.menuItemSizes=jr.map(function(ln){return le(ln,!0)}),Hr.forEach(function(ln){fe(ln,"display","none")}),Nr.overflowedIndicatorWidth=le(jt.children[jt.children.length-1],!0),Nr.originalTotalWidth=Nr.menuItemSizes.reduce(function(ln,qr){return ln+qr},0),Nr.handleResize(),fe($t,"display","none")},Nr.handleResize=function(){if(Nr.props.mode!=="horizontal")return;var jt=Nr.childRef.current;if(!jt)return;var xr=le(jt);Nr.overflowedItems=[];var $t=0,jr;Nr.originalTotalWidth>xr+qn&&(jr=-1,Nr.menuItemSizes.forEach(function(Hr){$t+=Hr,$t+Nr.overflowedIndicatorWidth<=xr&&(jr+=1)})),Nr.setState({lastVisibleIndex:jr})},Nr}return Object(L.a)(nn,[{key:"componentDidMount",value:function(){var jt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var xr=this.childRef.current;if(!xr)return;this.resizeObserver=new We.default(function($t){$t.forEach(function(){var jr=jt.cancelFrameId;cancelAnimationFrame(jr),jt.cancelFrameId=requestAnimationFrame(jt.setChildrenWidthAndResize)})}),[].slice.call(xr.children).concat(xr).forEach(function($t){jt.resizeObserver.observe($t)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){jt.resizeObserver.disconnect(),[].slice.call(xr.children).concat(xr).forEach(function($t){jt.resizeObserver.observe($t)}),jt.setChildrenWidthAndResize()}),this.mutationObserver.observe(xr,{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(jt){var xr=this,$t=this.state.lastVisibleIndex;return(jt||[]).reduce(function(jr,Hr,ln){var qr=Hr;if(xr.props.mode==="horizontal"){var fn=xr.getOverflowedSubMenuItem(Hr.props.eventKey,[]);$t!==void 0&&xr.props.className.indexOf("".concat(xr.props.prefixCls,"-root"))!==-1&&(ln>$t&&(qr=b.cloneElement(Hr,{style:{display:"none"},eventKey:"".concat(Hr.props.eventKey,"-hidden"),className:"".concat(ci)})),ln===$t+1&&(xr.overflowedItems=jt.slice($t+1).map(function(li){return b.cloneElement(li,{key:li.props.eventKey,mode:"vertical-left"})}),fn=xr.getOverflowedSubMenuItem(Hr.props.eventKey,xr.overflowedItems)));var Dn=[].concat(Object(s.a)(jr),[fn,qr]);return ln===jt.length-1&&Dn.push(xr.getOverflowedSubMenuItem(Hr.props.eventKey,[],!0)),Dn}return[].concat(Object(s.a)(jr),[qr])},[])}},{key:"render",value:function(){var jt=this.props,xr=jt.visible,$t=jt.prefixCls,jr=jt.overflowedIndicator,Hr=jt.mode,ln=jt.level,qr=jt.tag,fn=jt.children,Dn=jt.theme,li=Object(c.a)(jt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),di=qr;return b.createElement(di,Object(S.a)({ref:this.childRef},li),this.renderChildren(fn))}}]),nn}(b.Component);wi.defaultProps={tag:"div",className:""};var Jn=wi;function Qi(br){return br.length?br.every(function(Wr){return!!Wr.props.disabled}):!0}function xi(br,Wr,nn){var Nr=br.getState();br.setState({activeKey:Object(o.a)(Object(o.a)({},Nr.activeKey),{},Object(m.a)({},Wr,nn))})}function Ei(br){return br.eventKey||"0-menu-"}function dn(br,Wr){var nn=Wr,Nr=br.children,jt=br.eventKey;if(nn){var xr;if(de(Nr,function($t,jr){$t&&$t.props&&!$t.props.disabled&&nn===Q($t,jt,jr)&&(xr=!0)}),xr)return nn}return nn=null,br.defaultActiveFirst&&de(Nr,function($t,jr){!nn&&$t&&!$t.props.disabled&&(nn=Q($t,jt,jr))}),nn}function Mr(br){if(!br)return;var Wr=this.instanceArray.indexOf(br);Wr!==-1?this.instanceArray[Wr]=br:this.instanceArray.push(br)}var wn=function(br){Object(N.a)(nn,br);var Wr=Object(R.a)(nn);function nn(Nr){var jt;return Object(I.a)(this,nn),jt=Wr.call(this,Nr),jt.onKeyDown=function(xr,$t){var jr=xr.keyCode,Hr;if(jt.getFlatInstanceArray().forEach(function(qr){qr&&qr.props.active&&qr.onKeyDown&&(Hr=qr.onKeyDown(xr))}),Hr)return 1;var ln=null;return(jr===f.a.UP||jr===f.a.DOWN)&&(ln=jt.step(jr===f.a.UP?-1:1)),ln?(xr.preventDefault(),xi(jt.props.store,Ei(jt.props),ln.props.eventKey),typeof $t=="function"&&$t(ln),1):void 0},jt.onItemHover=function(xr){var $t=xr.key,jr=xr.hover;xi(jt.props.store,Ei(jt.props),jr?$t:null)},jt.onDeselect=function(xr){jt.props.onDeselect(xr)},jt.onSelect=function(xr){jt.props.onSelect(xr)},jt.onClick=function(xr){jt.props.onClick(xr)},jt.onOpenChange=function(xr){jt.props.onOpenChange(xr)},jt.onDestroy=function(xr){jt.props.onDestroy(xr)},jt.getFlatInstanceArray=function(){return jt.instanceArray},jt.step=function(xr){var $t=jt.getFlatInstanceArray(),jr=jt.props.store.getState().activeKey[Ei(jt.props)],Hr=$t.length;if(!Hr)return null;xr<0&&($t=$t.concat().reverse());var ln=-1;if($t.every(function(li,di){return li&&li.props.eventKey===jr?(ln=di,!1):!0}),!jt.props.defaultActiveFirst&&ln!==-1&&Qi($t.slice(ln,Hr-1)))return;var qr=(ln+1)%Hr,fn=qr;do{var Dn=$t[fn];if(!Dn||Dn.props.disabled)fn=(fn+1)%Hr;else return Dn}while(fn!==qr);return null},jt.renderCommonMenuItem=function(xr,$t,jr){var Hr=jt.props.store.getState(),ln=Object(O.a)(jt),qr=ln.props,fn=Q(xr,qr.eventKey,$t),Dn=xr.props;if(!Dn||typeof xr.type=="string")return xr;var li=fn===Hr.activeKey,di=Object(o.a)(Object(o.a)({mode:Dn.mode||qr.mode,level:qr.level,inlineIndent:qr.inlineIndent,renderMenuItem:jt.renderMenuItem,rootPrefixCls:qr.prefixCls,index:$t,parentMenu:qr.parentMenu,manualRef:Dn.disabled?void 0:Object(M.a)(xr.ref,Mr.bind(Object(O.a)(jt))),eventKey:fn,active:!Dn.disabled&&li,multiple:qr.multiple,onClick:function(la){(Dn.onClick||G)(la),jt.onClick(la)},onItemHover:jt.onItemHover,motion:qr.motion,subMenuOpenDelay:qr.subMenuOpenDelay,subMenuCloseDelay:qr.subMenuCloseDelay,forceSubMenuRender:qr.forceSubMenuRender,onOpenChange:jt.onOpenChange,onDeselect:jt.onDeselect,onSelect:jt.onSelect,builtinPlacements:qr.builtinPlacements,itemIcon:Dn.itemIcon||jt.props.itemIcon,expandIcon:Dn.expandIcon||jt.props.expandIcon},jr),{},{direction:qr.direction});return(qr.mode==="inline"||xe())&&(di.triggerSubMenuAction="click"),b.cloneElement(xr,Object(o.a)(Object(o.a)({},di),{},{key:fn||$t}))},jt.renderMenuItem=function(xr,$t,jr){if(!xr)return null;var Hr=jt.props.store.getState(),ln={openKeys:Hr.openKeys,selectedKeys:Hr.selectedKeys,triggerSubMenuAction:jt.props.triggerSubMenuAction,subMenuKey:jr};return jt.renderCommonMenuItem(xr,$t,ln)},Nr.store.setState({activeKey:Object(o.a)(Object(o.a)({},Nr.store.getState().activeKey),{},Object(m.a)({},Nr.eventKey,dn(Nr,Nr.activeKey)))}),jt.instanceArray=[],jt}return Object(L.a)(nn,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(jt){return this.props.visible||jt.visible||this.props.className!==jt.className||!F()(this.props.style,jt.style)}},{key:"componentDidUpdate",value:function(jt){var xr=this.props,$t="activeKey"in xr?xr.activeKey:xr.store.getState().activeKey[Ei(xr)],jr=dn(xr,$t);if(jr!==$t)xi(xr.store,Ei(xr),jr);else if("activeKey"in jt){var Hr=dn(jt,jt.activeKey);jr!==Hr&&xi(xr.store,Ei(xr),jr)}}},{key:"render",value:function(){var jt=this,xr=Object(S.a)({},this.props);this.instanceArray=[];var $t=i()(xr.prefixCls,xr.className,"".concat(xr.prefixCls,"-").concat(xr.mode)),jr={className:$t,role:xr.role||"menu"};xr.id&&(jr.id=xr.id),xr.focusable&&(jr.tabIndex=0,jr.onKeyDown=this.onKeyDown);var Hr=xr.prefixCls,ln=xr.eventKey,qr=xr.visible,fn=xr.level,Dn=xr.mode,li=xr.overflowedIndicator,di=xr.theme;return we.forEach(function(Ri){return delete xr[Ri]}),delete xr.onClick,b.createElement(Jn,Object(S.a)({},xr,{prefixCls:Hr,mode:Dn,tag:"ul",level:fn,theme:di,visible:qr,overflowedIndicator:li},jr),Object(n.a)(xr.children).map(function(Ri,la){return jt.renderMenuItem(Ri,la,ln||"0-menu-")}))}}]),nn}(b.Component);wn.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:G};var Rn=Object(D.b)()(wn),Xn=Rn,Zn=d("Kwbf");function hi(br,Wr,nn){var Nr=br.prefixCls,jt=br.motion,xr=br.defaultMotions,$t=xr===void 0?{}:xr,jr=br.openAnimation,Hr=br.openTransitionName,ln=Wr.switchingModeFromInline;if(jt)return jt;if(Object(j.a)(jr)==="object"&&jr)Object(Zn.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof jr=="string")return{motionName:"".concat(Nr,"-open-").concat(jr)};if(Hr)return{motionName:Hr};var qr=$t[nn];return qr||(ln?null:$t.other)}var mi=function(br){Object(N.a)(nn,br);var Wr=Object(R.a)(nn);function nn(Nr){var jt;Object(I.a)(this,nn),jt=Wr.call(this,Nr),jt.onSelect=function(jr){var Hr=Object(O.a)(jt),ln=Hr.props;if(ln.selectable){var qr=jt.store.getState(),fn=qr.selectedKeys,Dn=jr.key;ln.multiple?fn=fn.concat([Dn]):fn=[Dn],"selectedKeys"in ln||jt.store.setState({selectedKeys:fn}),ln.onSelect(Object(o.a)(Object(o.a)({},jr),{},{selectedKeys:fn}))}},jt.onClick=function(jr){var Hr=jt.getRealMenuMode(),ln=Object(O.a)(jt),qr=ln.store,fn=ln.props.onOpenChange;Hr!=="inline"&&!("openKeys"in jt.props)&&(qr.setState({openKeys:[]}),fn([])),jt.props.onClick(jr)},jt.onKeyDown=function(jr,Hr){jt.innerMenu.getWrappedInstance().onKeyDown(jr,Hr)},jt.onOpenChange=function(jr){var Hr=Object(O.a)(jt),ln=Hr.props,qr=jt.store.getState().openKeys.concat(),fn=!1,Dn=function(di){var Ri=!1;if(di.open)Ri=qr.indexOf(di.key)===-1,Ri&&qr.push(di.key);else{var la=qr.indexOf(di.key);Ri=la!==-1,Ri&&qr.splice(la,1)}fn=fn||Ri};Array.isArray(jr)?jr.forEach(Dn):Dn(jr),fn&&("openKeys"in jt.props||jt.store.setState({openKeys:qr}),ln.onOpenChange(qr))},jt.onDeselect=function(jr){var Hr=Object(O.a)(jt),ln=Hr.props;if(ln.selectable){var qr=jt.store.getState().selectedKeys.concat(),fn=jr.key,Dn=qr.indexOf(fn);Dn!==-1&&qr.splice(Dn,1),"selectedKeys"in ln||jt.store.setState({selectedKeys:qr}),ln.onDeselect(Object(o.a)(Object(o.a)({},jr),{},{selectedKeys:qr}))}},jt.onMouseEnter=function(jr){jt.restoreModeVerticalFromInline();var Hr=jt.props.onMouseEnter;Hr&&Hr(jr)},jt.onTransitionEnd=function(jr){var Hr=jr.propertyName==="width"&&jr.target===jr.currentTarget,ln=jr.target.className,qr=Object.prototype.toString.call(ln)==="[object SVGAnimatedString]"?ln.animVal:ln,fn=jr.propertyName==="font-size"&&qr.indexOf("anticon")>=0;(Hr||fn)&&jt.restoreModeVerticalFromInline()},jt.setInnerMenu=function(jr){jt.innerMenu=jr},jt.isRootMenu=!0;var xr=Nr.defaultSelectedKeys,$t=Nr.defaultOpenKeys;return"selectedKeys"in Nr&&(xr=Nr.selectedKeys||[]),"openKeys"in Nr&&($t=Nr.openKeys||[]),jt.store=Object(D.c)({selectedKeys:xr,openKeys:$t,activeKey:{"0-menu-":dn(Nr,Nr.activeKey)}}),jt.state={switchingModeFromInline:!1,prevProps:Nr,inlineOpenKeys:[],store:jt.store},jt}return Object(L.a)(nn,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(jt){var xr=this.props,$t=xr.siderCollapsed,jr=xr.inlineCollapsed,Hr=xr.onOpenChange;(!jt.inlineCollapsed&&jr||!jt.siderCollapsed&&$t)&&Hr([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var jt=this.props.collapsedWidth,xr=this.store,$t=this.prevOpenKeys,jr=this.getInlineCollapsed()&&(jt===0||jt==="0"||jt==="0px");jr?(this.prevOpenKeys=xr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):$t&&(this.store.setState({openKeys:$t}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var jt=this.props.mode,xr=this.state.switchingModeFromInline,$t=this.getInlineCollapsed();return xr&&$t?"inline":$t?"vertical":jt}},{key:"getInlineCollapsed",value:function(){var jt=this.props,xr=jt.inlineCollapsed,$t=jt.siderCollapsed;return $t!==void 0?$t:xr}},{key:"restoreModeVerticalFromInline",value:function(){var jt=this.state.switchingModeFromInline;jt&&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 jt=Object(o.a)({},Object(B.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),xr=this.getRealMenuMode();return jt.className+=" ".concat(jt.prefixCls,"-root"),jt.direction==="rtl"&&(jt.className+=" ".concat(jt.prefixCls,"-rtl")),jt=Object(o.a)(Object(o.a)({},jt),{},{mode:xr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:hi(this.props,this.state,xr)}),delete jt.openAnimation,delete jt.openTransitionName,b.createElement(D.a,{store:this.store},b.createElement(Xn,Object(S.a)({},jt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(jt,xr){var $t=xr.prevProps,jr=xr.store,Hr=jr.getState(),ln={},qr={prevProps:jt};return $t.mode==="inline"&&jt.mode!=="inline"&&(qr.switchingModeFromInline=!0),"openKeys"in jt?ln.openKeys=jt.openKeys||[]:((jt.inlineCollapsed&&!$t.inlineCollapsed||jt.siderCollapsed&&!$t.siderCollapsed)&&(qr.switchingModeFromInline=!0,qr.inlineOpenKeys=Hr.openKeys,ln.openKeys=[]),(!jt.inlineCollapsed&&$t.inlineCollapsed||!jt.siderCollapsed&&$t.siderCollapsed)&&(ln.openKeys=xr.inlineOpenKeys,qr.inlineOpenKeys=[])),Object.keys(ln).length&&jr.setState(ln),qr}}]),nn}(b.Component);mi.defaultProps={selectable:!0,onClick:G,onSelect:G,onOpenChange:G,onDeselect:G,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:b.createElement("span",null,"\xB7\xB7\xB7")};var gi=mi,Vi=function(br){Object(N.a)(nn,br);var Wr=Object(R.a)(nn);function nn(){var Nr;return Object(I.a)(this,nn),Nr=Wr.apply(this,arguments),Nr.onKeyDown=function(jt){var xr=jt.keyCode;return xr===f.a.ENTER?(Nr.onClick(jt),!0):void 0},Nr.onMouseLeave=function(jt){var xr=Nr.props,$t=xr.eventKey,jr=xr.onItemHover,Hr=xr.onMouseLeave;jr({key:$t,hover:!1}),Hr({key:$t,domEvent:jt})},Nr.onMouseEnter=function(jt){var xr=Nr.props,$t=xr.eventKey,jr=xr.onItemHover,Hr=xr.onMouseEnter;jr({key:$t,hover:!0}),Hr({key:$t,domEvent:jt})},Nr.onClick=function(jt){var xr=Nr.props,$t=xr.eventKey,jr=xr.multiple,Hr=xr.onClick,ln=xr.onSelect,qr=xr.onDeselect,fn=xr.isSelected,Dn={key:$t,keyPath:[$t],item:Object(O.a)(Nr),domEvent:jt};Hr(Dn),jr?fn?qr(Dn):ln(Dn):fn||ln(Dn)},Nr.saveNode=function(jt){Nr.node=jt},Nr}return Object(L.a)(nn,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var jt=this.props;jt.onDestroy&&jt.onDestroy(jt.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 jt,xr=Object(o.a)({},this.props),$t=i()(this.getPrefixCls(),xr.className,(jt={},Object(m.a)(jt,this.getActiveClassName(),!xr.disabled&&xr.active),Object(m.a)(jt,this.getSelectedClassName(),xr.isSelected),Object(m.a)(jt,this.getDisabledClassName(),xr.disabled),jt)),jr=Object(o.a)(Object(o.a)({},xr.attribute),{},{title:typeof xr.title=="string"?xr.title:void 0,className:$t,role:xr.role||"menuitem","aria-disabled":xr.disabled});xr.role==="option"?jr=Object(o.a)(Object(o.a)({},jr),{},{role:"option","aria-selected":xr.isSelected}):(xr.role===null||xr.role==="none")&&(jr.role="none");var Hr={onClick:xr.disabled?null:this.onClick,onMouseLeave:xr.disabled?null:this.onMouseLeave,onMouseEnter:xr.disabled?null:this.onMouseEnter},ln=Object(o.a)({},xr.style);xr.mode==="inline"&&(xr.direction==="rtl"?ln.paddingRight=xr.inlineIndent*xr.level:ln.paddingLeft=xr.inlineIndent*xr.level),we.forEach(function(fn){return delete xr[fn]}),delete xr.direction;var qr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(qr=b.createElement(this.props.itemIcon,this.props)),b.createElement("li",Object(S.a)({},Object(B.a)(xr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),jr,Hr,{style:ln,ref:this.saveNode}),xr.children,qr)}}]),nn}(b.Component);Vi.isMenuItem=!0,Vi.defaultProps={onSelect:G,onMouseEnter:G,onMouseLeave:G,manualRef:G};var ma=Object(D.b)(function(br,Wr){var nn=br.activeKey,Nr=br.selectedKeys,jt=Wr.eventKey,xr=Wr.subMenuKey;return{active:nn[xr]===jt,isSelected:Array.isArray(Nr)?Nr.indexOf(jt)!==-1:Nr===jt}})(Vi),ca=ma,ja=function(br){Object(N.a)(nn,br);var Wr=Object(R.a)(nn);function nn(){var Nr;return Object(I.a)(this,nn),Nr=Wr.apply(this,arguments),Nr.renderInnerMenuItem=function(jt){var xr=Nr.props,$t=xr.renderMenuItem,jr=xr.index;return $t(jt,jr,Nr.props.subMenuKey)},Nr}return Object(L.a)(nn,[{key:"render",value:function(){var jt=Object(S.a)({},this.props),xr=jt.className,$t=xr===void 0?"":xr,jr=jt.rootPrefixCls,Hr="".concat(jr,"-item-group-title"),ln="".concat(jr,"-item-group-list"),qr=jt.title,fn=jt.children;return we.forEach(function(Dn){return delete jt[Dn]}),delete jt.direction,b.createElement("li",Object(S.a)({},jt,{onClick:function(li){return li.stopPropagation()},className:"".concat($t," ").concat(jr,"-item-group")}),b.createElement("div",{className:Hr,title:typeof qr=="string"?qr:void 0},qr),b.createElement("ul",{className:ln},b.Children.map(fn,this.renderInnerMenuItem)))}}]),nn}(b.Component);ja.isMenuItemGroup=!0,ja.defaultProps={disabled:!0};var fi=ja,cn=function(Wr){var nn=Wr.className,Nr=Wr.rootPrefixCls,jt=Wr.style;return b.createElement("li",{className:"".concat(nn," ").concat(Nr,"-item-divider"),style:jt})};cn.defaultProps={disabled:!0,className:"",style:{}};var Bi=cn,sa=gi,zi=d("eDIo");function da(br,Wr){var nn=br.prefixCls,Nr=br.editable,jt=br.locale,xr=br.style;return!Nr||Nr.showAdd===!1?null:b.createElement("button",{ref:Wr,type:"button",className:"".concat(nn,"-nav-add"),style:xr,"aria-label":(jt==null?void 0:jt.addAriaLabel)||"Add tab",onClick:function(jr){Nr.onEdit("add",{event:jr})}},Nr.addIcon||"+")}var Vt=b.forwardRef(da);function Qr(br,Wr){var nn=br.prefixCls,Nr=br.id,jt=br.tabs,xr=br.locale,$t=br.mobile,jr=br.moreIcon,Hr=jr===void 0?"More":jr,ln=br.moreTransitionName,qr=br.style,fn=br.className,Dn=br.editable,li=br.tabBarGutter,di=br.rtl,Ri=br.onTabClick,la=Object(b.useState)(!1),na=Object(p.a)(la,2),ga=na[0],Fi=na[1],Ni=Object(b.useState)(null),ia=Object(p.a)(Ni,2),Ji=ia[0],ha=ia[1],Ta="".concat(Nr,"-more-popup"),Pa="".concat(nn,"-dropdown"),bi=Ji!==null?"".concat(Ta,"-").concat(Ji):null,Qn=xr==null?void 0:xr.dropdownAriaLabel,vi=b.createElement(sa,{onClick:function(ua){var ra=ua.key,Ra=ua.domEvent;Ri(ra,Ra),Fi(!1)},id:Ta,tabIndex:-1,role:"listbox","aria-activedescendant":bi,selectedKeys:[Ji],"aria-label":Qn!==void 0?Qn:"expanded dropdown"},jt.map(function(fa){return b.createElement(ca,{key:fa.key,id:"".concat(Ta,"-").concat(fa.key),role:"option","aria-controls":Nr&&"".concat(Nr,"-panel-").concat(fa.key),disabled:fa.disabled},fa.tab)}));function Ai(fa){for(var ua=jt.filter(function(qa){return!qa.disabled}),ra=ua.findIndex(function(qa){return qa.key===Ji})||0,Ra=ua.length,eo=0;eo<Ra;eo+=1){ra=(ra+fa+Ra)%Ra;var qi=ua[ra];if(!qi.disabled){ha(qi.key);return}}}function Gi(fa){var ua=fa.which;if(!ga){[f.a.DOWN,f.a.SPACE,f.a.ENTER].includes(ua)&&(Fi(!0),fa.preventDefault());return}switch(ua){case f.a.UP:Ai(-1),fa.preventDefault();break;case f.a.DOWN:Ai(1),fa.preventDefault();break;case f.a.ESC:Fi(!1);break;case f.a.SPACE:case f.a.ENTER:Ji!==null&&Ri(Ji,fa);break}}Object(b.useEffect)(function(){var fa=document.getElementById(bi);fa&&fa.scrollIntoView&&fa.scrollIntoView(!1)},[Ji]),Object(b.useEffect)(function(){ga||ha(null)},[ga]);var Oi=Object(m.a)({},di?"marginLeft":"marginRight",li);jt.length||(Oi.visibility="hidden",Oi.order=1);var pa=i()(Object(m.a)({},"".concat(Pa,"-rtl"),di)),Ma=$t?null:b.createElement(zi.a,{prefixCls:Pa,overlay:vi,trigger:["hover"],visible:ga,transitionName:ln,onVisibleChange:Fi,overlayClassName:pa,mouseEnterDelay:.1,mouseLeaveDelay:.1},b.createElement("button",{type:"button",className:"".concat(nn,"-nav-more"),style:Oi,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Ta,id:"".concat(Nr,"-more"),"aria-expanded":ga,onKeyDown:Gi},Hr));return b.createElement("div",{className:i()("".concat(nn,"-nav-operations"),fn),style:qr,ref:Wr},Ma,b.createElement(Vt,{prefixCls:nn,locale:xr,editable:Dn}))}var an=b.forwardRef(Qr),mn=Object(b.createContext)(null),Ye=.1,It=.01,lr=20,sr=Math.pow(.995,lr);function Lr(){var br=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(br)||/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(br.substr(0,4)))}function Pr(br,Wr){var nn=Object(b.useState)(),Nr=Object(p.a)(nn,2),jt=Nr[0],xr=Nr[1],$t=Object(b.useState)(0),jr=Object(p.a)($t,2),Hr=jr[0],ln=jr[1],qr=Object(b.useState)(0),fn=Object(p.a)(qr,2),Dn=fn[0],li=fn[1],di=Object(b.useState)(),Ri=Object(p.a)(di,2),la=Ri[0],na=Ri[1],ga=Object(b.useRef)();function Fi(Qn){var vi=Qn.touches[0],Ai=vi.screenX,Gi=vi.screenY;xr({x:Ai,y:Gi}),window.clearInterval(ga.current)}function Ni(Qn){if(!jt)return;Qn.preventDefault();var vi=Qn.touches[0],Ai=vi.screenX,Gi=vi.screenY;xr({x:Ai,y:Gi});var Oi=Ai-jt.x,pa=Gi-jt.y;Wr(Oi,pa);var Ma=Date.now();ln(Ma),li(Ma-Hr),na({x:Oi,y:pa})}function ia(){if(!jt)return;if(xr(null),na(null),la){var Qn=la.x/Dn,vi=la.y/Dn,Ai=Math.abs(Qn),Gi=Math.abs(vi);if(Math.max(Ai,Gi)<Ye)return;var Oi=Qn,pa=vi;ga.current=window.setInterval(function(){if(Math.abs(Oi)<It&&Math.abs(pa)<It){window.clearInterval(ga.current);return}Oi*=sr,pa*=sr,Wr(Oi*lr,pa*lr)},lr)}}var Ji=Object(b.useRef)(0),ha=Object(b.useRef)(!1),Ta=Object(b.useRef)();function Pa(Qn){var vi=Qn.deltaX,Ai=Qn.deltaY,Gi=0,Oi=Math.abs(vi),pa=Math.abs(Ai);Oi===pa?Gi=Ta.current==="x"?vi:Ai:Oi>pa?(Gi=vi,Ta.current="x"):(Gi=Ai,Ta.current="y");var Ma=Date.now();Ma-Ji.current>100&&(ha.current=!1),(Wr(-Gi,-Gi)||ha.current)&&(Qn.preventDefault(),ha.current=!0),Ji.current=Ma}var bi=Object(b.useRef)(null);bi.current={onTouchStart:Fi,onTouchMove:Ni,onTouchEnd:ia,onWheel:Pa},b.useEffect(function(){function Qn(Oi){bi.current.onTouchStart(Oi)}function vi(Oi){bi.current.onTouchMove(Oi)}function Ai(Oi){bi.current.onTouchEnd(Oi)}function Gi(Oi){bi.current.onWheel(Oi)}return document.addEventListener("touchmove",vi,{passive:!1}),document.addEventListener("touchend",Ai,{passive:!1}),br.current.addEventListener("touchstart",Qn,{passive:!1}),br.current.addEventListener("wheel",Gi),function(){document.removeEventListener("touchmove",vi),document.removeEventListener("touchend",Ai)}},[])}function Kr(){var br=Object(b.useRef)(new Map);function Wr(Nr){return br.current.has(Nr)||br.current.set(Nr,b.createRef()),br.current.get(Nr)}function nn(Nr){br.current.delete(Nr)}return[Wr,nn]}function on(br,Wr){var nn=b.useRef(br),Nr=b.useState({}),jt=Object(p.a)(Nr,2),xr=jt[1];function $t(jr){var Hr=typeof jr=="function"?jr(nn.current):jr;Hr!==nn.current&&Wr(Hr,nn.current),nn.current=Hr,xr({})}return[nn.current,$t]}var xn=function(Wr){var nn=Wr.position,Nr=Wr.prefixCls,jt=Wr.extra;if(!jt)return null;var xr,$t=jt;return nn==="right"&&(xr=$t.right||!$t.left&&$t||null),nn==="left"&&(xr=$t.left||null),xr?b.createElement("div",{className:"".concat(Nr,"-extra-content")},xr):null};function An(br,Wr){var nn,Nr=b.useContext(mn),jt=Nr.prefixCls,xr=Nr.tabs,$t=br.className,jr=br.style,Hr=br.id,ln=br.animated,qr=br.activeKey,fn=br.rtl,Dn=br.extra,li=br.editable,di=br.locale,Ri=br.tabPosition,la=br.tabBarGutter,na=br.children,ga=br.onTabClick,Fi=br.onTabScroll,Ni=Object(b.useRef)(),ia=Object(b.useRef)(),Ji=Object(b.useRef)(),ha=Object(b.useRef)(),Ta=Kr(),Pa=Object(p.a)(Ta,2),bi=Pa[0],Qn=Pa[1],vi=Ri==="top"||Ri==="bottom",Ai=on(0,function(st,xt){vi&&Fi&&Fi({direction:st>xt?"left":"right"})}),Gi=Object(p.a)(Ai,2),Oi=Gi[0],pa=Gi[1],Ma=on(0,function(st,xt){!vi&&Fi&&Fi({direction:st>xt?"top":"bottom"})}),fa=Object(p.a)(Ma,2),ua=fa[0],ra=fa[1],Ra=Object(b.useState)(0),eo=Object(p.a)(Ra,2),qi=eo[0],qa=eo[1],Ya=Object(b.useState)(0),Ka=Object(p.a)(Ya,2),ao=Ka[0],Va=Ka[1],Ba=Object(b.useState)(0),go=Object(p.a)(Ba,2),so=go[0],vo=go[1],to=Object(b.useState)(0),ro=Object(p.a)(to,2),Ca=ro[0],Ha=ro[1],Na=Object(b.useState)(null),oo=Object(p.a)(Na,2),Ga=oo[0],Ki=oo[1],Xa=Object(b.useState)(null),No=Object(p.a)(Xa,2),_o=No[0],Vo=No[1],Go=Object(b.useState)(0),bo=Object(p.a)(Go,2),Da=bo[0],Ho=bo[1],ds=Object(b.useState)(0),fo=Object(p.a)(ds,2),Oo=fo[0],Wa=fo[1],Xo=h(new Map),Zs=Object(p.a)(Xo,2),Ps=Zs[0],_s=Zs[1],Es=E(xr,Ps,qi),Ts="".concat(jt,"-nav-operations-hidden"),ws=0,Do=0;vi?fn?(ws=0,Do=Math.max(0,qi-Ga)):(ws=Math.min(0,Ga-qi),Do=0):(ws=Math.min(0,_o-ao),Do=0);function po(st){return st<ws?[ws,!1]:st>Do?[Do,!1]:[st,!0]}var rs=Object(b.useRef)(),Yo=Object(b.useState)(),Fo=Object(p.a)(Yo,2),zr=Fo[0],Jo=Fo[1];function $s(){Jo(Date.now())}function Is(){window.clearTimeout(rs.current)}Pr(Ni,function(st,xt){var gr=!1;function Ir(Zr,En){Zr(function(Hn){var ai=po(Hn+En),Ci=Object(p.a)(ai,2),Ui=Ci[0],va=Ci[1];return gr=va,Ui})}if(vi){if(Ga>=qi)return gr;Ir(pa,st)}else{if(_o>=ao)return gr;Ir(ra,xt)}return Is(),$s(),gr}),Object(b.useEffect)(function(){return Is(),zr&&(rs.current=window.setTimeout(function(){Jo(0)},100)),Is},[zr]);function ks(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qr,xt=Es.get(st);if(!xt)return;if(vi){var gr=Oi;fn?xt.right<Oi?gr=xt.right:xt.right+xt.width>Oi+Ga&&(gr=xt.right+xt.width-Ga):xt.left<-Oi?gr=-xt.left:xt.left+xt.width>-Oi+Ga&&(gr=-(xt.left+xt.width-Ga)),ra(0),pa(po(gr)[0])}else{var Ir=ua;xt.top<-ua?Ir=-xt.top:xt.top+xt.height>-ua+_o&&(Ir=-(xt.top+xt.height-_o)),pa(0),ra(po(Ir)[0])}}var lo=w(Es,{width:Ga,height:_o,left:Oi,top:ua},{width:so,height:Ca},{width:Da,height:Oo},Object(o.a)(Object(o.a)({},br),{},{tabs:xr})),Ao=Object(p.a)(lo,2),Uo=Ao[0],hs=Ao[1],vs=xr.map(function(st){var xt=st.key;return b.createElement(v,{id:Hr,prefixCls:jt,key:xt,rtl:fn,tab:st,closable:st.closable,editable:li,active:xt===qr,tabPosition:Ri,tabBarGutter:la,renderWrapper:na,removeAriaLabel:di==null?void 0:di.removeAriaLabel,ref:bi(xt),onClick:function(Ir){ga(xt,Ir)},onRemove:function(){Qn(xt)},onFocus:function(){ks(xt),$s(),fn||(Ni.current.scrollLeft=0),Ni.current.scrollTop=0}})}),ss=u(function(){var st,xt,gr,Ir,Zr,En,Hn,ai,Ci,Ui=((st=Ni.current)===null||st===void 0?void 0:st.offsetWidth)||0,va=((xt=Ni.current)===null||xt===void 0?void 0:xt.offsetHeight)||0,_a=((gr=ha.current)===null||gr===void 0?void 0:gr.offsetWidth)||0,Za=((Ir=ha.current)===null||Ir===void 0?void 0:Ir.offsetHeight)||0,no=((Zr=Ji.current)===null||Zr===void 0?void 0:Zr.offsetWidth)||0,uo=((En=Ji.current)===null||En===void 0?void 0:En.offsetHeight)||0;Ki(Ui),Vo(va),Ho(_a),Wa(Za);var Io=(((Hn=ia.current)===null||Hn===void 0?void 0:Hn.offsetWidth)||0)-_a,Eo=(((ai=ia.current)===null||ai===void 0?void 0:ai.offsetHeight)||0)-Za;qa(Io),Va(Eo);var Ro=(Ci=Ji.current)===null||Ci===void 0?void 0:Ci.className.includes(Ts);vo(Io-(Ro?0:no)),Ha(Eo-(Ro?0:uo)),_s(function(){var yo=new Map;return xr.forEach(function(Lo){var Zo=Lo.key,Ko=bi(Zo).current;Ko&&yo.set(Zo,{width:Ko.offsetWidth,height:Ko.offsetHeight,left:Ko.offsetLeft,top:Ko.offsetTop})}),yo})}),Cs=xr.slice(0,Uo),ol=xr.slice(hs+1),Ls=[].concat(Object(s.a)(Cs),Object(s.a)(ol)),Xs=Object(b.useState)(),Os=Object(p.a)(Xs,2),Ks=Os[0],Bs=Os[1],bt=Es.get(qr),Dt=Object(b.useRef)();function rn(){a.a.cancel(Dt.current)}Object(b.useEffect)(function(){var st={};return bt&&(vi?(fn?st.right=bt.right:st.left=bt.left,st.width=bt.width):(st.top=bt.top,st.height=bt.height)),rn(),Dt.current=a()(function(){Bs(st)}),rn},[bt,vi,fn]),Object(b.useEffect)(function(){ks()},[qr,bt,Es,vi]),Object(b.useEffect)(function(){ss()},[fn,la,qr,xr.map(function(st){return st.key}).join("_")]);var On=!!Ls.length,ft="".concat(jt,"-nav-wrap"),ne,Ae,Te,je;return vi?fn?(Ae=Oi>0,ne=Oi+Ga<qi):(ne=Oi<0,Ae=-Oi+Ga<qi):(Te=ua<0,je=-ua+_o<ao),b.createElement("div",{ref:Wr,role:"tablist",className:i()("".concat(jt,"-nav"),$t),style:jr,onKeyDown:function(){$s()}},b.createElement(xn,{position:"left",extra:Dn,prefixCls:jt}),b.createElement(l.a,{onResize:ss},b.createElement("div",{className:i()(ft,(nn={},Object(m.a)(nn,"".concat(ft,"-ping-left"),ne),Object(m.a)(nn,"".concat(ft,"-ping-right"),Ae),Object(m.a)(nn,"".concat(ft,"-ping-top"),Te),Object(m.a)(nn,"".concat(ft,"-ping-bottom"),je),nn)),ref:Ni},b.createElement(l.a,{onResize:ss},b.createElement("div",{ref:ia,className:"".concat(jt,"-nav-list"),style:{transform:"translate(".concat(Oi,"px, ").concat(ua,"px)"),transition:zr?"none":void 0}},vs,b.createElement(Vt,{ref:ha,prefixCls:jt,locale:di,editable:li,style:{visibility:On?"hidden":null}}),b.createElement("div",{className:i()("".concat(jt,"-ink-bar"),Object(m.a)({},"".concat(jt,"-ink-bar-animated"),ln.inkBar)),style:Ks}))))),b.createElement(an,Object.assign({},br,{ref:Ji,prefixCls:jt,tabs:Ls,className:!On&&Ts})),b.createElement(xn,{position:"right",extra:Dn,prefixCls:jt}))}var Pn=b.forwardRef(An);function Un(br){var Wr=br.id,nn=br.activeKey,Nr=br.animated,jt=br.tabPosition,xr=br.rtl,$t=br.destroyInactiveTabPane,jr=b.useContext(mn),Hr=jr.prefixCls,ln=jr.tabs,qr=Nr.tabPane,fn=ln.findIndex(function(Dn){return Dn.key===nn});return b.createElement("div",{className:i()("".concat(Hr,"-content-holder"))},b.createElement("div",{className:i()("".concat(Hr,"-content"),"".concat(Hr,"-content-").concat(jt),Object(m.a)({},"".concat(Hr,"-content-animated"),qr)),style:fn&&qr?Object(m.a)({},xr?"marginRight":"marginLeft","-".concat(fn,"00%")):null},ln.map(function(Dn){return b.cloneElement(Dn.node,{key:Dn.key,prefixCls:Hr,tabKey:Dn.key,id:Wr,animated:qr,active:Dn.key===nn,destroyInactiveTabPane:$t})})))}function bn(br){var Wr=br.prefixCls,nn=br.forceRender,Nr=br.className,jt=br.style,xr=br.id,$t=br.active,jr=br.animated,Hr=br.destroyInactiveTabPane,ln=br.tabKey,qr=br.children,fn=b.useState(nn),Dn=Object(p.a)(fn,2),li=Dn[0],di=Dn[1];b.useEffect(function(){$t?di(!0):Hr&&di(!1)},[$t,Hr]);var Ri={};return $t||(jr?(Ri.visibility="hidden",Ri.height=0,Ri.overflowY="hidden"):Ri.display="none"),b.createElement("div",{id:xr&&"".concat(xr,"-panel-").concat(ln),role:"tabpanel",tabIndex:$t?0:-1,"aria-labelledby":xr&&"".concat(xr,"-tab-").concat(ln),"aria-hidden":!$t,style:Object(o.a)(Object(o.a)({},Ri),jt),className:i()("".concat(Wr,"-tabpane"),$t&&"".concat(Wr,"-tabpane-active"),Nr)},($t||li||nn)&&qr)}var _n=0;function Tn(br){return Object(n.a)(br).map(function(Wr){if(b.isValidElement(Wr)){var nn=Wr.key!==void 0?String(Wr.key):void 0;return Object(o.a)(Object(o.a)({key:nn},Wr.props),{},{node:Wr})}return null}).filter(function(Wr){return Wr})}function Wn(br,Wr){var nn,Nr=br.id,jt=br.prefixCls,xr=jt===void 0?"rc-tabs":jt,$t=br.className,jr=br.children,Hr=br.direction,ln=br.activeKey,qr=br.defaultActiveKey,fn=br.editable,Dn=br.animated,li=br.tabPosition,di=li===void 0?"top":li,Ri=br.tabBarGutter,la=br.tabBarStyle,na=br.tabBarExtraContent,ga=br.locale,Fi=br.moreIcon,Ni=br.moreTransitionName,ia=br.destroyInactiveTabPane,Ji=br.renderTabBar,ha=br.onChange,Ta=br.onTabClick,Pa=br.onTabScroll,bi=Object(c.a)(br,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Qn=Tn(jr),vi=Hr==="rtl",Ai;Dn===!1?Ai={inkBar:!1,tabPane:!1}:Ai=Object(o.a)({inkBar:!0,tabPane:!1},Dn!==!0?Dn:null);var Gi=Object(b.useState)(!1),Oi=Object(p.a)(Gi,2),pa=Oi[0],Ma=Oi[1];Object(b.useEffect)(function(){Ma(Lr())},[]);var fa=Object(t.a)(function(){var Ca;return(Ca=Qn[0])===null||Ca===void 0?void 0:Ca.key},{value:ln,defaultValue:qr}),ua=Object(p.a)(fa,2),ra=ua[0],Ra=ua[1],eo=Object(b.useState)(function(){return Qn.findIndex(function(Ca){return Ca.key===ra})}),qi=Object(p.a)(eo,2),qa=qi[0],Ya=qi[1];Object(b.useEffect)(function(){var Ca=Qn.findIndex(function(Na){return Na.key===ra});if(Ca===-1){var Ha;Ca=Math.max(0,Math.min(qa,Qn.length-1)),Ra((Ha=Qn[Ca])===null||Ha===void 0?void 0:Ha.key)}Ya(Ca)},[Qn.map(function(Ca){return Ca.key}).join("_"),ra,qa]);var Ka=Object(t.a)(null,{value:Nr}),ao=Object(p.a)(Ka,2),Va=ao[0],Ba=ao[1],go=di;pa&&!["left","right"].includes(di)&&(go="top"),Object(b.useEffect)(function(){Nr||(Ba("rc-tabs-".concat(_n)),_n+=1)},[]);function so(Ca,Ha){Ta==null||Ta(Ca,Ha),Ra(Ca),ha==null||ha(Ca)}var vo={id:Va,activeKey:ra,animated:Ai,tabPosition:go,rtl:vi,mobile:pa},to,ro=Object(o.a)(Object(o.a)({},vo),{},{editable:fn,locale:ga,moreIcon:Fi,moreTransitionName:Ni,tabBarGutter:Ri,onTabClick:so,onTabScroll:Pa,extra:na,style:la,panes:jr});return Ji?to=Ji(ro,Pn):to=b.createElement(Pn,Object.assign({},ro)),b.createElement(mn.Provider,{value:{tabs:Qn,prefixCls:xr}},b.createElement("div",Object.assign({ref:Wr,id:Nr,className:i()(xr,"".concat(xr,"-").concat(go),(nn={},Object(m.a)(nn,"".concat(xr,"-mobile"),pa),Object(m.a)(nn,"".concat(xr,"-editable"),fn),Object(m.a)(nn,"".concat(xr,"-rtl"),vi),nn),$t)},bi),to,b.createElement(Un,Object.assign({destroyInactiveTabPane:ia},vo,{animated:Ai}))))}var Gn=b.forwardRef(Wn);Gn.TabPane=bn;var ri=Gn,Si=ri,oi=d("cCPh"),Pi=d.n(oi),Hi=d("fNCr"),_i=d.n(Hi),pi=d("V/uB"),ki=d.n(pi),zn=d("uaoM"),ji=d("H84U"),Yi=function(br,Wr){var nn={};for(var Nr in br)Object.prototype.hasOwnProperty.call(br,Nr)&&Wr.indexOf(Nr)<0&&(nn[Nr]=br[Nr]);if(br!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Nr=Object.getOwnPropertySymbols(br);jt<Nr.length;jt++)Wr.indexOf(Nr[jt])<0&&Object.prototype.propertyIsEnumerable.call(br,Nr[jt])&&(nn[Nr[jt]]=br[Nr[jt]]);return nn};function ta(br){var Wr,nn=br.type,Nr=br.className,jt=br.size,xr=br.onEdit,$t=br.hideAdd,jr=br.centered,Hr=br.addIcon,ln=Yi(br,["type","className","size","onEdit","hideAdd","centered","addIcon"]),qr=ln.prefixCls,fn=b.useContext(ji.b),Dn=fn.getPrefixCls,li=fn.direction,di=Dn("tabs",qr),Ri;return nn==="editable-card"&&(Ri={onEdit:function(na,ga){var Fi=ga.key,Ni=ga.event;xr==null||xr(na==="add"?Ni:Fi,na)},removeIcon:b.createElement(ki.a,null),addIcon:Hr||b.createElement(_i.a,null),showAdd:$t!==!0}),Object(zn.a)(!("onPrevClick"in ln)&&!("onNextClick"in ln),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),b.createElement(Si,x()({direction:li},ln,{moreTransitionName:"slide-up",className:i()(Nr,(Wr={},A()(Wr,"".concat(di,"-").concat(jt),jt),A()(Wr,"".concat(di,"-card"),["card","editable-card"].includes(nn)),A()(Wr,"".concat(di,"-editable-card"),nn==="editable-card"),A()(Wr,"".concat(di,"-centered"),jr),Wr)),editable:Ri,moreIcon:b.createElement(Pi.a,null),prefixCls:di}))}ta.TabPane=bn;var Zi=k.a=ta},ZTW2:function(H,k,d){},ZWlE:function(H,k,d){var _=d("bYtY"),x=d("4NO4");function C(m){A(m),b(m)}function A(m){if(m.parallel)return;var p=!1;_.each(m.series,function(c){c&&c.type==="parallel"&&(p=!0)}),p&&(m.parallel=[{}])}function b(m){var p=x.normalizeToArray(m.parallelAxis);_.each(p,function(c){if(!_.isObject(c))return;var o=c.parallelIndex||0,r=x.normalizeToArray(m.parallel)[o];r&&r.parallelAxisDefault&&_.merge(c,r.parallelAxisDefault,!1)})}H.exports=C},ZX9x:function(H,k,d){"use strict";d.d(k,"a",function(){return L}),d.d(k,"b",function(){return R});var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("lwsE"),m=d.n(b),p=d("W8MJ"),c=d.n(p),o=d("7W2i"),r=d.n(o),i=d("LQ03"),n=d.n(i),t=d("q1tI"),s=d("TSYQ"),e=d.n(s),a=d("BGR+"),l=d("T1rO"),u=d.n(l),h=d("fEPi"),f=d.n(h),g=d("DFhj"),v=d.n(g),y=d("PKem"),E=d("H84U"),T=function(B){return!isNaN(parseFloat(B))&&isFinite(B)},w=T,S=function(D,B){var M={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&B.indexOf(U)<0&&(M[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,U=Object.getOwnPropertySymbols(D);F<U.length;F++)B.indexOf(U[F])<0&&Object.prototype.propertyIsEnumerable.call(D,U[F])&&(M[U[F]]=D[U[F]]);return M},I={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},L=t.createContext({}),O=function(){var D=0;return function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return D+=1,"".concat(B).concat(D)}}(),N=function(D){r()(M,D);var B=n()(M);function M(U){var F;m()(this,M),F=B.call(this,U),F.responsiveHandler=function(V){F.setState({below:V.matches});var z=F.props.onBreakpoint,Y=F.state.collapsed;z&&z(V.matches),Y!==V.matches&&F.setCollapsed(V.matches,"responsive")},F.setCollapsed=function(V,z){"collapsed"in F.props||F.setState({collapsed:V});var Y=F.props.onCollapse;Y&&Y(V,z)},F.toggle=function(){var V=!F.state.collapsed;F.setCollapsed(V,"clickTrigger")},F.renderSider=function(V){var z,Y=V.getPrefixCls,J=F.props,ie=J.prefixCls,Z=J.className,oe=J.theme,ge=J.collapsible,pe=J.reverseArrow,De=J.trigger,ce=J.style,Oe=J.width,se=J.collapsedWidth,$=J.zeroWidthTriggerStyle,ze=J.children,re=S(J,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),X=F.state,G=X.collapsed,Q=X.below,ve=Y("layout-sider",ie),de=Object(a.default)(re,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Ce=G?se:Oe,we=w(Ce)?"".concat(Ce,"px"):String(Ce),le=parseFloat(String(se||0))===0?t.createElement("span",{onClick:F.toggle,className:e()("".concat(ve,"-zero-width-trigger"),"".concat(ve,"-zero-width-trigger-").concat(pe?"right":"left")),style:$},De||t.createElement(u.a,null)):null,fe={expanded:pe?t.createElement(f.a,null):t.createElement(v.a,null),collapsed:pe?t.createElement(v.a,null):t.createElement(f.a,null)},xe=G?"collapsed":"expanded",We=fe[xe],nt=De!==null?le||t.createElement("div",{className:"".concat(ve,"-trigger"),onClick:F.toggle,style:{width:we}},De||We):null,$e=A()(A()({},ce),{flex:"0 0 ".concat(we),maxWidth:we,minWidth:we,width:we}),Le=e()(Z,ve,"".concat(ve,"-").concat(oe),(z={},x()(z,"".concat(ve,"-collapsed"),!!G),x()(z,"".concat(ve,"-has-trigger"),ge&&De!==null&&!le),x()(z,"".concat(ve,"-below"),!!Q),x()(z,"".concat(ve,"-zero-width"),parseFloat(we)===0),z));return t.createElement("aside",A()({className:Le},de,{style:$e}),t.createElement("div",{className:"".concat(ve,"-children")},ze),ge||Q&&le?nt:null)},F.uniqueId=O("ant-sider-");var j;typeof window!="undefined"&&(j=window.matchMedia),j&&U.breakpoint&&U.breakpoint in I&&(F.mql=j("(max-width: ".concat(I[U.breakpoint],")")));var W;return"collapsed"in U?W=U.collapsed:W=U.defaultCollapsed,F.state={collapsed:W,below:!1},F}return c()(M,[{key:"componentDidMount",value:function(){var F;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(F=this.props)===null||F===void 0||F.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var F,j;(F=this===null||this===void 0?void 0:this.mql)===null||F===void 0||F.removeListener(this.responsiveHandler),(j=this.props)===null||j===void 0||j.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var F=this.state.collapsed,j=this.props.collapsedWidth;return t.createElement(L.Provider,{value:{siderCollapsed:F,collapsedWidth:j}},t.createElement(E.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(F){return"collapsed"in F?{collapsed:F.collapsed}:null}}]),M}(t.Component);N.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var R=function(D){r()(M,D);var B=n()(M);function M(){return m()(this,M),B.apply(this,arguments)}return c()(M,[{key:"render",value:function(){var F=this;return t.createElement(y.a.Consumer,null,function(j){return t.createElement(N,A()({},j,F.props))})}}]),M}(t.Component)},ZYIC:function(H,k,d){var _=d("zM3Q"),x={seriesType:"lines",plan:_(),reset:function(C){var A=C.coordinateSystem,b=C.get("polyline"),m=C.pipelineContext.large;function p(c,o){var r=[];if(m){var i,n=c.end-c.start;if(b){for(var t=0,s=c.start;s<c.end;s++)t+=C.getLineCoordsCount(s);i=new Float32Array(n+t*2)}else i=new Float32Array(n*4);for(var e=0,a=[],s=c.start;s<c.end;s++){var l=C.getLineCoords(s,r);b&&(i[e++]=l);for(var u=0;u<l;u++)a=A.dataToPoint(r[u],!1,a),i[e++]=a[0],i[e++]=a[1]}o.setLayout("linesPoints",i)}else for(var s=c.start;s<c.end;s++){var h=o.getItemModel(s),l=C.getLineCoords(s,r),f=[];if(b)for(var g=0;g<l;g++)f.push(A.dataToPoint(r[g]));else{f[0]=A.dataToPoint(r[0]),f[1]=A.dataToPoint(r[1]);var v=h.get("lineStyle.curveness");+v&&(f[2]=[(f[0][0]+f[1][0])/2-(f[0][1]-f[1][1])*v,(f[0][1]+f[1][1])/2-(f[1][0]-f[0][0])*v])}o.setItemLayout(s,f)}}return{progress:p}}};H.exports=x},Ze12:function(H,k,d){var _=d("ItGF"),x=d("hOwI"),C=x.buildTransformer,A="___zrEVENTSAVED",b=[];function m(i,n,t,s,e){return p(b,n,s,e,!0)&&p(i,t,b[0],b[1])}function p(i,n,t,s,e){if(n.getBoundingClientRect&&_.domSupported&&!r(n)){var a=n[A]||(n[A]={}),l=c(n,a),u=o(l,a,e);if(u)return u(i,t,s),!0}return!1}function c(i,n){var t=n.markers;if(t)return t;t=n.markers=[];for(var s=["left","right"],e=["top","bottom"],a=0;a<4;a++){var l=document.createElement("div"),u=l.style,h=a%2,f=(a>>1)%2;u.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",s[h]+":0",e[f]+":0",s[1-h]+":auto",e[1-f]+":auto",""].join("!important;"),i.appendChild(l),t.push(l)}return t}function o(i,n,t){for(var s=t?"invTrans":"trans",e=n[s],a=n.srcCoords,l=!0,u=[],h=[],f=0;f<4;f++){var g=i[f].getBoundingClientRect(),v=2*f,y=g.left,E=g.top;u.push(y,E),l=l&&a&&y===a[v]&&E===a[v+1],h.push(i[f].offsetLeft,i[f].offsetTop)}return l&&e?e:(n.srcCoords=u,n[s]=t?C(h,u):C(u,h))}function r(i){return i.nodeName.toUpperCase()==="CANVAS"}k.transformLocalCoord=m,k.transformCoordWithViewport=p,k.isCanvasEl=r},Znkb:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("zTMp"),b=C.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(r,i,n,t){this.axisPointerClass&&A.fixValue(r),b.superApply(this,"render",arguments),m(this,r,i,n,t,!0)},updateAxisPointer:function(r,i,n,t,s){m(this,r,i,n,t,!1)},remove:function(r,i){var n=this._axisPointer;n&&n.remove(i),b.superApply(this,"remove",arguments)},dispose:function(r,i){p(this,i),b.superApply(this,"dispose",arguments)}});function m(r,i,n,t,s,e){var a=b.getAxisPointerClass(r.axisPointerClass);if(!a)return;var l=A.getAxisPointerModel(i);l?(r._axisPointer||(r._axisPointer=new a)).render(i,l,t,e):p(r,t)}function p(r,i,n){var t=r._axisPointer;t&&t.dispose(i,n),r._axisPointer=null}var c=[];b.registerAxisPointerClass=function(r,i){c[r]=i},b.getAxisPointerClass=function(r){return r&&c[r]};var o=b;H.exports=o},"Znn+":function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("9ama"),A=d.n(C)},ZqQs:function(H,k,d){var _=d("bYtY");function x(m){var p=m&&m.timeline;_.isArray(p)||(p=p?[p]:[]),_.each(p,function(c){if(!c)return;C(c)})}function C(m){var p=m.type,c={number:"value",time:"time"};if(c[p]&&(m.axisType=c[p],delete m.type),A(m),b(m,"controlPosition")){var o=m.controlStyle||(m.controlStyle={});b(o,"position")||(o.position=m.controlPosition),o.position==="none"&&!b(o,"show")&&(o.show=!1,delete o.position),delete m.controlPosition}_.each(m.data||[],function(r){_.isObject(r)&&!_.isArray(r)&&(!b(r,"value")&&b(r,"name")&&(r.value=r.name),A(r))})}function A(m){var p=m.itemStyle||(m.itemStyle={}),c=p.emphasis||(p.emphasis={}),o=m.label||m.label||{},r=o.normal||(o.normal={}),i={normal:1,emphasis:1};_.each(o,function(n,t){!i[t]&&!b(r,t)&&(r[t]=n)}),c.label&&!b(o,"emphasis")&&(o.emphasis=c.label,delete c.label)}function b(m,p){return m.hasOwnProperty(p)}H.exports=x},Zss7:function(H,k,d){var _;(function(x){var C=/^\s+/,A=/\s+$/,b=0,m=x.round,p=x.min,c=x.max,o=x.random;function r(ce,Oe){if(ce=ce||"",Oe=Oe||{},ce instanceof r)return ce;if(!(this instanceof r))return new r(ce,Oe);var se=i(ce);this._originalInput=ce,this._r=se.r,this._g=se.g,this._b=se.b,this._a=se.a,this._roundA=m(100*this._a)/100,this._format=Oe.format||se.format,this._gradientType=Oe.gradientType,this._r<1&&(this._r=m(this._r)),this._g<1&&(this._g=m(this._g)),this._b<1&&(this._b=m(this._b)),this._ok=se.ok,this._tc_id=b++}r.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 Oe=this.toRgb();return(Oe.r*299+Oe.g*587+Oe.b*114)/1e3},getLuminance:function(){var Oe=this.toRgb(),se,$,ze,re,X,G;return se=Oe.r/255,$=Oe.g/255,ze=Oe.b/255,se<=.03928?re=se/12.92:re=x.pow((se+.055)/1.055,2.4),$<=.03928?X=$/12.92:X=x.pow(($+.055)/1.055,2.4),ze<=.03928?G=ze/12.92:G=x.pow((ze+.055)/1.055,2.4),.2126*re+.7152*X+.0722*G},setAlpha:function(Oe){return this._a=U(Oe),this._roundA=m(100*this._a)/100,this},toHsv:function(){var Oe=e(this._r,this._g,this._b);return{h:Oe.h*360,s:Oe.s,v:Oe.v,a:this._a}},toHsvString:function(){var Oe=e(this._r,this._g,this._b),se=m(Oe.h*360),$=m(Oe.s*100),ze=m(Oe.v*100);return this._a==1?"hsv("+se+", "+$+"%, "+ze+"%)":"hsva("+se+", "+$+"%, "+ze+"%, "+this._roundA+")"},toHsl:function(){var Oe=t(this._r,this._g,this._b);return{h:Oe.h*360,s:Oe.s,l:Oe.l,a:this._a}},toHslString:function(){var Oe=t(this._r,this._g,this._b),se=m(Oe.h*360),$=m(Oe.s*100),ze=m(Oe.l*100);return this._a==1?"hsl("+se+", "+$+"%, "+ze+"%)":"hsla("+se+", "+$+"%, "+ze+"%, "+this._roundA+")"},toHex:function(Oe){return l(this._r,this._g,this._b,Oe)},toHexString:function(Oe){return"#"+this.toHex(Oe)},toHex8:function(Oe){return u(this._r,this._g,this._b,this._a,Oe)},toHex8String:function(Oe){return"#"+this.toHex8(Oe)},toRgb:function(){return{r:m(this._r),g:m(this._g),b:m(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+m(this._r)+", "+m(this._g)+", "+m(this._b)+")":"rgba("+m(this._r)+", "+m(this._g)+", "+m(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:m(F(this._r,255)*100)+"%",g:m(F(this._g,255)*100)+"%",b:m(F(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+m(F(this._r,255)*100)+"%, "+m(F(this._g,255)*100)+"%, "+m(F(this._b,255)*100)+"%)":"rgba("+m(F(this._r,255)*100)+"%, "+m(F(this._g,255)*100)+"%, "+m(F(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:B[l(this._r,this._g,this._b,!0)]||!1},toFilter:function(Oe){var se="#"+h(this._r,this._g,this._b,this._a),$=se,ze=this._gradientType?"GradientType = 1, ":"";if(Oe){var re=r(Oe);$="#"+h(re._r,re._g,re._b,re._a)}return"progid:DXImageTransform.Microsoft.gradient("+ze+"startColorstr="+se+",endColorstr="+$+")"},toString:function(Oe){var se=!!Oe;Oe=Oe||this._format;var $=!1,ze=this._a<1&&this._a>=0,re=!se&&ze&&(Oe==="hex"||Oe==="hex6"||Oe==="hex3"||Oe==="hex4"||Oe==="hex8"||Oe==="name");return re?Oe==="name"&&this._a===0?this.toName():this.toRgbString():(Oe==="rgb"&&($=this.toRgbString()),Oe==="prgb"&&($=this.toPercentageRgbString()),(Oe==="hex"||Oe==="hex6")&&($=this.toHexString()),Oe==="hex3"&&($=this.toHexString(!0)),Oe==="hex4"&&($=this.toHex8String(!0)),Oe==="hex8"&&($=this.toHex8String()),Oe==="name"&&($=this.toName()),Oe==="hsl"&&($=this.toHslString()),Oe==="hsv"&&($=this.toHsvString()),$||this.toHexString())},clone:function(){return r(this.toString())},_applyModification:function(Oe,se){var $=Oe.apply(null,[this].concat([].slice.call(se)));return this._r=$._r,this._g=$._g,this._b=$._b,this.setAlpha($._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(E,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(Oe,se){return Oe.apply(null,[this].concat([].slice.call(se)))},analogous:function(){return this._applyCombination(N,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(R,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(I,arguments)},tetrad:function(){return this._applyCombination(L,arguments)}},r.fromRatio=function(ce,Oe){if(typeof ce=="object"){var se={};for(var $ in ce)ce.hasOwnProperty($)&&($==="a"?se[$]=ce[$]:se[$]=J(ce[$]));ce=se}return r(ce,Oe)};function i(ce){var Oe={r:0,g:0,b:0},se=1,$=null,ze=null,re=null,X=!1,G=!1;return typeof ce=="string"&&(ce=pe(ce)),typeof ce=="object"&&(ge(ce.r)&&ge(ce.g)&&ge(ce.b)?(Oe=n(ce.r,ce.g,ce.b),X=!0,G=String(ce.r).substr(-1)==="%"?"prgb":"rgb"):ge(ce.h)&&ge(ce.s)&&ge(ce.v)?($=J(ce.s),ze=J(ce.v),Oe=a(ce.h,$,ze),X=!0,G="hsv"):ge(ce.h)&&ge(ce.s)&&ge(ce.l)&&($=J(ce.s),re=J(ce.l),Oe=s(ce.h,$,re),X=!0,G="hsl"),ce.hasOwnProperty("a")&&(se=ce.a)),se=U(se),{ok:X,format:ce.format||G,r:p(255,c(Oe.r,0)),g:p(255,c(Oe.g,0)),b:p(255,c(Oe.b,0)),a:se}}function n(ce,Oe,se){return{r:F(ce,255)*255,g:F(Oe,255)*255,b:F(se,255)*255}}function t(ce,Oe,se){ce=F(ce,255),Oe=F(Oe,255),se=F(se,255);var $=c(ce,Oe,se),ze=p(ce,Oe,se),re,X,G=($+ze)/2;if($==ze)re=X=0;else{var Q=$-ze;X=G>.5?Q/(2-$-ze):Q/($+ze);switch($){case ce:re=(Oe-se)/Q+(Oe<se?6:0);break;case Oe:re=(se-ce)/Q+2;break;case se:re=(ce-Oe)/Q+4;break}re/=6}return{h:re,s:X,l:G}}function s(ce,Oe,se){var $,ze,re;ce=F(ce,360),Oe=F(Oe,100),se=F(se,100);function X(ve,de,Ce){return Ce<0&&(Ce+=1),Ce>1&&(Ce-=1),Ce<1/6?ve+(de-ve)*6*Ce:Ce<1/2?de:Ce<2/3?ve+(de-ve)*(2/3-Ce)*6:ve}if(Oe===0)$=ze=re=se;else{var G=se<.5?se*(1+Oe):se+Oe-se*Oe,Q=2*se-G;$=X(Q,G,ce+1/3),ze=X(Q,G,ce),re=X(Q,G,ce-1/3)}return{r:$*255,g:ze*255,b:re*255}}function e(ce,Oe,se){ce=F(ce,255),Oe=F(Oe,255),se=F(se,255);var $=c(ce,Oe,se),ze=p(ce,Oe,se),re,X,G=$,Q=$-ze;if(X=$===0?0:Q/$,$==ze)re=0;else{switch($){case ce:re=(Oe-se)/Q+(Oe<se?6:0);break;case Oe:re=(se-ce)/Q+2;break;case se:re=(ce-Oe)/Q+4;break}re/=6}return{h:re,s:X,v:G}}function a(ce,Oe,se){ce=F(ce,360)*6,Oe=F(Oe,100),se=F(se,100);var $=x.floor(ce),ze=ce-$,re=se*(1-Oe),X=se*(1-ze*Oe),G=se*(1-(1-ze)*Oe),Q=$%6,ve=[se,X,re,re,G,se][Q],de=[G,se,se,X,re,re][Q],Ce=[re,re,G,se,se,X][Q];return{r:ve*255,g:de*255,b:Ce*255}}function l(ce,Oe,se,$){var ze=[Y(m(ce).toString(16)),Y(m(Oe).toString(16)),Y(m(se).toString(16))];return $&&ze[0].charAt(0)==ze[0].charAt(1)&&ze[1].charAt(0)==ze[1].charAt(1)&&ze[2].charAt(0)==ze[2].charAt(1)?ze[0].charAt(0)+ze[1].charAt(0)+ze[2].charAt(0):ze.join("")}function u(ce,Oe,se,$,ze){var re=[Y(m(ce).toString(16)),Y(m(Oe).toString(16)),Y(m(se).toString(16)),Y(ie($))];return ze&&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 h(ce,Oe,se,$){var ze=[Y(ie($)),Y(m(ce).toString(16)),Y(m(Oe).toString(16)),Y(m(se).toString(16))];return ze.join("")}r.equals=function(ce,Oe){return!ce||!Oe?!1:r(ce).toRgbString()==r(Oe).toRgbString()},r.random=function(){return r.fromRatio({r:o(),g:o(),b:o()})};function f(ce,Oe){Oe=Oe===0?0:Oe||10;var se=r(ce).toHsl();return se.s-=Oe/100,se.s=j(se.s),r(se)}function g(ce,Oe){Oe=Oe===0?0:Oe||10;var se=r(ce).toHsl();return se.s+=Oe/100,se.s=j(se.s),r(se)}function v(ce){return r(ce).desaturate(100)}function y(ce,Oe){Oe=Oe===0?0:Oe||10;var se=r(ce).toHsl();return se.l+=Oe/100,se.l=j(se.l),r(se)}function E(ce,Oe){Oe=Oe===0?0:Oe||10;var se=r(ce).toRgb();return se.r=c(0,p(255,se.r-m(255*-(Oe/100)))),se.g=c(0,p(255,se.g-m(255*-(Oe/100)))),se.b=c(0,p(255,se.b-m(255*-(Oe/100)))),r(se)}function T(ce,Oe){Oe=Oe===0?0:Oe||10;var se=r(ce).toHsl();return se.l-=Oe/100,se.l=j(se.l),r(se)}function w(ce,Oe){var se=r(ce).toHsl(),$=(se.h+Oe)%360;return se.h=$<0?360+$:$,r(se)}function S(ce){var Oe=r(ce).toHsl();return Oe.h=(Oe.h+180)%360,r(Oe)}function I(ce){var Oe=r(ce).toHsl(),se=Oe.h;return[r(ce),r({h:(se+120)%360,s:Oe.s,l:Oe.l}),r({h:(se+240)%360,s:Oe.s,l:Oe.l})]}function L(ce){var Oe=r(ce).toHsl(),se=Oe.h;return[r(ce),r({h:(se+90)%360,s:Oe.s,l:Oe.l}),r({h:(se+180)%360,s:Oe.s,l:Oe.l}),r({h:(se+270)%360,s:Oe.s,l:Oe.l})]}function O(ce){var Oe=r(ce).toHsl(),se=Oe.h;return[r(ce),r({h:(se+72)%360,s:Oe.s,l:Oe.l}),r({h:(se+216)%360,s:Oe.s,l:Oe.l})]}function N(ce,Oe,se){Oe=Oe||6,se=se||30;var $=r(ce).toHsl(),ze=360/se,re=[r(ce)];for($.h=($.h-(ze*Oe>>1)+720)%360;--Oe;)$.h=($.h+ze)%360,re.push(r($));return re}function R(ce,Oe){Oe=Oe||6;for(var se=r(ce).toHsv(),$=se.h,ze=se.s,re=se.v,X=[],G=1/Oe;Oe--;)X.push(r({h:$,s:ze,v:re})),re=(re+G)%1;return X}r.mix=function(ce,Oe,se){se=se===0?0:se||50;var $=r(ce).toRgb(),ze=r(Oe).toRgb(),re=se/100,X={r:(ze.r-$.r)*re+$.r,g:(ze.g-$.g)*re+$.g,b:(ze.b-$.b)*re+$.b,a:(ze.a-$.a)*re+$.a};return r(X)},r.readability=function(ce,Oe){var se=r(ce),$=r(Oe);return(x.max(se.getLuminance(),$.getLuminance())+.05)/(x.min(se.getLuminance(),$.getLuminance())+.05)},r.isReadable=function(ce,Oe,se){var $=r.readability(ce,Oe),ze,re;re=!1,ze=De(se);switch(ze.level+ze.size){case"AAsmall":case"AAAlarge":re=$>=4.5;break;case"AAlarge":re=$>=3;break;case"AAAsmall":re=$>=7;break}return re},r.mostReadable=function(ce,Oe,se){var $=null,ze=0,re,X,G,Q;se=se||{},X=se.includeFallbackColors,G=se.level,Q=se.size;for(var ve=0;ve<Oe.length;ve++)re=r.readability(ce,Oe[ve]),re>ze&&(ze=re,$=r(Oe[ve]));return r.isReadable(ce,$,{level:G,size:Q})||!X?$:(se.includeFallbackColors=!1,r.mostReadable(ce,["#fff","#000"],se))};var D=r.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"},B=r.hexNames=M(D);function M(ce){var Oe={};for(var se in ce)ce.hasOwnProperty(se)&&(Oe[ce[se]]=se);return Oe}function U(ce){return ce=parseFloat(ce),(isNaN(ce)||ce<0||ce>1)&&(ce=1),ce}function F(ce,Oe){V(ce)&&(ce="100%");var se=z(ce);return ce=p(Oe,c(0,parseFloat(ce))),se&&(ce=parseInt(ce*Oe,10)/100),x.abs(ce-Oe)<1e-6?1:ce%Oe/parseFloat(Oe)}function j(ce){return p(1,c(0,ce))}function W(ce){return parseInt(ce,16)}function V(ce){return typeof ce=="string"&&ce.indexOf(".")!=-1&&parseFloat(ce)===1}function z(ce){return typeof ce=="string"&&ce.indexOf("%")!=-1}function Y(ce){return ce.length==1?"0"+ce:""+ce}function J(ce){return ce<=1&&(ce=ce*100+"%"),ce}function ie(ce){return x.round(parseFloat(ce)*255).toString(16)}function Z(ce){return W(ce)/255}var oe=function(){var ce="[-\\+]?\\d+%?",Oe="[-\\+]?\\d*\\.\\d+%?",se="(?:"+Oe+")|(?:"+ce+")",$="[\\s|\\(]+("+se+")[,|\\s]+("+se+")[,|\\s]+("+se+")\\s*\\)?",ze="[\\s|\\(]+("+se+")[,|\\s]+("+se+")[,|\\s]+("+se+")[,|\\s]+("+se+")\\s*\\)?";return{CSS_UNIT:new RegExp(se),rgb:new RegExp("rgb"+$),rgba:new RegExp("rgba"+ze),hsl:new RegExp("hsl"+$),hsla:new RegExp("hsla"+ze),hsv:new RegExp("hsv"+$),hsva:new RegExp("hsva"+ze),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 ge(ce){return!!oe.CSS_UNIT.exec(ce)}function pe(ce){ce=ce.replace(C,"").replace(A,"").toLowerCase();var Oe=!1;if(D[ce])ce=D[ce],Oe=!0;else if(ce=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var se;return(se=oe.rgb.exec(ce))?{r:se[1],g:se[2],b:se[3]}:(se=oe.rgba.exec(ce))?{r:se[1],g:se[2],b:se[3],a:se[4]}:(se=oe.hsl.exec(ce))?{h:se[1],s:se[2],l:se[3]}:(se=oe.hsla.exec(ce))?{h:se[1],s:se[2],l:se[3],a:se[4]}:(se=oe.hsv.exec(ce))?{h:se[1],s:se[2],v:se[3]}:(se=oe.hsva.exec(ce))?{h:se[1],s:se[2],v:se[3],a:se[4]}:(se=oe.hex8.exec(ce))?{r:W(se[1]),g:W(se[2]),b:W(se[3]),a:Z(se[4]),format:Oe?"name":"hex8"}:(se=oe.hex6.exec(ce))?{r:W(se[1]),g:W(se[2]),b:W(se[3]),format:Oe?"name":"hex"}:(se=oe.hex4.exec(ce))?{r:W(se[1]+""+se[1]),g:W(se[2]+""+se[2]),b:W(se[3]+""+se[3]),a:Z(se[4]+""+se[4]),format:Oe?"name":"hex8"}:(se=oe.hex3.exec(ce))?{r:W(se[1]+""+se[1]),g:W(se[2]+""+se[2]),b:W(se[3]+""+se[3]),format:Oe?"name":"hex"}:!1}function De(ce){var Oe,se;return ce=ce||{level:"AA",size:"small"},Oe=(ce.level||"AA").toUpperCase(),se=(ce.size||"small").toLowerCase(),Oe!=="AA"&&Oe!=="AAA"&&(Oe="AA"),se!=="small"&&se!=="large"&&(se="small"),{level:Oe,size:se}}H.exports?H.exports=r:!(_=function(){return r}.call(k,d,k,H),_!==void 0&&(H.exports=_))})(Math)},Zvw2:function(H,k,d){var _=d("bYtY"),x=d("hM6l"),C=function(b,m,p,c,o){x.call(this,b,m,p),this.type=c||"value",this.position=o||"bottom",this.orient=null};C.prototype={constructor:C,model:null,isHorizontal:function(){var b=this.position;return b==="top"||b==="bottom"},pointToData:function(b,m){return this.coordinateSystem.pointToData(b,m)[0]},toGlobalCoord:null,toLocalCoord:null},_.inherits(C,x);var A=C;H.exports=A},a7Wl:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},a9QJ:function(H,k){var d={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function _(x,C){if(x==="world"){var A=d[C.name];if(A){var b=C.center;b[0]=A[0],b[1]=A[1]}}}H.exports=_},aHsQ:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("6D9b"),A=d.n(C)},aKvl:function(H,k,d){var _=d("Sj9i"),x=_.quadraticProjectPoint;function C(A,b,m,p,c,o,r,i,n){if(r===0)return!1;var t=r;if(n>b+t&&n>p+t&&n>o+t||n<b-t&&n<p-t&&n<o-t||i>A+t&&i>m+t&&i>c+t||i<A-t&&i<m-t&&i<c-t)return!1;var s=x(A,b,m,p,c,o,i,n,null);return s<=t/2}k.containStroke=C},aTJb:function(H,k,d){var _=d("bLfw");_.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(H,k,d){var _=d("3gBT"),x=d("ItGF"),C=d("bYtY"),A=d("0s+r"),b=d("r6Bn"),m=d("7SHv"),p=d("MKOG"),c=d("zarK");/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var o=!x.canvasSupported,r={canvas:m},i={},n="4.3.1";function t(h,f){var g=new u(_(),h,f);return i[g.id]=g,g}function s(h){if(h)h.dispose();else{for(var f in i)i.hasOwnProperty(f)&&i[f].dispose();i={}}return this}function e(h){return i[h]}function a(h,f){r[h]=f}function l(h){delete i[h]}var u=function(f,g,v){v=v||{},this.dom=g,this.id=f;var y=this,E=new b,T=v.renderer;if(o){if(!r.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!r[T])&&(T="canvas");var w=new r[T](g,E,v,f);this.storage=E,this.painter=w;var S=!x.node&&!x.worker?new c(w.getViewportRoot(),w.root):null;this.handler=new A(E,w,S,w.root),this.animation=new p({stage:{update:C.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var I=E.delFromStorage,L=E.addToStorage;E.delFromStorage=function(O){I.call(E,O),O&&O.removeSelfFromZr(y)},E.addToStorage=function(O){L.call(E,O),O.addSelfToZr(y)}};u.prototype={constructor:u,getId:function(){return this.id},add:function(f){this.storage.addRoot(f),this._needsRefresh=!0},remove:function(f){this.storage.delRoot(f),this._needsRefresh=!0},configLayer:function(f,g){this.painter.configLayer&&this.painter.configLayer(f,g),this._needsRefresh=!0},setBackgroundColor:function(f){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(f),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 f;this._needsRefresh&&(f=!0,this.refreshImmediately()),this._needsRefreshHover&&(f=!0,this.refreshHoverImmediately()),f&&this.trigger("rendered")},addHover:function(f,g){if(this.painter.addHover){var v=this.painter.addHover(f,g);return this.refreshHover(),v}},removeHover:function(f){this.painter.removeHover&&(this.painter.removeHover(f),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(f){f=f||{},this.painter.resize(f.width,f.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(f,g){return this.painter.pathToImage(f,g)},setCursorStyle:function(f){this.handler.setCursorStyle(f)},findHover:function(f,g){return this.handler.findHover(f,g)},on:function(f,g,v){this.handler.on(f,g,v)},off:function(f,g){this.handler.off(f,g)},trigger:function(f,g){this.handler.trigger(f,g)},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,l(this.id)}},k.version=n,k.init=t,k.dispose=s,k.getInstance=e,k.registerPainter=a},aX7z:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("GMDS"),b=d("ieMj"),m=d("4NgU"),p=d("OELB"),c=d("nVfU"),o=c.prepareLayoutBarSeries,r=c.makeColumnLayout,i=c.retrieveColumnLayout,n=d("mFDi");d("IWp7"),d("jCoz");function t(E,T){var w=E.type,S=T.getMin(),I=T.getMax(),L=E.getExtent(),O,N,R;w==="ordinal"?O=T.getCategories().length:(N=T.get("boundaryGap"),C.isArray(N)||(N=[N||0,N||0]),typeof N[0]=="boolean"&&(N=[0,0]),N[0]=p.parsePercent(N[0],1),N[1]=p.parsePercent(N[1],1),R=L[1]-L[0]||Math.abs(L[0])),S==="dataMin"?S=L[0]:typeof S=="function"&&(S=S({min:L[0],max:L[1]})),I==="dataMax"?I=L[1]:typeof I=="function"&&(I=I({min:L[0],max:L[1]}));var D=S!=null,B=I!=null;S==null&&(S=w==="ordinal"?O?0:NaN:L[0]-N[0]*R),I==null&&(I=w==="ordinal"?O?O-1:NaN:L[1]+N[1]*R),(S==null||!isFinite(S))&&(S=NaN),(I==null||!isFinite(I))&&(I=NaN),E.setBlank(C.eqNaN(S)||C.eqNaN(I)||w==="ordinal"&&!E.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(S>0&&I>0&&!D&&(S=0),S<0&&I<0&&!B&&(I=0));var M=T.ecModel;if(M&&w==="time"){var U=o("bar",M),F;if(C.each(U,function(V){F|=V.getBaseAxis()===T.axis}),F){var j=r(U),W=s(S,I,T,j);S=W.min,I=W.max}}return{extent:[S,I],fixMin:D,fixMax:B}}function s(E,T,w,S){var I=w.axis.getExtent(),L=I[1]-I[0],O=i(S,w.axis);if(O===void 0)return{min:E,max:T};var N=Infinity;C.each(O,function(F){N=Math.min(F.offset,N)});var R=-Infinity;C.each(O,function(F){R=Math.max(F.offset+F.width,R)}),N=Math.abs(N),R=Math.abs(R);var D=N+R,B=T-E,M=1-(N+R)/L,U=B/M-B;return T+=U*(R/D),E-=U*(N/D),{min:E,max:T}}function e(E,T){var w=t(E,T),S=w.extent,I=T.get("splitNumber");E.type==="log"&&(E.base=T.get("logBase"));var L=E.type;E.setExtent(S[0],S[1]),E.niceExtent({splitNumber:I,fixMin:w.fixMin,fixMax:w.fixMax,minInterval:L==="interval"||L==="time"?T.get("minInterval"):null,maxInterval:L==="interval"||L==="time"?T.get("maxInterval"):null});var O=T.get("interval");O!=null&&(E.setInterval&&E.setInterval(O))}function a(E,T){if(T=T||E.get("type"),T)switch(T){case"category":return new A(E.getOrdinalMeta?E.getOrdinalMeta():E.getCategories(),[Infinity,-Infinity]);case"value":return new b;default:return(m.getClass(T)||b).create(E)}}function l(E){var T=E.scale.getExtent(),w=T[0],S=T[1];return!(w>0&&S>0||w<0&&S<0)}function u(E){var T=E.getLabelModel().get("formatter"),w=E.type==="category"?E.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(S){return function(I){return I=E.scale.getLabel(I),S.replace("{value}",I!=null?I:"")}}(T),T):typeof T=="function"?function(S,I){return w!=null&&(I=S-w),T(h(E,S),I)}:function(S){return E.scale.getLabel(S)}}function h(E,T){return E.type==="category"?E.scale.getLabel(T):T}function f(E){var T=E.model,w=E.scale;if(!T.get("axisLabel.show")||w.isBlank())return;var S=E.type==="category",I,L,O=w.getExtent();S?L=w.count():(I=w.getTicks(),L=I.length);var N=E.getLabelModel(),R=u(E),D,B=1;L>40&&(B=Math.ceil(L/40));for(var M=0;M<L;M+=B){var U=I?I[M]:O[0]+M,F=R(U),j=N.getTextRect(F),W=g(j,N.get("rotate")||0);D?D.union(W):D=W}return D}function g(E,T){var w=T*Math.PI/180,S=E.plain(),I=S.width,L=S.height,O=I*Math.cos(w)+L*Math.sin(w),N=I*Math.sin(w)+L*Math.cos(w),R=new n(S.x,S.y,O,N);return R}function v(E){var T=E.get("interval");return T==null?"auto":T}function y(E){return E.type==="category"&&v(E.getLabelModel())===0}k.getScaleExtent=t,k.niceScaleExtent=e,k.createScaleByModel=a,k.ifAxisCrossZero=l,k.makeLabelFormatter=u,k.getAxisRawValue=h,k.estimateLabelUnionRect=f,k.getOptionCategoryInterval=v,k.shouldShowAllLabels=y},"af/B":function(H,k,d){var _=d("bYtY"),x=_.each,C=_.map,A=_.isFunction,b=_.createHashMap,m=_.noop,p=d("9H2F"),c=p.createTask,o=d("iRjW"),r=o.getUID,i=d("fmMI"),n=d("hD7B"),t=d("4NO4"),s=t.normalizeToArray;function e(F,j,W,V){this.ecInstance=F,this.api=j,this.unfinished;var W=this._dataProcessorHandlers=W.slice(),V=this._visualHandlers=V.slice();this._allHandlers=W.concat(V),this._stageTaskMap=b()}var a=e.prototype;a.restoreData=function(F,j){F.restoreData(j),this._stageTaskMap.each(function(W){var V=W.overallTask;V&&V.dirty()})},a.getPerformArgs=function(F,j){if(!F.__pipeline)return;var W=this._pipelineMap.get(F.__pipeline.id),V=W.context,z=!j&&W.progressiveEnabled&&(!V||V.progressiveRender)&&F.__idxInPipeline>W.blockIndex,Y=z?W.step:null,J=V&&V.modDataCount,ie=J!=null?Math.ceil(J/Y):null;return{step:Y,modBy:ie,modDataCount:J}},a.getPipeline=function(F){return this._pipelineMap.get(F)},a.updateStreamModes=function(F,j){var W=this._pipelineMap.get(F.uid),V=F.getData(),z=V.count(),Y=W.progressiveEnabled&&j.incrementalPrepareRender&&z>=W.threshold,J=F.get("large")&&z>=F.get("largeThreshold"),ie=F.get("progressiveChunkMode")==="mod"?z:null;F.pipelineContext=W.context={progressiveRender:Y,modDataCount:ie,large:J}},a.restorePipelines=function(F){var j=this,W=j._pipelineMap=b();F.eachSeries(function(V){var z=V.getProgressive(),Y=V.uid;W.set(Y,{id:Y,head:null,tail:null,threshold:V.getProgressiveThreshold(),progressiveEnabled:z&&!(V.preventIncremental&&V.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),O(j,V,V.dataTask)})},a.prepareStageTasks=function(){var F=this._stageTaskMap,j=this.ecInstance.getModel(),W=this.api;x(this._allHandlers,function(V){var z=F.get(V.uid)||F.set(V.uid,[]);V.reset&&h(this,V,z,j,W),V.overallReset&&f(this,V,z,j,W)},this)},a.prepareView=function(F,j,W,V){var z=F.renderTask,Y=z.context;Y.model=j,Y.ecModel=W,Y.api=V,z.__block=!F.incrementalPrepareRender,O(this,j,z)},a.performDataProcessorTasks=function(F,j){l(this,this._dataProcessorHandlers,F,j,{block:!0})},a.performVisualTasks=function(F,j,W){l(this,this._visualHandlers,F,j,W)};function l(F,j,W,V,z){z=z||{};var Y;x(j,function(ie,Z){if(z.visualType&&z.visualType!==ie.visualType)return;var oe=F._stageTaskMap.get(ie.uid),ge=oe.seriesTaskMap,pe=oe.overallTask;if(pe){var De,ce=pe.agentStubMap;ce.each(function(se){J(z,se)&&(se.dirty(),De=!0)}),De&&pe.dirty(),u(pe,V);var Oe=F.getPerformArgs(pe,z.block);ce.each(function(se){se.perform(Oe)}),Y|=pe.perform(Oe)}else ge&&ge.each(function(se,$){J(z,se)&&se.dirty();var ze=F.getPerformArgs(se,z.block);ze.skip=!ie.performRawSeries&&W.isSeriesFiltered(se.context.model),u(se,V),Y|=se.perform(ze)})});function J(ie,Z){return ie.setDirty&&(!ie.dirtyMap||ie.dirtyMap.get(Z.__pipeline.id))}F.unfinished|=Y}a.performSeriesTasks=function(F){var j;F.eachSeries(function(W){j|=W.dataTask.perform()}),this.unfinished|=j},a.plan=function(){this._pipelineMap.each(function(F){var j=F.tail;do{if(j.__block){F.blockIndex=j.__idxInPipeline;break}j=j.getUpstream()}while(j)})};var u=a.updatePayload=function(F,j){j!=="remain"&&(F.context.payload=j)};function h(F,j,W,V,z){var Y=W.seriesTaskMap||(W.seriesTaskMap=b()),J=j.seriesType,ie=j.getTargetSeries;j.createOnAllSeries?V.eachRawSeries(Z):J?V.eachRawSeriesByType(J,Z):ie&&ie(V,z).each(Z);function Z(ge){var pe=ge.uid,De=Y.get(pe)||Y.set(pe,c({plan:T,reset:w,count:L}));De.context={model:ge,ecModel:V,api:z,useClearVisual:j.isVisual&&!j.isLayout,plan:j.plan,reset:j.reset,scheduler:F},O(F,ge,De)}var oe=F._pipelineMap;Y.each(function(ge,pe){oe.get(pe)||(ge.dispose(),Y.removeKey(pe))})}function f(F,j,W,V,z){var Y=W.overallTask=W.overallTask||c({reset:g});Y.context={ecModel:V,api:z,overallReset:j.overallReset,scheduler:F};var J=Y.agentStubMap=Y.agentStubMap||b(),ie=j.seriesType,Z=j.getTargetSeries,oe=!0,ge=j.modifyOutputEnd;ie?V.eachRawSeriesByType(ie,pe):Z?Z(V,z).each(pe):(oe=!1,x(V.getSeries(),pe));function pe(ce){var Oe=ce.uid,se=J.get(Oe);se||(se=J.set(Oe,c({reset:v,onDirty:E})),Y.dirty()),se.context={model:ce,overallProgress:oe,modifyOutputEnd:ge},se.agent=Y,se.__block=oe,O(F,ce,se)}var De=F._pipelineMap;J.each(function(ce,Oe){De.get(Oe)||(ce.dispose(),Y.dirty(),J.removeKey(Oe))})}function g(F){F.overallReset(F.ecModel,F.api,F.payload)}function v(F,j){return F.overallProgress&&y}function y(){this.agent.dirty(),this.getDownstream().dirty()}function E(){this.agent&&this.agent.dirty()}function T(F){return F.plan&&F.plan(F.model,F.ecModel,F.api,F.payload)}function w(F){F.useClearVisual&&F.data.clearAllVisual();var j=F.resetDefines=s(F.reset(F.model,F.ecModel,F.api,F.payload));return j.length>1?C(j,function(W,V){return I(V)}):S}var S=I(0);function I(F){return function(j,W){var V=W.data,z=W.resetDefines[F];if(z&&z.dataEach)for(var Y=j.start;Y<j.end;Y++)z.dataEach(V,Y);else z&&z.progress&&z.progress(j,V)}}function L(F){return F.data.count()}function O(F,j,W){var V=j.uid,z=F._pipelineMap.get(V);!z.head&&(z.head=W),z.tail&&z.tail.pipe(W),z.tail=W,W.__idxInPipeline=z.count++,W.__pipeline=z}e.wrapStageHandler=function(F,j){return A(F)&&(F={overallReset:F,seriesType:N(F)}),F.uid=r("stageHandler"),j&&(F.visualType=j),F};function N(F){B=null;try{F(R,D)}catch(j){}return B}var R={},D={},B;M(R,i),M(D,n),R.eachSeriesByType=R.eachRawSeriesByType=function(F){B=F},R.eachComponent=function(F){F.mainType==="series"&&F.subType&&(B=F.subType)};function M(F,j){for(var W in j.prototype)F[W]=m}var U=e;H.exports=U},akwb:function(H,k,d){var _=d("RSch"),x=d("bYtY"),C=d("D9ME"),A=d("QBsz");function b(c,o,r){C.call(this,c,o,r),this._lastFrame=0,this._lastFramePercent=0}var m=b.prototype;m.createLine=function(c,o,r){return new _(c,o,r)},m.updateAnimationPoints=function(c,o){this._points=o;for(var r=[0],i=0,n=1;n<o.length;n++){var t=o[n-1],s=o[n];i+=A.dist(t,s),r.push(i)}if(i===0)return;for(var n=0;n<r.length;n++)r[n]/=i;this._offsets=r,this._length=i},m.getLineLength=function(c){return this._length},m.updateSymbolPosition=function(c){var o=c.__t,r=this._points,i=this._offsets,n=r.length;if(!i)return;var t=this._lastFrame,s;if(o<this._lastFramePercent){var e=Math.min(t+1,n-1);for(s=e;s>=0&&!(i[s]<=o);s--);s=Math.min(s,n-2)}else{for(var s=t;s<n&&!(i[s]>o);s++);s=Math.min(s-1,n-2)}A.lerp(c.position,r[s],r[s+1],(o-i[s])/(i[s+1]-i[s]));var a=r[s+1][0]-r[s][0],l=r[s+1][1]-r[s][1];c.rotation=-Math.atan2(l,a)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=o,c.ignore=!1},x.inherits(b,C);var p=b;H.exports=p},apAg:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("bsht")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="SearchOutlined";var c=A.forwardRef(p);k.default=c},as94:function(H,k,d){var _=d("7aKB"),x=d("3LNs"),C=d("IwbS"),A=d("/y7N"),b=d("Fofx"),m=d("+rIm"),p=d("Znkb"),c=x.extend({makeElOption:function(n,t,s,e,a){var l=s.axis;l.dim==="angle"&&(this.animationThreshold=Math.PI/18);var u=l.polar,h=u.getOtherAxis(l),f=h.getExtent(),g;g=l["dataTo"+_.capitalFirst(l.dim)](t);var v=e.get("type");if(v&&v!=="none"){var y=A.buildElStyle(e),E=r[v](l,u,g,f,y);E.style=y,n.graphicKey=E.type,n.pointer=E}var T=e.get("label.margin"),w=o(t,s,e,u,T);A.buildLabelElOption(n,s,e,a,w)}});function o(n,t,s,e,a){var l=t.axis,u=l.dataToCoord(n),h=e.getAngleAxis().getExtent()[0];h=h/180*Math.PI;var f=e.getRadiusAxis().getExtent(),g,v,y;if(l.dim==="radius"){var E=b.create();b.rotate(E,E,h),b.translate(E,E,[e.cx,e.cy]),g=C.applyTransform([u,-a],E);var T=t.getModel("axisLabel").get("rotate")||0,w=m.innerTextLayout(h,T*Math.PI/180,-1);v=w.textAlign,y=w.textVerticalAlign}else{var S=f[1];g=e.coordToPoint([S+a,u]);var I=e.cx,L=e.cy;v=Math.abs(g[0]-I)/S<.3?"center":g[0]>I?"left":"right",y=Math.abs(g[1]-L)/S<.3?"middle":g[1]>L?"top":"bottom"}return{position:g,align:v,verticalAlign:y}}var r={line:function(n,t,s,e,a){return n.dim==="angle"?{type:"Line",shape:A.makeLineShape(t.coordToPoint([e[0],s]),t.coordToPoint([e[1],s]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:s}}},shadow:function(n,t,s,e,a){var l=Math.max(1,n.getBandWidth()),u=Math.PI/180;return n.dim==="angle"?{type:"Sector",shape:A.makeSectorShape(t.cx,t.cy,e[0],e[1],(-s-l/2)*u,(-s+l/2)*u)}:{type:"Sector",shape:A.makeSectorShape(t.cx,t.cy,s-l/2,s+l/2,0,Math.PI*2)}}};p.registerAxisPointerClass("PolarAxisPointer",c);var i=c;H.exports=i},b56q:function(H,k,d){},b80e:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("gKaM")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="DoubleLeftOutlined";var c=A.forwardRef(p);k.default=c},b9oc:function(H,k,d){var _=d("bYtY"),x=_.each,C="\0_ec_hist_store";function A(o,r){var i=c(o);x(r,function(n,t){for(var s=i.length-1;s>=0;s--){var e=i[s];if(e[t])break}if(s<0){var a=o.queryComponents({mainType:"dataZoom",subType:"select",id:t})[0];if(a){var l=a.getPercentRange();i[0][t]={dataZoomId:t,start:l[0],end:l[1]}}}}),i.push(r)}function b(o){var r=c(o),i=r[r.length-1];r.length>1&&r.pop();var n={};return x(i,function(t,s){for(var e=r.length-1;e>=0;e--){var t=r[e][s];if(t){n[s]=t;break}}}),n}function m(o){o[C]=null}function p(o){return c(o).length}function c(o){var r=o[C];return r||(r=o[C]=[{}]),r}k.push=A,k.pop=b,k.clear=m,k.count=p},bBKM:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("+rIm"),m=d("IwbS"),p=["axisLine","axisTickLabel","axisName"],c=C.extendComponentView({type:"radar",render:function(o,r,i){var n=this.group;n.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},_buildAxes:function(o){var r=o.coordinateSystem,i=r.getIndicatorAxes(),n=A.map(i,function(t){var s=new b(t.model,{position:[r.cx,r.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return s});A.each(n,function(t){A.each(p,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(o){var r=o.coordinateSystem,i=r.getIndicatorAxes();if(!i.length)return;var n=o.get("shape"),t=o.getModel("splitLine"),s=o.getModel("splitArea"),e=t.getModel("lineStyle"),a=s.getModel("areaStyle"),l=t.get("show"),u=s.get("show"),h=e.get("color"),f=a.get("color");h=A.isArray(h)?h:[h],f=A.isArray(f)?f:[f];var g=[],v=[];function y(U,F,j){var W=j%F.length;return U[W]=U[W]||[],W}if(n==="circle")for(var E=i[0].getTicksCoords(),T=r.cx,w=r.cy,S=0;S<E.length;S++){if(l){var I=y(g,h,S);g[I].push(new m.Circle({shape:{cx:T,cy:w,r:E[S].coord}}))}if(u&&S<E.length-1){var I=y(v,f,S);v[I].push(new m.Ring({shape:{cx:T,cy:w,r0:E[S].coord,r:E[S+1].coord}}))}}else for(var L,O=A.map(i,function(U,F){var j=U.getTicksCoords();return L=L==null?j.length-1:Math.min(j.length-1,L),A.map(j,function(W){return r.coordToPoint(W.coord,F)})}),N=[],S=0;S<=L;S++){for(var R=[],D=0;D<i.length;D++)R.push(O[D][S]);if(R[0]&&R.push(R[0].slice()),l){var I=y(g,h,S);g[I].push(new m.Polyline({shape:{points:R}}))}if(u&&N){var I=y(v,f,S-1);v[I].push(new m.Polygon({shape:{points:R.concat(N)}}))}N=R.slice().reverse()}var B=e.getLineStyle(),M=a.getAreaStyle();A.each(v,function(U,F){this.group.add(m.mergePath(U,{style:A.defaults({stroke:"none",fill:f[F%f.length]},M),silent:!0}))},this),A.each(g,function(U,F){this.group.add(m.mergePath(U,{style:A.defaults({fill:"none",stroke:h[F%h.length]},B),silent:!0}))},this)}});H.exports=c},bBL8:function(H,k,d){var _=d("ProS");d("LPzL"),d("rfSb"),d("JVwQ");var x=d("UnoB"),C=d("cbJ4"),A=d("0/Rx");_.registerLayout(x),_.registerVisual(C),_.registerProcessor(A("themeRiver"))},bE4E:function(H,k,d){},bE4q:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("RIqP"),m=d.n(b),p=d("q1tI"),c=d("TSYQ"),o=d.n(c),r=d("Zm9Q"),i=d("HQEm"),n=d.n(i),t=d("XBQK"),s=d("H84U"),e=function(N,R){var D={};for(var B in N)Object.prototype.hasOwnProperty.call(N,B)&&R.indexOf(B)<0&&(D[B]=N[B]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,B=Object.getOwnPropertySymbols(N);M<B.length;M++)R.indexOf(B[M])<0&&Object.prototype.propertyIsEnumerable.call(N,B[M])&&(D[B[M]]=N[B[M]]);return D},a=function(R){var D=R.prefixCls,B=R.separator,M=B===void 0?"/":B,U=R.children,F=R.overlay,j=R.dropdownProps,W=e(R,["prefixCls","separator","children","overlay","dropdownProps"]),V=p.useContext(s.b),z=V.getPrefixCls,Y=z("breadcrumb",D),J=function(oe){return F?p.createElement(t.a,x()({overlay:F,placement:"bottomCenter"},j),p.createElement("span",{className:"".concat(Y,"-overlay-link")},oe,p.createElement(n.a,null))):oe},ie;return"href"in W?ie=p.createElement("a",x()({className:"".concat(Y,"-link")},W),U):ie=p.createElement("span",x()({className:"".concat(Y,"-link")},W),U),ie=J(ie),U?p.createElement("span",null,ie,M&&M!==""&&p.createElement("span",{className:"".concat(Y,"-separator")},M)):null};a.__ANT_BREADCRUMB_ITEM=!0;var l=a,u=function(R){var D=R.children,B=p.useContext(s.b),M=B.getPrefixCls,U=M("breadcrumb");return p.createElement("span",{className:"".concat(U,"-separator")},D||"/")};u.__ANT_BREADCRUMB_SEPARATOR=!0;var h=u,f=d("BvKs"),g=d("uaoM"),v=d("0n0R"),y=function(N,R){var D={};for(var B in N)Object.prototype.hasOwnProperty.call(N,B)&&R.indexOf(B)<0&&(D[B]=N[B]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,B=Object.getOwnPropertySymbols(N);M<B.length;M++)R.indexOf(B[M])<0&&Object.prototype.propertyIsEnumerable.call(N,B[M])&&(D[B[M]]=N[B[M]]);return D};function E(N,R){if(!N.breadcrumbName)return null;var D=Object.keys(R).join("|"),B=N.breadcrumbName.replace(new RegExp(":(".concat(D,")"),"g"),function(M,U){return R[U]||M});return B}function T(N,R,D,B){var M=D.indexOf(N)===D.length-1,U=E(N,R);return M?p.createElement("span",null,U):p.createElement("a",{href:"#/".concat(B.join("/"))},U)}var w=function(R,D){return R=(R||"").replace(/^\//,""),Object.keys(D).forEach(function(B){R=R.replace(":".concat(B),D[B])}),R},S=function(R){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",B=arguments.length>2?arguments[2]:void 0,M=m()(R),U=w(D,B);return U&&M.push(U),M},I=function(R){var D=R.prefixCls,B=R.separator,M=B===void 0?"/":B,U=R.style,F=R.className,j=R.routes,W=R.children,V=R.itemRender,z=V===void 0?T:V,Y=R.params,J=Y===void 0?{}:Y,ie=y(R,["prefixCls","separator","style","className","routes","children","itemRender","params"]),Z=p.useContext(s.b),oe=Z.getPrefixCls,ge=Z.direction,pe,De=oe("breadcrumb",D);if(j&&j.length>0){var ce=[];pe=j.map(function(se){var $=w(se.path,J);$&&ce.push($);var ze;return se.children&&se.children.length&&(ze=p.createElement(f.a,null,se.children.map(function(re){return p.createElement(f.a.Item,{key:re.path||re.breadcrumbName},z(re,J,j,S(ce,re.path,J)))}))),p.createElement(l,{overlay:ze,separator:M,key:$||se.breadcrumbName},z(se,J,j,ce))})}else W&&(pe=Object(r.a)(W).map(function(se,$){return se&&(Object(g.a)(se.type&&(se.type.__ANT_BREADCRUMB_ITEM===!0||se.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(v.a)(se,{separator:M,key:$}))}));var Oe=o()(F,De,A()({},"".concat(De,"-rtl"),ge==="rtl"));return p.createElement("div",x()({className:Oe,style:U},ie),pe)};I.Item=l,I.Separator=h;var L=I,O=k.a=L},bKJz:function(H,k,d){},bLfw:function(H,k,d){var _=d("bYtY"),x=d("Qxkt"),C=d("iRjW"),A=d("Yl7c"),b=A.enableClassManagement,m=A.parseClassType,p=d("4NO4"),c=p.makeInner,o=d("+TT/"),r=d("3hzK"),i=c(),n=x.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,a,l,u){x.call(this,e,a,l,u),this.uid=C.getUID("ec_cpt_model")},init:function(e,a,l,u){this.mergeDefaultAndTheme(e,l)},mergeDefaultAndTheme:function(e,a){var l=this.layoutMode,u=l?o.getLayoutParams(e):{},h=a.getTheme();_.merge(e,h.get(this.mainType)),_.merge(e,this.getDefaultOption()),l&&o.mergeLayoutParam(e,u,l)},mergeOption:function(e,a){_.merge(this.option,e,!0);var l=this.layoutMode;l&&o.mergeLayoutParam(this.option,e,l)},optionUpdated:function(e,a){},getDefaultOption:function(){var e=i(this);if(!e.defaultOption){for(var a=[],l=this.constructor;l;){var u=l.prototype.defaultOption;u&&a.push(u),l=l.superClass}for(var h={},f=a.length-1;f>=0;f--)h=_.merge(h,a[f],!0);e.defaultOption=h}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});b(n,{registerWhenExtend:!0}),C.enableSubTypeDefaulter(n),C.enableTopologicalTravel(n,t);function t(e){var a=[];return _.each(n.getClassesByMainType(e),function(l){a=a.concat(l.prototype.dependencies||[])}),a=_.map(a,function(l){return m(l).main}),e!=="dataset"&&_.indexOf(a,"dataset")<=0&&a.unshift("dataset"),a}_.mixin(n,r);var s=n;H.exports=s},bMXI:function(H,k,d){var _=d("bYtY"),x=d("QBsz"),C=d("Fofx"),A=d("mFDi"),b=d("DN4a"),m=x.applyTransform;function p(){b.call(this)}_.mixin(p,b);function c(i){this.name=i,this.zoomLimit,b.call(this),this._roamTransformable=new p,this._rawTransformable=new p,this._center,this._zoom}c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(i,n,t,s){return this._rect=new A(i,n,t,s),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(i,n,t,s){this.transformTo(i,n,t,s),this._viewRect=new A(i,n,t,s)},transformTo:function(i,n,t,s){var e=this.getBoundingRect(),a=this._rawTransformable;a.transform=e.calculateTransform(new A(i,n,t,s)),a.decomposeTransform(),this._updateTransform()},setCenter:function(i){if(!i)return;this._center=i,this._updateCenterAndZoom()},setZoom:function(i){i=i||1;var n=this.zoomLimit;n&&(n.max!=null&&(i=Math.min(n.max,i)),n.min!=null&&(i=Math.max(n.min,i))),this._zoom=i,this._updateCenterAndZoom()},getDefaultCenter:function(){var i=this.getBoundingRect(),n=i.x+i.width/2,t=i.y+i.height/2;return[n,t]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var i=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,t=this.getDefaultCenter(),s=this.getCenter(),e=this.getZoom();s=x.applyTransform([],s,i),t=x.applyTransform([],t,i),n.origin=s,n.position=[t[0]-s[0],t[1]-s[1]],n.scale=[e,e],this._updateTransform()},_updateTransform:function(){var i=this._roamTransformable,n=this._rawTransformable;n.parent=i,i.updateTransform(),n.updateTransform(),C.copy(this.transform||(this.transform=[]),n.transform||C.create()),this._rawTransform=n.getLocalTransform(),this.invTransform=this.invTransform||[],C.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var i=this._roamTransformable.transform,n=this._rawTransformable;return{roamTransform:i?_.slice(i):C.create(),rawScale:_.slice(n.scale),rawPosition:_.slice(n.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var i=this.getBoundingRect().clone();return i.applyTransform(this.transform),i},dataToPoint:function(i,n,t){var s=n?this._rawTransform:this.transform;return t=t||[],s?m(t,i,s):x.copy(t,i)},pointToData:function(i){var n=this.invTransform;return n?m([],i,n):[i[0],i[1]]},convertToPixel:_.curry(o,"dataToPoint"),convertFromPixel:_.curry(o,"pointToData"),containPoint:function(i){return this.getViewRectAfterRoam().contain(i[0],i[1])}},_.mixin(c,b);function o(i,n,t,s){var e=t.seriesModel,a=e?e.coordinateSystem:null;return a===this?a[i](s):null}var r=c;H.exports=r},bNin:function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("FBjb"),A=d("Itpr"),b=A.radialCoordinate,m=d("ProS"),p=d("4mN7"),c=d("bMXI"),o=d("Ae+d"),r=d("SgGq"),i=d("xSat"),n=i.onIrrelevantElement,t=d("Tghj"),s=t.__DEV__,e=d("OELB"),a=e.parsePercent,l=x.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,w){var S=w.childPoints,I=S.length,L=w.parentPoint,O=S[0],N=S[I-1];if(I===1){T.moveTo(L[0],L[1]),T.lineTo(O[0],O[1]);return}var R=w.orient,D=R==="TB"||R==="BT"?0:1,B=1-D,M=a(w.forkPosition,1),U=[];U[D]=L[D],U[B]=L[B]+(N[B]-L[B])*M,T.moveTo(L[0],L[1]),T.lineTo(U[0],U[1]),T.moveTo(O[0],O[1]),U[D]=O[D],T.lineTo(U[0],U[1]),U[D]=N[D],T.lineTo(U[0],U[1]),T.lineTo(N[0],N[1]);for(var F=1;F<I-1;F++){var j=S[F];T.moveTo(j[0],j[1]),U[D]=j[D],T.lineTo(U[0],U[1])}}}),u=m.extendChartView({type:"tree",init:function(T,w){this._oldTree,this._mainGroup=new x.Group,this._controller=new r(w.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,w,S,I){var L=T.getData(),O=T.layoutInfo,N=this._mainGroup,R=T.get("layout");R==="radial"?N.attr("position",[O.x+O.width/2,O.y+O.height/2]):N.attr("position",[O.x,O.y]),this._updateViewCoordSys(T,O,R),this._updateController(T,w,S);var D=this._data,B={expandAndCollapse:T.get("expandAndCollapse"),layout:R,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(D).add(function(M){h(L,M)&&g(L,M,null,N,T,B)}).update(function(M,U){var F=D.getItemGraphicEl(U);if(!h(L,M)){F&&y(D,U,F,N,T,B);return}g(L,M,F,N,T,B)}).remove(function(M){var U=D.getItemGraphicEl(M);U&&y(D,M,U,N,T,B)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),B.expandAndCollapse===!0&&L.eachItemGraphicEl(function(M,U){M.off("click").on("click",function(){S.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:U})})}),this._data=L},_updateViewCoordSys:function(T){var w=T.getData(),S=[];w.each(function(D){var B=w.getItemLayout(D);B&&!isNaN(B.x)&&!isNaN(B.y)&&S.push([+B.x,+B.y])});var I=[],L=[];p.fromPoints(S,I,L);var O=this._min,N=this._max;L[0]-I[0]===0&&(I[0]=O?O[0]:I[0]-1,L[0]=N?N[0]:L[0]+1),L[1]-I[1]===0&&(I[1]=O?O[1]:I[1]-1,L[1]=N?N[1]:L[1]+1);var R=T.coordinateSystem=new c;R.zoomLimit=T.get("scaleLimit"),R.setBoundingRect(I[0],I[1],L[0]-I[0],L[1]-I[1]),R.setCenter(T.get("center")),R.setZoom(T.get("zoom")),this.group.attr({position:R.position,scale:R.scale}),this._viewCoordSys=R,this._min=I,this._max=L},_updateController:function(T,w,S){var I=this._controller,L=this._controllerHost,O=this.group;I.setPointerChecker(function(N,R,D){var B=O.getBoundingRect();return B.applyTransform(O.transform),B.contain(R,D)&&!n(N,S,T)}),I.enable(T.get("roam")),L.zoomLimit=T.get("scaleLimit"),L.zoom=T.coordinateSystem.getZoom(),I.off("pan").off("zoom").on("pan",function(N){o.updateViewOnPan(L,N.dx,N.dy),S.dispatchAction({seriesId:T.id,type:"treeRoam",dx:N.dx,dy:N.dy})},this).on("zoom",function(N){o.updateViewOnZoom(L,N.scale,N.originX,N.originY),S.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:N.scale,originX:N.originX,originY:N.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var w=T.getData(),S=this._getNodeGlobalScale(T),I=[S,S];w.eachItemGraphicEl(function(L,O){L.attr("scale",I)})},_getNodeGlobalScale:function(T){var w=T.coordinateSystem;if(w.type!=="view")return 1;var S=this._nodeScaleRatio,I=w.scale,L=I&&I[0]||1,O=w.getZoom(),N=(O-1)*S+1;return N/L},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function h(T,w){var S=T.getItemLayout(w);return S&&!isNaN(S.x)&&!isNaN(S.y)&&T.getItemVisual(w,"symbol")!=="none"}function f(T,w,S){return S.itemModel=w,S.itemStyle=w.getModel("itemStyle").getItemStyle(),S.hoverItemStyle=w.getModel("emphasis.itemStyle").getItemStyle(),S.lineStyle=w.getModel("lineStyle").getLineStyle(),S.labelModel=w.getModel("label"),S.hoverLabelModel=w.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?S.symbolInnerColor=S.itemStyle.fill:S.symbolInnerColor="#fff",S}function g(T,w,S,I,L,O){var N=!S,R=T.tree.getNodeByDataIndex(w),D=R.getModel(),O=f(R,D,O),B=T.tree.root,M=R.parentNode===B?R:R.parentNode||R,U=T.getItemGraphicEl(M.dataIndex),F=M.getLayout(),j=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:F,W=R.getLayout();N?(S=new C(T,w,O),S.attr("position",[j.x,j.y])):S.updateData(T,w,O),S.__radialOldRawX=S.__radialRawX,S.__radialOldRawY=S.__radialRawY,S.__radialRawX=W.rawX,S.__radialRawY=W.rawY,I.add(S),T.setItemGraphicEl(w,S),x.updateProps(S,{position:[W.x,W.y]},L);var V=S.getSymbolPath();if(O.layout==="radial"){var z=B.children[0],Y=z.getLayout(),J=z.children.length,ie,Z;if(W.x===Y.x&&R.isExpand===!0){var oe={};oe.x=(z.children[0].getLayout().x+z.children[J-1].getLayout().x)/2,oe.y=(z.children[0].getLayout().y+z.children[J-1].getLayout().y)/2,ie=Math.atan2(oe.y-Y.y,oe.x-Y.x),ie<0&&(ie=Math.PI*2+ie),Z=oe.x<Y.x,Z&&(ie=ie-Math.PI)}else ie=Math.atan2(W.y-Y.y,W.x-Y.x),ie<0&&(ie=Math.PI*2+ie),R.children.length===0||R.children.length!==0&&R.isExpand===!1?(Z=W.x<Y.x,Z&&(ie=ie-Math.PI)):(Z=W.x>Y.x,Z||(ie=ie-Math.PI));var ge=Z?"left":"right",pe=O.labelModel.get("rotate"),De=pe*(Math.PI/180);V.setStyle({textPosition:O.labelModel.get("position")||ge,textRotation:pe==null?-ie:De,textOrigin:"center",verticalAlign:"middle"})}v(L,R,B,S,j,F,W,I,O)}function v(T,w,S,I,L,O,N,R,D){var B=D.edgeShape,M=I.__edge;if(B==="curve")w.parentNode&&w.parentNode!==S&&(M||(M=I.__edge=new x.BezierCurve({shape:E(D,L,L),style:_.defaults({opacity:0,strokeNoScale:!0},D.lineStyle)})),x.updateProps(M,{shape:E(D,O,N),style:{opacity:1}},T));else if(B==="polyline"&&(D.layout==="orthogonal"&&(w!==S&&w.children&&w.children.length!==0&&w.isExpand===!0))){for(var U=w.children,F=[],j=0;j<U.length;j++){var W=U[j].getLayout();F.push([W.x,W.y])}M||(M=I.__edge=new l({shape:{parentPoint:[N.x,N.y],childPoints:[[N.x,N.y]],orient:D.orient,forkPosition:D.edgeForkPosition},style:_.defaults({opacity:0,strokeNoScale:!0},D.lineStyle)})),x.updateProps(M,{shape:{parentPoint:[N.x,N.y],childPoints:F},style:{opacity:1}},T)}R.add(M)}function y(T,w,S,I,L,O){for(var N=T.tree.getNodeByDataIndex(w),R=T.tree.root,D=N.getModel(),O=f(N,D,O),B=N.parentNode===R?N:N.parentNode||N,M=O.edgeShape,U;U=B.getLayout(),U==null;)B=B.parentNode===R?B:B.parentNode||B;x.updateProps(S,{position:[U.x+1,U.y+1]},L,function(){I.remove(S),T.setItemGraphicEl(w,null)}),S.fadeOut(null,{keepLabel:!0});var F=T.getItemGraphicEl(B.dataIndex),j=F.__edge,W=S.__edge||(B.isExpand===!1||B.children.length===1?j:void 0),M=O.edgeShape;W&&(M==="curve"?x.updateProps(W,{shape:E(O,U,U),style:{opacity:0}},L,function(){I.remove(W)}):M==="polyline"&&O.layout==="orthogonal"&&x.updateProps(W,{shape:{parentPoint:[U.x,U.y],childPoints:[[U.x,U.y]]},style:{opacity:0}},L,function(){I.remove(W)}))}function E(T,w,S){var I,L,O,N,R=T.orient,D,B,M,U;if(T.layout==="radial"){D=w.rawX,M=w.rawY,B=S.rawX,U=S.rawY;var F=b(D,M),j=b(D,M+(U-M)*T.curvature),W=b(B,U+(M-U)*T.curvature),V=b(B,U);return{x1:F.x,y1:F.y,x2:V.x,y2:V.y,cpx1:j.x,cpy1:j.y,cpx2:W.x,cpy2:W.y}}else D=w.x,M=w.y,B=S.x,U=S.y,(R==="LR"||R==="RL")&&(I=D+(B-D)*T.curvature,L=M,O=B+(D-B)*T.curvature,N=U),(R==="TB"||R==="BT")&&(I=D,L=M+(U-M)*T.curvature,O=B,N=U+(M-U)*T.curvature);return{x1:D,y1:M,x2:B,y2:U,cpx1:I,cpy1:L,cpx2:O,cpy2:N}}H.exports=u},bQjk:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return function(x){var C=_,A=C.lib,b=A.CipherParams,m=C.enc,p=m.Hex,c=C.format,o=c.Hex={stringify:function(i){return i.ciphertext.toString(p)},parse:function(i){var n=p.parse(i);return b.create({ciphertext:n})}}}(),_.format.Hex})},bT9E:function(H,k,d){"use strict";d.d(k,"a",function(){return x});var _=d("VTBJ");function x(C,A){var b=Object(_.a)({},C);return Array.isArray(A)&&A.forEach(function(m){delete b[m]}),b}},bX4T:function(H,k,d){"use strict";d.d(k,"a",function(){return c});var _=d("VTBJ"),x=`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`,C=`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`,A="".concat(x," ").concat(C).split(/[\s\n]+/),b="aria-",m="data-";function p(o,r){return o.indexOf(r)===0}function c(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i;r===!1?i={aria:!0,data:!0,attr:!0}:r===!0?i={aria:!0}:i=Object(_.a)({},r);var n={};return Object.keys(o).forEach(function(t){(i.aria&&(t==="role"||p(t,b))||i.data&&p(t,m)||i.attr&&A.includes(t))&&(n[t]=o[t])}),n}},bYtY:function(H,k){var d={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},_={"[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},x=Object.prototype.toString,C=Array.prototype,A=C.forEach,b=C.filter,m=C.slice,p=C.map,c=C.reduce,o={};function r(se,$){se==="createCanvas"&&(l=null),o[se]=$}function i(se){if(se==null||typeof se!="object")return se;var $=se,ze=x.call(se);if(ze==="[object Array]"){if(!ge(se)){$=[];for(var re=0,X=se.length;re<X;re++)$[re]=i(se[re])}}else if(_[ze]){if(!ge(se)){var G=se.constructor;if(se.constructor.from)$=G.from(se);else{$=new G(se.length);for(var re=0,X=se.length;re<X;re++)$[re]=i(se[re])}}}else if(!d[ze]&&!ge(se)&&!U(se)){$={};for(var Q in se)se.hasOwnProperty(Q)&&($[Q]=i(se[Q]))}return $}function n(se,$,ze){if(!D($)||!D(se))return ze?i($):se;for(var re in $)if($.hasOwnProperty(re)){var X=se[re],G=$[re];D(G)&&D(X)&&!O(G)&&!O(X)&&!U(G)&&!U(X)&&!B(G)&&!B(X)&&!ge(G)&&!ge(X)?n(X,G,ze):(ze||!(re in se))&&(se[re]=i($[re],!0))}return se}function t(se,$){for(var ze=se[0],re=1,X=se.length;re<X;re++)ze=n(ze,se[re],$);return ze}function s(se,$){for(var ze in $)$.hasOwnProperty(ze)&&(se[ze]=$[ze]);return se}function e(se,$,ze){for(var re in $)$.hasOwnProperty(re)&&(ze?$[re]!=null:se[re]==null)&&(se[re]=$[re]);return se}var a=function(){return o.createCanvas()};o.createCanvas=function(){return document.createElement("canvas")};var l;function u(){return l||(l=a().getContext("2d")),l}function h(se,$){if(se){if(se.indexOf)return se.indexOf($);for(var ze=0,re=se.length;ze<re;ze++)if(se[ze]===$)return ze}return-1}function f(se,$){var ze=se.prototype;function re(){}re.prototype=$.prototype,se.prototype=new re;for(var X in ze)ze.hasOwnProperty(X)&&(se.prototype[X]=ze[X]);se.prototype.constructor=se,se.superClass=$}function g(se,$,ze){se="prototype"in se?se.prototype:se,$="prototype"in $?$.prototype:$,e(se,$,ze)}function v(se){return se?typeof se=="string"?!1:typeof se.length=="number":void 0}function y(se,$,ze){if(!(se&&$))return;if(se.forEach&&se.forEach===A)se.forEach($,ze);else if(se.length===+se.length)for(var re=0,X=se.length;re<X;re++)$.call(ze,se[re],re,se);else for(var G in se)se.hasOwnProperty(G)&&$.call(ze,se[G],G,se)}function E(se,$,ze){if(!(se&&$))return;if(se.map&&se.map===p)return se.map($,ze);for(var re=[],X=0,G=se.length;X<G;X++)re.push($.call(ze,se[X],X,se));return re}function T(se,$,ze,re){if(!(se&&$))return;if(se.reduce&&se.reduce===c)return se.reduce($,ze,re);for(var X=0,G=se.length;X<G;X++)ze=$.call(re,ze,se[X],X,se);return ze}function w(se,$,ze){if(!(se&&$))return;if(se.filter&&se.filter===b)return se.filter($,ze);for(var re=[],X=0,G=se.length;X<G;X++)$.call(ze,se[X],X,se)&&re.push(se[X]);return re}function S(se,$,ze){if(!(se&&$))return;for(var re=0,X=se.length;re<X;re++)if($.call(ze,se[re],re,se))return se[re]}function I(se,$){var ze=m.call(arguments,2);return function(){return se.apply($,ze.concat(m.call(arguments)))}}function L(se){var $=m.call(arguments,1);return function(){return se.apply(this,$.concat(m.call(arguments)))}}function O(se){return x.call(se)==="[object Array]"}function N(se){return typeof se=="function"}function R(se){return x.call(se)==="[object String]"}function D(se){var $=typeof se;return $==="function"||!!se&&$==="object"}function B(se){return!!d[x.call(se)]}function M(se){return!!_[x.call(se)]}function U(se){return typeof se=="object"&&typeof se.nodeType=="number"&&typeof se.ownerDocument=="object"}function F(se){return se!==se}function j(se){for(var $=0,ze=arguments.length;$<ze;$++)if(arguments[$]!=null)return arguments[$]}function W(se,$){return se!=null?se:$}function V(se,$,ze){return se!=null?se:$!=null?$:ze}function z(){return Function.call.apply(m,arguments)}function Y(se){if(typeof se=="number")return[se,se,se,se];var $=se.length;return $===2?[se[0],se[1],se[0],se[1]]:$===3?[se[0],se[1],se[2],se[1]]:se}function J(se,$){if(!se)throw new Error($)}function ie(se){return se==null?null:typeof se.trim=="function"?se.trim():se.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Z="__ec_primitive__";function oe(se){se[Z]=!0}function ge(se){return se[Z]}function pe(se){var $=O(se);this.data={};var ze=this;se instanceof pe?se.each(re):se&&y(se,re);function re(X,G){$?ze.set(X,G):ze.set(G,X)}}pe.prototype={constructor:pe,get:function($){return this.data.hasOwnProperty($)?this.data[$]:null},set:function($,ze){return this.data[$]=ze},each:function($,ze){ze!==void 0&&($=I($,ze));for(var re in this.data)this.data.hasOwnProperty(re)&&$(this.data[re],re)},removeKey:function($){delete this.data[$]}};function De(se){return new pe(se)}function ce(se,$){for(var ze=new se.constructor(se.length+$.length),re=0;re<se.length;re++)ze[re]=se[re];var X=se.length;for(re=0;re<$.length;re++)ze[re+X]=$[re];return ze}function Oe(){}k.$override=r,k.clone=i,k.merge=n,k.mergeAll=t,k.extend=s,k.defaults=e,k.createCanvas=a,k.getContext=u,k.indexOf=h,k.inherits=f,k.mixin=g,k.isArrayLike=v,k.each=y,k.map=E,k.reduce=T,k.filter=w,k.find=S,k.bind=I,k.curry=L,k.isArray=O,k.isFunction=N,k.isString=R,k.isObject=D,k.isBuiltInObject=B,k.isTypedArray=M,k.isDom=U,k.eqNaN=F,k.retrieve=j,k.retrieve2=W,k.retrieve3=V,k.slice=z,k.normalizeCssArray=Y,k.assert=J,k.trim=ie,k.setAsPrimitive=oe,k.isPrimitive=ge,k.createHashMap=De,k.concatArray=ce,k.noop=Oe},bZqE:function(H,k){function d(x,C,A){for(var b=[x],m=[],p;p=b.pop();)if(m.push(p),p.isExpand){var c=p.children;if(c.length)for(var o=0;o<c.length;o++)b.push(c[o])}for(;p=m.pop();)C(p,A)}function _(x,C){for(var A=[x],b;b=A.pop();)if(C(b),b.isExpand){var m=b.children;if(m.length)for(var p=m.length-1;p>=0;p--)A.push(m[p])}}k.eachAfter=d,k.eachBefore=_},bahg:function(H,k){function d(_){return _.split("")}H.exports=d},bbsP:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("CWI+"),A=d.n(C)},bogI:function(H,k,d){"use strict";d.d(k,"a",function(){return _});var _=function(C){if(!C)return null;var A=typeof C=="function";return A?C():C}},bsht:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},bx4M:function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("q1tI"),m=d("TSYQ"),p=d.n(m),c=d("BGR+"),o=d("H84U"),r=function(E,T){var w={};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&T.indexOf(S)<0&&(w[S]=E[S]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,S=Object.getOwnPropertySymbols(E);I<S.length;I++)T.indexOf(S[I])<0&&Object.prototype.propertyIsEnumerable.call(E,S[I])&&(w[S[I]]=E[S[I]]);return w},i=function(T){return b.createElement(o.a,null,function(w){var S=w.getPrefixCls,I=T.prefixCls,L=T.className,O=T.hoverable,N=O===void 0?!0:O,R=r(T,["prefixCls","className","hoverable"]),D=S("card",I),B=p()("".concat(D,"-grid"),L,x()({},"".concat(D,"-grid-hoverable"),N));return b.createElement("div",A()({},R,{className:B}))})},n=i,t=function(E,T){var w={};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&T.indexOf(S)<0&&(w[S]=E[S]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,S=Object.getOwnPropertySymbols(E);I<S.length;I++)T.indexOf(S[I])<0&&Object.prototype.propertyIsEnumerable.call(E,S[I])&&(w[S[I]]=E[S[I]]);return w},s=function(T){return b.createElement(o.a,null,function(w){var S=w.getPrefixCls,I=T.prefixCls,L=T.className,O=T.avatar,N=T.title,R=T.description,D=t(T,["prefixCls","className","avatar","title","description"]),B=S("card",I),M=p()("".concat(B,"-meta"),L),U=O?b.createElement("div",{className:"".concat(B,"-meta-avatar")},O):null,F=N?b.createElement("div",{className:"".concat(B,"-meta-title")},N):null,j=R?b.createElement("div",{className:"".concat(B,"-meta-description")},R):null,W=F||j?b.createElement("div",{className:"".concat(B,"-meta-detail")},F,j):null;return b.createElement("div",A()({},D,{className:M}),U,W)})},e=s,a=d("ZTPi"),l=d("BMrR"),u=d("kPKH"),h=d("3Nzz"),f=function(E,T){var w={};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&T.indexOf(S)<0&&(w[S]=E[S]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,S=Object.getOwnPropertySymbols(E);I<S.length;I++)T.indexOf(S[I])<0&&Object.prototype.propertyIsEnumerable.call(E,S[I])&&(w[S[I]]=E[S[I]]);return w};function g(E){var T=E.map(function(w,S){return b.createElement("li",{style:{width:"".concat(100/E.length,"%")},key:"action-".concat(S)},b.createElement("span",null,w))});return T}var v=function(T){var w,S,I=b.useContext(o.b),L=I.getPrefixCls,O=I.direction,N=b.useContext(h.b),R=function(wt){T.onTabChange&&T.onTabChange(wt)},D=function(){var wt;return b.Children.forEach(T.children,function(Et){Et&&Et.type&&Et.type===n&&(wt=!0)}),wt},B=T.prefixCls,M=T.className,U=T.extra,F=T.headStyle,j=F===void 0?{}:F,W=T.bodyStyle,V=W===void 0?{}:W,z=T.title,Y=T.loading,J=T.bordered,ie=J===void 0?!0:J,Z=T.size,oe=T.type,ge=T.cover,pe=T.actions,De=T.tabList,ce=T.children,Oe=T.activeTabKey,se=T.defaultActiveTabKey,$=T.tabBarExtraContent,ze=T.hoverable,re=T.tabProps,X=re===void 0?{}:re,G=f(T,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),Q=L("card",B),ve=V.padding===0||V.padding==="0px"?{padding:24}:void 0,de=b.createElement("div",{className:"".concat(Q,"-loading-block")}),Ce=b.createElement("div",{className:"".concat(Q,"-loading-content"),style:ve},b.createElement(l.a,{gutter:8},b.createElement(u.a,{span:22},de)),b.createElement(l.a,{gutter:8},b.createElement(u.a,{span:8},de),b.createElement(u.a,{span:15},de)),b.createElement(l.a,{gutter:8},b.createElement(u.a,{span:6},de),b.createElement(u.a,{span:18},de)),b.createElement(l.a,{gutter:8},b.createElement(u.a,{span:13},de),b.createElement(u.a,{span:9},de)),b.createElement(l.a,{gutter:8},b.createElement(u.a,{span:4},de),b.createElement(u.a,{span:3},de),b.createElement(u.a,{span:16},de))),we=Oe!==void 0,le=A()(A()({},X),(w={},x()(w,we?"activeKey":"defaultActiveKey",we?Oe:se),x()(w,"tabBarExtraContent",$),w)),fe,xe=De&&De.length?b.createElement(a.a,A()({size:"large"},le,{className:"".concat(Q,"-head-tabs"),onChange:R}),De.map(function(gt){return b.createElement(a.a.TabPane,{tab:gt.tab,disabled:gt.disabled,key:gt.key})})):null;(z||U||xe)&&(fe=b.createElement("div",{className:"".concat(Q,"-head"),style:j},b.createElement("div",{className:"".concat(Q,"-head-wrapper")},z&&b.createElement("div",{className:"".concat(Q,"-head-title")},z),U&&b.createElement("div",{className:"".concat(Q,"-extra")},U)),xe));var We=ge?b.createElement("div",{className:"".concat(Q,"-cover")},ge):null,nt=b.createElement("div",{className:"".concat(Q,"-body"),style:V},Y?Ce:ce),$e=pe&&pe.length?b.createElement("ul",{className:"".concat(Q,"-actions")},g(pe)):null,Le=Object(c.default)(G,["onTabChange"]),pt=Z||N,Qe=p()(Q,M,(S={},x()(S,"".concat(Q,"-loading"),Y),x()(S,"".concat(Q,"-bordered"),ie),x()(S,"".concat(Q,"-hoverable"),ze),x()(S,"".concat(Q,"-contain-grid"),D()),x()(S,"".concat(Q,"-contain-tabs"),De&&De.length),x()(S,"".concat(Q,"-").concat(pt),pt),x()(S,"".concat(Q,"-type-").concat(oe),!!oe),x()(S,"".concat(Q,"-rtl"),O==="rtl"),S));return b.createElement("div",A()({},Le,{className:Qe}),fe,We,nt,$e)};v.Grid=n,v.Meta=e;var y=k.a=v},c2i1:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("Yl7c"),b=A.enableClassCheck;function m(t){return"_EC_"+t}var p=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},c=p.prototype;c.type="graph",c.isDirected=function(){return this._directed},c.addNode=function(t,s){t=t==null?""+s:""+t;var e=this._nodesMap;if(e[m(t)])return;var a=new o(t,s);return a.hostGraph=this,this.nodes.push(a),e[m(t)]=a,a},c.getNodeByIndex=function(t){var s=this.data.getRawIndex(t);return this.nodes[s]},c.getNodeById=function(t){return this._nodesMap[m(t)]},c.addEdge=function(t,s,e){var a=this._nodesMap,l=this._edgesMap;if(typeof t=="number"&&(t=this.nodes[t]),typeof s=="number"&&(s=this.nodes[s]),o.isInstance(t)||(t=a[m(t)]),o.isInstance(s)||(s=a[m(s)]),!t||!s)return;var u=t.id+"-"+s.id;if(l[u])return;var h=new r(t,s,e);return h.hostGraph=this,this._directed&&(t.outEdges.push(h),s.inEdges.push(h)),t.edges.push(h),t!==s&&s.edges.push(h),this.edges.push(h),l[u]=h,h},c.getEdgeByIndex=function(t){var s=this.edgeData.getRawIndex(t);return this.edges[s]},c.getEdge=function(t,s){o.isInstance(t)&&(t=t.id),o.isInstance(s)&&(s=s.id);var e=this._edgesMap;return this._directed?e[t+"-"+s]:e[t+"-"+s]||e[s+"-"+t]},c.eachNode=function(t,s){for(var e=this.nodes,a=e.length,l=0;l<a;l++)e[l].dataIndex>=0&&t.call(s,e[l],l)},c.eachEdge=function(t,s){for(var e=this.edges,a=e.length,l=0;l<a;l++)e[l].dataIndex>=0&&e[l].node1.dataIndex>=0&&e[l].node2.dataIndex>=0&&t.call(s,e[l],l)},c.breadthFirstTraverse=function(t,s,e,a){if(o.isInstance(s)||(s=this._nodesMap[m(s)]),!s)return;for(var l=e==="out"?"outEdges":e==="in"?"inEdges":"edges",u=0;u<this.nodes.length;u++)this.nodes[u].__visited=!1;if(t.call(a,s,null))return;for(var h=[s];h.length;)for(var f=h.shift(),g=f[l],u=0;u<g.length;u++){var v=g[u],y=v.node1===f?v.node2:v.node1;if(!y.__visited){if(t.call(a,y,f))return;h.push(y),y.__visited=!0}}},c.update=function(){for(var t=this.data,s=this.edgeData,e=this.nodes,a=this.edges,l=0,u=e.length;l<u;l++)e[l].dataIndex=-1;for(var l=0,u=t.count();l<u;l++)e[t.getRawIndex(l)].dataIndex=l;s.filterSelf(function(h){var f=a[s.getRawIndex(h)];return f.node1.dataIndex>=0&&f.node2.dataIndex>=0});for(var l=0,u=a.length;l<u;l++)a[l].dataIndex=-1;for(var l=0,u=s.count();l<u;l++)a[s.getRawIndex(l)].dataIndex=l},c.clone=function(){for(var t=new p(this._directed),s=this.nodes,e=this.edges,a=0;a<s.length;a++)t.addNode(s[a].id,s[a].dataIndex);for(var a=0;a<e.length;a++){var l=e[a];t.addEdge(l.node1.id,l.node2.id,l.dataIndex)}return t};function o(t,s){this.id=t==null?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=s==null?-1:s}o.prototype={constructor:o,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(this.dataIndex<0)return;var s=this.hostGraph,e=s.data.getItemModel(this.dataIndex);return e.getModel(t)}};function r(t,s,e){this.node1=t,this.node2=s,this.dataIndex=e==null?-1:e}r.prototype.getModel=function(t){if(this.dataIndex<0)return;var s=this.hostGraph,e=s.edgeData.getItemModel(this.dataIndex);return e.getModel(t)};var i=function(t,s){return{getValue:function(e){var a=this[t][s];return a.get(a.getDimension(e||"value"),this.dataIndex)},setVisual:function(e,a){this.dataIndex>=0&&this[t][s].setItemVisual(this.dataIndex,e,a)},getVisual:function(e,a){return this[t][s].getItemVisual(this.dataIndex,e,a)},setLayout:function(e,a){this.dataIndex>=0&&this[t][s].setItemLayout(this.dataIndex,e,a)},getLayout:function(){return this[t][s].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][s].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][s].getRawIndex(this.dataIndex)}}};C.mixin(o,i("hostGraph","data")),C.mixin(r,i("hostGraph","edgeData")),p.Node=o,p.Edge=r,b(o),b(r);var n=p;H.exports=n},c5Ni:function(H,k,d){},c5fP:function(H,k,d){"use strict";function _(Qe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(wt){return typeof wt}:_=function(wt){return wt&&typeof Symbol=="function"&&wt.constructor===Symbol&&wt!==Symbol.prototype?"symbol":typeof wt},_(Qe)}Object.defineProperty(k,"__esModule",{value:!0}),k._tr_init=We,k._tr_stored_block=nt,k._tr_flush_block=Le,k._tr_tally=pt,k._tr_align=$e;var x=A(d("6BzB"));function C(){if(typeof WeakMap!="function")return null;var Qe=new WeakMap;return C=function(){return Qe},Qe}function A(Qe){if(Qe&&Qe.__esModule)return Qe;if(Qe===null||_(Qe)!=="object"&&typeof Qe!="function")return{default:Qe};var gt=C();if(gt&&gt.has(Qe))return gt.get(Qe);var wt={},Et=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _t in Qe)if(Object.prototype.hasOwnProperty.call(Qe,_t)){var Ht=Et?Object.getOwnPropertyDescriptor(Qe,_t):null;Ht&&(Ht.get||Ht.set)?Object.defineProperty(wt,_t,Ht):wt[_t]=Qe[_t]}return wt.default=Qe,gt&&gt.set(Qe,wt),wt}var b=4,m=0,p=1,c=2;function o(Qe){for(var gt=Qe.length;--gt>=0;)Qe[gt]=0}var r=0,i=1,n=2,t=3,s=258,e=29,a=256,l=a+1+e,u=30,h=19,f=2*l+1,g=15,v=16,y=7,E=256,T=16,w=17,S=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],L=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],R=512,D=new Array((l+2)*2);o(D);var B=new Array(u*2);o(B);var M=new Array(R);o(M);var U=new Array(s-t+1);o(U);var F=new Array(e);o(F);var j=new Array(u);o(j);function W(Qe,gt,wt,Et,_t){this.static_tree=Qe,this.extra_bits=gt,this.extra_base=wt,this.elems=Et,this.max_length=_t,this.has_stree=Qe&&Qe.length}var V,z,Y;function J(Qe,gt){this.dyn_tree=Qe,this.max_code=0,this.stat_desc=gt}function ie(Qe){return Qe<256?M[Qe]:M[256+(Qe>>>7)]}function Z(Qe,gt){Qe.pending_buf[Qe.pending++]=gt&255,Qe.pending_buf[Qe.pending++]=gt>>>8&255}function oe(Qe,gt,wt){Qe.bi_valid>v-wt?(Qe.bi_buf|=gt<<Qe.bi_valid&65535,Z(Qe,Qe.bi_buf),Qe.bi_buf=gt>>v-Qe.bi_valid,Qe.bi_valid+=wt-v):(Qe.bi_buf|=gt<<Qe.bi_valid&65535,Qe.bi_valid+=wt)}function ge(Qe,gt,wt){oe(Qe,wt[gt*2],wt[gt*2+1])}function pe(Qe,gt){var wt=0;do wt|=Qe&1,Qe>>>=1,wt<<=1;while(--gt>0);return wt>>>1}function De(Qe){Qe.bi_valid===16?(Z(Qe,Qe.bi_buf),Qe.bi_buf=0,Qe.bi_valid=0):Qe.bi_valid>=8&&(Qe.pending_buf[Qe.pending++]=Qe.bi_buf&255,Qe.bi_buf>>=8,Qe.bi_valid-=8)}function ce(Qe,gt){var wt=gt.dyn_tree,Et=gt.max_code,_t=gt.stat_desc.static_tree,Ht=gt.stat_desc.has_stree,Ze=gt.stat_desc.extra_bits,ye=gt.stat_desc.extra_base,ae=gt.stat_desc.max_length,yt,et,me,Gt,rr,ut,Xt=0;for(Gt=0;Gt<=g;Gt++)Qe.bl_count[Gt]=0;for(wt[Qe.heap[Qe.heap_max]*2+1]=0,yt=Qe.heap_max+1;yt<f;yt++){if(et=Qe.heap[yt],Gt=wt[wt[et*2+1]*2+1]+1,Gt>ae&&(Gt=ae,Xt++),wt[et*2+1]=Gt,et>Et)continue;Qe.bl_count[Gt]++,rr=0,et>=ye&&(rr=Ze[et-ye]),ut=wt[et*2],Qe.opt_len+=ut*(Gt+rr),Ht&&(Qe.static_len+=ut*(_t[et*2+1]+rr))}if(Xt===0)return;do{for(Gt=ae-1;Qe.bl_count[Gt]===0;)Gt--;Qe.bl_count[Gt]--,Qe.bl_count[Gt+1]+=2,Qe.bl_count[ae]--,Xt-=2}while(Xt>0);for(Gt=ae;Gt!==0;Gt--)for(et=Qe.bl_count[Gt];et!==0;){if(me=Qe.heap[--yt],me>Et)continue;wt[me*2+1]!==Gt&&(Qe.opt_len+=(Gt-wt[me*2+1])*wt[me*2],wt[me*2+1]=Gt),et--}}function Oe(Qe,gt,wt){var Et=new Array(g+1),_t=0,Ht,Ze;for(Ht=1;Ht<=g;Ht++)Et[Ht]=_t=_t+wt[Ht-1]<<1;for(Ze=0;Ze<=gt;Ze++){var ye=Qe[Ze*2+1];if(ye===0)continue;Qe[Ze*2]=pe(Et[ye]++,ye)}}function se(){var Qe,gt,wt,Et,_t,Ht=new Array(g+1);for(wt=0,Et=0;Et<e-1;Et++)for(F[Et]=wt,Qe=0;Qe<1<<I[Et];Qe++)U[wt++]=Et;for(U[wt-1]=Et,_t=0,Et=0;Et<16;Et++)for(j[Et]=_t,Qe=0;Qe<1<<L[Et];Qe++)M[_t++]=Et;for(_t>>=7;Et<u;Et++)for(j[Et]=_t<<7,Qe=0;Qe<1<<L[Et]-7;Qe++)M[256+_t++]=Et;for(gt=0;gt<=g;gt++)Ht[gt]=0;for(Qe=0;Qe<=143;)D[Qe*2+1]=8,Qe++,Ht[8]++;for(;Qe<=255;)D[Qe*2+1]=9,Qe++,Ht[9]++;for(;Qe<=279;)D[Qe*2+1]=7,Qe++,Ht[7]++;for(;Qe<=287;)D[Qe*2+1]=8,Qe++,Ht[8]++;for(Oe(D,l+1,Ht),Qe=0;Qe<u;Qe++)B[Qe*2+1]=5,B[Qe*2]=pe(Qe,5);V=new W(D,I,a+1,l,g),z=new W(B,L,0,u,g),Y=new W(new Array(0),O,0,h,y)}function $(Qe){var gt;for(gt=0;gt<l;gt++)Qe.dyn_ltree[gt*2]=0;for(gt=0;gt<u;gt++)Qe.dyn_dtree[gt*2]=0;for(gt=0;gt<h;gt++)Qe.bl_tree[gt*2]=0;Qe.dyn_ltree[E*2]=1,Qe.opt_len=Qe.static_len=0,Qe.last_lit=Qe.matches=0}function ze(Qe){Qe.bi_valid>8?Z(Qe,Qe.bi_buf):Qe.bi_valid>0&&(Qe.pending_buf[Qe.pending++]=Qe.bi_buf),Qe.bi_buf=0,Qe.bi_valid=0}function re(Qe,gt,wt,Et){ze(Qe),Et&&(Z(Qe,wt),Z(Qe,~wt)),x.arraySet(Qe.pending_buf,Qe.window,gt,wt,Qe.pending),Qe.pending+=wt}function X(Qe,gt,wt,Et){var _t=gt*2,Ht=wt*2;return Qe[_t]<Qe[Ht]||Qe[_t]===Qe[Ht]&&Et[gt]<=Et[wt]}function G(Qe,gt,wt){for(var Et=Qe.heap[wt],_t=wt<<1;_t<=Qe.heap_len&&!(_t<Qe.heap_len&&X(gt,Qe.heap[_t+1],Qe.heap[_t],Qe.depth)&&_t++,X(gt,Et,Qe.heap[_t],Qe.depth));)Qe.heap[wt]=Qe.heap[_t],wt=_t,_t<<=1;Qe.heap[wt]=Et}function Q(Qe,gt,wt){var Et,_t,Ht=0,Ze,ye;if(Qe.last_lit!==0)do Et=Qe.pending_buf[Qe.d_buf+Ht*2]<<8|Qe.pending_buf[Qe.d_buf+Ht*2+1],_t=Qe.pending_buf[Qe.l_buf+Ht],Ht++,Et===0?ge(Qe,_t,gt):(Ze=U[_t],ge(Qe,Ze+a+1,gt),ye=I[Ze],ye!==0&&(_t-=F[Ze],oe(Qe,_t,ye)),Et--,Ze=ie(Et),ge(Qe,Ze,wt),ye=L[Ze],ye!==0&&(Et-=j[Ze],oe(Qe,Et,ye)));while(Ht<Qe.last_lit);ge(Qe,E,gt)}function ve(Qe,gt){var wt=gt.dyn_tree,Et=gt.stat_desc.static_tree,_t=gt.stat_desc.has_stree,Ht=gt.stat_desc.elems,Ze,ye,ae=-1,yt;for(Qe.heap_len=0,Qe.heap_max=f,Ze=0;Ze<Ht;Ze++)wt[Ze*2]!==0?(Qe.heap[++Qe.heap_len]=ae=Ze,Qe.depth[Ze]=0):wt[Ze*2+1]=0;for(;Qe.heap_len<2;)yt=Qe.heap[++Qe.heap_len]=ae<2?++ae:0,wt[yt*2]=1,Qe.depth[yt]=0,Qe.opt_len--,_t&&(Qe.static_len-=Et[yt*2+1]);for(gt.max_code=ae,Ze=Qe.heap_len>>1;Ze>=1;Ze--)G(Qe,wt,Ze);yt=Ht;do Ze=Qe.heap[1],Qe.heap[1]=Qe.heap[Qe.heap_len--],G(Qe,wt,1),ye=Qe.heap[1],Qe.heap[--Qe.heap_max]=Ze,Qe.heap[--Qe.heap_max]=ye,wt[yt*2]=wt[Ze*2]+wt[ye*2],Qe.depth[yt]=(Qe.depth[Ze]>=Qe.depth[ye]?Qe.depth[Ze]:Qe.depth[ye])+1,wt[Ze*2+1]=wt[ye*2+1]=yt,Qe.heap[1]=yt++,G(Qe,wt,1);while(Qe.heap_len>=2);Qe.heap[--Qe.heap_max]=Qe.heap[1],ce(Qe,gt),Oe(wt,ae,Qe.bl_count)}function de(Qe,gt,wt){var Et,_t=-1,Ht,Ze=gt[0*2+1],ye=0,ae=7,yt=4;for(Ze===0&&(ae=138,yt=3),gt[(wt+1)*2+1]=65535,Et=0;Et<=wt;Et++){if(Ht=Ze,Ze=gt[(Et+1)*2+1],++ye<ae&&Ht===Ze)continue;ye<yt?Qe.bl_tree[Ht*2]+=ye:Ht!==0?(Ht!==_t&&Qe.bl_tree[Ht*2]++,Qe.bl_tree[T*2]++):ye<=10?Qe.bl_tree[w*2]++:Qe.bl_tree[S*2]++,ye=0,_t=Ht,Ze===0?(ae=138,yt=3):Ht===Ze?(ae=6,yt=3):(ae=7,yt=4)}}function Ce(Qe,gt,wt){var Et,_t=-1,Ht,Ze=gt[0*2+1],ye=0,ae=7,yt=4;for(Ze===0&&(ae=138,yt=3),Et=0;Et<=wt;Et++){if(Ht=Ze,Ze=gt[(Et+1)*2+1],++ye<ae&&Ht===Ze)continue;if(ye<yt)do ge(Qe,Ht,Qe.bl_tree);while(--ye!==0);else Ht!==0?(Ht!==_t&&(ge(Qe,Ht,Qe.bl_tree),ye--),ge(Qe,T,Qe.bl_tree),oe(Qe,ye-3,2)):ye<=10?(ge(Qe,w,Qe.bl_tree),oe(Qe,ye-3,3)):(ge(Qe,S,Qe.bl_tree),oe(Qe,ye-11,7));ye=0,_t=Ht,Ze===0?(ae=138,yt=3):Ht===Ze?(ae=6,yt=3):(ae=7,yt=4)}}function we(Qe){var gt;for(de(Qe,Qe.dyn_ltree,Qe.l_desc.max_code),de(Qe,Qe.dyn_dtree,Qe.d_desc.max_code),ve(Qe,Qe.bl_desc),gt=h-1;gt>=3&&!(Qe.bl_tree[N[gt]*2+1]!==0);gt--);return Qe.opt_len+=3*(gt+1)+5+5+4,gt}function le(Qe,gt,wt,Et){var _t;for(oe(Qe,gt-257,5),oe(Qe,wt-1,5),oe(Qe,Et-4,4),_t=0;_t<Et;_t++)oe(Qe,Qe.bl_tree[N[_t]*2+1],3);Ce(Qe,Qe.dyn_ltree,gt-1),Ce(Qe,Qe.dyn_dtree,wt-1)}function fe(Qe){var gt=4093624447,wt;for(wt=0;wt<=31;wt++,gt>>>=1)if(gt&1&&Qe.dyn_ltree[wt*2]!==0)return m;if(Qe.dyn_ltree[9*2]!==0||Qe.dyn_ltree[10*2]!==0||Qe.dyn_ltree[13*2]!==0)return p;for(wt=32;wt<a;wt++)if(Qe.dyn_ltree[wt*2]!==0)return p;return m}var xe=!1;function We(Qe){xe||(se(),xe=!0),Qe.l_desc=new J(Qe.dyn_ltree,V),Qe.d_desc=new J(Qe.dyn_dtree,z),Qe.bl_desc=new J(Qe.bl_tree,Y),Qe.bi_buf=0,Qe.bi_valid=0,$(Qe)}function nt(Qe,gt,wt,Et){oe(Qe,(r<<1)+(Et?1:0),3),re(Qe,gt,wt,!0)}function $e(Qe){oe(Qe,i<<1,3),ge(Qe,E,D),De(Qe)}function Le(Qe,gt,wt,Et){var _t,Ht,Ze=0;Qe.level>0?(Qe.strm.data_type===c&&(Qe.strm.data_type=fe(Qe)),ve(Qe,Qe.l_desc),ve(Qe,Qe.d_desc),Ze=we(Qe),_t=Qe.opt_len+3+7>>>3,Ht=Qe.static_len+3+7>>>3,Ht<=_t&&(_t=Ht)):_t=Ht=wt+5,wt+4<=_t&&gt!==-1?nt(Qe,gt,wt,Et):Qe.strategy===b||Ht===_t?(oe(Qe,(i<<1)+(Et?1:0),3),Q(Qe,D,B)):(oe(Qe,(n<<1)+(Et?1:0),3),le(Qe,Qe.l_desc.max_code+1,Qe.d_desc.max_code+1,Ze+1),Q(Qe,Qe.dyn_ltree,Qe.dyn_dtree)),$(Qe),Et&&ze(Qe)}function pt(Qe,gt,wt){return Qe.pending_buf[Qe.d_buf+Qe.last_lit*2]=gt>>>8&255,Qe.pending_buf[Qe.d_buf+Qe.last_lit*2+1]=gt&255,Qe.pending_buf[Qe.l_buf+Qe.last_lit]=wt&255,Qe.last_lit++,gt===0?Qe.dyn_ltree[wt*2]++:(Qe.matches++,gt--,Qe.dyn_ltree[(U[wt]+a+1)*2]++,Qe.dyn_dtree[ie(gt)*2]++),Qe.last_lit===Qe.lit_bufsize-1}},c8qY:function(H,k,d){var _=d("IwbS"),x=d("fls0");function C(n){this._ctor=n||x,this.group=new _.Group}var A=C.prototype;A.isPersistent=function(){return!0},A.updateData=function(n){var t=this,s=t.group,e=t._lineData;t._lineData=n,e||s.removeAll();var a=c(n);n.diff(e).add(function(l){b(t,n,l,a)}).update(function(l,u){m(t,e,n,u,l,a)}).remove(function(l){s.remove(e.getItemGraphicEl(l))}).execute()};function b(n,t,s,e){var a=t.getItemLayout(s);if(!r(a))return;var l=new n._ctor(t,s,e);t.setItemGraphicEl(s,l),n.group.add(l)}function m(n,t,s,e,a,l){var u=t.getItemGraphicEl(e);if(!r(s.getItemLayout(a))){n.group.remove(u);return}u?u.updateData(s,a,l):u=new n._ctor(s,a,l),s.setItemGraphicEl(a,u),n.group.add(u)}A.updateLayout=function(){var n=this._lineData;if(!n)return;n.eachItemGraphicEl(function(t,s){t.updateLayout(n,s)},this)},A.incrementalPrepareUpdate=function(n){this._seriesScope=c(n),this._lineData=null,this.group.removeAll()};function p(n){return n.animators&&n.animators.length>0}A.incrementalUpdate=function(n,t){function s(u){!u.isGroup&&!p(u)&&(u.incremental=u.useHoverLayer=!0)}for(var e=n.start;e<n.end;e++){var a=t.getItemLayout(e);if(r(a)){var l=new this._ctor(t,e,this._seriesScope);l.traverse(s),this.group.add(l),t.setItemGraphicEl(e,l)}}};function c(n){var t=n.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}A.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},A._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};function o(n){return isNaN(n[0])||isNaN(n[1])}function r(n){return!o(n[0])&&!o(n[1])}var i=C;H.exports=i},cCMj:function(H,k,d){var _=d("bYtY"),x={updateSelectedMap:function(C){this._targetList=_.isArray(C)?C.slice():[],this._selectTargetMap=_.reduce(C||[],function(A,b){return A.set(b.name,b),A},_.createHashMap())},select:function(C,A){var b=A!=null?this._targetList[A]:this._selectTargetMap.get(C),m=this.get("selectedMode");m==="single"&&this._selectTargetMap.each(function(p){p.selected=!1}),b&&(b.selected=!0)},unSelect:function(C,A){var b=A!=null?this._targetList[A]:this._selectTargetMap.get(C);b&&(b.selected=!1)},toggleSelected:function(C,A){var b=A!=null?this._targetList[A]:this._selectTargetMap.get(C);if(b!=null)return this[b.selected?"unSelect":"select"](C,A),b.selected},isSelected:function(C,A){var b=A!=null?this._targetList[A]:this._selectTargetMap.get(C);return b&&b.selected}};H.exports=x},cVA7:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=d("MT78"),x=b(_),C=d("t3Fx"),A=b(C);function b(r){return r&&r.__esModule?r:{default:r}}function m(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function p(r,i){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:r}function c(r,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);r.prototype=Object.create(i&&i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(r,i):r.__proto__=i)}var o=function(r){c(i,r);function i(n){m(this,i);var t=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n));return t.echartsLib=x.default,t}return i}(A.default);k.default=o},cWXX:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("oIFs"),A=d.n(C)},ca2m:function(H,k,d){var _=d("bYtY"),x={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)"]}}},C={};C.categoryAxis=_.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},x),C.valueAxis=_.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},x),C.timeAxis=_.defaults({scale:!0,min:"dataMin",max:"dataMax"},C.valueAxis),C.logAxis=_.defaults({scale:!0,logBase:10},C.valueAxis);var A=C;H.exports=A},cbJ4:function(H,k,d){var _=d("bYtY"),x=_.createHashMap;function C(A){A.eachSeriesByType("themeRiver",function(b){var m=b.getData(),p=b.getRawData(),c=b.get("color"),o=x();m.each(function(r){o.set(m.getRawIndex(r),r)}),p.each(function(r){var i=p.getName(r),n=c[(b.nameMap.get(i)-1)%c.length];p.setItemVisual(r,"color",n);var t=o.get(r);t!=null&&m.setItemVisual(t,"color",n)})})}H.exports=C},chpo:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=1,x=function(){return"".concat(_++)};k.default=x},cpOr:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("T4UG"),A=d("YXkt"),b=d("bYtY"),m=b.concatArray,p=b.mergeAll,c=b.map,o=d("7aKB"),r=o.encodeHTML,i=d("IDmD"),n=typeof Uint32Array=="undefined"?Array:Uint32Array,t=typeof Float64Array=="undefined"?Array:Float64Array;function s(l){var u=l.data;u&&u[0]&&u[0][0]&&u[0][0].coord&&(l.data=c(u,function(h){var f=[h[0].coord,h[1].coord],g={coords:f};return h[0].name&&(g.fromName=h[0].name),h[1].name&&(g.toName=h[1].name),p([g,h[0],h[1]])}))}var e=C.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(l){l.data=l.data||[],s(l);var u=this._processFlatCoordsArray(l.data);this._flatCoords=u.flatCoords,this._flatCoordsOffset=u.flatCoordsOffset,u.flatCoords&&(l.data=new Float32Array(u.count)),e.superApply(this,"init",arguments)},mergeOption:function(l){if(l.data=l.data||[],s(l),l.data){var u=this._processFlatCoordsArray(l.data);this._flatCoords=u.flatCoords,this._flatCoordsOffset=u.flatCoordsOffset,u.flatCoords&&(l.data=new Float32Array(u.count))}e.superApply(this,"mergeOption",arguments)},appendData:function(l){var u=this._processFlatCoordsArray(l.data);u.flatCoords&&(this._flatCoords?(this._flatCoords=m(this._flatCoords,u.flatCoords),this._flatCoordsOffset=m(this._flatCoordsOffset,u.flatCoordsOffset)):(this._flatCoords=u.flatCoords,this._flatCoordsOffset=u.flatCoordsOffset),l.data=new Float32Array(u.count)),this.getRawData().appendData(l.data)},_getCoordsFromItemModel:function(l){var u=this.getData().getItemModel(l),h=u.option instanceof Array?u.option:u.getShallow("coords");return h},getLineCoordsCount:function(l){return this._flatCoordsOffset?this._flatCoordsOffset[l*2+1]:this._getCoordsFromItemModel(l).length},getLineCoords:function(l,u){if(this._flatCoordsOffset){for(var h=this._flatCoordsOffset[l*2],f=this._flatCoordsOffset[l*2+1],g=0;g<f;g++)u[g]=u[g]||[],u[g][0]=this._flatCoords[h+g*2],u[g][1]=this._flatCoords[h+g*2+1];return f}else{for(var v=this._getCoordsFromItemModel(l),g=0;g<v.length;g++)u[g]=u[g]||[],u[g][0]=v[g][0],u[g][1]=v[g][1];return v.length}},_processFlatCoordsArray:function(l){var u=0;if(this._flatCoords&&(u=this._flatCoords.length),typeof l[0]=="number"){for(var h=l.length,f=new n(h),g=new t(h),v=0,y=0,E=0,T=0;T<h;){E++;var w=l[T++];f[y++]=v+u,f[y++]=w;for(var S=0;S<w;S++){var I=l[T++],L=l[T++];g[v++]=I,g[v++]=L,T>h}}return{flatCoordsOffset:new Uint32Array(f.buffer,0,y),flatCoords:g,count:E}}return{flatCoordsOffset:null,flatCoords:null,count:l.length}},getInitialData:function(l,u){var h=new A(["value"],this);return h.hasItemOption=!1,h.initData(l.data,[],function(f,g,v,y){if(f instanceof Array)return NaN;h.hasItemOption=!0;var E=f.value;if(E!=null)return E instanceof Array?E[y]:E}),h},formatTooltip:function(l){var u=this.getData(),h=u.getItemModel(l),f=h.get("name");if(f)return f;var g=h.get("fromName"),v=h.get("toName"),y=[];return g!=null&&y.push(g),v!=null&&y.push(v),r(y.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var l=this.option.progressive;return l==null?this.option.large?1e4:this.get("progressive"):l},getProgressiveThreshold:function(){var l=this.option.progressiveThreshold;return l==null?this.option.large?2e4:this.get("progressiveThreshold"):l},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),a=e;H.exports=a},crZl:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("IwbS"),A=d("7aKB"),b=d("+TT/"),m=d("XxSj"),p=_.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,r,i){if(this.visualMapModel=c,c.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(c){var o=this.visualMapModel,r=A.normalizeCssArray(o.get("padding")||0),i=c.getBoundingRect();c.add(new C.Rect({z2:-1,silent:!0,shape:{x:i.x-r[3],y:i.y-r[0],width:i.width+r[3]+r[1],height:i.height+r[0]+r[2]},style:{fill:o.get("backgroundColor"),stroke:o.get("borderColor"),lineWidth:o.get("borderWidth")}}))},getControllerVisual:function(c,o,r){r=r||{};var i=r.forceState,n=this.visualMapModel,t={};if(o==="symbol"&&(t.symbol=n.get("itemSymbol")),o==="color"){var s=n.get("contentColor");t.color=s}function e(h){return t[h]}function a(h,f){t[h]=f}var l=n.controllerVisuals[i||n.getValueState(c)],u=m.prepareVisualTypes(l);return x.each(u,function(h){var f=l[h];r.convertOpacityToAlpha&&h==="opacity"&&(h="colorAlpha",f=l.__alphaForOpacity),m.dependsOn(h,o)&&(f&&f.applyVisual(c,e,a))}),t[o]},positionGroup:function(c){var o=this.visualMapModel,r=this.api;b.positionElement(c,o.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})},doRender:x.noop});H.exports=p},crp1:function(H,k,d){"use strict";d.d(k,"b",function(){return at}),d.d(k,"a",function(){return yr});var _={},x=function(ht,ot,Wt,Jt,At){var Bt=_[ot]||(_[ot]=URL.createObjectURL(new Blob([ht],{type:"text/javascript"}))),mt=new Worker(Bt);return mt.onerror=function(Mt){return At(Mt.error,null)},mt.onmessage=function(Mt){return At(null,Mt.data)},mt.postMessage(Wt,Jt),mt},C=Uint8Array,A=Uint16Array,b=Uint32Array,m=new C([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]),p=new C([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 C([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=function(ht,ot){for(var Wt=new A(31),Jt=0;Jt<31;++Jt)Wt[Jt]=ot+=1<<ht[Jt-1];for(var At=new b(Wt[30]),Jt=1;Jt<30;++Jt)for(var Bt=Wt[Jt];Bt<Wt[Jt+1];++Bt)At[Bt]=Bt-Wt[Jt]<<5|Jt;return[Wt,At]},r=o(m,2),i=r[0],n=r[1];i[28]=258,n[258]=28;for(var t=o(p,0),s=t[0],e=t[1],a=new A(32768),l=0;l<32768;++l){var u=(l&43690)>>>1|(l&21845)<<1;u=(u&52428)>>>2|(u&13107)<<2,u=(u&61680)>>>4|(u&3855)<<4,a[l]=((u&65280)>>>8|(u&255)<<8)>>>1}for(var h=function(ht,ot,Wt){for(var Jt=ht.length,At=0,Bt=new A(ot);At<Jt;++At)++Bt[ht[At]-1];var mt=new A(ot);for(At=0;At<ot;++At)mt[At]=mt[At-1]+Bt[At-1]<<1;var Mt;if(Wt){Mt=new A(1<<ot);var hr=15-ot;for(At=0;At<Jt;++At)if(ht[At])for(var or=At<<4|ht[At],ar=ot-ht[At],Gr=mt[ht[At]-1]++<<ar,Yr=Gr|(1<<ar)-1;Gr<=Yr;++Gr)Mt[a[Gr]>>>hr]=or}else for(Mt=new A(Jt),At=0;At<Jt;++At)Mt[At]=a[mt[ht[At]-1]++]>>>15-ht[At];return Mt},f=new C(288),l=0;l<144;++l)f[l]=8;for(var l=144;l<256;++l)f[l]=9;for(var l=256;l<280;++l)f[l]=7;for(var l=280;l<288;++l)f[l]=8;for(var g=new C(32),l=0;l<32;++l)g[l]=5;var v=h(f,9,0),y=h(f,9,1),E=h(g,5,0),T=h(g,5,1),w=function(ht){for(var ot=ht[0],Wt=1;Wt<ht.length;++Wt)ht[Wt]>ot&&(ot=ht[Wt]);return ot},S=function(ht,ot,Wt){var Jt=ot/8>>0;return(ht[Jt]|ht[Jt+1]<<8)>>>(ot&7)&Wt},I=function(ht,ot){var Wt=ot/8>>0;return(ht[Wt]|ht[Wt+1]<<8|ht[Wt+2]<<16)>>>(ot&7)},L=function(ht){return(ht/8>>0)+(ht&7&&1)},O=function(ht,ot,Wt){(ot==null||ot<0)&&(ot=0),(Wt==null||Wt>ht.length)&&(Wt=ht.length);var Jt=new(ht instanceof A?A:ht instanceof b?b:C)(Wt-ot);return Jt.set(ht.subarray(ot,Wt)),Jt},N=function(ht,ot,Wt){var Jt=ht.length,At=!ot||Wt,Bt=!Wt||Wt.i;Wt||(Wt={}),ot||(ot=new C(Jt*3));var mt=function(Ti){var Bn=ot.length;if(Ti>Bn){var Di=new C(Math.max(Bn*2,Ti));Di.set(ot),ot=Di}},Mt=Wt.f||0,hr=Wt.p||0,or=Wt.b||0,ar=Wt.l,Gr=Wt.d,Yr=Wt.m,In=Wt.n,Nn=Jt*8;do{if(!ar){Wt.f=Mt=S(ht,hr,1);var Kn=S(ht,hr+1,3);if(hr+=3,Kn)if(Kn==1)ar=y,Gr=T,Yr=9,In=5;else if(Kn==2){var Xe=S(ht,hr,31)+257,Ie=S(ht,hr+10,15)+4,Be=Xe+S(ht,hr+5,31)+1;hr+=14;for(var Fe=new C(Be),Ge=new C(19),Ke=0;Ke<Ie;++Ke)Ge[c[Ke]]=S(ht,hr+Ke*3,7);hr+=Ie*3;var qe=w(Ge),vt=(1<<qe)-1;if(!Bt&&hr+Be*(qe+7)>Nn)break;for(var lt=h(Ge,qe,1),Ke=0;Ke<Be;){var Ft=lt[S(ht,hr,vt)];hr+=Ft&15;var $n=Ft>>>4;if($n<16)Fe[Ke++]=$n;else{var wr=0,pr=0;for($n==16?(pr=3+S(ht,hr,3),hr+=2,wr=Fe[Ke-1]):$n==17?(pr=3+S(ht,hr,7),hr+=3):$n==18&&(pr=11+S(ht,hr,127),hr+=7);pr--;)Fe[Ke++]=wr}}var Dr=Fe.subarray(0,Xe),zt=Fe.subarray(Xe);Yr=w(Dr),In=w(zt),ar=h(Dr,Yr,1),Gr=h(zt,In,1)}else throw"invalid block type";else{var $n=L(hr)+4,Ii=ht[$n-4]|ht[$n-3]<<8,Mi=$n+Ii;if(Mi>Jt){if(Bt)throw"unexpected EOF";break}At&&mt(or+Ii),ot.set(ht.subarray($n,Mi),or),Wt.b=or+=Ii,Wt.p=hr=Mi*8;continue}if(hr>Nn)throw"unexpected EOF"}At&&mt(or+131072);for(var hn=(1<<Yr)-1,ir=(1<<In)-1,Xr=Yr+In+18;Bt||hr+Xr<Nn;){var wr=ar[I(ht,hr)&hn],Br=wr>>>4;if(hr+=wr&15,hr>Nn)throw"unexpected EOF";if(!wr)throw"invalid length/literal";if(Br<256)ot[or++]=Br;else if(Br==256){ar=null;break}else{var vr=Br-254;if(Br>264){var Ke=Br-257,Cn=m[Ke];vr=S(ht,hr,(1<<Cn)-1)+i[Ke],hr+=Cn}var kn=Gr[I(ht,hr)&ir],ei=kn>>>4;if(!kn)throw"invalid distance";hr+=kn&15;var zt=s[ei];if(ei>3){var Cn=p[ei];zt+=I(ht,hr)&(1<<Cn)-1,hr+=Cn}if(hr>Nn)throw"unexpected EOF";At&&mt(or+131072);for(var ii=or+vr;or<ii;or+=4)ot[or]=ot[or-zt],ot[or+1]=ot[or+1-zt],ot[or+2]=ot[or+2-zt],ot[or+3]=ot[or+3-zt];or=ii}}Wt.l=ar,Wt.p=hr,Wt.b=or,ar&&(Mt=1,Wt.m=Yr,Wt.d=Gr,Wt.n=In)}while(!Mt);return or==ot.length?ot:O(ot,0,or)},R=function(ht,ot,Wt){Wt<<=ot&7;var Jt=ot/8>>0;ht[Jt]|=Wt,ht[Jt+1]|=Wt>>>8},D=function(ht,ot,Wt){Wt<<=ot&7;var Jt=ot/8>>0;ht[Jt]|=Wt,ht[Jt+1]|=Wt>>>8,ht[Jt+2]|=Wt>>>16},B=function(ht,ot){for(var Wt=[],Jt=0;Jt<ht.length;++Jt)ht[Jt]&&Wt.push({s:Jt,f:ht[Jt]});var At=Wt.length,Bt=Wt.slice();if(!At)return[new C(0),0];if(At==1){var mt=new C(Wt[0].s+1);return mt[Wt[0].s]=1,[mt,1]}Wt.sort(function(Be,Fe){return Be.f-Fe.f}),Wt.push({s:-1,f:25001});var Mt=Wt[0],hr=Wt[1],or=0,ar=1,Gr=2;for(Wt[0]={s:-1,f:Mt.f+hr.f,l:Mt,r:hr};ar!=At-1;)Mt=Wt[Wt[or].f<Wt[Gr].f?or++:Gr++],hr=Wt[or!=ar&&Wt[or].f<Wt[Gr].f?or++:Gr++],Wt[ar++]={s:-1,f:Mt.f+hr.f,l:Mt,r:hr};for(var Yr=Bt[0].s,Jt=1;Jt<At;++Jt)Bt[Jt].s>Yr&&(Yr=Bt[Jt].s);var In=new A(Yr+1),Nn=M(Wt[ar-1],In,0);if(Nn>ot){var Jt=0,Kn=0,$n=Nn-ot,Ii=1<<$n;for(Bt.sort(function(Fe,Ge){return In[Ge.s]-In[Fe.s]||Fe.f-Ge.f});Jt<At;++Jt){var Mi=Bt[Jt].s;if(In[Mi]>ot)Kn+=Ii-(1<<Nn-In[Mi]),In[Mi]=ot;else break}for(Kn>>>=$n;Kn>0;){var Xe=Bt[Jt].s;In[Xe]<ot?Kn-=1<<ot-In[Xe]++-1:++Jt}for(;Jt>=0&&Kn;--Jt){var Ie=Bt[Jt].s;In[Ie]==ot&&(--In[Ie],++Kn)}Nn=ot}return[new C(In),Nn]},M=function Ut(ht,ot,Wt){return ht.s==-1?Math.max(Ut(ht.l,ot,Wt+1),Ut(ht.r,ot,Wt+1)):ot[ht.s]=Wt},U=function(ht){for(var ot=ht.length;ot&&!ht[--ot];);for(var Wt=new A(++ot),Jt=0,At=ht[0],Bt=1,mt=function(or){Wt[Jt++]=or},Mt=1;Mt<=ot;++Mt)if(ht[Mt]==At&&Mt!=ot)++Bt;else{if(!At&&Bt>2){for(;Bt>138;Bt-=138)mt(32754);Bt>2&&(mt(Bt>10?Bt-11<<5|28690:Bt-3<<5|12305),Bt=0)}else if(Bt>3){for(mt(At),--Bt;Bt>6;Bt-=6)mt(8304);Bt>2&&(mt(Bt-3<<5|8208),Bt=0)}for(;Bt--;)mt(At);Bt=1,At=ht[Mt]}return[Wt.subarray(0,Jt),ot]},F=function(ht,ot){for(var Wt=0,Jt=0;Jt<ot.length;++Jt)Wt+=ht[Jt]*ot[Jt];return Wt},j=function(ht,ot,Wt){var Jt=Wt.length,At=L(ot+2);ht[At]=Jt&255,ht[At+1]=Jt>>>8,ht[At+2]=ht[At]^255,ht[At+3]=ht[At+1]^255;for(var Bt=0;Bt<Jt;++Bt)ht[At+Bt+4]=Wt[Bt];return(At+4+Jt)*8},W=function(ht,ot,Wt,Jt,At,Bt,mt,Mt,hr,or,ar){R(ot,ar++,Wt),++At[256];for(var Gr=B(At,15),Yr=Gr[0],In=Gr[1],Nn=B(Bt,15),Kn=Nn[0],$n=Nn[1],Ii=U(Yr),Mi=Ii[0],Xe=Ii[1],Ie=U(Kn),Be=Ie[0],Fe=Ie[1],Ge=new A(19),Ke=0;Ke<Mi.length;++Ke)Ge[Mi[Ke]&31]++;for(var Ke=0;Ke<Be.length;++Ke)Ge[Be[Ke]&31]++;for(var qe=B(Ge,7),vt=qe[0],lt=qe[1],Ft=19;Ft>4&&!vt[c[Ft-1]];--Ft);var wr=or+5<<3,pr=F(At,f)+F(Bt,g)+mt,Dr=F(At,Yr)+F(Bt,Kn)+mt+14+3*Ft+F(Ge,vt)+(2*Ge[16]+3*Ge[17]+7*Ge[18]);if(wr<=pr&&wr<=Dr)return j(ot,ar,ht.subarray(hr,hr+or));var zt,hn,ir,Xr;if(R(ot,ar,1+(Dr<pr)),ar+=2,Dr<pr){zt=h(Yr,In,0),hn=Yr,ir=h(Kn,$n,0),Xr=Kn;var Br=h(vt,lt,0);R(ot,ar,Xe-257),R(ot,ar+5,Fe-1),R(ot,ar+10,Ft-4),ar+=14;for(var Ke=0;Ke<Ft;++Ke)R(ot,ar+3*Ke,vt[c[Ke]]);ar+=3*Ft;for(var vr=[Mi,Be],Cn=0;Cn<2;++Cn)for(var kn=vr[Cn],Ke=0;Ke<kn.length;++Ke){var ei=kn[Ke]&31;R(ot,ar,Br[ei]),ar+=vt[ei],ei>15&&(R(ot,ar,kn[Ke]>>>5&127),ar+=kn[Ke]>>>12)}}else zt=v,hn=f,ir=E,Xr=g;for(var Ke=0;Ke<Mt;++Ke)if(Jt[Ke]>255){var ei=Jt[Ke]>>>18&31;D(ot,ar,zt[ei+257]),ar+=hn[ei+257],ei>7&&(R(ot,ar,Jt[Ke]>>>23&31),ar+=m[ei]);var ii=Jt[Ke]&31;D(ot,ar,ir[ii]),ar+=Xr[ii],ii>3&&(D(ot,ar,Jt[Ke]>>>5&8191),ar+=p[ii])}else D(ot,ar,zt[Jt[Ke]]),ar+=hn[Jt[Ke]];return D(ot,ar,zt[256]),ar+hn[256]},V=new b([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),z=new C(0),Y=function(ht,ot,Wt,Jt,At,Bt){var mt=ht.length,Mt=new C(Jt+mt+5*(1+Math.floor(mt/7e3))+At),hr=Mt.subarray(Jt,Mt.length-At),or=0;if(!ot||mt<8)for(var ar=0;ar<=mt;ar+=65535){var Gr=ar+65535;Gr<mt?or=j(hr,or,ht.subarray(ar,Gr)):(hr[ar]=Bt,or=j(hr,or,ht.subarray(ar,mt)))}else{for(var Yr=V[ot-1],In=Yr>>>13,Nn=Yr&8191,Kn=(1<<Wt)-1,$n=new A(32768),Ii=new A(Kn+1),Mi=Math.ceil(Wt/3),Xe=2*Mi,Ie=function(qn){return(ht[qn]^ht[qn+1]<<Mi^ht[qn+2]<<Xe)&Kn},Be=new b(25e3),Fe=new A(288),Ge=new A(32),Ke=0,qe=0,ar=0,vt=0,lt=0,Ft=0;ar<mt;++ar){var wr=Ie(ar),pr=ar&32767,Dr=Ii[wr];if($n[pr]=Dr,Ii[wr]=pr,lt<=ar){var zt=mt-ar;if((Ke>7e3||vt>24576)&&zt>423){or=W(ht,hr,0,Be,Fe,Ge,qe,vt,Ft,ar-Ft,or),vt=Ke=qe=0,Ft=ar;for(var hn=0;hn<286;++hn)Fe[hn]=0;for(var hn=0;hn<30;++hn)Ge[hn]=0}var ir=2,Xr=0,Br=Nn,vr=pr-Dr&32767;if(zt>2&&wr==Ie(ar-vr))for(var Cn=Math.min(In,zt)-1,kn=Math.min(32767,ar),ei=Math.min(258,zt);vr<=kn&&--Br&&pr!=Dr;){if(ht[ar+ir]==ht[ar+ir-vr]){for(var ii=0;ii<ei&&ht[ar+ii]==ht[ar+ii-vr];++ii);if(ii>ir){if(ir=ii,Xr=vr,ii>Cn)break;for(var ti=Math.min(vr,ii-2),Ti=0,hn=0;hn<ti;++hn){var Bn=ar-vr+hn+32768&32767,Di=$n[Bn],gn=Bn-Di+32768&32767;gn>Ti&&(Ti=gn,Dr=Bn)}}}pr=Dr,Dr=$n[pr],vr+=pr-Dr+32768&32767}if(Xr){Be[vt++]=268435456|n[ir]<<18|e[Xr];var Vr=n[ir]&31,Sn=e[Xr]&31;qe+=m[Vr]+p[Sn],++Fe[257+Vr],++Ge[Sn],lt=ar+ir,++Ke}else Be[vt++]=ht[ar],++Fe[ht[ar]]}}or=W(ht,hr,Bt,Be,Fe,Ge,qe,vt,Ft,ar-Ft,or),Bt||(or=j(hr,or,z))}return O(Mt,0,Jt+L(or)+At)},J=function(){for(var Ut=new b(256),ht=0;ht<256;++ht){for(var ot=ht,Wt=9;--Wt;)ot=(ot&1&&3988292384)^ot>>>1;Ut[ht]=ot}return Ut}(),ie=function(){var ht=4294967295;return{p:function(Wt){for(var Jt=ht,At=0;At<Wt.length;++At)Jt=J[Jt&255^Wt[At]]^Jt>>>8;ht=Jt},d:function(){return ht^4294967295}}},Z=function(){var ht=1,ot=0;return{p:function(Jt){for(var At=ht,Bt=ot,mt=Jt.length,Mt=0;Mt!=mt;){for(var hr=Math.min(Mt+5552,mt);Mt<hr;++Mt)At+=Jt[Mt],Bt+=At;At%=65521,Bt%=65521}ht=At,ot=Bt},d:function(){return(ht>>>8<<16|(ot&255)<<8|ot>>>8)+((ht&255)<<23)*2}}},oe=function(ht,ot,Wt,Jt,At){return Y(ht,ot.level==null?6:ot.level,ot.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(ht.length)))*1.5):12+ot.mem,Wt,Jt,!At)},ge=function(ht,ot){var Wt={};for(var Jt in ht)Wt[Jt]=ht[Jt];for(var Jt in ot)Wt[Jt]=ot[Jt];return Wt},pe=function(ht,ot,Wt){for(var Jt=ht(),At=ht.toString(),Bt=At.slice(At.indexOf("[")+1,At.lastIndexOf("]")).replace(/ /g,"").split(","),mt=0;mt<Jt.length;++mt){var Mt=Jt[mt],hr=Bt[mt];if(typeof Mt=="function"){ot+=";"+hr+"=";var or=Mt.toString();if(Mt.prototype)if(or.indexOf("[native code]")!=-1){var ar=or.indexOf(" ",8)+1;ot+=or.slice(ar,or.indexOf("(",ar))}else{ot+=or;for(var Gr in Mt.prototype)ot+=";"+hr+".prototype."+Gr+"="+Mt.prototype[Gr].toString()}else ot+=or}else Wt[hr]=Mt}return[ot,Wt]},De=[],ce=function(ht){var ot=[];for(var Wt in ht)(ht[Wt]instanceof C||ht[Wt]instanceof A||ht[Wt]instanceof b)&&ot.push((ht[Wt]=new ht[Wt].constructor(ht[Wt])).buffer);return ot},Oe=function(ht,ot,Wt,Jt){var At;if(!De[Wt]){for(var Bt="",mt={},Mt=ht.length-1,hr=0;hr<Mt;++hr)At=pe(ht[hr],Bt,mt),Bt=At[0],mt=At[1];De[Wt]=pe(ht[Mt],Bt,mt)}var or=ge({},De[Wt][1]);return x(De[Wt][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+ot.toString()+"}",Wt,or,ce(or),Jt)},se=function(){return[C,A,b,m,p,c,i,s,y,T,a,h,w,S,I,L,O,N,yt,Q,ve]},$=function(){return[C,A,b,m,p,c,n,e,v,f,E,g,a,V,z,h,R,D,B,M,U,F,j,W,L,O,Y,oe,Ht,Q]},ze=function(){return[We,Le,xe,ie,J]},re=function(){return[nt,$e]},X=function(){return[pt,xe,Z]},G=function(){return[Qe]},Q=function(ht){return postMessage(ht,[ht.buffer])},ve=function(ht){return ht&&ht.size&&new C(ht.size)},de=function(ht,ot,Wt,Jt,At,Bt){var mt=Oe(Wt,Jt,At,function(Mt,hr){mt.terminate(),Bt(Mt,hr)});return ot.consume||(ht=new C(ht)),mt.postMessage([ht,ot],[ht.buffer]),function(){mt.terminate()}},Ce=function(ht){return ht.ondata=function(ot,Wt){return postMessage([ot,Wt],[ot.buffer])},function(ot){return ht.push(ot.data[0],ot.data[1])}},we=function(ht,ot,Wt,Jt,At){var Bt,mt=Oe(ht,Jt,At,function(Mt,hr){Mt?(mt.terminate(),ot.ondata.call(ot,Mt)):(hr[1]&&mt.terminate(),ot.ondata.call(ot,Mt,hr[0],hr[1]))});mt.postMessage(Wt),ot.push=function(Mt,hr){if(Bt)throw"stream finished";if(!ot.ondata)throw"no stream handler";mt.postMessage([Mt,Bt=hr],[Mt.buffer])},ot.terminate=function(){mt.terminate()}},le=function(ht,ot){return ht[ot]|ht[ot+1]<<8},fe=function(ht,ot){return(ht[ot]|ht[ot+1]<<8|ht[ot+2]<<16)+(ht[ot+3]<<23)*2},xe=function(ht,ot,Wt){for(;Wt;++ot)ht[ot]=Wt,Wt>>>=8},We=function(ht,ot){var Wt=ot.filename;if(ht[0]=31,ht[1]=139,ht[2]=8,ht[8]=ot.level<2?4:ot.level==9?2:0,ht[9]=3,ot.mtime!=0&&xe(ht,4,Math.floor(new Date(ot.mtime||Date.now())/1e3)),Wt){ht[3]=8;for(var Jt=0;Jt<=Wt.length;++Jt)ht[Jt+10]=Wt.charCodeAt(Jt)}},nt=function(ht){if(ht[0]!=31||ht[1]!=139||ht[2]!=8)throw"invalid gzip data";var ot=ht[3],Wt=10;ot&4&&(Wt+=ht[10]|(ht[11]<<8)+2);for(var Jt=(ot>>3&1)+(ot>>4&1);Jt>0;Jt-=!ht[Wt++]);return Wt+(ot&2)},$e=function(ht){var ot=ht.length;return(ht[ot-4]|ht[ot-3]<<8|ht[ot-2]<<16)+2*(ht[ot-1]<<23)},Le=function(ht){return 10+(ht.filename&&ht.filename.length+1||0)},pt=function(ht,ot){var Wt=ot.level,Jt=Wt==0?0:Wt<6?1:Wt==9?3:2;ht[0]=120,ht[1]=Jt<<6|(Jt?32-2*Jt:1)},Qe=function(ht){if((ht[0]&15)!=8||ht[0]>>>4>7||(ht[0]<<8|ht[1])%31)throw"invalid zlib data";if(ht[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function gt(Ut,ht){return!ht&&typeof Ut=="function"&&(ht=Ut,Ut={}),this.ondata=ht,Ut}var wt=function(){function Ut(ht,ot){!ot&&typeof ht=="function"&&(ot=ht,ht={}),this.ondata=ot,this.o=ht||{}}return Ut.prototype.p=function(ht,ot){this.ondata(oe(ht,this.o,0,0,!ot),ot)},Ut.prototype.push=function(ht,ot){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=ot,this.p(ht,ot||!1)},Ut}(),Et=function(){function Ut(ht,ot){we([$,function(){return[Ce,wt]}],this,gt.call(this,ht,ot),function(Wt){var Jt=new wt(Wt.data);onmessage=Ce(Jt)},6)}return Ut}();function _t(Ut,ht,ot){if(ot||(ot=ht,ht={}),typeof ot!="function")throw"no callback";return de(Ut,ht,[$],function(Wt){return Q(Ht(Wt.data[0],Wt.data[1]))},0,ot)}function Ht(Ut,ht){return ht===void 0&&(ht={}),oe(Ut,ht,0,0)}var Ze=function(){function Ut(ht){this.s={},this.p=new C(0),this.ondata=ht}return Ut.prototype.e=function(ht){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var ot=this.p.length,Wt=new C(ot+ht.length);Wt.set(this.p),Wt.set(ht,ot),this.p=Wt},Ut.prototype.c=function(ht){this.d=this.s.i=ht||!1;var ot=this.s.b,Wt=N(this.p,this.o,this.s);this.ondata(O(Wt,ot,this.s.b),this.d),this.o=O(Wt,this.s.b-32768),this.s.b=this.o.length,this.p=O(this.p,this.s.p/8>>0),this.s.p&=7},Ut.prototype.push=function(ht,ot){this.e(ht),this.c(ot)},Ut}(),ye=function(){function Ut(ht){this.ondata=ht,we([se,function(){return[Ce,Ze]}],this,0,function(){var ot=new Ze;onmessage=Ce(ot)},7)}return Ut}();function ae(Ut,ht,ot){if(ot||(ot=ht,ht={}),typeof ot!="function")throw"no callback";return de(Ut,ht,[se],function(Wt){return Q(yt(Wt.data[0],ve(Wt.data[1])))},1,ot)}function yt(Ut,ht){return N(Ut,ht)}var et=function(){function Ut(ht,ot){this.c=ie(),this.l=0,this.v=1,wt.call(this,ht,ot)}return Ut.prototype.push=function(ht,ot){wt.prototype.push.call(this,ht,ot)},Ut.prototype.p=function(ht,ot){this.c.p(ht),this.l+=ht.length;var Wt=oe(ht,this.o,this.v&&Le(this.o),ot&&8,!ot);this.v&&(We(Wt,this.o),this.v=0),ot&&(xe(Wt,Wt.length-8,this.c.d()),xe(Wt,Wt.length-4,this.l)),this.ondata(Wt,ot)},Ut}(),me=function(){function Ut(ht,ot){we([$,ze,function(){return[Ce,wt,et]}],this,gt.call(this,ht,ot),function(Wt){var Jt=new et(Wt.data);onmessage=Ce(Jt)},8)}return Ut}();function Gt(Ut,ht,ot){if(ot||(ot=ht,ht={}),typeof ot!="function")throw"no callback";return de(Ut,ht,[$,ze,function(){return[rr]}],function(Wt){return Q(rr(Wt.data[0],Wt.data[1]))},2,ot)}function rr(Ut,ht){ht===void 0&&(ht={});var ot=ie(),Wt=Ut.length;ot.p(Ut);var Jt=oe(Ut,ht,Le(ht),8),At=Jt.length;return We(Jt,ht),xe(Jt,At-8,ot.d()),xe(Jt,At-4,Wt),Jt}var ut=function(){function Ut(ht){this.v=1,Ze.call(this,ht)}return Ut.prototype.push=function(ht,ot){if(Ze.prototype.e.call(this,ht),this.v){var Wt=nt(this.p);if(Wt>=this.p.length&&!ot)return;this.p=this.p.subarray(Wt),this.v=0}if(ot){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}Ze.prototype.c.call(this,ot)},Ut}(),Xt=function(){function Ut(ht){this.ondata=ht,we([se,re,function(){return[Ce,Ze,ut]}],this,0,function(){var ot=new ut;onmessage=Ce(ot)},9)}return Ut}();function ur(Ut,ht,ot){if(ot||(ot=ht,ht={}),typeof ot!="function")throw"no callback";return de(Ut,ht,[se,re,function(){return[Fr]}],function(Wt){return Q(Fr(Wt.data[0]))},3,ot)}function Fr(Ut,ht){return N(Ut.subarray(nt(Ut),-8),ht||new C($e(Ut)))}var er=function(){function Ut(ht,ot){this.c=Z(),this.v=1,wt.call(this,ht,ot)}return Ut.prototype.push=function(ht,ot){wt.prototype.push.call(this,ht,ot)},Ut.prototype.p=function(ht,ot){this.c.p(ht);var Wt=oe(ht,this.o,this.v&&2,ot&&4,!ot);this.v&&(pt(Wt,this.o),this.v=0),ot&&xe(Wt,Wt.length-4,this.c.d()),this.ondata(Wt,ot)},Ut}(),nr=function(){function Ut(ht,ot){we([$,X,function(){return[Ce,wt,er]}],this,gt.call(this,ht,ot),function(Wt){var Jt=new er(Wt.data);onmessage=Ce(Jt)},10)}return Ut}();function Lt(Ut,ht,ot){if(ot||(ot=ht,ht={}),typeof ot!="function")throw"no callback";return de(Ut,ht,[$,X,function(){return[at]}],function(Wt){return Q(at(Wt.data[0],Wt.data[1]))},4,ot)}function at(Ut,ht){ht===void 0&&(ht={});var ot=Z();ot.p(Ut);var Wt=oe(Ut,ht,2,4);return pt(Wt,ht),xe(Wt,Wt.length-4,ot.d()),Wt}var Je=function(){function Ut(ht){this.v=1,Ze.call(this,ht)}return Ut.prototype.push=function(ht,ot){if(Ze.prototype.e.call(this,ht),this.v){if(this.p.length<2&&!ot)return;this.p=this.p.subarray(2),this.v=0}if(ot){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}Ze.prototype.c.call(this,ot)},Ut}(),qt=function(){function Ut(ht){this.ondata=ht,we([se,G,function(){return[Ce,Ze,Je]}],this,0,function(){var ot=new Je;onmessage=Ce(ot)},11)}return Ut}();function Sr(Ut,ht,ot){if(ot||(ot=ht,ht={}),typeof ot!="function")throw"no callback";return de(Ut,ht,[se,G,function(){return[yr]}],function(Wt){return Q(yr(Wt.data[0],ve(Wt.data[1])))},5,ot)}function yr(Ut,ht){return N((Qe(Ut),Ut.subarray(2,-4)),ht)}var fr=function(){function Ut(ht){this.G=ut,this.I=Ze,this.Z=Je,this.ondata=ht}return Ut.prototype.push=function(ht,ot){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(ht,ot);else{if(this.p&&this.p.length){var Wt=new C(this.p.length+ht.length);Wt.set(this.p),Wt.set(ht,this.p.length)}else this.p=ht;if(this.p.length>2){var Jt=this,At=function(){Jt.ondata.apply(Jt,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(At):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(At):new this.Z(At),this.s.push(this.p,ot),this.p=null}}},Ut}(),yn=function(){function Ut(ht){this.G=Xt,this.I=ye,this.Z=qt,this.ondata=ht}return Ut.prototype.push=function(ht,ot){fr.prototype.push.call(this,ht,ot)},Ut}();function Jr(Ut,ht,ot){if(ot||(ot=ht,ht={}),typeof ot!="function")throw"no callback";return Ut[0]==31&&Ut[1]==139&&Ut[2]==8?ur(Ut,ht,ot):(Ut[0]&15)!=8||Ut[0]>>4>7||(Ut[0]<<8|Ut[1])%31?ae(Ut,ht,ot):Sr(Ut,ht,ot)}function Ln(Ut,ht){return Ut[0]==31&&Ut[1]==139&&Ut[2]==8?Fr(Ut,ht):(Ut[0]&15)!=8||Ut[0]>>4>7||(Ut[0]<<8|Ut[1])%31?yt(Ut,ht):yr(Ut,ht)}var Nt=function Ut(ht,ot,Wt,Jt){for(var At in ht){var Bt=ht[At],mt=ot+At;Bt instanceof C?Wt[mt]=[Bt,Jt]:Array.isArray(Bt)?Wt[mt]=[Bt[0],ge(Jt,Bt[1])]:Ut(Bt,mt+"/",Wt,Jt)}};function Ve(Ut,ht){var ot=Ut.length;if(!ht&&typeof TextEncoder!="undefined")return new TextEncoder().encode(Ut);for(var Wt=new C(Ut.length+(Ut.length>>>1)),Jt=0,At=function(or){Wt[Jt++]=or},Bt=0;Bt<ot;++Bt){if(Jt+5>Wt.length){var mt=new C(Jt+8+(ot-Bt<<1));mt.set(Wt),Wt=mt}var Mt=Ut.charCodeAt(Bt);Mt<128||ht?At(Mt):Mt<2048?(At(192|Mt>>>6),At(128|Mt&63)):Mt>55295&&Mt<57344?(Mt=65536+(Mt&1023<<10)|Ut.charCodeAt(++Bt)&1023,At(240|Mt>>>18),At(128|Mt>>>12&63),At(128|Mt>>>6&63),At(128|Mt&63)):(At(224|Mt>>>12),At(128|Mt>>>6&63),At(128|Mt&63))}return O(Wt,0,Jt)}function _e(Ut,ht){var ot="";if(!ht&&typeof TextDecoder!="undefined")return new TextDecoder().decode(Ut);for(var Wt=0;Wt<Ut.length;){var Jt=Ut[Wt++];Jt<128||ht?ot+=String.fromCharCode(Jt):Jt<224?ot+=String.fromCharCode((Jt&31)<<6|Ut[Wt++]&63):Jt<240?ot+=String.fromCharCode((Jt&15)<<12|(Ut[Wt++]&63)<<6|Ut[Wt++]&63):(Jt=((Jt&15)<<18|(Ut[Wt++]&63)<<12|(Ut[Wt++]&63)<<6|Ut[Wt++]&63)-65536,ot+=String.fromCharCode(55296|Jt>>10,56320|Jt&1023))}return ot}var ke=function(ht,ot){return ot+30+le(ht,ot+26)+le(ht,ot+28)},Pe=function(ht,ot,Wt){var Jt=le(ht,ot+28),At=_e(ht.subarray(ot+46,ot+46+Jt),!(le(ht,ot+8)&2048)),Bt=ot+46+Jt,mt=Wt?rt(ht,Bt):[fe(ht,ot+20),fe(ht,ot+24),fe(ht,ot+42)],Mt=mt[0],hr=mt[1],or=mt[2];return[le(ht,ot+10),Mt,hr,At,Bt+le(ht,ot+30)+le(ht,ot+32),or]},rt=function(ht,ot){for(;le(ht,ot)!=1;ot+=4+le(ht,ot+2));return[fe(ht,ot+12),fe(ht,ot+4),fe(ht,ot+20)]},Pt=function(ht,ot,Wt,Jt,At,Bt,mt,Mt,hr,or){var ar=Bt.length,Gr=Jt.length;xe(ht,ot,hr!=null?33639248:67324752),ot+=4,hr!=null&&(ht[ot]=20,ot+=2),ht[ot]=20,ot+=2,ht[ot++]=or==8&&(Mt.level==1?6:Mt.level<6?4:Mt.level==9?2:0),ht[ot++]=mt&&8,ht[ot]=or,ot+=2;var Yr=new Date(Mt.mtime||Date.now()),In=Yr.getFullYear()-1980;if(In<0||In>119)throw"date not in range 1980-2099";xe(ht,ot,(In<<24)*2|Yr.getMonth()+1<<21|Yr.getDate()<<16|Yr.getHours()<<11|Yr.getMinutes()<<5|Yr.getSeconds()>>>1),ot+=4,xe(ht,ot,Wt),xe(ht,ot+4,Gr),xe(ht,ot+8,At),xe(ht,ot+12,ar),ot+=16,hr!=null&&(xe(ht,ot+=10,hr),ot+=4),ht.set(Bt,ot),ot+=ar,hr==null&&ht.set(Jt,ot)},Yt=function(ht,ot,Wt,Jt,At){xe(ht,ot,101010256),xe(ht,ot+8,Wt),xe(ht,ot+10,Wt),xe(ht,ot+12,Jt),xe(ht,ot+16,At)};function kt(Ut,ht,ot){if(ot||(ot=ht,ht={}),typeof ot!="function")throw"no callback";var Wt={};Nt(Ut,"",Wt,ht);var Jt=Object.keys(Wt),At=Jt.length,Bt=0,mt=0,Mt=At,hr=new Array(At),or=[],ar=function(){for(var Kn=0;Kn<or.length;++Kn)or[Kn]()},Gr=function(){var Kn=new C(mt+22),$n=Bt,Ii=mt-Bt;mt=0;for(var Mi=0;Mi<Mt;++Mi){var Xe=hr[Mi];try{Pt(Kn,mt,Xe.c,Xe.d,Xe.m,Xe.n,Xe.u,Xe.p,null,Xe.t),Pt(Kn,Bt,Xe.c,Xe.d,Xe.m,Xe.n,Xe.u,Xe.p,mt,Xe.t),Bt+=46+Xe.n.length,mt+=30+Xe.n.length+Xe.d.length}catch(Ie){return ot(Ie,null)}}Yt(Kn,Bt,hr.length,Ii,$n),ot(null,Kn)};At||Gr();for(var Yr=function(Kn){var $n=Jt[Kn],Ii=Wt[$n],Mi=Ii[0],Xe=Ii[1],Ie=ie(),Be=Mi.length;Ie.p(Mi);var Fe=Ve($n),Ge=Fe.length,Ke=Xe.level==0?0:8,qe=function(lt,Ft){if(lt)ar(),ot(lt,null);else{var wr=Ft.length;hr[Kn]={t:Ke,d:Ft,m:Be,c:Ie.d(),u:$n.length!=wr,n:Fe,p:Xe},Bt+=30+Ge+wr,mt+=76+2*Ge+wr,--At||Gr()}};if(Fe.length>65535&&qe("filename too long",null),!Ke)qe(null,Mi);else if(Be<16e4)try{qe(null,Ht(Mi,Xe))}catch(vt){qe(vt,null)}else or.push(_t(Mi,Xe,qe))},In=0;In<Mt;++In)Yr(In);return ar}function _r(Ut,ht){ht===void 0&&(ht={});var ot={},Wt=[];Nt(Ut,"",ot,ht);var Jt=0,At=0;for(var Bt in ot){var mt=ot[Bt],Mt=mt[0],hr=mt[1],or=hr.level==0?0:8,ar=Ve(Bt),Gr=ar.length;if(ar.length>65535)throw"filename too long";var Yr=or?Ht(Mt,hr):Mt,In=Yr.length,Nn=ie();Nn.p(Mt),Wt.push({t:or,d:Yr,m:Mt.length,c:Nn.d(),u:Bt.length!=Gr,n:ar,o:Jt,p:hr}),Jt+=30+Gr+In,At+=76+2*Gr+In}for(var Kn=new C(At+22),$n=Jt,Ii=At-Jt,Mi=0;Mi<Wt.length;++Mi){var Xe=Wt[Mi];Pt(Kn,Xe.o,Xe.c,Xe.d,Xe.m,Xe.n,Xe.u,Xe.p,null,Xe.t),Pt(Kn,Jt,Xe.c,Xe.d,Xe.m,Xe.n,Xe.u,Xe.p,Xe.o,Xe.t),Jt+=46+Xe.n.length}return Yt(Kn,Jt,Wt.length,Ii,$n),Kn}function Rr(Ut,ht){if(typeof ht!="function")throw"no callback";for(var ot=[],Wt=function(){for(var Yr=0;Yr<ot.length;++Yr)ot[Yr]()},Jt={},At=Ut.length-22;fe(Ut,At)!=101010256;--At)if(!At||Ut.length-At>65558){ht("invalid zip file",null);return}var Bt=le(Ut,At+8);Bt||ht(null,{});var mt=Bt,Mt=fe(Ut,At+16),hr=Mt==4294967295;if(hr){if(At=fe(Ut,At-12),fe(Ut,At)!=101075792)throw"invalid zip file";mt=Bt=fe(Ut,At+32),Mt=fe(Ut,At+48)}for(var or=function(Yr){var In=Pe(Ut,Mt,hr),Nn=In[0],Kn=In[1],$n=In[2],Ii=In[3],Mi=In[4],Xe=In[5],Ie=ke(Ut,Xe);Mt=Mi;var Be=function(Ke,qe){Ke?(Wt(),ht(Ke,null)):(Jt[Ii]=qe,--Bt||ht(null,Jt))};if(!Nn)Be(null,O(Ut,Ie,Ie+Kn));else if(Nn==8){var Fe=Ut.subarray(Ie,Ie+Kn);if(Kn<32e4)try{Be(null,yt(Fe,new C($n)))}catch(Ge){Be(Ge,null)}else ot.push(ae(Fe,{size:$n},Be))}else Be("unknown compression type "+Nn,null)},ar=0;ar<mt;++ar)or(ar);return Wt}function un(Ut){for(var ht={},ot=Ut.length-22;fe(Ut,ot)!=101010256;--ot)if(!ot||Ut.length-ot>65558)throw"invalid zip file";var Wt=le(Ut,ot+8);if(!Wt)return{};var Jt=fe(Ut,ot+16),At=Jt==4294967295;if(At){if(ot=fe(Ut,ot-12),fe(Ut,ot)!=101075792)throw"invalid zip file";Wt=fe(Ut,ot+32),Jt=fe(Ut,ot+48)}for(var Bt=0;Bt<Wt;++Bt){var mt=Pe(Ut,Jt,At),Mt=mt[0],hr=mt[1],or=mt[2],ar=mt[3],Gr=mt[4],Yr=mt[5],In=ke(Ut,Yr);if(Jt=Gr,!Mt)ht[ar]=O(Ut,In,In+hr);else if(Mt==8)ht[ar]=yt(Ut.subarray(In,In+hr),new C(or));else throw"unknown compression type "+Mt}return ht}},cv67:function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){return function(x){var C=_,A=C.lib,b=A.WordArray,m=A.Hasher,p=C.algo,c=[];(function(){for(var s=0;s<64;s++)c[s]=x.abs(x.sin(s+1))*4294967296|0})();var o=p.MD5=m.extend({_doReset:function(){this._hash=new b.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,a){for(var l=0;l<16;l++){var u=a+l,h=e[u];e[u]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360}var f=this._hash.words,g=e[a+0],v=e[a+1],y=e[a+2],E=e[a+3],T=e[a+4],w=e[a+5],S=e[a+6],I=e[a+7],L=e[a+8],O=e[a+9],N=e[a+10],R=e[a+11],D=e[a+12],B=e[a+13],M=e[a+14],U=e[a+15],F=f[0],j=f[1],W=f[2],V=f[3];F=r(F,j,W,V,g,7,c[0]),V=r(V,F,j,W,v,12,c[1]),W=r(W,V,F,j,y,17,c[2]),j=r(j,W,V,F,E,22,c[3]),F=r(F,j,W,V,T,7,c[4]),V=r(V,F,j,W,w,12,c[5]),W=r(W,V,F,j,S,17,c[6]),j=r(j,W,V,F,I,22,c[7]),F=r(F,j,W,V,L,7,c[8]),V=r(V,F,j,W,O,12,c[9]),W=r(W,V,F,j,N,17,c[10]),j=r(j,W,V,F,R,22,c[11]),F=r(F,j,W,V,D,7,c[12]),V=r(V,F,j,W,B,12,c[13]),W=r(W,V,F,j,M,17,c[14]),j=r(j,W,V,F,U,22,c[15]),F=i(F,j,W,V,v,5,c[16]),V=i(V,F,j,W,S,9,c[17]),W=i(W,V,F,j,R,14,c[18]),j=i(j,W,V,F,g,20,c[19]),F=i(F,j,W,V,w,5,c[20]),V=i(V,F,j,W,N,9,c[21]),W=i(W,V,F,j,U,14,c[22]),j=i(j,W,V,F,T,20,c[23]),F=i(F,j,W,V,O,5,c[24]),V=i(V,F,j,W,M,9,c[25]),W=i(W,V,F,j,E,14,c[26]),j=i(j,W,V,F,L,20,c[27]),F=i(F,j,W,V,B,5,c[28]),V=i(V,F,j,W,y,9,c[29]),W=i(W,V,F,j,I,14,c[30]),j=i(j,W,V,F,D,20,c[31]),F=n(F,j,W,V,w,4,c[32]),V=n(V,F,j,W,L,11,c[33]),W=n(W,V,F,j,R,16,c[34]),j=n(j,W,V,F,M,23,c[35]),F=n(F,j,W,V,v,4,c[36]),V=n(V,F,j,W,T,11,c[37]),W=n(W,V,F,j,I,16,c[38]),j=n(j,W,V,F,N,23,c[39]),F=n(F,j,W,V,B,4,c[40]),V=n(V,F,j,W,g,11,c[41]),W=n(W,V,F,j,E,16,c[42]),j=n(j,W,V,F,S,23,c[43]),F=n(F,j,W,V,O,4,c[44]),V=n(V,F,j,W,D,11,c[45]),W=n(W,V,F,j,U,16,c[46]),j=n(j,W,V,F,y,23,c[47]),F=t(F,j,W,V,g,6,c[48]),V=t(V,F,j,W,I,10,c[49]),W=t(W,V,F,j,M,15,c[50]),j=t(j,W,V,F,w,21,c[51]),F=t(F,j,W,V,D,6,c[52]),V=t(V,F,j,W,E,10,c[53]),W=t(W,V,F,j,N,15,c[54]),j=t(j,W,V,F,v,21,c[55]),F=t(F,j,W,V,L,6,c[56]),V=t(V,F,j,W,U,10,c[57]),W=t(W,V,F,j,S,15,c[58]),j=t(j,W,V,F,B,21,c[59]),F=t(F,j,W,V,T,6,c[60]),V=t(V,F,j,W,R,10,c[61]),W=t(W,V,F,j,y,15,c[62]),j=t(j,W,V,F,O,21,c[63]),f[0]=f[0]+F|0,f[1]=f[1]+j|0,f[2]=f[2]+W|0,f[3]=f[3]+V|0},_doFinalize:function(){var e=this._data,a=e.words,l=this._nDataBytes*8,u=e.sigBytes*8;a[u>>>5]|=128<<24-u%32;var h=x.floor(l/4294967296),f=l;a[(u+64>>>9<<4)+15]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,a[(u+64>>>9<<4)+14]=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360,e.sigBytes=(a.length+1)*4,this._process();for(var g=this._hash,v=g.words,y=0;y<4;y++){var E=v[y];v[y]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return g},clone:function(){var e=m.clone.call(this);return e._hash=this._hash.clone(),e}});function r(s,e,a,l,u,h,f){var g=s+(e&a|~e&l)+u+f;return(g<<h|g>>>32-h)+e}function i(s,e,a,l,u,h,f){var g=s+(e&l|a&~l)+u+f;return(g<<h|g>>>32-h)+e}function n(s,e,a,l,u,h,f){var g=s+(e^a^l)+u+f;return(g<<h|g>>>32-h)+e}function t(s,e,a,l,u,h,f){var g=s+(a^(e|~l))+u+f;return(g<<h|g>>>32-h)+e}C.MD5=m._createHelper(o),C.HmacMD5=m._createHmacHelper(o)}(Math),_.MD5})},czTT:function(H,k,d){},d4KN:function(H,k,d){var _=d("ProS"),x=d("bYtY");function C(A,b){x.each(b,function(m){m.update="updateView",_.registerAction(m,function(p,c){var o={};return c.eachComponent({mainType:"series",subType:A,query:p},function(r){r[m.method]&&r[m.method](p.name,p.dataIndex);var i=r.getData();i.each(function(n){var t=i.getName(n);o[t]=r.isSelected(t)||!1})}),{name:p.name,selected:o,seriesId:p.seriesId}})})}H.exports=C},dBmv:function(H,k,d){var _=d("ProS"),x=d("szbU");d("vF/C"),d("qwVE"),d("MHoB"),d("PNag"),d("1u/T"),_.registerPreprocessor(x)},"dF/Y":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="DownloadOutlined";var p=k.a=x.forwardRef(m)},dMvE:function(H,k){var d={linear:function(C){return C},quadraticIn:function(C){return C*C},quadraticOut:function(C){return C*(2-C)},quadraticInOut:function(C){return(C*=2)<1?.5*C*C:-.5*(--C*(C-2)-1)},cubicIn:function(C){return C*C*C},cubicOut:function(C){return--C*C*C+1},cubicInOut:function(C){return(C*=2)<1?.5*C*C*C:.5*((C-=2)*C*C+2)},quarticIn:function(C){return C*C*C*C},quarticOut:function(C){return 1- --C*C*C*C},quarticInOut:function(C){return(C*=2)<1?.5*C*C*C*C:-.5*((C-=2)*C*C*C-2)},quinticIn:function(C){return C*C*C*C*C},quinticOut:function(C){return--C*C*C*C*C+1},quinticInOut:function(C){return(C*=2)<1?.5*C*C*C*C*C:.5*((C-=2)*C*C*C*C+2)},sinusoidalIn:function(C){return 1-Math.cos(C*Math.PI/2)},sinusoidalOut:function(C){return Math.sin(C*Math.PI/2)},sinusoidalInOut:function(C){return .5*(1-Math.cos(Math.PI*C))},exponentialIn:function(C){return C===0?0:Math.pow(1024,C-1)},exponentialOut:function(C){return C===1?1:1-Math.pow(2,-10*C)},exponentialInOut:function(C){return C===0?0:C===1?1:(C*=2)<1?.5*Math.pow(1024,C-1):.5*(-Math.pow(2,-10*(C-1))+2)},circularIn:function(C){return 1-Math.sqrt(1-C*C)},circularOut:function(C){return Math.sqrt(1- --C*C)},circularInOut:function(C){return(C*=2)<1?-.5*(Math.sqrt(1-C*C)-1):.5*(Math.sqrt(1-(C-=2)*C)+1)},elasticIn:function(C){var A,b=.1,m=.4;return C===0?0:C===1?1:(!b||b<1?(b=1,A=m/4):A=m*Math.asin(1/b)/(2*Math.PI),-(b*Math.pow(2,10*(C-=1))*Math.sin((C-A)*(2*Math.PI)/m)))},elasticOut:function(C){var A,b=.1,m=.4;return C===0?0:C===1?1:(!b||b<1?(b=1,A=m/4):A=m*Math.asin(1/b)/(2*Math.PI),b*Math.pow(2,-10*C)*Math.sin((C-A)*(2*Math.PI)/m)+1)},elasticInOut:function(C){var A,b=.1,m=.4;return C===0?0:C===1?1:(!b||b<1?(b=1,A=m/4):A=m*Math.asin(1/b)/(2*Math.PI),(C*=2)<1?-.5*(b*Math.pow(2,10*(C-=1))*Math.sin((C-A)*(2*Math.PI)/m)):b*Math.pow(2,-10*(C-=1))*Math.sin((C-A)*(2*Math.PI)/m)*.5+1)},backIn:function(C){var A=1.70158;return C*C*((A+1)*C-A)},backOut:function(C){var A=1.70158;return--C*C*((A+1)*C+A)+1},backInOut:function(C){var A=1.70158*1.525;return(C*=2)<1?.5*(C*C*((A+1)*C-A)):.5*((C-=2)*C*((A+1)*C+A)+2)},bounceIn:function(C){return 1-d.bounceOut(1-C)},bounceOut:function(C){return C<1/2.75?7.5625*C*C:C<2/2.75?7.5625*(C-=1.5/2.75)*C+.75:C<2.5/2.75?7.5625*(C-=2.25/2.75)*C+.9375:7.5625*(C-=2.625/2.75)*C+.984375},bounceInOut:function(C){return C<.5?d.bounceIn(C*2)*.5:d.bounceOut(C*2-1)*.5+.5}},_=d;H.exports=_},diRs:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("q1tI"),A=d.n(C),b=d("3S7+"),m=d("H84U"),p=d("bogI"),c=function(r,i){var n={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&i.indexOf(t)<0&&(n[t]=r[t]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,t=Object.getOwnPropertySymbols(r);s<t.length;s++)i.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(r,t[s])&&(n[t[s]]=r[t[s]]);return n},o=C.forwardRef(function(r,i){var n=r.prefixCls,t=r.title,s=r.content,e=c(r,["prefixCls","title","content"]),a=C.useContext(m.b),l=a.getPrefixCls,u=function(g){return C.createElement(C.Fragment,null,t&&C.createElement("div",{className:"".concat(g,"-title")},Object(p.a)(t)),C.createElement("div",{className:"".concat(g,"-inner-content")},Object(p.a)(s)))},h=l("popover",n);return C.createElement(b.a,x()({},e,{prefixCls:h,ref:i,overlay:u(h)}))});o.displayName="Popover",o.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},k.a=o},digP:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={icon:function(C,A){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:A}},{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:C}}]}},name:"file",theme:"twotone"};k.default=_},dm2S:function(H,k,d){"use strict";d.d(k,"a",function(){return A});var _=d("ODXe"),x=d("q1tI"),C=d.n(x);function A(b){var m=x.useRef(!1),p=x.useState(b),c=Object(_.a)(p,2),o=c[0],r=c[1];x.useEffect(function(){return m.current=!1,function(){m.current=!0}},[]);function i(n,t){if(t&&m.current)return;r(n)}return[o,i]}},dmGj:function(H,k,d){var _=d("DEFe"),x=d("ProS"),C=x.extendComponentView({type:"geo",init:function(A,b){var m=new _(b,!0);this._mapDraw=m,this.group.add(m.group)},render:function(A,b,m,p){if(p&&p.type==="geoToggleSelect"&&p.from===this.uid)return;var c=this._mapDraw;A.get("show")?c.draw(A,b,m,this,p):this._mapDraw.group.removeAll(),this.group.silent=A.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});H.exports=C},dnwI:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("YH21"),A=d("Kagy"),b=d("IUWy"),m=A.toolbox.dataView,p=new Array(60).join("-"),c=" ";function o(v){var y={},E=[],T=[];return v.eachRawSeries(function(w){var S=w.coordinateSystem;if(S&&(S.type==="cartesian2d"||S.type==="polar")){var I=S.getBaseAxis();if(I.type==="category"){var L=I.dim+"_"+I.index;y[L]||(y[L]={categoryAxis:I,valueAxis:S.getOtherAxis(I),series:[]},T.push({axisDim:I.dim,axisIndex:I.index})),y[L].series.push(w)}else E.push(w)}else E.push(w)}),{seriesGroupByCategoryAxis:y,other:E,meta:T}}function r(v){var y=[];return x.each(v,function(E,T){var w=E.categoryAxis,S=E.valueAxis,I=S.dim,L=[" "].concat(x.map(E.series,function(M){return M.name})),O=[w.model.getCategories()];x.each(E.series,function(M){O.push(M.getRawData().mapArray(I,function(U){return U}))});for(var N=[L.join(c)],R=0;R<O[0].length;R++){for(var D=[],B=0;B<O.length;B++)D.push(O[B][R]);N.push(D.join(c))}y.push(N.join(`
`))}),y.join(`
`+p+`
`)}function i(v){return x.map(v,function(y){var E=y.getRawData(),T=[y.name],w=[];return E.each(E.dimensions,function(){for(var S=arguments.length,I=arguments[S-1],L=E.getName(I),O=0;O<S-1;O++)w[O]=arguments[O];T.push((L?L+c:"")+w.join(c))}),T.join(`
`)}).join(`
`+p+`
`)}function n(v){var y=o(v);return{value:x.filter([r(y.seriesGroupByCategoryAxis),i(y.other)],function(E){return E.replace(/[\n\t\s]/g,"")}).join(`
`+p+`
`),meta:y.meta}}function t(v){return v.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function s(v){var y=v.slice(0,v.indexOf(`
`));if(y.indexOf(c)>=0)return!0}var e=new RegExp("["+c+"]+","g");function a(v){for(var y=v.split(/\n+/g),E=t(y.shift()).split(e),T=[],w=x.map(E,function(O){return{name:O,data:[]}}),S=0;S<y.length;S++){var I=t(y[S]).split(e);T.push(I.shift());for(var L=0;L<I.length;L++)w[L]&&(w[L].data[S]=I[L])}return{series:w,categories:T}}function l(v){for(var y=v.split(/\n+/g),E=t(y.shift()),T=[],w=0;w<y.length;w++){var S=t(y[w]).split(e),I="",L,O=!1;isNaN(S[0])?(O=!0,I=S[0],S=S.slice(1),T[w]={name:I,value:[]},L=T[w].value):L=T[w]=[];for(var N=0;N<S.length;N++)L.push(+S[N]);L.length===1&&(O?T[w].value=L[0]:T[w]=L[0])}return{name:E,data:T}}function u(v,y){var E=v.split(new RegExp(`
*`+p+`
*`,"g")),T={series:[]};return x.each(E,function(w,S){if(s(w)){var I=a(w),L=y[S],O=L.axisDim+"Axis";L&&(T[O]=T[O]||[],T[O][L.axisIndex]={data:I.categories},T.series=T.series.concat(I.series))}else{var I=l(w);T.series.push(I)}}),T}function h(v){this._dom=null,this.model=v}h.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:x.clone(m.title),lang:x.clone(m.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},h.prototype.onclick=function(v,y){var E=y.getDom(),T=this.model;this._dom&&E.removeChild(this._dom);var w=document.createElement("div");w.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",w.style.backgroundColor=T.get("backgroundColor")||"#fff";var S=document.createElement("h4"),I=T.get("lang")||[];S.innerHTML=I[0]||T.get("title"),S.style.cssText="margin: 10px 20px;",S.style.color=T.get("textColor");var L=document.createElement("div"),O=document.createElement("textarea");L.style.cssText="display:block;width:100%;overflow:auto;";var N=T.get("optionToContent"),R=T.get("contentToOption"),D=n(v);if(typeof N=="function"){var B=N(y.getOption());typeof B=="string"?L.innerHTML=B:x.isDom(B)&&L.appendChild(B)}else L.appendChild(O),O.readOnly=T.get("readOnly"),O.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",O.style.color=T.get("textColor"),O.style.borderColor=T.get("textareaBorderColor"),O.style.backgroundColor=T.get("textareaColor"),O.value=D.value;var M=D.meta,U=document.createElement("div");U.style.cssText="position:absolute;bottom:0;left:0;right:0;";var F="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",j=document.createElement("div"),W=document.createElement("div");F+=";background-color:"+T.get("buttonColor"),F+=";color:"+T.get("buttonTextColor");var V=this;function z(){E.removeChild(w),V._dom=null}C.addEventListener(j,"click",z),C.addEventListener(W,"click",function(){var Y;try{typeof R=="function"?Y=R(L,y.getOption()):Y=u(O.value,M)}catch(J){throw z(),new Error("Data view format error "+J)}Y&&y.dispatchAction({type:"changeDataView",newOption:Y}),z()}),j.innerHTML=I[1],W.innerHTML=I[2],W.style.cssText=F,j.style.cssText=F,!T.get("readOnly")&&U.appendChild(W),U.appendChild(j),w.appendChild(S),w.appendChild(L),w.appendChild(U),L.style.height=E.clientHeight-80+"px",E.appendChild(w),this._dom=w},h.prototype.remove=function(v,y){this._dom&&y.getDom().removeChild(this._dom)},h.prototype.dispose=function(v,y){this.remove(v,y)};function f(v,y){return x.map(v,function(E,T){var w=y&&y[T];return x.isObject(w)&&!x.isArray(w)?(x.isObject(E)&&!x.isArray(E)&&(E=E.value),x.defaults({value:E},w)):E})}b.register("dataView",h),_.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(v,y){var E=[];x.each(v.newOption.series,function(T){var w=y.getSeriesByName(T.name)[0];if(!w)E.push(x.extend({type:"scatter"},T));else{var S=w.get("data");E.push({name:T.name,data:f(T.data,S)})}}),y.mergeOption(x.defaults({series:E},v.newOption))});var g=h;H.exports=g},dqUG:function(H,k,d){var _=d("Gev7"),x=d("bYtY"),C=d("6GrX"),A=d("pzxd"),b=d("gut8"),m=b.ContextCachedBy,p=function(r){_.call(this,r)};p.prototype={constructor:p,type:"text",brush:function(r,i){var n=this.style;this.__dirty&&A.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var t=n.text;if(t!=null&&(t+=""),!A.needDrawText(t,n)){r.__attrCachedBy=m.NONE;return}this.setTransform(r),A.renderText(this,r,t,n,null,i),this.restoreTransform(r)},getBoundingRect:function(){var r=this.style;if(this.__dirty&&A.normalizeTextStyle(r,!0),!this._rect){var i=r.text;i!=null?i+="":i="";var n=C.getBoundingRect(r.text+"",r.font,r.textAlign,r.textVerticalAlign,r.textPadding,r.textLineHeight,r.rich);if(n.x+=r.x||0,n.y+=r.y||0,A.getStroke(r.textStroke,r.textStrokeWidth)){var t=r.textStrokeWidth;n.x-=t/2,n.y-=t/2,n.width+=t,n.height+=t}this._rect=n}return this._rect}},x.inherits(p,_);var c=p;H.exports=c},dt0z:function(H,k,d){var _=d("zoYe");function x(C){return C==null?"":_(C)}H.exports=x},dtIV:function(H,k,d){"use strict";d.r(k),function(_){d.d(k,"AcroForm",function(){return et}),d.d(k,"AcroFormAppearance",function(){return ae}),d.d(k,"AcroFormButton",function(){return gt}),d.d(k,"AcroFormCheckBox",function(){return Ht}),d.d(k,"AcroFormChoiceField",function(){return $e}),d.d(k,"AcroFormComboBox",function(){return pt}),d.d(k,"AcroFormEditBox",function(){return Qe}),d.d(k,"AcroFormListBox",function(){return Le}),d.d(k,"AcroFormPasswordField",function(){return ye}),d.d(k,"AcroFormPushButton",function(){return wt}),d.d(k,"AcroFormRadioButton",function(){return Et}),d.d(k,"AcroFormTextField",function(){return Ze}),d.d(k,"GState",function(){return B}),d.d(k,"ShadingPattern",function(){return U}),d.d(k,"TilingPattern",function(){return F}),d.d(k,"jsPDF",function(){return j});var x=d("cDf5"),C=d.n(x),A=d("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 b=function(){return typeof window!="undefined"?window:typeof _!="undefined"?_:typeof self!="undefined"?self:this}();function m(){b.console&&typeof b.console.log=="function"&&b.console.log.apply(b.console,arguments)}var p={log:m,warn:function(Ie){b.console&&(typeof b.console.warn=="function"?b.console.warn.apply(b.console,arguments):m.call(null,arguments))},error:function(Ie){b.console&&(typeof b.console.error=="function"?b.console.error.apply(b.console,arguments):m(Ie))}};function c(Xe,Ie,Be){var Fe=new XMLHttpRequest;Fe.open("GET",Xe),Fe.responseType="blob",Fe.onload=function(){t(Fe.response,Ie,Be)},Fe.onerror=function(){p.error("could not download file")},Fe.send()}function o(Xe){var Ie=new XMLHttpRequest;Ie.open("HEAD",Xe,!1);try{Ie.send()}catch(Be){}return Ie.status>=200&&Ie.status<=299}function r(Xe){try{Xe.dispatchEvent(new MouseEvent("click"))}catch(Be){var Ie=document.createEvent("MouseEvents");Ie.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Xe.dispatchEvent(Ie)}}var i,n,t=b.saveAs||((typeof window=="undefined"?"undefined":C()(window))!=="object"||window!==b?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(Xe,Ie,Be){var Fe=b.URL||b.webkitURL,Ge=document.createElement("a");Ie=Ie||Xe.name||"download",Ge.download=Ie,Ge.rel="noopener",typeof Xe=="string"?(Ge.href=Xe,Ge.origin!==location.origin?o(Ge.href)?c(Xe,Ie,Be):r(Ge,Ge.target="_blank"):r(Ge)):(Ge.href=Fe.createObjectURL(Xe),setTimeout(function(){Fe.revokeObjectURL(Ge.href)},4e4),setTimeout(function(){r(Ge)},0))}:"msSaveOrOpenBlob"in navigator?function(Xe,Ie,Be){if(Ie=Ie||Xe.name||"download",typeof Xe=="string")if(o(Xe))c(Xe,Ie,Be);else{var Fe=document.createElement("a");Fe.href=Xe,Fe.target="_blank",setTimeout(function(){r(Fe)})}else navigator.msSaveOrOpenBlob(function(Ge,Ke){return Ke===void 0?Ke={autoBom:!1}:C()(Ke)!=="object"&&(p.warn("Deprecated: Expected third argument to be a object"),Ke={autoBom:!Ke}),Ke.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ge.type)?new Blob([String.fromCharCode(65279),Ge],{type:Ge.type}):Ge}(Xe,Be),Ie)}:function(Xe,Ie,Be,Fe){if((Fe=Fe||open("","_blank"))&&(Fe.document.title=Fe.document.body.innerText="downloading..."),typeof Xe=="string")return c(Xe,Ie,Be);var Ge=Xe.type==="application/octet-stream",Ke=/constructor/i.test(b.HTMLElement)||b.safari,qe=/CriOS\/[\d]+/.test(navigator.userAgent);if((qe||Ge&&Ke)&&(typeof FileReader=="undefined"?"undefined":C()(FileReader))==="object"){var vt=new FileReader;vt.onloadend=function(){var wr=vt.result;wr=qe?wr:wr.replace(/^data:[^;]*;/,"data:attachment/file;"),Fe?Fe.location.href=wr:location=wr,Fe=null},vt.readAsDataURL(Xe)}else{var lt=b.URL||b.webkitURL,Ft=lt.createObjectURL(Xe);Fe?Fe.location=Ft:location.href=Ft,Fe=null,setTimeout(function(){lt.revokeObjectURL(Ft)},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 s(Xe){var Ie;Xe=Xe||"",this.ok=!1,Xe.charAt(0)=="#"&&(Xe=Xe.substr(1,6)),Xe={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"}[Xe=(Xe=Xe.replace(/ /g,"")).toLowerCase()]||Xe;for(var Be=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(lt){return[parseInt(lt[1]),parseInt(lt[2]),parseInt(lt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(lt){return[parseInt(lt[1],16),parseInt(lt[2],16),parseInt(lt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(lt){return[parseInt(lt[1]+lt[1],16),parseInt(lt[2]+lt[2],16),parseInt(lt[3]+lt[3],16)]}}],Fe=0;Fe<Be.length;Fe++){var Ge=Be[Fe].re,Ke=Be[Fe].process,qe=Ge.exec(Xe);qe&&(Ie=Ke(qe),this.r=Ie[0],this.g=Ie[1],this.b=Ie[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 vt=this.r.toString(16),lt=this.g.toString(16),Ft=this.b.toString(16);return vt.length==1&&(vt="0"+vt),lt.length==1&&(lt="0"+lt),Ft.length==1&&(Ft="0"+Ft),"#"+vt+lt+Ft}}/**
* @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 e(Xe,Ie){var Be=Xe[0],Fe=Xe[1],Ge=Xe[2],Ke=Xe[3];Be=l(Be,Fe,Ge,Ke,Ie[0],7,-680876936),Ke=l(Ke,Be,Fe,Ge,Ie[1],12,-389564586),Ge=l(Ge,Ke,Be,Fe,Ie[2],17,606105819),Fe=l(Fe,Ge,Ke,Be,Ie[3],22,-1044525330),Be=l(Be,Fe,Ge,Ke,Ie[4],7,-176418897),Ke=l(Ke,Be,Fe,Ge,Ie[5],12,1200080426),Ge=l(Ge,Ke,Be,Fe,Ie[6],17,-1473231341),Fe=l(Fe,Ge,Ke,Be,Ie[7],22,-45705983),Be=l(Be,Fe,Ge,Ke,Ie[8],7,1770035416),Ke=l(Ke,Be,Fe,Ge,Ie[9],12,-1958414417),Ge=l(Ge,Ke,Be,Fe,Ie[10],17,-42063),Fe=l(Fe,Ge,Ke,Be,Ie[11],22,-1990404162),Be=l(Be,Fe,Ge,Ke,Ie[12],7,1804603682),Ke=l(Ke,Be,Fe,Ge,Ie[13],12,-40341101),Ge=l(Ge,Ke,Be,Fe,Ie[14],17,-1502002290),Be=u(Be,Fe=l(Fe,Ge,Ke,Be,Ie[15],22,1236535329),Ge,Ke,Ie[1],5,-165796510),Ke=u(Ke,Be,Fe,Ge,Ie[6],9,-1069501632),Ge=u(Ge,Ke,Be,Fe,Ie[11],14,643717713),Fe=u(Fe,Ge,Ke,Be,Ie[0],20,-373897302),Be=u(Be,Fe,Ge,Ke,Ie[5],5,-701558691),Ke=u(Ke,Be,Fe,Ge,Ie[10],9,38016083),Ge=u(Ge,Ke,Be,Fe,Ie[15],14,-660478335),Fe=u(Fe,Ge,Ke,Be,Ie[4],20,-405537848),Be=u(Be,Fe,Ge,Ke,Ie[9],5,568446438),Ke=u(Ke,Be,Fe,Ge,Ie[14],9,-1019803690),Ge=u(Ge,Ke,Be,Fe,Ie[3],14,-187363961),Fe=u(Fe,Ge,Ke,Be,Ie[8],20,1163531501),Be=u(Be,Fe,Ge,Ke,Ie[13],5,-1444681467),Ke=u(Ke,Be,Fe,Ge,Ie[2],9,-51403784),Ge=u(Ge,Ke,Be,Fe,Ie[7],14,1735328473),Be=h(Be,Fe=u(Fe,Ge,Ke,Be,Ie[12],20,-1926607734),Ge,Ke,Ie[5],4,-378558),Ke=h(Ke,Be,Fe,Ge,Ie[8],11,-2022574463),Ge=h(Ge,Ke,Be,Fe,Ie[11],16,1839030562),Fe=h(Fe,Ge,Ke,Be,Ie[14],23,-35309556),Be=h(Be,Fe,Ge,Ke,Ie[1],4,-1530992060),Ke=h(Ke,Be,Fe,Ge,Ie[4],11,1272893353),Ge=h(Ge,Ke,Be,Fe,Ie[7],16,-155497632),Fe=h(Fe,Ge,Ke,Be,Ie[10],23,-1094730640),Be=h(Be,Fe,Ge,Ke,Ie[13],4,681279174),Ke=h(Ke,Be,Fe,Ge,Ie[0],11,-358537222),Ge=h(Ge,Ke,Be,Fe,Ie[3],16,-722521979),Fe=h(Fe,Ge,Ke,Be,Ie[6],23,76029189),Be=h(Be,Fe,Ge,Ke,Ie[9],4,-640364487),Ke=h(Ke,Be,Fe,Ge,Ie[12],11,-421815835),Ge=h(Ge,Ke,Be,Fe,Ie[15],16,530742520),Be=f(Be,Fe=h(Fe,Ge,Ke,Be,Ie[2],23,-995338651),Ge,Ke,Ie[0],6,-198630844),Ke=f(Ke,Be,Fe,Ge,Ie[7],10,1126891415),Ge=f(Ge,Ke,Be,Fe,Ie[14],15,-1416354905),Fe=f(Fe,Ge,Ke,Be,Ie[5],21,-57434055),Be=f(Be,Fe,Ge,Ke,Ie[12],6,1700485571),Ke=f(Ke,Be,Fe,Ge,Ie[3],10,-1894986606),Ge=f(Ge,Ke,Be,Fe,Ie[10],15,-1051523),Fe=f(Fe,Ge,Ke,Be,Ie[1],21,-2054922799),Be=f(Be,Fe,Ge,Ke,Ie[8],6,1873313359),Ke=f(Ke,Be,Fe,Ge,Ie[15],10,-30611744),Ge=f(Ge,Ke,Be,Fe,Ie[6],15,-1560198380),Fe=f(Fe,Ge,Ke,Be,Ie[13],21,1309151649),Be=f(Be,Fe,Ge,Ke,Ie[4],6,-145523070),Ke=f(Ke,Be,Fe,Ge,Ie[11],10,-1120210379),Ge=f(Ge,Ke,Be,Fe,Ie[2],15,718787259),Fe=f(Fe,Ge,Ke,Be,Ie[9],21,-343485551),Xe[0]=I(Be,Xe[0]),Xe[1]=I(Fe,Xe[1]),Xe[2]=I(Ge,Xe[2]),Xe[3]=I(Ke,Xe[3])}function a(Xe,Ie,Be,Fe,Ge,Ke){return Ie=I(I(Ie,Xe),I(Fe,Ke)),I(Ie<<Ge|Ie>>>32-Ge,Be)}function l(Xe,Ie,Be,Fe,Ge,Ke,qe){return a(Ie&Be|~Ie&Fe,Xe,Ie,Ge,Ke,qe)}function u(Xe,Ie,Be,Fe,Ge,Ke,qe){return a(Ie&Fe|Be&~Fe,Xe,Ie,Ge,Ke,qe)}function h(Xe,Ie,Be,Fe,Ge,Ke,qe){return a(Ie^Be^Fe,Xe,Ie,Ge,Ke,qe)}function f(Xe,Ie,Be,Fe,Ge,Ke,qe){return a(Be^(Ie|~Fe),Xe,Ie,Ge,Ke,qe)}function g(Xe){var Ie,Be=Xe.length,Fe=[1732584193,-271733879,-1732584194,271733878];for(Ie=64;Ie<=Xe.length;Ie+=64)e(Fe,v(Xe.substring(Ie-64,Ie)));Xe=Xe.substring(Ie-64);var Ge=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Ie=0;Ie<Xe.length;Ie++)Ge[Ie>>2]|=Xe.charCodeAt(Ie)<<(Ie%4<<3);if(Ge[Ie>>2]|=128<<(Ie%4<<3),Ie>55)for(e(Fe,Ge),Ie=0;Ie<16;Ie++)Ge[Ie]=0;return Ge[14]=8*Be,e(Fe,Ge),Fe}function v(Xe){var Ie,Be=[];for(Ie=0;Ie<64;Ie+=4)Be[Ie>>2]=Xe.charCodeAt(Ie)+(Xe.charCodeAt(Ie+1)<<8)+(Xe.charCodeAt(Ie+2)<<16)+(Xe.charCodeAt(Ie+3)<<24);return Be}i=b.atob.bind(b),n=b.btoa.bind(b);var y="0123456789abcdef".split("");function E(Xe){for(var Ie="",Be=0;Be<4;Be++)Ie+=y[Xe>>8*Be+4&15]+y[Xe>>8*Be&15];return Ie}function T(Xe){return String.fromCharCode((255&Xe)>>0,(65280&Xe)>>8,(16711680&Xe)>>16,(4278190080&Xe)>>24)}function w(Xe){return g(Xe).map(T).join("")}var S=function(Xe){for(var Ie=0;Ie<Xe.length;Ie++)Xe[Ie]=E(Xe[Ie]);return Xe.join("")}(g("hello"))!="5d41402abc4b2a76b9719d911017c592";function I(Xe,Ie){if(S){var Be=(65535&Xe)+(65535&Ie);return(Xe>>16)+(Ie>>16)+(Be>>16)<<16|65535&Be}return Xe+Ie&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(Xe,Ie){var Be,Fe,Ge,Ke;if(Xe!==Be){for(var qe=(Ge=Xe,Ke=1+(256/Xe.length>>0),new Array(Ke+1).join(Ge)),vt=[],lt=0;lt<256;lt++)vt[lt]=lt;var Ft=0;for(lt=0;lt<256;lt++){var wr=vt[lt];Ft=(Ft+wr+qe.charCodeAt(lt))%256,vt[lt]=vt[Ft],vt[Ft]=wr}Be=Xe,Fe=vt}else vt=Fe;var pr=Ie.length,Dr=0,zt=0,hn="";for(lt=0;lt<pr;lt++)zt=(zt+(wr=vt[Dr=(Dr+1)%256]))%256,vt[Dr]=vt[zt],vt[zt]=wr,qe=vt[(vt[Dr]+vt[zt])%256],hn+=String.fromCharCode(Ie.charCodeAt(lt)^qe);return hn}/**
* @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 O={print:4,modify:8,copy:16,"annot-forms":32};function N(Xe,Ie,Be,Fe){this.v=1,this.r=2;var Ge=192;Xe.forEach(function(vt){if(O.perm!==void 0)throw new Error("Invalid permission: "+vt);Ge+=O[vt]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var Ke=(Ie+this.padding).substr(0,32),qe=(Be+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ke,qe),this.P=-(1+(255^Ge)),this.encryptionKey=w(Ke+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Fe)).substr(0,5),this.U=L(this.encryptionKey,this.padding)}function R(Xe){if(/[^\u0000-\u00ff]/.test(Xe))throw new Error("Invalid PDF Name Object: "+Xe+", Only accept ASCII characters.");for(var Ie="",Be=Xe.length,Fe=0;Fe<Be;Fe++){var Ge=Xe.charCodeAt(Fe);Ge<33||Ge===35||Ge===37||Ge===40||Ge===41||Ge===47||Ge===60||Ge===62||Ge===91||Ge===93||Ge===123||Ge===125||Ge>126?Ie+="#"+("0"+Ge.toString(16)).slice(-2):Ie+=Xe[Fe]}return Ie}function D(Xe){if(C()(Xe)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Ie={};this.subscribe=function(Be,Fe,Ge){if(Ge=Ge||!1,typeof Be!="string"||typeof Fe!="function"||typeof Ge!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Ie.hasOwnProperty(Be)||(Ie[Be]={});var Ke=Math.random().toString(35);return Ie[Be][Ke]=[Fe,!!Ge],Ke},this.unsubscribe=function(Be){for(var Fe in Ie)if(Ie[Fe][Be])return delete Ie[Fe][Be],Object.keys(Ie[Fe]).length===0&&delete Ie[Fe],!0;return!1},this.publish=function(Be){if(Ie.hasOwnProperty(Be)){var Fe=Array.prototype.slice.call(arguments,1),Ge=[];for(var Ke in Ie[Be]){var qe=Ie[Be][Ke];try{qe[0].apply(Xe,Fe)}catch(vt){b.console&&p.error("jsPDF PubSub Error",vt.message,vt)}qe[1]&&Ge.push(Ke)}Ge.length&&Ge.forEach(this.unsubscribe)}},this.getTopics=function(){return Ie}}function B(Xe){if(!(this instanceof B))return new B(Xe);var Ie="opacity,stroke-opacity".split(",");for(var Be in Xe)Xe.hasOwnProperty(Be)&&Ie.indexOf(Be)>=0&&(this[Be]=Xe[Be]);this.id="",this.objectNumber=-1}function M(Xe,Ie){this.gState=Xe,this.matrix=Ie,this.id="",this.objectNumber=-1}function U(Xe,Ie,Be,Fe,Ge){if(!(this instanceof U))return new U(Xe,Ie,Be,Fe,Ge);this.type=Xe==="axial"?2:3,this.coords=Ie,this.colors=Be,M.call(this,Fe,Ge)}function F(Xe,Ie,Be,Fe,Ge){if(!(this instanceof F))return new F(Xe,Ie,Be,Fe,Ge);this.boundingBox=Xe,this.xStep=Ie,this.yStep=Be,this.stream="",this.cloneIndex=0,M.call(this,Fe,Ge)}function j(Xe){var Ie,Be=typeof arguments[0]=="string"?arguments[0]:"p",Fe=arguments[1],Ge=arguments[2],Ke=arguments[3],qe=[],vt=1,lt=16,Ft="S",wr=null;C()(Xe=Xe||{})==="object"&&(Be=Xe.orientation,Fe=Xe.unit||Fe,Ge=Xe.format||Ge,Ke=Xe.compress||Xe.compressPdf||Ke,(wr=Xe.encryption||null)!==null&&(wr.userPassword=wr.userPassword||"",wr.ownerPassword=wr.ownerPassword||"",wr.userPermissions=wr.userPermissions||[]),vt=typeof Xe.userUnit=="number"?Math.abs(Xe.userUnit):1,Xe.precision!==void 0&&(Ie=Xe.precision),Xe.floatPrecision!==void 0&&(lt=Xe.floatPrecision),Ft=Xe.defaultPathOperation||"S"),qe=Xe.filters||(Ke===!0?["FlateEncode"]:qe),Fe=Fe||"mm",Be=(""+(Be||"P")).toLowerCase();var pr=Xe.putOnlyUsedFonts||!1,Dr={},zt={internal:{},__private__:{}};zt.__private__.PubSub=D;var hn="1.3",ir=zt.__private__.getPdfVersion=function(){return hn};zt.__private__.setPdfVersion=function(bt){hn=bt};var Xr={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]};zt.__private__.getPageFormats=function(){return Xr};var Br=zt.__private__.getPageFormat=function(bt){return Xr[bt]};Ge=Ge||"a4";var vr={COMPAT:"compat",ADVANCED:"advanced"},Cn=vr.COMPAT;function kn(){this.saveGraphicsState(),cn(new zn(Kr,0,0,-Kr,0,Ks()*Kr).toString()+" cm"),this.setFontSize(this.getFontSize()/Kr),Ft="n",Cn=vr.ADVANCED}function ei(){this.restoreGraphicsState(),Ft="S",Cn=vr.COMPAT}var ii=zt.__private__.combineFontStyleAndFontWeight=function(bt,Dt){if(bt=="bold"&&Dt=="normal"||bt=="bold"&&Dt==400||bt=="normal"&&Dt=="italic"||bt=="bold"&&Dt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Dt&&(bt=Dt==400||Dt==="normal"?bt==="italic"?"italic":"normal":Dt!=700&&Dt!=="bold"||bt!=="normal"?(Dt==700?"bold":Dt)+""+bt:"bold"),bt};zt.advancedAPI=function(bt){var Dt=Cn===vr.COMPAT;return Dt&&kn.call(this),typeof bt!="function"||(bt(this),Dt&&ei.call(this)),this},zt.compatAPI=function(bt){var Dt=Cn===vr.ADVANCED;return Dt&&ei.call(this),typeof bt!="function"||(bt(this),Dt&&kn.call(this)),this},zt.isAdvancedAPI=function(){return Cn===vr.ADVANCED};var ti,Ti=function(Dt){if(Cn!==vr.ADVANCED)throw new Error(Dt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Bn=zt.roundToPrecision=zt.__private__.roundToPrecision=function(bt,Dt){var rn=Ie||Dt;if(isNaN(bt)||isNaN(rn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return bt.toFixed(rn).replace(/0+$/,"")};ti=zt.hpf=zt.__private__.hpf=typeof lt=="number"?function(bt){if(isNaN(bt))throw new Error("Invalid argument passed to jsPDF.hpf");return Bn(bt,lt)}:lt==="smart"?function(bt){if(isNaN(bt))throw new Error("Invalid argument passed to jsPDF.hpf");return Bn(bt,bt>-1&&bt<1?16:5)}:function(bt){if(isNaN(bt))throw new Error("Invalid argument passed to jsPDF.hpf");return Bn(bt,16)};var Di=zt.f2=zt.__private__.f2=function(bt){if(isNaN(bt))throw new Error("Invalid argument passed to jsPDF.f2");return Bn(bt,2)},gn=zt.__private__.f3=function(bt){if(isNaN(bt))throw new Error("Invalid argument passed to jsPDF.f3");return Bn(bt,3)},Vr=zt.scale=zt.__private__.scale=function(bt){if(isNaN(bt))throw new Error("Invalid argument passed to jsPDF.scale");return Cn===vr.COMPAT?bt*Kr:Cn===vr.ADVANCED?bt:void 0},Sn=function(Dt){return Cn===vr.COMPAT?Ks()-Dt:Cn===vr.ADVANCED?Dt:void 0},tn=function(Dt){return Vr(Sn(Dt))};zt.__private__.setPrecision=zt.setPrecision=function(bt){typeof parseInt(bt,10)=="number"&&(Ie=parseInt(bt,10))};var ci,qn="00000000000000000000000000000000",wi=zt.__private__.getFileId=function(){return qn},Jn=zt.__private__.setFileId=function(bt){return qn=bt!==void 0&&/^[a-fA-F0-9]{32}$/.test(bt)?bt.toUpperCase():qn.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),wr!==null&&(Ca=new N(wr.userPermissions,wr.userPassword,wr.ownerPassword,qn)),qn};zt.setFileId=function(bt){return Jn(bt),this},zt.getFileId=function(){return wi()};var Qi=zt.__private__.convertDateToPDFDate=function(bt){var Dt=bt.getTimezoneOffset(),rn=Dt<0?"+":"-",On=Math.floor(Math.abs(Dt/60)),ft=Math.abs(Dt%60),ne=[rn,wn(On),"'",wn(ft),"'"].join("");return["D:",bt.getFullYear(),wn(bt.getMonth()+1),wn(bt.getDate()),wn(bt.getHours()),wn(bt.getMinutes()),wn(bt.getSeconds()),ne].join("")},xi=zt.__private__.convertPDFDateToDate=function(bt){var Dt=parseInt(bt.substr(2,4),10),rn=parseInt(bt.substr(6,2),10)-1,On=parseInt(bt.substr(8,2),10),ft=parseInt(bt.substr(10,2),10),ne=parseInt(bt.substr(12,2),10),Ae=parseInt(bt.substr(14,2),10);return new Date(Dt,rn,On,ft,ne,Ae,0)},Ei=zt.__private__.setCreationDate=function(bt){var Dt;if(bt===void 0&&(bt=new Date),bt instanceof Date)Dt=Qi(bt);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(bt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Dt=bt}return ci=Dt},dn=zt.__private__.getCreationDate=function(bt){var Dt=ci;return bt==="jsDate"&&(Dt=xi(ci)),Dt};zt.setCreationDate=function(bt){return Ei(bt),this},zt.getCreationDate=function(bt){return dn(bt)};var Mr,wn=zt.__private__.padd2=function(bt){return("0"+parseInt(bt)).slice(-2)},Rn=zt.__private__.padd2Hex=function(bt){return("00"+(bt=bt.toString())).substr(bt.length)},Xn=0,Zn=[],hi=[],mi=0,gi=[],Vi=[],ma=!1,ca=hi,ja=function(){Xn=0,mi=0,hi=[],Zn=[],gi=[],Nr=br(),jt=br()};zt.__private__.setCustomOutputDestination=function(bt){ma=!0,ca=bt};var fi=function(Dt){ma||(ca=Dt)};zt.__private__.resetCustomOutputDestination=function(){ma=!1,ca=hi};var cn=zt.__private__.out=function(bt){return bt=bt.toString(),mi+=bt.length+1,ca.push(bt),ca},Bi=zt.__private__.write=function(bt){return cn(arguments.length===1?bt.toString():Array.prototype.join.call(arguments," "))},sa=zt.__private__.getArrayBuffer=function(bt){for(var Dt=bt.length,rn=new ArrayBuffer(Dt),On=new Uint8Array(rn);Dt--;)On[Dt]=bt.charCodeAt(Dt);return rn},zi=[["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]];zt.__private__.getStandardFonts=function(){return zi};var da=Xe.fontSize||16;zt.__private__.setFontSize=zt.setFontSize=function(bt){return da=Cn===vr.ADVANCED?bt/Kr:bt,this};var Vt,Qr=zt.__private__.getFontSize=zt.getFontSize=function(){return Cn===vr.COMPAT?da:da*Kr},an=Xe.R2L||!1;zt.__private__.setR2L=zt.setR2L=function(bt){return an=bt,this},zt.__private__.getR2L=zt.getR2L=function(){return an};var mn,Ye=zt.__private__.setZoomMode=function(bt){var Dt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(bt))Vt=bt;else if(isNaN(bt)){if(Dt.indexOf(bt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+bt+'" is not recognized.');Vt=bt}else Vt=parseInt(bt,10)};zt.__private__.getZoomMode=function(){return Vt};var It,lr=zt.__private__.setPageMode=function(bt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(bt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+bt+'" is not recognized.');mn=bt};zt.__private__.getPageMode=function(){return mn};var sr=zt.__private__.setLayoutMode=function(bt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(bt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+bt+'" is not recognized.');It=bt};zt.__private__.getLayoutMode=function(){return It},zt.__private__.setDisplayMode=zt.setDisplayMode=function(bt,Dt,rn){return Ye(bt),sr(Dt),lr(rn),this};var Lr={title:"",subject:"",author:"",keywords:"",creator:""};zt.__private__.getDocumentProperty=function(bt){if(Object.keys(Lr).indexOf(bt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Lr[bt]},zt.__private__.getDocumentProperties=function(){return Lr},zt.__private__.setDocumentProperties=zt.setProperties=zt.setDocumentProperties=function(bt){for(var Dt in Lr)Lr.hasOwnProperty(Dt)&&bt[Dt]&&(Lr[Dt]=bt[Dt]);return this},zt.__private__.setDocumentProperty=function(bt,Dt){if(Object.keys(Lr).indexOf(bt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Lr[bt]=Dt};var Pr,Kr,on,xn,An,Pn={},Un={},bn=[],_n={},Tn={},Wn={},Gn={},ri=null,Si=0,oi=[],Pi=new D(zt),Hi=Xe.hotfixes||[],_i={},pi={},ki=[],zn=function bt(Dt,rn,On,ft,ne,Ae){if(!(this instanceof bt))return new bt(Dt,rn,On,ft,ne,Ae);isNaN(Dt)&&(Dt=1),isNaN(rn)&&(rn=0),isNaN(On)&&(On=0),isNaN(ft)&&(ft=1),isNaN(ne)&&(ne=0),isNaN(Ae)&&(Ae=0),this._matrix=[Dt,rn,On,ft,ne,Ae]};Object.defineProperty(zn.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Dt){this._matrix[0]=Dt}}),Object.defineProperty(zn.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Dt){this._matrix[1]=Dt}}),Object.defineProperty(zn.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Dt){this._matrix[2]=Dt}}),Object.defineProperty(zn.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Dt){this._matrix[3]=Dt}}),Object.defineProperty(zn.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Dt){this._matrix[4]=Dt}}),Object.defineProperty(zn.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Dt){this._matrix[5]=Dt}}),Object.defineProperty(zn.prototype,"a",{get:function(){return this._matrix[0]},set:function(Dt){this._matrix[0]=Dt}}),Object.defineProperty(zn.prototype,"b",{get:function(){return this._matrix[1]},set:function(Dt){this._matrix[1]=Dt}}),Object.defineProperty(zn.prototype,"c",{get:function(){return this._matrix[2]},set:function(Dt){this._matrix[2]=Dt}}),Object.defineProperty(zn.prototype,"d",{get:function(){return this._matrix[3]},set:function(Dt){this._matrix[3]=Dt}}),Object.defineProperty(zn.prototype,"e",{get:function(){return this._matrix[4]},set:function(Dt){this._matrix[4]=Dt}}),Object.defineProperty(zn.prototype,"f",{get:function(){return this._matrix[5]},set:function(Dt){this._matrix[5]=Dt}}),Object.defineProperty(zn.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(zn.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(zn.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(zn.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),zn.prototype.join=function(bt){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(ti).join(bt)},zn.prototype.multiply=function(bt){var Dt=bt.sx*this.sx+bt.shy*this.shx,rn=bt.sx*this.shy+bt.shy*this.sy,On=bt.shx*this.sx+bt.sy*this.shx,ft=bt.shx*this.shy+bt.sy*this.sy,ne=bt.tx*this.sx+bt.ty*this.shx+this.tx,Ae=bt.tx*this.shy+bt.ty*this.sy+this.ty;return new zn(Dt,rn,On,ft,ne,Ae)},zn.prototype.decompose=function(){var bt=this.sx,Dt=this.shy,rn=this.shx,On=this.sy,ft=this.tx,ne=this.ty,Ae=Math.sqrt(bt*bt+Dt*Dt),Te=(bt/=Ae)*rn+(Dt/=Ae)*On;rn-=bt*Te,On-=Dt*Te;var je=Math.sqrt(rn*rn+On*On);return Te/=je,bt*(On/=je)<Dt*(rn/=je)&&(bt=-bt,Dt=-Dt,Te=-Te,Ae=-Ae),{scale:new zn(Ae,0,0,je,0,0),translate:new zn(1,0,0,1,ft,ne),rotate:new zn(bt,Dt,-Dt,bt,0,0),skew:new zn(1,0,Te,1,0,0)}},zn.prototype.toString=function(bt){return this.join(" ")},zn.prototype.inversed=function(){var bt=this.sx,Dt=this.shy,rn=this.shx,On=this.sy,ft=this.tx,ne=this.ty,Ae=1/(bt*On-Dt*rn),Te=On*Ae,je=-Dt*Ae,st=-rn*Ae,xt=bt*Ae;return new zn(Te,je,st,xt,-Te*ft-st*ne,-je*ft-xt*ne)},zn.prototype.applyToPoint=function(bt){var Dt=bt.x*this.sx+bt.y*this.shx+this.tx,rn=bt.x*this.shy+bt.y*this.sy+this.ty;return new hs(Dt,rn)},zn.prototype.applyToRectangle=function(bt){var Dt=this.applyToPoint(bt),rn=this.applyToPoint(new hs(bt.x+bt.w,bt.y+bt.h));return new vs(Dt.x,Dt.y,rn.x-Dt.x,rn.y-Dt.y)},zn.prototype.clone=function(){var bt=this.sx,Dt=this.shy,rn=this.shx,On=this.sy,ft=this.tx,ne=this.ty;return new zn(bt,Dt,rn,On,ft,ne)},zt.Matrix=zn;var ji=zt.matrixMult=function(bt,Dt){return Dt.multiply(bt)},Yi=new zn(1,0,0,1,0,0);zt.unitMatrix=zt.identityMatrix=Yi;var ta=function(Dt,rn){if(!Tn[Dt]){var On=(rn instanceof U?"Sh":"P")+(Object.keys(_n).length+1).toString(10);rn.id=On,Tn[Dt]=On,_n[On]=rn,Pi.publish("addPattern",rn)}};zt.ShadingPattern=U,zt.TilingPattern=F,zt.addShadingPattern=function(bt,Dt){return Ti("addShadingPattern()"),ta(bt,Dt),this},zt.beginTilingPattern=function(bt){Ti("beginTilingPattern()"),Cs(bt.boundingBox[0],bt.boundingBox[1],bt.boundingBox[2]-bt.boundingBox[0],bt.boundingBox[3]-bt.boundingBox[1],bt.matrix)},zt.endTilingPattern=function(bt,Dt){Ti("endTilingPattern()"),Dt.stream=Vi[Mr].join(`
`),ta(bt,Dt),Pi.publish("endTilingPattern",Dt),ki.pop().restore()};var Zi=zt.__private__.newObject=function(){var bt=br();return Wr(bt,!0),bt},br=zt.__private__.newObjectDeferred=function(){return Xn++,Zn[Xn]=function(){return mi},Xn},Wr=function(Dt,rn){return rn=typeof rn=="boolean"&&rn,Zn[Dt]=mi,rn&&cn(Dt+" 0 obj"),Dt},nn=zt.__private__.newAdditionalObject=function(){var bt={objId:br(),content:""};return gi.push(bt),bt},Nr=br(),jt=br(),xr=zt.__private__.decodeColorString=function(bt){var Dt=bt.split(" ");if(Dt.length!==2||Dt[1]!=="g"&&Dt[1]!=="G")Dt.length===5&&(Dt[4]==="k"||Dt[4]==="K")&&(Dt=[(1-Dt[0])*(1-Dt[3]),(1-Dt[1])*(1-Dt[3]),(1-Dt[2])*(1-Dt[3]),"r"]);else{var rn=parseFloat(Dt[0]);Dt=[rn,rn,rn,"r"]}for(var On="#",ft=0;ft<3;ft++)On+=("0"+Math.floor(255*parseFloat(Dt[ft])).toString(16)).slice(-2);return On},$t=zt.__private__.encodeColorString=function(bt){var Dt;typeof bt=="string"&&(bt={ch1:bt});var rn=bt.ch1,On=bt.ch2,ft=bt.ch3,ne=bt.ch4,Ae=bt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof rn=="string"&&rn.charAt(0)!=="#"){var Te=new s(rn);if(Te.ok)rn=Te.toHex();else if(!/^\d*\.?\d*$/.test(rn))throw new Error('Invalid color "'+rn+'" passed to jsPDF.encodeColorString.')}if(typeof rn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(rn)&&(rn="#"+rn[1]+rn[1]+rn[2]+rn[2]+rn[3]+rn[3]),typeof rn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(rn)){var je=parseInt(rn.substr(1),16);rn=je>>16&255,On=je>>8&255,ft=255&je}if(On===void 0||ne===void 0&&rn===On&&On===ft)if(typeof rn=="string")Dt=rn+" "+Ae[0];else switch(bt.precision){case 2:Dt=Di(rn/255)+" "+Ae[0];break;case 3:default:Dt=gn(rn/255)+" "+Ae[0]}else if(ne===void 0||C()(ne)==="object"){if(ne&&!isNaN(ne.a)&&ne.a===0)return Dt=["1.","1.","1.",Ae[1]].join(" ");if(typeof rn=="string")Dt=[rn,On,ft,Ae[1]].join(" ");else switch(bt.precision){case 2:Dt=[Di(rn/255),Di(On/255),Di(ft/255),Ae[1]].join(" ");break;default:case 3:Dt=[gn(rn/255),gn(On/255),gn(ft/255),Ae[1]].join(" ")}}else if(typeof rn=="string")Dt=[rn,On,ft,ne,Ae[2]].join(" ");else switch(bt.precision){case 2:Dt=[Di(rn),Di(On),Di(ft),Di(ne),Ae[2]].join(" ");break;case 3:default:Dt=[gn(rn),gn(On),gn(ft),gn(ne),Ae[2]].join(" ")}return Dt},jr=zt.__private__.getFilters=function(){return qe},Hr=zt.__private__.putStream=function(bt){var Dt=(bt=bt||{}).data||"",rn=bt.filters||jr(),On=bt.alreadyAppliedFilters||[],ft=bt.addLength1||!1,ne=Dt.length,Ae=bt.objectId,Te=function(ai){return ai};if(wr!==null&&Ae===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");wr!==null&&(Te=Ca.encryptor(Ae,0));var je={};rn===!0&&(rn=["FlateEncode"]);var st=bt.additionalKeyValues||[],xt=(je=j.API.processDataByFilters!==void 0?j.API.processDataByFilters(Dt,rn):{data:Dt,reverseChain:[]}).reverseChain+(Array.isArray(On)?On.join(" "):On.toString());if(je.data.length!==0&&(st.push({key:"Length",value:je.data.length}),ft===!0&&st.push({key:"Length1",value:ne})),xt.length!=0)if(xt.split("/").length-1==1)st.push({key:"Filter",value:xt});else{st.push({key:"Filter",value:"["+xt+"]"});for(var gr=0;gr<st.length;gr+=1)if(st[gr].key==="DecodeParms"){for(var Ir=[],Zr=0;Zr<je.reverseChain.split("/").length-1;Zr+=1)Ir.push("null");Ir.push(st[gr].value),st[gr].value="["+Ir.join(" ")+"]"}}cn("<<");for(var En=0;En<st.length;En++)cn("/"+st[En].key+" "+st[En].value);cn(">>"),je.data.length!==0&&(cn("stream"),cn(Te(je.data)),cn("endstream"))},ln=zt.__private__.putPage=function(bt){var Dt=bt.number,rn=bt.data,On=bt.objId,ft=bt.contentsObjId;Wr(On,!0),cn("<</Type /Page"),cn("/Parent "+bt.rootDictionaryObjId+" 0 R"),cn("/Resources "+bt.resourceDictionaryObjId+" 0 R"),cn("/MediaBox ["+parseFloat(ti(bt.mediaBox.bottomLeftX))+" "+parseFloat(ti(bt.mediaBox.bottomLeftY))+" "+ti(bt.mediaBox.topRightX)+" "+ti(bt.mediaBox.topRightY)+"]"),bt.cropBox!==null&&cn("/CropBox ["+ti(bt.cropBox.bottomLeftX)+" "+ti(bt.cropBox.bottomLeftY)+" "+ti(bt.cropBox.topRightX)+" "+ti(bt.cropBox.topRightY)+"]"),bt.bleedBox!==null&&cn("/BleedBox ["+ti(bt.bleedBox.bottomLeftX)+" "+ti(bt.bleedBox.bottomLeftY)+" "+ti(bt.bleedBox.topRightX)+" "+ti(bt.bleedBox.topRightY)+"]"),bt.trimBox!==null&&cn("/TrimBox ["+ti(bt.trimBox.bottomLeftX)+" "+ti(bt.trimBox.bottomLeftY)+" "+ti(bt.trimBox.topRightX)+" "+ti(bt.trimBox.topRightY)+"]"),bt.artBox!==null&&cn("/ArtBox ["+ti(bt.artBox.bottomLeftX)+" "+ti(bt.artBox.bottomLeftY)+" "+ti(bt.artBox.topRightX)+" "+ti(bt.artBox.topRightY)+"]"),typeof bt.userUnit=="number"&&bt.userUnit!==1&&cn("/UserUnit "+bt.userUnit),Pi.publish("putPage",{objId:On,pageContext:oi[Dt],pageNumber:Dt,page:rn}),cn("/Contents "+ft+" 0 R"),cn(">>"),cn("endobj");var ne=rn.join(`
`);return Cn===vr.ADVANCED&&(ne+=`
Q`),Wr(ft,!0),Hr({data:ne,filters:jr(),objectId:ft}),cn("endobj"),On},qr=zt.__private__.putPages=function(){var bt,Dt,rn=[];for(bt=1;bt<=Si;bt++)oi[bt].objId=br(),oi[bt].contentsObjId=br();for(bt=1;bt<=Si;bt++)rn.push(ln({number:bt,data:Vi[bt],objId:oi[bt].objId,contentsObjId:oi[bt].contentsObjId,mediaBox:oi[bt].mediaBox,cropBox:oi[bt].cropBox,bleedBox:oi[bt].bleedBox,trimBox:oi[bt].trimBox,artBox:oi[bt].artBox,userUnit:oi[bt].userUnit,rootDictionaryObjId:Nr,resourceDictionaryObjId:jt}));Wr(Nr,!0),cn("<</Type /Pages");var On="/Kids [";for(Dt=0;Dt<Si;Dt++)On+=rn[Dt]+" 0 R ";cn(On+"]"),cn("/Count "+Si),cn(">>"),cn("endobj"),Pi.publish("postPutPages")},fn=function(Dt){Pi.publish("putFont",{font:Dt,out:cn,newObject:Zi,putStream:Hr}),Dt.isAlreadyPutted!==!0&&(Dt.objectNumber=Zi(),cn("<<"),cn("/Type /Font"),cn("/BaseFont /"+R(Dt.postScriptName)),cn("/Subtype /Type1"),typeof Dt.encoding=="string"&&cn("/Encoding /"+Dt.encoding),cn("/FirstChar 32"),cn("/LastChar 255"),cn(">>"),cn("endobj"))},Dn=function(){for(var Dt in Pn)Pn.hasOwnProperty(Dt)&&(pr===!1||pr===!0&&Dr.hasOwnProperty(Dt))&&fn(Pn[Dt])},li=function(Dt){Dt.objectNumber=Zi();var rn=[];rn.push({key:"Type",value:"/XObject"}),rn.push({key:"Subtype",value:"/Form"}),rn.push({key:"BBox",value:"["+[ti(Dt.x),ti(Dt.y),ti(Dt.x+Dt.width),ti(Dt.y+Dt.height)].join(" ")+"]"}),rn.push({key:"Matrix",value:"["+Dt.matrix.toString()+"]"});var On=Dt.pages[1].join(`
`);Hr({data:On,additionalKeyValues:rn,objectId:Dt.objectNumber}),cn("endobj")},di=function(){for(var Dt in _i)_i.hasOwnProperty(Dt)&&li(_i[Dt])},Ri=function(Dt,rn){var On,ft=[],ne=1/(rn-1);for(On=0;On<1;On+=ne)ft.push(On);if(ft.push(1),Dt[0].offset!=0){var Ae={offset:0,color:Dt[0].color};Dt.unshift(Ae)}if(Dt[Dt.length-1].offset!=1){var Te={offset:1,color:Dt[Dt.length-1].color};Dt.push(Te)}for(var je="",st=0,xt=0;xt<ft.length;xt++){for(On=ft[xt];On>Dt[st+1].offset;)st++;var gr=Dt[st].offset,Ir=(On-gr)/(Dt[st+1].offset-gr),Zr=Dt[st].color,En=Dt[st+1].color;je+=Rn(Math.round((1-Ir)*Zr[0]+Ir*En[0]).toString(16))+Rn(Math.round((1-Ir)*Zr[1]+Ir*En[1]).toString(16))+Rn(Math.round((1-Ir)*Zr[2]+Ir*En[2]).toString(16))}return je.trim()},la=function(Dt,rn){rn||(rn=21);var On=Zi(),ft=Ri(Dt.colors,rn),ne=[];ne.push({key:"FunctionType",value:"0"}),ne.push({key:"Domain",value:"[0.0 1.0]"}),ne.push({key:"Size",value:"["+rn+"]"}),ne.push({key:"BitsPerSample",value:"8"}),ne.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ne.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Hr({data:ft,additionalKeyValues:ne,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:On}),cn("endobj"),Dt.objectNumber=Zi(),cn("<< /ShadingType "+Dt.type),cn("/ColorSpace /DeviceRGB");var Ae="/Coords ["+ti(parseFloat(Dt.coords[0]))+" "+ti(parseFloat(Dt.coords[1]))+" ";Dt.type===2?Ae+=ti(parseFloat(Dt.coords[2]))+" "+ti(parseFloat(Dt.coords[3])):Ae+=ti(parseFloat(Dt.coords[2]))+" "+ti(parseFloat(Dt.coords[3]))+" "+ti(parseFloat(Dt.coords[4]))+" "+ti(parseFloat(Dt.coords[5])),cn(Ae+="]"),Dt.matrix&&cn("/Matrix ["+Dt.matrix.toString()+"]"),cn("/Function "+On+" 0 R"),cn("/Extend [true true]"),cn(">>"),cn("endobj")},na=function(Dt,rn){var On=br(),ft=Zi();rn.push({resourcesOid:On,objectOid:ft}),Dt.objectNumber=ft;var ne=[];ne.push({key:"Type",value:"/Pattern"}),ne.push({key:"PatternType",value:"1"}),ne.push({key:"PaintType",value:"1"}),ne.push({key:"TilingType",value:"1"}),ne.push({key:"BBox",value:"["+Dt.boundingBox.map(ti).join(" ")+"]"}),ne.push({key:"XStep",value:ti(Dt.xStep)}),ne.push({key:"YStep",value:ti(Dt.yStep)}),ne.push({key:"Resources",value:On+" 0 R"}),Dt.matrix&&ne.push({key:"Matrix",value:"["+Dt.matrix.toString()+"]"}),Hr({data:Dt.stream,additionalKeyValues:ne,objectId:Dt.objectNumber}),cn("endobj")},ga=function(Dt){var rn;for(rn in _n)_n.hasOwnProperty(rn)&&(_n[rn]instanceof U?la(_n[rn]):_n[rn]instanceof F&&na(_n[rn],Dt))},Fi=function(Dt){for(var rn in Dt.objectNumber=Zi(),cn("<<"),Dt)switch(rn){case"opacity":cn("/ca "+Di(Dt[rn]));break;case"stroke-opacity":cn("/CA "+Di(Dt[rn]))}cn(">>"),cn("endobj")},Ni=function(){var Dt;for(Dt in Wn)Wn.hasOwnProperty(Dt)&&Fi(Wn[Dt])},ia=function(){for(var Dt in cn("/XObject <<"),_i)_i.hasOwnProperty(Dt)&&_i[Dt].objectNumber>=0&&cn("/"+Dt+" "+_i[Dt].objectNumber+" 0 R");Pi.publish("putXobjectDict"),cn(">>")},Ji=function(){Ca.oid=Zi(),cn("<<"),cn("/Filter /Standard"),cn("/V "+Ca.v),cn("/R "+Ca.r),cn("/U <"+Ca.toHexString(Ca.U)+">"),cn("/O <"+Ca.toHexString(Ca.O)+">"),cn("/P "+Ca.P),cn(">>"),cn("endobj")},ha=function(){for(var Dt in cn("/Font <<"),Pn)Pn.hasOwnProperty(Dt)&&(pr===!1||pr===!0&&Dr.hasOwnProperty(Dt))&&cn("/"+Dt+" "+Pn[Dt].objectNumber+" 0 R");cn(">>")},Ta=function(){if(Object.keys(_n).length>0){for(var Dt in cn("/Shading <<"),_n)_n.hasOwnProperty(Dt)&&_n[Dt]instanceof U&&_n[Dt].objectNumber>=0&&cn("/"+Dt+" "+_n[Dt].objectNumber+" 0 R");Pi.publish("putShadingPatternDict"),cn(">>")}},Pa=function(Dt){if(Object.keys(_n).length>0){for(var rn in cn("/Pattern <<"),_n)_n.hasOwnProperty(rn)&&_n[rn]instanceof zt.TilingPattern&&_n[rn].objectNumber>=0&&_n[rn].objectNumber<Dt&&cn("/"+rn+" "+_n[rn].objectNumber+" 0 R");Pi.publish("putTilingPatternDict"),cn(">>")}},bi=function(){if(Object.keys(Wn).length>0){var Dt;for(Dt in cn("/ExtGState <<"),Wn)Wn.hasOwnProperty(Dt)&&Wn[Dt].objectNumber>=0&&cn("/"+Dt+" "+Wn[Dt].objectNumber+" 0 R");Pi.publish("putGStateDict"),cn(">>")}},Qn=function(Dt){Wr(Dt.resourcesOid,!0),cn("<<"),cn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ha(),Ta(),Pa(Dt.objectOid),bi(),ia(),cn(">>"),cn("endobj")},vi=function(){var Dt=[];Dn(),Ni(),di(),ga(Dt),Pi.publish("putResources"),Dt.forEach(Qn),Qn({resourcesOid:jt,objectOid:Number.MAX_SAFE_INTEGER}),Pi.publish("postPutResources")},Ai=function(){Pi.publish("putAdditionalObjects");for(var Dt=0;Dt<gi.length;Dt++){var rn=gi[Dt];Wr(rn.objId,!0),cn(rn.content),cn("endobj")}Pi.publish("postPutAdditionalObjects")},Gi=function(Dt){Un[Dt.fontName]=Un[Dt.fontName]||{},Un[Dt.fontName][Dt.fontStyle]=Dt.id},Oi=function(Dt,rn,On,ft,ne){var Ae={id:"F"+(Object.keys(Pn).length+1).toString(10),postScriptName:Dt,fontName:rn,fontStyle:On,encoding:ft,isStandardFont:ne||!1,metadata:{}};return Pi.publish("addFont",{font:Ae,instance:this}),Pn[Ae.id]=Ae,Gi(Ae),Ae.id},pa=function(Dt){for(var rn=0,On=zi.length;rn<On;rn++){var ft=Oi.call(this,Dt[rn][0],Dt[rn][1],Dt[rn][2],zi[rn][3],!0);pr===!1&&(Dr[ft]=!0);var ne=Dt[rn][0].split("-");Gi({id:ft,fontName:ne[0],fontStyle:ne[1]||""})}Pi.publish("addFonts",{fonts:Pn,dictionary:Un})},Ma=function(Dt){return Dt.foo=function(){try{return Dt.apply(this,arguments)}catch(ft){var rn=ft.stack||"";~rn.indexOf(" at ")&&(rn=rn.split(" at ")[1]);var On="Error in function "+rn.split(`
`)[0].split("<")[0]+": "+ft.message;if(!b.console)throw new Error(On);b.console.error(On,ft),b.alert&&alert(On)}},Dt.foo.bar=Dt,Dt.foo},fa=function(Dt,rn){var On,ft,ne,Ae,Te,je,st,xt,gr;if(ne=(rn=rn||{}).sourceEncoding||"Unicode",Te=rn.outputEncoding,(rn.autoencode||Te)&&Pn[Pr].metadata&&Pn[Pr].metadata[ne]&&Pn[Pr].metadata[ne].encoding&&(Ae=Pn[Pr].metadata[ne].encoding,!Te&&Pn[Pr].encoding&&(Te=Pn[Pr].encoding),!Te&&Ae.codePages&&(Te=Ae.codePages[0]),typeof Te=="string"&&(Te=Ae[Te]),Te)){for(st=!1,je=[],On=0,ft=Dt.length;On<ft;On++)(xt=Te[Dt.charCodeAt(On)])?je.push(String.fromCharCode(xt)):je.push(Dt[On]),je[On].charCodeAt(0)>>8&&(st=!0);Dt=je.join("")}for(On=Dt.length;st===void 0&&On!==0;)Dt.charCodeAt(On-1)>>8&&(st=!0),On--;if(!st)return Dt;for(je=rn.noBOM?[]:[254,255],On=0,ft=Dt.length;On<ft;On++){if((gr=(xt=Dt.charCodeAt(On))>>8)>>8)throw new Error("Character at position "+On+" of string '"+Dt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");je.push(gr),je.push(xt-(gr<<8))}return String.fromCharCode.apply(void 0,je)},ua=zt.__private__.pdfEscape=zt.pdfEscape=function(bt,Dt){return fa(bt,Dt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ra=zt.__private__.beginPage=function(bt){Vi[++Si]=[],oi[Si]={objId:0,contentsObjId:0,userUnit:Number(vt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(bt[0]),topRightY:Number(bt[1])}},qi(Si),fi(Vi[Mr])},Ra=function(Dt,rn){var On,ft,ne;switch(Be=rn||Be,typeof Dt=="string"&&(On=Br(Dt.toLowerCase()),Array.isArray(On)&&(ft=On[0],ne=On[1])),Array.isArray(Dt)&&(ft=Dt[0]*Kr,ne=Dt[1]*Kr),isNaN(ft)&&(ft=Ge[0],ne=Ge[1]),(ft>14400||ne>14400)&&(p.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),ft=Math.min(14400,ft),ne=Math.min(14400,ne)),Ge=[ft,ne],Be.substr(0,1)){case"l":ne>ft&&(Ge=[ne,ft]);break;case"p":ft>ne&&(Ge=[ne,ft])}ra(Ge),_s(Zs),cn(Fo),lo!==0&&cn(lo+" J"),Ao!==0&&cn(Ao+" j"),Pi.publish("addPage",{pageNumber:Si})},eo=function(Dt){Dt>0&&Dt<=Si&&(Vi.splice(Dt,1),oi.splice(Dt,1),Si--,Mr>Si&&(Mr=Si),this.setPage(Mr))},qi=function(Dt){Dt>0&&Dt<=Si&&(Mr=Dt)},qa=zt.__private__.getNumberOfPages=zt.getNumberOfPages=function(){return Vi.length-1},Ya=function(Dt,rn,On){var ft,ne=void 0;return On=On||{},Dt=Dt!==void 0?Dt:Pn[Pr].fontName,rn=rn!==void 0?rn:Pn[Pr].fontStyle,ft=Dt.toLowerCase(),Un[ft]!==void 0&&Un[ft][rn]!==void 0?ne=Un[ft][rn]:Un[Dt]!==void 0&&Un[Dt][rn]!==void 0?ne=Un[Dt][rn]:On.disableWarning===!1&&p.warn("Unable to look up font label for font '"+Dt+"', '"+rn+"'. Refer to getFontList() for available fonts."),ne||On.noFallback||(ne=Un.times[rn])==null&&(ne=Un.times.normal),ne},Ka=zt.__private__.putInfo=function(){var bt=Zi(),Dt=function(ft){return ft};for(var rn in wr!==null&&(Dt=Ca.encryptor(bt,0)),cn("<<"),cn("/Producer ("+ua(Dt("jsPDF "+j.version))+")"),Lr)Lr.hasOwnProperty(rn)&&Lr[rn]&&cn("/"+rn.substr(0,1).toUpperCase()+rn.substr(1)+" ("+ua(Dt(Lr[rn]))+")");cn("/CreationDate ("+ua(Dt(ci))+")"),cn(">>"),cn("endobj")},ao=zt.__private__.putCatalog=function(bt){var Dt=(bt=bt||{}).rootDictionaryObjId||Nr;switch(Zi(),cn("<<"),cn("/Type /Catalog"),cn("/Pages "+Dt+" 0 R"),Vt||(Vt="fullwidth"),Vt){case"fullwidth":cn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":cn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":cn("/OpenAction [3 0 R /Fit]");break;case"original":cn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var rn=""+Vt;rn.substr(rn.length-1)==="%"&&(Vt=parseInt(Vt)/100),typeof Vt=="number"&&cn("/OpenAction [3 0 R /XYZ null null "+Di(Vt)+"]")}switch(It||(It="continuous"),It){case"continuous":cn("/PageLayout /OneColumn");break;case"single":cn("/PageLayout /SinglePage");break;case"two":case"twoleft":cn("/PageLayout /TwoColumnLeft");break;case"tworight":cn("/PageLayout /TwoColumnRight")}mn&&cn("/PageMode /"+mn),Pi.publish("putCatalog"),cn(">>"),cn("endobj")},Va=zt.__private__.putTrailer=function(){cn("trailer"),cn("<<"),cn("/Size "+(Xn+1)),cn("/Root "+Xn+" 0 R"),cn("/Info "+(Xn-1)+" 0 R"),wr!==null&&cn("/Encrypt "+Ca.oid+" 0 R"),cn("/ID [ <"+qn+"> <"+qn+"> ]"),cn(">>")},Ba=zt.__private__.putHeader=function(){cn("%PDF-"+hn),cn("%\xBA\xDF\xAC\xE0")},go=zt.__private__.putXRef=function(){var bt="0000000000";cn("xref"),cn("0 "+(Xn+1)),cn("0000000000 65535 f ");for(var Dt=1;Dt<=Xn;Dt++)typeof Zn[Dt]=="function"?cn((bt+Zn[Dt]()).slice(-10)+" 00000 n "):Zn[Dt]!==void 0?cn((bt+Zn[Dt]).slice(-10)+" 00000 n "):cn("0000000000 00000 n ")},so=zt.__private__.buildDocument=function(){ja(),fi(hi),Pi.publish("buildDocument"),Ba(),qr(),Ai(),vi(),wr!==null&&Ji(),Ka(),ao();var bt=mi;return go(),Va(),cn("startxref"),cn(""+bt),cn("%%EOF"),fi(Vi[Mr]),hi.join(`
`)},vo=zt.__private__.getBlob=function(bt){return new Blob([sa(bt)],{type:"application/pdf"})},to=zt.output=zt.__private__.output=Ma(function(bt,Dt){switch(typeof(Dt=Dt||{})=="string"?Dt={filename:Dt}:Dt.filename=Dt.filename||"generated.pdf",bt){case void 0:return so();case"save":zt.save(Dt.filename);break;case"arraybuffer":return sa(so());case"blob":return vo(so());case"bloburi":case"bloburl":if(b.URL!==void 0&&typeof b.URL.createObjectURL=="function")return b.URL&&b.URL.createObjectURL(vo(so()))||void 0;p.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var rn="",On=so();try{rn=n(On)}catch(Zr){rn=n(unescape(encodeURIComponent(On)))}return"data:application/pdf;filename="+Dt.filename+";base64,"+rn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(b)==="[object Window]"){var ft="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ne=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Dt.pdfObjectUrl&&(ft=Dt.pdfObjectUrl,ne="");var Ae='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+ft+'"'+ne+'></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Dt)+");</script></body></html>",Te=b.open();return Te!==null&&Te.document.write(Ae),Te}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(b)==="[object Window]"){var je='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Dt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Dt.filename+'" width="500px" height="400px" /></body></html>',st=b.open();if(st!==null){st.document.write(je);var xt=this;st.document.documentElement.querySelector("#pdfViewer").onload=function(){st.document.title=Dt.filename,st.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(xt.output("bloburl"))}}return st}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(b)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var gr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Dt)+'"></iframe></body></html>',Ir=b.open();if(Ir!==null&&(Ir.document.write(gr),Ir.document.title=Dt.filename),Ir||typeof safari=="undefined")return Ir;break;case"datauri":case"dataurl":return b.document.location.href=this.output("datauristring",Dt);default:return null}}),ro=function(Dt){return Array.isArray(Hi)===!0&&Hi.indexOf(Dt)>-1};switch(Fe){case"pt":Kr=1;break;case"mm":Kr=72/25.4;break;case"cm":Kr=72/2.54;break;case"in":Kr=72;break;case"px":Kr=ro("px_scaling")==1?.75:96/72;break;case"pc":case"em":Kr=12;break;case"ex":Kr=6;break;default:if(typeof Fe!="number")throw new Error("Invalid unit: "+Fe);Kr=Fe}var Ca=null;Ei(),Jn();var Ha=function(Dt){return wr!==null?Ca.encryptor(Dt,0):function(rn){return rn}},Na=zt.__private__.getPageInfo=zt.getPageInfo=function(bt){if(isNaN(bt)||bt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:oi[bt].objId,pageNumber:bt,pageContext:oi[bt]}},oo=zt.__private__.getPageInfoByObjId=function(bt){if(isNaN(bt)||bt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Dt in oi)if(oi[Dt].objId===bt)break;return Na(Dt)},Ga=zt.__private__.getCurrentPageInfo=zt.getCurrentPageInfo=function(){return{objId:oi[Mr].objId,pageNumber:Mr,pageContext:oi[Mr]}};zt.addPage=function(){return Ra.apply(this,arguments),this},zt.setPage=function(){return qi.apply(this,arguments),fi.call(this,Vi[Mr]),this},zt.insertPage=function(bt){return this.addPage(),this.movePage(Mr,bt),this},zt.movePage=function(bt,Dt){var rn,On;if(bt>Dt){rn=Vi[bt],On=oi[bt];for(var ft=bt;ft>Dt;ft--)Vi[ft]=Vi[ft-1],oi[ft]=oi[ft-1];Vi[Dt]=rn,oi[Dt]=On,this.setPage(Dt)}else if(bt<Dt){rn=Vi[bt],On=oi[bt];for(var ne=bt;ne<Dt;ne++)Vi[ne]=Vi[ne+1],oi[ne]=oi[ne+1];Vi[Dt]=rn,oi[Dt]=On,this.setPage(Dt)}return this},zt.deletePage=function(){return eo.apply(this,arguments),this},zt.__private__.text=zt.text=function(bt,Dt,rn,On,ft){var ne,Ae,Te,je,st,xt,gr,Ir,Zr,En=(On=On||{}).scope||this;if(typeof bt=="number"&&typeof Dt=="number"&&(typeof rn=="string"||Array.isArray(rn))){var Hn=rn;rn=Dt,Dt=bt,bt=Hn}if(arguments[3]instanceof zn==!1?(Te=arguments[4],je=arguments[5],C()(gr=arguments[3])==="object"&&gr!==null||(typeof Te=="string"&&(je=Te,Te=null),typeof gr=="string"&&(je=gr,gr=null),typeof gr=="number"&&(Te=gr,gr=null),On={flags:gr,angle:Te,align:je})):(Ti("The transform parameter of text() with a Matrix value"),Zr=ft),isNaN(Dt)||isNaN(rn)||bt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(bt.length===0)return En;var ai="",Ci=!1,Ui=typeof On.lineHeightFactor=="number"?On.lineHeightFactor:Xo,va=En.internal.scaleFactor;function _a(jo){return jo=jo.split(" ").join(Array(On.TabLen||9).join(" ")),ua(jo,gr)}function Za(jo){for(var Co,qo=jo.concat(),So=[],Ws=qo.length;Ws--;)typeof(Co=qo.shift())=="string"?So.push(Co):Array.isArray(jo)&&(Co.length===1||Co[1]===void 0&&Co[2]===void 0)?So.push(Co[0]):So.push([Co[0],Co[1],Co[2]]);return So}function no(jo,Co){var qo;if(typeof jo=="string")qo=Co(jo)[0];else if(Array.isArray(jo)){for(var So,Ws,Sl=jo.concat(),xl=[],Bl=Sl.length;Bl--;)typeof(So=Sl.shift())=="string"?xl.push(Co(So)[0]):Array.isArray(So)&&typeof So[0]=="string"&&(Ws=Co(So[0],So[1],So[2]),xl.push([Ws[0],Ws[1],Ws[2]]));qo=xl}return qo}var uo=!1,Io=!0;if(typeof bt=="string")uo=!0;else if(Array.isArray(bt)){var Eo=bt.concat();Ae=[];for(var Ro,yo=Eo.length;yo--;)(typeof(Ro=Eo.shift())!="string"||Array.isArray(Ro)&&typeof Ro[0]!="string")&&(Io=!1);uo=Io}if(uo===!1)throw new Error('Type of text must be string or Array. "'+bt+'" is not recognized.');typeof bt=="string"&&(bt=bt.match(/[\r?\n]/)?bt.split(/\r\n|\r|\n/g):[bt]);var Lo=da/En.internal.scaleFactor,Zo=Lo*(Ui-1);switch(On.baseline){case"bottom":rn-=Zo;break;case"top":rn+=Lo-Zo;break;case"hanging":rn+=Lo-2*Zo;break;case"middle":rn+=Lo/2-Zo}if((xt=On.maxWidth||0)>0&&(typeof bt=="string"?bt=En.splitTextToSize(bt,xt):Object.prototype.toString.call(bt)==="[object Array]"&&(bt=bt.reduce(function(jo,Co){return jo.concat(En.splitTextToSize(Co,xt))},[]))),ne={text:bt,x:Dt,y:rn,options:On,mutex:{pdfEscape:ua,activeFontKey:Pr,fonts:Pn,activeFontSize:da}},Pi.publish("preProcessText",ne),bt=ne.text,Te=(On=ne.options).angle,Zr instanceof zn==!1&&Te&&typeof Te=="number"){Te*=Math.PI/180,On.rotationDirection===0&&(Te=-Te),Cn===vr.ADVANCED&&(Te=-Te);var Ko=Math.cos(Te),To=Math.sin(Te);Zr=new zn(Ko,To,-To,Ko,0,0)}else Te&&Te instanceof zn&&(Zr=Te);Cn!==vr.ADVANCED||Zr||(Zr=Yi),(st=On.charSpace||Is)!==void 0&&(ai+=ti(Vr(st))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(Ir=On.horizontalScale)!==void 0&&(ai+=ti(100*Ir)+` Tz
`),On.lang;var aa=-1,Ns=On.renderingMode!==void 0?On.renderingMode:On.stroke,Ss=En.internal.getCurrentPageInfo().pageContext;switch(Ns){case 0:case!1:case"fill":aa=0;break;case 1:case!0:case"stroke":aa=1;break;case 2:case"fillThenStroke":aa=2;break;case 3:case"invisible":aa=3;break;case 4:case"fillAndAddForClipping":aa=4;break;case 5:case"strokeAndAddPathForClipping":aa=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":aa=6;break;case 7:case"addToPathForClipping":aa=7}var is=Ss.usedRenderingMode!==void 0?Ss.usedRenderingMode:-1;aa!==-1?ai+=aa+` Tr
`:is!==-1&&(ai+=`0 Tr
`),aa!==-1&&(Ss.usedRenderingMode=aa),je=On.align||"left";var Qo,fs=da*Ui,vl=En.internal.pageSize.getWidth(),sl=Pn[Pr];st=On.charSpace||Is,xt=On.maxWidth||0,gr=Object.assign({autoencode:!0,noBOM:!0},On.flags);var ps=[];if(Object.prototype.toString.call(bt)==="[object Array]"){var Mo;Ae=Za(bt),je!=="left"&&(Qo=Ae.map(function(jo){return En.getStringUnitWidth(jo,{font:sl,charSpace:st,fontSize:da,doKerning:!1})*da/va}));var ls,el=0;if(je==="right"){Dt-=Qo[0],bt=[],yo=Ae.length;for(var ms=0;ms<yo;ms++)ms===0?(ls=Do(Dt),Mo=po(rn)):(ls=Vr(el-Qo[ms]),Mo=-fs),bt.push([Ae[ms],ls,Mo]),el=Qo[ms]}else if(je==="center"){Dt-=Qo[0]/2,bt=[],yo=Ae.length;for(var Fs=0;Fs<yo;Fs++)Fs===0?(ls=Do(Dt),Mo=po(rn)):(ls=Vr((el-Qo[Fs])/2),Mo=-fs),bt.push([Ae[Fs],ls,Mo]),el=Qo[Fs]}else if(je==="left"){bt=[],yo=Ae.length;for(var Us=0;Us<yo;Us++)bt.push(Ae[Us])}else{if(je!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');bt=[],yo=Ae.length,xt=xt!==0?xt:vl;for(var Ds=0;Ds<yo;Ds++)Mo=Ds===0?po(rn):-fs,ls=Ds===0?Do(Dt):0,Ds<yo-1?ps.push(ti(Vr((xt-Qo[Ds])/(Ae[Ds].split(" ").length-1)))):ps.push(0),bt.push([Ae[Ds],ls,Mo])}}var al=typeof On.R2L=="boolean"?On.R2L:an;al===!0&&(bt=no(bt,function(jo,Co,qo){return[jo.split("").reverse().join(""),Co,qo]})),ne={text:bt,x:Dt,y:rn,options:On,mutex:{pdfEscape:ua,activeFontKey:Pr,fonts:Pn,activeFontSize:da}},Pi.publish("postProcessText",ne),bt=ne.text,Ci=ne.mutex.isHex||!1;var tl=Pn[Pr].encoding;tl!=="WinAnsiEncoding"&&tl!=="StandardEncoding"||(bt=no(bt,function(jo,Co,qo){return[_a(jo),Co,qo]})),Ae=Za(bt),bt=[];for(var Ys,js,Ja,Ea=0,za=1,co=Array.isArray(Ae[0])?za:Ea,$o="",Hs=function(Co,qo,So){var Ws="";return So instanceof zn?(So=typeof On.angle=="number"?ji(So,new zn(1,0,0,1,Co,qo)):ji(new zn(1,0,0,1,Co,qo),So),Cn===vr.ADVANCED&&(So=ji(new zn(1,0,0,-1,0,0),So)),Ws=So.join(" ")+` Tm
`):Ws=ti(Co)+" "+ti(qo)+` Td
`,Ws},As=0;As<Ae.length;As++){switch($o="",co){case za:Ja=(Ci?"<":"(")+Ae[As][0]+(Ci?">":")"),Ys=parseFloat(Ae[As][1]),js=parseFloat(Ae[As][2]);break;case Ea:Ja=(Ci?"<":"(")+Ae[As]+(Ci?">":")"),Ys=Do(Dt),js=po(rn)}ps!==void 0&&ps[As]!==void 0&&($o=ps[As]+` Tw
`),As===0?bt.push($o+Hs(Ys,js,Zr)+Ja):co===Ea?bt.push($o+Ja):co===za&&bt.push($o+Hs(Ys,js,Zr)+Ja)}bt=co===Ea?bt.join(` Tj
T* `):bt.join(` Tj
`),bt+=` Tj
`;var ys=`BT
/`;return ys+=Pr+" "+da+` Tf
`,ys+=ti(da*Ui)+` TL
`,ys+=Jo+`
`,ys+=ai,ys+=bt,cn(ys+="ET"),Dr[Pr]=!0,En};var Ki=zt.__private__.clip=zt.clip=function(bt){return cn(bt==="evenodd"?"W*":"W"),this};zt.clipEvenOdd=function(){return Ki("evenodd")},zt.__private__.discardPath=zt.discardPath=function(){return cn("n"),this};var Xa=zt.__private__.isValidStyle=function(bt){var Dt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(bt)!==-1&&(Dt=!0),Dt};zt.__private__.setDefaultPathOperation=zt.setDefaultPathOperation=function(bt){return Xa(bt)&&(Ft=bt),this};var No=zt.__private__.getStyle=zt.getStyle=function(bt){var Dt=Ft;switch(bt){case"D":case"S":Dt="S";break;case"F":Dt="f";break;case"FD":case"DF":Dt="B";break;case"f":case"f*":case"B":case"B*":Dt=bt}return Dt},_o=zt.close=function(){return cn("h"),this};zt.stroke=function(){return cn("S"),this},zt.fill=function(bt){return Vo("f",bt),this},zt.fillEvenOdd=function(bt){return Vo("f*",bt),this},zt.fillStroke=function(bt){return Vo("B",bt),this},zt.fillStrokeEvenOdd=function(bt){return Vo("B*",bt),this};var Vo=function(Dt,rn){C()(rn)==="object"?Da(rn,Dt):cn(Dt)},Go=function(Dt){Dt===null||Cn===vr.ADVANCED&&Dt===void 0||(Dt=No(Dt),cn(Dt))};function bo(bt,Dt,rn,On,ft){var ne=new F(Dt||this.boundingBox,rn||this.xStep,On||this.yStep,this.gState,ft||this.matrix);ne.stream=this.stream;var Ae=bt+"$$"+this.cloneIndex+++"$$";return ta(Ae,ne),ne}var Da=function(Dt,rn){var On=Tn[Dt.key],ft=_n[On];if(ft instanceof U)cn("q"),cn(Ho(rn)),ft.gState&&zt.setGState(ft.gState),cn(Dt.matrix.toString()+" cm"),cn("/"+On+" sh"),cn("Q");else if(ft instanceof F){var ne=new zn(1,0,0,-1,0,Ks());Dt.matrix&&(ne=ne.multiply(Dt.matrix||Yi),On=bo.call(ft,Dt.key,Dt.boundingBox,Dt.xStep,Dt.yStep,ne).id),cn("q"),cn("/Pattern cs"),cn("/"+On+" scn"),ft.gState&&zt.setGState(ft.gState),cn(rn),cn("Q")}},Ho=function(Dt){switch(Dt){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},ds=zt.moveTo=function(bt,Dt){return cn(ti(Vr(bt))+" "+ti(tn(Dt))+" m"),this},fo=zt.lineTo=function(bt,Dt){return cn(ti(Vr(bt))+" "+ti(tn(Dt))+" l"),this},Oo=zt.curveTo=function(bt,Dt,rn,On,ft,ne){return cn([ti(Vr(bt)),ti(tn(Dt)),ti(Vr(rn)),ti(tn(On)),ti(Vr(ft)),ti(tn(ne)),"c"].join(" ")),this};zt.__private__.line=zt.line=function(bt,Dt,rn,On,ft){if(isNaN(bt)||isNaN(Dt)||isNaN(rn)||isNaN(On)||!Xa(ft))throw new Error("Invalid arguments passed to jsPDF.line");return Cn===vr.COMPAT?this.lines([[rn-bt,On-Dt]],bt,Dt,[1,1],ft||"S"):this.lines([[rn-bt,On-Dt]],bt,Dt,[1,1]).stroke()},zt.__private__.lines=zt.lines=function(bt,Dt,rn,On,ft,ne){var Ae,Te,je,st,xt,gr,Ir,Zr,En,Hn,ai,Ci;if(typeof bt=="number"&&(Ci=rn,rn=Dt,Dt=bt,bt=Ci),On=On||[1,1],ne=ne||!1,isNaN(Dt)||isNaN(rn)||!Array.isArray(bt)||!Array.isArray(On)||!Xa(ft)||typeof ne!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ds(Dt,rn),Ae=On[0],Te=On[1],st=bt.length,Hn=Dt,ai=rn,je=0;je<st;je++)(xt=bt[je]).length===2?(Hn=xt[0]*Ae+Hn,ai=xt[1]*Te+ai,fo(Hn,ai)):(gr=xt[0]*Ae+Hn,Ir=xt[1]*Te+ai,Zr=xt[2]*Ae+Hn,En=xt[3]*Te+ai,Hn=xt[4]*Ae+Hn,ai=xt[5]*Te+ai,Oo(gr,Ir,Zr,En,Hn,ai));return ne&&_o(),Go(ft),this},zt.path=function(bt){for(var Dt=0;Dt<bt.length;Dt++){var rn=bt[Dt],On=rn.c;switch(rn.op){case"m":ds(On[0],On[1]);break;case"l":fo(On[0],On[1]);break;case"c":Oo.apply(this,On);break;case"h":_o()}}return this},zt.__private__.rect=zt.rect=function(bt,Dt,rn,On,ft){if(isNaN(bt)||isNaN(Dt)||isNaN(rn)||isNaN(On)||!Xa(ft))throw new Error("Invalid arguments passed to jsPDF.rect");return Cn===vr.COMPAT&&(On=-On),cn([ti(Vr(bt)),ti(tn(Dt)),ti(Vr(rn)),ti(Vr(On)),"re"].join(" ")),Go(ft),this},zt.__private__.triangle=zt.triangle=function(bt,Dt,rn,On,ft,ne,Ae){if(isNaN(bt)||isNaN(Dt)||isNaN(rn)||isNaN(On)||isNaN(ft)||isNaN(ne)||!Xa(Ae))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[rn-bt,On-Dt],[ft-rn,ne-On],[bt-ft,Dt-ne]],bt,Dt,[1,1],Ae,!0),this},zt.__private__.roundedRect=zt.roundedRect=function(bt,Dt,rn,On,ft,ne,Ae){if(isNaN(bt)||isNaN(Dt)||isNaN(rn)||isNaN(On)||isNaN(ft)||isNaN(ne)||!Xa(Ae))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Te=4/3*(Math.SQRT2-1);return ft=Math.min(ft,.5*rn),ne=Math.min(ne,.5*On),this.lines([[rn-2*ft,0],[ft*Te,0,ft,ne-ne*Te,ft,ne],[0,On-2*ne],[0,ne*Te,-ft*Te,ne,-ft,ne],[2*ft-rn,0],[-ft*Te,0,-ft,-ne*Te,-ft,-ne],[0,2*ne-On],[0,-ne*Te,ft*Te,-ne,ft,-ne]],bt+ft,Dt,[1,1],Ae,!0),this},zt.__private__.ellipse=zt.ellipse=function(bt,Dt,rn,On,ft){if(isNaN(bt)||isNaN(Dt)||isNaN(rn)||isNaN(On)||!Xa(ft))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ne=4/3*(Math.SQRT2-1)*rn,Ae=4/3*(Math.SQRT2-1)*On;return ds(bt+rn,Dt),Oo(bt+rn,Dt-Ae,bt+ne,Dt-On,bt,Dt-On),Oo(bt-ne,Dt-On,bt-rn,Dt-Ae,bt-rn,Dt),Oo(bt-rn,Dt+Ae,bt-ne,Dt+On,bt,Dt+On),Oo(bt+ne,Dt+On,bt+rn,Dt+Ae,bt+rn,Dt),Go(ft),this},zt.__private__.circle=zt.circle=function(bt,Dt,rn,On){if(isNaN(bt)||isNaN(Dt)||isNaN(rn)||!Xa(On))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(bt,Dt,rn,rn,On)},zt.setFont=function(bt,Dt,rn){return rn&&(Dt=ii(Dt,rn)),Pr=Ya(bt,Dt,{disableWarning:!1}),this};var Wa=zt.__private__.getFont=zt.getFont=function(){return Pn[Ya.apply(zt,arguments)]};zt.__private__.getFontList=zt.getFontList=function(){var bt,Dt,rn={};for(bt in Un)if(Un.hasOwnProperty(bt))for(Dt in rn[bt]=[],Un[bt])Un[bt].hasOwnProperty(Dt)&&rn[bt].push(Dt);return rn},zt.addFont=function(bt,Dt,rn,On,ft){var ne=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ne.indexOf(arguments[3])!==-1?ft=arguments[3]:arguments[3]&&ne.indexOf(arguments[3])==-1&&(rn=ii(rn,On)),ft=ft||"Identity-H",Oi.call(this,bt,Dt,rn,ft)};var Xo,Zs=Xe.lineWidth||.200025,Ps=zt.__private__.getLineWidth=zt.getLineWidth=function(){return Zs},_s=zt.__private__.setLineWidth=zt.setLineWidth=function(bt){return Zs=bt,cn(ti(Vr(bt))+" w"),this};zt.__private__.setLineDash=j.API.setLineDash=j.API.setLineDashPattern=function(bt,Dt){if(bt=bt||[],Dt=Dt||0,isNaN(Dt)||!Array.isArray(bt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return bt=bt.map(function(rn){return ti(Vr(rn))}).join(" "),Dt=ti(Vr(Dt)),cn("["+bt+"] "+Dt+" d"),this};var Es=zt.__private__.getLineHeight=zt.getLineHeight=function(){return da*Xo};zt.__private__.getLineHeight=zt.getLineHeight=function(){return da*Xo};var Ts=zt.__private__.setLineHeightFactor=zt.setLineHeightFactor=function(bt){return typeof(bt=bt||1.15)=="number"&&(Xo=bt),this},ws=zt.__private__.getLineHeightFactor=zt.getLineHeightFactor=function(){return Xo};Ts(Xe.lineHeight);var Do=zt.__private__.getHorizontalCoordinate=function(bt){return Vr(bt)},po=zt.__private__.getVerticalCoordinate=function(bt){return Cn===vr.ADVANCED?bt:oi[Mr].mediaBox.topRightY-oi[Mr].mediaBox.bottomLeftY-Vr(bt)},rs=zt.__private__.getHorizontalCoordinateString=zt.getHorizontalCoordinateString=function(bt){return ti(Do(bt))},Yo=zt.__private__.getVerticalCoordinateString=zt.getVerticalCoordinateString=function(bt){return ti(po(bt))},Fo=Xe.strokeColor||"0 G";zt.__private__.getStrokeColor=zt.getDrawColor=function(){return xr(Fo)},zt.__private__.setStrokeColor=zt.setDrawColor=function(bt,Dt,rn,On){return Fo=$t({ch1:bt,ch2:Dt,ch3:rn,ch4:On,pdfColorType:"draw",precision:2}),cn(Fo),this};var zr=Xe.fillColor||"0 g";zt.__private__.getFillColor=zt.getFillColor=function(){return xr(zr)},zt.__private__.setFillColor=zt.setFillColor=function(bt,Dt,rn,On){return zr=$t({ch1:bt,ch2:Dt,ch3:rn,ch4:On,pdfColorType:"fill",precision:2}),cn(zr),this};var Jo=Xe.textColor||"0 g",$s=zt.__private__.getTextColor=zt.getTextColor=function(){return xr(Jo)};zt.__private__.setTextColor=zt.setTextColor=function(bt,Dt,rn,On){return Jo=$t({ch1:bt,ch2:Dt,ch3:rn,ch4:On,pdfColorType:"text",precision:3}),this};var Is=Xe.charSpace,ks=zt.__private__.getCharSpace=zt.getCharSpace=function(){return parseFloat(Is||0)};zt.__private__.setCharSpace=zt.setCharSpace=function(bt){if(isNaN(bt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Is=bt,this};var lo=0;zt.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},zt.__private__.setLineCap=zt.setLineCap=function(bt){var Dt=zt.CapJoinStyles[bt];if(Dt===void 0)throw new Error("Line cap style of '"+bt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return lo=Dt,cn(Dt+" J"),this};var Ao=0;zt.__private__.setLineJoin=zt.setLineJoin=function(bt){var Dt=zt.CapJoinStyles[bt];if(Dt===void 0)throw new Error("Line join style of '"+bt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ao=Dt,cn(Dt+" j"),this},zt.__private__.setLineMiterLimit=zt.__private__.setMiterLimit=zt.setLineMiterLimit=zt.setMiterLimit=function(bt){if(bt=bt||0,isNaN(bt))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return cn(ti(Vr(bt))+" M"),this},zt.GState=B,zt.setGState=function(bt){(bt=typeof bt=="string"?Wn[Gn[bt]]:Uo(null,bt)).equals(ri)||(cn("/"+bt.id+" gs"),ri=bt)};var Uo=function(Dt,rn){if(!Dt||!Gn[Dt]){var On=!1;for(var ft in Wn)if(Wn.hasOwnProperty(ft)&&Wn[ft].equals(rn)){On=!0;break}if(On)rn=Wn[ft];else{var ne="GS"+(Object.keys(Wn).length+1).toString(10);Wn[ne]=rn,rn.id=ne}return Dt&&(Gn[Dt]=rn.id),Pi.publish("addGState",rn),rn}};zt.addGState=function(bt,Dt){return Uo(bt,Dt),this},zt.saveGraphicsState=function(){return cn("q"),bn.push({key:Pr,size:da,color:Jo}),this},zt.restoreGraphicsState=function(){cn("Q");var bt=bn.pop();return Pr=bt.key,da=bt.size,Jo=bt.color,ri=null,this},zt.setCurrentTransformationMatrix=function(bt){return cn(bt.toString()+" cm"),this},zt.comment=function(bt){return cn("#"+bt),this};var hs=function(Dt,rn){var On=Dt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return On},set:function(Te){isNaN(Te)||(On=parseFloat(Te))}});var ft=rn||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ft},set:function(Te){isNaN(Te)||(ft=parseFloat(Te))}});var ne="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return ne},set:function(Te){ne=Te.toString()}}),this},vs=function(Dt,rn,On,ft){hs.call(this,Dt,rn),this.type="rect";var ne=On||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return ne},set:function(je){isNaN(je)||(ne=parseFloat(je))}});var Ae=ft||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Ae},set:function(je){isNaN(je)||(Ae=parseFloat(je))}}),this},ss=function(){this.page=Si,this.currentPage=Mr,this.pages=Vi.slice(0),this.pagesContext=oi.slice(0),this.x=on,this.y=xn,this.matrix=An,this.width=Xs(Mr),this.height=Ks(Mr),this.outputDestination=ca,this.id="",this.objectNumber=-1};ss.prototype.restore=function(){Si=this.page,Mr=this.currentPage,oi=this.pagesContext,Vi=this.pages,on=this.x,xn=this.y,An=this.matrix,Os(Mr,this.width),Bs(Mr,this.height),ca=this.outputDestination};var Cs=function(Dt,rn,On,ft,ne){ki.push(new ss),Si=Mr=0,Vi=[],on=Dt,xn=rn,An=ne,ra([On,ft])},ol=function(Dt){if(pi[Dt])ki.pop().restore();else{var rn=new ss,On="Xo"+(Object.keys(_i).length+1).toString(10);rn.id=On,pi[Dt]=On,_i[On]=rn,Pi.publish("addFormObject",rn),ki.pop().restore()}};for(var Ls in zt.beginFormObject=function(bt,Dt,rn,On,ft){return Cs(bt,Dt,rn,On,ft),this},zt.endFormObject=function(bt){return ol(bt),this},zt.doFormObject=function(bt,Dt){var rn=_i[pi[bt]];return cn("q"),cn(Dt.toString()+" cm"),cn("/"+rn.id+" Do"),cn("Q"),this},zt.getFormObject=function(bt){var Dt=_i[pi[bt]];return{x:Dt.x,y:Dt.y,width:Dt.width,height:Dt.height,matrix:Dt.matrix}},zt.save=function(bt,Dt){return bt=bt||"generated.pdf",(Dt=Dt||{}).returnPromise=Dt.returnPromise||!1,Dt.returnPromise===!1?(t(vo(so()),bt),typeof t.unload=="function"&&b.setTimeout&&setTimeout(t.unload,911),this):new Promise(function(rn,On){try{var ft=t(vo(so()),bt);typeof t.unload=="function"&&b.setTimeout&&setTimeout(t.unload,911),rn(ft)}catch(ne){On(ne.message)}})},j.API)j.API.hasOwnProperty(Ls)&&(Ls==="events"&&j.API.events.length?function(bt,Dt){var rn,On,ft;for(ft=Dt.length-1;ft!==-1;ft--)rn=Dt[ft][0],On=Dt[ft][1],bt.subscribe.apply(bt,[rn].concat(typeof On=="function"?[On]:On))}(Pi,j.API.events):zt[Ls]=j.API[Ls]);var Xs=zt.getPageWidth=function(bt){return(oi[bt=bt||Mr].mediaBox.topRightX-oi[bt].mediaBox.bottomLeftX)/Kr},Os=zt.setPageWidth=function(bt,Dt){oi[bt].mediaBox.topRightX=Dt*Kr+oi[bt].mediaBox.bottomLeftX},Ks=zt.getPageHeight=function(bt){return(oi[bt=bt||Mr].mediaBox.topRightY-oi[bt].mediaBox.bottomLeftY)/Kr},Bs=zt.setPageHeight=function(bt,Dt){oi[bt].mediaBox.topRightY=Dt*Kr+oi[bt].mediaBox.bottomLeftY};return zt.internal={pdfEscape:ua,getStyle:No,getFont:Wa,getFontSize:Qr,getCharSpace:ks,getTextColor:$s,getLineHeight:Es,getLineHeightFactor:ws,getLineWidth:Ps,write:Bi,getHorizontalCoordinate:Do,getVerticalCoordinate:po,getCoordinateString:rs,getVerticalCoordinateString:Yo,collections:{},newObject:Zi,newAdditionalObject:nn,newObjectDeferred:br,newObjectDeferredBegin:Wr,getFilters:jr,putStream:Hr,events:Pi,scaleFactor:Kr,pageSize:{getWidth:function(){return Xs(Mr)},setWidth:function(Dt){Os(Mr,Dt)},getHeight:function(){return Ks(Mr)},setHeight:function(Dt){Bs(Mr,Dt)}},encryptionOptions:wr,encryption:Ca,getEncryptor:Ha,output:to,getNumberOfPages:qa,pages:Vi,out:cn,f2:Di,f3:gn,getPageInfo:Na,getPageInfoByObjId:oo,getCurrentPageInfo:Ga,getPDFVersion:ir,Point:hs,Rectangle:vs,Matrix:zn,hasHotfix:ro},Object.defineProperty(zt.internal.pageSize,"width",{get:function(){return Xs(Mr)},set:function(Dt){Os(Mr,Dt)},enumerable:!0,configurable:!0}),Object.defineProperty(zt.internal.pageSize,"height",{get:function(){return Ks(Mr)},set:function(Dt){Bs(Mr,Dt)},enumerable:!0,configurable:!0}),pa.call(zt,zi),Pr="F1",Ra(Ge,Be),Pi.publish("initialized"),zt}N.prototype.lsbFirstWord=function(Xe){return String.fromCharCode(Xe>>0&255,Xe>>8&255,Xe>>16&255,Xe>>24&255)},N.prototype.toHexString=function(Xe){return Xe.split("").map(function(Ie){return("0"+(255&Ie.charCodeAt(0)).toString(16)).slice(-2)}).join("")},N.prototype.hexToBytes=function(Xe){for(var Ie=[],Be=0;Be<Xe.length;Be+=2)Ie.push(String.fromCharCode(parseInt(Xe.substr(Be,2),16)));return Ie.join("")},N.prototype.processOwnerPassword=function(Xe,Ie){return L(w(Ie).substr(0,5),Xe)},N.prototype.encryptor=function(Xe,Ie){var Be=w(this.encryptionKey+String.fromCharCode(255&Xe,Xe>>8&255,Xe>>16&255,255&Ie,Ie>>8&255)).substr(0,10);return function(Fe){return L(Be,Fe)}},B.prototype.equals=function(Xe){var Ie,Be="id,objectNumber,equals";if(!Xe||C()(Xe)!==C()(this))return!1;var Fe=0;for(Ie in this)if(!(Be.indexOf(Ie)>=0)){if(this.hasOwnProperty(Ie)&&!Xe.hasOwnProperty(Ie))return!1;if(this[Ie]!==Xe[Ie])return!1;Fe++}for(Ie in Xe)Xe.hasOwnProperty(Ie)&&Be.indexOf(Ie)<0&&Fe--;return Fe===0},j.API={events:[]},j.version="2.5.1";var W=j.API,V=1,z=function(Ie){return Ie.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Y=function(Ie){return Ie.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},J=function(Ie){return Ie.toFixed(2)},ie=function(Ie){return Ie.toFixed(5)};W.__acroform__={};var Z=function(Ie,Be){Ie.prototype=Object.create(Be.prototype),Ie.prototype.constructor=Ie},oe=function(Ie){return Ie*V},ge=function(Ie){var Be=new xe,Fe=ae.internal.getHeight(Ie)||0,Ge=ae.internal.getWidth(Ie)||0;return Be.BBox=[0,0,Number(J(Ge)),Number(J(Fe))],Be},pe=W.__acroform__.setBit=function(Xe,Ie){if(Xe=Xe||0,Ie=Ie||0,isNaN(Xe)||isNaN(Ie))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Xe|=1<<Ie},De=W.__acroform__.clearBit=function(Xe,Ie){if(Xe=Xe||0,Ie=Ie||0,isNaN(Xe)||isNaN(Ie))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Xe&=~(1<<Ie)},ce=W.__acroform__.getBit=function(Xe,Ie){if(isNaN(Xe)||isNaN(Ie))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Xe&1<<Ie)==0?0:1},Oe=W.__acroform__.getBitForPdf=function(Xe,Ie){if(isNaN(Xe)||isNaN(Ie))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return ce(Xe,Ie-1)},se=W.__acroform__.setBitForPdf=function(Xe,Ie){if(isNaN(Xe)||isNaN(Ie))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return pe(Xe,Ie-1)},$=W.__acroform__.clearBitForPdf=function(Xe,Ie){if(isNaN(Xe)||isNaN(Ie))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return De(Xe,Ie-1)},ze=W.__acroform__.calculateCoordinates=function(Xe,Ie){var Be=Ie.internal.getHorizontalCoordinate,Fe=Ie.internal.getVerticalCoordinate,Ge=Xe[0],Ke=Xe[1],qe=Xe[2],vt=Xe[3],lt={};return lt.lowerLeft_X=Be(Ge)||0,lt.lowerLeft_Y=Fe(Ke+vt)||0,lt.upperRight_X=Be(Ge+qe)||0,lt.upperRight_Y=Fe(Ke)||0,[Number(J(lt.lowerLeft_X)),Number(J(lt.lowerLeft_Y)),Number(J(lt.upperRight_X)),Number(J(lt.upperRight_Y))]},re=function(Ie){if(Ie.appearanceStreamContent)return Ie.appearanceStreamContent;if(Ie.V||Ie.DV){var Be=[],Fe=Ie._V||Ie.DV,Ge=X(Ie,Fe),Ke=Ie.scope.internal.getFont(Ie.fontName,Ie.fontStyle).id;Be.push("/Tx BMC"),Be.push("q"),Be.push("BT"),Be.push(Ie.scope.__private__.encodeColorString(Ie.color)),Be.push("/"+Ke+" "+J(Ge.fontSize)+" Tf"),Be.push("1 0 0 1 0 0 Tm"),Be.push(Ge.text),Be.push("ET"),Be.push("Q"),Be.push("EMC");var qe=ge(Ie);return qe.scope=Ie.scope,qe.stream=Be.join(`
`),qe}},X=function(Ie,Be){var Fe=Ie.fontSize===0?Ie.maxFontSize:Ie.fontSize,Ge={text:"",fontSize:""},Ke=(Be=(Be=Be.substr(0,1)=="("?Be.substr(1):Be).substr(Be.length-1)==")"?Be.substr(0,Be.length-1):Be).split(" ");Ke=Ie.multiline?Ke.map(function(Vr){return Vr.split(`
`)}):Ke.map(function(Vr){return[Vr]});var qe=Fe,vt=ae.internal.getHeight(Ie)||0;vt=vt<0?-vt:vt;var lt=ae.internal.getWidth(Ie)||0;lt=lt<0?-lt:lt;var Ft=function(Sn,tn,ci){if(Sn+1<Ke.length){var qn=tn+" "+Ke[Sn+1][0];return G(qn,Ie,ci).width<=lt-4}return!1};qe++;e:for(;qe>0;){Be="",qe--;var wr,pr,Dr=G("3",Ie,qe).height,zt=Ie.multiline?vt-qe:(vt-Dr)/2,hn=zt+=2,ir=0,Xr=0,Br=0;if(qe<=0){Be=`(...) Tj
`,Be+="% Width of Text: "+G(Be,Ie,qe=12).width+", FieldWidth:"+lt+`
`;break}for(var vr="",Cn=0,kn=0;kn<Ke.length;kn++)if(Ke.hasOwnProperty(kn)){var ei=!1;if(Ke[kn].length!==1&&Br!==Ke[kn].length-1){if((Dr+2)*(Cn+2)+2>vt)continue e;vr+=Ke[kn][Br],ei=!0,Xr=kn,kn--}else{vr=(vr+=Ke[kn][Br]+" ").substr(vr.length-1)==" "?vr.substr(0,vr.length-1):vr;var ii=parseInt(kn),ti=Ft(ii,vr,qe),Ti=kn>=Ke.length-1;if(ti&&!Ti){vr+=" ",Br=0;continue}if(ti||Ti){if(Ti)Xr=ii;else if(Ie.multiline&&(Dr+2)*(Cn+2)+2>vt)continue e}else{if(!Ie.multiline)continue e;if((Dr+2)*(Cn+2)+2>vt)continue e;Xr=ii}}for(var Bn="",Di=ir;Di<=Xr;Di++){var gn=Ke[Di];if(Ie.multiline){if(Di===Xr){Bn+=gn[Br]+" ",Br=(Br+1)%gn.length;continue}if(Di===ir){Bn+=gn[gn.length-1]+" ";continue}}Bn+=gn[0]+" "}switch(Bn=Bn.substr(Bn.length-1)==" "?Bn.substr(0,Bn.length-1):Bn,pr=G(Bn,Ie,qe).width,Ie.textAlign){case"right":wr=lt-pr-2;break;case"center":wr=(lt-pr)/2;break;case"left":default:wr=2}Be+=J(wr)+" "+J(hn)+` Td
`,Be+="("+z(Bn)+`) Tj
`,Be+=-J(wr)+` 0 Td
`,hn=-(qe+2),pr=0,ir=ei?Xr:Xr+1,Cn++,vr=""}break}return Ge.text=Be,Ge.fontSize=qe,Ge},G=function(Ie,Be,Fe){var Ge=Be.scope.internal.getFont(Be.fontName,Be.fontStyle),Ke=Be.scope.getStringUnitWidth(Ie,{font:Ge,fontSize:parseFloat(Fe),charSpace:0})*parseFloat(Fe);return{height:Be.scope.getStringUnitWidth("3",{font:Ge,fontSize:parseFloat(Fe),charSpace:0})*parseFloat(Fe)*1.5,width:Ke}},Q={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},ve=function(Ie,Be){var Fe={type:"reference",object:Ie};Be.internal.getPageInfo(Ie.page).pageContext.annotations.find(function(Ge){return Ge.type===Fe.type&&Ge.object===Fe.object})===void 0&&Be.internal.getPageInfo(Ie.page).pageContext.annotations.push(Fe)},de=function(Ie,Be){for(var Fe in Ie)if(Ie.hasOwnProperty(Fe)){var Ge=Fe,Ke=Ie[Fe];Be.internal.newObjectDeferredBegin(Ke.objId,!0),C()(Ke)==="object"&&typeof Ke.putStream=="function"&&Ke.putStream(),delete Ie[Ge]}},Ce=function(Ie,Be){if(Be.scope=Ie,Ie.internal!==void 0&&(Ie.internal.acroformPlugin===void 0||Ie.internal.acroformPlugin.isInitialized===!1)){if(nt.FieldNum=0,Ie.internal.acroformPlugin=JSON.parse(JSON.stringify(Q)),Ie.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");V=Ie.internal.scaleFactor,Ie.internal.acroformPlugin.acroFormDictionaryRoot=new We,Ie.internal.acroformPlugin.acroFormDictionaryRoot.scope=Ie,Ie.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Ie.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}(Ie)}),Ie.internal.events.subscribe("buildDocument",function(){!function(Fe){Fe.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var Ge=Fe.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Ke in Ge)if(Ge.hasOwnProperty(Ke)){var qe=Ge[Ke];qe.objId=void 0,qe.hasAnnotation&&ve(qe,Fe)}}(Ie)}),Ie.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")}(Ie)}),Ie.internal.events.subscribe("postPutPages",function(Fe){!function(Ge,Ke){var qe=!Ge;for(var vt in Ge||(Ke.internal.newObjectDeferredBegin(Ke.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Ke.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Ge=Ge||Ke.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Ge.hasOwnProperty(vt)){var lt=Ge[vt],Ft=[],wr=lt.Rect;if(lt.Rect&&(lt.Rect=ze(lt.Rect,Ke)),Ke.internal.newObjectDeferredBegin(lt.objId,!0),lt.DA=ae.createDefaultAppearanceStream(lt),C()(lt)==="object"&&typeof lt.getKeyValueListForStream=="function"&&(Ft=lt.getKeyValueListForStream()),lt.Rect=wr,lt.hasAppearanceStream&&!lt.appearanceStreamContent){var pr=re(lt);Ft.push({key:"AP",value:"<</N "+pr+">>"}),Ke.internal.acroformPlugin.xForms.push(pr)}if(lt.appearanceStreamContent){var Dr="";for(var zt in lt.appearanceStreamContent)if(lt.appearanceStreamContent.hasOwnProperty(zt)){var hn=lt.appearanceStreamContent[zt];if(Dr+="/"+zt+" ",Dr+="<<",Object.keys(hn).length>=1||Array.isArray(hn)){for(var vt in hn)if(hn.hasOwnProperty(vt)){var ir=hn[vt];typeof ir=="function"&&(ir=ir.call(Ke,lt)),Dr+="/"+vt+" "+ir+" ",Ke.internal.acroformPlugin.xForms.indexOf(ir)>=0||Ke.internal.acroformPlugin.xForms.push(ir)}}else typeof(ir=hn)=="function"&&(ir=ir.call(Ke,lt)),Dr+="/"+vt+" "+ir,Ke.internal.acroformPlugin.xForms.indexOf(ir)>=0||Ke.internal.acroformPlugin.xForms.push(ir);Dr+=">>"}Ft.push({key:"AP",value:`<<
`+Dr+">>"})}Ke.internal.putStream({additionalKeyValues:Ft,objectId:lt.objId}),Ke.internal.out("endobj")}qe&&de(Ke.internal.acroformPlugin.xForms,Ke)}(Fe,Ie)}),Ie.internal.acroformPlugin.isInitialized=!0}},we=W.__acroform__.arrayToPdfArray=function(Xe,Ie,Be){var Fe=function(vt){return vt};if(Array.isArray(Xe)){for(var Ge="[",Ke=0;Ke<Xe.length;Ke++)switch(Ke!==0&&(Ge+=" "),C()(Xe[Ke])){case"boolean":case"number":case"object":Ge+=Xe[Ke].toString();break;case"string":Xe[Ke].substr(0,1)!=="/"?(Ie!==void 0&&Be&&(Fe=Be.internal.getEncryptor(Ie)),Ge+="("+z(Fe(Xe[Ke].toString()))+")"):Ge+=Xe[Ke].toString()}return Ge+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},le=function(Ie,Be,Fe){var Ge=function(qe){return qe};return Be!==void 0&&Fe&&(Ge=Fe.internal.getEncryptor(Be)),(Ie=Ie||"").toString(),Ie="("+z(Ge(Ie))+")"},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(Be){this._objId=Be}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};fe.prototype.toString=function(){return this.objId+" 0 R"},fe.prototype.putStream=function(){var Xe=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:Xe,objectId:this.objId}),this.scope.internal.out("endobj")},fe.prototype.getKeyValueListForStream=function(){var Xe=[],Ie=Object.getOwnPropertyNames(this).filter(function(Ke){return Ke!="content"&&Ke!="appearanceStreamContent"&&Ke!="scope"&&Ke!="objId"&&Ke.substring(0,1)!="_"});for(var Be in Ie)if(Object.getOwnPropertyDescriptor(this,Ie[Be]).configurable===!1){var Fe=Ie[Be],Ge=this[Fe];Ge&&(Array.isArray(Ge)?Xe.push({key:Fe,value:we(Ge,this.objId,this.scope)}):Ge instanceof fe?(Ge.scope=this.scope,Xe.push({key:Fe,value:Ge.objId+" 0 R"})):typeof Ge!="function"&&Xe.push({key:Fe,value:Ge}))}return Xe};var xe=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 Ie,Be=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Be},set:function(Ge){Be=Ge}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Ge){Ie=Ge.trim()},get:function(){return Ie||null}})};Z(xe,fe);var We=function(){fe.call(this);var Ie,Be=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Be.length>0?Be:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Be}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Ie){var Ge=function(qe){return qe};return this.scope&&(Ge=this.scope.internal.getEncryptor(this.objId)),"("+z(Ge(Ie))+")"}},set:function(Ge){Ie=Ge}})};Z(We,fe);var nt=function Xe(){fe.call(this);var Ie=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Ie},set:function(vr){if(isNaN(vr))throw new Error('Invalid value "'+vr+'" for attribute F supplied.');Ie=vr}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(Ie,3))},set:function(vr){Boolean(vr)===!0?this.F=se(Ie,3):this.F=$(Ie,3)}});var Be=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Be},set:function(vr){if(isNaN(vr))throw new Error('Invalid value "'+vr+'" for attribute Ff supplied.');Be=vr}});var Fe=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Fe.length!==0)return Fe},set:function(vr){Fe=vr!==void 0?vr:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Fe||isNaN(Fe[0])?0:Fe[0]},set:function(vr){Fe[0]=vr}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Fe||isNaN(Fe[1])?0:Fe[1]},set:function(vr){Fe[1]=vr}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Fe||isNaN(Fe[2])?0:Fe[2]},set:function(vr){Fe[2]=vr}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Fe||isNaN(Fe[3])?0:Fe[3]},set:function(vr){Fe[3]=vr}});var Ge="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Ge},set:function(vr){switch(vr){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Ge=vr;break;default:throw new Error('Invalid value "'+vr+'" for attribute FT supplied.')}}});var Ke=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Ke||Ke.length<1){if(this instanceof _t)return;Ke="FieldObject"+Xe.FieldNum++}var vr=function(kn){return kn};return this.scope&&(vr=this.scope.internal.getEncryptor(this.objId)),"("+z(vr(Ke))+")"},set:function(vr){Ke=vr.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Ke},set:function(vr){Ke=vr}});var qe="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return qe},set:function(vr){qe=vr}});var vt="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return vt},set:function(vr){vt=vr}});var lt=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return lt},set:function(vr){lt=vr}});var Ft=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ft===void 0?50/V:Ft},set:function(vr){Ft=vr}});var wr="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return wr},set:function(vr){wr=vr}});var pr="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!pr||this instanceof _t||this instanceof Ze))return le(pr,this.objId,this.scope)},set:function(vr){vr=vr.toString(),pr=vr}});var Dr=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Dr)return this instanceof gt==!1?le(Dr,this.objId,this.scope):Dr},set:function(vr){vr=vr.toString(),Dr=this instanceof gt==!1?vr.substr(0,1)==="("?Y(vr.substr(1,vr.length-2)):Y(vr):vr}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof gt==!0?Y(Dr.substr(1,Dr.length-1)):Dr},set:function(vr){vr=vr.toString(),Dr=this instanceof gt==!0?"/"+vr:vr}});var zt=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(zt)return zt},set:function(vr){this.V=vr}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(zt)return this instanceof gt==!1?le(zt,this.objId,this.scope):zt},set:function(vr){vr=vr.toString(),zt=this instanceof gt==!1?vr.substr(0,1)==="("?Y(vr.substr(1,vr.length-2)):Y(vr):vr}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof gt==!0?Y(zt.substr(1,zt.length-1)):zt},set:function(vr){vr=vr.toString(),zt=this instanceof gt==!0?"/"+vr:vr}}),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 hn,ir=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return ir},set:function(vr){vr=Boolean(vr),ir=vr}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(hn)return hn},set:function(vr){hn=vr}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,1))},set:function(vr){Boolean(vr)===!0?this.Ff=se(this.Ff,1):this.Ff=$(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,2))},set:function(vr){Boolean(vr)===!0?this.Ff=se(this.Ff,2):this.Ff=$(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,3))},set:function(vr){Boolean(vr)===!0?this.Ff=se(this.Ff,3):this.Ff=$(this.Ff,3)}});var Xr=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Xr!==null)return Xr},set:function(vr){if([0,1,2].indexOf(vr)===-1)throw new Error('Invalid value "'+vr+'" for attribute Q supplied.');Xr=vr}}),Object.defineProperty(this,"textAlign",{get:function(){var vr;switch(Xr){case 0:default:vr="left";break;case 1:vr="center";break;case 2:vr="right"}return vr},configurable:!0,enumerable:!0,set:function(vr){switch(vr){case"right":case 2:Xr=2;break;case"center":case 1:Xr=1;break;case"left":case 0:default:Xr=0}}})};Z(nt,fe);var $e=function(){nt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var Ie=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return Ie},set:function(Ge){Ie=Ge}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return Ie},set:function(Ge){Ie=Ge}});var Be=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return we(Be,this.objId,this.scope)},set:function(Ge){var Ke,qe;qe=[],typeof(Ke=Ge)=="string"&&(qe=function(vt,lt,Ft){Ft||(Ft=1);for(var wr,pr=[];wr=lt.exec(vt);)pr.push(wr[Ft]);return pr}(Ke,/\((.*?)\)/g)),Be=qe}}),this.getOptions=function(){return Be},this.setOptions=function(Fe){Be=Fe,this.sort&&Be.sort()},this.addOption=function(Fe){Fe=(Fe=Fe||"").toString(),Be.push(Fe),this.sort&&Be.sort()},this.removeOption=function(Fe,Ge){for(Ge=Ge||!1,Fe=(Fe=Fe||"").toString();Be.indexOf(Fe)!==-1&&(Be.splice(Be.indexOf(Fe),1),Ge!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,18))},set:function(Ge){Boolean(Ge)===!0?this.Ff=se(this.Ff,18):this.Ff=$(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,19))},set:function(Ge){this.combo===!0&&(Boolean(Ge)===!0?this.Ff=se(this.Ff,19):this.Ff=$(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,20))},set:function(Ge){Boolean(Ge)===!0?(this.Ff=se(this.Ff,20),Be.sort()):this.Ff=$(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,22))},set:function(Ge){Boolean(Ge)===!0?this.Ff=se(this.Ff,22):this.Ff=$(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,23))},set:function(Ge){Boolean(Ge)===!0?this.Ff=se(this.Ff,23):this.Ff=$(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,27))},set:function(Ge){Boolean(Ge)===!0?this.Ff=se(this.Ff,27):this.Ff=$(this.Ff,27)}}),this.hasAppearanceStream=!1};Z($e,nt);var Le=function(){$e.call(this),this.fontName="helvetica",this.combo=!1};Z(Le,$e);var pt=function(){Le.call(this),this.combo=!0};Z(pt,Le);var Qe=function(){pt.call(this),this.edit=!0};Z(Qe,pt);var gt=function(){nt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,15))},set:function(Ge){Boolean(Ge)===!0?this.Ff=se(this.Ff,15):this.Ff=$(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,16))},set:function(Ge){Boolean(Ge)===!0?this.Ff=se(this.Ff,16):this.Ff=$(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,17))},set:function(Ge){Boolean(Ge)===!0?this.Ff=se(this.Ff,17):this.Ff=$(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,26))},set:function(Ge){Boolean(Ge)===!0?this.Ff=se(this.Ff,26):this.Ff=$(this.Ff,26)}});var Ie,Be={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Ge=function(lt){return lt};if(this.scope&&(Ge=this.scope.internal.getEncryptor(this.objId)),Object.keys(Be).length!==0){var Ke,qe=[];for(Ke in qe.push("<<"),Be)qe.push("/"+Ke+" ("+z(Ge(Be[Ke]))+")");return qe.push(">>"),qe.join(`
`)}},set:function(Ge){C()(Ge)==="object"&&(Be=Ge)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Be.CA||""},set:function(Ge){typeof Ge=="string"&&(Be.CA=Ge)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Ie},set:function(Ge){Ie=Ge}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Ie.substr(1,Ie.length-1)},set:function(Ge){Ie="/"+Ge}})};Z(gt,nt);var wt=function(){gt.call(this),this.pushButton=!0};Z(wt,gt);var Et=function(){gt.call(this),this.radio=!0,this.pushButton=!1;var Ie=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Ie},set:function(Fe){Ie=Fe!==void 0?Fe:[]}})};Z(Et,gt);var _t=function(){var Ie,Be;nt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Ie},set:function(qe){Ie=qe}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Be},set:function(qe){Be=qe}});var Fe,Ge={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var qe=function(wr){return wr};this.scope&&(qe=this.scope.internal.getEncryptor(this.objId));var vt,lt=[];for(vt in lt.push("<<"),Ge)lt.push("/"+vt+" ("+z(qe(Ge[vt]))+")");return lt.push(">>"),lt.join(`
`)},set:function(qe){C()(qe)==="object"&&(Ge=qe)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ge.CA||""},set:function(qe){typeof qe=="string"&&(Ge.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=ae.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Z(_t,nt),Et.prototype.setAppearance=function(Xe){if(!("createAppearanceStream"in Xe)||!("getCA"in Xe))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Ie in this.Kids)if(this.Kids.hasOwnProperty(Ie)){var Be=this.Kids[Ie];Be.appearanceStreamContent=Xe.createAppearanceStream(Be.optionName),Be.caption=Xe.getCA()}},Et.prototype.createOption=function(Xe){var Ie=new _t;return Ie.Parent=this,Ie.optionName=Xe,this.Kids.push(Ie),yt.call(this.scope,Ie),Ie};var Ht=function(){gt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ae.CheckBox.createAppearanceStream()};Z(Ht,gt);var Ze=function(){nt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,13))},set:function(Fe){Boolean(Fe)===!0?this.Ff=se(this.Ff,13):this.Ff=$(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,21))},set:function(Fe){Boolean(Fe)===!0?this.Ff=se(this.Ff,21):this.Ff=$(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,23))},set:function(Fe){Boolean(Fe)===!0?this.Ff=se(this.Ff,23):this.Ff=$(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,24))},set:function(Fe){Boolean(Fe)===!0?this.Ff=se(this.Ff,24):this.Ff=$(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,25))},set:function(Fe){Boolean(Fe)===!0?this.Ff=se(this.Ff,25):this.Ff=$(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,26))},set:function(Fe){Boolean(Fe)===!0?this.Ff=se(this.Ff,26):this.Ff=$(this.Ff,26)}});var Ie=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Ie},set:function(Fe){Ie=Fe}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Ie},set:function(Fe){Number.isInteger(Fe)&&(Ie=Fe)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Z(Ze,nt);var ye=function(){Ze.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Oe(this.Ff,14))},set:function(Be){Boolean(Be)===!0?this.Ff=se(this.Ff,14):this.Ff=$(this.Ff,14)}}),this.password=!0};Z(ye,Ze);var ae={CheckBox:{createAppearanceStream:function(){return{N:{On:ae.CheckBox.YesNormal},D:{On:ae.CheckBox.YesPushDown,Off:ae.CheckBox.OffPushDown}}},YesPushDown:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=[],Ge=Ie.scope.internal.getFont(Ie.fontName,Ie.fontStyle).id,Ke=Ie.scope.__private__.encodeColorString(Ie.color),qe=X(Ie,Ie.caption);return Fe.push("0.749023 g"),Fe.push("0 0 "+J(ae.internal.getWidth(Ie))+" "+J(ae.internal.getHeight(Ie))+" re"),Fe.push("f"),Fe.push("BMC"),Fe.push("q"),Fe.push("0 0 1 rg"),Fe.push("/"+Ge+" "+J(qe.fontSize)+" Tf "+Ke),Fe.push("BT"),Fe.push(qe.text),Fe.push("ET"),Fe.push("Q"),Fe.push("EMC"),Be.stream=Fe.join(`
`),Be},YesNormal:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=Ie.scope.internal.getFont(Ie.fontName,Ie.fontStyle).id,Ge=Ie.scope.__private__.encodeColorString(Ie.color),Ke=[],qe=ae.internal.getHeight(Ie),vt=ae.internal.getWidth(Ie),lt=X(Ie,Ie.caption);return Ke.push("1 g"),Ke.push("0 0 "+J(vt)+" "+J(qe)+" re"),Ke.push("f"),Ke.push("q"),Ke.push("0 0 1 rg"),Ke.push("0 0 "+J(vt-1)+" "+J(qe-1)+" re"),Ke.push("W"),Ke.push("n"),Ke.push("0 g"),Ke.push("BT"),Ke.push("/"+Fe+" "+J(lt.fontSize)+" Tf "+Ge),Ke.push(lt.text),Ke.push("ET"),Ke.push("Q"),Be.stream=Ke.join(`
`),Be},OffPushDown:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=[];return Fe.push("0.749023 g"),Fe.push("0 0 "+J(ae.internal.getWidth(Ie))+" "+J(ae.internal.getHeight(Ie))+" re"),Fe.push("f"),Be.stream=Fe.join(`
`),Be}},RadioButton:{Circle:{createAppearanceStream:function(Ie){var Be={D:{Off:ae.RadioButton.Circle.OffPushDown},N:{}};return Be.N[Ie]=ae.RadioButton.Circle.YesNormal,Be.D[Ie]=ae.RadioButton.Circle.YesPushDown,Be},getCA:function(){return"l"},YesNormal:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=[],Ge=ae.internal.getWidth(Ie)<=ae.internal.getHeight(Ie)?ae.internal.getWidth(Ie)/4:ae.internal.getHeight(Ie)/4;Ge=Number((.9*Ge).toFixed(5));var Ke=ae.internal.Bezier_C,qe=Number((Ge*Ke).toFixed(5));return Fe.push("q"),Fe.push("1 0 0 1 "+ie(ae.internal.getWidth(Ie)/2)+" "+ie(ae.internal.getHeight(Ie)/2)+" cm"),Fe.push(Ge+" 0 m"),Fe.push(Ge+" "+qe+" "+qe+" "+Ge+" 0 "+Ge+" c"),Fe.push("-"+qe+" "+Ge+" -"+Ge+" "+qe+" -"+Ge+" 0 c"),Fe.push("-"+Ge+" -"+qe+" -"+qe+" -"+Ge+" 0 -"+Ge+" c"),Fe.push(qe+" -"+Ge+" "+Ge+" -"+qe+" "+Ge+" 0 c"),Fe.push("f"),Fe.push("Q"),Be.stream=Fe.join(`
`),Be},YesPushDown:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=[],Ge=ae.internal.getWidth(Ie)<=ae.internal.getHeight(Ie)?ae.internal.getWidth(Ie)/4:ae.internal.getHeight(Ie)/4;Ge=Number((.9*Ge).toFixed(5));var Ke=Number((2*Ge).toFixed(5)),qe=Number((Ke*ae.internal.Bezier_C).toFixed(5)),vt=Number((Ge*ae.internal.Bezier_C).toFixed(5));return Fe.push("0.749023 g"),Fe.push("q"),Fe.push("1 0 0 1 "+ie(ae.internal.getWidth(Ie)/2)+" "+ie(ae.internal.getHeight(Ie)/2)+" cm"),Fe.push(Ke+" 0 m"),Fe.push(Ke+" "+qe+" "+qe+" "+Ke+" 0 "+Ke+" c"),Fe.push("-"+qe+" "+Ke+" -"+Ke+" "+qe+" -"+Ke+" 0 c"),Fe.push("-"+Ke+" -"+qe+" -"+qe+" -"+Ke+" 0 -"+Ke+" c"),Fe.push(qe+" -"+Ke+" "+Ke+" -"+qe+" "+Ke+" 0 c"),Fe.push("f"),Fe.push("Q"),Fe.push("0 g"),Fe.push("q"),Fe.push("1 0 0 1 "+ie(ae.internal.getWidth(Ie)/2)+" "+ie(ae.internal.getHeight(Ie)/2)+" cm"),Fe.push(Ge+" 0 m"),Fe.push(Ge+" "+vt+" "+vt+" "+Ge+" 0 "+Ge+" c"),Fe.push("-"+vt+" "+Ge+" -"+Ge+" "+vt+" -"+Ge+" 0 c"),Fe.push("-"+Ge+" -"+vt+" -"+vt+" -"+Ge+" 0 -"+Ge+" c"),Fe.push(vt+" -"+Ge+" "+Ge+" -"+vt+" "+Ge+" 0 c"),Fe.push("f"),Fe.push("Q"),Be.stream=Fe.join(`
`),Be},OffPushDown:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=[],Ge=ae.internal.getWidth(Ie)<=ae.internal.getHeight(Ie)?ae.internal.getWidth(Ie)/4:ae.internal.getHeight(Ie)/4;Ge=Number((.9*Ge).toFixed(5));var Ke=Number((2*Ge).toFixed(5)),qe=Number((Ke*ae.internal.Bezier_C).toFixed(5));return Fe.push("0.749023 g"),Fe.push("q"),Fe.push("1 0 0 1 "+ie(ae.internal.getWidth(Ie)/2)+" "+ie(ae.internal.getHeight(Ie)/2)+" cm"),Fe.push(Ke+" 0 m"),Fe.push(Ke+" "+qe+" "+qe+" "+Ke+" 0 "+Ke+" c"),Fe.push("-"+qe+" "+Ke+" -"+Ke+" "+qe+" -"+Ke+" 0 c"),Fe.push("-"+Ke+" -"+qe+" -"+qe+" -"+Ke+" 0 -"+Ke+" c"),Fe.push(qe+" -"+Ke+" "+Ke+" -"+qe+" "+Ke+" 0 c"),Fe.push("f"),Fe.push("Q"),Be.stream=Fe.join(`
`),Be}},Cross:{createAppearanceStream:function(Ie){var Be={D:{Off:ae.RadioButton.Cross.OffPushDown},N:{}};return Be.N[Ie]=ae.RadioButton.Cross.YesNormal,Be.D[Ie]=ae.RadioButton.Cross.YesPushDown,Be},getCA:function(){return"8"},YesNormal:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=[],Ge=ae.internal.calculateCross(Ie);return Fe.push("q"),Fe.push("1 1 "+J(ae.internal.getWidth(Ie)-2)+" "+J(ae.internal.getHeight(Ie)-2)+" re"),Fe.push("W"),Fe.push("n"),Fe.push(J(Ge.x1.x)+" "+J(Ge.x1.y)+" m"),Fe.push(J(Ge.x2.x)+" "+J(Ge.x2.y)+" l"),Fe.push(J(Ge.x4.x)+" "+J(Ge.x4.y)+" m"),Fe.push(J(Ge.x3.x)+" "+J(Ge.x3.y)+" l"),Fe.push("s"),Fe.push("Q"),Be.stream=Fe.join(`
`),Be},YesPushDown:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=ae.internal.calculateCross(Ie),Ge=[];return Ge.push("0.749023 g"),Ge.push("0 0 "+J(ae.internal.getWidth(Ie))+" "+J(ae.internal.getHeight(Ie))+" re"),Ge.push("f"),Ge.push("q"),Ge.push("1 1 "+J(ae.internal.getWidth(Ie)-2)+" "+J(ae.internal.getHeight(Ie)-2)+" re"),Ge.push("W"),Ge.push("n"),Ge.push(J(Fe.x1.x)+" "+J(Fe.x1.y)+" m"),Ge.push(J(Fe.x2.x)+" "+J(Fe.x2.y)+" l"),Ge.push(J(Fe.x4.x)+" "+J(Fe.x4.y)+" m"),Ge.push(J(Fe.x3.x)+" "+J(Fe.x3.y)+" l"),Ge.push("s"),Ge.push("Q"),Be.stream=Ge.join(`
`),Be},OffPushDown:function(Ie){var Be=ge(Ie);Be.scope=Ie.scope;var Fe=[];return Fe.push("0.749023 g"),Fe.push("0 0 "+J(ae.internal.getWidth(Ie))+" "+J(ae.internal.getHeight(Ie))+" re"),Fe.push("f"),Be.stream=Fe.join(`
`),Be}}},createDefaultAppearanceStream:function(Ie){var Be=Ie.scope.internal.getFont(Ie.fontName,Ie.fontStyle).id,Fe=Ie.scope.__private__.encodeColorString(Ie.color);return"/"+Be+" "+Ie.fontSize+" Tf "+Fe}};ae.internal={Bezier_C:.551915024494,calculateCross:function(Ie){var Be=ae.internal.getWidth(Ie),Fe=ae.internal.getHeight(Ie),Ge=Math.min(Be,Fe);return{x1:{x:(Be-Ge)/2,y:(Fe-Ge)/2+Ge},x2:{x:(Be-Ge)/2+Ge,y:(Fe-Ge)/2},x3:{x:(Be-Ge)/2,y:(Fe-Ge)/2},x4:{x:(Be-Ge)/2+Ge,y:(Fe-Ge)/2+Ge}}}},ae.internal.getWidth=function(Xe){var Ie=0;return C()(Xe)==="object"&&(Ie=oe(Xe.Rect[2])),Ie},ae.internal.getHeight=function(Xe){var Ie=0;return C()(Xe)==="object"&&(Ie=oe(Xe.Rect[3])),Ie};var yt=W.addField=function(Xe){if(Ce(this,Xe),!(Xe instanceof nt))throw new Error("Invalid argument passed to jsPDF.addField.");var Ie;return(Ie=Xe).scope.internal.acroformPlugin.printedOut&&(Ie.scope.internal.acroformPlugin.printedOut=!1,Ie.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Ie.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Ie),Xe.page=Xe.scope.internal.getCurrentPageInfo().pageNumber,this};W.AcroFormChoiceField=$e,W.AcroFormListBox=Le,W.AcroFormComboBox=pt,W.AcroFormEditBox=Qe,W.AcroFormButton=gt,W.AcroFormPushButton=wt,W.AcroFormRadioButton=Et,W.AcroFormCheckBox=Ht,W.AcroFormTextField=Ze,W.AcroFormPasswordField=ye,W.AcroFormAppearance=ae,W.AcroForm={ChoiceField:$e,ListBox:Le,ComboBox:pt,EditBox:Qe,Button:gt,PushButton:wt,RadioButton:Et,CheckBox:Ht,TextField:Ze,PasswordField:ye,Appearance:ae},j.AcroForm={ChoiceField:$e,ListBox:Le,ComboBox:pt,EditBox:Qe,Button:gt,PushButton:wt,RadioButton:Et,CheckBox:Ht,TextField:Ze,PasswordField:ye,Appearance:ae};var et=j.AcroForm;function me(Xe){return Xe.reduce(function(Ie,Be,Fe){return Ie[Be]=Fe,Ie},{})}!function(Xe){Xe.__addimage__={};var Ie="UNKNOWN",Be={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=Xe.__addimage__.getImageFileTypeByImageData=function(gn,Vr){var Sn,tn,ci,qn,wi,Jn=Ie;if((Vr=Vr||Ie)==="RGBA"||gn.data!==void 0&&gn.data instanceof Uint8ClampedArray&&"height"in gn&&"width"in gn)return"RGBA";if(ii(gn))for(wi in Be)for(ci=Be[wi],Sn=0;Sn<ci.length;Sn+=1){for(qn=!0,tn=0;tn<ci[Sn].length;tn+=1)if(ci[Sn][tn]!==void 0&&ci[Sn][tn]!==gn[tn]){qn=!1;break}if(qn===!0){Jn=wi;break}}else for(wi in Be)for(ci=Be[wi],Sn=0;Sn<ci.length;Sn+=1){for(qn=!0,tn=0;tn<ci[Sn].length;tn+=1)if(ci[Sn][tn]!==void 0&&ci[Sn][tn]!==gn.charCodeAt(tn)){qn=!1;break}if(qn===!0){Jn=wi;break}}return Jn===Ie&&Vr!==Ie&&(Jn=Vr),Jn},Ge=function gn(Vr){for(var Sn=this.internal.write,tn=this.internal.putStream,ci=(0,this.internal.getFilters)();ci.indexOf("FlateEncode")!==-1;)ci.splice(ci.indexOf("FlateEncode"),1);Vr.objectId=this.internal.newObject();var qn=[];if(qn.push({key:"Type",value:"/XObject"}),qn.push({key:"Subtype",value:"/Image"}),qn.push({key:"Width",value:Vr.width}),qn.push({key:"Height",value:Vr.height}),Vr.colorSpace===Xr.INDEXED?qn.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Vr.palette.length/3-1)+" "+("sMask"in Vr&&Vr.sMask!==void 0?Vr.objectId+2:Vr.objectId+1)+" 0 R]"}):(qn.push({key:"ColorSpace",value:"/"+Vr.colorSpace}),Vr.colorSpace===Xr.DEVICE_CMYK&&qn.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),qn.push({key:"BitsPerComponent",value:Vr.bitsPerComponent}),"decodeParameters"in Vr&&Vr.decodeParameters!==void 0&&qn.push({key:"DecodeParms",value:"<<"+Vr.decodeParameters+">>"}),"transparency"in Vr&&Array.isArray(Vr.transparency)){for(var wi="",Jn=0,Qi=Vr.transparency.length;Jn<Qi;Jn++)wi+=Vr.transparency[Jn]+" "+Vr.transparency[Jn]+" ";qn.push({key:"Mask",value:"["+wi+"]"})}Vr.sMask!==void 0&&qn.push({key:"SMask",value:Vr.objectId+1+" 0 R"});var xi=Vr.filter!==void 0?["/"+Vr.filter]:void 0;if(tn({data:Vr.data,additionalKeyValues:qn,alreadyAppliedFilters:xi,objectId:Vr.objectId}),Sn("endobj"),"sMask"in Vr&&Vr.sMask!==void 0){var Ei="/Predictor "+Vr.predictor+" /Colors 1 /BitsPerComponent "+Vr.bitsPerComponent+" /Columns "+Vr.width,dn={width:Vr.width,height:Vr.height,colorSpace:"DeviceGray",bitsPerComponent:Vr.bitsPerComponent,decodeParameters:Ei,data:Vr.sMask};"filter"in Vr&&(dn.filter=Vr.filter),gn.call(this,dn)}if(Vr.colorSpace===Xr.INDEXED){var Mr=this.internal.newObject();tn({data:Ti(new Uint8Array(Vr.palette)),objectId:Mr}),Sn("endobj")}},Ke=function(){var Vr=this.internal.collections.addImage_images;for(var Sn in Vr)Ge.call(this,Vr[Sn])},qe=function(){var Vr,Sn=this.internal.collections.addImage_images,tn=this.internal.write;for(var ci in Sn)tn("/I"+(Vr=Sn[ci]).index,Vr.objectId,"0","R")},vt=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",Ke),this.internal.events.subscribe("putXobjectDict",qe))},lt=function(){var Vr=this.internal.collections.addImage_images;return vt.call(this),Vr},Ft=function(){return Object.keys(this.internal.collections.addImage_images).length},wr=function(Vr){return typeof Xe["process"+Vr.toUpperCase()]=="function"},pr=function(Vr){return C()(Vr)==="object"&&Vr.nodeType===1},Dr=function(Vr,Sn){if(Vr.nodeName==="IMG"&&Vr.hasAttribute("src")){var tn=""+Vr.getAttribute("src");if(tn.indexOf("data:image/")===0)return i(unescape(tn).split("base64,").pop());var ci=Xe.loadFile(tn,!0);if(ci!==void 0)return ci}if(Vr.nodeName==="CANVAS"){if(Vr.width===0||Vr.height===0)throw new Error("Given canvas must have data. Canvas width: "+Vr.width+", height: "+Vr.height);var qn;switch(Sn){case"PNG":qn="image/png";break;case"WEBP":qn="image/webp";break;case"JPEG":case"JPG":default:qn="image/jpeg"}return i(Vr.toDataURL(qn,1).split("base64,").pop())}},zt=function(Vr){var Sn=this.internal.collections.addImage_images;if(Sn){for(var tn in Sn)if(Vr===Sn[tn].alias)return Sn[tn]}},hn=function(Vr,Sn,tn){return Vr||Sn||(Vr=-96,Sn=-96),Vr<0&&(Vr=-1*tn.width*72/Vr/this.internal.scaleFactor),Sn<0&&(Sn=-1*tn.height*72/Sn/this.internal.scaleFactor),Vr===0&&(Vr=Sn*tn.width/tn.height),Sn===0&&(Sn=Vr*tn.height/tn.width),[Vr,Sn]},ir=function(Vr,Sn,tn,ci,qn,wi){var Jn=hn.call(this,tn,ci,qn),Qi=this.internal.getCoordinateString,xi=this.internal.getVerticalCoordinateString,Ei=lt.call(this);if(tn=Jn[0],ci=Jn[1],Ei[qn.index]=qn,wi){wi*=Math.PI/180;var dn=Math.cos(wi),Mr=Math.sin(wi),wn=function(Zn){return Zn.toFixed(4)},Rn=[wn(dn),wn(Mr),wn(-1*Mr),wn(dn),0,0,"cm"]}this.internal.write("q"),wi?(this.internal.write([1,"0","0",1,Qi(Vr),xi(Sn+ci),"cm"].join(" ")),this.internal.write(Rn.join(" ")),this.internal.write([Qi(tn),"0","0",Qi(ci),"0","0","cm"].join(" "))):this.internal.write([Qi(tn),"0","0",Qi(ci),Qi(Vr),xi(Sn+ci),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+qn.index+" Do"),this.internal.write("Q")},Xr=Xe.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"};Xe.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 Br=Xe.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},vr=Xe.__addimage__.sHashCode=function(gn){var Vr,Sn,tn=0;if(typeof gn=="string")for(Sn=gn.length,Vr=0;Vr<Sn;Vr++)tn=(tn<<5)-tn+gn.charCodeAt(Vr),tn|=0;else if(ii(gn))for(Sn=gn.byteLength/2,Vr=0;Vr<Sn;Vr++)tn=(tn<<5)-tn+gn[Vr],tn|=0;return tn},Cn=Xe.__addimage__.validateStringAsBase64=function(gn){(gn=gn||"").toString().trim();var Vr=!0;return gn.length===0&&(Vr=!1),gn.length%4!=0&&(Vr=!1),/^[A-Za-z0-9+/]+$/.test(gn.substr(0,gn.length-2))===!1&&(Vr=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(gn.substr(-2))===!1&&(Vr=!1),Vr},kn=Xe.__addimage__.extractImageFromDataUrl=function(gn){var Vr=(gn=gn||"").split("base64,"),Sn=null;if(Vr.length===2){var tn=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Vr[0]);Array.isArray(tn)&&(Sn={mimeType:tn[1],charset:tn[2],data:Vr[1]})}return Sn},ei=Xe.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};Xe.__addimage__.isArrayBuffer=function(gn){return ei()&&gn instanceof ArrayBuffer};var ii=Xe.__addimage__.isArrayBufferView=function(gn){return ei()&&typeof Uint32Array!="undefined"&&(gn instanceof Int8Array||gn instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&gn instanceof Uint8ClampedArray||gn instanceof Int16Array||gn instanceof Uint16Array||gn instanceof Int32Array||gn instanceof Uint32Array||gn instanceof Float32Array||gn instanceof Float64Array)},ti=Xe.__addimage__.binaryStringToUint8Array=function(gn){for(var Vr=gn.length,Sn=new Uint8Array(Vr),tn=0;tn<Vr;tn++)Sn[tn]=gn.charCodeAt(tn);return Sn},Ti=Xe.__addimage__.arrayBufferToBinaryString=function(gn){for(var Vr="",Sn=ii(gn)?gn:new Uint8Array(gn),tn=0;tn<Sn.length;tn+=8192)Vr+=String.fromCharCode.apply(null,Sn.subarray(tn,tn+8192));return Vr};Xe.addImage=function(){var gn,Vr,Sn,tn,ci,qn,wi,Jn,Qi;if(typeof arguments[1]=="number"?(Vr=Ie,Sn=arguments[1],tn=arguments[2],ci=arguments[3],qn=arguments[4],wi=arguments[5],Jn=arguments[6],Qi=arguments[7]):(Vr=arguments[1],Sn=arguments[2],tn=arguments[3],ci=arguments[4],qn=arguments[5],wi=arguments[6],Jn=arguments[7],Qi=arguments[8]),C()(gn=arguments[0])==="object"&&!pr(gn)&&"imageData"in gn){var xi=gn;gn=xi.imageData,Vr=xi.format||Vr||Ie,Sn=xi.x||Sn||0,tn=xi.y||tn||0,ci=xi.w||xi.width||ci,qn=xi.h||xi.height||qn,wi=xi.alias||wi,Jn=xi.compression||Jn,Qi=xi.rotation||xi.angle||Qi}var Ei=this.internal.getFilters();if(Jn===void 0&&Ei.indexOf("FlateEncode")!==-1&&(Jn="SLOW"),isNaN(Sn)||isNaN(tn))throw new Error("Invalid coordinates passed to jsPDF.addImage");vt.call(this);var dn=Bn.call(this,gn,Vr,wi,Jn);return ir.call(this,Sn,tn,ci,qn,dn,Qi),this};var Bn=function(Vr,Sn,tn,ci){var qn,wi,Jn;if(typeof Vr=="string"&&Fe(Vr)===Ie){Vr=unescape(Vr);var Qi=Di(Vr,!1);(Qi!==""||(Qi=Xe.loadFile(Vr,!0))!==void 0)&&(Vr=Qi)}if(pr(Vr)&&(Vr=Dr(Vr,Sn)),Sn=Fe(Vr,Sn),!wr(Sn))throw new Error("addImage does not support files of type '"+Sn+"', please ensure that a plugin for '"+Sn+"' support is added.");if(((Jn=tn)==null||Jn.length===0)&&(tn=function(xi){return typeof xi=="string"||ii(xi)?vr(xi):ii(xi.data)?vr(xi.data):null}(Vr)),(qn=zt.call(this,tn))||(ei()&&(Vr instanceof Uint8Array||Sn==="RGBA"||(wi=Vr,Vr=ti(Vr))),qn=this["process"+Sn.toUpperCase()](Vr,Ft.call(this),tn,function(xi){return xi&&typeof xi=="string"&&(xi=xi.toUpperCase()),xi in Xe.image_compression?xi:Br.NONE}(ci),wi)),!qn)throw new Error("An unknown error occurred whilst processing the image.");return qn},Di=Xe.__addimage__.convertBase64ToBinaryString=function(gn,Vr){var Sn;Vr=typeof Vr!="boolean"||Vr;var tn,ci="";if(typeof gn=="string"){tn=(Sn=kn(gn))!==null?Sn.data:gn;try{ci=i(tn)}catch(qn){if(Vr)throw Cn(tn)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+qn.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ci};Xe.getImageProperties=function(gn){var Vr,Sn,tn="";if(pr(gn)&&(gn=Dr(gn)),typeof gn=="string"&&Fe(gn)===Ie&&((tn=Di(gn,!1))===""&&(tn=Xe.loadFile(gn)||""),gn=tn),Sn=Fe(gn),!wr(Sn))throw new Error("addImage does not support files of type '"+Sn+"', please ensure that a plugin for '"+Sn+"' support is added.");if(!ei()||gn instanceof Uint8Array||(gn=ti(gn)),!(Vr=this["process"+Sn.toUpperCase()](gn)))throw new Error("An unknown error occurred whilst processing the image");return Vr.fileType=Sn,Vr}}(j.API),function(Xe){var Ie=function(Fe){if(Fe!==void 0&&Fe!="")return!0};j.API.events.push(["addPage",function(Be){this.internal.getPageInfo(Be.pageNumber).pageContext.annotations=[]}]),Xe.events.push(["putPage",function(Be){for(var Fe,Ge,Ke,qe=this.internal.getCoordinateString,vt=this.internal.getVerticalCoordinateString,lt=this.internal.getPageInfoByObjId(Be.objId),Ft=Be.pageContext.annotations,wr=!1,pr=0;pr<Ft.length&&!wr;pr++)switch((Fe=Ft[pr]).type){case"link":(Ie(Fe.options.url)||Ie(Fe.options.pageNumber))&&(wr=!0);break;case"reference":case"text":case"freetext":wr=!0}if(wr!=0){this.internal.write("/Annots [");for(var Dr=0;Dr<Ft.length;Dr++){Fe=Ft[Dr];var zt=this.internal.pdfEscape,hn=this.internal.getEncryptor(Be.objId);switch(Fe.type){case"reference":this.internal.write(" "+Fe.object.objId+" 0 R ");break;case"text":var ir=this.internal.newAdditionalObject(),Xr=this.internal.newAdditionalObject(),Br=this.internal.getEncryptor(ir.objId),vr=Fe.title||"Note";Ke="<</Type /Annot /Subtype /Text "+(Ge="/Rect ["+qe(Fe.bounds.x)+" "+vt(Fe.bounds.y+Fe.bounds.h)+" "+qe(Fe.bounds.x+Fe.bounds.w)+" "+vt(Fe.bounds.y)+"] ")+"/Contents ("+zt(Br(Fe.contents))+")",Ke+=" /Popup "+Xr.objId+" 0 R",Ke+=" /P "+lt.objId+" 0 R",Ke+=" /T ("+zt(Br(vr))+") >>",ir.content=Ke;var Cn=ir.objId+" 0 R";Ke="<</Type /Annot /Subtype /Popup "+(Ge="/Rect ["+qe(Fe.bounds.x+30)+" "+vt(Fe.bounds.y+Fe.bounds.h)+" "+qe(Fe.bounds.x+Fe.bounds.w+30)+" "+vt(Fe.bounds.y)+"] ")+" /Parent "+Cn,Fe.open&&(Ke+=" /Open true"),Ke+=" >>",Xr.content=Ke,this.internal.write(ir.objId,"0 R",Xr.objId,"0 R");break;case"freetext":Ge="/Rect ["+qe(Fe.bounds.x)+" "+vt(Fe.bounds.y)+" "+qe(Fe.bounds.x+Fe.bounds.w)+" "+vt(Fe.bounds.y+Fe.bounds.h)+"] ";var kn=Fe.color||"#000000";Ke="<</Type /Annot /Subtype /FreeText "+Ge+"/Contents ("+zt(hn(Fe.contents))+")",Ke+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+kn+")",Ke+=" /Border [0 0 0]",Ke+=" >>",this.internal.write(Ke);break;case"link":if(Fe.options.name){var ei=this.annotations._nameMap[Fe.options.name];Fe.options.pageNumber=ei.page,Fe.options.top=ei.y}else Fe.options.top||(Fe.options.top=0);if(Ge="/Rect ["+Fe.finalBounds.x+" "+Fe.finalBounds.y+" "+Fe.finalBounds.w+" "+Fe.finalBounds.h+"] ",Ke="",Fe.options.url)Ke="<</Type /Annot /Subtype /Link "+Ge+"/Border [0 0 0] /A <</S /URI /URI ("+zt(hn(Fe.options.url))+") >>";else if(Fe.options.pageNumber)switch(Ke="<</Type /Annot /Subtype /Link "+Ge+"/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":Ke+=" /Fit]";break;case"FitH":Ke+=" /FitH "+Fe.options.top+"]";break;case"FitV":Fe.options.left=Fe.options.left||0,Ke+=" /FitV "+Fe.options.left+"]";break;case"XYZ":default:var ii=vt(Fe.options.top);Fe.options.left=Fe.options.left||0,Fe.options.zoom===void 0&&(Fe.options.zoom=0),Ke+=" /XYZ "+Fe.options.left+" "+ii+" "+Fe.options.zoom+"]"}Ke!=""&&(Ke+=" >>",this.internal.write(Ke))}}this.internal.write("]")}}]),Xe.createAnnotation=function(Be){var Fe=this.internal.getCurrentPageInfo();switch(Be.type){case"link":this.link(Be.bounds.x,Be.bounds.y,Be.bounds.w,Be.bounds.h,Be);break;case"text":case"freetext":Fe.pageContext.annotations.push(Be)}},Xe.link=function(Be,Fe,Ge,Ke,qe){var vt=this.internal.getCurrentPageInfo(),lt=this.internal.getCoordinateString,Ft=this.internal.getVerticalCoordinateString;vt.pageContext.annotations.push({finalBounds:{x:lt(Be),y:Ft(Fe),w:lt(Be+Ge),h:Ft(Fe+Ke)},options:qe,type:"link"})},Xe.textWithLink=function(Be,Fe,Ge,Ke){var qe,vt,lt=this.getTextWidth(Be),Ft=this.internal.getLineHeight()/this.internal.scaleFactor;if(Ke.maxWidth!==void 0){vt=Ke.maxWidth;var wr=this.splitTextToSize(Be,vt).length;qe=Math.ceil(Ft*wr)}else vt=lt,qe=Ft;return this.text(Be,Fe,Ge,Ke),Ge+=.2*Ft,Ke.align==="center"&&(Fe-=lt/2),Ke.align==="right"&&(Fe-=lt),this.link(Fe,Ge-Ft,vt,qe,Ke),lt},Xe.getTextWidth=function(Be){var Fe=this.internal.getFontSize();return this.getStringUnitWidth(Be)*Fe/this.internal.scaleFactor}}(j.API),function(Xe){var Ie={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]},Be={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},Ge=[1570,1571,1573,1575];Xe.__arabicParser__={};var Ke=Xe.__arabicParser__.isInArabicSubstitutionA=function(ir){return Ie[ir.charCodeAt(0)]!==void 0},qe=Xe.__arabicParser__.isArabicLetter=function(ir){return typeof ir=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(ir)},vt=Xe.__arabicParser__.isArabicEndLetter=function(ir){return qe(ir)&&Ke(ir)&&Ie[ir.charCodeAt(0)].length<=2},lt=Xe.__arabicParser__.isArabicAlfLetter=function(ir){return qe(ir)&&Ge.indexOf(ir.charCodeAt(0))>=0};Xe.__arabicParser__.arabicLetterHasIsolatedForm=function(ir){return qe(ir)&&Ke(ir)&&Ie[ir.charCodeAt(0)].length>=1};var Ft=Xe.__arabicParser__.arabicLetterHasFinalForm=function(ir){return qe(ir)&&Ke(ir)&&Ie[ir.charCodeAt(0)].length>=2};Xe.__arabicParser__.arabicLetterHasInitialForm=function(ir){return qe(ir)&&Ke(ir)&&Ie[ir.charCodeAt(0)].length>=3};var wr=Xe.__arabicParser__.arabicLetterHasMedialForm=function(ir){return qe(ir)&&Ke(ir)&&Ie[ir.charCodeAt(0)].length==4},pr=Xe.__arabicParser__.resolveLigatures=function(ir){var Xr=0,Br=Be,vr="",Cn=0;for(Xr=0;Xr<ir.length;Xr+=1)Br[ir.charCodeAt(Xr)]!==void 0?(Cn++,typeof(Br=Br[ir.charCodeAt(Xr)])=="number"&&(vr+=String.fromCharCode(Br),Br=Be,Cn=0),Xr===ir.length-1&&(Br=Be,vr+=ir.charAt(Xr-(Cn-1)),Xr-=Cn-1,Cn=0)):(Br=Be,vr+=ir.charAt(Xr-Cn),Xr-=Cn,Cn=0);return vr};Xe.__arabicParser__.isArabicDiacritic=function(ir){return ir!==void 0&&Fe[ir.charCodeAt(0)]!==void 0};var Dr=Xe.__arabicParser__.getCorrectForm=function(ir,Xr,Br){return qe(ir)?Ke(ir)===!1?-1:!Ft(ir)||!qe(Xr)&&!qe(Br)||!qe(Br)&&vt(Xr)||vt(ir)&&!qe(Xr)||vt(ir)&&lt(Xr)||vt(ir)&&vt(Xr)?0:wr(ir)&&qe(Xr)&&!vt(Xr)&&qe(Br)&&Ft(Br)?3:vt(ir)||!qe(Br)?1:2:-1},zt=function(Xr){var Br=0,vr=0,Cn=0,kn="",ei="",ii="",ti=(Xr=Xr||"").split("\\s+"),Ti=[];for(Br=0;Br<ti.length;Br+=1){for(Ti.push(""),vr=0;vr<ti[Br].length;vr+=1)kn=ti[Br][vr],ei=ti[Br][vr-1],ii=ti[Br][vr+1],qe(kn)?(Cn=Dr(kn,ei,ii),Ti[Br]+=Cn!==-1?String.fromCharCode(Ie[kn.charCodeAt(0)][Cn]):kn):Ti[Br]+=kn;Ti[Br]=pr(Ti[Br])}return Ti.join(" ")},hn=Xe.__arabicParser__.processArabic=Xe.processArabic=function(){var ir,Xr=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,Br=[];if(Array.isArray(Xr)){var vr=0;for(Br=[],vr=0;vr<Xr.length;vr+=1)Array.isArray(Xr[vr])?Br.push([zt(Xr[vr][0]),Xr[vr][1],Xr[vr][2]]):Br.push([zt(Xr[vr])]);ir=Br}else ir=zt(Xr);return typeof arguments[0]=="string"?ir:(arguments[0].text=ir,arguments[0])};Xe.events.push(["preProcessText",hn])}(j.API),j.API.autoPrint=function(Xe){var Ie;switch((Xe=Xe||{}).variant=Xe.variant||"non-conform",Xe.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Ie=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 "+Ie+" 0 R")})}return this},function(Xe){var Ie=function(){var Fe=void 0;Object.defineProperty(this,"pdf",{get:function(){return Fe},set:function(Ft){Fe=Ft}});var Ge=150;Object.defineProperty(this,"width",{get:function(){return Ge},set:function(Ft){Ge=isNaN(Ft)||Number.isInteger(Ft)===!1||Ft<0?150:Ft,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Ge+1)}});var Ke=300;Object.defineProperty(this,"height",{get:function(){return Ke},set:function(Ft){Ke=isNaN(Ft)||Number.isInteger(Ft)===!1||Ft<0?300:Ft,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Ke+1)}});var qe=[];Object.defineProperty(this,"childNodes",{get:function(){return qe},set:function(Ft){qe=Ft}});var vt={};Object.defineProperty(this,"style",{get:function(){return vt},set:function(Ft){vt=Ft}}),Object.defineProperty(this,"parentNode",{})};Ie.prototype.getContext=function(Be,Fe){var Ge;if((Be=Be||"2d")!=="2d")return null;for(Ge in Fe)this.pdf.context2d.hasOwnProperty(Ge)&&(this.pdf.context2d[Ge]=Fe[Ge]);return this.pdf.context2d._canvas=this,this.pdf.context2d},Ie.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},Xe.events.push(["initialized",function(){this.canvas=new Ie,this.canvas.pdf=this}])}(j.API),function(Xe){var Ie={left:0,top:0,bottom:0,right:0},Be=!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({},Ie),this.internal.__cell__.margins.width=this.getPageWidth(),Ge.call(this))},Ge=function(){this.internal.__cell__.lastCell=new Ke,this.internal.__cell__.pages=1},Ke=function(){var Ft=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ft},set:function(Br){Ft=Br}});var wr=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return wr},set:function(Br){wr=Br}});var pr=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return pr},set:function(Br){pr=Br}});var Dr=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Dr},set:function(Br){Dr=Br}});var zt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return zt},set:function(Br){zt=Br}});var hn=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return hn},set:function(Br){hn=Br}});var ir=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return ir},set:function(Br){ir=Br}}),this};Ke.prototype.clone=function(){return new Ke(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},Ke.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},Xe.setHeaderFunction=function(lt){return Fe.call(this),this.internal.__cell__.headerFunction=typeof lt=="function"?lt:void 0,this},Xe.getTextDimensions=function(lt,Ft){Fe.call(this);var wr=(Ft=Ft||{}).fontSize||this.getFontSize(),pr=Ft.font||this.getFont(),Dr=Ft.scaleFactor||this.internal.scaleFactor,zt=0,hn=0,ir=0,Xr=this;if(!Array.isArray(lt)&&typeof lt!="string"){if(typeof lt!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");lt=String(lt)}var Br=Ft.maxWidth;Br>0?typeof lt=="string"?lt=this.splitTextToSize(lt,Br):Object.prototype.toString.call(lt)==="[object Array]"&&(lt=lt.reduce(function(Cn,kn){return Cn.concat(Xr.splitTextToSize(kn,Br))},[])):lt=Array.isArray(lt)?lt:[lt];for(var vr=0;vr<lt.length;vr++)zt<(ir=this.getStringUnitWidth(lt[vr],{font:pr})*wr)&&(zt=ir);return zt!==0&&(hn=lt.length),{w:zt/=Dr,h:Math.max((hn*wr*this.getLineHeightFactor()-wr*(this.getLineHeightFactor()-1))/Dr,0)}},Xe.cellAddPage=function(){Fe.call(this),this.addPage();var lt=this.internal.__cell__.margins||Ie;return this.internal.__cell__.lastCell=new Ke(lt.left,lt.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var qe=Xe.cell=function(){var lt;lt=arguments[0]instanceof Ke?arguments[0]:new Ke(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),Fe.call(this);var Ft=this.internal.__cell__.lastCell,wr=this.internal.__cell__.padding,pr=this.internal.__cell__.margins||Ie,Dr=this.internal.__cell__.tableHeaderRow,zt=this.internal.__cell__.printHeaders;return Ft.lineNumber!==void 0&&(Ft.lineNumber===lt.lineNumber?(lt.x=(Ft.x||0)+(Ft.width||0),lt.y=Ft.y||0):Ft.y+Ft.height+lt.height+pr.bottom>this.getPageHeight()?(this.cellAddPage(),lt.y=pr.top,zt&&Dr&&(this.printHeaderRow(lt.lineNumber,!0),lt.y+=Dr[0].height)):lt.y=Ft.y+Ft.height||lt.y),lt.text[0]!==void 0&&(this.rect(lt.x,lt.y,lt.width,lt.height,Be===!0?"FD":void 0),lt.align==="right"?this.text(lt.text,lt.x+lt.width-wr,lt.y+wr,{align:"right",baseline:"top"}):lt.align==="center"?this.text(lt.text,lt.x+lt.width/2,lt.y+wr,{align:"center",baseline:"top",maxWidth:lt.width-wr-wr}):this.text(lt.text,lt.x+wr,lt.y+wr,{align:"left",baseline:"top",maxWidth:lt.width-wr-wr})),this.internal.__cell__.lastCell=lt,this};Xe.table=function(lt,Ft,wr,pr,Dr){if(Fe.call(this),!wr)throw new Error("No data for PDF table.");var zt,hn,ir,Xr,Br=[],vr=[],Cn=[],kn={},ei={},ii=[],ti=[],Ti=(Dr=Dr||{}).autoSize||!1,Bn=Dr.printHeaders!==!1,Di=Dr.css&&Dr.css["font-size"]!==void 0?16*Dr.css["font-size"]:Dr.fontSize||12,gn=Dr.margins||Object.assign({width:this.getPageWidth()},Ie),Vr=typeof Dr.padding=="number"?Dr.padding:3,Sn=Dr.headerBackgroundColor||"#c8c8c8",tn=Dr.headerTextColor||"#000";if(Ge.call(this),this.internal.__cell__.printHeaders=Bn,this.internal.__cell__.margins=gn,this.internal.__cell__.table_font_size=Di,this.internal.__cell__.padding=Vr,this.internal.__cell__.headerBackgroundColor=Sn,this.internal.__cell__.headerTextColor=tn,this.setFontSize(Di),pr==null)vr=Br=Object.keys(wr[0]),Cn=Br.map(function(){return"left"});else if(Array.isArray(pr)&&C()(pr[0])==="object")for(Br=pr.map(function(xi){return xi.name}),vr=pr.map(function(xi){return xi.prompt||xi.name||""}),Cn=pr.map(function(xi){return xi.align||"left"}),zt=0;zt<pr.length;zt+=1)ei[pr[zt].name]=pr[zt].width*(19.049976/25.4);else Array.isArray(pr)&&typeof pr[0]=="string"&&(vr=Br=pr,Cn=Br.map(function(){return"left"}));if(Ti||Array.isArray(pr)&&typeof pr[0]=="string")for(zt=0;zt<Br.length;zt+=1){for(kn[Xr=Br[zt]]=wr.map(function(xi){return xi[Xr]}),this.setFont(void 0,"bold"),ii.push(this.getTextDimensions(vr[zt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),hn=kn[Xr],this.setFont(void 0,"normal"),ir=0;ir<hn.length;ir+=1)ii.push(this.getTextDimensions(hn[ir],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);ei[Xr]=Math.max.apply(null,ii)+Vr+Vr,ii=[]}if(Bn){var ci={};for(zt=0;zt<Br.length;zt+=1)ci[Br[zt]]={},ci[Br[zt]].text=vr[zt],ci[Br[zt]].align=Cn[zt];var qn=vt.call(this,ci,ei);ti=Br.map(function(xi){return new Ke(lt,Ft,ei[xi],qn,ci[xi].text,void 0,ci[xi].align)}),this.setTableHeaderRow(ti),this.printHeaderRow(1,!1)}var wi=pr.reduce(function(xi,Ei){return xi[Ei.name]=Ei.align,xi},{});for(zt=0;zt<wr.length;zt+=1){"rowStart"in Dr&&Dr.rowStart instanceof Function&&Dr.rowStart({row:zt,data:wr[zt]},this);var Jn=vt.call(this,wr[zt],ei);for(ir=0;ir<Br.length;ir+=1){var Qi=wr[zt][Br[ir]];"cellStart"in Dr&&Dr.cellStart instanceof Function&&Dr.cellStart({row:zt,col:ir,data:Qi},this),qe.call(this,new Ke(lt,Ft,ei[Br[ir]],Jn,Qi,zt+2,wi[Br[ir]]))}}return this.internal.__cell__.table_x=lt,this.internal.__cell__.table_y=Ft,this};var vt=function(Ft,wr){var pr=this.internal.__cell__.padding,Dr=this.internal.__cell__.table_font_size,zt=this.internal.scaleFactor;return Object.keys(Ft).map(function(hn){var ir=Ft[hn];return this.splitTextToSize(ir.hasOwnProperty("text")?ir.text:ir,wr[hn]-pr-pr)},this).map(function(hn){return this.getLineHeightFactor()*hn.length*Dr/zt+pr+pr},this).reduce(function(hn,ir){return Math.max(hn,ir)},0)};Xe.setTableHeaderRow=function(lt){Fe.call(this),this.internal.__cell__.tableHeaderRow=lt},Xe.printHeaderRow=function(lt,Ft){if(Fe.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var wr;if(Be=!0,typeof this.internal.__cell__.headerFunction=="function"){var pr=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new Ke(pr[0],pr[1],pr[2],pr[3],void 0,-1)}this.setFont(void 0,"bold");for(var Dr=[],zt=0;zt<this.internal.__cell__.tableHeaderRow.length;zt+=1){wr=this.internal.__cell__.tableHeaderRow[zt].clone(),Ft&&(wr.y=this.internal.__cell__.margins.top||0,Dr.push(wr)),wr.lineNumber=lt;var hn=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),qe.call(this,wr),this.setTextColor(hn)}Dr.length>0&&this.setTableHeaderRow(Dr),this.setFont(void 0,"normal"),Be=!1}}(j.API);var Gt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},rr=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],ut=me(rr),Xt=[100,200,300,400,500,600,700,800,900],ur=me(Xt);function Fr(Xe){var Ie=Xe.family.replace(/"|'/g,"").toLowerCase(),Be=function(Ke){return Gt[Ke=Ke||"normal"]?Ke:"normal"}(Xe.style),Fe=function(Ke){if(!Ke)return 400;if(typeof Ke=="number")return Ke>=100&&Ke<=900&&Ke%100==0?Ke:400;if(/^\d00$/.test(Ke))return parseInt(Ke);switch(Ke){case"bold":return 700;case"normal":default:return 400}}(Xe.weight),Ge=function(Ke){return typeof ut[Ke=Ke||"normal"]=="number"?Ke:"normal"}(Xe.stretch);return{family:Ie,style:Be,weight:Fe,stretch:Ge,src:Xe.src||[],ref:Xe.ref||{name:Ie,style:[Ge,Be,Fe].join(" ")}}}function er(Xe,Ie,Be,Fe){var Ge;for(Ge=Be;Ge>=0&&Ge<Ie.length;Ge+=Fe)if(Xe[Ie[Ge]])return Xe[Ie[Ge]];for(Ge=Be;Ge>=0&&Ge<Ie.length;Ge-=Fe)if(Xe[Ie[Ge]])return Xe[Ie[Ge]]}var nr={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Lt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function at(Xe){return[Xe.stretch,Xe.style,Xe.weight,Xe.family].join(" ")}function Je(Xe,Ie,Be){for(var Fe=(Be=Be||{}).defaultFontFamily||"times",Ge=Object.assign({},nr,Be.genericFontFamilies||{}),Ke=null,qe=null,vt=0;vt<Ie.length;++vt)if(Ge[(Ke=Fr(Ie[vt])).family]&&(Ke.family=Ge[Ke.family]),Xe.hasOwnProperty(Ke.family)){qe=Xe[Ke.family];break}if(!(qe=qe||Xe[Fe]))throw new Error("Could not find a font-family for the rule '"+at(Ke)+"' and default family '"+Fe+"'.");if(qe=function(lt,Ft){if(Ft[lt])return Ft[lt];var wr=ut[lt],pr=wr<=ut.normal?-1:1,Dr=er(Ft,rr,wr,pr);if(!Dr)throw new Error("Could not find a matching font-stretch value for "+lt);return Dr}(Ke.stretch,qe),qe=function(lt,Ft){if(Ft[lt])return Ft[lt];for(var wr=Gt[lt],pr=0;pr<wr.length;++pr)if(Ft[wr[pr]])return Ft[wr[pr]];throw new Error("Could not find a matching font-style for "+lt)}(Ke.style,qe),!(qe=function(lt,Ft){if(Ft[lt])return Ft[lt];if(lt===400&&Ft[500])return Ft[500];if(lt===500&&Ft[400])return Ft[400];var wr=ur[lt],pr=er(Ft,Xt,wr,lt<400?-1:1);if(!pr)throw new Error("Could not find a matching font-weight for value "+lt);return pr}(Ke.weight,qe)))throw new Error("Failed to resolve a font for the rule '"+at(Ke)+"'.");return qe}function qt(Xe){return Xe.trimLeft()}function Sr(Xe,Ie){for(var Be=0;Be<Xe.length;){if(Xe.charAt(Be)===Ie)return[Xe.substring(0,Be),Xe.substring(Be+1)];Be+=1}return null}function yr(Xe){var Ie=Xe.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return Ie===null?null:[Ie[0],Xe.substring(Ie[0].length)]}var fr,yn,Jr,Ln=["times"];!function(Xe){var Ie,Be,Fe,Ge,Ke,qe,vt,lt,Ft,wr=function(Mr){return Mr=Mr||{},this.isStrokeTransparent=Mr.isStrokeTransparent||!1,this.strokeOpacity=Mr.strokeOpacity||1,this.strokeStyle=Mr.strokeStyle||"#000000",this.fillStyle=Mr.fillStyle||"#000000",this.isFillTransparent=Mr.isFillTransparent||!1,this.fillOpacity=Mr.fillOpacity||1,this.font=Mr.font||"10px sans-serif",this.textBaseline=Mr.textBaseline||"alphabetic",this.textAlign=Mr.textAlign||"left",this.lineWidth=Mr.lineWidth||1,this.lineJoin=Mr.lineJoin||"miter",this.lineCap=Mr.lineCap||"butt",this.path=Mr.path||[],this.transform=Mr.transform!==void 0?Mr.transform.clone():new lt,this.globalCompositeOperation=Mr.globalCompositeOperation||"normal",this.globalAlpha=Mr.globalAlpha||1,this.clip_path=Mr.clip_path||[],this.currentPoint=Mr.currentPoint||new qe,this.miterLimit=Mr.miterLimit||10,this.lastPoint=Mr.lastPoint||new qe,this.lineDashOffset=Mr.lineDashOffset||0,this.lineDash=Mr.lineDash||[],this.margin=Mr.margin||[0,0,0,0],this.prevPageLastElemOffset=Mr.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Mr.ignoreClearRect!="boolean"||Mr.ignoreClearRect,this};Xe.events.push(["initialized",function(){this.context2d=new pr(this),Ie=this.internal.f2,Be=this.internal.getCoordinateString,Fe=this.internal.getVerticalCoordinateString,Ge=this.internal.getHorizontalCoordinate,Ke=this.internal.getVerticalCoordinate,qe=this.internal.Point,vt=this.internal.Rectangle,lt=this.internal.Matrix,Ft=new wr}]);var pr=function(Mr){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var wn=Mr;Object.defineProperty(this,"pdf",{get:function(){return wn}});var Rn=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Rn},set:function(Bi){Rn=Boolean(Bi)}});var Xn=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Xn},set:function(Bi){Xn=Boolean(Bi)}});var Zn=0;Object.defineProperty(this,"posX",{get:function(){return Zn},set:function(Bi){isNaN(Bi)||(Zn=Bi)}});var hi=0;Object.defineProperty(this,"posY",{get:function(){return hi},set:function(Bi){isNaN(Bi)||(hi=Bi)}}),Object.defineProperty(this,"margin",{get:function(){return Ft.margin},set:function(Bi){var sa;typeof Bi=="number"?sa=[Bi,Bi,Bi,Bi]:((sa=new Array(4))[0]=Bi[0],sa[1]=Bi.length>=2?Bi[1]:sa[0],sa[2]=Bi.length>=3?Bi[2]:sa[0],sa[3]=Bi.length>=4?Bi[3]:sa[1]),Ft.margin=sa}});var mi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mi},set:function(Bi){mi=Bi}});var gi=0;Object.defineProperty(this,"lastBreak",{get:function(){return gi},set:function(Bi){gi=Bi}});var Vi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Vi},set:function(Bi){Vi=Bi}}),Object.defineProperty(this,"ctx",{get:function(){return Ft},set:function(Bi){Bi instanceof wr&&(Ft=Bi)}}),Object.defineProperty(this,"path",{get:function(){return Ft.path},set:function(Bi){Ft.path=Bi}});var ma=[];Object.defineProperty(this,"ctxStack",{get:function(){return ma},set:function(Bi){ma=Bi}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Bi){var sa;sa=Dr(Bi),this.ctx.fillStyle=sa.style,this.ctx.isFillTransparent=sa.a===0,this.ctx.fillOpacity=sa.a,this.pdf.setFillColor(sa.r,sa.g,sa.b,{a:sa.a}),this.pdf.setTextColor(sa.r,sa.g,sa.b,{a:sa.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Bi){var sa=Dr(Bi);this.ctx.strokeStyle=sa.style,this.ctx.isStrokeTransparent=sa.a===0,this.ctx.strokeOpacity=sa.a,sa.a===0?this.pdf.setDrawColor(255,255,255):(sa.a,this.pdf.setDrawColor(sa.r,sa.g,sa.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Bi){["butt","round","square"].indexOf(Bi)!==-1&&(this.ctx.lineCap=Bi,this.pdf.setLineCap(Bi))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Bi){isNaN(Bi)||(this.ctx.lineWidth=Bi,this.pdf.setLineWidth(Bi))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Bi){["bevel","round","miter"].indexOf(Bi)!==-1&&(this.ctx.lineJoin=Bi,this.pdf.setLineJoin(Bi))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Bi){isNaN(Bi)||(this.ctx.miterLimit=Bi,this.pdf.setMiterLimit(Bi))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Bi){this.ctx.textBaseline=Bi}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Bi){["right","end","center","left","start"].indexOf(Bi)!==-1&&(this.ctx.textAlign=Bi)}});var ca=null;function ja(cn,Bi){if(ca===null){var sa=function(zi){var da=[];return Object.keys(zi).forEach(function(Vt){zi[Vt].forEach(function(Qr){var an=null;switch(Qr){case"bold":an={family:Vt,weight:"bold"};break;case"italic":an={family:Vt,style:"italic"};break;case"bolditalic":an={family:Vt,weight:"bold",style:"italic"};break;case"":case"normal":an={family:Vt}}an!==null&&(an.ref={name:Vt,style:Qr},da.push(an))})}),da}(cn.getFontList());ca=function(zi){for(var da={},Vt=0;Vt<zi.length;++Vt){var Qr=Fr(zi[Vt]),an=Qr.family,mn=Qr.stretch,Ye=Qr.style,It=Qr.weight;da[an]=da[an]||{},da[an][mn]=da[an][mn]||{},da[an][mn][Ye]=da[an][mn][Ye]||{},da[an][mn][Ye][It]=Qr}return da}(sa.concat(Bi))}return ca}var fi=null;Object.defineProperty(this,"fontFaces",{get:function(){return fi},set:function(Bi){ca=null,fi=Bi}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Bi){var sa;if(this.ctx.font=Bi,(sa=/^\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(Bi))!==null){var zi=sa[1],da=(sa[2],sa[3]),Vt=sa[4],Qr=(sa[5],sa[6]),an=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Vt)[2];Vt=an==="px"?Math.floor(parseFloat(Vt)*this.pdf.internal.scaleFactor):an==="em"?Math.floor(parseFloat(Vt)*this.pdf.getFontSize()):Math.floor(parseFloat(Vt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Vt);var mn=function(Kr){var on,xn,An=[],Pn=Kr.trim();if(Pn==="")return Ln;if(Pn in Lt)return[Lt[Pn]];for(;Pn!=="";){switch(xn=null,on=(Pn=qt(Pn)).charAt(0)){case'"':case"'":xn=Sr(Pn.substring(1),on);break;default:xn=yr(Pn)}if(xn===null)return Ln;if(An.push(xn[0]),(Pn=qt(xn[1]))!==""&&Pn.charAt(0)!==",")return Ln;Pn=Pn.replace(/^,/,"")}return An}(Qr);if(this.fontFaces){var Ye=Je(ja(this.pdf,this.fontFaces),mn.map(function(Kr){return{family:Kr,stretch:"normal",weight:da,style:zi}}));this.pdf.setFont(Ye.ref.name,Ye.ref.style)}else{var It="";(da==="bold"||parseInt(da,10)>=700||zi==="bold")&&(It="bold"),zi==="italic"&&(It+="italic"),It.length===0&&(It="normal");for(var lr="",sr={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"},Lr=0;Lr<mn.length;Lr++){if(this.pdf.internal.getFont(mn[Lr],It,{noFallback:!0,disableWarning:!0})!==void 0){lr=mn[Lr];break}if(It==="bolditalic"&&this.pdf.internal.getFont(mn[Lr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)lr=mn[Lr],It="bold";else if(this.pdf.internal.getFont(mn[Lr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){lr=mn[Lr],It="normal";break}}if(lr===""){for(var Pr=0;Pr<mn.length;Pr++)if(sr[mn[Pr]]){lr=sr[mn[Pr]];break}}lr=lr===""?"Times":lr,this.pdf.setFont(lr,It)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Bi){this.ctx.globalCompositeOperation=Bi}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Bi){this.ctx.globalAlpha=Bi}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Bi){this.ctx.lineDashOffset=Bi,Ei.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Bi){this.ctx.lineDash=Bi,Ei.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Bi){this.ctx.ignoreClearRect=Boolean(Bi)}})};pr.prototype.setLineDash=function(dn){this.lineDash=dn},pr.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},pr.prototype.fill=function(){kn.call(this,"fill",!1)},pr.prototype.stroke=function(){kn.call(this,"stroke",!1)},pr.prototype.beginPath=function(){this.path=[{type:"begin"}]},pr.prototype.moveTo=function(dn,Mr){if(isNaN(dn)||isNaN(Mr))throw p.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var wn=this.ctx.transform.applyToPoint(new qe(dn,Mr));this.path.push({type:"mt",x:wn.x,y:wn.y}),this.ctx.lastPoint=new qe(dn,Mr)},pr.prototype.closePath=function(){var dn=new qe(0,0),Mr=0;for(Mr=this.path.length-1;Mr!==-1;Mr--)if(this.path[Mr].type==="begin"&&C()(this.path[Mr+1])==="object"&&typeof this.path[Mr+1].x=="number"){dn=new qe(this.path[Mr+1].x,this.path[Mr+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new qe(dn.x,dn.y)},pr.prototype.lineTo=function(dn,Mr){if(isNaN(dn)||isNaN(Mr))throw p.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var wn=this.ctx.transform.applyToPoint(new qe(dn,Mr));this.path.push({type:"lt",x:wn.x,y:wn.y}),this.ctx.lastPoint=new qe(wn.x,wn.y)},pr.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),kn.call(this,null,!0)},pr.prototype.quadraticCurveTo=function(dn,Mr,wn,Rn){if(isNaN(wn)||isNaN(Rn)||isNaN(dn)||isNaN(Mr))throw p.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Xn=this.ctx.transform.applyToPoint(new qe(wn,Rn)),Zn=this.ctx.transform.applyToPoint(new qe(dn,Mr));this.path.push({type:"qct",x1:Zn.x,y1:Zn.y,x:Xn.x,y:Xn.y}),this.ctx.lastPoint=new qe(Xn.x,Xn.y)},pr.prototype.bezierCurveTo=function(dn,Mr,wn,Rn,Xn,Zn){if(isNaN(Xn)||isNaN(Zn)||isNaN(dn)||isNaN(Mr)||isNaN(wn)||isNaN(Rn))throw p.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var hi=this.ctx.transform.applyToPoint(new qe(Xn,Zn)),mi=this.ctx.transform.applyToPoint(new qe(dn,Mr)),gi=this.ctx.transform.applyToPoint(new qe(wn,Rn));this.path.push({type:"bct",x1:mi.x,y1:mi.y,x2:gi.x,y2:gi.y,x:hi.x,y:hi.y}),this.ctx.lastPoint=new qe(hi.x,hi.y)},pr.prototype.arc=function(dn,Mr,wn,Rn,Xn,Zn){if(isNaN(dn)||isNaN(Mr)||isNaN(wn)||isNaN(Rn)||isNaN(Xn))throw p.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Zn=Boolean(Zn),!this.ctx.transform.isIdentity){var hi=this.ctx.transform.applyToPoint(new qe(dn,Mr));dn=hi.x,Mr=hi.y;var mi=this.ctx.transform.applyToPoint(new qe(0,wn)),gi=this.ctx.transform.applyToPoint(new qe(0,0));wn=Math.sqrt(Math.pow(mi.x-gi.x,2)+Math.pow(mi.y-gi.y,2))}Math.abs(Xn-Rn)>=2*Math.PI&&(Rn=0,Xn=2*Math.PI),this.path.push({type:"arc",x:dn,y:Mr,radius:wn,startAngle:Rn,endAngle:Xn,counterclockwise:Zn})},pr.prototype.arcTo=function(dn,Mr,wn,Rn,Xn){throw new Error("arcTo not implemented.")},pr.prototype.rect=function(dn,Mr,wn,Rn){if(isNaN(dn)||isNaN(Mr)||isNaN(wn)||isNaN(Rn))throw p.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(dn,Mr),this.lineTo(dn+wn,Mr),this.lineTo(dn+wn,Mr+Rn),this.lineTo(dn,Mr+Rn),this.lineTo(dn,Mr),this.lineTo(dn+wn,Mr),this.lineTo(dn,Mr)},pr.prototype.fillRect=function(dn,Mr,wn,Rn){if(isNaN(dn)||isNaN(Mr)||isNaN(wn)||isNaN(Rn))throw p.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!zt.call(this)){var Xn={};this.lineCap!=="butt"&&(Xn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Xn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(dn,Mr,wn,Rn),this.fill(),Xn.hasOwnProperty("lineCap")&&(this.lineCap=Xn.lineCap),Xn.hasOwnProperty("lineJoin")&&(this.lineJoin=Xn.lineJoin)}},pr.prototype.strokeRect=function(dn,Mr,wn,Rn){if(isNaN(dn)||isNaN(Mr)||isNaN(wn)||isNaN(Rn))throw p.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");hn.call(this)||(this.beginPath(),this.rect(dn,Mr,wn,Rn),this.stroke())},pr.prototype.clearRect=function(dn,Mr,wn,Rn){if(isNaN(dn)||isNaN(Mr)||isNaN(wn)||isNaN(Rn))throw p.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(dn,Mr,wn,Rn))},pr.prototype.save=function(dn){dn=typeof dn!="boolean"||dn;for(var Mr=this.pdf.internal.getCurrentPageInfo().pageNumber,wn=0;wn<this.pdf.internal.getNumberOfPages();wn++)this.pdf.setPage(wn+1),this.pdf.internal.out("q");if(this.pdf.setPage(Mr),dn){this.ctx.fontSize=this.pdf.internal.getFontSize();var Rn=new wr(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Rn}},pr.prototype.restore=function(dn){dn=typeof dn!="boolean"||dn;for(var Mr=this.pdf.internal.getCurrentPageInfo().pageNumber,wn=0;wn<this.pdf.internal.getNumberOfPages();wn++)this.pdf.setPage(wn+1),this.pdf.internal.out("Q");this.pdf.setPage(Mr),dn&&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)},pr.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Dr=function(Mr){var wn,Rn,Xn,Zn;if(Mr.isCanvasGradient===!0&&(Mr=Mr.getColor()),!Mr)return{r:0,g:0,b:0,a:0,style:Mr};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Mr))wn=0,Rn=0,Xn=0,Zn=0;else{var hi=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Mr);if(hi!==null)wn=parseInt(hi[1]),Rn=parseInt(hi[2]),Xn=parseInt(hi[3]),Zn=1;else if((hi=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Mr))!==null)wn=parseInt(hi[1]),Rn=parseInt(hi[2]),Xn=parseInt(hi[3]),Zn=parseFloat(hi[4]);else{if(Zn=1,typeof Mr=="string"&&Mr.charAt(0)!=="#"){var mi=new s(Mr);Mr=mi.ok?mi.toHex():"#000000"}Mr.length===4?(wn=Mr.substring(1,2),wn+=wn,Rn=Mr.substring(2,3),Rn+=Rn,Xn=Mr.substring(3,4),Xn+=Xn):(wn=Mr.substring(1,3),Rn=Mr.substring(3,5),Xn=Mr.substring(5,7)),wn=parseInt(wn,16),Rn=parseInt(Rn,16),Xn=parseInt(Xn,16)}}return{r:wn,g:Rn,b:Xn,a:Zn,style:Mr}},zt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},hn=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};pr.prototype.fillText=function(dn,Mr,wn,Rn){if(isNaN(Mr)||isNaN(wn)||typeof dn!="string")throw p.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Rn=isNaN(Rn)?void 0:Rn,!zt.call(this)){var Xn=Jn(this.ctx.transform.rotation),Zn=this.ctx.transform.scaleX;Vr.call(this,{text:dn,x:Mr,y:wn,scale:Zn,angle:Xn,align:this.textAlign,maxWidth:Rn})}},pr.prototype.strokeText=function(dn,Mr,wn,Rn){if(isNaN(Mr)||isNaN(wn)||typeof dn!="string")throw p.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!hn.call(this)){Rn=isNaN(Rn)?void 0:Rn;var Xn=Jn(this.ctx.transform.rotation),Zn=this.ctx.transform.scaleX;Vr.call(this,{text:dn,x:Mr,y:wn,scale:Zn,renderingMode:"stroke",angle:Xn,align:this.textAlign,maxWidth:Rn})}},pr.prototype.measureText=function(dn){if(typeof dn!="string")throw p.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Mr=this.pdf,wn=this.pdf.internal.scaleFactor,Rn=Mr.internal.getFontSize(),Xn=Mr.getStringUnitWidth(dn)*Rn/Mr.internal.scaleFactor,Zn=function(mi){var gi=(mi=mi||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return gi}}),this};return new Zn({width:Xn*=Math.round(96*wn/72*1e4)/1e4})},pr.prototype.scale=function(dn,Mr){if(isNaN(dn)||isNaN(Mr))throw p.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var wn=new lt(dn,0,0,Mr,0,0);this.ctx.transform=this.ctx.transform.multiply(wn)},pr.prototype.rotate=function(dn){if(isNaN(dn))throw p.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Mr=new lt(Math.cos(dn),Math.sin(dn),-Math.sin(dn),Math.cos(dn),0,0);this.ctx.transform=this.ctx.transform.multiply(Mr)},pr.prototype.translate=function(dn,Mr){if(isNaN(dn)||isNaN(Mr))throw p.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var wn=new lt(1,0,0,1,dn,Mr);this.ctx.transform=this.ctx.transform.multiply(wn)},pr.prototype.transform=function(dn,Mr,wn,Rn,Xn,Zn){if(isNaN(dn)||isNaN(Mr)||isNaN(wn)||isNaN(Rn)||isNaN(Xn)||isNaN(Zn))throw p.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var hi=new lt(dn,Mr,wn,Rn,Xn,Zn);this.ctx.transform=this.ctx.transform.multiply(hi)},pr.prototype.setTransform=function(dn,Mr,wn,Rn,Xn,Zn){dn=isNaN(dn)?1:dn,Mr=isNaN(Mr)?0:Mr,wn=isNaN(wn)?0:wn,Rn=isNaN(Rn)?1:Rn,Xn=isNaN(Xn)?0:Xn,Zn=isNaN(Zn)?0:Zn,this.ctx.transform=new lt(dn,Mr,wn,Rn,Xn,Zn)};var ir=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};pr.prototype.drawImage=function(dn,Mr,wn,Rn,Xn,Zn,hi,mi,gi){var Vi=this.pdf.getImageProperties(dn),ma=1,ca=1,ja=1,fi=1;Rn!==void 0&&mi!==void 0&&(ja=mi/Rn,fi=gi/Xn,ma=Vi.width/Rn*mi/Rn,ca=Vi.height/Xn*gi/Xn),Zn===void 0&&(Zn=Mr,hi=wn,Mr=0,wn=0),Rn!==void 0&&mi===void 0&&(mi=Rn,gi=Xn),Rn===void 0&&mi===void 0&&(mi=Vi.width,gi=Vi.height);for(var cn,Bi=this.ctx.transform.decompose(),sa=Jn(Bi.rotate.shx),zi=new lt,da=(zi=(zi=(zi=zi.multiply(Bi.translate)).multiply(Bi.skew)).multiply(Bi.scale)).applyToRectangle(new vt(Zn-Mr*ja,hi-wn*fi,Rn*ma,Xn*ca)),Vt=Xr.call(this,da),Qr=[],an=0;an<Vt.length;an+=1)Qr.indexOf(Vt[an])===-1&&Qr.push(Vt[an]);if(Cn(Qr),this.autoPaging)for(var mn=Qr[0],Ye=Qr[Qr.length-1],It=mn;It<Ye+1;It++){this.pdf.setPage(It);var lr=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],sr=It===1?this.posY+this.margin[0]:this.margin[0],Lr=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Pr=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Kr=It===1?0:Lr+(It-2)*Pr;if(this.ctx.clip_path.length!==0){var on=this.path;cn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=vr(cn,this.posX+this.margin[3],-Kr+sr+this.ctx.prevPageLastElemOffset),ei.call(this,"fill",!0),this.path=on}var xn=JSON.parse(JSON.stringify(da));xn=vr([xn],this.posX+this.margin[3],-Kr+sr+this.ctx.prevPageLastElemOffset)[0];var An=(It>mn||It<Ye)&&ir.call(this);An&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],lr,Pr,null).clip().discardPath()),this.pdf.addImage(dn,"JPEG",xn.x,xn.y,xn.w,xn.h,null,null,sa),An&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(dn,"JPEG",da.x,da.y,da.w,da.h,null,null,sa)};var Xr=function(Mr,wn,Rn){var Xn=[];wn=wn||this.pdf.internal.pageSize.width,Rn=Rn||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Zn=this.posY+this.ctx.prevPageLastElemOffset;switch(Mr.type){default:case"mt":case"lt":Xn.push(Math.floor((Mr.y+Zn)/Rn)+1);break;case"arc":Xn.push(Math.floor((Mr.y+Zn-Mr.radius)/Rn)+1),Xn.push(Math.floor((Mr.y+Zn+Mr.radius)/Rn)+1);break;case"qct":var hi=Qi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Mr.x1,Mr.y1,Mr.x,Mr.y);Xn.push(Math.floor((hi.y+Zn)/Rn)+1),Xn.push(Math.floor((hi.y+hi.h+Zn)/Rn)+1);break;case"bct":var mi=xi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Mr.x1,Mr.y1,Mr.x2,Mr.y2,Mr.x,Mr.y);Xn.push(Math.floor((mi.y+Zn)/Rn)+1),Xn.push(Math.floor((mi.y+mi.h+Zn)/Rn)+1);break;case"rect":Xn.push(Math.floor((Mr.y+Zn)/Rn)+1),Xn.push(Math.floor((Mr.y+Mr.h+Zn)/Rn)+1)}for(var gi=0;gi<Xn.length;gi+=1)for(;this.pdf.internal.getNumberOfPages()<Xn[gi];)Br.call(this);return Xn},Br=function(){var Mr=this.fillStyle,wn=this.strokeStyle,Rn=this.font,Xn=this.lineCap,Zn=this.lineWidth,hi=this.lineJoin;this.pdf.addPage(),this.fillStyle=Mr,this.strokeStyle=wn,this.font=Rn,this.lineCap=Xn,this.lineWidth=Zn,this.lineJoin=hi},vr=function(Mr,wn,Rn){for(var Xn=0;Xn<Mr.length;Xn++)switch(Mr[Xn].type){case"bct":Mr[Xn].x2+=wn,Mr[Xn].y2+=Rn;case"qct":Mr[Xn].x1+=wn,Mr[Xn].y1+=Rn;case"mt":case"lt":case"arc":default:Mr[Xn].x+=wn,Mr[Xn].y+=Rn}return Mr},Cn=function(Mr){return Mr.sort(function(wn,Rn){return wn-Rn})},kn=function(Mr,wn){for(var Rn,Xn,Zn=this.fillStyle,hi=this.strokeStyle,mi=this.lineCap,gi=this.lineWidth,Vi=Math.abs(gi*this.ctx.transform.scaleX),ma=this.lineJoin,ca=JSON.parse(JSON.stringify(this.path)),ja=JSON.parse(JSON.stringify(this.path)),fi=[],cn=0;cn<ja.length;cn++)if(ja[cn].x!==void 0)for(var Bi=Xr.call(this,ja[cn]),sa=0;sa<Bi.length;sa+=1)fi.indexOf(Bi[sa])===-1&&fi.push(Bi[sa]);for(var zi=0;zi<fi.length;zi++)for(;this.pdf.internal.getNumberOfPages()<fi[zi];)Br.call(this);if(Cn(fi),this.autoPaging)for(var da=fi[0],Vt=fi[fi.length-1],Qr=da;Qr<Vt+1;Qr++){this.pdf.setPage(Qr),this.fillStyle=Zn,this.strokeStyle=hi,this.lineCap=mi,this.lineWidth=Vi,this.lineJoin=ma;var an=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],mn=Qr===1?this.posY+this.margin[0]:this.margin[0],Ye=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],It=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],lr=Qr===1?0:Ye+(Qr-2)*It;if(this.ctx.clip_path.length!==0){var sr=this.path;Rn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=vr(Rn,this.posX+this.margin[3],-lr+mn+this.ctx.prevPageLastElemOffset),ei.call(this,Mr,!0),this.path=sr}if(Xn=JSON.parse(JSON.stringify(ca)),this.path=vr(Xn,this.posX+this.margin[3],-lr+mn+this.ctx.prevPageLastElemOffset),wn===!1||Qr===0){var Lr=(Qr>da||Qr<Vt)&&ir.call(this);Lr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],an,It,null).clip().discardPath()),ei.call(this,Mr,wn),Lr&&this.pdf.restoreGraphicsState()}this.lineWidth=gi}else this.lineWidth=Vi,ei.call(this,Mr,wn),this.lineWidth=gi;this.path=ca},ei=function(Mr,wn){if((Mr!=="stroke"||wn||!hn.call(this))&&(Mr==="stroke"||wn||!zt.call(this))){for(var Rn,Xn,Zn=[],hi=this.path,mi=0;mi<hi.length;mi++){var gi=hi[mi];switch(gi.type){case"begin":Zn.push({begin:!0});break;case"close":Zn.push({close:!0});break;case"mt":Zn.push({start:gi,deltas:[],abs:[]});break;case"lt":var Vi=Zn.length;if(hi[mi-1]&&!isNaN(hi[mi-1].x)&&(Rn=[gi.x-hi[mi-1].x,gi.y-hi[mi-1].y],Vi>0)){for(;Vi>=0;Vi--)if(Zn[Vi-1].close!==!0&&Zn[Vi-1].begin!==!0){Zn[Vi-1].deltas.push(Rn),Zn[Vi-1].abs.push(gi);break}}break;case"bct":Rn=[gi.x1-hi[mi-1].x,gi.y1-hi[mi-1].y,gi.x2-hi[mi-1].x,gi.y2-hi[mi-1].y,gi.x-hi[mi-1].x,gi.y-hi[mi-1].y],Zn[Zn.length-1].deltas.push(Rn);break;case"qct":var ma=hi[mi-1].x+2/3*(gi.x1-hi[mi-1].x),ca=hi[mi-1].y+2/3*(gi.y1-hi[mi-1].y),ja=gi.x+2/3*(gi.x1-gi.x),fi=gi.y+2/3*(gi.y1-gi.y),cn=gi.x,Bi=gi.y;Rn=[ma-hi[mi-1].x,ca-hi[mi-1].y,ja-hi[mi-1].x,fi-hi[mi-1].y,cn-hi[mi-1].x,Bi-hi[mi-1].y],Zn[Zn.length-1].deltas.push(Rn);break;case"arc":Zn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Zn[Zn.length-1].abs)&&Zn[Zn.length-1].abs.push(gi)}}Xn=wn?null:Mr==="stroke"?"stroke":"fill";for(var sa=!1,zi=0;zi<Zn.length;zi++)if(Zn[zi].arc)for(var da=Zn[zi].abs,Vt=0;Vt<da.length;Vt++){var Qr=da[Vt];Qr.type==="arc"?Ti.call(this,Qr.x,Qr.y,Qr.radius,Qr.startAngle,Qr.endAngle,Qr.counterclockwise,void 0,wn,!sa):Sn.call(this,Qr.x,Qr.y),sa=!0}else if(Zn[zi].close===!0)this.pdf.internal.out("h"),sa=!1;else if(Zn[zi].begin!==!0){var an=Zn[zi].start.x,mn=Zn[zi].start.y;tn.call(this,Zn[zi].deltas,an,mn),sa=!0}Xn&&Bn.call(this,Xn),wn&&Di.call(this)}},ii=function(Mr){var wn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Rn=wn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Mr-Rn;case"top":return Mr+wn-Rn;case"hanging":return Mr+wn-2*Rn;case"middle":return Mr+wn/2-Rn;case"ideographic":return Mr;case"alphabetic":default:return Mr}},ti=function(Mr){return Mr+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};pr.prototype.createLinearGradient=function(){var dn=function(){};return dn.colorStops=[],dn.addColorStop=function(Mr,wn){this.colorStops.push([Mr,wn])},dn.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},dn.isCanvasGradient=!0,dn},pr.prototype.createPattern=function(){return this.createLinearGradient()},pr.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Ti=function(Mr,wn,Rn,Xn,Zn,hi,mi,gi,Vi){for(var ma=qn.call(this,Rn,Xn,Zn,hi),ca=0;ca<ma.length;ca++){var ja=ma[ca];ca===0&&(Vi?gn.call(this,ja.x1+Mr,ja.y1+wn):Sn.call(this,ja.x1+Mr,ja.y1+wn)),ci.call(this,Mr,wn,ja.x2,ja.y2,ja.x3,ja.y3,ja.x4,ja.y4)}gi?Di.call(this):Bn.call(this,mi)},Bn=function(Mr){switch(Mr){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Di=function(){this.pdf.clip(),this.pdf.discardPath()},gn=function(Mr,wn){this.pdf.internal.out(Be(Mr)+" "+Fe(wn)+" m")},Vr=function(Mr){var wn;switch(Mr.align){case"right":case"end":wn="right";break;case"center":wn="center";break;case"left":case"start":default:wn="left"}var Rn=this.pdf.getTextDimensions(Mr.text),Xn=ii.call(this,Mr.y),Zn=ti.call(this,Xn)-Rn.h,hi=this.ctx.transform.applyToPoint(new qe(Mr.x,Xn)),mi=this.ctx.transform.decompose(),gi=new lt;gi=(gi=(gi=gi.multiply(mi.translate)).multiply(mi.skew)).multiply(mi.scale);for(var Vi,ma,ca,ja=this.ctx.transform.applyToRectangle(new vt(Mr.x,Xn,Rn.w,Rn.h)),fi=gi.applyToRectangle(new vt(Mr.x,Zn,Rn.w,Rn.h)),cn=Xr.call(this,fi),Bi=[],sa=0;sa<cn.length;sa+=1)Bi.indexOf(cn[sa])===-1&&Bi.push(cn[sa]);if(Cn(Bi),this.autoPaging)for(var zi=Bi[0],da=Bi[Bi.length-1],Vt=zi;Vt<da+1;Vt++){this.pdf.setPage(Vt);var Qr=Vt===1?this.posY+this.margin[0]:this.margin[0],an=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],mn=this.pdf.internal.pageSize.height-this.margin[2],Ye=mn-this.margin[0],It=this.pdf.internal.pageSize.width-this.margin[1],lr=It-this.margin[3],sr=Vt===1?0:an+(Vt-2)*Ye;if(this.ctx.clip_path.length!==0){var Lr=this.path;Vi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=vr(Vi,this.posX+this.margin[3],-1*sr+Qr),ei.call(this,"fill",!0),this.path=Lr}var Pr=vr([JSON.parse(JSON.stringify(fi))],this.posX+this.margin[3],-sr+Qr+this.ctx.prevPageLastElemOffset)[0];Mr.scale>=.01&&(ma=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ma*Mr.scale),ca=this.lineWidth,this.lineWidth=ca*Mr.scale);var Kr=this.autoPaging!=="text";if(Kr||Pr.y+Pr.h<=mn){if(Kr||Pr.y>=Qr&&Pr.x<=It){var on=Kr?Mr.text:this.pdf.splitTextToSize(Mr.text,Mr.maxWidth||It-Pr.x)[0],xn=vr([JSON.parse(JSON.stringify(ja))],this.posX+this.margin[3],-sr+Qr+this.ctx.prevPageLastElemOffset)[0],An=Kr&&(Vt>zi||Vt<da)&&ir.call(this);An&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],lr,Ye,null).clip().discardPath()),this.pdf.text(on,xn.x,xn.y,{angle:Mr.angle,align:wn,renderingMode:Mr.renderingMode}),An&&this.pdf.restoreGraphicsState()}}else Pr.y<mn&&(this.ctx.prevPageLastElemOffset+=mn-Pr.y);Mr.scale>=.01&&(this.pdf.setFontSize(ma),this.lineWidth=ca)}else Mr.scale>=.01&&(ma=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ma*Mr.scale),ca=this.lineWidth,this.lineWidth=ca*Mr.scale),this.pdf.text(Mr.text,hi.x+this.posX,hi.y+this.posY,{angle:Mr.angle,align:wn,renderingMode:Mr.renderingMode,maxWidth:Mr.maxWidth}),Mr.scale>=.01&&(this.pdf.setFontSize(ma),this.lineWidth=ca)},Sn=function(Mr,wn,Rn,Xn){Rn=Rn||0,Xn=Xn||0,this.pdf.internal.out(Be(Mr+Rn)+" "+Fe(wn+Xn)+" l")},tn=function(Mr,wn,Rn){return this.pdf.lines(Mr,wn,Rn,null,null)},ci=function(Mr,wn,Rn,Xn,Zn,hi,mi,gi){this.pdf.internal.out([Ie(Ge(Rn+Mr)),Ie(Ke(Xn+wn)),Ie(Ge(Zn+Mr)),Ie(Ke(hi+wn)),Ie(Ge(mi+Mr)),Ie(Ke(gi+wn)),"c"].join(" "))},qn=function(Mr,wn,Rn,Xn){for(var Zn=2*Math.PI,hi=Math.PI/2;wn>Rn;)wn-=Zn;var mi=Math.abs(Rn-wn);mi<Zn&&Xn&&(mi=Zn-mi);for(var gi=[],Vi=Xn?-1:1,ma=wn;mi>1e-5;){var ca=ma+Vi*Math.min(mi,hi);gi.push(wi.call(this,Mr,ma,ca)),mi-=Math.abs(ca-ma),ma=ca}return gi},wi=function(Mr,wn,Rn){var Xn=(Rn-wn)/2,Zn=Mr*Math.cos(Xn),hi=Mr*Math.sin(Xn),mi=Zn,gi=-hi,Vi=mi*mi+gi*gi,ma=Vi+mi*Zn+gi*hi,ca=4/3*(Math.sqrt(2*Vi*ma)-ma)/(mi*hi-gi*Zn),ja=mi-ca*gi,fi=gi+ca*mi,cn=ja,Bi=-fi,sa=Xn+wn,zi=Math.cos(sa),da=Math.sin(sa);return{x1:Mr*Math.cos(wn),y1:Mr*Math.sin(wn),x2:ja*zi-fi*da,y2:ja*da+fi*zi,x3:cn*zi-Bi*da,y3:cn*da+Bi*zi,x4:Mr*Math.cos(Rn),y4:Mr*Math.sin(Rn)}},Jn=function(Mr){return 180*Mr/Math.PI},Qi=function(Mr,wn,Rn,Xn,Zn,hi){var mi=Mr+.5*(Rn-Mr),gi=wn+.5*(Xn-wn),Vi=Zn+.5*(Rn-Zn),ma=hi+.5*(Xn-hi),ca=Math.min(Mr,Zn,mi,Vi),ja=Math.max(Mr,Zn,mi,Vi),fi=Math.min(wn,hi,gi,ma),cn=Math.max(wn,hi,gi,ma);return new vt(ca,fi,ja-ca,cn-fi)},xi=function(Mr,wn,Rn,Xn,Zn,hi,mi,gi){var Vi,ma,ca,ja,fi,cn,Bi,sa,zi,da,Vt,Qr,an,mn,Ye=Rn-Mr,It=Xn-wn,lr=Zn-Rn,sr=hi-Xn,Lr=mi-Zn,Pr=gi-hi;for(ma=0;ma<41;ma++)zi=(Bi=(ca=Mr+(Vi=ma/40)*Ye)+Vi*((fi=Rn+Vi*lr)-ca))+Vi*(fi+Vi*(Zn+Vi*Lr-fi)-Bi),da=(sa=(ja=wn+Vi*It)+Vi*((cn=Xn+Vi*sr)-ja))+Vi*(cn+Vi*(hi+Vi*Pr-cn)-sa),ma==0?(Vt=zi,Qr=da,an=zi,mn=da):(Vt=Math.min(Vt,zi),Qr=Math.min(Qr,da),an=Math.max(an,zi),mn=Math.max(mn,da));return new vt(Math.round(Vt),Math.round(Qr),Math.round(an-Vt),Math.round(mn-Qr))},Ei=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Mr,wn,Rn=(Mr=this.ctx.lineDash,wn=this.ctx.lineDashOffset,JSON.stringify({lineDash:Mr,lineDashOffset:wn}));this.prevLineDash!==Rn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Rn)}}}(j.API),function(Xe){var Ie=function(qe){var vt,lt,Ft,wr,pr,Dr,zt,hn,ir,Xr;for(/[^\x00-\xFF]/.test(qe),lt=[],Ft=0,wr=(qe+=vt="\0\0\0\0".slice(qe.length%4||4)).length;wr>Ft;Ft+=4)(pr=(qe.charCodeAt(Ft)<<24)+(qe.charCodeAt(Ft+1)<<16)+(qe.charCodeAt(Ft+2)<<8)+qe.charCodeAt(Ft+3))!==0?(Dr=(pr=((pr=((pr=((pr=(pr-(Xr=pr%85))/85)-(ir=pr%85))/85)-(hn=pr%85))/85)-(zt=pr%85))/85)%85,lt.push(Dr+33,zt+33,hn+33,ir+33,Xr+33)):lt.push(122);return function(Br,vr){for(var Cn=vr;Cn>0;Cn--)Br.pop()}(lt,vt.length),String.fromCharCode.apply(String,lt)+"~>"},Be=function(qe){var vt,lt,Ft,wr,pr,Dr=String,zt="length",hn=255,ir="charCodeAt",Xr="slice",Br="replace";for(qe[Xr](-2),qe=qe[Xr](0,-2)[Br](/\s/g,"")[Br]("z","!!!!!"),Ft=[],wr=0,pr=(qe+=vt="uuuuu"[Xr](qe[zt]%5||5))[zt];pr>wr;wr+=5)lt=52200625*(qe[ir](wr)-33)+614125*(qe[ir](wr+1)-33)+7225*(qe[ir](wr+2)-33)+85*(qe[ir](wr+3)-33)+(qe[ir](wr+4)-33),Ft.push(hn&lt>>24,hn&lt>>16,hn&lt>>8,hn&lt);return function(vr,Cn){for(var kn=Cn;kn>0;kn--)vr.pop()}(Ft,vt[zt]),Dr.fromCharCode.apply(Dr,Ft)},Fe=function(qe){var vt=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"),vt.test(qe)===!1)return"";for(var lt="",Ft=0;Ft<qe.length;Ft+=2)lt+=String.fromCharCode("0x"+(qe[Ft]+qe[Ft+1]));return lt},Ge=function(qe){for(var vt=new Uint8Array(qe.length),lt=qe.length;lt--;)vt[lt]=qe.charCodeAt(lt);return qe=(vt=Object(A.b)(vt)).reduce(function(Ft,wr){return Ft+String.fromCharCode(wr)},"")};Xe.processDataByFilters=function(Ke,qe){var vt=0,lt=Ke||"",Ft=[];for(typeof(qe=qe||[])=="string"&&(qe=[qe]),vt=0;vt<qe.length;vt+=1)switch(qe[vt]){case"ASCII85Decode":case"/ASCII85Decode":lt=Be(lt),Ft.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":lt=Ie(lt),Ft.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":lt=Fe(lt),Ft.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":lt=lt.split("").map(function(wr){return("0"+wr.charCodeAt().toString(16)).slice(-2)}).join("")+">",Ft.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":lt=Ge(lt),Ft.push("/FlateDecode");break;default:throw new Error('The filter: "'+qe[vt]+'" is not implemented')}return{data:lt,reverseChain:Ft.reverse().join(" ")}}}(j.API),function(Xe){Xe.loadFile=function(Ie,Be,Fe){return function(Ge,Ke,qe){Ke=Ke!==!1,qe=typeof qe=="function"?qe:function(){};var vt=void 0;try{vt=function(lt,Ft,wr){var pr=new XMLHttpRequest,Dr=0,zt=function(ir){var Xr=ir.length,Br=[],vr=String.fromCharCode;for(Dr=0;Dr<Xr;Dr+=1)Br.push(vr(255&ir.charCodeAt(Dr)));return Br.join("")};if(pr.open("GET",lt,!Ft),pr.overrideMimeType("text/plain; charset=x-user-defined"),Ft===!1&&(pr.onload=function(){pr.status===200?wr(zt(this.responseText)):wr(void 0)}),pr.send(null),Ft&&pr.status===200)return zt(pr.responseText)}(Ge,Ke,qe)}catch(lt){}return vt}(Ie,Be,Fe)},Xe.loadImageFile=Xe.loadFile}(j.API),function(Xe){function Ie(){return(b.html2canvas?Promise.resolve(b.html2canvas):Promise.resolve().then(d.t.bind(null,"wOnQ",7))).catch(function(qe){return Promise.reject(new Error("Could not load html2canvas: "+qe))}).then(function(qe){return qe.default?qe.default:qe})}function Be(){return(b.DOMPurify?Promise.resolve(b.DOMPurify):d.e(242).then(d.t.bind(null,"qZ2Q",7))).catch(function(qe){return Promise.reject(new Error("Could not load dompurify: "+qe))}).then(function(qe){return qe.default?qe.default:qe})}var Fe=function(vt){var lt=C()(vt);return lt==="undefined"?"undefined":lt==="string"||vt instanceof String?"string":lt==="number"||vt instanceof Number?"number":lt==="function"||vt instanceof Function?"function":vt&&vt.constructor===Array?"array":vt&&vt.nodeType===1?"element":lt==="object"?"object":"unknown"},Ge=function(vt,lt){var Ft=document.createElement(vt);for(var wr in lt.className&&(Ft.className=lt.className),lt.innerHTML&&lt.dompurify&&(Ft.innerHTML=lt.dompurify.sanitize(lt.innerHTML)),lt.style)Ft.style[wr]=lt.style[wr];return Ft},Ke=function qe(vt){var lt=Object.assign(qe.convert(Promise.resolve()),JSON.parse(JSON.stringify(qe.template))),Ft=qe.convert(Promise.resolve(),lt);return Ft=(Ft=Ft.setProgress(1,qe,1,[qe])).set(vt)};(Ke.prototype=Object.create(Promise.prototype)).constructor=Ke,Ke.convert=function(qe,vt){return qe.__proto__=vt||Ke.prototype,qe},Ke.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"}},Ke.prototype.from=function(qe,vt){return this.then(function(){switch(vt=vt||function(lt){switch(Fe(lt)){case"string":return"string";case"element":return lt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(qe)){case"string":return this.then(Be).then(function(lt){return this.set({src:Ge("div",{innerHTML:qe,dompurify:lt})})});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.")}})},Ke.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.")}},Ke.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},vt=function lt(Ft,wr){for(var pr=Ft.nodeType===3?document.createTextNode(Ft.nodeValue):Ft.cloneNode(!1),Dr=Ft.firstChild;Dr;Dr=Dr.nextSibling)wr!==!0&&Dr.nodeType===1&&Dr.nodeName==="SCRIPT"||pr.appendChild(lt(Dr,wr));return Ft.nodeType===1&&(Ft.nodeName==="CANVAS"?(pr.width=Ft.width,pr.height=Ft.height,pr.getContext("2d").drawImage(Ft,0,0)):Ft.nodeName!=="TEXTAREA"&&Ft.nodeName!=="SELECT"||(pr.value=Ft.value),pr.addEventListener("load",function(){pr.scrollTop=Ft.scrollTop,pr.scrollLeft=Ft.scrollLeft},!0)),pr}(this.prop.src,this.opt.html2canvas.javascriptEnabled);vt.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=Ge("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=Ge("div",{className:"html2pdf__container",style:qe}),this.prop.container.appendChild(vt),this.prop.container.firstChild.appendChild(Ge("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"})},Ke.prototype.toCanvas=function(){var qe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(qe).then(Ie).then(function(vt){var lt=Object.assign({},this.opt.html2canvas);return delete lt.onrendered,vt(this.prop.container,lt)}).then(function(vt){(this.opt.html2canvas.onrendered||function(){})(vt),this.prop.canvas=vt,document.body.removeChild(this.prop.overlay)})},Ke.prototype.toContext2d=function(){var qe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(qe).then(Ie).then(function(vt){var lt=this.opt.jsPDF,Ft=this.opt.fontFaces,wr=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,pr=Object.assign({async:!0,allowTaint:!0,scale:wr,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 pr.onrendered,lt.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,lt.context2d.posX=this.opt.x,lt.context2d.posY=this.opt.y,lt.context2d.margin=this.opt.margin,lt.context2d.fontFaces=Ft,Ft)for(var Dr=0;Dr<Ft.length;++Dr){var zt=Ft[Dr],hn=zt.src.find(function(ir){return ir.format==="truetype"});hn&&lt.addFont(hn.url,zt.ref.name,zt.ref.style)}return pr.windowHeight=pr.windowHeight||0,pr.windowHeight=pr.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):pr.windowHeight,lt.context2d.save(!0),vt(this.prop.container,pr)}).then(function(vt){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(vt),this.prop.canvas=vt,document.body.removeChild(this.prop.overlay)})},Ke.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})},Ke.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Ke.prototype.output=function(qe,vt,lt){return(lt=lt||"pdf").toLowerCase()==="img"||lt.toLowerCase()==="image"?this.outputImg(qe,vt):this.outputPdf(qe,vt)},Ke.prototype.outputPdf=function(qe,vt){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(qe,vt)})},Ke.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.'}})},Ke.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)})},Ke.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Ke.prototype.set=function(qe){if(Fe(qe)!=="object")return this;var vt=Object.keys(qe||{}).map(function(lt){if(lt in Ke.template.prop)return function(){this.prop[lt]=qe[lt]};switch(lt){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[lt]=qe[lt]}}},this);return this.then(function(){return this.thenList(vt)})},Ke.prototype.get=function(qe,vt){return this.then(function(){var lt=qe in Ke.template.prop?this.prop[qe]:this.opt[qe];return vt?vt(lt):lt})},Ke.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)},Ke.prototype.setPageSize=function(qe){function vt(lt,Ft){return Math.floor(lt*Ft/72*96)}return this.then(function(){(qe=qe||j.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:vt(qe.inner.width,qe.k),height:vt(qe.inner.height,qe.k)},qe.inner.ratio=qe.inner.height/qe.inner.width),this.prop.pageSize=qe})},Ke.prototype.setProgress=function(qe,vt,lt,Ft){return qe!=null&&(this.progress.val=qe),vt!=null&&(this.progress.state=vt),lt!=null&&(this.progress.n=lt),Ft!=null&&(this.progress.stack=Ft),this.progress.ratio=this.progress.val/this.progress.state,this},Ke.prototype.updateProgress=function(qe,vt,lt,Ft){return this.setProgress(qe?this.progress.val+qe:null,vt||null,lt?this.progress.n+lt:null,Ft?this.progress.stack.concat(Ft):null)},Ke.prototype.then=function(qe,vt){var lt=this;return this.thenCore(qe,vt,function(Ft,wr){return lt.updateProgress(null,null,1,[Ft]),Promise.prototype.then.call(this,function(pr){return lt.updateProgress(null,Ft),pr}).then(Ft,wr).then(function(pr){return lt.updateProgress(1),pr})})},Ke.prototype.thenCore=function(qe,vt,lt){lt=lt||Promise.prototype.then,qe&&(qe=qe.bind(this)),vt&&(vt=vt.bind(this));var Ft=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:Ke.convert(Object.assign({},this),Promise.prototype),wr=lt.call(Ft,qe,vt);return Ke.convert(wr,this.__proto__)},Ke.prototype.thenExternal=function(qe,vt){return Promise.prototype.then.call(this,qe,vt)},Ke.prototype.thenList=function(qe){var vt=this;return qe.forEach(function(lt){vt=vt.thenCore(lt)}),vt},Ke.prototype.catch=function(qe){qe&&(qe=qe.bind(this));var vt=Promise.prototype.catch.call(this,qe);return Ke.convert(vt,this)},Ke.prototype.catchExternal=function(qe){return Promise.prototype.catch.call(this,qe)},Ke.prototype.error=function(qe){return this.then(function(){throw new Error(qe)})},Ke.prototype.using=Ke.prototype.set,Ke.prototype.saveAs=Ke.prototype.save,Ke.prototype.export=Ke.prototype.output,Ke.prototype.run=Ke.prototype.then,j.getPageSize=function(qe,vt,lt){if(C()(qe)==="object"){var Ft=qe;qe=Ft.orientation,vt=Ft.unit||vt,lt=Ft.format||lt}vt=vt||"mm",lt=lt||"a4",qe=(""+(qe||"P")).toLowerCase();var wr,pr=(""+lt).toLowerCase(),Dr={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(vt){case"pt":wr=1;break;case"mm":wr=72/25.4;break;case"cm":wr=72/2.54;break;case"in":wr=72;break;case"px":wr=.75;break;case"pc":case"em":wr=12;break;case"ex":wr=6;break;default:throw"Invalid unit: "+vt}var zt,hn=0,ir=0;if(Dr.hasOwnProperty(pr))hn=Dr[pr][1]/wr,ir=Dr[pr][0]/wr;else try{hn=lt[1],ir=lt[0]}catch(Xr){throw new Error("Invalid format: "+lt)}if(qe==="p"||qe==="portrait")qe="p",ir>hn&&(zt=ir,ir=hn,hn=zt);else{if(qe!=="l"&&qe!=="landscape")throw"Invalid orientation: "+qe;qe="l",hn>ir&&(zt=ir,ir=hn,hn=zt)}return{width:ir,height:hn,unit:vt,k:wr,orientation:qe}},Xe.html=function(qe,vt){(vt=vt||{}).callback=vt.callback||function(){},vt.html2canvas=vt.html2canvas||{},vt.html2canvas.canvas=vt.html2canvas.canvas||this.canvas,vt.jsPDF=vt.jsPDF||this,vt.fontFaces=vt.fontFaces?vt.fontFaces.map(Fr):null;var lt=new Ke(vt);return vt.worker?lt:lt.from(qe).doCallback()}}(j.API),j.API.addJS=function(Xe){return Jr=Xe,this.internal.events.subscribe("postPutResources",function(){fr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(fr+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),yn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Jr+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){fr!==void 0&&yn!==void 0&&this.internal.out("/Names <</JavaScript "+fr+" 0 R>>")}),this},function(Xe){var Ie;Xe.events.push(["postPutResources",function(){var Be=this,Fe=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Ge=Be.outline.render().split(/\r\n/),Ke=0;Ke<Ge.length;Ke++){var qe=Ge[Ke],vt=Fe.exec(qe);if(vt!=null){var lt=vt[1];Be.internal.newObjectDeferredBegin(lt,!1)}Be.internal.write(qe)}if(this.outline.createNamedDestinations){var Ft=this.internal.pages.length,wr=[];for(Ke=0;Ke<Ft;Ke++){var pr=Be.internal.newObject();wr.push(pr);var Dr=Be.internal.getPageInfo(Ke+1);Be.internal.write("<< /D["+Dr.objId+" 0 R /XYZ null null null]>> endobj")}var zt=Be.internal.newObject();for(Be.internal.write("<< /Names [ "),Ke=0;Ke<wr.length;Ke++)Be.internal.write("(page_"+(Ke+1)+")"+wr[Ke]+" 0 R");Be.internal.write(" ] >>","endobj"),Ie=Be.internal.newObject(),Be.internal.write("<< /Dests "+zt+" 0 R"),Be.internal.write(">>","endobj")}}]),Xe.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 "+Ie+" 0 R"))}]),Xe.events.push(["initialized",function(){var Be=this;Be.outline={createNamedDestinations:!1,root:{children:[]}},Be.outline.add=function(Fe,Ge,Ke){var qe={title:Ge,options:Ke,children:[]};return Fe==null&&(Fe=this.root),Fe.children.push(qe),qe},Be.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Be,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Be.outline.genIds_r=function(Fe){Fe.id=Be.internal.newObjectDeferred();for(var Ge=0;Ge<Fe.children.length;Ge++)this.genIds_r(Fe.children[Ge])},Be.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()},Be.outline.renderItems=function(Fe){for(var Ge=this.ctx.pdf.internal.getVerticalCoordinateString,Ke=0;Ke<Fe.children.length;Ke++){var qe=Fe.children[Ke];this.objStart(qe),this.line("/Title "+this.makeString(qe.title)),this.line("/Parent "+this.makeRef(Fe)),Ke>0&&this.line("/Prev "+this.makeRef(Fe.children[Ke-1])),Ke<Fe.children.length-1&&this.line("/Next "+this.makeRef(Fe.children[Ke+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 vt=this.count=this.count_r({count:0},qe);if(vt>0&&this.line("/Count "+vt),qe.options&&qe.options.pageNumber){var lt=Be.internal.getPageInfo(qe.options.pageNumber);this.line("/Dest ["+lt.objId+" 0 R /XYZ 0 "+Ge(0)+" 0]")}this.objEnd()}for(var Ft=0;Ft<Fe.children.length;Ft++)this.renderItems(Fe.children[Ft])},Be.outline.line=function(Fe){this.ctx.val+=Fe+`\r
`},Be.outline.makeRef=function(Fe){return Fe.id+" 0 R"},Be.outline.makeString=function(Fe){return"("+Be.internal.pdfEscape(Fe)+")"},Be.outline.objStart=function(Fe){this.ctx.val+=`\r
`+Fe.id+` 0 obj\r
<<\r
`},Be.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},Be.outline.count_r=function(Fe,Ge){for(var Ke=0;Ke<Ge.children.length;Ke++)Fe.count++,this.count_r(Fe,Ge.children[Ke]);return Fe.count}}])}(j.API),function(Xe){var Ie=[192,193,194,195,196,197,198,199];Xe.processJPEG=function(Be,Fe,Ge,Ke,qe,vt){var lt,Ft=this.decode.DCT_DECODE,wr=null;if(typeof Be=="string"||this.__addimage__.isArrayBuffer(Be)||this.__addimage__.isArrayBufferView(Be)){switch(Be=qe||Be,Be=this.__addimage__.isArrayBuffer(Be)?new Uint8Array(Be):Be,(lt=function(pr){for(var Dr,zt=256*pr.charCodeAt(4)+pr.charCodeAt(5),hn=pr.length,ir={width:0,height:0,numcomponents:1},Xr=4;Xr<hn;Xr+=2){if(Xr+=zt,Ie.indexOf(pr.charCodeAt(Xr+1))!==-1){Dr=256*pr.charCodeAt(Xr+5)+pr.charCodeAt(Xr+6),ir={width:256*pr.charCodeAt(Xr+7)+pr.charCodeAt(Xr+8),height:Dr,numcomponents:pr.charCodeAt(Xr+9)};break}zt=256*pr.charCodeAt(Xr+2)+pr.charCodeAt(Xr+3)}return ir}(Be=this.__addimage__.isArrayBufferView(Be)?this.__addimage__.arrayBufferToBinaryString(Be):Be)).numcomponents){case 1:vt=this.color_spaces.DEVICE_GRAY;break;case 4:vt=this.color_spaces.DEVICE_CMYK;break;case 3:vt=this.color_spaces.DEVICE_RGB}wr={data:Be,width:lt.width,height:lt.height,colorSpace:vt,bitsPerComponent:8,filter:Ft,index:Fe,alias:Ge}}return wr}}(j.API);var Nt,Ve,_e,ke,Pe,rt=function(){var Xe,Ie,Be;function Fe(Ke){var qe,vt,lt,Ft,wr,pr,Dr,zt,hn,ir,Xr,Br,vr,Cn;for(this.data=Ke,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},pr=null;;){switch(qe=this.readUInt32(),hn=function(){var kn,ei;for(ei=[],kn=0;kn<4;++kn)ei.push(String.fromCharCode(this.data[this.pos++]));return ei}.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":pr&&this.animation.frames.push(pr),this.pos+=4,pr={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},wr=this.readUInt16(),Ft=this.readUInt16()||100,pr.delay=1e3*wr/Ft,pr.disposeOp=this.data[this.pos++],pr.blendOp=this.data[this.pos++],pr.data=[];break;case"IDAT":case"fdAT":for(hn==="fdAT"&&(this.pos+=4,qe-=4),Ke=(pr!=null?pr.data:void 0)||this.imgData,Br=0;0<=qe?Br<qe:Br>qe;0<=qe?++Br:--Br)Ke.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(lt=this.palette.length/3,this.transparency.indexed=this.read(qe),this.transparency.indexed.length>lt)throw new Error("More transparent colors than palette size");if((ir=lt-this.transparency.indexed.length)>0)for(vr=0;0<=ir?vr<ir:vr>ir;0<=ir?++vr:--vr)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":Dr=(Xr=this.read(qe)).indexOf(0),zt=String.fromCharCode.apply(String,Xr.slice(0,Dr)),this.text[zt]=String.fromCharCode.apply(String,Xr.slice(Dr+1));break;case"IEND":return pr&&this.animation.frames.push(pr),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Cn=this.colorType)===4||Cn===6,vt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*vt,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(Ke){var qe,vt;for(vt=[],qe=0;0<=Ke?qe<Ke:qe>Ke;0<=Ke?++qe:--qe)vt.push(this.data[this.pos++]);return vt},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(Ke){var qe=this.pixelBitlength/8,vt=new Uint8Array(this.width*this.height*qe),lt=0,Ft=this;if(Ke==null&&(Ke=this.imgData),Ke.length===0)return new Uint8Array(0);function wr(pr,Dr,zt,hn){var ir,Xr,Br,vr,Cn,kn,ei,ii,ti,Ti,Bn,Di,gn,Vr,Sn,tn,ci,qn,wi,Jn,Qi,xi=Math.ceil((Ft.width-pr)/zt),Ei=Math.ceil((Ft.height-Dr)/hn),dn=Ft.width==xi&&Ft.height==Ei;for(Vr=qe*xi,Di=dn?vt:new Uint8Array(Vr*Ei),kn=Ke.length,gn=0,Xr=0;gn<Ei&&lt<kn;){switch(Ke[lt++]){case 0:for(vr=ci=0;ci<Vr;vr=ci+=1)Di[Xr++]=Ke[lt++];break;case 1:for(vr=qn=0;qn<Vr;vr=qn+=1)ir=Ke[lt++],Cn=vr<qe?0:Di[Xr-qe],Di[Xr++]=(ir+Cn)%256;break;case 2:for(vr=wi=0;wi<Vr;vr=wi+=1)ir=Ke[lt++],Br=(vr-vr%qe)/qe,Sn=gn&&Di[(gn-1)*Vr+Br*qe+vr%qe],Di[Xr++]=(Sn+ir)%256;break;case 3:for(vr=Jn=0;Jn<Vr;vr=Jn+=1)ir=Ke[lt++],Br=(vr-vr%qe)/qe,Cn=vr<qe?0:Di[Xr-qe],Sn=gn&&Di[(gn-1)*Vr+Br*qe+vr%qe],Di[Xr++]=(ir+Math.floor((Cn+Sn)/2))%256;break;case 4:for(vr=Qi=0;Qi<Vr;vr=Qi+=1)ir=Ke[lt++],Br=(vr-vr%qe)/qe,Cn=vr<qe?0:Di[Xr-qe],gn===0?Sn=tn=0:(Sn=Di[(gn-1)*Vr+Br*qe+vr%qe],tn=Br&&Di[(gn-1)*Vr+(Br-1)*qe+vr%qe]),ei=Cn+Sn-tn,ii=Math.abs(ei-Cn),Ti=Math.abs(ei-Sn),Bn=Math.abs(ei-tn),ti=ii<=Ti&&ii<=Bn?Cn:Ti<=Bn?Sn:tn,Di[Xr++]=(ir+ti)%256;break;default:throw new Error("Invalid filter algorithm: "+Ke[lt-1])}if(!dn){var Mr=((Dr+gn*hn)*Ft.width+pr)*qe,wn=gn*Vr;for(vr=0;vr<xi;vr+=1){for(var Rn=0;Rn<qe;Rn+=1)vt[Mr++]=Di[wn++];Mr+=(zt-1)*qe}}gn++}}return Ke=Object(A.a)(Ke),Ft.interlaceMethod==1?(wr(0,0,8,8),wr(4,0,8,8),wr(0,4,4,8),wr(2,0,4,4),wr(0,2,2,4),wr(1,0,2,2),wr(0,1,1,2)):wr(0,0,1,1),vt},Fe.prototype.decodePalette=function(){var Ke,qe,vt,lt,Ft,wr,pr,Dr,zt;for(vt=this.palette,wr=this.transparency.indexed||[],Ft=new Uint8Array((wr.length||0)+vt.length),lt=0,Ke=0,qe=pr=0,Dr=vt.length;pr<Dr;qe=pr+=3)Ft[lt++]=vt[qe],Ft[lt++]=vt[qe+1],Ft[lt++]=vt[qe+2],Ft[lt++]=(zt=wr[Ke++])!=null?zt:255;return Ft},Fe.prototype.copyToImageData=function(Ke,qe){var vt,lt,Ft,wr,pr,Dr,zt,hn,ir,Xr,Br;if(lt=this.colors,ir=null,vt=this.hasAlphaChannel,this.palette.length&&(ir=(Br=this._decodedPalette)!=null?Br:this._decodedPalette=this.decodePalette(),lt=4,vt=!0),hn=(Ft=Ke.data||Ke).length,pr=ir||qe,wr=Dr=0,lt===1)for(;wr<hn;)zt=ir?4*qe[wr/4]:Dr,Xr=pr[zt++],Ft[wr++]=Xr,Ft[wr++]=Xr,Ft[wr++]=Xr,Ft[wr++]=vt?pr[zt++]:255,Dr=zt;else for(;wr<hn;)zt=ir?4*qe[wr/4]:Dr,Ft[wr++]=pr[zt++],Ft[wr++]=pr[zt++],Ft[wr++]=pr[zt++],Ft[wr++]=vt?pr[zt++]:255,Dr=zt},Fe.prototype.decode=function(){var Ke;return Ke=new Uint8Array(this.width*this.height*4),this.copyToImageData(Ke,this.decodePixels()),Ke};var Ge=function(){if(Object.prototype.toString.call(b)==="[object Window]"){try{Ie=b.document.createElement("canvas"),Be=Ie.getContext("2d")}catch(qe){return!1}return!0}return!1};return Ge(),Xe=function(qe){var vt;if(Ge()===!0)return Be.width=qe.width,Be.height=qe.height,Be.clearRect(0,0,qe.width,qe.height),Be.putImageData(qe,0,0),(vt=new Image).src=Ie.toDataURL(),vt;throw new Error("This method requires a Browser with Canvas-capability.")},Fe.prototype.decodeFrames=function(Ke){var qe,vt,lt,Ft,wr,pr,Dr,zt;if(this.animation){for(zt=[],vt=wr=0,pr=(Dr=this.animation.frames).length;wr<pr;vt=++wr)qe=Dr[vt],lt=Ke.createImageData(qe.width,qe.height),Ft=this.decodePixels(new Uint8Array(qe.data)),this.copyToImageData(lt,Ft),qe.imageData=lt,zt.push(qe.image=Xe(lt));return zt}},Fe.prototype.renderFrame=function(Ke,qe){var vt,lt,Ft;return vt=(lt=this.animation.frames)[qe],Ft=lt[qe-1],qe===0&&Ke.clearRect(0,0,this.width,this.height),(Ft!=null?Ft.disposeOp:void 0)===1?Ke.clearRect(Ft.xOffset,Ft.yOffset,Ft.width,Ft.height):(Ft!=null?Ft.disposeOp:void 0)===2&&Ke.putImageData(Ft.imageData,Ft.xOffset,Ft.yOffset),vt.blendOp===0&&Ke.clearRect(vt.xOffset,vt.yOffset,vt.width,vt.height),Ke.drawImage(vt.image,vt.xOffset,vt.yOffset)},Fe.prototype.animate=function(Ke){var qe,vt,lt,Ft,wr,pr,Dr=this;return vt=0,pr=this.animation,Ft=pr.numFrames,lt=pr.frames,wr=pr.numPlays,(qe=function(){var hn,ir;if(hn=vt++%Ft,ir=lt[hn],Dr.renderFrame(Ke,hn),Ft>1&&vt/Ft<wr)return Dr.animation._timeout=setTimeout(qe,ir.delay)})()},Fe.prototype.stopAnimation=function(){var Ke;return clearTimeout((Ke=this.animation)!=null?Ke._timeout:void 0)},Fe.prototype.render=function(Ke){var qe,vt;return Ke._png&&Ke._png.stopAnimation(),Ke._png=this,Ke.width=this.width,Ke.height=this.height,qe=Ke.getContext("2d"),this.animation?(this.decodeFrames(qe),this.animate(qe)):(vt=qe.createImageData(this.width,this.height),this.copyToImageData(vt,this.decodePixels()),qe.putImageData(vt,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 Pt(Xe){var Ie=0;if(Xe[Ie++]!==71||Xe[Ie++]!==73||Xe[Ie++]!==70||Xe[Ie++]!==56||(Xe[Ie++]+1&253)!=56||Xe[Ie++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Be=Xe[Ie++]|Xe[Ie++]<<8,Fe=Xe[Ie++]|Xe[Ie++]<<8,Ge=Xe[Ie++],Ke=Ge>>7,qe=1<<(7&Ge)+1;Xe[Ie++],Xe[Ie++];var vt=null,lt=null;Ke&&(vt=Ie,lt=qe,Ie+=3*qe);var Ft=!0,wr=[],pr=0,Dr=null,zt=0,hn=null;for(this.width=Be,this.height=Fe;Ft&&Ie<Xe.length;)switch(Xe[Ie++]){case 33:switch(Xe[Ie++]){case 255:if(Xe[Ie]!==11||Xe[Ie+1]==78&&Xe[Ie+2]==69&&Xe[Ie+3]==84&&Xe[Ie+4]==83&&Xe[Ie+5]==67&&Xe[Ie+6]==65&&Xe[Ie+7]==80&&Xe[Ie+8]==69&&Xe[Ie+9]==50&&Xe[Ie+10]==46&&Xe[Ie+11]==48&&Xe[Ie+12]==3&&Xe[Ie+13]==1&&Xe[Ie+16]==0)Ie+=14,hn=Xe[Ie++]|Xe[Ie++]<<8,Ie++;else for(Ie+=12;;){if(!((gn=Xe[Ie++])>=0))throw Error("Invalid block size");if(gn===0)break;Ie+=gn}break;case 249:if(Xe[Ie++]!==4||Xe[Ie+4]!==0)throw new Error("Invalid graphics extension block.");var ir=Xe[Ie++];pr=Xe[Ie++]|Xe[Ie++]<<8,Dr=Xe[Ie++],(1&ir)==0&&(Dr=null),zt=ir>>2&7,Ie++;break;case 254:for(;;){if(!((gn=Xe[Ie++])>=0))throw Error("Invalid block size");if(gn===0)break;Ie+=gn}break;default:throw new Error("Unknown graphic control label: 0x"+Xe[Ie-1].toString(16))}break;case 44:var Xr=Xe[Ie++]|Xe[Ie++]<<8,Br=Xe[Ie++]|Xe[Ie++]<<8,vr=Xe[Ie++]|Xe[Ie++]<<8,Cn=Xe[Ie++]|Xe[Ie++]<<8,kn=Xe[Ie++],ei=kn>>6&1,ii=1<<(7&kn)+1,ti=vt,Ti=lt,Bn=!1;kn>>7&&(Bn=!0,ti=Ie,Ti=ii,Ie+=3*ii);var Di=Ie;for(Ie++;;){var gn;if(!((gn=Xe[Ie++])>=0))throw Error("Invalid block size");if(gn===0)break;Ie+=gn}wr.push({x:Xr,y:Br,width:vr,height:Cn,has_local_palette:Bn,palette_offset:ti,palette_size:Ti,data_offset:Di,data_length:Ie-Di,transparent_index:Dr,interlaced:!!ei,delay:pr,disposal:zt});break;case 59:Ft=!1;break;default:throw new Error("Unknown gif block: 0x"+Xe[Ie-1].toString(16))}this.numFrames=function(){return wr.length},this.loopCount=function(){return hn},this.frameInfo=function(Vr){if(Vr<0||Vr>=wr.length)throw new Error("Frame index out of range.");return wr[Vr]},this.decodeAndBlitFrameBGRA=function(Vr,Sn){var tn=this.frameInfo(Vr),ci=tn.width*tn.height,qn=new Uint8Array(ci);Yt(Xe,tn.data_offset,qn,ci);var wi=tn.palette_offset,Jn=tn.transparent_index;Jn===null&&(Jn=256);var Qi=tn.width,xi=Be-Qi,Ei=Qi,dn=4*(tn.y*Be+tn.x),Mr=4*((tn.y+tn.height)*Be+tn.x),wn=dn,Rn=4*xi;tn.interlaced===!0&&(Rn+=4*Be*7);for(var Xn=8,Zn=0,hi=qn.length;Zn<hi;++Zn){var mi=qn[Zn];if(Ei===0&&(Ei=Qi,(wn+=Rn)>=Mr&&(Rn=4*xi+4*Be*(Xn-1),wn=dn+(Qi+xi)*(Xn<<1),Xn>>=1)),mi===Jn)wn+=4;else{var gi=Xe[wi+3*mi],Vi=Xe[wi+3*mi+1],ma=Xe[wi+3*mi+2];Sn[wn++]=ma,Sn[wn++]=Vi,Sn[wn++]=gi,Sn[wn++]=255}--Ei}},this.decodeAndBlitFrameRGBA=function(Vr,Sn){var tn=this.frameInfo(Vr),ci=tn.width*tn.height,qn=new Uint8Array(ci);Yt(Xe,tn.data_offset,qn,ci);var wi=tn.palette_offset,Jn=tn.transparent_index;Jn===null&&(Jn=256);var Qi=tn.width,xi=Be-Qi,Ei=Qi,dn=4*(tn.y*Be+tn.x),Mr=4*((tn.y+tn.height)*Be+tn.x),wn=dn,Rn=4*xi;tn.interlaced===!0&&(Rn+=4*Be*7);for(var Xn=8,Zn=0,hi=qn.length;Zn<hi;++Zn){var mi=qn[Zn];if(Ei===0&&(Ei=Qi,(wn+=Rn)>=Mr&&(Rn=4*xi+4*Be*(Xn-1),wn=dn+(Qi+xi)*(Xn<<1),Xn>>=1)),mi===Jn)wn+=4;else{var gi=Xe[wi+3*mi],Vi=Xe[wi+3*mi+1],ma=Xe[wi+3*mi+2];Sn[wn++]=gi,Sn[wn++]=Vi,Sn[wn++]=ma,Sn[wn++]=255}--Ei}}}function Yt(Xe,Ie,Be,Fe){for(var Ge=Xe[Ie++],Ke=1<<Ge,qe=Ke+1,vt=qe+1,lt=Ge+1,Ft=(1<<lt)-1,wr=0,pr=0,Dr=0,zt=Xe[Ie++],hn=new Int32Array(4096),ir=null;;){for(;wr<16&&zt!==0;)pr|=Xe[Ie++]<<wr,wr+=8,zt===1?zt=Xe[Ie++]:--zt;if(wr<lt)break;var Xr=pr&Ft;if(pr>>=lt,wr-=lt,Xr!==Ke){if(Xr===qe)break;for(var Br=Xr<vt?Xr:ir,vr=0,Cn=Br;Cn>Ke;)Cn=hn[Cn]>>8,++vr;var kn=Cn;if(Dr+vr+(Br!==Xr?1:0)>Fe)return void p.log("Warning, gif stream longer than expected.");Be[Dr++]=kn;var ei=Dr+=vr;for(Br!==Xr&&(Be[Dr++]=kn),Cn=Br;vr--;)Cn=hn[Cn],Be[--ei]=255&Cn,Cn>>=8;ir!==null&&vt<4096&&(hn[vt++]=ir<<8|kn,vt>=Ft+1&&lt<12&&(++lt,Ft=Ft<<1|1)),ir=Xr}else vt=qe+1,Ft=(1<<(lt=Ge+1))-1,ir=null}return Dr!==Fe&&p.log("Warning, gif stream shorter than expected."),Be}/**
* @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 kt(Xe){var Ie,Be,Fe,Ge,Ke,qe=Math.floor,vt=new Array(64),lt=new Array(64),Ft=new Array(64),wr=new Array(64),pr=new Array(65535),Dr=new Array(65535),zt=new Array(64),hn=new Array(64),ir=[],Xr=0,Br=7,vr=new Array(64),Cn=new Array(64),kn=new Array(64),ei=new Array(256),ii=new Array(2048),ti=[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],Ti=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Bn=[0,1,2,3,4,5,6,7,8,9,10,11],Di=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],gn=[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],Vr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Sn=[0,1,2,3,4,5,6,7,8,9,10,11],tn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ci=[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 qn(dn,Mr){for(var wn=0,Rn=0,Xn=new Array,Zn=1;Zn<=16;Zn++){for(var hi=1;hi<=dn[Zn];hi++)Xn[Mr[Rn]]=[],Xn[Mr[Rn]][0]=wn,Xn[Mr[Rn]][1]=Zn,Rn++,wn++;wn*=2}return Xn}function wi(dn){for(var Mr=dn[0],wn=dn[1]-1;wn>=0;)Mr&1<<wn&&(Xr|=1<<Br),wn--,--Br<0&&(Xr==255?(Jn(255),Jn(0)):Jn(Xr),Br=7,Xr=0)}function Jn(dn){ir.push(dn)}function Qi(dn){Jn(dn>>8&255),Jn(255&dn)}function xi(dn,Mr,wn,Rn,Xn){for(var Zn,hi=Xn[0],mi=Xn[240],gi=function(zi,da){var Vt,Qr,an,mn,Ye,It,lr,sr,Lr,Pr,Kr=0;for(Lr=0;Lr<8;++Lr){Vt=zi[Kr],Qr=zi[Kr+1],an=zi[Kr+2],mn=zi[Kr+3],Ye=zi[Kr+4],It=zi[Kr+5],lr=zi[Kr+6];var on=Vt+(sr=zi[Kr+7]),xn=Vt-sr,An=Qr+lr,Pn=Qr-lr,Un=an+It,bn=an-It,_n=mn+Ye,Tn=mn-Ye,Wn=on+_n,Gn=on-_n,ri=An+Un,Si=An-Un;zi[Kr]=Wn+ri,zi[Kr+4]=Wn-ri;var oi=.707106781*(Si+Gn);zi[Kr+2]=Gn+oi,zi[Kr+6]=Gn-oi;var Pi=.382683433*((Wn=Tn+bn)-(Si=Pn+xn)),Hi=.5411961*Wn+Pi,_i=1.306562965*Si+Pi,pi=.707106781*(ri=bn+Pn),ki=xn+pi,zn=xn-pi;zi[Kr+5]=zn+Hi,zi[Kr+3]=zn-Hi,zi[Kr+1]=ki+_i,zi[Kr+7]=ki-_i,Kr+=8}for(Kr=0,Lr=0;Lr<8;++Lr){Vt=zi[Kr],Qr=zi[Kr+8],an=zi[Kr+16],mn=zi[Kr+24],Ye=zi[Kr+32],It=zi[Kr+40],lr=zi[Kr+48];var ji=Vt+(sr=zi[Kr+56]),Yi=Vt-sr,ta=Qr+lr,Zi=Qr-lr,br=an+It,Wr=an-It,nn=mn+Ye,Nr=mn-Ye,jt=ji+nn,xr=ji-nn,$t=ta+br,jr=ta-br;zi[Kr]=jt+$t,zi[Kr+32]=jt-$t;var Hr=.707106781*(jr+xr);zi[Kr+16]=xr+Hr,zi[Kr+48]=xr-Hr;var ln=.382683433*((jt=Nr+Wr)-(jr=Zi+Yi)),qr=.5411961*jt+ln,fn=1.306562965*jr+ln,Dn=.707106781*($t=Wr+Zi),li=Yi+Dn,di=Yi-Dn;zi[Kr+40]=di+qr,zi[Kr+24]=di-qr,zi[Kr+8]=li+fn,zi[Kr+56]=li-fn,Kr++}for(Lr=0;Lr<64;++Lr)Pr=zi[Lr]*da[Lr],zt[Lr]=Pr>0?Pr+.5|0:Pr-.5|0;return zt}(dn,Mr),Vi=0;Vi<64;++Vi)hn[ti[Vi]]=gi[Vi];var ma=hn[0]-wn;wn=hn[0],ma==0?wi(Rn[0]):(wi(Rn[Dr[Zn=32767+ma]]),wi(pr[Zn]));for(var ca=63;ca>0&&hn[ca]==0;)ca--;if(ca==0)return wi(hi),wn;for(var ja,fi=1;fi<=ca;){for(var cn=fi;hn[fi]==0&&fi<=ca;)++fi;var Bi=fi-cn;if(Bi>=16){ja=Bi>>4;for(var sa=1;sa<=ja;++sa)wi(mi);Bi&=15}Zn=32767+hn[fi],wi(Xn[(Bi<<4)+Dr[Zn]]),wi(pr[Zn]),fi++}return ca!=63&&wi(hi),wn}function Ei(dn){(dn=Math.min(Math.max(dn,1),100),Ke!=dn)&&(!function(Mr){for(var wn=[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],Rn=0;Rn<64;Rn++){var Xn=qe((wn[Rn]*Mr+50)/100);Xn=Math.min(Math.max(Xn,1),255),vt[ti[Rn]]=Xn}for(var Zn=[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],hi=0;hi<64;hi++){var mi=qe((Zn[hi]*Mr+50)/100);mi=Math.min(Math.max(mi,1),255),lt[ti[hi]]=mi}for(var gi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Vi=0,ma=0;ma<8;ma++)for(var ca=0;ca<8;ca++)Ft[Vi]=1/(vt[ti[Vi]]*gi[ma]*gi[ca]*8),wr[Vi]=1/(lt[ti[Vi]]*gi[ma]*gi[ca]*8),Vi++}(dn<50?Math.floor(5e3/dn):Math.floor(200-2*dn)),Ke=dn)}this.encode=function(dn,Mr){Mr&&Ei(Mr),ir=new Array,Xr=0,Br=7,Qi(65496),Qi(65504),Qi(16),Jn(74),Jn(70),Jn(73),Jn(70),Jn(0),Jn(1),Jn(1),Jn(0),Qi(1),Qi(1),Jn(0),Jn(0),function(){Qi(65499),Qi(132),Jn(0);for(var Qr=0;Qr<64;Qr++)Jn(vt[Qr]);Jn(1);for(var an=0;an<64;an++)Jn(lt[an])}(),function(Qr,an){Qi(65472),Qi(17),Jn(8),Qi(an),Qi(Qr),Jn(3),Jn(1),Jn(17),Jn(0),Jn(2),Jn(17),Jn(1),Jn(3),Jn(17),Jn(1)}(dn.width,dn.height),function(){Qi(65476),Qi(418),Jn(0);for(var Qr=0;Qr<16;Qr++)Jn(Ti[Qr+1]);for(var an=0;an<=11;an++)Jn(Bn[an]);Jn(16);for(var mn=0;mn<16;mn++)Jn(Di[mn+1]);for(var Ye=0;Ye<=161;Ye++)Jn(gn[Ye]);Jn(1);for(var It=0;It<16;It++)Jn(Vr[It+1]);for(var lr=0;lr<=11;lr++)Jn(Sn[lr]);Jn(17);for(var sr=0;sr<16;sr++)Jn(tn[sr+1]);for(var Lr=0;Lr<=161;Lr++)Jn(ci[Lr])}(),Qi(65498),Qi(12),Jn(3),Jn(1),Jn(0),Jn(2),Jn(17),Jn(3),Jn(17),Jn(0),Jn(63),Jn(0);var wn=0,Rn=0,Xn=0;Xr=0,Br=7,this.encode.displayName="_encode_";for(var Zn,hi,mi,gi,Vi,ma,ca,ja,fi,cn=dn.data,Bi=dn.width,sa=dn.height,zi=4*Bi,da=0;da<sa;){for(Zn=0;Zn<zi;){for(Vi=zi*da+Zn,ca=-1,ja=0,fi=0;fi<64;fi++)ma=Vi+(ja=fi>>3)*zi+(ca=4*(7&fi)),da+ja>=sa&&(ma-=zi*(da+1+ja-sa)),Zn+ca>=zi&&(ma-=Zn+ca-zi+4),hi=cn[ma++],mi=cn[ma++],gi=cn[ma++],vr[fi]=(ii[hi]+ii[mi+256>>0]+ii[gi+512>>0]>>16)-128,Cn[fi]=(ii[hi+768>>0]+ii[mi+1024>>0]+ii[gi+1280>>0]>>16)-128,kn[fi]=(ii[hi+1280>>0]+ii[mi+1536>>0]+ii[gi+1792>>0]>>16)-128;wn=xi(vr,Ft,wn,Ie,Fe),Rn=xi(Cn,wr,Rn,Be,Ge),Xn=xi(kn,wr,Xn,Be,Ge),Zn+=32}da+=8}if(Br>=0){var Vt=[];Vt[1]=Br+1,Vt[0]=(1<<Br+1)-1,wi(Vt)}return Qi(65497),new Uint8Array(ir)},Xe=Xe||50,function(){for(var dn=String.fromCharCode,Mr=0;Mr<256;Mr++)ei[Mr]=dn(Mr)}(),Ie=qn(Ti,Bn),Be=qn(Vr,Sn),Fe=qn(Di,gn),Ge=qn(tn,ci),function(){for(var dn=1,Mr=2,wn=1;wn<=15;wn++){for(var Rn=dn;Rn<Mr;Rn++)Dr[32767+Rn]=wn,pr[32767+Rn]=[],pr[32767+Rn][1]=wn,pr[32767+Rn][0]=Rn;for(var Xn=-(Mr-1);Xn<=-dn;Xn++)Dr[32767+Xn]=wn,pr[32767+Xn]=[],pr[32767+Xn][1]=wn,pr[32767+Xn][0]=Mr-1+Xn;dn<<=1,Mr<<=1}}(),function(){for(var dn=0;dn<256;dn++)ii[dn]=19595*dn,ii[dn+256>>0]=38470*dn,ii[dn+512>>0]=7471*dn+32768,ii[dn+768>>0]=-11059*dn,ii[dn+1024>>0]=-21709*dn,ii[dn+1280>>0]=32768*dn+8421375,ii[dn+1536>>0]=-27439*dn,ii[dn+1792>>0]=-5329*dn}(),Ei(Xe)}/**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/function _r(Xe,Ie){if(this.pos=0,this.buffer=Xe,this.datav=new DataView(Xe.buffer),this.is_with_alpha=!!Ie,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 Rr(Xe){function Ie(Ti){if(!Ti)throw Error("assert :P")}function Be(Ti,Bn,Di){for(var gn=0;4>gn;gn++)if(Ti[Bn+gn]!=Di.charCodeAt(gn))return!0;return!1}function Fe(Ti,Bn,Di,gn,Vr){for(var Sn=0;Sn<Vr;Sn++)Ti[Bn+Sn]=Di[gn+Sn]}function Ge(Ti,Bn,Di,gn){for(var Vr=0;Vr<gn;Vr++)Ti[Bn+Vr]=Di}function Ke(Ti){return new Int32Array(Ti)}function qe(Ti,Bn){for(var Di=[],gn=0;gn<Ti;gn++)Di.push(new Bn);return Di}function vt(Ti,Bn){var Di=[];return function gn(Vr,Sn,tn){for(var ci=tn[Sn],qn=0;qn<ci&&(Vr.push(tn.length>Sn+1?[]:new Bn),!(tn.length<Sn+1));qn++)gn(Vr[qn],Sn+1,tn)}(Di,0,Ti),Di}var lt=function(){var Bn=this;function Di(be,Ue){for(var ct=1<<Ue-1>>>0;be&ct;)ct>>>=1;return ct?(be&ct-1)+ct:be}function gn(be,Ue,ct,Kt,dr){Ie(!(Kt%ct));do be[Ue+(Kt-=ct)]=dr;while(0<Kt)}function Vr(be,Ue,ct,Kt,dr){if(Ie(2328>=dr),512>=dr)var Cr=Ke(512);else if((Cr=Ke(dr))==null)return 0;return function(Ne,ee,Se,He,it,St){var Ct,Ot,Ar=ee,Or=1<<Se,mr=Ke(16),cr=Ke(16);for(Ie(it!=0),Ie(He!=null),Ie(Ne!=null),Ie(0<Se),Ot=0;Ot<it;++Ot){if(15<He[Ot])return 0;++mr[He[Ot]]}if(mr[0]==it)return 0;for(cr[1]=0,Ct=1;15>Ct;++Ct){if(mr[Ct]>1<<Ct)return 0;cr[Ct+1]=cr[Ct]+mr[Ct]}for(Ot=0;Ot<it;++Ot)Ct=He[Ot],0<He[Ot]&&(St[cr[Ct]++]=Ot);if(cr[15]==1)return(He=new Sn).g=0,He.value=St[0],gn(Ne,Ar,1,Or,He),Or;var Tr,kr=-1,sn=Or-1,jn=0,Vn=1,Li=1,ui=1<<Se;for(Ot=0,Ct=1,it=2;Ct<=Se;++Ct,it<<=1){if(Vn+=Li<<=1,0>(Li-=mr[Ct]))return 0;for(;0<mr[Ct];--mr[Ct])(He=new Sn).g=Ct,He.value=St[Ot++],gn(Ne,Ar+jn,it,ui,He),jn=Di(jn,Ct)}for(Ct=Se+1,it=2;15>=Ct;++Ct,it<<=1){if(Vn+=Li<<=1,0>(Li-=mr[Ct]))return 0;for(;0<mr[Ct];--mr[Ct]){if(He=new Sn,(jn&sn)!=kr){for(Ar+=ui,Tr=1<<(kr=Ct)-Se;15>kr&&!(0>=(Tr-=mr[kr]));)++kr,Tr<<=1;Or+=ui=1<<(Tr=kr-Se),Ne[ee+(kr=jn&sn)].g=Tr+Se,Ne[ee+kr].value=Ar-ee-kr}He.g=Ct-Se,He.value=St[Ot++],gn(Ne,Ar+(jn>>Se),it,ui,He),jn=Di(jn,Ct)}}return Vn!=2*cr[15]-1?0:Or}(be,Ue,ct,Kt,dr,Cr)}function Sn(){this.value=this.g=0}function tn(){this.value=this.g=0}function ci(){this.G=qe(5,Sn),this.H=Ke(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=qe(Lo,tn)}function qn(be,Ue,ct,Kt){Ie(be!=null),Ie(Ue!=null),Ie(2147483648>Kt),be.Ca=254,be.I=0,be.b=-8,be.Ka=0,be.oa=Ue,be.pa=ct,be.Jd=Ue,be.Yc=ct+Kt,be.Zc=4<=Kt?ct+Kt-4+1:ct,hi(be)}function wi(be,Ue){for(var ct=0;0<Ue--;)ct|=gi(be,128)<<Ue;return ct}function Jn(be,Ue){var ct=wi(be,Ue);return mi(be)?-ct:ct}function Qi(be,Ue,ct,Kt){var dr,Cr=0;for(Ie(be!=null),Ie(Ue!=null),Ie(4294967288>Kt),be.Sb=Kt,be.Ra=0,be.u=0,be.h=0,4<Kt&&(Kt=4),dr=0;dr<Kt;++dr)Cr+=Ue[ct+dr]<<8*dr;be.Ra=Cr,be.bb=Kt,be.oa=Ue,be.pa=ct}function xi(be){for(;8<=be.u&&be.bb<be.Sb;)be.Ra>>>=8,be.Ra+=be.oa[be.pa+be.bb]<<To-8>>>0,++be.bb,be.u-=8;Rn(be)&&(be.h=1,be.u=0)}function Ei(be,Ue){if(Ie(0<=Ue),!be.h&&Ue<=Ko){var ct=wn(be)&Zo[Ue];return be.u+=Ue,xi(be),ct}return be.h=1,be.u=0}function dn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Mr(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function wn(be){return be.Ra>>>(be.u&To-1)>>>0}function Rn(be){return Ie(be.bb<=be.Sb),be.h||be.bb==be.Sb&&be.u>To}function Xn(be,Ue){be.u=Ue,be.h=Rn(be)}function Zn(be){be.u>=aa&&(Ie(be.u>=aa),xi(be))}function hi(be){Ie(be!=null&&be.oa!=null),be.pa<be.Zc?(be.I=(be.oa[be.pa++]|be.I<<8)>>>0,be.b+=8):(Ie(be!=null&&be.oa!=null),be.pa<be.Yc?(be.b+=8,be.I=be.oa[be.pa++]|be.I<<8):be.Ka?be.b=0:(be.I<<=8,be.b+=8,be.Ka=1))}function mi(be){return wi(be,1)}function gi(be,Ue){var ct=be.Ca;0>be.b&&hi(be);var Kt=be.b,dr=ct*Ue>>>8,Cr=(be.I>>>Kt>dr)+0;for(Cr?(ct-=dr,be.I-=dr+1<<Kt>>>0):ct=dr+1,Kt=ct,dr=0;256<=Kt;)dr+=8,Kt>>=8;return Kt=7^dr+Ns[Kt],be.b-=Kt,be.Ca=(ct<<Kt)-1,Cr}function Vi(be,Ue,ct){be[Ue+0]=ct>>24&255,be[Ue+1]=ct>>16&255,be[Ue+2]=ct>>8&255,be[Ue+3]=ct>>0&255}function ma(be,Ue){return be[Ue+0]<<0|be[Ue+1]<<8}function ca(be,Ue){return ma(be,Ue)|be[Ue+2]<<16}function ja(be,Ue){return ma(be,Ue)|ma(be,Ue+2)<<16}function fi(be,Ue){var ct=1<<Ue;return Ie(be!=null),Ie(0<Ue),be.X=Ke(ct),be.X==null?0:(be.Mb=32-Ue,be.Xa=Ue,1)}function cn(be,Ue){Ie(be!=null),Ie(Ue!=null),Ie(be.Xa==Ue.Xa),Fe(Ue.X,0,be.X,0,1<<Ue.Xa)}function Bi(){this.X=[],this.Xa=this.Mb=0}function sa(be,Ue,ct,Kt){Ie(ct!=null),Ie(Kt!=null);var dr=ct[0],Cr=Kt[0];return dr==0&&(dr=(be*Cr+Ue/2)/Ue),Cr==0&&(Cr=(Ue*dr+be/2)/be),0>=dr||0>=Cr?0:(ct[0]=dr,Kt[0]=Cr,1)}function zi(be,Ue){return be+(1<<Ue)-1>>>Ue}function da(be,Ue){return((4278255360&be)+(4278255360&Ue)>>>0&4278255360)+((16711935&be)+(16711935&Ue)>>>0&16711935)>>>0}function Vt(be,Ue){Bn[Ue]=function(ct,Kt,dr,Cr,Ne,ee,Se){var He;for(He=0;He<Ne;++He){var it=Bn[be](ee[Se+He-1],dr,Cr+He);ee[Se+He]=da(ct[Kt+He],it)}}}function Qr(){this.ud=this.hd=this.jd=0}function an(be,Ue){return((4278124286&(be^Ue))>>>1)+(be&Ue)>>>0}function mn(be){return 0<=be&&256>be?be:0>be?0:255<be?255:void 0}function Ye(be,Ue){return mn(be+(be-Ue+.5>>1))}function It(be,Ue,ct){return Math.abs(Ue-ct)-Math.abs(be-ct)}function lr(be,Ue,ct,Kt,dr,Cr,Ne){for(Kt=Cr[Ne-1],ct=0;ct<dr;++ct)Cr[Ne+ct]=Kt=da(be[Ue+ct],Kt)}function sr(be,Ue,ct,Kt,dr){var Cr;for(Cr=0;Cr<ct;++Cr){var Ne=be[Ue+Cr],ee=Ne>>8&255,Se=16711935&(Se=(Se=16711935&Ne)+((ee<<16)+ee));Kt[dr+Cr]=(4278255360&Ne)+Se>>>0}}function Lr(be,Ue){Ue.jd=be>>0&255,Ue.hd=be>>8&255,Ue.ud=be>>16&255}function Pr(be,Ue,ct,Kt,dr,Cr){var Ne;for(Ne=0;Ne<Kt;++Ne){var ee=Ue[ct+Ne],Se=ee>>>8,He=ee,it=255&(it=(it=ee>>>16)+((be.jd<<24>>24)*(Se<<24>>24)>>>5));He=255&(He=(He=He+((be.hd<<24>>24)*(Se<<24>>24)>>>5))+((be.ud<<24>>24)*(it<<24>>24)>>>5)),dr[Cr+Ne]=(4278255360&ee)+(it<<16)+He}}function Kr(be,Ue,ct,Kt,dr){Bn[Ue]=function(Cr,Ne,ee,Se,He,it,St,Ct,Ot){for(Se=St;Se<Ct;++Se)for(St=0;St<Ot;++St)He[it++]=dr(ee[Kt(Cr[Ne++])])},Bn[be]=function(Cr,Ne,ee,Se,He,it,St){var Ct=8>>Cr.b,Ot=Cr.Ea,Ar=Cr.K[0],Or=Cr.w;if(8>Ct)for(Cr=(1<<Cr.b)-1,Or=(1<<Ct)-1;Ne<ee;++Ne){var mr,cr=0;for(mr=0;mr<Ot;++mr)mr&Cr||(cr=Kt(Se[He++])),it[St++]=dr(Ar[cr&Or]),cr>>=Ct}else Bn["VP8LMapColor"+ct](Se,He,Ar,Or,it,St,Ne,ee,Ot)}}function on(be,Ue,ct,Kt,dr){for(ct=Ue+ct;Ue<ct;){var Cr=be[Ue++];Kt[dr++]=Cr>>16&255,Kt[dr++]=Cr>>8&255,Kt[dr++]=Cr>>0&255}}function xn(be,Ue,ct,Kt,dr){for(ct=Ue+ct;Ue<ct;){var Cr=be[Ue++];Kt[dr++]=Cr>>16&255,Kt[dr++]=Cr>>8&255,Kt[dr++]=Cr>>0&255,Kt[dr++]=Cr>>24&255}}function An(be,Ue,ct,Kt,dr){for(ct=Ue+ct;Ue<ct;){var Cr=(Ne=be[Ue++])>>16&240|Ne>>12&15,Ne=Ne>>0&240|Ne>>28&15;Kt[dr++]=Cr,Kt[dr++]=Ne}}function Pn(be,Ue,ct,Kt,dr){for(ct=Ue+ct;Ue<ct;){var Cr=(Ne=be[Ue++])>>16&248|Ne>>13&7,Ne=Ne>>5&224|Ne>>3&31;Kt[dr++]=Cr,Kt[dr++]=Ne}}function Un(be,Ue,ct,Kt,dr){for(ct=Ue+ct;Ue<ct;){var Cr=be[Ue++];Kt[dr++]=Cr>>0&255,Kt[dr++]=Cr>>8&255,Kt[dr++]=Cr>>16&255}}function bn(be,Ue,ct,Kt,dr,Cr){if(Cr==0)for(ct=Ue+ct;Ue<ct;)Vi(Kt,((Cr=be[Ue++])[0]>>24|Cr[1]>>8&65280|Cr[2]<<8&16711680|Cr[3]<<24)>>>0),dr+=32;else Fe(Kt,dr,be,Ue,ct)}function _n(be,Ue){Bn[Ue][0]=Bn[be+"0"],Bn[Ue][1]=Bn[be+"1"],Bn[Ue][2]=Bn[be+"2"],Bn[Ue][3]=Bn[be+"3"],Bn[Ue][4]=Bn[be+"4"],Bn[Ue][5]=Bn[be+"5"],Bn[Ue][6]=Bn[be+"6"],Bn[Ue][7]=Bn[be+"7"],Bn[Ue][8]=Bn[be+"8"],Bn[Ue][9]=Bn[be+"9"],Bn[Ue][10]=Bn[be+"10"],Bn[Ue][11]=Bn[be+"11"],Bn[Ue][12]=Bn[be+"12"],Bn[Ue][13]=Bn[be+"13"],Bn[Ue][14]=Bn[be+"0"],Bn[Ue][15]=Bn[be+"0"]}function Tn(be){return be==Cu||be==Al||be==Ol||be==Kl}function Wn(){this.eb=[],this.size=this.A=this.fb=0}function Gn(){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 ri(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Wn,this.f.kb=new Gn,this.sd=null}function Si(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function oi(){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 Pi(be){return alert("todo:WebPSamplerProcessPlane"),be.T}function Hi(be,Ue){var ct=be.T,Kt=Ue.ba.f.RGBA,dr=Kt.eb,Cr=Kt.fb+be.ka*Kt.A,Ne=ul[Ue.ba.S],ee=be.y,Se=be.O,He=be.f,it=be.N,St=be.ea,Ct=be.W,Ot=Ue.cc,Ar=Ue.dc,Or=Ue.Mc,mr=Ue.Nc,cr=be.ka,Tr=be.ka+be.T,kr=be.U,sn=kr+1>>1;for(cr==0?Ne(ee,Se,null,null,He,it,St,Ct,He,it,St,Ct,dr,Cr,null,null,kr):(Ne(Ue.ec,Ue.fc,ee,Se,Ot,Ar,Or,mr,He,it,St,Ct,dr,Cr-Kt.A,dr,Cr,kr),++ct);cr+2<Tr;cr+=2)Ot=He,Ar=it,Or=St,mr=Ct,it+=be.Rc,Ct+=be.Rc,Cr+=2*Kt.A,Ne(ee,(Se+=2*be.fa)-be.fa,ee,Se,Ot,Ar,Or,mr,He,it,St,Ct,dr,Cr-Kt.A,dr,Cr,kr);return Se+=be.fa,be.j+Tr<be.o?(Fe(Ue.ec,Ue.fc,ee,Se,kr),Fe(Ue.cc,Ue.dc,He,it,sn),Fe(Ue.Mc,Ue.Nc,St,Ct,sn),ct--):1&Tr||Ne(ee,Se,null,null,He,it,St,Ct,He,it,St,Ct,dr,Cr+Kt.A,null,null,kr),ct}function _i(be,Ue,ct){var Kt=be.F,dr=[be.J];if(Kt!=null){var Cr=be.U,Ne=Ue.ba.S,ee=Ne==Vs||Ne==Ol;Ue=Ue.ba.f.RGBA;var Se=[0],He=be.ka;Se[0]=be.T,be.Kb&&(He==0?--Se[0]:(--He,dr[0]-=be.width),be.j+be.ka+be.T==be.o&&(Se[0]=be.o-be.j-He));var it=Ue.eb;He=Ue.fb+He*Ue.A,be=rl(Kt,dr[0],be.width,Cr,Se,it,He+(ee?0:3),Ue.A),Ie(ct==Se),be&&Tn(Ne)&&xl(it,He,ee,Cr,Se,Ue.A)}return 0}function pi(be){var Ue=be.ma,ct=Ue.ba.S,Kt=11>ct,dr=ct==ou||ct==Ql||ct==Vs||ct==lu||ct==12||Tn(ct);if(Ue.memory=null,Ue.Ib=null,Ue.Jb=null,Ue.Nd=null,!Eo(Ue.Oa,be,dr?11:12))return 0;if(dr&&Tn(ct)&&je(),be.da)alert("todo:use_scaling");else{if(Kt){if(Ue.Ib=Pi,be.Kb){if(ct=be.U+1>>1,Ue.memory=Ke(be.U+2*ct),Ue.memory==null)return 0;Ue.ec=Ue.memory,Ue.fc=0,Ue.cc=Ue.ec,Ue.dc=Ue.fc+be.U,Ue.Mc=Ue.cc,Ue.Nc=Ue.dc+ct,Ue.Ib=Hi,je()}}else alert("todo:EmitYUV");dr&&(Ue.Jb=_i,Kt&&Ae())}if(Kt&&!Nu){for(be=0;256>be;++be)ec[be]=89858*(be-128)+Nl>>pl,Xu[be]=-22014*(be-128)+Nl,Gu[be]=-45773*(be-128),Du[be]=113618*(be-128)+Nl>>pl;for(be=Gl;be<jl;++be)Ue=76283*(be-16)+Nl>>pl,Yu[be-Gl]=bi(Ue,255),Ru[be-Gl]=bi(Ue+8>>4,15);Nu=1}return 1}function ki(be){var Ue=be.ma,ct=be.U,Kt=be.T;return Ie(!(1&be.ka)),0>=ct||0>=Kt?0:(ct=Ue.Ib(be,Ue),Ue.Jb!=null&&Ue.Jb(be,Ue,ct),Ue.Dc+=ct,1)}function zn(be){be.ma.memory=null}function ji(be,Ue,ct,Kt){return Ei(be,8)!=47?0:(Ue[0]=Ei(be,14)+1,ct[0]=Ei(be,14)+1,Kt[0]=Ei(be,1),Ei(be,3)!=0?0:!be.h)}function Yi(be,Ue){if(4>be)return be+1;var ct=be-2>>1;return(2+(1&be)<<ct)+Ei(Ue,ct)+1}function ta(be,Ue){return 120<Ue?Ue-120:1<=(ct=((ct=Zl[Ue-1])>>4)*be+(8-(15&ct)))?ct:1;var ct}function Zi(be,Ue,ct){var Kt=wn(ct),dr=be[Ue+=255&Kt].g-8;return 0<dr&&(Xn(ct,ct.u+8),Kt=wn(ct),Ue+=be[Ue].value,Ue+=Kt&(1<<dr)-1),Xn(ct,ct.u+be[Ue].g),be[Ue].value}function br(be,Ue,ct){return ct.g+=be.g,ct.value+=be.value<<Ue>>>0,Ie(8>=ct.g),be.g}function Wr(be,Ue,ct){var Kt=be.xc;return Ie((Ue=Kt==0?0:be.vc[be.md*(ct>>Kt)+(Ue>>Kt)])<be.Wb),be.Ya[Ue]}function nn(be,Ue,ct,Kt){var dr=be.ab,Cr=be.c*Ue,Ne=be.C;Ue=Ne+Ue;var ee=ct,Se=Kt;for(Kt=be.Ta,ct=be.Ua;0<dr--;){var He=be.gc[dr],it=Ne,St=Ue,Ct=ee,Ot=Se,Ar=(Se=Kt,ee=ct,He.Ea);switch(Ie(it<St),Ie(St<=He.nc),He.hc){case 2:Qo(Ct,Ot,(St-it)*Ar,Se,ee);break;case 0:var Or=it,mr=St,cr=Se,Tr=ee,kr=(ui=He).Ea;Or==0&&(Ss(Ct,Ot,null,null,1,cr,Tr),lr(Ct,Ot+1,0,0,kr-1,cr,Tr+1),Ot+=kr,Tr+=kr,++Or);for(var sn=1<<ui.b,jn=sn-1,Vn=zi(kr,ui.b),Li=ui.K,ui=ui.w+(Or>>ui.b)*Vn;Or<mr;){var ba=Li,Wi=ui,Oa=1;for(is(Ct,Ot,cr,Tr-kr,1,cr,Tr);Oa<kr;){var wa=(Oa&~jn)+sn;wa>kr&&(wa=kr),(0,Mo[ba[Wi++]>>8&15])(Ct,Ot+ +Oa,cr,Tr+Oa-kr,wa-Oa,cr,Tr+Oa),Oa=wa}Ot+=kr,Tr+=kr,++Or&jn||(ui+=Vn)}St!=He.nc&&Fe(Se,ee-Ar,Se,ee+(St-it-1)*Ar,Ar);break;case 1:for(Ar=Ct,mr=Ot,kr=(Ct=He.Ea)-(Tr=Ct&~(cr=(Ot=1<<He.b)-1)),Or=zi(Ct,He.b),sn=He.K,He=He.w+(it>>He.b)*Or;it<St;){for(jn=sn,Vn=He,Li=new Qr,ui=mr+Tr,ba=mr+Ct;mr<ui;)Lr(jn[Vn++],Li),ls(Li,Ar,mr,Ot,Se,ee),mr+=Ot,ee+=Ot;mr<ba&&(Lr(jn[Vn++],Li),ls(Li,Ar,mr,kr,Se,ee),mr+=kr,ee+=kr),++it&cr||(He+=Or)}break;case 3:if(Ct==Se&&Ot==ee&&0<He.b){for(mr=Se,Ct=Ar=ee+(St-it)*Ar-(Tr=(St-it)*zi(He.Ea,He.b)),Ot=Se,cr=ee,Or=[],Tr=(kr=Tr)-1;0<=Tr;--Tr)Or[Tr]=Ot[cr+Tr];for(Tr=kr-1;0<=Tr;--Tr)mr[Ct+Tr]=Or[Tr];fs(He,it,St,Se,Ar,Se,ee)}else fs(He,it,St,Ct,Ot,Se,ee)}ee=Kt,Se=ct}Se!=ct&&Fe(Kt,ct,ee,Se,Cr)}function Nr(be,Ue){var ct=be.V,Kt=be.Ba+be.c*be.C,dr=Ue-be.C;if(Ie(Ue<=be.l.o),Ie(16>=dr),0<dr){var Cr=be.l,Ne=be.Ta,ee=be.Ua,Se=Cr.width;if(nn(be,dr,ct,Kt),dr=ee=[ee],Ie((ct=be.C)<(Kt=Ue)),Ie(Cr.v<Cr.va),Kt>Cr.o&&(Kt=Cr.o),ct<Cr.j){var He=Cr.j-ct;ct=Cr.j,dr[0]+=He*Se}if(ct>=Kt?ct=0:(dr[0]+=4*Cr.v,Cr.ka=ct-Cr.j,Cr.U=Cr.va-Cr.v,Cr.T=Kt-ct,ct=1),ct){if(ee=ee[0],11>(ct=be.ca).S){var it=ct.f.RGBA,St=(Kt=ct.S,dr=Cr.U,Cr=Cr.T,He=it.eb,it.A),Ct=Cr;for(it=it.fb+be.Ma*it.A;0<Ct--;){var Ot=Ne,Ar=ee,Or=dr,mr=He,cr=it;switch(Kt){case Fl:el(Ot,Ar,Or,mr,cr);break;case ou:ms(Ot,Ar,Or,mr,cr);break;case Cu:ms(Ot,Ar,Or,mr,cr),xl(mr,cr,0,Or,1,0);break;case su:Ds(Ot,Ar,Or,mr,cr);break;case Ql:bn(Ot,Ar,Or,mr,cr,1);break;case Al:bn(Ot,Ar,Or,mr,cr,1),xl(mr,cr,0,Or,1,0);break;case Vs:bn(Ot,Ar,Or,mr,cr,0);break;case Ol:bn(Ot,Ar,Or,mr,cr,0),xl(mr,cr,1,Or,1,0);break;case lu:Fs(Ot,Ar,Or,mr,cr);break;case Kl:Fs(Ot,Ar,Or,mr,cr),Bl(mr,cr,Or,1,0);break;case uu:Us(Ot,Ar,Or,mr,cr);break;default:Ie(0)}ee+=Se,it+=St}be.Ma+=Cr}else alert("todo:EmitRescaledRowsYUVA");Ie(be.Ma<=ct.height)}}be.C=Ue,Ie(be.C<=be.i)}function jt(be){var Ue;if(0<be.ua)return 0;for(Ue=0;Ue<be.Wb;++Ue){var ct=be.Ya[Ue].G,Kt=be.Ya[Ue].H;if(0<ct[1][Kt[1]+0].g||0<ct[2][Kt[2]+0].g||0<ct[3][Kt[3]+0].g)return 0}return 1}function xr(be,Ue,ct,Kt,dr,Cr){if(be.Z!=0){var Ne=be.qd,ee=be.rd;for(Ie(bl[be.Z]!=null);Ue<ct;++Ue)bl[be.Z](Ne,ee,Kt,dr,Kt,dr,Cr),Ne=Kt,ee=dr,dr+=Cr;be.qd=Ne,be.rd=ee}}function $t(be,Ue){var ct=be.l.ma,Kt=ct.Z==0||ct.Z==1?be.l.j:be.C;if(Kt=be.C<Kt?Kt:be.C,Ie(Ue<=be.l.o),Ue>Kt){var dr=be.l.width,Cr=ct.ca,Ne=ct.tb+dr*Kt,ee=be.V,Se=be.Ba+be.c*Kt,He=be.gc;Ie(be.ab==1),Ie(He[0].hc==3),sl(He[0],Kt,Ue,ee,Se,Cr,Ne),xr(ct,Kt,Ue,Cr,Ne,dr)}be.C=be.Ma=Ue}function jr(be,Ue,ct,Kt,dr,Cr,Ne){var ee=be.$/Kt,Se=be.$%Kt,He=be.m,it=be.s,St=ct+be.$,Ct=St;dr=ct+Kt*dr;var Ot=ct+Kt*Cr,Ar=280+it.ua,Or=be.Pb?ee:16777216,mr=0<it.ua?it.Wa:null,cr=it.wc,Tr=St<Ot?Wr(it,Se,ee):null;Ie(be.C<Cr),Ie(Ot<=dr);var kr=!1;e:for(;;){for(;kr||St<Ot;){var sn=0;if(ee>=Or){var jn=St-ct;Ie((Or=be).Pb),Or.wd=Or.m,Or.xd=jn,0<Or.s.ua&&cn(Or.s.Wa,Or.s.vb),Or=ee+$l}if(Se&cr||(Tr=Wr(it,Se,ee)),Ie(Tr!=null),Tr.Qb&&(Ue[St]=Tr.qb,kr=!0),!kr)if(Zn(He),Tr.jc){sn=He,jn=Ue;var Vn=St,Li=Tr.pd[wn(sn)&Lo-1];Ie(Tr.jc),256>Li.g?(Xn(sn,sn.u+Li.g),jn[Vn]=Li.value,sn=0):(Xn(sn,sn.u+Li.g-256),Ie(256<=Li.value),sn=Li.value),sn==0&&(kr=!0)}else sn=Zi(Tr.G[0],Tr.H[0],He);if(He.h)break;if(kr||256>sn){if(!kr)if(Tr.nd)Ue[St]=(Tr.qb|sn<<8)>>>0;else{if(Zn(He),kr=Zi(Tr.G[1],Tr.H[1],He),Zn(He),jn=Zi(Tr.G[2],Tr.H[2],He),Vn=Zi(Tr.G[3],Tr.H[3],He),He.h)break;Ue[St]=(Vn<<24|kr<<16|sn<<8|jn)>>>0}if(kr=!1,++St,++Se>=Kt&&(Se=0,++ee,Ne!=null&&ee<=Cr&&!(ee%16)&&Ne(be,ee),mr!=null))for(;Ct<St;)sn=Ue[Ct++],mr.X[(506832829*sn&4294967295)>>>mr.Mb]=sn}else if(280>sn){if(sn=Yi(sn-256,He),jn=Zi(Tr.G[4],Tr.H[4],He),Zn(He),jn=ta(Kt,jn=Yi(jn,He)),He.h)break;if(St-ct<jn||dr-St<sn)break e;for(Vn=0;Vn<sn;++Vn)Ue[St+Vn]=Ue[St+Vn-jn];for(St+=sn,Se+=sn;Se>=Kt;)Se-=Kt,++ee,Ne!=null&&ee<=Cr&&!(ee%16)&&Ne(be,ee);if(Ie(St<=dr),Se&cr&&(Tr=Wr(it,Se,ee)),mr!=null)for(;Ct<St;)sn=Ue[Ct++],mr.X[(506832829*sn&4294967295)>>>mr.Mb]=sn}else{if(!(sn<Ar))break e;for(kr=sn-280,Ie(mr!=null);Ct<St;)sn=Ue[Ct++],mr.X[(506832829*sn&4294967295)>>>mr.Mb]=sn;sn=St,Ie(!(kr>>>(jn=mr).Xa)),Ue[sn]=jn.X[kr],kr=!0}kr||Ie(He.h==Rn(He))}if(be.Pb&&He.h&&St<dr)Ie(be.m.h),be.a=5,be.m=be.wd,be.$=be.xd,0<be.s.ua&&cn(be.s.vb,be.s.Wa);else{if(He.h)break e;Ne!=null&&Ne(be,ee>Cr?Cr:ee),be.a=0,be.$=St-ct}return 1}return be.a=3,0}function Hr(be){Ie(be!=null),be.vc=null,be.yc=null,be.Ya=null;var Ue=be.Wa;Ue!=null&&(Ue.X=null),be.vb=null,Ie(be!=null)}function ln(){var be=new Xs;return be==null?null:(be.a=0,be.xb=eu,_n("Predictor","VP8LPredictors"),_n("Predictor","VP8LPredictors_C"),_n("PredictorAdd","VP8LPredictorsAdd"),_n("PredictorAdd","VP8LPredictorsAdd_C"),Qo=sr,ls=Pr,el=on,ms=xn,Fs=An,Us=Pn,Ds=Un,Bn.VP8LMapColor32b=vl,Bn.VP8LMapColor8b=ps,be)}function qr(be,Ue,ct,Kt,dr){var Cr=1,Ne=[be],ee=[Ue],Se=Kt.m,He=Kt.s,it=null,St=0;e:for(;;){if(ct)for(;Cr&&Ei(Se,1);){var Ct=Ne,Ot=ee,Ar=Kt,Or=1,mr=Ar.m,cr=Ar.gc[Ar.ab],Tr=Ei(mr,2);if(Ar.Oc&1<<Tr)Cr=0;else{switch(Ar.Oc|=1<<Tr,cr.hc=Tr,cr.Ea=Ct[0],cr.nc=Ot[0],cr.K=[null],++Ar.ab,Ie(4>=Ar.ab),Tr){case 0:case 1:cr.b=Ei(mr,3)+2,Or=qr(zi(cr.Ea,cr.b),zi(cr.nc,cr.b),0,Ar,cr.K),cr.K=cr.K[0];break;case 3:var kr,sn=Ei(mr,8)+1,jn=16<sn?0:4<sn?1:2<sn?2:3;if(Ct[0]=zi(cr.Ea,jn),cr.b=jn,kr=Or=qr(sn,1,0,Ar,cr.K)){var Vn,Li=sn,ui=cr,ba=1<<(8>>ui.b),Wi=Ke(ba);if(Wi==null)kr=0;else{var Oa=ui.K[0],wa=ui.w;for(Wi[0]=ui.K[0][0],Vn=1;Vn<1*Li;++Vn)Wi[Vn]=da(Oa[wa+Vn],Wi[Vn-1]);for(;Vn<4*ba;++Vn)Wi[Vn]=0;ui.K[0]=null,ui.K[0]=Wi,kr=1}}Or=kr;break;case 2:break;default:Ie(0)}Cr=Or}}if(Ne=Ne[0],ee=ee[0],Cr&&Ei(Se,1)&&!(Cr=1<=(St=Ei(Se,4))&&11>=St)){Kt.a=3;break e}var $a;if($a=Cr)t:{var mo,P,K,q=Kt,te=Ne,ue=ee,Me=St,dt=ct,Tt=q.m,Qt=q.s,tr=[null],en=1,pn=0,Mn=cu[Me];r:for(;;){if(dt&&Ei(Tt,1)){var Fn=Ei(Tt,3)+2,yi=zi(te,Fn),Xi=zi(ue,Fn),oa=yi*Xi;if(!qr(yi,Xi,0,q,tr))break r;for(tr=tr[0],Qt.xc=Fn,mo=0;mo<oa;++mo){var ea=tr[mo]>>8&65535;tr[mo]=ea,ea>=en&&(en=ea+1)}}if(Tt.h)break r;for(P=0;5>P;++P){var $i=ju[P];!P&&0<Me&&($i+=1<<Me),pn<$i&&(pn=$i)}var Sa=qe(en*Mn,Sn),Ia=en,io=qe(Ia,ci);if(io==null)var Fa=null;else Ie(65536>=Ia),Fa=io;var xo=Ke(pn);if(Fa==null||xo==null||Sa==null){q.a=1;break r}var Wo=Sa;for(mo=K=0;mo<en;++mo){var us=Fa[mo],es=us.G,Rs=us.H,Qs=0,xs=1,Js=0;for(P=0;5>P;++P){$i=ju[P],es[P]=Wo,Rs[P]=K,!P&&0<Me&&($i+=1<<Me);i:{var Ms,Aa=$i,as=q,ns=xo,gs=Wo,Au=K,Po=0,wo=as.m,ml=Ei(wo,1);if(Ge(ns,0,0,Aa),ml){var Gs=Ei(wo,1)+1,yu=Ei(wo,1),Dl=Ei(wo,yu==0?1:8);ns[Dl]=1,Gs==2&&(ns[Dl=Ei(wo,8)]=1);var gl=1}else{var Xl=Ke(19),il=Ei(wo,4)+4;if(19<il){as.a=3;var Rl=0;break i}for(Ms=0;Ms<il;++Ms)Xl[yl[Ms]]=Ei(wo,3);var Mu=void 0,Qu=void 0,vc=as,Ac=Xl,tc=Aa,yc=ns,sc=0,bu=vc.m,hc=8,bc=qe(128,Sn);n:for(;Vr(bc,0,7,Ac,19);){if(Ei(bu,1)){var Tc=2+2*Ei(bu,3);if((Mu=2+Ei(bu,Tc))>tc)break n}else Mu=tc;for(Qu=0;Qu<tc&&Mu--;){Zn(bu);var wc=bc[0+(127&wn(bu))];Xn(bu,bu.u+wc.g);var ru=wc.value;if(16>ru)yc[Qu++]=ru,ru!=0&&(hc=ru);else{var Ml=ru==16,fc=ru-16,lc=El[fc],Sc=Ei(bu,Jl[fc])+lc;if(Qu+Sc>tc)break n;for(var Cc=Ml?hc:0;0<Sc--;)yc[Qu++]=Cc}}sc=1;break n}sc||(vc.a=3),gl=sc}(gl=gl&&!wo.h)&&(Po=Vr(gs,Au,8,ns,Aa)),gl&&Po!=0?Rl=Po:(as.a=3,Rl=0)}if(Rl==0)break r;if(xs&&Hu[P]==1&&(xs=Wo[K].g==0),Qs+=Wo[K].g,K+=Rl,3>=P){var Pu,wu=xo[0];for(Pu=1;Pu<$i;++Pu)xo[Pu]>wu&&(wu=xo[Pu]);Js+=wu}}if(us.nd=xs,us.Qb=0,xs&&(us.qb=(es[3][Rs[3]+0].value<<24|es[1][Rs[1]+0].value<<16|es[2][Rs[2]+0].value)>>>0,Qs==0&&256>es[0][Rs[0]+0].value&&(us.Qb=1,us.qb+=es[0][Rs[0]+0].value<<8)),us.jc=!us.Qb&&6>Js,us.jc){var ku,nu=us;for(ku=0;ku<Lo;++ku){var _l=ku,Su=nu.pd[_l],uc=nu.G[0][nu.H[0]+_l];256<=uc.value?(Su.g=uc.g+256,Su.value=uc.value):(Su.g=0,Su.value=0,_l>>=br(uc,8,Su),_l>>=br(nu.G[1][nu.H[1]+_l],16,Su),_l>>=br(nu.G[2][nu.H[2]+_l],0,Su),br(nu.G[3][nu.H[3]+_l],24,Su))}}}Qt.vc=tr,Qt.Wb=en,Qt.Ya=Fa,Qt.yc=Sa,$a=1;break t}$a=0}if(!(Cr=$a)){Kt.a=3;break e}if(0<St){if(He.ua=1<<St,!fi(He.Wa,St)){Kt.a=1,Cr=0;break e}}else He.ua=0;var cc=Kt,xc=Ne,Ec=ee,pc=cc.s,mc=pc.xc;if(cc.c=xc,cc.i=Ec,pc.md=zi(xc,mc),pc.wc=mc==0?-1:(1<<mc)-1,ct){Kt.xb=ql;break e}if((it=Ke(Ne*ee))==null){Kt.a=1,Cr=0;break e}Cr=(Cr=jr(Kt,it,0,Ne,ee,ee,null))&&!Se.h;break e}return Cr?(dr!=null?dr[0]=it:(Ie(it==null),Ie(ct)),Kt.$=0,ct||Hr(He)):Hr(He),Cr}function fn(be,Ue){var ct=be.c*be.i,Kt=ct+Ue+16*Ue;return Ie(be.c<=Ue),be.V=Ke(Kt),be.V==null?(be.Ta=null,be.Ua=0,be.a=1,0):(be.Ta=be.V,be.Ua=be.Ba+ct+Ue,1)}function Dn(be,Ue){var ct=be.C,Kt=Ue-ct,dr=be.V,Cr=be.Ba+be.c*ct;for(Ie(Ue<=be.l.o);0<Kt;){var Ne=16<Kt?16:Kt,ee=be.l.ma,Se=be.l.width,He=Se*Ne,it=ee.ca,St=ee.tb+Se*ct,Ct=be.Ta,Ot=be.Ua;nn(be,Ne,dr,Cr),Il(Ct,Ot,it,St,He),xr(ee,ct,ct+Ne,it,St,Se),Kt-=Ne,dr+=Ne*be.c,ct+=Ne}Ie(ct==Ue),be.C=be.Ma=Ue}function li(){this.ub=this.yd=this.td=this.Rb=0}function di(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ri(){this.Fb=this.Bb=this.Cb=0,this.Zb=Ke(4),this.Lb=Ke(4)}function la(){this.Yb=function(){var be=[];return function Ue(ct,Kt,dr){for(var Cr=dr[Kt],Ne=0;Ne<Cr&&(ct.push(dr.length>Kt+1?[]:0),!(dr.length<Kt+1));Ne++)Ue(ct[Ne],Kt+1,dr)}(be,0,[3,11]),be}()}function na(){this.jb=Ke(3),this.Wc=vt([4,8],la),this.Xc=vt([4,17],la)}function ga(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new Ke(4),this.od=new Ke(4)}function Fi(){this.ld=this.La=this.dd=this.tc=0}function Ni(){this.Na=this.la=0}function ia(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ji(){this.ad=Ke(384),this.Za=0,this.Ob=Ke(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function ha(){this.uc=this.M=this.Nb=0,this.wa=Array(new Fi),this.Y=0,this.ya=Array(new Ji),this.aa=0,this.l=new Qn}function Ta(){this.y=Ke(16),this.f=Ke(8),this.ea=Ke(8)}function Pa(){this.cb=this.a=0,this.sc="",this.m=new dn,this.Od=new li,this.Kc=new di,this.ed=new ga,this.Qa=new Ri,this.Ic=this.$c=this.Aa=0,this.D=new ha,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=qe(8,dn),this.ia=0,this.pb=qe(4,ia),this.Pa=new na,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ta),this.Hd=0,this.rb=Array(new Ni),this.sb=0,this.wa=Array(new Fi),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 Ji),this.L=this.aa=0,this.gd=vt([4,2],Fi),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 bi(be,Ue){return 0>be?0:be>Ue?Ue:be}function Qn(){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 vi(){var be=new Pa;return be!=null&&(be.a=0,be.sc="OK",be.cb=0,be.Xb=0,Ul||(Ul=pa)),be}function Ai(be,Ue,ct){return be.a==0&&(be.a=Ue,be.sc=ct,be.cb=0),0}function Gi(be,Ue,ct){return 3<=ct&&be[Ue+0]==157&&be[Ue+1]==1&&be[Ue+2]==42}function Oi(be,Ue){if(be==null)return 0;if(be.a=0,be.sc="OK",Ue==null)return Ai(be,2,"null VP8Io passed to VP8GetHeaders()");var ct=Ue.data,Kt=Ue.w,dr=Ue.ha;if(4>dr)return Ai(be,7,"Truncated header.");var Cr=ct[Kt+0]|ct[Kt+1]<<8|ct[Kt+2]<<16,Ne=be.Od;if(Ne.Rb=!(1&Cr),Ne.td=Cr>>1&7,Ne.yd=Cr>>4&1,Ne.ub=Cr>>5,3<Ne.td)return Ai(be,3,"Incorrect keyframe parameters.");if(!Ne.yd)return Ai(be,4,"Frame not displayable.");Kt+=3,dr-=3;var ee=be.Kc;if(Ne.Rb){if(7>dr)return Ai(be,7,"cannot parse picture header");if(!Gi(ct,Kt,dr))return Ai(be,3,"Bad code word");ee.c=16383&(ct[Kt+4]<<8|ct[Kt+3]),ee.Td=ct[Kt+4]>>6,ee.i=16383&(ct[Kt+6]<<8|ct[Kt+5]),ee.Ud=ct[Kt+6]>>6,Kt+=7,dr-=7,be.za=ee.c+15>>4,be.Ub=ee.i+15>>4,Ue.width=ee.c,Ue.height=ee.i,Ue.Da=0,Ue.j=0,Ue.v=0,Ue.va=Ue.width,Ue.o=Ue.height,Ue.da=0,Ue.ib=Ue.width,Ue.hb=Ue.height,Ue.U=Ue.width,Ue.T=Ue.height,Ge((Cr=be.Pa).jb,0,255,Cr.jb.length),Ie((Cr=be.Qa)!=null),Cr.Cb=0,Cr.Bb=0,Cr.Fb=1,Ge(Cr.Zb,0,0,Cr.Zb.length),Ge(Cr.Lb,0,0,Cr.Lb)}if(Ne.ub>dr)return Ai(be,7,"bad partition length");qn(Cr=be.m,ct,Kt,Ne.ub),Kt+=Ne.ub,dr-=Ne.ub,Ne.Rb&&(ee.Ld=mi(Cr),ee.Kd=mi(Cr)),ee=be.Qa;var Se,He=be.Pa;if(Ie(Cr!=null),Ie(ee!=null),ee.Cb=mi(Cr),ee.Cb){if(ee.Bb=mi(Cr),mi(Cr)){for(ee.Fb=mi(Cr),Se=0;4>Se;++Se)ee.Zb[Se]=mi(Cr)?Jn(Cr,7):0;for(Se=0;4>Se;++Se)ee.Lb[Se]=mi(Cr)?Jn(Cr,6):0}if(ee.Bb)for(Se=0;3>Se;++Se)He.jb[Se]=mi(Cr)?wi(Cr,8):255}else ee.Bb=0;if(Cr.Ka)return Ai(be,3,"cannot parse segment header");if((ee=be.ed).zd=mi(Cr),ee.Tb=wi(Cr,6),ee.wb=wi(Cr,3),ee.Pc=mi(Cr),ee.Pc&&mi(Cr)){for(He=0;4>He;++He)mi(Cr)&&(ee.vd[He]=Jn(Cr,6));for(He=0;4>He;++He)mi(Cr)&&(ee.od[He]=Jn(Cr,6))}if(be.L=ee.Tb==0?0:ee.zd?1:2,Cr.Ka)return Ai(be,3,"cannot parse filter header");var it=dr;if(dr=Se=Kt,Kt=Se+it,ee=it,be.Xb=(1<<wi(be.m,2))-1,it<3*(He=be.Xb))ct=7;else{for(Se+=3*He,ee-=3*He,it=0;it<He;++it){var St=ct[dr+0]|ct[dr+1]<<8|ct[dr+2]<<16;St>ee&&(St=ee),qn(be.Jc[+it],ct,Se,St),Se+=St,ee-=St,dr+=3}qn(be.Jc[+He],ct,Se,ee),ct=Se<Kt?0:5}if(ct!=0)return Ai(be,ct,"cannot parse partitions");for(ct=wi(Se=be.m,7),dr=mi(Se)?Jn(Se,4):0,Kt=mi(Se)?Jn(Se,4):0,ee=mi(Se)?Jn(Se,4):0,He=mi(Se)?Jn(Se,4):0,Se=mi(Se)?Jn(Se,4):0,it=be.Qa,St=0;4>St;++St){if(it.Cb){var Ct=it.Zb[St];it.Fb||(Ct+=ct)}else{if(0<St){be.pb[St]=be.pb[0];continue}Ct=ct}var Ot=be.pb[St];Ot.Sc[0]=bs[bi(Ct+dr,127)],Ot.Sc[1]=dl[bi(Ct+0,127)],Ot.Eb[0]=2*bs[bi(Ct+Kt,127)],Ot.Eb[1]=101581*dl[bi(Ct+ee,127)]>>16,8>Ot.Eb[1]&&(Ot.Eb[1]=8),Ot.Qc[0]=bs[bi(Ct+He,117)],Ot.Qc[1]=dl[bi(Ct+Se,127)],Ot.lc=Ct+Se}if(!Ne.Rb)return Ai(be,4,"Not a key frame.");for(mi(Cr),Ne=be.Pa,ct=0;4>ct;++ct){for(dr=0;8>dr;++dr)for(Kt=0;3>Kt;++Kt)for(ee=0;11>ee;++ee)He=gi(Cr,Iu[ct][dr][Kt][ee])?wi(Cr,8):zl[ct][dr][Kt][ee],Ne.Wc[ct][dr].Yb[Kt][ee]=He;for(dr=0;17>dr;++dr)Ne.Xc[ct][dr]=Ne.Wc[ct][Ku[dr]]}return be.kc=mi(Cr),be.kc&&(be.Bd=wi(Cr,8)),be.cb=1}function pa(be,Ue,ct,Kt,dr,Cr,Ne){var ee=Ue[dr].Yb[ct];for(ct=0;16>dr;++dr){if(!gi(be,ee[ct+0]))return dr;for(;!gi(be,ee[ct+1]);)if(ee=Ue[++dr].Yb[0],ct=0,dr==16)return 16;var Se=Ue[dr+1].Yb;if(gi(be,ee[ct+2])){var He=be,it=0;if(gi(He,(Ct=ee)[(St=ct)+3]))if(gi(He,Ct[St+6])){for(ee=0,St=2*(it=gi(He,Ct[St+8]))+(Ct=gi(He,Ct[St+9+it])),it=0,Ct=_u[St];Ct[ee];++ee)it+=it+gi(He,Ct[ee]);it+=3+(8<<St)}else gi(He,Ct[St+7])?(it=7+2*gi(He,165),it+=gi(He,145)):it=5+gi(He,159);else it=gi(He,Ct[St+4])?3+gi(He,Ct[St+5]):2;ee=Se[2]}else it=1,ee=Se[1];Se=Ne+du[dr],0>(He=be).b&&hi(He);var St,Ct=He.b,Ot=(St=He.Ca>>1)-(He.I>>Ct)>>31;--He.b,He.Ca+=Ot,He.Ca|=1,He.I-=(St+1&Ot)<<Ct,Cr[Se]=((it^Ot)-Ot)*Kt[(0<dr)+0]}return 16}function Ma(be){var Ue=be.rb[be.sb-1];Ue.la=0,Ue.Na=0,Ge(be.zc,0,0,be.zc.length),be.ja=0}function fa(be,Ue){if(be==null)return 0;if(Ue==null)return Ai(be,2,"NULL VP8Io parameter in VP8Decode().");if(!be.cb&&!Oi(be,Ue))return 0;if(Ie(be.cb),Ue.ac==null||Ue.ac(Ue)){Ue.ob&&(be.L=0);var ct=wl[be.L];if(be.L==2?(be.yb=0,be.zb=0):(be.yb=Ue.v-ct>>4,be.zb=Ue.j-ct>>4,0>be.yb&&(be.yb=0),0>be.zb&&(be.zb=0)),be.Va=Ue.o+15+ct>>4,be.Hb=Ue.va+15+ct>>4,be.Hb>be.za&&(be.Hb=be.za),be.Va>be.Ub&&(be.Va=be.Ub),0<be.L){var Kt=be.ed;for(ct=0;4>ct;++ct){var dr;if(be.Qa.Cb){var Cr=be.Qa.Lb[ct];be.Qa.Fb||(Cr+=Kt.Tb)}else Cr=Kt.Tb;for(dr=0;1>=dr;++dr){var Ne=be.gd[ct][dr],ee=Cr;if(Kt.Pc&&(ee+=Kt.vd[0],dr&&(ee+=Kt.od[0])),0<(ee=0>ee?0:63<ee?63:ee)){var Se=ee;0<Kt.wb&&(Se=4<Kt.wb?Se>>2:Se>>1)>9-Kt.wb&&(Se=9-Kt.wb),1>Se&&(Se=1),Ne.dd=Se,Ne.tc=2*ee+Se,Ne.ld=40<=ee?2:15<=ee?1:0}else Ne.tc=0;Ne.La=dr}}}ct=0}else Ai(be,6,"Frame setup failed"),ct=be.a;if(ct=ct==0){if(ct){be.$c=0,0<be.Aa||(be.Ic=Cl);e:{ct=be.Ic,Kt=4*(Se=be.za);var He=32*Se,it=Se+1,St=0<be.L?Se*(0<be.Aa?2:1):0,Ct=(be.Aa==2?2:1)*Se;if((Ne=Kt+832+(dr=3*(16*ct+wl[be.L])/2*He)+(Cr=be.Fa!=null&&0<be.Fa.length?be.Kc.c*be.Kc.i:0))!=Ne)ct=0;else{if(Ne>be.Vb){if(be.Vb=0,be.Ec=Ke(Ne),be.Fc=0,be.Ec==null){ct=Ai(be,1,"no memory during frame initialization.");break e}be.Vb=Ne}Ne=be.Ec,ee=be.Fc,be.Ac=Ne,be.Bc=ee,ee+=Kt,be.Gd=qe(He,Ta),be.Hd=0,be.rb=qe(it+1,Ni),be.sb=1,be.wa=St?qe(St,Fi):null,be.Y=0,be.D.Nb=0,be.D.wa=be.wa,be.D.Y=be.Y,0<be.Aa&&(be.D.Y+=Se),Ie(!0),be.oc=Ne,be.pc=ee,ee+=832,be.ya=qe(Ct,Ji),be.aa=0,be.D.ya=be.ya,be.D.aa=be.aa,be.Aa==2&&(be.D.aa+=Se),be.R=16*Se,be.B=8*Se,Se=(He=wl[be.L])*be.R,He=He/2*be.B,be.sa=Ne,be.ta=ee+Se,be.qa=be.sa,be.ra=be.ta+16*ct*be.R+He,be.Ha=be.qa,be.Ia=be.ra+8*ct*be.B+He,be.$c=0,ee+=dr,be.mb=Cr?Ne:null,be.nb=Cr?ee:null,Ie(ee+Cr<=be.Fc+be.Vb),Ma(be),Ge(be.Ac,be.Bc,0,Kt),ct=1}}if(ct){if(Ue.ka=0,Ue.y=be.sa,Ue.O=be.ta,Ue.f=be.qa,Ue.N=be.ra,Ue.ea=be.Ha,Ue.Vd=be.Ia,Ue.fa=be.R,Ue.Rc=be.B,Ue.F=null,Ue.J=0,!au){for(ct=-255;255>=ct;++ct)Ll[255+ct]=0>ct?-ct:ct;for(ct=-1020;1020>=ct;++ct)Uu[1020+ct]=-128>ct?-128:127<ct?127:ct;for(ct=-112;112>=ct;++ct)iu[112+ct]=-16>ct?-16:15<ct?15:ct;for(ct=-255;510>=ct;++ct)Tu[255+ct]=0>ct?0:255<ct?255:ct;au=1}al=Va,tl=qa,js=Ya,Ja=Ka,Ea=ao,Ys=qi,za=$s,co=Is,$o=Ao,Hs=Uo,As=ks,ys=lo,jo=hs,Co=vs,qo=po,So=rs,Ws=Yo,Sl=Fo,fl[0]=_o,fl[1]=go,fl[2]=Xa,fl[3]=No,fl[4]=Vo,fl[5]=bo,fl[6]=Go,fl[7]=Da,fl[8]=ds,fl[9]=Ho,hl[0]=Ha,hl[1]=vo,hl[2]=to,hl[3]=ro,hl[4]=Na,hl[5]=oo,hl[6]=Ga,Tl[0]=Xo,Tl[1]=so,Tl[2]=fo,Tl[3]=Oo,Tl[4]=Ps,Tl[5]=Zs,Tl[6]=_s,ct=1}else ct=0}ct&&(ct=function(Ot,Ar){for(Ot.M=0;Ot.M<Ot.Va;++Ot.M){var Or,mr=Ot.Jc[Ot.M&Ot.Xb],cr=Ot.m,Tr=Ot;for(Or=0;Or<Tr.za;++Or){var kr=cr,sn=Tr,jn=sn.Ac,Vn=sn.Bc+4*Or,Li=sn.zc,ui=sn.ya[sn.aa+Or];if(sn.Qa.Bb?ui.$b=gi(kr,sn.Pa.jb[0])?2+gi(kr,sn.Pa.jb[2]):gi(kr,sn.Pa.jb[1]):ui.$b=0,sn.kc&&(ui.Ad=gi(kr,sn.Bd)),ui.Za=!gi(kr,145)+0,ui.Za){var ba=ui.Ob,Wi=0;for(sn=0;4>sn;++sn){var Oa,wa=Li[0+sn];for(Oa=0;4>Oa;++Oa){wa=hu[jn[Vn+Oa]][wa];for(var $a=Wl[gi(kr,wa[0])];0<$a;)$a=Wl[2*$a+gi(kr,wa[$a])];wa=-$a,jn[Vn+Oa]=wa}Fe(ba,Wi,jn,Vn,4),Wi+=4,Li[0+sn]=wa}}else wa=gi(kr,156)?gi(kr,128)?1:3:gi(kr,163)?2:0,ui.Ob[0]=wa,Ge(jn,Vn,wa,4),Ge(Li,0,wa,4);ui.Dd=gi(kr,142)?gi(kr,114)?gi(kr,183)?1:3:2:0}if(Tr.m.Ka)return Ai(Ot,7,"Premature end-of-partition0 encountered.");for(;Ot.ja<Ot.za;++Ot.ja){if(Tr=mr,kr=(cr=Ot).rb[cr.sb-1],jn=cr.rb[cr.sb+cr.ja],Or=cr.ya[cr.aa+cr.ja],Vn=cr.kc?Or.Ad:0)kr.la=jn.la=0,Or.Za||(kr.Na=jn.Na=0),Or.Hc=0,Or.Gc=0,Or.ia=0;else{var mo,P;if(kr=jn,jn=Tr,Vn=cr.Pa.Xc,Li=cr.ya[cr.aa+cr.ja],ui=cr.pb[Li.$b],sn=Li.ad,ba=0,Wi=cr.rb[cr.sb-1],wa=Oa=0,Ge(sn,ba,0,384),Li.Za)var K=0,q=Vn[3];else{$a=Ke(16);var te=kr.Na+Wi.Na;if(te=Ul(jn,Vn[1],te,ui.Eb,0,$a,0),kr.Na=Wi.Na=(0<te)+0,1<te)al($a,0,sn,ba);else{var ue=$a[0]+3>>3;for($a=0;256>$a;$a+=16)sn[ba+$a]=ue}K=1,q=Vn[0]}var Me=15&kr.la,dt=15&Wi.la;for($a=0;4>$a;++$a){var Tt=1&dt;for(ue=P=0;4>ue;++ue)Me=Me>>1|(Tt=(te=Ul(jn,q,te=Tt+(1&Me),ui.Sc,K,sn,ba))>K)<<7,P=P<<2|(3<te?3:1<te?2:sn[ba+0]!=0),ba+=16;Me>>=4,dt=dt>>1|Tt<<7,Oa=(Oa<<8|P)>>>0}for(q=Me,K=dt>>4,mo=0;4>mo;mo+=2){for(P=0,Me=kr.la>>4+mo,dt=Wi.la>>4+mo,$a=0;2>$a;++$a){for(Tt=1&dt,ue=0;2>ue;++ue)te=Tt+(1&Me),Me=Me>>1|(Tt=0<(te=Ul(jn,Vn[2],te,ui.Qc,0,sn,ba)))<<3,P=P<<2|(3<te?3:1<te?2:sn[ba+0]!=0),ba+=16;Me>>=2,dt=dt>>1|Tt<<5}wa|=P<<4*mo,q|=Me<<4<<mo,K|=(240&dt)<<mo}kr.la=q,Wi.la=K,Li.Hc=Oa,Li.Gc=wa,Li.ia=43690&wa?0:ui.ia,Vn=!(Oa|wa)}if(0<cr.L&&(cr.wa[cr.Y+cr.ja]=cr.gd[Or.$b][Or.Za],cr.wa[cr.Y+cr.ja].La|=!Vn),Tr.Ka)return Ai(Ot,7,"Premature end-of-file encountered.")}if(Ma(Ot),cr=Ar,Tr=1,Or=(mr=Ot).D,kr=0<mr.L&&mr.M>=mr.zb&&mr.M<=mr.Va,mr.Aa==0)e:{if(Or.M=mr.M,Or.uc=kr,uo(mr,Or),Tr=1,Or=(P=mr.D).Nb,kr=(wa=wl[mr.L])*mr.R,jn=wa/2*mr.B,$a=16*Or*mr.R,ue=8*Or*mr.B,Vn=mr.sa,Li=mr.ta-kr+$a,ui=mr.qa,sn=mr.ra-jn+ue,ba=mr.Ha,Wi=mr.Ia-jn+ue,dt=(Me=P.M)==0,Oa=Me>=mr.Va-1,mr.Aa==2&&uo(mr,P),P.uc)for(Tt=(te=mr).D.M,Ie(te.D.uc),P=te.yb;P<te.Hb;++P){K=P,q=Tt;var Qt=(tr=($i=te).D).Nb;mo=$i.R;var tr=tr.wa[tr.Y+K],en=$i.sa,pn=$i.ta+16*Qt*mo+16*K,Mn=tr.dd,Fn=tr.tc;if(Fn!=0)if(Ie(3<=Fn),$i.L==1)0<K&&So(en,pn,mo,Fn+4),tr.La&&Sl(en,pn,mo,Fn),0<q&&qo(en,pn,mo,Fn+4),tr.La&&Ws(en,pn,mo,Fn);else{var yi=$i.B,Xi=$i.qa,oa=$i.ra+8*Qt*yi+8*K,ea=$i.Ha,$i=$i.Ia+8*Qt*yi+8*K;Qt=tr.ld,0<K&&(co(en,pn,mo,Fn+4,Mn,Qt),Hs(Xi,oa,ea,$i,yi,Fn+4,Mn,Qt)),tr.La&&(ys(en,pn,mo,Fn,Mn,Qt),Co(Xi,oa,ea,$i,yi,Fn,Mn,Qt)),0<q&&(za(en,pn,mo,Fn+4,Mn,Qt),$o(Xi,oa,ea,$i,yi,Fn+4,Mn,Qt)),tr.La&&(As(en,pn,mo,Fn,Mn,Qt),jo(Xi,oa,ea,$i,yi,Fn,Mn,Qt))}}if(mr.ia&&alert("todo:DitherRow"),cr.put!=null){if(P=16*Me,Me=16*(Me+1),dt?(cr.y=mr.sa,cr.O=mr.ta+$a,cr.f=mr.qa,cr.N=mr.ra+ue,cr.ea=mr.Ha,cr.W=mr.Ia+ue):(P-=wa,cr.y=Vn,cr.O=Li,cr.f=ui,cr.N=sn,cr.ea=ba,cr.W=Wi),Oa||(Me-=wa),Me>cr.o&&(Me=cr.o),cr.F=null,cr.J=null,mr.Fa!=null&&0<mr.Fa.length&&P<Me&&(cr.J=Dt(mr,cr,P,Me-P),cr.F=mr.mb,cr.F==null&&cr.F.length==0)){Tr=Ai(mr,3,"Could not decode alpha data.");break e}P<cr.j&&(wa=cr.j-P,P=cr.j,Ie(!(1&wa)),cr.O+=mr.R*wa,cr.N+=mr.B*(wa>>1),cr.W+=mr.B*(wa>>1),cr.F!=null&&(cr.J+=cr.width*wa)),P<Me&&(cr.O+=cr.v,cr.N+=cr.v>>1,cr.W+=cr.v>>1,cr.F!=null&&(cr.J+=cr.v),cr.ka=P-cr.j,cr.U=cr.va-cr.v,cr.T=Me-P,Tr=cr.put(cr))}Or+1!=mr.Ic||Oa||(Fe(mr.sa,mr.ta-kr,Vn,Li+16*mr.R,kr),Fe(mr.qa,mr.ra-jn,ui,sn+8*mr.B,jn),Fe(mr.Ha,mr.Ia-jn,ba,Wi+8*mr.B,jn))}if(!Tr)return Ai(Ot,6,"Output aborted.")}return 1}(be,Ue)),Ue.bc!=null&&Ue.bc(Ue),ct&=1}return ct?(be.cb=0,ct):0}function ua(be,Ue,ct,Kt,dr){dr=be[Ue+ct+32*Kt]+(dr>>3),be[Ue+ct+32*Kt]=-256&dr?0>dr?0:255:dr}function ra(be,Ue,ct,Kt,dr,Cr){ua(be,Ue,0,ct,Kt+dr),ua(be,Ue,1,ct,Kt+Cr),ua(be,Ue,2,ct,Kt-Cr),ua(be,Ue,3,ct,Kt-dr)}function Ra(be){return(20091*be>>16)+be}function eo(be,Ue,ct,Kt){var dr,Cr=0,Ne=Ke(16);for(dr=0;4>dr;++dr){var ee=be[Ue+0]+be[Ue+8],Se=be[Ue+0]-be[Ue+8],He=(35468*be[Ue+4]>>16)-Ra(be[Ue+12]),it=Ra(be[Ue+4])+(35468*be[Ue+12]>>16);Ne[Cr+0]=ee+it,Ne[Cr+1]=Se+He,Ne[Cr+2]=Se-He,Ne[Cr+3]=ee-it,Cr+=4,Ue++}for(dr=Cr=0;4>dr;++dr)ee=(be=Ne[Cr+0]+4)+Ne[Cr+8],Se=be-Ne[Cr+8],He=(35468*Ne[Cr+4]>>16)-Ra(Ne[Cr+12]),ua(ct,Kt,0,0,ee+(it=Ra(Ne[Cr+4])+(35468*Ne[Cr+12]>>16))),ua(ct,Kt,1,0,Se+He),ua(ct,Kt,2,0,Se-He),ua(ct,Kt,3,0,ee-it),Cr++,Kt+=32}function qi(be,Ue,ct,Kt){var dr=be[Ue+0]+4,Cr=35468*be[Ue+4]>>16,Ne=Ra(be[Ue+4]),ee=35468*be[Ue+1]>>16;ra(ct,Kt,0,dr+Ne,be=Ra(be[Ue+1]),ee),ra(ct,Kt,1,dr+Cr,be,ee),ra(ct,Kt,2,dr-Cr,be,ee),ra(ct,Kt,3,dr-Ne,be,ee)}function qa(be,Ue,ct,Kt,dr){eo(be,Ue,ct,Kt),dr&&eo(be,Ue+16,ct,Kt+4)}function Ya(be,Ue,ct,Kt){tl(be,Ue+0,ct,Kt,1),tl(be,Ue+32,ct,Kt+128,1)}function Ka(be,Ue,ct,Kt){var dr;for(be=be[Ue+0]+4,dr=0;4>dr;++dr)for(Ue=0;4>Ue;++Ue)ua(ct,Kt,Ue,dr,be)}function ao(be,Ue,ct,Kt){be[Ue+0]&&Ja(be,Ue+0,ct,Kt),be[Ue+16]&&Ja(be,Ue+16,ct,Kt+4),be[Ue+32]&&Ja(be,Ue+32,ct,Kt+128),be[Ue+48]&&Ja(be,Ue+48,ct,Kt+128+4)}function Va(be,Ue,ct,Kt){var dr,Cr=Ke(16);for(dr=0;4>dr;++dr){var Ne=be[Ue+0+dr]+be[Ue+12+dr],ee=be[Ue+4+dr]+be[Ue+8+dr],Se=be[Ue+4+dr]-be[Ue+8+dr],He=be[Ue+0+dr]-be[Ue+12+dr];Cr[0+dr]=Ne+ee,Cr[8+dr]=Ne-ee,Cr[4+dr]=He+Se,Cr[12+dr]=He-Se}for(dr=0;4>dr;++dr)Ne=(be=Cr[0+4*dr]+3)+Cr[3+4*dr],ee=Cr[1+4*dr]+Cr[2+4*dr],Se=Cr[1+4*dr]-Cr[2+4*dr],He=be-Cr[3+4*dr],ct[Kt+0]=Ne+ee>>3,ct[Kt+16]=He+Se>>3,ct[Kt+32]=Ne-ee>>3,ct[Kt+48]=He-Se>>3,Kt+=64}function Ba(be,Ue,ct){var Kt,dr=Ue-32,Cr=nl,Ne=255-be[dr-1];for(Kt=0;Kt<ct;++Kt){var ee,Se=Cr,He=Ne+be[Ue-1];for(ee=0;ee<ct;++ee)be[Ue+ee]=Se[He+be[dr+ee]];Ue+=32}}function go(be,Ue){Ba(be,Ue,4)}function so(be,Ue){Ba(be,Ue,8)}function vo(be,Ue){Ba(be,Ue,16)}function to(be,Ue){var ct;for(ct=0;16>ct;++ct)Fe(be,Ue+32*ct,be,Ue-32,16)}function ro(be,Ue){var ct;for(ct=16;0<ct;--ct)Ge(be,Ue,be[Ue-1],16),Ue+=32}function Ca(be,Ue,ct){var Kt;for(Kt=0;16>Kt;++Kt)Ge(Ue,ct+32*Kt,be,16)}function Ha(be,Ue){var ct,Kt=16;for(ct=0;16>ct;++ct)Kt+=be[Ue-1+32*ct]+be[Ue+ct-32];Ca(Kt>>5,be,Ue)}function Na(be,Ue){var ct,Kt=8;for(ct=0;16>ct;++ct)Kt+=be[Ue-1+32*ct];Ca(Kt>>4,be,Ue)}function oo(be,Ue){var ct,Kt=8;for(ct=0;16>ct;++ct)Kt+=be[Ue+ct-32];Ca(Kt>>4,be,Ue)}function Ga(be,Ue){Ca(128,be,Ue)}function Ki(be,Ue,ct){return be+2*Ue+ct+2>>2}function Xa(be,Ue){var ct,Kt=Ue-32;for(Kt=new Uint8Array([Ki(be[Kt-1],be[Kt+0],be[Kt+1]),Ki(be[Kt+0],be[Kt+1],be[Kt+2]),Ki(be[Kt+1],be[Kt+2],be[Kt+3]),Ki(be[Kt+2],be[Kt+3],be[Kt+4])]),ct=0;4>ct;++ct)Fe(be,Ue+32*ct,Kt,0,Kt.length)}function No(be,Ue){var ct=be[Ue-1],Kt=be[Ue-1+32],dr=be[Ue-1+64],Cr=be[Ue-1+96];Vi(be,Ue+0,16843009*Ki(be[Ue-1-32],ct,Kt)),Vi(be,Ue+32,16843009*Ki(ct,Kt,dr)),Vi(be,Ue+64,16843009*Ki(Kt,dr,Cr)),Vi(be,Ue+96,16843009*Ki(dr,Cr,Cr))}function _o(be,Ue){var ct,Kt=4;for(ct=0;4>ct;++ct)Kt+=be[Ue+ct-32]+be[Ue-1+32*ct];for(Kt>>=3,ct=0;4>ct;++ct)Ge(be,Ue+32*ct,Kt,4)}function Vo(be,Ue){var ct=be[Ue-1+0],Kt=be[Ue-1+32],dr=be[Ue-1+64],Cr=be[Ue-1-32],Ne=be[Ue+0-32],ee=be[Ue+1-32],Se=be[Ue+2-32],He=be[Ue+3-32];be[Ue+0+96]=Ki(Kt,dr,be[Ue-1+96]),be[Ue+1+96]=be[Ue+0+64]=Ki(ct,Kt,dr),be[Ue+2+96]=be[Ue+1+64]=be[Ue+0+32]=Ki(Cr,ct,Kt),be[Ue+3+96]=be[Ue+2+64]=be[Ue+1+32]=be[Ue+0+0]=Ki(Ne,Cr,ct),be[Ue+3+64]=be[Ue+2+32]=be[Ue+1+0]=Ki(ee,Ne,Cr),be[Ue+3+32]=be[Ue+2+0]=Ki(Se,ee,Ne),be[Ue+3+0]=Ki(He,Se,ee)}function Go(be,Ue){var ct=be[Ue+1-32],Kt=be[Ue+2-32],dr=be[Ue+3-32],Cr=be[Ue+4-32],Ne=be[Ue+5-32],ee=be[Ue+6-32],Se=be[Ue+7-32];be[Ue+0+0]=Ki(be[Ue+0-32],ct,Kt),be[Ue+1+0]=be[Ue+0+32]=Ki(ct,Kt,dr),be[Ue+2+0]=be[Ue+1+32]=be[Ue+0+64]=Ki(Kt,dr,Cr),be[Ue+3+0]=be[Ue+2+32]=be[Ue+1+64]=be[Ue+0+96]=Ki(dr,Cr,Ne),be[Ue+3+32]=be[Ue+2+64]=be[Ue+1+96]=Ki(Cr,Ne,ee),be[Ue+3+64]=be[Ue+2+96]=Ki(Ne,ee,Se),be[Ue+3+96]=Ki(ee,Se,Se)}function bo(be,Ue){var ct=be[Ue-1+0],Kt=be[Ue-1+32],dr=be[Ue-1+64],Cr=be[Ue-1-32],Ne=be[Ue+0-32],ee=be[Ue+1-32],Se=be[Ue+2-32],He=be[Ue+3-32];be[Ue+0+0]=be[Ue+1+64]=Cr+Ne+1>>1,be[Ue+1+0]=be[Ue+2+64]=Ne+ee+1>>1,be[Ue+2+0]=be[Ue+3+64]=ee+Se+1>>1,be[Ue+3+0]=Se+He+1>>1,be[Ue+0+96]=Ki(dr,Kt,ct),be[Ue+0+64]=Ki(Kt,ct,Cr),be[Ue+0+32]=be[Ue+1+96]=Ki(ct,Cr,Ne),be[Ue+1+32]=be[Ue+2+96]=Ki(Cr,Ne,ee),be[Ue+2+32]=be[Ue+3+96]=Ki(Ne,ee,Se),be[Ue+3+32]=Ki(ee,Se,He)}function Da(be,Ue){var ct=be[Ue+0-32],Kt=be[Ue+1-32],dr=be[Ue+2-32],Cr=be[Ue+3-32],Ne=be[Ue+4-32],ee=be[Ue+5-32],Se=be[Ue+6-32],He=be[Ue+7-32];be[Ue+0+0]=ct+Kt+1>>1,be[Ue+1+0]=be[Ue+0+64]=Kt+dr+1>>1,be[Ue+2+0]=be[Ue+1+64]=dr+Cr+1>>1,be[Ue+3+0]=be[Ue+2+64]=Cr+Ne+1>>1,be[Ue+0+32]=Ki(ct,Kt,dr),be[Ue+1+32]=be[Ue+0+96]=Ki(Kt,dr,Cr),be[Ue+2+32]=be[Ue+1+96]=Ki(dr,Cr,Ne),be[Ue+3+32]=be[Ue+2+96]=Ki(Cr,Ne,ee),be[Ue+3+64]=Ki(Ne,ee,Se),be[Ue+3+96]=Ki(ee,Se,He)}function Ho(be,Ue){var ct=be[Ue-1+0],Kt=be[Ue-1+32],dr=be[Ue-1+64],Cr=be[Ue-1+96];be[Ue+0+0]=ct+Kt+1>>1,be[Ue+2+0]=be[Ue+0+32]=Kt+dr+1>>1,be[Ue+2+32]=be[Ue+0+64]=dr+Cr+1>>1,be[Ue+1+0]=Ki(ct,Kt,dr),be[Ue+3+0]=be[Ue+1+32]=Ki(Kt,dr,Cr),be[Ue+3+32]=be[Ue+1+64]=Ki(dr,Cr,Cr),be[Ue+3+64]=be[Ue+2+64]=be[Ue+0+96]=be[Ue+1+96]=be[Ue+2+96]=be[Ue+3+96]=Cr}function ds(be,Ue){var ct=be[Ue-1+0],Kt=be[Ue-1+32],dr=be[Ue-1+64],Cr=be[Ue-1+96],Ne=be[Ue-1-32],ee=be[Ue+0-32],Se=be[Ue+1-32],He=be[Ue+2-32];be[Ue+0+0]=be[Ue+2+32]=ct+Ne+1>>1,be[Ue+0+32]=be[Ue+2+64]=Kt+ct+1>>1,be[Ue+0+64]=be[Ue+2+96]=dr+Kt+1>>1,be[Ue+0+96]=Cr+dr+1>>1,be[Ue+3+0]=Ki(ee,Se,He),be[Ue+2+0]=Ki(Ne,ee,Se),be[Ue+1+0]=be[Ue+3+32]=Ki(ct,Ne,ee),be[Ue+1+32]=be[Ue+3+64]=Ki(Kt,ct,Ne),be[Ue+1+64]=be[Ue+3+96]=Ki(dr,Kt,ct),be[Ue+1+96]=Ki(Cr,dr,Kt)}function fo(be,Ue){var ct;for(ct=0;8>ct;++ct)Fe(be,Ue+32*ct,be,Ue-32,8)}function Oo(be,Ue){var ct;for(ct=0;8>ct;++ct)Ge(be,Ue,be[Ue-1],8),Ue+=32}function Wa(be,Ue,ct){var Kt;for(Kt=0;8>Kt;++Kt)Ge(Ue,ct+32*Kt,be,8)}function Xo(be,Ue){var ct,Kt=8;for(ct=0;8>ct;++ct)Kt+=be[Ue+ct-32]+be[Ue-1+32*ct];Wa(Kt>>4,be,Ue)}function Zs(be,Ue){var ct,Kt=4;for(ct=0;8>ct;++ct)Kt+=be[Ue+ct-32];Wa(Kt>>3,be,Ue)}function Ps(be,Ue){var ct,Kt=4;for(ct=0;8>ct;++ct)Kt+=be[Ue-1+32*ct];Wa(Kt>>3,be,Ue)}function _s(be,Ue){Wa(128,be,Ue)}function Es(be,Ue,ct){var Kt=be[Ue-ct],dr=be[Ue+0],Cr=3*(dr-Kt)+Hl[1020+be[Ue-2*ct]-be[Ue+ct]],Ne=zs[112+(Cr+4>>3)];be[Ue-ct]=nl[255+Kt+zs[112+(Cr+3>>3)]],be[Ue+0]=nl[255+dr-Ne]}function Ts(be,Ue,ct,Kt){var dr=be[Ue+0],Cr=be[Ue+ct];return ll[255+be[Ue-2*ct]-be[Ue-ct]]>Kt||ll[255+Cr-dr]>Kt}function ws(be,Ue,ct,Kt){return 4*ll[255+be[Ue-ct]-be[Ue+0]]+ll[255+be[Ue-2*ct]-be[Ue+ct]]<=Kt}function Do(be,Ue,ct,Kt,dr){var Cr=be[Ue-3*ct],Ne=be[Ue-2*ct],ee=be[Ue-ct],Se=be[Ue+0],He=be[Ue+ct],it=be[Ue+2*ct],St=be[Ue+3*ct];return 4*ll[255+ee-Se]+ll[255+Ne-He]>Kt?0:ll[255+be[Ue-4*ct]-Cr]<=dr&&ll[255+Cr-Ne]<=dr&&ll[255+Ne-ee]<=dr&&ll[255+St-it]<=dr&&ll[255+it-He]<=dr&&ll[255+He-Se]<=dr}function po(be,Ue,ct,Kt){var dr=2*Kt+1;for(Kt=0;16>Kt;++Kt)ws(be,Ue+Kt,ct,dr)&&Es(be,Ue+Kt,ct)}function rs(be,Ue,ct,Kt){var dr=2*Kt+1;for(Kt=0;16>Kt;++Kt)ws(be,Ue+Kt*ct,1,dr)&&Es(be,Ue+Kt*ct,1)}function Yo(be,Ue,ct,Kt){var dr;for(dr=3;0<dr;--dr)po(be,Ue+=4*ct,ct,Kt)}function Fo(be,Ue,ct,Kt){var dr;for(dr=3;0<dr;--dr)rs(be,Ue+=4,ct,Kt)}function zr(be,Ue,ct,Kt,dr,Cr,Ne,ee){for(Cr=2*Cr+1;0<dr--;){if(Do(be,Ue,ct,Cr,Ne))if(Ts(be,Ue,ct,ee))Es(be,Ue,ct);else{var Se=be,He=Ue,it=ct,St=Se[He-2*it],Ct=Se[He-it],Ot=Se[He+0],Ar=Se[He+it],Or=Se[He+2*it],mr=27*(Tr=Hl[1020+3*(Ot-Ct)+Hl[1020+St-Ar]])+63>>7,cr=18*Tr+63>>7,Tr=9*Tr+63>>7;Se[He-3*it]=nl[255+Se[He-3*it]+Tr],Se[He-2*it]=nl[255+St+cr],Se[He-it]=nl[255+Ct+mr],Se[He+0]=nl[255+Ot-mr],Se[He+it]=nl[255+Ar-cr],Se[He+2*it]=nl[255+Or-Tr]}Ue+=Kt}}function Jo(be,Ue,ct,Kt,dr,Cr,Ne,ee){for(Cr=2*Cr+1;0<dr--;){if(Do(be,Ue,ct,Cr,Ne))if(Ts(be,Ue,ct,ee))Es(be,Ue,ct);else{var Se=be,He=Ue,it=ct,St=Se[He-it],Ct=Se[He+0],Ot=Se[He+it],Ar=zs[112+((Or=3*(Ct-St))+4>>3)],Or=zs[112+(Or+3>>3)],mr=Ar+1>>1;Se[He-2*it]=nl[255+Se[He-2*it]+mr],Se[He-it]=nl[255+St+Or],Se[He+0]=nl[255+Ct-Ar],Se[He+it]=nl[255+Ot-mr]}Ue+=Kt}}function $s(be,Ue,ct,Kt,dr,Cr){zr(be,Ue,ct,1,16,Kt,dr,Cr)}function Is(be,Ue,ct,Kt,dr,Cr){zr(be,Ue,1,ct,16,Kt,dr,Cr)}function ks(be,Ue,ct,Kt,dr,Cr){var Ne;for(Ne=3;0<Ne;--Ne)Jo(be,Ue+=4*ct,ct,1,16,Kt,dr,Cr)}function lo(be,Ue,ct,Kt,dr,Cr){var Ne;for(Ne=3;0<Ne;--Ne)Jo(be,Ue+=4,1,ct,16,Kt,dr,Cr)}function Ao(be,Ue,ct,Kt,dr,Cr,Ne,ee){zr(be,Ue,dr,1,8,Cr,Ne,ee),zr(ct,Kt,dr,1,8,Cr,Ne,ee)}function Uo(be,Ue,ct,Kt,dr,Cr,Ne,ee){zr(be,Ue,1,dr,8,Cr,Ne,ee),zr(ct,Kt,1,dr,8,Cr,Ne,ee)}function hs(be,Ue,ct,Kt,dr,Cr,Ne,ee){Jo(be,Ue+4*dr,dr,1,8,Cr,Ne,ee),Jo(ct,Kt+4*dr,dr,1,8,Cr,Ne,ee)}function vs(be,Ue,ct,Kt,dr,Cr,Ne,ee){Jo(be,Ue+4,1,dr,8,Cr,Ne,ee),Jo(ct,Kt+4,1,dr,8,Cr,Ne,ee)}function ss(){this.ba=new ri,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new oi,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Cs(){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 ol(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Ls(){this.ua=0,this.Wa=new Bi,this.vb=new Bi,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new ci,this.yc=new Sn}function Xs(){this.xb=this.a=0,this.l=new Qn,this.ca=new ri,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Mr,this.Pb=0,this.wd=new Mr,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Ls,this.ab=0,this.gc=qe(4,ol),this.Oc=0}function Os(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Qn,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ks(be,Ue,ct,Kt,dr,Cr,Ne){for(be=be==null?0:be[Ue+0],Ue=0;Ue<Ne;++Ue)dr[Cr+Ue]=be+ct[Kt+Ue]&255,be=dr[Cr+Ue]}function Bs(be,Ue,ct,Kt,dr,Cr,Ne){var ee;if(be==null)Ks(null,null,ct,Kt,dr,Cr,Ne);else for(ee=0;ee<Ne;++ee)dr[Cr+ee]=be[Ue+ee]+ct[Kt+ee]&255}function bt(be,Ue,ct,Kt,dr,Cr,Ne){if(be==null)Ks(null,null,ct,Kt,dr,Cr,Ne);else{var ee,Se=be[Ue+0],He=Se,it=Se;for(ee=0;ee<Ne;++ee)He=it+(Se=be[Ue+ee])-He,it=ct[Kt+ee]+(-256&He?0>He?0:255:He)&255,He=Se,dr[Cr+ee]=it}}function Dt(be,Ue,ct,Kt){var dr=Ue.width,Cr=Ue.o;if(Ie(be!=null&&Ue!=null),0>ct||0>=Kt||ct+Kt>Cr)return null;if(!be.Cc){if(be.ga==null){var Ne;if(be.ga=new Os,(Ne=be.ga==null)||(Ne=Ue.width*Ue.o,Ie(be.Gb.length==0),be.Gb=Ke(Ne),be.Uc=0,be.Gb==null?Ne=0:(be.mb=be.Gb,be.nb=be.Uc,be.rc=null,Ne=1),Ne=!Ne),!Ne){Ne=be.ga;var ee=be.Fa,Se=be.P,He=be.qc,it=be.mb,St=be.nb,Ct=Se+1,Ot=He-1,Ar=Ne.l;if(Ie(ee!=null&&it!=null&&Ue!=null),bl[0]=null,bl[1]=Ks,bl[2]=Bs,bl[3]=bt,Ne.ca=it,Ne.tb=St,Ne.c=Ue.width,Ne.i=Ue.height,Ie(0<Ne.c&&0<Ne.i),1>=He)Ue=0;else if(Ne.$a=ee[Se+0]>>0&3,Ne.Z=ee[Se+0]>>2&3,Ne.Lc=ee[Se+0]>>4&3,Se=ee[Se+0]>>6&3,0>Ne.$a||1<Ne.$a||4<=Ne.Z||1<Ne.Lc||Se)Ue=0;else if(Ar.put=ki,Ar.ac=pi,Ar.bc=zn,Ar.ma=Ne,Ar.width=Ue.width,Ar.height=Ue.height,Ar.Da=Ue.Da,Ar.v=Ue.v,Ar.va=Ue.va,Ar.j=Ue.j,Ar.o=Ue.o,Ne.$a)e:{Ie(Ne.$a==1),Ue=ln();t:for(;;){if(Ue==null){Ue=0;break e}if(Ie(Ne!=null),Ne.mc=Ue,Ue.c=Ne.c,Ue.i=Ne.i,Ue.l=Ne.l,Ue.l.ma=Ne,Ue.l.width=Ne.c,Ue.l.height=Ne.i,Ue.a=0,Qi(Ue.m,ee,Ct,Ot),!qr(Ne.c,Ne.i,1,Ue,null))break t;if(Ue.ab==1&&Ue.gc[0].hc==3&&jt(Ue.s)?(Ne.ic=1,ee=Ue.c*Ue.i,Ue.Ta=null,Ue.Ua=0,Ue.V=Ke(ee),Ue.Ba=0,Ue.V==null?(Ue.a=1,Ue=0):Ue=1):(Ne.ic=0,Ue=fn(Ue,Ne.c)),!Ue)break t;Ue=1;break e}Ne.mc=null,Ue=0}else Ue=Ot>=Ne.c*Ne.i;Ne=!Ue}if(Ne)return null;be.ga.Lc!=1?be.Ga=0:Kt=Cr-ct}Ie(be.ga!=null),Ie(ct+Kt<=Cr);e:{if(Ue=(ee=be.ga).c,Cr=ee.l.o,ee.$a==0){if(Ct=be.rc,Ot=be.Vc,Ar=be.Fa,Se=be.P+1+ct*Ue,He=be.mb,it=be.nb+ct*Ue,Ie(Se<=be.P+be.qc),ee.Z!=0)for(Ie(bl[ee.Z]!=null),Ne=0;Ne<Kt;++Ne)bl[ee.Z](Ct,Ot,Ar,Se,He,it,Ue),Ct=He,Ot=it,it+=Ue,Se+=Ue;else for(Ne=0;Ne<Kt;++Ne)Fe(He,it,Ar,Se,Ue),Ct=He,Ot=it,it+=Ue,Se+=Ue;be.rc=Ct,be.Vc=Ot}else{if(Ie(ee.mc!=null),Ue=ct+Kt,Ie((Ne=ee.mc)!=null),Ie(Ue<=Ne.i),Ne.C>=Ue)Ue=1;else if(ee.ic||Ae(),ee.ic){ee=Ne.V,Ct=Ne.Ba,Ot=Ne.c;var Or=Ne.i,mr=(Ar=1,Se=Ne.$/Ot,He=Ne.$%Ot,it=Ne.m,St=Ne.s,Ne.$),cr=Ot*Or,Tr=Ot*Ue,kr=St.wc,sn=mr<Tr?Wr(St,He,Se):null;Ie(mr<=cr),Ie(Ue<=Or),Ie(jt(St));t:for(;;){for(;!it.h&&mr<Tr;){if(He&kr||(sn=Wr(St,He,Se)),Ie(sn!=null),Zn(it),256>(Or=Zi(sn.G[0],sn.H[0],it)))ee[Ct+mr]=Or,++mr,++He>=Ot&&(He=0,++Se<=Ue&&!(Se%16)&&$t(Ne,Se));else{if(!(280>Or)){Ar=0;break t}Or=Yi(Or-256,it);var jn,Vn=Zi(sn.G[4],sn.H[4],it);if(Zn(it),!(mr>=(Vn=ta(Ot,Vn=Yi(Vn,it)))&&cr-mr>=Or)){Ar=0;break t}for(jn=0;jn<Or;++jn)ee[Ct+mr+jn]=ee[Ct+mr+jn-Vn];for(mr+=Or,He+=Or;He>=Ot;)He-=Ot,++Se<=Ue&&!(Se%16)&&$t(Ne,Se);mr<Tr&&He&kr&&(sn=Wr(St,He,Se))}Ie(it.h==Rn(it))}$t(Ne,Se>Ue?Ue:Se);break t}!Ar||it.h&&mr<cr?(Ar=0,Ne.a=it.h?5:3):Ne.$=mr,Ue=Ar}else Ue=jr(Ne,Ne.V,Ne.Ba,Ne.c,Ne.i,Ue,Dn);if(!Ue){Kt=0;break e}}ct+Kt>=Cr&&(be.Cc=1),Kt=1}if(!Kt)return null;if(be.Cc&&((Kt=be.ga)!=null&&(Kt.mc=null),be.ga=null,0<be.Ga))return alert("todo:WebPDequantizeLevels"),null}return be.nb+ct*dr}function rn(be,Ue,ct,Kt,dr,Cr){for(;0<dr--;){var Ne,ee=be,Se=Ue+(ct?1:0),He=be,it=Ue+(ct?0:3);for(Ne=0;Ne<Kt;++Ne){var St=He[it+4*Ne];St!=255&&(St*=32897,ee[Se+4*Ne+0]=ee[Se+4*Ne+0]*St>>23,ee[Se+4*Ne+1]=ee[Se+4*Ne+1]*St>>23,ee[Se+4*Ne+2]=ee[Se+4*Ne+2]*St>>23)}Ue+=Cr}}function On(be,Ue,ct,Kt,dr){for(;0<Kt--;){var Cr;for(Cr=0;Cr<ct;++Cr){var Ne=be[Ue+2*Cr+0],ee=15&(He=be[Ue+2*Cr+1]),Se=4369*ee,He=(240&He|He>>4)*Se>>16;be[Ue+2*Cr+0]=(240&Ne|Ne>>4)*Se>>16&240|(15&Ne|Ne<<4)*Se>>16>>4&15,be[Ue+2*Cr+1]=240&He|ee}Ue+=dr}}function ft(be,Ue,ct,Kt,dr,Cr,Ne,ee){var Se,He,it=255;for(He=0;He<dr;++He){for(Se=0;Se<Kt;++Se){var St=be[Ue+Se];Cr[Ne+4*Se]=St,it&=St}Ue+=ct,Ne+=ee}return it!=255}function ne(be,Ue,ct,Kt,dr){var Cr;for(Cr=0;Cr<dr;++Cr)ct[Kt+Cr]=be[Ue+Cr]>>8}function Ae(){xl=rn,Bl=On,rl=ft,Il=ne}function Te(be,Ue,ct){Bn[be]=function(Kt,dr,Cr,Ne,ee,Se,He,it,St,Ct,Ot,Ar,Or,mr,cr,Tr,kr){var sn,jn=kr-1>>1,Vn=ee[Se+0]|He[it+0]<<16,Li=St[Ct+0]|Ot[Ar+0]<<16;Ie(Kt!=null);var ui=3*Vn+Li+131074>>2;for(Ue(Kt[dr+0],255&ui,ui>>16,Or,mr),Cr!=null&&(ui=3*Li+Vn+131074>>2,Ue(Cr[Ne+0],255&ui,ui>>16,cr,Tr)),sn=1;sn<=jn;++sn){var ba=ee[Se+sn]|He[it+sn]<<16,Wi=St[Ct+sn]|Ot[Ar+sn]<<16,Oa=Vn+ba+Li+Wi+524296,wa=Oa+2*(ba+Li)>>3;ui=wa+Vn>>1,Vn=(Oa=Oa+2*(Vn+Wi)>>3)+ba>>1,Ue(Kt[dr+2*sn-1],255&ui,ui>>16,Or,mr+(2*sn-1)*ct),Ue(Kt[dr+2*sn-0],255&Vn,Vn>>16,Or,mr+(2*sn-0)*ct),Cr!=null&&(ui=Oa+Li>>1,Vn=wa+Wi>>1,Ue(Cr[Ne+2*sn-1],255&ui,ui>>16,cr,Tr+(2*sn-1)*ct),Ue(Cr[Ne+2*sn+0],255&Vn,Vn>>16,cr,Tr+(2*sn+0)*ct)),Vn=ba,Li=Wi}1&kr||(ui=3*Vn+Li+131074>>2,Ue(Kt[dr+kr-1],255&ui,ui>>16,Or,mr+(kr-1)*ct),Cr!=null&&(ui=3*Li+Vn+131074>>2,Ue(Cr[Ne+kr-1],255&ui,ui>>16,cr,Tr+(kr-1)*ct)))}}function je(){ul[Fl]=fu,ul[ou]=Wu,ul[su]=pu,ul[Ql]=Lu,ul[Vs]=Ou,ul[lu]=zu,ul[uu]=Vl,ul[Cu]=Wu,ul[Al]=Lu,ul[Ol]=Ou,ul[Kl]=zu}function st(be){return be&~Vu?0>be?0:255:be>>mu}function xt(be,Ue){return st((19077*be>>8)+(26149*Ue>>8)-14234)}function gr(be,Ue,ct){return st((19077*be>>8)-(6419*Ue>>8)-(13320*ct>>8)+8708)}function Ir(be,Ue){return st((19077*be>>8)+(33050*Ue>>8)-17685)}function Zr(be,Ue,ct,Kt,dr){Kt[dr+0]=xt(be,ct),Kt[dr+1]=gr(be,Ue,ct),Kt[dr+2]=Ir(be,Ue)}function En(be,Ue,ct,Kt,dr){Kt[dr+0]=Ir(be,Ue),Kt[dr+1]=gr(be,Ue,ct),Kt[dr+2]=xt(be,ct)}function Hn(be,Ue,ct,Kt,dr){var Cr=gr(be,Ue,ct);Ue=Cr<<3&224|Ir(be,Ue)>>3,Kt[dr+0]=248&xt(be,ct)|Cr>>5,Kt[dr+1]=Ue}function ai(be,Ue,ct,Kt,dr){var Cr=240&Ir(be,Ue)|15;Kt[dr+0]=240&xt(be,ct)|gr(be,Ue,ct)>>4,Kt[dr+1]=Cr}function Ci(be,Ue,ct,Kt,dr){Kt[dr+0]=255,Zr(be,Ue,ct,Kt,dr+1)}function Ui(be,Ue,ct,Kt,dr){En(be,Ue,ct,Kt,dr),Kt[dr+3]=255}function va(be,Ue,ct,Kt,dr){Zr(be,Ue,ct,Kt,dr),Kt[dr+3]=255}function bi(be,Ue){return 0>be?0:be>Ue?Ue:be}function _a(be,Ue,ct){Bn[be]=function(Kt,dr,Cr,Ne,ee,Se,He,it,St){for(var Ct=it+(-2&St)*ct;it!=Ct;)Ue(Kt[dr+0],Cr[Ne+0],ee[Se+0],He,it),Ue(Kt[dr+1],Cr[Ne+0],ee[Se+0],He,it+ct),dr+=2,++Ne,++Se,it+=2*ct;1&St&&Ue(Kt[dr+0],Cr[Ne+0],ee[Se+0],He,it)}}function Za(be,Ue,ct){return ct==0?be==0?Ue==0?6:5:Ue==0?4:0:ct}function no(be,Ue,ct,Kt,dr){switch(be>>>30){case 3:tl(Ue,ct,Kt,dr,0);break;case 2:Ys(Ue,ct,Kt,dr);break;case 1:Ja(Ue,ct,Kt,dr)}}function uo(be,Ue){var ct,Kt,dr=Ue.M,Cr=Ue.Nb,Ne=be.oc,ee=be.pc+40,Se=be.oc,He=be.pc+584,it=be.oc,St=be.pc+600;for(ct=0;16>ct;++ct)Ne[ee+32*ct-1]=129;for(ct=0;8>ct;++ct)Se[He+32*ct-1]=129,it[St+32*ct-1]=129;for(0<dr?Ne[ee-1-32]=Se[He-1-32]=it[St-1-32]=129:(Ge(Ne,ee-32-1,127,21),Ge(Se,He-32-1,127,9),Ge(it,St-32-1,127,9)),Kt=0;Kt<be.za;++Kt){var Ct=Ue.ya[Ue.aa+Kt];if(0<Kt){for(ct=-1;16>ct;++ct)Fe(Ne,ee+32*ct-4,Ne,ee+32*ct+12,4);for(ct=-1;8>ct;++ct)Fe(Se,He+32*ct-4,Se,He+32*ct+4,4),Fe(it,St+32*ct-4,it,St+32*ct+4,4)}var Ot=be.Gd,Ar=be.Hd+Kt,Or=Ct.ad,mr=Ct.Hc;if(0<dr&&(Fe(Ne,ee-32,Ot[Ar].y,0,16),Fe(Se,He-32,Ot[Ar].f,0,8),Fe(it,St-32,Ot[Ar].ea,0,8)),Ct.Za){var cr=Ne,Tr=ee-32+16;for(0<dr&&(Kt>=be.za-1?Ge(cr,Tr,Ot[Ar].y[15],4):Fe(cr,Tr,Ot[Ar+1].y,0,4)),ct=0;4>ct;ct++)cr[Tr+128+ct]=cr[Tr+256+ct]=cr[Tr+384+ct]=cr[Tr+0+ct];for(ct=0;16>ct;++ct,mr<<=2)cr=Ne,Tr=ee+gu[ct],fl[Ct.Ob[ct]](cr,Tr),no(mr,Or,16*+ct,cr,Tr)}else if(cr=Za(Kt,dr,Ct.Ob[0]),hl[cr](Ne,ee),mr!=0)for(ct=0;16>ct;++ct,mr<<=2)no(mr,Or,16*+ct,Ne,ee+gu[ct]);for(ct=Ct.Gc,cr=Za(Kt,dr,Ct.Dd),Tl[cr](Se,He),Tl[cr](it,St),mr=Or,cr=Se,Tr=He,255&(Ct=ct>>0)&&(170&Ct?js(mr,256,cr,Tr):Ea(mr,256,cr,Tr)),Ct=it,mr=St,255&(ct>>=8)&&(170&ct?js(Or,320,Ct,mr):Ea(Or,320,Ct,mr)),dr<be.Ub-1&&(Fe(Ot[Ar].y,0,Ne,ee+480,16),Fe(Ot[Ar].f,0,Se,He+224,8),Fe(Ot[Ar].ea,0,it,St+224,8)),ct=8*Cr*be.B,Ot=be.sa,Ar=be.ta+16*Kt+16*Cr*be.R,Or=be.qa,Ct=be.ra+8*Kt+ct,mr=be.Ha,cr=be.Ia+8*Kt+ct,ct=0;16>ct;++ct)Fe(Ot,Ar+ct*be.R,Ne,ee+32*ct,16);for(ct=0;8>ct;++ct)Fe(Or,Ct+ct*be.B,Se,He+32*ct,8),Fe(mr,cr+ct*be.B,it,St+32*ct,8)}}function Io(be,Ue,ct,Kt,dr,Cr,Ne,ee,Se){var He=[0],it=[0],St=0,Ct=Se!=null?Se.kd:0,Ot=Se!=null?Se:new Cs;if(be==null||12>ct)return 7;Ot.data=be,Ot.w=Ue,Ot.ha=ct,Ue=[Ue],ct=[ct],Ot.gb=[Ot.gb];e:{var Ar=Ue,Or=ct,mr=Ot.gb;if(Ie(be!=null),Ie(Or!=null),Ie(mr!=null),mr[0]=0,12<=Or[0]&&!Be(be,Ar[0],"RIFF")){if(Be(be,Ar[0]+8,"WEBP")){mr=3;break e}var cr=ja(be,Ar[0]+4);if(12>cr||4294967286<cr){mr=3;break e}if(Ct&&cr>Or[0]-8){mr=7;break e}mr[0]=cr,Ar[0]+=12,Or[0]-=12}mr=0}if(mr!=0)return mr;for(cr=0<Ot.gb[0],ct=ct[0];;){e:{var Tr=be;Or=Ue,mr=ct;var kr=He,sn=it,jn=Ar=[0];if((ui=St=[St])[0]=0,8>mr[0])mr=7;else{if(!Be(Tr,Or[0],"VP8X")){if(ja(Tr,Or[0]+4)!=10){mr=3;break e}if(18>mr[0]){mr=7;break e}var Vn=ja(Tr,Or[0]+8),Li=1+ca(Tr,Or[0]+12);if(2147483648<=Li*(Tr=1+ca(Tr,Or[0]+15))){mr=3;break e}jn!=null&&(jn[0]=Vn),kr!=null&&(kr[0]=Li),sn!=null&&(sn[0]=Tr),Or[0]+=18,mr[0]-=18,ui[0]=1}mr=0}}if(St=St[0],Ar=Ar[0],mr!=0)return mr;if(Or=!!(2&Ar),!cr&&St)return 3;if(Cr!=null&&(Cr[0]=!!(16&Ar)),Ne!=null&&(Ne[0]=Or),ee!=null&&(ee[0]=0),Ne=He[0],Ar=it[0],St&&Or&&Se==null){mr=0;break}if(4>ct){mr=7;break}if(cr&&St||!cr&&!St&&!Be(be,Ue[0],"ALPH")){ct=[ct],Ot.na=[Ot.na],Ot.P=[Ot.P],Ot.Sa=[Ot.Sa];e:{Vn=be,mr=Ue,cr=ct;var ui=Ot.gb;kr=Ot.na,sn=Ot.P,jn=Ot.Sa,Li=22,Ie(Vn!=null),Ie(cr!=null),Tr=mr[0];var ba=cr[0];for(Ie(kr!=null),Ie(jn!=null),kr[0]=null,sn[0]=null,jn[0]=0;;){if(mr[0]=Tr,cr[0]=ba,8>ba){mr=7;break e}var Wi=ja(Vn,Tr+4);if(4294967286<Wi){mr=3;break e}var Oa=8+Wi+1&-2;if(Li+=Oa,0<ui&&Li>ui){mr=3;break e}if(!Be(Vn,Tr,"VP8 ")||!Be(Vn,Tr,"VP8L")){mr=0;break e}if(ba[0]<Oa){mr=7;break e}Be(Vn,Tr,"ALPH")||(kr[0]=Vn,sn[0]=Tr+8,jn[0]=Wi),Tr+=Oa,ba-=Oa}}if(ct=ct[0],Ot.na=Ot.na[0],Ot.P=Ot.P[0],Ot.Sa=Ot.Sa[0],mr!=0)break}ct=[ct],Ot.Ja=[Ot.Ja],Ot.xa=[Ot.xa];e:if(ui=be,mr=Ue,cr=ct,kr=Ot.gb[0],sn=Ot.Ja,jn=Ot.xa,Vn=mr[0],Tr=!Be(ui,Vn,"VP8 "),Li=!Be(ui,Vn,"VP8L"),Ie(ui!=null),Ie(cr!=null),Ie(sn!=null),Ie(jn!=null),8>cr[0])mr=7;else{if(Tr||Li){if(ui=ja(ui,Vn+4),12<=kr&&ui>kr-12){mr=3;break e}if(Ct&&ui>cr[0]-8){mr=7;break e}sn[0]=ui,mr[0]+=8,cr[0]-=8,jn[0]=Li}else jn[0]=5<=cr[0]&&ui[Vn+0]==47&&!(ui[Vn+4]>>5),sn[0]=cr[0];mr=0}if(ct=ct[0],Ot.Ja=Ot.Ja[0],Ot.xa=Ot.xa[0],Ue=Ue[0],mr!=0)break;if(4294967286<Ot.Ja)return 3;if(ee==null||Or||(ee[0]=Ot.xa?2:1),Ne=[Ne],Ar=[Ar],Ot.xa){if(5>ct){mr=7;break}ee=Ne,Ct=Ar,Or=Cr,be==null||5>ct?be=0:5<=ct&&be[Ue+0]==47&&!(be[Ue+4]>>5)?(cr=[0],ui=[0],kr=[0],Qi(sn=new Mr,be,Ue,ct),ji(sn,cr,ui,kr)?(ee!=null&&(ee[0]=cr[0]),Ct!=null&&(Ct[0]=ui[0]),Or!=null&&(Or[0]=kr[0]),be=1):be=0):be=0}else{if(10>ct){mr=7;break}ee=Ar,be==null||10>ct||!Gi(be,Ue+3,ct-3)?be=0:(Ct=be[Ue+0]|be[Ue+1]<<8|be[Ue+2]<<16,Or=16383&(be[Ue+7]<<8|be[Ue+6]),be=16383&(be[Ue+9]<<8|be[Ue+8]),1&Ct||3<(Ct>>1&7)||!(Ct>>4&1)||Ct>>5>=Ot.Ja||!Or||!be?be=0:(Ne&&(Ne[0]=Or),ee&&(ee[0]=be),be=1))}if(!be)return 3;if(Ne=Ne[0],Ar=Ar[0],St&&(He[0]!=Ne||it[0]!=Ar))return 3;Se!=null&&(Se[0]=Ot,Se.offset=Ue-Se.w,Ie(4294967286>Ue-Se.w),Ie(Se.offset==Se.ha-ct));break}return mr==0||mr==7&&St&&Se==null?(Cr!=null&&(Cr[0]|=Ot.na!=null&&0<Ot.na.length),Kt!=null&&(Kt[0]=Ne),dr!=null&&(dr[0]=Ar),0):mr}function Eo(be,Ue,ct){var Kt=Ue.width,dr=Ue.height,Cr=0,Ne=0,ee=Kt,Se=dr;if(Ue.Da=be!=null&&0<be.Da,Ue.Da&&(ee=be.cd,Se=be.bd,Cr=be.v,Ne=be.j,11>ct||(Cr&=-2,Ne&=-2),0>Cr||0>Ne||0>=ee||0>=Se||Cr+ee>Kt||Ne+Se>dr))return 0;if(Ue.v=Cr,Ue.j=Ne,Ue.va=Cr+ee,Ue.o=Ne+Se,Ue.U=ee,Ue.T=Se,Ue.da=be!=null&&0<be.da,Ue.da){if(!sa(ee,Se,ct=[be.ib],Cr=[be.hb]))return 0;Ue.ib=ct[0],Ue.hb=Cr[0]}return Ue.ob=be!=null&&be.ob,Ue.Kb=be==null||!be.Sd,Ue.da&&(Ue.ob=Ue.ib<3*Kt/4&&Ue.hb<3*dr/4,Ue.Kb=0),1}function Ro(be){if(be==null)return 2;if(11>be.S){var Ue=be.f.RGBA;Ue.fb+=(be.height-1)*Ue.A,Ue.A=-Ue.A}else Ue=be.f.kb,be=be.height,Ue.O+=(be-1)*Ue.fa,Ue.fa=-Ue.fa,Ue.N+=(be-1>>1)*Ue.Ab,Ue.Ab=-Ue.Ab,Ue.W+=(be-1>>1)*Ue.Db,Ue.Db=-Ue.Db,Ue.F!=null&&(Ue.J+=(be-1)*Ue.lb,Ue.lb=-Ue.lb);return 0}function yo(be,Ue,ct,Kt){if(Kt==null||0>=be||0>=Ue)return 2;if(ct!=null){if(ct.Da){var dr=ct.cd,Cr=ct.bd,Ne=-2&ct.v,ee=-2&ct.j;if(0>Ne||0>ee||0>=dr||0>=Cr||Ne+dr>be||ee+Cr>Ue)return 2;be=dr,Ue=Cr}if(ct.da){if(!sa(be,Ue,dr=[ct.ib],Cr=[ct.hb]))return 2;be=dr[0],Ue=Cr[0]}}Kt.width=be,Kt.height=Ue;e:{var Se=Kt.width,He=Kt.height;if(be=Kt.S,0>=Se||0>=He||!(be>=Fl&&13>be))be=2;else{if(0>=Kt.Rd&&Kt.sd==null){Ne=Cr=dr=Ue=0;var it=(ee=Se*tu[be])*He;if(11>be||(Cr=(He+1)/2*(Ue=(Se+1)/2),be==12&&(Ne=(dr=Se)*He)),(He=Ke(it+2*Cr+Ne))==null){be=1;break e}Kt.sd=He,11>be?((Se=Kt.f.RGBA).eb=He,Se.fb=0,Se.A=ee,Se.size=it):((Se=Kt.f.kb).y=He,Se.O=0,Se.fa=ee,Se.Fd=it,Se.f=He,Se.N=0+it,Se.Ab=Ue,Se.Cd=Cr,Se.ea=He,Se.W=0+it+Cr,Se.Db=Ue,Se.Ed=Cr,be==12&&(Se.F=He,Se.J=0+it+2*Cr),Se.Tc=Ne,Se.lb=dr)}if(Ue=1,dr=Kt.S,Cr=Kt.width,Ne=Kt.height,dr>=Fl&&13>dr)if(11>dr)be=Kt.f.RGBA,Ue&=(ee=Math.abs(be.A))*(Ne-1)+Cr<=be.size,Ue&=ee>=Cr*tu[dr],Ue&=be.eb!=null;else{be=Kt.f.kb,ee=(Cr+1)/2,it=(Ne+1)/2,Se=Math.abs(be.fa),He=Math.abs(be.Ab);var St=Math.abs(be.Db),Ct=Math.abs(be.lb),Ot=Ct*(Ne-1)+Cr;Ue&=Se*(Ne-1)+Cr<=be.Fd,Ue&=He*(it-1)+ee<=be.Cd,Ue=(Ue&=St*(it-1)+ee<=be.Ed)&Se>=Cr&He>=ee&St>=ee,Ue&=be.y!=null,Ue&=be.f!=null,Ue&=be.ea!=null,dr==12&&(Ue&=Ct>=Cr,Ue&=Ot<=be.Tc,Ue&=be.F!=null)}else Ue=0;be=Ue?0:2}}return be!=0||ct!=null&&ct.fd&&(be=Ro(Kt)),be}var Lo=64,Zo=[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],Ko=24,To=32,aa=8,Ns=[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];Vt("Predictor0","PredictorAdd0"),Bn.Predictor0=function(){return 4278190080},Bn.Predictor1=function(be){return be},Bn.Predictor2=function(be,Ue,ct){return Ue[ct+0]},Bn.Predictor3=function(be,Ue,ct){return Ue[ct+1]},Bn.Predictor4=function(be,Ue,ct){return Ue[ct-1]},Bn.Predictor5=function(be,Ue,ct){return an(an(be,Ue[ct+1]),Ue[ct+0])},Bn.Predictor6=function(be,Ue,ct){return an(be,Ue[ct-1])},Bn.Predictor7=function(be,Ue,ct){return an(be,Ue[ct+0])},Bn.Predictor8=function(be,Ue,ct){return an(Ue[ct-1],Ue[ct+0])},Bn.Predictor9=function(be,Ue,ct){return an(Ue[ct+0],Ue[ct+1])},Bn.Predictor10=function(be,Ue,ct){return an(an(be,Ue[ct-1]),an(Ue[ct+0],Ue[ct+1]))},Bn.Predictor11=function(be,Ue,ct){var Kt=Ue[ct+0];return 0>=It(Kt>>24&255,be>>24&255,(Ue=Ue[ct-1])>>24&255)+It(Kt>>16&255,be>>16&255,Ue>>16&255)+It(Kt>>8&255,be>>8&255,Ue>>8&255)+It(255&Kt,255&be,255&Ue)?Kt:be},Bn.Predictor12=function(be,Ue,ct){var Kt=Ue[ct+0];return(mn((be>>24&255)+(Kt>>24&255)-((Ue=Ue[ct-1])>>24&255))<<24|mn((be>>16&255)+(Kt>>16&255)-(Ue>>16&255))<<16|mn((be>>8&255)+(Kt>>8&255)-(Ue>>8&255))<<8|mn((255&be)+(255&Kt)-(255&Ue)))>>>0},Bn.Predictor13=function(be,Ue,ct){var Kt=Ue[ct-1];return(Ye((be=an(be,Ue[ct+0]))>>24&255,Kt>>24&255)<<24|Ye(be>>16&255,Kt>>16&255)<<16|Ye(be>>8&255,Kt>>8&255)<<8|Ye(be>>0&255,Kt>>0&255))>>>0};var Ss=Bn.PredictorAdd0;Bn.PredictorAdd1=lr,Vt("Predictor2","PredictorAdd2"),Vt("Predictor3","PredictorAdd3"),Vt("Predictor4","PredictorAdd4"),Vt("Predictor5","PredictorAdd5"),Vt("Predictor6","PredictorAdd6"),Vt("Predictor7","PredictorAdd7"),Vt("Predictor8","PredictorAdd8"),Vt("Predictor9","PredictorAdd9"),Vt("Predictor10","PredictorAdd10"),Vt("Predictor11","PredictorAdd11"),Vt("Predictor12","PredictorAdd12"),Vt("Predictor13","PredictorAdd13");var is=Bn.PredictorAdd2;Kr("ColorIndexInverseTransform","MapARGB","32b",function(be){return be>>8&255},function(be){return be}),Kr("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(be){return be},function(be){return be>>8&255});var Qo,fs=Bn.ColorIndexInverseTransform,vl=Bn.MapARGB,sl=Bn.VP8LColorIndexInverseTransformAlpha,ps=Bn.MapAlpha,Mo=Bn.VP8LPredictorsAdd=[];Mo.length=16,(Bn.VP8LPredictors=[]).length=16,(Bn.VP8LPredictorsAdd_C=[]).length=16,(Bn.VP8LPredictors_C=[]).length=16;var ls,el,ms,Fs,Us,Ds,al,tl,Ys,js,Ja,Ea,za,co,$o,Hs,As,ys,jo,Co,qo,So,Ws,Sl,xl,Bl,rl,Il,Ll=Ke(511),Uu=Ke(2041),iu=Ke(225),Tu=Ke(767),au=0,Hl=Uu,zs=iu,nl=Tu,ll=Ll,Fl=0,ou=1,su=2,Ql=3,Vs=4,lu=5,uu=6,Cu=7,Al=8,Ol=9,Kl=10,Jl=[2,3,7],El=[3,3,11],ju=[280,256,256,256,40],Hu=[0,1,1,1,0],yl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zl=[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],cu=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],$l=8,bs=[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],dl=[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],Ul=null,_u=[[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]],du=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Wl=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],zl=[[[[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]]]],hu=[[[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]]],Iu=[[[[255,255,255,255,255,255,255,255,255,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]]]],Ku=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],hl=[],fl=[],Tl=[],ql=1,eu=2,bl=[],ul=[];Te("UpsampleRgbLinePair",Zr,3),Te("UpsampleBgrLinePair",En,3),Te("UpsampleRgbaLinePair",va,4),Te("UpsampleBgraLinePair",Ui,4),Te("UpsampleArgbLinePair",Ci,4),Te("UpsampleRgba4444LinePair",ai,2),Te("UpsampleRgb565LinePair",Hn,2);var fu=Bn.UpsampleRgbLinePair,pu=Bn.UpsampleBgrLinePair,Wu=Bn.UpsampleRgbaLinePair,Lu=Bn.UpsampleBgraLinePair,Ou=Bn.UpsampleArgbLinePair,zu=Bn.UpsampleRgba4444LinePair,Vl=Bn.UpsampleRgb565LinePair,pl=16,Nl=1<<pl-1,Gl=-227,jl=482,mu=6,Vu=(256<<mu)-1,Nu=0,ec=Ke(256),Du=Ke(256),Gu=Ke(256),Xu=Ke(256),Yu=Ke(jl-Gl),Ru=Ke(jl-Gl);_a("YuvToRgbRow",Zr,3),_a("YuvToBgrRow",En,3),_a("YuvToRgbaRow",va,4),_a("YuvToBgraRow",Ui,4),_a("YuvToArgbRow",Ci,4),_a("YuvToRgba4444Row",ai,2),_a("YuvToRgb565Row",Hn,2);var gu=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],wl=[0,2,8],vu=[8,7,6,4,4,2,2,2,1,1,1,1],Cl=1;this.WebPDecodeRGBA=function(be,Ue,ct,Kt,dr){var Cr=ou,Ne=new ss,ee=new ri;Ne.ba=ee,ee.S=Cr,ee.width=[ee.width],ee.height=[ee.height];var Se=ee.width,He=ee.height,it=new Si;if(it==null||be==null)var St=2;else Ie(it!=null),St=Io(be,Ue,ct,it.width,it.height,it.Pd,it.Qd,it.format,null);if(St!=0?Se=0:(Se!=null&&(Se[0]=it.width[0]),He!=null&&(He[0]=it.height[0]),Se=1),Se){ee.width=ee.width[0],ee.height=ee.height[0],Kt!=null&&(Kt[0]=ee.width),dr!=null&&(dr[0]=ee.height);e:{if(Kt=new Qn,(dr=new Cs).data=be,dr.w=Ue,dr.ha=ct,dr.kd=1,Ue=[0],Ie(dr!=null),((be=Io(dr.data,dr.w,dr.ha,null,null,null,Ue,null,dr))==0||be==7)&&Ue[0]&&(be=4),(Ue=be)==0){if(Ie(Ne!=null),Kt.data=dr.data,Kt.w=dr.w+dr.offset,Kt.ha=dr.ha-dr.offset,Kt.put=ki,Kt.ac=pi,Kt.bc=zn,Kt.ma=Ne,dr.xa){if((be=ln())==null){Ne=1;break e}if(function(Ct,Ot){var Ar=[0],Or=[0],mr=[0];t:for(;;){if(Ct==null)return 0;if(Ot==null)return Ct.a=2,0;if(Ct.l=Ot,Ct.a=0,Qi(Ct.m,Ot.data,Ot.w,Ot.ha),!ji(Ct.m,Ar,Or,mr)){Ct.a=3;break t}if(Ct.xb=eu,Ot.width=Ar[0],Ot.height=Or[0],!qr(Ar[0],Or[0],1,Ct,null))break t;return 1}return Ie(Ct.a!=0),0}(be,Kt)){if(Kt=(Ue=yo(Kt.width,Kt.height,Ne.Oa,Ne.ba))==0){t:{Kt=be;r:for(;;){if(Kt==null){Kt=0;break t}if(Ie(Kt.s.yc!=null),Ie(Kt.s.Ya!=null),Ie(0<Kt.s.Wb),Ie((ct=Kt.l)!=null),Ie((dr=ct.ma)!=null),Kt.xb!=0){if(Kt.ca=dr.ba,Kt.tb=dr.tb,Ie(Kt.ca!=null),!Eo(dr.Oa,ct,Ql)){Kt.a=2;break r}if(!fn(Kt,ct.width))break r;if(ct.da)break r;if((ct.da||Tn(Kt.ca.S))&&Ae(),11>Kt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Kt.ca.f.kb.F!=null&&Ae()),Kt.Pb&&0<Kt.s.ua&&Kt.s.vb.X==null&&!fi(Kt.s.vb,Kt.s.Wa.Xa)){Kt.a=1;break r}Kt.xb=0}if(!jr(Kt,Kt.V,Kt.Ba,Kt.c,Kt.i,ct.o,Nr))break r;dr.Dc=Kt.Ma,Kt=1;break t}Ie(Kt.a!=0),Kt=0}Kt=!Kt}Kt&&(Ue=be.a)}else Ue=be.a}else{if((be=new vi)==null){Ne=1;break e}if(be.Fa=dr.na,be.P=dr.P,be.qc=dr.Sa,Oi(be,Kt)){if((Ue=yo(Kt.width,Kt.height,Ne.Oa,Ne.ba))==0){if(be.Aa=0,ct=Ne.Oa,Ie((dr=be)!=null),ct!=null){if(0<(Se=0>(Se=ct.Md)?0:100<Se?255:255*Se/100)){for(He=it=0;4>He;++He)12>(St=dr.pb[He]).lc&&(St.ia=Se*vu[0>St.lc?0:St.lc]>>3),it|=St.ia;it&&(alert("todo:VP8InitRandom"),dr.ia=1)}dr.Ga=ct.Id,100<dr.Ga?dr.Ga=100:0>dr.Ga&&(dr.Ga=0)}fa(be,Kt)||(Ue=be.a)}}else Ue=be.a}Ue==0&&Ne.Oa!=null&&Ne.Oa.fd&&(Ue=Ro(Ne.ba))}Ne=Ue}Cr=Ne!=0?null:11>Cr?ee.f.RGBA.eb:ee.f.kb.y}else Cr=null;return Cr};var tu=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ft(Ti,Bn){for(var Di="",gn=0;gn<4;gn++)Di+=String.fromCharCode(Ti[Bn++]);return Di}function wr(Ti,Bn){return(Ti[Bn+0]<<0|Ti[Bn+1]<<8|Ti[Bn+2]<<16)>>>0}function pr(Ti,Bn){return(Ti[Bn+0]<<0|Ti[Bn+1]<<8|Ti[Bn+2]<<16|Ti[Bn+3]<<24)>>>0}new lt;var Dr=[0],zt=[0],hn=[],ir=new lt,Xr=Xe,Br=function(Ti,Bn){var Di={},gn=0,Vr=!1,Sn=0,tn=0;if(Di.frames=[],!function(Mr,wn,Rn,Xn){for(var Zn=0;Zn<Xn;Zn++)if(Mr[wn+Zn]!=Rn.charCodeAt(Zn))return!0;return!1}(Ti,Bn,"RIFF",4)){var ci,qn;for(pr(Ti,Bn+=4),Bn+=8;Bn<Ti.length;){var wi=Ft(Ti,Bn),Jn=pr(Ti,Bn+=4);Bn+=4;var Qi=Jn+(1&Jn);switch(wi){case"VP8 ":case"VP8L":Di.frames[gn]===void 0&&(Di.frames[gn]={}),(dn=Di.frames[gn]).src_off=Vr?tn:Bn-8,dn.src_size=Sn+Jn+8,gn++,Vr&&(Vr=!1,Sn=0,tn=0);break;case"VP8X":(dn=Di.header={}).feature_flags=Ti[Bn];var xi=Bn+4;dn.canvas_width=1+wr(Ti,xi),xi+=3,dn.canvas_height=1+wr(Ti,xi),xi+=3;break;case"ALPH":Vr=!0,Sn=Qi+8,tn=Bn-8;break;case"ANIM":(dn=Di.header).bgcolor=pr(Ti,Bn),xi=Bn+4,dn.loop_count=(ci=Ti)[(qn=xi)+0]<<0|ci[qn+1]<<8,xi+=2;break;case"ANMF":var Ei,dn;(dn=Di.frames[gn]={}).offset_x=2*wr(Ti,Bn),Bn+=3,dn.offset_y=2*wr(Ti,Bn),Bn+=3,dn.width=1+wr(Ti,Bn),Bn+=3,dn.height=1+wr(Ti,Bn),Bn+=3,dn.duration=wr(Ti,Bn),Bn+=3,Ei=Ti[Bn++],dn.dispose=1&Ei,dn.blend=Ei>>1&1}wi!="ANMF"&&(Bn+=Qi)}return Di}}(Xr,0);Br.response=Xr,Br.rgbaoutput=!0,Br.dataurl=!1;var vr=Br.header?Br.header:null,Cn=Br.frames?Br.frames:null;if(vr){vr.loop_counter=vr.loop_count,Dr=[vr.canvas_height],zt=[vr.canvas_width];for(var kn=0;kn<Cn.length&&Cn[kn].blend!=0;kn++);}var ei=Cn[0],ii=ir.WebPDecodeRGBA(Xr,ei.src_off,ei.src_size,zt,Dr);ei.rgba=ii,ei.imgwidth=zt[0],ei.imgheight=Dr[0];for(var ti=0;ti<zt[0]*Dr[0]*4;ti++)hn[ti]=ii[ti];return this.width=zt,this.height=Dr,this.data=hn,this}!function(Xe){var Ie=function(){return typeof A.b=="function"},Be=function(zt,hn,ir,Xr){var Br=4,vr=qe;switch(Xr){case Xe.image_compression.FAST:Br=1,vr=Ke;break;case Xe.image_compression.MEDIUM:Br=6,vr=vt;break;case Xe.image_compression.SLOW:Br=9,vr=lt}zt=Fe(zt,hn,ir,vr);var Cn=Object(A.b)(zt,{level:Br});return Xe.__addimage__.arrayBufferToBinaryString(Cn)},Fe=function(zt,hn,ir,Xr){for(var Br,vr,Cn,kn=zt.length/hn,ei=new Uint8Array(zt.length+kn),ii=wr(),ti=0;ti<kn;ti+=1){if(Cn=ti*hn,Br=zt.subarray(Cn,Cn+hn),Xr)ei.set(Xr(Br,ir,vr),Cn+ti);else{for(var Ti,Bn=ii.length,Di=[];Ti<Bn;Ti+=1)Di[Ti]=ii[Ti](Br,ir,vr);var gn=pr(Di.concat());ei.set(Di[gn],Cn+ti)}vr=Br}return ei},Ge=function(zt){var hn=Array.apply([],zt);return hn.unshift(0),hn},Ke=function(zt,hn){var ir,Xr=[],Br=zt.length;Xr[0]=1;for(var vr=0;vr<Br;vr+=1)ir=zt[vr-hn]||0,Xr[vr+1]=zt[vr]-ir+256&255;return Xr},qe=function(zt,hn,ir){var Xr,Br=[],vr=zt.length;Br[0]=2;for(var Cn=0;Cn<vr;Cn+=1)Xr=ir&&ir[Cn]||0,Br[Cn+1]=zt[Cn]-Xr+256&255;return Br},vt=function(zt,hn,ir){var Xr,Br,vr=[],Cn=zt.length;vr[0]=3;for(var kn=0;kn<Cn;kn+=1)Xr=zt[kn-hn]||0,Br=ir&&ir[kn]||0,vr[kn+1]=zt[kn]+256-(Xr+Br>>>1)&255;return vr},lt=function(zt,hn,ir){var Xr,Br,vr,Cn,kn=[],ei=zt.length;kn[0]=4;for(var ii=0;ii<ei;ii+=1)Xr=zt[ii-hn]||0,Br=ir&&ir[ii]||0,vr=ir&&ir[ii-hn]||0,Cn=Ft(Xr,Br,vr),kn[ii+1]=zt[ii]-Cn+256&255;return kn},Ft=function(zt,hn,ir){if(zt===hn&&hn===ir)return zt;var Xr=Math.abs(hn-ir),Br=Math.abs(zt-ir),vr=Math.abs(zt+hn-ir-ir);return Xr<=Br&&Xr<=vr?zt:Br<=vr?hn:ir},wr=function(){return[Ge,Ke,qe,vt,lt]},pr=function(zt){var hn=zt.map(function(ir){return ir.reduce(function(Xr,Br){return Xr+Math.abs(Br)},0)});return hn.indexOf(Math.min.apply(null,hn))};Xe.processPNG=function(Dr,zt,hn,ir){var Xr,Br,vr,Cn,kn,ei,ii,ti,Ti,Bn,Di,gn,Vr,Sn,tn,ci=this.decode.FLATE_DECODE,qn="";if(this.__addimage__.isArrayBuffer(Dr)&&(Dr=new Uint8Array(Dr)),this.__addimage__.isArrayBufferView(Dr)){if(Dr=(vr=new rt(Dr)).imgData,Br=vr.bits,Xr=vr.colorSpace,kn=vr.colors,[4,6].indexOf(vr.colorType)!==-1){if(vr.bits===8){Ti=(ti=vr.pixelBitlength==32?new Uint32Array(vr.decodePixels().buffer):vr.pixelBitlength==16?new Uint16Array(vr.decodePixels().buffer):new Uint8Array(vr.decodePixels().buffer)).length,Di=new Uint8Array(Ti*vr.colors),Bn=new Uint8Array(Ti);var wi,Jn=vr.pixelBitlength-vr.bits;for(Sn=0,tn=0;Sn<Ti;Sn++){for(Vr=ti[Sn],wi=0;wi<Jn;)Di[tn++]=Vr>>>wi&255,wi+=vr.bits;Bn[Sn]=Vr>>>wi&255}}if(vr.bits===16){Ti=(ti=new Uint32Array(vr.decodePixels().buffer)).length,Di=new Uint8Array(Ti*(32/vr.pixelBitlength)*vr.colors),Bn=new Uint8Array(Ti*(32/vr.pixelBitlength)),gn=vr.colors>1,Sn=0,tn=0;for(var Qi=0;Sn<Ti;)Vr=ti[Sn++],Di[tn++]=Vr>>>0&255,gn&&(Di[tn++]=Vr>>>16&255,Vr=ti[Sn++],Di[tn++]=Vr>>>0&255),Bn[Qi++]=Vr>>>16&255;Br=8}ir!==Xe.image_compression.NONE&&Ie()?(Dr=Be(Di,vr.width*vr.colors,vr.colors,ir),ii=Be(Bn,vr.width,1,ir)):(Dr=Di,ii=Bn,ci=void 0)}if(vr.colorType===3&&(Xr=this.color_spaces.INDEXED,ei=vr.palette,vr.transparency.indexed)){var xi=vr.transparency.indexed,Ei=0;for(Sn=0,Ti=xi.length;Sn<Ti;++Sn)Ei+=xi[Sn];if((Ei/=255)===Ti-1&&xi.indexOf(0)!==-1)Cn=[xi.indexOf(0)];else if(Ei!==Ti){for(ti=vr.decodePixels(),Bn=new Uint8Array(ti.length),Sn=0,Ti=ti.length;Sn<Ti;Sn++)Bn[Sn]=xi[ti[Sn]];ii=Be(Bn,vr.width,1)}}var dn=function(Mr){var wn;switch(Mr){case Xe.image_compression.FAST:wn=11;break;case Xe.image_compression.MEDIUM:wn=13;break;case Xe.image_compression.SLOW:wn=14;break;default:wn=12}return wn}(ir);return ci===this.decode.FLATE_DECODE&&(qn="/Predictor "+dn+" "),qn+="/Colors "+kn+" /BitsPerComponent "+Br+" /Columns "+vr.width,(this.__addimage__.isArrayBuffer(Dr)||this.__addimage__.isArrayBufferView(Dr))&&(Dr=this.__addimage__.arrayBufferToBinaryString(Dr)),(ii&&this.__addimage__.isArrayBuffer(ii)||this.__addimage__.isArrayBufferView(ii))&&(ii=this.__addimage__.arrayBufferToBinaryString(ii)),{alias:hn,data:Dr,index:zt,filter:ci,decodeParameters:qn,transparency:Cn,palette:ei,sMask:ii,predictor:dn,width:vr.width,height:vr.height,bitsPerComponent:Br,colorSpace:Xr}}}}(j.API),function(Xe){Xe.processGIF89A=function(Ie,Be,Fe,Ge){var Ke=new Pt(Ie),qe=Ke.width,vt=Ke.height,lt=[];Ke.decodeAndBlitFrameRGBA(0,lt);var Ft={data:lt,width:qe,height:vt},wr=new kt(100).encode(Ft,100);return Xe.processJPEG.call(this,wr,Be,Fe,Ge)},Xe.processGIF87A=Xe.processGIF89A}(j.API),_r.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 Xe=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(Xe);for(var Ie=0;Ie<Xe;Ie++){var Be=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0);this.palette[Ie]={red:Ge,green:Fe,blue:Be,quad:Ke}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},_r.prototype.parseBGR=function(){this.pos=this.offset;try{var Xe="bit"+this.bitPP,Ie=this.width*this.height*4;this.data=new Uint8Array(Ie),this[Xe]()}catch(Be){p.log("bit decode error:"+Be)}},_r.prototype.bit1=function(){var Xe,Ie=Math.ceil(this.width/8),Be=Ie%4;for(Xe=this.height-1;Xe>=0;Xe--){for(var Fe=this.bottom_up?Xe:this.height-1-Xe,Ge=0;Ge<Ie;Ge++)for(var Ke=this.datav.getUint8(this.pos++,!0),qe=Fe*this.width*4+8*Ge*4,vt=0;vt<8&&8*Ge+vt<this.width;vt++){var lt=this.palette[Ke>>7-vt&1];this.data[qe+4*vt]=lt.blue,this.data[qe+4*vt+1]=lt.green,this.data[qe+4*vt+2]=lt.red,this.data[qe+4*vt+3]=255}Be!==0&&(this.pos+=4-Be)}},_r.prototype.bit4=function(){for(var Xe=Math.ceil(this.width/2),Ie=Xe%4,Be=this.height-1;Be>=0;Be--){for(var Fe=this.bottom_up?Be:this.height-1-Be,Ge=0;Ge<Xe;Ge++){var Ke=this.datav.getUint8(this.pos++,!0),qe=Fe*this.width*4+2*Ge*4,vt=Ke>>4,lt=15&Ke,Ft=this.palette[vt];if(this.data[qe]=Ft.blue,this.data[qe+1]=Ft.green,this.data[qe+2]=Ft.red,this.data[qe+3]=255,2*Ge+1>=this.width)break;Ft=this.palette[lt],this.data[qe+4]=Ft.blue,this.data[qe+4+1]=Ft.green,this.data[qe+4+2]=Ft.red,this.data[qe+4+3]=255}Ie!==0&&(this.pos+=4-Ie)}},_r.prototype.bit8=function(){for(var Xe=this.width%4,Ie=this.height-1;Ie>=0;Ie--){for(var Be=this.bottom_up?Ie:this.height-1-Ie,Fe=0;Fe<this.width;Fe++){var Ge=this.datav.getUint8(this.pos++,!0),Ke=Be*this.width*4+4*Fe;if(Ge<this.palette.length){var qe=this.palette[Ge];this.data[Ke]=qe.red,this.data[Ke+1]=qe.green,this.data[Ke+2]=qe.blue,this.data[Ke+3]=255}else this.data[Ke]=255,this.data[Ke+1]=255,this.data[Ke+2]=255,this.data[Ke+3]=255}Xe!==0&&(this.pos+=4-Xe)}},_r.prototype.bit15=function(){for(var Xe=this.width%3,Ie=parseInt("11111",2),Be=this.height-1;Be>=0;Be--){for(var Fe=this.bottom_up?Be:this.height-1-Be,Ge=0;Ge<this.width;Ge++){var Ke=this.datav.getUint16(this.pos,!0);this.pos+=2;var qe=(Ke&Ie)/Ie*255|0,vt=(Ke>>5&Ie)/Ie*255|0,lt=(Ke>>10&Ie)/Ie*255|0,Ft=Ke>>15?255:0,wr=Fe*this.width*4+4*Ge;this.data[wr]=lt,this.data[wr+1]=vt,this.data[wr+2]=qe,this.data[wr+3]=Ft}this.pos+=Xe}},_r.prototype.bit16=function(){for(var Xe=this.width%3,Ie=parseInt("11111",2),Be=parseInt("111111",2),Fe=this.height-1;Fe>=0;Fe--){for(var Ge=this.bottom_up?Fe:this.height-1-Fe,Ke=0;Ke<this.width;Ke++){var qe=this.datav.getUint16(this.pos,!0);this.pos+=2;var vt=(qe&Ie)/Ie*255|0,lt=(qe>>5&Be)/Be*255|0,Ft=(qe>>11)/Ie*255|0,wr=Ge*this.width*4+4*Ke;this.data[wr]=Ft,this.data[wr+1]=lt,this.data[wr+2]=vt,this.data[wr+3]=255}this.pos+=Xe}},_r.prototype.bit24=function(){for(var Xe=this.height-1;Xe>=0;Xe--){for(var Ie=this.bottom_up?Xe:this.height-1-Xe,Be=0;Be<this.width;Be++){var Fe=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),qe=Ie*this.width*4+4*Be;this.data[qe]=Ke,this.data[qe+1]=Ge,this.data[qe+2]=Fe,this.data[qe+3]=255}this.pos+=this.width%4}},_r.prototype.bit32=function(){for(var Xe=this.height-1;Xe>=0;Xe--)for(var Ie=this.bottom_up?Xe:this.height-1-Xe,Be=0;Be<this.width;Be++){var Fe=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),qe=this.datav.getUint8(this.pos++,!0),vt=Ie*this.width*4+4*Be;this.data[vt]=Ke,this.data[vt+1]=Ge,this.data[vt+2]=Fe,this.data[vt+3]=qe}},_r.prototype.getData=function(){return this.data},function(Xe){Xe.processBMP=function(Ie,Be,Fe,Ge){var Ke=new _r(Ie,!1),qe=Ke.width,vt=Ke.height,lt={data:Ke.getData(),width:qe,height:vt},Ft=new kt(100).encode(lt,100);return Xe.processJPEG.call(this,Ft,Be,Fe,Ge)}}(j.API),Rr.prototype.getData=function(){return this.data},function(Xe){Xe.processWEBP=function(Ie,Be,Fe,Ge){var Ke=new Rr(Ie,!1),qe=Ke.width,vt=Ke.height,lt={data:Ke.getData(),width:qe,height:vt},Ft=new kt(100).encode(lt,100);return Xe.processJPEG.call(this,Ft,Be,Fe,Ge)}}(j.API),j.API.processRGBA=function(Xe,Ie,Be){for(var Fe=Xe.data,Ge=Fe.length,Ke=new Uint8Array(Ge/4*3),qe=new Uint8Array(Ge/4),vt=0,lt=0,Ft=0;Ft<Ge;Ft+=4){var wr=Fe[Ft],pr=Fe[Ft+1],Dr=Fe[Ft+2],zt=Fe[Ft+3];Ke[vt++]=wr,Ke[vt++]=pr,Ke[vt++]=Dr,qe[lt++]=zt}var hn=this.__addimage__.arrayBufferToBinaryString(Ke);return{alpha:this.__addimage__.arrayBufferToBinaryString(qe),data:hn,index:Ie,alias:Be,colorSpace:"DeviceRGB",bitsPerComponent:8,width:Xe.width,height:Xe.height}},j.API.setLanguage=function(Xe){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"}[Xe]!==void 0&&(this.internal.languageSettings.languageCode=Xe,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},Nt=j.API,Ve=Nt.getCharWidthsArray=function(Xe,Ie){var Be,Fe,Ge=(Ie=Ie||{}).font||this.internal.getFont(),Ke=Ie.fontSize||this.internal.getFontSize(),qe=Ie.charSpace||this.internal.getCharSpace(),vt=Ie.widths?Ie.widths:Ge.metadata.Unicode.widths,lt=vt.fof?vt.fof:1,Ft=Ie.kerning?Ie.kerning:Ge.metadata.Unicode.kerning,wr=Ft.fof?Ft.fof:1,pr=Ie.doKerning!==!1,Dr=0,zt=Xe.length,hn=0,ir=vt[0]||lt,Xr=[];for(Be=0;Be<zt;Be++)Fe=Xe.charCodeAt(Be),typeof Ge.metadata.widthOfString=="function"?Xr.push((Ge.metadata.widthOfGlyph(Ge.metadata.characterToGlyph(Fe))+qe*(1e3/Ke)||0)/1e3):(Dr=pr&&C()(Ft[Fe])==="object"&&!isNaN(parseInt(Ft[Fe][hn],10))?Ft[Fe][hn]/wr:0,Xr.push((vt[Fe]||ir)/lt+Dr)),hn=Fe;return Xr},_e=Nt.getStringUnitWidth=function(Xe,Ie){var Be=(Ie=Ie||{}).fontSize||this.internal.getFontSize(),Fe=Ie.font||this.internal.getFont(),Ge=Ie.charSpace||this.internal.getCharSpace();return Nt.processArabic&&(Xe=Nt.processArabic(Xe)),typeof Fe.metadata.widthOfString=="function"?Fe.metadata.widthOfString(Xe,Be,Ge)/Be:Ve.apply(this,arguments).reduce(function(Ke,qe){return Ke+qe},0)},ke=function(Ie,Be,Fe,Ge){for(var Ke=[],qe=0,vt=Ie.length,lt=0;qe!==vt&&lt+Be[qe]<Fe;)lt+=Be[qe],qe++;Ke.push(Ie.slice(0,qe));var Ft=qe;for(lt=0;qe!==vt;)lt+Be[qe]>Ge&&(Ke.push(Ie.slice(Ft,qe)),lt=0,Ft=qe),lt+=Be[qe],qe++;return Ft!==qe&&Ke.push(Ie.slice(Ft,qe)),Ke},Pe=function(Ie,Be,Fe){Fe||(Fe={});var Ge,Ke,qe,vt,lt,Ft,wr,pr=[],Dr=[pr],zt=Fe.textIndent||0,hn=0,ir=0,Xr=Ie.split(" "),Br=Ve.apply(this,[" ",Fe])[0];if(Ft=Fe.lineIndent===-1?Xr[0].length+2:Fe.lineIndent||0){var vr=Array(Ft).join(" "),Cn=[];Xr.map(function(ei){(ei=ei.split(/\s*\n/)).length>1?Cn=Cn.concat(ei.map(function(ii,ti){return(ti&&ii.length?`
`:"")+ii})):Cn.push(ei[0])}),Xr=Cn,Ft=_e.apply(this,[vr,Fe])}for(qe=0,vt=Xr.length;qe<vt;qe++){var kn=0;if(Ge=Xr[qe],Ft&&Ge[0]==`
`&&(Ge=Ge.substr(1),kn=1),zt+hn+(ir=(Ke=Ve.apply(this,[Ge,Fe])).reduce(function(ei,ii){return ei+ii},0))>Be||kn){if(ir>Be){for(lt=ke.apply(this,[Ge,Ke,Be-(zt+hn),Be]),pr.push(lt.shift()),pr=[lt.pop()];lt.length;)Dr.push([lt.shift()]);ir=Ke.slice(Ge.length-(pr[0]?pr[0].length:0)).reduce(function(ei,ii){return ei+ii},0)}else pr=[Ge];Dr.push(pr),zt=ir+Ft,hn=Br}else pr.push(Ge),zt+=hn+ir,hn=Br}return wr=Ft?function(ei,ii){return(ii?vr:"")+ei.join(" ")}:function(ei){return ei.join(" ")},Dr.map(wr)},Nt.splitTextToSize=function(Xe,Ie,Be){var Fe,Ge=(Be=Be||{}).fontSize||this.internal.getFontSize(),Ke=function(wr){if(wr.widths&&wr.kerning)return{widths:wr.widths,kerning:wr.kerning};var pr=this.internal.getFont(wr.fontName,wr.fontStyle);return pr.metadata.Unicode?{widths:pr.metadata.Unicode.widths||{0:1},kerning:pr.metadata.Unicode.kerning||{}}:{font:pr.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Be);Fe=Array.isArray(Xe)?Xe:String(Xe).split(/\r?\n/);var qe=1*this.internal.scaleFactor*Ie/Ge;Ke.textIndent=Be.textIndent?1*Be.textIndent*this.internal.scaleFactor/Ge:0,Ke.lineIndent=Be.lineIndent;var vt,lt,Ft=[];for(vt=0,lt=Fe.length;vt<lt;vt++)Ft=Ft.concat(Pe.apply(this,[Fe[vt],qe,Ke]));return Ft},function(Xe){Xe.__fontmetrics__=Xe.__fontmetrics__||{};for(var Ie="klmnopqrstuvwxyz",Be={},Fe={},Ge=0;Ge<Ie.length;Ge++)Be[Ie[Ge]]="0123456789abcdef"[Ge],Fe["0123456789abcdef"[Ge]]=Ie[Ge];var Ke=function(Dr){return"0x"+parseInt(Dr,10).toString(16)},qe=Xe.__fontmetrics__.compress=function(pr){var Dr,zt,hn,ir,Xr=["{"];for(var Br in pr){if(Dr=pr[Br],isNaN(parseInt(Br,10))?zt="'"+Br+"'":(Br=parseInt(Br,10),zt=(zt=Ke(Br).slice(2)).slice(0,-1)+Fe[zt.slice(-1)]),typeof Dr=="number")Dr<0?(hn=Ke(Dr).slice(3),ir="-"):(hn=Ke(Dr).slice(2),ir=""),hn=ir+hn.slice(0,-1)+Fe[hn.slice(-1)];else{if(C()(Dr)!=="object")throw new Error("Don't know what to do with value type "+C()(Dr)+".");hn=qe(Dr)}Xr.push(zt+hn)}return Xr.push("}"),Xr.join("")},vt=Xe.__fontmetrics__.uncompress=function(pr){if(typeof pr!="string")throw new Error("Invalid argument passed to uncompress.");for(var Dr,zt,hn,ir,Xr={},Br=1,vr=Xr,Cn=[],kn="",ei="",ii=pr.length-1,ti=1;ti<ii;ti+=1)(ir=pr[ti])=="'"?Dr?(hn=Dr.join(""),Dr=void 0):Dr=[]:Dr?Dr.push(ir):ir=="{"?(Cn.push([vr,hn]),vr={},hn=void 0):ir=="}"?((zt=Cn.pop())[0][zt[1]]=vr,hn=void 0,vr=zt[0]):ir=="-"?Br=-1:hn===void 0?Be.hasOwnProperty(ir)?(kn+=Be[ir],hn=parseInt(kn,16)*Br,Br=1,kn=""):kn+=ir:Be.hasOwnProperty(ir)?(ei+=Be[ir],vr[hn]=parseInt(ei,16)*Br,Br=1,hn=void 0,ei=""):ei+=ir;return Xr},lt={codePages:["WinAnsiEncoding"],WinAnsiEncoding:vt("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Ft={Unicode:{Courier:lt,"Courier-Bold":lt,"Courier-BoldOblique":lt,"Courier-Oblique":lt,Helvetica:lt,"Helvetica-Bold":lt,"Helvetica-BoldOblique":lt,"Helvetica-Oblique":lt,"Times-Roman":lt,"Times-Bold":lt,"Times-BoldItalic":lt,"Times-Italic":lt}},wr={Unicode:{"Courier-Oblique":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":vt("{'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":vt("{'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:vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":vt("{'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:vt("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:vt("{'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":vt("{'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:vt("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":vt("{'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":vt("{'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":vt("{'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}}}")}};Xe.events.push(["addFont",function(pr){var Dr=pr.font,zt=wr.Unicode[Dr.postScriptName];zt&&(Dr.metadata.Unicode={},Dr.metadata.Unicode.widths=zt.widths,Dr.metadata.Unicode.kerning=zt.kerning);var hn=Ft.Unicode[Dr.postScriptName];hn&&(Dr.metadata.Unicode.encoding=hn,Dr.encoding=hn.codePages[0])}])}(j.API),function(Xe){var Ie=function(Fe){for(var Ge=Fe.length,Ke=new Uint8Array(Ge),qe=0;qe<Ge;qe++)Ke[qe]=Fe.charCodeAt(qe);return Ke};Xe.API.events.push(["addFont",function(Be){var Fe=void 0,Ge=Be.font,Ke=Be.instance;if(!Ge.isStandardFont){if(Ke===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Ge.postScriptName+"').");if(typeof(Fe=Ke.existsFileInVFS(Ge.postScriptName)===!1?Ke.loadFile(Ge.postScriptName):Ke.getFileFromVFS(Ge.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Ge.postScriptName+"').");!function(qe,vt){vt=/^\x00\x01\x00\x00/.test(vt)?Ie(vt):Ie(i(vt)),qe.metadata=Xe.API.TTFFont.open(vt),qe.metadata.Unicode=qe.metadata.Unicode||{encoding:{},kerning:{},widths:[]},qe.metadata.glyIdsUsed=[0]}(Ge,Fe)}}])}(j),function(Xe){function Ie(){return(b.canvg?Promise.resolve(b.canvg):Promise.all([d.e(0),d.e(237)]).then(d.bind(null,"DXPr"))).catch(function(Be){return Promise.reject(new Error("Could not load canvg: "+Be))}).then(function(Be){return Be.default?Be.default:Be})}j.API.addSvgAsImage=function(Be,Fe,Ge,Ke,qe,vt,lt,Ft){if(isNaN(Fe)||isNaN(Ge))throw p.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(Ke)||isNaN(qe))throw p.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var wr=document.createElement("canvas");wr.width=Ke,wr.height=qe;var pr=wr.getContext("2d");pr.fillStyle="#fff",pr.fillRect(0,0,wr.width,wr.height);var Dr={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},zt=this;return Ie().then(function(hn){return hn.fromString(pr,Be,Dr)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(hn){return hn.render(Dr)}).then(function(){zt.addImage(wr.toDataURL("image/jpeg",1),Fe,Ge,Ke,qe,lt,Ft)})}}(),j.API.putTotalPages=function(Xe){var Ie,Be=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(Ie=new RegExp(Xe,"g"),Be=this.internal.getNumberOfPages()):(Ie=new RegExp(this.pdfEscape16(Xe,this.internal.getFont()),"g"),Be=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var Fe=1;Fe<=this.internal.getNumberOfPages();Fe++)for(var Ge=0;Ge<this.internal.pages[Fe].length;Ge++)this.internal.pages[Fe][Ge]=this.internal.pages[Fe][Ge].replace(Ie,Be);return this},j.API.viewerPreferences=function(Xe,Ie){var Be;Xe=Xe||{},Ie=Ie||!1;var Fe,Ge,Ke,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}},vt=Object.keys(qe),lt=[],Ft=0,wr=0,pr=0;function Dr(hn,ir){var Xr,Br=!1;for(Xr=0;Xr<hn.length;Xr+=1)hn[Xr]===ir&&(Br=!0);return Br}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(qe)),this.internal.viewerpreferences.isSubscribed=!1),Be=this.internal.viewerpreferences.configuration,Xe==="reset"||Ie===!0){var zt=vt.length;for(pr=0;pr<zt;pr+=1)Be[vt[pr]].value=Be[vt[pr]].defaultValue,Be[vt[pr]].explicitSet=!1}if(C()(Xe)==="object"){for(Ge in Xe)if(Ke=Xe[Ge],Dr(vt,Ge)&&Ke!==void 0){if(Be[Ge].type==="boolean"&&typeof Ke=="boolean")Be[Ge].value=Ke;else if(Be[Ge].type==="name"&&Dr(Be[Ge].valueSet,Ke))Be[Ge].value=Ke;else if(Be[Ge].type==="integer"&&Number.isInteger(Ke))Be[Ge].value=Ke;else if(Be[Ge].type==="array"){for(Ft=0;Ft<Ke.length;Ft+=1)if(Fe=!0,Ke[Ft].length===1&&typeof Ke[Ft][0]=="number")lt.push(String(Ke[Ft]-1));else if(Ke[Ft].length>1){for(wr=0;wr<Ke[Ft].length;wr+=1)typeof Ke[Ft][wr]!="number"&&(Fe=!1);Fe===!0&&lt.push([Ke[Ft][0]-1,Ke[Ft][1]-1].join(" "))}Be[Ge].value="["+lt.join(" ")+"]"}else Be[Ge].value=Be[Ge].defaultValue;Be[Ge].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var hn,ir=[];for(hn in Be)Be[hn].explicitSet===!0&&(Be[hn].type==="name"?ir.push("/"+hn+" /"+Be[hn].value):ir.push("/"+hn+" "+Be[hn].value));ir.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+ir.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Be,this},function(Xe){var Ie=function(){var Ge='<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>',Ke=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),qe=unescape(encodeURIComponent(Ge)),vt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),lt=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Ft=unescape(encodeURIComponent("</x:xmpmeta>")),wr=qe.length+vt.length+lt.length+Ke.length+Ft.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+wr+" >>"),this.internal.write("stream"),this.internal.write(Ke+qe+vt+lt+Ft),this.internal.write("endstream"),this.internal.write("endobj")},Be=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};Xe.addMetadata=function(Fe,Ge){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Fe,namespaceuri:Ge||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Be),this.internal.events.subscribe("postPutResources",Ie)),this}}(j.API),function(Xe){var Ie=Xe.API,Be=Ie.pdfEscape16=function(Ke,qe){for(var vt,lt=qe.metadata.Unicode.widths,Ft=["","0","00","000","0000"],wr=[""],pr=0,Dr=Ke.length;pr<Dr;++pr){if(vt=qe.metadata.characterToGlyph(Ke.charCodeAt(pr)),qe.metadata.glyIdsUsed.push(vt),qe.metadata.toUnicode[vt]=Ke.charCodeAt(pr),lt.indexOf(vt)==-1&&(lt.push(vt),lt.push([parseInt(qe.metadata.widthOfGlyph(vt),10)])),vt=="0")return wr.join("");vt=vt.toString(16),wr.push(Ft[4-vt.length],vt)}return wr.join("")},Fe=function(qe){var vt,lt,Ft,wr,pr,Dr,zt;for(pr=`/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`,Ft=[],Dr=0,zt=(lt=Object.keys(qe).sort(function(hn,ir){return hn-ir})).length;Dr<zt;Dr++)vt=lt[Dr],Ft.length>=100&&(pr+=`
`+Ft.length+` beginbfchar
`+Ft.join(`
`)+`
endbfchar`,Ft=[]),qe[vt]!==void 0&&qe[vt]!==null&&typeof qe[vt].toString=="function"&&(wr=("0000"+qe[vt].toString(16)).slice(-4),vt=("0000"+(+vt).toString(16)).slice(-4),Ft.push("<"+vt+"><"+wr+">"));return Ft.length&&(pr+=`
`+Ft.length+` beginbfchar
`+Ft.join(`
`)+`
endbfchar
`),pr+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};Ie.events.push(["putFont",function(Ke){!function(qe){var vt=qe.font,lt=qe.out,Ft=qe.newObject,wr=qe.putStream;if(vt.metadata instanceof Xe.API.TTFFont&&vt.encoding==="Identity-H"){for(var pr=vt.metadata.Unicode.widths,Dr=vt.metadata.subset.encode(vt.metadata.glyIdsUsed,1),zt="",hn=0;hn<Dr.length;hn++)zt+=String.fromCharCode(Dr[hn]);var ir=Ft();wr({data:zt,addLength1:!0,objectId:ir}),lt("endobj");var Xr=Ft();wr({data:Fe(vt.metadata.toUnicode),addLength1:!0,objectId:Xr}),lt("endobj");var Br=Ft();lt("<<"),lt("/Type /FontDescriptor"),lt("/FontName /"+R(vt.fontName)),lt("/FontFile2 "+ir+" 0 R"),lt("/FontBBox "+Xe.API.PDFObject.convert(vt.metadata.bbox)),lt("/Flags "+vt.metadata.flags),lt("/StemV "+vt.metadata.stemV),lt("/ItalicAngle "+vt.metadata.italicAngle),lt("/Ascent "+vt.metadata.ascender),lt("/Descent "+vt.metadata.decender),lt("/CapHeight "+vt.metadata.capHeight),lt(">>"),lt("endobj");var vr=Ft();lt("<<"),lt("/Type /Font"),lt("/BaseFont /"+R(vt.fontName)),lt("/FontDescriptor "+Br+" 0 R"),lt("/W "+Xe.API.PDFObject.convert(pr)),lt("/CIDToGIDMap /Identity"),lt("/DW 1000"),lt("/Subtype /CIDFontType2"),lt("/CIDSystemInfo"),lt("<<"),lt("/Supplement 0"),lt("/Registry (Adobe)"),lt("/Ordering ("+vt.encoding+")"),lt(">>"),lt(">>"),lt("endobj"),vt.objectNumber=Ft(),lt("<<"),lt("/Type /Font"),lt("/Subtype /Type0"),lt("/ToUnicode "+Xr+" 0 R"),lt("/BaseFont /"+R(vt.fontName)),lt("/Encoding /"+vt.encoding),lt("/DescendantFonts ["+vr+" 0 R]"),lt(">>"),lt("endobj"),vt.isAlreadyPutted=!0}}(Ke)}]),Ie.events.push(["putFont",function(Ke){!function(qe){var vt=qe.font,lt=qe.out,Ft=qe.newObject,wr=qe.putStream;if(vt.metadata instanceof Xe.API.TTFFont&&vt.encoding==="WinAnsiEncoding"){for(var pr=vt.metadata.rawData,Dr="",zt=0;zt<pr.length;zt++)Dr+=String.fromCharCode(pr[zt]);var hn=Ft();wr({data:Dr,addLength1:!0,objectId:hn}),lt("endobj");var ir=Ft();wr({data:Fe(vt.metadata.toUnicode),addLength1:!0,objectId:ir}),lt("endobj");var Xr=Ft();lt("<<"),lt("/Descent "+vt.metadata.decender),lt("/CapHeight "+vt.metadata.capHeight),lt("/StemV "+vt.metadata.stemV),lt("/Type /FontDescriptor"),lt("/FontFile2 "+hn+" 0 R"),lt("/Flags 96"),lt("/FontBBox "+Xe.API.PDFObject.convert(vt.metadata.bbox)),lt("/FontName /"+R(vt.fontName)),lt("/ItalicAngle "+vt.metadata.italicAngle),lt("/Ascent "+vt.metadata.ascender),lt(">>"),lt("endobj"),vt.objectNumber=Ft();for(var Br=0;Br<vt.metadata.hmtx.widths.length;Br++)vt.metadata.hmtx.widths[Br]=parseInt(vt.metadata.hmtx.widths[Br]*(1e3/vt.metadata.head.unitsPerEm));lt("<</Subtype/TrueType/Type/Font/ToUnicode "+ir+" 0 R/BaseFont/"+R(vt.fontName)+"/FontDescriptor "+Xr+" 0 R/Encoding/"+vt.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Xe.API.PDFObject.convert(vt.metadata.hmtx.widths)+">>"),lt("endobj"),vt.isAlreadyPutted=!0}}(Ke)}]);var Ge=function(qe){var vt,lt=qe.text||"",Ft=qe.x,wr=qe.y,pr=qe.options||{},Dr=qe.mutex||{},zt=Dr.pdfEscape,hn=Dr.activeFontKey,ir=Dr.fonts,Xr=hn,Br="",vr=0,Cn="",kn=ir[Xr].encoding;if(ir[Xr].encoding!=="Identity-H")return{text:lt,x:Ft,y:wr,options:pr,mutex:Dr};for(Cn=lt,Xr=hn,Array.isArray(lt)&&(Cn=lt[0]),vr=0;vr<Cn.length;vr+=1)ir[Xr].metadata.hasOwnProperty("cmap")&&(vt=ir[Xr].metadata.cmap.unicode.codeMap[Cn[vr].charCodeAt(0)]),vt||Cn[vr].charCodeAt(0)<256&&ir[Xr].metadata.hasOwnProperty("Unicode")?Br+=Cn[vr]:Br+="";var ei="";return parseInt(Xr.slice(1))<14||kn==="WinAnsiEncoding"?ei=zt(Br,Xr).split("").map(function(ii){return ii.charCodeAt(0).toString(16)}).join(""):kn==="Identity-H"&&(ei=Be(Br,ir[Xr])),Dr.isHex=!0,{text:ei,x:Ft,y:wr,options:pr,mutex:Dr}};Ie.events.push(["postProcessText",function(Ke){var qe=Ke.text||"",vt=[],lt={text:qe,x:Ke.x,y:Ke.y,options:Ke.options,mutex:Ke.mutex};if(Array.isArray(qe)){var Ft=0;for(Ft=0;Ft<qe.length;Ft+=1)Array.isArray(qe[Ft])&&qe[Ft].length===3?vt.push([Ge(Object.assign({},lt,{text:qe[Ft][0]})).text,qe[Ft][1],qe[Ft][2]]):vt.push(Ge(Object.assign({},lt,{text:qe[Ft]})).text);Ke.text=vt}else Ke.text=Ge(Object.assign({},lt,{text:qe})).text}])}(j),function(Xe){var Ie=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};Xe.existsFileInVFS=function(Be){return Ie.call(this),this.internal.vFS[Be]!==void 0},Xe.addFileToVFS=function(Be,Fe){return Ie.call(this),this.internal.vFS[Be]=Fe,this},Xe.getFileFromVFS=function(Be){return Ie.call(this),this.internal.vFS[Be]!==void 0?this.internal.vFS[Be]:null}}(j.API),function(Xe){Xe.__bidiEngine__=Xe.prototype.__bidiEngine__=function(Fe){var Ge,Ke,qe,vt,lt,Ft,wr,pr=Ie,Dr=[[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]],zt=[[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]],hn={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},ir={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Xr=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],Br=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)$/),vr=!1,Cn=0;this.__bidiEngine__={};var kn=function(Vr){var Sn=Vr.charCodeAt(),tn=Sn>>8,ci=ir[tn];return ci!==void 0?pr[256*ci+(255&Sn)]:tn===252||tn===253?"AL":Br.test(tn)?"L":tn===8?"R":"N"},ei=function(Vr){for(var Sn,tn=0;tn<Vr.length;tn++){if((Sn=kn(Vr.charAt(tn)))==="L")return!1;if(Sn==="R")return!0}return!1},ii=function(Vr,Sn,tn,ci){var qn,wi,Jn,Qi,xi=Sn[ci];switch(xi){case"L":case"R":vr=!1;break;case"N":case"AN":break;case"EN":vr&&(xi="AN");break;case"AL":vr=!0,xi="R";break;case"WS":xi="N";break;case"CS":ci<1||ci+1>=Sn.length||(qn=tn[ci-1])!=="EN"&&qn!=="AN"||(wi=Sn[ci+1])!=="EN"&&wi!=="AN"?xi="N":vr&&(wi="AN"),xi=wi===qn?wi:"N";break;case"ES":xi=(qn=ci>0?tn[ci-1]:"B")==="EN"&&ci+1<Sn.length&&Sn[ci+1]==="EN"?"EN":"N";break;case"ET":if(ci>0&&tn[ci-1]==="EN"){xi="EN";break}if(vr){xi="N";break}for(Jn=ci+1,Qi=Sn.length;Jn<Qi&&Sn[Jn]==="ET";)Jn++;xi=Jn<Qi&&Sn[Jn]==="EN"?"EN":"N";break;case"NSM":if(qe&&!vt){for(Qi=Sn.length,Jn=ci+1;Jn<Qi&&Sn[Jn]==="NSM";)Jn++;if(Jn<Qi){var Ei=Vr[ci],dn=Ei>=1425&&Ei<=2303||Ei===64286;if(qn=Sn[Jn],dn&&(qn==="R"||qn==="AL")){xi="R";break}}}xi=ci<1||(qn=Sn[ci-1])==="B"?"N":tn[ci-1];break;case"B":vr=!1,Ge=!0,xi=Cn;break;case"S":Ke=!0,xi="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":vr=!1;break;case"BN":xi="N"}return xi},ti=function(Vr,Sn,tn){var ci=Vr.split("");return tn&&Ti(ci,tn,{hiLevel:Cn}),ci.reverse(),Sn&&Sn.reverse(),ci.join("")},Ti=function(Vr,Sn,tn){var ci,qn,wi,Jn,Qi,xi=-1,Ei=Vr.length,dn=0,Mr=[],wn=Cn?zt:Dr,Rn=[];for(vr=!1,Ge=!1,Ke=!1,qn=0;qn<Ei;qn++)Rn[qn]=kn(Vr[qn]);for(wi=0;wi<Ei;wi++){if(Qi=dn,Mr[wi]=ii(Vr,Rn,Mr,wi),ci=240&(dn=wn[Qi][hn[Mr[wi]]]),dn&=15,Sn[wi]=Jn=wn[dn][5],ci>0)if(ci===16){for(qn=xi;qn<wi;qn++)Sn[qn]=1;xi=-1}else xi=-1;if(wn[dn][6])xi===-1&&(xi=wi);else if(xi>-1){for(qn=xi;qn<wi;qn++)Sn[qn]=Jn;xi=-1}Rn[wi]==="B"&&(Sn[wi]=0),tn.hiLevel|=Jn}Ke&&function(Xn,Zn,hi){for(var mi=0;mi<hi;mi++)if(Xn[mi]==="S"){Zn[mi]=Cn;for(var gi=mi-1;gi>=0&&Xn[gi]==="WS";gi--)Zn[gi]=Cn}}(Rn,Sn,Ei)},Bn=function(Vr,Sn,tn,ci,qn){if(!(qn.hiLevel<Vr)){if(Vr===1&&Cn===1&&!Ge)return Sn.reverse(),void(tn&&tn.reverse());for(var wi,Jn,Qi,xi,Ei=Sn.length,dn=0;dn<Ei;){if(ci[dn]>=Vr){for(Qi=dn+1;Qi<Ei&&ci[Qi]>=Vr;)Qi++;for(xi=dn,Jn=Qi-1;xi<Jn;xi++,Jn--)wi=Sn[xi],Sn[xi]=Sn[Jn],Sn[Jn]=wi,tn&&(wi=tn[xi],tn[xi]=tn[Jn],tn[Jn]=wi);dn=Qi}dn++}}},Di=function(Vr,Sn,tn){var ci=Vr.split(""),qn={hiLevel:Cn};return tn||(tn=[]),Ti(ci,tn,qn),function(wi,Jn,Qi){if(Qi.hiLevel!==0&&wr)for(var xi,Ei=0;Ei<wi.length;Ei++)Jn[Ei]===1&&(xi=Xr.indexOf(wi[Ei]))>=0&&(wi[Ei]=Xr[xi+1])}(ci,tn,qn),Bn(2,ci,Sn,tn,qn),Bn(1,ci,Sn,tn,qn),ci.join("")};return this.__bidiEngine__.doBidiReorder=function(gn,Vr,Sn){if(function(ci,qn){if(qn)for(var wi=0;wi<ci.length;wi++)qn[wi]=wi;vt===void 0&&(vt=ei(ci)),Ft===void 0&&(Ft=ei(ci))}(gn,Vr),qe||!lt||Ft)if(qe&&lt&&vt^Ft)Cn=vt?1:0,gn=ti(gn,Vr,Sn);else if(!qe&&lt&&Ft)Cn=vt?1:0,gn=Di(gn,Vr,Sn),gn=ti(gn,Vr);else if(!qe||vt||lt||Ft){if(qe&&!lt&&vt^Ft)gn=ti(gn,Vr),vt?(Cn=0,gn=Di(gn,Vr,Sn)):(Cn=1,gn=Di(gn,Vr,Sn),gn=ti(gn,Vr));else if(qe&&vt&&!lt&&Ft)Cn=1,gn=Di(gn,Vr,Sn),gn=ti(gn,Vr);else if(!qe&&!lt&&vt^Ft){var tn=wr;vt?(Cn=1,gn=Di(gn,Vr,Sn),Cn=0,wr=!1,gn=Di(gn,Vr,Sn),wr=tn):(Cn=0,gn=Di(gn,Vr,Sn),gn=ti(gn,Vr),Cn=1,wr=!1,gn=Di(gn,Vr,Sn),wr=tn,gn=ti(gn,Vr))}}else Cn=0,gn=Di(gn,Vr,Sn);else Cn=vt?1:0,gn=Di(gn,Vr,Sn);return gn},this.__bidiEngine__.setOptions=function(gn){gn&&(qe=gn.isInputVisual,lt=gn.isOutputVisual,vt=gn.isInputRtl,Ft=gn.isOutputRtl,wr=gn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(Fe),this.__bidiEngine__};var Ie=["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"],Be=new Xe.__bidiEngine__({isInputVisual:!0});Xe.API.events.push(["postProcessText",function(Fe){var Ge=Fe.text,Ke=(Fe.x,Fe.y,Fe.options||{}),qe=(Fe.mutex,Ke.lang,[]);if(Ke.isInputVisual=typeof Ke.isInputVisual!="boolean"||Ke.isInputVisual,Be.setOptions(Ke),Object.prototype.toString.call(Ge)==="[object Array]"){var vt=0;for(qe=[],vt=0;vt<Ge.length;vt+=1)Object.prototype.toString.call(Ge[vt])==="[object Array]"?qe.push([Be.doBidiReorder(Ge[vt][0]),Ge[vt][1],Ge[vt][2]]):qe.push([Be.doBidiReorder(Ge[vt])]);Fe.text=qe}else Fe.text=Be.doBidiReorder(Ge);Be.setOptions({isInputVisual:!0})}])}(j),j.API.TTFFont=function(){function Xe(Ie){var Be;if(this.rawData=Ie,Be=this.contents=new Ut(Ie),this.contents.pos=4,Be.readString(4)==="ttcf")throw new Error("TTCF not supported.");Be.pos=0,this.parse(),this.subset=new Mi(this),this.registerTTF()}return Xe.open=function(Ie){return new Xe(Ie)},Xe.prototype.parse=function(){return this.directory=new ht(this.contents),this.head=new Jt(this),this.name=new ar(this),this.cmap=new Bt(this),this.toUnicode={},this.hhea=new mt(this),this.maxp=new Gr(this),this.hmtx=new Yr(this),this.post=new hr(this),this.os2=new Mt(this),this.loca=new Ii(this),this.glyf=new Nn(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]},Xe.prototype.registerTTF=function(){var Ie,Be,Fe,Ge,Ke;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var qe,vt,lt,Ft;for(Ft=[],qe=0,vt=(lt=this.bbox).length;qe<vt;qe++)Ie=lt[qe],Ft.push(Math.round(Ie*this.scaleFactor));return Ft}.call(this),this.stemV=0,this.post.exists?(Fe=255&(Ge=this.post.italic_angle),(32768&(Be=Ge>>16))!=0&&(Be=-(1+(65535^Be))),this.italicAngle=+(Be+"."+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=(Ke=this.familyClass)===1||Ke===2||Ke===3||Ke===4||Ke===5||Ke===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")},Xe.prototype.characterToGlyph=function(Ie){var Be;return((Be=this.cmap.unicode)!=null?Be.codeMap[Ie]:void 0)||0},Xe.prototype.widthOfGlyph=function(Ie){var Be;return Be=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Ie).advance*Be},Xe.prototype.widthOfString=function(Ie,Be,Fe){var Ge,Ke,qe,vt;for(qe=0,Ke=0,vt=(Ie=""+Ie).length;0<=vt?Ke<vt:Ke>vt;Ke=0<=vt?++Ke:--Ke)Ge=Ie.charCodeAt(Ke),qe+=this.widthOfGlyph(this.characterToGlyph(Ge))+Fe*(1e3/Be)||0;return qe*(Be/1e3)},Xe.prototype.lineHeight=function(Ie,Be){var Fe;return Be==null&&(Be=!1),Fe=Be?this.lineGap:0,(this.ascender+Fe-this.decender)/1e3*Ie},Xe}();var un,Ut=function(){function Xe(Ie){this.data=Ie!=null?Ie:[],this.pos=0,this.length=this.data.length}return Xe.prototype.readByte=function(){return this.data[this.pos++]},Xe.prototype.writeByte=function(Ie){return this.data[this.pos++]=Ie},Xe.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Xe.prototype.writeUInt32=function(Ie){return this.writeByte(Ie>>>24&255),this.writeByte(Ie>>16&255),this.writeByte(Ie>>8&255),this.writeByte(255&Ie)},Xe.prototype.readInt32=function(){var Ie;return(Ie=this.readUInt32())>=2147483648?Ie-4294967296:Ie},Xe.prototype.writeInt32=function(Ie){return Ie<0&&(Ie+=4294967296),this.writeUInt32(Ie)},Xe.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Xe.prototype.writeUInt16=function(Ie){return this.writeByte(Ie>>8&255),this.writeByte(255&Ie)},Xe.prototype.readInt16=function(){var Ie;return(Ie=this.readUInt16())>=32768?Ie-65536:Ie},Xe.prototype.writeInt16=function(Ie){return Ie<0&&(Ie+=65536),this.writeUInt16(Ie)},Xe.prototype.readString=function(Ie){var Be,Fe;for(Fe=[],Be=0;0<=Ie?Be<Ie:Be>Ie;Be=0<=Ie?++Be:--Be)Fe[Be]=String.fromCharCode(this.readByte());return Fe.join("")},Xe.prototype.writeString=function(Ie){var Be,Fe,Ge;for(Ge=[],Be=0,Fe=Ie.length;0<=Fe?Be<Fe:Be>Fe;Be=0<=Fe?++Be:--Be)Ge.push(this.writeByte(Ie.charCodeAt(Be)));return Ge},Xe.prototype.readShort=function(){return this.readInt16()},Xe.prototype.writeShort=function(Ie){return this.writeInt16(Ie)},Xe.prototype.readLongLong=function(){var Ie,Be,Fe,Ge,Ke,qe,vt,lt;return Ie=this.readByte(),Be=this.readByte(),Fe=this.readByte(),Ge=this.readByte(),Ke=this.readByte(),qe=this.readByte(),vt=this.readByte(),lt=this.readByte(),128&Ie?-1*(72057594037927940*(255^Ie)+281474976710656*(255^Be)+1099511627776*(255^Fe)+4294967296*(255^Ge)+16777216*(255^Ke)+65536*(255^qe)+256*(255^vt)+(255^lt)+1):72057594037927940*Ie+281474976710656*Be+1099511627776*Fe+4294967296*Ge+16777216*Ke+65536*qe+256*vt+lt},Xe.prototype.writeLongLong=function(Ie){var Be,Fe;return Be=Math.floor(Ie/4294967296),Fe=4294967295&Ie,this.writeByte(Be>>24&255),this.writeByte(Be>>16&255),this.writeByte(Be>>8&255),this.writeByte(255&Be),this.writeByte(Fe>>24&255),this.writeByte(Fe>>16&255),this.writeByte(Fe>>8&255),this.writeByte(255&Fe)},Xe.prototype.readInt=function(){return this.readInt32()},Xe.prototype.writeInt=function(Ie){return this.writeInt32(Ie)},Xe.prototype.read=function(Ie){var Be,Fe;for(Be=[],Fe=0;0<=Ie?Fe<Ie:Fe>Ie;Fe=0<=Ie?++Fe:--Fe)Be.push(this.readByte());return Be},Xe.prototype.write=function(Ie){var Be,Fe,Ge,Ke;for(Ke=[],Fe=0,Ge=Ie.length;Fe<Ge;Fe++)Be=Ie[Fe],Ke.push(this.writeByte(Be));return Ke},Xe}(),ht=function(){var Xe;function Ie(Be){var Fe,Ge,Ke;for(this.scalarType=Be.readInt(),this.tableCount=Be.readShort(),this.searchRange=Be.readShort(),this.entrySelector=Be.readShort(),this.rangeShift=Be.readShort(),this.tables={},Ge=0,Ke=this.tableCount;0<=Ke?Ge<Ke:Ge>Ke;Ge=0<=Ke?++Ge:--Ge)Fe={tag:Be.readString(4),checksum:Be.readInt(),offset:Be.readInt(),length:Be.readInt()},this.tables[Fe.tag]=Fe}return Ie.prototype.encode=function(Be){var Fe,Ge,Ke,qe,vt,lt,Ft,wr,pr,Dr,zt,hn,ir;for(ir in zt=Object.keys(Be).length,lt=Math.log(2),pr=16*Math.floor(Math.log(zt)/lt),qe=Math.floor(pr/lt),wr=16*zt-pr,(Ge=new Ut).writeInt(this.scalarType),Ge.writeShort(zt),Ge.writeShort(pr),Ge.writeShort(qe),Ge.writeShort(wr),Ke=16*zt,Ft=Ge.pos+Ke,vt=null,hn=[],Be)for(Dr=Be[ir],Ge.writeString(ir),Ge.writeInt(Xe(Dr)),Ge.writeInt(Ft),Ge.writeInt(Dr.length),hn=hn.concat(Dr),ir==="head"&&(vt=Ft),Ft+=Dr.length;Ft%4;)hn.push(0),Ft++;return Ge.write(hn),Fe=2981146554-Xe(Ge.data),Ge.pos=vt+8,Ge.writeUInt32(Fe),Ge.data},Xe=function(Fe){var Ge,Ke,qe,vt;for(Fe=In.call(Fe);Fe.length%4;)Fe.push(0);for(qe=new Ut(Fe),Ke=0,Ge=0,vt=Fe.length;Ge<vt;Ge=Ge+=4)Ke+=qe.readUInt32();return 4294967295&Ke},Ie}(),ot={}.hasOwnProperty,Wt=function(Ie,Be){for(var Fe in Be)ot.call(Be,Fe)&&(Ie[Fe]=Be[Fe]);function Ge(){this.constructor=Ie}return Ge.prototype=Be.prototype,Ie.prototype=new Ge,Ie.__super__=Be.prototype,Ie};un=function(){function Xe(Ie){var Be;this.file=Ie,Be=this.file.directory.tables[this.tag],this.exists=!!Be,Be&&(this.offset=Be.offset,this.length=Be.length,this.parse(this.file.contents))}return Xe.prototype.parse=function(){},Xe.prototype.encode=function(){},Xe.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Xe}();var Jt=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="head",Ie.prototype.parse=function(Be){return Be.pos=this.offset,this.version=Be.readInt(),this.revision=Be.readInt(),this.checkSumAdjustment=Be.readInt(),this.magicNumber=Be.readInt(),this.flags=Be.readShort(),this.unitsPerEm=Be.readShort(),this.created=Be.readLongLong(),this.modified=Be.readLongLong(),this.xMin=Be.readShort(),this.yMin=Be.readShort(),this.xMax=Be.readShort(),this.yMax=Be.readShort(),this.macStyle=Be.readShort(),this.lowestRecPPEM=Be.readShort(),this.fontDirectionHint=Be.readShort(),this.indexToLocFormat=Be.readShort(),this.glyphDataFormat=Be.readShort()},Ie.prototype.encode=function(Be){var Fe;return(Fe=new Ut).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(Be),Fe.writeShort(this.glyphDataFormat),Fe.data},Ie}(),At=function(){function Xe(Ie,Be){var Fe,Ge,Ke,qe,vt,lt,Ft,wr,pr,Dr,zt,hn,ir,Xr,Br,vr,Cn;switch(this.platformID=Ie.readUInt16(),this.encodingID=Ie.readShort(),this.offset=Be+Ie.readInt(),pr=Ie.pos,Ie.pos=this.offset,this.format=Ie.readUInt16(),this.length=Ie.readUInt16(),this.language=Ie.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(lt=0;lt<256;++lt)this.codeMap[lt]=Ie.readByte();break;case 4:for(zt=Ie.readUInt16(),Dr=zt/2,Ie.pos+=6,Ke=function(){var kn,ei;for(ei=[],lt=kn=0;0<=Dr?kn<Dr:kn>Dr;lt=0<=Dr?++kn:--kn)ei.push(Ie.readUInt16());return ei}(),Ie.pos+=2,ir=function(){var kn,ei;for(ei=[],lt=kn=0;0<=Dr?kn<Dr:kn>Dr;lt=0<=Dr?++kn:--kn)ei.push(Ie.readUInt16());return ei}(),Ft=function(){var kn,ei;for(ei=[],lt=kn=0;0<=Dr?kn<Dr:kn>Dr;lt=0<=Dr?++kn:--kn)ei.push(Ie.readUInt16());return ei}(),wr=function(){var kn,ei;for(ei=[],lt=kn=0;0<=Dr?kn<Dr:kn>Dr;lt=0<=Dr?++kn:--kn)ei.push(Ie.readUInt16());return ei}(),Ge=(this.length-Ie.pos+this.offset)/2,vt=function(){var kn,ei;for(ei=[],lt=kn=0;0<=Ge?kn<Ge:kn>Ge;lt=0<=Ge?++kn:--kn)ei.push(Ie.readUInt16());return ei}(),lt=Br=0,Cn=Ke.length;Br<Cn;lt=++Br)for(Xr=Ke[lt],Fe=vr=hn=ir[lt];hn<=Xr?vr<=Xr:vr>=Xr;Fe=hn<=Xr?++vr:--vr)wr[lt]===0?qe=Fe+Ft[lt]:(qe=vt[wr[lt]/2+(Fe-hn)-(Dr-lt)]||0)!==0&&(qe+=Ft[lt]),this.codeMap[Fe]=65535&qe}Ie.pos=pr}return Xe.encode=function(Ie,Be){var Fe,Ge,Ke,qe,vt,lt,Ft,wr,pr,Dr,zt,hn,ir,Xr,Br,vr,Cn,kn,ei,ii,ti,Ti,Bn,Di,gn,Vr,Sn,tn,ci,qn,wi,Jn,Qi,xi,Ei,dn,Mr,wn,Rn,Xn,Zn,hi,mi,gi,Vi,ma;switch(tn=new Ut,qe=Object.keys(Ie).sort(function(ca,ja){return ca-ja}),Be){case"macroman":for(ir=0,Xr=function(){var ca=[];for(hn=0;hn<256;++hn)ca.push(0);return ca}(),vr={0:0},Ke={},ci=0,Qi=qe.length;ci<Qi;ci++)vr[mi=Ie[Ge=qe[ci]]]==null&&(vr[mi]=++ir),Ke[Ge]={old:Ie[Ge],new:vr[Ie[Ge]]},Xr[Ge]=vr[Ie[Ge]];return tn.writeUInt16(1),tn.writeUInt16(0),tn.writeUInt32(12),tn.writeUInt16(0),tn.writeUInt16(262),tn.writeUInt16(0),tn.write(Xr),{charMap:Ke,subtable:tn.data,maxGlyphID:ir+1};case"unicode":for(Vr=[],pr=[],Cn=0,vr={},Fe={},Br=Ft=null,qn=0,xi=qe.length;qn<xi;qn++)vr[ei=Ie[Ge=qe[qn]]]==null&&(vr[ei]=++Cn),Fe[Ge]={old:ei,new:vr[ei]},vt=vr[ei]-Ge,Br!=null&&vt===Ft||(Br&&pr.push(Br),Vr.push(Ge),Ft=vt),Br=Ge;for(Br&&pr.push(Br),pr.push(65535),Vr.push(65535),Di=2*(Bn=Vr.length),Ti=2*Math.pow(Math.log(Bn)/Math.LN2,2),Dr=Math.log(Ti/2)/Math.LN2,ti=2*Bn-Ti,lt=[],ii=[],zt=[],hn=wi=0,Ei=Vr.length;wi<Ei;hn=++wi){if(gn=Vr[hn],wr=pr[hn],gn===65535){lt.push(0),ii.push(0);break}if(gn-(Sn=Fe[gn].new)>=32768)for(lt.push(0),ii.push(2*(zt.length+Bn-hn)),Ge=Jn=gn;gn<=wr?Jn<=wr:Jn>=wr;Ge=gn<=wr?++Jn:--Jn)zt.push(Fe[Ge].new);else lt.push(Sn-gn),ii.push(0)}for(tn.writeUInt16(3),tn.writeUInt16(1),tn.writeUInt32(12),tn.writeUInt16(4),tn.writeUInt16(16+8*Bn+2*zt.length),tn.writeUInt16(0),tn.writeUInt16(Di),tn.writeUInt16(Ti),tn.writeUInt16(Dr),tn.writeUInt16(ti),Zn=0,dn=pr.length;Zn<dn;Zn++)Ge=pr[Zn],tn.writeUInt16(Ge);for(tn.writeUInt16(0),hi=0,Mr=Vr.length;hi<Mr;hi++)Ge=Vr[hi],tn.writeUInt16(Ge);for(gi=0,wn=lt.length;gi<wn;gi++)vt=lt[gi],tn.writeUInt16(vt);for(Vi=0,Rn=ii.length;Vi<Rn;Vi++)kn=ii[Vi],tn.writeUInt16(kn);for(ma=0,Xn=zt.length;ma<Xn;ma++)ir=zt[ma],tn.writeUInt16(ir);return{charMap:Fe,subtable:tn.data,maxGlyphID:Cn+1}}},Xe}(),Bt=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="cmap",Ie.prototype.parse=function(Be){var Fe,Ge,Ke;for(Be.pos=this.offset,this.version=Be.readUInt16(),Ke=Be.readUInt16(),this.tables=[],this.unicode=null,Ge=0;0<=Ke?Ge<Ke:Ge>Ke;Ge=0<=Ke?++Ge:--Ge)Fe=new At(Be,this.offset),this.tables.push(Fe),Fe.isUnicode&&this.unicode==null&&(this.unicode=Fe);return!0},Ie.encode=function(Be,Fe){var Ge,Ke;return Fe==null&&(Fe="macroman"),Ge=At.encode(Be,Fe),(Ke=new Ut).writeUInt16(0),Ke.writeUInt16(1),Ge.table=Ke.data.concat(Ge.subtable),Ge},Ie}(),mt=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="hhea",Ie.prototype.parse=function(Be){return Be.pos=this.offset,this.version=Be.readInt(),this.ascender=Be.readShort(),this.decender=Be.readShort(),this.lineGap=Be.readShort(),this.advanceWidthMax=Be.readShort(),this.minLeftSideBearing=Be.readShort(),this.minRightSideBearing=Be.readShort(),this.xMaxExtent=Be.readShort(),this.caretSlopeRise=Be.readShort(),this.caretSlopeRun=Be.readShort(),this.caretOffset=Be.readShort(),Be.pos+=8,this.metricDataFormat=Be.readShort(),this.numberOfMetrics=Be.readUInt16()},Ie}(),Mt=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="OS/2",Ie.prototype.parse=function(Be){if(Be.pos=this.offset,this.version=Be.readUInt16(),this.averageCharWidth=Be.readShort(),this.weightClass=Be.readUInt16(),this.widthClass=Be.readUInt16(),this.type=Be.readShort(),this.ySubscriptXSize=Be.readShort(),this.ySubscriptYSize=Be.readShort(),this.ySubscriptXOffset=Be.readShort(),this.ySubscriptYOffset=Be.readShort(),this.ySuperscriptXSize=Be.readShort(),this.ySuperscriptYSize=Be.readShort(),this.ySuperscriptXOffset=Be.readShort(),this.ySuperscriptYOffset=Be.readShort(),this.yStrikeoutSize=Be.readShort(),this.yStrikeoutPosition=Be.readShort(),this.familyClass=Be.readShort(),this.panose=function(){var Fe,Ge;for(Ge=[],Fe=0;Fe<10;++Fe)Ge.push(Be.readByte());return Ge}(),this.charRange=function(){var Fe,Ge;for(Ge=[],Fe=0;Fe<4;++Fe)Ge.push(Be.readInt());return Ge}(),this.vendorID=Be.readString(4),this.selection=Be.readShort(),this.firstCharIndex=Be.readShort(),this.lastCharIndex=Be.readShort(),this.version>0&&(this.ascent=Be.readShort(),this.descent=Be.readShort(),this.lineGap=Be.readShort(),this.winAscent=Be.readShort(),this.winDescent=Be.readShort(),this.codePageRange=function(){var Fe,Ge;for(Ge=[],Fe=0;Fe<2;Fe=++Fe)Ge.push(Be.readInt());return Ge}(),this.version>1))return this.xHeight=Be.readShort(),this.capHeight=Be.readShort(),this.defaultChar=Be.readShort(),this.breakChar=Be.readShort(),this.maxContext=Be.readShort()},Ie}(),hr=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="post",Ie.prototype.parse=function(Be){var Fe,Ge,Ke;switch(Be.pos=this.offset,this.format=Be.readInt(),this.italicAngle=Be.readInt(),this.underlinePosition=Be.readShort(),this.underlineThickness=Be.readShort(),this.isFixedPitch=Be.readInt(),this.minMemType42=Be.readInt(),this.maxMemType42=Be.readInt(),this.minMemType1=Be.readInt(),this.maxMemType1=Be.readInt(),this.format){case 65536:break;case 131072:var qe;for(Ge=Be.readUInt16(),this.glyphNameIndex=[],qe=0;0<=Ge?qe<Ge:qe>Ge;qe=0<=Ge?++qe:--qe)this.glyphNameIndex.push(Be.readUInt16());for(this.names=[],Ke=[];Be.pos<this.offset+this.length;)Fe=Be.readByte(),Ke.push(this.names.push(Be.readString(Fe)));return Ke;case 151552:return Ge=Be.readUInt16(),this.offsets=Be.read(Ge);case 196608:break;case 262144:return this.map=function(){var vt,lt,Ft;for(Ft=[],qe=vt=0,lt=this.file.maxp.numGlyphs;0<=lt?vt<lt:vt>lt;qe=0<=lt?++vt:--vt)Ft.push(Be.readUInt32());return Ft}.call(this)}},Ie}(),or=function(Ie,Be){this.raw=Ie,this.length=Ie.length,this.platformID=Be.platformID,this.encodingID=Be.encodingID,this.languageID=Be.languageID},ar=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="name",Ie.prototype.parse=function(Be){var Fe,Ge,Ke,qe,vt,lt,Ft,wr,pr,Dr,zt;for(Be.pos=this.offset,Be.readShort(),Fe=Be.readShort(),lt=Be.readShort(),Ge=[],qe=0;0<=Fe?qe<Fe:qe>Fe;qe=0<=Fe?++qe:--qe)Ge.push({platformID:Be.readShort(),encodingID:Be.readShort(),languageID:Be.readShort(),nameID:Be.readShort(),length:Be.readShort(),offset:this.offset+lt+Be.readShort()});for(Ft={},qe=pr=0,Dr=Ge.length;pr<Dr;qe=++pr)Ke=Ge[qe],Be.pos=Ke.offset,wr=Be.readString(Ke.length),vt=new or(wr,Ke),Ft[zt=Ke.nameID]==null&&(Ft[zt]=[]),Ft[Ke.nameID].push(vt);this.strings=Ft,this.copyright=Ft[0],this.fontFamily=Ft[1],this.fontSubfamily=Ft[2],this.uniqueSubfamily=Ft[3],this.fontName=Ft[4],this.version=Ft[5];try{this.postscriptName=Ft[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(hn){this.postscriptName=Ft[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Ft[7],this.manufacturer=Ft[8],this.designer=Ft[9],this.description=Ft[10],this.vendorUrl=Ft[11],this.designerUrl=Ft[12],this.license=Ft[13],this.licenseUrl=Ft[14],this.preferredFamily=Ft[15],this.preferredSubfamily=Ft[17],this.compatibleFull=Ft[18],this.sampleText=Ft[19]},Ie}(),Gr=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="maxp",Ie.prototype.parse=function(Be){return Be.pos=this.offset,this.version=Be.readInt(),this.numGlyphs=Be.readUInt16(),this.maxPoints=Be.readUInt16(),this.maxContours=Be.readUInt16(),this.maxCompositePoints=Be.readUInt16(),this.maxComponentContours=Be.readUInt16(),this.maxZones=Be.readUInt16(),this.maxTwilightPoints=Be.readUInt16(),this.maxStorage=Be.readUInt16(),this.maxFunctionDefs=Be.readUInt16(),this.maxInstructionDefs=Be.readUInt16(),this.maxStackElements=Be.readUInt16(),this.maxSizeOfInstructions=Be.readUInt16(),this.maxComponentElements=Be.readUInt16(),this.maxComponentDepth=Be.readUInt16()},Ie}(),Yr=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="hmtx",Ie.prototype.parse=function(Be){var Fe,Ge,Ke,qe,vt,lt,Ft;for(Be.pos=this.offset,this.metrics=[],Fe=0,lt=this.file.hhea.numberOfMetrics;0<=lt?Fe<lt:Fe>lt;Fe=0<=lt?++Fe:--Fe)this.metrics.push({advance:Be.readUInt16(),lsb:Be.readInt16()});for(Ke=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var wr,pr;for(pr=[],Fe=wr=0;0<=Ke?wr<Ke:wr>Ke;Fe=0<=Ke?++wr:--wr)pr.push(Be.readInt16());return pr}(),this.widths=function(){var wr,pr,Dr,zt;for(zt=[],wr=0,pr=(Dr=this.metrics).length;wr<pr;wr++)qe=Dr[wr],zt.push(qe.advance);return zt}.call(this),Ge=this.widths[this.widths.length-1],Ft=[],Fe=vt=0;0<=Ke?vt<Ke:vt>Ke;Fe=0<=Ke?++vt:--vt)Ft.push(this.widths.push(Ge));return Ft},Ie.prototype.forGlyph=function(Be){return Be in this.metrics?this.metrics[Be]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Be-this.metrics.length]}},Ie}(),In=[].slice,Nn=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="glyf",Ie.prototype.parse=function(){return this.cache={}},Ie.prototype.glyphFor=function(Be){var Fe,Ge,Ke,qe,vt,lt,Ft,wr,pr,Dr;return Be in this.cache?this.cache[Be]:(qe=this.file.loca,Fe=this.file.contents,Ge=qe.indexOf(Be),(Ke=qe.lengthOf(Be))===0?this.cache[Be]=null:(Fe.pos=this.offset+Ge,vt=(lt=new Ut(Fe.read(Ke))).readShort(),wr=lt.readShort(),Dr=lt.readShort(),Ft=lt.readShort(),pr=lt.readShort(),this.cache[Be]=vt===-1?new $n(lt,wr,Dr,Ft,pr):new Kn(lt,vt,wr,Dr,Ft,pr),this.cache[Be]))},Ie.prototype.encode=function(Be,Fe,Ge){var Ke,qe,vt,lt,Ft;for(vt=[],qe=[],lt=0,Ft=Fe.length;lt<Ft;lt++)Ke=Be[Fe[lt]],qe.push(vt.length),Ke&&(vt=vt.concat(Ke.encode(Ge)));return qe.push(vt.length),{table:vt,offsets:qe}},Ie}(),Kn=function(){function Xe(Ie,Be,Fe,Ge,Ke,qe){this.raw=Ie,this.numberOfContours=Be,this.xMin=Fe,this.yMin=Ge,this.xMax=Ke,this.yMax=qe,this.compound=!1}return Xe.prototype.encode=function(){return this.raw.data},Xe}(),$n=function(){function Xe(Ie,Be,Fe,Ge,Ke){var qe,vt;for(this.raw=Ie,this.xMin=Be,this.yMin=Fe,this.xMax=Ge,this.yMax=Ke,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],qe=this.raw;vt=qe.readShort(),this.glyphOffsets.push(qe.pos),this.glyphIDs.push(qe.readUInt16()),32&vt;)qe.pos+=1&vt?4:2,128&vt?qe.pos+=8:64&vt?qe.pos+=4:8&vt&&(qe.pos+=2)}return Xe.prototype.encode=function(){var Ie,Be,Fe;for(Be=new Ut(In.call(this.raw.data)),Ie=0,Fe=this.glyphIDs.length;Ie<Fe;++Ie)Be.pos=this.glyphOffsets[Ie];return Be.data},Xe}(),Ii=function(Xe){function Ie(){return Ie.__super__.constructor.apply(this,arguments)}return Wt(Ie,un),Ie.prototype.tag="loca",Ie.prototype.parse=function(Be){var Fe,Ge;return Be.pos=this.offset,Fe=this.file.head.indexToLocFormat,this.offsets=Fe===0?function(){var Ke,qe;for(qe=[],Ge=0,Ke=this.length;Ge<Ke;Ge+=2)qe.push(2*Be.readUInt16());return qe}.call(this):function(){var Ke,qe;for(qe=[],Ge=0,Ke=this.length;Ge<Ke;Ge+=4)qe.push(Be.readUInt32());return qe}.call(this)},Ie.prototype.indexOf=function(Be){return this.offsets[Be]},Ie.prototype.lengthOf=function(Be){return this.offsets[Be+1]-this.offsets[Be]},Ie.prototype.encode=function(Be,Fe){for(var Ge=new Uint32Array(this.offsets.length),Ke=0,qe=0,vt=0;vt<Ge.length;++vt)if(Ge[vt]=Ke,qe<Fe.length&&Fe[qe]==vt){++qe,Ge[vt]=Ke;var lt=this.offsets[vt],Ft=this.offsets[vt+1]-lt;Ft>0&&(Ke+=Ft)}for(var wr=new Array(4*Ge.length),pr=0;pr<Ge.length;++pr)wr[4*pr+3]=255&Ge[pr],wr[4*pr+2]=(65280&Ge[pr])>>8,wr[4*pr+1]=(16711680&Ge[pr])>>16,wr[4*pr]=(4278190080&Ge[pr])>>24;return wr},Ie}(),Mi=function(){function Xe(Ie){this.font=Ie,this.subset={},this.unicodes={},this.next=33}return Xe.prototype.generateCmap=function(){var Ie,Be,Fe,Ge,Ke;for(Be in Ge=this.font.cmap.tables[0].codeMap,Ie={},Ke=this.subset)Fe=Ke[Be],Ie[Be]=Ge[Fe];return Ie},Xe.prototype.glyphsFor=function(Ie){var Be,Fe,Ge,Ke,qe,vt,lt;for(Ge={},qe=0,vt=Ie.length;qe<vt;qe++)Ge[Ke=Ie[qe]]=this.font.glyf.glyphFor(Ke);for(Ke in Be=[],Ge)((Fe=Ge[Ke])!=null?Fe.compound:void 0)&&Be.push.apply(Be,Fe.glyphIDs);if(Be.length>0)for(Ke in lt=this.glyphsFor(Be))Fe=lt[Ke],Ge[Ke]=Fe;return Ge},Xe.prototype.encode=function(Ie,Be){var Fe,Ge,Ke,qe,vt,lt,Ft,wr,pr,Dr,zt,hn,ir,Xr,Br;for(Ge in Fe=Bt.encode(this.generateCmap(),"unicode"),qe=this.glyphsFor(Ie),zt={0:0},Br=Fe.charMap)zt[(lt=Br[Ge]).old]=lt.new;for(hn in Dr=Fe.maxGlyphID,qe)hn in zt||(zt[hn]=Dr++);return wr=function(vr){var Cn,kn;for(Cn in kn={},vr)kn[vr[Cn]]=Cn;return kn}(zt),pr=Object.keys(wr).sort(function(vr,Cn){return vr-Cn}),ir=function(){var vr,Cn,kn;for(kn=[],vr=0,Cn=pr.length;vr<Cn;vr++)vt=pr[vr],kn.push(wr[vt]);return kn}(),Ke=this.font.glyf.encode(qe,ir,zt),Ft=this.font.loca.encode(Ke.offsets,ir),Xr={cmap:this.font.cmap.raw(),glyf:Ke.table,loca:Ft,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(Be)},this.font.os2.exists&&(Xr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Xr)},Xe}();j.API.PDFObject=function(){var Xe;function Ie(){}return Xe=function(Fe,Ge){return(Array(Ge+1).join("0")+Fe).slice(-Ge)},Ie.convert=function(Be){var Fe,Ge,Ke,qe;if(Array.isArray(Be))return"["+function(){var vt,lt,Ft;for(Ft=[],vt=0,lt=Be.length;vt<lt;vt++)Fe=Be[vt],Ft.push(Ie.convert(Fe));return Ft}().join(" ")+"]";if(typeof Be=="string")return"/"+Be;if(Be!=null?Be.isString:void 0)return"("+Be+")";if(Be instanceof Date)return"(D:"+Xe(Be.getUTCFullYear(),4)+Xe(Be.getUTCMonth(),2)+Xe(Be.getUTCDate(),2)+Xe(Be.getUTCHours(),2)+Xe(Be.getUTCMinutes(),2)+Xe(Be.getUTCSeconds(),2)+"Z)";if({}.toString.call(Be)==="[object Object]"){for(Ge in Ke=["<<"],Be)qe=Be[Ge],Ke.push("/"+Ge+" "+Ie.convert(qe));return Ke.push(">>"),Ke.join(`
`)}return""+Be},Ie}(),k.default=j}.call(this,d("yLpj"))},e5VY:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("YNAk"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},e7zE:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("3y9D"),d("WYAk"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.Base,b=C.WordArray,m=x.algo,p=m.SHA1,c=m.HMAC,o=m.PBKDF2=A.extend({cfg:A.extend({keySize:128/32,hasher:p,iterations:1}),init:function(i){this.cfg=this.cfg.extend(i)},compute:function(i,n){for(var t=this.cfg,s=c.create(t.hasher,i),e=b.create(),a=b.create([1]),l=e.words,u=a.words,h=t.keySize,f=t.iterations;l.length<h;){var g=s.update(n).finalize(a);s.reset();for(var v=g.words,y=v.length,E=g,T=1;T<f;T++){E=s.finalize(E),s.reset();for(var w=E.words,S=0;S<y;S++)v[S]^=w[S]}e.concat(g),u[0]++}return e.sigBytes=h*4,e}});x.PBKDF2=function(r,i,n){return o.create(n).compute(r,i)}}(),_.PBKDF2})},eIcI:function(H,k,d){var _=d("bYtY"),x=d("hM6l");function C(b,m,p){x.call(this,b,m,p),this.type="value",this.angle=0,this.name="",this.model}_.inherits(C,x);var A=C;H.exports=A},eJH7:function(H,k,d){var _=d("bYtY");function x(C){var A=C.polar;if(A){_.isArray(A)||(A=[A]);var b=[];_.each(A,function(m,p){m.indicator?(m.type&&!m.shape&&(m.shape=m.type),C.radar=C.radar||[],_.isArray(C.radar)||(C.radar=[C.radar]),C.radar.push(m)):b.push(m)}),C.polar=b}_.each(C.series,function(m){m&&m.type==="radar"&&m.polarIndex&&(m.radarIndex=m.polarIndex)})}H.exports=x},eP3c:function(H,k,d){"use strict";function _(Ze){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(ae){return typeof ae}:_=function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},_(Ze)}Object.defineProperty(k,"__esModule",{value:!0}),k.inflateReset=le,k.inflateReset2=fe,k.inflateResetKeep=we,k.inflateInit=We,k.inflateInit2=xe,k.inflate=gt,k.inflateEnd=wt,k.inflateGetHeader=Et,k.inflateSetDictionary=_t,k.inflateInfo=k.Z_DEFLATED=k.Z_BUF_ERROR=k.Z_MEM_ERROR=k.Z_DATA_ERROR=k.Z_STREAM_ERROR=k.Z_NEED_DICT=k.Z_STREAM_END=k.Z_OK=k.Z_TREES=k.Z_BLOCK=k.Z_FINISH=void 0;var x=o(d("6BzB")),C=p(d("xlC8")),A=p(d("QV2g")),b=p(d("sjKO")),m=p(d("JSwD"));function p(Ze){return Ze&&Ze.__esModule?Ze:{default:Ze}}function c(){if(typeof WeakMap!="function")return null;var Ze=new WeakMap;return c=function(){return Ze},Ze}function o(Ze){if(Ze&&Ze.__esModule)return Ze;if(Ze===null||_(Ze)!=="object"&&typeof Ze!="function")return{default:Ze};var ye=c();if(ye&&ye.has(Ze))return ye.get(Ze);var ae={},yt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var et in Ze)if(Object.prototype.hasOwnProperty.call(Ze,et)){var me=yt?Object.getOwnPropertyDescriptor(Ze,et):null;me&&(me.get||me.set)?Object.defineProperty(ae,et,me):ae[et]=Ze[et]}return ae.default=Ze,ye&&ye.set(Ze,ae),ae}var r=0,i=1,n=2,t=4;k.Z_FINISH=t;var s=5;k.Z_BLOCK=s;var e=6;k.Z_TREES=e;var a=0;k.Z_OK=a;var l=1;k.Z_STREAM_END=l;var u=2;k.Z_NEED_DICT=u;var h=-2;k.Z_STREAM_ERROR=h;var f=-3;k.Z_DATA_ERROR=f;var g=-4;k.Z_MEM_ERROR=g;var v=-5;k.Z_BUF_ERROR=v;var y=8;k.Z_DEFLATED=y;var E=1,T=2,w=3,S=4,I=5,L=6,O=7,N=8,R=9,D=10,B=11,M=12,U=13,F=14,j=15,W=16,V=17,z=18,Y=19,J=20,ie=21,Z=22,oe=23,ge=24,pe=25,De=26,ce=27,Oe=28,se=29,$=30,ze=31,re=32,X=852,G=592,Q=15,ve=Q;function de(Ze){return(Ze>>>24&255)+(Ze>>>8&65280)+((Ze&65280)<<8)+((Ze&255)<<24)}function Ce(){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 x.Buf16(320),this.work=new x.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function we(Ze){var ye;return!Ze||!Ze.state?h:(ye=Ze.state,Ze.total_in=Ze.total_out=ye.total=0,Ze.msg="",ye.wrap&&(Ze.adler=ye.wrap&1),ye.mode=E,ye.last=0,ye.havedict=0,ye.dmax=32768,ye.head=null,ye.hold=0,ye.bits=0,ye.lencode=ye.lendyn=new x.Buf32(X),ye.distcode=ye.distdyn=new x.Buf32(G),ye.sane=1,ye.back=-1,a)}function le(Ze){var ye;return!Ze||!Ze.state?h:(ye=Ze.state,ye.wsize=0,ye.whave=0,ye.wnext=0,we(Ze))}function fe(Ze,ye){var ae,yt;return!Ze||!Ze.state?h:(yt=Ze.state,ye<0?(ae=0,ye=-ye):(ae=(ye>>4)+1,ye<48&&(ye&=15)),ye&&(ye<8||ye>15)?h:(yt.window!==null&&yt.wbits!==ye&&(yt.window=null),yt.wrap=ae,yt.wbits=ye,le(Ze)))}function xe(Ze,ye){var ae,yt;return Ze?(yt=new Ce,Ze.state=yt,yt.window=null,ae=fe(Ze,ye),ae!==a&&(Ze.state=null),ae):h}function We(Ze){return xe(Ze,ve)}var nt=!0,$e,Le;function pt(Ze){if(nt){var ye;for($e=new x.Buf32(512),Le=new x.Buf32(32),ye=0;ye<144;)Ze.lens[ye++]=8;for(;ye<256;)Ze.lens[ye++]=9;for(;ye<280;)Ze.lens[ye++]=7;for(;ye<288;)Ze.lens[ye++]=8;for((0,m.default)(i,Ze.lens,0,288,$e,0,Ze.work,{bits:9}),ye=0;ye<32;)Ze.lens[ye++]=5;(0,m.default)(n,Ze.lens,0,32,Le,0,Ze.work,{bits:5}),nt=!1}Ze.lencode=$e,Ze.lenbits=9,Ze.distcode=Le,Ze.distbits=5}function Qe(Ze,ye,ae,yt){var et,me=Ze.state;return me.window===null&&(me.wsize=1<<me.wbits,me.wnext=0,me.whave=0,me.window=new x.Buf8(me.wsize)),yt>=me.wsize?(x.arraySet(me.window,ye,ae-me.wsize,me.wsize,0),me.wnext=0,me.whave=me.wsize):(et=me.wsize-me.wnext,et>yt&&(et=yt),x.arraySet(me.window,ye,ae-yt,et,me.wnext),yt-=et,yt?(x.arraySet(me.window,ye,ae-yt,yt,0),me.wnext=yt,me.whave=me.wsize):(me.wnext+=et,me.wnext===me.wsize&&(me.wnext=0),me.whave<me.wsize&&(me.whave+=et))),0}function gt(Ze,ye){var ae,yt,et,me,Gt,rr,ut,Xt,ur,Fr,er,nr,Lt,at,Je=0,qt,Sr,yr,fr,yn,Jr,Ln,Nt,Ve=new x.Buf8(4),_e,ke,Pe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Ze||!Ze.state||!Ze.output||!Ze.input&&Ze.avail_in!==0)return h;ae=Ze.state,ae.mode===M&&(ae.mode=U),Gt=Ze.next_out,et=Ze.output,ut=Ze.avail_out,me=Ze.next_in,yt=Ze.input,rr=Ze.avail_in,Xt=ae.hold,ur=ae.bits,Fr=rr,er=ut,Nt=a;e:for(;;)switch(ae.mode){case E:if(ae.wrap===0){ae.mode=U;break}for(;ur<16;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if(ae.wrap&2&&Xt===35615){ae.check=0,Ve[0]=Xt&255,Ve[1]=Xt>>>8&255,ae.check=(0,A.default)(ae.check,Ve,2,0),Xt=0,ur=0,ae.mode=T;break}if(ae.flags=0,ae.head&&(ae.head.done=!1),!(ae.wrap&1)||(((Xt&255)<<8)+(Xt>>8))%31){Ze.msg="incorrect header check",ae.mode=$;break}if((Xt&15)!==y){Ze.msg="unknown compression method",ae.mode=$;break}if(Xt>>>=4,ur-=4,Ln=(Xt&15)+8,ae.wbits===0)ae.wbits=Ln;else if(Ln>ae.wbits){Ze.msg="invalid window size",ae.mode=$;break}ae.dmax=1<<Ln,Ze.adler=ae.check=1,ae.mode=Xt&512?D:M,Xt=0,ur=0;break;case T:for(;ur<16;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if(ae.flags=Xt,(ae.flags&255)!==y){Ze.msg="unknown compression method",ae.mode=$;break}if(ae.flags&57344){Ze.msg="unknown header flags set",ae.mode=$;break}ae.head&&(ae.head.text=Xt>>8&1),ae.flags&512&&(Ve[0]=Xt&255,Ve[1]=Xt>>>8&255,ae.check=(0,A.default)(ae.check,Ve,2,0)),Xt=0,ur=0,ae.mode=w;case w:for(;ur<32;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}ae.head&&(ae.head.time=Xt),ae.flags&512&&(Ve[0]=Xt&255,Ve[1]=Xt>>>8&255,Ve[2]=Xt>>>16&255,Ve[3]=Xt>>>24&255,ae.check=(0,A.default)(ae.check,Ve,4,0)),Xt=0,ur=0,ae.mode=S;case S:for(;ur<16;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}ae.head&&(ae.head.xflags=Xt&255,ae.head.os=Xt>>8),ae.flags&512&&(Ve[0]=Xt&255,Ve[1]=Xt>>>8&255,ae.check=(0,A.default)(ae.check,Ve,2,0)),Xt=0,ur=0,ae.mode=I;case I:if(ae.flags&1024){for(;ur<16;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}ae.length=Xt,ae.head&&(ae.head.extra_len=Xt),ae.flags&512&&(Ve[0]=Xt&255,Ve[1]=Xt>>>8&255,ae.check=(0,A.default)(ae.check,Ve,2,0)),Xt=0,ur=0}else ae.head&&(ae.head.extra=null);ae.mode=L;case L:if(ae.flags&1024&&(nr=ae.length,nr>rr&&(nr=rr),nr&&(ae.head&&(Ln=ae.head.extra_len-ae.length,ae.head.extra||(ae.head.extra=new Array(ae.head.extra_len)),x.arraySet(ae.head.extra,yt,me,nr,Ln)),ae.flags&512&&(ae.check=(0,A.default)(ae.check,yt,nr,me)),rr-=nr,me+=nr,ae.length-=nr),ae.length))break e;ae.length=0,ae.mode=O;case O:if(ae.flags&2048){if(rr===0)break e;nr=0;do Ln=yt[me+nr++],ae.head&&Ln&&ae.length<65536&&(ae.head.name+=String.fromCharCode(Ln));while(Ln&&nr<rr);if(ae.flags&512&&(ae.check=(0,A.default)(ae.check,yt,nr,me)),rr-=nr,me+=nr,Ln)break e}else ae.head&&(ae.head.name=null);ae.length=0,ae.mode=N;case N:if(ae.flags&4096){if(rr===0)break e;nr=0;do Ln=yt[me+nr++],ae.head&&Ln&&ae.length<65536&&(ae.head.comment+=String.fromCharCode(Ln));while(Ln&&nr<rr);if(ae.flags&512&&(ae.check=(0,A.default)(ae.check,yt,nr,me)),rr-=nr,me+=nr,Ln)break e}else ae.head&&(ae.head.comment=null);ae.mode=R;case R:if(ae.flags&512){for(;ur<16;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if(Xt!==(ae.check&65535)){Ze.msg="header crc mismatch",ae.mode=$;break}Xt=0,ur=0}ae.head&&(ae.head.hcrc=ae.flags>>9&1,ae.head.done=!0),Ze.adler=ae.check=0,ae.mode=M;break;case D:for(;ur<32;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}Ze.adler=ae.check=de(Xt),Xt=0,ur=0,ae.mode=B;case B:if(ae.havedict===0)return Ze.next_out=Gt,Ze.avail_out=ut,Ze.next_in=me,Ze.avail_in=rr,ae.hold=Xt,ae.bits=ur,u;Ze.adler=ae.check=1,ae.mode=M;case M:if(ye===s||ye===e)break e;case U:if(ae.last){Xt>>>=ur&7,ur-=ur&7,ae.mode=ce;break}for(;ur<3;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}ae.last=Xt&1,Xt>>>=1,ur-=1;switch(Xt&3){case 0:ae.mode=F;break;case 1:if(pt(ae),ae.mode=J,ye===e){Xt>>>=2,ur-=2;break e}break;case 2:ae.mode=V;break;case 3:Ze.msg="invalid block type",ae.mode=$}Xt>>>=2,ur-=2;break;case F:for(Xt>>>=ur&7,ur-=ur&7;ur<32;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if((Xt&65535)!==(Xt>>>16^65535)){Ze.msg="invalid stored block lengths",ae.mode=$;break}if(ae.length=Xt&65535,Xt=0,ur=0,ae.mode=j,ye===e)break e;case j:ae.mode=W;case W:if(nr=ae.length,nr){if(nr>rr&&(nr=rr),nr>ut&&(nr=ut),nr===0)break e;x.arraySet(et,yt,me,nr,Gt),rr-=nr,me+=nr,ut-=nr,Gt+=nr,ae.length-=nr;break}ae.mode=M;break;case V:for(;ur<14;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if(ae.nlen=(Xt&31)+257,Xt>>>=5,ur-=5,ae.ndist=(Xt&31)+1,Xt>>>=5,ur-=5,ae.ncode=(Xt&15)+4,Xt>>>=4,ur-=4,ae.nlen>286||ae.ndist>30){Ze.msg="too many length or distance symbols",ae.mode=$;break}ae.have=0,ae.mode=z;case z:for(;ae.have<ae.ncode;){for(;ur<3;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}ae.lens[Pe[ae.have++]]=Xt&7,Xt>>>=3,ur-=3}for(;ae.have<19;)ae.lens[Pe[ae.have++]]=0;if(ae.lencode=ae.lendyn,ae.lenbits=7,_e={bits:ae.lenbits},Nt=(0,m.default)(r,ae.lens,0,19,ae.lencode,0,ae.work,_e),ae.lenbits=_e.bits,Nt){Ze.msg="invalid code lengths set",ae.mode=$;break}ae.have=0,ae.mode=Y;case Y:for(;ae.have<ae.nlen+ae.ndist;){for(;!(Je=ae.lencode[Xt&(1<<ae.lenbits)-1],qt=Je>>>24,Sr=Je>>>16&255,yr=Je&65535,qt<=ur);){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if(yr<16)Xt>>>=qt,ur-=qt,ae.lens[ae.have++]=yr;else{if(yr===16){for(ke=qt+2;ur<ke;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if(Xt>>>=qt,ur-=qt,ae.have===0){Ze.msg="invalid bit length repeat",ae.mode=$;break}Ln=ae.lens[ae.have-1],nr=3+(Xt&3),Xt>>>=2,ur-=2}else if(yr===17){for(ke=qt+3;ur<ke;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}Xt>>>=qt,ur-=qt,Ln=0,nr=3+(Xt&7),Xt>>>=3,ur-=3}else{for(ke=qt+7;ur<ke;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}Xt>>>=qt,ur-=qt,Ln=0,nr=11+(Xt&127),Xt>>>=7,ur-=7}if(ae.have+nr>ae.nlen+ae.ndist){Ze.msg="invalid bit length repeat",ae.mode=$;break}for(;nr--;)ae.lens[ae.have++]=Ln}}if(ae.mode===$)break;if(ae.lens[256]===0){Ze.msg="invalid code -- missing end-of-block",ae.mode=$;break}if(ae.lenbits=9,_e={bits:ae.lenbits},Nt=(0,m.default)(i,ae.lens,0,ae.nlen,ae.lencode,0,ae.work,_e),ae.lenbits=_e.bits,Nt){Ze.msg="invalid literal/lengths set",ae.mode=$;break}if(ae.distbits=6,ae.distcode=ae.distdyn,_e={bits:ae.distbits},Nt=(0,m.default)(n,ae.lens,ae.nlen,ae.ndist,ae.distcode,0,ae.work,_e),ae.distbits=_e.bits,Nt){Ze.msg="invalid distances set",ae.mode=$;break}if(ae.mode=J,ye===e)break e;case J:ae.mode=ie;case ie:if(rr>=6&&ut>=258){Ze.next_out=Gt,Ze.avail_out=ut,Ze.next_in=me,Ze.avail_in=rr,ae.hold=Xt,ae.bits=ur,(0,b.default)(Ze,er),Gt=Ze.next_out,et=Ze.output,ut=Ze.avail_out,me=Ze.next_in,yt=Ze.input,rr=Ze.avail_in,Xt=ae.hold,ur=ae.bits,ae.mode===M&&(ae.back=-1);break}for(ae.back=0;!(Je=ae.lencode[Xt&(1<<ae.lenbits)-1],qt=Je>>>24,Sr=Je>>>16&255,yr=Je&65535,qt<=ur);){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if(Sr&&(Sr&240)===0){for(fr=qt,yn=Sr,Jr=yr;!(Je=ae.lencode[Jr+((Xt&(1<<fr+yn)-1)>>fr)],qt=Je>>>24,Sr=Je>>>16&255,yr=Je&65535,fr+qt<=ur);){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}Xt>>>=fr,ur-=fr,ae.back+=fr}if(Xt>>>=qt,ur-=qt,ae.back+=qt,ae.length=yr,Sr===0){ae.mode=De;break}if(Sr&32){ae.back=-1,ae.mode=M;break}if(Sr&64){Ze.msg="invalid literal/length code",ae.mode=$;break}ae.extra=Sr&15,ae.mode=Z;case Z:if(ae.extra){for(ke=ae.extra;ur<ke;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}ae.length+=Xt&(1<<ae.extra)-1,Xt>>>=ae.extra,ur-=ae.extra,ae.back+=ae.extra}ae.was=ae.length,ae.mode=oe;case oe:for(;!(Je=ae.distcode[Xt&(1<<ae.distbits)-1],qt=Je>>>24,Sr=Je>>>16&255,yr=Je&65535,qt<=ur);){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if((Sr&240)===0){for(fr=qt,yn=Sr,Jr=yr;!(Je=ae.distcode[Jr+((Xt&(1<<fr+yn)-1)>>fr)],qt=Je>>>24,Sr=Je>>>16&255,yr=Je&65535,fr+qt<=ur);){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}Xt>>>=fr,ur-=fr,ae.back+=fr}if(Xt>>>=qt,ur-=qt,ae.back+=qt,Sr&64){Ze.msg="invalid distance code",ae.mode=$;break}ae.offset=yr,ae.extra=Sr&15,ae.mode=ge;case ge:if(ae.extra){for(ke=ae.extra;ur<ke;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}ae.offset+=Xt&(1<<ae.extra)-1,Xt>>>=ae.extra,ur-=ae.extra,ae.back+=ae.extra}if(ae.offset>ae.dmax){Ze.msg="invalid distance too far back",ae.mode=$;break}ae.mode=pe;case pe:if(ut===0)break e;if(nr=er-ut,ae.offset>nr){if(nr=ae.offset-nr,nr>ae.whave&&ae.sane){Ze.msg="invalid distance too far back",ae.mode=$;break}nr>ae.wnext?(nr-=ae.wnext,Lt=ae.wsize-nr):Lt=ae.wnext-nr,nr>ae.length&&(nr=ae.length),at=ae.window}else at=et,Lt=Gt-ae.offset,nr=ae.length;nr>ut&&(nr=ut),ut-=nr,ae.length-=nr;do et[Gt++]=at[Lt++];while(--nr);ae.length===0&&(ae.mode=ie);break;case De:if(ut===0)break e;et[Gt++]=ae.length,ut--,ae.mode=ie;break;case ce:if(ae.wrap){for(;ur<32;){if(rr===0)break e;rr--,Xt|=yt[me++]<<ur,ur+=8}if(er-=ut,Ze.total_out+=er,ae.total+=er,er&&(Ze.adler=ae.check=ae.flags?(0,A.default)(ae.check,et,er,Gt-er):(0,C.default)(ae.check,et,er,Gt-er)),er=ut,(ae.flags?Xt:de(Xt))!==ae.check){Ze.msg="incorrect data check",ae.mode=$;break}Xt=0,ur=0}ae.mode=Oe;case Oe:if(ae.wrap&&ae.flags){for(;ur<32;){if(rr===0)break e;rr--,Xt+=yt[me++]<<ur,ur+=8}if(Xt!==(ae.total&4294967295)){Ze.msg="incorrect length check",ae.mode=$;break}Xt=0,ur=0}ae.mode=se;case se:Nt=l;break e;case $:Nt=f;break e;case ze:return g;case re:default:return h}return Ze.next_out=Gt,Ze.avail_out=ut,Ze.next_in=me,Ze.avail_in=rr,ae.hold=Xt,ae.bits=ur,(ae.wsize||er!==Ze.avail_out&&ae.mode<$&&(ae.mode<ce||ye!==t))&&Qe(Ze,Ze.output,Ze.next_out,er-Ze.avail_out)?(ae.mode=ze,g):(Fr-=Ze.avail_in,er-=Ze.avail_out,Ze.total_in+=Fr,Ze.total_out+=er,ae.total+=er,ae.wrap&&er&&(Ze.adler=ae.check=ae.flags?(0,A.default)(ae.check,et,er,Ze.next_out-er):(0,C.default)(ae.check,et,er,Ze.next_out-er)),Ze.data_type=ae.bits+(ae.last?64:0)+(ae.mode===M?128:0)+(ae.mode===J||ae.mode===j?256:0),(Fr===0&&er===0||ye===t)&&Nt===a&&(Nt=v),Nt)}function wt(Ze){if(!Ze||!Ze.state)return h;var ye=Ze.state;return ye.window&&(ye.window=null),Ze.state=null,a}function Et(Ze,ye){var ae;return!Ze||!Ze.state?h:(ae=Ze.state,(ae.wrap&2)===0?h:(ae.head=ye,ye.done=!1,a))}function _t(Ze,ye){var ae=ye.length,yt,et,me;return!Ze||!Ze.state?h:(yt=Ze.state,yt.wrap!==0&&yt.mode!==B?h:yt.mode===B&&(et=1,et=(0,C.default)(et,ye,ae,0),et!==yt.check)?f:(me=Qe(Ze,ye,ae,ae),me?(yt.mode=ze,g):(yt.havedict=1,a)))}var Ht="pako inflate (from Nodeca project)";k.inflateInfo=Ht},ePAk:function(H,k,d){var _=d("ProS");d("2fGM");var x=_.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(C){var A,b=this.ecModel;return b.eachComponent(C,function(m){m.getCoordSysModel()===this&&(A=m)},this),A},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});H.exports=x},eRkO:function(H,k,d){var _=d("+TT/"),x=_.getLayoutRect,C=_.box,A=_.positionElement,b=d("7aKB"),m=d("IwbS");function p(o,r,i){var n=r.getBoxLayoutParams(),t=r.get("padding"),s={width:i.getWidth(),height:i.getHeight()},e=x(n,s,t);C(r.get("orient"),o,r.get("itemGap"),e.width,e.height),A(o,n,s,t)}function c(o,r){var i=b.normalizeCssArray(r.get("padding")),n=r.getItemStyle(["color","opacity"]);n.fill=r.get("backgroundColor");var o=new m.Rect({shape:{x:o.x-i[3],y:o.y-i[0],width:o.width+i[1]+i[3],height:o.height+i[0]+i[2],r:r.get("borderRadius")},style:n,silent:!0,z2:-1});return o}k.layout=p,k.makeBackground=c},eS4l:function(H,k,d){d("HM/N"),d("FNN5")},eUgh:function(H,k){function d(_,x){for(var C=-1,A=_==null?0:_.length,b=Array(A);++C<A;)b[C]=x(_[C],C,_);return b}H.exports=d},ewwo:function(H,k,d){var _=d("bMXI"),x=d("+TT/"),C=x.getLayoutRect,A=d("4mN7");function b(p,c,o){var r=p.getBoxLayoutParams();return r.aspect=o,C(r,{width:c.getWidth(),height:c.getHeight()})}function m(p,c){var o=[];return p.eachSeriesByType("graph",function(r){var i=r.get("coordinateSystem");if(!i||i==="view"){var n=r.getData(),t=n.mapArray(function(y){var E=n.getItemModel(y);return[+E.get("x"),+E.get("y")]}),s=[],e=[];A.fromPoints(t,s,e),e[0]-s[0]===0&&(e[0]+=1,s[0]-=1),e[1]-s[1]===0&&(e[1]+=1,s[1]-=1);var a=(e[0]-s[0])/(e[1]-s[1]),l=b(r,c,a);isNaN(a)&&(s=[l.x,l.y],e=[l.x+l.width,l.y+l.height]);var u=e[0]-s[0],h=e[1]-s[1],f=l.width,g=l.height,v=r.coordinateSystem=new _;v.zoomLimit=r.get("scaleLimit"),v.setBoundingRect(s[0],s[1],u,h),v.setViewRect(l.x,l.y,f,g),v.setCenter(r.get("center")),v.setZoom(r.get("zoom")),o.push(v)}}),o}H.exports=m},f1nB:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("4NO4"),m=d("IwbS"),p=d("+TT/"),c=d("OELB"),o=c.parsePercent,r={path:null,compoundPath:null,group:m.Group,image:m.Image,text:m.Text};C.registerPreprocessor(function(f){var g=f.graphic;A.isArray(g)?!g[0]||!g[0].elements?f.graphic=[{elements:g}]:f.graphic=[f.graphic[0]]:g&&!g.elements&&(f.graphic=[{elements:[g]}])});var i=C.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(f){var g=this.option.elements;this.option.elements=null,i.superApply(this,"mergeOption",arguments),this.option.elements=g},optionUpdated:function(f,g){var v=this.option,y=(g?v:f).elements,E=v.elements=g?[]:v.elements,T=[];this._flatten(y,T);var w=b.mappingToExists(E,T);b.makeIdAndName(w);var S=this._elOptionsToUpdate=[];A.each(w,function(L,O){var N=L.option;if(!N)return;S.push(N),a(L,N),l(E,O,N),u(E[O],N)},this);for(var I=E.length-1;I>=0;I--)E[I]==null?E.splice(I,1):delete E[I].$action},_flatten:function(f,g,v){A.each(f,function(y){if(!y)return;v&&(y.parentOption=v),g.push(y);var E=y.children;y.type==="group"&&E&&this._flatten(E,g,y),delete y.children},this)},useElOptionsToUpdate:function(){var f=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,f}});C.extendComponentView({type:"graphic",init:function(f,g){this._elMap=A.createHashMap(),this._lastGraphicModel},render:function(f,g,v){f!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=f,this._updateElements(f),this._relocate(f,v)},_updateElements:function(f){var g=f.useElOptionsToUpdate();if(!g)return;var v=this._elMap,y=this.group;A.each(g,function(E){var T=E.$action,w=E.id,S=v.get(w),I=E.parentId,L=I!=null?v.get(I):y,O=E.style;E.type==="text"&&O&&(E.hv&&E.hv[1]&&(O.textVerticalAlign=O.textBaseline=null),!O.hasOwnProperty("textFill")&&O.fill&&(O.textFill=O.fill),!O.hasOwnProperty("textStroke")&&O.stroke&&(O.textStroke=O.stroke));var N=s(E);!T||T==="merge"?S?S.attr(N):n(w,L,N,v):T==="replace"?(t(S,v),n(w,L,N,v)):T==="remove"&&t(S,v);var R=v.get(w);R&&(R.__ecGraphicWidthOption=E.width,R.__ecGraphicHeightOption=E.height,h(R,f,E))})},_relocate:function(f,g){for(var v=f.option.elements,y=this.group,E=this._elMap,T=g.getWidth(),w=g.getHeight(),S=0;S<v.length;S++){var I=v[S],L=E.get(I.id);if(!L||!L.isGroup)continue;var O=L.parent,N=O===y;L.__ecGraphicWidth=o(L.__ecGraphicWidthOption,N?T:O.__ecGraphicWidth)||0,L.__ecGraphicHeight=o(L.__ecGraphicHeightOption,N?w:O.__ecGraphicHeight)||0}for(var S=v.length-1;S>=0;S--){var I=v[S],L=E.get(I.id);if(!L)continue;var O=L.parent,R=O===y?{width:T,height:w}:{width:O.__ecGraphicWidth,height:O.__ecGraphicHeight};p.positionElement(L,I,R,null,{hv:I.hv,boundingMode:I.bounding})}},_clear:function(){var f=this._elMap;f.each(function(g){t(g,f)}),this._elMap=A.createHashMap()},dispose:function(){this._clear()}});function n(f,g,v,y){var E=v.type,T=r.hasOwnProperty(E)?r[E]:m.getShapeClass(E),w=new T(v);g.add(w),y.set(f,w),w.__ecGraphicId=f}function t(f,g){var v=f&&f.parent;v&&(f.type==="group"&&f.traverse(function(y){t(y,g)}),g.removeKey(f.__ecGraphicId),v.remove(f))}function s(f){return f=A.extend({},f),A.each(["id","parentId","$action","hv","bounding"].concat(p.LOCATION_PARAMS),function(g){delete f[g]}),f}function e(f,g){var v;return A.each(g,function(y){f[y]!=null&&f[y]!=="auto"&&(v=!0)}),v}function a(f,g){var v=f.exist;if(g.id=f.keyInfo.id,!g.type&&v&&(g.type=v.type),g.parentId==null){var y=g.parentOption;y?g.parentId=y.id:v&&(g.parentId=v.parentId)}g.parentOption=null}function l(f,g,v){var y=A.extend({},v),E=f[g],T=v.$action||"merge";T==="merge"?E?(A.merge(E,y,!0),p.mergeLayoutParam(E,y,{ignoreSize:!0}),p.copyLayoutParams(v,E)):f[g]=y:T==="replace"?f[g]=y:T==="remove"&&(E&&(f[g]=null))}function u(f,g){if(!f)return;f.hv=g.hv=[e(g,["left","right"]),e(g,["top","bottom"])],f.type==="group"&&(f.width==null&&(f.width=g.width=0),f.height==null&&(f.height=g.height=0))}function h(f,g,v){var y=f.eventData;!f.silent&&!f.ignore&&!y&&(y=f.eventData={componentType:"graphic",componentIndex:g.componentIndex,name:f.name}),y&&(y.info=f.info)}},f3JH:function(H,k,d){d("aTJb"),d("OlYY"),d("fc+c"),d("oY9F"),d("MqEG"),d("LBfv"),d("noeP")},f5HG:function(H,k,d){var _=d("IwbS"),x=d("QBsz"),C=_.Line.prototype,A=_.BezierCurve.prototype;function b(p){return isNaN(+p.cpx1)||isNaN(+p.cpy1)}var m=_.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(p,c){this[b(c)?"_buildPathLine":"_buildPathCurve"](p,c)},_buildPathLine:C.buildPath,_buildPathCurve:A.buildPath,pointAt:function(p){return this[b(this.shape)?"_pointAtLine":"_pointAtCurve"](p)},_pointAtLine:C.pointAt,_pointAtCurve:A.pointAt,tangentAt:function(p){var c=this.shape,o=b(c)?[c.x2-c.x1,c.y2-c.y1]:this._tangentAtCurve(p);return x.normalize(o,o)},_tangentAtCurve:A.tangentAt});H.exports=m},f5Yq:function(H,k,d){var _=d("bYtY"),x=_.isFunction;function C(A,b,m){return{seriesType:A,performRawSeries:!0,reset:function(p,c,o){var r=p.getData(),i=p.get("symbol"),n=p.get("symbolSize"),t=p.get("symbolKeepAspect"),s=p.get("symbolRotate"),e=x(i),a=x(n),l=x(s),u=e||a||l,h=!e&&i?i:b,f=a?null:n,g=l?null:g;if(r.setVisual({legendSymbol:m||h,symbol:h,symbolSize:f,symbolKeepAspect:t,symbolRotate:s}),c.isSeriesFiltered(p))return;function v(y,E){if(u){var T=p.getRawValue(E),w=p.getDataParams(E);e&&y.setItemVisual(E,"symbol",i(T,w)),a&&y.setItemVisual(E,"symbolSize",n(T,w)),l&&y.setItemVisual(E,"symbolRotate",s(T,w))}if(y.hasItemOption){var S=y.getItemModel(E),I=S.getShallow("symbol",!0),L=S.getShallow("symbolSize",!0),O=S.getShallow("symbolRotate",!0),N=S.getShallow("symbolKeepAspect",!0);I!=null&&y.setItemVisual(E,"symbol",I),L!=null&&y.setItemVisual(E,"symbolSize",L),O!=null&&y.setItemVisual(E,"symbolRotate",O),N!=null&&y.setItemVisual(E,"symbolKeepAspect",N)}}return{dataEach:r.hasItemOption||u?v:null}}}}H.exports=C},fAei:function(H,k,d){"use strict";d.d(k,"a",function(){return f.a});var _=d("rePB"),x=d("VTBJ"),C=d("KQm4"),A=d("1OyB"),b=d("vuIU"),m=d("Ji7U"),p=d("LK+K"),c=d("q1tI"),o=d("4IlW"),r=d("Kwbf"),i=d("TSYQ"),n=d.n(i),t=d("sboe"),s=d("OZM5"),e=d("815F"),a=d("ODXe"),l=d("Ff2n"),u=d("+nKL"),h=d("8XRh"),f=d("WaYH"),g=function(J,ie){var Z=J.className,oe=J.style,ge=J.motion,pe=J.motionNodes,De=J.motionType,ce=J.onMotionStart,Oe=J.onMotionEnd,se=J.active,$=J.treeNodeRequiredProps,ze=Object(l.a)(J,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),re=c.useState(!0),X=Object(a.a)(re,2),G=X[0],Q=X[1],ve=c.useContext(t.a),de=ve.prefixCls,Ce=c.useRef(!1),we=function(){Ce.current||Oe(),Ce.current=!0};return Object(c.useEffect)(function(){pe&&De==="hide"&&G&&Q(!1)},[pe]),Object(c.useEffect)(function(){return pe&&ce(),function(){pe&&we()}},[]),pe?c.createElement(h.default,Object.assign({ref:ie,visible:G},ge,{motionAppear:De==="show",onAppearEnd:we,onLeaveEnd:we}),function(le,fe){var xe=le.className,We=le.style;return c.createElement("div",{ref:fe,className:n()("".concat(de,"-treenode-motion"),xe),style:We},pe.map(function(nt){var $e=nt.data,Le=$e.key,pt=Object(l.a)($e,["key"]),Qe=nt.isStart,gt=nt.isEnd;delete pt.children;var wt=Object(e.f)(Le,$);return c.createElement(f.a,Object.assign({},pt,wt,{active:se,data:nt.data,key:Le,isStart:Qe,isEnd:gt}))}))}):c.createElement(f.a,Object.assign({domRef:ie,className:Z,style:oe},ze,{active:se}))};g.displayName="MotionTreeNode";var v=c.forwardRef(g),y=v;function E(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ie=Y.length,Z=J.length;if(Math.abs(ie-Z)!==1)return{add:!1,key:null};function oe(ge,pe){var De=new Map;ge.forEach(function(Oe){De.set(Oe,!0)});var ce=pe.filter(function(Oe){return!De.has(Oe)});return ce.length===1?ce[0]:null}return ie<Z?{add:!0,key:oe(Y,J)}:{add:!1,key:oe(J,Y)}}function T(Y,J,ie){var Z=Y.findIndex(function(De){var ce=De.data;return ce.key===ie}),oe=Y[Z+1],ge=J.findIndex(function(De){var ce=De.data;return ce.key===ie});if(oe){var pe=J.findIndex(function(De){var ce=De.data;return ce.key===oe.data.key});return J.slice(ge+1,pe)}return J.slice(ge+1)}var w={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},S=function(){},I="RC_TREE_MOTION_".concat(Math.random()),L={key:I},O={key:I,level:0,index:0,pos:"0",node:L},N={parent:null,children:[],pos:O.pos,data:L,isStart:[],isEnd:[]};function R(Y,J,ie,Z){return J===!1||!ie?Y:Y.slice(0,Math.ceil(ie/Z)+1)}function D(Y){var J=Y.data.key,ie=Y.pos;return Object(e.e)(J,ie)}function B(Y){for(var J=String(Y.data.key),ie=Y;ie.parent;)ie=ie.parent,J="".concat(ie.data.key," > ").concat(J);return J}var M=function(J,ie){var Z=J.prefixCls,oe=J.data,ge=J.selectable,pe=J.checkable,De=J.expandedKeys,ce=J.selectedKeys,Oe=J.checkedKeys,se=J.loadedKeys,$=J.loadingKeys,ze=J.halfCheckedKeys,re=J.keyEntities,X=J.disabled,G=J.dragging,Q=J.dragOverNodeKey,ve=J.dropPosition,de=J.motion,Ce=J.height,we=J.itemHeight,le=J.virtual,fe=J.focusable,xe=J.activeItem,We=J.focused,nt=J.tabIndex,$e=J.onKeyDown,Le=J.onFocus,pt=J.onBlur,Qe=J.onActiveChange,gt=J.onListChangeStart,wt=J.onListChangeEnd,Et=Object(l.a)(J,["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"]),_t=c.useRef(null);c.useImperativeHandle(ie,function(){return{scrollTo:function(Ln){_t.current.scrollTo(Ln)}}});var Ht=c.useState(De),Ze=Object(a.a)(Ht,2),ye=Ze[0],ae=Ze[1],yt=c.useState(oe),et=Object(a.a)(yt,2),me=et[0],Gt=et[1],rr=c.useState(oe),ut=Object(a.a)(rr,2),Xt=ut[0],ur=ut[1],Fr=c.useState([]),er=Object(a.a)(Fr,2),nr=er[0],Lt=er[1],at=c.useState(null),Je=Object(a.a)(at,2),qt=Je[0],Sr=Je[1];function yr(){Gt(oe),ur(oe),Lt([]),Sr(null),wt()}c.useEffect(function(){ae(De);var Jr=E(ye,De);if(Jr.key!==null)if(Jr.add){var Ln=me.findIndex(function(rt){var Pt=rt.data.key;return Pt===Jr.key}),Nt=R(T(me,oe,Jr.key),le,Ce,we),Ve=me.slice();Ve.splice(Ln+1,0,N),ur(Ve),Lt(Nt),Sr("show")}else{var _e=oe.findIndex(function(rt){var Pt=rt.data.key;return Pt===Jr.key}),ke=R(T(oe,me,Jr.key),le,Ce,we),Pe=oe.slice();Pe.splice(_e+1,0,N),ur(Pe),Lt(ke),Sr("hide")}else me!==oe&&(Gt(oe),ur(oe))},[De,oe]),c.useEffect(function(){G||yr()},[G]);var fr=de?Xt:oe,yn={expandedKeys:De,selectedKeys:ce,loadedKeys:se,loadingKeys:$,checkedKeys:Oe,halfCheckedKeys:ze,dragOverNodeKey:Q,dropPosition:ve,keyEntities:re};return c.createElement(c.Fragment,null,We&&xe&&c.createElement("span",{style:w,"aria-live":"assertive"},B(xe)),c.createElement("div",{role:"tree"},c.createElement("input",{style:w,disabled:fe===!1||X,tabIndex:fe!==!1?nt:null,onKeyDown:$e,onFocus:Le,onBlur:pt,value:"",onChange:S})),c.createElement(u.a,Object.assign({},Et,{data:fr,itemKey:D,height:Ce,fullHeight:!1,virtual:le,itemHeight:we,prefixCls:"".concat(Z,"-list"),ref:_t}),function(Jr){var Ln=Jr.pos,Nt=Jr.data,Ve=Nt.key,_e=Object(l.a)(Nt,["key"]),ke=Jr.isStart,Pe=Jr.isEnd,rt=Object(e.e)(Ve,Ln);delete _e.children;var Pt=Object(e.f)(rt,yn);return c.createElement(y,Object.assign({},_e,Pt,{active:xe&&Ve===xe.data.key,pos:Ln,data:Jr.data,isStart:ke,isEnd:Pe,motion:de,motionNodes:Ve===I?nr:null,motionType:qt,onMotionStart:gt,onMotionEnd:yr,treeNodeRequiredProps:yn,onMouseMove:function(){Qe(null)}}))}))},U=c.forwardRef(M);U.displayName="NodeList";var F=U,j=d("NvD2"),W=function(Y){Object(m.a)(ie,Y);var J=Object(p.a)(ie);function ie(){var Z;return Object(A.a)(this,ie),Z=J.apply(this,arguments),Z.destroyed=!1,Z.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},Z.listRef=c.createRef(),Z.onNodeDragStart=function(oe,ge){var pe=Z.state,De=pe.expandedKeys,ce=pe.keyEntities,Oe=Z.props.onDragStart,se=ge.props.eventKey;Z.dragNode=ge;var $=Object(s.b)(De,se);Z.setState({dragging:!0,dragNodesKeys:Object(s.g)(se,ce)}),Z.setExpandedKeys($),Oe&&Oe({event:oe,node:Object(e.b)(ge.props)})},Z.onNodeDragEnter=function(oe,ge){var pe=Z.state,De=pe.expandedKeys,ce=pe.keyEntities,Oe=pe.dragNodesKeys,se=Z.props.onDragEnter,$=ge.props,ze=$.pos,re=$.eventKey;if(!Z.dragNode||Oe.indexOf(re)!==-1)return;var X=Object(s.c)(oe,ge);if(Z.dragNode.props.eventKey===re&&X===0){Z.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Z.setState({dragOverNodeKey:re,dropPosition:X}),Z.delayedDragEnterLogic||(Z.delayedDragEnterLogic={}),Object.keys(Z.delayedDragEnterLogic).forEach(function(G){clearTimeout(Z.delayedDragEnterLogic[G])}),Z.delayedDragEnterLogic[ze]=window.setTimeout(function(){if(!Z.state.dragging)return;var G=Object(C.a)(De),Q=ce[re];Q&&(Q.children||[]).length&&(G=Object(s.a)(De,re)),"expandedKeys"in Z.props||Z.setExpandedKeys(G),se&&se({event:oe,node:Object(e.b)(ge.props),expandedKeys:G})},400)},0)},Z.onNodeDragOver=function(oe,ge){var pe=Z.state.dragNodesKeys,De=Z.props.onDragOver,ce=ge.props.eventKey;if(pe.indexOf(ce)!==-1)return;if(Z.dragNode&&ce===Z.state.dragOverNodeKey){var Oe=Object(s.c)(oe,ge);if(Oe===Z.state.dropPosition)return;Z.setState({dropPosition:Oe})}De&&De({event:oe,node:Object(e.b)(ge.props)})},Z.onNodeDragLeave=function(oe,ge){var pe=Z.props.onDragLeave;Z.setState({dragOverNodeKey:""}),pe&&pe({event:oe,node:Object(e.b)(ge.props)})},Z.onNodeDragEnd=function(oe,ge){var pe=Z.props.onDragEnd;Z.setState({dragOverNodeKey:""}),Z.cleanDragState(),pe&&pe({event:oe,node:Object(e.b)(ge.props)}),Z.dragNode=null},Z.onNodeDrop=function(oe,ge){var pe=Z.state,De=pe.dragNodesKeys,ce=De===void 0?[]:De,Oe=pe.dropPosition,se=Z.props.onDrop,$=ge.props,ze=$.eventKey,re=$.pos;if(Z.setState({dragOverNodeKey:""}),Z.cleanDragState(),ce.indexOf(ze)!==-1){Object(r.a)(!1,"Can not drop to dragNode(include it's children node)");return}var X=Object(s.k)(re),G={event:oe,node:Object(e.b)(ge.props),dragNode:Z.dragNode?Object(e.b)(Z.dragNode.props):null,dragNodesKeys:ce.slice(),dropPosition:Oe+Number(X[X.length-1]),dropToGap:!1};Oe!==0&&(G.dropToGap=!0),se&&se(G),Z.dragNode=null},Z.cleanDragState=function(){var oe=Z.state.dragging;oe&&Z.setState({dragging:!1})},Z.onNodeClick=function(oe,ge){var pe=Z.props.onClick;pe&&pe(oe,ge)},Z.onNodeDoubleClick=function(oe,ge){var pe=Z.props.onDoubleClick;pe&&pe(oe,ge)},Z.onNodeSelect=function(oe,ge){var pe=Z.state.selectedKeys,De=Z.state.keyEntities,ce=Z.props,Oe=ce.onSelect,se=ce.multiple,$=ge.selected,ze=ge.key,re=!$;re?se?pe=Object(s.a)(pe,ze):pe=[ze]:pe=Object(s.b)(pe,ze);var X=pe.map(function(G){var Q=De[G];return Q?Q.node:null}).filter(function(G){return G});Z.setUncontrolledState({selectedKeys:pe}),Oe&&Oe(pe,{event:"select",selected:re,node:ge,selectedNodes:X,nativeEvent:oe.nativeEvent})},Z.onNodeCheck=function(oe,ge,pe){var De=Z.state,ce=De.keyEntities,Oe=De.checkedKeys,se=De.halfCheckedKeys,$=Z.props,ze=$.checkStrictly,re=$.onCheck,X=ge.key,G,Q={event:"check",node:ge,checked:pe,nativeEvent:oe.nativeEvent};if(ze){var ve=pe?Object(s.a)(Oe,X):Object(s.b)(Oe,X),de=Object(s.b)(se,X);G={checked:ve,halfChecked:de},Q.checkedNodes=ve.map(function(We){return ce[We]}).filter(function(We){return We}).map(function(We){return We.node}),Z.setUncontrolledState({checkedKeys:ve})}else{var Ce=Object(j.a)([].concat(Object(C.a)(Oe),[X]),!0,ce),we=Ce.checkedKeys,le=Ce.halfCheckedKeys;if(!pe){var fe=new Set(we);fe.delete(X);var xe=Object(j.a)(Array.from(fe),{checked:!1,halfCheckedKeys:le},ce);we=xe.checkedKeys,le=xe.halfCheckedKeys}G=we,Q.checkedNodes=[],Q.checkedNodesPositions=[],Q.halfCheckedKeys=le,we.forEach(function(We){var nt=ce[We];if(!nt)return;var $e=nt.node,Le=nt.pos;Q.checkedNodes.push($e),Q.checkedNodesPositions.push({node:$e,pos:Le})}),Z.setUncontrolledState({checkedKeys:we},!1,{halfCheckedKeys:le})}re&&re(G,Q)},Z.onNodeLoad=function(oe){return new Promise(function(ge){Z.setState(function(pe){var De=pe.loadedKeys,ce=De===void 0?[]:De,Oe=pe.loadingKeys,se=Oe===void 0?[]:Oe,$=Z.props,ze=$.loadData,re=$.onLoad,X=oe.key;if(!ze||ce.indexOf(X)!==-1||se.indexOf(X)!==-1)return{};var G=ze(oe);return G.then(function(){var Q=Z.state,ve=Q.loadedKeys,de=Q.loadingKeys,Ce=Object(s.a)(ve,X),we=Object(s.b)(de,X);re&&re(Ce,{event:"load",node:oe}),Z.setUncontrolledState({loadedKeys:Ce}),Z.setState({loadingKeys:we}),ge()}),{loadingKeys:Object(s.a)(se,X)}})})},Z.onNodeMouseEnter=function(oe,ge){var pe=Z.props.onMouseEnter;pe&&pe({event:oe,node:ge})},Z.onNodeMouseLeave=function(oe,ge){var pe=Z.props.onMouseLeave;pe&&pe({event:oe,node:ge})},Z.onNodeContextMenu=function(oe,ge){var pe=Z.props.onRightClick;pe&&(oe.preventDefault(),pe({event:oe,node:ge}))},Z.onFocus=function(){var oe=Z.props.onFocus;Z.setState({focused:!0}),oe&&oe.apply(void 0,arguments)},Z.onBlur=function(){var oe=Z.props.onBlur;Z.setState({focused:!1}),Z.onActiveChange(null),oe&&oe.apply(void 0,arguments)},Z.getTreeNodeRequiredProps=function(){var oe=Z.state,ge=oe.expandedKeys,pe=oe.selectedKeys,De=oe.loadedKeys,ce=oe.loadingKeys,Oe=oe.checkedKeys,se=oe.halfCheckedKeys,$=oe.dragOverNodeKey,ze=oe.dropPosition,re=oe.keyEntities;return{expandedKeys:ge||[],selectedKeys:pe||[],loadedKeys:De||[],loadingKeys:ce||[],checkedKeys:Oe||[],halfCheckedKeys:se||[],dragOverNodeKey:$,dropPosition:ze,keyEntities:re}},Z.setExpandedKeys=function(oe){var ge=Z.state.treeData,pe=Object(e.d)(ge,oe);Z.setUncontrolledState({expandedKeys:oe,flattenNodes:pe},!0)},Z.onNodeExpand=function(oe,ge){var pe=Z.state.expandedKeys,De=Z.state.listChanging,ce=Z.props,Oe=ce.onExpand,se=ce.loadData,$=ge.key,ze=ge.expanded;if(De)return;var re=pe.indexOf($),X=!ze;if(Object(r.a)(ze&&re!==-1||!ze&&re===-1,"Expand state not sync with index check"),X?pe=Object(s.a)(pe,$):pe=Object(s.b)(pe,$),Z.setExpandedKeys(pe),Oe&&Oe(pe,{node:ge,expanded:X,nativeEvent:oe.nativeEvent}),X&&se){var G=Z.onNodeLoad(ge);G&&G.then(function(){var Q=Object(e.d)(Z.state.treeData,pe);Z.setUncontrolledState({flattenNodes:Q})})}},Z.onListChangeStart=function(){Z.setUncontrolledState({listChanging:!0})},Z.onListChangeEnd=function(){setTimeout(function(){Z.setUncontrolledState({listChanging:!1})})},Z.onActiveChange=function(oe){var ge=Z.state.activeKey,pe=Z.props.onActiveChange;if(ge===oe)return;Z.setState({activeKey:oe}),oe!==null&&Z.scrollTo({key:oe}),pe&&pe(oe)},Z.getActiveItem=function(){var oe=Z.state,ge=oe.activeKey,pe=oe.flattenNodes;return ge===null?null:pe.find(function(De){var ce=De.data.key;return ce===ge})||null},Z.offsetActiveKey=function(oe){var ge=Z.state,pe=ge.flattenNodes,De=ge.activeKey,ce=pe.findIndex(function($){var ze=$.data.key;return ze===De});ce===-1&&oe<0&&(ce=pe.length),ce=(ce+oe+pe.length)%pe.length;var Oe=pe[ce];if(Oe){var se=Oe.data.key;Z.onActiveChange(se)}else Z.onActiveChange(null)},Z.onKeyDown=function(oe){var ge=Z.state,pe=ge.activeKey,De=ge.expandedKeys,ce=ge.checkedKeys,Oe=Z.props,se=Oe.onKeyDown,$=Oe.checkable,ze=Oe.selectable;switch(oe.which){case o.a.UP:{Z.offsetActiveKey(-1),oe.preventDefault();break}case o.a.DOWN:{Z.offsetActiveKey(1),oe.preventDefault();break}}var re=Z.getActiveItem();if(re&&re.data){var X=Z.getTreeNodeRequiredProps(),G=re.data.isLeaf===!1||!!(re.data.children||[]).length,Q=Object(e.b)(Object(x.a)(Object(x.a)({},Object(e.f)(pe,X)),{},{data:re.data,active:!0}));switch(oe.which){case o.a.LEFT:{G&&De.includes(pe)?Z.onNodeExpand({},Q):re.parent&&Z.onActiveChange(re.parent.data.key),oe.preventDefault();break}case o.a.RIGHT:{G&&!De.includes(pe)?Z.onNodeExpand({},Q):re.children&&re.children.length&&Z.onActiveChange(re.children[0].data.key),oe.preventDefault();break}case o.a.ENTER:case o.a.SPACE:{$&&!Q.disabled&&Q.checkable!==!1&&!Q.disableCheckbox?Z.onNodeCheck({},Q,!ce.includes(pe)):!$&&ze&&!Q.disabled&&Q.selectable!==!1&&Z.onNodeSelect({},Q);break}}}se&&se(oe)},Z.setUncontrolledState=function(oe){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Z.destroyed)return;var De=!1,ce=!0,Oe={};Object.keys(oe).forEach(function(se){if(se in Z.props){ce=!1;return}De=!0,Oe[se]=oe[se]}),De&&(!ge||ce)&&Z.setState(Object(x.a)(Object(x.a)({},Oe),pe))},Z.scrollTo=function(oe){Z.listRef.current.scrollTo(oe)},Z}return Object(b.a)(ie,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var oe,ge=this.state,pe=ge.focused,De=ge.flattenNodes,ce=ge.keyEntities,Oe=ge.dragging,se=ge.activeKey,$=this.props,ze=$.prefixCls,re=$.className,X=$.style,G=$.showLine,Q=$.focusable,ve=$.tabIndex,de=ve===void 0?0:ve,Ce=$.selectable,we=$.showIcon,le=$.icon,fe=$.switcherIcon,xe=$.draggable,We=$.checkable,nt=$.checkStrictly,$e=$.disabled,Le=$.motion,pt=$.loadData,Qe=$.filterTreeNode,gt=$.height,wt=$.itemHeight,Et=$.virtual,_t=$.titleRender,Ht=$.onContextMenu,Ze=Object(s.f)(this.props);return c.createElement(t.a.Provider,{value:{prefixCls:ze,selectable:Ce,showIcon:we,icon:le,switcherIcon:fe,draggable:xe,checkable:We,checkStrictly:nt,disabled:$e,keyEntities:ce,loadData:pt,filterTreeNode:Qe,titleRender:_t,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}},c.createElement("div",{className:n()(ze,re,(oe={},Object(_.a)(oe,"".concat(ze,"-show-line"),G),Object(_.a)(oe,"".concat(ze,"-focused"),pe),Object(_.a)(oe,"".concat(ze,"-active-focused"),se!==null),oe))},c.createElement(F,Object.assign({ref:this.listRef,prefixCls:ze,style:X,data:De,disabled:$e,selectable:Ce,checkable:!!We,motion:Le,dragging:Oe,height:gt,itemHeight:wt,virtual:Et,focusable:Q,focused:pe,tabIndex:de,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ht},this.getTreeNodeRequiredProps(),Ze))))}}],[{key:"getDerivedStateFromProps",value:function(oe,ge){var pe=ge.prevProps,De={prevProps:oe};function ce(le){return!pe&&le in oe||pe&&pe[le]!==oe[le]}var Oe;if(ce("treeData")?Oe=oe.treeData:ce("children")&&(Object(r.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Oe=Object(e.c)(oe.children)),Oe){De.treeData=Oe;var se=Object(e.a)(Oe);De.keyEntities=Object(x.a)(Object(_.a)({},I,O),se.keyEntities)}var $=De.keyEntities||ge.keyEntities;if(ce("expandedKeys")||pe&&ce("autoExpandParent"))De.expandedKeys=oe.autoExpandParent||!pe&&oe.defaultExpandParent?Object(s.e)(oe.expandedKeys,$):oe.expandedKeys;else if(!pe&&oe.defaultExpandAll){var ze=Object(x.a)({},$);delete ze[I],De.expandedKeys=Object.keys(ze).map(function(le){return ze[le].key})}else!pe&&oe.defaultExpandedKeys&&(De.expandedKeys=oe.autoExpandParent||oe.defaultExpandParent?Object(s.e)(oe.defaultExpandedKeys,$):oe.defaultExpandedKeys);if(De.expandedKeys||delete De.expandedKeys,Oe||De.expandedKeys){var re=Object(e.d)(Oe||ge.treeData,De.expandedKeys||ge.expandedKeys);De.flattenNodes=re}if(oe.selectable&&(ce("selectedKeys")?De.selectedKeys=Object(s.d)(oe.selectedKeys,oe):!pe&&oe.defaultSelectedKeys&&(De.selectedKeys=Object(s.d)(oe.defaultSelectedKeys,oe))),oe.checkable){var X;if(ce("checkedKeys")?X=Object(s.j)(oe.checkedKeys)||{}:!pe&&oe.defaultCheckedKeys?X=Object(s.j)(oe.defaultCheckedKeys)||{}:Oe&&(X=Object(s.j)(oe.checkedKeys)||{checkedKeys:ge.checkedKeys,halfCheckedKeys:ge.halfCheckedKeys}),X){var G=X,Q=G.checkedKeys,ve=Q===void 0?[]:Q,de=G.halfCheckedKeys,Ce=de===void 0?[]:de;if(!oe.checkStrictly){var we=Object(j.a)(ve,!0,$);ve=we.checkedKeys,Ce=we.halfCheckedKeys}De.checkedKeys=ve,De.halfCheckedKeys=Ce}}return ce("loadedKeys")&&(De.loadedKeys=oe.loadedKeys),De}}]),ie}(c.Component);W.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},W.TreeNode=f.a;var V=W,z=k.b=V},fE02:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("/IIm"),A=d("vZ6x"),b=d("b9oc"),m=d("72pK"),p=d("Kagy"),c=d("IUWy");d("3TkU");var o=p.toolbox.dataZoom,r=x.each,i="\0_ec_\0toolbox-dataZoom_";function n(h,f,g){(this._brushController=new C(g.getZr())).on("brush",x.bind(this._onBrush,this)).mount(),this._isZoomActive}n.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:x.clone(o.title)};var t=n.prototype;t.render=function(h,f,g,v){this.model=h,this.ecModel=f,this.api=g,l(h,f,this,v,g),a(h,f)},t.onclick=function(h,f,g){s[g].call(this)},t.remove=function(h,f){this._brushController.unmount()},t.dispose=function(h,f){this._brushController.dispose()};var s={zoom:function(){var h=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:h})},back:function(){this._dispatchZoomAction(b.pop(this.ecModel))}};t._onBrush=function(h,f){if(!f.isEnd||!h.length)return;var g={},v=this.ecModel;this._brushController.updateCovers([]);var y=new A(e(this.model.option),v,{include:["grid"]});y.matchOutputRanges(h,v,function(w,S,I){if(I.type!=="cartesian2d")return;var L=w.brushType;L==="rect"?(E("x",I,S[0]),E("y",I,S[1])):E({lineX:"x",lineY:"y"}[L],I,S)}),b.push(v,g),this._dispatchZoomAction(g);function E(w,S,I){var L=S.getAxis(w),O=L.model,N=T(w,O,v),R=N.findRepresentativeAxisProxy(O).getMinMaxSpan();(R.minValueSpan!=null||R.maxValueSpan!=null)&&(I=m(0,I.slice(),L.scale.getExtent(),0,R.minValueSpan,R.maxValueSpan)),N&&(g[N.id]={dataZoomId:N.id,startValue:I[0],endValue:I[1]})}function T(w,S,I){var L;return I.eachComponent({mainType:"dataZoom",subType:"select"},function(O){var N=O.getAxisModel(w,S.componentIndex);N&&(L=O)}),L}},t._dispatchZoomAction=function(h){var f=[];r(h,function(g,v){f.push(x.clone(g))}),f.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:f})};function e(h){var f={};return x.each(["xAxisIndex","yAxisIndex"],function(g){f[g]=h[g],f[g]==null&&(f[g]="all"),(f[g]===!1||f[g]==="none")&&(f[g]=[])}),f}function a(h,f){h.setIconStatus("back",b.count(f)>1?"emphasis":"normal")}function l(h,f,g,v,y){var E=g._isZoomActive;v&&v.type==="takeGlobalCursor"&&(E=v.key==="dataZoomSelect"?v.dataZoomSelectActive:!1),g._isZoomActive=E,h.setIconStatus("zoom",E?"emphasis":"normal");var T=new A(e(h.option),f,{include:["grid"]});g._brushController.setPanels(T.makePanelOpts(y,function(w){return w.xAxisDeclared&&!w.yAxisDeclared?"lineX":!w.xAxisDeclared&&w.yAxisDeclared?"lineY":"rect"})).enableBrush(E?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}c.register("dataZoom",n),_.registerPreprocessor(function(h){if(!h)return;var f=h.dataZoom||(h.dataZoom=[]);x.isArray(f)||(h.dataZoom=f=[f]);var g=h.toolbox;if(g&&(x.isArray(g)&&(g=g[0]),g&&g.feature)){var v=g.feature.dataZoom;y("xAxis",v),y("yAxis",v)}function y(T,w){if(!w)return;var S=T+"Index",I=w[S];I!=null&&I!=="all"&&!x.isArray(I)&&(I=I===!1||I==="none"?[]:[I]),E(T,function(L,O){if(I!=null&&I!=="all"&&x.indexOf(I,O)===-1)return;var N={type:"select",$fromToolbox:!0,filterMode:w.filterMode||"filter",id:i+T+O};N[S]=O,f.push(N)})}function E(T,w){var S=h[T];x.isArray(S)||(S=S?[S]:[]),r(S,w)}});var u=n;H.exports=u},fNCr:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("tSko"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},fUL4:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("r+aA"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},fW2E:function(H,k){var d={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function _(x,C,A){return d.hasOwnProperty(C)?A*=x.dpr:A}H.exports=_},"fc+c":function(H,k,d){var _=d("sS/r"),x=_.extend({type:"dataZoom",render:function(C,A,b,m){this.dataZoomModel=C,this.ecModel=A,this.api=b},getTargetCoordInfo:function(){var C=this.dataZoomModel,A=this.ecModel,b={};C.eachTargetAxis(function(p,c){var o=A.getComponent(p.axis,c);if(o){var r=o.getCoordSysModel();r&&m(r,o,b[r.mainType]||(b[r.mainType]=[]),r.componentIndex)}},this);function m(p,c,o,r){for(var i,n=0;n<o.length;n++)if(o[n].model===p){i=o[n];break}i||o.push(i={model:p,axisModels:[],coordIndex:r}),i.axisModels.push(c)}return b}});H.exports=x},fjKi:function(H,k,d){var _=d("ProS");d("Q7if"),d("jndi"),_.registerPreprocessor(function(x){x.markArea=x.markArea||{}})},fls0:function(H,k,d){var _=d("bYtY"),x=d("QBsz"),C=d("oVpE"),A=d("f5HG"),b=d("IwbS"),m=d("OELB"),p=m.round,c=["fromSymbol","toSymbol"];function o(l){return"_"+l+"Type"}function r(l,u,h){var f=u.getItemVisual(h,"color"),g=u.getItemVisual(h,l),v=u.getItemVisual(h,l+"Size");if(!g||g==="none")return;_.isArray(v)||(v=[v,v]);var y=C.createSymbol(g,-v[0]/2,-v[1]/2,v[0],v[1],f);return y.name=l,y}function i(l){var u=new A({name:"line",subPixelOptimize:!0});return n(u.shape,l),u}function n(l,u){l.x1=u[0][0],l.y1=u[0][1],l.x2=u[1][0],l.y2=u[1][1],l.percent=1;var h=u[2];h?(l.cpx1=h[0],l.cpy1=h[1]):(l.cpx1=NaN,l.cpy1=NaN)}function t(){var l=this,u=l.childOfName("fromSymbol"),h=l.childOfName("toSymbol"),f=l.childOfName("label");if(!u&&!h&&f.ignore)return;for(var g=1,v=this.parent;v;)v.scale&&(g/=v.scale[0]),v=v.parent;var y=l.childOfName("line");if(!this.__dirty&&!y.__dirty)return;var E=y.shape.percent,T=y.pointAt(0),w=y.pointAt(E),S=x.sub([],w,T);if(x.normalize(S,S),u){u.attr("position",T);var I=y.tangentAt(0);u.attr("rotation",Math.PI/2-Math.atan2(I[1],I[0])),u.attr("scale",[g*E,g*E])}if(h){h.attr("position",w);var I=y.tangentAt(1);h.attr("rotation",-Math.PI/2-Math.atan2(I[1],I[0])),h.attr("scale",[g*E,g*E])}if(!f.ignore){f.attr("position",w);var L,O,N,R,D=f.__labelDistance,B=D[0]*g,M=D[1]*g,U=E/2,I=y.tangentAt(U),F=[I[1],-I[0]],j=y.pointAt(U);F[1]>0&&(F[0]=-F[0],F[1]=-F[1]);var W=I[0]<0?-1:1;if(f.__position!=="start"&&f.__position!=="end"){var V=-Math.atan2(I[1],I[0]);w[0]<T[0]&&(V=Math.PI+V),f.attr("rotation",V)}var z;switch(f.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":z=-M,N="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":z=M,N="top";break;default:z=0,N="middle"}switch(f.__position){case"end":L=[S[0]*B+w[0],S[1]*M+w[1]],O=S[0]>.8?"left":S[0]<-.8?"right":"center",N=S[1]>.8?"top":S[1]<-.8?"bottom":"middle";break;case"start":L=[-S[0]*B+T[0],-S[1]*M+T[1]],O=S[0]>.8?"right":S[0]<-.8?"left":"center",N=S[1]>.8?"bottom":S[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":L=[B*W+T[0],T[1]+z],O=I[0]<0?"right":"left",R=[-B*W,-z];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":L=[j[0],j[1]+z],O="center",R=[0,-z];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":L=[-B*W+w[0],w[1]+z],O=I[0]>=0?"right":"left",R=[B*W,-z];break}f.attr({style:{textVerticalAlign:f.__verticalAlign||N,textAlign:f.__textAlign||O},position:L,scale:[g,g],origin:R})}}function s(l,u,h){b.Group.call(this),this._createLine(l,u,h)}var e=s.prototype;e.beforeUpdate=t,e._createLine=function(l,u,h){var f=l.hostModel,g=l.getItemLayout(u),v=i(g);v.shape.percent=0,b.initProps(v,{shape:{percent:1}},f,u),this.add(v);var y=new b.Text({name:"label",lineLabelOriginalOpacity:1});this.add(y),_.each(c,function(E){var T=r(E,l,u);this.add(T),this[o(E)]=l.getItemVisual(u,E)},this),this._updateCommonStl(l,u,h)},e.updateData=function(l,u,h){var f=l.hostModel,g=this.childOfName("line"),v=l.getItemLayout(u),y={shape:{}};n(y.shape,v),b.updateProps(g,y,f,u),_.each(c,function(E){var T=l.getItemVisual(u,E),w=o(E);if(this[w]!==T){this.remove(this.childOfName(E));var S=r(E,l,u);this.add(S)}this[w]=T},this),this._updateCommonStl(l,u,h)},e._updateCommonStl=function(l,u,h){var f=l.hostModel,g=this.childOfName("line"),v=h&&h.lineStyle,y=h&&h.hoverLineStyle,E=h&&h.labelModel,T=h&&h.hoverLabelModel;if(!h||l.hasItemOption){var w=l.getItemModel(u);v=w.getModel("lineStyle").getLineStyle(),y=w.getModel("emphasis.lineStyle").getLineStyle(),E=w.getModel("label"),T=w.getModel("emphasis.label")}var S=l.getItemVisual(u,"color"),I=_.retrieve3(l.getItemVisual(u,"opacity"),v.opacity,1);g.useStyle(_.defaults({strokeNoScale:!0,fill:"none",stroke:S,opacity:I},v)),g.hoverStyle=y,_.each(c,function(W){var V=this.childOfName(W);V&&(V.setColor(S),V.setStyle({opacity:I}))},this);var L=E.getShallow("show"),O=T.getShallow("show"),N=this.childOfName("label"),R,D;if((L||O)&&(R=S||"#000",D=f.getFormattedLabel(u,"normal",l.dataType),D==null)){var B=f.getRawValue(u);D=B==null?l.getName(u):isFinite(B)?p(B):B}var M=L?D:null,U=O?_.retrieve2(f.getFormattedLabel(u,"emphasis",l.dataType),D):null,F=N.style;if(M!=null||U!=null){b.setTextStyle(N.style,E,{text:M},{autoColor:R}),N.__textAlign=F.textAlign,N.__verticalAlign=F.textVerticalAlign,N.__position=E.get("position")||"middle";var j=E.get("distance");_.isArray(j)||(j=[j,j]),N.__labelDistance=j}U!=null?N.hoverStyle={text:U,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:N.hoverStyle={text:null},N.ignore=!L&&!O,b.setHoverStyle(this)},e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.updateLayout=function(l,u){this.setLinePoints(l.getItemLayout(u))},e.setLinePoints=function(l){var u=this.childOfName("line");n(u.shape,l),u.dirty()},_.inherits(s,b.Group);var a=s;H.exports=a},fmMI:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=C.each,b=C.filter,m=C.map,p=C.isArray,c=C.indexOf,o=C.isObject,r=C.isString,i=C.createHashMap,n=C.assert,t=C.clone,s=C.merge,e=C.extend,a=C.mixin,l=d("4NO4"),u=d("Qxkt"),h=d("bLfw"),f=d("iXHM"),g=d("5Hur"),v=d("D5nY"),y=v.resetSourceDefaulter,E="\0_ec_inner",T=u.extend({init:function(M,U,F,j){F=F||{},this.option=null,this._theme=new u(F),this._optionManager=j},setOption:function(M,U){n(!(E in M),"please use chart.getOption()"),this._optionManager.setOption(M,U),this.resetOption(null)},resetOption:function(M){var U=!1,F=this._optionManager;if(!M||M==="recreate"){var j=F.mountOption(M==="recreate");!this.option||M==="recreate"?I.call(this,j):(this.restoreData(),this.mergeOption(j)),U=!0}if((M==="timeline"||M==="media")&&this.restoreData(),!M||M==="recreate"||M==="timeline"){var W=F.getTimelineOption(this);W&&(this.mergeOption(W),U=!0)}if(!M||M==="recreate"||M==="media"){var V=F.getMediaOption(this,this._api);V.length&&A(V,function(z){this.mergeOption(z,U=!0)},this)}return U},mergeOption:function(M){var U=this.option,F=this._componentsMap,j=[];y(this),A(M,function(V,z){if(V==null)return;h.hasClass(z)?z&&j.push(z):U[z]=U[z]==null?t(V):s(U[z],V,!0)}),h.topologicalTravel(j,h.getAllClassMainTypes(),W,this);function W(V,z){var Y=l.normalizeToArray(M[V]),J=l.mappingToExists(F.get(V),Y);l.makeIdAndName(J),A(J,function(Z,oe){var ge=Z.option;o(ge)&&(Z.keyInfo.mainType=V,Z.keyInfo.subType=O(V,ge,Z.exist))});var ie=L(F,z);U[V]=[],F.set(V,[]),A(J,function(Z,oe){var ge=Z.exist,pe=Z.option;if(n(o(pe)||ge,"Empty component definition"),!pe)ge.mergeOption({},this),ge.optionUpdated({},!1);else{var De=h.getClass(V,Z.keyInfo.subType,!0);if(ge&&ge.constructor===De)ge.name=Z.keyInfo.name,ge.mergeOption(pe,this),ge.optionUpdated(pe,!1);else{var ce=e({dependentModels:ie,componentIndex:oe},Z.keyInfo);ge=new De(pe,this,this,ce),e(ge,ce),ge.init(pe,this,this,ce),ge.optionUpdated(null,!0)}}F.get(V)[oe]=ge,U[V][oe]=ge.option},this),V==="series"&&N(this,F.get("series"))}this._seriesIndicesMap=i(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var M=t(this.option);return A(M,function(U,F){if(h.hasClass(F)){for(var U=l.normalizeToArray(U),j=U.length-1;j>=0;j--)l.isIdInner(U[j])&&U.splice(j,1);M[F]=U}}),delete M[E],M},getTheme:function(){return this._theme},getComponent:function(M,U){var F=this._componentsMap.get(M);if(F)return F[U||0]},queryComponents:function(M){var U=M.mainType;if(!U)return[];var F=M.index,j=M.id,W=M.name,V=this._componentsMap.get(U);if(!V||!V.length)return[];var z;if(F!=null)p(F)||(F=[F]),z=b(m(F,function(ie){return V[ie]}),function(ie){return!!ie});else if(j!=null){var Y=p(j);z=b(V,function(ie){return Y&&c(j,ie.id)>=0||!Y&&ie.id===j})}else if(W!=null){var J=p(W);z=b(V,function(ie){return J&&c(W,ie.name)>=0||!J&&ie.name===W})}else z=V.slice();return R(z,M)},findComponents:function(M){var U=M.query,F=M.mainType,j=V(U),W=j?this.queryComponents(j):this._componentsMap.get(F);return z(R(W,M));function V(Y){var J=F+"Index",ie=F+"Id",Z=F+"Name";return Y&&(Y[J]!=null||Y[ie]!=null||Y[Z]!=null)?{mainType:F,index:Y[J],id:Y[ie],name:Y[Z]}:null}function z(Y){return M.filter?b(Y,M.filter):Y}},eachComponent:function(M,U,F){var j=this._componentsMap;if(typeof M=="function")F=U,U=M,j.each(function(V,z){A(V,function(Y,J){U.call(F,z,Y,J)})});else if(r(M))A(j.get(M),U,F);else if(o(M)){var W=this.findComponents(M);A(W,U,F)}},getSeriesByName:function(M){var U=this._componentsMap.get("series");return b(U,function(F){return F.name===M})},getSeriesByIndex:function(M){return this._componentsMap.get("series")[M]},getSeriesByType:function(M){var U=this._componentsMap.get("series");return b(U,function(F){return F.subType===M})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(M,U){D(this),A(this._seriesIndices,function(F){var j=this._componentsMap.get("series")[F];M.call(U,j,F)},this)},eachRawSeries:function(M,U){A(this._componentsMap.get("series"),M,U)},eachSeriesByType:function(M,U,F){D(this),A(this._seriesIndices,function(j){var W=this._componentsMap.get("series")[j];W.subType===M&&U.call(F,W,j)},this)},eachRawSeriesByType:function(M,U,F){return A(this.getSeriesByType(M),U,F)},isSeriesFiltered:function(M){return D(this),this._seriesIndicesMap.get(M.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(M,U){D(this);var F=b(this._componentsMap.get("series"),M,U);N(this,F)},restoreData:function(M){var U=this._componentsMap;N(this,U.get("series"));var F=[];U.each(function(j,W){F.push(W)}),h.topologicalTravel(F,h.getAllClassMainTypes(),function(j,W){A(U.get(j),function(V){(j!=="series"||!w(V,M))&&V.restoreData()})})}});function w(M,U){if(U){var F=U.seiresIndex,j=U.seriesId,W=U.seriesName;return F!=null&&M.componentIndex!==F||j!=null&&M.id!==j||W!=null&&M.name!==W}}function S(M,U){var F=M.color&&!M.colorLayer;A(U,function(j,W){if(W==="colorLayer"&&F)return;h.hasClass(W)||(typeof j=="object"?M[W]=M[W]?s(M[W],j,!1):t(j):M[W]==null&&(M[W]=j))})}function I(M){M=M,this.option={},this.option[E]=1,this._componentsMap=i({series:[]}),this._seriesIndices,this._seriesIndicesMap,S(M,this._theme.option),s(M,f,!1),this.mergeOption(M)}function L(M,U){p(U)||(U=U?[U]:[]);var F={};return A(U,function(j){F[j]=(M.get(j)||[]).slice()}),F}function O(M,U,F){var j=U.type?U.type:F?F.subType:h.determineSubType(M,U);return j}function N(M,U){M._seriesIndicesMap=i(M._seriesIndices=m(U,function(F){return F.componentIndex})||[])}function R(M,U){return U.hasOwnProperty("subType")?b(M,function(F){return F.subType===U.subType}):M}function D(M){}a(T,g);var B=T;H.exports=B},fyUT:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("q1tI"),m=d.n(b),p=d("TSYQ"),c=d.n(p),o=d("Ff2n"),r=d("rePB"),i=d("1OyB"),n=d("vuIU"),t=d("Ji7U"),s=d("md7G"),e=d("foSv"),a=d("4IlW");function l(z,Y){var J=Object.keys(z);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(z);Y&&(ie=ie.filter(function(Z){return Object.getOwnPropertyDescriptor(z,Z).enumerable})),J.push.apply(J,ie)}return J}function u(z){for(var Y=1;Y<arguments.length;Y++){var J=arguments[Y]!=null?arguments[Y]:{};Y%2?l(Object(J),!0).forEach(function(ie){Object(r.a)(z,ie,J[ie])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(J)):l(Object(J)).forEach(function(ie){Object.defineProperty(z,ie,Object.getOwnPropertyDescriptor(J,ie))})}return z}function h(z){var Y=f();return function(){var ie=Object(e.a)(z),Z;if(Y){var oe=Object(e.a)(this).constructor;Z=Reflect.construct(ie,arguments,oe)}else Z=ie.apply(this,arguments);return Object(s.a)(this,Z)}}function f(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(z){return!1}}function g(){}function v(z){z.preventDefault()}var y=function(Y){return Y.replace(/[^\w.-]+/g,"")},E=200,T=600,w=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,S=function(Y){return Y!=null},I=function(Y,J){return J===Y||typeof J=="number"&&typeof Y=="number"&&isNaN(J)&&isNaN(Y)},L=function(z){Object(t.a)(J,z);var Y=h(J);function J(ie){var Z;Object(i.a)(this,J),Z=Y.call(this,ie),Z.onKeyDown=function(pe){var De=Z.props,ce=De.onKeyDown,Oe=De.onPressEnter;if(pe.keyCode===a.a.UP){var se=Z.getRatio(pe);Z.up(pe,se,null),Z.stop()}else if(pe.keyCode===a.a.DOWN){var $=Z.getRatio(pe);Z.down(pe,$,null),Z.stop()}else pe.keyCode===a.a.ENTER&&Oe&&Oe(pe);if(Z.recordCursorPosition(),Z.lastKeyCode=pe.keyCode,ce){for(var ze=arguments.length,re=new Array(ze>1?ze-1:0),X=1;X<ze;X++)re[X-1]=arguments[X];ce.apply(void 0,[pe].concat(re))}},Z.onKeyUp=function(pe){var De=Z.props.onKeyUp;if(Z.stop(),Z.recordCursorPosition(),De){for(var ce=arguments.length,Oe=new Array(ce>1?ce-1:0),se=1;se<ce;se++)Oe[se-1]=arguments[se];De.apply(void 0,[pe].concat(Oe))}},Z.onChange=function(pe){var De=Z.props.onChange;Z.state.focused&&(Z.inputting=!0),Z.rawInput=Z.props.parser(Z.getValueFromEvent(pe)),Z.setState({inputValue:Z.rawInput}),De(Z.toNumber(Z.rawInput))},Z.onMouseUp=function(){var pe=Z.props.onMouseUp;Z.recordCursorPosition(),pe&&pe.apply(void 0,arguments)},Z.onFocus=function(){var pe;Z.setState({focused:!0}),(pe=Z.props).onFocus.apply(pe,arguments)},Z.onBlur=function(){var pe=Z.props.onBlur;Z.inputting=!1,Z.setState({focused:!1});var De=Z.getCurrentValidValue(Z.state.inputValue),ce=Z.setValue(De,g);if(pe){var Oe=Z.input.value,se=Z.getInputDisplayValue({focus:!1,value:ce});Z.input.value=se&&Number(se),pe.apply(void 0,arguments),Z.input.value=Oe}},Z.getRatio=function(pe){var De=1;return pe.metaKey||pe.ctrlKey?De=.1:pe.shiftKey&&(De=10),De},Z.getFullNum=function(pe){return isNaN(pe)?pe:/e/i.test(String(pe))?Number(pe).toFixed(18).replace(/\.?0+$/,""):pe},Z.getPrecision=function(pe){if(S(Z.props.precision))return Z.props.precision;var De=String(pe);if(De.indexOf("e-")>=0)return parseInt(De.slice(De.indexOf("e-")+2),10);var ce=0;return De.indexOf(".")>=0&&(ce=De.length-De.indexOf(".")-1),ce},Z.getInputDisplayValue=function(pe){var De=pe||Z.state,ce=De.focused,Oe=De.inputValue,se=De.value,$;ce?$=Oe:$=Z.toPrecisionAsStep(se),$==null&&($="");var ze=Z.formatWrapper($);return S(Z.props.decimalSeparator)&&(ze=ze.toString().replace(".",Z.props.decimalSeparator)),ze},Z.recordCursorPosition=function(){try{Z.cursorStart=Z.input.selectionStart,Z.cursorEnd=Z.input.selectionEnd,Z.currentValue=Z.input.value,Z.cursorBefore=Z.input.value.substring(0,Z.cursorStart),Z.cursorAfter=Z.input.value.substring(Z.cursorEnd)}catch(pe){}},Z.restoreByAfter=function(pe){if(pe===void 0)return!1;var De=Z.input.value,ce=De.lastIndexOf(pe);if(ce===-1)return!1;var Oe=Z.cursorBefore.length;return Z.lastKeyCode===a.a.DELETE&&Z.cursorBefore.charAt(Oe-1)===pe[0]?(Z.fixCaret(Oe,Oe),!0):ce+pe.length===De.length?(Z.fixCaret(ce,ce),!0):!1},Z.partRestoreByAfter=function(pe){return pe===void 0?!1:Array.prototype.some.call(pe,function(De,ce){var Oe=pe.substring(ce);return Z.restoreByAfter(Oe)})},Z.isNotCompleteNumber=function(pe){return isNaN(pe)||pe===""||pe===null||pe&&pe.toString().indexOf(".")===pe.toString().length-1},Z.stop=function(){Z.autoStepTimer&&clearTimeout(Z.autoStepTimer)},Z.down=function(pe,De,ce){Z.pressingUpOrDown=!0,Z.step("down",pe,De,ce)},Z.up=function(pe,De,ce){Z.pressingUpOrDown=!0,Z.step("up",pe,De,ce)},Z.saveInput=function(pe){Z.input=pe};var oe=ie.value;oe===void 0&&(oe=ie.defaultValue),Z.state={focused:ie.autoFocus};var ge=Z.getValidValue(Z.toNumber(oe));return Z.state=u(u({},Z.state),{},{inputValue:Z.toPrecisionAsStep(ge),value:ge}),Z}return Object(n.a)(J,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(Z){var oe=this.props,ge=oe.value,pe=oe.onChange,De=oe.max,ce=oe.min,Oe=this.state.focused;if(Z){if(!I(Z.value,ge)||!I(Z.max,De)||!I(Z.min,ce)){var se=Oe?ge:this.getValidValue(ge),$;this.pressingUpOrDown?$=se:this.inputting?$=this.rawInput:$=this.toPrecisionAsStep(se),this.setState({value:se,inputValue:$})}var ze="value"in this.props?ge:this.state.value;"max"in this.props&&Z.max!==De&&typeof ze=="number"&&ze>De&&pe&&pe(De),"min"in this.props&&Z.min!==ce&&typeof ze=="number"&&ze<ce&&pe&&pe(ce)}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===a.a.BACKSPACE?re=this.cursorStart-1:this.lastKeyCode===a.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 a.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case a.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(X){}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(Z){var oe=Z;return oe===""?oe="":this.isNotCompleteNumber(parseFloat(oe))?oe=this.state.value:oe=this.getValidValue(oe),this.toNumber(oe)}},{key:"getValueFromEvent",value:function(Z){var oe=Z.target.value.trim().replace(/。/g,".");return S(this.props.decimalSeparator)&&(oe=oe.replace(this.props.decimalSeparator,".")),oe}},{key:"getValidValue",value:function(Z){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,pe=parseFloat(Z);return isNaN(pe)?Z:(pe<oe&&(pe=oe),pe>ge&&(pe=ge),pe)}},{key:"setValue",value:function(Z,oe){var ge=this.props.precision,pe=this.isNotCompleteNumber(parseFloat(Z))?null:parseFloat(Z),De=this.state.value,ce=De===void 0?null:De,Oe=this.state.inputValue,se=Oe===void 0?null:Oe,$=typeof pe=="number"?pe.toFixed(ge):"".concat(pe),ze=pe!==ce||$!=="".concat(se);return"value"in this.props?(se=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:se},oe)):this.setState({value:pe,inputValue:this.toPrecisionAsStep(Z)},oe),ze&&this.props.onChange(pe),pe}},{key:"getMaxPrecision",value:function(Z){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ge=this.props,pe=ge.precision,De=ge.step;if(S(pe))return pe;var ce=this.getPrecision(oe),Oe=this.getPrecision(De),se=this.getPrecision(Z);return Z?Math.max(se,ce+Oe):ce+Oe}},{key:"getPrecisionFactor",value:function(Z){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ge=this.getMaxPrecision(Z,oe);return Math.pow(10,ge)}},{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(Z){return this.props.formatter?this.props.formatter(Z):Z}},{key:"toPrecisionAsStep",value:function(Z){if(this.isNotCompleteNumber(Z)||Z==="")return Z;var oe=Math.abs(this.getMaxPrecision(Z));return isNaN(oe)?Z.toString():Number(Z).toFixed(oe)}},{key:"toNumber",value:function(Z){var oe=this.props.precision,ge=this.state.focused,pe=Z&&Z.length>16&&ge;return this.isNotCompleteNumber(Z)||pe?Z:S(oe)?Math.round(Z*Math.pow(10,oe))/Math.pow(10,oe):Number(Z)}},{key:"upStep",value:function(Z,oe){var ge=this.props.step,pe=this.getPrecisionFactor(Z,oe),De=Math.abs(this.getMaxPrecision(Z,oe)),ce=((pe*Z+pe*ge*oe)/pe).toFixed(De);return this.toNumber(ce)}},{key:"downStep",value:function(Z,oe){var ge=this.props.step,pe=this.getPrecisionFactor(Z,oe),De=Math.abs(this.getMaxPrecision(Z,oe)),ce=((pe*Z-pe*ge*oe)/pe).toFixed(De);return this.toNumber(ce)}},{key:"step",value:function(Z,oe){var ge=this,pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,De=arguments.length>3?arguments[3]:void 0;this.stop(),oe&&(oe.persist(),oe.preventDefault());var ce=this.props;if(ce.disabled)return;var Oe=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(Oe))return;var se=this["".concat(Z,"Step")](Oe,pe),$=se>ce.max||se<ce.min;if(se>ce.max?se=ce.max:se<ce.min&&(se=ce.min),this.setValue(se,null),this.setState({focused:!0},function(){ge.pressingUpOrDown=!1}),$)return;this.autoStepTimer=setTimeout(function(){ge[Z](oe,pe,!0)},De?E:T)}},{key:"fixCaret",value:function(Z,oe){if(Z===void 0||oe===void 0||!this.input||!this.input.value)return;try{var ge=this.input.selectionStart,pe=this.input.selectionEnd;(Z!==ge||oe!==pe)&&this.input.setSelectionRange(Z,oe)}catch(De){}}},{key:"render",value:function(){var Z,oe=this.props,ge=oe.prefixCls,pe=oe.disabled,De=oe.readOnly,ce=oe.useTouch,Oe=oe.autoComplete,se=oe.upHandler,$=oe.downHandler,ze=oe.className,re=oe.max,X=oe.min,G=oe.style,Q=oe.title,ve=oe.onMouseEnter,de=oe.onMouseLeave,Ce=oe.onMouseOver,we=oe.onMouseOut,le=oe.required,fe=oe.onClick,xe=oe.tabIndex,We=oe.type,nt=oe.placeholder,$e=oe.id,Le=oe.inputMode,pt=oe.pattern,Qe=oe.step,gt=oe.maxLength,wt=oe.autoFocus,Et=oe.name,_t=oe.onPaste,Ht=oe.onInput,Ze=Object(o.a)(oe,["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"]),ye=this.state,ae=ye.value,yt=ye.focused,et=c()(ge,(Z={},Object(r.a)(Z,ze,!!ze),Object(r.a)(Z,"".concat(ge,"-disabled"),pe),Object(r.a)(Z,"".concat(ge,"-focused"),yt),Z)),me={};Object.keys(Ze).forEach(function(Je){(Je.substr(0,5)==="data-"||Je.substr(0,5)==="aria-"||Je==="role")&&(me[Je]=Ze[Je])});var Gt=!De&&!pe,rr=this.getInputDisplayValue(null),ut=(ae||ae===0)&&(isNaN(ae)||Number(ae)>=re),Xt=(ae||ae===0)&&(isNaN(ae)||Number(ae)<=X),ur=ut||pe||De,Fr=Xt||pe||De,er=c()("".concat(ge,"-handler"),"".concat(ge,"-handler-up"),Object(r.a)({},"".concat(ge,"-handler-up-disabled"),ur)),nr=c()("".concat(ge,"-handler"),"".concat(ge,"-handler-down"),Object(r.a)({},"".concat(ge,"-handler-down-disabled"),Fr)),Lt=ce?{onTouchStart:ur?g:this.up,onTouchEnd:this.stop}:{onMouseDown:ur?g:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},at=ce?{onTouchStart:Fr?g:this.down,onTouchEnd:this.stop}:{onMouseDown:Fr?g:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return m.a.createElement("div",{className:et,style:G,title:Q,onMouseEnter:ve,onMouseLeave:de,onMouseOver:Ce,onMouseOut:we,onFocus:function(){return null},onBlur:function(){return null}},m.a.createElement("div",{className:"".concat(ge,"-handler-wrap")},m.a.createElement("span",Object.assign({unselectable:"on"},Lt,{role:"button","aria-label":"Increase Value","aria-disabled":ur,className:er}),se||m.a.createElement("span",{unselectable:"on",className:"".concat(ge,"-handler-up-inner"),onClick:v})),m.a.createElement("span",Object.assign({unselectable:"on"},at,{role:"button","aria-label":"Decrease Value","aria-disabled":Fr,className:nr}),$||m.a.createElement("span",{unselectable:"on",className:"".concat(ge,"-handler-down-inner"),onClick:v}))),m.a.createElement("div",{className:"".concat(ge,"-input-wrap")},m.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":X,"aria-valuemax":re,"aria-valuenow":ae,required:le,type:We,placeholder:nt,onPaste:_t,onClick:fe,onMouseUp:this.onMouseUp,className:"".concat(ge,"-input"),tabIndex:xe,autoComplete:Oe,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Gt?this.onKeyDown:g,onKeyUp:Gt?this.onKeyUp:g,autoFocus:wt,maxLength:gt,readOnly:De,disabled:pe,max:re,min:X,step:Qe,name:Et,title:Q,id:$e,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(rr),pattern:pt,inputMode:Le,onInput:Ht},me))))}}]),J}(m.a.Component);L.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:w,min:-w,step:1,style:{},onChange:g,onKeyDown:g,onPressEnter:g,onFocus:g,onBlur:g,parser:y,required:!1,autoComplete:"off"};var O=L,N=O,R=d("FH2Y"),D=d.n(R),B=d("HQEm"),M=d.n(B),U=d("H84U"),F=d("3Nzz"),j=function(z,Y){var J={};for(var ie in z)Object.prototype.hasOwnProperty.call(z,ie)&&Y.indexOf(ie)<0&&(J[ie]=z[ie]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,ie=Object.getOwnPropertySymbols(z);Z<ie.length;Z++)Y.indexOf(ie[Z])<0&&Object.prototype.propertyIsEnumerable.call(z,ie[Z])&&(J[ie[Z]]=z[ie[Z]]);return J},W=b.forwardRef(function(z,Y){var J=function(Z){var oe=Z.getPrefixCls,ge=Z.direction,pe=z.className,De=z.size,ce=z.prefixCls,Oe=z.readOnly,se=j(z,["className","size","prefixCls","readOnly"]),$=oe("input-number",ce),ze=b.createElement(D.a,{className:"".concat($,"-handler-up-inner")}),re=b.createElement(M.a,{className:"".concat($,"-handler-down-inner")});return b.createElement(F.b.Consumer,null,function(X){var G,Q=De||X,ve=c()((G={},A()(G,"".concat($,"-lg"),Q==="large"),A()(G,"".concat($,"-sm"),Q==="small"),A()(G,"".concat($,"-rtl"),ge==="rtl"),A()(G,"".concat($,"-readonly"),Oe),G),pe);return b.createElement(N,x()({ref:Y,className:ve,upHandler:ze,downHandler:re,prefixCls:$,readOnly:Oe},se))})};return b.createElement(U.a,null,J)});W.defaultProps={step:1};var V=k.a=W},g0SD:function(H,k,d){var _=d("bYtY"),x=d("9wZj"),C=d("OELB"),A=d("YXkt"),b=d("kj2x"),m=d("iPDy");function p(r,i,n){var t=i.coordinateSystem;r.each(function(s){var e=r.getItemModel(s),a,l=C.parsePercent(e.get("x"),n.getWidth()),u=C.parsePercent(e.get("y"),n.getHeight());if(!isNaN(l)&&!isNaN(u))a=[l,u];else if(i.getMarkerPosition)a=i.getMarkerPosition(r.getValues(r.dimensions,s));else if(t){var h=r.get(t.dimensions[0],s),f=r.get(t.dimensions[1],s);a=t.dataToPoint([h,f])}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u),r.setItemLayout(s,a)})}var c=m.extend({type:"markPoint",updateTransform:function(r,i,n){i.eachSeries(function(t){var s=t.markPointModel;s&&(p(s.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(s))},this)},renderSeries:function(r,i,n,t){var s=r.coordinateSystem,e=r.id,a=r.getData(),l=this.markerGroupMap,u=l.get(e)||l.set(e,new x),h=o(s,r,i);i.setData(h),p(i.getData(),r,t),h.each(function(f){var g=h.getItemModel(f),v=g.getShallow("symbol"),y=g.getShallow("symbolSize"),E=_.isFunction(v),T=_.isFunction(y);if(E||T){var w=i.getRawValue(f),S=i.getDataParams(f);E&&(v=v(w,S)),T&&(y=y(w,S))}h.setItemVisual(f,{symbol:v,symbolSize:y,color:g.get("itemStyle.color")||a.getVisual("color")})}),u.updateData(h),this.group.add(u.group),h.eachItemGraphicEl(function(f){f.traverse(function(g){g.dataModel=i})}),u.__keep=!0,u.group.silent=i.get("silent")||r.get("silent")}});function o(r,i,n){var t;r?t=_.map(r&&r.dimensions,function(a){var l=i.getData().getDimensionInfo(i.getData().mapDimension(a))||{};return _.defaults({name:a},l)}):t=[{name:"value",type:"float"}];var s=new A(t,n),e=_.map(n.get("data"),_.curry(b.dataTransform,i));return r&&(e=_.filter(e,_.curry(b.dataFilter,r))),s.initData(e,null,r?b.dimValueGetter:function(a){return a.value}),s}H.exports=c},g7p0:function(H,k,d){var _=d("bYtY"),x=d("bLfw"),C=d("+TT/"),A=C.getLayoutParams,b=C.sizeCalculable,m=C.mergeLayoutParam,p=x.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(r,i,n,t){var s=A(r);p.superApply(this,"init",arguments),c(r,s)},mergeOption:function(r,i){p.superApply(this,"mergeOption",arguments),c(this.option,r)}});function c(r,i){var n=r.cellSize;_.isArray(n)?n.length===1&&(n[1]=n[0]):n=r.cellSize=[n,n];var t=_.map([0,1],function(s){return b(i,s)&&(n[s]="auto"),n[s]!=null&&n[s]!=="auto"});m(r,i,{type:"box",ignoreSize:t})}var o=p;H.exports=o},g9YV:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("pED+"),A=d.n(C),b=d("+L6B"),m=d("R9oj"),p=d("7Kak"),c=d("sRBo"),o=d("qVdP"),r=d("T2oS"),i=d("DjyN"),n=d("5Dmo")},gIYZ:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _={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"};k.default=_},gKaM:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},gPAo:function(H,k){function d(A){return A}function _(A,b,m,p,c){this._old=A,this._new=b,this._oldKeyGetter=m||d,this._newKeyGetter=p||d,this.context=c}_.prototype={constructor:_,add:function(A){return this._add=A,this},update:function(A){return this._update=A,this},remove:function(A){return this._remove=A,this},execute:function(){var A=this._old,b=this._new,m={},p={},c=[],o=[],r;for(x(A,m,c,"_oldKeyGetter",this),x(b,p,o,"_newKeyGetter",this),r=0;r<A.length;r++){var i=c[r],n=p[i];if(n!=null){var t=n.length;t?(t===1&&(p[i]=null),n=n.shift()):p[i]=null,this._update&&this._update(n,r)}else this._remove&&this._remove(r)}for(var r=0;r<o.length;r++){var i=o[r];if(p.hasOwnProperty(i)){var n=p[i];if(n==null)continue;if(!n.length)this._add&&this._add(n);else for(var s=0,t=n.length;s<t;s++)this._add&&this._add(n[s])}}}};function x(A,b,m,p,c){for(var o=0;o<A.length;o++){var r="_ec_"+c[p](A[o],o),i=b[r];i==null?(m.push(r),b[r]=o):(i.length||(b[r]=i=[i]),i.push(o))}}var C=_;H.exports=C},gRFJ:function(H,k,d){H.exports=[d("rdUC"),d("ynwM"),d("RELg"),d("DlR+"),d("CrYA"),d("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(H){return H<10?"0"+H:H}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(H){return rx_escapable.lastIndex=0,rx_escapable.test(H)?'"'+H.replace(rx_escapable,function(k){var d=meta[k];return typeof d=="string"?d:"\\u"+("0000"+k.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+H+'"'}function str(H,k){var d,_,x,C,A=gap,b,m=k[H];m&&typeof m=="object"&&typeof m.toJSON=="function"&&(m=m.toJSON(H)),typeof rep=="function"&&(m=rep.call(k,H,m));switch(typeof m){case"string":return quote(m);case"number":return isFinite(m)?String(m):"null";case"boolean":case"null":return String(m);case"object":if(!m)return"null";if(gap+=indent,b=[],Object.prototype.toString.apply(m)==="[object Array]"){for(C=m.length,d=0;d<C;d+=1)b[d]=str(d,m)||"null";return x=b.length===0?"[]":gap?`[
`+gap+b.join(`,
`+gap)+`
`+A+"]":"["+b.join(",")+"]",gap=A,x}if(rep&&typeof rep=="object")for(C=rep.length,d=0;d<C;d+=1)typeof rep[d]=="string"&&(_=rep[d],x=str(_,m),x&&b.push(quote(_)+(gap?": ":":")+x));else for(_ in m)Object.prototype.hasOwnProperty.call(m,_)&&(x=str(_,m),x&&b.push(quote(_)+(gap?": ":":")+x));return x=b.length===0?"{}":gap?`{
`+gap+b.join(`,
`+gap)+`
`+A+"}":"{"+b.join(",")+"}",gap=A,x}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(H,k,d){var _;if(gap="",indent="",typeof d=="number")for(_=0;_<d;_+=1)indent+=" ";else typeof d=="string"&&(indent=d);if(rep=k,k&&typeof k!="function"&&(typeof k!="object"||typeof k.length!="number"))throw new Error("JSON.stringify");return str("",{"":H})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(H,k){var d,_,x=H[k];if(x&&typeof x=="object")for(d in x)Object.prototype.hasOwnProperty.call(x,d)&&(_=walk(x,d),_!==void 0?x[d]=_:delete x[d]);return reviver.call(H,k,x)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(H){return"\\u"+("0000"+H.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(H,k,d){var _=d("+TT/"),x=d("bYtY"),C=d("4NO4"),A=C.groupData;function b(I,L,O){I.eachSeriesByType("sankey",function(N){var R=N.get("nodeWidth"),D=N.get("nodeGap"),B=m(N,L);N.layoutInfo=B;var M=B.width,U=B.height,F=N.getGraph(),j=F.nodes,W=F.edges;c(j);var V=x.filter(j,function(ie){return ie.getLayout().value===0}),z=V.length!==0?0:N.get("layoutIterations"),Y=N.get("orient"),J=N.get("nodeAlign");p(j,W,R,D,M,U,z,Y,J)})}function m(I,L){return _.getLayoutRect(I.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function p(I,L,O,N,R,D,B,M,U){o(I,L,O,R,D,M,U),s(I,L,D,R,N,B,M),S(I,M)}function c(I){x.each(I,function(L){var O=T(L.outEdges,E),N=T(L.inEdges,E),R=L.getValue()||0,D=Math.max(O,N,R);L.setLayout({value:D},!0)})}function o(I,L,O,N,R,D,B){for(var M=[],U=[],F=[],j=[],W=0,V=0,z=0;z<L.length;z++)M[z]=1;for(z=0;z<I.length;z++)U[z]=I[z].inEdges.length,U[z]===0&&F.push(I[z]);for(var Y=-1;F.length;){for(var J=0;J<F.length;J++){var ie=F[J],Z=ie.hostGraph.data.getRawDataItem(ie.dataIndex),oe=Z.depth!=null&&Z.depth>=0;oe&&Z.depth>Y&&(Y=Z.depth),ie.setLayout({depth:oe?Z.depth:W},!0),D==="vertical"?ie.setLayout({dy:O},!0):ie.setLayout({dx:O},!0);for(var ge=0;ge<ie.outEdges.length;ge++){var pe=ie.outEdges[ge],De=L.indexOf(pe);M[De]=0;var ce=pe.node2,Oe=I.indexOf(ce);--U[Oe]===0&&j.indexOf(ce)<0&&j.push(ce)}}++W,F=j,j=[]}for(z=0;z<M.length;z++)if(M[z]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var se=Y>W-1?Y:W-1;B&&B!=="left"&&i(I,B,D,se);var V=D==="vertical"?(R-O)/se:(N-O)/se;t(I,V,D)}function r(I){var L=I.hostGraph.data.getRawDataItem(I.dataIndex);return L.depth!=null&&L.depth>=0}function i(I,L,O,N){if(L==="right"){for(var R=[],D=I,B=0;D.length;){for(var M=0;M<D.length;M++){var U=D[M];U.setLayout({skNodeHeight:B},!0);for(var F=0;F<U.inEdges.length;F++){var j=U.inEdges[F];R.indexOf(j.node1)<0&&R.push(j.node1)}}D=R,R=[],++B}x.each(I,function(W){r(W)||W.setLayout({depth:Math.max(0,N-W.getLayout().skNodeHeight)},!0)})}else L==="justify"&&n(I,N)}function n(I,L){x.each(I,function(O){!r(O)&&!O.outEdges.length&&O.setLayout({depth:L},!0)})}function t(I,L,O){x.each(I,function(N){var R=N.getLayout().depth*L;O==="vertical"?N.setLayout({y:R},!0):N.setLayout({x:R},!0)})}function s(I,L,O,N,R,D,B){var M=e(I,B);a(M,L,O,N,R,B),l(M,R,O,N,B);for(var U=1;D>0;D--)U*=.99,u(M,U,B),l(M,R,O,N,B),w(M,U,B),l(M,R,O,N,B)}function e(I,L){var O=[],N=L==="vertical"?"y":"x",R=A(I,function(D){return D.getLayout()[N]});return R.keys.sort(function(D,B){return D-B}),x.each(R.keys,function(D){O.push(R.buckets.get(D))}),O}function a(I,L,O,N,R,D){var B=Infinity;x.each(I,function(M){var U=M.length,F=0;x.each(M,function(W){F+=W.getLayout().value});var j=D==="vertical"?(N-(U-1)*R)/F:(O-(U-1)*R)/F;j<B&&(B=j)}),x.each(I,function(M){x.each(M,function(U,F){var j=U.getLayout().value*B;D==="vertical"?(U.setLayout({x:F},!0),U.setLayout({dx:j},!0)):(U.setLayout({y:F},!0),U.setLayout({dy:j},!0))})}),x.each(L,function(M){var U=+M.getValue()*B;M.setLayout({dy:U},!0)})}function l(I,L,O,N,R){var D=R==="vertical"?"x":"y";x.each(I,function(B){B.sort(function(J,ie){return J.getLayout()[D]-ie.getLayout()[D]});for(var M,U,F,j=0,W=B.length,V=R==="vertical"?"dx":"dy",z=0;z<W;z++)U=B[z],F=j-U.getLayout()[D],F>0&&(M=U.getLayout()[D]+F,R==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0)),j=U.getLayout()[D]+U.getLayout()[V]+L;var Y=R==="vertical"?N:O;if(F=j-L-Y,F>0)for(M=U.getLayout()[D]-F,R==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0),j=M,z=W-2;z>=0;--z)U=B[z],F=U.getLayout()[D]+U.getLayout()[V]+L-j,F>0&&(M=U.getLayout()[D]-F,R==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0)),j=U.getLayout()[D]})}function u(I,L,O){x.each(I.slice().reverse(),function(N){x.each(N,function(R){if(R.outEdges.length){var D=T(R.outEdges,h,O)/T(R.outEdges,E,O);if(isNaN(D)){var B=R.outEdges.length;D=B?T(R.outEdges,f,O)/B:0}if(O==="vertical"){var M=R.getLayout().x+(D-y(R,O))*L;R.setLayout({x:M},!0)}else{var U=R.getLayout().y+(D-y(R,O))*L;R.setLayout({y:U},!0)}}})})}function h(I,L){return y(I.node2,L)*I.getValue()}function f(I,L){return y(I.node2,L)}function g(I,L){return y(I.node1,L)*I.getValue()}function v(I,L){return y(I.node1,L)}function y(I,L){return L==="vertical"?I.getLayout().x+I.getLayout().dx/2:I.getLayout().y+I.getLayout().dy/2}function E(I){return I.getValue()}function T(I,L,O){for(var N=0,R=I.length,D=-1;++D<R;){var B=+L.call(I,I[D],O);isNaN(B)||(N+=B)}return N}function w(I,L,O){x.each(I,function(N){x.each(N,function(R){if(R.inEdges.length){var D=T(R.inEdges,g,O)/T(R.inEdges,E,O);if(isNaN(D)){var B=R.inEdges.length;D=B?T(R.inEdges,v,O)/B:0}if(O==="vertical"){var M=R.getLayout().x+(D-y(R,O))*L;R.setLayout({x:M},!0)}else{var U=R.getLayout().y+(D-y(R,O))*L;R.setLayout({y:U},!0)}}})})}function S(I,L){var O=L==="vertical"?"x":"y";x.each(I,function(N){N.outEdges.sort(function(R,D){return R.node2.getLayout()[O]-D.node2.getLayout()[O]}),N.inEdges.sort(function(R,D){return R.node1.getLayout()[O]-D.node1.getLayout()[O]})}),x.each(I,function(N){var R=0,D=0;x.each(N.outEdges,function(B){B.setLayout({sy:R},!0),R+=B.getLayout().dy}),x.each(N.inEdges,function(B){B.setLayout({ty:D},!0),D+=B.getLayout().dy})})}H.exports=b},"gb/T":function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.mode.ECB=function(){var x=_.lib.BlockCipherMode.extend();return x.Encryptor=x.extend({processBlock:function(A,b){this._cipher.encryptBlock(A,b)}}),x.Decryptor=x.extend({processBlock:function(A,b){this._cipher.decryptBlock(A,b)}}),x}(),_.mode.ECB})},"giR+":function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("QbM5"),A=d.n(C)},gut8:function(H,k){var d={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},_=9;k.ContextCachedBy=d,k.WILL_BE_RESTORED=_},gvm7:function(H,k,d){var _=d("bYtY"),x=d("dqUG");function C(b){this._zr=b.getZr(),this._show=!1,this._hideTimeout}C.prototype={constructor:C,_enterable:!0,update:function(){},show:function(b){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(b,m,p){this.el&&this._zr.remove(this.el);for(var c={},o=b,r="{marker",i="|}",n=o.indexOf(r);n>=0;){var t=o.indexOf(i),s=o.substr(n+r.length,t-n-r.length);s.indexOf("sub")>-1?c["marker"+s]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:m[s],textOffset:[3,0]}:c["marker"+s]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:m[s]},o=o.substr(t+1),n=o.indexOf("{marker")}this.el=new x({style:{rich:c,text:b,textLineHeight:20,textBackgroundColor:p.get("backgroundColor"),textBorderRadius:p.get("borderRadius"),textFill:p.get("textStyle.color"),textPadding:p.get("padding")},z:p.get("z")}),this._zr.add(this.el);var e=this;this.el.on("mouseover",function(){e._enterable&&(clearTimeout(e._hideTimeout),e._show=!0),e._inContent=!0}),this.el.on("mouseout",function(){e._enterable&&(e._show&&e.hideLater(e._hideDelay)),e._inContent=!1})},setEnterable:function(b){this._enterable=b},getSize:function(){var b=this.el.getBoundingRect();return[b.width,b.height]},moveTo:function(b,m){this.el&&this.el.attr("position",[b,m])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(b){this._show&&!(this._inContent&&this._enterable)&&(b?(this._hideDelay=b,this._show=!1,this._hideTimeout=setTimeout(_.bind(this.hide,this),b)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var b=this.getSize();return{width:b[0],height:b[1]}}};var A=C;H.exports=A},gwTy:function(H,k,d){},h54F:function(H,k,d){var _=d("ProS"),x=d("YXkt"),C=d("bYtY"),A=d("4NO4"),b=A.defaultEmphasis,m=d("Qxkt"),p=d("7aKB"),c=p.encodeHTML,o=d("I3/A"),r=d("xKMd"),i=_.extendSeriesModel({type:"series.graph",init:function(t){i.superApply(this,"init",arguments);var s=this;function e(){return s._categoriesData}this.legendVisualProvider=new r(e,e),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){i.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){i.superApply(this,"mergeDefaultAndTheme",arguments),b(t,["edgeLabel"],["show"])},getInitialData:function(t,s){var e=t.edges||t.links||[],a=t.data||t.nodes||[],l=this;if(a&&e)return o(a,e,this,!0,u).data;function u(h,f){h.wrapMethod("getItemModel",function(w){var S=l._categoriesModels,I=w.getShallow("category"),L=S[I];return L&&(L.parentModel=w.parentModel,w.parentModel=L),w});var g=l.getModel("edgeLabel"),v=new m({label:g.option},g.parentModel,s),y=l.getModel("emphasis.edgeLabel"),E=new m({emphasis:{label:y.option}},y.parentModel,s);f.wrapMethod("getItemModel",function(w){return w.customizeGetParent(T),w});function T(w){return w=this.parsePath(w),w&&w[0]==="label"?v:w&&w[0]==="emphasis"&&w[1]==="label"?E:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,s,e){if(e==="edge"){var a=this.getData(),l=this.getDataParams(t,e),u=a.graph.getEdgeByIndex(t),h=a.getName(u.node1.dataIndex),f=a.getName(u.node2.dataIndex),g=[];return h!=null&&g.push(h),f!=null&&g.push(f),g=c(g.join(" > ")),l.value&&(g+=" : "+c(l.value)),g}else return i.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=C.map(this.option.categories||[],function(e){return e.value!=null?e:C.extend({value:0},e)}),s=new x(["value"],this);s.initData(t),this._categoriesData=s,this._categoriesModels=s.mapArray(function(e){return s.getItemModel(e,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return i.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}}}}),n=i;H.exports=n},h7HQ:function(H,k,d){var _=d("y+Vt"),x=d("T6xi"),C=_.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(b,m){x.buildPath(b,m,!0)}});H.exports=C},h8O9:function(H,k,d){var _=d("bYtY"),x=_.map,C=d("zM3Q"),A=d("7hqr"),b=A.isDimensionStacked;function m(p){return{seriesType:p,plan:C(),reset:function(c){var o=c.getData(),r=c.coordinateSystem,i=c.pipelineContext,n=i.large;if(!r)return;var t=x(r.dimensions,function(l){return o.mapDimension(l)}).slice(0,2),s=t.length,e=o.getCalculationInfo("stackResultDimension");b(o,t[0])&&(t[0]=e),b(o,t[1])&&(t[1]=e);function a(l,u){for(var h=l.end-l.start,f=n&&new Float32Array(h*s),g=l.start,v=0,y=[],E=[];g<l.end;g++){var T;if(s===1){var w=u.get(t[0],g);T=!isNaN(w)&&r.dataToPoint(w,null,E)}else{var w=y[0]=u.get(t[0],g),S=y[1]=u.get(t[1],g);T=!isNaN(w)&&!isNaN(S)&&r.dataToPoint(y,null,E)}n?(f[v++]=T?T[0]:NaN,f[v++]=T?T[1]:NaN):u.setItemLayout(g,T&&T.slice()||[NaN,NaN])}n&&u.setLayout("symbolPoints",f)}return s&&{progress:a}}}}H.exports=m},hD7B:function(H,k,d){var _=d("bYtY"),x=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function C(b){_.each(x,function(m){this[m]=_.bind(b[m],b)},this)}var A=C;H.exports=A},hFmY:function(H,k,d){var _=d("ProS"),x={type:"axisAreaSelect",event:"axisAreaSelected"};_.registerAction(x,function(C,A){A.eachComponent({mainType:"parallelAxis",query:C},function(b){b.axis.model.setActiveIntervals(C.intervals)})}),_.registerAction("parallelAxisExpand",function(C,A){A.eachComponent({mainType:"parallel",query:C},function(b){b.setAxisExpand(C)})})},hJvP:function(H,k,d){var _=d("2dDv"),x=d("IDmD");function C(A,b){var m=[];return A.eachComponent("parallel",function(p,c){var o=new _(p,A,b);o.name="parallel_"+c,o.resize(p,b),p.coordinateSystem=o,o.model=p,m.push(o)}),A.eachSeries(function(p){if(p.get("coordinateSystem")==="parallel"){var c=A.queryComponents({mainType:"parallel",index:p.get("parallelIndex"),id:p.get("parallelId")})[0];p.coordinateSystem=c.coordinateSystem}}),m}x.register("parallel",{create:C})},hM6l:function(H,k,d){var _=d("bYtY"),x=_.each,C=_.map,A=d("OELB"),b=A.linearMap,m=A.getPixelPrecision,p=A.round,c=d("4HMb"),o=c.createAxisTicks,r=c.createAxisLabels,i=c.calculateCategoryInterval,n=[0,1],t=function(l,u,h){this.dim=l,this.scale=u,this._extent=h||[0,0],this.inverse=!1,this.onBand=!1};t.prototype={constructor:t,contain:function(l){var u=this._extent,h=Math.min(u[0],u[1]),f=Math.max(u[0],u[1]);return l>=h&&l<=f},containData:function(l){return this.scale.contain(l)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(l){return m(l||this.scale.getExtent(),this._extent)},setExtent:function(l,u){var h=this._extent;h[0]=l,h[1]=u},dataToCoord:function(l,u){var h=this._extent,f=this.scale;return l=f.normalize(l),this.onBand&&f.type==="ordinal"&&(h=h.slice(),s(h,f.count())),b(l,n,h,u)},coordToData:function(l,u){var h=this._extent,f=this.scale;this.onBand&&f.type==="ordinal"&&(h=h.slice(),s(h,f.count()));var g=b(l,h,n,u);return this.scale.scale(g)},pointToData:function(l,u){},getTicksCoords:function(l){l=l||{};var u=l.tickModel||this.getTickModel(),h=o(this,u),f=h.ticks,g=C(f,function(y){return{coord:this.dataToCoord(y),tickValue:y}},this),v=u.get("alignWithLabel");return e(this,g,v,l.clamp),g},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var l=this.model.getModel("minorTick"),u=l.get("splitNumber");u>0&&u<100||(u=5);var h=this.scale.getMinorTicks(u),f=C(h,function(g){return C(g,function(v){return{coord:this.dataToCoord(v),tickValue:v}},this)},this);return f},getViewLabels:function(){return r(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var l=this._extent,u=this.scale.getExtent(),h=u[1]-u[0]+(this.onBand?1:0);h===0&&(h=1);var f=Math.abs(l[1]-l[0]);return Math.abs(f)/h},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return i(this)}};function s(l,u){var h=l[1]-l[0],f=u,g=h/f/2;l[0]+=g,l[1]-=g}function e(l,u,h,f){var g=u.length;if(!l.onBand||h||!g)return;var v=l.getExtent(),y,E;if(g===1)u[0].coord=v[0],y=u[1]={coord:v[0]};else{var T=u[g-1].tickValue-u[0].tickValue,w=(u[g-1].coord-u[0].coord)/T;x(u,function(O){O.coord-=w/2});var S=l.scale.getExtent();E=1+S[1]-u[g-1].tickValue,y={coord:u[g-1].coord+w*E},u.push(y)}var I=v[0]>v[1];L(u[0].coord,v[0])&&(f?u[0].coord=v[0]:u.shift()),f&&L(v[0],u[0].coord)&&u.unshift({coord:v[0]}),L(v[1],y.coord)&&(f?y.coord=v[1]:u.pop()),f&&L(y.coord,v[1])&&u.push({coord:v[1]});function L(O,N){return O=p(O),N=p(N),I?O>N:O<N}}var a=t;H.exports=a},hNWo:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("Qxkt"),A=d("4NO4"),b=A.isNameSpecified,m=d("Kagy"),p=m.legend.selector,c={all:{type:"all",title:x.clone(p.all)},inverse:{type:"inverse",title:x.clone(p.inverse)}},o=_.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(i,n,t){this.mergeDefaultAndTheme(i,t),i.selected=i.selected||{},this._updateSelector(i)},mergeOption:function(i){o.superCall(this,"mergeOption",i),this._updateSelector(i)},_updateSelector:function(i){var n=i.selector;n===!0&&(n=i.selector=["all","inverse"]),x.isArray(n)&&x.each(n,function(t,s){x.isString(t)&&(t={type:t}),n[s]=x.merge(t,c[t.type])})},optionUpdated:function(){this._updateData(this.ecModel);var i=this._data;if(i[0]&&this.get("selectedMode")==="single"){for(var n=!1,t=0;t<i.length;t++){var s=i[t].get("name");if(this.isSelected(s)){this.select(s),n=!0;break}}!n&&this.select(i[0].get("name"))}},_updateData:function(i){var n=[],t=[];i.eachRawSeries(function(a){var l=a.name;t.push(l);var u;if(a.legendVisualProvider){var h=a.legendVisualProvider,f=h.getAllNames();i.isSeriesFiltered(a)||(t=t.concat(f)),f.length?n=n.concat(f):u=!0}else u=!0;u&&b(a)&&n.push(a.name)}),this._availableNames=t;var s=this.get("data")||n,e=x.map(s,function(a){return(typeof a=="string"||typeof a=="number")&&(a={name:a}),new C(a,this,this.ecModel)},this);this._data=e},getData:function(){return this._data},select:function(i){var n=this.option.selected,t=this.get("selectedMode");if(t==="single"){var s=this._data;x.each(s,function(e){n[e.get("name")]=!1})}n[i]=!0},unSelect:function(i){this.get("selectedMode")!=="single"&&(this.option.selected[i]=!1)},toggleSelected:function(i){var n=this.option.selected;n.hasOwnProperty(i)||(n[i]=!0),this[n[i]?"unSelect":"select"](i)},allSelect:function(){var i=this._data,n=this.option.selected;x.each(i,function(t){n[t.get("name",!0)]=!0})},inverseSelect:function(){var i=this._data,n=this.option.selected;x.each(i,function(t){var s=t.get("name",!0);n.hasOwnProperty(s)||(n[s]=!0),n[s]=!n[s]})},isSelected:function(i){var n=this.option.selected;return!(n.hasOwnProperty(i)&&!n[i])&&x.indexOf(this._availableNames,i)>=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),r=o;H.exports=r},hOwI:function(H,k){var d=Math.log(2);function _(C,A,b,m,p,c){var o=m+"-"+p,r=C.length;if(c.hasOwnProperty(o))return c[o];if(A===1){var i=Math.round(Math.log((1<<r)-1&~p)/d);return C[b][i]}for(var n=m|1<<b,t=b+1;m&1<<t;)t++;for(var s=0,e=0,a=0;e<r;e++){var l=1<<e;l&p||(s+=(a%2?-1:1)*C[b][e]*_(C,A-1,t,n,p|l,c),a++)}return c[o]=s,s}function x(C,A){var b=[[C[0],C[1],1,0,0,0,-A[0]*C[0],-A[0]*C[1]],[0,0,0,C[0],C[1],1,-A[1]*C[0],-A[1]*C[1]],[C[2],C[3],1,0,0,0,-A[2]*C[2],-A[2]*C[3]],[0,0,0,C[2],C[3],1,-A[3]*C[2],-A[3]*C[3]],[C[4],C[5],1,0,0,0,-A[4]*C[4],-A[4]*C[5]],[0,0,0,C[4],C[5],1,-A[5]*C[4],-A[5]*C[5]],[C[6],C[7],1,0,0,0,-A[6]*C[6],-A[6]*C[7]],[0,0,0,C[6],C[7],1,-A[7]*C[6],-A[7]*C[7]]],m={},p=_(b,8,0,0,0,m);if(p===0)return;for(var c=[],o=0;o<8;o++)for(var r=0;r<8;r++)c[r]==null&&(c[r]=0),c[r]+=((o+r)%2?-1:1)*_(b,7,o===0?1:0,1<<o,1<<r,m)/p*A[o];return function(i,n,t){var s=n*c[6]+t*c[7]+1;i[0]=(n*c[0]+t*c[1]+c[2])/s,i[1]=(n*c[3]+t*c[4]+c[5])/s}}k.buildTransformer=x},hX1E:function(H,k){var d=Math.PI*2;function _(x){return x%=d,x<0&&(x+=d),x}k.normalizeRadian=_},hXwI:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;function _(b,m){if(!(b instanceof m))throw new TypeError("Cannot call a class as a function")}function x(b,m){for(var p=0;p<m.length;p++){var c=m[p];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(b,c.key,c)}}function C(b,m,p){return m&&x(b.prototype,m),p&&x(b,p),b}var A=function(){function b(){_(this,b)}return C(b,[{key:"decodeRect",value:function(p,c,o,r,i,n,t){if(i.rQwait("COPYRECT",4))return!1;var s=i.rQshift16(),e=i.rQshift16();return n.copyImage(s,e,p,c,o,r),!0}}]),b}();k.default=A},hi0g:function(H,k,d){var _=d("bYtY"),x=_.createHashMap,C=_.each,A=_.isString,b=_.defaults,m=_.extend,p=_.isObject,c=_.clone,o=d("4NO4"),r=o.normalizeToArray,i=d("D5nY"),n=i.guessOrdinal,t=i.BE_ORDINAL,s=d("7G+c"),e=d("L0Ub"),a=e.OTHER_DIMENSIONS,l=d("Vi4m");function u(v,y,E){s.isInstance(y)||(y=s.seriesDataToSource(y)),E=E||{},v=(v||[]).slice();for(var T=(E.dimsDef||[]).slice(),w=x(),S=x(),I=[],L=h(y,v,T,E.dimCount),O=0;O<L;O++){var N=T[O]=m({},p(T[O])?T[O]:{name:T[O]}),R=N.name,D=I[O]=new l;R!=null&&w.get(R)==null&&(D.name=D.displayName=R,w.set(R,O)),N.type!=null&&(D.type=N.type),N.displayName!=null&&(D.displayName=N.displayName)}var B=E.encodeDef;!B&&E.encodeDefaulter&&(B=E.encodeDefaulter(y,L)),B=x(B),B.each(function(J,ie){if(J=r(J).slice(),J.length===1&&!A(J[0])&&J[0]<0){B.set(ie,!1);return}var Z=B.set(ie,[]);C(J,function(oe,ge){A(oe)&&(oe=w.get(oe)),oe!=null&&oe<L&&(Z[ge]=oe,U(I[oe],ie,ge))})});var M=0;C(v,function(J,ie){var Z,J,oe,ge;if(A(J))Z=J,J={};else{Z=J.name;var pe=J.ordinalMeta;J.ordinalMeta=null,J=c(J),J.ordinalMeta=pe,oe=J.dimsDef,ge=J.otherDims,J.name=J.coordDim=J.coordDimIndex=J.dimsDef=J.otherDims=null}var De=B.get(Z);if(De===!1)return;var De=r(De);if(!De.length)for(var ce=0;ce<(oe&&oe.length||1);ce++){for(;M<I.length&&I[M].coordDim!=null;)M++;M<I.length&&De.push(M++)}C(De,function(Oe,se){var $=I[Oe];if(U(b($,J),Z,se),$.name==null&&oe){var ze=oe[se];!p(ze)&&(ze={name:ze}),$.name=$.displayName=ze.name,$.defaultTooltip=ze.defaultTooltip}ge&&b($.otherDims,ge)})});function U(J,ie,Z){a.get(ie)!=null?J.otherDims[ie]=Z:(J.coordDim=ie,J.coordDimIndex=Z,S.set(ie,!0))}var F=E.generateCoord,j=E.generateCoordCount,W=j!=null;j=F?j||1:0;for(var V=F||"value",z=0;z<L;z++){var D=I[z]=I[z]||new l,Y=D.coordDim;Y==null&&(D.coordDim=f(V,S,W),D.coordDimIndex=0,(!F||j<=0)&&(D.isExtraCoord=!0),j--),D.name==null&&(D.name=f(D.coordDim,w)),D.type==null&&(n(y,z,D.name)===t.Must||D.isExtraCoord&&(D.otherDims.itemName!=null||D.otherDims.seriesName!=null))&&(D.type="ordinal")}return I}function h(v,y,E,T){var w=Math.max(v.dimensionsDetectCount||1,y.length,E.length,T||0);return C(y,function(S){var I=S.dimsDef;I&&(w=Math.max(w,I.length))}),w}function f(v,y,E){if(E||y.get(v)!=null){for(var T=0;y.get(v+T)!=null;)T++;v+=T}return y.set(v,!0),v}var g=u;H.exports=g},hkKa:function(H,k,d){"use strict";d.d(k,"a",function(){return b});var _=d("J4zp"),x=d.n(_),C=d("q1tI"),A=d.n(C);function b(){var m=C.useReducer(function(o){return o+1},0),p=x()(m,2),c=p[1];return c}},hw6D:function(H,k,d){var _=d("bYtY");function x(b){b.eachSeriesByType("radar",function(m){var p=m.getData(),c=[],o=m.coordinateSystem;if(!o)return;var r=o.getIndicatorAxes();_.each(r,function(i,n){p.each(p.mapDimension(r[n].dim),function(t,s){c[s]=c[s]||[];var e=o.dataToPoint(t,n);c[s][n]=C(e)?e:A(o)})}),p.each(function(i){var n=_.find(c[i],function(t){return C(t)})||A(o);c[i].push(n.slice()),p.setItemLayout(i,c[i])})})}function C(b){return!isNaN(b[0])&&!isNaN(b[1])}function A(b){return[b.cx,b.cy]}H.exports=x},hwYd:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("Nu4q")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="PictureTwoTone";var c=A.forwardRef(p);k.default=c},hydK:function(H,k){var d="http://www.w3.org/2000/svg";function _(x){return document.createElementNS(d,x)}k.createElement=_},hyiK:function(H,k){function d(_,x,C,A,b,m){if(m>x&&m>A||m<x&&m<A)return 0;if(A===x)return 0;var p=A<x?1:-1,c=(m-x)/(A-x);(c===1||c===0)&&(p=A<x?.5:-.5);var o=c*(C-_)+_;return o===b?Infinity:o>b?p:0}H.exports=d},i38C:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=C.createHashMap,b=C.retrieve,m=C.each;function p(i){this.coordSysName=i,this.coordSysDims=[],this.axisMap=A(),this.categoryAxisMap=A(),this.firstCategoryDimIndex=null}function c(i){var n=i.get("coordinateSystem"),t=new p(n),s=o[n];if(s)return s(i,t,t.axisMap,t.categoryAxisMap),t}var o={cartesian2d:function(i,n,t,s){var e=i.getReferringComponents("xAxis")[0],a=i.getReferringComponents("yAxis")[0];n.coordSysDims=["x","y"],t.set("x",e),t.set("y",a),r(e)&&(s.set("x",e),n.firstCategoryDimIndex=0),r(a)&&(s.set("y",a),n.firstCategoryDimIndex==null&(n.firstCategoryDimIndex=1))},singleAxis:function(i,n,t,s){var e=i.getReferringComponents("singleAxis")[0];n.coordSysDims=["single"],t.set("single",e),r(e)&&(s.set("single",e),n.firstCategoryDimIndex=0)},polar:function(i,n,t,s){var e=i.getReferringComponents("polar")[0],a=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");n.coordSysDims=["radius","angle"],t.set("radius",a),t.set("angle",l),r(a)&&(s.set("radius",a),n.firstCategoryDimIndex=0),r(l)&&(s.set("angle",l),n.firstCategoryDimIndex==null&&(n.firstCategoryDimIndex=1))},geo:function(i,n,t,s){n.coordSysDims=["lng","lat"]},parallel:function(i,n,t,s){var e=i.ecModel,a=e.getComponent("parallel",i.get("parallelIndex")),l=n.coordSysDims=a.dimensions.slice();m(a.parallelAxisIndex,function(u,h){var f=e.getComponent("parallelAxis",u),g=l[h];t.set(g,f),r(f)&&n.firstCategoryDimIndex==null&&(s.set(g,f),n.firstCategoryDimIndex=h)})}};function r(i){return i.get("type")==="category"}k.getCoordSysInfoBySeries=c},i6bk:function(H,k,d){"use strict";d.d(k,"b",function(){return _}),d.d(k,"a",function(){return x});function _(C){return C!=null&&C===C.window}function x(C,A){if(typeof window=="undefined")return 0;var b=A?"scrollTop":"scrollLeft",m=0;return _(C)?m=C[A?"pageYOffset":"pageXOffset"]:C instanceof Document?m=C.documentElement[b]:C&&(m=C[b]),C&&!_(C)&&typeof m!="number"&&(m=(C.ownerDocument||C).documentElement[b]),m}},i8CU:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("Fm1+"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},iLNv:function(H,k){var d="\0__throttleOriginMethod",_="\0__throttleRate",x="\0__throttleType";function C(m,p,c){var o,r=0,i=0,n=null,t,s,e,a;p=p||0;function l(){i=new Date().getTime(),n=null,m.apply(s,e||[])}var u=function(){o=new Date().getTime(),s=this,e=arguments;var h=a||p,f=a||c;a=null,t=o-(f?r:i)-h,clearTimeout(n),f?n=setTimeout(l,h):t>=0?l():n=setTimeout(l,-t),r=o};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.debounceNextCall=function(h){a=h},u}function A(m,p,c,o){var r=m[p];if(!r)return;var i=r[d]||r,n=r[x],t=r[_];if(t!==c||n!==o){if(c==null||!o)return m[p]=i;r=m[p]=C(i,c,o==="debounce"),r[d]=i,r[x]=o,r[_]=c}return r}function b(m,p){var c=m[p];c&&c[d]&&(m[p]=c[d])}k.throttle=C,k.createOrUpdate=A,k.clear=b},iPDy:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=_.extendComponentView({type:"marker",init:function(){this.markerGroupMap=x.createHashMap()},render:function(A,b,m){var p=this.markerGroupMap;p.each(function(o){o.__keep=!1});var c=this.type+"Model";b.eachSeries(function(o){var r=o[c];r&&this.renderSeries(o,r,b,m)},this),p.each(function(o){!o.__keep&&this.group.remove(o.group)},this)},renderSeries:function(){}});H.exports=C},iQDF:function(H,k,d){"use strict";var _=d("ZTW2"),x=d.n(_),C=d("+BJd"),A=d("+L6B")},iRjW:function(H,k,d){var _=d("bYtY"),x=d("Yl7c"),C=x.parseClassType,A=0;function b(c){return[c||"",A++,Math.random().toFixed(5)].join("_")}function m(c){var o={};return c.registerSubTypeDefaulter=function(r,i){r=C(r),o[r.main]=i},c.determineSubType=function(r,i){var n=i.type;if(!n){var t=C(r).main;c.hasSubTypes(r)&&o[t]&&(n=o[t](i))}return n},c}function p(c,o){c.topologicalTravel=function(t,s,e,a){if(!t.length)return;var l=r(s),u=l.graph,h=l.noEntryList,f={};for(_.each(t,function(w){f[w]=!0});h.length;){var g=h.pop(),v=u[g],y=!!f[g];y&&(e.call(a,g,v.originalDeps.slice()),delete f[g]),_.each(v.successor,y?T:E)}_.each(f,function(){throw new Error("Circle dependency may exists")});function E(w){u[w].entryCount--,u[w].entryCount===0&&h.push(w)}function T(w){f[w]=!0,E(w)}};function r(t){var s={},e=[];return _.each(t,function(a){var l=i(s,a),u=l.originalDeps=o(a),h=n(u,t);l.entryCount=h.length,l.entryCount===0&&e.push(a),_.each(h,function(f){_.indexOf(l.predecessor,f)<0&&l.predecessor.push(f);var g=i(s,f);_.indexOf(g.successor,f)<0&&g.successor.push(a)})}),{graph:s,noEntryList:e}}function i(t,s){return t[s]||(t[s]={predecessor:[],successor:[]}),t[s]}function n(t,s){var e=[];return _.each(t,function(a){_.indexOf(s,a)>=0&&e.push(a)}),e}}k.getUID=b,k.enableSubTypeDefaulter=m,k.enableTopologicalTravel=p},iUHT:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;function _(v,y){if(!(v instanceof y))throw new TypeError("Cannot call a class as a function")}function x(v,y){for(var E=0;E<y.length;E++){var T=y[E];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(v,T.key,T)}}function C(v,y,E){return y&&x(v.prototype,y),E&&x(v,E),v}var A=[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],b=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],m=0,p,c,o,r,i,n;p=1<<16,c=1<<24,o=p|c,r=1<<2,i=1<<10,n=r|i;var t=[o|i,m|m,p|m,o|n,o|r,p|n,m|r,p|m,m|i,o|i,o|n,m|i,c|n,o|r,c|m,m|r,m|n,c|i,c|i,p|i,p|i,o|m,o|m,c|n,p|r,c|r,c|r,p|r,m|m,m|n,p|n,c|m,p|m,o|n,m|r,o|m,o|i,c|m,c|m,m|i,o|r,p|m,p|i,c|r,m|i,m|r,c|n,p|n,o|n,p|r,o|m,c|n,c|r,m|n,p|n,o|i,m|n,c|i,c|i,m|m,p|r,p|i,m|m,o|r];p=1<<20,c=1<<31,o=p|c,r=1<<5,i=1<<15,n=r|i;var s=[o|n,c|i,m|i,p|n,p|m,m|r,o|r,c|n,c|r,o|n,o|i,c|m,c|i,p|m,m|r,o|r,p|i,p|r,c|n,m|m,c|m,m|i,p|n,o|m,p|r,c|r,m|m,p|i,m|n,o|i,o|m,m|n,m|m,p|n,o|r,p|m,c|n,o|m,o|i,m|i,o|m,c|i,m|r,o|n,p|n,m|r,m|i,c|m,m|n,o|i,p|m,c|r,p|r,c|n,c|r,p|r,p|i,m|m,c|i,m|n,c|m,o|r,o|n,p|i];p=1<<17,c=1<<27,o=p|c,r=1<<3,i=1<<9,n=r|i;var e=[m|n,o|i,m|m,o|r,c|i,m|m,p|n,c|i,p|r,c|r,c|r,p|m,o|n,p|r,o|m,m|n,c|m,m|r,o|i,m|i,p|i,o|m,o|r,p|n,c|n,p|i,p|m,c|n,m|r,o|n,m|i,c|m,o|i,c|m,p|r,m|n,p|m,o|i,c|i,m|m,m|i,p|r,o|n,c|i,c|r,m|i,m|m,o|r,c|n,p|m,c|m,o|n,m|r,p|n,p|i,c|r,o|m,c|n,m|n,o|m,p|n,m|r,o|r,p|i];p=1<<13,c=1<<23,o=p|c,r=1<<0,i=1<<7,n=r|i;var a=[o|r,p|n,p|n,m|i,o|i,c|n,c|r,p|r,m|m,o|m,o|m,o|n,m|n,m|m,c|i,c|r,m|r,p|m,c|m,o|r,m|i,c|m,p|r,p|i,c|n,m|r,p|i,c|i,p|m,o|i,o|n,m|n,c|i,c|r,o|m,o|n,m|n,m|m,m|m,o|m,p|i,c|i,c|n,m|r,o|r,p|n,p|n,m|i,o|n,m|n,m|r,p|m,c|r,p|r,o|i,c|n,p|r,p|i,c|m,o|r,m|i,c|m,p|m,o|i];p=1<<25,c=1<<30,o=p|c,r=1<<8,i=1<<19,n=r|i;var l=[m|r,p|n,p|i,o|r,m|i,m|r,c|m,p|i,c|n,m|i,p|r,c|n,o|r,o|i,m|n,c|m,p|m,c|i,c|i,m|m,c|r,o|n,o|n,p|r,o|i,c|r,m|m,o|m,p|n,p|m,o|m,m|n,m|i,o|r,m|r,p|m,c|m,p|i,o|r,c|n,p|r,c|m,o|i,p|n,c|n,m|r,p|m,o|i,o|n,m|n,o|m,o|n,p|i,m|m,c|i,o|m,m|n,p|r,c|r,m|i,m|m,c|i,p|n,c|r];p=1<<22,c=1<<29,o=p|c,r=1<<4,i=1<<14,n=r|i;var u=[c|r,o|m,m|i,o|n,o|m,m|r,o|n,p|m,c|i,p|n,p|m,c|r,p|r,c|i,c|m,m|n,m|m,p|r,c|n,m|i,p|i,c|n,m|r,o|r,o|r,m|m,p|n,o|i,m|n,p|i,o|i,c|m,c|i,m|r,o|r,p|i,o|n,p|m,m|n,c|r,p|m,c|i,c|m,m|n,c|r,o|n,p|i,o|m,p|n,o|i,m|m,o|r,m|r,m|i,o|m,p|n,m|i,p|r,c|n,m|m,o|i,c|m,p|r,c|n];p=1<<21,c=1<<26,o=p|c,r=1<<1,i=1<<11,n=r|i;var h=[p|m,o|r,c|n,m|m,m|i,c|n,p|n,o|i,o|n,p|m,m|m,c|r,m|r,c|m,o|r,m|n,c|i,p|n,p|r,c|i,c|r,o|m,o|i,p|r,o|m,m|i,m|n,o|n,p|i,m|r,c|m,p|i,c|m,p|i,p|m,c|n,c|n,o|r,o|r,m|r,p|r,c|m,c|i,p|m,o|i,m|n,p|n,o|i,m|n,c|r,o|n,o|m,p|i,m|m,m|r,o|n,m|m,p|n,o|m,m|i,c|r,c|i,m|i,p|r];p=1<<18,c=1<<28,o=p|c,r=1<<6,i=1<<12,n=r|i;var f=[c|n,m|i,p|m,o|n,c|m,c|n,m|r,c|m,p|r,o|m,o|n,p|i,o|i,p|n,m|i,m|r,o|m,c|r,c|i,m|n,p|i,p|r,o|r,o|i,m|n,m|m,m|m,o|r,c|r,c|i,p|n,p|m,p|n,p|m,o|i,m|i,m|r,o|r,m|i,p|n,c|i,m|r,c|r,o|m,o|r,c|m,p|m,c|n,m|m,o|n,p|r,c|r,o|m,c|i,c|n,m|m,o|n,p|i,p|i,m|n,m|n,p|r,c|m,o|i],g=function(){function v(y){_(this,v),this.keys=[];for(var E=[],T=[],w=[],S=0,I=56;S<56;++S,I-=8){I+=I<-5?65:I<-3?31:I<-1?63:I===27?35:0;var L=I&7;E[S]=(y[I>>>3]&1<<L)!==0?1:0}for(var O=0;O<16;++O){var N=O<<1,R=N+1;w[N]=w[R]=0;for(var D=28;D<59;D+=28)for(var B=D-28;B<D;++B){var M=B+b[O];T[B]=M<D?E[M]:E[M-28]}for(var U=0;U<24;++U)T[A[U]]!==0&&(w[N]|=1<<23-U),T[A[U+24]]!==0&&(w[R]|=1<<23-U)}for(var F=0,j=0,W=0;F<16;++F){var V=w[j++],z=w[j++];this.keys[W]=(V&16515072)<<6,this.keys[W]|=(V&4032)<<10,this.keys[W]|=(z&16515072)>>>10,this.keys[W]|=(z&4032)>>>6,++W,this.keys[W]=(V&258048)<<12,this.keys[W]|=(V&63)<<16,this.keys[W]|=(z&258048)>>>4,this.keys[W]|=z&63,++W}}return C(v,[{key:"enc8",value:function(E){var T=E.slice(),w=0,S,I,L;S=T[w++]<<24|T[w++]<<16|T[w++]<<8|T[w++],I=T[w++]<<24|T[w++]<<16|T[w++]<<8|T[w++],L=(S>>>4^I)&252645135,I^=L,S^=L<<4,L=(S>>>16^I)&65535,I^=L,S^=L<<16,L=(I>>>2^S)&858993459,S^=L,I^=L<<2,L=(I>>>8^S)&16711935,S^=L,I^=L<<8,I=I<<1|I>>>31&1,L=(S^I)&2863311530,S^=L,I^=L,S=S<<1|S>>>31&1;for(var O=0,N=0;O<8;++O){L=I<<28|I>>>4,L^=this.keys[N++];var R=h[L&63];R|=l[L>>>8&63],R|=e[L>>>16&63],R|=t[L>>>24&63],L=I^this.keys[N++],R|=f[L&63],R|=u[L>>>8&63],R|=a[L>>>16&63],R|=s[L>>>24&63],S^=R,L=S<<28|S>>>4,L^=this.keys[N++],R=h[L&63],R|=l[L>>>8&63],R|=e[L>>>16&63],R|=t[L>>>24&63],L=S^this.keys[N++],R|=f[L&63],R|=u[L>>>8&63],R|=a[L>>>16&63],R|=s[L>>>24&63],I^=R}for(I=I<<31|I>>>1,L=(S^I)&2863311530,S^=L,I^=L,S=S<<31|S>>>1,L=(S>>>8^I)&16711935,I^=L,S^=L<<8,L=(S>>>2^I)&858993459,I^=L,S^=L<<2,L=(I>>>16^S)&65535,S^=L,I^=L<<16,L=(I>>>4^S)&252645135,S^=L,I^=L<<4,L=[I,S],w=0;w<8;w++)T[w]=(L[w>>>2]>>>8*(3-w%4))%256,T[w]<0&&(T[w]+=256);return T}},{key:"encrypt",value:function(E){return this.enc8(E.slice(0,8)).concat(this.enc8(E.slice(8,16)))}}]),v}();k.default=g},iXHM:function(H,k){var d="";typeof navigator!="undefined"&&(d=navigator.platform||"");var _={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:d.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};H.exports=_},iXp4:function(H,k,d){var _=d("ItGF"),x=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function C(A){return _.browser.ie&&_.browser.version>=11?function(){var b=this.__clipPaths,m=this.style,p;if(b)for(var c=0;c<b.length;c++){var o=b[c],r=o&&o.shape,i=o&&o.type;if(r&&(i==="sector"&&r.startAngle===r.endAngle||i==="rect"&&(!r.width||!r.height))){for(var n=0;n<x.length;n++)x[n][2]=m[x[n][0]],m[x[n][0]]=x[n][1];p=!0;break}}if(A.apply(this,arguments),p)for(var n=0;n<x.length;n++)m[x[n][0]]=x[n][2]}:A}H.exports=C},iYpf:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("ZLWo")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="FolderOpenOutlined";var c=A.forwardRef(p);k.default=c},ieMj:function(H,k,d){var _=d("OELB"),x=d("7aKB"),C=d("4NgU"),A=d("lE7J"),b=_.round,m=C.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(c,o){var r=this._extent;isNaN(c)||(r[0]=parseFloat(c)),isNaN(o)||(r[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]),m.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=A.getIntervalPrecision(c)},getTicks:function(c){var o=this._interval,r=this._extent,i=this._niceExtent,n=this._intervalPrecision,t=[];if(!o)return t;var s=1e4;r[0]<i[0]&&(c?t.push(b(i[0]-o,n)):t.push(r[0]));for(var e=i[0];e<=i[1]&&!(t.push(e),e=b(e+o,n),e===t[t.length-1]);)if(t.length>s)return[];var a=t.length?t[t.length-1]:i[1];return r[1]>a&&(c?t.push(b(a+o,n)):t.push(r[1])),t},getMinorTicks:function(c){for(var o=this.getTicks(!0),r=[],i=this.getExtent(),n=1;n<o.length;n++){for(var t=o[n],s=o[n-1],e=0,a=[],l=t-s,u=l/c;e<c-1;){var h=_.round(s+(e+1)*u);h>i[0]&&h<i[1]&&a.push(h),e++}r.push(a)}return r},getLabel:function(c,o){if(c==null)return"";var r=o&&o.precision;return r==null?r=_.getPrecisionSafe(c)||0:r==="auto"&&(r=this._intervalPrecision),c=b(c,r,!0),x.addCommas(c)},niceTicks:function(c,o,r){c=c||5;var i=this._extent,n=i[1]-i[0];if(!isFinite(n))return;n<0&&(n=-n,i.reverse());var t=A.intervalScaleNiceTicks(i,c,o,r);this._intervalPrecision=t.intervalPrecision,this._interval=t.interval,this._niceExtent=t.niceTickExtent},niceExtent:function(c){var o=this._extent;if(o[0]===o[1])if(o[0]!==0){var r=o[0];c.fixMax||(o[1]+=r/2),o[0]-=r/2}else o[1]=1;var i=o[1]-o[0];isFinite(i)||(o[0]=0,o[1]=1),this.niceTicks(c.splitNumber,c.minInterval,c.maxInterval);var n=this._interval;c.fixMin||(o[0]=b(Math.floor(o[0]/n)*n)),c.fixMax||(o[1]=b(Math.ceil(o[1]/n)*n))}});m.create=function(){return new m};var p=m;H.exports=p},j5sG:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.createSensor=void 0;var _=x(d("NohK"));function x(A){return A&&A.__esModule?A:{default:A}}var C=function(b){var m=void 0,p=[],c=(0,_.default)(function(){p.forEach(function(t){t(b)})}),o=function(){var s=new ResizeObserver(c);return s.observe(b),c(),s},r=function(s){m||(m=o()),p.indexOf(s)===-1&&p.push(s)},i=function(){m.disconnect(),p=[],m=void 0},n=function(s){var e=p.indexOf(s);e!==-1&&p.splice(e,1),p.length===0&&m&&i()};return{element:b,bind:r,destroy:i,unbind:n}};k.createSensor=C},jCoz:function(H,k,d){var _=d("bYtY"),x=d("4NgU"),C=d("OELB"),A=d("ieMj"),b=x.prototype,m=A.prototype,p=C.getPrecisionSafe,c=C.round,o=Math.floor,r=Math.ceil,i=Math.pow,n=Math.log,t=x.extend({type:"log",base:10,$constructor:function(){x.apply(this,arguments),this._originalScale=new A},getTicks:function(a){var l=this._originalScale,u=this._extent,h=l.getExtent();return _.map(m.getTicks.call(this,a),function(f){var g=C.round(i(this.base,f));return g=f===u[0]&&l.__fixMin?s(g,h[0]):g,g=f===u[1]&&l.__fixMax?s(g,h[1]):g,g},this)},getMinorTicks:m.getMinorTicks,getLabel:m.getLabel,scale:function(a){return a=b.scale.call(this,a),i(this.base,a)},setExtent:function(a,l){var u=this.base;a=n(a)/n(u),l=n(l)/n(u),m.setExtent.call(this,a,l)},getExtent:function(){var a=this.base,l=b.getExtent.call(this);l[0]=i(a,l[0]),l[1]=i(a,l[1]);var u=this._originalScale,h=u.getExtent();return u.__fixMin&&(l[0]=s(l[0],h[0])),u.__fixMax&&(l[1]=s(l[1],h[1])),l},unionExtent:function(a){this._originalScale.unionExtent(a);var l=this.base;a[0]=n(a[0])/n(l),a[1]=n(a[1])/n(l),b.unionExtent.call(this,a)},unionExtentFromData:function(a,l){this.unionExtent(a.getApproximateExtent(l))},niceTicks:function(a){a=a||10;var l=this._extent,u=l[1]-l[0];if(u===Infinity||u<=0)return;var h=C.quantity(u),f=a/u*h;for(f<=.5&&(h*=10);!isNaN(h)&&Math.abs(h)<1&&Math.abs(h)>0;)h*=10;var g=[C.round(r(l[0]/h)*h),C.round(o(l[1]/h)*h)];this._interval=h,this._niceExtent=g},niceExtent:function(a){m.niceExtent.call(this,a);var l=this._originalScale;l.__fixMin=a.fixMin,l.__fixMax=a.fixMax}});_.each(["contain","normalize"],function(a){t.prototype[a]=function(l){return l=n(l)/n(this.base),b[a].call(this,l)}}),t.create=function(){return new t};function s(a,l){return c(a,p(l))}var e=t;H.exports=e},jN4g:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="CloseCircleFilled";var p=k.a=x.forwardRef(m)},jO45:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="CheckCircleFilled";var p=k.a=x.forwardRef(m)},jO9C:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.pad.Iso97971={pad:function(C,A){C.concat(_.lib.WordArray.create([2147483648],1)),_.pad.ZeroPadding.pad(C,A)},unpad:function(C){_.pad.ZeroPadding.unpad(C),C.sigBytes--}},_.pad.Iso97971})},jTL6:function(H,k,d){var _=d("y+Vt"),x=_.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(A,b){var m=b.cx,p=b.cy,c=Math.max(b.r,0),o=b.startAngle,r=b.endAngle,i=b.clockwise,n=Math.cos(o),t=Math.sin(o);A.moveTo(n*c+m,t*c+p),A.arc(m,p,c,o,r,!i)}});H.exports=x},je13:function(H,k,d){var _=d("5nXd"),x=d("gRFJ"),C=[d("uQRt")];H.exports=_.createStore(x,C)},jett:function(H,k,d){var _=d("ProS");d("VSLf"),d("oBaM"),d("FGaS");var x=d("mOdp"),C=d("f5Yq"),A=d("hw6D"),b=d("0/Rx"),m=d("eJH7");_.registerVisual(x("radar")),_.registerVisual(C("radar","circle")),_.registerLayout(A),_.registerProcessor(b("radar")),_.registerPreprocessor(m)},jhfD:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="ArrowLeftOutlined";var p=k.a=x.forwardRef(m)},jkPA:function(H,k,d){var _=d("bYtY"),x=_.createHashMap,C=_.isObject,A=_.map;function b(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this._map}b.createByAxisModel=function(r){var i=r.option,n=i.data,t=n&&A(n,c);return new b({categories:t,needCollect:!t,deduplication:i.dedplication!==!1})};var m=b.prototype;m.getOrdinal=function(r){return p(this).get(r)},m.parseAndCollect=function(r){var i,n=this._needCollect;if(typeof r!="string"&&!n)return r;if(n&&!this._deduplication)return i=this.categories.length,this.categories[i]=r,i;var t=p(this);return i=t.get(r),i==null&&(n?(i=this.categories.length,this.categories[i]=r,t.set(r,i)):i=NaN),i};function p(r){return r._map||(r._map=x(r.categories))}function c(r){return C(r)&&r.value!=null?r.value:r+""}var o=b;H.exports=o},jndi:function(H,k,d){var _=d("bYtY"),x=d("Qe9p"),C=d("YXkt"),A=d("OELB"),b=d("IwbS"),m=d("kj2x"),p=d("iPDy"),c=function(e,a,l,u){var h=m.dataTransform(e,u[0]),f=m.dataTransform(e,u[1]),g=_.retrieve,v=h.coord,y=f.coord;v[0]=g(v[0],-Infinity),v[1]=g(v[1],-Infinity),y[0]=g(y[0],Infinity),y[1]=g(y[1],Infinity);var E=_.mergeAll([{},h,f]);return E.coord=[h.coord,f.coord],E.x0=h.x,E.y0=h.y,E.x1=f.x,E.y1=f.y,E};function o(e){return!isNaN(e)&&!isFinite(e)}function r(e,a,l,u){var h=1-e;return o(a[h])&&o(l[h])}function i(e,a){var l=a.coord[0],u=a.coord[1];return e.type==="cartesian2d"&&(l&&u&&(r(1,l,u,e)||r(0,l,u,e)))?!0:m.dataFilter(e,{coord:l,x:a.x0,y:a.y0})||m.dataFilter(e,{coord:u,x:a.x1,y:a.y1})}function n(e,a,l,u,h){var f=u.coordinateSystem,g=e.getItemModel(a),v,y=A.parsePercent(g.get(l[0]),h.getWidth()),E=A.parsePercent(g.get(l[1]),h.getHeight());if(!isNaN(y)&&!isNaN(E))v=[y,E];else{if(u.getMarkerPosition)v=u.getMarkerPosition(e.getValues(l,a));else{var T=e.get(l[0],a),w=e.get(l[1],a),S=[T,w];f.clampData&&f.clampData(S,S),v=f.dataToPoint(S,!0)}if(f.type==="cartesian2d"){var I=f.getAxis("x"),L=f.getAxis("y"),T=e.get(l[0],a),w=e.get(l[1],a);o(T)?v[0]=I.toGlobalCoord(I.getExtent()[l[0]==="x0"?0:1]):o(w)&&(v[1]=L.toGlobalCoord(L.getExtent()[l[1]==="y0"?0:1]))}isNaN(y)||(v[0]=y),isNaN(E)||(v[1]=E)}return v}var t=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];p.extend({type:"markArea",updateTransform:function(e,a,l){a.eachSeries(function(u){var h=u.markAreaModel;if(h){var f=h.getData();f.each(function(g){var v=_.map(t,function(E){return n(f,g,E,u,l)});f.setItemLayout(g,v);var y=f.getItemGraphicEl(g);y.setShape("points",v)})}},this)},renderSeries:function(e,a,l,u){var h=e.coordinateSystem,f=e.id,g=e.getData(),v=this.markerGroupMap,y=v.get(f)||v.set(f,{group:new b.Group});this.group.add(y.group),y.__keep=!0;var E=s(h,e,a);a.setData(E),E.each(function(T){E.setItemLayout(T,_.map(t,function(w){return n(E,T,w,e,u)})),E.setItemVisual(T,{color:g.getVisual("color")})}),E.diff(y.__data).add(function(T){var w=new b.Polygon({shape:{points:E.getItemLayout(T)}});E.setItemGraphicEl(T,w),y.group.add(w)}).update(function(T,w){var S=y.__data.getItemGraphicEl(w);b.updateProps(S,{shape:{points:E.getItemLayout(T)}},a,T),y.group.add(S),E.setItemGraphicEl(T,S)}).remove(function(T){var w=y.__data.getItemGraphicEl(T);y.group.remove(w)}).execute(),E.eachItemGraphicEl(function(T,w){var S=E.getItemModel(w),I=S.getModel("label"),L=S.getModel("emphasis.label"),O=E.getItemVisual(w,"color");T.useStyle(_.defaults(S.getModel("itemStyle").getItemStyle(),{fill:x.modifyAlpha(O,.4),stroke:O})),T.hoverStyle=S.getModel("emphasis.itemStyle").getItemStyle(),b.setLabelStyle(T.style,T.hoverStyle,I,L,{labelFetcher:a,labelDataIndex:w,defaultText:E.getName(w)||"",isRectText:!0,autoColor:O}),b.setHoverStyle(T,{}),T.dataModel=a}),y.__data=E,y.group.silent=a.get("silent")||e.get("silent")}});function s(e,a,l){var u,h,f=["x0","y0","x1","y1"];e?(u=_.map(e&&e.dimensions,function(y){var E=a.getData(),T=E.getDimensionInfo(E.mapDimension(y))||{};return _.defaults({name:y},T)}),h=new C(_.map(f,function(y,E){return{name:y,type:u[E%2].type}}),l)):(u=[{name:"value",type:"float"}],h=new C(u,l));var g=_.map(l.get("data"),_.curry(c,a,e,l));e&&(g=_.filter(g,_.curry(i,e)));var v=e?function(y,E,T,w){return y.coord[Math.floor(w/2)][w%2]}:function(y){return y.value};return h.initData(g,null,v),h.hasItemOption=!0,h}},"jsU+":function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("IUWy"),A=_.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){A.superApply(this,"optionUpdated",arguments),x.each(this.option.feature,function(m,p){var c=C.get(p);c&&x.merge(m,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}}}),b=A;H.exports=b},jtI2:function(H,k,d){d("SMc4");var _=d("bLfw"),x=_.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"}});H.exports=x},juDX:function(H,k,d){d("P47w");var _=d("aX58"),x=_.registerPainter,C=d("3CBa");x("svg",C)},k5C7:function(H,k,d){d("0JAE"),d("g7p0"),d("7mYs")},k9D9:function(H,k){var d="original",_="arrayRows",x="objectRows",C="keyedColumns",A="unknown",b="typedArray",m="column",p="row";k.SOURCE_FORMAT_ORIGINAL=d,k.SOURCE_FORMAT_ARRAY_ROWS=_,k.SOURCE_FORMAT_OBJECT_ROWS=x,k.SOURCE_FORMAT_KEYED_COLUMNS=C,k.SOURCE_FORMAT_UNKNOWN=A,k.SOURCE_FORMAT_TYPED_ARRAY=b,k.SERIES_LAYOUT_BY_COLUMN=m,k.SERIES_LAYOUT_BY_ROW=p},kDyi:function(H,k){function d(_){var x=_.findComponents({mainType:"legend"});x&&x.length&&_.filterSeries(function(C){for(var A=0;A<x.length;A++)if(!x[A].isSelected(C.name))return!1;return!0})}H.exports=d},kGiB:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("ABKa"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},kMLO:function(H,k,d){var _=d("XxSj"),x=d("Qe9p"),C=d("bYtY"),A=C.isArray,b="itemStyle",m={seriesType:"treemap",reset:function(e,a,l,u){var h=e.getData().tree,f=h.root,g=e.getModel(b);if(f.isRemoved())return;var v=C.map(h.levelModels,function(y){return y?y.get(b):null});p(f,{},v,g,e.getViewRoot().getAncestors(),e)}};function p(e,a,l,u,h,f){var g=e.getModel(),v=e.getLayout();if(!v||v.invisible||!v.isInView)return;var y=e.getModel(b),E=l[e.depth],T=c(y,a,E,u),w=y.get("borderColor"),S=y.get("borderColorSaturation"),I;S!=null&&(I=o(T,e),w=r(S,I)),e.setVisual("borderColor",w);var L=e.viewChildren;if(!L||!L.length)I=o(T,e),e.setVisual("color",I);else{var O=n(e,g,v,y,T,L);C.each(L,function(N,R){if(N.depth>=h.length||N===h[N.depth]){var D=s(g,T,N,R,O,f);p(N,D,l,u,h,f)}})}}function c(e,a,l,u){var h=C.extend({},a);return C.each(["color","colorAlpha","colorSaturation"],function(f){var g=e.get(f,!0);g==null&&l&&(g=l[f]),g==null&&(g=a[f]),g==null&&(g=u.get(f)),g!=null&&(h[f]=g)}),h}function o(e){var a=i(e,"color");if(a){var l=i(e,"colorAlpha"),u=i(e,"colorSaturation");return u&&(a=x.modifyHSL(a,null,null,u)),l&&(a=x.modifyAlpha(a,l)),a}}function r(e,a){return a!=null?x.modifyHSL(a,null,null,e):null}function i(e,a){var l=e[a];if(l!=null&&l!=="none")return l}function n(e,a,l,u,h,f){if(!f||!f.length)return;var g=t(a,"color")||h.color!=null&&h.color!=="none"&&(t(a,"colorAlpha")||t(a,"colorSaturation"));if(!g)return;var v=a.get("visualMin"),y=a.get("visualMax"),E=l.dataExtent.slice();v!=null&&v<E[0]&&(E[0]=v),y!=null&&y>E[1]&&(E[1]=y);var T=a.get("colorMappingBy"),w={type:g.name,dataExtent:E,visual:g.range};w.type==="color"&&(T==="index"||T==="id")?(w.mappingMethod="category",w.loop=!0):w.mappingMethod="linear";var S=new _(w);return S.__drColorMappingBy=T,S}function t(e,a){var l=e.get(a);return A(l)&&l.length?{name:a,range:l}:null}function s(e,a,l,u,h,f){var g=C.extend({},a);if(h){var v=h.type,y=v==="color"&&h.__drColorMappingBy,E=y==="index"?u:y==="id"?f.mapIdToIndex(l.getId()):l.getValue(e.get("visualDimension"));g[v]=h.mapValueToVisual(E)}return g}H.exports=m},"kVK+":function(H,k){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */k.read=function(d,_,x,C,A){var b,m,p=A*8-C-1,c=(1<<p)-1,o=c>>1,r=-7,i=x?A-1:0,n=x?-1:1,t=d[_+i];for(i+=n,b=t&(1<<-r)-1,t>>=-r,r+=p;r>0;b=b*256+d[_+i],i+=n,r-=8);for(m=b&(1<<-r)-1,b>>=-r,r+=C;r>0;m=m*256+d[_+i],i+=n,r-=8);if(b===0)b=1-o;else{if(b===c)return m?NaN:(t?-1:1)*Infinity;m=m+Math.pow(2,C),b=b-o}return(t?-1:1)*m*Math.pow(2,b-C)},k.write=function(d,_,x,C,A,b){var m,p,c,o=b*8-A-1,r=(1<<o)-1,i=r>>1,n=A===23?Math.pow(2,-24)-Math.pow(2,-77):0,t=C?0:b-1,s=C?1:-1,e=_<0||_===0&&1/_<0?1:0;for(_=Math.abs(_),isNaN(_)||_===Infinity?(p=isNaN(_)?1:0,m=r):(m=Math.floor(Math.log(_)/Math.LN2),_*(c=Math.pow(2,-m))<1&&(m--,c*=2),m+i>=1?_+=n/c:_+=n*Math.pow(2,1-i),_*c>=2&&(m++,c/=2),m+i>=r?(p=0,m=r):m+i>=1?(p=(_*c-1)*Math.pow(2,A),m=m+i):(p=_*Math.pow(2,i-1)*Math.pow(2,A),m=0));A>=8;d[x+t]=p&255,t+=s,p/=256,A-=8);for(m=m<<A|p,o+=A;o>0;d[x+t]=m&255,t+=s,m/=256,o-=8);d[x+t-s]|=e*128}},kj2x:function(H,k,d){var _=d("bYtY"),x=d("OELB"),C=d("7hqr"),A=C.isDimensionStacked,b=_.indexOf;function m(l){return!(isNaN(parseFloat(l.x))&&isNaN(parseFloat(l.y)))}function p(l){return!isNaN(parseFloat(l.x))&&!isNaN(parseFloat(l.y))}function c(l,u,h,f,g,v){var y=[],E=A(u,f),T=E?u.getCalculationInfo("stackResultDimension"):f,w=a(u,T,l),S=u.indicesOfNearest(T,w)[0];y[g]=u.get(h,S),y[v]=u.get(T,S);var I=u.get(f,S),L=x.getPrecision(u.get(f,S));return L=Math.min(L,20),L>=0&&(y[v]=+y[v].toFixed(L)),[y,I]}var o=_.curry,r={min:o(c,"min"),max:o(c,"max"),average:o(c,"average")};function i(l,u){var h=l.getData(),f=l.coordinateSystem;if(u&&!p(u)&&!_.isArray(u.coord)&&f){var g=f.dimensions,v=n(u,h,f,l);if(u=_.clone(u),u.type&&r[u.type]&&v.baseAxis&&v.valueAxis){var y=b(g,v.baseAxis.dim),E=b(g,v.valueAxis.dim),T=r[u.type](h,v.baseDataDim,v.valueDataDim,y,E);u.coord=T[0],u.value=T[1]}else{for(var w=[u.xAxis!=null?u.xAxis:u.radiusAxis,u.yAxis!=null?u.yAxis:u.angleAxis],S=0;S<2;S++)r[w[S]]&&(w[S]=a(h,h.mapDimension(g[S]),w[S]));u.coord=w}}return u}function n(l,u,h,f){var g={};return l.valueIndex!=null||l.valueDim!=null?(g.valueDataDim=l.valueIndex!=null?u.getDimension(l.valueIndex):l.valueDim,g.valueAxis=h.getAxis(t(f,g.valueDataDim)),g.baseAxis=h.getOtherAxis(g.valueAxis),g.baseDataDim=u.mapDimension(g.baseAxis.dim)):(g.baseAxis=f.getBaseAxis(),g.valueAxis=h.getOtherAxis(g.baseAxis),g.baseDataDim=u.mapDimension(g.baseAxis.dim),g.valueDataDim=u.mapDimension(g.valueAxis.dim)),g}function t(l,u){var h=l.getData(),f=h.dimensions;u=h.getDimension(u);for(var g=0;g<f.length;g++){var v=h.getDimensionInfo(f[g]);if(v.name===u)return v.coordDim}}function s(l,u){return l&&l.containData&&u.coord&&!m(u)?l.containData(u.coord):!0}function e(l,u,h,f){return f<2?l.coord&&l.coord[f]:l.value}function a(l,u,h){if(h==="average"){var f=0,g=0;return l.each(u,function(v,y){isNaN(v)||(f+=v,g++)}),f/g}else return h==="median"?l.getMedian(u):l.getDataExtent(u,!0)[h==="max"?1:0]}k.dataTransform=i,k.getAxisInfo=n,k.dataFilter=s,k.dimValueGetter=e,k.numCalculate=a},knOB:function(H,k,d){var _=d("bYtY"),x=d("hM6l");function C(b,m){x.call(this,"radius",b,m),this.type="category"}C.prototype={constructor:C,pointToData:function(b,m){return this.polar.pointToData(b,m)[this.dim==="radius"?0:1]},dataToRadius:x.prototype.dataToCoord,radiusToData:x.prototype.coordToData},_.inherits(C,x);var A=C;H.exports=A},ko1b:function(H,k,d){var _=d("bYtY"),x=d("T4UG"),C=d("Bsck"),A=d("Qxkt"),b=d("7aKB"),m=b.encodeHTML,p=b.addCommas,c=d("VaxA"),o=c.wrapTreePathInfo,r=x.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(t,s){var e={name:t.name,children:t.data};i(e);var a=t.levels||[];a=t.levels=n(a,s);var l=_.map(a||[],function(f){return new A(f,this,s)},this),u=C.createTree(e,this,null,h);function h(f){f.wrapMethod("getItemModel",function(g,v){var y=u.getNodeByDataIndex(v),E=l[y.depth];return E&&(g.parentModel=E),g})}return u.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var s=this.getData(),e=this.getRawValue(t),a=_.isArray(e)?p(e[0]):p(e),l=s.getName(t);return m(l+": "+a)},getDataParams:function(t){var s=x.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(t);return s.treePathInfo=o(e,this),s},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},_.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var s=this._idIndexMap;s||(s=this._idIndexMap=_.createHashMap(),this._idIndexMapCount=0);var e=s.get(t);return e==null&&s.set(t,e=this._idIndexMapCount++),e},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var s=this.getRawData().tree.root;(!t||t!==s&&!s.contains(t))&&(this._viewRoot=s)}});function i(t){var s=0;_.each(t.children,function(a){i(a);var l=a.value;_.isArray(l)&&(l=l[0]),s+=l});var e=t.value;_.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=s),e<0&&(e=0),_.isArray(t.value)?t.value[0]=e:t.value=e}function n(t,s){var e=s.get("color");if(!e)return;t=t||[];var a;if(_.each(t,function(u){var h=new A(u),f=h.get("color");(h.get("itemStyle.color")||f&&f!=="none")&&(a=!0)}),!a){var l=t[0]||(t[0]={});l.color=e.slice()}return t}H.exports=r},kzFp:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _=k.pick=function(C,A){var b={};return A.forEach(function(m){b[m]=C[m]}),b}},kzvK:function(H,k,d){var _=d("sS/r"),x=_.extend({type:"timeline"});H.exports=x},"l+S1":function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="SearchOutlined";var p=k.a=x.forwardRef(m)},lE7J:function(H,k,d){var _=d("OELB"),x=_.round;function C(p,c,o,r){var i={},n=p[1]-p[0],t=i.interval=_.nice(n/c,!0);o!=null&&t<o&&(t=i.interval=o),r!=null&&t>r&&(t=i.interval=r);var s=i.intervalPrecision=A(t),e=i.niceTickExtent=[x(Math.ceil(p[0]/t)*t,s),x(Math.floor(p[1]/t)*t,s)];return m(e,p),i}function A(p){return _.getPrecisionSafe(p)+2}function b(p,c,o){p[c]=Math.max(Math.min(p[c],o[1]),o[0])}function m(p,c){!isFinite(p[0])&&(p[0]=c[0]),!isFinite(p[1])&&(p[1]=c[1]),b(p,0,c),b(p,1,c),p[0]>p[1]&&(p[0]=p[1])}k.intervalScaleNiceTicks=C,k.getIntervalPrecision=A,k.fixExtent=m},lELe:function(H,k,d){var _=d("bYtY");function x(C){var A=[];_.each(C.series,function(b){b&&b.type==="map"&&(A.push(b),b.map=b.map||b.mapType,_.defaults(b,b.mapLocation))})}H.exports=x},lLGD:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("nVfU"),A=C.layout,b=C.largeLayout;d("Wqna"),d("F7hV"),d("Z8zF"),d("Ae16"),_.registerLayout(_.PRIORITY.VISUAL.LAYOUT,x.curry(A,"bar")),_.registerLayout(_.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,b),_.registerVisual({seriesType:"bar",reset:function(m){m.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(H,k,d){"use strict";function _(me){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(rr){return typeof rr}:_=function(rr){return rr&&typeof Symbol=="function"&&rr.constructor===Symbol&&rr!==Symbol.prototype?"symbol":typeof rr},_(me)}Object.defineProperty(k,"__esModule",{value:!0}),k.deflateInit=Ze,k.deflateInit2=Ht,k.deflateReset=Et,k.deflateResetKeep=wt,k.deflateSetHeader=_t,k.deflate=ye,k.deflateEnd=ae,k.deflateSetDictionary=yt,k.deflateInfo=k.Z_DEFLATED=k.Z_UNKNOWN=k.Z_DEFAULT_STRATEGY=k.Z_FIXED=k.Z_RLE=k.Z_HUFFMAN_ONLY=k.Z_FILTERED=k.Z_DEFAULT_COMPRESSION=k.Z_BUF_ERROR=k.Z_DATA_ERROR=k.Z_STREAM_ERROR=k.Z_STREAM_END=k.Z_OK=k.Z_BLOCK=k.Z_FINISH=k.Z_FULL_FLUSH=k.Z_PARTIAL_FLUSH=k.Z_NO_FLUSH=void 0;var x=o(d("6BzB")),C=o(d("c5fP")),A=p(d("xlC8")),b=p(d("QV2g")),m=p(d("xSIq"));function p(me){return me&&me.__esModule?me:{default:me}}function c(){if(typeof WeakMap!="function")return null;var me=new WeakMap;return c=function(){return me},me}function o(me){if(me&&me.__esModule)return me;if(me===null||_(me)!=="object"&&typeof me!="function")return{default:me};var Gt=c();if(Gt&&Gt.has(me))return Gt.get(me);var rr={},ut=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Xt in me)if(Object.prototype.hasOwnProperty.call(me,Xt)){var ur=ut?Object.getOwnPropertyDescriptor(me,Xt):null;ur&&(ur.get||ur.set)?Object.defineProperty(rr,Xt,ur):rr[Xt]=me[Xt]}return rr.default=me,Gt&&Gt.set(me,rr),rr}var r=0;k.Z_NO_FLUSH=r;var i=1;k.Z_PARTIAL_FLUSH=i;var n=3;k.Z_FULL_FLUSH=n;var t=4;k.Z_FINISH=t;var s=5;k.Z_BLOCK=s;var e=0;k.Z_OK=e;var a=1;k.Z_STREAM_END=a;var l=-2;k.Z_STREAM_ERROR=l;var u=-3;k.Z_DATA_ERROR=u;var h=-5;k.Z_BUF_ERROR=h;var f=-1;k.Z_DEFAULT_COMPRESSION=f;var g=1;k.Z_FILTERED=g;var v=2;k.Z_HUFFMAN_ONLY=v;var y=3;k.Z_RLE=y;var E=4;k.Z_FIXED=E;var T=0;k.Z_DEFAULT_STRATEGY=T;var w=2;k.Z_UNKNOWN=w;var S=8;k.Z_DEFLATED=S;var I=9,L=15,O=8,N=29,R=256,D=R+1+N,B=30,M=19,U=2*D+1,F=15,j=3,W=258,V=W+j+1,z=32,Y=42,J=69,ie=73,Z=91,oe=103,ge=113,pe=666,De=1,ce=2,Oe=3,se=4,$=3;function ze(me,Gt){return me.msg=m.default[Gt],Gt}function re(me){return(me<<1)-(me>4?9:0)}function X(me){for(var Gt=me.length;--Gt>=0;)me[Gt]=0}function G(me){var Gt=me.state,rr=Gt.pending;if(rr>me.avail_out&&(rr=me.avail_out),rr===0)return;x.arraySet(me.output,Gt.pending_buf,Gt.pending_out,rr,me.next_out),me.next_out+=rr,Gt.pending_out+=rr,me.total_out+=rr,me.avail_out-=rr,Gt.pending-=rr,Gt.pending===0&&(Gt.pending_out=0)}function Q(me,Gt){C._tr_flush_block(me,me.block_start>=0?me.block_start:-1,me.strstart-me.block_start,Gt),me.block_start=me.strstart,G(me.strm)}function ve(me,Gt){me.pending_buf[me.pending++]=Gt}function de(me,Gt){me.pending_buf[me.pending++]=Gt>>>8&255,me.pending_buf[me.pending++]=Gt&255}function Ce(me,Gt,rr,ut){var Xt=me.avail_in;return Xt>ut&&(Xt=ut),Xt===0?0:(me.avail_in-=Xt,x.arraySet(Gt,me.input,me.next_in,Xt,rr),me.state.wrap===1?me.adler=(0,A.default)(me.adler,Gt,Xt,rr):me.state.wrap===2&&(me.adler=(0,b.default)(me.adler,Gt,Xt,rr)),me.next_in+=Xt,me.total_in+=Xt,Xt)}function we(me,Gt){var rr=me.max_chain_length,ut=me.strstart,Xt,ur,Fr=me.prev_length,er=me.nice_match,nr=me.strstart>me.w_size-V?me.strstart-(me.w_size-V):0,Lt=me.window,at=me.w_mask,Je=me.prev,qt=me.strstart+W,Sr=Lt[ut+Fr-1],yr=Lt[ut+Fr];me.prev_length>=me.good_match&&(rr>>=2),er>me.lookahead&&(er=me.lookahead);do{if(Xt=Gt,Lt[Xt+Fr]!==yr||Lt[Xt+Fr-1]!==Sr||Lt[Xt]!==Lt[ut]||Lt[++Xt]!==Lt[ut+1])continue;ut+=2,Xt++;do;while(Lt[++ut]===Lt[++Xt]&&Lt[++ut]===Lt[++Xt]&&Lt[++ut]===Lt[++Xt]&&Lt[++ut]===Lt[++Xt]&&Lt[++ut]===Lt[++Xt]&&Lt[++ut]===Lt[++Xt]&&Lt[++ut]===Lt[++Xt]&&Lt[++ut]===Lt[++Xt]&&ut<qt);if(ur=W-(qt-ut),ut=qt-W,ur>Fr){if(me.match_start=Gt,Fr=ur,ur>=er)break;Sr=Lt[ut+Fr-1],yr=Lt[ut+Fr]}}while((Gt=Je[Gt&at])>nr&&--rr!==0);return Fr<=me.lookahead?Fr:me.lookahead}function le(me){var Gt=me.w_size,rr,ut,Xt,ur,Fr;do{if(ur=me.window_size-me.lookahead-me.strstart,me.strstart>=Gt+(Gt-V)){x.arraySet(me.window,me.window,Gt,Gt,0),me.match_start-=Gt,me.strstart-=Gt,me.block_start-=Gt,ut=me.hash_size,rr=ut;do Xt=me.head[--rr],me.head[rr]=Xt>=Gt?Xt-Gt:0;while(--ut);ut=Gt,rr=ut;do Xt=me.prev[--rr],me.prev[rr]=Xt>=Gt?Xt-Gt:0;while(--ut);ur+=Gt}if(me.strm.avail_in===0)break;if(ut=Ce(me.strm,me.window,me.strstart+me.lookahead,ur),me.lookahead+=ut,me.lookahead+me.insert>=j)for(Fr=me.strstart-me.insert,me.ins_h=me.window[Fr],me.ins_h=(me.ins_h<<me.hash_shift^me.window[Fr+1])&me.hash_mask;me.insert&&!(me.ins_h=(me.ins_h<<me.hash_shift^me.window[Fr+j-1])&me.hash_mask,me.prev[Fr&me.w_mask]=me.head[me.ins_h],me.head[me.ins_h]=Fr,Fr++,me.insert--,me.lookahead+me.insert<j););}while(me.lookahead<V&&me.strm.avail_in!==0)}function fe(me,Gt){var rr=65535;for(rr>me.pending_buf_size-5&&(rr=me.pending_buf_size-5);;){if(me.lookahead<=1){if(le(me),me.lookahead===0&&Gt===r)return De;if(me.lookahead===0)break}me.strstart+=me.lookahead,me.lookahead=0;var ut=me.block_start+rr;if((me.strstart===0||me.strstart>=ut)&&(me.lookahead=me.strstart-ut,me.strstart=ut,Q(me,!1),me.strm.avail_out===0))return De;if(me.strstart-me.block_start>=me.w_size-V&&(Q(me,!1),me.strm.avail_out===0))return De}return me.insert=0,Gt===t?(Q(me,!0),me.strm.avail_out===0?Oe:se):(me.strstart>me.block_start&&(Q(me,!1),me.strm.avail_out===0),De)}function xe(me,Gt){for(var rr,ut;;){if(me.lookahead<V){if(le(me),me.lookahead<V&&Gt===r)return De;if(me.lookahead===0)break}if(rr=0,me.lookahead>=j&&(me.ins_h=(me.ins_h<<me.hash_shift^me.window[me.strstart+j-1])&me.hash_mask,rr=me.prev[me.strstart&me.w_mask]=me.head[me.ins_h],me.head[me.ins_h]=me.strstart),rr!==0&&me.strstart-rr<=me.w_size-V&&(me.match_length=we(me,rr)),me.match_length>=j)if(ut=C._tr_tally(me,me.strstart-me.match_start,me.match_length-j),me.lookahead-=me.match_length,me.match_length<=me.max_lazy_match&&me.lookahead>=j){me.match_length--;do me.strstart++,me.ins_h=(me.ins_h<<me.hash_shift^me.window[me.strstart+j-1])&me.hash_mask,rr=me.prev[me.strstart&me.w_mask]=me.head[me.ins_h],me.head[me.ins_h]=me.strstart;while(--me.match_length!==0);me.strstart++}else me.strstart+=me.match_length,me.match_length=0,me.ins_h=me.window[me.strstart],me.ins_h=(me.ins_h<<me.hash_shift^me.window[me.strstart+1])&me.hash_mask;else ut=C._tr_tally(me,0,me.window[me.strstart]),me.lookahead--,me.strstart++;if(ut&&(Q(me,!1),me.strm.avail_out===0))return De}return me.insert=me.strstart<j-1?me.strstart:j-1,Gt===t?(Q(me,!0),me.strm.avail_out===0?Oe:se):me.last_lit&&(Q(me,!1),me.strm.avail_out===0)?De:ce}function We(me,Gt){for(var rr,ut,Xt;;){if(me.lookahead<V){if(le(me),me.lookahead<V&&Gt===r)return De;if(me.lookahead===0)break}if(rr=0,me.lookahead>=j&&(me.ins_h=(me.ins_h<<me.hash_shift^me.window[me.strstart+j-1])&me.hash_mask,rr=me.prev[me.strstart&me.w_mask]=me.head[me.ins_h],me.head[me.ins_h]=me.strstart),me.prev_length=me.match_length,me.prev_match=me.match_start,me.match_length=j-1,rr!==0&&me.prev_length<me.max_lazy_match&&me.strstart-rr<=me.w_size-V&&(me.match_length=we(me,rr),me.match_length<=5&&(me.strategy===g||me.match_length===j&&me.strstart-me.match_start>4096)&&(me.match_length=j-1)),me.prev_length>=j&&me.match_length<=me.prev_length){Xt=me.strstart+me.lookahead-j,ut=C._tr_tally(me,me.strstart-1-me.prev_match,me.prev_length-j),me.lookahead-=me.prev_length-1,me.prev_length-=2;do++me.strstart<=Xt&&(me.ins_h=(me.ins_h<<me.hash_shift^me.window[me.strstart+j-1])&me.hash_mask,rr=me.prev[me.strstart&me.w_mask]=me.head[me.ins_h],me.head[me.ins_h]=me.strstart);while(--me.prev_length!==0);if(me.match_available=0,me.match_length=j-1,me.strstart++,ut&&(Q(me,!1),me.strm.avail_out===0))return De}else if(me.match_available){if(ut=C._tr_tally(me,0,me.window[me.strstart-1]),ut&&Q(me,!1),me.strstart++,me.lookahead--,me.strm.avail_out===0)return De}else me.match_available=1,me.strstart++,me.lookahead--}return me.match_available&&(ut=C._tr_tally(me,0,me.window[me.strstart-1]),me.match_available=0),me.insert=me.strstart<j-1?me.strstart:j-1,Gt===t?(Q(me,!0),me.strm.avail_out===0?Oe:se):me.last_lit&&(Q(me,!1),me.strm.avail_out===0)?De:ce}function nt(me,Gt){for(var rr,ut,Xt,ur,Fr=me.window;;){if(me.lookahead<=W){if(le(me),me.lookahead<=W&&Gt===r)return De;if(me.lookahead===0)break}if(me.match_length=0,me.lookahead>=j&&me.strstart>0&&(Xt=me.strstart-1,ut=Fr[Xt],ut===Fr[++Xt]&&ut===Fr[++Xt]&&ut===Fr[++Xt])){ur=me.strstart+W;do;while(ut===Fr[++Xt]&&ut===Fr[++Xt]&&ut===Fr[++Xt]&&ut===Fr[++Xt]&&ut===Fr[++Xt]&&ut===Fr[++Xt]&&ut===Fr[++Xt]&&ut===Fr[++Xt]&&Xt<ur);me.match_length=W-(ur-Xt),me.match_length>me.lookahead&&(me.match_length=me.lookahead)}if(me.match_length>=j?(rr=C._tr_tally(me,1,me.match_length-j),me.lookahead-=me.match_length,me.strstart+=me.match_length,me.match_length=0):(rr=C._tr_tally(me,0,me.window[me.strstart]),me.lookahead--,me.strstart++),rr&&(Q(me,!1),me.strm.avail_out===0))return De}return me.insert=0,Gt===t?(Q(me,!0),me.strm.avail_out===0?Oe:se):me.last_lit&&(Q(me,!1),me.strm.avail_out===0)?De:ce}function $e(me,Gt){for(var rr;;){if(me.lookahead===0&&(le(me),me.lookahead===0)){if(Gt===r)return De;break}if(me.match_length=0,rr=C._tr_tally(me,0,me.window[me.strstart]),me.lookahead--,me.strstart++,rr&&(Q(me,!1),me.strm.avail_out===0))return De}return me.insert=0,Gt===t?(Q(me,!0),me.strm.avail_out===0?Oe:se):me.last_lit&&(Q(me,!1),me.strm.avail_out===0)?De:ce}function Le(me,Gt,rr,ut,Xt){this.good_length=me,this.max_lazy=Gt,this.nice_length=rr,this.max_chain=ut,this.func=Xt}var pt;pt=[new Le(0,0,0,0,fe),new Le(4,4,8,4,xe),new Le(4,5,16,8,xe),new Le(4,6,32,32,xe),new Le(4,4,16,16,We),new Le(8,16,32,32,We),new Le(8,16,128,128,We),new Le(8,32,128,256,We),new Le(32,128,258,1024,We),new Le(32,258,258,4096,We)];function Qe(me){me.window_size=2*me.w_size,X(me.head),me.max_lazy_match=pt[me.level].max_lazy,me.good_match=pt[me.level].good_length,me.nice_match=pt[me.level].nice_length,me.max_chain_length=pt[me.level].max_chain,me.strstart=0,me.block_start=0,me.lookahead=0,me.insert=0,me.match_length=me.prev_length=j-1,me.match_available=0,me.ins_h=0}function gt(){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=S,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 x.Buf16(U*2),this.dyn_dtree=new x.Buf16((2*B+1)*2),this.bl_tree=new x.Buf16((2*M+1)*2),X(this.dyn_ltree),X(this.dyn_dtree),X(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new x.Buf16(F+1),this.heap=new x.Buf16(2*D+1),X(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new x.Buf16(2*D+1),X(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function wt(me){var Gt;return!me||!me.state?ze(me,l):(me.total_in=me.total_out=0,me.data_type=w,Gt=me.state,Gt.pending=0,Gt.pending_out=0,Gt.wrap<0&&(Gt.wrap=-Gt.wrap),Gt.status=Gt.wrap?Y:ge,me.adler=Gt.wrap===2?0:1,Gt.last_flush=r,C._tr_init(Gt),e)}function Et(me){var Gt=wt(me);return Gt===e&&Qe(me.state),Gt}function _t(me,Gt){return!me||!me.state||me.state.wrap!==2?l:(me.state.gzhead=Gt,e)}function Ht(me,Gt,rr,ut,Xt,ur){if(!me)return l;var Fr=1;if(Gt===f&&(Gt=6),ut<0?(Fr=0,ut=-ut):ut>15&&(Fr=2,ut-=16),Xt<1||Xt>I||rr!==S||ut<8||ut>15||Gt<0||Gt>9||ur<0||ur>E)return ze(me,l);ut===8&&(ut=9);var er=new gt;return me.state=er,er.strm=me,er.wrap=Fr,er.gzhead=null,er.w_bits=ut,er.w_size=1<<er.w_bits,er.w_mask=er.w_size-1,er.hash_bits=Xt+7,er.hash_size=1<<er.hash_bits,er.hash_mask=er.hash_size-1,er.hash_shift=~~((er.hash_bits+j-1)/j),er.window=new x.Buf8(er.w_size*2),er.head=new x.Buf16(er.hash_size),er.prev=new x.Buf16(er.w_size),er.lit_bufsize=1<<Xt+6,er.pending_buf_size=er.lit_bufsize*4,er.pending_buf=new x.Buf8(er.pending_buf_size),er.d_buf=1*er.lit_bufsize,er.l_buf=(1+2)*er.lit_bufsize,er.level=Gt,er.strategy=ur,er.method=rr,Et(me)}function Ze(me,Gt){return Ht(me,Gt,S,L,O,T)}function ye(me,Gt){var rr,ut,Xt,ur;if(!me||!me.state||Gt>s||Gt<0)return me?ze(me,l):l;if(ut=me.state,!me.output||!me.input&&me.avail_in!==0||ut.status===pe&&Gt!==t)return ze(me,me.avail_out===0?h:l);if(ut.strm=me,rr=ut.last_flush,ut.last_flush=Gt,ut.status===Y)if(ut.wrap===2)me.adler=0,ve(ut,31),ve(ut,139),ve(ut,8),ut.gzhead?(ve(ut,(ut.gzhead.text?1:0)+(ut.gzhead.hcrc?2:0)+(ut.gzhead.extra?4:0)+(ut.gzhead.name?8:0)+(ut.gzhead.comment?16:0)),ve(ut,ut.gzhead.time&255),ve(ut,ut.gzhead.time>>8&255),ve(ut,ut.gzhead.time>>16&255),ve(ut,ut.gzhead.time>>24&255),ve(ut,ut.level===9?2:ut.strategy>=v||ut.level<2?4:0),ve(ut,ut.gzhead.os&255),ut.gzhead.extra&&ut.gzhead.extra.length&&(ve(ut,ut.gzhead.extra.length&255),ve(ut,ut.gzhead.extra.length>>8&255)),ut.gzhead.hcrc&&(me.adler=(0,b.default)(me.adler,ut.pending_buf,ut.pending,0)),ut.gzindex=0,ut.status=J):(ve(ut,0),ve(ut,0),ve(ut,0),ve(ut,0),ve(ut,0),ve(ut,ut.level===9?2:ut.strategy>=v||ut.level<2?4:0),ve(ut,$),ut.status=ge);else{var Fr=S+(ut.w_bits-8<<4)<<8,er=-1;ut.strategy>=v||ut.level<2?er=0:ut.level<6?er=1:ut.level===6?er=2:er=3,Fr|=er<<6,ut.strstart!==0&&(Fr|=z),Fr+=31-Fr%31,ut.status=ge,de(ut,Fr),ut.strstart!==0&&(de(ut,me.adler>>>16),de(ut,me.adler&65535)),me.adler=1}if(ut.status===J)if(ut.gzhead.extra){for(Xt=ut.pending;ut.gzindex<(ut.gzhead.extra.length&65535)&&!(ut.pending===ut.pending_buf_size&&(ut.gzhead.hcrc&&ut.pending>Xt&&(me.adler=(0,b.default)(me.adler,ut.pending_buf,ut.pending-Xt,Xt)),G(me),Xt=ut.pending,ut.pending===ut.pending_buf_size));)ve(ut,ut.gzhead.extra[ut.gzindex]&255),ut.gzindex++;ut.gzhead.hcrc&&ut.pending>Xt&&(me.adler=(0,b.default)(me.adler,ut.pending_buf,ut.pending-Xt,Xt)),ut.gzindex===ut.gzhead.extra.length&&(ut.gzindex=0,ut.status=ie)}else ut.status=ie;if(ut.status===ie)if(ut.gzhead.name){Xt=ut.pending;do{if(ut.pending===ut.pending_buf_size&&(ut.gzhead.hcrc&&ut.pending>Xt&&(me.adler=(0,b.default)(me.adler,ut.pending_buf,ut.pending-Xt,Xt)),G(me),Xt=ut.pending,ut.pending===ut.pending_buf_size)){ur=1;break}ut.gzindex<ut.gzhead.name.length?ur=ut.gzhead.name.charCodeAt(ut.gzindex++)&255:ur=0,ve(ut,ur)}while(ur!==0);ut.gzhead.hcrc&&ut.pending>Xt&&(me.adler=(0,b.default)(me.adler,ut.pending_buf,ut.pending-Xt,Xt)),ur===0&&(ut.gzindex=0,ut.status=Z)}else ut.status=Z;if(ut.status===Z)if(ut.gzhead.comment){Xt=ut.pending;do{if(ut.pending===ut.pending_buf_size&&(ut.gzhead.hcrc&&ut.pending>Xt&&(me.adler=(0,b.default)(me.adler,ut.pending_buf,ut.pending-Xt,Xt)),G(me),Xt=ut.pending,ut.pending===ut.pending_buf_size)){ur=1;break}ut.gzindex<ut.gzhead.comment.length?ur=ut.gzhead.comment.charCodeAt(ut.gzindex++)&255:ur=0,ve(ut,ur)}while(ur!==0);ut.gzhead.hcrc&&ut.pending>Xt&&(me.adler=(0,b.default)(me.adler,ut.pending_buf,ut.pending-Xt,Xt)),ur===0&&(ut.status=oe)}else ut.status=oe;if(ut.status===oe&&(ut.gzhead.hcrc?(ut.pending+2>ut.pending_buf_size&&G(me),ut.pending+2<=ut.pending_buf_size&&(ve(ut,me.adler&255),ve(ut,me.adler>>8&255),me.adler=0,ut.status=ge)):ut.status=ge),ut.pending!==0){if(G(me),me.avail_out===0)return ut.last_flush=-1,e}else if(me.avail_in===0&&re(Gt)<=re(rr)&&Gt!==t)return ze(me,h);if(ut.status===pe&&me.avail_in!==0)return ze(me,h);if(me.avail_in!==0||ut.lookahead!==0||Gt!==r&&ut.status!==pe){var nr=ut.strategy===v?$e(ut,Gt):ut.strategy===y?nt(ut,Gt):pt[ut.level].func(ut,Gt);if((nr===Oe||nr===se)&&(ut.status=pe),nr===De||nr===Oe)return me.avail_out===0&&(ut.last_flush=-1),e;if(nr===ce&&(Gt===i?C._tr_align(ut):Gt!==s&&(C._tr_stored_block(ut,0,0,!1),Gt===n&&(X(ut.head),ut.lookahead===0&&(ut.strstart=0,ut.block_start=0,ut.insert=0))),G(me),me.avail_out===0))return ut.last_flush=-1,e}return Gt!==t?e:ut.wrap<=0?a:(ut.wrap===2?(ve(ut,me.adler&255),ve(ut,me.adler>>8&255),ve(ut,me.adler>>16&255),ve(ut,me.adler>>24&255),ve(ut,me.total_in&255),ve(ut,me.total_in>>8&255),ve(ut,me.total_in>>16&255),ve(ut,me.total_in>>24&255)):(de(ut,me.adler>>>16),de(ut,me.adler&65535)),G(me),ut.wrap>0&&(ut.wrap=-ut.wrap),ut.pending!==0?e:a)}function ae(me){var Gt;return!me||!me.state?l:(Gt=me.state.status,Gt!==Y&&Gt!==J&&Gt!==ie&&Gt!==Z&&Gt!==oe&&Gt!==ge&&Gt!==pe?ze(me,l):(me.state=null,Gt===ge?ze(me,u):e))}function yt(me,Gt){var rr=Gt.length,ut,Xt,ur,Fr,er,nr,Lt,at;if(!me||!me.state)return l;if(ut=me.state,Fr=ut.wrap,Fr===2||Fr===1&&ut.status!==Y||ut.lookahead)return l;for(Fr===1&&(me.adler=(0,A.default)(me.adler,Gt,rr,0)),ut.wrap=0,rr>=ut.w_size&&(Fr===0&&(X(ut.head),ut.strstart=0,ut.block_start=0,ut.insert=0),at=new x.Buf8(ut.w_size),x.arraySet(at,Gt,rr-ut.w_size,ut.w_size,0),Gt=at,rr=ut.w_size),er=me.avail_in,nr=me.next_in,Lt=me.input,me.avail_in=rr,me.next_in=0,me.input=Gt,le(ut);ut.lookahead>=j;){Xt=ut.strstart,ur=ut.lookahead-(j-1);do ut.ins_h=(ut.ins_h<<ut.hash_shift^ut.window[Xt+j-1])&ut.hash_mask,ut.prev[Xt&ut.w_mask]=ut.head[ut.ins_h],ut.head[ut.ins_h]=Xt,Xt++;while(--ur);ut.strstart=Xt,ut.lookahead=j-1,le(ut)}return ut.strstart+=ut.lookahead,ut.block_start=ut.strstart,ut.insert=ut.lookahead,ut.lookahead=0,ut.match_length=ut.prev_length=j-1,ut.match_available=0,me.next_in=nr,me.input=Lt,me.avail_in=er,ut.wrap=Fr,e}var et="pako deflate (from Nodeca project)";k.deflateInfo=et},lOQZ:function(H,k,d){var _=d("QBsz"),x=d("U/Mo"),C=x.getSymbolSize,A=x.getNodeGlobalScale,b=Math.PI,m=[];function p(o,r){var i=o.coordinateSystem;if(i&&i.type!=="view")return;var n=i.getBoundingRect(),t=o.getData(),s=t.graph,e=n.width/2+n.x,a=n.height/2+n.y,l=Math.min(n.width,n.height)/2,u=t.count();if(t.setLayout({cx:e,cy:a}),!u)return;c[r](o,i,s,t,l,e,a,u),s.eachEdge(function(h){var f=h.getModel().get("lineStyle.curveness")||0,g=_.clone(h.node1.getLayout()),v=_.clone(h.node2.getLayout()),y,E=(g[0]+v[0])/2,T=(g[1]+v[1])/2;+f&&(f*=3,y=[e*f+E*(1-f),a*f+T*(1-f)]),h.setLayout([g,v,y])})}var c={value:function(o,r,i,n,t,s,e,a){var l=0,u=n.getSum("value"),h=Math.PI*2/(u||a);i.eachNode(function(f){var g=f.getValue("value"),v=h*(u?g:1)/2;l+=v,f.setLayout([t*Math.cos(l)+s,t*Math.sin(l)+e]),l+=v})},symbolSize:function(o,r,i,n,t,s,e,a){var l=0;m.length=a;var u=A(o);i.eachNode(function(g){var v=C(g);isNaN(v)&&(v=2),v<0&&(v=0),v*=u;var y=Math.asin(v/2/t);isNaN(y)&&(y=b/2),m[g.dataIndex]=y,l+=y*2});var h=(2*b-l)/a/2,f=0;i.eachNode(function(g){var v=h+m[g.dataIndex];f+=v,g.setLayout([t*Math.cos(f)+s,t*Math.sin(f)+e]),f+=v})}};k.circularLayout=p},lPiR:function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){return function(x){var C=_,A=C.lib,b=A.WordArray,m=A.Hasher,p=C.algo,c=[],o=[];(function(){function n(a){for(var l=x.sqrt(a),u=2;u<=l;u++)if(!(a%u))return!1;return!0}function t(a){return(a-(a|0))*4294967296|0}for(var s=2,e=0;e<64;)n(s)&&(e<8&&(c[e]=t(x.pow(s,1/2))),o[e]=t(x.pow(s,1/3)),e++),s++})();var r=[],i=p.SHA256=m.extend({_doReset:function(){this._hash=new b.init(c.slice(0))},_doProcessBlock:function(t,s){for(var e=this._hash.words,a=e[0],l=e[1],u=e[2],h=e[3],f=e[4],g=e[5],v=e[6],y=e[7],E=0;E<64;E++){if(E<16)r[E]=t[s+E]|0;else{var T=r[E-15],w=(T<<25|T>>>7)^(T<<14|T>>>18)^T>>>3,S=r[E-2],I=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;r[E]=w+r[E-7]+I+r[E-16]}var L=f&g^~f&v,O=a&l^a&u^l&u,N=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),R=(f<<26|f>>>6)^(f<<21|f>>>11)^(f<<7|f>>>25),D=y+R+L+o[E]+r[E],B=N+O;y=v,v=g,g=f,f=h+D|0,h=u,u=l,l=a,a=D+B|0}e[0]=e[0]+a|0,e[1]=e[1]+l|0,e[2]=e[2]+u|0,e[3]=e[3]+h|0,e[4]=e[4]+f|0,e[5]=e[5]+g|0,e[6]=e[6]+v|0,e[7]=e[7]+y|0},_doFinalize:function(){var t=this._data,s=t.words,e=this._nDataBytes*8,a=t.sigBytes*8;return s[a>>>5]|=128<<24-a%32,s[(a+64>>>9<<4)+14]=x.floor(e/4294967296),s[(a+64>>>9<<4)+15]=e,t.sigBytes=s.length*4,this._process(),this._hash},clone:function(){var t=m.clone.call(this);return t._hash=this._hash.clone(),t}});C.SHA256=m._createHelper(i),C.HmacSHA256=m._createHmacHelper(i)}(Math),_.SHA256})},lUTK:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("x54q"),A=d.n(C),b=d("5Dmo")},lZu9:function(H,k,d){(function(_){_(d("VrN/"),d("1eCo"),d("8EBN"))})(function(_){"use strict";_.defineMode("markdown",function(x,C){var A=_.getMode(x,"text/html"),b=A.name=="null";function m(F){if(_.findModeByName){var j=_.findModeByName(F);j&&(F=j.mime||j.mimes[0])}var W=_.getMode(x,F);return W.name=="null"?null:W}C.highlightFormatting===void 0&&(C.highlightFormatting=!1),C.maxBlockquoteDepth===void 0&&(C.maxBlockquoteDepth=0),C.taskLists===void 0&&(C.taskLists=!1),C.strikethrough===void 0&&(C.strikethrough=!1),C.emoji===void 0&&(C.emoji=!1),C.fencedCodeBlockHighlighting===void 0&&(C.fencedCodeBlockHighlighting=!0),C.fencedCodeBlockDefaultMode===void 0&&(C.fencedCodeBlockDefaultMode="text/plain"),C.xml===void 0&&(C.xml=!0),C.tokenTypeOverrides===void 0&&(C.tokenTypeOverrides={});var p={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 p)p.hasOwnProperty(c)&&C.tokenTypeOverrides[c]&&(p[c]=C.tokenTypeOverrides[c]);var o=/^([*\-_])(?:\s*\1){2,}\s*$/,r=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,i=/^\[(x| )\](?=\s)/i,n=C.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,t=/^ {0,3}(?:\={1,}|-{2,})\s*$/,s=/^[^#!\[\]*_\\<>` "'(~:]+/,e=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,a=/^\s*\[[^\]]+?\]:.*$/,l=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,u=" ";function h(F,j,W){return j.f=j.inline=W,W(F,j)}function f(F,j,W){return j.f=j.block=W,W(F,j)}function g(F){return!F||!/\S/.test(F.string)}function v(F){if(F.linkTitle=!1,F.linkHref=!1,F.linkText=!1,F.em=!1,F.strong=!1,F.strikethrough=!1,F.quote=0,F.indentedCode=!1,F.f==E){var j=b;if(!j){var W=_.innerMode(A,F.htmlState);j=W.mode.name=="xml"&&W.state.tagStart===null&&!W.state.context&&W.state.tokenize.isInText}j&&(F.f=I,F.block=y,F.htmlState=null)}return F.trailingSpace=0,F.trailingSpaceNewLine=!1,F.prevLine=F.thisLine,F.thisLine={stream:null},null}function y(F,j){var W=F.column()===j.indentation,V=g(j.prevLine.stream),z=j.indentedCode,Y=j.prevLine.hr,J=j.list!==!1,ie=(j.listStack[j.listStack.length-1]||0)+3;j.indentedCode=!1;var Z=j.indentation;if(j.indentationDiff===null&&(j.indentationDiff=j.indentation,J)){for(j.list=null;Z<j.listStack[j.listStack.length-1];)j.listStack.pop(),j.listStack.length?j.indentation=j.listStack[j.listStack.length-1]:j.list=!1;j.list!==!1&&(j.indentationDiff=Z-j.listStack[j.listStack.length-1])}var oe=!V&&!Y&&!j.prevLine.header&&(!J||!z)&&!j.prevLine.fencedCodeEnd,ge=(j.list===!1||Y||V)&&j.indentation<=ie&&F.match(o),pe=null;if(j.indentationDiff>=4&&(z||j.prevLine.fencedCodeEnd||j.prevLine.header||V))return F.skipToEnd(),j.indentedCode=!0,p.code;if(F.eatSpace())return null;if(W&&j.indentation<=ie&&(pe=F.match(n))&&pe[1].length<=6)return j.quote=0,j.header=pe[1].length,j.thisLine.header=!0,C.highlightFormatting&&(j.formatting="header"),j.f=j.inline,w(j);if(j.indentation<=ie&&F.eat(">"))return j.quote=W?1:j.quote+1,C.highlightFormatting&&(j.formatting="quote"),F.eatSpace(),w(j);if(!ge&&!j.setext&&W&&j.indentation<=ie&&(pe=F.match(r))){var De=pe[1]?"ol":"ul";return j.indentation=Z+F.current().length,j.list=!0,j.quote=0,j.listStack.push(j.indentation),j.em=!1,j.strong=!1,j.code=!1,j.strikethrough=!1,C.taskLists&&F.match(i,!1)&&(j.taskList=!0),j.f=j.inline,C.highlightFormatting&&(j.formatting=["list","list-"+De]),w(j)}else{if(W&&j.indentation<=ie&&(pe=F.match(e,!0)))return j.quote=0,j.fencedEndRE=new RegExp(pe[1]+"+ *$"),j.localMode=C.fencedCodeBlockHighlighting&&m(pe[2]||C.fencedCodeBlockDefaultMode),j.localMode&&(j.localState=_.startState(j.localMode)),j.f=j.block=T,C.highlightFormatting&&(j.formatting="code-block"),j.code=-1,w(j);if(j.setext||(!oe||!J)&&!j.quote&&j.list===!1&&!j.code&&!ge&&!a.test(F.string)&&(pe=F.lookAhead(1))&&(pe=pe.match(t)))return j.setext?(j.header=j.setext,j.setext=0,F.skipToEnd(),C.highlightFormatting&&(j.formatting="header")):(j.header=pe[0].charAt(0)=="="?1:2,j.setext=j.header),j.thisLine.header=!0,j.f=j.inline,w(j);if(ge)return F.skipToEnd(),j.hr=!0,j.thisLine.hr=!0,p.hr;if(F.peek()==="[")return h(F,j,D)}return h(F,j,j.inline)}function E(F,j){var W=A.token(F,j.htmlState);if(!b){var V=_.innerMode(A,j.htmlState);(V.mode.name=="xml"&&V.state.tagStart===null&&!V.state.context&&V.state.tokenize.isInText||j.md_inside&&F.current().indexOf(">")>-1)&&(j.f=I,j.block=y,j.htmlState=null)}return W}function T(F,j){var W=j.listStack[j.listStack.length-1]||0,V=j.indentation<W,z=W+3;if(j.fencedEndRE&&j.indentation<=z&&(V||F.match(j.fencedEndRE))){C.highlightFormatting&&(j.formatting="code-block");var Y;return V||(Y=w(j)),j.localMode=j.localState=null,j.block=y,j.f=I,j.fencedEndRE=null,j.code=0,j.thisLine.fencedCodeEnd=!0,V?f(F,j,j.block):Y}else return j.localMode?j.localMode.token(F,j.localState):(F.skipToEnd(),p.code)}function w(F){var j=[];if(F.formatting){j.push(p.formatting),typeof F.formatting=="string"&&(F.formatting=[F.formatting]);for(var W=0;W<F.formatting.length;W++)j.push(p.formatting+"-"+F.formatting[W]),F.formatting[W]==="header"&&j.push(p.formatting+"-"+F.formatting[W]+"-"+F.header),F.formatting[W]==="quote"&&(!C.maxBlockquoteDepth||C.maxBlockquoteDepth>=F.quote?j.push(p.formatting+"-"+F.formatting[W]+"-"+F.quote):j.push("error"))}if(F.taskOpen)return j.push("meta"),j.length?j.join(" "):null;if(F.taskClosed)return j.push("property"),j.length?j.join(" "):null;if(F.linkHref?j.push(p.linkHref,"url"):(F.strong&&j.push(p.strong),F.em&&j.push(p.em),F.strikethrough&&j.push(p.strikethrough),F.emoji&&j.push(p.emoji),F.linkText&&j.push(p.linkText),F.code&&j.push(p.code),F.image&&j.push(p.image),F.imageAltText&&j.push(p.imageAltText,"link"),F.imageMarker&&j.push(p.imageMarker)),F.header&&j.push(p.header,p.header+"-"+F.header),F.quote&&(j.push(p.quote),!C.maxBlockquoteDepth||C.maxBlockquoteDepth>=F.quote?j.push(p.quote+"-"+F.quote):j.push(p.quote+"-"+C.maxBlockquoteDepth)),F.list!==!1){var V=(F.listStack.length-1)%3;V?V===1?j.push(p.list2):j.push(p.list3):j.push(p.list1)}return F.trailingSpaceNewLine?j.push("trailing-space-new-line"):F.trailingSpace&&j.push("trailing-space-"+(F.trailingSpace%2?"a":"b")),j.length?j.join(" "):null}function S(F,j){return F.match(s,!0)?w(j):void 0}function I(F,j){var W=j.text(F,j);if(typeof W!="undefined")return W;if(j.list)return j.list=null,w(j);if(j.taskList){var V=F.match(i,!0)[1]===" ";return V?j.taskOpen=!0:j.taskClosed=!0,C.highlightFormatting&&(j.formatting="task"),j.taskList=!1,w(j)}if(j.taskOpen=!1,j.taskClosed=!1,j.header&&F.match(/^#+$/,!0))return C.highlightFormatting&&(j.formatting="header"),w(j);var z=F.next();if(j.linkTitle){j.linkTitle=!1;var Y=z;z==="("&&(Y=")"),Y=(Y+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var J="^\\s*(?:[^"+Y+"\\\\]+|\\\\\\\\|\\\\.)"+Y;if(F.match(new RegExp(J),!0))return p.linkHref}if(z==="`"){var ie=j.formatting;C.highlightFormatting&&(j.formatting="code"),F.eatWhile("`");var Z=F.current().length;if(j.code==0&&(!j.quote||Z==1))return j.code=Z,w(j);if(Z==j.code){var oe=w(j);return j.code=0,oe}else return j.formatting=ie,w(j)}else if(j.code)return w(j);if(z==="\\"&&(F.next(),C.highlightFormatting)){var ge=w(j),pe=p.formatting+"-escape";return ge?ge+" "+pe:pe}if(z==="!"&&F.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return j.imageMarker=!0,j.image=!0,C.highlightFormatting&&(j.formatting="image"),w(j);if(z==="["&&j.imageMarker&&F.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return j.imageMarker=!1,j.imageAltText=!0,C.highlightFormatting&&(j.formatting="image"),w(j);if(z==="]"&&j.imageAltText){C.highlightFormatting&&(j.formatting="image");var ge=w(j);return j.imageAltText=!1,j.image=!1,j.inline=j.f=O,ge}if(z==="["&&!j.image)return j.linkText&&F.match(/^.*?\]/)||(j.linkText=!0,C.highlightFormatting&&(j.formatting="link")),w(j);if(z==="]"&&j.linkText){C.highlightFormatting&&(j.formatting="link");var ge=w(j);return j.linkText=!1,j.inline=j.f=F.match(/\(.*?\)| ?\[.*?\]/,!1)?O:I,ge}if(z==="<"&&F.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){j.f=j.inline=L,C.highlightFormatting&&(j.formatting="link");var ge=w(j);return ge?ge+=" ":ge="",ge+p.linkInline}if(z==="<"&&F.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){j.f=j.inline=L,C.highlightFormatting&&(j.formatting="link");var ge=w(j);return ge?ge+=" ":ge="",ge+p.linkEmail}if(C.xml&&z==="<"&&F.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var De=F.string.indexOf(">",F.pos);if(De!=-1){var ce=F.string.substring(F.start,De);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ce)&&(j.md_inside=!0)}return F.backUp(1),j.htmlState=_.startState(A),f(F,j,E)}if(C.xml&&z==="<"&&F.match(/^\/\w*?>/))return j.md_inside=!1,"tag";if(z==="*"||z==="_"){for(var Oe=1,se=F.pos==1?" ":F.string.charAt(F.pos-2);Oe<3&&F.eat(z);)Oe++;var $=F.peek()||" ",ze=!/\s/.test($)&&(!l.test($)||/\s/.test(se)||l.test(se)),re=!/\s/.test(se)&&(!l.test(se)||/\s/.test($)||l.test($)),X=null,G=null;if(Oe%2&&(!j.em&&ze&&(z==="*"||!re||l.test(se))?X=!0:j.em==z&&re&&(z==="*"||!ze||l.test($))&&(X=!1)),Oe>1&&(!j.strong&&ze&&(z==="*"||!re||l.test(se))?G=!0:j.strong==z&&re&&(z==="*"||!ze||l.test($))&&(G=!1)),G!=null||X!=null){C.highlightFormatting&&(j.formatting=X==null?"strong":G==null?"em":"strong em"),X===!0&&(j.em=z),G===!0&&(j.strong=z);var oe=w(j);return X===!1&&(j.em=!1),G===!1&&(j.strong=!1),oe}}else if(z===" "&&(F.eat("*")||F.eat("_"))){if(F.peek()===" ")return w(j);F.backUp(1)}if(C.strikethrough){if(z==="~"&&F.eatWhile(z)){if(j.strikethrough){C.highlightFormatting&&(j.formatting="strikethrough");var oe=w(j);return j.strikethrough=!1,oe}else if(F.match(/^[^\s]/,!1))return j.strikethrough=!0,C.highlightFormatting&&(j.formatting="strikethrough"),w(j)}else if(z===" "&&F.match(/^~~/,!0)){if(F.peek()===" ")return w(j);F.backUp(2)}}if(C.emoji&&z===":"&&F.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){j.emoji=!0,C.highlightFormatting&&(j.formatting="emoji");var Q=w(j);return j.emoji=!1,Q}return z===" "&&(F.match(/^ +$/,!1)?j.trailingSpace++:j.trailingSpace&&(j.trailingSpaceNewLine=!0)),w(j)}function L(F,j){var W=F.next();if(W===">"){j.f=j.inline=I,C.highlightFormatting&&(j.formatting="link");var V=w(j);return V?V+=" ":V="",V+p.linkInline}return F.match(/^[^>]+/,!0),p.linkInline}function O(F,j){if(F.eatSpace())return null;var W=F.next();return W==="("||W==="["?(j.f=j.inline=R(W==="("?")":"]"),C.highlightFormatting&&(j.formatting="link-string"),j.linkHref=!0,w(j)):"error"}var N={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function R(F){return function(j,W){var V=j.next();if(V===F){W.f=W.inline=I,C.highlightFormatting&&(W.formatting="link-string");var z=w(W);return W.linkHref=!1,z}return j.match(N[F]),W.linkHref=!0,w(W)}}function D(F,j){return F.match(/^([^\]\\]|\\.)*\]:/,!1)?(j.f=B,F.next(),C.highlightFormatting&&(j.formatting="link"),j.linkText=!0,w(j)):h(F,j,I)}function B(F,j){if(F.match(/^\]:/,!0)){j.f=j.inline=M,C.highlightFormatting&&(j.formatting="link");var W=w(j);return j.linkText=!1,W}return F.match(/^([^\]\\]|\\.)+/,!0),p.linkText}function M(F,j){return F.eatSpace()?null:(F.match(/^[^\s]+/,!0),F.peek()===void 0?j.linkTitle=!0:F.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),j.f=j.inline=I,p.linkHref+" url")}var U={startState:function(){return{f:y,prevLine:{stream:null},thisLine:{stream:null},block:y,htmlState:null,indentation:0,inline:I,text:S,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(j){return{f:j.f,prevLine:j.prevLine,thisLine:j.thisLine,block:j.block,htmlState:j.htmlState&&_.copyState(A,j.htmlState),indentation:j.indentation,localMode:j.localMode,localState:j.localMode?_.copyState(j.localMode,j.localState):null,inline:j.inline,text:j.text,formatting:!1,linkText:j.linkText,linkTitle:j.linkTitle,linkHref:j.linkHref,code:j.code,em:j.em,strong:j.strong,strikethrough:j.strikethrough,emoji:j.emoji,header:j.header,setext:j.setext,hr:j.hr,taskList:j.taskList,list:j.list,listStack:j.listStack.slice(0),quote:j.quote,indentedCode:j.indentedCode,trailingSpace:j.trailingSpace,trailingSpaceNewLine:j.trailingSpaceNewLine,md_inside:j.md_inside,fencedEndRE:j.fencedEndRE}},token:function(j,W){if(W.formatting=!1,j!=W.thisLine.stream){if(W.header=0,W.hr=!1,j.match(/^\s*$/,!0))return v(W),null;if(W.prevLine=W.thisLine,W.thisLine={stream:j},W.taskList=!1,W.trailingSpace=0,W.trailingSpaceNewLine=!1,!W.localState&&(W.f=W.block,W.f!=E)){var V=j.match(/^\s*/,!0)[0].replace(/\t/g,u).length;if(W.indentation=V,W.indentationDiff=null,V>0)return null}}return W.f(j,W)},innerMode:function(j){return j.block==E?{state:j.htmlState,mode:A}:j.localState?{state:j.localState,mode:j.localMode}:{state:j,mode:U}},indent:function(j,W,V){return j.block==E&&A.indent?A.indent(j.htmlState,W,V):j.localState&&j.localMode.indent?j.localMode.indent(j.localState,W,V):_.Pass},blankLine:v,getType:w,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return U},"xml"),_.defineMIME("text/markdown","markdown"),_.defineMIME("text/x-markdown","markdown")})},laiN:function(H,k,d){var _=d("ProS");d("GVMX"),d("MH26"),_.registerPreprocessor(function(x){x.markLine=x.markLine||{}})},lnY3:function(H,k,d){},loD1:function(H,k){function d(_,x,C,A,b,m,p){if(b===0)return!1;var c=b,o=0,r=_;if(p>x+c&&p>A+c||p<x-c&&p<A-c||m>_+c&&m>C+c||m<_-c&&m<C-c)return!1;if(_!==C)o=(x-A)/(_-C),r=(_*A-C*x)/(_-C);else return Math.abs(m-_)<=c/2;var i=o*m-p+r,n=i*i/(o*o+1);return n<=c/2*c/2}k.containStroke=d},lrIw:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("cDf5"),A=d.n(C),b=d("J4zp"),m=d.n(b),p=d("q1tI"),c=d.n(p),o=d("Zm9Q"),r=d("TSYQ"),i=d.n(r),n=d("BGR+"),t=d("2fM7"),s=d("H84U"),e=d("uaoM"),a=d("0n0R"),l=t.a.Option,u=t.a;function h(v){return v&&v.type&&(v.type.isSelectOption||v.type.isSelectOptGroup)}var f=function(y,E){var T=y.prefixCls,w=y.className,S=y.children,I=y.dataSource,L=Object(o.a)(S),O=p.useRef();p.useImperativeHandle(E,function(){return O.current});var N;if(L.length===1&&Object(a.b)(L[0])&&!h(L[0])){var R=m()(L,1);N=R[0]}var D=function(){return N},B;return L.length&&h(L[0])?B=S:B=I?I.map(function(M){if(Object(a.b)(M))return M;switch(A()(M)){case"string":return p.createElement(l,{key:M,value:M},M);case"object":{var U=M.value;return p.createElement(l,{key:U,value:U},M.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],p.useEffect(function(){Object(e.a)(!("dataSource"in y),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(e.a)(!N||!("size"in y),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),p.createElement(s.a,null,function(M){var U=M.getPrefixCls,F=U("select",T);return p.createElement(u,x()({ref:O},Object(n.default)(y,["dataSource"]),{prefixCls:F,className:i()(w,"".concat(F,"-auto-complete")),mode:t.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:D}),B)})},g=p.forwardRef(f);g.Option=l,k.a=g},lwQL:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("9wZj"),A=d("c8qY"),b=d("SgGq"),m=d("Ae+d"),p=d("xSat"),c=p.onIrrelevantElement,o=d("IwbS"),r=d("SA8n"),i=d("U/Mo"),n=i.getNodeGlobalScale,t="__focusNodeAdjacency",s="__unfocusNodeAdjacency",e=["itemStyle","opacity"],a=["lineStyle","opacity"];function l(g,v){var y=g.getVisual("opacity");return y!=null?y:g.getModel().get(v)}function u(g,v,y){var E=g.getGraphicEl(),T=l(g,v);y!=null&&(T==null&&(T=1),T*=y),E.downplay&&E.downplay(),E.traverse(function(w){if(!w.isGroup){var S=w.lineLabelOriginalOpacity;(S==null||y!=null)&&(S=T),w.setStyle("opacity",S)}})}function h(g,v){var y=l(g,v),E=g.getGraphicEl();E.traverse(function(T){!T.isGroup&&T.setStyle("opacity",y)}),E.highlight&&E.highlight()}var f=_.extendChartView({type:"graph",init:function(g,v){var y=new C,E=new A,T=this.group;this._controller=new b(v.getZr()),this._controllerHost={target:T},T.add(y.group),T.add(E.group),this._symbolDraw=y,this._lineDraw=E,this._firstRender=!0},render:function(g,v,y){var E=this,T=g.coordinateSystem;this._model=g;var w=this._symbolDraw,S=this._lineDraw,I=this.group;if(T.type==="view"){var L={position:T.position,scale:T.scale};this._firstRender?I.attr(L):o.updateProps(I,L,g)}r(g.getGraph(),n(g));var O=g.getData();w.updateData(O);var N=g.getEdgeData();S.updateData(N),this._updateNodeAndLinkScale(),this._updateController(g,v,y),clearTimeout(this._layoutTimeout);var R=g.forceLayout,D=g.get("force.layoutAnimation");R&&this._startForceLayoutIteration(R,D),O.eachItemGraphicEl(function(F,j){var W=O.getItemModel(j);F.off("drag").off("dragend");var V=W.get("draggable");V&&F.on("drag",function(){R&&(R.warmUp(),!this._layouting&&this._startForceLayoutIteration(R,D),R.setFixed(j),O.setItemLayout(j,F.position))},this).on("dragend",function(){R&&R.setUnfixed(j)},this),F.setDraggable(V&&R),F[t]&&F.off("mouseover",F[t]),F[s]&&F.off("mouseout",F[s]),W.get("focusNodeAdjacency")&&(F.on("mouseover",F[t]=function(){E._clearTimer(),y.dispatchAction({type:"focusNodeAdjacency",seriesId:g.id,dataIndex:F.dataIndex})}),F.on("mouseout",F[s]=function(){E._dispatchUnfocus(y)}))},this),O.graph.eachEdge(function(F){var j=F.getGraphicEl();j[t]&&j.off("mouseover",j[t]),j[s]&&j.off("mouseout",j[s]),F.getModel().get("focusNodeAdjacency")&&(j.on("mouseover",j[t]=function(){E._clearTimer(),y.dispatchAction({type:"focusNodeAdjacency",seriesId:g.id,edgeDataIndex:F.dataIndex})}),j.on("mouseout",j[s]=function(){E._dispatchUnfocus(y)}))});var B=g.get("layout")==="circular"&&g.get("circular.rotateLabel"),M=O.getLayout("cx"),U=O.getLayout("cy");O.eachItemGraphicEl(function(F,j){var W=O.getItemModel(j),V=W.get("label.rotate")||0,z=F.getSymbolPath();if(B){var Y=O.getItemLayout(j),J=Math.atan2(Y[1]-U,Y[0]-M);J<0&&(J=Math.PI*2+J);var ie=Y[0]<M;ie&&(J=J-Math.PI);var Z=ie?"left":"right";o.modifyLabelStyle(z,{textRotation:-J,textPosition:Z,textOrigin:"center"},{textPosition:Z})}else o.modifyLabelStyle(z,{textRotation:V*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(g,v){var y=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){y._unfocusDelayTimer=null,g.dispatchAction({type:"unfocusNodeAdjacency",seriesId:y._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(g,v,y,E){var T=g.getData(),w=T.graph,S=E.dataIndex,I=E.edgeDataIndex,L=w.getNodeByIndex(S),O=w.getEdgeByIndex(I);if(!L&&!O)return;w.eachNode(function(N){u(N,e,.1)}),w.eachEdge(function(N){u(N,a,.1)}),L&&(h(L,e),x.each(L.edges,function(N){if(N.dataIndex<0)return;h(N,a),h(N.node1,e),h(N.node2,e)})),O&&(h(O,a),h(O.node1,e),h(O.node2,e))},unfocusNodeAdjacency:function(g,v,y,E){var T=g.getData().graph;T.eachNode(function(w){u(w,e)}),T.eachEdge(function(w){u(w,a)})},_startForceLayoutIteration:function(g,v){var y=this;(function E(){g.step(function(T){y.updateLayout(y._model),(y._layouting=!T)&&(v?y._layoutTimeout=setTimeout(E,16):E())})})()},_updateController:function(g,v,y){var E=this._controller,T=this._controllerHost,w=this.group;if(E.setPointerChecker(function(S,I,L){var O=w.getBoundingRect();return O.applyTransform(w.transform),O.contain(I,L)&&!c(S,y,g)}),g.coordinateSystem.type!=="view"){E.disable();return}E.enable(g.get("roam")),T.zoomLimit=g.get("scaleLimit"),T.zoom=g.coordinateSystem.getZoom(),E.off("pan").off("zoom").on("pan",function(S){m.updateViewOnPan(T,S.dx,S.dy),y.dispatchAction({seriesId:g.id,type:"graphRoam",dx:S.dx,dy:S.dy})}).on("zoom",function(S){m.updateViewOnZoom(T,S.scale,S.originX,S.originY),y.dispatchAction({seriesId:g.id,type:"graphRoam",zoom:S.scale,originX:S.originX,originY:S.originY}),this._updateNodeAndLinkScale(),r(g.getGraph(),n(g)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var g=this._model,v=g.getData(),y=n(g),E=[y,y];v.eachItemGraphicEl(function(T,w){T.attr("scale",E)})},updateLayout:function(g){r(g.getGraph(),n(g)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(g,v){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});H.exports=f},m9t5:function(H,k,d){var _=d("KCsZ"),x=_([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),C={getAreaStyle:function(A,b){return x(this,A,b)}};H.exports=C},mFDi:function(H,k,d){var _=d("QBsz"),x=d("Fofx"),C=_.applyTransform,A=Math.min,b=Math.max;function m(c,o,r,i){r<0&&(c=c+r,r=-r),i<0&&(o=o+i,i=-i),this.x=c,this.y=o,this.width=r,this.height=i}m.prototype={constructor:m,union:function(o){var r=A(o.x,this.x),i=A(o.y,this.y);this.width=b(o.x+o.width,this.x+this.width)-r,this.height=b(o.y+o.height,this.y+this.height)-i,this.x=r,this.y=i},applyTransform:function(){var c=[],o=[],r=[],i=[];return function(n){if(!n)return;c[0]=r[0]=this.x,c[1]=i[1]=this.y,o[0]=i[0]=this.x+this.width,o[1]=r[1]=this.y+this.height,C(c,c,n),C(o,o,n),C(r,r,n),C(i,i,n),this.x=A(c[0],o[0],r[0],i[0]),this.y=A(c[1],o[1],r[1],i[1]);var t=b(c[0],o[0],r[0],i[0]),s=b(c[1],o[1],r[1],i[1]);this.width=t-this.x,this.height=s-this.y}}(),calculateTransform:function(o){var r=this,i=o.width/r.width,n=o.height/r.height,t=x.create();return x.translate(t,t,[-r.x,-r.y]),x.scale(t,t,[i,n]),x.translate(t,t,[o.x,o.y]),t},intersect:function(o){if(!o)return!1;o instanceof m||(o=m.create(o));var r=this,i=r.x,n=r.x+r.width,t=r.y,s=r.y+r.height,e=o.x,a=o.x+o.width,l=o.y,u=o.y+o.height;return!(n<e||a<i||s<l||u<t)},contain:function(o,r){var i=this;return o>=i.x&&o<=i.x+i.width&&r>=i.y&&r<=i.y+i.height},clone:function(){return new m(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}}},m.create=function(c){return new m(c.x,c.y,c.width,c.height)};var p=m;H.exports=p},mHUz:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _={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};k.default=_},mLcG:function(H,k){var d=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(_){setTimeout(_,16)};H.exports=d},"mO/d":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("I9Y+"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},mOdp:function(H,k,d){var _=d("bYtY"),x=_.createHashMap;function C(A){return{getTargetSeries:function(b){var m={},p=x();return b.eachSeriesByType(A,function(c){c.__paletteScope=m,p.set(c.uid,c)}),p},reset:function(b,m){var p=b.getRawData(),c={},o=b.getData();o.each(function(r){var i=o.getRawIndex(r);c[i]=r}),p.each(function(r){var i=c[r],n=i!=null&&o.getItemVisual(i,"color",!0),t=i!=null&&o.getItemVisual(i,"borderColor",!0),s;if((!n||!t)&&(s=p.getItemModel(r)),!n){var e=s.get("itemStyle.color")||b.getColorFromPalette(p.getName(r)||r+"",b.__paletteScope,p.count());i!=null&&o.setItemVisual(i,"color",e)}if(!t){var a=s.get("itemStyle.borderColor");i!=null&&o.setItemVisual(i,"borderColor",a)}})}}}H.exports=C},mTgk:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("mHUz"));function x(c){return c&&c.__esModule?c:{default:c}}var C={};function A(c,o){if(o===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in C)throw new Error('Duplicate entry for key "'+c+'"');C[c]=[o,o,o,o]}function b(c,o,r){if(o===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in C)throw new Error('Duplicate entry for key "'+c+'"');C[c]=[o,o,r,o]}function m(c,o,r){if(o===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in C)throw new Error('Duplicate entry for key "'+c+'"');C[c]=[o,o,o,r]}b("Alt",_.default.XK_Alt_L,_.default.XK_Alt_R),A("AltGraph",_.default.XK_ISO_Level3_Shift),A("CapsLock",_.default.XK_Caps_Lock),b("Control",_.default.XK_Control_L,_.default.XK_Control_R),b("Meta",_.default.XK_Super_L,_.default.XK_Super_R),A("NumLock",_.default.XK_Num_Lock),A("ScrollLock",_.default.XK_Scroll_Lock),b("Shift",_.default.XK_Shift_L,_.default.XK_Shift_R),m("Enter",_.default.XK_Return,_.default.XK_KP_Enter),A("Tab",_.default.XK_Tab),m(" ",_.default.XK_space,_.default.XK_KP_Space),m("ArrowDown",_.default.XK_Down,_.default.XK_KP_Down),m("ArrowUp",_.default.XK_Up,_.default.XK_KP_Up),m("ArrowLeft",_.default.XK_Left,_.default.XK_KP_Left),m("ArrowRight",_.default.XK_Right,_.default.XK_KP_Right),m("End",_.default.XK_End,_.default.XK_KP_End),m("Home",_.default.XK_Home,_.default.XK_KP_Home),m("PageDown",_.default.XK_Next,_.default.XK_KP_Next),m("PageUp",_.default.XK_Prior,_.default.XK_KP_Prior),A("Backspace",_.default.XK_BackSpace),m("Clear",_.default.XK_Clear,_.default.XK_KP_Begin),A("Copy",_.default.XF86XK_Copy),A("Cut",_.default.XF86XK_Cut),m("Delete",_.default.XK_Delete,_.default.XK_KP_Delete),m("Insert",_.default.XK_Insert,_.default.XK_KP_Insert),A("Paste",_.default.XF86XK_Paste),A("Redo",_.default.XK_Redo),A("Undo",_.default.XK_Undo),A("Cancel",_.default.XK_Cancel),A("ContextMenu",_.default.XK_Menu),A("Escape",_.default.XK_Escape),A("Execute",_.default.XK_Execute),A("Find",_.default.XK_Find),A("Help",_.default.XK_Help),A("Pause",_.default.XK_Pause),A("Select",_.default.XK_Select),A("ZoomIn",_.default.XF86XK_ZoomIn),A("ZoomOut",_.default.XF86XK_ZoomOut),A("BrightnessDown",_.default.XF86XK_MonBrightnessDown),A("BrightnessUp",_.default.XF86XK_MonBrightnessUp),A("Eject",_.default.XF86XK_Eject),A("LogOff",_.default.XF86XK_LogOff),A("Power",_.default.XF86XK_PowerOff),A("PowerOff",_.default.XF86XK_PowerDown),A("PrintScreen",_.default.XK_Print),A("Hibernate",_.default.XF86XK_Hibernate),A("Standby",_.default.XF86XK_Standby),A("WakeUp",_.default.XF86XK_WakeUp),A("AllCandidates",_.default.XK_MultipleCandidate),A("Alphanumeric",_.default.XK_Eisu_Shift),A("CodeInput",_.default.XK_Codeinput),A("Compose",_.default.XK_Multi_key),A("Convert",_.default.XK_Henkan),A("GroupFirst",_.default.XK_ISO_First_Group),A("GroupLast",_.default.XK_ISO_Last_Group),A("GroupNext",_.default.XK_ISO_Next_Group),A("GroupPrevious",_.default.XK_ISO_Prev_Group),A("NonConvert",_.default.XK_Muhenkan),A("PreviousCandidate",_.default.XK_PreviousCandidate),A("SingleCandidate",_.default.XK_SingleCandidate),A("HangulMode",_.default.XK_Hangul),A("HanjaMode",_.default.XK_Hangul_Hanja),A("JunjuaMode",_.default.XK_Hangul_Jeonja),A("Eisu",_.default.XK_Eisu_toggle),A("Hankaku",_.default.XK_Hankaku),A("Hiragana",_.default.XK_Hiragana),A("HiraganaKatakana",_.default.XK_Hiragana_Katakana),A("KanaMode",_.default.XK_Kana_Shift),A("KanjiMode",_.default.XK_Kanji),A("Katakana",_.default.XK_Katakana),A("Romaji",_.default.XK_Romaji),A("Zenkaku",_.default.XK_Zenkaku),A("ZenkakuHanaku",_.default.XK_Zenkaku_Hankaku),A("F1",_.default.XK_F1),A("F2",_.default.XK_F2),A("F3",_.default.XK_F3),A("F4",_.default.XK_F4),A("F5",_.default.XK_F5),A("F6",_.default.XK_F6),A("F7",_.default.XK_F7),A("F8",_.default.XK_F8),A("F9",_.default.XK_F9),A("F10",_.default.XK_F10),A("F11",_.default.XK_F11),A("F12",_.default.XK_F12),A("F13",_.default.XK_F13),A("F14",_.default.XK_F14),A("F15",_.default.XK_F15),A("F16",_.default.XK_F16),A("F17",_.default.XK_F17),A("F18",_.default.XK_F18),A("F19",_.default.XK_F19),A("F20",_.default.XK_F20),A("F21",_.default.XK_F21),A("F22",_.default.XK_F22),A("F23",_.default.XK_F23),A("F24",_.default.XK_F24),A("F25",_.default.XK_F25),A("F26",_.default.XK_F26),A("F27",_.default.XK_F27),A("F28",_.default.XK_F28),A("F29",_.default.XK_F29),A("F30",_.default.XK_F30),A("F31",_.default.XK_F31),A("F32",_.default.XK_F32),A("F33",_.default.XK_F33),A("F34",_.default.XK_F34),A("F35",_.default.XK_F35),A("Close",_.default.XF86XK_Close),A("MailForward",_.default.XF86XK_MailForward),A("MailReply",_.default.XF86XK_Reply),A("MailSend",_.default.XF86XK_Send),A("MediaFastForward",_.default.XF86XK_AudioForward),A("MediaPause",_.default.XF86XK_AudioPause),A("MediaPlay",_.default.XF86XK_AudioPlay),A("MediaRecord",_.default.XF86XK_AudioRecord),A("MediaRewind",_.default.XF86XK_AudioRewind),A("MediaStop",_.default.XF86XK_AudioStop),A("MediaTrackNext",_.default.XF86XK_AudioNext),A("MediaTrackPrevious",_.default.XF86XK_AudioPrev),A("New",_.default.XF86XK_New),A("Open",_.default.XF86XK_Open),A("Print",_.default.XK_Print),A("Save",_.default.XF86XK_Save),A("SpellCheck",_.default.XF86XK_Spell),A("AudioVolumeDown",_.default.XF86XK_AudioLowerVolume),A("AudioVolumeUp",_.default.XF86XK_AudioRaiseVolume),A("AudioVolumeMute",_.default.XF86XK_AudioMute),A("MicrophoneVolumeMute",_.default.XF86XK_AudioMicMute),A("LaunchApplication1",_.default.XF86XK_MyComputer),A("LaunchApplication2",_.default.XF86XK_Calculator),A("LaunchCalendar",_.default.XF86XK_Calendar),A("LaunchMail",_.default.XF86XK_Mail),A("LaunchMediaPlayer",_.default.XF86XK_AudioMedia),A("LaunchMusicPlayer",_.default.XF86XK_Music),A("LaunchPhone",_.default.XF86XK_Phone),A("LaunchScreenSaver",_.default.XF86XK_ScreenSaver),A("LaunchSpreadsheet",_.default.XF86XK_Excel),A("LaunchWebBrowser",_.default.XF86XK_WWW),A("LaunchWebCam",_.default.XF86XK_WebCam),A("LaunchWordProcessor",_.default.XF86XK_Word),A("BrowserBack",_.default.XF86XK_Back),A("BrowserFavorites",_.default.XF86XK_Favorites),A("BrowserForward",_.default.XF86XK_Forward),A("BrowserHome",_.default.XF86XK_HomePage),A("BrowserRefresh",_.default.XF86XK_Refresh),A("BrowserSearch",_.default.XF86XK_Search),A("BrowserStop",_.default.XF86XK_Stop),A("Dimmer",_.default.XF86XK_BrightnessAdjust),A("MediaAudioTrack",_.default.XF86XK_AudioCycleTrack),A("RandomToggle",_.default.XF86XK_AudioRandomPlay),A("SplitScreenToggle",_.default.XF86XK_SplitScreen),A("Subtitle",_.default.XF86XK_Subtitle),A("VideoModeNext",_.default.XF86XK_Next_VMode),m("=",_.default.XK_equal,_.default.XK_KP_Equal),m("+",_.default.XK_plus,_.default.XK_KP_Add),m("-",_.default.XK_minus,_.default.XK_KP_Subtract),m("*",_.default.XK_asterisk,_.default.XK_KP_Multiply),m("/",_.default.XK_slash,_.default.XK_KP_Divide),m(".",_.default.XK_period,_.default.XK_KP_Decimal),m(",",_.default.XK_comma,_.default.XK_KP_Separator),m("0",_.default.XK_0,_.default.XK_KP_0),m("1",_.default.XK_1,_.default.XK_KP_1),m("2",_.default.XK_2,_.default.XK_KP_2),m("3",_.default.XK_3,_.default.XK_KP_3),m("4",_.default.XK_4,_.default.XK_KP_4),m("5",_.default.XK_5,_.default.XK_KP_5),m("6",_.default.XK_6,_.default.XK_KP_6),m("7",_.default.XK_7,_.default.XK_KP_7),m("8",_.default.XK_8,_.default.XK_KP_8),m("9",_.default.XK_9,_.default.XK_KP_9);var p=C;k.default=p},mYwL:function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("6GrX"),A=Math.PI;function b(m,p){p=p||{},_.defaults(p,{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 x.Group,o=new x.Rect({style:{fill:p.maskColor},zlevel:p.zlevel,z:1e4});c.add(o);var r=p.fontSize+" sans-serif",i=new x.Rect({style:{fill:"none",text:p.text,font:r,textPosition:"right",textDistance:10,textFill:p.textColor},zlevel:p.zlevel,z:10001});if(c.add(i),p.showSpinner){var n=new x.Arc({shape:{startAngle:-A/2,endAngle:-A/2+.1,r:p.spinnerRadius},style:{stroke:p.color,lineCap:"round",lineWidth:p.lineWidth},zlevel:p.zlevel,z:10001});n.animateShape(!0).when(1e3,{endAngle:A*3/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:A*3/2}).delay(300).start("circularInOut"),c.add(n)}return c.resize=function(){var t=C.getWidth(p.text,r),s=p.showSpinner?p.spinnerRadius:0,e=(m.getWidth()-s*2-(p.showSpinner&&t?10:0)-t)/2-(p.showSpinner?0:t/2),a=m.getHeight()/2;p.showSpinner&&n.setShape({cx:e,cy:a}),i.setShape({x:e-s,y:a-s,width:s*2,height:s*2}),o.setShape({x:0,y:0,width:m.getWidth(),height:m.getHeight()})},c.resize(),c}H.exports=b},mdZa:function(H,k,d){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(x,C){"use strict";if(x==null)throw new TypeError("Cannot convert undefined or null to object");for(var A=Object(x),b=1;b<arguments.length;b++){var m=arguments[b];if(m!=null)for(var p in m)Object.prototype.hasOwnProperty.call(m,p)&&(A[p]=m[p])}return A},writable:!0,configurable:!0}),function(){function _(x,C){C=C||{bubbles:!1,cancelable:!1,detail:void 0};var A=document.createEvent("CustomEvent");return A.initCustomEvent(x,C.bubbles,C.cancelable,C.detail),A}_.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=_)}(),Number.isInteger=Number.isInteger||function(x){return typeof x=="number"&&isFinite(x)&&Math.floor(x)===x}},mr32:function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("J4zp"),m=d.n(b),p=d("q1tI"),c=d("TSYQ"),o=d.n(c),r=d("BGR+"),i=d("V/uB"),n=d.n(i),t=d("H84U"),s=function(T,w){var S={};for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&w.indexOf(I)<0&&(S[I]=T[I]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,I=Object.getOwnPropertySymbols(T);L<I.length;L++)w.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(T,I[L])&&(S[I[L]]=T[I[L]]);return S},e=function(w){var S,I=p.useContext(t.b),L=I.getPrefixCls,O=function(j){var W=w.checked,V=w.onChange,z=w.onClick;V&&V(!W),z&&z(j)},N=w.prefixCls,R=w.className,D=w.checked,B=s(w,["prefixCls","className","checked"]),M=L("tag",N),U=o()(M,(S={},x()(S,"".concat(M,"-checkable"),!0),x()(S,"".concat(M,"-checkable-checked"),D),S),R);return delete B.onChange,p.createElement("span",A()({},B,{className:U,onClick:O}))},a=e,l=d("09Wf"),u=d("g0mS"),h=function(T,w){var S={};for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&w.indexOf(I)<0&&(S[I]=T[I]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,I=Object.getOwnPropertySymbols(T);L<I.length;L++)w.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(T,I[L])&&(S[I[L]]=T[I[L]]);return S},f=new RegExp("^(".concat(l.a.join("|"),")(-inverse)?$")),g=new RegExp("^(".concat(l.b.join("|"),")$")),v=function(w,S){var I,L=w.prefixCls,O=w.className,N=w.style,R=w.children,D=w.icon,B=w.color,M=w.onClose,U=w.closeIcon,F=w.closable,j=F===void 0?!1:F,W=h(w,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),V=p.useContext(t.b),z=V.getPrefixCls,Y=V.direction,J=p.useState(!0),ie=m()(J,2),Z=ie[0],oe=ie[1];p.useEffect(function(){"visible"in W&&oe(W.visible)},[W.visible]);var ge=function(){return B?f.test(B)||g.test(B):!1},pe=A()({backgroundColor:B&&!ge()?B:void 0},N),De=ge(),ce=z("tag",L),Oe=o()(ce,(I={},x()(I,"".concat(ce,"-").concat(B),De),x()(I,"".concat(ce,"-has-color"),B&&!De),x()(I,"".concat(ce,"-hidden"),!Z),x()(I,"".concat(ce,"-rtl"),Y==="rtl"),I),O),se=function(de){if(de.stopPropagation(),M&&M(de),de.defaultPrevented)return;"visible"in W||oe(!1)},$=function(){return j?U?p.createElement("div",{className:"".concat(ce,"-close-icon"),onClick:se},U):p.createElement(n.a,{className:"".concat(ce,"-close-icon"),onClick:se}):null},ze="onClick"in W||R&&R.type==="a",re=Object(r.default)(W,["visible"]),X=D||null,G=X?p.createElement(p.Fragment,null,X,p.createElement("span",null,R)):R,Q=p.createElement("span",A()({},re,{ref:S,className:Oe,style:pe}),G,$());return ze?p.createElement(u.a,null,Q):Q},y=p.forwardRef(v);y.displayName="Tag",y.CheckableTag=a;var E=k.a=y},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(H){if(!0)module.exports=H();else var k})(function(){var define,module,exports;return function(){function H(k,d,_){function x(b,m){if(!d[b]){if(!k[b]){var p=typeof require=="function"&&require;if(!m&&p)return require(b,!0);if(C)return C(b,!0);var c=new Error("Cannot find module '"+b+"'");throw c.code="MODULE_NOT_FOUND",c}var o=d[b]={exports:{}};k[b][0].call(o.exports,function(r){var i=k[b][1][r];return x(i||r)},o,o.exports,H,k,d,_)}return d[b].exports}for(var C=typeof require=="function"&&require,A=0;A<_.length;A++)x(_[A]);return x}return H}()({1:[function(H,k,d){"use strict";var _=H("./browser/client");_.Buffer=H("buffer").Buffer,_.urllib=H("../shims/xhr"),_.version=H("./browser/version").version,k.exports=_},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(H,k,d){(function(_,x){"use strict";var C=H("babel-runtime/core-js/promise"),A=o(C),b=H("babel-runtime/regenerator"),m=o(b),p=H("babel-runtime/core-js/object/assign"),c=o(p);function o(D){return D&&D.__esModule?D:{default:D}}var r=H("debug")("ali-oss"),i=H("copy-to"),n=H("xml2js"),t=H("agentkeepalive"),s=H("merge-descriptors"),e=H("url"),a=H("is-type-of"),l=H("platform"),u=H("utility"),h=H("urllib"),f=H("./version"),g=H("bowser"),v=H("../common/signUtils"),y=H("../common/utils/isIP"),E=y.isIP,T=H("../common/client/initOptions"),w=H("../common/utils/createRequest"),S=w.createRequest,I=new t;function L(){var D=l.name,B=l.version;D&&D.toLowerCase&&D.toLowerCase()==="ie"&&B.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function O(){return location&&location.protocol==="https:"}function N(D,B){if(L(),!(this instanceof N))return new N(D,B);D&&D.inited?this.options=D:this.options=N.initOptions(D),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=h,this.agent=this.options.agent||I),this.ctx=B,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}k.exports=N,N.initOptions=function(B){B.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var M=(0,c.default)({secure:O(),useFetch:!1},B);return T(M)};var R=N.prototype;R.debug=r,s(R,H("./object")),s(R,H("../common/bucket/getBucketWebsite")),s(R,H("../common/bucket/putBucketWebsite")),s(R,H("../common/bucket/deleteBucketWebsite")),s(R,H("../common/bucket/getBucketLifecycle")),s(R,H("../common/bucket/putBucketLifecycle")),s(R,H("../common/bucket/deleteBucketLifecycle")),s(R,H("../common/bucket/putBucketVersioning")),s(R,H("../common/bucket/getBucketVersioning")),s(R,H("./managed-upload")),s(R,H("../common/multipart")),s(R,H("../common/parallel")),R.signature=function(B){return this.debug("authorization stringToSign: %s",B,"info"),v.computeSignature(this.options.accessKeySecret,B)},R.authorization=function(B,M,U,F){var j=v.buildCanonicalString(B.toUpperCase(),M,{headers:F,parameters:U});return v.authorization(this.options.accessKeyId,this.options.accessKeySecret,j)},R.request=function(B){var M,U,F,j,W,V;return m.default.async(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return M=S.call(this,B),this.options.useFetch||(M.params.mode="disable-fetch"),U=void 0,F=void 0,j=!!B.stream,Y.prev=5,Y.next=8,m.default.awrap(this.urllib.request(M.url,M.params));case 8:U=Y.sent,this.debug("response %s %s, got %s, headers: %j",B.method,M.url,U.status,U.headers,"info"),Y.next=15;break;case 12:Y.prev=12,Y.t0=Y.catch(5),F=Y.t0;case 15:if(W=void 0,!(U&&B.successStatuses&&B.successStatuses.indexOf(U.status)===-1)){Y.next=28;break}return Y.next=19,m.default.awrap(this.requestError(U));case 19:if(W=Y.sent,!(W.code==="RequestTimeTooSkewed"&&!j)){Y.next=25;break}return this.options.amendTimeSkewed=+new Date(W.serverTime)-new Date,Y.next=24,m.default.awrap(this.request(B));case 24:return Y.abrupt("return",Y.sent);case 25:W.params=B,Y.next=32;break;case 28:if(!F){Y.next=32;break}return Y.next=31,m.default.awrap(this.requestError(F));case 31:W=Y.sent;case 32:if(!W){Y.next=34;break}throw W;case 34:if(!B.xmlResponse){Y.next=39;break}return Y.next=37,m.default.awrap(this.parseXML(U.data));case 37:V=Y.sent,U.data=V;case 39:return Y.abrupt("return",U);case 40:case"end":return Y.stop()}},null,this,[[5,12]])},R._getResource=function(B){var M="/";return B.bucket&&(M+=B.bucket+"/"),B.object&&(M+=B.object),M},R._isIP=E,R._escape=function(B){return u.encodeURIComponent(B).replace(/%2F/g,"/")},R._getReqUrl=function(B){var M={};i(this.options.endpoint).to(M);var U=this._isIP(M.hostname),F=this.options.cname;B.bucket&&!F&&!U&&(M.host=B.bucket+"."+M.host);var j="/";B.bucket&&U&&(j+=B.bucket+"/"),B.object&&(j+=this._escape(B.object).replace(/\+/g,"%2B")),M.pathname=j;var W={};if(B.query&&s(W,B.query),B.subres){var V={};a.string(B.subres)?V[B.subres]="":a.array(B.subres)?B.subres.forEach(function(z){V[z]=""}):V=B.subres,s(W,V)}return M.query=W,e.format(M)},R._getUserAgent=function(){var B=x&&x.browser?"js":"nodejs",M="aliyun-sdk-"+B+"/"+f.version,U=l.description;return!U&&x&&(U="Node.js "+x.version.slice(1)+" on "+x.platform+" "+x.arch),this._checkUserAgent(M+" "+U)},R._checkUserAgent=function(B){var M=B.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return M},R.checkBrowserAndVersion=function(B,M){return g.name===B&&g.version.split(".")[0]===M},R.parseXML=function(B){return new A.default(function(M,U){_.isBuffer(B)&&(B=B.toString()),n.parseString(B,{explicitRoot:!1,explicitArray:!1},function(F,j){F?U(F):M(j)})})},R.requestError=function(B){var M,U,F,j;return m.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(M=null,!(!B.data||!B.data.length)){V.next=5;break}B.status===-1||B.status===-2?(M=new Error(B.message),M.name=B.name,M.status=B.status,M.code=B.name):(B.status===404?(M=new Error("Object not exists"),M.name="NoSuchKeyError",M.status=404,M.code="NoSuchKey"):B.status===412?(M=new Error("Pre condition failed"),M.name="PreconditionFailedError",M.status=412,M.code="PreconditionFailed"):(M=new Error("Unknow error, status: "+B.status),M.name="UnknowError",M.status=B.status),M.requestId=B.headers["x-oss-request-id"],M.host=""),V.next=33;break;case 5:return U=String(B.data),this.debug("request response error data: %s",U,"error"),F=void 0,V.prev=8,V.next=11,m.default.awrap(this.parseXML(U));case 11:if(V.t0=V.sent,V.t0){V.next=14;break}V.t0={};case 14:F=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=B.status,V.t1.requestId=B.headers["x-oss-request-id"],V.abrupt("return",V.t1);case 24:j=F.Message||"unknow request error, status: "+B.status,F.Condition&&(j+=" (condition: "+F.Condition+")"),M=new Error(j),M.name=F.Code?F.Code+"Error":"UnknowError",M.status=B.status,M.code=F.Code,M.requestId=F.RequestId,M.hostId=F.HostId,M.serverTime=F.ServerTime;case 33:return this.debug("generate error %j",M,"error"),V.abrupt("return",M);case 35:case"end":return V.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:H("../../node_modules/is-buffer/index.js")},H("_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(H,k,d){(function(_){"use strict";var x=H("babel-runtime/core-js/array/from"),C=c(x),A=H("babel-runtime/core-js/promise"),b=c(A),m=H("babel-runtime/regenerator"),p=c(m);function c(v){return v&&v.__esModule?v:{default:v}}var o=H("is-type-of"),r=H("util"),i=H("path"),n=H("mime"),t=H("copy-to"),s=H("../common/utils/isBlob"),e=s.isBlob,a=H("../common/utils/isFile"),l=a.isFile,u=d;u.multipartUpload=function(y,E,T){var w,S,I,L,O,N,R,D,B;return p.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,p.default.awrap(this._resumeMultipart(T.checkpoint,T));case 5:return U.abrupt("return",U.sent);case 6:return w=100*1024,T.mime||(l(E)?T.mime=n.getType(i.extname(E.name)):e(E)?T.mime=E.type:T.mime=n.getType(i.extname(E))),T.headers=T.headers||{},this._convertMetaToHeaders(T.meta,T.headers),U.next=12,p.default.awrap(this._getFileSize(E));case 12:if(S=U.sent,!(S<w)){U.next=25;break}return I=this._createStream(E,0,S),T.contentLength=S,U.next=18,p.default.awrap(this.putStream(y,I,T));case 18:if(L=U.sent,!(T&&T.progress)){U.next=22;break}return U.next=22,p.default.awrap(T.progress(1));case 22:return O={res:L.res,bucket:this.options.bucket,name:y,etag:L.res.headers.etag},(T.headers&&T.headers["x-oss-callback"]||T.callback)&&(O.data=L.data),U.abrupt("return",O);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<w)){U.next=29;break}throw new Error("partSize must not be smaller than "+w);case 29:return U.next=31,p.default.awrap(this.initMultipartUpload(y,T));case 31:if(N=U.sent,R=N.uploadId,D=this._getPartSize(S,T.partSize),B={file:E,name:y,fileSize:S,partSize:D,uploadId:R,doneParts:[]},!(T&&T.progress)){U.next=38;break}return U.next=38,p.default.awrap(T.progress(0,B,N.res));case 38:return U.next=40,p.default.awrap(this._resumeMultipart(B,T));case 40:return U.abrupt("return",U.sent);case 41:case"end":return U.stop()}},null,this)},u._resumeMultipart=function(y,E){var T,w,S,I,L,O,N,R,D,B,M,U,F,j,W,V,z,Y;return p.default.async(function(ie){for(;;)switch(ie.prev=ie.next){case 0:if(T=this,!this.isCancel()){ie.next=3;break}throw this._makeCancelEvent();case 3:return w=y.file,S=y.fileSize,I=y.partSize,L=y.uploadId,O=y.doneParts,N=y.name,R=[],O.length>0&&t(O).to(R),D=this._divideParts(S,I),B=D.length,M=!1,U=function(oe,ge){var pe=this;return new b.default(function(ce,Oe){var se,$,ze,re;return p.default.async(function(G){for(;;)switch(G.prev=G.next){case 0:if(G.prev=0,oe.isCancel()){G.next=18;break}return se=D[ge-1],$={stream:oe._createStream(w,se.start,se.end),size:se.end-se.start},G.next=6,p.default.awrap(oe._uploadPart(N,L,ge,$));case 6:if(ze=G.sent,!(!oe.isCancel()&&!M)){G.next=15;break}if(y.doneParts.push({number:ge,etag:ze.res.headers.etag}),!E.progress){G.next=12;break}return G.next=12,p.default.awrap(E.progress(O.length/B,y,ze.res));case 12:ce({number:ge,etag:ze.res.headers.etag}),G.next=16;break;case 15:ce();case 16:G.next=19;break;case 18:ce();case 19:G.next=30;break;case 21:G.prev=21,G.t0=G.catch(0),re=new Error,re.name=G.t0.name,re.message=G.t0.message,re.stack=G.t0.stack,re.partNum=ge,t(G.t0).to(re),Oe(re);case 30:case"end":return G.stop()}},null,pe,[[0,21]])})},F=(0,C.default)(new Array(B),function(Z,oe){return oe+1}),j=R.map(function(Z){return Z.number}),W=F.filter(function(Z){return j.indexOf(Z)<0}),V=5,z=E.parallel||V,ie.next=17,p.default.awrap(this._parallel(W,z,function(Z){return new b.default(function(oe,ge){U(T,Z).then(function(pe){pe&&R.push(pe),oe()}).catch(function(pe){ge(pe)})})}));case 17:if(Y=ie.sent,M=!0,!this.isCancel()){ie.next=22;break}throw U=null,this._makeCancelEvent();case 22:if(!(Y&&Y.length>0)){ie.next=25;break}throw Y[0].message="Failed to upload some parts with error: "+Y[0].toString()+" part_num: "+Y[0].partNum,Y[0];case 25:return ie.next=27,p.default.awrap(this.completeMultipartUpload(N,L,R,E));case 27:return ie.abrupt("return",ie.sent);case 28:case"end":return ie.stop()}},null,this)},u._getFileSize=function(y){return p.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!o.buffer(y)){T.next=4;break}return T.abrupt("return",y.length);case 4:if(!(e(y)||l(y))){T.next=6;break}return T.abrupt("return",y.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return T.stop()}},null,this)};var h=H("stream"),f=h.Readable;function g(v,y){if(!(this instanceof g))return new g(v,y);f.call(this,y),this.file=v,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}r.inherits(g,f),g.prototype.readFileAndPush=function(y){if(this.fileBuffer)for(var E=!0;E&&this.fileBuffer&&this.start<this.fileBuffer.length;){var T=this.start,w=T+y;w=w>this.fileBuffer.length?this.fileBuffer.length:w,this.start=w,E=this.push(this.fileBuffer.slice(T,w))}},g.prototype._read=function(y){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 E=16*1024;y=y||E;var T=this;this.reader.onload=function(S){T.fileBuffer=_.from(new Uint8Array(S.target.result)),T.file=null,T.readFileAndPush(y)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(y)},u._createStream=function(y,E,T){if(e(y)||l(y))return new g(y.slice(E,T));throw new Error("_createStream requires File/Blob.")},u._getPartSize=function(y,E){var T=10*1e3,w=1024*1024;return E?Math.max(Math.ceil(y/T),E):w},u._divideParts=function(y,E){for(var T=Math.ceil(y/E),w=[],S=0;S<T;S++){var I=E*S,L=Math.min(I+E,y);w.push({start:I,end:L})}return w}}).call(this,H("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(H,k,d){"use strict";var _=H("babel-runtime/core-js/promise"),x=o(_),C=H("babel-runtime/core-js/object/keys"),A=o(C),b=H("babel-runtime/core-js/object/assign"),m=o(b),p=H("babel-runtime/regenerator"),c=o(p);function o(T){return T&&T.__esModule?T:{default:T}}var r=H("utility"),i=H("fs"),n=H("is-type-of"),t=H("url"),s=H("copy-to"),e=H("path"),a=H("mime"),l=H("../common/callback"),u=H("../common/signUtils"),h=H("merge-descriptors"),f=H("../common/utils/isBlob"),g=f.isBlob,v=H("../common/utils/isFile"),y=v.isFile,E=d;E.append=function(w,S,I){var L;return c.default.async(function(N){for(;;)switch(N.prev=N.next){case 0:return I=I||{},I.position===void 0&&(I.position="0"),I.subres={append:"",position:I.position},I.method="POST",N.next=6,c.default.awrap(this.put(w,S,I));case 6:return L=N.sent,L.nextAppendPosition=L.res.headers["x-oss-next-append-position"],N.abrupt("return",L);case 9:case"end":return N.stop()}},null,this)},E.put=function(w,S,I){var L,O,N,R,D,B,M;return c.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:if(L=void 0,I=I||{},w=this._objectName(w),!n.buffer(S)){F.next=7;break}L=S,F.next=33;break;case 7:if(!(g(S)||y(S))){F.next=32;break}return I.mime||(y(S)?I.mime=a.getType(e.extname(S.name)):I.mime=S.type),O=this._createStream(S,0,S.size),F.next=12,c.default.awrap(this._getFileSize(S));case 12:return I.contentLength=F.sent,F.prev=13,F.next=16,c.default.awrap(this.putStream(w,O,I));case 16:return N=F.sent,F.abrupt("return",N);case 20:if(F.prev=20,F.t0=F.catch(13),!(F.t0.code==="RequestTimeTooSkewed")){F.next=29;break}return this.options.amendTimeSkewed=+new Date(F.t0.serverTime)-new Date,F.next=26,c.default.awrap(this.put(w,S,I));case 26:return F.abrupt("return",F.sent);case 29:throw F.t0;case 30:F.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return I.headers=I.headers||{},this._convertMetaToHeaders(I.meta,I.headers),R=I.method||"PUT",D=this._objectRequestParams(R,w,I),l.encodeCallback(D,I),D.mime=I.mime,D.content=L,D.successStatuses=[200],F.next=43,c.default.awrap(this.request(D));case 43:return B=F.sent,M={name:w,url:this._objectUrl(w),res:B.res},D.headers&&D.headers["x-oss-callback"]&&(M.data=JSON.parse(B.data.toString())),F.abrupt("return",M);case 47:case"end":return F.stop()}},null,this,[[13,20]])},E.putStream=function(w,S,I){var L,O,N,R;return c.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:return I=I||{},I.headers=I.headers||{},w=this._objectName(w),I.contentLength?I.headers["Content-Length"]=I.contentLength:I.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(I.meta,I.headers),L=I.method||"PUT",O=this._objectRequestParams(L,w,I),l.encodeCallback(O,I),O.mime=I.mime,O.stream=S,O.successStatuses=[200],B.next=13,c.default.awrap(this.request(O));case 13:return N=B.sent,R={name:w,url:this._objectUrl(w),res:N.res},O.headers&&O.headers["x-oss-callback"]&&(R.data=JSON.parse(N.data.toString())),B.abrupt("return",R);case 17:case"end":return B.stop()}},null,this)},h(E,H("../common/object/copyObject")),h(E,H("../common/object/getObjectTagging")),h(E,H("../common/object/putObjectTagging")),h(E,H("../common/object/deleteObjectTagging")),h(E,H("../common/image")),h(E,H("../common/object/getBucketVersions")),h(E,H("../common/object/getACL")),h(E,H("../common/object/putACL")),h(E,H("../common/object/head")),h(E,H("../common/object/delete")),h(E,H("../common/object/get")),h(E,H("../common/object/putSymlink")),h(E,H("../common/object/getSymlink")),h(E,H("../common/object/deleteMulti")),h(E,H("../common/object/getObjectMeta")),E.putMeta=function(w,S,I){var L;return c.default.async(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,c.default.awrap(this.copy(w,w,{meta:S||{},timeout:I&&I.timeout,ctx:I&&I.ctx}));case 2:return L=N.sent,N.abrupt("return",L);case 4:case"end":return N.stop()}},null,this)},E.list=function(w,S){var I,L,O,N,R;return c.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:return I=this._objectRequestParams("GET","",S),I.query=w,I.xmlResponse=!0,I.successStatuses=[200],B.next=6,c.default.awrap(this.request(I));case 6:return L=B.sent,O=L.data.Contents,N=this,O&&(Array.isArray(O)||(O=[O]),O=O.map(function(M){return{name:M.Key,url:N._objectUrl(M.Key),lastModified:M.LastModified,etag:M.ETag,type:M.Type,size:Number(M.Size),storageClass:M.StorageClass,owner:{id:M.Owner.ID,displayName:M.Owner.DisplayName}}})),R=L.data.CommonPrefixes||null,R&&(Array.isArray(R)||(R=[R]),R=R.map(function(M){return M.Prefix})),B.abrupt("return",{res:L.res,objects:O,prefixes:R,nextMarker:L.data.NextMarker||null,isTruncated:L.data.IsTruncated==="true"});case 13:case"end":return B.stop()}},null,this)},E.restore=function(w,S){var I,L;return c.default.async(function(N){for(;;)switch(N.prev=N.next){case 0:return S=S||{},S.subres=(0,m.default)({restore:""},S.subres),S.versionId&&(S.subres.versionId=S.versionId),I=this._objectRequestParams("POST",w,S),I.successStatuses=[202],N.next=7,c.default.awrap(this.request(I));case 7:return L=N.sent,N.abrupt("return",{res:L.res});case 9:case"end":return N.stop()}},null,this)},E.signatureUrl=function(w,S){S=S||{},w=this._objectName(w),S.method=S.method||"GET";var I=r.timestamp()+(S.expires||1800),L={bucket:this.options.bucket,object:w},O=this._getResource(L);this.options.stsToken&&(S["security-token"]=this.options.stsToken);var N=u._signatureForURL(this.options.accessKeySecret,S,O,I),R=t.parse(this._getReqUrl(L));return R.query={OSSAccessKeyId:this.options.accessKeyId,Expires:I,Signature:N.Signature},s(N.subResource).to(R.query),R.format()},E.getObjectUrl=function(w,S){return S?S[S.length-1]!=="/"&&(S+="/"):S=this.options.endpoint.format(),S+this._escape(this._objectName(w))},E._objectUrl=function(w){return this._getReqUrl({bucket:this.options.bucket,object:w})},E.generateObjectUrl=function(T,w){if(w)w[w.length-1]!=="/"&&(w+="/");else{w=this.options.endpoint.format();var S=t.parse(w),I=this.options.bucket;S.hostname=I+"."+S.hostname,S.host=I+"."+S.host,w=S.format()}return w+this._escape(this._objectName(T))},E._objectRequestParams=function(w,S,I){if(!this.options.bucket)throw new Error("Please create a bucket first");I=I||{},S=this._objectName(S);var L={object:S,bucket:this.options.bucket,method:w,subres:I&&I.subres,timeout:I&&I.timeout,ctx:I&&I.ctx};return I.headers&&(L.headers={},s(I.headers).to(L.headers)),L},E._objectName=function(w){return w.replace(/^\/+/,"")},E._convertMetaToHeaders=function(w,S){if(!w)return;(0,A.default)(w).forEach(function(I){S["x-oss-meta-"+I]=w[I]})},E._deleteFileSafe=function(w){var S=this;return new x.default(function(I){i.exists(w,function(L){L?i.unlink(w,function(O){O&&S.debug("unlink %j error: %s",w,O,"error"),I()}):I()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(H,k,d){"use strict";d.version="6.10.0"},{}],6:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(p){return p&&p.__esModule?p:{default:p}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=d;m.deleteBucketLifecycle=function(c,o){var r,i;return x.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return b(c),r=this._bucketRequestParams("DELETE",c,"lifecycle",o),r.successStatuses=[204],t.next=5,x.default.awrap(this.request(r));case 5:return i=t.sent,t.abrupt("return",{res:i.res});case 7:case"end":return t.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(p){return p&&p.__esModule?p:{default:p}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=d;m.deleteBucketWebsite=function(c,o){var r,i;return x.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return b(c),r=this._bucketRequestParams("DELETE",c,"website",o),r.successStatuses=[204],t.next=5,x.default.awrap(this.request(r));case 5:return i=t.sent,t.abrupt("return",{res:i.res});case 7:case"end":return t.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(i){return i&&i.__esModule?i:{default:i}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=H("../utils/isArray"),p=m.isArray,c=H("../utils/formatObjKey"),o=c.formatObjKey,r=d;r.getBucketLifecycle=function(n,t){var s,e,a;return x.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return b(n),s=this._bucketRequestParams("GET",n,"lifecycle",t),s.successStatuses=[200],s.xmlResponse=!0,u.next=6,x.default.awrap(this.request(s));case 6:return e=u.sent,a=e.data.Rule||null,a&&(p(a)||(a=[a]),a=a.map(function(h){return h.ID&&(h.id=h.ID,delete h.ID),h.Tag&&!p(h.Tag)&&(h.Tag=[h.Tag]),o(h,"firstLowerCase")})),u.abrupt("return",{rules:a,res:e.res});case 10:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(p){return p&&p.__esModule?p:{default:p}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=d;m.getBucketVersioning=function(c,o){var r,i,n;return x.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return b(c),r=this._bucketRequestParams("GET",c,"versioning",o),r.xmlResponse=!0,r.successStatuses=[200],s.next=6,x.default.awrap(this.request(r));case 6:return i=s.sent,n=i.data.Status,s.abrupt("return",{status:i.status,versionStatus:n,res:i.res});case 9:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(o){return o&&o.__esModule?o:{default:o}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=H("../utils/isObject"),p=m.isObject,c=d;c.getBucketWebsite=function(r,i){var n,t,s;return x.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return b(r),n=this._bucketRequestParams("GET",r,"website",i),n.successStatuses=[200],n.xmlResponse=!0,a.next=6,x.default.awrap(this.request(n));case 6:return t=a.sent,s=[],t.data.RoutingRules&&t.data.RoutingRules.RoutingRule&&(p(t.data.RoutingRules.RoutingRule)?s=[t.data.RoutingRules.RoutingRule]:s=t.data.RoutingRules.RoutingRule),a.abrupt("return",{index:t.data.IndexDocument&&t.data.IndexDocument.Suffix||"",supportSubDir:t.data.IndexDocument&&t.data.IndexDocument.SupportSubDir||"false",type:t.data.IndexDocument&&t.data.IndexDocument.Type,routingRules:s,error:t.data.ErrorDocument&&t.data.ErrorDocument.Key||null,res:t.res});case 10:case"end":return a.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(y){return y&&y.__esModule?y:{default:y}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=H("../utils/isArray"),p=m.isArray,c=H("../utils/deepCopy"),o=c.deepCopy,r=H("../utils/isObject"),i=r.isObject,n=H("../utils/obj2xml"),t=n.obj2xml,s=H("../utils/checkObjectTag"),e=s.checkObjectTag,a=H("../utils/getStrBytesCount"),l=a.getStrBytesCount,u=d;u.putBucketLifecycle=function(E,T,w){var S,I,L,O,N;return x.default.async(function(D){for(;;)switch(D.prev=D.next){case 0:if(b(E),p(T)){D.next=3;break}throw new Error("rules must be Array");case 3:return S=this._bucketRequestParams("PUT",E,"lifecycle",w),I=[],L={LifecycleConfiguration:{Rule:I}},T.forEach(function(B){h(B),v(B),B.id&&(B.ID=B.id,delete B.id),I.push(B)}),O=t(L,{headers:!0,firstUpperCase:!0}),S.content=O,S.mime="xml",S.successStatuses=[200],D.next=13,x.default.awrap(this.request(S));case 13:return N=D.sent,D.abrupt("return",{res:N.res});case 15:case"end":return D.stop()}},null,this)};function h(y){y.days&&(y.expiration={days:y.days}),y.date&&(y.expiration={createdBeforeDate:y.date})}function f(y,E){var T=y.days,w=y.createdBeforeDate;if(!T&&!w)throw new Error(E+" must includes days or createdBeforeDate");if(T&&!/^[1-9][0-9]*$/.test(T))throw new Error("days must be a positive integer");if(w&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(w))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function g(y){if(!p(y)&&!i(y))throw new Error("tag must be Object or Array");y=i(y)?[y]:y;var E={},T=o(y);T.forEach(function(w){E[w.key]=w.value}),e(E)}function v(y){if(y.id&&l(y.id)>255)throw new Error("ID is composed of 255 bytes at most");if(y.prefix===""||y.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(y.status))throw new Error("Status must be Enabled or Disabled");if(y.transition){if(!["IA","Archive"].includes(y.transition.storageClass))throw new Error("StorageClass must be IA or Archive");f(y.transition,"Transition")}if(y.expiration){if(!y.expiration.expiredObjectDeleteMarker)f(y.expiration,"Expiration");else if(y.expiration.days||y.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(y.abortMultipartUpload&&f(y.abortMultipartUpload,"AbortMultipartUpload"),!y.expiration&&!y.abortMultipartUpload&&!y.transition&&!y.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(y.tag){if(y.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");g(y.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(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(o){return o&&o.__esModule?o:{default:o}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=H("../utils/obj2xml"),p=m.obj2xml,c=d;c.putBucketVersioning=function(r,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t,s,e;return x.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:if(b(r),["Enabled","Suspended"].includes(i)){l.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return t=this._bucketRequestParams("PUT",r,"versioning",n),s={VersioningConfiguration:{Status:i}},t.mime="xml",t.content=p(s,{headers:!0}),l.next=9,x.default.awrap(this.request(t));case 9:return e=l.sent,l.abrupt("return",{res:e.res,status:e.status});case 11:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(i){return i&&i.__esModule?i:{default:i}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=H("../utils/obj2xml"),p=m.obj2xml,c=H("../utils/isArray"),o=c.isArray,r=d;r.putBucketWebsite=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments[2],e,a,l,u,h;return x.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:if(b(n),e=this._bucketRequestParams("PUT",n,"website",s),a={Suffix:t.index||"index.html"},l={IndexDocument:a},u={WebsiteConfiguration:l},t.supportSubDir&&(a.SupportSubDir=t.supportSubDir),t.type&&(a.Type=t.type),t.error&&(l.ErrorDocument={Key:t.error}),!(t.routingRules!==void 0)){g.next=12;break}if(o(t.routingRules)){g.next=11;break}throw new Error("RoutingRules must be Array");case 11:l.RoutingRules={RoutingRule:t.routingRules};case 12:return u=p(u),e.content=u,e.mime="xml",e.successStatuses=[200],g.next=18,x.default.awrap(this.request(e));case 18:return h=g.sent,g.abrupt("return",{res:h.res});case 20:case"end":return g.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(H,k,d){(function(_){"use strict";var x=H("babel-runtime/core-js/object/keys"),C=m(x),A=H("babel-runtime/core-js/json/stringify"),b=m(A);function m(p){return p&&p.__esModule?p:{default:p}}d.encodeCallback=function(c,o){if(c.headers=c.headers||{},!Object.prototype.hasOwnProperty.call(c.headers,"x-oss-callback")&&o.callback){var r={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};o.callback.host&&(r.callbackHost=o.callback.host),o.callback.contentType&&(r.callbackBodyType=o.callback.contentType);var i=_.from((0,b.default)(r)).toString("base64");if(c.headers["x-oss-callback"]=i,o.callback.customValue){var n={};(0,C.default)(o.callback.customValue).forEach(function(t){n["x:"+t]=o.callback.customValue[t]}),c.headers["x-oss-callback-var"]=_.from((0,b.default)(n)).toString("base64")}}}}).call(this,H("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/assign"),x=C(_);function C(r){return r&&r.__esModule?r:{default:r}}var A=H("humanize-ms"),b=H("url"),m=H("../utils/checkBucketName"),p=m.checkBucketName;function c(r,i){var n=b.parse(r);if(n.protocol||(n=b.parse("http"+(i?"s":"")+"://"+r)),n.protocol!=="http:"&&n.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return n}function o(r,i,n){var t=n?"https://":"http://",s=i?"-internal.aliyuncs.com":".aliyuncs.com",e="vpc100-oss-cn-";return r.substr(0,e.length)===e&&(s=".aliyuncs.com"),b.parse(t+r+s)}k.exports=function(r){if(!r||!r.accessKeyId||!r.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");r.bucket&&p(r.bucket);var i=(0,x.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},r);if(i.accessKeyId=i.accessKeyId.trim(),i.accessKeySecret=i.accessKeySecret.trim(),i.timeout&&(i.timeout=A(i.timeout)),i.endpoint)i.endpoint=c(i.endpoint,i.secure);else if(i.region)i.endpoint=o(i.region,i.internal,i.secure);else throw new Error("require options.endpoint or options.region");return i.inited=!0,i}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(H,k,d){"use strict";var _=H("merge-descriptors"),x=d;_(x,H("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(i){return i&&i.__esModule?i:{default:i}}var A=H("../utils/checkBucketName"),b=A.checkBucketName,m=H("querystring"),p=H("js-base64"),c=p.Base64.encode,o=d;o.processObjectSave=function(n,t,s,e){var a,l,u,h;return x.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return r(n,"sourceObject"),r(t,"targetObject"),r(s,"process"),t=this._objectName(t),e&&b(e),a=this._objectRequestParams("POST",n,{subres:"x-oss-process"}),l=e?",b_"+c(e):"",t=c(t),u={"x-oss-process":s+"|sys/saveas,o_"+t+l},a.content=m.stringify(u),g.next=12,x.default.awrap(this.request(a));case 12:return h=g.sent,g.abrupt("return",{res:h.res,status:h.res.status});case 14:case"end":return g.stop()}},null,this)};function r(i,n){if(!i)throw new Error(n+" is required");if(typeof i!="string")throw new Error(n+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=C(_);function C(o){return o&&o.__esModule?o:{default:o}}var A=H("copy-to"),b=H("./callback"),m=H("./utils/deepCopy"),p=m.deepCopy,c=d;c.listUploads=function(r,i){var n,t,s,e;return x.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return i=i||{},n={},A(i).to(n),n.subres="uploads",t=this._objectRequestParams("GET","",n),t.query=r,t.xmlResponse=!0,t.successStatuses=[200],l.next=10,x.default.awrap(this.request(t));case 10:return s=l.sent,e=s.data.Upload||[],Array.isArray(e)||(e=[e]),e=e.map(function(u){return{name:u.Key,uploadId:u.UploadId,initiated:u.Initiated}}),l.abrupt("return",{res:s.res,uploads:e,bucket:s.data.Bucket,nextKeyMarker:s.data.NextKeyMarker,nextUploadIdMarker:s.data.NextUploadIdMarker,isTruncated:s.data.IsTruncated==="true"});case 15:case"end":return l.stop()}},null,this)},c.listParts=function(r,i,n,t){var s,e,a;return x.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return t=t||{},s={},A(t).to(s),s.subres={uploadId:i},e=this._objectRequestParams("GET",r,s),e.query=n,e.xmlResponse=!0,e.successStatuses=[200],u.next=10,x.default.awrap(this.request(e));case 10:return a=u.sent,u.abrupt("return",{res:a.res,uploadId:a.data.UploadId,bucket:a.data.Bucket,name:a.data.Key,partNumberMarker:a.data.PartNumberMarker,nextPartNumberMarker:a.data.NextPartNumberMarker,maxParts:a.data.MaxParts,isTruncated:a.data.IsTruncated,parts:a.data.Part||[]});case 12:case"end":return u.stop()}},null,this)},c.abortMultipartUpload=function(r,i,n){var t,s,e;return x.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return this._stop(),n=n||{},t={},A(n).to(t),t.subres={uploadId:i},s=this._objectRequestParams("DELETE",r,t),s.successStatuses=[204],l.next=9,x.default.awrap(this.request(s));case 9:return e=l.sent,l.abrupt("return",{res:e.res});case 11:case"end":return l.stop()}},null,this)},c.initMultipartUpload=function(r,i){var n,t,s;return x.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return i=i||{},n={},A(i).to(n),n.headers=n.headers||{},this._convertMetaToHeaders(i.meta,n.headers),n.subres="uploads",t=this._objectRequestParams("POST",r,n),t.mime=i.mime,t.xmlResponse=!0,t.successStatuses=[200],a.next=12,x.default.awrap(this.request(t));case 12:return s=a.sent,a.abrupt("return",{res:s.res,bucket:s.data.Bucket,name:s.data.Key,uploadId:s.data.UploadId});case 14:case"end":return a.stop()}},null,this)},c.uploadPart=function(r,i,n,t,s,e,a){var l;return x.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return l={stream:this._createStream(t,s,e),size:e-s},h.next=3,x.default.awrap(this._uploadPart(r,i,n,l,a));case 3:return h.abrupt("return",h.sent);case 4:case"end":return h.stop()}},null,this)},c.completeMultipartUpload=function(r,i,n,t){var s,e,a,l,u,h,f,g;return x.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:for(s=n.concat().sort(function(E,T){return E.number-T.number}).filter(function(E,T,w){return!T||E.number!==w[T-1].number}),e=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,a=0;a<s.length;a++)l=s[a],e+=`<Part>
`,e+="<PartNumber>"+l.number+`</PartNumber>
`,e+="<ETag>"+l.etag+`</ETag>
`,e+=`</Part>
`;return e+="</CompleteMultipartUpload>",t=t||{},u={},u=p(t),u.headers&&delete u.headers["x-oss-server-side-encryption"],u.subres={uploadId:i},h=this._objectRequestParams("POST",r,u),b.encodeCallback(h,u),h.mime="xml",h.content=e,h.headers&&h.headers["x-oss-callback"]||(h.xmlResponse=!0),h.successStatuses=[200],y.next=17,x.default.awrap(this.request(h));case 17:return f=y.sent,g={res:f.res,bucket:h.bucket,name:r,etag:f.res.headers.etag},h.headers&&h.headers["x-oss-callback"]&&(g.data=JSON.parse(f.data.toString())),y.abrupt("return",g);case 21:case"end":return y.stop()}},null,this)},c._uploadPart=function(r,i,n,t,s){var e,a,l;return x.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return s=s||{},e={},A(s).to(e),e.headers={"Content-Length":t.size},e.subres={partNumber:n,uploadId:i},a=this._objectRequestParams("PUT",r,e),a.mime=e.mime,a.stream=t.stream,a.successStatuses=[200],h.next=11,x.default.awrap(this.request(a));case 11:if(l=h.sent,l.res.headers.etag){h.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 t.stream=null,a.stream=null,h.abrupt("return",{name:r,etag:l.res.headers.etag,res:l.res});case 17:case"end":return h.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=p(_),C=H("babel-runtime/core-js/object/keys"),A=p(C),b=H("babel-runtime/helpers/typeof"),m=p(b);function p(i){return i&&i.__esModule?i:{default:i}}var c=H("../utils/checkBucketName"),o=c.checkBucketName,r=d;r.copy=function(n,t,s,e){var a,l,u;return x.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return(typeof s=="undefined"?"undefined":(0,m.default)(s))==="object"&&(e=s),e=e||{},e.headers=e.headers||{},(0,A.default)(e.headers).forEach(function(g){e.headers["x-oss-copy-source-"+g.toLowerCase()]=e.headers[g]}),e.meta&&(e.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(e.meta,e.headers),t=this._getSourceName(t,s),e.versionId&&(t=t+"?versionId="+e.versionId),e.headers["x-oss-copy-source"]=t,a=this._objectRequestParams("PUT",n,e),a.xmlResponse=!0,a.successStatuses=[200,304],f.next=14,x.default.awrap(this.request(a));case 14:return l=f.sent,u=l.data,u&&(u={etag:u.ETag,lastModified:u.LastModified}),f.abrupt("return",{data:u,res:l.res});case 18:case"end":return f.stop()}},null,this)},r._getSourceName=function(n,t){return typeof t=="string"?n=this._objectName(n):n[0]!=="/"?t=this.options.bucket:(t=n.replace(/\/(.+?)(\/.*)/,"$1"),n=n.replace(/(\/.+?\/)(.*)/,"$2")),o(t),n=encodeURI(n),n="/"+t+"/"+n,n}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(p){return p&&p.__esModule?p:{default:p}}var m=d;m.delete=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i;return x.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return o.subres=(0,A.default)({},o.subres),o.versionId&&(o.subres.versionId=o.versionId),r=this._objectRequestParams("DELETE",c,o),r.successStatuses=[204],t.next=6,x.default.awrap(this.request(r));case 6:return i=t.sent,t.abrupt("return",{res:i.res});case 8:case"end":return t.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(r){return r&&r.__esModule?r:{default:r}}var m=H("utility"),p=H("../utils/obj2xml"),c=p.obj2xml,o=d;o.deleteMulti=function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,s,e,a,l,u,h,f,g,v,y,E;return x.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:if(t=[],!(!i||!i.length)){w.next=3;break}throw new Error("names is required");case 3:for(s=0;s<i.length;s++)e={},typeof i[s]=="string"?e.Key=m.escape(this._objectName(i[s])):(a=i[s],l=a.key,u=a.versionId,e.Key=m.escape(this._objectName(l)),e.VersionId=u),t.push(e);return h={Delete:{Quiet:!!n.quiet,Object:t}},f=c(h,{headers:!0}),n.subres=(0,A.default)({delete:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),g=this._objectRequestParams("POST","",n),g.mime="xml",g.content=f,g.xmlResponse=!0,g.successStatuses=[200],w.next=15,x.default.awrap(this.request(g));case 15:return v=w.sent,y=v.data,E=y&&y.Deleted||null,E&&(Array.isArray(E)||(E=[E])),w.abrupt("return",{res:v.res,deleted:E||[]});case 20:case"end":return w.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(p){return p&&p.__esModule?p:{default:p}}var m=d;m.deleteObjectTagging=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i;return x.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return o.subres=(0,A.default)({tagging:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),c=this._objectName(c),r=this._objectRequestParams("DELETE",c,o),r.successStatuses=[204],t.next=7,x.default.awrap(this.request(r));case 7:return i=t.sent,t.abrupt("return",{status:i.status,res:i.res});case 9:case"end":return t.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(o){return o&&o.__esModule?o:{default:o}}var m=H("fs"),p=H("is-type-of"),c=d;c.get=function(r,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t,s,e,a;return x.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return t=null,s=!1,p.writableStream(i)?t=i:p.string(i)?(t=m.createWriteStream(i),s=!0):n=i,n=n||{},n.subres=(0,A.default)({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.process&&(n.subres["x-oss-process"]=n.process),e=void 0,u.prev=8,a=this._objectRequestParams("GET",r,n),a.writeStream=t,a.successStatuses=[200,206,304],u.next=14,x.default.awrap(this.request(a));case 14:e=u.sent,s&&t.destroy(),u.next=25;break;case 18:if(u.prev=18,u.t0=u.catch(8),!s){u.next=24;break}return t.destroy(),u.next=24,x.default.awrap(this._deleteFileSafe(i));case 24:throw u.t0;case 25:return u.abrupt("return",{res:e.res,content:e.data});case 26:case"end":return u.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(p){return p&&p.__esModule?p:{default:p}}var m=d;m.getACL=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i;return x.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return o.subres=(0,A.default)({acl:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),c=this._objectName(c),r=this._objectRequestParams("GET",c,o),r.successStatuses=[200],r.xmlResponse=!0,t.next=8,x.default.awrap(this.request(r));case 8:return i=t.sent,t.abrupt("return",{acl:i.data.AccessControlList.Grant,owner:{id:i.data.Owner.ID,displayName:i.data.Owner.DisplayName},res:i.res});case 10:case"end":return t.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/keys"),x=p(_),C=H("babel-runtime/regenerator"),A=p(C),b=H("babel-runtime/core-js/object/assign"),m=p(b);function p(a){return a&&a.__esModule?a:{default:a}}var c=d,o=H("../utils/isObject"),r=o.isObject,i=H("../utils/isArray"),n=i.isArray;c.getBucketVersions=t,c.listObjectVersions=t;function t(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u,h,f,g,v,y;return A.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(a.versionIdMarker&&a.keyMarker===void 0)){T.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return l.subres=(0,m.default)({versions:""},l.subres),l.versionId&&(l.subres.versionId=l.versionId),u=this._objectRequestParams("GET","",l),u.xmlResponse=!0,u.successStatuses=[200],u.query=e(a),T.next=10,A.default.awrap(this.request(u));case 10:return h=T.sent,f=h.data.Version||[],g=h.data.DeleteMarker||[],v=this,f&&(Array.isArray(f)||(f=[f]),f=f.map(function(w){return{name:w.Key,url:v._objectUrl(w.Key),lastModified:w.LastModified,isLatest:w.IsLatest==="true",versionId:w.VersionId,etag:w.ETag,type:w.Type,size:Number(w.Size),storageClass:w.StorageClass,owner:{id:w.Owner.ID,displayName:w.Owner.DisplayName}}})),g&&(n(g)||(g=[g]),g=g.map(function(w){return{name:w.Key,lastModified:w.LastModified,versionId:w.VersionId,owner:{id:w.Owner.ID,displayName:w.Owner.DisplayName}}})),y=h.data.CommonPrefixes||null,y&&(n(y)||(y=[y]),y=y.map(function(w){return w.Prefix})),T.abrupt("return",{res:h.res,objects:f,deleteMarker:g,prefixes:y,nextMarker:h.data.NextMarker||null,NextVersionIdMarker:h.data.NextVersionIdMarker||null,isTruncated:h.data.IsTruncated==="true"});case 19:case"end":return T.stop()}},null,this)}function s(a){return a.replace(/([A-Z])/g,"-$1").toLowerCase()}function e(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l={};return r(a)&&(0,x.default)(a).forEach(function(u){l[s(u)]=a[u]}),l}},{"../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(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(p){return p&&p.__esModule?p:{default:p}}var m=d;m.getObjectMeta=function(c,o){var r,i;return x.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return o=o||{},c=this._objectName(c),o.subres=(0,A.default)({objectMeta:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),r=this._objectRequestParams("HEAD",c,o),r.successStatuses=[200],t.next=8,x.default.awrap(this.request(r));case 8:return i=t.sent,t.abrupt("return",{status:i.status,res:i.res});case 10:case"end":return t.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(o){return o&&o.__esModule?o:{default:o}}var m=d,p=H("../utils/isObject"),c=p.isObject;m.getObjectTagging=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,t,s,e,a;return x.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return i.subres=(0,A.default)({tagging:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),r=this._objectName(r),n=this._objectRequestParams("GET",r,i),n.successStatuses=[200],u.next=7,x.default.awrap(this.request(n));case 7:return t=u.sent,u.next=10,x.default.awrap(this.parseXML(t.data));case 10:return s=u.sent,e=s.TagSet.Tag,e=e&&c(e)?[e]:e||[],a={},e.forEach(function(h){a[h.Key]=h.Value}),u.abrupt("return",{status:t.status,res:t.res,tag:a});case 16:case"end":return u.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(p){return p&&p.__esModule?p:{default:p}}var m=d;m.getSymlink=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i,n;return x.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return o.subres=(0,A.default)({symlink:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),c=this._objectName(c),r=this._objectRequestParams("GET",c,o),r.successStatuses=[200],s.next=7,x.default.awrap(this.request(r));case 7:return i=s.sent,n=i.res.headers["x-oss-symlink-target"],s.abrupt("return",{targetName:decodeURIComponent(n),res:i.res});case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=p(_),C=H("babel-runtime/core-js/object/keys"),A=p(C),b=H("babel-runtime/core-js/object/assign"),m=p(b);function p(o){return o&&o.__esModule?o:{default:o}}var c=d;c.head=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,t,s;return x.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return i.subres=(0,m.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),n=this._objectRequestParams("HEAD",r,i),n.successStatuses=[200,304],a.next=6,x.default.awrap(this.request(n));case 6:return t=a.sent,s={meta:null,res:t.res,status:t.status},t.status===200&&(0,A.default)(t.headers).forEach(function(l){l.indexOf("x-oss-meta-")===0&&(s.meta||(s.meta={}),s.meta[l.substring(11)]=t.headers[l])}),a.abrupt("return",s);case 10:case"end":return a.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(p){return p&&p.__esModule?p:{default:p}}var m=d;m.putACL=function(c,o,r){var i,n;return x.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return r=r||{},r.subres=(0,A.default)({acl:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.headers=r.headers||{},r.headers["x-oss-object-acl"]=o,c=this._objectName(c),i=this._objectRequestParams("PUT",c,r),i.successStatuses=[200],s.next=10,x.default.awrap(this.request(i));case 10:return n=s.sent,s.abrupt("return",{res:n.res});case 12:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=p(_),C=H("babel-runtime/core-js/object/keys"),A=p(C),b=H("babel-runtime/core-js/object/assign"),m=p(b);function p(t){return t&&t.__esModule?t:{default:t}}var c=H("../utils/obj2xml"),o=c.obj2xml,r=H("../utils/checkObjectTag"),i=r.checkObjectTag,n=d;n.putObjectTagging=function(s,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l,u,h;return x.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return i(e),a.subres=(0,m.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),s=this._objectName(s),l=this._objectRequestParams("PUT",s,a),l.successStatuses=[200],e=(0,A.default)(e).map(function(v){return{Key:v,Value:e[v]}}),u={Tagging:{TagSet:{Tag:e}}},l.mime="xml",l.content=o(u),g.next=12,x.default.awrap(this.request(l));case 12:return h=g.sent,g.abrupt("return",{res:h.res,status:h.status});case 14:case"end":return g.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(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/object/assign"),A=b(C);function b(p){return p&&p.__esModule?p:{default:p}}var m=d;m.putSymlink=function(c,o,r){var i,n;return x.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return r=r||{},r.headers=r.headers||{},o=this._escape(this._objectName(o)),this._convertMetaToHeaders(r.meta,r.headers),r.headers["x-oss-symlink-target"]=o,r.subres=(0,A.default)({symlink:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.storageClass&&(r.headers["x-oss-storage-class"]=r.storageClass),c=this._objectName(c),i=this._objectRequestParams("PUT",c,r),i.successStatuses=[200],s.next=13,x.default.awrap(this.request(i));case 13:return n=s.sent,s.abrupt("return",{res:n.res});case 15:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(H,k,d){"use strict";var _=H("babel-runtime/regenerator"),x=b(_),C=H("babel-runtime/core-js/promise"),A=b(C);function b(p){return p&&p.__esModule?p:{default:p}}var m=d;m._parallelNode=function(c,o,r,i){var n,t,s,e,a,l,u,h;return x.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:n=this,t=[],s=[],e=c.length/o,a=c.length%o,l=a===0?e:(c.length-a)/o+1,u=1,h=0;case 8:if(!(h<c.length)){g.next=26;break}if(!n.isCancel()){g.next=11;break}return g.abrupt("break",26);case 11:if(i?s.push(r(n,c[h],i)):s.push(r(n,c[h])),!(s.length===o||u===l&&h===c.length-1)){g.next=23;break}return g.prev=13,u+=1,g.next=17,x.default.awrap(A.default.all(s));case 17:g.next=22;break;case 19:g.prev=19,g.t0=g.catch(13),t.push(g.t0);case 22:s=[];case 23:h++,g.next=8;break;case 26:return g.abrupt("return",t);case 27:case"end":return g.stop()}},null,this,[[13,19]])},m._parallel=function(c,o,r){var i=this;return new A.default(function(n){var t=[];if(o<=0||!c){n(t);return}function s(y){return function(){if(y===null)throw new Error("Callback was already called.");var E=y;y=null;for(var T=arguments.length,w=Array(T),S=0;S<T;S++)w[S]=arguments[S];E.apply(this,w)}}function e(y){var E=-1,T=y.length;return function(){return++E<T&&!i.isCancel()?{value:y[E],key:E}:null}}var a=e(c),l=!1,u=0,h=!1;function f(y,E){u-=1,y?(l=!0,t.push(y),n(t)):E==={}||l&&u<=0?(l=!0,n(t)):h||(i.isCancel()?n(t):v())}function g(y,E){r(y).then(function(T){E(null,T)}).catch(function(T){E(T)})}function v(){for(h=!0;u<o&&!l&&!i.isCancel();){var y=a();if(y===null||t.length>0){l=!0,u<=0&&n(t);return}u+=1,g(y.value,s(f))}h=!1}v()})},m.cancel=function(c){this.options.cancelFlag=!0,c&&this.abortMultipartUpload(c.name,c.uploadId,c.options)},m.isCancel=function(){return this.options.cancelFlag},m.resetCancelFlag=function(){this.options.cancelFlag=!1},m._stop=function(){this.options.cancelFlag=!0},m._makeCancelEvent=function(){var c={status:0,name:"cancel"};return c}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(H,k,d){(function(_){"use strict";var x=H("babel-runtime/core-js/json/stringify"),C=m(x),A=H("babel-runtime/core-js/object/keys"),b=m(A);function m(o){return o&&o.__esModule?o:{default:o}}var p=H("./../../shims/crypto/crypto.js"),c=H("is-type-of");d.buildCanonicalizedResource=function(r,i){var n=""+r,t="?";if(c.string(i)&&i.trim()!=="")n+=t+i;else if(c.array(i))i.sort(),n+=t+i.join("&");else if(i){var s=function(l,u){return l[0]>u[0]?1:l[0]<u[0]?-1:0},e=function(l){n+=t+l,i[l]&&(n+="="+i[l]),t="&"};(0,b.default)(i).sort(s).forEach(e)}return n},d.buildCanonicalString=function(r,i,n,t){n=n||{};var s=n.headers||{},e="x-oss-",a=[],l={},u=[r.toUpperCase(),s["Content-Md5"]||"",s["Content-Type"]||s["Content-Type".toLowerCase()],t||s["x-oss-date"]];return(0,b.default)(s).forEach(function(h){var f=h.toLowerCase();f.indexOf(e)===0&&(l[f]=String(s[h]).trim())}),(0,b.default)(l).sort().forEach(function(h){a.push(h+":"+l[h])}),u=u.concat(a),u.push(this.buildCanonicalizedResource(i,n.parameters)),u.join(`
`)},d.computeSignature=function(r,i){var n=p.createHmac("sha1",r);return n.update(_.from(i,"utf8")).digest("base64")},d.authorization=function(r,i,n){return"OSS "+r+":"+this.computeSignature(i,n)},d._signatureForURL=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments[2],t=arguments[3],s={},e=i.subResource,a=e===void 0?{}:e;if(i.process){var l="x-oss-process";a[l]=i.process}if(i.trafficLimit){var u="x-oss-traffic-limit";a[u]=i.trafficLimit}if(i.response&&(0,b.default)(i.response).forEach(function(v){var y="response-"+v.toLowerCase();a[y]=i.response[v]}),(0,b.default)(i).forEach(function(v){var y=v.toLowerCase(),E=i[v];y.indexOf("x-oss-")===0?s[y]=E:(y.indexOf("content-md5")===0||y.indexOf("content-type")===0)&&(s[v]=E)}),Object.prototype.hasOwnProperty.call(i,"security-token")&&(a["security-token"]=i["security-token"]),Object.prototype.hasOwnProperty.call(i,"callback")){var h={callbackUrl:encodeURI(i.callback.url),callbackBody:i.callback.body};if(i.callback.host&&(h.callbackHost=i.callback.host),i.callback.contentType&&(h.callbackBodyType=i.callback.contentType),a.callback=_.from((0,C.default)(h)).toString("base64"),i.callback.customValue){var f={};(0,b.default)(i.callback.customValue).forEach(function(v){f["x:"+v]=i.callback.customValue[v]}),a["callback-var"]=_.from((0,C.default)(f)).toString("base64")}}var g=this.buildCanonicalString(i.method,n,{headers:s,parameters:a},t.toString());return{Signature:this.computeSignature(r,g),subResource:a}}}).call(this,H("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(H,k,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.checkBucketName=void 0,d.checkBucketName=function(_,x){var C=x?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!C.test(_))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/entries"),x=C(_);function C(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(d,"__esModule",{value:!0}),d.checkObjectTag=void 0;var A=H("./checkValid"),b=A.checkValid,m=H("./isObject"),p=m.isObject,c=[{validator:function(n){if(typeof n!="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 r(i){if(!p(i))throw new Error("tag must be Object");var n=(0,x.default)(i);if(n.length>10)throw new Error("maximum of 10 tags for a object");var t=["key","value"];n.forEach(function(s){s.forEach(function(e,a){b(e,o[t[a]])})})}d.checkObjectTag=r},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(H,k,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.checkValid=void 0;function _(x,C){C.forEach(function(A){if(A.validator)A.validator(x);else if(A.pattern&&!A.pattern.test(x))throw new Error(A.msg)})}d.checkValid=_},{}],38:[function(H,k,d){(function(_){"use strict";var x=H("babel-runtime/core-js/object/assign"),C=A(x);function A(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(d,"__esModule",{value:!0}),d.createRequest=void 0;var b=H("./../../../shims/crypto/crypto.js"),m=H("debug")("ali-oss"),p=H("mime"),c=H("dateformat"),o=H("copy-to"),r=H("path");function i(s,e){return s[e]||s[e.toLowerCase()]}function n(s,e){delete s[e],delete s[e.toLowerCase()]}function t(s){var e=new Date;this.options.amendTimeSkewed&&(e=+new Date+this.options.amendTimeSkewed);var a={"x-oss-date":c(e,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(a["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,C.default)(a,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(a["x-oss-security-token"]=this.options.stsToken),o(s.headers).to(a),i(a,"Content-Type")||(s.mime&&s.mime.indexOf("/")>0?a["Content-Type"]=s.mime:a["Content-Type"]=p.getType(s.mime||r.extname(s.object||""))),i(a,"Content-Type")||n(a,"Content-Type"),s.content&&(a["Content-Md5"]=b.createHash("md5").update(_.from(s.content,"utf8")).digest("base64"),a["Content-Length"]||(a["Content-Length"]=s.content.length));var l=this._getResource(s);a.authorization=this.authorization(s.method,l,s.subres,a);var u=this._getReqUrl(s);m("request %s %s, with headers %j, !!stream: %s",s.method,u,a,!!s.stream);var h=s.timeout||this.options.timeout,f={method:s.method,content:s.content,stream:s.stream,headers:a,timeout:h,writeStream:s.writeStream,customResponse:s.customResponse,ctx:s.ctx||this.ctx};return this.agent&&(f.agent=this.agent),this.httpsAgent&&(f.httpsAgent=this.httpsAgent),{url:u,params:f}}d.createRequest=t}).call(this,H("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(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/keys"),x=b(_),C=H("babel-runtime/helpers/typeof"),A=b(C);function b(m){return m&&m.__esModule?m:{default:m}}Object.defineProperty(d,"__esModule",{value:!0}),d.deepCopy=void 0,d.deepCopy=function(m){if(m===null||(typeof m=="undefined"?"undefined":(0,A.default)(m))!=="object")return m;var p=Array.isArray(m)?[]:{};return(0,x.default)(m).forEach(function(c){p[c]=d.deepCopy(m[c])}),p}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/keys"),x=b(_),C=H("babel-runtime/helpers/typeof"),A=b(C);function b(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(d,"__esModule",{value:!0}),d.formatObjKey=void 0;function m(c,o){if(c===null||(typeof c=="undefined"?"undefined":(0,A.default)(c))!=="object")return c;var r=void 0;if(Array.isArray(c)){r=[];for(var i=0;i<c.length;i++)r.push(m(c[i],o))}else r={},(0,x.default)(c).forEach(function(n){r[p(n,o)]=m(c[n],o)});return r}d.formatObjKey=m;function p(c,o){return o==="firstUpperCase"?c=c.replace(/^./,function(r){return r.toUpperCase()}):o==="firstLowerCase"&&(c=c.replace(/^./,function(r){return r.toLowerCase()})),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(H,k,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.getStrBytesCount=void 0;function _(x){for(var C=0,A=0;A<x.length;A++){var b=x.charAt(A);/^[\u00-\uff]$/.test(b)?C+=1:C+=2}return C}d.getStrBytesCount=_},{}],42:[function(H,k,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isArray=void 0,d.isArray=function(_){return Object.prototype.toString.call(_)==="[object Array]"}},{}],43:[function(H,k,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isBlob=void 0;function _(x){return typeof Blob!="undefined"&&x instanceof Blob}d.isBlob=_},{}],44:[function(H,k,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isFile=void 0,d.isFile=function(_){return typeof File!="undefined"&&_ instanceof File}},{}],45:[function(H,k,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isIP=void 0,d.isIP=function(_){var x=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,C=/^\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 x.test(_)||C.test(_)}},{}],46:[function(H,k,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isObject=void 0,d.isObject=function(_){return Object.prototype.toString.call(_)==="[object Object]"}},{}],47:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/keys"),x=C(_);function C(p){return p&&p.__esModule?p:{default:p}}Object.defineProperty(d,"__esModule",{value:!0}),d.obj2xml=void 0;var A=H("./formatObjKey");function b(p){return Object.prototype.toString.call(p).replace(/(.*? |])/g,"").toLowerCase()}function m(p,c){var o="";return c&&c.headers&&(o=`<?xml version="1.0" encoding="UTF-8"?>
`),c&&c.firstUpperCase&&(p=A.formatObjKey(p,"firstUpperCase")),b(p)==="object"?(0,x.default)(p).forEach(function(r){b(p[r])==="string"||b(p[r])==="number"?o+="<"+r+">"+p[r]+"</"+r+">":b(p[r])==="object"?o+="<"+r+">"+m(p[r])+"</"+r+">":b(p[r])==="array"?o+=p[r].map(function(i){return"<"+r+">"+m(i)+"</"+r+">"}).join(""):o+="<"+r+">"+p[r].toString()+"</"+r+">"}):o+=p.toString(),o}d.obj2xml=m},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(H,k,d){k.exports=_,k.exports.HttpsAgent=_;function _(){}},{}],49:[function(H,k,d){k.exports=H("./register")().Promise},{"./register":51}],50:[function(H,k,d){"use strict";var _="@@any-promise/REGISTRATION",x=null;k.exports=function(C,A){return function(m,p){m=m||null,p=p||{};var c=p.global!==!1;if(x===null&&c&&(x=C[_]||null),x!==null&&m!==null&&x.implementation!==m)throw new Error('any-promise already defined as "'+x.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return x===null&&(m!==null&&typeof p.Promise!="undefined"?x={Promise:p.Promise,implementation:m}:x=A(m),c&&(C[_]=x)),x}}},{}],51:[function(H,k,d){"use strict";k.exports=H("./loader")(window,_);function _(){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(H,k,d){k.exports={default:H("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(H,k,d){k.exports={default:H("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(H,k,d){k.exports={default:H("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(H,k,d){k.exports={default:H("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(H,k,d){k.exports={default:H("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(H,k,d){k.exports={default:H("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(H,k,d){k.exports={default:H("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(H,k,d){k.exports={default:H("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(H,k,d){k.exports={default:H("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(H,k,d){k.exports={default:H("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(H,k,d){k.exports={default:H("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(H,k,d){k.exports={default:H("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(H,k,d){k.exports={default:H("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(H,k,d){k.exports={default:H("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(H,k,d){k.exports={default:H("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(H,k,d){"use strict";d.__esModule=!0;var _=H("../core-js/symbol/iterator"),x=m(_),C=H("../core-js/symbol"),A=m(C),b=typeof A.default=="function"&&typeof x.default=="symbol"?function(p){return typeof p}:function(p){return p&&typeof A.default=="function"&&p.constructor===A.default&&p!==A.default.prototype?"symbol":typeof p};function m(p){return p&&p.__esModule?p:{default:p}}d.default=typeof A.default=="function"&&b(x.default)==="symbol"?function(p){return typeof p=="undefined"?"undefined":b(p)}:function(p){return p&&typeof A.default=="function"&&p.constructor===A.default&&p!==A.default.prototype?"symbol":typeof p=="undefined"?"undefined":b(p)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(H,k,d){k.exports=H("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(H,k,d){"use strict";d.byteLength=c,d.toByteArray=r,d.fromByteArray=t;for(var _=[],x=[],C=typeof Uint8Array!="undefined"?Uint8Array:Array,A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,m=A.length;b<m;++b)_[b]=A[b],x[A.charCodeAt(b)]=b;x["-".charCodeAt(0)]=62,x["_".charCodeAt(0)]=63;function p(s){var e=s.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=s.indexOf("=");a===-1&&(a=e);var l=a===e?0:4-a%4;return[a,l]}function c(s){var e=p(s),a=e[0],l=e[1];return(a+l)*3/4-l}function o(s,e,a){return(e+a)*3/4-a}function r(s){var e,a=p(s),l=a[0],u=a[1],h=new C(o(s,l,u)),f=0,g=u>0?l-4:l,v;for(v=0;v<g;v+=4)e=x[s.charCodeAt(v)]<<18|x[s.charCodeAt(v+1)]<<12|x[s.charCodeAt(v+2)]<<6|x[s.charCodeAt(v+3)],h[f++]=e>>16&255,h[f++]=e>>8&255,h[f++]=e&255;return u===2&&(e=x[s.charCodeAt(v)]<<2|x[s.charCodeAt(v+1)]>>4,h[f++]=e&255),u===1&&(e=x[s.charCodeAt(v)]<<10|x[s.charCodeAt(v+1)]<<4|x[s.charCodeAt(v+2)]>>2,h[f++]=e>>8&255,h[f++]=e&255),h}function i(s){return _[s>>18&63]+_[s>>12&63]+_[s>>6&63]+_[s&63]}function n(s,e,a){for(var l,u=[],h=e;h<a;h+=3)l=(s[h]<<16&16711680)+(s[h+1]<<8&65280)+(s[h+2]&255),u.push(i(l));return u.join("")}function t(s){for(var e,a=s.length,l=a%3,u=[],h=16383,f=0,g=a-l;f<g;f+=h)u.push(n(s,f,f+h>g?g:f+h));return l===1?(e=s[a-1],u.push(_[e>>2]+_[e<<4&63]+"==")):l===2&&(e=(s[a-2]<<8)+s[a-1],u.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),u.join("")}},{}],70:[function(H,k,d){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/!function(_,x,C){typeof k!="undefined"&&k.exports?k.exports=C():typeof define=="function"&&define.amd?define(x,C):_[x]=C()}(this,"bowser",function(){var _=!0;function x(o){function r(U){var F=o.match(U);return F&&F.length>1&&F[1]||""}function i(U){var F=o.match(U);return F&&F.length>1&&F[2]||""}var n=r(/(ipod|iphone|ipad)/i).toLowerCase(),t=/like android/i.test(o),s=!t&&/android/i.test(o),e=/nexus\s*[0-6]\s*/i.test(o),a=!e&&/nexus\s*[0-9]+/i.test(o),l=/CrOS/.test(o),u=/silk/i.test(o),h=/sailfish/i.test(o),f=/tizen/i.test(o),g=/(web|hpw)(o|0)s/i.test(o),v=/windows phone/i.test(o),y=/SamsungBrowser/i.test(o),E=!v&&/windows/i.test(o),T=!n&&!u&&/macintosh/i.test(o),w=!s&&!h&&!f&&!g&&/linux/i.test(o),S=i(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),I=r(/version\/(\d+(\.\d+)?)/i),L=/tablet/i.test(o)&&!/tablet pc/i.test(o),O=!L&&/[^-]mobi/i.test(o),N=/xbox/i.test(o),R;/opera/i.test(o)?R={name:"Opera",opera:_,version:I||r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(o)?R={name:"Opera",opera:_,version:r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||I}:/SamsungBrowser/i.test(o)?R={name:"Samsung Internet for Android",samsungBrowser:_,version:I||r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(o)?R={name:"NAVER Whale browser",whale:_,version:r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(o)?R={name:"MZ Browser",mzbrowser:_,version:r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(o)?R={name:"Opera Coast",coast:_,version:I||r(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(o)?R={name:"Focus",focus:_,version:r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(o)?R={name:"Yandex Browser",yandexbrowser:_,version:I||r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(o)?R={name:"UC Browser",ucbrowser:_,version:r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(o)?R={name:"Maxthon",maxthon:_,version:r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(o)?R={name:"Epiphany",epiphany:_,version:r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(o)?R={name:"Puffin",puffin:_,version:r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(o)?R={name:"Sleipnir",sleipnir:_,version:r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(o)?R={name:"K-Meleon",kMeleon:_,version:r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:v?(R={name:"Windows Phone",osname:"Windows Phone",windowsphone:_},S?(R.msedge=_,R.version=S):(R.msie=_,R.version=r(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(o)?R={name:"Internet Explorer",msie:_,version:r(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:l?R={name:"Chrome",osname:"Chrome OS",chromeos:_,chromeBook:_,chrome:_,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(o)?R={name:"Microsoft Edge",msedge:_,version:S}:/vivaldi/i.test(o)?R={name:"Vivaldi",vivaldi:_,version:r(/vivaldi\/(\d+(\.\d+)?)/i)||I}:h?R={name:"Sailfish",osname:"Sailfish OS",sailfish:_,version:r(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(o)?R={name:"SeaMonkey",seamonkey:_,version:r(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(o)?(R={name:"Firefox",firefox:_,version:r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(o)&&(R.firefoxos=_,R.osname="Firefox OS")):u?R={name:"Amazon Silk",silk:_,version:r(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(o)?R={name:"PhantomJS",phantom:_,version:r(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(o)?R={name:"SlimerJS",slimer:_,version:r(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(o)||/rim\stablet/i.test(o)?R={name:"BlackBerry",osname:"BlackBerry OS",blackberry:_,version:I||r(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:g?(R={name:"WebOS",osname:"WebOS",webos:_,version:I||r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(o)&&(R.touchpad=_)):/bada/i.test(o)?R={name:"Bada",osname:"Bada",bada:_,version:r(/dolfin\/(\d+(\.\d+)?)/i)}:f?R={name:"Tizen",osname:"Tizen",tizen:_,version:r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I}:/qupzilla/i.test(o)?R={name:"QupZilla",qupzilla:_,version:r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||I}:/chromium/i.test(o)?R={name:"Chromium",chromium:_,version:r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||I}:/chrome|crios|crmo/i.test(o)?R={name:"Chrome",chrome:_,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:s?R={name:"Android",version:I}:/safari|applewebkit/i.test(o)?(R={name:"Safari",safari:_},I&&(R.version=I)):n?(R={name:n=="iphone"?"iPhone":n=="ipad"?"iPad":"iPod"},I&&(R.version=I)):/googlebot/i.test(o)?R={name:"Googlebot",googlebot:_,version:r(/googlebot\/(\d+(\.\d+))/i)||I}:R={name:r(/^(.*)\/(.*) /),version:i(/^(.*)\/(.*) /)},!R.msedge&&/(apple)?webkit/i.test(o)?(/(apple)?webkit\/537\.36/i.test(o)?(R.name=R.name||"Blink",R.blink=_):(R.name=R.name||"Webkit",R.webkit=_),!R.version&&I&&(R.version=I)):!R.opera&&/gecko\//i.test(o)&&(R.name=R.name||"Gecko",R.gecko=_,R.version=R.version||r(/gecko\/(\d+(\.\d+)?)/i)),!R.windowsphone&&(s||R.silk)?(R.android=_,R.osname="Android"):!R.windowsphone&&n?(R[n]=_,R.ios=_,R.osname="iOS"):T?(R.mac=_,R.osname="macOS"):N?(R.xbox=_,R.osname="Xbox"):E?(R.windows=_,R.osname="Windows"):w&&(R.linux=_,R.osname="Linux");function D(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 B="";R.windows?B=D(r(/Windows ((NT|XP)( \d\d?.\d)?)/i)):R.windowsphone?B=r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):R.mac?(B=r(/Mac OS X (\d+([_\.\s]\d+)*)/i),B=B.replace(/[_\s]/g,".")):n?(B=r(/os (\d+([_\s]\d+)*) like mac os x/i),B=B.replace(/[_\s]/g,".")):s?B=r(/android[ \/-](\d+(\.\d+)*)/i):R.webos?B=r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):R.blackberry?B=r(/rim\stablet\sos\s(\d+(\.\d+)*)/i):R.bada?B=r(/bada\/(\d+(\.\d+)*)/i):R.tizen&&(B=r(/tizen[\/\s](\d+(\.\d+)*)/i)),B&&(R.osversion=B);var M=!R.windows&&B.split(".")[0];return L||a||n=="ipad"||s&&(M==3||M>=4&&!O)||R.silk?R.tablet=_:(O||n=="iphone"||n=="ipod"||s||e||R.blackberry||R.webos||R.bada)&&(R.mobile=_),R.msedge||R.msie&&R.version>=10||R.yandexbrowser&&R.version>=15||R.vivaldi&&R.version>=1||R.chrome&&R.version>=20||R.samsungBrowser&&R.version>=4||R.whale&&m([R.version,"1.0"])===1||R.mzbrowser&&m([R.version,"6.0"])===1||R.focus&&m([R.version,"1.0"])===1||R.firefox&&R.version>=20||R.safari&&R.version>=6||R.opera&&R.version>=10||R.ios&&R.osversion&&R.osversion.split(".")[0]>=6||R.blackberry&&R.version>=10.1||R.chromium&&R.version>=20?R.a=_:R.msie&&R.version<10||R.chrome&&R.version<20||R.firefox&&R.version<20||R.safari&&R.version<6||R.opera&&R.version<10||R.ios&&R.osversion&&R.osversion.split(".")[0]<6||R.chromium&&R.version<20?R.c=_:R.x=_,R}var C=x(typeof navigator!="undefined"&&navigator.userAgent||"");C.test=function(o){for(var r=0;r<o.length;++r){var i=o[r];if(typeof i=="string"&&i in C)return!0}return!1};function A(o){return o.split(".").length}function b(o,r){var i=[],n;if(Array.prototype.map)return Array.prototype.map.call(o,r);for(n=0;n<o.length;n++)i.push(r(o[n]));return i}function m(o){for(var r=Math.max(A(o[0]),A(o[1])),i=b(o,function(n){var t=r-A(n);return n=n+new Array(t+1).join(".0"),b(n.split("."),function(s){return new Array(20-s.length).join("0")+s}).reverse()});--r>=0;){if(i[0][r]>i[1][r])return 1;if(i[0][r]===i[1][r]){if(r===0)return 0}else return-1}}function p(o,r,i){var n=C;typeof r=="string"&&(i=r,r=void 0),r===void 0&&(r=!1),i&&(n=x(i));var t=""+n.version;for(var s in o)if(o.hasOwnProperty(s)&&n[s]){if(typeof o[s]!="string")throw new Error("Browser version in the minVersion map should be a string: "+s+": "+String(o));return m([t,o[s]])<0}return r}function c(o,r,i){return!p(o,r,i)}return C.isUnsupportedBrowser=p,C.compareVersions=m,C.check=c,C._detect=x,C.detect=x,C})},{}],71:[function(H,k,d){},{}],72:[function(H,k,d){var _=H("buffer").Buffer,x=_.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 C(c){if(c&&!x(c))throw new Error("Unknown encoding: "+c)}var A=d.StringDecoder=function(c){this.encoding=(c||"utf8").toLowerCase().replace(/[-_]/,""),C(c);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=m;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=p;break;default:this.write=b;return}this.charBuffer=new _(6),this.charReceived=0,this.charLength=0};A.prototype.write=function(c){for(var o="";this.charLength;){var r=c.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:c.length;if(c.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";c=c.slice(r,c.length),o=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var n=o.charCodeAt(o.length-1);if(n>=55296&&n<=56319){this.charLength+=this.surrogateSize,o="";continue}if(this.charReceived=this.charLength=0,c.length===0)return o;break}this.detectIncompleteChar(c);var i=c.length;this.charLength&&(c.copy(this.charBuffer,0,c.length-this.charReceived,i),i-=this.charReceived),o+=c.toString(this.encoding,0,i);var i=o.length-1,n=o.charCodeAt(i);if(n>=55296&&n<=56319){var t=this.surrogateSize;return this.charLength+=t,this.charReceived+=t,this.charBuffer.copy(this.charBuffer,t,0,t),c.copy(this.charBuffer,0,0,t),o.substring(0,i)}return o},A.prototype.detectIncompleteChar=function(c){for(var o=c.length>=3?3:c.length;o>0;o--){var r=c[c.length-o];if(o==1&&r>>5==6){this.charLength=2;break}if(o<=2&&r>>4==14){this.charLength=3;break}if(o<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=o},A.prototype.end=function(c){var o="";if(c&&c.length&&(o=this.write(c)),this.charReceived){var r=this.charReceived,i=this.charBuffer,n=this.encoding;o+=i.slice(0,r).toString(n)}return o};function b(c){return c.toString(this.encoding)}function m(c){this.charReceived=c.length%2,this.charLength=this.charReceived?2:0}function p(c){this.charReceived=c.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(H,k,d){(function(_,x){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/"use strict";var C=H("base64-js"),A=H("ieee754"),b=H("isarray");d.Buffer=x,d.SlowBuffer=u,d.INSPECT_MAX_BYTES=50,x.TYPED_ARRAY_SUPPORT=_.TYPED_ARRAY_SUPPORT!==void 0?_.TYPED_ARRAY_SUPPORT:m(),d.kMaxLength=p();function m(){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(X){return!1}}function p(){return x.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(re,X){if(p()<X)throw new RangeError("Invalid typed array length");return x.TYPED_ARRAY_SUPPORT?(re=new Uint8Array(X),re.__proto__=x.prototype):(re===null&&(re=new x(X)),re.length=X),re}function x(re,X,G){if(!x.TYPED_ARRAY_SUPPORT&&!(this instanceof x))return new x(re,X,G);if(typeof re=="number"){if(typeof X=="string")throw new Error("If encoding is specified then the first argument must be a string");return n(this,re)}return o(this,re,X,G)}x.poolSize=8192,x._augment=function(re){return re.__proto__=x.prototype,re};function o(re,X,G,Q){if(typeof X=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&X instanceof ArrayBuffer?e(re,X,G,Q):typeof X=="string"?t(re,X,G):a(re,X)}x.from=function(re,X,G){return o(null,re,X,G)},x.TYPED_ARRAY_SUPPORT&&(x.prototype.__proto__=Uint8Array.prototype,x.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&x[Symbol.species]===x&&Object.defineProperty(x,Symbol.species,{value:null,configurable:!0}));function r(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 i(re,X,G,Q){return r(X),X<=0?c(re,X):G!==void 0?typeof Q=="string"?c(re,X).fill(G,Q):c(re,X).fill(G):c(re,X)}x.alloc=function(re,X,G){return i(null,re,X,G)};function n(re,X){if(r(X),re=c(re,X<0?0:l(X)|0),!x.TYPED_ARRAY_SUPPORT)for(var G=0;G<X;++G)re[G]=0;return re}x.allocUnsafe=function(re){return n(null,re)},x.allocUnsafeSlow=function(re){return n(null,re)};function t(re,X,G){if((typeof G!="string"||G==="")&&(G="utf8"),!x.isEncoding(G))throw new TypeError('"encoding" must be a valid string encoding');var Q=h(X,G)|0;re=c(re,Q);var ve=re.write(X,G);return ve!==Q&&(re=re.slice(0,ve)),re}function s(re,X){var G=X.length<0?0:l(X.length)|0;re=c(re,G);for(var Q=0;Q<G;Q+=1)re[Q]=X[Q]&255;return re}function e(re,X,G,Q){if(X.byteLength,G<0||X.byteLength<G)throw new RangeError("'offset' is out of bounds");if(X.byteLength<G+(Q||0))throw new RangeError("'length' is out of bounds");return G===void 0&&Q===void 0?X=new Uint8Array(X):Q===void 0?X=new Uint8Array(X,G):X=new Uint8Array(X,G,Q),x.TYPED_ARRAY_SUPPORT?(re=X,re.__proto__=x.prototype):re=s(re,X),re}function a(re,X){if(x.isBuffer(X)){var G=l(X.length)|0;return re=c(re,G),re.length===0||X.copy(re,0,0,G),re}if(X){if(typeof ArrayBuffer!="undefined"&&X.buffer instanceof ArrayBuffer||"length"in X)return typeof X.length!="number"||ze(X.length)?c(re,0):s(re,X);if(X.type==="Buffer"&&b(X.data))return s(re,X.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function l(re){if(re>=p())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p().toString(16)+" bytes");return re|0}function u(re){return+re!=re&&(re=0),x.alloc(+re)}x.isBuffer=function(X){return!!(X!=null&&X._isBuffer)},x.compare=function(X,G){if(!x.isBuffer(X)||!x.isBuffer(G))throw new TypeError("Arguments must be Buffers");if(X===G)return 0;for(var Q=X.length,ve=G.length,de=0,Ce=Math.min(Q,ve);de<Ce;++de)if(X[de]!==G[de]){Q=X[de],ve=G[de];break}return Q<ve?-1:ve<Q?1:0},x.isEncoding=function(X){switch(String(X).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},x.concat=function(X,G){if(!b(X))throw new TypeError('"list" argument must be an Array of Buffers');if(X.length===0)return x.alloc(0);var Q;if(G===void 0)for(G=0,Q=0;Q<X.length;++Q)G+=X[Q].length;var ve=x.allocUnsafe(G),de=0;for(Q=0;Q<X.length;++Q){var Ce=X[Q];if(!x.isBuffer(Ce))throw new TypeError('"list" argument must be an Array of Buffers');Ce.copy(ve,de),de+=Ce.length}return ve};function h(re,X){if(x.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 G=re.length;if(G===0)return 0;for(var Q=!1;;)switch(X){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":case void 0:return De(re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G*2;case"hex":return G>>>1;case"base64":return se(re).length;default:if(Q)return De(re).length;X=(""+X).toLowerCase(),Q=!0}}x.byteLength=h;function f(re,X,G){var Q=!1;if((X===void 0||X<0)&&(X=0),X>this.length)return"";if((G===void 0||G>this.length)&&(G=this.length),G<=0)return"";if(G>>>=0,X>>>=0,G<=X)return"";for(re||(re="utf8");;)switch(re){case"hex":return U(this,X,G);case"utf8":case"utf-8":return N(this,X,G);case"ascii":return B(this,X,G);case"latin1":case"binary":return M(this,X,G);case"base64":return O(this,X,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,X,G);default:if(Q)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),Q=!0}}x.prototype._isBuffer=!0;function g(re,X,G){var Q=re[X];re[X]=re[G],re[G]=Q}x.prototype.swap16=function(){var X=this.length;if(X%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var G=0;G<X;G+=2)g(this,G,G+1);return this},x.prototype.swap32=function(){var X=this.length;if(X%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var G=0;G<X;G+=4)g(this,G,G+3),g(this,G+1,G+2);return this},x.prototype.swap64=function(){var X=this.length;if(X%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var G=0;G<X;G+=8)g(this,G,G+7),g(this,G+1,G+6),g(this,G+2,G+5),g(this,G+3,G+4);return this},x.prototype.toString=function(){var X=this.length|0;return X===0?"":arguments.length===0?N(this,0,X):f.apply(this,arguments)},x.prototype.equals=function(X){if(!x.isBuffer(X))throw new TypeError("Argument must be a Buffer");return this===X?!0:x.compare(this,X)===0},x.prototype.inspect=function(){var X="",G=d.INSPECT_MAX_BYTES;return this.length>0&&(X=this.toString("hex",0,G).match(/.{2}/g).join(" "),this.length>G&&(X+=" ... ")),"<Buffer "+X+">"},x.prototype.compare=function(X,G,Q,ve,de){if(!x.isBuffer(X))throw new TypeError("Argument must be a Buffer");if(G===void 0&&(G=0),Q===void 0&&(Q=X?X.length:0),ve===void 0&&(ve=0),de===void 0&&(de=this.length),G<0||Q>X.length||ve<0||de>this.length)throw new RangeError("out of range index");if(ve>=de&&G>=Q)return 0;if(ve>=de)return-1;if(G>=Q)return 1;if(G>>>=0,Q>>>=0,ve>>>=0,de>>>=0,this===X)return 0;for(var Ce=de-ve,we=Q-G,le=Math.min(Ce,we),fe=this.slice(ve,de),xe=X.slice(G,Q),We=0;We<le;++We)if(fe[We]!==xe[We]){Ce=fe[We],we=xe[We];break}return Ce<we?-1:we<Ce?1:0};function v(re,X,G,Q,ve){if(re.length===0)return-1;if(typeof G=="string"?(Q=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),G=+G,isNaN(G)&&(G=ve?0:re.length-1),G<0&&(G=re.length+G),G>=re.length){if(ve)return-1;G=re.length-1}else if(G<0)if(ve)G=0;else return-1;if(typeof X=="string"&&(X=x.from(X,Q)),x.isBuffer(X))return X.length===0?-1:y(re,X,G,Q,ve);if(typeof X=="number")return X=X&255,x.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ve?Uint8Array.prototype.indexOf.call(re,X,G):Uint8Array.prototype.lastIndexOf.call(re,X,G):y(re,[X],G,Q,ve);throw new TypeError("val must be string, number or Buffer")}function y(re,X,G,Q,ve){var de=1,Ce=re.length,we=X.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(re.length<2||X.length<2)return-1;de=2,Ce/=2,we/=2,G/=2}function le($e,Le){return de===1?$e[Le]:$e.readUInt16BE(Le*de)}var fe;if(ve){var xe=-1;for(fe=G;fe<Ce;fe++)if(le(re,fe)===le(X,xe===-1?0:fe-xe)){if(xe===-1&&(xe=fe),fe-xe+1===we)return xe*de}else xe!==-1&&(fe-=fe-xe),xe=-1}else for(G+we>Ce&&(G=Ce-we),fe=G;fe>=0;fe--){for(var We=!0,nt=0;nt<we;nt++)if(le(re,fe+nt)!==le(X,nt)){We=!1;break}if(We)return fe}return-1}x.prototype.includes=function(X,G,Q){return this.indexOf(X,G,Q)!==-1},x.prototype.indexOf=function(X,G,Q){return v(this,X,G,Q,!0)},x.prototype.lastIndexOf=function(X,G,Q){return v(this,X,G,Q,!1)};function E(re,X,G,Q){G=Number(G)||0;var ve=re.length-G;Q?(Q=Number(Q),Q>ve&&(Q=ve)):Q=ve;var de=X.length;if(de%2!==0)throw new TypeError("Invalid hex string");Q>de/2&&(Q=de/2);for(var Ce=0;Ce<Q;++Ce){var we=parseInt(X.substr(Ce*2,2),16);if(isNaN(we))return Ce;re[G+Ce]=we}return Ce}function T(re,X,G,Q){return $(De(X,re.length-G),re,G,Q)}function w(re,X,G,Q){return $(ce(X),re,G,Q)}function S(re,X,G,Q){return w(re,X,G,Q)}function I(re,X,G,Q){return $(se(X),re,G,Q)}function L(re,X,G,Q){return $(Oe(X,re.length-G),re,G,Q)}x.prototype.write=function(X,G,Q,ve){if(G===void 0)ve="utf8",Q=this.length,G=0;else if(Q===void 0&&typeof G=="string")ve=G,Q=this.length,G=0;else if(isFinite(G))G=G|0,isFinite(Q)?(Q=Q|0,ve===void 0&&(ve="utf8")):(ve=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var de=this.length-G;if((Q===void 0||Q>de)&&(Q=de),X.length>0&&(Q<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");ve||(ve="utf8");for(var Ce=!1;;)switch(ve){case"hex":return E(this,X,G,Q);case"utf8":case"utf-8":return T(this,X,G,Q);case"ascii":return w(this,X,G,Q);case"latin1":case"binary":return S(this,X,G,Q);case"base64":return I(this,X,G,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,X,G,Q);default:if(Ce)throw new TypeError("Unknown encoding: "+ve);ve=(""+ve).toLowerCase(),Ce=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(re,X,G){return X===0&&G===re.length?C.fromByteArray(re):C.fromByteArray(re.slice(X,G))}function N(re,X,G){G=Math.min(re.length,G);for(var Q=[],ve=X;ve<G;){var de=re[ve],Ce=null,we=de>239?4:de>223?3:de>191?2:1;if(ve+we<=G){var le,fe,xe,We;switch(we){case 1:de<128&&(Ce=de);break;case 2:le=re[ve+1],(le&192)===128&&(We=(de&31)<<6|le&63,We>127&&(Ce=We));break;case 3:le=re[ve+1],fe=re[ve+2],(le&192)===128&&(fe&192)===128&&(We=(de&15)<<12|(le&63)<<6|fe&63,We>2047&&(We<55296||We>57343)&&(Ce=We));break;case 4:le=re[ve+1],fe=re[ve+2],xe=re[ve+3],(le&192)===128&&(fe&192)===128&&(xe&192)===128&&(We=(de&15)<<18|(le&63)<<12|(fe&63)<<6|xe&63,We>65535&&We<1114112&&(Ce=We))}}Ce===null?(Ce=65533,we=1):Ce>65535&&(Ce-=65536,Q.push(Ce>>>10&1023|55296),Ce=56320|Ce&1023),Q.push(Ce),ve+=we}return D(Q)}var R=4096;function D(re){var X=re.length;if(X<=R)return String.fromCharCode.apply(String,re);for(var G="",Q=0;Q<X;)G+=String.fromCharCode.apply(String,re.slice(Q,Q+=R));return G}function B(re,X,G){var Q="";G=Math.min(re.length,G);for(var ve=X;ve<G;++ve)Q+=String.fromCharCode(re[ve]&127);return Q}function M(re,X,G){var Q="";G=Math.min(re.length,G);for(var ve=X;ve<G;++ve)Q+=String.fromCharCode(re[ve]);return Q}function U(re,X,G){var Q=re.length;(!X||X<0)&&(X=0),(!G||G<0||G>Q)&&(G=Q);for(var ve="",de=X;de<G;++de)ve+=pe(re[de]);return ve}function F(re,X,G){for(var Q=re.slice(X,G),ve="",de=0;de<Q.length;de+=2)ve+=String.fromCharCode(Q[de]+Q[de+1]*256);return ve}x.prototype.slice=function(X,G){var Q=this.length;X=~~X,G=G===void 0?Q:~~G,X<0?(X+=Q,X<0&&(X=0)):X>Q&&(X=Q),G<0?(G+=Q,G<0&&(G=0)):G>Q&&(G=Q),G<X&&(G=X);var ve;if(x.TYPED_ARRAY_SUPPORT)ve=this.subarray(X,G),ve.__proto__=x.prototype;else{var de=G-X;ve=new x(de,void 0);for(var Ce=0;Ce<de;++Ce)ve[Ce]=this[Ce+X]}return ve};function j(re,X,G){if(re%1!==0||re<0)throw new RangeError("offset is not uint");if(re+X>G)throw new RangeError("Trying to access beyond buffer length")}x.prototype.readUIntLE=function(X,G,Q){X=X|0,G=G|0,Q||j(X,G,this.length);for(var ve=this[X],de=1,Ce=0;++Ce<G&&(de*=256);)ve+=this[X+Ce]*de;return ve},x.prototype.readUIntBE=function(X,G,Q){X=X|0,G=G|0,Q||j(X,G,this.length);for(var ve=this[X+--G],de=1;G>0&&(de*=256);)ve+=this[X+--G]*de;return ve},x.prototype.readUInt8=function(X,G){return G||j(X,1,this.length),this[X]},x.prototype.readUInt16LE=function(X,G){return G||j(X,2,this.length),this[X]|this[X+1]<<8},x.prototype.readUInt16BE=function(X,G){return G||j(X,2,this.length),this[X]<<8|this[X+1]},x.prototype.readUInt32LE=function(X,G){return G||j(X,4,this.length),(this[X]|this[X+1]<<8|this[X+2]<<16)+this[X+3]*16777216},x.prototype.readUInt32BE=function(X,G){return G||j(X,4,this.length),this[X]*16777216+(this[X+1]<<16|this[X+2]<<8|this[X+3])},x.prototype.readIntLE=function(X,G,Q){X=X|0,G=G|0,Q||j(X,G,this.length);for(var ve=this[X],de=1,Ce=0;++Ce<G&&(de*=256);)ve+=this[X+Ce]*de;return de*=128,ve>=de&&(ve-=Math.pow(2,8*G)),ve},x.prototype.readIntBE=function(X,G,Q){X=X|0,G=G|0,Q||j(X,G,this.length);for(var ve=G,de=1,Ce=this[X+--ve];ve>0&&(de*=256);)Ce+=this[X+--ve]*de;return de*=128,Ce>=de&&(Ce-=Math.pow(2,8*G)),Ce},x.prototype.readInt8=function(X,G){return G||j(X,1,this.length),this[X]&128?(255-this[X]+1)*-1:this[X]},x.prototype.readInt16LE=function(X,G){G||j(X,2,this.length);var Q=this[X]|this[X+1]<<8;return Q&32768?Q|4294901760:Q},x.prototype.readInt16BE=function(X,G){G||j(X,2,this.length);var Q=this[X+1]|this[X]<<8;return Q&32768?Q|4294901760:Q},x.prototype.readInt32LE=function(X,G){return G||j(X,4,this.length),this[X]|this[X+1]<<8|this[X+2]<<16|this[X+3]<<24},x.prototype.readInt32BE=function(X,G){return G||j(X,4,this.length),this[X]<<24|this[X+1]<<16|this[X+2]<<8|this[X+3]},x.prototype.readFloatLE=function(X,G){return G||j(X,4,this.length),A.read(this,X,!0,23,4)},x.prototype.readFloatBE=function(X,G){return G||j(X,4,this.length),A.read(this,X,!1,23,4)},x.prototype.readDoubleLE=function(X,G){return G||j(X,8,this.length),A.read(this,X,!0,52,8)},x.prototype.readDoubleBE=function(X,G){return G||j(X,8,this.length),A.read(this,X,!1,52,8)};function W(re,X,G,Q,ve,de){if(!x.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(X>ve||X<de)throw new RangeError('"value" argument is out of bounds');if(G+Q>re.length)throw new RangeError("Index out of range")}x.prototype.writeUIntLE=function(X,G,Q,ve){if(X=+X,G=G|0,Q=Q|0,!ve){var de=Math.pow(2,8*Q)-1;W(this,X,G,Q,de,0)}var Ce=1,we=0;for(this[G]=X&255;++we<Q&&(Ce*=256);)this[G+we]=X/Ce&255;return G+Q},x.prototype.writeUIntBE=function(X,G,Q,ve){if(X=+X,G=G|0,Q=Q|0,!ve){var de=Math.pow(2,8*Q)-1;W(this,X,G,Q,de,0)}var Ce=Q-1,we=1;for(this[G+Ce]=X&255;--Ce>=0&&(we*=256);)this[G+Ce]=X/we&255;return G+Q},x.prototype.writeUInt8=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,1,255,0),x.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),this[G]=X&255,G+1};function V(re,X,G,Q){X<0&&(X=65535+X+1);for(var ve=0,de=Math.min(re.length-G,2);ve<de;++ve)re[G+ve]=(X&255<<8*(Q?ve:1-ve))>>>(Q?ve:1-ve)*8}x.prototype.writeUInt16LE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,2,65535,0),x.TYPED_ARRAY_SUPPORT?(this[G]=X&255,this[G+1]=X>>>8):V(this,X,G,!0),G+2},x.prototype.writeUInt16BE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,2,65535,0),x.TYPED_ARRAY_SUPPORT?(this[G]=X>>>8,this[G+1]=X&255):V(this,X,G,!1),G+2};function z(re,X,G,Q){X<0&&(X=4294967295+X+1);for(var ve=0,de=Math.min(re.length-G,4);ve<de;++ve)re[G+ve]=X>>>(Q?ve:3-ve)*8&255}x.prototype.writeUInt32LE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,4,4294967295,0),x.TYPED_ARRAY_SUPPORT?(this[G+3]=X>>>24,this[G+2]=X>>>16,this[G+1]=X>>>8,this[G]=X&255):z(this,X,G,!0),G+4},x.prototype.writeUInt32BE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,4,4294967295,0),x.TYPED_ARRAY_SUPPORT?(this[G]=X>>>24,this[G+1]=X>>>16,this[G+2]=X>>>8,this[G+3]=X&255):z(this,X,G,!1),G+4},x.prototype.writeIntLE=function(X,G,Q,ve){if(X=+X,G=G|0,!ve){var de=Math.pow(2,8*Q-1);W(this,X,G,Q,de-1,-de)}var Ce=0,we=1,le=0;for(this[G]=X&255;++Ce<Q&&(we*=256);)X<0&&le===0&&this[G+Ce-1]!==0&&(le=1),this[G+Ce]=(X/we>>0)-le&255;return G+Q},x.prototype.writeIntBE=function(X,G,Q,ve){if(X=+X,G=G|0,!ve){var de=Math.pow(2,8*Q-1);W(this,X,G,Q,de-1,-de)}var Ce=Q-1,we=1,le=0;for(this[G+Ce]=X&255;--Ce>=0&&(we*=256);)X<0&&le===0&&this[G+Ce+1]!==0&&(le=1),this[G+Ce]=(X/we>>0)-le&255;return G+Q},x.prototype.writeInt8=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,1,127,-128),x.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),X<0&&(X=255+X+1),this[G]=X&255,G+1},x.prototype.writeInt16LE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,2,32767,-32768),x.TYPED_ARRAY_SUPPORT?(this[G]=X&255,this[G+1]=X>>>8):V(this,X,G,!0),G+2},x.prototype.writeInt16BE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,2,32767,-32768),x.TYPED_ARRAY_SUPPORT?(this[G]=X>>>8,this[G+1]=X&255):V(this,X,G,!1),G+2},x.prototype.writeInt32LE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,4,2147483647,-2147483648),x.TYPED_ARRAY_SUPPORT?(this[G]=X&255,this[G+1]=X>>>8,this[G+2]=X>>>16,this[G+3]=X>>>24):z(this,X,G,!0),G+4},x.prototype.writeInt32BE=function(X,G,Q){return X=+X,G=G|0,Q||W(this,X,G,4,2147483647,-2147483648),X<0&&(X=4294967295+X+1),x.TYPED_ARRAY_SUPPORT?(this[G]=X>>>24,this[G+1]=X>>>16,this[G+2]=X>>>8,this[G+3]=X&255):z(this,X,G,!1),G+4};function Y(re,X,G,Q,ve,de){if(G+Q>re.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function J(re,X,G,Q,ve){return ve||Y(re,X,G,4,34028234663852886e22,-34028234663852886e22),A.write(re,X,G,Q,23,4),G+4}x.prototype.writeFloatLE=function(X,G,Q){return J(this,X,G,!0,Q)},x.prototype.writeFloatBE=function(X,G,Q){return J(this,X,G,!1,Q)};function ie(re,X,G,Q,ve){return ve||Y(re,X,G,8,17976931348623157e292,-17976931348623157e292),A.write(re,X,G,Q,52,8),G+8}x.prototype.writeDoubleLE=function(X,G,Q){return ie(this,X,G,!0,Q)},x.prototype.writeDoubleBE=function(X,G,Q){return ie(this,X,G,!1,Q)},x.prototype.copy=function(X,G,Q,ve){if(Q||(Q=0),!ve&&ve!==0&&(ve=this.length),G>=X.length&&(G=X.length),G||(G=0),ve>0&&ve<Q&&(ve=Q),ve===Q)return 0;if(X.length===0||this.length===0)return 0;if(G<0)throw new RangeError("targetStart out of bounds");if(Q<0||Q>=this.length)throw new RangeError("sourceStart out of bounds");if(ve<0)throw new RangeError("sourceEnd out of bounds");ve>this.length&&(ve=this.length),X.length-G<ve-Q&&(ve=X.length-G+Q);var de=ve-Q,Ce;if(this===X&&Q<G&&G<ve)for(Ce=de-1;Ce>=0;--Ce)X[Ce+G]=this[Ce+Q];else if(de<1e3||!x.TYPED_ARRAY_SUPPORT)for(Ce=0;Ce<de;++Ce)X[Ce+G]=this[Ce+Q];else Uint8Array.prototype.set.call(X,this.subarray(Q,Q+de),G);return de},x.prototype.fill=function(X,G,Q,ve){if(typeof X=="string"){if(typeof G=="string"?(ve=G,G=0,Q=this.length):typeof Q=="string"&&(ve=Q,Q=this.length),X.length===1){var de=X.charCodeAt(0);de<256&&(X=de)}if(ve!==void 0&&typeof ve!="string")throw new TypeError("encoding must be a string");if(typeof ve=="string"&&!x.isEncoding(ve))throw new TypeError("Unknown encoding: "+ve)}else typeof X=="number"&&(X=X&255);if(G<0||this.length<G||this.length<Q)throw new RangeError("Out of range index");if(Q<=G)return this;G=G>>>0,Q=Q===void 0?this.length:Q>>>0,X||(X=0);var Ce;if(typeof X=="number")for(Ce=G;Ce<Q;++Ce)this[Ce]=X;else{var we=x.isBuffer(X)?X:De(new x(X,ve).toString()),le=we.length;for(Ce=0;Ce<Q-G;++Ce)this[Ce+G]=we[Ce%le]}return this};var Z=/[^+\/0-9A-Za-z-_]/g;function oe(re){if(re=ge(re).replace(Z,""),re.length<2)return"";for(;re.length%4!==0;)re=re+"=";return re}function ge(re){return re.trim?re.trim():re.replace(/^\s+|\s+$/g,"")}function pe(re){return re<16?"0"+re.toString(16):re.toString(16)}function De(re,X){X=X||Infinity;for(var G,Q=re.length,ve=null,de=[],Ce=0;Ce<Q;++Ce){if(G=re.charCodeAt(Ce),G>55295&&G<57344){if(!ve){if(G>56319){(X-=3)>-1&&de.push(239,191,189);continue}else if(Ce+1===Q){(X-=3)>-1&&de.push(239,191,189);continue}ve=G;continue}if(G<56320){(X-=3)>-1&&de.push(239,191,189),ve=G;continue}G=(ve-55296<<10|G-56320)+65536}else ve&&((X-=3)>-1&&de.push(239,191,189));if(ve=null,G<128){if((X-=1)<0)break;de.push(G)}else if(G<2048){if((X-=2)<0)break;de.push(G>>6|192,G&63|128)}else if(G<65536){if((X-=3)<0)break;de.push(G>>12|224,G>>6&63|128,G&63|128)}else if(G<1114112){if((X-=4)<0)break;de.push(G>>18|240,G>>12&63|128,G>>6&63|128,G&63|128)}else throw new Error("Invalid code point")}return de}function ce(re){for(var X=[],G=0;G<re.length;++G)X.push(re.charCodeAt(G)&255);return X}function Oe(re,X){for(var G,Q,ve,de=[],Ce=0;Ce<re.length&&!((X-=2)<0);++Ce)G=re.charCodeAt(Ce),Q=G>>8,ve=G%256,de.push(ve),de.push(Q);return de}function se(re){return C.toByteArray(oe(re))}function $(re,X,G,Q){for(var ve=0;ve<Q&&!(ve+G>=X.length||ve>=re.length);++ve)X[ve+G]=re[ve];return ve}function ze(re){return re!==re}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},H("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(H,k,d){k.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(H,k,d){k.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(H,k,d){/*!
* copy-to - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var _=Array.prototype.slice;k.exports=x;function x(A,b){if(!(this instanceof x))return new x(A,b);this.src=A,this._withAccess=b}x.prototype.withAccess=function(A){return this._withAccess=A!==!1,this},x.prototype.pick=function(A){return Array.isArray(A)||(A=_.call(arguments)),A.length&&(this.keys=A),this},x.prototype.to=function(A){if(A=A||{},!this.src)return A;var b=this.keys||Object.keys(this.src);if(!this._withAccess){for(var m=0;m<b.length;m++){if(p=b[m],A[p]!==void 0)continue;A[p]=this.src[p]}return A}for(var m=0;m<b.length;m++){var p=b[m];if(!C(A,p))continue;var c=this.src.__lookupGetter__(p),o=this.src.__lookupSetter__(p);c&&A.__defineGetter__(p,c),o&&A.__defineSetter__(p,o),!c&&!o&&(A[p]=this.src[p])}return A},x.prototype.toCover=function(A){for(var b=this.keys||Object.keys(this.src),m=0;m<b.length;m++){var p=b[m];delete A[p];var c=this.src.__lookupGetter__(p),o=this.src.__lookupSetter__(p);c&&A.__defineGetter__(p,c),o&&A.__defineSetter__(p,o),!c&&!o&&(A[p]=this.src[p])}},x.prototype.override=x.prototype.toCover,x.prototype.and=function(A){var b={};return this.to(b),this.src=A,this.to(b),this.src=b,this};function C(A,b){return A[b]===void 0&&A.__lookupGetter__(b)===void 0&&A.__lookupSetter__(b)===void 0}},{}],77:[function(H,k,d){H("../../modules/es6.string.iterator"),H("../../modules/es6.array.from"),k.exports=H("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(H,k,d){var _=H("../../modules/_core"),x=_.JSON||(_.JSON={stringify:JSON.stringify});k.exports=function(A){return x.stringify.apply(x,arguments)}},{"../../modules/_core":99}],79:[function(H,k,d){H("../../modules/es6.object.assign"),k.exports=H("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(H,k,d){H("../../modules/es6.object.create");var _=H("../../modules/_core").Object;k.exports=function(C,A){return _.create(C,A)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(H,k,d){H("../../modules/es6.object.define-property");var _=H("../../modules/_core").Object;k.exports=function(C,A,b){return _.defineProperty(C,A,b)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(H,k,d){H("../../modules/es7.object.entries"),k.exports=H("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(H,k,d){H("../../modules/es6.object.get-own-property-names");var _=H("../../modules/_core").Object;k.exports=function(C){return _.getOwnPropertyNames(C)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(H,k,d){H("../../modules/es6.object.get-prototype-of"),k.exports=H("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(H,k,d){H("../../modules/es6.object.keys"),k.exports=H("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(H,k,d){H("../modules/es6.object.to-string"),H("../modules/es6.string.iterator"),H("../modules/web.dom.iterable"),H("../modules/es6.promise"),H("../modules/es7.promise.finally"),H("../modules/es7.promise.try"),k.exports=H("../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(H,k,d){H("../modules/web.immediate"),k.exports=H("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(H,k,d){H("../../modules/es6.string.from-code-point"),k.exports=H("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(H,k,d){H("../../modules/es6.function.has-instance"),k.exports=H("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(H,k,d){H("../../modules/es6.symbol"),H("../../modules/es6.object.to-string"),H("../../modules/es7.symbol.async-iterator"),H("../../modules/es7.symbol.observable"),k.exports=H("../../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(H,k,d){H("../../modules/es6.string.iterator"),H("../../modules/web.dom.iterable"),k.exports=H("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(H,k,d){k.exports=function(_){if(typeof _!="function")throw TypeError(_+" is not a function!");return _}},{}],93:[function(H,k,d){k.exports=function(){}},{}],94:[function(H,k,d){k.exports=function(_,x,C,A){if(!(_ instanceof x)||A!==void 0&&A in _)throw TypeError(C+": incorrect invocation!");return _}},{}],95:[function(H,k,d){var _=H("./_is-object");k.exports=function(x){if(!_(x))throw TypeError(x+" is not an object!");return x}},{"./_is-object":119}],96:[function(H,k,d){var _=H("./_to-iobject"),x=H("./_to-length"),C=H("./_to-absolute-index");k.exports=function(A){return function(b,m,p){var c=_(b),o=x(c.length),r=C(p,o),i;if(A&&m!=m){for(;o>r;)if(i=c[r++],i!=i)return!0}else for(;o>r;r++)if((A||r in c)&&c[r]===m)return A||r||0;return!A&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(H,k,d){var _=H("./_cof"),x=H("./_wks")("toStringTag"),C=_(function(){return arguments}())=="Arguments",A=function(m,p){try{return m[p]}catch(c){}};k.exports=function(b){var m,p,c;return b===void 0?"Undefined":b===null?"Null":typeof(p=A(m=Object(b),x))=="string"?p:C?_(m):(c=_(m))=="Object"&&typeof m.callee=="function"?"Arguments":c}},{"./_cof":98,"./_wks":166}],98:[function(H,k,d){var _={}.toString;k.exports=function(x){return _.call(x).slice(8,-1)}},{}],99:[function(H,k,d){var _=k.exports={version:"2.6.11"};typeof __e=="number"&&(__e=_)},{}],100:[function(H,k,d){"use strict";var _=H("./_object-dp"),x=H("./_property-desc");k.exports=function(C,A,b){A in C?_.f(C,A,x(0,b)):C[A]=b}},{"./_object-dp":132,"./_property-desc":146}],101:[function(H,k,d){var _=H("./_a-function");k.exports=function(x,C,A){if(_(x),C===void 0)return x;switch(A){case 1:return function(b){return x.call(C,b)};case 2:return function(b,m){return x.call(C,b,m)};case 3:return function(b,m,p){return x.call(C,b,m,p)}}return function(){return x.apply(C,arguments)}}},{"./_a-function":92}],102:[function(H,k,d){k.exports=function(_){if(_==null)throw TypeError("Can't call method on "+_);return _}},{}],103:[function(H,k,d){k.exports=!H("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(H,k,d){var _=H("./_is-object"),x=H("./_global").document,C=_(x)&&_(x.createElement);k.exports=function(A){return C?x.createElement(A):{}}},{"./_global":110,"./_is-object":119}],105:[function(H,k,d){k.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(H,k,d){var _=H("./_object-keys"),x=H("./_object-gops"),C=H("./_object-pie");k.exports=function(A){var b=_(A),m=x.f;if(m)for(var p=m(A),c=C.f,o=0,r;p.length>o;)c.call(A,r=p[o++])&&b.push(r);return b}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(H,k,d){var _=H("./_global"),x=H("./_core"),C=H("./_ctx"),A=H("./_hide"),b=H("./_has"),m="prototype",p=function c(o,r,i){var n=o&c.F,t=o&c.G,s=o&c.S,e=o&c.P,a=o&c.B,l=o&c.W,u=t?x:x[r]||(x[r]={}),h=u[m],f=t?_:s?_[r]:(_[r]||{})[m],g,v,y;t&&(i=r);for(g in i){if(v=!n&&f&&f[g]!==void 0,v&&b(u,g))continue;y=v?f[g]:i[g],u[g]=t&&typeof f[g]!="function"?i[g]:a&&v?C(y,_):l&&f[g]==y?function(E){var T=function(S,I,L){if(this instanceof E){switch(arguments.length){case 0:return new E;case 1:return new E(S);case 2:return new E(S,I)}return new E(S,I,L)}return E.apply(this,arguments)};return T[m]=E[m],T}(y):e&&typeof y=="function"?C(Function.call,y):y,e&&((u.virtual||(u.virtual={}))[g]=y,o&c.R&&h&&!h[g]&&A(h,g,y))}};p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,p.U=64,p.R=128,k.exports=p},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(H,k,d){k.exports=function(_){try{return!!_()}catch(x){return!0}}},{}],109:[function(H,k,d){var _=H("./_ctx"),x=H("./_iter-call"),C=H("./_is-array-iter"),A=H("./_an-object"),b=H("./_to-length"),m=H("./core.get-iterator-method"),p={},c={},d=k.exports=function(o,r,i,n,t){var s=t?function(){return o}:m(o),e=_(i,n,r?2:1),a=0,l,u,h,f;if(typeof s!="function")throw TypeError(o+" is not iterable!");if(C(s)){for(l=b(o.length);l>a;a++)if(f=r?e(A(u=o[a])[0],u[1]):e(o[a]),f===p||f===c)return f}else for(h=s.call(o);!(u=h.next()).done;)if(f=x(h,e,u.value,r),f===p||f===c)return f};d.BREAK=p,d.RETURN=c},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(H,k,d){var _=k.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=_)},{}],111:[function(H,k,d){var _={}.hasOwnProperty;k.exports=function(x,C){return _.call(x,C)}},{}],112:[function(H,k,d){var _=H("./_object-dp"),x=H("./_property-desc");k.exports=H("./_descriptors")?function(C,A,b){return _.f(C,A,x(1,b))}:function(C,A,b){return C[A]=b,C}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(H,k,d){var _=H("./_global").document;k.exports=_&&_.documentElement},{"./_global":110}],114:[function(H,k,d){k.exports=!H("./_descriptors")&&!H("./_fails")(function(){return Object.defineProperty(H("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(H,k,d){k.exports=function(_,x,C){var A=C===void 0;switch(x.length){case 0:return A?_():_.call(C);case 1:return A?_(x[0]):_.call(C,x[0]);case 2:return A?_(x[0],x[1]):_.call(C,x[0],x[1]);case 3:return A?_(x[0],x[1],x[2]):_.call(C,x[0],x[1],x[2]);case 4:return A?_(x[0],x[1],x[2],x[3]):_.call(C,x[0],x[1],x[2],x[3])}return _.apply(C,x)}},{}],116:[function(H,k,d){var _=H("./_cof");k.exports=Object("z").propertyIsEnumerable(0)?Object:function(x){return _(x)=="String"?x.split(""):Object(x)}},{"./_cof":98}],117:[function(H,k,d){var _=H("./_iterators"),x=H("./_wks")("iterator"),C=Array.prototype;k.exports=function(A){return A!==void 0&&(_.Array===A||C[x]===A)}},{"./_iterators":125,"./_wks":166}],118:[function(H,k,d){var _=H("./_cof");k.exports=Array.isArray||function(C){return _(C)=="Array"}},{"./_cof":98}],119:[function(H,k,d){k.exports=function(_){return typeof _=="object"?_!==null:typeof _=="function"}},{}],120:[function(H,k,d){var _=H("./_an-object");k.exports=function(x,C,A,b){try{return b?C(_(A)[0],A[1]):C(A)}catch(p){var m=x.return;throw m!==void 0&&_(m.call(x)),p}}},{"./_an-object":95}],121:[function(H,k,d){"use strict";var _=H("./_object-create"),x=H("./_property-desc"),C=H("./_set-to-string-tag"),A={};H("./_hide")(A,H("./_wks")("iterator"),function(){return this}),k.exports=function(b,m,p){b.prototype=_(A,{next:x(1,p)}),C(b,m+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(H,k,d){"use strict";var _=H("./_library"),x=H("./_export"),C=H("./_redefine"),A=H("./_hide"),b=H("./_iterators"),m=H("./_iter-create"),p=H("./_set-to-string-tag"),c=H("./_object-gpo"),o=H("./_wks")("iterator"),r=!([].keys&&"next"in[].keys()),i="@@iterator",n="keys",t="values",s=function(){return this};k.exports=function(e,a,l,u,h,f,g){m(l,a,u);var v=function(M){if(!r&&M in w)return w[M];switch(M){case n:return function(){return new l(this,M)};case t:return function(){return new l(this,M)}}return function(){return new l(this,M)}},y=a+" Iterator",E=h==t,T=!1,w=e.prototype,S=w[o]||w[i]||h&&w[h],I=S||v(h),L=h?E?v("entries"):I:void 0,O=a=="Array"&&w.entries||S,N,R,D;if(O&&(D=c(O.call(new e)),D!==Object.prototype&&D.next&&(p(D,y,!0),!_&&typeof D[o]!="function"&&A(D,o,s))),E&&S&&S.name!==t&&(T=!0,I=function(){return S.call(this)}),(!_||g)&&(r||T||!w[o])&&A(w,o,I),b[a]=I,b[y]=s,h)if(N={values:E?I:v(t),keys:f?I:v(n),entries:L},g)for(R in N)R in w||C(w,R,N[R]);else x(x.P+x.F*(r||T),a,N);return N}},{"./_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(H,k,d){var _=H("./_wks")("iterator"),x=!1;try{var C=[7][_]();C.return=function(){x=!0},Array.from(C,function(){throw 2})}catch(A){}k.exports=function(A,b){if(!b&&!x)return!1;var m=!1;try{var p=[7],c=p[_]();c.next=function(){return{done:m=!0}},p[_]=function(){return c},A(p)}catch(o){}return m}},{"./_wks":166}],124:[function(H,k,d){k.exports=function(_,x){return{value:x,done:!!_}}},{}],125:[function(H,k,d){k.exports={}},{}],126:[function(H,k,d){k.exports=!0},{}],127:[function(H,k,d){var _=H("./_uid")("meta"),x=H("./_is-object"),C=H("./_has"),A=H("./_object-dp").f,b=0,m=Object.isExtensible||function(){return!0},p=!H("./_fails")(function(){return m(Object.preventExtensions({}))}),c=function(s){A(s,_,{value:{i:"O"+ ++b,w:{}}})},o=function(s,e){if(!x(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!C(s,_)){if(!m(s))return"F";if(!e)return"E";c(s)}return s[_].i},r=function(s,e){if(!C(s,_)){if(!m(s))return!0;if(!e)return!1;c(s)}return s[_].w},i=function(s){return p&&n.NEED&&m(s)&&!C(s,_)&&c(s),s},n=k.exports={KEY:_,NEED:!1,fastKey:o,getWeak:r,onFreeze:i}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(H,k,d){var _=H("./_global"),x=H("./_task").set,C=_.MutationObserver||_.WebKitMutationObserver,A=_.process,b=_.Promise,m=H("./_cof")(A)=="process";k.exports=function(){var p,c,o,r=function(){var e,a;for(m&&(e=A.domain)&&e.exit();p;){a=p.fn,p=p.next;try{a()}catch(l){throw p?o():c=void 0,l}}c=void 0,e&&e.enter()};if(m)o=function(){A.nextTick(r)};else if(C&&!(_.navigator&&_.navigator.standalone)){var i=!0,n=document.createTextNode("");new C(r).observe(n,{characterData:!0}),o=function(){n.data=i=!i}}else if(b&&b.resolve){var t=b.resolve(void 0);o=function(){t.then(r)}}else o=function(){x.call(_,r)};return function(s){var e={fn:s,next:void 0};c&&(c.next=e),p||(p=e,o()),c=e}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(H,k,d){"use strict";var _=H("./_a-function");function x(C){var A,b;this.promise=new C(function(m,p){if(A!==void 0||b!==void 0)throw TypeError("Bad Promise constructor");A=m,b=p}),this.resolve=_(A),this.reject=_(b)}k.exports.f=function(C){return new x(C)}},{"./_a-function":92}],130:[function(H,k,d){"use strict";var _=H("./_descriptors"),x=H("./_object-keys"),C=H("./_object-gops"),A=H("./_object-pie"),b=H("./_to-object"),m=H("./_iobject"),p=Object.assign;k.exports=!p||H("./_fails")(function(){var c={},o={},r=Symbol(),i="abcdefghijklmnopqrst";return c[r]=7,i.split("").forEach(function(n){o[n]=n}),p({},c)[r]!=7||Object.keys(p({},o)).join("")!=i})?function(o,r){for(var i=b(o),n=arguments.length,t=1,s=C.f,e=A.f;n>t;)for(var a=m(arguments[t++]),l=s?x(a).concat(s(a)):x(a),u=l.length,h=0,f;u>h;)f=l[h++],(!_||e.call(a,f))&&(i[f]=a[f]);return i}:p},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(H,k,d){var _=H("./_an-object"),x=H("./_object-dps"),C=H("./_enum-bug-keys"),A=H("./_shared-key")("IE_PROTO"),b=function(){},m="prototype",p=function(){var o=H("./_dom-create")("iframe"),r=C.length,i="<",n=">",t;for(o.style.display="none",H("./_html").appendChild(o),o.src="javascript:",t=o.contentWindow.document,t.open(),t.write(i+"script"+n+"document.F=Object"+i+"/script"+n),t.close(),p=t.F;r--;)delete p[m][C[r]];return p()};k.exports=Object.create||function(o,r){var i;return o!==null?(b[m]=_(o),i=new b,b[m]=null,i[A]=o):i=p(),r===void 0?i:x(i,r)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(H,k,d){var _=H("./_an-object"),x=H("./_ie8-dom-define"),C=H("./_to-primitive"),A=Object.defineProperty;d.f=H("./_descriptors")?Object.defineProperty:function(m,p,c){if(_(m),p=C(p,!0),_(c),x)try{return A(m,p,c)}catch(o){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(m[p]=c.value),m}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(H,k,d){var _=H("./_object-dp"),x=H("./_an-object"),C=H("./_object-keys");k.exports=H("./_descriptors")?Object.defineProperties:function(b,m){x(b);for(var p=C(m),c=p.length,o=0,r;c>o;)_.f(b,r=p[o++],m[r]);return b}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(H,k,d){var _=H("./_object-pie"),x=H("./_property-desc"),C=H("./_to-iobject"),A=H("./_to-primitive"),b=H("./_has"),m=H("./_ie8-dom-define"),p=Object.getOwnPropertyDescriptor;d.f=H("./_descriptors")?p:function(o,r){if(o=C(o),r=A(r,!0),m)try{return p(o,r)}catch(i){}if(b(o,r))return x(!_.f.call(o,r),o[r])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(H,k,d){var _=H("./_to-iobject"),x=H("./_object-gopn").f,C={}.toString,A=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],b=function(p){try{return x(p)}catch(c){return A.slice()}};k.exports.f=function(p){return A&&C.call(p)=="[object Window]"?b(p):x(_(p))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(H,k,d){var _=H("./_object-keys-internal"),x=H("./_enum-bug-keys").concat("length","prototype");d.f=Object.getOwnPropertyNames||function(A){return _(A,x)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(H,k,d){d.f=Object.getOwnPropertySymbols},{}],138:[function(H,k,d){var _=H("./_has"),x=H("./_to-object"),C=H("./_shared-key")("IE_PROTO"),A=Object.prototype;k.exports=Object.getPrototypeOf||function(b){return b=x(b),_(b,C)?b[C]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?A:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(H,k,d){var _=H("./_has"),x=H("./_to-iobject"),C=H("./_array-includes")(!1),A=H("./_shared-key")("IE_PROTO");k.exports=function(b,m){var p=x(b),c=0,o=[],r;for(r in p)r!=A&&(_(p,r)&&o.push(r));for(;m.length>c;)_(p,r=m[c++])&&(~C(o,r)||o.push(r));return o}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(H,k,d){var _=H("./_object-keys-internal"),x=H("./_enum-bug-keys");k.exports=Object.keys||function(A){return _(A,x)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(H,k,d){d.f={}.propertyIsEnumerable},{}],142:[function(H,k,d){var _=H("./_export"),x=H("./_core"),C=H("./_fails");k.exports=function(A,b){var m=(x.Object||{})[A]||Object[A],p={};p[A]=b(m),_(_.S+_.F*C(function(){m(1)}),"Object",p)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(H,k,d){var _=H("./_descriptors"),x=H("./_object-keys"),C=H("./_to-iobject"),A=H("./_object-pie").f;k.exports=function(b){return function(m){for(var p=C(m),c=x(p),o=c.length,r=0,i=[],n;o>r;)n=c[r++],(!_||A.call(p,n))&&i.push(b?[n,p[n]]:p[n]);return i}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(H,k,d){k.exports=function(_){try{return{e:!1,v:_()}}catch(x){return{e:!0,v:x}}}},{}],145:[function(H,k,d){var _=H("./_an-object"),x=H("./_is-object"),C=H("./_new-promise-capability");k.exports=function(A,b){if(_(A),x(b)&&b.constructor===A)return b;var m=C.f(A),p=m.resolve;return p(b),m.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(H,k,d){k.exports=function(_,x){return{enumerable:!(_&1),configurable:!(_&2),writable:!(_&4),value:x}}},{}],147:[function(H,k,d){var _=H("./_hide");k.exports=function(x,C,A){for(var b in C)A&&x[b]?x[b]=C[b]:_(x,b,C[b]);return x}},{"./_hide":112}],148:[function(H,k,d){k.exports=H("./_hide")},{"./_hide":112}],149:[function(H,k,d){"use strict";var _=H("./_global"),x=H("./_core"),C=H("./_object-dp"),A=H("./_descriptors"),b=H("./_wks")("species");k.exports=function(m){var p=typeof x[m]=="function"?x[m]:_[m];A&&p&&!p[b]&&C.f(p,b,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(H,k,d){var _=H("./_object-dp").f,x=H("./_has"),C=H("./_wks")("toStringTag");k.exports=function(A,b,m){A&&!x(A=m?A:A.prototype,C)&&_(A,C,{configurable:!0,value:b})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(H,k,d){var _=H("./_shared")("keys"),x=H("./_uid");k.exports=function(C){return _[C]||(_[C]=x(C))}},{"./_shared":152,"./_uid":162}],152:[function(H,k,d){var _=H("./_core"),x=H("./_global"),C="__core-js_shared__",A=x[C]||(x[C]={});(k.exports=function(b,m){return A[b]||(A[b]=m!==void 0?m:{})})("versions",[]).push({version:_.version,mode:H("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(H,k,d){var _=H("./_an-object"),x=H("./_a-function"),C=H("./_wks")("species");k.exports=function(A,b){var m=_(A).constructor,p;return m===void 0||(p=_(m)[C])==null?b:x(p)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(H,k,d){var _=H("./_to-integer"),x=H("./_defined");k.exports=function(C){return function(A,b){var m=String(x(A)),p=_(b),c=m.length,o,r;return p<0||p>=c?C?"":void 0:(o=m.charCodeAt(p),o<55296||o>56319||p+1===c||(r=m.charCodeAt(p+1))<56320||r>57343?C?m.charAt(p):o:C?m.slice(p,p+2):(o-55296<<10)+(r-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(H,k,d){var _=H("./_ctx"),x=H("./_invoke"),C=H("./_html"),A=H("./_dom-create"),b=H("./_global"),m=b.process,p=b.setImmediate,c=b.clearImmediate,o=b.MessageChannel,r=b.Dispatch,i=0,n={},t="onreadystatechange",s,e,a,l=function(){var f=+this;if(n.hasOwnProperty(f)){var g=n[f];delete n[f],g()}},u=function(f){l.call(f.data)};(!p||!c)&&(p=function(f){for(var g=[],v=1;arguments.length>v;)g.push(arguments[v++]);return n[++i]=function(){x(typeof f=="function"?f:Function(f),g)},s(i),i},c=function(f){delete n[f]},H("./_cof")(m)=="process"?s=function(f){m.nextTick(_(l,f,1))}:r&&r.now?s=function(f){r.now(_(l,f,1))}:o?(e=new o,a=e.port2,e.port1.onmessage=u,s=_(a.postMessage,a,1)):b.addEventListener&&typeof postMessage=="function"&&!b.importScripts?(s=function(f){b.postMessage(f+"","*")},b.addEventListener("message",u,!1)):t in A("script")?s=function(f){C.appendChild(A("script"))[t]=function(){C.removeChild(this),l.call(f)}}:s=function(f){setTimeout(_(l,f,1),0)}),k.exports={set:p,clear:c}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(H,k,d){var _=H("./_to-integer"),x=Math.max,C=Math.min;k.exports=function(A,b){return A=_(A),A<0?x(A+b,0):C(A,b)}},{"./_to-integer":157}],157:[function(H,k,d){var _=Math.ceil,x=Math.floor;k.exports=function(C){return isNaN(C=+C)?0:(C>0?x:_)(C)}},{}],158:[function(H,k,d){var _=H("./_iobject"),x=H("./_defined");k.exports=function(C){return _(x(C))}},{"./_defined":102,"./_iobject":116}],159:[function(H,k,d){var _=H("./_to-integer"),x=Math.min;k.exports=function(C){return C>0?x(_(C),9007199254740991):0}},{"./_to-integer":157}],160:[function(H,k,d){var _=H("./_defined");k.exports=function(x){return Object(_(x))}},{"./_defined":102}],161:[function(H,k,d){var _=H("./_is-object");k.exports=function(x,C){if(!_(x))return x;var A,b;if(C&&typeof(A=x.toString)=="function"&&!_(b=A.call(x)))return b;if(typeof(A=x.valueOf)=="function"&&!_(b=A.call(x)))return b;if(!C&&typeof(A=x.toString)=="function"&&!_(b=A.call(x)))return b;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(H,k,d){var _=0,x=Math.random();k.exports=function(C){return"Symbol(".concat(C===void 0?"":C,")_",(++_+x).toString(36))}},{}],163:[function(H,k,d){var _=H("./_global"),x=_.navigator;k.exports=x&&x.userAgent||""},{"./_global":110}],164:[function(H,k,d){var _=H("./_global"),x=H("./_core"),C=H("./_library"),A=H("./_wks-ext"),b=H("./_object-dp").f;k.exports=function(m){var p=x.Symbol||(x.Symbol=C?{}:_.Symbol||{});m.charAt(0)!="_"&&!(m in p)&&b(p,m,{value:A.f(m)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(H,k,d){d.f=H("./_wks")},{"./_wks":166}],166:[function(H,k,d){var _=H("./_shared")("wks"),x=H("./_uid"),C=H("./_global").Symbol,A=typeof C=="function",b=k.exports=function(m){return _[m]||(_[m]=A&&C[m]||(A?C:x)("Symbol."+m))};b.store=_},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(H,k,d){var _=H("./_classof"),x=H("./_wks")("iterator"),C=H("./_iterators");k.exports=H("./_core").getIteratorMethod=function(A){if(A!=null)return A[x]||A["@@iterator"]||C[_(A)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(H,k,d){"use strict";var _=H("./_ctx"),x=H("./_export"),C=H("./_to-object"),A=H("./_iter-call"),b=H("./_is-array-iter"),m=H("./_to-length"),p=H("./_create-property"),c=H("./core.get-iterator-method");x(x.S+x.F*!H("./_iter-detect")(function(o){Array.from(o)}),"Array",{from:function(r){var i=C(r),n=typeof this=="function"?this:Array,t=arguments.length,s=t>1?arguments[1]:void 0,e=s!==void 0,a=0,l=c(i),u,h,f,g;if(e&&(s=_(s,t>2?arguments[2]:void 0,2)),l!=null&&!(n==Array&&b(l)))for(g=l.call(i),h=new n;!(f=g.next()).done;a++)p(h,a,e?A(g,s,[f.value,a],!0):f.value);else for(u=m(i.length),h=new n(u);u>a;a++)p(h,a,e?s(i[a],a):i[a]);return h.length=a,h}})},{"./_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(H,k,d){"use strict";var _=H("./_add-to-unscopables"),x=H("./_iter-step"),C=H("./_iterators"),A=H("./_to-iobject");k.exports=H("./_iter-define")(Array,"Array",function(b,m){this._t=A(b),this._i=0,this._k=m},function(){var b=this._t,m=this._k,p=this._i++;return!b||p>=b.length?(this._t=void 0,x(1)):m=="keys"?x(0,p):m=="values"?x(0,b[p]):x(0,[p,b[p]])},"values"),C.Arguments=C.Array,_("keys"),_("values"),_("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(H,k,d){"use strict";var _=H("./_is-object"),x=H("./_object-gpo"),C=H("./_wks")("hasInstance"),A=Function.prototype;C in A||H("./_object-dp").f(A,C,{value:function(m){if(typeof this!="function"||!_(m))return!1;if(!_(this.prototype))return m instanceof this;for(;m=x(m);)if(this.prototype===m)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(H,k,d){var _=H("./_export");_(_.S+_.F,"Object",{assign:H("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(H,k,d){var _=H("./_export");_(_.S,"Object",{create:H("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(H,k,d){var _=H("./_export");_(_.S+_.F*!H("./_descriptors"),"Object",{defineProperty:H("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(H,k,d){H("./_object-sap")("getOwnPropertyNames",function(){return H("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(H,k,d){var _=H("./_to-object"),x=H("./_object-gpo");H("./_object-sap")("getPrototypeOf",function(){return function(A){return x(_(A))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(H,k,d){var _=H("./_to-object"),x=H("./_object-keys");H("./_object-sap")("keys",function(){return function(A){return x(_(A))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(H,k,d){arguments[4][71][0].apply(d,arguments)},{dup:71}],178:[function(H,k,d){"use strict";var _=H("./_library"),x=H("./_global"),C=H("./_ctx"),A=H("./_classof"),b=H("./_export"),m=H("./_is-object"),p=H("./_a-function"),c=H("./_an-instance"),o=H("./_for-of"),r=H("./_species-constructor"),i=H("./_task").set,n=H("./_microtask")(),t=H("./_new-promise-capability"),s=H("./_perform"),e=H("./_user-agent"),a=H("./_promise-resolve"),l="Promise",u=x.TypeError,h=x.process,f=h&&h.versions,g=f&&f.v8||"",v=x[l],y=A(h)=="process",E=function(){},T,w,S,I,L=w=t.f,O=!!function(){try{var j=v.resolve(1),W=(j.constructor={})[H("./_wks")("species")]=function(V){V(E,E)};return(y||typeof PromiseRejectionEvent=="function")&&j.then(E)instanceof W&&g.indexOf("6.6")!==0&&e.indexOf("Chrome/66")===-1}catch(V){}}(),N=function(W){var V;return m(W)&&typeof(V=W.then)=="function"?V:!1},R=function(W,V){if(W._n)return;W._n=!0;var z=W._c;n(function(){for(var Y=W._v,J=W._s==1,ie=0,Z=function(ge){var pe=J?ge.ok:ge.fail,De=ge.resolve,ce=ge.reject,Oe=ge.domain,se,$,ze;try{pe?(J||(W._h==2&&M(W),W._h=1),pe===!0?se=Y:(Oe&&Oe.enter(),se=pe(Y),Oe&&(Oe.exit(),ze=!0)),se===ge.promise?ce(u("Promise-chain cycle")):($=N(se))?$.call(se,De,ce):De(se)):ce(Y)}catch(re){Oe&&!ze&&Oe.exit(),ce(re)}};z.length>ie;)Z(z[ie++]);W._c=[],W._n=!1,V&&!W._h&&D(W)})},D=function(W){i.call(x,function(){var V=W._v,z=B(W),Y,J,ie;if(z&&(Y=s(function(){y?h.emit("unhandledRejection",V,W):(J=x.onunhandledrejection)?J({promise:W,reason:V}):(ie=x.console)&&ie.error&&ie.error("Unhandled promise rejection",V)}),W._h=y||B(W)?2:1),W._a=void 0,z&&Y.e)throw Y.v})},B=function(W){return W._h!==1&&(W._a||W._c).length===0},M=function(W){i.call(x,function(){var V;y?h.emit("rejectionHandled",W):(V=x.onrejectionhandled)&&V({promise:W,reason:W._v})})},U=function(W){var V=this;if(V._d)return;V._d=!0,V=V._w||V,V._v=W,V._s=2,V._a||(V._a=V._c.slice()),R(V,!0)},F=function j(W){var V=this,z;if(V._d)return;V._d=!0,V=V._w||V;try{if(V===W)throw u("Promise can't be resolved itself");(z=N(W))?n(function(){var Y={_w:V,_d:!1};try{z.call(W,C(j,Y,1),C(U,Y,1))}catch(J){U.call(Y,J)}}):(V._v=W,V._s=1,R(V,!1))}catch(Y){U.call({_w:V,_d:!1},Y)}};O||(v=function(W){c(this,v,l,"_h"),p(W),T.call(this);try{W(C(F,this,1),C(U,this,1))}catch(V){U.call(this,V)}},T=function(W){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},T.prototype=H("./_redefine-all")(v.prototype,{then:function(W,V){var z=L(r(this,v));return z.ok=typeof W=="function"?W:!0,z.fail=typeof V=="function"&&V,z.domain=y?h.domain:void 0,this._c.push(z),this._a&&this._a.push(z),this._s&&R(this,!1),z.promise},catch:function(W){return this.then(void 0,W)}}),S=function(){var W=new T;this.promise=W,this.resolve=C(F,W,1),this.reject=C(U,W,1)},t.f=L=function(W){return W===v||W===I?new S(W):w(W)}),b(b.G+b.W+b.F*!O,{Promise:v}),H("./_set-to-string-tag")(v,l),H("./_set-species")(l),I=H("./_core")[l],b(b.S+b.F*!O,l,{reject:function(W){var V=L(this),z=V.reject;return z(W),V.promise}}),b(b.S+b.F*(_||!O),l,{resolve:function(W){return a(_&&this===I?v:this,W)}}),b(b.S+b.F*!(O&&H("./_iter-detect")(function(j){v.all(j).catch(E)})),l,{all:function(W){var V=this,z=L(V),Y=z.resolve,J=z.reject,ie=s(function(){var Z=[],oe=0,ge=1;o(W,!1,function(pe){var De=oe++,ce=!1;Z.push(void 0),ge++,V.resolve(pe).then(function(Oe){if(ce)return;ce=!0,Z[De]=Oe,--ge||Y(Z)},J)}),--ge||Y(Z)});return ie.e&&J(ie.v),z.promise},race:function(W){var V=this,z=L(V),Y=z.reject,J=s(function(){o(W,!1,function(ie){V.resolve(ie).then(z.resolve,Y)})});return J.e&&Y(J.v),z.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(H,k,d){var _=H("./_export"),x=H("./_to-absolute-index"),C=String.fromCharCode,A=String.fromCodePoint;_(_.S+_.F*(!!A&&A.length!=1),"String",{fromCodePoint:function(m){for(var p=[],c=arguments.length,o=0,r;c>o;){if(r=+arguments[o++],x(r,1114111)!==r)throw RangeError(r+" is not a valid code point");p.push(r<65536?C(r):C(((r-=65536)>>10)+55296,r%1024+56320))}return p.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(H,k,d){"use strict";var _=H("./_string-at")(!0);H("./_iter-define")(String,"String",function(x){this._t=String(x),this._i=0},function(){var x=this._t,C=this._i,A;return C>=x.length?{value:void 0,done:!0}:(A=_(x,C),this._i+=A.length,{value:A,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(H,k,d){"use strict";var _=H("./_global"),x=H("./_has"),C=H("./_descriptors"),A=H("./_export"),b=H("./_redefine"),m=H("./_meta").KEY,p=H("./_fails"),c=H("./_shared"),o=H("./_set-to-string-tag"),r=H("./_uid"),i=H("./_wks"),n=H("./_wks-ext"),t=H("./_wks-define"),s=H("./_enum-keys"),e=H("./_is-array"),a=H("./_an-object"),l=H("./_is-object"),u=H("./_to-object"),h=H("./_to-iobject"),f=H("./_to-primitive"),g=H("./_property-desc"),v=H("./_object-create"),y=H("./_object-gopn-ext"),E=H("./_object-gopd"),T=H("./_object-gops"),w=H("./_object-dp"),S=H("./_object-keys"),I=E.f,L=w.f,O=y.f,N=_.Symbol,R=_.JSON,D=R&&R.stringify,B="prototype",M=i("_hidden"),U=i("toPrimitive"),F={}.propertyIsEnumerable,j=c("symbol-registry"),W=c("symbols"),V=c("op-symbols"),z=Object[B],Y=typeof N=="function"&&!!T.f,J=_.QObject,ie=!J||!J[B]||!J[B].findChild,Z=C&&p(function(){return v(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(de,Ce,we){var le=I(z,Ce);le&&delete z[Ce],L(de,Ce,we),le&&de!==z&&L(z,Ce,le)}:L,oe=function(Ce){var we=W[Ce]=v(N[B]);return we._k=Ce,we},ge=Y&&typeof N.iterator=="symbol"?function(de){return typeof de=="symbol"}:function(de){return de instanceof N},pe=function(Ce,we,le){return Ce===z&&pe(V,we,le),a(Ce),we=f(we,!0),a(le),x(W,we)?(le.enumerable?(x(Ce,M)&&Ce[M][we]&&(Ce[M][we]=!1),le=v(le,{enumerable:g(0,!1)})):(x(Ce,M)||L(Ce,M,g(1,{})),Ce[M][we]=!0),Z(Ce,we,le)):L(Ce,we,le)},De=function(Ce,we){a(Ce);for(var le=s(we=h(we)),fe=0,xe=le.length,We;xe>fe;)pe(Ce,We=le[fe++],we[We]);return Ce},ce=function(Ce,we){return we===void 0?v(Ce):De(v(Ce),we)},Oe=function(Ce){var we=F.call(this,Ce=f(Ce,!0));return this===z&&x(W,Ce)&&!x(V,Ce)?!1:we||!x(this,Ce)||!x(W,Ce)||x(this,M)&&this[M][Ce]?we:!0},se=function(Ce,we){if(Ce=h(Ce),we=f(we,!0),Ce===z&&x(W,we)&&!x(V,we))return;var le=I(Ce,we);return le&&x(W,we)&&!(x(Ce,M)&&Ce[M][we])&&(le.enumerable=!0),le},$=function(Ce){for(var we=O(h(Ce)),le=[],fe=0,xe;we.length>fe;)!x(W,xe=we[fe++])&&xe!=M&&xe!=m&&le.push(xe);return le},ze=function(Ce){for(var we=Ce===z,le=O(we?V:h(Ce)),fe=[],xe=0,We;le.length>xe;)x(W,We=le[xe++])&&(we?x(z,We):!0)&&fe.push(W[We]);return fe};Y||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var Ce=r(arguments.length>0?arguments[0]:void 0),we=function le(fe){this===z&&le.call(V,fe),x(this,M)&&x(this[M],Ce)&&(this[M][Ce]=!1),Z(this,Ce,g(1,fe))};return C&&ie&&Z(z,Ce,{configurable:!0,set:we}),oe(Ce)},b(N[B],"toString",function(){return this._k}),E.f=se,w.f=pe,H("./_object-gopn").f=y.f=$,H("./_object-pie").f=Oe,T.f=ze,C&&!H("./_library")&&b(z,"propertyIsEnumerable",Oe,!0),n.f=function(de){return oe(i(de))}),A(A.G+A.W+A.F*!Y,{Symbol:N});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),X=0;re.length>X;)i(re[X++]);for(var G=S(i.store),Q=0;G.length>Q;)t(G[Q++]);A(A.S+A.F*!Y,"Symbol",{for:function(Ce){return x(j,Ce+="")?j[Ce]:j[Ce]=N(Ce)},keyFor:function(Ce){if(!ge(Ce))throw TypeError(Ce+" is not a symbol!");for(var we in j)if(j[we]===Ce)return we},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),A(A.S+A.F*!Y,"Object",{create:ce,defineProperty:pe,defineProperties:De,getOwnPropertyDescriptor:se,getOwnPropertyNames:$,getOwnPropertySymbols:ze});var ve=p(function(){T.f(1)});A(A.S+A.F*ve,"Object",{getOwnPropertySymbols:function(Ce){return T.f(u(Ce))}}),R&&A(A.S+A.F*(!Y||p(function(){var de=N();return D([de])!="[null]"||D({a:de})!="{}"||D(Object(de))!="{}"})),"JSON",{stringify:function(Ce){for(var we=[Ce],le=1,fe,xe;arguments.length>le;)we.push(arguments[le++]);return xe=fe=we[1],!l(fe)&&Ce===void 0||ge(Ce)?void 0:(e(fe)||(fe=function(nt,$e){if(typeof xe=="function"&&($e=xe.call(this,nt,$e)),!ge($e))return $e}),we[1]=fe,D.apply(R,we))}}),N[B][U]||H("./_hide")(N[B],U,N[B].valueOf),o(N,"Symbol"),o(Math,"Math",!0),o(_.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(H,k,d){var _=H("./_export"),x=H("./_object-to-array")(!0);_(_.S,"Object",{entries:function(A){return x(A)}})},{"./_export":107,"./_object-to-array":143}],183:[function(H,k,d){"use strict";var _=H("./_export"),x=H("./_core"),C=H("./_global"),A=H("./_species-constructor"),b=H("./_promise-resolve");_(_.P+_.R,"Promise",{finally:function(p){var c=A(this,x.Promise||C.Promise),o=typeof p=="function";return this.then(o?function(r){return b(c,p()).then(function(){return r})}:p,o?function(r){return b(c,p()).then(function(){throw r})}:p)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(H,k,d){"use strict";var _=H("./_export"),x=H("./_new-promise-capability"),C=H("./_perform");_(_.S,"Promise",{try:function(b){var m=x.f(this),p=C(b);return(p.e?m.reject:m.resolve)(p.v),m.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(H,k,d){H("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(H,k,d){H("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(H,k,d){H("./es6.array.iterator");for(var _=H("./_global"),x=H("./_hide"),C=H("./_iterators"),A=H("./_wks")("toStringTag"),b="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(","),m=0;m<b.length;m++){var p=b[m],c=_[p],o=c&&c.prototype;o&&!o[A]&&x(o,A,p),C[p]=C.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(H,k,d){var _=H("./_export"),x=H("./_task");_(_.G+_.B,{setImmediate:x.set,clearImmediate:x.clear})},{"./_export":107,"./_task":155}],189:[function(H,k,d){(function(_){"use strict";var x=H("babel-runtime/helpers/typeof"),C=A(x);function A(f){return f&&f.__esModule?f:{default:f}}function b(f){return Array.isArray?Array.isArray(f):h(f)==="[object Array]"}d.isArray=b;function m(f){return typeof f=="boolean"}d.isBoolean=m;function p(f){return f===null}d.isNull=p;function c(f){return f==null}d.isNullOrUndefined=c;function o(f){return typeof f=="number"}d.isNumber=o;function r(f){return typeof f=="string"}d.isString=r;function i(f){return(typeof f=="undefined"?"undefined":(0,C.default)(f))==="symbol"}d.isSymbol=i;function n(f){return f===void 0}d.isUndefined=n;function t(f){return h(f)==="[object RegExp]"}d.isRegExp=t;function s(f){return(typeof f=="undefined"?"undefined":(0,C.default)(f))==="object"&&f!==null}d.isObject=s;function e(f){return h(f)==="[object Date]"}d.isDate=e;function a(f){return h(f)==="[object Error]"||f instanceof Error}d.isError=a;function l(f){return typeof f=="function"}d.isFunction=l;function u(f){return f===null||typeof f=="boolean"||typeof f=="number"||typeof f=="string"||(typeof f=="undefined"?"undefined":(0,C.default)(f))==="symbol"||typeof f=="undefined"}d.isPrimitive=u,d.isBuffer=_.isBuffer;function h(f){return Object.prototype.toString.call(f)}}).call(this,{isBuffer:H("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(H,k,d){"use strict";var _=H("babel-runtime/helpers/typeof"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(A){"use strict";var b=function(){var r=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,i=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,n=/[^-+\dA-Z]/g;return function(t,s,e,a){if(arguments.length===1&&o(t)==="string"&&!/\d/.test(t)&&(s=t,t=void 0),t=t||new Date,t instanceof Date||(t=new Date(t)),isNaN(t))throw TypeError("Invalid date");s=String(b.masks[s]||s||b.masks.default);var l=s.slice(0,4);(l==="UTC:"||l==="GMT:")&&(s=s.slice(4),e=!0,l==="GMT:"&&(a=!0));var u=e?"getUTC":"get",h=t[u+"Date"](),f=t[u+"Day"](),g=t[u+"Month"](),v=t[u+"FullYear"](),y=t[u+"Hours"](),E=t[u+"Minutes"](),T=t[u+"Seconds"](),w=t[u+"Milliseconds"](),S=e?0:t.getTimezoneOffset(),I=p(t),L=c(t),O={d:h,dd:m(h),ddd:b.i18n.dayNames[f],dddd:b.i18n.dayNames[f+7],m:g+1,mm:m(g+1),mmm:b.i18n.monthNames[g],mmmm:b.i18n.monthNames[g+12],yy:String(v).slice(2),yyyy:v,h:y%12||12,hh:m(y%12||12),H:y,HH:m(y),M:E,MM:m(E),s:T,ss:m(T),l:m(w,3),L:m(Math.round(w/10)),t:y<12?"a":"p",tt:y<12?"am":"pm",T:y<12?"A":"P",TT:y<12?"AM":"PM",Z:a?"GMT":e?"UTC":(String(t).match(i)||[""]).pop().replace(n,""),o:(S>0?"-":"+")+m(Math.floor(Math.abs(S)/60)*100+Math.abs(S)%60,4),S:["th","st","nd","rd"][h%10>3?0:(h%100-h%10!=10)*h%10],W:I,N:L};return s.replace(r,function(N){return N in O?O[N]:N.slice(1,N.length-1)})}}();b.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"},b.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 m(r,i){for(r=String(r),i=i||2;r.length<i;)r="0"+r;return r}function p(r){var i=new Date(r.getFullYear(),r.getMonth(),r.getDate());i.setDate(i.getDate()-(i.getDay()+6)%7+3);var n=new Date(i.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var t=i.getTimezoneOffset()-n.getTimezoneOffset();i.setHours(i.getHours()-t);var s=(i-n)/(864e5*7);return 1+Math.floor(s)}function c(r){var i=r.getDay();return i===0&&(i=7),i}function o(r){return r===null?"null":r===void 0?"undefined":(typeof r=="undefined"?"undefined":(0,x.default)(r))!=="object"?typeof r=="undefined"?"undefined":(0,x.default)(r):Array.isArray(r)?"array":{}.toString.call(r).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return b}):(typeof d=="undefined"?"undefined":(0,x.default)(d))==="object"?k.exports=b:A.dateFormat=b})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(H,k,d){/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var _=/["'&<>]/;k.exports=x;function x(C){var A=""+C,b=_.exec(A);if(!b)return A;var m,p="",c=0,o=0;for(c=b.index;c<A.length;c++){switch(A.charCodeAt(c)){case 34:m="&quot;";break;case 38:m="&amp;";break;case 39:m="&#39;";break;case 60:m="&lt;";break;case 62:m="&gt;";break;default:continue}o!==c&&(p+=A.substring(o,c)),o=c+1,p+=m}return o!==c?p+A.substring(o,c):p}},{}],192:[function(H,k,d){function _(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}k.exports=_,_.EventEmitter=_,_.prototype._events=void 0,_.prototype._maxListeners=void 0,_.defaultMaxListeners=10,_.prototype.setMaxListeners=function(m){if(!C(m)||m<0||isNaN(m))throw TypeError("n must be a positive number");return this._maxListeners=m,this},_.prototype.emit=function(m){var p,c,o,r,i,n;if(this._events||(this._events={}),m==="error"&&(!this._events.error||A(this._events.error)&&!this._events.error.length)){if(p=arguments[1],p instanceof Error)throw p;var t=new Error('Uncaught, unspecified "error" event. ('+p+")");throw t.context=p,t}if(c=this._events[m],b(c))return!1;if(x(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:r=Array.prototype.slice.call(arguments,1),c.apply(this,r)}else if(A(c))for(r=Array.prototype.slice.call(arguments,1),n=c.slice(),o=n.length,i=0;i<o;i++)n[i].apply(this,r);return!0},_.prototype.addListener=function(m,p){var c;if(!x(p))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",m,x(p.listener)?p.listener:p),this._events[m]?A(this._events[m])?this._events[m].push(p):this._events[m]=[this._events[m],p]:this._events[m]=p,A(this._events[m])&&!this._events[m].warned&&(b(this._maxListeners)?c=_.defaultMaxListeners:c=this._maxListeners,c&&c>0&&this._events[m].length>c&&(this._events[m].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[m].length),typeof console.trace=="function"&&console.trace())),this},_.prototype.on=_.prototype.addListener,_.prototype.once=function(m,p){if(!x(p))throw TypeError("listener must be a function");var c=!1;function o(){this.removeListener(m,o),c||(c=!0,p.apply(this,arguments))}return o.listener=p,this.on(m,o),this},_.prototype.removeListener=function(m,p){var c,o,r,i;if(!x(p))throw TypeError("listener must be a function");if(!this._events||!this._events[m])return this;if(c=this._events[m],r=c.length,o=-1,c===p||x(c.listener)&&c.listener===p)delete this._events[m],this._events.removeListener&&this.emit("removeListener",m,p);else if(A(c)){for(i=r;i-- >0;)if(c[i]===p||c[i].listener&&c[i].listener===p){o=i;break}if(o<0)return this;c.length===1?(c.length=0,delete this._events[m]):c.splice(o,1),this._events.removeListener&&this.emit("removeListener",m,p)}return this},_.prototype.removeAllListeners=function(m){var p,c;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[m]&&delete this._events[m],this;if(arguments.length===0){for(p in this._events){if(p==="removeListener")continue;this.removeAllListeners(p)}return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[m],x(c))this.removeListener(m,c);else if(c)for(;c.length;)this.removeListener(m,c[c.length-1]);return delete this._events[m],this},_.prototype.listeners=function(m){var p;return!this._events||!this._events[m]?p=[]:x(this._events[m])?p=[this._events[m]]:p=this._events[m].slice(),p},_.prototype.listenerCount=function(m){if(this._events){var p=this._events[m];if(x(p))return 1;if(p)return p.length}return 0},_.listenerCount=function(m,p){return m.listenerCount(p)};function x(m){return typeof m=="function"}function C(m){return typeof m=="number"}function A(m){return typeof m=="object"&&m!==null}function b(m){return m===void 0}},{}],193:[function(H,k,d){var _=H("http"),x=k.exports;for(var C in _)_.hasOwnProperty(C)&&(x[C]=_[C]);x.request=function(A,b){return A||(A={}),A.scheme="https",A.protocol="https:",_.request.call(this,A,b)}},{http:231}],194:[function(H,k,d){/*!
* humanize-ms - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var _=H("util"),x=H("ms");k.exports=function(C){if(typeof C=="number")return C;var A=x(C);if(A===void 0){var b=new Error(_.format("humanize-ms(%j) result undefined",C));console.warn(b.stack)}return A}},{ms:204,util:243}],195:[function(H,k,d){d.read=function(_,x,C,A,b){var m,p,c=b*8-A-1,o=(1<<c)-1,r=o>>1,i=-7,n=C?b-1:0,t=C?-1:1,s=_[x+n];for(n+=t,m=s&(1<<-i)-1,s>>=-i,i+=c;i>0;m=m*256+_[x+n],n+=t,i-=8);for(p=m&(1<<-i)-1,m>>=-i,i+=A;i>0;p=p*256+_[x+n],n+=t,i-=8);if(m===0)m=1-r;else{if(m===o)return p?NaN:(s?-1:1)*Infinity;p=p+Math.pow(2,A),m=m-r}return(s?-1:1)*p*Math.pow(2,m-A)},d.write=function(_,x,C,A,b,m){var p,c,o,r=m*8-b-1,i=(1<<r)-1,n=i>>1,t=b===23?Math.pow(2,-24)-Math.pow(2,-77):0,s=A?0:m-1,e=A?1:-1,a=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===Infinity?(c=isNaN(x)?1:0,p=i):(p=Math.floor(Math.log(x)/Math.LN2),x*(o=Math.pow(2,-p))<1&&(p--,o*=2),p+n>=1?x+=t/o:x+=t*Math.pow(2,1-n),x*o>=2&&(p++,o/=2),p+n>=i?(c=0,p=i):p+n>=1?(c=(x*o-1)*Math.pow(2,b),p=p+n):(c=x*Math.pow(2,n-1)*Math.pow(2,b),p=0));b>=8;_[C+s]=c&255,s+=e,c/=256,b-=8);for(p=p<<b|c,r+=b;r>0;_[C+s]=p&255,s+=e,p/=256,r-=8);_[C+s-e]|=a*128}},{}],196:[function(H,k,d){typeof Object.create=="function"?k.exports=function(x,C){C&&(x.super_=C,x.prototype=Object.create(C.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}))}:k.exports=function(x,C){if(C){x.super_=C;var A=function(){};A.prototype=C.prototype,x.prototype=new A,x.prototype.constructor=x}}},{}],197:[function(H,k,d){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/k.exports=function(C){return C!=null&&(_(C)||x(C)||!!C._isBuffer)};function _(C){return!!C.constructor&&typeof C.constructor.isBuffer=="function"&&C.constructor.isBuffer(C)}function x(C){return typeof C.readFloatLE=="function"&&typeof C.slice=="function"&&_(C.slice(0,0))}},{}],198:[function(H,k,d){var _={}.toString;k.exports=Array.isArray||function(x){return _.call(x)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(H,k){typeof exports=="object"&&typeof module!="undefined"?module.exports=k(H):typeof define=="function"&&define.amd?define(k):k(H)})(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(H){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(H){for(var k={},d=0,_=H.length;d<_;d++)k[H.charAt(d)]=d;return k}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(k){if(k.length<2){var d=k.charCodeAt(0);return d<128?k:d<2048?fromCharCode(192|d>>>6)+fromCharCode(128|d&63):fromCharCode(224|d>>>12&15)+fromCharCode(128|d>>>6&63)+fromCharCode(128|d&63)}else{var d=65536+(k.charCodeAt(0)-55296)*1024+(k.charCodeAt(1)-56320);return fromCharCode(240|d>>>18&7)+fromCharCode(128|d>>>12&63)+fromCharCode(128|d>>>6&63)+fromCharCode(128|d&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(k){return k.replace(re_utob,cb_utob)},cb_encode=function(k){var d=[0,2,1][k.length%3],_=k.charCodeAt(0)<<16|(k.length>1?k.charCodeAt(1):0)<<8|(k.length>2?k.charCodeAt(2):0),x=[b64chars.charAt(_>>>18),b64chars.charAt(_>>>12&63),d>=2?"=":b64chars.charAt(_>>>6&63),d>=1?"=":b64chars.charAt(_&63)];return x.join("")},btoa=global.btoa?function(H){return global.btoa(H)}:function(H){return H.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(k){var d=Object.prototype.toString.call(k)==="[object Uint8Array]";return d?k.toString("base64"):btoa(utob(String(k)))},encode=function(k,d){return d?_encode(String(k)).replace(/[+\/]/g,function(_){return _=="+"?"-":"_"}).replace(/=/g,""):_encode(k)},encodeURI=function(k){return encode(k,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(k){switch(k.length){case 4:var d=(7&k.charCodeAt(0))<<18|(63&k.charCodeAt(1))<<12|(63&k.charCodeAt(2))<<6|63&k.charCodeAt(3),_=d-65536;return fromCharCode((_>>>10)+55296)+fromCharCode((_&1023)+56320);case 3:return fromCharCode((15&k.charCodeAt(0))<<12|(63&k.charCodeAt(1))<<6|63&k.charCodeAt(2));default:return fromCharCode((31&k.charCodeAt(0))<<6|63&k.charCodeAt(1))}},btou=function(k){return k.replace(re_btou,cb_btou)},cb_decode=function(k){var d=k.length,_=d%4,x=(d>0?b64tab[k.charAt(0)]<<18:0)|(d>1?b64tab[k.charAt(1)]<<12:0)|(d>2?b64tab[k.charAt(2)]<<6:0)|(d>3?b64tab[k.charAt(3)]:0),C=[fromCharCode(x>>>16),fromCharCode(x>>>8&255),fromCharCode(x&255)];return C.length-=[0,0,2,1][_],C.join("")},_atob=global.atob?function(H){return global.atob(H)}:function(H){return H.replace(/\S{1,4}/g,cb_decode)},atob=function(k){return _atob(String(k).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(H){return(H.constructor===buffer.constructor?H:buffer.from(H,"base64")).toString()}:function(H){return(H.constructor===buffer.constructor?H:new buffer(H,"base64")).toString()}:function(H){return btou(_atob(H))},decode=function(k){return _decode(String(k).replace(/[-_]/g,function(d){return d=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var k=global.Base64;return global.Base64=_Base64,k};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(k){return{value:k,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(H){return encode(this,H)})),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(H,k,d){/*!
* merge-descriptors
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/"use strict";k.exports=x;var _=Object.prototype.hasOwnProperty;function x(C,A,b){if(!C)throw new TypeError("argument dest is required");if(!A)throw new TypeError("argument src is required");return b===void 0&&(b=!0),Object.getOwnPropertyNames(A).forEach(function(p){if(!b&&_.call(C,p))return;var c=Object.getOwnPropertyDescriptor(A,p);Object.defineProperty(C,p,c)}),C}},{}],201:[function(H,k,d){"use strict";function _(){this._types=Object.create(null),this._extensions=Object.create(null);for(var x=0;x<arguments.length;x++)this.define(arguments[x]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}_.prototype.define=function(x,C){for(var A in x){var b=x[A].map(function(c){return c.toLowerCase()});A=A.toLowerCase();for(var m=0;m<b.length;m++){var p=b[m];if(p[0]=="*")continue;if(!C&&p in this._types)throw new Error('Attempt to change mapping for "'+p+'" extension from "'+this._types[p]+'" to "'+A+'". Pass `force=true` to allow this, otherwise remove "'+p+'" from the list of extensions for "'+A+'".');this._types[p]=A}if(C||!this._extensions[A]){var p=b[0];this._extensions[A]=p[0]!="*"?p:p.substr(1)}}},_.prototype.getType=function(x){x=String(x);var C=x.replace(/^.*[/\\]/,"").toLowerCase(),A=C.replace(/^.*\./,"").toLowerCase(),b=C.length<x.length,m=A.length<C.length-1;return(m||!b)&&this._types[A]||null},_.prototype.getExtension=function(x){return x=/^\s*([^;\s]*)/.test(x)&&RegExp.$1,x&&this._extensions[x.toLowerCase()]||null},k.exports=_},{}],202:[function(H,k,d){"use strict";var _=H("./Mime");k.exports=new _(H("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(H,k,d){k.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(H,k,d){var _=1e3,x=_*60,C=x*60,A=C*24,b=A*7,m=A*365.25;k.exports=function(i,n){n=n||{};var t=typeof i;if(t==="string"&&i.length>0)return p(i);if(t==="number"&&isFinite(i))return n.long?o(i):c(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function p(i){if(i=String(i),i.length>100)return;var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!n)return;var t=parseFloat(n[1]),s=(n[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return t*m;case"weeks":case"week":case"w":return t*b;case"days":case"day":case"d":return t*A;case"hours":case"hour":case"hrs":case"hr":case"h":return t*C;case"minutes":case"minute":case"mins":case"min":case"m":return t*x;case"seconds":case"second":case"secs":case"sec":case"s":return t*_;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}function c(i){var n=Math.abs(i);return n>=A?Math.round(i/A)+"d":n>=C?Math.round(i/C)+"h":n>=x?Math.round(i/x)+"m":n>=_?Math.round(i/_)+"s":i+"ms"}function o(i){var n=Math.abs(i);return n>=A?r(i,n,A,"day"):n>=C?r(i,n,C,"hour"):n>=x?r(i,n,x,"minute"):n>=_?r(i,n,_,"second"):i+" ms"}function r(i,n,t,s){var e=n>=t*1.5;return Math.round(i/t)+" "+s+(e?"s":"")}},{}],205:[function(H,k,d){(function(_){function x(m,p){for(var c=0,o=m.length-1;o>=0;o--){var r=m[o];r==="."?m.splice(o,1):r===".."?(m.splice(o,1),c++):c&&(m.splice(o,1),c--)}if(p)for(;c--;c)m.unshift("..");return m}d.resolve=function(){for(var m="",p=!1,c=arguments.length-1;c>=-1&&!p;c--){var o=c>=0?arguments[c]:_.cwd();if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;m=o+"/"+m,p=o.charAt(0)==="/"}return m=x(A(m.split("/"),function(r){return!!r}),!p).join("/"),(p?"/":"")+m||"."},d.normalize=function(m){var p=d.isAbsolute(m),c=b(m,-1)==="/";return m=x(A(m.split("/"),function(o){return!!o}),!p).join("/"),!m&&!p&&(m="."),m&&c&&(m+="/"),(p?"/":"")+m},d.isAbsolute=function(m){return m.charAt(0)==="/"},d.join=function(){var m=Array.prototype.slice.call(arguments,0);return d.normalize(A(m,function(p,c){if(typeof p!="string")throw new TypeError("Arguments to path.join must be strings");return p}).join("/"))},d.relative=function(m,p){m=d.resolve(m).substr(1),p=d.resolve(p).substr(1);function c(e){for(var a=0;a<e.length&&!(e[a]!=="");a++);for(var l=e.length-1;l>=0&&!(e[l]!=="");l--);return a>l?[]:e.slice(a,l-a+1)}for(var o=c(m.split("/")),r=c(p.split("/")),i=Math.min(o.length,r.length),n=i,t=0;t<i;t++)if(o[t]!==r[t]){n=t;break}for(var s=[],t=n;t<o.length;t++)s.push("..");return s=s.concat(r.slice(n)),s.join("/")},d.sep="/",d.delimiter=":",d.dirname=function(m){if(typeof m!="string"&&(m=m+""),m.length===0)return".";for(var p=m.charCodeAt(0),c=p===47,o=-1,r=!0,i=m.length-1;i>=1;--i)if(p=m.charCodeAt(i),p===47){if(!r){o=i;break}}else r=!1;return o===-1?c?"/":".":c&&o===1?"/":m.slice(0,o)};function C(m){typeof m!="string"&&(m=m+"");var p=0,c=-1,o=!0,r;for(r=m.length-1;r>=0;--r)if(m.charCodeAt(r)===47){if(!o){p=r+1;break}}else c===-1&&(o=!1,c=r+1);return c===-1?"":m.slice(p,c)}d.basename=function(m,p){var c=C(m);return p&&c.substr(-1*p.length)===p&&(c=c.substr(0,c.length-p.length)),c},d.extname=function(m){typeof m!="string"&&(m=m+"");for(var p=-1,c=0,o=-1,r=!0,i=0,n=m.length-1;n>=0;--n){var t=m.charCodeAt(n);if(t===47){if(!r){c=n+1;break}continue}o===-1&&(r=!1,o=n+1),t===46?p===-1?p=n:i!==1&&(i=1):p!==-1&&(i=-1)}return p===-1||o===-1||i===0||i===1&&p===o-1&&p===c+1?"":m.slice(p,o)};function A(m,p){if(m.filter)return m.filter(p);for(var c=[],o=0;o<m.length;o++)p(m[o],o,m)&&c.push(m[o]);return c}var b="ab".substr(-1)==="b"?function(m,p,c){return m.substr(p,c)}:function(m,p,c){return p<0&&(p=m.length+p),m.substr(p,c)}}).call(this,H("_process"))},{_process:208}],206:[function(H,k,d){(function(_){/*!
* 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 x={function:!0,object:!0},C=x[typeof window]&&window||this,A=C,b=x[typeof d]&&d,m=x[typeof k]&&k&&!k.nodeType&&k,p=b&&m&&typeof _=="object"&&_;p&&(p.global===p||p.window===p||p.self===p)&&(C=p);var c=Math.pow(2,53)-1,o=/\bOpera/,r=this,i=Object.prototype,n=i.hasOwnProperty,t=i.toString;function s(w){return w=String(w),w.charAt(0).toUpperCase()+w.slice(1)}function e(w,S,I){var L={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return S&&I&&/^Win/i.test(w)&&!/^Windows Phone /i.test(w)&&(L=L[/[\d.]+$/.exec(w)])&&(w="Windows "+L),w=String(w),S&&I&&(w=w.replace(RegExp(S,"i"),I)),w=l(w.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]),w}function a(w,S){var I=-1,L=w?w.length:0;if(typeof L=="number"&&L>-1&&L<=c)for(;++I<L;)S(w[I],I,w);else u(w,S)}function l(w){return w=y(w),/^(?:webOS|i(?:OS|P))/.test(w)?w:s(w)}function u(w,S){for(var I in w)n.call(w,I)&&S(w[I],I,w)}function h(w){return w==null?s(w):t.call(w).slice(8,-1)}function f(w,S){var I=w!=null?typeof w[S]:"number";return!/^(?:boolean|number|string|undefined)$/.test(I)&&(I=="object"?!!w[S]:!0)}function g(w){return String(w).replace(/([ -])(?!$)/g,"$1?")}function v(w,S){var I=null;return a(w,function(L,O){I=S(I,L,O,w)}),I}function y(w){return String(w).replace(/^ +| +$/g,"")}function E(w){var S=C,I=w&&typeof w=="object"&&h(w)!="String";I&&(S=w,w=null);var L=S.navigator||{},O=L.userAgent||"";w||(w=O);var N=I||r==A,R=I?!!L.likeChrome:/\bChrome\b/.test(w)&&!/internal|\n/i.test(t.toString()),D="Object",B=I?D:"ScriptBridgingProxyObject",M=I?D:"Environment",U=I&&S.java?"JavaPackage":h(S.java),F=I?D:"RuntimeObject",j=/\bJava/.test(U)&&S.java,W=j&&h(S.environment)==M,V=j?"a":"\u03B1",z=j?"b":"\u03B2",Y=S.document||{},J=S.operamini||S.opera,ie=o.test(ie=I&&J?J["[[Class]]"]:h(J))?ie:J=null,Z,oe=w,ge=[],pe=null,De=w==O,ce=De&&J&&typeof J.version=="function"&&J.version(),Oe,se=G([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),$=ve(["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"]),ze=Ce([{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=Q({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),X=de(["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 G(xe){return v(xe,function(We,nt){return We||RegExp("\\b"+(nt.pattern||g(nt))+"\\b","i").exec(w)&&(nt.label||nt)})}function Q(xe){return v(xe,function(We,nt,$e){return We||(nt[ze]||nt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(ze)]||RegExp("\\b"+g($e)+"(?:\\b|\\w*\\d)","i").exec(w))&&$e})}function ve(xe){return v(xe,function(We,nt){return We||RegExp("\\b"+(nt.pattern||g(nt))+"\\b","i").exec(w)&&(nt.label||nt)})}function de(xe){return v(xe,function(We,nt){var $e=nt.pattern||g(nt);return!We&&(We=RegExp("\\b"+$e+"(?:/[\\d.]+|[ \\w.]*)","i").exec(w))&&(We=e(We,$e,nt.label||nt)),We})}function Ce(xe){return v(xe,function(We,nt){var $e=nt.pattern||g(nt);return!We&&(We=RegExp("\\b"+$e+" *\\d+[.\\w_]*","i").exec(w)||RegExp("\\b"+$e+" *\\w+-[\\w]*","i").exec(w)||RegExp("\\b"+$e+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(w))&&((We=String(nt.label&&!RegExp($e,"i").test(nt.label)?nt.label:We).split("/"))[1]&&!/[\d.]+/.test(We[0])&&(We[0]+=" "+We[1]),nt=nt.label||nt,We=l(We[0].replace(RegExp($e,"i"),nt).replace(RegExp("; *(?:"+nt+"[_-])?","i")," ").replace(RegExp("("+nt+")[-_.]?(\\w)","i"),"$1 $2"))),We})}function we(xe){return v(xe,function(We,nt){return We||(RegExp(nt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(w)||0)[1]||null})}function le(){return this.description||""}if(se&&(se=[se]),re&&!ze&&(ze=Ce([re])),(Z=/\bGoogle TV\b/.exec(ze))&&(ze=Z[0]),/\bSimulator\b/i.test(w)&&(ze=(ze?ze+" ":"")+"Simulator"),$=="Opera Mini"&&/\bOPiOS\b/.test(w)&&ge.push("running in Turbo/Uncompressed mode"),$=="IE"&&/\blike iPhone OS\b/.test(w)?(Z=E(w.replace(/like iPhone OS/,"")),re=Z.manufacturer,ze=Z.product):/^iP/.test(ze)?($||($="Safari"),X="iOS"+((Z=/ OS ([\d_]+)/i.exec(w))?" "+Z[1].replace(/_/g,"."):"")):$=="Konqueror"&&!/buntu/i.test(X)?X="Kubuntu":re&&re!="Google"&&(/Chrome/.test($)&&!/\bMobile Safari\b/i.test(w)||/\bVita\b/.test(ze))||/\bAndroid\b/.test(X)&&/^Chrome/.test($)&&/\bVersion\//i.test(w)?($="Android Browser",X=/\bAndroid\b/.test(X)?X:"Android"):$=="Silk"?(/\bMobi/i.test(w)||(X="Android",ge.unshift("desktop mode")),/Accelerated *= *true/i.test(w)&&ge.unshift("accelerated")):$=="PaleMoon"&&(Z=/\bFirefox\/([\d.]+)\b/.exec(w))?ge.push("identifying as Firefox "+Z[1]):$=="Firefox"&&(Z=/\b(Mobile|Tablet|TV)\b/i.exec(w))?(X||(X="Firefox OS"),ze||(ze=Z[1])):!$||(Z=!/\bMinefield\b/i.test(w)&&/\b(?:Firefox|Safari)\b/.exec($))?($&&!ze&&/[\/,]|^[^(]+?\)/.test(w.slice(w.indexOf(Z+"/")+8))&&($=null),(Z=ze||re||X)&&(ze||re||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(X))&&($=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(X)?X:Z)+" Browser")):$=="Electron"&&(Z=(/\bChrome\/([\d.]+)\b/.exec(w)||0)[1])&&ge.push("Chromium "+Z),ce||(ce=we(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",g($),"(?:Firefox|Minefield|NetFront)"])),(Z=se=="iCab"&&parseFloat(ce)>3&&"WebKit"||/\bOpera\b/.test($)&&(/\bOPR\b/.test(w)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(w)&&!/^(?:Trident|EdgeHTML)$/.test(se)&&"WebKit"||!se&&/\bMSIE\b/i.test(w)&&(X=="Mac OS"?"Tasman":"Trident")||se=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test($)&&"NetFront")&&(se=[Z]),$=="IE"&&(Z=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(w)||0)[1])?($+=" Mobile",X="Windows Phone "+(/\+$/.test(Z)?Z:Z+".x"),ge.unshift("desktop mode")):/\bWPDesktop\b/i.test(w)?($="IE Mobile",X="Windows Phone 8.x",ge.unshift("desktop mode"),ce||(ce=(/\brv:([\d.]+)/.exec(w)||0)[1])):$!="IE"&&se=="Trident"&&(Z=/\brv:([\d.]+)/.exec(w))&&($&&ge.push("identifying as "+$+(ce?" "+ce:"")),$="IE",ce=Z[1]),De){if(f(S,"global"))if(j&&(Z=j.lang.System,oe=Z.getProperty("os.arch"),X=X||Z.getProperty("os.name")+" "+Z.getProperty("os.version")),W){try{ce=S.require("ringo/engine").version.join("."),$="RingoJS"}catch(xe){(Z=S.system)&&Z.global.system==S.system&&($="Narwhal",X||(X=Z[0].os||null))}$||($="Rhino")}else typeof S.process=="object"&&!S.process.browser&&(Z=S.process)&&(typeof Z.versions=="object"&&(typeof Z.versions.electron=="string"?(ge.push("Node "+Z.versions.node),$="Electron",ce=Z.versions.electron):typeof Z.versions.nw=="string"&&(ge.push("Chromium "+ce,"Node "+Z.versions.node),$="NW.js",ce=Z.versions.nw)),$||($="Node.js",oe=Z.arch,X=Z.platform,ce=/[\d.]+/.exec(Z.version),ce=ce?ce[0]:null));else h(Z=S.runtime)==B?($="Adobe AIR",X=Z.flash.system.Capabilities.os):h(Z=S.phantom)==F?($="PhantomJS",ce=(Z=Z.version||null)&&Z.major+"."+Z.minor+"."+Z.patch):typeof Y.documentMode=="number"&&(Z=/\bTrident\/(\d+)/i.exec(w))?(ce=[ce,Y.documentMode],(Z=+Z[1]+4)!=ce[1]&&(ge.push("IE "+ce[1]+" mode"),se&&(se[1]=""),ce[1]=Z),ce=$=="IE"?String(ce[1].toFixed(1)):ce[0]):typeof Y.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test($)&&(ge.push("masking as "+$+" "+ce),$="IE",ce="11.0",se=["Trident"],X="Windows");X=X&&l(X)}if(ce&&(Z=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ce)||/(?:alpha|beta)(?: ?\d)?/i.exec(w+";"+(De&&L.appMinorVersion))||/\bMinefield\b/i.test(w)&&"a")&&(pe=/b/i.test(Z)?"beta":"alpha",ce=ce.replace(RegExp(Z+"\\+?$"),"")+(pe=="beta"?z:V)+(/\d+\+?/.exec(Z)||"")),$=="Fennec"||$=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(X))$="Firefox Mobile";else if($=="Maxthon"&&ce)ce=ce.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(ze))ze=="Xbox 360"&&(X=null),ze=="Xbox 360"&&/\bIEMobile\b/.test(w)&&ge.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test($)||$&&!ze&&!/Browser|Mobi/.test($))&&(X=="Windows CE"||/Mobi/i.test(w)))$+=" Mobile";else if($=="IE"&&De)try{S.external===null&&ge.unshift("platform preview")}catch(xe){ge.unshift("embedded")}else(/\bBlackBerry\b/.test(ze)||/\bBB10\b/.test(w))&&(Z=(RegExp(ze.replace(/ +/g," *")+"/([.\\d]+)","i").exec(w)||0)[1]||ce)?(Z=[Z,/BB10/.test(w)],X=(Z[1]?(ze=null,re="BlackBerry"):"Device Software")+" "+Z[0],ce=null):this!=u&&ze!="Wii"&&(De&&J||/Opera/.test($)&&/\b(?:MSIE|Firefox)\b/i.test(w)||$=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(X)||$=="IE"&&(X&&!/^Win/.test(X)&&ce>5.5||/\bWindows XP\b/.test(X)&&ce>8||ce==8&&!/\bTrident\b/.test(w)))&&!o.test(Z=E.call(u,w.replace(o,"")+";"))&&Z.name&&(Z="ing as "+Z.name+((Z=Z.version)?" "+Z:""),o.test($)?(/\bIE\b/.test(Z)&&X=="Mac OS"&&(X=null),Z="identify"+Z):(Z="mask"+Z,ie?$=l(ie.replace(/([a-z])([A-Z])/g,"$1 $2")):$="Opera",/\bIE\b/.test(Z)&&(X=null),De||(ce=null)),se=["Presto"],ge.push(Z));(Z=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(w)||0)[1])&&(Z=[parseFloat(Z.replace(/\.(\d)$/,".0$1")),Z],$=="Safari"&&Z[1].slice(-1)=="+"?($="WebKit Nightly",pe="alpha",ce=Z[1].slice(0,-1)):(ce==Z[1]||ce==(Z[2]=(/\bSafari\/([\d.]+\+?)/i.exec(w)||0)[1]))&&(ce=null),Z[1]=(/\bChrome\/([\d.]+)/i.exec(w)||0)[1],Z[0]==537.36&&Z[2]==537.36&&parseFloat(Z[1])>=28&&se=="WebKit"&&(se=["Blink"]),!De||!R&&!Z[1]?(se&&(se[1]="like Safari"),Z=(Z=Z[0],Z<400?1:Z<500?2:Z<526?3:Z<533?4:Z<534?"4+":Z<535?5:Z<537?6:Z<538?7:Z<601?8:"8")):(se&&(se[1]="like Chrome"),Z=Z[1]||(Z=Z[0],Z<530?1:Z<532?2:Z<532.05?3:Z<533?4:Z<534.03?5:Z<534.07?6:Z<534.1?7:Z<534.13?8:Z<534.16?9:Z<534.24?10:Z<534.3?11:Z<535.01?12:Z<535.02?"13+":Z<535.07?15:Z<535.11?16:Z<535.19?17:Z<536.05?18:Z<536.1?19:Z<537.01?20:Z<537.11?"21+":Z<537.13?23:Z<537.18?24:Z<537.24?25:Z<537.36?26:se!="Blink"?"27":"28")),se&&(se[1]+=" "+(Z+=typeof Z=="number"?".x":/[.+]/.test(Z)?"":"+")),$=="Safari"&&(!ce||parseInt(ce)>45)&&(ce=Z)),$=="Opera"&&(Z=/\bzbov|zvav$/.exec(X))?($+=" ",ge.unshift("desktop mode"),Z=="zvav"?($+="Mini",ce=null):$+="Mobile",X=X.replace(RegExp(" *"+Z+"$"),"")):$=="Safari"&&/\bChrome\b/.exec(se&&se[1])&&(ge.unshift("desktop mode"),$="Chrome Mobile",ce=null,/\bOS X\b/.test(X)?(re="Apple",X="iOS 4.3+"):X=null),ce&&ce.indexOf(Z=/[\d.]+$/.exec(X))==0&&w.indexOf("/"+Z+"-")>-1&&(X=y(X.replace(Z,""))),se&&!/\b(?:Avant|Nook)\b/.test($)&&(/Browser|Lunascape|Maxthon/.test($)||$!="Safari"&&/^iOS/.test(X)&&/\bSafari\b/.test(se[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test($)&&se[1])&&((Z=se[se.length-1])&&ge.push(Z)),ge.length&&(ge=["("+ge.join("; ")+")"]),re&&ze&&ze.indexOf(re)<0&&ge.push("on "+re),ze&&ge.push((/^on /.test(ge[ge.length-1])?"":"on ")+ze),X&&(Z=/ ([\d.+]+)$/.exec(X),Oe=Z&&X.charAt(X.length-Z[0].length-1)=="/",X={architecture:32,family:Z&&!Oe?X.replace(Z[0],""):X,version:Z?Z[1]:null,toString:function(){var We=this.version;return this.family+(We&&!Oe?" "+We:"")+(this.architecture==64?" 64-bit":"")}}),(Z=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(oe))&&!/\bi686\b/i.test(oe)?(X&&(X.architecture=64,X.family=X.family.replace(RegExp(" *"+Z),"")),$&&(/\bWOW64\b/i.test(w)||De&&/\w(?:86|32)$/.test(L.cpuClass||L.platform)&&!/\bWin64; x64\b/i.test(w))&&ge.unshift("32-bit")):X&&/^OS X/.test(X.family)&&$=="Chrome"&&parseFloat(ce)>=39&&(X.architecture=64),w||(w=null);var fe={};return fe.description=w,fe.layout=se&&se[0],fe.manufacturer=re,fe.name=$,fe.prerelease=pe,fe.product=ze,fe.ua=w,fe.version=$&&ce,fe.os=X||{architecture:null,family:null,version:null,toString:function(){return"null"}},fe.parse=E,fe.toString=le,fe.version&&ge.unshift(ce),fe.name&&ge.unshift($),X&&$&&!(X==String(X).split(" ")[0]&&(X==$.split(" ")[0]||ze))&&ge.push(ze?"("+X+")":"on "+X),ge.length&&(fe.description=ge.join(" ")),fe}var T=E();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(C.platform=T,define(function(){return T})):b&&m?u(T,function(w,S){b[S]=w}):C.platform=T}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(H,k,d){(function(_){"use strict";typeof _=="undefined"||!_.version||_.version.indexOf("v0.")===0||_.version.indexOf("v1.")===0&&_.version.indexOf("v1.8.")!==0?k.exports={nextTick:x}:k.exports=_;function x(C,A,b,m){if(typeof C!="function")throw new TypeError('"callback" argument must be a function');var p=arguments.length,c,o;switch(p){case 0:case 1:return _.nextTick(C);case 2:return _.nextTick(function(){C.call(null,A)});case 3:return _.nextTick(function(){C.call(null,A,b)});case 4:return _.nextTick(function(){C.call(null,A,b,m)});default:for(c=new Array(p-1),o=0;o<c.length;)c[o++]=arguments[o];return _.nextTick(function(){C.apply(null,c)})}}}).call(this,H("_process"))},{_process:208}],208:[function(H,k,d){var _=k.exports={},x,C;function A(){throw new Error("setTimeout has not been defined")}function b(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?x=setTimeout:x=A}catch(a){x=A}try{typeof clearTimeout=="function"?C=clearTimeout:C=b}catch(a){C=b}})();function m(a){if(x===setTimeout)return setTimeout(a,0);if((x===A||!x)&&setTimeout)return x=setTimeout,setTimeout(a,0);try{return x(a,0)}catch(l){try{return x.call(null,a,0)}catch(u){return x.call(this,a,0)}}}function p(a){if(C===clearTimeout)return clearTimeout(a);if((C===b||!C)&&clearTimeout)return C=clearTimeout,clearTimeout(a);try{return C(a)}catch(l){try{return C.call(null,a)}catch(u){return C.call(this,a)}}}var c=[],o=!1,r,i=-1;function n(){if(!o||!r)return;o=!1,r.length?c=r.concat(c):i=-1,c.length&&t()}function t(){if(o)return;var a=m(n);o=!0;for(var l=c.length;l;){for(r=c,c=[];++i<l;)r&&r[i].run();i=-1,l=c.length}r=null,o=!1,p(a)}_.nextTick=function(a){var l=new Array(arguments.length-1);if(arguments.length>1)for(var u=1;u<arguments.length;u++)l[u-1]=arguments[u];c.push(new s(a,l)),c.length===1&&!o&&m(t)};function s(a,l){this.fun=a,this.array=l}s.prototype.run=function(){this.fun.apply(null,this.array)},_.title="browser",_.browser=!0,_.env={},_.argv=[],_.version="",_.versions={};function e(){}_.on=e,_.addListener=e,_.once=e,_.off=e,_.removeListener=e,_.removeAllListeners=e,_.emit=e,_.prependListener=e,_.prependOnceListener=e,_.listeners=function(a){return[]},_.binding=function(a){throw new Error("process.binding is not supported")},_.cwd=function(){return"/"},_.chdir=function(a){throw new Error("process.chdir is not supported")},_.umask=function(){return 0}},{}],209:[function(H,k,d){(function(_){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(x){var C=typeof d=="object"&&d&&!d.nodeType&&d,A=typeof k=="object"&&k&&!k.nodeType&&k,b=typeof _=="object"&&_;(b.global===b||b.window===b||b.self===b)&&(x=b);var m,p=2147483647,c=36,o=1,r=26,i=38,n=700,t=72,s=128,e="-",a=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=c-o,g=Math.floor,v=String.fromCharCode,y;function E(U){throw new RangeError(h[U])}function T(U,F){for(var j=U.length,W=[];j--;)W[j]=F(U[j]);return W}function w(U,F){var j=U.split("@"),W="";j.length>1&&(W=j[0]+"@",U=j[1]),U=U.replace(u,".");var V=U.split("."),z=T(V,F).join(".");return W+z}function S(U){for(var F=[],j=0,W=U.length,V,z;j<W;)V=U.charCodeAt(j++),V>=55296&&V<=56319&&j<W?(z=U.charCodeAt(j++),(z&64512)==56320?F.push(((V&1023)<<10)+(z&1023)+65536):(F.push(V),j--)):F.push(V);return F}function I(U){return T(U,function(F){var j="";return F>65535&&(F-=65536,j+=v(F>>>10&1023|55296),F=56320|F&1023),j+=v(F),j}).join("")}function L(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:c}function O(U,F){return U+22+75*(U<26)-((F!=0)<<5)}function N(U,F,j){var W=0;for(U=j?g(U/n):U>>1,U+=g(U/F);U>f*r>>1;W+=c)U=g(U/f);return g(W+(f+1)*U/(U+i))}function R(U){var F=[],j=U.length,W,V=0,z=s,Y=t,J,ie,Z,oe,ge,pe,De,ce,Oe;for(J=U.lastIndexOf(e),J<0&&(J=0),ie=0;ie<J;++ie)U.charCodeAt(ie)>=128&&E("not-basic"),F.push(U.charCodeAt(ie));for(Z=J>0?J+1:0;Z<j;){for(oe=V,ge=1,pe=c;!(Z>=j&&E("invalid-input"),De=L(U.charCodeAt(Z++)),(De>=c||De>g((p-V)/ge))&&E("overflow"),V+=De*ge,ce=pe<=Y?o:pe>=Y+r?r:pe-Y,De<ce);pe+=c)Oe=c-ce,ge>g(p/Oe)&&E("overflow"),ge*=Oe;W=F.length+1,Y=N(V-oe,W,oe==0),g(V/W)>p-z&&E("overflow"),z+=g(V/W),V%=W,F.splice(V++,0,z)}return I(F)}function D(U){var F,j,W,V,z,Y,J,ie,Z,oe,ge,pe=[],De,ce,Oe,se;for(U=S(U),De=U.length,F=s,j=0,z=t,Y=0;Y<De;++Y)ge=U[Y],ge<128&&pe.push(v(ge));for(W=V=pe.length,V&&pe.push(e);W<De;){for(J=p,Y=0;Y<De;++Y)ge=U[Y],ge>=F&&ge<J&&(J=ge);for(ce=W+1,J-F>g((p-j)/ce)&&E("overflow"),j+=(J-F)*ce,F=J,Y=0;Y<De;++Y)if(ge=U[Y],ge<F&&++j>p&&E("overflow"),ge==F){for(ie=j,Z=c;!(oe=Z<=z?o:Z>=z+r?r:Z-z,ie<oe);Z+=c)se=ie-oe,Oe=c-oe,pe.push(v(O(oe+se%Oe,0))),ie=g(se/Oe);pe.push(v(O(ie,0))),z=N(j,ce,W==V),j=0,++W}++j,++F}return pe.join("")}function B(U){return w(U,function(F){return a.test(F)?R(F.slice(4).toLowerCase()):F})}function M(U){return w(U,function(F){return l.test(F)?"xn--"+D(F):F})}if(m={version:"1.4.1",ucs2:{decode:S,encode:I},decode:R,encode:D,toASCII:M,toUnicode:B},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return m});else if(C&&A)if(k.exports==C)A.exports=m;else for(y in m)m.hasOwnProperty(y)&&(C[y]=m[y]);else x.punycode=m})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(H,k,d){"use strict";function _(C,A){return Object.prototype.hasOwnProperty.call(C,A)}k.exports=function(C,A,b,m){A=A||"&",b=b||"=";var p={};if(typeof C!="string"||C.length===0)return p;var c=/\+/g;C=C.split(A);var o=1e3;m&&typeof m.maxKeys=="number"&&(o=m.maxKeys);var r=C.length;o>0&&r>o&&(r=o);for(var i=0;i<r;++i){var n=C[i].replace(c,"%20"),t=n.indexOf(b),s,e,a,l;t>=0?(s=n.substr(0,t),e=n.substr(t+1)):(s=n,e=""),a=decodeURIComponent(s),l=decodeURIComponent(e),_(p,a)?x(p[a])?p[a].push(l):p[a]=[p[a],l]:p[a]=l}return p};var x=Array.isArray||function(C){return Object.prototype.toString.call(C)==="[object Array]"}},{}],211:[function(H,k,d){"use strict";var _=function(m){switch(typeof m){case"string":return m;case"boolean":return m?"true":"false";case"number":return isFinite(m)?m:"";default:return""}};k.exports=function(b,m,p,c){return m=m||"&",p=p||"=",b===null&&(b=void 0),typeof b=="object"?C(A(b),function(o){var r=encodeURIComponent(_(o))+p;return x(b[o])?C(b[o],function(i){return r+encodeURIComponent(_(i))}).join(m):r+encodeURIComponent(_(b[o]))}).join(m):c?encodeURIComponent(_(c))+p+encodeURIComponent(_(b)):""};var x=Array.isArray||function(b){return Object.prototype.toString.call(b)==="[object Array]"};function C(b,m){if(b.map)return b.map(m);for(var p=[],c=0;c<b.length;c++)p.push(m(b[c],c));return p}var A=Object.keys||function(b){var m=[];for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&m.push(p);return m}},{}],212:[function(H,k,d){"use strict";d.decode=d.parse=H("./decode"),d.encode=d.stringify=H("./encode")},{"./decode":210,"./encode":211}],213:[function(H,k,d){k.exports=H("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=b(_),C=H("babel-runtime/core-js/object/keys"),A=b(C);function b(l){return l&&l.__esModule?l:{default:l}}var m=H("process-nextick-args"),p=A.default||function(l){var u=[];for(var h in l)u.push(h);return u};k.exports=s;var c=(0,x.default)(H("core-util-is"));c.inherits=H("inherits");var o=H("./_stream_readable"),r=H("./_stream_writable");c.inherits(s,o);for(var i=p(r.prototype),n=0;n<i.length;n++){var t=i[n];s.prototype[t]||(s.prototype[t]=r.prototype[t])}function s(l){if(!(this instanceof s))return new s(l);o.call(this,l),r.call(this,l),l&&l.readable===!1&&(this.readable=!1),l&&l.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,l&&l.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",e)}Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function e(){if(this.allowHalfOpen||this._writableState.ended)return;m.nextTick(a,this)}function a(l){l.end()}Object.defineProperty(s.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=u,this._writableState.destroyed=u}}),s.prototype._destroy=function(l,u){this.push(null),this.end(),m.nextTick(u,l)}},{"./_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(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(p){return p&&p.__esModule?p:{default:p}}k.exports=m;var A=H("./_stream_transform"),b=(0,x.default)(H("core-util-is"));b.inherits=H("inherits"),b.inherits(m,A);function m(p){if(!(this instanceof m))return new m(p);A.call(this,p)}m.prototype._transform=function(p,c,o){o(null,p)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(H,k,d){(function(_,x){"use strict";var C=H("babel-runtime/core-js/object/get-prototype-of"),A=p(C),b=H("babel-runtime/core-js/object/create"),m=p(b);function p(se){return se&&se.__esModule?se:{default:se}}var c=H("process-nextick-args");k.exports=S;var o=H("isarray"),r;S.ReadableState=w;var i=H("events").EventEmitter,n=function($,ze){return $.listeners(ze).length},t=H("./internal/streams/stream"),s=H("safe-buffer").Buffer,e=x.Uint8Array||function(){};function a(se){return s.from(se)}function l(se){return s.isBuffer(se)||se instanceof e}var u=(0,m.default)(H("core-util-is"));u.inherits=H("inherits");var h=H("util"),f=void 0;h&&h.debuglog?f=h.debuglog("stream"):f=function(){};var g=H("./internal/streams/BufferList"),v=H("./internal/streams/destroy"),y;u.inherits(S,t);var E=["error","close","destroy","pause","resume"];function T(se,$,ze){if(typeof se.prependListener=="function")return se.prependListener($,ze);!se._events||!se._events[$]?se.on($,ze):o(se._events[$])?se._events[$].unshift(ze):se._events[$]=[ze,se._events[$]]}function w(se,$){r=r||H("./_stream_duplex"),se=se||{};var ze=$ instanceof r;this.objectMode=!!se.objectMode,ze&&(this.objectMode=this.objectMode||!!se.readableObjectMode);var re=se.highWaterMark,X=se.readableHighWaterMark,G=this.objectMode?16:16*1024;re||re===0?this.highWaterMark=re:ze&&(X||X===0)?this.highWaterMark=X:this.highWaterMark=G,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,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=se.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,se.encoding&&(y||(y=H("string_decoder/").StringDecoder),this.decoder=new y(se.encoding),this.encoding=se.encoding)}function S(se){if(r=r||H("./_stream_duplex"),!(this instanceof S))return new S(se);this._readableState=new w(se,this),this.readable=!0,se&&(typeof se.read=="function"&&(this._read=se.read),typeof se.destroy=="function"&&(this._destroy=se.destroy)),t.call(this)}Object.defineProperty(S.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}}),S.prototype.destroy=v.destroy,S.prototype._undestroy=v.undestroy,S.prototype._destroy=function(se,$){this.push(null),$(se)},S.prototype.push=function(se,$){var ze=this._readableState,re;return ze.objectMode?re=!0:typeof se=="string"&&($=$||ze.defaultEncoding,$!==ze.encoding&&(se=s.from(se,$),$=""),re=!0),I(this,se,$,!1,re)},S.prototype.unshift=function(se){return I(this,se,null,!0,!1)};function I(se,$,ze,re,X){var G=se._readableState;if($===null)G.reading=!1,M(se,G);else{var Q;X||(Q=O(G,$)),Q?se.emit("error",Q):G.objectMode||$&&$.length>0?(typeof $!="string"&&!G.objectMode&&(0,A.default)($)!==s.prototype&&($=a($)),re?G.endEmitted?se.emit("error",new Error("stream.unshift() after end event")):L(se,G,$,!0):G.ended?se.emit("error",new Error("stream.push() after EOF")):(G.reading=!1,G.decoder&&!ze?($=G.decoder.write($),G.objectMode||$.length!==0?L(se,G,$,!1):j(se,G)):L(se,G,$,!1))):re||(G.reading=!1)}return N(G)}function L(se,$,ze,re){$.flowing&&$.length===0&&!$.sync?(se.emit("data",ze),se.read(0)):($.length+=$.objectMode?1:ze.length,re?$.buffer.unshift(ze):$.buffer.push(ze),$.needReadable&&U(se)),j(se,$)}function O(se,$){var ze;return!l($)&&typeof $!="string"&&$!==void 0&&!se.objectMode&&(ze=new TypeError("Invalid non-string/buffer chunk")),ze}function N(se){return!se.ended&&(se.needReadable||se.length<se.highWaterMark||se.length===0)}S.prototype.isPaused=function(){return this._readableState.flowing===!1},S.prototype.setEncoding=function(se){return y||(y=H("string_decoder/").StringDecoder),this._readableState.decoder=new y(se),this._readableState.encoding=se,this};var R=8388608;function D(se){return se>=R?se=R:(se--,se|=se>>>1,se|=se>>>2,se|=se>>>4,se|=se>>>8,se|=se>>>16,se++),se}function B(se,$){return se<=0||$.length===0&&$.ended?0:$.objectMode?1:se!==se?$.flowing&&$.length?$.buffer.head.data.length:$.length:(se>$.highWaterMark&&($.highWaterMark=D(se)),se<=$.length?se:$.ended?$.length:($.needReadable=!0,0))}S.prototype.read=function(se){f("read",se),se=parseInt(se,10);var $=this._readableState,ze=se;if(se!==0&&($.emittedReadable=!1),se===0&&$.needReadable&&($.length>=$.highWaterMark||$.ended))return f("read: emitReadable",$.length,$.ended),$.length===0&&$.ended?De(this):U(this),null;if(se=B(se,$),se===0&&$.ended)return $.length===0&&De(this),null;var re=$.needReadable;f("need readable",re),($.length===0||$.length-se<$.highWaterMark)&&(re=!0,f("length less than watermark",re)),$.ended||$.reading?(re=!1,f("reading or ended",re)):re&&(f("do read"),$.reading=!0,$.sync=!0,$.length===0&&($.needReadable=!0),this._read($.highWaterMark),$.sync=!1,$.reading||(se=B(ze,$)));var X;return se>0?X=Z(se,$):X=null,X===null?($.needReadable=!0,se=0):$.length-=se,$.length===0&&($.ended||($.needReadable=!0),ze!==se&&$.ended&&De(this)),X!==null&&this.emit("data",X),X};function M(se,$){if($.ended)return;if($.decoder){var ze=$.decoder.end();ze&&ze.length&&($.buffer.push(ze),$.length+=$.objectMode?1:ze.length)}$.ended=!0,U(se)}function U(se){var $=se._readableState;$.needReadable=!1,$.emittedReadable||(f("emitReadable",$.flowing),$.emittedReadable=!0,$.sync?c.nextTick(F,se):F(se))}function F(se){f("emit readable"),se.emit("readable"),ie(se)}function j(se,$){$.readingMore||($.readingMore=!0,c.nextTick(W,se,$))}function W(se,$){for(var ze=$.length;!$.reading&&!$.flowing&&!$.ended&&$.length<$.highWaterMark&&!(f("maybeReadMore read 0"),se.read(0),ze===$.length);)ze=$.length;$.readingMore=!1}S.prototype._read=function(se){this.emit("error",new Error("_read() is not implemented"))},S.prototype.pipe=function(se,$){var ze=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=se;break;case 1:re.pipes=[re.pipes,se];break;default:re.pipes.push(se);break}re.pipesCount+=1,f("pipe count=%d opts=%j",re.pipesCount,$);var X=(!$||$.end!==!1)&&se!==_.stdout&&se!==_.stderr,G=X?ve:$e;re.endEmitted?c.nextTick(G):ze.once("end",G),se.on("unpipe",Q);function Q(Le,pt){f("onunpipe"),Le===ze&&(pt&&pt.hasUnpiped===!1&&(pt.hasUnpiped=!0,we()))}function ve(){f("onend"),se.end()}var de=V(ze);se.on("drain",de);var Ce=!1;function we(){f("cleanup"),se.removeListener("close",We),se.removeListener("finish",nt),se.removeListener("drain",de),se.removeListener("error",xe),se.removeListener("unpipe",Q),ze.removeListener("end",ve),ze.removeListener("end",$e),ze.removeListener("data",fe),Ce=!0,re.awaitDrain&&(!se._writableState||se._writableState.needDrain)&&de()}var le=!1;ze.on("data",fe);function fe(Le){f("ondata"),le=!1;var pt=se.write(Le);pt===!1&&!le&&((re.pipesCount===1&&re.pipes===se||re.pipesCount>1&&Oe(re.pipes,se)!==-1)&&!Ce&&(f("false write response, pause",ze._readableState.awaitDrain),ze._readableState.awaitDrain++,le=!0),ze.pause())}function xe(Le){f("onerror",Le),$e(),se.removeListener("error",xe),n(se,"error")===0&&se.emit("error",Le)}T(se,"error",xe);function We(){se.removeListener("finish",nt),$e()}se.once("close",We);function nt(){f("onfinish"),se.removeListener("close",We),$e()}se.once("finish",nt);function $e(){f("unpipe"),ze.unpipe(se)}return se.emit("pipe",ze),re.flowing||(f("pipe resume"),ze.resume()),se};function V(se){return function(){var $=se._readableState;f("pipeOnDrain",$.awaitDrain),$.awaitDrain&&$.awaitDrain--,$.awaitDrain===0&&n(se,"data")&&($.flowing=!0,ie(se))}}S.prototype.unpipe=function(se){var $=this._readableState,ze={hasUnpiped:!1};if($.pipesCount===0)return this;if($.pipesCount===1)return se&&se!==$.pipes?this:(se||(se=$.pipes),$.pipes=null,$.pipesCount=0,$.flowing=!1,se&&se.emit("unpipe",this,ze),this);if(!se){var re=$.pipes,X=$.pipesCount;$.pipes=null,$.pipesCount=0,$.flowing=!1;for(var G=0;G<X;G++)re[G].emit("unpipe",this,ze);return this}var Q=Oe($.pipes,se);return Q===-1?this:($.pipes.splice(Q,1),$.pipesCount-=1,$.pipesCount===1&&($.pipes=$.pipes[0]),se.emit("unpipe",this,ze),this)},S.prototype.on=function(se,$){var ze=t.prototype.on.call(this,se,$);if(se==="data")this._readableState.flowing!==!1&&this.resume();else if(se==="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(z,this))}return ze},S.prototype.addListener=S.prototype.on;function z(se){f("readable nexttick read 0"),se.read(0)}S.prototype.resume=function(){var se=this._readableState;return se.flowing||(f("resume"),se.flowing=!0,Y(this,se)),this};function Y(se,$){$.resumeScheduled||($.resumeScheduled=!0,c.nextTick(J,se,$))}function J(se,$){$.reading||(f("resume read 0"),se.read(0)),$.resumeScheduled=!1,$.awaitDrain=0,se.emit("resume"),ie(se),$.flowing&&!$.reading&&se.read(0)}S.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function ie(se){var $=se._readableState;for(f("flow",$.flowing);$.flowing&&se.read()!==null;);}S.prototype.wrap=function(se){var $=this,ze=this._readableState,re=!1;se.on("end",function(){if(f("wrapped end"),ze.decoder&&!ze.ended){var Q=ze.decoder.end();Q&&Q.length&&$.push(Q)}$.push(null)}),se.on("data",function(Q){if(f("wrapped data"),ze.decoder&&(Q=ze.decoder.write(Q)),ze.objectMode&&Q==null)return;if(!ze.objectMode&&(!Q||!Q.length))return;var ve=$.push(Q);ve||(re=!0,se.pause())});for(var X in se)this[X]===void 0&&typeof se[X]=="function"&&(this[X]=function(Q){return function(){return se[Q].apply(se,arguments)}}(X));for(var G=0;G<E.length;G++)se.on(E[G],this.emit.bind(this,E[G]));return this._read=function(Q){f("wrapped _read",Q),re&&(re=!1,se.resume())},this},Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),S._fromList=Z;function Z(se,$){if($.length===0)return null;var ze;return $.objectMode?ze=$.buffer.shift():!se||se>=$.length?($.decoder?ze=$.buffer.join(""):$.buffer.length===1?ze=$.buffer.head.data:ze=$.buffer.concat($.length),$.buffer.clear()):ze=oe(se,$.buffer,$.decoder),ze}function oe(se,$,ze){var re;return se<$.head.data.length?(re=$.head.data.slice(0,se),$.head.data=$.head.data.slice(se)):se===$.head.data.length?re=$.shift():re=ze?ge(se,$):pe(se,$),re}function ge(se,$){var ze=$.head,re=1,X=ze.data;for(se-=X.length;ze=ze.next;){var G=ze.data,Q=se>G.length?G.length:se;if(Q===G.length?X+=G:X+=G.slice(0,se),se-=Q,se===0){Q===G.length?(++re,ze.next?$.head=ze.next:$.head=$.tail=null):($.head=ze,ze.data=G.slice(Q));break}++re}return $.length-=re,X}function pe(se,$){var ze=s.allocUnsafe(se),re=$.head,X=1;for(re.data.copy(ze),se-=re.data.length;re=re.next;){var G=re.data,Q=se>G.length?G.length:se;if(G.copy(ze,ze.length-se,0,Q),se-=Q,se===0){Q===G.length?(++X,re.next?$.head=re.next:$.head=$.tail=null):($.head=re,re.data=G.slice(Q));break}++X}return $.length-=X,ze}function De(se){var $=se._readableState;if($.length>0)throw new Error('"endReadable()" called on non-empty stream');$.endEmitted||($.ended=!0,c.nextTick(ce,$,se))}function ce(se,$){!se.endEmitted&&se.length===0&&(se.endEmitted=!0,$.readable=!1,$.emit("end"))}function Oe(se,$){for(var ze=0,re=se.length;ze<re;ze++)if(se[ze]===$)return ze;return-1}}).call(this,H("_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(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(r){return r&&r.__esModule?r:{default:r}}k.exports=p;var A=H("./_stream_duplex"),b=(0,x.default)(H("core-util-is"));b.inherits=H("inherits"),b.inherits(p,A);function m(r,i){var n=this._transformState;n.transforming=!1;var t=n.writecb;if(!t)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,i!=null&&this.push(i),t(r);var s=this._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}function p(r){if(!(this instanceof p))return new p(r);A.call(this,r),this._transformState={afterTransform:m.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,r&&(typeof r.transform=="function"&&(this._transform=r.transform),typeof r.flush=="function"&&(this._flush=r.flush)),this.on("prefinish",c)}function c(){var r=this;typeof this._flush=="function"?this._flush(function(i,n){o(r,i,n)}):o(this,null,null)}p.prototype.push=function(r,i){return this._transformState.needTransform=!1,A.prototype.push.call(this,r,i)},p.prototype._transform=function(r,i,n){throw new Error("_transform() is not implemented")},p.prototype._write=function(r,i,n){var t=this._transformState;if(t.writecb=n,t.writechunk=r,t.writeencoding=i,!t.transforming){var s=this._readableState;(t.needTransform||s.needReadable||s.length<s.highWaterMark)&&this._read(s.highWaterMark)}},p.prototype._read=function(r){var i=this._transformState;i.writechunk!==null&&i.writecb&&!i.transforming?(i.transforming=!0,this._transform(i.writechunk,i.writeencoding,i.afterTransform)):i.needTransform=!0},p.prototype._destroy=function(r,i){var n=this;A.prototype._destroy.call(this,r,function(t){i(t),n.emit("close")})};function o(r,i,n){if(i)return r.emit("error",i);if(n!=null&&r.push(n),r._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(r._transformState.transforming)throw new Error("Calling transform done when still transforming");return r.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(H,k,d){(function(_,x){"use strict";var C=H("babel-runtime/core-js/object/define-property"),A=t(C),b=H("babel-runtime/core-js/symbol/has-instance"),m=t(b),p=H("babel-runtime/core-js/symbol"),c=t(p),o=H("babel-runtime/core-js/object/create"),r=t(o),i=H("babel-runtime/core-js/set-immediate"),n=t(i);function t(pe){return pe&&pe.__esModule?pe:{default:pe}}var s=H("process-nextick-args");k.exports=O;function e(pe,De,ce){this.chunk=pe,this.encoding=De,this.callback=ce,this.next=null}function a(pe){var De=this;this.next=null,this.entry=null,this.finish=function(){ge(De,pe)}}var l=!_.browser&&["v0.10","v0.9."].indexOf(_.version.slice(0,5))>-1?n.default:s.nextTick,u;O.WritableState=I;var h=(0,r.default)(H("core-util-is"));h.inherits=H("inherits");var f={deprecate:H("util-deprecate")},g=H("./internal/streams/stream"),v=H("safe-buffer").Buffer,y=x.Uint8Array||function(){};function E(pe){return v.from(pe)}function T(pe){return v.isBuffer(pe)||pe instanceof y}var w=H("./internal/streams/destroy");h.inherits(O,g);function S(){}function I(pe,De){u=u||H("./_stream_duplex"),pe=pe||{};var ce=De instanceof u;this.objectMode=!!pe.objectMode,ce&&(this.objectMode=this.objectMode||!!pe.writableObjectMode);var Oe=pe.highWaterMark,se=pe.writableHighWaterMark,$=this.objectMode?16:16*1024;Oe||Oe===0?this.highWaterMark=Oe:ce&&(se||se===0)?this.highWaterMark=se:this.highWaterMark=$,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 ze=pe.decodeStrings===!1;this.decodeStrings=!ze,this.defaultEncoding=pe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(re){j(De,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 a(this)}I.prototype.getBuffer=function(){for(var De=this.bufferedRequest,ce=[];De;)ce.push(De),De=De.next;return ce},function(){try{Object.defineProperty(I.prototype,"buffer",{get:f.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(pe){}}();var L;typeof c.default=="function"&&m.default&&typeof Function.prototype[m.default]=="function"?(L=Function.prototype[m.default],(0,A.default)(O,m.default,{value:function(De){return L.call(this,De)?!0:this!==O?!1:De&&De._writableState instanceof I}})):L=function(De){return De instanceof this};function O(pe){if(u=u||H("./_stream_duplex"),!L.call(O,this)&&!(this instanceof u))return new O(pe);this._writableState=new I(pe,this),this.writable=!0,pe&&(typeof pe.write=="function"&&(this._write=pe.write),typeof pe.writev=="function"&&(this._writev=pe.writev),typeof pe.destroy=="function"&&(this._destroy=pe.destroy),typeof pe.final=="function"&&(this._final=pe.final)),g.call(this)}O.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function N(pe,De){var ce=new Error("write after end");pe.emit("error",ce),s.nextTick(De,ce)}function R(pe,De,ce,Oe){var se=!0,$=!1;return ce===null?$=new TypeError("May not write null values to stream"):typeof ce!="string"&&ce!==void 0&&!De.objectMode&&($=new TypeError("Invalid non-string/buffer chunk")),$&&(pe.emit("error",$),s.nextTick(Oe,$),se=!1),se}O.prototype.write=function(pe,De,ce){var Oe=this._writableState,se=!1,$=!Oe.objectMode&&T(pe);return $&&!v.isBuffer(pe)&&(pe=E(pe)),typeof De=="function"&&(ce=De,De=null),$?De="buffer":De||(De=Oe.defaultEncoding),typeof ce!="function"&&(ce=S),Oe.ended?N(this,ce):($||R(this,Oe,pe,ce))&&(Oe.pendingcb++,se=B(this,Oe,$,pe,De,ce)),se},O.prototype.cork=function(){var pe=this._writableState;pe.corked++},O.prototype.uncork=function(){var pe=this._writableState;pe.corked&&(pe.corked--,!pe.writing&&!pe.corked&&!pe.finished&&!pe.bufferProcessing&&pe.bufferedRequest&&z(this,pe))},O.prototype.setDefaultEncoding=function(De){if(typeof De=="string"&&(De=De.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((De+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+De);return this._writableState.defaultEncoding=De,this};function D(pe,De,ce){return!pe.objectMode&&pe.decodeStrings!==!1&&typeof De=="string"&&(De=v.from(De,ce)),De}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function B(pe,De,ce,Oe,se,$){if(!ce){var ze=D(De,Oe,se);Oe!==ze&&(ce=!0,se="buffer",Oe=ze)}var re=De.objectMode?1:Oe.length;De.length+=re;var X=De.length<De.highWaterMark;if(X||(De.needDrain=!0),De.writing||De.corked){var G=De.lastBufferedRequest;De.lastBufferedRequest={chunk:Oe,encoding:se,isBuf:ce,callback:$,next:null},G?G.next=De.lastBufferedRequest:De.bufferedRequest=De.lastBufferedRequest,De.bufferedRequestCount+=1}else M(pe,De,!1,re,Oe,se,$);return X}function M(pe,De,ce,Oe,se,$,ze){De.writelen=Oe,De.writecb=ze,De.writing=!0,De.sync=!0,ce?pe._writev(se,De.onwrite):pe._write(se,$,De.onwrite),De.sync=!1}function U(pe,De,ce,Oe,se){--De.pendingcb,ce?(s.nextTick(se,Oe),s.nextTick(Z,pe,De),pe._writableState.errorEmitted=!0,pe.emit("error",Oe)):(se(Oe),pe._writableState.errorEmitted=!0,pe.emit("error",Oe),Z(pe,De))}function F(pe){pe.writing=!1,pe.writecb=null,pe.length-=pe.writelen,pe.writelen=0}function j(pe,De){var ce=pe._writableState,Oe=ce.sync,se=ce.writecb;if(F(ce),De)U(pe,ce,Oe,De,se);else{var $=Y(ce);!$&&!ce.corked&&!ce.bufferProcessing&&ce.bufferedRequest&&z(pe,ce),Oe?l(W,pe,ce,$,se):W(pe,ce,$,se)}}function W(pe,De,ce,Oe){ce||V(pe,De),De.pendingcb--,Oe(),Z(pe,De)}function V(pe,De){De.length===0&&De.needDrain&&(De.needDrain=!1,pe.emit("drain"))}function z(pe,De){De.bufferProcessing=!0;var ce=De.bufferedRequest;if(pe._writev&&ce&&ce.next){var Oe=De.bufferedRequestCount,se=new Array(Oe),$=De.corkedRequestsFree;$.entry=ce;for(var ze=0,re=!0;ce;)se[ze]=ce,ce.isBuf||(re=!1),ce=ce.next,ze+=1;se.allBuffers=re,M(pe,De,!0,De.length,se,"",$.finish),De.pendingcb++,De.lastBufferedRequest=null,$.next?(De.corkedRequestsFree=$.next,$.next=null):De.corkedRequestsFree=new a(De),De.bufferedRequestCount=0}else{for(;ce;){var X=ce.chunk,G=ce.encoding,Q=ce.callback,ve=De.objectMode?1:X.length;if(M(pe,De,!1,ve,X,G,Q),ce=ce.next,De.bufferedRequestCount--,De.writing)break}ce===null&&(De.lastBufferedRequest=null)}De.bufferedRequest=ce,De.bufferProcessing=!1}O.prototype._write=function(pe,De,ce){ce(new Error("_write() is not implemented"))},O.prototype._writev=null,O.prototype.end=function(pe,De,ce){var Oe=this._writableState;typeof pe=="function"?(ce=pe,pe=null,De=null):typeof De=="function"&&(ce=De,De=null),pe!=null&&this.write(pe,De),Oe.corked&&(Oe.corked=1,this.uncork()),!Oe.ending&&!Oe.finished&&oe(this,Oe,ce)};function Y(pe){return pe.ending&&pe.length===0&&pe.bufferedRequest===null&&!pe.finished&&!pe.writing}function J(pe,De){pe._final(function(ce){De.pendingcb--,ce&&pe.emit("error",ce),De.prefinished=!0,pe.emit("prefinish"),Z(pe,De)})}function ie(pe,De){!De.prefinished&&!De.finalCalled&&(typeof pe._final=="function"?(De.pendingcb++,De.finalCalled=!0,s.nextTick(J,pe,De)):(De.prefinished=!0,pe.emit("prefinish")))}function Z(pe,De){var ce=Y(De);return ce&&(ie(pe,De),De.pendingcb===0&&(De.finished=!0,pe.emit("finish"))),ce}function oe(pe,De,ce){De.ending=!0,Z(pe,De),ce&&(De.finished?s.nextTick(ce):pe.once("finish",ce)),De.ended=!0,pe.writable=!1}function ge(pe,De,ce){var Oe=pe.entry;for(pe.entry=null;Oe;){var se=Oe.callback;De.pendingcb--,se(ce),Oe=Oe.next}De.corkedRequestsFree?De.corkedRequestsFree.next=pe:De.corkedRequestsFree=pe}Object.defineProperty(O.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(De){if(!this._writableState)return;this._writableState.destroyed=De}}),O.prototype.destroy=w.destroy,O.prototype._undestroy=w.undestroy,O.prototype._destroy=function(pe,De){this.end(),De(pe)}}).call(this,H("_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(H,k,d){"use strict";function _(b,m){if(!(b instanceof m))throw new TypeError("Cannot call a class as a function")}var x=H("safe-buffer").Buffer,C=H("util");function A(b,m,p){b.copy(m,p)}k.exports=function(){function b(){_(this,b),this.head=null,this.tail=null,this.length=0}return b.prototype.push=function(p){var c={data:p,next:null};this.length>0?this.tail.next=c:this.head=c,this.tail=c,++this.length},b.prototype.unshift=function(p){var c={data:p,next:this.head};this.length===0&&(this.tail=c),this.head=c,++this.length},b.prototype.shift=function(){if(this.length===0)return;var p=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,p},b.prototype.clear=function(){this.head=this.tail=null,this.length=0},b.prototype.join=function(p){if(this.length===0)return"";for(var c=this.head,o=""+c.data;c=c.next;)o+=p+c.data;return o},b.prototype.concat=function(p){if(this.length===0)return x.alloc(0);if(this.length===1)return this.head.data;for(var c=x.allocUnsafe(p>>>0),o=this.head,r=0;o;)A(o.data,c,r),r+=o.data.length,o=o.next;return c},b}(),C&&C.inspect&&C.inspect.custom&&(k.exports.prototype[C.inspect.custom]=function(){var b=C.inspect({length:this.length});return this.constructor.name+" "+b})},{"safe-buffer":228,util:71}],220:[function(H,k,d){"use strict";var _=H("process-nextick-args");function x(b,m){var p=this,c=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return c||o?(m?m(b):b&&(!this._writableState||!this._writableState.errorEmitted)&&_.nextTick(A,this,b),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(b||null,function(r){!m&&r?(_.nextTick(A,p,r),p._writableState&&(p._writableState.errorEmitted=!0)):m&&m(r)}),this)}function C(){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 A(b,m){b.emit("error",m)}k.exports={destroy:x,undestroy:C}},{"process-nextick-args":207}],221:[function(H,k,d){"use strict";k.exports=H("events").EventEmitter},{events:192}],222:[function(H,k,d){k.exports=H("./readable").PassThrough},{"./readable":223}],223:[function(H,k,d){d=k.exports=H("./lib/_stream_readable.js"),d.Stream=d,d.Readable=d,d.Writable=H("./lib/_stream_writable.js"),d.Duplex=H("./lib/_stream_duplex.js"),d.Transform=H("./lib/_stream_transform.js"),d.PassThrough=H("./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(H,k,d){k.exports=H("./readable").Transform},{"./readable":223}],225:[function(H,k,d){k.exports=H("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(H,k,d){var _=function(){return this}()||Function("return this")(),x=_.regeneratorRuntime&&Object.getOwnPropertyNames(_).indexOf("regeneratorRuntime")>=0,C=x&&_.regeneratorRuntime;if(_.regeneratorRuntime=void 0,k.exports=H("./runtime"),x)_.regeneratorRuntime=C;else try{delete _.regeneratorRuntime}catch(A){_.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(H,k,d){!function(_){"use strict";var x=Object.prototype,C=x.hasOwnProperty,A,b=typeof Symbol=="function"?Symbol:{},m=b.iterator||"@@iterator",p=b.asyncIterator||"@@asyncIterator",c=b.toStringTag||"@@toStringTag",o=typeof k=="object",r=_.regeneratorRuntime;if(r){o&&(k.exports=r);return}r=_.regeneratorRuntime=o?k.exports:{};function i(B,M,U,F){var j=M&&M.prototype instanceof u?M:u,W=Object.create(j.prototype),V=new N(F||[]);return W._invoke=S(B,U,V),W}r.wrap=i;function n(B,M,U){try{return{type:"normal",arg:B.call(M,U)}}catch(F){return{type:"throw",arg:F}}}var t="suspendedStart",s="suspendedYield",e="executing",a="completed",l={};function u(){}function h(){}function f(){}var g={};g[m]=function(){return this};var v=Object.getPrototypeOf,y=v&&v(v(R([])));y&&y!==x&&C.call(y,m)&&(g=y);var E=f.prototype=u.prototype=Object.create(g);h.prototype=E.constructor=f,f.constructor=h,f[c]=h.displayName="GeneratorFunction";function T(B){["next","throw","return"].forEach(function(M){B[M]=function(U){return this._invoke(M,U)}})}r.isGeneratorFunction=function(B){var M=typeof B=="function"&&B.constructor;return M?M===h||(M.displayName||M.name)==="GeneratorFunction":!1},r.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,f):(B.__proto__=f,c in B||(B[c]="GeneratorFunction")),B.prototype=Object.create(E),B},r.awrap=function(B){return{__await:B}};function w(B){function M(j,W,V,z){var Y=n(B[j],B,W);if(Y.type==="throw")z(Y.arg);else{var J=Y.arg,ie=J.value;return ie&&typeof ie=="object"&&C.call(ie,"__await")?Promise.resolve(ie.__await).then(function(Z){M("next",Z,V,z)},function(Z){M("throw",Z,V,z)}):Promise.resolve(ie).then(function(Z){J.value=Z,V(J)},z)}}var U;function F(j,W){function V(){return new Promise(function(z,Y){M(j,W,z,Y)})}return U=U?U.then(V,V):V()}this._invoke=F}T(w.prototype),w.prototype[p]=function(){return this},r.AsyncIterator=w,r.async=function(B,M,U,F){var j=new w(i(B,M,U,F));return r.isGeneratorFunction(M)?j:j.next().then(function(W){return W.done?W.value:j.next()})};function S(B,M,U){var F=t;return function(W,V){if(F===e)throw new Error("Generator is already running");if(F===a){if(W==="throw")throw V;return D()}for(U.method=W,U.arg=V;;){var z=U.delegate;if(z){var Y=I(z,U);if(Y){if(Y===l)continue;return Y}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(F===t)throw F=a,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);F=e;var J=n(B,M,U);if(J.type==="normal"){if(F=U.done?a:s,J.arg===l)continue;return{value:J.arg,done:U.done}}else J.type==="throw"&&(F=a,U.method="throw",U.arg=J.arg)}}}function I(B,M){var U=B.iterator[M.method];if(U===A){if(M.delegate=null,M.method==="throw"){if(B.iterator.return&&(M.method="return",M.arg=A,I(B,M),M.method==="throw"))return l;M.method="throw",M.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var F=n(U,B.iterator,M.arg);if(F.type==="throw")return M.method="throw",M.arg=F.arg,M.delegate=null,l;var j=F.arg;if(!j)return M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,l;if(j.done)M[B.resultName]=j.value,M.next=B.nextLoc,M.method!=="return"&&(M.method="next",M.arg=A);else return j;return M.delegate=null,l}T(E),E[c]="Generator",E[m]=function(){return this},E.toString=function(){return"[object Generator]"};function L(B){var M={tryLoc:B[0]};1 in B&&(M.catchLoc=B[1]),2 in B&&(M.finallyLoc=B[2],M.afterLoc=B[3]),this.tryEntries.push(M)}function O(B){var M=B.completion||{};M.type="normal",delete M.arg,B.completion=M}function N(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(L,this),this.reset(!0)}r.keys=function(B){var M=[];for(var U in B)M.push(U);return M.reverse(),function F(){for(;M.length;){var j=M.pop();if(j in B)return F.value=j,F.done=!1,F}return F.done=!0,F}};function R(B){if(B){var M=B[m];if(M)return M.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var U=-1,F=function j(){for(;++U<B.length;)if(C.call(B,U))return j.value=B[U],j.done=!1,j;return j.value=A,j.done=!0,j};return F.next=F}}return{next:D}}r.values=R;function D(){return{value:A,done:!0}}N.prototype={constructor:N,reset:function(M){if(this.prev=0,this.next=0,this.sent=this._sent=A,this.done=!1,this.delegate=null,this.method="next",this.arg=A,this.tryEntries.forEach(O),!M)for(var U in this)U.charAt(0)==="t"&&C.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=A)},stop:function(){this.done=!0;var M=this.tryEntries[0],U=M.completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(M){if(this.done)throw M;var U=this;function F(J,ie){return V.type="throw",V.arg=M,U.next=J,ie&&(U.method="next",U.arg=A),!!ie}for(var j=this.tryEntries.length-1;j>=0;--j){var W=this.tryEntries[j],V=W.completion;if(W.tryLoc==="root")return F("end");if(W.tryLoc<=this.prev){var z=C.call(W,"catchLoc"),Y=C.call(W,"finallyLoc");if(z&&Y){if(this.prev<W.catchLoc)return F(W.catchLoc,!0);if(this.prev<W.finallyLoc)return F(W.finallyLoc)}else if(z){if(this.prev<W.catchLoc)return F(W.catchLoc,!0)}else if(Y){if(this.prev<W.finallyLoc)return F(W.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(M,U){for(var F=this.tryEntries.length-1;F>=0;--F){var j=this.tryEntries[F];if(j.tryLoc<=this.prev&&C.call(j,"finallyLoc")&&this.prev<j.finallyLoc){var W=j;break}}W&&(M==="break"||M==="continue")&&W.tryLoc<=U&&U<=W.finallyLoc&&(W=null);var V=W?W.completion:{};return V.type=M,V.arg=U,W?(this.method="next",this.next=W.finallyLoc,l):this.complete(V)},complete:function(M,U){if(M.type==="throw")throw M.arg;return M.type==="break"||M.type==="continue"?this.next=M.arg:M.type==="return"?(this.rval=this.arg=M.arg,this.method="return",this.next="end"):M.type==="normal"&&U&&(this.next=U),l},finish:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var F=this.tryEntries[U];if(F.finallyLoc===M)return this.complete(F.completion,F.afterLoc),O(F),l}},catch:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var F=this.tryEntries[U];if(F.tryLoc===M){var j=F.completion;if(j.type==="throw"){var W=j.arg;O(F)}return W}}throw new Error("illegal catch attempt")},delegateYield:function(M,U,F){return this.delegate={iterator:R(M),resultName:U,nextLoc:F},this.method==="next"&&(this.arg=A),l}}}(function(){return this}()||Function("return this")())},{}],228:[function(H,k,d){var _=H("buffer"),x=_.Buffer;function C(b,m){for(var p in b)m[p]=b[p]}x.from&&x.alloc&&x.allocUnsafe&&x.allocUnsafeSlow?k.exports=_:(C(_,d),d.Buffer=A);function A(b,m,p){return x(b,m,p)}C(x,A),A.from=function(b,m,p){if(typeof b=="number")throw new TypeError("Argument must not be a number");return x(b,m,p)},A.alloc=function(b,m,p){if(typeof b!="number")throw new TypeError("Argument must be a number");var c=x(b);return m!==void 0?typeof p=="string"?c.fill(m,p):c.fill(m):c.fill(0),c},A.allocUnsafe=function(b){if(typeof b!="number")throw new TypeError("Argument must be a number");return x(b)},A.allocUnsafeSlow=function(b){if(typeof b!="number")throw new TypeError("Argument must be a number");return _.SlowBuffer(b)}},{buffer:73}],229:[function(H,k,d){(function(_){"use strict";var x=H("babel-runtime/core-js/string/from-code-point"),C=s(x),A=H("babel-runtime/core-js/json/stringify"),b=s(A),m=H("babel-runtime/helpers/typeof"),p=s(m),c=H("babel-runtime/core-js/object/define-property"),o=s(c),r=H("babel-runtime/core-js/object/keys"),i=s(r),n=H("babel-runtime/core-js/object/create"),t=s(n);function s(e){return e&&e.__esModule?e:{default:e}}(function(e){e.parser=function(G,Q){return new l(G,Q)},e.SAXParser=l,e.SAXStream=E,e.createStream=y,e.MAX_BUFFER_LENGTH=64*1024;var a=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function l(G,Q){if(!(this instanceof l))return new l(G,Q);var ve=this;h(ve),ve.q=ve.c="",ve.bufferCheckPosition=e.MAX_BUFFER_LENGTH,ve.opt=Q||{},ve.opt.lowercase=ve.opt.lowercase||ve.opt.lowercasetags,ve.looseCase=ve.opt.lowercase?"toLowerCase":"toUpperCase",ve.tags=[],ve.closed=ve.closedRoot=ve.sawRoot=!1,ve.tag=ve.error=null,ve.strict=!!G,ve.noscript=!!(G||ve.opt.noscript),ve.state=W.BEGIN,ve.strictEntities=ve.opt.strictEntities,ve.ENTITIES=ve.strictEntities?(0,t.default)(e.XML_ENTITIES):(0,t.default)(e.ENTITIES),ve.attribList=[],ve.opt.xmlns&&(ve.ns=(0,t.default)(L)),ve.trackPosition=ve.opt.position!==!1,ve.trackPosition&&(ve.position=ve.line=ve.column=0),z(ve,"onready")}t.default||(Object.create=function(G){function Q(){}Q.prototype=G;var ve=new Q;return ve}),i.default||(Object.keys=function(G){var Q=[];for(var ve in G)G.hasOwnProperty(ve)&&Q.push(ve);return Q});function u(G){for(var Q=Math.max(e.MAX_BUFFER_LENGTH,10),ve=0,de=0,Ce=a.length;de<Ce;de++){var we=G[a[de]].length;if(we>Q)switch(a[de]){case"textNode":J(G);break;case"cdata":Y(G,"oncdata",G.cdata),G.cdata="";break;case"script":Y(G,"onscript",G.script),G.script="";break;default:Z(G,"Max buffer length exceeded: "+a[de])}ve=Math.max(ve,we)}var le=e.MAX_BUFFER_LENGTH-ve;G.bufferCheckPosition=le+G.position}function h(G){for(var Q=0,ve=a.length;Q<ve;Q++)G[a[Q]]=""}function f(G){J(G),G.cdata!==""&&(Y(G,"oncdata",G.cdata),G.cdata=""),G.script!==""&&(Y(G,"onscript",G.script),G.script="")}l.prototype={end:function(){oe(this)},write:X,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){f(this)}};var g;try{g=H("stream").Stream}catch(G){g=function(){}}var v=e.EVENTS.filter(function(G){return G!=="error"&&G!=="end"});function y(G,Q){return new E(G,Q)}function E(G,Q){if(!(this instanceof E))return new E(G,Q);g.apply(this),this._parser=new l(G,Q),this.writable=!0,this.readable=!0;var ve=this;this._parser.onend=function(){ve.emit("end")},this._parser.onerror=function(de){ve.emit("error",de),ve._parser.error=null},this._decoder=null,v.forEach(function(de){(0,o.default)(ve,"on"+de,{get:function(){return ve._parser["on"+de]},set:function(we){if(!we)return ve.removeAllListeners(de),ve._parser["on"+de]=we,we;ve.on(de,we)},enumerable:!0,configurable:!1})})}E.prototype=(0,t.default)(g.prototype,{constructor:{value:E}}),E.prototype.write=function(G){if(typeof _=="function"&&typeof _.isBuffer=="function"&&_.isBuffer(G)){if(!this._decoder){var Q=H("string_decoder").StringDecoder;this._decoder=new Q("utf8")}G=this._decoder.write(G)}return this._parser.write(G.toString()),this.emit("data",G),!0},E.prototype.end=function(G){return G&&G.length&&this.write(G),this._parser.end(),!0},E.prototype.on=function(G,Q){var ve=this;return!ve._parser["on"+G]&&v.indexOf(G)!==-1&&(ve._parser["on"+G]=function(){var de=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);de.splice(0,0,G),ve.emit.apply(ve,de)}),g.prototype.on.call(ve,G,Q)};var T="[CDATA[",w="DOCTYPE",S="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",L={xml:S,xmlns:I},O=/[:_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]/,N=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,R=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,D=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function B(G){return G===" "||G===`
`||G==="\r"||G===" "}function M(G){return G==='"'||G==="'"}function U(G){return G===">"||B(G)}function F(G,Q){return G.test(Q)}function j(G,Q){return!F(G,Q)}var W=0;e.STATE={BEGIN:W++,BEGIN_WHITESPACE:W++,TEXT:W++,TEXT_ENTITY:W++,OPEN_WAKA:W++,SGML_DECL:W++,SGML_DECL_QUOTED:W++,DOCTYPE:W++,DOCTYPE_QUOTED:W++,DOCTYPE_DTD:W++,DOCTYPE_DTD_QUOTED:W++,COMMENT_STARTING:W++,COMMENT:W++,COMMENT_ENDING:W++,COMMENT_ENDED:W++,CDATA:W++,CDATA_ENDING:W++,CDATA_ENDING_2:W++,PROC_INST:W++,PROC_INST_BODY:W++,PROC_INST_ENDING:W++,OPEN_TAG:W++,OPEN_TAG_SLASH:W++,ATTRIB:W++,ATTRIB_NAME:W++,ATTRIB_NAME_SAW_WHITE:W++,ATTRIB_VALUE:W++,ATTRIB_VALUE_QUOTED:W++,ATTRIB_VALUE_CLOSED:W++,ATTRIB_VALUE_UNQUOTED:W++,ATTRIB_VALUE_ENTITY_Q:W++,ATTRIB_VALUE_ENTITY_U:W++,CLOSE_TAG:W++,CLOSE_TAG_SAW_WHITE:W++,SCRIPT:W++,SCRIPT_ENDING:W++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.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,i.default)(e.ENTITIES).forEach(function(G){var Q=e.ENTITIES[G],ve=typeof Q=="number"?String.fromCharCode(Q):Q;e.ENTITIES[G]=ve});for(var V in e.STATE)e.STATE[e.STATE[V]]=V;W=e.STATE;function z(G,Q,ve){G[Q]&&G[Q](ve)}function Y(G,Q,ve){G.textNode&&J(G),z(G,Q,ve)}function J(G){G.textNode=ie(G.opt,G.textNode),G.textNode&&z(G,"ontext",G.textNode),G.textNode=""}function ie(G,Q){return G.trim&&(Q=Q.trim()),G.normalize&&(Q=Q.replace(/\s+/g," ")),Q}function Z(G,Q){return J(G),G.trackPosition&&(Q+=`
Line: `+G.line+`
Column: `+G.column+`
Char: `+G.c),Q=new Error(Q),G.error=Q,z(G,"onerror",Q),G}function oe(G){return G.sawRoot&&!G.closedRoot&&ge(G,"Unclosed root tag"),G.state!==W.BEGIN&&G.state!==W.BEGIN_WHITESPACE&&G.state!==W.TEXT&&Z(G,"Unexpected end"),J(G),G.c="",G.closed=!0,z(G,"onend"),l.call(G,G.strict,G.opt),G}function ge(G,Q){if((typeof G=="undefined"?"undefined":(0,p.default)(G))!=="object"||!(G instanceof l))throw new Error("bad call to strictFail");G.strict&&Z(G,Q)}function pe(G){G.strict||(G.tagName=G.tagName[G.looseCase]());var Q=G.tags[G.tags.length-1]||G,ve=G.tag={name:G.tagName,attributes:{}};G.opt.xmlns&&(ve.ns=Q.ns),G.attribList.length=0,Y(G,"onopentagstart",ve)}function De(G,Q){var ve=G.indexOf(":"),de=ve<0?["",G]:G.split(":"),Ce=de[0],we=de[1];return Q&&G==="xmlns"&&(Ce="xmlns",we=""),{prefix:Ce,local:we}}function ce(G){if(G.strict||(G.attribName=G.attribName[G.looseCase]()),G.attribList.indexOf(G.attribName)!==-1||G.tag.attributes.hasOwnProperty(G.attribName)){G.attribName=G.attribValue="";return}if(G.opt.xmlns){var Q=De(G.attribName,!0),ve=Q.prefix,de=Q.local;if(ve==="xmlns")if(de==="xml"&&G.attribValue!==S)ge(G,"xml: prefix must be bound to "+S+`
Actual: `+G.attribValue);else if(de==="xmlns"&&G.attribValue!==I)ge(G,"xmlns: prefix must be bound to "+I+`
Actual: `+G.attribValue);else{var Ce=G.tag,we=G.tags[G.tags.length-1]||G;Ce.ns===we.ns&&(Ce.ns=(0,t.default)(we.ns)),Ce.ns[de]=G.attribValue}G.attribList.push([G.attribName,G.attribValue])}else G.tag.attributes[G.attribName]=G.attribValue,Y(G,"onattribute",{name:G.attribName,value:G.attribValue});G.attribName=G.attribValue=""}function Oe(G,Q){if(G.opt.xmlns){var ve=G.tag,de=De(G.tagName);ve.prefix=de.prefix,ve.local=de.local,ve.uri=ve.ns[de.prefix]||"",ve.prefix&&!ve.uri&&(ge(G,"Unbound namespace prefix: "+(0,b.default)(G.tagName)),ve.uri=de.prefix);var Ce=G.tags[G.tags.length-1]||G;ve.ns&&Ce.ns!==ve.ns&&(0,i.default)(ve.ns).forEach(function(gt){Y(G,"onopennamespace",{prefix:gt,uri:ve.ns[gt]})});for(var we=0,le=G.attribList.length;we<le;we++){var fe=G.attribList[we],xe=fe[0],We=fe[1],nt=De(xe,!0),$e=nt.prefix,Le=nt.local,pt=$e===""?"":ve.ns[$e]||"",Qe={name:xe,value:We,prefix:$e,local:Le,uri:pt};$e&&$e!=="xmlns"&&!pt&&(ge(G,"Unbound namespace prefix: "+(0,b.default)($e)),Qe.uri=$e),G.tag.attributes[xe]=Qe,Y(G,"onattribute",Qe)}G.attribList.length=0}G.tag.isSelfClosing=!!Q,G.sawRoot=!0,G.tags.push(G.tag),Y(G,"onopentag",G.tag),Q||(!G.noscript&&G.tagName.toLowerCase()==="script"?G.state=W.SCRIPT:G.state=W.TEXT,G.tag=null,G.tagName=""),G.attribName=G.attribValue="",G.attribList.length=0}function se(G){if(!G.tagName){ge(G,"Weird empty close tag."),G.textNode+="</>",G.state=W.TEXT;return}if(G.script){if(G.tagName!=="script"){G.script+="</"+G.tagName+">",G.tagName="",G.state=W.SCRIPT;return}Y(G,"onscript",G.script),G.script=""}var Q=G.tags.length,ve=G.tagName;G.strict||(ve=ve[G.looseCase]());for(var de=ve;Q--;){var Ce=G.tags[Q];if(Ce.name!==de)ge(G,"Unexpected close tag");else break}if(Q<0){ge(G,"Unmatched closing tag: "+G.tagName),G.textNode+="</"+G.tagName+">",G.state=W.TEXT;return}G.tagName=ve;for(var we=G.tags.length;we-- >Q;){var le=G.tag=G.tags.pop();G.tagName=G.tag.name,Y(G,"onclosetag",G.tagName);var fe={};for(var xe in le.ns)fe[xe]=le.ns[xe];var We=G.tags[G.tags.length-1]||G;G.opt.xmlns&&le.ns!==We.ns&&(0,i.default)(le.ns).forEach(function(nt){var $e=le.ns[nt];Y(G,"onclosenamespace",{prefix:nt,uri:$e})})}Q===0&&(G.closedRoot=!0),G.tagName=G.attribValue=G.attribName="",G.attribList.length=0,G.state=W.TEXT}function $(G){var Q=G.entity,ve=Q.toLowerCase(),de,Ce="";return G.ENTITIES[Q]?G.ENTITIES[Q]:G.ENTITIES[ve]?G.ENTITIES[ve]:(Q=ve,Q.charAt(0)==="#"&&(Q.charAt(1)==="x"?(Q=Q.slice(2),de=parseInt(Q,16),Ce=de.toString(16)):(Q=Q.slice(1),de=parseInt(Q,10),Ce=de.toString(10))),Q=Q.replace(/^0+/,""),isNaN(de)||Ce.toLowerCase()!==Q?(ge(G,"Invalid character entity"),"&"+G.entity+";"):(0,C.default)(de))}function ze(G,Q){Q==="<"?(G.state=W.OPEN_WAKA,G.startTagPosition=G.position):B(Q)||(ge(G,"Non-whitespace before first tag."),G.textNode=Q,G.state=W.TEXT)}function re(G,Q){var ve="";return Q<G.length&&(ve=G.charAt(Q)),ve}function X(G){var Q=this;if(this.error)throw this.error;if(Q.closed)return Z(Q,"Cannot write after close. Assign an onready handler.");if(G===null)return oe(Q);(typeof G=="undefined"?"undefined":(0,p.default)(G))==="object"&&(G=G.toString());for(var ve=0,de="";!(de=re(G,ve++),Q.c=de,!de);){Q.trackPosition&&(Q.position++,de===`
`?(Q.line++,Q.column=0):Q.column++);switch(Q.state){case W.BEGIN:if(Q.state=W.BEGIN_WHITESPACE,de==="\uFEFF")continue;ze(Q,de);continue;case W.BEGIN_WHITESPACE:ze(Q,de);continue;case W.TEXT:if(Q.sawRoot&&!Q.closedRoot){for(var Ce=ve-1;de&&de!=="<"&&de!=="&";)de=re(G,ve++),de&&Q.trackPosition&&(Q.position++,de===`
`?(Q.line++,Q.column=0):Q.column++);Q.textNode+=G.substring(Ce,ve-1)}de==="<"&&!(Q.sawRoot&&Q.closedRoot&&!Q.strict)?(Q.state=W.OPEN_WAKA,Q.startTagPosition=Q.position):(!B(de)&&(!Q.sawRoot||Q.closedRoot)&&ge(Q,"Text data outside of root node."),de==="&"?Q.state=W.TEXT_ENTITY:Q.textNode+=de);continue;case W.SCRIPT:de==="<"?Q.state=W.SCRIPT_ENDING:Q.script+=de;continue;case W.SCRIPT_ENDING:de==="/"?Q.state=W.CLOSE_TAG:(Q.script+="<"+de,Q.state=W.SCRIPT);continue;case W.OPEN_WAKA:if(de==="!")Q.state=W.SGML_DECL,Q.sgmlDecl="";else if(!B(de))if(F(O,de))Q.state=W.OPEN_TAG,Q.tagName=de;else if(de==="/")Q.state=W.CLOSE_TAG,Q.tagName="";else if(de==="?")Q.state=W.PROC_INST,Q.procInstName=Q.procInstBody="";else{if(ge(Q,"Unencoded <"),Q.startTagPosition+1<Q.position){var we=Q.position-Q.startTagPosition;de=new Array(we).join(" ")+de}Q.textNode+="<"+de,Q.state=W.TEXT}continue;case W.SGML_DECL:(Q.sgmlDecl+de).toUpperCase()===T?(Y(Q,"onopencdata"),Q.state=W.CDATA,Q.sgmlDecl="",Q.cdata=""):Q.sgmlDecl+de==="--"?(Q.state=W.COMMENT,Q.comment="",Q.sgmlDecl=""):(Q.sgmlDecl+de).toUpperCase()===w?(Q.state=W.DOCTYPE,(Q.doctype||Q.sawRoot)&&ge(Q,"Inappropriately located doctype declaration"),Q.doctype="",Q.sgmlDecl=""):de===">"?(Y(Q,"onsgmldeclaration",Q.sgmlDecl),Q.sgmlDecl="",Q.state=W.TEXT):(M(de)&&(Q.state=W.SGML_DECL_QUOTED),Q.sgmlDecl+=de);continue;case W.SGML_DECL_QUOTED:de===Q.q&&(Q.state=W.SGML_DECL,Q.q=""),Q.sgmlDecl+=de;continue;case W.DOCTYPE:de===">"?(Q.state=W.TEXT,Y(Q,"ondoctype",Q.doctype),Q.doctype=!0):(Q.doctype+=de,de==="["?Q.state=W.DOCTYPE_DTD:M(de)&&(Q.state=W.DOCTYPE_QUOTED,Q.q=de));continue;case W.DOCTYPE_QUOTED:Q.doctype+=de,de===Q.q&&(Q.q="",Q.state=W.DOCTYPE);continue;case W.DOCTYPE_DTD:Q.doctype+=de,de==="]"?Q.state=W.DOCTYPE:M(de)&&(Q.state=W.DOCTYPE_DTD_QUOTED,Q.q=de);continue;case W.DOCTYPE_DTD_QUOTED:Q.doctype+=de,de===Q.q&&(Q.state=W.DOCTYPE_DTD,Q.q="");continue;case W.COMMENT:de==="-"?Q.state=W.COMMENT_ENDING:Q.comment+=de;continue;case W.COMMENT_ENDING:de==="-"?(Q.state=W.COMMENT_ENDED,Q.comment=ie(Q.opt,Q.comment),Q.comment&&Y(Q,"oncomment",Q.comment),Q.comment=""):(Q.comment+="-"+de,Q.state=W.COMMENT);continue;case W.COMMENT_ENDED:de!==">"?(ge(Q,"Malformed comment"),Q.comment+="--"+de,Q.state=W.COMMENT):Q.state=W.TEXT;continue;case W.CDATA:de==="]"?Q.state=W.CDATA_ENDING:Q.cdata+=de;continue;case W.CDATA_ENDING:de==="]"?Q.state=W.CDATA_ENDING_2:(Q.cdata+="]"+de,Q.state=W.CDATA);continue;case W.CDATA_ENDING_2:de===">"?(Q.cdata&&Y(Q,"oncdata",Q.cdata),Y(Q,"onclosecdata"),Q.cdata="",Q.state=W.TEXT):de==="]"?Q.cdata+="]":(Q.cdata+="]]"+de,Q.state=W.CDATA);continue;case W.PROC_INST:de==="?"?Q.state=W.PROC_INST_ENDING:B(de)?Q.state=W.PROC_INST_BODY:Q.procInstName+=de;continue;case W.PROC_INST_BODY:if(!Q.procInstBody&&B(de))continue;de==="?"?Q.state=W.PROC_INST_ENDING:Q.procInstBody+=de;continue;case W.PROC_INST_ENDING:de===">"?(Y(Q,"onprocessinginstruction",{name:Q.procInstName,body:Q.procInstBody}),Q.procInstName=Q.procInstBody="",Q.state=W.TEXT):(Q.procInstBody+="?"+de,Q.state=W.PROC_INST_BODY);continue;case W.OPEN_TAG:F(N,de)?Q.tagName+=de:(pe(Q),de===">"?Oe(Q):de==="/"?Q.state=W.OPEN_TAG_SLASH:(B(de)||ge(Q,"Invalid character in tag name"),Q.state=W.ATTRIB));continue;case W.OPEN_TAG_SLASH:de===">"?(Oe(Q,!0),se(Q)):(ge(Q,"Forward-slash in opening tag not followed by >"),Q.state=W.ATTRIB);continue;case W.ATTRIB:if(B(de))continue;de===">"?Oe(Q):de==="/"?Q.state=W.OPEN_TAG_SLASH:F(O,de)?(Q.attribName=de,Q.attribValue="",Q.state=W.ATTRIB_NAME):ge(Q,"Invalid attribute name");continue;case W.ATTRIB_NAME:de==="="?Q.state=W.ATTRIB_VALUE:de===">"?(ge(Q,"Attribute without value"),Q.attribValue=Q.attribName,ce(Q),Oe(Q)):B(de)?Q.state=W.ATTRIB_NAME_SAW_WHITE:F(N,de)?Q.attribName+=de:ge(Q,"Invalid attribute name");continue;case W.ATTRIB_NAME_SAW_WHITE:if(de==="=")Q.state=W.ATTRIB_VALUE;else{if(B(de))continue;ge(Q,"Attribute without value"),Q.tag.attributes[Q.attribName]="",Q.attribValue="",Y(Q,"onattribute",{name:Q.attribName,value:""}),Q.attribName="",de===">"?Oe(Q):F(O,de)?(Q.attribName=de,Q.state=W.ATTRIB_NAME):(ge(Q,"Invalid attribute name"),Q.state=W.ATTRIB)}continue;case W.ATTRIB_VALUE:if(B(de))continue;M(de)?(Q.q=de,Q.state=W.ATTRIB_VALUE_QUOTED):(ge(Q,"Unquoted attribute value"),Q.state=W.ATTRIB_VALUE_UNQUOTED,Q.attribValue=de);continue;case W.ATTRIB_VALUE_QUOTED:if(de!==Q.q){de==="&"?Q.state=W.ATTRIB_VALUE_ENTITY_Q:Q.attribValue+=de;continue}ce(Q),Q.q="",Q.state=W.ATTRIB_VALUE_CLOSED;continue;case W.ATTRIB_VALUE_CLOSED:B(de)?Q.state=W.ATTRIB:de===">"?Oe(Q):de==="/"?Q.state=W.OPEN_TAG_SLASH:F(O,de)?(ge(Q,"No whitespace between attributes"),Q.attribName=de,Q.attribValue="",Q.state=W.ATTRIB_NAME):ge(Q,"Invalid attribute name");continue;case W.ATTRIB_VALUE_UNQUOTED:if(!U(de)){de==="&"?Q.state=W.ATTRIB_VALUE_ENTITY_U:Q.attribValue+=de;continue}ce(Q),de===">"?Oe(Q):Q.state=W.ATTRIB;continue;case W.CLOSE_TAG:if(Q.tagName)de===">"?se(Q):F(N,de)?Q.tagName+=de:Q.script?(Q.script+="</"+Q.tagName,Q.tagName="",Q.state=W.SCRIPT):(B(de)||ge(Q,"Invalid tagname in closing tag"),Q.state=W.CLOSE_TAG_SAW_WHITE);else{if(B(de))continue;j(O,de)?Q.script?(Q.script+="</"+de,Q.state=W.SCRIPT):ge(Q,"Invalid tagname in closing tag."):Q.tagName=de}continue;case W.CLOSE_TAG_SAW_WHITE:if(B(de))continue;de===">"?se(Q):ge(Q,"Invalid characters in closing tag");continue;case W.TEXT_ENTITY:case W.ATTRIB_VALUE_ENTITY_Q:case W.ATTRIB_VALUE_ENTITY_U:var le,fe;switch(Q.state){case W.TEXT_ENTITY:le=W.TEXT,fe="textNode";break;case W.ATTRIB_VALUE_ENTITY_Q:le=W.ATTRIB_VALUE_QUOTED,fe="attribValue";break;case W.ATTRIB_VALUE_ENTITY_U:le=W.ATTRIB_VALUE_UNQUOTED,fe="attribValue";break}de===";"?(Q[fe]+=$(Q),Q.entity="",Q.state=le):F(Q.entity.length?D:R,de)?Q.entity+=de:(ge(Q,"Invalid character in entity name"),Q[fe]+="&"+Q.entity+de,Q.entity="",Q.state=le);continue;default:throw new Error(Q,"Unknown state: "+Q.state)}}return Q.position>=Q.bufferCheckPosition&&u(Q),Q}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */C.default||function(){var G=String.fromCharCode,Q=Math.floor,ve=function(){var Ce=16384,we=[],le,fe,xe=-1,We=arguments.length;if(!We)return"";for(var nt="";++xe<We;){var $e=Number(arguments[xe]);if(!isFinite($e)||$e<0||$e>1114111||Q($e)!==$e)throw RangeError("Invalid code point: "+$e);$e<=65535?we.push($e):($e-=65536,le=($e>>10)+55296,fe=$e%1024+56320,we.push(le,fe)),(xe+1===We||we.length>Ce)&&(nt+=G.apply(null,we),we.length=0)}return nt};o.default?Object.defineProperty(String,"fromCodePoint",{value:ve,configurable:!0,writable:!0}):String.fromCodePoint=ve}()})(typeof d=="undefined"?(void 0).sax={}:d)}).call(this,H("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(H,k,d){k.exports=C;var _=H("events").EventEmitter,x=H("inherits");x(C,_),C.Readable=H("readable-stream/readable.js"),C.Writable=H("readable-stream/writable.js"),C.Duplex=H("readable-stream/duplex.js"),C.Transform=H("readable-stream/transform.js"),C.PassThrough=H("readable-stream/passthrough.js"),C.Stream=C;function C(){_.call(this)}C.prototype.pipe=function(A,b){var m=this;function p(s){A.writable&&(A.write(s)===!1&&m.pause&&m.pause())}m.on("data",p);function c(){m.readable&&m.resume&&m.resume()}A.on("drain",c),!A._isStdio&&(!b||b.end!==!1)&&(m.on("end",r),m.on("close",i));var o=!1;function r(){if(o)return;o=!0,A.end()}function i(){if(o)return;o=!0,typeof A.destroy=="function"&&A.destroy()}function n(s){if(t(),_.listenerCount(this,"error")===0)throw s}m.on("error",n),A.on("error",n);function t(){m.removeListener("data",p),A.removeListener("drain",c),m.removeListener("end",r),m.removeListener("close",i),m.removeListener("error",n),A.removeListener("error",n),m.removeListener("end",t),m.removeListener("close",t),A.removeListener("close",t)}return m.on("end",t),m.on("close",t),A.on("close",t),A.emit("pipe",m),A}},{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(H,k,d){(function(_){var x=H("./lib/request"),C=H("./lib/response"),A=H("xtend"),b=H("builtin-status-codes"),m=H("url"),p=d;p.request=function(c,o){typeof c=="string"?c=m.parse(c):c=A(c);var r=_.location.protocol.search(/^https?:$/)===-1?"http:":"",i=c.protocol||r,n=c.hostname||c.host,t=c.port,s=c.path||"/";n&&n.indexOf(":")!==-1&&(n="["+n+"]"),c.url=(n?i+"//"+n:"")+(t?":"+t:"")+s,c.method=(c.method||"GET").toUpperCase(),c.headers=c.headers||{};var e=new x(c);return o&&e.on("response",o),e},p.get=function(o,r){var i=p.request(o,r);return i.end(),i},p.ClientRequest=x,p.IncomingMessage=C.IncomingMessage,p.Agent=function(){},p.Agent.defaultMaxSockets=4,p.globalAgent=new p.Agent,p.STATUS_CODES=b,p.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(H,k,d){(function(_){"use strict";d.fetch=p(_.fetch)&&p(_.ReadableStream),d.writableStream=p(_.WritableStream),d.abortController=p(_.AbortController),d.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),d.blobConstructor=!0}catch(c){}var x;function C(){if(x!==void 0)return x;if(_.XMLHttpRequest){x=new _.XMLHttpRequest;try{x.open("GET",_.XDomainRequest?"/":"https://example.com")}catch(c){x=null}}else x=null;return x}function A(c){var o=C();if(!o)return!1;try{return o.responseType=c,o.responseType===c}catch(r){}return!1}var b=typeof _.ArrayBuffer!="undefined",m=b&&p(_.ArrayBuffer.prototype.slice);d.arraybuffer=d.fetch||b&&A("arraybuffer"),d.msstream=!d.fetch&&m&&A("ms-stream"),d.mozchunkedarraybuffer=!d.fetch&&b&&A("moz-chunked-arraybuffer"),d.overrideMimeType=d.fetch||(C()?p(C().overrideMimeType):!1),d.vbArray=p(_.VBArray);function p(c){return typeof c=="function"}x=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(H,k,d){(function(_,x,C){"use strict";var A=H("babel-runtime/core-js/object/keys"),b=m(A);function m(u){return u&&u.__esModule?u:{default:u}}var p=H("./capability"),c=H("inherits"),o=H("./response"),r=H("readable-stream"),i=H("to-arraybuffer"),n=o.IncomingMessage,t=o.readyStates;function s(u,h){return p.fetch&&h?"fetch":p.mozchunkedarraybuffer?"moz-chunked-arraybuffer":p.msstream?"ms-stream":p.arraybuffer&&u?"arraybuffer":p.vbArray&&u?"text:vbarray":"text"}var e=k.exports=function(u){var h=this;r.Writable.call(h),h._opts=u,h._body=[],h._headers={},u.auth&&h.setHeader("Authorization","Basic "+new C(u.auth).toString("base64")),(0,b.default)(u.headers).forEach(function(v){h.setHeader(v,u.headers[v])});var f,g=!0;if(u.mode==="disable-fetch"||"requestTimeout"in u&&!p.abortController)g=!1,f=!0;else if(u.mode==="prefer-streaming")f=!1;else if(u.mode==="allow-wrong-content-type")f=!p.overrideMimeType;else if(!u.mode||u.mode==="default"||u.mode==="prefer-fast")f=!0;else throw new Error("Invalid value for opts.mode");h._mode=s(f,g),h._fetchTimer=null,h.on("finish",function(){h._onFinish()})};c(e,r.Writable),e.prototype.setHeader=function(u,h){var f=this,g=u.toLowerCase();if(l.indexOf(g)!==-1)return;f._headers[g]={name:u,value:h}},e.prototype.getHeader=function(u){var h=this._headers[u.toLowerCase()];return h?h.value:null},e.prototype.removeHeader=function(u){var h=this;delete h._headers[u.toLowerCase()]},e.prototype._onFinish=function(){var u=this;if(u._destroyed)return;var h=u._opts,f=u._headers,g=null;h.method!=="GET"&&h.method!=="HEAD"&&(p.arraybuffer?g=i(C.concat(u._body)):p.blobConstructor?g=new x.Blob(u._body.map(function(S){return i(S)}),{type:(f["content-type"]||{}).value||""}):g=C.concat(u._body).toString());var v=[];if((0,b.default)(f).forEach(function(S){var I=f[S].name,L=f[S].value;Array.isArray(L)?L.forEach(function(O){v.push([I,O])}):v.push([I,L])}),u._mode==="fetch"){var y=null,E=null;if(p.abortController){var T=new AbortController;y=T.signal,u._fetchAbortController=T,"requestTimeout"in h&&h.requestTimeout!==0&&(u._fetchTimer=x.setTimeout(function(){u.emit("requestTimeout"),u._fetchAbortController&&u._fetchAbortController.abort()},h.requestTimeout))}x.fetch(u._opts.url,{method:u._opts.method,headers:v,body:g||void 0,mode:"cors",credentials:h.withCredentials?"include":"same-origin",signal:y}).then(function(S){u._fetchResponse=S,u._connect()},function(S){x.clearTimeout(u._fetchTimer),u._destroyed||u.emit("error",S)})}else{var w=u._xhr=new x.XMLHttpRequest;try{w.open(u._opts.method,u._opts.url,!0)}catch(S){_.nextTick(function(){u.emit("error",S)});return}"responseType"in w&&(w.responseType=u._mode.split(":")[0]),"withCredentials"in w&&(w.withCredentials=!!h.withCredentials),u._mode==="text"&&"overrideMimeType"in w&&w.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in h&&(w.timeout=h.requestTimeout,w.ontimeout=function(){u.emit("requestTimeout")}),v.forEach(function(S){w.setRequestHeader(S[0],S[1])}),u._response=null,w.onreadystatechange=function(){switch(w.readyState){case t.LOADING:case t.DONE:u._onXHRProgress();break}},u._mode==="moz-chunked-arraybuffer"&&(w.onprogress=function(){u._onXHRProgress()}),w.onerror=function(){if(u._destroyed)return;u.emit("error",new Error("XHR error"))};try{w.send(g)}catch(S){_.nextTick(function(){u.emit("error",S)});return}}};function a(u){try{var h=u.status;return h!==null&&h!==0}catch(f){return!1}}e.prototype._onXHRProgress=function(){var u=this;if(!a(u._xhr)||u._destroyed)return;u._response||u._connect(),u._response._onXHRProgress()},e.prototype._connect=function(){var u=this;if(u._destroyed)return;u._response=new n(u._xhr,u._fetchResponse,u._mode,u._fetchTimer),u._response.on("error",function(h){u.emit("error",h)}),u.emit("response",u._response)},e.prototype._write=function(u,h,f){var g=this;g._body.push(u),f()},e.prototype.abort=e.prototype.destroy=function(){var u=this;u._destroyed=!0,x.clearTimeout(u._fetchTimer),u._response&&(u._response._destroyed=!0),u._xhr?u._xhr.abort():u._fetchAbortController&&u._fetchAbortController.abort()},e.prototype.end=function(u,h,f){var g=this;typeof u=="function"&&(f=u,u=void 0),r.Writable.prototype.end.call(g,u,h,f)},e.prototype.flushHeaders=function(){},e.prototype.setTimeout=function(){},e.prototype.setNoDelay=function(){},e.prototype.setSocketKeepAlive=function(){};var l=["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,H("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},H("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(H,k,d){(function(_,x,C){"use strict";var A=H("babel-runtime/core-js/promise"),b=m(A);function m(n){return n&&n.__esModule?n:{default:n}}var p=H("./capability"),c=H("inherits"),o=H("readable-stream"),r=d.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},i=d.IncomingMessage=function(n,t,s,e){var a=this;if(o.Readable.call(a),a._mode=s,a.headers={},a.rawHeaders=[],a.trailers={},a.rawTrailers=[],a.on("end",function(){_.nextTick(function(){a.emit("close")})}),s==="fetch"){var l=function y(){h.read().then(function(E){if(a._destroyed)return;if(E.done){x.clearTimeout(e),a.push(null);return}a.push(new C(E.value)),y()}).catch(function(E){x.clearTimeout(e),a._destroyed||a.emit("error",E)})};if(a._fetchResponse=t,a.url=t.url,a.statusCode=t.status,a.statusMessage=t.statusText,t.headers.forEach(function(y,E){a.headers[E.toLowerCase()]=y,a.rawHeaders.push(E,y)}),p.writableStream){var u=new WritableStream({write:function(E){return new b.default(function(T,w){a._destroyed?w():a.push(new C(E))?T():a._resumeFetch=T})},close:function(){x.clearTimeout(e),a._destroyed||a.push(null)},abort:function(E){a._destroyed||a.emit("error",E)}});try{t.body.pipeTo(u).catch(function(y){x.clearTimeout(e),a._destroyed||a.emit("error",y)});return}catch(y){}}var h=t.body.getReader();l()}else{a._xhr=n,a._pos=0,a.url=n.responseURL,a.statusCode=n.status,a.statusMessage=n.statusText;var f=n.getAllResponseHeaders().split(/\r?\n/);if(f.forEach(function(y){var E=y.match(/^([^:]+):\s*(.*)/);if(E){var T=E[1].toLowerCase();T==="set-cookie"?(a.headers[T]===void 0&&(a.headers[T]=[]),a.headers[T].push(E[2])):a.headers[T]!==void 0?a.headers[T]+=", "+E[2]:a.headers[T]=E[2],a.rawHeaders.push(E[1],E[2])}}),a._charset="x-user-defined",!p.overrideMimeType){var g=a.rawHeaders["mime-type"];if(g){var v=g.match(/;\s*charset=([^;])(;|$)/);v&&(a._charset=v[1].toLowerCase())}a._charset||(a._charset="utf-8")}}};c(i,o.Readable),i.prototype._read=function(){var n=this,t=n._resumeFetch;t&&(n._resumeFetch=null,t())},i.prototype._onXHRProgress=function(){var n=this,t=n._xhr,s=null;switch(n._mode){case"text:vbarray":if(t.readyState!==r.DONE)break;try{s=new x.VBArray(t.responseBody).toArray()}catch(h){}if(s!==null){n.push(new C(s));break}case"text":try{s=t.responseText}catch(h){n._mode="text:vbarray";break}if(s.length>n._pos){var e=s.substr(n._pos);if(n._charset==="x-user-defined"){for(var a=new C(e.length),l=0;l<e.length;l++)a[l]=e.charCodeAt(l)&255;n.push(a)}else n.push(e,n._charset);n._pos=s.length}break;case"arraybuffer":if(t.readyState!==r.DONE||!t.response)break;s=t.response,n.push(new C(new Uint8Array(s)));break;case"moz-chunked-arraybuffer":if(s=t.response,t.readyState!==r.LOADING||!s)break;n.push(new C(new Uint8Array(s)));break;case"ms-stream":if(s=t.response,t.readyState!==r.LOADING)break;var u=new x.MSStreamReader;u.onprogress=function(){u.result.byteLength>n._pos&&(n.push(new C(new Uint8Array(u.result.slice(n._pos)))),n._pos=u.result.byteLength)},u.onload=function(){n.push(null)},u.readAsArrayBuffer(s);break}n._xhr.readyState===r.DONE&&n._mode!=="ms-stream"&&n.push(null)}}).call(this,H("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},H("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(H,k,d){"use strict";var _=H("safe-buffer").Buffer,x=_.isEncoding||function(u){u=""+u;switch(u&&u.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function C(u){if(!u)return"utf8";for(var h;;)switch(u){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 u;default:if(h)return;u=(""+u).toLowerCase(),h=!0}}function A(u){var h=C(u);if(typeof h!="string"&&(_.isEncoding===x||!x(u)))throw new Error("Unknown encoding: "+u);return h||u}d.StringDecoder=b;function b(u){this.encoding=A(u);var h;switch(this.encoding){case"utf16le":this.text=n,this.end=t,h=4;break;case"utf8":this.fillLast=o,h=4;break;case"base64":this.text=s,this.end=e,h=3;break;default:this.write=a,this.end=l;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=_.allocUnsafe(h)}b.prototype.write=function(u){if(u.length===0)return"";var h,f;if(this.lastNeed){if(h=this.fillLast(u),h===void 0)return"";f=this.lastNeed,this.lastNeed=0}else f=0;return f<u.length?h?h+this.text(u,f):this.text(u,f):h||""},b.prototype.end=i,b.prototype.text=r,b.prototype.fillLast=function(u){if(this.lastNeed<=u.length)return u.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);u.copy(this.lastChar,this.lastTotal-this.lastNeed,0,u.length),this.lastNeed-=u.length};function m(u){return u<=127?0:u>>5===6?2:u>>4===14?3:u>>3===30?4:u>>6===2?-1:-2}function p(u,h,f){var g=h.length-1;if(g<f)return 0;var v=m(h[g]);return v>=0?(v>0&&(u.lastNeed=v-1),v):--g<f||v===-2?0:(v=m(h[g]),v>=0?(v>0&&(u.lastNeed=v-2),v):--g<f||v===-2?0:(v=m(h[g]),v>=0?(v>0&&(v===2?v=0:u.lastNeed=v-3),v):0))}function c(u,h,f){if((h[0]&192)!==128)return u.lastNeed=0,"\uFFFD";if(u.lastNeed>1&&h.length>1){if((h[1]&192)!==128)return u.lastNeed=1,"\uFFFD";if(u.lastNeed>2&&h.length>2&&(h[2]&192)!==128)return u.lastNeed=2,"\uFFFD"}}function o(u){var h=this.lastTotal-this.lastNeed,f=c(this,u,h);if(f!==void 0)return f;if(this.lastNeed<=u.length)return u.copy(this.lastChar,h,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);u.copy(this.lastChar,h,0,u.length),this.lastNeed-=u.length}function r(u,h){var f=p(this,u,h);if(!this.lastNeed)return u.toString("utf8",h);this.lastTotal=f;var g=u.length-(f-this.lastNeed);return u.copy(this.lastChar,0,g),u.toString("utf8",h,g)}function i(u){var h=u&&u.length?this.write(u):"";return this.lastNeed?h+"\uFFFD":h}function n(u,h){if((u.length-h)%2===0){var f=u.toString("utf16le",h);if(f){var g=f.charCodeAt(f.length-1);if(g>=55296&&g<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=u[u.length-2],this.lastChar[1]=u[u.length-1],f.slice(0,-1)}return f}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=u[u.length-1],u.toString("utf16le",h,u.length-1)}function t(u){var h=u&&u.length?this.write(u):"";if(this.lastNeed){var f=this.lastTotal-this.lastNeed;return h+this.lastChar.toString("utf16le",0,f)}return h}function s(u,h){var f=(u.length-h)%3;return f===0?u.toString("base64",h):(this.lastNeed=3-f,this.lastTotal=3,f===1?this.lastChar[0]=u[u.length-1]:(this.lastChar[0]=u[u.length-2],this.lastChar[1]=u[u.length-1]),u.toString("base64",h,u.length-f))}function e(u){var h=u&&u.length?this.write(u):"";return this.lastNeed?h+this.lastChar.toString("base64",0,3-this.lastNeed):h}function a(u){return u.toString(this.encoding)}function l(u){return u&&u.length?this.write(u):""}},{"safe-buffer":228}],236:[function(H,k,d){(function(_,x){var C=H("process/browser.js").nextTick,A=Function.prototype.apply,b=Array.prototype.slice,m={},p=0;d.setTimeout=function(){return new c(A.call(setTimeout,window,arguments),clearTimeout)},d.setInterval=function(){return new c(A.call(setInterval,window,arguments),clearInterval)},d.clearTimeout=d.clearInterval=function(o){o.close()};function c(o,r){this._id=o,this._clearFn=r}c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},d.enroll=function(o,r){clearTimeout(o._idleTimeoutId),o._idleTimeout=r},d.unenroll=function(o){clearTimeout(o._idleTimeoutId),o._idleTimeout=-1},d._unrefActive=d.active=function(o){clearTimeout(o._idleTimeoutId);var r=o._idleTimeout;r>=0&&(o._idleTimeoutId=setTimeout(function(){o._onTimeout&&o._onTimeout()},r))},d.setImmediate=typeof _=="function"?_:function(o){var r=p++,i=arguments.length<2?!1:b.call(arguments,1);return m[r]=!0,C(function(){m[r]&&(i?o.apply(null,i):o.call(null),d.clearImmediate(r))}),r},d.clearImmediate=typeof x=="function"?x:function(o){delete m[o]}}).call(this,H("timers").setImmediate,H("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(H,k,d){var _=H("buffer").Buffer;k.exports=function(x){if(x instanceof Uint8Array){if(x.byteOffset===0&&x.byteLength===x.buffer.byteLength)return x.buffer;if(typeof x.buffer.slice=="function")return x.buffer.slice(x.byteOffset,x.byteOffset+x.byteLength)}if(_.isBuffer(x)){for(var C=new Uint8Array(x.length),A=x.length,b=0;b<A;b++)C[b]=x[b];return C.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(H,k,d){"use strict";var _=H("punycode"),x=H("./util");d.parse=h,d.resolve=g,d.resolveObject=v,d.format=f,d.Url=C;function C(){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 A=/^([a-z0-9.+-]+:)/i,b=/:[0-9]*$/,m=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,p=["<",">",'"',"`"," ","\r",`
`," "],c=["{","}","|","\\","^","`"].concat(p),o=["'"].concat(c),r=["%","/","?",";","#"].concat(o),i=["/","?","#"],n=255,t=/^[+a-z0-9A-Z_-]{0,63}$/,s=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,e={javascript:!0,"javascript:":!0},a={javascript:!0,"javascript:":!0},l={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},u=H("querystring");function h(y,E,T){if(y&&x.isObject(y)&&y instanceof C)return y;var w=new C;return w.parse(y,E,T),w}C.prototype.parse=function(y,E,T){if(!x.isString(y))throw new TypeError("Parameter 'url' must be a string, not "+typeof y);var w=y.indexOf("?"),S=w!==-1&&w<y.indexOf("#")?"?":"#",I=y.split(S),L=/\\/g;I[0]=I[0].replace(L,"/"),y=I.join(S);var O=y;if(O=O.trim(),!T&&y.split("#").length===1){var N=m.exec(O);if(N)return this.path=O,this.href=O,this.pathname=N[1],N[2]?(this.search=N[2],E?this.query=u.parse(this.search.substr(1)):this.query=this.search.substr(1)):E&&(this.search="",this.query={}),this}var R=A.exec(O);if(R){R=R[0];var D=R.toLowerCase();this.protocol=D,O=O.substr(R.length)}if(T||R||O.match(/^\/\/[^@\/]+@[^@\/]+/)){var B=O.substr(0,2)==="//";B&&!(R&&a[R])&&(O=O.substr(2),this.slashes=!0)}if(!a[R]&&(B||R&&!l[R])){for(var M=-1,U=0;U<i.length;U++){var F=O.indexOf(i[U]);F!==-1&&(M===-1||F<M)&&(M=F)}var j,W;M===-1?W=O.lastIndexOf("@"):W=O.lastIndexOf("@",M),W!==-1&&(j=O.slice(0,W),O=O.slice(W+1),this.auth=decodeURIComponent(j)),M=-1;for(var U=0;U<r.length;U++){var F=O.indexOf(r[U]);F!==-1&&(M===-1||F<M)&&(M=F)}M===-1&&(M=O.length),this.host=O.slice(0,M),O=O.slice(M),this.parseHost(),this.hostname=this.hostname||"";var V=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!V)for(var z=this.hostname.split(/\./),U=0,Y=z.length;U<Y;U++){var J=z[U];if(!J)continue;if(!J.match(t)){for(var ie="",Z=0,oe=J.length;Z<oe;Z++)J.charCodeAt(Z)>127?ie+="x":ie+=J[Z];if(!ie.match(t)){var ge=z.slice(0,U),pe=z.slice(U+1),De=J.match(s);De&&(ge.push(De[1]),pe.unshift(De[2])),pe.length&&(O="/"+pe.join(".")+O),this.hostname=ge.join(".");break}}}this.hostname.length>n?this.hostname="":this.hostname=this.hostname.toLowerCase(),V||(this.hostname=_.toASCII(this.hostname));var ce=this.port?":"+this.port:"",Oe=this.hostname||"";this.host=Oe+ce,this.href+=this.host,V&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),O[0]!=="/"&&(O="/"+O))}if(!e[D])for(var U=0,Y=o.length;U<Y;U++){var se=o[U];if(O.indexOf(se)===-1)continue;var $=encodeURIComponent(se);$===se&&($=escape(se)),O=O.split(se).join($)}var ze=O.indexOf("#");ze!==-1&&(this.hash=O.substr(ze),O=O.slice(0,ze));var re=O.indexOf("?");if(re!==-1?(this.search=O.substr(re),this.query=O.substr(re+1),E&&(this.query=u.parse(this.query)),O=O.slice(0,re)):E&&(this.search="",this.query={}),O&&(this.pathname=O),l[D]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var ce=this.pathname||"",X=this.search||"";this.path=ce+X}return this.href=this.format(),this};function f(y){return x.isString(y)&&(y=h(y)),y instanceof C?y.format():C.prototype.format.call(y)}C.prototype.format=function(){var y=this.auth||"";y&&(y=encodeURIComponent(y),y=y.replace(/%3A/i,":"),y+="@");var E=this.protocol||"",T=this.pathname||"",w=this.hash||"",S=!1,I="";this.host?S=y+this.host:this.hostname&&(S=y+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(S+=":"+this.port)),this.query&&x.isObject(this.query)&&Object.keys(this.query).length&&(I=u.stringify(this.query));var L=this.search||I&&"?"+I||"";return E&&E.substr(-1)!==":"&&(E+=":"),this.slashes||(!E||l[E])&&S!==!1?(S="//"+(S||""),T&&T.charAt(0)!=="/"&&(T="/"+T)):S||(S=""),w&&w.charAt(0)!=="#"&&(w="#"+w),L&&L.charAt(0)!=="?"&&(L="?"+L),T=T.replace(/[?#]/g,function(O){return encodeURIComponent(O)}),L=L.replace("#","%23"),E+S+T+L+w};function g(y,E){return h(y,!1,!0).resolve(E)}C.prototype.resolve=function(y){return this.resolveObject(h(y,!1,!0)).format()};function v(y,E){return y?h(y,!1,!0).resolveObject(E):E}C.prototype.resolveObject=function(y){if(x.isString(y)){var E=new C;E.parse(y,!1,!0),y=E}for(var T=new C,w=Object.keys(this),S=0;S<w.length;S++){var I=w[S];T[I]=this[I]}if(T.hash=y.hash,y.href==="")return T.href=T.format(),T;if(y.slashes&&!y.protocol){for(var L=Object.keys(y),O=0;O<L.length;O++){var N=L[O];N!=="protocol"&&(T[N]=y[N])}return l[T.protocol]&&T.hostname&&!T.pathname&&(T.path=T.pathname="/"),T.href=T.format(),T}if(y.protocol&&y.protocol!==T.protocol){if(!l[y.protocol]){for(var R=Object.keys(y),D=0;D<R.length;D++){var B=R[D];T[B]=y[B]}return T.href=T.format(),T}if(T.protocol=y.protocol,!y.host&&!a[y.protocol]){for(var Y=(y.pathname||"").split("/");Y.length&&!(y.host=Y.shift()););y.host||(y.host=""),y.hostname||(y.hostname=""),Y[0]!==""&&Y.unshift(""),Y.length<2&&Y.unshift(""),T.pathname=Y.join("/")}else T.pathname=y.pathname;if(T.search=y.search,T.query=y.query,T.host=y.host||"",T.auth=y.auth,T.hostname=y.hostname||y.host,T.port=y.port,T.pathname||T.search){var M=T.pathname||"",U=T.search||"";T.path=M+U}return T.slashes=T.slashes||y.slashes,T.href=T.format(),T}var F=T.pathname&&T.pathname.charAt(0)==="/",j=y.host||y.pathname&&y.pathname.charAt(0)==="/",W=j||F||T.host&&y.pathname,V=W,z=T.pathname&&T.pathname.split("/")||[],Y=y.pathname&&y.pathname.split("/")||[],J=T.protocol&&!l[T.protocol];if(J&&(T.hostname="",T.port=null,T.host&&(z[0]===""?z[0]=T.host:z.unshift(T.host)),T.host="",y.protocol&&(y.hostname=null,y.port=null,y.host&&(Y[0]===""?Y[0]=y.host:Y.unshift(y.host)),y.host=null),W=W&&(Y[0]===""||z[0]==="")),j)T.host=y.host||y.host===""?y.host:T.host,T.hostname=y.hostname||y.hostname===""?y.hostname:T.hostname,T.search=y.search,T.query=y.query,z=Y;else if(Y.length)z||(z=[]),z.pop(),z=z.concat(Y),T.search=y.search,T.query=y.query;else if(!x.isNullOrUndefined(y.search)){if(J){T.hostname=T.host=z.shift();var ie=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;ie&&(T.auth=ie.shift(),T.host=T.hostname=ie.shift())}return T.search=y.search,T.query=y.query,(!x.isNull(T.pathname)||!x.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.href=T.format(),T}if(!z.length)return T.pathname=null,T.search?T.path="/"+T.search:T.path=null,T.href=T.format(),T;for(var Z=z.slice(-1)[0],oe=(T.host||y.host||z.length>1)&&(Z==="."||Z==="..")||Z==="",ge=0,pe=z.length;pe>=0;pe--)Z=z[pe],Z==="."?z.splice(pe,1):Z===".."?(z.splice(pe,1),ge++):ge&&(z.splice(pe,1),ge--);if(!W&&!V)for(;ge--;ge)z.unshift("..");W&&z[0]!==""&&(!z[0]||z[0].charAt(0)!=="/")&&z.unshift(""),oe&&z.join("/").substr(-1)!=="/"&&z.push("");var De=z[0]===""||z[0]&&z[0].charAt(0)==="/";if(J){T.hostname=T.host=De?"":z.length?z.shift():"";var ie=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;ie&&(T.auth=ie.shift(),T.host=T.hostname=ie.shift())}return W=W||T.host&&z.length,W&&!De&&z.unshift(""),z.length?T.pathname=z.join("/"):(T.pathname=null,T.path=null),(!x.isNull(T.pathname)||!x.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.auth=y.auth||T.auth,T.slashes=T.slashes||y.slashes,T.href=T.format(),T},C.prototype.parseHost=function(){var y=this.host,E=b.exec(y);E&&(E=E[0],E!==":"&&(this.port=E.substr(1)),y=y.substr(0,y.length-E.length)),y&&(this.hostname=y)}},{"./util":239,punycode:209,querystring:212}],239:[function(H,k,d){"use strict";k.exports={isString:function(x){return typeof x=="string"},isObject:function(x){return typeof x=="object"&&x!==null},isNull:function(x){return x===null},isNullOrUndefined:function(x){return x==null}}},{}],240:[function(H,k,d){(function(_){k.exports=x;function x(A,b){if(C("noDeprecation"))return A;var m=!1;function p(){if(!m){if(C("throwDeprecation"))throw new Error(b);C("traceDeprecation")?console.trace(b):console.warn(b),m=!0}return A.apply(this,arguments)}return p}function C(A){try{if(!_.localStorage)return!1}catch(m){return!1}var b=_.localStorage[A];return b==null?!1:String(b).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(H,k,d){typeof Object.create=="function"?k.exports=function(x,C){x.super_=C,x.prototype=Object.create(C.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}})}:k.exports=function(x,C){x.super_=C;var A=function(){};A.prototype=C.prototype,x.prototype=new A,x.prototype.constructor=x}},{}],242:[function(H,k,d){k.exports=function(x){return x&&typeof x=="object"&&typeof x.copy=="function"&&typeof x.fill=="function"&&typeof x.readUInt8=="function"}},{}],243:[function(H,k,d){(function(_,x){var C=/%[sdj%]/g;d.format=function(M){if(!g(M)){for(var U=[],F=0;F<arguments.length;F++)U.push(m(arguments[F]));return U.join(" ")}for(var F=1,j=arguments,W=j.length,V=String(M).replace(C,function(Y){if(Y==="%%")return"%";if(F>=W)return Y;switch(Y){case"%s":return String(j[F++]);case"%d":return Number(j[F++]);case"%j":try{return JSON.stringify(j[F++])}catch(J){return"[Circular]"}default:return Y}}),z=j[F];F<W;z=j[++F])u(z)||!T(z)?V+=" "+z:V+=" "+m(z);return V},d.deprecate=function(M,U){if(y(x.process))return function(){return d.deprecate(M,U).apply(this,arguments)};if(_.noDeprecation===!0)return M;var F=!1;function j(){if(!F){if(_.throwDeprecation)throw new Error(U);_.traceDeprecation?console.trace(U):console.error(U),F=!0}return M.apply(this,arguments)}return j};var A={},b;d.debuglog=function(M){if(y(b)&&(b=_.env.NODE_DEBUG||""),M=M.toUpperCase(),!A[M])if(new RegExp("\\b"+M+"\\b","i").test(b)){var U=_.pid;A[M]=function(){var F=d.format.apply(d,arguments);console.error("%s %d: %s",M,U,F)}}else A[M]=function(){};return A[M]};function m(M,U){var F={seen:[],stylize:c};return arguments.length>=3&&(F.depth=arguments[2]),arguments.length>=4&&(F.colors=arguments[3]),l(U)?F.showHidden=U:U&&d._extend(F,U),y(F.showHidden)&&(F.showHidden=!1),y(F.depth)&&(F.depth=2),y(F.colors)&&(F.colors=!1),y(F.customInspect)&&(F.customInspect=!0),F.colors&&(F.stylize=p),r(F,M,F.depth)}d.inspect=m,m.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]},m.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function p(M,U){var F=m.styles[U];return F?"["+m.colors[F][0]+"m"+M+"["+m.colors[F][1]+"m":M}function c(M,U){return M}function o(M){var U={};return M.forEach(function(F,j){U[F]=!0}),U}function r(M,U,F){if(M.customInspect&&U&&I(U.inspect)&&U.inspect!==d.inspect&&!(U.constructor&&U.constructor.prototype===U)){var j=U.inspect(F,M);return g(j)||(j=r(M,j,F)),j}var W=i(M,U);if(W)return W;var V=Object.keys(U),z=o(V);if(M.showHidden&&(V=Object.getOwnPropertyNames(U)),S(U)&&(V.indexOf("message")>=0||V.indexOf("description")>=0))return n(U);if(V.length===0){if(I(U)){var Y=U.name?": "+U.name:"";return M.stylize("[Function"+Y+"]","special")}if(E(U))return M.stylize(RegExp.prototype.toString.call(U),"regexp");if(w(U))return M.stylize(Date.prototype.toString.call(U),"date");if(S(U))return n(U)}var J="",ie=!1,Z=["{","}"];if(a(U)&&(ie=!0,Z=["[","]"]),I(U)){var oe=U.name?": "+U.name:"";J=" [Function"+oe+"]"}if(E(U)&&(J=" "+RegExp.prototype.toString.call(U)),w(U)&&(J=" "+Date.prototype.toUTCString.call(U)),S(U)&&(J=" "+n(U)),V.length===0&&(!ie||U.length==0))return Z[0]+J+Z[1];if(F<0)return E(U)?M.stylize(RegExp.prototype.toString.call(U),"regexp"):M.stylize("[Object]","special");M.seen.push(U);var ge;return ie?ge=t(M,U,F,z,V):ge=V.map(function(pe){return s(M,U,F,z,pe,ie)}),M.seen.pop(),e(ge,J,Z)}function i(M,U){if(y(U))return M.stylize("undefined","undefined");if(g(U)){var F="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return M.stylize(F,"string")}if(f(U))return M.stylize(""+U,"number");if(l(U))return M.stylize(""+U,"boolean");if(u(U))return M.stylize("null","null")}function n(M){return"["+Error.prototype.toString.call(M)+"]"}function t(M,U,F,j,W){for(var V=[],z=0,Y=U.length;z<Y;++z)B(U,String(z))?V.push(s(M,U,F,j,String(z),!0)):V.push("");return W.forEach(function(J){J.match(/^\d+$/)||V.push(s(M,U,F,j,J,!0))}),V}function s(M,U,F,j,W,V){var z,Y,J;if(J=Object.getOwnPropertyDescriptor(U,W)||{value:U[W]},J.get?J.set?Y=M.stylize("[Getter/Setter]","special"):Y=M.stylize("[Getter]","special"):J.set&&(Y=M.stylize("[Setter]","special")),B(j,W)||(z="["+W+"]"),Y||(M.seen.indexOf(J.value)<0?(u(F)?Y=r(M,J.value,null):Y=r(M,J.value,F-1),Y.indexOf(`
`)>-1&&(V?Y=Y.split(`
`).map(function(ie){return" "+ie}).join(`
`).substr(2):Y=`
`+Y.split(`
`).map(function(ie){return" "+ie}).join(`
`))):Y=M.stylize("[Circular]","special")),y(z)){if(V&&W.match(/^\d+$/))return Y;z=JSON.stringify(""+W),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.substr(1,z.length-2),z=M.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=M.stylize(z,"string"))}return z+": "+Y}function e(M,U,F){var j=0,W=M.reduce(function(V,z){return j++,z.indexOf(`
`)>=0&&j++,V+z.replace(/\u001b\[\d\d?m/g,"").length+1},0);return W>60?F[0]+(U===""?"":U+`
`)+" "+M.join(`,
`)+" "+F[1]:F[0]+U+" "+M.join(", ")+" "+F[1]}function a(M){return Array.isArray(M)}d.isArray=a;function l(M){return typeof M=="boolean"}d.isBoolean=l;function u(M){return M===null}d.isNull=u;function h(M){return M==null}d.isNullOrUndefined=h;function f(M){return typeof M=="number"}d.isNumber=f;function g(M){return typeof M=="string"}d.isString=g;function v(M){return typeof M=="symbol"}d.isSymbol=v;function y(M){return M===void 0}d.isUndefined=y;function E(M){return T(M)&&O(M)==="[object RegExp]"}d.isRegExp=E;function T(M){return typeof M=="object"&&M!==null}d.isObject=T;function w(M){return T(M)&&O(M)==="[object Date]"}d.isDate=w;function S(M){return T(M)&&(O(M)==="[object Error]"||M instanceof Error)}d.isError=S;function I(M){return typeof M=="function"}d.isFunction=I;function L(M){return M===null||typeof M=="boolean"||typeof M=="number"||typeof M=="string"||typeof M=="symbol"||typeof M=="undefined"}d.isPrimitive=L,d.isBuffer=H("./support/isBuffer");function O(M){return Object.prototype.toString.call(M)}function N(M){return M<10?"0"+M.toString(10):M.toString(10)}var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function D(){var M=new Date,U=[N(M.getHours()),N(M.getMinutes()),N(M.getSeconds())].join(":");return[M.getDate(),R[M.getMonth()],U].join(" ")}d.log=function(){console.log("%s - %s",D(),d.format.apply(d,arguments))},d.inherits=H("inherits"),d._extend=function(M,U){if(!U||!T(U))return M;for(var F=Object.keys(U),j=F.length;j--;)M[F[j]]=U[F[j]];return M};function B(M,U){return Object.prototype.hasOwnProperty.call(M,U)}}).call(this,H("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(H,k,d){"use strict";(function(){"use strict";d.stripBOM=function(_){return _[0]==="\uFEFF"?_.substring(1):_}}).call(void 0)},{}],245:[function(H,k,d){"use strict";var _=H("babel-runtime/helpers/typeof"),x=b(_),C=H("babel-runtime/core-js/object/keys"),A=b(C);function b(m){return m&&m.__esModule?m:{default:m}}(function(){"use strict";var m,p,c,o,r,i={}.hasOwnProperty;m=H("xmlbuilder"),p=H("./defaults").defaults,o=function(t){return typeof t=="string"&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},r=function(t){return"<![CDATA["+c(t)+"]]>"},c=function(t){return t.replace("]]>","]]]]><![CDATA[>")},d.Builder=function(){function n(t){var s,e,a;this.options={},e=p["0.2"];for(s in e){if(!i.call(e,s))continue;a=e[s],this.options[s]=a}for(s in t){if(!i.call(t,s))continue;a=t[s],this.options[s]=a}}return n.prototype.buildObject=function(t){var s,e,a,l,u;return s=this.options.attrkey,e=this.options.charkey,(0,A.default)(t).length===1&&this.options.rootName===p["0.2"].rootName?(u=(0,A.default)(t)[0],t=t[u]):u=this.options.rootName,a=function(h){return function(f,g){var v,y,E,T,w,S;if((typeof g=="undefined"?"undefined":(0,x.default)(g))!=="object")h.options.cdata&&o(g)?f.raw(r(g)):f.txt(g);else if(Array.isArray(g))for(T in g){if(!i.call(g,T))continue;y=g[T];for(w in y)E=y[w],f=a(f.ele(w),E).up()}else for(w in g){if(!i.call(g,w))continue;if(y=g[w],w===s){if((typeof y=="undefined"?"undefined":(0,x.default)(y))==="object")for(v in y)S=y[v],f=f.att(v,S)}else if(w===e)h.options.cdata&&o(y)?f=f.raw(r(y)):f=f.txt(y);else if(Array.isArray(y))for(T in y){if(!i.call(y,T))continue;E=y[T],typeof E=="string"?h.options.cdata&&o(E)?f=f.ele(w).raw(r(E)).up():f=f.ele(w,E).up():f=a(f.ele(w),E).up()}else(typeof y=="undefined"?"undefined":(0,x.default)(y))==="object"?f=a(f.ele(w),y).up():typeof y=="string"&&h.options.cdata&&o(y)?f=f.ele(w).raw(r(y)).up():(y==null&&(y=""),f=f.ele(w,y.toString()).up())}return f}}(this),l=m.create(u,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),a(l,t).end(this.options.renderOpts)},n}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(H,k,d){"use strict";(function(){d.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/promise"),x=o(_),C=H("babel-runtime/core-js/object/get-own-property-names"),A=o(C),b=H("babel-runtime/core-js/object/keys"),m=o(b),p=H("babel-runtime/helpers/typeof"),c=o(p);function o(r){return r&&r.__esModule?r:{default:r}}(function(){"use strict";var r,i,n,t,s,e,a,l,u=function(v,y){return function(){return v.apply(y,arguments)}},h=function(v,y){for(var E in y)f.call(y,E)&&(v[E]=y[E]);function T(){this.constructor=v}return T.prototype=y.prototype,v.prototype=new T,v.__super__=y.prototype,v},f={}.hasOwnProperty;a=H("sax"),n=H("events"),r=H("./bom"),e=H("./processors"),l=H("timers").setImmediate,i=H("./defaults").defaults,t=function(v){return(typeof v=="undefined"?"undefined":(0,c.default)(v))==="object"&&v!=null&&(0,m.default)(v).length===0},s=function(v,y,E){var T,w,S;for(T=0,w=v.length;T<w;T++)S=v[T],y=S(y,E);return y},d.Parser=function(g){h(v,g);function v(y){this.parseStringPromise=u(this.parseStringPromise,this),this.parseString=u(this.parseString,this),this.reset=u(this.reset,this),this.assignOrPush=u(this.assignOrPush,this),this.processAsync=u(this.processAsync,this);var E,T,w;if(!(this instanceof d.Parser))return new d.Parser(y);this.options={},T=i["0.2"];for(E in T){if(!f.call(T,E))continue;w=T[E],this.options[E]=w}for(E in y){if(!f.call(y,E))continue;w=y[E],this.options[E]=w}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(e.normalize)),this.reset()}return v.prototype.processAsync=function(){var y,E;try{return this.remaining.length<=this.options.chunkSize?(y=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(y),this.saxParser.close()):(y=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(y),l(this.processAsync))}catch(T){if(E=T,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(E)}},v.prototype.assignOrPush=function(y,E,T){return E in y?(y[E]instanceof Array||(y[E]=[y[E]]),y[E].push(T)):this.options.explicitArray?y[E]=[T]:y[E]=T},v.prototype.reset=function(){var y,E,T,w;return this.removeAllListeners(),this.saxParser=a.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(S){return function(I){if(S.saxParser.resume(),!S.saxParser.errThrown)return S.saxParser.errThrown=!0,S.emit("error",I)}}(this),this.saxParser.onend=function(S){return function(){if(!S.saxParser.ended)return S.saxParser.ended=!0,S.emit("end",S.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,w=[],y=this.options.attrkey,E=this.options.charkey,this.saxParser.onopentag=function(S){return function(I){var L,O,N,R,D;if(N={},N[E]="",!S.options.ignoreAttrs){D=I.attributes;for(L in D){if(!f.call(D,L))continue;!(y in N)&&!S.options.mergeAttrs&&(N[y]={}),O=S.options.attrValueProcessors?s(S.options.attrValueProcessors,I.attributes[L],L):I.attributes[L],R=S.options.attrNameProcessors?s(S.options.attrNameProcessors,L):L,S.options.mergeAttrs?S.assignOrPush(N,R,O):N[y][R]=O}}return N["#name"]=S.options.tagNameProcessors?s(S.options.tagNameProcessors,I.name):I.name,S.options.xmlns&&(N[S.options.xmlnskey]={uri:I.uri,local:I.local}),w.push(N)}}(this),this.saxParser.onclosetag=function(S){return function(){var I,L,O,N,R,D,B,M,U,F;if(D=w.pop(),R=D["#name"],(!S.options.explicitChildren||!S.options.preserveChildrenOrder)&&delete D["#name"],D.cdata===!0&&(I=D.cdata,delete D.cdata),U=w[w.length-1],D[E].match(/^\s*$/)&&!I?(L=D[E],delete D[E]):(S.options.trim&&(D[E]=D[E].trim()),S.options.normalize&&(D[E]=D[E].replace(/\s{2,}/g," ").trim()),D[E]=S.options.valueProcessors?s(S.options.valueProcessors,D[E],R):D[E],(0,m.default)(D).length===1&&E in D&&!S.EXPLICIT_CHARKEY&&(D=D[E])),t(D)&&(D=S.options.emptyTag!==""?S.options.emptyTag:L),S.options.validator!=null&&(F="/"+function(){var j,W,V;for(V=[],j=0,W=w.length;j<W;j++)N=w[j],V.push(N["#name"]);return V}().concat(R).join("/"),function(){var j;try{return D=S.options.validator(F,U&&U[R],D)}catch(W){return j=W,S.emit("error",j)}}()),S.options.explicitChildren&&!S.options.mergeAttrs&&(typeof D=="undefined"?"undefined":(0,c.default)(D))==="object"){if(!S.options.preserveChildrenOrder)N={},S.options.attrkey in D&&(N[S.options.attrkey]=D[S.options.attrkey],delete D[S.options.attrkey]),!S.options.charsAsChildren&&S.options.charkey in D&&(N[S.options.charkey]=D[S.options.charkey],delete D[S.options.charkey]),(0,A.default)(D).length>0&&(N[S.options.childkey]=D),D=N;else if(U){U[S.options.childkey]=U[S.options.childkey]||[],B={};for(O in D){if(!f.call(D,O))continue;B[O]=D[O]}U[S.options.childkey].push(B),delete D["#name"],(0,m.default)(D).length===1&&E in D&&!S.EXPLICIT_CHARKEY&&(D=D[E])}}return w.length>0?S.assignOrPush(U,R,D):(S.options.explicitRoot&&(M=D,D={},D[R]=M),S.resultObject=D,S.saxParser.ended=!0,S.emit("end",S.resultObject))}}(this),T=function(S){return function(I){var L,O;if(O=w[w.length-1],O)return O[E]+=I,S.options.explicitChildren&&S.options.preserveChildrenOrder&&S.options.charsAsChildren&&(S.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(O[S.options.childkey]=O[S.options.childkey]||[],L={"#name":"__text__"},L[E]=I,S.options.normalize&&(L[E]=L[E].replace(/\s{2,}/g," ").trim()),O[S.options.childkey].push(L)),O}}(this),this.saxParser.ontext=T,this.saxParser.oncdata=function(S){return function(I){var L;if(L=T(I),L)return L.cdata=!0}}(this)},v.prototype.parseString=function(y,E){var T;E!=null&&typeof E=="function"&&(this.on("end",function(w){return this.reset(),E(null,w)}),this.on("error",function(w){return this.reset(),E(w)}));try{return y=y.toString(),y.trim()===""?(this.emit("end",null),!0):(y=r.stripBOM(y),this.options.async?(this.remaining=y,l(this.processAsync),this.saxParser):this.saxParser.write(y).close())}catch(w){if(T=w,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw T}else return this.emit("error",T),this.saxParser.errThrown=!0}},v.prototype.parseStringPromise=function(y){return new x.default(function(E){return function(T,w){return E.parseString(y,function(S,I){return S?w(S):T(I)})}}(this))},v}(n),d.parseString=function(g,v,y){var E,T,w;return y!=null?(typeof y=="function"&&(E=y),(typeof v=="undefined"?"undefined":(0,c.default)(v))==="object"&&(T=v)):(typeof v=="function"&&(E=v),T={}),w=new d.Parser(T),w.parseString(g,E)},d.parseStringPromise=function(g,v){var y,E;return(typeof v=="undefined"?"undefined":(0,c.default)(v))==="object"&&(y=v),E=new d.Parser(y),E.parseStringPromise(g)}}).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(H,k,d){"use strict";(function(){"use strict";var _;_=new RegExp(/(?!xmlns)^.*:/),d.normalize=function(x){return x.toLowerCase()},d.firstCharLowerCase=function(x){return x.charAt(0).toLowerCase()+x.slice(1)},d.stripPrefix=function(x){return x.replace(_,"")},d.parseNumbers=function(x){return isNaN(x)||(x=x%1===0?parseInt(x,10):parseFloat(x)),x},d.parseBooleans=function(x){return/^(?:true|false)$/i.test(x)&&(x=x.toLowerCase()==="true"),x}}).call(void 0)},{}],249:[function(H,k,d){"use strict";(function(){"use strict";var _,x,C,A,b=function(c,o){for(var r in o)m.call(o,r)&&(c[r]=o[r]);function i(){this.constructor=c}return i.prototype=o.prototype,c.prototype=new i,c.__super__=o.prototype,c},m={}.hasOwnProperty;x=H("./defaults"),_=H("./builder"),C=H("./parser"),A=H("./processors"),d.defaults=x.defaults,d.processors=A,d.ValidationError=function(p){b(c,p);function c(o){this.message=o}return c}(Error),d.Builder=_.Builder,d.Parser=C.Parser,d.parseString=C.parseString,d.parseStringPromise=C.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(H,k,d){"use strict";(function(){k.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(H,k,d){"use strict";(function(){k.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(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/get-prototype-of"),x=p(_),C=H("babel-runtime/helpers/typeof"),A=p(C),b=H("babel-runtime/core-js/object/assign"),m=p(b);function p(c){return c&&c.__esModule?c:{default:c}}(function(){var c,o,r,i,n,t,s,e=[].slice,a={}.hasOwnProperty;c=function(){var u,h,f,g,v,y;if(y=arguments[0],v=2<=arguments.length?e.call(arguments,1):[],n(m.default))m.default.apply(null,arguments);else for(u=0,f=v.length;u<f;u++)if(g=v[u],g!=null)for(h in g){if(!a.call(g,h))continue;y[h]=g[h]}return y},n=function(u){return!!u&&Object.prototype.toString.call(u)==="[object Function]"},t=function(u){var h;return!!u&&((h=typeof u=="undefined"?"undefined":(0,A.default)(u))==="function"||h==="object")},r=function(u){return n(Array.isArray)?Array.isArray(u):Object.prototype.toString.call(u)==="[object Array]"},i=function(u){var h;if(r(u))return!u.length;for(h in u){if(!a.call(u,h))continue;return!1}return!0},s=function(u){var h,f;return t(u)&&(f=(0,x.default)(u))&&(h=f.constructor)&&typeof h=="function"&&h instanceof h&&Function.prototype.toString.call(h)===Function.prototype.toString.call(Object)},o=function(u){return n(u.valueOf)?u.valueOf():u},k.exports.assign=c,k.exports.isFunction=n,k.exports.isObject=t,k.exports.isArray=r,k.exports.isEmpty=i,k.exports.isPlainObject=s,k.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(H,k,d){"use strict";(function(){k.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m;A=H("./NodeType"),m=H("./XMLNode"),k.exports=b=function(){function p(c,o,r){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(r),this.type=A.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(p.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(p.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(p.prototype,"textContent",{get:function(){return this.value},set:function(o){return this.value=o||""}}),Object.defineProperty(p.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(p.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(p.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(p.prototype,"specified",{get:function(){return!0}}),p.prototype.clone=function(){return(0,x.default)(this)},p.prototype.toString=function(c){return this.options.writer.attribute(this,this.options.writer.filterOptions(c))},p.prototype.debugInfo=function(c){return c=c||this.name,c==null?"parent: <"+this.parent.name+">":"attribute: {"+c+"}, parent: <"+this.parent.name+">"},p.prototype.isEqualNode=function(c){return c.namespaceURI!==this.namespaceURI||(c.prefix!==this.prefix||c.localName!==this.localName)?!1:!(c.value!==this.value)},p}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m,p=function(r,i){for(var n in i)c.call(i,n)&&(r[n]=i[n]);function t(){this.constructor=r}return t.prototype=i.prototype,r.prototype=new t,r.__super__=i.prototype,r},c={}.hasOwnProperty;A=H("./NodeType"),m=H("./XMLCharacterData"),k.exports=b=function(o){p(r,o);function r(i,n){if(r.__super__.constructor.call(this,i),n==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=A.CData,this.value=this.stringify.cdata(n)}return r.prototype.clone=function(){return(0,x.default)(this)},r.prototype.toString=function(i){return this.options.writer.cdata(this,this.options.writer.filterOptions(i))},r}(m)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m=function(o,r){for(var i in r)p.call(r,i)&&(o[i]=r[i]);function n(){this.constructor=o}return n.prototype=r.prototype,o.prototype=new n,o.__super__=r.prototype,o},p={}.hasOwnProperty;b=H("./XMLNode"),k.exports=A=function(c){m(o,c);function o(r){o.__super__.constructor.call(this,r),this.value=""}return Object.defineProperty(o.prototype,"data",{get:function(){return this.value},set:function(i){return this.value=i||""}}),Object.defineProperty(o.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(o.prototype,"textContent",{get:function(){return this.value},set:function(i){return this.value=i||""}}),o.prototype.clone=function(){return(0,x.default)(this)},o.prototype.substringData=function(r,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.appendData=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.insertData=function(r,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.deleteData=function(r,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.replaceData=function(r,i,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.isEqualNode=function(r){return o.__super__.isEqualNode.apply(this,arguments).isEqualNode(r)?!(r.data!==this.data):!1},o}(b)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m,p=function(r,i){for(var n in i)c.call(i,n)&&(r[n]=i[n]);function t(){this.constructor=r}return t.prototype=i.prototype,r.prototype=new t,r.__super__=i.prototype,r},c={}.hasOwnProperty;A=H("./NodeType"),b=H("./XMLCharacterData"),k.exports=m=function(o){p(r,o);function r(i,n){if(r.__super__.constructor.call(this,i),n==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=A.Comment,this.value=this.stringify.comment(n)}return r.prototype.clone=function(){return(0,x.default)(this)},r.prototype.toString=function(i){return this.options.writer.comment(this,this.options.writer.filterOptions(i))},r}(b)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/keys"),x=b(_),C=H("babel-runtime/core-js/object/create"),A=b(C);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,p,c;p=H("./XMLDOMErrorHandler"),c=H("./XMLDOMStringList"),k.exports=m=function(){function o(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new p,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=(0,A.default)(this.defaultParams)}return Object.defineProperty(o.prototype,"parameterNames",{get:function(){return new c((0,x.default)(this.defaultParams))}}),o.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},o.prototype.canSetParameter=function(r,i){return!0},o.prototype.setParameter=function(r,i){return i!=null?this.params[r]=i:delete this.params[r]},o}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(H,k,d){"use strict";(function(){var _;k.exports=_=function(){function x(){}return x.prototype.handleError=function(C){throw new Error(C)},x}()}).call(void 0)},{}],260:[function(H,k,d){"use strict";(function(){var _;k.exports=_=function(){function x(){}return x.prototype.hasFeature=function(C,A){return!0},x.prototype.createDocumentType=function(C,A,b){throw new Error("This DOM method is not implemented.")},x.prototype.createDocument=function(C,A,b){throw new Error("This DOM method is not implemented.")},x.prototype.createHTMLDocument=function(C){throw new Error("This DOM method is not implemented.")},x.prototype.getFeature=function(C,A){throw new Error("This DOM method is not implemented.")},x}()}).call(void 0)},{}],261:[function(H,k,d){"use strict";(function(){var _;k.exports=_=function(){function x(C){this.arr=C||[]}return Object.defineProperty(x.prototype,"length",{get:function(){return this.arr.length}}),x.prototype.item=function(C){return this.arr[C]||null},x.prototype.contains=function(C){return this.arr.indexOf(C)!==-1},x}()}).call(void 0)},{}],262:[function(H,k,d){"use strict";(function(){var _,x,C,A=function(p,c){for(var o in c)b.call(c,o)&&(p[o]=c[o]);function r(){this.constructor=p}return r.prototype=c.prototype,p.prototype=new r,p.__super__=c.prototype,p},b={}.hasOwnProperty;C=H("./XMLNode"),_=H("./NodeType"),k.exports=x=function(m){A(p,m);function p(c,o,r,i,n,t){if(p.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(r==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(o));if(!i)throw new Error("Missing DTD attribute type. "+this.debugInfo(o));if(!n)throw new Error("Missing DTD attribute default. "+this.debugInfo(o));if(n.indexOf("#")!==0&&(n="#"+n),!n.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(o));if(t&&!n.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=_.AttributeDeclaration,this.attributeName=this.stringify.name(r),this.attributeType=this.stringify.dtdAttType(i),t&&(this.defaultValue=this.stringify.dtdAttDefault(t)),this.defaultValueType=n}return p.prototype.toString=function(c){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(c))},p}(C)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(H,k,d){"use strict";(function(){var _,x,C,A=function(p,c){for(var o in c)b.call(c,o)&&(p[o]=c[o]);function r(){this.constructor=p}return r.prototype=c.prototype,p.prototype=new r,p.__super__=c.prototype,p},b={}.hasOwnProperty;C=H("./XMLNode"),_=H("./NodeType"),k.exports=x=function(m){A(p,m);function p(c,o,r){if(p.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.name(o),this.type=_.ElementDeclaration,this.value=this.stringify.dtdElementValue(r)}return p.prototype.toString=function(c){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(c))},p}(C)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(H,k,d){"use strict";(function(){var _,x,C,A,b=function(c,o){for(var r in o)m.call(o,r)&&(c[r]=o[r]);function i(){this.constructor=c}return i.prototype=o.prototype,c.prototype=new i,c.__super__=o.prototype,c},m={}.hasOwnProperty;A=H("./Utility").isObject,C=H("./XMLNode"),_=H("./NodeType"),k.exports=x=function(p){b(c,p);function c(o,r,i,n){if(c.__super__.constructor.call(this,o),i==null)throw new Error("Missing DTD entity name. "+this.debugInfo(i));if(n==null)throw new Error("Missing DTD entity value. "+this.debugInfo(i));if(this.pe=!!r,this.name=this.stringify.name(i),this.type=_.EntityDeclaration,!A(n))this.value=this.stringify.dtdEntityValue(n),this.internal=!0;else{if(!n.pubID&&!n.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(i));if(n.pubID&&!n.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(i));if(this.internal=!1,n.pubID!=null&&(this.pubID=this.stringify.dtdPubID(n.pubID)),n.sysID!=null&&(this.sysID=this.stringify.dtdSysID(n.sysID)),n.nData!=null&&(this.nData=this.stringify.dtdNData(n.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(i))}}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}(C)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(H,k,d){"use strict";(function(){var _,x,C,A=function(p,c){for(var o in c)b.call(c,o)&&(p[o]=c[o]);function r(){this.constructor=p}return r.prototype=c.prototype,p.prototype=new r,p.__super__=c.prototype,p},b={}.hasOwnProperty;C=H("./XMLNode"),_=H("./NodeType"),k.exports=x=function(m){A(p,m);function p(c,o,r){if(p.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD notation name. "+this.debugInfo(o));if(!r.pubID&&!r.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=_.NotationDeclaration,r.pubID!=null&&(this.pubID=this.stringify.dtdPubID(r.pubID)),r.sysID!=null&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return Object.defineProperty(p.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(p.prototype,"systemId",{get:function(){return this.sysID}}),p.prototype.toString=function(c){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(c))},p}(C)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(H,k,d){"use strict";(function(){var _,x,C,A,b=function(c,o){for(var r in o)m.call(o,r)&&(c[r]=o[r]);function i(){this.constructor=c}return i.prototype=o.prototype,c.prototype=new i,c.__super__=o.prototype,c},m={}.hasOwnProperty;A=H("./Utility").isObject,C=H("./XMLNode"),_=H("./NodeType"),k.exports=x=function(p){b(c,p);function c(o,r,i,n){var t;c.__super__.constructor.call(this,o),A(r)&&(t=r,r=t.version,i=t.encoding,n=t.standalone),r||(r="1.0"),this.type=_.Declaration,this.version=this.stringify.xmlVersion(r),i!=null&&(this.encoding=this.stringify.xmlEncoding(i)),n!=null&&(this.standalone=this.stringify.xmlStandalone(n))}return c.prototype.toString=function(o){return this.options.writer.declaration(this,this.options.writer.filterOptions(o))},c}(C)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(H,k,d){"use strict";(function(){var _,x,C,A,b,m,p,c,o,r=function(t,s){for(var e in s)i.call(s,e)&&(t[e]=s[e]);function a(){this.constructor=t}return a.prototype=s.prototype,t.prototype=new a,t.__super__=s.prototype,t},i={}.hasOwnProperty;o=H("./Utility").isObject,c=H("./XMLNode"),_=H("./NodeType"),x=H("./XMLDTDAttList"),A=H("./XMLDTDEntity"),C=H("./XMLDTDElement"),b=H("./XMLDTDNotation"),p=H("./XMLNamedNodeMap"),k.exports=m=function(n){r(t,n);function t(s,e,a){var l,u,h,f,g,v;if(t.__super__.constructor.call(this,s),this.type=_.DocType,s.children){for(f=s.children,u=0,h=f.length;u<h;u++)if(l=f[u],l.type===_.Element){this.name=l.name;break}}this.documentObject=s,o(e)&&(g=e,e=g.pubID,a=g.sysID),a==null&&(v=[e,a],a=v[0],e=v[1]),e!=null&&(this.pubID=this.stringify.dtdPubID(e)),a!=null&&(this.sysID=this.stringify.dtdSysID(a))}return Object.defineProperty(t.prototype,"entities",{get:function(){var e,a,l,u,h;for(u={},h=this.children,a=0,l=h.length;a<l;a++)e=h[a],e.type===_.EntityDeclaration&&!e.pe&&(u[e.name]=e);return new p(u)}}),Object.defineProperty(t.prototype,"notations",{get:function(){var e,a,l,u,h;for(u={},h=this.children,a=0,l=h.length;a<l;a++)e=h[a],e.type===_.NotationDeclaration&&(u[e.name]=e);return new p(u)}}),Object.defineProperty(t.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(t.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),t.prototype.element=function(s,e){var a;return a=new C(this,s,e),this.children.push(a),this},t.prototype.attList=function(s,e,a,l,u){var h;return h=new x(this,s,e,a,l,u),this.children.push(h),this},t.prototype.entity=function(s,e){var a;return a=new A(this,!1,s,e),this.children.push(a),this},t.prototype.pEntity=function(s,e){var a;return a=new A(this,!0,s,e),this.children.push(a),this},t.prototype.notation=function(s,e){var a;return a=new b(this,s,e),this.children.push(a),this},t.prototype.toString=function(s){return this.options.writer.docType(this,this.options.writer.filterOptions(s))},t.prototype.ele=function(s,e){return this.element(s,e)},t.prototype.att=function(s,e,a,l,u){return this.attList(s,e,a,l,u)},t.prototype.ent=function(s,e){return this.entity(s,e)},t.prototype.pent=function(s,e){return this.pEntity(s,e)},t.prototype.not=function(s,e){return this.notation(s,e)},t.prototype.up=function(){return this.root()||this.documentObject},t.prototype.isEqualNode=function(s){return t.__super__.isEqualNode.apply(this,arguments).isEqualNode(s)?s.name!==this.name||s.publicId!==this.publicId?!1:!(s.systemId!==this.systemId):!1},t}(c)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(H,k,d){"use strict";(function(){var _,x,C,A,b,m,p,c,o=function(n,t){for(var s in t)r.call(t,s)&&(n[s]=t[s]);function e(){this.constructor=n}return e.prototype=t.prototype,n.prototype=new e,n.__super__=t.prototype,n},r={}.hasOwnProperty;c=H("./Utility").isPlainObject,C=H("./XMLDOMImplementation"),x=H("./XMLDOMConfiguration"),b=H("./XMLNode"),_=H("./NodeType"),p=H("./XMLStringifier"),m=H("./XMLStringWriter"),k.exports=A=function(i){o(n,i);function n(t){n.__super__.constructor.call(this,null),this.name="#document",this.type=_.Document,this.documentURI=null,this.domConfig=new x,t||(t={}),t.writer||(t.writer=new m),this.options=t,this.stringify=new p(t)}return Object.defineProperty(n.prototype,"implementation",{value:new C}),Object.defineProperty(n.prototype,"doctype",{get:function(){var s,e,a,l;for(l=this.children,e=0,a=l.length;e<a;e++)if(s=l[e],s.type===_.DocType)return s;return null}}),Object.defineProperty(n.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(n.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(n.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===_.Declaration?this.children[0].encoding:null}}),Object.defineProperty(n.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===_.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(n.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===_.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(n.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(n.prototype,"origin",{get:function(){return null}}),Object.defineProperty(n.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(n.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(n.prototype,"contentType",{get:function(){return null}}),n.prototype.end=function(t){var s;return s={},t?c(t)&&(s=t,t=this.options.writer):t=this.options.writer,t.document(this,t.filterOptions(s))},n.prototype.toString=function(t){return this.options.writer.document(this,this.options.writer.filterOptions(t))},n.prototype.createElement=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createTextNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createComment=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createCDATASection=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createProcessingInstruction=function(t,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createAttribute=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createEntityReference=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.importNode=function(t,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createElementNS=function(t,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createAttributeNS=function(t,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagNameNS=function(t,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementById=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.adoptNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.renameNode=function(t,s,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByClassName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createEvent=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createNodeIterator=function(t,s,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createTreeWalker=function(t,s,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n}(b)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(H,k,d){"use strict";(function(){var _,x,C,A,b,m,p,c,o,r,i,n,t,s,e,a,l,u,h,f,g,v,y,E,T={}.hasOwnProperty;E=H("./Utility"),v=E.isObject,g=E.isFunction,y=E.isPlainObject,f=E.getValue,_=H("./NodeType"),n=H("./XMLDocument"),s=H("./XMLElement"),A=H("./XMLCData"),b=H("./XMLComment"),a=H("./XMLRaw"),h=H("./XMLText"),e=H("./XMLProcessingInstruction"),r=H("./XMLDeclaration"),i=H("./XMLDocType"),m=H("./XMLDTDAttList"),c=H("./XMLDTDEntity"),p=H("./XMLDTDElement"),o=H("./XMLDTDNotation"),C=H("./XMLAttribute"),u=H("./XMLStringifier"),l=H("./XMLStringWriter"),x=H("./WriterState"),k.exports=t=function(){function w(S,I,L){var O;this.name="?xml",this.type=_.Document,S||(S={}),O={},S.writer?y(S.writer)&&(O=S.writer,S.writer=new l):S.writer=new l,this.options=S,this.writer=S.writer,this.writerOptions=this.writer.filterOptions(O),this.stringify=new u(S),this.onDataCallback=I||function(){},this.onEndCallback=L||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return w.prototype.createChildNode=function(S){var I,L,O,N,R,D,B,M;switch(S.type){case _.CData:this.cdata(S.value);break;case _.Comment:this.comment(S.value);break;case _.Element:O={},B=S.attribs;for(L in B){if(!T.call(B,L))continue;I=B[L],O[L]=I.value}this.node(S.name,O);break;case _.Dummy:this.dummy();break;case _.Raw:this.raw(S.value);break;case _.Text:this.text(S.value);break;case _.ProcessingInstruction:this.instruction(S.target,S.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+S.constructor.name)}for(M=S.children,R=0,D=M.length;R<D;R++)N=M[R],this.createChildNode(N),N.type===_.Element&&this.up();return this},w.prototype.dummy=function(){return this},w.prototype.node=function(S,I,L){var O;if(S==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(S));return this.openCurrent(),S=f(S),I==null&&(I={}),I=f(I),v(I)||(O=[I,L],L=O[0],I=O[1]),this.currentNode=new s(this,S,I),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,L!=null&&this.text(L),this},w.prototype.element=function(S,I,L){var O,N,R,D,B,M;if(this.currentNode&&this.currentNode.type===_.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(S)||v(S)||g(S))for(D=this.options.noValidation,this.options.noValidation=!0,M=new n(this.options).element("TEMP_ROOT"),M.element(S),this.options.noValidation=D,B=M.children,N=0,R=B.length;N<R;N++)O=B[N],this.createChildNode(O),O.type===_.Element&&this.up();else this.node(S,I,L);return this},w.prototype.attribute=function(S,I){var L,O;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(S));if(S!=null&&(S=f(S)),v(S))for(L in S){if(!T.call(S,L))continue;O=S[L],this.attribute(L,O)}else g(I)&&(I=I.apply()),this.options.keepNullAttributes&&I==null?this.currentNode.attribs[S]=new C(this,S,""):I!=null&&(this.currentNode.attribs[S]=new C(this,S,I));return this},w.prototype.text=function(S){var I;return this.openCurrent(),I=new h(this,S),this.onData(this.writer.text(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.cdata=function(S){var I;return this.openCurrent(),I=new A(this,S),this.onData(this.writer.cdata(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.comment=function(S){var I;return this.openCurrent(),I=new b(this,S),this.onData(this.writer.comment(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.raw=function(S){var I;return this.openCurrent(),I=new a(this,S),this.onData(this.writer.raw(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.instruction=function(S,I){var L,O,N,R,D;if(this.openCurrent(),S!=null&&(S=f(S)),I!=null&&(I=f(I)),Array.isArray(S))for(L=0,R=S.length;L<R;L++)O=S[L],this.instruction(O);else if(v(S))for(O in S){if(!T.call(S,O))continue;N=S[O],this.instruction(O,N)}else g(I)&&(I=I.apply()),D=new e(this,S,I),this.onData(this.writer.processingInstruction(D,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},w.prototype.declaration=function(S,I,L){var O;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return O=new r(this,S,I,L),this.onData(this.writer.declaration(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.doctype=function(S,I,L){if(this.openCurrent(),S==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 i(this,I,L),this.currentNode.rootNodeName=S,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},w.prototype.dtdElement=function(S,I){var L;return this.openCurrent(),L=new p(this,S,I),this.onData(this.writer.dtdElement(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.attList=function(S,I,L,O,N){var R;return this.openCurrent(),R=new m(this,S,I,L,O,N),this.onData(this.writer.dtdAttList(R,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.entity=function(S,I){var L;return this.openCurrent(),L=new c(this,!1,S,I),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.pEntity=function(S,I){var L;return this.openCurrent(),L=new c(this,!0,S,I),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.prototype.notation=function(S,I){var L;return this.openCurrent(),L=new o(this,S,I),this.onData(this.writer.dtdNotation(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},w.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},w.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},w.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},w.prototype.openNode=function(S){var I,L,O,N;if(!S.isOpen){if(!this.root&&this.currentLevel===0&&S.type===_.Element&&(this.root=S),L="",S.type===_.Element){this.writerOptions.state=x.OpenTag,L=this.writer.indent(S,this.writerOptions,this.currentLevel)+"<"+S.name,N=S.attribs;for(O in N){if(!T.call(N,O))continue;I=N[O],L+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}L+=(S.children?">":"/>")+this.writer.endline(S,this.writerOptions,this.currentLevel),this.writerOptions.state=x.InsideTag}else this.writerOptions.state=x.OpenTag,L=this.writer.indent(S,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+S.rootNodeName,S.pubID&&S.sysID?L+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.sysID&&(L+=' SYSTEM "'+S.sysID+'"'),S.children?(L+=" [",this.writerOptions.state=x.InsideTag):(this.writerOptions.state=x.CloseTag,L+=">"),L+=this.writer.endline(S,this.writerOptions,this.currentLevel);return this.onData(L,this.currentLevel),S.isOpen=!0}},w.prototype.closeNode=function(S){var I;if(!S.isClosed)return I="",this.writerOptions.state=x.CloseTag,S.type===_.Element?I=this.writer.indent(S,this.writerOptions,this.currentLevel)+"</"+S.name+">"+this.writer.endline(S,this.writerOptions,this.currentLevel):I=this.writer.indent(S,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(S,this.writerOptions,this.currentLevel),this.writerOptions.state=x.None,this.onData(I,this.currentLevel),S.isClosed=!0},w.prototype.onData=function(S,I){return this.documentStarted=!0,this.onDataCallback(S,I+1)},w.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},w.prototype.debugInfo=function(S){return S==null?"":"node: <"+S+">"},w.prototype.ele=function(){return this.element.apply(this,arguments)},w.prototype.nod=function(S,I,L){return this.node(S,I,L)},w.prototype.txt=function(S){return this.text(S)},w.prototype.dat=function(S){return this.cdata(S)},w.prototype.com=function(S){return this.comment(S)},w.prototype.ins=function(S,I){return this.instruction(S,I)},w.prototype.dec=function(S,I,L){return this.declaration(S,I,L)},w.prototype.dtd=function(S,I,L){return this.doctype(S,I,L)},w.prototype.e=function(S,I,L){return this.element(S,I,L)},w.prototype.n=function(S,I,L){return this.node(S,I,L)},w.prototype.t=function(S){return this.text(S)},w.prototype.d=function(S){return this.cdata(S)},w.prototype.c=function(S){return this.comment(S)},w.prototype.r=function(S){return this.raw(S)},w.prototype.i=function(S,I){return this.instruction(S,I)},w.prototype.att=function(){return this.currentNode&&this.currentNode.type===_.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},w.prototype.a=function(){return this.currentNode&&this.currentNode.type===_.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},w.prototype.ent=function(S,I){return this.entity(S,I)},w.prototype.pent=function(S,I){return this.pEntity(S,I)},w.prototype.not=function(S,I){return this.notation(S,I)},w}()}).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(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m,p=function(r,i){for(var n in i)c.call(i,n)&&(r[n]=i[n]);function t(){this.constructor=r}return t.prototype=i.prototype,r.prototype=new t,r.__super__=i.prototype,r},c={}.hasOwnProperty;m=H("./XMLNode"),A=H("./NodeType"),k.exports=b=function(o){p(r,o);function r(i){r.__super__.constructor.call(this,i),this.type=A.Dummy}return r.prototype.clone=function(){return(0,x.default)(this)},r.prototype.toString=function(i){return""},r}(m)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m,p,c,o,r,i,n,t=function(a,l){for(var u in l)s.call(l,u)&&(a[u]=l[u]);function h(){this.constructor=a}return h.prototype=l.prototype,a.prototype=new h,a.__super__=l.prototype,a},s={}.hasOwnProperty;n=H("./Utility"),i=n.isObject,r=n.isFunction,o=n.getValue,c=H("./XMLNode"),A=H("./NodeType"),b=H("./XMLAttribute"),p=H("./XMLNamedNodeMap"),k.exports=m=function(e){t(a,e);function a(l,u,h){var f,g,v,y;if(a.__super__.constructor.call(this,l),u==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(u),this.type=A.Element,this.attribs={},this.schemaTypeInfo=null,h!=null&&this.attribute(h),l.type===A.Document&&(this.isRoot=!0,this.documentObject=l,l.rootObject=this,l.children)){for(y=l.children,g=0,v=y.length;g<v;g++)if(f=y[g],f.type===A.DocType){f.name=this.name;break}}}return Object.defineProperty(a.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(a.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(a.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(a.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(a.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new p(this.attribs)),this.attributeMap}}),a.prototype.clone=function(){var l,u,h,f;h=(0,x.default)(this),h.isRoot&&(h.documentObject=null),h.attribs={},f=this.attribs;for(u in f){if(!s.call(f,u))continue;l=f[u],h.attribs[u]=l.clone()}return h.children=[],this.children.forEach(function(g){var v;return v=g.clone(),v.parent=h,h.children.push(v)}),h},a.prototype.attribute=function(l,u){var h,f;if(l!=null&&(l=o(l)),i(l))for(h in l){if(!s.call(l,h))continue;f=l[h],this.attribute(h,f)}else r(u)&&(u=u.apply()),this.options.keepNullAttributes&&u==null?this.attribs[l]=new b(this,l,""):u!=null&&(this.attribs[l]=new b(this,l,u));return this},a.prototype.removeAttribute=function(l){var u,h,f;if(l==null)throw new Error("Missing attribute name. "+this.debugInfo());if(l=o(l),Array.isArray(l))for(h=0,f=l.length;h<f;h++)u=l[h],delete this.attribs[u];else delete this.attribs[l];return this},a.prototype.toString=function(l){return this.options.writer.element(this,this.options.writer.filterOptions(l))},a.prototype.att=function(l,u){return this.attribute(l,u)},a.prototype.a=function(l,u){return this.attribute(l,u)},a.prototype.getAttribute=function(l){return this.attribs.hasOwnProperty(l)?this.attribs[l].value:null},a.prototype.setAttribute=function(l,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNode=function(l){return this.attribs.hasOwnProperty(l)?this.attribs[l]:null},a.prototype.setAttributeNode=function(l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.removeAttributeNode=function(l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagName=function(l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNS=function(l,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setAttributeNS=function(l,u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.removeAttributeNS=function(l,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNodeNS=function(l,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setAttributeNodeNS=function(l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(l,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.hasAttribute=function(l){return this.attribs.hasOwnProperty(l)},a.prototype.hasAttributeNS=function(l,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setIdAttribute=function(l,u){return this.attribs.hasOwnProperty(l)?this.attribs[l].isId:u},a.prototype.setIdAttributeNS=function(l,u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setIdAttributeNode=function(l,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagName=function(l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(l,u){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByClassName=function(l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(l){var u,h,f;if(!a.__super__.isEqualNode.apply(this,arguments).isEqualNode(l))return!1;if(l.namespaceURI!==this.namespaceURI)return!1;if(l.prefix!==this.prefix)return!1;if(l.localName!==this.localName)return!1;if(l.attribs.length!==this.attribs.length)return!1;for(u=h=0,f=this.attribs.length-1;0<=f?h<=f:h>=f;u=0<=f?++h:--h)if(!this.attribs[u].isEqualNode(l.attribs[u]))return!1;return!0},a}(c)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/keys"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A;k.exports=A=function(){function b(m){this.nodes=m}return Object.defineProperty(b.prototype,"length",{get:function(){return(0,x.default)(this.nodes).length||0}}),b.prototype.clone=function(){return this.nodes=null},b.prototype.getNamedItem=function(m){return this.nodes[m]},b.prototype.setNamedItem=function(m){var p;return p=this.nodes[m.nodeName],this.nodes[m.nodeName]=m,p||null},b.prototype.removeNamedItem=function(m){var p;return p=this.nodes[m],delete this.nodes[m],p||null},b.prototype.item=function(m){return this.nodes[(0,x.default)(this.nodes)[m]]||null},b.prototype.getNamedItemNS=function(m,p){throw new Error("This DOM method is not implemented.")},b.prototype.setNamedItemNS=function(m){throw new Error("This DOM method is not implemented.")},b.prototype.removeNamedItemNS=function(m,p){throw new Error("This DOM method is not implemented.")},b}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(H,k,d){"use strict";(function(){var _,x,C,A,b,m,p,c,o,r,i,n,t,s,e,a,l,u,h,f={}.hasOwnProperty;h=H("./Utility"),u=h.isObject,l=h.isFunction,a=h.isEmpty,e=h.getValue,c=null,C=null,A=null,b=null,m=null,t=null,s=null,n=null,p=null,x=null,i=null,o=null,_=null,k.exports=r=function(){function g(v){this.parent=v,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,c||(c=H("./XMLElement"),C=H("./XMLCData"),A=H("./XMLComment"),b=H("./XMLDeclaration"),m=H("./XMLDocType"),t=H("./XMLRaw"),s=H("./XMLText"),n=H("./XMLProcessingInstruction"),p=H("./XMLDummy"),x=H("./NodeType"),i=H("./XMLNodeList"),o=H("./XMLNamedNodeMap"),_=H("./DocumentPosition"))}return Object.defineProperty(g.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(g.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(g.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(g.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(g.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new i(this.children)),this.childNodeList}}),Object.defineProperty(g.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(g.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(g.prototype,"previousSibling",{get:function(){var y;return y=this.parent.children.indexOf(this),this.parent.children[y-1]||null}}),Object.defineProperty(g.prototype,"nextSibling",{get:function(){var y;return y=this.parent.children.indexOf(this),this.parent.children[y+1]||null}}),Object.defineProperty(g.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(g.prototype,"textContent",{get:function(){var y,E,T,w,S;if(this.nodeType===x.Element||this.nodeType===x.DocumentFragment){for(S="",w=this.children,E=0,T=w.length;E<T;E++)y=w[E],y.textContent&&(S+=y.textContent);return S}else return null},set:function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),g.prototype.setParent=function(v){var y,E,T,w,S;for(this.parent=v,v&&(this.options=v.options,this.stringify=v.stringify),w=this.children,S=[],E=0,T=w.length;E<T;E++)y=w[E],S.push(y.setParent(this));return S},g.prototype.element=function(v,y,E){var T,w,S,I,L,O,N,R,D,B,M;if(O=null,y===null&&E==null&&(D=[{},null],y=D[0],E=D[1]),y==null&&(y={}),y=e(y),u(y)||(B=[y,E],E=B[0],y=B[1]),v!=null&&(v=e(v)),Array.isArray(v))for(S=0,N=v.length;S<N;S++)w=v[S],O=this.element(w);else if(l(v))O=this.element(v.apply());else if(u(v))for(L in v){if(!f.call(v,L))continue;if(M=v[L],l(M)&&(M=M.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&L.indexOf(this.stringify.convertAttKey)===0)O=this.attribute(L.substr(this.stringify.convertAttKey.length),M);else if(!this.options.separateArrayItems&&Array.isArray(M)&&a(M))O=this.dummy();else if(u(M)&&a(M))O=this.element(L);else if(!this.options.keepNullNodes&&M==null)O=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(M))for(I=0,R=M.length;I<R;I++)w=M[I],T={},T[L]=w,O=this.element(T);else u(M)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?O=this.element(M):(O=this.element(L),O.element(M)):O=this.element(L,M)}else!this.options.keepNullNodes&&E===null?O=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&v.indexOf(this.stringify.convertTextKey)===0?O=this.text(E):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&v.indexOf(this.stringify.convertCDataKey)===0?O=this.cdata(E):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&v.indexOf(this.stringify.convertCommentKey)===0?O=this.comment(E):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&v.indexOf(this.stringify.convertRawKey)===0?O=this.raw(E):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&v.indexOf(this.stringify.convertPIKey)===0?O=this.instruction(v.substr(this.stringify.convertPIKey.length),E):O=this.node(v,y,E);if(O==null)throw new Error("Could not create any elements with: "+v+". "+this.debugInfo());return O},g.prototype.insertBefore=function(v,y,E){var T,w,S,I,L;if(v!=null?v.type:void 0)return S=v,I=y,S.setParent(this),I?(w=children.indexOf(I),L=children.splice(w),children.push(S),Array.prototype.push.apply(children,L)):children.push(S),S;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(v));return w=this.parent.children.indexOf(this),L=this.parent.children.splice(w),T=this.parent.element(v,y,E),Array.prototype.push.apply(this.parent.children,L),T},g.prototype.insertAfter=function(v,y,E){var T,w,S;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(v));return w=this.parent.children.indexOf(this),S=this.parent.children.splice(w+1),T=this.parent.element(v,y,E),Array.prototype.push.apply(this.parent.children,S),T},g.prototype.remove=function(){var v,y;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return v=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[v,v-v+1].concat(y=[])),this.parent},g.prototype.node=function(v,y,E){var T,w;return v!=null&&(v=e(v)),y||(y={}),y=e(y),u(y)||(w=[y,E],E=w[0],y=w[1]),T=new c(this,v,y),E!=null&&T.text(E),this.children.push(T),T},g.prototype.text=function(v){var y;return u(v)&&this.element(v),y=new s(this,v),this.children.push(y),this},g.prototype.cdata=function(v){var y;return y=new C(this,v),this.children.push(y),this},g.prototype.comment=function(v){var y;return y=new A(this,v),this.children.push(y),this},g.prototype.commentBefore=function(v){var y,E,T;return E=this.parent.children.indexOf(this),T=this.parent.children.splice(E),y=this.parent.comment(v),Array.prototype.push.apply(this.parent.children,T),this},g.prototype.commentAfter=function(v){var y,E,T;return E=this.parent.children.indexOf(this),T=this.parent.children.splice(E+1),y=this.parent.comment(v),Array.prototype.push.apply(this.parent.children,T),this},g.prototype.raw=function(v){var y;return y=new t(this,v),this.children.push(y),this},g.prototype.dummy=function(){var v;return v=new p(this),v},g.prototype.instruction=function(v,y){var E,T,w,S,I;if(v!=null&&(v=e(v)),y!=null&&(y=e(y)),Array.isArray(v))for(S=0,I=v.length;S<I;S++)E=v[S],this.instruction(E);else if(u(v))for(E in v){if(!f.call(v,E))continue;T=v[E],this.instruction(E,T)}else l(y)&&(y=y.apply()),w=new n(this,v,y),this.children.push(w);return this},g.prototype.instructionBefore=function(v,y){var E,T,w;return T=this.parent.children.indexOf(this),w=this.parent.children.splice(T),E=this.parent.instruction(v,y),Array.prototype.push.apply(this.parent.children,w),this},g.prototype.instructionAfter=function(v,y){var E,T,w;return T=this.parent.children.indexOf(this),w=this.parent.children.splice(T+1),E=this.parent.instruction(v,y),Array.prototype.push.apply(this.parent.children,w),this},g.prototype.declaration=function(v,y,E){var T,w;return T=this.document(),w=new b(T,v,y,E),T.children.length===0?T.children.unshift(w):T.children[0].type===x.Declaration?T.children[0]=w:T.children.unshift(w),T.root()||T},g.prototype.dtd=function(v,y){var E,T,w,S,I,L,O,N,R,D;for(T=this.document(),w=new m(T,v,y),R=T.children,S=I=0,O=R.length;I<O;S=++I)if(E=R[S],E.type===x.DocType)return T.children[S]=w,w;for(D=T.children,S=L=0,N=D.length;L<N;S=++L)if(E=D[S],E.isRoot)return T.children.splice(S,0,w),w;return T.children.push(w),w},g.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},g.prototype.root=function(){var v;for(v=this;v;){if(v.type===x.Document)return v.rootObject;if(v.isRoot)return v;v=v.parent}},g.prototype.document=function(){var v;for(v=this;v;){if(v.type===x.Document)return v;v=v.parent}},g.prototype.end=function(v){return this.document().end(v)},g.prototype.prev=function(){var v;if(v=this.parent.children.indexOf(this),v<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[v-1]},g.prototype.next=function(){var v;if(v=this.parent.children.indexOf(this),v===-1||v===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[v+1]},g.prototype.importDocument=function(v){var y;return y=v.root().clone(),y.parent=this,y.isRoot=!1,this.children.push(y),this},g.prototype.debugInfo=function(v){var y,E;return v=v||this.name,v==null&&!((y=this.parent)!=null?y.name:void 0)?"":v==null?"parent: <"+this.parent.name+">":((E=this.parent)!=null?E.name:void 0)?"node: <"+v+">, parent: <"+this.parent.name+">":"node: <"+v+">"},g.prototype.ele=function(v,y,E){return this.element(v,y,E)},g.prototype.nod=function(v,y,E){return this.node(v,y,E)},g.prototype.txt=function(v){return this.text(v)},g.prototype.dat=function(v){return this.cdata(v)},g.prototype.com=function(v){return this.comment(v)},g.prototype.ins=function(v,y){return this.instruction(v,y)},g.prototype.doc=function(){return this.document()},g.prototype.dec=function(v,y,E){return this.declaration(v,y,E)},g.prototype.e=function(v,y,E){return this.element(v,y,E)},g.prototype.n=function(v,y,E){return this.node(v,y,E)},g.prototype.t=function(v){return this.text(v)},g.prototype.d=function(v){return this.cdata(v)},g.prototype.c=function(v){return this.comment(v)},g.prototype.r=function(v){return this.raw(v)},g.prototype.i=function(v,y){return this.instruction(v,y)},g.prototype.u=function(){return this.up()},g.prototype.importXMLBuilder=function(v){return this.importDocument(v)},g.prototype.replaceChild=function(v,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.removeChild=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.appendChild=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.hasChildNodes=function(){return this.children.length!==0},g.prototype.cloneNode=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.isSupported=function(v,y){return!0},g.prototype.hasAttributes=function(){return this.attribs.length!==0},g.prototype.compareDocumentPosition=function(v){var y,E;return y=this,y===v?0:this.document()!==v.document()?(E=_.Disconnected|_.ImplementationSpecific,Math.random()<.5?E|=_.Preceding:E|=_.Following,E):y.isAncestor(v)?_.Contains|_.Preceding:y.isDescendant(v)?_.Contains|_.Following:y.isPreceding(v)?_.Preceding:_.Following},g.prototype.isSameNode=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.lookupPrefix=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.isDefaultNamespace=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.lookupNamespaceURI=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.isEqualNode=function(v){var y,E,T;if(v.nodeType!==this.nodeType)return!1;if(v.children.length!==this.children.length)return!1;for(y=E=0,T=this.children.length-1;0<=T?E<=T:E>=T;y=0<=T?++E:--E)if(!this.children[y].isEqualNode(v.children[y]))return!1;return!0},g.prototype.getFeature=function(v,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.setUserData=function(v,y,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.getUserData=function(v){throw new Error("This DOM method is not implemented."+this.debugInfo())},g.prototype.contains=function(v){return v?v===this||this.isDescendant(v):!1},g.prototype.isDescendant=function(v){var y,E,T,w,S;for(S=this.children,T=0,w=S.length;T<w;T++){if(y=S[T],v===y)return!0;if(E=y.isDescendant(v),E)return!0}return!1},g.prototype.isAncestor=function(v){return v.isDescendant(this)},g.prototype.isPreceding=function(v){var y,E;return y=this.treePosition(v),E=this.treePosition(this),y===-1||E===-1?!1:y<E},g.prototype.isFollowing=function(v){var y,E;return y=this.treePosition(v),E=this.treePosition(this),y===-1||E===-1?!1:y>E},g.prototype.treePosition=function(v){var y,E;return E=0,y=!1,this.foreachTreeNode(this.document(),function(T){if(E++,!y&&T===v)return y=!0}),y?E:-1},g.prototype.foreachTreeNode=function(v,y){var E,T,w,S,I;for(v||(v=this.document()),S=v.children,T=0,w=S.length;T<w;T++){if(E=S[T],I=y(E))return I;if(I=this.foreachTreeNode(E,y),I)return I}},g}()}).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(H,k,d){"use strict";(function(){var _;k.exports=_=function(){function x(C){this.nodes=C}return Object.defineProperty(x.prototype,"length",{get:function(){return this.nodes.length||0}}),x.prototype.clone=function(){return this.nodes=null},x.prototype.item=function(C){return this.nodes[C]||null},x}()}).call(void 0)},{}],275:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m,p=function(r,i){for(var n in i)c.call(i,n)&&(r[n]=i[n]);function t(){this.constructor=r}return t.prototype=i.prototype,r.prototype=new t,r.__super__=i.prototype,r},c={}.hasOwnProperty;A=H("./NodeType"),b=H("./XMLCharacterData"),k.exports=m=function(o){p(r,o);function r(i,n,t){if(r.__super__.constructor.call(this,i),n==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=A.ProcessingInstruction,this.target=this.stringify.insTarget(n),this.name=this.target,t&&(this.value=this.stringify.insValue(t))}return r.prototype.clone=function(){return(0,x.default)(this)},r.prototype.toString=function(i){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(i))},r.prototype.isEqualNode=function(i){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(i)?!(i.target!==this.target):!1},r}(b)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m,p=function(r,i){for(var n in i)c.call(i,n)&&(r[n]=i[n]);function t(){this.constructor=r}return t.prototype=i.prototype,r.prototype=new t,r.__super__=i.prototype,r},c={}.hasOwnProperty;A=H("./NodeType"),b=H("./XMLNode"),k.exports=m=function(o){p(r,o);function r(i,n){if(r.__super__.constructor.call(this,i),n==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=A.Raw,this.value=this.stringify.raw(n)}return r.prototype.clone=function(){return(0,x.default)(this)},r.prototype.toString=function(i){return this.options.writer.raw(this,this.options.writer.filterOptions(i))},r}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(H,k,d){"use strict";(function(){var _,x,C,A,b=function(c,o){for(var r in o)m.call(o,r)&&(c[r]=o[r]);function i(){this.constructor=c}return i.prototype=o.prototype,c.prototype=new i,c.__super__=o.prototype,c},m={}.hasOwnProperty;_=H("./NodeType"),A=H("./XMLWriterBase"),x=H("./WriterState"),k.exports=C=function(p){b(c,p);function c(o,r){this.stream=o,c.__super__.constructor.call(this,r)}return c.prototype.endline=function(o,r,i){return o.isLastRootNode&&r.state===x.CloseTag?"":c.__super__.endline.call(this,o,r,i)},c.prototype.document=function(o,r){var i,n,t,s,e,a,l,u,h;for(l=o.children,n=t=0,e=l.length;t<e;n=++t)i=l[n],i.isLastRootNode=n===o.children.length-1;for(r=this.filterOptions(r),u=o.children,h=[],s=0,a=u.length;s<a;s++)i=u[s],h.push(this.writeChildNode(i,r,0));return h},c.prototype.attribute=function(o,r,i){return this.stream.write(c.__super__.attribute.call(this,o,r,i))},c.prototype.cdata=function(o,r,i){return this.stream.write(c.__super__.cdata.call(this,o,r,i))},c.prototype.comment=function(o,r,i){return this.stream.write(c.__super__.comment.call(this,o,r,i))},c.prototype.declaration=function(o,r,i){return this.stream.write(c.__super__.declaration.call(this,o,r,i))},c.prototype.docType=function(o,r,i){var n,t,s,e;if(i||(i=0),this.openNode(o,r,i),r.state=x.OpenTag,this.stream.write(this.indent(o,r,i)),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,r,i)),r.state=x.InsideTag,e=o.children,t=0,s=e.length;t<s;t++)n=e[t],this.writeChildNode(n,r,i+1);r.state=x.CloseTag,this.stream.write("]")}return r.state=x.CloseTag,this.stream.write(r.spaceBeforeSlash+">"),this.stream.write(this.endline(o,r,i)),r.state=x.None,this.closeNode(o,r,i)},c.prototype.element=function(o,r,i){var n,t,s,e,a,l,u,h,f,g;i||(i=0),this.openNode(o,r,i),r.state=x.OpenTag,this.stream.write(this.indent(o,r,i)+"<"+o.name),f=o.attribs;for(u in f){if(!m.call(f,u))continue;n=f[u],this.attribute(n,r,i)}if(s=o.children.length,e=s===0?null:o.children[0],s===0||o.children.every(function(v){return(v.type===_.Text||v.type===_.Raw)&&v.value===""}))r.allowEmpty?(this.stream.write(">"),r.state=x.CloseTag,this.stream.write("</"+o.name+">")):(r.state=x.CloseTag,this.stream.write(r.spaceBeforeSlash+"/>"));else if(r.pretty&&s===1&&(e.type===_.Text||e.type===_.Raw)&&e.value!=null)this.stream.write(">"),r.state=x.InsideTag,r.suppressPrettyCount++,h=!0,this.writeChildNode(e,r,i+1),r.suppressPrettyCount--,h=!1,r.state=x.CloseTag,this.stream.write("</"+o.name+">");else{for(this.stream.write(">"+this.endline(o,r,i)),r.state=x.InsideTag,g=o.children,a=0,l=g.length;a<l;a++)t=g[a],this.writeChildNode(t,r,i+1);r.state=x.CloseTag,this.stream.write(this.indent(o,r,i)+"</"+o.name+">")}return this.stream.write(this.endline(o,r,i)),r.state=x.None,this.closeNode(o,r,i)},c.prototype.processingInstruction=function(o,r,i){return this.stream.write(c.__super__.processingInstruction.call(this,o,r,i))},c.prototype.raw=function(o,r,i){return this.stream.write(c.__super__.raw.call(this,o,r,i))},c.prototype.text=function(o,r,i){return this.stream.write(c.__super__.text.call(this,o,r,i))},c.prototype.dtdAttList=function(o,r,i){return this.stream.write(c.__super__.dtdAttList.call(this,o,r,i))},c.prototype.dtdElement=function(o,r,i){return this.stream.write(c.__super__.dtdElement.call(this,o,r,i))},c.prototype.dtdEntity=function(o,r,i){return this.stream.write(c.__super__.dtdEntity.call(this,o,r,i))},c.prototype.dtdNotation=function(o,r,i){return this.stream.write(c.__super__.dtdNotation.call(this,o,r,i))},c}(A)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(H,k,d){"use strict";(function(){var _,x,C=function(m,p){for(var c in p)A.call(p,c)&&(m[c]=p[c]);function o(){this.constructor=m}return o.prototype=p.prototype,m.prototype=new o,m.__super__=p.prototype,m},A={}.hasOwnProperty;x=H("./XMLWriterBase"),k.exports=_=function(b){C(m,b);function m(p){m.__super__.constructor.call(this,p)}return m.prototype.document=function(p,c){var o,r,i,n,t;for(c=this.filterOptions(c),n="",t=p.children,r=0,i=t.length;r<i;r++)o=t[r],n+=this.writeChildNode(o,c,0);return c.pretty&&n.slice(-c.newline.length)===c.newline&&(n=n.slice(0,-c.newline.length)),n},m}(x)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(H,k,d){"use strict";(function(){var _,x=function(b,m){return function(){return b.apply(m,arguments)}},C={}.hasOwnProperty;k.exports=_=function(){function A(b){this.assertLegalName=x(this.assertLegalName,this),this.assertLegalChar=x(this.assertLegalChar,this);var m,p,c;b||(b={}),this.options=b,this.options.version||(this.options.version="1.0"),p=b.stringify||{};for(m in p){if(!C.call(p,m))continue;c=p[m],this[m]=c}}return A.prototype.name=function(b){return this.options.noValidation?b:this.assertLegalName(""+b||"")},A.prototype.text=function(b){return this.options.noValidation?b:this.assertLegalChar(this.textEscape(""+b||""))},A.prototype.cdata=function(b){return this.options.noValidation?b:(b=""+b||"",b=b.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(b))},A.prototype.comment=function(b){if(this.options.noValidation)return b;if(b=""+b||"",b.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+b);return this.assertLegalChar(b)},A.prototype.raw=function(b){return this.options.noValidation?b:""+b||""},A.prototype.attValue=function(b){return this.options.noValidation?b:this.assertLegalChar(this.attEscape(b=""+b||""))},A.prototype.insTarget=function(b){return this.options.noValidation?b:this.assertLegalChar(""+b||"")},A.prototype.insValue=function(b){if(this.options.noValidation)return b;if(b=""+b||"",b.match(/\?>/))throw new Error("Invalid processing instruction value: "+b);return this.assertLegalChar(b)},A.prototype.xmlVersion=function(b){if(this.options.noValidation)return b;if(b=""+b||"",!b.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+b);return b},A.prototype.xmlEncoding=function(b){if(this.options.noValidation)return b;if(b=""+b||"",!b.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+b);return this.assertLegalChar(b)},A.prototype.xmlStandalone=function(b){return this.options.noValidation?b:b?"yes":"no"},A.prototype.dtdPubID=function(b){return this.options.noValidation?b:this.assertLegalChar(""+b||"")},A.prototype.dtdSysID=function(b){return this.options.noValidation?b:this.assertLegalChar(""+b||"")},A.prototype.dtdElementValue=function(b){return this.options.noValidation?b:this.assertLegalChar(""+b||"")},A.prototype.dtdAttType=function(b){return this.options.noValidation?b:this.assertLegalChar(""+b||"")},A.prototype.dtdAttDefault=function(b){return this.options.noValidation?b:this.assertLegalChar(""+b||"")},A.prototype.dtdEntityValue=function(b){return this.options.noValidation?b:this.assertLegalChar(""+b||"")},A.prototype.dtdNData=function(b){return this.options.noValidation?b:this.assertLegalChar(""+b||"")},A.prototype.convertAttKey="@",A.prototype.convertPIKey="?",A.prototype.convertTextKey="#text",A.prototype.convertCDataKey="#cdata",A.prototype.convertCommentKey="#comment",A.prototype.convertRawKey="#raw",A.prototype.assertLegalChar=function(b){var m,p;if(this.options.noValidation)return b;if(m="",this.options.version==="1.0"){if(m=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=b.match(m))throw new Error("Invalid character in string: "+b+" at index "+p.index)}else if(this.options.version==="1.1"&&(m=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=b.match(m)))throw new Error("Invalid character in string: "+b+" at index "+p.index);return b},A.prototype.assertLegalName=function(b){var m;if(this.options.noValidation)return b;if(this.assertLegalChar(b),m=/^([: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])*$/,!b.match(m))throw new Error("Invalid character in name");return b},A.prototype.textEscape=function(b){var m;return this.options.noValidation?b:(m=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,b.replace(m,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},A.prototype.attEscape=function(b){var m;return this.options.noValidation?b:(m=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,b.replace(m,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},A}()}).call(void 0)},{}],280:[function(H,k,d){"use strict";var _=H("babel-runtime/core-js/object/create"),x=C(_);function C(A){return A&&A.__esModule?A:{default:A}}(function(){var A,b,m,p=function(r,i){for(var n in i)c.call(i,n)&&(r[n]=i[n]);function t(){this.constructor=r}return t.prototype=i.prototype,r.prototype=new t,r.__super__=i.prototype,r},c={}.hasOwnProperty;A=H("./NodeType"),b=H("./XMLCharacterData"),k.exports=m=function(o){p(r,o);function r(i,n){if(r.__super__.constructor.call(this,i),n==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=A.Text,this.value=this.stringify.text(n)}return Object.defineProperty(r.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(r.prototype,"wholeText",{get:function(){var n,t,s;for(s="",t=this.previousSibling;t;)s=t.data+s,t=t.previousSibling;for(s+=this.data,n=this.nextSibling;n;)s=s+n.data,n=n.nextSibling;return s}}),r.prototype.clone=function(){return(0,x.default)(this)},r.prototype.toString=function(i){return this.options.writer.text(this,this.options.writer.filterOptions(i))},r.prototype.splitText=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.replaceWholeText=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},r}(b)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(H,k,d){"use strict";(function(){var _,x,C,A,b,m,p,c,o,r,i,n,t,s,e,a,l,u={}.hasOwnProperty;l=H("./Utility").assign,_=H("./NodeType"),o=H("./XMLDeclaration"),r=H("./XMLDocType"),C=H("./XMLCData"),A=H("./XMLComment"),n=H("./XMLElement"),s=H("./XMLRaw"),e=H("./XMLText"),t=H("./XMLProcessingInstruction"),i=H("./XMLDummy"),b=H("./XMLDTDAttList"),m=H("./XMLDTDElement"),p=H("./XMLDTDEntity"),c=H("./XMLDTDNotation"),x=H("./WriterState"),k.exports=a=function(){function h(f){var g,v,y;f||(f={}),this.options=f,v=f.writer||{};for(g in v){if(!u.call(v,g))continue;y=v[g],this["_"+g]=this[g],this[g]=y}}return h.prototype.filterOptions=function(f){var g,v,y,E,T,w,S,I;return f||(f={}),f=l({},this.options,f),g={writer:this},g.pretty=f.pretty||!1,g.allowEmpty=f.allowEmpty||!1,g.indent=(v=f.indent)!=null?v:" ",g.newline=(y=f.newline)!=null?y:`
`,g.offset=(E=f.offset)!=null?E:0,g.dontPrettyTextNodes=(T=(w=f.dontPrettyTextNodes)!=null?w:f.dontprettytextnodes)!=null?T:0,g.spaceBeforeSlash=(S=(I=f.spaceBeforeSlash)!=null?I:f.spacebeforeslash)!=null?S:"",g.spaceBeforeSlash===!0&&(g.spaceBeforeSlash=" "),g.suppressPrettyCount=0,g.user={},g.state=x.None,g},h.prototype.indent=function(f,g,v){var y;return!g.pretty||g.suppressPrettyCount?"":g.pretty&&(y=(v||0)+g.offset+1,y>0)?new Array(y).join(g.indent):""},h.prototype.endline=function(f,g,v){return!g.pretty||g.suppressPrettyCount?"":g.newline},h.prototype.attribute=function(f,g,v){var y;return this.openAttribute(f,g,v),y=" "+f.name+'="'+f.value+'"',this.closeAttribute(f,g,v),y},h.prototype.cdata=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v)+"<![CDATA[",g.state=x.InsideTag,y+=f.value,g.state=x.CloseTag,y+="]]>"+this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.comment=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v)+"<!-- ",g.state=x.InsideTag,y+=f.value,g.state=x.CloseTag,y+=" -->"+this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.declaration=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v)+"<?xml",g.state=x.InsideTag,y+=' version="'+f.version+'"',f.encoding!=null&&(y+=' encoding="'+f.encoding+'"'),f.standalone!=null&&(y+=' standalone="'+f.standalone+'"'),g.state=x.CloseTag,y+=g.spaceBeforeSlash+"?>",y+=this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.docType=function(f,g,v){var y,E,T,w,S;if(v||(v=0),this.openNode(f,g,v),g.state=x.OpenTag,w=this.indent(f,g,v),w+="<!DOCTYPE "+f.root().name,f.pubID&&f.sysID?w+=' PUBLIC "'+f.pubID+'" "'+f.sysID+'"':f.sysID&&(w+=' SYSTEM "'+f.sysID+'"'),f.children.length>0){for(w+=" [",w+=this.endline(f,g,v),g.state=x.InsideTag,S=f.children,E=0,T=S.length;E<T;E++)y=S[E],w+=this.writeChildNode(y,g,v+1);g.state=x.CloseTag,w+="]"}return g.state=x.CloseTag,w+=g.spaceBeforeSlash+">",w+=this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),w},h.prototype.element=function(f,g,v){var y,E,T,w,S,I,L,O,N,R,D,B,M,U;v||(v=0),R=!1,D="",this.openNode(f,g,v),g.state=x.OpenTag,D+=this.indent(f,g,v)+"<"+f.name,B=f.attribs;for(N in B){if(!u.call(B,N))continue;y=B[N],D+=this.attribute(y,g,v)}if(T=f.children.length,w=T===0?null:f.children[0],T===0||f.children.every(function(F){return(F.type===_.Text||F.type===_.Raw)&&F.value===""}))g.allowEmpty?(D+=">",g.state=x.CloseTag,D+="</"+f.name+">"+this.endline(f,g,v)):(g.state=x.CloseTag,D+=g.spaceBeforeSlash+"/>"+this.endline(f,g,v));else if(g.pretty&&T===1&&(w.type===_.Text||w.type===_.Raw)&&w.value!=null)D+=">",g.state=x.InsideTag,g.suppressPrettyCount++,R=!0,D+=this.writeChildNode(w,g,v+1),g.suppressPrettyCount--,R=!1,g.state=x.CloseTag,D+="</"+f.name+">"+this.endline(f,g,v);else{if(g.dontPrettyTextNodes){for(M=f.children,S=0,L=M.length;S<L;S++)if(E=M[S],(E.type===_.Text||E.type===_.Raw)&&E.value!=null){g.suppressPrettyCount++,R=!0;break}}for(D+=">"+this.endline(f,g,v),g.state=x.InsideTag,U=f.children,I=0,O=U.length;I<O;I++)E=U[I],D+=this.writeChildNode(E,g,v+1);g.state=x.CloseTag,D+=this.indent(f,g,v)+"</"+f.name+">",R&&g.suppressPrettyCount--,D+=this.endline(f,g,v),g.state=x.None}return this.closeNode(f,g,v),D},h.prototype.writeChildNode=function(f,g,v){switch(f.type){case _.CData:return this.cdata(f,g,v);case _.Comment:return this.comment(f,g,v);case _.Element:return this.element(f,g,v);case _.Raw:return this.raw(f,g,v);case _.Text:return this.text(f,g,v);case _.ProcessingInstruction:return this.processingInstruction(f,g,v);case _.Dummy:return"";case _.Declaration:return this.declaration(f,g,v);case _.DocType:return this.docType(f,g,v);case _.AttributeDeclaration:return this.dtdAttList(f,g,v);case _.ElementDeclaration:return this.dtdElement(f,g,v);case _.EntityDeclaration:return this.dtdEntity(f,g,v);case _.NotationDeclaration:return this.dtdNotation(f,g,v);default:throw new Error("Unknown XML node type: "+f.constructor.name)}},h.prototype.processingInstruction=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v)+"<?",g.state=x.InsideTag,y+=f.target,f.value&&(y+=" "+f.value),g.state=x.CloseTag,y+=g.spaceBeforeSlash+"?>",y+=this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.raw=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v),g.state=x.InsideTag,y+=f.value,g.state=x.CloseTag,y+=this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.text=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v),g.state=x.InsideTag,y+=f.value,g.state=x.CloseTag,y+=this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.dtdAttList=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v)+"<!ATTLIST",g.state=x.InsideTag,y+=" "+f.elementName+" "+f.attributeName+" "+f.attributeType,f.defaultValueType!=="#DEFAULT"&&(y+=" "+f.defaultValueType),f.defaultValue&&(y+=' "'+f.defaultValue+'"'),g.state=x.CloseTag,y+=g.spaceBeforeSlash+">"+this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.dtdElement=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v)+"<!ELEMENT",g.state=x.InsideTag,y+=" "+f.name+" "+f.value,g.state=x.CloseTag,y+=g.spaceBeforeSlash+">"+this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.dtdEntity=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v)+"<!ENTITY",g.state=x.InsideTag,f.pe&&(y+=" %"),y+=" "+f.name,f.value?y+=' "'+f.value+'"':(f.pubID&&f.sysID?y+=' PUBLIC "'+f.pubID+'" "'+f.sysID+'"':f.sysID&&(y+=' SYSTEM "'+f.sysID+'"'),f.nData&&(y+=" NDATA "+f.nData)),g.state=x.CloseTag,y+=g.spaceBeforeSlash+">"+this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.dtdNotation=function(f,g,v){var y;return this.openNode(f,g,v),g.state=x.OpenTag,y=this.indent(f,g,v)+"<!NOTATION",g.state=x.InsideTag,y+=" "+f.name,f.pubID&&f.sysID?y+=' PUBLIC "'+f.pubID+'" "'+f.sysID+'"':f.pubID?y+=' PUBLIC "'+f.pubID+'"':f.sysID&&(y+=' SYSTEM "'+f.sysID+'"'),g.state=x.CloseTag,y+=g.spaceBeforeSlash+">"+this.endline(f,g,v),g.state=x.None,this.closeNode(f,g,v),y},h.prototype.openNode=function(f,g,v){},h.prototype.closeNode=function(f,g,v){},h.prototype.openAttribute=function(f,g,v){},h.prototype.closeAttribute=function(f,g,v){},h}()}).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(H,k,d){"use strict";(function(){var _,x,C,A,b,m,p,c,o,r;r=H("./Utility"),c=r.assign,o=r.isFunction,C=H("./XMLDOMImplementation"),A=H("./XMLDocument"),b=H("./XMLDocumentCB"),p=H("./XMLStringWriter"),m=H("./XMLStreamWriter"),_=H("./NodeType"),x=H("./WriterState"),k.exports.create=function(i,n,t,s){var e,a;if(i==null)throw new Error("Root element needs a name.");return s=c({},n,t,s),e=new A(s),a=e.element(i),s.headless||(e.declaration(s),(s.pubID!=null||s.sysID!=null)&&e.dtd(s)),a},k.exports.begin=function(i,n,t){var s;return o(i)&&(s=[i,n],n=s[0],t=s[1],i={}),n?new b(i,n,t):new A(i)},k.exports.stringWriter=function(i){return new p(i)},k.exports.streamWriter=function(i,n){return new m(i,n)},k.exports.implementation=new C,k.exports.nodeType=_,k.exports.writerState=x}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(H,k,d){k.exports=x;var _=Object.prototype.hasOwnProperty;function x(){for(var C={},A=0;A<arguments.length;A++){var b=arguments[A];for(var m in b)_.call(b,m)&&(C[m]=b[m])}return C}},{}],284:[function(H,k,d){"use strict";var _=H("buffer").Buffer,x=H("./sha"),C=H("./md5"),A={sha1:x,md5:C},b=64,m=_.alloc(b);m.fill(0);function p(r,i,n){_.isBuffer(i)||(i=_.from(i)),_.isBuffer(n)||(n=_.from(n)),i.length>b?i=r(i):i.length<b&&(i=_.concat([i,m],b));for(var t=_.alloc(b),s=_.alloc(b),e=0;e<b;e++)t[e]=i[e]^54,s[e]=i[e]^92;var a=r(_.concat([t,n]));return r(_.concat([s,a]))}function c(r,i){r=r||"sha1";var n=A[r],t=[],s=0;return n||o("algorithm:",r,"is not yet supported"),{update:function(a){return _.isBuffer(a)||(a=_.from(a)),t.push(a),s+=a.length,this},digest:function(a){var l=_.concat(t),u=i?p(n,i,l):n(l);return t=null,a?u.toString(a):u}}}function o(){var r=[].slice.call(arguments).join(" ");throw new Error([r,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}d.createHash=function(r){return c(r)},d.createHmac=function(r,i){return c(r,i)},d.createCredentials=function(){o("sorry,createCredentials is not implemented yet")},d.createCipher=function(){o("sorry,createCipher is not implemented yet")},d.createCipheriv=function(){o("sorry,createCipheriv is not implemented yet")},d.createDecipher=function(){o("sorry,createDecipher is not implemented yet")},d.createDecipheriv=function(){o("sorry,createDecipheriv is not implemented yet")},d.createSign=function(){o("sorry,createSign is not implemented yet")},d.createVerify=function(){o("sorry,createVerify is not implemented yet")},d.createDiffieHellman=function(){o("sorry,createDiffieHellman is not implemented yet")},d.pbkdf2=function(){o("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(H,k,d){"use strict";var _=H("buffer").Buffer,x=4,C=_.alloc(x);C.fill(0);var A=8;function b(c,o){if(c.length%x!==0){var r=c.length+(x-c.length%x);c=_.concat([c,C],r)}for(var i=[],n=o?c.readInt32BE:c.readInt32LE,t=0;t<c.length;t+=x)i.push(n.call(c,t));return i}function m(c,o,r){for(var i=_.alloc(o),n=r?i.writeInt32BE:i.writeInt32LE,t=0;t<c.length;t++)n.call(i,c[t],t*4,!0);return i}function p(c,o,r,i){_.isBuffer(c)||(c=_.from(c));var n=o(b(c,i),c.length*A);return m(n,r,i)}k.exports={hash:p}},{buffer:73}],286:[function(H,k,d){"use strict";var _=H("./helpers");function x(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function C(i,n){i[n>>5]|=128<<n%32,i[(n+64>>>9<<4)+14]=n;for(var t=1732584193,s=-271733879,e=-1732584194,a=271733878,l=0;l<i.length;l+=16){var u=t,h=s,f=e,g=a;t=b(t,s,e,a,i[l+0],7,-680876936),a=b(a,t,s,e,i[l+1],12,-389564586),e=b(e,a,t,s,i[l+2],17,606105819),s=b(s,e,a,t,i[l+3],22,-1044525330),t=b(t,s,e,a,i[l+4],7,-176418897),a=b(a,t,s,e,i[l+5],12,1200080426),e=b(e,a,t,s,i[l+6],17,-1473231341),s=b(s,e,a,t,i[l+7],22,-45705983),t=b(t,s,e,a,i[l+8],7,1770035416),a=b(a,t,s,e,i[l+9],12,-1958414417),e=b(e,a,t,s,i[l+10],17,-42063),s=b(s,e,a,t,i[l+11],22,-1990404162),t=b(t,s,e,a,i[l+12],7,1804603682),a=b(a,t,s,e,i[l+13],12,-40341101),e=b(e,a,t,s,i[l+14],17,-1502002290),s=b(s,e,a,t,i[l+15],22,1236535329),t=m(t,s,e,a,i[l+1],5,-165796510),a=m(a,t,s,e,i[l+6],9,-1069501632),e=m(e,a,t,s,i[l+11],14,643717713),s=m(s,e,a,t,i[l+0],20,-373897302),t=m(t,s,e,a,i[l+5],5,-701558691),a=m(a,t,s,e,i[l+10],9,38016083),e=m(e,a,t,s,i[l+15],14,-660478335),s=m(s,e,a,t,i[l+4],20,-405537848),t=m(t,s,e,a,i[l+9],5,568446438),a=m(a,t,s,e,i[l+14],9,-1019803690),e=m(e,a,t,s,i[l+3],14,-187363961),s=m(s,e,a,t,i[l+8],20,1163531501),t=m(t,s,e,a,i[l+13],5,-1444681467),a=m(a,t,s,e,i[l+2],9,-51403784),e=m(e,a,t,s,i[l+7],14,1735328473),s=m(s,e,a,t,i[l+12],20,-1926607734),t=p(t,s,e,a,i[l+5],4,-378558),a=p(a,t,s,e,i[l+8],11,-2022574463),e=p(e,a,t,s,i[l+11],16,1839030562),s=p(s,e,a,t,i[l+14],23,-35309556),t=p(t,s,e,a,i[l+1],4,-1530992060),a=p(a,t,s,e,i[l+4],11,1272893353),e=p(e,a,t,s,i[l+7],16,-155497632),s=p(s,e,a,t,i[l+10],23,-1094730640),t=p(t,s,e,a,i[l+13],4,681279174),a=p(a,t,s,e,i[l+0],11,-358537222),e=p(e,a,t,s,i[l+3],16,-722521979),s=p(s,e,a,t,i[l+6],23,76029189),t=p(t,s,e,a,i[l+9],4,-640364487),a=p(a,t,s,e,i[l+12],11,-421815835),e=p(e,a,t,s,i[l+15],16,530742520),s=p(s,e,a,t,i[l+2],23,-995338651),t=c(t,s,e,a,i[l+0],6,-198630844),a=c(a,t,s,e,i[l+7],10,1126891415),e=c(e,a,t,s,i[l+14],15,-1416354905),s=c(s,e,a,t,i[l+5],21,-57434055),t=c(t,s,e,a,i[l+12],6,1700485571),a=c(a,t,s,e,i[l+3],10,-1894986606),e=c(e,a,t,s,i[l+10],15,-1051523),s=c(s,e,a,t,i[l+1],21,-2054922799),t=c(t,s,e,a,i[l+8],6,1873313359),a=c(a,t,s,e,i[l+15],10,-30611744),e=c(e,a,t,s,i[l+6],15,-1560198380),s=c(s,e,a,t,i[l+13],21,1309151649),t=c(t,s,e,a,i[l+4],6,-145523070),a=c(a,t,s,e,i[l+11],10,-1120210379),e=c(e,a,t,s,i[l+2],15,718787259),s=c(s,e,a,t,i[l+9],21,-343485551),t=o(t,u),s=o(s,h),e=o(e,f),a=o(a,g)}return Array(t,s,e,a)}function A(i,n,t,s,e,a){return o(r(o(o(n,i),o(s,a)),e),t)}function b(i,n,t,s,e,a,l){return A(n&t|~n&s,i,n,e,a,l)}function m(i,n,t,s,e,a,l){return A(n&s|t&~s,i,n,e,a,l)}function p(i,n,t,s,e,a,l){return A(n^t^s,i,n,e,a,l)}function c(i,n,t,s,e,a,l){return A(t^(n|~s),i,n,e,a,l)}function o(i,n){var t=(i&65535)+(n&65535),s=(i>>16)+(n>>16)+(t>>16);return s<<16|t&65535}function r(i,n){return i<<n|i>>>32-n}k.exports=function(n){return _.hash(n,C,16)}},{"./helpers":285}],287:[function(H,k,d){"use strict";var _=H("./helpers");function x(p,c){p[c>>5]|=128<<24-c%32,p[(c+64>>9<<4)+15]=c;for(var o=Array(80),r=1732584193,i=-271733879,n=-1732584194,t=271733878,s=-1009589776,e=0;e<p.length;e+=16){for(var a=r,l=i,u=n,h=t,f=s,g=0;g<80;g++){g<16?o[g]=p[e+g]:o[g]=m(o[g-3]^o[g-8]^o[g-14]^o[g-16],1);var v=b(b(m(r,5),C(g,i,n,t)),b(b(s,o[g]),A(g)));s=t,t=n,n=m(i,30),i=r,r=v}r=b(r,a),i=b(i,l),n=b(n,u),t=b(t,h),s=b(s,f)}return Array(r,i,n,t,s)}function C(p,c,o,r){return p<20?c&o|~c&r:p<40?c^o^r:p<60?c&o|c&r|o&r:c^o^r}function A(p){return p<20?1518500249:p<40?1859775393:p<60?-1894007588:-899497514}function b(p,c){var o=(p&65535)+(c&65535),r=(p>>16)+(c>>16)+(o>>16);return r<<16|o&65535}function m(p,c){return p<<c|p>>>32-c}k.exports=function(c){return _.hash(c,x,20,!0)}},{"./helpers":285}],288:[function(H,k,d){"use strict";k.exports=function(){return function(){}}},{}],289:[function(H,k,d){(function(_){"use strict";var x=H("babel-runtime/helpers/typeof"),C=A(x);function A(r){return r&&r.__esModule?r:{default:r}}var b=H("stream"),m=b.Stream,p=H("../lib/common/utils/isArray"),c=p.isArray;k.exports.string=function(i){return typeof i=="string"},k.exports.array=c,k.exports.buffer=_.isBuffer;function o(r){return r instanceof m}k.exports.writableStream=function(i){return o(i)&&typeof i._write=="function"&&(0,C.default)(i._writableState)==="object"}}).call(this,{isBuffer:H("../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(H,k,d){"use strict";d.encodeURIComponent=function(_){try{return encodeURIComponent(_)}catch(x){return _}},d.escape=H("escape-html"),d.timestamp=function(x){if(x){var C=x;return typeof C=="string"&&(C=Number(C)),String(x).length===10&&(C*=1e3),new Date(C)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(H,k,d){(function(_,x){"use strict";var C=H("babel-runtime/core-js/json/stringify"),A=p(C),b=H("babel-runtime/helpers/typeof"),m=p(b);function p(g){return g&&g.__esModule?g:{default:g}}var c=H("util"),o=H("url"),r=H("http"),i=H("https"),n=H("debug")("urllib"),t=H("humanize-ms"),s,e=0,a=Math.pow(2,31)-10,l=/^https?:\/\//i;function u(g,v){return g===void 0?v:g}function h(g,v){return function(y,E,T){if(y)return v(y);g({data:E,status:T.statusCode,headers:T.headers,res:T})}}d.TIMEOUTS=[t("300s"),t("300s")];var f=["json","text"];d.request=function(v,y,E){return arguments.length===2&&typeof y=="function"&&(E=y,y=null),typeof E=="function"?d.requestWithCallback(v,y,E):(s||(s=H("any-promise")),new s(function(T,w){d.requestWithCallback(v,y,h(T,w))}))},d.requestWithCallback=function(v,y,E){if(!v||typeof v!="string"&&(typeof v=="undefined"?"undefined":(0,m.default)(v))!=="object"){var T=c.format("expect request url to be a string or a http request options, but got %j",v);throw new Error(T)}arguments.length===2&&typeof y=="function"&&(E=y,y=null),y=y||{},e>=a&&(e=0);var w=++e;y.requestUrls=y.requestUrls||[];var S={requestId:w,url:v,args:y,ctx:y.ctx};y.emitter&&y.emitter.emit("request",S),y.timeout=y.timeout||d.TIMEOUTS,y.maxRedirects=y.maxRedirects||10,y.streaming=y.streaming||y.customResponse;var I=Date.now(),L;typeof v=="string"?(l.test(v)||(v="http://"+v),L=o.parse(v)):L=v;var O=(y.type||y.method||L.method||"GET").toUpperCase(),N=L.port||80,R=r,D=u(y.agent,d.agent),B=y.fixJSONCtlChars;L.protocol==="https:"&&(R=i,D=u(y.httpsAgent,d.httpsAgent),L.port||(N=443));var M={host:L.hostname||L.host||"localhost",path:L.path||"/",method:O,port:N,agent:D,headers:y.headers||{},lookup:y.lookup};Array.isArray(y.timeout)?M.requestTimeout=y.timeout[y.timeout.length-1]:typeof y.timeout!="undefined"&&(M.requestTimeout=y.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],F=0;F<U.length;F++){var j=U[F];y.hasOwnProperty(j)&&(M[j]=y[j])}M.rejectUnauthorized===!1&&!M.hasOwnProperty("secureOptions")&&(M.secureOptions=H("constants").SSL_OP_NO_TLSv1_2);var W=y.auth||L.auth;W&&(M.auth=W);var V=y.content||y.data,z=O==="GET"||O==="HEAD"||y.dataAsQueryString;if(!y.content&&(V&&!(typeof V=="string"||x.isBuffer(V))))if(z)V=y.nestedQuerystring?qs.stringify(V):querystring.stringify(V);else{var Y=M.headers["Content-Type"]||M.headers["content-type"];Y||(y.contentType==="json"?Y="application/json":Y="application/x-www-form-urlencoded",M.headers["Content-Type"]=Y),parseContentType(Y).type==="application/json"?V=(0,A.default)(V):V=y.nestedQuerystring?qs.stringify(V):querystring.stringify(V)}z&&V&&(M.path+=(L.query?"&":"?")+V,V=null);var J=0;if(V){var ie=V.length;x.isBuffer(V)||(ie=x.byteLength(V)),J=M.headers["Content-Length"]=ie}y.dataType==="json"&&(M.headers.Accept="application/json"),typeof y.beforeRequest=="function"&&y.beforeRequest(M);var Z=null,oe=null,ge=null,pe=!1,De=!1,ce=0,Oe=-1,se=!1,$="",ze="",re=null;y.timing&&(re={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function X(){Z&&(clearTimeout(Z),Z=null)}function G(){oe&&(clearTimeout(oe),oe=null)}function Q(Le,pt,Qe){if(G(),!E){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),w,_.pid,M.method,v),Le&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),w,_.pid,Le.name,Le.message,Le.stack);return}var gt=E;E=null;var wt={};if(Qe&&(Oe=Qe.statusCode,wt=Qe.headers),Oe===401&&wt["www-authenticate"]&&(!y.headers||!y.headers.Authorization)&&y.digestAuth){var Et=wt["www-authenticate"];if(Et.indexOf("Digest ")>=0)return n("Request#%d %s: got digest auth header WWW-Authenticate: %s",w,v,Et),y.headers=y.headers||{},y.headers.Authorization=digestAuthHeader(M.method,M.path,Et,y.digestAuth),n("Request#%d %s: auth with digest header: %s",w,v,y.headers.Authorization),Qe.headers["set-cookie"]&&(y.headers.Cookie=Qe.headers["set-cookie"].join(";")),d.requestWithCallback(v,y,gt)}var _t=Date.now()-I;re&&(re.contentDownload=_t),n("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",_t,ce,Oe,M.method,M.host,M.path,De,re);var Ht={status:Oe,statusCode:Oe,headers:wt,size:ce,aborted:se,rt:_t,keepAliveSocket:De,data:pt,requestUrls:y.requestUrls,timing:re,remoteAddress:$,remotePort:ze};if(Le){var Ze="";D&&typeof D.getCurrentStatus=="function"&&(Ze=", agent status: "+(0,A.default)(D.getCurrentStatus())),Le.message+=", "+M.method+" "+v+" "+Oe+" (connected: "+pe+", keepalive socket: "+De+Ze+`)
headers: `+(0,A.default)(wt),Le.data=pt,Le.path=M.path,Le.status=Oe,Le.headers=wt,Le.res=Ht}gt(Le,pt,y.streaming?Qe:Ht),y.emitter&&(S.url=v,S.socket=nt&&nt.connection,S.options=M,S.size=J,y.emitter.emit("response",{requestId:w,error:Le,ctx:y.ctx,req:S,res:Ht}))}function ve(Le){var pt=null;if(y.followRedirect&&statuses.redirect[Le.statusCode]){y._followRedirectCount=(y._followRedirectCount||0)+1;var Qe=Le.headers.location;if(!Qe)pt=new Error("Got statusCode "+Le.statusCode+" but cannot resolve next location from headers"),pt.name="FollowRedirectError";else if(y._followRedirectCount>y.maxRedirects)pt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+v),pt.name="MaxRedirectError";else{var gt=y.formatRedirectUrl?y.formatRedirectUrl(v,Qe):o.resolve(v,Qe);n("Request#%d %s: `redirected` from %s to %s",w,M.path,v,gt),G(),y.headers&&y.headers.Host&&l.test(Qe)&&(y.headers.Host=null);var wt=E;return E=null,d.requestWithCallback(gt,y,wt),{redirect:!0,error:null}}}return{redirect:!1,error:pt}}!M.headers["User-Agent"]&&!M.headers["user-agent"]&&(M.headers["User-Agent"]=navigator.userAgent),y.gzip&&(!M.headers["Accept-Encoding"]&&!M.headers["accept-encoding"]&&(M.headers["Accept-Encoding"]="gzip"));function de(Le,pt,Qe){var gt=Le.headers["content-encoding"];return Qe(null,pt,gt)}var Ce=y.writeStream;n("Request#%d %s %s with headers %j, options.path: %s",w,O,v,M.headers,M.path),y.requestUrls.push(v);function we(Le){if(re&&(re.waiting=Date.now()-I),n("Request#%d %s `req response` event emit: status %d, headers: %j",w,v,Le.statusCode,Le.headers),y.streaming){var pt=ve(Le);if(pt.redirect){Le.resume();return}return pt.error?(Le.resume(),Q(pt.error,null,Le)):Q(null,null,Le)}if(Le.on("close",function(){n("Request#%d %s: `res close` event emit, total size %d",w,v,ce)}),Le.on("error",function(){n("Request#%d %s: `res error` event emit, total size %d",w,v,ce)}),Le.on("aborted",function(){se=!0,n("Request#%d %s: `res aborted` event emit, total size %d",w,v,ce)}),Ce){var pt=ve(Le);if(pt.redirect){Le.resume();return}return pt.error?(Le.resume(),Ce.end(),Q(pt.error,null,Le)):(y.consumeWriteStream===!1?Le.on("end",Q.bind(null,null,null,Le)):isNode010||isNode012?first([[Ce,"close"],[Le,"aborted"]],function(wt,Et,_t){n("Request#%d %s: writeStream or res %s event emitted",w,v,_t),Q(ge||null,null,Le)}):Ce.on("close",function(){n("Request#%d %s: writeStream close event emitted",w,v),Q(ge||null,null,Le)}),Le.pipe(Ce))}var Qe=[];Le.on("data",function(gt){n("Request#%d %s: `res data` event emit, size %d",w,v,gt.length),ce+=gt.length,Qe.push(gt)}),Le.on("end",function(){var gt=x.concat(Qe,ce);if(n("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",w,v,ce,Le._dumped),ge)return Q(ge,gt,Le);var wt=ve(Le);if(wt.error)return Q(wt.error,gt,Le);if(wt.redirect)return;de(Le,gt,function(Et,_t,Ht){if(Et)return Q(Et,gt,Le);if(!Ht&&f.indexOf(y.dataType)>=0){try{_t=decodeBodyByCharset(_t,Le)}catch(ye){return n("decodeBodyByCharset error: %s",ye),Q(null,_t,Le)}if(y.dataType==="json")if(ce===0)_t=null;else{var Ze=parseJSON(_t,B);Ze.error?Et=Ze.error:_t=Ze.data}}se&&n("Request#%d %s: Remote socket was terminated before `response.end()` was called",w,v),Q(Et,_t,Le)})})}var le,fe;Array.isArray(y.timeout)?(le=t(y.timeout[0]),fe=t(y.timeout[1])):le=fe=t(y.timeout),n("ConnectTimeout: %d, ResponseTimeout: %d",le,fe);function xe(){n("Connect timer ticking, timeout: %d",le),Z=setTimeout(function(){Z=null,Oe===-1&&(Oe=-2);var Le="Connect timeout for "+le+"ms",pt="ConnectionTimeoutError";nt.socket||(pt="SocketAssignTimeoutError",Le+=", working sockets is full"),ge=new Error(Le),ge.name=pt,ge.requestId=w,n("ConnectTimeout: Request#%d %s %s: %s, connected: %s",w,v,ge.name,Le,pe),$e()},le)}function We(){n("Response timer ticking, timeout: %d",fe),oe=setTimeout(function(){oe=null;var Le="Response timeout for "+fe+"ms",pt="ResponseTimeoutError";ge=new Error(Le),ge.name=pt,ge.requestId=w,n("ResponseTimeout: Request#%d %s %s: %s, connected: %s",w,v,ge.name,Le,pe),$e()},fe)}var nt;M.mode=y.mode?y.mode:"";try{nt=R.request(M,we)}catch(Le){return Q(Le)}typeof window=="undefined"?xe():nt.on("requestTimeout",function(){Oe===-1&&(Oe=-2);var Le="Connect timeout for "+le+"ms",pt="ConnectionTimeoutError";ge=new Error(Le),ge.name=pt,ge.requestId=w,$e()});function $e(){n("Request#%d %s abort, connected: %s",w,v,pe),nt.socket||(ge.noSocket=!0,Q(ge)),nt.abort()}return re&&nt.on("finish",function(){re.requestSent=Date.now()-I}),nt.once("socket",function(Le){re&&(re.queuing=Date.now()-I),isNode010&&Le.socket&&(Le=Le.socket);var pt=Le.readyState;if(pt==="opening"){Le.once("lookup",function(Qe,gt,wt){n("Request#%d %s lookup: %s, %s, %s",w,v,Qe,gt,wt),re&&(re.dnslookup=Date.now()-I),gt&&($=gt)}),Le.once("connect",function(){re&&(re.connected=Date.now()-I),X(),We(),n("Request#%d %s new socket connected",w,v),pe=!0,$||($=Le.remoteAddress),ze=Le.remotePort});return}n("Request#%d %s reuse socket connected, readyState: %s",w,v,pt),pe=!0,De=!0,$||($=Le.remoteAddress),ze=Le.remotePort,X(),We()}),nt.on("error",function(Le){(Le.name==="Error"||Le.name==="TypeError")&&(Le.name=pe?"ResponseError":"RequestError"),Le.message+=' (req "error")',n("Request#%d %s `req error` event emit, %s: %s",w,v,Le.name,Le.message),Q(ge||Le)}),Ce&&Ce.once("error",function(Le){Le.message+=' (writeStream "error")',ge=Le,n("Request#%d %s `writeStream error` event emit, %s: %s",w,v,Le.name,Le.message),$e()}),y.stream?(y.stream.pipe(nt),y.stream.once("error",function(Le){Le.message+=' (stream "error")',ge=Le,n("Request#%d %s `readStream error` event emit, %s: %s",w,v,Le.name,Le.message),$e()})):nt.end(V),nt.requestId=w,nt}}).call(this,H("_process"),H("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(H,k,d){var _=d("hX1E"),x=_.normalizeRadian,C=Math.PI*2;function A(b,m,p,c,o,r,i,n,t){if(i===0)return!1;var s=i;n-=b,t-=m;var e=Math.sqrt(n*n+t*t);if(e-s>p||e+s<p)return!1;if(Math.abs(c-o)%C<1e-4)return!0;if(r){var a=c;c=x(o),o=x(a)}else c=x(c),o=x(o);c>o&&(o+=C);var l=Math.atan2(t,n);return l<0&&(l+=C),l>=c&&l<=o||l+C>=c&&l+C<=o}k.containStroke=A},n4Lv:function(H,k,d){var _=d("7hqr"),x=_.isDimensionStacked,C=d("bYtY"),A=C.map;function b(c,o,r){var i=c.getBaseAxis(),n=c.getOtherAxis(i),t=m(n,r),s=i.dim,e=n.dim,a=o.mapDimension(e),l=o.mapDimension(s),u=e==="x"||e==="radius"?1:0,h=A(c.dimensions,function(v){return o.mapDimension(v)}),f,g=o.getCalculationInfo("stackResultDimension");return(f|=x(o,h[0]))&&(h[0]=g),(f|=x(o,h[1]))&&(h[1]=g),{dataDimsForPoint:h,valueStart:t,valueAxisDim:e,baseAxisDim:s,stacked:!!f,valueDim:a,baseDim:l,baseDataOffset:u,stackedOverDimension:o.getCalculationInfo("stackedOverDimension")}}function m(c,o){var r=0,i=c.scale.getExtent();return o==="start"?r=i[0]:o==="end"?r=i[1]:i[0]>0?r=i[0]:i[1]<0&&(r=i[1]),r}function p(c,o,r,i){var n=NaN;c.stacked&&(n=r.get(r.getCalculationInfo("stackedOverDimension"),i)),isNaN(n)&&(n=c.valueStart);var t=c.baseDataOffset,s=[];return s[t]=r.get(c.baseDim,i),s[1-t]=n,o.dataToPoint(s)}k.prepareDataCoordInfo=b,k.getStackedOnPoint=p},n6Mw:function(H,k,d){var _=d("SrGk"),x=d("bYtY"),C=d("Fofx");function A(m,p){_.call(this,m,p,"clipPath","__clippath_in_use__")}x.inherits(A,_),A.prototype.update=function(m){var p=this.getSvgElement(m);p&&this.updateDom(p,m.__clipPaths,!1);var c=this.getTextSvgElement(m);c&&this.updateDom(c,m.__clipPaths,!0),this.markUsed(m)},A.prototype.updateDom=function(m,p,c){if(p&&p.length>0){var o=this.getDefs(!0),r=p[0],i,n,t=c?"_textDom":"_dom";r[t]?(n=r[t].getAttribute("id"),i=r[t],o.contains(i)||o.appendChild(i)):(n="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,i=this.createElement("clipPath"),i.setAttribute("id",n),o.appendChild(i),r[t]=i);var s=this.getSvgProxy(r);if(r.transform&&r.parent.invTransform&&!c){var e=Array.prototype.slice.call(r.transform);C.mul(r.transform,r.parent.invTransform,r.transform),s.brush(r),r.transform=e}else s.brush(r);var a=this.getSvgElement(r);i.innerHTML="",i.appendChild(a.cloneNode()),m.setAttribute("clip-path","url(#"+n+")"),p.length>1&&this.updateDom(i,p.slice(1),c)}else m&&m.setAttribute("clip-path","none")},A.prototype.markUsed=function(m){var p=this;m.__clipPaths&&x.each(m.__clipPaths,function(c){c._dom&&_.prototype.markUsed.call(p,c._dom),c._textDom&&_.prototype.markUsed.call(p,c._textDom)})};var b=A;H.exports=b},nCxF:function(H,k,d){var _=d("QBsz"),x=_.min,C=_.max,A=_.scale,b=_.distance,m=_.add,p=_.clone,c=_.sub;function o(r,i,n,t){var s=[],e=[],a=[],l=[],u,h,f,g;if(t){f=[Infinity,Infinity],g=[-Infinity,-Infinity];for(var v=0,y=r.length;v<y;v++)x(f,f,r[v]),C(g,g,r[v]);x(f,f,t[0]),C(g,g,t[1])}for(var v=0,y=r.length;v<y;v++){var E=r[v];if(n)u=r[v?v-1:y-1],h=r[(v+1)%y];else if(v===0||v===y-1){s.push(p(r[v]));continue}else u=r[v-1],h=r[v+1];c(e,h,u),A(e,e,i);var T=b(E,u),w=b(E,h),S=T+w;S!==0&&(T/=S,w/=S),A(a,e,-T),A(l,e,w);var I=m([],E,a),L=m([],E,l);t&&(C(I,I,f),x(I,I,g),C(L,L,f),x(L,L,g)),s.push(I),s.push(L)}return n&&s.push(s.shift()),s}H.exports=o},nKiI:function(H,k,d){var _=d("bYtY"),x=d("mFDi"),C=d("OELB"),A=C.parsePercent,b=C.MAX_SAFE_INTEGER,m=d("+TT/"),p=d("VaxA"),c=Math.max,o=Math.min,r=_.retrieve,i=_.each,n=["itemStyle","borderWidth"],t=["itemStyle","gapWidth"],s=["upperLabel","show"],e=["upperLabel","height"],a={seriesType:"treemap",reset:function(I,L,O,N){var R=O.getWidth(),D=O.getHeight(),B=I.option,M=m.getLayoutRect(I.getBoxLayoutParams(),{width:O.getWidth(),height:O.getHeight()}),U=B.size||[],F=A(r(M.width,U[0]),R),j=A(r(M.height,U[1]),D),W=N&&N.type,V=["treemapZoomToNode","treemapRootToNode"],z=p.retrieveTargetInfo(N,V,I),Y=W==="treemapRender"||W==="treemapMove"?N.rootRect:null,J=I.getViewRoot(),ie=p.getPathToRoot(J);if(W!=="treemapMove"){var Z=W==="treemapZoomToNode"?E(I,z,J,F,j):Y?[Y.width,Y.height]:[F,j],oe=B.sort;oe&&oe!=="asc"&&oe!=="desc"&&(oe="desc");var ge={squareRatio:B.squareRatio,sort:oe,leafDepth:B.leafDepth};J.hostTree.clearLayouts();var pe={x:0,y:0,width:Z[0],height:Z[1],area:Z[0]*Z[1]};J.setLayout(pe),l(J,ge,!1,0);var pe=J.getLayout();i(ie,function(ce,Oe){var se=(ie[Oe+1]||J).getValue();ce.setLayout(_.extend({dataExtent:[se,se],borderWidth:0,upperHeight:0},pe))})}var De=I.getData().tree.root;De.setLayout(T(M,Y,z),!0),I.setLayoutInfo(M),w(De,new x(-M.x,-M.y,R,D),ie,J,0)}};function l(I,L,O,N){var R,D;if(I.isRemoved())return;var B=I.getLayout();R=B.width,D=B.height;var M=I.getModel(),U=M.get(n),F=M.get(t)/2,j=S(M),W=Math.max(U,j),V=U-F,z=W-F,M=I.getModel();I.setLayout({borderWidth:U,upperHeight:W,upperLabelHeight:j},!0),R=c(R-2*V,0),D=c(D-V-z,0);var Y=R*D,J=u(I,M,Y,L,O,N);if(!J.length)return;var ie={x:V,y:z,width:R,height:D},Z=o(R,D),oe=Infinity,ge=[];ge.area=0;for(var pe=0,De=J.length;pe<De;){var ce=J[pe];ge.push(ce),ge.area+=ce.getLayout().area;var Oe=v(ge,Z,L.squareRatio);Oe<=oe?(pe++,oe=Oe):(ge.area-=ge.pop().getLayout().area,y(ge,Z,ie,F,!1),Z=o(ie.width,ie.height),ge.length=ge.area=0,oe=Infinity)}if(ge.length&&y(ge,Z,ie,F,!0),!O){var se=M.get("childrenVisibleMin");se!=null&&Y<se&&(O=!0)}for(var pe=0,De=J.length;pe<De;pe++)l(J[pe],L,O,N+1)}function u(I,L,O,N,R,D){var B=I.children||[],M=N.sort;M!=="asc"&&M!=="desc"&&(M=null);var U=N.leafDepth!=null&&N.leafDepth<=D;if(R&&!U)return I.viewChildren=[];B=_.filter(B,function(z){return!z.isRemoved()}),f(B,M);var F=g(L,B,M);if(F.sum===0)return I.viewChildren=[];if(F.sum=h(L,O,F.sum,M,B),F.sum===0)return I.viewChildren=[];for(var j=0,W=B.length;j<W;j++){var V=B[j].getValue()/F.sum*O;B[j].setLayout({area:V})}return U&&(B.length&&I.setLayout({isLeafRoot:!0},!0),B.length=0),I.viewChildren=B,I.setLayout({dataExtent:F.dataExtent},!0),B}function h(I,L,O,N,R){if(!N)return O;for(var D=I.get("visibleMin"),B=R.length,M=B,U=B-1;U>=0;U--){var F=R[N==="asc"?B-U-1:U].getValue();F/O*L<D&&(M=U,O-=F)}return N==="asc"?R.splice(0,B-M):R.splice(M,B-M),O}function f(I,L){return L&&I.sort(function(O,N){var R=L==="asc"?O.getValue()-N.getValue():N.getValue()-O.getValue();return R===0?L==="asc"?O.dataIndex-N.dataIndex:N.dataIndex-O.dataIndex:R}),I}function g(I,L,O){for(var N=0,R=0,D=L.length;R<D;R++)N+=L[R].getValue();var B=I.get("visualDimension"),M;if(!L||!L.length)M=[NaN,NaN];else if(B==="value"&&O)M=[L[L.length-1].getValue(),L[0].getValue()],O==="asc"&&M.reverse();else{var M=[Infinity,-Infinity];i(L,function(F){var j=F.getValue(B);j<M[0]&&(M[0]=j),j>M[1]&&(M[1]=j)})}return{sum:N,dataExtent:M}}function v(I,L,O){for(var N=0,R=Infinity,D=0,B,M=I.length;D<M;D++)B=I[D].getLayout().area,B&&(B<R&&(R=B),B>N&&(N=B));var U=I.area*I.area,F=L*L*O;return U?c(F*N/U,U/(F*R)):Infinity}function y(I,L,O,N,R){var D=L===O.width?0:1,B=1-D,M=["x","y"],U=["width","height"],F=O[M[D]],j=L?I.area/L:0;(R||j>O[U[B]])&&(j=O[U[B]]);for(var W=0,V=I.length;W<V;W++){var z=I[W],Y={},J=j?z.getLayout().area/j:0,ie=Y[U[B]]=c(j-2*N,0),Z=O[M[D]]+O[U[D]]-F,oe=W===V-1||Z<J?Z:J,ge=Y[U[D]]=c(oe-2*N,0);Y[M[B]]=O[M[B]]+o(N,ie/2),Y[M[D]]=F+o(N,ge/2),F+=oe,z.setLayout(Y,!0)}O[M[B]]+=j,O[U[B]]-=j}function E(I,L,O,N,R){var D=(L||{}).node,B=[N,R];if(!D||D===O)return B;for(var M,U=N*R,F=U*I.option.zoomToNodeRatio;M=D.parentNode;){for(var j=0,W=M.children,V=0,z=W.length;V<z;V++)j+=W[V].getValue();var Y=D.getValue();if(Y===0)return B;F*=j/Y;var J=M.getModel(),ie=J.get(n),Z=Math.max(ie,S(J,ie));F+=4*ie*ie+(3*ie+Z)*Math.pow(F,.5),F>b&&(F=b),D=M}F<U&&(F=U);var oe=Math.pow(F/U,.5);return[N*oe,R*oe]}function T(I,L,O){if(L)return{x:L.x,y:L.y};var N={x:0,y:0};if(!O)return N;var R=O.node,D=R.getLayout();if(!D)return N;for(var B=[D.width/2,D.height/2],M=R;M;){var U=M.getLayout();B[0]+=U.x,B[1]+=U.y,M=M.parentNode}return{x:I.width/2-B[0],y:I.height/2-B[1]}}function w(I,L,O,N,R){var D=I.getLayout(),B=O[R],M=B&&B===I;if(B&&!M||R===O.length&&I!==N)return;I.setLayout({isInView:!0,invisible:!M&&!L.intersect(D),isAboveViewRoot:M},!0);var U=new x(L.x-D.x,L.y-D.y,L.width,L.height);i(I.viewChildren||[],function(F){w(F,U,O,N,R+1)})}function S(I){return I.get(s)?I.get(e):0}H.exports=a},nPnh:function(H,k){var d=Math.round;function _(A,b,m){if(!b)return;var p=b.x1,c=b.x2,o=b.y1,r=b.y2;A.x1=p,A.x2=c,A.y1=o,A.y2=r;var i=m&&m.lineWidth;if(!i)return;d(p*2)===d(c*2)&&(A.x1=A.x2=C(p,i,!0)),d(o*2)===d(r*2)&&(A.y1=A.y2=C(o,i,!0))}function x(A,b,m){if(!b)return;var p=b.x,c=b.y,o=b.width,r=b.height;A.x=p,A.y=c,A.width=o,A.height=r;var i=m&&m.lineWidth;if(!i)return;A.x=C(p,i,!0),A.y=C(c,i,!0),A.width=Math.max(C(p+o,i,!1)-A.x,o===0?0:1),A.height=Math.max(C(c+r,i,!1)-A.y,r===0?0:1)}function C(A,b,m){if(!b)return A;var p=d(A*2);return(p+d(b))%2===0?p/2:(p+(m?1:-1))/2}k.subPixelOptimizeLine=_,k.subPixelOptimizeRect=x,k.subPixelOptimize=C},nRaC:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("0fbx"),A=d.n(C),b=d("OaEy"),m=d("R9oj")},nVfU:function(H,k,d){var _=d("bYtY"),x=d("OELB"),C=x.parsePercent,A=d("7hqr"),b=A.isDimensionStacked,m=d("zM3Q"),p="__ec_stack_",c=.5,o=typeof Float32Array!="undefined"?Float32Array:Array;function r(y){return y.get("stack")||p+y.seriesIndex}function i(y){return y.dim+y.index}function n(y){var E=[],T=y.axis,w="axis0";if(T.type!=="category")return;for(var S=T.getBandWidth(),I=0;I<y.count||0;I++)E.push(_.defaults({bandWidth:S,axisKey:w,stackId:p+I},y));for(var L=a(E),O=[],I=0;I<y.count;I++){var N=L[w][p+I];N.offsetCenter=N.offset+N.width/2,O.push(N)}return O}function t(y,E){var T=[];return E.eachSeriesByType(y,function(w){f(w)&&!g(w)&&T.push(w)}),T}function s(y){var E={};_.each(y,function(N){var R=N.coordinateSystem,D=R.getBaseAxis();if(D.type!=="time"&&D.type!=="value")return;for(var B=N.getData(),M=D.dim+"_"+D.index,U=B.mapDimension(D.dim),F=0,j=B.count();F<j;++F){var W=B.get(U,F);E[M]?E[M].push(W):E[M]=[W]}});var T=[];for(var w in E)if(E.hasOwnProperty(w)){var S=E[w];if(S){S.sort(function(N,R){return N-R});for(var I=null,L=1;L<S.length;++L){var O=S[L]-S[L-1];O>0&&(I=I===null?O:Math.min(I,O))}T[w]=I}}return T}function e(y){var E=s(y),T=[];return _.each(y,function(w){var S=w.coordinateSystem,I=S.getBaseAxis(),L=I.getExtent(),O;if(I.type==="category")O=I.getBandWidth();else if(I.type==="value"||I.type==="time"){var N=I.dim+"_"+I.index,R=E[N],D=Math.abs(L[1]-L[0]),B=I.scale.getExtent(),M=Math.abs(B[1]-B[0]);O=R?D/M*R:D}else{var U=w.getData();O=Math.abs(L[1]-L[0])/U.count()}var F=C(w.get("barWidth"),O),j=C(w.get("barMaxWidth"),O),W=C(w.get("barMinWidth")||1,O),V=w.get("barGap"),z=w.get("barCategoryGap");T.push({bandWidth:O,barWidth:F,barMaxWidth:j,barMinWidth:W,barGap:V,barCategoryGap:z,axisKey:i(I),stackId:r(w)})}),a(T)}function a(y){var E={};_.each(y,function(w,S){var I=w.axisKey,L=w.bandWidth,O=E[I]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},N=O.stacks;E[I]=O;var R=w.stackId;N[R]||O.autoWidthCount++,N[R]=N[R]||{width:0,maxWidth:0};var D=w.barWidth;D&&!N[R].width&&(N[R].width=D,D=Math.min(O.remainedWidth,D),O.remainedWidth-=D);var B=w.barMaxWidth;B&&(N[R].maxWidth=B);var M=w.barMinWidth;M&&(N[R].minWidth=M);var U=w.barGap;U!=null&&(O.gap=U);var F=w.barCategoryGap;F!=null&&(O.categoryGap=F)});var T={};return _.each(E,function(w,S){T[S]={};var I=w.stacks,L=w.bandWidth,O=C(w.categoryGap,L),N=C(w.gap,1),R=w.remainedWidth,D=w.autoWidthCount,B=(R-O)/(D+(D-1)*N);B=Math.max(B,0),_.each(I,function(j){var W=j.maxWidth,V=j.minWidth;if(j.width){var z=j.width;W&&(z=Math.min(z,W)),V&&(z=Math.max(z,V)),j.width=z,R-=z+N*z,D--}else{var z=B;W&&W<z&&(z=Math.min(W,R)),V&&V>z&&(z=V),z!==B&&(j.width=z,R-=z+N*z,D--)}}),B=(R-O)/(D+(D-1)*N),B=Math.max(B,0);var M=0,U;_.each(I,function(j,W){j.width||(j.width=B),U=j,M+=j.width*(1+N)}),U&&(M-=U.width*N);var F=-M/2;_.each(I,function(j,W){T[S][W]=T[S][W]||{bandWidth:L,offset:F,width:j.width},F+=j.width*(1+N)})}),T}function l(y,E,T){if(y&&E){var w=y[i(E)];return w!=null&&T!=null&&(w=w[r(T)]),w}}function u(y,E){var T=t(y,E),w=e(T),S={},I={};_.each(T,function(L){var O=L.getData(),N=L.coordinateSystem,R=N.getBaseAxis(),D=r(L),B=w[i(R)][D],M=B.offset,U=B.width,F=N.getOtherAxis(R),j=L.get("barMinHeight")||0;S[D]=S[D]||[],I[D]=I[D]||[],O.setLayout({bandWidth:B.bandWidth,offset:M,size:U});for(var W=O.mapDimension(F.dim),V=O.mapDimension(R.dim),z=b(O,W),Y=F.isHorizontal(),J=v(R,F,z),ie=0,Z=O.count();ie<Z;ie++){var oe=O.get(W,ie),ge=O.get(V,ie),pe=oe>=0?"p":"n",De=J;z&&(S[D][ge]||(S[D][ge]={p:J,n:J}),De=S[D][ge][pe]);var ce,Oe,se,$;if(Y){var ze=N.dataToPoint([oe,ge]);ce=De,Oe=ze[1]+M,se=ze[0]-J,$=U,Math.abs(se)<j&&(se=(se<0?-1:1)*j),isNaN(se)||z&&(S[D][ge][pe]+=se)}else{var ze=N.dataToPoint([ge,oe]);ce=ze[0]+M,Oe=De,se=U,$=ze[1]-J,Math.abs($)<j&&($=($<=0?-1:1)*j),isNaN($)||z&&(S[D][ge][pe]+=$)}O.setItemLayout(ie,{x:ce,y:Oe,width:se,height:$})}},this)}var h={seriesType:"bar",plan:m(),reset:function(y){if(!f(y)||!g(y))return;var E=y.getData(),T=y.coordinateSystem,w=T.grid.getRect(),S=T.getBaseAxis(),I=T.getOtherAxis(S),L=E.mapDimension(I.dim),O=E.mapDimension(S.dim),N=I.isHorizontal(),R=N?0:1,D=l(e([y]),S,y).width;return D>c||(D=c),{progress:B};function B(M,U){for(var F=M.count,j=new o(F*2),W=new o(F*2),V=new o(F),z,Y=[],J=[],ie=0,Z=0;(z=M.next())!=null;)J[R]=U.get(L,z),J[1-R]=U.get(O,z),Y=T.dataToPoint(J,null,Y),W[ie]=N?w.x+w.width:Y[0],j[ie++]=Y[0],W[ie]=N?Y[1]:w.y+w.height,j[ie++]=Y[1],V[Z++]=z;U.setLayout({largePoints:j,largeDataIndices:V,largeBackgroundPoints:W,barWidth:D,valueAxisStart:v(S,I,!1),backgroundStart:N?w.x:w.y,valueAxisHorizontal:N})}}};function f(y){return y.coordinateSystem&&y.coordinateSystem.type==="cartesian2d"}function g(y){return y.pipelineContext&&y.pipelineContext.large}function v(y,E,T){return E.toGlobalCoord(E.dataToCoord(E.type==="log"?1:0))}k.getLayoutOnAxis=n,k.prepareLayoutBarSeries=t,k.makeColumnLayout=e,k.retrieveColumnLayout=l,k.layout=u,k.largeLayout=h},ngQI:function(H,k,d){"use strict";d.d(k,"a",function(){return au}),d.d(k,"b",function(){return vu}),d.d(k,"c",function(){return Cr});var _=d("q1tI"),x=d.n(_),C=d("dI71"),A=d("wx14"),b=d("ANjH"),m=d("/MKj");function p(Ne,ee){if(Ne.length!==ee.length)return!1;for(var Se=0;Se<Ne.length;Se++)if(Ne[Se]!==ee[Se])return!1;return!0}function c(Ne,ee){var Se=Object(_.useState)(function(){return{inputs:ee,result:Ne()}})[0],He=Object(_.useRef)(!0),it=Object(_.useRef)(Se),St=He.current||Boolean(ee&&it.current.inputs&&p(ee,it.current.inputs)),Ct=St?it.current:{inputs:ee,result:Ne()};return Object(_.useEffect)(function(){He.current=!1,it.current=Ct},[Ct]),Ct.result}function o(Ne,ee){return c(function(){return Ne},ee)}var r=c,i=o,n=d("9R94"),t=function(ee){var Se=ee.top,He=ee.right,it=ee.bottom,St=ee.left,Ct=He-St,Ot=it-Se,Ar={top:Se,right:He,bottom:it,left:St,width:Ct,height:Ot,x:St,y:Se,center:{x:(He+St)/2,y:(it+Se)/2}};return Ar},s=function(ee,Se){return{top:ee.top-Se.top,left:ee.left-Se.left,bottom:ee.bottom+Se.bottom,right:ee.right+Se.right}},e=function(ee,Se){return{top:ee.top+Se.top,left:ee.left+Se.left,bottom:ee.bottom-Se.bottom,right:ee.right-Se.right}},a=function(ee,Se){return{top:ee.top+Se.y,left:ee.left+Se.x,bottom:ee.bottom+Se.y,right:ee.right+Se.x}},l={top:0,right:0,bottom:0,left:0},u=function(ee){var Se=ee.borderBox,He=ee.margin,it=He===void 0?l:He,St=ee.border,Ct=St===void 0?l:St,Ot=ee.padding,Ar=Ot===void 0?l:Ot,Or=t(s(Se,it)),mr=t(e(Se,Ct)),cr=t(e(mr,Ar));return{marginBox:Or,borderBox:t(Se),paddingBox:mr,contentBox:cr,margin:it,border:Ct,padding:Ar}},h=function(ee){var Se=ee.slice(0,-2),He=ee.slice(-2);if(He!=="px")return 0;var it=Number(Se);return isNaN(it)&&Object(n.a)(!1),it},f=function(){return{x:window.pageXOffset,y:window.pageYOffset}},g=function(ee,Se){var He=ee.borderBox,it=ee.border,St=ee.margin,Ct=ee.padding,Ot=a(He,Se);return u({borderBox:Ot,border:it,margin:St,padding:Ct})},v=function(ee,Se){return Se===void 0&&(Se=f()),g(ee,Se)},y=function(ee,Se){var He={top:h(Se.marginTop),right:h(Se.marginRight),bottom:h(Se.marginBottom),left:h(Se.marginLeft)},it={top:h(Se.paddingTop),right:h(Se.paddingRight),bottom:h(Se.paddingBottom),left:h(Se.paddingLeft)},St={top:h(Se.borderTopWidth),right:h(Se.borderRightWidth),bottom:h(Se.borderBottomWidth),left:h(Se.borderLeftWidth)};return u({borderBox:ee,margin:He,padding:it,border:St})},E=function(ee){var Se=ee.getBoundingClientRect(),He=window.getComputedStyle(ee);return y(Se,He)},T=Number.isNaN||function(ee){return typeof ee=="number"&&ee!==ee};function w(Ne,ee){return Ne===ee?!0:!!(T(Ne)&&T(ee))}function S(Ne,ee){if(Ne.length!==ee.length)return!1;for(var Se=0;Se<Ne.length;Se++)if(!w(Ne[Se],ee[Se]))return!1;return!0}function I(Ne,ee){ee===void 0&&(ee=S);var Se,He=[],it,St=!1;function Ct(){for(var Ot=[],Ar=0;Ar<arguments.length;Ar++)Ot[Ar]=arguments[Ar];return St&&Se===this&&ee(Ot,He)||(it=Ne.apply(this,Ot),St=!0,Se=this,He=Ot),it}return Ct}var L=I,O=function(ee){var Se=[],He=null,it=function(){for(var Ct=arguments.length,Ot=new Array(Ct),Ar=0;Ar<Ct;Ar++)Ot[Ar]=arguments[Ar];if(Se=Ot,He)return;He=requestAnimationFrame(function(){He=null,ee.apply(void 0,Se)})};return it.cancel=function(){if(!He)return;cancelAnimationFrame(He),He=null},it},N=O,R=d("i8i4"),D=d.n(R),B=!0,M=/[ \t]{2,}/g,U=/^[ \t]*/gm,F=function(ee){return ee.replace(M," ").replace(U,"").trim()},j=function(ee){return F(`
%creact-beautiful-dnd
%c`+F(ee)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},W=function(ee){return[j(ee),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},V="__react-beautiful-dnd-disable-dev-warnings";function z(Ne,ee){var Se;if(B)return;if(typeof window!="undefined"&&window[V])return;(Se=console)[Ne].apply(Se,W(ee))}var Y=z.bind(null,"warn"),J=z.bind(null,"error");function ie(){}function Z(Ne,ee){return Object(A.a)({},Ne,{},ee)}function oe(Ne,ee,Se){var He=ee.map(function(it){var St=Z(Se,it.options);return Ne.addEventListener(it.eventName,it.fn,St),function(){Ne.removeEventListener(it.eventName,it.fn,St)}});return function(){He.forEach(function(St){St()})}}var ge=!0,pe="Invariant failed";function De(Ne){this.message=Ne}De.prototype.toString=function(){return this.message};function ce(Ne,ee){if(Ne)return;throw ge?new De(pe):new De(pe+": "+(ee||""))}var Oe=function(Ne){Object(C.a)(ee,Ne);function ee(){for(var He,it=arguments.length,St=new Array(it),Ct=0;Ct<it;Ct++)St[Ct]=arguments[Ct];return He=Ne.call.apply(Ne,[this].concat(St))||this,He.callbacks=null,He.unbind=ie,He.onWindowError=function(Ot){var Ar=He.getCallbacks();Ar.isDragging()&&Ar.tryAbort();var Or=Ot.error;Or instanceof De&&Ot.preventDefault()},He.getCallbacks=function(){if(!He.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return He.callbacks},He.setCallbacks=function(Ot){He.callbacks=Ot},He}var Se=ee.prototype;return Se.componentDidMount=function(){this.unbind=oe(window,[{eventName:"error",fn:this.onWindowError}])},Se.componentWillUnmount=function(){this.unbind()},Se.componentDidCatch=function(it){if(it instanceof De){this.setState({});return}throw it},Se.render=function(){return this.props.children(this.setCallbacks)},ee}(x.a.Component),se=`
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
`,$=function(ee){return ee+1},ze=function(ee){return`
You have lifted an item in position `+$(ee.source.index)+`
`},re=function(ee,Se){var He=ee.droppableId===Se.droppableId,it=$(ee.index),St=$(Se.index);return He?`
You have moved the item from position `+it+`
to position `+St+`
`:`
You have moved the item from position `+it+`
in list `+ee.droppableId+`
to list `+Se.droppableId+`
in position `+St+`
`},X=function(ee,Se,He){var it=Se.droppableId===He.droppableId;return it?`
The item `+ee+`
has been combined with `+He.draggableId:`
The item `+ee+`
in list `+Se.droppableId+`
has been combined with `+He.draggableId+`
in list `+He.droppableId+`
`},G=function(ee){var Se=ee.destination;if(Se)return re(ee.source,Se);var He=ee.combine;return He?X(ee.draggableId,ee.source,He):"You are over an area that cannot be dropped on"},Q=function(ee){return`
The item has returned to its starting position
of `+$(ee.index)+`
`},ve=function(ee){if(ee.reason==="CANCEL")return`
Movement cancelled.
`+Q(ee.source)+`
`;var Se=ee.destination,He=ee.combine;return Se?`
You have dropped the item.
`+re(ee.source,Se)+`
`:He?`
You have dropped the item.
`+X(ee.draggableId,ee.source,He)+`
`:`
The item has been dropped while not over a drop area.
`+Q(ee.source)+`
`},de={dragHandleUsageInstructions:se,onDragStart:ze,onDragUpdate:G,onDragEnd:ve},Ce={x:0,y:0},we=function(ee,Se){return{x:ee.x+Se.x,y:ee.y+Se.y}},le=function(ee,Se){return{x:ee.x-Se.x,y:ee.y-Se.y}},fe=function(ee,Se){return ee.x===Se.x&&ee.y===Se.y},xe=function(ee){return{x:ee.x!==0?-ee.x:0,y:ee.y!==0?-ee.y:0}},We=function(ee,Se,He){var it;return He===void 0&&(He=0),it={},it[ee]=Se,it[ee==="x"?"y":"x"]=He,it},nt=function(ee,Se){return Math.sqrt(Math.pow(Se.x-ee.x,2)+Math.pow(Se.y-ee.y,2))},$e=function(ee,Se){return Math.min.apply(Math,Se.map(function(He){return nt(ee,He)}))},Le=function(ee){return function(Se){return{x:ee(Se.x),y:ee(Se.y)}}},pt=function(ee,Se){var He=t({top:Math.max(Se.top,ee.top),right:Math.min(Se.right,ee.right),bottom:Math.min(Se.bottom,ee.bottom),left:Math.max(Se.left,ee.left)});return He.width<=0||He.height<=0?null:He},Qe=function(ee,Se){return{top:ee.top+Se.y,left:ee.left+Se.x,bottom:ee.bottom+Se.y,right:ee.right+Se.x}},gt=function(ee){return[{x:ee.left,y:ee.top},{x:ee.right,y:ee.top},{x:ee.left,y:ee.bottom},{x:ee.right,y:ee.bottom}]},wt={top:0,right:0,bottom:0,left:0},Et=function(ee,Se){return Se?Qe(ee,Se.scroll.diff.displacement):ee},_t=function(ee,Se,He){if(He&&He.increasedBy){var it;return Object(A.a)({},ee,(it={},it[Se.end]=ee[Se.end]+He.increasedBy[Se.line],it))}return ee},Ht=function(ee,Se){return Se&&Se.shouldClipSubject?pt(Se.pageMarginBox,ee):t(ee)},Ze=function(ee){var Se=ee.page,He=ee.withPlaceholder,it=ee.axis,St=ee.frame,Ct=Et(Se.marginBox,St),Ot=_t(Ct,it,He),Ar=Ht(Ot,St);return{page:Se,withPlaceholder:He,active:Ar}},ye=function(ee,Se){ee.frame||ce(!1);var He=ee.frame,it=le(Se,He.scroll.initial),St=xe(it),Ct=Object(A.a)({},He,{scroll:{initial:He.scroll.initial,current:Se,diff:{value:it,displacement:St},max:He.scroll.max}}),Ot=Ze({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Ct}),Ar=Object(A.a)({},ee,{frame:Ct,subject:Ot});return Ar};function ae(Ne){return Number.isInteger?Number.isInteger(Ne):typeof Ne=="number"&&isFinite(Ne)&&Math.floor(Ne)===Ne}function yt(Ne){return Object.values?Object.values(Ne):Object.keys(Ne).map(function(ee){return Ne[ee]})}function et(Ne,ee){if(Ne.findIndex)return Ne.findIndex(ee);for(var Se=0;Se<Ne.length;Se++)if(ee(Ne[Se]))return Se;return-1}function me(Ne,ee){if(Ne.find)return Ne.find(ee);var Se=et(Ne,ee);return Se!==-1?Ne[Se]:void 0}function Gt(Ne){return Array.prototype.slice.call(Ne)}var rr=L(function(Ne){return Ne.reduce(function(ee,Se){return ee[Se.descriptor.id]=Se,ee},{})}),ut=L(function(Ne){return Ne.reduce(function(ee,Se){return ee[Se.descriptor.id]=Se,ee},{})}),Xt=L(function(Ne){return yt(Ne)}),ur=L(function(Ne){return yt(Ne)}),Fr=L(function(Ne,ee){var Se=ur(ee).filter(function(He){return Ne===He.descriptor.droppableId}).sort(function(He,it){return He.descriptor.index-it.descriptor.index});return Se});function er(Ne){return Ne.at&&Ne.at.type==="REORDER"?Ne.at.destination:null}function nr(Ne){return Ne.at&&Ne.at.type==="COMBINE"?Ne.at.combine:null}var Lt=L(function(Ne,ee){return ee.filter(function(Se){return Se.descriptor.id!==Ne.descriptor.id})}),at=function(ee){var Se=ee.isMovingForward,He=ee.draggable,it=ee.destination,St=ee.insideDestination,Ct=ee.previousImpact;if(!it.isCombineEnabled)return null;var Ot=er(Ct);if(!Ot)return null;function Ar(Vn){var Li={type:"COMBINE",combine:{draggableId:Vn,droppableId:it.descriptor.id}};return Object(A.a)({},Ct,{at:Li})}var Or=Ct.displaced.all,mr=Or.length?Or[0]:null;if(Se)return mr?Ar(mr):null;var cr=Lt(He,St);if(!mr){if(!cr.length)return null;var Tr=cr[cr.length-1];return Ar(Tr.descriptor.id)}var kr=et(cr,function(Vn){return Vn.descriptor.id===mr});kr!==-1||ce(!1);var sn=kr-1;if(sn<0)return null;var jn=cr[sn];return Ar(jn.descriptor.id)},Je=function(ee,Se){return ee.descriptor.droppableId===Se.descriptor.id},qt={point:Ce,value:0},Sr={invisible:{},visible:{},all:[]},yr={displaced:Sr,displacedBy:qt,at:null},fr=function(ee,Se){return function(He){return ee<=He&&He<=Se}},yn=function(ee){var Se=fr(ee.top,ee.bottom),He=fr(ee.left,ee.right);return function(it){var St=Se(it.top)&&Se(it.bottom)&&He(it.left)&&He(it.right);if(St)return!0;var Ct=Se(it.top)||Se(it.bottom),Ot=He(it.left)||He(it.right),Ar=Ct&&Ot;if(Ar)return!0;var Or=it.top<ee.top&&it.bottom>ee.bottom,mr=it.left<ee.left&&it.right>ee.right,cr=Or&&mr;if(cr)return!0;var Tr=Or&&Ot||mr&&Ct;return Tr}},Jr=function(ee){var Se=fr(ee.top,ee.bottom),He=fr(ee.left,ee.right);return function(it){var St=Se(it.top)&&Se(it.bottom)&&He(it.left)&&He(it.right);return St}},Ln={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Nt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Ve=function(ee){return function(Se){var He=fr(Se.top,Se.bottom),it=fr(Se.left,Se.right);return function(St){return ee===Ln?He(St.top)&&He(St.bottom):it(St.left)&&it(St.right)}}},_e=function(ee,Se){var He=Se.frame?Se.frame.scroll.diff.displacement:Ce;return Qe(ee,He)},ke=function(ee,Se,He){return Se.subject.active?He(Se.subject.active)(ee):!1},Pe=function(ee,Se,He){return He(Se)(ee)},rt=function(ee){var Se=ee.target,He=ee.destination,it=ee.viewport,St=ee.withDroppableDisplacement,Ct=ee.isVisibleThroughFrameFn,Ot=St?_e(Se,He):Se;return ke(Ot,He,Ct)&&Pe(Ot,it,Ct)},Pt=function(ee){return rt(Object(A.a)({},ee,{isVisibleThroughFrameFn:yn}))},Yt=function(ee){return rt(Object(A.a)({},ee,{isVisibleThroughFrameFn:Jr}))},kt=function(ee){return rt(Object(A.a)({},ee,{isVisibleThroughFrameFn:Ve(ee.destination.axis)}))},_r=function(ee,Se,He){if(typeof He=="boolean")return He;if(!Se)return!0;var it=Se.invisible,St=Se.visible;if(it[ee])return!1;var Ct=St[ee];return Ct?Ct.shouldAnimate:!0};function Rr(Ne,ee){var Se=Ne.page.marginBox,He={top:ee.point.y,right:0,bottom:0,left:ee.point.x};return t(s(Se,He))}function un(Ne){var ee=Ne.afterDragging,Se=Ne.destination,He=Ne.displacedBy,it=Ne.viewport,St=Ne.forceShouldAnimate,Ct=Ne.last;return ee.reduce(function(Ar,Or){var mr=Rr(Or,He),cr=Or.descriptor.id;Ar.all.push(cr);var Tr=Pt({target:mr,destination:Se,viewport:it,withDroppableDisplacement:!0});if(!Tr)return Ar.invisible[Or.descriptor.id]=!0,Ar;var kr=_r(cr,Ct,St),sn={draggableId:cr,shouldAnimate:kr};return Ar.visible[cr]=sn,Ar},{all:[],visible:{},invisible:{}})}function Ut(Ne,ee){if(!Ne.length)return 0;var Se=Ne[Ne.length-1].descriptor.index;return ee.inHomeList?Se:Se+1}function ht(Ne){var ee=Ne.insideDestination,Se=Ne.inHomeList,He=Ne.displacedBy,it=Ne.destination,St=Ut(ee,{inHomeList:Se});return{displaced:Sr,displacedBy:He,at:{type:"REORDER",destination:{droppableId:it.descriptor.id,index:St}}}}function ot(Ne){var ee=Ne.draggable,Se=Ne.insideDestination,He=Ne.destination,it=Ne.viewport,St=Ne.displacedBy,Ct=Ne.last,Ot=Ne.index,Ar=Ne.forceShouldAnimate,Or=Je(ee,He);if(Ot==null)return ht({insideDestination:Se,inHomeList:Or,displacedBy:St,destination:He});var mr=me(Se,function(jn){return jn.descriptor.index===Ot});if(!mr)return ht({insideDestination:Se,inHomeList:Or,displacedBy:St,destination:He});var cr=Lt(ee,Se),Tr=Se.indexOf(mr),kr=cr.slice(Tr),sn=un({afterDragging:kr,destination:He,displacedBy:St,last:Ct,viewport:it.frame,forceShouldAnimate:Ar});return{displaced:sn,displacedBy:St,at:{type:"REORDER",destination:{droppableId:He.descriptor.id,index:Ot}}}}function Wt(Ne,ee){return Boolean(ee.effected[Ne])}var Jt=function(ee){var Se=ee.isMovingForward,He=ee.destination,it=ee.draggables,St=ee.combine,Ct=ee.afterCritical;if(!He.isCombineEnabled)return null;var Ot=St.draggableId,Ar=it[Ot],Or=Ar.descriptor.index,mr=Wt(Ot,Ct);return mr?Se?Or:Or-1:Se?Or+1:Or},At=function(ee){var Se=ee.isMovingForward,He=ee.isInHomeList,it=ee.insideDestination,St=ee.location;if(!it.length)return null;var Ct=St.index,Ot=Se?Ct+1:Ct-1,Ar=it[0].descriptor.index,Or=it[it.length-1].descriptor.index,mr=He?Or:Or+1;return Ot<Ar||Ot>mr?null:Ot},Bt=function(ee){var Se=ee.isMovingForward,He=ee.isInHomeList,it=ee.draggable,St=ee.draggables,Ct=ee.destination,Ot=ee.insideDestination,Ar=ee.previousImpact,Or=ee.viewport,mr=ee.afterCritical,cr=Ar.at;if(cr||ce(!1),cr.type==="REORDER"){var Tr=At({isMovingForward:Se,isInHomeList:He,location:cr.destination,insideDestination:Ot});return Tr==null?null:ot({draggable:it,insideDestination:Ot,destination:Ct,viewport:Or,last:Ar.displaced,displacedBy:Ar.displacedBy,index:Tr})}var kr=Jt({isMovingForward:Se,destination:Ct,displaced:Ar.displaced,draggables:St,combine:cr.combine,afterCritical:mr});return kr==null?null:ot({draggable:it,insideDestination:Ot,destination:Ct,viewport:Or,last:Ar.displaced,displacedBy:Ar.displacedBy,index:kr})},mt=function(ee){var Se=ee.displaced,He=ee.afterCritical,it=ee.combineWith,St=ee.displacedBy,Ct=Boolean(Se.visible[it]||Se.invisible[it]);return Wt(it,He)?Ct?Ce:xe(St.point):Ct?St.point:Ce},Mt=function(ee){var Se=ee.afterCritical,He=ee.impact,it=ee.draggables,St=nr(He);St||ce(!1);var Ct=St.draggableId,Ot=it[Ct].page.borderBox.center,Ar=mt({displaced:He.displaced,afterCritical:Se,combineWith:Ct,displacedBy:He.displacedBy});return we(Ot,Ar)},hr=function(ee,Se){return Se.margin[ee.start]+Se.borderBox[ee.size]/2},or=function(ee,Se){return Se.margin[ee.end]+Se.borderBox[ee.size]/2},ar=function(ee,Se,He){return Se[ee.crossAxisStart]+He.margin[ee.crossAxisStart]+He.borderBox[ee.crossAxisSize]/2},Gr=function(ee){var Se=ee.axis,He=ee.moveRelativeTo,it=ee.isMoving;return We(Se.line,He.marginBox[Se.end]+hr(Se,it),ar(Se,He.marginBox,it))},Yr=function(ee){var Se=ee.axis,He=ee.moveRelativeTo,it=ee.isMoving;return We(Se.line,He.marginBox[Se.start]-or(Se,it),ar(Se,He.marginBox,it))},In=function(ee){var Se=ee.axis,He=ee.moveInto,it=ee.isMoving;return We(Se.line,He.contentBox[Se.start]+hr(Se,it),ar(Se,He.contentBox,it))},Nn=function(ee){var Se=ee.impact,He=ee.draggable,it=ee.draggables,St=ee.droppable,Ct=ee.afterCritical,Ot=Fr(St.descriptor.id,it),Ar=He.page,Or=St.axis;if(!Ot.length)return In({axis:Or,moveInto:St.page,isMoving:Ar});var mr=Se.displaced,cr=Se.displacedBy,Tr=mr.all[0];if(Tr){var kr=it[Tr];if(Wt(Tr,Ct))return Yr({axis:Or,moveRelativeTo:kr.page,isMoving:Ar});var sn=g(kr.page,cr.point);return Yr({axis:Or,moveRelativeTo:sn,isMoving:Ar})}var jn=Ot[Ot.length-1];if(jn.descriptor.id===He.descriptor.id)return Ar.borderBox.center;if(Wt(jn.descriptor.id,Ct)){var Vn=g(jn.page,xe(Ct.displacedBy.point));return Gr({axis:Or,moveRelativeTo:Vn,isMoving:Ar})}return Gr({axis:Or,moveRelativeTo:jn.page,isMoving:Ar})},Kn=function(ee,Se){var He=ee.frame;return He?we(Se,He.scroll.diff.displacement):Se},$n=function(ee){var Se=ee.impact,He=ee.draggable,it=ee.droppable,St=ee.draggables,Ct=ee.afterCritical,Ot=He.page.borderBox.center,Ar=Se.at;return it&&Ar?Ar.type==="REORDER"?Nn({impact:Se,draggable:He,draggables:St,droppable:it,afterCritical:Ct}):Mt({impact:Se,draggables:St,afterCritical:Ct}):Ot},Ii=function(ee){var Se=$n(ee),He=ee.droppable,it=He?Kn(He,Se):Se;return it},Mi=function(ee,Se){var He=le(Se,ee.scroll.initial),it=xe(He),St=t({top:Se.y,bottom:Se.y+ee.frame.height,left:Se.x,right:Se.x+ee.frame.width}),Ct={frame:St,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:Se,diff:{value:He,displacement:it}}};return Ct};function Xe(Ne,ee){return Ne.map(function(Se){return ee[Se]})}function Ie(Ne,ee){for(var Se=0;Se<ee.length;Se++){var He=ee[Se].visible[Ne];if(He)return He}return null}var Be=function(ee){var Se=ee.impact,He=ee.viewport,it=ee.destination,St=ee.draggables,Ct=ee.maxScrollChange,Ot=Mi(He,we(He.scroll.current,Ct)),Ar=it.frame?ye(it,we(it.frame.scroll.current,Ct)):it,Or=Se.displaced,mr=un({afterDragging:Xe(Or.all,St),destination:it,displacedBy:Se.displacedBy,viewport:Ot.frame,last:Or,forceShouldAnimate:!1}),cr=un({afterDragging:Xe(Or.all,St),destination:Ar,displacedBy:Se.displacedBy,viewport:He.frame,last:Or,forceShouldAnimate:!1}),Tr={},kr={},sn=[Or,mr,cr];Or.all.forEach(function(Vn){var Li=Ie(Vn,sn);if(Li){kr[Vn]=Li;return}Tr[Vn]=!0});var jn=Object(A.a)({},Se,{displaced:{all:Or.all,invisible:Tr,visible:kr}});return jn},Fe=function(ee,Se){return we(ee.scroll.diff.displacement,Se)},Ge=function(ee){var Se=ee.pageBorderBoxCenter,He=ee.draggable,it=ee.viewport,St=Fe(it,Se),Ct=le(St,He.page.borderBox.center);return we(He.client.borderBox.center,Ct)},Ke=function(ee){var Se=ee.draggable,He=ee.destination,it=ee.newPageBorderBoxCenter,St=ee.viewport,Ct=ee.withDroppableDisplacement,Ot=ee.onlyOnMainAxis,Ar=Ot===void 0?!1:Ot,Or=le(it,Se.page.borderBox.center),mr=Qe(Se.page.borderBox,Or),cr={target:mr,destination:He,withDroppableDisplacement:Ct,viewport:St};return Ar?kt(cr):Yt(cr)},qe=function(ee){var Se=ee.isMovingForward,He=ee.draggable,it=ee.destination,St=ee.draggables,Ct=ee.previousImpact,Ot=ee.viewport,Ar=ee.previousPageBorderBoxCenter,Or=ee.previousClientSelection,mr=ee.afterCritical;if(!it.isEnabled)return null;var cr=Fr(it.descriptor.id,St),Tr=Je(He,it),kr=at({isMovingForward:Se,draggable:He,destination:it,insideDestination:cr,previousImpact:Ct})||Bt({isMovingForward:Se,isInHomeList:Tr,draggable:He,draggables:St,destination:it,insideDestination:cr,previousImpact:Ct,viewport:Ot,afterCritical:mr});if(!kr)return null;var sn=Ii({impact:kr,draggable:He,droppable:it,draggables:St,afterCritical:mr}),jn=Ke({draggable:He,destination:it,newPageBorderBoxCenter:sn,viewport:Ot.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(jn){var Vn=Ge({pageBorderBoxCenter:sn,draggable:He,viewport:Ot});return{clientSelection:Vn,impact:kr,scrollJumpRequest:null}}var Li=le(sn,Ar),ui=Be({impact:kr,viewport:Ot,destination:it,draggables:St,maxScrollChange:Li});return{clientSelection:Or,impact:ui,scrollJumpRequest:Li}},vt=function(ee){var Se=ee.subject.active;return Se||ce(!1),Se},lt=function(ee){var Se=ee.isMovingForward,He=ee.pageBorderBoxCenter,it=ee.source,St=ee.droppables,Ct=ee.viewport,Ot=it.subject.active;if(!Ot)return null;var Ar=it.axis,Or=fr(Ot[Ar.start],Ot[Ar.end]),mr=Xt(St).filter(function(Tr){return Tr!==it}).filter(function(Tr){return Tr.isEnabled}).filter(function(Tr){return Boolean(Tr.subject.active)}).filter(function(Tr){return yn(Ct.frame)(vt(Tr))}).filter(function(Tr){var kr=vt(Tr);return Se?Ot[Ar.crossAxisEnd]<kr[Ar.crossAxisEnd]:kr[Ar.crossAxisStart]<Ot[Ar.crossAxisStart]}).filter(function(Tr){var kr=vt(Tr),sn=fr(kr[Ar.start],kr[Ar.end]);return Or(kr[Ar.start])||Or(kr[Ar.end])||sn(Ot[Ar.start])||sn(Ot[Ar.end])}).sort(function(Tr,kr){var sn=vt(Tr)[Ar.crossAxisStart],jn=vt(kr)[Ar.crossAxisStart];return Se?sn-jn:jn-sn}).filter(function(Tr,kr,sn){return vt(Tr)[Ar.crossAxisStart]===vt(sn[0])[Ar.crossAxisStart]});if(!mr.length)return null;if(mr.length===1)return mr[0];var cr=mr.filter(function(Tr){var kr=fr(vt(Tr)[Ar.start],vt(Tr)[Ar.end]);return kr(He[Ar.line])});return cr.length===1?cr[0]:cr.length>1?cr.sort(function(Tr,kr){return vt(Tr)[Ar.start]-vt(kr)[Ar.start]})[0]:mr.sort(function(Tr,kr){var sn=$e(He,gt(vt(Tr))),jn=$e(He,gt(vt(kr)));return sn!==jn?sn-jn:vt(Tr)[Ar.start]-vt(kr)[Ar.start]})[0]},Ft=function(ee,Se){var He=ee.page.borderBox.center;return Wt(ee.descriptor.id,Se)?le(He,Se.displacedBy.point):He},wr=function(ee,Se){var He=ee.page.borderBox;return Wt(ee.descriptor.id,Se)?Qe(He,xe(Se.displacedBy.point)):He},pr=function(ee){var Se=ee.pageBorderBoxCenter,He=ee.viewport,it=ee.destination,St=ee.insideDestination,Ct=ee.afterCritical,Ot=St.filter(function(Ar){return Yt({target:wr(Ar,Ct),destination:it,viewport:He.frame,withDroppableDisplacement:!0})}).sort(function(Ar,Or){var mr=nt(Se,Kn(it,Ft(Ar,Ct))),cr=nt(Se,Kn(it,Ft(Or,Ct)));return mr<cr?-1:cr<mr?1:Ar.descriptor.index-Or.descriptor.index});return Ot[0]||null},Dr=L(function(ee,Se){var He=Se[ee.line];return{value:He,point:We(ee.line,He)}}),zt=function(ee,Se,He){var it=ee.axis;if(ee.descriptor.mode==="virtual")return We(it.line,Se[it.line]);var St=ee.subject.page.contentBox[it.size],Ct=Fr(ee.descriptor.id,He),Ot=Ct.reduce(function(mr,cr){return mr+cr.client.marginBox[it.size]},0),Ar=Ot+Se[it.line],Or=Ar-St;return Or<=0?null:We(it.line,Or)},hn=function(ee,Se){return Object(A.a)({},ee,{scroll:Object(A.a)({},ee.scroll,{max:Se})})},ir=function(ee,Se,He){var it=ee.frame;Je(Se,ee)&&ce(!1),ee.subject.withPlaceholder&&ce(!1);var St=Dr(ee.axis,Se.displaceBy).point,Ct=zt(ee,St,He),Ot={placeholderSize:St,increasedBy:Ct,oldFrameMaxScroll:ee.frame?ee.frame.scroll.max:null};if(!it){var Ar=Ze({page:ee.subject.page,withPlaceholder:Ot,axis:ee.axis,frame:ee.frame});return Object(A.a)({},ee,{subject:Ar})}var Or=Ct?we(it.scroll.max,Ct):it.scroll.max,mr=hn(it,Or),cr=Ze({page:ee.subject.page,withPlaceholder:Ot,axis:ee.axis,frame:mr});return Object(A.a)({},ee,{subject:cr,frame:mr})},Xr=function(ee){var Se=ee.subject.withPlaceholder;Se||ce(!1);var He=ee.frame;if(!He){var it=Ze({page:ee.subject.page,axis:ee.axis,frame:null,withPlaceholder:null});return Object(A.a)({},ee,{subject:it})}var St=Se.oldFrameMaxScroll;St||ce(!1);var Ct=hn(He,St),Ot=Ze({page:ee.subject.page,axis:ee.axis,frame:Ct,withPlaceholder:null});return Object(A.a)({},ee,{subject:Ot,frame:Ct})},Br=function(ee){var Se=ee.previousPageBorderBoxCenter,He=ee.moveRelativeTo,it=ee.insideDestination,St=ee.draggable,Ct=ee.draggables,Ot=ee.destination,Ar=ee.viewport,Or=ee.afterCritical;if(!He){if(it.length)return null;var mr={displaced:Sr,displacedBy:qt,at:{type:"REORDER",destination:{droppableId:Ot.descriptor.id,index:0}}},cr=Ii({impact:mr,draggable:St,droppable:Ot,draggables:Ct,afterCritical:Or}),Tr=Je(St,Ot)?Ot:ir(Ot,St,Ct),kr=Ke({draggable:St,destination:Tr,newPageBorderBoxCenter:cr,viewport:Ar.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return kr?mr:null}var sn=Boolean(Se[Ot.axis.line]<=He.page.borderBox.center[Ot.axis.line]),jn=function(){var Li=He.descriptor.index;return He.descriptor.id===St.descriptor.id||sn?Li:Li+1}(),Vn=Dr(Ot.axis,St.displaceBy);return ot({draggable:St,insideDestination:it,destination:Ot,viewport:Ar,displacedBy:Vn,last:Sr,index:jn})},vr=function(ee){var Se=ee.isMovingForward,He=ee.previousPageBorderBoxCenter,it=ee.draggable,St=ee.isOver,Ct=ee.draggables,Ot=ee.droppables,Ar=ee.viewport,Or=ee.afterCritical,mr=lt({isMovingForward:Se,pageBorderBoxCenter:He,source:St,droppables:Ot,viewport:Ar});if(!mr)return null;var cr=Fr(mr.descriptor.id,Ct),Tr=pr({pageBorderBoxCenter:He,viewport:Ar,destination:mr,insideDestination:cr,afterCritical:Or}),kr=Br({previousPageBorderBoxCenter:He,destination:mr,draggable:it,draggables:Ct,moveRelativeTo:Tr,insideDestination:cr,viewport:Ar,afterCritical:Or});if(!kr)return null;var sn=Ii({impact:kr,draggable:it,droppable:mr,draggables:Ct,afterCritical:Or}),jn=Ge({pageBorderBoxCenter:sn,draggable:it,viewport:Ar});return{clientSelection:jn,impact:kr,scrollJumpRequest:null}},Cn=function(ee){var Se=ee.at;return Se?Se.type==="REORDER"?Se.destination.droppableId:Se.combine.droppableId:null},kn=function(ee,Se){var He=Cn(ee);return He?Se[He]:null},ei=function(ee){var Se=ee.state,He=ee.type,it=kn(Se.impact,Se.dimensions.droppables),St=Boolean(it),Ct=Se.dimensions.droppables[Se.critical.droppable.id],Ot=it||Ct,Ar=Ot.axis.direction,Or=Ar==="vertical"&&(He==="MOVE_UP"||He==="MOVE_DOWN")||Ar==="horizontal"&&(He==="MOVE_LEFT"||He==="MOVE_RIGHT");if(Or&&!St)return null;var mr=He==="MOVE_DOWN"||He==="MOVE_RIGHT",cr=Se.dimensions.draggables[Se.critical.draggable.id],Tr=Se.current.page.borderBoxCenter,kr=Se.dimensions,sn=kr.draggables,jn=kr.droppables;return Or?qe({isMovingForward:mr,previousPageBorderBoxCenter:Tr,draggable:cr,destination:Ot,draggables:sn,viewport:Se.viewport,previousClientSelection:Se.current.client.selection,previousImpact:Se.impact,afterCritical:Se.afterCritical}):vr({isMovingForward:mr,previousPageBorderBoxCenter:Tr,draggable:cr,isOver:Ot,draggables:sn,droppables:jn,viewport:Se.viewport,afterCritical:Se.afterCritical})};function ii(Ne){return Ne.phase==="DRAGGING"||Ne.phase==="COLLECTING"}function ti(Ne){var ee=fr(Ne.top,Ne.bottom),Se=fr(Ne.left,Ne.right);return function(it){return ee(it.y)&&Se(it.x)}}function Ti(Ne,ee){return Ne.left<ee.right&&Ne.right>ee.left&&Ne.top<ee.bottom&&Ne.bottom>ee.top}function Bn(Ne){var ee=Ne.pageBorderBox,Se=Ne.draggable,He=Ne.candidates,it=Se.page.borderBox.center,St=He.map(function(Ct){var Ot=Ct.axis,Ar=We(Ct.axis.line,ee.center[Ot.line],Ct.page.borderBox.center[Ot.crossAxisLine]);return{id:Ct.descriptor.id,distance:nt(it,Ar)}}).sort(function(Ct,Ot){return Ot.distance-Ct.distance});return St[0]?St[0].id:null}function Di(Ne){var ee=Ne.pageBorderBox,Se=Ne.draggable,He=Ne.droppables,it=Xt(He).filter(function(St){if(!St.isEnabled)return!1;var Ct=St.subject.active;if(!Ct)return!1;if(!Ti(ee,Ct))return!1;if(ti(Ct)(ee.center))return!0;var Ot=St.axis,Ar=Ct.center[Ot.crossAxisLine],Or=ee[Ot.crossAxisStart],mr=ee[Ot.crossAxisEnd],cr=fr(Ct[Ot.crossAxisStart],Ct[Ot.crossAxisEnd]),Tr=cr(Or),kr=cr(mr);return!Tr&&!kr?!0:Tr?Or<Ar:mr>Ar});return it.length?it.length===1?it[0].descriptor.id:Bn({pageBorderBox:ee,draggable:Se,candidates:it}):null}var gn=function(ee,Se){return t(Qe(ee,Se))},Vr=function(ee,Se){var He=ee.frame;return He?gn(Se,He.scroll.diff.value):Se};function Sn(Ne){var ee=Ne.displaced,Se=Ne.id;return Boolean(ee.visible[Se]||ee.invisible[Se])}function tn(Ne){var ee=Ne.draggable,Se=Ne.closest,He=Ne.inHomeList;return Se?He&&Se.descriptor.index>ee.descriptor.index?Se.descriptor.index-1:Se.descriptor.index:null}var ci=function(ee){var Se=ee.pageBorderBoxWithDroppableScroll,He=ee.draggable,it=ee.destination,St=ee.insideDestination,Ct=ee.last,Ot=ee.viewport,Ar=ee.afterCritical,Or=it.axis,mr=Dr(it.axis,He.displaceBy),cr=mr.value,Tr=Se[Or.start],kr=Se[Or.end],sn=Lt(He,St),jn=me(sn,function(Li){var ui=Li.descriptor.id,ba=Li.page.borderBox.center[Or.line],Wi=Wt(ui,Ar),Oa=Sn({displaced:Ct,id:ui});return Wi?Oa?kr<=ba:Tr<ba-cr:Oa?kr<=ba+cr:Tr<ba}),Vn=tn({draggable:He,closest:jn,inHomeList:Je(He,it)});return ot({draggable:He,insideDestination:St,destination:it,viewport:Ot,last:Ct,displacedBy:mr,index:Vn})},qn=4,wi=function(ee){var Se=ee.draggable,He=ee.pageBorderBoxWithDroppableScroll,it=ee.previousImpact,St=ee.destination,Ct=ee.insideDestination,Ot=ee.afterCritical;if(!St.isCombineEnabled)return null;var Ar=St.axis,Or=Dr(St.axis,Se.displaceBy),mr=Or.value,cr=He[Ar.start],Tr=He[Ar.end],kr=Lt(Se,Ct),sn=me(kr,function(Vn){var Li=Vn.descriptor.id,ui=Vn.page.borderBox,ba=ui[Ar.size],Wi=ba/qn,Oa=Wt(Li,Ot),wa=Sn({displaced:it.displaced,id:Li});return Oa?wa?Tr>ui[Ar.start]+Wi&&Tr<ui[Ar.end]-Wi:cr>ui[Ar.start]-mr+Wi&&cr<ui[Ar.end]-mr-Wi:wa?Tr>ui[Ar.start]+mr+Wi&&Tr<ui[Ar.end]+mr-Wi:cr>ui[Ar.start]+Wi&&cr<ui[Ar.end]-Wi});if(!sn)return null;var jn={displacedBy:Or,displaced:it.displaced,at:{type:"COMBINE",combine:{draggableId:sn.descriptor.id,droppableId:St.descriptor.id}}};return jn},Jn=function(ee){var Se=ee.pageOffset,He=ee.draggable,it=ee.draggables,St=ee.droppables,Ct=ee.previousImpact,Ot=ee.viewport,Ar=ee.afterCritical,Or=gn(He.page.borderBox,Se),mr=Di({pageBorderBox:Or,draggable:He,droppables:St});if(!mr)return yr;var cr=St[mr],Tr=Fr(cr.descriptor.id,it),kr=Vr(cr,Or);return wi({pageBorderBoxWithDroppableScroll:kr,draggable:He,previousImpact:Ct,destination:cr,insideDestination:Tr,afterCritical:Ar})||ci({pageBorderBoxWithDroppableScroll:kr,draggable:He,destination:cr,insideDestination:Tr,last:Ct.displaced,viewport:Ot,afterCritical:Ar})},Qi=function(ee,Se){var He;return Object(A.a)({},ee,(He={},He[Se.descriptor.id]=Se,He))},xi=function(ee){var Se=ee.previousImpact,He=ee.impact,it=ee.droppables,St=Cn(Se),Ct=Cn(He);if(!St)return it;if(St===Ct)return it;var Ot=it[St];if(!Ot.subject.withPlaceholder)return it;var Ar=Xr(Ot);return Qi(it,Ar)},Ei=function(ee){var Se=ee.draggable,He=ee.draggables,it=ee.droppables,St=ee.previousImpact,Ct=ee.impact,Ot=xi({previousImpact:St,impact:Ct,droppables:it}),Ar=Cn(Ct);if(!Ar)return Ot;var Or=it[Ar];if(Je(Se,Or))return Ot;if(Or.subject.withPlaceholder)return Ot;var mr=ir(Or,Se,He);return Qi(Ot,mr)},dn=function(ee){var Se=ee.state,He=ee.clientSelection,it=ee.dimensions,St=ee.viewport,Ct=ee.impact,Ot=ee.scrollJumpRequest,Ar=St||Se.viewport,Or=it||Se.dimensions,mr=He||Se.current.client.selection,cr=le(mr,Se.initial.client.selection),Tr={offset:cr,selection:mr,borderBoxCenter:we(Se.initial.client.borderBoxCenter,cr)},kr={selection:we(Tr.selection,Ar.scroll.current),borderBoxCenter:we(Tr.borderBoxCenter,Ar.scroll.current),offset:we(Tr.offset,Ar.scroll.diff.value)},sn={client:Tr,page:kr};if(Se.phase==="COLLECTING")return Object(A.a)({phase:"COLLECTING"},Se,{dimensions:Or,viewport:Ar,current:sn});var jn=Or.draggables[Se.critical.draggable.id],Vn=Ct||Jn({pageOffset:kr.offset,draggable:jn,draggables:Or.draggables,droppables:Or.droppables,previousImpact:Se.impact,viewport:Ar,afterCritical:Se.afterCritical}),Li=Ei({draggable:jn,impact:Vn,previousImpact:Se.impact,draggables:Or.draggables,droppables:Or.droppables}),ui=Object(A.a)({},Se,{current:sn,dimensions:{draggables:Or.draggables,droppables:Li},impact:Vn,viewport:Ar,scrollJumpRequest:Ot||null,forceShouldAnimate:Ot?!1:null});return ui};function Mr(Ne,ee){return Ne.map(function(Se){return ee[Se]})}var wn=function(ee){var Se=ee.impact,He=ee.viewport,it=ee.draggables,St=ee.destination,Ct=ee.forceShouldAnimate,Ot=Se.displaced,Ar=Mr(Ot.all,it),Or=un({afterDragging:Ar,destination:St,displacedBy:Se.displacedBy,viewport:He.frame,forceShouldAnimate:Ct,last:Ot});return Object(A.a)({},Se,{displaced:Or})},Rn=function(ee){var Se=ee.impact,He=ee.draggable,it=ee.droppable,St=ee.draggables,Ct=ee.viewport,Ot=ee.afterCritical,Ar=Ii({impact:Se,draggable:He,draggables:St,droppable:it,afterCritical:Ot});return Ge({pageBorderBoxCenter:Ar,draggable:He,viewport:Ct})},Xn=function(ee){var Se=ee.state,He=ee.dimensions,it=ee.viewport;Se.movementMode==="SNAP"||ce(!1);var St=Se.impact,Ct=it||Se.viewport,Ot=He||Se.dimensions,Ar=Ot.draggables,Or=Ot.droppables,mr=Ar[Se.critical.draggable.id],cr=Cn(St);cr||ce(!1);var Tr=Or[cr],kr=wn({impact:St,viewport:Ct,destination:Tr,draggables:Ar}),sn=Rn({impact:kr,draggable:mr,droppable:Tr,draggables:Ar,viewport:Ct,afterCritical:Se.afterCritical});return dn({impact:kr,clientSelection:sn,state:Se,dimensions:Ot,viewport:Ct})},Zn=function(ee){return{index:ee.index,droppableId:ee.droppableId}},hi=function(ee){var Se=ee.draggable,He=ee.home,it=ee.draggables,St=ee.viewport,Ct=Dr(He.axis,Se.displaceBy),Ot=Fr(He.descriptor.id,it),Ar=Ot.indexOf(Se);Ar!==-1||ce(!1);var Or=Ot.slice(Ar+1),mr=Or.reduce(function(sn,jn){return sn[jn.descriptor.id]=!0,sn},{}),cr={inVirtualList:He.descriptor.mode==="virtual",displacedBy:Ct,effected:mr},Tr=un({afterDragging:Or,destination:He,displacedBy:Ct,last:null,viewport:St.frame,forceShouldAnimate:!1}),kr={displaced:Tr,displacedBy:Ct,at:{type:"REORDER",destination:Zn(Se.descriptor)}};return{impact:kr,afterCritical:cr}},mi=function(ee,Se){return{draggables:ee.draggables,droppables:Qi(ee.droppables,Se)}},gi=function(ee){},Vi=function(ee){},ma=function(ee){var Se=ee.draggable,He=ee.offset,it=ee.initialWindowScroll,St=g(Se.client,He),Ct=v(St,it),Ot=Object(A.a)({},Se,{placeholder:Object(A.a)({},Se.placeholder,{client:St}),client:St,page:Ct});return Ot},ca=function(ee){var Se=ee.frame;return Se||ce(!1),Se},ja=function(ee){var Se=ee.additions,He=ee.updatedDroppables,it=ee.viewport,St=it.scroll.diff.value;return Se.map(function(Ct){var Ot=Ct.descriptor.droppableId,Ar=He[Ot],Or=ca(Ar),mr=Or.scroll.diff.value,cr=we(St,mr),Tr=ma({draggable:Ct,offset:cr,initialWindowScroll:it.scroll.initial});return Tr})},fi=function(ee){var Se=ee.state,He=ee.published;gi();var it=He.modified.map(function(Wi){var Oa=Se.dimensions.droppables[Wi.droppableId],wa=ye(Oa,Wi.scroll);return wa}),St=Object(A.a)({},Se.dimensions.droppables,{},rr(it)),Ct=ut(ja({additions:He.additions,updatedDroppables:St,viewport:Se.viewport})),Ot=Object(A.a)({},Se.dimensions.draggables,{},Ct);He.removals.forEach(function(Wi){delete Ot[Wi]});var Ar={droppables:St,draggables:Ot},Or=Cn(Se.impact),mr=Or?Ar.droppables[Or]:null,cr=Ar.draggables[Se.critical.draggable.id],Tr=Ar.droppables[Se.critical.droppable.id],kr=hi({draggable:cr,home:Tr,draggables:Ot,viewport:Se.viewport}),sn=kr.impact,jn=kr.afterCritical,Vn=mr&&mr.isCombineEnabled?Se.impact:sn,Li=Jn({pageOffset:Se.current.page.offset,draggable:Ar.draggables[Se.critical.draggable.id],draggables:Ar.draggables,droppables:Ar.droppables,previousImpact:Vn,viewport:Se.viewport,afterCritical:jn});Vi();var ui=Object(A.a)({phase:"DRAGGING"},Se,{phase:"DRAGGING",impact:Li,onLiftImpact:sn,dimensions:Ar,afterCritical:jn,forceShouldAnimate:!1});if(Se.phase==="COLLECTING")return ui;var ba=Object(A.a)({phase:"DROP_PENDING"},ui,{phase:"DROP_PENDING",reason:Se.reason,isWaiting:!1});return ba},cn=function(ee){return ee.movementMode==="SNAP"},Bi=function(ee,Se,He){var it=mi(ee.dimensions,Se);return!cn(ee)||He?dn({state:ee,dimensions:it}):Xn({state:ee,dimensions:it})};function sa(Ne){return Ne.isDragging&&Ne.movementMode==="SNAP"?Object(A.a)({phase:"DRAGGING"},Ne,{scrollJumpRequest:null}):Ne}var zi={phase:"IDLE",completed:null,shouldFlush:!1},da=function(ee,Se){if(ee===void 0&&(ee=zi),Se.type==="FLUSH")return Object(A.a)({},zi,{shouldFlush:!0});if(Se.type==="INITIAL_PUBLISH"){ee.phase==="IDLE"||ce(!1);var He=Se.payload,it=He.critical,St=He.clientSelection,Ct=He.viewport,Ot=He.dimensions,Ar=He.movementMode,Or=Ot.draggables[it.draggable.id],mr=Ot.droppables[it.droppable.id],cr={selection:St,borderBoxCenter:Or.client.borderBox.center,offset:Ce},Tr={client:cr,page:{selection:we(cr.selection,Ct.scroll.initial),borderBoxCenter:we(cr.selection,Ct.scroll.initial),offset:we(cr.selection,Ct.scroll.diff.value)}},kr=Xt(Ot.droppables).every(function(xo){return!xo.isFixedOnPage}),sn=hi({draggable:Or,home:mr,draggables:Ot.draggables,viewport:Ct}),jn=sn.impact,Vn=sn.afterCritical,Li={phase:"DRAGGING",isDragging:!0,critical:it,movementMode:Ar,dimensions:Ot,initial:Tr,current:Tr,isWindowScrollAllowed:kr,impact:jn,afterCritical:Vn,onLiftImpact:jn,viewport:Ct,scrollJumpRequest:null,forceShouldAnimate:null};return Li}if(Se.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase==="DRAGGING"||ce(!1);var ui=Object(A.a)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return ui}if(Se.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||ce(!1),fi({state:ee,published:Se.payload});if(Se.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;ii(ee)||ce(!1);var ba=Se.payload.client;return fe(ba,ee.current.client.selection)?ee:dn({state:ee,clientSelection:ba,impact:cn(ee)?ee.impact:null})}if(Se.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING")return sa(ee);if(ee.phase==="COLLECTING")return sa(ee);ii(ee)||ce(!1);var Wi=Se.payload,Oa=Wi.id,wa=Wi.newScroll,$a=ee.dimensions.droppables[Oa];if(!$a)return ee;var mo=ye($a,wa);return Bi(ee,mo,!1)}if(Se.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;ii(ee)||ce(!1);var P=Se.payload,K=P.id,q=P.isEnabled,te=ee.dimensions.droppables[K];te||ce(!1),te.isEnabled!==q||ce(!1);var ue=Object(A.a)({},te,{isEnabled:q});return Bi(ee,ue,!0)}if(Se.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;ii(ee)||ce(!1);var Me=Se.payload,dt=Me.id,Tt=Me.isCombineEnabled,Qt=ee.dimensions.droppables[dt];Qt||ce(!1),Qt.isCombineEnabled!==Tt||ce(!1);var tr=Object(A.a)({},Qt,{isCombineEnabled:Tt});return Bi(ee,tr,!0)}if(Se.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;ii(ee)||ce(!1),ee.isWindowScrollAllowed||ce(!1);var en=Se.payload.newScroll;if(fe(ee.viewport.scroll.current,en))return sa(ee);var pn=Mi(ee.viewport,en);return cn(ee)?Xn({state:ee,viewport:pn}):dn({state:ee,viewport:pn})}if(Se.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!ii(ee))return ee;var Mn=Se.payload.maxScroll;if(fe(Mn,ee.viewport.scroll.max))return ee;var Fn=Object(A.a)({},ee.viewport,{scroll:Object(A.a)({},ee.viewport.scroll,{max:Mn})});return Object(A.a)({phase:"DRAGGING"},ee,{viewport:Fn})}if(Se.type==="MOVE_UP"||Se.type==="MOVE_DOWN"||Se.type==="MOVE_LEFT"||Se.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase==="DRAGGING"||ce(!1);var yi=ei({state:ee,type:Se.type});return yi?dn({state:ee,impact:yi.impact,clientSelection:yi.clientSelection,scrollJumpRequest:yi.scrollJumpRequest}):ee}if(Se.type==="DROP_PENDING"){var Xi=Se.payload.reason;ee.phase==="COLLECTING"||ce(!1);var oa=Object(A.a)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:Xi});return oa}if(Se.type==="DROP_ANIMATE"){var ea=Se.payload,$i=ea.completed,Sa=ea.dropDuration,Ia=ea.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||ce(!1);var io={phase:"DROP_ANIMATING",completed:$i,dropDuration:Sa,newHomeClientOffset:Ia,dimensions:ee.dimensions};return io}if(Se.type==="DROP_COMPLETE"){var Fa=Se.payload.completed;return{phase:"IDLE",completed:Fa,shouldFlush:!1}}return ee},Vt=function(ee){return{type:"BEFORE_INITIAL_CAPTURE",payload:ee}},Qr=function(ee){return{type:"LIFT",payload:ee}},an=function(ee){return{type:"INITIAL_PUBLISH",payload:ee}},mn=function(ee){return{type:"PUBLISH_WHILE_DRAGGING",payload:ee}},Ye=function(){return{type:"COLLECTION_STARTING",payload:null}},It=function(ee){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ee}},lr=function(ee){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ee}},sr=function(ee){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ee}},Lr=function(ee){return{type:"MOVE",payload:ee}},Pr=function(ee){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ee}},Kr=function(ee){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ee}},on=function(){return{type:"MOVE_UP",payload:null}},xn=function(){return{type:"MOVE_DOWN",payload:null}},An=function(){return{type:"MOVE_RIGHT",payload:null}},Pn=function(){return{type:"MOVE_LEFT",payload:null}},Un=function(){return{type:"FLUSH",payload:null}},bn=function(ee){return{type:"DROP_ANIMATE",payload:ee}},_n=function(ee){return{type:"DROP_COMPLETE",payload:ee}},Tn=function(ee){return{type:"DROP",payload:ee}},Wn=function(ee){return{type:"DROP_PENDING",payload:ee}},Gn=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function ri(Ne){if(Ne.length<=1)return;for(var ee=Ne.map(function(Ot){return Ot.descriptor.index}),Se={},He=1;He<ee.length;He++){var it=ee[He],St=ee[He-1];it!==St+1&&(Se[it]=!0)}if(!Object.keys(Se).length)return;var Ct=ee.map(function(Ot){var Ar=Boolean(Se[Ot]);return Ar?"[\u{1F525}"+Ot+"]":""+Ot}).join(", ")}function Si(Ne,ee){if(!1)var Se}var oi=function(ee){return function(Se){var He=Se.getState,it=Se.dispatch;return function(St){return function(Ct){if(Ct.type!=="LIFT"){St(Ct);return}var Ot=Ct.payload,Ar=Ot.id,Or=Ot.clientSelection,mr=Ot.movementMode,cr=He();cr.phase==="DROP_ANIMATING"&&it(_n({completed:cr.completed})),He().phase==="IDLE"||ce(!1),it(Un()),it(Vt({draggableId:Ar,movementMode:mr}));var Tr={shouldPublishImmediately:mr==="SNAP"},kr={draggableId:Ar,scrollOptions:Tr},sn=ee.startPublishing(kr),jn=sn.critical,Vn=sn.dimensions,Li=sn.viewport;Si(jn,Vn),it(an({critical:jn,dimensions:Vn,clientSelection:Or,movementMode:mr,viewport:Li}))}}}},Pi=function(ee){return function(){return function(Se){return function(He){He.type==="INITIAL_PUBLISH"&&ee.dragging(),He.type==="DROP_ANIMATE"&&ee.dropping(He.payload.completed.result.reason),(He.type==="FLUSH"||He.type==="DROP_COMPLETE")&&ee.resting(),Se(He)}}}},Hi={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},_i={opacity:{drop:0,combining:.7},scale:{drop:.75}},pi={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},ki=pi.outOfTheWay+"s "+Hi.outOfTheWay,zn={fluid:"opacity "+ki,snap:"transform "+ki+", opacity "+ki,drop:function(ee){var Se=ee+"s "+Hi.drop;return"transform "+Se+", opacity "+Se},outOfTheWay:"transform "+ki,placeholder:"height "+ki+", width "+ki+", margin "+ki},ji=function(ee){return fe(ee,Ce)?null:"translate("+ee.x+"px, "+ee.y+"px)"},Yi={moveTo:ji,drop:function(ee,Se){var He=ji(ee);return He?Se?He+" scale("+_i.scale.drop+")":He:null}},ta=pi.minDropTime,Zi=pi.maxDropTime,br=Zi-ta,Wr=1500,nn=.6,Nr=function(ee){var Se=ee.current,He=ee.destination,it=ee.reason,St=nt(Se,He);if(St<=0)return ta;if(St>=Wr)return Zi;var Ct=St/Wr,Ot=ta+br*Ct,Ar=it==="CANCEL"?Ot*nn:Ot;return Number(Ar.toFixed(2))},jt=function(ee){var Se=ee.impact,He=ee.draggable,it=ee.dimensions,St=ee.viewport,Ct=ee.afterCritical,Ot=it.draggables,Ar=it.droppables,Or=Cn(Se),mr=Or?Ar[Or]:null,cr=Ar[He.descriptor.droppableId],Tr=Rn({impact:Se,draggable:He,draggables:Ot,afterCritical:Ct,droppable:mr||cr,viewport:St}),kr=le(Tr,He.client.borderBox.center);return kr},xr=function(ee){var Se=ee.draggables,He=ee.reason,it=ee.lastImpact,St=ee.home,Ct=ee.viewport,Ot=ee.onLiftImpact;if(!it.at||He!=="DROP"){var Ar=wn({draggables:Se,impact:Ot,destination:St,viewport:Ct,forceShouldAnimate:!0});return{impact:Ar,didDropInsideDroppable:!1}}if(it.at.type==="REORDER")return{impact:it,didDropInsideDroppable:!0};var Or=Object(A.a)({},it,{displaced:Sr});return{impact:Or,didDropInsideDroppable:!0}},$t=function(ee){var Se=ee.getState,He=ee.dispatch;return function(it){return function(St){if(St.type!=="DROP"){it(St);return}var Ct=Se(),Ot=St.payload.reason;if(Ct.phase==="COLLECTING"){He(Wn({reason:Ot}));return}if(Ct.phase==="IDLE")return;var Ar=Ct.phase==="DROP_PENDING"&&Ct.isWaiting;Ar&&ce(!1),Ct.phase==="DRAGGING"||Ct.phase==="DROP_PENDING"||ce(!1);var Or=Ct.critical,mr=Ct.dimensions,cr=mr.draggables[Ct.critical.draggable.id],Tr=xr({reason:Ot,lastImpact:Ct.impact,afterCritical:Ct.afterCritical,onLiftImpact:Ct.onLiftImpact,home:Ct.dimensions.droppables[Ct.critical.droppable.id],viewport:Ct.viewport,draggables:Ct.dimensions.draggables}),kr=Tr.impact,sn=Tr.didDropInsideDroppable,jn=sn?er(kr):null,Vn=sn?nr(kr):null,Li={index:Or.draggable.index,droppableId:Or.droppable.id},ui={draggableId:cr.descriptor.id,type:cr.descriptor.type,source:Li,reason:Ot,mode:Ct.movementMode,destination:jn,combine:Vn},ba=jt({impact:kr,draggable:cr,dimensions:mr,viewport:Ct.viewport,afterCritical:Ct.afterCritical}),Wi={critical:Ct.critical,afterCritical:Ct.afterCritical,result:ui,impact:kr},Oa=!fe(Ct.current.client.offset,ba)||Boolean(ui.combine);if(!Oa){He(_n({completed:Wi}));return}var wa=Nr({current:Ct.current.client.offset,destination:ba,reason:Ot}),$a={newHomeClientOffset:ba,dropDuration:wa,completed:Wi};He(bn($a))}}},jr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Hr(Ne){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Se){if(Se.target!==window&&Se.target!==window.document)return;Ne()}}}function ln(Ne){var ee=Ne.onWindowScroll;function Se(){ee(jr())}var He=N(Se),it=Hr(He),St=ie;function Ct(){return St!==ie}function Ot(){Ct()&&ce(!1),St=oe(window,[it])}function Ar(){Ct()||ce(!1),He.cancel(),St(),St=ie}return{start:Ot,stop:Ar,isActive:Ct}}var qr=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},fn=function(ee){var Se=ln({onWindowScroll:function(it){ee.dispatch(Pr({newScroll:it}))}});return function(He){return function(it){!Se.isActive()&&it.type==="INITIAL_PUBLISH"&&Se.start(),Se.isActive()&&qr(it)&&Se.stop(),He(it)}}},Dn=function(ee){var Se=!1,He=!1,it=setTimeout(function(){He=!0}),St=function(Ot){if(Se)return;if(He)return;Se=!0,ee(Ot),clearTimeout(it)};return St.wasCalled=function(){return Se},St},li=function(){var ee=[],Se=function(Ct){var Ot=et(ee,function(mr){return mr.timerId===Ct});Ot!==-1||ce(!1);var Ar=ee.splice(Ot,1),Or=Ar[0];Or.callback()},He=function(Ct){var Ot=setTimeout(function(){return Se(Ot)}),Ar={timerId:Ot,callback:Ct};ee.push(Ar)},it=function(){if(!ee.length)return;var Ct=[].concat(ee);ee.length=0,Ct.forEach(function(Ot){clearTimeout(Ot.timerId),Ot.callback()})};return{add:He,flush:it}},di=function(ee,Se){return ee==null&&Se==null?!0:ee==null||Se==null?!1:ee.droppableId===Se.droppableId&&ee.index===Se.index},Ri=function(ee,Se){return ee==null&&Se==null?!0:ee==null||Se==null?!1:ee.draggableId===Se.draggableId&&ee.droppableId===Se.droppableId},la=function(ee,Se){if(ee===Se)return!0;var He=ee.draggable.id===Se.draggable.id&&ee.draggable.droppableId===Se.draggable.droppableId&&ee.draggable.type===Se.draggable.type&&ee.draggable.index===Se.draggable.index,it=ee.droppable.id===Se.droppable.id&&ee.droppable.type===Se.droppable.type;return He&&it},na=function(ee,Se){gi(),Se(),Vi()},ga=function(ee,Se){return{draggableId:ee.draggable.id,type:ee.droppable.type,source:{droppableId:ee.droppable.id,index:ee.draggable.index},mode:Se}},Fi=function(ee,Se,He,it){if(!ee){He(it(Se));return}var St=Dn(He),Ct={announce:St};ee(Se,Ct),St.wasCalled()||He(it(Se))},Ni=function(ee,Se){var He=li(),it=null,St=function(kr,sn){it&&ce(!1),na("onBeforeCapture",function(){var jn=ee().onBeforeCapture;if(jn){var Vn={draggableId:kr,mode:sn};jn(Vn)}})},Ct=function(kr,sn){it&&ce(!1),na("onBeforeDragStart",function(){var jn=ee().onBeforeDragStart;jn&&jn(ga(kr,sn))})},Ot=function(kr,sn){it&&ce(!1);var jn=ga(kr,sn);it={mode:sn,lastCritical:kr,lastLocation:jn.source,lastCombine:null},He.add(function(){na("onDragStart",function(){return Fi(ee().onDragStart,jn,Se,de.onDragStart)})})},Ar=function(kr,sn){var jn=er(sn),Vn=nr(sn);it||ce(!1);var Li=!la(kr,it.lastCritical);Li&&(it.lastCritical=kr);var ui=!di(it.lastLocation,jn);ui&&(it.lastLocation=jn);var ba=!Ri(it.lastCombine,Vn);if(ba&&(it.lastCombine=Vn),!Li&&!ui&&!ba)return;var Wi=Object(A.a)({},ga(kr,it.mode),{combine:Vn,destination:jn});He.add(function(){na("onDragUpdate",function(){return Fi(ee().onDragUpdate,Wi,Se,de.onDragUpdate)})})},Or=function(){it||ce(!1),He.flush()},mr=function(kr){it||ce(!1),it=null,na("onDragEnd",function(){return Fi(ee().onDragEnd,kr,Se,de.onDragEnd)})},cr=function(){if(!it)return;var kr=Object(A.a)({},ga(it.lastCritical,it.mode),{combine:null,destination:null,reason:"CANCEL"});mr(kr)};return{beforeCapture:St,beforeStart:Ct,start:Ot,update:Ar,flush:Or,drop:mr,abort:cr}},ia=function(ee,Se){var He=Ni(ee,Se);return function(it){return function(St){return function(Ct){if(Ct.type==="BEFORE_INITIAL_CAPTURE"){He.beforeCapture(Ct.payload.draggableId,Ct.payload.movementMode);return}if(Ct.type==="INITIAL_PUBLISH"){var Ot=Ct.payload.critical;He.beforeStart(Ot,Ct.payload.movementMode),St(Ct),He.start(Ot,Ct.payload.movementMode);return}if(Ct.type==="DROP_COMPLETE"){var Ar=Ct.payload.completed.result;He.flush(),St(Ct),He.drop(Ar);return}if(St(Ct),Ct.type==="FLUSH"){He.abort();return}var Or=it.getState();Or.phase==="DRAGGING"&&He.update(Or.critical,Or.impact)}}}},Ji=function(ee){return function(Se){return function(He){if(He.type!=="DROP_ANIMATION_FINISHED"){Se(He);return}var it=ee.getState();it.phase==="DROP_ANIMATING"||ce(!1),ee.dispatch(_n({completed:it.completed}))}}},ha=function(ee){var Se=null,He=null;function it(){He&&(cancelAnimationFrame(He),He=null),Se&&(Se(),Se=null)}return function(St){return function(Ct){if((Ct.type==="FLUSH"||Ct.type==="DROP_COMPLETE"||Ct.type==="DROP_ANIMATION_FINISHED")&&it(),St(Ct),Ct.type!=="DROP_ANIMATE")return;var Ot={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Or=ee.getState();Or.phase==="DROP_ANIMATING"&&ee.dispatch(Gn())}};He=requestAnimationFrame(function(){He=null,Se=oe(window,[Ot])})}}},Ta=function(ee){return function(){return function(Se){return function(He){(He.type==="DROP_COMPLETE"||He.type==="FLUSH"||He.type==="DROP_ANIMATE")&&ee.stopPublishing(),Se(He)}}}},Pa=function(ee){var Se=!1;return function(){return function(He){return function(it){if(it.type==="INITIAL_PUBLISH"){Se=!0,ee.tryRecordFocus(it.payload.critical.draggable.id),He(it),ee.tryRestoreFocusRecorded();return}if(He(it),!Se)return;if(it.type==="FLUSH"){Se=!1,ee.tryRestoreFocusRecorded();return}if(it.type==="DROP_COMPLETE"){Se=!1;var St=it.payload.completed.result;St.combine&&ee.tryShiftRecord(St.draggableId,St.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}},bi=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},Qn=function(ee){return function(Se){return function(He){return function(it){if(bi(it)){ee.stop(),He(it);return}if(it.type==="INITIAL_PUBLISH"){He(it);var St=Se.getState();St.phase==="DRAGGING"||ce(!1),ee.start(St);return}He(it),ee.scroll(Se.getState())}}}},vi=function(ee){return function(Se){return function(He){if(Se(He),He.type!=="PUBLISH_WHILE_DRAGGING")return;var it=ee.getState();if(it.phase!=="DROP_PENDING")return;if(it.isWaiting)return;ee.dispatch(Tn({reason:it.reason}))}}},Ai=b.d,Gi=function(ee){var Se=ee.dimensionMarshal,He=ee.focusMarshal,it=ee.styleMarshal,St=ee.getResponders,Ct=ee.announce,Ot=ee.autoScroller;return Object(b.e)(da,Ai(Object(b.a)(Pi(it),Ta(Se),oi(Se),$t,Ji,ha,vi,Qn(Ot),fn,Pa(He),ia(St,Ct))))},Oi=function(){return{additions:{},removals:{},modified:{}}};function pa(Ne){var ee=Ne.registry,Se=Ne.callbacks,He=Oi(),it=null,St=function(){if(it)return;Se.collectionStarting(),it=requestAnimationFrame(function(){it=null,gi();var mr=He,cr=mr.additions,Tr=mr.removals,kr=mr.modified,sn=Object.keys(cr).map(function(Li){return ee.draggable.getById(Li).getDimension(Ce)}).sort(function(Li,ui){return Li.descriptor.index-ui.descriptor.index}),jn=Object.keys(kr).map(function(Li){var ui=ee.droppable.getById(Li),ba=ui.callbacks.getScrollWhileDragging();return{droppableId:Li,scroll:ba}}),Vn={additions:sn,removals:Object.keys(Tr),modified:jn};He=Oi(),Vi(),Se.publish(Vn)})},Ct=function(mr){var cr=mr.descriptor.id;He.additions[cr]=mr,He.modified[mr.descriptor.droppableId]=!0,He.removals[cr]&&delete He.removals[cr],St()},Ot=function(mr){var cr=mr.descriptor;He.removals[cr.id]=!0,He.modified[cr.droppableId]=!0,He.additions[cr.id]&&delete He.additions[cr.id],St()},Ar=function(){if(!it)return;cancelAnimationFrame(it),it=null,He=Oi()};return{add:Ct,remove:Ot,stop:Ar}}var Ma=function(ee){var Se=ee.scrollHeight,He=ee.scrollWidth,it=ee.height,St=ee.width,Ct=le({x:He,y:Se},{x:St,y:it}),Ot={x:Math.max(0,Ct.x),y:Math.max(0,Ct.y)};return Ot},fa=function(){var ee=document.documentElement;return ee||ce(!1),ee},ua=function(){var ee=fa(),Se=Ma({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return Se},ra=function(){var ee=jr(),Se=ua(),He=ee.y,it=ee.x,St=fa(),Ct=St.clientWidth,Ot=St.clientHeight,Ar=it+Ct,Or=He+Ot,mr=t({top:He,left:it,right:Ar,bottom:Or}),cr={frame:mr,scroll:{initial:ee,current:ee,max:Se,diff:{value:Ce,displacement:Ce}}};return cr},Ra=function(ee){var Se=ee.critical,He=ee.scrollOptions,it=ee.registry;gi();var St=ra(),Ct=St.scroll.current,Ot=Se.droppable,Ar=it.droppable.getAllByType(Ot.type).map(function(Tr){return Tr.callbacks.getDimensionAndWatchScroll(Ct,He)}),Or=it.draggable.getAllByType(Se.draggable.type).map(function(Tr){return Tr.getDimension(Ct)}),mr={draggables:ut(Or),droppables:rr(Ar)};Vi();var cr={dimensions:mr,critical:Se,viewport:St};return cr};function eo(Ne,ee,Se){if(Se.descriptor.id===ee.id)return!1;if(Se.descriptor.type!==ee.type)return!1;var He=Ne.droppable.getById(Se.descriptor.droppableId);return!(He.descriptor.mode!=="virtual")}var qi=function(ee,Se){var He=null,it=pa({callbacks:{publish:Se.publishWhileDragging,collectionStarting:Se.collectionStarting},registry:ee}),St=function(sn,jn){if(ee.droppable.exists(sn)||ce(!1),!He)return;Se.updateDroppableIsEnabled({id:sn,isEnabled:jn})},Ct=function(sn,jn){if(!He)return;ee.droppable.exists(sn)||ce(!1),Se.updateDroppableIsCombineEnabled({id:sn,isCombineEnabled:jn})},Ot=function(sn,jn){if(!He)return;ee.droppable.exists(sn)||ce(!1),Se.updateDroppableScroll({id:sn,newScroll:jn})},Ar=function(sn,jn){if(!He)return;ee.droppable.getById(sn).callbacks.scroll(jn)},Or=function(){if(!He)return;it.stop();var sn=He.critical.droppable;ee.droppable.getAllByType(sn.type).forEach(function(jn){return jn.callbacks.dragStopped()}),He.unsubscribe(),He=null},mr=function(sn){He||ce(!1);var jn=He.critical.draggable;sn.type==="ADDITION"&&(eo(ee,jn,sn.value)&&it.add(sn.value)),sn.type==="REMOVAL"&&(eo(ee,jn,sn.value)&&it.remove(sn.value))},cr=function(sn){He&&ce(!1);var jn=ee.draggable.getById(sn.draggableId),Vn=ee.droppable.getById(jn.descriptor.droppableId),Li={draggable:jn.descriptor,droppable:Vn.descriptor},ui=ee.subscribe(mr);return He={critical:Li,unsubscribe:ui},Ra({critical:Li,registry:ee,scrollOptions:sn.scrollOptions})},Tr={updateDroppableIsEnabled:St,updateDroppableIsCombineEnabled:Ct,scrollDroppable:Ar,updateDroppableScroll:Ot,startPublishing:cr,stopPublishing:Or};return Tr},qa=function(ee,Se){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===Se?!1:ee.completed.result.reason==="DROP"},Ya=function(ee){window.scrollBy(ee.x,ee.y)},Ka=L(function(Ne){return Xt(Ne).filter(function(ee){return ee.isEnabled?!!ee.frame:!1})}),ao=function(ee,Se){var He=me(Ka(Se),function(it){return it.frame||ce(!1),ti(it.frame.pageMarginBox)(ee)});return He},Va=function(ee){var Se=ee.center,He=ee.destination,it=ee.droppables;if(He){var St=it[He];return St.frame?St:null}var Ct=ao(Se,it);return Ct},Ba={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ee){return Math.pow(ee,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},go=function(ee,Se){var He=ee[Se.size]*Ba.startFromPercentage,it=ee[Se.size]*Ba.maxScrollAtPercentage,St={startScrollingFrom:He,maxScrollValueAt:it};return St},so=function(ee){var Se=ee.startOfRange,He=ee.endOfRange,it=ee.current,St=He-Se;if(St===0)return 0;var Ct=it-Se,Ot=Ct/St;return Ot},vo=1,to=function(ee,Se){if(ee>Se.startScrollingFrom)return 0;if(ee<=Se.maxScrollValueAt)return Ba.maxPixelScroll;if(ee===Se.startScrollingFrom)return vo;var He=so({startOfRange:Se.maxScrollValueAt,endOfRange:Se.startScrollingFrom,current:ee}),it=1-He,St=Ba.maxPixelScroll*Ba.ease(it);return Math.ceil(St)},ro=Ba.durationDampening.accelerateAt,Ca=Ba.durationDampening.stopDampeningAt,Ha=function(ee,Se){var He=Se,it=Ca,St=Date.now(),Ct=St-He;if(Ct>=Ca)return ee;if(Ct<ro)return vo;var Ot=so({startOfRange:ro,endOfRange:it,current:Ct}),Ar=ee*Ba.ease(Ot);return Math.ceil(Ar)},Na=function(ee){var Se=ee.distanceToEdge,He=ee.thresholds,it=ee.dragStartTime,St=ee.shouldUseTimeDampening,Ct=to(Se,He);return Ct===0?0:St?Math.max(Ha(Ct,it),vo):Ct},oo=function(ee){var Se=ee.container,He=ee.distanceToEdges,it=ee.dragStartTime,St=ee.axis,Ct=ee.shouldUseTimeDampening,Ot=go(Se,St),Ar=He[St.end]<He[St.start];return Ar?Na({distanceToEdge:He[St.end],thresholds:Ot,dragStartTime:it,shouldUseTimeDampening:Ct}):-1*Na({distanceToEdge:He[St.start],thresholds:Ot,dragStartTime:it,shouldUseTimeDampening:Ct})},Ga=function(ee){var Se=ee.container,He=ee.subject,it=ee.proposedScroll,St=He.height>Se.height,Ct=He.width>Se.width;return!Ct&&!St?it:Ct&&St?null:{x:Ct?0:it.x,y:St?0:it.y}},Ki=Le(function(Ne){return Ne===0?0:Ne}),Xa=function(ee){var Se=ee.dragStartTime,He=ee.container,it=ee.subject,St=ee.center,Ct=ee.shouldUseTimeDampening,Ot={top:St.y-He.top,right:He.right-St.x,bottom:He.bottom-St.y,left:St.x-He.left},Ar=oo({container:He,distanceToEdges:Ot,dragStartTime:Se,axis:Ln,shouldUseTimeDampening:Ct}),Or=oo({container:He,distanceToEdges:Ot,dragStartTime:Se,axis:Nt,shouldUseTimeDampening:Ct}),mr=Ki({x:Or,y:Ar});if(fe(mr,Ce))return null;var cr=Ga({container:He,subject:it,proposedScroll:mr});return cr?fe(cr,Ce)?null:cr:null},No=Le(function(Ne){return Ne===0?0:Ne>0?1:-1}),_o=function(){var Ne=function(Se,He){return Se<0?Se:Se>He?Se-He:0};return function(ee){var Se=ee.current,He=ee.max,it=ee.change,St=we(Se,it),Ct={x:Ne(St.x,He.x),y:Ne(St.y,He.y)};return fe(Ct,Ce)?null:Ct}}(),Vo=function(ee){var Se=ee.max,He=ee.current,it=ee.change,St={x:Math.max(He.x,Se.x),y:Math.max(He.y,Se.y)},Ct=No(it),Ot=_o({max:St,current:He,change:Ct});return Ot?Ct.x!==0&&Ot.x===0?!0:Ct.y!==0&&Ot.y===0:!0},Go=function(ee,Se){return Vo({current:ee.scroll.current,max:ee.scroll.max,change:Se})},bo=function(ee,Se){if(!Go(ee,Se))return null;var He=ee.scroll.max,it=ee.scroll.current;return _o({current:it,max:He,change:Se})},Da=function(ee,Se){var He=ee.frame;return He?Vo({current:He.scroll.current,max:He.scroll.max,change:Se}):!1},Ho=function(ee,Se){var He=ee.frame;return He&&Da(ee,Se)?_o({current:He.scroll.current,max:He.scroll.max,change:Se}):null},ds=function(ee){var Se=ee.viewport,He=ee.subject,it=ee.center,St=ee.dragStartTime,Ct=ee.shouldUseTimeDampening,Ot=Xa({dragStartTime:St,container:Se.frame,subject:He,center:it,shouldUseTimeDampening:Ct});return Ot&&Go(Se,Ot)?Ot:null},fo=function(ee){var Se=ee.droppable,He=ee.subject,it=ee.center,St=ee.dragStartTime,Ct=ee.shouldUseTimeDampening,Ot=Se.frame;if(!Ot)return null;var Ar=Xa({dragStartTime:St,container:Ot.pageMarginBox,subject:He,center:it,shouldUseTimeDampening:Ct});return Ar&&Da(Se,Ar)?Ar:null},Oo=function(ee){var Se=ee.state,He=ee.dragStartTime,it=ee.shouldUseTimeDampening,St=ee.scrollWindow,Ct=ee.scrollDroppable,Ot=Se.current.page.borderBoxCenter,Ar=Se.dimensions.draggables[Se.critical.draggable.id],Or=Ar.page.marginBox;if(Se.isWindowScrollAllowed){var mr=Se.viewport,cr=ds({dragStartTime:He,viewport:mr,subject:Or,center:Ot,shouldUseTimeDampening:it});if(cr){St(cr);return}}var Tr=Va({center:Ot,destination:Cn(Se.impact),droppables:Se.dimensions.droppables});if(!Tr)return;var kr=fo({dragStartTime:He,droppable:Tr,subject:Or,center:Ot,shouldUseTimeDampening:it});kr&&Ct(Tr.descriptor.id,kr)},Wa=function(ee){var Se=ee.scrollWindow,He=ee.scrollDroppable,it=N(Se),St=N(He),Ct=null,Ot=function(cr){Ct||ce(!1);var Tr=Ct,kr=Tr.shouldUseTimeDampening,sn=Tr.dragStartTime;Oo({state:cr,scrollWindow:it,scrollDroppable:St,dragStartTime:sn,shouldUseTimeDampening:kr})},Ar=function(cr){gi(),Ct&&ce(!1);var Tr=Date.now(),kr=!1,sn=function(){kr=!0};Oo({state:cr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:sn,scrollDroppable:sn}),Ct={dragStartTime:Tr,shouldUseTimeDampening:kr},Vi(),kr&&Ot(cr)},Or=function(){if(!Ct)return;it.cancel(),St.cancel(),Ct=null};return{start:Ar,stop:Or,scroll:Ot}},Xo=function(ee){var Se=ee.move,He=ee.scrollDroppable,it=ee.scrollWindow,St=function(mr,cr){var Tr=we(mr.current.client.selection,cr);Se({client:Tr})},Ct=function(mr,cr){if(!Da(mr,cr))return cr;var Tr=Ho(mr,cr);if(!Tr)return He(mr.descriptor.id,cr),null;var kr=le(cr,Tr);He(mr.descriptor.id,kr);var sn=le(cr,kr);return sn},Ot=function(mr,cr,Tr){if(!mr)return Tr;if(!Go(cr,Tr))return Tr;var kr=bo(cr,Tr);if(!kr)return it(Tr),null;var sn=le(Tr,kr);it(sn);var jn=le(Tr,sn);return jn},Ar=function(mr){var cr=mr.scrollJumpRequest;if(!cr)return;var Tr=Cn(mr.impact);Tr||ce(!1);var kr=Ct(mr.dimensions.droppables[Tr],cr);if(!kr)return;var sn=mr.viewport,jn=Ot(mr.isWindowScrollAllowed,sn,kr);if(!jn)return;St(mr,jn)};return Ar},Zs=function(ee){var Se=ee.scrollDroppable,He=ee.scrollWindow,it=ee.move,St=Wa({scrollWindow:He,scrollDroppable:Se}),Ct=Xo({move:it,scrollWindow:He,scrollDroppable:Se}),Ot=function(mr){if(mr.phase!=="DRAGGING")return;if(mr.movementMode==="FLUID"){St.scroll(mr);return}if(!mr.scrollJumpRequest)return;Ct(mr)},Ar={scroll:Ot,start:St.start,stop:St.stop};return Ar},Ps="data-rbd",_s=function(){var Ne=Ps+"-drag-handle";return{base:Ne,draggableId:Ne+"-draggable-id",contextId:Ne+"-context-id"}}(),Es=function(){var Ne=Ps+"-draggable";return{base:Ne,contextId:Ne+"-context-id",id:Ne+"-id"}}(),Ts=function(){var Ne=Ps+"-droppable";return{base:Ne,contextId:Ne+"-context-id",id:Ne+"-id"}}(),ws={contextId:Ps+"-scroll-container-context-id"},Do=function(ee){return function(Se){return"["+Se+'="'+ee+'"]'}},po=function(ee,Se){return ee.map(function(He){var it=He.styles[Se];return it?He.selector+" { "+it+" }":""}).join(" ")},rs="pointer-events: none;",Yo=function(ee){var Se=Do(ee),He=function(){var Ar=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:Se(_s.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Ar,dragging:rs,dropAnimating:Ar}}}(),it=function(){var Ar=`
transition: `+zn.outOfTheWay+`;
`;return{selector:Se(Es.contextId),styles:{dragging:Ar,dropAnimating:Ar,userCancel:Ar}}}(),St={selector:Se(Ts.contextId),styles:{always:"overflow-anchor: none;"}},Ct={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;
`}},Ot=[it,He,St,Ct];return{always:po(Ot,"always"),resting:po(Ot,"resting"),dragging:po(Ot,"dragging"),dropAnimating:po(Ot,"dropAnimating"),userCancel:po(Ot,"userCancel")}},Fo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?_.useLayoutEffect:_.useEffect,zr=function(){var ee=document.querySelector("head");return ee||ce(!1),ee},Jo=function(ee){var Se=document.createElement("style");return ee&&Se.setAttribute("nonce",ee),Se.type="text/css",Se};function $s(Ne,ee){var Se=r(function(){return Yo(Ne)},[Ne]),He=Object(_.useRef)(null),it=Object(_.useRef)(null),St=i(L(function(cr){var Tr=it.current;Tr||ce(!1),Tr.textContent=cr}),[]),Ct=i(function(cr){var Tr=He.current;Tr||ce(!1),Tr.textContent=cr},[]);Fo(function(){!He.current&&!it.current||ce(!1);var cr=Jo(ee),Tr=Jo(ee);return He.current=cr,it.current=Tr,cr.setAttribute(Ps+"-always",Ne),Tr.setAttribute(Ps+"-dynamic",Ne),zr().appendChild(cr),zr().appendChild(Tr),Ct(Se.always),St(Se.resting),function(){var kr=function(jn){var Vn=jn.current;Vn||ce(!1),zr().removeChild(Vn),jn.current=null};kr(He),kr(it)}},[ee,Ct,St,Se.always,Se.resting,Ne]);var Ot=i(function(){return St(Se.dragging)},[St,Se.dragging]),Ar=i(function(cr){if(cr==="DROP"){St(Se.dropAnimating);return}St(Se.userCancel)},[St,Se.dropAnimating,Se.userCancel]),Or=i(function(){if(!it.current)return;St(Se.resting)},[St,Se.resting]),mr=r(function(){return{dragging:Ot,dropping:Ar,resting:Or}},[Ot,Ar,Or]);return mr}var Is=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function ks(Ne){return Ne instanceof Is(Ne).HTMLElement}function lo(Ne,ee){var Se="["+_s.contextId+'="'+Ne+'"]',He=Gt(document.querySelectorAll(Se));if(!He.length)return null;var it=me(He,function(St){return St.getAttribute(_s.draggableId)===ee});return it&&ks(it)?it:null}function Ao(Ne){var ee=Object(_.useRef)({}),Se=Object(_.useRef)(null),He=Object(_.useRef)(null),it=Object(_.useRef)(!1),St=i(function(Tr,kr){var sn={id:Tr,focus:kr};return ee.current[Tr]=sn,function(){var Vn=ee.current,Li=Vn[Tr];Li!==sn&&delete Vn[Tr]}},[]),Ct=i(function(Tr){var kr=lo(Ne,Tr);kr&&kr!==document.activeElement&&kr.focus()},[Ne]),Ot=i(function(Tr,kr){Se.current===Tr&&(Se.current=kr)},[]),Ar=i(function(){if(He.current)return;if(!it.current)return;He.current=requestAnimationFrame(function(){He.current=null;var Tr=Se.current;Tr&&Ct(Tr)})},[Ct]),Or=i(function(Tr){Se.current=null;var kr=document.activeElement;if(!kr)return;if(kr.getAttribute(_s.draggableId)!==Tr)return;Se.current=Tr},[]);Fo(function(){return it.current=!0,function(){it.current=!1;var Tr=He.current;Tr&&cancelAnimationFrame(Tr)}},[]);var mr=r(function(){return{register:St,tryRecordFocus:Or,tryRestoreFocusRecorded:Ar,tryShiftRecord:Ot}},[St,Or,Ar,Ot]);return mr}function Uo(){var Ne={draggables:{},droppables:{}},ee=[];function Se(cr){return ee.push(cr),function(){var kr=ee.indexOf(cr);if(kr===-1)return;ee.splice(kr,1)}}function He(cr){ee.length&&ee.forEach(function(Tr){return Tr(cr)})}function it(cr){return Ne.draggables[cr]||null}function St(cr){var Tr=it(cr);return Tr||ce(!1),Tr}var Ct={register:function(Tr){Ne.draggables[Tr.descriptor.id]=Tr,He({type:"ADDITION",value:Tr})},update:function(Tr,kr){var sn=Ne.draggables[kr.descriptor.id];if(!sn)return;if(sn.uniqueId!==Tr.uniqueId)return;delete Ne.draggables[kr.descriptor.id],Ne.draggables[Tr.descriptor.id]=Tr},unregister:function(Tr){var kr=Tr.descriptor.id,sn=it(kr);if(!sn)return;if(Tr.uniqueId!==sn.uniqueId)return;delete Ne.draggables[kr],He({type:"REMOVAL",value:Tr})},getById:St,findById:it,exists:function(Tr){return Boolean(it(Tr))},getAllByType:function(Tr){return yt(Ne.draggables).filter(function(kr){return kr.descriptor.type===Tr})}};function Ot(cr){return Ne.droppables[cr]||null}function Ar(cr){var Tr=Ot(cr);return Tr||ce(!1),Tr}var Or={register:function(Tr){Ne.droppables[Tr.descriptor.id]=Tr},unregister:function(Tr){var kr=Ot(Tr.descriptor.id);if(!kr)return;if(Tr.uniqueId!==kr.uniqueId)return;delete Ne.droppables[Tr.descriptor.id]},getById:Ar,findById:Ot,exists:function(Tr){return Boolean(Ot(Tr))},getAllByType:function(Tr){return yt(Ne.droppables).filter(function(kr){return kr.descriptor.type===Tr})}};function mr(){Ne.draggables={},Ne.droppables={},ee.length=0}return{draggable:Ct,droppable:Or,subscribe:Se,clean:mr}}function hs(){var Ne=r(Uo,[]);return Object(_.useEffect)(function(){return function(){requestAnimationFrame(Ne.clean)}},[Ne]),Ne}var vs=x.a.createContext(null),ss=function(){var ee=document.body;return ee||ce(!1),ee},Cs={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},ol=function(ee){return"rbd-announcement-"+ee};function Ls(Ne){var ee=r(function(){return ol(Ne)},[Ne]),Se=Object(_.useRef)(null);Object(_.useEffect)(function(){var St=document.createElement("div");return Se.current=St,St.id=ee,St.setAttribute("aria-live","assertive"),St.setAttribute("aria-atomic","true"),Object(A.a)(St.style,Cs),ss().appendChild(St),function(){setTimeout(function(){var Ar=ss();Ar.contains(St)&&Ar.removeChild(St),St===Se.current&&(Se.current=null)})}},[ee]);var He=i(function(it){var St=Se.current;if(St){St.textContent=it;return}},[]);return He}var Xs=0,Os={separator:"::"};function Ks(){Xs=0}function Bs(Ne,ee){return ee===void 0&&(ee=Os),r(function(){return""+Ne+ee.separator+Xs++},[ee.separator,Ne])}function bt(Ne){var ee=Ne.contextId,Se=Ne.uniqueId;return"rbd-hidden-text-"+ee+"-"+Se}function Dt(Ne){var ee=Ne.contextId,Se=Ne.text,He=Bs("hidden-text",{separator:"-"}),it=r(function(){return bt({contextId:ee,uniqueId:He})},[He,ee]);return Object(_.useEffect)(function(){var Ct=document.createElement("div");return Ct.id=it,Ct.textContent=Se,Ct.style.display="none",ss().appendChild(Ct),function(){var Ar=ss();Ar.contains(Ct)&&Ar.removeChild(Ct)}},[it,Se]),it}var rn=x.a.createContext(null),On={react:"^16.8.5","react-dom":"^16.8.5"},ft=/(\d+)\.(\d+)\.(\d+)/,ne=function(ee){var Se=ft.exec(ee);Se!=null||ce(!1);var He=Number(Se[1]),it=Number(Se[2]),St=Number(Se[3]);return{major:He,minor:it,patch:St,raw:ee}},Ae=function(ee,Se){return Se.major>ee.major?!0:Se.major<ee.major?!1:Se.minor>ee.minor?!0:Se.minor<ee.minor?!1:Se.patch>=ee.patch},Te=function(ee,Se){var He=ne(ee),it=ne(Se);if(Ae(He,it))return},je=`
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
`,st=function(ee){var Se=ee.doctype;if(!Se)return;Se.name.toLowerCase()!=="html",Se.publicId!==""};function xt(Ne){}function gr(Ne,ee){xt(function(){Object(_.useEffect)(function(){try{Ne()}catch(Se){J(`
A setup problem was encountered.
> `+Se.message+`
`)}},ee)})}function Ir(){gr(function(){Te(On.react,x.a.version),st(document)},[])}function Zr(Ne){var ee=Object(_.useRef)(Ne);return Object(_.useEffect)(function(){ee.current=Ne}),ee}function En(){var Ne=null;function ee(){return Boolean(Ne)}function Se(Ct){return Ct===Ne}function He(Ct){Ne&&ce(!1);var Ot={abandon:Ct};return Ne=Ot,Ot}function it(){Ne||ce(!1),Ne=null}function St(){Ne&&(Ne.abandon(),it())}return{isClaimed:ee,isActive:Se,claim:He,release:it,tryAbandon:St}}var Hn=9,ai=13,Ci=27,Ui=32,va=33,_a=34,Za=35,no=36,uo=37,Io=38,Eo=39,Ro=40,yo,Lo=(yo={},yo[ai]=!0,yo[Hn]=!0,yo),Zo=function(ee){Lo[ee.keyCode]&&ee.preventDefault()},Ko=function(){var Ne="visibilitychange";if(typeof document=="undefined")return Ne;var ee=[Ne,"ms"+Ne,"webkit"+Ne,"moz"+Ne,"o"+Ne],Se=me(ee,function(He){return"on"+He in document});return Se||Ne}(),To=0,aa=5;function Ns(Ne,ee){return Math.abs(ee.x-Ne.x)>=aa||Math.abs(ee.y-Ne.y)>=aa}var Ss={type:"IDLE"};function is(Ne){var ee=Ne.cancel,Se=Ne.completed,He=Ne.getPhase,it=Ne.setPhase;return[{eventName:"mousemove",fn:function(Ct){var Ot=Ct.button,Ar=Ct.clientX,Or=Ct.clientY;if(Ot!==To)return;var mr={x:Ar,y:Or},cr=He();if(cr.type==="DRAGGING"){Ct.preventDefault(),cr.actions.move(mr);return}cr.type==="PENDING"||ce(!1);var Tr=cr.point;if(!Ns(Tr,mr))return;Ct.preventDefault();var kr=cr.actions.fluidLift(mr);it({type:"DRAGGING",actions:kr})}},{eventName:"mouseup",fn:function(Ct){var Ot=He();if(Ot.type!=="DRAGGING"){ee();return}Ct.preventDefault(),Ot.actions.drop({shouldBlockNextClick:!0}),Se()}},{eventName:"mousedown",fn:function(Ct){He().type==="DRAGGING"&&Ct.preventDefault(),ee()}},{eventName:"keydown",fn:function(Ct){var Ot=He();if(Ot.type==="PENDING"){ee();return}if(Ct.keyCode===Ci){Ct.preventDefault(),ee();return}Zo(Ct)}},{eventName:"resize",fn:ee},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){He().type==="PENDING"&&ee()}},{eventName:"webkitmouseforcedown",fn:function(Ct){var Ot=He();if(Ot.type!=="IDLE"||ce(!1),Ot.actions.shouldRespectForcePress()){ee();return}Ct.preventDefault()}},{eventName:Ko,fn:ee}]}function Qo(Ne){var ee=Object(_.useRef)(Ss),Se=Object(_.useRef)(ie),He=r(function(){return{eventName:"mousedown",fn:function(cr){if(cr.defaultPrevented)return;if(cr.button!==To)return;if(cr.ctrlKey||cr.metaKey||cr.shiftKey||cr.altKey)return;var Tr=Ne.findClosestDraggableId(cr);if(!Tr)return;var kr=Ne.tryGetLock(Tr,Ct,{sourceEvent:cr});if(!kr)return;cr.preventDefault();var sn={x:cr.clientX,y:cr.clientY};Se.current(),Or(kr,sn)}}},[Ne]),it=r(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(cr){if(cr.defaultPrevented)return;var Tr=Ne.findClosestDraggableId(cr);if(!Tr)return;var kr=Ne.findOptionsForDraggable(Tr);if(!kr)return;if(kr.shouldRespectForcePress)return;if(!Ne.canGetLock(Tr))return;cr.preventDefault()}}},[Ne]),St=i(function(){var cr={passive:!1,capture:!0};Se.current=oe(window,[it,He],cr)},[it,He]),Ct=i(function(){var mr=ee.current;if(mr.type==="IDLE")return;ee.current=Ss,Se.current(),St()},[St]),Ot=i(function(){var mr=ee.current;Ct(),mr.type==="DRAGGING"&&mr.actions.cancel({shouldBlockNextClick:!0}),mr.type==="PENDING"&&mr.actions.abort()},[Ct]),Ar=i(function(){var cr={capture:!0,passive:!1},Tr=is({cancel:Ot,completed:Ct,getPhase:function(){return ee.current},setPhase:function(sn){ee.current=sn}});Se.current=oe(window,Tr,cr)},[Ot,Ct]),Or=i(function(cr,Tr){ee.current.type==="IDLE"||ce(!1),ee.current={type:"PENDING",point:Tr,actions:cr},Ar()},[Ar]);Fo(function(){return St(),function(){Se.current()}},[St])}var fs;function vl(){}var sl=(fs={},fs[_a]=!0,fs[va]=!0,fs[no]=!0,fs[Za]=!0,fs);function ps(Ne,ee){function Se(){ee(),Ne.cancel()}function He(){ee(),Ne.drop()}return[{eventName:"keydown",fn:function(St){if(St.keyCode===Ci){St.preventDefault(),Se();return}if(St.keyCode===Ui){St.preventDefault(),He();return}if(St.keyCode===Ro){St.preventDefault(),Ne.moveDown();return}if(St.keyCode===Io){St.preventDefault(),Ne.moveUp();return}if(St.keyCode===Eo){St.preventDefault(),Ne.moveRight();return}if(St.keyCode===uo){St.preventDefault(),Ne.moveLeft();return}if(sl[St.keyCode]){St.preventDefault();return}Zo(St)}},{eventName:"mousedown",fn:Se},{eventName:"mouseup",fn:Se},{eventName:"click",fn:Se},{eventName:"touchstart",fn:Se},{eventName:"resize",fn:Se},{eventName:"wheel",fn:Se,options:{passive:!0}},{eventName:Ko,fn:Se}]}function Mo(Ne){var ee=Object(_.useRef)(vl),Se=r(function(){return{eventName:"keydown",fn:function(St){if(St.defaultPrevented)return;if(St.keyCode!==Ui)return;var Ct=Ne.findClosestDraggableId(St);if(!Ct)return;var Ot=Ne.tryGetLock(Ct,mr,{sourceEvent:St});if(!Ot)return;St.preventDefault();var Ar=!0,Or=Ot.snapLift();ee.current();function mr(){Ar||ce(!1),Ar=!1,ee.current(),He()}ee.current=oe(window,ps(Or,mr),{capture:!0,passive:!1})}}},[Ne]),He=i(function(){var St={passive:!1,capture:!0};ee.current=oe(window,[Se],St)},[Se]);Fo(function(){return He(),function(){ee.current()}},[He])}var ls={type:"IDLE"},el=120,ms=.15;function Fs(Ne){var ee=Ne.cancel,Se=Ne.getPhase;return[{eventName:"orientationchange",fn:ee},{eventName:"resize",fn:ee},{eventName:"contextmenu",fn:function(it){it.preventDefault()}},{eventName:"keydown",fn:function(it){if(Se().type!=="DRAGGING"){ee();return}it.keyCode===Ci&&it.preventDefault(),ee()}},{eventName:Ko,fn:ee}]}function Us(Ne){var ee=Ne.cancel,Se=Ne.completed,He=Ne.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(St){var Ct=He();if(Ct.type!=="DRAGGING"){ee();return}Ct.hasMoved=!0;var Ot=St.touches[0],Ar=Ot.clientX,Or=Ot.clientY,mr={x:Ar,y:Or};St.preventDefault(),Ct.actions.move(mr)}},{eventName:"touchend",fn:function(St){var Ct=He();if(Ct.type!=="DRAGGING"){ee();return}St.preventDefault(),Ct.actions.drop({shouldBlockNextClick:!0}),Se()}},{eventName:"touchcancel",fn:function(St){if(He().type!=="DRAGGING"){ee();return}St.preventDefault(),ee()}},{eventName:"touchforcechange",fn:function(St){var Ct=He();Ct.type!=="IDLE"||ce(!1);var Ot=St.touches[0];if(!Ot)return;var Ar=Ot.force>=ms;if(!Ar)return;var Or=Ct.actions.shouldRespectForcePress();if(Ct.type==="PENDING"){Or&&ee();return}if(Or){if(Ct.hasMoved){St.preventDefault();return}ee();return}St.preventDefault()}},{eventName:Ko,fn:ee}]}function Ds(Ne){var ee=Object(_.useRef)(ls),Se=Object(_.useRef)(ie),He=i(function(){return ee.current},[]),it=i(function(kr){ee.current=kr},[]),St=r(function(){return{eventName:"touchstart",fn:function(kr){if(kr.defaultPrevented)return;var sn=Ne.findClosestDraggableId(kr);if(!sn)return;var jn=Ne.tryGetLock(sn,Ot,{sourceEvent:kr});if(!jn)return;var Vn=kr.touches[0],Li=Vn.clientX,ui=Vn.clientY,ba={x:Li,y:ui};Se.current(),cr(jn,ba)}}},[Ne]),Ct=i(function(){var kr={capture:!0,passive:!1};Se.current=oe(window,[St],kr)},[St]),Ot=i(function(){var Tr=ee.current;if(Tr.type==="IDLE")return;Tr.type==="PENDING"&&clearTimeout(Tr.longPressTimerId),it(ls),Se.current(),Ct()},[Ct,it]),Ar=i(function(){var Tr=ee.current;Ot(),Tr.type==="DRAGGING"&&Tr.actions.cancel({shouldBlockNextClick:!0}),Tr.type==="PENDING"&&Tr.actions.abort()},[Ot]),Or=i(function(){var kr={capture:!0,passive:!1},sn={cancel:Ar,completed:Ot,getPhase:He},jn=oe(window,Us(sn),kr),Vn=oe(window,Fs(sn),kr);Se.current=function(){jn(),Vn()}},[Ar,He,Ot]),mr=i(function(){var kr=He();kr.type==="PENDING"||ce(!1);var sn=kr.actions.fluidLift(kr.point);it({type:"DRAGGING",actions:sn,hasMoved:!1})},[He,it]),cr=i(function(kr,sn){He().type==="IDLE"||ce(!1);var jn=setTimeout(mr,el);it({type:"PENDING",point:sn,actions:kr,longPressTimerId:jn}),Or()},[Or,He,it,mr]);Fo(function(){return Ct(),function(){Se.current();var sn=He();sn.type==="PENDING"&&(clearTimeout(sn.longPressTimerId),it(ls))}},[He,Ct,it]),Fo(function(){var kr=oe(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return kr},[])}function al(Ne){xt(function(){var ee=Zr(Ne);gr(function(){ee.current.length===Ne.length||ce(!1)})})}var tl={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ys(Ne,ee){if(ee==null)return!1;var Se=Boolean(tl[ee.tagName.toLowerCase()]);if(Se)return!0;var He=ee.getAttribute("contenteditable");return He==="true"||He===""?!0:ee===Ne?!1:Ys(Ne,ee.parentElement)}function js(Ne,ee){var Se=ee.target;return ks(Se)?Ys(Ne,Se):!1}var Ja=function(ee){return t(ee.getBoundingClientRect()).center};function Ea(Ne){return Ne instanceof Is(Ne).Element}var za=function(){var Ne="matches";if(typeof document=="undefined")return Ne;var ee=[Ne,"msMatchesSelector","webkitMatchesSelector"],Se=me(ee,function(He){return He in Element.prototype});return Se||Ne}();function co(Ne,ee){return Ne==null?null:Ne[za](ee)?Ne:co(Ne.parentElement,ee)}function $o(Ne,ee){return Ne.closest?Ne.closest(ee):co(Ne,ee)}function Hs(Ne){return"["+_s.contextId+'="'+Ne+'"]'}function As(Ne,ee){var Se=ee.target;if(!Ea(Se))return null;var He=Hs(Ne),it=$o(Se,He);return it&&ks(it)?it:null}function ys(Ne,ee){var Se=As(Ne,ee);return Se?Se.getAttribute(_s.draggableId):null}function jo(Ne,ee){var Se="["+Es.contextId+'="'+Ne+'"]',He=Gt(document.querySelectorAll(Se)),it=me(He,function(St){return St.getAttribute(Es.id)===ee});return it&&ks(it)?it:null}function Co(Ne){Ne.preventDefault()}function qo(Ne){var ee=Ne.expected,Se=Ne.phase,He=Ne.isLockActive,it=Ne.shouldWarn;return He()?!(ee!==Se):!1}function So(Ne){var ee=Ne.lockAPI,Se=Ne.store,He=Ne.registry,it=Ne.draggableId;if(ee.isClaimed())return!1;var St=He.draggable.findById(it);return St&&St.options.isEnabled?!!qa(Se.getState(),it):!1}function Ws(Ne){var ee=Ne.lockAPI,Se=Ne.contextId,He=Ne.store,it=Ne.registry,St=Ne.draggableId,Ct=Ne.forceSensorStop,Ot=Ne.sourceEvent,Ar=So({lockAPI:ee,store:He,registry:it,draggableId:St});if(!Ar)return null;var Or=it.draggable.getById(St),mr=jo(Se,Or.descriptor.id);if(!mr)return null;if(Ot&&!Or.options.canDragInteractiveElements&&js(mr,Ot))return null;var cr=ee.claim(Ct||ie),Tr="PRE_DRAG";function kr(){return Or.options.shouldRespectForcePress}function sn(){return ee.isActive(cr)}function jn(wa,$a){qo({expected:wa,phase:Tr,isLockActive:sn,shouldWarn:!0})&&He.dispatch($a())}var Vn=jn.bind(null,"DRAGGING");function Li(wa){function $a(){ee.release(),Tr="COMPLETED"}Tr!=="PRE_DRAG"&&($a(),Tr==="PRE_DRAG"||ce(!1)),He.dispatch(Qr(wa.liftActionArgs)),Tr="DRAGGING";function mo(P,K){if(K===void 0&&(K={shouldBlockNextClick:!1}),wa.cleanup(),K.shouldBlockNextClick){var q=oe(window,[{eventName:"click",fn:Co,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(q)}$a(),He.dispatch(Tn({reason:P}))}return Object(A.a)({isActive:function(){return qo({expected:"DRAGGING",phase:Tr,isLockActive:sn,shouldWarn:!1})},shouldRespectForcePress:kr,drop:function(K){return mo("DROP",K)},cancel:function(K){return mo("CANCEL",K)}},wa.actions)}function ui(wa){var $a=N(function(P){Vn(function(){return Lr({client:P})})}),mo=Li({liftActionArgs:{id:St,clientSelection:wa,movementMode:"FLUID"},cleanup:function(){return $a.cancel()},actions:{move:$a}});return Object(A.a)({},mo,{move:$a})}function ba(){var wa={moveUp:function(){return Vn(on)},moveRight:function(){return Vn(An)},moveDown:function(){return Vn(xn)},moveLeft:function(){return Vn(Pn)}};return Li({liftActionArgs:{id:St,clientSelection:Ja(mr),movementMode:"SNAP"},cleanup:ie,actions:wa})}function Wi(){var wa=qo({expected:"PRE_DRAG",phase:Tr,isLockActive:sn,shouldWarn:!0});wa&&ee.release()}var Oa={isActive:function(){return qo({expected:"PRE_DRAG",phase:Tr,isLockActive:sn,shouldWarn:!1})},shouldRespectForcePress:kr,fluidLift:ui,snapLift:ba,abort:Wi};return Oa}var Sl=[Qo,Mo,Ds];function xl(Ne){var ee=Ne.contextId,Se=Ne.store,He=Ne.registry,it=Ne.customSensors,St=Ne.enableDefaultSensors,Ct=[].concat(St?Sl:[],it||[]),Ot=Object(_.useState)(function(){return En()})[0],Ar=i(function(ui,ba){ui.isDragging&&!ba.isDragging&&Ot.tryAbandon()},[Ot]);Fo(function(){var ui=Se.getState(),ba=Se.subscribe(function(){var Wi=Se.getState();Ar(ui,Wi),ui=Wi});return ba},[Ot,Se,Ar]),Fo(function(){return Ot.tryAbandon},[Ot.tryAbandon]);var Or=i(function(Li){return So({lockAPI:Ot,registry:He,store:Se,draggableId:Li})},[Ot,He,Se]),mr=i(function(Li,ui,ba){return Ws({lockAPI:Ot,registry:He,contextId:ee,store:Se,draggableId:Li,forceSensorStop:ui,sourceEvent:ba&&ba.sourceEvent?ba.sourceEvent:null})},[ee,Ot,He,Se]),cr=i(function(Li){return ys(ee,Li)},[ee]),Tr=i(function(Li){var ui=He.draggable.findById(Li);return ui?ui.options:null},[He.draggable]),kr=i(function(){if(!Ot.isClaimed())return;Ot.tryAbandon(),Se.getState().phase!=="IDLE"&&Se.dispatch(Un())},[Ot,Se]),sn=i(Ot.isClaimed,[Ot]),jn=r(function(){return{canGetLock:Or,tryGetLock:mr,findClosestDraggableId:cr,findOptionsForDraggable:Tr,tryReleaseLock:kr,isLockClaimed:sn}},[Or,mr,cr,Tr,kr,sn]);al(Ct);for(var Vn=0;Vn<Ct.length;Vn++)Ct[Vn](jn)}var Bl=function(ee){return{onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragEnd:ee.onDragEnd,onDragUpdate:ee.onDragUpdate}};function rl(Ne){return Ne.current||ce(!1),Ne.current}function Il(Ne){var ee=Ne.contextId,Se=Ne.setCallbacks,He=Ne.sensors,it=Ne.nonce,St=Ne.dragHandleUsageInstructions,Ct=Object(_.useRef)(null);Ir();var Ot=Zr(Ne),Ar=i(function(){return Bl(Ot.current)},[Ot]),Or=Ls(ee),mr=Dt({contextId:ee,text:St}),cr=$s(ee,it),Tr=i(function(P){rl(Ct).dispatch(P)},[]),kr=r(function(){return Object(b.b)({publishWhileDragging:mn,updateDroppableScroll:It,updateDroppableIsEnabled:lr,updateDroppableIsCombineEnabled:sr,collectionStarting:Ye},Tr)},[Tr]),sn=hs(),jn=r(function(){return qi(sn,kr)},[sn,kr]),Vn=r(function(){return Zs(Object(A.a)({scrollWindow:Ya,scrollDroppable:jn.scrollDroppable},Object(b.b)({move:Lr},Tr)))},[jn.scrollDroppable,Tr]),Li=Ao(ee),ui=r(function(){return Gi({announce:Or,autoScroller:Vn,dimensionMarshal:jn,focusMarshal:Li,getResponders:Ar,styleMarshal:cr})},[Or,Vn,jn,Li,Ar,cr]);Ct.current=ui;var ba=i(function(){var P=rl(Ct),K=P.getState();K.phase!=="IDLE"&&P.dispatch(Un())},[]),Wi=i(function(){var P=rl(Ct).getState();return P.isDragging||P.phase==="DROP_ANIMATING"},[]),Oa=r(function(){return{isDragging:Wi,tryAbort:ba}},[Wi,ba]);Se(Oa);var wa=i(function(P){return qa(rl(Ct).getState(),P)},[]),$a=i(function(){return ii(rl(Ct).getState())},[]),mo=r(function(){return{marshal:jn,focus:Li,contextId:ee,canLift:wa,isMovementAllowed:$a,dragHandleUsageInstructionsId:mr,registry:sn}},[ee,jn,mr,Li,wa,$a,sn]);return xl({contextId:ee,store:ui,registry:sn,customSensors:He,enableDefaultSensors:Ne.enableDefaultSensors!==!1}),Object(_.useEffect)(function(){return ba},[ba]),x.a.createElement(rn.Provider,{value:mo},x.a.createElement(m.a,{context:vs,store:ui},Ne.children))}var Ll=0;function Uu(){Ll=0}function iu(){return r(function(){return""+Ll++},[])}function Tu(){Uu(),Ks()}function au(Ne){var ee=iu(),Se=Ne.dragHandleUsageInstructions||de.dragHandleUsageInstructions;return x.a.createElement(Oe,null,function(He){return x.a.createElement(Il,{nonce:Ne.nonce,contextId:ee,setCallbacks:He,dragHandleUsageInstructions:Se,enableDefaultSensors:Ne.enableDefaultSensors,sensors:Ne.sensors,onBeforeCapture:Ne.onBeforeCapture,onBeforeDragStart:Ne.onBeforeDragStart,onDragStart:Ne.onDragStart,onDragUpdate:Ne.onDragUpdate,onDragEnd:Ne.onDragEnd},Ne.children)})}var Hl=function(ee){return function(Se){return ee===Se}},zs=Hl("scroll"),nl=Hl("auto"),ll=Hl("visible"),Fl=function(ee,Se){return Se(ee.overflowX)||Se(ee.overflowY)},ou=function(ee,Se){return Se(ee.overflowX)&&Se(ee.overflowY)},su=function(ee){var Se=window.getComputedStyle(ee),He={overflowX:Se.overflowX,overflowY:Se.overflowY};return Fl(He,zs)||Fl(He,nl)},Ql=function(){return!1;var ee,Se;if(!su(ee))return!1;var He,it;if(ou(it,ll))return!1},Vs=function Ne(ee){return ee==null?null:ee===document.body?Ql()?ee:null:ee===document.documentElement?null:su(ee)?ee:Ne(ee.parentElement)},lu=function(ee){if(!ee)return;var Se=Vs(ee.parentElement);if(!Se)return},uu=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},Cu=function Ne(ee){if(!ee)return!1;var Se=window.getComputedStyle(ee);return Se.position==="fixed"?!0:Ne(ee.parentElement)},Al=function(ee){var Se=Vs(ee),He=Cu(ee);return{closestScrollable:Se,isFixedOnPage:He}},Ol=function(ee){var Se=ee.descriptor,He=ee.isEnabled,it=ee.isCombineEnabled,St=ee.isFixedOnPage,Ct=ee.direction,Ot=ee.client,Ar=ee.page,Or=ee.closest,mr=function(){if(!Or)return null;var sn=Or.scrollSize,jn=Or.client,Vn=Ma({scrollHeight:sn.scrollHeight,scrollWidth:sn.scrollWidth,height:jn.paddingBox.height,width:jn.paddingBox.width});return{pageMarginBox:Or.page.marginBox,frameClient:jn,scrollSize:sn,shouldClipSubject:Or.shouldClipSubject,scroll:{initial:Or.scroll,current:Or.scroll,max:Vn,diff:{value:Ce,displacement:Ce}}}}(),cr=Ct==="vertical"?Ln:Nt,Tr=Ze({page:Ar,withPlaceholder:null,axis:cr,frame:mr}),kr={descriptor:Se,isCombineEnabled:it,isFixedOnPage:St,axis:cr,isEnabled:He,client:Ot,page:Ar,frame:mr,subject:Tr};return kr},Kl=function(ee,Se){var He=E(ee);if(!Se)return He;if(ee!==Se)return He;var it=He.paddingBox.top-Se.scrollTop,St=He.paddingBox.left-Se.scrollLeft,Ct=it+Se.scrollHeight,Ot=St+Se.scrollWidth,Ar={top:it,right:Ot,bottom:Ct,left:St},Or=s(Ar,He.border),mr=u({borderBox:Or,margin:He.margin,border:He.border,padding:He.padding});return mr},Jl=function(ee){var Se=ee.ref,He=ee.descriptor,it=ee.env,St=ee.windowScroll,Ct=ee.direction,Ot=ee.isDropDisabled,Ar=ee.isCombineEnabled,Or=ee.shouldClipSubject,mr=it.closestScrollable,cr=Kl(Se,mr),Tr=v(cr,St),kr=function(){if(!mr)return null;var jn=E(mr),Vn={scrollHeight:mr.scrollHeight,scrollWidth:mr.scrollWidth};return{client:jn,page:v(jn,St),scroll:uu(mr),scrollSize:Vn,shouldClipSubject:Or}}(),sn=Ol({descriptor:He,isEnabled:!Ot,isCombineEnabled:Ar,isFixedOnPage:it.isFixedOnPage,direction:Ct,client:cr,page:Tr,closest:kr});return sn},El={passive:!1},ju={passive:!0},Hu=function(ee){return ee.shouldPublishImmediately?El:ju};function yl(Ne){var ee=Object(_.useContext)(Ne);return ee||ce(!1),ee}var Zl=function(ee){return ee&&ee.env.closestScrollable||null};function cu(Ne){var ee=Object(_.useRef)(null),Se=yl(rn),He=Bs("droppable"),it=Se.registry,St=Se.marshal,Ct=Zr(Ne),Ot=r(function(){return{id:Ne.droppableId,type:Ne.type,mode:Ne.mode}},[Ne.droppableId,Ne.mode,Ne.type]),Ar=Object(_.useRef)(Ot),Or=r(function(){return L(function(Wi,Oa){ee.current||ce(!1);var wa={x:Wi,y:Oa};St.updateDroppableScroll(Ot.id,wa)})},[Ot.id,St]),mr=i(function(){var Wi=ee.current;return!Wi||!Wi.env.closestScrollable?Ce:uu(Wi.env.closestScrollable)},[]),cr=i(function(){var Wi=mr();Or(Wi.x,Wi.y)},[mr,Or]),Tr=r(function(){return N(cr)},[cr]),kr=i(function(){var Wi=ee.current,Oa=Zl(Wi);Wi&&Oa||ce(!1);var wa=Wi.scrollOptions;if(wa.shouldPublishImmediately){cr();return}Tr()},[Tr,cr]),sn=i(function(Wi,Oa){ee.current&&ce(!1);var wa=Ct.current,$a=wa.getDroppableRef();$a||ce(!1);var mo=Al($a),P={ref:$a,descriptor:Ot,env:mo,scrollOptions:Oa};ee.current=P;var K=Jl({ref:$a,descriptor:Ot,env:mo,windowScroll:Wi,direction:wa.direction,isDropDisabled:wa.isDropDisabled,isCombineEnabled:wa.isCombineEnabled,shouldClipSubject:!wa.ignoreContainerClipping}),q=mo.closestScrollable;return q&&(q.setAttribute(ws.contextId,Se.contextId),q.addEventListener("scroll",kr,Hu(P.scrollOptions))),K},[Se.contextId,Ot,kr,Ct]),jn=i(function(){var Wi=ee.current,Oa=Zl(Wi);return Wi&&Oa||ce(!1),uu(Oa)},[]),Vn=i(function(){var Wi=ee.current;Wi||ce(!1);var Oa=Zl(Wi);if(ee.current=null,!Oa)return;Tr.cancel(),Oa.removeAttribute(ws.contextId),Oa.removeEventListener("scroll",kr,Hu(Wi.scrollOptions))},[kr,Tr]),Li=i(function(Wi){var Oa=ee.current;Oa||ce(!1);var wa=Zl(Oa);wa||ce(!1),wa.scrollTop+=Wi.y,wa.scrollLeft+=Wi.x},[]),ui=r(function(){return{getDimensionAndWatchScroll:sn,getScrollWhileDragging:jn,dragStopped:Vn,scroll:Li}},[Vn,sn,jn,Li]),ba=r(function(){return{uniqueId:He,descriptor:Ot,callbacks:ui}},[ui,Ot,He]);Fo(function(){return Ar.current=ba.descriptor,it.droppable.register(ba),function(){ee.current&&Vn(),it.droppable.unregister(ba)}},[ui,Ot,Vn,ba,St,it.droppable]),Fo(function(){if(!ee.current)return;St.updateDroppableIsEnabled(Ar.current.id,!Ne.isDropDisabled)},[Ne.isDropDisabled,St]),Fo(function(){if(!ee.current)return;St.updateDroppableIsCombineEnabled(Ar.current.id,Ne.isCombineEnabled)},[Ne.isCombineEnabled,St])}function $l(){}var bs={width:0,height:0,margin:wt},dl=function(ee){var Se=ee.isAnimatingOpenOnMount,He=ee.placeholder,it=ee.animate;return Se||it==="close"?bs:{height:He.client.borderBox.height,width:He.client.borderBox.width,margin:He.client.margin}},Ul=function(ee){var Se=ee.isAnimatingOpenOnMount,He=ee.placeholder,it=ee.animate,St=dl({isAnimatingOpenOnMount:Se,placeholder:He,animate:it});return{display:He.display,boxSizing:"border-box",width:St.width,height:St.height,marginTop:St.margin.top,marginRight:St.margin.right,marginBottom:St.margin.bottom,marginLeft:St.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:it!=="none"?zn.placeholder:null}};function _u(Ne){var ee=Object(_.useRef)(null),Se=i(function(){if(!ee.current)return;clearTimeout(ee.current),ee.current=null},[]),He=Ne.animate,it=Ne.onTransitionEnd,St=Ne.onClose,Ct=Ne.contextId,Ot=Object(_.useState)(Ne.animate==="open"),Ar=Ot[0],Or=Ot[1];Object(_.useEffect)(function(){return Ar?He!=="open"?(Se(),Or(!1),$l):ee.current?$l:(ee.current=setTimeout(function(){ee.current=null,Or(!1)}),Se):$l},[He,Ar,Se]);var mr=i(function(Tr){if(Tr.propertyName!=="height")return;it(),He==="close"&&St()},[He,St,it]),cr=Ul({isAnimatingOpenOnMount:Ar,animate:Ne.animate,placeholder:Ne.placeholder});return x.a.createElement(Ne.placeholder.tagName,{style:cr,"data-rbd-placeholder-context-id":Ct,onTransitionEnd:mr,ref:Ne.innerRef})}var du=x.a.memo(_u),Wl=x.a.createContext(null);function zl(Ne){Ne&&ks(Ne)||ce(!1)}function hu(Ne){return typeof Ne=="boolean"}function Iu(Ne,ee){ee.forEach(function(Se){return Se(Ne)})}var Ku=[function(ee){var Se=ee.props;Se.droppableId||ce(!1),typeof Se.droppableId=="string"||ce(!1)},function(ee){var Se=ee.props;hu(Se.isDropDisabled)||ce(!1),hu(Se.isCombineEnabled)||ce(!1),hu(Se.ignoreContainerClipping)||ce(!1)},function(ee){var Se=ee.getDroppableRef;zl(Se())}],hl=[function(ee){var Se=ee.props,He=ee.getPlaceholderRef;if(!Se.placeholder)return;var it=He();if(it)return}],fl=[function(ee){var Se=ee.props;Se.renderClone||ce(!1)},function(ee){var Se=ee.getPlaceholderRef;Se()&&ce(!1)}];function Tl(Ne){gr(function(){Iu(Ne,Ku),Ne.props.mode==="standard"&&Iu(Ne,hl),Ne.props.mode==="virtual"&&Iu(Ne,fl)})}var ql=function(Ne){Object(C.a)(ee,Ne);function ee(){for(var He,it=arguments.length,St=new Array(it),Ct=0;Ct<it;Ct++)St[Ct]=arguments[Ct];return He=Ne.call.apply(Ne,[this].concat(St))||this,He.state={isVisible:Boolean(He.props.on),data:He.props.on,animate:He.props.shouldAnimate&&He.props.on?"open":"none"},He.onClose=function(){if(He.state.animate!=="close")return;He.setState({isVisible:!1})},He}ee.getDerivedStateFromProps=function(it,St){return it.shouldAnimate?it.on?{isVisible:!0,data:it.on,animate:"open"}:St.isVisible?{isVisible:!0,data:St.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(it.on),data:it.on,animate:"none"}};var Se=ee.prototype;return Se.render=function(){if(!this.state.isVisible)return null;var it={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(it)},ee}(x.a.PureComponent),eu={dragging:5e3,dropAnimating:4500},bl=function(ee,Se){return Se?zn.drop(Se.duration):ee?zn.snap:zn.fluid},ul=function(ee,Se){return ee?Se?_i.opacity.drop:_i.opacity.combining:null},fu=function(ee){return ee.forceShouldAnimate!=null?ee.forceShouldAnimate:ee.mode==="SNAP"};function pu(Ne){var ee=Ne.dimension,Se=ee.client,He=Ne.offset,it=Ne.combineWith,St=Ne.dropping,Ct=Boolean(it),Ot=fu(Ne),Ar=Boolean(St),Or=Ar?Yi.drop(He,Ct):Yi.moveTo(He),mr={position:"fixed",top:Se.marginBox.top,left:Se.marginBox.left,boxSizing:"border-box",width:Se.borderBox.width,height:Se.borderBox.height,transition:bl(Ot,St),transform:Or,opacity:ul(Ct,Ar),zIndex:Ar?eu.dropAnimating:eu.dragging,pointerEvents:"none"};return mr}function Wu(Ne){return{transform:Yi.moveTo(Ne.offset),transition:Ne.shouldAnimateDisplacement?null:"none"}}function Lu(Ne){return Ne.type==="DRAGGING"?pu(Ne):Wu(Ne)}function Ou(Ne,ee,Se){Se===void 0&&(Se=Ce);var He=window.getComputedStyle(ee),it=ee.getBoundingClientRect(),St=y(it,He),Ct=v(St,Se),Ot={client:St,tagName:ee.tagName.toLowerCase(),display:He.display},Ar={x:St.marginBox.width,y:St.marginBox.height},Or={descriptor:Ne,placeholder:Ot,displaceBy:Ar,client:St,page:Ct};return Or}function zu(Ne){var ee=Bs("draggable"),Se=Ne.descriptor,He=Ne.registry,it=Ne.getDraggableRef,St=Ne.canDragInteractiveElements,Ct=Ne.shouldRespectForcePress,Ot=Ne.isEnabled,Ar=r(function(){return{canDragInteractiveElements:St,shouldRespectForcePress:Ct,isEnabled:Ot}},[St,Ot,Ct]),Or=i(function(kr){var sn=it();return sn||ce(!1),Ou(Se,sn,kr)},[Se,it]),mr=r(function(){return{uniqueId:ee,descriptor:Se,options:Ar,getDimension:Or}},[Se,Or,Ar,ee]),cr=Object(_.useRef)(mr),Tr=Object(_.useRef)(!0);Fo(function(){return He.draggable.register(cr.current),function(){return He.draggable.unregister(cr.current)}},[He.draggable]),Fo(function(){if(Tr.current){Tr.current=!1;return}var kr=cr.current;cr.current=mr,He.draggable.update(mr,kr)},[mr,He.draggable])}function Vl(Ne,ee,Se){gr(function(){function He(St){return"Draggable[id: "+St+"]: "}var it=Ne.draggableId;if(it||ce(!1),typeof it=="string"||ce(!1),ae(Ne.index)||ce(!1),Ne.mapped.type==="DRAGGING")return;zl(Se()),Ne.isEnabled&&(lo(ee,it)||ce(!1))})}function pl(Ne){xt(function(){var ee=Object(_.useRef)(Ne);gr(function(){Ne===ee.current||ce(!1)},[Ne])})}function Nl(Ne){Ne.preventDefault()}function Gl(Ne){var ee=Object(_.useRef)(null),Se=i(function(P){ee.current=P},[]),He=i(function(){return ee.current},[]),it=yl(rn),St=it.contextId,Ct=it.dragHandleUsageInstructionsId,Ot=it.registry,Ar=yl(Wl),Or=Ar.type,mr=Ar.droppableId,cr=r(function(){return{id:Ne.draggableId,index:Ne.index,type:Or,droppableId:mr}},[Ne.draggableId,Ne.index,Or,mr]),Tr=Ne.children,kr=Ne.draggableId,sn=Ne.isEnabled,jn=Ne.shouldRespectForcePress,Vn=Ne.canDragInteractiveElements,Li=Ne.isClone,ui=Ne.mapped,ba=Ne.dropAnimationFinished;if(Vl(Ne,St,He),pl(Li),!Li){var Wi=r(function(){return{descriptor:cr,registry:Ot,getDraggableRef:He,canDragInteractiveElements:Vn,shouldRespectForcePress:jn,isEnabled:sn}},[cr,Ot,He,Vn,jn,sn]);zu(Wi)}var Oa=r(function(){return sn?{tabIndex:0,role:"button","aria-describedby":Ct,"data-rbd-drag-handle-draggable-id":kr,"data-rbd-drag-handle-context-id":St,draggable:!1,onDragStart:Nl}:null},[St,Ct,kr,sn]),wa=i(function(P){if(ui.type!=="DRAGGING")return;if(!ui.dropping)return;if(P.propertyName!=="transform")return;ba()},[ba,ui]),$a=r(function(){var P=Lu(ui),K=ui.type==="DRAGGING"&&ui.dropping?wa:null,q={innerRef:Se,draggableProps:{"data-rbd-draggable-context-id":St,"data-rbd-draggable-id":kr,style:P,onTransitionEnd:K},dragHandleProps:Oa};return q},[St,Oa,kr,ui,wa,Se]),mo=r(function(){return{draggableId:cr.id,type:cr.type,source:{index:cr.index,droppableId:cr.droppableId}}},[cr.droppableId,cr.id,cr.index,cr.type]);return Tr($a,ui.snapshot,mo)}var jl=function(ee,Se){return ee===Se},mu=function(ee){var Se=ee.combine,He=ee.destination;return He?He.droppableId:Se?Se.droppableId:null},Vu=function(ee){return ee.combine?ee.combine.draggableId:null},Nu=function(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine.draggableId:null};function ec(){var Ne=L(function(it,St){return{x:it,y:St}}),ee=L(function(it,St,Ct,Ot,Ar){return{isDragging:!0,isClone:St,isDropAnimating:Boolean(Ar),dropAnimation:Ar,mode:it,draggingOver:Ct,combineWith:Ot,combineTargetFor:null}}),Se=L(function(it,St,Ct,Ot,Ar,Or,mr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Ar,combineWith:Or,mode:St,offset:it,dimension:Ct,forceShouldAnimate:mr,snapshot:ee(St,Ot,Ar,Or,null)}}}),He=function(St,Ct){if(St.isDragging){if(St.critical.draggable.id!==Ct.draggableId)return null;var Ot=St.current.client.offset,Ar=St.dimensions.draggables[Ct.draggableId],Or=Cn(St.impact),mr=Nu(St.impact),cr=St.forceShouldAnimate;return Se(Ne(Ot.x,Ot.y),St.movementMode,Ar,Ct.isClone,Or,mr,cr)}if(St.phase==="DROP_ANIMATING"){var Tr=St.completed;if(Tr.result.draggableId!==Ct.draggableId)return null;var kr=Ct.isClone,sn=St.dimensions.draggables[Ct.draggableId],jn=Tr.result,Vn=jn.mode,Li=mu(jn),ui=Vu(jn),ba=St.dropDuration,Wi={duration:ba,curve:Hi.drop,moveTo:St.newHomeClientOffset,opacity:ui?_i.opacity.drop:null,scale:ui?_i.scale.drop:null};return{mapped:{type:"DRAGGING",offset:St.newHomeClientOffset,dimension:sn,dropping:Wi,draggingOver:Li,combineWith:ui,mode:Vn,forceShouldAnimate:null,snapshot:ee(Vn,kr,Li,ui,Wi)}}}return null};return He}function Du(Ne){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Ne,combineWith:null}}var Gu={mapped:{type:"SECONDARY",offset:Ce,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Du(null)}};function Xu(){var Ne=L(function(Ct,Ot){return{x:Ct,y:Ot}}),ee=L(Du),Se=L(function(Ct,Ot,Ar){return Ot===void 0&&(Ot=null),{mapped:{type:"SECONDARY",offset:Ct,combineTargetFor:Ot,shouldAnimateDisplacement:Ar,snapshot:ee(Ot)}}}),He=function(Ot){return Ot?Se(Ce,Ot,!0):null},it=function(Ot,Ar,Or,mr){var cr=Or.displaced.visible[Ot],Tr=Boolean(mr.inVirtualList&&mr.effected[Ot]),kr=nr(Or),sn=kr&&kr.draggableId===Ot?Ar:null;if(!cr){if(!Tr)return He(sn);if(Or.displaced.invisible[Ot])return null;var jn=xe(mr.displacedBy.point),Vn=Ne(jn.x,jn.y);return Se(Vn,sn,!0)}if(Tr)return He(sn);var Li=Or.displacedBy.point,ui=Ne(Li.x,Li.y);return Se(ui,sn,cr.shouldAnimate)},St=function(Ot,Ar){if(Ot.isDragging)return Ot.critical.draggable.id===Ar.draggableId?null:it(Ar.draggableId,Ot.critical.draggable.id,Ot.impact,Ot.afterCritical);if(Ot.phase==="DROP_ANIMATING"){var Or=Ot.completed;return Or.result.draggableId===Ar.draggableId?null:it(Ar.draggableId,Or.result.draggableId,Or.impact,Or.afterCritical)}return null};return St}var Yu=function(){var ee=ec(),Se=Xu(),He=function(St,Ct){return ee(St,Ct)||Se(St,Ct)||Gu};return He},Ru={dropAnimationFinished:Gn},gu=Object(m.c)(Yu,Ru,null,{context:vs,pure:!0,areStatePropsEqual:jl})(Gl);function wl(Ne){var ee=yl(Wl),Se=ee.isUsingCloneFor;return Se===Ne.draggableId&&!Ne.isClone?null:x.a.createElement(gu,Ne)}function vu(Ne){var ee=typeof Ne.isDragDisabled=="boolean"?!Ne.isDragDisabled:!0,Se=Boolean(Ne.disableInteractiveElementBlocking),He=Boolean(Ne.shouldRespectForcePress);return x.a.createElement(wl,Object(A.a)({},Ne,{isClone:!1,isEnabled:ee,canDragInteractiveElements:Se,shouldRespectForcePress:He}))}function Cl(Ne){var ee=Object(_.useContext)(rn);ee||ce(!1);var Se=ee.contextId,He=ee.isMovementAllowed,it=Object(_.useRef)(null),St=Object(_.useRef)(null),Ct=Ne.children,Ot=Ne.droppableId,Ar=Ne.type,Or=Ne.mode,mr=Ne.direction,cr=Ne.ignoreContainerClipping,Tr=Ne.isDropDisabled,kr=Ne.isCombineEnabled,sn=Ne.snapshot,jn=Ne.useClone,Vn=Ne.updateViewportMaxScroll,Li=Ne.getContainerForClone,ui=i(function(){return it.current},[]),ba=i(function(te){it.current=te},[]),Wi=i(function(){return St.current},[]),Oa=i(function(te){St.current=te},[]);Tl({props:Ne,getDroppableRef:ui,getPlaceholderRef:Wi});var wa=i(function(){He()&&Vn({maxScroll:ua()})},[He,Vn]);cu({droppableId:Ot,type:Ar,mode:Or,direction:mr,isDropDisabled:Tr,isCombineEnabled:kr,ignoreContainerClipping:cr,getDroppableRef:ui});var $a=x.a.createElement(ql,{on:Ne.placeholder,shouldAnimate:Ne.shouldAnimatePlaceholder},function(te){var ue=te.onClose,Me=te.data,dt=te.animate;return x.a.createElement(du,{placeholder:Me,onClose:ue,innerRef:Oa,animate:dt,contextId:Se,onTransitionEnd:wa})}),mo=r(function(){return{innerRef:ba,placeholder:$a,droppableProps:{"data-rbd-droppable-id":Ot,"data-rbd-droppable-context-id":Se}}},[Se,Ot,$a,ba]),P=jn?jn.dragging.draggableId:null,K=r(function(){return{droppableId:Ot,type:Ar,isUsingCloneFor:P}},[Ot,P,Ar]);function q(){if(!jn)return null;var te=jn.dragging,ue=jn.render,Me=x.a.createElement(wl,{draggableId:te.draggableId,index:te.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(dt,Tt){return ue(dt,Tt,te)});return D.a.createPortal(Me,Li())}return x.a.createElement(Wl.Provider,{value:K},Ct(mo,sn),q())}var tu=function(ee,Se){return ee===Se.droppable.type},be=function(ee,Se){return Se.draggables[ee.draggable.id]},Ue=function(){var ee={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Se=Object(A.a)({},ee,{shouldAnimatePlaceholder:!1}),He=L(function(Ct){return{draggableId:Ct.id,type:Ct.type,source:{index:Ct.index,droppableId:Ct.droppableId}}}),it=L(function(Ct,Ot,Ar,Or,mr,cr){var Tr=mr.descriptor.id,kr=mr.descriptor.droppableId===Ct;if(kr){var sn=cr?{render:cr,dragging:He(mr.descriptor)}:null,jn={isDraggingOver:Ar,draggingOverWith:Ar?Tr:null,draggingFromThisWith:Tr,isUsingPlaceholder:!0};return{placeholder:mr.placeholder,shouldAnimatePlaceholder:!1,snapshot:jn,useClone:sn}}if(!Ot)return Se;if(!Or)return ee;var Vn={isDraggingOver:Ar,draggingOverWith:Tr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:mr.placeholder,shouldAnimatePlaceholder:!0,snapshot:Vn,useClone:null}}),St=function(Ot,Ar){var Or=Ar.droppableId,mr=Ar.type,cr=!Ar.isDropDisabled,Tr=Ar.renderClone;if(Ot.isDragging){var kr=Ot.critical;if(!tu(mr,kr))return Se;var sn=be(kr,Ot.dimensions),jn=Cn(Ot.impact)===Or;return it(Or,cr,jn,jn,sn,Tr)}if(Ot.phase==="DROP_ANIMATING"){var Vn=Ot.completed;if(!tu(mr,Vn.critical))return Se;var Li=be(Vn.critical,Ot.dimensions);return it(Or,cr,mu(Vn.result)===Or,Cn(Vn.impact)===Or,Li,Tr)}if(Ot.phase==="IDLE"&&Ot.completed&&!Ot.shouldFlush){var ui=Ot.completed;if(!tu(mr,ui.critical))return Se;var ba=Cn(ui.impact)===Or,Wi=Boolean(ui.impact.at&&ui.impact.at.type==="COMBINE"),Oa=ui.critical.droppable.id===Or;return ba?Wi?ee:Se:Oa?ee:Se}return Se};return St},ct={updateViewportMaxScroll:Kr};function Kt(){return document.body||ce(!1),document.body}var dr={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Kt},Cr=Object(m.c)(Ue,ct,null,{context:vs,pure:!0,areStatePropsEqual:jl})(Cl);Cr.defaultProps=dr},ni6a:function(H,k,d){var _=d("pzxd"),x=d("mFDi"),C=d("gut8"),A=C.WILL_BE_RESTORED,b=new x,m=function(){};m.prototype={constructor:m,drawRectText:function(o,r){var i=this.style;r=i.textRect||r,this.__dirty&&_.normalizeTextStyle(i,!0);var n=i.text;if(n!=null&&(n+=""),!_.needDrawText(n,i))return;o.save();var t=this.transform;i.transformText?this.setTransform(o):t&&(b.copy(r),b.applyTransform(t),r=b),_.renderText(this,o,n,i,r,A),o.restore()}};var p=m;H.exports=p},nkfE:function(H,k,d){var _=d("bYtY"),x=d("ca2m"),C=d("bLfw"),A=d("+TT/"),b=A.getLayoutParams,m=A.mergeLayoutParam,p=d("jkPA"),c=["value","category","time","log"];function o(r,i,n,t){_.each(c,function(s){i.extend({type:r+"Axis."+s,mergeDefaultAndTheme:function(e,a){var l=this.layoutMode,u=l?b(e):{},h=a.getTheme();_.merge(e,h.get(s+"Axis")),_.merge(e,this.getDefaultOption()),e.type=n(r,e),l&&m(e,u,l)},optionUpdated:function(){var e=this.option;e.type==="category"&&(this.__ordinalMeta=p.createByAxisModel(this))},getCategories:function(e){var a=this.option;if(a.type==="category")return e?a.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:_.mergeAll([{},x[s+"Axis"],t],!0)})}),C.registerSubTypeDefaulter(r+"Axis",_.curry(n,r))}H.exports=o},noeP:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("UOVi");_.registerAction("dataZoom",function(A,b){var m=C.createLinkedNodesFinder(x.bind(b.eachComponent,b,"dataZoom"),C.eachAxisDim,function(c,o){return c.get(o.axisIndex)}),p=[];b.eachComponent({mainType:"dataZoom",query:A},function(c,o){p.push.apply(p,m(c).nodes)}),x.each(p,function(c,o){c.setRawRange({start:A.start,end:A.end,startValue:A.startValue,endValue:A.endValue})})})},o40c:function(H,k,d){var _=d("IwbS"),x=d("OS9S"),C=d("loD1"),A=d("aKvl"),b=_.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(o,r){var i=r.segs,n=r.curveness;if(r.polyline)for(var t=0;t<i.length;){var s=i[t++];if(s>0){o.moveTo(i[t++],i[t++]);for(var e=1;e<s;e++)o.lineTo(i[t++],i[t++])}}else for(var t=0;t<i.length;){var a=i[t++],l=i[t++],u=i[t++],h=i[t++];if(o.moveTo(a,l),n>0){var f=(a+u)/2-(l-h)*n,g=(l+h)/2-(u-a)*n;o.quadraticCurveTo(f,g,u,h)}else o.lineTo(u,h)}},findDataIndex:function(o,r){var i=this.shape,n=i.segs,t=i.curveness;if(i.polyline)for(var s=0,e=0;e<n.length;){var a=n[e++];if(a>0)for(var l=n[e++],u=n[e++],h=1;h<a;h++){var f=n[e++],g=n[e++];if(C.containStroke(l,u,f,g))return s}s++}else for(var s=0,e=0;e<n.length;){var l=n[e++],u=n[e++],f=n[e++],g=n[e++];if(t>0){var v=(l+f)/2-(u-g)*t,y=(u+g)/2-(f-l)*t;if(A.containStroke(l,u,v,y,f,g))return s}else if(C.containStroke(l,u,f,g))return s;s++}return-1}});function m(){this.group=new _.Group}var p=m.prototype;p.isPersistent=function(){return!this._incremental},p.updateData=function(o){this.group.removeAll();var r=new b({rectHover:!0,cursor:"default"});r.setShape({segs:o.getLayout("linesPoints")}),this._setCommon(r,o),this.group.add(r),this._incremental=null},p.incrementalPrepareUpdate=function(o){this.group.removeAll(),this._clearIncremental(),o.count()>5e5?(this._incremental||(this._incremental=new x({silent:!0})),this.group.add(this._incremental)):this._incremental=null},p.incrementalUpdate=function(o,r){var i=new b;i.setShape({segs:r.getLayout("linesPoints")}),this._setCommon(i,r,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=o.start,this.group.add(i))},p.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},p._setCommon=function(o,r,i){var n=r.hostModel;o.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),o.useStyle(n.getModel("lineStyle").getLineStyle()),o.style.strokeNoScale=!0;var t=r.getVisual("color");t&&o.setStyle("stroke",t),o.setStyle("fill"),i||(o.seriesIndex=n.seriesIndex,o.on("mousemove",function(s){o.dataIndex=null;var e=o.findDataIndex(s.offsetX,s.offsetY);e>0&&(o.dataIndex=e+o.__startIndex)}))},p._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};var c=m;H.exports=c},oBaM:function(H,k,d){var _=d("T4UG"),x=d("5GtS"),C=d("bYtY"),A=d("7aKB"),b=A.encodeHTML,m=d("xKMd"),p=_.extend({type:"series.radar",dependencies:["radar"],init:function(o){p.superApply(this,"init",arguments),this.legendVisualProvider=new m(C.bind(this.getData,this),C.bind(this.getRawData,this))},getInitialData:function(o,r){return x(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(o){var r=this.getData(),i=this.coordinateSystem,n=i.getIndicatorAxes(),t=this.getData().getName(o);return b(t===""?this.name:t)+"<br/>"+C.map(n,function(s,e){var a=r.get(r.mapDimension(s.dim),o);return b(s.name+" : "+a)}).join("<br />")},getTooltipPosition:function(o){if(o!=null){for(var r=this.getData(),i=this.coordinateSystem,n=r.getValues(C.map(i.dimensions,function(a){return r.mapDimension(a)}),o,!0),t=0,s=n.length;t<s;t++)if(!isNaN(n[t])){var e=i.getIndicatorAxes();return i.coordToPoint(e[t].dataToCoord(n[t]),t)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),c=p;H.exports=c},oE7X:function(H,k,d){var _=d("bLfw");_.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(H,k,d){},oRuE:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.pad.Iso10126={pad:function(C,A){var b=A*4,m=b-C.sigBytes%b;C.concat(_.lib.WordArray.random(m-1)).concat(_.lib.WordArray.create([m<<24],1))},unpad:function(C){var A=C.words[C.sigBytes-1>>>2]&255;C.sigBytes-=A}},_.pad.Iso10126})},oVpE:function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("mFDi"),A=d("6GrX"),b=A.calculateTextPosition,m=x.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,l){var u=l.cx,h=l.cy,f=l.width/2,g=l.height/2;a.moveTo(u,h-g),a.lineTo(u+f,h+g),a.lineTo(u-f,h+g),a.closePath()}}),p=x.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,l){var u=l.cx,h=l.cy,f=l.width/2,g=l.height/2;a.moveTo(u,h-g),a.lineTo(u+f,h),a.lineTo(u,h+g),a.lineTo(u-f,h),a.closePath()}}),c=x.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,l){var u=l.x,h=l.y,f=l.width/5*3,g=Math.max(f,l.height),v=f/2,y=v*v/(g-v),E=h-g+v+y,T=Math.asin(y/v),w=Math.cos(T)*v,S=Math.sin(T),I=Math.cos(T),L=v*.6,O=v*.7;a.moveTo(u-w,E+y),a.arc(u,E,v,Math.PI-T,Math.PI*2+T),a.bezierCurveTo(u+w-S*L,E+y+I*L,u,h-O,u,h),a.bezierCurveTo(u,h-O,u-w+S*L,E+y+I*L,u-w,E+y),a.closePath()}}),o=x.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,l){var u=l.height,h=l.width,f=l.x,g=l.y,v=h/3*2;a.moveTo(f,g),a.lineTo(f+v,g+u),a.lineTo(f,g+u/4*3),a.lineTo(f-v,g+u),a.lineTo(f,g),a.closePath()}}),r={line:x.Line,rect:x.Rect,roundRect:x.Rect,square:x.Rect,circle:x.Circle,diamond:p,pin:c,arrow:o,triangle:m},i={line:function(a,l,u,h,f){f.x1=a,f.y1=l+h/2,f.x2=a+u,f.y2=l+h/2},rect:function(a,l,u,h,f){f.x=a,f.y=l,f.width=u,f.height=h},roundRect:function(a,l,u,h,f){f.x=a,f.y=l,f.width=u,f.height=h,f.r=Math.min(u,h)/4},square:function(a,l,u,h,f){var g=Math.min(u,h);f.x=a,f.y=l,f.width=g,f.height=g},circle:function(a,l,u,h,f){f.cx=a+u/2,f.cy=l+h/2,f.r=Math.min(u,h)/2},diamond:function(a,l,u,h,f){f.cx=a+u/2,f.cy=l+h/2,f.width=u,f.height=h},pin:function(a,l,u,h,f){f.x=a+u/2,f.y=l+h/2,f.width=u,f.height=h},arrow:function(a,l,u,h,f){f.x=a+u/2,f.y=l+h/2,f.width=u,f.height=h},triangle:function(a,l,u,h,f){f.cx=a+u/2,f.cy=l+h/2,f.width=u,f.height=h}},n={};_.each(r,function(a,l){n[l]=new a});var t=x.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(a,l,u){var h=b(a,l,u),f=this.shape;return f&&f.symbolType==="pin"&&l.textPosition==="inside"&&(h.y=u.y+u.height*.4),h},buildPath:function(a,l,u){var h=l.symbolType;if(h!=="none"){var f=n[h];f||(h="rect",f=n[h]),i[h](l.x,l.y,l.width,l.height,f.shape),f.buildPath(a,f.shape,u)}}});function s(a,l){if(this.type!=="image"){var u=this.style,h=this.shape;h&&h.symbolType==="line"?u.stroke=a:this.__isEmptyBrush?(u.stroke=a,u.fill=l||"#fff"):(u.fill&&(u.fill=a),u.stroke&&(u.stroke=a)),this.dirty(!1)}}function e(a,l,u,h,f,g,v){var y=a.indexOf("empty")===0;y&&(a=a.substr(5,1).toLowerCase()+a.substr(6));var E;return a.indexOf("image://")===0?E=x.makeImage(a.slice(8),new C(l,u,h,f),v?"center":"cover"):a.indexOf("path://")===0?E=x.makePath(a.slice(7),{},new C(l,u,h,f),v?"center":"cover"):E=new t({shape:{symbolType:a,x:l,y:u,width:h,height:f}}),E.__isEmptyBrush=y,E.setColor=s,E.setColor(g),E}k.createSymbol=e},oY9F:function(H,k,d){var _=d("OlYY"),x=_.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});H.exports=x},osHv:function(H,k,d){(function(_){_(d("VrN/"))})(function(_){"use strict";var x=_.Pos;function C(l,u){return l.line-u.line||l.ch-u.ch}var A="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",b=A+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",m=new RegExp("<(/?)(["+A+"]["+b+"]*)","g");function p(l,u,h,f){this.line=u,this.ch=h,this.cm=l,this.text=l.getLine(u),this.min=f?Math.max(f.from,l.firstLine()):l.firstLine(),this.max=f?Math.min(f.to-1,l.lastLine()):l.lastLine()}function c(l,u){var h=l.cm.getTokenTypeAt(x(l.line,u));return h&&/\btag\b/.test(h)}function o(l){return l.line>=l.max?void 0:(l.ch=0,l.text=l.cm.getLine(++l.line),!0)}function r(l){return l.line<=l.min?void 0:(l.text=l.cm.getLine(--l.line),l.ch=l.text.length,!0)}function i(l){for(;;){var u=l.text.indexOf(">",l.ch);if(u==-1){if(o(l))continue;return}if(!c(l,u+1)){l.ch=u+1;continue}var h=l.text.lastIndexOf("/",u),f=h>-1&&!/\S/.test(l.text.slice(h+1,u));return l.ch=u+1,f?"selfClose":"regular"}}function n(l){for(;;){var u=l.ch?l.text.lastIndexOf("<",l.ch-1):-1;if(u==-1){if(r(l))continue;return}if(!c(l,u+1)){l.ch=u;continue}m.lastIndex=u,l.ch=u;var h=m.exec(l.text);if(h&&h.index==u)return h}}function t(l){for(;;){m.lastIndex=l.ch;var u=m.exec(l.text);if(!u){if(o(l))continue;return}if(!c(l,u.index+1)){l.ch=u.index+1;continue}return l.ch=u.index+u[0].length,u}}function s(l){for(;;){var u=l.ch?l.text.lastIndexOf(">",l.ch-1):-1;if(u==-1){if(r(l))continue;return}if(!c(l,u+1)){l.ch=u;continue}var h=l.text.lastIndexOf("/",u),f=h>-1&&!/\S/.test(l.text.slice(h+1,u));return l.ch=u+1,f?"selfClose":"regular"}}function e(l,u){for(var h=[];;){var f=t(l),g,v=l.line,y=l.ch-(f?f[0].length:0);if(!f||!(g=i(l)))return;if(g=="selfClose")continue;if(f[1]){for(var E=h.length-1;E>=0;--E)if(h[E]==f[2]){h.length=E;break}if(E<0&&(!u||u==f[2]))return{tag:f[2],from:x(v,y),to:x(l.line,l.ch)}}else h.push(f[2])}}function a(l,u){for(var h=[];;){var f=s(l);if(!f)return;if(f=="selfClose"){n(l);continue}var g=l.line,v=l.ch,y=n(l);if(!y)return;if(y[1])h.push(y[2]);else{for(var E=h.length-1;E>=0;--E)if(h[E]==y[2]){h.length=E;break}if(E<0&&(!u||u==y[2]))return{tag:y[2],from:x(l.line,l.ch),to:x(g,v)}}}}_.registerHelper("fold","xml",function(l,u){for(var h=new p(l,u.line,0);;){var f=t(h);if(!f||h.line!=u.line)return;var g=i(h);if(!g)return;if(!f[1]&&g!="selfClose"){var v=x(h.line,h.ch),y=e(h,f[2]);return y&&C(y.from,v)>0?{from:v,to:y.from}:null}}}),_.findMatchingTag=function(l,u,h){var f=new p(l,u.line,u.ch,h);if(f.text.indexOf(">")==-1&&f.text.indexOf("<")==-1)return;var g=i(f),v=g&&x(f.line,f.ch),y=g&&n(f);if(!g||!y||C(f,u)>0)return;var E={from:x(f.line,f.ch),to:v,tag:y[2]};return g=="selfClose"?{open:E,close:null,at:"open"}:y[1]?{open:a(f,y[2]),close:E,at:"close"}:(f=new p(l,v.line,v.ch,h),{open:E,close:e(f,y[2]),at:"open"})},_.findEnclosingTag=function(l,u,h,f){for(var g=new p(l,u.line,u.ch,h);;){var v=a(g,f);if(!v)break;var y=new p(l,u.line,u.ch,h),E=e(y,v.tag);if(E)return{open:v,close:E}}},_.scanForClosingTag=function(l,u,h,f){var g=new p(l,u.line,u.ch,f?{from:0,to:f}:null);return e(g,h)}})},ozfa:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("KxFI"),A=d.n(C)},"p+If":function(H,k,d){var _=d("ProS");d("cpOr"),d("rkZ5");var x=d("ZYIC"),C=d("7ph2");_.registerLayout(x),_.registerVisual(C)},"p/La":function(H,k){var d=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function _(x,C){x==="china"&&C.name==="\u53F0\u6E7E"&&C.geometries.push({type:"polygon",exterior:d[0]})}H.exports=_},p1MT:function(H,k,d){var _=d("Hw7h"),x=d("IwbS"),C=d("6Ic6"),A=d("OELB"),b=A.parsePercent,m=A.round,p=A.linearMap;function c(t,s){var e=t.get("center"),a=s.getWidth(),l=s.getHeight(),u=Math.min(a,l),h=b(e[0],s.getWidth()),f=b(e[1],s.getHeight()),g=b(t.get("radius"),u/2);return{cx:h,cy:f,r:g}}function o(t,s){return s&&(typeof s=="string"?t=s.replace("{value}",t!=null?t:""):typeof s=="function"&&(t=s(t))),t}var r=Math.PI*2,i=C.extend({type:"gauge",render:function(t,s,e){this.group.removeAll();var a=t.get("axisLine.lineStyle.color"),l=c(t,e);this._renderMain(t,s,e,a,l)},dispose:function(){},_renderMain:function(t,s,e,a,l){for(var u=this.group,h=t.getModel("axisLine"),f=h.getModel("lineStyle"),g=t.get("clockwise"),v=-t.get("startAngle")/180*Math.PI,y=-t.get("endAngle")/180*Math.PI,E=(y-v)%r,T=v,w=f.get("width"),S=h.get("show"),I=0;S&&I<a.length;I++){var L=Math.min(Math.max(a[I][0],0),1),y=v+E*L,O=new x.Sector({shape:{startAngle:T,endAngle:y,cx:l.cx,cy:l.cy,clockwise:g,r0:l.r-w,r:l.r},silent:!0});O.setStyle({fill:a[I][1]}),O.setStyle(f.getLineStyle(["color","borderWidth","borderColor"])),u.add(O),T=y}var N=function(D){if(D<=0)return a[0][1];for(var B=0;B<a.length;B++)if(a[B][0]>=D&&(B===0?0:a[B-1][0])<D)return a[B][1];return a[B-1][1]};if(!g){var R=v;v=y,y=R}this._renderTicks(t,s,e,N,l,v,y,g),this._renderPointer(t,s,e,N,l,v,y,g),this._renderTitle(t,s,e,N,l),this._renderDetail(t,s,e,N,l)},_renderTicks:function(t,s,e,a,l,u,h,f){for(var g=this.group,v=l.cx,y=l.cy,E=l.r,T=+t.get("min"),w=+t.get("max"),S=t.getModel("splitLine"),I=t.getModel("axisTick"),L=t.getModel("axisLabel"),O=t.get("splitNumber"),N=I.get("splitNumber"),R=b(S.get("length"),E),D=b(I.get("length"),E),B=u,M=(h-u)/O,U=M/N,F=S.getModel("lineStyle").getLineStyle(),j=I.getModel("lineStyle").getLineStyle(),W=0;W<=O;W++){var V=Math.cos(B),z=Math.sin(B);if(S.get("show")){var Y=new x.Line({shape:{x1:V*E+v,y1:z*E+y,x2:V*(E-R)+v,y2:z*(E-R)+y},style:F,silent:!0});F.stroke==="auto"&&Y.setStyle({stroke:a(W/O)}),g.add(Y)}if(L.get("show")){var J=o(m(W/O*(w-T)+T),L.get("formatter")),ie=L.get("distance"),Z=a(W/O);g.add(new x.Text({style:x.setTextStyle({},L,{text:J,x:V*(E-R-ie)+v,y:z*(E-R-ie)+y,textVerticalAlign:z<-.4?"top":z>.4?"bottom":"middle",textAlign:V<-.4?"left":V>.4?"right":"center"},{autoColor:Z}),silent:!0}))}if(I.get("show")&&W!==O){for(var oe=0;oe<=N;oe++){var V=Math.cos(B),z=Math.sin(B),ge=new x.Line({shape:{x1:V*E+v,y1:z*E+y,x2:V*(E-D)+v,y2:z*(E-D)+y},silent:!0,style:j});j.stroke==="auto"&&ge.setStyle({stroke:a((W+oe/N)/O)}),g.add(ge),B+=U}B-=U}else B+=M}},_renderPointer:function(t,s,e,a,l,u,h,f){var g=this.group,v=this._data;if(!t.get("pointer.show")){v&&v.eachItemGraphicEl(function(S){g.remove(S)});return}var y=[+t.get("min"),+t.get("max")],E=[u,h],T=t.getData(),w=T.mapDimension("value");T.diff(v).add(function(S){var I=new _({shape:{angle:u}});x.initProps(I,{shape:{angle:p(T.get(w,S),y,E,!0)}},t),g.add(I),T.setItemGraphicEl(S,I)}).update(function(S,I){var L=v.getItemGraphicEl(I);x.updateProps(L,{shape:{angle:p(T.get(w,S),y,E,!0)}},t),g.add(L),T.setItemGraphicEl(S,L)}).remove(function(S){var I=v.getItemGraphicEl(S);g.remove(I)}).execute(),T.eachItemGraphicEl(function(S,I){var L=T.getItemModel(I),O=L.getModel("pointer");S.setShape({x:l.cx,y:l.cy,width:b(O.get("width"),l.r),r:b(O.get("length"),l.r)}),S.useStyle(L.getModel("itemStyle").getItemStyle()),S.style.fill==="auto"&&S.setStyle("fill",a(p(T.get(w,I),y,[0,1],!0))),x.setHoverStyle(S,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(t,s,e,a,l){var u=t.getData(),h=u.mapDimension("value"),f=t.getModel("title");if(f.get("show")){var g=f.get("offsetCenter"),v=l.cx+b(g[0],l.r),y=l.cy+b(g[1],l.r),E=+t.get("min"),T=+t.get("max"),w=t.getData().get(h,0),S=a(p(w,[E,T],[0,1],!0));this.group.add(new x.Text({silent:!0,style:x.setTextStyle({},f,{x:v,y,text:u.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:S,forceRich:!0})}))}},_renderDetail:function(t,s,e,a,l){var u=t.getModel("detail"),h=+t.get("min"),f=+t.get("max");if(u.get("show")){var g=u.get("offsetCenter"),v=l.cx+b(g[0],l.r),y=l.cy+b(g[1],l.r),E=b(u.get("width"),l.r),T=b(u.get("height"),l.r),w=t.getData(),S=w.get(w.mapDimension("value"),0),I=a(p(S,[h,f],[0,1],!0));this.group.add(new x.Text({silent:!0,style:x.setTextStyle({},u,{x:v,y,text:o(S,u.get("formatter")),textWidth:isNaN(E)?null:E,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:I,forceRich:!0})}))}}}),n=i;H.exports=n},"p77/":function(H,k,d){},pA7S:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("ETIr"),d("cv67"),d("K3mO"),d("OLod"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.WordArray,b=C.BlockCipher,m=x.algo,p=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],r=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],i=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],n=m.DES=b.extend({_doReset:function(){for(var l=this._key,u=l.words,h=[],f=0;f<56;f++){var g=p[f]-1;h[f]=u[g>>>5]>>>31-g%32&1}for(var v=this._subKeys=[],y=0;y<16;y++){for(var E=v[y]=[],T=o[y],f=0;f<24;f++)E[f/6|0]|=h[(c[f]-1+T)%28]<<31-f%6,E[4+(f/6|0)]|=h[28+(c[f+24]-1+T)%28]<<31-f%6;E[0]=E[0]<<1|E[0]>>>31;for(var f=1;f<7;f++)E[f]=E[f]>>>(f-1)*4+3;E[7]=E[7]<<5|E[7]>>>27}for(var w=this._invSubKeys=[],f=0;f<16;f++)w[f]=v[15-f]},encryptBlock:function(l,u){this._doCryptBlock(l,u,this._subKeys)},decryptBlock:function(l,u){this._doCryptBlock(l,u,this._invSubKeys)},_doCryptBlock:function(l,u,h){this._lBlock=l[u],this._rBlock=l[u+1],t.call(this,4,252645135),t.call(this,16,65535),s.call(this,2,858993459),s.call(this,8,16711935),t.call(this,1,1431655765);for(var f=0;f<16;f++){for(var g=h[f],v=this._lBlock,y=this._rBlock,E=0,T=0;T<8;T++)E|=r[T][((y^g[T])&i[T])>>>0];this._lBlock=y,this._rBlock=v^E}var w=this._lBlock;this._lBlock=this._rBlock,this._rBlock=w,t.call(this,1,1431655765),s.call(this,8,16711935),s.call(this,2,858993459),t.call(this,16,65535),t.call(this,4,252645135),l[u]=this._lBlock,l[u+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function t(a,l){var u=(this._lBlock>>>a^this._rBlock)&l;this._rBlock^=u,this._lBlock^=u<<a}function s(a,l){var u=(this._rBlock>>>a^this._lBlock)&l;this._lBlock^=u,this._rBlock^=u<<a}x.DES=b._createHelper(n);var e=m.TripleDES=b.extend({_doReset:function(){var l=this._key,u=l.words;if(u.length!==2&&u.length!==4&&u.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var h=u.slice(0,2),f=u.length<4?u.slice(0,2):u.slice(2,4),g=u.length<6?u.slice(0,2):u.slice(4,6);this._des1=n.createEncryptor(A.create(h)),this._des2=n.createEncryptor(A.create(f)),this._des3=n.createEncryptor(A.create(g))},encryptBlock:function(l,u){this._des1.encryptBlock(l,u),this._des2.decryptBlock(l,u),this._des3.encryptBlock(l,u)},decryptBlock:function(l,u){this._des3.decryptBlock(l,u),this._des2.encryptBlock(l,u),this._des1.decryptBlock(l,u)},keySize:192/32,ivSize:64/32,blockSize:64/32});x.TripleDES=b._createHelper(e)}(),_.TripleDES})},pC0b:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("xzDV"),A=d.n(C),b=d("5Dmo")},"pED+":function(H,k,d){},pG52:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("WXVj"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},pLH3:function(H,k,d){var _=d("ProS");d("ALo7"),d("TWL2");var x=d("mOdp"),C=d("JLnu"),A=d("0/Rx");_.registerVisual(x("funnel")),_.registerLayout(C),_.registerProcessor(A("funnel"))},pP6R:function(H,k,d){var _=d("ProS"),x="\0_ec_interaction_mutex";function C(p,c,o){var r=m(p);r[c]=o}function A(p,c,o){var r=m(p),i=r[c];i===o&&(r[c]=null)}function b(p,c){return!!m(p)[c]}function m(p){return p[x]||(p[x]={})}_.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),k.take=C,k.release=A,k.isTaken=b},pmaE:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("IwbS"),A=d("DEFe"),b="__seriesMapHighDown",m="__seriesMapCallKey",p=_.extendChartView({type:"map",render:function(r,i,n,t){if(t&&t.type==="mapToggleSelect"&&t.from===this.uid)return;var s=this.group;if(s.removeAll(),r.getHostGeoModel())return;if(t&&t.type==="geoRoam"&&t.componentType==="series"&&t.seriesId===r.id){var e=this._mapDraw;e&&s.add(e.group)}else if(r.needsDrawMap){var e=this._mapDraw||new A(n,!0);s.add(e.group),e.draw(r,i,n,this,t),this._mapDraw=e}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;r.get("showLegendSymbol")&&i.getComponent("legend")&&this._renderSymbols(r,i,n)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(r,i,n){var t=r.originalData,s=this.group;t.each(t.mapDimension("value"),function(e,a){if(isNaN(e))return;var l=t.getItemLayout(a);if(!l||!l.point)return;var u=l.point,h=l.offset,f=new C.Circle({style:{fill:r.getData().getVisual("color")},shape:{cx:u[0]+h*9,cy:u[1],r:3},silent:!0,z2:8+(h?0:C.Z2_EMPHASIS_LIFT+1)});if(!h){var g=r.mainSeries.getData(),v=t.getName(a),y=g.indexOfName(v),E=t.getItemModel(a),T=E.getModel("label"),w=E.getModel("emphasis.label"),S=g.getItemGraphicEl(y),I=x.retrieve2(r.getFormattedLabel(y,"normal"),v),L=x.retrieve2(r.getFormattedLabel(y,"emphasis"),I),O=S[b],N=Math.random();if(!O){O=S[b]={};var R=x.curry(c,!0),D=x.curry(c,!1);S.on("mouseover",R).on("mouseout",D).on("emphasis",R).on("normal",D)}S[m]=N,x.extend(O,{recordVersion:N,circle:f,labelModel:T,hoverLabelModel:w,emphasisText:L,normalText:I}),o(O,!1)}s.add(f)})}});function c(r){var i=this[b];i&&i.recordVersion===this[m]&&o(i,r)}function o(r,i){var n=r.circle,t=r.labelModel,s=r.hoverLabelModel,e=r.emphasisText,a=r.normalText;i?(n.style.extendFrom(C.setTextStyle({},s,{text:s.get("show")?e:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=C.Z2_EMPHASIS_LIFT):(C.setTextStyle(n.style,t,{text:t.get("show")?a:null,textPosition:t.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),n.__mapOriginalZ2!=null&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}H.exports=p},pwpV:function(H,k,d){},pzxd:function(H,k,d){var _=d("bYtY"),x=_.retrieve2,C=_.retrieve3,A=_.each,b=_.normalizeCssArray,m=_.isString,p=_.isObject,c=d("6GrX"),o=d("VpOo"),r=d("Xnb7"),i=d("fW2E"),n=d("gut8"),t=n.ContextCachedBy,s=n.WILL_BE_RESTORED,e=c.DEFAULT_FONT,a={left:1,right:1,center:1},l={top:1,bottom:1,middle:1},u=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],h={},f={};function g(W){return v(W),A(W.rich,v),W}function v(W){if(W){W.font=c.makeFont(W);var V=W.textAlign;V==="middle"&&(V="center"),W.textAlign=V==null||a[V]?V:"left";var z=W.textVerticalAlign||W.textBaseline;z==="center"&&(z="middle"),W.textVerticalAlign=z==null||l[z]?z:"top";var Y=W.textPadding;Y&&(W.textPadding=b(W.textPadding))}}function y(W,V,z,Y,J,ie){Y.rich?T(W,V,z,Y,J,ie):E(W,V,z,Y,J,ie)}function E(W,V,z,Y,J,ie){"use strict";var Z=L(Y),oe,ge=!1,pe=V.__attrCachedBy===t.PLAIN_TEXT;ie!==s?(ie&&(oe=ie.style,ge=!Z&&pe&&oe),V.__attrCachedBy=Z?t.NONE:t.PLAIN_TEXT):pe&&(V.__attrCachedBy=t.NONE);var De=Y.font||e;(!ge||De!==(oe.font||e))&&(V.font=De);var ce=W.__computedFont;W.__styleFont!==De&&(W.__styleFont=De,ce=W.__computedFont=V.font);var Oe=Y.textPadding,se=Y.textLineHeight,$=W.__textCotentBlock;(!$||W.__dirtyText)&&($=W.__textCotentBlock=c.parsePlainText(z,ce,Oe,se,Y.truncate));var ze=$.outerHeight,re=$.lines,X=$.lineHeight,G=R(f,W,Y,J),Q=G.baseX,ve=G.baseY,de=G.textAlign||"left",Ce=G.textVerticalAlign;S(V,Y,J,Q,ve);var we=c.adjustTextY(ve,ze,Ce),le=Q,fe=we;if(Z||Oe){var xe=c.getWidth(z,ce),We=xe;Oe&&(We+=Oe[1]+Oe[3]);var nt=c.adjustTextX(Q,We,de);Z&&O(W,V,Y,nt,we,We,ze),Oe&&(le=F(Q,de,Oe),fe+=Oe[0])}V.textAlign=de,V.textBaseline="middle",V.globalAlpha=Y.opacity||1;for(var $e=0;$e<u.length;$e++){var Le=u[$e],pt=Le[0],Qe=Le[1],gt=Y[pt];(!ge||gt!==oe[pt])&&(V[Qe]=i(V,Qe,gt||Le[2]))}fe+=X/2;var wt=Y.textStrokeWidth,Et=ge?oe.textStrokeWidth:null,_t=!ge||wt!==Et,Ht=!ge||_t||Y.textStroke!==oe.textStroke,Ze=B(Y.textStroke,wt),ye=M(Y.textFill);if(Ze&&(_t&&(V.lineWidth=wt),Ht&&(V.strokeStyle=Ze)),ye&&((!ge||Y.textFill!==oe.textFill)&&(V.fillStyle=ye)),re.length===1)Ze&&V.strokeText(re[0],le,fe),ye&&V.fillText(re[0],le,fe);else for(var $e=0;$e<re.length;$e++)Ze&&V.strokeText(re[$e],le,fe),ye&&V.fillText(re[$e],le,fe),fe+=X}function T(W,V,z,Y,J,ie){ie!==s&&(V.__attrCachedBy=t.NONE);var Z=W.__textCotentBlock;(!Z||W.__dirtyText)&&(Z=W.__textCotentBlock=c.parseRichText(z,Y)),w(W,V,Z,Y,J)}function w(W,V,z,Y,J){var ie=z.width,Z=z.outerWidth,oe=z.outerHeight,ge=Y.textPadding,pe=R(f,W,Y,J),De=pe.baseX,ce=pe.baseY,Oe=pe.textAlign,se=pe.textVerticalAlign;S(V,Y,J,De,ce);var $=c.adjustTextX(De,Z,Oe),ze=c.adjustTextY(ce,oe,se),re=$,X=ze;ge&&(re+=ge[3],X+=ge[0]);var G=re+ie;L(Y)&&O(W,V,Y,$,ze,Z,oe);for(var Q=0;Q<z.lines.length;Q++){for(var ve=z.lines[Q],de=ve.tokens,Ce=de.length,we=ve.lineHeight,le=ve.width,fe=0,xe=re,We=G,nt=Ce-1,$e;fe<Ce&&($e=de[fe],!$e.textAlign||$e.textAlign==="left");)I(W,V,$e,Y,we,X,xe,"left"),le-=$e.width,xe+=$e.width,fe++;for(;nt>=0&&($e=de[nt],$e.textAlign==="right");)I(W,V,$e,Y,we,X,We,"right"),le-=$e.width,We-=$e.width,nt--;for(xe+=(ie-(xe-re)-(G-We)-le)/2;fe<=nt;)$e=de[fe],I(W,V,$e,Y,we,X,xe+$e.width/2,"center"),xe+=$e.width,fe++;X+=we}}function S(W,V,z,Y,J){if(z&&V.textRotation){var ie=V.textOrigin;ie==="center"?(Y=z.width/2+z.x,J=z.height/2+z.y):ie&&(Y=ie[0]+z.x,J=ie[1]+z.y),W.translate(Y,J),W.rotate(-V.textRotation),W.translate(-Y,-J)}}function I(W,V,z,Y,J,ie,Z,oe){var ge=Y.rich[z.styleName]||{};ge.text=z.text;var pe=z.textVerticalAlign,De=ie+J/2;pe==="top"?De=ie+z.height/2:pe==="bottom"&&(De=ie+J-z.height/2),!z.isLineHolder&&L(ge)&&O(W,V,ge,oe==="right"?Z-z.width:oe==="center"?Z-z.width/2:Z,De-z.height/2,z.width,z.height);var ce=z.textPadding;ce&&(Z=F(Z,oe,ce),De-=z.height/2-ce[2]-z.textHeight/2),D(V,"shadowBlur",C(ge.textShadowBlur,Y.textShadowBlur,0)),D(V,"shadowColor",ge.textShadowColor||Y.textShadowColor||"transparent"),D(V,"shadowOffsetX",C(ge.textShadowOffsetX,Y.textShadowOffsetX,0)),D(V,"shadowOffsetY",C(ge.textShadowOffsetY,Y.textShadowOffsetY,0)),D(V,"textAlign",oe),D(V,"textBaseline","middle"),D(V,"font",z.font||e);var Oe=B(ge.textStroke||Y.textStroke,$),se=M(ge.textFill||Y.textFill),$=x(ge.textStrokeWidth,Y.textStrokeWidth);Oe&&(D(V,"lineWidth",$),D(V,"strokeStyle",Oe),V.strokeText(z.text,Z,De)),se&&(D(V,"fillStyle",se),V.fillText(z.text,Z,De))}function L(W){return!!(W.textBackgroundColor||W.textBorderWidth&&W.textBorderColor)}function O(W,V,z,Y,J,ie,Z){var oe=z.textBackgroundColor,ge=z.textBorderWidth,pe=z.textBorderColor,De=m(oe);if(D(V,"shadowBlur",z.textBoxShadowBlur||0),D(V,"shadowColor",z.textBoxShadowColor||"transparent"),D(V,"shadowOffsetX",z.textBoxShadowOffsetX||0),D(V,"shadowOffsetY",z.textBoxShadowOffsetY||0),De||ge&&pe){V.beginPath();var ce=z.textBorderRadius;ce?o.buildPath(V,{x:Y,y:J,width:ie,height:Z,r:ce}):V.rect(Y,J,ie,Z),V.closePath()}if(De)if(D(V,"fillStyle",oe),z.fillOpacity!=null){var Oe=V.globalAlpha;V.globalAlpha=z.fillOpacity*z.opacity,V.fill(),V.globalAlpha=Oe}else V.fill();else if(p(oe)){var se=oe.image;se=r.createOrUpdateImage(se,null,W,N,oe),se&&r.isImageReady(se)&&V.drawImage(se,Y,J,ie,Z)}if(ge&&pe)if(D(V,"lineWidth",ge),D(V,"strokeStyle",pe),z.strokeOpacity!=null){var Oe=V.globalAlpha;V.globalAlpha=z.strokeOpacity*z.opacity,V.stroke(),V.globalAlpha=Oe}else V.stroke()}function N(W,V){V.image=W}function R(W,V,z,Y){var J=z.x||0,ie=z.y||0,Z=z.textAlign,oe=z.textVerticalAlign;if(Y){var ge=z.textPosition;if(ge instanceof Array)J=Y.x+U(ge[0],Y.width),ie=Y.y+U(ge[1],Y.height);else{var pe=V&&V.calculateTextPosition?V.calculateTextPosition(h,z,Y):c.calculateTextPosition(h,z,Y);J=pe.x,ie=pe.y,Z=Z||pe.textAlign,oe=oe||pe.textVerticalAlign}var De=z.textOffset;De&&(J+=De[0],ie+=De[1])}return W=W||{},W.baseX=J,W.baseY=ie,W.textAlign=Z,W.textVerticalAlign=oe,W}function D(W,V,z){return W[V]=i(W,V,z),W[V]}function B(W,V){return W==null||V<=0||W==="transparent"||W==="none"?null:W.image||W.colorStops?"#000":W}function M(W){return W==null||W==="none"?null:W.image||W.colorStops?"#000":W}function U(W,V){return typeof W=="string"?W.lastIndexOf("%")>=0?parseFloat(W)/100*V:parseFloat(W):W}function F(W,V,z){return V==="right"?W-z[1]:V==="center"?W+z[3]/2-z[1]/2:W+z[3]}function j(W,V){return W!=null&&(W||V.textBackgroundColor||V.textBorderWidth&&V.textBorderColor||V.textPadding)}k.normalizeTextStyle=g,k.renderText=y,k.getBoxPosition=R,k.getStroke=B,k.getFill=M,k.parsePercent=U,k.needDrawText=j},"q/+u":function(H,k,d){var _=d("ProS"),x=d("9wZj"),C=d("yWXo"),A=d("h8O9");_.extendChartView({type:"scatter",render:function(b,m,p){var c=b.getData(),o=this._updateSymbolDraw(c,b);o.updateData(c,{clipShape:this._getClipShape(b)}),this._finished=!0},incrementalPrepareRender:function(b,m,p){var c=b.getData(),o=this._updateSymbolDraw(c,b);o.incrementalPrepareUpdate(c),this._finished=!1},incrementalRender:function(b,m,p){this._symbolDraw.incrementalUpdate(b,m.getData(),{clipShape:this._getClipShape(m)}),this._finished=b.end===m.getData().count()},updateTransform:function(b,m,p){var c=b.getData();if(this.group.dirty(),!this._finished||c.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=A().reset(b);o.progress&&o.progress({start:0,end:c.count()},c),this._symbolDraw.updateLayout(c)},_getClipShape:function(b){var m=b.coordinateSystem,p=m&&m.getArea&&m.getArea();return b.get("clip",!0)?p:null},_updateSymbolDraw:function(b,m){var p=this._symbolDraw,c=m.pipelineContext,o=c.large;return(!p||o!==this._isLargeDraw)&&(p&&p.remove(),p=this._symbolDraw=o?new C:new x,this._isLargeDraw=o,this.group.removeAll()),this.group.add(p.group),p},remove:function(b,m){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(H,k){var d=["lineStyle","normal","opacity"],_={seriesType:"parallel",reset:function(x,C,A){var b=x.getModel("itemStyle"),m=x.getModel("lineStyle"),p=C.get("color"),c=m.get("color")||b.get("color")||p[x.seriesIndex%p.length],o=x.get("inactiveOpacity"),r=x.get("activeOpacity"),i=x.getModel("lineStyle").getLineStyle(),n=x.coordinateSystem,t=x.getData(),s={normal:i.opacity,active:r,inactive:o};t.setVisual("color",c);function e(a,l){n.eachActiveState(l,function(u,h){var f=s[u];if(u==="normal"&&l.hasItemOption){var g=l.getItemModel(h).get(d,!0);g!=null&&(f=g)}l.setItemVisual(h,"opacity",f)},a.start,a.end)}return{progress:e}}};H.exports=_},q4HE:function(H,k){var d="\\ud800-\\udfff",_="\\u0300-\\u036f",x="\\ufe20-\\ufe2f",C="\\u20d0-\\u20ff",A=_+x+C,b="\\ufe0e\\ufe0f",m="["+d+"]",p="["+A+"]",c="\\ud83c[\\udffb-\\udfff]",o="(?:"+p+"|"+c+")",r="[^"+d+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",n="[\\ud800-\\udbff][\\udc00-\\udfff]",t="\\u200d",s=o+"?",e="["+b+"]?",a="(?:"+t+"(?:"+[r,i,n].join("|")+")"+e+s+")*",l=e+s+a,u="(?:"+[r+p+"?",p,i,n,m].join("|")+")",h=RegExp(c+"(?="+c+")|"+u+l,"g");function f(g){for(var v=h.lastIndex=0;h.test(g);)++v;return v}H.exports=f},q7KB:function(H,k,d){},qBft:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.pad.AnsiX923={pad:function(C,A){var b=C.sigBytes,m=A*4,p=m-b%m,c=b+p-1;C.clamp(),C.words[c>>>2]|=p<<24-c%4*8,C.sigBytes+=p},unpad:function(C){var A=C.words[C.sigBytes-1>>>2]&255;C.sigBytes-=A}},_.pad.Ansix923})},qH13:function(H,k,d){var _=d("ItGF"),x=d("QBsz"),C=x.applyTransform,A=d("mFDi"),b=d("Qe9p"),m=d("6GrX"),p=d("pzxd"),c=d("ni6a"),o=d("Gev7"),r=d("Dagg"),i=d("dqUG"),n=d("y+Vt"),t=d("IMiH"),s=d("QuXc"),e=d("06Qe"),a=t.CMD,l=Math.round,u=Math.sqrt,h=Math.abs,f=Math.cos,g=Math.sin,v=Math.max;if(!_.canvasSupported){var y=",",E="progid:DXImageTransform.Microsoft",T=21600,w=T/2,S=1e5,I=1e3,L=function(ve){ve.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",ve.coordsize=T+","+T,ve.coordorigin="0,0"},O=function(ve){return String(ve).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},N=function(ve,de,Ce){return"rgb("+[ve,de,Ce].join(",")+")"},R=function(ve,de){de&&ve&&de.parentNode!==ve&&ve.appendChild(de)},D=function(ve,de){de&&ve&&de.parentNode===ve&&ve.removeChild(de)},B=function(ve,de,Ce){return(parseFloat(ve)||0)*S+(parseFloat(de)||0)*I+Ce},M=p.parsePercent,U=function(ve,de,Ce){var we=b.parse(de);Ce=+Ce,isNaN(Ce)&&(Ce=1),we&&(ve.color=N(we[0],we[1],we[2]),ve.opacity=Ce*we[3])},F=function(ve){var de=b.parse(ve);return[N(de[0],de[1],de[2]),de[3]]},j=function(ve,de,Ce){var we=de.fill;if(we!=null)if(we instanceof s){var le,fe=0,xe=[0,0],We=0,nt=1,$e=Ce.getBoundingRect(),Le=$e.width,pt=$e.height;if(we.type==="linear"){le="gradient";var Qe=Ce.transform,gt=[we.x*Le,we.y*pt],wt=[we.x2*Le,we.y2*pt];Qe&&(C(gt,gt,Qe),C(wt,wt,Qe));var Et=wt[0]-gt[0],_t=wt[1]-gt[1];fe=Math.atan2(Et,_t)*180/Math.PI,fe<0&&(fe+=360),fe<1e-6&&(fe=0)}else{le="gradientradial";var gt=[we.x*Le,we.y*pt],Qe=Ce.transform,Ht=Ce.scale,Ze=Le,ye=pt;xe=[(gt[0]-$e.x)/Ze,(gt[1]-$e.y)/ye],Qe&&C(gt,gt,Qe),Ze/=Ht[0]*T,ye/=Ht[1]*T;var ae=v(Ze,ye);We=2*0/ae,nt=2*we.r/ae-We}var yt=we.colorStops.slice();yt.sort(function(Lt,at){return Lt.offset-at.offset});for(var et=yt.length,me=[],Gt=[],rr=0;rr<et;rr++){var ut=yt[rr],Xt=F(ut.color);Gt.push(ut.offset*nt+We+" "+Xt[0]),(rr===0||rr===et-1)&&me.push(Xt)}if(et>=2){var ur=me[0][0],Fr=me[1][0],er=me[0][1]*de.opacity,nr=me[1][1]*de.opacity;ve.type=le,ve.method="none",ve.focus="100%",ve.angle=fe,ve.color=ur,ve.color2=Fr,ve.colors=Gt.join(","),ve.opacity=nr,ve.opacity2=er}le==="radial"&&(ve.focusposition=xe.join(","))}else U(ve,we,de.opacity)},W=function(ve,de){de.lineDash&&(ve.dashstyle=de.lineDash.join(" ")),de.stroke!=null&&!(de.stroke instanceof s)&&U(ve,de.stroke,de.opacity)},V=function(ve,de,Ce,we){var le=de==="fill",fe=ve.getElementsByTagName(de)[0];Ce[de]!=null&&Ce[de]!=="none"&&(le||!le&&Ce.lineWidth)?(ve[le?"filled":"stroked"]="true",Ce[de]instanceof s&&D(ve,fe),fe||(fe=e.createNode(de)),le?j(fe,Ce,we):W(fe,Ce),R(ve,fe)):(ve[le?"filled":"stroked"]="false",D(ve,fe))},z=[[],[],[]],Y=function(ve,de){var Ce=a.M,we=a.C,le=a.L,fe=a.A,xe=a.Q,We=[],nt,$e,Le,pt,Qe,gt,wt=ve.data,Et=ve.len();for(pt=0;pt<Et;){Le=wt[pt++],$e="",nt=0;switch(Le){case Ce:$e=" m ",nt=1,Qe=wt[pt++],gt=wt[pt++],z[0][0]=Qe,z[0][1]=gt;break;case le:$e=" l ",nt=1,Qe=wt[pt++],gt=wt[pt++],z[0][0]=Qe,z[0][1]=gt;break;case xe:case we:$e=" c ",nt=3;var _t=wt[pt++],Ht=wt[pt++],Ze=wt[pt++],ye=wt[pt++],ae,yt;Le===xe?(ae=Ze,yt=ye,Ze=(Ze+2*_t)/3,ye=(ye+2*Ht)/3,_t=(Qe+2*_t)/3,Ht=(gt+2*Ht)/3):(ae=wt[pt++],yt=wt[pt++]),z[0][0]=_t,z[0][1]=Ht,z[1][0]=Ze,z[1][1]=ye,z[2][0]=ae,z[2][1]=yt,Qe=ae,gt=yt;break;case fe:var et=0,me=0,Gt=1,rr=1,ut=0;de&&(et=de[4],me=de[5],Gt=u(de[0]*de[0]+de[1]*de[1]),rr=u(de[2]*de[2]+de[3]*de[3]),ut=Math.atan2(-de[1]/rr,de[0]/Gt));var Xt=wt[pt++],ur=wt[pt++],Fr=wt[pt++],er=wt[pt++],nr=wt[pt++]+ut,Lt=wt[pt++]+nr+ut;pt++;var at=wt[pt++],Je=Xt+f(nr)*Fr,qt=ur+g(nr)*er,_t=Xt+f(Lt)*Fr,Ht=ur+g(Lt)*er,Sr=at?" wa ":" at ";Math.abs(Je-_t)<1e-4&&(Math.abs(Lt-nr)>.01?at&&(Je+=270/T):Math.abs(qt-ur)<1e-4?at&&Je<Xt||!at&&Je>Xt?Ht-=270/T:Ht+=270/T:at&&qt<ur||!at&&qt>ur?_t+=270/T:_t-=270/T),We.push(Sr,l(((Xt-Fr)*Gt+et)*T-w),y,l(((ur-er)*rr+me)*T-w),y,l(((Xt+Fr)*Gt+et)*T-w),y,l(((ur+er)*rr+me)*T-w),y,l((Je*Gt+et)*T-w),y,l((qt*rr+me)*T-w),y,l((_t*Gt+et)*T-w),y,l((Ht*rr+me)*T-w)),Qe=_t,gt=Ht;break;case a.R:var yr=z[0],fr=z[1];yr[0]=wt[pt++],yr[1]=wt[pt++],fr[0]=yr[0]+wt[pt++],fr[1]=yr[1]+wt[pt++],de&&(C(yr,yr,de),C(fr,fr,de)),yr[0]=l(yr[0]*T-w),fr[0]=l(fr[0]*T-w),yr[1]=l(yr[1]*T-w),fr[1]=l(fr[1]*T-w),We.push(" m ",yr[0],y,yr[1]," l ",fr[0],y,yr[1]," l ",fr[0],y,fr[1]," l ",yr[0],y,fr[1]);break;case a.Z:We.push(" x ")}if(nt>0){We.push($e);for(var yn=0;yn<nt;yn++){var Jr=z[yn];de&&C(Jr,Jr,de),We.push(l(Jr[0]*T-w),y,l(Jr[1]*T-w),yn<nt-1?y:"")}}}return We.join("")};n.prototype.brushVML=function(Q){var ve=this.style,de=this._vmlEl;de||(de=e.createNode("shape"),L(de),this._vmlEl=de),V(de,"fill",ve,this),V(de,"stroke",ve,this);var Ce=this.transform,we=Ce!=null,le=de.getElementsByTagName("stroke")[0];if(le){var fe=ve.lineWidth;if(we&&!ve.strokeNoScale){var xe=Ce[0]*Ce[3]-Ce[1]*Ce[2];fe*=u(h(xe))}le.weight=fe+"px"}var We=this.path||(this.path=new t);this.__dirtyPath&&(We.beginPath(),We.subPixelOptimize=!1,this.buildPath(We,this.shape),We.toStatic(),this.__dirtyPath=!1),de.path=Y(We,this.transform),de.style.zIndex=B(this.zlevel,this.z,this.z2),R(Q,de),ve.text!=null?this.drawRectText(Q,this.getBoundingRect()):this.removeRectText(Q)},n.prototype.onRemove=function(Q){D(Q,this._vmlEl),this.removeRectText(Q)},n.prototype.onAdd=function(Q){R(Q,this._vmlEl),this.appendRectText(Q)};var J=function(ve){return typeof ve=="object"&&ve.tagName&&ve.tagName.toUpperCase()==="IMG"};r.prototype.brushVML=function(Q){var ve=this.style,de=ve.image,Ce,we;if(J(de)){var le=de.src;if(le===this._imageSrc)Ce=this._imageWidth,we=this._imageHeight;else{var fe=de.runtimeStyle,xe=fe.width,We=fe.height;fe.width="auto",fe.height="auto",Ce=de.width,we=de.height,fe.width=xe,fe.height=We,this._imageSrc=le,this._imageWidth=Ce,this._imageHeight=we}de=le}else de===this._imageSrc&&(Ce=this._imageWidth,we=this._imageHeight);if(!de)return;var nt=ve.x||0,$e=ve.y||0,Le=ve.width,pt=ve.height,Qe=ve.sWidth,gt=ve.sHeight,wt=ve.sx||0,Et=ve.sy||0,_t=Qe&&gt,Ht=this._vmlEl;Ht||(Ht=e.doc.createElement("div"),L(Ht),this._vmlEl=Ht);var Ze=Ht.style,ye=!1,ae,yt=1,et=1;if(this.transform&&(ae=this.transform,yt=u(ae[0]*ae[0]+ae[1]*ae[1]),et=u(ae[2]*ae[2]+ae[3]*ae[3]),ye=ae[1]||ae[2]),ye){var me=[nt,$e],Gt=[nt+Le,$e],rr=[nt,$e+pt],ut=[nt+Le,$e+pt];C(me,me,ae),C(Gt,Gt,ae),C(rr,rr,ae),C(ut,ut,ae);var Xt=v(me[0],Gt[0],rr[0],ut[0]),ur=v(me[1],Gt[1],rr[1],ut[1]),Fr=[];Fr.push("M11=",ae[0]/yt,y,"M12=",ae[2]/et,y,"M21=",ae[1]/yt,y,"M22=",ae[3]/et,y,"Dx=",l(nt*yt+ae[4]),y,"Dy=",l($e*et+ae[5])),Ze.padding="0 "+l(Xt)+"px "+l(ur)+"px 0",Ze.filter=E+".Matrix("+Fr.join("")+", SizingMethod=clip)"}else ae&&(nt=nt*yt+ae[4],$e=$e*et+ae[5]),Ze.filter="",Ze.left=l(nt)+"px",Ze.top=l($e)+"px";var er=this._imageEl,nr=this._cropEl;er||(er=e.doc.createElement("div"),this._imageEl=er);var Lt=er.style;if(_t){if(Ce&&we)Lt.width=l(yt*Ce*Le/Qe)+"px",Lt.height=l(et*we*pt/gt)+"px";else{var at=new Image,Je=this;at.onload=function(){at.onload=null,Ce=at.width,we=at.height,Lt.width=l(yt*Ce*Le/Qe)+"px",Lt.height=l(et*we*pt/gt)+"px",Je._imageWidth=Ce,Je._imageHeight=we,Je._imageSrc=de},at.src=de}nr||(nr=e.doc.createElement("div"),nr.style.overflow="hidden",this._cropEl=nr);var qt=nr.style;qt.width=l((Le+wt*Le/Qe)*yt),qt.height=l((pt+Et*pt/gt)*et),qt.filter=E+".Matrix(Dx="+-wt*Le/Qe*yt+",Dy="+-Et*pt/gt*et+")",nr.parentNode||Ht.appendChild(nr),er.parentNode!==nr&&nr.appendChild(er)}else Lt.width=l(yt*Le)+"px",Lt.height=l(et*pt)+"px",Ht.appendChild(er),nr&&nr.parentNode&&(Ht.removeChild(nr),this._cropEl=null);var Sr="",yr=ve.opacity;yr<1&&(Sr+=".Alpha(opacity="+l(yr*100)+") "),Sr+=E+".AlphaImageLoader(src="+de+", SizingMethod=scale)",Lt.filter=Sr,Ht.style.zIndex=B(this.zlevel,this.z,this.z2),R(Q,Ht),ve.text!=null&&this.drawRectText(Q,this.getBoundingRect())},r.prototype.onRemove=function(Q){D(Q,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(Q)},r.prototype.onAdd=function(Q){R(Q,this._vmlEl),this.appendRectText(Q)};var ie="normal",Z={},oe=0,ge=100,pe=document.createElement("div"),De=function(ve){var de=Z[ve];if(!de){oe>ge&&(oe=0,Z={});var Ce=pe.style,we;try{Ce.font=ve,we=Ce.fontFamily.split(",")[0]}catch(le){}de={style:Ce.fontStyle||ie,variant:Ce.fontVariant||ie,weight:Ce.fontWeight||ie,size:parseFloat(Ce.fontSize||12)|0,family:we||"Microsoft YaHei"},Z[ve]=de,oe++}return de},ce;m.$override("measureText",function(Q,ve){var de=e.doc;ce||(ce=de.createElement("div"),ce.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",e.doc.body.appendChild(ce));try{ce.style.font=ve}catch(Ce){}return ce.innerHTML="",ce.appendChild(de.createTextNode(Q)),{width:ce.offsetWidth}});for(var Oe=new A,se=function(ve,de,Ce,we){var le=this.style;this.__dirty&&p.normalizeTextStyle(le,!0);var fe=le.text;if(fe!=null&&(fe+=""),!fe)return;if(le.rich){var xe=m.parseRichText(fe,le);fe=[];for(var We=0;We<xe.lines.length;We++){for(var nt=xe.lines[We].tokens,$e=[],Le=0;Le<nt.length;Le++)$e.push(nt[Le].text);fe.push($e.join(""))}fe=fe.join(`
`)}var pt,Qe,gt=le.textAlign,wt=le.textVerticalAlign,Et=De(le.font),_t=Et.style+" "+Et.variant+" "+Et.weight+" "+Et.size+'px "'+Et.family+'"';Ce=Ce||m.getBoundingRect(fe,_t,gt,wt,le.textPadding,le.textLineHeight);var Ht=this.transform;if(Ht&&!we&&(Oe.copy(de),Oe.applyTransform(Ht),de=Oe),we)pt=de.x,Qe=de.y;else{var Ze=le.textPosition;if(Ze instanceof Array)pt=de.x+M(Ze[0],de.width),Qe=de.y+M(Ze[1],de.height),gt=gt||"left";else{var ye=this.calculateTextPosition?this.calculateTextPosition({},le,de):m.calculateTextPosition({},le,de);pt=ye.x,Qe=ye.y,gt=gt||ye.textAlign,wt=wt||ye.textVerticalAlign}}pt=m.adjustTextX(pt,Ce.width,gt),Qe=m.adjustTextY(Qe,Ce.height,wt),Qe+=Ce.height/2;var ae=e.createNode,yt=this._textVmlEl,et,me,Gt;yt?(Gt=yt.firstChild,et=Gt.nextSibling,me=et.nextSibling):(yt=ae("line"),et=ae("path"),me=ae("textpath"),Gt=ae("skew"),me.style["v-text-align"]="left",L(yt),et.textpathok=!0,me.on=!0,yt.from="0 0",yt.to="1000 0.05",R(yt,Gt),R(yt,et),R(yt,me),this._textVmlEl=yt);var rr=[pt,Qe],ut=yt.style;Ht&&we?(C(rr,rr,Ht),Gt.on=!0,Gt.matrix=Ht[0].toFixed(3)+y+Ht[2].toFixed(3)+y+Ht[1].toFixed(3)+y+Ht[3].toFixed(3)+",0,0",Gt.offset=(l(rr[0])||0)+","+(l(rr[1])||0),Gt.origin="0 0",ut.left="0px",ut.top="0px"):(Gt.on=!1,ut.left=l(pt)+"px",ut.top=l(Qe)+"px"),me.string=O(fe);try{me.style.font=_t}catch(Xt){}V(yt,"fill",{fill:le.textFill,opacity:le.opacity},this),V(yt,"stroke",{stroke:le.textStroke,opacity:le.opacity,lineDash:le.lineDash||null},this),yt.style.zIndex=B(this.zlevel,this.z,this.z2),R(ve,yt)},$=function(ve){D(ve,this._textVmlEl),this._textVmlEl=null},ze=function(ve){R(ve,this._textVmlEl)},re=[c,o,r,n,i],X=0;X<re.length;X++){var G=re[X].prototype;G.drawRectText=se,G.removeRectText=$,G.appendRectText=ze}i.prototype.brushVML=function(Q){var ve=this.style;ve.text!=null?this.drawRectText(Q,{x:ve.x||0,y:ve.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(Q)},i.prototype.onRemove=function(Q){this.removeRectText(Q)},i.prototype.onAdd=function(Q){this.appendRectText(Q)}}},qJCg:function(H,k,d){var _=d("BlVb"),x=d("mFDi"),C=d("IwbS"),A=C.linePolygonIntersect,b={lineX:m(0),lineY:m(1),rect:{point:function(o,r,i){return o&&i.boundingRect.contain(o[0],o[1])},rect:function(o,r,i){return o&&i.boundingRect.intersect(o)}},polygon:{point:function(o,r,i){return o&&i.boundingRect.contain(o[0],o[1])&&_.contain(i.range,o[0],o[1])},rect:function(o,r,i){var n=i.range;if(!o||n.length<=1)return!1;var t=o.x,s=o.y,e=o.width,a=o.height,l=n[0];if(_.contain(n,t,s)||_.contain(n,t+e,s)||_.contain(n,t,s+a)||_.contain(n,t+e,s+a)||x.create(o).contain(l[0],l[1])||A(t,s,t+e,s,n)||A(t,s,t,s+a,n)||A(t+e,s,t+e,s+a,n)||A(t,s+a,t+e,s+a,n))return!0}}};function m(o){var r=["x","y"],i=["width","height"];return{point:function(n,t,s){if(n){var e=s.range,a=n[o];return p(a,e)}},rect:function(n,t,s){if(n){var e=s.range,a=[n[r[o]],n[r[o]]+n[i[o]]];return a[1]<a[0]&&a.reverse(),p(a[0],e)||p(a[1],e)||p(e[0],a)||p(e[1],a)}}}}function p(o,r){return r[0]<=o&&o<=r[1]}var c=b;H.exports=c},qM6L:function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.WordArray,b=x.enc,m=b.Utf16=b.Utf16BE={stringify:function(o){for(var r=o.words,i=o.sigBytes,n=[],t=0;t<i;t+=2){var s=r[t>>>2]>>>16-t%4*8&65535;n.push(String.fromCharCode(s))}return n.join("")},parse:function(o){for(var r=o.length,i=[],n=0;n<r;n++)i[n>>>1]|=o.charCodeAt(n)<<16-n%2*16;return A.create(i,r*2)}};b.Utf16LE={stringify:function(o){for(var r=o.words,i=o.sigBytes,n=[],t=0;t<i;t+=2){var s=p(r[t>>>2]>>>16-t%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(o){for(var r=o.length,i=[],n=0;n<r;n++)i[n>>>1]|=p(o.charCodeAt(n)<<16-n%2*16);return A.create(i,r*2)}};function p(c){return c<<8&4278255360|c>>>8&16711935}}(),_.enc.Utf16})},qMZE:function(H,k,d){var _=d("JEkh"),x=_.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}}}});H.exports=x},qNPg:function(H,k,d){"use strict";d.d(k,"a",function(){return z});var _=d("rePB"),x=d("VTBJ"),C=d("KQm4"),A=d("ODXe"),b=d("Ff2n"),m=d("q1tI"),p=d("4IlW"),c=d("TSYQ"),o=d.n(c),r=d("6cGi"),i=d("bX4T"),n=d("8XRh"),t=d("8OUc"),s=d("c+Xe"),e=function(J,ie){var Z=J.prefixCls,oe=J.id,ge=J.inputElement,pe=J.disabled,De=J.tabIndex,ce=J.autoFocus,Oe=J.autoComplete,se=J.editable,$=J.accessibilityIndex,ze=J.value,re=J.onKeyDown,X=J.onMouseDown,G=J.onChange,Q=J.onPaste,ve=J.onCompositionStart,de=J.onCompositionEnd,Ce=J.open,we=J.attrs,le=ge||m.createElement("input",null),fe=le,xe=fe.ref,We=fe.props,nt=We.onKeyDown,$e=We.onChange,Le=We.onMouseDown,pt=We.onCompositionStart,Qe=We.onCompositionEnd,gt=We.style;return le=m.cloneElement(le,Object(x.a)(Object(x.a)({id:oe,ref:Object(s.a)(ie,xe),disabled:pe,tabIndex:De,autoComplete:Oe||"off",autoFocus:ce,className:"".concat(Z,"-selection-search-input"),style:Object(x.a)(Object(x.a)({},gt),{},{opacity:se?null:0}),role:"combobox","aria-expanded":Ce,"aria-haspopup":"listbox","aria-owns":"".concat(oe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(oe,"_list"),"aria-activedescendant":"".concat(oe,"_list_").concat($)},we),{},{value:se?ze:"",readOnly:!se,unselectable:se?null:"on",onKeyDown:function(Et){re(Et),nt&&nt(Et)},onMouseDown:function(Et){X(Et),Le&&Le(Et)},onChange:function(Et){G(Et),$e&&$e(Et)},onCompositionStart:function(Et){ve(Et),pt&&pt(Et)},onCompositionEnd:function(Et){de(Et),Qe&&Qe(Et)},onPaste:Q})),le},a=m.forwardRef(e);a.displayName="Input";var l=a,u=d("WKfj");function h(Y,J){u.b?m.useLayoutEffect(Y,J):m.useEffect(Y,J)}var f="__RC_SELECT_MAX_REST_COUNT__",g=function(J){var ie=J.id,Z=J.prefixCls,oe=J.values,ge=J.open,pe=J.searchValue,De=J.inputRef,ce=J.placeholder,Oe=J.disabled,se=J.mode,$=J.showSearch,ze=J.autoFocus,re=J.autoComplete,X=J.accessibilityIndex,G=J.tabIndex,Q=J.removeIcon,ve=J.choiceTransitionName,de=J.maxTagCount,Ce=J.maxTagTextLength,we=J.maxTagPlaceholder,le=we===void 0?function(Xt){return"+ ".concat(Xt.length," ...")}:we,fe=J.tagRender,xe=J.onSelect,We=J.onInputChange,nt=J.onInputPaste,$e=J.onInputKeyDown,Le=J.onInputMouseDown,pt=J.onInputCompositionStart,Qe=J.onInputCompositionEnd,gt=m.useState(!1),wt=Object(A.a)(gt,2),Et=wt[0],_t=wt[1],Ht=m.useRef(null),Ze=m.useState(0),ye=Object(A.a)(Ze,2),ae=ye[0],yt=ye[1];m.useEffect(function(){_t(!0)},[]);var et=ge||se==="tags"?pe:"",me=se==="tags"||ge&&$;h(function(){yt(Ht.current.scrollWidth)},[et]);var Gt=oe,rr;typeof de=="number"&&(rr=oe.length-de,Gt=oe.slice(0,de)),typeof Ce=="number"&&(Gt=Gt.map(function(Xt){var ur=Xt.label,Fr=Object(b.a)(Xt,["label"]),er=ur;if(typeof ur=="string"||typeof ur=="number"){var nr=String(er);nr.length>Ce&&(er="".concat(nr.slice(0,Ce),"..."))}return Object(x.a)(Object(x.a)({},Fr),{},{label:er})})),rr>0&&Gt.push({key:f,label:typeof le=="function"?le(oe.slice(de)):le});var ut=m.createElement(n.CSSMotionList,{component:!1,keys:Gt,motionName:ve,motionAppear:Et},function(Xt){var ur=Xt.key,Fr=Xt.label,er=Xt.value,nr=Xt.disabled,Lt=Xt.className,at=Xt.style,Je=ur||er,qt=ur!==f&&!nr,Sr=function(yn){yn.preventDefault(),yn.stopPropagation()},yr=function(yn){yn&&yn.stopPropagation(),xe(er,{selected:!1})};return typeof fe=="function"?m.createElement("span",{key:Je,onMouseDown:Sr,className:Lt,style:at},fe({label:Fr,value:er,disabled:nr,closable:qt,onClose:yr})):m.createElement("span",{key:Je,className:o()(Lt,"".concat(Z,"-selection-item"),Object(_.a)({},"".concat(Z,"-selection-item-disabled"),nr)),style:at},m.createElement("span",{className:"".concat(Z,"-selection-item-content")},Fr),qt&&m.createElement(t.a,{className:"".concat(Z,"-selection-item-remove"),onMouseDown:Sr,onClick:yr,customizeIcon:Q},"\xD7"))});return m.createElement(m.Fragment,null,ut,m.createElement("span",{className:"".concat(Z,"-selection-search"),style:{width:ae}},m.createElement(l,{ref:De,open:ge,prefixCls:Z,id:ie,inputElement:null,disabled:Oe,autoFocus:ze,autoComplete:re,editable:me,accessibilityIndex:X,value:et,onKeyDown:$e,onMouseDown:Le,onChange:We,onPaste:nt,onCompositionStart:pt,onCompositionEnd:Qe,tabIndex:G,attrs:Object(i.a)(J,!0)}),m.createElement("span",{ref:Ht,className:"".concat(Z,"-selection-search-mirror"),"aria-hidden":!0},et,"\xA0")),!oe.length&&!et&&m.createElement("span",{className:"".concat(Z,"-selection-placeholder")},ce))},v=g,y=function(J){var ie=J.inputElement,Z=J.prefixCls,oe=J.id,ge=J.inputRef,pe=J.disabled,De=J.autoFocus,ce=J.autoComplete,Oe=J.accessibilityIndex,se=J.mode,$=J.open,ze=J.values,re=J.placeholder,X=J.tabIndex,G=J.showSearch,Q=J.searchValue,ve=J.activeValue,de=J.onInputKeyDown,Ce=J.onInputMouseDown,we=J.onInputChange,le=J.onInputPaste,fe=J.onInputCompositionStart,xe=J.onInputCompositionEnd,We=m.useState(!1),nt=Object(A.a)(We,2),$e=nt[0],Le=nt[1],pt=se==="combobox",Qe=pt||G&&$,gt=ze[0],wt=Q||"";pt&&ve&&!$e&&(wt=ve),m.useEffect(function(){pt&&Le(!1)},[pt,ve]);var Et=se!=="combobox"&&!$?!1:!!wt,_t=gt&&(typeof gt.label=="string"||typeof gt.label=="number")?gt.label.toString():void 0;return m.createElement(m.Fragment,null,m.createElement("span",{className:"".concat(Z,"-selection-search")},m.createElement(l,{ref:ge,prefixCls:Z,id:oe,open:$,inputElement:ie,disabled:pe,autoFocus:De,autoComplete:ce,editable:Qe,accessibilityIndex:Oe,value:wt,onKeyDown:de,onMouseDown:Ce,onChange:function(Ze){Le(!0),we(Ze)},onPaste:le,onCompositionStart:fe,onCompositionEnd:xe,tabIndex:X,attrs:Object(i.a)(J,!0)})),!pt&&gt&&!Et&&m.createElement("span",{className:"".concat(Z,"-selection-item"),title:_t},gt.label),!gt&&!Et&&m.createElement("span",{className:"".concat(Z,"-selection-placeholder")},re))},E=y;function T(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=m.useRef(null),ie=m.useRef(null);m.useEffect(function(){return function(){window.clearTimeout(ie.current)}},[]);function Z(oe){(oe||J.current===null)&&(J.current=oe),window.clearTimeout(ie.current),ie.current=window.setTimeout(function(){J.current=null},Y)}return[function(){return J.current},Z]}var w=function(J,ie){var Z=Object(m.useRef)(null),oe=Object(m.useRef)(!1),ge=J.prefixCls,pe=J.multiple,De=J.open,ce=J.mode,Oe=J.showSearch,se=J.tokenWithEnter,$=J.onSearch,ze=J.onSearchSubmit,re=J.onToggleOpen,X=J.onInputKeyDown,G=J.domRef;m.useImperativeHandle(ie,function(){return{focus:function(){Z.current.focus()},blur:function(){Z.current.blur()}}});var Q=T(0),ve=Object(A.a)(Q,2),de=ve[0],Ce=ve[1],we=function(Et){var _t=Et.which;(_t===p.a.UP||_t===p.a.DOWN)&&Et.preventDefault(),X&&X(Et),_t===p.a.ENTER&&ce==="tags"&&!oe.current&&!De&&ze(Et.target.value),[p.a.SHIFT,p.a.TAB,p.a.BACKSPACE,p.a.ESC].includes(_t)||re(!0)},le=function(){Ce(!0)},fe=Object(m.useRef)(null),xe=function(Et){$(Et,!0,oe.current)!==!1&&re(!0)},We=function(){oe.current=!0},nt=function(){oe.current=!1},$e=function(Et){var _t=Et.target.value;if(se&&fe.current&&/[\r\n]/.test(fe.current)){var Ht=fe.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");_t=_t.replace(Ht,fe.current)}fe.current=null,xe(_t)},Le=function(Et){var _t=Et.clipboardData,Ht=_t.getData("text");fe.current=Ht},pt=function(Et){var _t=de();if(Et.target!==Z.current){_t||Et.preventDefault();var Ht=document.body.style.msTouchAction!==void 0;Ht?setTimeout(function(){Z.current.focus()}):Z.current.focus()}(ce!=="combobox"&&(!Oe||!_t)||!De)&&(De&&$("",!0,!1),re())},Qe={inputRef:Z,onInputKeyDown:we,onInputMouseDown:le,onInputChange:$e,onInputPaste:Le,onInputCompositionStart:We,onInputCompositionEnd:nt},gt=pe?m.createElement(v,Object.assign({},J,Qe)):m.createElement(E,Object.assign({},J,Qe));return m.createElement("div",{ref:G,className:"".concat(ge,"-selector"),onMouseDown:pt},gt)},S=m.forwardRef(w);S.displayName="Selector";var I=S,L=d("uciX"),O=function(J){var ie=typeof J!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ie,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ie,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ie,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ie,adjustY:1}}}},N=function(J,ie){var Z=J.prefixCls,oe=J.disabled,ge=J.visible,pe=J.children,De=J.popupElement,ce=J.containerWidth,Oe=J.animation,se=J.transitionName,$=J.dropdownStyle,ze=J.dropdownClassName,re=J.direction,X=re===void 0?"ltr":re,G=J.dropdownMatchSelectWidth,Q=G===void 0?!0:G,ve=J.dropdownRender,de=J.dropdownAlign,Ce=J.getPopupContainer,we=J.empty,le=J.getTriggerDOMNode,fe=Object(b.a)(J,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),xe="".concat(Z,"-dropdown"),We=De;ve&&(We=ve(De));var nt=m.useMemo(function(){return O(Q)},[Q]),$e=Oe?"".concat(xe,"-").concat(Oe):se,Le=m.useRef(null);m.useImperativeHandle(ie,function(){return{getPopupElement:function(){return Le.current}}});var pt=Object(x.a)({minWidth:ce},$);return typeof Q=="number"?pt.width=Q:Q&&(pt.width=ce),m.createElement(L.a,Object.assign({},fe,{showAction:[],hideAction:[],popupPlacement:X==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:nt,prefixCls:xe,popupTransitionName:$e,popup:m.createElement("div",{ref:Le},We),popupAlign:de,popupVisible:ge,getPopupContainer:Ce,popupClassName:o()(ze,Object(_.a)({},"".concat(xe,"-empty"),we)),popupStyle:pt,getTriggerDOMNode:le}),pe)},R=m.forwardRef(N);R.displayName="SelectTrigger";var D=R,B=d("wPlo");function M(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=m.useState(!1),ie=Object(A.a)(J,2),Z=ie[0],oe=ie[1],ge=m.useRef(null),pe=function(){window.clearTimeout(ge.current)};m.useEffect(function(){return pe},[]);var De=function(Oe,se){pe(),ge.current=window.setTimeout(function(){oe(Oe),se&&se()},Y)};return[Z,De,pe]}var U=d("2Qr1");function F(Y,J,ie){var Z=m.useRef(null);Z.current={elements:Y.filter(function(oe){return oe}),open:J,triggerOpen:ie},m.useEffect(function(){function oe(ge){var pe=ge.target;Z.current.open&&Z.current.elements.every(function(De){return!De.contains(pe)&&De!==pe})&&Z.current.triggerOpen(!1)}return window.addEventListener("mousedown",oe),function(){return window.removeEventListener("mousedown",oe)}},[])}function j(Y){var J=m.useRef(Y),ie=m.useMemo(function(){var Z=new Map;J.current.forEach(function(ge){var pe=ge.value,De=ge.label;pe!==De&&Z.set(pe,De)});var oe=Y.map(function(ge){var pe=Z.get(ge.value);return ge.value===ge.label&&pe?Object(x.a)(Object(x.a)({},ge),{},{label:pe}):ge});return J.current=oe,oe},[Y]);return ie}function W(Y,J){var ie=m.useRef(null),Z=m.useMemo(function(){var ge=new Map;return J.forEach(function(pe){var De=pe.data.value;ge.set(De,pe)}),ge},[Y,J]);ie.current=Z;var oe=function(pe){return pe.map(function(De){return ie.current.get(De)}).filter(Boolean)};return oe}var V=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function z(Y){var J=Y.prefixCls,ie=Y.components.optionList,Z=Y.convertChildrenToData,oe=Y.flattenOptions,ge=Y.getLabeledValue,pe=Y.filterOptions,De=Y.isValueDisabled,ce=Y.findValueOption,Oe=Y.warningProps,se=Y.fillOptionsWithMissingValue,$=Y.omitDOMProps;function ze(X,G){var Q,ve=X.prefixCls,de=ve===void 0?J:ve,Ce=X.className,we=X.id,le=X.open,fe=X.defaultOpen,xe=X.options,We=X.children,nt=X.mode,$e=X.value,Le=X.defaultValue,pt=X.labelInValue,Qe=X.showSearch,gt=X.inputValue,wt=X.searchValue,Et=X.filterOption,_t=X.optionFilterProp,Ht=_t===void 0?"value":_t,Ze=X.autoClearSearchValue,ye=Ze===void 0?!0:Ze,ae=X.onSearch,yt=X.allowClear,et=X.clearIcon,me=X.showArrow,Gt=X.inputIcon,rr=X.menuItemSelectedIcon,ut=X.disabled,Xt=X.loading,ur=X.defaultActiveFirstOption,Fr=X.notFoundContent,er=Fr===void 0?"Not Found":Fr,nr=X.optionLabelProp,Lt=X.backfill,at=X.getInputElement,Je=X.getPopupContainer,qt=X.listHeight,Sr=qt===void 0?200:qt,yr=X.listItemHeight,fr=yr===void 0?20:yr,yn=X.animation,Jr=X.transitionName,Ln=X.virtual,Nt=X.dropdownStyle,Ve=X.dropdownClassName,_e=X.dropdownMatchSelectWidth,ke=X.dropdownRender,Pe=X.dropdownAlign,rt=X.showAction,Pt=rt===void 0?[]:rt,Yt=X.direction,kt=X.tokenSeparators,_r=X.tagRender,Rr=X.onPopupScroll,un=X.onDropdownVisibleChange,Ut=X.onFocus,ht=X.onBlur,ot=X.onKeyUp,Wt=X.onKeyDown,Jt=X.onMouseDown,At=X.onChange,Bt=X.onSelect,mt=X.onDeselect,Mt=X.onClear,hr=X.internalProps,or=hr===void 0?{}:hr,ar=Object(b.a)(X,["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"]),Gr=or.mark===B.a,Yr=$?$(ar):ar;V.forEach(function(zn){delete Yr[zn]});var In=Object(m.useRef)(null),Nn=Object(m.useRef)(null),Kn=Object(m.useRef)(null),$n=Object(m.useRef)(null),Ii=Object(m.useMemo)(function(){return(kt||[]).some(function(zn){return[`
`,`\r
`].includes(zn)})},[kt]),Mi=M(),Xe=Object(A.a)(Mi,3),Ie=Xe[0],Be=Xe[1],Fe=Xe[2],Ge=Object(m.useState)(),Ke=Object(A.a)(Ge,2),qe=Ke[0],vt=Ke[1];Object(m.useEffect)(function(){vt("rc_select_".concat(Object(u.a)()))},[]);var lt=we||qe,Ft=nr;Ft===void 0&&(Ft=xe?"label":"children");var wr=nt==="combobox"?!1:pt,pr=nt==="tags"||nt==="multiple",Dr=Qe!==void 0?Qe:pr||nt==="combobox",zt=Object(m.useRef)(null);m.useImperativeHandle(G,function(){return{focus:Kn.current.focus,blur:Kn.current.blur}});var hn=Object(r.a)(Le,{value:$e}),ir=Object(A.a)(hn,2),Xr=ir[0],Br=ir[1],vr=Object(m.useMemo)(function(){return Object(u.e)(Xr,{labelInValue:wr,combobox:nt==="combobox"})},[Xr,wr]),Cn=Object(m.useMemo)(function(){return new Set(vr)},[vr]),kn=Object(m.useState)(null),ei=Object(A.a)(kn,2),ii=ei[0],ti=ei[1],Ti=Object(m.useState)(""),Bn=Object(A.a)(Ti,2),Di=Bn[0],gn=Bn[1],Vr=Di;nt==="combobox"&&Xr!==void 0?Vr=Xr:wt!==void 0?Vr=wt:gt&&(Vr=gt);var Sn=Object(m.useMemo)(function(){var zn=xe;return zn===void 0&&(zn=Z(We)),nt==="tags"&&se&&(zn=se(zn,Xr,Ft,pt)),zn||[]},[xe,We,nt,Xr]),tn=Object(m.useMemo)(function(){return oe(Sn,X)},[Sn]),ci=W(vr,tn),qn=Object(m.useMemo)(function(){if(!Vr||!Dr)return Object(C.a)(Sn);var zn=pe(Vr,Sn,{optionFilterProp:Ht,filterOption:nt==="combobox"&&Et===void 0?function(){return!0}:Et});return nt==="tags"&&zn.every(function(ji){return ji[Ht]!==Vr})&&zn.unshift({value:Vr,label:Vr,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),zn},[Sn,Vr,nt,Dr]),wi=Object(m.useMemo)(function(){return oe(qn,X)},[qn]);Object(m.useEffect)(function(){$n.current&&$n.current.scrollTo&&$n.current.scrollTo(0)},[Vr]);var Jn=Object(m.useMemo)(function(){var zn=vr.map(function(ji){var Yi=ci([ji]),ta=ge(ji,{options:Yi,prevValue:Xr,labelInValue:wr,optionLabelProp:Ft});return Object(x.a)(Object(x.a)({},ta),{},{disabled:De(ji,Yi)})});return!nt&&zn.length===1&&zn[0].value===null&&zn[0].label===null?[]:zn},[Xr,Sn,nt]);Jn=j(Jn);var Qi=function(ji,Yi,ta){var Zi=ci([ji]),br=ce([ji],Zi)[0];if(!or.skipTriggerSelect){var Wr=wr?ge(ji,{options:Zi,prevValue:Xr,labelInValue:wr,optionLabelProp:Ft}):ji;Yi&&Bt?Bt(Wr,br):!Yi&&mt&&mt(Wr,br)}Gr&&(Yi&&or.onRawSelect?or.onRawSelect(ji,br,ta):!Yi&&or.onRawDeselect&&or.onRawDeselect(ji,br,ta))},xi=Object(m.useState)([]),Ei=Object(A.a)(xi,2),dn=Ei[0],Mr=Ei[1],wn=function(ji){if(Gr&&or.skipTriggerChange)return;var Yi=ci(ji),ta=Object(u.f)(Array.from(ji),{labelInValue:wr,options:Yi,getLabeledValue:ge,prevValue:Xr,optionLabelProp:Ft}),Zi=pr?ta:ta[0];if(At&&(vr.length!==0||ta.length!==0)){var br=ce(ji,Yi,{prevValueOptions:dn});Mr(br.map(function(Wr,nn){var Nr=Object(x.a)({},Wr);return Object.defineProperty(Nr,"_INTERNAL_OPTION_VALUE_",{get:function(){return ji[nn]}}),Nr})),At(Zi,pr?br:br[0])}Br(Zi)},Rn=function(ji,Yi){var ta=Yi.selected,Zi=Yi.source;if(ut)return;var br;pr?(br=new Set(vr),ta?br.add(ji):br.delete(ji)):(br=new Set,br.add(ji)),(pr||!pr&&Array.from(vr)[0]!==ji)&&wn(Array.from(br)),Qi(ji,!pr||ta,Zi),nt==="combobox"?(gn(String(ji)),ti("")):(!pr||ye)&&(gn(""),ti(""))},Xn=function(ji,Yi){Rn(ji,Object(x.a)(Object(x.a)({},Yi),{},{source:"option"}))},Zn=function(ji,Yi){Rn(ji,Object(x.a)(Object(x.a)({},Yi),{},{source:"selection"}))},hi=nt==="combobox"&&at&&at()||null,mi=Object(r.a)(void 0,{defaultValue:fe,value:le}),gi=Object(A.a)(mi,2),Vi=gi[0],ma=gi[1],ca=Vi,ja=!er&&!qn.length;(ut||ja&&ca&&nt==="combobox")&&(ca=!1);var fi=ja?!1:ca,cn=function(ji){var Yi=ji!==void 0?ji:!ca;Vi!==Yi&&!ut&&(ma(Yi),un&&un(Yi))};F([In.current,Nn.current&&Nn.current.getPopupElement()],fi,cn);var Bi=function(ji,Yi,ta){var Zi=!0,br=ji;ti(null);var Wr=ta?null:Object(U.f)(ji,kt),nn=Wr;if(nt==="combobox")Yi&&wn([br]);else if(Wr){br="",nt!=="tags"&&(nn=Wr.map(function(jt){var xr=tn.find(function($t){var jr=$t.data;return jr[Ft]===jt});return xr?xr.data.value:null}).filter(function(jt){return jt!==null}));var Nr=Array.from(new Set([].concat(Object(C.a)(vr),Object(C.a)(nn))));wn(Nr),Nr.forEach(function(jt){Qi(jt,!0,"input")}),cn(!1),Zi=!1}return gn(br),ae&&Vr!==br&&ae(br),Zi},sa=function(ji){var Yi=Array.from(new Set([].concat(Object(C.a)(vr),[ji])));wn(Yi),Yi.forEach(function(ta){Qi(ta,!0,"input")}),gn("")};Object(m.useEffect)(function(){Vi&&!!ut&&ma(!1)},[ut]),Object(m.useEffect)(function(){!ca&&!pr&&nt!=="combobox"&&Bi("",!1,!1)},[ca]);var zi=T(),da=Object(A.a)(zi,2),Vt=da[0],Qr=da[1],an=function(ji){var Yi=Vt(),ta=ji.which;if(!ca&&ta===p.a.ENTER&&cn(!0),Qr(!!Vr),ta===p.a.BACKSPACE&&!Yi&&pr&&!Vr&&vr.length){var Zi=Object(u.c)(Jn,vr);Zi.removedValue!==null&&(wn(Zi.values),Qi(Zi.removedValue,!1,"input"))}for(var br=arguments.length,Wr=new Array(br>1?br-1:0),nn=1;nn<br;nn++)Wr[nn-1]=arguments[nn];if(ca&&$n.current){var Nr;(Nr=$n.current).onKeyDown.apply(Nr,[ji].concat(Wr))}Wt&&Wt.apply(void 0,[ji].concat(Wr))},mn=function(ji){for(var Yi=arguments.length,ta=new Array(Yi>1?Yi-1:0),Zi=1;Zi<Yi;Zi++)ta[Zi-1]=arguments[Zi];if(ca&&$n.current){var br;(br=$n.current).onKeyUp.apply(br,[ji].concat(ta))}ot&&ot.apply(void 0,[ji].concat(ta))},Ye=Object(m.useRef)(!1),It=function(){Be(!0),ut||(Ut&&!Ye.current&&Ut.apply(void 0,arguments),Pt.includes("focus")&&cn(!0)),Ye.current=!0},lr=function(){if(Be(!1,function(){Ye.current=!1,cn(!1)}),ut)return;Vr&&(nt==="tags"?(Bi("",!1,!1),wn(Array.from(new Set([].concat(Object(C.a)(vr),[Vr]))))):nt==="multiple"&&gn("")),ht&&ht.apply(void 0,arguments)},sr=[];Object(m.useEffect)(function(){return function(){sr.forEach(function(zn){return clearTimeout(zn)}),sr.splice(0,sr.length)}},[]);var Lr=function(ji){var Yi=ji.target,ta=Nn.current&&Nn.current.getPopupElement();if(ta&&ta.contains(Yi)){var Zi=setTimeout(function(){var Nr=sr.indexOf(Zi);Nr!==-1&&sr.splice(Nr,1),Fe(),ta.contains(document.activeElement)||Kn.current.focus()});sr.push(Zi)}if(Jt){for(var br=arguments.length,Wr=new Array(br>1?br-1:0),nn=1;nn<br;nn++)Wr[nn-1]=arguments[nn];Jt.apply(void 0,[ji].concat(Wr))}},Pr=Object(m.useState)(0),Kr=Object(A.a)(Pr,2),on=Kr[0],xn=Kr[1],An=ur!==void 0?ur:nt!=="combobox",Pn=function(ji,Yi){xn(Yi),Lt&&nt==="combobox"&&ji!==null&&ti(String(ji))},Un=Object(m.useState)(null),bn=Object(A.a)(Un,2),_n=bn[0],Tn=bn[1],Wn=Object(m.useState)({}),Gn=Object(A.a)(Wn,2),ri=Gn[1];function Si(){ri({})}h(function(){if(fi){var zn=Math.ceil(In.current.offsetWidth);_n!==zn&&Tn(zn)}},[fi]);var oi=m.createElement(ie,{ref:$n,prefixCls:de,id:lt,open:ca,childrenAsData:!xe,options:qn,flattenOptions:wi,multiple:pr,values:Cn,height:Sr,itemHeight:fr,onSelect:Xn,onToggleOpen:cn,onActiveValue:Pn,defaultActiveFirstOption:An,notFoundContent:er,onScroll:Rr,searchValue:Vr,menuItemSelectedIcon:rr,virtual:Ln!==!1&&_e!==!1,onMouseEnter:Si}),Pi,Hi=function(){Gr&&or.onClear&&or.onClear(),Mt&&Mt(),wn([]),Bi("",!1,!1)};!ut&&yt&&(vr.length||Vr)&&(Pi=m.createElement(t.a,{className:"".concat(de,"-clear"),onMouseDown:Hi,customizeIcon:et},"\xD7"));var _i=me!==void 0?me:Xt||!pr&&nt!=="combobox",pi;_i&&(pi=m.createElement(t.a,{className:o()("".concat(de,"-arrow"),Object(_.a)({},"".concat(de,"-arrow-loading"),Xt)),customizeIcon:Gt,customizeIconProps:{loading:Xt,searchValue:Vr,open:ca,focused:Ie,showSearch:Dr}}));var ki=o()(de,Ce,(Q={},Object(_.a)(Q,"".concat(de,"-focused"),Ie),Object(_.a)(Q,"".concat(de,"-multiple"),pr),Object(_.a)(Q,"".concat(de,"-single"),!pr),Object(_.a)(Q,"".concat(de,"-allow-clear"),yt),Object(_.a)(Q,"".concat(de,"-show-arrow"),_i),Object(_.a)(Q,"".concat(de,"-disabled"),ut),Object(_.a)(Q,"".concat(de,"-loading"),Xt),Object(_.a)(Q,"".concat(de,"-open"),ca),Object(_.a)(Q,"".concat(de,"-customize-input"),hi),Object(_.a)(Q,"".concat(de,"-show-search"),Dr),Q));return m.createElement("div",Object.assign({className:ki},Yr,{ref:In,onMouseDown:Lr,onKeyDown:an,onKeyUp:mn,onFocus:It,onBlur:lr}),Ie&&!ca&&m.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(vr.join(", "))),m.createElement(D,{ref:Nn,disabled:ut,prefixCls:de,visible:fi,popupElement:oi,containerWidth:_n,animation:yn,transitionName:Jr,dropdownStyle:Nt,dropdownClassName:Ve,direction:Yt,dropdownMatchSelectWidth:_e,dropdownRender:ke,dropdownAlign:Pe,getPopupContainer:Je,empty:!Sn.length,getTriggerDOMNode:function(){return zt.current}},m.createElement(I,Object.assign({},X,{domRef:zt,prefixCls:de,inputElement:hi,ref:Kn,id:lt,showSearch:Dr,mode:nt,accessibilityIndex:on,multiple:pr,tagRender:_r,values:Jn,open:ca,onToggleOpen:cn,searchValue:Vr,activeValue:ii,onSearch:Bi,onSearchSubmit:sa,onSelect:Zn,tokenWithEnter:Ii}))),pi,Pi)}var re=m.forwardRef(ze);return re}},qPY4:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("u4NN"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},qWUW:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("DL4k")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="CaretDownOutlined";var c=A.forwardRef(p);k.default=c},qWt2:function(H,k,d){var _=d("ProS"),x=_.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}}});H.exports=x},qZFw:function(H,k,d){var _=d("bYtY"),x=d("6GrX"),C=d("hM6l"),A=d("4NO4"),b=A.makeInner,m=b();function p(o,r){r=r||[0,360],C.call(this,"angle",o,r),this.type="category"}p.prototype={constructor:p,pointToData:function(o,r){return this.polar.pointToData(o,r)[this.dim==="radius"?0:1]},dataToAngle:C.prototype.dataToCoord,angleToData:C.prototype.coordToData,calculateCategoryInterval:function(){var o=this,r=o.getLabelModel(),i=o.scale,n=i.getExtent(),t=i.count();if(n[1]-n[0]<1)return 0;var s=n[0],e=o.dataToCoord(s+1)-o.dataToCoord(s),a=Math.abs(e),l=x.getBoundingRect(s,r.getFont(),"center","top"),u=Math.max(l.height,7),h=u/a;isNaN(h)&&(h=Infinity);var f=Math.max(0,Math.floor(h)),g=m(o.model),v=g.lastAutoInterval,y=g.lastTickCount;return v!=null&&y!=null&&Math.abs(v-f)<=1&&Math.abs(y-t)<=1&&v>f?f=v:(g.lastTickCount=t,g.lastAutoInterval=f),f}},_.inherits(p,C);var c=p;H.exports=c},qgGe:function(H,k,d){var _=d("bYtY"),x=d("T4UG"),C=d("Bsck"),A=d("VaxA"),b=A.wrapTreePathInfo,m=x.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(c,o){var r={name:c.name,children:c.data};p(r);var i=c.levels||[],n={};return n.levels=i,C.createTree(r,this,n).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(c){var o=x.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(c);return o.treePathInfo=b(r,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 p(c){var o=0;_.each(c.children,function(i){p(i);var n=i.value;_.isArray(n)&&(n=n[0]),o+=n});var r=c.value;_.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=o),r<0&&(r=0),_.isArray(c.value)?c.value[0]=r:c.value=r}H.exports=m},qj72:function(H,k,d){var _=d("bYtY");function x(A,b){return b=b||[0,0],_.map(["x","y"],function(m,p){var c=this.getAxis(m),o=b[p],r=A[p]/2;return c.type==="category"?c.getBandWidth():Math.abs(c.dataToCoord(o-r)-c.dataToCoord(o+r))},this)}function C(A){var b=A.grid.getRect();return{coordSys:{type:"cartesian2d",x:b.x,y:b.y,width:b.width,height:b.height},api:{coord:function(m){return A.dataToPoint(m)},size:_.bind(x,A)}}}H.exports=C},"qt/9":function(H,k,d){var _=d("ProS"),x=d("bYtY");d("Wqna"),d("1tlw"),d("Mylv");var C=d("nVfU"),A=C.layout,b=d("f5Yq");d("Ae16"),_.registerLayout(x.curry(A,"pictorialBar")),_.registerVisual(b("pictorialBar","roundRect"))},qu8F:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/return _.mode.CTRGladman=function(){var x=_.lib.BlockCipherMode.extend();function C(m){if((m>>24&255)===255){var p=m>>16&255,c=m>>8&255,o=m&255;p===255?(p=0,c===255?(c=0,o===255?o=0:++o):++c):++p,m=0,m+=p<<16,m+=c<<8,m+=o}else m+=1<<24;return m}function A(m){return(m[0]=C(m[0]))===0&&(m[1]=C(m[1])),m}var b=x.Encryptor=x.extend({processBlock:function(p,c){var o=this._cipher,r=o.blockSize,i=this._iv,n=this._counter;i&&(n=this._counter=i.slice(0),this._iv=void 0),A(n);var t=n.slice(0);o.encryptBlock(t,0);for(var s=0;s<r;s++)p[c+s]^=t[s]}});return x.Decryptor=b,x}(),_.mode.CTRGladman})},quyA:function(H,k){var d="\\ud800-\\udfff",_="\\u0300-\\u036f",x="\\ufe20-\\ufe2f",C="\\u20d0-\\u20ff",A=_+x+C,b="\\ufe0e\\ufe0f",m="\\u200d",p=RegExp("["+m+d+A+b+"]");function c(o){return p.test(o)}H.exports=c},qwVE:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("K4ya"),A=d("XxSj"),b=_.PRIORITY.VISUAL.COMPONENT;_.registerVisual(b,{createOnAllSeries:!0,reset:function(p,c){var o=[];return c.eachComponent("visualMap",function(r){var i=p.pipelineContext;if(!r.isTargetSeries(p)||i&&i.large)return;o.push(C.incrementalApplyVisual(r.stateList,r.targetVisuals,x.bind(r.getValueState,r),r.getDataDimension(p.getData())))}),o}}),_.registerVisual(b,{createOnAllSeries:!0,reset:function(p,c){var o=p.getData(),r=[];c.eachComponent("visualMap",function(i){if(i.isTargetSeries(p)){var n=i.getVisualMeta(x.bind(m,null,p,i))||{stops:[],outerColors:[]},t=i.getDataDimension(o),s=o.getDimensionInfo(t);s!=null&&(n.dimension=s.index,r.push(n))}}),p.getData().setVisual("visualMeta",r)}});function m(p,c,o,r){for(var i=c.targetVisuals[r],n=A.prepareVisualTypes(i),t={color:p.getData().getVisual("color")},s=0,e=n.length;s<e;s++){var a=n[s],l=i[a==="opacity"?"__alphaForOpacity":a];l&&l.applyVisual(o,u,h)}return t.color;function u(f){return t[f]}function h(f,g){t[f]=g}}},"r+aA":function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("s2MQ")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="EyeInvisibleOutlined";var c=A.forwardRef(p);k.default=c},"r/2G":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("+Zaj"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},r6Bn:function(H,k,d){var _=d("bYtY"),x=d("ItGF"),C=d("4fz+"),A=d("BPZU");function b(c,o){return c.zlevel===o.zlevel?c.z===o.z?c.z2-o.z2:c.z-o.z:c.zlevel-o.zlevel}var m=function(){this._roots=[],this._displayList=[],this._displayListLen=0};m.prototype={constructor:m,traverse:function(o,r){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(o,r)},getDisplayList:function(o,r){return r=r||!1,o&&this.updateDisplayList(r),this._displayList},updateDisplayList:function(o){this._displayListLen=0;for(var r=this._roots,i=this._displayList,n=0,t=r.length;n<t;n++)this._updateAndAddDisplayable(r[n],null,o);i.length=this._displayListLen,x.canvasSupported&&A(i,b)},_updateAndAddDisplayable:function(o,r,i){if(o.ignore&&!i)return;o.beforeUpdate(),o.__dirty&&o.update(),o.afterUpdate();var n=o.clipPath;if(n){r?r=r.slice():r=[];for(var t=n,s=o;t;)t.parent=s,t.updateTransform(),r.push(t),s=t,t=t.clipPath}if(o.isGroup){for(var e=o._children,a=0;a<e.length;a++){var l=e[a];o.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,r,i)}o.__dirty=!1}else o.__clipPaths=r,this._displayList[this._displayListLen++]=o},addRoot:function(o){if(o.__storage===this)return;o instanceof C&&o.addChildrenToStorage(this),this.addToStorage(o),this._roots.push(o)},delRoot:function(o){if(o==null){for(var r=0;r<this._roots.length;r++){var i=this._roots[r];i instanceof C&&i.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(o instanceof Array){for(var r=0,n=o.length;r<n;r++)this.delRoot(o[r]);return}var t=_.indexOf(this._roots,o);t>=0&&(this.delFromStorage(o),this._roots.splice(t,1),o instanceof C&&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:b};var p=m;H.exports=p},rA99:function(H,k,d){var _=d("y+Vt"),x=d("QBsz"),C=d("Sj9i"),A=C.quadraticSubdivide,b=C.cubicSubdivide,m=C.quadraticAt,p=C.cubicAt,c=C.quadraticDerivativeAt,o=C.cubicDerivativeAt,r=[];function i(t,s,e){var a=t.cpx2,l=t.cpy2;return a===null||l===null?[(e?o:p)(t.x1,t.cpx1,t.cpx2,t.x2,s),(e?o:p)(t.y1,t.cpy1,t.cpy2,t.y2,s)]:[(e?c:m)(t.x1,t.cpx1,t.x2,s),(e?c:m)(t.y1,t.cpy1,t.y2,s)]}var n=_.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(s,e){var a=e.x1,l=e.y1,u=e.x2,h=e.y2,f=e.cpx1,g=e.cpy1,v=e.cpx2,y=e.cpy2,E=e.percent;if(E===0)return;s.moveTo(a,l),v==null||y==null?(E<1&&(A(a,f,u,E,r),f=r[1],u=r[2],A(l,g,h,E,r),g=r[1],h=r[2]),s.quadraticCurveTo(f,g,u,h)):(E<1&&(b(a,f,v,u,E,r),f=r[1],v=r[2],u=r[3],b(l,g,y,h,E,r),g=r[1],y=r[2],h=r[3]),s.bezierCurveTo(f,g,v,y,u,h))},pointAt:function(s){return i(this.shape,s,!1)},tangentAt:function(s){var e=i(this.shape,s,!0);return x.normalize(e,e)}});H.exports=n},rHrb:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.CopyToClipboard=void 0;var _=C(d("q1tI")),x=C(d("+QRC"));function C(h){return h&&h.__esModule?h:{default:h}}function A(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(g){return typeof g}:A=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},A(h)}function b(h,f){var g=Object.keys(h);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(h);f&&(v=v.filter(function(y){return Object.getOwnPropertyDescriptor(h,y).enumerable})),g.push.apply(g,v)}return g}function m(h){for(var f=1;f<arguments.length;f++){var g=arguments[f]!=null?arguments[f]:{};f%2?b(g,!0).forEach(function(v){l(h,v,g[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(g)):b(g).forEach(function(v){Object.defineProperty(h,v,Object.getOwnPropertyDescriptor(g,v))})}return h}function p(h,f){if(h==null)return{};var g=c(h,f),v,y;if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(h);for(y=0;y<E.length;y++){if(v=E[y],f.indexOf(v)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(h,v))continue;g[v]=h[v]}}return g}function c(h,f){if(h==null)return{};var g={},v=Object.keys(h),y,E;for(E=0;E<v.length;E++){if(y=v[E],f.indexOf(y)>=0)continue;g[y]=h[y]}return g}function o(h,f){if(!(h instanceof f))throw new TypeError("Cannot call a class as a function")}function r(h,f){for(var g=0;g<f.length;g++){var v=f[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(h,v.key,v)}}function i(h,f,g){return f&&r(h.prototype,f),g&&r(h,g),h}function n(h,f){return f&&(A(f)==="object"||typeof f=="function")?f:s(h)}function t(h){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(g){return g.__proto__||Object.getPrototypeOf(g)},t(h)}function s(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function e(h,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(f&&f.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),f&&a(h,f)}function a(h,f){return a=Object.setPrototypeOf||function(v,y){return v.__proto__=y,v},a(h,f)}function l(h,f,g){return f in h?Object.defineProperty(h,f,{value:g,enumerable:!0,configurable:!0,writable:!0}):h[f]=g,h}var u=function(h){e(f,h);function f(){var g,v;o(this,f);for(var y=arguments.length,E=new Array(y),T=0;T<y;T++)E[T]=arguments[T];return v=n(this,(g=t(f)).call.apply(g,[this].concat(E))),l(s(v),"onClick",function(w){var S=v.props,I=S.text,L=S.onCopy,O=S.children,N=S.options,R=_.default.Children.only(O),D=(0,x.default)(I,N);L&&L(I,D),R&&R.props&&typeof R.props.onClick=="function"&&R.props.onClick(w)}),v}return i(f,[{key:"render",value:function(){var v=this.props,y=v.text,E=v.onCopy,T=v.options,w=v.children,S=p(v,["text","onCopy","options","children"]),I=_.default.Children.only(w);return _.default.cloneElement(I,m({},S,{onClick:this.onClick}))}}]),f}(_.default.PureComponent);k.CopyToClipboard=u,l(u,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="ReloadOutlined";var p=k.a=x.forwardRef(m)},rUJ1:function(H,k){var d=/[&<>"']/,_=/[&<>"']/g,x=/[<>"']|&(?!#?\w+;)/,C=/[<>"']|&(?!#?\w+;)/g,A={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},b=function(w){return A[w]};function m(T,w){if(w){if(d.test(T))return T.replace(_,b)}else if(x.test(T))return T.replace(C,b);return T}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function c(T){return T.replace(p,function(w,S){return S=S.toLowerCase(),S==="colon"?":":S.charAt(0)==="#"?S.charAt(1)==="x"?String.fromCharCode(parseInt(S.substring(2),16)):String.fromCharCode(+S.substring(1)):""})}var o=/(^|[^\[])\^/g;function r(T,w){T=T.source||T,w=w||"";var S={replace:function(L,O){return O=O.source||O,O=O.replace(o,"$1"),T=T.replace(L,O),S},getRegex:function(){return new RegExp(T,w)}};return S}var i=/[^\w:]/g,n=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function t(T,w,S){if(T){var I;try{I=decodeURIComponent(c(S)).replace(i,"").toLowerCase()}catch(L){return null}if(I.indexOf("javascript:")===0||I.indexOf("vbscript:")===0||I.indexOf("data:")===0)return null}w&&!n.test(S)&&(S=u(w,S));try{S=encodeURI(S).replace(/%25/g,"%")}catch(L){return null}return S}var s={},e=/^[^:]+:\/*[^/]*$/,a=/^([^:]+:)[\s\S]*$/,l=/^([^:]+:\/*[^/]*)[\s\S]*$/;function u(T,w){s[" "+T]||(e.test(T)?s[" "+T]=T+"/":s[" "+T]=v(T,"/",!0)),T=s[" "+T];var S=T.indexOf(":")===-1;return w.substring(0,2)==="//"?S?w:T.replace(a,"$1")+w:w.charAt(0)==="/"?S?w:T.replace(l,"$1")+w:T+w}var h={exec:function(){}};function f(T){for(var w=1,S,I;w<arguments.length;w++){S=arguments[w];for(I in S)Object.prototype.hasOwnProperty.call(S,I)&&(T[I]=S[I])}return T}function g(T,w){var S=T.replace(/\|/g,function(O,N,R){for(var D=!1,B=N;--B>=0&&R[B]==="\\";)D=!D;return D?"|":" |"}),I=S.split(/ \|/),L=0;if(I.length>w)I.splice(w);else for(;I.length<w;)I.push("");for(;L<I.length;L++)I[L]=I[L].trim().replace(/\\\|/g,"|");return I}function v(T,w,S){var I=T.length;if(I===0)return"";for(var L=0;L<I;){var O=T.charAt(I-L-1);if(O===w&&!S)L++;else if(O!==w&&S)L++;else break}return T.substr(0,I-L)}function y(T,w){if(T.indexOf(w[1])===-1)return-1;for(var S=T.length,I=0,L=0;L<S;L++)if(T[L]==="\\")L++;else if(T[L]===w[0])I++;else if(T[L]===w[1]&&(I--,I<0))return L;return-1}function E(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")}H.exports={escape:m,unescape:c,edit:r,cleanUrl:t,resolveUrl:u,noopTest:h,merge:f,splitCells:g,rtrim:v,findClosingBracket:y,checkSanitizeDeprecation:E}},rdUC:function(H,k,d){var _=d("MFOe"),x=_.Global;H.exports={name:"localStorage",read:A,write:b,each:m,remove:p,clearAll:c};function C(){return x.localStorage}function A(o){return C().getItem(o)}function b(o,r){return C().setItem(o,r)}function m(o){for(var r=C().length-1;r>=0;r--){var i=C().key(r);o(A(i),i)}}function p(o){return C().removeItem(o)}function c(){return C().clear()}},rdor:function(H,k,d){var _=d("lOQZ"),x=_.circularLayout;function C(A){A.eachSeriesByType("graph",function(b){b.get("layout")==="circular"&&x(b,"symbolSize")})}H.exports=C},rfSb:function(H,k,d){var _=d("T4UG"),x=d("sdST"),C=d("L0Ub"),A=C.getDimensionTypeByAxis,b=d("YXkt"),m=d("bYtY"),p=d("4NO4"),c=p.groupData,o=d("7aKB"),r=o.encodeHTML,i=d("xKMd"),n=2,t=_.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){t.superApply(this,"init",arguments),this.legendVisualProvider=new i(m.bind(this.getData,this),m.bind(this.getRawData,this))},fixData:function(e){var a=e.length,l=c(e,function(R){return R[2]}),u=[];l.buckets.each(function(R,D){u.push({name:D,dataList:R})});for(var h=u.length,f=-1,g=-1,v=0;v<h;++v){var y=u[v].dataList.length;y>f&&(f=y,g=v)}for(var E=0;E<h;++E){if(E===g)continue;for(var T=u[E].name,w=0;w<f;++w){for(var S=u[g].dataList[w][0],I=u[E].dataList.length,L=-1,O=0;O<I;++O){var N=u[E].dataList[O][0];if(N===S){L=O;break}}L===-1&&(e[a]=[],e[a][0]=S,e[a][1]=0,e[a][2]=T,a++)}}return e},getInitialData:function(e,a){for(var l=a.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],u=l.get("type"),h=m.filter(e.data,function(S){return S[2]!==void 0}),f=this.fixData(h||[]),g=[],v=this.nameMap=m.createHashMap(),y=0,E=0;E<f.length;++E)g.push(f[E][n]),v.get(f[E][n])||(v.set(f[E][n],y),y++);var T=x(f,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:A(u)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),w=new b(T,this);return w.initData(f),w},getLayerSeries:function(){for(var e=this.getData(),a=e.count(),l=[],u=0;u<a;++u)l[u]=u;var h=e.mapDimension("single"),f=c(l,function(v){return e.get("name",v)}),g=[];return f.buckets.each(function(v,y){v.sort(function(E,T){return e.get(h,E)-e.get(h,T)}),g.push({name:y,indices:v})}),g},getAxisTooltipData:function(e,a,l){m.isArray(e)||(e=e?[e]:[]);for(var u=this.getData(),h=this.getLayerSeries(),f=[],g=h.length,v,y=0;y<g;++y){for(var E=Number.MAX_VALUE,T=-1,w=h[y].indices.length,S=0;S<w;++S){var I=u.get(e[0],h[y].indices[S]),L=Math.abs(I-a);L<=E&&(v=I,E=L,T=h[y].indices[S])}f.push(T)}return{dataIndices:f,nestestValue:v}},formatTooltip:function(e){var a=this.getData(),l=a.getName(e),u=a.get(a.mapDimension("value"),e);return(isNaN(u)||u==null)&&(u="-"),r(l+" : "+u)},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}}}}),s=t;H.exports=s},rkZ5:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("ProS"),A=d("c8qY"),b=d("D9ME"),m=d("fls0"),p=d("RSch"),c=d("akwb"),o=d("o40c"),r=d("ZYIC"),i=d("sK/D"),n=i.createClipPath,t=C.extendChartView({type:"lines",init:function(){},render:function(s,e,a){var l=s.getData(),u=this._updateLineDraw(l,s),h=s.get("zlevel"),f=s.get("effect.trailLength"),g=a.getZr(),v=g.painter.getType()==="svg";v||g.painter.getLayer(h).clear(!0),this._lastZlevel!=null&&!v&&g.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(s)&&f&&(v||g.configLayer(h,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(f/10+.9,1),0)})),u.updateData(l);var y=s.get("clip",!0)&&n(s.coordinateSystem,!1,s);y?this.group.setClipPath(y):this.group.removeClipPath(),this._lastZlevel=h,this._finished=!0},incrementalPrepareRender:function(s,e,a){var l=s.getData(),u=this._updateLineDraw(l,s);u.incrementalPrepareUpdate(l),this._clearLayer(a),this._finished=!1},incrementalRender:function(s,e,a){this._lineDraw.incrementalUpdate(s,e.getData()),this._finished=s.end===e.getData().count()},updateTransform:function(s,e,a){var l=s.getData(),u=s.pipelineContext;if(!this._finished||u.large||u.progressiveRender)return{update:!0};var h=r.reset(s);h.progress&&h.progress({start:0,end:l.count()},l),this._lineDraw.updateLayout(),this._clearLayer(a)},_updateLineDraw:function(s,e){var a=this._lineDraw,l=this._showEffect(e),u=!!e.get("polyline"),h=e.pipelineContext,f=h.large;return(!a||l!==this._hasEffet||u!==this._isPolyline||f!==this._isLargeDraw)&&(a&&a.remove(),a=this._lineDraw=f?new o:new A(u?l?c:p:l?b:m),this._hasEffet=l,this._isPolyline=u,this._isLargeDraw=f,this.group.removeAll()),this.group.add(a.group),a},_showEffect:function(s){return!!s.get("effect.show")},_clearLayer:function(s){var e=s.getZr(),a=e.painter.getType()==="svg";!a&&this._lastZlevel!=null&&e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(s,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});H.exports=t},rmlV:function(H,k,d){var _=d("y+Vt"),x=_.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(A,b){var m=.5522848,p=b.cx,c=b.cy,o=b.rx,r=b.ry,i=o*m,n=r*m;A.moveTo(p-o,c),A.bezierCurveTo(p-o,c-n,p-i,c-r,p,c-r),A.bezierCurveTo(p+i,c-r,p+o,c-n,p+o,c),A.bezierCurveTo(p+o,c+n,p+i,c+r,p,c+r),A.bezierCurveTo(p-i,c+r,p-o,c+n,p-o,c),A.closePath()}});H.exports=x},rnVJ:function(H,k,d){var _=d("bYtY"),x=["rect","polygon","keep","clear"];function C(b,m){var p=b&&b.brush;if(_.isArray(p)||(p=p?[p]:[]),!p.length)return;var c=[];_.each(p,function(t){var s=t.hasOwnProperty("toolbox")?t.toolbox:[];s instanceof Array&&(c=c.concat(s))});var o=b&&b.toolbox;_.isArray(o)&&(o=o[0]),o||(o={feature:{}},b.toolbox=[o]);var r=o.feature||(o.feature={}),i=r.brush||(r.brush={}),n=i.type||(i.type=[]);n.push.apply(n,c),A(n),m&&!n.length&&n.push.apply(n,x)}function A(b){var m={};_.each(b,function(p){m[p]=1}),b.length=0,_.each(m,function(p,c){b.push(c)})}H.exports=C},rwxt:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=d("GdRQ");function x(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")}function C(p,c){for(var o=0;o<c.length;o++){var r=c[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(p,r.key,r)}}function A(p,c,o){return c&&C(p.prototype,c),o&&C(p,o),p}var b=!_.supportsCursorURIs||_.isTouchDevice,m=function(){function p(){x(this,p),this._target=null,this._canvas=document.createElement("canvas"),b&&(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 A(p,[{key:"attach",value:function(o){if(this._target&&this.detach(),this._target=o,b){document.body.appendChild(this._canvas);var r={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,r),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,r),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,r),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,r)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(b){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,r,i,n,t){if(n===0||t===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-r,this._position.y=this._position.y+this._hotSpot.y-i,this._hotSpot.x=r,this._hotSpot.y=i;var s=this._canvas.getContext("2d");this._canvas.width=n,this._canvas.height=t;var e;try{e=new ImageData(new Uint8ClampedArray(o),n,t)}catch(l){e=s.createImageData(n,t),e.data.set(new Uint8ClampedArray(o))}if(s.clearRect(0,0,n,t),s.putImageData(e,0,0),b)this._updatePosition();else{var a=this._canvas.toDataURL();this._target.style.cursor="url("+a+")"+r+" "+i+", 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,r){if(!b)return;window.visualViewport?(this._position.x=o+window.visualViewport.offsetLeft,this._position.y=r+window.visualViewport.offsetTop):(this._position.x=o,this._position.y=r),this._updatePosition();var i=document.elementFromPoint(o,r);this._updateVisibility(i)}},{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 r=this,i=document.elementFromPoint(o.clientX,o.clientY);this._updateVisibility(i),this._captureIsActive()&&window.setTimeout(function(){if(!r._target)return;i=document.elementFromPoint(o.clientX,o.clientY),r._updateVisibility(i)},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)}}]),p}();k.default=m},rySg:function(H,k,d){d("SMc4"),d("8nMs")},s2MQ:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},s2lz:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("IwbS"),A=d("gPAo"),b=d("VaxA"),m=d("9hCq"),p=d("SgGq"),c=d("mFDi"),o=d("Fofx"),r=d("5s0K"),i=d("KCsZ"),n=d("7aKB"),t=n.windowOpen,s=x.bind,e=C.Group,a=C.Rect,l=x.each,u=3,h=["label"],f=["emphasis","label"],g=["upperLabel"],v=["emphasis","upperLabel"],y=10,E=1,T=2,w=i([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),S=function(R){var D=w(R);return D.stroke=D.fill=D.lineWidth=null,D},I=_.extendChartView({type:"treemap",init:function(R,D){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(R,D,B,M){var U=D.findComponents({mainType:"series",subType:"treemap",query:M});if(x.indexOf(U,R)<0)return;this.seriesModel=R,this.api=B,this.ecModel=D;var F=["treemapZoomToNode","treemapRootToNode"],j=b.retrieveTargetInfo(M,F,R),W=M&&M.type,V=R.layoutInfo,z=!this._oldTree,Y=this._storage,J=W==="treemapRootToNode"&&j&&Y?{rootNodeGroup:Y.nodeGroup[j.node.getRawIndex()],direction:M.direction}:null,ie=this._giveContainerGroup(V),Z=this._doRender(ie,R,J);!z&&(!W||W==="treemapZoomToNode"||W==="treemapRootToNode")?this._doAnimation(ie,Z,R,J):Z.renderFinally(),this._resetController(B),this._renderBreadcrumb(R,B,j)},_giveContainerGroup:function(R){var D=this._containerGroup;return D||(D=this._containerGroup=new e,this._initEvents(D),this.group.add(D)),D.attr("position",[R.x,R.y]),D},_doRender:function(R,D,B){var M=D.getData().tree,U=this._oldTree,F=L(),j=L(),W=this._storage,V=[],z=x.curry(O,D,j,W,B,F,V);J(M.root?[M.root]:[],U&&U.root?[U.root]:[],R,M===U||!U,0);var Y=ie(W);return this._oldTree=M,this._storage=j,{lastsForAnimation:F,willDeleteEls:Y,renderFinally:Z};function J(oe,ge,pe,De,ce){De?(ge=oe,l(oe,function($,ze){!$.isRemoved()&&se(ze,ze)})):new A(ge,oe,Oe,Oe).add(se).update(se).remove(x.curry(se,null)).execute();function Oe($){return $.getId()}function se($,ze){var re=$!=null?oe[$]:null,X=ze!=null?ge[ze]:null,G=z(re,X,pe,ce);G&&J(re&&re.viewChildren||[],X&&X.viewChildren||[],G,De,ce+1)}}function ie(oe){var ge=L();return oe&&l(oe,function(pe,De){var ce=ge[De];l(pe,function(Oe){Oe&&(ce.push(Oe),Oe.__tmWillDelete=1)})}),ge}function Z(){l(Y,function(oe){l(oe,function(ge){ge.parent&&ge.parent.remove(ge)})}),l(V,function(oe){oe.invisible=!0,oe.dirty()})}},_doAnimation:function(R,D,B,M){if(!B.get("animation"))return;var U=B.get("animationDurationUpdate"),F=B.get("animationEasing"),j=r.createWrap();l(D.willDeleteEls,function(W,V){l(W,function(z,Y){if(z.invisible)return;var J=z.parent,ie;if(M&&M.direction==="drillDown")ie=J===M.rootNodeGroup?{shape:{x:0,y:0,width:J.__tmNodeWidth,height:J.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var Z=0,oe=0;J.__tmWillDelete||(Z=J.__tmNodeWidth/2,oe=J.__tmNodeHeight/2),ie=V==="nodeGroup"?{position:[Z,oe],style:{opacity:0}}:{shape:{x:Z,y:oe,width:0,height:0},style:{opacity:0}}}ie&&j.add(z,ie,U,F)})}),l(this._storage,function(W,V){l(W,function(z,Y){var J=D.lastsForAnimation[V][Y],ie={};if(!J)return;V==="nodeGroup"?J.old&&(ie.position=z.position.slice(),z.attr("position",J.old)):(J.old&&(ie.shape=x.extend({},z.shape),z.setShape(J.old)),J.fadein?(z.setStyle("opacity",0),ie.style={opacity:1}):z.style.opacity!==1&&(ie.style={opacity:1})),j.add(z,ie,U,F)})},this),this._state="animating",j.done(s(function(){this._state="ready",D.renderFinally()},this)).start()},_resetController:function(R){var D=this._controller;D||(D=this._controller=new p(R.getZr()),D.enable(this.seriesModel.get("roam")),D.on("pan",s(this._onPan,this)),D.on("zoom",s(this._onZoom,this)));var B=new c(0,0,R.getWidth(),R.getHeight());D.setPointerChecker(function(M,U,F){return B.contain(U,F)})},_clearController:function(){var R=this._controller;R&&(R.dispose(),R=null)},_onPan:function(R){if(this._state!=="animating"&&(Math.abs(R.dx)>u||Math.abs(R.dy)>u)){var D=this.seriesModel.getData().tree.root;if(!D)return;var B=D.getLayout();if(!B)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:B.x+R.dx,y:B.y+R.dy,width:B.width,height:B.height}})}},_onZoom:function(R){var D=R.originX,B=R.originY;if(this._state!=="animating"){var M=this.seriesModel.getData().tree.root;if(!M)return;var U=M.getLayout();if(!U)return;var F=new c(U.x,U.y,U.width,U.height),j=this.seriesModel.layoutInfo;D-=j.x,B-=j.y;var W=o.create();o.translate(W,W,[-D,-B]),o.scale(W,W,[R.scale,R.scale]),o.translate(W,W,[D,B]),F.applyTransform(W),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:F.x,y:F.y,width:F.width,height:F.height}})}},_initEvents:function(R){R.on("click",function(D){if(this._state!=="ready")return;var B=this.seriesModel.get("nodeClick",!0);if(!B)return;var M=this.findTarget(D.offsetX,D.offsetY);if(!M)return;var U=M.node;if(U.getLayout().isLeafRoot)this._rootToNode(M);else if(B==="zoomToNode")this._zoomToNode(M);else if(B==="link"){var F=U.hostTree.data.getItemModel(U.dataIndex),j=F.get("link",!0),W=F.get("target",!0)||"blank";j&&t(j,W)}},this)},_renderBreadcrumb:function(R,D,B){B||(B=R.get("leafDepth",!0)!=null?{node:R.getViewRoot()}:this.findTarget(D.getWidth()/2,D.getHeight()/2),B||(B={node:R.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new m(this.group))).render(R,D,B.node,s(M,this));function M(U){this._state!=="animating"&&(b.aboveViewRoot(R.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(R){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:R.node})},_rootToNode:function(R){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:R.node})},findTarget:function(R,D){var B,M=this.seriesModel.getViewRoot();return M.eachNode({attr:"viewChildren",order:"preorder"},function(U){var F=this._storage.background[U.getRawIndex()];if(F){var j=F.transformCoordToLocal(R,D),W=F.shape;if(W.x<=j[0]&&j[0]<=W.x+W.width&&W.y<=j[1]&&j[1]<=W.y+W.height)B={node:U,offsetX:j[0],offsetY:j[1]};else return!1}},this),B}});function L(){return{nodeGroup:[],background:[],content:[]}}function O(R,D,B,M,U,F,j,W,V,z){if(!j)return;var Y=j.getLayout(),J=R.getData();if(J.setItemGraphicEl(j.dataIndex,null),!Y||!Y.isInView)return;var ie=Y.width,Z=Y.height,oe=Y.borderWidth,ge=Y.invisible,pe=j.getRawIndex(),De=W&&W.getRawIndex(),ce=j.viewChildren,Oe=Y.upperHeight,se=ce&&ce.length,$=j.getModel("itemStyle"),ze=j.getModel("emphasis.itemStyle"),re=fe("nodeGroup",e);if(!re)return;if(V.add(re),re.attr("position",[Y.x||0,Y.y||0]),re.__tmNodeWidth=ie,re.__tmNodeHeight=Z,Y.isAboveViewRoot)return re;var X=j.getModel(),G=fe("background",a,z,E);if(G&&ve(re,G,se&&Y.upperLabelHeight),se)C.isHighDownDispatcher(re)&&C.setAsHighDownDispatcher(re,!1),G&&(C.setAsHighDownDispatcher(G,!0),J.setItemGraphicEl(j.dataIndex,G));else{var Q=fe("content",a,z,T);Q&&de(re,Q),G&&C.isHighDownDispatcher(G)&&C.setAsHighDownDispatcher(G,!1),C.setAsHighDownDispatcher(re,!0),J.setItemGraphicEl(j.dataIndex,re)}return re;function ve(nt,$e,Le){if($e.dataIndex=j.dataIndex,$e.seriesIndex=R.seriesIndex,$e.setShape({x:0,y:0,width:ie,height:Z}),ge)Ce($e);else{$e.invisible=!1;var pt=j.getVisual("borderColor",!0),Qe=ze.get("borderColor"),gt=S($);gt.fill=pt;var wt=w(ze);if(wt.fill=Qe,Le){var Et=ie-2*oe;we(gt,wt,pt,Et,Oe,{x:oe,y:0,width:Et,height:Oe})}else gt.text=wt.text=null;$e.setStyle(gt),C.setElementHoverStyle($e,wt)}nt.add($e)}function de(nt,$e){$e.dataIndex=j.dataIndex,$e.seriesIndex=R.seriesIndex;var Le=Math.max(ie-2*oe,0),pt=Math.max(Z-2*oe,0);if($e.culling=!0,$e.setShape({x:oe,y:oe,width:Le,height:pt}),ge)Ce($e);else{$e.invisible=!1;var Qe=j.getVisual("color",!0),gt=S($);gt.fill=Qe;var wt=w(ze);we(gt,wt,Qe,Le,pt),$e.setStyle(gt),C.setElementHoverStyle($e,wt)}nt.add($e)}function Ce(nt){!nt.invisible&&F.push(nt)}function we(nt,$e,Le,pt,Qe,gt){var wt=X.get("name"),Et=X.getModel(gt?g:h),_t=X.getModel(gt?v:f),Ht=Et.getShallow("show");C.setLabelStyle(nt,$e,Et,_t,{defaultText:Ht?wt:null,autoColor:Le,isRectText:!0,labelFetcher:R,labelDataIndex:j.dataIndex,labelProp:gt?"upperLabel":"label"}),le(nt,gt,Y),le($e,gt,Y),gt&&(nt.textRect=x.clone(gt)),nt.truncate=Ht&&Et.get("ellipsis")?{outerWidth:pt,outerHeight:Qe,minChar:2}:null}function le(nt,$e,Le){var pt=nt.text;if(!$e&&Le.isLeafRoot&&pt!=null){var Qe=R.get("drillDownIcon",!0);nt.text=Qe?Qe+" "+pt:pt}}function fe(nt,$e,Le,pt){var Qe=De!=null&&B[nt][De],gt=U[nt];return Qe?(B[nt][De]=null,xe(gt,Qe,nt)):ge||(Qe=new $e({z:N(Le,pt)}),Qe.__tmDepth=Le,Qe.__tmStorageName=nt,We(gt,Qe,nt)),D[nt][pe]=Qe}function xe(nt,$e,Le){var pt=nt[pe]={};pt.old=Le==="nodeGroup"?$e.position.slice():x.extend({},$e.shape)}function We(nt,$e,Le){var pt=nt[pe]={},Qe=j.parentNode;if(Qe&&(!M||M.direction==="drillDown")){var gt=0,wt=0,Et=U.background[Qe.getRawIndex()];!M&&Et&&Et.old&&(gt=Et.old.width,wt=Et.old.height),pt.old=Le==="nodeGroup"?[0,wt]:{x:gt,y:wt,width:0,height:0}}pt.fadein=Le!=="nodeGroup"}}function N(R,D){var B=R*y+D;return(B-1)/B}H.exports=I},sAZ8:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("+rIm"),A=d("/IIm"),b=d("9KIM"),m=d("IwbS"),p=["axisLine","axisTickLabel","axisName"],c=_.extendComponentView({type:"parallelAxis",init:function(t,s){c.superApply(this,"init",arguments),(this._brushController=new A(s.getZr())).on("brush",x.bind(this._onBrush,this))},render:function(t,s,e,a){if(o(t,s,a))return;this.axisModel=t,this.api=e,this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new m.Group,this.group.add(this._axisGroup),!t.get("show"))return;var u=i(t,s),h=u.coordinateSystem,f=t.getAreaSelectStyle(),g=f.width,v=t.axis.dim,y=h.getAxisLayout(v),E=x.extend({strokeContainThreshold:g},y),T=new C(t,E);x.each(p,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(E,f,t,u,g,e);var w=a&&a.animation===!1?null:t;m.groupTransition(l,this._axisGroup,w)},_refreshBrushController:function(t,s,e,a,l,u){var h=e.axis.getExtent(),f=h[1]-h[0],g=Math.min(30,Math.abs(f)*.1),v=m.BoundingRect.create({x:h[0],y:-l/2,width:f,height:l});v.x-=g,v.width+=2*g,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:b.makeRectPanelClipPath(v),isTargetByCursor:b.makeRectIsTargetByCursor(v,u,a),getLinearBrushOtherExtent:b.makeLinearBrushOtherExtent(v,0)}]).enableBrush({brushType:"lineX",brushStyle:s,removeOnClick:!0}).updateCovers(r(e))},_onBrush:function(t,s){var e=this.axisModel,a=e.axis,l=x.map(t,function(u){return[a.coordToData(u.range[0],!0),a.coordToData(u.range[1],!0)]});(!e.option.realtime===s.isEnd||s.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:e.id,intervals:l})},dispose:function(){this._brushController.dispose()}});function o(t,s,e){return e&&e.type==="axisAreaSelect"&&s.findComponents({mainType:"parallelAxis",query:e})[0]===t}function r(t){var s=t.axis;return x.map(t.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[s.dataToCoord(e[0],!0),s.dataToCoord(e[1],!0)]}})}function i(t,s){return s.getComponent("parallel",t.get("parallelIndex"))}var n=c;H.exports=n},sE09:function(H,k,d){},sGsY:function(H,k,d){"use strict";var _=d("lSNA"),x=d.n(_),C=d("pVnL"),A=d.n(C),b=d("q1tI"),m=d("TSYQ"),p=d.n(m),c=d("H84U"),o=d("B6l+"),r=d.n(o),i=function(j){var W=j.value,V=j.formatter,z=j.precision,Y=j.decimalSeparator,J=j.groupSeparator,ie=J===void 0?"":J,Z=j.prefixCls,oe;if(typeof V=="function")oe=V(W);else{var ge=String(W),pe=ge.match(/^(-?)(\d*)(\.(\d+))?$/);if(!pe||ge==="-")oe=ge;else{var De=pe[1],ce=pe[2]||"0",Oe=pe[4]||"";ce=ce.replace(/\B(?=(\d{3})+(?!\d))/g,ie),typeof z=="number"&&(Oe=r()(Oe,z,"0").slice(0,z)),Oe&&(Oe="".concat(Y).concat(Oe)),oe=[b.createElement("span",{key:"int",className:"".concat(Z,"-content-value-int")},De,ce),Oe&&b.createElement("span",{key:"decimal",className:"".concat(Z,"-content-value-decimal")},Oe)]}}return b.createElement("span",{className:"".concat(Z,"-content-value")},oe)},n=i,t=function(j){var W=j.prefixCls,V=j.className,z=j.style,Y=j.valueStyle,J=j.value,ie=J===void 0?0:J,Z=j.title,oe=j.valueRender,ge=j.prefix,pe=j.suffix,De=j.direction,ce=j.onMouseEnter,Oe=j.onMouseLeave,se=b.createElement(n,A()({},j,{value:ie})),$=p()(W,V,x()({},"".concat(W,"-rtl"),De==="rtl"));return b.createElement("div",{className:$,style:z,onMouseEnter:ce,onMouseLeave:Oe},Z&&b.createElement("div",{className:"".concat(W,"-title")},Z),b.createElement("div",{style:Y,className:"".concat(W,"-content")},ge&&b.createElement("span",{className:"".concat(W,"-content-prefix")},ge),oe?oe(se):se,pe&&b.createElement("span",{className:"".concat(W,"-content-suffix")},pe)))};t.defaultProps={decimalSeparator:".",groupSeparator:","};var s=Object(c.c)({prefixCls:"statistic"})(t),e=s,a=d("lwsE"),l=d.n(a),u=d("W8MJ"),h=d.n(u),f=d("7W2i"),g=d.n(f),v=d("LQ03"),y=d.n(v),E=d("J4zp"),T=d.n(E),w=d("QQZ/"),S=d.n(w),I=[["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(F,j){var W=F,V=/\[[^\]]*]/g,z=(j.match(V)||[]).map(function(Z){return Z.slice(1,-1)}),Y=j.replace(V,"[]"),J=I.reduce(function(Z,oe){var ge=T()(oe,2),pe=ge[0],De=ge[1];if(Z.indexOf(pe)!==-1){var ce=Math.floor(W/De);return W-=ce*De,Z.replace(new RegExp("".concat(pe,"+"),"g"),function(Oe){var se=Oe.length;return S()(ce.toString(),se,"0")})}return Z},Y),ie=0;return J.replace(V,function(){var Z=z[ie];return ie+=1,Z})}function O(F,j){var W=j.format,V=W===void 0?"":W,z=new Date(F).getTime(),Y=Date.now(),J=Math.max(z-Y,0);return L(J,V)}var N=d("0n0R"),R=1e3/30;function D(F){return new Date(F).getTime()}var B=function(F){g()(W,F);var j=y()(W);function W(){var V;return l()(this,W),V=j.apply(this,arguments),V.syncTimer=function(){var z=V.props.value,Y=D(z);Y>=Date.now()?V.startTimer():V.stopTimer()},V.startTimer=function(){if(V.countdownId)return;V.countdownId=window.setInterval(function(){V.forceUpdate()},R)},V.stopTimer=function(){var z=V.props,Y=z.onFinish,J=z.value;if(V.countdownId){clearInterval(V.countdownId),V.countdownId=void 0;var ie=D(J);Y&&ie<Date.now()&&Y()}},V.formatCountdown=function(z,Y){var J=V.props.format;return O(z,A()(A()({},Y),{format:J}))},V.valueRender=function(z){return Object(N.a)(z,{title:void 0})},V}return h()(W,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return b.createElement(e,A()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),W}(b.Component);B.defaultProps={format:"HH:mm:ss"};var M=B;e.Countdown=M;var U=k.a=e},"sK/D":function(H,k,d){var _=d("IwbS"),x=d("OELB"),C=x.round;function A(p,c,o){var r=p.getArea(),i=p.getBaseAxis().isHorizontal(),n=r.x,t=r.y,s=r.width,e=r.height,a=o.get("lineStyle.width")||2;n-=a/2,t-=a/2,s+=a,e+=a,n=Math.floor(n),s=Math.round(s);var l=new _.Rect({shape:{x:n,y:t,width:s,height:e}});return c&&(l.shape[i?"width":"height"]=0,_.initProps(l,{shape:{width:s,height:e}},o)),l}function b(p,c,o){var r=p.getArea(),i=new _.Sector({shape:{cx:C(p.cx,1),cy:C(p.cy,1),r0:C(r.r0,1),r:C(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return c&&(i.shape.endAngle=r.startAngle,_.initProps(i,{shape:{endAngle:r.endAngle}},o)),i}function m(p,c,o){if(p){if(p.type==="polar")return b(p,c,o);if(p.type==="cartesian2d")return A(p,c,o)}else return null;return null}k.createGridClipPath=A,k.createPolarClipPath=b,k.createClipPath=m},sKgW:function(H,k){var d=9007199254740991,_=Math.floor;function x(C,A){var b="";if(!C||A<1||A>d)return b;do A%2&&(b+=C),A=_(A/2),A&&(C+=C);while(A);return b}H.exports=x},sPJy:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("AOa7"),A=d.n(C),b=d("lUTK"),m=d("qVdP")},sPtV:function(H,k,d){"use strict";d.d(k,"a",function(){return A});var _=d("q1tI"),x=d.n(_),C=d("hkKa");function A(b){var m=_.useRef(b),p=Object(C.a)();return[function(){return m.current},function(c){m.current=c,p()}]}},sRwP:function(H,k,d){d("jsU+"),d("2548"),d("Tp9H"),d("06DH"),d("dnwI"),d("fE02"),d("33Ds")},"sS/r":function(H,k,d){var _=d("4fz+"),x=d("iRjW"),C=d("Yl7c"),A=function(){this.group=new _,this.uid=x.getUID("viewComponent")};A.prototype={constructor:A,init:function(p,c){},render:function(p,c,o,r){},dispose:function(){},filterForExposedEvent:null};var b=A.prototype;b.updateView=b.updateLayout=b.updateVisual=function(p,c,o,r){},C.enableClassExtend(A),C.enableClassManagement(A,{registerWhenExtend:!0});var m=A;H.exports=m},"sW+o":function(H,k,d){var _=d("SrGk"),x=d("bYtY"),C=d("SUKs"),A=d("Qe9p");function b(p,c){_.call(this,p,c,["linearGradient","radialGradient"],"__gradient_in_use__")}x.inherits(b,_),b.prototype.addWithoutUpdate=function(p,c){if(c&&c.style){var o=this;x.each(["fill","stroke"],function(r){if(c.style[r]&&(c.style[r].type==="linear"||c.style[r].type==="radial")){var i=c.style[r],n=o.getDefs(!0),t;i._dom?(t=i._dom,n.contains(i._dom)||o.addDom(t)):t=o.add(i),o.markUsed(c);var s=t.getAttribute("id");p.setAttribute(r,"url(#"+s+")")}})}},b.prototype.add=function(p){var c;if(p.type==="linear")c=this.createElement("linearGradient");else if(p.type==="radial")c=this.createElement("radialGradient");else return C("Illegal gradient type."),null;return p.id=p.id||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-gradient-"+p.id),this.updateDom(p,c),this.addDom(c),c},b.prototype.update=function(p){var c=this;_.prototype.update.call(this,p,function(){var o=p.type,r=p._dom.tagName;o==="linear"&&r==="linearGradient"||o==="radial"&&r==="radialGradient"?c.updateDom(p,p._dom):(c.removeDom(p),c.add(p))})},b.prototype.updateDom=function(p,c){if(p.type==="linear")c.setAttribute("x1",p.x),c.setAttribute("y1",p.y),c.setAttribute("x2",p.x2),c.setAttribute("y2",p.y2);else if(p.type==="radial")c.setAttribute("cx",p.x),c.setAttribute("cy",p.y),c.setAttribute("r",p.r);else{C("Illegal gradient type.");return}p.global?c.setAttribute("gradientUnits","userSpaceOnUse"):c.setAttribute("gradientUnits","objectBoundingBox"),c.innerHTML="";for(var o=p.colorStops,r=0,i=o.length;r<i;++r){var n=this.createElement("stop");n.setAttribute("offset",o[r].offset*100+"%");var t=o[r].color;if(t.indexOf("rgba">-1)){var s=A.parse(t)[3],e=A.toHex(t);n.setAttribute("stop-color","#"+e),n.setAttribute("stop-opacity",s)}else n.setAttribute("stop-color",o[r].color);c.appendChild(n)}p._dom=c},b.prototype.markUsed=function(p){if(p.style){var c=p.style.fill;c&&c._dom&&_.prototype.markUsed.call(this,c._dom),c=p.style.stroke,c&&c._dom&&_.prototype.markUsed.call(this,c._dom)}};var m=b;H.exports=m},sboe:function(H,k,d){"use strict";d.d(k,"a",function(){return C});var _=d("q1tI"),x=d.n(_),C=_.createContext(null)},sdST:function(H,k,d){var _=d("hi0g");function x(C,A){return A=A||{},_(A.coordDimensions||[],C,{dimsDef:A.dimensionsDefine||C.dimensionsDefine,encodeDef:A.encodeDefine||C.encodeDefine,dimCount:A.dimensionsCount,encodeDefaulter:A.encodeDefaulter,generateCoord:A.generateCoord,generateCoordCount:A.generateCoordCount})}H.exports=x},sjKO:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=C;var _=30,x=12;function C(A,b){var m,p,c,o,r,i,n,t,s,e,a,l,u,h,f,g,v,y,E,T,w,S,I,L,O;m=A.state,p=A.next_in,L=A.input,c=p+(A.avail_in-5),o=A.next_out,O=A.output,r=o-(b-A.avail_out),i=o+(A.avail_out-257),n=m.dmax,t=m.wsize,s=m.whave,e=m.wnext,a=m.window,l=m.hold,u=m.bits,h=m.lencode,f=m.distcode,g=(1<<m.lenbits)-1,v=(1<<m.distbits)-1;e:do{u<15&&(l+=L[p++]<<u,u+=8,l+=L[p++]<<u,u+=8),y=h[l&g];t:for(;;){if(E=y>>>24,l>>>=E,u-=E,E=y>>>16&255,E===0)O[o++]=y&65535;else if(E&16){T=y&65535,E&=15,E&&(u<E&&(l+=L[p++]<<u,u+=8),T+=l&(1<<E)-1,l>>>=E,u-=E),u<15&&(l+=L[p++]<<u,u+=8,l+=L[p++]<<u,u+=8),y=f[l&v];r:for(;;){if(E=y>>>24,l>>>=E,u-=E,E=y>>>16&255,E&16){if(w=y&65535,E&=15,u<E&&(l+=L[p++]<<u,u+=8,u<E&&(l+=L[p++]<<u,u+=8)),w+=l&(1<<E)-1,w>n){A.msg="invalid distance too far back",m.mode=_;break e}if(l>>>=E,u-=E,E=o-r,w>E){if(E=w-E,E>s&&m.sane){A.msg="invalid distance too far back",m.mode=_;break e}if(S=0,I=a,e===0){if(S+=t-E,E<T){T-=E;do O[o++]=a[S++];while(--E);S=o-w,I=O}}else if(e<E){if(S+=t+e-E,E-=e,E<T){T-=E;do O[o++]=a[S++];while(--E);if(S=0,e<T){E=e,T-=E;do O[o++]=a[S++];while(--E);S=o-w,I=O}}}else if(S+=e-E,E<T){T-=E;do O[o++]=a[S++];while(--E);S=o-w,I=O}for(;T>2;)O[o++]=I[S++],O[o++]=I[S++],O[o++]=I[S++],T-=3;T&&(O[o++]=I[S++],T>1&&(O[o++]=I[S++]))}else{S=o-w;do O[o++]=O[S++],O[o++]=O[S++],O[o++]=O[S++],T-=3;while(T>2);T&&(O[o++]=O[S++],T>1&&(O[o++]=O[S++]))}}else if((E&64)===0){y=f[(y&65535)+(l&(1<<E)-1)];continue r}else{A.msg="invalid distance code",m.mode=_;break e}break}}else if((E&64)===0){y=h[(y&65535)+(l&(1<<E)-1)];continue t}else if(E&32){m.mode=x;break e}else{A.msg="invalid literal/length code",m.mode=_;break e}break}}while(p<c&&o<i);T=u>>3,p-=T,u-=T<<3,l&=(1<<u)-1,A.next_in=p,A.next_out=o,A.avail_in=p<c?5+(c-p):5-(p-c),A.avail_out=o<i?257+(i-o):257-(o-i),m.hold=l,m.bits=u;return}},szbU:function(H,k,d){var _=d("bYtY"),x=_.each;function C(b){var m=b&&b.visualMap;_.isArray(m)||(m=m?[m]:[]),x(m,function(p){if(!p)return;A(p,"splitList")&&!A(p,"pieces")&&(p.pieces=p.splitList,delete p.splitList);var c=p.pieces;c&&_.isArray(c)&&x(c,function(o){_.isObject(o)&&(A(o,"start")&&!A(o,"min")&&(o.min=o.start),A(o,"end")&&!A(o,"max")&&(o.max=o.end))})})}function A(b,m){return b&&b.hasOwnProperty&&b.hasOwnProperty(m)}H.exports=C},t23M:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("1OyB"),C=d("vuIU"),A=d("Ji7U"),b=d("LK+K"),m=d("q1tI"),p=d.n(m),c=d("m+aA"),o=d("Zm9Q"),r=d("Kwbf"),i=d("c+Xe"),n=d("bdgK"),t="rc-observer-key",s=function(e){Object(A.a)(l,e);var a=Object(b.a)(l);function l(){var u;return Object(x.a)(this,l),u=a.apply(this,arguments),u.resizeObserver=null,u.childNode=null,u.currentElement=null,u.state={width:0,height:0,offsetHeight:0,offsetWidth:0},u.onResize=function(h){var f=u.props.onResize,g=h[0].target,v=g.getBoundingClientRect(),y=v.width,E=v.height,T=g.offsetWidth,w=g.offsetHeight,S=Math.floor(y),I=Math.floor(E);if(u.state.width!==S||u.state.height!==I||u.state.offsetWidth!==T||u.state.offsetHeight!==w){var L={width:S,height:I,offsetWidth:T,offsetHeight:w};u.setState(L),f&&Promise.resolve().then(function(){f(Object(_.a)(Object(_.a)({},L),{},{offsetWidth:T,offsetHeight:w}))})}},u.setChildNode=function(h){u.childNode=h},u}return Object(C.a)(l,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var h=this.props.disabled;if(h){this.destroyObserver();return}var f=Object(c.a)(this.childNode||this),g=f!==this.currentElement;g&&(this.destroyObserver(),this.currentElement=f),!this.resizeObserver&&f&&(this.resizeObserver=new n.default(this.onResize),this.resizeObserver.observe(f))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var h=this.props.children,f=Object(o.a)(h);if(f.length>1)Object(r.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(f.length===0)return Object(r.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var g=f[0];if(m.isValidElement(g)&&Object(i.c)(g)){var v=g.ref;f[0]=m.cloneElement(g,{ref:Object(i.a)(v,this.setChildNode)})}return f.length===1?f[0]:f.map(function(y,E){return!m.isValidElement(y)||"key"in y&&y.key!==null?y:m.cloneElement(y,{key:"".concat(t,"-").concat(E)})})}}]),l}(m.Component);s.displayName="ResizeObserver",k.a=s},t3Fx:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=Object.assign||function(a){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(a[h]=u[h])}return a},x=function(){function a(l,u){for(var h=0;h<u.length;h++){var f=u[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(l,f.key,f)}}return function(l,u,h){return u&&a(l.prototype,u),h&&a(l,h),l}}(),C=d("q1tI"),A=i(C),b=d("17x9"),m=i(b),p=d("tkwv"),c=i(p),o=d("u3os"),r=d("kzFp");function i(a){return a&&a.__esModule?a:{default:a}}function n(a,l){if(!(a instanceof l))throw new TypeError("Cannot call a class as a function")}function t(a,l){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:a}function s(a,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);a.prototype=Object.create(l&&l.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(a,l):a.__proto__=l)}var e=function(a){s(l,a);function l(u){n(this,l);var h=t(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,u));return h.getEchartsInstance=function(){return h.echartsLib.getInstanceByDom(h.echartsElement)||h.echartsLib.init(h.echartsElement,h.props.theme,h.props.opts)},h.dispose=function(){if(h.echartsElement){try{(0,o.clear)(h.echartsElement)}catch(f){console.warn(f)}h.echartsLib.dispose(h.echartsElement)}},h.rerender=function(){var f=h.props,g=f.onEvents,v=f.onChartReady,y=h.renderEchartDom();h.bindEvents(y,g||{}),typeof v=="function"&&h.props.onChartReady(y),h.echartsElement&&(0,o.bind)(h.echartsElement,function(){try{y.resize()}catch(E){console.warn(E)}})},h.bindEvents=function(f,g){var v=function(T,w){typeof T=="string"&&typeof w=="function"&&f.on(T,function(S){w(S,f)})};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&v(y,g[y])},h.renderEchartDom=function(){var f=h.getEchartsInstance();return f.setOption(h.props.option,h.props.notMerge||!1,h.props.lazyUpdate||!1),h.props.showLoading?f.showLoading(h.props.loadingOption||null):f.hideLoading(),f},h.echartsLib=u.echarts,h.echartsElement=null,h}return x(l,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(h){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(h,this.props))return;if(!(0,c.default)(h.theme,this.props.theme)||!(0,c.default)(h.opts,this.props.opts)||!(0,c.default)(h.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var f=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,c.default)((0,r.pick)(this.props,f),(0,r.pick)(h,f)))return;var g=this.renderEchartDom();if(!(0,c.default)(h.style,this.props.style)||!(0,c.default)(h.className,this.props.className))try{g.resize()}catch(v){console.warn(v)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var h=this,f=this.props,g=f.style,v=f.className,y=_({height:300},g);return A.default.createElement("div",{ref:function(T){h.echartsElement=T},style:y,className:"echarts-for-react "+v})}}]),l}(C.Component);k.default=e,e.propTypes={option:m.default.object.isRequired,echarts:m.default.object,notMerge:m.default.bool,lazyUpdate:m.default.bool,style:m.default.object,className:m.default.string,theme:m.default.oneOfType([m.default.string,m.default.object]),onChartReady:m.default.func,showLoading:m.default.bool,loadingOption:m.default.object,onEvents:m.default.object,opts:m.default.shape({devicePixelRatio:m.default.number,renderer:m.default.oneOf(["canvas","svg"]),width:m.default.oneOfType([m.default.number,m.default.oneOf([null,void 0,"auto"])]),height:m.default.oneOfType([m.default.number,m.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:m.default.func},e.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(H,k,d){var _=d("bYtY"),x=d("IwbS"),C=d("Qxkt"),A=d("Znkb"),b=d("+rIm"),m=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function p(i,n,t){n[1]>n[0]&&(n=n.slice().reverse());var s=i.coordToPoint([n[0],t]),e=i.coordToPoint([n[1],t]);return{x1:s[0],y1:s[1],x2:e[0],y2:e[1]}}function c(i){var n=i.getRadiusAxis();return n.inverse?0:1}function o(i){var n=i[0],t=i[i.length-1];n&&t&&Math.abs(Math.abs(n.coord-t.coord)-360)<1e-4&&i.pop()}var r=A.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(i,n){if(this.group.removeAll(),!i.get("show"))return;var t=i.axis,s=t.polar,e=s.getRadiusAxis().getExtent(),a=t.getTicksCoords(),l=t.getMinorTicksCoords(),u=_.map(t.getViewLabels(),function(h){var h=_.clone(h);return h.coord=t.dataToCoord(h.tickValue),h});o(u),o(a),_.each(m,function(h){i.get(h+".show")&&(!t.scale.isBlank()||h==="axisLine")&&this["_"+h](i,s,a,l,e,u)},this)},_axisLine:function(i,n,t,s,e){var a=i.getModel("axisLine.lineStyle"),l=c(n),u=l?0:1,h;e[u]===0?h=new x.Circle({shape:{cx:n.cx,cy:n.cy,r:e[l]},style:a.getLineStyle(),z2:1,silent:!0}):h=new x.Ring({shape:{cx:n.cx,cy:n.cy,r:e[l],r0:e[u]},style:a.getLineStyle(),z2:1,silent:!0}),h.style.fill=null,this.group.add(h)},_axisTick:function(i,n,t,s,e){var a=i.getModel("axisTick"),l=(a.get("inside")?-1:1)*a.get("length"),u=e[c(n)],h=_.map(t,function(f){return new x.Line({shape:p(n,[u,u+l],f.coord)})});this.group.add(x.mergePath(h,{style:_.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:i.get("axisLine.lineStyle.color")})}))},_minorTick:function(i,n,t,s,e){if(!s.length)return;for(var a=i.getModel("axisTick"),l=i.getModel("minorTick"),u=(a.get("inside")?-1:1)*l.get("length"),h=e[c(n)],f=[],g=0;g<s.length;g++)for(var v=0;v<s[g].length;v++)f.push(new x.Line({shape:p(n,[h,h+u],s[g][v].coord)}));this.group.add(x.mergePath(f,{style:_.defaults(l.getModel("lineStyle").getLineStyle(),_.defaults(a.getLineStyle(),{stroke:i.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(i,n,t,s,e,a){var l=i.getCategories(!0),u=i.getModel("axisLabel"),h=u.get("margin"),f=i.get("triggerEvent");_.each(a,function(g,v){var y=u,E=g.tickValue,T=e[c(n)],w=n.coordToPoint([T+h,g.coord]),S=n.cx,I=n.cy,L=Math.abs(w[0]-S)/T<.3?"center":w[0]>S?"left":"right",O=Math.abs(w[1]-I)/T<.3?"middle":w[1]>I?"top":"bottom";l&&l[E]&&l[E].textStyle&&(y=new C(l[E].textStyle,u,u.ecModel));var N=new x.Text({silent:b.isLabelSilent(i)});this.group.add(N),x.setTextStyle(N.style,y,{x:w[0],y:w[1],textFill:y.getTextColor()||i.get("axisLine.lineStyle.color"),text:g.formattedLabel,textAlign:L,textVerticalAlign:O}),f&&(N.eventData=b.makeAxisEventDataBase(i),N.eventData.targetType="axisLabel",N.eventData.value=g.rawLabel)},this)},_splitLine:function(i,n,t,s,e){var a=i.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),h=0;u=u instanceof Array?u:[u];for(var f=[],g=0;g<t.length;g++){var v=h++%u.length;f[v]=f[v]||[],f[v].push(new x.Line({shape:p(n,e,t[g].coord)}))}for(var g=0;g<f.length;g++)this.group.add(x.mergePath(f[g],{style:_.defaults({stroke:u[g%u.length]},l.getLineStyle()),silent:!0,z:i.get("z")}))},_minorSplitLine:function(i,n,t,s,e){if(!s.length)return;for(var a=i.getModel("minorSplitLine"),l=a.getModel("lineStyle"),u=[],h=0;h<s.length;h++)for(var f=0;f<s[h].length;f++)u.push(new x.Line({shape:p(n,e,s[h][f].coord)}));this.group.add(x.mergePath(u,{style:l.getLineStyle(),silent:!0,z:i.get("z")}))},_splitArea:function(i,n,t,s,e){if(!t.length)return;var a=i.getModel("splitArea"),l=a.getModel("areaStyle"),u=l.get("color"),h=0;u=u instanceof Array?u:[u];for(var f=[],g=Math.PI/180,v=-t[0].coord*g,y=Math.min(e[0],e[1]),E=Math.max(e[0],e[1]),T=i.get("clockwise"),w=1;w<t.length;w++){var S=h++%u.length;f[S]=f[S]||[],f[S].push(new x.Sector({shape:{cx:n.cx,cy:n.cy,r0:y,r:E,startAngle:v,endAngle:-t[w].coord*g,clockwise:T},silent:!0})),v=-t[w].coord*g}for(var w=0;w<f.length;w++)this.group.add(x.mergePath(f[w],{style:_.defaults({fill:u[w%u.length]},l.getAreaStyle()),silent:!0}))}});H.exports=r},tSko:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("SRve")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="PlusOutlined";var c=A.forwardRef(p);k.default=c},tceW:function(H,k,d){var _=d("KCsZ"),x=_([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C={getBarItemStyle:function(A){var b=x(this,A);if(this.getBorderLineDash){var m=this.getBorderLineDash();m&&(b.lineDash=m)}return b}};H.exports=C},tkwv:function(H,k,d){"use strict";var _=Array.isArray,x=Object.keys,C=Object.prototype.hasOwnProperty;H.exports=function A(b,m){if(b===m)return!0;if(b&&m&&typeof b=="object"&&typeof m=="object"){var p=_(b),c=_(m),o,r,i;if(p&&c){if(r=b.length,r!=m.length)return!1;for(o=r;o--!==0;)if(!A(b[o],m[o]))return!1;return!0}if(p!=c)return!1;var n=b instanceof Date,t=m instanceof Date;if(n!=t)return!1;if(n&&t)return b.getTime()==m.getTime();var s=b instanceof RegExp,e=m instanceof RegExp;if(s!=e)return!1;if(s&&e)return b.toString()==m.toString();var a=x(b);if(r=a.length,r!==x(m).length)return!1;for(o=r;o--!==0;)if(!C.call(m,a[o]))return!1;for(o=r;o--!==0;)if(i=a[o],!A(b[i],m[i]))return!1;return!0}return b!==b&&m!==m}},txkQ:function(H,k,d){var _=d("aX58");k.zrender=_;var x=d("Fofx");k.matrix=x;var C=d("QBsz");k.vector=C;var A=d("bYtY"),b=d("Qe9p");k.color=b;var m=d("IwbS"),p=d("OELB");k.number=p;var c=d("7aKB");k.format=c;var o=d("iLNv"),r=o.throttle;k.throttle=o.throttle;var i=d("FUi9");k.helper=i;var n=d("vafp");k.parseGeoJSON=n;var t=d("YXkt");k.List=t;var s=d("Qxkt");k.Model=s;var e=d("hM6l");k.Axis=e;var a=d("ItGF");k.env=a;var l=n,u={};A.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(f){u[f]=A[f]});var h={};A.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(f){h[f]=m[f]}),k.parseGeoJson=l,k.util=u,k.graphic=h},u3DP:function(H,k,d){var _=d("6GrX"),x=d("OELB"),C=x.parsePercent,A=Math.PI/180;function b(o,r,i,n,t,s,e,a,l,u){o.sort(function(L,O){return L.y-O.y});function h(L,O,N,R){for(var D=L;D<O&&!(o[D].y+N>l+e);D++)if(o[D].y+=N,D>L&&D+1<O&&o[D+1].y>o[D].y+o[D].height){f(D,N/2);return}f(O-1,N/2)}function f(L,O){for(var N=L;N>=0&&!(o[N].y-O<l);N--)if(o[N].y-=O,N>0&&o[N].y>o[N-1].y+o[N-1].height)break}function g(L,O,N,R,D,B){for(var M=(B>0,O?Number.MAX_VALUE:0),U=0,F=L.length;U<F;U++){if(L[U].labelAlignTo!=="none")continue;var j=Math.abs(L[U].y-R),W=L[U].len,V=L[U].len2,z=j<D+W?Math.sqrt((D+W+V)*(D+W+V)-j*j):Math.abs(L[U].x-N);O&&z>=M&&(z=M-10),!O&&z<=M&&(z=M+10),L[U].x=N+z*B,M=z}}for(var v=0,y,E=o.length,T=[],w=[],S=0;S<E;S++){if(o[S].position==="outer"&&o[S].labelAlignTo==="labelLine"){var I=o[S].x-u;o[S].linePoints[1][0]+=I,o[S].x=u}y=o[S].y-v,y<0&&h(S,E,-y,t),v=o[S].y+o[S].height}e-v<0&&f(E-1,v-e);for(var S=0;S<E;S++)o[S].y>=i?w.push(o[S]):T.push(o[S]);g(T,!1,r,i,n,t),g(w,!0,r,i,n,t)}function m(o,r,i,n,t,s,e,a){for(var l=[],u=[],h=Number.MAX_VALUE,f=-Number.MAX_VALUE,g=0;g<o.length;g++){if(p(o[g]))continue;o[g].x<r?(h=Math.min(h,o[g].x),l.push(o[g])):(f=Math.max(f,o[g].x),u.push(o[g]))}b(u,r,i,n,1,t,s,e,a,f),b(l,r,i,n,-1,t,s,e,a,h);for(var g=0;g<o.length;g++){var v=o[g];if(p(v))continue;var y=v.linePoints;if(y){var E=v.labelAlignTo==="edge",T=v.textRect.width,w;E?v.x<r?w=y[2][0]-v.labelDistance-e-v.labelMargin:w=e+t-v.labelMargin-y[2][0]-v.labelDistance:v.x<r?w=v.x-e-v.bleedMargin:w=e+t-v.x-v.bleedMargin,w<v.textRect.width&&(v.text=_.truncateText(v.text,w,v.font),v.labelAlignTo==="edge"&&(T=_.getWidth(v.text,v.font)));var S=y[1][0]-y[2][0];E?v.x<r?y[2][0]=e+v.labelMargin+T+v.labelDistance:y[2][0]=e+t-v.labelMargin-T-v.labelDistance:(v.x<r?y[2][0]=v.x+v.labelDistance:y[2][0]=v.x-v.labelDistance,y[1][0]=y[2][0]+S),y[1][1]=y[2][1]=v.y}}}function p(o){return o.position==="center"}function c(o,r,i,n,t,s){var e=o.getData(),a=[],l,u,h=!1,f=(o.get("minShowLabelAngle")||0)*A;e.each(function(g){var v=e.getItemLayout(g),y=e.getItemModel(g),E=y.getModel("label"),T=E.get("position")||y.get("emphasis.label.position"),w=E.get("distanceToLabelLine"),S=E.get("alignTo"),I=C(E.get("margin"),i),L=E.get("bleedMargin"),O=E.getFont(),N=y.getModel("labelLine"),R=N.get("length");R=C(R,i);var D=N.get("length2");if(D=C(D,i),v.angle<f)return;var B=(v.startAngle+v.endAngle)/2,M=Math.cos(B),U=Math.sin(B),F,j,W,V;l=v.cx,u=v.cy;var z=o.getFormattedLabel(g,"normal")||e.getName(g),Y=_.getBoundingRect(z,O,V,"top"),J=T==="inside"||T==="inner";if(T==="center")F=v.cx,j=v.cy,V="center";else{var ie=(J?(v.r+v.r0)/2*M:v.r*M)+l,Z=(J?(v.r+v.r0)/2*U:v.r*U)+u;if(F=ie+M*3,j=Z+U*3,!J){var oe=ie+M*(R+r-v.r),ge=Z+U*(R+r-v.r),pe=oe+(M<0?-1:1)*D,De=ge;S==="edge"?F=M<0?t+I:t+i-I:F=pe+(M<0?-w:w),j=De,W=[[ie,Z],[oe,ge],[pe,De]]}V=J?"center":S==="edge"?M>0?"right":"left":M>0?"left":"right"}var ce,Oe=E.get("rotate");typeof Oe=="number"?ce=Oe*(Math.PI/180):ce=Oe?M<0?-B+Math.PI:-B:0,h=!!ce,v.label={x:F,y:j,position:T,height:Y.height,len:R,len2:D,linePoints:W,textAlign:V,verticalAlign:"middle",rotation:ce,inside:J,labelDistance:w,labelAlignTo:S,labelMargin:I,bleedMargin:L,textRect:Y,text:z,font:O},J||a.push(v.label)}),!h&&o.get("avoidLabelOverlap")&&m(a,l,u,r,i,n,t,s)}H.exports=c},u3os:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.ver=k.clear=k.bind=void 0;var _=d("P4Qj"),x=function(m,p){var c=(0,_.getSensor)(m);return c.bind(p),function(){c.unbind(p)}};k.bind=x;var C=function(m){var p=(0,_.getSensor)(m);(0,_.removeSensor)(p)};k.clear=C;var A="1.0.1";k.ver=A},u4NN:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("Uc92")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="EyeOutlined";var c=A.forwardRef(p);k.default=c},u9fO:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("b80e"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},uAnK:function(H,k,d){var _=d("bYtY"),x=d("Kagy"),C=d("KxfA"),A=C.retrieveRawValue;function b(m,p){var c=p.getModel("aria");if(c.get("show")){if(c.get("description")){m.setAttribute("aria-label",c.get("description"));return}}else return;var o=0;p.eachSeries(function(g,v){++o},this);var r=c.get("data.maxCount")||10,i=c.get("series.maxCount")||10,n=Math.min(o,i),t;if(o<1)return;var s=h();s?t=l(u("general.withTitle"),{title:s}):t=u("general.withoutTitle");var e=[],a=o>1?"series.multiple.prefix":"series.single.prefix";t+=l(u(a),{seriesCount:o}),p.eachSeries(function(g,v){if(v<n){var y,E=g.get("name"),T="series."+(o>1?"multiple":"single")+".";y=u(E?T+"withName":T+"withoutName"),y=l(y,{seriesId:g.seriesIndex,seriesName:g.get("name"),seriesType:f(g.subType)});var w=g.getData();window.data=w,w.count()>r?y+=l(u("data.partialData"),{displayCnt:r}):y+=u("data.allData");for(var S=[],I=0;I<w.count();I++)if(I<r){var L=w.getName(I),O=A(w,I);S.push(l(u(L?"data.withName":"data.withoutName"),{name:L,value:O}))}y+=S.join(u("data.separator.middle"))+u("data.separator.end"),e.push(y)}}),t+=e.join(u("series.multiple.separator.middle"))+u("series.multiple.separator.end"),m.setAttribute("aria-label",t);function l(g,v){if(typeof g!="string")return g;var y=g;return _.each(v,function(E,T){y=y.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),E)}),y}function u(g){var v=c.get(g);if(v==null){for(var y=g.split("."),E=x.aria,T=0;T<y.length;++T)E=E[y[T]];return E}else return v}function h(){var g=p.getModel("title").option;return g&&g.length&&(g=g[0]),g&&g.text}function f(g){return x.series.typeNames[g]||"\u81EA\u5B9A\u4E49\u56FE"}}H.exports=b},uGsb:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("MlIO"),d("1uat"))})(this,function(_){return function(){var x=_,C=x.x64,A=C.Word,b=C.WordArray,m=x.algo,p=m.SHA512,c=m.SHA384=p.extend({_doReset:function(){this._hash=new b.init([new A.init(3418070365,3238371032),new A.init(1654270250,914150663),new A.init(2438529370,812702999),new A.init(355462360,4144912697),new A.init(1731405415,4290775857),new A.init(2394180231,1750603025),new A.init(3675008525,1694076839),new A.init(1203062813,3204075428)])},_doFinalize:function(){var r=p._doFinalize.call(this);return r.sigBytes-=16,r}});x.SHA384=p._createHelper(c),x.HmacSHA384=p._createHmacHelper(c)}(),_.SHA384})},uGxW:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("OLod"))})(this,function(_){return _.pad.NoPadding={pad:function(){},unpad:function(){}},_.pad.NoPadding})},uK0f:function(H,k,d){(function(_,x){H.exports=x()})(this,function(){"use strict";function _(x,C,A){A=A||{},A.childrenKeyName=A.childrenKeyName||"children";var b=x||[],m=[],p=0;do{var c=b.filter(function(o){return C(o,p)})[0];if(!c)break;m.push(c),b=c[A.childrenKeyName]||[],p+=1}while(b.length>0);return m}return _})},uOyE:function(H,k,d){var _=d("ProS");_.registerAction({type:"brush",event:"brush"},function(x,C){C.eachComponent({mainType:"brush",query:x},function(A){A.setAreas(x.areas)})}),_.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),_.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(H,k,d){H.exports=_;function _(){return d("gaXo"),{}}},ugBc:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},ulZh:function(H,k,d){typeof window!="undefined"&&function(x,C){H.exports=C()}(this,function(){return function(_){var x={};function C(A){if(x[A])return x[A].exports;var b=x[A]={i:A,l:!1,exports:{}};return _[A].call(b.exports,b,b.exports,C),b.l=!0,b.exports}return C.m=_,C.c=x,C.d=function(A,b,m){C.o(A,b)||Object.defineProperty(A,b,{enumerable:!0,get:m})},C.r=function(A){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},C.t=function(A,b){if(b&1&&(A=C(A)),b&8)return A;if(b&4&&typeof A=="object"&&A&&A.__esModule)return A;var m=Object.create(null);if(C.r(m),Object.defineProperty(m,"default",{enumerable:!0,value:A}),b&2&&typeof A!="string")for(var p in A)C.d(m,p,function(c){return A[c]}.bind(null,p));return m},C.n=function(A){var b=A&&A.__esModule?function(){return A.default}:function(){return A};return C.d(b,"a",b),b},C.o=function(A,b){return Object.prototype.hasOwnProperty.call(A,b)},C.p="/dist/",C(C.s="./src/hls.ts")}({"./node_modules/eventemitter3/index.js":function(x,C,A){"use strict";var b=Object.prototype.hasOwnProperty,m="~";function p(){}Object.create&&(p.prototype=Object.create(null),new p().__proto__||(m=!1));function c(n,t,s){this.fn=n,this.context=t,this.once=s||!1}function o(n,t,s,e,a){if(typeof s!="function")throw new TypeError("The listener must be a function");var l=new c(s,e||n,a),u=m?m+t:t;return n._events[u]?n._events[u].fn?n._events[u]=[n._events[u],l]:n._events[u].push(l):(n._events[u]=l,n._eventsCount++),n}function r(n,t){--n._eventsCount===0?n._events=new p:delete n._events[t]}function i(){this._events=new p,this._eventsCount=0}i.prototype.eventNames=function(){var t=[],s,e;if(this._eventsCount===0)return t;for(e in s=this._events)b.call(s,e)&&t.push(m?e.slice(1):e);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(s)):t},i.prototype.listeners=function(t){var s=m?m+t:t,e=this._events[s];if(!e)return[];if(e.fn)return[e.fn];for(var a=0,l=e.length,u=new Array(l);a<l;a++)u[a]=e[a].fn;return u},i.prototype.listenerCount=function(t){var s=m?m+t:t,e=this._events[s];return e?e.fn?1:e.length:0},i.prototype.emit=function(t,s,e,a,l,u){var h=m?m+t:t;if(!this._events[h])return!1;var f=this._events[h],g=arguments.length,v,y;if(f.fn){f.once&&this.removeListener(t,f.fn,void 0,!0);switch(g){case 1:return f.fn.call(f.context),!0;case 2:return f.fn.call(f.context,s),!0;case 3:return f.fn.call(f.context,s,e),!0;case 4:return f.fn.call(f.context,s,e,a),!0;case 5:return f.fn.call(f.context,s,e,a,l),!0;case 6:return f.fn.call(f.context,s,e,a,l,u),!0}for(y=1,v=new Array(g-1);y<g;y++)v[y-1]=arguments[y];f.fn.apply(f.context,v)}else{var E=f.length,T;for(y=0;y<E;y++){f[y].once&&this.removeListener(t,f[y].fn,void 0,!0);switch(g){case 1:f[y].fn.call(f[y].context);break;case 2:f[y].fn.call(f[y].context,s);break;case 3:f[y].fn.call(f[y].context,s,e);break;case 4:f[y].fn.call(f[y].context,s,e,a);break;default:if(!v)for(T=1,v=new Array(g-1);T<g;T++)v[T-1]=arguments[T];f[y].fn.apply(f[y].context,v)}}}return!0},i.prototype.on=function(t,s,e){return o(this,t,s,e,!1)},i.prototype.once=function(t,s,e){return o(this,t,s,e,!0)},i.prototype.removeListener=function(t,s,e,a){var l=m?m+t:t;if(!this._events[l])return this;if(!s)return r(this,l),this;var u=this._events[l];if(u.fn)u.fn===s&&(!a||u.once)&&(!e||u.context===e)&&r(this,l);else{for(var h=0,f=[],g=u.length;h<g;h++)(u[h].fn!==s||a&&!u[h].once||e&&u[h].context!==e)&&f.push(u[h]);f.length?this._events[l]=f.length===1?f[0]:f:r(this,l)}return this},i.prototype.removeAllListeners=function(t){var s;return t?(s=m?m+t:t,this._events[s]&&r(this,s)):(this._events=new p,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prefixed=m,i.EventEmitter=i,x.exports=i},"./node_modules/url-toolkit/src/url-toolkit.js":function(x,C,A){(function(b){var m=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/?#]*\/)*[^;?#]*)?(;[^?#]*)?(\?[^#]*)?(#[^]*)?$/,p=/^([^\/?#]*)([^]*)$/,c=/(?:\/|^)\.(?=\/)/g,o=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,r={buildAbsoluteURL:function(n,t,s){if(s=s||{},n=n.trim(),t=t.trim(),!t){if(!s.alwaysNormalize)return n;var e=r.parseURL(n);if(!e)throw new Error("Error trying to parse base URL.");return e.path=r.normalizePath(e.path),r.buildURLFromParts(e)}var a=r.parseURL(t);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return s.alwaysNormalize?(a.path=r.normalizePath(a.path),r.buildURLFromParts(a)):t;var l=r.parseURL(n);if(!l)throw new Error("Error trying to parse base URL.");if(!l.netLoc&&l.path&&l.path[0]!=="/"){var u=p.exec(l.path);l.netLoc=u[1],l.path=u[2]}l.netLoc&&!l.path&&(l.path="/");var h={scheme:l.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(h.netLoc=l.netLoc,a.path[0]!=="/"))if(!a.path)h.path=l.path,a.params||(h.params=l.params,a.query||(h.query=l.query));else{var f=l.path,g=f.substring(0,f.lastIndexOf("/")+1)+a.path;h.path=r.normalizePath(g)}return h.path===null&&(h.path=s.alwaysNormalize?r.normalizePath(a.path):a.path),r.buildURLFromParts(h)},parseURL:function(n){var t=m.exec(n);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(n){for(n=n.split("").reverse().join("").replace(c,"");n.length!==(n=n.replace(o,"")).length;);return n.split("").reverse().join("")},buildURLFromParts:function(n){return n.scheme+n.netLoc+n.path+n.params+n.query+n.fragment}};x.exports=r})(this)},"./node_modules/webworkify-webpack/index.js":function(x,C,A){function b(t){var s={};function e(l){if(s[l])return s[l].exports;var u=s[l]={i:l,l:!1,exports:{}};return t[l].call(u.exports,u,u.exports,e),u.l=!0,u.exports}e.m=t,e.c=s,e.i=function(l){return l},e.d=function(l,u,h){e.o(l,u)||Object.defineProperty(l,u,{configurable:!1,enumerable:!0,get:h})},e.r=function(l){Object.defineProperty(l,"__esModule",{value:!0})},e.n=function(l){var u=l&&l.__esModule?function(){return l.default}:function(){return l};return e.d(u,"a",u),u},e.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},e.p="/",e.oe=function(l){throw console.error(l),l};var a=e(e.s=ENTRY_MODULE);return a.default||a}var m="[\\.|\\-|\\+|\\w|/|@]+",p="\\(\\s*(/\\*.*?\\*/)?\\s*.*?("+m+").*?\\)";function c(t){return(t+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function o(t){return!isNaN(1*t)}function r(t,s,e){var a={};a[e]=[];var l=s.toString(),u=l.match(/^function\s?\w*\(\w+,\s*\w+,\s*(\w+)\)/);if(!u)return a;for(var h=u[1],f=new RegExp("(\\\\n|\\W)"+c(h)+p,"g"),g;g=f.exec(l);){if(g[3]==="dll-reference")continue;a[e].push(g[3])}for(f=new RegExp("\\("+c(h)+'\\("(dll-reference\\s('+m+'))"\\)\\)'+p,"g");g=f.exec(l);)t[g[2]]||(a[e].push(g[1]),t[g[2]]=A(g[1]).m),a[g[2]]=a[g[2]]||[],a[g[2]].push(g[4]);for(var v=Object.keys(a),y=0;y<v.length;y++)for(var E=0;E<a[v[y]].length;E++)o(a[v[y]][E])&&(a[v[y]][E]=1*a[v[y]][E]);return a}function i(t){var s=Object.keys(t);return s.reduce(function(e,a){return e||t[a].length>0},!1)}function n(t,s){for(var e={main:[s]},a={main:[]},l={main:{}};i(e);)for(var u=Object.keys(e),h=0;h<u.length;h++){var f=u[h],g=e[f],v=g.pop();if(l[f]=l[f]||{},l[f][v]||!t[f][v])continue;l[f][v]=!0,a[f]=a[f]||[],a[f].push(v);for(var y=r(t,t[f][v],f),E=Object.keys(y),T=0;T<E.length;T++)e[E[T]]=e[E[T]]||[],e[E[T]]=e[E[T]].concat(y[E[T]])}return a}x.exports=function(t,s){s=s||{};var e={main:A.m},a=s.all?{main:Object.keys(e.main)}:n(e,t),l="";Object.keys(a).filter(function(v){return v!=="main"}).forEach(function(v){for(var y=0;a[v][y];)y++;a[v].push(y),e[v][y]="(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })",l=l+"var "+v+" = ("+b.toString().replace("ENTRY_MODULE",JSON.stringify(y))+")({"+a[v].map(function(E){return""+JSON.stringify(E)+": "+e[v][E].toString()}).join(",")+`});
`}),l=l+"new (("+b.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+a.main.map(function(v){return""+JSON.stringify(v)+": "+e.main[v].toString()}).join(",")+"}))(self);";var u=new window.Blob([l],{type:"text/javascript"});if(s.bare)return u;var h=window.URL||window.webkitURL||window.mozURL||window.msURL,f=h.createObjectURL(u),g=new window.Worker(f);return g.objectURL=f,g}},"./src/config.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"hlsDefaultConfig",function(){return T}),A.d(C,"mergeConfig",function(){return S}),A.d(C,"enableStreamingMode",function(){return I});var b=A("./src/controller/abr-controller.ts"),m=A("./src/controller/audio-stream-controller.ts"),p=A("./src/controller/audio-track-controller.ts"),c=A("./src/controller/subtitle-stream-controller.ts"),o=A("./src/controller/subtitle-track-controller.ts"),r=A("./src/controller/buffer-controller.ts"),i=A("./src/controller/timeline-controller.ts"),n=A("./src/controller/cap-level-controller.ts"),t=A("./src/controller/fps-controller.ts"),s=A("./src/controller/eme-controller.ts"),e=A("./src/controller/cmcd-controller.ts"),a=A("./src/utils/xhr-loader.ts"),l=A("./src/utils/fetch-loader.ts"),u=A("./src/utils/cues.ts"),h=A("./src/utils/mediakeys-helper.ts"),f=A("./src/utils/logger.ts");function g(){return g=Object.assign||function(L){for(var O=1;O<arguments.length;O++){var N=arguments[O];for(var R in N)Object.prototype.hasOwnProperty.call(N,R)&&(L[R]=N[R])}return L},g.apply(this,arguments)}function v(L,O){var N=Object.keys(L);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(L);O&&(R=R.filter(function(D){return Object.getOwnPropertyDescriptor(L,D).enumerable})),N.push.apply(N,R)}return N}function y(L){for(var O=1;O<arguments.length;O++){var N=arguments[O]!=null?arguments[O]:{};O%2?v(Object(N),!0).forEach(function(R){E(L,R,N[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(N)):v(Object(N)).forEach(function(R){Object.defineProperty(L,R,Object.getOwnPropertyDescriptor(N,R))})}return L}function E(L,O,N){return O in L?Object.defineProperty(L,O,{value:N,enumerable:!0,configurable:!0,writable:!0}):L[O]=N,L}var T=y(y({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:Infinity,maxBufferSize:60*1e3*1e3,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:Infinity,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,enableSoftwareAES:!0,manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,startLevel:void 0,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:a.default,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:b.default,bufferController:r.default,capLevelController:n.default,fpsController:t.default,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystemOptions:{},requestMediaKeySystemAccessFunc:h.requestMediaKeySystemAccess,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0},w()),{},{subtitleStreamController:c.SubtitleStreamController,subtitleTrackController:o.default,timelineController:i.TimelineController,audioStreamController:m.default,audioTrackController:p.default,emeController:s.default,cmcdController:e.default});function w(){return{cueHandler:u.default,enableCEA708Captions:!0,enableWebVTT:!0,enableIMSC1:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function S(L,O){if((O.liveSyncDurationCount||O.liveMaxLatencyDurationCount)&&(O.liveSyncDuration||O.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(O.liveMaxLatencyDurationCount!==void 0&&(O.liveSyncDurationCount===void 0||O.liveMaxLatencyDurationCount<=O.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(O.liveMaxLatencyDuration!==void 0&&(O.liveSyncDuration===void 0||O.liveMaxLatencyDuration<=O.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');return g({},L,O)}function I(L){var O=L.loader;if(O!==l.default&&O!==a.default)f.logger.log("[config]: Custom loader detected, cannot enable progressive streaming"),L.progressive=!1;else{var N=Object(l.fetchSupported)();N&&(L.loader=l.default,L.progressive=!0,L.enableSoftwareAES=!0,f.logger.log("[config]: Progressive streaming enabled, using FetchLoader"))}}},"./src/controller/abr-controller.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/polyfills/number.ts"),m=A("./src/utils/ewma-bandwidth-estimator.ts"),p=A("./src/events.ts"),c=A("./src/utils/buffer-helper.ts"),o=A("./src/errors.ts"),r=A("./src/types/loader.ts"),i=A("./src/utils/logger.ts");function n(e,a){for(var l=0;l<a.length;l++){var u=a[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function t(e,a,l){return a&&n(e.prototype,a),l&&n(e,l),e}var s=function(){function e(l){this.hls=void 0,this.lastLoadedFragLevel=0,this._nextAutoLevel=-1,this.timer=void 0,this.onCheck=this._abandonRulesCheck.bind(this),this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.bwEstimator=void 0,this.hls=l;var u=l.config;this.bwEstimator=new m.default(u.abrEwmaSlowVoD,u.abrEwmaFastVoD,u.abrEwmaDefaultEstimate),this.registerListeners()}var a=e.prototype;return a.registerListeners=function(){var u=this.hls;u.on(p.Events.FRAG_LOADING,this.onFragLoading,this),u.on(p.Events.FRAG_LOADED,this.onFragLoaded,this),u.on(p.Events.FRAG_BUFFERED,this.onFragBuffered,this),u.on(p.Events.LEVEL_LOADED,this.onLevelLoaded,this),u.on(p.Events.ERROR,this.onError,this)},a.unregisterListeners=function(){var u=this.hls;u.off(p.Events.FRAG_LOADING,this.onFragLoading,this),u.off(p.Events.FRAG_LOADED,this.onFragLoaded,this),u.off(p.Events.FRAG_BUFFERED,this.onFragBuffered,this),u.off(p.Events.LEVEL_LOADED,this.onLevelLoaded,this),u.off(p.Events.ERROR,this.onError,this)},a.destroy=function(){this.unregisterListeners(),this.clearTimer(),this.hls=this.onCheck=null,this.fragCurrent=this.partCurrent=null},a.onFragLoading=function(u,h){var f=h.frag;if(f.type===r.PlaylistLevelType.MAIN&&!this.timer){var g;this.fragCurrent=f,this.partCurrent=(g=h.part)!=null?g:null,this.timer=self.setInterval(this.onCheck,100)}},a.onLevelLoaded=function(u,h){var f=this.hls.config;h.details.live?this.bwEstimator.update(f.abrEwmaSlowLive,f.abrEwmaFastLive):this.bwEstimator.update(f.abrEwmaSlowVoD,f.abrEwmaFastVoD)},a._abandonRulesCheck=function(){var u=this.fragCurrent,h=this.partCurrent,f=this.hls,g=f.autoLevelEnabled,v=f.config,y=f.media;if(!u||!y)return;var E=h?h.stats:u.stats,T=h?h.duration:u.duration;if(E.aborted){i.logger.warn("frag loader destroy or aborted, disarm abandonRules"),this.clearTimer(),this._nextAutoLevel=-1;return}if(!g||y.paused||!y.playbackRate||!y.readyState)return;var w=performance.now()-E.loading.start,S=Math.abs(y.playbackRate);if(w<=500*T/S)return;var I=f.levels,L=f.minAutoLevel,O=I[u.level],N=E.total||Math.max(E.loaded,Math.round(T*O.maxBitrate/8)),R=Math.max(1,E.bwEstimate?E.bwEstimate/8:E.loaded*1e3/w),D=(N-E.loaded)/R,B=y.currentTime,M=(c.BufferHelper.bufferInfo(y,B,v.maxBufferHole).end-B)/S;if(M>=2*T/S||D<=M)return;var U=Number.POSITIVE_INFINITY,F;for(F=u.level-1;F>L;F--){var j=I[F].maxBitrate;if(U=T*j/(8*.8*R),U<M)break}if(U>=D)return;var W=this.bwEstimator.getEstimate();i.logger.warn("Fragment "+u.sn+(h?" part "+h.index:"")+" of level "+u.level+" is loading too slowly and will cause an underbuffer; aborting and switching to level "+F+`
Current BW estimate: `+(Object(b.isFiniteNumber)(W)?(W/1024).toFixed(3):"Unknown")+` Kb/s
Estimated load time for current fragment: `+D.toFixed(3)+` s
Estimated load time for the next fragment: `+U.toFixed(3)+` s
Time to underbuffer: `+M.toFixed(3)+" s"),f.nextLoadLevel=F,this.bwEstimator.sample(w,E.loaded),this.clearTimer(),u.loader&&(this.fragCurrent=this.partCurrent=null,u.loader.abort()),f.trigger(p.Events.FRAG_LOAD_EMERGENCY_ABORTED,{frag:u,part:h,stats:E})},a.onFragLoaded=function(u,h){var f=h.frag,g=h.part;if(f.type===r.PlaylistLevelType.MAIN&&Object(b.isFiniteNumber)(f.sn)){var v=g?g.stats:f.stats,y=g?g.duration:f.duration;if(this.clearTimer(),this.lastLoadedFragLevel=f.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var E=this.hls.levels[f.level],T=(E.loaded?E.loaded.bytes:0)+v.loaded,w=(E.loaded?E.loaded.duration:0)+y;E.loaded={bytes:T,duration:w},E.realBitrate=Math.round(8*T/w)}if(f.bitrateTest){var S={stats:v,frag:f,part:g,id:f.type};this.onFragBuffered(p.Events.FRAG_BUFFERED,S),f.bitrateTest=!1}}},a.onFragBuffered=function(u,h){var f=h.frag,g=h.part,v=g?g.stats:f.stats;if(v.aborted)return;if(f.type!==r.PlaylistLevelType.MAIN||f.sn==="initSegment")return;var y=v.parsing.end-v.loading.start;this.bwEstimator.sample(y,v.loaded),v.bwEstimate=this.bwEstimator.getEstimate(),f.bitrateTest?this.bitrateTestDelay=y/1e3:this.bitrateTestDelay=0},a.onError=function(u,h){switch(h.details){case o.ErrorDetails.FRAG_LOAD_ERROR:case o.ErrorDetails.FRAG_LOAD_TIMEOUT:this.clearTimer();break;default:break}},a.clearTimer=function(){self.clearInterval(this.timer),this.timer=void 0},a.getNextABRAutoLevel=function(){var u=this.fragCurrent,h=this.partCurrent,f=this.hls,g=f.maxAutoLevel,v=f.config,y=f.minAutoLevel,E=f.media,T=h?h.duration:u?u.duration:0,w=E?E.currentTime:0,S=E&&E.playbackRate!==0?Math.abs(E.playbackRate):1,I=this.bwEstimator?this.bwEstimator.getEstimate():v.abrEwmaDefaultEstimate,L=(c.BufferHelper.bufferInfo(E,w,v.maxBufferHole).end-w)/S,O=this.findBestLevel(I,y,g,L,v.abrBandWidthFactor,v.abrBandWidthUpFactor);if(O>=0)return O;i.logger.trace((L?"rebuffering expected":"buffer is empty")+", finding optimal quality level");var N=T?Math.min(T,v.maxStarvationDelay):v.maxStarvationDelay,R=v.abrBandWidthFactor,D=v.abrBandWidthUpFactor;if(!L){var B=this.bitrateTestDelay;if(B){var M=T?Math.min(T,v.maxLoadingDelay):v.maxLoadingDelay;N=M-B,i.logger.trace("bitrate test took "+Math.round(1e3*B)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*N)+" ms"),R=D=1}}return O=this.findBestLevel(I,y,g,L+N,R,D),Math.max(O,0)},a.findBestLevel=function(u,h,f,g,v,y){for(var E,T=this.fragCurrent,w=this.partCurrent,S=this.lastLoadedFragLevel,I=this.hls.levels,L=I[S],O=!!(L!=null&&(E=L.details)!==null&&E!==void 0&&E.live),N=L==null?void 0:L.codecSet,R=w?w.duration:T?T.duration:0,D=f;D>=h;D--){var B=I[D];if(!B||N&&B.codecSet!==N)continue;var M=B.details,U=(w?M==null?void 0:M.partTarget:M==null?void 0:M.averagetargetduration)||R,F=void 0;D<=S?F=v*u:F=y*u;var j=I[D].maxBitrate,W=j*U/F;if(i.logger.trace("level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: "+D+"/"+Math.round(F)+"/"+j+"/"+U+"/"+g+"/"+W),F>j&&(!W||O&&!this.bitrateTestDelay||W<g))return D}return-1},t(e,[{key:"nextAutoLevel",get:function(){var u=this._nextAutoLevel,h=this.bwEstimator;if(u!==-1&&(!h||!h.canEstimate()))return u;var f=this.getNextABRAutoLevel();return u!==-1&&(f=Math.min(u,f)),f},set:function(u){this._nextAutoLevel=u}}]),e}();C.default=s},"./src/controller/audio-stream-controller.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/polyfills/number.ts"),m=A("./src/controller/base-stream-controller.ts"),p=A("./src/events.ts"),c=A("./src/utils/buffer-helper.ts"),o=A("./src/controller/fragment-tracker.ts"),r=A("./src/types/level.ts"),i=A("./src/types/loader.ts"),n=A("./src/loader/fragment.ts"),t=A("./src/demux/chunk-cache.ts"),s=A("./src/demux/transmuxer-interface.ts"),e=A("./src/types/transmuxer.ts"),a=A("./src/controller/fragment-finders.ts"),l=A("./src/utils/discontinuities.ts"),u=A("./src/errors.ts"),h=A("./src/utils/logger.ts");function f(){return f=Object.assign||function(T){for(var w=1;w<arguments.length;w++){var S=arguments[w];for(var I in S)Object.prototype.hasOwnProperty.call(S,I)&&(T[I]=S[I])}return T},f.apply(this,arguments)}function g(T,w){T.prototype=Object.create(w.prototype),T.prototype.constructor=T,v(T,w)}function v(T,w){return v=Object.setPrototypeOf||function(I,L){return I.__proto__=L,I},v(T,w)}var y=100,E=function(T){g(w,T);function w(I,L){var O;return O=T.call(this,I,L,"[audio-stream-controller]")||this,O.videoBuffer=null,O.videoTrackCC=-1,O.waitingVideoCC=-1,O.audioSwitch=!1,O.trackId=-1,O.waitingData=null,O.mainDetails=null,O.bufferFlushed=!1,O._registerListeners(),O}var S=w.prototype;return S.onHandlerDestroying=function(){this._unregisterListeners(),this.mainDetails=null},S._registerListeners=function(){var L=this.hls;L.on(p.Events.MEDIA_ATTACHED,this.onMediaAttached,this),L.on(p.Events.MEDIA_DETACHING,this.onMediaDetaching,this),L.on(p.Events.MANIFEST_LOADING,this.onManifestLoading,this),L.on(p.Events.LEVEL_LOADED,this.onLevelLoaded,this),L.on(p.Events.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),L.on(p.Events.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),L.on(p.Events.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),L.on(p.Events.ERROR,this.onError,this),L.on(p.Events.BUFFER_RESET,this.onBufferReset,this),L.on(p.Events.BUFFER_CREATED,this.onBufferCreated,this),L.on(p.Events.BUFFER_FLUSHED,this.onBufferFlushed,this),L.on(p.Events.INIT_PTS_FOUND,this.onInitPtsFound,this),L.on(p.Events.FRAG_BUFFERED,this.onFragBuffered,this)},S._unregisterListeners=function(){var L=this.hls;L.off(p.Events.MEDIA_ATTACHED,this.onMediaAttached,this),L.off(p.Events.MEDIA_DETACHING,this.onMediaDetaching,this),L.off(p.Events.MANIFEST_LOADING,this.onManifestLoading,this),L.off(p.Events.LEVEL_LOADED,this.onLevelLoaded,this),L.off(p.Events.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),L.off(p.Events.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),L.off(p.Events.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),L.off(p.Events.ERROR,this.onError,this),L.off(p.Events.BUFFER_RESET,this.onBufferReset,this),L.off(p.Events.BUFFER_CREATED,this.onBufferCreated,this),L.off(p.Events.BUFFER_FLUSHED,this.onBufferFlushed,this),L.off(p.Events.INIT_PTS_FOUND,this.onInitPtsFound,this),L.off(p.Events.FRAG_BUFFERED,this.onFragBuffered,this)},S.onInitPtsFound=function(L,O){var N=O.frag,R=O.id,D=O.initPTS;if(R==="main"){var B=N.cc;this.initPTS[N.cc]=D,this.log("InitPTS for cc: "+B+" found from main: "+D),this.videoTrackCC=B,this.state===m.State.WAITING_INIT_PTS&&this.tick()}},S.startLoad=function(L){if(!this.levels){this.startPosition=L,this.state=m.State.STOPPED;return}var O=this.lastCurrentTime;this.stopLoad(),this.setInterval(y),this.fragLoadError=0,O>0&&L===-1?(this.log("Override startPosition with lastCurrentTime @"+O.toFixed(3)),this.state=m.State.IDLE):(this.loadedmetadata=!1,this.state=m.State.WAITING_TRACK),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=L,this.tick()},S.doTick=function(){switch(this.state){case m.State.IDLE:this.doTickIdle();break;case m.State.WAITING_TRACK:{var L,O=this.levels,N=this.trackId,R=O==null||((L=O[N])===null||L===void 0)?void 0:L.details;if(R){if(this.waitForCdnTuneIn(R))break;this.state=m.State.WAITING_INIT_PTS}break}case m.State.FRAG_LOADING_WAITING_RETRY:{var D,B=performance.now(),M=this.retryDate;(!M||B>=M||(D=this.media)!==null&&D!==void 0&&D.seeking)&&(this.log("RetryDate reached, switch back to IDLE state"),this.state=m.State.IDLE);break}case m.State.WAITING_INIT_PTS:{var U=this.waitingData;if(U){var F=U.frag,j=U.part,W=U.cache,V=U.complete;if(this.initPTS[F.cc]!==void 0){this.waitingData=null,this.waitingVideoCC=-1,this.state=m.State.FRAG_LOADING;var z=W.flush(),Y={frag:F,part:j,payload:z,networkDetails:null};this._handleFragmentLoadProgress(Y),V&&T.prototype._handleFragmentLoadComplete.call(this,Y)}else if(this.videoTrackCC!==this.waitingVideoCC)h.logger.log("Waiting fragment cc ("+F.cc+") cancelled because video is at cc "+this.videoTrackCC),this.clearWaitingFragment();else{var J=this.getLoadPosition(),ie=c.BufferHelper.bufferInfo(this.mediaBuffer,J,this.config.maxBufferHole),Z=Object(a.fragmentWithinToleranceTest)(ie.end,this.config.maxFragLookUpTolerance,F);Z<0&&(h.logger.log("Waiting fragment cc ("+F.cc+") @ "+F.start+" cancelled because another fragment at "+ie.end+" is needed"),this.clearWaitingFragment())}}else this.state=m.State.IDLE}}this.onTickEnd()},S.clearWaitingFragment=function(){var L=this.waitingData;L&&(this.fragmentTracker.removeFragment(L.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=m.State.IDLE)},S.onTickEnd=function(){var L=this.media;if(!L||!L.readyState)return;var O=this.mediaBuffer?this.mediaBuffer:L,N=O.buffered;!this.loadedmetadata&&N.length&&(this.loadedmetadata=!0),this.lastCurrentTime=L.currentTime},S.doTickIdle=function(){var L,O,N=this.hls,R=this.levels,D=this.media,B=this.trackId,M=N.config;if(!R||!R[B])return;if(!D&&(this.startFragRequested||!M.startFragPrefetch))return;var U=R[B],F=U.details;if(!F||F.live&&this.levelLastLoaded!==B||this.waitForCdnTuneIn(F)){this.state=m.State.WAITING_TRACK;return}this.bufferFlushed&&(this.bufferFlushed=!1,this.afterBufferFlushed(this.mediaBuffer?this.mediaBuffer:this.media,n.ElementaryStreamTypes.AUDIO,i.PlaylistLevelType.AUDIO));var j=this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,i.PlaylistLevelType.AUDIO);if(j===null)return;var W=j.len,V=this.getMaxBufferLength(),z=this.audioSwitch;if(W>=V&&!z)return;if(!z&&this._streamEnded(j,F)){N.trigger(p.Events.BUFFER_EOS,{type:"audio"}),this.state=m.State.ENDED;return}var Y=F.fragments,J=Y[0].start,ie=j.end;if(z){var Z=this.getLoadPosition();ie=Z,F.PTSKnown&&Z<J&&((j.end>J||j.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),D.currentTime=J+.05))}var oe=this.getNextFragment(ie,F);if(!oe){this.bufferFlushed=!0;return}((L=oe.decryptdata)===null||L===void 0?void 0:L.keyFormat)==="identity"&&!((O=oe.decryptdata)!==null&&O!==void 0&&O.key)?this.loadKey(oe,F):this.loadFragment(oe,F,ie)},S.getMaxBufferLength=function(){var L=T.prototype.getMaxBufferLength.call(this),O=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,i.PlaylistLevelType.MAIN);return O===null?L:Math.max(L,O.len)},S.onMediaDetaching=function(){this.videoBuffer=null,T.prototype.onMediaDetaching.call(this)},S.onAudioTracksUpdated=function(L,O){var N=O.audioTracks;this.resetTransmuxer(),this.levels=N.map(function(R){return new r.Level(R)})},S.onAudioTrackSwitching=function(L,O){var N=!!O.url;this.trackId=O.id;var R=this.fragCurrent;R!=null&&R.loader&&R.loader.abort(),this.fragCurrent=null,this.clearWaitingFragment(),N?this.setInterval(y):this.resetTransmuxer(),N?(this.audioSwitch=!0,this.state=m.State.IDLE):this.state=m.State.STOPPED,this.tick()},S.onManifestLoading=function(){this.mainDetails=null,this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=!1},S.onLevelLoaded=function(L,O){this.mainDetails=O.details},S.onAudioTrackLoaded=function(L,O){var N,R=this.levels,D=O.details,B=O.id;if(!R){this.warn("Audio tracks were reset while loading level "+B);return}this.log("Track "+B+" loaded ["+D.startSN+","+D.endSN+"],duration:"+D.totalduration);var M=R[B],U=0;if(D.live||(N=M.details)!==null&&N!==void 0&&N.live){var F=this.mainDetails;if(D.fragments[0]||(D.deltaUpdateFailed=!0),D.deltaUpdateFailed||!F)return;!M.details&&D.hasProgramDateTime&&F.hasProgramDateTime?(Object(l.alignMediaPlaylistByPDT)(D,F),U=D.fragments[0].start):U=this.alignPlaylists(D,M.details)}M.details=D,this.levelLastLoaded=B,!this.startFragRequested&&(this.mainDetails||!D.live)&&this.setStartPosition(M.details,U),this.state===m.State.WAITING_TRACK&&!this.waitForCdnTuneIn(D)&&(this.state=m.State.IDLE),this.tick()},S._handleFragmentLoadProgress=function(L){var O,N=L.frag,R=L.part,D=L.payload,B=this.config,M=this.trackId,U=this.levels;if(!U){this.warn("Audio tracks were reset while fragment load was in progress. Fragment "+N.sn+" of level "+N.level+" will not be buffered");return}var F=U[M];console.assert(F,"Audio track is defined on fragment load progress");var j=F.details;console.assert(j,"Audio track details are defined on fragment load progress");var W=B.defaultAudioCodec||F.audioCodec||"mp4a.40.2",V=this.transmuxer;V||(V=this.transmuxer=new s.default(this.hls,i.PlaylistLevelType.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));var z=this.initPTS[N.cc],Y=(O=N.initSegment)===null||O===void 0?void 0:O.data;if(z!==void 0){var J=!1,ie=R?R.index:-1,Z=ie!==-1,oe=new e.ChunkMetadata(N.level,N.sn,N.stats.chunkCount,D.byteLength,ie,Z);V.push(D,Y,W,"",N,R,j.totalduration,J,oe,z)}else{h.logger.log("Unknown video PTS for cc "+N.cc+", waiting for video PTS before demuxing audio frag "+N.sn+" of ["+j.startSN+" ,"+j.endSN+"],track "+M);var ge=this.waitingData=this.waitingData||{frag:N,part:R,cache:new t.default,complete:!1},pe=ge.cache;pe.push(new Uint8Array(D)),this.waitingVideoCC=this.videoTrackCC,this.state=m.State.WAITING_INIT_PTS}},S._handleFragmentLoadComplete=function(L){if(this.waitingData){this.waitingData.complete=!0;return}T.prototype._handleFragmentLoadComplete.call(this,L)},S.onBufferReset=function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1},S.onBufferCreated=function(L,O){var N=O.tracks.audio;N&&(this.mediaBuffer=N.buffer),O.tracks.video&&(this.videoBuffer=O.tracks.video.buffer)},S.onFragBuffered=function(L,O){var N=O.frag,R=O.part;if(N.type!==i.PlaylistLevelType.AUDIO)return;if(this.fragContextChanged(N)){this.warn("Fragment "+N.sn+(R?" p: "+R.index:"")+" of level "+N.level+" finished buffering, but was aborted. state: "+this.state+", audioSwitch: "+this.audioSwitch);return}N.sn!=="initSegment"&&(this.fragPrevious=N,this.audioSwitch&&(this.audioSwitch=!1,this.hls.trigger(p.Events.AUDIO_TRACK_SWITCHED,{id:this.trackId}))),this.fragBufferedComplete(N,R)},S.onError=function(L,O){switch(O.details){case u.ErrorDetails.FRAG_LOAD_ERROR:case u.ErrorDetails.FRAG_LOAD_TIMEOUT:case u.ErrorDetails.KEY_LOAD_ERROR:case u.ErrorDetails.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(i.PlaylistLevelType.AUDIO,O);break;case u.ErrorDetails.AUDIO_TRACK_LOAD_ERROR:case u.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:this.state!==m.State.ERROR&&this.state!==m.State.STOPPED&&(this.state=O.fatal?m.State.ERROR:m.State.IDLE,this.warn(O.details+" while loading frag, switching to "+this.state+" state"));break;case u.ErrorDetails.BUFFER_FULL_ERROR:if(O.parent==="audio"&&(this.state===m.State.PARSING||this.state===m.State.PARSED)){var N=!0,R=this.getFwdBufferInfo(this.mediaBuffer,i.PlaylistLevelType.AUDIO);R&&R.len>.5&&(N=!this.reduceMaxBufferLength(R.len)),N&&(this.warn("Buffer full error also media.currentTime is not buffered, flush audio buffer"),this.fragCurrent=null,T.prototype.flushMainBuffer.call(this,0,Number.POSITIVE_INFINITY,"audio")),this.resetLoadingState()}break;default:break}},S.onBufferFlushed=function(L,O){var N=O.type;N===n.ElementaryStreamTypes.AUDIO&&(this.bufferFlushed=!0)},S._handleTransmuxComplete=function(L){var O,N="audio",R=this.hls,D=L.remuxResult,B=L.chunkMeta,M=this.getCurrentContext(B);if(!M){this.warn("The loading context changed while buffering fragment "+B.sn+" of level "+B.level+". This chunk will not be buffered."),this.resetLiveStartWhenNotLoaded(B.level);return}var U=M.frag,F=M.part,j=D.audio,W=D.text,V=D.id3,z=D.initSegment;if(this.fragContextChanged(U))return;if(this.state=m.State.PARSING,this.audioSwitch&&j&&this.completeAudioSwitch(),z!=null&&z.tracks&&(this._bufferInitSegment(z.tracks,U,B),R.trigger(p.Events.FRAG_PARSING_INIT_SEGMENT,{frag:U,id:N,tracks:z.tracks})),j){var Y=j.startPTS,J=j.endPTS,ie=j.startDTS,Z=j.endDTS;F&&(F.elementaryStreams[n.ElementaryStreamTypes.AUDIO]={startPTS:Y,endPTS:J,startDTS:ie,endDTS:Z}),U.setElementaryStreamInfo(n.ElementaryStreamTypes.AUDIO,Y,J,ie,Z),this.bufferFragmentData(j,U,F,B)}if(V!=null&&(O=V.samples)!==null&&O!==void 0&&O.length){var oe=f({frag:U,id:N},V);R.trigger(p.Events.FRAG_PARSING_METADATA,oe)}if(W){var ge=f({frag:U,id:N},W);R.trigger(p.Events.FRAG_PARSING_USERDATA,ge)}},S._bufferInitSegment=function(L,O,N){if(this.state!==m.State.PARSING)return;L.video&&delete L.video;var R=L.audio;if(!R)return;R.levelCodec=R.codec,R.id="audio",this.log("Init audio buffer, container:"+R.container+", codecs[parsed]=["+R.codec+"]"),this.hls.trigger(p.Events.BUFFER_CODECS,L);var D=R.initSegment;if(D!=null&&D.byteLength){var B={type:"audio",frag:O,part:null,chunkMeta:N,parent:O.type,data:D};this.hls.trigger(p.Events.BUFFER_APPENDING,B)}this.tick()},S.loadFragment=function(L,O,N){var R=this.fragmentTracker.getState(L);this.fragCurrent=L,(this.audioSwitch||R===o.FragmentState.NOT_LOADED||R===o.FragmentState.PARTIAL)&&(L.sn==="initSegment"?this._loadInitSegment(L):O.live&&!Object(b.isFiniteNumber)(this.initPTS[L.cc])?(this.log("Waiting for video PTS in continuity counter "+L.cc+" of live stream before loading audio fragment "+L.sn+" of level "+this.trackId),this.state=m.State.WAITING_INIT_PTS):(this.startFragRequested=!0,T.prototype.loadFragment.call(this,L,O,N)))},S.completeAudioSwitch=function(){var L=this.hls,O=this.media,N=this.trackId;O&&(this.log("Switching audio track : flushing all audio"),T.prototype.flushMainBuffer.call(this,0,Number.POSITIVE_INFINITY,"audio")),this.audioSwitch=!1,L.trigger(p.Events.AUDIO_TRACK_SWITCHED,{id:N})},w}(m.default);C.default=E},"./src/controller/audio-track-controller.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/events.ts"),m=A("./src/errors.ts"),p=A("./src/controller/base-playlist-controller.ts"),c=A("./src/types/loader.ts");function o(s,e){for(var a=0;a<e.length;a++){var l=e[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(s,l.key,l)}}function r(s,e,a){return e&&o(s.prototype,e),a&&o(s,a),s}function i(s,e){s.prototype=Object.create(e.prototype),s.prototype.constructor=s,n(s,e)}function n(s,e){return n=Object.setPrototypeOf||function(l,u){return l.__proto__=u,l},n(s,e)}var t=function(s){i(e,s);function e(l){var u;return u=s.call(this,l,"[audio-track-controller]")||this,u.tracks=[],u.groupId=null,u.tracksInGroup=[],u.trackId=-1,u.trackName="",u.selectDefaultTrack=!0,u.registerListeners(),u}var a=e.prototype;return a.registerListeners=function(){var u=this.hls;u.on(b.Events.MANIFEST_LOADING,this.onManifestLoading,this),u.on(b.Events.MANIFEST_PARSED,this.onManifestParsed,this),u.on(b.Events.LEVEL_LOADING,this.onLevelLoading,this),u.on(b.Events.LEVEL_SWITCHING,this.onLevelSwitching,this),u.on(b.Events.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),u.on(b.Events.ERROR,this.onError,this)},a.unregisterListeners=function(){var u=this.hls;u.off(b.Events.MANIFEST_LOADING,this.onManifestLoading,this),u.off(b.Events.MANIFEST_PARSED,this.onManifestParsed,this),u.off(b.Events.LEVEL_LOADING,this.onLevelLoading,this),u.off(b.Events.LEVEL_SWITCHING,this.onLevelSwitching,this),u.off(b.Events.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),u.off(b.Events.ERROR,this.onError,this)},a.destroy=function(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,s.prototype.destroy.call(this)},a.onManifestLoading=function(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.trackName="",this.selectDefaultTrack=!0},a.onManifestParsed=function(u,h){this.tracks=h.audioTracks||[]},a.onAudioTrackLoaded=function(u,h){var f=h.id,g=h.details,v=this.tracksInGroup[f];if(!v){this.warn("Invalid audio track id "+f);return}var y=v.details;v.details=h.details,this.log("audioTrack "+f+" loaded ["+g.startSN+"-"+g.endSN+"]"),f===this.trackId&&(this.retryCount=0,this.playlistLoaded(f,h,y))},a.onLevelLoading=function(u,h){this.switchLevel(h.level)},a.onLevelSwitching=function(u,h){this.switchLevel(h.level)},a.switchLevel=function(u){var h=this.hls.levels[u];if(!(h!=null&&h.audioGroupIds))return;var f=h.audioGroupIds[h.urlId];if(this.groupId!==f){this.groupId=f;var g=this.tracks.filter(function(y){return!f||y.groupId===f});this.selectDefaultTrack&&!g.some(function(y){return y.default})&&(this.selectDefaultTrack=!1),this.tracksInGroup=g;var v={audioTracks:g};this.log("Updating audio tracks, "+g.length+' track(s) found in "'+f+'" group-id'),this.hls.trigger(b.Events.AUDIO_TRACKS_UPDATED,v),this.selectInitialTrack()}},a.onError=function(u,h){if(s.prototype.onError.call(this,u,h),h.fatal||!h.context)return;h.context.type===c.PlaylistContextType.AUDIO_TRACK&&h.context.id===this.trackId&&h.context.groupId===this.groupId&&this.retryLoadingOrFail(h)},a.setAudioTrack=function(u){var h=this.tracksInGroup;if(u<0||u>=h.length){this.warn("Invalid id passed to audio-track controller");return}this.clearTimer();var f=h[this.trackId];this.log("Now switching to audio-track index "+u);var g=h[u],v=g.id,y=g.groupId,E=y===void 0?"":y,T=g.name,w=g.type,S=g.url;if(this.trackId=u,this.trackName=T,this.selectDefaultTrack=!1,this.hls.trigger(b.Events.AUDIO_TRACK_SWITCHING,{id:v,groupId:E,name:T,type:w,url:S}),g.details&&!g.details.live)return;var I=this.switchParams(g.url,f==null?void 0:f.details);this.loadPlaylist(I)},a.selectInitialTrack=function(){var u=this.tracksInGroup;console.assert(u.length,"Initial audio track should be selected when tracks are known");var h=this.trackName,f=this.findTrackId(h)||this.findTrackId();f!==-1?this.setAudioTrack(f):(this.warn("No track found for running audio group-ID: "+this.groupId),this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.MEDIA_ERROR,details:m.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,fatal:!0}))},a.findTrackId=function(u){for(var h=this.tracksInGroup,f=0;f<h.length;f++){var g=h[f];if((!this.selectDefaultTrack||g.default)&&(!u||u===g.name))return g.id}return-1},a.loadPlaylist=function(u){var h=this.tracksInGroup[this.trackId];if(this.shouldLoadTrack(h)){var f=h.id,g=h.groupId,v=h.url;if(u)try{v=u.addDirectives(v)}catch(y){this.warn("Could not construct new URL with HLS Delivery Directives: "+y)}this.log("loading audio-track playlist for id: "+f),this.clearTimer(),this.hls.trigger(b.Events.AUDIO_TRACK_LOADING,{url:v,id:f,groupId:g,deliveryDirectives:u||null})}},r(e,[{key:"audioTracks",get:function(){return this.tracksInGroup}},{key:"audioTrack",get:function(){return this.trackId},set:function(u){this.selectDefaultTrack=!1,this.setAudioTrack(u)}}]),e}(p.default);C.default=t},"./src/controller/base-playlist-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return r});var b=A("./src/polyfills/number.ts"),m=A("./src/types/level.ts"),p=A("./src/controller/level-helper.ts"),c=A("./src/utils/logger.ts"),o=A("./src/errors.ts"),r=function(){function i(t,s){this.hls=void 0,this.timer=-1,this.canLoad=!1,this.retryCount=0,this.log=void 0,this.warn=void 0,this.log=c.logger.log.bind(c.logger,s+":"),this.warn=c.logger.warn.bind(c.logger,s+":"),this.hls=t}var n=i.prototype;return n.destroy=function(){this.clearTimer(),this.hls=this.log=this.warn=null},n.onError=function(s,e){e.fatal&&e.type===o.ErrorTypes.NETWORK_ERROR&&this.clearTimer()},n.clearTimer=function(){clearTimeout(this.timer),this.timer=-1},n.startLoad=function(){this.canLoad=!0,this.retryCount=0,this.loadPlaylist()},n.stopLoad=function(){this.canLoad=!1,this.clearTimer()},n.switchParams=function(s,e){var a=e==null?void 0:e.renditionReports;if(a)for(var l=0;l<a.length;l++){var u=a[l],h=""+u.URI;if(h===s.substr(-h.length)){var f=parseInt(u["LAST-MSN"]),g=parseInt(u["LAST-PART"]);if(e&&this.hls.config.lowLatencyMode){var v=Math.min(e.age-e.partTarget,e.targetduration);g!==void 0&&v>e.partTarget&&(g+=1)}if(Object(b.isFiniteNumber)(f))return new m.HlsUrlParameters(f,Object(b.isFiniteNumber)(g)?g:void 0,m.HlsSkip.No)}}},n.loadPlaylist=function(s){},n.shouldLoadTrack=function(s){return this.canLoad&&s&&!!s.url&&(!s.details||s.details.live)},n.playlistLoaded=function(s,e,a){var l=this,u=e.details,h=e.stats,f=h.loading.end?Math.max(0,self.performance.now()-h.loading.end):0;if(u.advancedDateTime=Date.now()-f,u.live||a!=null&&a.live){if(u.reloaded(a),a&&this.log("live playlist "+s+" "+(u.advanced?"REFRESHED "+u.lastPartSn+"-"+u.lastPartIndex:"MISSED")),a&&u.fragments.length>0&&Object(p.mergeDetails)(a,u),!this.canLoad||!u.live)return;var g,v=void 0,y=void 0;if(u.canBlockReload&&u.endSN&&u.advanced){var E=this.hls.config.lowLatencyMode,T=u.lastPartSn,w=u.endSN,S=u.lastPartIndex,I=S!==-1,L=T===w,O=E?0:S;I?(v=L?w+1:T,y=L?O:S+1):v=w+1;var N=u.age,R=N+u.ageHeader,D=Math.min(R-u.partTarget,u.targetduration*1.5);if(D>0){if(a&&D>a.tuneInGoal)this.warn("CDN Tune-in goal increased from: "+a.tuneInGoal+" to: "+D+" with playlist age: "+u.age),D=0;else{var B=Math.floor(D/u.targetduration);if(v+=B,y!==void 0){var M=Math.round(D%u.targetduration/u.partTarget);y+=M}this.log("CDN Tune-in age: "+u.ageHeader+"s last advanced "+N.toFixed(2)+"s goal: "+D+" skip sn "+B+" to part "+y)}u.tuneInGoal=D}if(g=this.getDeliveryDirectives(u,e.deliveryDirectives,v,y),E||!L){this.loadPlaylist(g);return}}else g=this.getDeliveryDirectives(u,e.deliveryDirectives,v,y);var U=Object(p.computeReloadInterval)(u,h);v!==void 0&&u.canBlockReload&&(U-=u.partTarget||1),this.log("reload live playlist "+s+" in "+Math.round(U)+" ms"),this.timer=self.setTimeout(function(){return l.loadPlaylist(g)},U)}else this.clearTimer()},n.getDeliveryDirectives=function(s,e,a,l){var u=Object(m.getSkipValue)(s,a);return e!=null&&e.skip&&s.deltaUpdateFailed&&(a=e.msn,l=e.part,u=m.HlsSkip.No),new m.HlsUrlParameters(a,l,u)},n.retryLoadingOrFail=function(s){var e=this,a=this.hls.config,l=this.retryCount<a.levelLoadingMaxRetry;if(l){var u;if(this.retryCount++,s.details.indexOf("LoadTimeOut")>-1&&(u=s.context)!==null&&u!==void 0&&u.deliveryDirectives)this.warn("retry playlist loading #"+this.retryCount+' after "'+s.details+'"'),this.loadPlaylist();else{var h=Math.min(Math.pow(2,this.retryCount)*a.levelLoadingRetryDelay,a.levelLoadingMaxRetryTimeout);this.timer=self.setTimeout(function(){return e.loadPlaylist()},h),this.warn("retry playlist loading #"+this.retryCount+" in "+h+' ms after "'+s.details+'"')}}else this.warn('cannot recover from error "'+s.details+'"'),this.clearTimer(),s.fatal=!0;return l},i}()},"./src/controller/base-stream-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"State",function(){return w}),A.d(C,"default",function(){return S});var b=A("./src/polyfills/number.ts"),m=A("./src/task-loop.ts"),p=A("./src/controller/fragment-tracker.ts"),c=A("./src/utils/buffer-helper.ts"),o=A("./src/utils/logger.ts"),r=A("./src/events.ts"),i=A("./src/errors.ts"),n=A("./src/types/transmuxer.ts"),t=A("./src/utils/mp4-tools.ts"),s=A("./src/utils/discontinuities.ts"),e=A("./src/controller/fragment-finders.ts"),a=A("./src/controller/level-helper.ts"),l=A("./src/loader/fragment-loader.ts"),u=A("./src/crypt/decrypter.ts"),h=A("./src/utils/time-ranges.ts"),f=A("./src/types/loader.ts");function g(I,L){for(var O=0;O<L.length;O++){var N=L[O];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(I,N.key,N)}}function v(I,L,O){return L&&g(I.prototype,L),O&&g(I,O),I}function y(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function E(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,T(I,L)}function T(I,L){return T=Object.setPrototypeOf||function(N,R){return N.__proto__=R,N},T(I,L)}var w={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",BACKTRACKING:"BACKTRACKING",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"},S=function(I){E(L,I);function L(N,R,D){var B;return B=I.call(this)||this,B.hls=void 0,B.fragPrevious=null,B.fragCurrent=null,B.fragmentTracker=void 0,B.transmuxer=null,B._state=w.STOPPED,B.media=void 0,B.mediaBuffer=void 0,B.config=void 0,B.bitrateTest=!1,B.lastCurrentTime=0,B.nextLoadPosition=0,B.startPosition=0,B.loadedmetadata=!1,B.fragLoadError=0,B.retryDate=0,B.levels=null,B.fragmentLoader=void 0,B.levelLastLoaded=null,B.startFragRequested=!1,B.decrypter=void 0,B.initPTS=[],B.onvseeking=null,B.onvended=null,B.logPrefix="",B.log=void 0,B.warn=void 0,B.logPrefix=D,B.log=o.logger.log.bind(o.logger,D+":"),B.warn=o.logger.warn.bind(o.logger,D+":"),B.hls=N,B.fragmentLoader=new l.default(N.config),B.fragmentTracker=R,B.config=N.config,B.decrypter=new u.default(N,N.config),N.on(r.Events.KEY_LOADED,B.onKeyLoaded,y(B)),B}var O=L.prototype;return O.doTick=function(){this.onTickEnd()},O.onTickEnd=function(){},O.startLoad=function(R){},O.stopLoad=function(){this.fragmentLoader.abort();var R=this.fragCurrent;R&&this.fragmentTracker.removeFragment(R),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=w.STOPPED},O._streamEnded=function(R,D){var B=this.fragCurrent,M=this.fragmentTracker;if(!D.live&&B&&B.sn>=D.endSN&&!R.nextStart){var U=D.partList;if(U!=null&&U.length){var F=U[U.length-1],j=c.BufferHelper.isBuffered(this.media,F.start+F.duration/2);return j}var W=M.getState(B);return W===p.FragmentState.PARTIAL||W===p.FragmentState.OK}return!1},O.onMediaAttached=function(R,D){var B=this.media=this.mediaBuffer=D.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),B.addEventListener("seeking",this.onvseeking),B.addEventListener("ended",this.onvended);var M=this.config;this.levels&&M.autoStartLoad&&this.state===w.STOPPED&&this.startLoad(M.startPosition)},O.onMediaDetaching=function(){var R=this.media;R!=null&&R.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),R&&(R.removeEventListener("seeking",this.onvseeking),R.removeEventListener("ended",this.onvended),this.onvseeking=this.onvended=null),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()},O.onMediaSeeking=function(){var R=this.config,D=this.fragCurrent,B=this.media,M=this.mediaBuffer,U=this.state,F=B?B.currentTime:0,j=c.BufferHelper.bufferInfo(M||B,F,R.maxBufferHole);if(this.log("media seeking to "+(Object(b.isFiniteNumber)(F)?F.toFixed(3):F)+", state: "+U),U===w.ENDED)this.resetLoadingState();else if(D&&!j.len){var W=R.maxFragLookUpTolerance,V=D.start-W,z=D.start+D.duration+W,Y=F>z;(F<V||Y)&&(Y&&D.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),D.loader.abort()),this.resetLoadingState())}B&&(this.lastCurrentTime=F),!this.loadedmetadata&&!j.len&&(this.nextLoadPosition=this.startPosition=F),this.tickImmediate()},O.onMediaEnded=function(){this.startPosition=this.lastCurrentTime=0},O.onKeyLoaded=function(R,D){if(this.state!==w.KEY_LOADING||D.frag!==this.fragCurrent||!this.levels)return;this.state=w.IDLE;var B=this.levels[D.frag.level].details;B&&this.loadFragment(D.frag,B,D.frag.start)},O.onHandlerDestroying=function(){this.stopLoad(),I.prototype.onHandlerDestroying.call(this)},O.onHandlerDestroyed=function(){this.state=w.STOPPED,this.hls.off(r.Events.KEY_LOADED,this.onKeyLoaded,this),this.fragmentLoader&&this.fragmentLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.fragmentLoader=this.fragmentTracker=null,I.prototype.onHandlerDestroyed.call(this)},O.loadKey=function(R,D){this.log("Loading key for "+R.sn+" of ["+D.startSN+"-"+D.endSN+"], "+(this.logPrefix==="[stream-controller]"?"level":"track")+" "+R.level),this.state=w.KEY_LOADING,this.fragCurrent=R,this.hls.trigger(r.Events.KEY_LOADING,{frag:R})},O.loadFragment=function(R,D,B){this._loadFragForPlayback(R,D,B)},O._loadFragForPlayback=function(R,D,B){var M=this,U=function(j){if(M.fragContextChanged(R)){M.warn("Fragment "+R.sn+(j.part?" p: "+j.part.index:"")+" of level "+R.level+" was dropped during download."),M.fragmentTracker.removeFragment(R);return}R.stats.chunkCount++,M._handleFragmentLoadProgress(j)};this._doFragLoad(R,D,B,U).then(function(F){if(!F)return;M.fragLoadError=0;var j=M.state;if(M.fragContextChanged(R)){(j===w.FRAG_LOADING||j===w.BACKTRACKING||!M.fragCurrent&&j===w.PARSING)&&(M.fragmentTracker.removeFragment(R),M.state=w.IDLE);return}if("payload"in F&&(M.log("Loaded fragment "+R.sn+" of level "+R.level),M.hls.trigger(r.Events.FRAG_LOADED,F),M.state===w.BACKTRACKING)){M.fragmentTracker.backtrack(R,F),M.resetFragmentLoading(R);return}M._handleFragmentLoadComplete(F)}).catch(function(F){M.warn(F),M.resetFragmentLoading(R)})},O.flushMainBuffer=function(R,D,B){if(B===void 0&&(B=null),!(R-D))return;var M={startOffset:R,endOffset:D,type:B};this.fragLoadError=0,this.hls.trigger(r.Events.BUFFER_FLUSHING,M)},O._loadInitSegment=function(R){var D=this;this._doFragLoad(R).then(function(B){if(!B||D.fragContextChanged(R)||!D.levels)throw new Error("init load aborted");return B}).then(function(B){var M=D.hls,U=B.payload,F=R.decryptdata;if(U&&U.byteLength>0&&F&&F.key&&F.iv&&F.method==="AES-128"){var j=self.performance.now();return D.decrypter.webCryptoDecrypt(new Uint8Array(U),F.key.buffer,F.iv.buffer).then(function(W){var V=self.performance.now();return M.trigger(r.Events.FRAG_DECRYPTED,{frag:R,payload:W,stats:{tstart:j,tdecrypt:V}}),B.payload=W,B})}return B}).then(function(B){var M=D.fragCurrent,U=D.hls,F=D.levels;if(!F)throw new Error("init load aborted, missing levels");var j=F[R.level].details;console.assert(j,"Level details are defined when init segment is loaded");var W=R.stats;D.state=w.IDLE,D.fragLoadError=0,R.data=new Uint8Array(B.payload),W.parsing.start=W.buffering.start=self.performance.now(),W.parsing.end=W.buffering.end=self.performance.now(),B.frag===M&&U.trigger(r.Events.FRAG_BUFFERED,{stats:W,frag:M,part:null,id:R.type}),D.tick()}).catch(function(B){D.warn(B),D.resetFragmentLoading(R)})},O.fragContextChanged=function(R){var D=this.fragCurrent;return!R||!D||R.level!==D.level||R.sn!==D.sn||R.urlId!==D.urlId},O.fragBufferedComplete=function(R,D){var B=this.mediaBuffer?this.mediaBuffer:this.media;this.log("Buffered "+R.type+" sn: "+R.sn+(D?" part: "+D.index:"")+" of "+(this.logPrefix==="[stream-controller]"?"level":"track")+" "+R.level+" "+h.default.toString(c.BufferHelper.getBuffered(B))),this.state=w.IDLE,this.tick()},O._handleFragmentLoadComplete=function(R){var D=this.transmuxer;if(!D)return;var B=R.frag,M=R.part,U=R.partsLoaded,F=!U||U.length===0||U.some(function(W){return!W}),j=new n.ChunkMetadata(B.level,B.sn,B.stats.chunkCount+1,0,M?M.index:-1,!F);D.flush(j)},O._handleFragmentLoadProgress=function(R){},O._doFragLoad=function(R,D,B,M){var U=this;if(B===void 0&&(B=null),!this.levels)throw new Error("frag load aborted, missing levels");if(B=Math.max(R.start,B||0),this.config.lowLatencyMode&&D){var F=D.partList;if(F&&M){B>R.end&&D.fragmentHint&&(R=D.fragmentHint);var j=this.getNextPart(F,R,B);if(j>-1){var W=F[j];return this.log("Loading part sn: "+R.sn+" p: "+W.index+" cc: "+R.cc+" of playlist ["+D.startSN+"-"+D.endSN+"] parts [0-"+j+"-"+(F.length-1)+"] "+(this.logPrefix==="[stream-controller]"?"level":"track")+": "+R.level+", target: "+parseFloat(B.toFixed(3))),this.nextLoadPosition=W.start+W.duration,this.state=w.FRAG_LOADING,this.hls.trigger(r.Events.FRAG_LOADING,{frag:R,part:F[j],targetBufferTime:B}),this.doFragPartsLoad(R,F,j,M).catch(function(V){return U.handleFragLoadError(V)})}else if(!R.url||this.loadedEndOfParts(F,B))return Promise.resolve(null)}}return this.log("Loading fragment "+R.sn+" cc: "+R.cc+" "+(D?"of ["+D.startSN+"-"+D.endSN+"] ":"")+(this.logPrefix==="[stream-controller]"?"level":"track")+": "+R.level+", target: "+parseFloat(B.toFixed(3))),Object(b.isFiniteNumber)(R.sn)&&!this.bitrateTest&&(this.nextLoadPosition=R.start+R.duration),this.state=w.FRAG_LOADING,this.hls.trigger(r.Events.FRAG_LOADING,{frag:R,targetBufferTime:B}),this.fragmentLoader.load(R,M).catch(function(V){return U.handleFragLoadError(V)})},O.doFragPartsLoad=function(R,D,B,M){var U=this;return new Promise(function(F,j){var W=[],V=function z(Y){var J=D[Y];U.fragmentLoader.loadPart(R,J,M).then(function(ie){W[J.index]=ie;var Z=ie.part;U.hls.trigger(r.Events.FRAG_LOADED,ie);var oe=D[Y+1];if(oe&&oe.fragment===R)z(Y+1);else return F({frag:R,part:Z,partsLoaded:W})}).catch(j)};V(B)})},O.handleFragLoadError=function(R){var D=R.data;return D&&D.details===i.ErrorDetails.INTERNAL_ABORTED?this.handleFragLoadAborted(D.frag,D.part):this.hls.trigger(r.Events.ERROR,D),null},O._handleTransmuxerFlush=function(R){var D=this.getCurrentContext(R);if(!D||this.state!==w.PARSING){this.fragCurrent||(this.state=w.IDLE);return}var B=D.frag,M=D.part,U=D.level,F=self.performance.now();B.stats.parsing.end=F,M&&(M.stats.parsing.end=F),this.updateLevelTiming(B,M,U,R.partial)},O.getCurrentContext=function(R){var D=this.levels,B=R.level,M=R.sn,U=R.part;if(!D||!D[B])return this.warn("Levels object was unset while buffering fragment "+M+" of level "+B+". The current chunk will not be buffered."),null;var F=D[B],j=U>-1?Object(a.getPartWith)(F,M,U):null,W=j?j.fragment:Object(a.getFragmentWithSN)(F,M,this.fragCurrent);return W?{frag:W,part:j,level:F}:null},O.bufferFragmentData=function(R,D,B,M){if(!R||this.state!==w.PARSING)return;var U=R.data1,F=R.data2,j=U;if(U&&F&&(j=Object(t.appendUint8Array)(U,F)),!j||!j.length)return;var W={type:R.type,frag:D,part:B,chunkMeta:M,parent:D.type,data:j};this.hls.trigger(r.Events.BUFFER_APPENDING,W),R.dropped&&R.independent&&!B&&this.flushBufferGap(D)},O.flushBufferGap=function(R){var D=this.media;if(!D)return;if(!c.BufferHelper.isBuffered(D,D.currentTime)){this.flushMainBuffer(0,R.start);return}var B=D.currentTime,M=c.BufferHelper.bufferInfo(D,B,0),U=R.duration,F=Math.min(this.config.maxFragLookUpTolerance*2,U*.25),j=Math.max(Math.min(R.start-F,M.end-F),B+F);R.start-j>F&&this.flushMainBuffer(j,R.start)},O.getFwdBufferInfo=function(R,D){var B=this.config,M=this.getLoadPosition();if(!Object(b.isFiniteNumber)(M))return null;var U=c.BufferHelper.bufferInfo(R,M,B.maxBufferHole);if(U.len===0&&U.nextStart!==void 0){var F=this.fragmentTracker.getBufferedFrag(M,D);if(F&&U.nextStart<F.end)return c.BufferHelper.bufferInfo(R,M,Math.max(U.nextStart,B.maxBufferHole))}return U},O.getMaxBufferLength=function(R){var D=this.config,B;return R?B=Math.max(8*D.maxBufferSize/R,D.maxBufferLength):B=D.maxBufferLength,Math.min(B,D.maxMaxBufferLength)},O.reduceMaxBufferLength=function(R){var D=this.config,B=R||D.maxBufferLength;return D.maxMaxBufferLength>=B?(D.maxMaxBufferLength/=2,this.warn("Reduce max buffer length to "+D.maxMaxBufferLength+"s"),!0):!1},O.getNextFragment=function(R,D){var B,M,U=D.fragments,F=U.length;if(!F)return null;var j=this.config,W=U[0].start,V;if(D.live){var z=j.initialLiveManifestSize;if(F<z)return this.warn("Not enough fragments to start playback (have: "+F+", need: "+z+")"),null;!D.PTSKnown&&!this.startFragRequested&&this.startPosition===-1&&(V=this.getInitialLiveFragment(D,U),this.startPosition=V?this.hls.liveSyncPosition||V.start:R)}else R<=W&&(V=U[0]);if(!V){var Y=j.lowLatencyMode?D.partEnd:D.fragmentEnd;V=this.getFragmentAtPosition(R,Y,D)}return(B=V)!==null&&B!==void 0&&B.initSegment&&!((M=V)!==null&&M!==void 0&&M.initSegment.data)&&!this.bitrateTest&&(V=V.initSegment),V},O.getNextPart=function(R,D,B){for(var M=-1,U=!1,F=!0,j=0,W=R.length;j<W;j++){var V=R[j];if(F=F&&!V.independent,M>-1&&B<V.start)break;var z=V.loaded;!z&&(U||V.independent||F)&&V.fragment===D&&(M=j),U=z}return M},O.loadedEndOfParts=function(R,D){var B=R[R.length-1];return B&&D>B.start&&B.loaded},O.getInitialLiveFragment=function(R,D){var B=this.fragPrevious,M=null;if(B){if(R.hasProgramDateTime&&(this.log("Live playlist, switching playlist, load frag with same PDT: "+B.programDateTime),M=Object(e.findFragmentByPDT)(D,B.endProgramDateTime,this.config.maxFragLookUpTolerance)),!M){var U=B.sn+1;if(U>=R.startSN&&U<=R.endSN){var F=D[U-R.startSN];B.cc===F.cc&&(M=F,this.log("Live playlist, switching playlist, load frag with next SN: "+M.sn))}M||(M=Object(e.findFragWithCC)(D,B.cc),M&&this.log("Live playlist, switching playlist, load frag with same CC: "+M.sn))}}else{var j=this.hls.liveSyncPosition;j!==null&&(M=this.getFragmentAtPosition(j,this.bitrateTest?R.fragmentEnd:R.edge,R))}return M},O.getFragmentAtPosition=function(R,D,B){var M=this.config,U=this.fragPrevious,F=B.fragments,j=B.endSN,W=B.fragmentHint,V=M.maxFragLookUpTolerance,z=!!(M.lowLatencyMode&&B.partList&&W);z&&W&&!this.bitrateTest&&(F=F.concat(W),j=W.sn);var Y;if(R<D){var J=R>D-V?0:V;Y=Object(e.findFragmentByPTS)(U,F,R,J)}else Y=F[F.length-1];if(Y){var ie=Y.sn-B.startSN,Z=U&&Y.level===U.level,oe=F[ie+1],ge=this.fragmentTracker.getState(Y);if(ge===p.FragmentState.BACKTRACKED){Y=null;for(var pe=ie;F[pe]&&this.fragmentTracker.getState(F[pe])===p.FragmentState.BACKTRACKED;)U?Y=F[pe--]:Y=F[--pe];Y||(Y=oe)}else U&&Y.sn===U.sn&&!z&&(Z&&(Y.sn<j&&this.fragmentTracker.getState(oe)!==p.FragmentState.OK?(this.log("SN "+Y.sn+" just loaded, load next one: "+oe.sn),Y=oe):Y=null))}return Y},O.synchronizeToLiveEdge=function(R){var D=this.config,B=this.media;if(!B)return;var M=this.hls.liveSyncPosition,U=B.currentTime,F=R.fragments[0].start,j=R.edge,W=U>=F-D.maxFragLookUpTolerance&&U<=j;if(M!==null&&B.duration>M&&(U<M||!W)){var V=D.liveMaxLatencyDuration!==void 0?D.liveMaxLatencyDuration:D.liveMaxLatencyDurationCount*R.targetduration;(!W&&B.readyState<4||U<j-V)&&(this.loadedmetadata||(this.nextLoadPosition=M),B.readyState&&(this.warn("Playback: "+U.toFixed(3)+" is located too far from the end of live sliding playlist: "+j+", reset currentTime to : "+M.toFixed(3)),B.currentTime=M))}},O.alignPlaylists=function(R,D){var B=this.levels,M=this.levelLastLoaded,U=this.fragPrevious,F=M!==null?B[M]:null,j=R.fragments.length;if(!j)return this.warn("No fragments in live playlist"),0;var W=R.fragments[0].start,V=!D,z=R.alignedSliding&&Object(b.isFiniteNumber)(W);if(V||!z&&!W){Object(s.alignStream)(U,F,R);var Y=R.fragments[0].start;return this.log("Live playlist sliding: "+Y.toFixed(2)+" start-sn: "+(D?D.startSN:"na")+"->"+R.startSN+" prev-sn: "+(U?U.sn:"na")+" fragments: "+j),Y}return W},O.waitForCdnTuneIn=function(R){var D=3;return R.live&&R.canBlockReload&&R.tuneInGoal>Math.max(R.partHoldBack,R.partTarget*D)},O.setStartPosition=function(R,D){var B=this.startPosition;if(B<D&&(B=-1),B===-1||this.lastCurrentTime===-1){var M=R.startTimeOffset;Object(b.isFiniteNumber)(M)?(B=D+M,M<0&&(B+=R.totalduration),B=Math.min(Math.max(D,B),D+R.totalduration),this.log("Start time offset "+M+" found in playlist, adjust startPosition to "+B),this.startPosition=B):R.live?B=this.hls.liveSyncPosition||D:this.startPosition=B=0,this.lastCurrentTime=B}this.nextLoadPosition=B},O.getLoadPosition=function(){var R=this.media,D=0;return this.loadedmetadata&&R?D=R.currentTime:this.nextLoadPosition&&(D=this.nextLoadPosition),D},O.handleFragLoadAborted=function(R,D){this.transmuxer&&R.sn!=="initSegment"&&R.stats.aborted&&(this.warn("Fragment "+R.sn+(D?" part"+D.index:"")+" of level "+R.level+" was aborted"),this.resetFragmentLoading(R))},O.resetFragmentLoading=function(R){(!this.fragCurrent||!this.fragContextChanged(R))&&(this.state=w.IDLE)},O.onFragmentOrKeyLoadError=function(R,D){if(D.fatal)return;var B=D.frag;if(!B||B.type!==R)return;var M=this.fragCurrent;console.assert(M&&B.sn===M.sn&&B.level===M.level&&B.urlId===M.urlId,"Frag load error must match current frag to retry");var U=this.config;if(this.fragLoadError+1<=U.fragLoadingMaxRetry){if(this.resetLiveStartWhenNotLoaded(B.level))return;var F=Math.min(Math.pow(2,this.fragLoadError)*U.fragLoadingRetryDelay,U.fragLoadingMaxRetryTimeout);this.warn("Fragment "+B.sn+" of "+R+" "+B.level+" failed to load, retrying in "+F+"ms"),this.retryDate=self.performance.now()+F,this.fragLoadError++,this.state=w.FRAG_LOADING_WAITING_RETRY}else D.levelRetry?(R===f.PlaylistLevelType.AUDIO&&(this.fragCurrent=null),this.fragLoadError=0,this.state=w.IDLE):(o.logger.error(D.details+" reaches max retry, redispatch as fatal ..."),D.fatal=!0,this.hls.stopLoad(),this.state=w.ERROR)},O.afterBufferFlushed=function(R,D,B){if(!R)return;var M=c.BufferHelper.getBuffered(R);this.fragmentTracker.detectEvictedFragments(D,M,B),this.state===w.ENDED&&this.resetLoadingState()},O.resetLoadingState=function(){this.fragCurrent=null,this.fragPrevious=null,this.state=w.IDLE},O.resetLiveStartWhenNotLoaded=function(R){if(!this.loadedmetadata){this.startFragRequested=!1;var D=this.levels?this.levels[R].details:null;if(D!=null&&D.live)return this.startPosition=-1,this.setStartPosition(D,0),this.resetLoadingState(),!0;this.nextLoadPosition=this.startPosition}return!1},O.updateLevelTiming=function(R,D,B,M){var U=this,F=B.details;console.assert(!!F,"level.details must be defined");var j=Object.keys(R.elementaryStreams).reduce(function(W,V){var z=R.elementaryStreams[V];if(z){var Y=z.endPTS-z.startPTS;if(Y<=0)return U.warn("Could not parse fragment "+R.sn+" "+V+" duration reliably ("+Y+") resetting transmuxer to fallback to playlist timing"),U.resetTransmuxer(),W||!1;var J=M?0:Object(a.updateFragPTSDTS)(F,R,z.startPTS,z.endPTS,z.startDTS,z.endDTS);return U.hls.trigger(r.Events.LEVEL_PTS_UPDATED,{details:F,level:B,drift:J,type:V,frag:R,start:z.startPTS,end:z.endPTS}),!0}return W},!1);j?(this.state=w.PARSED,this.hls.trigger(r.Events.FRAG_PARSED,{frag:R,part:D})):this.resetLoadingState()},O.resetTransmuxer=function(){this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null)},v(L,[{key:"state",get:function(){return this._state},set:function(R){var D=this._state;D!==R&&(this._state=R,this.log(D+"->"+R))}}]),L}(m.default)},"./src/controller/buffer-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return e});var b=A("./src/polyfills/number.ts"),m=A("./src/events.ts"),p=A("./src/utils/logger.ts"),c=A("./src/errors.ts"),o=A("./src/utils/buffer-helper.ts"),r=A("./src/utils/mediasource-helper.ts"),i=A("./src/loader/fragment.ts"),n=A("./src/controller/buffer-operation-queue.ts"),t=Object(r.getMediaSource)(),s=/([ha]vc.)(?:\.[^.,]+)+/,e=function(){function a(u){var h=this;this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.appendError=0,this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this._onMediaSourceOpen=function(){var f=h.hls,g=h.media,v=h.mediaSource;p.logger.log("[buffer-controller]: Media source opened"),g&&(h.updateMediaElementDuration(),f.trigger(m.Events.MEDIA_ATTACHED,{media:g})),v&&v.removeEventListener("sourceopen",h._onMediaSourceOpen),h.checkPendingTracks()},this._onMediaSourceClose=function(){p.logger.log("[buffer-controller]: Media source closed")},this._onMediaSourceEnded=function(){p.logger.log("[buffer-controller]: Media source ended")},this.hls=u,this._initSourceBuffer(),this.registerListeners()}var l=a.prototype;return l.hasSourceTypes=function(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0},l.destroy=function(){this.unregisterListeners(),this.details=null},l.registerListeners=function(){var h=this.hls;h.on(m.Events.MEDIA_ATTACHING,this.onMediaAttaching,this),h.on(m.Events.MEDIA_DETACHING,this.onMediaDetaching,this),h.on(m.Events.MANIFEST_PARSED,this.onManifestParsed,this),h.on(m.Events.BUFFER_RESET,this.onBufferReset,this),h.on(m.Events.BUFFER_APPENDING,this.onBufferAppending,this),h.on(m.Events.BUFFER_CODECS,this.onBufferCodecs,this),h.on(m.Events.BUFFER_EOS,this.onBufferEos,this),h.on(m.Events.BUFFER_FLUSHING,this.onBufferFlushing,this),h.on(m.Events.LEVEL_UPDATED,this.onLevelUpdated,this),h.on(m.Events.FRAG_PARSED,this.onFragParsed,this),h.on(m.Events.FRAG_CHANGED,this.onFragChanged,this)},l.unregisterListeners=function(){var h=this.hls;h.off(m.Events.MEDIA_ATTACHING,this.onMediaAttaching,this),h.off(m.Events.MEDIA_DETACHING,this.onMediaDetaching,this),h.off(m.Events.MANIFEST_PARSED,this.onManifestParsed,this),h.off(m.Events.BUFFER_RESET,this.onBufferReset,this),h.off(m.Events.BUFFER_APPENDING,this.onBufferAppending,this),h.off(m.Events.BUFFER_CODECS,this.onBufferCodecs,this),h.off(m.Events.BUFFER_EOS,this.onBufferEos,this),h.off(m.Events.BUFFER_FLUSHING,this.onBufferFlushing,this),h.off(m.Events.LEVEL_UPDATED,this.onLevelUpdated,this),h.off(m.Events.FRAG_PARSED,this.onFragParsed,this),h.off(m.Events.FRAG_CHANGED,this.onFragChanged,this)},l._initSourceBuffer=function(){this.sourceBuffer={},this.operationQueue=new n.default(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]}},l.onManifestParsed=function(h,f){var g=2;(f.audio&&!f.video||!f.altAudio)&&(g=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=g,this.details=null,p.logger.log(this.bufferCodecEventsExpected+" bufferCodec event(s) expected")},l.onMediaAttaching=function(h,f){var g=this.media=f.media;if(g&&t){var v=this.mediaSource=new t;v.addEventListener("sourceopen",this._onMediaSourceOpen),v.addEventListener("sourceended",this._onMediaSourceEnded),v.addEventListener("sourceclose",this._onMediaSourceClose),g.src=self.URL.createObjectURL(v),this._objectUrl=g.src}},l.onMediaDetaching=function(){var h=this.media,f=this.mediaSource,g=this._objectUrl;if(f){if(p.logger.log("[buffer-controller]: media source detaching"),f.readyState==="open")try{f.endOfStream()}catch(v){p.logger.warn("[buffer-controller]: onMediaDetaching: "+v.message+" while calling endOfStream")}this.onBufferReset(),f.removeEventListener("sourceopen",this._onMediaSourceOpen),f.removeEventListener("sourceended",this._onMediaSourceEnded),f.removeEventListener("sourceclose",this._onMediaSourceClose),h&&(g&&self.URL.revokeObjectURL(g),h.src===g?(h.removeAttribute("src"),h.load()):p.logger.warn("[buffer-controller]: media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(m.Events.MEDIA_DETACHED,void 0)},l.onBufferReset=function(){var h=this;this.getSourceBufferTypes().forEach(function(f){var g=h.sourceBuffer[f];try{g&&(h.removeBufferListeners(f),h.mediaSource&&h.mediaSource.removeSourceBuffer(g),h.sourceBuffer[f]=void 0)}catch(v){p.logger.warn("[buffer-controller]: Failed to reset the "+f+" buffer",v)}}),this._initSourceBuffer()},l.onBufferCodecs=function(h,f){var g=this,v=this.getSourceBufferTypes().length;if(Object.keys(f).forEach(function(y){if(v){var E=g.tracks[y];if(E&&typeof E.buffer.changeType=="function"){var T=f[y],w=T.codec,S=T.levelCodec,I=T.container,L=(E.levelCodec||E.codec).replace(s,"$1"),O=(S||w).replace(s,"$1");if(L!==O){var N=I+";codecs="+(S||w);g.appendChangeType(y,N)}}}else g.pendingTracks[y]=f[y]}),v)return;this.bufferCodecEventsExpected=Math.max(this.bufferCodecEventsExpected-1,0),this.mediaSource&&this.mediaSource.readyState==="open"&&this.checkPendingTracks()},l.appendChangeType=function(h,f){var g=this,v=this.operationQueue,y={execute:function(){var T=g.sourceBuffer[h];T&&(p.logger.log("[buffer-controller]: changing "+h+" sourceBuffer type to "+f),T.changeType(f)),v.shiftAndExecuteNext(h)},onStart:function(){},onComplete:function(){},onError:function(T){p.logger.warn("[buffer-controller]: Failed to change "+h+" SourceBuffer type",T)}};v.append(y,h)},l.onBufferAppending=function(h,f){var g=this,v=this.hls,y=this.operationQueue,E=this.tracks,T=f.data,w=f.type,S=f.frag,I=f.part,L=f.chunkMeta,O=L.buffering[w],N=self.performance.now();O.start=N;var R=S.stats.buffering,D=I?I.stats.buffering:null;R.start===0&&(R.start=N),D&&D.start===0&&(D.start=N);var B=E.audio,M=w==="audio"&&L.id===1&&(B==null?void 0:B.container)==="audio/mpeg",U={execute:function(){if(O.executeStart=self.performance.now(),M){var j=g.sourceBuffer[w];if(j){var W=S.start-j.timestampOffset;Math.abs(W)>=.1&&(p.logger.log("[buffer-controller]: Updating audio SourceBuffer timestampOffset to "+S.start+" (delta: "+W+") sn: "+S.sn+")"),j.timestampOffset=S.start)}}g.appendExecutor(T,w)},onStart:function(){},onComplete:function(){var j=self.performance.now();O.executeEnd=O.end=j,R.first===0&&(R.first=j),D&&D.first===0&&(D.first=j);var W=g.sourceBuffer,V={};for(var z in W)V[z]=o.BufferHelper.getBuffered(W[z]);g.appendError=0,g.hls.trigger(m.Events.BUFFER_APPENDED,{type:w,frag:S,part:I,chunkMeta:L,parent:S.type,timeRanges:V})},onError:function(j){p.logger.error("[buffer-controller]: Error encountered while trying to append to the "+w+" SourceBuffer",j);var W={type:c.ErrorTypes.MEDIA_ERROR,parent:S.type,details:c.ErrorDetails.BUFFER_APPEND_ERROR,err:j,fatal:!1};j.code===DOMException.QUOTA_EXCEEDED_ERR?W.details=c.ErrorDetails.BUFFER_FULL_ERROR:(g.appendError++,W.details=c.ErrorDetails.BUFFER_APPEND_ERROR,g.appendError>v.config.appendErrorMaxRetry&&(p.logger.error("[buffer-controller]: Failed "+v.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),W.fatal=!0)),v.trigger(m.Events.ERROR,W)}};y.append(U,w)},l.onBufferFlushing=function(h,f){var g=this,v=this.operationQueue,y=function(T){return{execute:g.removeExecutor.bind(g,T,f.startOffset,f.endOffset),onStart:function(){},onComplete:function(){g.hls.trigger(m.Events.BUFFER_FLUSHED,{type:T})},onError:function(S){p.logger.warn("[buffer-controller]: Failed to remove from "+T+" SourceBuffer",S)}}};f.type?v.append(y(f.type),f.type):this.getSourceBufferTypes().forEach(function(E){v.append(y(E),E)})},l.onFragParsed=function(h,f){var g=this,v=f.frag,y=f.part,E=[],T=y?y.elementaryStreams:v.elementaryStreams;T[i.ElementaryStreamTypes.AUDIOVIDEO]?E.push("audiovideo"):(T[i.ElementaryStreamTypes.AUDIO]&&E.push("audio"),T[i.ElementaryStreamTypes.VIDEO]&&E.push("video"));var w=function(){var I=self.performance.now();v.stats.buffering.end=I,y&&(y.stats.buffering.end=I);var L=y?y.stats:v.stats;g.hls.trigger(m.Events.FRAG_BUFFERED,{frag:v,part:y,stats:L,id:v.type})};E.length===0&&p.logger.warn("Fragments must have at least one ElementaryStreamType set. type: "+v.type+" level: "+v.level+" sn: "+v.sn),this.blockBuffers(w,E)},l.onFragChanged=function(h,f){this.flushBackBuffer()},l.onBufferEos=function(h,f){var g=this,v=this.getSourceBufferTypes().reduce(function(y,E){var T=g.sourceBuffer[E];return(!f.type||f.type===E)&&(T&&!T.ended&&(T.ended=!0,p.logger.log("[buffer-controller]: "+E+" sourceBuffer now EOS"))),y&&!!(!T||T.ended)},!0);v&&this.blockBuffers(function(){var y=g.mediaSource;if(!y||y.readyState!=="open")return;y.endOfStream()})},l.onLevelUpdated=function(h,f){var g=f.details;if(!g.fragments.length)return;this.details=g,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration()},l.flushBackBuffer=function(){var h=this.hls,f=this.details,g=this.media,v=this.sourceBuffer;if(!g||f===null)return;var y=this.getSourceBufferTypes();if(!y.length)return;var E=f.live&&h.config.liveBackBufferLength!==null?h.config.liveBackBufferLength:h.config.backBufferLength;if(!Object(b.isFiniteNumber)(E)||E<0)return;var T=g.currentTime,w=f.levelTargetDuration,S=Math.max(E,w),I=Math.floor(T/w)*w-S;y.forEach(function(L){var O=v[L];if(O){var N=o.BufferHelper.getBuffered(O);N.length>0&&I>N.start(0)&&(h.trigger(m.Events.BACK_BUFFER_REACHED,{bufferEnd:I}),f.live&&h.trigger(m.Events.LIVE_BACK_BUFFER_REACHED,{bufferEnd:I}),h.trigger(m.Events.BUFFER_FLUSHING,{startOffset:0,endOffset:I,type:L}))}})},l.updateMediaElementDuration=function(){if(!this.details||!this.media||!this.mediaSource||this.mediaSource.readyState!=="open")return;var h=this.details,f=this.hls,g=this.media,v=this.mediaSource,y=h.fragments[0].start+h.totalduration,E=g.duration,T=Object(b.isFiniteNumber)(v.duration)?v.duration:0;h.live&&f.config.liveDurationInfinity?(p.logger.log("[buffer-controller]: Media Source duration is set to Infinity"),v.duration=Infinity,this.updateSeekableRange(h)):(y>T&&y>E||!Object(b.isFiniteNumber)(E))&&(p.logger.log("[buffer-controller]: Updating Media Source duration to "+y.toFixed(3)),v.duration=y)},l.updateSeekableRange=function(h){var f=this.mediaSource,g=h.fragments,v=g.length;if(v&&h.live&&f!==null&&f!==void 0&&f.setLiveSeekableRange){var y=Math.max(0,g[0].start),E=Math.max(y,y+h.totalduration);f.setLiveSeekableRange(y,E)}},l.checkPendingTracks=function(){var h=this.bufferCodecEventsExpected,f=this.operationQueue,g=this.pendingTracks,v=Object.keys(g).length;if(v&&!h||v===2){this.createSourceBuffers(g),this.pendingTracks={};var y=this.getSourceBufferTypes();if(y.length===0){this.hls.trigger(m.Events.ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:c.ErrorDetails.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,reason:"could not create source buffer for media codec(s)"});return}y.forEach(function(E){f.executeNext(E)})}},l.createSourceBuffers=function(h){var f=this.sourceBuffer,g=this.mediaSource;if(!g)throw Error("createSourceBuffers called when mediaSource was null");var v=0;for(var y in h)if(!f[y]){var E=h[y];if(!E)throw Error("source buffer exists for track "+y+", however track does not");var T=E.levelCodec||E.codec,w=E.container+";codecs="+T;p.logger.log("[buffer-controller]: creating sourceBuffer("+w+")");try{var S=f[y]=g.addSourceBuffer(w),I=y;this.addBufferListener(I,"updatestart",this._onSBUpdateStart),this.addBufferListener(I,"updateend",this._onSBUpdateEnd),this.addBufferListener(I,"error",this._onSBUpdateError),this.tracks[y]={buffer:S,codec:T,container:E.container,levelCodec:E.levelCodec,id:E.id},v++}catch(L){p.logger.error("[buffer-controller]: error while trying to add sourceBuffer: "+L.message),this.hls.trigger(m.Events.ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:c.ErrorDetails.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:L,mimeType:w})}}v&&this.hls.trigger(m.Events.BUFFER_CREATED,{tracks:this.tracks})},l._onSBUpdateStart=function(h){var f=this.operationQueue,g=f.current(h);g.onStart()},l._onSBUpdateEnd=function(h){var f=this.operationQueue,g=f.current(h);g.onComplete(),f.shiftAndExecuteNext(h)},l._onSBUpdateError=function(h,f){p.logger.error("[buffer-controller]: "+h+" SourceBuffer error",f),this.hls.trigger(m.Events.ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:c.ErrorDetails.BUFFER_APPENDING_ERROR,fatal:!1});var g=this.operationQueue.current(h);g&&g.onError(f)},l.removeExecutor=function(h,f,g){var v=this.media,y=this.mediaSource,E=this.operationQueue,T=this.sourceBuffer,w=T[h];if(!v||!y||!w){p.logger.warn("[buffer-controller]: Attempting to remove from the "+h+" SourceBuffer, but it does not exist"),E.shiftAndExecuteNext(h);return}var S=Object(b.isFiniteNumber)(v.duration)?v.duration:Infinity,I=Object(b.isFiniteNumber)(y.duration)?y.duration:Infinity,L=Math.max(0,f),O=Math.min(g,S,I);O>L?(p.logger.log("[buffer-controller]: Removing ["+L+","+O+"] from the "+h+" SourceBuffer"),console.assert(!w.updating,h+" sourceBuffer must not be updating"),w.remove(L,O)):E.shiftAndExecuteNext(h)},l.appendExecutor=function(h,f){var g=this.operationQueue,v=this.sourceBuffer,y=v[f];if(!y){p.logger.warn("[buffer-controller]: Attempting to append to the "+f+" SourceBuffer, but it does not exist"),g.shiftAndExecuteNext(f);return}y.ended=!1,console.assert(!y.updating,f+" sourceBuffer must not be updating"),y.appendBuffer(h)},l.blockBuffers=function(h,f){var g=this;if(f===void 0&&(f=this.getSourceBufferTypes()),!f.length){p.logger.log("[buffer-controller]: Blocking operation requested, but no SourceBuffers exist"),Promise.resolve(h);return}var v=this.operationQueue,y=f.map(function(E){return v.appendBlocker(E)});Promise.all(y).then(function(){h(),f.forEach(function(E){var T=g.sourceBuffer[E];(!T||!T.updating)&&v.shiftAndExecuteNext(E)})})},l.getSourceBufferTypes=function(){return Object.keys(this.sourceBuffer)},l.addBufferListener=function(h,f,g){var v=this.sourceBuffer[h];if(!v)return;var y=g.bind(this,h);this.listeners[h].push({event:f,listener:y}),v.addEventListener(f,y)},l.removeBufferListeners=function(h){var f=this.sourceBuffer[h];if(!f)return;this.listeners[h].forEach(function(g){f.removeEventListener(g.event,g.listener)})},a}()},"./src/controller/buffer-operation-queue.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return m});var b=A("./src/utils/logger.ts"),m=function(){function p(o){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=o}var c=p.prototype;return c.append=function(r,i){var n=this.queues[i];n.push(r),n.length===1&&this.buffers[i]&&this.executeNext(i)},c.insertAbort=function(r,i){var n=this.queues[i];n.unshift(r),this.executeNext(i)},c.appendBlocker=function(r){var i,n=new Promise(function(s){i=s}),t={execute:i,onStart:function(){},onComplete:function(){},onError:function(){}};return this.append(t,r),n},c.executeNext=function(r){var i=this.buffers,n=this.queues,t=i[r],s=n[r];if(s.length){var e=s[0];try{e.execute()}catch(a){b.logger.warn("[buffer-operation-queue]: Unhandled exception executing the current operation"),e.onError(a),(!t||!t.updating)&&(s.shift(),this.executeNext(r))}}},c.shiftAndExecuteNext=function(r){this.queues[r].shift(),this.executeNext(r)},c.current=function(r){return this.queues[r][0]},p}()},"./src/controller/cap-level-controller.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/events.ts");function m(o,r){for(var i=0;i<r.length;i++){var n=r[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(o,n.key,n)}}function p(o,r,i){return r&&m(o.prototype,r),i&&m(o,i),o}var c=function(){function o(i){this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.hls=void 0,this.streamController=void 0,this.clientRect=void 0,this.hls=i,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}var r=o.prototype;return r.setStreamController=function(n){this.streamController=n},r.destroy=function(){this.unregisterListener(),this.hls.config.capLevelToPlayerSize&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null},r.registerListeners=function(){var n=this.hls;n.on(b.Events.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),n.on(b.Events.MEDIA_ATTACHING,this.onMediaAttaching,this),n.on(b.Events.MANIFEST_PARSED,this.onManifestParsed,this),n.on(b.Events.BUFFER_CODECS,this.onBufferCodecs,this),n.on(b.Events.MEDIA_DETACHING,this.onMediaDetaching,this)},r.unregisterListener=function(){var n=this.hls;n.off(b.Events.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),n.off(b.Events.MEDIA_ATTACHING,this.onMediaAttaching,this),n.off(b.Events.MANIFEST_PARSED,this.onManifestParsed,this),n.off(b.Events.BUFFER_CODECS,this.onBufferCodecs,this),n.off(b.Events.MEDIA_DETACHING,this.onMediaDetaching,this)},r.onFpsDropLevelCapping=function(n,t){o.isLevelAllowed(t.droppedLevel,this.restrictedLevels)&&this.restrictedLevels.push(t.droppedLevel)},r.onMediaAttaching=function(n,t){this.media=t.media instanceof HTMLVideoElement?t.media:null},r.onManifestParsed=function(n,t){var s=this.hls;this.restrictedLevels=[],this.firstLevel=t.firstLevel,s.config.capLevelToPlayerSize&&t.video&&this.startCapping()},r.onBufferCodecs=function(n,t){var s=this.hls;s.config.capLevelToPlayerSize&&t.video&&this.startCapping()},r.onMediaDetaching=function(){this.stopCapping()},r.detectPlayerSize=function(){if(this.media&&this.mediaHeight>0&&this.mediaWidth>0){var n=this.hls.levels;if(n.length){var t=this.hls;t.autoLevelCapping=this.getMaxLevel(n.length-1),t.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}},r.getMaxLevel=function(n){var t=this,s=this.hls.levels;if(!s.length)return-1;var e=s.filter(function(a,l){return o.isLevelAllowed(l,t.restrictedLevels)&&l<=n});return this.clientRect=null,o.getMaxLevelByMediaSize(e,this.mediaWidth,this.mediaHeight)},r.startCapping=function(){if(this.timer)return;this.autoLevelCapping=Number.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize()},r.stopCapping=function(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)},r.getDimensions=function(){if(this.clientRect)return this.clientRect;var n=this.media,t={width:0,height:0};if(n){var s=n.getBoundingClientRect();t.width=s.width,t.height=s.height,!t.width&&!t.height&&(t.width=s.right-s.left||n.width||0,t.height=s.bottom-s.top||n.height||0)}return this.clientRect=t,t},o.isLevelAllowed=function(n,t){return t===void 0&&(t=[]),t.indexOf(n)===-1},o.getMaxLevelByMediaSize=function(n,t,s){if(!n||!n.length)return-1;for(var e=function(f,g){return g?f.width!==g.width||f.height!==g.height:!0},a=n.length-1,l=0;l<n.length;l+=1){var u=n[l];if((u.width>=t||u.height>=s)&&e(u,n[l+1])){a=l;break}}return a},p(o,[{key:"mediaWidth",get:function(){return this.getDimensions().width*o.contentScaleFactor}},{key:"mediaHeight",get:function(){return this.getDimensions().height*o.contentScaleFactor}}],[{key:"contentScaleFactor",get:function(){var n=1;try{n=self.devicePixelRatio}catch(t){}return n}}]),o}();C.default=c},"./src/controller/cmcd-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return e});var b=A("./src/events.ts"),m=A("./src/types/cmcd.ts"),p=A("./src/utils/buffer-helper.ts"),c=A("./src/utils/logger.ts");function o(a,l){for(var u=0;u<l.length;u++){var h=l[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(a,h.key,h)}}function r(a,l,u){return l&&o(a.prototype,l),u&&o(a,u),a}function i(a,l){var u=typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(u)return(u=u.call(a)).next.bind(u);if(Array.isArray(a)||(u=n(a))||l&&a&&typeof a.length=="number"){u&&(a=u);var h=0;return function(){return h>=a.length?{done:!0}:{done:!1,value:a[h++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n(a,l){if(!a)return;if(typeof a=="string")return t(a,l);var u=Object.prototype.toString.call(a).slice(8,-1);if(u==="Object"&&a.constructor&&(u=a.constructor.name),u==="Map"||u==="Set")return Array.from(a);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return t(a,l)}function t(a,l){(l==null||l>a.length)&&(l=a.length);for(var u=0,h=new Array(l);u<l;u++)h[u]=a[u];return h}function s(){return s=Object.assign||function(a){for(var l=1;l<arguments.length;l++){var u=arguments[l];for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(a[h]=u[h])}return a},s.apply(this,arguments)}var e=function(){function a(u){var h=this;this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=function(){h.initialized&&(h.starved=!0),h.buffering=!0},this.onPlaying=function(){h.initialized||(h.initialized=!0),h.buffering=!1},this.applyPlaylistData=function(v){try{h.apply(v,{ot:m.CMCDObjectType.MANIFEST,su:!h.initialized})}catch(y){c.logger.warn("Could not generate manifest CMCD data.",y)}},this.applyFragmentData=function(v){try{var y=v.frag,E=h.hls.levels[y.level],T=h.getObjectType(y),w={d:y.duration*1e3,ot:T};(T===m.CMCDObjectType.VIDEO||T===m.CMCDObjectType.AUDIO||T==m.CMCDObjectType.MUXED)&&(w.br=E.bitrate/1e3,w.tb=h.getTopBandwidth(T)/1e3,w.bl=h.getBufferLength(T)),h.apply(v,w)}catch(S){c.logger.warn("Could not generate segment CMCD data.",S)}},this.hls=u;var f=this.config=u.config,g=f.cmcd;g!=null&&(f.pLoader=this.createPlaylistLoader(),f.fLoader=this.createFragmentLoader(),this.sid=g.sessionId||a.uuid(),this.cid=g.contentId,this.useHeaders=g.useHeaders===!0,this.registerListeners())}var l=a.prototype;return l.registerListeners=function(){var h=this.hls;h.on(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),h.on(b.Events.MEDIA_DETACHED,this.onMediaDetached,this),h.on(b.Events.BUFFER_CREATED,this.onBufferCreated,this)},l.unregisterListeners=function(){var h=this.hls;h.off(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),h.off(b.Events.MEDIA_DETACHED,this.onMediaDetached,this),h.off(b.Events.BUFFER_CREATED,this.onBufferCreated,this),this.onMediaDetached()},l.destroy=function(){this.unregisterListeners(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null},l.onMediaAttached=function(h,f){this.media=f.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)},l.onMediaDetached=function(){if(!this.media)return;this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null},l.onBufferCreated=function(h,f){var g,v;this.audioBuffer=(g=f.tracks.audio)===null||g===void 0?void 0:g.buffer,this.videoBuffer=(v=f.tracks.video)===null||v===void 0?void 0:v.buffer},l.createData=function(){var h;return{v:m.CMCDVersion,sf:m.CMCDStreamingFormat.HLS,sid:this.sid,cid:this.cid,pr:(h=this.media)===null||h===void 0?void 0:h.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}},l.apply=function(h,f){f===void 0&&(f={}),s(f,this.createData());var g=f.ot===m.CMCDObjectType.INIT||f.ot===m.CMCDObjectType.VIDEO||f.ot===m.CMCDObjectType.MUXED;if(this.starved&&g&&(f.bs=!0,f.su=!0,this.starved=!1),f.su==null&&(f.su=this.buffering),this.useHeaders){var v=a.toHeaders(f);if(!Object.keys(v).length)return;h.headers||(h.headers={}),s(h.headers,v)}else{var y=a.toQuery(f);if(!y)return;h.url=a.appendQueryToUri(h.url,y)}},l.getObjectType=function(h){var f=h.type;return f==="subtitle"?m.CMCDObjectType.TIMED_TEXT:h.sn==="initSegment"?m.CMCDObjectType.INIT:f==="audio"?m.CMCDObjectType.AUDIO:f==="main"?this.hls.audioTracks.length?m.CMCDObjectType.VIDEO:m.CMCDObjectType.MUXED:void 0},l.getTopBandwidth=function(h){var f=0,g,v=this.hls;if(h===m.CMCDObjectType.AUDIO)g=v.audioTracks;else{var y=v.maxAutoLevel,E=y>-1?y+1:v.levels.length;g=v.levels.slice(0,E)}for(var T=i(g),w;!(w=T()).done;){var S=w.value;S.bitrate>f&&(f=S.bitrate)}return f>0?f:NaN},l.getBufferLength=function(h){var f=this.hls.media,g=h===m.CMCDObjectType.AUDIO?this.audioBuffer:this.videoBuffer;if(!g||!f)return NaN;var v=p.BufferHelper.bufferInfo(g,f.currentTime,this.config.maxBufferHole);return v.len*1e3},l.createPlaylistLoader=function(){var h=this.config.pLoader,f=this.applyPlaylistData,g=h||this.config.loader;return function(){function v(E){this.loader=void 0,this.loader=new g(E)}var y=v.prototype;return y.destroy=function(){this.loader.destroy()},y.abort=function(){this.loader.abort()},y.load=function(T,w,S){f(T),this.loader.load(T,w,S)},r(v,[{key:"stats",get:function(){return this.loader.stats}},{key:"context",get:function(){return this.loader.context}}]),v}()},l.createFragmentLoader=function(){var h=this.config.fLoader,f=this.applyFragmentData,g=h||this.config.loader;return function(){function v(E){this.loader=void 0,this.loader=new g(E)}var y=v.prototype;return y.destroy=function(){this.loader.destroy()},y.abort=function(){this.loader.abort()},y.load=function(T,w,S){f(T),this.loader.load(T,w,S)},r(v,[{key:"stats",get:function(){return this.loader.stats}},{key:"context",get:function(){return this.loader.context}}]),v}()},a.uuid=function(){var h=URL.createObjectURL(new Blob),f=h.toString();return URL.revokeObjectURL(h),f.substr(f.lastIndexOf("/")+1)},a.serialize=function(h){for(var f=[],g=function(M){return!Number.isNaN(M)&&M!=null&&M!==""&&M!==!1},v=function(M){return Math.round(M)},y=function(M){return v(M/100)*100},E=function(M){return encodeURIComponent(M)},T={br:v,d:v,bl:y,dl:y,mtp:y,nor:E,rtp:y,tb:v},w=Object.keys(h||{}).sort(),S=i(w),I;!(I=S()).done;){var L=I.value,O=h[L];if(!g(O))continue;if(L==="v"&&O===1)continue;if(L=="pr"&&O===1)continue;var N=T[L];N&&(O=N(O));var R=typeof O,D=void 0;L==="ot"||L==="sf"||L==="st"?D=L+"="+O:R==="boolean"?D=L:R==="number"?D=L+"="+O:D=L+"="+JSON.stringify(O),f.push(D)}return f.join(",")},a.toHeaders=function(h){for(var f=Object.keys(h),g={},v=["Object","Request","Session","Status"],y=[{},{},{},{}],E={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3},T=0,w=f;T<w.length;T++){var S=w[T],I=E[S]!=null?E[S]:1;y[I][S]=h[S]}for(var L=0;L<y.length;L++){var O=a.serialize(y[L]);O&&(g["CMCD-"+v[L]]=O)}return g},a.toQuery=function(h){return"CMCD="+encodeURIComponent(a.serialize(h))},a.appendQueryToUri=function(h,f){if(!f)return h;var g=h.includes("?")?"&":"?";return""+h+g+f},a}()},"./src/controller/eme-controller.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/events.ts"),m=A("./src/errors.ts"),p=A("./src/utils/logger.ts"),c=A("./src/utils/mediakeys-helper.ts");function o(e,a){for(var l=0;l<a.length;l++){var u=a[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function r(e,a,l){return a&&o(e.prototype,a),l&&o(e,l),e}var i=3,n=function(a,l,u){var h={audioCapabilities:[],videoCapabilities:[]};return a.forEach(function(f){h.audioCapabilities.push({contentType:'audio/mp4; codecs="'+f+'"',robustness:u.audioRobustness||""})}),l.forEach(function(f){h.videoCapabilities.push({contentType:'video/mp4; codecs="'+f+'"',robustness:u.videoRobustness||""})}),[h]},t=function(a,l,u,h){switch(a){case c.KeySystems.WIDEVINE:return n(l,u,h);default:throw new Error("Unknown key-system: "+a)}},s=function(){function e(l){this.hls=void 0,this._widevineLicenseUrl=void 0,this._licenseXhrSetup=void 0,this._licenseResponseCallback=void 0,this._emeEnabled=void 0,this._requestMediaKeySystemAccess=void 0,this._drmSystemOptions=void 0,this._config=void 0,this._mediaKeysList=[],this._media=null,this._hasSetMediaKeys=!1,this._requestLicenseFailureCount=0,this.mediaKeysPromise=null,this._onMediaEncrypted=this.onMediaEncrypted.bind(this),this.hls=l,this._config=l.config,this._widevineLicenseUrl=this._config.widevineLicenseUrl,this._licenseXhrSetup=this._config.licenseXhrSetup,this._licenseResponseCallback=this._config.licenseResponseCallback,this._emeEnabled=this._config.emeEnabled,this._requestMediaKeySystemAccess=this._config.requestMediaKeySystemAccessFunc,this._drmSystemOptions=this._config.drmSystemOptions,this._registerListeners()}var a=e.prototype;return a.destroy=function(){this._unregisterListeners(),this.hls=this._onMediaEncrypted=null,this._requestMediaKeySystemAccess=null},a._registerListeners=function(){this.hls.on(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(b.Events.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(b.Events.MANIFEST_PARSED,this.onManifestParsed,this)},a._unregisterListeners=function(){this.hls.off(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(b.Events.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(b.Events.MANIFEST_PARSED,this.onManifestParsed,this)},a.getLicenseServerUrl=function(u){switch(u){case c.KeySystems.WIDEVINE:if(!this._widevineLicenseUrl)break;return this._widevineLicenseUrl}throw new Error('no license server URL configured for key-system "'+u+'"')},a._attemptKeySystemAccess=function(u,h,f){var g=this,v=t(u,h,f,this._drmSystemOptions);p.logger.log("Requesting encrypted media key-system access");var y=this.requestMediaKeySystemAccess(u,v);this.mediaKeysPromise=y.then(function(E){return g._onMediaKeySystemAccessObtained(u,E)}),y.catch(function(E){p.logger.error('Failed to obtain key-system "'+u+'" access:',E)})},a._onMediaKeySystemAccessObtained=function(u,h){var f=this;p.logger.log('Access for key-system "'+u+'" obtained');var g={mediaKeysSessionInitialized:!1,mediaKeySystemAccess:h,mediaKeySystemDomain:u};this._mediaKeysList.push(g);var v=Promise.resolve().then(function(){return h.createMediaKeys()}).then(function(y){return g.mediaKeys=y,p.logger.log('Media-keys created for key-system "'+u+'"'),f._onMediaKeysCreated(),y});return v.catch(function(y){p.logger.error("Failed to create media-keys:",y)}),v},a._onMediaKeysCreated=function(){var u=this;this._mediaKeysList.forEach(function(h){h.mediaKeysSession||(h.mediaKeysSession=h.mediaKeys.createSession(),u._onNewMediaKeySession(h.mediaKeysSession))})},a._onNewMediaKeySession=function(u){var h=this;p.logger.log("New key-system session "+u.sessionId),u.addEventListener("message",function(f){h._onKeySessionMessage(u,f.message)},!1)},a._onKeySessionMessage=function(u,h){p.logger.log("Got EME message event, creating license request"),this._requestLicense(h,function(f){p.logger.log("Received license data (length: "+(f&&f.byteLength)+"), updating key-session"),u.update(f)})},a.onMediaEncrypted=function(u){var h=this;if(p.logger.log('Media is encrypted using "'+u.initDataType+'" init data type'),!this.mediaKeysPromise){p.logger.error("Fatal: Media is encrypted but no CDM access or no keys have been requested"),this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_NO_KEYS,fatal:!0});return}var f=function(v){if(!h._media)return;h._attemptSetMediaKeys(v),h._generateRequestWithPreferredKeySession(u.initDataType,u.initData)};this.mediaKeysPromise.then(f).catch(f)},a._attemptSetMediaKeys=function(u){if(!this._media)throw new Error("Attempted to set mediaKeys without first attaching a media element");if(!this._hasSetMediaKeys){var h=this._mediaKeysList[0];if(!h||!h.mediaKeys){p.logger.error("Fatal: Media is encrypted but no CDM access or no keys have been obtained yet"),this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_NO_KEYS,fatal:!0});return}p.logger.log("Setting keys for encrypted media"),this._media.setMediaKeys(h.mediaKeys),this._hasSetMediaKeys=!0}},a._generateRequestWithPreferredKeySession=function(u,h){var f=this,g=this._mediaKeysList[0];if(!g){p.logger.error("Fatal: Media is encrypted but not any key-system access has been obtained yet"),this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_NO_ACCESS,fatal:!0});return}if(g.mediaKeysSessionInitialized){p.logger.warn("Key-Session already initialized but requested again");return}var v=g.mediaKeysSession;if(!v){p.logger.error("Fatal: Media is encrypted but no key-session existing"),this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_NO_SESSION,fatal:!0});return}if(!h){p.logger.warn("Fatal: initData required for generating a key session is null"),this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_NO_INIT_DATA,fatal:!0});return}p.logger.log('Generating key-session request for "'+u+'" init data type'),g.mediaKeysSessionInitialized=!0,v.generateRequest(u,h).then(function(){p.logger.debug("Key-session generation succeeded")}).catch(function(y){p.logger.error("Error generating key-session request:",y),f.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_NO_SESSION,fatal:!1})})},a._createLicenseXhr=function(u,h,f){var g=new XMLHttpRequest;g.responseType="arraybuffer",g.onreadystatechange=this._onLicenseRequestReadyStageChange.bind(this,g,u,h,f);var v=this._licenseXhrSetup;if(v)try{v.call(this.hls,g,u),v=void 0}catch(y){p.logger.error(y)}try{g.readyState||g.open("POST",u,!0),v&&v.call(this.hls,g,u)}catch(y){throw new Error("issue setting up KeySystem license XHR "+y)}return g},a._onLicenseRequestReadyStageChange=function(u,h,f,g){switch(u.readyState){case 4:if(u.status===200){this._requestLicenseFailureCount=0,p.logger.log("License request succeeded");var v=u.response,y=this._licenseResponseCallback;if(y)try{v=y.call(this.hls,u,h)}catch(T){p.logger.error(T)}g(v)}else{if(p.logger.error("License Request XHR failed ("+h+"). Status: "+u.status+" ("+u.statusText+")"),this._requestLicenseFailureCount++,this._requestLicenseFailureCount>i){this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0});return}var E=i-this._requestLicenseFailureCount+1;p.logger.warn("Retrying license request, "+E+" attempts left"),this._requestLicense(f,g)}break}},a._generateLicenseRequestChallenge=function(u,h){switch(u.mediaKeySystemDomain){case c.KeySystems.WIDEVINE:return h}throw new Error("unsupported key-system: "+u.mediaKeySystemDomain)},a._requestLicense=function(u,h){p.logger.log("Requesting content license for key-system");var f=this._mediaKeysList[0];if(!f){p.logger.error("Fatal error: Media is encrypted but no key-system access has been obtained yet"),this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_NO_ACCESS,fatal:!0});return}try{var g=this.getLicenseServerUrl(f.mediaKeySystemDomain),v=this._createLicenseXhr(g,u,h);p.logger.log("Sending license request to URL: "+g);var y=this._generateLicenseRequestChallenge(f,u);v.send(y)}catch(E){p.logger.error("Failure requesting DRM license: "+E),this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.KEY_SYSTEM_ERROR,details:m.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})}},a.onMediaAttached=function(u,h){if(!this._emeEnabled)return;var f=h.media;this._media=f,f.addEventListener("encrypted",this._onMediaEncrypted)},a.onMediaDetached=function(){var u=this._media,h=this._mediaKeysList;if(!u)return;u.removeEventListener("encrypted",this._onMediaEncrypted),this._media=null,this._mediaKeysList=[],Promise.all(h.map(function(f){if(f.mediaKeysSession)return f.mediaKeysSession.close().catch(function(){})})).then(function(){return u.setMediaKeys(null)}).catch(function(){})},a.onManifestParsed=function(u,h){if(!this._emeEnabled)return;var f=h.levels.map(function(v){return v.audioCodec}).filter(function(v){return!!v}),g=h.levels.map(function(v){return v.videoCodec}).filter(function(v){return!!v});this._attemptKeySystemAccess(c.KeySystems.WIDEVINE,f,g)},r(e,[{key:"requestMediaKeySystemAccess",get:function(){if(!this._requestMediaKeySystemAccess)throw new Error("No requestMediaKeySystemAccess function configured");return this._requestMediaKeySystemAccess}}]),e}();C.default=s},"./src/controller/fps-controller.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/events.ts"),m=A("./src/utils/logger.ts"),p=function(){function c(r){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=r,this.registerListeners()}var o=c.prototype;return o.setStreamController=function(i){this.streamController=i},o.registerListeners=function(){this.hls.on(b.Events.MEDIA_ATTACHING,this.onMediaAttaching,this)},o.unregisterListeners=function(){this.hls.off(b.Events.MEDIA_ATTACHING,this.onMediaAttaching)},o.destroy=function(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null},o.onMediaAttaching=function(i,n){var t=this.hls.config;if(t.capLevelOnFPSDrop){var s=n.media instanceof self.HTMLVideoElement?n.media:null;this.media=s,s&&typeof s.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),t.fpsDroppedMonitoringPeriod)}},o.checkFPS=function(i,n,t){var s=performance.now();if(n){if(this.lastTime){var e=s-this.lastTime,a=t-this.lastDroppedFrames,l=n-this.lastDecodedFrames,u=1e3*a/e,h=this.hls;if(h.trigger(b.Events.FPS_DROP,{currentDropped:a,currentDecoded:l,totalDroppedFrames:t}),u>0&&a>h.config.fpsDroppedMonitoringThreshold*l){var f=h.currentLevel;m.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+f),f>0&&(h.autoLevelCapping===-1||h.autoLevelCapping>=f)&&(f=f-1,h.trigger(b.Events.FPS_DROP_LEVEL_CAPPING,{level:f,droppedLevel:h.currentLevel}),h.autoLevelCapping=f,this.streamController.nextLevelSwitch())}}this.lastTime=s,this.lastDroppedFrames=t,this.lastDecodedFrames=n}},o.checkFPSInterval=function(){var i=this.media;if(i)if(this.isVideoPlaybackQualityAvailable){var n=i.getVideoPlaybackQuality();this.checkFPS(i,n.totalVideoFrames,n.droppedVideoFrames)}else this.checkFPS(i,i.webkitDecodedFrameCount,i.webkitDroppedFrameCount)},c}();C.default=p},"./src/controller/fragment-finders.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"findFragmentByPDT",function(){return p}),A.d(C,"findFragmentByPTS",function(){return c}),A.d(C,"fragmentWithinToleranceTest",function(){return o}),A.d(C,"pdtWithinToleranceTest",function(){return r}),A.d(C,"findFragWithCC",function(){return i});var b=A("./src/polyfills/number.ts"),m=A("./src/utils/binary-search.ts");function p(n,t,s){if(t===null||!Array.isArray(n)||!n.length||!Object(b.isFiniteNumber)(t))return null;var e=n[0].programDateTime;if(t<(e||0))return null;var a=n[n.length-1].endProgramDateTime;if(t>=(a||0))return null;s=s||0;for(var l=0;l<n.length;++l){var u=n[l];if(r(t,s,u))return u}return null}function c(n,t,s,e){s===void 0&&(s=0),e===void 0&&(e=0);var a=null;if(n?a=t[n.sn-t[0].sn+1]||null:s===0&&t[0].start===0&&(a=t[0]),a&&o(s,e,a)===0)return a;var l=m.default.search(t,o.bind(null,s,e));return l||a}function o(n,t,s){n===void 0&&(n=0),t===void 0&&(t=0);var e=Math.min(t,s.duration+(s.deltaPTS?s.deltaPTS:0));return s.start+s.duration-e<=n?1:s.start-e>n&&s.start?-1:0}function r(n,t,s){var e=Math.min(t,s.duration+(s.deltaPTS?s.deltaPTS:0))*1e3,a=s.endProgramDateTime||0;return a-e>n}function i(n,t){return m.default.search(n,function(s){return s.cc<t?1:s.cc>t?-1:0})}},"./src/controller/fragment-tracker.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"FragmentState",function(){return p}),A.d(C,"FragmentTracker",function(){return c});var b=A("./src/events.ts"),m=A("./src/types/loader.ts"),p;(function(i){i.NOT_LOADED="NOT_LOADED",i.BACKTRACKED="BACKTRACKED",i.APPENDING="APPENDING",i.PARTIAL="PARTIAL",i.OK="OK"})(p||(p={}));var c=function(){function i(t){this.activeFragment=null,this.activeParts=null,this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hls=t,this._registerListeners()}var n=i.prototype;return n._registerListeners=function(){var s=this.hls;s.on(b.Events.BUFFER_APPENDED,this.onBufferAppended,this),s.on(b.Events.FRAG_BUFFERED,this.onFragBuffered,this),s.on(b.Events.FRAG_LOADED,this.onFragLoaded,this)},n._unregisterListeners=function(){var s=this.hls;s.off(b.Events.BUFFER_APPENDED,this.onBufferAppended,this),s.off(b.Events.FRAG_BUFFERED,this.onFragBuffered,this),s.off(b.Events.FRAG_LOADED,this.onFragLoaded,this)},n.destroy=function(){this._unregisterListeners(),this.fragments=this.timeRanges=null},n.getAppendedFrag=function(s,e){if(e===m.PlaylistLevelType.MAIN){var a=this.activeFragment,l=this.activeParts;if(!a)return null;if(l)for(var u=l.length;u--;){var h=l[u],f=h?h.end:a.appendedPTS;if(h.start<=s&&f!==void 0&&s<=f)return u>9&&(this.activeParts=l.slice(u-9)),h}else if(a.start<=s&&a.appendedPTS!==void 0&&s<=a.appendedPTS)return a}return this.getBufferedFrag(s,e)},n.getBufferedFrag=function(s,e){for(var a=this.fragments,l=Object.keys(a),u=l.length;u--;){var h=a[l[u]];if((h==null?void 0:h.body.type)===e&&h.buffered){var f=h.body;if(f.start<=s&&s<=f.end)return f}}return null},n.detectEvictedFragments=function(s,e,a){var l=this;Object.keys(this.fragments).forEach(function(u){var h=l.fragments[u];if(!h)return;if(!h.buffered){h.body.type===a&&l.removeFragment(h.body);return}var f=h.range[s];if(!f)return;f.time.some(function(g){var v=!l.isTimeBuffered(g.startPTS,g.endPTS,e);return v&&l.removeFragment(h.body),v})})},n.detectPartialFragments=function(s){var e=this,a=this.timeRanges,l=s.frag,u=s.part;if(!a||l.sn==="initSegment")return;var h=r(l),f=this.fragments[h];if(!f)return;Object.keys(a).forEach(function(g){var v=l.elementaryStreams[g];if(!v)return;var y=a[g],E=u!==null||v.partial===!0;f.range[g]=e.getBufferedTimes(l,u,E,y)}),f.backtrack=f.loaded=null,Object.keys(f.range).length?f.buffered=!0:this.removeFragment(f.body)},n.fragBuffered=function(s){var e=r(s),a=this.fragments[e];a&&(a.backtrack=a.loaded=null,a.buffered=!0)},n.getBufferedTimes=function(s,e,a,l){for(var u={time:[],partial:a},h=e?e.start:s.start,f=e?e.end:s.end,g=s.minEndPTS||f,v=s.maxStartPTS||h,y=0;y<l.length;y++){var E=l.start(y)-this.bufferPadding,T=l.end(y)+this.bufferPadding;if(v>=E&&g<=T){u.time.push({startPTS:Math.max(h,l.start(y)),endPTS:Math.min(f,l.end(y))});break}else if(h<T&&f>E)u.partial=!0,u.time.push({startPTS:Math.max(h,l.start(y)),endPTS:Math.min(f,l.end(y))});else if(f<=E)break}return u},n.getPartialFragment=function(s){var e=null,a,l,u,h=0,f=this.bufferPadding,g=this.fragments;return Object.keys(g).forEach(function(v){var y=g[v];if(!y)return;o(y)&&(l=y.body.start-f,u=y.body.end+f,s>=l&&s<=u&&(a=Math.min(s-l,u-s),h<=a&&(e=y.body,h=a)))}),e},n.getState=function(s){var e=r(s),a=this.fragments[e];return a?a.buffered?o(a)?p.PARTIAL:p.OK:a.backtrack?p.BACKTRACKED:p.APPENDING:p.NOT_LOADED},n.backtrack=function(s,e){var a=r(s),l=this.fragments[a];if(!l||l.backtrack)return null;var u=l.backtrack=e||l.loaded;return l.loaded=null,u},n.getBacktrackData=function(s){var e=r(s),a=this.fragments[e];if(a){var l,u=a.backtrack;if(u!=null&&(l=u.payload)!==null&&l!==void 0&&l.byteLength)return u;this.removeFragment(s)}return null},n.isTimeBuffered=function(s,e,a){for(var l,u,h=0;h<a.length;h++){if(l=a.start(h)-this.bufferPadding,u=a.end(h)+this.bufferPadding,s>=l&&e<=u)return!0;if(e<=l)return!1}return!1},n.onFragLoaded=function(s,e){var a=e.frag,l=e.part;if(a.sn==="initSegment"||a.bitrateTest||l)return;var u=r(a);this.fragments[u]={body:a,loaded:e,backtrack:null,buffered:!1,range:Object.create(null)}},n.onBufferAppended=function(s,e){var a=this,l=e.frag,u=e.part,h=e.timeRanges;if(l.type===m.PlaylistLevelType.MAIN)if(this.activeFragment=l,u){var f=this.activeParts;f||(this.activeParts=f=[]),f.push(u)}else this.activeParts=null;this.timeRanges=h,Object.keys(h).forEach(function(g){var v=h[g];if(a.detectEvictedFragments(g,v),!u)for(var y=0;y<v.length;y++)l.appendedPTS=Math.max(v.end(y),l.appendedPTS||0)})},n.onFragBuffered=function(s,e){this.detectPartialFragments(e)},n.hasFragment=function(s){var e=r(s);return!!this.fragments[e]},n.removeFragmentsInRange=function(s,e,a){var l=this;Object.keys(this.fragments).forEach(function(u){var h=l.fragments[u];if(!h)return;if(h.buffered){var f=h.body;f.type===a&&f.start<e&&f.end>s&&l.removeFragment(f)}})},n.removeFragment=function(s){var e=r(s);s.stats.loaded=0,s.clearElementaryStreamInfo(),delete this.fragments[e]},n.removeAllFragments=function(){this.fragments=Object.create(null),this.activeFragment=null,this.activeParts=null},i}();function o(i){var n,t;return i.buffered&&(((n=i.range.video)===null||n===void 0?void 0:n.partial)||((t=i.range.audio)===null||t===void 0?void 0:t.partial))}function r(i){return i.type+"_"+i.level+"_"+i.urlId+"_"+i.sn}},"./src/controller/gap-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"STALL_MINIMUM_DURATION_MS",function(){return o}),A.d(C,"MAX_START_GAP_JUMP",function(){return r}),A.d(C,"SKIP_BUFFER_HOLE_STEP_SECONDS",function(){return i}),A.d(C,"SKIP_BUFFER_RANGE_START",function(){return n}),A.d(C,"default",function(){return t});var b=A("./src/utils/buffer-helper.ts"),m=A("./src/errors.ts"),p=A("./src/events.ts"),c=A("./src/utils/logger.ts"),o=250,r=2,i=.1,n=.05,t=function(){function s(a,l,u,h){this.config=void 0,this.media=void 0,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=a,this.media=l,this.fragmentTracker=u,this.hls=h}var e=s.prototype;return e.destroy=function(){this.hls=this.fragmentTracker=this.media=null},e.poll=function(l){var u=this.config,h=this.media,f=this.stalled,g=h.currentTime,v=h.seeking,y=this.seeking&&!v,E=!this.seeking&&v;if(this.seeking=v,g!==l){if(this.moved=!0,f!==null){if(this.stallReported){var T=self.performance.now()-f;c.logger.warn("playback not stuck anymore @"+g+", after "+Math.round(T)+"ms"),this.stallReported=!1}this.stalled=null,this.nudgeRetry=0}return}if((E||y)&&(this.stalled=null),h.paused||h.ended||h.playbackRate===0||!b.BufferHelper.getBuffered(h).length)return;var w=b.BufferHelper.bufferInfo(h,g,0),S=w.len>0,I=w.nextStart||0;if(!S&&!I)return;if(v){var L=w.len>r,O=!I||I-g>r&&!this.fragmentTracker.getPartialFragment(g);if(L||O)return;this.moved=!1}if(!this.moved&&this.stalled!==null){var N,R=Math.max(I,w.start||0)-g,D=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,B=D==null||((N=D.details)===null||N===void 0)?void 0:N.live,M=B?D.details.targetduration*2:r;if(R>0&&R<=M){this._trySkipBufferHole(null);return}}var U=self.performance.now();if(f===null){this.stalled=U;return}var F=U-f;!v&&F>=o&&this._reportStall(w.len);var j=b.BufferHelper.bufferInfo(h,g,u.maxBufferHole);this._tryFixBufferStall(j,F)},e._tryFixBufferStall=function(l,u){var h=this.config,f=this.fragmentTracker,g=this.media,v=g.currentTime,y=f.getPartialFragment(v);if(y){var E=this._trySkipBufferHole(y);if(E)return}l.len>h.maxBufferHole&&u>h.highBufferWatchdogPeriod*1e3&&(c.logger.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())},e._reportStall=function(l){var u=this.hls,h=this.media,f=this.stallReported;f||(this.stallReported=!0,c.logger.warn("Playback stalling at @"+h.currentTime+" due to low buffer (buffer="+l+")"),u.trigger(p.Events.ERROR,{type:m.ErrorTypes.MEDIA_ERROR,details:m.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!1,buffer:l}))},e._trySkipBufferHole=function(l){for(var u=this.config,h=this.hls,f=this.media,g=f.currentTime,v=0,y=b.BufferHelper.getBuffered(f),E=0;E<y.length;E++){var T=y.start(E);if(g+u.maxBufferHole>=v&&g<T){var w=Math.max(T+n,f.currentTime+i);return c.logger.warn("skipping hole, adjusting currentTime from "+g+" to "+w),this.moved=!0,this.stalled=null,f.currentTime=w,l&&h.trigger(p.Events.ERROR,{type:m.ErrorTypes.MEDIA_ERROR,details:m.ErrorDetails.BUFFER_SEEK_OVER_HOLE,fatal:!1,reason:"fragment loaded with buffer holes, seeking from "+g+" to "+w,frag:l}),w}v=y.end(E)}return 0},e._tryNudgeBuffer=function(){var l=this.config,u=this.hls,h=this.media,f=h.currentTime,g=(this.nudgeRetry||0)+1;if(this.nudgeRetry=g,g<l.nudgeMaxRetry){var v=f+g*l.nudgeOffset;c.logger.warn("Nudging 'currentTime' from "+f+" to "+v),h.currentTime=v,u.trigger(p.Events.ERROR,{type:m.ErrorTypes.MEDIA_ERROR,details:m.ErrorDetails.BUFFER_NUDGE_ON_STALL,fatal:!1})}else c.logger.error("Playhead still not moving while enough data buffered @"+f+" after "+l.nudgeMaxRetry+" nudges"),u.trigger(p.Events.ERROR,{type:m.ErrorTypes.MEDIA_ERROR,details:m.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!0})},s}()},"./src/controller/id3-track-controller.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/events.ts"),m=A("./src/utils/texttrack-utils.ts"),p=A("./src/demux/id3.ts"),c=.25,o=function(){function r(n){this.hls=void 0,this.id3Track=null,this.media=null,this.hls=n,this._registerListeners()}var i=r.prototype;return i.destroy=function(){this._unregisterListeners()},i._registerListeners=function(){var t=this.hls;t.on(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(b.Events.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(b.Events.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(b.Events.BUFFER_FLUSHING,this.onBufferFlushing,this)},i._unregisterListeners=function(){var t=this.hls;t.off(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(b.Events.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(b.Events.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(b.Events.BUFFER_FLUSHING,this.onBufferFlushing,this)},i.onMediaAttached=function(t,s){this.media=s.media},i.onMediaDetaching=function(){if(!this.id3Track)return;Object(m.clearCurrentCues)(this.id3Track),this.id3Track=null,this.media=null},i.getID3Track=function(t){if(!this.media)return;for(var s=0;s<t.length;s++){var e=t[s];if(e.kind==="metadata"&&e.label==="id3")return Object(m.sendAddTrackEvent)(e,this.media),e}return this.media.addTextTrack("metadata","id3")},i.onFragParsingMetadata=function(t,s){if(!this.media)return;var e=s.frag,a=s.samples;this.id3Track||(this.id3Track=this.getID3Track(this.media.textTracks),this.id3Track.mode="hidden");for(var l=self.WebKitDataCue||self.VTTCue||self.TextTrackCue,u=0;u<a.length;u++){var h=p.getID3Frames(a[u].data);if(h){var f=a[u].pts,g=u<a.length-1?a[u+1].pts:e.end,v=g-f;v<=0&&(g=f+c);for(var y=0;y<h.length;y++){var E=h[y];if(!p.isTimeStampFrame(E)){var T=new l(f,g,"");T.value=E,this.id3Track.addCue(T)}}}}},i.onBufferFlushing=function(t,s){var e=s.startOffset,a=s.endOffset,l=s.type;if(!l||l==="audio"){var u=this.id3Track;u&&Object(m.removeCuesInRange)(u,e,a)}},r}();C.default=o},"./src/controller/latency-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return r});var b=A("./src/errors.ts"),m=A("./src/events.ts"),p=A("./src/utils/logger.ts");function c(i,n){for(var t=0;t<n.length;t++){var s=n[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}function o(i,n,t){return n&&c(i.prototype,n),t&&c(i,t),i}var r=function(){function i(t){var s=this;this.hls=void 0,this.config=void 0,this.media=null,this.levelDetails=null,this.currentTime=0,this.stallCount=0,this._latency=null,this.timeupdateHandler=function(){return s.timeupdate()},this.hls=t,this.config=t.config,this.registerListeners()}var n=i.prototype;return n.destroy=function(){this.unregisterListeners(),this.onMediaDetaching(),this.levelDetails=null,this.hls=this.timeupdateHandler=null},n.registerListeners=function(){this.hls.on(m.Events.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(m.Events.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.on(m.Events.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(m.Events.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.on(m.Events.ERROR,this.onError,this)},n.unregisterListeners=function(){this.hls.off(m.Events.MEDIA_ATTACHED,this.onMediaAttached),this.hls.off(m.Events.MEDIA_DETACHING,this.onMediaDetaching),this.hls.off(m.Events.MANIFEST_LOADING,this.onManifestLoading),this.hls.off(m.Events.LEVEL_UPDATED,this.onLevelUpdated),this.hls.off(m.Events.ERROR,this.onError)},n.onMediaAttached=function(s,e){this.media=e.media,this.media.addEventListener("timeupdate",this.timeupdateHandler)},n.onMediaDetaching=function(){this.media&&(this.media.removeEventListener("timeupdate",this.timeupdateHandler),this.media=null)},n.onManifestLoading=function(){this.levelDetails=null,this._latency=null,this.stallCount=0},n.onLevelUpdated=function(s,e){var a=e.details;this.levelDetails=a,a.advanced&&this.timeupdate(),!a.live&&this.media&&this.media.removeEventListener("timeupdate",this.timeupdateHandler)},n.onError=function(s,e){if(e.details!==b.ErrorDetails.BUFFER_STALLED_ERROR)return;this.stallCount++,p.logger.warn("[playback-rate-controller]: Stall detected, adjusting target latency")},n.timeupdate=function(){var s=this.media,e=this.levelDetails;if(!s||!e)return;this.currentTime=s.currentTime;var a=this.computeLatency();if(a===null)return;this._latency=a;var l=this.config,u=l.lowLatencyMode,h=l.maxLiveSyncPlaybackRate;if(!u||h===1)return;var f=this.targetLatency;if(f===null)return;var g=a-f,v=Math.min(this.maxLatency,f+e.targetduration),y=g<v;if(e.live&&y&&g>.05&&this.forwardBufferLength>1){var E=Math.min(2,Math.max(1,h)),T=Math.round(2/(1+Math.exp(-.75*g-this.edgeStalled))*20)/20;s.playbackRate=Math.min(E,Math.max(1,T))}else s.playbackRate!==1&&s.playbackRate!==0&&(s.playbackRate=1)},n.estimateLiveEdge=function(){var s=this.levelDetails;return s===null?null:s.edge+s.age},n.computeLatency=function(){var s=this.estimateLiveEdge();return s===null?null:s-this.currentTime},o(i,[{key:"latency",get:function(){return this._latency||0}},{key:"maxLatency",get:function(){var s=this.config,e=this.levelDetails;return s.liveMaxLatencyDuration!==void 0?s.liveMaxLatencyDuration:e?s.liveMaxLatencyDurationCount*e.targetduration:0}},{key:"targetLatency",get:function(){var s=this.levelDetails;if(s===null)return null;var e=s.holdBack,a=s.partHoldBack,l=s.targetduration,u=this.config,h=u.liveSyncDuration,f=u.liveSyncDurationCount,g=u.lowLatencyMode,v=this.hls.userConfig,y=g&&a||e;(v.liveSyncDuration||v.liveSyncDurationCount||y===0)&&(y=h!==void 0?h:f*l);var E=l,T=1;return y+Math.min(this.stallCount*T,E)}},{key:"liveSyncPosition",get:function(){var s=this.estimateLiveEdge(),e=this.targetLatency,a=this.levelDetails;if(s===null||e===null||a===null)return null;var l=a.edge,u=s-e-this.edgeStalled,h=l-a.totalduration,f=l-(this.config.lowLatencyMode&&a.partTarget||a.targetduration);return Math.min(Math.max(h,u),f)}},{key:"drift",get:function(){var s=this.levelDetails;return s===null?1:s.drift}},{key:"edgeStalled",get:function(){var s=this.levelDetails;if(s===null)return 0;var e=(this.config.lowLatencyMode&&s.partTarget||s.targetduration)*3;return Math.max(s.age-e,0)}},{key:"forwardBufferLength",get:function(){var s=this.media,e=this.levelDetails;if(!s||!e)return 0;var a=s.buffered.length;return a?s.buffered.end(a-1):e.edge-this.currentTime}}]),i}()},"./src/controller/level-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return u});var b=A("./src/types/level.ts"),m=A("./src/events.ts"),p=A("./src/errors.ts"),c=A("./src/utils/codecs.ts"),o=A("./src/controller/level-helper.ts"),r=A("./src/controller/base-playlist-controller.ts"),i=A("./src/types/loader.ts");function n(){return n=Object.assign||function(h){for(var f=1;f<arguments.length;f++){var g=arguments[f];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(h[v]=g[v])}return h},n.apply(this,arguments)}function t(h,f){for(var g=0;g<f.length;g++){var v=f[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(h,v.key,v)}}function s(h,f,g){return f&&t(h.prototype,f),g&&t(h,g),h}function e(h,f){h.prototype=Object.create(f.prototype),h.prototype.constructor=h,a(h,f)}function a(h,f){return a=Object.setPrototypeOf||function(v,y){return v.__proto__=y,v},a(h,f)}var l=/chrome|firefox/.test(navigator.userAgent.toLowerCase()),u=function(h){e(f,h);function f(v){var y;return y=h.call(this,v,"[level-controller]")||this,y._levels=[],y._firstLevel=-1,y._startLevel=void 0,y.currentLevelIndex=-1,y.manualLevelIndex=-1,y.onParsedComplete=void 0,y._registerListeners(),y}var g=f.prototype;return g._registerListeners=function(){var y=this.hls;y.on(m.Events.MANIFEST_LOADED,this.onManifestLoaded,this),y.on(m.Events.LEVEL_LOADED,this.onLevelLoaded,this),y.on(m.Events.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),y.on(m.Events.FRAG_LOADED,this.onFragLoaded,this),y.on(m.Events.ERROR,this.onError,this)},g._unregisterListeners=function(){var y=this.hls;y.off(m.Events.MANIFEST_LOADED,this.onManifestLoaded,this),y.off(m.Events.LEVEL_LOADED,this.onLevelLoaded,this),y.off(m.Events.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),y.off(m.Events.FRAG_LOADED,this.onFragLoaded,this),y.off(m.Events.ERROR,this.onError,this)},g.destroy=function(){this._unregisterListeners(),this.manualLevelIndex=-1,this._levels.length=0,h.prototype.destroy.call(this)},g.startLoad=function(){var y=this._levels;y.forEach(function(E){E.loadError=0}),h.prototype.startLoad.call(this)},g.onManifestLoaded=function(y,E){var T=[],w=[],S=[],I,L={},O,N=!1,R=!1,D=!1;if(E.levels.forEach(function(F){var j=F.attrs;N=N||!!(F.width&&F.height),R=R||!!F.videoCodec,D=D||!!F.audioCodec,l&&F.audioCodec&&F.audioCodec.indexOf("mp4a.40.34")!==-1&&(F.audioCodec=void 0);var W=F.bitrate+"-"+F.attrs.RESOLUTION+"-"+F.attrs.CODECS;O=L[W],O?O.url.push(F.url):(O=new b.Level(F),L[W]=O,T.push(O)),j&&(j.AUDIO&&Object(o.addGroupId)(O,"audio",j.AUDIO),j.SUBTITLES&&Object(o.addGroupId)(O,"text",j.SUBTITLES))}),(N||R)&&D&&(T=T.filter(function(F){var j=F.videoCodec,W=F.width,V=F.height;return!!j||!!(W&&V)})),T=T.filter(function(F){var j=F.audioCodec,W=F.videoCodec;return(!j||Object(c.isCodecSupportedInMp4)(j,"audio"))&&(!W||Object(c.isCodecSupportedInMp4)(W,"video"))}),E.audioTracks&&(w=E.audioTracks.filter(function(F){return!F.audioCodec||Object(c.isCodecSupportedInMp4)(F.audioCodec,"audio")}),Object(o.assignTrackIdsByGroup)(w)),E.subtitles&&(S=E.subtitles,Object(o.assignTrackIdsByGroup)(S)),T.length>0){I=T[0].bitrate,T.sort(function(F,j){return F.bitrate-j.bitrate}),this._levels=T;for(var B=0;B<T.length;B++)if(T[B].bitrate===I){this._firstLevel=B,this.log("manifest loaded, "+T.length+" level(s) found, first bitrate: "+I);break}var M=D&&!R,U={levels:T,audioTracks:w,subtitleTracks:S,firstLevel:this._firstLevel,stats:E.stats,audio:D,video:R,altAudio:!M&&w.some(function(F){return!!F.url})};this.hls.trigger(m.Events.MANIFEST_PARSED,U),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}else this.hls.trigger(m.Events.ERROR,{type:p.ErrorTypes.MEDIA_ERROR,details:p.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:E.url,reason:"no level with compatible codecs found in manifest"})},g.onError=function(y,E){if(h.prototype.onError.call(this,y,E),E.fatal)return;var T=E.context,w=this._levels[this.currentLevelIndex];if(T&&(T.type===i.PlaylistContextType.AUDIO_TRACK&&w.audioGroupIds&&T.groupId===w.audioGroupIds[w.urlId]||T.type===i.PlaylistContextType.SUBTITLE_TRACK&&w.textGroupIds&&T.groupId===w.textGroupIds[w.urlId])){this.redundantFailover(this.currentLevelIndex);return}var S=!1,I=!0,L;switch(E.details){case p.ErrorDetails.FRAG_LOAD_ERROR:case p.ErrorDetails.FRAG_LOAD_TIMEOUT:case p.ErrorDetails.KEY_LOAD_ERROR:case p.ErrorDetails.KEY_LOAD_TIMEOUT:if(E.frag){var O=this._levels[E.frag.level];O?(O.fragmentError++,O.fragmentError>this.hls.config.fragLoadingMaxRetry&&(L=E.frag.level)):L=E.frag.level}break;case p.ErrorDetails.LEVEL_LOAD_ERROR:case p.ErrorDetails.LEVEL_LOAD_TIMEOUT:T&&(T.deliveryDirectives&&(I=!1),L=T.level),S=!0;break;case p.ErrorDetails.REMUX_ALLOC_ERROR:L=E.level,S=!0;break}L!==void 0&&this.recoverLevel(E,L,S,I)},g.recoverLevel=function(y,E,T,w){var S=y.details,I=this._levels[E];if(I.loadError++,T){var L=this.retryLoadingOrFail(y);if(L)y.levelRetry=!0;else{this.currentLevelIndex=-1;return}}if(w){var O=I.url.length;if(O>1&&I.loadError<O)y.levelRetry=!0,this.redundantFailover(E);else if(this.manualLevelIndex===-1){var N=E===0?this._levels.length-1:E-1;this.currentLevelIndex!==N&&this._levels[N].loadError===0&&(this.warn(S+": switch to "+N),y.levelRetry=!0,this.hls.nextAutoLevel=N)}}},g.redundantFailover=function(y){var E=this._levels[y],T=E.url.length;if(T>1){var w=(E.urlId+1)%T;this.warn("Switching to redundant URL-id "+w),this._levels.forEach(function(S){S.urlId=w}),this.level=y}},g.onFragLoaded=function(y,E){var T=E.frag;if(T!==void 0&&T.type===i.PlaylistLevelType.MAIN){var w=this._levels[T.level];w!==void 0&&(w.fragmentError=0,w.loadError=0)}},g.onLevelLoaded=function(y,E){var T,w=E.level,S=E.details,I=this._levels[w];if(!I){var L;this.warn("Invalid level index "+w),(L=E.deliveryDirectives)!==null&&L!==void 0&&L.skip&&(S.deltaUpdateFailed=!0);return}w===this.currentLevelIndex?(I.fragmentError===0&&(I.loadError=0,this.retryCount=0),this.playlistLoaded(w,E,I.details)):(T=E.deliveryDirectives)!==null&&T!==void 0&&T.skip&&(S.deltaUpdateFailed=!0)},g.onAudioTrackSwitched=function(y,E){var T=this.hls.levels[this.currentLevelIndex];if(!T)return;if(T.audioGroupIds){for(var w=-1,S=this.hls.audioTracks[E.id].groupId,I=0;I<T.audioGroupIds.length;I++)if(T.audioGroupIds[I]===S){w=I;break}w!==T.urlId&&(T.urlId=w,this.startLoad())}},g.loadPlaylist=function(y){var E=this.currentLevelIndex,T=this._levels[E];if(this.canLoad&&T&&T.url.length>0){var w=T.urlId,S=T.url[w];if(y)try{S=y.addDirectives(S)}catch(I){this.warn("Could not construct new URL with HLS Delivery Directives: "+I)}this.log("Attempt loading level index "+E+(y?" at sn "+y.msn+" part "+y.part:"")+" with URL-id "+w+" "+S),this.clearTimer(),this.hls.trigger(m.Events.LEVEL_LOADING,{url:S,level:E,id:w,deliveryDirectives:y||null})}},g.removeLevel=function(y,E){var T=function(I,L){return L!==E},w=this._levels.filter(function(S,I){return I!==y?!0:S.url.length>1&&E!==void 0?(S.url=S.url.filter(T),S.audioGroupIds&&(S.audioGroupIds=S.audioGroupIds.filter(T)),S.textGroupIds&&(S.textGroupIds=S.textGroupIds.filter(T)),S.urlId=0,!0):!1}).map(function(S,I){var L=S.details;return L!=null&&L.fragments&&L.fragments.forEach(function(O){O.level=I}),S});this._levels=w,this.hls.trigger(m.Events.LEVELS_UPDATED,{levels:w})},s(f,[{key:"levels",get:function(){return this._levels.length===0?null:this._levels}},{key:"level",get:function(){return this.currentLevelIndex},set:function(y){var E,T=this._levels;if(T.length===0)return;if(this.currentLevelIndex===y&&(E=T[y])!==null&&E!==void 0&&E.details)return;if(y<0||y>=T.length){var w=y<0;if(this.hls.trigger(m.Events.ERROR,{type:p.ErrorTypes.OTHER_ERROR,details:p.ErrorDetails.LEVEL_SWITCH_ERROR,level:y,fatal:w,reason:"invalid level idx"}),w)return;y=Math.min(y,T.length-1)}this.clearTimer();var S=this.currentLevelIndex,I=T[S],L=T[y];this.log("switching to level "+y+" from "+S),this.currentLevelIndex=y;var O=n({},L,{level:y,maxBitrate:L.maxBitrate,uri:L.uri,urlId:L.urlId});delete O._urlId,this.hls.trigger(m.Events.LEVEL_SWITCHING,O);var N=L.details;if(!N||N.live){var R=this.switchParams(L.uri,I==null?void 0:I.details);this.loadPlaylist(R)}}},{key:"manualLevel",get:function(){return this.manualLevelIndex},set:function(y){this.manualLevelIndex=y,this._startLevel===void 0&&(this._startLevel=y),y!==-1&&(this.level=y)}},{key:"firstLevel",get:function(){return this._firstLevel},set:function(y){this._firstLevel=y}},{key:"startLevel",get:function(){if(this._startLevel===void 0){var y=this.hls.config.startLevel;return y!==void 0?y:this._firstLevel}else return this._startLevel},set:function(y){this._startLevel=y}},{key:"nextLoadLevel",get:function(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(y){this.level=y,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=y)}}]),f}(r.default)},"./src/controller/level-helper.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"addGroupId",function(){return p}),A.d(C,"assignTrackIdsByGroup",function(){return c}),A.d(C,"updatePTS",function(){return o}),A.d(C,"updateFragPTSDTS",function(){return i}),A.d(C,"mergeDetails",function(){return n}),A.d(C,"mapPartIntersection",function(){return t}),A.d(C,"mapFragmentIntersection",function(){return s}),A.d(C,"adjustSliding",function(){return e}),A.d(C,"addSliding",function(){return a}),A.d(C,"computeReloadInterval",function(){return l}),A.d(C,"getFragmentWithSN",function(){return u}),A.d(C,"getPartWith",function(){return h});var b=A("./src/polyfills/number.ts"),m=A("./src/utils/logger.ts");function p(f,g,v){switch(g){case"audio":f.audioGroupIds||(f.audioGroupIds=[]),f.audioGroupIds.push(v);break;case"text":f.textGroupIds||(f.textGroupIds=[]),f.textGroupIds.push(v);break}}function c(f){var g={};f.forEach(function(v){var y=v.groupId||"";v.id=g[y]=g[y]||0,g[y]++})}function o(f,g,v){var y=f[g],E=f[v];r(y,E)}function r(f,g){var v=g.startPTS;if(Object(b.isFiniteNumber)(v)){var y=0,E;g.sn>f.sn?(y=v-f.start,E=f):(y=f.start-v,E=g),E.duration!==y&&(E.duration=y)}else if(g.sn>f.sn){var T=f.cc===g.cc;T&&f.minEndPTS?g.start=f.start+(f.minEndPTS-f.start):g.start=f.start+f.duration}else g.start=Math.max(f.start-g.duration,0)}function i(f,g,v,y,E,T){var w=y-v;w<=0&&(m.logger.warn("Fragment should have a positive duration",g),y=v+g.duration,T=E+g.duration);var S=v,I=y,L=g.startPTS,O=g.endPTS;if(Object(b.isFiniteNumber)(L)){var N=Math.abs(L-v);Object(b.isFiniteNumber)(g.deltaPTS)?g.deltaPTS=Math.max(N,g.deltaPTS):g.deltaPTS=N,S=Math.max(v,L),v=Math.min(v,L),E=Math.min(E,g.startDTS),I=Math.min(y,O),y=Math.max(y,O),T=Math.max(T,g.endDTS)}g.duration=y-v;var R=v-g.start;g.appendedPTS=y,g.start=g.startPTS=v,g.maxStartPTS=S,g.startDTS=E,g.endPTS=y,g.minEndPTS=I,g.endDTS=T;var D=g.sn;if(!f||D<f.startSN||D>f.endSN)return 0;var B,M=D-f.startSN,U=f.fragments;for(U[M]=g,B=M;B>0;B--)r(U[B],U[B-1]);for(B=M;B<U.length-1;B++)r(U[B],U[B+1]);return f.fragmentHint&&r(U[U.length-1],f.fragmentHint),f.PTSKnown=f.alignedSliding=!0,R}function n(f,g){for(var v=null,y=f.fragments,E=y.length-1;E>=0;E--){var T=y[E].initSegment;if(T){v=T;break}}f.fragmentHint&&delete f.fragmentHint.endPTS;var w=0,S;if(s(f,g,function(B,M){B.relurl&&(w=B.cc-M.cc),Object(b.isFiniteNumber)(B.startPTS)&&Object(b.isFiniteNumber)(B.endPTS)&&(M.start=M.startPTS=B.startPTS,M.startDTS=B.startDTS,M.appendedPTS=B.appendedPTS,M.maxStartPTS=B.maxStartPTS,M.endPTS=B.endPTS,M.endDTS=B.endDTS,M.minEndPTS=B.minEndPTS,M.duration=B.endPTS-B.startPTS,M.duration&&(S=M),g.PTSKnown=g.alignedSliding=!0),M.elementaryStreams=B.elementaryStreams,M.loader=B.loader,M.stats=B.stats,M.urlId=B.urlId,B.initSegment&&(M.initSegment=B.initSegment,v=B.initSegment)}),v){var I=g.fragmentHint?g.fragments.concat(g.fragmentHint):g.fragments;I.forEach(function(B){var M;(!B.initSegment||B.initSegment.relurl===((M=v)===null||M===void 0?void 0:M.relurl))&&(B.initSegment=v)})}if(g.skippedSegments&&(g.deltaUpdateFailed=g.fragments.some(function(B){return!B}),g.deltaUpdateFailed)){m.logger.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(var L=g.skippedSegments;L--;)g.fragments.shift();g.startSN=g.fragments[0].sn,g.startCC=g.fragments[0].cc}var O=g.fragments;if(w){m.logger.warn("discontinuity sliding from playlist, take drift into account");for(var N=0;N<O.length;N++)O[N].cc+=w}g.skippedSegments&&(g.startCC=g.fragments[0].cc),t(f.partList,g.partList,function(B,M){M.elementaryStreams=B.elementaryStreams,M.stats=B.stats}),S?i(g,S,S.startPTS,S.endPTS,S.startDTS,S.endDTS):e(f,g),O.length&&(g.totalduration=g.edge-O[0].start),g.driftStartTime=f.driftStartTime,g.driftStart=f.driftStart;var R=g.advancedDateTime;if(g.advanced&&R){var D=g.edge;g.driftStart||(g.driftStartTime=R,g.driftStart=D),g.driftEndTime=R,g.driftEnd=D}else g.driftEndTime=f.driftEndTime,g.driftEnd=f.driftEnd,g.advancedDateTime=f.advancedDateTime}function t(f,g,v){if(f&&g)for(var y=0,E=0,T=f.length;E<=T;E++){var w=f[E],S=g[E+y];w&&S&&w.index===S.index&&w.fragment.sn===S.fragment.sn?v(w,S):y--}}function s(f,g,v){for(var y=g.skippedSegments,E=Math.max(f.startSN,g.startSN)-g.startSN,T=(f.fragmentHint?1:0)+(y?g.endSN:Math.min(f.endSN,g.endSN))-g.startSN,w=g.startSN-f.startSN,S=g.fragmentHint?g.fragments.concat(g.fragmentHint):g.fragments,I=f.fragmentHint?f.fragments.concat(f.fragmentHint):f.fragments,L=E;L<=T;L++){var O=I[w+L],N=S[L];y&&!N&&L<y&&(N=g.fragments[L]=O),O&&N&&v(O,N)}}function e(f,g){var v=g.startSN+g.skippedSegments-f.startSN,y=f.fragments;if(v<0||v>=y.length)return;a(g,y[v].start)}function a(f,g){if(g){for(var v=f.fragments,y=f.skippedSegments;y<v.length;y++)v[y].start+=g;f.fragmentHint&&(f.fragmentHint.start+=g)}}function l(f,g){var v=1e3*f.levelTargetDuration,y=v/2,E=f.age,T=E>0&&E<v*3,w=g.loading.end-g.loading.start,S,I=f.availabilityDelay;if(f.updated===!1)if(T){var L=333*f.misses;S=Math.max(Math.min(y,w*2),L),f.availabilityDelay=(f.availabilityDelay||0)+S}else S=y;else T?(I=Math.min(I||v/2,E),f.availabilityDelay=I,S=I+v-E):S=v-w;return Math.round(S)}function u(f,g,v){if(!f||!f.details)return null;var y=f.details,E=y.fragments[g-y.startSN];return E||(E=y.fragmentHint,E&&E.sn===g?E:g<y.startSN&&v&&v.sn===g?v:null)}function h(f,g,v){if(!f||!f.details)return null;var y=f.details.partList;if(y)for(var E=y.length;E--;){var T=y[E];if(T.index===v&&T.fragment.sn===g)return T}return null}},"./src/controller/stream-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return y});var b=A("./src/polyfills/number.ts"),m=A("./src/controller/base-stream-controller.ts"),p=A("./src/is-supported.ts"),c=A("./src/events.ts"),o=A("./src/utils/buffer-helper.ts"),r=A("./src/controller/fragment-tracker.ts"),i=A("./src/types/loader.ts"),n=A("./src/loader/fragment.ts"),t=A("./src/demux/transmuxer-interface.ts"),s=A("./src/types/transmuxer.ts"),e=A("./src/controller/gap-controller.ts"),a=A("./src/errors.ts"),l=A("./src/utils/logger.ts");function u(E,T){for(var w=0;w<T.length;w++){var S=T[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(E,S.key,S)}}function h(E,T,w){return T&&u(E.prototype,T),w&&u(E,w),E}function f(E,T){E.prototype=Object.create(T.prototype),E.prototype.constructor=E,g(E,T)}function g(E,T){return g=Object.setPrototypeOf||function(S,I){return S.__proto__=I,S},g(E,T)}var v=100,y=function(E){f(T,E);function T(S,I){var L;return L=E.call(this,S,I,"[stream-controller]")||this,L.audioCodecSwap=!1,L.gapController=null,L.level=-1,L._forceStartLoad=!1,L.altAudio=!1,L.audioOnly=!1,L.fragPlaying=null,L.onvplaying=null,L.onvseeked=null,L.fragLastKbps=0,L.stalled=!1,L.couldBacktrack=!1,L.audioCodecSwitch=!1,L.videoBuffer=null,L._registerListeners(),L}var w=T.prototype;return w._registerListeners=function(){var I=this.hls;I.on(c.Events.MEDIA_ATTACHED,this.onMediaAttached,this),I.on(c.Events.MEDIA_DETACHING,this.onMediaDetaching,this),I.on(c.Events.MANIFEST_LOADING,this.onManifestLoading,this),I.on(c.Events.MANIFEST_PARSED,this.onManifestParsed,this),I.on(c.Events.LEVEL_LOADING,this.onLevelLoading,this),I.on(c.Events.LEVEL_LOADED,this.onLevelLoaded,this),I.on(c.Events.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),I.on(c.Events.ERROR,this.onError,this),I.on(c.Events.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),I.on(c.Events.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),I.on(c.Events.BUFFER_CREATED,this.onBufferCreated,this),I.on(c.Events.BUFFER_FLUSHED,this.onBufferFlushed,this),I.on(c.Events.LEVELS_UPDATED,this.onLevelsUpdated,this),I.on(c.Events.FRAG_BUFFERED,this.onFragBuffered,this)},w._unregisterListeners=function(){var I=this.hls;I.off(c.Events.MEDIA_ATTACHED,this.onMediaAttached,this),I.off(c.Events.MEDIA_DETACHING,this.onMediaDetaching,this),I.off(c.Events.MANIFEST_LOADING,this.onManifestLoading,this),I.off(c.Events.MANIFEST_PARSED,this.onManifestParsed,this),I.off(c.Events.LEVEL_LOADED,this.onLevelLoaded,this),I.off(c.Events.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),I.off(c.Events.ERROR,this.onError,this),I.off(c.Events.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),I.off(c.Events.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),I.off(c.Events.BUFFER_CREATED,this.onBufferCreated,this),I.off(c.Events.BUFFER_FLUSHED,this.onBufferFlushed,this),I.off(c.Events.LEVELS_UPDATED,this.onLevelsUpdated,this),I.off(c.Events.FRAG_BUFFERED,this.onFragBuffered,this)},w.onHandlerDestroying=function(){this._unregisterListeners(),this.onMediaDetaching()},w.startLoad=function(I){if(this.levels){var L=this.lastCurrentTime,O=this.hls;if(this.stopLoad(),this.setInterval(v),this.level=-1,this.fragLoadError=0,!this.startFragRequested){var N=O.startLevel;N===-1&&(O.config.testBandwidth?(N=0,this.bitrateTest=!0):N=O.nextAutoLevel),this.level=O.nextLoadLevel=N,this.loadedmetadata=!1}L>0&&I===-1&&(this.log("Override startPosition with lastCurrentTime @"+L.toFixed(3)),I=L),this.state=m.State.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=I,this.tick()}else this._forceStartLoad=!0,this.state=m.State.STOPPED},w.stopLoad=function(){this._forceStartLoad=!1,E.prototype.stopLoad.call(this)},w.doTick=function(){switch(this.state){case m.State.IDLE:this.doTickIdle();break;case m.State.WAITING_LEVEL:{var I,L=this.levels,O=this.level,N=L==null||((I=L[O])===null||I===void 0)?void 0:I.details;if(N&&(!N.live||this.levelLastLoaded===this.level)){if(this.waitForCdnTuneIn(N))break;this.state=m.State.IDLE;break}break}case m.State.FRAG_LOADING_WAITING_RETRY:{var R,D=self.performance.now(),B=this.retryDate;(!B||D>=B||(R=this.media)!==null&&R!==void 0&&R.seeking)&&(this.log("retryDate reached, switch back to IDLE state"),this.state=m.State.IDLE)}break;default:break}this.onTickEnd()},w.onTickEnd=function(){E.prototype.onTickEnd.call(this),this.checkBuffer(),this.checkFragmentChanged()},w.doTickIdle=function(){var I,L,O=this.hls,N=this.levelLastLoaded,R=this.levels,D=this.media,B=O.config,M=O.nextLoadLevel;if(N===null||!D&&(this.startFragRequested||!B.startFragPrefetch))return;if(this.altAudio&&this.audioOnly)return;if(!R||!R[M])return;var U=R[M];this.level=O.nextLoadLevel=M;var F=U.details;if(!F||this.state===m.State.WAITING_LEVEL||F.live&&this.levelLastLoaded!==M){this.state=m.State.WAITING_LEVEL;return}var j=this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:D,i.PlaylistLevelType.MAIN);if(j===null)return;var W=j.len,V=this.getMaxBufferLength(U.maxBitrate);if(W>=V)return;if(this._streamEnded(j,F)){var z={};this.altAudio&&(z.type="video"),this.hls.trigger(c.Events.BUFFER_EOS,z),this.state=m.State.ENDED;return}var Y=j.end,J=this.getNextFragment(Y,F);if(this.couldBacktrack&&!this.fragPrevious&&J&&J.sn!=="initSegment"){var ie=J.sn-F.startSN;ie>1&&(J=F.fragments[ie-1],this.fragmentTracker.removeFragment(J))}if(J&&this.fragmentTracker.getState(J)===r.FragmentState.OK&&this.nextLoadPosition>Y){var Z=this.audioOnly&&!this.altAudio?n.ElementaryStreamTypes.AUDIO:n.ElementaryStreamTypes.VIDEO;this.afterBufferFlushed(D,Z,i.PlaylistLevelType.MAIN),J=this.getNextFragment(this.nextLoadPosition,F)}if(!J)return;J.initSegment&&!J.initSegment.data&&!this.bitrateTest&&(J=J.initSegment),((I=J.decryptdata)===null||I===void 0?void 0:I.keyFormat)==="identity"&&!((L=J.decryptdata)!==null&&L!==void 0&&L.key)?this.loadKey(J,F):this.loadFragment(J,F,Y)},w.loadFragment=function(I,L,O){var N,R=this.fragmentTracker.getState(I);if(this.fragCurrent=I,R===r.FragmentState.BACKTRACKED){var D=this.fragmentTracker.getBacktrackData(I);if(D){this._handleFragmentLoadProgress(D),this._handleFragmentLoadComplete(D);return}else R=r.FragmentState.NOT_LOADED}R===r.FragmentState.NOT_LOADED||R===r.FragmentState.PARTIAL?I.sn==="initSegment"?this._loadInitSegment(I):this.bitrateTest?(I.bitrateTest=!0,this.log("Fragment "+I.sn+" of level "+I.level+" is being downloaded to test bitrate and will not be buffered"),this._loadBitrateTestFrag(I)):(this.startFragRequested=!0,E.prototype.loadFragment.call(this,I,L,O)):R===r.FragmentState.APPENDING?this.reduceMaxBufferLength(I.duration)&&this.fragmentTracker.removeFragment(I):((N=this.media)===null||N===void 0?void 0:N.buffered.length)===0&&this.fragmentTracker.removeAllFragments()},w.getAppendedFrag=function(I){var L=this.fragmentTracker.getAppendedFrag(I,i.PlaylistLevelType.MAIN);return L&&"fragment"in L?L.fragment:L},w.getBufferedFrag=function(I){return this.fragmentTracker.getBufferedFrag(I,i.PlaylistLevelType.MAIN)},w.followingBufferedFrag=function(I){return I?this.getBufferedFrag(I.end+.5):null},w.immediateLevelSwitch=function(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)},w.nextLevelSwitch=function(){var I=this.levels,L=this.media;if(L!=null&&L.readyState){var O,N=this.getAppendedFrag(L.currentTime);if(N&&N.start>1&&this.flushMainBuffer(0,N.start-1),!L.paused&&I){var R=this.hls.nextLoadLevel,D=I[R],B=this.fragLastKbps;B&&this.fragCurrent?O=this.fragCurrent.duration*D.maxBitrate/(1e3*B)+1:O=0}else O=0;var M=this.getBufferedFrag(L.currentTime+O);if(M){var U=this.followingBufferedFrag(M);if(U){this.abortCurrentFrag();var F=U.maxStartPTS?U.maxStartPTS:U.start,j=U.duration,W=Math.max(M.end,F+Math.min(Math.max(j-this.config.maxFragLookUpTolerance,j*.5),j*.75));this.flushMainBuffer(W,Number.POSITIVE_INFINITY)}}}},w.abortCurrentFrag=function(){var I=this.fragCurrent;this.fragCurrent=null,I!=null&&I.loader&&I.loader.abort(),this.state===m.State.KEY_LOADING&&(this.state=m.State.IDLE),this.nextLoadPosition=this.getLoadPosition()},w.flushMainBuffer=function(I,L){E.prototype.flushMainBuffer.call(this,I,L,this.altAudio?"video":null)},w.onMediaAttached=function(I,L){E.prototype.onMediaAttached.call(this,I,L);var O=L.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),O.addEventListener("playing",this.onvplaying),O.addEventListener("seeked",this.onvseeked),this.gapController=new e.default(this.config,O,this.fragmentTracker,this.hls)},w.onMediaDetaching=function(){var I=this.media;I&&(I.removeEventListener("playing",this.onvplaying),I.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),E.prototype.onMediaDetaching.call(this)},w.onMediaPlaying=function(){this.tick()},w.onMediaSeeked=function(){var I=this.media,L=I?I.currentTime:null;Object(b.isFiniteNumber)(L)&&this.log("Media seeked to "+L.toFixed(3)),this.tick()},w.onManifestLoading=function(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(c.Events.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=this.stalled=!1,this.startPosition=this.lastCurrentTime=0,this.fragPlaying=null},w.onManifestParsed=function(I,L){var O=!1,N=!1,R;L.levels.forEach(function(D){R=D.audioCodec,R&&(R.indexOf("mp4a.40.2")!==-1&&(O=!0),R.indexOf("mp4a.40.5")!==-1&&(N=!0))}),this.audioCodecSwitch=O&&N&&!Object(p.changeTypeSupported)(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=L.levels,this.startFragRequested=!1},w.onLevelLoading=function(I,L){var O=this.levels;if(!O||this.state!==m.State.IDLE)return;var N=O[L.level];(!N.details||N.details.live&&this.levelLastLoaded!==L.level||this.waitForCdnTuneIn(N.details))&&(this.state=m.State.WAITING_LEVEL)},w.onLevelLoaded=function(I,L){var O,N=this.levels,R=L.level,D=L.details,B=D.totalduration;if(!N){this.warn("Levels were reset while loading level "+R);return}this.log("Level "+R+" loaded ["+D.startSN+","+D.endSN+"], cc ["+D.startCC+", "+D.endCC+"] duration:"+B);var M=this.fragCurrent;M&&(this.state===m.State.FRAG_LOADING||this.state===m.State.FRAG_LOADING_WAITING_RETRY)&&(M.level!==L.level&&M.loader&&(this.state=m.State.IDLE,M.loader.abort()));var U=N[R],F=0;if(D.live||(O=U.details)!==null&&O!==void 0&&O.live){if(D.fragments[0]||(D.deltaUpdateFailed=!0),D.deltaUpdateFailed)return;F=this.alignPlaylists(D,U.details)}if(U.details=D,this.levelLastLoaded=R,this.hls.trigger(c.Events.LEVEL_UPDATED,{details:D,level:R}),this.state===m.State.WAITING_LEVEL){if(this.waitForCdnTuneIn(D))return;this.state=m.State.IDLE}this.startFragRequested?D.live&&this.synchronizeToLiveEdge(D):this.setStartPosition(D,F),this.tick()},w._handleFragmentLoadProgress=function(I){var L,O=I.frag,N=I.part,R=I.payload,D=this.levels;if(!D){this.warn("Levels were reset while fragment load was in progress. Fragment "+O.sn+" of level "+O.level+" will not be buffered");return}var B=D[O.level],M=B.details;if(!M){this.warn("Dropping fragment "+O.sn+" of level "+O.level+" after level details were reset");return}var U=B.videoCodec,F=M.PTSKnown||!M.live,j=(L=O.initSegment)===null||L===void 0?void 0:L.data,W=this._getAudioCodec(B),V=this.transmuxer=this.transmuxer||new t.default(this.hls,i.PlaylistLevelType.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),z=N?N.index:-1,Y=z!==-1,J=new s.ChunkMetadata(O.level,O.sn,O.stats.chunkCount,R.byteLength,z,Y),ie=this.initPTS[O.cc];V.push(R,j,W,U,O,N,M.totalduration,F,J,ie)},w.onAudioTrackSwitching=function(I,L){var O=this.altAudio,N=!!L.url,R=L.id;if(!N){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var D=this.fragCurrent;D!=null&&D.loader&&(this.log("Switching to main audio track, cancel main fragment load"),D.loader.abort()),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();var B=this.hls;O&&B.trigger(c.Events.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),B.trigger(c.Events.AUDIO_TRACK_SWITCHED,{id:R})}},w.onAudioTrackSwitched=function(I,L){var O=L.id,N=!!this.hls.audioTracks[O].url;if(N){var R=this.videoBuffer;R&&this.mediaBuffer!==R&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=R)}this.altAudio=N,this.tick()},w.onBufferCreated=function(I,L){var O=L.tracks,N,R,D=!1;for(var B in O){var M=O[B];if(M.id==="main"){if(R=B,N=M,B==="video"){var U=O[B];U&&(this.videoBuffer=U.buffer)}}else D=!0}D&&N?(this.log("Alternate track found, use "+R+".buffered to schedule main fragment loading"),this.mediaBuffer=N.buffer):this.mediaBuffer=this.media},w.onFragBuffered=function(I,L){var O=L.frag,N=L.part;if(O&&O.type!==i.PlaylistLevelType.MAIN)return;if(this.fragContextChanged(O)){this.warn("Fragment "+O.sn+(N?" p: "+N.index:"")+" of level "+O.level+" finished buffering, but was aborted. state: "+this.state),this.state===m.State.PARSED&&(this.state=m.State.IDLE);return}var R=N?N.stats:O.stats;this.fragLastKbps=Math.round(8*R.total/(R.buffering.end-R.loading.first)),O.sn!=="initSegment"&&(this.fragPrevious=O),this.fragBufferedComplete(O,N)},w.onError=function(I,L){switch(L.details){case a.ErrorDetails.FRAG_LOAD_ERROR:case a.ErrorDetails.FRAG_LOAD_TIMEOUT:case a.ErrorDetails.KEY_LOAD_ERROR:case a.ErrorDetails.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(i.PlaylistLevelType.MAIN,L);break;case a.ErrorDetails.LEVEL_LOAD_ERROR:case a.ErrorDetails.LEVEL_LOAD_TIMEOUT:this.state!==m.State.ERROR&&(L.fatal?(this.warn(""+L.details),this.state=m.State.ERROR):!L.levelRetry&&this.state===m.State.WAITING_LEVEL&&(this.state=m.State.IDLE));break;case a.ErrorDetails.BUFFER_FULL_ERROR:if(L.parent==="main"&&(this.state===m.State.PARSING||this.state===m.State.PARSED)){var O=!0,N=this.getFwdBufferInfo(this.media,i.PlaylistLevelType.MAIN);N&&N.len>.5&&(O=!this.reduceMaxBufferLength(N.len)),O&&(this.warn("buffer full error also media.currentTime is not buffered, flush main"),this.immediateLevelSwitch()),this.resetLoadingState()}break;default:break}},w.checkBuffer=function(){var I=this.media,L=this.gapController;if(!I||!L||!I.readyState)return;var O=o.BufferHelper.getBuffered(I);!this.loadedmetadata&&O.length?(this.loadedmetadata=!0,this.seekToStartPos()):L.poll(this.lastCurrentTime),this.lastCurrentTime=I.currentTime},w.onFragLoadEmergencyAborted=function(){this.state=m.State.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()},w.onBufferFlushed=function(I,L){var O=L.type;if(O!==n.ElementaryStreamTypes.AUDIO||this.audioOnly&&!this.altAudio){var N=(O===n.ElementaryStreamTypes.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(N,O,i.PlaylistLevelType.MAIN)}},w.onLevelsUpdated=function(I,L){this.levels=L.levels},w.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},w.seekToStartPos=function(){var I=this.media,L=I.currentTime,O=this.startPosition;if(O>=0&&L<O){if(I.seeking){l.logger.log("could not seek to "+O+", already seeking at "+L);return}var N=o.BufferHelper.getBuffered(I),R=N.length?N.start(0):0,D=R-O;D>0&&(D<this.config.maxBufferHole||D<this.config.maxFragLookUpTolerance)&&(l.logger.log("adjusting start position by "+D+" to match buffer start"),O+=D,this.startPosition=O),this.log("seek to target start position "+O+" from current time "+L),I.currentTime=O}},w._getAudioCodec=function(I){var L=this.config.defaultAudioCodec||I.audioCodec;return this.audioCodecSwap&&L&&(this.log("Swapping audio codec"),L.indexOf("mp4a.40.5")!==-1?L="mp4a.40.2":L="mp4a.40.5"),L},w._loadBitrateTestFrag=function(I){var L=this;this._doFragLoad(I).then(function(O){var N=L.hls;if(!O||N.nextLoadLevel||L.fragContextChanged(I))return;L.fragLoadError=0,L.state=m.State.IDLE,L.startFragRequested=!1,L.bitrateTest=!1;var R=I.stats;R.parsing.start=R.parsing.end=R.buffering.start=R.buffering.end=self.performance.now(),N.trigger(c.Events.FRAG_LOADED,O)})},w._handleTransmuxComplete=function(I){var L,O="main",N=this.hls,R=I.remuxResult,D=I.chunkMeta,B=this.getCurrentContext(D);if(!B){this.warn("The loading context changed while buffering fragment "+D.sn+" of level "+D.level+". This chunk will not be buffered."),this.resetLiveStartWhenNotLoaded(D.level);return}var M=B.frag,U=B.part,F=B.level,j=R.video,W=R.text,V=R.id3,z=R.initSegment,Y=this.altAudio?void 0:R.audio;if(this.fragContextChanged(M))return;if(this.state=m.State.PARSING,z){z.tracks&&(this._bufferInitSegment(F,z.tracks,M,D),N.trigger(c.Events.FRAG_PARSING_INIT_SEGMENT,{frag:M,id:O,tracks:z.tracks}));var J=z.initPTS,ie=z.timescale;Object(b.isFiniteNumber)(J)&&(this.initPTS[M.cc]=J,N.trigger(c.Events.INIT_PTS_FOUND,{frag:M,id:O,initPTS:J,timescale:ie}))}if(j&&R.independent!==!1){if(F.details){var Z=j.startPTS,oe=j.endPTS,ge=j.startDTS,pe=j.endDTS;if(U)U.elementaryStreams[j.type]={startPTS:Z,endPTS:oe,startDTS:ge,endDTS:pe};else if(j.firstKeyFrame&&j.independent&&(this.couldBacktrack=!0),j.dropped&&j.independent){var De=this.getLoadPosition()+this.config.maxBufferHole;if(De<Z){this.backtrack(M);return}M.setElementaryStreamInfo(j.type,M.start,oe,M.start,pe,!0)}M.setElementaryStreamInfo(j.type,Z,oe,ge,pe),this.bufferFragmentData(j,M,U,D)}}else if(R.independent===!1){this.backtrack(M);return}if(Y){var ce=Y.startPTS,Oe=Y.endPTS,se=Y.startDTS,$=Y.endDTS;U&&(U.elementaryStreams[n.ElementaryStreamTypes.AUDIO]={startPTS:ce,endPTS:Oe,startDTS:se,endDTS:$}),M.setElementaryStreamInfo(n.ElementaryStreamTypes.AUDIO,ce,Oe,se,$),this.bufferFragmentData(Y,M,U,D)}if(V!=null&&(L=V.samples)!==null&&L!==void 0&&L.length){var ze={frag:M,id:O,samples:V.samples};N.trigger(c.Events.FRAG_PARSING_METADATA,ze)}if(W){var re={frag:M,id:O,samples:W.samples};N.trigger(c.Events.FRAG_PARSING_USERDATA,re)}},w._bufferInitSegment=function(I,L,O,N){var R=this;if(this.state!==m.State.PARSING)return;this.audioOnly=!!L.audio&&!L.video,this.altAudio&&!this.audioOnly&&delete L.audio;var D=L.audio,B=L.video,M=L.audiovideo;if(D){var U=I.audioCodec,F=navigator.userAgent.toLowerCase();this.audioCodecSwitch&&(U&&(U.indexOf("mp4a.40.5")!==-1?U="mp4a.40.2":U="mp4a.40.5"),D.metadata.channelCount!==1&&F.indexOf("firefox")===-1&&(U="mp4a.40.5")),F.indexOf("android")!==-1&&D.container!=="audio/mpeg"&&(U="mp4a.40.2",this.log("Android: force audio codec to "+U)),I.audioCodec&&I.audioCodec!==U&&this.log('Swapping manifest audio codec "'+I.audioCodec+'" for "'+U+'"'),D.levelCodec=U,D.id="main",this.log("Init audio buffer, container:"+D.container+", codecs[selected/level/parsed]=["+(U||"")+"/"+(I.audioCodec||"")+"/"+D.codec+"]")}B&&(B.levelCodec=I.videoCodec,B.id="main",this.log("Init video buffer, container:"+B.container+", codecs[level/parsed]=["+(I.videoCodec||"")+"/"+B.codec+"]")),M&&this.log("Init audiovideo buffer, container:"+M.container+", codecs[level/parsed]=["+(I.attrs.CODECS||"")+"/"+M.codec+"]"),this.hls.trigger(c.Events.BUFFER_CODECS,L),Object.keys(L).forEach(function(j){var W=L[j],V=W.initSegment;V!=null&&V.byteLength&&R.hls.trigger(c.Events.BUFFER_APPENDING,{type:j,data:V,frag:O,part:null,chunkMeta:N,parent:O.type})}),this.tick()},w.backtrack=function(I){this.couldBacktrack=!0,this.resetTransmuxer(),this.flushBufferGap(I);var L=this.fragmentTracker.backtrack(I);this.fragPrevious=null,this.nextLoadPosition=I.start,L?this.resetFragmentLoading(I):this.state=m.State.BACKTRACKING},w.checkFragmentChanged=function(){var I=this.media,L=null;if(I&&I.readyState>1&&I.seeking===!1){var O=I.currentTime;if(o.BufferHelper.isBuffered(I,O)?L=this.getAppendedFrag(O):o.BufferHelper.isBuffered(I,O+.1)&&(L=this.getAppendedFrag(O+.1)),L){var N=this.fragPlaying,R=L.level;(!N||L.sn!==N.sn||N.level!==R||L.urlId!==N.urlId)&&(this.hls.trigger(c.Events.FRAG_CHANGED,{frag:L}),(!N||N.level!==R)&&this.hls.trigger(c.Events.LEVEL_SWITCHED,{level:R}),this.fragPlaying=L)}}},h(T,[{key:"nextLevel",get:function(){var I=this.nextBufferedFrag;return I?I.level:-1}},{key:"currentLevel",get:function(){var I=this.media;if(I){var L=this.getAppendedFrag(I.currentTime);if(L)return L.level}return-1}},{key:"nextBufferedFrag",get:function(){var I=this.media;if(I){var L=this.getAppendedFrag(I.currentTime);return this.followingBufferedFrag(L)}else return null}},{key:"forceStartLoad",get:function(){return this._forceStartLoad}}]),T}(m.default)},"./src/controller/subtitle-stream-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"SubtitleStreamController",function(){return h});var b=A("./src/events.ts"),m=A("./src/utils/buffer-helper.ts"),p=A("./src/controller/fragment-finders.ts"),c=A("./src/utils/discontinuities.ts"),o=A("./src/controller/level-helper.ts"),r=A("./src/controller/fragment-tracker.ts"),i=A("./src/controller/base-stream-controller.ts"),n=A("./src/types/loader.ts"),t=A("./src/types/level.ts");function s(f,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(f,y.key,y)}}function e(f,g,v){return g&&s(f.prototype,g),v&&s(f,v),f}function a(f,g){f.prototype=Object.create(g.prototype),f.prototype.constructor=f,l(f,g)}function l(f,g){return l=Object.setPrototypeOf||function(y,E){return y.__proto__=E,y},l(f,g)}var u=500,h=function(f){a(g,f);function g(y,E){var T;return T=f.call(this,y,E,"[subtitle-stream-controller]")||this,T.levels=[],T.currentTrackId=-1,T.tracksBuffered=[],T.mainDetails=null,T._registerListeners(),T}var v=g.prototype;return v.onHandlerDestroying=function(){this._unregisterListeners(),this.mainDetails=null},v._registerListeners=function(){var E=this.hls;E.on(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),E.on(b.Events.MEDIA_DETACHING,this.onMediaDetaching,this),E.on(b.Events.MANIFEST_LOADING,this.onManifestLoading,this),E.on(b.Events.LEVEL_LOADED,this.onLevelLoaded,this),E.on(b.Events.ERROR,this.onError,this),E.on(b.Events.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),E.on(b.Events.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),E.on(b.Events.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),E.on(b.Events.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),E.on(b.Events.BUFFER_FLUSHING,this.onBufferFlushing,this)},v._unregisterListeners=function(){var E=this.hls;E.off(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),E.off(b.Events.MEDIA_DETACHING,this.onMediaDetaching,this),E.off(b.Events.MANIFEST_LOADING,this.onManifestLoading,this),E.off(b.Events.LEVEL_LOADED,this.onLevelLoaded,this),E.off(b.Events.ERROR,this.onError,this),E.off(b.Events.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),E.off(b.Events.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),E.off(b.Events.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),E.off(b.Events.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),E.off(b.Events.BUFFER_FLUSHING,this.onBufferFlushing,this)},v.startLoad=function(){this.stopLoad(),this.state=i.State.IDLE,this.setInterval(u),this.tick()},v.onManifestLoading=function(){this.mainDetails=null,this.fragmentTracker.removeAllFragments()},v.onLevelLoaded=function(E,T){this.mainDetails=T.details},v.onSubtitleFragProcessed=function(E,T){var w=T.frag,S=T.success;if(this.fragPrevious=w,this.state=i.State.IDLE,!S)return;var I=this.tracksBuffered[this.currentTrackId];if(!I)return;for(var L,O=w.start,N=0;N<I.length;N++)if(O>=I[N].start&&O<=I[N].end){L=I[N];break}var R=w.start+w.duration;L?L.end=R:(L={start:O,end:R},I.push(L)),this.fragmentTracker.fragBuffered(w)},v.onBufferFlushing=function(E,T){var w=T.startOffset,S=T.endOffset;if(w===0&&S!==Number.POSITIVE_INFINITY){var I=this.currentTrackId,L=this.levels;if(!L.length||!L[I]||!L[I].details)return;var O=L[I].details,N=O.targetduration,R=S-N;if(R<=0)return;T.endOffsetSubtitles=Math.max(0,R),this.tracksBuffered.forEach(function(D){for(var B=0;B<D.length;){if(D[B].end<=R){D.shift();continue}else if(D[B].start<R)D[B].start=R;else break;B++}}),this.fragmentTracker.removeFragmentsInRange(w,R,n.PlaylistLevelType.SUBTITLE)}},v.onError=function(E,T){var w,S=T.frag;if(!S||S.type!==n.PlaylistLevelType.SUBTITLE)return;(w=this.fragCurrent)!==null&&w!==void 0&&w.loader&&this.fragCurrent.loader.abort(),this.state=i.State.IDLE},v.onSubtitleTracksUpdated=function(E,T){var w=this,S=T.subtitleTracks;this.tracksBuffered=[],this.levels=S.map(function(I){return new t.Level(I)}),this.fragmentTracker.removeAllFragments(),this.fragPrevious=null,this.levels.forEach(function(I){w.tracksBuffered[I.id]=[]}),this.mediaBuffer=null},v.onSubtitleTrackSwitch=function(E,T){if(this.currentTrackId=T.id,!this.levels.length||this.currentTrackId===-1){this.clearInterval();return}var w=this.levels[this.currentTrackId];w!=null&&w.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,w&&this.setInterval(u)},v.onSubtitleTrackLoaded=function(E,T){var w,S=T.details,I=T.id,L=this.currentTrackId,O=this.levels;if(!O.length)return;var N=O[L];if(I>=O.length||I!==L||!N)return;if(this.mediaBuffer=this.mediaBufferTimeRanges,S.live||(w=N.details)!==null&&w!==void 0&&w.live){var R=this.mainDetails;if(S.deltaUpdateFailed||!R)return;var D=R.fragments[0];if(!N.details)S.hasProgramDateTime&&R.hasProgramDateTime?Object(c.alignMediaPlaylistByPDT)(S,R):D&&Object(o.addSliding)(S,D.start);else{var B=this.alignPlaylists(S,N.details);B===0&&D&&Object(o.addSliding)(S,D.start)}}if(N.details=S,this.levelLastLoaded=I,this.tick(),S.live&&!this.fragCurrent&&this.media&&this.state===i.State.IDLE){var M=Object(p.findFragmentByPTS)(null,S.fragments,this.media.currentTime,0);M||(this.warn("Subtitle playlist not aligned with playback"),N.details=void 0)}},v._handleFragmentLoadComplete=function(E){var T=E.frag,w=E.payload,S=T.decryptdata,I=this.hls;if(this.fragContextChanged(T))return;if(w&&w.byteLength>0&&S&&S.key&&S.iv&&S.method==="AES-128"){var L=performance.now();this.decrypter.webCryptoDecrypt(new Uint8Array(w),S.key.buffer,S.iv.buffer).then(function(O){var N=performance.now();I.trigger(b.Events.FRAG_DECRYPTED,{frag:T,payload:O,stats:{tstart:L,tdecrypt:N}})})}},v.doTick=function(){if(!this.media){this.state=i.State.IDLE;return}if(this.state===i.State.IDLE){var E,T=this.currentTrackId,w=this.levels;if(!w.length||!w[T]||!w[T].details)return;var S=w[T].details,I=S.targetduration,L=this.config,O=this.media,N=m.BufferHelper.bufferedInfo(this.mediaBufferTimeRanges,O.currentTime-I,L.maxBufferHole),R=N.end,D=N.len,B=this.getMaxBufferLength()+I;if(D>B)return;console.assert(S,"Subtitle track details are defined on idle subtitle stream controller tick");var M=S.fragments,U=M.length,F=S.edge,j,W=this.fragPrevious;if(R<F){var V=L.maxFragLookUpTolerance;j=Object(p.findFragmentByPTS)(W,M,R,V),!j&&W&&W.start<M[0].start&&(j=M[0])}else j=M[U-1];(E=j)!==null&&E!==void 0&&E.encrypted?this.loadKey(j,S):j&&this.fragmentTracker.getState(j)===r.FragmentState.NOT_LOADED&&this.loadFragment(j,S,R)}},v.loadFragment=function(E,T,w){this.fragCurrent=E,f.prototype.loadFragment.call(this,E,T,w)},e(g,[{key:"mediaBufferTimeRanges",get:function(){return this.tracksBuffered[this.currentTrackId]||[]}}]),g}(i.default)},"./src/controller/subtitle-track-controller.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/events.ts"),m=A("./src/utils/texttrack-utils.ts"),p=A("./src/controller/base-playlist-controller.ts"),c=A("./src/types/loader.ts");function o(e,a){for(var l=0;l<a.length;l++){var u=a[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function r(e,a,l){return a&&o(e.prototype,a),l&&o(e,l),e}function i(e,a){e.prototype=Object.create(a.prototype),e.prototype.constructor=e,n(e,a)}function n(e,a){return n=Object.setPrototypeOf||function(u,h){return u.__proto__=h,u},n(e,a)}var t=function(e){i(a,e);function a(u){var h;return h=e.call(this,u,"[subtitle-track-controller]")||this,h.media=null,h.tracks=[],h.groupId=null,h.tracksInGroup=[],h.trackId=-1,h.selectDefaultTrack=!0,h.queuedDefaultTrack=-1,h.trackChangeListener=function(){return h.onTextTracksChanged()},h.asyncPollTrackChange=function(){return h.pollTrackChange(0)},h.useTextTrackPolling=!1,h.subtitlePollingInterval=-1,h.subtitleDisplay=!0,h.registerListeners(),h}var l=a.prototype;return l.destroy=function(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.trackChangeListener=this.asyncPollTrackChange=null,e.prototype.destroy.call(this)},l.registerListeners=function(){var h=this.hls;h.on(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),h.on(b.Events.MEDIA_DETACHING,this.onMediaDetaching,this),h.on(b.Events.MANIFEST_LOADING,this.onManifestLoading,this),h.on(b.Events.MANIFEST_PARSED,this.onManifestParsed,this),h.on(b.Events.LEVEL_LOADING,this.onLevelLoading,this),h.on(b.Events.LEVEL_SWITCHING,this.onLevelSwitching,this),h.on(b.Events.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),h.on(b.Events.ERROR,this.onError,this)},l.unregisterListeners=function(){var h=this.hls;h.off(b.Events.MEDIA_ATTACHED,this.onMediaAttached,this),h.off(b.Events.MEDIA_DETACHING,this.onMediaDetaching,this),h.off(b.Events.MANIFEST_LOADING,this.onManifestLoading,this),h.off(b.Events.MANIFEST_PARSED,this.onManifestParsed,this),h.off(b.Events.LEVEL_LOADING,this.onLevelLoading,this),h.off(b.Events.LEVEL_SWITCHING,this.onLevelSwitching,this),h.off(b.Events.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),h.off(b.Events.ERROR,this.onError,this)},l.onMediaAttached=function(h,f){if(this.media=f.media,!this.media)return;this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange)},l.pollTrackChange=function(h){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.trackChangeListener,h)},l.onMediaDetaching=function(){if(!this.media)return;self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId);var h=s(this.media.textTracks);h.forEach(function(f){Object(m.clearCurrentCues)(f)}),this.subtitleTrack=-1,this.media=null},l.onManifestLoading=function(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.selectDefaultTrack=!0},l.onManifestParsed=function(h,f){this.tracks=f.subtitleTracks},l.onSubtitleTrackLoaded=function(h,f){var g=f.id,v=f.details,y=this.trackId,E=this.tracksInGroup[y];if(!E){this.warn("Invalid subtitle track id "+g);return}var T=E.details;E.details=f.details,this.log("subtitle track "+g+" loaded ["+v.startSN+"-"+v.endSN+"]"),g===this.trackId&&(this.retryCount=0,this.playlistLoaded(g,f,T))},l.onLevelLoading=function(h,f){this.switchLevel(f.level)},l.onLevelSwitching=function(h,f){this.switchLevel(f.level)},l.switchLevel=function(h){var f=this.hls.levels[h];if(!(f!=null&&f.textGroupIds))return;var g=f.textGroupIds[f.urlId];if(this.groupId!==g){var v=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0,y=this.tracks.filter(function(w){return!g||w.groupId===g});this.tracksInGroup=y;var E=this.findTrackId(v==null?void 0:v.name)||this.findTrackId();this.groupId=g;var T={subtitleTracks:y};this.log("Updating subtitle tracks, "+y.length+' track(s) found in "'+g+'" group-id'),this.hls.trigger(b.Events.SUBTITLE_TRACKS_UPDATED,T),E!==-1&&this.setSubtitleTrack(E,v)}},l.findTrackId=function(h){for(var f=this.tracksInGroup,g=0;g<f.length;g++){var v=f[g];if((!this.selectDefaultTrack||v.default)&&(!h||h===v.name))return v.id}return-1},l.onError=function(h,f){if(e.prototype.onError.call(this,h,f),f.fatal||!f.context)return;f.context.type===c.PlaylistContextType.SUBTITLE_TRACK&&f.context.id===this.trackId&&f.context.groupId===this.groupId&&this.retryLoadingOrFail(f)},l.loadPlaylist=function(h){var f=this.tracksInGroup[this.trackId];if(this.shouldLoadTrack(f)){var g=f.id,v=f.groupId,y=f.url;if(h)try{y=h.addDirectives(y)}catch(E){this.warn("Could not construct new URL with HLS Delivery Directives: "+E)}this.log("Loading subtitle playlist for id "+g),this.hls.trigger(b.Events.SUBTITLE_TRACK_LOADING,{url:y,id:g,groupId:v,deliveryDirectives:h||null})}},l.toggleTrackModes=function(h){var f=this,g=this.media,v=this.subtitleDisplay,y=this.trackId;if(!g)return;var E=s(g.textTracks),T=E.filter(function(I){return I.groupId===f.groupId});if(h===-1)[].slice.call(E).forEach(function(I){I.mode="disabled"});else{var w=T[y];w&&(w.mode="disabled")}var S=T[h];S&&(S.mode=v?"showing":"hidden")},l.setSubtitleTrack=function(h,f){var g,v=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=h;return}if(this.trackId!==h&&this.toggleTrackModes(h),this.trackId===h&&(h===-1||(g=v[h])!==null&&g!==void 0&&g.details)||h<-1||h>=v.length)return;this.clearTimer();var y=v[h];if(this.log("Switching to subtitle track "+h),this.trackId=h,y){var E=y.id,T=y.groupId,w=T===void 0?"":T,S=y.name,I=y.type,L=y.url;this.hls.trigger(b.Events.SUBTITLE_TRACK_SWITCH,{id:E,groupId:w,name:S,type:I,url:L});var O=this.switchParams(y.url,f==null?void 0:f.details);this.loadPlaylist(O)}else this.hls.trigger(b.Events.SUBTITLE_TRACK_SWITCH,{id:h})},l.onTextTracksChanged=function(){if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;for(var h=-1,f=s(this.media.textTracks),g=0;g<f.length;g++)if(f[g].mode==="hidden")h=g;else if(f[g].mode==="showing"){h=g;break}this.subtitleTrack!==h&&(this.subtitleTrack=h)},r(a,[{key:"subtitleTracks",get:function(){return this.tracksInGroup}},{key:"subtitleTrack",get:function(){return this.trackId},set:function(h){this.selectDefaultTrack=!1;var f=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0;this.setSubtitleTrack(h,f)}}]),a}(p.default);function s(e){for(var a=[],l=0;l<e.length;l++){var u=e[l];u.kind==="subtitles"&&u.label&&a.push(e[l])}return a}C.default=t},"./src/controller/timeline-controller.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"TimelineController",function(){return s});var b=A("./src/polyfills/number.ts"),m=A("./src/events.ts"),p=A("./src/utils/cea-608-parser.ts"),c=A("./src/utils/output-filter.ts"),o=A("./src/utils/webvtt-parser.ts"),r=A("./src/utils/texttrack-utils.ts"),i=A("./src/utils/imsc1-ttml-parser.ts"),n=A("./src/types/loader.ts"),t=A("./src/utils/logger.ts"),s=function(){function u(f){if(this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.timescale=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=l(),this.captionsProperties=void 0,this.hls=f,this.config=f.config,this.Cues=f.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},this.config.enableCEA708Captions){var g=new c.default(this,"textTrack1"),v=new c.default(this,"textTrack2"),y=new c.default(this,"textTrack3"),E=new c.default(this,"textTrack4");this.cea608Parser1=new p.default(1,g,v),this.cea608Parser2=new p.default(3,y,E)}f.on(m.Events.MEDIA_ATTACHING,this.onMediaAttaching,this),f.on(m.Events.MEDIA_DETACHING,this.onMediaDetaching,this),f.on(m.Events.MANIFEST_LOADING,this.onManifestLoading,this),f.on(m.Events.MANIFEST_LOADED,this.onManifestLoaded,this),f.on(m.Events.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),f.on(m.Events.FRAG_LOADING,this.onFragLoading,this),f.on(m.Events.FRAG_LOADED,this.onFragLoaded,this),f.on(m.Events.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),f.on(m.Events.FRAG_DECRYPTED,this.onFragDecrypted,this),f.on(m.Events.INIT_PTS_FOUND,this.onInitPtsFound,this),f.on(m.Events.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),f.on(m.Events.BUFFER_FLUSHING,this.onBufferFlushing,this)}var h=u.prototype;return h.destroy=function(){var g=this.hls;g.off(m.Events.MEDIA_ATTACHING,this.onMediaAttaching,this),g.off(m.Events.MEDIA_DETACHING,this.onMediaDetaching,this),g.off(m.Events.MANIFEST_LOADING,this.onManifestLoading,this),g.off(m.Events.MANIFEST_LOADED,this.onManifestLoaded,this),g.off(m.Events.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),g.off(m.Events.FRAG_LOADING,this.onFragLoading,this),g.off(m.Events.FRAG_LOADED,this.onFragLoaded,this),g.off(m.Events.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),g.off(m.Events.FRAG_DECRYPTED,this.onFragDecrypted,this),g.off(m.Events.INIT_PTS_FOUND,this.onInitPtsFound,this),g.off(m.Events.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),g.off(m.Events.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.cea608Parser1=this.cea608Parser2=null},h.addCues=function(g,v,y,E,T){for(var w=!1,S=T.length;S--;){var I=T[S],L=a(I[0],I[1],v,y);if(L>=0&&(I[0]=Math.min(I[0],v),I[1]=Math.max(I[1],y),w=!0,L/(y-v)>.5))return}if(w||T.push([v,y]),this.config.renderTextTracksNatively){var O=this.captionsTracks[g];this.Cues.newCue(O,v,y,E)}else{var N=this.Cues.newCue(null,v,y,E);this.hls.trigger(m.Events.CUES_PARSED,{type:"captions",cues:N,track:g})}},h.onInitPtsFound=function(g,v){var y=this,E=v.frag,T=v.id,w=v.initPTS,S=v.timescale,I=this.unparsedVttFrags;T==="main"&&(this.initPTS[E.cc]=w,this.timescale[E.cc]=S),I.length&&(this.unparsedVttFrags=[],I.forEach(function(L){y.onFragLoaded(m.Events.FRAG_LOADED,L)}))},h.getExistingTrack=function(g){var v=this.media;if(v)for(var y=0;y<v.textTracks.length;y++){var E=v.textTracks[y];if(E[g])return E}return null},h.createCaptionsTrack=function(g){this.config.renderTextTracksNatively?this.createNativeTrack(g):this.createNonNativeTrack(g)},h.createNativeTrack=function(g){if(this.captionsTracks[g])return;var v=this.captionsProperties,y=this.captionsTracks,E=this.media,T=v[g],w=T.label,S=T.languageCode,I=this.getExistingTrack(g);if(I)y[g]=I,Object(r.clearCurrentCues)(y[g]),Object(r.sendAddTrackEvent)(y[g],E);else{var L=this.createTextTrack("captions",w,S);L&&(L[g]=!0,y[g]=L)}},h.createNonNativeTrack=function(g){if(this.nonNativeCaptionsTracks[g])return;var v=this.captionsProperties[g];if(!v)return;var y=v.label,E={_id:g,label:y,kind:"captions",default:v.media?!!v.media.default:!1,closedCaptions:v.media};this.nonNativeCaptionsTracks[g]=E,this.hls.trigger(m.Events.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[E]})},h.createTextTrack=function(g,v,y){var E=this.media;return E?E.addTextTrack(g,v,y):void 0},h.onMediaAttaching=function(g,v){this.media=v.media,this._cleanTracks()},h.onMediaDetaching=function(){var g=this.captionsTracks;Object.keys(g).forEach(function(v){Object(r.clearCurrentCues)(g[v]),delete g[v]}),this.nonNativeCaptionsTracks={}},h.onManifestLoading=function(){this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=l(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=this.unparsedVttFrags||[],this.initPTS=[],this.timescale=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())},h._cleanTracks=function(){var g=this.media;if(!g)return;var v=g.textTracks;if(v)for(var y=0;y<v.length;y++)Object(r.clearCurrentCues)(v[y])},h.onSubtitleTracksUpdated=function(g,v){var y=this;this.textTracks=[];var E=v.subtitleTracks||[],T=E.some(function(L){return L.textCodec===i.IMSC1_CODEC});if(this.config.enableWebVTT||T&&this.config.enableIMSC1){var w=this.tracks&&E&&this.tracks.length===E.length;if(this.tracks=E||[],this.config.renderTextTracksNatively){var S=this.media?this.media.textTracks:[];this.tracks.forEach(function(L,O){var N;if(O<S.length){for(var R=null,D=0;D<S.length;D++)if(e(S[D],L)){R=S[D];break}R&&(N=R)}N?Object(r.clearCurrentCues)(N):(N=y.createTextTrack("subtitles",L.name,L.lang),N&&(N.mode="disabled")),N&&(N.groupId=L.groupId,y.textTracks.push(N))})}else if(!w&&this.tracks&&this.tracks.length){var I=this.tracks.map(function(L){return{label:L.name,kind:L.type.toLowerCase(),default:L.default,subtitleTrack:L}});this.hls.trigger(m.Events.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:I})}}},h.onManifestLoaded=function(g,v){var y=this;this.config.enableCEA708Captions&&v.captions&&v.captions.forEach(function(E){var T=/(?:CC|SERVICE)([1-4])/.exec(E.instreamId);if(!T)return;var w="textTrack"+T[1],S=y.captionsProperties[w];if(!S)return;S.label=E.name,E.lang&&(S.languageCode=E.lang),S.media=E})},h.onFragLoading=function(g,v){var y=this.cea608Parser1,E=this.cea608Parser2,T=this.lastSn,w=this.lastPartIndex;if(!this.enabled||!(y&&E))return;if(v.frag.type===n.PlaylistLevelType.MAIN){var S,I,L=v.frag.sn,O=(S=v==null||((I=v.part)===null||I===void 0)?void 0:I.index)!=null?S:-1;L===T+1||L===T&&O===w+1||(y.reset(),E.reset()),this.lastSn=L,this.lastPartIndex=O}},h.onFragLoaded=function(g,v){var y=v.frag,E=v.payload,T=this.initPTS,w=this.unparsedVttFrags;if(y.type===n.PlaylistLevelType.SUBTITLE)if(E.byteLength){if(!Object(b.isFiniteNumber)(T[y.cc])){w.push(v),T.length&&this.hls.trigger(m.Events.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:y,error:new Error("Missing initial subtitle PTS")});return}var S=y.decryptdata,I="stats"in v;if(S==null||S.key==null||S.method!=="AES-128"||I){var L=this.tracks[y.level],O=this.vttCCs;O[y.cc]||(O[y.cc]={start:y.start,prevCC:this.prevCC,new:!0},this.prevCC=y.cc),L&&L.textCodec===i.IMSC1_CODEC?this._parseIMSC1(y,E):this._parseVTTs(y,E,O)}}else this.hls.trigger(m.Events.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:y,error:new Error("Empty subtitle payload")})},h._parseIMSC1=function(g,v){var y=this,E=this.hls;Object(i.parseIMSC1)(v,this.initPTS[g.cc],this.timescale[g.cc],function(T){y._appendCues(T,g.level),E.trigger(m.Events.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:g})},function(T){t.logger.log("Failed to parse IMSC1: "+T),E.trigger(m.Events.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:g,error:T})})},h._parseVTTs=function(g,v,y){var E=this,T=this.hls;Object(o.parseWebVTT)(v,this.initPTS[g.cc],this.timescale[g.cc],y,g.cc,g.start,function(w){E._appendCues(w,g.level),T.trigger(m.Events.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:g})},function(w){E._fallbackToIMSC1(g,v),t.logger.log("Failed to parse VTT cue: "+w),T.trigger(m.Events.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:g,error:w})})},h._fallbackToIMSC1=function(g,v){var y=this,E=this.tracks[g.level];E.textCodec||Object(i.parseIMSC1)(v,this.initPTS[g.cc],this.timescale[g.cc],function(){E.textCodec=i.IMSC1_CODEC,y._parseIMSC1(g,v)},function(){E.textCodec="wvtt"})},h._appendCues=function(g,v){var y=this.hls;if(this.config.renderTextTracksNatively){var E=this.textTracks[v];if(E.mode==="disabled")return;g.forEach(function(S){return Object(r.addCueToTrack)(E,S)})}else{var T=this.tracks[v],w=T.default?"default":"subtitles"+v;y.trigger(m.Events.CUES_PARSED,{type:"subtitles",cues:g,track:w})}},h.onFragDecrypted=function(g,v){var y=v.frag;if(y.type===n.PlaylistLevelType.SUBTITLE){if(!Object(b.isFiniteNumber)(this.initPTS[y.cc])){this.unparsedVttFrags.push(v);return}this.onFragLoaded(m.Events.FRAG_LOADED,v)}},h.onSubtitleTracksCleared=function(){this.tracks=[],this.captionsTracks={}},h.onFragParsingUserdata=function(g,v){var y=this.cea608Parser1,E=this.cea608Parser2;if(!this.enabled||!(y&&E))return;for(var T=0;T<v.samples.length;T++){var w=v.samples[T].bytes;if(w){var S=this.extractCea608Data(w);y.addData(v.samples[T].pts,S[0]),E.addData(v.samples[T].pts,S[1])}}},h.onBufferFlushing=function(g,v){var y=v.startOffset,E=v.endOffset,T=v.endOffsetSubtitles,w=v.type,S=this.media;if(!S||S.currentTime<E)return;if(!w||w==="video"){var I=this.captionsTracks;Object.keys(I).forEach(function(O){return Object(r.removeCuesInRange)(I[O],y,E)})}if(this.config.renderTextTracksNatively&&(y===0&&T!==void 0)){var L=this.textTracks;Object.keys(L).forEach(function(O){return Object(r.removeCuesInRange)(L[O],y,T)})}},h.extractCea608Data=function(g){for(var v=g[0]&31,y=2,E=[[],[]],T=0;T<v;T++){var w=g[y++],S=127&g[y++],I=127&g[y++],L=(4&w)!==0,O=3&w;if(S===0&&I===0)continue;L&&((O===0||O===1)&&(E[O].push(S),E[O].push(I)))}return E},u}();function e(u,h){return u&&u.label===h.name&&!(u.textTrack1||u.textTrack2)}function a(u,h,f,g){return Math.min(h,g)-Math.max(u,f)}function l(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!1}}}},"./src/crypt/aes-crypto.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return b});var b=function(){function m(c,o){this.subtle=void 0,this.aesIV=void 0,this.subtle=c,this.aesIV=o}var p=m.prototype;return p.decrypt=function(o,r){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},r,o)},m}()},"./src/crypt/aes-decryptor.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"removePadding",function(){return m}),A.d(C,"default",function(){return p});var b=A("./src/utils/typed-array.ts");function m(c){var o=c.byteLength,r=o&&new DataView(c.buffer).getUint8(o-1);return r?Object(b.sliceUint8)(c,0,o-r):c}var p=function(){function c(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}var o=c.prototype;return o.uint8ArrayToUint32Array_=function(i){for(var n=new DataView(i),t=new Uint32Array(4),s=0;s<4;s++)t[s]=n.getUint32(s*4);return t},o.initTable=function(){var i=this.sBox,n=this.invSBox,t=this.subMix,s=t[0],e=t[1],a=t[2],l=t[3],u=this.invSubMix,h=u[0],f=u[1],g=u[2],v=u[3],y=new Uint32Array(256),E=0,T=0,w=0;for(w=0;w<256;w++)w<128?y[w]=w<<1:y[w]=w<<1^283;for(w=0;w<256;w++){var S=T^T<<1^T<<2^T<<3^T<<4;S=S>>>8^S&255^99,i[E]=S,n[S]=E;var I=y[E],L=y[I],O=y[L],N=y[S]*257^S*16843008;s[E]=N<<24|N>>>8,e[E]=N<<16|N>>>16,a[E]=N<<8|N>>>24,l[E]=N,N=O*16843009^L*65537^I*257^E*16843008,h[S]=N<<24|N>>>8,f[S]=N<<16|N>>>16,g[S]=N<<8|N>>>24,v[S]=N,E?(E=I^y[y[y[O^I]]],T^=y[y[T]]):E=T=1}},o.expandKey=function(i){for(var n=this.uint8ArrayToUint32Array_(i),t=!0,s=0;s<n.length&&t;)t=n[s]===this.key[s],s++;if(t)return;this.key=n;var e=this.keySize=n.length;if(e!==4&&e!==6&&e!==8)throw new Error("Invalid aes key size="+e);var a=this.ksRows=(e+6+1)*4,l,u,h=this.keySchedule=new Uint32Array(a),f=this.invKeySchedule=new Uint32Array(a),g=this.sBox,v=this.rcon,y=this.invSubMix,E=y[0],T=y[1],w=y[2],S=y[3],I,L;for(l=0;l<a;l++){if(l<e){I=h[l]=n[l];continue}L=I,l%e===0?(L=L<<8|L>>>24,L=g[L>>>24]<<24|g[L>>>16&255]<<16|g[L>>>8&255]<<8|g[L&255],L^=v[l/e|0]<<24):e>6&&l%e===4&&(L=g[L>>>24]<<24|g[L>>>16&255]<<16|g[L>>>8&255]<<8|g[L&255]),h[l]=I=(h[l-e]^L)>>>0}for(u=0;u<a;u++)l=a-u,u&3?L=h[l]:L=h[l-4],u<4||l<=4?f[u]=L:f[u]=E[g[L>>>24]]^T[g[L>>>16&255]]^w[g[L>>>8&255]]^S[g[L&255]],f[u]=f[u]>>>0},o.networkToHostOrderSwap=function(i){return i<<24|(i&65280)<<8|(i&16711680)>>8|i>>>24},o.decrypt=function(i,n,t){for(var s=this.keySize+6,e=this.invKeySchedule,a=this.invSBox,l=this.invSubMix,u=l[0],h=l[1],f=l[2],g=l[3],v=this.uint8ArrayToUint32Array_(t),y=v[0],E=v[1],T=v[2],w=v[3],S=new Int32Array(i),I=new Int32Array(S.length),L,O,N,R,D,B,M,U,F,j,W,V,z,Y,J=this.networkToHostOrderSwap;n<S.length;){for(F=J(S[n]),j=J(S[n+1]),W=J(S[n+2]),V=J(S[n+3]),D=F^e[0],B=V^e[1],M=W^e[2],U=j^e[3],z=4,Y=1;Y<s;Y++)L=u[D>>>24]^h[B>>16&255]^f[M>>8&255]^g[U&255]^e[z],O=u[B>>>24]^h[M>>16&255]^f[U>>8&255]^g[D&255]^e[z+1],N=u[M>>>24]^h[U>>16&255]^f[D>>8&255]^g[B&255]^e[z+2],R=u[U>>>24]^h[D>>16&255]^f[B>>8&255]^g[M&255]^e[z+3],D=L,B=O,M=N,U=R,z=z+4;L=a[D>>>24]<<24^a[B>>16&255]<<16^a[M>>8&255]<<8^a[U&255]^e[z],O=a[B>>>24]<<24^a[M>>16&255]<<16^a[U>>8&255]<<8^a[D&255]^e[z+1],N=a[M>>>24]<<24^a[U>>16&255]<<16^a[D>>8&255]<<8^a[B&255]^e[z+2],R=a[U>>>24]<<24^a[D>>16&255]<<16^a[B>>8&255]<<8^a[M&255]^e[z+3],I[n]=J(L^y),I[n+1]=J(R^E),I[n+2]=J(N^T),I[n+3]=J(O^w),y=F,E=j,T=W,w=V,n=n+4}return I.buffer},c}()},"./src/crypt/decrypter.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return n});var b=A("./src/crypt/aes-crypto.ts"),m=A("./src/crypt/fast-aes-key.ts"),p=A("./src/crypt/aes-decryptor.ts"),c=A("./src/utils/logger.ts"),o=A("./src/utils/mp4-tools.ts"),r=A("./src/utils/typed-array.ts"),i=16,n=function(){function t(e,a,l){var u=l===void 0?{}:l,h=u.removePKCS7Padding,f=h===void 0?!0:h;if(this.logEnabled=!0,this.observer=void 0,this.config=void 0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.observer=e,this.config=a,this.removePKCS7Padding=f,f)try{var g=self.crypto;g&&(this.subtle=g.subtle||g.webkitSubtle)}catch(v){}this.subtle===null&&(this.config.enableSoftwareAES=!0)}var s=t.prototype;return s.destroy=function(){this.observer=null},s.isSync=function(){return this.config.enableSoftwareAES},s.flush=function(){var a=this.currentResult;if(!a){this.reset();return}var l=new Uint8Array(a);return this.reset(),this.removePKCS7Padding?Object(p.removePadding)(l):l},s.reset=function(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)},s.decrypt=function(a,l,u,h){if(this.config.enableSoftwareAES){this.softwareDecrypt(new Uint8Array(a),l,u);var f=this.flush();f&&h(f.buffer)}else this.webCryptoDecrypt(new Uint8Array(a),l,u).then(h)},s.softwareDecrypt=function(a,l,u){var h=this.currentIV,f=this.currentResult,g=this.remainderData;this.logOnce("JS AES decrypt"),g&&(a=Object(o.appendUint8Array)(g,a),this.remainderData=null);var v=this.getValidChunk(a);if(!v.length)return null;h&&(u=h);var y=this.softwareDecrypter;y||(y=this.softwareDecrypter=new p.default),y.expandKey(l);var E=f;return this.currentResult=y.decrypt(v.buffer,0,u),this.currentIV=Object(r.sliceUint8)(v,-16).buffer,E||null},s.webCryptoDecrypt=function(a,l,u){var h=this,f=this.subtle;return(this.key!==l||!this.fastAesKey)&&(this.key=l,this.fastAesKey=new m.default(f,l)),this.fastAesKey.expandKey().then(function(g){if(!f)return Promise.reject(new Error("web crypto not initialized"));var v=new b.default(f,u);return v.decrypt(a.buffer,g)}).catch(function(g){return h.onWebCryptoError(g,a,l,u)})},s.onWebCryptoError=function(a,l,u,h){return c.logger.warn("[decrypter.ts]: WebCrypto Error, disable WebCrypto API:",a),this.config.enableSoftwareAES=!0,this.logEnabled=!0,this.softwareDecrypt(l,u,h)},s.getValidChunk=function(a){var l=a,u=a.length-a.length%i;return u!==a.length&&(l=Object(r.sliceUint8)(a,0,u),this.remainderData=Object(r.sliceUint8)(a,u)),l},s.logOnce=function(a){if(!this.logEnabled)return;c.logger.log("[decrypter.ts]: "+a),this.logEnabled=!1},t}()},"./src/crypt/fast-aes-key.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return b});var b=function(){function m(c,o){this.subtle=void 0,this.key=void 0,this.subtle=c,this.key=o}var p=m.prototype;return p.expandKey=function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])},m}()},"./src/demux/aacdemuxer.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/demux/base-audio-demuxer.ts"),m=A("./src/demux/adts.ts"),p=A("./src/utils/logger.ts"),c=A("./src/demux/id3.ts");function o(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,r(n,t)}function r(n,t){return r=Object.setPrototypeOf||function(e,a){return e.__proto__=a,e},r(n,t)}var i=function(n){o(t,n);function t(e,a){var l;return l=n.call(this)||this,l.observer=void 0,l.config=void 0,l.observer=e,l.config=a,l}var s=t.prototype;return s.resetInitSegment=function(a,l,u){n.prototype.resetInitSegment.call(this,a,l,u),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,isAAC:!0,samples:[],manifestCodec:a,duration:u,inputTimeScale:9e4,dropped:0}},t.probe=function(a){if(!a)return!1;for(var l=c.getID3Data(a,0)||[],u=l.length,h=a.length;u<h;u++)if(m.probe(a,u))return p.logger.log("ADTS sync word found !"),!0;return!1},s.canParse=function(a,l){return m.canParse(a,l)},s.appendFrame=function(a,l,u){m.initTrackConfig(a,this.observer,l,u,a.manifestCodec);var h=m.appendFrame(a,l,u,this.initPTS,this.frameIndex);if(h&&h.missing===0)return h},t}(b.default);i.minProbeByteLength=9,C.default=i},"./src/demux/adts.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"getAudioConfig",function(){return c}),A.d(C,"isHeaderPattern",function(){return o}),A.d(C,"getHeaderLength",function(){return r}),A.d(C,"getFullFrameLength",function(){return i}),A.d(C,"canGetFrameLength",function(){return n}),A.d(C,"isHeader",function(){return t}),A.d(C,"canParse",function(){return s}),A.d(C,"probe",function(){return e}),A.d(C,"initTrackConfig",function(){return a}),A.d(C,"getFrameDuration",function(){return l}),A.d(C,"parseFrameHeader",function(){return u}),A.d(C,"appendFrame",function(){return h});var b=A("./src/utils/logger.ts"),m=A("./src/errors.ts"),p=A("./src/events.ts");function c(f,g,v,y){var E,T,w,S,I=navigator.userAgent.toLowerCase(),L=y,O=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];E=((g[v+2]&192)>>>6)+1;var N=(g[v+2]&60)>>>2;if(N>O.length-1){f.trigger(p.Events.ERROR,{type:m.ErrorTypes.MEDIA_ERROR,details:m.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+N});return}return w=(g[v+2]&1)<<2,w|=(g[v+3]&192)>>>6,b.logger.log("manifest codec:"+y+", ADTS type:"+E+", samplingIndex:"+N),/firefox/i.test(I)?N>=6?(E=5,S=new Array(4),T=N-3):(E=2,S=new Array(2),T=N):I.indexOf("android")!==-1?(E=2,S=new Array(2),T=N):(E=5,S=new Array(4),y&&(y.indexOf("mp4a.40.29")!==-1||y.indexOf("mp4a.40.5")!==-1)||!y&&N>=6?T=N-3:((y&&y.indexOf("mp4a.40.2")!==-1&&(N>=6&&w===1||/vivaldi/i.test(I))||!y&&w===1)&&(E=2,S=new Array(2)),T=N)),S[0]=E<<3,S[0]|=(N&14)>>1,S[1]|=(N&1)<<7,S[1]|=w<<3,E===5&&(S[1]|=(T&14)>>1,S[2]=(T&1)<<7,S[2]|=2<<2,S[3]=0),{config:S,samplerate:O[N],channelCount:w,codec:"mp4a.40."+E,manifestCodec:L}}function o(f,g){return f[g]===255&&(f[g+1]&246)===240}function r(f,g){return f[g+1]&1?7:9}function i(f,g){return(f[g+3]&3)<<11|f[g+4]<<3|(f[g+5]&224)>>>5}function n(f,g){return g+5<f.length}function t(f,g){return g+1<f.length&&o(f,g)}function s(f,g){return n(f,g)&&o(f,g)&&i(f,g)<=f.length-g}function e(f,g){if(t(f,g)){var v=r(f,g);if(g+v>=f.length)return!1;var y=i(f,g);if(y<=v)return!1;var E=g+y;return E===f.length||t(f,E)}return!1}function a(f,g,v,y,E){if(!f.samplerate){var T=c(g,v,y,E);if(!T)return;f.config=T.config,f.samplerate=T.samplerate,f.channelCount=T.channelCount,f.codec=T.codec,f.manifestCodec=T.manifestCodec,b.logger.log("parsed codec:"+f.codec+", rate:"+T.samplerate+", channels:"+T.channelCount)}}function l(f){return 1024*9e4/f}function u(f,g,v,y,E){var T=r(f,g),w=i(f,g);if(w-=T,w>0){var S=v+y*E;return{headerLength:T,frameLength:w,stamp:S}}}function h(f,g,v,y,E){var T=l(f.samplerate),w=u(g,v,y,E,T);if(w){var S=w.frameLength,I=w.headerLength,L=w.stamp,O=I+S,N=Math.max(0,v+O-g.length),R;N?(R=new Uint8Array(O-I),R.set(g.subarray(v+I,g.length),0)):R=g.subarray(v+I,v+O);var D={unit:R,pts:L};return N||f.samples.push(D),{sample:D,length:O,missing:N}}}},"./src/demux/base-audio-demuxer.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"initPTSFn",function(){return i});var b=A("./src/polyfills/number.ts"),m=A("./src/demux/id3.ts"),p=A("./src/demux/dummy-demuxed-track.ts"),c=A("./src/utils/mp4-tools.ts"),o=A("./src/utils/typed-array.ts"),r=function(){function n(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.initPTS=null}var t=n.prototype;return t.resetInitSegment=function(e,a,l){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}},t.resetTimeStamp=function(){},t.resetContiguity=function(){},t.canParse=function(e,a){return!1},t.appendFrame=function(e,a,l){},t.demux=function(e,a){this.cachedData&&(e=Object(c.appendUint8Array)(this.cachedData,e),this.cachedData=null);var l=m.getID3Data(e,0),u=l?l.length:0,h,f,g=this._audioTrack,v=this._id3Track,y=l?m.getTimeStamp(l):void 0,E=e.length;for((this.frameIndex===0||this.initPTS===null)&&(this.initPTS=i(y,a)),l&&l.length>0&&v.samples.push({pts:this.initPTS,dts:this.initPTS,data:l}),f=this.initPTS;u<E;){if(this.canParse(e,u)){var T=this.appendFrame(g,e,u);T?(this.frameIndex++,f=T.sample.pts,u+=T.length,h=u):u=E}else m.canParse(e,u)?(l=m.getID3Data(e,u),v.samples.push({pts:f,dts:f,data:l}),u+=l.length,h=u):u++;if(u===E&&h!==E){var w=Object(o.sliceUint8)(e,h);this.cachedData?this.cachedData=Object(c.appendUint8Array)(this.cachedData,w):this.cachedData=w}}return{audioTrack:g,avcTrack:Object(p.dummyTrack)(),id3Track:v,textTrack:Object(p.dummyTrack)()}},t.demuxSampleAes=function(e,a,l){return Promise.reject(new Error("["+this+"] This demuxer does not support Sample-AES decryption"))},t.flush=function(e){var a=this.cachedData;return a&&(this.cachedData=null,this.demux(a,0)),this.frameIndex=0,{audioTrack:this._audioTrack,avcTrack:Object(p.dummyTrack)(),id3Track:this._id3Track,textTrack:Object(p.dummyTrack)()}},t.destroy=function(){},n}(),i=function(t,s){return Object(b.isFiniteNumber)(t)?t*90:s*9e4};C.default=r},"./src/demux/chunk-cache.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return b});var b=function(){function p(){this.chunks=[],this.dataLength=0}var c=p.prototype;return c.push=function(r){this.chunks.push(r),this.dataLength+=r.length},c.flush=function(){var r=this.chunks,i=this.dataLength,n;if(r.length)r.length===1?n=r[0]:n=m(r,i);else return new Uint8Array(0);return this.reset(),n},c.reset=function(){this.chunks.length=0,this.dataLength=0},p}();function m(p,c){for(var o=new Uint8Array(c),r=0,i=0;i<p.length;i++){var n=p[i];o.set(n,r),r+=n.length}return o}},"./src/demux/dummy-demuxed-track.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"dummyTrack",function(){return b});function b(){return{type:"",id:-1,pid:-1,inputTimeScale:9e4,sequenceNumber:-1,samples:[],dropped:0}}},"./src/demux/exp-golomb.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/utils/logger.ts"),m=function(){function p(o){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=o,this.bytesAvailable=o.byteLength,this.word=0,this.bitsAvailable=0}var c=p.prototype;return c.loadWord=function(){var r=this.data,i=this.bytesAvailable,n=r.byteLength-i,t=new Uint8Array(4),s=Math.min(4,i);if(s===0)throw new Error("no bytes available");t.set(r.subarray(n,n+s)),this.word=new DataView(t.buffer).getUint32(0),this.bitsAvailable=s*8,this.bytesAvailable-=s},c.skipBits=function(r){var i;this.bitsAvailable>r?(this.word<<=r,this.bitsAvailable-=r):(r-=this.bitsAvailable,i=r>>3,r-=i>>3,this.bytesAvailable-=i,this.loadWord(),this.word<<=r,this.bitsAvailable-=r)},c.readBits=function(r){var i=Math.min(this.bitsAvailable,r),n=this.word>>>32-i;return r>32&&b.logger.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=i,this.bitsAvailable>0?this.word<<=i:this.bytesAvailable>0&&this.loadWord(),i=r-i,i>0&&this.bitsAvailable?n<<i|this.readBits(i):n},c.skipLZ=function(){var r;for(r=0;r<this.bitsAvailable;++r)if((this.word&2147483648>>>r)!==0)return this.word<<=r,this.bitsAvailable-=r,r;return this.loadWord(),r+this.skipLZ()},c.skipUEG=function(){this.skipBits(1+this.skipLZ())},c.skipEG=function(){this.skipBits(1+this.skipLZ())},c.readUEG=function(){var r=this.skipLZ();return this.readBits(r+1)-1},c.readEG=function(){var r=this.readUEG();return 1&r?1+r>>>1:-1*(r>>>1)},c.readBoolean=function(){return this.readBits(1)===1},c.readUByte=function(){return this.readBits(8)},c.readUShort=function(){return this.readBits(16)},c.readUInt=function(){return this.readBits(32)},c.skipScalingList=function(r){for(var i=8,n=8,t,s=0;s<r;s++)n!==0&&(t=this.readEG(),n=(i+t+256)%256),i=n===0?i:n},c.readSPS=function(){var r=0,i=0,n=0,t=0,s,e,a,l=this.readUByte.bind(this),u=this.readBits.bind(this),h=this.readUEG.bind(this),f=this.readBoolean.bind(this),g=this.skipBits.bind(this),v=this.skipEG.bind(this),y=this.skipUEG.bind(this),E=this.skipScalingList.bind(this);l();var T=l();if(u(5),g(3),l(),y(),T===100||T===110||T===122||T===244||T===44||T===83||T===86||T===118||T===128){var w=h();if(w===3&&g(1),y(),y(),g(1),f())for(e=w!==3?8:12,a=0;a<e;a++)f()&&(a<6?E(16):E(64))}y();var S=h();if(S===0)h();else if(S===1)for(g(1),v(),v(),s=h(),a=0;a<s;a++)v();y(),g(1);var I=h(),L=h(),O=u(1);O===0&&g(1),g(1),f()&&(r=h(),i=h(),n=h(),t=h());var N=[1,1];if(f()&&f()){var R=l();switch(R){case 1:N=[1,1];break;case 2:N=[12,11];break;case 3:N=[10,11];break;case 4:N=[16,11];break;case 5:N=[40,33];break;case 6:N=[24,11];break;case 7:N=[20,11];break;case 8:N=[32,11];break;case 9:N=[80,33];break;case 10:N=[18,11];break;case 11:N=[15,11];break;case 12:N=[64,33];break;case 13:N=[160,99];break;case 14:N=[4,3];break;case 15:N=[3,2];break;case 16:N=[2,1];break;case 255:{N=[l()<<8|l(),l()<<8|l()];break}}}return{width:Math.ceil((I+1)*16-r*2-i*2),height:(2-O)*(L+1)*16-(O?2:4)*(n+t),pixelRatio:N}},c.readSliceType=function(){return this.readUByte(),this.readUEG(),this.readUEG()},p}();C.default=m},"./src/demux/id3.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"isHeader",function(){return b}),A.d(C,"isFooter",function(){return m}),A.d(C,"getID3Data",function(){return p}),A.d(C,"canParse",function(){return o}),A.d(C,"getTimeStamp",function(){return r}),A.d(C,"isTimeStampFrame",function(){return i}),A.d(C,"getID3Frames",function(){return t}),A.d(C,"decodeFrame",function(){return s}),A.d(C,"utf8ArrayToStr",function(){return h}),A.d(C,"testables",function(){return f});var b=function(E,T){return T+10<=E.length&&(E[T]===73&&E[T+1]===68&&E[T+2]===51&&(E[T+3]<255&&E[T+4]<255&&(E[T+6]<128&&E[T+7]<128&&E[T+8]<128&&E[T+9]<128)))},m=function(E,T){return T+10<=E.length&&(E[T]===51&&E[T+1]===68&&E[T+2]===73&&(E[T+3]<255&&E[T+4]<255&&(E[T+6]<128&&E[T+7]<128&&E[T+8]<128&&E[T+9]<128)))},p=function(E,T){for(var w=T,S=0;b(E,T);){S+=10;var I=c(E,T+6);S+=I,m(E,T+10)&&(S+=10),T+=S}return S>0?E.subarray(w,w+S):void 0},c=function(E,T){var w=0;return w=(E[T]&127)<<21,w|=(E[T+1]&127)<<14,w|=(E[T+2]&127)<<7,w|=E[T+3]&127,w},o=function(E,T){return b(E,T)&&c(E,T+6)+10<=E.length-T},r=function(E){for(var T=t(E),w=0;w<T.length;w++){var S=T[w];if(i(S))return u(S)}return},i=function(E){return E&&E.key==="PRIV"&&E.info==="com.apple.streaming.transportStreamTimestamp"},n=function(E){var T=String.fromCharCode(E[0],E[1],E[2],E[3]),w=c(E,4),S=10;return{type:T,size:w,data:E.subarray(S,S+w)}},t=function(E){for(var T=0,w=[];b(E,T);){var S=c(E,T+6);T+=10;for(var I=T+S;T+8<I;){var L=n(E.subarray(T)),O=s(L);O&&w.push(O),T+=L.size+10}m(E,T)&&(T+=10)}return w},s=function(E){return E.type==="PRIV"?e(E):E.type[0]==="W"?l(E):a(E)},e=function(E){if(E.size<2)return;var T=h(E.data,!0),w=new Uint8Array(E.data.subarray(T.length+1));return{key:E.type,info:T,data:w.buffer}},a=function(E){if(E.size<2)return;if(E.type==="TXXX"){var T=1,w=h(E.data.subarray(T),!0);T+=w.length+1;var S=h(E.data.subarray(T));return{key:E.type,info:w,data:S}}var I=h(E.data.subarray(1));return{key:E.type,data:I}},l=function(E){if(E.type==="WXXX"){if(E.size<2)return;var T=1,w=h(E.data.subarray(T),!0);T+=w.length+1;var S=h(E.data.subarray(T));return{key:E.type,info:w,data:S}}var I=h(E.data);return{key:E.type,data:I}},u=function(E){if(E.data.byteLength===8){var T=new Uint8Array(E.data),w=T[3]&1,S=(T[4]<<23)+(T[5]<<15)+(T[6]<<7)+T[7];return S/=45,w&&(S+=4772185884e-2),Math.round(S)}return},h=function(E,T){T===void 0&&(T=!1);var w=v();if(w){var S=w.decode(E);if(T){var I=S.indexOf("\0");return I!==-1?S.substring(0,I):S}return S.replace(/\0/g,"")}for(var L=E.length,O,N,R,D="",B=0;B<L;){if(O=E[B++],O===0&&T)return D;if(O===0||O===3)continue;switch(O>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:D+=String.fromCharCode(O);break;case 12:case 13:N=E[B++],D+=String.fromCharCode((O&31)<<6|N&63);break;case 14:N=E[B++],R=E[B++],D+=String.fromCharCode((O&15)<<12|(N&63)<<6|(R&63)<<0);break;default:}}return D},f={decodeTextFrame:a},g;function v(){return!g&&typeof self.TextDecoder!="undefined"&&(g=new self.TextDecoder("utf-8")),g}},"./src/demux/mp3demuxer.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/demux/base-audio-demuxer.ts"),m=A("./src/demux/id3.ts"),p=A("./src/utils/logger.ts"),c=A("./src/demux/mpegaudio.ts");function o(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,r(n,t)}function r(n,t){return r=Object.setPrototypeOf||function(e,a){return e.__proto__=a,e},r(n,t)}var i=function(n){o(t,n);function t(){return n.apply(this,arguments)||this}var s=t.prototype;return s.resetInitSegment=function(a,l,u){n.prototype.resetInitSegment.call(this,a,l,u),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,isAAC:!1,samples:[],manifestCodec:a,duration:u,inputTimeScale:9e4,dropped:0}},t.probe=function(a){if(!a)return!1;for(var l=m.getID3Data(a,0)||[],u=l.length,h=a.length;u<h;u++)if(c.probe(a,u))return p.logger.log("MPEG Audio sync word found !"),!0;return!1},s.canParse=function(a,l){return c.canParse(a,l)},s.appendFrame=function(a,l,u){return this.initPTS===null?void 0:c.appendFrame(a,l,u,this.initPTS,this.frameIndex)},t}(b.default);i.minProbeByteLength=4,C.default=i},"./src/demux/mp4demuxer.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/utils/mp4-tools.ts"),m=A("./src/demux/dummy-demuxed-track.ts"),p=function(){function c(r,i){this.remainderData=null,this.config=void 0,this.config=i}var o=c.prototype;return o.resetTimeStamp=function(){},o.resetInitSegment=function(){},o.resetContiguity=function(){},c.probe=function(i){return Object(b.findBox)({data:i,start:0,end:Math.min(i.length,16384)},["moof"]).length>0},o.demux=function(i){var n=i,t=Object(m.dummyTrack)();if(this.config.progressive){this.remainderData&&(n=Object(b.appendUint8Array)(this.remainderData,i));var s=Object(b.segmentValidRange)(n);this.remainderData=s.remainder,t.samples=s.valid||new Uint8Array}else t.samples=n;return{audioTrack:Object(m.dummyTrack)(),avcTrack:t,id3Track:Object(m.dummyTrack)(),textTrack:Object(m.dummyTrack)()}},o.flush=function(){var i=Object(m.dummyTrack)();return i.samples=this.remainderData||new Uint8Array,this.remainderData=null,{audioTrack:Object(m.dummyTrack)(),avcTrack:i,id3Track:Object(m.dummyTrack)(),textTrack:Object(m.dummyTrack)()}},o.demuxSampleAes=function(i,n,t){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))},o.destroy=function(){},c}();p.minProbeByteLength=1024,C.default=p},"./src/demux/mpegaudio.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"appendFrame",function(){return r}),A.d(C,"parseHeader",function(){return i}),A.d(C,"isHeaderPattern",function(){return n}),A.d(C,"isHeader",function(){return t}),A.d(C,"canParse",function(){return s}),A.d(C,"probe",function(){return e});var b=null,m=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],p=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],c=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],o=[0,1,1,4];function r(a,l,u,h,f){if(u+24>l.length)return;var g=i(l,u);if(g&&u+g.frameLength<=l.length){var v=g.samplesPerFrame*9e4/g.sampleRate,y=h+f*v,E={unit:l.subarray(u,u+g.frameLength),pts:y,dts:y};return a.config=[],a.channelCount=g.channelCount,a.samplerate=g.sampleRate,a.samples.push(E),{sample:E,length:g.frameLength,missing:0}}}function i(a,l){var u=a[l+1]>>3&3,h=a[l+1]>>1&3,f=a[l+2]>>4&15,g=a[l+2]>>2&3;if(u!==1&&f!==0&&f!==15&&g!==3){var v=a[l+2]>>1&1,y=a[l+3]>>6,E=u===3?3-h:h===3?3:4,T=m[E*14+f-1]*1e3,w=u===3?0:u===2?1:2,S=p[w*3+g],I=y===3?1:2,L=c[u][h],O=o[h],N=L*8*O,R=Math.floor(L*T/S+v)*O;if(b===null){var D=navigator.userAgent||"",B=D.match(/Chrome\/(\d+)/i);b=B?parseInt(B[1]):0}var M=!!b&&b<=87;return M&&h===2&&T>=224e3&&y===0&&(a[l+3]=a[l+3]|128),{sampleRate:S,channelCount:I,frameLength:R,samplesPerFrame:N}}}function n(a,l){return a[l]===255&&(a[l+1]&224)===224&&(a[l+1]&6)!==0}function t(a,l){return l+1<a.length&&n(a,l)}function s(a,l){var u=4;return n(a,l)&&u<=a.length-l}function e(a,l){if(l+1<a.length&&n(a,l)){var u=4,h=i(a,l),f=u;h!=null&&h.frameLength&&(f=h.frameLength);var g=l+f;return g===a.length||t(a,g)}return!1}},"./src/demux/sample-aes.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/crypt/decrypter.ts"),m=A("./src/demux/tsdemuxer.ts"),p=function(){function c(r,i,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new b.default(r,i,{removePKCS7Padding:!1})}var o=c.prototype;return o.decryptBuffer=function(i,n){this.decrypter.decrypt(i,this.keyData.key.buffer,this.keyData.iv.buffer,n)},o.decryptAacSample=function(i,n,t,s){var e=i[n].unit,a=e.subarray(16,e.length-e.length%16),l=a.buffer.slice(a.byteOffset,a.byteOffset+a.length),u=this;this.decryptBuffer(l,function(h){var f=new Uint8Array(h);e.set(f,16),s||u.decryptAacSamples(i,n+1,t)})},o.decryptAacSamples=function(i,n,t){for(;;n++){if(n>=i.length){t();return}if(i[n].unit.length<32)continue;var s=this.decrypter.isSync();if(this.decryptAacSample(i,n,t,s),!s)return}},o.getAvcEncryptedData=function(i){for(var n=Math.floor((i.length-48)/160)*16+16,t=new Int8Array(n),s=0,e=32;e<i.length-16;e+=160,s+=16)t.set(i.subarray(e,e+16),s);return t},o.getAvcDecryptedUnit=function(i,n){for(var t=new Uint8Array(n),s=0,e=32;e<i.length-16;e+=160,s+=16)i.set(t.subarray(s,s+16),e);return i},o.decryptAvcSample=function(i,n,t,s,e,a){var l=Object(m.discardEPB)(e.data),u=this.getAvcEncryptedData(l),h=this;this.decryptBuffer(u.buffer,function(f){e.data=h.getAvcDecryptedUnit(l,f),a||h.decryptAvcSamples(i,n,t+1,s)})},o.decryptAvcSamples=function(i,n,t,s){if(i instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,t=0){if(n>=i.length){s();return}for(var e=i[n].units;!(t>=e.length);t++){var a=e[t];if(a.data.length<=48||a.type!==1&&a.type!==5)continue;var l=this.decrypter.isSync();if(this.decryptAvcSample(i,n,t,s,a,l),!l)return}}},c}();C.default=p},"./src/demux/transmuxer-interface.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return e});var b=A("./node_modules/webworkify-webpack/index.js"),m=A.n(b),p=A("./src/events.ts"),c=A("./src/demux/transmuxer.ts"),o=A("./src/utils/logger.ts"),r=A("./src/errors.ts"),i=A("./src/utils/mediasource-helper.ts"),n=A("./node_modules/eventemitter3/index.js"),t=A.n(n),s=Object(i.getMediaSource)()||{isTypeSupported:function(){return!1}},e=function(){function a(u,h,f,g){var v=this;this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.worker=void 0,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.hls=u,this.id=h,this.onTransmuxComplete=f,this.onFlush=g;var y=u.config,E=function(L,O){O=O||{},O.frag=v.frag,O.id=v.id,u.trigger(L,O)};this.observer=new n.EventEmitter,this.observer.on(p.Events.FRAG_DECRYPTED,E),this.observer.on(p.Events.ERROR,E);var T={mp4:s.isTypeSupported("video/mp4"),mpeg:s.isTypeSupported("audio/mpeg"),mp3:s.isTypeSupported('audio/mp4; codecs="mp3"')},w=navigator.vendor;if(y.enableWorker&&typeof Worker!="undefined"){o.logger.log("demuxing in webworker");var S;try{S=this.worker=b("./src/demux/transmuxer-worker.ts"),this.onwmsg=this.onWorkerMessage.bind(this),S.addEventListener("message",this.onwmsg),S.onerror=function(I){u.trigger(p.Events.ERROR,{type:r.ErrorTypes.OTHER_ERROR,details:r.ErrorDetails.INTERNAL_EXCEPTION,fatal:!0,event:"demuxerWorker",error:new Error(I.message+" ("+I.filename+":"+I.lineno+")")})},S.postMessage({cmd:"init",typeSupported:T,vendor:w,id:h,config:JSON.stringify(y)})}catch(I){o.logger.warn("Error in worker:",I),o.logger.error("Error while initializing DemuxerWorker, fallback to inline"),S&&self.URL.revokeObjectURL(S.objectURL),this.transmuxer=new c.default(this.observer,T,y,w,h),this.worker=null}}else this.transmuxer=new c.default(this.observer,T,y,w,h)}var l=a.prototype;return l.destroy=function(){var h=this.worker;if(h)h.removeEventListener("message",this.onwmsg),h.terminate(),this.worker=null;else{var f=this.transmuxer;f&&(f.destroy(),this.transmuxer=null)}var g=this.observer;g&&g.removeAllListeners(),this.observer=null},l.push=function(h,f,g,v,y,E,T,w,S,I){var L,O,N=this;S.transmuxing.start=self.performance.now();var R=this.transmuxer,D=this.worker,B=E?E.start:y.start,M=y.decryptdata,U=this.frag,F=!(U&&y.cc===U.cc),j=!(U&&S.level===U.level),W=U?S.sn-U.sn:-1,V=this.part?S.part-this.part.index:1,z=!j&&(W===1||W===0&&V===1),Y=self.performance.now();(j||W||y.stats.parsing.start===0)&&(y.stats.parsing.start=Y),E&&(V||!z)&&(E.stats.parsing.start=Y);var J=!(U&&((L=y.initSegment)===null||L===void 0?void 0:L.url)===((O=U.initSegment)===null||O===void 0?void 0:O.url)),ie=new c.TransmuxState(F,z,w,j,B,J);if(!z||F||J){o.logger.log("[transmuxer-interface, "+y.type+"]: Starting new transmux session for sn: "+S.sn+" p: "+S.part+" level: "+S.level+" id: "+S.id+`
discontinuity: `+F+`
trackSwitch: `+j+`
contiguous: `+z+`
accurateTimeOffset: `+w+`
timeOffset: `+B+`
initSegmentChange: `+J);var Z=new c.TransmuxConfig(g,v,f,T,I);this.configureTransmuxer(Z)}if(this.frag=y,this.part=E,D)D.postMessage({cmd:"demux",data:h,decryptdata:M,chunkMeta:S,state:ie},h instanceof ArrayBuffer?[h]:[]);else if(R){var oe=R.push(h,M,S,ie);Object(c.isPromise)(oe)?oe.then(function(ge){N.handleTransmuxComplete(ge)}):this.handleTransmuxComplete(oe)}},l.flush=function(h){var f=this;h.transmuxing.start=self.performance.now();var g=this.transmuxer,v=this.worker;if(v)v.postMessage({cmd:"flush",chunkMeta:h});else if(g){var y=g.flush(h);Object(c.isPromise)(y)?y.then(function(E){f.handleFlushResult(E,h)}):this.handleFlushResult(y,h)}},l.handleFlushResult=function(h,f){var g=this;h.forEach(function(v){g.handleTransmuxComplete(v)}),this.onFlush(f)},l.onWorkerMessage=function(h){var f=h.data,g=this.hls;switch(f.event){case"init":{self.URL.revokeObjectURL(this.worker.objectURL);break}case"transmuxComplete":{this.handleTransmuxComplete(f.data);break}case"flush":{this.onFlush(f.data);break}default:{f.data=f.data||{},f.data.frag=this.frag,f.data.id=this.id,g.trigger(f.event,f.data);break}}},l.configureTransmuxer=function(h){var f=this.worker,g=this.transmuxer;f?f.postMessage({cmd:"configure",config:h}):g&&g.configure(h)},l.handleTransmuxComplete=function(h){h.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(h)},a}()},"./src/demux/transmuxer-worker.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return r});var b=A("./src/demux/transmuxer.ts"),m=A("./src/events.ts"),p=A("./src/utils/logger.ts"),c=A("./node_modules/eventemitter3/index.js"),o=A.n(c);function r(e){var a=new c.EventEmitter,l=function(h,f){e.postMessage({event:h,data:f})};a.on(m.Events.FRAG_DECRYPTED,l),a.on(m.Events.ERROR,l),e.addEventListener("message",function(u){var h=u.data;switch(h.cmd){case"init":{var f=JSON.parse(h.config);e.transmuxer=new b.default(a,h.typeSupported,f,h.vendor,h.id),Object(p.enableLogs)(f.debug),l("init",null);break}case"configure":{e.transmuxer.configure(h.config);break}case"demux":{var g=e.transmuxer.push(h.data,h.decryptdata,h.chunkMeta,h.state);Object(b.isPromise)(g)?g.then(function(E){i(e,E)}):i(e,g);break}case"flush":{var v=h.chunkMeta,y=e.transmuxer.flush(v);Object(b.isPromise)(y)?y.then(function(E){t(e,E,v)}):t(e,y,v);break}default:break}})}function i(e,a){if(s(a.remuxResult))return;var l=[],u=a.remuxResult,h=u.audio,f=u.video;h&&n(l,h),f&&n(l,f),e.postMessage({event:"transmuxComplete",data:a},l)}function n(e,a){a.data1&&e.push(a.data1.buffer),a.data2&&e.push(a.data2.buffer)}function t(e,a,l){a.forEach(function(u){i(e,u)}),e.postMessage({event:"flush",data:l})}function s(e){return!e.audio&&!e.video&&!e.text&&!e.id3&&!e.initSegment}},"./src/demux/transmuxer.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return f}),A.d(C,"isPromise",function(){return y}),A.d(C,"TransmuxConfig",function(){return E}),A.d(C,"TransmuxState",function(){return T});var b=A("./src/events.ts"),m=A("./src/errors.ts"),p=A("./src/crypt/decrypter.ts"),c=A("./src/demux/aacdemuxer.ts"),o=A("./src/demux/mp4demuxer.ts"),r=A("./src/demux/tsdemuxer.ts"),i=A("./src/demux/mp3demuxer.ts"),n=A("./src/remux/mp4-remuxer.ts"),t=A("./src/remux/passthrough-remuxer.ts"),s=A("./src/demux/chunk-cache.ts"),e=A("./src/utils/mp4-tools.ts"),a=A("./src/utils/logger.ts"),l;try{l=self.performance.now.bind(self.performance)}catch(w){a.logger.debug("Unable to use Performance API on this environment"),l=self.Date.now}var u=[{demux:r.default,remux:n.default},{demux:o.default,remux:t.default},{demux:c.default,remux:n.default},{demux:i.default,remux:n.default}],h=1024;u.forEach(function(w){var S=w.demux;h=Math.max(h,S.minProbeByteLength)});var f=function(){function w(I,L,O,N,R){this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.vendor=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.cache=new s.default,this.observer=I,this.typeSupported=L,this.config=O,this.vendor=N,this.id=R}var S=w.prototype;return S.configure=function(L){this.transmuxConfig=L,this.decrypter&&this.decrypter.reset()},S.push=function(L,O,N,R){var D=this,B=N.transmuxing;B.executeStart=l();var M=new Uint8Array(L),U=this.cache,F=this.config,j=this.currentTransmuxState,W=this.transmuxConfig;R&&(this.currentTransmuxState=R);var V=g(M,O);if(V&&V.method==="AES-128"){var z=this.getDecrypter();if(F.enableSoftwareAES){var Y=z.softwareDecrypt(M,V.key.buffer,V.iv.buffer);if(!Y)return B.executeEnd=l(),v(N);M=new Uint8Array(Y)}else return this.decryptionPromise=z.webCryptoDecrypt(M,V.key.buffer,V.iv.buffer).then(function(Q){var ve=D.push(Q,null,N);return D.decryptionPromise=null,ve}),this.decryptionPromise}var J=R||j,ie=J.contiguous,Z=J.discontinuity,oe=J.trackSwitch,ge=J.accurateTimeOffset,pe=J.timeOffset,De=J.initSegmentChange,ce=W.audioCodec,Oe=W.videoCodec,se=W.defaultInitPts,$=W.duration,ze=W.initSegmentData;if((Z||oe||De)&&this.resetInitSegment(ze,ce,Oe,$),(Z||De)&&this.resetInitialTimestamp(se),ie||this.resetContiguity(),this.needsProbing(M,Z,oe)){if(U.dataLength){var re=U.flush();M=Object(e.appendUint8Array)(re,M)}this.configureTransmuxer(M,W)}var X=this.transmux(M,V,pe,ge,N),G=this.currentTransmuxState;return G.contiguous=!0,G.discontinuity=!1,G.trackSwitch=!1,B.executeEnd=l(),X},S.flush=function(L){var O=this,N=L.transmuxing;N.executeStart=l();var R=this.decrypter,D=this.cache,B=this.currentTransmuxState,M=this.decryptionPromise;if(M)return M.then(function(){return O.flush(L)});var U=[],F=B.timeOffset;if(R){var j=R.flush();j&&U.push(this.push(j,null,L))}var W=D.dataLength;D.reset();var V=this.demuxer,z=this.remuxer;if(!V||!z)return W>=h&&this.observer.emit(b.Events.ERROR,b.Events.ERROR,{type:m.ErrorTypes.MEDIA_ERROR,details:m.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"}),N.executeEnd=l(),[v(L)];var Y=V.flush(F);return y(Y)?Y.then(function(J){return O.flushRemux(U,J,L),U}):(this.flushRemux(U,Y,L),U)},S.flushRemux=function(L,O,N){var R=O.audioTrack,D=O.avcTrack,B=O.id3Track,M=O.textTrack,U=this.currentTransmuxState,F=U.accurateTimeOffset,j=U.timeOffset;a.logger.log("[transmuxer.ts]: Flushed fragment "+N.sn+(N.part>-1?" p: "+N.part:"")+" of level "+N.level);var W=this.remuxer.remux(R,D,B,M,j,F,!0,this.id);L.push({remuxResult:W,chunkMeta:N}),N.transmuxing.executeEnd=l()},S.resetInitialTimestamp=function(L){var O=this.demuxer,N=this.remuxer;if(!O||!N)return;O.resetTimeStamp(L),N.resetTimeStamp(L)},S.resetContiguity=function(){var L=this.demuxer,O=this.remuxer;if(!L||!O)return;L.resetContiguity(),O.resetNextTimestamp()},S.resetInitSegment=function(L,O,N,R){var D=this.demuxer,B=this.remuxer;if(!D||!B)return;D.resetInitSegment(O,N,R),B.resetInitSegment(L,O,N)},S.destroy=function(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)},S.transmux=function(L,O,N,R,D){var B;return O&&O.method==="SAMPLE-AES"?B=this.transmuxSampleAes(L,O,N,R,D):B=this.transmuxUnencrypted(L,N,R,D),B},S.transmuxUnencrypted=function(L,O,N,R){var D=this.demuxer.demux(L,O,!1,!this.config.progressive),B=D.audioTrack,M=D.avcTrack,U=D.id3Track,F=D.textTrack,j=this.remuxer.remux(B,M,U,F,O,N,!1,this.id);return{remuxResult:j,chunkMeta:R}},S.transmuxSampleAes=function(L,O,N,R,D){var B=this;return this.demuxer.demuxSampleAes(L,O,N).then(function(M){var U=B.remuxer.remux(M.audioTrack,M.avcTrack,M.id3Track,M.textTrack,N,R,!1,B.id);return{remuxResult:U,chunkMeta:D}})},S.configureTransmuxer=function(L,O){for(var N=this.config,R=this.observer,D=this.typeSupported,B=this.vendor,M=O.audioCodec,U=O.defaultInitPts,F=O.duration,j=O.initSegmentData,W=O.videoCodec,V,z=0,Y=u.length;z<Y;z++)if(u[z].demux.probe(L)){V=u[z];break}V||(a.logger.warn("Failed to find demuxer by probing frag, treating as mp4 passthrough"),V={demux:o.default,remux:t.default});var J=this.demuxer,ie=this.remuxer,Z=V.remux,oe=V.demux;(!ie||!(ie instanceof Z))&&(this.remuxer=new Z(R,N,D,B)),(!J||!(J instanceof oe))&&(this.demuxer=new oe(R,N,D),this.probe=oe.probe),this.resetInitSegment(j,M,W,F),this.resetInitialTimestamp(U)},S.needsProbing=function(L,O,N){return!this.demuxer||!this.remuxer||O||N},S.getDecrypter=function(){var L=this.decrypter;return L||(L=this.decrypter=new p.default(this.observer,this.config)),L},w}();function g(w,S){var I=null;return w.byteLength>0&&S!=null&&S.key!=null&&S.iv!==null&&S.method!=null&&(I=S),I}var v=function(S){return{remuxResult:{},chunkMeta:S}};function y(w){return"then"in w&&w.then instanceof Function}var E=function(S,I,L,O,N){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=S,this.videoCodec=I,this.initSegmentData=L,this.duration=O,this.defaultInitPts=N},T=function(S,I,L,O,N,R){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=S,this.contiguous=I,this.accurateTimeOffset=L,this.trackSwitch=O,this.timeOffset=N,this.initSegmentChange=R}},"./src/demux/tsdemuxer.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"discardEPB",function(){return v});var b=A("./src/demux/adts.ts"),m=A("./src/demux/mpegaudio.ts"),p=A("./src/demux/exp-golomb.ts"),c=A("./src/demux/id3.ts"),o=A("./src/demux/sample-aes.ts"),r=A("./src/events.ts"),i=A("./src/utils/mp4-tools.ts"),n=A("./src/utils/logger.ts"),t=A("./src/errors.ts"),s={video:1,audio:2,id3:3,text:4},e=function(){function y(T,w,S){this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._duration=0,this.aacLastPTS=null,this._initPTS=null,this._initDTS=null,this._pmtId=-1,this._avcTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.avcSample=null,this.remainderData=null,this.observer=T,this.config=w,this.typeSupported=S}y.probe=function(w){var S=y.syncOffset(w);return S<0?!1:(S&&n.logger.warn("MPEG2-TS detected but first sync word found @ offset "+S+", junk ahead ?"),!0)},y.syncOffset=function(w){for(var S=Math.min(1e3,w.length-3*188),I=0;I<S;){if(w[I]===71&&w[I+188]===71&&w[I+2*188]===71)return I;I++}return-1},y.createTrack=function(w,S){return{container:w==="video"||w==="audio"?"video/mp2t":void 0,type:w,id:s[w],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:w==="audio"?S:void 0}};var E=y.prototype;return E.resetInitSegment=function(w,S,I){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=y.createTrack("video",I),this._audioTrack=y.createTrack("audio",I),this._id3Track=y.createTrack("id3",I),this._txtTrack=y.createTrack("text",I),this._audioTrack.isAAC=!0,this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=w,this.videoCodec=S,this._duration=I},E.resetTimeStamp=function(){},E.resetContiguity=function(){var w=this._audioTrack,S=this._avcTrack,I=this._id3Track;w&&(w.pesData=null),S&&(S.pesData=null),I&&(I.pesData=null),this.aacOverFlow=null,this.aacLastPTS=null},E.demux=function(w,S,I,L){I===void 0&&(I=!1),L===void 0&&(L=!1),I||(this.sampleAes=null);var O,N=this._avcTrack,R=this._audioTrack,D=this._id3Track,B=N.pid,M=N.pesData,U=R.pid,F=D.pid,j=R.pesData,W=D.pesData,V=!1,z=this.pmtParsed,Y=this._pmtId,J=w.length;if(this.remainderData&&(w=Object(i.appendUint8Array)(this.remainderData,w),J=w.length,this.remainderData=null),J<188&&!L)return this.remainderData=w,{audioTrack:R,avcTrack:N,id3Track:D,textTrack:this._txtTrack};var ie=Math.max(0,y.syncOffset(w));J-=(J+ie)%188,J<w.byteLength&&!L&&(this.remainderData=new Uint8Array(w.buffer,J,w.buffer.byteLength-J));for(var Z=0,oe=ie;oe<J;oe+=188)if(w[oe]===71){var ge=!!(w[oe+1]&64),pe=((w[oe+1]&31)<<8)+w[oe+2],De=(w[oe+3]&48)>>4,ce=void 0;if(De>1){if(ce=oe+5+w[oe+4],ce===oe+188)continue}else ce=oe+4;switch(pe){case B:ge&&(M&&(O=h(M))&&this.parseAVCPES(O,!1),M={data:[],size:0}),M&&(M.data.push(w.subarray(ce,oe+188)),M.size+=oe+188-ce);break;case U:ge&&(j&&(O=h(j))&&(R.isAAC?this.parseAACPES(O):this.parseMPEGPES(O)),j={data:[],size:0}),j&&(j.data.push(w.subarray(ce,oe+188)),j.size+=oe+188-ce);break;case F:ge&&(W&&(O=h(W))&&this.parseID3PES(O),W={data:[],size:0}),W&&(W.data.push(w.subarray(ce,oe+188)),W.size+=oe+188-ce);break;case 0:ge&&(ce+=w[ce]+1),Y=this._pmtId=l(w,ce);break;case Y:{ge&&(ce+=w[ce]+1);var Oe=u(w,ce,this.typeSupported.mpeg===!0||this.typeSupported.mp3===!0,I);B=Oe.avc,B>0&&(N.pid=B),U=Oe.audio,U>0&&(R.pid=U,R.isAAC=Oe.isAAC),F=Oe.id3,F>0&&(D.pid=F),V&&!z&&(n.logger.log("reparse from beginning"),V=!1,oe=ie-188),z=this.pmtParsed=!0;break}case 17:case 8191:break;default:V=!0;break}}else Z++;Z>0&&this.observer.emit(r.Events.ERROR,r.Events.ERROR,{type:t.ErrorTypes.MEDIA_ERROR,details:t.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"Found "+Z+" TS packet/s that do not start with 0x47"}),N.pesData=M,R.pesData=j,D.pesData=W;var se={audioTrack:R,avcTrack:N,id3Track:D,textTrack:this._txtTrack};return L&&this.extractRemainingSamples(se),se},E.flush=function(){var w=this.remainderData;this.remainderData=null;var S;return w?S=this.demux(w,-1,!1,!0):S={audioTrack:this._audioTrack,avcTrack:this._avcTrack,textTrack:this._txtTrack,id3Track:this._id3Track},this.extractRemainingSamples(S),this.sampleAes?this.decrypt(S,this.sampleAes):S},E.extractRemainingSamples=function(w){var S=w.audioTrack,I=w.avcTrack,L=w.id3Track,O=I.pesData,N=S.pesData,R=L.pesData,D;O&&(D=h(O))?(this.parseAVCPES(D,!0),I.pesData=null):I.pesData=O,N&&(D=h(N))?(S.isAAC?this.parseAACPES(D):this.parseMPEGPES(D),S.pesData=null):(N!=null&&N.size&&n.logger.log("last AAC PES packet truncated,might overlap between fragments"),S.pesData=N),R&&(D=h(R))?(this.parseID3PES(D),L.pesData=null):L.pesData=R},E.demuxSampleAes=function(w,S,I){var L=this.demux(w,I,!0,!this.config.progressive),O=this.sampleAes=new o.default(this.observer,this.config,S);return this.decrypt(L,O)},E.decrypt=function(w,S){return new Promise(function(I){var L=w.audioTrack,O=w.avcTrack;L.samples&&L.isAAC?S.decryptAacSamples(L.samples,0,function(){O.samples?S.decryptAvcSamples(O.samples,0,0,function(){I(w)}):I(w)}):O.samples&&S.decryptAvcSamples(O.samples,0,0,function(){I(w)})})},E.destroy=function(){this._initPTS=this._initDTS=null,this._duration=0},E.parseAVCPES=function(w,S){var I=this,L=this._avcTrack,O=this.parseAVCNALu(w.data),N=!1,R=this.avcSample,D,B=!1;w.data=null,R&&O.length&&!L.audFound&&(f(R,L),R=this.avcSample=a(!1,w.pts,w.dts,"")),O.forEach(function(M){switch(M.type){case 1:{D=!0,R||(R=I.avcSample=a(!0,w.pts,w.dts,"")),N&&(R.debug+="NDR "),R.frame=!0;var U=M.data;if(B&&U.length>4){var F=new p.default(U).readSliceType();(F===2||F===4||F===7||F===9)&&(R.key=!0)}break}case 5:D=!0,R||(R=I.avcSample=a(!0,w.pts,w.dts,"")),N&&(R.debug+="IDR "),R.key=!0,R.frame=!0;break;case 6:{D=!0,N&&R&&(R.debug+="SEI ");var j=new p.default(v(M.data));j.readUByte();for(var W=0,V=0,z=!1,Y=0;!z&&j.bytesAvailable>1;){W=0;do Y=j.readUByte(),W+=Y;while(Y===255);V=0;do Y=j.readUByte(),V+=Y;while(Y===255);if(W===4&&j.bytesAvailable!==0){z=!0;var J=j.readUByte();if(J===181){var ie=j.readUShort();if(ie===49){var Z=j.readUInt();if(Z===1195456820){var oe=j.readUByte();if(oe===3){for(var ge=j.readUByte(),pe=j.readUByte(),De=31&ge,ce=[ge,pe],Oe=0;Oe<De;Oe++)ce.push(j.readUByte()),ce.push(j.readUByte()),ce.push(j.readUByte());g(I._txtTrack.samples,{type:3,pts:w.pts,bytes:ce})}}}}}else if(W===5&&j.bytesAvailable!==0){if(z=!0,V>16){for(var se=[],$=0;$<16;$++)se.push(j.readUByte().toString(16)),($===3||$===5||$===7||$===9)&&se.push("-");for(var ze=V-16,re=new Uint8Array(ze),X=0;X<ze;X++)re[X]=j.readUByte();g(I._txtTrack.samples,{pts:w.pts,payloadType:W,uuid:se.join(""),userData:Object(c.utf8ArrayToStr)(re),userDataBytes:re})}}else if(V<j.bytesAvailable)for(var G=0;G<V;G++)j.readUByte()}break}case 7:if(D=!0,B=!0,N&&R&&(R.debug+="SPS "),!L.sps){var Q=new p.default(M.data),ve=Q.readSPS();L.width=ve.width,L.height=ve.height,L.pixelRatio=ve.pixelRatio,L.sps=[M.data],L.duration=I._duration;for(var de=M.data.subarray(1,4),Ce="avc1.",we=0;we<3;we++){var le=de[we].toString(16);le.length<2&&(le="0"+le),Ce+=le}L.codec=Ce}break;case 8:D=!0,N&&R&&(R.debug+="PPS "),L.pps||(L.pps=[M.data]);break;case 9:D=!1,L.audFound=!0,R&&f(R,L),R=I.avcSample=a(!1,w.pts,w.dts,N?"AUD ":"");break;case 12:D=!1;break;default:D=!1,R&&(R.debug+="unknown NAL "+M.type+" ");break}if(R&&D){var fe=R.units;fe.push(M)}}),S&&R&&(f(R,L),this.avcSample=null)},E.getLastNalUnit=function(){var w,S=this.avcSample,I;if(!S||S.units.length===0){var L=this._avcTrack.samples;S=L[L.length-1]}if((w=S)!==null&&w!==void 0&&w.units){var O=S.units;I=O[O.length-1]}return I},E.parseAVCNALu=function(w){var S=w.byteLength,I=this._avcTrack,L=I.naluState||0,O=L,N=[],R=0,D,B,M,U=-1,F=0;for(L===-1&&(U=0,F=w[0]&31,L=0,R=1);R<S;){if(D=w[R++],!L){L=D?0:1;continue}if(L===1){L=D?0:2;continue}if(!D)L=3;else if(D===1){if(U>=0){var j={data:w.subarray(U,R-L-1),type:F};N.push(j)}else{var W=this.getLastNalUnit();if(W&&(O&&R<=4-O&&(W.state&&(W.data=W.data.subarray(0,W.data.byteLength-O))),B=R-L-1,B>0)){var V=new Uint8Array(W.data.byteLength+B);V.set(W.data,0),V.set(w.subarray(0,B),W.data.byteLength),W.data=V,W.state=0}}R<S?(M=w[R]&31,U=R,F=M,L=0):L=-1}else L=0}if(U>=0&&L>=0){var z={data:w.subarray(U,S),type:F,state:L};N.push(z)}if(N.length===0){var Y=this.getLastNalUnit();if(Y){var J=new Uint8Array(Y.data.byteLength+w.byteLength);J.set(Y.data,0),J.set(w,Y.data.byteLength),Y.data=J}}return I.naluState=L,N},E.parseAACPES=function(w){var S=0,I=this._audioTrack,L=this.aacOverFlow,O=w.data;if(L){this.aacOverFlow=null;var N=L.sample.unit.byteLength,R=Math.min(L.missing,N),D=N-R;L.sample.unit.set(O.subarray(0,R),D),I.samples.push(L.sample),S=L.missing}var B,M;for(B=S,M=O.length;B<M-1&&!b.isHeader(O,B);B++);if(B!==S){var U,F;if(B<M-1?(U="AAC PES did not start with ADTS header,offset:"+B,F=!1):(U="no ADTS header found in AAC PES",F=!0),n.logger.warn("parsing error:"+U),this.observer.emit(r.Events.ERROR,r.Events.ERROR,{type:t.ErrorTypes.MEDIA_ERROR,details:t.ErrorDetails.FRAG_PARSING_ERROR,fatal:F,reason:U}),F)return}b.initTrackConfig(I,this.observer,O,B,this.audioCodec);var j;if(w.pts!==void 0)j=w.pts;else if(L){var W=b.getFrameDuration(I.samplerate);j=L.sample.pts+W}else{n.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}for(var V=0;B<M;)if(b.isHeader(O,B)){if(B+5<M){var z=b.appendFrame(I,O,B,j,V);if(z)if(z.missing)this.aacOverFlow=z;else{B+=z.length,V++;continue}}break}else B++},E.parseMPEGPES=function(w){var S=w.data,I=S.length,L=0,O=0,N=w.pts;if(N===void 0){n.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;O<I;)if(m.isHeader(S,O)){var R=m.appendFrame(this._audioTrack,S,O,N,L);if(R)O+=R.length,L++;else break}else O++},E.parseID3PES=function(w){if(w.pts===void 0){n.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}this._id3Track.samples.push(w)},y}();e.minProbeByteLength=188;function a(y,E,T,w){return{key:y,frame:!1,pts:E,dts:T,units:[],debug:w,length:0}}function l(y,E){return(y[E+10]&31)<<8|y[E+11]}function u(y,E,T,w){var S={audio:-1,avc:-1,id3:-1,isAAC:!0},I=(y[E+1]&15)<<8|y[E+2],L=E+3+I-4,O=(y[E+10]&15)<<8|y[E+11];for(E+=12+O;E<L;){var N=(y[E+1]&31)<<8|y[E+2];switch(y[E]){case 207:if(!w){n.logger.log("ADTS AAC with AES-128-CBC frame encryption found in unencrypted stream");break}case 15:S.audio===-1&&(S.audio=N);break;case 21:S.id3===-1&&(S.id3=N);break;case 219:if(!w){n.logger.log("H.264 with AES-128-CBC slice encryption found in unencrypted stream");break}case 27:S.avc===-1&&(S.avc=N);break;case 3:case 4:T?S.audio===-1&&(S.audio=N,S.isAAC=!1):n.logger.log("MPEG audio found, not supported in this browser");break;case 36:n.logger.warn("Unsupported HEVC stream type found");break;default:break}E+=((y[E+3]&15)<<8|y[E+4])+5}return S}function h(y){var E=0,T,w,S,I,L,O=y.data;if(!y||y.size===0)return null;for(;O[0].length<19&&O.length>1;){var N=new Uint8Array(O[0].length+O[1].length);N.set(O[0]),N.set(O[1],O[0].length),O[0]=N,O.splice(1,1)}T=O[0];var R=(T[0]<<16)+(T[1]<<8)+T[2];if(R===1){if(w=(T[4]<<8)+T[5],w&&w>y.size-6)return null;var D=T[7];D&192&&(I=(T[9]&14)*536870912+(T[10]&255)*4194304+(T[11]&254)*16384+(T[12]&255)*128+(T[13]&254)/2,D&64?(L=(T[14]&14)*536870912+(T[15]&255)*4194304+(T[16]&254)*16384+(T[17]&255)*128+(T[18]&254)/2,I-L>60*9e4&&(n.logger.warn(Math.round((I-L)/9e4)+"s delta between PTS and DTS, align them"),I=L)):L=I),S=T[8];var B=S+9;if(y.size<=B)return null;y.size-=B;for(var M=new Uint8Array(y.size),U=0,F=O.length;U<F;U++){T=O[U];var j=T.byteLength;if(B)if(B>j){B-=j;continue}else T=T.subarray(B),j-=B,B=0;M.set(T,E),E+=j}return w&&(w-=S+3),{data:M,pts:I,dts:L,len:w}}return null}function f(y,E){if(y.units.length&&y.frame){if(y.pts===void 0){var T=E.samples,w=T.length;if(w){var S=T[w-1];y.pts=S.pts,y.dts=S.dts}else{E.dropped++;return}}E.samples.push(y)}y.debug.length&&n.logger.log(y.pts+"/"+y.dts+":"+y.debug)}function g(y,E){var T=y.length;if(T>0){if(E.pts>=y[T-1].pts)y.push(E);else for(var w=T-1;w>=0;w--)if(E.pts<y[w].pts){y.splice(w,0,E);break}}else y.push(E)}function v(y){for(var E=y.byteLength,T=[],w=1;w<E-2;)y[w]===0&&y[w+1]===0&&y[w+2]===3?(T.push(w+2),w+=2):w++;if(T.length===0)return y;var S=E-T.length,I=new Uint8Array(S),L=0;for(w=0;w<S;L++,w++)L===T[0]&&(L++,T.shift()),I[w]=y[L];return I}C.default=e},"./src/errors.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"ErrorTypes",function(){return b}),A.d(C,"ErrorDetails",function(){return m});var b;(function(p){p.NETWORK_ERROR="networkError",p.MEDIA_ERROR="mediaError",p.KEY_SYSTEM_ERROR="keySystemError",p.MUX_ERROR="muxError",p.OTHER_ERROR="otherError"})(b||(b={}));var m;(function(p){p.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",p.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",p.KEY_SYSTEM_NO_SESSION="keySystemNoSession",p.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",p.KEY_SYSTEM_NO_INIT_DATA="keySystemNoInitData",p.MANIFEST_LOAD_ERROR="manifestLoadError",p.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",p.MANIFEST_PARSING_ERROR="manifestParsingError",p.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",p.LEVEL_EMPTY_ERROR="levelEmptyError",p.LEVEL_LOAD_ERROR="levelLoadError",p.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",p.LEVEL_SWITCH_ERROR="levelSwitchError",p.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",p.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",p.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",p.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",p.FRAG_LOAD_ERROR="fragLoadError",p.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",p.FRAG_DECRYPT_ERROR="fragDecryptError",p.FRAG_PARSING_ERROR="fragParsingError",p.REMUX_ALLOC_ERROR="remuxAllocError",p.KEY_LOAD_ERROR="keyLoadError",p.KEY_LOAD_TIMEOUT="keyLoadTimeOut",p.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",p.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",p.BUFFER_APPEND_ERROR="bufferAppendError",p.BUFFER_APPENDING_ERROR="bufferAppendingError",p.BUFFER_STALLED_ERROR="bufferStalledError",p.BUFFER_FULL_ERROR="bufferFullError",p.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",p.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",p.INTERNAL_EXCEPTION="internalException",p.INTERNAL_ABORTED="aborted",p.UNKNOWN="unknown"})(m||(m={}))},"./src/events.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"Events",function(){return b});var b;(function(m){m.MEDIA_ATTACHING="hlsMediaAttaching",m.MEDIA_ATTACHED="hlsMediaAttached",m.MEDIA_DETACHING="hlsMediaDetaching",m.MEDIA_DETACHED="hlsMediaDetached",m.BUFFER_RESET="hlsBufferReset",m.BUFFER_CODECS="hlsBufferCodecs",m.BUFFER_CREATED="hlsBufferCreated",m.BUFFER_APPENDING="hlsBufferAppending",m.BUFFER_APPENDED="hlsBufferAppended",m.BUFFER_EOS="hlsBufferEos",m.BUFFER_FLUSHING="hlsBufferFlushing",m.BUFFER_FLUSHED="hlsBufferFlushed",m.MANIFEST_LOADING="hlsManifestLoading",m.MANIFEST_LOADED="hlsManifestLoaded",m.MANIFEST_PARSED="hlsManifestParsed",m.LEVEL_SWITCHING="hlsLevelSwitching",m.LEVEL_SWITCHED="hlsLevelSwitched",m.LEVEL_LOADING="hlsLevelLoading",m.LEVEL_LOADED="hlsLevelLoaded",m.LEVEL_UPDATED="hlsLevelUpdated",m.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",m.LEVELS_UPDATED="hlsLevelsUpdated",m.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",m.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",m.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",m.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",m.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",m.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",m.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",m.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",m.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",m.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",m.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",m.CUES_PARSED="hlsCuesParsed",m.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",m.INIT_PTS_FOUND="hlsInitPtsFound",m.FRAG_LOADING="hlsFragLoading",m.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",m.FRAG_LOADED="hlsFragLoaded",m.FRAG_DECRYPTED="hlsFragDecrypted",m.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",m.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",m.FRAG_PARSING_METADATA="hlsFragParsingMetadata",m.FRAG_PARSED="hlsFragParsed",m.FRAG_BUFFERED="hlsFragBuffered",m.FRAG_CHANGED="hlsFragChanged",m.FPS_DROP="hlsFpsDrop",m.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",m.ERROR="hlsError",m.DESTROYING="hlsDestroying",m.KEY_LOADING="hlsKeyLoading",m.KEY_LOADED="hlsKeyLoaded",m.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",m.BACK_BUFFER_REACHED="hlsBackBufferReached"})(b||(b={}))},"./src/hls.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return y});var b=A("./node_modules/url-toolkit/src/url-toolkit.js"),m=A.n(b),p=A("./src/loader/playlist-loader.ts"),c=A("./src/loader/key-loader.ts"),o=A("./src/controller/id3-track-controller.ts"),r=A("./src/controller/latency-controller.ts"),i=A("./src/controller/level-controller.ts"),n=A("./src/controller/fragment-tracker.ts"),t=A("./src/controller/stream-controller.ts"),s=A("./src/is-supported.ts"),e=A("./src/utils/logger.ts"),a=A("./src/config.ts"),l=A("./node_modules/eventemitter3/index.js"),u=A.n(l),h=A("./src/events.ts"),f=A("./src/errors.ts");function g(E,T){for(var w=0;w<T.length;w++){var S=T[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(E,S.key,S)}}function v(E,T,w){return T&&g(E.prototype,T),w&&g(E,w),E}var y=function(){E.isSupported=function(){return Object(s.isSupported)()};function E(w){w===void 0&&(w={}),this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new l.EventEmitter,this._autoLevelCapping=void 0,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null;var S=this.config=Object(a.mergeConfig)(E.DefaultConfig,w);this.userConfig=w,Object(e.enableLogs)(S.debug),this._autoLevelCapping=-1,S.progressive&&Object(a.enableStreamingMode)(S);var I=S.abrController,L=S.bufferController,O=S.capLevelController,N=S.fpsController,R=this.abrController=new I(this),D=this.bufferController=new L(this),B=this.capLevelController=new O(this),M=new N(this),U=new p.default(this),F=new c.default(this),j=new o.default(this),W=this.levelController=new i.default(this),V=new n.FragmentTracker(this),z=this.streamController=new t.default(this,V);B.setStreamController(z),M.setStreamController(z);var Y=[W,z];this.networkControllers=Y;var J=[U,F,R,D,B,M,j,V];this.audioTrackController=this.createController(S.audioTrackController,null,Y),this.createController(S.audioStreamController,V,Y),this.subtitleTrackController=this.createController(S.subtitleTrackController,null,Y),this.createController(S.subtitleStreamController,V,Y),this.createController(S.timelineController,null,J),this.emeController=this.createController(S.emeController,null,J),this.cmcdController=this.createController(S.cmcdController,null,J),this.latencyController=this.createController(r.default,null,J),this.coreComponents=J}var T=E.prototype;return T.createController=function(S,I,L){if(S){var O=I?new S(this,I):new S(this);return L&&L.push(O),O}return null},T.on=function(S,I,L){L===void 0&&(L=this),this._emitter.on(S,I,L)},T.once=function(S,I,L){L===void 0&&(L=this),this._emitter.once(S,I,L)},T.removeAllListeners=function(S){this._emitter.removeAllListeners(S)},T.off=function(S,I,L,O){L===void 0&&(L=this),this._emitter.off(S,I,L,O)},T.listeners=function(S){return this._emitter.listeners(S)},T.emit=function(S,I,L){return this._emitter.emit(S,I,L)},T.trigger=function(S,I){if(this.config.debug)return this.emit(S,S,I);try{return this.emit(S,S,I)}catch(L){e.logger.error("An internal error happened while handling event "+S+'. Error message: "'+L.message+'". Here is a stacktrace:',L),this.trigger(h.Events.ERROR,{type:f.ErrorTypes.OTHER_ERROR,details:f.ErrorDetails.INTERNAL_EXCEPTION,fatal:!1,event:S,error:L})}return!1},T.listenerCount=function(S){return this._emitter.listenerCount(S)},T.destroy=function(){e.logger.log("destroy"),this.trigger(h.Events.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach(function(S){return S.destroy()}),this.networkControllers.length=0,this.coreComponents.forEach(function(S){return S.destroy()}),this.coreComponents.length=0},T.attachMedia=function(S){e.logger.log("attachMedia"),this._media=S,this.trigger(h.Events.MEDIA_ATTACHING,{media:S})},T.detachMedia=function(){e.logger.log("detachMedia"),this.trigger(h.Events.MEDIA_DETACHING,void 0),this._media=null},T.loadSource=function(S){this.stopLoad();var I=this.media,L=this.url,O=this.url=b.buildAbsoluteURL(self.location.href,S,{alwaysNormalize:!0});e.logger.log("loadSource:"+O),I&&L&&L!==O&&this.bufferController.hasSourceTypes()&&(this.detachMedia(),this.attachMedia(I)),this.trigger(h.Events.MANIFEST_LOADING,{url:S})},T.startLoad=function(S){S===void 0&&(S=-1),e.logger.log("startLoad("+S+")"),this.networkControllers.forEach(function(I){I.startLoad(S)})},T.stopLoad=function(){e.logger.log("stopLoad"),this.networkControllers.forEach(function(S){S.stopLoad()})},T.swapAudioCodec=function(){e.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()},T.recoverMediaError=function(){e.logger.log("recoverMediaError");var S=this._media;this.detachMedia(),S&&this.attachMedia(S)},T.removeLevel=function(S,I){I===void 0&&(I=0),this.levelController.removeLevel(S,I)},v(E,[{key:"levels",get:function(){var S=this.levelController.levels;return S||[]}},{key:"currentLevel",get:function(){return this.streamController.currentLevel},set:function(S){e.logger.log("set currentLevel:"+S),this.loadLevel=S,this.abrController.clearTimer(),this.streamController.immediateLevelSwitch()}},{key:"nextLevel",get:function(){return this.streamController.nextLevel},set:function(S){e.logger.log("set nextLevel:"+S),this.levelController.manualLevel=S,this.streamController.nextLevelSwitch()}},{key:"loadLevel",get:function(){return this.levelController.level},set:function(S){e.logger.log("set loadLevel:"+S),this.levelController.manualLevel=S}},{key:"nextLoadLevel",get:function(){return this.levelController.nextLoadLevel},set:function(S){this.levelController.nextLoadLevel=S}},{key:"firstLevel",get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(S){e.logger.log("set firstLevel:"+S),this.levelController.firstLevel=S}},{key:"startLevel",get:function(){return this.levelController.startLevel},set:function(S){e.logger.log("set startLevel:"+S),S!==-1&&(S=Math.max(S,this.minAutoLevel)),this.levelController.startLevel=S}},{key:"capLevelToPlayerSize",get:function(){return this.config.capLevelToPlayerSize},set:function(S){var I=!!S;I!==this.config.capLevelToPlayerSize&&(I?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=I)}},{key:"autoLevelCapping",get:function(){return this._autoLevelCapping},set:function(S){this._autoLevelCapping!==S&&(e.logger.log("set autoLevelCapping:"+S),this._autoLevelCapping=S)}},{key:"bandwidthEstimate",get:function(){var S=this.abrController.bwEstimator;return S?S.getEstimate():NaN}},{key:"autoLevelEnabled",get:function(){return this.levelController.manualLevel===-1}},{key:"manualLevel",get:function(){return this.levelController.manualLevel}},{key:"minAutoLevel",get:function(){var S=this.levels,I=this.config.minAutoBitrate;if(!S)return 0;for(var L=S.length,O=0;O<L;O++)if(S[O].maxBitrate>I)return O;return 0}},{key:"maxAutoLevel",get:function(){var S=this.levels,I=this.autoLevelCapping,L;return I===-1&&S&&S.length?L=S.length-1:L=I,L}},{key:"nextAutoLevel",get:function(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)},set:function(S){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,S)}},{key:"audioTracks",get:function(){var S=this.audioTrackController;return S?S.audioTracks:[]}},{key:"audioTrack",get:function(){var S=this.audioTrackController;return S?S.audioTrack:-1},set:function(S){var I=this.audioTrackController;I&&(I.audioTrack=S)}},{key:"subtitleTracks",get:function(){var S=this.subtitleTrackController;return S?S.subtitleTracks:[]}},{key:"subtitleTrack",get:function(){var S=this.subtitleTrackController;return S?S.subtitleTrack:-1},set:function(S){var I=this.subtitleTrackController;I&&(I.subtitleTrack=S)}},{key:"media",get:function(){return this._media}},{key:"subtitleDisplay",get:function(){var S=this.subtitleTrackController;return S?S.subtitleDisplay:!1},set:function(S){var I=this.subtitleTrackController;I&&(I.subtitleDisplay=S)}},{key:"lowLatencyMode",get:function(){return this.config.lowLatencyMode},set:function(S){this.config.lowLatencyMode=S}},{key:"liveSyncPosition",get:function(){return this.latencyController.liveSyncPosition}},{key:"latency",get:function(){return this.latencyController.latency}},{key:"maxLatency",get:function(){return this.latencyController.maxLatency}},{key:"targetLatency",get:function(){return this.latencyController.targetLatency}},{key:"drift",get:function(){return this.latencyController.drift}},{key:"forceStartLoad",get:function(){return this.streamController.forceStartLoad}}],[{key:"version",get:function(){return"1.1.5"}},{key:"Events",get:function(){return h.Events}},{key:"ErrorTypes",get:function(){return f.ErrorTypes}},{key:"ErrorDetails",get:function(){return f.ErrorDetails}},{key:"DefaultConfig",get:function(){return E.defaultConfig?E.defaultConfig:a.hlsDefaultConfig},set:function(S){E.defaultConfig=S}}]),E}();y.defaultConfig=void 0},"./src/is-supported.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"isSupported",function(){return p}),A.d(C,"changeTypeSupported",function(){return c});var b=A("./src/utils/mediasource-helper.ts");function m(){return self.SourceBuffer||self.WebKitSourceBuffer}function p(){var o=Object(b.getMediaSource)();if(!o)return!1;var r=m(),i=o&&typeof o.isTypeSupported=="function"&&o.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),n=!r||r.prototype&&typeof r.prototype.appendBuffer=="function"&&typeof r.prototype.remove=="function";return!!i&&!!n}function c(){var o,r=m();return typeof(r==null||((o=r.prototype)===null||o===void 0)?void 0:o.changeType)=="function"}},"./src/loader/fragment-loader.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return e}),A.d(C,"LoadError",function(){return l});var b=A("./src/polyfills/number.ts"),m=A("./src/errors.ts");function p(u,h){u.prototype=Object.create(h.prototype),u.prototype.constructor=u,n(u,h)}function c(u){var h=typeof Map=="function"?new Map:void 0;return c=function(g){if(g===null||!i(g))return g;if(typeof g!="function")throw new TypeError("Super expression must either be null or a function");if(typeof h!="undefined"){if(h.has(g))return h.get(g);h.set(g,v)}function v(){return o(g,arguments,t(this).constructor)}return v.prototype=Object.create(g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),n(v,g)},c(u)}function o(u,h,f){return r()?o=Reflect.construct:o=function(v,y,E){var T=[null];T.push.apply(T,y);var w=Function.bind.apply(v,T),S=new w;return E&&n(S,E.prototype),S},o.apply(null,arguments)}function r(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(u){return!1}}function i(u){return Function.toString.call(u).indexOf("[native code]")!==-1}function n(u,h){return n=Object.setPrototypeOf||function(g,v){return g.__proto__=v,g},n(u,h)}function t(u){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(f){return f.__proto__||Object.getPrototypeOf(f)},t(u)}var s=Math.pow(2,17),e=function(){function u(f){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=f}var h=u.prototype;return h.destroy=function(){this.loader&&(this.loader.destroy(),this.loader=null)},h.abort=function(){this.loader&&this.loader.abort()},h.load=function(g,v){var y=this,E=g.url;if(!E)return Promise.reject(new l({type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:g,networkDetails:null},"Fragment does not have a "+(E?"part list":"url")));this.abort();var T=this.config,w=T.fLoader,S=T.loader;return new Promise(function(I,L){y.loader&&y.loader.destroy();var O=y.loader=g.loader=w?new w(T):new S(T),N=a(g),R={timeout:T.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:T.fragLoadingMaxRetryTimeout,highWaterMark:s};g.stats=O.stats,O.load(N,R,{onSuccess:function(B,M,U,F){y.resetLoader(g,O),I({frag:g,part:null,payload:B.data,networkDetails:F})},onError:function(B,M,U){y.resetLoader(g,O),L(new l({type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:g,response:B,networkDetails:U}))},onAbort:function(B,M,U){y.resetLoader(g,O),L(new l({type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.INTERNAL_ABORTED,fatal:!1,frag:g,networkDetails:U}))},onTimeout:function(B,M,U){y.resetLoader(g,O),L(new l({type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.FRAG_LOAD_TIMEOUT,fatal:!1,frag:g,networkDetails:U}))},onProgress:function(B,M,U,F){v&&v({frag:g,part:null,payload:U,networkDetails:F})}})})},h.loadPart=function(g,v,y){var E=this;this.abort();var T=this.config,w=T.fLoader,S=T.loader;return new Promise(function(I,L){E.loader&&E.loader.destroy();var O=E.loader=g.loader=w?new w(T):new S(T),N=a(g,v),R={timeout:T.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:T.fragLoadingMaxRetryTimeout,highWaterMark:s};v.stats=O.stats,O.load(N,R,{onSuccess:function(B,M,U,F){E.resetLoader(g,O),E.updateStatsFromPart(g,v);var j={frag:g,part:v,payload:B.data,networkDetails:F};y(j),I(j)},onError:function(B,M,U){E.resetLoader(g,O),L(new l({type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:g,part:v,response:B,networkDetails:U}))},onAbort:function(B,M,U){g.stats.aborted=v.stats.aborted,E.resetLoader(g,O),L(new l({type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.INTERNAL_ABORTED,fatal:!1,frag:g,part:v,networkDetails:U}))},onTimeout:function(B,M,U){E.resetLoader(g,O),L(new l({type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.FRAG_LOAD_TIMEOUT,fatal:!1,frag:g,part:v,networkDetails:U}))}})})},h.updateStatsFromPart=function(g,v){var y=g.stats,E=v.stats,T=E.total;if(y.loaded+=E.loaded,T){var w=Math.round(g.duration/v.duration),S=Math.min(Math.round(y.loaded/T),w),I=w-S,L=I*Math.round(y.loaded/S);y.total=y.loaded+L}else y.total=Math.max(y.loaded,y.total);var O=y.loading,N=E.loading;O.start?O.first+=N.first-N.start:(O.start=N.start,O.first=N.first),O.end=N.end},h.resetLoader=function(g,v){g.loader=null,this.loader===v&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),v.destroy()},u}();function a(u,h){h===void 0&&(h=null);var f=h||u,g={frag:u,part:h,responseType:"arraybuffer",url:f.url,headers:{},rangeStart:0,rangeEnd:0},v=f.byteRangeStartOffset,y=f.byteRangeEndOffset;return Object(b.isFiniteNumber)(v)&&Object(b.isFiniteNumber)(y)&&(g.rangeStart=v,g.rangeEnd=y),g}var l=function(u){p(h,u);function h(f){for(var g,v=arguments.length,y=new Array(v>1?v-1:0),E=1;E<v;E++)y[E-1]=arguments[E];return g=u.call.apply(u,[this].concat(y))||this,g.data=void 0,g.data=f,g}return h}(c(Error))},"./src/loader/fragment.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"ElementaryStreamTypes",function(){return e}),A.d(C,"BaseSegment",function(){return a}),A.d(C,"Fragment",function(){return l}),A.d(C,"Part",function(){return u});var b=A("./src/polyfills/number.ts"),m=A("./node_modules/url-toolkit/src/url-toolkit.js"),p=A.n(m),c=A("./src/utils/logger.ts"),o=A("./src/loader/level-key.ts"),r=A("./src/loader/load-stats.ts");function i(h,f){h.prototype=Object.create(f.prototype),h.prototype.constructor=h,n(h,f)}function n(h,f){return n=Object.setPrototypeOf||function(v,y){return v.__proto__=y,v},n(h,f)}function t(h,f){for(var g=0;g<f.length;g++){var v=f[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(h,v.key,v)}}function s(h,f,g){return f&&t(h.prototype,f),g&&t(h,g),h}var e;(function(h){h.AUDIO="audio",h.VIDEO="video",h.AUDIOVIDEO="audiovideo"})(e||(e={}));var a=function(){function h(g){var v;this._byteRange=null,this._url=null,this.baseurl=void 0,this.relurl=void 0,this.elementaryStreams=(v={},v[e.AUDIO]=null,v[e.VIDEO]=null,v[e.AUDIOVIDEO]=null,v),this.baseurl=g}var f=h.prototype;return f.setByteRange=function(v,y){var E=v.split("@",2),T=[];E.length===1?T[0]=y?y.byteRangeEndOffset:0:T[0]=parseInt(E[1]),T[1]=parseInt(E[0])+T[0],this._byteRange=T},s(h,[{key:"byteRange",get:function(){return this._byteRange?this._byteRange:[]}},{key:"byteRangeStartOffset",get:function(){return this.byteRange[0]}},{key:"byteRangeEndOffset",get:function(){return this.byteRange[1]}},{key:"url",get:function(){return!this._url&&this.baseurl&&this.relurl&&(this._url=Object(m.buildAbsoluteURL)(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""},set:function(v){this._url=v}}]),h}(),l=function(h){i(f,h);function f(v,y){var E;return E=h.call(this,y)||this,E._decryptdata=null,E.rawProgramDateTime=null,E.programDateTime=null,E.tagList=[],E.duration=0,E.sn=0,E.levelkey=void 0,E.type=void 0,E.loader=null,E.level=-1,E.cc=0,E.startPTS=void 0,E.endPTS=void 0,E.appendedPTS=void 0,E.startDTS=void 0,E.endDTS=void 0,E.start=0,E.deltaPTS=void 0,E.maxStartPTS=void 0,E.minEndPTS=void 0,E.stats=new r.LoadStats,E.urlId=0,E.data=void 0,E.bitrateTest=!1,E.title=null,E.initSegment=null,E.type=v,E}var g=f.prototype;return g.createInitializationVector=function(y){for(var E=new Uint8Array(16),T=12;T<16;T++)E[T]=y>>8*(15-T)&255;return E},g.setDecryptDataFromLevelKey=function(y,E){var T=y;return(y==null?void 0:y.method)==="AES-128"&&y.uri&&!y.iv&&(T=o.LevelKey.fromURI(y.uri),T.method=y.method,T.iv=this.createInitializationVector(E),T.keyFormat="identity"),T},g.setElementaryStreamInfo=function(y,E,T,w,S,I){I===void 0&&(I=!1);var L=this.elementaryStreams,O=L[y];if(!O){L[y]={startPTS:E,endPTS:T,startDTS:w,endDTS:S,partial:I};return}O.startPTS=Math.min(O.startPTS,E),O.endPTS=Math.max(O.endPTS,T),O.startDTS=Math.min(O.startDTS,w),O.endDTS=Math.max(O.endDTS,S)},g.clearElementaryStreamInfo=function(){var y=this.elementaryStreams;y[e.AUDIO]=null,y[e.VIDEO]=null,y[e.AUDIOVIDEO]=null},s(f,[{key:"decryptdata",get:function(){if(!this.levelkey&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkey){var y=this.sn;typeof y!="number"&&(this.levelkey&&this.levelkey.method==="AES-128"&&!this.levelkey.iv&&c.logger.warn('missing IV for initialization segment with method="'+this.levelkey.method+'" - compliance issue'),y=0),this._decryptdata=this.setDecryptDataFromLevelKey(this.levelkey,y)}return this._decryptdata}},{key:"end",get:function(){return this.start+this.duration}},{key:"endProgramDateTime",get:function(){if(this.programDateTime===null)return null;if(!Object(b.isFiniteNumber)(this.programDateTime))return null;var y=Object(b.isFiniteNumber)(this.duration)?this.duration:0;return this.programDateTime+y*1e3}},{key:"encrypted",get:function(){var y;return!!((y=this.decryptdata)!==null&&y!==void 0&&y.keyFormat&&this.decryptdata.uri)}}]),f}(a),u=function(h){i(f,h);function f(g,v,y,E,T){var w;w=h.call(this,y)||this,w.fragOffset=0,w.duration=0,w.gap=!1,w.independent=!1,w.relurl=void 0,w.fragment=void 0,w.index=void 0,w.stats=new r.LoadStats,w.duration=g.decimalFloatingPoint("DURATION"),w.gap=g.bool("GAP"),w.independent=g.bool("INDEPENDENT"),w.relurl=g.enumeratedString("URI"),w.fragment=v,w.index=E;var S=g.enumeratedString("BYTERANGE");return S&&w.setByteRange(S,T),T&&(w.fragOffset=T.fragOffset+T.duration),w}return s(f,[{key:"start",get:function(){return this.fragment.start+this.fragOffset}},{key:"end",get:function(){return this.start+this.duration}},{key:"loaded",get:function(){var v=this.elementaryStreams;return!!(v.audio||v.video||v.audiovideo)}}]),f}(a)},"./src/loader/key-loader.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return c});var b=A("./src/events.ts"),m=A("./src/errors.ts"),p=A("./src/utils/logger.ts"),c=function(){function o(i){this.hls=void 0,this.loaders={},this.decryptkey=null,this.decrypturl=null,this.hls=i,this._registerListeners()}var r=o.prototype;return r._registerListeners=function(){this.hls.on(b.Events.KEY_LOADING,this.onKeyLoading,this)},r._unregisterListeners=function(){this.hls.off(b.Events.KEY_LOADING,this.onKeyLoading)},r.destroy=function(){this._unregisterListeners();for(var n in this.loaders){var t=this.loaders[n];t&&t.destroy()}this.loaders={}},r.onKeyLoading=function(n,t){var s=t.frag,e=s.type,a=this.loaders[e];if(!s.decryptdata){p.logger.warn("Missing decryption data on fragment in onKeyLoading");return}var l=s.decryptdata.uri;if(l!==this.decrypturl||this.decryptkey===null){var u=this.hls.config;if(a&&(p.logger.warn("abort previous key loader for type:"+e),a.abort()),!l){p.logger.warn("key uri is falsy");return}var h=u.loader,f=s.loader=this.loaders[e]=new h(u);this.decrypturl=l,this.decryptkey=null;var g={url:l,frag:s,responseType:"arraybuffer"},v={timeout:u.fragLoadingTimeOut,maxRetry:0,retryDelay:u.fragLoadingRetryDelay,maxRetryDelay:u.fragLoadingMaxRetryTimeout,highWaterMark:0},y={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)};f.load(g,v,y)}else this.decryptkey&&(s.decryptdata.key=this.decryptkey,this.hls.trigger(b.Events.KEY_LOADED,{frag:s}))},r.loadsuccess=function(n,t,s){var e=s.frag;if(!e.decryptdata){p.logger.error("after key load, decryptdata unset");return}this.decryptkey=e.decryptdata.key=new Uint8Array(n.data),e.loader=null,delete this.loaders[e.type],this.hls.trigger(b.Events.KEY_LOADED,{frag:e})},r.loaderror=function(n,t){var s=t.frag,e=s.loader;e&&e.abort(),delete this.loaders[s.type],this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.KEY_LOAD_ERROR,fatal:!1,frag:s,response:n})},r.loadtimeout=function(n,t){var s=t.frag,e=s.loader;e&&e.abort(),delete this.loaders[s.type],this.hls.trigger(b.Events.ERROR,{type:m.ErrorTypes.NETWORK_ERROR,details:m.ErrorDetails.KEY_LOAD_TIMEOUT,fatal:!1,frag:s})},o}()},"./src/loader/level-details.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"LevelDetails",function(){return o});var b=A("./src/polyfills/number.ts");function m(r,i){for(var n=0;n<i.length;n++){var t=i[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,t.key,t)}}function p(r,i,n){return i&&m(r.prototype,i),n&&m(r,n),r}var c=10,o=function(){function r(n){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.live=!0,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.availabilityDelay=void 0,this.misses=0,this.needSidxRanges=!1,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.fragments=[],this.url=n}var i=r.prototype;return i.reloaded=function(t){if(!t){this.advanced=!0,this.updated=!0;return}var s=this.lastPartSn-t.lastPartSn,e=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!e||!!s,this.advanced=this.endSN>t.endSN||s>0||s===0&&e>0,this.updated||this.advanced?this.misses=Math.floor(t.misses*.6):this.misses=t.misses+1,this.availabilityDelay=t.availabilityDelay},p(r,[{key:"hasProgramDateTime",get:function(){return this.fragments.length?Object(b.isFiniteNumber)(this.fragments[this.fragments.length-1].programDateTime):!1}},{key:"levelTargetDuration",get:function(){return this.averagetargetduration||this.targetduration||c}},{key:"drift",get:function(){var t=this.driftEndTime-this.driftStartTime;if(t>0){var s=this.driftEnd-this.driftStart;return s*1e3/t}return 1}},{key:"edge",get:function(){return this.partEnd||this.fragmentEnd}},{key:"partEnd",get:function(){var t;return(t=this.partList)!==null&&t!==void 0&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}},{key:"fragmentEnd",get:function(){var t;return(t=this.fragments)!==null&&t!==void 0&&t.length?this.fragments[this.fragments.length-1].end:0}},{key:"age",get:function(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}},{key:"lastPartIndex",get:function(){var t;return(t=this.partList)!==null&&t!==void 0&&t.length?this.partList[this.partList.length-1].index:-1}},{key:"lastPartSn",get:function(){var t;return(t=this.partList)!==null&&t!==void 0&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}]),r}()},"./src/loader/level-key.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"LevelKey",function(){return o});var b=A("./node_modules/url-toolkit/src/url-toolkit.js"),m=A.n(b);function p(r,i){for(var n=0;n<i.length;n++){var t=i[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,t.key,t)}}function c(r,i,n){return i&&p(r.prototype,i),n&&p(r,n),r}var o=function(){r.fromURL=function(n,t){return new r(n,t)},r.fromURI=function(n){return new r(n)};function r(i,n){this._uri=null,this.method=null,this.keyFormat=null,this.keyFormatVersions=null,this.keyID=null,this.key=null,this.iv=null,n?this._uri=Object(b.buildAbsoluteURL)(i,n,{alwaysNormalize:!0}):this._uri=i}return c(r,[{key:"uri",get:function(){return this._uri}}]),r}()},"./src/loader/load-stats.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"LoadStats",function(){return b});var b=function(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}},"./src/loader/m3u8-parser.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return f});var b=A("./src/polyfills/number.ts"),m=A("./node_modules/url-toolkit/src/url-toolkit.js"),p=A.n(m),c=A("./src/loader/fragment.ts"),o=A("./src/loader/level-details.ts"),r=A("./src/loader/level-key.ts"),i=A("./src/utils/attr-list.ts"),n=A("./src/utils/logger.ts"),t=A("./src/utils/codecs.ts"),s=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-SESSION-DATA:([^\r\n]*)[\r\n]+/g,e=/#EXT-X-MEDIA:(.*)/g,a=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[\S ]*)/.source,/#EXT-X-BYTERANGE:*(.+)/.source,/#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/#.*/.source].join("|"),"g"),l=new RegExp([/#(EXTM3U)/.source,/#EXT-X-(PLAYLIST-TYPE):(.+)/.source,/#EXT-X-(MEDIA-SEQUENCE): *(\d+)/.source,/#EXT-X-(SKIP):(.+)/.source,/#EXT-X-(TARGETDURATION): *(\d+)/.source,/#EXT-X-(KEY):(.+)/.source,/#EXT-X-(START):(.+)/.source,/#EXT-X-(ENDLIST)/.source,/#EXT-X-(DISCONTINUITY-SEQ)UENCE: *(\d+)/.source,/#EXT-X-(DIS)CONTINUITY/.source,/#EXT-X-(VERSION):(\d+)/.source,/#EXT-X-(MAP):(.+)/.source,/#EXT-X-(SERVER-CONTROL):(.+)/.source,/#EXT-X-(PART-INF):(.+)/.source,/#EXT-X-(GAP)/.source,/#EXT-X-(BITRATE):\s*(\d+)/.source,/#EXT-X-(PART):(.+)/.source,/#EXT-X-(PRELOAD-HINT):(.+)/.source,/#EXT-X-(RENDITION-REPORT):(.+)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|")),u=/\.(mp4|m4s|m4v|m4a)$/i;function h(T){var w,S;return u.test((w=(S=m.parseURL(T))===null||S===void 0?void 0:S.path)!=null?w:"")}var f=function(){function T(){}return T.findGroup=function(S,I){for(var L=0;L<S.length;L++){var O=S[L];if(O.id===I)return O}},T.convertAVC1ToAVCOTI=function(S){var I=S.split(".");if(I.length>2){var L=I.shift()+".";return L+=parseInt(I.shift()).toString(16),L+=("000"+parseInt(I.shift()).toString(16)).substr(-4),L}return S},T.resolve=function(S,I){return m.buildAbsoluteURL(I,S,{alwaysNormalize:!0})},T.parseMasterPlaylist=function(S,I){var L=[],O={},N=!1;s.lastIndex=0;for(var R;(R=s.exec(S))!=null;)if(R[1]){var D=new i.AttrList(R[1]),B={attrs:D,bitrate:D.decimalInteger("AVERAGE-BANDWIDTH")||D.decimalInteger("BANDWIDTH"),name:D.NAME,url:T.resolve(R[2],I)},M=D.decimalResolution("RESOLUTION");M&&(B.width=M.width,B.height=M.height),g((D.CODECS||"").split(/[ ,]+/).filter(function(F){return F}),B),B.videoCodec&&B.videoCodec.indexOf("avc1")!==-1&&(B.videoCodec=T.convertAVC1ToAVCOTI(B.videoCodec)),L.push(B)}else if(R[3]){var U=new i.AttrList(R[3]);U["DATA-ID"]&&(N=!0,O[U["DATA-ID"]]=U)}return{levels:L,sessionData:N?O:null}},T.parseMasterPlaylistMedia=function(S,I,L,O){O===void 0&&(O=[]);var N,R=[],D=0;for(e.lastIndex=0;(N=e.exec(S))!==null;){var B=new i.AttrList(N[1]);if(B.TYPE===L){var M={attrs:B,bitrate:0,id:D++,groupId:B["GROUP-ID"],instreamId:B["INSTREAM-ID"],name:B.NAME||B.LANGUAGE||"",type:L,default:B.bool("DEFAULT"),autoselect:B.bool("AUTOSELECT"),forced:B.bool("FORCED"),lang:B.LANGUAGE,url:B.URI?T.resolve(B.URI,I):""};if(O.length){var U=T.findGroup(O,M.groupId)||O[0];v(M,U,"audioCodec"),v(M,U,"textCodec")}R.push(M)}}return R},T.parseLevelPlaylist=function(S,I,L,O,N){var R=new o.LevelDetails(I),D=R.fragments,B=null,M=0,U=0,F=0,j=0,W=null,V=new c.Fragment(O,I),z,Y,J,ie=-1,Z=!1;for(a.lastIndex=0,R.m3u8=S;(z=a.exec(S))!==null;){Z&&(Z=!1,V=new c.Fragment(O,I),V.start=F,V.sn=M,V.cc=j,V.level=L,B&&(V.initSegment=B,V.rawProgramDateTime=B.rawProgramDateTime));var oe=z[1];if(oe){V.duration=parseFloat(oe);var ge=(" "+z[2]).slice(1);V.title=ge||null,V.tagList.push(ge?["INF",oe,ge]:["INF",oe])}else if(z[3])Object(b.isFiniteNumber)(V.duration)&&(V.start=F,J&&(V.levelkey=J),V.sn=M,V.level=L,V.cc=j,V.urlId=N,D.push(V),V.relurl=(" "+z[3]).slice(1),E(V,W),W=V,F+=V.duration,M++,U=0,Z=!0);else if(z[4]){var pe=(" "+z[4]).slice(1);W?V.setByteRange(pe,W):V.setByteRange(pe)}else if(z[5])V.rawProgramDateTime=(" "+z[5]).slice(1),V.tagList.push(["PROGRAM-DATE-TIME",V.rawProgramDateTime]),ie===-1&&(ie=D.length);else{if(z=z[0].match(l),!z){n.logger.warn("No matches on slow regex match for level playlist!");continue}for(Y=1;Y<z.length&&!(typeof z[Y]!="undefined");Y++);var De=(" "+z[Y]).slice(1),ce=(" "+z[Y+1]).slice(1),Oe=z[Y+2]?(" "+z[Y+2]).slice(1):"";switch(De){case"PLAYLIST-TYPE":R.type=ce.toUpperCase();break;case"MEDIA-SEQUENCE":M=R.startSN=parseInt(ce);break;case"SKIP":{var se=new i.AttrList(ce),$=se.decimalInteger("SKIPPED-SEGMENTS");if(Object(b.isFiniteNumber)($)){R.skippedSegments=$;for(var ze=$;ze--;)D.unshift(null);M+=$}var re=se.enumeratedString("RECENTLY-REMOVED-DATERANGES");re&&(R.recentlyRemovedDateranges=re.split(" "));break}case"TARGETDURATION":R.targetduration=parseFloat(ce);break;case"VERSION":R.version=parseInt(ce);break;case"EXTM3U":break;case"ENDLIST":R.live=!1;break;case"#":(ce||Oe)&&V.tagList.push(Oe?[ce,Oe]:[ce]);break;case"DIS":j++;case"GAP":V.tagList.push([De]);break;case"BITRATE":V.tagList.push([De,ce]);break;case"DISCONTINUITY-SEQ":j=parseInt(ce);break;case"KEY":{var X,G=new i.AttrList(ce),Q=G.enumeratedString("METHOD"),ve=G.URI,de=G.hexadecimalInteger("IV"),Ce=G.enumeratedString("KEYFORMATVERSIONS"),we=G.enumeratedString("KEYID"),le=(X=G.enumeratedString("KEYFORMAT"))!=null?X:"identity",fe=["com.apple.streamingkeydelivery","com.microsoft.playready","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","com.widevine"];if(fe.indexOf(le)>-1){n.logger.warn("Keyformat "+le+" is not supported from the manifest");continue}else if(le!=="identity")continue;Q&&(J=r.LevelKey.fromURL(I,ve),ve&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(Q)>=0&&(J.method=Q,J.keyFormat=le,we&&(J.keyID=we),Ce&&(J.keyFormatVersions=Ce),J.iv=de));break}case"START":{var xe=new i.AttrList(ce),We=xe.decimalFloatingPoint("TIME-OFFSET");Object(b.isFiniteNumber)(We)&&(R.startTimeOffset=We);break}case"MAP":{var nt=new i.AttrList(ce);V.relurl=nt.URI,nt.BYTERANGE&&V.setByteRange(nt.BYTERANGE),V.level=L,V.sn="initSegment",J&&(V.levelkey=J),V.initSegment=null,B=V,Z=!0;break}case"SERVER-CONTROL":{var $e=new i.AttrList(ce);R.canBlockReload=$e.bool("CAN-BLOCK-RELOAD"),R.canSkipUntil=$e.optionalFloat("CAN-SKIP-UNTIL",0),R.canSkipDateRanges=R.canSkipUntil>0&&$e.bool("CAN-SKIP-DATERANGES"),R.partHoldBack=$e.optionalFloat("PART-HOLD-BACK",0),R.holdBack=$e.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{var Le=new i.AttrList(ce);R.partTarget=Le.decimalFloatingPoint("PART-TARGET");break}case"PART":{var pt=R.partList;pt||(pt=R.partList=[]);var Qe=U>0?pt[pt.length-1]:void 0,gt=U++,wt=new c.Part(new i.AttrList(ce),V,I,gt,Qe);pt.push(wt),V.duration+=wt.duration;break}case"PRELOAD-HINT":{var Et=new i.AttrList(ce);R.preloadHint=Et;break}case"RENDITION-REPORT":{var _t=new i.AttrList(ce);R.renditionReports=R.renditionReports||[],R.renditionReports.push(_t);break}default:n.logger.warn("line parsed but not handled: "+z);break}}}W&&!W.relurl?(D.pop(),F-=W.duration,R.partList&&(R.fragmentHint=W)):R.partList&&(E(V,W),V.cc=j,R.fragmentHint=V);var Ht=D.length,Ze=D[0],ye=D[Ht-1];if(F+=R.skippedSegments*R.targetduration,F>0&&Ht&&ye){R.averagetargetduration=F/Ht;var ae=ye.sn;R.endSN=ae!=="initSegment"?ae:0,Ze&&(R.startCC=Ze.cc,Ze.initSegment||R.fragments.every(function(yt){return yt.relurl&&h(yt.relurl)})&&(n.logger.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),V=new c.Fragment(O,I),V.relurl=ye.relurl,V.level=L,V.sn="initSegment",Ze.initSegment=V,R.needSidxRanges=!0))}else R.endSN=0,R.startCC=0;return R.fragmentHint&&(F+=R.fragmentHint.duration),R.totalduration=F,R.endCC=j,ie>0&&y(D,ie),R},T}();function g(T,w){["video","audio","text"].forEach(function(S){var I=T.filter(function(O){return Object(t.isCodecType)(O,S)});if(I.length){var L=I.filter(function(O){return O.lastIndexOf("avc1",0)===0||O.lastIndexOf("mp4a",0)===0});w[S+"Codec"]=L.length>0?L[0]:I[0],T=T.filter(function(O){return I.indexOf(O)===-1})}}),w.unknownCodecs=T}function v(T,w,S){var I=w[S];I&&(T[S]=I)}function y(T,w){for(var S=T[w],I=w;I--;){var L=T[I];if(!L)return;L.programDateTime=S.programDateTime-L.duration*1e3,S=L}}function E(T,w){T.rawProgramDateTime?T.programDateTime=Date.parse(T.rawProgramDateTime):w!=null&&w.programDateTime&&(T.programDateTime=w.endProgramDateTime),Object(b.isFiniteNumber)(T.programDateTime)||(T.programDateTime=null,T.rawProgramDateTime=null)}},"./src/loader/playlist-loader.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/polyfills/number.ts"),m=A("./src/events.ts"),p=A("./src/errors.ts"),c=A("./src/utils/logger.ts"),o=A("./src/utils/mp4-tools.ts"),r=A("./src/loader/m3u8-parser.ts"),i=A("./src/types/loader.ts"),n=A("./src/utils/attr-list.ts");function t(a){var l=a.type;switch(l){case i.PlaylistContextType.AUDIO_TRACK:return i.PlaylistLevelType.AUDIO;case i.PlaylistContextType.SUBTITLE_TRACK:return i.PlaylistLevelType.SUBTITLE;default:return i.PlaylistLevelType.MAIN}}function s(a,l){var u=a.url;return(u===void 0||u.indexOf("data:")===0)&&(u=l.url),u}var e=function(){function a(u){this.hls=void 0,this.loaders=Object.create(null),this.hls=u,this.registerListeners()}var l=a.prototype;return l.registerListeners=function(){var h=this.hls;h.on(m.Events.MANIFEST_LOADING,this.onManifestLoading,this),h.on(m.Events.LEVEL_LOADING,this.onLevelLoading,this),h.on(m.Events.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),h.on(m.Events.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)},l.unregisterListeners=function(){var h=this.hls;h.off(m.Events.MANIFEST_LOADING,this.onManifestLoading,this),h.off(m.Events.LEVEL_LOADING,this.onLevelLoading,this),h.off(m.Events.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),h.off(m.Events.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)},l.createInternalLoader=function(h){var f=this.hls.config,g=f.pLoader,v=f.loader,y=g||v,E=new y(f);return h.loader=E,this.loaders[h.type]=E,E},l.getInternalLoader=function(h){return this.loaders[h.type]},l.resetInternalLoader=function(h){this.loaders[h]&&delete this.loaders[h]},l.destroyInternalLoaders=function(){for(var h in this.loaders){var f=this.loaders[h];f&&f.destroy(),this.resetInternalLoader(h)}},l.destroy=function(){this.unregisterListeners(),this.destroyInternalLoaders()},l.onManifestLoading=function(h,f){var g=f.url;this.load({id:null,groupId:null,level:0,responseType:"text",type:i.PlaylistContextType.MANIFEST,url:g,deliveryDirectives:null})},l.onLevelLoading=function(h,f){var g=f.id,v=f.level,y=f.url,E=f.deliveryDirectives;this.load({id:g,groupId:null,level:v,responseType:"text",type:i.PlaylistContextType.LEVEL,url:y,deliveryDirectives:E})},l.onAudioTrackLoading=function(h,f){var g=f.id,v=f.groupId,y=f.url,E=f.deliveryDirectives;this.load({id:g,groupId:v,level:null,responseType:"text",type:i.PlaylistContextType.AUDIO_TRACK,url:y,deliveryDirectives:E})},l.onSubtitleTrackLoading=function(h,f){var g=f.id,v=f.groupId,y=f.url,E=f.deliveryDirectives;this.load({id:g,groupId:v,level:null,responseType:"text",type:i.PlaylistContextType.SUBTITLE_TRACK,url:y,deliveryDirectives:E})},l.load=function(h){var f,g=this.hls.config,v=this.getInternalLoader(h);if(v){var y=v.context;if(y&&y.url===h.url){c.logger.trace("[playlist-loader]: playlist request ongoing");return}c.logger.log("[playlist-loader]: aborting previous loader for type: "+h.type),v.abort()}var E,T,w,S;switch(h.type){case i.PlaylistContextType.MANIFEST:E=g.manifestLoadingMaxRetry,T=g.manifestLoadingTimeOut,w=g.manifestLoadingRetryDelay,S=g.manifestLoadingMaxRetryTimeout;break;case i.PlaylistContextType.LEVEL:case i.PlaylistContextType.AUDIO_TRACK:case i.PlaylistContextType.SUBTITLE_TRACK:E=0,T=g.levelLoadingTimeOut;break;default:E=g.levelLoadingMaxRetry,T=g.levelLoadingTimeOut,w=g.levelLoadingRetryDelay,S=g.levelLoadingMaxRetryTimeout;break}if(v=this.createInternalLoader(h),(f=h.deliveryDirectives)!==null&&f!==void 0&&f.part){var I;if(h.type===i.PlaylistContextType.LEVEL&&h.level!==null?I=this.hls.levels[h.level].details:h.type===i.PlaylistContextType.AUDIO_TRACK&&h.id!==null?I=this.hls.audioTracks[h.id].details:h.type===i.PlaylistContextType.SUBTITLE_TRACK&&h.id!==null&&(I=this.hls.subtitleTracks[h.id].details),I){var L=I.partTarget,O=I.targetduration;L&&O&&(T=Math.min(Math.max(L*3,O*.8)*1e3,T))}}var N={timeout:T,maxRetry:E,retryDelay:w,maxRetryDelay:S,highWaterMark:0},R={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)};v.load(h,N,R)},l.loadsuccess=function(h,f,g,v){if(v===void 0&&(v=null),g.isSidxRequest){this.handleSidxRequest(h,g),this.handlePlaylistLoaded(h,f,g,v);return}this.resetInternalLoader(g.type);var y=h.data;if(y.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(h,g,"no EXTM3U delimiter",v);return}f.parsing.start=performance.now(),y.indexOf("#EXTINF:")>0||y.indexOf("#EXT-X-TARGETDURATION:")>0?this.handleTrackOrLevelPlaylist(h,f,g,v):this.handleMasterPlaylist(h,f,g,v)},l.loaderror=function(h,f,g){g===void 0&&(g=null),this.handleNetworkError(f,g,!1,h)},l.loadtimeout=function(h,f,g){g===void 0&&(g=null),this.handleNetworkError(f,g,!0)},l.handleMasterPlaylist=function(h,f,g,v){var y=this.hls,E=h.data,T=s(h,g),w=r.default.parseMasterPlaylist(E,T),S=w.levels,I=w.sessionData;if(!S.length){this.handleManifestParsingError(h,g,"no level found in manifest",v);return}var L=S.map(function(M){return{id:M.attrs.AUDIO,audioCodec:M.audioCodec}}),O=S.map(function(M){return{id:M.attrs.SUBTITLES,textCodec:M.textCodec}}),N=r.default.parseMasterPlaylistMedia(E,T,"AUDIO",L),R=r.default.parseMasterPlaylistMedia(E,T,"SUBTITLES",O),D=r.default.parseMasterPlaylistMedia(E,T,"CLOSED-CAPTIONS");if(N.length){var B=N.some(function(M){return!M.url});!B&&S[0].audioCodec&&!S[0].attrs.AUDIO&&(c.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),N.unshift({type:"main",name:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new n.AttrList({}),bitrate:0,url:""}))}y.trigger(m.Events.MANIFEST_LOADED,{levels:S,audioTracks:N,subtitles:R,captions:D,url:T,stats:f,networkDetails:v,sessionData:I})},l.handleTrackOrLevelPlaylist=function(h,f,g,v){var y=this.hls,E=g.id,T=g.level,w=g.type,S=s(h,g),I=Object(b.isFiniteNumber)(E)?E:0,L=Object(b.isFiniteNumber)(T)?T:I,O=t(g),N=r.default.parseLevelPlaylist(h.data,S,L,O,I);if(!N.fragments.length){y.trigger(m.Events.ERROR,{type:p.ErrorTypes.NETWORK_ERROR,details:p.ErrorDetails.LEVEL_EMPTY_ERROR,fatal:!1,url:S,reason:"no fragments found in level",level:typeof g.level=="number"?g.level:void 0});return}if(w===i.PlaylistContextType.MANIFEST){var R={attrs:new n.AttrList({}),bitrate:0,details:N,name:"",url:S};y.trigger(m.Events.MANIFEST_LOADED,{levels:[R],audioTracks:[],url:S,stats:f,networkDetails:v,sessionData:null})}if(f.parsing.end=performance.now(),N.needSidxRanges){var D,B=(D=N.fragments[0].initSegment)===null||D===void 0?void 0:D.url;this.load({url:B,isSidxRequest:!0,type:w,level:T,levelDetails:N,id:E,groupId:null,rangeStart:0,rangeEnd:2048,responseType:"arraybuffer",deliveryDirectives:null});return}g.levelDetails=N,this.handlePlaylistLoaded(h,f,g,v)},l.handleSidxRequest=function(h,f){var g=Object(o.parseSegmentIndex)(new Uint8Array(h.data));if(!g)return;var v=g.references,y=f.levelDetails;v.forEach(function(E,T){var w=E.info,S=y.fragments[T];S.byteRange.length===0&&S.setByteRange(String(1+w.end-w.start)+"@"+String(w.start)),S.initSegment&&S.initSegment.setByteRange(String(g.moovEndOffset)+"@0")})},l.handleManifestParsingError=function(h,f,g,v){this.hls.trigger(m.Events.ERROR,{type:p.ErrorTypes.NETWORK_ERROR,details:p.ErrorDetails.MANIFEST_PARSING_ERROR,fatal:f.type===i.PlaylistContextType.MANIFEST,url:h.url,reason:g,response:h,context:f,networkDetails:v})},l.handleNetworkError=function(h,f,g,v){g===void 0&&(g=!1),c.logger.warn("[playlist-loader]: A network "+(g?"timeout":"error")+" occurred while loading "+h.type+" level: "+h.level+" id: "+h.id+' group-id: "'+h.groupId+'"');var y=p.ErrorDetails.UNKNOWN,E=!1,T=this.getInternalLoader(h);switch(h.type){case i.PlaylistContextType.MANIFEST:y=g?p.ErrorDetails.MANIFEST_LOAD_TIMEOUT:p.ErrorDetails.MANIFEST_LOAD_ERROR,E=!0;break;case i.PlaylistContextType.LEVEL:y=g?p.ErrorDetails.LEVEL_LOAD_TIMEOUT:p.ErrorDetails.LEVEL_LOAD_ERROR,E=!1;break;case i.PlaylistContextType.AUDIO_TRACK:y=g?p.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:p.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,E=!1;break;case i.PlaylistContextType.SUBTITLE_TRACK:y=g?p.ErrorDetails.SUBTITLE_TRACK_LOAD_TIMEOUT:p.ErrorDetails.SUBTITLE_LOAD_ERROR,E=!1;break}T&&this.resetInternalLoader(h.type);var w={type:p.ErrorTypes.NETWORK_ERROR,details:y,fatal:E,url:h.url,loader:T,context:h,networkDetails:f};v&&(w.response=v),this.hls.trigger(m.Events.ERROR,w)},l.handlePlaylistLoaded=function(h,f,g,v){var y=g.type,E=g.level,T=g.id,w=g.groupId,S=g.loader,I=g.levelDetails,L=g.deliveryDirectives;if(!(I!=null&&I.targetduration)){this.handleManifestParsingError(h,g,"invalid target duration",v);return}if(!S)return;I.live&&(S.getCacheAge&&(I.ageHeader=S.getCacheAge()||0),(!S.getCacheAge||isNaN(I.ageHeader))&&(I.ageHeader=0));switch(y){case i.PlaylistContextType.MANIFEST:case i.PlaylistContextType.LEVEL:this.hls.trigger(m.Events.LEVEL_LOADED,{details:I,level:E||0,id:T||0,stats:f,networkDetails:v,deliveryDirectives:L});break;case i.PlaylistContextType.AUDIO_TRACK:this.hls.trigger(m.Events.AUDIO_TRACK_LOADED,{details:I,id:T||0,groupId:w||"",stats:f,networkDetails:v,deliveryDirectives:L});break;case i.PlaylistContextType.SUBTITLE_TRACK:this.hls.trigger(m.Events.SUBTITLE_TRACK_LOADED,{details:I,id:T||0,groupId:w||"",stats:f,networkDetails:v,deliveryDirectives:L});break}},a}();C.default=e},"./src/polyfills/number.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"isFiniteNumber",function(){return b}),A.d(C,"MAX_SAFE_INTEGER",function(){return m});var b=Number.isFinite||function(p){return typeof p=="number"&&isFinite(p)},m=Number.MAX_SAFE_INTEGER||9007199254740991},"./src/remux/aac-helper.ts":function(x,C,A){"use strict";A.r(C);var b=function(){function m(){}return m.getSilentFrame=function(c,o){switch(c){case"mp4a.40.2":if(o===1)return new Uint8Array([0,200,0,128,35,128]);if(o===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(o===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(o===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(o===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(o===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]);break;default:if(o===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(o===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(o===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]);break}return},m}();C.default=b},"./src/remux/mp4-generator.ts":function(x,C,A){"use strict";A.r(C);var b=Math.pow(2,32)-1,m=function(){function p(){}return p.init=function(){p.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};var o;for(o in p.types)p.types.hasOwnProperty(o)&&(p.types[o]=[o.charCodeAt(0),o.charCodeAt(1),o.charCodeAt(2),o.charCodeAt(3)]);var r=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]),i=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]);p.HDLR_TYPES={video:r,audio:i};var n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),t=new Uint8Array([0,0,0,0,0,0,0,0]);p.STTS=p.STSC=p.STCO=t,p.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),p.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),p.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),p.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var s=new Uint8Array([105,115,111,109]),e=new Uint8Array([97,118,99,49]),a=new Uint8Array([0,0,0,1]);p.FTYP=p.box(p.types.ftyp,s,a,s,e),p.DINF=p.box(p.types.dinf,p.box(p.types.dref,n))},p.box=function(o){for(var r=8,i=arguments.length,n=new Array(i>1?i-1:0),t=1;t<i;t++)n[t-1]=arguments[t];for(var s=n.length,e=s;s--;)r+=n[s].byteLength;var a=new Uint8Array(r);for(a[0]=r>>24&255,a[1]=r>>16&255,a[2]=r>>8&255,a[3]=r&255,a.set(o,4),s=0,r=8;s<e;s++)a.set(n[s],r),r+=n[s].byteLength;return a},p.hdlr=function(o){return p.box(p.types.hdlr,p.HDLR_TYPES[o])},p.mdat=function(o){return p.box(p.types.mdat,o)},p.mdhd=function(o,r){r*=o;var i=Math.floor(r/(b+1)),n=Math.floor(r%(b+1));return p.box(p.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,o>>24&255,o>>16&255,o>>8&255,o&255,i>>24,i>>16&255,i>>8&255,i&255,n>>24,n>>16&255,n>>8&255,n&255,85,196,0,0]))},p.mdia=function(o){return p.box(p.types.mdia,p.mdhd(o.timescale,o.duration),p.hdlr(o.type),p.minf(o))},p.mfhd=function(o){return p.box(p.types.mfhd,new Uint8Array([0,0,0,0,o>>24,o>>16&255,o>>8&255,o&255]))},p.minf=function(o){return o.type==="audio"?p.box(p.types.minf,p.box(p.types.smhd,p.SMHD),p.DINF,p.stbl(o)):p.box(p.types.minf,p.box(p.types.vmhd,p.VMHD),p.DINF,p.stbl(o))},p.moof=function(o,r,i){return p.box(p.types.moof,p.mfhd(o),p.traf(i,r))},p.moov=function(o){for(var r=o.length,i=[];r--;)i[r]=p.trak(o[r]);return p.box.apply(null,[p.types.moov,p.mvhd(o[0].timescale,o[0].duration)].concat(i).concat(p.mvex(o)))},p.mvex=function(o){for(var r=o.length,i=[];r--;)i[r]=p.trex(o[r]);return p.box.apply(null,[p.types.mvex].concat(i))},p.mvhd=function(o,r){r*=o;var i=Math.floor(r/(b+1)),n=Math.floor(r%(b+1)),t=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,o>>24&255,o>>16&255,o>>8&255,o&255,i>>24,i>>16&255,i>>8&255,i&255,n>>24,n>>16&255,n>>8&255,n&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]);return p.box(p.types.mvhd,t)},p.sdtp=function(o){var r=o.samples||[],i=new Uint8Array(4+r.length),n,t;for(n=0;n<r.length;n++)t=r[n].flags,i[n+4]=t.dependsOn<<4|t.isDependedOn<<2|t.hasRedundancy;return p.box(p.types.sdtp,i)},p.stbl=function(o){return p.box(p.types.stbl,p.stsd(o),p.box(p.types.stts,p.STTS),p.box(p.types.stsc,p.STSC),p.box(p.types.stsz,p.STSZ),p.box(p.types.stco,p.STCO))},p.avc1=function(o){var r=[],i=[],n,t,s;for(n=0;n<o.sps.length;n++)t=o.sps[n],s=t.byteLength,r.push(s>>>8&255),r.push(s&255),r=r.concat(Array.prototype.slice.call(t));for(n=0;n<o.pps.length;n++)t=o.pps[n],s=t.byteLength,i.push(s>>>8&255),i.push(s&255),i=i.concat(Array.prototype.slice.call(t));var e=p.box(p.types.avcC,new Uint8Array([1,r[3],r[4],r[5],252|3,224|o.sps.length].concat(r).concat([o.pps.length]).concat(i))),a=o.width,l=o.height,u=o.pixelRatio[0],h=o.pixelRatio[1];return p.box(p.types.avc1,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,a>>8&255,a&255,l>>8&255,l&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),e,p.box(p.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),p.box(p.types.pasp,new Uint8Array([u>>24,u>>16&255,u>>8&255,u&255,h>>24,h>>16&255,h>>8&255,h&255])))},p.esds=function(o){var r=o.config.length;return new Uint8Array([0,0,0,0,3,23+r,0,1,0,4,15+r,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([r]).concat(o.config).concat([6,1,2]))},p.mp4a=function(o){var r=o.samplerate;return p.box(p.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,o.channelCount,0,16,0,0,0,0,r>>8&255,r&255,0,0]),p.box(p.types.esds,p.esds(o)))},p.mp3=function(o){var r=o.samplerate;return p.box(p.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,o.channelCount,0,16,0,0,0,0,r>>8&255,r&255,0,0]))},p.stsd=function(o){return o.type==="audio"?!o.isAAC&&o.codec==="mp3"?p.box(p.types.stsd,p.STSD,p.mp3(o)):p.box(p.types.stsd,p.STSD,p.mp4a(o)):p.box(p.types.stsd,p.STSD,p.avc1(o))},p.tkhd=function(o){var r=o.id,i=o.duration*o.timescale,n=o.width,t=o.height,s=Math.floor(i/(b+1)),e=Math.floor(i%(b+1));return p.box(p.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,r>>24&255,r>>16&255,r>>8&255,r&255,0,0,0,0,s>>24,s>>16&255,s>>8&255,s&255,e>>24,e>>16&255,e>>8&255,e&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,n>>8&255,n&255,0,0,t>>8&255,t&255,0,0]))},p.traf=function(o,r){var i=p.sdtp(o),n=o.id,t=Math.floor(r/(b+1)),s=Math.floor(r%(b+1));return p.box(p.types.traf,p.box(p.types.tfhd,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,n&255])),p.box(p.types.tfdt,new Uint8Array([1,0,0,0,t>>24,t>>16&255,t>>8&255,t&255,s>>24,s>>16&255,s>>8&255,s&255])),p.trun(o,i.length+16+20+8+16+8+8),i)},p.trak=function(o){return o.duration=o.duration||4294967295,p.box(p.types.trak,p.tkhd(o),p.mdia(o))},p.trex=function(o){var r=o.id;return p.box(p.types.trex,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,r&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},p.trun=function(o,r){var i=o.samples||[],n=i.length,t=12+16*n,s=new Uint8Array(t),e,a,l,u,h,f;for(r+=8+t,s.set([0,0,15,1,n>>>24&255,n>>>16&255,n>>>8&255,n&255,r>>>24&255,r>>>16&255,r>>>8&255,r&255],0),e=0;e<n;e++)a=i[e],l=a.duration,u=a.size,h=a.flags,f=a.cts,s.set([l>>>24&255,l>>>16&255,l>>>8&255,l&255,u>>>24&255,u>>>16&255,u>>>8&255,u&255,h.isLeading<<2|h.dependsOn,h.isDependedOn<<6|h.hasRedundancy<<4|h.paddingValue<<1|h.isNonSync,h.degradPrio&240<<8,h.degradPrio&15,f>>>24&255,f>>>16&255,f>>>8&255,f&255],12+16*e);return p.box(p.types.trun,s)},p.initSegment=function(o){p.types||p.init();var r=p.moov(o),i=new Uint8Array(p.FTYP.byteLength+r.byteLength);return i.set(p.FTYP),i.set(r,p.FTYP.byteLength),i},p}();m.types=void 0,m.HDLR_TYPES=void 0,m.STTS=void 0,m.STSC=void 0,m.STCO=void 0,m.STSZ=void 0,m.VMHD=void 0,m.SMHD=void 0,m.STSD=void 0,m.FTYP=void 0,m.DINF=void 0,C.default=m},"./src/remux/mp4-remuxer.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return f}),A.d(C,"normalizePts",function(){return g});var b=A("./src/polyfills/number.ts"),m=A("./src/remux/aac-helper.ts"),p=A("./src/remux/mp4-generator.ts"),c=A("./src/events.ts"),o=A("./src/errors.ts"),r=A("./src/utils/logger.ts"),i=A("./src/types/loader.ts"),n=A("./src/utils/timescale-conversion.ts");function t(){return t=Object.assign||function(T){for(var w=1;w<arguments.length;w++){var S=arguments[w];for(var I in S)Object.prototype.hasOwnProperty.call(S,I)&&(T[I]=S[I])}return T},t.apply(this,arguments)}var s=10*1e3,e=1024,a=1152,l=null,u=null,h=!1,f=function(){function T(S,I,L,O){if(O===void 0&&(O=""),this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=void 0,this._initDTS=void 0,this.nextAvcDts=null,this.nextAudioPts=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.observer=S,this.config=I,this.typeSupported=L,this.ISGenerated=!1,l===null){var N=navigator.userAgent||"",R=N.match(/Chrome\/(\d+)/i);l=R?parseInt(R[1]):0}if(u===null){var D=navigator.userAgent.match(/Safari\/(\d+)/i);u=D?parseInt(D[1]):0}h=!!l&&l<75||!!u&&u<600}var w=T.prototype;return w.destroy=function(){},w.resetTimeStamp=function(I){r.logger.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=I},w.resetNextTimestamp=function(){r.logger.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1},w.resetInitSegment=function(){r.logger.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1},w.getVideoStartPts=function(I){var L=!1,O=I.reduce(function(N,R){var D=R.pts-N;return D<-4294967296?(L=!0,g(N,R.pts)):D>0?N:R.pts},I[0].pts);return L&&r.logger.debug("PTS rollover detected"),O},w.remux=function(I,L,O,N,R,D,B,M){var U,F,j,W,V,z,Y=R,J=R,ie=I.pid>-1,Z=L.pid>-1,oe=L.samples.length,ge=I.samples.length>0,pe=oe>1,De=(!ie||ge)&&(!Z||pe)||this.ISGenerated||B;if(De){this.ISGenerated||(j=this.generateIS(I,L,R));var ce=this.isVideoContiguous,Oe=-1;if(pe&&(Oe=v(L.samples),!ce&&this.config.forceKeyFrameOnDiscontinuity))if(z=!0,Oe>0){r.logger.warn("[mp4-remuxer]: Dropped "+Oe+" out of "+oe+" video samples due to a missing keyframe");var se=this.getVideoStartPts(L.samples);L.samples=L.samples.slice(Oe),L.dropped+=Oe,J+=(L.samples[0].pts-se)/(L.timescale||9e4)}else Oe===-1&&(r.logger.warn("[mp4-remuxer]: No keyframe found out of "+oe+" video samples"),z=!1);if(this.ISGenerated){if(ge&&pe){var $=this.getVideoStartPts(L.samples),ze=g(I.samples[0].pts,$)-$,re=ze/L.inputTimeScale;Y+=Math.max(0,re),J+=Math.max(0,-re)}if(ge){if(I.samplerate||(r.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),j=this.generateIS(I,L,R)),F=this.remuxAudio(I,Y,this.isAudioContiguous,D,Z||pe||M===i.PlaylistLevelType.AUDIO?J:void 0),pe){var X=F?F.endPTS-F.startPTS:0;L.inputTimeScale||(r.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),j=this.generateIS(I,L,R)),U=this.remuxVideo(L,J,ce,X)}}else pe&&(U=this.remuxVideo(L,J,ce,0));U&&(U.firstKeyFrame=Oe,U.independent=Oe!==-1)}}return this.ISGenerated&&(O.samples.length&&(V=this.remuxID3(O,R)),N.samples.length&&(W=this.remuxText(N,R))),{audio:F,video:U,initSegment:j,independent:z,text:W,id3:V}},w.generateIS=function(I,L,O){var N=I.samples,R=L.samples,D=this.typeSupported,B={},M=!Object(b.isFiniteNumber)(this._initPTS),U="audio/mp4",F,j,W;if(M&&(F=j=Infinity),I.config&&N.length&&(I.timescale=I.samplerate,I.isAAC||(D.mpeg?(U="audio/mpeg",I.codec=""):D.mp3&&(I.codec="mp3")),B.audio={id:"audio",container:U,codec:I.codec,initSegment:!I.isAAC&&D.mpeg?new Uint8Array(0):p.default.initSegment([I]),metadata:{channelCount:I.channelCount}},M&&(W=I.inputTimeScale,F=j=N[0].pts-Math.round(W*O))),L.sps&&L.pps&&R.length&&(L.timescale=L.inputTimeScale,B.video={id:"main",container:"video/mp4",codec:L.codec,initSegment:p.default.initSegment([L]),metadata:{width:L.width,height:L.height}},M)){W=L.inputTimeScale;var V=this.getVideoStartPts(R),z=Math.round(W*O);j=Math.min(j,g(R[0].dts,V)-z),F=Math.min(F,V-z)}if(Object.keys(B).length)return this.ISGenerated=!0,M&&(this._initPTS=F,this._initDTS=j),{tracks:B,initPTS:F,timescale:W}},w.remuxVideo=function(I,L,O,N){var R=I.inputTimeScale,D=I.samples,B=[],M=D.length,U=this._initPTS,F=this.nextAvcDts,j=8,W,V,z,Y=Number.POSITIVE_INFINITY,J=Number.NEGATIVE_INFINITY,ie=0,Z=!1;if(!O||F===null){var oe=L*R,ge=D[0].pts-g(D[0].dts,D[0].pts);F=oe-ge}for(var pe=0;pe<M;pe++){var De=D[pe];if(De.pts=g(De.pts-U,F),De.dts=g(De.dts-U,F),De.dts>De.pts){var ce=9e4*.2;ie=Math.max(Math.min(ie,De.pts-De.dts),-1*ce)}De.dts<D[pe>0?pe-1:pe].dts&&(Z=!0)}Z&&D.sort(function(Fr,er){var nr=Fr.dts-er.dts,Lt=Fr.pts-er.pts;return nr||Lt}),V=D[0].dts,z=D[D.length-1].dts;var Oe=Math.round((z-V)/(M-1));if(ie<0){if(ie<Oe*-2){r.logger.warn("PTS < DTS detected in video samples, offsetting DTS from PTS by "+Object(n.toMsFromMpegTsClock)(-Oe,!0)+" ms");for(var se=ie,$=0;$<M;$++)D[$].dts=se=Math.max(se,D[$].pts-Oe),D[$].pts=Math.max(se,D[$].pts)}else{r.logger.warn("PTS < DTS detected in video samples, shifting DTS by "+Object(n.toMsFromMpegTsClock)(ie,!0)+" ms to overcome this issue");for(var ze=0;ze<M;ze++)D[ze].dts=D[ze].dts+ie}V=D[0].dts}if(O){var re=V-F,X=re>Oe,G=re<-1;if(X||G){X?r.logger.warn("AVC: "+Object(n.toMsFromMpegTsClock)(re,!0)+" ms ("+re+"dts) hole between fragments detected, filling it"):r.logger.warn("AVC: "+Object(n.toMsFromMpegTsClock)(-re,!0)+" ms ("+re+"dts) overlapping between fragments detected"),V=F;var Q=D[0].pts-re;D[0].dts=V,D[0].pts=Q,r.logger.log("Video: First PTS/DTS adjusted: "+Object(n.toMsFromMpegTsClock)(Q,!0)+"/"+Object(n.toMsFromMpegTsClock)(V,!0)+", delta: "+Object(n.toMsFromMpegTsClock)(re,!0)+" ms")}}h&&(V=Math.max(0,V));for(var ve=0,de=0,Ce=0;Ce<M;Ce++){for(var we=D[Ce],le=we.units,fe=le.length,xe=0,We=0;We<fe;We++)xe+=le[We].data.length;de+=xe,ve+=fe,we.length=xe,we.dts=Math.max(we.dts,V),we.pts=Math.max(we.pts,we.dts,0),Y=Math.min(we.pts,Y),J=Math.max(we.pts,J)}z=D[M-1].dts;var nt=de+4*ve+8,$e;try{$e=new Uint8Array(nt)}catch(Fr){this.observer.emit(c.Events.ERROR,c.Events.ERROR,{type:o.ErrorTypes.MUX_ERROR,details:o.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:nt,reason:"fail allocating video mdat "+nt});return}var Le=new DataView($e.buffer);Le.setUint32(0,nt),$e.set(p.default.types.mdat,4);for(var pt=0;pt<M;pt++){for(var Qe=D[pt],gt=Qe.units,wt=0,Et=0,_t=gt.length;Et<_t;Et++){var Ht=gt[Et],Ze=Ht.data,ye=Ht.data.byteLength;Le.setUint32(j,ye),j+=4,$e.set(Ze,j),j+=ye,wt+=4+ye}if(pt<M-1)W=D[pt+1].dts-Qe.dts;else{var ae=this.config,yt=Qe.dts-D[pt>0?pt-1:pt].dts;if(ae.stretchShortVideoTrack&&this.nextAudioPts!==null){var et=Math.floor(ae.maxBufferHole*R),me=(N?Y+N*R:this.nextAudioPts)-Qe.pts;me>et?(W=me-yt,W<0&&(W=yt),r.logger.log("[mp4-remuxer]: It is approximately "+me/90+" ms to the next segment; using duration "+W/90+" ms for the last video frame.")):W=yt}else W=yt}var Gt=Math.round(Qe.pts-Qe.dts);B.push(new y(Qe.key,W,wt,Gt))}if(B.length&&l&&l<70){var rr=B[0].flags;rr.dependsOn=2,rr.isNonSync=0}console.assert(W!==void 0,"mp4SampleDuration must be computed"),this.nextAvcDts=F=z+W,this.isVideoContiguous=!0;var ut=p.default.moof(I.sequenceNumber++,V,t({},I,{samples:B})),Xt="video",ur={data1:ut,data2:$e,startPTS:Y/R,endPTS:(J+W)/R,startDTS:V/R,endDTS:F/R,type:Xt,hasAudio:!1,hasVideo:!0,nb:B.length,dropped:I.dropped};return I.samples=[],I.dropped=0,console.assert($e.length,"MDAT length must not be zero"),ur},w.remuxAudio=function(I,L,O,N,R){var D=I.inputTimeScale,B=I.samplerate?I.samplerate:D,M=D/B,U=I.isAAC?e:a,F=U*M,j=this._initPTS,W=!I.isAAC&&this.typeSupported.mpeg,V=[],z=I.samples,Y=W?0:8,J=this.nextAudioPts||-1,ie=L*D;if(this.isAudioContiguous=O=O||z.length&&J>0&&(N&&Math.abs(ie-J)<9e3||Math.abs(g(z[0].pts-j,ie)-J)<20*F),z.forEach(function(Ze){Ze.pts=g(Ze.pts-j,ie)}),!O||J<0){if(z=z.filter(function(Ze){return Ze.pts>=0}),!z.length)return;R===0?J=0:N?J=Math.max(0,ie):J=z[0].pts}if(I.isAAC)for(var Z=R!==void 0,oe=this.config.maxAudioFramesDrift,ge=0,pe=J;ge<z.length;ge++){var De=z[ge],ce=De.pts,Oe=ce-pe,se=Math.abs(1e3*Oe/D);if(Oe<=-oe*F&&Z)ge===0&&(r.logger.warn("Audio frame @ "+(ce/D).toFixed(3)+"s overlaps nextAudioPts by "+Math.round(1e3*Oe/D)+" ms."),this.nextAudioPts=J=pe=ce);else if(Oe>=oe*F&&se<s&&Z){var $=Math.round(Oe/F);pe=ce-$*F,pe<0&&($--,pe+=F),ge===0&&(this.nextAudioPts=J=pe),r.logger.warn("[mp4-remuxer]: Injecting "+$+" audio frame @ "+(pe/D).toFixed(3)+"s due to "+Math.round(1e3*Oe/D)+" ms gap.");for(var ze=0;ze<$;ze++){var re=Math.max(pe,0),X=m.default.getSilentFrame(I.manifestCodec||I.codec,I.channelCount);X||(r.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),X=De.unit.subarray()),z.splice(ge,0,{unit:X,pts:re}),pe+=F,ge++}}De.pts=pe,pe+=F}for(var G=null,Q=null,ve,de=0,Ce=z.length;Ce--;)de+=z[Ce].unit.byteLength;for(var we=0,le=z.length;we<le;we++){var fe=z[we],xe=fe.unit,We=fe.pts;if(Q!==null){var nt=V[we-1];nt.duration=Math.round((We-Q)/M)}else if(O&&I.isAAC&&(We=J),G=We,de>0){de+=Y;try{ve=new Uint8Array(de)}catch(Ze){this.observer.emit(c.Events.ERROR,c.Events.ERROR,{type:o.ErrorTypes.MUX_ERROR,details:o.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:de,reason:"fail allocating audio mdat "+de});return}if(!W){var $e=new DataView(ve.buffer);$e.setUint32(0,de),ve.set(p.default.types.mdat,4)}}else return;ve.set(xe,Y);var Le=xe.byteLength;Y+=Le,V.push(new y(!0,U,Le,0)),Q=We}var pt=V.length;if(!pt)return;var Qe=V[V.length-1];this.nextAudioPts=J=Q+M*Qe.duration;var gt=W?new Uint8Array(0):p.default.moof(I.sequenceNumber++,G/M,t({},I,{samples:V}));I.samples=[];var wt=G/D,Et=J/D,_t="audio",Ht={data1:gt,data2:ve,startPTS:wt,endPTS:Et,startDTS:wt,endDTS:Et,type:_t,hasAudio:!0,hasVideo:!1,nb:pt};return this.isAudioContiguous=!0,console.assert(ve.length,"MDAT length must not be zero"),Ht},w.remuxEmptyAudio=function(I,L,O,N){var R=I.inputTimeScale,D=I.samplerate?I.samplerate:R,B=R/D,M=this.nextAudioPts,U=(M!==null?M:N.startDTS*R)+this._initDTS,F=N.endDTS*R+this._initDTS,j=B*e,W=Math.ceil((F-U)/j),V=m.default.getSilentFrame(I.manifestCodec||I.codec,I.channelCount);if(r.logger.warn("[mp4-remuxer]: remux empty Audio"),!V){r.logger.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec");return}for(var z=[],Y=0;Y<W;Y++){var J=U+Y*j;z.push({unit:V,pts:J,dts:J})}return I.samples=z,this.remuxAudio(I,L,O,!1)},w.remuxID3=function(I,L){var O=I.samples.length;if(!O)return;for(var N=I.inputTimeScale,R=this._initPTS,D=this._initDTS,B=0;B<O;B++){var M=I.samples[B];M.pts=g(M.pts-R,L*N)/N,M.dts=g(M.dts-D,L*N)/N}var U=I.samples;return I.samples=[],{samples:U}},w.remuxText=function(I,L){var O=I.samples.length;if(!O)return;for(var N=I.inputTimeScale,R=this._initPTS,D=0;D<O;D++){var B=I.samples[D];B.pts=g(B.pts-R,L*N)/N}I.samples.sort(function(U,F){return U.pts-F.pts});var M=I.samples;return I.samples=[],{samples:M}},T}();function g(T,w){var S;if(w===null)return T;for(w<T?S=-8589934592:S=8589934592;Math.abs(T-w)>4294967296;)T+=S;return T}function v(T){for(var w=0;w<T.length;w++)if(T[w].key)return w;return-1}var y=function(w,S,I,L){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=S,this.size=I,this.cts=L,this.flags=new E(w)},E=function(w){this.isLeading=0,this.isDependedOn=0,this.hasRedundancy=0,this.degradPrio=0,this.dependsOn=1,this.isNonSync=1,this.dependsOn=w?2:1,this.isNonSync=w?0:1}},"./src/remux/passthrough-remuxer.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/polyfills/number.ts"),m=A("./src/utils/mp4-tools.ts"),p=A("./src/loader/fragment.ts"),c=A("./src/utils/logger.ts"),o=function(){function n(){this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=void 0,this.initTracks=void 0,this.lastEndDTS=null}var t=n.prototype;return t.destroy=function(){},t.resetTimeStamp=function(e){this.initPTS=e,this.lastEndDTS=null},t.resetNextTimestamp=function(){this.lastEndDTS=null},t.resetInitSegment=function(e,a,l){this.audioCodec=a,this.videoCodec=l,this.generateInitSegment(e),this.emitInitSegment=!0},t.generateInitSegment=function(e){var a=this.audioCodec,l=this.videoCodec;if(!e||!e.byteLength){this.initTracks=void 0,this.initData=void 0;return}var u=this.initData=Object(m.parseInitSegment)(e);a||(a=i(u.audio,p.ElementaryStreamTypes.AUDIO)),l||(l=i(u.video,p.ElementaryStreamTypes.VIDEO));var h={};u.audio&&u.video?h.audiovideo={container:"video/mp4",codec:a+","+l,initSegment:e,id:"main"}:u.audio?h.audio={container:"audio/mp4",codec:a,initSegment:e,id:"audio"}:u.video?h.video={container:"video/mp4",codec:l,initSegment:e,id:"main"}:c.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=h},t.remux=function(e,a,l,u,h){var f=this.initPTS,g=this.lastEndDTS,v={audio:void 0,video:void 0,text:u,id3:l,initSegment:void 0};Object(b.isFiniteNumber)(g)||(g=this.lastEndDTS=h||0);var y=a.samples;if(!y||!y.length)return v;var E={initPTS:void 0,timescale:1},T=this.initData;if((!T||!T.length)&&(this.generateInitSegment(y),T=this.initData),!T||!T.length)return c.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),v;this.emitInitSegment&&(E.tracks=this.initTracks,this.emitInitSegment=!1),Object(b.isFiniteNumber)(f)||(this.initPTS=E.initPTS=f=r(T,y,g));var w=Object(m.getDuration)(y,T),S=g,I=w+S;Object(m.offsetStartDTS)(T,y,f),w>0?this.lastEndDTS=I:(c.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());var L=!!T.audio,O=!!T.video,N="";L&&(N+="audio"),O&&(N+="video");var R={data1:y,startPTS:S,startDTS:S,endPTS:I,endDTS:I,type:N,hasAudio:L,hasVideo:O,nb:1,dropped:0};return v.audio=R.type==="audio"?R:void 0,v.video=R.type!=="audio"?R:void 0,v.text=u,v.id3=l,v.initSegment=E,v},n}(),r=function(t,s,e){return Object(m.getStartDTS)(t,s)-e};function i(n,t){var s=n==null?void 0:n.codec;return s&&s.length>4?s:s==="hvc1"?"hvc1.1.c.L120.90":s==="av01"?"av01.0.04M.08":s==="avc1"||t===p.ElementaryStreamTypes.VIDEO?"avc1.42e01e":"mp4a.40.5"}C.default=o},"./src/task-loop.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return b});var b=function(){function m(){this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}var p=m.prototype;return p.destroy=function(){this.onHandlerDestroying(),this.onHandlerDestroyed()},p.onHandlerDestroying=function(){this.clearNextTick(),this.clearInterval()},p.onHandlerDestroyed=function(){},p.hasInterval=function(){return!!this._tickInterval},p.hasNextTick=function(){return!!this._tickTimer},p.setInterval=function(o){return this._tickInterval?!1:(this._tickInterval=self.setInterval(this._boundTick,o),!0)},p.clearInterval=function(){return this._tickInterval?(self.clearInterval(this._tickInterval),this._tickInterval=null,!0):!1},p.clearNextTick=function(){return this._tickTimer?(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0):!1},p.tick=function(){this._tickCallCount++,this._tickCallCount===1&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)},p.tickImmediate=function(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)},p.doTick=function(){},m}()},"./src/types/cmcd.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"CMCDVersion",function(){return b}),A.d(C,"CMCDObjectType",function(){return m}),A.d(C,"CMCDStreamingFormat",function(){return p}),A.d(C,"CMCDStreamType",function(){return c});var b=1,m;(function(o){o.MANIFEST="m",o.AUDIO="a",o.VIDEO="v",o.MUXED="av",o.INIT="i",o.CAPTION="c",o.TIMED_TEXT="tt",o.KEY="k",o.OTHER="o"})(m||(m={}));var p;(function(o){o.DASH="d",o.HLS="h",o.SMOOTH="s",o.OTHER="o"})(p||(p={}));var c;(function(o){o.VOD="v",o.LIVE="l"})(c||(c={}))},"./src/types/level.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"HlsSkip",function(){return p}),A.d(C,"getSkipValue",function(){return c}),A.d(C,"HlsUrlParameters",function(){return o}),A.d(C,"Level",function(){return r});function b(i,n){for(var t=0;t<n.length;t++){var s=n[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}function m(i,n,t){return n&&b(i.prototype,n),t&&b(i,t),i}var p;(function(i){i.No="",i.Yes="YES",i.v2="v2"})(p||(p={}));function c(i,n){var t=i.canSkipUntil,s=i.canSkipDateRanges,e=i.endSN,a=n!==void 0?n-e:0;return t&&a<t?s?p.v2:p.Yes:p.No}var o=function(){function i(t,s,e){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=s,this.skip=e}var n=i.prototype;return n.addDirectives=function(s){var e=new self.URL(s);return this.msn!==void 0&&e.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&e.searchParams.set("_HLS_part",this.part.toString()),this.skip&&e.searchParams.set("_HLS_skip",this.skip),e.toString()},i}(),r=function(){function i(n){this.attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.videoCodec=void 0,this.width=void 0,this.unknownCodecs=void 0,this.audioGroupIds=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.textGroupIds=void 0,this.url=void 0,this._urlId=0,this.url=[n.url],this.attrs=n.attrs,this.bitrate=n.bitrate,n.details&&(this.details=n.details),this.id=n.id||0,this.name=n.name,this.width=n.width||0,this.height=n.height||0,this.audioCodec=n.audioCodec,this.videoCodec=n.videoCodec,this.unknownCodecs=n.unknownCodecs,this.codecSet=[n.videoCodec,n.audioCodec].filter(function(t){return t}).join(",").replace(/\.[^.,]+/g,"")}return m(i,[{key:"maxBitrate",get:function(){return Math.max(this.realBitrate,this.bitrate)}},{key:"uri",get:function(){return this.url[this._urlId]||""}},{key:"urlId",get:function(){return this._urlId},set:function(t){var s=t%this.url.length;this._urlId!==s&&(this.details=void 0,this._urlId=s)}}]),i}()},"./src/types/loader.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"PlaylistContextType",function(){return b}),A.d(C,"PlaylistLevelType",function(){return m});var b;(function(p){p.MANIFEST="manifest",p.LEVEL="level",p.AUDIO_TRACK="audioTrack",p.SUBTITLE_TRACK="subtitleTrack"})(b||(b={}));var m;(function(p){p.MAIN="main",p.AUDIO="audio",p.SUBTITLE="subtitle"})(m||(m={}))},"./src/types/transmuxer.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"ChunkMetadata",function(){return b});var b=function(c,o,r,i,n,t){i===void 0&&(i=0),n===void 0&&(n=-1),t===void 0&&(t=!1),this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=m(),this.buffering={audio:m(),video:m(),audiovideo:m()},this.level=c,this.sn=o,this.id=r,this.size=i,this.part=n,this.partial=t};function m(){return{start:0,executeStart:0,executeEnd:0,end:0}}},"./src/utils/attr-list.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"AttrList",function(){return p});var b=/^(\d+)x(\d+)$/,m=/\s*(.+?)\s*=((?:\".*?\")|.*?)(?:,|$)/g,p=function(){function c(r){typeof r=="string"&&(r=c.parseAttrList(r));for(var i in r)r.hasOwnProperty(i)&&(this[i]=r[i])}var o=c.prototype;return o.decimalInteger=function(i){var n=parseInt(this[i],10);return n>Number.MAX_SAFE_INTEGER?Infinity:n},o.hexadecimalInteger=function(i){if(this[i]){var n=(this[i]||"0x").slice(2);n=(n.length&1?"0":"")+n;for(var t=new Uint8Array(n.length/2),s=0;s<n.length/2;s++)t[s]=parseInt(n.slice(s*2,s*2+2),16);return t}else return null},o.hexadecimalIntegerAsNumber=function(i){var n=parseInt(this[i],16);return n>Number.MAX_SAFE_INTEGER?Infinity:n},o.decimalFloatingPoint=function(i){return parseFloat(this[i])},o.optionalFloat=function(i,n){var t=this[i];return t?parseFloat(t):n},o.enumeratedString=function(i){return this[i]},o.bool=function(i){return this[i]==="YES"},o.decimalResolution=function(i){var n=b.exec(this[i]);return n===null?void 0:{width:parseInt(n[1],10),height:parseInt(n[2],10)}},c.parseAttrList=function(i){var n,t={},s='"';for(m.lastIndex=0;(n=m.exec(i))!==null;){var e=n[2];e.indexOf(s)===0&&e.lastIndexOf(s)===e.length-1&&(e=e.slice(1,-1)),t[n[1]]=e}return t},c}()},"./src/utils/binary-search.ts":function(x,C,A){"use strict";A.r(C);var b={search:function(p,c){for(var o=0,r=p.length-1,i=null,n=null;o<=r;){i=(o+r)/2|0,n=p[i];var t=c(n);if(t>0)o=i+1;else if(t<0)r=i-1;else return n}return null}};C.default=b},"./src/utils/buffer-helper.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"BufferHelper",function(){return p});var b=A("./src/utils/logger.ts"),m={length:0,start:function(){return 0},end:function(){return 0}},p=function(){function c(){}return c.isBuffered=function(r,i){try{if(r){for(var n=c.getBuffered(r),t=0;t<n.length;t++)if(i>=n.start(t)&&i<=n.end(t))return!0}}catch(s){}return!1},c.bufferInfo=function(r,i,n){try{if(r){var t=c.getBuffered(r),s=[],e;for(e=0;e<t.length;e++)s.push({start:t.start(e),end:t.end(e)});return this.bufferedInfo(s,i,n)}}catch(a){}return{len:0,start:i,end:i,nextStart:void 0}},c.bufferedInfo=function(r,i,n){i=Math.max(0,i),r.sort(function(E,T){var w=E.start-T.start;return w||T.end-E.end});var t=[];if(n)for(var s=0;s<r.length;s++){var e=t.length;if(e){var a=t[e-1].end;r[s].start-a<n?r[s].end>a&&(t[e-1].end=r[s].end):t.push(r[s])}else t.push(r[s])}else t=r;for(var l=0,u,h=i,f=i,g=0;g<t.length;g++){var v=t[g].start,y=t[g].end;if(i+n>=v&&i<y)h=v,f=y,l=f-i;else if(i+n<v){u=v;break}}return{len:l,start:h||0,end:f||0,nextStart:u}},c.getBuffered=function(r){try{return r.buffered}catch(i){return b.logger.log("failed to get media.buffered",i),m}},c}()},"./src/utils/cea-608-parser.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"Row",function(){return f}),A.d(C,"CaptionScreen",function(){return g});var b=A("./src/utils/logger.ts"),m={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},p=function(I){var L=I;return m.hasOwnProperty(I)&&(L=m[I]),String.fromCharCode(L)},c=15,o=100,r={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},i={17:2,18:4,21:6,22:8,23:10,19:13,20:15},n={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},t={25:2,26:4,29:6,30:8,31:10,27:13,28:15},s=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],e;(function(S){S[S.ERROR=0]="ERROR",S[S.TEXT=1]="TEXT",S[S.WARNING=2]="WARNING",S[S.INFO=2]="INFO",S[S.DEBUG=3]="DEBUG",S[S.DATA=3]="DATA"})(e||(e={}));var a=function(){function S(){this.time=null,this.verboseLevel=e.ERROR}var I=S.prototype;return I.log=function(O,N){this.verboseLevel>=O&&b.logger.log(this.time+" ["+O+"] "+N)},S}(),l=function(I){for(var L=[],O=0;O<I.length;O++)L.push(I[O].toString(16));return L},u=function(){function S(L,O,N,R,D){this.foreground=void 0,this.underline=void 0,this.italics=void 0,this.background=void 0,this.flash=void 0,this.foreground=L||"white",this.underline=O||!1,this.italics=N||!1,this.background=R||"black",this.flash=D||!1}var I=S.prototype;return I.reset=function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1},I.setStyles=function(O){for(var N=["foreground","underline","italics","background","flash"],R=0;R<N.length;R++){var D=N[R];O.hasOwnProperty(D)&&(this[D]=O[D])}},I.isDefault=function(){return this.foreground==="white"&&!this.underline&&!this.italics&&this.background==="black"&&!this.flash},I.equals=function(O){return this.foreground===O.foreground&&this.underline===O.underline&&this.italics===O.italics&&this.background===O.background&&this.flash===O.flash},I.copy=function(O){this.foreground=O.foreground,this.underline=O.underline,this.italics=O.italics,this.background=O.background,this.flash=O.flash},I.toString=function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash},S}(),h=function(){function S(L,O,N,R,D,B){this.uchar=void 0,this.penState=void 0,this.uchar=L||" ",this.penState=new u(O,N,R,D,B)}var I=S.prototype;return I.reset=function(){this.uchar=" ",this.penState.reset()},I.setChar=function(O,N){this.uchar=O,this.penState.copy(N)},I.setPenState=function(O){this.penState.copy(O)},I.equals=function(O){return this.uchar===O.uchar&&this.penState.equals(O.penState)},I.copy=function(O){this.uchar=O.uchar,this.penState.copy(O.penState)},I.isEmpty=function(){return this.uchar===" "&&this.penState.isDefault()},S}(),f=function(){function S(L){this.chars=void 0,this.pos=void 0,this.currPenState=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chars=[];for(var O=0;O<o;O++)this.chars.push(new h);this.logger=L,this.pos=0,this.currPenState=new u}var I=S.prototype;return I.equals=function(O){for(var N=!0,R=0;R<o;R++)if(!this.chars[R].equals(O.chars[R])){N=!1;break}return N},I.copy=function(O){for(var N=0;N<o;N++)this.chars[N].copy(O.chars[N])},I.isEmpty=function(){for(var O=!0,N=0;N<o;N++)if(!this.chars[N].isEmpty()){O=!1;break}return O},I.setCursor=function(O){this.pos!==O&&(this.pos=O),this.pos<0?(this.logger.log(e.DEBUG,"Negative cursor position "+this.pos),this.pos=0):this.pos>o&&(this.logger.log(e.DEBUG,"Too large cursor position "+this.pos),this.pos=o)},I.moveCursor=function(O){var N=this.pos+O;if(O>1)for(var R=this.pos+1;R<N+1;R++)this.chars[R].setPenState(this.currPenState);this.setCursor(N)},I.backSpace=function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)},I.insertChar=function(O){O>=144&&this.backSpace();var N=p(O);if(this.pos>=o){this.logger.log(e.ERROR,"Cannot insert "+O.toString(16)+" ("+N+") at position "+this.pos+". Skipping it!");return}this.chars[this.pos].setChar(N,this.currPenState),this.moveCursor(1)},I.clearFromPos=function(O){var N;for(N=O;N<o;N++)this.chars[N].reset()},I.clear=function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},I.clearToEndOfRow=function(){this.clearFromPos(this.pos)},I.getTextString=function(){for(var O=[],N=!0,R=0;R<o;R++){var D=this.chars[R].uchar;D!==" "&&(N=!1),O.push(D)}return N?"":O.join("")},I.setPenStyles=function(O){this.currPenState.setStyles(O);var N=this.chars[this.pos];N.setPenState(this.currPenState)},S}(),g=function(){function S(L){this.rows=void 0,this.currRow=void 0,this.nrRollUpRows=void 0,this.lastOutputScreen=void 0,this.logger=void 0,this.rows=[];for(var O=0;O<c;O++)this.rows.push(new f(L));this.logger=L,this.currRow=c-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.reset()}var I=S.prototype;return I.reset=function(){for(var O=0;O<c;O++)this.rows[O].clear();this.currRow=c-1},I.equals=function(O){for(var N=!0,R=0;R<c;R++)if(!this.rows[R].equals(O.rows[R])){N=!1;break}return N},I.copy=function(O){for(var N=0;N<c;N++)this.rows[N].copy(O.rows[N])},I.isEmpty=function(){for(var O=!0,N=0;N<c;N++)if(!this.rows[N].isEmpty()){O=!1;break}return O},I.backSpace=function(){var O=this.rows[this.currRow];O.backSpace()},I.clearToEndOfRow=function(){var O=this.rows[this.currRow];O.clearToEndOfRow()},I.insertChar=function(O){var N=this.rows[this.currRow];N.insertChar(O)},I.setPen=function(O){var N=this.rows[this.currRow];N.setPenStyles(O)},I.moveCursor=function(O){var N=this.rows[this.currRow];N.moveCursor(O)},I.setCursor=function(O){this.logger.log(e.INFO,"setCursor: "+O);var N=this.rows[this.currRow];N.setCursor(O)},I.setPAC=function(O){this.logger.log(e.INFO,"pacData = "+JSON.stringify(O));var N=O.row-1;if(this.nrRollUpRows&&N<this.nrRollUpRows-1&&(N=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==N){for(var R=0;R<c;R++)this.rows[R].clear();var D=this.currRow+1-this.nrRollUpRows,B=this.lastOutputScreen;if(B){var M=B.rows[D].cueStartTime,U=this.logger.time;if(M&&U!==null&&M<U)for(var F=0;F<this.nrRollUpRows;F++)this.rows[N-this.nrRollUpRows+F+1].copy(B.rows[D+F])}}this.currRow=N;var j=this.rows[this.currRow];if(O.indent!==null){var W=O.indent,V=Math.max(W-1,0);j.setCursor(O.indent),O.color=j.chars[V].penState.foreground}var z={foreground:O.color,underline:O.underline,italics:O.italics,background:"black",flash:!1};this.setPen(z)},I.setBkgData=function(O){this.logger.log(e.INFO,"bkgData = "+JSON.stringify(O)),this.backSpace(),this.setPen(O),this.insertChar(32)},I.setRollUpRows=function(O){this.nrRollUpRows=O},I.rollUp=function(){if(this.nrRollUpRows===null){this.logger.log(e.DEBUG,"roll_up but nrRollUpRows not set yet");return}this.logger.log(e.TEXT,this.getDisplayText());var O=this.currRow+1-this.nrRollUpRows,N=this.rows.splice(O,1)[0];N.clear(),this.rows.splice(this.currRow,0,N),this.logger.log(e.INFO,"Rolling up")},I.getDisplayText=function(O){O=O||!1;for(var N=[],R="",D=-1,B=0;B<c;B++){var M=this.rows[B].getTextString();M&&(D=B+1,O?N.push("Row "+D+": '"+M+"'"):N.push(M.trim()))}return N.length>0&&(O?R="["+N.join(" | ")+"]":R=N.join(`
`)),R},I.getTextAndFormat=function(){return this.rows},S}(),v=function(){function S(L,O,N){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=L,this.outputFilter=O,this.mode=null,this.verbose=0,this.displayedMemory=new g(N),this.nonDisplayedMemory=new g(N),this.lastOutputScreen=new g(N),this.currRollUpRow=this.displayedMemory.rows[c-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=N}var I=S.prototype;return I.reset=function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[c-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null},I.getHandler=function(){return this.outputFilter},I.setHandler=function(O){this.outputFilter=O},I.setPAC=function(O){this.writeScreen.setPAC(O)},I.setBkgData=function(O){this.writeScreen.setBkgData(O)},I.setMode=function(O){if(O===this.mode)return;this.mode=O,this.logger.log(e.INFO,"MODE="+O),this.mode==="MODE_POP-ON"?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),this.mode!=="MODE_ROLL-UP"&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=O},I.insertChars=function(O){for(var N=0;N<O.length;N++)this.writeScreen.insertChar(O[N]);var R=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(e.INFO,R+": "+this.writeScreen.getDisplayText(!0)),(this.mode==="MODE_PAINT-ON"||this.mode==="MODE_ROLL-UP")&&(this.logger.log(e.TEXT,"DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())},I.ccRCL=function(){this.logger.log(e.INFO,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")},I.ccBS=function(){if(this.logger.log(e.INFO,"BS - BackSpace"),this.mode==="MODE_TEXT")return;this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate()},I.ccAOF=function(){},I.ccAON=function(){},I.ccDER=function(){this.logger.log(e.INFO,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()},I.ccRU=function(O){this.logger.log(e.INFO,"RU("+O+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(O)},I.ccFON=function(){this.logger.log(e.INFO,"FON - Flash On"),this.writeScreen.setPen({flash:!0})},I.ccRDC=function(){this.logger.log(e.INFO,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")},I.ccTR=function(){this.logger.log(e.INFO,"TR"),this.setMode("MODE_TEXT")},I.ccRTD=function(){this.logger.log(e.INFO,"RTD"),this.setMode("MODE_TEXT")},I.ccEDM=function(){this.logger.log(e.INFO,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)},I.ccCR=function(){this.logger.log(e.INFO,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)},I.ccENM=function(){this.logger.log(e.INFO,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()},I.ccEOC=function(){if(this.logger.log(e.INFO,"EOC - End Of Caption"),this.mode==="MODE_POP-ON"){var O=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=O,this.writeScreen=this.nonDisplayedMemory,this.logger.log(e.TEXT,"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)},I.ccTO=function(O){this.logger.log(e.INFO,"TO("+O+") - Tab Offset"),this.writeScreen.moveCursor(O)},I.ccMIDROW=function(O){var N={flash:!1};if(N.underline=O%2===1,N.italics=O>=46,N.italics)N.foreground="white";else{var R=Math.floor(O/2)-16,D=["white","green","blue","cyan","red","yellow","magenta"];N.foreground=D[R]}this.logger.log(e.INFO,"MIDROW: "+JSON.stringify(N)),this.writeScreen.setPen(N)},I.outputDataUpdate=function(O){O===void 0&&(O=!1);var N=this.logger.time;if(N===null)return;this.outputFilter&&(this.cueStartTime===null&&!this.displayedMemory.isEmpty()?this.cueStartTime=N:this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,N,this.lastOutputScreen),O&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:N),this.lastOutputScreen.copy(this.displayedMemory))},I.cueSplitAtTime=function(O){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,O,this.displayedMemory),this.cueStartTime=O))},S}(),y=function(){function S(L,O,N){this.channels=void 0,this.currentChannel=0,this.cmdHistory=void 0,this.logger=void 0;var R=new a;this.channels=[null,new v(L,O,R),new v(L+1,N,R)],this.cmdHistory=w(),this.logger=R}var I=S.prototype;return I.getHandler=function(O){return this.channels[O].getHandler()},I.setHandler=function(O,N){this.channels[O].setHandler(N)},I.addData=function(O,N){var R,D,B,M=!1;this.logger.time=O;for(var U=0;U<N.length;U+=2){if(D=N[U]&127,B=N[U+1]&127,D===0&&B===0)continue;if(this.logger.log(e.DATA,"["+l([N[U],N[U+1]])+"] -> ("+l([D,B])+")"),R=this.parseCmd(D,B),R||(R=this.parseMidrow(D,B)),R||(R=this.parsePAC(D,B)),R||(R=this.parseBackgroundAttributes(D,B)),!R&&(M=this.parseChars(D,B),M)){var F=this.currentChannel;if(F&&F>0){var j=this.channels[F];j.insertChars(M)}else this.logger.log(e.WARNING,"No channel found yet. TEXT-MODE?")}!R&&!M&&this.logger.log(e.WARNING,"Couldn't parse cleaned data "+l([D,B])+" orig: "+l([N[U],N[U+1]]))}},I.parseCmd=function(O,N){var R=this.cmdHistory,D=(O===20||O===28||O===21||O===29)&&N>=32&&N<=47,B=(O===23||O===31)&&N>=33&&N<=35;if(!(D||B))return!1;if(T(O,N,R))return E(null,null,R),this.logger.log(e.DEBUG,"Repeated command ("+l([O,N])+") is dropped"),!0;var M=O===20||O===21||O===23?1:2,U=this.channels[M];return O===20||O===21||O===28||O===29?N===32?U.ccRCL():N===33?U.ccBS():N===34?U.ccAOF():N===35?U.ccAON():N===36?U.ccDER():N===37?U.ccRU(2):N===38?U.ccRU(3):N===39?U.ccRU(4):N===40?U.ccFON():N===41?U.ccRDC():N===42?U.ccTR():N===43?U.ccRTD():N===44?U.ccEDM():N===45?U.ccCR():N===46?U.ccENM():N===47&&U.ccEOC():U.ccTO(N-32),E(O,N,R),this.currentChannel=M,!0},I.parseMidrow=function(O,N){var R=0;if((O===17||O===25)&&N>=32&&N<=47){if(O===17?R=1:R=2,R!==this.currentChannel)return this.logger.log(e.ERROR,"Mismatch channel in midrow parsing"),!1;var D=this.channels[R];return D?(D.ccMIDROW(N),this.logger.log(e.DEBUG,"MIDROW ("+l([O,N])+")"),!0):!1}return!1},I.parsePAC=function(O,N){var R,D=this.cmdHistory,B=(O>=17&&O<=23||O>=25&&O<=31)&&N>=64&&N<=127,M=(O===16||O===24)&&N>=64&&N<=95;if(!(B||M))return!1;if(T(O,N,D))return E(null,null,D),!0;var U=O<=23?1:2;N>=64&&N<=95?R=U===1?r[O]:n[O]:R=U===1?i[O]:t[O];var F=this.channels[U];return F?(F.setPAC(this.interpretPAC(R,N)),E(O,N,D),this.currentChannel=U,!0):!1},I.interpretPAC=function(O,N){var R,D={color:null,italics:!1,indent:null,underline:!1,row:O};return N>95?R=N-96:R=N-64,D.underline=(R&1)===1,R<=13?D.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(R/2)]:R<=15?(D.italics=!0,D.color="white"):D.indent=Math.floor((R-16)/2)*4,D},I.parseChars=function(O,N){var R,D=null,B=null;if(O>=25?(R=2,B=O-8):(R=1,B=O),B>=17&&B<=19){var M;B===17?M=N+80:B===18?M=N+112:M=N+144,this.logger.log(e.INFO,"Special char '"+p(M)+"' in channel "+R),D=[M]}else O>=32&&O<=127&&(D=N===0?[O]:[O,N]);if(D){var U=l(D);this.logger.log(e.DEBUG,"Char codes = "+U.join(",")),E(O,N,this.cmdHistory)}return D},I.parseBackgroundAttributes=function(O,N){var R=(O===16||O===24)&&N>=32&&N<=47,D=(O===23||O===31)&&N>=45&&N<=47;if(!(R||D))return!1;var B,M={};O===16||O===24?(B=Math.floor((N-32)/2),M.background=s[B],N%2===1&&(M.background=M.background+"_semi")):N===45?M.background="transparent":(M.foreground="black",N===47&&(M.underline=!0));var U=O<=23?1:2,F=this.channels[U];return F.setBkgData(M),E(O,N,this.cmdHistory),!0},I.reset=function(){for(var O=0;O<Object.keys(this.channels).length;O++){var N=this.channels[O];N&&N.reset()}this.cmdHistory=w()},I.cueSplitAtTime=function(O){for(var N=0;N<this.channels.length;N++){var R=this.channels[N];R&&R.cueSplitAtTime(O)}},S}();function E(S,I,L){L.a=S,L.b=I}function T(S,I,L){return L.a===S&&L.b===I}function w(){return{a:null,b:null}}C.default=y},"./src/utils/codecs.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"isCodecType",function(){return m}),A.d(C,"isCodecSupportedInMp4",function(){return p});var b={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,av01:!0,drac:!0,dvav:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0},text:{stpp:!0,wvtt:!0}};function m(c,o){var r=b[o];return!!r&&r[c.slice(0,4)]===!0}function p(c,o){return MediaSource.isTypeSupported((o||"video")+'/mp4;codecs="'+c+'"')}},"./src/utils/cues.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/utils/vttparser.ts"),m=A("./src/utils/webvtt-parser.ts"),p=A("./src/utils/texttrack-utils.ts"),c=/\s/,o={newCue:function(i,n,t,s){for(var e=[],a,l,u,h,f,g=self.VTTCue||self.TextTrackCue,v=0;v<s.rows.length;v++)if(a=s.rows[v],u=!0,h=0,f="",!a.isEmpty()){for(var y=0;y<a.chars.length;y++)c.test(a.chars[y].uchar)&&u?h++:(f+=a.chars[y].uchar,u=!1);a.cueStartTime=n,n===t&&(t+=1e-4),h>=16?h--:h++;var E=Object(b.fixLineBreaks)(f.trim()),T=Object(m.generateCueId)(n,t,E);(!i||!i.cues||!i.cues.getCueById(T))&&(l=new g(n,t,E),l.id=T,l.line=v+1,l.align="left",l.position=10+Math.min(80,Math.floor(h*8/32)*10),e.push(l))}return i&&e.length&&(e.sort(function(w,S){return w.line==="auto"||S.line==="auto"?0:w.line>8&&S.line>8?S.line-w.line:w.line-S.line}),e.forEach(function(w){return Object(p.addCueToTrack)(i,w)})),e}};C.default=o},"./src/utils/discontinuities.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"findFirstFragWithCC",function(){return c}),A.d(C,"shouldAlignOnDiscontinuities",function(){return o}),A.d(C,"findDiscontinuousReferenceFrag",function(){return r}),A.d(C,"adjustSlidingStart",function(){return n}),A.d(C,"alignStream",function(){return t}),A.d(C,"alignPDT",function(){return e}),A.d(C,"alignFragmentByPDTDelta",function(){return a}),A.d(C,"alignMediaPlaylistByPDT",function(){return l});var b=A("./src/polyfills/number.ts"),m=A("./src/utils/logger.ts"),p=A("./src/controller/level-helper.ts");function c(u,h){for(var f=null,g=0,v=u.length;g<v;g++){var y=u[g];if(y&&y.cc===h){f=y;break}}return f}function o(u,h,f){return!!(h.details&&(f.endCC>f.startCC||u&&u.cc<f.startCC))}function r(u,h){var f=u.fragments,g=h.fragments;if(!g.length||!f.length){m.logger.log("No fragments to align");return}var v=c(f,g[0].cc);if(!v||v&&!v.startPTS){m.logger.log("No frag in previous level to align on");return}return v}function i(u,h){if(u){var f=u.start+h;u.start=u.startPTS=f,u.endPTS=f+u.duration}}function n(u,h){for(var f=h.fragments,g=0,v=f.length;g<v;g++)i(f[g],u);h.fragmentHint&&i(h.fragmentHint,u),h.alignedSliding=!0}function t(u,h,f){if(!h)return;s(u,f,h),!f.alignedSliding&&h.details&&e(f,h.details),!f.alignedSliding&&h.details&&!f.skippedSegments&&Object(p.adjustSliding)(h.details,f)}function s(u,h,f){if(o(u,f,h)){var g=r(f.details,h);g&&Object(b.isFiniteNumber)(g.start)&&(m.logger.log("Adjusting PTS using last level due to CC increase within current level "+h.url),n(g.start,h))}}function e(u,h){if(!h.fragments.length||!u.hasProgramDateTime||!h.hasProgramDateTime)return;var f=h.fragments[0].programDateTime,g=u.fragments[0].programDateTime,v=(g-f)/1e3+h.fragments[0].start;v&&Object(b.isFiniteNumber)(v)&&(m.logger.log("Adjusting PTS using programDateTime delta "+(g-f)+"ms, sliding:"+v.toFixed(3)+" "+u.url+" "),n(v,u))}function a(u,h){var f=u.programDateTime;if(!f)return;var g=(f-h)/1e3;u.start=u.startPTS=g,u.endPTS=g+u.duration}function l(u,h){if(!h.fragments.length||!u.hasProgramDateTime||!h.hasProgramDateTime)return;var f=h.fragments[0].programDateTime,g=h.fragments[0].start,v=f-g*1e3;u.fragments.forEach(function(y){a(y,v)}),u.fragmentHint&&a(u.fragmentHint,v),u.alignedSliding=!0}},"./src/utils/ewma-bandwidth-estimator.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/utils/ewma.ts"),m=function(){function p(o,r,i){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultEstimate_=i,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new b.default(o),this.fast_=new b.default(r)}var c=p.prototype;return c.update=function(r,i){var n=this.slow_,t=this.fast_;this.slow_.halfLife!==r&&(this.slow_=new b.default(r,n.getEstimate(),n.getTotalWeight())),this.fast_.halfLife!==i&&(this.fast_=new b.default(i,t.getEstimate(),t.getTotalWeight()))},c.sample=function(r,i){r=Math.max(r,this.minDelayMs_);var n=8*i,t=r/1e3,s=n/t;this.fast_.sample(t,s),this.slow_.sample(t,s)},c.canEstimate=function(){var r=this.fast_;return r&&r.getTotalWeight()>=this.minWeight_},c.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},c.destroy=function(){},p}();C.default=m},"./src/utils/ewma.ts":function(x,C,A){"use strict";A.r(C);var b=function(){function m(c,o,r){o===void 0&&(o=0),r===void 0&&(r=0),this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=c,this.alpha_=c?Math.exp(Math.log(.5)/c):0,this.estimate_=o,this.totalWeight_=r}var p=m.prototype;return p.sample=function(o,r){var i=Math.pow(this.alpha_,o);this.estimate_=r*(1-i)+i*this.estimate_,this.totalWeight_+=o},p.getTotalWeight=function(){return this.totalWeight_},p.getEstimate=function(){if(this.alpha_){var o=1-Math.pow(this.alpha_,this.totalWeight_);if(o)return this.estimate_/o}return this.estimate_},m}();C.default=b},"./src/utils/fetch-loader.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"fetchSupported",function(){return a});var b=A("./src/polyfills/number.ts"),m=A("./src/loader/load-stats.ts"),p=A("./src/demux/chunk-cache.ts");function c(g,v){g.prototype=Object.create(v.prototype),g.prototype.constructor=g,t(g,v)}function o(g){var v=typeof Map=="function"?new Map:void 0;return o=function(E){if(E===null||!n(E))return E;if(typeof E!="function")throw new TypeError("Super expression must either be null or a function");if(typeof v!="undefined"){if(v.has(E))return v.get(E);v.set(E,T)}function T(){return r(E,arguments,s(this).constructor)}return T.prototype=Object.create(E.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),t(T,E)},o(g)}function r(g,v,y){return i()?r=Reflect.construct:r=function(T,w,S){var I=[null];I.push.apply(I,w);var L=Function.bind.apply(T,I),O=new L;return S&&t(O,S.prototype),O},r.apply(null,arguments)}function i(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(g){return!1}}function n(g){return Function.toString.call(g).indexOf("[native code]")!==-1}function t(g,v){return t=Object.setPrototypeOf||function(E,T){return E.__proto__=T,E},t(g,v)}function s(g){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},s(g)}function e(){return e=Object.assign||function(g){for(var v=1;v<arguments.length;v++){var y=arguments[v];for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&(g[E]=y[E])}return g},e.apply(this,arguments)}function a(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(g){}return!1}var l=function(){function g(y){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=void 0,this.response=void 0,this.controller=void 0,this.context=void 0,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=y.fetchSetup||h,this.controller=new self.AbortController,this.stats=new m.LoadStats}var v=g.prototype;return v.destroy=function(){this.loader=this.callbacks=null,this.abortInternal()},v.abortInternal=function(){var E=this.response;(!E||!E.ok)&&(this.stats.aborted=!0,this.controller.abort())},v.abort=function(){var E;this.abortInternal(),(E=this.callbacks)!==null&&E!==void 0&&E.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)},v.load=function(E,T,w){var S=this,I=this.stats;if(I.loading.start)throw new Error("Loader can only be used once.");I.loading.start=self.performance.now();var L=u(E,this.controller.signal),O=w.onProgress,N=E.responseType==="arraybuffer",R=N?"byteLength":"length";this.context=E,this.config=T,this.callbacks=w,this.request=this.fetchSetup(E,L),self.clearTimeout(this.requestTimeout),this.requestTimeout=self.setTimeout(function(){S.abortInternal(),w.onTimeout(I,E,S.response)},T.timeout),self.fetch(this.request).then(function(D){if(S.response=S.loader=D,!D.ok){var B=D.status,M=D.statusText;throw new f(M||"fetch, bad network response",B,D)}return I.loading.first=Math.max(self.performance.now(),I.loading.start),I.total=parseInt(D.headers.get("Content-Length")||"0"),O&&Object(b.isFiniteNumber)(T.highWaterMark)?S.loadProgressively(D,I,E,T.highWaterMark,O):N?D.arrayBuffer():D.text()}).then(function(D){var B=S.response;self.clearTimeout(S.requestTimeout),I.loading.end=Math.max(self.performance.now(),I.loading.first),I.loaded=I.total=D[R];var M={url:B.url,data:D};O&&!Object(b.isFiniteNumber)(T.highWaterMark)&&O(I,E,D,B),w.onSuccess(M,I,E,B)}).catch(function(D){if(self.clearTimeout(S.requestTimeout),I.aborted)return;var B=D.code||0;w.onError({code:B,text:D.message},E,D.details)})},v.getCacheAge=function(){var E=null;if(this.response){var T=this.response.headers.get("age");E=T?parseFloat(T):null}return E},v.loadProgressively=function(E,T,w,S,I){S===void 0&&(S=0);var L=new p.default,O=E.body.getReader(),N=function R(){return O.read().then(function(D){if(D.done)return L.dataLength&&I(T,w,L.flush(),E),Promise.resolve(new ArrayBuffer(0));var B=D.value,M=B.length;return T.loaded+=M,M<S||L.dataLength?(L.push(B),L.dataLength>=S&&I(T,w,L.flush(),E)):I(T,w,B,E),R()}).catch(function(){return Promise.reject()})};return N()},g}();function u(g,v){var y={method:"GET",mode:"cors",credentials:"same-origin",signal:v,headers:new self.Headers(e({},g.headers))};return g.rangeEnd&&y.headers.set("Range","bytes="+g.rangeStart+"-"+String(g.rangeEnd-1)),y}function h(g,v){return new self.Request(g.url,v)}var f=function(g){c(v,g);function v(y,E,T){var w;return w=g.call(this,y)||this,w.code=void 0,w.details=void 0,w.code=E,w.details=T,w}return v}(o(Error));C.default=l},"./src/utils/imsc1-ttml-parser.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"IMSC1_CODEC",function(){return n}),A.d(C,"parseIMSC1",function(){return a});var b=A("./src/utils/mp4-tools.ts"),m=A("./src/utils/vttparser.ts"),p=A("./src/utils/vttcue.ts"),c=A("./src/demux/id3.ts"),o=A("./src/utils/timescale-conversion.ts"),r=A("./src/utils/webvtt-parser.ts");function i(){return i=Object.assign||function(S){for(var I=1;I<arguments.length;I++){var L=arguments[I];for(var O in L)Object.prototype.hasOwnProperty.call(L,O)&&(S[O]=L[O])}return S},i.apply(this,arguments)}var n="stpp.ttml.im1t",t=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,s=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,e={left:"start",center:"center",right:"end",start:"start",end:"end"};function a(S,I,L,O,N){var R=Object(b.findBox)(new Uint8Array(S),["mdat"]);if(R.length===0){N(new Error("Could not parse IMSC1 mdat"));return}var D=R[0],B=Object(c.utf8ArrayToStr)(new Uint8Array(S,D.start,D.end-D.start)),M=Object(o.toTimescaleFromScale)(I,1,L);try{O(l(B,M))}catch(U){N(U)}}function l(S,I){var L=new DOMParser,O=L.parseFromString(S,"text/xml"),N=O.getElementsByTagName("tt")[0];if(!N)throw new Error("Invalid ttml");var R={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},D=Object.keys(R).reduce(function(j,W){return j[W]=N.getAttribute("ttp:"+W)||R[W],j},{}),B=N.getAttribute("xml:space")!=="preserve",M=h(u(N,"styling","style")),U=h(u(N,"layout","region")),F=u(N,"body","[begin]");return[].map.call(F,function(j){var W=f(j,B);if(!W||!j.hasAttribute("begin"))return null;var V=E(j.getAttribute("begin"),D),z=E(j.getAttribute("dur"),D),Y=E(j.getAttribute("end"),D);if(V===null)throw y(j);if(Y===null){if(z===null)throw y(j);Y=V+z}var J=new p.default(V-I,Y-I,W);J.id=Object(r.generateCueId)(J.startTime,J.endTime,J.text);var ie=U[j.getAttribute("region")],Z=M[j.getAttribute("style")];J.position=10,J.size=80;var oe=g(ie,Z),ge=oe.textAlign;if(ge){var pe=e[ge];pe&&(J.lineAlign=pe),J.align=ge}return i(J,oe),J}).filter(function(j){return j!==null})}function u(S,I,L){var O=S.getElementsByTagName(I)[0];return O?[].slice.call(O.querySelectorAll(L)):[]}function h(S){return S.reduce(function(I,L){var O=L.getAttribute("xml:id");return O&&(I[O]=L),I},{})}function f(S,I){return[].slice.call(S.childNodes).reduce(function(L,O,N){var R;return O.nodeName==="br"&&N?L+`
`:(R=O.childNodes)!==null&&R!==void 0&&R.length?f(O,I):I?L+O.textContent.trim().replace(/\s+/g," "):L+O.textContent},"")}function g(S,I){var L="http://www.w3.org/ns/ttml#styling",O=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"];return O.reduce(function(N,R){var D=v(I,L,R)||v(S,L,R);return D&&(N[R]=D),N},{})}function v(S,I,L){return S.hasAttributeNS(I,L)?S.getAttributeNS(I,L):null}function y(S){return new Error("Could not parse ttml timestamp "+S)}function E(S,I){if(!S)return null;var L=Object(m.parseTimeStamp)(S);return L===null&&(t.test(S)?L=T(S,I):s.test(S)&&(L=w(S,I))),L}function T(S,I){var L=t.exec(S),O=(L[4]|0)+(L[5]|0)/I.subFrameRate;return(L[1]|0)*3600+(L[2]|0)*60+(L[3]|0)+O/I.frameRate}function w(S,I){var L=s.exec(S),O=Number(L[1]),N=L[2];switch(N){case"h":return O*3600;case"m":return O*60;case"ms":return O*1e3;case"f":return O/I.frameRate;case"t":return O/I.tickRate}return O}},"./src/utils/logger.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"enableLogs",function(){return r}),A.d(C,"logger",function(){return i});var b=function(){},m={trace:b,debug:b,log:b,warn:b,info:b,error:b},p=m;function c(n){var t=self.console[n];return t?t.bind(self.console,"["+n+"] >"):b}function o(n){for(var t=arguments.length,s=new Array(t>1?t-1:0),e=1;e<t;e++)s[e-1]=arguments[e];s.forEach(function(a){p[a]=n[a]?n[a].bind(n):c(a)})}function r(n){if(self.console&&n===!0||typeof n=="object"){o(n,"debug","log","info","warn","error");try{p.log()}catch(t){p=m}}else p=m}var i=p},"./src/utils/mediakeys-helper.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"KeySystems",function(){return b}),A.d(C,"requestMediaKeySystemAccess",function(){return m});var b;(function(p){p.WIDEVINE="com.widevine.alpha",p.PLAYREADY="com.microsoft.playready"})(b||(b={}));var m=function(){return typeof self!="undefined"&&self.navigator&&self.navigator.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}()},"./src/utils/mediasource-helper.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"getMediaSource",function(){return b});function b(){return self.MediaSource||self.WebKitMediaSource}},"./src/utils/mp4-tools.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"bin2str",function(){return o}),A.d(C,"readUint16",function(){return r}),A.d(C,"readUint32",function(){return i}),A.d(C,"writeUint32",function(){return n}),A.d(C,"findBox",function(){return t}),A.d(C,"parseSegmentIndex",function(){return s}),A.d(C,"parseInitSegment",function(){return e}),A.d(C,"getStartDTS",function(){return a}),A.d(C,"getDuration",function(){return l}),A.d(C,"computeRawDurationFromSamples",function(){return u}),A.d(C,"offsetStartDTS",function(){return h}),A.d(C,"segmentValidRange",function(){return f}),A.d(C,"appendUint8Array",function(){return g});var b=A("./src/utils/typed-array.ts"),m=A("./src/loader/fragment.ts"),p=Math.pow(2,32)-1,c=[].push;function o(v){return String.fromCharCode.apply(null,v)}function r(v,y){"data"in v&&(y+=v.start,v=v.data);var E=v[y]<<8|v[y+1];return E<0?65536+E:E}function i(v,y){"data"in v&&(y+=v.start,v=v.data);var E=v[y]<<24|v[y+1]<<16|v[y+2]<<8|v[y+3];return E<0?4294967296+E:E}function n(v,y,E){"data"in v&&(y+=v.start,v=v.data),v[y]=E>>24,v[y+1]=E>>16&255,v[y+2]=E>>8&255,v[y+3]=E&255}function t(v,y){var E=[];if(!y.length)return E;var T,w,S;"data"in v?(T=v.data,w=v.start,S=v.end):(T=v,w=0,S=T.byteLength);for(var I=w;I<S;){var L=i(T,I),O=o(T.subarray(I+4,I+8)),N=L>1?I+L:S;if(O===y[0])if(y.length===1)E.push({data:T,start:I+8,end:N});else{var R=t({data:T,start:I+8,end:N},y.slice(1));R.length&&c.apply(E,R)}I=N}return E}function s(v){var y=t(v,["moov"]),E=y[0],T=E?E.end:null,w=t(v,["sidx"]);if(!w||!w[0])return null;var S=[],I=w[0],L=I.data[0],O=L===0?8:16,N=i(I,O);O+=4;var R=0,D=0;L===0?O+=8:O+=16,O+=2;var B=I.end+D,M=r(I,O);O+=2;for(var U=0;U<M;U++){var F=O,j=i(I,F);F+=4;var W=j&2147483647,V=(j&2147483648)>>>31;if(V===1)return console.warn("SIDX has hierarchical references (not supported)"),null;var z=i(I,F);F+=4,S.push({referenceSize:W,subsegmentDuration:z,info:{duration:z/N,start:B,end:B+W-1}}),B+=W,F+=4,O=F}return{earliestPresentationTime:R,timescale:N,version:L,referencesCount:M,references:S,moovEndOffset:T}}function e(v){for(var y=[],E=t(v,["moov","trak"]),T=0;T<E.length;T++){var w=E[T],S=t(w,["tkhd"])[0];if(S){var I=S.data[S.start],L=I===0?12:20,O=i(S,L),N=t(w,["mdia","mdhd"])[0];if(N){I=N.data[N.start],L=I===0?12:20;var R=i(N,L),D=t(w,["mdia","hdlr"])[0];if(D){var B=o(D.data.subarray(D.start+8,D.start+12)),M={soun:m.ElementaryStreamTypes.AUDIO,vide:m.ElementaryStreamTypes.VIDEO}[B];if(M){var U=t(w,["mdia","minf","stbl","stsd"])[0],F=void 0;U&&(F=o(U.data.subarray(U.start+12,U.start+16))),y[O]={timescale:R,type:M},y[M]={timescale:R,id:O,codec:F}}}}}}var j=t(v,["moov","mvex","trex"]);return j.forEach(function(W){var V=i(W,4),z=y[V];z&&(z.default={duration:i(W,12),flags:i(W,20)})}),y}function a(v,y){return t(y,["moof","traf"]).reduce(function(E,T){var w=t(T,["tfdt"])[0],S=w.data[w.start],I=t(T,["tfhd"]).reduce(function(L,O){var N=i(O,4),R=v[N];if(R){var D=i(w,4);S===1&&(D*=Math.pow(2,32),D+=i(w,8));var B=R.timescale||9e4,M=D/B;if(isFinite(M)&&(L===null||M<L))return M}return L},null);return I!==null&&isFinite(I)&&(E===null||I<E)?I:E},null)||0}function l(v,y){for(var E=0,T=0,w=0,S=t(v,["moof","traf"]),I=0;I<S.length;I++){var L=S[I],O=t(L,["tfhd"])[0],N=i(O,4),R=y[N];if(!R)continue;var D=R.default,B=i(O,0)|(D==null?void 0:D.flags),M=D==null?void 0:D.duration;B&8&&(B&2?M=i(O,12):M=i(O,8));for(var U=R.timescale||9e4,F=t(L,["trun"]),j=0;j<F.length;j++){if(E=u(F[j]),!E&&M){var W=i(F[j],4);E=M*W}R.type===m.ElementaryStreamTypes.VIDEO?T+=E/U:R.type===m.ElementaryStreamTypes.AUDIO&&(w+=E/U)}}if(T===0&&w===0){var V=s(v);if(V!=null&&V.references)return V.references.reduce(function(z,Y){return z+Y.info.duration||0},0)}return T||w}function u(v){var y=i(v,0),E=8;y&1&&(E+=4),y&4&&(E+=4);for(var T=0,w=i(v,4),S=0;S<w;S++){if(y&256){var I=i(v,E);T+=I,E+=4}y&512&&(E+=4),y&1024&&(E+=4),y&2048&&(E+=4)}return T}function h(v,y,E){t(y,["moof","traf"]).forEach(function(T){t(T,["tfhd"]).forEach(function(w){var S=i(w,4),I=v[S];if(!I)return;var L=I.timescale||9e4;t(T,["tfdt"]).forEach(function(O){var N=O.data[O.start],R=i(O,4);if(N===0)n(O,4,R-E*L);else{R*=Math.pow(2,32),R+=i(O,8),R-=E*L,R=Math.max(R,0);var D=Math.floor(R/(p+1)),B=Math.floor(R%(p+1));n(O,4,D),n(O,8,B)}})})})}function f(v){var y={valid:null,remainder:null},E=t(v,["moof"]);if(E){if(E.length<2)return y.remainder=v,y}else return y;var T=E[E.length-1];return y.valid=Object(b.sliceUint8)(v,0,T.start-8),y.remainder=Object(b.sliceUint8)(v,T.start-8),y}function g(v,y){var E=new Uint8Array(v.length+y.length);return E.set(v),E.set(y,v.length),E}},"./src/utils/output-filter.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"default",function(){return b});var b=function(){function m(c,o){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=c,this.trackName=o}var p=m.prototype;return p.dispatchCue=function(){if(this.startTime===null)return;this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null},p.newCue=function(o,r,i){(this.startTime===null||this.startTime>o)&&(this.startTime=o),this.endTime=r,this.screen=i,this.timelineController.createCaptionsTrack(this.trackName)},p.reset=function(){this.cueRanges=[],this.startTime=null},m}()},"./src/utils/texttrack-utils.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"sendAddTrackEvent",function(){return m}),A.d(C,"addCueToTrack",function(){return p}),A.d(C,"clearCurrentCues",function(){return c}),A.d(C,"removeCuesInRange",function(){return o}),A.d(C,"getCuesInRange",function(){return i});var b=A("./src/utils/logger.ts");function m(n,t){var s;try{s=new Event("addtrack")}catch(e){s=document.createEvent("Event"),s.initEvent("addtrack",!1,!1)}s.track=n,t.dispatchEvent(s)}function p(n,t){var s=n.mode;if(s==="disabled"&&(n.mode="hidden"),n.cues&&!n.cues.getCueById(t.id))try{if(n.addCue(t),!n.cues.getCueById(t.id))throw new Error("addCue is failed for: "+t)}catch(a){b.logger.debug("[texttrack-utils]: "+a);var e=new self.TextTrackCue(t.startTime,t.endTime,t.text);e.id=t.id,n.addCue(e)}s==="disabled"&&(n.mode=s)}function c(n){var t=n.mode;if(t==="disabled"&&(n.mode="hidden"),n.cues)for(var s=n.cues.length;s--;)n.removeCue(n.cues[s]);t==="disabled"&&(n.mode=t)}function o(n,t,s){var e=n.mode;if(e==="disabled"&&(n.mode="hidden"),n.cues&&n.cues.length>0)for(var a=i(n.cues,t,s),l=0;l<a.length;l++)n.removeCue(a[l]);e==="disabled"&&(n.mode=e)}function r(n,t){if(t<n[0].startTime)return 0;var s=n.length-1;if(t>n[s].endTime)return-1;for(var e=0,a=s;e<=a;){var l=Math.floor((a+e)/2);if(t<n[l].startTime)a=l-1;else if(t>n[l].startTime&&e<s)e=l+1;else return l}return n[e].startTime-t<t-n[a].startTime?e:a}function i(n,t,s){var e=[],a=r(n,t);if(a>-1)for(var l=a,u=n.length;l<u;l++){var h=n[l];if(h.startTime>=t&&h.endTime<=s)e.push(h);else if(h.startTime>s)return e}return e}},"./src/utils/time-ranges.ts":function(x,C,A){"use strict";A.r(C);var b={toString:function(p){for(var c="",o=p.length,r=0;r<o;r++)c+="["+p.start(r).toFixed(3)+","+p.end(r).toFixed(3)+"]";return c}};C.default=b},"./src/utils/timescale-conversion.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"toTimescaleFromBase",function(){return m}),A.d(C,"toTimescaleFromScale",function(){return p}),A.d(C,"toMsFromMpegTsClock",function(){return c}),A.d(C,"toMpegTsClockFromTimescale",function(){return o});var b=9e4;function m(r,i,n,t){n===void 0&&(n=1),t===void 0&&(t=!1);var s=r*i*n;return t?Math.round(s):s}function p(r,i,n,t){return n===void 0&&(n=1),t===void 0&&(t=!1),m(r,i,1/n,t)}function c(r,i){return i===void 0&&(i=!1),m(r,1e3,1/b,i)}function o(r,i){return i===void 0&&(i=1),m(r,b,1/i)}},"./src/utils/typed-array.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"sliceUint8",function(){return b});function b(m,p,c){return Uint8Array.prototype.slice?m.slice(p,c):new Uint8Array(Array.prototype.slice.call(m,p,c))}},"./src/utils/vttcue.ts":function(x,C,A){"use strict";A.r(C),C.default=function(){if(typeof self!="undefined"&&self.VTTCue)return self.VTTCue;var b=["","lr","rl"],m=["start","middle","end","left","right"];function p(n,t){if(typeof t!="string")return!1;if(!Array.isArray(n))return!1;var s=t.toLowerCase();return~n.indexOf(s)?s:!1}function c(n){return p(b,n)}function o(n){return p(m,n)}function r(n){for(var t=arguments.length,s=new Array(t>1?t-1:0),e=1;e<t;e++)s[e-1]=arguments[e];for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var u in l)n[u]=l[u]}return n}function i(n,t,s){var e=this,a={enumerable:!0};e.hasBeenReset=!1;var l="",u=!1,h=n,f=t,g=s,v=null,y="",E=!0,T="auto",w="start",S=50,I="middle",L=50,O="middle";Object.defineProperty(e,"id",r({},a,{get:function(){return l},set:function(R){l=""+R}})),Object.defineProperty(e,"pauseOnExit",r({},a,{get:function(){return u},set:function(R){u=!!R}})),Object.defineProperty(e,"startTime",r({},a,{get:function(){return h},set:function(R){if(typeof R!="number")throw new TypeError("Start time must be set to a number.");h=R,this.hasBeenReset=!0}})),Object.defineProperty(e,"endTime",r({},a,{get:function(){return f},set:function(R){if(typeof R!="number")throw new TypeError("End time must be set to a number.");f=R,this.hasBeenReset=!0}})),Object.defineProperty(e,"text",r({},a,{get:function(){return g},set:function(R){g=""+R,this.hasBeenReset=!0}})),Object.defineProperty(e,"region",r({},a,{get:function(){return v},set:function(R){v=R,this.hasBeenReset=!0}})),Object.defineProperty(e,"vertical",r({},a,{get:function(){return y},set:function(R){var D=c(R);if(D===!1)throw new SyntaxError("An invalid or illegal string was specified.");y=D,this.hasBeenReset=!0}})),Object.defineProperty(e,"snapToLines",r({},a,{get:function(){return E},set:function(R){E=!!R,this.hasBeenReset=!0}})),Object.defineProperty(e,"line",r({},a,{get:function(){return T},set:function(R){if(typeof R!="number"&&R!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");T=R,this.hasBeenReset=!0}})),Object.defineProperty(e,"lineAlign",r({},a,{get:function(){return w},set:function(R){var D=o(R);if(!D)throw new SyntaxError("An invalid or illegal string was specified.");w=D,this.hasBeenReset=!0}})),Object.defineProperty(e,"position",r({},a,{get:function(){return S},set:function(R){if(R<0||R>100)throw new Error("Position must be between 0 and 100.");S=R,this.hasBeenReset=!0}})),Object.defineProperty(e,"positionAlign",r({},a,{get:function(){return I},set:function(R){var D=o(R);if(!D)throw new SyntaxError("An invalid or illegal string was specified.");I=D,this.hasBeenReset=!0}})),Object.defineProperty(e,"size",r({},a,{get:function(){return L},set:function(R){if(R<0||R>100)throw new Error("Size must be between 0 and 100.");L=R,this.hasBeenReset=!0}})),Object.defineProperty(e,"align",r({},a,{get:function(){return O},set:function(R){var D=o(R);if(!D)throw new SyntaxError("An invalid or illegal string was specified.");O=D,this.hasBeenReset=!0}})),e.displayState=void 0}return i.prototype.getCueAsHTML=function(){var n=self.WebVTT;return n.convertCueToDOMTree(self,this.text)},i}()},"./src/utils/vttparser.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"parseTimeStamp",function(){return p}),A.d(C,"fixLineBreaks",function(){return t}),A.d(C,"VTTParser",function(){return s});var b=A("./src/utils/vttcue.ts"),m=function(){function e(){}var a=e.prototype;return a.decode=function(u,h){if(!u)return"";if(typeof u!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(u))},e}();function p(e){function a(u,h,f,g){return(u|0)*3600+(h|0)*60+(f|0)+parseFloat(g||0)}var l=e.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return l?parseFloat(l[2])>59?a(l[2],l[3],0,l[4]):a(l[1],l[2],l[3],l[4]):null}var c=function(){function e(){this.values=Object.create(null)}var a=e.prototype;return a.set=function(u,h){!this.get(u)&&h!==""&&(this.values[u]=h)},a.get=function(u,h,f){return f?this.has(u)?this.values[u]:h[f]:this.has(u)?this.values[u]:h},a.has=function(u){return u in this.values},a.alt=function(u,h,f){for(var g=0;g<f.length;++g)if(h===f[g]){this.set(u,h);break}},a.integer=function(u,h){/^-?\d+$/.test(h)&&this.set(u,parseInt(h,10))},a.percent=function(u,h){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(h)){var f=parseFloat(h);if(f>=0&&f<=100)return this.set(u,f),!0}return!1},e}();function o(e,a,l,u){var h=u?e.split(u):[e];for(var f in h){if(typeof h[f]!="string")continue;var g=h[f].split(l);if(g.length!==2)continue;var v=g[0],y=g[1];a(v,y)}}var r=new b.default(0,0,""),i=r.align==="middle"?"middle":"center";function n(e,a,l){var u=e;function h(){var v=p(e);if(v===null)throw new Error("Malformed timestamp: "+u);return e=e.replace(/^[^\sa-zA-Z-]+/,""),v}function f(v,y){var E=new c;o(v,function(S,I){var L;switch(S){case"region":for(var O=l.length-1;O>=0;O--)if(l[O].id===I){E.set(S,l[O].region);break}break;case"vertical":E.alt(S,I,["rl","lr"]);break;case"line":L=I.split(","),E.integer(S,L[0]),E.percent(S,L[0])&&E.set("snapToLines",!1),E.alt(S,L[0],["auto"]),L.length===2&&E.alt("lineAlign",L[1],["start",i,"end"]);break;case"position":L=I.split(","),E.percent(S,L[0]),L.length===2&&E.alt("positionAlign",L[1],["start",i,"end","line-left","line-right","auto"]);break;case"size":E.percent(S,I);break;case"align":E.alt(S,I,["start",i,"end","left","right"]);break}},/:/,/\s/),y.region=E.get("region",null),y.vertical=E.get("vertical","");var T=E.get("line","auto");T==="auto"&&r.line===-1&&(T=-1),y.line=T,y.lineAlign=E.get("lineAlign","start"),y.snapToLines=E.get("snapToLines",!0),y.size=E.get("size",100),y.align=E.get("align",i);var w=E.get("position","auto");w==="auto"&&r.position===50&&(w=y.align==="start"||y.align==="left"?0:y.align==="end"||y.align==="right"?100:50),y.position=w}function g(){e=e.replace(/^\s+/,"")}if(g(),a.startTime=h(),g(),e.substr(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+u);e=e.substr(3),g(),a.endTime=h(),g(),f(e,a)}function t(e){return e.replace(/<br(?: \/)?>/gi,`
`)}var s=function(){function e(){this.state="INITIAL",this.buffer="",this.decoder=new m,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}var a=e.prototype;return a.parse=function(u){var h=this;u&&(h.buffer+=h.decoder.decode(u,{stream:!0}));function f(){var w=h.buffer,S=0;for(w=t(w);S<w.length&&w[S]!=="\r"&&w[S]!==`
`;)++S;var I=w.substr(0,S);return w[S]==="\r"&&++S,w[S]===`
`&&++S,h.buffer=w.substr(S),I}function g(w){o(w,function(S,I){},/:/)}try{var v="";if(h.state==="INITIAL"){if(!/\r\n|\n/.test(h.buffer))return this;v=f();var y=v.match(/^()?WEBVTT([ \t].*)?$/);if(!y||!y[0])throw new Error("Malformed WebVTT signature.");h.state="HEADER"}for(var E=!1;h.buffer;){if(!/\r\n|\n/.test(h.buffer))return this;E?E=!1:v=f();switch(h.state){case"HEADER":/:/.test(v)?g(v):v||(h.state="ID");continue;case"NOTE":v||(h.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(v)){h.state="NOTE";break}if(!v)continue;if(h.cue=new b.default(0,0,""),h.state="CUE",v.indexOf("-->")===-1){h.cue.id=v;continue}case"CUE":if(!h.cue){h.state="BADCUE";continue}try{n(v,h.cue,h.regionList)}catch(w){h.cue=null,h.state="BADCUE";continue}h.state="CUETEXT";continue;case"CUETEXT":{var T=v.indexOf("-->")!==-1;if(!v||T&&(E=!0)){h.oncue&&h.cue&&h.oncue(h.cue),h.cue=null,h.state="ID";continue}if(h.cue===null)continue;h.cue.text&&(h.cue.text+=`
`),h.cue.text+=v}continue;case"BADCUE":v||(h.state="ID")}}}catch(w){h.state==="CUETEXT"&&h.cue&&h.oncue&&h.oncue(h.cue),h.cue=null,h.state=h.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},a.flush=function(){var u=this;try{if((u.cue||u.state==="HEADER")&&(u.buffer+=`
`,u.parse()),u.state==="INITIAL"||u.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(h){u.onparsingerror&&u.onparsingerror(h)}return u.onflush&&u.onflush(),this},e}()},"./src/utils/webvtt-parser.ts":function(x,C,A){"use strict";A.r(C),A.d(C,"generateCueId",function(){return s}),A.d(C,"parseWebVTT",function(){return a});var b=A("./src/polyfills/number.ts"),m=A("./src/utils/vttparser.ts"),p=A("./src/demux/id3.ts"),c=A("./src/utils/timescale-conversion.ts"),o=A("./src/remux/mp4-remuxer.ts"),r=/\r\n|\n\r|\n|\r/g,i=function(u,h,f){return f===void 0&&(f=0),u.substr(f,h.length)===h},n=function(u){var h=parseInt(u.substr(-3)),f=parseInt(u.substr(-6,2)),g=parseInt(u.substr(-9,2)),v=u.length>9?parseInt(u.substr(0,u.indexOf(":"))):0;if(!Object(b.isFiniteNumber)(h)||!Object(b.isFiniteNumber)(f)||!Object(b.isFiniteNumber)(g)||!Object(b.isFiniteNumber)(v))throw Error("Malformed X-TIMESTAMP-MAP: Local:"+u);return h+=1e3*f,h+=60*1e3*g,h+=60*60*1e3*v,h},t=function(u){for(var h=5381,f=u.length;f;)h=h*33^u.charCodeAt(--f);return(h>>>0).toString()};function s(l,u,h){return t(l.toString())+t(u.toString())+t(h)}var e=function(u,h,f){var g=u[h],v=u[g.prevCC];if(!v||!v.new&&g.new){u.ccOffset=u.presentationOffset=g.start,g.new=!1;return}for(;(y=v)!==null&&y!==void 0&&y.new;){var y;u.ccOffset+=g.start-v.start,g.new=!1,g=v,v=u[g.prevCC]}u.presentationOffset=f};function a(l,u,h,f,g,v,y,E){var T=new m.VTTParser,w=Object(p.utf8ArrayToStr)(new Uint8Array(l)).trim().replace(r,`
`).split(`
`),S=[],I=Object(c.toMpegTsClockFromTimescale)(u,h),L="00:00.000",O=0,N=0,R,D=!0,B=!1;T.oncue=function(M){var U=f[g],F=f.ccOffset,j=(O-I)/9e4;if(U!=null&&U.new&&(N!==void 0?F=f.ccOffset=U.start:e(f,g,j)),j&&(F=j-f.presentationOffset),B){var W=M.endTime-M.startTime,V=Object(o.normalizePts)((M.startTime+F-N)*9e4,v*9e4)/9e4;M.startTime=V,M.endTime=V+W}var z=M.text.trim();M.text=decodeURIComponent(encodeURIComponent(z)),M.id||(M.id=s(M.startTime,M.endTime,z)),M.endTime>0&&S.push(M)},T.onparsingerror=function(M){R=M},T.onflush=function(){if(R){E(R);return}y(S)},w.forEach(function(M){if(D)if(i(M,"X-TIMESTAMP-MAP=")){D=!1,B=!0,M.substr(16).split(",").forEach(function(U){i(U,"LOCAL:")?L=U.substr(6):i(U,"MPEGTS:")&&(O=parseInt(U.substr(7)))});try{N=n(L)/1e3}catch(U){B=!1,R=U}return}else M===""&&(D=!1);T.parse(M+`
`)}),T.flush()}},"./src/utils/xhr-loader.ts":function(x,C,A){"use strict";A.r(C);var b=A("./src/utils/logger.ts"),m=A("./src/loader/load-stats.ts"),p=/^age:\s*[\d.]+\s*$/m,c=function(){function o(i){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=void 0,this.loader=null,this.stats=void 0,this.xhrSetup=i?i.xhrSetup:null,this.stats=new m.LoadStats,this.retryDelay=0}var r=o.prototype;return r.destroy=function(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null},r.abortInternal=function(){var n=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),n&&(n.onreadystatechange=null,n.onprogress=null,n.readyState!==4&&(this.stats.aborted=!0,n.abort()))},r.abort=function(){var n;this.abortInternal(),(n=this.callbacks)!==null&&n!==void 0&&n.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)},r.load=function(n,t,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=n,this.config=t,this.callbacks=s,this.retryDelay=t.retryDelay,this.loadInternal()},r.loadInternal=function(){var n=this.config,t=this.context;if(!n)return;var s=this.loader=new self.XMLHttpRequest,e=this.stats;e.loading.first=0,e.loaded=0;var a=this.xhrSetup;try{if(a)try{a(s,t.url)}catch(h){s.open("GET",t.url,!0),a(s,t.url)}s.readyState||s.open("GET",t.url,!0);var l=this.context.headers;if(l)for(var u in l)s.setRequestHeader(u,l[u])}catch(h){this.callbacks.onError({code:s.status,text:h.message},t,s);return}t.rangeEnd&&s.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),s.onreadystatechange=this.readystatechange.bind(this),s.onprogress=this.loadprogress.bind(this),s.responseType=t.responseType,self.clearTimeout(this.requestTimeout),this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.timeout),s.send()},r.readystatechange=function(){var n=this.context,t=this.loader,s=this.stats;if(!n||!t)return;var e=t.readyState,a=this.config;if(s.aborted)return;if(e>=2)if(self.clearTimeout(this.requestTimeout),s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start)),e===4){t.onreadystatechange=null,t.onprogress=null;var l=t.status;if(l>=200&&l<300){s.loading.end=Math.max(self.performance.now(),s.loading.first);var u,h;if(n.responseType==="arraybuffer"?(u=t.response,h=u.byteLength):(u=t.responseText,h=u.length),s.loaded=s.total=h,!this.callbacks)return;var f=this.callbacks.onProgress;if(f&&f(s,n,u,t),!this.callbacks)return;var g={url:t.responseURL,data:u};this.callbacks.onSuccess(g,s,n,t)}else s.retry>=a.maxRetry||l>=400&&l<499?(b.logger.error(l+" while loading "+n.url),this.callbacks.onError({code:l,text:t.statusText},n,t)):(b.logger.warn(l+" while loading "+n.url+", retrying in "+this.retryDelay+"..."),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay),this.retryDelay=Math.min(2*this.retryDelay,a.maxRetryDelay),s.retry++)}else self.clearTimeout(this.requestTimeout),this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),a.timeout)},r.loadtimeout=function(){b.logger.warn("timeout while loading "+this.context.url);var n=this.callbacks;n&&(this.abortInternal(),n.onTimeout(this.stats,this.context,this.loader))},r.loadprogress=function(n){var t=this.stats;t.loaded=n.loaded,n.lengthComputable&&(t.total=n.total)},r.getCacheAge=function(){var n=null;if(this.loader&&p.test(this.loader.getAllResponseHeaders())){var t=this.loader.getResponseHeader("age");n=t?parseFloat(t):null}return n},o}();C.default=c}}).default})},v3Qx:function(H,k){var d={}.toString;H.exports=Array.isArray||function(_){return d.call(_)=="[object Array]"}},v56E:function(H,k,d){},v5uJ:function(H,k,d){var _=d("ProS"),x=d("2B6p"),C=x.updateCenterAndZoom;_.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(A,b){b.eachComponent({mainType:"series",subType:"tree",query:A},function(m){var p=A.dataIndex,c=m.getData().tree,o=c.getNodeByDataIndex(p);o.isExpand=!o.isExpand})}),_.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(A,b){b.eachComponent({mainType:"series",subType:"tree",query:A},function(m){var p=m.coordinateSystem,c=C(p,A);m.setCenter&&m.setCenter(c.center),m.setZoom&&m.setZoom(c.zoom)})})},"vF/C":function(H,k,d){var _=d("bLfw");_.registerSubTypeDefaulter("visualMap",function(x){return!x.categories&&(!(x.pieces?x.pieces.length>0:x.splitNumber>0)||x.calculable)?"continuous":"piecewise"})},vKoX:function(H,k,d){var _=d("SrGk"),x=d("bYtY");function C(m,p){_.call(this,m,p,["filter"],"__filter_in_use__","_shadowDom")}x.inherits(C,_),C.prototype.addWithoutUpdate=function(m,p){if(p&&A(p.style)){var c;if(p._shadowDom){c=p._shadowDom;var o=this.getDefs(!0);o.contains(p._shadowDom)||this.addDom(c)}else c=this.add(p);this.markUsed(p);var r=c.getAttribute("id");m.style.filter="url(#"+r+")"}},C.prototype.add=function(m){var p=this.createElement("filter");return m._shadowDomId=m._shadowDomId||this.nextId++,p.setAttribute("id","zr"+this._zrId+"-shadow-"+m._shadowDomId),this.updateDom(m,p),this.addDom(p),p},C.prototype.update=function(m,p){var c=p.style;if(A(c)){var o=this;_.prototype.update.call(this,p,function(){o.updateDom(p,p._shadowDom)})}else this.remove(m,p)},C.prototype.remove=function(m,p){p._shadowDomId!=null&&(this.removeDom(m),m.style.filter="")},C.prototype.updateDom=function(m,p){var c=p.getElementsByTagName("feDropShadow");c.length===0?c=this.createElement("feDropShadow"):c=c[0];var o=m.style,r=m.scale&&m.scale[0]||1,i=m.scale&&m.scale[1]||1,n,t,s,e;if(o.shadowBlur||o.shadowOffsetX||o.shadowOffsetY)n=o.shadowOffsetX||0,t=o.shadowOffsetY||0,s=o.shadowBlur,e=o.shadowColor;else if(o.textShadowBlur)n=o.textShadowOffsetX||0,t=o.textShadowOffsetY||0,s=o.textShadowBlur,e=o.textShadowColor;else{this.removeDom(p,o);return}c.setAttribute("dx",n/r),c.setAttribute("dy",t/i),c.setAttribute("flood-color",e);var a=s/2/r,l=s/2/i,u=a+" "+l;c.setAttribute("stdDeviation",u),p.setAttribute("x","-100%"),p.setAttribute("y","-100%"),p.setAttribute("width",Math.ceil(s/2*200)+"%"),p.setAttribute("height",Math.ceil(s/2*200)+"%"),p.appendChild(c),m._shadowDom=p},C.prototype.markUsed=function(m){m._shadowDom&&_.prototype.markUsed.call(this,m._shadowDom)};function A(m){return m&&(m.shadowBlur||m.shadowOffsetX||m.shadowOffsetY||m.textShadowBlur||m.textShadowOffsetX||m.textShadowOffsetY)}var b=C;H.exports=b},vL6D:function(H,k,d){var _=d("bYtY"),x=d("+rIm"),C=d("IwbS"),A=d("7bkD"),b=d("Znkb"),m=d("WN+l"),p=m.rectCoordAxisBuildSplitArea,c=m.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine"],i=b.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,s,e,a){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new C.Group;var h=A.layout(t),f=new x(t,h);_.each(o,f.add,f),l.add(this._axisGroup),l.add(f.getGroup()),_.each(r,function(g){t.get(g+".show")&&this["_"+g](t)},this),C.groupTransition(u,this._axisGroup,t),i.superCall(this,"render",t,s,e,a)},remove:function(){c(this)},_splitLine:function(t){var s=t.axis;if(s.scale.isBlank())return;var e=t.getModel("splitLine"),a=e.getModel("lineStyle"),l=a.get("width"),u=a.get("color");u=u instanceof Array?u:[u];for(var h=t.coordinateSystem.getRect(),f=s.isHorizontal(),g=[],v=0,y=s.getTicksCoords({tickModel:e}),E=[],T=[],w=0;w<y.length;++w){var S=s.toGlobalCoord(y[w].coord);f?(E[0]=S,E[1]=h.y,T[0]=S,T[1]=h.y+h.height):(E[0]=h.x,E[1]=S,T[0]=h.x+h.width,T[1]=S);var I=v++%u.length;g[I]=g[I]||[],g[I].push(new C.Line({subPixelOptimize:!0,shape:{x1:E[0],y1:E[1],x2:T[0],y2:T[1]},style:{lineWidth:l},silent:!0}))}for(var w=0;w<g.length;++w)this.group.add(C.mergePath(g[w],{style:{stroke:u[w%u.length],lineDash:a.getLineDash(l),lineWidth:l},silent:!0}))},_splitArea:function(t){p(this,this._axisGroup,t,t)}}),n=i;H.exports=n},vWvF:function(H,k,d){var _=d("Bq2U"),x=d("SUKs"),C=d("bYtY"),A=C.isString,b=C.isFunction,m=C.isObject,p=C.isArrayLike,c=C.indexOf,o=function(){this.animators=[]};o.prototype={constructor:o,animate:function(e,a){var l,u=!1,h=this,f=this.__zr;if(e){var g=e.split("."),v=h;u=g[0]==="shape";for(var y=0,E=g.length;y<E;y++){if(!v)continue;v=v[g[y]]}v&&(l=v)}else l=h;if(!l){x('Property "'+e+'" is not existed in element '+h.id);return}var T=h.animators,w=new _(l,a);return w.during(function(S){h.dirty(u)}).done(function(){T.splice(c(T,w),1)}),T.push(w),f&&f.animation.addAnimator(w),w},stopAnimation:function(e){for(var a=this.animators,l=a.length,u=0;u<l;u++)a[u].stop(e);return a.length=0,this},animateTo:function(e,a,l,u,h,f){r(this,e,a,l,u,h,f)},animateFrom:function(e,a,l,u,h,f){r(this,e,a,l,u,h,f,!0)}};function r(s,e,a,l,u,h,f,g){A(l)?(h=u,u=l,l=0):b(u)?(h=u,u="linear",l=0):b(l)?(h=l,l=0):b(a)?(h=a,a=500):a||(a=500),s.stopAnimation(),i(s,"",s,e,a,l,g);var v=s.animators.slice(),y=v.length;function E(){y--,y||h&&h()}y||h&&h();for(var T=0;T<v.length;T++)v[T].done(E).start(u,f)}function i(s,e,a,l,u,h,f){var g={},v=0;for(var y in l){if(!l.hasOwnProperty(y))continue;a[y]!=null?m(l[y])&&!p(l[y])?i(s,e?e+"."+y:y,a[y],l[y],u,h,f):(f?(g[y]=a[y],n(s,e,y,l[y])):g[y]=l[y],v++):l[y]!=null&&!f&&n(s,e,y,l[y])}v>0&&s.animate(e,!1).when(u==null?500:u,g).delay(h||0)}function n(s,e,a,l){if(!e)s.attr(a,l);else{var u={};u[e]={},u[e][a]=l,s.attr(u)}}var t=o;H.exports=t},vZ6x:function(H,k,d){var _=d("Tghj"),x=_.__DEV__,C=d("bYtY"),A=d("IwbS"),b=d("4NO4"),m=d("9KIM"),p=C.each,c=C.indexOf,o=C.curry,r=["dataToPoint","pointToData"],i=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function n(w,S,I){var L=this._targetInfoList=[],O={},N=e(S,w);p(a,function(R,D){(!I||!I.include||c(I.include,D)>=0)&&R(N,L,O)})}var t=n.prototype;t.setOutputRanges=function(w,S){this.matchOutputRanges(w,S,function(I,L,O){if((I.coordRanges||(I.coordRanges=[])).push(L),!I.coordRange){I.coordRange=L;var N=h[I.brushType](0,O,L);I.__rangeOffset={offset:g[I.brushType](N.values,I.range,[1,1]),xyMinMax:N.xyMinMax}}})},t.matchOutputRanges=function(w,S,I){p(w,function(L){var O=this.findTargetInfo(L,S);O&&O!==!0&&C.each(O.coordSyses,function(N){var R=h[L.brushType](1,N,L.range);I(L,R.values,N,S)})},this)},t.setInputRanges=function(w,S){p(w,function(I){var L=this.findTargetInfo(I,S);if(I.range=I.range||[],L&&L!==!0){I.panelId=L.panelId;var O=h[I.brushType](0,L.coordSys,I.coordRange),N=I.__rangeOffset;I.range=N?g[I.brushType](O.values,N.offset,y(O.xyMinMax,N.xyMinMax)):O.values}},this)},t.makePanelOpts=function(w,S){return C.map(this._targetInfoList,function(I){var L=I.getPanelRect();return{panelId:I.panelId,defaultBrushType:S&&S(I),clipPath:m.makeRectPanelClipPath(L),isTargetByCursor:m.makeRectIsTargetByCursor(L,w,I.coordSysModel),getLinearBrushOtherExtent:m.makeLinearBrushOtherExtent(L)}})},t.controlSeries=function(w,S,I){var L=this.findTargetInfo(w,I);return L===!0||L&&c(L.coordSyses,S.coordinateSystem)>=0},t.findTargetInfo=function(w,S){for(var I=this._targetInfoList,L=e(S,w),O=0;O<I.length;O++){var N=I[O],R=w.panelId;if(R){if(N.panelId===R)return N}else for(var O=0;O<l.length;O++)if(l[O](L,N))return N}return!0};function s(w){return w[0]>w[1]&&w.reverse(),w}function e(w,S){return b.parseFinder(w,S,{includeMainTypes:i})}var a={grid:function(w,S){var I=w.xAxisModels,L=w.yAxisModels,O=w.gridModels,N=C.createHashMap(),R={},D={};if(!I&&!L&&!O)return;p(I,function(B){var M=B.axis.grid.model;N.set(M.id,M),R[M.id]=!0}),p(L,function(B){var M=B.axis.grid.model;N.set(M.id,M),D[M.id]=!0}),p(O,function(B){N.set(B.id,B),R[B.id]=!0,D[B.id]=!0}),N.each(function(B){var M=B.coordinateSystem,U=[];p(M.getCartesians(),function(F,j){(c(I,F.getAxis("x").model)>=0||c(L,F.getAxis("y").model)>=0)&&U.push(F)}),S.push({panelId:"grid--"+B.id,gridModel:B,coordSysModel:B,coordSys:U[0],coordSyses:U,getPanelRect:u.grid,xAxisDeclared:R[B.id],yAxisDeclared:D[B.id]})})},geo:function(w,S){p(w.geoModels,function(I){var L=I.coordinateSystem;S.push({panelId:"geo--"+I.id,geoModel:I,coordSysModel:I,coordSys:L,coordSyses:[L],getPanelRect:u.geo})})}},l=[function(w,S){var I=w.xAxisModel,L=w.yAxisModel,O=w.gridModel;return!O&&I&&(O=I.axis.grid.model),!O&&L&&(O=L.axis.grid.model),O&&O===S.gridModel},function(w,S){var I=w.geoModel;return I&&I===S.geoModel}],u={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var w=this.coordSys,S=w.getBoundingRect().clone();return S.applyTransform(A.getTransform(w)),S}},h={lineX:o(f,0),lineY:o(f,1),rect:function(w,S,I){var L=S[r[w]]([I[0][0],I[1][0]]),O=S[r[w]]([I[0][1],I[1][1]]),N=[s([L[0],O[0]]),s([L[1],O[1]])];return{values:N,xyMinMax:N}},polygon:function(w,S,I){var L=[[Infinity,-Infinity],[Infinity,-Infinity]],O=C.map(I,function(N){var R=S[r[w]](N);return L[0][0]=Math.min(L[0][0],R[0]),L[1][0]=Math.min(L[1][0],R[1]),L[0][1]=Math.max(L[0][1],R[0]),L[1][1]=Math.max(L[1][1],R[1]),R});return{values:O,xyMinMax:L}}};function f(w,S,I,L){var O=I.getAxis(["x","y"][w]),N=s(C.map([0,1],function(D){return S?O.coordToData(O.toLocalCoord(L[D])):O.toGlobalCoord(O.dataToCoord(L[D]))})),R=[];return R[w]=N,R[1-w]=[NaN,NaN],{values:N,xyMinMax:R}}var g={lineX:o(v,0),lineY:o(v,1),rect:function(w,S,I){return[[w[0][0]-I[0]*S[0][0],w[0][1]-I[0]*S[0][1]],[w[1][0]-I[1]*S[1][0],w[1][1]-I[1]*S[1][1]]]},polygon:function(w,S,I){return C.map(w,function(L,O){return[L[0]-I[0]*S[O][0],L[1]-I[1]*S[O][1]]})}};function v(w,S,I,L){return[S[0]-L[w]*I[0],S[1]-L[w]*I[1]]}function y(w,S){var I=E(w),L=E(S),O=[I[0]/L[0],I[1]/L[1]];return isNaN(O[0])&&(O[0]=1),isNaN(O[1])&&(O[1]=1),O}function E(w){return w?[w[0][1]-w[0][0],w[1][1]-w[1][0]]:[NaN,NaN]}var T=n;H.exports=T},vZI5:function(H,k,d){var _=d("bYtY"),x=d("T4UG"),C=d("5GhG"),A=C.seriesModelMixin,b=x.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(p,c,o){var r=c.getItemLayout(p);return r&&o.rect(r.brushRect)}});_.mixin(b,A,!0);var m=b;H.exports=m},vafp:function(H,k,d){var _=d("bYtY"),x=d("8nly");function C(m){if(!m.UTF8Encoding)return m;var p=m.UTF8Scale;p==null&&(p=1024);for(var c=m.features,o=0;o<c.length;o++)for(var r=c[o],i=r.geometry,n=i.coordinates,t=i.encodeOffsets,s=0;s<n.length;s++){var e=n[s];if(i.type==="Polygon")n[s]=A(e,t[s],p);else if(i.type==="MultiPolygon")for(var a=0;a<e.length;a++){var l=e[a];e[a]=A(l,t[s][a],p)}}return m.UTF8Encoding=!1,m}function A(m,p,c){for(var o=[],r=p[0],i=p[1],n=0;n<m.length;n+=2){var t=m.charCodeAt(n)-64,s=m.charCodeAt(n+1)-64;t=t>>1^-(t&1),s=s>>1^-(s&1),t+=r,s+=i,r=t,i=s,o.push([t/c,s/c])}return o}function b(m,p){return C(m),_.map(_.filter(m.features,function(c){return c.geometry&&c.properties&&c.geometry.coordinates.length>0}),function(c){var o=c.properties,r=c.geometry,i=r.coordinates,n=[];r.type==="Polygon"&&n.push({type:"polygon",exterior:i[0],interiors:i.slice(1)}),r.type==="MultiPolygon"&&_.each(i,function(s){s[0]&&n.push({type:"polygon",exterior:s[0],interiors:s.slice(1)})});var t=new x(o[p||"name"],n,o.cp);return t.properties=o,t})}H.exports=b},vcCh:function(H,k,d){var _=d("ProS");d("0qV/"),_.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(x,C){C.eachComponent({mainType:"series",subType:"sankey",query:x},function(A){A.setNodePosition(x.dataIndex,[x.localX,x.localY])})})},vewr:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.getPointerEvent=_,k.stopEvent=x,k.setCapture=c,k.releaseCapture=o;function _(r){return r.changedTouches?r.changedTouches[0]:r.touches?r.touches[0]:r}function x(r){r.stopPropagation(),r.preventDefault()}var C=!1,A=null;document.captureElement=null;function b(r){if(C)return;var i=new r.constructor(r.type,r);C=!0,document.captureElement?document.captureElement.dispatchEvent(i):A.dispatchEvent(i),C=!1,r.stopPropagation(),i.defaultPrevented&&r.preventDefault(),r.type==="mouseup"&&o()}function m(){var r=document.getElementById("noVNC_mouse_capture_elem");r.style.cursor=window.getComputedStyle(document.captureElement).cursor}var p=new MutationObserver(m);function c(r){if(r.setCapture)r.setCapture(),document.captureElement=r,r.addEventListener("mouseup",o);else{o();var i=document.getElementById("noVNC_mouse_capture_elem");i===null&&(i=document.createElement("div"),i.id="noVNC_mouse_capture_elem",i.style.position="fixed",i.style.top="0px",i.style.left="0px",i.style.width="100%",i.style.height="100%",i.style.zIndex=1e4,i.style.display="none",document.body.appendChild(i),i.addEventListener("contextmenu",b),i.addEventListener("mousemove",b),i.addEventListener("mouseup",b)),document.captureElement=r,p.observe(r,{attributes:!0}),m(),i.style.display="",window.addEventListener("mousemove",b),window.addEventListener("mouseup",b)}}function o(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;A=document.captureElement,document.captureElement=null,p.disconnect();var r=document.getElementById("noVNC_mouse_capture_elem");r.style.display="none",window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",b)}}},vg9a:function(H,k,d){},"vk+C":function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("RZPm"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},w5pM:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="PlusCircleOutlined";var p=k.a=x.forwardRef(m)},w6Tc:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("apAg"));function x(A){return A&&A.__esModule?A:{default:A}}var C=_;k.default=C,H.exports=C},w7YG:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("ETIr"),d("cv67"),d("K3mO"),d("OLod"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.StreamCipher,b=x.algo,m=b.RC4=A.extend({_doReset:function(){for(var r=this._key,i=r.words,n=r.sigBytes,t=this._S=[],s=0;s<256;s++)t[s]=s;for(var s=0,e=0;s<256;s++){var a=s%n,l=i[a>>>2]>>>24-a%4*8&255;e=(e+t[s]+l)%256;var u=t[s];t[s]=t[e],t[e]=u}this._i=this._j=0},_doProcessBlock:function(r,i){r[i]^=p.call(this)},keySize:256/32,ivSize:0});function p(){for(var o=this._S,r=this._i,i=this._j,n=0,t=0;t<4;t++){r=(r+1)%256,i=(i+o[r])%256;var s=o[r];o[r]=o[i],o[i]=s,n|=o[(o[r]+o[i])%256]<<24-t*8}return this._i=r,this._j=i,n}x.RC4=A._createHelper(m);var c=b.RC4Drop=m.extend({cfg:m.cfg.extend({drop:192}),_doReset:function(){m._doReset.call(this);for(var r=this.cfg.drop;r>0;r--)p.call(this)}});x.RC4Drop=A._createHelper(c)}(),_.RC4})},wCAj:function(H,k,d){"use strict";var _=d("cDf5"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("J4zp"),m=d.n(b),p=d("pVnL"),c=d.n(p),o=d("q1tI"),r=d("TSYQ"),i=d.n(r),n=d("BGR+"),t=d("rePB"),s=d("VTBJ"),e=d("KQm4"),a=d("U8pU"),l=d("ODXe"),u=d("Gytx"),h=d.n(u),f=d("Kwbf"),g=d("t23M"),v=d("qx4F");function y(Vt){return null}var E=y;function T(Vt){return null}var w=T,S=d("Ff2n"),I=d("c+Xe"),L="RC_TABLE_KEY";function O(Vt){return Vt==null?[]:Array.isArray(Vt)?Vt:[Vt]}function N(Vt,Qr){if(!Qr&&typeof Qr!="number")return Vt;for(var an=O(Qr),mn=Vt,Ye=0;Ye<an.length;Ye+=1){if(!mn)return null;var It=an[Ye];mn=mn[It]}return mn}function R(Vt){var Qr=[],an={};return Vt.forEach(function(mn){for(var Ye=mn||{},It=Ye.key,lr=Ye.dataIndex,sr=It||O(lr).join("-")||L;an[sr];)sr="".concat(sr,"_next");an[sr]=!0,Qr.push(sr)}),Qr}function D(){var Vt={};function Qr(It,lr){lr&&Object.keys(lr).forEach(function(sr){var Lr=lr[sr];Lr&&Object(a.a)(Lr)==="object"?(It[sr]=It[sr]||{},Qr(It[sr],Lr)):It[sr]=Lr})}for(var an=arguments.length,mn=new Array(an),Ye=0;Ye<an;Ye++)mn[Ye]=arguments[Ye];return mn.forEach(function(It){Qr(Vt,It)}),Vt}function B(Vt){return Vt!=null}function M(Vt){return Vt&&Object(a.a)(Vt)==="object"&&!Array.isArray(Vt)&&!o.isValidElement(Vt)}function U(Vt){return typeof Vt=="string"?!0:Object(I.c)(Vt)}function F(Vt,Qr){var an,mn=Vt.prefixCls,Ye=Vt.className,It=Vt.record,lr=Vt.index,sr=Vt.dataIndex,Lr=Vt.render,Pr=Vt.children,Kr=Vt.component,on=Kr===void 0?"td":Kr,xn=Vt.colSpan,An=Vt.rowSpan,Pn=Vt.fixLeft,Un=Vt.fixRight,bn=Vt.firstFixLeft,_n=Vt.lastFixLeft,Tn=Vt.firstFixRight,Wn=Vt.lastFixRight,Gn=Vt.appendNode,ri=Vt.additionalProps,Si=ri===void 0?{}:ri,oi=Vt.ellipsis,Pi=Vt.align,Hi=Vt.rowType,_i=Vt.isSticky,pi="".concat(mn,"-cell"),ki,zn;if(Pr)zn=Pr;else{var ji=N(It,sr);if(zn=ji,Lr){var Yi=Lr(ji,It,lr);M(Yi)?(zn=Yi.children,ki=Yi.props):zn=Yi}}Object(a.a)(zn)==="object"&&!Array.isArray(zn)&&!o.isValidElement(zn)&&(zn=null),oi&&(_n||Tn)&&(zn=o.createElement("span",{className:"".concat(pi,"-content")},zn));var ta=ki||{},Zi=ta.colSpan,br=ta.rowSpan,Wr=ta.style,nn=ta.className,Nr=Object(S.a)(ta,["colSpan","rowSpan","style","className"]),jt=Zi!==void 0?Zi:xn,xr=br!==void 0?br:An;if(jt===0||xr===0)return null;var $t={},jr=typeof Pn=="number",Hr=typeof Un=="number";jr&&($t.position="sticky",$t.left=Pn),Hr&&($t.position="sticky",$t.right=Un);var ln={};Pi&&(ln.textAlign=Pi);var qr,fn=oi===!0?{showTitle:!0}:oi;fn&&(fn.showTitle||Hi==="header")&&(typeof zn=="string"||typeof zn=="number"?qr=zn.toString():o.isValidElement(zn)&&typeof zn.props.children=="string"&&(qr=zn.props.children));var Dn=Object(s.a)(Object(s.a)(Object(s.a)({title:qr},Nr),Si),{},{colSpan:jt&&jt!==1?jt:null,rowSpan:xr&&xr!==1?xr:null,className:i()(pi,Ye,(an={},Object(t.a)(an,"".concat(pi,"-fix-left"),jr),Object(t.a)(an,"".concat(pi,"-fix-left-first"),bn),Object(t.a)(an,"".concat(pi,"-fix-left-last"),_n),Object(t.a)(an,"".concat(pi,"-fix-right"),Hr),Object(t.a)(an,"".concat(pi,"-fix-right-first"),Tn),Object(t.a)(an,"".concat(pi,"-fix-right-last"),Wn),Object(t.a)(an,"".concat(pi,"-ellipsis"),oi),Object(t.a)(an,"".concat(pi,"-with-append"),Gn),Object(t.a)(an,"".concat(pi,"-fix-sticky"),(jr||Hr)&&_i),an),Si.className,nn),style:Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)({},Si.style),ln),$t),Wr),ref:U(on)?Qr:null});return o.createElement(on,Object.assign({},Dn),Gn,zn)}var j=o.forwardRef(F);j.displayName="Cell";var W=o.memo(j,function(Vt,Qr){return Qr.shouldCellUpdate?!Qr.shouldCellUpdate(Qr.record,Vt.record):!1}),V=W,z=o.createContext(null),Y=z;function J(Vt,Qr,an,mn,Ye){var It=an[Vt]||{},lr=an[Qr]||{},sr,Lr;It.fixed==="left"?sr=mn.left[Vt]:lr.fixed==="right"&&(Lr=mn.right[Qr]);var Pr=!1,Kr=!1,on=!1,xn=!1,An=an[Qr+1],Pn=an[Vt-1];if(Ye==="rtl"){if(sr!==void 0){var Un=Pn&&Pn.fixed==="left";xn=!Un}else if(Lr!==void 0){var bn=An&&An.fixed==="right";on=!bn}}else if(sr!==void 0){var _n=An&&An.fixed==="left";Pr=!_n}else if(Lr!==void 0){var Tn=Pn&&Pn.fixed==="right";Kr=!Tn}return{fixLeft:sr,fixRight:Lr,lastFixLeft:Pr,firstFixRight:Kr,lastFixRight:on,firstFixLeft:xn,isSticky:mn.isSticky}}function ie(Vt){var Qr=Vt.cells,an=Vt.stickyOffsets,mn=Vt.flattenColumns,Ye=Vt.rowComponent,It=Vt.cellComponent,lr=Vt.onHeaderRow,sr=Vt.index,Lr=o.useContext(Y),Pr=Lr.prefixCls,Kr=Lr.direction,on;lr&&(on=lr(Qr.map(function(An){return An.column}),sr));var xn=R(Qr.map(function(An){return An.column}));return o.createElement(Ye,Object.assign({},on),Qr.map(function(An,Pn){var Un=An.column,bn=J(An.colStart,An.colEnd,mn,an,Kr),_n;return Un&&Un.onHeaderCell&&(_n=An.column.onHeaderCell(Un)),o.createElement(V,Object.assign({},An,{ellipsis:Un.ellipsis,align:Un.align,component:It,prefixCls:Pr,key:xn[Pn]},bn,{additionalProps:_n,rowType:"header"}))}))}ie.displayName="HeaderRow";var Z=ie;function oe(Vt){var Qr=[];function an(lr,sr){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Qr[Lr]=Qr[Lr]||[];var Pr=sr,Kr=lr.filter(Boolean).map(function(on){var xn={key:on.key,className:on.className||"",children:on.title,column:on,colStart:Pr},An=1,Pn=on.children;return Pn&&Pn.length>0&&(An=an(Pn,Pr,Lr+1).reduce(function(Un,bn){return Un+bn},0),xn.hasSubColumns=!0),"colSpan"in on&&(An=on.colSpan),"rowSpan"in on&&(xn.rowSpan=on.rowSpan),xn.colSpan=An,xn.colEnd=xn.colStart+An-1,Qr[Lr].push(xn),Pr+=An,An});return Kr}an(Vt,0);for(var mn=Qr.length,Ye=function(sr){Qr[sr].forEach(function(Lr){!("rowSpan"in Lr)&&!Lr.hasSubColumns&&(Lr.rowSpan=mn-sr)})},It=0;It<mn;It+=1)Ye(It);return Qr}function ge(Vt){var Qr=Vt.stickyOffsets,an=Vt.columns,mn=Vt.flattenColumns,Ye=Vt.onHeaderRow,It=o.useContext(Y),lr=It.prefixCls,sr=It.getComponent,Lr=o.useMemo(function(){return oe(an)},[an]),Pr=sr(["header","wrapper"],"thead"),Kr=sr(["header","row"],"tr"),on=sr(["header","cell"],"th");return o.createElement(Pr,{className:"".concat(lr,"-thead")},Lr.map(function(xn,An){var Pn=o.createElement(Z,{key:An,flattenColumns:mn,cells:xn,stickyOffsets:Qr,rowComponent:Kr,cellComponent:on,onHeaderRow:Ye,index:An});return Pn}))}var pe=ge,De="RC_TABLE_INTERNAL_COL_DEFINE";function ce(Vt){var Qr=Vt.expandable,an=Object(S.a)(Vt,["expandable"]);return"expandable"in Vt?Object(s.a)(Object(s.a)({},an),Qr):an}function Oe(Vt){return Object.keys(Vt).reduce(function(Qr,an){return(an.substr(0,5)==="data-"||an.substr(0,5)==="aria-")&&(Qr[an]=Vt[an]),Qr},{})}function se(Vt){for(var Qr=Vt.colWidths,an=Vt.columns,mn=Vt.columCount,Ye=[],It=mn||an.length,lr=!1,sr=It-1;sr>=0;sr-=1){var Lr=Qr[sr],Pr=an&&an[sr],Kr=Pr&&Pr[De];(Lr||Kr||lr)&&(Ye.unshift(o.createElement("col",Object.assign({key:sr,style:{width:Lr,minWidth:Lr}},Kr))),lr=!0)}return o.createElement("colgroup",null,Ye)}var $=se;function ze(Vt,Qr){return Object(o.useMemo)(function(){for(var an=[],mn=0;mn<Qr;mn+=1){var Ye=Vt[mn];if(Ye!==void 0)an[mn]=Ye;else return null}return an},[Vt.join("_"),Qr])}var re=o.forwardRef(function(Vt,Qr){var an=Vt.noData,mn=Vt.columns,Ye=Vt.flattenColumns,It=Vt.colWidths,lr=Vt.columCount,sr=Vt.stickyOffsets,Lr=Vt.direction,Pr=Vt.fixHeader,Kr=Vt.offsetHeader,on=Vt.stickyClassName,xn=Vt.onScroll,An=Object(S.a)(Vt,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),Pn=o.useContext(Y),Un=Pn.prefixCls,bn=Pn.scrollbarSize,_n=Pn.isSticky,Tn=_n&&!Pr?0:bn,Wn=o.useRef(null),Gn=o.useCallback(function(pi){Object(I.b)(Qr,pi),Object(I.b)(Wn,pi)},[]);o.useEffect(function(){var pi;function ki(zn){var ji=zn.currentTarget,Yi=zn.deltaX;Yi&&(xn({currentTarget:ji,scrollLeft:ji.scrollLeft+Yi}),zn.preventDefault())}return(pi=Wn.current)===null||pi===void 0||pi.addEventListener("wheel",ki),function(){var zn;(zn=Wn.current)===null||zn===void 0||zn.removeEventListener("wheel",ki)}},[]);var ri=Ye[Ye.length-1],Si={fixed:ri?ri.fixed:null,onHeaderCell:function(){return{className:"".concat(Un,"-cell-scrollbar")}}},oi=Object(o.useMemo)(function(){return Tn?[].concat(Object(e.a)(mn),[Si]):mn},[Tn,mn]),Pi=Object(o.useMemo)(function(){return Tn?[].concat(Object(e.a)(Ye),[Si]):Ye},[Tn,Ye]),Hi=Object(o.useMemo)(function(){var pi=sr.right,ki=sr.left;return Object(s.a)(Object(s.a)({},sr),{},{left:Lr==="rtl"?[].concat(Object(e.a)(ki.map(function(zn){return zn+Tn})),[0]):ki,right:Lr==="rtl"?pi:[].concat(Object(e.a)(pi.map(function(zn){return zn+Tn})),[0]),isSticky:_n})},[Tn,sr,_n]),_i=ze(It,lr);return o.createElement("div",{style:Object(s.a)({overflow:"hidden"},_n?{top:Kr}:{}),ref:Gn,className:i()("".concat(Un,"-header"),Object(t.a)({},on,!!on))},o.createElement("table",{style:{tableLayout:"fixed",visibility:an||_i?null:"hidden"}},o.createElement($,{colWidths:_i?[].concat(Object(e.a)(_i),[Tn]):[],columCount:lr+1,columns:Pi}),o.createElement(pe,Object.assign({},An,{stickyOffsets:Hi,columns:oi,flattenColumns:Pi}))))});re.displayName="FixedHeader";var X=re,G=o.createContext(null),Q=G;function ve(Vt){var Qr=Vt.prefixCls,an=Vt.children,mn=Vt.component,Ye=Vt.cellComponent,It=Vt.fixHeader,lr=Vt.fixColumn,sr=Vt.horizonScroll,Lr=Vt.className,Pr=Vt.expanded,Kr=Vt.componentWidth,on=Vt.colSpan,xn=o.useContext(Y),An=xn.scrollbarSize;return o.useMemo(function(){var Pn=an;return lr&&(Pn=o.createElement("div",{style:{width:Kr-(It?An:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Qr,"-expanded-row-fixed")},Pn)),o.createElement(mn,{className:Lr,style:{display:Pr?null:"none"}},o.createElement(V,{component:Ye,prefixCls:Qr,colSpan:on},Pn))},[an,mn,It,sr,Lr,Pr,Kr,on,An])}var de=ve;function Ce(Vt){var Qr=Vt.className,an=Vt.style,mn=Vt.record,Ye=Vt.index,It=Vt.rowKey,lr=Vt.getRowKey,sr=Vt.rowExpandable,Lr=Vt.expandedKeys,Pr=Vt.onRow,Kr=Vt.indent,on=Kr===void 0?0:Kr,xn=Vt.rowComponent,An=Vt.cellComponent,Pn=Vt.childrenColumnName,Un=o.useContext(Y),bn=Un.prefixCls,_n=Un.fixedInfoList,Tn=o.useContext(Q),Wn=Tn.fixHeader,Gn=Tn.fixColumn,ri=Tn.horizonScroll,Si=Tn.componentWidth,oi=Tn.flattenColumns,Pi=Tn.expandableType,Hi=Tn.expandRowByClick,_i=Tn.onTriggerExpand,pi=Tn.rowClassName,ki=Tn.expandedRowClassName,zn=Tn.indentSize,ji=Tn.expandIcon,Yi=Tn.expandedRowRender,ta=Tn.expandIconColumnIndex,Zi=o.useState(!1),br=Object(l.a)(Zi,2),Wr=br[0],nn=br[1],Nr=Lr&&Lr.has(Vt.recordKey);o.useEffect(function(){Nr&&nn(!0)},[Nr]);var jt=Pi==="row"&&(!sr||sr(mn)),xr=Pi==="nest",$t=Pn&&mn&&mn[Pn],jr=jt||xr,Hr;Pr&&(Hr=Pr(mn,Ye));var ln=function(ga){if(Hi&&jr&&_i(mn,ga),Hr&&Hr.onClick){for(var Fi,Ni=arguments.length,ia=new Array(Ni>1?Ni-1:0),Ji=1;Ji<Ni;Ji++)ia[Ji-1]=arguments[Ji];(Fi=Hr).onClick.apply(Fi,[ga].concat(ia))}},qr;typeof pi=="string"?qr=pi:typeof pi=="function"&&(qr=pi(mn,Ye,on));var fn=R(oi),Dn=o.createElement(xn,Object.assign({},Hr,{"data-row-key":It,className:i()(Qr,"".concat(bn,"-row"),"".concat(bn,"-row-level-").concat(on),qr,Hr&&Hr.className),style:Object(s.a)(Object(s.a)({},an),Hr?Hr.style:null),onClick:ln}),oi.map(function(na,ga){var Fi=na.render,Ni=na.dataIndex,ia=na.className,Ji=fn[ga],ha=_n[ga],Ta;ga===(ta||0)&&xr&&(Ta=o.createElement(o.Fragment,null,o.createElement("span",{style:{paddingLeft:"".concat(zn*on,"px")},className:"".concat(bn,"-row-indent indent-level-").concat(on)}),ji({prefixCls:bn,expanded:Nr,expandable:$t,record:mn,onExpand:_i})));var Pa;return na.onCell&&(Pa=na.onCell(mn,Ye)),o.createElement(V,Object.assign({className:ia,ellipsis:na.ellipsis,align:na.align,component:An,prefixCls:bn,key:Ji,record:mn,index:Ye,dataIndex:Ni,render:Fi,shouldCellUpdate:na.shouldCellUpdate},ha,{appendNode:Ta,additionalProps:Pa}))})),li;if(jt&&(Wr||Nr)){var di=Yi(mn,Ye,on+1,Nr),Ri=ki&&ki(mn,Ye,on);li=o.createElement(de,{expanded:Nr,className:i()("".concat(bn,"-expanded-row"),"".concat(bn,"-expanded-row-level-").concat(on+1),Ri),prefixCls:bn,fixHeader:Wn,fixColumn:Gn,horizonScroll:ri,component:xn,componentWidth:Si,cellComponent:An,colSpan:oi.length},di)}var la;return $t&&Nr&&(la=(mn[Pn]||[]).map(function(na,ga){var Fi=lr(na,ga);return o.createElement(Ce,Object.assign({},Vt,{key:Fi,rowKey:Fi,record:na,recordKey:Fi,index:ga,indent:on+1}))})),o.createElement(o.Fragment,null,Dn,li,la)}Ce.displayName="BodyRow";var we=Ce,le=o.createContext(null),fe=le;function xe(Vt){var Qr=Vt.columnKey,an=Vt.onColumnResize,mn=o.useRef();return o.useEffect(function(){mn.current&&an(Qr,mn.current.offsetWidth)},[]),o.createElement(g.a,{onResize:function(It){var lr=It.offsetWidth;an(Qr,lr)}},o.createElement("td",{ref:mn,style:{padding:0,border:0,height:0}},o.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function We(Vt){var Qr=Vt.data,an=Vt.getRowKey,mn=Vt.measureColumnWidth,Ye=Vt.expandedKeys,It=Vt.onRow,lr=Vt.rowExpandable,sr=Vt.emptyNode,Lr=Vt.childrenColumnName,Pr=o.useContext(fe),Kr=Pr.onColumnResize,on=o.useContext(Y),xn=on.prefixCls,An=on.getComponent,Pn=o.useContext(Q),Un=Pn.fixHeader,bn=Pn.horizonScroll,_n=Pn.flattenColumns,Tn=Pn.componentWidth;return o.useMemo(function(){var Wn=An(["body","wrapper"],"tbody"),Gn=An(["body","row"],"tr"),ri=An(["body","cell"],"td"),Si;Qr.length?Si=Qr.map(function(Pi,Hi){var _i=an(Pi,Hi);return o.createElement(we,{key:_i,rowKey:_i,record:Pi,recordKey:_i,index:Hi,rowComponent:Gn,cellComponent:ri,expandedKeys:Ye,onRow:It,getRowKey:an,rowExpandable:lr,childrenColumnName:Lr})}):Si=o.createElement(de,{expanded:!0,className:"".concat(xn,"-placeholder"),prefixCls:xn,fixHeader:Un,fixColumn:bn,horizonScroll:bn,component:Gn,componentWidth:Tn,cellComponent:ri,colSpan:_n.length},sr);var oi=R(_n);return o.createElement(Wn,{className:"".concat(xn,"-tbody")},mn&&o.createElement("tr",{"aria-hidden":"true",className:"".concat(xn,"-measure-row"),style:{height:0}},oi.map(function(Pi){return o.createElement(xe,{key:Pi,columnKey:Pi,onColumnResize:Kr})})),Si)},[Qr,xn,It,mn,Ye,an,An,Tn,sr,_n])}var nt=o.memo(We);nt.displayName="Body";var $e=nt,Le=d("Zm9Q");function pt(Vt){return Object(Le.a)(Vt).filter(function(Qr){return o.isValidElement(Qr)}).map(function(Qr){var an=Qr.key,mn=Qr.props,Ye=mn.children,It=Object(S.a)(mn,["children"]),lr=Object(s.a)({key:an},It);return Ye&&(lr.children=pt(Ye)),lr})}function Qe(Vt){return Vt.reduce(function(Qr,an){var mn=an.fixed,Ye=mn===!0?"left":mn,It=an.children;return It&&It.length>0?[].concat(Object(e.a)(Qr),Object(e.a)(Qe(It).map(function(lr){return Object(s.a)({fixed:Ye},lr)}))):[].concat(Object(e.a)(Qr),[Object(s.a)(Object(s.a)({},an),{},{fixed:Ye})])},[])}function gt(Vt){for(var Qr=!0,an=0;an<Vt.length;an+=1){var mn=Vt[an];if(Qr&&mn.fixed!=="left")Qr=!1;else if(!Qr&&mn.fixed==="left"){Object(f.a)(!1,"Index ".concat(an-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ye=!0,It=Vt.length-1;It>=0;It-=1){var lr=Vt[It];if(Ye&&lr.fixed!=="right")Ye=!1;else if(!Ye&&lr.fixed==="right"){Object(f.a)(!1,"Index ".concat(It+1," of `columns` missing `fixed='right'` prop."));break}}}function wt(Vt){return Vt.map(function(Qr){var an=Qr.fixed,mn=Object(S.a)(Qr,["fixed"]),Ye=an;return an==="left"?Ye="right":an==="right"&&(Ye="left"),Object(s.a)({fixed:Ye},mn)})}function Et(Vt,Qr){var an=Vt.prefixCls,mn=Vt.columns,Ye=Vt.children,It=Vt.expandable,lr=Vt.expandedKeys,sr=Vt.getRowKey,Lr=Vt.onTriggerExpand,Pr=Vt.expandIcon,Kr=Vt.rowExpandable,on=Vt.expandIconColumnIndex,xn=Vt.direction,An=Vt.expandRowByClick,Pn=o.useMemo(function(){return mn||pt(Ye)},[mn,Ye]),Un=o.useMemo(function(){if(It){var Tn,Wn=on||0,Gn=Pn[Wn],ri=(Tn={},Object(t.a)(Tn,De,{className:"".concat(an,"-expand-icon-col")}),Object(t.a)(Tn,"title",""),Object(t.a)(Tn,"fixed",Gn?Gn.fixed:null),Object(t.a)(Tn,"className","".concat(an,"-row-expand-icon-cell")),Object(t.a)(Tn,"render",function(Pi,Hi,_i){var pi=sr(Hi,_i),ki=lr.has(pi),zn=Kr?Kr(Hi):!0,ji=Pr({prefixCls:an,expanded:ki,expandable:zn,record:Hi,onExpand:Lr});return An?o.createElement("span",{onClick:function(ta){return ta.stopPropagation()}},ji):ji}),Tn),Si=Pn.slice();return Wn>=0&&Si.splice(Wn,0,ri),Si}return Pn},[It,Pn,sr,lr,Pr,xn]),bn=o.useMemo(function(){var Tn=Un;return Qr&&(Tn=Qr(Tn)),Tn.length||(Tn=[{render:function(){return null}}]),Tn},[Qr,Un,xn]),_n=o.useMemo(function(){return xn==="rtl"?wt(Qe(bn)):Qe(bn)},[bn,xn]);return[bn,_n]}var _t=Et,Ht=d("xEkU"),Ze=d.n(Ht);function ye(Vt){var Qr=Object(o.useRef)(Vt),an=Object(o.useState)({}),mn=Object(l.a)(an,2),Ye=mn[1],It=Object(o.useRef)(null),lr=Object(o.useRef)([]);function sr(Lr){It.current===null&&(lr.current=[],It.current=Ze()(function(){lr.current.forEach(function(Pr){Qr.current=Pr(Qr.current)}),It.current=null,Ye({})})),lr.current.push(Lr)}return Object(o.useEffect)(function(){return function(){Ze.a.cancel(It.current)}},[]),[Qr.current,sr]}function ae(Vt){var Qr=Object(o.useRef)(Vt),an=Object(o.useRef)(null);function mn(){window.clearTimeout(an.current)}function Ye(lr){Qr.current=lr,mn(),an.current=window.setTimeout(function(){Qr.current=null,an.current=null},100)}function It(){return Qr.current}return Object(o.useEffect)(function(){return mn},[]),[Ye,It]}function yt(Vt,Qr,an){var mn=Object(o.useMemo)(function(){for(var Ye=[],It=[],lr=0,sr=0,Lr=0;Lr<Qr;Lr+=1)if(an==="rtl"){It[Lr]=sr,sr+=Vt[Lr]||0;var Pr=Qr-Lr-1;Ye[Pr]=lr,lr+=Vt[Pr]||0}else{Ye[Lr]=lr,lr+=Vt[Lr]||0;var Kr=Qr-Lr-1;It[Kr]=sr,sr+=Vt[Kr]||0}return{left:Ye,right:It}},[Vt,Qr,an]);return mn}var et=yt;function me(Vt){var Qr=Vt.className,an=Vt.children;return o.createElement("div",{className:Qr},an)}var Gt=me;function rr(Vt){var Qr=Vt.className,an=Vt.index,mn=Vt.children,Ye=Vt.colSpan,It=Vt.rowSpan,lr=o.useContext(Y),sr=lr.prefixCls,Lr=lr.fixedInfoList,Pr=Lr[an];return o.createElement(V,Object.assign({className:Qr,index:an,component:"td",prefixCls:sr,record:null,dataIndex:null,render:function(){return{children:mn,props:{colSpan:Ye,rowSpan:It}}}},Pr))}function ut(Vt){return o.createElement("tr",Object.assign({},Vt))}function Xt(Vt){var Qr=Vt.children,an=o.useContext(Y),mn=an.prefixCls;return o.createElement("tfoot",{className:"".concat(mn,"-summary")},Qr)}var ur=Xt,Fr={Cell:rr,Row:ut};function er(Vt){var Qr,an=Vt.prefixCls,mn=Vt.record,Ye=Vt.onExpand,It=Vt.expanded,lr=Vt.expandable,sr="".concat(an,"-row-expand-icon");if(!lr)return o.createElement("span",{className:i()(sr,"".concat(an,"-row-spaced"))});var Lr=function(Kr){Ye(mn,Kr),Kr.stopPropagation()};return o.createElement("span",{className:i()(sr,(Qr={},Object(t.a)(Qr,"".concat(an,"-row-expanded"),It),Object(t.a)(Qr,"".concat(an,"-row-collapsed"),!It),Qr)),onClick:Lr})}function nr(Vt,Qr,an){var mn=[];function Ye(It){(It||[]).forEach(function(lr,sr){mn.push(Qr(lr,sr)),Ye(lr[an])})}return Ye(Vt),mn}var Lt=d("zT1h"),at=d("y0+3"),Je=function(Qr,an){var mn,Ye,It=Qr.scrollBodyRef,lr=Qr.onScroll,sr=Qr.offsetScroll,Lr=o.useContext(Y),Pr=Lr.prefixCls,Kr=((mn=It.current)===null||mn===void 0?void 0:mn.scrollWidth)||0,on=((Ye=It.current)===null||Ye===void 0?void 0:Ye.clientWidth)||0,xn=Kr&&on*(on/Kr),An=o.useRef(),Pn=ye({scrollLeft:0,isHiddenScrollBar:!1}),Un=Object(l.a)(Pn,2),bn=Un[0],_n=Un[1],Tn=o.useRef({delta:0,x:0}),Wn=o.useState(!1),Gn=Object(l.a)(Wn,2),ri=Gn[0],Si=Gn[1],oi=function(){Si(!1)},Pi=function(zn){zn.persist(),Tn.current.delta=zn.pageX-bn.scrollLeft,Tn.current.x=0,Si(!0),zn.preventDefault()},Hi=function(zn){var ji,Yi=zn||((ji=window)===null||ji===void 0?void 0:ji.event),ta=Yi.buttons;if(!ri||ta===0){ri&&Si(!1);return}var Zi=Tn.current.x+zn.pageX-Tn.current.x-Tn.current.delta;Zi<=0&&(Zi=0),Zi+xn>=on&&(Zi=on-xn),lr({scrollLeft:Zi/on*(Kr+2)}),Tn.current.x=zn.pageX},_i=function(){var zn=Object(at.b)(It.current).top,ji=zn+It.current.offsetHeight,Yi=document.documentElement.scrollTop+window.innerHeight;ji-Object(v.a)()<=Yi||zn>=Yi-sr?_n(function(ta){return Object(s.a)(Object(s.a)({},ta),{},{isHiddenScrollBar:!0})}):_n(function(ta){return Object(s.a)(Object(s.a)({},ta),{},{isHiddenScrollBar:!1})})},pi=function(zn){_n(function(ji){return Object(s.a)(Object(s.a)({},ji),{},{scrollLeft:zn/Kr*on||0})})};return o.useImperativeHandle(an,function(){return{setScrollLeft:pi}}),o.useEffect(function(){var ki=Object(Lt.a)(document.body,"mouseup",oi,!1),zn=Object(Lt.a)(document.body,"mousemove",Hi,!1);return _i(),function(){ki.remove(),zn.remove()}},[xn,ri]),o.useEffect(function(){var ki=Object(Lt.a)(window,"scroll",_i,!1),zn=Object(Lt.a)(window,"resize",_i,!1);return function(){ki.remove(),zn.remove()}},[]),o.useEffect(function(){bn.isHiddenScrollBar||_n(function(ki){var zn,ji;return Object(s.a)(Object(s.a)({},ki),{},{scrollLeft:It.current.scrollLeft/((zn=It.current)===null||zn===void 0?void 0:zn.scrollWidth)*((ji=It.current)===null||ji===void 0?void 0:ji.clientWidth)})})},[bn.isHiddenScrollBar]),Kr<=on||!xn||bn.isHiddenScrollBar?null:o.createElement("div",{style:{height:Object(v.a)(),width:on,bottom:sr},className:"".concat(Pr,"-sticky-scroll")},o.createElement("div",{onMouseDown:Pi,ref:An,className:i()("".concat(Pr,"-sticky-scroll-bar"),Object(t.a)({},"".concat(Pr,"-sticky-scroll-bar-active"),ri)),style:{width:"".concat(xn,"px"),transform:"translate3d(".concat(bn.scrollLeft,"px, 0, 0)")}}))},qt=o.forwardRef(Je);function Sr(Vt,Qr){return o.useMemo(function(){var an=!!Vt;return{isSticky:an,stickyClassName:an?"".concat(Qr,"-sticky-header"):"",offsetHeader:Object(a.a)(Vt)==="object"&&Vt.offsetHeader||0,offsetScroll:Object(a.a)(Vt)==="object"&&Vt.offsetScroll||0}},[Vt,Qr])}var yr=[],fr={},yn="rc-table-internal-hook",Jr=o.memo(function(Vt){var Qr=Vt.children;return Qr},function(Vt,Qr){return h()(Vt.props,Qr.props)?Vt.pingLeft!==Qr.pingLeft||Vt.pingRight!==Qr.pingRight:!1});function Ln(Vt){var Qr,an=Vt.prefixCls,mn=Vt.className,Ye=Vt.rowClassName,It=Vt.style,lr=Vt.data,sr=Vt.rowKey,Lr=Vt.scroll,Pr=Vt.tableLayout,Kr=Vt.direction,on=Vt.title,xn=Vt.footer,An=Vt.summary,Pn=Vt.id,Un=Vt.showHeader,bn=Vt.components,_n=Vt.emptyText,Tn=Vt.onRow,Wn=Vt.onHeaderRow,Gn=Vt.internalHooks,ri=Vt.transformColumns,Si=Vt.internalRefs,oi=Vt.sticky,Pi=lr||yr,Hi=!!Pi.length,_i=o.useState(0),pi=Object(l.a)(_i,2),ki=pi[0],zn=pi[1];o.useEffect(function(){zn(Object(v.a)())});var ji=o.useMemo(function(){return D(bn,{})},[bn]),Yi=o.useCallback(function(lo,Ao){return N(ji,lo)||Ao},[ji]),ta=o.useMemo(function(){return typeof sr=="function"?sr:function(lo){var Ao=lo&&lo[sr];return Ao}},[sr]),Zi=ce(Vt),br=Zi.expandIcon,Wr=Zi.expandedRowKeys,nn=Zi.defaultExpandedRowKeys,Nr=Zi.defaultExpandAllRows,jt=Zi.expandedRowRender,xr=Zi.onExpand,$t=Zi.onExpandedRowsChange,jr=Zi.expandRowByClick,Hr=Zi.rowExpandable,ln=Zi.expandIconColumnIndex,qr=Zi.expandedRowClassName,fn=Zi.childrenColumnName,Dn=Zi.indentSize,li=br||er,di=fn||"children",Ri=o.useMemo(function(){return jt?"row":Vt.expandable&&Gn===yn&&Vt.expandable.__PARENT_RENDER_ICON__||Pi.some(function(lo){return lo&&Object(a.a)(lo)==="object"&&lo[di]})?"nest":!1},[!!jt,Pi]),la=o.useState(function(){return nn||(Nr?nr(Pi,ta,di):[])}),na=Object(l.a)(la,2),ga=na[0],Fi=na[1],Ni=o.useMemo(function(){return new Set(Wr||ga||[])},[Wr,ga]),ia=o.useCallback(function(lo){var Ao=ta(lo,Pi.indexOf(lo)),Uo,hs=Ni.has(Ao);hs?(Ni.delete(Ao),Uo=Object(e.a)(Ni)):Uo=[].concat(Object(e.a)(Ni),[Ao]),Fi(Uo),xr&&xr(!hs,lo),$t&&$t(Uo)},[ta,Ni,Pi,xr,$t]),Ji=o.useState(0),ha=Object(l.a)(Ji,2),Ta=ha[0],Pa=ha[1],bi=_t(Object(s.a)(Object(s.a)(Object(s.a)({},Vt),Zi),{},{expandable:!!jt,expandedKeys:Ni,getRowKey:ta,onTriggerExpand:ia,expandIcon:li,expandIconColumnIndex:ln,direction:Kr}),Gn===yn?ri:null),Qn=Object(l.a)(bi,2),vi=Qn[0],Ai=Qn[1],Gi=o.useMemo(function(){return{columns:vi,flattenColumns:Ai}},[vi,Ai]),Oi=o.useRef(),pa=o.useRef(),Ma=o.useRef(),fa=o.useState(!1),ua=Object(l.a)(fa,2),ra=ua[0],Ra=ua[1],eo=o.useState(!1),qi=Object(l.a)(eo,2),qa=qi[0],Ya=qi[1],Ka=ye(new Map),ao=Object(l.a)(Ka,2),Va=ao[0],Ba=ao[1],go=R(Ai),so=go.map(function(lo){return Va.get(lo)}),vo=o.useMemo(function(){return so},[so.join("_")]),to=et(vo,Ai.length,Kr),ro=Lr&&B(Lr.y),Ca=Lr&&B(Lr.x),Ha=Ca&&Ai.some(function(lo){var Ao=lo.fixed;return Ao}),Na=o.useRef(),oo=Sr(oi,an),Ga=oo.isSticky,Ki=oo.offsetHeader,Xa=oo.offsetScroll,No=oo.stickyClassName,_o,Vo,Go;ro&&(Vo={overflowY:"scroll",maxHeight:Lr.y}),Ca&&(_o={overflowX:"auto"},ro||(Vo={overflowY:"hidden"}),Go={width:Lr.x===!0?"auto":Lr.x,minWidth:"100%"});var bo=o.useCallback(function(lo,Ao){Ba(function(Uo){var hs=new Map(Uo);return hs.set(lo,Ao),hs})},[]),Da=ae(null),Ho=Object(l.a)(Da,2),ds=Ho[0],fo=Ho[1];function Oo(lo,Ao){if(!Ao)return;typeof Ao=="function"?Ao(lo):Ao.scrollLeft!==lo&&(Ao.scrollLeft=lo)}var Wa=function(Ao){var Uo=Ao.currentTarget,hs=Ao.scrollLeft,vs=typeof hs=="number"?hs:Uo.scrollLeft,ss=Uo||fr;if(!fo()||fo()===ss){var Cs;ds(ss),Oo(vs,pa.current),Oo(vs,Ma.current),Oo(vs,(Cs=Na.current)===null||Cs===void 0?void 0:Cs.setScrollLeft)}if(Uo){var ol=Uo.scrollWidth,Ls=Uo.clientWidth;Ra(vs>0),Ya(vs<ol-Ls)}},Xo=function(){Ma.current&&Wa({currentTarget:Ma.current})},Zs=function(Ao){var Uo=Ao.width;Xo(),Pa(Oi.current?Oi.current.offsetWidth:Uo)};o.useEffect(function(){return Xo},[]),o.useEffect(function(){Ca&&Xo()},[Ca]),o.useEffect(function(){Gn===yn&&Si&&(Si.body.current=Ma.current)});var Ps=Yi(["table"],"table"),_s=o.useMemo(function(){return Pr||(Ha?Lr.x==="max-content"?"auto":"fixed":ro||Ai.some(function(lo){var Ao=lo.ellipsis;return Ao})?"fixed":"auto")},[ro,Ha,Ai,Pr]),Es,Ts={colWidths:vo,columCount:Ai.length,stickyOffsets:to,onHeaderRow:Wn,fixHeader:ro},ws=o.useMemo(function(){return Hi?null:typeof _n=="function"?_n():_n},[Hi,_n]),Do=o.createElement($e,{data:Pi,measureColumnWidth:ro||Ca||Ga,expandedKeys:Ni,rowExpandable:Hr,getRowKey:ta,onRow:Tn,emptyNode:ws,childrenColumnName:di}),po=o.createElement($,{colWidths:Ai.map(function(lo){var Ao=lo.width;return Ao}),columns:Ai}),rs=An&&o.createElement(ur,null,An(Pi)),Yo=Yi(["body"]);if(ro||Ga){var Fo;typeof Yo=="function"?(Fo=Yo(Pi,{scrollbarSize:ki,ref:Ma,onScroll:Wa}),Ts.colWidths=Ai.map(function(lo,Ao){var Uo=lo.width,hs=Ao===vi.length-1?Uo-ki:Uo;return typeof hs=="number"&&!Number.isNaN(hs)?hs:(Object(f.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):Fo=o.createElement("div",{style:Object(s.a)(Object(s.a)({},_o),Vo),onScroll:Wa,ref:Ma,className:i()("".concat(an,"-body"))},o.createElement(Ps,{style:Object(s.a)(Object(s.a)({},Go),{},{tableLayout:_s})},po,Do,rs),Ga&&o.createElement(qt,{ref:Na,offsetScroll:Xa,scrollBodyRef:Ma,onScroll:Wa})),Es=o.createElement(o.Fragment,null,Un!==!1&&o.createElement(X,Object.assign({noData:!Pi.length},Ts,Gi,{direction:Kr,offsetHeader:Ki,stickyClassName:No,ref:pa,onScroll:Wa})),Fo)}else Es=o.createElement("div",{style:Object(s.a)(Object(s.a)({},_o),Vo),className:i()("".concat(an,"-content")),onScroll:Wa,ref:Ma},o.createElement(Ps,{style:Object(s.a)(Object(s.a)({},Go),{},{tableLayout:_s})},po,Un!==!1&&o.createElement(pe,Object.assign({},Ts,Gi)),Do,rs));var zr=Oe(Vt),Jo=o.createElement("div",Object.assign({className:i()(an,mn,(Qr={},Object(t.a)(Qr,"".concat(an,"-rtl"),Kr==="rtl"),Object(t.a)(Qr,"".concat(an,"-ping-left"),ra),Object(t.a)(Qr,"".concat(an,"-ping-right"),qa),Object(t.a)(Qr,"".concat(an,"-layout-fixed"),Pr==="fixed"),Object(t.a)(Qr,"".concat(an,"-fixed-header"),ro),Object(t.a)(Qr,"".concat(an,"-fixed-column"),Ha),Object(t.a)(Qr,"".concat(an,"-scroll-horizontal"),Ca),Object(t.a)(Qr,"".concat(an,"-has-fix-left"),Ai[0]&&Ai[0].fixed),Object(t.a)(Qr,"".concat(an,"-has-fix-right"),Ai[Ai.length-1]&&Ai[Ai.length-1].fixed==="right"),Qr)),style:It,id:Pn,ref:Oi},zr),o.createElement(Jr,{pingLeft:ra,pingRight:qa,props:Object(s.a)(Object(s.a)({},Vt),{},{stickyOffsets:to,mergedExpandedKeys:Ni})},on&&o.createElement(Gt,{className:"".concat(an,"-title")},on(Pi)),o.createElement("div",{className:"".concat(an,"-container")},Es),xn&&o.createElement(Gt,{className:"".concat(an,"-footer")},xn(Pi))));Ca&&(Jo=o.createElement(g.a,{onResize:Zs},Jo));var $s=o.useMemo(function(){return{prefixCls:an,getComponent:Yi,scrollbarSize:ki,direction:Kr,fixedInfoList:Ai.map(function(lo,Ao){return J(Ao,Ao,Ai,to,Kr)}),isSticky:Ga}},[an,Yi,ki,Kr,Ai,to,Kr,Ga]),Is=o.useMemo(function(){return Object(s.a)(Object(s.a)({},Gi),{},{tableLayout:_s,rowClassName:Ye,expandedRowClassName:qr,componentWidth:Ta,fixHeader:ro,fixColumn:Ha,horizonScroll:Ca,expandIcon:li,expandableType:Ri,expandRowByClick:jr,expandedRowRender:jt,onTriggerExpand:ia,expandIconColumnIndex:ln,indentSize:Dn})},[Gi,_s,Ye,qr,Ta,ro,Ha,Ca,li,Ri,jr,jt,ia,ln,Dn]),ks=o.useMemo(function(){return{onColumnResize:bo}},[bo]);return o.createElement(Y.Provider,{value:$s},o.createElement(Q.Provider,{value:Is},o.createElement(fe.Provider,{value:ks},Jo)))}Ln.Column=w,Ln.ColumnGroup=E,Ln.Summary=Fr,Ln.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Nt=Ln,Ve=Nt,_e=d("W9HT"),ke=d("NUBc"),Pe=d("H84U"),rt=function(Vt,Qr){var an={};for(var mn in Vt)Object.prototype.hasOwnProperty.call(Vt,mn)&&Qr.indexOf(mn)<0&&(an[mn]=Vt[mn]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,mn=Object.getOwnPropertySymbols(Vt);Ye<mn.length;Ye++)Qr.indexOf(mn[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Vt,mn[Ye])&&(an[mn[Ye]]=Vt[mn[Ye]]);return an},Pt=10;function Yt(Vt,Qr){var an={current:Qr.current,pageSize:Qr.pageSize},mn=Vt&&x()(Vt)==="object"?Vt:{};return Object.keys(mn).forEach(function(Ye){var It=Qr[Ye];typeof It!="function"&&(an[Ye]=It)}),an}function kt(){for(var Vt={},Qr=arguments.length,an=new Array(Qr),mn=0;mn<Qr;mn++)an[mn]=arguments[mn];return an.forEach(function(Ye){Ye&&Object.keys(Ye).forEach(function(It){var lr=Ye[It];lr!==void 0&&(Vt[It]=lr)})}),Vt}function _r(Vt,Qr,an){var mn=Qr&&x()(Qr)==="object"?Qr:{},Ye=mn.total,It=Ye===void 0?0:Ye,lr=rt(mn,["total"]),sr=Object(o.useState)(function(){return{current:"defaultCurrent"in lr?lr.defaultCurrent:1,pageSize:"defaultPageSize"in lr?lr.defaultPageSize:Pt}}),Lr=m()(sr,2),Pr=Lr[0],Kr=Lr[1],on=kt(Pr,lr,{total:It>0?It:Vt});if(!It){var xn=Math.ceil(Vt/on.pageSize);xn<on.current&&(on.current=1)}var An=function(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,_n=arguments.length>1?arguments[1]:void 0;Kr(c()(c()({},on),{current:bn,pageSize:_n||on.pageSize}))},Pn=function(bn,_n){var Tn=on==null?void 0:on.pageSize;_n&&_n!==Tn&&(bn=1,Qr&&Qr.onShowSizeChange&&Qr.onShowSizeChange(bn,_n)),Qr&&Qr.onChange&&Qr.onChange(bn,_n),An(bn,_n),an(bn,_n||Tn)};return Qr===!1?[{},function(){}]:[c()(c()({},on),{onChange:Pn}),An]}function Rr(Vt,Qr,an){var mn=o.useRef({});function Ye(It){if(!mn.current||mn.current.data!==Vt||mn.current.childrenColumnName!==Qr||mn.current.getRowKey!==an){var lr=function Lr(Pr){Pr.forEach(function(Kr,on){var xn=an(Kr,on);sr.set(xn,Kr),Kr&&x()(Kr)==="object"&&Qr in Kr&&Lr(Kr[Qr]||[])})},sr=new Map;lr(Vt),mn.current={data:Vt,childrenColumnName:Qr,kvMap:sr,getRowKey:an}}return mn.current.kvMap.get(It)}return[Ye]}var un=d("SA+Z"),Ut=d.n(un),ht=d("RIqP"),ot=d.n(ht),Wt=d("HQEm"),Jt=d.n(Wt),At=d("815F"),Bt=d("NvD2"),mt=d("OZM5"),Mt=d("6cGi"),hr=d("kaz8"),or=d("jsC+"),ar=d("BvKs"),Gr=d("9yH6"),Yr=d("uaoM"),In="SELECT_ALL",Nn="SELECT_INVERT";function Kn(Vt){return Vt&&Vt.fixed}function $n(Vt,Qr){var an=[];return(Vt||[]).forEach(function(mn){an.push(mn),mn&&x()(mn)==="object"&&Qr in mn&&(an=[].concat(ot()(an),ot()($n(mn[Qr],Qr))))}),an}function Ii(Vt,Qr){var an=Vt||{},mn=an.preserveSelectedRowKeys,Ye=an.selectedRowKeys,It=an.getCheckboxProps,lr=an.onChange,sr=an.onSelect,Lr=an.onSelectAll,Pr=an.onSelectInvert,Kr=an.onSelectMultiple,on=an.columnWidth,xn=an.type,An=an.selections,Pn=an.fixed,Un=an.renderCell,bn=an.hideSelectAll,_n=an.checkStrictly,Tn=_n===void 0?!0:_n,Wn=Qr.prefixCls,Gn=Qr.data,ri=Qr.pageData,Si=Qr.getRecordByKey,oi=Qr.getRowKey,Pi=Qr.expandType,Hi=Qr.childrenColumnName,_i=Qr.locale,pi=Qr.expandIconColumnIndex,ki=Qr.getPopupContainer,zn=o.useRef(new Map),ji=Object(Mt.a)(Ye||[],{value:Ye}),Yi=m()(ji,2),ta=Yi[0],Zi=Yi[1],br=Object(o.useMemo)(function(){return Tn?{keyEntities:null}:Object(At.a)(Gn,void 0,oi)},[Gn,oi,Tn]),Wr=br.keyEntities,nn=Object(o.useMemo)(function(){return $n(ri,Hi)},[ri,Hi]),Nr=Object(o.useMemo)(function(){var Fi=new Map;return nn.forEach(function(Ni,ia){var Ji=oi(Ni,ia),ha=(It?It(Ni):null)||{};Fi.set(Ji,ha)}),Fi},[nn,oi,It]),jt=Object(o.useCallback)(function(Fi){var Ni;return!!((Ni=Nr.get(oi(Fi)))===null||Ni===void 0?void 0:Ni.disabled)},[Nr,oi]),xr=Object(o.useMemo)(function(){if(Tn)return[ta,[]];var Fi=Object(Bt.a)(ta,!0,Wr,jt),Ni=Fi.checkedKeys,ia=Fi.halfCheckedKeys;return[Ni,ia]},[ta,Tn,Wr,jt]),$t=m()(xr,2),jr=$t[0],Hr=$t[1],ln=Object(o.useMemo)(function(){var Fi=xn==="radio"?jr.slice(0,1):jr;return new Set(Fi)},[jr,xn]),qr=Object(o.useMemo)(function(){return xn==="radio"?new Set:new Set(Hr)},[Hr,xn]),fn=Object(o.useState)(null),Dn=m()(fn,2),li=Dn[0],di=Dn[1];o.useEffect(function(){Vt||Zi([])},[!!Vt]);var Ri=Object(o.useCallback)(function(Fi){var Ni,ia;if(mn){var Ji=new Map;Ni=Fi,ia=Fi.map(function(ha){var Ta=Si(ha);return!Ta&&zn.current.has(ha)&&(Ta=zn.current.get(ha)),Ji.set(ha,Ta),Ta}),zn.current=Ji}else Ni=[],ia=[],Fi.forEach(function(ha){var Ta=Si(ha);Ta!==void 0&&(Ni.push(ha),ia.push(Ta))});Zi(Ni),lr&&lr(Ni,ia)},[Zi,Si,lr,mn]),la=Object(o.useCallback)(function(Fi,Ni,ia,Ji){if(sr){var ha=ia.map(function(Ta){return Si(Ta)});sr(Si(Fi),Ni,ha,Ji)}Ri(ia)},[sr,Si,Ri]),na=Object(o.useMemo)(function(){if(!An||bn)return null;var Fi=An===!0?[In,Nn]:An;return Fi.map(function(Ni){return Ni===In?{key:"all",text:_i.selectionAll,onSelect:function(){Ri(Gn.map(function(Ji,ha){return oi(Ji,ha)}))}}:Ni===Nn?{key:"invert",text:_i.selectInvert,onSelect:function(){var Ji=new Set(ln);ri.forEach(function(Ta,Pa){var bi=oi(Ta,Pa);Ji.has(bi)?Ji.delete(bi):Ji.add(bi)});var ha=Array.from(Ji);Ri(ha),Pr&&(Object(Yr.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Pr(ha))}}:Ni})},[An,ln,ri,oi,Pr,Ri]),ga=Object(o.useCallback)(function(Fi){if(!Vt)return Fi;var Ni=new Set(ln),ia=nn.map(oi).filter(function(ra){return!Nr.get(ra).disabled}),Ji=ia.every(function(ra){return Ni.has(ra)}),ha=ia.some(function(ra){return Ni.has(ra)}),Ta=function(){var Ra=[];Ji?ia.forEach(function(qi){Ni.delete(qi),Ra.push(qi)}):ia.forEach(function(qi){Ni.has(qi)||(Ni.add(qi),Ra.push(qi))});var eo=Array.from(Ni);Ri(eo),Lr&&Lr(!Ji,eo.map(function(qi){return Si(qi)}),Ra.map(function(qi){return Si(qi)}))},Pa;if(xn!=="radio"){var bi;if(na){var Qn=o.createElement(ar.a,{getPopupContainer:ki},na.map(function(ra,Ra){var eo=ra.key,qi=ra.text,qa=ra.onSelect;return o.createElement(ar.a.Item,{key:eo||Ra,onClick:function(){qa&&qa(ia)}},qi)}));bi=o.createElement("div",{className:"".concat(Wn,"-selection-extra")},o.createElement(or.a,{overlay:Qn,getPopupContainer:ki},o.createElement("span",null,o.createElement(Jt.a,null))))}var vi=nn.every(function(ra,Ra){var eo=oi(ra,Ra),qi=Nr.get(eo)||{};return qi.disabled});Pa=!bn&&o.createElement("div",{className:"".concat(Wn,"-selection")},o.createElement(hr.a,{checked:!vi&&!!nn.length&&Ji,indeterminate:!Ji&&ha,onChange:Ta,disabled:nn.length===0||vi}),bi)}var Ai;xn==="radio"?Ai=function(Ra,eo,qi){var qa=oi(eo,qi),Ya=Ni.has(qa);return{node:o.createElement(Gr.a,c()({},Nr.get(qa),{checked:Ya,onClick:function(ao){return ao.stopPropagation()},onChange:function(ao){Ni.has(qa)||la(qa,!0,[qa],ao.nativeEvent)}})),checked:Ya}}:Ai=function(Ra,eo,qi){var qa,Ya=oi(eo,qi),Ka=Ni.has(Ya),ao=qr.has(Ya),Va=Nr.get(Ya),Ba;return Pi==="nest"?(Ba=ao,Object(Yr.a)(!(typeof(Va==null?void 0:Va.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):Ba=(qa=Va==null?void 0:Va.indeterminate)!==null&&qa!==void 0?qa:ao,{node:o.createElement(hr.a,c()({},Va,{indeterminate:Ba,checked:Ka,onClick:function(so){return so.stopPropagation()},onChange:function(so){var vo=so.nativeEvent,to=vo.shiftKey,ro=-1,Ca=-1;if(to&&Tn){var Ha=new Set([li,Ya]);ia.some(function(Da,Ho){if(Ha.has(Da))if(ro===-1)ro=Ho;else return Ca=Ho,!0;return!1})}if(Ca!==-1&&ro!==Ca&&Tn){var Na=ia.slice(ro,Ca+1),oo=[];Ka?Na.forEach(function(Da){Ni.has(Da)&&(oo.push(Da),Ni.delete(Da))}):Na.forEach(function(Da){Ni.has(Da)||(oo.push(Da),Ni.add(Da))});var Ga=Array.from(Ni);Ri(Ga),Kr&&Kr(!Ka,Ga.map(function(Da){return Si(Da)}),oo.map(function(Da){return Si(Da)}))}else{var Ki=jr;if(Tn){var Xa=Ka?Object(mt.b)(Ki,Ya):Object(mt.a)(Ki,Ya);la(Ya,!Ka,Xa,vo)}else{var No=Object(Bt.a)([].concat(ot()(Ki),[Ya]),!0,Wr,jt),_o=No.checkedKeys,Vo=No.halfCheckedKeys,Go=_o;if(Ka){var bo=new Set(_o);bo.delete(Ya),Go=Object(Bt.a)(Array.from(bo),{checked:!1,halfCheckedKeys:Vo},Wr,jt).checkedKeys}la(Ya,!Ka,Go,vo)}}di(Ya)}})),checked:Ka}};var Gi=function(Ra,eo,qi){var qa=Ai(Ra,eo,qi),Ya=qa.node,Ka=qa.checked;return Un?Un(Ka,eo,qi,Ya):Ya},Oi=A()({width:on,className:"".concat(Wn,"-selection-column"),title:Vt.columnTitle||Pa,render:Gi},De,{className:"".concat(Wn,"-selection-col")});if(Pi==="row"&&Fi.length&&!pi){var pa=Ut()(Fi),Ma=pa[0],fa=pa.slice(1),ua=Pn||Kn(fa[0]);return ua&&(Ma.fixed=ua),[Ma,c()(c()({},Oi),{fixed:ua})].concat(ot()(fa))}return[c()(c()({},Oi),{fixed:Pn||Kn(Fi[0])})].concat(ot()(Fi))},[oi,nn,Vt,jr,ln,qr,on,na,Pi,li,Nr,Kr,la,jt]);return[ga,ln]}var Mi=d("6SEX"),Xe=d.n(Mi),Ie=d("i8CU"),Be=d.n(Ie),Fe=d("3S7+");function Ge(Vt,Qr){return"key"in Vt&&Vt.key!==void 0&&Vt.key!==null?Vt.key:Vt.dataIndex?Array.isArray(Vt.dataIndex)?Vt.dataIndex.join("."):Vt.dataIndex:Qr}function Ke(Vt,Qr){return Qr?"".concat(Qr,"-").concat(Vt):"".concat(Vt)}function qe(Vt,Qr){return typeof Vt=="function"?Vt(Qr):Vt}var vt="ascend",lt="descend";function Ft(Vt){return x()(Vt.sorter)==="object"&&typeof Vt.sorter.multiple=="number"?Vt.sorter.multiple:!1}function wr(Vt){return typeof Vt=="function"?Vt:Vt&&x()(Vt)==="object"&&Vt.compare?Vt.compare:!1}function pr(Vt,Qr){return Qr?Vt[Vt.indexOf(Qr)+1]:Vt[0]}function Dr(Vt,Qr,an){var mn=[];function Ye(It,lr){mn.push({column:It,key:Ge(It,lr),multiplePriority:Ft(It),sortOrder:It.sortOrder})}return(Vt||[]).forEach(function(It,lr){var sr=Ke(lr,an);It.children?("sortOrder"in It&&Ye(It,sr),mn=[].concat(ot()(mn),ot()(Dr(It.children,Qr,sr)))):It.sorter&&("sortOrder"in It?Ye(It,sr):Qr&&It.defaultSortOrder&&mn.push({column:It,key:Ge(It,sr),multiplePriority:Ft(It),sortOrder:It.defaultSortOrder}))}),mn}function zt(Vt,Qr,an,mn,Ye,It,lr,sr){return(Qr||[]).map(function(Lr,Pr){var Kr=Ke(Pr,sr),on=Lr;if(on.sorter){var xn=on.sortDirections||Ye,An=on.showSorterTooltip===void 0?lr:on.showSorterTooltip,Pn=Ge(on,Kr),Un=an.find(function(Hi){var _i=Hi.key;return _i===Pn}),bn=Un?Un.sortOrder:null,_n=pr(xn,bn),Tn=xn.includes(vt)&&o.createElement(Be.a,{className:i()("".concat(Vt,"-column-sorter-up"),{active:bn===vt})}),Wn=xn.includes(lt)&&o.createElement(Xe.a,{className:i()("".concat(Vt,"-column-sorter-down"),{active:bn===lt})}),Gn=It||{},ri=Gn.cancelSort,Si=Gn.triggerAsc,oi=Gn.triggerDesc,Pi=ri;_n===lt?Pi=oi:_n===vt&&(Pi=Si),on=c()(c()({},on),{className:i()(on.className,A()({},"".concat(Vt,"-column-sort"),bn)),title:function(_i){var pi=o.createElement("div",{className:"".concat(Vt,"-column-sorters")},o.createElement("span",null,qe(Lr.title,_i)),o.createElement("span",{className:i()("".concat(Vt,"-column-sorter"),A()({},"".concat(Vt,"-column-sorter-full"),Tn&&Wn))},o.createElement("span",{className:"".concat(Vt,"-column-sorter-inner")},Tn,Wn)));return An?o.createElement(Fe.a,{title:Pi},o.createElement("div",{className:"".concat(Vt,"-column-sorters-with-tooltip")},pi)):pi},onHeaderCell:function(_i){var pi=Lr.onHeaderCell&&Lr.onHeaderCell(_i)||{},ki=pi.onClick;return pi.onClick=function(zn){mn({column:Lr,key:Pn,sortOrder:_n,multiplePriority:Ft(Lr)}),ki&&ki(zn)},pi.className=i()(pi.className,"".concat(Vt,"-column-has-sorters")),pi}})}return"children"in on&&(on=c()(c()({},on),{children:zt(Vt,on.children,an,mn,Ye,It,lr,Kr)})),on})}function hn(Vt){var Qr=Vt.column,an=Vt.sortOrder;return{column:Qr,order:an,field:Qr.dataIndex,columnKey:Qr.key}}function ir(Vt){var Qr=Vt.filter(function(an){var mn=an.sortOrder;return mn}).map(hn);return Qr.length===0&&Vt.length?c()(c()({},hn(Vt[Vt.length-1])),{column:void 0}):Qr.length<=1?Qr[0]||{}:Qr}function Xr(Vt,Qr,an){var mn=Qr.slice().sort(function(lr,sr){return sr.multiplePriority-lr.multiplePriority}),Ye=Vt.slice(),It=mn.filter(function(lr){var sr=lr.column.sorter,Lr=lr.sortOrder;return wr(sr)&&Lr});return It.length?Ye.sort(function(lr,sr){for(var Lr=0;Lr<It.length;Lr+=1){var Pr=It[Lr],Kr=Pr.column.sorter,on=Pr.sortOrder,xn=wr(Kr);if(xn&&on){var An=xn(lr,sr,on);if(An!==0)return on===vt?An:-An}}return 0}).map(function(lr){var sr=lr[an];return sr?c()(c()({},lr),A()({},an,Xr(sr,Qr,an))):lr}):Ye}function Br(Vt){var Qr=Vt.prefixCls,an=Vt.mergedColumns,mn=Vt.onSorterChange,Ye=Vt.sortDirections,It=Vt.tableLocale,lr=Vt.showSorterTooltip,sr=o.useState(Dr(an,!0)),Lr=m()(sr,2),Pr=Lr[0],Kr=Lr[1],on=o.useMemo(function(){var bn=!0,_n=Dr(an,!1);if(!_n.length)return Pr;var Tn=[];function Wn(ri){bn?Tn.push(ri):Tn.push(c()(c()({},ri),{sortOrder:null}))}var Gn=null;return _n.forEach(function(ri){Gn===null?(Wn(ri),ri.sortOrder&&(ri.multiplePriority===!1?bn=!1:Gn=!0)):(Gn&&ri.multiplePriority!==!1||(bn=!1),Wn(ri))}),Tn},[an,Pr]),xn=o.useMemo(function(){var bn=on.map(function(_n){var Tn=_n.column,Wn=_n.sortOrder;return{column:Tn,order:Wn}});return{sortColumns:bn,sortColumn:bn[0]&&bn[0].column,sortOrder:bn[0]&&bn[0].order}},[on]);function An(bn){var _n;bn.multiplePriority===!1||!on.length||on[0].multiplePriority===!1?_n=[bn]:_n=[].concat(ot()(on.filter(function(Tn){var Wn=Tn.key;return Wn!==bn.key})),[bn]),Kr(_n),mn(ir(_n),_n)}var Pn=function(_n){return zt(Qr,_n,on,An,Ye,It,lr)},Un=function(){return ir(on)};return[Pn,on,xn,Un]}var vr=d("Y+p1"),Cn=d.n(vr),kn=d("5Uyt"),ei=d.n(kn),ii=d("2/Rp"),ti=d("ECub"),Ti=function(Qr){return o.createElement("div",{className:Qr.className,onClick:function(mn){return mn.stopPropagation()}},Qr.children)},Bn=Ti,Di=d("sPtV"),gn=ar.a.SubMenu,Vr=ar.a.Item;function Sn(Vt){return Vt.some(function(Qr){var an=Qr.children;return an})}function tn(Vt){var Qr=Vt.filters,an=Vt.prefixCls,mn=Vt.filteredKeys,Ye=Vt.filterMultiple,It=Vt.locale;return Qr.length===0?o.createElement(o.Fragment,null,o.createElement(ti.a,{image:ti.a.PRESENTED_IMAGE_SIMPLE,description:It.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Qr.map(function(lr,sr){var Lr=String(lr.value);if(lr.children)return o.createElement(gn,{key:Lr||sr,title:lr.text,popupClassName:"".concat(an,"-dropdown-submenu")},tn({filters:lr.children,prefixCls:an,filteredKeys:mn,filterMultiple:Ye,locale:It}));var Pr=Ye?hr.a:Gr.a;return o.createElement(Vr,{key:lr.value!==void 0?Lr:sr},o.createElement(Pr,{checked:mn.includes(Lr)}),o.createElement("span",null,lr.text))})}function ci(Vt){var Qr,an=Vt.prefixCls,mn=Vt.column,Ye=Vt.dropdownPrefixCls,It=Vt.columnKey,lr=Vt.filterMultiple,sr=Vt.filterState,Lr=Vt.triggerFilter,Pr=Vt.locale,Kr=Vt.children,on=Vt.getPopupContainer,xn=mn.filterDropdownVisible,An=mn.onFilterDropdownVisibleChange,Pn=o.useState(!1),Un=m()(Pn,2),bn=Un[0],_n=Un[1],Tn=!!(sr&&(((Qr=sr.filteredKeys)===null||Qr===void 0?void 0:Qr.length)||sr.forceFiltered)),Wn=function(Dn){_n(Dn),An&&An(Dn)},Gn=typeof xn=="boolean"?xn:bn,ri=sr&&sr.filteredKeys,Si=Object(Di.a)(ri||[]),oi=m()(Si,2),Pi=oi[0],Hi=oi[1],_i=function(Dn){var li=Dn.selectedKeys;Hi(li)};o.useEffect(function(){_i({selectedKeys:ri||[]})},[ri]);var pi=o.useState([]),ki=m()(pi,2),zn=ki[0],ji=ki[1],Yi=o.useRef(),ta=function(Dn){Yi.current=window.setTimeout(function(){ji(Dn)})},Zi=function(){window.clearTimeout(Yi.current)};o.useEffect(function(){return function(){window.clearTimeout(Yi.current)}},[]);var br=function(Dn){Wn(!1);var li=Dn&&Dn.length?Dn:null;if(li===null&&(!sr||!sr.filteredKeys))return null;if(Cn()(li,sr==null?void 0:sr.filteredKeys))return null;Lr({column:mn,key:It,filteredKeys:li})},Wr=function(){br(Pi())},nn=function(){Hi([]),br([])},Nr=function(Dn){Dn&&ri!==void 0&&Hi(ri||[]),Wn(Dn),!Dn&&!mn.filterDropdown&&Wr()},jt=i()(A()({},"".concat(Ye,"-menu-without-submenu"),!Sn(mn.filters||[]))),xr;if(typeof mn.filterDropdown=="function")xr=mn.filterDropdown({prefixCls:"".concat(Ye,"-custom"),setSelectedKeys:function(Dn){return _i({selectedKeys:Dn})},selectedKeys:Pi(),confirm:Wr,clearFilters:nn,filters:mn.filters,visible:Gn});else if(mn.filterDropdown)xr=mn.filterDropdown;else{var $t=Pi()||[];xr=o.createElement(o.Fragment,null,o.createElement(ar.a,{multiple:lr,prefixCls:"".concat(Ye,"-menu"),className:jt,onClick:Zi,onSelect:_i,onDeselect:_i,selectedKeys:$t,getPopupContainer:on,openKeys:zn,onOpenChange:ta},tn({filters:mn.filters||[],prefixCls:an,filteredKeys:Pi(),filterMultiple:lr,locale:Pr})),o.createElement("div",{className:"".concat(an,"-dropdown-btns")},o.createElement(ii.a,{type:"link",size:"small",disabled:$t.length===0,onClick:nn},Pr.filterReset),o.createElement(ii.a,{type:"primary",size:"small",onClick:Wr},Pr.filterConfirm)))}var jr=o.createElement(Bn,{className:"".concat(an,"-dropdown")},xr),Hr;typeof mn.filterIcon=="function"?Hr=mn.filterIcon(Tn):mn.filterIcon?Hr=mn.filterIcon:Hr=o.createElement(ei.a,null);var ln=o.useContext(Pe.b),qr=ln.direction;return o.createElement("div",{className:i()("".concat(an,"-column"))},o.createElement("span",{className:"".concat(an,"-column-title")},Kr),o.createElement("span",{className:i()("".concat(an,"-trigger-container"),A()({},"".concat(an,"-trigger-container-open"),Gn)),onClick:function(Dn){Dn.stopPropagation()}},o.createElement(or.a,{overlay:jr,trigger:["click"],visible:Gn,onVisibleChange:Nr,getPopupContainer:on,placement:qr==="rtl"?"bottomLeft":"bottomRight"},o.createElement("span",{role:"button",tabIndex:-1,className:i()("".concat(an,"-trigger"),{active:Tn})},Hr))))}var qn=ci;function wi(Vt,Qr,an){var mn=[];return(Vt||[]).forEach(function(Ye,It){var lr=Ke(It,an);"children"in Ye?mn=[].concat(ot()(mn),ot()(wi(Ye.children,Qr,lr))):(Ye.filters||"filterDropdown"in Ye||"onFilter"in Ye)&&("filteredValue"in Ye?mn.push({column:Ye,key:Ge(Ye,lr),filteredKeys:Ye.filteredValue,forceFiltered:Ye.filtered}):mn.push({column:Ye,key:Ge(Ye,lr),filteredKeys:Qr&&Ye.defaultFilteredValue?Ye.defaultFilteredValue:void 0,forceFiltered:Ye.filtered}))}),mn}function Jn(Vt,Qr,an,mn,Ye,It,lr,sr){return an.map(function(Lr,Pr){var Kr=Ke(Pr,sr),on=Lr.filterMultiple,xn=on===void 0?!0:on;if(Lr.filters||"filterDropdown"in Lr){var An=Ge(Lr,Kr),Pn=mn.find(function(Un){var bn=Un.key;return An===bn});return c()(c()({},Lr),{title:function(bn){return o.createElement(qn,{prefixCls:"".concat(Vt,"-filter"),dropdownPrefixCls:Qr,column:Lr,columnKey:An,filterState:Pn,filterMultiple:xn,triggerFilter:Ye,locale:lr,getPopupContainer:It},qe(Lr.title,bn))}})}return"children"in Lr?c()(c()({},Lr),{children:Jn(Vt,Qr,Lr.children,mn,Ye,It,lr,Kr)}):Lr})}function Qi(Vt){var Qr={};return Vt.forEach(function(an){var mn=an.key,Ye=an.filteredKeys;Qr[mn]=Ye||null}),Qr}function xi(Vt){var Qr=[];return(Vt||[]).forEach(function(an){var mn=an.value,Ye=an.children;Qr.push(mn),Ye&&(Qr=[].concat(ot()(Qr),ot()(xi(Ye))))}),Qr}function Ei(Vt,Qr){return Qr.reduce(function(an,mn){var Ye=mn.column,It=Ye.onFilter,lr=Ye.filters,sr=mn.filteredKeys;return It&&sr&&sr.length?an.filter(function(Lr){return sr.some(function(Pr){var Kr=xi(lr),on=Kr.findIndex(function(An){return String(An)===String(Pr)}),xn=on!==-1?Kr[on]:Pr;return It(xn,Lr)})}):an},Vt)}function dn(Vt){var Qr=Vt.prefixCls,an=Vt.dropdownPrefixCls,mn=Vt.mergedColumns,Ye=Vt.onFilterChange,It=Vt.getPopupContainer,lr=Vt.locale,sr=o.useState(wi(mn,!0)),Lr=m()(sr,2),Pr=Lr[0],Kr=Lr[1],on=o.useMemo(function(){var Un=wi(mn,!1);return Un.every(function(bn){var _n=bn.filteredKeys;return _n===void 0})?Pr:Un},[mn,Pr]),xn=o.useCallback(function(){return Qi(on)},[on]),An=function(bn){var _n=on.filter(function(Tn){var Wn=Tn.key;return Wn!==bn.key});_n.push(bn),Kr(_n),Ye(Qi(_n),_n)},Pn=function(bn){return Jn(Qr,an,bn,on,An,It,lr)};return[Pn,on,xn]}var Mr=dn;function wn(Vt,Qr){return Vt.map(function(an){var mn=c()({},an);return mn.title=qe(an.title,Qr),"children"in mn&&(mn.children=wn(mn.children,Qr)),mn})}function Rn(Vt){var Qr=o.useCallback(function(an){return wn(an,Vt)},[Vt]);return[Qr]}function Xn(Vt){return function(an){var mn,Ye=an.prefixCls,It=an.onExpand,lr=an.record,sr=an.expanded,Lr=an.expandable,Pr="".concat(Ye,"-row-expand-icon");return o.createElement("button",{type:"button",onClick:function(on){It(lr,on),on.stopPropagation()},className:i()(Pr,(mn={},A()(mn,"".concat(Pr,"-spaced"),!Lr),A()(mn,"".concat(Pr,"-expanded"),Lr&&sr),A()(mn,"".concat(Pr,"-collapsed"),Lr&&!sr),mn)),"aria-label":sr?Vt.collapse:Vt.expand})}}var Zn=Xn,hi=d("zAh6"),mi=d("ZvpZ"),gi=mi.a,Vi=d("3Nzz");function ma(Vt){return null}var ca=ma;function ja(Vt){return null}var fi=ja,cn=d("5OYt"),Bi=[];function sa(Vt){var Qr,an=Vt.prefixCls,mn=Vt.className,Ye=Vt.style,It=Vt.size,lr=Vt.bordered,sr=Vt.dropdownPrefixCls,Lr=Vt.dataSource,Pr=Vt.pagination,Kr=Vt.rowSelection,on=Vt.rowKey,xn=Vt.rowClassName,An=Vt.columns,Pn=Vt.children,Un=Vt.childrenColumnName,bn=Vt.onChange,_n=Vt.getPopupContainer,Tn=Vt.loading,Wn=Vt.expandIcon,Gn=Vt.expandable,ri=Vt.expandedRowRender,Si=Vt.expandIconColumnIndex,oi=Vt.indentSize,Pi=Vt.scroll,Hi=Vt.sortDirections,_i=Vt.locale,pi=Vt.showSorterTooltip,ki=pi===void 0?!0:pi;Object(Yr.a)(!(typeof on=="function"&&on.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var zn=Object(cn.a)(),ji=o.useMemo(function(){var bo=new Set(Object.keys(zn).filter(function(Da){return zn[Da]}));return(An||pt(Pn)).filter(function(Da){return!Da.responsive||Da.responsive.some(function(Ho){return bo.has(Ho)})})},[Pn,An,zn]),Yi=Object(n.default)(Vt,["className","style","columns"]),ta=o.useContext(Vi.b),Zi=o.useContext(Pe.b),br=Zi.locale,Wr=br===void 0?gi:br,nn=Zi.renderEmpty,Nr=Zi.direction,jt=It||ta,xr=c()(c()({},Wr.Table),_i),$t=Lr||Bi,jr=o.useContext(Pe.b),Hr=jr.getPrefixCls,ln=Hr("table",an),qr=Hr("dropdown",sr),fn=c()({childrenColumnName:Un,expandIconColumnIndex:Si},Gn),Dn=fn.childrenColumnName,li=Dn===void 0?"children":Dn,di=o.useMemo(function(){return $t.some(function(bo){var Da;return(Da=bo)===null||Da===void 0?void 0:Da[li]})?"nest":ri||Gn&&Gn.expandedRowRender?"row":null},[$t]),Ri={body:o.useRef()},la=o.useMemo(function(){return typeof on=="function"?on:function(bo){var Da;return(Da=bo)===null||Da===void 0?void 0:Da[on]}},[on]),na=Rr($t,li,la),ga=m()(na,1),Fi=ga[0],Ni={},ia=function(Da,Ho){var ds=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,fo=c()(c()({},Ni),Da);ds&&(Ni.resetPagination(),fo.pagination.current&&(fo.pagination.current=1),Pr&&Pr.onChange&&Pr.onChange(1,fo.pagination.pageSize)),Pi&&Pi.scrollToFirstRowOnChange!==!1&&Ri.body.current&&Object(hi.a)(0,{getContainer:function(){return Ri.body.current}}),bn&&bn(fo.pagination,fo.filters,fo.sorter,{currentDataSource:Ei(Xr($t,fo.sorterStates,li),fo.filterStates),action:Ho})},Ji=function(Da,Ho){ia({sorter:Da,sorterStates:Ho},"sort",!1)},ha=Br({prefixCls:ln,mergedColumns:ji,onSorterChange:Ji,sortDirections:Hi||["ascend","descend"],tableLocale:xr,showSorterTooltip:ki}),Ta=m()(ha,4),Pa=Ta[0],bi=Ta[1],Qn=Ta[2],vi=Ta[3],Ai=o.useMemo(function(){return Xr($t,bi,li)},[$t,bi]);Ni.sorter=vi(),Ni.sorterStates=bi;var Gi=function(Da,Ho){ia({filters:Da,filterStates:Ho},"filter",!0)},Oi=Mr({prefixCls:ln,locale:xr,dropdownPrefixCls:qr,mergedColumns:ji,onFilterChange:Gi,getPopupContainer:_n}),pa=m()(Oi,3),Ma=pa[0],fa=pa[1],ua=pa[2],ra=Ei(Ai,fa);Ni.filters=ua(),Ni.filterStates=fa;var Ra=o.useMemo(function(){return c()({},Qn)},[Qn]),eo=Rn(Ra),qi=m()(eo,1),qa=qi[0],Ya=function(Da,Ho){ia({pagination:c()(c()({},Ni.pagination),{current:Da,pageSize:Ho})},"paginate")},Ka=_r(ra.length,Pr,Ya),ao=m()(Ka,2),Va=ao[0],Ba=ao[1];Ni.pagination=Pr===!1?{}:Yt(Pr,Va),Ni.resetPagination=Ba;var go=o.useMemo(function(){if(Pr===!1||!Va.pageSize)return ra;var bo=Va.current,Da=bo===void 0?1:bo,Ho=Va.total,ds=Va.pageSize,fo=ds===void 0?Pt:ds;return ra.length<Ho?ra.length>fo?(Object(Yr.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."),ra.slice((Da-1)*fo,Da*fo)):ra:ra.slice((Da-1)*fo,Da*fo)},[!!Pr,ra,Va&&Va.current,Va&&Va.pageSize,Va&&Va.total]),so=Ii(Kr,{prefixCls:ln,data:ra,pageData:go,getRowKey:la,getRecordByKey:Fi,expandType:di,childrenColumnName:li,locale:xr,expandIconColumnIndex:fn.expandIconColumnIndex,getPopupContainer:_n}),vo=m()(so,2),to=vo[0],ro=vo[1],Ca=function(Da,Ho,ds){var fo;return typeof xn=="function"?fo=i()(xn(Da,Ho,ds)):fo=i()(xn),i()(A()({},"".concat(ln,"-row-selected"),ro.has(la(Da,Ho))),fo)};fn.__PARENT_RENDER_ICON__=fn.expandIcon,fn.expandIcon=fn.expandIcon||Wn||Zn(xr),di==="nest"&&fn.expandIconColumnIndex===void 0?fn.expandIconColumnIndex=Kr?1:0:fn.expandIconColumnIndex>0&&Kr&&(fn.expandIconColumnIndex-=1),typeof fn.indentSize!="number"&&(fn.indentSize=typeof oi=="number"?oi:15);var Ha=o.useCallback(function(bo){return qa(to(Ma(Pa(bo))))},[Pa,Ma,to]),Na,oo;if(Pr!==!1){var Ga;Va.size?Ga=Va.size:Ga=jt==="small"||jt==="middle"?"small":void 0;var Ki=function(Da){return o.createElement(ke.a,c()({className:"".concat(ln,"-pagination ").concat(ln,"-pagination-").concat(Da)},Va,{size:Ga}))},Xa=Nr==="rtl"?"left":"right";if(Va.position!==null&&Array.isArray(Va.position)){var No=Va.position.find(function(bo){return bo.indexOf("top")!==-1}),_o=Va.position.find(function(bo){return bo.indexOf("bottom")!==-1});!No&&!_o?oo=Ki(Xa):(No&&(Na=Ki(No.toLowerCase().replace("top",""))),_o&&(oo=Ki(_o.toLowerCase().replace("bottom",""))))}else oo=Ki(Xa)}var Vo;typeof Tn=="boolean"?Vo={spinning:Tn}:x()(Tn)==="object"&&(Vo=c()({spinning:!0},Tn));var Go=i()("".concat(ln,"-wrapper"),mn,A()({},"".concat(ln,"-wrapper-rtl"),Nr==="rtl"));return o.createElement("div",{className:Go,style:Ye},o.createElement(_e.a,c()({spinning:!1},Vo),Na,o.createElement(Ve,c()({},Yi,{columns:ji,direction:Nr,expandable:fn,prefixCls:ln,className:i()((Qr={},A()(Qr,"".concat(ln,"-middle"),jt==="middle"),A()(Qr,"".concat(ln,"-small"),jt==="small"),A()(Qr,"".concat(ln,"-bordered"),lr),A()(Qr,"".concat(ln,"-empty"),$t.length===0),Qr)),data:go,rowKey:la,rowClassName:Ca,emptyText:_i&&_i.emptyText||nn("Table"),internalHooks:yn,internalRefs:Ri,transformColumns:Ha})),ra&&ra.length>0&&oo))}sa.defaultProps={rowKey:"key"},sa.SELECTION_ALL=In,sa.SELECTION_INVERT=Nn,sa.Column=ca,sa.ColumnGroup=fi,sa.Summary=Fr;var zi=sa,da=k.a=zi},wDdD:function(H,k,d){var _=d("ProS"),x=d("bYtY");d("98bh"),d("GrNh");var C=d("d4KN"),A=d("mOdp"),b=d("KS52"),m=d("0/Rx");C("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),_.registerVisual(A("pie")),_.registerLayout(x.curry(b,"pie")),_.registerProcessor(m("pie"))},wOnQ:function(H,k,d){/*!
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/(function(_,x){H.exports=x()})(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 _=function(he,Ee){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Re,tt){Re.__proto__=tt}||function(Re,tt){for(var Rt in tt)Object.prototype.hasOwnProperty.call(tt,Rt)&&(Re[Rt]=tt[Rt])},_(he,Ee)};function x(Zt,he){if(typeof he!="function"&&he!==null)throw new TypeError("Class extends value "+String(he)+" is not a constructor or null");_(Zt,he);function Ee(){this.constructor=Zt}Zt.prototype=he===null?Object.create(he):(Ee.prototype=he.prototype,new Ee)}var C=function(){return C=Object.assign||function(Ee){for(var Re,tt=1,Rt=arguments.length;tt<Rt;tt++){Re=arguments[tt];for(var Er in Re)Object.prototype.hasOwnProperty.call(Re,Er)&&(Ee[Er]=Re[Er])}return Ee},C.apply(this,arguments)};function A(Zt,he,Ee,Re){function tt(Rt){return Rt instanceof Ee?Rt:new Ee(function(Er){Er(Rt)})}return new(Ee||(Ee=Promise))(function(Rt,Er){function Ur(ni){try{vn(Re.next(ni))}catch(Yn){Er(Yn)}}function $r(ni){try{vn(Re.throw(ni))}catch(Yn){Er(Yn)}}function vn(ni){ni.done?Rt(ni.value):tt(ni.value).then(Ur,$r)}vn((Re=Re.apply(Zt,he||[])).next())})}function b(Zt,he){var Ee={label:0,sent:function(){if(Rt[0]&1)throw Rt[1];return Rt[1]},trys:[],ops:[]},Re,tt,Rt,Er;return Er={next:Ur(0),throw:Ur(1),return:Ur(2)},typeof Symbol=="function"&&(Er[Symbol.iterator]=function(){return this}),Er;function Ur(vn){return function(ni){return $r([vn,ni])}}function $r(vn){if(Re)throw new TypeError("Generator is already executing.");for(;Ee;)try{if(Re=1,tt&&(Rt=vn[0]&2?tt.return:vn[0]?tt.throw||((Rt=tt.return)&&Rt.call(tt),0):tt.next)&&!(Rt=Rt.call(tt,vn[1])).done)return Rt;(tt=0,Rt)&&(vn=[vn[0]&2,Rt.value]);switch(vn[0]){case 0:case 1:Rt=vn;break;case 4:return Ee.label++,{value:vn[1],done:!1};case 5:Ee.label++,tt=vn[1],vn=[0];continue;case 7:vn=Ee.ops.pop(),Ee.trys.pop();continue;default:if(!(Rt=Ee.trys,Rt=Rt.length>0&&Rt[Rt.length-1])&&(vn[0]===6||vn[0]===2)){Ee=0;continue}if(vn[0]===3&&(!Rt||vn[1]>Rt[0]&&vn[1]<Rt[3])){Ee.label=vn[1];break}if(vn[0]===6&&Ee.label<Rt[1]){Ee.label=Rt[1],Rt=vn;break}if(Rt&&Ee.label<Rt[2]){Ee.label=Rt[2],Ee.ops.push(vn);break}Rt[2]&&Ee.ops.pop(),Ee.trys.pop();continue}vn=he.call(Zt,Ee)}catch(ni){vn=[6,ni],tt=0}finally{Re=Rt=0}if(vn[0]&5)throw vn[1];return{value:vn[0]?vn[1]:void 0,done:!0}}}function m(Zt,he,Ee){if(Ee||arguments.length===2)for(var Re=0,tt=he.length,Rt;Re<tt;Re++)(Rt||!(Re in he))&&(Rt||(Rt=Array.prototype.slice.call(he,0,Re)),Rt[Re]=he[Re]);return Zt.concat(Rt||he)}for(var p=function(){function Zt(he,Ee,Re,tt){this.left=he,this.top=Ee,this.width=Re,this.height=tt}return Zt.prototype.add=function(he,Ee,Re,tt){return new Zt(this.left+he,this.top+Ee,this.width+Re,this.height+tt)},Zt.fromClientRect=function(he,Ee){return new Zt(Ee.left+he.windowBounds.left,Ee.top+he.windowBounds.top,Ee.width,Ee.height)},Zt.fromDOMRectList=function(he,Ee){var Re=Array.from(Ee).find(function(tt){return tt.width!==0});return Re?new Zt(Re.left+he.windowBounds.left,Re.top+he.windowBounds.top,Re.width,Re.height):Zt.EMPTY},Zt.EMPTY=new Zt(0,0,0,0),Zt}(),c=function(he,Ee){return p.fromClientRect(he,Ee.getBoundingClientRect())},o=function(he){var Ee=he.body,Re=he.documentElement;if(!Ee||!Re)throw new Error("Unable to get document size");var tt=Math.max(Math.max(Ee.scrollWidth,Re.scrollWidth),Math.max(Ee.offsetWidth,Re.offsetWidth),Math.max(Ee.clientWidth,Re.clientWidth)),Rt=Math.max(Math.max(Ee.scrollHeight,Re.scrollHeight),Math.max(Ee.offsetHeight,Re.offsetHeight),Math.max(Ee.clientHeight,Re.clientHeight));return new p(0,0,tt,Rt)},r=function(he){for(var Ee=[],Re=0,tt=he.length;Re<tt;){var Rt=he.charCodeAt(Re++);if(Rt>=55296&&Rt<=56319&&Re<tt){var Er=he.charCodeAt(Re++);(Er&64512)===56320?Ee.push(((Rt&1023)<<10)+(Er&1023)+65536):(Ee.push(Rt),Re--)}else Ee.push(Rt)}return Ee},i=function(){for(var he=[],Ee=0;Ee<arguments.length;Ee++)he[Ee]=arguments[Ee];if(String.fromCodePoint)return String.fromCodePoint.apply(String,he);var Re=he.length;if(!Re)return"";for(var tt=[],Rt=-1,Er="";++Rt<Re;){var Ur=he[Rt];Ur<=65535?tt.push(Ur):(Ur-=65536,tt.push((Ur>>10)+55296,Ur%1024+56320)),(Rt+1===Re||tt.length>16384)&&(Er+=String.fromCharCode.apply(String,tt),tt.length=0)}return Er},n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),s=0;s<n.length;s++)t[n.charCodeAt(s)]=s;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),l=0;l<e.length;l++)a[e.charCodeAt(l)]=l;for(var u=function(he){var Ee=he.length*.75,Re=he.length,tt,Rt=0,Er,Ur,$r,vn;he[he.length-1]==="="&&(Ee--,he[he.length-2]==="="&&Ee--);var ni=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ee):new Array(Ee),Yn=Array.isArray(ni)?ni:new Uint8Array(ni);for(tt=0;tt<Re;tt+=4)Er=a[he.charCodeAt(tt)],Ur=a[he.charCodeAt(tt+1)],$r=a[he.charCodeAt(tt+2)],vn=a[he.charCodeAt(tt+3)],Yn[Rt++]=Er<<2|Ur>>4,Yn[Rt++]=(Ur&15)<<4|$r>>2,Yn[Rt++]=($r&3)<<6|vn&63;return ni},h=function(he){for(var Ee=he.length,Re=[],tt=0;tt<Ee;tt+=2)Re.push(he[tt+1]<<8|he[tt]);return Re},f=function(he){for(var Ee=he.length,Re=[],tt=0;tt<Ee;tt+=4)Re.push(he[tt+3]<<24|he[tt+2]<<16|he[tt+1]<<8|he[tt]);return Re},g=5,v=6+5,y=2,E=v-g,T=65536>>g,w=1<<g,S=w-1,I=1024>>g,L=T+I,O=L,N=2048>>6,R=O+N,D=65536>>v,B=1<<E,M=B-1,U=function(he,Ee,Re){return he.slice?he.slice(Ee,Re):new Uint16Array(Array.prototype.slice.call(he,Ee,Re))},F=function(he,Ee,Re){return he.slice?he.slice(Ee,Re):new Uint32Array(Array.prototype.slice.call(he,Ee,Re))},j=function(he,Ee){var Re=u(he),tt=Array.isArray(Re)?f(Re):new Uint32Array(Re),Rt=Array.isArray(Re)?h(Re):new Uint16Array(Re),Er=24,Ur=U(Rt,Er/2,tt[4]/2),$r=tt[5]===2?U(Rt,(Er+tt[4])/2):F(tt,Math.ceil((Er+tt[4])/4));return new W(tt[0],tt[1],tt[2],tt[3],Ur,$r)},W=function(){function Zt(he,Ee,Re,tt,Rt,Er){this.initialValue=he,this.errorValue=Ee,this.highStart=Re,this.highValueIndex=tt,this.index=Rt,this.data=Er}return Zt.prototype.get=function(he){var Ee;if(he>=0){if(he<55296||he>56319&&he<=65535)return Ee=this.index[he>>g],Ee=(Ee<<y)+(he&S),this.data[Ee];if(he<=65535)return Ee=this.index[T+(he-55296>>g)],Ee=(Ee<<y)+(he&S),this.data[Ee];if(he<this.highStart)return Ee=R-D+(he>>v),Ee=this.index[Ee],Ee+=he>>g&M,Ee=this.index[Ee],Ee=(Ee<<y)+(he&S),this.data[Ee];if(he<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Zt}(),V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",z=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Y=0;Y<V.length;Y++)z[V.charCodeAt(Y)]=Y;var J="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==",ie=50,Z=1,oe=2,ge=3,pe=4,De=5,ce=7,Oe=8,se=9,$=10,ze=11,re=12,X=13,G=14,Q=15,ve=16,de=17,Ce=18,we=19,le=20,fe=21,xe=22,We=23,nt=24,$e=25,Le=26,pt=27,Qe=28,gt=29,wt=30,Et=31,_t=32,Ht=33,Ze=34,ye=35,ae=36,yt=37,et=38,me=39,Gt=40,rr=41,ut=42,Xt=43,ur=[9001,65288],Fr="!",er="\xD7",nr="\xF7",Lt=j(J),at=[wt,ae],Je=[Z,oe,ge,De],qt=[$,Oe],Sr=[pt,Le],yr=Je.concat(qt),fr=[et,me,Gt,Ze,ye],yn=[Q,X],Jr=function(he,Ee){Ee===void 0&&(Ee="strict");var Re=[],tt=[],Rt=[];return he.forEach(function(Er,Ur){var $r=Lt.get(Er);if($r>ie?(Rt.push(!0),$r-=ie):Rt.push(!1),["normal","auto","loose"].indexOf(Ee)!==-1&&[8208,8211,12316,12448].indexOf(Er)!==-1)return tt.push(Ur),Re.push(ve);if($r===pe||$r===ze){if(Ur===0)return tt.push(Ur),Re.push(wt);var vn=Re[Ur-1];return yr.indexOf(vn)===-1?(tt.push(tt[Ur-1]),Re.push(vn)):(tt.push(Ur),Re.push(wt))}if(tt.push(Ur),$r===Et)return Re.push(Ee==="strict"?fe:yt);if($r===ut)return Re.push(wt);if($r===gt)return Re.push(wt);if($r===Xt)return Er>=131072&&Er<=196605||Er>=196608&&Er<=262141?Re.push(yt):Re.push(wt);Re.push($r)}),[tt,Re,Rt]},Ln=function(he,Ee,Re,tt){var Rt=tt[Re];if(Array.isArray(he)?he.indexOf(Rt)!==-1:he===Rt)for(var Er=Re;Er<=tt.length;){Er++;var Ur=tt[Er];if(Ur===Ee)return!0;if(Ur!==$)break}if(Rt===$)for(var Er=Re;Er>0;){Er--;var $r=tt[Er];if(Array.isArray(he)?he.indexOf($r)!==-1:he===$r)for(var vn=Re;vn<=tt.length;){vn++;var Ur=tt[vn];if(Ur===Ee)return!0;if(Ur!==$)break}if($r!==$)break}return!1},Nt=function(he,Ee){for(var Re=he;Re>=0;){var tt=Ee[Re];if(tt===$)Re--;else return tt}return 0},Ve=function(he,Ee,Re,tt,Rt){if(Re[tt]===0)return er;var Er=tt-1;if(Array.isArray(Rt)&&Rt[Er]===!0)return er;var Ur=Er-1,$r=Er+1,vn=Ee[Er],ni=Ur>=0?Ee[Ur]:0,Yn=Ee[$r];if(vn===oe&&Yn===ge)return er;if(Je.indexOf(vn)!==-1)return Fr;if(Je.indexOf(Yn)!==-1)return er;if(qt.indexOf(Yn)!==-1)return er;if(Nt(Er,Ee)===Oe)return nr;if(Lt.get(he[Er])===ze)return er;if((vn===_t||vn===Ht)&&Lt.get(he[$r])===ze)return er;if(vn===ce||Yn===ce)return er;if(vn===se)return er;if([$,X,Q].indexOf(vn)===-1&&Yn===se)return er;if([de,Ce,we,nt,Qe].indexOf(Yn)!==-1)return er;if(Nt(Er,Ee)===xe)return er;if(Ln(We,xe,Er,Ee))return er;if(Ln([de,Ce],fe,Er,Ee))return er;if(Ln(re,re,Er,Ee))return er;if(vn===$)return nr;if(vn===We||Yn===We)return er;if(Yn===ve||vn===ve)return nr;if([X,Q,fe].indexOf(Yn)!==-1||vn===G)return er;if(ni===ae&&yn.indexOf(vn)!==-1)return er;if(vn===Qe&&Yn===ae)return er;if(Yn===le)return er;if(at.indexOf(Yn)!==-1&&vn===$e||at.indexOf(vn)!==-1&&Yn===$e)return er;if(vn===pt&&[yt,_t,Ht].indexOf(Yn)!==-1||[yt,_t,Ht].indexOf(vn)!==-1&&Yn===Le)return er;if(at.indexOf(vn)!==-1&&Sr.indexOf(Yn)!==-1||Sr.indexOf(vn)!==-1&&at.indexOf(Yn)!==-1)return er;if([pt,Le].indexOf(vn)!==-1&&(Yn===$e||[xe,Q].indexOf(Yn)!==-1&&Ee[$r+1]===$e)||[xe,Q].indexOf(vn)!==-1&&Yn===$e||vn===$e&&[$e,Qe,nt].indexOf(Yn)!==-1)return er;if([$e,Qe,nt,de,Ce].indexOf(Yn)!==-1)for(var si=Er;si>=0;){var ya=Ee[si];if(ya===$e)return er;if([Qe,nt].indexOf(ya)!==-1)si--;else break}if([pt,Le].indexOf(Yn)!==-1)for(var si=[de,Ce].indexOf(vn)!==-1?Ur:Er;si>=0;){var ya=Ee[si];if(ya===$e)return er;if([Qe,nt].indexOf(ya)!==-1)si--;else break}if(et===vn&&[et,me,Ze,ye].indexOf(Yn)!==-1||[me,Ze].indexOf(vn)!==-1&&[me,Gt].indexOf(Yn)!==-1||[Gt,ye].indexOf(vn)!==-1&&Yn===Gt)return er;if(fr.indexOf(vn)!==-1&&[le,Le].indexOf(Yn)!==-1||fr.indexOf(Yn)!==-1&&vn===pt)return er;if(at.indexOf(vn)!==-1&&at.indexOf(Yn)!==-1)return er;if(vn===nt&&at.indexOf(Yn)!==-1)return er;if(at.concat($e).indexOf(vn)!==-1&&Yn===xe&&ur.indexOf(he[$r])===-1||at.concat($e).indexOf(Yn)!==-1&&vn===Ce)return er;if(vn===rr&&Yn===rr){for(var xa=Re[Er],La=1;xa>0&&(xa--,Ee[xa]===rr);)La++;if(La%2!==0)return er}return vn===_t&&Yn===Ht?er:nr},_e=function(he,Ee){Ee||(Ee={lineBreak:"normal",wordBreak:"normal"});var Re=Jr(he,Ee.lineBreak),tt=Re[0],Rt=Re[1],Er=Re[2];(Ee.wordBreak==="break-all"||Ee.wordBreak==="break-word")&&(Rt=Rt.map(function($r){return[$e,wt,ut].indexOf($r)!==-1?yt:$r}));var Ur=Ee.wordBreak==="keep-all"?Er.map(function($r,vn){return $r&&he[vn]>=19968&&he[vn]<=40959}):void 0;return[tt,Rt,Ur]},ke=function(){function Zt(he,Ee,Re,tt){this.codePoints=he,this.required=Ee===Fr,this.start=Re,this.end=tt}return Zt.prototype.slice=function(){return i.apply(void 0,this.codePoints.slice(this.start,this.end))},Zt}(),Pe=function(he,Ee){var Re=r(he),tt=_e(Re,Ee),Rt=tt[0],Er=tt[1],Ur=tt[2],$r=Re.length,vn=0,ni=0;return{next:function(){if(ni>=$r)return{done:!0,value:null};for(var si=er;ni<$r&&(si=Ve(Re,Er,Rt,++ni,Ur))===er;);if(si!==er||ni===$r){var ya=new ke(Re,si,vn,ni);return vn=ni,{value:ya,done:!1}}return{done:!0,value:null}}}},rt=1<<0,Pt=1<<1,Yt=1<<2,kt=1<<3,_r=10,Rr=47,un=92,Ut=9,ht=32,ot=34,Wt=61,Jt=35,At=36,Bt=37,mt=39,Mt=40,hr=41,or=95,ar=45,Gr=33,Yr=60,In=62,Nn=64,Kn=91,$n=93,Ii=61,Mi=123,Xe=63,Ie=125,Be=124,Fe=126,Ge=128,Ke=65533,qe=42,vt=43,lt=44,Ft=58,wr=59,pr=46,Dr=0,zt=8,hn=11,ir=14,Xr=31,Br=127,vr=-1,Cn=48,kn=97,ei=101,ii=102,ti=117,Ti=122,Bn=65,Di=69,gn=70,Vr=85,Sn=90,tn=function(he){return he>=Cn&&he<=57},ci=function(he){return he>=55296&&he<=57343},qn=function(he){return tn(he)||he>=Bn&&he<=gn||he>=kn&&he<=ii},wi=function(he){return he>=kn&&he<=Ti},Jn=function(he){return he>=Bn&&he<=Sn},Qi=function(he){return wi(he)||Jn(he)},xi=function(he){return he>=Ge},Ei=function(he){return he===_r||he===Ut||he===ht},dn=function(he){return Qi(he)||xi(he)||he===or},Mr=function(he){return dn(he)||tn(he)||he===ar},wn=function(he){return he>=Dr&&he<=zt||he===hn||he>=ir&&he<=Xr||he===Br},Rn=function(he,Ee){return he!==un?!1:Ee!==_r},Xn=function(he,Ee,Re){return he===ar?dn(Ee)||Rn(Ee,Re):dn(he)?!0:!!(he===un&&Rn(he,Ee))},Zn=function(he,Ee,Re){return he===vt||he===ar?tn(Ee)?!0:Ee===pr&&tn(Re):he===pr?tn(Ee):tn(he)},hi=function(he){var Ee=0,Re=1;(he[Ee]===vt||he[Ee]===ar)&&(he[Ee]===ar&&(Re=-1),Ee++);for(var tt=[];tn(he[Ee]);)tt.push(he[Ee++]);var Rt=tt.length?parseInt(i.apply(void 0,tt),10):0;he[Ee]===pr&&Ee++;for(var Er=[];tn(he[Ee]);)Er.push(he[Ee++]);var Ur=Er.length,$r=Ur?parseInt(i.apply(void 0,Er),10):0;(he[Ee]===Di||he[Ee]===ei)&&Ee++;var vn=1;(he[Ee]===vt||he[Ee]===ar)&&(he[Ee]===ar&&(vn=-1),Ee++);for(var ni=[];tn(he[Ee]);)ni.push(he[Ee++]);var Yn=ni.length?parseInt(i.apply(void 0,ni),10):0;return Re*(Rt+$r*Math.pow(10,-Ur))*Math.pow(10,vn*Yn)},mi={type:2},gi={type:3},Vi={type:4},ma={type:13},ca={type:8},ja={type:21},fi={type:9},cn={type:10},Bi={type:11},sa={type:12},zi={type:14},da={type:23},Vt={type:1},Qr={type:25},an={type:24},mn={type:26},Ye={type:27},It={type:28},lr={type:29},sr={type:31},Lr={type:32},Pr=function(){function Zt(){this._value=[]}return Zt.prototype.write=function(he){this._value=this._value.concat(r(he))},Zt.prototype.read=function(){for(var he=[],Ee=this.consumeToken();Ee!==Lr;)he.push(Ee),Ee=this.consumeToken();return he},Zt.prototype.consumeToken=function(){var he=this.consumeCodePoint();switch(he){case ot:return this.consumeStringToken(ot);case Jt:var Ee=this.peekCodePoint(0),Re=this.peekCodePoint(1),tt=this.peekCodePoint(2);if(Mr(Ee)||Rn(Re,tt)){var Rt=Xn(Ee,Re,tt)?Pt:rt,Er=this.consumeName();return{type:5,value:Er,flags:Rt}}break;case At:if(this.peekCodePoint(0)===Wt)return this.consumeCodePoint(),ma;break;case mt:return this.consumeStringToken(mt);case Mt:return mi;case hr:return gi;case qe:if(this.peekCodePoint(0)===Wt)return this.consumeCodePoint(),zi;break;case vt:if(Zn(he,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(he),this.consumeNumericToken();break;case lt:return Vi;case ar:var Ur=he,$r=this.peekCodePoint(0),vn=this.peekCodePoint(1);if(Zn(Ur,$r,vn))return this.reconsumeCodePoint(he),this.consumeNumericToken();if(Xn(Ur,$r,vn))return this.reconsumeCodePoint(he),this.consumeIdentLikeToken();if($r===ar&&vn===In)return this.consumeCodePoint(),this.consumeCodePoint(),an;break;case pr:if(Zn(he,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(he),this.consumeNumericToken();break;case Rr:if(this.peekCodePoint(0)===qe)for(this.consumeCodePoint();;){var ni=this.consumeCodePoint();if(ni===qe&&(ni=this.consumeCodePoint(),ni===Rr))return this.consumeToken();if(ni===vr)return this.consumeToken()}break;case Ft:return mn;case wr:return Ye;case Yr:if(this.peekCodePoint(0)===Gr&&this.peekCodePoint(1)===ar&&this.peekCodePoint(2)===ar)return this.consumeCodePoint(),this.consumeCodePoint(),Qr;break;case Nn:var Yn=this.peekCodePoint(0),si=this.peekCodePoint(1),ya=this.peekCodePoint(2);if(Xn(Yn,si,ya)){var Er=this.consumeName();return{type:7,value:Er}}break;case Kn:return It;case un:if(Rn(he,this.peekCodePoint(0)))return this.reconsumeCodePoint(he),this.consumeIdentLikeToken();break;case $n:return lr;case Ii:if(this.peekCodePoint(0)===Wt)return this.consumeCodePoint(),ca;break;case Mi:return Bi;case Ie:return sa;case ti:case Vr:var xa=this.peekCodePoint(0),La=this.peekCodePoint(1);return xa===vt&&(qn(La)||La===Xe)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(he),this.consumeIdentLikeToken();case Be:if(this.peekCodePoint(0)===Wt)return this.consumeCodePoint(),fi;if(this.peekCodePoint(0)===Be)return this.consumeCodePoint(),ja;break;case Fe:if(this.peekCodePoint(0)===Wt)return this.consumeCodePoint(),cn;break;case vr:return Lr}return Ei(he)?(this.consumeWhiteSpace(),sr):tn(he)?(this.reconsumeCodePoint(he),this.consumeNumericToken()):dn(he)?(this.reconsumeCodePoint(he),this.consumeIdentLikeToken()):{type:6,value:i(he)}},Zt.prototype.consumeCodePoint=function(){var he=this._value.shift();return typeof he=="undefined"?-1:he},Zt.prototype.reconsumeCodePoint=function(he){this._value.unshift(he)},Zt.prototype.peekCodePoint=function(he){return he>=this._value.length?-1:this._value[he]},Zt.prototype.consumeUnicodeRangeToken=function(){for(var he=[],Ee=this.consumeCodePoint();qn(Ee)&&he.length<6;)he.push(Ee),Ee=this.consumeCodePoint();for(var Re=!1;Ee===Xe&&he.length<6;)he.push(Ee),Ee=this.consumeCodePoint(),Re=!0;if(Re){var tt=parseInt(i.apply(void 0,he.map(function($r){return $r===Xe?Cn:$r})),16),Rt=parseInt(i.apply(void 0,he.map(function($r){return $r===Xe?gn:$r})),16);return{type:30,start:tt,end:Rt}}var Er=parseInt(i.apply(void 0,he),16);if(this.peekCodePoint(0)===ar&&qn(this.peekCodePoint(1))){this.consumeCodePoint(),Ee=this.consumeCodePoint();for(var Ur=[];qn(Ee)&&Ur.length<6;)Ur.push(Ee),Ee=this.consumeCodePoint();var Rt=parseInt(i.apply(void 0,Ur),16);return{type:30,start:Er,end:Rt}}else return{type:30,start:Er,end:Er}},Zt.prototype.consumeIdentLikeToken=function(){var he=this.consumeName();return he.toLowerCase()==="url"&&this.peekCodePoint(0)===Mt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Mt?(this.consumeCodePoint(),{type:19,value:he}):{type:20,value:he}},Zt.prototype.consumeUrlToken=function(){var he=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===vr)return{type:22,value:""};var Ee=this.peekCodePoint(0);if(Ee===mt||Ee===ot){var Re=this.consumeStringToken(this.consumeCodePoint());return Re.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===vr||this.peekCodePoint(0)===hr)?(this.consumeCodePoint(),{type:22,value:Re.value}):(this.consumeBadUrlRemnants(),da)}for(;;){var tt=this.consumeCodePoint();if(tt===vr||tt===hr)return{type:22,value:i.apply(void 0,he)};if(Ei(tt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===vr||this.peekCodePoint(0)===hr?(this.consumeCodePoint(),{type:22,value:i.apply(void 0,he)}):(this.consumeBadUrlRemnants(),da);if(tt===ot||tt===mt||tt===Mt||wn(tt))return this.consumeBadUrlRemnants(),da;if(tt===un)if(Rn(tt,this.peekCodePoint(0)))he.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),da;else he.push(tt)}},Zt.prototype.consumeWhiteSpace=function(){for(;Ei(this.peekCodePoint(0));)this.consumeCodePoint()},Zt.prototype.consumeBadUrlRemnants=function(){for(;;){var he=this.consumeCodePoint();if(he===hr||he===vr)return;Rn(he,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Zt.prototype.consumeStringSlice=function(he){for(var Ee=5e4,Re="";he>0;){var tt=Math.min(Ee,he);Re+=i.apply(void 0,this._value.splice(0,tt)),he-=tt}return this._value.shift(),Re},Zt.prototype.consumeStringToken=function(he){var Ee="",Re=0;do{var tt=this._value[Re];if(tt===vr||tt===void 0||tt===he)return Ee+=this.consumeStringSlice(Re),{type:0,value:Ee};if(tt===_r)return this._value.splice(0,Re),Vt;if(tt===un){var Rt=this._value[Re+1];Rt!==vr&&Rt!==void 0&&(Rt===_r?(Ee+=this.consumeStringSlice(Re),Re=-1,this._value.shift()):Rn(tt,Rt)&&(Ee+=this.consumeStringSlice(Re),Ee+=i(this.consumeEscapedCodePoint()),Re=-1))}Re++}while(!0)},Zt.prototype.consumeNumber=function(){var he=[],Ee=Yt,Re=this.peekCodePoint(0);for((Re===vt||Re===ar)&&he.push(this.consumeCodePoint());tn(this.peekCodePoint(0));)he.push(this.consumeCodePoint());Re=this.peekCodePoint(0);var tt=this.peekCodePoint(1);if(Re===pr&&tn(tt))for(he.push(this.consumeCodePoint(),this.consumeCodePoint()),Ee=kt;tn(this.peekCodePoint(0));)he.push(this.consumeCodePoint());Re=this.peekCodePoint(0),tt=this.peekCodePoint(1);var Rt=this.peekCodePoint(2);if((Re===Di||Re===ei)&&((tt===vt||tt===ar)&&tn(Rt)||tn(tt)))for(he.push(this.consumeCodePoint(),this.consumeCodePoint()),Ee=kt;tn(this.peekCodePoint(0));)he.push(this.consumeCodePoint());return[hi(he),Ee]},Zt.prototype.consumeNumericToken=function(){var he=this.consumeNumber(),Ee=he[0],Re=he[1],tt=this.peekCodePoint(0),Rt=this.peekCodePoint(1),Er=this.peekCodePoint(2);if(Xn(tt,Rt,Er)){var Ur=this.consumeName();return{type:15,number:Ee,flags:Re,unit:Ur}}return tt===Bt?(this.consumeCodePoint(),{type:16,number:Ee,flags:Re}):{type:17,number:Ee,flags:Re}},Zt.prototype.consumeEscapedCodePoint=function(){var he=this.consumeCodePoint();if(qn(he)){for(var Ee=i(he);qn(this.peekCodePoint(0))&&Ee.length<6;)Ee+=i(this.consumeCodePoint());Ei(this.peekCodePoint(0))&&this.consumeCodePoint();var Re=parseInt(Ee,16);return Re===0||ci(Re)||Re>1114111?Ke:Re}return he===vr?Ke:he},Zt.prototype.consumeName=function(){for(var he="";;){var Ee=this.consumeCodePoint();if(Mr(Ee))he+=i(Ee);else if(Rn(Ee,this.peekCodePoint(0)))he+=i(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Ee),he}},Zt}(),Kr=function(){function Zt(he){this._tokens=he}return Zt.create=function(he){var Ee=new Pr;return Ee.write(he),new Zt(Ee.read())},Zt.parseValue=function(he){return Zt.create(he).parseComponentValue()},Zt.parseValues=function(he){return Zt.create(he).parseComponentValues()},Zt.prototype.parseComponentValue=function(){for(var he=this.consumeToken();he.type===31;)he=this.consumeToken();if(he.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(he);var Ee=this.consumeComponentValue();do he=this.consumeToken();while(he.type===31);if(he.type===32)return Ee;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Zt.prototype.parseComponentValues=function(){for(var he=[];;){var Ee=this.consumeComponentValue();if(Ee.type===32)return he;he.push(Ee),he.push()}},Zt.prototype.consumeComponentValue=function(){var he=this.consumeToken();switch(he.type){case 11:case 28:case 2:return this.consumeSimpleBlock(he.type);case 19:return this.consumeFunction(he)}return he},Zt.prototype.consumeSimpleBlock=function(he){for(var Ee={type:he,values:[]},Re=this.consumeToken();;){if(Re.type===32||Wn(Re,he))return Ee;this.reconsumeToken(Re),Ee.values.push(this.consumeComponentValue()),Re=this.consumeToken()}},Zt.prototype.consumeFunction=function(he){for(var Ee={name:he.value,values:[],type:18};;){var Re=this.consumeToken();if(Re.type===32||Re.type===3)return Ee;this.reconsumeToken(Re),Ee.values.push(this.consumeComponentValue())}},Zt.prototype.consumeToken=function(){var he=this._tokens.shift();return typeof he=="undefined"?Lr:he},Zt.prototype.reconsumeToken=function(he){this._tokens.unshift(he)},Zt}(),on=function(he){return he.type===15},xn=function(he){return he.type===17},An=function(he){return he.type===20},Pn=function(he){return he.type===0},Un=function(he,Ee){return An(he)&&he.value===Ee},bn=function(he){return he.type!==31},_n=function(he){return he.type!==31&&he.type!==4},Tn=function(he){var Ee=[],Re=[];return he.forEach(function(tt){if(tt.type===4){if(Re.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ee.push(Re),Re=[];return}tt.type!==31&&Re.push(tt)}),Re.length&&Ee.push(Re),Ee},Wn=function(he,Ee){return Ee===11&&he.type===12||Ee===28&&he.type===29?!0:Ee===2&&he.type===3},Gn=function(he){return he.type===17||he.type===15},ri=function(he){return he.type===16||Gn(he)},Si=function(he){return he.length>1?[he[0],he[1]]:[he[0]]},oi={type:17,number:0,flags:Yt},Pi={type:16,number:50,flags:Yt},Hi={type:16,number:100,flags:Yt},_i=function(he,Ee,Re){var tt=he[0],Rt=he[1];return[pi(tt,Ee),pi(typeof Rt!="undefined"?Rt:tt,Re)]},pi=function(he,Ee){if(he.type===16)return he.number/100*Ee;if(on(he))switch(he.unit){case"rem":case"em":return 16*he.number;case"px":default:return he.number}return he.number},ki="deg",zn="grad",ji="rad",Yi="turn",ta={name:"angle",parse:function(he,Ee){if(Ee.type===15)switch(Ee.unit){case ki:return Math.PI*Ee.number/180;case zn:return Math.PI/200*Ee.number;case ji:return Ee.number;case Yi:return Math.PI*2*Ee.number}throw new Error("Unsupported angle type")}},Zi=function(he){return he.type===15&&(he.unit===ki||he.unit===zn||he.unit===ji||he.unit===Yi)},br=function(he){var Ee=he.filter(An).map(function(Re){return Re.value}).join(" ");switch(Ee){case"to bottom right":case"to right bottom":case"left top":case"top left":return[oi,oi];case"to top":case"bottom":return Wr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[oi,Hi];case"to right":case"left":return Wr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Hi,Hi];case"to bottom":case"top":return Wr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Hi,oi];case"to left":case"right":return Wr(270)}return 0},Wr=function(he){return Math.PI*he/180},nn={name:"color",parse:function(he,Ee){if(Ee.type===18){var Re=qr[Ee.name];if(typeof Re=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ee.name+'"');return Re(he,Ee.values)}if(Ee.type===5){if(Ee.value.length===3){var tt=Ee.value.substring(0,1),Rt=Ee.value.substring(1,2),Er=Ee.value.substring(2,3);return xr(parseInt(tt+tt,16),parseInt(Rt+Rt,16),parseInt(Er+Er,16),1)}if(Ee.value.length===4){var tt=Ee.value.substring(0,1),Rt=Ee.value.substring(1,2),Er=Ee.value.substring(2,3),Ur=Ee.value.substring(3,4);return xr(parseInt(tt+tt,16),parseInt(Rt+Rt,16),parseInt(Er+Er,16),parseInt(Ur+Ur,16)/255)}if(Ee.value.length===6){var tt=Ee.value.substring(0,2),Rt=Ee.value.substring(2,4),Er=Ee.value.substring(4,6);return xr(parseInt(tt,16),parseInt(Rt,16),parseInt(Er,16),1)}if(Ee.value.length===8){var tt=Ee.value.substring(0,2),Rt=Ee.value.substring(2,4),Er=Ee.value.substring(4,6),Ur=Ee.value.substring(6,8);return xr(parseInt(tt,16),parseInt(Rt,16),parseInt(Er,16),parseInt(Ur,16)/255)}}if(Ee.type===20){var $r=Dn[Ee.value.toUpperCase()];if(typeof $r!="undefined")return $r}return Dn.TRANSPARENT}},Nr=function(he){return(255&he)===0},jt=function(he){var Ee=255&he,Re=255&he>>8,tt=255&he>>16,Rt=255&he>>24;return Ee<255?"rgba("+Rt+","+tt+","+Re+","+Ee/255+")":"rgb("+Rt+","+tt+","+Re+")"},xr=function(he,Ee,Re,tt){return(he<<24|Ee<<16|Re<<8|Math.round(tt*255)<<0)>>>0},$t=function(he,Ee){if(he.type===17)return he.number;if(he.type===16){var Re=Ee===3?1:255;return Ee===3?he.number/100*Re:Math.round(he.number/100*Re)}return 0},jr=function(he,Ee){var Re=Ee.filter(_n);if(Re.length===3){var tt=Re.map($t),Rt=tt[0],Er=tt[1],Ur=tt[2];return xr(Rt,Er,Ur,1)}if(Re.length===4){var $r=Re.map($t),Rt=$r[0],Er=$r[1],Ur=$r[2],vn=$r[3];return xr(Rt,Er,Ur,vn)}return 0};function Hr(Zt,he,Ee){return Ee<0&&(Ee+=1),Ee>=1&&(Ee-=1),Ee<1/6?(he-Zt)*Ee*6+Zt:Ee<1/2?he:Ee<2/3?(he-Zt)*6*(2/3-Ee)+Zt:Zt}var ln=function(he,Ee){var Re=Ee.filter(_n),tt=Re[0],Rt=Re[1],Er=Re[2],Ur=Re[3],$r=(tt.type===17?Wr(tt.number):ta.parse(he,tt))/(Math.PI*2),vn=ri(Rt)?Rt.number/100:0,ni=ri(Er)?Er.number/100:0,Yn=typeof Ur!="undefined"&&ri(Ur)?pi(Ur,1):1;if(vn===0)return xr(ni*255,ni*255,ni*255,1);var si=ni<=.5?ni*(vn+1):ni+vn-ni*vn,ya=ni*2-si,xa=Hr(ya,si,$r+1/3),La=Hr(ya,si,$r),ho=Hr(ya,si,$r-1/3);return xr(xa*255,La*255,ho*255,Yn)},qr={hsl:ln,hsla:ln,rgb:jr,rgba:jr},fn=function(he,Ee){return nn.parse(he,Kr.create(Ee).parseComponentValue())},Dn={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},li={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(he,Ee){return Ee.map(function(Re){if(An(Re))switch(Re.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},di={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ri=function(he,Ee){var Re=nn.parse(he,Ee[0]),tt=Ee[1];return tt&&ri(tt)?{color:Re,stop:tt}:{color:Re,stop:null}},la=function(he,Ee){var Re=he[0],tt=he[he.length-1];Re.stop===null&&(Re.stop=oi),tt.stop===null&&(tt.stop=Hi);for(var Rt=[],Er=0,Ur=0;Ur<he.length;Ur++){var $r=he[Ur].stop;if($r!==null){var vn=pi($r,Ee);vn>Er?Rt.push(vn):Rt.push(Er),Er=vn}else Rt.push(null)}for(var ni=null,Ur=0;Ur<Rt.length;Ur++){var Yn=Rt[Ur];if(Yn===null)ni===null&&(ni=Ur);else if(ni!==null){for(var si=Ur-ni,ya=Rt[ni-1],xa=(Yn-ya)/(si+1),La=1;La<=si;La++)Rt[ni+La-1]=xa*La;ni=null}}return he.map(function(ho,Qa){var Ua=ho.color;return{color:Ua,stop:Math.max(Math.min(1,Rt[Qa]/Ee),0)}})},na=function(he,Ee,Re){var tt=Ee/2,Rt=Re/2,Er=pi(he[0],Ee)-tt,Ur=Rt-pi(he[1],Re);return(Math.atan2(Ur,Er)+Math.PI*2)%(Math.PI*2)},ga=function(he,Ee,Re){var tt=typeof he=="number"?he:na(he,Ee,Re),Rt=Math.abs(Ee*Math.sin(tt))+Math.abs(Re*Math.cos(tt)),Er=Ee/2,Ur=Re/2,$r=Rt/2,vn=Math.sin(tt-Math.PI/2)*$r,ni=Math.cos(tt-Math.PI/2)*$r;return[Rt,Er-ni,Er+ni,Ur-vn,Ur+vn]},Fi=function(he,Ee){return Math.sqrt(he*he+Ee*Ee)},Ni=function(he,Ee,Re,tt,Rt){var Er=[[0,0],[0,Ee],[he,0],[he,Ee]];return Er.reduce(function(Ur,$r){var vn=$r[0],ni=$r[1],Yn=Fi(Re-vn,tt-ni);return(Rt?Yn<Ur.optimumDistance:Yn>Ur.optimumDistance)?{optimumCorner:$r,optimumDistance:Yn}:Ur},{optimumDistance:Rt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ia=function(he,Ee,Re,tt,Rt){var Er=0,Ur=0;switch(he.size){case 0:he.shape===0?Er=Ur=Math.min(Math.abs(Ee),Math.abs(Ee-tt),Math.abs(Re),Math.abs(Re-Rt)):he.shape===1&&(Er=Math.min(Math.abs(Ee),Math.abs(Ee-tt)),Ur=Math.min(Math.abs(Re),Math.abs(Re-Rt)));break;case 2:if(he.shape===0)Er=Ur=Math.min(Fi(Ee,Re),Fi(Ee,Re-Rt),Fi(Ee-tt,Re),Fi(Ee-tt,Re-Rt));else if(he.shape===1){var $r=Math.min(Math.abs(Re),Math.abs(Re-Rt))/Math.min(Math.abs(Ee),Math.abs(Ee-tt)),vn=Ni(tt,Rt,Ee,Re,!0),ni=vn[0],Yn=vn[1];Er=Fi(ni-Ee,(Yn-Re)/$r),Ur=$r*Er}break;case 1:he.shape===0?Er=Ur=Math.max(Math.abs(Ee),Math.abs(Ee-tt),Math.abs(Re),Math.abs(Re-Rt)):he.shape===1&&(Er=Math.max(Math.abs(Ee),Math.abs(Ee-tt)),Ur=Math.max(Math.abs(Re),Math.abs(Re-Rt)));break;case 3:if(he.shape===0)Er=Ur=Math.max(Fi(Ee,Re),Fi(Ee,Re-Rt),Fi(Ee-tt,Re),Fi(Ee-tt,Re-Rt));else if(he.shape===1){var $r=Math.max(Math.abs(Re),Math.abs(Re-Rt))/Math.max(Math.abs(Ee),Math.abs(Ee-tt)),si=Ni(tt,Rt,Ee,Re,!1),ni=si[0],Yn=si[1];Er=Fi(ni-Ee,(Yn-Re)/$r),Ur=$r*Er}break}return Array.isArray(he.size)&&(Er=pi(he.size[0],tt),Ur=he.size.length===2?pi(he.size[1],Rt):Er),[Er,Ur]},Ji=function(he,Ee){var Re=Wr(180),tt=[];return Tn(Ee).forEach(function(Rt,Er){if(Er===0){var Ur=Rt[0];if(Ur.type===20&&Ur.value==="to"){Re=br(Rt);return}else if(Zi(Ur)){Re=ta.parse(he,Ur);return}}var $r=Ri(he,Rt);tt.push($r)}),{angle:Re,stops:tt,type:1}},ha=function(he,Ee){var Re=Wr(180),tt=[];return Tn(Ee).forEach(function(Rt,Er){if(Er===0){var Ur=Rt[0];if(Ur.type===20&&["top","left","right","bottom"].indexOf(Ur.value)!==-1){Re=br(Rt);return}else if(Zi(Ur)){Re=(ta.parse(he,Ur)+Wr(270))%Wr(360);return}}var $r=Ri(he,Rt);tt.push($r)}),{angle:Re,stops:tt,type:1}},Ta=function(he,Ee){var Re=Wr(180),tt=[],Rt=1,Er=0,Ur=3,$r=[];return Tn(Ee).forEach(function(vn,ni){var Yn=vn[0];if(ni===0){if(An(Yn)&&Yn.value==="linear"){Rt=1;return}else if(An(Yn)&&Yn.value==="radial"){Rt=2;return}}if(Yn.type===18){if(Yn.name==="from"){var si=nn.parse(he,Yn.values[0]);tt.push({stop:oi,color:si})}else if(Yn.name==="to"){var si=nn.parse(he,Yn.values[0]);tt.push({stop:Hi,color:si})}else if(Yn.name==="color-stop"){var ya=Yn.values.filter(_n);if(ya.length===2){var si=nn.parse(he,ya[1]),xa=ya[0];xn(xa)&&tt.push({stop:{type:16,number:xa.number*100,flags:xa.flags},color:si})}}}}),Rt===1?{angle:(Re+Wr(180))%Wr(360),stops:tt,type:Rt}:{size:Ur,shape:Er,stops:tt,position:$r,type:Rt}},Pa="closest-side",bi="farthest-side",Qn="closest-corner",vi="farthest-corner",Ai="circle",Gi="ellipse",Oi="cover",pa="contain",Ma=function(he,Ee){var Re=0,tt=3,Rt=[],Er=[];return Tn(Ee).forEach(function(Ur,$r){var vn=!0;if($r===0){var ni=!1;vn=Ur.reduce(function(si,ya){if(ni)if(An(ya))switch(ya.value){case"center":return Er.push(Pi),si;case"top":case"left":return Er.push(oi),si;case"right":case"bottom":return Er.push(Hi),si}else(ri(ya)||Gn(ya))&&Er.push(ya);else if(An(ya))switch(ya.value){case Ai:return Re=0,!1;case Gi:return Re=1,!1;case"at":return ni=!0,!1;case Pa:return tt=0,!1;case Oi:case bi:return tt=1,!1;case pa:case Qn:return tt=2,!1;case vi:return tt=3,!1}else if(Gn(ya)||ri(ya))return Array.isArray(tt)||(tt=[]),tt.push(ya),!1;return si},vn)}if(vn){var Yn=Ri(he,Ur);Rt.push(Yn)}}),{size:tt,shape:Re,stops:Rt,position:Er,type:2}},fa=function(he,Ee){var Re=0,tt=3,Rt=[],Er=[];return Tn(Ee).forEach(function(Ur,$r){var vn=!0;if($r===0?vn=Ur.reduce(function(Yn,si){if(An(si))switch(si.value){case"center":return Er.push(Pi),!1;case"top":case"left":return Er.push(oi),!1;case"right":case"bottom":return Er.push(Hi),!1}else if(ri(si)||Gn(si))return Er.push(si),!1;return Yn},vn):$r===1&&(vn=Ur.reduce(function(Yn,si){if(An(si))switch(si.value){case Ai:return Re=0,!1;case Gi:return Re=1,!1;case pa:case Pa:return tt=0,!1;case bi:return tt=1,!1;case Qn:return tt=2,!1;case Oi:case vi:return tt=3,!1}else if(Gn(si)||ri(si))return Array.isArray(tt)||(tt=[]),tt.push(si),!1;return Yn},vn)),vn){var ni=Ri(he,Ur);Rt.push(ni)}}),{size:tt,shape:Re,stops:Rt,position:Er,type:2}},ua=function(he){return he.type===1},ra=function(he){return he.type===2},Ra={name:"image",parse:function(he,Ee){if(Ee.type===22){var Re={url:Ee.value,type:0};return he.cache.addImage(Ee.value),Re}if(Ee.type===18){var tt=qi[Ee.name];if(typeof tt=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ee.name+'"');return tt(he,Ee.values)}throw new Error("Unsupported image type "+Ee.type)}};function eo(Zt){return!(Zt.type===20&&Zt.value==="none")&&(Zt.type!==18||!!qi[Zt.name])}var qi={"linear-gradient":Ji,"-moz-linear-gradient":ha,"-ms-linear-gradient":ha,"-o-linear-gradient":ha,"-webkit-linear-gradient":ha,"radial-gradient":Ma,"-moz-radial-gradient":fa,"-ms-radial-gradient":fa,"-o-radial-gradient":fa,"-webkit-radial-gradient":fa,"-webkit-gradient":Ta},qa={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(he,Ee){if(Ee.length===0)return[];var Re=Ee[0];return Re.type===20&&Re.value==="none"?[]:Ee.filter(function(tt){return _n(tt)&&eo(tt)}).map(function(tt){return Ra.parse(he,tt)})}},Ya={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(he,Ee){return Ee.map(function(Re){if(An(Re))switch(Re.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ka={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(he,Ee){return Tn(Ee).map(function(Re){return Re.filter(ri)}).map(Si)}},ao={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(he,Ee){return Tn(Ee).map(function(Re){return Re.filter(An).map(function(tt){return tt.value}).join(" ")}).map(Va)}},Va=function(he){switch(he){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}},Ba;(function(Zt){Zt.AUTO="auto",Zt.CONTAIN="contain",Zt.COVER="cover"})(Ba||(Ba={}));var go={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(he,Ee){return Tn(Ee).map(function(Re){return Re.filter(so)})}},so=function(he){return An(he)||ri(he)},vo=function(he){return{name:"border-"+he+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},to=vo("top"),ro=vo("right"),Ca=vo("bottom"),Ha=vo("left"),Na=function(he){return{name:"border-radius-"+he,initialValue:"0 0",prefix:!1,type:1,parse:function(Re,tt){return Si(tt.filter(ri))}}},oo=Na("top-left"),Ga=Na("top-right"),Ki=Na("bottom-right"),Xa=Na("bottom-left"),No=function(he){return{name:"border-"+he+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Re,tt){switch(tt){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},_o=No("top"),Vo=No("right"),Go=No("bottom"),bo=No("left"),Da=function(he){return{name:"border-"+he+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Re,tt){return on(tt)?tt.number:0}}},Ho=Da("top"),ds=Da("right"),fo=Da("bottom"),Oo=Da("left"),Wa={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Xo={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"rtl":return 1;case"ltr":default:return 0}}},Zs={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(he,Ee){return Ee.filter(An).reduce(function(Re,tt){return Re|Ps(tt.value)},0)}},Ps=function(he){switch(he){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},_s={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Es={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(he,Ee){return Ee.type===20&&Ee.value==="normal"?0:Ee.type===17||Ee.type===15?Ee.number:0}},Ts;(function(Zt){Zt.NORMAL="normal",Zt.STRICT="strict"})(Ts||(Ts={}));var ws={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"strict":return Ts.STRICT;case"normal":default:return Ts.NORMAL}}},Do={name:"line-height",initialValue:"normal",prefix:!1,type:4},po=function(he,Ee){return An(he)&&he.value==="normal"?1.2*Ee:he.type===17?Ee*he.number:ri(he)?pi(he,Ee):Ee},rs={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(he,Ee){return Ee.type===20&&Ee.value==="none"?null:Ra.parse(he,Ee)}},Yo={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"inside":return 0;case"outside":default:return 1}}},Fo={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){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}}},zr=function(he){return{name:"margin-"+he,initialValue:"0",prefix:!1,type:4}},Jo=zr("top"),$s=zr("right"),Is=zr("bottom"),ks=zr("left"),lo={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(he,Ee){return Ee.filter(An).map(function(Re){switch(Re.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Ao={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"break-word":return"break-word";case"normal":default:return"normal"}}},Uo=function(he){return{name:"padding-"+he,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},hs=Uo("top"),vs=Uo("right"),ss=Uo("bottom"),Cs=Uo("left"),ol={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ls={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Xs={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(he,Ee){return Ee.length===1&&Un(Ee[0],"none")?[]:Tn(Ee).map(function(Re){for(var tt={color:Dn.TRANSPARENT,offsetX:oi,offsetY:oi,blur:oi},Rt=0,Er=0;Er<Re.length;Er++){var Ur=Re[Er];Gn(Ur)?(Rt===0?tt.offsetX=Ur:Rt===1?tt.offsetY=Ur:tt.blur=Ur,Rt++):tt.color=nn.parse(he,Ur)}return tt})}},Os={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Ks={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(he,Ee){if(Ee.type===20&&Ee.value==="none")return null;if(Ee.type===18){var Re=Dt[Ee.name];if(typeof Re=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Ee.name+'"');return Re(Ee.values)}return null}},Bs=function(he){var Ee=he.filter(function(Re){return Re.type===17}).map(function(Re){return Re.number});return Ee.length===6?Ee:null},bt=function(he){var Ee=he.filter(function(vn){return vn.type===17}).map(function(vn){return vn.number}),Re=Ee[0],tt=Ee[1];Ee[2],Ee[3];var Rt=Ee[4],Er=Ee[5];Ee[6],Ee[7],Ee[8],Ee[9],Ee[10],Ee[11];var Ur=Ee[12],$r=Ee[13];return Ee[14],Ee[15],Ee.length===16?[Re,tt,Rt,Er,Ur,$r]:null},Dt={matrix:Bs,matrix3d:bt},rn={type:16,number:50,flags:Yt},On=[rn,rn],ft={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(he,Ee){var Re=Ee.filter(ri);return Re.length!==2?On:[Re[0],Re[1]]}},ne={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Ae;(function(Zt){Zt.NORMAL="normal",Zt.BREAK_ALL="break-all",Zt.KEEP_ALL="keep-all"})(Ae||(Ae={}));for(var Te={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"break-all":return Ae.BREAK_ALL;case"keep-all":return Ae.KEEP_ALL;case"normal":default:return Ae.NORMAL}}},je={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(he,Ee){if(Ee.type===20)return{auto:!0,order:0};if(xn(Ee))return{auto:!1,order:Ee.number};throw new Error("Invalid z-index number parsed")}},st={name:"time",parse:function(he,Ee){if(Ee.type===15)switch(Ee.unit.toLowerCase()){case"s":return 1e3*Ee.number;case"ms":return Ee.number}throw new Error("Unsupported time type")}},xt={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(he,Ee){return xn(Ee)?Ee.number:1}},gr={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ir={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(he,Ee){return Ee.filter(An).map(function(Re){switch(Re.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Re){return Re!==0})}},Zr={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(he,Ee){var Re=[],tt=[];return Ee.forEach(function(Rt){switch(Rt.type){case 20:case 0:Re.push(Rt.value);break;case 17:Re.push(Rt.number.toString());break;case 4:tt.push(Re.join(" ")),Re.length=0;break}}),Re.length&&tt.push(Re.join(" ")),tt.map(function(Rt){return Rt.indexOf(" ")===-1?Rt:"'"+Rt+"'"})}},En={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Hn={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(he,Ee){if(xn(Ee))return Ee.number;if(An(Ee))switch(Ee.value){case"bold":return 700;case"normal":default:return 400}return 400}},ai={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(he,Ee){return Ee.filter(An).map(function(Re){return Re.value})}},Ci={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ee){switch(Ee){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Ui=function(he,Ee){return(he&Ee)!==0},va={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(he,Ee){if(Ee.length===0)return[];var Re=Ee[0];return Re.type===20&&Re.value==="none"?[]:Ee}},_a={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(he,Ee){if(Ee.length===0)return null;var Re=Ee[0];if(Re.type===20&&Re.value==="none")return null;for(var tt=[],Rt=Ee.filter(bn),Er=0;Er<Rt.length;Er++){var Ur=Rt[Er],$r=Rt[Er+1];if(Ur.type===20){var vn=$r&&xn($r)?$r.number:1;tt.push({counter:Ur.value,increment:vn})}}return tt}},Za={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(he,Ee){if(Ee.length===0)return[];for(var Re=[],tt=Ee.filter(bn),Rt=0;Rt<tt.length;Rt++){var Er=tt[Rt],Ur=tt[Rt+1];if(An(Er)&&Er.value!=="none"){var $r=Ur&&xn(Ur)?Ur.number:0;Re.push({counter:Er.value,reset:$r})}}return Re}},no={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(he,Ee){return Ee.filter(on).map(function(Re){return st.parse(he,Re)})}},uo={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(he,Ee){if(Ee.length===0)return null;var Re=Ee[0];if(Re.type===20&&Re.value==="none")return null;var tt=[],Rt=Ee.filter(Pn);if(Rt.length%2!==0)return null;for(var Er=0;Er<Rt.length;Er+=2){var Ur=Rt[Er].value,$r=Rt[Er+1].value;tt.push({open:Ur,close:$r})}return tt}},Io=function(he,Ee,Re){if(!he)return"";var tt=he[Math.min(Ee,he.length-1)];return tt?Re?tt.open:tt.close:""},Eo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(he,Ee){return Ee.length===1&&Un(Ee[0],"none")?[]:Tn(Ee).map(function(Re){for(var tt={color:255,offsetX:oi,offsetY:oi,blur:oi,spread:oi,inset:!1},Rt=0,Er=0;Er<Re.length;Er++){var Ur=Re[Er];Un(Ur,"inset")?tt.inset=!0:Gn(Ur)?(Rt===0?tt.offsetX=Ur:Rt===1?tt.offsetY=Ur:Rt===2?tt.blur=Ur:tt.spread=Ur,Rt++):tt.color=nn.parse(he,Ur)}return tt})}},Ro={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(he,Ee){var Re=[0,1,2],tt=[];return Ee.filter(An).forEach(function(Rt){switch(Rt.value){case"stroke":tt.push(1);break;case"fill":tt.push(0);break;case"markers":tt.push(2);break}}),Re.forEach(function(Rt){tt.indexOf(Rt)===-1&&tt.push(Rt)}),tt}},yo={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Lo={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(he,Ee){return on(Ee)?Ee.number:0}},Zo=function(){function Zt(he,Ee){var Re,tt;this.animationDuration=aa(he,no,Ee.animationDuration),this.backgroundClip=aa(he,li,Ee.backgroundClip),this.backgroundColor=aa(he,di,Ee.backgroundColor),this.backgroundImage=aa(he,qa,Ee.backgroundImage),this.backgroundOrigin=aa(he,Ya,Ee.backgroundOrigin),this.backgroundPosition=aa(he,Ka,Ee.backgroundPosition),this.backgroundRepeat=aa(he,ao,Ee.backgroundRepeat),this.backgroundSize=aa(he,go,Ee.backgroundSize),this.borderTopColor=aa(he,to,Ee.borderTopColor),this.borderRightColor=aa(he,ro,Ee.borderRightColor),this.borderBottomColor=aa(he,Ca,Ee.borderBottomColor),this.borderLeftColor=aa(he,Ha,Ee.borderLeftColor),this.borderTopLeftRadius=aa(he,oo,Ee.borderTopLeftRadius),this.borderTopRightRadius=aa(he,Ga,Ee.borderTopRightRadius),this.borderBottomRightRadius=aa(he,Ki,Ee.borderBottomRightRadius),this.borderBottomLeftRadius=aa(he,Xa,Ee.borderBottomLeftRadius),this.borderTopStyle=aa(he,_o,Ee.borderTopStyle),this.borderRightStyle=aa(he,Vo,Ee.borderRightStyle),this.borderBottomStyle=aa(he,Go,Ee.borderBottomStyle),this.borderLeftStyle=aa(he,bo,Ee.borderLeftStyle),this.borderTopWidth=aa(he,Ho,Ee.borderTopWidth),this.borderRightWidth=aa(he,ds,Ee.borderRightWidth),this.borderBottomWidth=aa(he,fo,Ee.borderBottomWidth),this.borderLeftWidth=aa(he,Oo,Ee.borderLeftWidth),this.boxShadow=aa(he,Eo,Ee.boxShadow),this.color=aa(he,Wa,Ee.color),this.direction=aa(he,Xo,Ee.direction),this.display=aa(he,Zs,Ee.display),this.float=aa(he,_s,Ee.cssFloat),this.fontFamily=aa(he,Zr,Ee.fontFamily),this.fontSize=aa(he,En,Ee.fontSize),this.fontStyle=aa(he,Ci,Ee.fontStyle),this.fontVariant=aa(he,ai,Ee.fontVariant),this.fontWeight=aa(he,Hn,Ee.fontWeight),this.letterSpacing=aa(he,Es,Ee.letterSpacing),this.lineBreak=aa(he,ws,Ee.lineBreak),this.lineHeight=aa(he,Do,Ee.lineHeight),this.listStyleImage=aa(he,rs,Ee.listStyleImage),this.listStylePosition=aa(he,Yo,Ee.listStylePosition),this.listStyleType=aa(he,Fo,Ee.listStyleType),this.marginTop=aa(he,Jo,Ee.marginTop),this.marginRight=aa(he,$s,Ee.marginRight),this.marginBottom=aa(he,Is,Ee.marginBottom),this.marginLeft=aa(he,ks,Ee.marginLeft),this.opacity=aa(he,xt,Ee.opacity);var Rt=aa(he,lo,Ee.overflow);this.overflowX=Rt[0],this.overflowY=Rt[Rt.length>1?1:0],this.overflowWrap=aa(he,Ao,Ee.overflowWrap),this.paddingTop=aa(he,hs,Ee.paddingTop),this.paddingRight=aa(he,vs,Ee.paddingRight),this.paddingBottom=aa(he,ss,Ee.paddingBottom),this.paddingLeft=aa(he,Cs,Ee.paddingLeft),this.paintOrder=aa(he,Ro,Ee.paintOrder),this.position=aa(he,Ls,Ee.position),this.textAlign=aa(he,ol,Ee.textAlign),this.textDecorationColor=aa(he,gr,(Re=Ee.textDecorationColor)!==null&&Re!==void 0?Re:Ee.color),this.textDecorationLine=aa(he,Ir,(tt=Ee.textDecorationLine)!==null&&tt!==void 0?tt:Ee.textDecoration),this.textShadow=aa(he,Xs,Ee.textShadow),this.textTransform=aa(he,Os,Ee.textTransform),this.transform=aa(he,Ks,Ee.transform),this.transformOrigin=aa(he,ft,Ee.transformOrigin),this.visibility=aa(he,ne,Ee.visibility),this.webkitTextStrokeColor=aa(he,yo,Ee.webkitTextStrokeColor),this.webkitTextStrokeWidth=aa(he,Lo,Ee.webkitTextStrokeWidth),this.wordBreak=aa(he,Te,Ee.wordBreak),this.zIndex=aa(he,je,Ee.zIndex)}return Zt.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Zt.prototype.isTransparent=function(){return Nr(this.backgroundColor)},Zt.prototype.isTransformed=function(){return this.transform!==null},Zt.prototype.isPositioned=function(){return this.position!==0},Zt.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Zt.prototype.isFloating=function(){return this.float!==0},Zt.prototype.isInlineLevel=function(){return Ui(this.display,4)||Ui(this.display,33554432)||Ui(this.display,268435456)||Ui(this.display,536870912)||Ui(this.display,67108864)||Ui(this.display,134217728)},Zt}(),Ko=function(){function Zt(he,Ee){this.content=aa(he,va,Ee.content),this.quotes=aa(he,uo,Ee.quotes)}return Zt}(),To=function(){function Zt(he,Ee){this.counterIncrement=aa(he,_a,Ee.counterIncrement),this.counterReset=aa(he,Za,Ee.counterReset)}return Zt}(),aa=function(he,Ee,Re){var tt=new Pr,Rt=Re!==null&&typeof Re!="undefined"?Re.toString():Ee.initialValue;tt.write(Rt);var Er=new Kr(tt.read());switch(Ee.type){case 2:var Ur=Er.parseComponentValue();return Ee.parse(he,An(Ur)?Ur.value:Ee.initialValue);case 0:return Ee.parse(he,Er.parseComponentValue());case 1:return Ee.parse(he,Er.parseComponentValues());case 4:return Er.parseComponentValue();case 3:switch(Ee.format){case"angle":return ta.parse(he,Er.parseComponentValue());case"color":return nn.parse(he,Er.parseComponentValue());case"image":return Ra.parse(he,Er.parseComponentValue());case"length":var $r=Er.parseComponentValue();return Gn($r)?$r:oi;case"length-percentage":var vn=Er.parseComponentValue();return ri(vn)?vn:oi;case"time":return st.parse(he,Er.parseComponentValue())}break}},Ns="data-html2canvas-debug",Ss=function(he){var Ee=he.getAttribute(Ns);switch(Ee){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},is=function(he,Ee){var Re=Ss(he);return Re===1||Ee===Re},Qo=function(){function Zt(he,Ee){if(this.context=he,this.textNodes=[],this.elements=[],this.flags=0,is(Ee,3))debugger;this.styles=new Zo(he,window.getComputedStyle(Ee,null)),vu(Ee)&&(this.styles.animationDuration.some(function(Re){return Re>0})&&(Ee.style.animationDuration="0s"),this.styles.transform!==null&&(Ee.style.transform="none")),this.bounds=c(this.context,Ee),is(Ee,4)&&(this.flags|=16)}return Zt}(),fs="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",vl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sl=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ps=0;ps<vl.length;ps++)sl[vl.charCodeAt(ps)]=ps;for(var Mo=function(he){var Ee=he.length*.75,Re=he.length,tt,Rt=0,Er,Ur,$r,vn;he[he.length-1]==="="&&(Ee--,he[he.length-2]==="="&&Ee--);var ni=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ee):new Array(Ee),Yn=Array.isArray(ni)?ni:new Uint8Array(ni);for(tt=0;tt<Re;tt+=4)Er=sl[he.charCodeAt(tt)],Ur=sl[he.charCodeAt(tt+1)],$r=sl[he.charCodeAt(tt+2)],vn=sl[he.charCodeAt(tt+3)],Yn[Rt++]=Er<<2|Ur>>4,Yn[Rt++]=(Ur&15)<<4|$r>>2,Yn[Rt++]=($r&3)<<6|vn&63;return ni},ls=function(he){for(var Ee=he.length,Re=[],tt=0;tt<Ee;tt+=2)Re.push(he[tt+1]<<8|he[tt]);return Re},el=function(he){for(var Ee=he.length,Re=[],tt=0;tt<Ee;tt+=4)Re.push(he[tt+3]<<24|he[tt+2]<<16|he[tt+1]<<8|he[tt]);return Re},ms=5,Fs=6+5,Us=2,Ds=Fs-ms,al=65536>>ms,tl=1<<ms,Ys=tl-1,js=1024>>ms,Ja=al+js,Ea=Ja,za=2048>>6,co=Ea+za,$o=65536>>Fs,Hs=1<<Ds,As=Hs-1,ys=function(he,Ee,Re){return he.slice?he.slice(Ee,Re):new Uint16Array(Array.prototype.slice.call(he,Ee,Re))},jo=function(he,Ee,Re){return he.slice?he.slice(Ee,Re):new Uint32Array(Array.prototype.slice.call(he,Ee,Re))},Co=function(he,Ee){var Re=Mo(he),tt=Array.isArray(Re)?el(Re):new Uint32Array(Re),Rt=Array.isArray(Re)?ls(Re):new Uint16Array(Re),Er=24,Ur=ys(Rt,Er/2,tt[4]/2),$r=tt[5]===2?ys(Rt,(Er+tt[4])/2):jo(tt,Math.ceil((Er+tt[4])/4));return new qo(tt[0],tt[1],tt[2],tt[3],Ur,$r)},qo=function(){function Zt(he,Ee,Re,tt,Rt,Er){this.initialValue=he,this.errorValue=Ee,this.highStart=Re,this.highValueIndex=tt,this.index=Rt,this.data=Er}return Zt.prototype.get=function(he){var Ee;if(he>=0){if(he<55296||he>56319&&he<=65535)return Ee=this.index[he>>ms],Ee=(Ee<<Us)+(he&Ys),this.data[Ee];if(he<=65535)return Ee=this.index[al+(he-55296>>ms)],Ee=(Ee<<Us)+(he&Ys),this.data[Ee];if(he<this.highStart)return Ee=co-$o+(he>>Fs),Ee=this.index[Ee],Ee+=he>>ms&As,Ee=this.index[Ee],Ee=(Ee<<Us)+(he&Ys),this.data[Ee];if(he<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Zt}(),So="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ws=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Sl=0;Sl<So.length;Sl++)Ws[So.charCodeAt(Sl)]=Sl;var xl=1,Bl=2,rl=3,Il=4,Ll=5,Uu=7,iu=8,Tu=9,au=10,Hl=11,zs=12,nl=13,ll=14,Fl=15,ou=function(he){for(var Ee=[],Re=0,tt=he.length;Re<tt;){var Rt=he.charCodeAt(Re++);if(Rt>=55296&&Rt<=56319&&Re<tt){var Er=he.charCodeAt(Re++);(Er&64512)===56320?Ee.push(((Rt&1023)<<10)+(Er&1023)+65536):(Ee.push(Rt),Re--)}else Ee.push(Rt)}return Ee},su=function(){for(var he=[],Ee=0;Ee<arguments.length;Ee++)he[Ee]=arguments[Ee];if(String.fromCodePoint)return String.fromCodePoint.apply(String,he);var Re=he.length;if(!Re)return"";for(var tt=[],Rt=-1,Er="";++Rt<Re;){var Ur=he[Rt];Ur<=65535?tt.push(Ur):(Ur-=65536,tt.push((Ur>>10)+55296,Ur%1024+56320)),(Rt+1===Re||tt.length>16384)&&(Er+=String.fromCharCode.apply(String,tt),tt.length=0)}return Er},Ql=Co(fs),Vs="\xD7",lu="\xF7",uu=function(he){return Ql.get(he)},Cu=function(he,Ee,Re){var tt=Re-2,Rt=Ee[tt],Er=Ee[Re-1],Ur=Ee[Re];if(Er===Bl&&Ur===rl)return Vs;if(Er===Bl||Er===rl||Er===Il)return lu;if(Ur===Bl||Ur===rl||Ur===Il)return lu;if(Er===iu&&[iu,Tu,Hl,zs].indexOf(Ur)!==-1)return Vs;if((Er===Hl||Er===Tu)&&(Ur===Tu||Ur===au))return Vs;if((Er===zs||Er===au)&&Ur===au)return Vs;if(Ur===nl||Ur===Ll)return Vs;if(Ur===Uu)return Vs;if(Er===xl)return Vs;if(Er===nl&&Ur===ll){for(;Rt===Ll;)Rt=Ee[--tt];if(Rt===ll)return Vs}if(Er===Fl&&Ur===Fl){for(var $r=0;Rt===Fl;)$r++,Rt=Ee[--tt];if($r%2===0)return Vs}return lu},Al=function(he){var Ee=ou(he),Re=Ee.length,tt=0,Rt=0,Er=Ee.map(uu);return{next:function(){if(tt>=Re)return{done:!0,value:null};for(var $r=Vs;tt<Re&&($r=Cu(Ee,Er,++tt))===Vs;);if($r!==Vs||tt===Re){var vn=su.apply(null,Ee.slice(Rt,tt));return Rt=tt,{value:vn,done:!1}}return{done:!0,value:null}}}},Ol=function(he){for(var Ee=Al(he),Re=[],tt;!(tt=Ee.next()).done;)tt.value&&Re.push(tt.value.slice());return Re},Kl=function(he){var Ee=123;if(he.createRange){var Re=he.createRange();if(Re.getBoundingClientRect){var tt=he.createElement("boundtest");tt.style.height=Ee+"px",tt.style.display="block",he.body.appendChild(tt),Re.selectNode(tt);var Rt=Re.getBoundingClientRect(),Er=Math.round(Rt.height);if(he.body.removeChild(tt),Er===Ee)return!0}}return!1},Jl=function(he){var Ee=he.createElement("boundtest");Ee.style.width="50px",Ee.style.display="block",Ee.style.fontSize="12px",Ee.style.letterSpacing="0px",Ee.style.wordSpacing="0px",he.body.appendChild(Ee);var Re=he.createRange();Ee.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var tt=Ee.firstChild,Rt=r(tt.data).map(function(vn){return i(vn)}),Er=0,Ur={},$r=Rt.every(function(vn,ni){Re.setStart(tt,Er),Re.setEnd(tt,Er+vn.length);var Yn=Re.getBoundingClientRect();Er+=vn.length;var si=Yn.x>Ur.x||Yn.y>Ur.y;return Ur=Yn,ni===0?!0:si});return he.body.removeChild(Ee),$r},El=function(){return typeof new Image().crossOrigin!="undefined"},ju=function(){return typeof new XMLHttpRequest().responseType=="string"},Hu=function(he){var Ee=new Image,Re=he.createElement("canvas"),tt=Re.getContext("2d");if(!tt)return!1;Ee.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{tt.drawImage(Ee,0,0),Re.toDataURL()}catch(Rt){return!1}return!0},yl=function(he){return he[0]===0&&he[1]===255&&he[2]===0&&he[3]===255},Zl=function(he){var Ee=he.createElement("canvas"),Re=100;Ee.width=Re,Ee.height=Re;var tt=Ee.getContext("2d");if(!tt)return Promise.reject(!1);tt.fillStyle="rgb(0, 255, 0)",tt.fillRect(0,0,Re,Re);var Rt=new Image,Er=Ee.toDataURL();Rt.src=Er;var Ur=cu(Re,Re,0,0,Rt);return tt.fillStyle="red",tt.fillRect(0,0,Re,Re),$l(Ur).then(function($r){tt.drawImage($r,0,0);var vn=tt.getImageData(0,0,Re,Re).data;tt.fillStyle="red",tt.fillRect(0,0,Re,Re);var ni=he.createElement("div");return ni.style.backgroundImage="url("+Er+")",ni.style.height=Re+"px",yl(vn)?$l(cu(Re,Re,0,0,ni)):Promise.reject(!1)}).then(function($r){return tt.drawImage($r,0,0),yl(tt.getImageData(0,0,Re,Re).data)}).catch(function(){return!1})},cu=function(he,Ee,Re,tt,Rt){var Er="http://www.w3.org/2000/svg",Ur=document.createElementNS(Er,"svg"),$r=document.createElementNS(Er,"foreignObject");return Ur.setAttributeNS(null,"width",he.toString()),Ur.setAttributeNS(null,"height",Ee.toString()),$r.setAttributeNS(null,"width","100%"),$r.setAttributeNS(null,"height","100%"),$r.setAttributeNS(null,"x",Re.toString()),$r.setAttributeNS(null,"y",tt.toString()),$r.setAttributeNS(null,"externalResourcesRequired","true"),Ur.appendChild($r),$r.appendChild(Rt),Ur},$l=function(he){return new Promise(function(Ee,Re){var tt=new Image;tt.onload=function(){return Ee(tt)},tt.onerror=Re,tt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(he))})},bs={get SUPPORT_RANGE_BOUNDS(){var Zt=Kl(document);return Object.defineProperty(bs,"SUPPORT_RANGE_BOUNDS",{value:Zt}),Zt},get SUPPORT_WORD_BREAKING(){var Zt=bs.SUPPORT_RANGE_BOUNDS&&Jl(document);return Object.defineProperty(bs,"SUPPORT_WORD_BREAKING",{value:Zt}),Zt},get SUPPORT_SVG_DRAWING(){var Zt=Hu(document);return Object.defineProperty(bs,"SUPPORT_SVG_DRAWING",{value:Zt}),Zt},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Zt=typeof Array.from=="function"&&typeof window.fetch=="function"?Zl(document):Promise.resolve(!1);return Object.defineProperty(bs,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Zt}),Zt},get SUPPORT_CORS_IMAGES(){var Zt=El();return Object.defineProperty(bs,"SUPPORT_CORS_IMAGES",{value:Zt}),Zt},get SUPPORT_RESPONSE_TYPE(){var Zt=ju();return Object.defineProperty(bs,"SUPPORT_RESPONSE_TYPE",{value:Zt}),Zt},get SUPPORT_CORS_XHR(){var Zt="withCredentials"in new XMLHttpRequest;return Object.defineProperty(bs,"SUPPORT_CORS_XHR",{value:Zt}),Zt},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Zt=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(bs,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Zt}),Zt}},dl=function(){function Zt(he,Ee){this.text=he,this.bounds=Ee}return Zt}(),Ul=function(he,Ee,Re,tt){var Rt=hu(Ee,Re),Er=[],Ur=0;return Rt.forEach(function($r){if(Re.textDecorationLine.length||$r.trim().length>0)if(bs.SUPPORT_RANGE_BOUNDS){var vn=du(tt,Ur,$r.length).getClientRects();if(vn.length>1){var ni=Wl($r),Yn=0;ni.forEach(function(ya){Er.push(new dl(ya,p.fromDOMRectList(he,du(tt,Yn+Ur,ya.length).getClientRects()))),Yn+=ya.length})}else Er.push(new dl($r,p.fromDOMRectList(he,vn)))}else{var si=tt.splitText($r.length);Er.push(new dl($r,_u(he,tt))),tt=si}else bs.SUPPORT_RANGE_BOUNDS||(tt=tt.splitText($r.length));Ur+=$r.length}),Er},_u=function(he,Ee){var Re=Ee.ownerDocument;if(Re){var tt=Re.createElement("html2canvaswrapper");tt.appendChild(Ee.cloneNode(!0));var Rt=Ee.parentNode;if(Rt){Rt.replaceChild(tt,Ee);var Er=c(he,tt);return tt.firstChild&&Rt.replaceChild(tt.firstChild,tt),Er}}return p.EMPTY},du=function(he,Ee,Re){var tt=he.ownerDocument;if(!tt)throw new Error("Node has no owner document");var Rt=tt.createRange();return Rt.setStart(he,Ee),Rt.setEnd(he,Ee+Re),Rt},Wl=function(he){if(bs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ee=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ee.segment(he)).map(function(Re){return Re.segment})}return Ol(he)},zl=function(he,Ee){if(bs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Re=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(Re.segment(he)).map(function(tt){return tt.segment})}return Ku(he,Ee)},hu=function(he,Ee){return Ee.letterSpacing!==0?Wl(he):zl(he,Ee)},Iu=[32,160,4961,65792,65793,4153,4241],Ku=function(he,Ee){for(var Re=Pe(he,{lineBreak:Ee.lineBreak,wordBreak:Ee.overflowWrap==="break-word"?"break-word":Ee.wordBreak}),tt=[],Rt,Er=function(){if(Rt.value){var $r=Rt.value.slice(),vn=r($r),ni="";vn.forEach(function(Yn){Iu.indexOf(Yn)===-1?ni+=i(Yn):(ni.length&&tt.push(ni),tt.push(i(Yn)),ni="")}),ni.length&&tt.push(ni)}};!(Rt=Re.next()).done;)Er();return tt},hl=function(){function Zt(he,Ee,Re){this.text=fl(Ee.data,Re.textTransform),this.textBounds=Ul(he,this.text,Re,Ee)}return Zt}(),fl=function(he,Ee){switch(Ee){case 1:return he.toLowerCase();case 3:return he.replace(Tl,ql);case 2:return he.toUpperCase();default:return he}},Tl=/(^|\s|:|-|\(|\))([a-z])/g,ql=function(he,Ee,Re){return he.length>0?Ee+Re.toUpperCase():he},eu=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;return tt.src=Re.currentSrc||Re.src,tt.intrinsicWidth=Re.naturalWidth,tt.intrinsicHeight=Re.naturalHeight,tt.context.cache.addImage(tt.src),tt}return he}(Qo),bl=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;return tt.canvas=Re,tt.intrinsicWidth=Re.width,tt.intrinsicHeight=Re.height,tt}return he}(Qo),ul=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this,Rt=new XMLSerializer,Er=c(Ee,Re);return Re.setAttribute("width",Er.width+"px"),Re.setAttribute("height",Er.height+"px"),tt.svg="data:image/svg+xml,"+encodeURIComponent(Rt.serializeToString(Re)),tt.intrinsicWidth=Re.width.baseVal.value,tt.intrinsicHeight=Re.height.baseVal.value,tt.context.cache.addImage(tt.svg),tt}return he}(Qo),fu=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;return tt.value=Re.value,tt}return he}(Qo),pu=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;return tt.start=Re.start,tt.reversed=typeof Re.reversed=="boolean"&&Re.reversed===!0,tt}return he}(Qo),Wu=[{type:15,flags:0,unit:"px",number:3}],Lu=[{type:16,flags:0,number:50}],Ou=function(he){return he.width>he.height?new p(he.left+(he.width-he.height)/2,he.top,he.height,he.height):he.width<he.height?new p(he.left,he.top+(he.height-he.width)/2,he.width,he.width):he},zu=function(he){var Ee=he.type===Nl?new Array(he.value.length+1).join("\u2022"):he.value;return Ee.length===0?he.placeholder||"":Ee},Vl="checkbox",pl="radio",Nl="password",Gl=707406591,jl=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;tt.type=Re.type.toLowerCase(),tt.checked=Re.checked,tt.value=zu(Re),(tt.type===Vl||tt.type===pl)&&(tt.styles.backgroundColor=3739148031,tt.styles.borderTopColor=tt.styles.borderRightColor=tt.styles.borderBottomColor=tt.styles.borderLeftColor=2779096575,tt.styles.borderTopWidth=tt.styles.borderRightWidth=tt.styles.borderBottomWidth=tt.styles.borderLeftWidth=1,tt.styles.borderTopStyle=tt.styles.borderRightStyle=tt.styles.borderBottomStyle=tt.styles.borderLeftStyle=1,tt.styles.backgroundClip=[0],tt.styles.backgroundOrigin=[0],tt.bounds=Ou(tt.bounds));switch(tt.type){case Vl:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=Wu;break;case pl:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=Lu;break}return tt}return he}(Qo),mu=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this,Rt=Re.options[Re.selectedIndex||0];return tt.value=Rt&&Rt.text||"",tt}return he}(Qo),Vu=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;return tt.value=Re.value,tt}return he}(Qo),Nu=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;tt.src=Re.src,tt.width=parseInt(Re.width,10)||0,tt.height=parseInt(Re.height,10)||0,tt.backgroundColor=tt.styles.backgroundColor;try{if(Re.contentWindow&&Re.contentWindow.document&&Re.contentWindow.document.documentElement){tt.tree=Xu(Ee,Re.contentWindow.document.documentElement);var Rt=Re.contentWindow.document.documentElement?fn(Ee,getComputedStyle(Re.contentWindow.document.documentElement).backgroundColor):Dn.TRANSPARENT,Er=Re.contentWindow.document.body?fn(Ee,getComputedStyle(Re.contentWindow.document.body).backgroundColor):Dn.TRANSPARENT;tt.backgroundColor=Nr(Rt)?Nr(Er)?tt.styles.backgroundColor:Er:Rt}}catch(Ur){}return tt}return he}(Qo),ec=["OL","UL","MENU"],Du=function Zt(he,Ee,Re,tt){for(var Rt=Ee.firstChild,Er=void 0;Rt;Rt=Er)if(Er=Rt.nextSibling,gu(Rt)&&Rt.data.trim().length>0)Re.textNodes.push(new hl(he,Rt,Re.styles));else if(wl(Rt))if(Ot(Rt)&&Rt.assignedNodes)Rt.assignedNodes().forEach(function($r){return Zt(he,$r,Re,tt)});else{var Ur=Gu(he,Rt);Ur.styles.isVisible()&&(Yu(Rt,Ur,tt)?Ur.flags|=4:Ru(Ur.styles)&&(Ur.flags|=2),ec.indexOf(Rt.tagName)!==-1&&(Ur.flags|=8),Re.elements.push(Ur),Rt.slot,Rt.shadowRoot?Zt(he,Rt.shadowRoot,Ur,tt):!St(Rt)&&!Kt(Rt)&&!Ct(Rt)&&Zt(he,Rt,Ur,tt))}},Gu=function(he,Ee){return ee(Ee)?new eu(he,Ee):Cr(Ee)?new bl(he,Ee):Kt(Ee)?new ul(he,Ee):tu(Ee)?new fu(he,Ee):be(Ee)?new pu(he,Ee):Ue(Ee)?new jl(he,Ee):Ct(Ee)?new mu(he,Ee):St(Ee)?new Vu(he,Ee):Se(Ee)?new Nu(he,Ee):new Qo(he,Ee)},Xu=function(he,Ee){var Re=Gu(he,Ee);return Re.flags|=4,Du(he,Ee,Re,Re),Re},Yu=function(he,Ee,Re){return Ee.styles.isPositionedWithZIndex()||Ee.styles.opacity<1||Ee.styles.isTransformed()||dr(he)&&Re.styles.isTransparent()},Ru=function(he){return he.isPositioned()||he.isFloating()},gu=function(he){return he.nodeType===Node.TEXT_NODE},wl=function(he){return he.nodeType===Node.ELEMENT_NODE},vu=function(he){return wl(he)&&typeof he.style!="undefined"&&!Cl(he)},Cl=function(he){return typeof he.className=="object"},tu=function(he){return he.tagName==="LI"},be=function(he){return he.tagName==="OL"},Ue=function(he){return he.tagName==="INPUT"},ct=function(he){return he.tagName==="HTML"},Kt=function(he){return he.tagName==="svg"},dr=function(he){return he.tagName==="BODY"},Cr=function(he){return he.tagName==="CANVAS"},Ne=function(he){return he.tagName==="VIDEO"},ee=function(he){return he.tagName==="IMG"},Se=function(he){return he.tagName==="IFRAME"},He=function(he){return he.tagName==="STYLE"},it=function(he){return he.tagName==="SCRIPT"},St=function(he){return he.tagName==="TEXTAREA"},Ct=function(he){return he.tagName==="SELECT"},Ot=function(he){return he.tagName==="SLOT"},Ar=function(he){return he.tagName.indexOf("-")>0},Or=function(){function Zt(){this.counters={}}return Zt.prototype.getCounterValue=function(he){var Ee=this.counters[he];return Ee&&Ee.length?Ee[Ee.length-1]:1},Zt.prototype.getCounterValues=function(he){var Ee=this.counters[he];return Ee||[]},Zt.prototype.pop=function(he){var Ee=this;he.forEach(function(Re){return Ee.counters[Re].pop()})},Zt.prototype.parse=function(he){var Ee=this,Re=he.counterIncrement,tt=he.counterReset,Rt=!0;Re!==null&&Re.forEach(function(Ur){var $r=Ee.counters[Ur.counter];$r&&Ur.increment!==0&&(Rt=!1,$r.length||$r.push(1),$r[Math.max(0,$r.length-1)]+=Ur.increment)});var Er=[];return Rt&&tt.forEach(function(Ur){var $r=Ee.counters[Ur.counter];Er.push(Ur.counter),$r||($r=Ee.counters[Ur.counter]=[]),$r.push(Ur.reset)}),Er},Zt}(),mr={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"]},cr={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"]},Tr={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"]},kr={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"]},sn=function(he,Ee,Re,tt,Rt,Er){return he<Ee||he>Re?q(he,Rt,Er.length>0):tt.integers.reduce(function(Ur,$r,vn){for(;he>=$r;)he-=$r,Ur+=tt.values[vn];return Ur},"")+Er},jn=function(he,Ee,Re,tt){var Rt="";do Re||he--,Rt=tt(he)+Rt,he/=Ee;while(he*Ee>=Ee);return Rt},Vn=function(he,Ee,Re,tt,Rt){var Er=Re-Ee+1;return(he<0?"-":"")+(jn(Math.abs(he),Er,tt,function(Ur){return i(Math.floor(Ur%Er)+Ee)})+Rt)},Li=function(he,Ee,Re){Re===void 0&&(Re=". ");var tt=Ee.length;return jn(Math.abs(he),tt,!1,function(Rt){return Ee[Math.floor(Rt%tt)]})+Re},ui=1<<0,ba=1<<1,Wi=1<<2,Oa=1<<3,wa=function(he,Ee,Re,tt,Rt,Er){if(he<-9999||he>9999)return q(he,4,Rt.length>0);var Ur=Math.abs(he),$r=Rt;if(Ur===0)return Ee[0]+$r;for(var vn=0;Ur>0&&vn<=4;vn++){var ni=Ur%10;ni===0&&Ui(Er,ui)&&$r!==""?$r=Ee[ni]+$r:ni>1||ni===1&&vn===0||ni===1&&vn===1&&Ui(Er,ba)||ni===1&&vn===1&&Ui(Er,Wi)&&he>100||ni===1&&vn>1&&Ui(Er,Oa)?$r=Ee[ni]+(vn>0?Re[vn-1]:"")+$r:ni===1&&vn>0&&($r=Re[vn-1]+$r),Ur=Math.floor(Ur/10)}return(he<0?tt:"")+$r},$a="\u5341\u767E\u5343\u842C",mo="\u62FE\u4F70\u4EDF\u842C",P="\u30DE\u30A4\u30CA\u30B9",K="\uB9C8\uC774\uB108\uC2A4",q=function(he,Ee,Re){var tt=Re?". ":"",Rt=Re?"\u3001":"",Er=Re?", ":"",Ur=Re?" ":"";switch(Ee){case 0:return"\u2022"+Ur;case 1:return"\u25E6"+Ur;case 2:return"\u25FE"+Ur;case 5:var $r=Vn(he,48,57,!0,tt);return $r.length<4?"0"+$r:$r;case 4:return Li(he,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Rt);case 6:return sn(he,1,3999,mr,3,tt).toLowerCase();case 7:return sn(he,1,3999,mr,3,tt);case 8:return Vn(he,945,969,!1,tt);case 9:return Vn(he,97,122,!1,tt);case 10:return Vn(he,65,90,!1,tt);case 11:return Vn(he,1632,1641,!0,tt);case 12:case 49:return sn(he,1,9999,cr,3,tt);case 35:return sn(he,1,9999,cr,3,tt).toLowerCase();case 13:return Vn(he,2534,2543,!0,tt);case 14:case 30:return Vn(he,6112,6121,!0,tt);case 15:return Li(he,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Rt);case 16:return Li(he,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Rt);case 17:case 48:return wa(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",$a,"\u8CA0",Rt,ba|Wi|Oa);case 47:return wa(he,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",mo,"\u8CA0",Rt,ui|ba|Wi|Oa);case 42:return wa(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",$a,"\u8D1F",Rt,ba|Wi|Oa);case 41:return wa(he,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",mo,"\u8D1F",Rt,ui|ba|Wi|Oa);case 26:return wa(he,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",P,Rt,0);case 25:return wa(he,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",P,Rt,ui|ba|Wi);case 31:return wa(he,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",K,Er,ui|ba|Wi);case 33:return wa(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",K,Er,0);case 32:return wa(he,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",K,Er,ui|ba|Wi);case 18:return Vn(he,2406,2415,!0,tt);case 20:return sn(he,1,19999,kr,3,tt);case 21:return Vn(he,2790,2799,!0,tt);case 22:return Vn(he,2662,2671,!0,tt);case 22:return sn(he,1,10999,Tr,3,tt);case 23:return Li(he,"\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 Li(he,"\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 Vn(he,3302,3311,!0,tt);case 28:return Li(he,"\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",Rt);case 29:return Li(he,"\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",Rt);case 34:return Vn(he,3792,3801,!0,tt);case 37:return Vn(he,6160,6169,!0,tt);case 38:return Vn(he,4160,4169,!0,tt);case 39:return Vn(he,2918,2927,!0,tt);case 40:return Vn(he,1776,1785,!0,tt);case 43:return Vn(he,3046,3055,!0,tt);case 44:return Vn(he,3174,3183,!0,tt);case 45:return Vn(he,3664,3673,!0,tt);case 46:return Vn(he,3872,3881,!0,tt);case 3:default:return Vn(he,48,57,!0,tt)}},te="data-html2canvas-ignore",ue=function(){function Zt(he,Ee,Re){if(this.context=he,this.options=Re,this.scrolledElements=[],this.referenceElement=Ee,this.counters=new Or,this.quoteDepth=0,!Ee.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Ee.ownerDocument.documentElement,!1)}return Zt.prototype.toIFrame=function(he,Ee){var Re=this,tt=dt(he,Ee);if(!tt.contentWindow)return Promise.reject("Unable to find iframe window");var Rt=he.defaultView.pageXOffset,Er=he.defaultView.pageYOffset,Ur=tt.contentWindow,$r=Ur.document,vn=tr(tt).then(function(){return A(Re,void 0,void 0,function(){var ni,Yn;return b(this,function(si){switch(si.label){case 0:return this.scrolledElements.forEach(yi),Ur&&(Ur.scrollTo(Ee.left,Ee.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Ur.scrollY!==Ee.top||Ur.scrollX!==Ee.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Ur.scrollX-Ee.left,Ur.scrollY-Ee.top,0,0))),ni=this.options.onclone,Yn=this.clonedReferenceElement,typeof Yn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:$r.fonts&&$r.fonts.ready?[4,$r.fonts.ready]:[3,2];case 1:si.sent(),si.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Qt($r)]:[3,4];case 3:si.sent(),si.label=4;case 4:return typeof ni=="function"?[2,Promise.resolve().then(function(){return ni($r,Yn)}).then(function(){return tt})]:[2,tt]}})})});return $r.open(),$r.write(Mn(document.doctype)+"<html></html>"),Fn(this.referenceElement.ownerDocument,Rt,Er),$r.replaceChild($r.adoptNode(this.documentElement),$r.documentElement),$r.close(),vn},Zt.prototype.createElementClone=function(he){if(is(he,2))debugger;if(Cr(he))return this.createCanvasClone(he);if(Ne(he))return this.createVideoClone(he);if(He(he))return this.createStyleClone(he);var Ee=he.cloneNode(!1);return ee(Ee)&&(ee(he)&&he.currentSrc&&he.currentSrc!==he.src&&(Ee.src=he.currentSrc,Ee.srcset=""),Ee.loading==="lazy"&&(Ee.loading="eager")),Ar(Ee)?this.createCustomElementClone(Ee):Ee},Zt.prototype.createCustomElementClone=function(he){var Ee=document.createElement("html2canvascustomelement");return pn(he.style,Ee),Ee},Zt.prototype.createStyleClone=function(he){try{var Ee=he.sheet;if(Ee&&Ee.cssRules){var Re=[].slice.call(Ee.cssRules,0).reduce(function(Rt,Er){return Er&&typeof Er.cssText=="string"?Rt+Er.cssText:Rt},""),tt=he.cloneNode(!1);return tt.textContent=Re,tt}}catch(Rt){if(this.context.logger.error("Unable to access cssRules property",Rt),Rt.name!=="SecurityError")throw Rt}return he.cloneNode(!1)},Zt.prototype.createCanvasClone=function(he){var Ee;if(this.options.inlineImages&&he.ownerDocument){var Re=he.ownerDocument.createElement("img");try{return Re.src=he.toDataURL(),Re}catch(vn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",he)}}var tt=he.cloneNode(!1);try{tt.width=he.width,tt.height=he.height;var Rt=he.getContext("2d"),Er=tt.getContext("2d");if(Er)if(!this.options.allowTaint&&Rt)Er.putImageData(Rt.getImageData(0,0,he.width,he.height),0,0);else{var Ur=(Ee=he.getContext("webgl2"))!==null&&Ee!==void 0?Ee:he.getContext("webgl");if(Ur){var $r=Ur.getContextAttributes();($r==null?void 0:$r.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",he)}Er.drawImage(he,0,0)}return tt}catch(vn){this.context.logger.info("Unable to clone canvas as it is tainted",he)}return tt},Zt.prototype.createVideoClone=function(he){var Ee=he.ownerDocument.createElement("canvas");Ee.width=he.offsetWidth,Ee.height=he.offsetHeight;var Re=Ee.getContext("2d");try{return Re&&(Re.drawImage(he,0,0,Ee.width,Ee.height),this.options.allowTaint||Re.getImageData(0,0,Ee.width,Ee.height)),Ee}catch(Rt){this.context.logger.info("Unable to clone video as it is tainted",he)}var tt=he.ownerDocument.createElement("canvas");return tt.width=he.offsetWidth,tt.height=he.offsetHeight,tt},Zt.prototype.appendChildNode=function(he,Ee,Re){(!wl(Ee)||!it(Ee)&&!Ee.hasAttribute(te)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Ee)))&&((!this.options.copyStyles||!wl(Ee)||!He(Ee))&&he.appendChild(this.cloneNode(Ee,Re)))},Zt.prototype.cloneChildNodes=function(he,Ee,Re){for(var tt=this,Rt=he.shadowRoot?he.shadowRoot.firstChild:he.firstChild;Rt;Rt=Rt.nextSibling)if(wl(Rt)&&Ot(Rt)&&typeof Rt.assignedNodes=="function"){var Er=Rt.assignedNodes();Er.length&&Er.forEach(function(Ur){return tt.appendChildNode(Ee,Ur,Re)})}else this.appendChildNode(Ee,Rt,Re)},Zt.prototype.cloneNode=function(he,Ee){if(gu(he))return document.createTextNode(he.data);if(!he.ownerDocument)return he.cloneNode(!1);var Re=he.ownerDocument.defaultView;if(Re&&wl(he)&&(vu(he)||Cl(he))){var tt=this.createElementClone(he);tt.style.transitionProperty="none";var Rt=Re.getComputedStyle(he),Er=Re.getComputedStyle(he,":before"),Ur=Re.getComputedStyle(he,":after");this.referenceElement===he&&vu(tt)&&(this.clonedReferenceElement=tt),dr(tt)&&Ia(tt);var $r=this.counters.parse(new To(this.context,Rt)),vn=this.resolvePseudoContent(he,tt,Er,Me.BEFORE);Ar(he)&&(Ee=!0),Ne(he)||this.cloneChildNodes(he,tt,Ee),vn&&tt.insertBefore(vn,tt.firstChild);var ni=this.resolvePseudoContent(he,tt,Ur,Me.AFTER);return ni&&tt.appendChild(ni),this.counters.pop($r),(Rt&&(this.options.copyStyles||Cl(he))&&!Se(he)||Ee)&&pn(Rt,tt),(he.scrollTop!==0||he.scrollLeft!==0)&&this.scrolledElements.push([tt,he.scrollLeft,he.scrollTop]),(St(he)||Ct(he))&&(St(tt)||Ct(tt))&&(tt.value=he.value),tt}return he.cloneNode(!1)},Zt.prototype.resolvePseudoContent=function(he,Ee,Re,tt){var Rt=this;if(!Re)return;var Er=Re.content,Ur=Ee.ownerDocument;if(!Ur||!Er||Er==="none"||Er==="-moz-alt-content"||Re.display==="none")return;this.counters.parse(new To(this.context,Re));var $r=new Ko(this.context,Re),vn=Ur.createElement("html2canvaspseudoelement");pn(Re,vn),$r.content.forEach(function(Yn){if(Yn.type===0)vn.appendChild(Ur.createTextNode(Yn.value));else if(Yn.type===22){var si=Ur.createElement("img");si.src=Yn.value,si.style.opacity="1",vn.appendChild(si)}else if(Yn.type===18){if(Yn.name==="attr"){var ya=Yn.values.filter(An);ya.length&&vn.appendChild(Ur.createTextNode(he.getAttribute(ya[0].value)||""))}else if(Yn.name==="counter"){var xa=Yn.values.filter(_n),La=xa[0],ho=xa[1];if(La&&An(La)){var Qa=Rt.counters.getCounterValue(La.value),Ua=ho&&An(ho)?Fo.parse(Rt.context,ho.value):3;vn.appendChild(Ur.createTextNode(q(Qa,Ua,!1)))}}else if(Yn.name==="counters"){var zo=Yn.values.filter(_n),La=zo[0],ts=zo[1],ho=zo[2];if(La&&An(La)){var ko=Rt.counters.getCounterValues(La.value),ka=ho&&An(ho)?Fo.parse(Rt.context,ho.value):3,os=ts&&ts.type===0?ts.value:"",cs=ko.map(function(Yl){return q(Yl,ka,!1)}).join(os);vn.appendChild(Ur.createTextNode(cs))}}}else if(Yn.type===20)switch(Yn.value){case"open-quote":vn.appendChild(Ur.createTextNode(Io($r.quotes,Rt.quoteDepth++,!0)));break;case"close-quote":vn.appendChild(Ur.createTextNode(Io($r.quotes,--Rt.quoteDepth,!1)));break;default:vn.appendChild(Ur.createTextNode(Yn.value))}}),vn.className=ea+" "+$i;var ni=tt===Me.BEFORE?" "+ea:" "+$i;return Cl(Ee)?Ee.className.baseValue+=ni:Ee.className+=ni,vn},Zt.destroy=function(he){return he.parentNode?(he.parentNode.removeChild(he),!0):!1},Zt}(),Me;(function(Zt){Zt[Zt.BEFORE=0]="BEFORE",Zt[Zt.AFTER=1]="AFTER"})(Me||(Me={}));var dt=function(he,Ee){var Re=he.createElement("iframe");return Re.className="html2canvas-container",Re.style.visibility="hidden",Re.style.position="fixed",Re.style.left="-10000px",Re.style.top="0px",Re.style.border="0",Re.width=Ee.width.toString(),Re.height=Ee.height.toString(),Re.scrolling="no",Re.setAttribute(te,"true"),he.body.appendChild(Re),Re},Tt=function(he){return new Promise(function(Ee){if(he.complete){Ee();return}if(!he.src){Ee();return}he.onload=Ee,he.onerror=Ee})},Qt=function(he){return Promise.all([].slice.call(he.images,0).map(Tt))},tr=function(he){return new Promise(function(Ee,Re){var tt=he.contentWindow;if(!tt)return Re("No window assigned for iframe");var Rt=tt.document;tt.onload=he.onload=function(){tt.onload=he.onload=null;var Er=setInterval(function(){Rt.body.childNodes.length>0&&Rt.readyState==="complete"&&(clearInterval(Er),Ee(he))},50)}})},en=["all","d","content"],pn=function(he,Ee){for(var Re=he.length-1;Re>=0;Re--){var tt=he.item(Re);en.indexOf(tt)===-1&&Ee.style.setProperty(tt,he.getPropertyValue(tt))}return Ee},Mn=function(he){var Ee="";return he&&(Ee+="<!DOCTYPE ",he.name&&(Ee+=he.name),he.internalSubset&&(Ee+=he.internalSubset),he.publicId&&(Ee+='"'+he.publicId+'"'),he.systemId&&(Ee+='"'+he.systemId+'"'),Ee+=">"),Ee},Fn=function(he,Ee,Re){he&&he.defaultView&&(Ee!==he.defaultView.pageXOffset||Re!==he.defaultView.pageYOffset)&&he.defaultView.scrollTo(Ee,Re)},yi=function(he){var Ee=he[0],Re=he[1],tt=he[2];Ee.scrollLeft=Re,Ee.scrollTop=tt},Xi=":before",oa=":after",ea="___html2canvas___pseudoelement_before",$i="___html2canvas___pseudoelement_after",Sa=`{
content: "" !important;
display: none !important;
}`,Ia=function(he){io(he,"."+ea+Xi+Sa+`
.`+$i+oa+Sa)},io=function(he,Ee){var Re=he.ownerDocument;if(Re){var tt=Re.createElement("style");tt.textContent=Ee,he.appendChild(tt)}},Fa=function(){function Zt(){}return Zt.getOrigin=function(he){var Ee=Zt._link;return Ee?(Ee.href=he,Ee.href=Ee.href,Ee.protocol+Ee.hostname+Ee.port):"about:blank"},Zt.isSameOrigin=function(he){return Zt.getOrigin(he)===Zt._origin},Zt.setContext=function(he){Zt._link=he.document.createElement("a"),Zt._origin=Zt.getOrigin(he.location.href)},Zt._origin="about:blank",Zt}(),xo=function(){function Zt(he,Ee){this.context=he,this._options=Ee,this._cache={}}return Zt.prototype.addImage=function(he){var Ee=Promise.resolve();return this.has(he)||(Js(he)||Rs(he))&&(this._cache[he]=this.loadImage(he)).catch(function(){}),Ee},Zt.prototype.match=function(he){return this._cache[he]},Zt.prototype.loadImage=function(he){return A(this,void 0,void 0,function(){var Ee,Re,tt,Rt,Er=this;return b(this,function(Ur){switch(Ur.label){case 0:return Ee=Fa.isSameOrigin(he),Re=!Qs(he)&&this._options.useCORS===!0&&bs.SUPPORT_CORS_IMAGES&&!Ee,tt=!Qs(he)&&!Ee&&!Js(he)&&typeof this._options.proxy=="string"&&bs.SUPPORT_CORS_XHR&&!Re,!Ee&&this._options.allowTaint===!1&&!Qs(he)&&!Js(he)&&!tt&&!Re?[2]:(Rt=he,tt?[4,this.proxy(Rt)]:[3,2]);case 1:Rt=Ur.sent(),Ur.label=2;case 2:return this.context.logger.debug("Added image "+he.substring(0,256)),[4,new Promise(function($r,vn){var ni=new Image;ni.onload=function(){return $r(ni)},ni.onerror=vn,(xs(Rt)||Re)&&(ni.crossOrigin="anonymous"),ni.src=Rt,ni.complete===!0&&setTimeout(function(){return $r(ni)},500),Er._options.imageTimeout>0&&setTimeout(function(){return vn("Timed out ("+Er._options.imageTimeout+"ms) loading image")},Er._options.imageTimeout)})];case 3:return[2,Ur.sent()]}})})},Zt.prototype.has=function(he){return typeof this._cache[he]!="undefined"},Zt.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Zt.prototype.proxy=function(he){var Ee=this,Re=this._options.proxy;if(!Re)throw new Error("No proxy defined");var tt=he.substring(0,256);return new Promise(function(Rt,Er){var Ur=bs.SUPPORT_RESPONSE_TYPE?"blob":"text",$r=new XMLHttpRequest;$r.onload=function(){if($r.status===200)if(Ur==="text")Rt($r.response);else{var Yn=new FileReader;Yn.addEventListener("load",function(){return Rt(Yn.result)},!1),Yn.addEventListener("error",function(si){return Er(si)},!1),Yn.readAsDataURL($r.response)}else Er("Failed to proxy resource "+tt+" with status code "+$r.status)},$r.onerror=Er;var vn=Re.indexOf("?")>-1?"&":"?";if($r.open("GET",""+Re+vn+"url="+encodeURIComponent(he)+"&responseType="+Ur),Ur!=="text"&&$r instanceof XMLHttpRequest&&($r.responseType=Ur),Ee._options.imageTimeout){var ni=Ee._options.imageTimeout;$r.timeout=ni,$r.ontimeout=function(){return Er("Timed out ("+ni+"ms) proxying "+tt)}}$r.send()})},Zt}(),Wo=/^data:image\/svg\+xml/i,us=/^data:image\/.*;base64,/i,es=/^data:image\/.*/i,Rs=function(he){return bs.SUPPORT_SVG_DRAWING||!Ms(he)},Qs=function(he){return es.test(he)},xs=function(he){return us.test(he)},Js=function(he){return he.substr(0,4)==="blob"},Ms=function(he){return he.substr(-3).toLowerCase()==="svg"||Wo.test(he)},Aa=function(){function Zt(he,Ee){this.type=0,this.x=he,this.y=Ee}return Zt.prototype.add=function(he,Ee){return new Zt(this.x+he,this.y+Ee)},Zt}(),as=function(he,Ee,Re){return new Aa(he.x+(Ee.x-he.x)*Re,he.y+(Ee.y-he.y)*Re)},ns=function(){function Zt(he,Ee,Re,tt){this.type=1,this.start=he,this.startControl=Ee,this.endControl=Re,this.end=tt}return Zt.prototype.subdivide=function(he,Ee){var Re=as(this.start,this.startControl,he),tt=as(this.startControl,this.endControl,he),Rt=as(this.endControl,this.end,he),Er=as(Re,tt,he),Ur=as(tt,Rt,he),$r=as(Er,Ur,he);return Ee?new Zt(this.start,Re,Er,$r):new Zt($r,Ur,Rt,this.end)},Zt.prototype.add=function(he,Ee){return new Zt(this.start.add(he,Ee),this.startControl.add(he,Ee),this.endControl.add(he,Ee),this.end.add(he,Ee))},Zt.prototype.reverse=function(){return new Zt(this.end,this.endControl,this.startControl,this.start)},Zt}(),gs=function(he){return he.type===1},Au=function(){function Zt(he){var Ee=he.styles,Re=he.bounds,tt=_i(Ee.borderTopLeftRadius,Re.width,Re.height),Rt=tt[0],Er=tt[1],Ur=_i(Ee.borderTopRightRadius,Re.width,Re.height),$r=Ur[0],vn=Ur[1],ni=_i(Ee.borderBottomRightRadius,Re.width,Re.height),Yn=ni[0],si=ni[1],ya=_i(Ee.borderBottomLeftRadius,Re.width,Re.height),xa=ya[0],La=ya[1],ho=[];ho.push((Rt+$r)/Re.width),ho.push((xa+Yn)/Re.width),ho.push((Er+La)/Re.height),ho.push((vn+si)/Re.height);var Qa=Math.max.apply(Math,ho);Qa>1&&(Rt/=Qa,Er/=Qa,$r/=Qa,vn/=Qa,Yn/=Qa,si/=Qa,xa/=Qa,La/=Qa);var Ua=Re.width-$r,zo=Re.height-si,ts=Re.width-Yn,ko=Re.height-La,ka=Ee.borderTopWidth,os=Ee.borderRightWidth,cs=Ee.borderBottomWidth,Bo=Ee.borderLeftWidth,Pl=pi(Ee.paddingTop,he.bounds.width),Yl=pi(Ee.paddingRight,he.bounds.width),kl=pi(Ee.paddingBottom,he.bounds.width),cl=pi(Ee.paddingLeft,he.bounds.width);this.topLeftBorderDoubleOuterBox=Rt>0||Er>0?wo(Re.left+Bo/3,Re.top+ka/3,Rt-Bo/3,Er-ka/3,Po.TOP_LEFT):new Aa(Re.left+Bo/3,Re.top+ka/3),this.topRightBorderDoubleOuterBox=Rt>0||Er>0?wo(Re.left+Ua,Re.top+ka/3,$r-os/3,vn-ka/3,Po.TOP_RIGHT):new Aa(Re.left+Re.width-os/3,Re.top+ka/3),this.bottomRightBorderDoubleOuterBox=Yn>0||si>0?wo(Re.left+ts,Re.top+zo,Yn-os/3,si-cs/3,Po.BOTTOM_RIGHT):new Aa(Re.left+Re.width-os/3,Re.top+Re.height-cs/3),this.bottomLeftBorderDoubleOuterBox=xa>0||La>0?wo(Re.left+Bo/3,Re.top+ko,xa-Bo/3,La-cs/3,Po.BOTTOM_LEFT):new Aa(Re.left+Bo/3,Re.top+Re.height-cs/3),this.topLeftBorderDoubleInnerBox=Rt>0||Er>0?wo(Re.left+Bo*2/3,Re.top+ka*2/3,Rt-Bo*2/3,Er-ka*2/3,Po.TOP_LEFT):new Aa(Re.left+Bo*2/3,Re.top+ka*2/3),this.topRightBorderDoubleInnerBox=Rt>0||Er>0?wo(Re.left+Ua,Re.top+ka*2/3,$r-os*2/3,vn-ka*2/3,Po.TOP_RIGHT):new Aa(Re.left+Re.width-os*2/3,Re.top+ka*2/3),this.bottomRightBorderDoubleInnerBox=Yn>0||si>0?wo(Re.left+ts,Re.top+zo,Yn-os*2/3,si-cs*2/3,Po.BOTTOM_RIGHT):new Aa(Re.left+Re.width-os*2/3,Re.top+Re.height-cs*2/3),this.bottomLeftBorderDoubleInnerBox=xa>0||La>0?wo(Re.left+Bo*2/3,Re.top+ko,xa-Bo*2/3,La-cs*2/3,Po.BOTTOM_LEFT):new Aa(Re.left+Bo*2/3,Re.top+Re.height-cs*2/3),this.topLeftBorderStroke=Rt>0||Er>0?wo(Re.left+Bo/2,Re.top+ka/2,Rt-Bo/2,Er-ka/2,Po.TOP_LEFT):new Aa(Re.left+Bo/2,Re.top+ka/2),this.topRightBorderStroke=Rt>0||Er>0?wo(Re.left+Ua,Re.top+ka/2,$r-os/2,vn-ka/2,Po.TOP_RIGHT):new Aa(Re.left+Re.width-os/2,Re.top+ka/2),this.bottomRightBorderStroke=Yn>0||si>0?wo(Re.left+ts,Re.top+zo,Yn-os/2,si-cs/2,Po.BOTTOM_RIGHT):new Aa(Re.left+Re.width-os/2,Re.top+Re.height-cs/2),this.bottomLeftBorderStroke=xa>0||La>0?wo(Re.left+Bo/2,Re.top+ko,xa-Bo/2,La-cs/2,Po.BOTTOM_LEFT):new Aa(Re.left+Bo/2,Re.top+Re.height-cs/2),this.topLeftBorderBox=Rt>0||Er>0?wo(Re.left,Re.top,Rt,Er,Po.TOP_LEFT):new Aa(Re.left,Re.top),this.topRightBorderBox=$r>0||vn>0?wo(Re.left+Ua,Re.top,$r,vn,Po.TOP_RIGHT):new Aa(Re.left+Re.width,Re.top),this.bottomRightBorderBox=Yn>0||si>0?wo(Re.left+ts,Re.top+zo,Yn,si,Po.BOTTOM_RIGHT):new Aa(Re.left+Re.width,Re.top+Re.height),this.bottomLeftBorderBox=xa>0||La>0?wo(Re.left,Re.top+ko,xa,La,Po.BOTTOM_LEFT):new Aa(Re.left,Re.top+Re.height),this.topLeftPaddingBox=Rt>0||Er>0?wo(Re.left+Bo,Re.top+ka,Math.max(0,Rt-Bo),Math.max(0,Er-ka),Po.TOP_LEFT):new Aa(Re.left+Bo,Re.top+ka),this.topRightPaddingBox=$r>0||vn>0?wo(Re.left+Math.min(Ua,Re.width-os),Re.top+ka,Ua>Re.width+os?0:Math.max(0,$r-os),Math.max(0,vn-ka),Po.TOP_RIGHT):new Aa(Re.left+Re.width-os,Re.top+ka),this.bottomRightPaddingBox=Yn>0||si>0?wo(Re.left+Math.min(ts,Re.width-Bo),Re.top+Math.min(zo,Re.height-cs),Math.max(0,Yn-os),Math.max(0,si-cs),Po.BOTTOM_RIGHT):new Aa(Re.left+Re.width-os,Re.top+Re.height-cs),this.bottomLeftPaddingBox=xa>0||La>0?wo(Re.left+Bo,Re.top+Math.min(ko,Re.height-cs),Math.max(0,xa-Bo),Math.max(0,La-cs),Po.BOTTOM_LEFT):new Aa(Re.left+Bo,Re.top+Re.height-cs),this.topLeftContentBox=Rt>0||Er>0?wo(Re.left+Bo+cl,Re.top+ka+Pl,Math.max(0,Rt-(Bo+cl)),Math.max(0,Er-(ka+Pl)),Po.TOP_LEFT):new Aa(Re.left+Bo+cl,Re.top+ka+Pl),this.topRightContentBox=$r>0||vn>0?wo(Re.left+Math.min(Ua,Re.width+Bo+cl),Re.top+ka+Pl,Ua>Re.width+Bo+cl?0:$r-Bo+cl,vn-(ka+Pl),Po.TOP_RIGHT):new Aa(Re.left+Re.width-(os+Yl),Re.top+ka+Pl),this.bottomRightContentBox=Yn>0||si>0?wo(Re.left+Math.min(ts,Re.width-(Bo+cl)),Re.top+Math.min(zo,Re.height+ka+Pl),Math.max(0,Yn-(os+Yl)),si-(cs+kl),Po.BOTTOM_RIGHT):new Aa(Re.left+Re.width-(os+Yl),Re.top+Re.height-(cs+kl)),this.bottomLeftContentBox=xa>0||La>0?wo(Re.left+Bo+cl,Re.top+ko,Math.max(0,xa-(Bo+cl)),La-(cs+kl),Po.BOTTOM_LEFT):new Aa(Re.left+Bo+cl,Re.top+Re.height-(cs+kl))}return Zt}(),Po;(function(Zt){Zt[Zt.TOP_LEFT=0]="TOP_LEFT",Zt[Zt.TOP_RIGHT=1]="TOP_RIGHT",Zt[Zt.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Zt[Zt.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Po||(Po={}));var wo=function(he,Ee,Re,tt,Rt){var Er=4*((Math.sqrt(2)-1)/3),Ur=Re*Er,$r=tt*Er,vn=he+Re,ni=Ee+tt;switch(Rt){case Po.TOP_LEFT:return new ns(new Aa(he,ni),new Aa(he,ni-$r),new Aa(vn-Ur,Ee),new Aa(vn,Ee));case Po.TOP_RIGHT:return new ns(new Aa(he,Ee),new Aa(he+Ur,Ee),new Aa(vn,ni-$r),new Aa(vn,ni));case Po.BOTTOM_RIGHT:return new ns(new Aa(vn,Ee),new Aa(vn,Ee+$r),new Aa(he+Ur,ni),new Aa(he,ni));case Po.BOTTOM_LEFT:default:return new ns(new Aa(vn,ni),new Aa(vn-Ur,ni),new Aa(he,Ee+$r),new Aa(he,Ee))}},ml=function(he){return[he.topLeftBorderBox,he.topRightBorderBox,he.bottomRightBorderBox,he.bottomLeftBorderBox]},Gs=function(he){return[he.topLeftContentBox,he.topRightContentBox,he.bottomRightContentBox,he.bottomLeftContentBox]},yu=function(he){return[he.topLeftPaddingBox,he.topRightPaddingBox,he.bottomRightPaddingBox,he.bottomLeftPaddingBox]},Dl=function(){function Zt(he,Ee,Re){this.offsetX=he,this.offsetY=Ee,this.matrix=Re,this.type=0,this.target=2|4}return Zt}(),gl=function(){function Zt(he,Ee){this.path=he,this.target=Ee,this.type=1}return Zt}(),Xl=function(){function Zt(he){this.opacity=he,this.type=2,this.target=2|4}return Zt}(),il=function(he){return he.type===0},Rl=function(he){return he.type===1},Mu=function(he){return he.type===2},Qu=function(he,Ee){return he.length===Ee.length?he.some(function(Re,tt){return Re===Ee[tt]}):!1},vc=function(he,Ee,Re,tt,Rt){return he.map(function(Er,Ur){switch(Ur){case 0:return Er.add(Ee,Re);case 1:return Er.add(Ee+tt,Re);case 2:return Er.add(Ee+tt,Re+Rt);case 3:return Er.add(Ee,Re+Rt)}return Er})},Ac=function(){function Zt(he){this.element=he,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Zt}(),tc=function(){function Zt(he,Ee){if(this.container=he,this.parent=Ee,this.effects=[],this.curves=new Au(this.container),this.container.styles.opacity<1&&this.effects.push(new Xl(this.container.styles.opacity)),this.container.styles.transform!==null){var Re=this.container.bounds.left+this.container.styles.transformOrigin[0].number,tt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Rt=this.container.styles.transform;this.effects.push(new Dl(Re,tt,Rt))}if(this.container.styles.overflowX!==0){var Er=ml(this.curves),Ur=yu(this.curves);Qu(Er,Ur)?this.effects.push(new gl(Er,2|4)):(this.effects.push(new gl(Er,2)),this.effects.push(new gl(Ur,4)))}}return Zt.prototype.getEffects=function(he){for(var Ee=[2,3].indexOf(this.container.styles.position)===-1,Re=this.parent,tt=this.effects.slice(0);Re;){var Rt=Re.effects.filter(function($r){return!Rl($r)});if(Ee||Re.container.styles.position!==0||!Re.parent){if(tt.unshift.apply(tt,Rt),Ee=[2,3].indexOf(Re.container.styles.position)===-1,Re.container.styles.overflowX!==0){var Er=ml(Re.curves),Ur=yu(Re.curves);Qu(Er,Ur)||tt.unshift(new gl(Ur,2|4))}}else tt.unshift.apply(tt,Rt);Re=Re.parent}return tt.filter(function($r){return Ui($r.target,he)})},Zt}(),yc=function Zt(he,Ee,Re,tt){he.container.elements.forEach(function(Rt){var Er=Ui(Rt.flags,4),Ur=Ui(Rt.flags,2),$r=new tc(Rt,he);Ui(Rt.styles.display,2048)&&tt.push($r);var vn=Ui(Rt.flags,8)?[]:tt;if(Er||Ur){var ni=Er||Rt.styles.isPositioned()?Re:Ee,Yn=new Ac($r);if(Rt.styles.isPositioned()||Rt.styles.opacity<1||Rt.styles.isTransformed()){var si=Rt.styles.zIndex.order;if(si<0){var ya=0;ni.negativeZIndex.some(function(La,ho){return si>La.element.container.styles.zIndex.order?(ya=ho,!1):ya>0}),ni.negativeZIndex.splice(ya,0,Yn)}else if(si>0){var xa=0;ni.positiveZIndex.some(function(La,ho){return si>=La.element.container.styles.zIndex.order?(xa=ho+1,!1):xa>0}),ni.positiveZIndex.splice(xa,0,Yn)}else ni.zeroOrAutoZIndexOrTransformedOrOpacity.push(Yn)}else Rt.styles.isFloating()?ni.nonPositionedFloats.push(Yn):ni.nonPositionedInlineLevel.push(Yn);Zt($r,Yn,Er?Yn:Re,vn)}else Rt.styles.isInlineLevel()?Ee.inlineLevel.push($r):Ee.nonInlineLevel.push($r),Zt($r,Ee,Re,vn);Ui(Rt.flags,8)&&sc(Rt,vn)})},sc=function(he,Ee){for(var Re=he instanceof pu?he.start:1,tt=he instanceof pu?he.reversed:!1,Rt=0;Rt<Ee.length;Rt++){var Er=Ee[Rt];Er.container instanceof fu&&typeof Er.container.value=="number"&&Er.container.value!==0&&(Re=Er.container.value),Er.listValue=q(Re,Er.container.styles.listStyleType,!0),Re+=tt?-1:1}},bu=function(he){var Ee=new tc(he,null),Re=new Ac(Ee),tt=[];return yc(Ee,Re,Re,tt),sc(Ee.container,tt),Re},hc=function(he,Ee){switch(Ee){case 0:return Ml(he.topLeftBorderBox,he.topLeftPaddingBox,he.topRightBorderBox,he.topRightPaddingBox);case 1:return Ml(he.topRightBorderBox,he.topRightPaddingBox,he.bottomRightBorderBox,he.bottomRightPaddingBox);case 2:return Ml(he.bottomRightBorderBox,he.bottomRightPaddingBox,he.bottomLeftBorderBox,he.bottomLeftPaddingBox);case 3:default:return Ml(he.bottomLeftBorderBox,he.bottomLeftPaddingBox,he.topLeftBorderBox,he.topLeftPaddingBox)}},bc=function(he,Ee){switch(Ee){case 0:return Ml(he.topLeftBorderBox,he.topLeftBorderDoubleOuterBox,he.topRightBorderBox,he.topRightBorderDoubleOuterBox);case 1:return Ml(he.topRightBorderBox,he.topRightBorderDoubleOuterBox,he.bottomRightBorderBox,he.bottomRightBorderDoubleOuterBox);case 2:return Ml(he.bottomRightBorderBox,he.bottomRightBorderDoubleOuterBox,he.bottomLeftBorderBox,he.bottomLeftBorderDoubleOuterBox);case 3:default:return Ml(he.bottomLeftBorderBox,he.bottomLeftBorderDoubleOuterBox,he.topLeftBorderBox,he.topLeftBorderDoubleOuterBox)}},Tc=function(he,Ee){switch(Ee){case 0:return Ml(he.topLeftBorderDoubleInnerBox,he.topLeftPaddingBox,he.topRightBorderDoubleInnerBox,he.topRightPaddingBox);case 1:return Ml(he.topRightBorderDoubleInnerBox,he.topRightPaddingBox,he.bottomRightBorderDoubleInnerBox,he.bottomRightPaddingBox);case 2:return Ml(he.bottomRightBorderDoubleInnerBox,he.bottomRightPaddingBox,he.bottomLeftBorderDoubleInnerBox,he.bottomLeftPaddingBox);case 3:default:return Ml(he.bottomLeftBorderDoubleInnerBox,he.bottomLeftPaddingBox,he.topLeftBorderDoubleInnerBox,he.topLeftPaddingBox)}},wc=function(he,Ee){switch(Ee){case 0:return ru(he.topLeftBorderStroke,he.topRightBorderStroke);case 1:return ru(he.topRightBorderStroke,he.bottomRightBorderStroke);case 2:return ru(he.bottomRightBorderStroke,he.bottomLeftBorderStroke);case 3:default:return ru(he.bottomLeftBorderStroke,he.topLeftBorderStroke)}},ru=function(he,Ee){var Re=[];return gs(he)?Re.push(he.subdivide(.5,!1)):Re.push(he),gs(Ee)?Re.push(Ee.subdivide(.5,!0)):Re.push(Ee),Re},Ml=function(he,Ee,Re,tt){var Rt=[];return gs(he)?Rt.push(he.subdivide(.5,!1)):Rt.push(he),gs(Re)?Rt.push(Re.subdivide(.5,!0)):Rt.push(Re),gs(tt)?Rt.push(tt.subdivide(.5,!0).reverse()):Rt.push(tt),gs(Ee)?Rt.push(Ee.subdivide(.5,!1).reverse()):Rt.push(Ee),Rt},fc=function(he){var Ee=he.bounds,Re=he.styles;return Ee.add(Re.borderLeftWidth,Re.borderTopWidth,-(Re.borderRightWidth+Re.borderLeftWidth),-(Re.borderTopWidth+Re.borderBottomWidth))},lc=function(he){var Ee=he.styles,Re=he.bounds,tt=pi(Ee.paddingLeft,Re.width),Rt=pi(Ee.paddingRight,Re.width),Er=pi(Ee.paddingTop,Re.width),Ur=pi(Ee.paddingBottom,Re.width);return Re.add(tt+Ee.borderLeftWidth,Er+Ee.borderTopWidth,-(Ee.borderRightWidth+Ee.borderLeftWidth+tt+Rt),-(Ee.borderTopWidth+Ee.borderBottomWidth+Er+Ur))},Sc=function(he,Ee){return he===0?Ee.bounds:he===2?lc(Ee):fc(Ee)},Cc=function(he,Ee){return he===0?Ee.bounds:he===2?lc(Ee):fc(Ee)},Pu=function(he,Ee,Re){var tt=Sc(_l(he.styles.backgroundOrigin,Ee),he),Rt=Cc(_l(he.styles.backgroundClip,Ee),he),Er=nu(_l(he.styles.backgroundSize,Ee),Re,tt),Ur=Er[0],$r=Er[1],vn=_i(_l(he.styles.backgroundPosition,Ee),tt.width-Ur,tt.height-$r),ni=Su(_l(he.styles.backgroundRepeat,Ee),vn,Er,tt,Rt),Yn=Math.round(tt.left+vn[0]),si=Math.round(tt.top+vn[1]);return[ni,Yn,si,Ur,$r]},wu=function(he){return An(he)&&he.value===Ba.AUTO},ku=function(he){return typeof he=="number"},nu=function(he,Ee,Re){var tt=Ee[0],Rt=Ee[1],Er=Ee[2],Ur=he[0],$r=he[1];if(!Ur)return[0,0];if(ri(Ur)&&$r&&ri($r))return[pi(Ur,Re.width),pi($r,Re.height)];var vn=ku(Er);if(An(Ur)&&(Ur.value===Ba.CONTAIN||Ur.value===Ba.COVER)){if(ku(Er)){var ni=Re.width/Re.height;return ni<Er!==(Ur.value===Ba.COVER)?[Re.width,Re.width/Er]:[Re.height*Er,Re.height]}return[Re.width,Re.height]}var Yn=ku(tt),si=ku(Rt),ya=Yn||si;if(wu(Ur)&&(!$r||wu($r))){if(Yn&&si)return[tt,Rt];if(!vn&&!ya)return[Re.width,Re.height];if(ya&&vn){var xa=Yn?tt:Rt*Er,La=si?Rt:tt/Er;return[xa,La]}var ho=Yn?tt:Re.width,Qa=si?Rt:Re.height;return[ho,Qa]}if(vn){var Ua=0,zo=0;return ri(Ur)?Ua=pi(Ur,Re.width):ri($r)&&(zo=pi($r,Re.height)),wu(Ur)?Ua=zo*Er:(!$r||wu($r))&&(zo=Ua/Er),[Ua,zo]}var ts=null,ko=null;if(ri(Ur)?ts=pi(Ur,Re.width):$r&&ri($r)&&(ko=pi($r,Re.height)),ts!==null&&(!$r||wu($r))&&(ko=Yn&&si?ts/tt*Rt:Re.height),ko!==null&&wu(Ur)&&(ts=Yn&&si?ko/Rt*tt:Re.width),ts!==null&&ko!==null)return[ts,ko];throw new Error("Unable to calculate background-size for element")},_l=function(he,Ee){var Re=he[Ee];return typeof Re=="undefined"?he[0]:Re},Su=function(he,Ee,Re,tt,Rt){var Er=Ee[0],Ur=Ee[1],$r=Re[0],vn=Re[1];switch(he){case 2:return[new Aa(Math.round(tt.left),Math.round(tt.top+Ur)),new Aa(Math.round(tt.left+tt.width),Math.round(tt.top+Ur)),new Aa(Math.round(tt.left+tt.width),Math.round(vn+tt.top+Ur)),new Aa(Math.round(tt.left),Math.round(vn+tt.top+Ur))];case 3:return[new Aa(Math.round(tt.left+Er),Math.round(tt.top)),new Aa(Math.round(tt.left+Er+$r),Math.round(tt.top)),new Aa(Math.round(tt.left+Er+$r),Math.round(tt.height+tt.top)),new Aa(Math.round(tt.left+Er),Math.round(tt.height+tt.top))];case 1:return[new Aa(Math.round(tt.left+Er),Math.round(tt.top+Ur)),new Aa(Math.round(tt.left+Er+$r),Math.round(tt.top+Ur)),new Aa(Math.round(tt.left+Er+$r),Math.round(tt.top+Ur+vn)),new Aa(Math.round(tt.left+Er),Math.round(tt.top+Ur+vn))];default:return[new Aa(Math.round(Rt.left),Math.round(Rt.top)),new Aa(Math.round(Rt.left+Rt.width),Math.round(Rt.top)),new Aa(Math.round(Rt.left+Rt.width),Math.round(Rt.height+Rt.top)),new Aa(Math.round(Rt.left),Math.round(Rt.height+Rt.top))]}},uc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",cc="Hidden Text",xc=function(){function Zt(he){this._data={},this._document=he}return Zt.prototype.parseMetrics=function(he,Ee){var Re=this._document.createElement("div"),tt=this._document.createElement("img"),Rt=this._document.createElement("span"),Er=this._document.body;Re.style.visibility="hidden",Re.style.fontFamily=he,Re.style.fontSize=Ee,Re.style.margin="0",Re.style.padding="0",Re.style.whiteSpace="nowrap",Er.appendChild(Re),tt.src=uc,tt.width=1,tt.height=1,tt.style.margin="0",tt.style.padding="0",tt.style.verticalAlign="baseline",Rt.style.fontFamily=he,Rt.style.fontSize=Ee,Rt.style.margin="0",Rt.style.padding="0",Rt.appendChild(this._document.createTextNode(cc)),Re.appendChild(Rt),Re.appendChild(tt);var Ur=tt.offsetTop-Rt.offsetTop+2;Re.removeChild(Rt),Re.appendChild(this._document.createTextNode(cc)),Re.style.lineHeight="normal",tt.style.verticalAlign="super";var $r=tt.offsetTop-Re.offsetTop+2;return Er.removeChild(Re),{baseline:Ur,middle:$r}},Zt.prototype.getMetrics=function(he,Ee){var Re=he+" "+Ee;return typeof this._data[Re]=="undefined"&&(this._data[Re]=this.parseMetrics(he,Ee)),this._data[Re]},Zt}(),Ec=function(){function Zt(he,Ee){this.context=he,this.options=Ee}return Zt}(),pc=1e4,mc=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;return tt._activeEffects=[],tt.canvas=Re.canvas?Re.canvas:document.createElement("canvas"),tt.ctx=tt.canvas.getContext("2d"),Re.canvas||(tt.canvas.width=Math.floor(Re.width*Re.scale),tt.canvas.height=Math.floor(Re.height*Re.scale),tt.canvas.style.width=Re.width+"px",tt.canvas.style.height=Re.height+"px"),tt.fontMetrics=new xc(document),tt.ctx.scale(tt.options.scale,tt.options.scale),tt.ctx.translate(-Re.x,-Re.y),tt.ctx.textBaseline="bottom",tt._activeEffects=[],tt.context.logger.debug("Canvas renderer initialized ("+Re.width+"x"+Re.height+") with scale "+Re.scale),tt}return he.prototype.applyEffects=function(Ee){for(var Re=this;this._activeEffects.length;)this.popEffect();Ee.forEach(function(tt){return Re.applyEffect(tt)})},he.prototype.applyEffect=function(Ee){this.ctx.save(),Mu(Ee)&&(this.ctx.globalAlpha=Ee.opacity),il(Ee)&&(this.ctx.translate(Ee.offsetX,Ee.offsetY),this.ctx.transform(Ee.matrix[0],Ee.matrix[1],Ee.matrix[2],Ee.matrix[3],Ee.matrix[4],Ee.matrix[5]),this.ctx.translate(-Ee.offsetX,-Ee.offsetY)),Rl(Ee)&&(this.path(Ee.path),this.ctx.clip()),this._activeEffects.push(Ee)},he.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},he.prototype.renderStack=function(Ee){return A(this,void 0,void 0,function(){var Re;return b(this,function(tt){switch(tt.label){case 0:return Re=Ee.element.container.styles,Re.isVisible()?[4,this.renderStackContent(Ee)]:[3,2];case 1:tt.sent(),tt.label=2;case 2:return[2]}})})},he.prototype.renderNode=function(Ee){return A(this,void 0,void 0,function(){return b(this,function(Re){switch(Re.label){case 0:if(Ui(Ee.container.flags,16))debugger;return Ee.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Ee)]:[3,3];case 1:return Re.sent(),[4,this.renderNodeContent(Ee)];case 2:Re.sent(),Re.label=3;case 3:return[2]}})})},he.prototype.renderTextWithLetterSpacing=function(Ee,Re,tt){var Rt=this;if(Re===0)this.ctx.fillText(Ee.text,Ee.bounds.left,Ee.bounds.top+tt);else{var Er=Wl(Ee.text);Er.reduce(function(Ur,$r){return Rt.ctx.fillText($r,Ur,Ee.bounds.top+tt),Ur+Rt.ctx.measureText($r).width},Ee.bounds.left)}},he.prototype.createFontStyle=function(Ee){var Re=Ee.fontVariant.filter(function(Er){return Er==="normal"||Er==="small-caps"}).join(""),tt=Nc(Ee.fontFamily).join(", "),Rt=on(Ee.fontSize)?""+Ee.fontSize.number+Ee.fontSize.unit:Ee.fontSize.number+"px";return[[Ee.fontStyle,Re,Ee.fontWeight,Rt,tt].join(" "),tt,Rt]},he.prototype.renderTextNode=function(Ee,Re){return A(this,void 0,void 0,function(){var tt,Rt,Er,Ur,$r,vn,ni,Yn,si=this;return b(this,function(ya){return tt=this.createFontStyle(Re),Rt=tt[0],Er=tt[1],Ur=tt[2],this.ctx.font=Rt,this.ctx.direction=Re.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",$r=this.fontMetrics.getMetrics(Er,Ur),vn=$r.baseline,ni=$r.middle,Yn=Re.paintOrder,Ee.textBounds.forEach(function(xa){Yn.forEach(function(La){switch(La){case 0:si.ctx.fillStyle=jt(Re.color),si.renderTextWithLetterSpacing(xa,Re.letterSpacing,vn);var ho=Re.textShadow;ho.length&&xa.text.trim().length&&(ho.slice(0).reverse().forEach(function(Qa){si.ctx.shadowColor=jt(Qa.color),si.ctx.shadowOffsetX=Qa.offsetX.number*si.options.scale,si.ctx.shadowOffsetY=Qa.offsetY.number*si.options.scale,si.ctx.shadowBlur=Qa.blur.number,si.renderTextWithLetterSpacing(xa,Re.letterSpacing,vn)}),si.ctx.shadowColor="",si.ctx.shadowOffsetX=0,si.ctx.shadowOffsetY=0,si.ctx.shadowBlur=0),Re.textDecorationLine.length&&(si.ctx.fillStyle=jt(Re.textDecorationColor||Re.color),Re.textDecorationLine.forEach(function(Qa){switch(Qa){case 1:si.ctx.fillRect(xa.bounds.left,Math.round(xa.bounds.top+vn),xa.bounds.width,1);break;case 2:si.ctx.fillRect(xa.bounds.left,Math.round(xa.bounds.top),xa.bounds.width,1);break;case 3:si.ctx.fillRect(xa.bounds.left,Math.ceil(xa.bounds.top+ni),xa.bounds.width,1);break}}));break;case 1:Re.webkitTextStrokeWidth&&xa.text.trim().length&&(si.ctx.strokeStyle=jt(Re.webkitTextStrokeColor),si.ctx.lineWidth=Re.webkitTextStrokeWidth,si.ctx.lineJoin=window.chrome?"miter":"round",si.ctx.strokeText(xa.text,xa.bounds.left,xa.bounds.top+vn)),si.ctx.strokeStyle="",si.ctx.lineWidth=0,si.ctx.lineJoin="miter";break}})}),[2]})})},he.prototype.renderReplacedElement=function(Ee,Re,tt){if(tt&&Ee.intrinsicWidth>0&&Ee.intrinsicHeight>0){var Rt=lc(Ee),Er=yu(Re);this.path(Er),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(tt,0,0,Ee.intrinsicWidth,Ee.intrinsicHeight,Rt.left,Rt.top,Rt.width,Rt.height),this.ctx.restore()}},he.prototype.renderNodeContent=function(Ee){return A(this,void 0,void 0,function(){var Re,tt,Rt,Er,Ur,$r,vn,vn,ni,Yn,si,ya,xa,La,ho,Qa,Ua,zo,ts,vn,ko,xa,Qa;return b(this,function(ka){switch(ka.label){case 0:this.applyEffects(Ee.getEffects(4)),Re=Ee.container,tt=Ee.curves,Rt=Re.styles,Er=0,Ur=Re.textNodes,ka.label=1;case 1:return Er<Ur.length?($r=Ur[Er],[4,this.renderTextNode($r,Rt)]):[3,4];case 2:ka.sent(),ka.label=3;case 3:return Er++,[3,1];case 4:if(!(Re instanceof eu))return[3,8];ka.label=5;case 5:return ka.trys.push([5,7,,8]),[4,this.context.cache.match(Re.src)];case 6:return vn=ka.sent(),this.renderReplacedElement(Re,tt,vn),[3,8];case 7:return ka.sent(),this.context.logger.error("Error loading image "+Re.src),[3,8];case 8:if(Re instanceof bl&&this.renderReplacedElement(Re,tt,Re.canvas),!(Re instanceof ul))return[3,12];ka.label=9;case 9:return ka.trys.push([9,11,,12]),[4,this.context.cache.match(Re.svg)];case 10:return vn=ka.sent(),this.renderReplacedElement(Re,tt,vn),[3,12];case 11:return ka.sent(),this.context.logger.error("Error loading svg "+Re.svg.substring(0,255)),[3,12];case 12:return Re instanceof Nu&&Re.tree?(ni=new he(this.context,{scale:this.options.scale,backgroundColor:Re.backgroundColor,x:0,y:0,width:Re.width,height:Re.height}),[4,ni.render(Re.tree)]):[3,14];case 13:Yn=ka.sent(),Re.width&&Re.height&&this.ctx.drawImage(Yn,0,0,Re.width,Re.height,Re.bounds.left,Re.bounds.top,Re.bounds.width,Re.bounds.height),ka.label=14;case 14:if(Re instanceof jl&&(si=Math.min(Re.bounds.width,Re.bounds.height),Re.type===Vl?Re.checked&&(this.ctx.save(),this.path([new Aa(Re.bounds.left+si*.39363,Re.bounds.top+si*.79),new Aa(Re.bounds.left+si*.16,Re.bounds.top+si*.5549),new Aa(Re.bounds.left+si*.27347,Re.bounds.top+si*.44071),new Aa(Re.bounds.left+si*.39694,Re.bounds.top+si*.5649),new Aa(Re.bounds.left+si*.72983,Re.bounds.top+si*.23),new Aa(Re.bounds.left+si*.84,Re.bounds.top+si*.34085),new Aa(Re.bounds.left+si*.39363,Re.bounds.top+si*.79)]),this.ctx.fillStyle=jt(Gl),this.ctx.fill(),this.ctx.restore()):Re.type===pl&&(Re.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Re.bounds.left+si/2,Re.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=jt(Gl),this.ctx.fill(),this.ctx.restore()))),_c(Re)&&Re.value.length){ya=this.createFontStyle(Rt),xa=ya[0],La=ya[1],ho=this.fontMetrics.getMetrics(xa,La).baseline,this.ctx.font=xa,this.ctx.fillStyle=jt(Rt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Lc(Re.styles.textAlign),Qa=lc(Re),Ua=0;switch(Re.styles.textAlign){case 1:Ua+=Qa.width/2;break;case 2:Ua+=Qa.width;break}zo=Qa.add(Ua,0,0,-Qa.height/2+1),this.ctx.save(),this.path([new Aa(Qa.left,Qa.top),new Aa(Qa.left+Qa.width,Qa.top),new Aa(Qa.left+Qa.width,Qa.top+Qa.height),new Aa(Qa.left,Qa.top+Qa.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new dl(Re.value,zo),Rt.letterSpacing,ho),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ui(Re.styles.display,2048))return[3,20];if(!(Re.styles.listStyleImage!==null))return[3,19];if(ts=Re.styles.listStyleImage,!(ts.type===0))return[3,18];vn=void 0,ko=ts.url,ka.label=15;case 15:return ka.trys.push([15,17,,18]),[4,this.context.cache.match(ko)];case 16:return vn=ka.sent(),this.ctx.drawImage(vn,Re.bounds.left-(vn.width+10),Re.bounds.top),[3,18];case 17:return ka.sent(),this.context.logger.error("Error loading list-style-image "+ko),[3,18];case 18:return[3,20];case 19:Ee.listValue&&Re.styles.listStyleType!==-1&&(xa=this.createFontStyle(Rt)[0],this.ctx.font=xa,this.ctx.fillStyle=jt(Rt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Qa=new p(Re.bounds.left,Re.bounds.top+pi(Re.styles.paddingTop,Re.bounds.width),Re.bounds.width,po(Rt.lineHeight,Rt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new dl(Ee.listValue,Qa),Rt.letterSpacing,po(Rt.lineHeight,Rt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ka.label=20;case 20:return[2]}})})},he.prototype.renderStackContent=function(Ee){return A(this,void 0,void 0,function(){var Re,tt,Rt,Er,Ur,Rt,$r,vn,Rt,ni,Yn,Rt,si,ya,Rt,xa,La,Rt,ho,Qa,Rt;return b(this,function(Ua){switch(Ua.label){case 0:if(Ui(Ee.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(Ee.element)];case 1:Ua.sent(),Re=0,tt=Ee.negativeZIndex,Ua.label=2;case 2:return Re<tt.length?(Rt=tt[Re],[4,this.renderStack(Rt)]):[3,5];case 3:Ua.sent(),Ua.label=4;case 4:return Re++,[3,2];case 5:return[4,this.renderNodeContent(Ee.element)];case 6:Ua.sent(),Er=0,Ur=Ee.nonInlineLevel,Ua.label=7;case 7:return Er<Ur.length?(Rt=Ur[Er],[4,this.renderNode(Rt)]):[3,10];case 8:Ua.sent(),Ua.label=9;case 9:return Er++,[3,7];case 10:$r=0,vn=Ee.nonPositionedFloats,Ua.label=11;case 11:return $r<vn.length?(Rt=vn[$r],[4,this.renderStack(Rt)]):[3,14];case 12:Ua.sent(),Ua.label=13;case 13:return $r++,[3,11];case 14:ni=0,Yn=Ee.nonPositionedInlineLevel,Ua.label=15;case 15:return ni<Yn.length?(Rt=Yn[ni],[4,this.renderStack(Rt)]):[3,18];case 16:Ua.sent(),Ua.label=17;case 17:return ni++,[3,15];case 18:si=0,ya=Ee.inlineLevel,Ua.label=19;case 19:return si<ya.length?(Rt=ya[si],[4,this.renderNode(Rt)]):[3,22];case 20:Ua.sent(),Ua.label=21;case 21:return si++,[3,19];case 22:xa=0,La=Ee.zeroOrAutoZIndexOrTransformedOrOpacity,Ua.label=23;case 23:return xa<La.length?(Rt=La[xa],[4,this.renderStack(Rt)]):[3,26];case 24:Ua.sent(),Ua.label=25;case 25:return xa++,[3,23];case 26:ho=0,Qa=Ee.positiveZIndex,Ua.label=27;case 27:return ho<Qa.length?(Rt=Qa[ho],[4,this.renderStack(Rt)]):[3,30];case 28:Ua.sent(),Ua.label=29;case 29:return ho++,[3,27];case 30:return[2]}})})},he.prototype.mask=function(Ee){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(Ee.slice(0).reverse()),this.ctx.closePath()},he.prototype.path=function(Ee){this.ctx.beginPath(),this.formatPath(Ee),this.ctx.closePath()},he.prototype.formatPath=function(Ee){var Re=this;Ee.forEach(function(tt,Rt){var Er=gs(tt)?tt.start:tt;Rt===0?Re.ctx.moveTo(Er.x,Er.y):Re.ctx.lineTo(Er.x,Er.y),gs(tt)&&Re.ctx.bezierCurveTo(tt.startControl.x,tt.startControl.y,tt.endControl.x,tt.endControl.y,tt.end.x,tt.end.y)})},he.prototype.renderRepeat=function(Ee,Re,tt,Rt){this.path(Ee),this.ctx.fillStyle=Re,this.ctx.translate(tt,Rt),this.ctx.fill(),this.ctx.translate(-tt,-Rt)},he.prototype.resizeImage=function(Ee,Re,tt){var Rt;if(Ee.width===Re&&Ee.height===tt)return Ee;var Er=(Rt=this.canvas.ownerDocument)!==null&&Rt!==void 0?Rt:document,Ur=Er.createElement("canvas");Ur.width=Math.max(1,Re),Ur.height=Math.max(1,tt);var $r=Ur.getContext("2d");return $r.drawImage(Ee,0,0,Ee.width,Ee.height,0,0,Re,tt),Ur},he.prototype.renderBackgroundImage=function(Ee){return A(this,void 0,void 0,function(){var Re,tt,Rt,Er,Ur,$r;return b(this,function(vn){switch(vn.label){case 0:Re=Ee.styles.backgroundImage.length-1,tt=function(Yn){var si,ya,xa,La,ho,Qa,Ua,zo,ts,ko,La,ho,Qa,Ua,zo,ka,os,cs,Bo,Pl,Yl,kl,cl,rc,ts,xu,La,Ju,Zu,Ua,zo,$u,ho,Qa,nc,Eu,qu,ic,ac,Bu,oc,Fu;return b(this,function(dc){switch(dc.label){case 0:if(!(Yn.type===0))return[3,5];si=void 0,ya=Yn.url,dc.label=1;case 1:return dc.trys.push([1,3,,4]),[4,Rt.context.cache.match(ya)];case 2:return si=dc.sent(),[3,4];case 3:return dc.sent(),Rt.context.logger.error("Error loading background-image "+ya),[3,4];case 4:return si&&(xa=Pu(Ee,Re,[si.width,si.height,si.width/si.height]),La=xa[0],ho=xa[1],Qa=xa[2],Ua=xa[3],zo=xa[4],ts=Rt.ctx.createPattern(Rt.resizeImage(si,Ua,zo),"repeat"),Rt.renderRepeat(La,ts,ho,Qa)),[3,6];case 5:ua(Yn)?(ko=Pu(Ee,Re,[null,null,null]),La=ko[0],ho=ko[1],Qa=ko[2],Ua=ko[3],zo=ko[4],ka=ga(Yn.angle,Ua,zo),os=ka[0],cs=ka[1],Bo=ka[2],Pl=ka[3],Yl=ka[4],kl=document.createElement("canvas"),kl.width=Ua,kl.height=zo,cl=kl.getContext("2d"),rc=cl.createLinearGradient(cs,Pl,Bo,Yl),la(Yn.stops,os).forEach(function(gc){return rc.addColorStop(gc.stop,jt(gc.color))}),cl.fillStyle=rc,cl.fillRect(0,0,Ua,zo),Ua>0&&zo>0&&(ts=Rt.ctx.createPattern(kl,"repeat"),Rt.renderRepeat(La,ts,ho,Qa))):ra(Yn)&&(xu=Pu(Ee,Re,[null,null,null]),La=xu[0],Ju=xu[1],Zu=xu[2],Ua=xu[3],zo=xu[4],$u=Yn.position.length===0?[Pi]:Yn.position,ho=pi($u[0],Ua),Qa=pi($u[$u.length-1],zo),nc=ia(Yn,ho,Qa,Ua,zo),Eu=nc[0],qu=nc[1],Eu>0&&qu>0&&(ic=Rt.ctx.createRadialGradient(Ju+ho,Zu+Qa,0,Ju+ho,Zu+Qa,Eu),la(Yn.stops,Eu*2).forEach(function(gc){return ic.addColorStop(gc.stop,jt(gc.color))}),Rt.path(La),Rt.ctx.fillStyle=ic,Eu!==qu?(ac=Ee.bounds.left+.5*Ee.bounds.width,Bu=Ee.bounds.top+.5*Ee.bounds.height,oc=qu/Eu,Fu=1/oc,Rt.ctx.save(),Rt.ctx.translate(ac,Bu),Rt.ctx.transform(1,0,0,oc,0,0),Rt.ctx.translate(-ac,-Bu),Rt.ctx.fillRect(Ju,Fu*(Zu-Bu)+Bu,Ua,zo*Fu),Rt.ctx.restore()):Rt.ctx.fill())),dc.label=6;case 6:return Re--,[2]}})},Rt=this,Er=0,Ur=Ee.styles.backgroundImage.slice(0).reverse(),vn.label=1;case 1:return Er<Ur.length?($r=Ur[Er],[5,tt($r)]):[3,4];case 2:vn.sent(),vn.label=3;case 3:return Er++,[3,1];case 4:return[2]}})})},he.prototype.renderSolidBorder=function(Ee,Re,tt){return A(this,void 0,void 0,function(){return b(this,function(Rt){return this.path(hc(tt,Re)),this.ctx.fillStyle=jt(Ee),this.ctx.fill(),[2]})})},he.prototype.renderDoubleBorder=function(Ee,Re,tt,Rt){return A(this,void 0,void 0,function(){var Er,Ur;return b(this,function($r){switch($r.label){case 0:return Re<3?[4,this.renderSolidBorder(Ee,tt,Rt)]:[3,2];case 1:return $r.sent(),[2];case 2:return Er=bc(Rt,tt),this.path(Er),this.ctx.fillStyle=jt(Ee),this.ctx.fill(),Ur=Tc(Rt,tt),this.path(Ur),this.ctx.fill(),[2]}})})},he.prototype.renderNodeBackgroundAndBorders=function(Ee){return A(this,void 0,void 0,function(){var Re,tt,Rt,Er,Ur,$r,vn,ni,Yn=this;return b(this,function(si){switch(si.label){case 0:return this.applyEffects(Ee.getEffects(2)),Re=Ee.container.styles,tt=!Nr(Re.backgroundColor)||Re.backgroundImage.length,Rt=[{style:Re.borderTopStyle,color:Re.borderTopColor,width:Re.borderTopWidth},{style:Re.borderRightStyle,color:Re.borderRightColor,width:Re.borderRightWidth},{style:Re.borderBottomStyle,color:Re.borderBottomColor,width:Re.borderBottomWidth},{style:Re.borderLeftStyle,color:Re.borderLeftColor,width:Re.borderLeftWidth}],Er=Ic(_l(Re.backgroundClip,0),Ee.curves),tt||Re.boxShadow.length?(this.ctx.save(),this.path(Er),this.ctx.clip(),Nr(Re.backgroundColor)||(this.ctx.fillStyle=jt(Re.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Ee.container)]):[3,2];case 1:si.sent(),this.ctx.restore(),Re.boxShadow.slice(0).reverse().forEach(function(ya){Yn.ctx.save();var xa=ml(Ee.curves),La=ya.inset?0:pc,ho=vc(xa,-La+(ya.inset?1:-1)*ya.spread.number,(ya.inset?1:-1)*ya.spread.number,ya.spread.number*(ya.inset?-2:2),ya.spread.number*(ya.inset?-2:2));ya.inset?(Yn.path(xa),Yn.ctx.clip(),Yn.mask(ho)):(Yn.mask(xa),Yn.ctx.clip(),Yn.path(ho)),Yn.ctx.shadowOffsetX=ya.offsetX.number+La,Yn.ctx.shadowOffsetY=ya.offsetY.number,Yn.ctx.shadowColor=jt(ya.color),Yn.ctx.shadowBlur=ya.blur.number,Yn.ctx.fillStyle=ya.inset?jt(ya.color):"rgba(0,0,0,1)",Yn.ctx.fill(),Yn.ctx.restore()}),si.label=2;case 2:Ur=0,$r=0,vn=Rt,si.label=3;case 3:return $r<vn.length?(ni=vn[$r],ni.style!==0&&!Nr(ni.color)&&ni.width>0?ni.style===2?[4,this.renderDashedDottedBorder(ni.color,ni.width,Ur,Ee.curves,2)]:[3,5]:[3,11]):[3,13];case 4:return si.sent(),[3,11];case 5:return ni.style===3?[4,this.renderDashedDottedBorder(ni.color,ni.width,Ur,Ee.curves,3)]:[3,7];case 6:return si.sent(),[3,11];case 7:return ni.style===4?[4,this.renderDoubleBorder(ni.color,ni.width,Ur,Ee.curves)]:[3,9];case 8:return si.sent(),[3,11];case 9:return[4,this.renderSolidBorder(ni.color,Ur,Ee.curves)];case 10:si.sent(),si.label=11;case 11:Ur++,si.label=12;case 12:return $r++,[3,3];case 13:return[2]}})})},he.prototype.renderDashedDottedBorder=function(Ee,Re,tt,Rt,Er){return A(this,void 0,void 0,function(){var Ur,$r,vn,ni,Yn,si,ya,xa,La,ho,Qa,Ua,zo,ts,ko,ka,ko,ka;return b(this,function(os){return this.ctx.save(),Ur=wc(Rt,tt),$r=hc(Rt,tt),Er===2&&(this.path($r),this.ctx.clip()),gs($r[0])?(vn=$r[0].start.x,ni=$r[0].start.y):(vn=$r[0].x,ni=$r[0].y),gs($r[1])?(Yn=$r[1].end.x,si=$r[1].end.y):(Yn=$r[1].x,si=$r[1].y),tt===0||tt===2?ya=Math.abs(vn-Yn):ya=Math.abs(ni-si),this.ctx.beginPath(),Er===3?this.formatPath(Ur):this.formatPath($r.slice(0,2)),xa=Re<3?Re*3:Re*2,La=Re<3?Re*2:Re,Er===3&&(xa=Re,La=Re),ho=!0,ya<=xa*2?ho=!1:ya<=xa*2+La?(Qa=ya/(2*xa+La),xa*=Qa,La*=Qa):(Ua=Math.floor((ya+La)/(xa+La)),zo=(ya-Ua*xa)/(Ua-1),ts=(ya-(Ua+1)*xa)/Ua,La=ts<=0||Math.abs(La-zo)<Math.abs(La-ts)?zo:ts),ho&&(Er===3?this.ctx.setLineDash([0,xa+La]):this.ctx.setLineDash([xa,La])),Er===3?(this.ctx.lineCap="round",this.ctx.lineWidth=Re):this.ctx.lineWidth=Re*2+1.1,this.ctx.strokeStyle=jt(Ee),this.ctx.stroke(),this.ctx.setLineDash([]),Er===2&&(gs($r[0])&&(ko=$r[3],ka=$r[0],this.ctx.beginPath(),this.formatPath([new Aa(ko.end.x,ko.end.y),new Aa(ka.start.x,ka.start.y)]),this.ctx.stroke()),gs($r[1])&&(ko=$r[1],ka=$r[2],this.ctx.beginPath(),this.formatPath([new Aa(ko.end.x,ko.end.y),new Aa(ka.start.x,ka.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},he.prototype.render=function(Ee){return A(this,void 0,void 0,function(){var Re;return b(this,function(tt){switch(tt.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=jt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),Re=bu(Ee),[4,this.renderStack(Re)];case 1:return tt.sent(),this.applyEffects([]),[2,this.canvas]}})})},he}(Ec),_c=function(he){return he instanceof Vu||he instanceof mu?!0:he instanceof jl&&he.type!==pl&&he.type!==Vl},Ic=function(he,Ee){switch(he){case 0:return ml(Ee);case 2:return Gs(Ee);case 1:default:return yu(Ee)}},Lc=function(he){switch(he){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Oc=["-apple-system","system-ui"],Nc=function(he){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?he.filter(function(Ee){return Oc.indexOf(Ee)===-1}):he},Dc=function(Zt){x(he,Zt);function he(Ee,Re){var tt=Zt.call(this,Ee,Re)||this;return tt.canvas=Re.canvas?Re.canvas:document.createElement("canvas"),tt.ctx=tt.canvas.getContext("2d"),tt.options=Re,tt.canvas.width=Math.floor(Re.width*Re.scale),tt.canvas.height=Math.floor(Re.height*Re.scale),tt.canvas.style.width=Re.width+"px",tt.canvas.style.height=Re.height+"px",tt.ctx.scale(tt.options.scale,tt.options.scale),tt.ctx.translate(-Re.x,-Re.y),tt.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+Re.width+"x"+Re.height+" at "+Re.x+","+Re.y+") with scale "+Re.scale),tt}return he.prototype.render=function(Ee){return A(this,void 0,void 0,function(){var Re,tt;return b(this,function(Rt){switch(Rt.label){case 0:return Re=cu(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,Ee),[4,Rc(Re)];case 1:return tt=Rt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=jt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(tt,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},he}(Ec),Rc=function(he){return new Promise(function(Ee,Re){var tt=new Image;tt.onload=function(){Ee(tt)},tt.onerror=Re,tt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(he))})},Mc=function(){function Zt(he){var Ee=he.id,Re=he.enabled;this.id=Ee,this.enabled=Re,this.start=Date.now()}return Zt.prototype.debug=function(){for(var he=[],Ee=0;Ee<arguments.length;Ee++)he[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,m([this.id,this.getTime()+"ms"],he)):this.info.apply(this,he))},Zt.prototype.getTime=function(){return Date.now()-this.start},Zt.prototype.info=function(){for(var he=[],Ee=0;Ee<arguments.length;Ee++)he[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,m([this.id,this.getTime()+"ms"],he)))},Zt.prototype.warn=function(){for(var he=[],Ee=0;Ee<arguments.length;Ee++)he[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,m([this.id,this.getTime()+"ms"],he)):this.info.apply(this,he))},Zt.prototype.error=function(){for(var he=[],Ee=0;Ee<arguments.length;Ee++)he[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,m([this.id,this.getTime()+"ms"],he)):this.info.apply(this,he))},Zt.instances={},Zt}(),Pc=function(){function Zt(he,Ee){var Re;this.windowBounds=Ee,this.instanceName="#"+Zt.instanceCount++,this.logger=new Mc({id:this.instanceName,enabled:he.logging}),this.cache=(Re=he.cache)!==null&&Re!==void 0?Re:new xo(this,he)}return Zt.instanceCount=1,Zt}(),kc=function(he,Ee){return Ee===void 0&&(Ee={}),Bc(he,Ee)};typeof window!="undefined"&&Fa.setContext(window);var Bc=function(he,Ee){return A(void 0,void 0,void 0,function(){var Re,tt,Rt,Er,Ur,$r,vn,ni,Yn,si,ya,xa,La,ho,Qa,Ua,zo,ts,ko,ka,os,cs,os,Bo,Pl,Yl,kl,cl,rc,xu,Ju,Zu,$u,nc,Eu,qu,ic,ac,Bu,oc;return b(this,function(Fu){switch(Fu.label){case 0:if(!he||typeof he!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(Re=he.ownerDocument,!Re)throw new Error("Element is not attached to a Document");if(tt=Re.defaultView,!tt)throw new Error("Document is not attached to a Window");return Rt={allowTaint:(Bo=Ee.allowTaint)!==null&&Bo!==void 0?Bo:!1,imageTimeout:(Pl=Ee.imageTimeout)!==null&&Pl!==void 0?Pl:15e3,proxy:Ee.proxy,useCORS:(Yl=Ee.useCORS)!==null&&Yl!==void 0?Yl:!1},Er=C({logging:(kl=Ee.logging)!==null&&kl!==void 0?kl:!0,cache:Ee.cache},Rt),Ur={windowWidth:(cl=Ee.windowWidth)!==null&&cl!==void 0?cl:tt.innerWidth,windowHeight:(rc=Ee.windowHeight)!==null&&rc!==void 0?rc:tt.innerHeight,scrollX:(xu=Ee.scrollX)!==null&&xu!==void 0?xu:tt.pageXOffset,scrollY:(Ju=Ee.scrollY)!==null&&Ju!==void 0?Ju:tt.pageYOffset},$r=new p(Ur.scrollX,Ur.scrollY,Ur.windowWidth,Ur.windowHeight),vn=new Pc(Er,$r),ni=(Zu=Ee.foreignObjectRendering)!==null&&Zu!==void 0?Zu:!1,Yn={allowTaint:($u=Ee.allowTaint)!==null&&$u!==void 0?$u:!1,onclone:Ee.onclone,ignoreElements:Ee.ignoreElements,inlineImages:ni,copyStyles:ni},vn.logger.debug("Starting document clone with size "+$r.width+"x"+$r.height+" scrolled to "+-$r.left+","+-$r.top),si=new ue(vn,he,Yn),ya=si.clonedReferenceElement,ya?[4,si.toIFrame(Re,$r)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return xa=Fu.sent(),La=dr(ya)||ct(ya)?o(ya.ownerDocument):c(vn,ya),ho=La.width,Qa=La.height,Ua=La.left,zo=La.top,ts=Fc(vn,ya,Ee.backgroundColor),ko={canvas:Ee.canvas,backgroundColor:ts,scale:(Eu=(nc=Ee.scale)!==null&&nc!==void 0?nc:tt.devicePixelRatio)!==null&&Eu!==void 0?Eu:1,x:((qu=Ee.x)!==null&&qu!==void 0?qu:0)+Ua,y:((ic=Ee.y)!==null&&ic!==void 0?ic:0)+zo,width:(ac=Ee.width)!==null&&ac!==void 0?ac:Math.ceil(ho),height:(Bu=Ee.height)!==null&&Bu!==void 0?Bu:Math.ceil(Qa)},ni?(vn.logger.debug("Document cloned, using foreign object rendering"),os=new Dc(vn,ko),[4,os.render(ya)]):[3,3];case 2:return ka=Fu.sent(),[3,5];case 3:return vn.logger.debug("Document cloned, element located at "+Ua+","+zo+" with size "+ho+"x"+Qa+" using computed rendering"),vn.logger.debug("Starting DOM parsing"),cs=Xu(vn,ya),ts===cs.styles.backgroundColor&&(cs.styles.backgroundColor=Dn.TRANSPARENT),vn.logger.debug("Starting renderer for element at "+ko.x+","+ko.y+" with size "+ko.width+"x"+ko.height),os=new mc(vn,ko),[4,os.render(cs)];case 4:ka=Fu.sent(),Fu.label=5;case 5:return((oc=Ee.removeContainer)!==null&&oc!==void 0?oc:!0)&&(ue.destroy(xa)||vn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),vn.logger.debug("Finished rendering"),[2,ka]}})})},Fc=function(he,Ee,Re){var tt=Ee.ownerDocument,Rt=tt.documentElement?fn(he,getComputedStyle(tt.documentElement).backgroundColor):Dn.TRANSPARENT,Er=tt.body?fn(he,getComputedStyle(tt.body).backgroundColor):Dn.TRANSPARENT,Ur=typeof Re=="string"?fn(he,Re):Re===null?Dn.TRANSPARENT:4294967295;return Ee===tt.documentElement?Nr(Rt)?Nr(Er)?Ur:Er:Rt:Ur};return kc})},wPlo:function(H,k,d){"use strict";d.d(k,"a",function(){return _});var _="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("ygfH")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="CheckOutlined";var c=A.forwardRef(p);k.default=c},wYyv:function(H,k,d){"use strict";var _=d("GmyR"),x=d("47nA"),C=function(m,p,c){var o=p<0?m.length+p:p;if(o>=0&&o<m.length){var r=c<0?m.length+c:c,i=m.splice(p,1),n=x(i,1),t=n[0];m.splice(r,0,t)}},A=function(m,p,c){return m=_(m),C(m,p,c),m};H.exports=A,H.exports.mutate=C},wZgz:function(H,k,d){(function(_,x,C){H.exports=k=x(d("Ib8C"),d("ETIr"),d("cv67"),d("K3mO"),d("OLod"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.BlockCipher,b=x.algo,m=[],p=[],c=[],o=[],r=[],i=[],n=[],t=[],s=[],e=[];(function(){for(var u=[],h=0;h<256;h++)h<128?u[h]=h<<1:u[h]=h<<1^283;for(var f=0,g=0,h=0;h<256;h++){var v=g^g<<1^g<<2^g<<3^g<<4;v=v>>>8^v&255^99,m[f]=v,p[v]=f;var y=u[f],E=u[y],T=u[E],w=u[v]*257^v*16843008;c[f]=w<<24|w>>>8,o[f]=w<<16|w>>>16,r[f]=w<<8|w>>>24,i[f]=w;var w=T*16843009^E*65537^y*257^f*16843008;n[v]=w<<24|w>>>8,t[v]=w<<16|w>>>16,s[v]=w<<8|w>>>24,e[v]=w,f?(f=y^u[u[u[T^y]]],g^=u[u[g]]):f=g=1}})();var a=[0,1,2,4,8,16,32,64,128,27,54],l=b.AES=A.extend({_doReset:function(){var h;if(this._nRounds&&this._keyPriorReset===this._key)return;for(var f=this._keyPriorReset=this._key,g=f.words,v=f.sigBytes/4,y=this._nRounds=v+6,E=(y+1)*4,T=this._keySchedule=[],w=0;w<E;w++)w<v?T[w]=g[w]:(h=T[w-1],w%v?v>6&&w%v==4&&(h=m[h>>>24]<<24|m[h>>>16&255]<<16|m[h>>>8&255]<<8|m[h&255]):(h=h<<8|h>>>24,h=m[h>>>24]<<24|m[h>>>16&255]<<16|m[h>>>8&255]<<8|m[h&255],h^=a[w/v|0]<<24),T[w]=T[w-v]^h);for(var S=this._invKeySchedule=[],I=0;I<E;I++){var w=E-I;if(I%4)var h=T[w];else var h=T[w-4];I<4||w<=4?S[I]=h:S[I]=n[m[h>>>24]]^t[m[h>>>16&255]]^s[m[h>>>8&255]]^e[m[h&255]]}},encryptBlock:function(h,f){this._doCryptBlock(h,f,this._keySchedule,c,o,r,i,m)},decryptBlock:function(h,f){var g=h[f+1];h[f+1]=h[f+3],h[f+3]=g,this._doCryptBlock(h,f,this._invKeySchedule,n,t,s,e,p);var g=h[f+1];h[f+1]=h[f+3],h[f+3]=g},_doCryptBlock:function(h,f,g,v,y,E,T,w){for(var S=this._nRounds,I=h[f]^g[0],L=h[f+1]^g[1],O=h[f+2]^g[2],N=h[f+3]^g[3],R=4,D=1;D<S;D++){var B=v[I>>>24]^y[L>>>16&255]^E[O>>>8&255]^T[N&255]^g[R++],M=v[L>>>24]^y[O>>>16&255]^E[N>>>8&255]^T[I&255]^g[R++],U=v[O>>>24]^y[N>>>16&255]^E[I>>>8&255]^T[L&255]^g[R++],F=v[N>>>24]^y[I>>>16&255]^E[L>>>8&255]^T[O&255]^g[R++];I=B,L=M,O=U,N=F}var B=(w[I>>>24]<<24|w[L>>>16&255]<<16|w[O>>>8&255]<<8|w[N&255])^g[R++],M=(w[L>>>24]<<24|w[O>>>16&255]<<16|w[N>>>8&255]<<8|w[I&255])^g[R++],U=(w[O>>>24]<<24|w[N>>>16&255]<<16|w[I>>>8&255]<<8|w[L&255])^g[R++],F=(w[N>>>24]<<24|w[I>>>16&255]<<16|w[L>>>8&255]<<8|w[O&255])^g[R++];h[f]=B,h[f+1]=M,h[f+2]=U,h[f+3]=F},keySize:256/32});x.AES=A._createHelper(l)}(),_.AES})},wbyO:function(H,k,d){(function(_,x){H.exports=k=x(d("Ib8C"))})(this,function(_){return function(){var x=_,C=x.lib,A=C.WordArray,b=x.enc,m=b.Base64url={stringify:function(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=o.words,n=o.sigBytes,t=r?this._safe_map:this._map;o.clamp();for(var s=[],e=0;e<n;e+=3)for(var a=i[e>>>2]>>>24-e%4*8&255,l=i[e+1>>>2]>>>24-(e+1)%4*8&255,u=i[e+2>>>2]>>>24-(e+2)%4*8&255,h=a<<16|l<<8|u,f=0;f<4&&e+f*.75<n;f++)s.push(t.charAt(h>>>6*(3-f)&63));var g=t.charAt(64);if(g)for(;s.length%4;)s.push(g);return s.join("")},parse:function(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=o.length,n=r?this._safe_map:this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var s=0;s<n.length;s++)t[n.charCodeAt(s)]=s}var e=n.charAt(64);if(e){var a=o.indexOf(e);a!==-1&&(i=a)}return p(o,i,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function p(c,o,r){for(var i=[],n=0,t=0;t<o;t++)if(t%4){var s=r[c.charCodeAt(t-1)]<<t%4*2,e=r[c.charCodeAt(t)]>>>6-t%4*2,a=s|e;i[n>>>2]|=a<<24-n%4*8,n++}return A.create(i,n)}}(),_.enc.Base64url})},wgjA:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},whVF:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=d("lNSK"),x=C(d("1q3G"));function C(c){return c&&c.__esModule?c:{default:c}}function A(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function b(c,o){for(var r=0;r<o.length;r++){var i=o[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(c,i.key,i)}}function m(c,o,r){return o&&b(c.prototype,o),r&&b(c,r),c}var p=function(){function c(){A(this,c),this.strm=new x.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,_.deflateInit)(this.strm,this.windowBits)}return m(c,[{key:"deflate",value:function(r){this.strm.input=r,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0,this.strm.output=this.outputBuffer,this.strm.avail_out=this.chunkSize,this.strm.next_out=0;var i=(0,_.deflate)(this.strm,_.Z_FULL_FLUSH),n=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(i<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var t=[n],s=n.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,i=(0,_.deflate)(this.strm,_.Z_FULL_FLUSH),i<0)throw new Error("zlib deflate failed");var e=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);s+=e.length,t.push(e)}while(this.strm.avail_in>0);for(var a=new Uint8Array(s),l=0,u=0;u<t.length;u++)a.set(t[u],l),l+=t[u].length;n=a}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,n}}]),c}();k.default=p},wr5s:function(H,k,d){var _=d("IwbS"),x=_.extendShape,C=x({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(A,b){var m=b.cx,p=b.cy,c=Math.max(b.r0||0,0),o=Math.max(b.r,0),r=(o-c)*.5,i=c+r,n=b.startAngle,t=b.endAngle,s=b.clockwise,e=Math.cos(n),a=Math.sin(n),l=Math.cos(t),u=Math.sin(t),h=s?t-n<Math.PI*2:n-t<Math.PI*2;h&&(A.moveTo(e*c+m,a*c+p),A.arc(e*i+m,a*i+p,r,-Math.PI+n,n,!s)),A.arc(m,p,o,n,t,!s),A.moveTo(l*o+m,u*o+p),A.arc(l*i+m,u*i+p,r,t-Math.PI*2,t-Math.PI,!s),c!==0&&(A.arc(m,p,c,t,n,s),A.moveTo(e*c+m,u*c+p)),A.closePath()}});H.exports=C},wt3j:function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("/IIm"),A=d("EMyp"),b=A.layoutCovers,m=_.extendComponentView({type:"brush",init:function(c,o){this.ecModel=c,this.api=o,this.model,(this._brushController=new C(o.getZr())).on("brush",x.bind(this._onBrush,this)).mount()},render:function(c){return this.model=c,p.apply(this,arguments)},updateTransform:function(c,o){return b(o),p.apply(this,arguments)},updateView:p,dispose:function(){this._brushController.dispose()},_onBrush:function(c,o){var r=this.model.id;this.model.brushTargetManager.setOutputRanges(c,this.ecModel),(!o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:x.clone(c),$from:r}),o.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:x.clone(c),$from:r})}});function p(c,o,r,i){(!i||i.$from!==c.id)&&this._brushController.setPanels(c.brushTargetManager.makePanelOpts(r)).enableBrush(c.brushOption).updateCovers(c.areas.slice())}H.exports=m},wy8a:function(H,k,d){var _=d("KxBF");function x(C,A,b){var m=C.length;return b=b===void 0?m:b,!A&&b>=m?C:_(C,A,b)}H.exports=x},x3X8:function(H,k,d){var _=d("KxfA"),x=_.retrieveRawValue;function C(A,b){var m=A.mapDimension("defaultedLabel",!0),p=m.length;if(p===1)return x(A,b,m[0]);if(p){for(var c=[],o=0;o<m.length;o++){var r=x(A,b,m[o]);c.push(r)}return c.join(" ")}}k.getDefaultLabel=C},x54q:function(H,k,d){},x6Kt:function(H,k,d){var _=d("y+Vt"),x=d("VpOo"),C=d("nPnh"),A=C.subPixelOptimizeRect,b={},m=_.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(c,o){var r,i,n,t;this.subPixelOptimize?(A(b,o,this.style),r=b.x,i=b.y,n=b.width,t=b.height,b.r=o.r,o=b):(r=o.x,i=o.y,n=o.width,t=o.height),o.r?x.buildPath(c,o):c.rect(r,i,n,t),c.closePath();return}});H.exports=m},xGfz:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="PlusSquareOutlined";var p=k.a=x.forwardRef(m)},xKMd:function(H,k){function d(x,C){this.getAllNames=function(){var A=C();return A.mapArray(A.getName)},this.containName=function(A){var b=C();return b.indexOfName(A)>=0},this.indexOfName=function(A){var b=x();return b.indexOfName(A)},this.getItemVisual=function(A,b){var m=x();return m.getItemVisual(A,b)}}var _=d;H.exports=_},xO64:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _=x(d("8K/p"));function x(e){return e&&e.__esModule?e:{default:e}}function C(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(l){return typeof l}:C=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},C(e)}function A(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function b(e,a){for(var l=0;l<a.length;l++){var u=a[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function m(e,a,l){return a&&b(e.prototype,a),l&&b(e,l),e}function p(e,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a&&c(e,a)}function c(e,a){return c=Object.setPrototypeOf||function(u,h){return u.__proto__=h,u},c(e,a)}function o(e){var a=n();return function(){var u=t(e),h;if(a){var f=t(this).constructor;h=Reflect.construct(u,arguments,f)}else h=u.apply(this,arguments);return r(this,h)}}function r(e,a){return a&&(C(a)==="object"||typeof a=="function")?a:i(e)}function i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){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(e){return!1}}function t(e){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(l){return l.__proto__||Object.getPrototypeOf(l)},t(e)}var s=function(e){p(l,e);var a=o(l);function l(){return A(this,l),a.apply(this,arguments)}return m(l,[{key:"_pngRect",value:function(h,f,g,v,y,E,T){var w=this._readData(y);return w===null?!1:(E.imageRect(h,f,g,v,"image/png",w),!0)}},{key:"_basicRect",value:function(h,f,g,v,y,E,T,w){throw new Error("BasicCompression received in TightPNG rect")}}]),l}(_.default);k.default=s},xOOu:function(H,k,d){(function(_,x,C){var A,A;/*!
JSZip v3.10.0 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/!function(b){H.exports=b()}(function(){return function b(m,p,c){function o(n,t){if(!p[n]){if(!m[n]){var s=typeof A=="function"&&A;if(!t&&s)return A(n,!0);if(r)return r(n,!0);var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}var a=p[n]={exports:{}};m[n][0].call(a.exports,function(l){var u=m[n][1][l];return o(u||l)},a,a.exports,b,m,p,c)}return p[n].exports}for(var r=typeof A=="function"&&A,i=0;i<c.length;i++)o(c[i]);return o}({1:[function(b,m,p){"use strict";var c=b("./utils"),o=b("./support"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";p.encode=function(i){for(var n,t,s,e,a,l,u,h=[],f=0,g=i.length,v=g,y=c.getTypeOf(i)!=="string";f<i.length;)v=g-f,s=y?(n=i[f++],t=f<g?i[f++]:0,f<g?i[f++]:0):(n=i.charCodeAt(f++),t=f<g?i.charCodeAt(f++):0,f<g?i.charCodeAt(f++):0),e=n>>2,a=(3&n)<<4|t>>4,l=1<v?(15&t)<<2|s>>6:64,u=2<v?63&s:64,h.push(r.charAt(e)+r.charAt(a)+r.charAt(l)+r.charAt(u));return h.join("")},p.decode=function(i){var n,t,s,e,a,l,u=0,h=0,f="data:";if(i.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var g,v=3*(i=i.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(i.charAt(i.length-1)===r.charAt(64)&&v--,i.charAt(i.length-2)===r.charAt(64)&&v--,v%1!=0)throw new Error("Invalid base64 input, bad content length.");for(g=o.uint8array?new Uint8Array(0|v):new Array(0|v);u<i.length;)n=r.indexOf(i.charAt(u++))<<2|(e=r.indexOf(i.charAt(u++)))>>4,t=(15&e)<<4|(a=r.indexOf(i.charAt(u++)))>>2,s=(3&a)<<6|(l=r.indexOf(i.charAt(u++))),g[h++]=n,a!==64&&(g[h++]=t),l!==64&&(g[h++]=s);return g}},{"./support":30,"./utils":32}],2:[function(b,m,p){"use strict";var c=b("./external"),o=b("./stream/DataWorker"),r=b("./stream/Crc32Probe"),i=b("./stream/DataLengthProbe");function n(t,s,e,a,l){this.compressedSize=t,this.uncompressedSize=s,this.crc32=e,this.compression=a,this.compressedContent=l}n.prototype={getContentWorker:function(){var s=new o(c.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),e=this;return s.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),s},getCompressedWorker:function(){return new o(c.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},n.createWorkerFrom=function(t,s,e){return t.pipe(new r).pipe(new i("uncompressedSize")).pipe(s.compressWorker(e)).pipe(new i("compressedSize")).withStreamInfo("compression",s)},m.exports=n},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,m,p){"use strict";var c=b("./stream/GenericWorker");p.STORE={magic:"\0\0",compressWorker:function(r){return new c("STORE compression")},uncompressWorker:function(){return new c("STORE decompression")}},p.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,m,p){"use strict";var c=b("./utils"),o=function(){for(var r,i=[],n=0;n<256;n++){r=n;for(var t=0;t<8;t++)r=1&r?3988292384^r>>>1:r>>>1;i[n]=r}return i}();m.exports=function(r,i){return r!==void 0&&r.length?c.getTypeOf(r)!=="string"?function(n,t,s,e){var a=o,l=e+s;n^=-1;for(var u=e;u<l;u++)n=n>>>8^a[255&(n^t[u])];return-1^n}(0|i,r,r.length,0):function(n,t,s,e){var a=o,l=e+s;n^=-1;for(var u=e;u<l;u++)n=n>>>8^a[255&(n^t.charCodeAt(u))];return-1^n}(0|i,r,r.length,0):0}},{"./utils":32}],5:[function(b,m,p){"use strict";p.base64=!1,p.binary=!1,p.dir=!1,p.createFolders=!0,p.date=null,p.compression=null,p.compressionOptions=null,p.comment=null,p.unixPermissions=null,p.dosPermissions=null},{}],6:[function(b,m,p){"use strict";var c=null;c=typeof Promise!="undefined"?Promise:b("lie"),m.exports={Promise:c}},{lie:37}],7:[function(b,m,p){"use strict";var c=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",o=b("pako"),r=b("./utils"),i=b("./stream/GenericWorker"),n=c?"uint8array":"array";function t(s,e){i.call(this,"FlateWorker/"+s),this._pako=null,this._pakoAction=s,this._pakoOptions=e,this.meta={}}p.magic="\b\0",r.inherits(t,i),t.prototype.processChunk=function(s){this.meta=s.meta,this._pako===null&&this._createPako(),this._pako.push(r.transformTo(n,s.data),!1)},t.prototype.flush=function(){i.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},t.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},t.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var s=this;this._pako.onData=function(e){s.push({data:e,meta:s.meta})}},p.compressWorker=function(s){return new t("Deflate",s)},p.uncompressWorker=function(){return new t("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(b,m,p){"use strict";function c(a,l){var u,h="";for(u=0;u<l;u++)h+=String.fromCharCode(255&a),a>>>=8;return h}function o(a,l,u,h,f,g){var v,y,E=a.file,T=a.compression,w=g!==n.utf8encode,S=r.transformTo("string",g(E.name)),I=r.transformTo("string",n.utf8encode(E.name)),L=E.comment,O=r.transformTo("string",g(L)),N=r.transformTo("string",n.utf8encode(L)),R=I.length!==E.name.length,D=N.length!==L.length,B="",M="",U="",F=E.dir,j=E.date,W={crc32:0,compressedSize:0,uncompressedSize:0};l&&!u||(W.crc32=a.crc32,W.compressedSize=a.compressedSize,W.uncompressedSize=a.uncompressedSize);var V=0;l&&(V|=8),w||!R&&!D||(V|=2048);var z=0,Y=0;F&&(z|=16),f==="UNIX"?(Y=798,z|=function(ie,Z){var oe=ie;return ie||(oe=Z?16893:33204),(65535&oe)<<16}(E.unixPermissions,F)):(Y=20,z|=function(ie){return 63&(ie||0)}(E.dosPermissions)),v=j.getUTCHours(),v<<=6,v|=j.getUTCMinutes(),v<<=5,v|=j.getUTCSeconds()/2,y=j.getUTCFullYear()-1980,y<<=4,y|=j.getUTCMonth()+1,y<<=5,y|=j.getUTCDate(),R&&(M=c(1,1)+c(t(S),4)+I,B+="up"+c(M.length,2)+M),D&&(U=c(1,1)+c(t(O),4)+N,B+="uc"+c(U.length,2)+U);var J="";return J+=`
\0`,J+=c(V,2),J+=T.magic,J+=c(v,2),J+=c(y,2),J+=c(W.crc32,4),J+=c(W.compressedSize,4),J+=c(W.uncompressedSize,4),J+=c(S.length,2),J+=c(B.length,2),{fileRecord:s.LOCAL_FILE_HEADER+J+S+B,dirRecord:s.CENTRAL_FILE_HEADER+c(Y,2)+J+c(O.length,2)+"\0\0\0\0"+c(z,4)+c(h,4)+S+B+O}}var r=b("../utils"),i=b("../stream/GenericWorker"),n=b("../utf8"),t=b("../crc32"),s=b("../signature");function e(a,l,u,h){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=l,this.zipPlatform=u,this.encodeFileName=h,this.streamFiles=a,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(e,i),e.prototype.push=function(a){var l=a.meta.percent||0,u=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(a):(this.bytesWritten+=a.data.length,i.prototype.push.call(this,{data:a.data,meta:{currentFile:this.currentFile,percent:u?(l+100*(u-h-1))/u:100}}))},e.prototype.openedSource=function(a){this.currentSourceOffset=this.bytesWritten,this.currentFile=a.file.name;var l=this.streamFiles&&!a.file.dir;if(l){var u=o(a,l,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},e.prototype.closedSource=function(a){this.accumulate=!1;var l=this.streamFiles&&!a.file.dir,u=o(a,l,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),l)this.push({data:function(h){return s.DATA_DESCRIPTOR+c(h.crc32,4)+c(h.compressedSize,4)+c(h.uncompressedSize,4)}(a),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},e.prototype.flush=function(){for(var a=this.bytesWritten,l=0;l<this.dirRecords.length;l++)this.push({data:this.dirRecords[l],meta:{percent:100}});var u=this.bytesWritten-a,h=function(f,g,v,y,E){var T=r.transformTo("string",E(y));return s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(f,2)+c(f,2)+c(g,4)+c(v,4)+c(T.length,2)+T}(this.dirRecords.length,u,a,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},e.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},e.prototype.registerPrevious=function(a){this._sources.push(a);var l=this;return a.on("data",function(u){l.processChunk(u)}),a.on("end",function(){l.closedSource(l.previous.streamInfo),l._sources.length?l.prepareNextSource():l.end()}),a.on("error",function(u){l.error(u)}),this},e.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},e.prototype.error=function(a){var l=this._sources;if(!i.prototype.error.call(this,a))return!1;for(var u=0;u<l.length;u++)try{l[u].error(a)}catch(h){}return!0},e.prototype.lock=function(){i.prototype.lock.call(this);for(var a=this._sources,l=0;l<a.length;l++)a[l].lock()},m.exports=e},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(b,m,p){"use strict";var c=b("../compressions"),o=b("./ZipFileWorker");p.generateWorker=function(r,i,n){var t=new o(i.streamFiles,n,i.platform,i.encodeFileName),s=0;try{r.forEach(function(e,a){s++;var l=function(g,v){var y=g||v,E=c[y];if(!E)throw new Error(y+" is not a valid compression method !");return E}(a.options.compression,i.compression),u=a.options.compressionOptions||i.compressionOptions||{},h=a.dir,f=a.date;a._compressWorker(l,u).withStreamInfo("file",{name:e,dir:h,date:f,comment:a.comment||"",unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions}).pipe(t)}),t.entriesCount=s}catch(e){t.error(e)}return t}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(b,m,p){"use strict";function c(){if(!(this instanceof c))return new c;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var o=new c;for(var r in this)typeof this[r]!="function"&&(o[r]=this[r]);return o}}(c.prototype=b("./object")).loadAsync=b("./load"),c.support=b("./support"),c.defaults=b("./defaults"),c.version="3.10.0",c.loadAsync=function(o,r){return new c().loadAsync(o,r)},c.external=b("./external"),m.exports=c},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(b,m,p){"use strict";var c=b("./utils"),o=b("./external"),r=b("./utf8"),i=b("./zipEntries"),n=b("./stream/Crc32Probe"),t=b("./nodejsUtils");function s(e){return new o.Promise(function(a,l){var u=e.decompressed.getContentWorker().pipe(new n);u.on("error",function(h){l(h)}).on("end",function(){u.streamInfo.crc32!==e.decompressed.crc32?l(new Error("Corrupted zip : CRC32 mismatch")):a()}).resume()})}m.exports=function(e,a){var l=this;return a=c.extend(a||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:r.utf8decode}),t.isNode&&t.isStream(e)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):c.prepareContent("the loaded zip file",e,!0,a.optimizedBinaryString,a.base64).then(function(u){var h=new i(a);return h.load(u),h}).then(function(u){var h=[o.Promise.resolve(u)],f=u.files;if(a.checkCRC32)for(var g=0;g<f.length;g++)h.push(s(f[g]));return o.Promise.all(h)}).then(function(u){for(var h=u.shift(),f=h.files,g=0;g<f.length;g++){var v=f[g],y=v.fileNameStr,E=c.resolve(v.fileNameStr);l.file(E,v.decompressed,{binary:!0,optimizedBinaryString:!0,date:v.date,dir:v.dir,comment:v.fileCommentStr.length?v.fileCommentStr:null,unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions,createFolders:a.createFolders}),v.dir||(l.file(E).unsafeOriginalName=y)}return h.zipComment.length&&(l.comment=h.zipComment),l})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(b,m,p){"use strict";var c=b("../utils"),o=b("../stream/GenericWorker");function r(i,n){o.call(this,"Nodejs stream input adapter for "+i),this._upstreamEnded=!1,this._bindStream(n)}c.inherits(r,o),r.prototype._bindStream=function(i){var n=this;(this._stream=i).pause(),i.on("data",function(t){n.push({data:t,meta:{percent:0}})}).on("error",function(t){n.isPaused?this.generatedError=t:n.error(t)}).on("end",function(){n.isPaused?n._upstreamEnded=!0:n.end()})},r.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},r.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},m.exports=r},{"../stream/GenericWorker":28,"../utils":32}],13:[function(b,m,p){"use strict";var c=b("readable-stream").Readable;function o(r,i,n){c.call(this,i),this._helper=r;var t=this;r.on("data",function(s,e){t.push(s)||t._helper.pause(),n&&n(e)}).on("error",function(s){t.emit("error",s)}).on("end",function(){t.push(null)})}b("../utils").inherits(o,c),o.prototype._read=function(){this._helper.resume()},m.exports=o},{"../utils":32,"readable-stream":16}],14:[function(b,m,p){"use strict";m.exports={isNode:typeof _!="undefined",newBufferFrom:function(o,r){if(_.from&&_.from!==Uint8Array.from)return _.from(o,r);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new _(o,r)},allocBuffer:function(o){if(_.alloc)return _.alloc(o);var r=new _(o);return r.fill(0),r},isBuffer:function(o){return _.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(b,m,p){"use strict";function c(E,T,w){var S,I=r.getTypeOf(T),L=r.extend(w||{},t);L.date=L.date||new Date,L.compression!==null&&(L.compression=L.compression.toUpperCase()),typeof L.unixPermissions=="string"&&(L.unixPermissions=parseInt(L.unixPermissions,8)),L.unixPermissions&&16384&L.unixPermissions&&(L.dir=!0),L.dosPermissions&&16&L.dosPermissions&&(L.dir=!0),L.dir&&(E=f(E)),L.createFolders&&(S=h(E))&&g.call(this,S,!0);var O=I==="string"&&L.binary===!1&&L.base64===!1;w&&w.binary!==void 0||(L.binary=!O),(T instanceof s&&T.uncompressedSize===0||L.dir||!T||T.length===0)&&(L.base64=!1,L.binary=!0,T="",L.compression="STORE",I="string");var N=null;N=T instanceof s||T instanceof i?T:l.isNode&&l.isStream(T)?new u(E,T):r.prepareContent(E,T,L.binary,L.optimizedBinaryString,L.base64);var R=new e(E,N,L);this.files[E]=R}var o=b("./utf8"),r=b("./utils"),i=b("./stream/GenericWorker"),n=b("./stream/StreamHelper"),t=b("./defaults"),s=b("./compressedObject"),e=b("./zipObject"),a=b("./generate"),l=b("./nodejsUtils"),u=b("./nodejs/NodejsStreamInputAdapter"),h=function(T){T.slice(-1)==="/"&&(T=T.substring(0,T.length-1));var w=T.lastIndexOf("/");return 0<w?T.substring(0,w):""},f=function(T){return T.slice(-1)!=="/"&&(T+="/"),T},g=function(T,w){return w=w!==void 0?w:t.createFolders,T=f(T),this.files[T]||c.call(this,T,null,{dir:!0,createFolders:w}),this.files[T]};function v(E){return Object.prototype.toString.call(E)==="[object RegExp]"}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(T){var w,S,I;for(w in this.files)I=this.files[w],(S=w.slice(this.root.length,w.length))&&w.slice(0,this.root.length)===this.root&&T(S,I)},filter:function(T){var w=[];return this.forEach(function(S,I){T(S,I)&&w.push(I)}),w},file:function(T,w,S){if(arguments.length!==1)return T=this.root+T,c.call(this,T,w,S),this;if(v(T)){var I=T;return this.filter(function(O,N){return!N.dir&&I.test(O)})}var L=this.files[this.root+T];return L&&!L.dir?L:null},folder:function(T){if(!T)return this;if(v(T))return this.filter(function(L,O){return O.dir&&T.test(L)});var w=this.root+T,S=g.call(this,w),I=this.clone();return I.root=S.name,I},remove:function(T){T=this.root+T;var w=this.files[T];if(w||(T.slice(-1)!=="/"&&(T+="/"),w=this.files[T]),w&&!w.dir)delete this.files[T];else for(var S=this.filter(function(L,O){return O.name.slice(0,T.length)===T}),I=0;I<S.length;I++)delete this.files[S[I].name];return this},generate:function(T){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(T){var w,S={};try{if((S=r.extend(T||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=S.type.toLowerCase(),S.compression=S.compression.toUpperCase(),S.type==="binarystring"&&(S.type="string"),!S.type)throw new Error("No output type specified.");r.checkSupport(S.type),S.platform!=="darwin"&&S.platform!=="freebsd"&&S.platform!=="linux"&&S.platform!=="sunos"||(S.platform="UNIX"),S.platform==="win32"&&(S.platform="DOS");var I=S.comment||this.comment||"";w=a.generateWorker(this,S,I)}catch(L){(w=new i("error")).error(L)}return new n(w,S.type||"string",S.mimeType)},generateAsync:function(T,w){return this.generateInternalStream(T).accumulate(w)},generateNodeStream:function(T,w){return(T=T||{}).type||(T.type="nodebuffer"),this.generateInternalStream(T).toNodejsStream(w)}};m.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(b,m,p){m.exports=b("stream")},{stream:void 0}],17:[function(b,m,p){"use strict";var c=b("./DataReader");function o(r){c.call(this,r);for(var i=0;i<this.data.length;i++)r[i]=255&r[i]}b("../utils").inherits(o,c),o.prototype.byteAt=function(r){return this.data[this.zero+r]},o.prototype.lastIndexOfSignature=function(r){for(var i=r.charCodeAt(0),n=r.charCodeAt(1),t=r.charCodeAt(2),s=r.charCodeAt(3),e=this.length-4;0<=e;--e)if(this.data[e]===i&&this.data[e+1]===n&&this.data[e+2]===t&&this.data[e+3]===s)return e-this.zero;return-1},o.prototype.readAndCheckSignature=function(r){var i=r.charCodeAt(0),n=r.charCodeAt(1),t=r.charCodeAt(2),s=r.charCodeAt(3),e=this.readData(4);return i===e[0]&&n===e[1]&&t===e[2]&&s===e[3]},o.prototype.readData=function(r){if(this.checkOffset(r),r===0)return[];var i=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,i},m.exports=o},{"../utils":32,"./DataReader":18}],18:[function(b,m,p){"use strict";var c=b("../utils");function o(r){this.data=r,this.length=r.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(i){this.checkIndex(this.index+i)},checkIndex:function(i){if(this.length<this.zero+i||i<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+i+"). Corrupted zip ?")},setIndex:function(i){this.checkIndex(i),this.index=i},skip:function(i){this.setIndex(this.index+i)},byteAt:function(i){},readInt:function(i){var n,t=0;for(this.checkOffset(i),n=this.index+i-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=i,t},readString:function(i){return c.transformTo("string",this.readData(i))},readData:function(i){},lastIndexOfSignature:function(i){},readAndCheckSignature:function(i){},readDate:function(){var i=this.readInt(4);return new Date(Date.UTC(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1))}},m.exports=o},{"../utils":32}],19:[function(b,m,p){"use strict";var c=b("./Uint8ArrayReader");function o(r){c.call(this,r)}b("../utils").inherits(o,c),o.prototype.readData=function(r){this.checkOffset(r);var i=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,i},m.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(b,m,p){"use strict";var c=b("./DataReader");function o(r){c.call(this,r)}b("../utils").inherits(o,c),o.prototype.byteAt=function(r){return this.data.charCodeAt(this.zero+r)},o.prototype.lastIndexOfSignature=function(r){return this.data.lastIndexOf(r)-this.zero},o.prototype.readAndCheckSignature=function(r){return r===this.readData(4)},o.prototype.readData=function(r){this.checkOffset(r);var i=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,i},m.exports=o},{"../utils":32,"./DataReader":18}],21:[function(b,m,p){"use strict";var c=b("./ArrayReader");function o(r){c.call(this,r)}b("../utils").inherits(o,c),o.prototype.readData=function(r){if(this.checkOffset(r),r===0)return new Uint8Array(0);var i=this.data.subarray(this.zero+this.index,this.zero+this.index+r);return this.index+=r,i},m.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(b,m,p){"use strict";var c=b("../utils"),o=b("../support"),r=b("./ArrayReader"),i=b("./StringReader"),n=b("./NodeBufferReader"),t=b("./Uint8ArrayReader");m.exports=function(s){var e=c.getTypeOf(s);return c.checkSupport(e),e!=="string"||o.uint8array?e==="nodebuffer"?new n(s):o.uint8array?new t(c.transformTo("uint8array",s)):new r(c.transformTo("array",s)):new i(s)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(b,m,p){"use strict";p.LOCAL_FILE_HEADER="PK",p.CENTRAL_FILE_HEADER="PK",p.CENTRAL_DIRECTORY_END="PK",p.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",p.ZIP64_CENTRAL_DIRECTORY_END="PK",p.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(b,m,p){"use strict";var c=b("./GenericWorker"),o=b("../utils");function r(i){c.call(this,"ConvertWorker to "+i),this.destType=i}o.inherits(r,c),r.prototype.processChunk=function(i){this.push({data:o.transformTo(this.destType,i.data),meta:i.meta})},m.exports=r},{"../utils":32,"./GenericWorker":28}],25:[function(b,m,p){"use strict";var c=b("./GenericWorker"),o=b("../crc32");function r(){c.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}b("../utils").inherits(r,c),r.prototype.processChunk=function(i){this.streamInfo.crc32=o(i.data,this.streamInfo.crc32||0),this.push(i)},m.exports=r},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(b,m,p){"use strict";var c=b("../utils"),o=b("./GenericWorker");function r(i){o.call(this,"DataLengthProbe for "+i),this.propName=i,this.withStreamInfo(i,0)}c.inherits(r,o),r.prototype.processChunk=function(i){if(i){var n=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=n+i.data.length}o.prototype.processChunk.call(this,i)},m.exports=r},{"../utils":32,"./GenericWorker":28}],27:[function(b,m,p){"use strict";var c=b("../utils"),o=b("./GenericWorker");function r(i){o.call(this,"DataWorker");var n=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,i.then(function(t){n.dataIsReady=!0,n.data=t,n.max=t&&t.length||0,n.type=c.getTypeOf(t),n.isPaused||n._tickAndRepeat()},function(t){n.error(t)})}c.inherits(r,o),r.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,c.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(c.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var i=null,n=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":i=this.data.substring(this.index,n);break;case"uint8array":i=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":i=this.data.slice(this.index,n)}return this.index=n,this.push({data:i,meta:{percent:this.max?this.index/this.max*100:0}})},m.exports=r},{"../utils":32,"./GenericWorker":28}],28:[function(b,m,p){"use strict";function c(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}c.prototype={push:function(r){this.emit("data",r)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(r){this.emit("error",r)}return!0},error:function(r){return!this.isFinished&&(this.isPaused?this.generatedError=r:(this.isFinished=!0,this.emit("error",r),this.previous&&this.previous.error(r),this.cleanUp()),!0)},on:function(r,i){return this._listeners[r].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(r,i){if(this._listeners[r])for(var n=0;n<this._listeners[r].length;n++)this._listeners[r][n].call(this,i)},pipe:function(r){return r.registerPrevious(this)},registerPrevious:function(r){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=r.streamInfo,this.mergeStreamInfo(),this.previous=r;var i=this;return r.on("data",function(n){i.processChunk(n)}),r.on("end",function(){i.end()}),r.on("error",function(n){i.error(n)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var r=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),r=!0),this.previous&&this.previous.resume(),!r},flush:function(){},processChunk:function(r){this.push(r)},withStreamInfo:function(r,i){return this.extraStreamInfo[r]=i,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var r in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(r)&&(this.streamInfo[r]=this.extraStreamInfo[r])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var r="Worker "+this.name;return this.previous?this.previous+" -> "+r:r}},m.exports=c},{}],29:[function(b,m,p){"use strict";var c=b("../utils"),o=b("./ConvertWorker"),r=b("./GenericWorker"),i=b("../base64"),n=b("../support"),t=b("../external"),s=null;if(n.nodestream)try{s=b("../nodejs/NodejsStreamOutputAdapter")}catch(l){}function e(l,u){return new t.Promise(function(h,f){var g=[],v=l._internalType,y=l._outputType,E=l._mimeType;l.on("data",function(T,w){g.push(T),u&&u(w)}).on("error",function(T){g=[],f(T)}).on("end",function(){try{var T=function(w,S,I){switch(w){case"blob":return c.newBlob(c.transformTo("arraybuffer",S),I);case"base64":return i.encode(S);default:return c.transformTo(w,S)}}(y,function(w,S){var I,L=0,O=null,N=0;for(I=0;I<S.length;I++)N+=S[I].length;switch(w){case"string":return S.join("");case"array":return Array.prototype.concat.apply([],S);case"uint8array":for(O=new Uint8Array(N),I=0;I<S.length;I++)O.set(S[I],L),L+=S[I].length;return O;case"nodebuffer":return _.concat(S);default:throw new Error("concat : unsupported type '"+w+"'")}}(v,g),E);h(T)}catch(w){f(w)}g=[]}).resume()})}function a(l,u,h){var f=u;switch(u){case"blob":case"arraybuffer":f="uint8array";break;case"base64":f="string"}try{this._internalType=f,this._outputType=u,this._mimeType=h,c.checkSupport(f),this._worker=l.pipe(new o(f)),l.lock()}catch(g){this._worker=new r("error"),this._worker.error(g)}}a.prototype={accumulate:function(u){return e(this,u)},on:function(u,h){var f=this;return u==="data"?this._worker.on(u,function(g){h.call(f,g.data,g.meta)}):this._worker.on(u,function(){c.delay(h,arguments,f)}),this},resume:function(){return c.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(u){if(c.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new s(this,{objectMode:this._outputType!=="nodebuffer"},u)}},m.exports=a},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(b,m,p){"use strict";if(p.base64=!0,p.array=!0,p.string=!0,p.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",p.nodebuffer=typeof _!="undefined",p.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")p.blob=!1;else{var c=new ArrayBuffer(0);try{p.blob=new Blob([c],{type:"application/zip"}).size===0}catch(r){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(c),p.blob=o.getBlob("application/zip").size===0}catch(i){p.blob=!1}}}try{p.nodestream=!!b("readable-stream").Readable}catch(r){p.nodestream=!1}},{"readable-stream":16}],31:[function(b,m,p){"use strict";for(var c=b("./utils"),o=b("./support"),r=b("./nodejsUtils"),i=b("./stream/GenericWorker"),n=new Array(256),t=0;t<256;t++)n[t]=252<=t?6:248<=t?5:240<=t?4:224<=t?3:192<=t?2:1;n[254]=n[254]=1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function e(){i.call(this,"utf-8 encode")}p.utf8encode=function(a){return o.nodebuffer?r.newBufferFrom(a,"utf-8"):function(l){var u,h,f,g,v,y=l.length,E=0;for(g=0;g<y;g++)(64512&(h=l.charCodeAt(g)))==55296&&g+1<y&&(64512&(f=l.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),g++),E+=h<128?1:h<2048?2:h<65536?3:4;for(u=o.uint8array?new Uint8Array(E):new Array(E),g=v=0;v<E;g++)(64512&(h=l.charCodeAt(g)))==55296&&g+1<y&&(64512&(f=l.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),g++),h<128?u[v++]=h:(h<2048?u[v++]=192|h>>>6:(h<65536?u[v++]=224|h>>>12:(u[v++]=240|h>>>18,u[v++]=128|h>>>12&63),u[v++]=128|h>>>6&63),u[v++]=128|63&h);return u}(a)},p.utf8decode=function(a){return o.nodebuffer?c.transformTo("nodebuffer",a).toString("utf-8"):function(l){var u,h,f,g,v=l.length,y=new Array(2*v);for(u=h=0;u<v;)if((f=l[u++])<128)y[h++]=f;else if(4<(g=n[f]))y[h++]=65533,u+=g-1;else{for(f&=g===2?31:g===3?15:7;1<g&&u<v;)f=f<<6|63&l[u++],g--;1<g?y[h++]=65533:f<65536?y[h++]=f:(f-=65536,y[h++]=55296|f>>10&1023,y[h++]=56320|1023&f)}return y.length!==h&&(y.subarray?y=y.subarray(0,h):y.length=h),c.applyFromCharCode(y)}(a=c.transformTo(o.uint8array?"uint8array":"array",a))},c.inherits(s,i),s.prototype.processChunk=function(a){var l=c.transformTo(o.uint8array?"uint8array":"array",a.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var u=l;(l=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),l.set(u,this.leftOver.length)}else l=this.leftOver.concat(l);this.leftOver=null}var h=function(g,v){var y;for((v=v||g.length)>g.length&&(v=g.length),y=v-1;0<=y&&(192&g[y])==128;)y--;return y<0||y===0?v:y+n[g[y]]>v?y:v}(l),f=l;h!==l.length&&(o.uint8array?(f=l.subarray(0,h),this.leftOver=l.subarray(h,l.length)):(f=l.slice(0,h),this.leftOver=l.slice(h,l.length))),this.push({data:p.utf8decode(f),meta:a.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:p.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},p.Utf8DecodeWorker=s,c.inherits(e,i),e.prototype.processChunk=function(a){this.push({data:p.utf8encode(a.data),meta:a.meta})},p.Utf8EncodeWorker=e},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(b,m,p){"use strict";var c=b("./support"),o=b("./base64"),r=b("./nodejsUtils"),i=b("./external");function n(u){return u}function t(u,h){for(var f=0;f<u.length;++f)h[f]=255&u.charCodeAt(f);return h}b("setimmediate"),p.newBlob=function(u,h){p.checkSupport("blob");try{return new Blob([u],{type:h})}catch(g){try{var f=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return f.append(u),f.getBlob(h)}catch(v){throw new Error("Bug : can't construct the Blob.")}}};var s={stringifyByChunk:function(h,f,g){var v=[],y=0,E=h.length;if(E<=g)return String.fromCharCode.apply(null,h);for(;y<E;)f==="array"||f==="nodebuffer"?v.push(String.fromCharCode.apply(null,h.slice(y,Math.min(y+g,E)))):v.push(String.fromCharCode.apply(null,h.subarray(y,Math.min(y+g,E)))),y+=g;return v.join("")},stringifyByChar:function(h){for(var f="",g=0;g<h.length;g++)f+=String.fromCharCode(h[g]);return f},applyCanBeUsed:{uint8array:function(){try{return c.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(u){return!1}}(),nodebuffer:function(){try{return c.nodebuffer&&String.fromCharCode.apply(null,r.allocBuffer(1)).length===1}catch(u){return!1}}()}};function e(u){var h=65536,f=p.getTypeOf(u),g=!0;if(f==="uint8array"?g=s.applyCanBeUsed.uint8array:f==="nodebuffer"&&(g=s.applyCanBeUsed.nodebuffer),g)for(;1<h;)try{return s.stringifyByChunk(u,f,h)}catch(v){h=Math.floor(h/2)}return s.stringifyByChar(u)}function a(u,h){for(var f=0;f<u.length;f++)h[f]=u[f];return h}p.applyFromCharCode=e;var l={};l.string={string:n,array:function(h){return t(h,new Array(h.length))},arraybuffer:function(h){return l.string.uint8array(h).buffer},uint8array:function(h){return t(h,new Uint8Array(h.length))},nodebuffer:function(h){return t(h,r.allocBuffer(h.length))}},l.array={string:e,array:n,arraybuffer:function(h){return new Uint8Array(h).buffer},uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return r.newBufferFrom(h)}},l.arraybuffer={string:function(h){return e(new Uint8Array(h))},array:function(h){return a(new Uint8Array(h),new Array(h.byteLength))},arraybuffer:n,uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return r.newBufferFrom(new Uint8Array(h))}},l.uint8array={string:e,array:function(h){return a(h,new Array(h.length))},arraybuffer:function(h){return h.buffer},uint8array:n,nodebuffer:function(h){return r.newBufferFrom(h)}},l.nodebuffer={string:e,array:function(h){return a(h,new Array(h.length))},arraybuffer:function(h){return l.nodebuffer.uint8array(h).buffer},uint8array:function(h){return a(h,new Uint8Array(h.length))},nodebuffer:n},p.transformTo=function(u,h){if(h=h||"",!u)return h;p.checkSupport(u);var f=p.getTypeOf(h);return l[f][u](h)},p.resolve=function(u){for(var h=u.split("/"),f=[],g=0;g<h.length;g++){var v=h[g];v==="."||v===""&&g!==0&&g!==h.length-1||(v===".."?f.pop():f.push(v))}return f.join("/")},p.getTypeOf=function(u){return typeof u=="string"?"string":Object.prototype.toString.call(u)==="[object Array]"?"array":c.nodebuffer&&r.isBuffer(u)?"nodebuffer":c.uint8array&&u instanceof Uint8Array?"uint8array":c.arraybuffer&&u instanceof ArrayBuffer?"arraybuffer":void 0},p.checkSupport=function(u){if(!c[u.toLowerCase()])throw new Error(u+" is not supported by this platform")},p.MAX_VALUE_16BITS=65535,p.MAX_VALUE_32BITS=-1,p.pretty=function(u){var h,f,g="";for(f=0;f<(u||"").length;f++)g+="\\x"+((h=u.charCodeAt(f))<16?"0":"")+h.toString(16).toUpperCase();return g},p.delay=function(u,h,f){setImmediate(function(){u.apply(f||null,h||[])})},p.inherits=function(u,h){function f(){}f.prototype=h.prototype,u.prototype=new f},p.extend=function(){var u,h,f={};for(u=0;u<arguments.length;u++)for(h in arguments[u])arguments[u].hasOwnProperty(h)&&f[h]===void 0&&(f[h]=arguments[u][h]);return f},p.prepareContent=function(u,h,f,g,v){return i.Promise.resolve(h).then(function(y){return c.blob&&(y instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(y))!==-1)&&typeof FileReader!="undefined"?new i.Promise(function(E,T){var w=new FileReader;w.onload=function(S){E(S.target.result)},w.onerror=function(S){T(S.target.error)},w.readAsArrayBuffer(y)}):y}).then(function(y){var E=p.getTypeOf(y);return E?(E==="arraybuffer"?y=p.transformTo("uint8array",y):E==="string"&&(v?y=o.decode(y):f&&g!==!0&&(y=function(T){return t(T,c.uint8array?new Uint8Array(T.length):new Array(T.length))}(y))),y):i.Promise.reject(new Error("Can't read the data of '"+u+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(b,m,p){"use strict";var c=b("./reader/readerFor"),o=b("./utils"),r=b("./signature"),i=b("./zipEntry"),n=(b("./utf8"),b("./support"));function t(s){this.files=[],this.loadOptions=s}t.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var a=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(a)+", expected "+o.pretty(e)+")")}},isSignature:function(e,a){var l=this.reader.index;this.reader.setIndex(e);var u=this.reader.readString(4)===a;return this.reader.setIndex(l),u},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),a=n.uint8array?"uint8array":"array",l=o.transformTo(a,e);this.zipComment=this.loadOptions.decodeFileName(l)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,a,l,u=this.zip64EndOfCentralSize-44;0<u;)e=this.reader.readInt(2),a=this.reader.readInt(4),l=this.reader.readData(a),this.zip64ExtensibleData[e]={id:e,length:a,value:l}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,a;for(e=0;e<this.files.length;e++)a=this.files[e],this.reader.setIndex(a.localHeaderOffset),this.checkSignature(r.LOCAL_FILE_HEADER),a.readLocalPart(this.reader),a.handleUTF8(),a.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(r.CENTRAL_FILE_HEADER);)(e=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(r.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,r.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var a=e;if(this.checkSignature(r.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(r.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(r.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,r.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(r.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(r.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var l=this.centralDirOffset+this.centralDirSize;this.zip64&&(l+=20,l+=12+this.zip64EndOfCentralSize);var u=a-l;if(0<u)this.isSignature(a,r.CENTRAL_FILE_HEADER)||(this.reader.zero=u);else if(u<0)throw new Error("Corrupted zip: missing "+Math.abs(u)+" bytes.")},prepareReader:function(e){this.reader=c(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},m.exports=t},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(b,m,p){"use strict";var c=b("./reader/readerFor"),o=b("./utils"),r=b("./compressedObject"),i=b("./crc32"),n=b("./utf8"),t=b("./compressions"),s=b("./support");function e(a,l){this.options=a,this.loadOptions=l}e.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(l){var u,h;if(l.skip(22),this.fileNameLength=l.readInt(2),h=l.readInt(2),this.fileName=l.readData(this.fileNameLength),l.skip(h),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((u=function(f){for(var g in t)if(t.hasOwnProperty(g)&&t[g].magic===f)return t[g];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new r(this.compressedSize,this.uncompressedSize,this.crc32,u,l.readData(this.compressedSize))},readCentralPart:function(l){this.versionMadeBy=l.readInt(2),l.skip(2),this.bitFlag=l.readInt(2),this.compressionMethod=l.readString(2),this.date=l.readDate(),this.crc32=l.readInt(4),this.compressedSize=l.readInt(4),this.uncompressedSize=l.readInt(4);var u=l.readInt(2);if(this.extraFieldsLength=l.readInt(2),this.fileCommentLength=l.readInt(2),this.diskNumberStart=l.readInt(2),this.internalFileAttributes=l.readInt(2),this.externalFileAttributes=l.readInt(4),this.localHeaderOffset=l.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");l.skip(u),this.readExtraFields(l),this.parseZIP64ExtraField(l),this.fileComment=l.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var l=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),l==0&&(this.dosPermissions=63&this.externalFileAttributes),l==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(l){if(this.extraFields[1]){var u=c(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=u.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=u.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=u.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=u.readInt(4))}},readExtraFields:function(l){var u,h,f,g=l.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});l.index+4<g;)u=l.readInt(2),h=l.readInt(2),f=l.readData(h),this.extraFields[u]={id:u,length:h,value:f};l.setIndex(g)},handleUTF8:function(){var l=s.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=n.utf8decode(this.fileName),this.fileCommentStr=n.utf8decode(this.fileComment);else{var u=this.findExtraFieldUnicodePath();if(u!==null)this.fileNameStr=u;else{var h=o.transformTo(l,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var f=this.findExtraFieldUnicodeComment();if(f!==null)this.fileCommentStr=f;else{var g=o.transformTo(l,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(g)}}},findExtraFieldUnicodePath:function(){var l=this.extraFields[28789];if(l){var u=c(l.value);return u.readInt(1)!==1||i(this.fileName)!==u.readInt(4)?null:n.utf8decode(u.readData(l.length-5))}return null},findExtraFieldUnicodeComment:function(){var l=this.extraFields[25461];if(l){var u=c(l.value);return u.readInt(1)!==1||i(this.fileComment)!==u.readInt(4)?null:n.utf8decode(u.readData(l.length-5))}return null}},m.exports=e},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(b,m,p){"use strict";function c(l,u,h){this.name=l,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=u,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var o=b("./stream/StreamHelper"),r=b("./stream/DataWorker"),i=b("./utf8"),n=b("./compressedObject"),t=b("./stream/GenericWorker");c.prototype={internalStream:function(u){var h=null,f="string";try{if(!u)throw new Error("No output type specified.");var g=(f=u.toLowerCase())==="string"||f==="text";f!=="binarystring"&&f!=="text"||(f="string"),h=this._decompressWorker();var v=!this._dataBinary;v&&!g&&(h=h.pipe(new i.Utf8EncodeWorker)),!v&&g&&(h=h.pipe(new i.Utf8DecodeWorker))}catch(y){(h=new t("error")).error(y)}return new o(h,f,"")},async:function(u,h){return this.internalStream(u).accumulate(h)},nodeStream:function(u,h){return this.internalStream(u||"nodebuffer").toNodejsStream(h)},_compressWorker:function(u,h){if(this._data instanceof n&&this._data.compression.magic===u.magic)return this._data.getCompressedWorker();var f=this._decompressWorker();return this._dataBinary||(f=f.pipe(new i.Utf8EncodeWorker)),n.createWorkerFrom(f,u,h)},_decompressWorker:function(){return this._data instanceof n?this._data.getContentWorker():this._data instanceof t?this._data:new r(this._data)}};for(var s=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],e=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},a=0;a<s.length;a++)c.prototype[s[a]]=e;m.exports=c},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(b,m,p){(function(c){"use strict";var o,r,i=c.MutationObserver||c.WebKitMutationObserver;if(i){var n=0,t=new i(l),s=c.document.createTextNode("");t.observe(s,{characterData:!0}),o=function(){s.data=n=++n%2}}else if(c.setImmediate||c.MessageChannel===void 0)o="document"in c&&"onreadystatechange"in c.document.createElement("script")?function(){var u=c.document.createElement("script");u.onreadystatechange=function(){l(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},c.document.documentElement.appendChild(u)}:function(){setTimeout(l,0)};else{var e=new c.MessageChannel;e.port1.onmessage=l,o=function(){e.port2.postMessage(0)}}var a=[];function l(){var u,h;r=!0;for(var f=a.length;f;){for(h=a,a=[],u=-1;++u<f;)h[u]();f=a.length}r=!1}m.exports=function(u){a.push(u)!==1||r||o()}}).call(this,typeof x!="undefined"?x:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(b,m,p){"use strict";var c=b("immediate");function o(){}var r={},i=["REJECTED"],n=["FULFILLED"],t=["PENDING"];function s(f){if(typeof f!="function")throw new TypeError("resolver must be a function");this.state=t,this.queue=[],this.outcome=void 0,f!==o&&u(this,f)}function e(f,g,v){this.promise=f,typeof g=="function"&&(this.onFulfilled=g,this.callFulfilled=this.otherCallFulfilled),typeof v=="function"&&(this.onRejected=v,this.callRejected=this.otherCallRejected)}function a(f,g,v){c(function(){var y;try{y=g(v)}catch(E){return r.reject(f,E)}y===f?r.reject(f,new TypeError("Cannot resolve promise with itself")):r.resolve(f,y)})}function l(f){var g=f&&f.then;if(f&&(typeof f=="object"||typeof f=="function")&&typeof g=="function")return function(){g.apply(f,arguments)}}function u(f,g){var v=!1;function y(w){v||(v=!0,r.reject(f,w))}function E(w){v||(v=!0,r.resolve(f,w))}var T=h(function(){g(E,y)});T.status==="error"&&y(T.value)}function h(f,g){var v={};try{v.value=f(g),v.status="success"}catch(y){v.status="error",v.value=y}return v}(m.exports=s).prototype.finally=function(f){if(typeof f!="function")return this;var g=this.constructor;return this.then(function(v){return g.resolve(f()).then(function(){return v})},function(v){return g.resolve(f()).then(function(){throw v})})},s.prototype.catch=function(f){return this.then(null,f)},s.prototype.then=function(f,g){if(typeof f!="function"&&this.state===n||typeof g!="function"&&this.state===i)return this;var v=new this.constructor(o);return this.state!==t?a(v,this.state===n?f:g,this.outcome):this.queue.push(new e(v,f,g)),v},e.prototype.callFulfilled=function(f){r.resolve(this.promise,f)},e.prototype.otherCallFulfilled=function(f){a(this.promise,this.onFulfilled,f)},e.prototype.callRejected=function(f){r.reject(this.promise,f)},e.prototype.otherCallRejected=function(f){a(this.promise,this.onRejected,f)},r.resolve=function(f,g){var v=h(l,g);if(v.status==="error")return r.reject(f,v.value);var y=v.value;if(y)u(f,y);else{f.state=n,f.outcome=g;for(var E=-1,T=f.queue.length;++E<T;)f.queue[E].callFulfilled(g)}return f},r.reject=function(f,g){f.state=i,f.outcome=g;for(var v=-1,y=f.queue.length;++v<y;)f.queue[v].callRejected(g);return f},s.resolve=function(f){return f instanceof this?f:r.resolve(new this(o),f)},s.reject=function(f){var g=new this(o);return r.reject(g,f)},s.all=function(f){var g=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=f.length,y=!1;if(!v)return this.resolve([]);for(var E=new Array(v),T=0,w=-1,S=new this(o);++w<v;)I(f[w],w);return S;function I(L,O){g.resolve(L).then(function(N){E[O]=N,++T!==v||y||(y=!0,r.resolve(S,E))},function(N){y||(y=!0,r.reject(S,N))})}},s.race=function(f){var g=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=f.length,y=!1;if(!v)return this.resolve([]);for(var E=-1,T=new this(o);++E<v;)w=f[E],g.resolve(w).then(function(S){y||(y=!0,r.resolve(T,S))},function(S){y||(y=!0,r.reject(T,S))});var w;return T}},{immediate:36}],38:[function(b,m,p){"use strict";var c={};(0,b("./lib/utils/common").assign)(c,b("./lib/deflate"),b("./lib/inflate"),b("./lib/zlib/constants")),m.exports=c},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(b,m,p){"use strict";var c=b("./zlib/deflate"),o=b("./utils/common"),r=b("./utils/strings"),i=b("./zlib/messages"),n=b("./zlib/zstream"),t=Object.prototype.toString,s=0,e=-1,a=0,l=8;function u(f){if(!(this instanceof u))return new u(f);this.options=o.assign({level:e,method:l,chunkSize:16384,windowBits:15,memLevel:8,strategy:a,to:""},f||{});var g=this.options;g.raw&&0<g.windowBits?g.windowBits=-g.windowBits:g.gzip&&0<g.windowBits&&g.windowBits<16&&(g.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new n,this.strm.avail_out=0;var v=c.deflateInit2(this.strm,g.level,g.method,g.windowBits,g.memLevel,g.strategy);if(v!==s)throw new Error(i[v]);if(g.header&&c.deflateSetHeader(this.strm,g.header),g.dictionary){var y;if(y=typeof g.dictionary=="string"?r.string2buf(g.dictionary):t.call(g.dictionary)==="[object ArrayBuffer]"?new Uint8Array(g.dictionary):g.dictionary,(v=c.deflateSetDictionary(this.strm,y))!==s)throw new Error(i[v]);this._dict_set=!0}}function h(f,g){var v=new u(g);if(v.push(f,!0),v.err)throw v.msg||i[v.err];return v.result}u.prototype.push=function(f,g){var v,y,E=this.strm,T=this.options.chunkSize;if(this.ended)return!1;y=g===~~g?g:g===!0?4:0,typeof f=="string"?E.input=r.string2buf(f):t.call(f)==="[object ArrayBuffer]"?E.input=new Uint8Array(f):E.input=f,E.next_in=0,E.avail_in=E.input.length;do{if(E.avail_out===0&&(E.output=new o.Buf8(T),E.next_out=0,E.avail_out=T),(v=c.deflate(E,y))!==1&&v!==s)return this.onEnd(v),!(this.ended=!0);E.avail_out!==0&&(E.avail_in!==0||y!==4&&y!==2)||(this.options.to==="string"?this.onData(r.buf2binstring(o.shrinkBuf(E.output,E.next_out))):this.onData(o.shrinkBuf(E.output,E.next_out)))}while((0<E.avail_in||E.avail_out===0)&&v!==1);return y===4?(v=c.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===s):y!==2||(this.onEnd(s),!(E.avail_out=0))},u.prototype.onData=function(f){this.chunks.push(f)},u.prototype.onEnd=function(f){f===s&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg},p.Deflate=u,p.deflate=h,p.deflateRaw=function(f,g){return(g=g||{}).raw=!0,h(f,g)},p.gzip=function(f,g){return(g=g||{}).gzip=!0,h(f,g)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(b,m,p){"use strict";var c=b("./zlib/inflate"),o=b("./utils/common"),r=b("./utils/strings"),i=b("./zlib/constants"),n=b("./zlib/messages"),t=b("./zlib/zstream"),s=b("./zlib/gzheader"),e=Object.prototype.toString;function a(u){if(!(this instanceof a))return new a(u);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},u||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||u&&u.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&(15&h.windowBits)==0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new t,this.strm.avail_out=0;var f=c.inflateInit2(this.strm,h.windowBits);if(f!==i.Z_OK)throw new Error(n[f]);this.header=new s,c.inflateGetHeader(this.strm,this.header)}function l(u,h){var f=new a(h);if(f.push(u,!0),f.err)throw f.msg||n[f.err];return f.result}a.prototype.push=function(u,h){var f,g,v,y,E,T,w=this.strm,S=this.options.chunkSize,I=this.options.dictionary,L=!1;if(this.ended)return!1;g=h===~~h?h:h===!0?i.Z_FINISH:i.Z_NO_FLUSH,typeof u=="string"?w.input=r.binstring2buf(u):e.call(u)==="[object ArrayBuffer]"?w.input=new Uint8Array(u):w.input=u,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new o.Buf8(S),w.next_out=0,w.avail_out=S),(f=c.inflate(w,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&I&&(T=typeof I=="string"?r.string2buf(I):e.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,f=c.inflateSetDictionary(this.strm,T)),f===i.Z_BUF_ERROR&&L===!0&&(f=i.Z_OK,L=!1),f!==i.Z_STREAM_END&&f!==i.Z_OK)return this.onEnd(f),!(this.ended=!0);w.next_out&&(w.avail_out!==0&&f!==i.Z_STREAM_END&&(w.avail_in!==0||g!==i.Z_FINISH&&g!==i.Z_SYNC_FLUSH)||(this.options.to==="string"?(v=r.utf8border(w.output,w.next_out),y=w.next_out-v,E=r.buf2string(w.output,v),w.next_out=y,w.avail_out=S-y,y&&o.arraySet(w.output,w.output,v,y,0),this.onData(E)):this.onData(o.shrinkBuf(w.output,w.next_out)))),w.avail_in===0&&w.avail_out===0&&(L=!0)}while((0<w.avail_in||w.avail_out===0)&&f!==i.Z_STREAM_END);return f===i.Z_STREAM_END&&(g=i.Z_FINISH),g===i.Z_FINISH?(f=c.inflateEnd(this.strm),this.onEnd(f),this.ended=!0,f===i.Z_OK):g!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(w.avail_out=0))},a.prototype.onData=function(u){this.chunks.push(u)},a.prototype.onEnd=function(u){u===i.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},p.Inflate=a,p.inflate=l,p.inflateRaw=function(u,h){return(h=h||{}).raw=!0,l(u,h)},p.ungzip=l},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(b,m,p){"use strict";var c=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";p.assign=function(i){for(var n=Array.prototype.slice.call(arguments,1);n.length;){var t=n.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(var s in t)t.hasOwnProperty(s)&&(i[s]=t[s])}}return i},p.shrinkBuf=function(i,n){return i.length===n?i:i.subarray?i.subarray(0,n):(i.length=n,i)};var o={arraySet:function(n,t,s,e,a){if(t.subarray&&n.subarray)n.set(t.subarray(s,s+e),a);else for(var l=0;l<e;l++)n[a+l]=t[s+l]},flattenChunks:function(n){var t,s,e,a,l,u;for(t=e=0,s=n.length;t<s;t++)e+=n[t].length;for(u=new Uint8Array(e),t=a=0,s=n.length;t<s;t++)l=n[t],u.set(l,a),a+=l.length;return u}},r={arraySet:function(n,t,s,e,a){for(var l=0;l<e;l++)n[a+l]=t[s+l]},flattenChunks:function(n){return[].concat.apply([],n)}};p.setTyped=function(i){i?(p.Buf8=Uint8Array,p.Buf16=Uint16Array,p.Buf32=Int32Array,p.assign(p,o)):(p.Buf8=Array,p.Buf16=Array,p.Buf32=Array,p.assign(p,r))},p.setTyped(c)},{}],42:[function(b,m,p){"use strict";var c=b("./common"),o=!0,r=!0;try{String.fromCharCode.apply(null,[0])}catch(s){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(s){r=!1}for(var i=new c.Buf8(256),n=0;n<256;n++)i[n]=252<=n?6:248<=n?5:240<=n?4:224<=n?3:192<=n?2:1;function t(s,e){if(e<65537&&(s.subarray&&r||!s.subarray&&o))return String.fromCharCode.apply(null,c.shrinkBuf(s,e));for(var a="",l=0;l<e;l++)a+=String.fromCharCode(s[l]);return a}i[254]=i[254]=1,p.string2buf=function(s){var e,a,l,u,h,f=s.length,g=0;for(u=0;u<f;u++)(64512&(a=s.charCodeAt(u)))==55296&&u+1<f&&(64512&(l=s.charCodeAt(u+1)))==56320&&(a=65536+(a-55296<<10)+(l-56320),u++),g+=a<128?1:a<2048?2:a<65536?3:4;for(e=new c.Buf8(g),u=h=0;h<g;u++)(64512&(a=s.charCodeAt(u)))==55296&&u+1<f&&(64512&(l=s.charCodeAt(u+1)))==56320&&(a=65536+(a-55296<<10)+(l-56320),u++),a<128?e[h++]=a:(a<2048?e[h++]=192|a>>>6:(a<65536?e[h++]=224|a>>>12:(e[h++]=240|a>>>18,e[h++]=128|a>>>12&63),e[h++]=128|a>>>6&63),e[h++]=128|63&a);return e},p.buf2binstring=function(s){return t(s,s.length)},p.binstring2buf=function(s){for(var e=new c.Buf8(s.length),a=0,l=e.length;a<l;a++)e[a]=s.charCodeAt(a);return e},p.buf2string=function(s,e){var a,l,u,h,f=e||s.length,g=new Array(2*f);for(a=l=0;a<f;)if((u=s[a++])<128)g[l++]=u;else if(4<(h=i[u]))g[l++]=65533,a+=h-1;else{for(u&=h===2?31:h===3?15:7;1<h&&a<f;)u=u<<6|63&s[a++],h--;1<h?g[l++]=65533:u<65536?g[l++]=u:(u-=65536,g[l++]=55296|u>>10&1023,g[l++]=56320|1023&u)}return t(g,l)},p.utf8border=function(s,e){var a;for((e=e||s.length)>s.length&&(e=s.length),a=e-1;0<=a&&(192&s[a])==128;)a--;return a<0||a===0?e:a+i[s[a]]>e?a:e}},{"./common":41}],43:[function(b,m,p){"use strict";m.exports=function(c,o,r,i){for(var n=65535&c|0,t=c>>>16&65535|0,s=0;r!==0;){for(r-=s=2e3<r?2e3:r;t=t+(n=n+o[i++]|0)|0,--s;);n%=65521,t%=65521}return n|t<<16|0}},{}],44:[function(b,m,p){"use strict";m.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(b,m,p){"use strict";var c=function(){for(var o,r=[],i=0;i<256;i++){o=i;for(var n=0;n<8;n++)o=1&o?3988292384^o>>>1:o>>>1;r[i]=o}return r}();m.exports=function(o,r,i,n){var t=c,s=n+i;o^=-1;for(var e=n;e<s;e++)o=o>>>8^t[255&(o^r[e])];return-1^o}},{}],46:[function(b,m,p){"use strict";var c,o=b("../utils/common"),r=b("./trees"),i=b("./adler32"),n=b("./crc32"),t=b("./messages"),s=0,e=4,a=0,l=-2,u=-1,h=4,f=2,g=8,v=9,y=286,E=30,T=19,w=2*y+1,S=15,I=3,L=258,O=L+I+1,N=42,R=113,D=1,B=2,M=3,U=4;function F($,ze){return $.msg=t[ze],ze}function j($){return($<<1)-(4<$?9:0)}function W($){for(var ze=$.length;0<=--ze;)$[ze]=0}function V($){var ze=$.state,re=ze.pending;re>$.avail_out&&(re=$.avail_out),re!==0&&(o.arraySet($.output,ze.pending_buf,ze.pending_out,re,$.next_out),$.next_out+=re,ze.pending_out+=re,$.total_out+=re,$.avail_out-=re,ze.pending-=re,ze.pending===0&&(ze.pending_out=0))}function z($,ze){r._tr_flush_block($,0<=$.block_start?$.block_start:-1,$.strstart-$.block_start,ze),$.block_start=$.strstart,V($.strm)}function Y($,ze){$.pending_buf[$.pending++]=ze}function J($,ze){$.pending_buf[$.pending++]=ze>>>8&255,$.pending_buf[$.pending++]=255&ze}function ie($,ze){var re,X,G=$.max_chain_length,Q=$.strstart,ve=$.prev_length,de=$.nice_match,Ce=$.strstart>$.w_size-O?$.strstart-($.w_size-O):0,we=$.window,le=$.w_mask,fe=$.prev,xe=$.strstart+L,We=we[Q+ve-1],nt=we[Q+ve];$.prev_length>=$.good_match&&(G>>=2),de>$.lookahead&&(de=$.lookahead);do if(we[(re=ze)+ve]===nt&&we[re+ve-1]===We&&we[re]===we[Q]&&we[++re]===we[Q+1]){Q+=2,re++;do;while(we[++Q]===we[++re]&&we[++Q]===we[++re]&&we[++Q]===we[++re]&&we[++Q]===we[++re]&&we[++Q]===we[++re]&&we[++Q]===we[++re]&&we[++Q]===we[++re]&&we[++Q]===we[++re]&&Q<xe);if(X=L-(xe-Q),Q=xe-L,ve<X){if($.match_start=ze,de<=(ve=X))break;We=we[Q+ve-1],nt=we[Q+ve]}}while((ze=fe[ze&le])>Ce&&--G!=0);return ve<=$.lookahead?ve:$.lookahead}function Z($){var ze,re,X,G,Q,ve,de,Ce,we,le,fe=$.w_size;do{if(G=$.window_size-$.lookahead-$.strstart,$.strstart>=fe+(fe-O)){for(o.arraySet($.window,$.window,fe,fe,0),$.match_start-=fe,$.strstart-=fe,$.block_start-=fe,ze=re=$.hash_size;X=$.head[--ze],$.head[ze]=fe<=X?X-fe:0,--re;);for(ze=re=fe;X=$.prev[--ze],$.prev[ze]=fe<=X?X-fe:0,--re;);G+=fe}if($.strm.avail_in===0)break;if(ve=$.strm,de=$.window,Ce=$.strstart+$.lookahead,we=G,le=void 0,le=ve.avail_in,we<le&&(le=we),re=le===0?0:(ve.avail_in-=le,o.arraySet(de,ve.input,ve.next_in,le,Ce),ve.state.wrap===1?ve.adler=i(ve.adler,de,le,Ce):ve.state.wrap===2&&(ve.adler=n(ve.adler,de,le,Ce)),ve.next_in+=le,ve.total_in+=le,le),$.lookahead+=re,$.lookahead+$.insert>=I)for(Q=$.strstart-$.insert,$.ins_h=$.window[Q],$.ins_h=($.ins_h<<$.hash_shift^$.window[Q+1])&$.hash_mask;$.insert&&($.ins_h=($.ins_h<<$.hash_shift^$.window[Q+I-1])&$.hash_mask,$.prev[Q&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=Q,Q++,$.insert--,!($.lookahead+$.insert<I)););}while($.lookahead<O&&$.strm.avail_in!==0)}function oe($,ze){for(var re,X;;){if($.lookahead<O){if(Z($),$.lookahead<O&&ze===s)return D;if($.lookahead===0)break}if(re=0,$.lookahead>=I&&($.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+I-1])&$.hash_mask,re=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart),re!==0&&$.strstart-re<=$.w_size-O&&($.match_length=ie($,re)),$.match_length>=I)if(X=r._tr_tally($,$.strstart-$.match_start,$.match_length-I),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=I){for($.match_length--;$.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+I-1])&$.hash_mask,re=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart,--$.match_length!=0;);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+1])&$.hash_mask;else X=r._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(X&&(z($,!1),$.strm.avail_out===0))return D}return $.insert=$.strstart<I-1?$.strstart:I-1,ze===e?(z($,!0),$.strm.avail_out===0?M:U):$.last_lit&&(z($,!1),$.strm.avail_out===0)?D:B}function ge($,ze){for(var re,X,G;;){if($.lookahead<O){if(Z($),$.lookahead<O&&ze===s)return D;if($.lookahead===0)break}if(re=0,$.lookahead>=I&&($.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+I-1])&$.hash_mask,re=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart),$.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=I-1,re!==0&&$.prev_length<$.max_lazy_match&&$.strstart-re<=$.w_size-O&&($.match_length=ie($,re),$.match_length<=5&&($.strategy===1||$.match_length===I&&4096<$.strstart-$.match_start)&&($.match_length=I-1)),$.prev_length>=I&&$.match_length<=$.prev_length){for(G=$.strstart+$.lookahead-I,X=r._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-I),$.lookahead-=$.prev_length-1,$.prev_length-=2;++$.strstart<=G&&($.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+I-1])&$.hash_mask,re=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart),--$.prev_length!=0;);if($.match_available=0,$.match_length=I-1,$.strstart++,X&&(z($,!1),$.strm.avail_out===0))return D}else if($.match_available){if((X=r._tr_tally($,0,$.window[$.strstart-1]))&&z($,!1),$.strstart++,$.lookahead--,$.strm.avail_out===0)return D}else $.match_available=1,$.strstart++,$.lookahead--}return $.match_available&&(X=r._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0),$.insert=$.strstart<I-1?$.strstart:I-1,ze===e?(z($,!0),$.strm.avail_out===0?M:U):$.last_lit&&(z($,!1),$.strm.avail_out===0)?D:B}function pe($,ze,re,X,G){this.good_length=$,this.max_lazy=ze,this.nice_length=re,this.max_chain=X,this.func=G}function De(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*w),this.dyn_dtree=new o.Buf16(2*(2*E+1)),this.bl_tree=new o.Buf16(2*(2*T+1)),W(this.dyn_ltree),W(this.dyn_dtree),W(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(S+1),this.heap=new o.Buf16(2*y+1),W(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*y+1),W(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 ce($){var ze;return $&&$.state?($.total_in=$.total_out=0,$.data_type=f,(ze=$.state).pending=0,ze.pending_out=0,ze.wrap<0&&(ze.wrap=-ze.wrap),ze.status=ze.wrap?N:R,$.adler=ze.wrap===2?0:1,ze.last_flush=s,r._tr_init(ze),a):F($,l)}function Oe($){var ze=ce($);return ze===a&&function(re){re.window_size=2*re.w_size,W(re.head),re.max_lazy_match=c[re.level].max_lazy,re.good_match=c[re.level].good_length,re.nice_match=c[re.level].nice_length,re.max_chain_length=c[re.level].max_chain,re.strstart=0,re.block_start=0,re.lookahead=0,re.insert=0,re.match_length=re.prev_length=I-1,re.match_available=0,re.ins_h=0}($.state),ze}function se($,ze,re,X,G,Q){if(!$)return l;var ve=1;if(ze===u&&(ze=6),X<0?(ve=0,X=-X):15<X&&(ve=2,X-=16),G<1||v<G||re!==g||X<8||15<X||ze<0||9<ze||Q<0||h<Q)return F($,l);X===8&&(X=9);var de=new De;return($.state=de).strm=$,de.wrap=ve,de.gzhead=null,de.w_bits=X,de.w_size=1<<de.w_bits,de.w_mask=de.w_size-1,de.hash_bits=G+7,de.hash_size=1<<de.hash_bits,de.hash_mask=de.hash_size-1,de.hash_shift=~~((de.hash_bits+I-1)/I),de.window=new o.Buf8(2*de.w_size),de.head=new o.Buf16(de.hash_size),de.prev=new o.Buf16(de.w_size),de.lit_bufsize=1<<G+6,de.pending_buf_size=4*de.lit_bufsize,de.pending_buf=new o.Buf8(de.pending_buf_size),de.d_buf=1*de.lit_bufsize,de.l_buf=3*de.lit_bufsize,de.level=ze,de.strategy=Q,de.method=re,Oe($)}c=[new pe(0,0,0,0,function($,ze){var re=65535;for(re>$.pending_buf_size-5&&(re=$.pending_buf_size-5);;){if($.lookahead<=1){if(Z($),$.lookahead===0&&ze===s)return D;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var X=$.block_start+re;if(($.strstart===0||$.strstart>=X)&&($.lookahead=$.strstart-X,$.strstart=X,z($,!1),$.strm.avail_out===0))return D;if($.strstart-$.block_start>=$.w_size-O&&(z($,!1),$.strm.avail_out===0))return D}return $.insert=0,ze===e?(z($,!0),$.strm.avail_out===0?M:U):($.strstart>$.block_start&&(z($,!1),$.strm.avail_out),D)}),new pe(4,4,8,4,oe),new pe(4,5,16,8,oe),new pe(4,6,32,32,oe),new pe(4,4,16,16,ge),new pe(8,16,32,32,ge),new pe(8,16,128,128,ge),new pe(8,32,128,256,ge),new pe(32,128,258,1024,ge),new pe(32,258,258,4096,ge)],p.deflateInit=function($,ze){return se($,ze,g,15,8,0)},p.deflateInit2=se,p.deflateReset=Oe,p.deflateResetKeep=ce,p.deflateSetHeader=function($,ze){return $&&$.state?$.state.wrap!==2?l:($.state.gzhead=ze,a):l},p.deflate=function($,ze){var re,X,G,Q;if(!$||!$.state||5<ze||ze<0)return $?F($,l):l;if(X=$.state,!$.output||!$.input&&$.avail_in!==0||X.status===666&&ze!==e)return F($,$.avail_out===0?-5:l);if(X.strm=$,re=X.last_flush,X.last_flush=ze,X.status===N)if(X.wrap===2)$.adler=0,Y(X,31),Y(X,139),Y(X,8),X.gzhead?(Y(X,(X.gzhead.text?1:0)+(X.gzhead.hcrc?2:0)+(X.gzhead.extra?4:0)+(X.gzhead.name?8:0)+(X.gzhead.comment?16:0)),Y(X,255&X.gzhead.time),Y(X,X.gzhead.time>>8&255),Y(X,X.gzhead.time>>16&255),Y(X,X.gzhead.time>>24&255),Y(X,X.level===9?2:2<=X.strategy||X.level<2?4:0),Y(X,255&X.gzhead.os),X.gzhead.extra&&X.gzhead.extra.length&&(Y(X,255&X.gzhead.extra.length),Y(X,X.gzhead.extra.length>>8&255)),X.gzhead.hcrc&&($.adler=n($.adler,X.pending_buf,X.pending,0)),X.gzindex=0,X.status=69):(Y(X,0),Y(X,0),Y(X,0),Y(X,0),Y(X,0),Y(X,X.level===9?2:2<=X.strategy||X.level<2?4:0),Y(X,3),X.status=R);else{var ve=g+(X.w_bits-8<<4)<<8;ve|=(2<=X.strategy||X.level<2?0:X.level<6?1:X.level===6?2:3)<<6,X.strstart!==0&&(ve|=32),ve+=31-ve%31,X.status=R,J(X,ve),X.strstart!==0&&(J(X,$.adler>>>16),J(X,65535&$.adler)),$.adler=1}if(X.status===69)if(X.gzhead.extra){for(G=X.pending;X.gzindex<(65535&X.gzhead.extra.length)&&(X.pending!==X.pending_buf_size||(X.gzhead.hcrc&&X.pending>G&&($.adler=n($.adler,X.pending_buf,X.pending-G,G)),V($),G=X.pending,X.pending!==X.pending_buf_size));)Y(X,255&X.gzhead.extra[X.gzindex]),X.gzindex++;X.gzhead.hcrc&&X.pending>G&&($.adler=n($.adler,X.pending_buf,X.pending-G,G)),X.gzindex===X.gzhead.extra.length&&(X.gzindex=0,X.status=73)}else X.status=73;if(X.status===73)if(X.gzhead.name){G=X.pending;do{if(X.pending===X.pending_buf_size&&(X.gzhead.hcrc&&X.pending>G&&($.adler=n($.adler,X.pending_buf,X.pending-G,G)),V($),G=X.pending,X.pending===X.pending_buf_size)){Q=1;break}Q=X.gzindex<X.gzhead.name.length?255&X.gzhead.name.charCodeAt(X.gzindex++):0,Y(X,Q)}while(Q!==0);X.gzhead.hcrc&&X.pending>G&&($.adler=n($.adler,X.pending_buf,X.pending-G,G)),Q===0&&(X.gzindex=0,X.status=91)}else X.status=91;if(X.status===91)if(X.gzhead.comment){G=X.pending;do{if(X.pending===X.pending_buf_size&&(X.gzhead.hcrc&&X.pending>G&&($.adler=n($.adler,X.pending_buf,X.pending-G,G)),V($),G=X.pending,X.pending===X.pending_buf_size)){Q=1;break}Q=X.gzindex<X.gzhead.comment.length?255&X.gzhead.comment.charCodeAt(X.gzindex++):0,Y(X,Q)}while(Q!==0);X.gzhead.hcrc&&X.pending>G&&($.adler=n($.adler,X.pending_buf,X.pending-G,G)),Q===0&&(X.status=103)}else X.status=103;if(X.status===103&&(X.gzhead.hcrc?(X.pending+2>X.pending_buf_size&&V($),X.pending+2<=X.pending_buf_size&&(Y(X,255&$.adler),Y(X,$.adler>>8&255),$.adler=0,X.status=R)):X.status=R),X.pending!==0){if(V($),$.avail_out===0)return X.last_flush=-1,a}else if($.avail_in===0&&j(ze)<=j(re)&&ze!==e)return F($,-5);if(X.status===666&&$.avail_in!==0)return F($,-5);if($.avail_in!==0||X.lookahead!==0||ze!==s&&X.status!==666){var de=X.strategy===2?function(Ce,we){for(var le;;){if(Ce.lookahead===0&&(Z(Ce),Ce.lookahead===0)){if(we===s)return D;break}if(Ce.match_length=0,le=r._tr_tally(Ce,0,Ce.window[Ce.strstart]),Ce.lookahead--,Ce.strstart++,le&&(z(Ce,!1),Ce.strm.avail_out===0))return D}return Ce.insert=0,we===e?(z(Ce,!0),Ce.strm.avail_out===0?M:U):Ce.last_lit&&(z(Ce,!1),Ce.strm.avail_out===0)?D:B}(X,ze):X.strategy===3?function(Ce,we){for(var le,fe,xe,We,nt=Ce.window;;){if(Ce.lookahead<=L){if(Z(Ce),Ce.lookahead<=L&&we===s)return D;if(Ce.lookahead===0)break}if(Ce.match_length=0,Ce.lookahead>=I&&0<Ce.strstart&&(fe=nt[xe=Ce.strstart-1])===nt[++xe]&&fe===nt[++xe]&&fe===nt[++xe]){We=Ce.strstart+L;do;while(fe===nt[++xe]&&fe===nt[++xe]&&fe===nt[++xe]&&fe===nt[++xe]&&fe===nt[++xe]&&fe===nt[++xe]&&fe===nt[++xe]&&fe===nt[++xe]&&xe<We);Ce.match_length=L-(We-xe),Ce.match_length>Ce.lookahead&&(Ce.match_length=Ce.lookahead)}if(Ce.match_length>=I?(le=r._tr_tally(Ce,1,Ce.match_length-I),Ce.lookahead-=Ce.match_length,Ce.strstart+=Ce.match_length,Ce.match_length=0):(le=r._tr_tally(Ce,0,Ce.window[Ce.strstart]),Ce.lookahead--,Ce.strstart++),le&&(z(Ce,!1),Ce.strm.avail_out===0))return D}return Ce.insert=0,we===e?(z(Ce,!0),Ce.strm.avail_out===0?M:U):Ce.last_lit&&(z(Ce,!1),Ce.strm.avail_out===0)?D:B}(X,ze):c[X.level].func(X,ze);if(de!==M&&de!==U||(X.status=666),de===D||de===M)return $.avail_out===0&&(X.last_flush=-1),a;if(de===B&&(ze===1?r._tr_align(X):ze!==5&&(r._tr_stored_block(X,0,0,!1),ze===3&&(W(X.head),X.lookahead===0&&(X.strstart=0,X.block_start=0,X.insert=0))),V($),$.avail_out===0))return X.last_flush=-1,a}return ze!==e?a:X.wrap<=0?1:(X.wrap===2?(Y(X,255&$.adler),Y(X,$.adler>>8&255),Y(X,$.adler>>16&255),Y(X,$.adler>>24&255),Y(X,255&$.total_in),Y(X,$.total_in>>8&255),Y(X,$.total_in>>16&255),Y(X,$.total_in>>24&255)):(J(X,$.adler>>>16),J(X,65535&$.adler)),V($),0<X.wrap&&(X.wrap=-X.wrap),X.pending!==0?a:1)},p.deflateEnd=function($){var ze;return $&&$.state?(ze=$.state.status)!==N&&ze!==69&&ze!==73&&ze!==91&&ze!==103&&ze!==R&&ze!==666?F($,l):($.state=null,ze===R?F($,-3):a):l},p.deflateSetDictionary=function($,ze){var re,X,G,Q,ve,de,Ce,we,le=ze.length;if(!$||!$.state)return l;if((Q=(re=$.state).wrap)===2||Q===1&&re.status!==N||re.lookahead)return l;for(Q===1&&($.adler=i($.adler,ze,le,0)),re.wrap=0,le>=re.w_size&&(Q===0&&(W(re.head),re.strstart=0,re.block_start=0,re.insert=0),we=new o.Buf8(re.w_size),o.arraySet(we,ze,le-re.w_size,re.w_size,0),ze=we,le=re.w_size),ve=$.avail_in,de=$.next_in,Ce=$.input,$.avail_in=le,$.next_in=0,$.input=ze,Z(re);re.lookahead>=I;){for(X=re.strstart,G=re.lookahead-(I-1);re.ins_h=(re.ins_h<<re.hash_shift^re.window[X+I-1])&re.hash_mask,re.prev[X&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=X,X++,--G;);re.strstart=X,re.lookahead=I-1,Z(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=I-1,re.match_available=0,$.next_in=de,$.input=Ce,$.avail_in=ve,re.wrap=Q,a},p.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(b,m,p){"use strict";m.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(b,m,p){"use strict";m.exports=function(c,o){var r,i,n,t,s,e,a,l,u,h,f,g,v,y,E,T,w,S,I,L,O,N,R,D,B;r=c.state,i=c.next_in,D=c.input,n=i+(c.avail_in-5),t=c.next_out,B=c.output,s=t-(o-c.avail_out),e=t+(c.avail_out-257),a=r.dmax,l=r.wsize,u=r.whave,h=r.wnext,f=r.window,g=r.hold,v=r.bits,y=r.lencode,E=r.distcode,T=(1<<r.lenbits)-1,w=(1<<r.distbits)-1;e:do{v<15&&(g+=D[i++]<<v,v+=8,g+=D[i++]<<v,v+=8),S=y[g&T];t:for(;;){if(g>>>=I=S>>>24,v-=I,(I=S>>>16&255)===0)B[t++]=65535&S;else{if(!(16&I)){if((64&I)==0){S=y[(65535&S)+(g&(1<<I)-1)];continue t}if(32&I){r.mode=12;break e}c.msg="invalid literal/length code",r.mode=30;break e}L=65535&S,(I&=15)&&(v<I&&(g+=D[i++]<<v,v+=8),L+=g&(1<<I)-1,g>>>=I,v-=I),v<15&&(g+=D[i++]<<v,v+=8,g+=D[i++]<<v,v+=8),S=E[g&w];r:for(;;){if(g>>>=I=S>>>24,v-=I,!(16&(I=S>>>16&255))){if((64&I)==0){S=E[(65535&S)+(g&(1<<I)-1)];continue r}c.msg="invalid distance code",r.mode=30;break e}if(O=65535&S,v<(I&=15)&&(g+=D[i++]<<v,(v+=8)<I&&(g+=D[i++]<<v,v+=8)),a<(O+=g&(1<<I)-1)){c.msg="invalid distance too far back",r.mode=30;break e}if(g>>>=I,v-=I,(I=t-s)<O){if(u<(I=O-I)&&r.sane){c.msg="invalid distance too far back",r.mode=30;break e}if(R=f,(N=0)===h){if(N+=l-I,I<L){for(L-=I;B[t++]=f[N++],--I;);N=t-O,R=B}}else if(h<I){if(N+=l+h-I,(I-=h)<L){for(L-=I;B[t++]=f[N++],--I;);if(N=0,h<L){for(L-=I=h;B[t++]=f[N++],--I;);N=t-O,R=B}}}else if(N+=h-I,I<L){for(L-=I;B[t++]=f[N++],--I;);N=t-O,R=B}for(;2<L;)B[t++]=R[N++],B[t++]=R[N++],B[t++]=R[N++],L-=3;L&&(B[t++]=R[N++],1<L&&(B[t++]=R[N++]))}else{for(N=t-O;B[t++]=B[N++],B[t++]=B[N++],B[t++]=B[N++],2<(L-=3););L&&(B[t++]=B[N++],1<L&&(B[t++]=B[N++]))}break}}break}}while(i<n&&t<e);i-=L=v>>3,g&=(1<<(v-=L<<3))-1,c.next_in=i,c.next_out=t,c.avail_in=i<n?n-i+5:5-(i-n),c.avail_out=t<e?e-t+257:257-(t-e),r.hold=g,r.bits=v}},{}],49:[function(b,m,p){"use strict";var c=b("../utils/common"),o=b("./adler32"),r=b("./crc32"),i=b("./inffast"),n=b("./inftrees"),t=1,s=2,e=0,a=-2,l=1,u=852,h=592;function f(N){return(N>>>24&255)+(N>>>8&65280)+((65280&N)<<8)+((255&N)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new c.Buf16(320),this.work=new c.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(N){var R;return N&&N.state?(R=N.state,N.total_in=N.total_out=R.total=0,N.msg="",R.wrap&&(N.adler=1&R.wrap),R.mode=l,R.last=0,R.havedict=0,R.dmax=32768,R.head=null,R.hold=0,R.bits=0,R.lencode=R.lendyn=new c.Buf32(u),R.distcode=R.distdyn=new c.Buf32(h),R.sane=1,R.back=-1,e):a}function y(N){var R;return N&&N.state?((R=N.state).wsize=0,R.whave=0,R.wnext=0,v(N)):a}function E(N,R){var D,B;return N&&N.state?(B=N.state,R<0?(D=0,R=-R):(D=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15<R)?a:(B.window!==null&&B.wbits!==R&&(B.window=null),B.wrap=D,B.wbits=R,y(N))):a}function T(N,R){var D,B;return N?(B=new g,(N.state=B).window=null,(D=E(N,R))!==e&&(N.state=null),D):a}var w,S,I=!0;function L(N){if(I){var R;for(w=new c.Buf32(512),S=new c.Buf32(32),R=0;R<144;)N.lens[R++]=8;for(;R<256;)N.lens[R++]=9;for(;R<280;)N.lens[R++]=7;for(;R<288;)N.lens[R++]=8;for(n(t,N.lens,0,288,w,0,N.work,{bits:9}),R=0;R<32;)N.lens[R++]=5;n(s,N.lens,0,32,S,0,N.work,{bits:5}),I=!1}N.lencode=w,N.lenbits=9,N.distcode=S,N.distbits=5}function O(N,R,D,B){var M,U=N.state;return U.window===null&&(U.wsize=1<<U.wbits,U.wnext=0,U.whave=0,U.window=new c.Buf8(U.wsize)),B>=U.wsize?(c.arraySet(U.window,R,D-U.wsize,U.wsize,0),U.wnext=0,U.whave=U.wsize):(B<(M=U.wsize-U.wnext)&&(M=B),c.arraySet(U.window,R,D-B,M,U.wnext),(B-=M)?(c.arraySet(U.window,R,D-B,B,0),U.wnext=B,U.whave=U.wsize):(U.wnext+=M,U.wnext===U.wsize&&(U.wnext=0),U.whave<U.wsize&&(U.whave+=M))),0}p.inflateReset=y,p.inflateReset2=E,p.inflateResetKeep=v,p.inflateInit=function(N){return T(N,15)},p.inflateInit2=T,p.inflate=function(N,R){var D,B,M,U,F,j,W,V,z,Y,J,ie,Z,oe,ge,pe,De,ce,Oe,se,$,ze,re,X,G=0,Q=new c.Buf8(4),ve=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!N||!N.state||!N.output||!N.input&&N.avail_in!==0)return a;(D=N.state).mode===12&&(D.mode=13),F=N.next_out,M=N.output,W=N.avail_out,U=N.next_in,B=N.input,j=N.avail_in,V=D.hold,z=D.bits,Y=j,J=W,ze=e;e:for(;;)switch(D.mode){case l:if(D.wrap===0){D.mode=13;break}for(;z<16;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if(2&D.wrap&&V===35615){Q[D.check=0]=255&V,Q[1]=V>>>8&255,D.check=r(D.check,Q,2,0),z=V=0,D.mode=2;break}if(D.flags=0,D.head&&(D.head.done=!1),!(1&D.wrap)||(((255&V)<<8)+(V>>8))%31){N.msg="incorrect header check",D.mode=30;break}if((15&V)!=8){N.msg="unknown compression method",D.mode=30;break}if(z-=4,$=8+(15&(V>>>=4)),D.wbits===0)D.wbits=$;else if($>D.wbits){N.msg="invalid window size",D.mode=30;break}D.dmax=1<<$,N.adler=D.check=1,D.mode=512&V?10:12,z=V=0;break;case 2:for(;z<16;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if(D.flags=V,(255&D.flags)!=8){N.msg="unknown compression method",D.mode=30;break}if(57344&D.flags){N.msg="unknown header flags set",D.mode=30;break}D.head&&(D.head.text=V>>8&1),512&D.flags&&(Q[0]=255&V,Q[1]=V>>>8&255,D.check=r(D.check,Q,2,0)),z=V=0,D.mode=3;case 3:for(;z<32;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}D.head&&(D.head.time=V),512&D.flags&&(Q[0]=255&V,Q[1]=V>>>8&255,Q[2]=V>>>16&255,Q[3]=V>>>24&255,D.check=r(D.check,Q,4,0)),z=V=0,D.mode=4;case 4:for(;z<16;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}D.head&&(D.head.xflags=255&V,D.head.os=V>>8),512&D.flags&&(Q[0]=255&V,Q[1]=V>>>8&255,D.check=r(D.check,Q,2,0)),z=V=0,D.mode=5;case 5:if(1024&D.flags){for(;z<16;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}D.length=V,D.head&&(D.head.extra_len=V),512&D.flags&&(Q[0]=255&V,Q[1]=V>>>8&255,D.check=r(D.check,Q,2,0)),z=V=0}else D.head&&(D.head.extra=null);D.mode=6;case 6:if(1024&D.flags&&(j<(ie=D.length)&&(ie=j),ie&&(D.head&&($=D.head.extra_len-D.length,D.head.extra||(D.head.extra=new Array(D.head.extra_len)),c.arraySet(D.head.extra,B,U,ie,$)),512&D.flags&&(D.check=r(D.check,B,ie,U)),j-=ie,U+=ie,D.length-=ie),D.length))break e;D.length=0,D.mode=7;case 7:if(2048&D.flags){if(j===0)break e;for(ie=0;$=B[U+ie++],D.head&&$&&D.length<65536&&(D.head.name+=String.fromCharCode($)),$&&ie<j;);if(512&D.flags&&(D.check=r(D.check,B,ie,U)),j-=ie,U+=ie,$)break e}else D.head&&(D.head.name=null);D.length=0,D.mode=8;case 8:if(4096&D.flags){if(j===0)break e;for(ie=0;$=B[U+ie++],D.head&&$&&D.length<65536&&(D.head.comment+=String.fromCharCode($)),$&&ie<j;);if(512&D.flags&&(D.check=r(D.check,B,ie,U)),j-=ie,U+=ie,$)break e}else D.head&&(D.head.comment=null);D.mode=9;case 9:if(512&D.flags){for(;z<16;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if(V!==(65535&D.check)){N.msg="header crc mismatch",D.mode=30;break}z=V=0}D.head&&(D.head.hcrc=D.flags>>9&1,D.head.done=!0),N.adler=D.check=0,D.mode=12;break;case 10:for(;z<32;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}N.adler=D.check=f(V),z=V=0,D.mode=11;case 11:if(D.havedict===0)return N.next_out=F,N.avail_out=W,N.next_in=U,N.avail_in=j,D.hold=V,D.bits=z,2;N.adler=D.check=1,D.mode=12;case 12:if(R===5||R===6)break e;case 13:if(D.last){V>>>=7&z,z-=7&z,D.mode=27;break}for(;z<3;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}switch(D.last=1&V,z-=1,3&(V>>>=1)){case 0:D.mode=14;break;case 1:if(L(D),D.mode=20,R!==6)break;V>>>=2,z-=2;break e;case 2:D.mode=17;break;case 3:N.msg="invalid block type",D.mode=30}V>>>=2,z-=2;break;case 14:for(V>>>=7&z,z-=7&z;z<32;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if((65535&V)!=(V>>>16^65535)){N.msg="invalid stored block lengths",D.mode=30;break}if(D.length=65535&V,z=V=0,D.mode=15,R===6)break e;case 15:D.mode=16;case 16:if(ie=D.length){if(j<ie&&(ie=j),W<ie&&(ie=W),ie===0)break e;c.arraySet(M,B,U,ie,F),j-=ie,U+=ie,W-=ie,F+=ie,D.length-=ie;break}D.mode=12;break;case 17:for(;z<14;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if(D.nlen=257+(31&V),V>>>=5,z-=5,D.ndist=1+(31&V),V>>>=5,z-=5,D.ncode=4+(15&V),V>>>=4,z-=4,286<D.nlen||30<D.ndist){N.msg="too many length or distance symbols",D.mode=30;break}D.have=0,D.mode=18;case 18:for(;D.have<D.ncode;){for(;z<3;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}D.lens[ve[D.have++]]=7&V,V>>>=3,z-=3}for(;D.have<19;)D.lens[ve[D.have++]]=0;if(D.lencode=D.lendyn,D.lenbits=7,re={bits:D.lenbits},ze=n(0,D.lens,0,19,D.lencode,0,D.work,re),D.lenbits=re.bits,ze){N.msg="invalid code lengths set",D.mode=30;break}D.have=0,D.mode=19;case 19:for(;D.have<D.nlen+D.ndist;){for(;pe=(G=D.lencode[V&(1<<D.lenbits)-1])>>>16&255,De=65535&G,!((ge=G>>>24)<=z);){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if(De<16)V>>>=ge,z-=ge,D.lens[D.have++]=De;else{if(De===16){for(X=ge+2;z<X;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if(V>>>=ge,z-=ge,D.have===0){N.msg="invalid bit length repeat",D.mode=30;break}$=D.lens[D.have-1],ie=3+(3&V),V>>>=2,z-=2}else if(De===17){for(X=ge+3;z<X;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}z-=ge,$=0,ie=3+(7&(V>>>=ge)),V>>>=3,z-=3}else{for(X=ge+7;z<X;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}z-=ge,$=0,ie=11+(127&(V>>>=ge)),V>>>=7,z-=7}if(D.have+ie>D.nlen+D.ndist){N.msg="invalid bit length repeat",D.mode=30;break}for(;ie--;)D.lens[D.have++]=$}}if(D.mode===30)break;if(D.lens[256]===0){N.msg="invalid code -- missing end-of-block",D.mode=30;break}if(D.lenbits=9,re={bits:D.lenbits},ze=n(t,D.lens,0,D.nlen,D.lencode,0,D.work,re),D.lenbits=re.bits,ze){N.msg="invalid literal/lengths set",D.mode=30;break}if(D.distbits=6,D.distcode=D.distdyn,re={bits:D.distbits},ze=n(s,D.lens,D.nlen,D.ndist,D.distcode,0,D.work,re),D.distbits=re.bits,ze){N.msg="invalid distances set",D.mode=30;break}if(D.mode=20,R===6)break e;case 20:D.mode=21;case 21:if(6<=j&&258<=W){N.next_out=F,N.avail_out=W,N.next_in=U,N.avail_in=j,D.hold=V,D.bits=z,i(N,J),F=N.next_out,M=N.output,W=N.avail_out,U=N.next_in,B=N.input,j=N.avail_in,V=D.hold,z=D.bits,D.mode===12&&(D.back=-1);break}for(D.back=0;pe=(G=D.lencode[V&(1<<D.lenbits)-1])>>>16&255,De=65535&G,!((ge=G>>>24)<=z);){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if(pe&&(240&pe)==0){for(ce=ge,Oe=pe,se=De;pe=(G=D.lencode[se+((V&(1<<ce+Oe)-1)>>ce)])>>>16&255,De=65535&G,!(ce+(ge=G>>>24)<=z);){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}V>>>=ce,z-=ce,D.back+=ce}if(V>>>=ge,z-=ge,D.back+=ge,D.length=De,pe===0){D.mode=26;break}if(32&pe){D.back=-1,D.mode=12;break}if(64&pe){N.msg="invalid literal/length code",D.mode=30;break}D.extra=15&pe,D.mode=22;case 22:if(D.extra){for(X=D.extra;z<X;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}D.length+=V&(1<<D.extra)-1,V>>>=D.extra,z-=D.extra,D.back+=D.extra}D.was=D.length,D.mode=23;case 23:for(;pe=(G=D.distcode[V&(1<<D.distbits)-1])>>>16&255,De=65535&G,!((ge=G>>>24)<=z);){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if((240&pe)==0){for(ce=ge,Oe=pe,se=De;pe=(G=D.distcode[se+((V&(1<<ce+Oe)-1)>>ce)])>>>16&255,De=65535&G,!(ce+(ge=G>>>24)<=z);){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}V>>>=ce,z-=ce,D.back+=ce}if(V>>>=ge,z-=ge,D.back+=ge,64&pe){N.msg="invalid distance code",D.mode=30;break}D.offset=De,D.extra=15&pe,D.mode=24;case 24:if(D.extra){for(X=D.extra;z<X;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}D.offset+=V&(1<<D.extra)-1,V>>>=D.extra,z-=D.extra,D.back+=D.extra}if(D.offset>D.dmax){N.msg="invalid distance too far back",D.mode=30;break}D.mode=25;case 25:if(W===0)break e;if(ie=J-W,D.offset>ie){if((ie=D.offset-ie)>D.whave&&D.sane){N.msg="invalid distance too far back",D.mode=30;break}Z=ie>D.wnext?(ie-=D.wnext,D.wsize-ie):D.wnext-ie,ie>D.length&&(ie=D.length),oe=D.window}else oe=M,Z=F-D.offset,ie=D.length;for(W<ie&&(ie=W),W-=ie,D.length-=ie;M[F++]=oe[Z++],--ie;);D.length===0&&(D.mode=21);break;case 26:if(W===0)break e;M[F++]=D.length,W--,D.mode=21;break;case 27:if(D.wrap){for(;z<32;){if(j===0)break e;j--,V|=B[U++]<<z,z+=8}if(J-=W,N.total_out+=J,D.total+=J,J&&(N.adler=D.check=D.flags?r(D.check,M,J,F-J):o(D.check,M,J,F-J)),J=W,(D.flags?V:f(V))!==D.check){N.msg="incorrect data check",D.mode=30;break}z=V=0}D.mode=28;case 28:if(D.wrap&&D.flags){for(;z<32;){if(j===0)break e;j--,V+=B[U++]<<z,z+=8}if(V!==(4294967295&D.total)){N.msg="incorrect length check",D.mode=30;break}z=V=0}D.mode=29;case 29:ze=1;break e;case 30:ze=-3;break e;case 31:return-4;case 32:default:return a}return N.next_out=F,N.avail_out=W,N.next_in=U,N.avail_in=j,D.hold=V,D.bits=z,(D.wsize||J!==N.avail_out&&D.mode<30&&(D.mode<27||R!==4))&&O(N,N.output,N.next_out,J-N.avail_out)?(D.mode=31,-4):(Y-=N.avail_in,J-=N.avail_out,N.total_in+=Y,N.total_out+=J,D.total+=J,D.wrap&&J&&(N.adler=D.check=D.flags?r(D.check,M,J,N.next_out-J):o(D.check,M,J,N.next_out-J)),N.data_type=D.bits+(D.last?64:0)+(D.mode===12?128:0)+(D.mode===20||D.mode===15?256:0),(Y==0&&J===0||R===4)&&ze===e&&(ze=-5),ze)},p.inflateEnd=function(N){if(!N||!N.state)return a;var R=N.state;return R.window&&(R.window=null),N.state=null,e},p.inflateGetHeader=function(N,R){var D;return N&&N.state?(2&(D=N.state).wrap)==0?a:((D.head=R).done=!1,e):a},p.inflateSetDictionary=function(N,R){var D,B=R.length;return N&&N.state?(D=N.state).wrap!==0&&D.mode!==11?a:D.mode===11&&o(1,R,B,0)!==D.check?-3:O(N,R,B,B)?(D.mode=31,-4):(D.havedict=1,e):a},p.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(b,m,p){"use strict";var c=b("../utils/common"),o=[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],r=[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],i=[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],n=[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];m.exports=function(t,s,e,a,l,u,h,f){var g,v,y,E,T,w,S,I,L,O=f.bits,N=0,R=0,D=0,B=0,M=0,U=0,F=0,j=0,W=0,V=0,z=null,Y=0,J=new c.Buf16(16),ie=new c.Buf16(16),Z=null,oe=0;for(N=0;N<=15;N++)J[N]=0;for(R=0;R<a;R++)J[s[e+R]]++;for(M=O,B=15;1<=B&&J[B]===0;B--);if(B<M&&(M=B),B===0)return l[u++]=20971520,l[u++]=20971520,f.bits=1,0;for(D=1;D<B&&J[D]===0;D++);for(M<D&&(M=D),N=j=1;N<=15;N++)if(j<<=1,(j-=J[N])<0)return-1;if(0<j&&(t===0||B!==1))return-1;for(ie[1]=0,N=1;N<15;N++)ie[N+1]=ie[N]+J[N];for(R=0;R<a;R++)s[e+R]!==0&&(h[ie[s[e+R]]++]=R);if(w=t===0?(z=Z=h,19):t===1?(z=o,Y-=257,Z=r,oe-=257,256):(z=i,Z=n,-1),N=D,T=u,F=R=V=0,y=-1,E=(W=1<<(U=M))-1,t===1&&852<W||t===2&&592<W)return 1;for(;;){for(S=N-F,L=h[R]<w?(I=0,h[R]):h[R]>w?(I=Z[oe+h[R]],z[Y+h[R]]):(I=96,0),g=1<<N-F,D=v=1<<U;l[T+(V>>F)+(v-=g)]=S<<24|I<<16|L|0,v!==0;);for(g=1<<N-1;V&g;)g>>=1;if(g!==0?(V&=g-1,V+=g):V=0,R++,--J[N]==0){if(N===B)break;N=s[e+h[R]]}if(M<N&&(V&E)!==y){for(F===0&&(F=M),T+=D,j=1<<(U=N-F);U+F<B&&!((j-=J[U+F])<=0);)U++,j<<=1;if(W+=1<<U,t===1&&852<W||t===2&&592<W)return 1;l[y=V&E]=M<<24|U<<16|T-u|0}}return V!==0&&(l[T+V]=N-F<<24|64<<16|0),f.bits=M,0}},{"../utils/common":41}],51:[function(b,m,p){"use strict";m.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(b,m,p){"use strict";var c=b("../utils/common"),o=0,r=1;function i(G){for(var Q=G.length;0<=--Q;)G[Q]=0}var n=0,t=29,s=256,e=s+1+t,a=30,l=19,u=2*e+1,h=15,f=16,g=7,v=256,y=16,E=17,T=18,w=[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],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],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],O=new Array(2*(e+2));i(O);var N=new Array(2*a);i(N);var R=new Array(512);i(R);var D=new Array(256);i(D);var B=new Array(t);i(B);var M,U,F,j=new Array(a);function W(G,Q,ve,de,Ce){this.static_tree=G,this.extra_bits=Q,this.extra_base=ve,this.elems=de,this.max_length=Ce,this.has_stree=G&&G.length}function V(G,Q){this.dyn_tree=G,this.max_code=0,this.stat_desc=Q}function z(G){return G<256?R[G]:R[256+(G>>>7)]}function Y(G,Q){G.pending_buf[G.pending++]=255&Q,G.pending_buf[G.pending++]=Q>>>8&255}function J(G,Q,ve){G.bi_valid>f-ve?(G.bi_buf|=Q<<G.bi_valid&65535,Y(G,G.bi_buf),G.bi_buf=Q>>f-G.bi_valid,G.bi_valid+=ve-f):(G.bi_buf|=Q<<G.bi_valid&65535,G.bi_valid+=ve)}function ie(G,Q,ve){J(G,ve[2*Q],ve[2*Q+1])}function Z(G,Q){for(var ve=0;ve|=1&G,G>>>=1,ve<<=1,0<--Q;);return ve>>>1}function oe(G,Q,ve){var de,Ce,we=new Array(h+1),le=0;for(de=1;de<=h;de++)we[de]=le=le+ve[de-1]<<1;for(Ce=0;Ce<=Q;Ce++){var fe=G[2*Ce+1];fe!==0&&(G[2*Ce]=Z(we[fe]++,fe))}}function ge(G){var Q;for(Q=0;Q<e;Q++)G.dyn_ltree[2*Q]=0;for(Q=0;Q<a;Q++)G.dyn_dtree[2*Q]=0;for(Q=0;Q<l;Q++)G.bl_tree[2*Q]=0;G.dyn_ltree[2*v]=1,G.opt_len=G.static_len=0,G.last_lit=G.matches=0}function pe(G){8<G.bi_valid?Y(G,G.bi_buf):0<G.bi_valid&&(G.pending_buf[G.pending++]=G.bi_buf),G.bi_buf=0,G.bi_valid=0}function De(G,Q,ve,de){var Ce=2*Q,we=2*ve;return G[Ce]<G[we]||G[Ce]===G[we]&&de[Q]<=de[ve]}function ce(G,Q,ve){for(var de=G.heap[ve],Ce=ve<<1;Ce<=G.heap_len&&(Ce<G.heap_len&&De(Q,G.heap[Ce+1],G.heap[Ce],G.depth)&&Ce++,!De(Q,de,G.heap[Ce],G.depth));)G.heap[ve]=G.heap[Ce],ve=Ce,Ce<<=1;G.heap[ve]=de}function Oe(G,Q,ve){var de,Ce,we,le,fe=0;if(G.last_lit!==0)for(;de=G.pending_buf[G.d_buf+2*fe]<<8|G.pending_buf[G.d_buf+2*fe+1],Ce=G.pending_buf[G.l_buf+fe],fe++,de===0?ie(G,Ce,Q):(ie(G,(we=D[Ce])+s+1,Q),(le=w[we])!==0&&J(G,Ce-=B[we],le),ie(G,we=z(--de),ve),(le=S[we])!==0&&J(G,de-=j[we],le)),fe<G.last_lit;);ie(G,v,Q)}function se(G,Q){var ve,de,Ce,we=Q.dyn_tree,le=Q.stat_desc.static_tree,fe=Q.stat_desc.has_stree,xe=Q.stat_desc.elems,We=-1;for(G.heap_len=0,G.heap_max=u,ve=0;ve<xe;ve++)we[2*ve]!==0?(G.heap[++G.heap_len]=We=ve,G.depth[ve]=0):we[2*ve+1]=0;for(;G.heap_len<2;)we[2*(Ce=G.heap[++G.heap_len]=We<2?++We:0)]=1,G.depth[Ce]=0,G.opt_len--,fe&&(G.static_len-=le[2*Ce+1]);for(Q.max_code=We,ve=G.heap_len>>1;1<=ve;ve--)ce(G,we,ve);for(Ce=xe;ve=G.heap[1],G.heap[1]=G.heap[G.heap_len--],ce(G,we,1),de=G.heap[1],G.heap[--G.heap_max]=ve,G.heap[--G.heap_max]=de,we[2*Ce]=we[2*ve]+we[2*de],G.depth[Ce]=(G.depth[ve]>=G.depth[de]?G.depth[ve]:G.depth[de])+1,we[2*ve+1]=we[2*de+1]=Ce,G.heap[1]=Ce++,ce(G,we,1),2<=G.heap_len;);G.heap[--G.heap_max]=G.heap[1],function(nt,$e){var Le,pt,Qe,gt,wt,Et,_t=$e.dyn_tree,Ht=$e.max_code,Ze=$e.stat_desc.static_tree,ye=$e.stat_desc.has_stree,ae=$e.stat_desc.extra_bits,yt=$e.stat_desc.extra_base,et=$e.stat_desc.max_length,me=0;for(gt=0;gt<=h;gt++)nt.bl_count[gt]=0;for(_t[2*nt.heap[nt.heap_max]+1]=0,Le=nt.heap_max+1;Le<u;Le++)et<(gt=_t[2*_t[2*(pt=nt.heap[Le])+1]+1]+1)&&(gt=et,me++),_t[2*pt+1]=gt,Ht<pt||(nt.bl_count[gt]++,wt=0,yt<=pt&&(wt=ae[pt-yt]),Et=_t[2*pt],nt.opt_len+=Et*(gt+wt),ye&&(nt.static_len+=Et*(Ze[2*pt+1]+wt)));if(me!==0){do{for(gt=et-1;nt.bl_count[gt]===0;)gt--;nt.bl_count[gt]--,nt.bl_count[gt+1]+=2,nt.bl_count[et]--,me-=2}while(0<me);for(gt=et;gt!==0;gt--)for(pt=nt.bl_count[gt];pt!==0;)Ht<(Qe=nt.heap[--Le])||(_t[2*Qe+1]!==gt&&(nt.opt_len+=(gt-_t[2*Qe+1])*_t[2*Qe],_t[2*Qe+1]=gt),pt--)}}(G,Q),oe(we,We,G.bl_count)}function $(G,Q,ve){var de,Ce,we=-1,le=Q[1],fe=0,xe=7,We=4;for(le===0&&(xe=138,We=3),Q[2*(ve+1)+1]=65535,de=0;de<=ve;de++)Ce=le,le=Q[2*(de+1)+1],++fe<xe&&Ce===le||(fe<We?G.bl_tree[2*Ce]+=fe:Ce!==0?(Ce!==we&&G.bl_tree[2*Ce]++,G.bl_tree[2*y]++):fe<=10?G.bl_tree[2*E]++:G.bl_tree[2*T]++,we=Ce,We=(fe=0)===le?(xe=138,3):Ce===le?(xe=6,3):(xe=7,4))}function ze(G,Q,ve){var de,Ce,we=-1,le=Q[1],fe=0,xe=7,We=4;for(le===0&&(xe=138,We=3),de=0;de<=ve;de++)if(Ce=le,le=Q[2*(de+1)+1],!(++fe<xe&&Ce===le)){if(fe<We)for(;ie(G,Ce,G.bl_tree),--fe!=0;);else Ce!==0?(Ce!==we&&(ie(G,Ce,G.bl_tree),fe--),ie(G,y,G.bl_tree),J(G,fe-3,2)):fe<=10?(ie(G,E,G.bl_tree),J(G,fe-3,3)):(ie(G,T,G.bl_tree),J(G,fe-11,7));we=Ce,We=(fe=0)===le?(xe=138,3):Ce===le?(xe=6,3):(xe=7,4)}}i(j);var re=!1;function X(G,Q,ve,de){J(G,(n<<1)+(de?1:0),3),function(Ce,we,le,fe){pe(Ce),fe&&(Y(Ce,le),Y(Ce,~le)),c.arraySet(Ce.pending_buf,Ce.window,we,le,Ce.pending),Ce.pending+=le}(G,Q,ve,!0)}p._tr_init=function(G){re||(function(){var Q,ve,de,Ce,we,le=new Array(h+1);for(Ce=de=0;Ce<t-1;Ce++)for(B[Ce]=de,Q=0;Q<1<<w[Ce];Q++)D[de++]=Ce;for(D[de-1]=Ce,Ce=we=0;Ce<16;Ce++)for(j[Ce]=we,Q=0;Q<1<<S[Ce];Q++)R[we++]=Ce;for(we>>=7;Ce<a;Ce++)for(j[Ce]=we<<7,Q=0;Q<1<<S[Ce]-7;Q++)R[256+we++]=Ce;for(ve=0;ve<=h;ve++)le[ve]=0;for(Q=0;Q<=143;)O[2*Q+1]=8,Q++,le[8]++;for(;Q<=255;)O[2*Q+1]=9,Q++,le[9]++;for(;Q<=279;)O[2*Q+1]=7,Q++,le[7]++;for(;Q<=287;)O[2*Q+1]=8,Q++,le[8]++;for(oe(O,e+1,le),Q=0;Q<a;Q++)N[2*Q+1]=5,N[2*Q]=Z(Q,5);M=new W(O,w,s+1,e,h),U=new W(N,S,0,a,h),F=new W(new Array(0),I,0,l,g)}(),re=!0),G.l_desc=new V(G.dyn_ltree,M),G.d_desc=new V(G.dyn_dtree,U),G.bl_desc=new V(G.bl_tree,F),G.bi_buf=0,G.bi_valid=0,ge(G)},p._tr_stored_block=X,p._tr_flush_block=function(G,Q,ve,de){var Ce,we,le=0;0<G.level?(G.strm.data_type===2&&(G.strm.data_type=function(fe){var xe,We=4093624447;for(xe=0;xe<=31;xe++,We>>>=1)if(1&We&&fe.dyn_ltree[2*xe]!==0)return o;if(fe.dyn_ltree[18]!==0||fe.dyn_ltree[20]!==0||fe.dyn_ltree[26]!==0)return r;for(xe=32;xe<s;xe++)if(fe.dyn_ltree[2*xe]!==0)return r;return o}(G)),se(G,G.l_desc),se(G,G.d_desc),le=function(fe){var xe;for($(fe,fe.dyn_ltree,fe.l_desc.max_code),$(fe,fe.dyn_dtree,fe.d_desc.max_code),se(fe,fe.bl_desc),xe=l-1;3<=xe&&fe.bl_tree[2*L[xe]+1]===0;xe--);return fe.opt_len+=3*(xe+1)+5+5+4,xe}(G),Ce=G.opt_len+3+7>>>3,(we=G.static_len+3+7>>>3)<=Ce&&(Ce=we)):Ce=we=ve+5,ve+4<=Ce&&Q!==-1?X(G,Q,ve,de):G.strategy===4||we===Ce?(J(G,2+(de?1:0),3),Oe(G,O,N)):(J(G,4+(de?1:0),3),function(fe,xe,We,nt){var $e;for(J(fe,xe-257,5),J(fe,We-1,5),J(fe,nt-4,4),$e=0;$e<nt;$e++)J(fe,fe.bl_tree[2*L[$e]+1],3);ze(fe,fe.dyn_ltree,xe-1),ze(fe,fe.dyn_dtree,We-1)}(G,G.l_desc.max_code+1,G.d_desc.max_code+1,le+1),Oe(G,G.dyn_ltree,G.dyn_dtree)),ge(G),de&&pe(G)},p._tr_tally=function(G,Q,ve){return G.pending_buf[G.d_buf+2*G.last_lit]=Q>>>8&255,G.pending_buf[G.d_buf+2*G.last_lit+1]=255&Q,G.pending_buf[G.l_buf+G.last_lit]=255&ve,G.last_lit++,Q===0?G.dyn_ltree[2*ve]++:(G.matches++,Q--,G.dyn_ltree[2*(D[ve]+s+1)]++,G.dyn_dtree[2*z(Q)]++),G.last_lit===G.lit_bufsize-1},p._tr_align=function(G){J(G,2,3),ie(G,v,O),function(Q){Q.bi_valid===16?(Y(Q,Q.bi_buf),Q.bi_buf=0,Q.bi_valid=0):8<=Q.bi_valid&&(Q.pending_buf[Q.pending++]=255&Q.bi_buf,Q.bi_buf>>=8,Q.bi_valid-=8)}(G)}},{"../utils/common":41}],53:[function(b,m,p){"use strict";m.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(b,m,p){(function(c){!function(o,r){"use strict";if(!o.setImmediate){var i,n,t,s,e=1,a={},l=!1,u=o.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(o);h=h&&h.setTimeout?h:o,i={}.toString.call(o.process)==="[object process]"?function(y){C.nextTick(function(){g(y)})}:function(){if(o.postMessage&&!o.importScripts){var y=!0,E=o.onmessage;return o.onmessage=function(){y=!1},o.postMessage("","*"),o.onmessage=E,y}}()?(s="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",v,!1):o.attachEvent("onmessage",v),function(y){o.postMessage(s+y,"*")}):o.MessageChannel?((t=new MessageChannel).port1.onmessage=function(y){g(y.data)},function(y){t.port2.postMessage(y)}):u&&"onreadystatechange"in u.createElement("script")?(n=u.documentElement,function(y){var E=u.createElement("script");E.onreadystatechange=function(){g(y),E.onreadystatechange=null,n.removeChild(E),E=null},n.appendChild(E)}):function(y){setTimeout(g,0,y)},h.setImmediate=function(y){typeof y!="function"&&(y=new Function(""+y));for(var E=new Array(arguments.length-1),T=0;T<E.length;T++)E[T]=arguments[T+1];var w={callback:y,args:E};return a[e]=w,i(e),e++},h.clearImmediate=f}function f(y){delete a[y]}function g(y){if(l)setTimeout(g,0,y);else{var E=a[y];if(E){l=!0;try{!function(T){var w=T.callback,S=T.args;switch(S.length){case 0:w();break;case 1:w(S[0]);break;case 2:w(S[0],S[1]);break;case 3:w(S[0],S[1],S[2]);break;default:w.apply(r,S)}}(E)}finally{f(y),l=!1}}}}function v(y){y.source===o&&typeof y.data=="string"&&y.data.indexOf(s)===0&&g(+y.data.slice(s.length))}}(typeof self=="undefined"?c===void 0?this:c:self)}).call(this,typeof x!="undefined"?x:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})}).call(this,d("HDXh").Buffer,d("yLpj"),d("Q2Ig"))},xRUu:function(H,k,d){d("hJvP"),d("hFmY"),d("sAZ8")},xSIq:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var _={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"};k.default=_},xSat:function(H,k){var d={axisPointer:1,tooltip:1,brush:1};function _(x,C,A){var b=C.getComponentByElement(x.topTarget),m=b&&b.coordinateSystem;return b&&b!==A&&!d[b.mainType]&&m&&m.model!==A}k.onIrrelevantElement=_},xTNl:function(H,k){var d=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],_={color:d,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],d]};H.exports=_},xb2K:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("5yev")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="RedoOutlined";var c=A.forwardRef(p);k.default=c},xiyX:function(H,k,d){var _=d("bYtY"),x=d("bLfw"),C=d("nkfE"),A=d("ICMv"),b=x.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),m={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 p(o,r){return r.type||(r.data?"category":"value")}_.merge(b.prototype,A),C("single",b,p,m);var c=b;H.exports=c},xlC8:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=_;function _(x,C,A,b){for(var m=x&65535|0,p=x>>>16&65535|0,c=0;A!==0;){c=A>2e3?2e3:A,A-=c;do m=m+C[b++]|0,p=p+m|0;while(--c);m%=65521,p%=65521}return m|p<<16|0}},xvlK:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="PlusOutlined";var p=k.a=x.forwardRef(m)},xzDV:function(H,k,d){},"y+Vt":function(H,k,d){var _=d("Gev7"),x=d("bYtY"),C=d("IMiH"),A=d("2DNl"),b=d("3C/r"),m=b.prototype.getCanvasPattern,p=Math.abs,c=new C(!0);function o(i){_.call(this,i),this.path=null}o.prototype={constructor:o,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(n,t){var s=this.style,e=this.path||c,a=s.hasStroke(),l=s.hasFill(),u=s.fill,h=s.stroke,f=l&&!!u.colorStops,g=a&&!!h.colorStops,v=l&&!!u.image,y=a&&!!h.image;if(s.bind(n,this,t),this.setTransform(n),this.__dirty){var E;f&&(E=E||this.getBoundingRect(),this._fillGradient=s.getGradient(n,u,E)),g&&(E=E||this.getBoundingRect(),this._strokeGradient=s.getGradient(n,h,E))}f?n.fillStyle=this._fillGradient:v&&(n.fillStyle=m.call(u,n)),g?n.strokeStyle=this._strokeGradient:y&&(n.strokeStyle=m.call(h,n));var T=s.lineDash,w=s.lineDashOffset,S=!!n.setLineDash,I=this.getGlobalScale();if(e.setScale(I[0],I[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!S&&a?(e.beginPath(n),T&&!S&&(e.setLineDash(T),e.setLineDashOffset(w)),this.buildPath(e,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(n.beginPath(),this.path.rebuildPath(n)),l)if(s.fillOpacity!=null){var L=n.globalAlpha;n.globalAlpha=s.fillOpacity*s.opacity,e.fill(n),n.globalAlpha=L}else e.fill(n);if(T&&S&&(n.setLineDash(T),n.lineDashOffset=w),a)if(s.strokeOpacity!=null){var L=n.globalAlpha;n.globalAlpha=s.strokeOpacity*s.opacity,e.stroke(n),n.globalAlpha=L}else e.stroke(n);T&&S&&n.setLineDash([]),s.text!=null&&(this.restoreTransform(n),this.drawRectText(n,this.getBoundingRect()))},buildPath:function(n,t,s){},createPathProxy:function(){this.path=new C},getBoundingRect:function(){var n=this._rect,t=this.style,s=!n;if(s){var e=this.path;e||(e=this.path=new C),this.__dirtyPath&&(e.beginPath(),this.buildPath(e,this.shape,!1)),n=e.getBoundingRect()}if(this._rect=n,t.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=n.clone());if(this.__dirty||s){a.copy(n);var l=t.lineWidth,u=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(l=Math.max(l,this.strokeContainThreshold||4)),u>1e-10&&(a.width+=l/u,a.height+=l/u,a.x-=l/u/2,a.y-=l/u/2)}return a}return n},contain:function(n,t){var s=this.transformCoordToLocal(n,t),e=this.getBoundingRect(),a=this.style;if(n=s[0],t=s[1],e.contain(n,t)){var l=this.path.data;if(a.hasStroke()){var u=a.lineWidth,h=a.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(a.hasFill()||(u=Math.max(u,this.strokeContainThreshold)),A.containStroke(l,u/h,n,t)))return!0}if(a.hasFill())return A.contain(l,n,t)}return!1},dirty:function(n){n==null&&(n=!0),n&&(this.__dirtyPath=n,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(n){return this.animate("shape",n)},attrKV:function(n,t){n==="shape"?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):_.prototype.attrKV.call(this,n,t)},setShape:function(n,t){var s=this.shape;if(s){if(x.isObject(n))for(var e in n)n.hasOwnProperty(e)&&(s[e]=n[e]);else s[n]=t;this.dirty(!0)}return this},getLineScale:function(){var n=this.transform;return n&&p(n[0]-1)>1e-10&&p(n[3]-1)>1e-10?Math.sqrt(p(n[0]*n[3]-n[2]*n[1])):1}},o.extend=function(i){var n=function(e){o.call(this,e),i.style&&this.style.extendFrom(i.style,!1);var a=i.shape;if(a){this.shape=this.shape||{};var l=this.shape;for(var u in a)!l.hasOwnProperty(u)&&a.hasOwnProperty(u)&&(l[u]=a[u])}i.init&&i.init.call(this,e)};x.inherits(n,o);for(var t in i)t!=="style"&&t!=="shape"&&(n.prototype[t]=i[t]);return n},x.inherits(o,_);var r=o;H.exports=r},"y+lR":function(H,k,d){var _=d("bYtY"),x=d("mFDi"),C=d("z35g");function A(m){C.call(this,m)}A.prototype={constructor:A,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(m){var p=this.getAxis("x"),c=this.getAxis("y");return p.contain(p.toLocalCoord(m[0]))&&c.contain(c.toLocalCoord(m[1]))},containData:function(m){return this.getAxis("x").containData(m[0])&&this.getAxis("y").containData(m[1])},dataToPoint:function(m,p,c){var o=this.getAxis("x"),r=this.getAxis("y");return c=c||[],c[0]=o.toGlobalCoord(o.dataToCoord(m[0])),c[1]=r.toGlobalCoord(r.dataToCoord(m[1])),c},clampData:function(m,p){var c=this.getAxis("x").scale,o=this.getAxis("y").scale,r=c.getExtent(),i=o.getExtent(),n=c.parse(m[0]),t=o.parse(m[1]);return p=p||[],p[0]=Math.min(Math.max(Math.min(r[0],r[1]),n),Math.max(r[0],r[1])),p[1]=Math.min(Math.max(Math.min(i[0],i[1]),t),Math.max(i[0],i[1])),p},pointToData:function(m,p){var c=this.getAxis("x"),o=this.getAxis("y");return p=p||[],p[0]=c.coordToData(c.toLocalCoord(m[0])),p[1]=o.coordToData(o.toLocalCoord(m[1])),p},getOtherAxis:function(m){return this.getAxis(m.dim==="x"?"y":"x")},getArea:function(){var m=this.getAxis("x").getGlobalExtent(),p=this.getAxis("y").getGlobalExtent(),c=Math.min(m[0],m[1]),o=Math.min(p[0],p[1]),r=Math.max(m[0],m[1])-c,i=Math.max(p[0],p[1])-o,n=new x(c,o,r,i);return n}},_.inherits(A,C);var b=A;H.exports=b},"y0+3":function(H,k,d){"use strict";d.d(k,"a",function(){return i}),d.d(k,"b",function(){return t});var _=/margin|padding|width|height|max|min|offset/,x={left:!0,top:!0},C={cssFloat:1,styleFloat:1,float:1};function A(s){return s.nodeType===1?s.ownerDocument.defaultView.getComputedStyle(s,null):{}}function b(s,e,a){if(e=e.toLowerCase(),a==="auto"){if(e==="height")return s.offsetHeight;if(e==="width")return s.offsetWidth}return e in x||(x[e]=_.test(e)),x[e]?parseFloat(a)||0:a}function m(s,e){var a=arguments.length,l=A(s);return e=C[e]?"cssFloat"in s.style?"cssFloat":"styleFloat":e,a===1?l:b(s,e,l[e]||s.style[e])}function p(s,e,a){var l=arguments.length;if(e=C[e]?"cssFloat"in s.style?"cssFloat":"styleFloat":e,l===3)return typeof a=="number"&&_.test(e)&&(a="".concat(a,"px")),s.style[e]=a,a;for(var u in e)e.hasOwnProperty(u)&&p(s,u,e[u]);return A(s)}function c(s){return s===document.body?document.documentElement.clientWidth:s.offsetWidth}function o(s){return s===document.body?window.innerHeight||document.documentElement.clientHeight:s.offsetHeight}function r(){var s=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:s,height:e}}function i(){var s=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:s,height:e}}function n(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function t(s){var e=s.getBoundingClientRect(),a=document.documentElement;return{left:e.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},"y1t/":function(H,k,d){"use strict";d.d(k,"a",function(){return _});function _(x){if(x==null)throw new TypeError("Cannot destructure undefined")}},y23F:function(H,k){function d(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}d.prototype={constructor:d,_dragStart:function(A){for(var b=A.target;b&&!b.draggable;)b=b.parent;b&&(this._draggingTarget=b,b.dragging=!0,this._x=A.offsetX,this._y=A.offsetY,this.dispatchToElement(_(b,A),"dragstart",A.event))},_drag:function(A){var b=this._draggingTarget;if(b){var m=A.offsetX,p=A.offsetY,c=m-this._x,o=p-this._y;this._x=m,this._y=p,b.drift(c,o,A),this.dispatchToElement(_(b,A),"drag",A.event);var r=this.findHover(m,p,b).target,i=this._dropTarget;this._dropTarget=r,b!==r&&(i&&r!==i&&this.dispatchToElement(_(i,A),"dragleave",A.event),r&&r!==i&&this.dispatchToElement(_(r,A),"dragenter",A.event))}},_dragEnd:function(A){var b=this._draggingTarget;b&&(b.dragging=!1),this.dispatchToElement(_(b,A),"dragend",A.event),this._dropTarget&&this.dispatchToElement(_(this._dropTarget,A),"drop",A.event),this._draggingTarget=null,this._dropTarget=null}};function _(C,A){return{target:C,topTarget:A&&A.topTarget}}var x=d;H.exports=x},y2l5:function(H,k,d){var _=d("MwEJ"),x=d("T4UG"),C=x.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(A,b){return _(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var A=this.option.progressive;return A==null?this.option.large?5e3:this.get("progressive"):A},getProgressiveThreshold:function(){var A=this.option.progressiveThreshold;return A==null?this.option.large?1e4:this.get("progressiveThreshold"):A},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});H.exports=C},y3Kf:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="UpOutlined";var p=k.a=x.forwardRef(m)},y3NT:function(H,k,d){var _=d("OELB"),x=_.parsePercent,C=d("bYtY"),A=Math.PI/180;function b(c,o,r,i){o.eachSeriesByType(c,function(n){var t=n.get("center"),s=n.get("radius");C.isArray(s)||(s=[0,s]),C.isArray(t)||(t=[t,t]);var e=r.getWidth(),a=r.getHeight(),l=Math.min(e,a),u=x(t[0],e),h=x(t[1],a),f=x(s[0],l/2),g=x(s[1],l/2),v=-n.get("startAngle")*A,y=n.get("minAngle")*A,E=n.getData().tree.root,T=n.getViewRoot(),w=T.depth,S=n.get("sort");S!=null&&m(T,S);var I=0;C.each(T.children,function(z){!isNaN(z.getValue())&&I++});var L=T.getValue(),O=Math.PI/(L||I)*2,N=T.depth>0,R=T.height-(N?-1:1),D=(g-f)/(R||1),B=n.get("clockwise"),M=n.get("stillShowZeroSum"),U=B?1:-1,F=function(z,Y){if(!z)return;var J=Y;if(z!==E){var ie=z.getValue(),Z=L===0&&M?O:ie*O;Z<y&&(Z=y),J=Y+U*Z;var oe=z.depth-w-(N?-1:1),ge=f+D*oe,pe=f+D*(oe+1),De=z.getModel();De.get("r0")!=null&&(ge=x(De.get("r0"),l/2)),De.get("r")!=null&&(pe=x(De.get("r"),l/2)),z.setLayout({angle:Z,startAngle:Y,endAngle:J,clockwise:B,cx:u,cy:h,r0:ge,r:pe})}if(z.children&&z.children.length){var ce=0;C.each(z.children,function(Oe){ce+=F(Oe,Y+ce)})}return J-Y};if(N){var j=f,W=f+D,V=Math.PI*2;E.setLayout({angle:V,startAngle:v,endAngle:v+V,clockwise:B,cx:u,cy:h,r0:j,r:W})}F(T,v)})}function m(c,o){var r=c.children||[];c.children=p(r,o),r.length&&C.each(c.children,function(i){m(i,o)})}function p(c,o){if(typeof o=="function")return c.sort(o);var r=o==="asc";return c.sort(function(i,n){var t=(i.getValue()-n.getValue())*(r?1:-1);return t===0?(i.dataIndex-n.dataIndex)*(r?-1:1):t})}H.exports=b},y3Yb:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("HBhm")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="PaperClipOutlined";var c=A.forwardRef(p);k.default=c},"y4/Y":function(H,k,d){var _=d("ProS"),x=d("bYtY"),C=d("zTMp"),A=d("62sa");d("SKx+"),d("1LEl"),d("Sp2Z"),_.registerPreprocessor(function(b){if(b){(!b.axisPointer||b.axisPointer.length===0)&&(b.axisPointer={});var m=b.axisPointer.link;m&&!x.isArray(m)&&(b.axisPointer.link=[m])}}),_.registerProcessor(_.PRIORITY.PROCESSOR.STATISTIC,function(b,m){b.getComponent("axisPointer").coordSysAxesInfo=C.collect(b,m)}),_.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},A)},y7Aq:function(H,k,d){var _=d("bYtY"),x=d("+TT/"),C=x.getLayoutRect;function A(m,p,c){var o=m.option,r=o.align;if(r!=null&&r!=="auto")return r;for(var i={width:p.getWidth(),height:p.getHeight()},n=o.orient==="horizontal"?1:0,t=[["left","right","width"],["top","bottom","height"]],s=t[n],e=[0,null,10],a={},l=0;l<3;l++)a[t[1-n][l]]=e[l],a[s[l]]=l===2?c[0]:o[s[l]];var u=[["x","width",3],["y","height",0]][n],h=C(a,i,o.padding);return s[(h.margin[u[2]]||0)+h[u[0]]+h[u[1]]*.5<i[u[1]]*.5?0:1]}function b(m,p){return _.each(m||[],function(c){c.dataIndex!=null&&(c.dataIndexInside=c.dataIndex,c.dataIndex=null),c.highlightKey="visualMap"+(p?p.componentIndex:"")}),m}k.getItemAlign=A,k.makeHighDownBatch=b},y8nQ:function(H,k,d){"use strict";var _=d("cIOH"),x=d.n(_),C=d("gwTy"),A=d.n(C),b=d("1GLa")},yEEn:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="ArrowDownOutlined";var p=k.a=x.forwardRef(m)},yO87:function(H,k,d){var _=d("bYtY"),x=d("oVpE"),C=x.createSymbol,A=d("IwbS"),b=A.Group,m=d("OELB"),p=m.parsePercent,c=d("FBjb"),o=3;function r(e){return _.isArray(e)||(e=[+e,+e]),e}function i(e,a){var l=a.rippleEffectColor||a.color;e.eachChild(function(u){u.attr({z:a.z,zlevel:a.zlevel,style:{stroke:a.brushType==="stroke"?l:null,fill:a.brushType==="fill"?l:null}})})}function n(e,a){b.call(this);var l=new c(e,a),u=new b;this.add(l),this.add(u),u.beforeUpdate=function(){this.attr(l.getScale())},this.updateData(e,a)}var t=n.prototype;t.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.startEffectAnimation=function(e){for(var a=e.symbolType,l=e.color,u=this.childAt(1),h=0;h<o;h++){var f=C(a,-1,-1,2,2,l);f.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var g=-h/o*e.period+e.effectOffset;f.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(g).start(),f.animateStyle(!0).when(e.period,{opacity:0}).delay(g).start(),u.add(f)}i(u,e)},t.updateEffectAnimation=function(e){for(var a=this._effectCfg,l=this.childAt(1),u=["symbolType","period","rippleScale"],h=0;h<u.length;h++){var f=u[h];if(a[f]!==e[f]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}i(l,e)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateData=function(e,a){var l=e.hostModel;this.childAt(0).updateData(e,a);var u=this.childAt(1),h=e.getItemModel(a),f=e.getItemVisual(a,"symbol"),g=r(e.getItemVisual(a,"symbolSize")),v=e.getItemVisual(a,"color");u.attr("scale",g),u.traverse(function(O){O.attr({fill:v})});var y=h.getShallow("symbolOffset");if(y){var E=u.position;E[0]=p(y[0],g[0]),E[1]=p(y[1],g[1])}var T=e.getItemVisual(a,"symbolRotate");u.rotation=(T||0)*Math.PI/180||0;var w={};if(w.showEffectOn=l.get("showEffectOn"),w.rippleScale=h.get("rippleEffect.scale"),w.brushType=h.get("rippleEffect.brushType"),w.period=h.get("rippleEffect.period")*1e3,w.effectOffset=a/e.count(),w.z=h.getShallow("z")||0,w.zlevel=h.getShallow("zlevel")||0,w.symbolType=f,w.color=v,w.rippleEffectColor=h.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),w.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(w):this.startEffectAnimation(w),this._effectCfg=w;else{this._effectCfg=null,this.stopEffectAnimation();var S=this.childAt(0),I=function(){S.highlight(),w.showEffectOn!=="render"&&this.startEffectAnimation(w)},L=function(){S.downplay(),w.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",I,this).on("mouseout",L,this).on("emphasis",I,this).on("normal",L,this)}this._effectCfg=w},t.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},_.inherits(n,b);var s=n;H.exports=s},yS9w:function(H,k,d){var _=d("MEGo"),x=_.parseSVG,C=_.makeViewBoxTransform,A=d("4fz+"),b=d("x6Kt"),m=d("bYtY"),p=m.assert,c=m.createHashMap,o=d("mFDi"),r=d("4NO4"),i=r.makeInner,n=i(),t={load:function(e,a){var l=n(a).originRoot;if(l)return{root:l,boundingRect:n(a).boundingRect};var u=s(a);return n(a).originRoot=u.root,n(a).boundingRect=u.boundingRect,u},makeGraphic:function(e,a,l){var u=n(a),h=u.rootMap||(u.rootMap=c()),f=h.get(l);if(f)return f;var g=u.originRoot,v=u.boundingRect;return u.originRootHostKey?f=s(a,v).root:(u.originRootHostKey=l,f=g),h.set(l,f)},removeGraphic:function(e,a,l){var u=n(a),h=u.rootMap;h&&h.removeKey(l),l===u.originRootHostKey&&(u.originRootHostKey=null)}};function s(e,a){var l=e.svgXML,u,h;try{u=l&&x(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},h=u.root,p(h!=null)}catch(T){throw new Error(`Invalid svg format
`+T.message)}var f=u.width,g=u.height,v=u.viewBoxRect;if(a||(a=f==null||g==null?h.getBoundingRect():new o(0,0,0,0),f!=null&&(a.width=f),g!=null&&(a.height=g)),v){var y=C(v,a.width,a.height),E=h;h=new A,h.add(E),E.scale=y.scale,E.position=y.position}return h.setClipPath(new b({shape:a.plain()})),{root:h,boundingRect:a}}H.exports=t},yWXo:function(H,k,d){var _=d("IwbS"),x=d("oVpE"),C=x.createSymbol,A=d("OS9S"),b=4,m=_.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(r,i){var n=i.points,t=i.size,s=this.symbolProxy,e=s.shape,a=r.getContext?r.getContext():r,l=a&&t[0]<b;if(l)return;for(var u=0;u<n.length;){var h=n[u++],f=n[u++];if(isNaN(h)||isNaN(f))continue;if(this.softClipShape&&!this.softClipShape.contain(h,f))continue;e.x=h-t[0]/2,e.y=f-t[1]/2,e.width=t[0],e.height=t[1],s.buildPath(r,e,!0)}},afterBrush:function(r){var i=this.shape,n=i.points,t=i.size,s=t[0]<b;if(!s)return;this.setTransform(r);for(var e=0;e<n.length;){var a=n[e++],l=n[e++];if(isNaN(a)||isNaN(l))continue;if(this.softClipShape&&!this.softClipShape.contain(a,l))continue;r.fillRect(a-t[0]/2,l-t[1]/2,t[0],t[1])}this.restoreTransform(r)},findDataIndex:function(r,i){for(var n=this.shape,t=n.points,s=n.size,e=Math.max(s[0],4),a=Math.max(s[1],4),l=t.length/2-1;l>=0;l--){var u=l*2,h=t[u]-e/2,f=t[u+1]-a/2;if(r>=h&&i>=f&&r<=h+e&&i<=f+a)return l}return-1}});function p(){this.group=new _.Group}var c=p.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(r,i){this.group.removeAll();var n=new m({rectHover:!0,cursor:"default"});n.setShape({points:r.getLayout("symbolPoints")}),this._setCommon(n,r,!1,i),this.group.add(n),this._incremental=null},c.updateLayout=function(r){if(this._incremental)return;var i=r.getLayout("symbolPoints");this.group.eachChild(function(n){if(n.startIndex!=null){var t=(n.endIndex-n.startIndex)*2,s=n.startIndex*4*2;i=new Float32Array(i.buffer,s,t)}n.setShape("points",i)})},c.incrementalPrepareUpdate=function(r){this.group.removeAll(),this._clearIncremental(),r.count()>2e6?(this._incremental||(this._incremental=new A({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(r,i,n){var t;this._incremental?(t=new m,this._incremental.addDisplayable(t,!0)):(t=new m({rectHover:!0,cursor:"default",startIndex:r.start,endIndex:r.end}),t.incremental=!0,this.group.add(t)),t.setShape({points:i.getLayout("symbolPoints")}),this._setCommon(t,i,!!this._incremental,n)},c._setCommon=function(r,i,n,t){var s=i.hostModel;t=t||{};var e=i.getVisual("symbolSize");r.setShape("size",e instanceof Array?e:[e,e]),r.softClipShape=t.clipShape||null,r.symbolProxy=C(i.getVisual("symbol"),0,0,0,0),r.setColor=r.symbolProxy.setColor;var a=r.shape.size[0]<b;r.useStyle(s.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var l=i.getVisual("color");l&&r.setColor(l),n||(r.seriesIndex=s.seriesIndex,r.on("mousemove",function(u){r.dataIndex=null;var h=r.findDataIndex(u.offsetX,u.offsetY);h>=0&&(r.dataIndex=h+(r.startIndex||0))}))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var o=p;H.exports=o},ycre:function(H,k,d){var _=d("711d"),x=_("length");H.exports=x},ye1Q:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="LoadingOutlined";var p=k.a=x.forwardRef(m)},ygfH:function(H,k,d){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var _={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"};k.default=_},yik8:function(H,k,d){var _=d("bZqE"),x=_.eachAfter,C=_.eachBefore,A=d("Itpr"),b=A.init,m=A.firstWalk,p=A.secondWalk,c=A.separation,o=A.radialCoordinate,r=A.getViewRect;function i(t,s){t.eachSeriesByType("tree",function(e){n(e,s)})}function n(t,s){var e=r(t,s);t.layoutInfo=e;var a=t.get("layout"),l=0,u=0,h=null;a==="radial"?(l=2*Math.PI,u=Math.min(e.height,e.width)/2,h=c(function(R,D){return(R.parentNode===D.parentNode?1:2)/R.depth})):(l=e.width,u=e.height,h=c());var f=t.getData().tree.root,g=f.children[0];if(g){b(f),x(g,m,h),f.hierNode.modifier=-g.hierNode.prelim,C(g,p);var v=g,y=g,E=g;C(g,function(R){var D=R.getLayout().x;D<v.getLayout().x&&(v=R),D>y.getLayout().x&&(y=R),R.depth>E.depth&&(E=R)});var T=v===y?1:h(v,y)/2,w=T-v.getLayout().x,S=0,I=0,L=0,O=0;if(a==="radial")S=l/(y.getLayout().x+T+w),I=u/(E.depth-1||1),C(g,function(R){L=(R.getLayout().x+w)*S,O=(R.depth-1)*I;var D=o(L,O);R.setLayout({x:D.x,y:D.y,rawX:L,rawY:O},!0)});else{var N=t.getOrient();N==="RL"||N==="LR"?(I=u/(y.getLayout().x+T+w),S=l/(E.depth-1||1),C(g,function(R){O=(R.getLayout().x+w)*I,L=N==="LR"?(R.depth-1)*S:l-(R.depth-1)*S,R.setLayout({x:L,y:O},!0)})):(N==="TB"||N==="BT")&&(S=l/(y.getLayout().x+T+w),I=u/(E.depth-1||1),C(g,function(R){L=(R.getLayout().x+w)*S,O=N==="TB"?(R.depth-1)*I:u-(R.depth-1)*I,R.setLayout({x:L,y:O},!0)}))}}}H.exports=i},ynwM:function(H,k,d){var _=d("MFOe"),x=_.Global;H.exports={name:"oldFF-globalStorage",read:A,write:b,each:m,remove:p,clearAll:c};var C=x.globalStorage;function A(o){return C[o]}function b(o,r){C[o]=r}function m(o){for(var r=C.length-1;r>=0;r--){var i=C.key(r);o(C[i],i)}}function p(o){return C.removeItem(o)}function c(){m(function(o,r){delete C[o]})}},ypgQ:function(H,k,d){var _=d("bYtY"),x=d("4NO4"),C=d("bLfw"),A=_.each,b=_.clone,m=_.map,p=_.merge,c=/^(min|max)?(.+)$/;function o(a){this._api=a,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}o.prototype={constructor:o,setOption:function(a,l){a&&_.each(x.normalizeToArray(a.series),function(f){f&&f.data&&_.isTypedArray(f.data)&&_.setAsPrimitive(f.data)}),a=b(a);var u=this._optionBackup,h=r.call(this,a,l,!u);this._newBaseOption=h.baseOption,u?(s(u.baseOption,h.baseOption),h.timelineOptions.length&&(u.timelineOptions=h.timelineOptions),h.mediaList.length&&(u.mediaList=h.mediaList),h.mediaDefault&&(u.mediaDefault=h.mediaDefault)):this._optionBackup=h},mountOption:function(a){var l=this._optionBackup;return this._timelineOptions=m(l.timelineOptions,b),this._mediaList=m(l.mediaList,b),this._mediaDefault=b(l.mediaDefault),this._currentMediaIndices=[],b(a?l.baseOption:this._newBaseOption)},getTimelineOption:function(a){var l,u=this._timelineOptions;if(u.length){var h=a.getComponent("timeline");h&&(l=b(u[h.getCurrentIndex()],!0))}return l},getMediaOption:function(a){var l=this._api.getWidth(),u=this._api.getHeight(),h=this._mediaList,f=this._mediaDefault,g=[],v=[];if(!h.length&&!f)return v;for(var y=0,E=h.length;y<E;y++)i(h[y].query,l,u)&&g.push(y);return!g.length&&f&&(g=[-1]),g.length&&!t(g,this._currentMediaIndices)&&(v=m(g,function(T){return b(T===-1?f.option:h[T].option)})),this._currentMediaIndices=g,v}};function r(a,l,u){var h=[],f=[],g,v,y=a.timeline;if(a.baseOption&&(v=a.baseOption),(y||a.options)&&(v=v||{},h=(a.options||[]).slice()),a.media){v=v||{};var E=a.media;A(E,function(T){T&&T.option&&(T.query?f.push(T):g||(g=T))})}return v||(v=a),v.timeline||(v.timeline=y),A([v].concat(h).concat(_.map(f,function(T){return T.option})),function(T){A(l,function(w){w(T,u)})}),{baseOption:v,timelineOptions:h,mediaDefault:g,mediaList:f}}function i(a,l,u){var h={width:l,height:u,aspectratio:l/u},f=!0;return _.each(a,function(g,v){var y=v.match(c);if(!y||!y[1]||!y[2])return;var E=y[1],T=y[2].toLowerCase();n(h[T],g,E)||(f=!1)}),f}function n(a,l,u){return u==="min"?a>=l:u==="max"?a<=l:a===l}function t(a,l){return a.join(",")===l.join(",")}function s(a,l){l=l||{},A(l,function(u,h){if(u==null)return;var f=a[h];if(!C.hasClass(h))a[h]=p(f,u,!0);else{u=x.normalizeToArray(u),f=x.normalizeToArray(f);var g=x.mappingToExists(f,u);a[h]=m(g,function(v){return v.option&&v.exist?p(v.exist,v.option,!0):v.exist||v.option})}})}var e=o;H.exports=e},yxFR:function(H,k,d){var _=d("y+Vt"),x=d("nPnh"),C=x.subPixelOptimizeLine,A={},b=_.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(p,c){var o,r,i,n;this.subPixelOptimize?(C(A,c,this.style),o=A.x1,r=A.y1,i=A.x2,n=A.y2):(o=c.x1,r=c.y1,i=c.x2,n=c.y2);var t=c.percent;if(t===0)return;p.moveTo(o,r),t<1&&(i=o*(1-t)+i*t,n=r*(1-t)+n*t),p.lineTo(i,n)},pointAt:function(p){var c=this.shape;return[c.x1*(1-p)+c.x2*p,c.y1*(1-p)+c.y2*p]}});H.exports=b},z35g:function(H,k,d){var _=d("bYtY");function x(b){return this._axes[b]}var C=function(b){this._axes={},this._dimList=[],this.name=b||""};C.prototype={constructor:C,type:"cartesian",getAxis:function(b){return this._axes[b]},getAxes:function(){return _.map(this._dimList,x,this)},getAxesByScale:function(b){return b=b.toLowerCase(),_.filter(this.getAxes(),function(m){return m.scale.type===b})},addAxis:function(b){var m=b.dim;this._axes[m]=b,this._dimList.push(m)},dataToCoord:function(b){return this._dataCoordConvert(b,"dataToCoord")},coordToData:function(b){return this._dataCoordConvert(b,"coordToData")},_dataCoordConvert:function(b,m){for(var p=this._dimList,c=b instanceof Array?[]:{},o=0;o<p.length;o++){var r=p[o],i=this._axes[r];c[r]=i[m](b[r])}return c}};var A=C;H.exports=A},z7Xi:function(H,k,d){"use strict";var _=d("VTBJ"),x=d("q1tI"),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},A=C,b=d("6VBw"),m=function(o,r){return x.createElement(b.a,Object(_.a)(Object(_.a)({},o),{},{ref:r,icon:A}))};m.displayName="UploadOutlined";var p=k.a=x.forwardRef(m)},zAh6:function(H,k,d){"use strict";d.d(k,"a",function(){return b});var _=d("xEkU"),x=d.n(_),C=d("i6bk");function A(m,p,c,o){var r=c-p;return m/=o/2,m<1?r/2*m*m*m+p:r/2*((m-=2)*m*m+2)+p}function b(m){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=p.getContainer,o=c===void 0?function(){return window}:c,r=p.callback,i=p.duration,n=i===void 0?450:i,t=o(),s=Object(C.a)(t,!0),e=Date.now(),a=function l(){var u=Date.now(),h=u-e,f=A(h>n?n:h,s,m,n);Object(C.b)(t)?t.scrollTo(window.pageXOffset,f):t instanceof HTMLDocument||t.constructor.name==="HTMLDocument"?t.documentElement.scrollTop=f:t.scrollTop=f,h<n?x()(l):typeof r=="function"&&r()};x()(a)}},zDms:function(H,k,d){var _=d("bYtY"),x=d("OELB"),C=d("UOVi"),A=d("72pK"),b=_.each,m=x.asc,p=function(t,s,e,a){this._dimName=t,this._axisIndex=s,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=a,this._dataZoomModel=e};p.prototype={constructor:p,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],s=this.ecModel;return s.eachSeries(function(e){if(C.isCoordSupported(e.get("coordinateSystem"))){var a=this._dimName,l=s.queryComponents({mainType:a+"Axis",index:e.get(a+"AxisIndex"),id:e.get(a+"AxisId")})[0];this._axisIndex===(l&&l.componentIndex)&&t.push(e)}},this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t=this._dimName,s=this.ecModel,e=this.getAxisModel(),a=t==="x"||t==="y",l,u;a?(u="gridIndex",l=t==="x"?"y":"x"):(u="polarIndex",l=t==="angle"?"radius":"angle");var h;return s.eachComponent(l+"Axis",function(f){(f.get(u)||0)===(e.get(u)||0)&&(h=f)}),h},getMinMaxSpan:function(){return _.clone(this._minMaxSpan)},calculateDataWindow:function(t){var s=this._dataExtent,e=this.getAxisModel(),a=e.axis.scale,l=this._dataZoomModel.getRangePropMode(),u=[0,100],h=[],f=[],g;b(["start","end"],function(E,T){var w=t[E],S=t[E+"Value"];l[T]==="percent"?(w==null&&(w=u[T]),S=a.parse(x.linearMap(w,u,s))):(g=!0,S=S==null?s[T]:a.parse(S),w=x.linearMap(S,s,u)),f[T]=S,h[T]=w}),m(f),m(h);var v=this._minMaxSpan;g?y(f,h,s,u,!1):y(h,f,u,s,!0);function y(E,T,w,S,I){var L=I?"Span":"ValueSpan";A(0,E,w,"all",v["min"+L],v["max"+L]);for(var O=0;O<2;O++)T[O]=x.linearMap(E[O],w,S,!0),I&&(T[O]=a.parse(T[O]))}return{valueWindow:f,percentWindow:h}},reset:function(t){if(t!==this._dataZoomModel)return;var s=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,s),i(this);var e=this.calculateDataWindow(t.settledOption);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,r(this)},restore:function(t){if(t!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,r(this,!0)},filterData:function(t,s){if(t!==this._dataZoomModel)return;var e=this._dimName,a=this.getTargetSeriesModels(),l=t.get("filterMode"),u=this._valueWindow;if(l==="none")return;b(a,function(f){var g=f.getData(),v=g.mapDimension(e,!0);if(!v.length)return;l==="weakFilter"?g.filterSelf(function(y){for(var E,T,w,S=0;S<v.length;S++){var I=g.get(v[S],y),L=!isNaN(I),O=I<u[0],N=I>u[1];if(L&&!O&&!N)return!0;L&&(w=!0),O&&(E=!0),N&&(T=!0)}return w&&E&&T}):b(v,function(y){if(l==="empty")f.setData(g=g.map(y,function(T){return h(T)?T:NaN}));else{var E={};E[y]=u,g.selectRange(E)}}),b(v,function(y){g.setApproximateExtent(u,y)})});function h(f){return f>=u[0]&&f<=u[1]}}};function c(t,s,e){var a=[Infinity,-Infinity];return b(e,function(l){var u=l.getData();u&&b(u.mapDimension(s,!0),function(h){var f=u.getApproximateExtent(h);f[0]<a[0]&&(a[0]=f[0]),f[1]>a[1]&&(a[1]=f[1])})}),a[1]<a[0]&&(a=[NaN,NaN]),o(t,a),a}function o(t,s){var e=t.getAxisModel(),a=e.getMin(!0),l=e.get("type")==="category",u=l&&e.getCategories().length;a!=null&&a!=="dataMin"&&typeof a!="function"?s[0]=a:l&&(s[0]=u>0?0:NaN);var h=e.getMax(!0);return h!=null&&h!=="dataMax"&&typeof h!="function"?s[1]=h:l&&(s[1]=u>0?u-1:NaN),e.get("scale",!0)||(s[0]>0&&(s[0]=0),s[1]<0&&(s[1]=0)),s}function r(t,s){var e=t.getAxisModel(),a=t._percentWindow,l=t._valueWindow;if(!a)return;var u=x.getPixelPrecision(l,[0,500]);u=Math.min(u,20);var h=s||a[0]===0&&a[1]===100;e.setRange(h?null:+l[0].toFixed(u),h?null:+l[1].toFixed(u))}function i(t){var s=t._minMaxSpan={},e=t._dataZoomModel,a=t._dataExtent;b(["min","max"],function(l){var u=e.get(l+"Span"),h=e.get(l+"ValueSpan");h!=null&&(h=t.getAxisModel().axis.scale.parse(h)),h!=null?u=x.linearMap(a[0]+h,a,[0,100],!0):u!=null&&(h=x.linearMap(u,[0,100],a,!0)-a[0]),s[l+"Span"]=u,s[l+"ValueSpan"]=h})}var n=p;H.exports=n},zM3Q:function(H,k,d){var _=d("4NO4"),x=_.makeInner;function C(){var A=x();return function(b){var m=A(b),p=b.pipelineContext,c=m.large,o=m.progressiveRender,r=m.large=p&&p.large,i=m.progressiveRender=p&&p.progressiveRender;return!!(c^r||o^i)&&"reset"}}H.exports=C},zRKj:function(H,k,d){d("Ae16"),d("Sp2Z"),d("y4/Y")},zTMp:function(H,k,d){var _=d("bYtY"),x=d("Qxkt"),C=_.each,A=_.curry;function b(a,l){var u={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return m(u,a,l),u.seriesInvolved&&c(u,a),u}function m(a,l,u){var h=l.getComponent("tooltip"),f=l.getComponent("axisPointer"),g=f.get("link",!0)||[],v=[];C(u.getCoordinateSystems(),function(y){if(!y.axisPointerEnabled)return;var E=e(y.model),T=a.coordSysAxesInfo[E]={};a.coordSysMap[E]=y;var w=y.model,S=w.getModel("tooltip",h);if(C(y.getAxes(),A(N,!1,null)),y.getTooltipAxes&&h&&S.get("show")){var I=S.get("trigger")==="axis",L=S.get("axisPointer.type")==="cross",O=y.getTooltipAxes(S.get("axisPointer.axis"));(I||L)&&C(O.baseAxes,A(N,L?"cross":!0,I)),L&&C(O.otherAxes,A(N,"cross",!1))}function N(R,D,B){var M=B.model.getModel("axisPointer",f),U=M.get("show");if(!U||U==="auto"&&!R&&!s(M))return;D==null&&(D=M.get("triggerTooltip")),M=R?p(B,S,f,l,R,D):M;var F=M.get("snap"),j=e(B.model),W=D||F||B.type==="category",V=a.axesInfo[j]={key:j,axis:B,coordSys:y,axisPointerModel:M,triggerTooltip:D,involveSeries:W,snap:F,useHandle:s(M),seriesModels:[]};T[j]=V,a.seriesInvolved|=W;var z=o(g,B);if(z!=null){var Y=v[z]||(v[z]={axesInfo:{}});Y.axesInfo[j]=V,Y.mapper=g[z].mapper,V.linkGroup=Y}}})}function p(a,l,u,h,f,g){var v=l.getModel("axisPointer"),y={};C(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(S){y[S]=_.clone(v.get(S))}),y.snap=a.type!=="category"&&!!g,v.get("type")==="cross"&&(y.type="line");var E=y.label||(y.label={});if(E.show==null&&(E.show=!1),f==="cross"){var T=v.get("label.show");if(E.show=T!=null?T:!0,!g){var w=y.lineStyle=v.get("crossStyle");w&&_.defaults(E,w.textStyle)}}return a.model.getModel("axisPointer",new x(y,u,h))}function c(a,l){l.eachSeries(function(u){var h=u.coordinateSystem,f=u.get("tooltip.trigger",!0),g=u.get("tooltip.show",!0);if(!h||f==="none"||f===!1||f==="item"||g===!1||u.get("axisPointer.show",!0)===!1)return;C(a.coordSysAxesInfo[e(h.model)],function(v){var y=v.axis;h.getAxis(y.dim)===y&&(v.seriesModels.push(u),v.seriesDataCount==null&&(v.seriesDataCount=0),v.seriesDataCount+=u.getData().count())})},this)}function o(a,l){for(var u=l.model,h=l.dim,f=0;f<a.length;f++){var g=a[f]||{};if(r(g[h+"AxisId"],u.id)||r(g[h+"AxisIndex"],u.componentIndex)||r(g[h+"AxisName"],u.name))return f}}function r(a,l){return a==="all"||_.isArray(a)&&_.indexOf(a,l)>=0||a===l}function i(a){var l=n(a);if(!l)return;var u=l.axisPointerModel,h=l.axis.scale,f=u.option,g=u.get("status"),v=u.get("value");v!=null&&(v=h.parse(v));var y=s(u);g==null&&(f.status=y?"show":"hide");var E=h.getExtent().slice();E[0]>E[1]&&E.reverse(),(v==null||v>E[1])&&(v=E[1]),v<E[0]&&(v=E[0]),f.value=v,y&&(f.status=l.axis.scale.isBlank()?"hide":"show")}function n(a){var l=(a.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return l&&l.axesInfo[e(a)]}function t(a){var l=n(a);return l&&l.axisPointerModel}function s(a){return!!a.get("handle.show")}function e(a){return a.type+"||"+a.id}k.collect=b,k.fixValue=i,k.getAxisInfo=n,k.getAxisPointerModel=t,k.makeKey=e},zYTA:function(H,k,d){var _=d("bYtY"),x=256;function C(){var b=_.createCanvas();this.canvas=b,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}C.prototype={update:function(b,m,p,c,o,r){var i=this._getBrush(),n=this._getGradient(b,o,"inRange"),t=this._getGradient(b,o,"outOfRange"),s=this.pointSize+this.blurSize,e=this.canvas,a=e.getContext("2d"),l=b.length;e.width=m,e.height=p;for(var u=0;u<l;++u){var h=b[u],f=h[0],g=h[1],v=h[2],y=c(v);a.globalAlpha=y,a.drawImage(i,f-s,g-s)}if(!e.width||!e.height)return e;for(var E=a.getImageData(0,0,e.width,e.height),T=E.data,w=0,S=T.length,I=this.minOpacity,L=this.maxOpacity,O=L-I;w<S;){var y=T[w+3]/256,N=Math.floor(y*(x-1))*4;if(y>0){var R=r(y)?n:t;y>0&&(y=y*O+I),T[w++]=R[N],T[w++]=R[N+1],T[w++]=R[N+2],T[w++]=R[N+3]*y*256}else w+=4}return a.putImageData(E,0,0),e},_getBrush:function(){var b=this._brushCanvas||(this._brushCanvas=_.createCanvas()),m=this.pointSize+this.blurSize,p=m*2;b.width=p,b.height=p;var c=b.getContext("2d");return c.clearRect(0,0,p,p),c.shadowOffsetX=p,c.shadowBlur=this.blurSize,c.shadowColor="#000",c.beginPath(),c.arc(-m,m,this.pointSize,0,Math.PI*2,!0),c.closePath(),c.fill(),b},_getGradient:function(b,m,p){for(var c=this._gradientPixels,o=c[p]||(c[p]=new Uint8ClampedArray(256*4)),r=[0,0,0,0],i=0,n=0;n<256;n++)m[p](n/255,!0,r),o[i++]=r[0],o[i++]=r[1],o[i++]=r[2],o[i++]=r[3];return o}};var A=C;H.exports=A},zarK:function(H,k,d){var _=d("YH21"),x=_.addEventListener,C=_.removeEventListener,A=_.normalizeEvent,b=_.getNativeEvent,m=d("bYtY"),p=d("H6uX"),c=d("ItGF"),o=300,r=c.domSupported,i=function(){var R=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],D=["touchstart","touchend","touchmove"],B={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},M=m.map(R,function(U){var F=U.replace("mouse","pointer");return B.hasOwnProperty(F)?F:U});return{mouse:R,touch:D,pointer:M}}(),n={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function t(R){return R==="mousewheel"&&c.browser.firefox?"DOMMouseScroll":R}function s(R){var D=R.pointerType;return D==="pen"||D==="touch"}function e(R){R.touching=!0,R.touchTimer!=null&&(clearTimeout(R.touchTimer),R.touchTimer=null),R.touchTimer=setTimeout(function(){R.touching=!1,R.touchTimer=null},700)}function a(R){R&&(R.zrByTouch=!0)}function l(R,D){return A(R.dom,new h(R,D),!0)}function u(R,D){for(var B=D,M=!1;B&&B.nodeType!==9&&!(M=B.domBelongToZr||B!==D&&B===R.painterRoot);)B=B.parentNode;return M}function h(R,D){this.type=D.type,this.target=this.currentTarget=R.dom,this.pointerType=D.pointerType,this.clientX=D.clientX,this.clientY=D.clientY}var f=h.prototype;f.stopPropagation=f.stopImmediatePropagation=f.preventDefault=m.noop;var g={mousedown:function(D){D=A(this.dom,D),this._mayPointerCapture=[D.zrX,D.zrY],this.trigger("mousedown",D)},mousemove:function(D){D=A(this.dom,D);var B=this._mayPointerCapture;B&&(D.zrX!==B[0]||D.zrY!==B[1])&&S(this,!0),this.trigger("mousemove",D)},mouseup:function(D){D=A(this.dom,D),S(this,!1),this.trigger("mouseup",D)},mouseout:function(D){D=A(this.dom,D),this._pointerCapturing&&(D.zrEventControl="no_globalout");var B=D.toElement||D.relatedTarget;D.zrIsToLocalDOM=u(this,B),this.trigger("mouseout",D)},touchstart:function(D){D=A(this.dom,D),a(D),this._lastTouchMoment=new Date,this.handler.processGesture(D,"start"),g.mousemove.call(this,D),g.mousedown.call(this,D)},touchmove:function(D){D=A(this.dom,D),a(D),this.handler.processGesture(D,"change"),g.mousemove.call(this,D)},touchend:function(D){D=A(this.dom,D),a(D),this.handler.processGesture(D,"end"),g.mouseup.call(this,D),+new Date-this._lastTouchMoment<o&&g.click.call(this,D)},pointerdown:function(D){g.mousedown.call(this,D)},pointermove:function(D){s(D)||g.mousemove.call(this,D)},pointerup:function(D){g.mouseup.call(this,D)},pointerout:function(D){s(D)||g.mouseout.call(this,D)}};m.each(["click","mousewheel","dblclick","contextmenu"],function(R){g[R]=function(D){D=A(this.dom,D),this.trigger(R,D)}});var v={pointermove:function(D){s(D)||v.mousemove.call(this,D)},pointerup:function(D){v.mouseup.call(this,D)},mousemove:function(D){this.trigger("mousemove",D)},mouseup:function(D){var B=this._pointerCapturing;S(this,!1),this.trigger("mouseup",D),B&&(D.zrEventControl="only_globalout",this.trigger("mouseout",D))}};function y(R,D){var B=D.domHandlers;c.pointerEventsSupported?m.each(i.pointer,function(M){T(D,M,function(U){B[M].call(R,U)})}):(c.touchEventsSupported&&m.each(i.touch,function(M){T(D,M,function(U){B[M].call(R,U),e(D)})}),m.each(i.mouse,function(M){T(D,M,function(U){U=b(U),D.touching||B[M].call(R,U)})}))}function E(R,D){c.pointerEventsSupported?m.each(n.pointer,B):c.touchEventsSupported||m.each(n.mouse,B);function B(M){function U(F){F=b(F),u(R,F.target)||(F=l(R,F),D.domHandlers[M].call(R,F))}T(D,M,U,{capture:!0})}}function T(R,D,B,M){R.mounted[D]=B,R.listenerOpts[D]=M,x(R.domTarget,t(D),B,M)}function w(R){var D=R.mounted;for(var B in D)D.hasOwnProperty(B)&&C(R.domTarget,t(B),D[B],R.listenerOpts[B]);R.mounted={}}function S(R,D){if(R._mayPointerCapture=null,r&&R._pointerCapturing^D){R._pointerCapturing=D;var B=R._globalHandlerScope;D?E(R,B):w(B)}}function I(R,D){this.domTarget=R,this.domHandlers=D,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(R,D){p.call(this),this.dom=R,this.painterRoot=D,this._localHandlerScope=new I(R,g),r&&(this._globalHandlerScope=new I(document,v)),this._pointerCapturing=!1,this._mayPointerCapture=null,y(this,this._localHandlerScope)}var O=L.prototype;O.dispose=function(){w(this._localHandlerScope),r&&w(this._globalHandlerScope)},O.setCursor=function(R){this.dom.style&&(this.dom.style.cursor=R||"default")},m.mixin(L,p);var N=L;H.exports=N},zdCA:function(H,k,d){"use strict";var _=d("284h"),x=d("TqRt");Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var C=x(d("3tO9")),A=_(d("q1tI")),b=x(d("PSzr")),m=x(d("KQxl")),p=function(r,i){return A.createElement(m.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};p.displayName="BarsOutlined";var c=A.forwardRef(p);k.default=c},zeV3:function(H,k,d){"use strict";var _=d("pVnL"),x=d.n(_),C=d("lSNA"),A=d.n(C),b=d("q1tI"),m=d.n(b),p=d("TSYQ"),c=d.n(p),o=d("H84U"),r=function(t,s){var e={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&s.indexOf(a)<0&&(e[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(t);l<a.length;l++)s.indexOf(a[l])<0&&Object.prototype.propertyIsEnumerable.call(t,a[l])&&(e[a[l]]=t[a[l]]);return e},i={small:8,middle:16,large:24},n=function(s){var e,a=b.useContext(o.b),l=a.getPrefixCls,u=a.space,h=a.direction,f=s.size,g=f===void 0?(u==null?void 0:u.size)||"small":f,v=s.align,y=s.className,E=s.children,T=s.direction,w=T===void 0?"horizontal":T,S=s.prefixCls,I=r(s,["size","align","className","children","direction","prefixCls"]),L=b.Children.count(E);if(L===0)return null;var O=v===void 0&&w==="horizontal"?"center":v,N=l("space",S),R=c()(N,"".concat(N,"-").concat(w),(e={},A()(e,"".concat(N,"-rtl"),h==="rtl"),A()(e,"".concat(N,"-align-").concat(O),O),e),y),D="".concat(N,"-item"),B=h==="rtl"?"marginLeft":"marginRight";return b.createElement("div",x()({className:R},I),b.Children.map(E,function(M,U){return b.createElement("div",{className:D,key:"".concat(D,"-").concat(U),style:U===L-1||M===null||M===void 0?{}:A()({},w==="vertical"?"marginBottom":B,typeof g=="string"?i[g]:g)},M)}))};k.a=n},zoYe:function(H,k,d){var _=d("nmnc"),x=d("eUgh"),C=d("Z0cm"),A=d("/9aa"),b=1/0,m=_?_.prototype:void 0,p=m?m.toString:void 0;function c(o){if(typeof o=="string")return o;if(C(o))return x(o,c)+"";if(A(o))return p?p.call(o):"";var r=o+"";return r=="0"&&1/o==-b?"-0":r}H.exports=c},zuHt:function(H,k,d){var _=d("bYtY");function x(C){var A={};C.eachSeriesByType("map",function(b){var m=b.getMapType();if(b.getHostGeoModel()||A[m])return;var p={};_.each(b.seriesGroup,function(o){var r=o.coordinateSystem,i=o.originalData;o.get("showLegendSymbol")&&C.getComponent("legend")&&i.each(i.mapDimension("value"),function(n,t){var s=i.getName(t),e=r.getRegion(s);if(!e||isNaN(n))return;var a=p[s]||0,l=r.dataToPoint(e.center);p[s]=a+1,i.setItemLayout(t,{point:l,offset:a})})});var c=b.getData();c.each(function(o){var r=c.getName(o),i=c.getItemLayout(o)||{};i.showLabel=!p[r],c.setItemLayout(o,i)}),A[m]=!0})}H.exports=x}}]);